From 63525759f17295c35a4a4b4040a613fc339497db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:59:34 +0000 Subject: [PATCH] =?UTF-8?q?##=20Typescript=20SDK=20Changes:=20*=20`vercel.?= =?UTF-8?q?user.listEventTypes()`:=20=20`response.types[]`=20**Changed**?= =?UTF-8?q?=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`vercel.webhooks.getWe?= =?UTF-8?q?bhook()`:=20=20`response.events[]`=20**Changed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`vercel.aiGateway.listAiGatewayBudget?= =?UTF-8?q?s()`:=20=20=20*=20=20`request.scopeType`=20**Changed**=20=20=20?= =?UTF-8?q?*=20=20`response`=20**Changed**=20(Breaking=20=E2=9A=A0?= =?UTF-8?q?=EF=B8=8F)=20*=20`vercel.aiGateway.upsertAiGatewayBudget()`:=20?= =?UTF-8?q?=20=20*=20=20`request.requestBody`=20**Changed**=20=20=20*=20?= =?UTF-8?q?=20`response`=20**Changed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)?= =?UTF-8?q?=20*=20`vercel.aiGateway.archiveAiGatewayBudget()`:=20=20=20*?= =?UTF-8?q?=20=20`request`=20**Changed**=20=20=20*=20=20`response`=20**Cha?= =?UTF-8?q?nged**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`vercel.aiGatewa?= =?UTF-8?q?y.listAiGatewayBudgetDefaults()`:=20=20`response.defaults[]`=20?= =?UTF-8?q?**Changed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`vercel.aiG?= =?UTF-8?q?ateway.upsertAiGatewayBudgetDefault()`:=20=20=20*=20=20`request?= =?UTF-8?q?.requestBody`=20**Changed**=20=20=20*=20=20`response`=20**Chang?= =?UTF-8?q?ed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`vercel.webhooks.g?= =?UTF-8?q?etWebhooks()`:=20=20`response`=20**Changed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`vercel.webhooks.createWebhook()`:=20?= =?UTF-8?q?=20=20*=20=20`request.requestBody.events[]`=20**Changed**=20=20?= =?UTF-8?q?=20*=20=20`response.events[]`=20**Changed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`vercel.authentication.listAuthTokens?= =?UTF-8?q?()`:=20=20=20*=20=20`request`=20**Added**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20=20=20*=20=20`response.union(1).tokens[].?= =?UTF-8?q?kind`=20**Added**=20*=20`vercel.user.listUserEvents()`:=20=20`r?= =?UTF-8?q?esponse.events[]`=20**Changed**=20(Breaking=20=E2=9A=A0?= =?UTF-8?q?=EF=B8=8F)=20*=20`vercel.sandboxes.listSessions()`:=20=20`respo?= =?UTF-8?q?nse.union(2).sessions[].stopReason`=20**Added**=20*=20`vercel.s?= =?UTF-8?q?andboxes.updateSessionNetworkPolicy()`:=20=20`response.session.?= =?UTF-8?q?stopReason`=20**Added**=20*=20`vercel.authentication.createAuth?= =?UTF-8?q?Token()`:=20=20`response.token.kind`=20**Added**=20*=20`vercel.?= =?UTF-8?q?authentication.getAuthToken()`:=20=20`response.token.kind`=20**?= =?UTF-8?q?Added**=20*=20`vercel.sandboxes.listNamedSandboxes()`:=20=20`re?= =?UTF-8?q?sponse.sandboxes[].expiryNotificationLeadTime`=20**Added**=20*?= =?UTF-8?q?=20`vercel.featureFlags.signFlagOverrides()`:=20**Added**=20*?= =?UTF-8?q?=20`vercel.sandboxes.getSession()`:=20=20`response.session.stop?= =?UTF-8?q?Reason`=20**Added**=20*=20`vercel.sandboxes.getNamedSandbox()`:?= =?UTF-8?q?=20=20`response`=20**Changed**=20*=20`vercel.sandboxes.deleteSa?= =?UTF-8?q?ndbox()`:=20=20`response.sandbox.expiryNotificationLeadTime`=20?= =?UTF-8?q?**Added**=20*=20`vercel.sandboxes.stopSession()`:=20=20`respons?= =?UTF-8?q?e.union(2)`=20**Changed**=20*=20`vercel.sandboxes.extendSession?= =?UTF-8?q?Timeout()`:=20=20`response.session.stopReason`=20**Added**=20*?= =?UTF-8?q?=20`vercel.logDrains.deleteConfigurableLogDrain()`:=20=20`error?= =?UTF-8?q?.status[409]`=20**Added**=20*=20`vercel.sandboxes.createSandbox?= =?UTF-8?q?esSessionsBySessionIdSnapshotV2()`:=20=20`response.session.stop?= =?UTF-8?q?Reason`=20**Added**=20*=20`vercel.sandboxes.createSandboxesSess?= =?UTF-8?q?ionsBySessionIdSnapshotV3()`:=20=20`response.session.stopReason?= =?UTF-8?q?`=20**Added**=20*=20`vercel.teams.getTeamMembers()`:=20=20`resp?= =?UTF-8?q?onse.members[].joinedFrom.ssoIdFingerprint`=20**Added**=20*=20`?= =?UTF-8?q?vercel.teams.requestAccessToTeam()`:=20=20`response.joinedFrom.?= =?UTF-8?q?ssoIdFingerprint`=20**Added**=20*=20`vercel.teams.getTeamAccess?= =?UTF-8?q?Request()`:=20=20`response.joinedFrom.ssoIdFingerprint`=20**Add?= =?UTF-8?q?ed**=20*=20`vercel.teams.getTeam()`:=20=20`response.membership.?= =?UTF-8?q?joinedFrom.ssoIdFingerprint`=20**Added**=20*=20`vercel.teams.pa?= =?UTF-8?q?tchTeam()`:=20=20`response.membership.joinedFrom.ssoIdFingerpri?= =?UTF-8?q?nt`=20**Added**=20*=20`vercel.teams.getTeams()`:=20=20`response?= =?UTF-8?q?`=20**Changed**=20*=20`vercel.daemons.putProjectDaemonInstances?= =?UTF-8?q?()`:=20=20`error.status[409]`=20**Added**=20*=20`vercel.aiGatew?= =?UTF-8?q?ay.archiveAiGatewayBudgetDefault()`:=20=20=20*=20=20`request.sc?= =?UTF-8?q?opeType`=20**Changed**=20*=20`vercel.billing.listContractCommit?= =?UTF-8?q?ments()`:=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .speakeasy/gen.lock | 10649 ++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +- README.md | 278 +- RELEASES.md | 12 +- docs/models/access.md | 2 +- docs/models/accessgroup.md | 2 +- docs/models/accesspolicy.md | 2 +- docs/models/actortype.md | 2 +- docs/models/addedprojects.md | 2 +- docs/models/after.md | 4 +- docs/models/aigatewaybudget.md | 35 +- docs/models/aigatewaybudgetdefault.md | 1 + .../models/aigatewaybudgetdefaultscopetype.md | 2 +- docs/models/allowedmethods.md | 2 +- .../allowlistedreadystatereasoninternal.md | 2 +- docs/models/app.md | 2 +- docs/models/appliesto.md | 17 + docs/models/approvalscope.md | 2 +- ...026securityincidentmigrationappliedfrom.md | 2 +- ...gatewaybudgetdefaultqueryparamscopetype.md | 4 +- ...chiveaigatewaybudgetqueryparamscopetype.md | 4 +- docs/models/archiveaigatewaybudgetrequest.md | 3 +- docs/models/author.md | 2 +- docs/models/authtoken.md | 2 + docs/models/authtokenkind.md | 17 + docs/models/aws.md | 2 +- docs/models/before.md | 2 +- docs/models/billingconsent.md | 2 +- docs/models/branchmatcher.md | 4 +- docs/models/budget.md | 13 +- docs/models/budgetitem.md | 8 +- docs/models/budgetscope.md | 2 +- docs/models/buildqueueconfiguration.md | 2 +- docs/models/ceilingmode.md | 2 +- docs/models/change.md | 2 +- docs/models/changedfields.md | 2 +- docs/models/changes.md | 2 +- docs/models/city.md | 2 +- docs/models/closereason.md | 2 +- docs/models/codereviewselection.md | 2 +- docs/models/commands.md | 2 +- docs/models/commit.md | 2 +- docs/models/commitinfo.md | 2 +- docs/models/commitment.md | 2 +- docs/models/commitmetadata.md | 2 +- docs/models/committer.md | 2 +- docs/models/commitverification.md | 2 +- docs/models/configchanges.md | 2 +- docs/models/configuration.md | 2 +- docs/models/configurations.md | 2 +- docs/models/connectupdateconnectorrequest.md | 2 +- docs/models/consent.md | 2 +- docs/models/consolidatedgitcommitstatus.md | 2 +- docs/models/context.md | 2 +- docs/models/country.md | 2 +- docs/models/createauthtokenresponsebody.md | 1 + docs/models/createdeployments.md | 2 +- docs/models/createedgeconfigtokenrequest.md | 2 +- ...ssionsbysessionidsnapshotv2responsebody.md | 1 + ...ssionsbysessionidsnapshotv3responsebody.md | 1 + docs/models/createwebhookevents.md | 4 +- docs/models/createwebhookwebhooksevents.md | 2 +- docs/models/credential.md | 2 +- docs/models/current.md | 2 +- docs/models/customallow.md | 2 +- docs/models/cve55182migrationappliedfrom.md | 2 +- docs/models/data1.md | 2 +- docs/models/data2.md | 2 +- docs/models/datareason.md | 2 +- docs/models/decision.md | 2 +- docs/models/defaultcoveredcounts.md | 13 +- docs/models/defaultmode.md | 2 +- docs/models/deleteduser.md | 2 +- docs/models/deleteedgeconfigtokensrequest.md | 2 +- docs/models/deletesandboxresponsebody.md | 1 + docs/models/deployhook.md | 2 +- docs/models/deployment.md | 2 +- docs/models/dismissalreason.md | 2 +- docs/models/documents.md | 2 +- docs/models/echmode.md | 2 +- docs/models/edgeconfig.md | 2 +- docs/models/edgeconfigschema.md | 2 +- docs/models/eighty.md | 19 +- docs/models/eightyeight.md | 14 +- docs/models/eightyfive.md | 17 +- docs/models/eightyfour.md | 13 +- docs/models/eightynine.md | 18 +- docs/models/eightyone.md | 17 +- docs/models/eightyseven.md | 15 +- docs/models/eightysix.md | 18 +- docs/models/eightythree.md | 13 +- docs/models/eightytwo.md | 14 +- docs/models/enabled.md | 2 +- docs/models/endpoint.md | 2 +- docs/models/enforcementscope.md | 2 +- docs/models/env.md | 2 +- docs/models/envid2.md | 2 +- .../extendsessiontimeoutresponsebody.md | 1 + docs/models/factors1.md | 2 +- docs/models/factorsorigin.md | 2 +- docs/models/failuremode.md | 2 +- docs/models/failurestage.md | 2 +- docs/models/fifty.md | 2 +- docs/models/fiftyeight.md | 9 +- docs/models/fiftyfive.md | 14 +- docs/models/fiftyfour.md | 13 +- docs/models/fiftynine.md | 15 +- docs/models/fiftyone.md | 2 +- docs/models/fiftyseven.md | 14 +- docs/models/fiftysix.md | 11 +- docs/models/fiftythree.md | 16 +- docs/models/fiftytwo.md | 2 +- docs/models/filters.md | 2 +- docs/models/fivehundred.md | 16 +- docs/models/fivehundredandeight.md | 8 +- docs/models/fivehundredandeighteen.md | 10 +- docs/models/fivehundredandeleven.md | 22 +- docs/models/fivehundredandfifteen.md | 19 +- docs/models/fivehundredandfifty.md | 59 + docs/models/fivehundredandfiftyone.md | 42 + docs/models/fivehundredandfiftythree.md | 26 + docs/models/fivehundredandfiftytwo.md | 40 + docs/models/fivehundredandfive.md | 14 +- docs/models/fivehundredandforty.md | 10 +- docs/models/fivehundredandfortyeight.md | 17 +- docs/models/fivehundredandfortyfive.md | 66 +- docs/models/fivehundredandfortyfour.md | 30 +- docs/models/fivehundredandfortynine.md | 35 + docs/models/fivehundredandfortyone.md | 43 +- docs/models/fivehundredandfortyseven.md | 53 +- docs/models/fivehundredandfortysix.md | 49 +- docs/models/fivehundredandfortythree.md | 19 +- docs/models/fivehundredandfortytwo.md | 35 +- docs/models/fivehundredandfour.md | 18 +- docs/models/fivehundredandfourteen.md | 23 +- docs/models/fivehundredandnine.md | 20 +- docs/models/fivehundredandnineteen.md | 18 +- docs/models/fivehundredandone.md | 25 +- docs/models/fivehundredandseven.md | 24 +- docs/models/fivehundredandseventeen.md | 6 +- docs/models/fivehundredandsix.md | 3 +- docs/models/fivehundredandsixteen.md | 2 - docs/models/fivehundredandten.md | 17 +- docs/models/fivehundredandthirteen.md | 12 +- docs/models/fivehundredandthirty.md | 23 +- docs/models/fivehundredandthirtyeight.md | 17 +- docs/models/fivehundredandthirtyfive.md | 20 +- docs/models/fivehundredandthirtyfour.md | 24 +- docs/models/fivehundredandthirtynine.md | 16 +- docs/models/fivehundredandthirtyone.md | 24 +- docs/models/fivehundredandthirtyseven.md | 17 +- docs/models/fivehundredandthirtysix.md | 34 +- docs/models/fivehundredandthirtythree.md | 14 +- docs/models/fivehundredandthirtytwo.md | 22 +- docs/models/fivehundredandthree.md | 14 +- docs/models/fivehundredandtwelve.md | 31 +- docs/models/fivehundredandtwenty.md | 10 +- docs/models/fivehundredandtwentyeight.md | 22 +- docs/models/fivehundredandtwentyfive.md | 8 +- docs/models/fivehundredandtwentyfour.md | 22 +- docs/models/fivehundredandtwentynine.md | 34 +- docs/models/fivehundredandtwentyone.md | 21 +- docs/models/fivehundredandtwentyseven.md | 23 +- docs/models/fivehundredandtwentysix.md | 21 +- docs/models/fivehundredandtwentythree.md | 16 +- docs/models/fivehundredandtwentytwo.md | 23 +- docs/models/fivehundredandtwo.md | 12 +- docs/models/forty.md | 2 +- docs/models/fortyeight.md | 2 +- docs/models/fortyfive.md | 2 +- docs/models/fortyfour.md | 2 +- docs/models/fortynine.md | 2 +- docs/models/fortyone.md | 2 +- docs/models/fortyseven.md | 2 +- docs/models/fortysix.md | 2 +- docs/models/fortythree.md | 2 +- docs/models/fortytwo.md | 2 +- docs/models/fourhundred.md | 20 +- docs/models/fourhundredandeight.md | 16 +- docs/models/fourhundredandeighteen.md | 31 +- docs/models/fourhundredandeighty.md | 9 +- docs/models/fourhundredandeightyeight.md | 11 +- docs/models/fourhundredandeightyfive.md | 10 +- docs/models/fourhundredandeightyfour.md | 6 +- docs/models/fourhundredandeightynine.md | 16 +- docs/models/fourhundredandeightyone.md | 18 +- docs/models/fourhundredandeightyseven.md | 19 +- docs/models/fourhundredandeightysix.md | 16 +- docs/models/fourhundredandeightythree.md | 17 +- docs/models/fourhundredandeightytwo.md | 17 +- docs/models/fourhundredandeleven.md | 36 +- docs/models/fourhundredandfifteen.md | 25 +- docs/models/fourhundredandfifty.md | 23 +- docs/models/fourhundredandfiftyeight.md | 17 +- docs/models/fourhundredandfiftyfive.md | 28 +- docs/models/fourhundredandfiftyfour.md | 26 +- docs/models/fourhundredandfiftynine.md | 16 +- docs/models/fourhundredandfiftyone.md | 17 +- docs/models/fourhundredandfiftyseven.md | 33 +- docs/models/fourhundredandfiftysix.md | 22 +- docs/models/fourhundredandfiftythree.md | 21 +- docs/models/fourhundredandfiftytwo.md | 18 +- docs/models/fourhundredandfive.md | 30 +- docs/models/fourhundredandforty.md | 24 +- docs/models/fourhundredandfortyeight.md | 14 +- docs/models/fourhundredandfortyfive.md | 25 +- docs/models/fourhundredandfortyfour.md | 15 +- docs/models/fourhundredandfortynine.md | 21 +- docs/models/fourhundredandfortyone.md | 14 +- docs/models/fourhundredandfortyseven.md | 14 +- docs/models/fourhundredandfortysix.md | 13 +- docs/models/fourhundredandfortythree.md | 17 +- docs/models/fourhundredandfortytwo.md | 16 +- docs/models/fourhundredandfour.md | 16 +- docs/models/fourhundredandfourteen.md | 24 +- docs/models/fourhundredandnine.md | 26 +- docs/models/fourhundredandnineteen.md | 21 +- docs/models/fourhundredandninety.md | 12 +- docs/models/fourhundredandninetyeight.md | 17 +- docs/models/fourhundredandninetyfive.md | 14 +- docs/models/fourhundredandninetyfour.md | 8 +- docs/models/fourhundredandninetynine.md | 19 +- docs/models/fourhundredandninetyone.md | 8 +- docs/models/fourhundredandninetyseven.md | 13 +- docs/models/fourhundredandninetysix.md | 16 +- docs/models/fourhundredandninetythree.md | 14 +- docs/models/fourhundredandninetytwo.md | 18 +- docs/models/fourhundredandone.md | 11 +- docs/models/fourhundredandseven.md | 17 +- docs/models/fourhundredandseventeen.md | 27 +- docs/models/fourhundredandseventy.md | 12 +- docs/models/fourhundredandseventyeight.md | 17 +- docs/models/fourhundredandseventyfive.md | 9 +- docs/models/fourhundredandseventyfour.md | 14 +- docs/models/fourhundredandseventynine.md | 12 +- docs/models/fourhundredandseventyone.md | 8 +- docs/models/fourhundredandseventyseven.md | 8 +- docs/models/fourhundredandseventysix.md | 18 +- docs/models/fourhundredandseventythree.md | 12 +- docs/models/fourhundredandseventytwo.md | 14 +- docs/models/fourhundredandsix.md | 19 +- docs/models/fourhundredandsixteen.md | 28 +- docs/models/fourhundredandsixty.md | 28 +- docs/models/fourhundredandsixtyeight.md | 13 +- docs/models/fourhundredandsixtyfive.md | 15 +- docs/models/fourhundredandsixtyfour.md | 14 +- docs/models/fourhundredandsixtynine.md | 16 +- docs/models/fourhundredandsixtyone.md | 18 +- docs/models/fourhundredandsixtyseven.md | 16 +- docs/models/fourhundredandsixtysix.md | 9 +- docs/models/fourhundredandsixtythree.md | 13 +- docs/models/fourhundredandsixtytwo.md | 23 +- docs/models/fourhundredandten.md | 46 +- docs/models/fourhundredandthirteen.md | 41 +- docs/models/fourhundredandthirty.md | 46 +- docs/models/fourhundredandthirtyeight.md | 48 +- docs/models/fourhundredandthirtyfive.md | 19 +- docs/models/fourhundredandthirtyfour.md | 49 +- docs/models/fourhundredandthirtynine.md | 47 +- docs/models/fourhundredandthirtyone.md | 56 +- docs/models/fourhundredandthirtyseven.md | 45 +- docs/models/fourhundredandthirtysix.md | 46 +- docs/models/fourhundredandthirtythree.md | 49 +- docs/models/fourhundredandthirtytwo.md | 49 +- docs/models/fourhundredandthree.md | 17 +- docs/models/fourhundredandtwelve.md | 31 +- docs/models/fourhundredandtwenty.md | 14 +- docs/models/fourhundredandtwentyeight.md | 16 +- docs/models/fourhundredandtwentyfive.md | 39 +- docs/models/fourhundredandtwentyfour.md | 19 +- docs/models/fourhundredandtwentynine.md | 18 +- docs/models/fourhundredandtwentyone.md | 22 +- docs/models/fourhundredandtwentyseven.md | 24 +- docs/models/fourhundredandtwentysix.md | 28 +- docs/models/fourhundredandtwentythree.md | 17 +- docs/models/fourhundredandtwentytwo.md | 23 +- docs/models/fourhundredandtwo.md | 13 +- docs/models/fromaccount.md | 4 +- docs/models/fromplan.md | 2 +- docs/models/geolocation.md | 2 +- docs/models/getauthtokenresponsebody.md | 1 + docs/models/getedgeconfigitemrequest.md | 2 +- docs/models/getedgeconfigitemsrequest.md | 2 +- docs/models/getnamedsandboxresponsebody.md | 2 + docs/models/getsessionresponsebody.md | 1 + docs/models/getteamaccessrequestjoinedfrom.md | 1 + docs/models/getteammembersjoinedfrom.md | 1 + docs/models/getwebhookevents.md | 2 +- docs/models/getwebhooksresponsebodyevents.md | 2 +- docs/models/gitcomments.md | 2 +- docs/models/gitcredentialsource.md | 2 +- docs/models/githashtagvercel.md | 2 +- docs/models/gitprovider.md | 2 +- docs/models/group.md | 2 +- docs/models/headinfo.md | 2 +- docs/models/initiator.md | 2 +- docs/models/integration.md | 2 +- docs/models/invitedby.md | 2 +- docs/models/inviteduser.md | 2 +- docs/models/issuermode.md | 2 +- docs/models/items.md | 4 +- docs/models/job.md | 2 +- docs/models/job1.md | 2 +- docs/models/job10.md | 8 +- docs/models/job2.md | 2 +- docs/models/job3.md | 2 +- docs/models/job4.md | 4 +- docs/models/job5.md | 8 +- docs/models/job6.md | 10 +- docs/models/job7.md | 8 +- docs/models/job8.md | 16 +- docs/models/job9.md | 16 +- docs/models/jobaction.md | 2 +- docs/models/jobcommitverification.md | 2 +- docs/models/jobdeployhook.md | 2 +- docs/models/jobgitcomments.md | 2 +- docs/models/jobgithashtagvercel.md | 2 +- docs/models/jobheadinfo.md | 2 +- docs/models/jobnsnbsideeffect.md | 2 +- docs/models/jobproject.md | 2 +- docs/models/jobprovider.md | 2 +- docs/models/joinedfrom.md | 27 +- docs/models/lasteditedbyprincipal1.md | 2 +- docs/models/lasteditedbyprincipal2.md | 2 +- docs/models/listauthtokensqueryparamkind.md | 17 + docs/models/listauthtokensqueryparamstatus.md | 17 + docs/models/listauthtokensrequest.md | 16 + docs/models/listeventtype.md | 2 +- docs/models/listeventtypesresponse.md | 2 +- docs/models/member.md | 2 +- docs/models/method.md | 2 +- docs/models/mfa.md | 2 +- docs/models/microfrontends1.md | 2 +- docs/models/microfrontends2.md | 2 +- docs/models/microfrontends3.md | 2 +- docs/models/mostspecificsubdivision.md | 2 +- docs/models/name.md | 2 +- docs/models/name2.md | 2 +- docs/models/namedsandbox.md | 64 +- docs/models/names.md | 2 +- docs/models/newconnectconfigurations.md | 2 +- docs/models/newenvvar.md | 6 +- docs/models/newowner.md | 2 +- docs/models/newplan.md | 2 +- docs/models/newprojects.md | 2 +- docs/models/newresourceblockingpolicy.md | 2 +- docs/models/newtarget.md | 2 +- docs/models/newteam.md | 2 +- docs/models/next1.md | 2 +- docs/models/next2.md | 2 +- docs/models/next3.md | 2 +- docs/models/nextpermissions.md | 2 +- docs/models/nextrole.md | 2 +- docs/models/nextrule.md | 2 +- docs/models/nextscopes.md | 2 +- docs/models/nextteampermissions.md | 2 +- docs/models/nextteamroles.md | 2 +- docs/models/ninety.md | 16 +- docs/models/ninetyeight.md | 22 +- docs/models/ninetyfive.md | 16 +- docs/models/ninetyfour.md | 13 +- docs/models/ninetynine.md | 20 +- docs/models/ninetyone.md | 4 +- docs/models/ninetyseven.md | 8 +- docs/models/ninetysix.md | 6 +- docs/models/ninetythree.md | 12 +- docs/models/ninetytwo.md | 8 +- docs/models/nsnbsideeffect.md | 2 +- docs/models/oidcproviders.md | 2 +- docs/models/oldbuildqueueconfiguration.md | 2 +- docs/models/oldconnectconfigurations.md | 4 +- docs/models/oldenvvar.md | 6 +- docs/models/oldoptionsallowlist.md | 2 +- docs/models/oldpasswordprotection.md | 4 +- docs/models/oldpasswordprotection1.md | 2 +- docs/models/oldpasswordprotection2.md | 2 +- .../oldpasswordprotectiondeploymenttype.md | 2 +- docs/models/oldprojects.md | 2 +- docs/models/oldssoprotection.md | 2 +- docs/models/oldssoprotection1.md | 2 +- docs/models/oldssoprotection2.md | 2 +- ...026securityincidentmigrationappliedfrom.md | 2 +- ...oprotectioncve55182migrationappliedfrom.md | 2 +- docs/models/oldssoprotectiondeploymenttype.md | 2 +- docs/models/oldtarget.md | 2 +- docs/models/oldteam.md | 2 +- docs/models/oldtrustedips.md | 2 +- docs/models/onehundred.md | 14 +- docs/models/onehundredandeight.md | 27 +- docs/models/onehundredandeighteen.md | 5 +- docs/models/onehundredandeighty.md | 20 +- docs/models/onehundredandeightyeight.md | 32 +- docs/models/onehundredandeightyfive.md | 20 +- docs/models/onehundredandeightyfour.md | 18 +- docs/models/onehundredandeightynine.md | 57 +- docs/models/onehundredandeightyone.md | 19 +- docs/models/onehundredandeightyseven.md | 36 +- docs/models/onehundredandeightysix.md | 29 +- docs/models/onehundredandeightythree.md | 8 +- docs/models/onehundredandeightytwo.md | 18 +- docs/models/onehundredandeleven.md | 25 +- docs/models/onehundredandfifteen.md | 14 +- docs/models/onehundredandfifty.md | 9 +- docs/models/onehundredandfiftyeight.md | 14 +- docs/models/onehundredandfiftyfive.md | 27 +- docs/models/onehundredandfiftyfour.md | 21 +- docs/models/onehundredandfiftynine.md | 14 +- docs/models/onehundredandfiftyone.md | 12 +- docs/models/onehundredandfiftyseven.md | 12 +- docs/models/onehundredandfiftysix.md | 17 +- docs/models/onehundredandfiftythree.md | 12 +- docs/models/onehundredandfiftytwo.md | 16 +- docs/models/onehundredandfive.md | 14 +- docs/models/onehundredandforty.md | 31 +- docs/models/onehundredandfortyeight.md | 11 +- docs/models/onehundredandfortyfive.md | 24 +- docs/models/onehundredandfortyfour.md | 23 +- docs/models/onehundredandfortynine.md | 6 +- docs/models/onehundredandfortyone.md | 22 +- docs/models/onehundredandfortyseven.md | 25 +- docs/models/onehundredandfortysix.md | 26 +- docs/models/onehundredandfortythree.md | 20 +- docs/models/onehundredandfortytwo.md | 16 +- docs/models/onehundredandfour.md | 16 +- docs/models/onehundredandfourteen.md | 15 +- docs/models/onehundredandnine.md | 33 +- docs/models/onehundredandnineteen.md | 6 +- docs/models/onehundredandninety.md | 56 +- docs/models/onehundredandninetyeight.md | 21 +- docs/models/onehundredandninetyfive.md | 12 +- docs/models/onehundredandninetyfour.md | 16 +- docs/models/onehundredandninetynine.md | 15 +- docs/models/onehundredandninetyone.md | 63 +- docs/models/onehundredandninetyseven.md | 21 +- docs/models/onehundredandninetysix.md | 10 +- docs/models/onehundredandninetythree.md | 3 +- docs/models/onehundredandninetytwo.md | 56 +- docs/models/onehundredandone.md | 18 +- docs/models/onehundredandseven.md | 9 +- docs/models/onehundredandseventeen.md | 20 +- docs/models/onehundredandseventy.md | 14 +- docs/models/onehundredandseventyeight.md | 26 +- docs/models/onehundredandseventyfive.md | 14 +- docs/models/onehundredandseventyfour.md | 12 +- docs/models/onehundredandseventynine.md | 29 +- docs/models/onehundredandseventyone.md | 7 +- docs/models/onehundredandseventyseven.md | 12 +- docs/models/onehundredandseventysix.md | 15 +- docs/models/onehundredandseventythree.md | 4 +- docs/models/onehundredandseventytwo.md | 11 +- docs/models/onehundredandsix.md | 10 +- docs/models/onehundredandsixteen.md | 10 +- docs/models/onehundredandsixty.md | 20 +- docs/models/onehundredandsixtyeight.md | 13 +- docs/models/onehundredandsixtyfive.md | 6 +- docs/models/onehundredandsixtyfour.md | 9 +- docs/models/onehundredandsixtynine.md | 8 +- docs/models/onehundredandsixtyone.md | 10 +- docs/models/onehundredandsixtyseven.md | 7 +- docs/models/onehundredandsixtysix.md | 10 +- docs/models/onehundredandsixtythree.md | 11 +- docs/models/onehundredandsixtytwo.md | 2 +- docs/models/onehundredandten.md | 28 +- docs/models/onehundredandthirteen.md | 17 +- docs/models/onehundredandthirty.md | 21 +- docs/models/onehundredandthirtyeight.md | 22 +- docs/models/onehundredandthirtyfive.md | 31 - docs/models/onehundredandthirtyfour.md | 25 + docs/models/onehundredandthirtynine.md | 34 +- docs/models/onehundredandthirtyone.md | 24 +- docs/models/onehundredandthirtyseven.md | 30 +- docs/models/onehundredandthirtysix.md | 39 +- docs/models/onehundredandthirtythree.md | 28 +- docs/models/onehundredandthirtytwo.md | 28 +- docs/models/onehundredandthree.md | 17 +- docs/models/onehundredandtwelve.md | 15 +- docs/models/onehundredandtwenty.md | 13 +- docs/models/onehundredandtwentyeight.md | 4 +- docs/models/onehundredandtwentyfive.md | 18 +- docs/models/onehundredandtwentyfour.md | 19 +- docs/models/onehundredandtwentynine.md | 19 +- docs/models/onehundredandtwentyone.md | 9 +- docs/models/onehundredandtwentyseven.md | 5 +- docs/models/onehundredandtwentysix.md | 12 +- docs/models/onehundredandtwentythree.md | 13 +- docs/models/onehundredandtwentytwo.md | 11 +- docs/models/onehundredandtwo.md | 11 +- docs/models/optionsallowlist.md | 2 +- docs/models/outcome.md | 2 +- ...ventpayload303previous.md => overrides.md} | 8 +- docs/models/passport.md | 4 +- docs/models/passwordprotection1.md | 2 +- docs/models/passwordprotection2.md | 2 +- .../passwordprotectiondeploymenttype.md | 2 +- docs/models/patchedgeconfigitemsrequest.md | 2 +- docs/models/paths.md | 2 +- docs/models/payload.md | 2739 ++-- docs/models/payloadaccess.md | 2 +- docs/models/payloadaccessgroup.md | 2 +- docs/models/payloadaccesspolicy.md | 2 +- docs/models/payloadactortype.md | 2 +- docs/models/payloadafter.md | 2 +- ...loadallowlistedreadystatereasoninternal.md | 2 +- docs/models/payloadapikey.md | 2 +- docs/models/payloadappliesto.md | 15 + ...026securityincidentmigrationappliedfrom.md | 2 +- docs/models/payloadaws.md | 2 +- docs/models/payloadbefore.md | 2 +- docs/models/payloadbillingplan.md | 2 +- docs/models/payloadbranchmatcher.md | 4 +- docs/models/payloadbudget.md | 3 +- docs/models/payloadchange.md | 2 +- docs/models/payloadchangedfields.md | 2 +- docs/models/payloadcity.md | 4 +- docs/models/payloadcodereviewselection.md | 2 +- docs/models/payloadconfigchanges.md | 2 +- docs/models/payloadconfiguration.md | 2 +- docs/models/payloadconsent.md | 2 +- docs/models/payloadcountry.md | 4 +- docs/models/payloadcredential.md | 2 +- docs/models/payloadcurrent.md | 2 +- .../payloadcve55182migrationappliedfrom.md | 2 +- docs/models/payloaddata.md | 2 +- docs/models/payloaddeleteduser.md | 2 +- docs/models/payloaddeployment.md | 2 +- docs/models/payloaddeploymenttype.md | 2 +- docs/models/payloaddsyncmode.md | 2 +- docs/models/payloadenabled.md | 2 +- docs/models/payloadendpoint.md | 2 +- docs/models/payloadenforcementscope.md | 2 +- docs/models/payloadenvironment.md | 2 +- docs/models/payloadfactors.md | 2 +- docs/models/payloadgeolocation.md | 2 +- docs/models/payloadgitprovider.md | 2 +- docs/models/payloadgroup.md | 2 +- docs/models/payloadinitiator.md | 2 +- docs/models/payloadintegration.md | 2 +- docs/models/payloadissuermode.md | 2 +- docs/models/payloaditems.md | 4 +- docs/models/payloadjoinedfrom.md | 5 +- docs/models/payloadkind.md | 2 +- docs/models/payloadmethod.md | 2 +- docs/models/payloadmode.md | 2 +- docs/models/payloadmostspecificsubdivision.md | 4 +- docs/models/payloadnames.md | 2 +- .../payloadnewresourceblockingpolicy.md | 2 +- docs/models/payloadnewtarget.md | 2 +- docs/models/payloadnewteam.md | 2 +- docs/models/payloadnext.md | 2 +- docs/models/payloadoldtarget.md | 2 +- docs/models/payloadoldteam.md | 2 +- docs/models/payloadorganizationpermissions.md | 2 +- docs/models/payloadpassport.md | 4 +- docs/models/payloadpaths.md | 2 +- docs/models/payloadperimeter.md | 2 +- docs/models/payloadpermissions.md | 2 +- docs/models/payloadplan.md | 2 +- docs/models/payloadprev.md | 4 +- docs/models/payloadprevious.md | 2 +- docs/models/payloadpreviousbudget.md | 8 +- docs/models/payloadpreviousmode.md | 2 +- docs/models/payloadpreviousrole.md | 2 +- docs/models/payloadpreviousrule.md | 2 +- docs/models/payloadpricingplan.md | 2 +- docs/models/payloadprivatelinkendpoint.md | 2 +- docs/models/payloadprivatemodel.md | 2 +- docs/models/payloadproject.md | 2 +- docs/models/payloadprojectids.md | 4 +- docs/models/payloadprojectmembership.md | 4 +- docs/models/payloadprojects.md | 2 +- docs/models/payloadprojectscope.md | 2 +- docs/models/payloadprovider.md | 2 +- docs/models/payloadreason.md | 2 +- docs/models/payloadreasoncode.md | 2 +- docs/models/payloadrefreshperiod.md | 2 +- docs/models/payloadremotecaching.md | 2 +- docs/models/payloadremovedusers.md | 4 +- docs/models/payloadrepositoryscope.md | 2 +- docs/models/payloadrequestkind.md | 2 +- docs/models/payloadresources.md | 4 +- docs/models/payloadrole.md | 2 +- docs/models/payloadrule.md | 2 +- docs/models/payloadscope.md | 2 +- docs/models/payloadscopes.md | 2 +- docs/models/payloadscopetype.md | 4 +- docs/models/payloadsource.md | 2 +- docs/models/payloadstaticips.md | 2 +- docs/models/payloadstore.md | 4 +- docs/models/payloadtargetkind.md | 2 +- docs/models/payloadteam.md | 2 +- docs/models/payloadteampermissions.md | 2 +- docs/models/payloadteamroles.md | 2 +- docs/models/payloadteams.md | 4 +- docs/models/payloadtype.md | 2 +- docs/models/payloadupdatediff.md | 3 +- docs/models/payloadupdateduser.md | 2 +- docs/models/payloaduser.md | 2 +- docs/models/payloadvirtualmodelconfig.md | 2 +- docs/models/payloadvisibility.md | 2 +- docs/models/perimeter.md | 2 +- docs/models/periods.md | 2 +- docs/models/permissions.md | 2 +- docs/models/piiredaction.md | 2 +- docs/models/planslug.md | 2 +- docs/models/policy.md | 2 +- docs/models/prev.md | 2 +- docs/models/prevbudget.md | 8 +- docs/models/previous1.md | 2 +- docs/models/previous2.md | 2 +- docs/models/previous3.md | 2 +- docs/models/previousbudget.md | 3 +- docs/models/previousechmode.md | 2 +- docs/models/previousendpoint.md | 2 +- docs/models/previousmode.md | 2 +- docs/models/previousplan.md | 2 +- docs/models/previousrole.md | 2 +- docs/models/previousrule.md | 2 +- docs/models/previousteampermissions.md | 2 +- docs/models/previousteamroles.md | 2 +- docs/models/prevprojectanalytics.md | 2 +- docs/models/prevprojectwebanalytics.md | 2 +- docs/models/pricingplan.md | 2 +- docs/models/primarykey.md | 2 +- docs/models/principalapp.md | 2 +- docs/models/principalintegration.md | 2 +- docs/models/principalproject.md | 2 +- docs/models/principaluser.md | 2 +- docs/models/privatemodel.md | 2 +- docs/models/privateprovider.md | 2 +- docs/models/projectanalytics.md | 2 +- docs/models/projectids2.md | 2 +- docs/models/projectmembership.md | 4 +- docs/models/projectwebanalytics.md | 2 +- docs/models/provider.md | 2 +- .../putprojectdaemoninstancesrequest.md | 2 +- docs/models/queries.md | 2 +- docs/models/queryparamscopetype.md | 4 +- docs/models/querytype.md | 2 +- docs/models/reasoncode.md | 2 +- docs/models/reasons.md | 2 +- docs/models/removedmembership.md | 4 +- docs/models/removedprojects.md | 2 +- docs/models/removedusers.md | 4 +- docs/models/replacedby.md | 4 +- docs/models/repositoryscope.md | 2 +- .../requestaccesstoteamteamsjoinedfrom.md | 1 + docs/models/requestkind.md | 2 +- docs/models/resources.md | 2 +- docs/models/responsebodyevents.md | 2 +- .../restartprojectdaemoninstancerequest.md | 4 +- docs/models/restoreedgeconfigbackuprequest.md | 2 +- docs/models/retention.md | 2 +- docs/models/rollbackdescription.md | 2 +- docs/models/rule.md | 2 +- docs/models/rulegroups.md | 4 +- docs/models/rulename.md | 2 +- docs/models/ruleprovenance.md | 2 +- docs/models/sampling.md | 4 +- docs/models/scalingrules.md | 2 +- docs/models/scopetype.md | 2 +- docs/models/session.md | 56 +- docs/models/settings.md | 2 +- docs/models/settlementmethod.md | 2 +- docs/models/seventy.md | 6 +- docs/models/seventyeight.md | 15 +- docs/models/seventyfive.md | 12 +- docs/models/seventyfour.md | 15 +- docs/models/seventynine.md | 13 +- docs/models/seventyone.md | 5 +- docs/models/seventyseven.md | 19 +- docs/models/seventysix.md | 3 +- docs/models/seventythree.md | 20 +- docs/models/seventytwo.md | 6 +- docs/models/siftroute.md | 2 +- docs/models/signflagoverridesrequest.md | 22 + docs/models/signflagoverridesrequestbody.md | 19 + docs/models/signflagoverridesresponsebody.md | 19 + docs/models/sixty.md | 12 +- docs/models/sixtyeight.md | 16 +- docs/models/sixtyfive.md | 20 +- docs/models/sixtyfour.md | 20 +- docs/models/sixtynine.md | 15 +- docs/models/sixtyone.md | 15 +- docs/models/sixtyseven.md | 16 +- docs/models/sixtysix.md | 26 +- docs/models/sixtythree.md | 16 +- docs/models/sixtytwo.md | 22 +- docs/models/ssoprotection1.md | 2 +- docs/models/ssoprotection2.md | 2 +- ...026securityincidentmigrationappliedfrom.md | 2 +- ...oprotectioncve55182migrationappliedfrom.md | 2 +- docs/models/ssoprotectiondeploymenttype.md | 2 +- docs/models/staticips.md | 2 +- docs/models/stopreason.md | 17 + docs/models/stopsessionresponsebody.md | 3 + docs/models/stopsessionresponsebody1.md | 1 + docs/models/stopsessionresponsebody2.md | 2 + docs/models/store.md | 4 +- docs/models/storetype.md | 2 +- docs/models/targetkind.md | 2 +- docs/models/teamlimitedjoinedfrom.md | 27 +- docs/models/teammembership.md | 2 +- docs/models/thirty.md | 2 +- docs/models/thirtyeight.md | 2 +- docs/models/thirtyfive.md | 2 +- docs/models/thirtyfour.md | 2 +- docs/models/thirtynine.md | 2 +- docs/models/thirtyone.md | 2 +- docs/models/thirtyseven.md | 4 +- docs/models/thirtysix.md | 18 +- docs/models/thirtythree.md | 2 +- docs/models/thirtytwo.md | 2 +- docs/models/threehundred.md | 14 +- docs/models/threehundredandeight.md | 19 +- docs/models/threehundredandeighteen.md | 18 +- docs/models/threehundredandeighty.md | 22 +- docs/models/threehundredandeightyeight.md | 17 +- docs/models/threehundredandeightyfive.md | 14 +- docs/models/threehundredandeightyfour.md | 30 +- docs/models/threehundredandeightynine.md | 20 +- docs/models/threehundredandeightyone.md | 44 +- docs/models/threehundredandeightyseven.md | 20 +- docs/models/threehundredandeightysix.md | 23 +- docs/models/threehundredandeightythree.md | 16 +- docs/models/threehundredandeightytwo.md | 28 +- docs/models/threehundredandeleven.md | 10 +- docs/models/threehundredandfifteen.md | 14 +- docs/models/threehundredandfifty.md | 11 +- docs/models/threehundredandfiftyeight.md | 19 +- docs/models/threehundredandfiftyfive.md | 16 +- docs/models/threehundredandfiftyfour.md | 20 +- docs/models/threehundredandfiftynine.md | 12 +- docs/models/threehundredandfiftyone.md | 21 +- docs/models/threehundredandfiftyseven.md | 21 +- docs/models/threehundredandfiftysix.md | 19 +- docs/models/threehundredandfiftythree.md | 24 +- docs/models/threehundredandfiftytwo.md | 22 +- docs/models/threehundredandfive.md | 14 +- docs/models/threehundredandforty.md | 16 +- docs/models/threehundredandfortyeight.md | 22 +- docs/models/threehundredandfortyfive.md | 26 +- docs/models/threehundredandfortyfour.md | 13 +- docs/models/threehundredandfortynine.md | 26 +- docs/models/threehundredandfortyone.md | 23 +- docs/models/threehundredandfortyseven.md | 24 +- docs/models/threehundredandfortysix.md | 18 +- docs/models/threehundredandfortythree.md | 24 +- docs/models/threehundredandfortytwo.md | 21 +- docs/models/threehundredandfour.md | 14 +- docs/models/threehundredandfourteen.md | 17 +- docs/models/threehundredandnine.md | 26 +- docs/models/threehundredandnineteen.md | 17 +- docs/models/threehundredandninety.md | 23 +- docs/models/threehundredandninetyeight.md | 23 +- docs/models/threehundredandninetyfive.md | 23 +- docs/models/threehundredandninetyfour.md | 19 +- docs/models/threehundredandninetynine.md | 12 +- docs/models/threehundredandninetyone.md | 18 +- docs/models/threehundredandninetyseven.md | 12 +- docs/models/threehundredandninetysix.md | 10 +- docs/models/threehundredandninetythree.md | 18 +- docs/models/threehundredandninetytwo.md | 18 +- docs/models/threehundredandone.md | 16 +- docs/models/threehundredandseven.md | 14 +- docs/models/threehundredandseventeen.md | 24 +- docs/models/threehundredandseventy.md | 14 +- docs/models/threehundredandseventyeight.md | 22 +- docs/models/threehundredandseventyfive.md | 18 +- docs/models/threehundredandseventyfour.md | 18 +- docs/models/threehundredandseventynine.md | 16 +- docs/models/threehundredandseventyone.md | 18 +- docs/models/threehundredandseventyseven.md | 12 +- docs/models/threehundredandseventysix.md | 18 +- docs/models/threehundredandseventythree.md | 14 +- docs/models/threehundredandseventytwo.md | 14 +- docs/models/threehundredandsix.md | 25 +- docs/models/threehundredandsixteen.md | 16 +- docs/models/threehundredandsixty.md | 14 +- docs/models/threehundredandsixtyeight.md | 18 +- docs/models/threehundredandsixtyfive.md | 15 +- docs/models/threehundredandsixtyfour.md | 15 +- docs/models/threehundredandsixtynine.md | 16 +- docs/models/threehundredandsixtyone.md | 23 +- docs/models/threehundredandsixtyseven.md | 13 +- docs/models/threehundredandsixtysix.md | 19 +- docs/models/threehundredandsixtythree.md | 17 +- docs/models/threehundredandsixtytwo.md | 13 +- docs/models/threehundredandten.md | 41 +- docs/models/threehundredandthirteen.md | 21 +- docs/models/threehundredandthirty.md | 6 +- docs/models/threehundredandthirtyeight.md | 14 +- docs/models/threehundredandthirtyfive.md | 14 +- docs/models/threehundredandthirtyfour.md | 14 +- docs/models/threehundredandthirtynine.md | 17 +- docs/models/threehundredandthirtyone.md | 19 +- docs/models/threehundredandthirtyseven.md | 14 +- docs/models/threehundredandthirtysix.md | 14 +- docs/models/threehundredandthirtythree.md | 14 +- docs/models/threehundredandthirtytwo.md | 18 +- docs/models/threehundredandthree.md | 15 +- docs/models/threehundredandtwelve.md | 19 +- docs/models/threehundredandtwenty.md | 18 +- docs/models/threehundredandtwentyeight.md | 11 +- docs/models/threehundredandtwentyfive.md | 6 +- docs/models/threehundredandtwentyfour.md | 21 +- docs/models/threehundredandtwentynine.md | 18 +- docs/models/threehundredandtwentyone.md | 19 +- docs/models/threehundredandtwentyseven.md | 20 +- docs/models/threehundredandtwentysix.md | 20 +- docs/models/threehundredandtwentythree.md | 22 +- docs/models/threehundredandtwentytwo.md | 23 +- docs/models/threehundredandtwo.md | 13 +- docs/models/to.md | 24 +- docs/models/toaccount.md | 4 +- docs/models/toplan.md | 2 +- docs/models/trial.md | 2 +- docs/models/trigger.md | 2 +- docs/models/trustedips.md | 2 +- docs/models/twenty.md | 2 +- docs/models/twentyeight.md | 2 +- docs/models/twentyfive.md | 2 +- docs/models/twentyfour.md | 2 +- docs/models/twentynine.md | 2 +- docs/models/twentyone.md | 2 +- docs/models/twentyseven.md | 2 +- docs/models/twentysix.md | 2 +- docs/models/twentythree.md | 2 +- docs/models/twentytwo.md | 2 +- docs/models/two1.md | 2 +- docs/models/two2.md | 2 +- docs/models/twohundred.md | 17 +- docs/models/twohundredandeight.md | 19 +- docs/models/twohundredandeighteen.md | 40 +- docs/models/twohundredandeighty.md | 33 +- docs/models/twohundredandeightyeight.md | 23 +- docs/models/twohundredandeightyfive.md | 25 +- docs/models/twohundredandeightyfour.md | 32 +- docs/models/twohundredandeightynine.md | 21 +- docs/models/twohundredandeightyone.md | 22 +- docs/models/twohundredandeightyseven.md | 31 +- docs/models/twohundredandeightysix.md | 24 +- docs/models/twohundredandeightythree.md | 25 +- docs/models/twohundredandeightytwo.md | 24 +- docs/models/twohundredandeleven.md | 32 +- docs/models/twohundredandfifteen.md | 20 +- docs/models/twohundredandfifty.md | 8 +- docs/models/twohundredandfiftyeight.md | 8 +- docs/models/twohundredandfiftyfive.md | 22 +- docs/models/twohundredandfiftyfour.md | 24 +- docs/models/twohundredandfiftynine.md | 18 +- docs/models/twohundredandfiftyone.md | 26 +- docs/models/twohundredandfiftyseven.md | 22 +- docs/models/twohundredandfiftysix.md | 16 +- docs/models/twohundredandfiftythree.md | 14 +- docs/models/twohundredandfiftytwo.md | 38 +- docs/models/twohundredandfive.md | 10 +- docs/models/twohundredandforty.md | 23 +- docs/models/twohundredandfortyeight.md | 6 +- docs/models/twohundredandfortyfive.md | 9 +- docs/models/twohundredandfortyfour.md | 16 +- docs/models/twohundredandfortynine.md | 34 +- docs/models/twohundredandfortyone.md | 8 +- docs/models/twohundredandfortyseven.md | 8 +- docs/models/twohundredandfortysix.md | 12 +- docs/models/twohundredandfortythree.md | 17 +- docs/models/twohundredandfortytwo.md | 25 +- docs/models/twohundredandfour.md | 23 +- docs/models/twohundredandfourteen.md | 21 +- docs/models/twohundredandnine.md | 22 +- docs/models/twohundredandnineteen.md | 33 +- docs/models/twohundredandninety.md | 26 +- docs/models/twohundredandninetyeight.md | 16 +- docs/models/twohundredandninetyfive.md | 30 +- docs/models/twohundredandninetyfour.md | 30 +- docs/models/twohundredandninetynine.md | 24 +- docs/models/twohundredandninetyone.md | 14 +- docs/models/twohundredandninetyseven.md | 16 +- docs/models/twohundredandninetysix.md | 26 +- docs/models/twohundredandninetythree.md | 18 +- docs/models/twohundredandninetytwo.md | 14 +- docs/models/twohundredandone.md | 17 +- docs/models/twohundredandseven.md | 39 +- docs/models/twohundredandseventeen.md | 38 +- docs/models/twohundredandseventy.md | 18 +- docs/models/twohundredandseventyeight.md | 19 +- docs/models/twohundredandseventyfive.md | 19 +- docs/models/twohundredandseventyfour.md | 19 +- docs/models/twohundredandseventynine.md | 15 +- docs/models/twohundredandseventyone.md | 18 +- docs/models/twohundredandseventyseven.md | 34 +- docs/models/twohundredandseventysix.md | 16 +- docs/models/twohundredandseventythree.md | 20 +- docs/models/twohundredandseventytwo.md | 26 +- docs/models/twohundredandsix.md | 32 +- docs/models/twohundredandsixteen.md | 17 +- docs/models/twohundredandsixty.md | 26 +- docs/models/twohundredandsixtyeight.md | 16 +- docs/models/twohundredandsixtyfive.md | 14 +- docs/models/twohundredandsixtyfour.md | 23 +- docs/models/twohundredandsixtynine.md | 38 +- docs/models/twohundredandsixtyone.md | 20 +- docs/models/twohundredandsixtyseven.md | 17 +- docs/models/twohundredandsixtysix.md | 31 +- docs/models/twohundredandsixtythree.md | 17 +- docs/models/twohundredandsixtytwo.md | 22 +- docs/models/twohundredandten.md | 31 +- docs/models/twohundredandthirteen.md | 21 +- docs/models/twohundredandthirty.md | 4 +- docs/models/twohundredandthirtyeight.md | 17 +- docs/models/twohundredandthirtyfive.md | 14 +- docs/models/twohundredandthirtyfour.md | 31 +- docs/models/twohundredandthirtynine.md | 22 +- docs/models/twohundredandthirtyone.md | 13 +- docs/models/twohundredandthirtyseven.md | 20 +- docs/models/twohundredandthirtysix.md | 17 +- docs/models/twohundredandthirtythree.md | 27 +- docs/models/twohundredandthirtytwo.md | 6 +- docs/models/twohundredandthree.md | 26 +- docs/models/twohundredandtwelve.md | 16 +- docs/models/twohundredandtwenty.md | 30 +- docs/models/twohundredandtwentyeight.md | 7 +- docs/models/twohundredandtwentyfive.md | 8 +- docs/models/twohundredandtwentyfour.md | 24 +- docs/models/twohundredandtwentynine.md | 13 +- docs/models/twohundredandtwentyone.md | 30 +- docs/models/twohundredandtwentyseven.md | 8 +- docs/models/twohundredandtwentysix.md | 4 +- docs/models/twohundredandtwentythree.md | 7 +- docs/models/twohundredandtwentytwo.md | 25 +- docs/models/twohundredandtwo.md | 15 +- docs/models/twoorigin.md | 2 +- docs/models/updateconnectorrequest.md | 2 +- docs/models/updatediff.md | 3 +- docs/models/updateduser.md | 2 +- docs/models/updateprojectcustomallow.md | 8 +- docs/models/updateprojectoidcproviders.md | 10 +- .../updateprojectprojectsresponse200to.md | 25 + .../models/updateprojectprojectsresponseto.md | 9 +- docs/models/updateprojectprojectsto.md | 10 +- docs/models/updateprojectto.md | 9 +- .../updatesessionnetworkpolicyresponsebody.md | 1 + .../upsertaigatewaybudgetdefaultappliesto.md | 15 + ...upsertaigatewaybudgetdefaultrequestbody.md | 3 +- .../upsertaigatewaybudgetdefaultscopetype.md | 4 +- .../upsertaigatewaybudgetrefreshperiod.md | 2 + .../upsertaigatewaybudgetrequestbody.md | 23 +- docs/models/upsertaigatewaybudgetscopetype.md | 4 +- docs/models/userevent.md | 2 +- docs/models/userevent2origin.md | 2 +- docs/models/usereventdataplanslug.md | 2 +- docs/models/usereventenvid2.md | 2 +- docs/models/usereventenvidpayload2.md | 2 +- docs/models/usereventenvidpayload3102.md | 15 - docs/models/usereventenvidpayload3132.md | 15 + docs/models/usereventjobaction.md | 2 +- docs/models/usereventjobcommitverification.md | 2 +- docs/models/usereventjobdeployhook.md | 2 +- docs/models/usereventjobgitcomments.md | 2 +- docs/models/usereventjobgithashtagvercel.md | 2 +- docs/models/usereventjobheadinfo.md | 2 +- docs/models/usereventjobnsnbsideeffect.md | 2 +- .../usereventjobpayload13610provider.md | 15 - .../models/usereventjobpayload1365provider.md | 15 - .../models/usereventjobpayload1366provider.md | 15 - .../models/usereventjobpayload1367provider.md | 15 - docs/models/usereventjobpayload1368action.md | 15 - .../models/usereventjobpayload1368provider.md | 15 - docs/models/usereventjobpayload1369action.md | 15 - .../models/usereventjobpayload1369provider.md | 15 - docs/models/usereventjobpayload136action.md | 15 - docs/models/usereventjobpayload136provider.md | 15 - ...=> usereventjobpayload13710gitcomments.md} | 8 +- ...md => usereventjobpayload13710headinfo.md} | 6 +- .../usereventjobpayload13710provider.md | 15 + .../models/usereventjobpayload1375provider.md | 15 + ... => usereventjobpayload1376gitcomments.md} | 6 +- ....md => usereventjobpayload1376headinfo.md} | 8 +- .../models/usereventjobpayload1376provider.md | 15 + ... => usereventjobpayload1377gitcomments.md} | 6 +- ....md => usereventjobpayload1377headinfo.md} | 6 +- .../models/usereventjobpayload1377provider.md | 15 + docs/models/usereventjobpayload1378action.md | 15 + ...d => usereventjobpayload1378deployhook.md} | 8 +- ... => usereventjobpayload1378gitcomments.md} | 6 +- ....md => usereventjobpayload1378headinfo.md} | 6 +- .../models/usereventjobpayload1378provider.md | 15 + docs/models/usereventjobpayload1379action.md | 15 + ...reventjobpayload1379commitverification.md} | 6 +- ...d => usereventjobpayload1379deployhook.md} | 8 +- ... => usereventjobpayload1379gitcomments.md} | 8 +- ...sereventjobpayload1379githashtagvercel.md} | 6 +- ....md => usereventjobpayload1379headinfo.md} | 6 +- ... usereventjobpayload1379nsnbsideeffect.md} | 8 +- .../models/usereventjobpayload1379provider.md | 15 + docs/models/usereventjobpayload137action.md | 15 + ...ereventjobpayload137commitverification.md} | 6 +- ...md => usereventjobpayload137deployhook.md} | 8 +- ...d => usereventjobpayload137gitcomments.md} | 8 +- ...usereventjobpayload137githashtagvercel.md} | 6 +- ...o.md => usereventjobpayload137headinfo.md} | 8 +- ...> usereventjobpayload137nsnbsideeffect.md} | 8 +- ...ct.md => usereventjobpayload137project.md} | 6 +- docs/models/usereventjobpayload137provider.md | 15 + docs/models/usereventjobpayloadaction.md | 2 +- .../usereventjobpayloadcommitverification.md | 2 +- docs/models/usereventjobpayloaddeployhook.md | 2 +- docs/models/usereventjobpayloadgitcomments.md | 2 +- .../usereventjobpayloadgithashtagvercel.md | 2 +- docs/models/usereventjobpayloadheadinfo.md | 2 +- .../usereventjobpayloadnsnbsideeffect.md | 4 +- docs/models/usereventjobpayloadproject.md | 2 +- docs/models/usereventjobpayloadprovider.md | 2 +- docs/models/usereventjobproject.md | 2 +- docs/models/usereventjobprovider.md | 2 +- .../models/usereventlasteditedbyprincipal1.md | 2 +- .../models/usereventlasteditedbyprincipal2.md | 2 +- .../usereventlasteditedbyprincipalpayload1.md | 2 +- .../usereventlasteditedbyprincipalpayload2.md | 2 +- docs/models/usereventmicrofrontends1.md | 2 +- docs/models/usereventmicrofrontends2.md | 2 +- docs/models/usereventmicrofrontends3.md | 2 +- docs/models/usereventpayload100project.md | 19 - docs/models/usereventpayload101project.md | 19 + docs/models/usereventpayload114project.md | 2 +- ...d310team.md => usereventpayload114team.md} | 6 +- .../usereventpayload115configuration.md | 18 - docs/models/usereventpayload115project.md | 2 +- .../usereventpayload116configuration.md | 2 +- ...2team.md => usereventpayload116project.md} | 6 +- docs/models/usereventpayload116team.md | 19 - .../usereventpayload117configuration.md | 18 + docs/models/usereventpayload117team.md | 19 + docs/models/usereventpayload124project.md | 19 - docs/models/usereventpayload125project.md | 19 + .../usereventpayload129deploymenttype.md | 16 - .../usereventpayload130deploymenttype.md | 2 +- .../usereventpayload131deploymenttype.md | 15 + ...oject.md => usereventpayload133project.md} | 6 +- docs/models/usereventpayload138reason.md | 15 - docs/models/usereventpayload139reason.md | 15 + ...nt.md => usereventpayload140deployment.md} | 8 +- docs/models/usereventpayload141scope.md | 15 - docs/models/usereventpayload142mode.md | 15 - docs/models/usereventpayload142scope.md | 15 + docs/models/usereventpayload143mode.md | 15 + docs/models/usereventpayload146action.md | 15 - docs/models/usereventpayload147action.md | 15 + ...wteam.md => usereventpayload152newteam.md} | 6 +- ...dteam.md => usereventpayload152oldteam.md} | 6 +- .../usereventpayload178toaccounttype.md | 15 - docs/models/usereventpayload178type.md | 15 - .../usereventpayload179toaccounttype.md | 15 + docs/models/usereventpayload179type.md | 15 + docs/models/usereventpayload183team.md | 2 +- ...3project.md => usereventpayload184team.md} | 6 +- docs/models/usereventpayload189target.md | 17 - docs/models/usereventpayload190target.md | 4 +- .../usereventpayload191oldenvvartarget.md | 17 - .../usereventpayload191oldenvvartype.md | 17 - docs/models/usereventpayload191target.md | 4 +- docs/models/usereventpayload191type.md | 17 - .../usereventpayload192oldenvvartarget.md | 17 + .../usereventpayload192oldenvvartype.md | 17 + docs/models/usereventpayload192target.md | 17 + docs/models/usereventpayload192type.md | 17 + docs/models/usereventpayload198action.md | 15 - docs/models/usereventpayload199action.md | 2 +- docs/models/usereventpayload200action.md | 15 + docs/models/usereventpayload202action.md | 15 - docs/models/usereventpayload203action.md | 15 + docs/models/usereventpayload206provider.md | 15 - docs/models/usereventpayload207provider.md | 15 + docs/models/usereventpayload221requestkind.md | 15 - docs/models/usereventpayload222requestkind.md | 15 + docs/models/usereventpayload231provider.md | 15 - docs/models/usereventpayload232provider.md | 2 +- docs/models/usereventpayload233provider.md | 15 + docs/models/usereventpayload240project.md | 19 - docs/models/usereventpayload241project.md | 11 +- ...t.md => usereventpayload242prevproject.md} | 6 +- docs/models/usereventpayload242project.md | 20 + docs/models/usereventpayload252teamroles.md | 15 + docs/models/usereventpayload25provider.md | 2 +- ...d257next.md => usereventpayload260next.md} | 8 +- ...ious.md => usereventpayload260previous.md} | 8 +- docs/models/usereventpayload261mode.md | 15 - docs/models/usereventpayload264mode.md | 15 + ...d266next.md => usereventpayload269next.md} | 14 +- ...ious.md => usereventpayload269previous.md} | 10 +- docs/models/usereventpayload26provider.md | 2 +- docs/models/usereventpayload272type.md | 15 - docs/models/usereventpayload273type.md | 15 - docs/models/usereventpayload275type.md | 15 + docs/models/usereventpayload276type.md | 15 + .../usereventpayload278deploymenttype.md | 16 - ...ereventpayload278previousdeploymenttype.md | 16 - .../usereventpayload279deploymenttype.md | 16 - docs/models/usereventpayload279next.md | 15 - docs/models/usereventpayload279previous.md | 15 - ...ereventpayload279previousdeploymenttype.md | 16 - docs/models/usereventpayload279scope.md | 15 - docs/models/usereventpayload27provider.md | 2 +- .../usereventpayload281deploymenttype.md | 15 + ...d278next.md => usereventpayload281next.md} | 6 +- ...ious.md => usereventpayload281previous.md} | 6 +- ...ereventpayload281previousdeploymenttype.md | 16 + .../usereventpayload282deploymenttype.md | 15 + docs/models/usereventpayload282next.md | 16 +- ...port.md => usereventpayload282passport.md} | 10 +- docs/models/usereventpayload282previous.md | 16 +- ...ereventpayload282previousdeploymenttype.md | 16 + docs/models/usereventpayload282scope.md | 15 + docs/models/usereventpayload285next.md | 21 + docs/models/usereventpayload285previous.md | 21 + ...origin.md => usereventpayload286origin.md} | 6 +- ...d283role.md => usereventpayload286role.md} | 6 +- docs/models/usereventpayload287actortype.md | 15 - ...origin.md => usereventpayload287origin.md} | 6 +- ...eamroles.md => usereventpayload287role.md} | 6 +- docs/models/usereventpayload288scope.md | 15 - docs/models/usereventpayload289scope.md | 15 - docs/models/usereventpayload28provider.md | 2 +- docs/models/usereventpayload290actortype.md | 15 + docs/models/usereventpayload290scope.md | 15 - docs/models/usereventpayload291scope.md | 2 +- docs/models/usereventpayload292scope.md | 2 +- docs/models/usereventpayload293scope.md | 2 +- docs/models/usereventpayload294scope.md | 15 + ...d292prev.md => usereventpayload295prev.md} | 6 +- docs/models/usereventpayload295scope.md | 15 + docs/models/usereventpayload296scope.md | 15 + docs/models/usereventpayload298action.md | 15 - docs/models/usereventpayload301action.md | 15 + ...d303next.md => usereventpayload306next.md} | 6 +- docs/models/usereventpayload306previous.md | 14 + docs/models/usereventpayload310envid.md | 17 - docs/models/usereventpayload312action.md | 15 - docs/models/usereventpayload313envid.md | 17 + ...oject.md => usereventpayload313project.md} | 17 +- ...420store.md => usereventpayload313team.md} | 6 +- docs/models/usereventpayload315action.md | 15 + .../models/usereventpayload317previoustype.md | 17 - docs/models/usereventpayload317type.md | 17 - docs/models/usereventpayload31kind.md | 2 +- ...d317next.md => usereventpayload320next.md} | 6 +- ...ious.md => usereventpayload320previous.md} | 6 +- .../models/usereventpayload320previoustype.md | 17 + docs/models/usereventpayload320type.md | 17 + docs/models/usereventpayload322next.md | 17 - docs/models/usereventpayload322previous.md | 17 - docs/models/usereventpayload325next.md | 10 +- docs/models/usereventpayload325previous.md | 10 +- ...d323next.md => usereventpayload326next.md} | 6 +- ...ious.md => usereventpayload326previous.md} | 8 +- ...previous.md => usereventpayload327next.md} | 8 +- ...next.md => usereventpayload327previous.md} | 6 +- docs/models/usereventpayload328next.md | 14 +- docs/models/usereventpayload328previous.md | 14 +- docs/models/usereventpayload32apikey.md | 2 +- docs/models/usereventpayload331next.md | 21 + docs/models/usereventpayload331previous.md | 21 + ...d340next.md => usereventpayload343next.md} | 6 +- ...ious.md => usereventpayload343previous.md} | 6 +- docs/models/usereventpayload347role.md | 15 - docs/models/usereventpayload348role.md | 15 - docs/models/usereventpayload349project.md | 18 - docs/models/usereventpayload349role.md | 15 - .../models/usereventpayload34refreshperiod.md | 2 +- docs/models/usereventpayload350project.md | 5 +- docs/models/usereventpayload350role.md | 2 +- ...oject.md => usereventpayload351project.md} | 10 +- docs/models/usereventpayload351role.md | 15 + ...oject.md => usereventpayload352project.md} | 6 +- docs/models/usereventpayload352role.md | 15 + ...3team.md => usereventpayload353project.md} | 6 +- docs/models/usereventpayload353role.md | 15 + ...d442next.md => usereventpayload369next.md} | 6 +- ...ious.md => usereventpayload369previous.md} | 6 +- ...entpayload36previousbudgetrefreshperiod.md | 2 +- .../models/usereventpayload36refreshperiod.md | 2 +- ...d368next.md => usereventpayload371next.md} | 8 +- ...ious.md => usereventpayload371previous.md} | 6 +- docs/models/usereventpayload374next.md | 18 - docs/models/usereventpayload374previous.md | 18 - docs/models/usereventpayload376next.md | 17 - docs/models/usereventpayload376previous.md | 15 - docs/models/usereventpayload377next.md | 17 +- docs/models/usereventpayload377previous.md | 11 +- ...d375next.md => usereventpayload378next.md} | 8 +- ...ious.md => usereventpayload378previous.md} | 6 +- docs/models/usereventpayload379next.md | 14 +- docs/models/usereventpayload379previous.md | 16 +- docs/models/usereventpayload37budget.md | 3 +- docs/models/usereventpayload37change.md | 2 +- ...entpayload37previousbudgetrefreshperiod.md | 2 +- .../models/usereventpayload37refreshperiod.md | 2 +- docs/models/usereventpayload380next.md | 21 + docs/models/usereventpayload380previous.md | 15 + docs/models/usereventpayload382next.md | 21 + docs/models/usereventpayload382previous.md | 21 + ... => usereventpayload382previousproject.md} | 6 +- ...oject.md => usereventpayload382project.md} | 8 +- docs/models/usereventpayload386actortype.md | 15 - docs/models/usereventpayload388actortype.md | 15 - docs/models/usereventpayload389actortype.md | 15 + docs/models/usereventpayload390actortype.md | 15 - docs/models/usereventpayload391actortype.md | 2 +- docs/models/usereventpayload393actortype.md | 15 + docs/models/usereventpayload394actortype.md | 15 + docs/models/usereventpayload395actortype.md | 15 + docs/models/usereventpayload398actortype.md | 15 - docs/models/usereventpayload403actortype.md | 15 + .../usereventpayload405geolocationnames.md | 17 - ...eolocationmostspecificsubdivisionnames.md} | 6 +- .../usereventpayload410geolocationnames.md | 17 + ...05names.md => usereventpayload410names.md} | 6 +- docs/models/usereventpayload410pricingplan.md | 17 - docs/models/usereventpayload410type.md | 17 - docs/models/usereventpayload411type.md | 17 - docs/models/usereventpayload412type.md | 17 - .../usereventpayload413prevbudgettype.md | 17 - docs/models/usereventpayload413pricingplan.md | 17 - docs/models/usereventpayload413type.md | 17 - ...ious.md => usereventpayload414previous.md} | 10 +- ...budget.md => usereventpayload415budget.md} | 19 +- docs/models/usereventpayload415pricingplan.md | 17 + ...13scope.md => usereventpayload415scope.md} | 6 +- docs/models/usereventpayload415type.md | 17 + ...budget.md => usereventpayload416budget.md} | 24 +- ...10scope.md => usereventpayload416scope.md} | 6 +- docs/models/usereventpayload416type.md | 8 +- ...budget.md => usereventpayload417budget.md} | 23 +- ...11scope.md => usereventpayload417scope.md} | 6 +- docs/models/usereventpayload417type.md | 8 +- ...budget.md => usereventpayload418budget.md} | 25 +- ... => usereventpayload418prevbudgetscope.md} | 6 +- .../usereventpayload418prevbudgettype.md | 17 + docs/models/usereventpayload418pricingplan.md | 17 + ...12scope.md => usereventpayload418scope.md} | 6 +- docs/models/usereventpayload418type.md | 8 +- docs/models/usereventpayload419type.md | 15 - docs/models/usereventpayload421type.md | 2 +- docs/models/usereventpayload422actortype.md | 15 - docs/models/usereventpayload422type.md | 15 + docs/models/usereventpayload423type.md | 15 + docs/models/usereventpayload424type.md | 15 + docs/models/usereventpayload425action.md | 15 - docs/models/usereventpayload425store.md | 19 + docs/models/usereventpayload426action.md | 15 - docs/models/usereventpayload426endpoint.md | 15 - .../usereventpayload426previousscope.md | 17 - docs/models/usereventpayload426type.md | 15 + docs/models/usereventpayload427actortype.md | 15 + .../usereventpayload428repositoryscope.md | 15 - docs/models/usereventpayload430action.md | 15 + ...d425next.md => usereventpayload430next.md} | 6 +- ...ious.md => usereventpayload430previous.md} | 6 +- docs/models/usereventpayload431action.md | 15 + docs/models/usereventpayload431endpoint.md | 15 + ...d426next.md => usereventpayload431next.md} | 14 +- ...ious.md => usereventpayload431previous.md} | 12 +- .../usereventpayload431previousscope.md | 17 + ...26scope.md => usereventpayload431scope.md} | 6 +- ...d427next.md => usereventpayload432next.md} | 8 +- ...ious.md => usereventpayload432previous.md} | 8 +- ...d428next.md => usereventpayload433next.md} | 8 +- ...ious.md => usereventpayload433previous.md} | 10 +- .../usereventpayload433repositoryscope.md | 15 + docs/models/usereventpayload436next.md | 15 - docs/models/usereventpayload436previous.md | 15 - docs/models/usereventpayload437actortype.md | 15 - docs/models/usereventpayload438next.md | 15 - docs/models/usereventpayload438previous.md | 15 - docs/models/usereventpayload439actortype.md | 15 - docs/models/usereventpayload440role.md | 15 - docs/models/usereventpayload441next.md | 15 + docs/models/usereventpayload441previous.md | 15 + docs/models/usereventpayload441scope.md | 15 - docs/models/usereventpayload442actortype.md | 15 + docs/models/usereventpayload443action.md | 15 - docs/models/usereventpayload443next.md | 15 + docs/models/usereventpayload443previous.md | 15 + docs/models/usereventpayload444actortype.md | 15 + ...d284role.md => usereventpayload445role.md} | 6 +- docs/models/usereventpayload446scope.md | 15 + ...d366next.md => usereventpayload447next.md} | 6 +- ...ious.md => usereventpayload447previous.md} | 6 +- docs/models/usereventpayload448action.md | 15 + docs/models/usereventpayload467actortype.md | 15 - docs/models/usereventpayload472actortype.md | 15 + docs/models/usereventpayload474scope.md | 15 - docs/models/usereventpayload479scope.md | 15 + ...d475next.md => usereventpayload480next.md} | 2 +- ...ious.md => usereventpayload480previous.md} | 2 +- docs/models/usereventpayload481actortype.md | 15 - docs/models/usereventpayload482type.md | 15 - docs/models/usereventpayload486actortype.md | 15 + docs/models/usereventpayload487actortype.md | 15 - docs/models/usereventpayload487type.md | 15 + docs/models/usereventpayload489actortype.md | 15 - docs/models/usereventpayload492actortype.md | 15 + docs/models/usereventpayload493actortype.md | 15 - docs/models/usereventpayload494actortype.md | 2 +- docs/models/usereventpayload495actortype.md | 15 - docs/models/usereventpayload496actortype.md | 15 - docs/models/usereventpayload497scope.md | 15 - docs/models/usereventpayload498actortype.md | 15 + docs/models/usereventpayload499actortype.md | 15 + docs/models/usereventpayload500actortype.md | 15 + docs/models/usereventpayload501actortype.md | 15 + docs/models/usereventpayload502scope.md | 15 + ...action.md => usereventpayload505action.md} | 6 +- docs/models/usereventpayload506next.md | 2 +- docs/models/usereventpayload506previous.md | 2 +- docs/models/usereventpayload507provider.md | 15 - docs/models/usereventpayload509actortype.md | 15 - docs/models/usereventpayload50mode.md | 2 +- docs/models/usereventpayload510actortype.md | 15 - ...previous.md => usereventpayload511next.md} | 6 +- ...next.md => usereventpayload511previous.md} | 8 +- docs/models/usereventpayload512provider.md | 15 + docs/models/usereventpayload514actortype.md | 15 + docs/models/usereventpayload515actortype.md | 15 + ...md => usereventpayload534configuration.md} | 6 +- ...d530team.md => usereventpayload534team.md} | 6 +- ...md => usereventpayload535configuration.md} | 6 +- ...d531team.md => usereventpayload535team.md} | 6 +- ...md => usereventpayload536configuration.md} | 6 +- ...d529team.md => usereventpayload536team.md} | 6 +- ...d532team.md => usereventpayload537team.md} | 6 +- docs/models/usereventpayload541scope.md | 15 - ...d538next.md => usereventpayload543next.md} | 2 +- ...ious.md => usereventpayload543previous.md} | 2 +- ...d539next.md => usereventpayload544next.md} | 2 +- ...ious.md => usereventpayload544previous.md} | 2 +- ...d541next.md => usereventpayload546next.md} | 9 +- ...ious.md => usereventpayload546previous.md} | 10 +- docs/models/usereventpayload546scope.md | 6 +- docs/models/usereventpayload546source.md | 15 - docs/models/usereventpayload547reason.md | 15 - docs/models/usereventpayload547scope.md | 15 - docs/models/usereventpayload547source.md | 15 - ...ces.md => usereventpayload549resources.md} | 6 +- ... => usereventpayload550beforeresources.md} | 6 +- ...ces.md => usereventpayload550resources.md} | 10 +- ...d547city.md => usereventpayload551city.md} | 8 +- ...untry.md => usereventpayload551country.md} | 8 +- ...n.md => usereventpayload551geolocation.md} | 12 +- ...eolocationmostspecificsubdivisionnames.md} | 6 +- ...=> usereventpayload551geolocationnames.md} | 6 +- ...eventpayload551mostspecificsubdivision.md} | 8 +- ...42names.md => usereventpayload551names.md} | 6 +- docs/models/usereventpayload551scope.md | 17 + docs/models/usereventpayload551source.md | 15 + ...d548city.md => usereventpayload552city.md} | 8 +- ...untry.md => usereventpayload552country.md} | 8 +- ...n.md => usereventpayload552geolocation.md} | 12 +- ...eolocationmostspecificsubdivisionnames.md} | 6 +- ...=> usereventpayload552geolocationnames.md} | 6 +- ...eventpayload552mostspecificsubdivision.md} | 8 +- ...46names.md => usereventpayload552names.md} | 6 +- docs/models/usereventpayload552reason.md | 15 + docs/models/usereventpayload552scope.md | 15 + docs/models/usereventpayload552source.md | 15 + ...d546city.md => usereventpayload553city.md} | 8 +- ...untry.md => usereventpayload553country.md} | 8 +- ...n.md => usereventpayload553geolocation.md} | 12 +- ...eolocationmostspecificsubdivisionnames.md} | 6 +- ...=> usereventpayload553geolocationnames.md} | 6 +- ...eventpayload553mostspecificsubdivision.md} | 8 +- ...48names.md => usereventpayload553names.md} | 6 +- docs/models/usereventpayload62accessgroup.md | 19 - docs/models/usereventpayload63accessgroup.md | 5 +- docs/models/usereventpayload64accessgroup.md | 18 + ...oad63user.md => usereventpayload64user.md} | 6 +- docs/models/usereventpayload73action.md | 15 - docs/models/usereventpayload74action.md | 15 + docs/models/usereventpayload80aftertype.md | 15 - .../usereventpayload80beforeresourcestype.md | 15 - docs/models/usereventpayload80beforetype.md | 15 - docs/models/usereventpayload80type.md | 15 - docs/models/usereventpayload81aftertype.md | 15 + .../usereventpayload81beforeresourcestype.md | 15 + docs/models/usereventpayload81beforetype.md | 15 + ...ns.md => usereventpayload81permissions.md} | 6 +- ...ids.md => usereventpayload81projectids.md} | 8 +- .../models/usereventpayload81resourcestype.md | 15 - docs/models/usereventpayload81type.md | 2 +- .../models/usereventpayload82resourcestype.md | 15 + docs/models/usereventpayload82type.md | 15 + docs/models/usereventpayload95action.md | 15 - docs/models/usereventpayload96action.md | 6 +- docs/models/usereventpayload97action.md | 6 +- docs/models/usereventpayload98action.md | 15 + docs/models/usereventpayloadaccessgroup.md | 2 +- docs/models/usereventpayloadaccesspolicy.md | 2 +- docs/models/usereventpayloadactortype.md | 2 +- ...loadallowlistedreadystatereasoninternal.md | 2 +- docs/models/usereventpayloadapikey.md | 2 +- docs/models/usereventpayloadappliesto.md | 15 + docs/models/usereventpayloadbudget.md | 8 +- docs/models/usereventpayloadchange.md | 2 +- docs/models/usereventpayloadchangedfields.md | 2 +- docs/models/usereventpayloadcity.md | 2 +- docs/models/usereventpayloadconfiguration.md | 2 +- docs/models/usereventpayloadcountry.md | 2 +- docs/models/usereventpayloadcredential.md | 2 +- docs/models/usereventpayloaddeployment.md | 2 +- docs/models/usereventpayloaddeploymenttype.md | 2 +- docs/models/usereventpayloaddsyncmode.md | 2 +- docs/models/usereventpayloadendpoint.md | 2 +- docs/models/usereventpayloadenvironment.md | 2 +- docs/models/usereventpayloadgitprovider.md | 2 +- docs/models/usereventpayloaditems.md | 4 +- docs/models/usereventpayloadjoinedfrom.md | 5 +- docs/models/usereventpayloadkind.md | 2 +- docs/models/usereventpayloadmode.md | 2 +- ...usereventpayloadmostspecificsubdivision.md | 2 +- docs/models/usereventpayloadnames.md | 2 +- docs/models/usereventpayloadnewteam.md | 2 +- docs/models/usereventpayloadnext.md | 2 +- docs/models/usereventpayloadoldteam.md | 2 +- docs/models/usereventpayloadorigin.md | 2 +- docs/models/usereventpayloadpassport.md | 4 +- .../usereventpayloadpasswordprotection.md | 2 +- docs/models/usereventpayloadpermissions.md | 2 +- docs/models/usereventpayloadplan.md | 2 +- docs/models/usereventpayloadprev.md | 2 +- docs/models/usereventpayloadprevious.md | 2 +- docs/models/usereventpayloadpreviousbudget.md | 3 +- docs/models/usereventpayloadpreviousmode.md | 2 +- docs/models/usereventpayloadpricingplan.md | 2 +- .../usereventpayloadprivatelinkendpoint.md | 2 +- docs/models/usereventpayloadproject.md | 2 +- docs/models/usereventpayloadprojectids.md | 4 +- docs/models/usereventpayloadprojectscope.md | 2 +- docs/models/usereventpayloadprovider.md | 2 +- docs/models/usereventpayloadreason.md | 2 +- docs/models/usereventpayloadrefreshperiod.md | 2 +- docs/models/usereventpayloadremovedusers.md | 4 +- .../models/usereventpayloadrepositoryscope.md | 2 +- docs/models/usereventpayloadrequestkind.md | 2 +- docs/models/usereventpayloadresources.md | 2 +- docs/models/usereventpayloadrole.md | 2 +- docs/models/usereventpayloadscope.md | 2 +- docs/models/usereventpayloadscopetype.md | 6 +- docs/models/usereventpayloadsource.md | 2 +- docs/models/usereventpayloadssoprotection.md | 4 +- docs/models/usereventpayloadstore.md | 4 +- docs/models/usereventpayloadtargetkind.md | 2 +- docs/models/usereventpayloadteam.md | 2 +- docs/models/usereventpayloadteamroles.md | 2 +- docs/models/usereventpayloadtype.md | 2 +- docs/models/usereventpayloaduser.md | 2 +- .../usereventpreviousteampermissions.md | 2 +- docs/models/usereventpreviousteamroles.md | 2 +- docs/models/usereventprincipal1.md | 2 +- docs/models/usereventprincipal2.md | 2 +- docs/models/usereventprincipal3.md | 2 +- docs/models/usereventprincipal4.md | 2 +- docs/models/usereventprincipal5.md | 2 +- docs/models/usereventtype.md | 2 +- docs/models/usereventvia1.md | 2 +- docs/models/usereventvia2.md | 2 +- docs/models/viaapp.md | 2 +- docs/models/viaintegration.md | 2 +- docs/models/virtualmodelconfig.md | 2 +- docs/models/widget.md | 2 +- docs/sdks/aigateway/README.md | 8 +- docs/sdks/authentication/README.md | 5 +- docs/sdks/billing/README.md | 2 +- docs/sdks/featureflags/README.md | 78 + examples/package-lock.json | 2 +- jsr.json | 5 +- package-lock.json | 4 +- package.json | 11 +- .../accessGroupsCreateAccessGroupProject.ts | 10 +- src/funcs/accessGroupsDeleteAccessGroup.ts | 9 +- .../accessGroupsDeleteAccessGroupProject.ts | 12 +- .../accessGroupsListAccessGroupMembers.ts | 12 +- .../accessGroupsListAccessGroupProjects.ts | 12 +- src/funcs/accessGroupsReadAccessGroup.ts | 9 +- .../accessGroupsReadAccessGroupProject.ts | 12 +- src/funcs/accessGroupsUpdateAccessGroup.ts | 9 +- .../accessGroupsUpdateAccessGroupProject.ts | 12 +- src/funcs/aiGatewayArchiveAiGatewayBudget.ts | 3 +- .../aiGatewayDeleteAiGatewayByokCredential.ts | 10 +- ...DeleteAiGatewayVirtualModelConfigBySlug.ts | 10 +- .../aiGatewayGetAiGatewayByokCredential.ts | 10 +- ...wayGetAiGatewayVirtualModelConfigBySlug.ts | 10 +- .../aiGatewayListAiGatewayBudgetDefaults.ts | 2 +- src/funcs/aiGatewayListAiGatewayBudgets.ts | 2 +- .../aiGatewayUpdateAiGatewayByokCredential.ts | 10 +- ...UpdateAiGatewayVirtualModelConfigBySlug.ts | 10 +- src/funcs/aiGatewayUpdateApiKeyQuota.ts | 9 +- src/funcs/aiGatewayUpsertAiGatewayBudget.ts | 2 +- src/funcs/aliasesAssignAlias.ts | 9 +- src/funcs/aliasesDeleteAlias.ts | 9 +- src/funcs/aliasesGetAlias.ts | 9 +- src/funcs/aliasesListDeploymentAliases.ts | 9 +- src/funcs/aliasesPatchUrlProtectionBypass.ts | 9 +- src/funcs/artifactsArtifactExists.ts | 9 +- src/funcs/artifactsDownloadArtifact.ts | 9 +- src/funcs/artifactsUploadArtifact.ts | 9 +- src/funcs/authenticationDeleteAuthToken.ts | 9 +- src/funcs/authenticationGetAuthToken.ts | 9 +- src/funcs/authenticationListAuthTokens.ts | 25 + src/funcs/billingBuyCredits.ts | 2 +- src/funcs/certsGetCertById.ts | 9 +- src/funcs/certsRemoveCert.ts | 9 +- src/funcs/checksCreateCheck.ts | 12 +- src/funcs/checksGetAllChecks.ts | 12 +- src/funcs/checksGetCheck.ts | 10 +- src/funcs/checksRerequestCheck.ts | 12 +- src/funcs/checksUpdateCheck.ts | 10 +- src/funcs/checksV2CreateDeploymentCheckRun.ts | 10 +- src/funcs/checksV2CreateProjectCheck.ts | 12 +- src/funcs/checksV2DeleteProjectCheck.ts | 10 +- src/funcs/checksV2GetDeploymentCheckRun.ts | 12 +- src/funcs/checksV2GetProjectCheck.ts | 10 +- src/funcs/checksV2ListCheckRuns.ts | 12 +- src/funcs/checksV2ListDeploymentCheckRuns.ts | 10 +- src/funcs/checksV2ListProjectChecks.ts | 12 +- src/funcs/checksV2UpdateDeploymentCheckRun.ts | 12 +- src/funcs/checksV2UpdateProjectCheck.ts | 10 +- src/funcs/connectDeleteConnector.ts | 12 +- ...connectDeleteConnectorProjectConnection.ts | 12 +- ...ctDisconnectConnectorProjectEnvironment.ts | 12 +- src/funcs/connectEjectManagedConnector.ts | 10 +- src/funcs/connectGetConnector.ts | 12 +- .../connectGetConnectorProjectConnection.ts | 12 +- .../connectListConnectorProjectConnections.ts | 10 +- .../connectListProjectConnectorConnections.ts | 10 +- ...nectReplaceConnectorTriggerDestinations.ts | 12 +- src/funcs/connectUpdateConnector.ts | 12 +- ...connectUpsertConnectorProjectConnection.ts | 12 +- src/funcs/daemonsGetProjectBoxes.ts | 9 +- src/funcs/daemonsPutProjectDaemonInstances.ts | 14 +- .../daemonsRestartProjectDaemonInstance.ts | 12 +- src/funcs/deploymentsCancelDeployment.ts | 9 +- src/funcs/deploymentsDeleteDeployment.ts | 9 +- src/funcs/deploymentsGetDeployment.ts | 9 +- src/funcs/deploymentsGetDeploymentEvents.ts | 9 +- .../deploymentsGetDeploymentFileContents.ts | 12 +- src/funcs/deploymentsListDeploymentFiles.ts | 9 +- ...ymentsUpdateIntegrationDeploymentAction.ts | 12 +- src/funcs/dnsCreateRecord.ts | 9 +- src/funcs/dnsGetRecords.ts | 9 +- src/funcs/dnsRemoveRecord.ts | 10 +- src/funcs/dnsUpdateRecord.ts | 9 +- src/funcs/domainsClaimDomainOwnership.ts | 9 +- src/funcs/domainsDeleteDomain.ts | 9 +- src/funcs/domainsGetDomain.ts | 9 +- src/funcs/domainsGetDomainConfig.ts | 9 +- src/funcs/domainsGetDomainProjectDomains.ts | 12 +- .../domainsGetDomainVerificationRecord.ts | 12 +- src/funcs/domainsPatchDomain.ts | 9 +- src/funcs/domainsRegistrarBuySingleDomain.ts | 12 +- .../domainsRegistrarGetContactInfoSchema.ts | 10 +- .../domainsRegistrarGetDomainAuthCode.ts | 10 +- .../domainsRegistrarGetDomainAvailability.ts | 10 +- ...nsRegistrarGetDomainContactVerification.ts | 12 +- src/funcs/domainsRegistrarGetDomainPrice.ts | 12 +- .../domainsRegistrarGetDomainTransferIn.ts | 10 +- src/funcs/domainsRegistrarGetOrder.ts | 9 +- src/funcs/domainsRegistrarGetTld.ts | 9 +- src/funcs/domainsRegistrarGetTldPrice.ts | 9 +- src/funcs/domainsRegistrarRenewDomain.ts | 12 +- src/funcs/domainsRegistrarTransferInDomain.ts | 10 +- .../domainsRegistrarUpdateDomainAutoRenew.ts | 10 +- ...domainsRegistrarUpdateDomainNameservers.ts | 10 +- src/funcs/drainsDeleteDrain.ts | 9 +- src/funcs/drainsGetDrain.ts | 9 +- src/funcs/drainsUpdateDrain.ts | 9 +- src/funcs/drivesDeleteDriveV1.ts | 9 +- src/funcs/drivesForkDriveV1.ts | 9 +- src/funcs/drivesGetDriveV1.ts | 9 +- src/funcs/drivesGetOrCreateDriveV1.ts | 9 +- .../environmentCreateCustomEnvironment.ts | 10 +- src/funcs/environmentGetCustomEnvironment.ts | 12 +- ...GetProjectsByIdOrNameCustomEnvironments.ts | 10 +- src/funcs/environmentGetSharedEnvVar.ts | 9 +- .../environmentRemoveCustomEnvironment.ts | 12 +- .../environmentUnlinkSharedEnvVariable.ts | 9 +- .../environmentUpdateCustomEnvironment.ts | 12 +- src/funcs/featureFlagsCreateFlag.ts | 10 +- src/funcs/featureFlagsCreateFlagSegment.ts | 12 +- ...eatureFlagsCreateFlagsProjectConnection.ts | 12 +- src/funcs/featureFlagsCreateSDKKey.ts | 12 +- src/funcs/featureFlagsDeleteFlag.ts | 12 +- src/funcs/featureFlagsDeleteFlagSegment.ts | 12 +- ...eatureFlagsDeleteFlagsProjectConnection.ts | 12 +- src/funcs/featureFlagsDeleteSDKKey.ts | 12 +- .../featureFlagsGetDeploymentFeatureFlags.ts | 10 +- src/funcs/featureFlagsGetFlag.ts | 12 +- src/funcs/featureFlagsGetFlagSegment.ts | 12 +- src/funcs/featureFlagsGetFlagSettings.ts | 12 +- .../featureFlagsGetFlagsProjectConnections.ts | 12 +- src/funcs/featureFlagsGetSDKKeys.ts | 12 +- src/funcs/featureFlagsListFlagLabelCounts.ts | 12 +- src/funcs/featureFlagsListFlagLabels.ts | 12 +- src/funcs/featureFlagsListFlagSegments.ts | 12 +- src/funcs/featureFlagsListFlagVersions.ts | 12 +- src/funcs/featureFlagsListFlags.ts | 10 +- src/funcs/featureFlagsListFlagsV2.ts | 10 +- src/funcs/featureFlagsListTeamFlagSettings.ts | 10 +- src/funcs/featureFlagsListTeamFlags.ts | 12 +- src/funcs/featureFlagsListTeamFlagsV2.ts | 12 +- src/funcs/featureFlagsLookupFlagLabels.ts | 12 +- src/funcs/featureFlagsSignFlagOverrides.ts | 187 + src/funcs/featureFlagsUpdateFlag.ts | 12 +- src/funcs/featureFlagsUpdateFlagSegment.ts | 12 +- src/funcs/featureFlagsUpdateFlagSettings.ts | 12 +- src/funcs/getDomainsRecordsByRecordId.ts | 9 +- src/funcs/getObservabilitySchemaByMetricId.ts | 12 +- .../globalConfigCreateEdgeConfigToken.ts | 12 +- src/funcs/globalConfigDeleteEdgeConfig.ts | 9 +- .../globalConfigDeleteEdgeConfigSchema.ts | 10 +- .../globalConfigDeleteEdgeConfigTokens.ts | 10 +- src/funcs/globalConfigGetEdgeConfig.ts | 9 +- src/funcs/globalConfigGetEdgeConfigBackup.ts | 12 +- src/funcs/globalConfigGetEdgeConfigBackups.ts | 10 +- src/funcs/globalConfigGetEdgeConfigItem.ts | 12 +- src/funcs/globalConfigGetEdgeConfigItems.ts | 12 +- src/funcs/globalConfigGetEdgeConfigSchema.ts | 10 +- src/funcs/globalConfigGetEdgeConfigToken.ts | 10 +- src/funcs/globalConfigGetEdgeConfigTokens.ts | 10 +- src/funcs/globalConfigPatchEdgeConfigItems.ts | 12 +- .../globalConfigPatchEdgeConfigSchema.ts | 10 +- .../globalConfigRestoreEdgeConfigBackup.ts | 12 +- src/funcs/globalConfigUpdateEdgeConfig.ts | 9 +- ...ionsConnectIntegrationResourceToProject.ts | 12 +- src/funcs/integrationsDeleteConfiguration.ts | 12 +- src/funcs/integrationsGetBillingPlans.ts | 12 +- src/funcs/integrationsGetConfiguration.ts | 12 +- .../integrationsGetConfigurationProducts.ts | 10 +- src/funcs/kmsActivateKmsSigningKey.ts | 10 +- src/funcs/kmsCreateKmsIssuerPolicy.ts | 12 +- src/funcs/kmsCreateKmsSigningKey.ts | 9 +- src/funcs/kmsDeleteKmsIssuer.ts | 9 +- src/funcs/kmsDeleteKmsIssuerPolicy.ts | 12 +- src/funcs/kmsGetKmsIssuer.ts | 9 +- src/funcs/kmsRevokeKmsSigningKey.ts | 10 +- src/funcs/kmsSignKmsMessage.ts | 10 +- src/funcs/kmsSignKmsToken.ts | 12 +- src/funcs/kmsUpdateKmsIssuer.ts | 9 +- src/funcs/kmsUpdateKmsIssuerPolicy.ts | 12 +- .../logDrainsDeleteConfigurableLogDrain.ts | 11 +- .../logDrainsDeleteIntegrationLogDrain.ts | 9 +- src/funcs/logDrainsGetConfigurableLogDrain.ts | 9 +- src/funcs/logsGetRuntimeLogs.ts | 12 +- src/funcs/marketplaceCreateEvent.ts | 12 +- ...ateInstallationIntegrationConfiguration.ts | 12 +- ...eteInstallationIntegrationConfiguration.ts | 12 +- .../marketplaceDeleteIntegrationResource.ts | 12 +- src/funcs/marketplaceFinalizeInstallation.ts | 12 +- src/funcs/marketplaceGetAccountInfo.ts | 12 +- ...ByResourceIdExperimentationGlobalConfig.ts | 12 +- .../marketplaceGetIntegrationResource.ts | 12 +- .../marketplaceGetIntegrationResources.ts | 12 +- src/funcs/marketplaceGetInvoice.ts | 12 +- src/funcs/marketplaceGetMember.ts | 12 +- ...ByResourceIdExperimentationGlobalConfig.ts | 12 +- src/funcs/marketplaceImportResource.ts | 12 +- ...ByResourceIdExperimentationGlobalConfig.ts | 12 +- ...marketplaceRevokeInstallationCredential.ts | 12 +- ...marketplaceRotateInstallationCredential.ts | 12 +- src/funcs/marketplaceSubmitBillingData.ts | 12 +- src/funcs/marketplaceSubmitInvoice.ts | 12 +- .../marketplaceSubmitPrepaymentBalances.ts | 12 +- src/funcs/marketplaceUpdateInstallation.ts | 10 +- ...ateInstallationIntegrationConfiguration.ts | 12 +- src/funcs/marketplaceUpdateInvoice.ts | 12 +- src/funcs/marketplaceUpdateResource.ts | 12 +- src/funcs/marketplaceUpdateResourceSecrets.ts | 12 +- .../marketplaceUpdateResourceSecretsById.ts | 12 +- .../microfrontendsGetMicrofrontendsConfig.ts | 10 +- ...ntendsGetMicrofrontendsConfigForProject.ts | 12 +- .../microfrontendsGetMicrofrontendsInGroup.ts | 10 +- src/funcs/networkingDeleteNetwork.ts | 9 +- .../networkingDeletePrivateLinkEndpoint.ts | 10 +- src/funcs/networkingReadNetwork.ts | 9 +- .../networkingReadPrivateLinkEndpoint.ts | 10 +- src/funcs/networkingUpdateNetwork.ts | 9 +- .../networkingUpdatePrivateLinkEndpoint.ts | 10 +- src/funcs/networkingUpdateStaticIps.ts | 10 +- ...UpdateObservabilityConfigurationProject.ts | 12 +- ...ganizationsDeleteOrganizationDsyncGroup.ts | 12 +- src/funcs/organizationsGetOrganization.ts | 12 +- .../organizationsGetOrganizationDsyncGroup.ts | 12 +- ...rganizationsListOrganizationDsyncGroups.ts | 10 +- .../organizationsListOrganizationTeams.ts | 10 +- .../organizationsPutOrganizationDsyncGroup.ts | 12 +- .../organizationsPutOrganizationTeamDsync.ts | 12 +- .../organizationsRemoveOrganizationTeam.ts | 12 +- src/funcs/organizationsUpdateOrganization.ts | 12 +- src/funcs/projectMembersAddProjectMember.ts | 9 +- src/funcs/projectMembersGetProjectMembers.ts | 9 +- .../projectMembersRemoveProjectMember.ts | 12 +- src/funcs/projectRoutesAddRoute.ts | 9 +- src/funcs/projectRoutesDeleteRoutes.ts | 9 +- src/funcs/projectRoutesEditRoute.ts | 10 +- src/funcs/projectRoutesGenerateRoute.ts | 10 +- src/funcs/projectRoutesGetRouteVersions.ts | 10 +- src/funcs/projectRoutesGetRoutes.ts | 9 +- src/funcs/projectRoutesStageRoutes.ts | 9 +- src/funcs/projectRoutesUpdateRouteVersions.ts | 10 +- .../projectsAcceptProjectTransferRequest.ts | 12 +- src/funcs/projectsAddProjectDomain.ts | 9 +- src/funcs/projectsBatchRemoveProjectEnv.ts | 9 +- src/funcs/projectsCreateProjectEnv.ts | 9 +- .../projectsCreateProjectTransferRequest.ts | 12 +- src/funcs/projectsDeleteProject.ts | 9 +- src/funcs/projectsDeleteProjectAvatar.ts | 9 +- src/funcs/projectsEditProjectEnv.ts | 9 +- src/funcs/projectsFilterProjectEnvs.ts | 9 +- src/funcs/projectsGetProject.ts | 9 +- src/funcs/projectsGetProjectDomain.ts | 10 +- src/funcs/projectsGetProjectDomains.ts | 9 +- src/funcs/projectsGetProjectEnv.ts | 9 +- src/funcs/projectsGetProjectToken.ts | 9 +- src/funcs/projectsListPromoteAliases.ts | 10 +- src/funcs/projectsMoveProjectDomain.ts | 10 +- src/funcs/projectsPauseProject.ts | 9 +- src/funcs/projectsRemoveProjectDomain.ts | 10 +- src/funcs/projectsRemoveProjectEnv.ts | 9 +- src/funcs/projectsRequestPromote.ts | 10 +- src/funcs/projectsRequestRollback.ts | 10 +- src/funcs/projectsUnpauseProject.ts | 9 +- src/funcs/projectsUpdateMicrofrontends.ts | 10 +- src/funcs/projectsUpdateProject.ts | 9 +- src/funcs/projectsUpdateProjectDomain.ts | 10 +- .../projectsUpdateProjectProtectionBypass.ts | 10 +- ...RollbackByDeploymentIdUpdateDescription.ts | 12 +- src/funcs/projectsUploadProjectAvatar.ts | 9 +- src/funcs/projectsVerifyProjectDomain.ts | 10 +- src/funcs/replaceDomainsByDomainRecords.ts | 9 +- ...ollingReleaseApproveRollingReleaseStage.ts | 12 +- .../rollingReleaseCompleteRollingRelease.ts | 10 +- ...ollingReleaseDeleteRollingReleaseConfig.ts | 10 +- src/funcs/rollingReleaseGetRollingRelease.ts | 10 +- ...ngReleaseGetRollingReleaseBillingStatus.ts | 10 +- .../rollingReleaseGetRollingReleaseConfig.ts | 10 +- .../rollingReleaseStartRollingRelease.ts | 10 +- ...ollingReleaseUpdateRollingReleaseConfig.ts | 10 +- ...eSandboxesSessionsBySessionIdSnapshotV2.ts | 10 +- ...eSandboxesSessionsBySessionIdSnapshotV3.ts | 10 +- src/funcs/sandboxesCreateSessionDirectory.ts | 10 +- src/funcs/sandboxesDeleteDrive.ts | 9 +- src/funcs/sandboxesDeleteSandbox.ts | 9 +- src/funcs/sandboxesDeleteSessionSnapshot.ts | 12 +- src/funcs/sandboxesExtendSessionTimeout.ts | 10 +- src/funcs/sandboxesForkDrive.ts | 9 +- src/funcs/sandboxesGetDrive.ts | 9 +- src/funcs/sandboxesGetNamedSandbox.ts | 9 +- src/funcs/sandboxesGetOrCreateDrive.ts | 9 +- src/funcs/sandboxesGetSession.ts | 12 +- src/funcs/sandboxesGetSessionCommand.ts | 10 +- src/funcs/sandboxesGetSessionSnapshot.ts | 12 +- src/funcs/sandboxesKillSessionCommand.ts | 12 +- src/funcs/sandboxesListSessionCommands.ts | 12 +- src/funcs/sandboxesReadSessionFile.ts | 10 +- src/funcs/sandboxesStopSession.ts | 10 +- .../sandboxesUpdateSessionNetworkPolicy.ts | 10 +- .../sandboxesWriteSessionCommandStdin.ts | 12 +- src/funcs/sandboxesWriteSessionFiles.ts | 10 +- ...tyFirewallConfigByConfigVersionActivate.ts | 12 +- ...teSecurityFirewallConfigByConfigVersion.ts | 10 +- src/funcs/securityGetFirewallConfig.ts | 10 +- .../storageDeleteStorageStoresBlobById.ts | 9 +- src/funcs/storageGetStorageStoresById.ts | 9 +- src/funcs/teamsDeleteMicrofrontendsGroup.ts | 10 +- src/funcs/teamsDeleteTeam.ts | 9 +- src/funcs/teamsDeleteTeamInviteCode.ts | 12 +- src/funcs/teamsGetTeam.ts | 9 +- src/funcs/teamsGetTeamAccessRequest.ts | 12 +- src/funcs/teamsGetTeamMembers.ts | 9 +- src/funcs/teamsInviteUserToTeam.ts | 9 +- src/funcs/teamsJoinTeam.ts | 12 +- src/funcs/teamsPatchTeam.ts | 9 +- src/funcs/teamsPostTeamDsyncRoles.ts | 9 +- src/funcs/teamsRemoveTeamMember.ts | 9 +- src/funcs/teamsRequestAccessToTeam.ts | 9 +- src/funcs/teamsUpdateMicrofrontendsGroup.ts | 10 +- src/funcs/teamsUpdateTeamMember.ts | 9 +- src/funcs/vcrAddRepositoryPermission.ts | 10 +- src/funcs/vcrClearRepositoryPermissions.ts | 10 +- ...ProjectSlugByRepositoryNameBlobsUploads.ts | 12 +- ...rojectSlugByRepositoryNameBlobsByDigest.ts | 12 +- ...tSlugByRepositoryNameBlobsUploadsByUuid.ts | 12 +- ...lugByRepositoryNameManifestsByReference.ts | 12 +- src/funcs/vcrDeleteRepository.ts | 9 +- src/funcs/vcrDeleteRepositoryImage.ts | 10 +- ...rojectSlugByRepositoryNameBlobsByDigest.ts | 12 +- ...tSlugByRepositoryNameBlobsUploadsByUuid.ts | 12 +- ...lugByRepositoryNameManifestsByReference.ts | 12 +- ...ugByProjectSlugByRepositoryNameTagsList.ts | 12 +- src/funcs/vcrGetRepository.ts | 9 +- src/funcs/vcrGetRepositoryImage.ts | 12 +- src/funcs/vcrGetRepositoryTag.ts | 10 +- ...rojectSlugByRepositoryNameBlobsByDigest.ts | 12 +- ...lugByRepositoryNameManifestsByReference.ts | 12 +- src/funcs/vcrListRepositoryImages.ts | 12 +- src/funcs/vcrListRepositoryPermissions.ts | 10 +- src/funcs/vcrListRepositoryTags.ts | 12 +- src/funcs/vcrRemoveRepositoryPermission.ts | 10 +- ...tSlugByRepositoryNameBlobsUploadsByUuid.ts | 12 +- ...lugByRepositoryNameManifestsByReference.ts | 12 +- ...tSlugByRepositoryNameBlobsUploadsByUuid.ts | 12 +- ...ateVercelCiTaskConfigurationPullRequest.ts | 12 +- src/funcs/vercelCiGetVercelCiInvocation.ts | 12 +- .../vercelCiGetVercelCiInvocationLogs.ts | 12 +- .../vercelCiGetVercelCiInvocationTree.ts | 10 +- src/funcs/vercelCiGetVercelCiJobDefinition.ts | 12 +- src/funcs/vercelCiGetVercelCiJobRun.ts | 12 +- src/funcs/vercelCiGetVercelCiJobRunLogs.ts | 12 +- src/funcs/vercelCiGetVercelCiTaskAnalysis.ts | 10 +- src/funcs/vercelCiGetVercelCiTaskLogs.ts | 12 +- src/funcs/vercelCiGetVercelCiTaskRunLogs.ts | 12 +- .../vercelCiListVercelCiInvocationAttempts.ts | 10 +- .../vercelCiListVercelCiJobDefinitions.ts | 12 +- src/funcs/vercelCiListVercelCiJobRuns.ts | 12 +- .../vercelCiListVercelCiTaskAnalysisTasks.ts | 10 +- .../vercelCiListVercelCiTaskDefinitions.ts | 12 +- src/funcs/vercelCiListVercelCiTaskRuns.ts | 12 +- src/funcs/vercelCiRetryVercelCiInvocation.ts | 12 +- src/funcs/webhooksDeleteWebhook.ts | 9 +- src/funcs/webhooksGetWebhook.ts | 9 +- src/lib/config.ts | 6 +- src/lib/encodings.ts | 10 +- src/lib/primitives.ts | 29 + src/lib/schemas.ts | 82 + src/lib/sdks.ts | 14 + src/lib/url.ts | 116 +- src/models/acceptprojecttransferrequestop.ts | 136 +- src/models/aclaction.ts | 5 +- src/models/activatekmssigningkeyop.ts | 108 +- src/models/addbypassipop.ts | 222 +- src/models/additionalcontactinforequired.ts | 37 +- src/models/addprojectdomainop.ts | 94 +- src/models/addprojectmemberop.ts | 106 +- src/models/addrepositorypermissionop.ts | 46 +- src/models/addrouteop.ts | 725 +- src/models/aggregateeventsop.ts | 197 +- src/models/aggregatepageviewsop.ts | 193 +- src/models/aigatewaybudget.ts | 56 +- src/models/aigatewaybudgetdefault.ts | 52 +- src/models/aigatewaybudgetdefaultlist.ts | 10 +- src/models/aigatewaybudgetlist.ts | 45 +- .../aigatewayevaluationfallbackcondition.ts | 84 +- src/models/aigatewayrouterlist.ts | 10 +- src/models/aigatewayrule.ts | 59 +- src/models/aigatewayrulelist.ts | 12 +- src/models/aigatewayrulelistitem.ts | 60 +- src/models/aigatewayvirtualmodelconfig.ts | 225 +- src/models/aigatewayvirtualmodelconfiglist.ts | 12 +- src/models/apikey.ts | 42 +- src/models/apikeyquota.ts | 30 +- src/models/approverollingreleasestageop.ts | 255 +- src/models/archiveaigatewaybudgetdefaultop.ts | 22 +- src/models/archiveaigatewaybudgetop.ts | 32 +- src/models/artifactexistsop.ts | 13 +- src/models/artifactqueryop.ts | 72 +- src/models/assignaliasop.ts | 48 +- src/models/authtoken.ts | 126 +- src/models/authuser.ts | 430 +- src/models/authuserlimited.ts | 26 +- src/models/badrequest.ts | 35 +- src/models/batchremoveprojectenvop.ts | 44 +- src/models/boughttoorecently.ts | 35 +- src/models/buycreditsop.ts | 1508 ++- src/models/buydomainsop.ts | 156 +- src/models/buysingledomainop.ts | 144 +- ...applicationjsonresponsebodyservicestype.ts | 2058 +-- src/models/canceldeploymentprojectsettings.ts | 1796 +-- src/models/canceldeploymentresponsebody.ts | 1846 +-- src/models/claimdomainownershipop.ts | 86 +- src/models/clearrepositorypermissionsop.ts | 15 +- src/models/completerollingreleaseop.ts | 241 +- src/models/connectconnector.ts | 274 +- src/models/connectconnectorlist.ts | 12 +- .../connectconnectorprojectconnectionlist.ts | 12 +- src/models/connectconnectorupdatedata.ts | 730 +- src/models/connectconnectorupdateresult.ts | 18 +- src/models/connecterror.ts | 45 +- .../connectintegrationresourcetoprojectop.ts | 51 +- src/models/connectpagination.ts | 10 +- src/models/connectprojectconnection.ts | 54 +- .../connectprojectconnectorconnectionlist.ts | 12 +- src/models/connectreconsent.ts | 15 +- ...onnectreplacetriggerdestinationsrequest.ts | 9 +- src/models/connectservicesync.ts | 14 +- src/models/connectservicesyncerror.ts | 14 +- src/models/connecttriggerconfiguration.ts | 10 +- src/models/connecttriggerdestination.ts | 16 +- src/models/connecttriggerdestinationinput.ts | 47 +- src/models/connectupdateconnectorrequest.ts | 41 +- .../connectupsertprojectconnectionrequest.ts | 17 +- src/models/contactpendingverification.ts | 14 +- src/models/contactverified.ts | 10 +- src/models/counteventsop.ts | 129 +- src/models/countpageviewsop.ts | 125 +- src/models/createaccessgroupop.ts | 78 +- src/models/createaccessgroupprojectop.ts | 64 +- src/models/createaigatewaybyokcredentialop.ts | 82 +- src/models/createaigatewayruleop.ts | 59 +- .../createaigatewayvirtualmodelconfigop.ts | 244 +- src/models/createapikeysop.ts | 202 +- src/models/createauthtokenop.ts | 44 +- ...ojectslugbyrepositorynameblobsuploadsop.ts | 60 +- src/models/createcheckop.ts | 204 +- src/models/createconditionalbypassop.ts | 230 +- src/models/createconfigurablelogdrainop.ts | 67 +- src/models/createcustomenvironmentop.ts | 161 +- src/models/createdeploymentcheckrunop.ts | 504 +- src/models/createdeploymentgitsource1.ts | 1817 +-- src/models/createdeploymentresponsebody.ts | 46 +- .../createdeploymentresponsebodytarget.ts | 2582 ++-- ...0applicationjsonresponsebody2serviceseq.ts | 2089 +-- src/models/createdrainop.ts | 1535 ++- src/models/createedgeconfigop.ts | 56 +- src/models/createedgeconfigtokenop.ts | 49 +- src/models/createeventop.ts | 65 +- src/models/createflagop.ts | 1100 +- src/models/createflagsegmentop.ts | 607 +- src/models/createflagsprojectconnectionop.ts | 54 +- ...urcesbyresourceidexperimentationitemsop.ts | 71 +- ...oredirecthiddenintegrationsresponse2003.ts | 2003 +-- ...reateintegrationstoredirectresponsebody.ts | 382 +- src/models/createkmsissuerop.ts | 282 +- src/models/createkmsissuerpolicyop.ts | 106 +- src/models/createkmssigningkeyop.ts | 114 +- src/models/createlogdrainop.ts | 167 +- ...temicrofrontendsgroupwithapplicationsop.ts | 90 +- src/models/createnetworkop.ts | 36 +- src/models/createobservabilityqueryop.ts | 56 +- src/models/createorganizationop.ts | 33 +- src/models/createortransferdomainop.ts | 136 +- src/models/createprivatelinkendpointop.ts | 40 +- src/models/createprojectcheckop.ts | 220 +- src/models/createprojectenvop.ts | 937 +- src/models/createprojecthasprojectsvalue.ts | 1798 +-- ...0applicationjsonresponsebodytargetstype.ts | 2751 ++-- src/models/createprojectresponsebody.ts | 681 +- src/models/createprojecttransferrequestop.ts | 46 +- src/models/createrecordop.ts | 340 +- src/models/createrepositoryop.ts | 42 +- ...andboxessessionsbysessionidsnapshotv2op.ts | 50 +- ...andboxessessionsbysessionidsnapshotv3op.ts | 50 +- src/models/createsdkkeyop.ts | 40 +- ...firewallconfigbyconfigversionactivateop.ts | 1357 +- src/models/createsessiondirectoryop.ts | 40 +- src/models/createsharedenvvariableop.ts | 356 +- src/models/createspeedinsightstoggleop.ts | 39 +- src/models/createstoragestoresblobop.ts | 200 +- src/models/createteamop.ts | 54 +- src/models/createtracesessionop.ts | 42 +- src/models/createvercelcitaskanalysisop.ts | 214 +- ...evercelcitaskconfigurationpullrequestop.ts | 220 +- src/models/createwebhookop.ts | 70 +- src/models/createwebinsightstoggleop.ts | 38 +- src/models/credentialtypescreate.ts | 2118 +-- src/models/dangerouslydeletebysrcimagesop.ts | 37 +- src/models/dangerouslydeletebytagsop.ts | 45 +- src/models/deleteaccessgroupop.ts | 13 +- src/models/deleteaccessgroupprojectop.ts | 15 +- src/models/deleteaigatewaybyokcredentialop.ts | 17 +- src/models/deleteaigatewayruleop.ts | 13 +- ...leteaigatewayvirtualmodelconfigbyslugop.ts | 21 +- .../deleteaigatewayvirtualmodelconfigop.ts | 21 +- src/models/deletealiasop.ts | 24 +- src/models/deleteallartifactsop.ts | 20 +- src/models/deleteauthtokenop.ts | 26 +- ...jectslugbyrepositorynameblobsbydigestop.ts | 47 +- ...lugbyrepositorynameblobsuploadsbyuuidop.ts | 47 +- ...gbyrepositorynamemanifestsbyreferenceop.ts | 47 +- src/models/deleteconditionalbypassop.ts | 19 +- src/models/deleteconfigurablelogdrainop.ts | 13 +- src/models/deleteconfigurationop.ts | 13 +- src/models/deleteconnectorop.ts | 13 +- .../deleteconnectorprojectconnectionop.ts | 15 +- src/models/deletedeploymentop.ts | 28 +- src/models/deletedomainop.ts | 22 +- src/models/deletedrainop.ts | 13 +- src/models/deletedriveop.ts | 32 +- src/models/deletedrivev1op.ts | 32 +- src/models/deleteedgeconfigop.ts | 13 +- src/models/deleteedgeconfigschemaop.ts | 13 +- src/models/deleteedgeconfigtokensop.ts | 66 +- src/models/deleteflagop.ts | 19 +- src/models/deleteflagsegmentop.ts | 17 +- src/models/deleteflagsprojectconnectionop.ts | 15 +- ...esourceidexperimentationitemsbyitemidop.ts | 13 +- src/models/deleteintegrationlogdrainop.ts | 13 +- src/models/deleteintegrationresourceop.ts | 11 +- src/models/deletekmsissuerop.ts | 13 +- src/models/deletekmsissuerpolicyop.ts | 21 +- src/models/deletemicrofrontendsgroupop.ts | 16 +- src/models/deletenetworkop.ts | 13 +- src/models/deleteorganizationdsyncgroupop.ts | 32 +- src/models/deleteprivatelinkendpointop.ts | 15 +- .../deleteprojectavatarchecksconclusion.ts | 1811 +-- src/models/deleteprojectavatarresponsebody.ts | 420 +- ...teprojectavatartoprojectsresponsepreset.ts | 2854 +++-- src/models/deleteprojectcheckop.ts | 24 +- src/models/deleteprojectop.ts | 13 +- src/models/deleteredirectsop.ts | 158 +- src/models/deleterepositoryimageop.ts | 17 +- src/models/deleterepositoryop.ts | 15 +- src/models/deleterollingreleaseconfigop.ts | 22 +- src/models/deleteroutesop.ts | 65 +- src/models/deletesandboxop.ts | 34 +- src/models/deletesdkkeyop.ts | 15 +- ...securityfirewallconfigbyconfigversionop.ts | 13 +- src/models/deletesessionsnapshotop.ts | 34 +- src/models/deletesharedenvvariableop.ts | 130 +- src/models/deletestoragestoresblobbyidop.ts | 18 +- src/models/deleteteaminvitecodeop.ts | 20 +- src/models/deleteteamop.ts | 52 +- src/models/deletewebhookop.ts | 13 +- src/models/deploymentcheckupdatedpayload.ts | 38 +- ...disconnectconnectorprojectenvironmentop.ts | 17 +- src/models/dnssecenabled.ts | 35 +- src/models/domainalreadyowned.ts | 35 +- src/models/domainalreadyrenewing.ts | 35 +- .../domaincannotbetransferedoutuntil.ts | 40 +- src/models/domainnotavailable.ts | 35 +- src/models/domainnotfound.ts | 35 +- src/models/domainnotregistered.ts | 35 +- src/models/domainnotrenewable.ts | 35 +- src/models/domaintooshort.ts | 35 +- src/models/downloadartifactop.ts | 27 +- src/models/drive.ts | 36 +- src/models/duplicatedomains.ts | 35 +- src/models/editprojectenvop.ts | 364 +- src/models/editredirectop.ts | 91 +- src/models/editrouteop.ts | 721 +- ...reventpayloadresources.ts => eightytwo.ts} | 2937 +++-- src/models/ejectmanagedconnectorop.ts | 11 +- src/models/emojitldnotsupported.ts | 35 +- src/models/exchangessotokenop.ts | 146 +- src/models/expectedpricemismatch.ts | 35 +- src/models/extendsessiontimeoutop.ts | 42 +- src/models/filetree.ts | 22 +- src/models/filterprojectenvsop.ts | 1030 +- src/models/finalizeinstallationop.ts | 9 +- src/models/flag.ts | 611 +- src/models/flagjsonvalue.ts | 18 +- src/models/flagssdkkeywithsecrets.ts | 34 +- src/models/forbidden.ts | 33 +- src/models/forkdriveop.ts | 52 +- src/models/forkdrivev1op.ts | 52 +- ...ndthirtyfive.ts => fourhundredandforty.ts} | 2734 ++-- src/models/generatefirewallruleop.ts | 139 +- src/models/generaterouteop.ts | 219 +- src/models/getaccountinfoop.ts | 32 +- src/models/getactiveattackstatusop.ts | 112 +- src/models/getaigatewaybyokcredentialop.ts | 42 +- .../getaigatewayvirtualmodelconfigbyslugop.ts | 15 +- .../getaigatewayvirtualmodelconfigop.ts | 30 +- src/models/getaliasop.ts | 238 +- src/models/getallchecksop.ts | 180 +- src/models/getalllogdrainsop.ts | 1351 +- src/models/getauthtokenop.ts | 18 +- src/models/getauthuserop.ts | 14 +- src/models/getbillingplansop.ts | 120 +- src/models/getbulkavailabilityop.ts | 46 +- src/models/getbulkpriceop.ts | 80 +- src/models/getbypassipop.ts | 136 +- ...jectslugbyrepositorynameblobsbydigestop.ts | 47 +- ...lugbyrepositorynameblobsuploadsbyuuidop.ts | 47 +- ...gbyrepositorynamemanifestsbyreferenceop.ts | 54 +- ...byprojectslugbyrepositorynametagslistop.ts | 56 +- src/models/getcertbyidop.ts | 30 +- src/models/getcertsop.ts | 40 +- src/models/getcheckop.ts | 178 +- src/models/getconditionalbypassop.ts | 175 +- src/models/getconfigurablelogdrainop.ts | 58 +- src/models/getconfigurationop.ts | 224 +- .../getconfigurationproductsresponsebody.ts | 1748 +-- src/models/getconfigurationsop.ts | 231 +- src/models/getconnectorop.ts | 13 +- src/models/getconnectorprojectconnectionop.ts | 15 +- src/models/getcontactinfoschemaop.ts | 18 +- src/models/getcustomenvironmentop.ts | 110 +- src/models/getdeploymentcheckrunop.ts | 509 +- src/models/getdeploymenteventsop.ts | 928 +- src/models/getdeploymentfeatureflagsop.ts | 46 +- src/models/getdeploymentfilecontentsop.ts | 17 +- ...se200applicationjsonresponsebody219type.ts | 2066 +-- src/models/getdeploymentresponsebody.ts | 1007 +- ...eploymentservicesdeploymentshttpheaders.ts | 2451 ++-- src/models/getdeploymentserviceshttpget.ts | 1915 +-- src/models/getdeploymentsop.ts | 540 +- src/models/getdomainauthcodeop.ts | 44 +- src/models/getdomainavailabilityop.ts | 20 +- src/models/getdomainconfigop.ts | 62 +- src/models/getdomaincontactverificationop.ts | 48 +- src/models/getdomainop.ts | 84 +- src/models/getdomainpriceop.ts | 54 +- src/models/getdomainprojectdomainsop.ts | 76 +- src/models/getdomainsop.ts | 88 +- src/models/getdomainsrecordsbyrecordidop.ts | 48 +- src/models/getdomaintransferinop.ts | 36 +- src/models/getdomainverificationrecordop.ts | 26 +- src/models/getdrainop.ts | 503 +- src/models/getdrainsop.ts | 1155 +- src/models/getdriveop.ts | 32 +- src/models/getdrivev1op.ts | 32 +- src/models/getedgeconfigbackupop.ts | 186 +- src/models/getedgeconfigbackupsop.ts | 70 +- src/models/getedgeconfigitemop.ts | 18 +- src/models/getedgeconfigitemsop.ts | 16 +- src/models/getedgeconfigop.ts | 38 +- src/models/getedgeconfigschemaop.ts | 16 +- src/models/getedgeconfigsop.ts | 36 +- src/models/getedgeconfigtokenop.ts | 15 +- src/models/getedgeconfigtokensop.ts | 13 +- src/models/getfirewallconfigop.ts | 1172 +- src/models/getflagop.ts | 19 +- src/models/getflagsegmentop.ts | 17 +- src/models/getflagsettingsop.ts | 96 +- src/models/getflagsprojectconnectionsop.ts | 60 +- ...resourceidexperimentationglobalconfigop.ts | 36 +- src/models/getintegrationlogdrainsop.ts | 127 +- src/models/getintegrationresourceop.ts | 218 +- src/models/getintegrationresourcesop.ts | 170 +- src/models/getinvoiceop.ts | 122 +- src/models/getkmsissuerop.ts | 190 +- src/models/getmemberop.ts | 28 +- .../getmicrofrontendsconfigforprojectop.ts | 172 +- src/models/getmicrofrontendsconfigop.ts | 154 +- src/models/getmicrofrontendsgroupsop.ts | 14 +- ...etmicrofrontendsingroupchecksconclusion.ts | 1881 +-- .../getmicrofrontendsingroupresponsebody.ts | 459 +- ...dsingrouptomicrofrontendsresponsepreset.ts | 2904 +++-- src/models/getnamedsandboxop.ts | 40 +- ...getobservabilityconfigurationprojectsop.ts | 32 +- .../getobservabilityschemabymetricidop.ts | 40 +- src/models/getobservabilityschemaop.ts | 20 +- src/models/getorcreatedriveop.ts | 76 +- src/models/getorcreatedrivev1op.ts | 78 +- src/models/getorderop.ts | 945 +- src/models/getorganizationdsyncgroupop.ts | 15 +- src/models/getorganizationop.ts | 13 +- src/models/getprojectboxesop.ts | 288 +- src/models/getprojectcheckop.ts | 120 +- src/models/getprojectdomainop.ts | 62 +- src/models/getprojectdomainsop.ts | 199 +- src/models/getprojectenvop.ts | 962 +- src/models/getprojectmembersop.ts | 92 +- src/models/getprojectprojectsbranchmatcher.ts | 1767 +-- src/models/getprojectresponsebody.ts | 395 +- ...tprojectsbyidornamecustomenvironmentsop.ts | 137 +- src/models/getprojectscontenthint1.ts | 2338 ++-- .../getprojectsfromprojectsresponse2.ts | 2934 +++-- src/models/getprojectsresponsebody.ts | 495 +- ...projectsresponsebodyelasticbuildmachine.ts | 2408 ++-- .../getprojectsresponsebodyprojectsplan.ts | 2222 ++-- src/models/getprojecttokenop.ts | 42 +- .../getprojecttoprojectsresponse200preset.ts | 2725 ++-- src/models/getprojecttraceop.ts | 124 +- src/models/getrecordsop.ts | 124 +- src/models/getredirectsop.ts | 232 +- src/models/getrepositoryimageop.ts | 26 +- src/models/getrepositoryop.ts | 24 +- src/models/getrepositorytagop.ts | 26 +- .../getrollingreleasebillingstatusop.ts | 80 +- src/models/getrollingreleaseconfigop.ts | 56 +- src/models/getrollingreleaseop.ts | 206 +- src/models/getrootop.ts | 4 +- src/models/getroutesop.ts | 1978 +-- src/models/getrouteversionsop.ts | 44 +- src/models/getruntimelogsop.ts | 46 +- src/models/getsdkkeysop.ts | 50 +- .../getsecurityfirewallconfigresponsebody.ts | 126 +- ...configrulesetssecurityresponse200action.ts | 1891 +-- ...ationjsonresponsebodydraft2actionaction.ts | 1884 +-- src/models/getsecurityfirewalleventsop.ts | 114 +- .../getsecurityfirewalleventssummaryop.ts | 64 +- src/models/getsessioncommandop.ts | 31 +- src/models/getsessionop.ts | 24 +- src/models/getsessionsnapshotop.ts | 34 +- src/models/getsharedenvvarop.ts | 108 +- src/models/getstoragestoresbyidop.ts | 151 +- src/models/getsupportedtldsop.ts | 9 +- src/models/getteamaccessrequestop.ts | 109 +- src/models/getteammembersop.ts | 235 +- src/models/getteamop.ts | 11 +- src/models/getteamsop.ts | 48 +- src/models/gettldop.ts | 27 +- src/models/gettldpriceop.ts | 47 +- src/models/getvercelciinvocationlogsop.ts | 206 +- src/models/getvercelciinvocationop.ts | 416 +- src/models/getvercelciinvocationtreeop.ts | 787 +- src/models/getvercelcijobdefinitionop.ts | 214 +- src/models/getvercelcijobrunlogsop.ts | 219 +- src/models/getvercelcijobrunop.ts | 284 +- src/models/getvercelcirepositorysettingsop.ts | 212 +- src/models/getvercelcitaskanalysisop.ts | 194 +- src/models/getvercelcitasklogsop.ts | 301 +- src/models/getvercelcitaskrunlogsop.ts | 223 +- src/models/getversionsop.ts | 46 +- src/models/getwebhookop.ts | 41 +- src/models/getwebhooksop.ts | 111 +- src/models/gitnamespacesop.ts | 60 +- src/models/globalconfigitem.ts | 20 +- src/models/globalconfigitemvalue.ts | 18 +- src/models/globalconfigtoken.ts | 20 +- ...jectslugbyrepositorynameblobsbydigestop.ts | 47 +- ...gbyrepositorynamemanifestsbyreferenceop.ts | 54 +- ...resourceidexperimentationglobalconfigop.ts | 30 +- src/models/httpapidecodeerror.ts | 31 +- src/models/importresourceop.ts | 242 +- src/models/internalservererror.ts | 35 +- src/models/invalidadditionalcontactinfo.ts | 37 +- src/models/invalidatebysrcimagesop.ts | 33 +- src/models/invalidatebytagsop.ts | 41 +- src/models/invitedteammember.ts | 31 +- src/models/inviteusertoteamop.ts | 52 +- src/models/issue.ts | 14 +- src/models/issuecertop.ts | 46 +- src/models/jointeamop.ts | 42 +- src/models/killsessioncommandop.ts | 44 +- src/models/languagecoderequired.ts | 35 +- src/models/listaccessgroupmembersop.ts | 64 +- src/models/listaccessgroupprojectsop.ts | 74 +- src/models/listaccessgroupsop.ts | 88 +- src/models/listaigatewaybudgetdefaultsop.ts | 11 +- src/models/listaigatewaybudgetsop.ts | 24 +- src/models/listaigatewaybyokcredentialsop.ts | 80 +- src/models/listaigatewayroutersop.ts | 13 +- src/models/listaigatewayrulesop.ts | 19 +- .../listaigatewayvirtualmodelconfigsop.ts | 21 +- src/models/listaliasesop.ts | 274 +- src/models/listauthtokensop.ts | 130 +- src/models/listcheckrunsop.ts | 476 +- .../listconnectorprojectconnectionsop.ts | 17 +- src/models/listconnectorsop.ts | 27 +- src/models/listdeploymentaliasesop.ts | 118 +- src/models/listdeploymentcheckrunsop.ts | 515 +- src/models/listdeploymentfilesop.ts | 13 +- src/models/listdrivesop.ts | 50 +- src/models/listdrivesv1op.ts | 48 +- src/models/listeventtype.ts | 47 +- src/models/listeventtypesop.ts | 11 +- src/models/listeventtypesresponse.ts | 28 +- src/models/listflaglabelcountsop.ts | 50 +- src/models/listflaglabelsop.ts | 56 +- src/models/listflagsegmentsop.ts | 24 +- src/models/listflagsop.ts | 46 +- src/models/listflagsv2op.ts | 70 +- src/models/listflagversionsop.ts | 636 +- src/models/listkmsissuersop.ts | 224 +- src/models/listnamedsandboxesop.ts | 73 +- src/models/listnetworksop.ts | 19 +- src/models/listorganizationdsyncgroupsop.ts | 28 +- src/models/listorganizationsop.ts | 10 +- src/models/listorganizationteamsop.ts | 24 +- src/models/listprivatelinkendpointsop.ts | 13 +- src/models/listprojectchecksop.ts | 136 +- .../listprojectconnectorconnectionsop.ts | 17 +- src/models/listpromotealiasesop.ts | 63 +- src/models/listrepositoriesop.ts | 17 +- src/models/listrepositoryimagesop.ts | 21 +- src/models/listrepositorypermissionsop.ts | 19 +- src/models/listrepositorytagsop.ts | 85 +- src/models/listsessioncommandsop.ts | 22 +- src/models/listsessionsnapshotsop.ts | 76 +- src/models/listsessionsop.ts | 66 +- src/models/listsharedenvvariableop.ts | 150 +- src/models/listteamflagsettingsop.ts | 136 +- src/models/listteamflagsop.ts | 52 +- src/models/listteamflagsv2op.ts | 74 +- src/models/listusereventsop.ts | 38 +- src/models/listvercelcibranchesop.ts | 198 +- .../listvercelciinvocationattemptsop.ts | 435 +- src/models/listvercelciinvocationsop.ts | 459 +- src/models/listvercelcijobdefinitionsop.ts | 212 +- src/models/listvercelcijobrunsop.ts | 278 +- src/models/listvercelcitaskanalysistasksop.ts | 219 +- src/models/listvercelcitaskdefinitionsop.ts | 258 +- src/models/listvercelcitaskrunsop.ts | 324 +- src/models/lookupflaglabelsop.ts | 82 +- src/models/marketplaceflag.ts | 44 +- src/models/moveprojectdomainop.ts | 99 +- src/models/namedsandbox.ts | 129 +- src/models/network.ts | 96 +- src/models/notauthorizedforscope.ts | 35 +- src/models/notfound.ts | 35 +- src/models/ordertooexpensive.ts | 35 +- src/models/organization.ts | 26 +- src/models/organizationdirectorysyncgroup.ts | 62 +- src/models/organizationteamlistitem.ts | 42 +- src/models/pagination.ts | 14 +- src/models/patchdomainop.ts | 114 +- src/models/patchedgeconfigitemsop.ts | 155 +- src/models/patchedgeconfigschemaop.ts | 36 +- src/models/patchteamop.ts | 571 +- src/models/patchurlprotectionbypassop.ts | 152 +- src/models/pauseprojectop.ts | 13 +- src/models/payloadoutcome.ts | 3144 ++--- ...dssoprotection2.ts => payloadstaticips.ts} | 3318 ++--- src/models/postteamdsyncrolesop.ts | 64 +- src/models/privatelinkendpoint.ts | 36 +- src/models/properties7.ts | 2050 +-- src/models/propertykey.ts | 35 +- src/models/putfirewallconfigop.ts | 1791 +-- src/models/putorganizationdsyncgroupop.ts | 103 +- src/models/putorganizationteamdsyncop.ts | 59 +- src/models/putprojectdaemoninstancesop.ts | 49 +- src/models/readaccessgroupop.ts | 58 +- src/models/readaccessgroupprojectop.ts | 36 +- src/models/readnetworkop.ts | 13 +- src/models/readprivatelinkendpointop.ts | 15 +- src/models/readsessionfileop.ts | 35 +- src/models/recordeventsop.ts | 52 +- src/models/removebypassipop.ts | 80 +- src/models/removecertop.ts | 16 +- src/models/removecustomenvironmentop.ts | 135 +- src/models/removeorganizationteamop.ts | 22 +- src/models/removeprojectdomainop.ts | 38 +- src/models/removeprojectenvop.ts | 1027 +- src/models/removeprojectmemberop.ts | 24 +- src/models/removerecordop.ts | 18 +- src/models/removerepositorypermissionop.ts | 39 +- src/models/removeteammemberop.ts | 22 +- src/models/renewdomainop.ts | 131 +- ...lugbyrepositorynameblobsuploadsbyuuidop.ts | 53 +- ...gbyrepositorynamemanifestsbyreferenceop.ts | 54 +- .../replaceconnectortriggerdestinationsop.ts | 25 +- src/models/replacedomainsbydomainrecordsop.ts | 22 +- ...resourceidexperimentationglobalconfigop.ts | 58 +- src/models/requestaccesstoteamop.ts | 145 +- src/models/requestdeleteop.ts | 34 +- src/models/requestpromoteop.ts | 15 +- src/models/requestrollbackop.ts | 17 +- src/models/rerequestcheckop.ts | 20 +- src/models/responsebodylastrollbacktarget.ts | 1879 +-- src/models/restartprojectdaemoninstanceop.ts | 36 +- src/models/restoreedgeconfigbackupop.ts | 37 +- src/models/restoreredirectsop.ts | 72 +- src/models/retryvercelciinvocationop.ts | 190 +- src/models/revokeinstallationcredentialop.ts | 64 +- src/models/revokekmssigningkeyop.ts | 198 +- src/models/rotateinstallationcredentialop.ts | 74 +- src/models/sandboxforwardrule.ts | 14 +- src/models/sandboxinjectionrule.ts | 14 +- src/models/sandboxnetworkpolicy.ts | 27 +- src/models/sandboxpublicroute.ts | 16 +- src/models/sandboxresponserule.ts | 14 +- src/models/searchdomainsop.ts | 78 +- src/models/searchrepoop.ts | 214 +- src/models/searchvercelcilogsop.ts | 326 +- src/models/security.ts | 9 +- src/models/segment.ts | 308 +- src/models/session.ts | 102 +- src/models/sessioncommand.ts | 24 +- src/models/signflagoverridesop.ts | 152 + src/models/signkmsmessageop.ts | 44 +- src/models/signkmstokenop.ts | 51 +- src/models/snapshot.ts | 44 +- src/models/stageredirectsop.ts | 96 +- src/models/stageroutesop.ts | 166 +- src/models/startrollingreleaseop.ts | 230 +- src/models/statusop.ts | 54 +- src/models/stopsessionop.ts | 44 +- src/models/submitbillingdataop.ts | 165 +- src/models/submitinvoiceop.ts | 126 +- src/models/submitprepaymentbalancesop.ts | 46 +- src/models/team.ts | 896 +- src/models/teamlimited.ts | 195 +- src/models/testdrainop.ts | 192 +- ...17type.ts => threehundredandtwentyfour.ts} | 3038 +++-- src/models/tldnotsupported.ts | 35 +- src/models/toomanydomains.ts | 35 +- src/models/toomanyrequests.ts | 64 +- src/models/transferindomainop.ts | 138 +- ...ddsyncmode.ts => twohundredandsixtytwo.ts} | 3185 ++--- src/models/unauthorized.ts | 40 +- src/models/unlinksharedenvvariableop.ts | 24 +- src/models/unpauseprojectop.ts | 13 +- src/models/updateaccessgroupop.ts | 82 +- src/models/updateaccessgroupprojectop.ts | 64 +- src/models/updateaigatewaybyokcredentialop.ts | 70 +- src/models/updateaigatewayruleop.ts | 47 +- ...dateaigatewayvirtualmodelconfigbyslugop.ts | 291 +- .../updateaigatewayvirtualmodelconfigop.ts | 274 +- src/models/updateapikeyquotaop.ts | 218 +- src/models/updateattackchallengemodeop.ts | 70 +- ...lugbyrepositorynameblobsuploadsbyuuidop.ts | 47 +- src/models/updatecheckop.ts | 352 +- src/models/updateconditionalbypassop.ts | 245 +- src/models/updateconnectorop.ts | 25 +- src/models/updatecustomenvironmentop.ts | 161 +- src/models/updatedeploymentcheckrunop.ts | 566 +- src/models/updatedomainautorenewop.ts | 58 +- src/models/updatedomainnameserversop.ts | 56 +- src/models/updatedrainop.ts | 1626 ++- src/models/updateedgeconfigop.ts | 56 +- src/models/updatefirewallconfigop.ts | 1332 +- src/models/updateflagop.ts | 1110 +- src/models/updateflagsegmentop.ts | 334 +- src/models/updateflagsettingsop.ts | 267 +- src/models/updateinstallationop.ts | 134 +- ...esourceidexperimentationitemsbyitemidop.ts | 59 +- .../updateintegrationdeploymentactionop.ts | 139 +- src/models/updateinvoiceop.ts | 39 +- src/models/updatekmsissuerop.ts | 214 +- src/models/updatekmsissuerpolicyop.ts | 106 +- src/models/updatemicrofrontendsbuilds.ts | 1866 +-- src/models/updatemicrofrontendsgroupop.ts | 67 +- .../updatemicrofrontendsresponsebody.ts | 430 +- src/models/updatemicrofrontendstoprojects2.ts | 2869 +++-- src/models/updatenetworkop.ts | 32 +- ...dateobservabilityconfigurationprojectop.ts | 46 +- src/models/updateorganizationop.ts | 33 +- src/models/updateprivatelinkendpointop.ts | 38 +- src/models/updateprojectcheckop.ts | 162 +- src/models/updateprojectdomainop.ts | 87 +- src/models/updateprojectenvironments.ts | 1812 +-- src/models/updateprojectprincipalvia.ts | 2714 ++-- src/models/updateprojectprotectionbypassop.ts | 130 +- src/models/updateprojectresponsebody.ts | 1425 ++- ...llbackbydeploymentidupdatedescriptionop.ts | 33 +- src/models/updaterecordop.ts | 106 +- src/models/updateresourceop.ts | 313 +- src/models/updateresourcesecretsbyidop.ts | 68 +- src/models/updateresourcesecretsop.ts | 63 +- src/models/updaterollingreleaseconfigop.ts | 70 +- src/models/updaterouteversionsop.ts | 68 +- src/models/updatesessionnetworkpolicyop.ts | 376 +- src/models/updatesharedenvvariableop.ts | 277 +- src/models/updatestaticipsop.ts | 98 +- src/models/updateteammemberop.ts | 76 +- .../updatevercelcirepositorysettingsop.ts | 232 +- src/models/updateversionop.ts | 71 +- src/models/uploadartifactop.ts | 70 +- src/models/uploadcertop.ts | 52 +- src/models/uploadfileop.ts | 68 +- .../uploadprojectavatarchecksconclusion.ts | 1831 +-- src/models/uploadprojectavatarresponsebody.ts | 420 +- ...adprojectavatartoprojectsresponsepreset.ts | 2854 +++-- src/models/upsertaigatewaybudgetdefaultop.ts | 79 +- src/models/upsertaigatewaybudgetop.ts | 85 +- .../upsertconnectorprojectconnectionop.ts | 27 +- src/models/userevent.ts | 6170 ++++----- ...s => usereventjobpayload137gitcomments.ts} | 3367 ++--- ...wenty.ts => usereventpayload25provider.ts} | 2364 ++-- ... usereventpayloadlasteditedbyprincipal.ts} | 2909 +++-- src/models/vcrimagedetail.ts | 36 +- src/models/vcrimagelayer.ts | 192 +- src/models/vcrimagelist.ts | 12 +- src/models/vcrimagelistitem.ts | 34 +- src/models/vcrrepository.ts | 20 +- src/models/vcrrepositorylist.ts | 12 +- src/models/vcrrepositorypermission.ts | 16 +- src/models/vcrrepositorypermissionlist.ts | 12 +- src/models/vcrtag.ts | 38 +- src/models/verifyprojectdomainop.ts | 42 +- src/models/writesessioncommandstdinop.ts | 51 +- src/models/writesessionfilesop.ts | 26 +- src/node.ts | 9 + src/sdk/accessgroups.lazy.ts | 454 + src/sdk/aigateway.lazy.ts | 1004 ++ src/sdk/aigateway.ts | 8 +- src/sdk/aliases.lazy.ts | 238 + src/sdk/artifacts.lazy.ts | 274 + src/sdk/authentication.lazy.ts | 214 + src/sdk/authentication.ts | 7 +- src/sdk/billing.lazy.ts | 47 + src/sdk/billing.ts | 2 +- src/sdk/bulkredirects.lazy.ts | 294 + src/sdk/certs.lazy.ts | 201 + src/sdk/checks.lazy.ts | 208 + src/sdk/checksv2.lazy.ts | 415 + src/sdk/connect.lazy.ts | 470 + src/sdk/daemons.lazy.ts | 130 + src/sdk/deployments.lazy.ts | 410 + src/sdk/dns.lazy.ts | 165 + src/sdk/domains.lazy.ts | 365 + src/sdk/domainsregistrar.lazy.ts | 773 ++ src/sdk/drains.lazy.ts | 234 + src/sdk/drives.lazy.ts | 201 + src/sdk/edgecache.lazy.ts | 161 + src/sdk/environment.lazy.ts | 463 + src/sdk/featureflags.lazy.ts | 1121 ++ src/sdk/featureflags.ts | 22 + src/sdk/globalconfig.lazy.ts | 728 ++ src/sdk/integrations.lazy.ts | 411 + src/sdk/kms.lazy.ts | 505 + src/sdk/logdrains.lazy.ts | 286 + src/sdk/logs.lazy.ts | 47 + src/sdk/marketplace.lazy.ts | 1094 ++ src/sdk/microfrontends.lazy.ts | 221 + src/sdk/networking.lazy.ts | 422 + src/sdk/observability.lazy.ts | 97 + src/sdk/organizations.lazy.ts | 443 + src/sdk/projectmembers.lazy.ts | 132 + src/sdk/projectroutes.lazy.ts | 326 + src/sdk/projects.lazy.ts | 1304 ++ src/sdk/rollingrelease.lazy.ts | 345 + src/sdk/sandboxes.lazy.ts | 1025 ++ src/sdk/sdk.lazy.ts | 546 + src/sdk/security.lazy.ts | 747 ++ src/sdk/staticips.lazy.ts | 50 + src/sdk/storage.lazy.ts | 123 + src/sdk/teams.lazy.ts | 625 + src/sdk/user.lazy.ts | 155 + src/sdk/vcr.lazy.ts | 1145 ++ src/sdk/vercelci.lazy.ts | 957 ++ src/sdk/webanalytics.lazy.ts | 171 + src/sdk/webhooks.lazy.ts | 160 + vercel-spec.json | 767 +- 2515 files changed, 145119 insertions(+), 99506 deletions(-) create mode 100644 docs/models/appliesto.md create mode 100644 docs/models/authtokenkind.md create mode 100644 docs/models/fivehundredandfifty.md create mode 100644 docs/models/fivehundredandfiftyone.md create mode 100644 docs/models/fivehundredandfiftythree.md create mode 100644 docs/models/fivehundredandfiftytwo.md create mode 100644 docs/models/fivehundredandfortynine.md create mode 100644 docs/models/listauthtokensqueryparamkind.md create mode 100644 docs/models/listauthtokensqueryparamstatus.md create mode 100644 docs/models/listauthtokensrequest.md delete mode 100644 docs/models/onehundredandthirtyfive.md create mode 100644 docs/models/onehundredandthirtyfour.md rename docs/models/{usereventpayload303previous.md => overrides.md} (50%) create mode 100644 docs/models/payloadappliesto.md create mode 100644 docs/models/signflagoverridesrequest.md create mode 100644 docs/models/signflagoverridesrequestbody.md create mode 100644 docs/models/signflagoverridesresponsebody.md create mode 100644 docs/models/stopreason.md create mode 100644 docs/models/updateprojectprojectsresponse200to.md create mode 100644 docs/models/upsertaigatewaybudgetdefaultappliesto.md delete mode 100644 docs/models/usereventenvidpayload3102.md create mode 100644 docs/models/usereventenvidpayload3132.md delete mode 100644 docs/models/usereventjobpayload13610provider.md delete mode 100644 docs/models/usereventjobpayload1365provider.md delete mode 100644 docs/models/usereventjobpayload1366provider.md delete mode 100644 docs/models/usereventjobpayload1367provider.md delete mode 100644 docs/models/usereventjobpayload1368action.md delete mode 100644 docs/models/usereventjobpayload1368provider.md delete mode 100644 docs/models/usereventjobpayload1369action.md delete mode 100644 docs/models/usereventjobpayload1369provider.md delete mode 100644 docs/models/usereventjobpayload136action.md delete mode 100644 docs/models/usereventjobpayload136provider.md rename docs/models/{usereventjobpayload136gitcomments.md => usereventjobpayload13710gitcomments.md} (64%) rename docs/models/{usereventjobpayload13610headinfo.md => usereventjobpayload13710headinfo.md} (88%) create mode 100644 docs/models/usereventjobpayload13710provider.md create mode 100644 docs/models/usereventjobpayload1375provider.md rename docs/models/{usereventjobpayload1366gitcomments.md => usereventjobpayload1376gitcomments.md} (73%) rename docs/models/{usereventjobpayload1366headinfo.md => usereventjobpayload1376headinfo.md} (84%) create mode 100644 docs/models/usereventjobpayload1376provider.md rename docs/models/{usereventjobpayload13610gitcomments.md => usereventjobpayload1377gitcomments.md} (68%) rename docs/models/{usereventjobpayload1367headinfo.md => usereventjobpayload1377headinfo.md} (90%) create mode 100644 docs/models/usereventjobpayload1377provider.md create mode 100644 docs/models/usereventjobpayload1378action.md rename docs/models/{usereventjobpayload136deployhook.md => usereventjobpayload1378deployhook.md} (74%) rename docs/models/{usereventjobpayload1369gitcomments.md => usereventjobpayload1378gitcomments.md} (73%) rename docs/models/{usereventjobpayload1368headinfo.md => usereventjobpayload1378headinfo.md} (89%) create mode 100644 docs/models/usereventjobpayload1378provider.md create mode 100644 docs/models/usereventjobpayload1379action.md rename docs/models/{usereventjobpayload136commitverification.md => usereventjobpayload1379commitverification.md} (58%) rename docs/models/{usereventjobpayload1368deployhook.md => usereventjobpayload1379deployhook.md} (74%) rename docs/models/{usereventjobpayload1368gitcomments.md => usereventjobpayload1379gitcomments.md} (71%) rename docs/models/{usereventjobpayload1369githashtagvercel.md => usereventjobpayload1379githashtagvercel.md} (79%) rename docs/models/{usereventjobpayload1369headinfo.md => usereventjobpayload1379headinfo.md} (88%) rename docs/models/{usereventjobpayload136nsnbsideeffect.md => usereventjobpayload1379nsnbsideeffect.md} (81%) create mode 100644 docs/models/usereventjobpayload1379provider.md create mode 100644 docs/models/usereventjobpayload137action.md rename docs/models/{usereventjobpayload1369commitverification.md => usereventjobpayload137commitverification.md} (58%) rename docs/models/{usereventjobpayload1369deployhook.md => usereventjobpayload137deployhook.md} (74%) rename docs/models/{usereventjobpayload1367gitcomments.md => usereventjobpayload137gitcomments.md} (65%) rename docs/models/{usereventjobpayload136githashtagvercel.md => usereventjobpayload137githashtagvercel.md} (77%) rename docs/models/{usereventjobpayload136headinfo.md => usereventjobpayload137headinfo.md} (79%) rename docs/models/{usereventjobpayload1369nsnbsideeffect.md => usereventjobpayload137nsnbsideeffect.md} (82%) rename docs/models/{usereventjobpayload136project.md => usereventjobpayload137project.md} (80%) create mode 100644 docs/models/usereventjobpayload137provider.md delete mode 100644 docs/models/usereventpayload100project.md create mode 100644 docs/models/usereventpayload101project.md rename docs/models/{usereventpayload310team.md => usereventpayload114team.md} (74%) delete mode 100644 docs/models/usereventpayload115configuration.md rename docs/models/{usereventpayload182team.md => usereventpayload116project.md} (71%) delete mode 100644 docs/models/usereventpayload116team.md create mode 100644 docs/models/usereventpayload117configuration.md create mode 100644 docs/models/usereventpayload117team.md delete mode 100644 docs/models/usereventpayload124project.md create mode 100644 docs/models/usereventpayload125project.md delete mode 100644 docs/models/usereventpayload129deploymenttype.md create mode 100644 docs/models/usereventpayload131deploymenttype.md rename docs/models/{usereventpayload132project.md => usereventpayload133project.md} (66%) delete mode 100644 docs/models/usereventpayload138reason.md create mode 100644 docs/models/usereventpayload139reason.md rename docs/models/{usereventpayload139deployment.md => usereventpayload140deployment.md} (78%) delete mode 100644 docs/models/usereventpayload141scope.md delete mode 100644 docs/models/usereventpayload142mode.md create mode 100644 docs/models/usereventpayload142scope.md create mode 100644 docs/models/usereventpayload143mode.md delete mode 100644 docs/models/usereventpayload146action.md create mode 100644 docs/models/usereventpayload147action.md rename docs/models/{usereventpayload151newteam.md => usereventpayload152newteam.md} (65%) rename docs/models/{usereventpayload151oldteam.md => usereventpayload152oldteam.md} (65%) delete mode 100644 docs/models/usereventpayload178toaccounttype.md delete mode 100644 docs/models/usereventpayload178type.md create mode 100644 docs/models/usereventpayload179toaccounttype.md create mode 100644 docs/models/usereventpayload179type.md rename docs/models/{usereventpayload113project.md => usereventpayload184team.md} (71%) delete mode 100644 docs/models/usereventpayload189target.md delete mode 100644 docs/models/usereventpayload191oldenvvartarget.md delete mode 100644 docs/models/usereventpayload191oldenvvartype.md delete mode 100644 docs/models/usereventpayload191type.md create mode 100644 docs/models/usereventpayload192oldenvvartarget.md create mode 100644 docs/models/usereventpayload192oldenvvartype.md create mode 100644 docs/models/usereventpayload192target.md create mode 100644 docs/models/usereventpayload192type.md delete mode 100644 docs/models/usereventpayload198action.md create mode 100644 docs/models/usereventpayload200action.md delete mode 100644 docs/models/usereventpayload202action.md create mode 100644 docs/models/usereventpayload203action.md delete mode 100644 docs/models/usereventpayload206provider.md create mode 100644 docs/models/usereventpayload207provider.md delete mode 100644 docs/models/usereventpayload221requestkind.md create mode 100644 docs/models/usereventpayload222requestkind.md delete mode 100644 docs/models/usereventpayload231provider.md create mode 100644 docs/models/usereventpayload233provider.md delete mode 100644 docs/models/usereventpayload240project.md rename docs/models/{usereventpayload241prevproject.md => usereventpayload242prevproject.md} (70%) create mode 100644 docs/models/usereventpayload242project.md create mode 100644 docs/models/usereventpayload252teamroles.md rename docs/models/{usereventpayload257next.md => usereventpayload260next.md} (83%) rename docs/models/{usereventpayload257previous.md => usereventpayload260previous.md} (78%) delete mode 100644 docs/models/usereventpayload261mode.md create mode 100644 docs/models/usereventpayload264mode.md rename docs/models/{usereventpayload266next.md => usereventpayload269next.md} (94%) rename docs/models/{usereventpayload266previous.md => usereventpayload269previous.md} (95%) delete mode 100644 docs/models/usereventpayload272type.md delete mode 100644 docs/models/usereventpayload273type.md create mode 100644 docs/models/usereventpayload275type.md create mode 100644 docs/models/usereventpayload276type.md delete mode 100644 docs/models/usereventpayload278deploymenttype.md delete mode 100644 docs/models/usereventpayload278previousdeploymenttype.md delete mode 100644 docs/models/usereventpayload279deploymenttype.md delete mode 100644 docs/models/usereventpayload279next.md delete mode 100644 docs/models/usereventpayload279previous.md delete mode 100644 docs/models/usereventpayload279previousdeploymenttype.md delete mode 100644 docs/models/usereventpayload279scope.md create mode 100644 docs/models/usereventpayload281deploymenttype.md rename docs/models/{usereventpayload278next.md => usereventpayload281next.md} (78%) rename docs/models/{usereventpayload278previous.md => usereventpayload281previous.md} (81%) create mode 100644 docs/models/usereventpayload281previousdeploymenttype.md create mode 100644 docs/models/usereventpayload282deploymenttype.md rename docs/models/{usereventpayload279passport.md => usereventpayload282passport.md} (86%) create mode 100644 docs/models/usereventpayload282previousdeploymenttype.md create mode 100644 docs/models/usereventpayload282scope.md create mode 100644 docs/models/usereventpayload285next.md create mode 100644 docs/models/usereventpayload285previous.md rename docs/models/{usereventpayload283origin.md => usereventpayload286origin.md} (69%) rename docs/models/{usereventpayload283role.md => usereventpayload286role.md} (51%) delete mode 100644 docs/models/usereventpayload287actortype.md rename docs/models/{usereventpayload284origin.md => usereventpayload287origin.md} (67%) rename docs/models/{usereventpayload249teamroles.md => usereventpayload287role.md} (50%) delete mode 100644 docs/models/usereventpayload288scope.md delete mode 100644 docs/models/usereventpayload289scope.md create mode 100644 docs/models/usereventpayload290actortype.md delete mode 100644 docs/models/usereventpayload290scope.md create mode 100644 docs/models/usereventpayload294scope.md rename docs/models/{usereventpayload292prev.md => usereventpayload295prev.md} (84%) create mode 100644 docs/models/usereventpayload295scope.md create mode 100644 docs/models/usereventpayload296scope.md delete mode 100644 docs/models/usereventpayload298action.md create mode 100644 docs/models/usereventpayload301action.md rename docs/models/{usereventpayload303next.md => usereventpayload306next.md} (51%) create mode 100644 docs/models/usereventpayload306previous.md delete mode 100644 docs/models/usereventpayload310envid.md delete mode 100644 docs/models/usereventpayload312action.md create mode 100644 docs/models/usereventpayload313envid.md rename docs/models/{usereventpayload310project.md => usereventpayload313project.md} (83%) rename docs/models/{usereventpayload420store.md => usereventpayload313team.md} (73%) create mode 100644 docs/models/usereventpayload315action.md delete mode 100644 docs/models/usereventpayload317previoustype.md delete mode 100644 docs/models/usereventpayload317type.md rename docs/models/{usereventpayload317next.md => usereventpayload320next.md} (81%) rename docs/models/{usereventpayload317previous.md => usereventpayload320previous.md} (83%) create mode 100644 docs/models/usereventpayload320previoustype.md create mode 100644 docs/models/usereventpayload320type.md delete mode 100644 docs/models/usereventpayload322next.md delete mode 100644 docs/models/usereventpayload322previous.md rename docs/models/{usereventpayload323next.md => usereventpayload326next.md} (74%) rename docs/models/{usereventpayload323previous.md => usereventpayload326previous.md} (66%) rename docs/models/{usereventpayload324previous.md => usereventpayload327next.md} (69%) rename docs/models/{usereventpayload324next.md => usereventpayload327previous.md} (72%) create mode 100644 docs/models/usereventpayload331next.md create mode 100644 docs/models/usereventpayload331previous.md rename docs/models/{usereventpayload340next.md => usereventpayload343next.md} (73%) rename docs/models/{usereventpayload340previous.md => usereventpayload343previous.md} (72%) delete mode 100644 docs/models/usereventpayload347role.md delete mode 100644 docs/models/usereventpayload348role.md delete mode 100644 docs/models/usereventpayload349project.md delete mode 100644 docs/models/usereventpayload349role.md rename docs/models/{usereventpayload348project.md => usereventpayload351project.md} (86%) create mode 100644 docs/models/usereventpayload351role.md rename docs/models/{usereventpayload347project.md => usereventpayload352project.md} (71%) create mode 100644 docs/models/usereventpayload352role.md rename docs/models/{usereventpayload113team.md => usereventpayload353project.md} (72%) create mode 100644 docs/models/usereventpayload353role.md rename docs/models/{usereventpayload442next.md => usereventpayload369next.md} (72%) rename docs/models/{usereventpayload442previous.md => usereventpayload369previous.md} (70%) rename docs/models/{usereventpayload368next.md => usereventpayload371next.md} (77%) rename docs/models/{usereventpayload368previous.md => usereventpayload371previous.md} (82%) delete mode 100644 docs/models/usereventpayload374next.md delete mode 100644 docs/models/usereventpayload374previous.md delete mode 100644 docs/models/usereventpayload376next.md delete mode 100644 docs/models/usereventpayload376previous.md rename docs/models/{usereventpayload375next.md => usereventpayload378next.md} (67%) rename docs/models/{usereventpayload375previous.md => usereventpayload378previous.md} (70%) create mode 100644 docs/models/usereventpayload380next.md create mode 100644 docs/models/usereventpayload380previous.md create mode 100644 docs/models/usereventpayload382next.md create mode 100644 docs/models/usereventpayload382previous.md rename docs/models/{usereventpayload379previousproject.md => usereventpayload382previousproject.md} (84%) rename docs/models/{usereventpayload379project.md => usereventpayload382project.md} (81%) delete mode 100644 docs/models/usereventpayload386actortype.md delete mode 100644 docs/models/usereventpayload388actortype.md create mode 100644 docs/models/usereventpayload389actortype.md delete mode 100644 docs/models/usereventpayload390actortype.md create mode 100644 docs/models/usereventpayload393actortype.md create mode 100644 docs/models/usereventpayload394actortype.md create mode 100644 docs/models/usereventpayload395actortype.md delete mode 100644 docs/models/usereventpayload398actortype.md create mode 100644 docs/models/usereventpayload403actortype.md delete mode 100644 docs/models/usereventpayload405geolocationnames.md rename docs/models/{usereventpayload405geolocationmostspecificsubdivisionnames.md => usereventpayload410geolocationmostspecificsubdivisionnames.md} (58%) create mode 100644 docs/models/usereventpayload410geolocationnames.md rename docs/models/{usereventpayload405names.md => usereventpayload410names.md} (68%) delete mode 100644 docs/models/usereventpayload410pricingplan.md delete mode 100644 docs/models/usereventpayload410type.md delete mode 100644 docs/models/usereventpayload411type.md delete mode 100644 docs/models/usereventpayload412type.md delete mode 100644 docs/models/usereventpayload413prevbudgettype.md delete mode 100644 docs/models/usereventpayload413pricingplan.md delete mode 100644 docs/models/usereventpayload413type.md rename docs/models/{usereventpayload409previous.md => usereventpayload414previous.md} (66%) rename docs/models/{usereventpayload410budget.md => usereventpayload415budget.md} (77%) create mode 100644 docs/models/usereventpayload415pricingplan.md rename docs/models/{usereventpayload413scope.md => usereventpayload415scope.md} (61%) create mode 100644 docs/models/usereventpayload415type.md rename docs/models/{usereventpayload411budget.md => usereventpayload416budget.md} (94%) rename docs/models/{usereventpayload410scope.md => usereventpayload416scope.md} (61%) rename docs/models/{usereventpayload412budget.md => usereventpayload417budget.md} (94%) rename docs/models/{usereventpayload411scope.md => usereventpayload417scope.md} (60%) rename docs/models/{usereventpayload413budget.md => usereventpayload418budget.md} (94%) rename docs/models/{usereventpayload413prevbudgetscope.md => usereventpayload418prevbudgetscope.md} (56%) create mode 100644 docs/models/usereventpayload418prevbudgettype.md create mode 100644 docs/models/usereventpayload418pricingplan.md rename docs/models/{usereventpayload412scope.md => usereventpayload418scope.md} (61%) delete mode 100644 docs/models/usereventpayload419type.md delete mode 100644 docs/models/usereventpayload422actortype.md create mode 100644 docs/models/usereventpayload422type.md create mode 100644 docs/models/usereventpayload423type.md create mode 100644 docs/models/usereventpayload424type.md delete mode 100644 docs/models/usereventpayload425action.md create mode 100644 docs/models/usereventpayload425store.md delete mode 100644 docs/models/usereventpayload426action.md delete mode 100644 docs/models/usereventpayload426endpoint.md delete mode 100644 docs/models/usereventpayload426previousscope.md create mode 100644 docs/models/usereventpayload426type.md create mode 100644 docs/models/usereventpayload427actortype.md delete mode 100644 docs/models/usereventpayload428repositoryscope.md create mode 100644 docs/models/usereventpayload430action.md rename docs/models/{usereventpayload425next.md => usereventpayload430next.md} (75%) rename docs/models/{usereventpayload425previous.md => usereventpayload430previous.md} (73%) create mode 100644 docs/models/usereventpayload431action.md create mode 100644 docs/models/usereventpayload431endpoint.md rename docs/models/{usereventpayload426next.md => usereventpayload431next.md} (91%) rename docs/models/{usereventpayload426previous.md => usereventpayload431previous.md} (91%) create mode 100644 docs/models/usereventpayload431previousscope.md rename docs/models/{usereventpayload426scope.md => usereventpayload431scope.md} (50%) rename docs/models/{usereventpayload427next.md => usereventpayload432next.md} (92%) rename docs/models/{usereventpayload427previous.md => usereventpayload432previous.md} (91%) rename docs/models/{usereventpayload428next.md => usereventpayload433next.md} (89%) rename docs/models/{usereventpayload428previous.md => usereventpayload433previous.md} (82%) create mode 100644 docs/models/usereventpayload433repositoryscope.md delete mode 100644 docs/models/usereventpayload436next.md delete mode 100644 docs/models/usereventpayload436previous.md delete mode 100644 docs/models/usereventpayload437actortype.md delete mode 100644 docs/models/usereventpayload438next.md delete mode 100644 docs/models/usereventpayload438previous.md delete mode 100644 docs/models/usereventpayload439actortype.md delete mode 100644 docs/models/usereventpayload440role.md create mode 100644 docs/models/usereventpayload441next.md create mode 100644 docs/models/usereventpayload441previous.md delete mode 100644 docs/models/usereventpayload441scope.md create mode 100644 docs/models/usereventpayload442actortype.md delete mode 100644 docs/models/usereventpayload443action.md create mode 100644 docs/models/usereventpayload443next.md create mode 100644 docs/models/usereventpayload443previous.md create mode 100644 docs/models/usereventpayload444actortype.md rename docs/models/{usereventpayload284role.md => usereventpayload445role.md} (52%) create mode 100644 docs/models/usereventpayload446scope.md rename docs/models/{usereventpayload366next.md => usereventpayload447next.md} (72%) rename docs/models/{usereventpayload366previous.md => usereventpayload447previous.md} (70%) create mode 100644 docs/models/usereventpayload448action.md delete mode 100644 docs/models/usereventpayload467actortype.md create mode 100644 docs/models/usereventpayload472actortype.md delete mode 100644 docs/models/usereventpayload474scope.md create mode 100644 docs/models/usereventpayload479scope.md rename docs/models/{usereventpayload475next.md => usereventpayload480next.md} (91%) rename docs/models/{usereventpayload475previous.md => usereventpayload480previous.md} (91%) delete mode 100644 docs/models/usereventpayload481actortype.md delete mode 100644 docs/models/usereventpayload482type.md create mode 100644 docs/models/usereventpayload486actortype.md delete mode 100644 docs/models/usereventpayload487actortype.md create mode 100644 docs/models/usereventpayload487type.md delete mode 100644 docs/models/usereventpayload489actortype.md create mode 100644 docs/models/usereventpayload492actortype.md delete mode 100644 docs/models/usereventpayload493actortype.md delete mode 100644 docs/models/usereventpayload495actortype.md delete mode 100644 docs/models/usereventpayload496actortype.md delete mode 100644 docs/models/usereventpayload497scope.md create mode 100644 docs/models/usereventpayload498actortype.md create mode 100644 docs/models/usereventpayload499actortype.md create mode 100644 docs/models/usereventpayload500actortype.md create mode 100644 docs/models/usereventpayload501actortype.md create mode 100644 docs/models/usereventpayload502scope.md rename docs/models/{usereventpayload500action.md => usereventpayload505action.md} (51%) delete mode 100644 docs/models/usereventpayload507provider.md delete mode 100644 docs/models/usereventpayload509actortype.md delete mode 100644 docs/models/usereventpayload510actortype.md rename docs/models/{usereventpayload501previous.md => usereventpayload511next.md} (72%) rename docs/models/{usereventpayload501next.md => usereventpayload511previous.md} (70%) create mode 100644 docs/models/usereventpayload512provider.md create mode 100644 docs/models/usereventpayload514actortype.md create mode 100644 docs/models/usereventpayload515actortype.md rename docs/models/{usereventpayload531configuration.md => usereventpayload534configuration.md} (74%) rename docs/models/{usereventpayload530team.md => usereventpayload534team.md} (77%) rename docs/models/{usereventpayload530configuration.md => usereventpayload535configuration.md} (74%) rename docs/models/{usereventpayload531team.md => usereventpayload535team.md} (77%) rename docs/models/{usereventpayload529configuration.md => usereventpayload536configuration.md} (74%) rename docs/models/{usereventpayload529team.md => usereventpayload536team.md} (77%) rename docs/models/{usereventpayload532team.md => usereventpayload537team.md} (76%) delete mode 100644 docs/models/usereventpayload541scope.md rename docs/models/{usereventpayload538next.md => usereventpayload543next.md} (94%) rename docs/models/{usereventpayload538previous.md => usereventpayload543previous.md} (94%) rename docs/models/{usereventpayload539next.md => usereventpayload544next.md} (95%) rename docs/models/{usereventpayload539previous.md => usereventpayload544previous.md} (95%) rename docs/models/{usereventpayload541next.md => usereventpayload546next.md} (74%) rename docs/models/{usereventpayload541previous.md => usereventpayload546previous.md} (70%) delete mode 100644 docs/models/usereventpayload546source.md delete mode 100644 docs/models/usereventpayload547reason.md delete mode 100644 docs/models/usereventpayload547scope.md delete mode 100644 docs/models/usereventpayload547source.md rename docs/models/{usereventpayload545resources.md => usereventpayload549resources.md} (75%) rename docs/models/{usereventpayload544resources.md => usereventpayload550beforeresources.md} (71%) rename docs/models/{usereventpayload545beforeresources.md => usereventpayload550resources.md} (64%) rename docs/models/{usereventpayload547city.md => usereventpayload551city.md} (77%) rename docs/models/{usereventpayload547country.md => usereventpayload551country.md} (81%) rename docs/models/{usereventpayload546geolocation.md => usereventpayload551geolocation.md} (86%) rename docs/models/{usereventpayload546geolocationmostspecificsubdivisionnames.md => usereventpayload551geolocationmostspecificsubdivisionnames.md} (67%) rename docs/models/{usereventpayload546geolocationnames.md => usereventpayload551geolocationnames.md} (69%) rename docs/models/{usereventpayload547mostspecificsubdivision.md => usereventpayload551mostspecificsubdivision.md} (85%) rename docs/models/{usereventpayload542names.md => usereventpayload551names.md} (72%) create mode 100644 docs/models/usereventpayload551scope.md create mode 100644 docs/models/usereventpayload551source.md rename docs/models/{usereventpayload548city.md => usereventpayload552city.md} (77%) rename docs/models/{usereventpayload546country.md => usereventpayload552country.md} (81%) rename docs/models/{usereventpayload548geolocation.md => usereventpayload552geolocation.md} (86%) rename docs/models/{usereventpayload548geolocationmostspecificsubdivisionnames.md => usereventpayload552geolocationmostspecificsubdivisionnames.md} (67%) rename docs/models/{usereventpayload548geolocationnames.md => usereventpayload552geolocationnames.md} (69%) rename docs/models/{usereventpayload548mostspecificsubdivision.md => usereventpayload552mostspecificsubdivision.md} (85%) rename docs/models/{usereventpayload546names.md => usereventpayload552names.md} (72%) create mode 100644 docs/models/usereventpayload552reason.md create mode 100644 docs/models/usereventpayload552scope.md create mode 100644 docs/models/usereventpayload552source.md rename docs/models/{usereventpayload546city.md => usereventpayload553city.md} (77%) rename docs/models/{usereventpayload548country.md => usereventpayload553country.md} (81%) rename docs/models/{usereventpayload547geolocation.md => usereventpayload553geolocation.md} (86%) rename docs/models/{usereventpayload542geolocationmostspecificsubdivisionnames.md => usereventpayload553geolocationmostspecificsubdivisionnames.md} (67%) rename docs/models/{usereventpayload542geolocationnames.md => usereventpayload553geolocationnames.md} (69%) rename docs/models/{usereventpayload546mostspecificsubdivision.md => usereventpayload553mostspecificsubdivision.md} (85%) rename docs/models/{usereventpayload548names.md => usereventpayload553names.md} (72%) delete mode 100644 docs/models/usereventpayload62accessgroup.md create mode 100644 docs/models/usereventpayload64accessgroup.md rename docs/models/{usereventpayload63user.md => usereventpayload64user.md} (72%) delete mode 100644 docs/models/usereventpayload73action.md create mode 100644 docs/models/usereventpayload74action.md delete mode 100644 docs/models/usereventpayload80aftertype.md delete mode 100644 docs/models/usereventpayload80beforeresourcestype.md delete mode 100644 docs/models/usereventpayload80beforetype.md delete mode 100644 docs/models/usereventpayload80type.md create mode 100644 docs/models/usereventpayload81aftertype.md create mode 100644 docs/models/usereventpayload81beforeresourcestype.md create mode 100644 docs/models/usereventpayload81beforetype.md rename docs/models/{usereventpayload80permissions.md => usereventpayload81permissions.md} (92%) rename docs/models/{usereventpayload80projectids.md => usereventpayload81projectids.md} (85%) delete mode 100644 docs/models/usereventpayload81resourcestype.md create mode 100644 docs/models/usereventpayload82resourcestype.md create mode 100644 docs/models/usereventpayload82type.md delete mode 100644 docs/models/usereventpayload95action.md create mode 100644 docs/models/usereventpayload98action.md create mode 100644 docs/models/usereventpayloadappliesto.md create mode 100644 src/funcs/featureFlagsSignFlagOverrides.ts rename src/models/{usereventpayloadresources.ts => eightytwo.ts} (70%) rename src/models/{fourhundredandthirtyfive.ts => fourhundredandforty.ts} (68%) rename src/models/{oldssoprotection2.ts => payloadstaticips.ts} (61%) create mode 100644 src/models/signflagoverridesop.ts rename src/models/{usereventpayload317type.ts => threehundredandtwentyfour.ts} (66%) rename src/models/{payloaddsyncmode.ts => twohundredandsixtytwo.ts} (61%) rename src/models/{usereventjobpayloaddeployhook.ts => usereventjobpayload137gitcomments.ts} (60%) rename src/models/{twenty.ts => usereventpayload25provider.ts} (71%) rename src/models/{newprojects.ts => usereventpayloadlasteditedbyprincipal.ts} (71%) create mode 100644 src/node.ts create mode 100644 src/sdk/accessgroups.lazy.ts create mode 100644 src/sdk/aigateway.lazy.ts create mode 100644 src/sdk/aliases.lazy.ts create mode 100644 src/sdk/artifacts.lazy.ts create mode 100644 src/sdk/authentication.lazy.ts create mode 100644 src/sdk/billing.lazy.ts create mode 100644 src/sdk/bulkredirects.lazy.ts create mode 100644 src/sdk/certs.lazy.ts create mode 100644 src/sdk/checks.lazy.ts create mode 100644 src/sdk/checksv2.lazy.ts create mode 100644 src/sdk/connect.lazy.ts create mode 100644 src/sdk/daemons.lazy.ts create mode 100644 src/sdk/deployments.lazy.ts create mode 100644 src/sdk/dns.lazy.ts create mode 100644 src/sdk/domains.lazy.ts create mode 100644 src/sdk/domainsregistrar.lazy.ts create mode 100644 src/sdk/drains.lazy.ts create mode 100644 src/sdk/drives.lazy.ts create mode 100644 src/sdk/edgecache.lazy.ts create mode 100644 src/sdk/environment.lazy.ts create mode 100644 src/sdk/featureflags.lazy.ts create mode 100644 src/sdk/globalconfig.lazy.ts create mode 100644 src/sdk/integrations.lazy.ts create mode 100644 src/sdk/kms.lazy.ts create mode 100644 src/sdk/logdrains.lazy.ts create mode 100644 src/sdk/logs.lazy.ts create mode 100644 src/sdk/marketplace.lazy.ts create mode 100644 src/sdk/microfrontends.lazy.ts create mode 100644 src/sdk/networking.lazy.ts create mode 100644 src/sdk/observability.lazy.ts create mode 100644 src/sdk/organizations.lazy.ts create mode 100644 src/sdk/projectmembers.lazy.ts create mode 100644 src/sdk/projectroutes.lazy.ts create mode 100644 src/sdk/projects.lazy.ts create mode 100644 src/sdk/rollingrelease.lazy.ts create mode 100644 src/sdk/sandboxes.lazy.ts create mode 100644 src/sdk/sdk.lazy.ts create mode 100644 src/sdk/security.lazy.ts create mode 100644 src/sdk/staticips.lazy.ts create mode 100644 src/sdk/storage.lazy.ts create mode 100644 src/sdk/teams.lazy.ts create mode 100644 src/sdk/user.lazy.ts create mode 100644 src/sdk/vcr.lazy.ts create mode 100644 src/sdk/vercelci.lazy.ts create mode 100644 src/sdk/webanalytics.lazy.ts create mode 100644 src/sdk/webhooks.lazy.ts diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 98718097b7..4aa4fd3f13 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,26 +1,26 @@ lockVersion: 2.0.0 id: 79567c4a-05f9-4d65-864d-dfe107aa4e9d management: - docChecksum: e1c33f818fbfc8933573eea631ffdb4d + docChecksum: 3d8f847ee740cee255dfac4eb8b8e98c docVersion: 0.0.1 - speakeasyVersion: 1.810.0 - generationVersion: 2.961.1 - releaseVersion: 1.28.67 - configChecksum: de11f2744a1c9674a50adae7e0603169 + speakeasyVersion: 1.811.0 + generationVersion: 2.968.1 + releaseVersion: 1.28.68 + configChecksum: dd874b3aa8b361493691bc7186c3839f repoURL: https://github.com/vercel/sdk.git installationURL: https://github.com/vercel/sdk published: true persistentEdits: - generation_id: 1208ac51-ece4-4719-b98a-495eaf1e967e - pristine_commit_hash: aaf1eced0661ad29b9432b78661f161970e75005 - pristine_tree_hash: 7b24574144a98fc501006a52721eea289dc8c356 + generation_id: 5b7fde21-819a-427d-a988-fb54f487e406 + pristine_commit_hash: 0a2bb0d386bd76e74cf7bb9258243460db727d4a + pristine_tree_hash: 42deb3a01d803294afe0ad6da57b8fc6305c0ba5 features: typescript: acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 additionalProperties: 0.1.4 constsAndDefaults: 0.1.14 - core: 3.31.11 + core: 3.31.15 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.1 @@ -115,20 +115,20 @@ trackedFiles: pristine_git_object: 3a618a1e6dff62e25e6dbdff822073558dd850b9 docs/models/access.md: id: 5c260c0dda47 - last_write_checksum: sha1:e79a415c48905c01c21bcb22504a5f8adb60e7ed - pristine_git_object: 853ef02d8ceddd0031cf14445797501491f3c4e5 + last_write_checksum: sha1:cb1b6fb96ad9f3d044732c6d87183bd5912abaec + pristine_git_object: 46788a512dca2338320952f9b6906c7ae2017ce0 docs/models/accessgroup.md: id: 74a4d94b4dd3 - last_write_checksum: sha1:ae4ff668738914a16a737acdcdca69f5784bb58e - pristine_git_object: e90acca577a10092d57e1ada0adf85740eae8959 + last_write_checksum: sha1:05714498b13370c626d434de9a084eb827517514 + pristine_git_object: 6f97453f78ca5c86a675b4a5e95f6f4c061b64ce docs/models/accessgroups.md: id: ffc85c987e67 last_write_checksum: sha1:5499b821a150d62adbc74842a34a7173b2f311f1 pristine_git_object: 3575c03e715fb0cfebe9bf706bbf0492bf2ff9a5 docs/models/accesspolicy.md: id: 15b6423e538a - last_write_checksum: sha1:4f5ed97fcfae93c6c65f9614012eb833403e8ab4 - pristine_git_object: a740040a12e80cc1463afe94c082c3d3e494e2f2 + last_write_checksum: sha1:5426eeca09b1ae6c6d57ce8443489cc79423696f + pristine_git_object: 909ca76f4f005ebde6ecca16c82cb24448c34526 docs/models/accountlimit.md: id: 8d0154ea6a27 last_write_checksum: sha1:f055fa443cdd506320e4b5e3a51486d44948da94 @@ -195,8 +195,8 @@ trackedFiles: pristine_git_object: 5df1c41a3540d9fa4b38c9979260b440d26e07d6 docs/models/actortype.md: id: 109cc3a40321 - last_write_checksum: sha1:9373e5f5cb90ddb80dc0ed10e5c2ecaebbede46b - pristine_git_object: 7e1e1970b00ed2dc8a0b689001fbe48f276d6755 + last_write_checksum: sha1:7ed30b8865776160a60b6b3ba259815a6188e018 + pristine_git_object: f530aca4838044f6c0c71e76d7eba2a64dc73d3e docs/models/addbypassiprequest.md: id: d27a67de34cb last_write_checksum: sha1:a91baf3468a367ca3dc276dd26cc3c64ca234777 @@ -231,8 +231,8 @@ trackedFiles: pristine_git_object: 711ca4c93eb50426a6d79d32a7700f12038c7f72 docs/models/addedprojects.md: id: 9ff22b533777 - last_write_checksum: sha1:354bc99ff638feccba8dd7bb0da477a8ba06b562 - pristine_git_object: 2b8f051c8157400d8b52b0ca1e1a9f612e67c66c + last_write_checksum: sha1:cb3fb33a30c447eff9fe0b686204a31221df6a1c + pristine_git_object: 45d2f1d22db98d0f3afa0a17173a4865a052dc3a docs/models/additional.md: id: 0ec68c846ea8 last_write_checksum: sha1:ecc040b940805806b10d050c8797b3211bf6f343 @@ -555,8 +555,8 @@ trackedFiles: pristine_git_object: d19bc636fa91823cedfb418036c2bffcd102dd0a docs/models/after.md: id: 1b974440f874 - last_write_checksum: sha1:ce1f042b32473b5d06cfb0e5a7c8184ac53315b9 - pristine_git_object: b6664bc623c90dffe45772372525d11ef216dbb4 + last_write_checksum: sha1:4baa1a2a288d0732d3f0b4c5224496e086ca6531 + pristine_git_object: f8f64e77b10e3c7866e3029b1a00de955d849110 docs/models/aggregateeventsdata.md: id: 0f6de8a6fdee last_write_checksum: sha1:53d0e22dc59949b80d2f5b2e7ae8a2fb2d606c7a @@ -623,12 +623,12 @@ trackedFiles: pristine_git_object: da6eaf9504c667c5ffe3762b67b1f522d40e6a43 docs/models/aigatewaybudget.md: id: 269f861c76ad - last_write_checksum: sha1:b0dd8e3188907e315272a76e71d5c6bc6fb69632 - pristine_git_object: 31437afe0be4ba0523ef46e16ff4dcc6a60d24b0 + last_write_checksum: sha1:fbe7d11219b93894286ee323d93d1c4f9d87a068 + pristine_git_object: 2111556c2de5717d0bf1fccb21f11604473f919d docs/models/aigatewaybudgetdefault.md: id: 0ca5d1503678 - last_write_checksum: sha1:bf5cbeca6b89456d7299f487a6ec84756252b3ab - pristine_git_object: 9f18e44f9fa0a4dab8d726f415a956e60d17cba9 + last_write_checksum: sha1:f9d0be323e605a4514ebe75df53dbb503693ef07 + pristine_git_object: 11e1843f3c6afed5aaff2d9a4b594d8fc861996d docs/models/aigatewaybudgetdefaultlist.md: id: c1fd97bca7af last_write_checksum: sha1:217b0ab3e8c1a608b6591f77c2b191eb294a2093 @@ -639,8 +639,8 @@ trackedFiles: pristine_git_object: 412a8ea1fdf8adcf378d11ac1baec0b5ae4fc98d docs/models/aigatewaybudgetdefaultscopetype.md: id: a26d51e35726 - last_write_checksum: sha1:3594b6ac6ef1d39b57b940429f64de420ae76ce0 - pristine_git_object: 08a34016a2d7d6cfaa20fd8c62facdb27199847b + last_write_checksum: sha1:a41a2dbed9f481fc7d8043524cd0d21d0fc72fee + pristine_git_object: 2fc3682943cef0aff690ca9345510b8476ffcafe docs/models/aigatewaybudgetlist.md: id: 3057fffee2f5 last_write_checksum: sha1:44bbd2c1723cc889734f051eb2f9e5b5c7ce2368 @@ -755,12 +755,12 @@ trackedFiles: pristine_git_object: 30c9c96a46c4a5ae51b3503c6bba3fd3a9accfdd docs/models/allowedmethods.md: id: eb41dfd97d42 - last_write_checksum: sha1:bdb7525d77efd31d620e59736eef2bcaed372257 - pristine_git_object: 1b1890b413eb3381162e58cde19d3b32ede9e92e + last_write_checksum: sha1:895c08b5efe43f66786c912448ff1e3b086ce680 + pristine_git_object: 65fde59ed2abc55c76d6dbaf5ac728664c213329 docs/models/allowlistedreadystatereasoninternal.md: id: b6ff597e5e8b - last_write_checksum: sha1:d9ff02f0dd0fcf0fe8a6953178b5718f4432c5a8 - pristine_git_object: 68ab55b6abac5dd9008d3e8ac99d29ac214b4fbf + last_write_checksum: sha1:51c97d676f17f2d93ac94f50e6c905ffe3913c2a + pristine_git_object: 86489329581fb73d29e3d7435dfa65e6b3be5f59 docs/models/analytics.md: id: 9bf0eb6040a2 last_write_checksum: sha1:88ac4444033305a2d8c57e60ce790ef3286a218b @@ -791,8 +791,8 @@ trackedFiles: pristine_git_object: 5e9b72bbe28995eddcd864332a6468ef6fa0e352 docs/models/app.md: id: 44d35edc581b - last_write_checksum: sha1:33a0a2eac5436fa94f186332fa628714ff42ce49 - pristine_git_object: 1147a059efa1267f4be8bd19b5bd7d5517200cf3 + last_write_checksum: sha1:36dad6de1f198b203ca3519538c7d9348240a1f2 + pristine_git_object: 73f969ed7c98c82ef532978e080a5a428e065508 docs/models/apphome.md: id: db7be1327dfb last_write_checksum: sha1:5f41e79e949064d0feb8a5b35e0f0db245f71b94 @@ -829,10 +829,14 @@ trackedFiles: id: 7e4875b40f06 last_write_checksum: sha1:751f15412982d28fb0482e2af495852fb3ffb4d6 pristine_git_object: e47c1e458ec8dd7466970af070d1f4cd8e9ac086 + docs/models/appliesto.md: + id: e9fa57af0bd8 + last_write_checksum: sha1:ba4d4c0bdd9e8c33f85b5bfe68325a10fc7d8fc6 + pristine_git_object: c30377f5449ca5e4198bd3f08689f15e94f2d96a docs/models/approvalscope.md: id: bad50e72d8be - last_write_checksum: sha1:76c5fc6b864394b99b60c4ced4a87cc17178b729 - pristine_git_object: ae7eadeabece75b7ae1d9b34d90528a1c70ff7a6 + last_write_checksum: sha1:7c05eeee449c659e3d55fe819b531b6c8babe72e + pristine_git_object: 1f4e7996d7c68c151b6338088ed4921a1a10b46b docs/models/approverollingreleasestageactivestage.md: id: ec433658ecf6 last_write_checksum: sha1:83c16a2f83e233059d16b25795eb214b126c6c70 @@ -915,28 +919,28 @@ trackedFiles: pristine_git_object: 04f507a47349d0efa0d5aeb575f0f549d1a87023 docs/models/april2026securityincidentmigrationappliedfrom.md: id: bded7fefc25f - last_write_checksum: sha1:3cefaec7ce93fd0f69f0cac3e1f8398cef110b92 - pristine_git_object: ad20d3360a712dcfdd0ff608f55b9da7e4a45f9b + last_write_checksum: sha1:bb4bab6c9dec9e4b52b8a8733b834cd92fe5ac44 + pristine_git_object: 525666a6c23fa6c477cd4747793d959b66c49baa docs/models/architecture.md: id: b8d52e1654c4 last_write_checksum: sha1:3e4907ed0f6ad167b341b037a2294a5ed61e99b9 pristine_git_object: 220db3b970d756ced75843f5daa24603a686fa26 docs/models/archiveaigatewaybudgetdefaultqueryparamscopetype.md: id: 10cbea0b8cc5 - last_write_checksum: sha1:7a1dc24c756fae608e0f2977d47e10610e907d15 - pristine_git_object: d5b6adb6e37d2b2f434e804934ff2ed7dded0d23 + last_write_checksum: sha1:4628e9fa6ef1665cc90f373c8df5fb81959751f1 + pristine_git_object: 6fc8ac5a4aa913966cfc0c20767354458cac17e5 docs/models/archiveaigatewaybudgetdefaultrequest.md: id: 378862e8502b last_write_checksum: sha1:c2ab1fe4bcc99967e99ff1b26b581e62ff729aee pristine_git_object: c1c7335a943a2eade7cb4cf05bb5bcb0cbe35cfd docs/models/archiveaigatewaybudgetqueryparamscopetype.md: id: 7ee33530d79b - last_write_checksum: sha1:bd5532cc1b247504bcd0b8f6634b5431f5113bda - pristine_git_object: d43fdd73dffdc306826d4d75355e0b56239f7816 + last_write_checksum: sha1:3f2d8f0c58fde02e163204dc032d72f07c1327cb + pristine_git_object: d9da57042e808e9d8719cfbdaafa1253c8972da0 docs/models/archiveaigatewaybudgetrequest.md: id: b1ab0cf130f9 - last_write_checksum: sha1:573d91f4096bc08ed354315e927808dd21fb38b4 - pristine_git_object: 8bd776abfdfb7e40ddb2200acbc7c2f5b8a6443a + last_write_checksum: sha1:e32662eaef8606c488796447b2551d7887907415 + pristine_git_object: 0bbda94ca4e3f1964c7b4ef460c222d2fbbbd3c9 docs/models/args.md: id: e26d3712f6c4 last_write_checksum: sha1:8b470db4be2fddd9b6780efeb51715334422950d @@ -1031,12 +1035,16 @@ trackedFiles: pristine_git_object: bc4043a16d7e02ceba09998fed0bd164066958ac docs/models/author.md: id: b4139065dbed - last_write_checksum: sha1:c278bbc650a4ae5fb507491f1d4e611ade51301c - pristine_git_object: 92a6994992594f004c4c065356c84a0f1f3a3215 + last_write_checksum: sha1:921a07cd9505b5442ed52f92e194cd41aba33290 + pristine_git_object: b8189cb0f21f309c8e719afa000ea037fcd5ae3c docs/models/authtoken.md: id: 4bd9c62da20d - last_write_checksum: sha1:280db94d45429cbe16cd78d5708655b40f1952d1 - pristine_git_object: 046ae013558e966517b677cdfabb35f615b07273 + last_write_checksum: sha1:f3181f637a56ca8e8fb19049df78205910fbc503 + pristine_git_object: 8a71931a7ff5c20ffad10bf75feabc70e775dc58 + docs/models/authtokenkind.md: + id: d27981b29ca2 + last_write_checksum: sha1:e84163d72c31de8aea1620cb5fc96f4e05afb739 + pristine_git_object: 1040d6b6d40ec1309c7c7af2c898dce0205710c0 docs/models/authtokenscopes1origin.md: id: e1dbccbc3ef0 last_write_checksum: sha1:b8ef163a67da5ee20b389e33e636499084b759ed @@ -1087,8 +1095,8 @@ trackedFiles: pristine_git_object: a18d9c14ddb4be5d94efe5243351894fe84f6b26 docs/models/aws.md: id: 0a641af6c3a0 - last_write_checksum: sha1:4c668ab11b599ce75f9747850f6a8fd54bacc64f - pristine_git_object: 1757c7dfab97059f924ba84cda297653b8a79ad8 + last_write_checksum: sha1:913cb94ad5571af6441945f85291ce790af3d13f + pristine_git_object: 78bf8a12e6067c4765d35c2fbf41f95e9910228b docs/models/backup.md: id: 3cb472400e2b last_write_checksum: sha1:078f70f1f659103c8e5f605f81a4ffb366841bfe @@ -1131,8 +1139,8 @@ trackedFiles: pristine_git_object: 2827c38a90ccdeee0b975084e5d5dde3e01ed430 docs/models/before.md: id: 24aa41215c5a - last_write_checksum: sha1:cc7dfebc93b418a8099a16d27a0e53a8b15d235b - pristine_git_object: ee306c8a4cd35b5160f2ce09b4b079778dcc6c0c + last_write_checksum: sha1:d60eef76475b9b597c1a71a2356532faa87c2a75 + pristine_git_object: 72c9ded4570619f7c035a715590a8cc313859d6c docs/models/billing.md: id: 88becda4bdf8 last_write_checksum: sha1:6f054b8fee97223bdbcce678e0c825505f6500ee @@ -1147,8 +1155,8 @@ trackedFiles: pristine_git_object: b3550a0ecd31f4ed24a4666bde00cabd37939b6d docs/models/billingconsent.md: id: 51abdb604bb5 - last_write_checksum: sha1:68aba16b990320b12d30491702649b7c8747da18 - pristine_git_object: 097e4c29d0e3b9601e10377c5a47b9c21b7b34ca + last_write_checksum: sha1:281cf4fa746883b7bc15766f77756f8762263b3c + pristine_git_object: 969b81b2367719a29b0592b85df850b9aefeb726 docs/models/billingitems.md: id: c0834483eaed last_write_checksum: sha1:bfea8ea4843684123c3c913f9c93ea35619204f7 @@ -1219,20 +1227,20 @@ trackedFiles: pristine_git_object: 1812c914fad25b5eabb7ec3a3219bcac7a2667df docs/models/branchmatcher.md: id: 14099a47e815 - last_write_checksum: sha1:8107d2ebd956f8f9badb1e37b2690a3d1fd4cfff - pristine_git_object: e9cadde8b57ca307d03d3992ee5a1ec80a8825c4 + last_write_checksum: sha1:9e85d358387cef8b3554cc572f801a5019cc3c0d + pristine_git_object: 25c10351e0126d4476120a00729f2a1339c39a14 docs/models/budget.md: id: 1a20b7b3db8c - last_write_checksum: sha1:f704298e83d2e40fc821c9a8a48069ffd2d74a12 - pristine_git_object: 9556334f91eac669f7c7304b3beeb18d3aafd429 + last_write_checksum: sha1:ca1f6a7df5cc0a968a14a9777542cadaa91e01fa + pristine_git_object: d9242e49cf178fbe6ccc44e785852a4ff1cd0d20 docs/models/budgetitem.md: id: 6a9e54a4acb8 - last_write_checksum: sha1:8d956b9d795c2a34d77aa61174a0e46cb4cd8893 - pristine_git_object: 59a102ef19bf9070caeda3dedf817ee1cd1d7c72 + last_write_checksum: sha1:9a59b2b188bbead63f16fa326a79cabc275a47ba + pristine_git_object: 2cefe861d51962225fd75a60de783d6b86c6f8e0 docs/models/budgetscope.md: id: a23f375da218 - last_write_checksum: sha1:4d65f063241e1bc60fb224ab80d83f870ae48891 - pristine_git_object: add13ec720cfb5634a84a598c89aedf3cc8be90f + last_write_checksum: sha1:98b22c9c8a192689bb27dca9b429f17cbea23854 + pristine_git_object: e74432a5fd33772b0b5bfbb60123904de79eea54 docs/models/build.md: id: 163e595a6263 last_write_checksum: sha1:f8cfe5299e9e308f5455edfe331fcb447321e6da @@ -1295,8 +1303,8 @@ trackedFiles: pristine_git_object: d871fe7ee801b5419552765734fa95b5f41efcb6 docs/models/buildqueueconfiguration.md: id: 484458239c3c - last_write_checksum: sha1:6de08e1a5ceffe7f522f1c6253aaa320a16bf9b1 - pristine_git_object: 78e9b3c5cd2263eb8f8f55c55eeafe308fe176b0 + last_write_checksum: sha1:8a38ea68eecca58615a400f0f54a57f256e87291 + pristine_git_object: 4b15e7a62ffc8f874191773df5272a99ecd2f5a4 docs/models/builds.md: id: 58ae611ddddb last_write_checksum: sha1:bd82fa2029b9a4d8fc1db7046fae0e3b0753ecb0 @@ -2599,28 +2607,28 @@ trackedFiles: pristine_git_object: a5b888102a22eea43f1b0d4737514397b1a96b9a docs/models/ceilingmode.md: id: abea20274f7f - last_write_checksum: sha1:033b385435432040058c1187f0d0cce3c33b5758 - pristine_git_object: 2293f1f5ef2bc797d0729fb1b0226d35927a497a + last_write_checksum: sha1:34b69c70e50c26d5a83c18c212d0a99b637d13fe + pristine_git_object: 7f6f6bc233aff56c9a866bf5da7c26c8c4826bb6 docs/models/certs.md: id: ed46b1aac4ac last_write_checksum: sha1:94b113f2ad8993b2fd0b4ea748d93ca7f4ef258f pristine_git_object: be28fec88d78b8de7835867785967778e920292b docs/models/change.md: id: 305cf3b414fe - last_write_checksum: sha1:6c0d74e31d328affc2797f210f0f5887d8e5961a - pristine_git_object: 467cf84b96e85c1a0c1e88b9ffabf9fe59b44f84 + last_write_checksum: sha1:3c2877104a7dc1265657002f3a93fc5a38c03716 + pristine_git_object: 77e3c5e06e9a95159c7090fbf2089540373b1339 docs/models/changedfields.md: id: c7aad8693a7e - last_write_checksum: sha1:03765b0ee5342854a6906ebe888e5c2b1cfef127 - pristine_git_object: c3e77fdb13a38ae46166e849e0cc47a2cc56733c + last_write_checksum: sha1:eefc4d1da98545c62e6ed464dd5dcbb50ea478a6 + pristine_git_object: ffdc70b304dd4d722e99152d5dca4d98c4575716 docs/models/changedresources.md: id: adca4b2d0417 last_write_checksum: sha1:1adebbe7bd4a94e04a524d9c44d114c733bc9250 pristine_git_object: a9f934a4bd2fe90e63d400c8c56cd07807899c32 docs/models/changes.md: id: 20e53f95ed13 - last_write_checksum: sha1:8c631b374d4424ea91d2503c3f5b60029c5afecf - pristine_git_object: 24b541ca764d57d947959c70eabb231bfbcb3a32 + last_write_checksum: sha1:79b479fca05f89c4d0d2cee2cb50e69aa993ca51 + pristine_git_object: e5e70bdd3d3d95005436591146633af68ed541cd docs/models/checks.md: id: d48a6943fe95 last_write_checksum: sha1:36cc750e0b7b120b80dcc23269f78d921047d3e7 @@ -2635,8 +2643,8 @@ trackedFiles: pristine_git_object: 85125872bad5b7bda0827edd6ebee4ddc7598498 docs/models/city.md: id: ab7bdc0c1e51 - last_write_checksum: sha1:a3170ffc2fa819201b98ac2a2cd0a38573c15723 - pristine_git_object: 85a6488f305eee9ba877d716bd2e2b541e91e75f + last_write_checksum: sha1:33b9271d6e45a72c460a51253b92a3d47fff4830 + pristine_git_object: 935ff744cda44c181580bf4f07e1c730b6d8d024 docs/models/claimdomainownershipcreator.md: id: 59a38714ad81 last_write_checksum: sha1:17221a614606052dc0c58f96e6ce5f0dad3147f0 @@ -2687,8 +2695,8 @@ trackedFiles: pristine_git_object: b4c9ba40601afa31c48e8b97c6463d5dc559029d docs/models/closereason.md: id: c4436710b91f - last_write_checksum: sha1:99e2a32e55155a920f66583e2b07f736e769c849 - pristine_git_object: 14e0587c713d00c3cf4d46b1567863456c422b73 + last_write_checksum: sha1:d58a4caa606cb7676c37948965842e27849a0530 + pristine_git_object: 01f3fce17b411efb458c1595315754da4f0f8a73 docs/models/cls.md: id: ba45f7225bed last_write_checksum: sha1:39967cae92575fff4c5842837ce25651158e1e5a @@ -2711,44 +2719,44 @@ trackedFiles: pristine_git_object: 31dc05937313af5c1c395a76eaf66054450dad63 docs/models/codereviewselection.md: id: 69719b095634 - last_write_checksum: sha1:da183437beb4bab8819b35a62400b091a01c84b6 - pristine_git_object: 54d5d393a1f7e1999d47be4fc2831c0eec71d9cd + last_write_checksum: sha1:6d3fc204fa9d7f6f2e9fe5a88055d90fdafbe48c + pristine_git_object: 332383330fe6c4fc1f608606931705e2657bc27f docs/models/cohort.md: id: ca9243220c67 last_write_checksum: sha1:8a27a1ab94a2e36181f3421239502aacf03a90d9 pristine_git_object: 8dffbe41a858dca34deef360ad51808095196609 docs/models/commands.md: id: 8c7040763715 - last_write_checksum: sha1:50b368e68730b791927fabb4c49171aadab88ebc - pristine_git_object: 043175c20273a19206a4892c691037af9294822f + last_write_checksum: sha1:1ade0bdd2523db099f29e9c16948deb3cf29bf79 + pristine_git_object: 2f739759515f61be2c78e91486068d9126ceeed8 docs/models/commit.md: id: 12aecb89cc56 - last_write_checksum: sha1:ef1f146abf24a283a3b841b1ddb46579f3b20649 - pristine_git_object: f6230f31cfd059f5ff1c496720f7822c7b1bd199 + last_write_checksum: sha1:9207966ccf12c2495f6da10ae12a3fc0ecfaf940 + pristine_git_object: f08600bdf4c0de3dd76fc9b205d13dd3e72ee329 docs/models/commitinfo.md: id: 6d17971bb957 - last_write_checksum: sha1:59ed6b87e4b5bed6708156a161baafe7c8809372 - pristine_git_object: c93c85df30d867a629bd6782551bdb94b30b7063 + last_write_checksum: sha1:ae5d0df6d4a11ed60a541b333ff8ba0bc756bc6d + pristine_git_object: 3a8f41438931c45bcb3e90f7d6bda71e9e8d1f6f docs/models/commitment.md: id: 49669a4c83ea - last_write_checksum: sha1:9126efc80592bb4ee822102918d6c9898c1726bb - pristine_git_object: ac4e6c6aaf7c107e84f7b409e2a3ff681d5ba9e9 + last_write_checksum: sha1:e871b69414398ff0c666d5a3969134bc2b5d3457 + pristine_git_object: c39be0641e8501fe9697d8ad68b084eb1908fa63 docs/models/commitmeta.md: id: c6b1db6c04de last_write_checksum: sha1:cc138dbada3b3320bd3c7b0f8a51d6597e989482 pristine_git_object: efe65b5c35ca0ef8880d99c3a1023725cd39508c docs/models/commitmetadata.md: id: b68740188074 - last_write_checksum: sha1:e3b9d5438054ca739f3b55ce8643372dc7bc6d61 - pristine_git_object: 990e2f4ea6f57104f0d1fbee9bbeadfc9d36c1ea + last_write_checksum: sha1:0dd269a227d241a7f05c730e0be805c719cbaad9 + pristine_git_object: bfc1058c9b87113215514ae7d6711d5aa6f09c89 docs/models/committer.md: id: 8a8c7d48578f - last_write_checksum: sha1:11dcd0e0ecb279b2382e9a258456a6739ab42a83 - pristine_git_object: 642738d321c493d247e4af9cd0a4574af2b81df0 + last_write_checksum: sha1:d14d09111be293cc29bebdb9d390dce1f2542b9a + pristine_git_object: 052562f0c2dd9e38dcf91c97036768e0e5d2c54b docs/models/commitverification.md: id: 9e0333c99054 - last_write_checksum: sha1:9ac0a7b35e9c7bb240a3d61e02c0e21ff48f6e27 - pristine_git_object: 152ba3d16590b3fcc1a6f848c3712bf32ceea01d + last_write_checksum: sha1:e0d614573410430616f7eec43b1030cf5182fbbe + pristine_git_object: 78fec201d8080143ef87947453f201871a9a80fb docs/models/completed.md: id: 6988a8b6f6b9 last_write_checksum: sha1:08a549f7cf532963b873d3a52404195d72c4b435 @@ -2895,12 +2903,12 @@ trackedFiles: pristine_git_object: 274bb2cd863c3ebadc942535f42c06bd9a9a62cf docs/models/configchanges.md: id: 07529be312e6 - last_write_checksum: sha1:888d6a11f8f4efd6be6f47314e517396aadb3208 - pristine_git_object: 1665dea7cf87087f140c9b29d3d7d465742262bb + last_write_checksum: sha1:2da3f62a564cbc6a4daea32e26c854a1cf586678 + pristine_git_object: d831e8b22791d3dd3b827fcedecb216412d7f719 docs/models/configuration.md: id: 9d471f958284 - last_write_checksum: sha1:063902904661b9232635ad9f2eb74c3b9cad2e85 - pristine_git_object: 67d10883dc613384f68506725c990b7421b865fe + last_write_checksum: sha1:3ad027252d7b5025dc85a09caec1f6c602ec48a6 + pristine_git_object: dda28522b485a112faacc37e8bc7586ca4bf7100 docs/models/configuration1.md: id: b9677cd64002 last_write_checksum: sha1:caf40fda2aef8727118466d1b21289c9155bc58c @@ -2971,8 +2979,8 @@ trackedFiles: pristine_git_object: 215e3c6ce8b0df42233b6177e751d86b17bf7f85 docs/models/configurations.md: id: 82ed32413de4 - last_write_checksum: sha1:96b3d139eb8b5b9bb18ddd2a0fa7b114b60a1549 - pristine_git_object: 8d86897c38880100d392adfd12cc28267a10c23f + last_write_checksum: sha1:118e0d57b09b3fefb960de5b4b568ccab790342d + pristine_git_object: c47f90a26c8f098277be692cd7dbd9e7798b9bce docs/models/configuredby.md: id: 4228c4fac54f last_write_checksum: sha1:72bd1b21dbb2287e728c00826075c28203fa7880 @@ -3099,8 +3107,8 @@ trackedFiles: pristine_git_object: 78f3ea11bfd222239cf253aa719b69937bbaefc2 docs/models/connectupdateconnectorrequest.md: id: 5655a40b2769 - last_write_checksum: sha1:b5f3132b20bd5c215e668d8347a78952e18cd3ca - pristine_git_object: af23c707d8a350c60401731d6f45cde263eba7b6 + last_write_checksum: sha1:a01d6fe02cd5a6a2ccb8ad5f2f1f5c90c27b5f0b + pristine_git_object: 3ebe9762c940f2a9cc786d07d0178cc0ba739f2f docs/models/connectupdateconnectorrequestmcpeventsuivisibility.md: id: 7bcafd21d603 last_write_checksum: sha1:b90de469c8223b53363df08b13164bbd7567f6cc @@ -3111,12 +3119,12 @@ trackedFiles: pristine_git_object: f909f9b29fb658650ddd9dcda5bb1fa30a872c65 docs/models/consent.md: id: 4dd2689b5d54 - last_write_checksum: sha1:128646ee559e7d763023139f11a97b4a597a2b52 - pristine_git_object: 88eabb69802d83e85731b987a54cd7eb9ee9a070 + last_write_checksum: sha1:2e15104b14395390dc6dcff380d73a2eaa5f682c + pristine_git_object: 14a748cc483c443b07e1093951cea84bbdf6663f docs/models/consolidatedgitcommitstatus.md: id: 2d8175c4b43e - last_write_checksum: sha1:311b84602d36efc948757e7beef4337dfc58c4b0 - pristine_git_object: 8abd2ce331109c04e29bbcd30fed5cce0192cd06 + last_write_checksum: sha1:783299c09727d8de42c7f09a247eaaa3d9a20ac3 + pristine_git_object: cd007939d33d1f6f005d765a73b427d558762e1d docs/models/contact.md: id: 1357414e5140 last_write_checksum: sha1:58da596e2bab028ab479498b1c752e320ec82fd5 @@ -3211,8 +3219,8 @@ trackedFiles: pristine_git_object: 24c50b35e66cbfef7c693cc5d8525a997b3c15ff docs/models/context.md: id: e8f2f9e54b8e - last_write_checksum: sha1:2e184ab68847974c404323da7589157df6f79bd6 - pristine_git_object: 5a9e371dbfe74a01f97824a4e87bc75633d723e8 + last_write_checksum: sha1:b3e8c47b5a3d16c89a591930d271b92440b85571 + pristine_git_object: 1db733ffe55b1084ecc4485820c7761ca537b94c docs/models/counteventsdata.md: id: 45961da058b7 last_write_checksum: sha1:6a58bff3cef5fdb4e627e8a23f53a9aec064cde4 @@ -3279,8 +3287,8 @@ trackedFiles: pristine_git_object: 02409738c4e0fd9e6ae7a40751fd92746b4ad17d docs/models/country.md: id: a9be7df1a5df - last_write_checksum: sha1:fb0f95381b6b72dec81e8a177da2bbcfe35ba063 - pristine_git_object: 668f903f0e87fa24bede965ed67b73adc756aed4 + last_write_checksum: sha1:5507b99257360daf8b14455612d19b4c99dd97cb + pristine_git_object: 05de12b4e189b23ce9d7dd15b686d3bfb9c5d96a docs/models/createaccessgroupentitlements.md: id: 8e9178c38084 last_write_checksum: sha1:1d76faf08a530f46a5bac9bec4cac8774be613c9 @@ -3467,8 +3475,8 @@ trackedFiles: pristine_git_object: 6902c479a3447da4851627ed8d5d9f41afff15ad docs/models/createauthtokenresponsebody.md: id: cfb49b3b8a54 - last_write_checksum: sha1:ce10178bde6c4252a0490c19d874faf82e7dc071 - pristine_git_object: 037e9489cfebe55f5a63c9617d95f58c886c7cc7 + last_write_checksum: sha1:329cbe8c44c5b906ba3f7c85aaae5e0d5ee475bb + pristine_git_object: 0b2714635ccf43876904d69d46b13d9ca18da429 docs/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsrequest.md: id: a5e2f4bf4399 last_write_checksum: sha1:d80bad3c0be73d85bef479942c93e658e63dd39c @@ -4751,8 +4759,8 @@ trackedFiles: pristine_git_object: 7f2c6cd7fa54e537ad7dbacfa77353f470245db8 docs/models/createdeployments.md: id: f530e3e69418 - last_write_checksum: sha1:144d121f0ddf57a6dd5823fa636815ca69d9b081 - pristine_git_object: e7ba9fad24971232ec44aa412977eeaa51975ed9 + last_write_checksum: sha1:427b8cdad5098e407e74f2a68e89f620a5462b70 + pristine_git_object: ad1e116efaa5e5b3760437a44670e6a746466008 docs/models/createdeploymentservices1.md: id: 1cd3c84ef3af last_write_checksum: sha1:b3848fc41e765355f4c05fb2ccd820e194080f81 @@ -5759,8 +5767,8 @@ trackedFiles: pristine_git_object: 7c6ace1d5a0bd7b06e68899b32e1cd319b595b2e docs/models/createedgeconfigtokenrequest.md: id: c3784a991eea - last_write_checksum: sha1:ef17588789abbde8f92c043d75e1e7af66b45a22 - pristine_git_object: 1f1a38bd5dc9385a073f8e4d0741d56e9d6176bf + last_write_checksum: sha1:cc35c0f6f92732960cf809d37f3fe5c41f0f2312 + pristine_git_object: f8bc1badcca830f0c197adf67e4acfb18e9e0ef0 docs/models/createedgeconfigtokenrequestbody.md: id: e6051d1dd019 last_write_checksum: sha1:9f894be1dda156f68592f37f0b77479863a6f2a0 @@ -9179,8 +9187,8 @@ trackedFiles: pristine_git_object: be0018f072c7e0a4605239e2094c3d19364b4a02 docs/models/createsandboxessessionsbysessionidsnapshotv2responsebody.md: id: 49bdafe9266d - last_write_checksum: sha1:cc3df3f731be75169508ddf4864bd30eb7b72589 - pristine_git_object: 4e381b5910615ffbdf602ad4b68589951cc61041 + last_write_checksum: sha1:5a9bf412c6fbb5639dee84d5fe8820124b218225 + pristine_git_object: e1cbd48face2e9be2e2d2a9f455705b9a0ad1ccf docs/models/createsandboxessessionsbysessionidsnapshotv3expiration.md: id: 5a0be8f71d66 last_write_checksum: sha1:596e8a35abd2ec64fa75d6f54eb444c3beda9a6e @@ -9195,8 +9203,8 @@ trackedFiles: pristine_git_object: 3ed111910802687a0c2237ecff2017c24dfac2a5 docs/models/createsandboxessessionsbysessionidsnapshotv3responsebody.md: id: 1f7b564d7323 - last_write_checksum: sha1:69e5ad789725d48df29ca3271eb1af7db44b9c8b - pristine_git_object: 6aac1ceee13c64883dc0d7b7352f2b4097dbbdff + last_write_checksum: sha1:6479852b23edccddd0239af714bceef187642e24 + pristine_git_object: 05b28847672d6bfbeecd670a5eaacaece4b09780 docs/models/createsdkkeyrequest.md: id: 1de098cc1998 last_write_checksum: sha1:53e8bd2568f9500f5e43adba16d7820e85d9ef5d @@ -9911,8 +9919,8 @@ trackedFiles: pristine_git_object: 38fe0419b8c9d77f2a5d851fc70a323951dedb9b docs/models/createwebhookevents.md: id: 10d6a80bb783 - last_write_checksum: sha1:58839dd6552f062f0f3c43f2d43b5131a0625d4c - pristine_git_object: a17343c5554e0b0585166d68a8bfcc2a8c4dbbd6 + last_write_checksum: sha1:319470e9d2fdd70357a10b1c9ff8a43da8df66ce + pristine_git_object: e3be570ac47dfe75240a0534f1887980455a209b docs/models/createwebhookrequest.md: id: efcfd06b7272 last_write_checksum: sha1:44b2a8bfb8b1debcd32b32867014eabda4c62a5b @@ -9927,8 +9935,8 @@ trackedFiles: pristine_git_object: fc44fa51aaa75c56c6817d4cd9ee52687fb36213 docs/models/createwebhookwebhooksevents.md: id: 04803e9d4c45 - last_write_checksum: sha1:51e08aa3c595e1f55709cfb61dd938e8b45875a4 - pristine_git_object: 4859af21a6c6e0f0dce808479ceeeed0e49b038e + last_write_checksum: sha1:11f54a43cf83b3f9acaf9604b4b241587e75b34e + pristine_git_object: e70545bd87423ea2bfdec6c0b4774b186d953004 docs/models/createwebinsightstogglerequest.md: id: e616331cdb1b last_write_checksum: sha1:37da1dddc30abdcd8c6f083d5e7d32163943255a @@ -9995,8 +10003,8 @@ trackedFiles: pristine_git_object: 2eb21d02a66efa009d1b318a6118beefe94d170c docs/models/credential.md: id: 937b5ba83c61 - last_write_checksum: sha1:88a72efb4aedea32854a141ff0a456eafc00858f - pristine_git_object: 21f18ddb571ae6cb2d44744da84bb6ae6bcb0ea8 + last_write_checksum: sha1:fb39724867bae63fd5e31d711e4a0c44917a747f + pristine_git_object: c7983287e499b3154d05f8b10cae4f3340d54c3c docs/models/credentials.md: id: d42a3e64a8a4 last_write_checksum: sha1:0eb1c004a048a409cf441dfa0a2cb521d75e5f98 @@ -10035,8 +10043,8 @@ trackedFiles: pristine_git_object: 8e7c8bf65c0aaaea587bb3b4c0f5f6c5cc74324f docs/models/current.md: id: 04a3285bdd31 - last_write_checksum: sha1:5b48c9b4b92bdde088860a199515d192306dd274 - pristine_git_object: d1cd13cbb583dad3b7e952d4b6dd1c65e3edc577 + last_write_checksum: sha1:265abca3a9862dafcc9013bac0d93f329b860198 + pristine_git_object: 5db3144499ecaaba7da1c333130a0f873a4e0dda docs/models/currentdeployment.md: id: b84bd619b419 last_write_checksum: sha1:1208c58918b90451ce8b1447f7facf9e2c914b84 @@ -10051,8 +10059,8 @@ trackedFiles: pristine_git_object: 52cc11417633bbe4319cca86428eaaf58b82a16e docs/models/customallow.md: id: d4f0c9a1c562 - last_write_checksum: sha1:d22b01090015a746d9eb4b4acf3ff546ef54d7ef - pristine_git_object: 2baa20ada822a5d0c3334dab1f50e958656179a7 + last_write_checksum: sha1:d5bfbc9f92206fbdd5ac024dc5cf23c819ad806c + pristine_git_object: 6edb25a21b91b3e22ec340f7fd791432d808cadd docs/models/customclaims.md: id: 2d39e46d1d26 last_write_checksum: sha1:1c826df3e271b866aebda3587d716114dec26164 @@ -10091,8 +10099,8 @@ trackedFiles: pristine_git_object: 1b8fea15a13ba23c78439e50e15d33e23181946f docs/models/cve55182migrationappliedfrom.md: id: 81e0719d293b - last_write_checksum: sha1:3cfdfbb69785aa418060ea6552a95d7ca040bf53 - pristine_git_object: 31fc29008b21ad2288552b9fd4a2df4b03af906b + last_write_checksum: sha1:5b839a9213d28ad610e8bf0667ec279dc4d0d7b9 + pristine_git_object: 6f3e261461d1c50a82cda0e3ffda907a535c1b9b docs/models/daemon.md: id: 2701a6ed526d last_write_checksum: sha1:57c3fc5d2460fb8c4f90cd961a5d097a7eac9408 @@ -10131,28 +10139,28 @@ trackedFiles: pristine_git_object: b15b612fe2ab0acbbdec1a40210202254850101d docs/models/data1.md: id: 77ad26600db3 - last_write_checksum: sha1:9b9298dc55b235a45e91e050be0ab2ceaf1889b8 - pristine_git_object: f0ea0d985ab877fbb2989f605e7d69e58711e4ba + last_write_checksum: sha1:de7ab8e515ed783e6086ea2bddecf5fb0b925049 + pristine_git_object: f54173e7875727d1221b587763575df10054e3fe docs/models/data2.md: id: fe985b86b77b - last_write_checksum: sha1:92c88bd6a4485fc26b860e8fd5f506a5f78f3aca - pristine_git_object: df8e3682e8387f871a48e9a8357ceff5b89fe889 + last_write_checksum: sha1:2d739d06695eea1e8c9a43df938cb7a8307e01a5 + pristine_git_object: 65c1c844f6415b0b4f91dfaa2182c4d41c754238 docs/models/datacache.md: id: 19656e299ec5 last_write_checksum: sha1:4b11ffe23d8b6b5b7416389ab9e32fb694998d58 pristine_git_object: c9fcd7910a666f7408098f31dde19654b59a9b03 docs/models/datareason.md: id: 613ece44c1f0 - last_write_checksum: sha1:8ba3ea653ff252a118b882d9a23d230c8c4d6655 - pristine_git_object: b56a76a592ab1d4c1b13255a383420a47b086697 + last_write_checksum: sha1:be916de2c5b893b8bd43e51dcd210cc4d52efd7a + pristine_git_object: 6b439be6fc96a3e4cd50f50a74d330fa4c2f30b8 docs/models/ddosalerts.md: id: bf1f1c5bfd51 last_write_checksum: sha1:656f79adeda271475dae498c75732a27d99d2b00 pristine_git_object: 6e1449e2c545faeb94db9b9e92c8b11a6364d82a docs/models/decision.md: id: 599240f83696 - last_write_checksum: sha1:66ef31700e4765c16f7d15c8ca14e2f55dea134a - pristine_git_object: ced38e4cc9d9d42a88a76318be8e82c5ff150edc + last_write_checksum: sha1:78d9d188754b69680c7051437b14eb9f5b2d5c41 + pristine_git_object: c41bf54261f19d4bde2e80c9dcc82455a4054344 docs/models/decrypt.md: id: 0b9942c64f1b last_write_checksum: sha1:6039e4a495ebe6d5aaaa2b48cbec914954dfdca4 @@ -10171,8 +10179,8 @@ trackedFiles: pristine_git_object: 1bdb0151fb51d59e37ee66365d2f858746efb097 docs/models/defaultcoveredcounts.md: id: d0966685adf2 - last_write_checksum: sha1:ce641c5bc1fde7d0ebed65d63bff246bde3a8254 - pristine_git_object: 85848fd98f591c054bcfd807bc85112b1d0c1942 + last_write_checksum: sha1:f1c9da7e9e401b15e3e0ff73b41abdbc537af18b + pristine_git_object: 1f24100a8899e283b0ec51088afb1f92fbf128c7 docs/models/defaultdeployment.md: id: 1216e71a7b0b last_write_checksum: sha1:4e553b1bffb3b5466217e4dece17f3d5419664c3 @@ -10191,8 +10199,8 @@ trackedFiles: pristine_git_object: 5f34c9b20030b56e00161943dc913c982aed7cea docs/models/defaultmode.md: id: c442eaf1d70c - last_write_checksum: sha1:ebf6d5b5979d6757ce342d00c662270e1aff6fe6 - pristine_git_object: 3d68464ed9f4aba17105a9d21c441936c640d6d7 + last_write_checksum: sha1:d813bb9b7cad8752928b80a7727b3176ed736eb0 + pristine_git_object: 5873d6e4bd2a406cddd1765943ab88174615fb44 docs/models/defaultpassport.md: id: 0f0a12bc2337 last_write_checksum: sha1:0d794eeb385979af373cc964c7072ca9d9d19f12 @@ -10367,8 +10375,8 @@ trackedFiles: pristine_git_object: eee6a2092f89196da9d780dfb4182c36fd37630f docs/models/deleteduser.md: id: 9d251ca7cc6d - last_write_checksum: sha1:5e5a2d144e29425b9b53f3a0be99c0490e46eaa3 - pristine_git_object: 9485b1ceea75f019a04288787dac014dda85cacf + last_write_checksum: sha1:9fb6053ef8f06e332bdb8f3dc9e753663691c6bb + pristine_git_object: dd903f3834514000a1d48f4bcfccc1f020016e81 docs/models/deleteedgeconfigrequest.md: id: 30871e0c15f9 last_write_checksum: sha1:6f42a8dec60ce571cf72a665fd4d7d546dbd121a @@ -10379,8 +10387,8 @@ trackedFiles: pristine_git_object: dc0613738203ff2dde034930c09d969a16e24d39 docs/models/deleteedgeconfigtokensrequest.md: id: 5daee52c0380 - last_write_checksum: sha1:e918f964a059709175f0a24523fddda336af4def - pristine_git_object: c4649723e025c896e9cf4610518aeb84b5d8aceb + last_write_checksum: sha1:cda2e60b23e8565c9011c968eec2738ccd61a797 + pristine_git_object: 2f83fc13868be4c9289eb8b75d47253f5d788714 docs/models/deleteedgeconfigtokensrequestbody.md: id: 4f10b641f70f last_write_checksum: sha1:c20a98a85b90ffd60477b639fb692ae4cc0fc0d2 @@ -11775,8 +11783,8 @@ trackedFiles: pristine_git_object: 7645faccbe04b06cb02fcbd0ae65e60649fca73e docs/models/deletesandboxresponsebody.md: id: 084eebda461d - last_write_checksum: sha1:30c0e2a7968c118a82d3c8d17dbf949ee562a0a6 - pristine_git_object: 033cd91028bef67e2dd7e1f1f5a5f0573e023c39 + last_write_checksum: sha1:fca804f3b4e0a7c16c3e3da59d609e988d0c725b + pristine_git_object: c1fe40899d0c99961e97c356aecc2aa4edf3b371 docs/models/deletesdkkeyrequest.md: id: dad68829547e last_write_checksum: sha1:94f3bc14f4cf6fc4afd8231ed8c34475f910ef3d @@ -11939,16 +11947,16 @@ trackedFiles: pristine_git_object: 80e170d49f7c50e8bbff10ec9622288d2a2fef29 docs/models/deployhook.md: id: f6fbcd301572 - last_write_checksum: sha1:0c64f928cecdffddd4744f49c5e3bbb84b1f8178 - pristine_git_object: 0bca13a943594ebad03082793ca8c576f921ff09 + last_write_checksum: sha1:a5faae5aa94a8c563761b948230cd5be1d8e2298 + pristine_git_object: ad5a92cc95d132eea0f74b475043de38ffb247e4 docs/models/deployhooks.md: id: e7a599dd6e40 last_write_checksum: sha1:2df97dcaf17767a8a0bc3752ba22543538e64142 pristine_git_object: d689a4dd4ba59eec4a43b781feeafa70c1bbb640 docs/models/deployment.md: id: e43ddcf597c5 - last_write_checksum: sha1:6ad241b7fe0b604ca2156fa769658b51b5392781 - pristine_git_object: e12ad81cec23437c08267b4135088ba788027fa3 + last_write_checksum: sha1:5082058ebbfeb58789119f281afcf22a0e4d551d + pristine_git_object: 972d6d1d36058c64eedcbf918ad2f8be71013660 docs/models/deploymentalias.md: id: 135528aca4e0 last_write_checksum: sha1:d0fc90707d054dfac27f04411c5c1a3522db3cca @@ -12099,8 +12107,8 @@ trackedFiles: pristine_git_object: a27d98db0eab31df40a2115775db89ef797cd218 docs/models/dismissalreason.md: id: 99649abda72c - last_write_checksum: sha1:c95cda249afc2e0ccd8a3d38d24567c0d7b5b376 - pristine_git_object: 59244cf863247a3d67af5529c7aa66408baf8209 + last_write_checksum: sha1:b197a757678a001db0fdc49522c775166f742939 + pristine_git_object: 26fc8a9506b064b9ceac68882138086948fdc526 docs/models/dismissals.md: id: 0392d7d58b83 last_write_checksum: sha1:bfc35a0c191a4c886fb21b271a1b2a755ea4d346 @@ -12127,8 +12135,8 @@ trackedFiles: pristine_git_object: 13ce610a65f2566b2ca46f8105aa1c46267ac4da docs/models/documents.md: id: b4aec1b09482 - last_write_checksum: sha1:bbfade678c5ca0d1d34979b6c7a01ae7deebaeb2 - pristine_git_object: 1ceb46f492ff3bef9a1c53497fda431a72c2b53b + last_write_checksum: sha1:270e175ad3de6aa0c3dc2bc536a6ee291e36f2d6 + pristine_git_object: 97d12fcccc690290906695a53059824dd5788584 docs/models/domain.md: id: 8fe01d6f9715 last_write_checksum: sha1:d13be279c9131e8054da69b7b84842dc11fbf1bf @@ -12355,16 +12363,16 @@ trackedFiles: pristine_git_object: 13ea89c33897acff244c1f11dc569b3d361278ba docs/models/echmode.md: id: 15a449706f06 - last_write_checksum: sha1:39b8c72c7770389c177aefbdf74fcb083a966594 - pristine_git_object: 4256137b652f4ffbe7bc2a362ec70fdd6d795bd3 + last_write_checksum: sha1:d44526c6e48766e549058bc4ff7189cf22b237a9 + pristine_git_object: f4c3b61e1b38d804863f6d4b69683f3f616d7cca docs/models/edgeconfig.md: id: 423b2fd8df35 - last_write_checksum: sha1:e15d692e7d699d933c5c56bd2190358d368625e5 - pristine_git_object: 0cf8dbf5022c56d66fd182c6623090d89296656f + last_write_checksum: sha1:c50e9e5c3ddf553055a49e3fae28d3fc558b4029 + pristine_git_object: 3959c1c75083aa31f1e28513daa0daed0a364e7a docs/models/edgeconfigschema.md: id: 9748adc3c43a - last_write_checksum: sha1:f9c8ed1d0b2143ab50e660908a4199dd3cdf5135 - pristine_git_object: c18b53c078dfc1a6624386d590f3e94af2d45dd8 + last_write_checksum: sha1:9598001bf239fabef64d21c2254ebd06ae5d998a + pristine_git_object: 9c13d942e4e657a01ea81df3194e24124b74ced4 docs/models/editprojectenvprojectsresponsetype.md: id: e13657cb0f5b last_write_checksum: sha1:a71a0a1f42221cab47611b95c959389f6a31eb61 @@ -12679,44 +12687,44 @@ trackedFiles: pristine_git_object: 97b5d61df6ebe7182bc7a8f6f49c2420cce1f97e docs/models/eighty.md: id: 7bb3c64fd2db - last_write_checksum: sha1:ed106c57ea6dadec0aba4310e72834707ed2b03f - pristine_git_object: 318984bae2cc0644e6ed3711d5c7e60d3320b0f7 + last_write_checksum: sha1:dca35813e6db0bab999729d67377ab5db60f56bd + pristine_git_object: 1c7be4987ebaa5f6b22c56fc020cb5029d7f1063 docs/models/eightyeight.md: id: 6acb8b8b74ee - last_write_checksum: sha1:b302272550d95ecf6de8a931e140e027edebfcbc - pristine_git_object: c139a8a34033e743e400b2f9f05efd5076debbae + last_write_checksum: sha1:744ecb5387fd747a5efcb4db080f46be394641f4 + pristine_git_object: 6a3e0e25a173e1cecbecf443f9044f9845f8c927 docs/models/eightyfive.md: id: 269a010d0fa4 - last_write_checksum: sha1:839e369d8775684fe7c2939900913bf2537d01ae - pristine_git_object: 0ab22206c919320c9daecd90b32d6cc3d5fe8b7b + last_write_checksum: sha1:ce05e85977492d41740c75bee7dd3b177e4e6bbd + pristine_git_object: 3d043e0686c9096d1680d9699df8b4b26d841c40 docs/models/eightyfour.md: id: a52bbb889534 - last_write_checksum: sha1:558d4b5eb93d21e8d9dadc871e9f8ab0f1b6a5c7 - pristine_git_object: 9e88dd5a4fe96f88aecfc7a921f848106386f193 + last_write_checksum: sha1:7d87f17dffae30fcb111be682a9d21dc4e41a541 + pristine_git_object: 13036ed9c31ababa76c383fcb457553ef930bf31 docs/models/eightynine.md: id: 9d1812c63add - last_write_checksum: sha1:ead5cecb47a03f51cdfb9248b884e94a6aa74eed - pristine_git_object: ff43c2247d44bfb3dd5125c7a91beea615c0247c + last_write_checksum: sha1:a0cdd6b971b5514280f9fbeaddb89f2baec556bb + pristine_git_object: 913f83899e6da42b04f36daa78ad4e3a8224173c docs/models/eightyone.md: id: b2bb7aeb04c3 - last_write_checksum: sha1:69fa13c93965e03886df7cc74d5a18771bc0dda4 - pristine_git_object: e2d8034595ce7cb3546058fa5380f5297971c0ea + last_write_checksum: sha1:886d652f64be7960ba21dfc7ceffc86069743bed + pristine_git_object: df97cb944a701f4b50ec5905b31e97de3bdb5f05 docs/models/eightyseven.md: id: 9f10320d2c6e - last_write_checksum: sha1:923adde0334dfa6d1a145f28e127aaf5a0b11924 - pristine_git_object: 60ecb0599257ba0a95ce19b4fba81b1b583087b3 + last_write_checksum: sha1:38ecc176a7695547cdb08d59dc8e306f7c4033c8 + pristine_git_object: e9518509fea23c5d29046ae93ad79b04fb3f62b3 docs/models/eightysix.md: id: 9d1e1ab3bc3b - last_write_checksum: sha1:128c752daa26b6e0252c46a9c26ca5a1390e3885 - pristine_git_object: 0e18b0280b59e62c86ecd6fa8aa387b09386db71 + last_write_checksum: sha1:81b8b06643b45dd948361b2f8983e6732e75ede6 + pristine_git_object: ccaf75cca14728cf47869c349a4bdb4b27224562 docs/models/eightythree.md: id: ce5479fe2d69 - last_write_checksum: sha1:e1b83a6200345adbbf57c0178164639f72b4d14e - pristine_git_object: f1aca68db492ee92510206d95bef9aa9b489e192 + last_write_checksum: sha1:201384b809518d87fb7c3a7859e7f45bc217ecfa + pristine_git_object: 39491fc42c7c9690db72c5d5d4288f84ea45b8e4 docs/models/eightytwo.md: id: 7dc73115074f - last_write_checksum: sha1:44de200b4f7070cd514c88aa9620974cf6ce295b - pristine_git_object: a812dd4da353edb46f9dfbe587f3c0232b6e3acd + last_write_checksum: sha1:943688c03f5ce34d503d14bdf20ce10edc2264a5 + pristine_git_object: 6df6e14a7d09b49dfbf3be023283e2dbfdf0f1a1 docs/models/ejectmanagedconnectorrequest.md: id: 8f496cab3f5d last_write_checksum: sha1:5eef569414e4b43ad2fbf3cd835dcdf1eccd4473 @@ -12767,8 +12775,8 @@ trackedFiles: pristine_git_object: 99a76aeba38c9d22e8497611ba1d302697341373 docs/models/enabled.md: id: 94c9ec2dfa20 - last_write_checksum: sha1:52dedddd4a0c4ecc20d1964442885c7692b4f11b - pristine_git_object: c1438b689f3871009fd10ddae678452fe2cb58a1 + last_write_checksum: sha1:dff28a63edefdeaa0ab3c2a57f708fd1685dc971 + pristine_git_object: a94cbb67257960d61fe0ac7f427af661f372bc67 docs/models/enabledenvironments.md: id: 884899411cd3 last_write_checksum: sha1:027eadfcf43bffb36bc0c536f6f403bb1be4c909 @@ -12791,16 +12799,16 @@ trackedFiles: pristine_git_object: ef59d8f84ef0cd7efb2d0ec79aa1bffd35cf86b6 docs/models/endpoint.md: id: dc72b5fd04e3 - last_write_checksum: sha1:95356ea482137c1097bd6bcfbd4e7032b0245ee9 - pristine_git_object: 2e691bc8ffd58fb5982a96f1c88cb2d927bf45f0 + last_write_checksum: sha1:0ce729b33133f224f4ad9e6449902ffe35fc73ad + pristine_git_object: c0be9538159832848b38f1d4f28dc8d8c95dee4a docs/models/endpoint1.md: id: 114198fc9d90 last_write_checksum: sha1:31f69bf03425be059a55f0a5f7fb58601135d3de pristine_git_object: 60b3f8afaa1f50e8a0d6704bd9ec3cfe4c2f16e3 docs/models/enforcementscope.md: id: 6464a773b61d - last_write_checksum: sha1:3d78776c94237e88f7aa0ecfff306ac3698721d2 - pristine_git_object: 5b3d125f909798c745e19c4d51d83614b0c682d8 + last_write_checksum: sha1:2a04c10bfc0fe37680cb87dddfabdd428158f20d + pristine_git_object: ce777bc82baeef536366cda4a3ab2375c6fe049b docs/models/entities.md: id: 93395fa8f8d4 last_write_checksum: sha1:1f465a8f36b4e82f617002e38f1e8a113c964d8d @@ -12811,16 +12819,16 @@ trackedFiles: pristine_git_object: 06af34ee1c7a2db32da7bf03c3a560bb7b7f63d2 docs/models/env.md: id: e7c321552841 - last_write_checksum: sha1:bf918ed4ac1378afb352a554fe5145f275490469 - pristine_git_object: 05de2e0a97a4d77c8fd758fc000a38d9492d51d8 + last_write_checksum: sha1:7a3360a41059eefc9d6bde4698a4619b9f7a7185 + pristine_git_object: 1bfafd5660abca72e1c17f79575611b31513149e docs/models/envid.md: id: 25c9ef210c0c last_write_checksum: sha1:05568469b2d1d50f92ad8b8919d4d068249e8245 pristine_git_object: aedf3330bddca2e5c032120015a2361c01d2f7b3 docs/models/envid2.md: id: a161f33f170e - last_write_checksum: sha1:1c6d81c2f92df2aa6bc74574ebe9fa77b1123914 - pristine_git_object: d4443381523fecab2e419b4696fabe6218f1e503 + last_write_checksum: sha1:faabfd9ed610c9c7993146608172de32d3737d25 + pristine_git_object: 7fe7f12176f7addd78c4bfa7e2966b5e8b65b91b docs/models/environment.md: id: 6a34665c56a8 last_write_checksum: sha1:cb097ee9eab84f67b20e3c25d05c4d37aef3ca0b @@ -13007,8 +13015,8 @@ trackedFiles: pristine_git_object: 971cabf5602c0764915ed6c9e3720054e621612d docs/models/extendsessiontimeoutresponsebody.md: id: e964e45b7dfe - last_write_checksum: sha1:870004ee7c2fd979213daf109150f12d884a36c3 - pristine_git_object: 51de8cb7394a3f472e9d67aefaf1bca81ff81b9d + last_write_checksum: sha1:3cc058589146f985006178789e79a2ec22bba779 + pristine_git_object: f77a0d41bc36e79f7d0f34527279b1858a601446 docs/models/externalresourcestatus.md: id: b1a7a79b40f7 last_write_checksum: sha1:375f86f5b47530a58dcdcd945c2dbaabbd5eb9b9 @@ -13019,16 +13027,16 @@ trackedFiles: pristine_git_object: 4d47eaae36317fd5b5b349c8dff0504f5cc7089c docs/models/factors1.md: id: ca5dc7e18dc3 - last_write_checksum: sha1:042a5b38bd885ef89b108523935588e41c7134f9 - pristine_git_object: 8c5227326a6d768eb38bcc3e50c0e429e0e113e3 + last_write_checksum: sha1:a6a754b1763d94721d612a03f7c2dbb5a7b11871 + pristine_git_object: 8d2a5b56cbe2272750cb57b669895e551a8e36a4 docs/models/factors2.md: id: 40e2c0453360 last_write_checksum: sha1:47608e69b8e14cf92aed1af3e8d92b755c713452 pristine_git_object: e348839e2a8877189d7ba368c59e6f4d07423905 docs/models/factorsorigin.md: id: c41747c13807 - last_write_checksum: sha1:f1a7ab28528d4d7a747317c1d151419e1eacc1c0 - pristine_git_object: 671272a66a41220a0fb377d39730ae8c9069c460 + last_write_checksum: sha1:3e7f377cac8f44e57334fb26d3608a7334d380d5 + pristine_git_object: f44a402918001e360bd1dca6b13db71a2a47bb6b docs/models/failed.md: id: 1a81e7fa1ca5 last_write_checksum: sha1:a0684177ff107c91f5e82b2bfd9ec84158ad8bdb @@ -13039,12 +13047,12 @@ trackedFiles: pristine_git_object: 4a5b4fbba82c85f489047069ad1ae8d6fa335ef4 docs/models/failuremode.md: id: ff2ab8e16a68 - last_write_checksum: sha1:477fecd7444ea70e502e7a87833b7e7db5b909ab - pristine_git_object: 594d9898746d69b194f3521b59084b0e90124890 + last_write_checksum: sha1:686f238ed49c0e7f8ac6440380862e1cb77d0853 + pristine_git_object: 6f0d014c0519c962a0f0b31011120da34acf4ed7 docs/models/failurestage.md: id: 5aa2af94939c - last_write_checksum: sha1:b278f2760ce62f6bf67f52f4b73e4f50c7174e05 - pristine_git_object: c1840123a11c03bc96886b51b634a2d6dd72b7d0 + last_write_checksum: sha1:da0b5236bf5ed751d68c17dce1becab6013c5d0f + pristine_git_object: 5c5533306339e8a0eba44135a8cbd754dcce7927 docs/models/fallthrough.md: id: f2b842fb37e1 last_write_checksum: sha1:b36f3d1ea6631a9e46cf48edc59649f5265bb291 @@ -13103,44 +13111,44 @@ trackedFiles: pristine_git_object: 29b2e1cfd9ec96643c774f6785af336db151baa1 docs/models/fifty.md: id: 607764110dbc - last_write_checksum: sha1:8bef9d40c634ce6dfa0823bb541af2c95e30efdc - pristine_git_object: fad956d5dc902ac3587f24ac8e8577042136ae6d + last_write_checksum: sha1:2fd4062134ba0293e0db01a0b1c09a604c1a85f0 + pristine_git_object: 74c26261821836228d70779424e8c1e6b1dc8ef6 docs/models/fiftyeight.md: id: 924665a21786 - last_write_checksum: sha1:850ffcde1eb04f8d3dc48feb899a44e1b72263f4 - pristine_git_object: 96b6c3166abf639cb77449765d1d193a11d4696c + last_write_checksum: sha1:3e76269a010fe2144019126728e499d1592a9885 + pristine_git_object: 824bd128c7ff244e726db7abcdf7cb00bc21cdad docs/models/fiftyfive.md: id: 595406fd7f29 - last_write_checksum: sha1:d249392e610fa0e37662d6322ccb826438e35d7c - pristine_git_object: 304ae5687923b7ef536bf877bcb00caa065ce0be + last_write_checksum: sha1:8fdb8b7ce5e0d42fc62df97536a0290b3327c4a1 + pristine_git_object: d1bc0c680f59281ba4261996780ff7e933e0edf9 docs/models/fiftyfour.md: id: a178e9491bbd - last_write_checksum: sha1:67415b8765dd4d396b759260b85e149e6c6ccfb6 - pristine_git_object: 577b5d8e76f359b5fb2fae333c9a5e68eb70764d + last_write_checksum: sha1:4550cef5dee497ebe558662d9a3d92c38570d7b8 + pristine_git_object: d61c44220f4500ca5e92ee2acf0c7c15fb2b971d docs/models/fiftynine.md: id: f5b7ce14ce1b - last_write_checksum: sha1:98e7dd94abae371874dea1c6190d51c3111e3697 - pristine_git_object: 8ac3cdb499b6d7d31617c9cac61efa6042fdb2d6 + last_write_checksum: sha1:65a5bf8290c6fdfba25af0c6dda10f2c74cd638f + pristine_git_object: 48b9dafa885040214f6b7db4f14344e0864358fa docs/models/fiftyone.md: id: 204d3bbd712b - last_write_checksum: sha1:8f86a69a8f6bff93e5250abc97a005d2b20c33b3 - pristine_git_object: 37f0bd4acc31e5cdf3c124b3851a4671f25e2553 + last_write_checksum: sha1:bc292c79b5221b79c4c35098f76dd7b2ec633585 + pristine_git_object: 249086b5cf86131fe8b27b94ac92aa7a9d5fa0f1 docs/models/fiftyseven.md: id: ff6a2c133c35 - last_write_checksum: sha1:5110e53598e3b10cf75b34aa5669b9c1308287db - pristine_git_object: 4f823351da60b0983987623a4bd9409f8367b7f7 + last_write_checksum: sha1:734f83bbf958af92a28e568d62b769635f94f75a + pristine_git_object: 2009626c790370bf8e13156e4c85f611338f0a25 docs/models/fiftysix.md: id: 32dd07192608 - last_write_checksum: sha1:e5278eb409981e2591fc1073bc8e05c976179683 - pristine_git_object: d019cbe2a7419168c58d9e815471da5418e9997c + last_write_checksum: sha1:88c21173a37f88dc4da6f0c8844e150219245faa + pristine_git_object: 0fbc89ad24f940cd34032be7d616b59d9372b790 docs/models/fiftythree.md: id: 780e2dac11db - last_write_checksum: sha1:b9ad2d5020e75425a8aaedf5a2d1120ddabcfbb3 - pristine_git_object: 7e9d99afd3512c255aa1f20d1f4abefe71f671c0 + last_write_checksum: sha1:98e5f838749795a84e3c58266fb0320c215a83ba + pristine_git_object: 40463b0e07a5a364f0fa0e934d27c8ffb3dc2588 docs/models/fiftytwo.md: id: 5f744f32136e - last_write_checksum: sha1:c72851a0246a4f30335d80a6b8d4360c77aea4c8 - pristine_git_object: 62e5381b92749d37479f9d7c4f6afdc016746014 + last_write_checksum: sha1:00286f8cac51bbe5146d0e907407edcc5bc6c8da + pristine_git_object: 1f43b0f1eaff08317a9cd6cd9feb53336d34bfc9 docs/models/files.md: id: 39ae78298c0c last_write_checksum: sha1:ac67491ce5b0d614c2269fd3010505753b5ed76e @@ -13487,8 +13495,8 @@ trackedFiles: pristine_git_object: c16faeca18dee807c0dfec9ecbfe72bf989e269c docs/models/filters.md: id: 1370bfdd2199 - last_write_checksum: sha1:32cd130ec18fa69a0c433d6d3a1a62dfd4df25bd - pristine_git_object: 916cd802cd01c7a2e770a36c1c485c5c0ed82ed9 + last_write_checksum: sha1:1a21b0a67765f6fc4283b573569d9a711352c16f + pristine_git_object: dc4613a25b5ab5fa791cfd53d87122b115429e03 docs/models/filtersources.md: id: a6fadfcea887 last_write_checksum: sha1:66abcf439b12d0957ac845e40ecd6bd72741541f @@ -13511,200 +13519,220 @@ trackedFiles: pristine_git_object: 73d75ebecc015c76e559557511807ec847ffbf0e docs/models/fivehundred.md: id: e3110b43aa14 - last_write_checksum: sha1:a7c38e69e811c3d06f55bf654f8eddad30255148 - pristine_git_object: 90ef01a912ee002408a1f60585f0d8b20da40b77 + last_write_checksum: sha1:269efdbe2bba296e95dfb1194fa0b01b86e32c0c + pristine_git_object: 7af9634f872551d1b3aee4b33fd5aa3e4e207804 docs/models/fivehundredandeight.md: id: ac2f704a3b3f - last_write_checksum: sha1:21490fed8e4ad81e8df24469e514bbcab6702cdc - pristine_git_object: bb47715c51fb43060e08d54167f24bf38e89face + last_write_checksum: sha1:36b3cd89366629dc29d4ba458441b150c0a37631 + pristine_git_object: 01cbe47a3ecab00154df2e4a99a0f01514b4e983 docs/models/fivehundredandeighteen.md: id: 96b5ed38c3f4 - last_write_checksum: sha1:07f444a3291e61be95edcce17738fc4bc03ad48a - pristine_git_object: c784324a33eca6c00291714c696d8797f7f4741c + last_write_checksum: sha1:32fab177f370610888eb6f7407efd16c0e84e2ce + pristine_git_object: 6414ddefa11ba3b9a06bcaaab672a3542911e12a docs/models/fivehundredandeleven.md: id: af2a66c03c08 - last_write_checksum: sha1:c8ed86a45e0995dca5ba712b36b5fa9a4c56979f - pristine_git_object: ba5d57d69624d7aca05d915e0f68031ec01a1856 + last_write_checksum: sha1:b5d6fbbd562ac0234d9dfd5675a9d0bb1150997a + pristine_git_object: 461eecfbee653d0fce8b4b7ee743aba3f751b2a3 docs/models/fivehundredandfifteen.md: id: 64ad46d86fbb - last_write_checksum: sha1:aa650f701cffdc70eea8213403057fc1942b0e52 - pristine_git_object: 04b2547f8d1cdbd2801a2abfde6ef512585af372 + last_write_checksum: sha1:2726b8ae56642ea233f1db13e26ac89784207c29 + pristine_git_object: 83ec62f185929221a79270cec383d3b6022cf7a5 + docs/models/fivehundredandfifty.md: + id: ebdc88fbac63 + last_write_checksum: sha1:69efd65b13a7c27acad0cf7b762cb11999cb9be7 + pristine_git_object: ec58010220a4da48582a7c47012348fcdbcc0cb9 + docs/models/fivehundredandfiftyone.md: + id: cdaed439992d + last_write_checksum: sha1:1f0bb75553377c76e82151998db3983d0ef5ad8c + pristine_git_object: bcced5ddf87cbddd2380969016a1986711831dfc + docs/models/fivehundredandfiftythree.md: + id: 201bc945f27e + last_write_checksum: sha1:135950952e53fbaa0fb79f0724facff2079eb405 + pristine_git_object: b89ddeb5a9e749ee0911cdbfa638901323d081b5 + docs/models/fivehundredandfiftytwo.md: + id: aa9f2fb0ddfb + last_write_checksum: sha1:82e687237f1710dc99a0a944c8c0390f4f61036a + pristine_git_object: f04237eb5fcdbb2a48556b755ad72bfad563749c docs/models/fivehundredandfive.md: id: 378fc24e105e - last_write_checksum: sha1:1fee38f02d41a3281cf61e66082c13b9009b0419 - pristine_git_object: 89c357e33aefa08c9ef586815637dee91c216834 + last_write_checksum: sha1:93379a0ac59b70050d5f7f9cb1515b81941f2c8b + pristine_git_object: 2bf6aa58649a5b26a48bfdd477d8bd3d35b4edd4 docs/models/fivehundredandforty.md: id: e3b0fb3987f2 - last_write_checksum: sha1:2b95a7bbc611bddb3f80610c3825aeaf2fa4bae4 - pristine_git_object: 46c09b28a8f5ccbbf89cc558d231f35150cb83f5 + last_write_checksum: sha1:181e6466675bd16a083c2749e8e7ba8281299f27 + pristine_git_object: a1f024c69e393dd10c8fc6bd82f8cd9986d7302c docs/models/fivehundredandfortyeight.md: id: 8ce3b070800d - last_write_checksum: sha1:4eb163245d66022e84a2bab48ecc9777ef1b0290 - pristine_git_object: dadf4c1ef1add917b3e02261c768c76fed2b6143 + last_write_checksum: sha1:5ae00af09e09ef580627e44bffb65559d1c97414 + pristine_git_object: 19d92302af0fb1b9baaa90940b4f2255f9996828 docs/models/fivehundredandfortyfive.md: id: 571d02fb1270 - last_write_checksum: sha1:e26a89de49076fa142c8123f6148ac5eb6cc69fb - pristine_git_object: a3cc8e4da3aaa3c62b4e1213cbe05203dcee8432 + last_write_checksum: sha1:7acbd774715048b075e3d4d0acb1ef5b897cf8bd + pristine_git_object: d79cdf28e8bea25592b3550b007eef0951792178 docs/models/fivehundredandfortyfour.md: id: 2037a21eb1ff - last_write_checksum: sha1:97eca2fb1ed05f956e03e122fbc6503918ec2686 - pristine_git_object: 85e6d763fea8b3ffa17d9afea8f0f6c4073f325d + last_write_checksum: sha1:432462d122074e27b166aaec1a41e6b89300637e + pristine_git_object: 77bf6aa27c18ca00141ec89b07a40e3d889423e0 + docs/models/fivehundredandfortynine.md: + id: a01b68e2615e + last_write_checksum: sha1:e758bdb54b40b920b652cac422c482c3abe6cf94 + pristine_git_object: 782a3d5a6433733ecb59b5214f15c5c3f0626bc1 docs/models/fivehundredandfortyone.md: id: e9e1572646a3 - last_write_checksum: sha1:3cc4a2aa98119b3afd9c05b2dd8d2cf1c16df1ea - pristine_git_object: 1a345dfea6c6dcc16e701f65be3465bf08de9b78 + last_write_checksum: sha1:96b073c1116ca3fbaab7d7078cddabafbd78ef59 + pristine_git_object: 129de05ca614fd69b9c6244d6d3706b8de2688f2 docs/models/fivehundredandfortyseven.md: id: da083b07aa84 - last_write_checksum: sha1:6caf7a71187506712f94a2921ebb2bc0a0a12057 - pristine_git_object: 5f9194e66a1ee32d194eefeee3f9ae9093b78055 + last_write_checksum: sha1:7ae336e4b420f4e27ac22ab89f1e088dd68c3624 + pristine_git_object: 03f603b446dcbe45529969b9cea7019da6c432e9 docs/models/fivehundredandfortysix.md: id: bc3eba3b4a36 - last_write_checksum: sha1:f363f5386f5e5d18f42118b5754fb8e05cad374a - pristine_git_object: 4e77379e406ccb6dedf3e756bf4f8d0c444c1e9b + last_write_checksum: sha1:048193a2822d554d56f50545b5034db09b9409d2 + pristine_git_object: eb2ebb0fe8e3d8ab890e8bb324406d4b5f9e0491 docs/models/fivehundredandfortythree.md: id: 92888bd018c1 - last_write_checksum: sha1:bfa084a0815bed689347d5dd54bc0bc3ef6f7e2f - pristine_git_object: c48dc54477e7a6065d831ebb0c3160a37e53b643 + last_write_checksum: sha1:4c43478b9d74cc8a9d560aedfa6df10761d5ac25 + pristine_git_object: a5a73a355d20a0469658856e2fd018840878555b docs/models/fivehundredandfortytwo.md: id: 48df6757c05a - last_write_checksum: sha1:68c16a86daa90cabeda24b4e831731c4738bd2e8 - pristine_git_object: fcdb1f33760998111006b21896d198105d8437b1 + last_write_checksum: sha1:87c022b28c00d494561a242d981b606d7230acc6 + pristine_git_object: 32ebfa05cab27c2955a079c1d873a28ac8f8edad docs/models/fivehundredandfour.md: id: 6097fa8c8a06 - last_write_checksum: sha1:9764a27feb191c9e6baa0daa57fb3de98042ad4b - pristine_git_object: 8b5fee9248a97581bc4717bff3670343516340cb + last_write_checksum: sha1:7b9c6a967c585b9a41001f2b3b46be475634efc5 + pristine_git_object: 01115847277ab628acc3e1a6d0af258beb894e80 docs/models/fivehundredandfourteen.md: id: f71e259ec8e1 - last_write_checksum: sha1:116fb49ad5af113a72c4469b38d0439903b1689a - pristine_git_object: 32d9496d2e831dc745ddf5225e52219204e3be01 + last_write_checksum: sha1:50515281b456549f63b2976dd1790f4ed45c160a + pristine_git_object: 5b79cbac7654c93d2266bb10f1217454e088ced2 docs/models/fivehundredandnine.md: id: b8b0aebb1646 - last_write_checksum: sha1:3d66287d1b51258870b2cd0ab8dc9d2b6dd7e121 - pristine_git_object: 4ff8659de5e1e0fce2f07b2a9ee8a1e6cf960844 + last_write_checksum: sha1:b85577d0d617bc88d537642c1fa94cc78762d849 + pristine_git_object: 36f44977aa34f6ced0dd09a5e3ab197d0cfc3ea8 docs/models/fivehundredandnineteen.md: id: 576b9e58f881 - last_write_checksum: sha1:9b086a8b7fc37c92d24bcb749afb6f605689ab78 - pristine_git_object: 40c825bf26072fc4dc23f9b6f97f5154e83d72b4 + last_write_checksum: sha1:3a72f976f8b5adf86af44511359fa9cb0d12c665 + pristine_git_object: af1ca43037c2c88ab82f1c52d65a1150165c8617 docs/models/fivehundredandone.md: id: ea42ac2b663a - last_write_checksum: sha1:ce1dd9549925a3f1ff5b4c8e41c3e100e9ff47fe - pristine_git_object: 1c00e9d4b39b9fa3a9397fcc7b7409f07ab838cf + last_write_checksum: sha1:2a7c470c31bf8ed17faf4e0f7c05547804fbcb5d + pristine_git_object: f2434b17a6a724e915a8a39d4dd257ff682d254f docs/models/fivehundredandseven.md: id: 180f8b1829b9 - last_write_checksum: sha1:7c004504313c43fd74f078f4c28c9818d8826a22 - pristine_git_object: df6c5311069c07966d6f3a0102aca864eb38075a + last_write_checksum: sha1:a515f644832a3170857e0fe95c34af37d1c0db1d + pristine_git_object: d55ac5bbfadf036693f0d40adaac26da80a7150e docs/models/fivehundredandseventeen.md: id: 4014af544522 - last_write_checksum: sha1:fd7b2b175dc2525ead97e9eeed1a871c84acc327 - pristine_git_object: fbbeab516cda022928e806f8c379857c01a4f208 + last_write_checksum: sha1:62fa5c1b687b5bd2e40de6cd38ab7c732d7872d4 + pristine_git_object: fd4a4315b11f9fa49c2124f57731d931121b4ec7 docs/models/fivehundredandsix.md: id: 71ccf7ca2aee - last_write_checksum: sha1:2e3d29b17e506097a54493ff29e7a02abd93e85b - pristine_git_object: 3ba980875197a2b14f8ab8cf275e49e9a3d3fdab + last_write_checksum: sha1:bfa00b68a875a395a4eeeaedcb3ba4bff65b9949 + pristine_git_object: a6d8978a5f0137e595c98535263289bf4f1a4dcf docs/models/fivehundredandsixteen.md: id: 0be270ac0424 - last_write_checksum: sha1:761025e4fdb0dedda510aa92ebfbcb80bbbff66a - pristine_git_object: 4d56c0a5e6b005151f2495f1ed61e99e87642eb0 + last_write_checksum: sha1:e5da8ea33298f70f8131d6e19da35308416d6e1b + pristine_git_object: d71a2351e9de36fbc1523095b8f1d0aaefbcbce8 docs/models/fivehundredandten.md: id: 71b925b7107b - last_write_checksum: sha1:a5d3a2bab3d3f63fb6c1ffe5c9a8236e14c5ae99 - pristine_git_object: bc28da71b1639a685b5e546e05aa6f6f48dfe574 + last_write_checksum: sha1:d11d76c5c9cdab8741d2da04844d8911637738af + pristine_git_object: 8c23c48971b671b49026d2c3186bdc8c314e5d39 docs/models/fivehundredandthirteen.md: id: 8808b677f951 - last_write_checksum: sha1:6010a7cffe76426629e284d89fceec71ec7d0133 - pristine_git_object: ee1a152054bfff3cf30cf7995cf33f211aec4596 + last_write_checksum: sha1:48f2d89b3275efb793a2701b224dcd98561fa045 + pristine_git_object: 56dfbc5b5dbe75e7f119344e8503c9a18be856ca docs/models/fivehundredandthirty.md: id: 013bdd75c010 - last_write_checksum: sha1:00a633d3f568a4347ed31c0e5bd9d69b90f92b23 - pristine_git_object: 42d693533878465c3e6ef151ff1a052b914e8dbe + last_write_checksum: sha1:80e58ac63e596c962a4c9ec8cd541ea26eb4d301 + pristine_git_object: f1b3a9b0c90ceb63d745ca6fcac572776f37d447 docs/models/fivehundredandthirtyeight.md: id: 8fee9c6ef08f - last_write_checksum: sha1:3452ed6f82bc915f77937798250a99d16e574d61 - pristine_git_object: a3a124a7fb1f037ed116606a0e0098e634d6ffe2 + last_write_checksum: sha1:f02b2226824d06262f622b1e679d0189a1cefc26 + pristine_git_object: b088ef7ea33aa6252d993ca82b336b4db87595e1 docs/models/fivehundredandthirtyfive.md: id: 18b5931a8a02 - last_write_checksum: sha1:ad5ca3027c2822db7af2a15d1caaffe291af89a7 - pristine_git_object: 22227bb66a150c816eb097734e6eea3eff2ffcf4 + last_write_checksum: sha1:5be9b4cffe3b22b6223cea9f03c9078be9773a8f + pristine_git_object: deafb2e50fb84c2238e4e6a6aa5619e1bd4f4aea docs/models/fivehundredandthirtyfour.md: id: a422f09fd441 - last_write_checksum: sha1:8996de8cc53d0341fa56b7ab2907fb4499a6491d - pristine_git_object: abec4a0bdb3c29db01dc944c1bd2b8a35544411c + last_write_checksum: sha1:c540b56b7b2982ce1b68121eb13e9f5f705ceff5 + pristine_git_object: fc203aea314a42aa467bd303f9212c2aa9b5ac59 docs/models/fivehundredandthirtynine.md: id: 8423f19764ed - last_write_checksum: sha1:ed734d649224c7220ea8342a72c6f1a2857258a2 - pristine_git_object: 1a579f3d42e7b2abb4f95a584aa9f78f200d6a1b + last_write_checksum: sha1:8a2384e4566eb6c80604d0813a29f000e58ce5ed + pristine_git_object: fffa9f0a1c179860cbbb8778faee822e0222d321 docs/models/fivehundredandthirtyone.md: id: cbbe53df8e4d - last_write_checksum: sha1:6c44f3c56d0db183e23760d53e9c875a52153687 - pristine_git_object: 42a1189fe9e5f600cad053b9bbaf48a61addb8d8 + last_write_checksum: sha1:0881d7fea8065533ceddbc267df82fd895d66f11 + pristine_git_object: d0fde4a5dc2ca932a0f931ef87904bc32ca82fcd docs/models/fivehundredandthirtyseven.md: id: 4f58fb4d99ec - last_write_checksum: sha1:89a1464198f1ad406b14fbace4ce17b260bd57a9 - pristine_git_object: 1620ebcddba59fb38f5d919908bd5e29c1d945ff + last_write_checksum: sha1:d82fcd936bdc8b55816aab1872e24bb439d2d60b + pristine_git_object: 9d0a4810c9f371edc9e272a45e0078ccb5a22611 docs/models/fivehundredandthirtysix.md: id: 17e89f0ce8ba - last_write_checksum: sha1:7661208f61d62e72c7095103d48df308127b8b00 - pristine_git_object: 65841f76a527729a0c7eb0d205a59bef1df83f64 + last_write_checksum: sha1:2e6dafd0337824f3e00f4a7a79f205121bfc443f + pristine_git_object: 8a915e2e38cd401111cd97472391a039c28c35e2 docs/models/fivehundredandthirtythree.md: id: 9a8e7ca15b08 - last_write_checksum: sha1:6df2327f2406d9554aa28fbaaaf41f7abcce1a72 - pristine_git_object: 5265251eda949992434a383bfa621eb7d49d1f6b + last_write_checksum: sha1:81853492976c8ca8d0b093433503c2da00237021 + pristine_git_object: 5ad8b68c460c714ec2bfc3f6cf078c14aef507a5 docs/models/fivehundredandthirtytwo.md: id: 389ed86ee624 - last_write_checksum: sha1:2ff6ab32db4f09473ff3c9337e2e27e6c81ae6bf - pristine_git_object: 5adb917dbd2151fd7a48e502dec46c64d1b76bb7 + last_write_checksum: sha1:06c017cf5d0d516d0f4a03121ea871fdf4f1a5f4 + pristine_git_object: 9087833442fbabf8d4555a74e8b787749548dccf docs/models/fivehundredandthree.md: id: 221419a6b162 - last_write_checksum: sha1:46f474786c132f180c37d06f9a097fc41aa5c678 - pristine_git_object: caa5c736573a4fdb3bebb0d46648a86059f2e028 + last_write_checksum: sha1:8fa8e90fdf71655d88702ddac98399995f9242f3 + pristine_git_object: 4eb2e79550d8ec79dc50838762c4c379f2fa3de2 docs/models/fivehundredandtwelve.md: id: c97c967fc77e - last_write_checksum: sha1:1712de8fc562d94d8f9e94d6a6bfc569b6177766 - pristine_git_object: 2aefde705d045b3f9ae2bae6212dc84d0f2f2771 + last_write_checksum: sha1:09b980b36c8483ac7c03493b6eaf2c5d56bb9f90 + pristine_git_object: 64ce759ce09407bb73f9a618bb9d0fd6f60eb685 docs/models/fivehundredandtwenty.md: id: 6b8db04e83cb - last_write_checksum: sha1:edddf9b5a0dff8f0f2ff8fc1978f145cbd057b1a - pristine_git_object: 5fe51955dc0dbc60b04742025785f3e70a7ff6a6 + last_write_checksum: sha1:c488876c5beea29cfafd64bc2c0b16a8fe87d9e1 + pristine_git_object: 6a7d1ec3e33c49f5dfd2c4cced9b7bbe38818ab3 docs/models/fivehundredandtwentyeight.md: id: b5af01e9c365 - last_write_checksum: sha1:e7ec90e7f494008950fcc8ffe5ce2b3115167094 - pristine_git_object: 046a98c7aa5960a493e1eb5adf4af638c90db8b4 + last_write_checksum: sha1:e797288010dfd25477e7491fa63255e20a91252c + pristine_git_object: 68beba517b968d63befe827e2002911e672e9012 docs/models/fivehundredandtwentyfive.md: id: 49479a043f02 - last_write_checksum: sha1:571fb85e7c3120ebd9f05e3511c9ffd1df18decd - pristine_git_object: fe7d5866d78986041ef5e7bb95d87d6b187e854a + last_write_checksum: sha1:c4be4b1f57df9371ce8ce38fffd99f0de4edf071 + pristine_git_object: ff3b11891c77981c6bcbff7a84de558198ef5f8f docs/models/fivehundredandtwentyfour.md: id: 13d5b336f4c1 - last_write_checksum: sha1:c937bbc219941cfe64e0f0431b59a724b2d41099 - pristine_git_object: c1688b033a941c5428348611782078d537298e24 + last_write_checksum: sha1:fe7c461e6de351f843fea8836c20db2022cc067d + pristine_git_object: 633662f637d9a0e5e08daa8522e29dab075e2c48 docs/models/fivehundredandtwentynine.md: id: 5b01a9827cf8 - last_write_checksum: sha1:1facb986756157c7febafe82200efc277c387c65 - pristine_git_object: 6b6d11d60d4cf9101e8b1efe868ff50155e109cd + last_write_checksum: sha1:fe72cc1bc7b003282e641182de2e32fde0c6287c + pristine_git_object: b7343e68901512b9a70ab9ffd6aeaf93733e2616 docs/models/fivehundredandtwentyone.md: id: e2752e1181bd - last_write_checksum: sha1:9b49296346391f5e46f1f687475c7f59249cfc55 - pristine_git_object: 1ccc8f798f256a1b3222f4f6234d07611b2adb4d + last_write_checksum: sha1:c9cf31b527b691b33ce6886033f4450747e1df2e + pristine_git_object: 19391e5f1ca334d8017da5847b356ff30c70cfd1 docs/models/fivehundredandtwentyseven.md: id: 114a536adf7b - last_write_checksum: sha1:acef691f6ee769cbdafa547f49421853061e941d - pristine_git_object: a535df5e8a57afc21046631912fc05195f6da6d4 + last_write_checksum: sha1:26ef24f66f500922ef600febfb53762465fd6604 + pristine_git_object: 247df54bc43e8a079b1e39af5835829a17bf1815 docs/models/fivehundredandtwentysix.md: id: "560301447746" - last_write_checksum: sha1:fe5b0a5f1924be54e3399fbde540bbc2751f24bb - pristine_git_object: 892c87491ee0ca5ebcbcc0aed7c7b06d53f29933 + last_write_checksum: sha1:e6dcd8c40b69f86dcddce855f203c78df2f25b71 + pristine_git_object: 7d6a3435f73e79f33bfef8a7c79f22ba26baab6f docs/models/fivehundredandtwentythree.md: id: 5612e21dfde5 - last_write_checksum: sha1:b9350c2583cc60cb5087f794ad4c8e78e9db1bc8 - pristine_git_object: 93188e35230a7bced83603c19c12df8697c28c5d + last_write_checksum: sha1:1b0c7504b07a6d727f3e94532d66133a769ce684 + pristine_git_object: d49b7cc2a3a1ea6daa3cfb3caf8eb74af1e4ecfd docs/models/fivehundredandtwentytwo.md: id: 4c468ef3e45f - last_write_checksum: sha1:3aa76ed7f3ab0b8ae87187e63831491c81245d42 - pristine_git_object: 4dc520ed5a6f48c8e8bfc676874116ff4e801feb + last_write_checksum: sha1:8474ffd26a5c73a867aa9d11f7a9bec1b94a2100 + pristine_git_object: c278fe6d3971a5ba98bea1f1b657da3378e3ffa4 docs/models/fivehundredandtwo.md: id: f0ac5afeceea - last_write_checksum: sha1:0e212abc354cd71f89fc3d44b7191b4e4ec76802 - pristine_git_object: d500ed91808e07a22ae0a10b4caa73b2c5cfa932 + last_write_checksum: sha1:5f1530e2e50e4dc852e83a077c08bf761c895a71 + pristine_git_object: 0965287c62d47517f782f57568392e072bd4964d docs/models/flag.md: id: f7a84826e2db last_write_checksum: sha1:798da7395adde1071f5753c3da5b5a45aa308ebf @@ -13823,44 +13851,44 @@ trackedFiles: pristine_git_object: 44ff6dc503b789d4d707c37a5a75c04d67260dbb docs/models/forty.md: id: 78b0a31833d1 - last_write_checksum: sha1:8c6c330b27a9a6779f5e7721cce28052206bfead - pristine_git_object: 83cdc26f2bcc4a41f9084478d9391ae91f3f323e + last_write_checksum: sha1:157f8cd54d7d5790df6db3a0013564be1a3f5a97 + pristine_git_object: be9e1008e42a5d1436f09cb8cf1b86ba9be0212d docs/models/fortyeight.md: id: 99ea79f25029 - last_write_checksum: sha1:2e3885fb78dc5887abb7419eace4da1995b231be - pristine_git_object: a5cb6ab76c4f2f2546f408e3ac2e81780a72288a + last_write_checksum: sha1:162f04590e3cfe85777fcd0c2bc4a0dc451b2e5e + pristine_git_object: 58984fed5ee69a6ef3151094d07534cab911b3ca docs/models/fortyfive.md: id: 89025f06292b - last_write_checksum: sha1:1117ecf6764c5045728dffda3249a5c51d4dcd74 - pristine_git_object: 1de0408090c6014b2603e819ac6be208b4d3f670 + last_write_checksum: sha1:b893373b0ab59032abf71ea3e7388f6ee6095036 + pristine_git_object: 5dcb0864141ddd286803aca88d5a14a5a505e56d docs/models/fortyfour.md: id: 9063ef708984 - last_write_checksum: sha1:1df65c25e6d3bd202c0f7c1692a476d79e97b15b - pristine_git_object: c20b05d92d3bbceedd80e639243fe0699aa67de1 + last_write_checksum: sha1:e427f9cb5424e34d423cdcc4bdbef040fffaabd2 + pristine_git_object: 6f52f051e36fafeb4d9f4f3ccde3f8d1c788ce82 docs/models/fortynine.md: id: e8c5018b823d - last_write_checksum: sha1:0d4559ef0ad9f0b7434cb6755142d54a8d387e7c - pristine_git_object: e6f157228ca2e10c3ddd0faa74115d41b7ee2dd4 + last_write_checksum: sha1:52b604f2ec1244200938ef97da6d2a5e7dec3179 + pristine_git_object: 14db984805517fb92f64e01363cc5ae23767581d docs/models/fortyone.md: id: b5575e98b18d - last_write_checksum: sha1:c37124e065dd5e834bdd71fe3fc7325982a33969 - pristine_git_object: 5fd2446908364b0ce552f4f5ff7742ddd44cb880 + last_write_checksum: sha1:8ca9bac2e0674196869012d9d5122faa51c24112 + pristine_git_object: ab626bf0800f76d6bc54405bb140d47f9415bde5 docs/models/fortyseven.md: id: df66578352f4 - last_write_checksum: sha1:f0da796cdc3ffc7faa864b3a6f3173d50983b682 - pristine_git_object: c9ec0bfb049bfadd62d83047ae674aeb775c23c9 + last_write_checksum: sha1:b5655795a5de4d4034b5ad54b2b5200e2f25ddc5 + pristine_git_object: e3b5df08ad04a7a86d1c609ae58346d84ef0f7b1 docs/models/fortysix.md: id: a4c6a2159f14 - last_write_checksum: sha1:536d552998b086e20871df17add81152b61f33c4 - pristine_git_object: f057299c6fbdd26b569e7c0e58b44d755231b781 + last_write_checksum: sha1:43fe4be3a4f743ed0656bd1ba2619985c5b40930 + pristine_git_object: 4c1f00d406b98f4039b88921a0840ba6143f93f2 docs/models/fortythree.md: id: 620fc2ed28bf - last_write_checksum: sha1:3293f2981b0699fc5411bd9d7093e8d9d9a67141 - pristine_git_object: 34ad79dc73979c33af36b6f65fce606d50ab701d + last_write_checksum: sha1:c5aeca1050bd9936825711dbe6e7885684d9f379 + pristine_git_object: 6c535baec3ac2946592bb6f4b71a9d01c83c3b53 docs/models/fortytwo.md: id: 929ffc1cfb9d - last_write_checksum: sha1:a2051217e01c96af185fb2c603a56c504338a862 - pristine_git_object: 3f87a3512e12c76410dc7af272b0b89ceb42a3f2 + last_write_checksum: sha1:bb9598dfb9917e86cf73f7cd4aac185639b0f3ae + pristine_git_object: cd490ce04f9e6b597c179ca6676d7b06642e0d39 docs/models/forwardedclaims.md: id: a7d5a0848a34 last_write_checksum: sha1:89fbf21bd6e1ffe3fc86658d4ce6ab9a858f2e8f @@ -13871,404 +13899,404 @@ trackedFiles: pristine_git_object: 4d33d15427dde316eb87d333bec0e39f656f1900 docs/models/fourhundred.md: id: 666454cb52c4 - last_write_checksum: sha1:63aceea0ca9cdcca7800e64bd05982506e66ef50 - pristine_git_object: 88749d827960301c58ef7d411f1da7fafc6cc056 + last_write_checksum: sha1:fc4867038fec42a0d53e6246dd8850065bd19535 + pristine_git_object: 23ee7963080353268f674c48031e77a20ceea36c docs/models/fourhundredandeight.md: id: 3acd8aa9a655 - last_write_checksum: sha1:d8d32c099ef446921771ebc8342c47d8cf346451 - pristine_git_object: 863e41f9fbc79b7c895f5e66a665acaa25e7a516 + last_write_checksum: sha1:859297535cea8b719a19834228ad22f9bd72662c + pristine_git_object: 41660c422c866cae84c2f631998dde5e62106a39 docs/models/fourhundredandeighteen.md: id: d50825843a10 - last_write_checksum: sha1:a789033d5b9c3305247ce5bb3714b9c35cf659c4 - pristine_git_object: 8b032eafcff0112b787dc93a12b01bc60a9f80c9 + last_write_checksum: sha1:2474aae46d6c4d15155df69ab8e3bbede5ef0542 + pristine_git_object: 6a94497c33ee7be2c2488be18337bcb22c28c39a docs/models/fourhundredandeighty.md: id: 4c538e6c6571 - last_write_checksum: sha1:58787842ee8785107f46117e390c5bcdbd926da0 - pristine_git_object: f42b5e3c31aa12ab2817730b50ebe98799e319d6 + last_write_checksum: sha1:2931538e5858be8d6c4d6efa01e1442e88f89979 + pristine_git_object: ebba0cab0d2ba0f5066e5e8f83dbb82c41a79ac3 docs/models/fourhundredandeightyeight.md: id: 7e78a9177a8e - last_write_checksum: sha1:fcda034ebeeffe1306ba6cb77e8a46a136dc6c0e - pristine_git_object: 2f5d3ab8f570b1d724c1e4e72ba743f3738bc7a4 + last_write_checksum: sha1:cdc2ffba33da85d5373fc7725a6a309d9ca6a19a + pristine_git_object: 5564826c71f25a1ff754ba67259d0bb7fa8e7405 docs/models/fourhundredandeightyfive.md: id: ca31414177e4 - last_write_checksum: sha1:93c0c13af9b99c3983df56a8088de4cfe3776509 - pristine_git_object: 637283f9f5e3f20df16bd53346d1e162077e2b12 + last_write_checksum: sha1:cc8f6eb4d536a261b62fb9f29632cc5e4bbb196b + pristine_git_object: 33cf6c424a26285de8be966162e85d4120c7c147 docs/models/fourhundredandeightyfour.md: id: 4c27fe2e69f3 - last_write_checksum: sha1:dedb1807e15317313bf0bbcbe6a3443c6e8163bd - pristine_git_object: eeb16d2744ccc386ec5a6e23d03077d2941829b5 + last_write_checksum: sha1:7e464c930e5bcab7aa2f268e1c0efed87b6fe36b + pristine_git_object: 1a74b1ad012e736fcac5e0ad254e7b2639de3f66 docs/models/fourhundredandeightynine.md: id: 55a83f7399c0 - last_write_checksum: sha1:c9bb4433745e68166113aabaad916596126ff883 - pristine_git_object: 83d75936de6305c3fe98147b1b1d3ea4f7a824b8 + last_write_checksum: sha1:226d2f5f83a87b2855af4b12b2d0bb321ff6812b + pristine_git_object: feb469a1fc5a9268f0f1c2292ac18c1cbfd8eafd docs/models/fourhundredandeightyone.md: id: f9a3c661bef8 - last_write_checksum: sha1:2fa9f7087b14ac064b8bf7d6a0cc4f178d55af62 - pristine_git_object: 82c3bbaa6eb4145acbd7615e1c4932a23ea7f745 + last_write_checksum: sha1:d8f238b07dc7b631fedc78ea4e48f165c251d428 + pristine_git_object: c70ee2ac21e05303fa07ba0c2c4111e4773ef23e docs/models/fourhundredandeightyseven.md: id: e25d8047eb8f - last_write_checksum: sha1:c12ac47c50b9bb99faf3cf2fbb80c8defc42214b - pristine_git_object: a5478424539a38d3e43da33f0855e73b9985ba0d + last_write_checksum: sha1:4f78a317a0b3e9a99a408fe9561ef1efd8b3f512 + pristine_git_object: f9bbf277e77459ee812e42c6ccedca0ef81aac4d docs/models/fourhundredandeightysix.md: id: 3fb690d12938 - last_write_checksum: sha1:0d3fc17898b70b41319f86ff128bb766059859fa - pristine_git_object: 40d540dd2cc351a5813053be375e8f0d1e2890f1 + last_write_checksum: sha1:620b4f91a6df74bf40cf723e0f7c596c7c21cd6f + pristine_git_object: 6c99e67ed15e57603f40b7dad355a025eea0c05c docs/models/fourhundredandeightythree.md: id: 3add7c2eb0a7 - last_write_checksum: sha1:4c1d1dde4ce54881456e8d2df9b7fdf90300f690 - pristine_git_object: ea809e18791cc5d9e8804f82d0c667caac808c0f + last_write_checksum: sha1:6989d598283243eb41c789c60770363229983798 + pristine_git_object: 4ade5b13f302741f3c29b862457ad4fdd7f73217 docs/models/fourhundredandeightytwo.md: id: 0587a86c0b0c - last_write_checksum: sha1:fbaf0a24d0f4a3b33cfba4dbdf306f72379a77b9 - pristine_git_object: 1cc9c640ba2deff65fba715e1d163782ba5778c4 + last_write_checksum: sha1:6ce6d373326668f31ea97d19ba08df462f4c2f45 + pristine_git_object: d8d4abb2d4e2b2ef8635bfcb572880d643d88590 docs/models/fourhundredandeleven.md: id: 2813acd51405 - last_write_checksum: sha1:c588a4cef440b3dfaddff4916f141d2bb097afd9 - pristine_git_object: 5073c193ad6c733f0013961ad492e74ce9e9628a + last_write_checksum: sha1:e738df23856b82f8c4cc1d19c6b0146951de4ecf + pristine_git_object: ef3a9dc37c0bd82c8cee6d5b35ca6a9072a18928 docs/models/fourhundredandfifteen.md: id: e77a91a6523a - last_write_checksum: sha1:9d39b540cbfc0017dcee86d4db5f1d34195de6f5 - pristine_git_object: 3078e6c6fffd671dea4dd4a50d991550e2f0754f + last_write_checksum: sha1:fb022a6cfa340d94c33786d8da12bdc6145d7123 + pristine_git_object: a22e5ccb119b0cccc397fe5351af87de69960dc7 docs/models/fourhundredandfifty.md: id: 1825d056bb2f - last_write_checksum: sha1:ab52c7344274a94a842e0fc3dffe5c0b5b006803 - pristine_git_object: 410059f204ffdf1effbe4f46a22f4fbace523160 + last_write_checksum: sha1:eac114d50cdb9b3da06e19fe1f43aff81eda1bbb + pristine_git_object: 98aa07c55a4ec080e9366a2b8c25acaa00a80154 docs/models/fourhundredandfiftyeight.md: id: 29f1c0eb8dc5 - last_write_checksum: sha1:77f5ca2b755c7be9c22a71b089fdbd74f28432b2 - pristine_git_object: 1e068e7fb7a5946f592367e18acb649cb511067e + last_write_checksum: sha1:4c86adcbea5c20a558f2682d1bca3bd9c57f6b35 + pristine_git_object: 473547a7ffb08da941f9c963a5e2011fcb01f8ec docs/models/fourhundredandfiftyfive.md: id: 8e5bc79a55b4 - last_write_checksum: sha1:0a0041e4b6437eb2928df343d6a1555853222154 - pristine_git_object: 3b6c40b9beff26483ca0e65777d19ef39a92402d + last_write_checksum: sha1:9db04750874e539dba836bfda1be00b6f91326b0 + pristine_git_object: 76f035b88738df8709b44e7b5b74bbd6034b5026 docs/models/fourhundredandfiftyfour.md: id: 9711882c42b2 - last_write_checksum: sha1:f0e33e220b8e2ec11b0c046beae687041c9ccb24 - pristine_git_object: 6712ba749335e21ba5dfd2c8fd1c5b6f06090b17 + last_write_checksum: sha1:3ac0f5abbc2b9531603957fbdbdc7eb1cd0448e3 + pristine_git_object: 87fb2425406a687ca24683a97265c7033807609b docs/models/fourhundredandfiftynine.md: id: 159b3b15596c - last_write_checksum: sha1:9274464c89f38f399fcda85a738e6c7659c92fbc - pristine_git_object: 824d27027baa1952806c19db192f3b9251153403 + last_write_checksum: sha1:8ec49ed9687c0084dca9c22c2bb969575ec9bcaf + pristine_git_object: 7ab04b348957e978678cfd26ef354cbab881b511 docs/models/fourhundredandfiftyone.md: id: c619ac7192cd - last_write_checksum: sha1:d5a6af2d2c41b9e5cfcde2d24c77f55fe8fa6130 - pristine_git_object: 64352b6fe607d1c3c7ef3344397988fc4670485c + last_write_checksum: sha1:05b781d218c272e3abc53e416c7939efc68cb19b + pristine_git_object: 58ab380bb1873afd6d72f118a80765b41d8de44f docs/models/fourhundredandfiftyseven.md: id: a67fd2c02fc2 - last_write_checksum: sha1:ced1395e0012773d737ac621cc1bdcaecace8882 - pristine_git_object: 4d73690fdc58f41659d3ed848567e22ac1e49c21 + last_write_checksum: sha1:dde9f89d6a535fea41e8142a40c266966fcd1720 + pristine_git_object: 49b7c03249a6e2f9ffb05d4fa15e410e4c719f29 docs/models/fourhundredandfiftysix.md: id: 970fb3eac3ce - last_write_checksum: sha1:fed8bb178a9265cf90c0a9d47517420678f886b7 - pristine_git_object: 9856278b8434f60cb5d2f2e4897081a5e7651713 + last_write_checksum: sha1:4cd0151480a09be5ee8ece5300d07a94c196040a + pristine_git_object: a76b100a74d87213b23d232d309d0181418f00d6 docs/models/fourhundredandfiftythree.md: id: 20336b3a1098 - last_write_checksum: sha1:0363a17395a1e435624c24b128b25e0a67b13230 - pristine_git_object: 4b7db4ed2ede2481b79c8c763e6eecbf578ac903 + last_write_checksum: sha1:2ec482606ce661548ce91956f6d072b4f6265ca9 + pristine_git_object: 3bbc6015a0815acbd48e5567562308c97e98dca5 docs/models/fourhundredandfiftytwo.md: id: 2a82aded3593 - last_write_checksum: sha1:08ae827372ad5393c608f1df39989a9be5b28ca6 - pristine_git_object: cbd21dd9171352e07b77553cda19580f84bf881d + last_write_checksum: sha1:be65174af8cc39b4ad48129229c273a2ce1f03d5 + pristine_git_object: 3246c14fce47b279e891c39cc84f1e7e45d50ed3 docs/models/fourhundredandfive.md: id: 23ddf2a56ad7 - last_write_checksum: sha1:7ff25f0e08e51b354ae574367cfad5ae52edc86f - pristine_git_object: 64bca6eeff41b82e73ced1b01aea425b242faf67 + last_write_checksum: sha1:32b5dc5ea9513aab3c186a4abd3553889908580e + pristine_git_object: fdc70c0c63f640f29fa1b75a10b1769905b79750 docs/models/fourhundredandforty.md: id: c3273624d39d - last_write_checksum: sha1:cbb096a5f2276980ae1bfee34367ca206aaf1263 - pristine_git_object: 4131986a61a54c55cc28a9f02ecf50db68dcd18c + last_write_checksum: sha1:fc9115b419535e86eddd59af88dad62d0fa58683 + pristine_git_object: 84e7bc2ed5b71d2eb272497fb2303aed1d52cc5b docs/models/fourhundredandfortyeight.md: id: 2697409b6c6f - last_write_checksum: sha1:0e93d5371c8332f022144a80f687a6876d92d9c1 - pristine_git_object: aad14b5789563c30a79464df2867d95cfb871873 + last_write_checksum: sha1:036e3759aff100b9fb26d0902121ec0790aacbc5 + pristine_git_object: 05fe566b7138ee0df931dd271dc78561e1090780 docs/models/fourhundredandfortyfive.md: id: 53925dd5e8b9 - last_write_checksum: sha1:1176fe721fbdb4fd2931ff9ca72a080d9aa48169 - pristine_git_object: 5552cd66427f1405b33596dbf6c41395231eef92 + last_write_checksum: sha1:0a2d2577e150aadc501b0b141a5e38c3362ff754 + pristine_git_object: 4d201a63be3caeee0cfa40bcf7a36f3d5126baa9 docs/models/fourhundredandfortyfour.md: id: cc9c7a63a2cc - last_write_checksum: sha1:6eb98a56536a1b4c6327f6e36c0fcaae6f6dc62e - pristine_git_object: 57a50e422fc1d80f9bedfa349d796c310335a1e0 + last_write_checksum: sha1:34050a98b955a497a0b482b3f81d36debbea5506 + pristine_git_object: e2789c93b356b8101c89af40b26f22cc92c215e8 docs/models/fourhundredandfortynine.md: id: d8cf32d69abd - last_write_checksum: sha1:d3a12d52c9a2efe0cc7de335803173948866c370 - pristine_git_object: 125f3a128d86881e79153a9c8e3ecb09eb8ef7aa + last_write_checksum: sha1:f9418af5d822da0a119dae3248c1e8b070156185 + pristine_git_object: c314fd723ad0cd771bdf8d4e4e01f6c836411093 docs/models/fourhundredandfortyone.md: id: 6b988833d86b - last_write_checksum: sha1:81056788281d62ed1a8fea10d5849f16ed81795a - pristine_git_object: 0c2a23441dacca534c1f56763285617dac1b6cff + last_write_checksum: sha1:61955e8a744c91971a90ea0c0ac17ff9c20df1cc + pristine_git_object: 8dd75a97c2380150205461cd0152576fa591f431 docs/models/fourhundredandfortyseven.md: id: fb2a76a1c9c3 - last_write_checksum: sha1:156a162c79965eafed3be7031bf98051834f59a3 - pristine_git_object: 3e13bc089c9a2bd34d431b68962bef0451736c40 + last_write_checksum: sha1:e640ccd7bbe75a0e7c88f805aa4ad64d325973b9 + pristine_git_object: 536fc6d71c50acfa888f75292789210cd5053bcb docs/models/fourhundredandfortysix.md: id: e720cbc8d774 - last_write_checksum: sha1:0e258ebcef3710a73c399c207fb9f60aebad6842 - pristine_git_object: f30bf87d508a1210df1a9dccfdd535ef3f053f5d + last_write_checksum: sha1:755b7ad01e7776a35f9553cd268f4654433f0736 + pristine_git_object: b2b3acd48c1c01f4c3a85d57d0e91a3d6c27fcce docs/models/fourhundredandfortythree.md: id: df748371b831 - last_write_checksum: sha1:55092ec1d068382db2bd1d33a03d7df844e90db9 - pristine_git_object: 5c2b02aa1b95ae65635a4eebdc48255b865464e0 + last_write_checksum: sha1:091298b2628fa7f95bbb92b22545d969eb47dcc2 + pristine_git_object: 21a8671f86e77b8240e76e1c741e1bac118f422e docs/models/fourhundredandfortytwo.md: id: bcaa7c3e9c35 - last_write_checksum: sha1:6269820bb8126fdc6f7c407fcb26b3666ae58534 - pristine_git_object: ad16bad635a41adf59dabc76670974a608cb6c0a + last_write_checksum: sha1:1f7e3d243b9e1c4bf21fadbfb53228b39957bf64 + pristine_git_object: 64c3cee11740b3a82c6e59de16b95788f25b0ef5 docs/models/fourhundredandfour.md: id: d7f6d601374d - last_write_checksum: sha1:3ed7b109a9266398042d76bc3a0d64f5efadec65 - pristine_git_object: d079493de6bf5ddbaded92d34e9e59a07508e093 + last_write_checksum: sha1:b0cda061e428ca721a196cb0dfe1a0b8052fe146 + pristine_git_object: 6b538ac1ccf38ae7c73b79ff0dd8f6618cab2ade docs/models/fourhundredandfourteen.md: id: 9e1e57f69d56 - last_write_checksum: sha1:4cdabe65e4e11655cb5e39c66cfc11d09b3d13ef - pristine_git_object: 470967b8ce8451ee3351e23bf4d1cbe3b401b6f9 + last_write_checksum: sha1:4ff5c0653b224300370d0fcfb7b9ec34d57b4641 + pristine_git_object: 6606855208ba5d849e5d3bd7c68785a587c8a8b5 docs/models/fourhundredandnine.md: id: 4438284c0a36 - last_write_checksum: sha1:2665c41a23b5fac58c212b7e5f3746e4fbcc95fa - pristine_git_object: 4e0fcbc838ff191a44a644fcd9821c62ff76873a + last_write_checksum: sha1:834d5e68739afbe4edfa38873ada8ef875d87a98 + pristine_git_object: a132d9fb30661f3d99c157fc4c8d355bb9732cf8 docs/models/fourhundredandnineteen.md: id: 5a533524ba54 - last_write_checksum: sha1:5202a0e1d233352d41464492ffe6e05ef7a1eefc - pristine_git_object: 9b6f5e898b86fe87a38554aa59d6245dac98be2b + last_write_checksum: sha1:8d830c52077d8eaff5bffb9e7a89c385251d4446 + pristine_git_object: df0864b9a877ee21df19259efd76909e182289b6 docs/models/fourhundredandninety.md: id: 56462c1b7981 - last_write_checksum: sha1:b54de322e11c17dadad9eef195b78ef8d9025ec3 - pristine_git_object: ecd2501bc0748792ee04230223a6c720a9afa796 + last_write_checksum: sha1:a0ecd54598b9dacaf8e830f450ba16c0116e44d1 + pristine_git_object: 868e40ed5ea642ad206ead0ec8426f0809d9eef6 docs/models/fourhundredandninetyeight.md: id: 82df89d400c0 - last_write_checksum: sha1:fb25b6bb1da27b70e031cf8e9333b75bb3dc7c09 - pristine_git_object: 999763ef77ad0c8be3e8dd9abf5a60a6529d3f97 + last_write_checksum: sha1:5cd70cdd9edcde9e03d5e29714e6825bd6accc40 + pristine_git_object: 9b55bddc18199aa148d1161a5d6065525bd7c24e docs/models/fourhundredandninetyfive.md: id: e6eeff17ff78 - last_write_checksum: sha1:d19b931aafc8d24ae84144678df38d34f7552a01 - pristine_git_object: b2aa130b7b4e0c09c11d87ac459f5f725025edea + last_write_checksum: sha1:f29cb20e66bfc8067deb0a183ccdc391068c60b5 + pristine_git_object: e5006e19da07af676363bbf5f8fe98c72e8b1048 docs/models/fourhundredandninetyfour.md: id: 0dbcb2b22d76 - last_write_checksum: sha1:5b48e707c202456075e25f590198685c712aeb15 - pristine_git_object: 1a2a84fdca6947e33682080279f74b8de12fea2f + last_write_checksum: sha1:1c8ac4b0fa63ccbcb19739d8a5e52676a5d12d84 + pristine_git_object: 7274b8d754e37cad12aa62d10bafae43f791c305 docs/models/fourhundredandninetynine.md: id: 3dbd1a669d9b - last_write_checksum: sha1:d8f3dcc9e25a504db1b6a5ec49bc85091494a781 - pristine_git_object: 2961d7667a0cc7d322de1363866f9195079bf4be + last_write_checksum: sha1:6c8f63f87881e80daa7fe6735d30cd8e620edca9 + pristine_git_object: 8f7916882e0ae13ecf1c42d4825240ceb4637571 docs/models/fourhundredandninetyone.md: id: 0ffadd84a799 - last_write_checksum: sha1:58d665b7647df55fe9d427b1578379469bae96cb - pristine_git_object: ad920f1a409223403cad53b1addddb34fd24ac5d + last_write_checksum: sha1:17741af11186a8255b32096a2b232948ee07221a + pristine_git_object: 5069d3b63dbe30859a407fb0de278452b1f4133a docs/models/fourhundredandninetyseven.md: id: "568301283231" - last_write_checksum: sha1:47226aabfdfab2c05b2f585d02d0553ba3b15002 - pristine_git_object: af536244a2520d54ffb4891ea363b4f765564ff2 + last_write_checksum: sha1:576b40a9dc2b4bc013e63dd3bf715d5eb27bd87f + pristine_git_object: cfb9da440edfc9e688cba8e82201aa202a81a06c docs/models/fourhundredandninetysix.md: id: 3a310a45c377 - last_write_checksum: sha1:3b0294ae7ab59efffb4a95a002070979f2b37676 - pristine_git_object: bd2c2ed2b9c32bcfa5324c58c57454e4481155e6 + last_write_checksum: sha1:5e4dda6e32c3de2b846cc0aac116f2fdcea00784 + pristine_git_object: 391c8ad1e9b071229d1cae19c456c810edb563fb docs/models/fourhundredandninetythree.md: id: e5b0a5a78d6d - last_write_checksum: sha1:f81567df275dc70c3f05e4b2e8c3e9ec0ba86a0d - pristine_git_object: 9eca1c78388b64b0f4e4936da51a2a20024e88e2 + last_write_checksum: sha1:ac26792901c49033e76c73840e370064dcab534f + pristine_git_object: c6396c9df349c7e8263ea6e7d85261ca7cb4d74c docs/models/fourhundredandninetytwo.md: id: 6573bcf6912b - last_write_checksum: sha1:67fad5a4ad49ddcfaac6fbf9fcf9eb156e84cc12 - pristine_git_object: 4e7c14f478c8ad4c54ea597b2e51b765f84930a2 + last_write_checksum: sha1:09e5f6385e0f2bec7f5a96e5b9e6f1e8c65ac87b + pristine_git_object: 971dfb904245210d761baa1034a25d40cbe5bee2 docs/models/fourhundredandone.md: id: 86fd4fcd3034 - last_write_checksum: sha1:5f2289558b8c1713e53f68ccd3c1ab00968ffdba - pristine_git_object: 7414e2c6042989a5d3d787caf6246e246670cd53 + last_write_checksum: sha1:6d87d9cf4dd3860f8cf73f4dc0a5396a2b1de299 + pristine_git_object: d648a19b4b63081bf3a788ef7fa1923adf2405e1 docs/models/fourhundredandseven.md: id: 083f2a096406 - last_write_checksum: sha1:321df33984e146425e781b77abf5dc03bdc5760b - pristine_git_object: 4a6ce9580c202b169c196010d15eb3d47d624d36 + last_write_checksum: sha1:13d7d441c58edad81a27c89ea0bf1a757cbb82b0 + pristine_git_object: 0034ac5ea0d69066a5e8141d98eefcd62fd8c77c docs/models/fourhundredandseventeen.md: id: 55439cfe2bbd - last_write_checksum: sha1:f31825ca3b892e6e1b4621e50733055cab4a2492 - pristine_git_object: 9cf26fbfdd3503b9203a2e35a103ce62eebcc5ab + last_write_checksum: sha1:6c057bb73ee1af38e60b16932b22b48e9084ddb7 + pristine_git_object: c6ad440341740fa3c9152926389b8ec2c4da1480 docs/models/fourhundredandseventy.md: id: d05be1a3bf28 - last_write_checksum: sha1:ed2b1967977f6225a55c693b60dfba8273fdc64d - pristine_git_object: f83087ca0b502133714137eb8f3f32c3b7d7dda5 + last_write_checksum: sha1:1477aa17f9270b85c34e9c8aac4b017d69d07d7e + pristine_git_object: 9b04ce147e89ebcd64026b084db8eafe9b87f723 docs/models/fourhundredandseventyeight.md: id: 9f2914956f42 - last_write_checksum: sha1:e7b918763d55cf0e9bc71980738a7c9c31ffbaeb - pristine_git_object: ff575bb7e70cdfd2cecdd34184c87e6a37eb7afa + last_write_checksum: sha1:4e9e09a224408119acb400025d85d04b1821a119 + pristine_git_object: 76fcbe8a9980651957a465e33325fedc51af5c60 docs/models/fourhundredandseventyfive.md: id: d0ece49808d6 - last_write_checksum: sha1:8f014674a5e74f0b28b4edda3be802193c0f2cd9 - pristine_git_object: 115d60b8a0ffc395933b3f679546e2d0caad9a35 + last_write_checksum: sha1:9baf74ca190a75d0545312b278ac84d032c7bd07 + pristine_git_object: 23f73277e1901c90ec8b5103f1750fa4495e88d7 docs/models/fourhundredandseventyfour.md: id: 4b5319e3a450 - last_write_checksum: sha1:bbd7fdc9e312a422a5746e2dcd08d8b0bf8311b6 - pristine_git_object: c8a9717722eeca6746c6b508e4f8a8cfbedf5e44 + last_write_checksum: sha1:961d6b6f8e36098f75d323072a52bba39ecc3e9f + pristine_git_object: ad34383d7dbb6b2b4e6c486e3e360fe3aef9f771 docs/models/fourhundredandseventynine.md: id: e45ad3fd1025 - last_write_checksum: sha1:6701dd2eb324067b8c7b0af32c88e268d9da838b - pristine_git_object: 70bd0ac0406a5f592a9e77bb22f5afbfc0b847b1 + last_write_checksum: sha1:8636cfb4ac5d0d180c6db576d6f21837da18b40f + pristine_git_object: 96cafd4095b4175c50ec982242f2b6b4aa287856 docs/models/fourhundredandseventyone.md: id: f548bad7b0e8 - last_write_checksum: sha1:dfa49de53db234e4829f3871f87af1a3d21abf24 - pristine_git_object: 7ce8986492f1f122e235ee542f38f4ebea4f51d9 + last_write_checksum: sha1:0935957135ac5f4316a9df7eed6e108b44132a2d + pristine_git_object: b47993390dac07320ca0f115411a55859a6b16a3 docs/models/fourhundredandseventyseven.md: id: 09fe3cecac5e - last_write_checksum: sha1:28c3b9d906708fb7c798e0cc8677fd328bc9c4b3 - pristine_git_object: abcf6959da2f409769c785c2456f51d8f62041ba + last_write_checksum: sha1:17456e2fa021868e4e39a79bdc4b708807b4df0c + pristine_git_object: 48c0ee9a7c2b05af714f3105b8ade457acc131fe docs/models/fourhundredandseventysix.md: id: 4d07df24c506 - last_write_checksum: sha1:656e0b9a52f28e41d3a98ed25a151d3b94c7ebf6 - pristine_git_object: 88435c1bddb89bd49752157f74b4e5c984018709 + last_write_checksum: sha1:aa6877f0110411858a6217dda6f1a9c0b9913508 + pristine_git_object: 69cdadc24d9a3b86ddf154983ca239e9f8b892e6 docs/models/fourhundredandseventythree.md: id: fc234840c7da - last_write_checksum: sha1:082ee87be60dcc61a4a7b0df159e486135a325b0 - pristine_git_object: c3726b9381316a16bfa5473e6ca57b37d1d093a9 + last_write_checksum: sha1:f75b3418dec71464b6eb10a7f19c7af5e208e611 + pristine_git_object: 3617f20567680088919bb30e0b17a6d3cd45dc17 docs/models/fourhundredandseventytwo.md: id: 6675933acc64 - last_write_checksum: sha1:cddc73ddcee7c84517852f82d88076f43727bd18 - pristine_git_object: 2a0fc2fcefa87d89e99031f60929cfd9c50c23e1 + last_write_checksum: sha1:aac5bfbc2d6a2b12954f0624b0b7f28e7d7f0f8e + pristine_git_object: e4e4f10d4e314d6c759d2245dd7e3b1d75d394f1 docs/models/fourhundredandsix.md: id: c30f550dc8f2 - last_write_checksum: sha1:87ed808ddbd910313c3973518336acaf24209b75 - pristine_git_object: 0c1ef301f3b33f1c3751d7085e104d2c9c78179e + last_write_checksum: sha1:63fcd58414df24b68a13b03467d97dab01b80bde + pristine_git_object: bf97c6da5d03bbbdf733c4f5abea9cda86435c56 docs/models/fourhundredandsixteen.md: id: 571cb1bf79ba - last_write_checksum: sha1:ada8568dc31a880658327ca1426d932cabb8df2a - pristine_git_object: 3abcce678ecc8f09daaef797f05af726a8070c30 + last_write_checksum: sha1:b3a479047ff13042b36870cb478a6804c6d01160 + pristine_git_object: 5a40571b571976363d46401bd180abb335b49409 docs/models/fourhundredandsixty.md: id: 22c279bfaed2 - last_write_checksum: sha1:1f421d5da56e82d7f4edbc497819b53870349eba - pristine_git_object: c174c1c8a22500cb1cd9d471a7adec3dc18e5f7b + last_write_checksum: sha1:069b52bead174a4f8b0b126f866d818de9014bf5 + pristine_git_object: 104a2548a73e61e2973085b13730eb939fd48333 docs/models/fourhundredandsixtyeight.md: id: e0ccc067fee2 - last_write_checksum: sha1:743636a360fd03e4c6ac947ae278ed4555b9ff95 - pristine_git_object: e9dd7dbb5f1a0d4a4952d5fb5d4f2291f3b8957c + last_write_checksum: sha1:c343b3416ace1330622e99677edbe5a782ce9492 + pristine_git_object: 3a5700e8c6a25a4c6644f87089d8c8be00e1f469 docs/models/fourhundredandsixtyfive.md: id: a47f5bb1407c - last_write_checksum: sha1:cdf92eec18220ca75e344b41343191467a9cb543 - pristine_git_object: 711ad1df1b1bcd5d68a7a0002445263784487dd1 + last_write_checksum: sha1:ceb07c8b384eecd121d10a23e50272f1516c799a + pristine_git_object: 3390c208552086c707ebba354e27254ba3bc2526 docs/models/fourhundredandsixtyfour.md: id: 40d4ef9faadb - last_write_checksum: sha1:be953f90bea3b84dadece2cf416c6970fa7d4b2e - pristine_git_object: 0940f345c977557d7a0f9fa8d1b5f4bff0d8ece8 + last_write_checksum: sha1:dd9e08f46ea13c30179d8dfe1aed1a891c7bd152 + pristine_git_object: 95216a7c8ddc0ef8ab9d76241b19756f68df4db4 docs/models/fourhundredandsixtynine.md: id: f686f02c67f6 - last_write_checksum: sha1:6ad3296db3949eef72e1b6de9272c6c1b429c05a - pristine_git_object: 81224faf012c8305fe0e3f1a86f60766f4d944dd + last_write_checksum: sha1:614b39c29e00a39ccc165c8a25f6abb9d5257fc1 + pristine_git_object: 2def8de96a11b32cf72e8ce64765b4ac7bf8627f docs/models/fourhundredandsixtyone.md: id: 1cab1bcb9893 - last_write_checksum: sha1:bee5b047f48584d46d0061aaf57a8b3566b5a0da - pristine_git_object: d39036683a98d8ae30bbdaab31d789666175a30d + last_write_checksum: sha1:fe8aca6c353a3c9d31b0c5f75fd89982200b6122 + pristine_git_object: cce37545bf046719e90aaf9ab9eff36a37376347 docs/models/fourhundredandsixtyseven.md: id: 2141fec2f580 - last_write_checksum: sha1:d934d327199ecee81ce8aa7701d055bcda2b9173 - pristine_git_object: a9db1d977d4a94f2db3d6f4ab84c166d01291528 + last_write_checksum: sha1:ed8cb98d37a126e9f1e1d1847ec86a1d94154955 + pristine_git_object: 2e42c1092c71d73883dff8593266b515f981663e docs/models/fourhundredandsixtysix.md: id: 142b1957ea5a - last_write_checksum: sha1:0d95b66f5c3bf1fa78f5f54dd12b47fd79d1fc45 - pristine_git_object: 810c372b445884fb71152529730ba3d5e2951381 + last_write_checksum: sha1:627fbdf7d6730329a9e81e34d462730dccff222f + pristine_git_object: e8c9a31dba569a2bb5ff0b0d614ed021a5d0e855 docs/models/fourhundredandsixtythree.md: id: 86ea0fa4012d - last_write_checksum: sha1:5fc503fbe71967fb11367ea182f2cfbc4d18ce99 - pristine_git_object: f356f5aa3f38ddb612b00c0c0231a93dd7143588 + last_write_checksum: sha1:ab5a5ef6f6a25b7d234b63e10da6f84d025d6305 + pristine_git_object: cf6f3d72f25e9ee26621c6d0ee55681734e56844 docs/models/fourhundredandsixtytwo.md: id: f31a514a1318 - last_write_checksum: sha1:927ac4bfc0c9d785807c58048ed792901499e0f2 - pristine_git_object: ef66c08875143fe12cb51dc67677bf95d1704320 + last_write_checksum: sha1:dbfd57029c7ace425e8c5144d39966ae9c324e42 + pristine_git_object: f2db00d5df4304a271294476154a2d63da594553 docs/models/fourhundredandten.md: id: 5ec85d7cbc96 - last_write_checksum: sha1:c10ee5cbc77b37c67d2b8ff1d4b12085fc06b13e - pristine_git_object: 3a1e59cc412f1ac8aca1a19bb520353969854489 + last_write_checksum: sha1:5f03dbfb3488d89b43578c5eecf668ed8da52585 + pristine_git_object: 9cb1f504b1d864b00dea2e14d6137d2942771dc5 docs/models/fourhundredandthirteen.md: id: 4abaf8439695 - last_write_checksum: sha1:3ede1a9f84f39c2aba022e7ad2053ef682cc35c1 - pristine_git_object: b396294ab2fd7136856d9bdc94cbb016c21cf951 + last_write_checksum: sha1:dad4133ae48381cf75048dbb862a5ebc7dbc784d + pristine_git_object: 42e3c8ef3dae7be47326841877595382dbc6cd51 docs/models/fourhundredandthirty.md: id: 309748a00757 - last_write_checksum: sha1:41f41ecc93251786420fa8784c756d479414c703 - pristine_git_object: 6f0238ab1cc55155ab1189f280e5ee16defea822 + last_write_checksum: sha1:c85522871455297d30e194eb9ed9dde6dfab8b1b + pristine_git_object: 989de1653f94437e2d483ec4250fe32162ba511a docs/models/fourhundredandthirtyeight.md: id: 19668e5444e4 - last_write_checksum: sha1:ad371abf0c6b38df732dc579fe69255791a477e3 - pristine_git_object: 00e1fd883ee8fecf35efe969d9029c2791e50d1b + last_write_checksum: sha1:2f80f630e956ecd4bc50de43c41309c28e8d3454 + pristine_git_object: b2c28406449d03c5147d3bd8e8f303630bc7a130 docs/models/fourhundredandthirtyfive.md: id: 4d5857dee3bf - last_write_checksum: sha1:96796357bd60d7688a22f3aa623d5b90ac25067e - pristine_git_object: 963e20e18acf30722f759e22e731c5b4051307d2 + last_write_checksum: sha1:53d4e9d5b69ff7a6ce90866067836bb615af69d7 + pristine_git_object: eef0ecb1d6db97f40a9a405a224d51d3bc326ee9 docs/models/fourhundredandthirtyfour.md: id: 9be6b6465857 - last_write_checksum: sha1:2a7b10cb555b3ec5c7b0002735be8f9f57c9970c - pristine_git_object: de1c909789ebe5afc837af65c82dc02f40386d9f + last_write_checksum: sha1:12343f630e768394712ad447c04d7796980acb50 + pristine_git_object: da4e6349ef55895b70e0e0aa7d2de48b1ae7a7fe docs/models/fourhundredandthirtynine.md: id: 3816ef2c78e3 - last_write_checksum: sha1:b4b4f238e097ec5716bddacc65ae45aa37b4c358 - pristine_git_object: 48c2cee63b14f9a2ffc65e2426078590bb2f6121 + last_write_checksum: sha1:add268f1eaecadfbc622a4e1dd130e2934c5f695 + pristine_git_object: c7edb970b22899c7687136f9731325e75e0d0046 docs/models/fourhundredandthirtyone.md: id: 90b4cb3b0f2d - last_write_checksum: sha1:c5f743bb9510202f4e6b4bd47fed0d27e547c12d - pristine_git_object: 3bf0701bbf447955b57ae342f2f3e5fcc5fea56c + last_write_checksum: sha1:9736fdf528c04529f9ea971be8baa42ad6b2c69f + pristine_git_object: 024cbbddfde54a560bf96861a242b24514c4d8a2 docs/models/fourhundredandthirtyseven.md: id: 2f45efc50780 - last_write_checksum: sha1:0ca4deb9d45fa2f94314c99cdbb2d3bfb4d6a32e - pristine_git_object: 82d4c9958fe7adfca825e306db92e514d0d0e04f + last_write_checksum: sha1:72bce3936418f78cf607b0b6239184700e6d52df + pristine_git_object: 0df1bf6e54c4d2df4a75c9d62452dedf6661efa2 docs/models/fourhundredandthirtysix.md: id: c9f06eb4f9df - last_write_checksum: sha1:ac5bcc73126b6e4fa7c798e56f69d817245e0ed7 - pristine_git_object: d798323a0095ac182170812cf9ab141168e0606b + last_write_checksum: sha1:56aa3a22b08abb707371d0a10ddd9e78e75be0c3 + pristine_git_object: 5538c9b3c5a87fc0d152f2d2e41145e7e5b8a9a5 docs/models/fourhundredandthirtythree.md: id: cf7510afcfd9 - last_write_checksum: sha1:13e8f7a7965a0d1ee8689fb85eb8d08c72661c2f - pristine_git_object: fb013a452c5603e67cfbb9b3272f2b7088e5a5e3 + last_write_checksum: sha1:678e693fca1fee22a650535330d61998d8445b27 + pristine_git_object: ebc0d5e3ce84da4888bf5baeed3af117a4adda3c docs/models/fourhundredandthirtytwo.md: id: a0859e440cec - last_write_checksum: sha1:f45826c8b1a5d69d1f2a83a2343062f888716ab0 - pristine_git_object: 6603875bbf007f51182fac06a397afaf46eb99e8 + last_write_checksum: sha1:7ba92ac34ea0712da80b27e18d8864e48bec5225 + pristine_git_object: 1e7eee3c8b3e5fbfab9a2b67892fd1df9d8b888c docs/models/fourhundredandthree.md: id: 89baebe84b91 - last_write_checksum: sha1:6775ccdb34fa01f6a9c6cf8e179c524f7138d2d9 - pristine_git_object: d3fcf3cba450d6eff4322fde8407563dc4c222c6 + last_write_checksum: sha1:624331e4d91a549b220e2d0dfc0d603da6e1dd92 + pristine_git_object: 05051e64aac2dd6f3826c77f64d1f2cd12865b60 docs/models/fourhundredandtwelve.md: id: 6bc36974c57c - last_write_checksum: sha1:f25184036ac1e7e8ed270d8e08a555e26670fa6b - pristine_git_object: ae5c9c5dccbe8527c4ce077daf9e580c82505bee + last_write_checksum: sha1:99ef44b93793832d1a5a8df4a5568719bb44a958 + pristine_git_object: d037d161015a9d2cac34cd9cbaab1a72568bed5e docs/models/fourhundredandtwenty.md: id: 25b62d9e2e84 - last_write_checksum: sha1:90e00856e684d45f5a14419eaf98b69d7057d527 - pristine_git_object: 7c7850a66cc74d7e8bb1a7c6269a2faad3a06bf5 + last_write_checksum: sha1:c7d84af4c2975ec4d80ad1e76a1cfba51721d53a + pristine_git_object: 1b1c8755d7e191c719d910e27e7494ae69b21908 docs/models/fourhundredandtwentyeight.md: id: 886e4b1ffdd8 - last_write_checksum: sha1:48846013cd3344c7a64181cfd21182eb36bf5538 - pristine_git_object: 6c3d7ef721e1def8642a944fec3b38f800468bcc + last_write_checksum: sha1:4568c2011dddd5a6ec35c4c849ed932dbf236965 + pristine_git_object: 22c0ed8101e5735428aaece9251d75a29751e25e docs/models/fourhundredandtwentyfive.md: id: aaec241cf117 - last_write_checksum: sha1:6836ec45a6c62696920cade43af77a24cc20218a - pristine_git_object: 86878a5df5e1cfca6cdb4e6a4dec6494f0b77b78 + last_write_checksum: sha1:0d3a50c663be12adfc89978a5967d18047ef44cd + pristine_git_object: b4f4c86e7ceb5d912e05fa1f3b5a0ec65ee45e3a docs/models/fourhundredandtwentyfour.md: id: 4e42e64df87d - last_write_checksum: sha1:2e4935751e9d42a6a2fb091e698696d36bb6c0e4 - pristine_git_object: 7408ab6c21d79476607b805c82977b67c729910a + last_write_checksum: sha1:384019974f0d5c2370dbd9f40c0a13106ef25097 + pristine_git_object: b36056a2af688c69e2ef5196c1368261d3bbc043 docs/models/fourhundredandtwentynine.md: id: c043d0975da6 - last_write_checksum: sha1:1775e44fc53f8684223f0c6aa37e41bd79366dc9 - pristine_git_object: 7ccfe35d9ddf2d0f966c15119fd4ed2f058cbcf3 + last_write_checksum: sha1:342419a1a1c7eee2ee91d1cc5ac4964a1b3c80be + pristine_git_object: 207a75f0a48f5471f9a409650c6754db53ecf797 docs/models/fourhundredandtwentyone.md: id: a6226bc8ba3f - last_write_checksum: sha1:628806a3415b180b243c37eff29de7942089c550 - pristine_git_object: bf6317c0266d0dc7e8b7f0d660500d734f5cfaab + last_write_checksum: sha1:9956e3b825a73261bd47ae280d89e524d7332d28 + pristine_git_object: 827072dbf6c58e7c4f3952198390ceb63ce7e82b docs/models/fourhundredandtwentyseven.md: id: 4ae2a98cf700 - last_write_checksum: sha1:5135dafe75144514099afd1539b6bfd07a7ae0d9 - pristine_git_object: 23211985fca49465e99ffe3b78d679a8dfa4e2ac + last_write_checksum: sha1:544ca88ddd50686450d4fd10dbe23aa2c24f16c4 + pristine_git_object: b1a244376328803a26d80675303699f1802dfd02 docs/models/fourhundredandtwentysix.md: id: 55bd2f8d09e0 - last_write_checksum: sha1:4f93e73bfb09cd8b809254843b8fdb3701e73c04 - pristine_git_object: a0c960f1c7394bac2c70945b99d05bfb4e408dde + last_write_checksum: sha1:06fc86d95d0bdec7c595965e2d96031f7c842cbe + pristine_git_object: c1b15a4057fd6729d0cbf0aaa567c66458e901ea docs/models/fourhundredandtwentythree.md: id: 85548d072284 - last_write_checksum: sha1:c08cf5a877e5c797f82f6b7f4f18164d5fe48073 - pristine_git_object: f90b2ba5453ed6f0f30feccfa23e026bea2a124b + last_write_checksum: sha1:491aeda02c20df754ecb6e9ff3a93d15200feb0e + pristine_git_object: e2cfa2d0e84ebbd41034808393313eac7991a37e docs/models/fourhundredandtwentytwo.md: id: e4556d30ae2f - last_write_checksum: sha1:2f89dc6b775fe68a1f4f3e1de00a99e367992c39 - pristine_git_object: aec09198e49b5bdd46448238620e0bee4ee2688b + last_write_checksum: sha1:65f00cb239d3c821f0236b0c53ca89c98e96d65a + pristine_git_object: d89dc5b44bc6bf355396c064b42c22360434ef89 docs/models/fourhundredandtwo.md: id: 309eeece4e5c - last_write_checksum: sha1:67ccb120c1fcabaf0df887d603768049b8a269f8 - pristine_git_object: f127fe1fdbd755c4931ce1e4e05ffc888458947e + last_write_checksum: sha1:f5ae4cb54c0871d7407996eb296dcafd197007a6 + pristine_git_object: 875d0bd227d491694b794a9e4103a29853f9bf02 docs/models/fourteen.md: id: 549339af8286 last_write_checksum: sha1:5c782115bc2f0048017324778e967c09e550b3c1 @@ -14291,12 +14319,12 @@ trackedFiles: pristine_git_object: abae996f862843a94d4aeb153f7b012bf5fa73fd docs/models/fromaccount.md: id: f9c66289bb80 - last_write_checksum: sha1:b9e793cfb47478f8dfd48f2b2ac2c70f4a753622 - pristine_git_object: f9392713f5e4c2352b7072d9eeae29309e780c57 + last_write_checksum: sha1:7c1aecde6449584d73af2a0956136a24efb9509d + pristine_git_object: 1c57e001dcd75da02cd33466d90c0874b1d71513 docs/models/fromplan.md: id: 8b182d940f42 - last_write_checksum: sha1:491ab3b0b5142cc7fd3c331bd03d50e0877db9fd - pristine_git_object: bad71347fd6714a702d72c8c47bc547788901bd7 + last_write_checksum: sha1:9e56cc2a562182d0158e7c76be71c7a3b0ab23fa + pristine_git_object: 6fb3965145f12d6a6b2c7dbadde3733fce7d8986 docs/models/frompreset.md: id: 4aa6bb9902e2 last_write_checksum: sha1:5648e2a41f4f0dfac7145022f9c08947f0332b20 @@ -14419,8 +14447,8 @@ trackedFiles: pristine_git_object: ca5861f8077706d986dda1c622617706cb8e1957 docs/models/geolocation.md: id: 0f9177607b39 - last_write_checksum: sha1:d63d4db440eabbf3c8c47632c7bdb384f92e5804 - pristine_git_object: 8b43b401976dc8cbb448f20ad2f39643eaf68fad + last_write_checksum: sha1:e69c3d708e2fec4bda9897079f444c5d69b857ff + pristine_git_object: d8d6b57acd235d3647e0e49eda77ac3693baf9c5 docs/models/getaccountinforequest.md: id: 264280a55b53 last_write_checksum: sha1:e4b34e58d320a6824abcfa62824d5a4c581dcc7b @@ -15051,8 +15079,8 @@ trackedFiles: pristine_git_object: b52ddcaabc578252016cd454380d64191195bb23 docs/models/getauthtokenresponsebody.md: id: 13e9bf73926b - last_write_checksum: sha1:125349db1cc52b7f721458c3bd77e8b6276670fb - pristine_git_object: 8320a04215265cc976e6e5be08c3f186c1f04a65 + last_write_checksum: sha1:b1781b76d0a36f3617b7594e8a617dc06d8984da + pristine_git_object: afc4041b21740ae75d8e54479ad1f7beae43d4de docs/models/getauthuserresponsebody.md: id: 1fe35ff6501e last_write_checksum: sha1:ea5cf4faed8bb39ff0943757e91bd050410c5b5e @@ -19507,12 +19535,12 @@ trackedFiles: pristine_git_object: 763a59ae349eb1f1501abcdef9998b9c9144f551 docs/models/getedgeconfigitemrequest.md: id: 41f90a515117 - last_write_checksum: sha1:9c686d6fbd203a95d410df20944704bebf9f0bd6 - pristine_git_object: 87a5307c0f72b4d45e9f41b4fea07958c9013ba5 + last_write_checksum: sha1:47fda9b270e33b142a7a4350804a68169eed3e37 + pristine_git_object: ef288d947543cf811279cba847850d8dd3b57d1b docs/models/getedgeconfigitemsrequest.md: id: 0d455a8dd735 - last_write_checksum: sha1:914e02029becf27ae01de46656df830be2b72394 - pristine_git_object: ee4121229acbf1086b022bb5178a320970ea9200 + last_write_checksum: sha1:c8138c3d43ee36ce54432015bae782c0bb63738c + pristine_git_object: 6ba14995b7a3f20ade74a2f4935894942d84717a docs/models/getedgeconfigrequest.md: id: a31ca6ebde68 last_write_checksum: sha1:3ccf4e10fd3cece6dc2470e7796ed8d4c7f05474 @@ -21459,8 +21487,8 @@ trackedFiles: pristine_git_object: 41b521c172595a45d8735e6659fda63bdf16f3af docs/models/getnamedsandboxresponsebody.md: id: dc552f8260cc - last_write_checksum: sha1:762fc85f69230a33563c77ba1fb69762511eefdf - pristine_git_object: bcfdd2c69c94189946cfad22711a6c344721d094 + last_write_checksum: sha1:9c83754760d5f1a626612afd85e4e5fef190c1f3 + pristine_git_object: b70fc6f639389a5ef49e72413ea06a64eb8b1c62 docs/models/getobservabilityconfigurationprojectsrequest.md: id: 5d22f1192aab last_write_checksum: sha1:5d19a73d884d413b89bc1e12019a5a357fc79ceb @@ -28107,8 +28135,8 @@ trackedFiles: pristine_git_object: 8f9eedefd235f1e22eb43bbdc1d526046aeeedf0 docs/models/getsessionresponsebody.md: id: 0a6a954720ce - last_write_checksum: sha1:065eb2fe806491a9381e91d63176955fe6e0765a - pristine_git_object: 7c2b09980fdf6e139b14bdd4c517517c22870533 + last_write_checksum: sha1:f24e472f61fda442d6446e5c831db59aae9691d3 + pristine_git_object: a9f72fd3ceb7b14d88803157e87c99a08000a5e1 docs/models/getsessionsnapshotrequest.md: id: 0c6a7240f8d7 last_write_checksum: sha1:d92d1d5c3a61461f492f5b3e9b629acda4c3a23c @@ -28203,8 +28231,8 @@ trackedFiles: pristine_git_object: ed65d2de9e336ad72716016807da0b0f98ca3dc0 docs/models/getteamaccessrequestjoinedfrom.md: id: 3c16321c9317 - last_write_checksum: sha1:07ad9a7780d98aab4da3f8a4324caf5dc20f60ae - pristine_git_object: baf897b0f3360cfcb2913843f874d98b6dc686a5 + last_write_checksum: sha1:437cbe22013e6ab5a7b2b2eeffdc6a773d8338e9 + pristine_git_object: faf574dc1b6817058c7c77c3e54d5fe7c05a5867 docs/models/getteamaccessrequestorigin.md: id: 6f07d7be3496 last_write_checksum: sha1:afe8cdcaedfdcec0bf55850e265870cceee87779 @@ -28235,8 +28263,8 @@ trackedFiles: pristine_git_object: 2007fa93371e74bef630e12491b5d3d42b4ebdc0 docs/models/getteammembersjoinedfrom.md: id: 76c534e7514f - last_write_checksum: sha1:8c6fc0613529d05b1dedbb161af47ca1f22fbdaf - pristine_git_object: cce94001e10d01589fe21f20c094faa82a9c1cd7 + last_write_checksum: sha1:941caa894b14e5a3f2ac537c4f326c9fc6a0ca6e + pristine_git_object: b0eea35bd7c1036ad07f88c81627ed803d616064 docs/models/getteammembersmembers.md: id: e184a5bc02ce last_write_checksum: sha1:ed47b50215d4f5b86aa2e477cd20dd2abd8dc2dd @@ -29059,8 +29087,8 @@ trackedFiles: pristine_git_object: 32c52ad67376681bdf80a7ae4a6ca5df4ac68659 docs/models/getwebhookevents.md: id: ce6814c51666 - last_write_checksum: sha1:cc085afc96bf8807b332ce028717a8a71d220d02 - pristine_git_object: 81d3117ec968bb669e412f12f5564fadccc57549 + last_write_checksum: sha1:80c061d86f8a5a4f31f43000619e0455e84f9b8f + pristine_git_object: 7fd2332fadf2aa50e9e97fd6a1fb4fc3ee073c84 docs/models/getwebhookrequest.md: id: efc5058ad05d last_write_checksum: sha1:bf0922cbcd06a324c231b7425afaa69cd07d6778 @@ -29087,8 +29115,8 @@ trackedFiles: pristine_git_object: 9c8448a6cb22920e4e0d879905a5b399fe3e2631 docs/models/getwebhooksresponsebodyevents.md: id: e1c0fc0c866a - last_write_checksum: sha1:b9fb9a668f6c13974ab61be3bdc7bb02f22701be - pristine_git_object: 9b9c1bea7ee7c624a262b093c6507df2de9516da + last_write_checksum: sha1:d62294816510c7d4798c401176966e98f990d601 + pristine_git_object: 67dc0b5d64811e83cb65b2f9b9870be7003b681e docs/models/getwebhooksresponsebodyframework.md: id: a4e055e70af7 last_write_checksum: sha1:f3d281b249a06f9323253a37a5726248f668385e @@ -29107,20 +29135,20 @@ trackedFiles: pristine_git_object: 5aba45ba30770bf373513367c059f57101c21fac docs/models/gitcomments.md: id: f5da39df8eb3 - last_write_checksum: sha1:4dfffc67a4f9f2a5f32f954cd7e3a1c6fbadae3e - pristine_git_object: fbcf2301e1e86d81d3589629c6dc6fa8a70865bd + last_write_checksum: sha1:41a1fedb5baf0fe91e49acb645a6d66bce7195e9 + pristine_git_object: 981efb241f1e6b82b1439aa2b52bea1cff6fb8b8 docs/models/gitcredentialsource.md: id: 049033c64cb9 - last_write_checksum: sha1:6a1edb53b4013b7cedac525c135f5f08378f66e9 - pristine_git_object: fa7516212c808c3c6667ad69245635da745f73fe + last_write_checksum: sha1:b1b594ddc793b8e46aa89481ac25746ab4349bed + pristine_git_object: 01d3830eaea785dfd8596c884ead115e7e3ea5aa docs/models/gitforkprotection.md: id: 8b44a5286858 last_write_checksum: sha1:dcb6edf016853f5c2430e568fdc3d1960ae496e1 pristine_git_object: c83ae355209bb8423851085e4160ae5066ecea0f docs/models/githashtagvercel.md: id: 075635cc9513 - last_write_checksum: sha1:d3cab941f19a5c48efe356d21fc7736dcde1a250 - pristine_git_object: 000f47257587eff5d7dfb6929fa2d6b8cc97d7ee + last_write_checksum: sha1:a15cf989056908b9089f89184c5dd3e14defe0ae + pristine_git_object: 591609cb03530d4edcd824325281bcae8e4c819a docs/models/github.md: id: a44c076c254d last_write_checksum: sha1:329f3627594694ab81b15429e0780950a0d8754f @@ -29155,8 +29183,8 @@ trackedFiles: pristine_git_object: 9b2f5d7b1001b8cb9f764f98287c23478c747ed9 docs/models/gitprovider.md: id: 6a8b8740fd71 - last_write_checksum: sha1:5b1d84dea5bd53ac9ffb562e2032d2619fa59b64 - pristine_git_object: c0cc91a3af339eed3a963d06e8a0e21f8d220a0b + last_write_checksum: sha1:c05a9b48ca16dd1a165f9dca03b73112993ba2fd + pristine_git_object: a2313c7824a9a549458cd2dda29429fc1902eb01 docs/models/gitprovideroptions.md: id: 1d851ef2d09d last_write_checksum: sha1:1247431198098d54ce8e8588138a7beaf3047b10 @@ -29347,8 +29375,8 @@ trackedFiles: pristine_git_object: 1b6c663ce81f574e0e156ba278f7e9b304209e7f docs/models/group.md: id: 565e059670b0 - last_write_checksum: sha1:a0bed0ee5a97fbde044206c44585aa85805c18f9 - pristine_git_object: 18a9b3736b79797525749753ce94291bca440b39 + last_write_checksum: sha1:1cf15d66b6d12ee39b413478eac0d7bbe5bfea75 + pristine_git_object: 250ad9251f54b6743c84ef8980a4bca416b4abf8 docs/models/groupby.md: id: ae3d0966f843 last_write_checksum: sha1:0d087d8be6929e7d3ffb6b27e223693f74875aca @@ -29399,8 +29427,8 @@ trackedFiles: pristine_git_object: 0276fe23741d4c16865b6ab531223641b8c2374a docs/models/headinfo.md: id: 79f3c294a3a6 - last_write_checksum: sha1:36a968a2cb86e27d717705fdd22d4d6cfa7a9276 - pristine_git_object: dbfc1e2a66b1a1ff30c77d375fc5e0b5eb521c9d + last_write_checksum: sha1:c6ac3fc31a53b26cad190eb53e076de6f22f2e4b + pristine_git_object: 350974404f6878083f6f1c9ec87a2ddaa8b6cd71 docs/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigrequest.md: id: d1d437ceaf9c last_write_checksum: sha1:6b63183d47466eec43e58a3a08227e39fec240f9 @@ -29571,8 +29599,8 @@ trackedFiles: pristine_git_object: 4de16274f1621254373e19e076d9b715f1c625e8 docs/models/initiator.md: id: 47c8b02fabf4 - last_write_checksum: sha1:89fcd5f9ac3092dc66659ba760227be7aa637132 - pristine_git_object: 22d44c01aef5fe2b54dd4c9f5a34fd3aeeb29bd9 + last_write_checksum: sha1:070172cdded9294f8215d1e4b57ebf69a0b310b4 + pristine_git_object: 9c12d2e1cba03d6c6bccc9efb0c7de3b6aba88a7 docs/models/inlinedfile.md: id: c7e9ad7e844d last_write_checksum: sha1:4a1090f83daffa1d1caa8abcf233bc3c15d7bb5e @@ -29587,8 +29615,8 @@ trackedFiles: pristine_git_object: 5f123982ce729ad8334686813aa057d7b7ac9312 docs/models/integration.md: id: cc3390477324 - last_write_checksum: sha1:a0baddfc4ca8c7a29387073e07a1c701682e5240 - pristine_git_object: e6d839d63b43e60c44fba680c8988f8fe978f3da + last_write_checksum: sha1:8499aa712121142f6db6500e384bd58812bc48d5 + pristine_git_object: 32efcdcbba187ad1a1d6e54a066755822feb815f docs/models/integrations.md: id: f9eb2b4df2f8 last_write_checksum: sha1:0b226fa72643af007afe11994dc091a17f79253a @@ -29663,16 +29691,16 @@ trackedFiles: pristine_git_object: 58db1d1205837f343b515f07d783e5ac92fae4f9 docs/models/invitedby.md: id: a3ce8ea979e2 - last_write_checksum: sha1:b12ece40f22b12012a7801756a2d966c1369cf0b - pristine_git_object: c46ce95b6e52d69f7a04da436f57abcaead075e0 + last_write_checksum: sha1:6f784c746be04478b2a42f0977be64bf5c8a0501 + pristine_git_object: e748c508443c14ddffc3c128ff622d65051340a3 docs/models/invitedteammember.md: id: 07b4adbda6fc last_write_checksum: sha1:2540d06ad57eb57454006dca84048d18a2486f1c pristine_git_object: 131b5f77828257c6eab09b33eab217376c98c921 docs/models/inviteduser.md: id: 9e2097b9e522 - last_write_checksum: sha1:75dde72aa141a412c9bbce410b3df96e1951e534 - pristine_git_object: 235fa1e0bba4844b02c49515c9b735da71024297 + last_write_checksum: sha1:13946f0ed1e6137093479684b04e1d454c2069ae + pristine_git_object: 88adbe6d7534a0848dd2f18a6790150a60403d1f docs/models/inviteusertoteamprojects.md: id: cf183b17a3ef last_write_checksum: sha1:f70e46adffe47ebc383cf9f6200c1fd713f50adc @@ -29727,8 +29755,8 @@ trackedFiles: pristine_git_object: f63d7ba6cd383026ecfaa2346aba44c59c8211e4 docs/models/issuermode.md: id: 698f304b1179 - last_write_checksum: sha1:b53e1abb8ec06d5b4628bc06c279ddbd1291e697 - pristine_git_object: 3c8841ea68abeaef34793bf62f2754e88fb82292 + last_write_checksum: sha1:41e84e24546dc50a1f762cdcf657b2a3f727fa1c + pristine_git_object: d52c331a48cba0b9015e70ead1830c61040603bd docs/models/issuers.md: id: a72d46aa18f3 last_write_checksum: sha1:177ea5edd89ef403e5a6dea4f934ab72ad4c289f @@ -29739,8 +29767,8 @@ trackedFiles: pristine_git_object: 2d5b11c2110bdf8affbfd80cdce5eae526f95d02 docs/models/items.md: id: ad0b2c445bc5 - last_write_checksum: sha1:27eb7d0cb6b784c2b9b3dec7636ac98ed0fdab74 - pristine_git_object: 62be01c1cc759f522540178dd28342023230b25f + last_write_checksum: sha1:79d1923dfca1cf6c29d1bc8a30042f9e68a6bf01 + pristine_git_object: d8f5e39b637904ed1d4d2bca30151488b8358e48 docs/models/items1.md: id: 8f9e9705a085 last_write_checksum: sha1:5f82620a41264c2315c4fc2065b3520b52d1e115 @@ -29755,56 +29783,56 @@ trackedFiles: pristine_git_object: c10e7fc6bdd55f846c9a63fd5bf829bc89f6c34d docs/models/job.md: id: 84e3a984fb8e - last_write_checksum: sha1:061ce9fc9f305258ec94e460db4a6175178ca732 - pristine_git_object: cbd9f2e39443ed6c087e819c968e1f99ff48af16 + last_write_checksum: sha1:d346b2e8742161680907f351de9db32535601d50 + pristine_git_object: 1ee2affe5da5fb7c8a295659f1845cb21cd454bd docs/models/job1.md: id: 4a08371bfb94 - last_write_checksum: sha1:b99bd9cbd6431a46a24c53de6d5e14b357392f0b - pristine_git_object: d691cdc367d9191f2862ce9b5ed520622f4bda27 + last_write_checksum: sha1:c78a201e49c24c638550edd06c05bb9f65f52cf8 + pristine_git_object: 57074b740c000e9f4e2dbefc44d27a4eaff5d3d6 docs/models/job10.md: id: 4fbeb96b3e3d - last_write_checksum: sha1:cb22d2cbfe15929b200e4e4e18b80ee98e1ad88e - pristine_git_object: 720eaeea6ba5401f360cc274c8b96cd588d39ad1 + last_write_checksum: sha1:d97173c405f0c4ec27714f1108a4d1daf771546b + pristine_git_object: 2961dfcf914d842ffcd4cf3a8a373dbad16f9331 docs/models/job2.md: id: 0e2bfaff4ff4 - last_write_checksum: sha1:0e508dde9242763e585077aabca573f55cb91ba9 - pristine_git_object: 81cd5c1ec23a1809b2b2af527581f73990d08a57 + last_write_checksum: sha1:b0c2b55bc5031408176774e26dcc3446a1f385e8 + pristine_git_object: 18bc0d7c99ac789fef65f7b795162f6efbb5ecb6 docs/models/job3.md: id: f289c1f86e62 - last_write_checksum: sha1:3231f75fdb619b43f0a22372ee8b27d9b315260d - pristine_git_object: e60ff177a4a344e803a866ebee389d59f933cd27 + last_write_checksum: sha1:9b3b097c4e911c4a2d61d2fc54f258020fbfc15b + pristine_git_object: ab7ea720268537d50a5369d1c4c91d5eebfd92e8 docs/models/job4.md: id: 17d96c3703c1 - last_write_checksum: sha1:6f760aa955745a21abf83ad97885315228b90574 - pristine_git_object: 89ac6dd08cc152a4f578cc7b20064ff6d733162f + last_write_checksum: sha1:7066d5bebb4e6a62514f46eae9cf6f62ebfb6763 + pristine_git_object: b8152ef5742a62158d66cd6816b074a9b7266f31 docs/models/job5.md: id: 36408a61f3f5 - last_write_checksum: sha1:0bbab882cc0ac866d7c6e38df395bb9f0a083a1e - pristine_git_object: 798a49c7a14a3cf7692a854012338bfd94644304 + last_write_checksum: sha1:242dea01793a2fe64653ebc26b5b0d0a08e8e305 + pristine_git_object: 885ae0232ed1d711e30db2edecd2ec68f89feb92 docs/models/job6.md: id: cff802e0e968 - last_write_checksum: sha1:92d32a94f5011c5950428be9955b1eddf104e1af - pristine_git_object: 42a45da73ea598ccbb5f4a84c23d2aed33d2fc5a + last_write_checksum: sha1:f65ca0b866eebbb4eecfd7e5c0ca4583bc4b0cb7 + pristine_git_object: de470ea0282f25a4ab29b226d7c925ebbd8be557 docs/models/job7.md: id: 3953a0ed0ad9 - last_write_checksum: sha1:69add38e55251e7318c427dd16b1c7223346b8bc - pristine_git_object: b5b7927269d0a10c25bd761f90a07fba944ac56e + last_write_checksum: sha1:577b10851181db7c4ac6852044a463260bf2c35c + pristine_git_object: db68772963ceffbb2e9fa63fd2b15f4c06b390ad docs/models/job8.md: id: 389801e3d02e - last_write_checksum: sha1:df9d5d9a2b0e60e959186690af34bbcb60781928 - pristine_git_object: 64da06757e36fe4cedeaf3468837dacaee9fa2ee + last_write_checksum: sha1:6ca79ac9e9aa0848adec1d050d8e454b04b33511 + pristine_git_object: 60846cf4650ad8bb278138ac2400a8ff144d2638 docs/models/job9.md: id: 4d3eb61f3ddc - last_write_checksum: sha1:a250d36d986ebbc0229da44168b3d6143b2e011a - pristine_git_object: a73cdb6ed73b95759dee86d9ecbcce4659e61eaf + last_write_checksum: sha1:f922de80bdd06ef8dac2d5ac3289081364f9f617 + pristine_git_object: 9d9e87fdacf2f1ba8d4d712e9f22d86fbf28eb08 docs/models/jobaction.md: id: 14e69196ed55 - last_write_checksum: sha1:b0645f0550cc9ff56718270ca3614e55b4c40ab9 - pristine_git_object: a194015b0409ec0aeef1882e23e6051323688849 + last_write_checksum: sha1:d4b4717334df48fc044793860d16ce51d3753254 + pristine_git_object: f8175a80bc8271987a68cebaf3c14f93b8d55830 docs/models/jobcommitverification.md: id: 935c7f4513f8 - last_write_checksum: sha1:8999202418b21281351171dd950522fdc8279b58 - pristine_git_object: 7af0f2f1fc47dd94dcd4203b76defecd5359d9e2 + last_write_checksum: sha1:95965f14f3a2e96efee0cf668e50d0f541b21185 + pristine_git_object: 4962359c8817b1f89d0f00e439a705775568ae9f docs/models/jobdefinition.md: id: c3fccf6d0a7b last_write_checksum: sha1:46659bc32a5475c5a96373cc5ef496090ac8fc0a @@ -29819,32 +29847,32 @@ trackedFiles: pristine_git_object: f5c83755f9391479456c60812abceeb2137faf6c docs/models/jobdeployhook.md: id: f84282ffa8fa - last_write_checksum: sha1:1133d8f3b49381413ea885f0346a9ac4dce164df - pristine_git_object: b57052b7bf598b55cf32e5cfbc4cd0455413411c + last_write_checksum: sha1:4e1ca92e1f59208913cc12b585cb1c37230df7b3 + pristine_git_object: b6cfc100fb5187c84a1471c08da87acbe5f9c91f docs/models/jobgitcomments.md: id: 145688fabb0e - last_write_checksum: sha1:a362fb39a37554f7874149d29dc53327fbee0b3b - pristine_git_object: ac9b5a5a141608b9c2b60aedc1837bf54ea28187 + last_write_checksum: sha1:26ed3e7825f785f9c46ecacdebfa30897e020dcb + pristine_git_object: 473c4f14eafac3b58b34d9d2e74513926bd18be5 docs/models/jobgithashtagvercel.md: id: caec9af41707 - last_write_checksum: sha1:182cbf26885abe2b4e63bfc0d1ee201705c22f13 - pristine_git_object: 02cba44f86a0d230c560715074cee4766834695c + last_write_checksum: sha1:8a3f3a33ab19a0733274800a0e6c934af675d619 + pristine_git_object: a47a01410b993482d5efb1ef7fcb37ea0b7f92b7 docs/models/jobheadinfo.md: id: 05ecaf541996 - last_write_checksum: sha1:40075ca0223f51fb2960c39fafee7c43ac3ad3c4 - pristine_git_object: 49567309bd29d7214fd5eeb6e7f72fc817b07f5b + last_write_checksum: sha1:4c9c3b5b1d38574f6f0c08b3ccb37cdccaaf9690 + pristine_git_object: c2572b9a935f050d9b08fac2abff7d041d733116 docs/models/jobnsnbsideeffect.md: id: 5ffac34833e1 - last_write_checksum: sha1:f9e2d3f19fc2a23830cd9aaacbc7d7a7aca24d77 - pristine_git_object: 17b83517abbc0ec490d0be8457fdc8f804390c95 + last_write_checksum: sha1:0cd5902d0138a717844ab56578f6c89ab3a38f6b + pristine_git_object: 8c48c980c73555d89dbbe8a0dc728aa6df0f93fb docs/models/jobproject.md: id: 4ba5f69f13fb - last_write_checksum: sha1:fd7e829b2792b54ad03915aa3371de0c3dd42ef5 - pristine_git_object: 56ccdfba3512ebc5410b9a30451b12e130393cfc + last_write_checksum: sha1:c9592686050400c659bf590860d86c78dc29a311 + pristine_git_object: 397ec60694bc78629366a42081df5b6db751509d docs/models/jobprovider.md: id: 8b4efc6b73ac - last_write_checksum: sha1:a071d05c0d96ad7cb7fb51a8640e346a3aeed279 - pristine_git_object: ec8dc46935c0e363876277963f4f0209f3d295a2 + last_write_checksum: sha1:b43115b7dc4e138dba87a0ac08ad840fd32d5087 + pristine_git_object: 46bff44b03d17ded6d7ca5112b6cc8d791d33cb0 docs/models/jobrun.md: id: 7ae28db76785 last_write_checksum: sha1:8f931c069110802f52699ba6bed4536d62089b9f @@ -29863,8 +29891,8 @@ trackedFiles: pristine_git_object: 51610617032d0ceaaa67aaf5f9c4e9a27fd42ec7 docs/models/joinedfrom.md: id: 09c4e0ce9285 - last_write_checksum: sha1:bf19bd6fe35735b3c009f6f8cccec1a90f70eaea - pristine_git_object: d96f05a9f478ba6e44f73a6e1ca9d33a998d25b3 + last_write_checksum: sha1:c49da2bb6c57ab95c8a7cf85d635045074da9a31 + pristine_git_object: 1a85f1995c4d1742a7a509989d8f735c4fae8388 docs/models/jointeamrequest.md: id: 62fe834ba5fd last_write_checksum: sha1:f7119040a6c0995c2c471e7dcf581411d7095a2c @@ -29947,12 +29975,12 @@ trackedFiles: pristine_git_object: 252690c95dc02679a71279b3c721b9f93487d9ad docs/models/lasteditedbyprincipal1.md: id: 446e10971c6f - last_write_checksum: sha1:24147924f98bc3db8b86bb6e9f69ec44c66394cd - pristine_git_object: 81e1972c101af92678635a030e4230839a96a8a0 + last_write_checksum: sha1:cfecf05ca77b379bc5196d6bd881950e843d60e7 + pristine_git_object: 4be986c60cc1836ba37fb2882b2d60869699e2bc docs/models/lasteditedbyprincipal2.md: id: f760957f01ed - last_write_checksum: sha1:af4f6ae91147d62264e09f71a7293ad7466d5c20 - pristine_git_object: 4dfe7a0b0fb682e714501ba182ae5f227d62d13e + last_write_checksum: sha1:3ab0c0c3734d88d34aa1991bac20837291696f2e + pristine_git_object: 94a2dbd965b0f4b5e8406596cce88ac63c666aec docs/models/lastrollbacktarget.md: id: 79dca0650540 last_write_checksum: sha1:456bff1bd72fd520886737685c3b59ac64df5abf @@ -30197,6 +30225,18 @@ trackedFiles: id: ad02ee11e993 last_write_checksum: sha1:198e2bdad4d3b295faf3d05835bc4c8a49948228 pristine_git_object: 0ffd37cf35edeafa907db4f9af9a6aad0afe3309 + docs/models/listauthtokensqueryparamkind.md: + id: 7a566effcc70 + last_write_checksum: sha1:ece97642d1981686665b78133a2219cc32465dfd + pristine_git_object: f0576deb270bb24e95e7e25bb687c66420b274ab + docs/models/listauthtokensqueryparamstatus.md: + id: 30c609ef75cf + last_write_checksum: sha1:42afd1281474a8c3243ab200041101fc875551c2 + pristine_git_object: af3329d05f3be41f694e955a9c6f8fbb6afea0c3 + docs/models/listauthtokensrequest.md: + id: 5f1994cf8ffa + last_write_checksum: sha1:8ac165024d665bc6fa06c003923a1c5c1b750c4a + pristine_git_object: 5a145af0e5e3b7d2eac3bfd275d6896aee6f14ec docs/models/listauthtokensresponsebody.md: id: 6b294b9c0448 last_write_checksum: sha1:c02fedc9b0f95e717026a8088c090006075e5b5c @@ -30579,8 +30619,8 @@ trackedFiles: pristine_git_object: 9fdf5389ef362b0e0b3ec79c02b5830d4b1a6e13 docs/models/listeventtype.md: id: b55acdb24162 - last_write_checksum: sha1:2e2a6b03f5488f464c76e82d64e89e531d33e930 - pristine_git_object: ce6f1b5d587dea4d26bdcd9c0379527bcc15b4b1 + last_write_checksum: sha1:9f5e1196222b5b6b691176073bcd8235a8ce9976 + pristine_git_object: 2d0e00387ff2ae672efc8321587629aa6750ddae docs/models/listeventtypecategories.md: id: c461fd3a39d7 last_write_checksum: sha1:e3bc060adec5380608079b3aabea584723ffc8f1 @@ -30591,8 +30631,8 @@ trackedFiles: pristine_git_object: ab6d00634819d51264969ddea233f622b239d825 docs/models/listeventtypesresponse.md: id: 0043de6645dd - last_write_checksum: sha1:4ba3739c841968f104f31d27c9525b18b0cbd9a2 - pristine_git_object: e6051bc9c3d12910722ee8bada2a59cdcc1790a0 + last_write_checksum: sha1:62e6d13cc1eb34fb884d7f16ab770ae31491cae2 + pristine_git_object: e23ab56b092ac0c9cd1bf3b6d56001653611c667 docs/models/listeventtypesresponsecategories.md: id: 2c1b9f512eb9 last_write_checksum: sha1:94081c39f6f9a414b5911a0b760d121fb0a85ccf @@ -31863,8 +31903,8 @@ trackedFiles: pristine_git_object: 9c0652dded4e9ef11eb96bf4e2533fe64c53292c docs/models/member.md: id: cfd87f58d779 - last_write_checksum: sha1:453e9380b67b5d1faef39171ac77fe208f2c0d25 - pristine_git_object: ecb8115fefa2db01381225ddd6207382b598c6fe + last_write_checksum: sha1:65904d7c37ce8e75247284b8b3f9c8b96a2667b9 + pristine_git_object: c84a4c6a59ee00c2dcaefcc147d2d8af533736d5 docs/models/members.md: id: d835bf11e016 last_write_checksum: sha1:b40f3e66868295bdf03c2b3ac520cd087ccd503d @@ -31899,16 +31939,16 @@ trackedFiles: pristine_git_object: 7bafb347fa510bbd6fefbbfd91e17da6bd6359f4 docs/models/method.md: id: 51255838a997 - last_write_checksum: sha1:6d7505c8e9a6a53ba677f2046c5fbaa89e0db495 - pristine_git_object: be7844485630e5dd27517bf88e724b5129ea4c89 + last_write_checksum: sha1:27c2f7b51c62c0ff745f7c35a55b5d19eadbd1de + pristine_git_object: 261eea08269f816f0da1d8a587478b90e942c540 docs/models/metrics.md: id: 248a854ea5e9 last_write_checksum: sha1:6d0c86f6d7555894b2e18e9a3c25f2d00f46c69b pristine_git_object: c9a39ef90df137ad2b973f6f04cd4a9cf81ec63e docs/models/mfa.md: id: 394c299d51dd - last_write_checksum: sha1:c355fc49dd9281e214d4dc6a58fd819456f17c79 - pristine_git_object: 23dda1d8cda84622b82d360c30b521cd1ff3db51 + last_write_checksum: sha1:6dd3c1afab668cfb7ad07d1b65082993ab1b8440 + pristine_git_object: 37bbc8f5d4dcbbecc6e736017327287280ae4dac docs/models/mfeconfigpresent.md: id: 563d68c8cfaf last_write_checksum: sha1:87ec12fddd527072b0eb89887df4476b1541c12b @@ -31923,16 +31963,16 @@ trackedFiles: pristine_git_object: 5a3464e82b44d339822142df6aa9b19c6caf0460 docs/models/microfrontends1.md: id: f6fd59751c3b - last_write_checksum: sha1:1d1618246fafaac145fe4a55d681db5fed6819ff - pristine_git_object: bff849773b12ae8bd8fab6f742f465fb72686350 + last_write_checksum: sha1:7350d1ffc43e458d97e054787934d09542ce70bf + pristine_git_object: ff47bb88b3cad39af8e87cf3c22a61696e5640b4 docs/models/microfrontends2.md: id: 0e13770f1847 - last_write_checksum: sha1:859e7e4775313224c1a46d595ceddad6d5157b68 - pristine_git_object: eeeea799fd125f71a6c258ed2ac0b3fa843f4c0b + last_write_checksum: sha1:c264a04d8a04c3f2f2d8854f77a34fc17796b9f4 + pristine_git_object: b9f03ab06f013f1e7b5d1b8464c3520488144a68 docs/models/microfrontends3.md: id: 4326fa60b1d9 - last_write_checksum: sha1:6edf2ed2d90bf2a356e808766ad5031fe4ef69eb - pristine_git_object: cf9763336c664fc2c3959cd9c4d76ccfe9b0794f + last_write_checksum: sha1:328d5ef762814c6e6515ec91b7d1b61b38da7b4a + pristine_git_object: 273ba74031b46edefd0e210484f2d54eb24d9b60 docs/models/microfrontendsmfeconfiguploadstate.md: id: 6d9556840526 last_write_checksum: sha1:b8bd01d6352fe612cda4d14943b6af32f1a32342 @@ -32007,8 +32047,8 @@ trackedFiles: pristine_git_object: c8138aebb6842d7341e7dc579d2f845f5ee84d9f docs/models/mostspecificsubdivision.md: id: a6c577d2008f - last_write_checksum: sha1:1db5f23226b900a019712e7b1c588f4c7fd04453 - pristine_git_object: 95b05d58deaad0671e07812549f8fcd47635987f + last_write_checksum: sha1:524e2c7549e03402a062ed688fc6bcd88af2ff12 + pristine_git_object: d1d9169c6e453cce587da9e1e467f39b016d0ad7 docs/models/mounts.md: id: 337c30137e2c last_write_checksum: sha1:342f817298a1be75b4b73648a51d178b3f514e6d @@ -32039,16 +32079,16 @@ trackedFiles: pristine_git_object: 6d6e39dc494d3cff05add4acf9084a9e29ea892b docs/models/name.md: id: 6ee802922293 - last_write_checksum: sha1:e23659019b544737de2fde06ccaaad6d7fde6042 - pristine_git_object: d97d538ff1ce215a20420cee359d83474ca4ac72 + last_write_checksum: sha1:36769174efb8c3f5e0bc368a4a1a2b5954811a5a + pristine_git_object: 6cd1a55fd14a84c0b2b197f7339b9e8e01e14cd6 docs/models/name2.md: id: 756aba6c2c68 - last_write_checksum: sha1:9fbe46d78fedfb8a9f9b5520c3082902302bc214 - pristine_git_object: b3f56968cb32eaa9ac9c3ff8fe1cfcbd051c307c + last_write_checksum: sha1:55711188a4c41ae97be9073ac0120545c946e1b0 + pristine_git_object: 44bc7df8fdb7a33c805fa5203d16381d8e346748 docs/models/namedsandbox.md: id: 4f85fdcd8c46 - last_write_checksum: sha1:de4aaf45782df04ca3b3a5d266ad4e0d0ccb4ec8 - pristine_git_object: 529f727d462b7d939198139477a18b1a03a3f796 + last_write_checksum: sha1:108ed776a0f6ed56b59c203a44accc5d3c9eb0c5 + pristine_git_object: 7955184490c0fc648119e677060c369e1421d7cd docs/models/namedsandboxmode.md: id: c4f1d90eaaa6 last_write_checksum: sha1:6b288a49f37c77cf53ae8d8b6df92e02159b74af @@ -32067,8 +32107,8 @@ trackedFiles: pristine_git_object: 4010ed6effbcae7a1091ca1a7034a435dbd91596 docs/models/names.md: id: 2963b38b6832 - last_write_checksum: sha1:403e293e2c40266e347fe71fa03edb017eeadfbb - pristine_git_object: 095d0fa6dbc601f2a794b1f26d25d85acae3da0b + last_write_checksum: sha1:2e46bc21c2e92a4477e137324130cbb1337eb4c1 + pristine_git_object: 4bef65541ee7309f3f249d8e5cb62343c6acb4f5 docs/models/namespaceid.md: id: 3cd02f6f8db9 last_write_checksum: sha1:55755ba2602d65341cb514a89be936a582651e10 @@ -32087,88 +32127,88 @@ trackedFiles: pristine_git_object: 34b72ae5957ef13fc60134e825203576ca216c82 docs/models/newconnectconfigurations.md: id: 24d833fb28a7 - last_write_checksum: sha1:2b34c7ef217351a8891cfeef65df6e2895df1991 - pristine_git_object: 4790080f93bc3d04d4d5ce628232265830af8870 + last_write_checksum: sha1:ca3535f162fd480c2a9c457aeca03f3a5f649b9c + pristine_git_object: 9d157b435462475d764add39c366979563dab534 docs/models/newenvvar.md: id: 67652254df70 - last_write_checksum: sha1:b193c922bb6823c0a341550af345da821cefa74a - pristine_git_object: 48fd99ce345eebdf626a97335100914043bd12e5 + last_write_checksum: sha1:39773582d223069fe9c6d886e0e41c3bad2e4dc6 + pristine_git_object: 3e4afc6a086a45cc3a75813fe6793a202f0f10a9 docs/models/newmicrofrontendsgroup.md: id: 9300cccfdb0e last_write_checksum: sha1:373709bbebda6721240113b717211c18c1c1b9e3 pristine_git_object: a314ae210e4671efcc80ff18fbb00300561aaf69 docs/models/newowner.md: id: ee041888ed14 - last_write_checksum: sha1:615ee75b2d7a2aff5759a069d0189b374d899622 - pristine_git_object: 9785ec01b7fb7a980db5341808aaa74752297c59 + last_write_checksum: sha1:b6a0edb1cc49e9aad49943639fd23dc8a9eeba5d + pristine_git_object: fd13bc201786ea1f10e4cfdba021c77607315f9c docs/models/newplan.md: id: 0e4e8bd8f1b1 - last_write_checksum: sha1:04a310ef69dfb1e89d7ae1d7b17c1f3ebe960780 - pristine_git_object: 4a8072633c4b571838164b9014c2a49bb668d42e + last_write_checksum: sha1:25308a45d8487ca9da5aeeaaf4bfa8e827407f6f + pristine_git_object: 98277040c6084dc7935cddc2c5f86bd26f131665 docs/models/newprojects.md: id: 75e3d5def5fb - last_write_checksum: sha1:91b0a3c105cea1d6dfb1e7ce4d60c9307f2528a0 - pristine_git_object: 87b7b8d13e4c454c393878629c42927fdc8993fb + last_write_checksum: sha1:35c6091ec23ad002299792f939911c861b6270d1 + pristine_git_object: 727d0e92d047b89a167eaaa18395dd377142e34a docs/models/newresourceblockingpolicy.md: id: d877e65bf57b - last_write_checksum: sha1:efb3f8d3960f94f183aa6f29fa0ae33b8e75182b - pristine_git_object: 6d80d62a90730bcb970ce307dd76d9ef692b2d6a + last_write_checksum: sha1:5df4f6ceb2a7ad16a25e05234e4e3cbfab83af61 + pristine_git_object: db04febdea4514724d910f56d8fbe767bceb9f3d docs/models/newtarget.md: id: 13912e5bdad4 - last_write_checksum: sha1:00a5a335c026375e3b24e57735f000446aba6806 - pristine_git_object: 085c294ea438b7d620a824ff2efc0266e2add767 + last_write_checksum: sha1:813c8aa5b0162af9f0b479d0d705d03c2b54f5d7 + pristine_git_object: 66d6533ab17ae6274ac29d5797599ca9a405a00e docs/models/newteam.md: id: 069bfc7da73a - last_write_checksum: sha1:b79f24da39056638df6c7d0e6a277ffe7be5c1ad - pristine_git_object: 2c409aaa92edde67abbc20c0ecc89cccb6197a3f + last_write_checksum: sha1:3b1a1860ba04511529dc0d6bfe19a2d330c737de + pristine_git_object: d7b92994fcdd28f2e598e7321ceedfff4a54890f docs/models/next.md: id: 8bfa9c570dbf last_write_checksum: sha1:fa84bdad14b69bccd324bac2f4b7a368712e0b75 pristine_git_object: 69b4931c201bcbcb6404a77800d7cfe13be6588a docs/models/next1.md: id: b43b0360cf9f - last_write_checksum: sha1:345c86db98b052e09ab8f0472e9079f838144089 - pristine_git_object: a4a3e6b81be9a6032bb490ecbdd6d3b5b2c1adbd + last_write_checksum: sha1:7f7b6e32e21bdb86b172ecfbd2c8bd8b37e4a8d0 + pristine_git_object: 03c39d809a286c6d6fbaa095f128d7c56fc3d67e docs/models/next2.md: id: 8dae580f114f - last_write_checksum: sha1:b99dd67cb5583378b0a4c2f429b6ed327783654a - pristine_git_object: 803cd93eaa25fd0b19d944084d185418ce1a9f45 + last_write_checksum: sha1:c9ffd24e684bf08b7bbc451f6149e8cd7acac0de + pristine_git_object: 4b39251a06bf0d64d62e9f07f2c12c940aad1dd4 docs/models/next3.md: id: be65b57bda93 - last_write_checksum: sha1:d45f521037e43773df9cf07d43feaba6906a7936 - pristine_git_object: 9293df886383b651fcbc4063d5b84f0bddf68c3b + last_write_checksum: sha1:448d399374d42100766e2f5b272aacee65da1050 + pristine_git_object: a5121e7375fab2c0d6227b05f0205a35612b90b2 docs/models/nextaccess.md: id: 19e4a20160ca last_write_checksum: sha1:1650db57849dbe0c351527c7ef5ee72b780f924e pristine_git_object: 3fc6730c95297ca82608b3526b9a0aa9d46e6624 docs/models/nextpermissions.md: id: 143c531ef620 - last_write_checksum: sha1:fb508223ab72205b6a7c86d9f6b07298383c5a07 - pristine_git_object: aff0d91efc09ac72e847ff430d5f97757e581334 + last_write_checksum: sha1:5d2bee04a56d5c2d50d19ddbb3153f4821e97041 + pristine_git_object: 325de3cfb5eca16d103a5def8afca5909e1f227c docs/models/nextrole.md: id: 2b7bdbb091d1 - last_write_checksum: sha1:74f70e0e6d037df7c5c9cbf9ac13694b927c5b60 - pristine_git_object: dd79aa9244164e45f697f907796404ed9a01f299 + last_write_checksum: sha1:074b528f7d9a912f65dc72cd95e0e259cd0822b1 + pristine_git_object: 6f5c0aeda92aaa8c134661d093ff4841f33ec1e9 docs/models/nextrule.md: id: 7170edc60785 - last_write_checksum: sha1:6410c193300b4680cef2175e5680a5f47a7829fd - pristine_git_object: 297d65954a9c5ca788e0b41786bc5f5b55a8bcef + last_write_checksum: sha1:577132236272ae59e3927c11e2e481288ade6122 + pristine_git_object: 901432921ef43d3a04a3c7dc4924fd9a54bd177c docs/models/nextscopes.md: id: 2f4fd38d41a2 - last_write_checksum: sha1:f00d1c25c5a08aa10a85b872b0c15f68b659eb91 - pristine_git_object: 018f215b652883624b9134f66951817faf3a4af4 + last_write_checksum: sha1:28e4dadaa744aa091d06620571ba248c5c958b68 + pristine_git_object: b4a3238859de691566c419497c17577578b65863 docs/models/nextstage.md: id: ce15859a0e1e last_write_checksum: sha1:c28c172a87e6808b2f77cfd83b5e916cc1bc0416 pristine_git_object: 55b27774a40c38c941dd613c4551a04c40ee1f4b docs/models/nextteampermissions.md: id: ab790bcdb418 - last_write_checksum: sha1:40934b34448f5351e6b653e00e391933de116a34 - pristine_git_object: 9832de6ca304f43eb9118ff2b7675798a0e686b1 + last_write_checksum: sha1:a72edbfb30efb99b9965e8cde0219f418b494b32 + pristine_git_object: a8a62f392cff15811f884b9a4f65a7ec8c4ace96 docs/models/nextteamroles.md: id: cf72587a6596 - last_write_checksum: sha1:af5fedfde3fa559fc61439d6d8ff2680ecb45620 - pristine_git_object: 157afbd7b9d94b470069e04803f344cd617227a5 + last_write_checksum: sha1:f40470e1dbce8f45aaf885f362d55cae22e1c3a4 + pristine_git_object: 81190dbe72820830a166289e7b15bd947d8c5c5d docs/models/nine.md: id: f81fe133123f last_write_checksum: sha1:3c00af97ce2126bb15e017165ff340cba6f5345a @@ -32179,44 +32219,44 @@ trackedFiles: pristine_git_object: 5aaad3b15ae7aaaf09fd0171d14b7d8ca8965c88 docs/models/ninety.md: id: b8a4eb1cea2c - last_write_checksum: sha1:6d168e84bfbee477892e5758fe5ecfac0d46c2e4 - pristine_git_object: fdaf2b8f83d1cc00b4e6888b7f0289a48ef1acdb + last_write_checksum: sha1:599d090810f652b5105b87e122e4217e9a59b31f + pristine_git_object: 9056f3300159c2b7bf530484e5c253ecfd037aee docs/models/ninetyeight.md: id: d1da49a0eb21 - last_write_checksum: sha1:239ba28d6b448b9ae527b9d95327b1fdd8bd305f - pristine_git_object: a6ca2d25d1fc21114c04a7d8def3871528118c71 + last_write_checksum: sha1:64f82ecd2d0e8cd7e45a0f037258f1e0f5334209 + pristine_git_object: e4182110a09e61309217379c2ae6f5ef1e6a25ba docs/models/ninetyfive.md: id: 7c056c1e2dc7 - last_write_checksum: sha1:d152f62956daf042e7e4fdcca4b0b741f98a1eb8 - pristine_git_object: e3b8afae9afb04a77c612985e842911a7cef4700 + last_write_checksum: sha1:5b1a927097c5e4addf653eb25744b9dd0b17f0ff + pristine_git_object: 8cab19409e390341fe568a215be528ace9d9942a docs/models/ninetyfour.md: id: d68ec758105c - last_write_checksum: sha1:98e50af3b6f5c8682d2b48da0d51a496c45d787f - pristine_git_object: c74c7ba31fb58c80562fb45aeeb1f97f6227170c + last_write_checksum: sha1:b40a475d8a6c131e73894341c6edb6c0ba5099da + pristine_git_object: dd047ba7f62490566a1e479f14b15b3edb02e35c docs/models/ninetynine.md: id: e41f919d845c - last_write_checksum: sha1:99cbe62059c786700005f19dadf5ff5800c4206a - pristine_git_object: bf34861db701eeb3d2e39da55a9ea7193e338727 + last_write_checksum: sha1:81579b5350ead0ebfa45fb194c2b516a99890b61 + pristine_git_object: 6c1ada055827c82fee797082e33392420c5e6846 docs/models/ninetyone.md: id: 41cd48ece0e5 - last_write_checksum: sha1:81665030aa6dd826055758826f81747e347b09b9 - pristine_git_object: acd8461ce02dd0e14bce3df1ca23ca10176bd915 + last_write_checksum: sha1:9c37573b7118dfafa8d3cf329b4a3afb252c1707 + pristine_git_object: c630b7c5ce866d1b533fc1803541f4e577cf2911 docs/models/ninetyseven.md: id: 9f986952389b - last_write_checksum: sha1:037f3d4076696019f6a10564f7a8195ad56839a4 - pristine_git_object: bc7c6692ed9c9c379a038d496ba5db1e14c20ba0 + last_write_checksum: sha1:172e119e4edcceacd39fa3f846c38059f12d49cd + pristine_git_object: e8c54421259b22379347e75752ad8d59555717c7 docs/models/ninetysix.md: id: e2ca23a19485 - last_write_checksum: sha1:ae9d7509b49b6ab6107cd2afbf401f7a54d5884c - pristine_git_object: 1a58350731f2e2a56a3b2a550e155d7fb756407a + last_write_checksum: sha1:5411eda4892eabd27a75712ce02879ffb609c8bf + pristine_git_object: 60f4ec2a13d84d071e7d82a42c73a97f318bb1af docs/models/ninetythree.md: id: f78ec4971a90 - last_write_checksum: sha1:02ad17e636698e4f586ddcd4cfee35bce94db1dc - pristine_git_object: b3ac9c83576019272618428d2cc88aa217fa6b64 + last_write_checksum: sha1:cd1f3ea9230d7fda5df2381710839322c0cc7dd7 + pristine_git_object: e0959075d413b1e7a5cf17d6316285f705ea2acd docs/models/ninetytwo.md: id: acf15751dc67 - last_write_checksum: sha1:39ef31ab22d2f881b0a0dcc3e20d9fba7dcdb016 - pristine_git_object: 5b69623c770e5cb270c7852c7076314b5c28c9fa + last_write_checksum: sha1:3b3cf6c21ff43d4239aea31fb431605d9ef88e74 + pristine_git_object: de724b836ba6e6736d0a826257e4428d18090e35 docs/models/nodeversion.md: id: b91752246670 last_write_checksum: sha1:ded1b6bbff8b12d325e71cb9a4e786806587cdcb @@ -32263,8 +32303,8 @@ trackedFiles: pristine_git_object: ed663c1e78a3c95595c59df435466f2e52b76e4a docs/models/nsnbsideeffect.md: id: 3f84b0dc5987 - last_write_checksum: sha1:7e782164adcac4dc2c961a5bb78346496b922ee6 - pristine_git_object: 387dd2cc9a8ed47053ee0774b9d3f6d5bfd1859e + last_write_checksum: sha1:f68d42b4c20fb46500e48b26757730d09892357a + pristine_git_object: e42296ac51ffca82c2f2b6c001fb6a3b668d5669 docs/models/objectacl.md: id: ac1b7e98b771 last_write_checksum: sha1:4a037cd5642856e58bb432fa02b49071c6fc935a @@ -32275,8 +32315,8 @@ trackedFiles: pristine_git_object: b97dc684ddbd2887b32715387dbbc0e3ea8efa8f docs/models/oidcproviders.md: id: 51e0273f01a5 - last_write_checksum: sha1:01032e2ca7389a88f1200c168d3192b2a5c0ca97 - pristine_git_object: 55bfd900e40fccb6b5143305f3a1cd294208bb9f + last_write_checksum: sha1:b8e6bad37131bf8ac02a415d4568f683aaeaeeea + pristine_git_object: 080057da4a78f407ad81765fdc82bb1890a29572 docs/models/oidctokenclaims.md: id: 9bdafa1ff06d last_write_checksum: sha1:3064a6badbf6f1ca2a451c9ed8b28727b4bcd9b6 @@ -32287,76 +32327,76 @@ trackedFiles: pristine_git_object: d759780a4a510ea13519cae54d954579876504b0 docs/models/oldbuildqueueconfiguration.md: id: f8827cfac17c - last_write_checksum: sha1:87718f117ff32eb8348f986928ac7325959c3385 - pristine_git_object: 79c7c709f7bfadcbb289126626518057fc76ca8d + last_write_checksum: sha1:dda8181547ca5a7232ccd14ad957939050ccf47f + pristine_git_object: 2be6fa936217136fc6c32c3482a2a2fc8c5e51ed docs/models/oldconnectconfigurations.md: id: 721df1e13e37 - last_write_checksum: sha1:d6966b1a043cd8d761abe735c1107500c7d69b2e - pristine_git_object: 8ad60155462ef3bf45170357d188d9d06cc84770 + last_write_checksum: sha1:ad35319bd38cd4513fb3389727f480a243304cc7 + pristine_git_object: 18387516451b0717e13278fe0c65037dcabac656 docs/models/oldenvvar.md: id: "971947699000" - last_write_checksum: sha1:b50507db6d5fc7a51ba0a60688e02ea5a174a947 - pristine_git_object: 42de012f0ba5d1829be91e808ff27256affc9deb + last_write_checksum: sha1:8d9fe80541e4c59f06d3f97010a2c0a27aa6d07e + pristine_git_object: e9fc4394d6dcd0b07dfc7c907f9eaee639131519 docs/models/oldoptionsallowlist.md: id: 04e22557987e - last_write_checksum: sha1:d99d75c41f42f359b8279a4db4430026c9f28225 - pristine_git_object: 8ff3d76f343aec53f8a2bb305a701e10c28fea96 + last_write_checksum: sha1:aab368c57176781d2234c8892c1b9012abb696bd + pristine_git_object: 09fb35292e5f16857e985ed72c505001b9e8208f docs/models/oldpasswordprotection.md: id: f62a8a346682 - last_write_checksum: sha1:9709edf3195bf34d12ca653de08cfd7ae627228f - pristine_git_object: d8b044bdd5dcbcedb9b1f142b1332696589f68b4 + last_write_checksum: sha1:50778ab151a0d0b1d4fcb8abda21f5e7de021245 + pristine_git_object: 5988065ff9b2cdbc1fd67a3c7bcf89d6159557c6 docs/models/oldpasswordprotection1.md: id: 156325e32763 - last_write_checksum: sha1:b55653a0b9a25e691f064ee6df5e790c302be1ba - pristine_git_object: 8688ad28b6b3eb47f8834b17fbaec90827ea666a + last_write_checksum: sha1:6d2838636f219c3b5f84bdcfcb0a41bfb51886d5 + pristine_git_object: b832de61b79e35d1a7ca547900e7470bff48c6c9 docs/models/oldpasswordprotection2.md: id: 454dad47a6e5 - last_write_checksum: sha1:7d0d19f8632fddd9a601f113a1b7ce07e8d95b76 - pristine_git_object: 632c0f003e7755be705a620edd26038830833953 + last_write_checksum: sha1:fbc5892efa67eb9ebf6525d6c9d5ede6d5f6da4e + pristine_git_object: 1a5b8dc28a6512a65356b83860b38d53dcc41c6f docs/models/oldpasswordprotectiondeploymenttype.md: id: f333063a43b4 - last_write_checksum: sha1:3e79729bb745e76bd1bbf9e77d439fe29f67cd71 - pristine_git_object: 2297e832d80e4188e01604077beab4ad4d147a4a + last_write_checksum: sha1:8ccb979400683729ca46fcedba580ffe0377d68d + pristine_git_object: 1dd78dcfb93457333e53e0840b4cd14b1209db6d docs/models/oldprojects.md: id: 91cd3f61a02b - last_write_checksum: sha1:970d06a6f992a704acc320723124b6c3938da7e1 - pristine_git_object: dfcc2f4d5614af5be9306df673f4b497d2a137fd + last_write_checksum: sha1:48d9a963968ebcf4f4bf460fec927e01e7fe3b8a + pristine_git_object: c71b4db829da426a5125d68eab4b33c09edc7ce6 docs/models/oldssoprotection.md: id: 7e298d38457a - last_write_checksum: sha1:d545479af1ca7710e926d3144d35e76fcd8cc8b2 - pristine_git_object: 29ed19f3c7d523411b17070c8aacdb7327a2d275 + last_write_checksum: sha1:923c2b2820e6b3f94ac4785b8d6148104f0d98c2 + pristine_git_object: f290c8cf656f23c2f733a7b81f608459b4f76f9b docs/models/oldssoprotection1.md: id: 7261467750f3 - last_write_checksum: sha1:d1b9eaa2032c2c27e2991794c9b367c85180a049 - pristine_git_object: 2dd63a18545776c4e200a5540232495c8e70ef50 + last_write_checksum: sha1:e7cdedf99aa2bf5ad00bd84612f1651412542a86 + pristine_git_object: ed4bb1aae3829a3151c3c4bf0481bdf43e44e77f docs/models/oldssoprotection2.md: id: 364c46ea3e09 - last_write_checksum: sha1:e61aa7ce4fb71ae991733cf9f2c5fe48e09a49cf - pristine_git_object: cd6a630fdca3c57602c305ce0da3aee88d923276 + last_write_checksum: sha1:a03b57d81c82088e348ca8deaadaf82411a441b5 + pristine_git_object: 6c5437a908c22846fe79b6a77d98f439bddae7e7 docs/models/oldssoprotectionapril2026securityincidentmigrationappliedfrom.md: id: 8a7d8dcfd4d4 - last_write_checksum: sha1:6bab69288004e87d7b166f584d522ce39c9fc64b - pristine_git_object: e95a96aba09d5853f27e38c54d924739c49b6de0 + last_write_checksum: sha1:2b7b9a3c48e94bcbbfa5558edaa594178983db37 + pristine_git_object: db7ebbb5ca090d0e39f61538e3456223a8f45817 docs/models/oldssoprotectioncve55182migrationappliedfrom.md: id: b2e1d6f7a6f9 - last_write_checksum: sha1:618ff9cc7269ca819a816451aa06a75fc83bcc38 - pristine_git_object: 4aab58db1011c2d3f6289dc8e5794b92b1614384 + last_write_checksum: sha1:94f3a649c44c3442e0e760833b1bfa647b76c006 + pristine_git_object: f2727c3c617c20bf88cbb67b34d64a86fb2354c1 docs/models/oldssoprotectiondeploymenttype.md: id: e4009e491834 - last_write_checksum: sha1:c2e0d9a0bc11fecf8bfc2116af4f78ca1a755492 - pristine_git_object: 3adb762e094bf674558576130872e8ecb452488e + last_write_checksum: sha1:4bf08737528ed972131ad27d2bf9ceab5d4bc228 + pristine_git_object: de10dd37bdd0f1f62d1b0409873bb464d40b3f6b docs/models/oldtarget.md: id: 5f5d81439d09 - last_write_checksum: sha1:9d18eedd375a49d86f184b8edb168018d1103eff - pristine_git_object: f3bb83590a23ec0ce2f00eb0b9ba7c791063f0b3 + last_write_checksum: sha1:2f3510eb2370a53cfa5608595c4b32a08042bca1 + pristine_git_object: b184a3583bc6408a574ed288f7cca499b21164d2 docs/models/oldteam.md: id: e0c95eb7ea8b - last_write_checksum: sha1:5259bccad638ee477398179b531a320cb45c7709 - pristine_git_object: f1493b5d724ea5d311ad4ee79358f36b1be93c6f + last_write_checksum: sha1:7b997a9e43222450791748087a6a157855a3b3b8 + pristine_git_object: d24113c2c4874ec0488c9852538961be225f0944 docs/models/oldtrustedips.md: id: a0f3db45ab8a - last_write_checksum: sha1:28535861386c78c4ce490bb2ecdb90e44ca28771 - pristine_git_object: 667fdfe41d6b119da1797af493a6c9f711c83593 + last_write_checksum: sha1:5c4bf28fe6105353785e2607c16e5220599379c5 + pristine_git_object: 6c0bedd33a4e4a55e84b5677afa5c34ff544cbee docs/models/one.md: id: 69a5df93c480 last_write_checksum: sha1:4ade4028bffadeb4f51001f1fbb76707b71cb785 @@ -32407,400 +32447,400 @@ trackedFiles: pristine_git_object: 7f60fab3b49da214b75c91b36e6520f1853e4c62 docs/models/onehundred.md: id: c84e2a564bc6 - last_write_checksum: sha1:c1989e5b4581c55d932d386a8eed4322be2262b8 - pristine_git_object: 9b288800725703b709fdb8ee47ed3d4e3f0d2b85 + last_write_checksum: sha1:76c536fbc324ed0c6c36ae833f49a017f54ce7c1 + pristine_git_object: 066330ef804fdf91ba5ae9f6994e68ce8189639a docs/models/onehundredandeight.md: id: f3c8ae95a638 - last_write_checksum: sha1:7b4a572b28dd7ae3631d642a076b2acdaf6c32c2 - pristine_git_object: 44ac1e700dd23e913ce54cb7f636fc9ad310a649 + last_write_checksum: sha1:f2843bef61d44e0b531c2f3136d79bbd1eb74038 + pristine_git_object: ab789757312f0c0c6575bb1e7e1554d0ce4a8f16 docs/models/onehundredandeighteen.md: id: 750eb1e92ff4 - last_write_checksum: sha1:3b14613b0930799b95246e61e53906bae1d72e49 - pristine_git_object: c1ebc1fd37f28cb501f4740a494f4b2c96d8ae32 + last_write_checksum: sha1:ec475979162c5f033999e898225eb5ad08ab8544 + pristine_git_object: 7b04329c7da9f8d6fd40ec359a0011cdf4bf0486 docs/models/onehundredandeighty.md: id: 77d60cbf95e6 - last_write_checksum: sha1:5e320ca2a3f580bfdd5a7e1671965b0c47b135f8 - pristine_git_object: 42e134c99cd78cfb26b6b14592c83b21979ccd4e + last_write_checksum: sha1:3eeecfb89cc3b74139b468964d54a4fa20f60a02 + pristine_git_object: b159228693b767a650e8e07f59ba5f48c85c5ebd docs/models/onehundredandeightyeight.md: id: "376509802958" - last_write_checksum: sha1:6e768c7314d46a1a82dd13d2d3c5e50ada988ea7 - pristine_git_object: 43287e4d7356de2ee4700ad8503bddd2728b6bec + last_write_checksum: sha1:838f51fb8287716e8d90c475d554861841216552 + pristine_git_object: 88ba0a75a173c23941884196f64cd33d4b212b3c docs/models/onehundredandeightyfive.md: id: 5f0e183ed4f1 - last_write_checksum: sha1:e2b741a4fa1270009ccc399da8e11f0f49119d60 - pristine_git_object: b7a4a1540afed2ee52cf6e4642ce8bafb5318516 + last_write_checksum: sha1:a860198dd50fdc9839dee9ccb9d64e53b9a13f8e + pristine_git_object: 279af3aef115703c0b6bc454ac001aa696647cc6 docs/models/onehundredandeightyfour.md: id: 247f69b2a42b - last_write_checksum: sha1:e5fa595c407111cf41af44cbab091658f5ff9355 - pristine_git_object: 36fa57345e08d914bd9b1958ca112a17f8ffbf6b + last_write_checksum: sha1:9ec5d4fc480ed516d616999f57ad3ac5e112b6b9 + pristine_git_object: dc6701c2ec8db2802adc2b58320772f78cecd037 docs/models/onehundredandeightynine.md: id: 1260912d682d - last_write_checksum: sha1:50264d231b20d21461cc9c09a8b11d40dcdb2478 - pristine_git_object: 50347cf96d92c021d8f9e80ede28579b5a5f2d53 + last_write_checksum: sha1:0812b5265de1241a602236bf005784febe270e54 + pristine_git_object: dd82b816d062d25ccd639de767851517444d62fd docs/models/onehundredandeightyone.md: id: b8192bd1f1c9 - last_write_checksum: sha1:5abbc8a5c70296d3dd88c759844e5227acc9c316 - pristine_git_object: 8397229cc4c6cfc1d4283c4e9e0e12c059033620 + last_write_checksum: sha1:1ba4cd9cb8ad1bde137fd9f5075dfcb46c9b0c57 + pristine_git_object: 0f400c559a38b45b15ed7fdc58fe1e6d39ce0347 docs/models/onehundredandeightyseven.md: id: add45109cf65 - last_write_checksum: sha1:81c85da1bd05186fb13345598d863a89f6cc0176 - pristine_git_object: 7d551548656457fdef7356f0caa3736a676fe806 + last_write_checksum: sha1:e42ba44ad30fdf57c42211a5f5c4d4c65f6de2c5 + pristine_git_object: 86f21aa921a82bf26cc5c736146ccc54df759270 docs/models/onehundredandeightysix.md: id: f717b0a39b02 - last_write_checksum: sha1:9374169a61489a43ee7eff616488f44a7c68e97a - pristine_git_object: 6534cf12b155e654350c10db267821b6cc312fc4 + last_write_checksum: sha1:90308715f16a25b91e3f3c5e46deecbd7e1a035d + pristine_git_object: 30ed4d69722c4a5dbdef5ccf6745c914fafeed30 docs/models/onehundredandeightythree.md: id: be2a74a83d40 - last_write_checksum: sha1:91d0bdfc2295faba8d47ca93670cbf669d79d8a2 - pristine_git_object: 045dff307cd0f0e9da73d9fde4b4c2ed621f900d + last_write_checksum: sha1:339dbd58bb1547fb09dc9310e3a8e2fd30d71e1c + pristine_git_object: 8db2f1f1c2bf402d5a61401948c877d4f582e901 docs/models/onehundredandeightytwo.md: id: e7838b05c0f4 - last_write_checksum: sha1:16367d391f077d026a552788cc7f2d8a8dbbf515 - pristine_git_object: 055df1f4691530b7ec3e356346d6b95aab637d0a + last_write_checksum: sha1:862e08986894925dce96f863d41642e578441824 + pristine_git_object: 320a29a6805e93063d1ea89db36c54be69da40df docs/models/onehundredandeleven.md: id: 14733ba61740 - last_write_checksum: sha1:94e8565367bb83b06f3a71af8d1de089ed803d1b - pristine_git_object: b70f5e47fe25ca8358eb318c49a9183378121f35 + last_write_checksum: sha1:3c54a6becde91f709143d135417b603e0a234f36 + pristine_git_object: cf28f93b7875deda38fac389da2108103b6700b8 docs/models/onehundredandfifteen.md: id: 03aceb51348d - last_write_checksum: sha1:9280edd47c4f5a64e2ba166ee2dcb07401e61606 - pristine_git_object: ebfc0c19e0098380b9ab8fee9ef8d20a0a72a39c + last_write_checksum: sha1:10d196739fc9856ce8c1ed3ded89a20e20db9cdf + pristine_git_object: bfee69a5c018d9c353eaf0fdbe2161a22437a901 docs/models/onehundredandfifty.md: id: 26e4d7022da5 - last_write_checksum: sha1:49927366a504e3045934fe643cce7ad4cae061be - pristine_git_object: 586c8104ac36ea2950b92fe259c5dde2095f2219 + last_write_checksum: sha1:b2589c6369b13393b036b076e8bd88715554ac59 + pristine_git_object: 794c42e4722d492704ae73a134377d4502b63d71 docs/models/onehundredandfiftyeight.md: id: 935aaa5e400f - last_write_checksum: sha1:de3c9e55c04d1db4c22e357b978cff016a2c84ff - pristine_git_object: 7ebfca614b8786c2c06023331913075afd3c69fa + last_write_checksum: sha1:ed475ac715611ee0f7b57be3f515a3fb8aacd3ca + pristine_git_object: 9499cbbeaa1b91ca985286ebb8b9ba11f0a7f062 docs/models/onehundredandfiftyfive.md: id: 94669dcb0bae - last_write_checksum: sha1:c900d828bd2eb486113b7a5185c028f1ce87b114 - pristine_git_object: 504ba1fcd789ea161428b224bda40d777ce93bad + last_write_checksum: sha1:3ea07b5d03c009b03bfa2be991c7f0004e5e638c + pristine_git_object: 69367849a3cacf6fd2d63e41a84d25b421e3e243 docs/models/onehundredandfiftyfour.md: id: 154efe9d0321 - last_write_checksum: sha1:b4d9cc1db7a31d63d928eac9992c638c510cd1f0 - pristine_git_object: a90d5483d7bcae88a30ee92c9b8004753f9539b0 + last_write_checksum: sha1:8a59ff7276855fb6191e0d94095b293975d883f6 + pristine_git_object: b2b92f9a1e9b9a32af196e9a7b117b4691e59647 docs/models/onehundredandfiftynine.md: id: 30ac47481b97 - last_write_checksum: sha1:80105cd008b9844df02720dd774b899bc7b04eb8 - pristine_git_object: 897f98811421521c03d8a358ceb4569af3f37946 + last_write_checksum: sha1:6f277b4319bf69004dfaab6bf82985ea9c7eaa0c + pristine_git_object: 44338b25ca589a1e926ae063ac641915bd3aba37 docs/models/onehundredandfiftyone.md: id: 1e92b613feb9 - last_write_checksum: sha1:f9f4c297a24c42668540068307f94bf7e522d4c1 - pristine_git_object: e048e5f6869e1cab27bb7cac5dd457fa62ccd47f + last_write_checksum: sha1:9084f3bd32c899d876ad058f30b8a97654d5e88a + pristine_git_object: a3a697d13a9e5cd71d913b93744231c0bed6ae59 docs/models/onehundredandfiftyseven.md: id: f8cd09001db2 - last_write_checksum: sha1:55b3bbed182b85fe96b38a5a1b965e678545eb30 - pristine_git_object: 23717c33c8adc0e068a7439b85cbd9a76867154f + last_write_checksum: sha1:6663f1d8629aaa863313505f8fea9780e658ce26 + pristine_git_object: f6b6d6cdf3cf009ce6bb6355411656ece9ec4d0f docs/models/onehundredandfiftysix.md: id: ba189b3f1e7e - last_write_checksum: sha1:9f30d79275b56c94ffd82c55e93068063b75d0b6 - pristine_git_object: b9031048493806e1b3ac2b41660af81fc8d1acae + last_write_checksum: sha1:e3aa31de326b29909a0550d5940ea0dc20e8a51b + pristine_git_object: 3afcd9821bd9c690f4d518120d44a2db50954966 docs/models/onehundredandfiftythree.md: id: 2df6d1ae7a3c - last_write_checksum: sha1:73020dc91e2dbb0a43fdb55209cea82f0ba4fd1c - pristine_git_object: df2d5c79ed42061412520150a5ac012e9580475c + last_write_checksum: sha1:48a9bfcc5332aff58f028f2381d283269bdce1ae + pristine_git_object: a7bfdc03ba50b1721e15160daf1fd53a4090f39e docs/models/onehundredandfiftytwo.md: id: 9da1748ca0a3 - last_write_checksum: sha1:2f783863f2bd81d5859f72c1a4007fb3e4965f8a - pristine_git_object: aac8d1414be903581e36bea1edf137ad5b9f7f55 + last_write_checksum: sha1:ad92a613cec2b90306500878c662b4cf07baa356 + pristine_git_object: a2d32a177fe8e762f2c4f0f978eb3ce40013c367 docs/models/onehundredandfive.md: id: f19b3be966db - last_write_checksum: sha1:b6862c04715e1c6e0259ad08c399de8b6d58a71c - pristine_git_object: c8ba92fb25f10470c84d1675d6c893151ec88076 + last_write_checksum: sha1:56cb2af243f477226b2963ef9ac485f1d2e69d77 + pristine_git_object: eb0e84ea040ce0de2ab95e05503c66c59f51fa2c docs/models/onehundredandforty.md: id: 7f78f65a31c5 - last_write_checksum: sha1:a6ae01ca27a3f67ce69daa2b2fea685159374fb1 - pristine_git_object: ae6b3537c945042e2d8ca2f2c9b1734ea6ce946b + last_write_checksum: sha1:de40a3790aea07227bc90c197c1351269ba3edce + pristine_git_object: abb6bb016ae3e2c1c7333f37ac6ecb34dc9dc3f9 docs/models/onehundredandfortyeight.md: id: b0768e3db4b1 - last_write_checksum: sha1:676ee3e14a52702a89abcf8e5e1b87dd6fc3d55a - pristine_git_object: 70b31aa9e7b191d8dc725cf2efb661721c9b6aa3 + last_write_checksum: sha1:71f7de6c1263ec1f89ebdc0ed3b4f2b4854783cc + pristine_git_object: 9409a4ab776216d327ff0949847aad77f12cf5af docs/models/onehundredandfortyfive.md: id: 4d10a40730a3 - last_write_checksum: sha1:b098b142e9717100443073be58bb16449d808196 - pristine_git_object: 99fb0af8f047d227649444d63b2401d8532af4f4 + last_write_checksum: sha1:d21d1e3b495c06c1fd077f8c3530c64d7d526bd6 + pristine_git_object: 17ede58423bba123e7c0c383b72c538b7a1e59fd docs/models/onehundredandfortyfour.md: id: f2def41ef9f7 - last_write_checksum: sha1:82c943b9ce088fb213627f516ea65ae7c46d9d2b - pristine_git_object: 0321a09c9ea724b7ede4cfbac7a5e83ad571e0a6 + last_write_checksum: sha1:010bb30e2390064bdb71fab63cd61bbf816ef06a + pristine_git_object: 8f3d9806c996f466baed7208069bbc569c312593 docs/models/onehundredandfortynine.md: id: cf52ab68d34f - last_write_checksum: sha1:80c5c7b795f660a1d5bfea98c8d4c491c1ea5897 - pristine_git_object: 27cf042909a4f4a61f9b1802419442cf9f1b3fe9 + last_write_checksum: sha1:d5e7570fabe5e8453a268a87d225a0f49be9d649 + pristine_git_object: 2eae261434be17b333228fa85f530ab7ad34e9b4 docs/models/onehundredandfortyone.md: id: 86230ad304ed - last_write_checksum: sha1:647ac764c0407f7eb9782475ab85401b15922e9c - pristine_git_object: bd79199ea362ce0d6473f6db86f88400d0c0feab + last_write_checksum: sha1:c4c2895690f77b8eecc812dbb5d9523158d904bb + pristine_git_object: c17f6ce7bc71bf9422c284a15d7c3dc3b2b13ed7 docs/models/onehundredandfortyseven.md: id: 4698f41282ac - last_write_checksum: sha1:7b9bc947367cd4435bc8422c05d39c0eed4c3e67 - pristine_git_object: 13ef2ede259c0796752eb5fb8e3589656b7b0b70 + last_write_checksum: sha1:306ee02d981564d981e070b19745dc0c374a1794 + pristine_git_object: a66c4bb794752927cb34336433f18cfad9307188 docs/models/onehundredandfortysix.md: id: 3b1e424edbe5 - last_write_checksum: sha1:07dee2ced2bd53cc6aeb13b7f4f24ae232bf4560 - pristine_git_object: 9f2176dc3904adb08e63ddbee0ee8df3fc6299b3 + last_write_checksum: sha1:e9fd65d2552c1b389f1e3f1b449c826aa7fe3c87 + pristine_git_object: 64a3713ce69b176de74d041951705f832dc11f9c docs/models/onehundredandfortythree.md: id: 2a86da03f3aa - last_write_checksum: sha1:68e0e31cc6da28defce2f8b08efdd20a66d56f4e - pristine_git_object: a23c9dee03d857c49ba1dec71876cf9f3b2049ec + last_write_checksum: sha1:2c9e3106de64dc996e9624d531c8425ab21df84f + pristine_git_object: 8f2138f7c25c4a78c356e24e72be9b46f51312c9 docs/models/onehundredandfortytwo.md: id: 369e8212ee2e - last_write_checksum: sha1:f8c132b32ad43fa873b40f748132701f4a1be349 - pristine_git_object: 864ffcf1446ff6bf1d4c3dd60cfb8eddea82306f + last_write_checksum: sha1:741a890194df7ae1177afb5813b6e1138d31fa27 + pristine_git_object: 350408e75a69465e93aa2d6ecaeafc7d67b26ee3 docs/models/onehundredandfour.md: id: 660e9458507c - last_write_checksum: sha1:72427bae9e43bcc46f6b8cba21893c7f4fa17298 - pristine_git_object: 9844d262ba3e0bd965cc6241ee464a80a5d1689b + last_write_checksum: sha1:1261272e3699470aa7412425883272a8f2084454 + pristine_git_object: f8f2562c48127483036fe7e58524e6889a6a4c12 docs/models/onehundredandfourteen.md: id: 58e31d419fe2 - last_write_checksum: sha1:04abe84584f3bcd9496d6cd0e3e4d5caa042ca59 - pristine_git_object: a6b5811efd5868604fe12c8981d75efa7adb5c99 + last_write_checksum: sha1:8e969f611b7a9d00d884e697c1d40757c0e16f4e + pristine_git_object: 0fff0e078cd1f68a0aa0acb91b3afff54d8bddb5 docs/models/onehundredandnine.md: id: 75d0b6504060 - last_write_checksum: sha1:fcec3aa3de3d7dc6e1853ff56532e94ce9ad1436 - pristine_git_object: 91e59e2013578c3f44493d4a19f1b92b1b84c1c4 + last_write_checksum: sha1:85d96d4712ae27380756be479817988fa8726d6d + pristine_git_object: ded22d92f8c57496261f6a7d9d88e8b2ba0a520a docs/models/onehundredandnineteen.md: id: 11a69d735bd3 - last_write_checksum: sha1:9bbda19332292d3b041d19799d410f02085e0fcd - pristine_git_object: 4a88947c7a75b1bf5f9cad5b0092ddb42a2f2aed + last_write_checksum: sha1:1193371d19e516090c0c27dfbe3f792060ed7200 + pristine_git_object: 1c7b84e41c40a1f7dd7df4a33081c2279a0d91dc docs/models/onehundredandninety.md: id: 4796f620edea - last_write_checksum: sha1:4ad389fa21df18c53d5d3cb2c901225050cb2054 - pristine_git_object: 37f6a92596fb59a1427ae1a76675a6a4fb95d3d5 + last_write_checksum: sha1:4fa9e625e1dcb008207ab14ac4867e7988d87786 + pristine_git_object: 50e63a6e73bb183625f049aaa80d6ae442622bb0 docs/models/onehundredandninetyeight.md: id: b4ccc61f2c2e - last_write_checksum: sha1:f9604bfaf197fa987fc8611e7746669b53914032 - pristine_git_object: 131e0faf2baee3a54168d5effd86e676d0b0df6f + last_write_checksum: sha1:7196d6b29627b6250b2452f34109f367292d63ab + pristine_git_object: cd0b46d694d0281c4a94f4393191d0022ec1efd4 docs/models/onehundredandninetyfive.md: id: d5cc91e12d84 - last_write_checksum: sha1:3195772c9d72b7c0ebd90dd7f753f3a94130bfd7 - pristine_git_object: fc2730b65ca152b4f38208c664d788672a70be52 + last_write_checksum: sha1:ca3c7d8b52126e39b93dac7f2621551714327e78 + pristine_git_object: b6b714831264a2d9f15b82343ba9a7d19775f796 docs/models/onehundredandninetyfour.md: id: 7a47c043ef11 - last_write_checksum: sha1:e9e28e7781a412ec09d0dcdd4d886a0d13815043 - pristine_git_object: 248f7dfcf7e158fb6587259c3496df872fa65c23 + last_write_checksum: sha1:1c5949150bd20344311eceac73be13c7f81057ee + pristine_git_object: ad734d5df7a6f9bd031206bda8b73ec41265dc3d docs/models/onehundredandninetynine.md: id: 97f67c1219ef - last_write_checksum: sha1:14c029741176343d7535c83b66c460bfb8b8167a - pristine_git_object: 7964adbf4b6466928709b0bbfcf68416c5a10c51 + last_write_checksum: sha1:c0955ae600acd06ce07e9dff90fedf9cbbf5ad7c + pristine_git_object: b39db657179bcc464fa78015af47877c73566ff9 docs/models/onehundredandninetyone.md: id: 8affc9f4428a - last_write_checksum: sha1:25bc4fc568ae4190e750398848847ae44a521b3a - pristine_git_object: 5d4eb9598f5820bea2d6adbec823029977af5928 + last_write_checksum: sha1:de71c6b7ece5a32d2d4c9e168a740d6c0b518203 + pristine_git_object: 515abde7a3626c5a3390af0e7ebf14d2aa1dee4d docs/models/onehundredandninetyseven.md: id: b37d2c23958c - last_write_checksum: sha1:1473b8da11efafcb33d92e16a37e70c285ac4dc1 - pristine_git_object: 5691aea5bc811b0b8c84cc106376c37b5282a0bd + last_write_checksum: sha1:b74ea5a930c98e4ea436f770fa27353df2693d49 + pristine_git_object: 20d1f091ea40ed0d75bb8a90f26ce95747e9dc48 docs/models/onehundredandninetysix.md: id: cdabd88cc5bb - last_write_checksum: sha1:7b1713f53c255539865aaa7ffca50c1eb6e95109 - pristine_git_object: b25379fd793b2a351a324eeb870553c6d9d2aed0 + last_write_checksum: sha1:b715b8a6bb2cfeb0db25d0d3181ff371973a4975 + pristine_git_object: 5afbd4198b53c65b03f79b0345955c0d68623540 docs/models/onehundredandninetythree.md: id: b8a587cd01a0 - last_write_checksum: sha1:74bdc8f75fffafbcda5273b12237c65900c5deb3 - pristine_git_object: 9f95b411f7db2f2129722c9adb074f863382da1e + last_write_checksum: sha1:2bcefb1e8ca779666cfb2821437df60431ff614e + pristine_git_object: 1a6aed331eb5a1d5ee0a5a92bf7a5bd64f996c3d docs/models/onehundredandninetytwo.md: id: 40fa7306c1ba - last_write_checksum: sha1:c7a54f26bbd7297304b1008e5c1dd63d9b2f0054 - pristine_git_object: 52ff6e6a7315c399b053a971e04c1280c30a92b5 + last_write_checksum: sha1:908ae3f64d3fd2c8fa8c75407b94ba262f962278 + pristine_git_object: 948ea4565e77836cd0357a02e6b40c2762292017 docs/models/onehundredandone.md: id: 5eaf497e8ff5 - last_write_checksum: sha1:0c9bb882fac43a4ef8c5b28412ef02eb1a742f2e - pristine_git_object: 21e3c6838e110c07a5ad19f4eca261e9fe600290 + last_write_checksum: sha1:d55433376760b9e25491fd08319cd5c808b61269 + pristine_git_object: acc53c581f3a75187ddcbf503f398fed87e6fb0f docs/models/onehundredandseven.md: id: a71433a0f6d7 - last_write_checksum: sha1:590bcbbb3a0d32e8e3ba82957e659320b3deaa3e - pristine_git_object: 99ca19967d4d41eeee04c7fc9b65490baffe02df + last_write_checksum: sha1:dbbee6ab9c4b84c01c5a729cc559a66a1da4899c + pristine_git_object: d7c6500cad27d3968b5a1d93df828574aacfccd7 docs/models/onehundredandseventeen.md: id: 2f5d389acf77 - last_write_checksum: sha1:3eb9f0ff129c6e6ffd2556c00d1789cfbdbe2704 - pristine_git_object: 6981705fb39c2f2dcb93d7c2a1d5c908b128f54e + last_write_checksum: sha1:abddf1d77da7c78847c905d57ece21dbf6b7433c + pristine_git_object: b837822f6fb2a8de239ffa442e419f4153daf5e5 docs/models/onehundredandseventy.md: id: 7a433a42c93e - last_write_checksum: sha1:7586a4ce430d592804d30b0c77aa8e1df2524f35 - pristine_git_object: 70514fd5c75f889fcd68a7628a750f71c00e7833 + last_write_checksum: sha1:c2a871ba2dd42efe1c7a68398813e628f8e09ccb + pristine_git_object: 316ef1c71a99949cf392ab5a0ddff6bcec63b1ec docs/models/onehundredandseventyeight.md: id: 6cd5a3490a34 - last_write_checksum: sha1:4c1040cec59acf65b24b743f94e16462dfa60df7 - pristine_git_object: 5d04b2d088e3bfb102f8af1d1893f44fbcc3ec9c + last_write_checksum: sha1:bffa3a49df78c3e0d33ea1c0e9b99c3cfc8c26db + pristine_git_object: 46f60cc5bccea378e91955ded9ba983c9d8897eb docs/models/onehundredandseventyfive.md: id: 2917014e9a24 - last_write_checksum: sha1:570eee229d58d93167aa9a08a76806ad87164351 - pristine_git_object: c5c9adda4e07f174f9cbd5e69869895a1047e581 + last_write_checksum: sha1:7cff8f0aa1ad6d4928e1faded56a6f3e680b4668 + pristine_git_object: 9bd03f0a94a61d1ea3bfc74ef266aa1024fcd1ec docs/models/onehundredandseventyfour.md: id: 296a6f44199d - last_write_checksum: sha1:826084c18f99942875065f0b7e6e6dca680d663c - pristine_git_object: 0de9739fd85869fec2daeae5b2ce311cd80844f1 + last_write_checksum: sha1:a9a5334e534cdd705569f741919b0fab14ec050b + pristine_git_object: 4a500e1ecdb2fa229aa67993aa58b8da5d60e75f docs/models/onehundredandseventynine.md: id: 5e4143877618 - last_write_checksum: sha1:6a40a40a33b6ce6a0045d3ee874770310d3e710c - pristine_git_object: 2f35618f63e5284eb85776ec76acfeb3c5e3b224 + last_write_checksum: sha1:be337fee5d2d84f57d8ef71969e00185e9557873 + pristine_git_object: 0f49b5409eca6234ec2b269fafaca4d783bb2ec0 docs/models/onehundredandseventyone.md: id: 4301cf2c6819 - last_write_checksum: sha1:88c583893fdb1b381714cfcee020bcac1f63d7cc - pristine_git_object: e1b227ca2ae00d8b2fb8d73f8513c701308b7537 + last_write_checksum: sha1:e635c69e1e17211aa1ac38b91e5535e5ec37ab29 + pristine_git_object: 11214cfe2a8f740994cfe9ee016191c26b2e6660 docs/models/onehundredandseventyseven.md: id: a1e81e14ac95 - last_write_checksum: sha1:9be541514a92756591cbf541815c63dc3dac81bb - pristine_git_object: 1ce1d0c771175f5b28e558b374f01f61584c24c0 + last_write_checksum: sha1:16c89861135776a9a481ce6e6baf9e7d2111d8a0 + pristine_git_object: 13e2e476a70ff7acf53f359ac1a934f106d10ddc docs/models/onehundredandseventysix.md: id: 58f27ef24b69 - last_write_checksum: sha1:5c0946d89d08adb34ec109fc4a2831d24a4c802a - pristine_git_object: 6c061560fca8ca713b71093c4f698328b22bda6b + last_write_checksum: sha1:b3e8378d61a3302b0f160ae01026c5d6ee27acc7 + pristine_git_object: 4858293a17c26ab69a26cd0fdfac5d6aa29872c4 docs/models/onehundredandseventythree.md: id: 84be5d40cdfe - last_write_checksum: sha1:f1e9f8e30827de0ee1f1c6e9e19ec24fb8c43e63 - pristine_git_object: 08370832378ee0b90cdeeb00b143b487ddd29c10 + last_write_checksum: sha1:d0617c75aa2c62edabf0dec60fc01d0fc967a90b + pristine_git_object: 147622b0b4eaaafd62109964360db2dc9f4ca6bd docs/models/onehundredandseventytwo.md: id: b989ae2e6410 - last_write_checksum: sha1:141b7fe1f80f7ebd44d52d838e6e437568fc985e - pristine_git_object: a0cd391d50cec8b324524921e58a7e51cadb7c7a + last_write_checksum: sha1:7b9af05ff524825e3a7ac8e8ae10171c56ec68a3 + pristine_git_object: d24c861f83604aa6d8d7eeabda01e8af594a13bf docs/models/onehundredandsix.md: id: 40b634e78a5e - last_write_checksum: sha1:d45baa1a9d662cc79a67f40140046bc55fe8c766 - pristine_git_object: 0d02c7900c8af42a1dccd954622e63685feffb0d + last_write_checksum: sha1:cad56a0cb2ad0d381c3dbdeeaa7ed74246014fcd + pristine_git_object: ded293d571fd010418829ca4543e1a259c352723 docs/models/onehundredandsixteen.md: id: 5a4cc93e989d - last_write_checksum: sha1:18f27319dcb7ffd8c4ec4d39efaa2bfa14e7ea19 - pristine_git_object: f42cac872f18ace4005518ef04508721451cfd0a + last_write_checksum: sha1:49d2029c6201629e0c86b659b09faada5b667b35 + pristine_git_object: 728f33b2b16c9ab4c90e615ee0b567e381e19a14 docs/models/onehundredandsixty.md: id: 12a936213dbc - last_write_checksum: sha1:e853f1970f68b0eb19e1fc46237489aafd00579e - pristine_git_object: 0a06254f4484e553df92e32908b53f3aca91cd71 + last_write_checksum: sha1:1ad8936d7388c1f819eea48a591c0901476c13e5 + pristine_git_object: 6bea94430aa685dfc777497c8fc5114e94da1cf0 docs/models/onehundredandsixtyeight.md: id: 3c2f1325dae1 - last_write_checksum: sha1:b0ff7453dca2be679996fe02c143a805169570d4 - pristine_git_object: 4a33385876625f3a069f49b10513b268d99867b8 + last_write_checksum: sha1:f07a0f4f4f1ac81d7ef2831e5ad20527f2bcb5a5 + pristine_git_object: 11799836b94f1a6d62424a2eb6f62a3775d38c7b docs/models/onehundredandsixtyfive.md: id: cf4ba46576d3 - last_write_checksum: sha1:8cb948bc08da652612b38cc78da66148c8150dbb - pristine_git_object: 08fd60cb1c81bdbacfb90589a3f722411c9e4477 + last_write_checksum: sha1:9add25efbd7072fe73d08da72ae0935f36b20d96 + pristine_git_object: de93a596e2efaed91ef8041e66de28097a83d73d docs/models/onehundredandsixtyfour.md: id: 0dc8aba04fbe - last_write_checksum: sha1:2411a6757d891fc56869882a636839960a391082 - pristine_git_object: 1bc813c51f6109a6c136f1b761424ba759e633ae + last_write_checksum: sha1:d5628d3a1febcf9ff82f5337bc87534f20247cf4 + pristine_git_object: 25902e0bbc6eb565aba0b30520f29ff8e77dbda9 docs/models/onehundredandsixtynine.md: id: 41b9cb2f25da - last_write_checksum: sha1:27df4f87297dbe47c6dcd9bcdb7af9f10c36105a - pristine_git_object: c29d09177c62d965626445f11f9635266ef00c43 + last_write_checksum: sha1:63fdb7ad776288d0a3498070a2afa123d7db9387 + pristine_git_object: d26d72c8a0f8702e22e03d57d699ade2b57d8f96 docs/models/onehundredandsixtyone.md: id: 7f413cabaa88 - last_write_checksum: sha1:a8f46ec4a1c47c1208e3a0472045f2a3a935c80d - pristine_git_object: 690c974a48ca2251a0b23633bf27d27ff3755c94 + last_write_checksum: sha1:f31cb7f8535db56b45c7e3faab002e68bf541e76 + pristine_git_object: 4a47b6bde27b58a8954c3d5ca4f67b870b985073 docs/models/onehundredandsixtyseven.md: id: bac02862eb24 - last_write_checksum: sha1:0b0bf47a48bd05477e18eff7bc29c3c13655be72 - pristine_git_object: f73ec10ecc9f3c8851b4315256f85d66d4e1ac37 + last_write_checksum: sha1:d72586e9c0ff726652da8cc321075b985d9ff536 + pristine_git_object: efc6ed9e0fcbbb576f3401b0ac43da9a9042677a docs/models/onehundredandsixtysix.md: id: 119032be7f9d - last_write_checksum: sha1:5e14733cf5d79bf1b44effafb3857c37a6397b8f - pristine_git_object: 2a5a5b616ef1260ee8b3771a853e26a286fde37d + last_write_checksum: sha1:5cc784659d25c68a3e854e74efac1786e30a8618 + pristine_git_object: e8b203cc5b05ca9e8f29e55f548019b10af51638 docs/models/onehundredandsixtythree.md: id: 61ca25b335b2 - last_write_checksum: sha1:2115a13ffc972ca2674ba651f8479534dc8d7cbc - pristine_git_object: 314b5197f9c90cb2917c6620066f24509516a1dd + last_write_checksum: sha1:30e795567e7cde8b70f4fd2011ac31d187044b99 + pristine_git_object: 800871f0186c032ec7ec9f228965248c006ab9ed docs/models/onehundredandsixtytwo.md: id: c54338b2bd90 - last_write_checksum: sha1:dccf989e51e241c93c6ed420a5758a9b38bc7902 - pristine_git_object: bf86521415614968cecbc556f6c383b2dc100cba + last_write_checksum: sha1:c0c959f0a5e0d6512d0dcf2ba32b4154a4393310 + pristine_git_object: aec1a095feb2694de6e45ec7dcc0923cb119f34e docs/models/onehundredandten.md: id: 51e3ca6127e7 - last_write_checksum: sha1:dd0d246b4d819f7f5b518be4519cc280a82dbc05 - pristine_git_object: 8452d5fd4269acf2b9d03adcfe21ed9efa309cee + last_write_checksum: sha1:cb17b1e207ccb52ad180923565ed87d8b621512c + pristine_git_object: adf538a7e3721eb50828b675d5701fefa9cb1b78 docs/models/onehundredandthirteen.md: id: 71751d11a532 - last_write_checksum: sha1:37b6f6c97d2b52f141a7dda7c1fa85592b32ddfe - pristine_git_object: bef630bb5f10b843dbc2587c5532aa942164ce05 + last_write_checksum: sha1:a64c9b2070562555da1392d8cd8095c6f0d5d243 + pristine_git_object: 74c8a4f11a9ca588caf4497ceb015ea511452c6b docs/models/onehundredandthirty.md: id: f16af9bcc778 - last_write_checksum: sha1:90e879d4e6b92d9274bf7c12a24c26ca977ae663 - pristine_git_object: 16ad29da41551173465b5a96ac8838e0b4165cde + last_write_checksum: sha1:5b5b80c2054c79bdf3d976b2d08f52507925a95f + pristine_git_object: 72c99f913ac31d036c8dc3ee2ae37c457d33ce04 docs/models/onehundredandthirtyeight.md: id: 0ea56853b179 - last_write_checksum: sha1:48e087aa16212ef9d252a5ff45dd26c05490867e - pristine_git_object: aa6b6d7e23639c9884c3dabb4cfc25faeb4c9572 - docs/models/onehundredandthirtyfive.md: - id: c71f954c7856 - last_write_checksum: sha1:3d7ae6e8811287b90207f15f015251bf26b5cda5 - pristine_git_object: 0b2aeadc9ff6c1f522449f3b3b087dfdc409d27b + last_write_checksum: sha1:93abc7196307ffa7ec083b03880df8b4dcdac792 + pristine_git_object: d41f1630367c42842ab54327043e0d8f61907cf0 + docs/models/onehundredandthirtyfour.md: + id: 73a433071ce0 + last_write_checksum: sha1:ffb51f3a25ef4ad568e64177b13db456ecbd4a07 + pristine_git_object: 1956e2047f7f2204065865e5133228f675d8f261 docs/models/onehundredandthirtynine.md: id: 8f344e5501aa - last_write_checksum: sha1:a856694a400f54c3da07cd770c4a7a7a83ccbe6f - pristine_git_object: 7b5b8e5179393ab297b23093533e8a12deccf210 + last_write_checksum: sha1:d3d5b7011a13a34d50d5f28bfd7f4dd1dd3c0e7f + pristine_git_object: d123f7c28b895b50a1a435afcaea0c5e412bdd44 docs/models/onehundredandthirtyone.md: id: 0ed92ed2fff1 - last_write_checksum: sha1:91eb8c9931c1b276b5f9b349777449682ea436b5 - pristine_git_object: d05c86ed3191d2f9f9a73b0955c631fd43b2f211 + last_write_checksum: sha1:703002611855a8f8ae4eb0376e1dd327f8ffb84c + pristine_git_object: 4c4d1534e878738719dda2dd431618936718db0a docs/models/onehundredandthirtyseven.md: id: edfcebd1f452 - last_write_checksum: sha1:7300e2e1249704af08a82e86e218119ca169e29f - pristine_git_object: 1b09f90981f9bebcf52bd75faed484cd9b5f5a7c + last_write_checksum: sha1:d2625524ba29d83fca92df0a64853e9e8bab5180 + pristine_git_object: d4aae184d5e2e3cd2f6a2193c92ba230bbbcb2eb docs/models/onehundredandthirtysix.md: id: ee0d0dad40ef - last_write_checksum: sha1:71cd202d6e2dd2a86cb32e3f4e90337ad1e0362f - pristine_git_object: b310f6b5845b89b9da8e9d1bf2fde0532e8194f7 + last_write_checksum: sha1:ae6686c0b79baddfecd51193f0c362f8ebca0edd + pristine_git_object: 4ee19120e21b0ff2299c2728803ceeebc256fcc7 docs/models/onehundredandthirtythree.md: id: 3bcdb0feeb1d - last_write_checksum: sha1:4bec767864c6c140fae937d7997649cb73b07ea4 - pristine_git_object: a2cdd56845aedbbb89ae486cdf0044c6504b837b + last_write_checksum: sha1:6471ff99418a81cfcf392b5bd4cc5f030374b0a3 + pristine_git_object: 8b461e4f0614e0d47841dbf5070f9459b2ff9adf docs/models/onehundredandthirtytwo.md: id: 290b2eb10367 - last_write_checksum: sha1:d540d9609b0b0edf63d2b9b6d3bdae402754cca3 - pristine_git_object: 7943dc9cb965994bca54c773fd63f2d5f9983da2 + last_write_checksum: sha1:fc4d71ebf90cd5aeee3238425eb113f88db9e946 + pristine_git_object: 4febe4289cdcc73e00b2d752401d32e0663772a4 docs/models/onehundredandthree.md: id: 7c8d68910872 - last_write_checksum: sha1:736cbfca337f65635d1821dac0417df2a5c3a27e - pristine_git_object: 7f679d8e38f99035bc00464f98e8038c61703f5d + last_write_checksum: sha1:c64cca0b60a5c3270b31dd0c70dde48fe2c75932 + pristine_git_object: 6a403fca6a165e480306fb5a8fc2541043e66224 docs/models/onehundredandtwelve.md: id: 43d47d0ae3bc - last_write_checksum: sha1:4deb01073fe7776707728076c86722b52bef6a19 - pristine_git_object: 45285d0add78be73f396d4f5d44d5de824bc3168 + last_write_checksum: sha1:15a6b87544f0cb57b17849673648f357a83b1c46 + pristine_git_object: c9e5afa1251c241c23470cc9f14e77167b05544c docs/models/onehundredandtwenty.md: id: 4165256b99d2 - last_write_checksum: sha1:193cf6e1bb204e87e92790a1f05b28c25f8a920c - pristine_git_object: d2a364586f3a2c22659376678c8ab1c34476ad77 + last_write_checksum: sha1:329f34cff14fe52f866b869642343a589c34ef2d + pristine_git_object: 9969ff017d7520c11905d13f420d94a5b0bcdd30 docs/models/onehundredandtwentyeight.md: id: c9abb5799c30 - last_write_checksum: sha1:fd63bf740a5d83c3e75655c7e10eefc9e5be6c84 - pristine_git_object: 54288c7d247ef8c6a1582e01de41c56d36d3d09d + last_write_checksum: sha1:14c8e9dd6a3c204ff81cc89b73e76b7bb2355d36 + pristine_git_object: 611bf453bbddbe4e75abfc09895b510a1c618153 docs/models/onehundredandtwentyfive.md: id: ca847284f79f - last_write_checksum: sha1:6cd959d2f4f61c86af4c1ffdd8d9a237d76f7a81 - pristine_git_object: b37ce023b9bcb6b6b322000d604e0e9454a3caa4 + last_write_checksum: sha1:b27f0aba6dc05e3ac37abd14f881f60a6e82982c + pristine_git_object: d4c57b338ec2c13a8141e2d77486d8de9a1e6aff docs/models/onehundredandtwentyfour.md: id: 3e952a22b868 - last_write_checksum: sha1:3b40df3e22eda28ca70988b78cc7e7857c6b5be9 - pristine_git_object: f352faeff894eae7bf5f2aaf6c99114547312a30 + last_write_checksum: sha1:5328c2fb560e01c96bdca512a8393ec49597fe0d + pristine_git_object: 6e4808476f5f9c96d92a96585123cfe9122b7c10 docs/models/onehundredandtwentynine.md: id: 69e8a50a59e3 - last_write_checksum: sha1:16d09786e73c9a792764583c08aac5d4a66b808d - pristine_git_object: 0b56de33fb521d8c2ffa76b1ac6383311a4dfaad + last_write_checksum: sha1:7fe7ef13a47d1b00ac636870545a146915f64908 + pristine_git_object: 180c563d2a4bb0566ddb149fab6684f6e596643a docs/models/onehundredandtwentyone.md: id: f19c6dd3e7a6 - last_write_checksum: sha1:ef5f36b27ecaa886a44dfd157485f2e8299d7178 - pristine_git_object: 1d0526a957822b793ee240530eaa06a841826d2a + last_write_checksum: sha1:5e9db9ef2af4e1f8b48ffc9c48f3f20a2379ed75 + pristine_git_object: 931f1a63b64fc71462a118fe66506ec777f51a1b docs/models/onehundredandtwentyseven.md: id: 390c2801e955 - last_write_checksum: sha1:f903e451e2450a67f02699025c203928c95c3970 - pristine_git_object: 4eae1151ccadad921cb29c6c815111d00857b2b7 + last_write_checksum: sha1:cdafe90ea85ec8556af471bbacac1b1ff83173da + pristine_git_object: c2a6081c1b5ef8753c8e09616450a53a26cb8f3c docs/models/onehundredandtwentysix.md: id: 1de746dfaf75 - last_write_checksum: sha1:15796707f8e5257dadde0b20ebd6ff3cdfa7531b - pristine_git_object: 2cecc3055afd672bfd0bce8c98558b165e38d4f9 + last_write_checksum: sha1:2e144befe5569d6ffcc61c0f7fd4eda42f9edf9c + pristine_git_object: 09d6bf905a8eb349a036182394d0b04ff53b5c6b docs/models/onehundredandtwentythree.md: id: 34906b050bce - last_write_checksum: sha1:1a570b8134ef9fbdf99250926462548be9c40065 - pristine_git_object: 1fb7789dbb0cc85f924222a0f0e3b2af12fc5fea + last_write_checksum: sha1:692212f64c9132ead24354805d7f91dcba071663 + pristine_git_object: 4aa7d1903570ae6bbab6e87cb52fecc9e0fde742 docs/models/onehundredandtwentytwo.md: id: 05a275bdc5df - last_write_checksum: sha1:1839a6353748b8d11322714ac57764f4c9b1d0fa - pristine_git_object: f960fa7a43e47eb39b905232a45ecddc07516b34 + last_write_checksum: sha1:36035f0c5a335bc8f5674846aa3af8435899b517 + pristine_git_object: 5034528cc1c65917a4f46309b4d36762bf8a8699 docs/models/onehundredandtwo.md: id: 769d114fbf55 - last_write_checksum: sha1:1ff7f007f095d5545aafd5095f5fe99b60bbd8b0 - pristine_git_object: de97d77b08390ab85a599c2e5088a1bcddecd6bd + last_write_checksum: sha1:3bef49fdcbd4508cfd3c1d78ebe9802c85ccf82e + pristine_git_object: 53429189fd3f0da5741c8e182337870d758cdd89 docs/models/oneinvalidfield.md: id: f80d819f5bbb last_write_checksum: sha1:3d71d5d813fa220aef7062cd1a285030bccf91a5 @@ -32867,8 +32907,8 @@ trackedFiles: pristine_git_object: e67b8f6716d75b6eb02202d822fd4eab323d013a docs/models/optionsallowlist.md: id: 5ef3798d1334 - last_write_checksum: sha1:008ea2d07e93cd6529828727004279e909356dd5 - pristine_git_object: 8644a415ee402475214ae36160ab0b1218fb5ea8 + last_write_checksum: sha1:593d9e6fc6e74a4d1abfafb9ffa3712d6a0e3386 + pristine_git_object: dde4915c85d682c1c75bab287a3325acf19cc2a2 docs/models/optionsfromplan.md: id: 85fbe37f7d7e last_write_checksum: sha1:3b3760e617c366bcef40c4c84418ed689b9de426 @@ -32983,8 +33023,8 @@ trackedFiles: pristine_git_object: f7a1a5eba46edbe4f0a5a1faafedd67d38de7cf1 docs/models/outcome.md: id: d2cdc42ab7d3 - last_write_checksum: sha1:c3a4d02eab6d42ee1578f04866eb61cd23bf38ed - pristine_git_object: 06a46c599c37e1c5e6f6034a80a20dfaf0a66425 + last_write_checksum: sha1:3c852972f6bfde4f77b872be2ccd5336f6d8cbde + pristine_git_object: 4d66aeb8f40827c28d8904a357137a3acc44daa2 docs/models/outcome1.md: id: 891520962c3b last_write_checksum: sha1:3747e02247f088d150f4d67c7d9c9a536c084f65 @@ -33037,6 +33077,10 @@ trackedFiles: id: d81074601491 last_write_checksum: sha1:ea60ee7c85388bebc29e64c30035cedf88cc2ee1 pristine_git_object: 747bab546cfff637f4e735f867a558e13b57d319 + docs/models/overrides.md: + id: 1be7b6aaf2e0 + last_write_checksum: sha1:16f4db8126d63d15651cfca92a769a4365aea20a + pristine_git_object: a221379755ef218b4a3a749f9d62878052b605a5 docs/models/owasp.md: id: 484a7846cd14 last_write_checksum: sha1:b84389d313b8de56401be81242eecec346475655 @@ -33075,24 +33119,24 @@ trackedFiles: pristine_git_object: c1510cc12196c5dd23336c448bb290d74e675432 docs/models/passport.md: id: 1bb4bf0999cb - last_write_checksum: sha1:7602f3acaf4afff3457861398d0a29596dfb09ee - pristine_git_object: 983058702382785f835076748b4c09e8457afb7d + last_write_checksum: sha1:930e76be8ed505222d40a84d0a93ea442dff3217 + pristine_git_object: e59427ef7ec187cca1c9a611db5d100a645cd69c docs/models/passwordprotection.md: id: b843b3a2de91 last_write_checksum: sha1:024e219693c556f30853d60b52b83713adaeead1 pristine_git_object: bdc7b2ac252e8ae1920071a854768b838004aab0 docs/models/passwordprotection1.md: id: 207d232e8079 - last_write_checksum: sha1:2a5c73588b60a1494dbafefdd76e80681dcf4243 - pristine_git_object: 43dd8a2b55bfd0a49ac16c9e55a8de758e7ae3e5 + last_write_checksum: sha1:9d302af322a60dad475f2184f9ee6f512e5603b6 + pristine_git_object: 4654f91a2b8fa579ea1c551e52389024ffb2ec0d docs/models/passwordprotection2.md: id: 73734aac59b0 - last_write_checksum: sha1:64c997f3ad6527311a81de8708f94fa92141722b - pristine_git_object: bc9b811ce0b1c2f3302887438eecad5f21c719ba + last_write_checksum: sha1:092adab5ad5c45d444fb820b982d70e1d97f68f6 + pristine_git_object: d2d982db6f9a70f9f223468c79742c0742fa3fb3 docs/models/passwordprotectiondeploymenttype.md: id: 5661690e5582 - last_write_checksum: sha1:bfbb505b1506ed8efc4c64d982102e786d0a28d5 - pristine_git_object: abc32de7b0b0b98b3d88966d01f4cc85bebee0d3 + last_write_checksum: sha1:3d5777f6f91a27d307cf2c50ab61bd62bb30d913 + pristine_git_object: 004c73d8cc28a5970e9f543be0f1e0a8b590a391 docs/models/patchdomainrequest.md: id: 9b4f77490326 last_write_checksum: sha1:bc83ddef3420b16aed14a9bbabb2aeae3be4d216 @@ -33159,8 +33203,8 @@ trackedFiles: pristine_git_object: a176963e345f3a6ca583c4da133cdf9eb6b5ae7d docs/models/patchedgeconfigitemsrequest.md: id: 26b8c0ced54f - last_write_checksum: sha1:915aa8e41f54028088233bf6a4faa59dad1019b9 - pristine_git_object: 9353070fb28948af31ecf45c1daeb98d4f433015 + last_write_checksum: sha1:ac75e236628f3988b1e6c55f3585248028ba199c + pristine_git_object: 5cc156e44db308635b9726f6da36e1b99bf1dd9f docs/models/patchedgeconfigitemsrequestbody.md: id: 7bf536401b4c last_write_checksum: sha1:c5d80cf4967eee6e8600430bee4a9a29a99b6ea9 @@ -33403,8 +33447,8 @@ trackedFiles: pristine_git_object: 8a6e9f25b620d3c05ce70d9494ae8a6ea43f3aea docs/models/paths.md: id: e47d2d815d51 - last_write_checksum: sha1:5077d33fb3379aa6c0499e03f6f9ebccedc6550f - pristine_git_object: a66f3e27f6e6ccd0e1682e30aa4ef57fde9c1a24 + last_write_checksum: sha1:c9a14e821fae50e3c613d7823aa1b00f77a136b0 + pristine_git_object: fac48e971e19f5252184230c79afac13fa98a948 docs/models/pausedoutcome.md: id: 6f109a8337ff last_write_checksum: sha1:0f5a474597c8d11f1025fe0345708bff10bafa88 @@ -33415,8 +33459,8 @@ trackedFiles: pristine_git_object: 4391bc6735fde00d520adf41dfa160c0a5d85b05 docs/models/payload.md: id: cd93a0338683 - last_write_checksum: sha1:1a09971bf7cf54bfebb2d33b00ec1cfed7019d6c - pristine_git_object: de044008613fd547e8cc39eed5d289b1b9994cf3 + last_write_checksum: sha1:73f5cbc7384fa61e3cd25cdbd34b8efd9c7b950d + pristine_git_object: 416a7e4ad6be26add7e9907776e73d57089e019b docs/models/payload1.md: id: 5657148cae7f last_write_checksum: sha1:7d5597224f1893548f041133767a3286969fa17b @@ -33431,256 +33475,260 @@ trackedFiles: pristine_git_object: 18198141374a25f8a1e47c9e02798da5063e0f4c docs/models/payloadaccess.md: id: a40c40708e40 - last_write_checksum: sha1:a64ce151315635f7abc26101d04c0e7544ac317b - pristine_git_object: fe66d0f0d0a040619028acf69a1d6c719856eff8 + last_write_checksum: sha1:6513c08463fd151ad3f853921d79dfb90c2f19ec + pristine_git_object: 8bdff76c4ebe6b33466f98fadd3d9c596911194a docs/models/payloadaccessgroup.md: id: 95ec068ebb51 - last_write_checksum: sha1:a1093ff0b12f7daef06ecb5038fcb18928e3f0a7 - pristine_git_object: 3cf4b1cce107ea8f1133bb916a4ca8b4fa4bdf44 + last_write_checksum: sha1:dd462124c543d215edc5886553a055a92fdf93ec + pristine_git_object: 09753c9ba15e803cdbb112879554fe25ec08bc2d docs/models/payloadaccesspolicy.md: id: 14027a062c9e - last_write_checksum: sha1:b9ada1184cb1544652a61855cbbfe313ce1fdd10 - pristine_git_object: 7fd45b9956ac81af2ded00536a23c74f1013b230 + last_write_checksum: sha1:51de4e0c841bd2c315e66cc9afb1853f59d341d8 + pristine_git_object: 805372b36812e9bb921ce5c4c055def525b734da docs/models/payloadaction.md: id: c9343f650ced last_write_checksum: sha1:87f56b9efe4d813e7eab59ecba7ad7e229bdc0ab pristine_git_object: 36edf3789205c15acabe9e448e82e79c6bfee927 docs/models/payloadactortype.md: id: 591e25710465 - last_write_checksum: sha1:fa33fe75307a466cb5e8ba302c1d4473b9b008d6 - pristine_git_object: e3f987e177c6af3fc09771682547770087d53429 + last_write_checksum: sha1:41557985a1b09279f0f32ee45733a1347b8e2492 + pristine_git_object: 7ceb5edfdfb4651537649c920a9561cf6c281f88 docs/models/payloadafter.md: id: 1415f92e778c - last_write_checksum: sha1:ad3ead339eb79b1cecd048b04f28cf164cf4ce19 - pristine_git_object: 0c072ac35f7e6ed0c9b93fb78923c7485488cc3e + last_write_checksum: sha1:dd17deb526d7d7f7eb79ca319af8b786d2d777e8 + pristine_git_object: 43fb6db1bedf192cbcefa11f89662c6bdf8c994e docs/models/payloadallowlistedreadystatereasoninternal.md: id: ff31a4e259b6 - last_write_checksum: sha1:09f251b86824ad8becfe36ed32e03c13cac9facd - pristine_git_object: e02359b0c4befb7b0e8391a0c0d0d2f32d193342 + last_write_checksum: sha1:b3d096750cfb9c1b71cb77053774be11f54715b7 + pristine_git_object: 060b9befebd9dbd5861bd35a9decbee232a2e3f5 docs/models/payloadapikey.md: id: 207443fb9256 - last_write_checksum: sha1:37bdee6177ee4131e6c7f36ae0fc7f9aa5975c2b - pristine_git_object: db0d5244a97caf9e87fbd41d5b6ea0f95779d75a + last_write_checksum: sha1:275480938d81b163fa79ce2f8c284af1d47713fc + pristine_git_object: c9e33f4c42e006217bab44f1626f2bf68386ea60 docs/models/payloadapp.md: id: 18dd6051e5d6 last_write_checksum: sha1:b5d44feef7626952da0ca59d0bbe521912412b6d pristine_git_object: a6a04bdcc50cb729ccb484efc3860eec6713795c + docs/models/payloadappliesto.md: + id: 96b7fde97fc0 + last_write_checksum: sha1:d6784545925473151aa28a50712d53dc289e9b34 + pristine_git_object: cee68a091105b87a7c2d1ef97521a7cc4393c549 docs/models/payloadapril2026securityincidentmigrationappliedfrom.md: id: "965796172666" - last_write_checksum: sha1:5d67fd5c6c2bf557cf5559b4dbe06a54b0928621 - pristine_git_object: 927da5c81539aa42c93409c230423e0a21c17f4a + last_write_checksum: sha1:8e8e935e5c68845b6067a1a060ee8208dfb241dd + pristine_git_object: 591129185a5b6ae36bd2015443024fe88d10ba73 docs/models/payloadaws.md: id: 21a9528098b4 - last_write_checksum: sha1:8276d7c1ac664f74ad8381bae5b23eec9ee0fec4 - pristine_git_object: 6ed0ec650d683f69bc076a726127b26c01769da6 + last_write_checksum: sha1:78dba43b324de36e876572cfb0037116b15cba7f + pristine_git_object: 639bd913894514a86cec088cd2df8ee1557eceae docs/models/payloadbefore.md: id: 5d092d01129f - last_write_checksum: sha1:080e73c239589382a94d3c8937c4bfe091478f34 - pristine_git_object: adac45cea124802eff8a05223d68a5f74bac8aa6 + last_write_checksum: sha1:cb98bdec881007a8ff909fd0ce3e3d5d04d4831e + pristine_git_object: eaf0527762af3cc21b53db760fd74f898c31bf29 docs/models/payloadbillingplan.md: id: acc6d40b0de3 - last_write_checksum: sha1:2d2529054daed339fcf8cc2c21109276e62ac7f0 - pristine_git_object: 6045822b69fe9f1a81b81c892bfded3678dcf7f7 + last_write_checksum: sha1:9c1f0d239e28217e4d7e7f9012ef18ebc3f9aee9 + pristine_git_object: 5b808d4b3756676270cd9a928c2ef5bb14127c0f docs/models/payloadbranchmatcher.md: id: 903f27267897 - last_write_checksum: sha1:98ab3b118d6ddeb60cfa5e1a5f5839d6467c1b58 - pristine_git_object: eaeeb81c2114592eff9914f147107169faf05a93 + last_write_checksum: sha1:4ee0ab22d469a6ecbe6b0db1cb28e57720c897d5 + pristine_git_object: b41d08b6437c490a56be9b28e5a4e6f60f100b1f docs/models/payloadbudget.md: id: 8340b0d56472 - last_write_checksum: sha1:7597e29ddaf8acc9dc8ab1ea017f2a7ff785ecc5 - pristine_git_object: 8768e22a7dc955ec7a931478044862c2b2bea033 + last_write_checksum: sha1:3f50adde25a9a8c1486f572d4c30e221a6b4c13c + pristine_git_object: 165d76652312c39de3249542ba141a83a5b20361 docs/models/payloadchange.md: id: 17f4429d1248 - last_write_checksum: sha1:fb7f95bc58349343662726249cdc47b04c97b4be - pristine_git_object: 83f565af7f276b25ae8c483c9204d74f5448d83b + last_write_checksum: sha1:d086356081521deadecf611621ca6180d97083cf + pristine_git_object: 96a1cfcfcf3638c1f021364b61c84f835fbd9063 docs/models/payloadchangedfields.md: id: f9076e0972fa - last_write_checksum: sha1:922432d3906b9af6ee204c1b8049a5aea95093a0 - pristine_git_object: bfa61adaaf1f6398056742bf76372506e2341869 + last_write_checksum: sha1:e73613c2b0400e046f6e8b6588e8e24908da1f05 + pristine_git_object: d14563ba40fc108cc8819790e333d9174fbf69ec docs/models/payloadcity.md: id: d5bd4bdc52cf - last_write_checksum: sha1:dda440aa7930811637c842b5bad9af76a7baa5cb - pristine_git_object: 8f3f1fa407f144edab50dfa0e4ca1143429a73db + last_write_checksum: sha1:8a17f6dd94bba6ad5d02038d2e4186a81d2d3380 + pristine_git_object: a6b61320f4c5b974331f2af98620e0ab559c7dce docs/models/payloadclaims.md: id: 565d2ea25550 last_write_checksum: sha1:f788d974aa2769739edb92623379e2bbcbb50f2c pristine_git_object: 1cfcadf4b40a3288c9ced047dfa5bf0f99150018 docs/models/payloadcodereviewselection.md: id: 7d072e48569c - last_write_checksum: sha1:c7d35136621f392198f37ab9465a2fdcec11d7f3 - pristine_git_object: e7c2a267c5a30c310a8e26ffaab2ceef384f45c0 + last_write_checksum: sha1:72e984af5286ee83847a85aea1e8ca4c09a544dc + pristine_git_object: 9783be8827cb139c1c9f14994a79548550ceb215 docs/models/payloadconfigchanges.md: id: 4b8e015764d8 - last_write_checksum: sha1:402f3d5d0fe8311d3749d1cde45b0c58b8aeeac1 - pristine_git_object: dc3c52424b76b29d85e1865379208cbbad09b187 + last_write_checksum: sha1:93a4c3f095b1c51be79b592569ee2a41beed2d59 + pristine_git_object: 64c27723f698d9efa2dbfaa5759e545a99761cb7 docs/models/payloadconfiguration.md: id: 7d7802215eea - last_write_checksum: sha1:0f03113d01e13e27c5244bf88a19fe4a38f56ea6 - pristine_git_object: 916ebcd6022aa9e3d4ec17f17f66f7aceed28c35 + last_write_checksum: sha1:91ab408fd562b0ff114f6477944f55d2551190d0 + pristine_git_object: 1e805600bbaaf05f667ac5185b45946cbecf0464 docs/models/payloadconfigversion.md: id: 1e0a3cca2d83 last_write_checksum: sha1:da30bc81e41a55463350ccae58a08c81f92203ee pristine_git_object: b6595bd8f5271b6c67e31afa91ad142a8ac5e6a9 docs/models/payloadconsent.md: id: 6209b3988175 - last_write_checksum: sha1:beece7ea61ded540fdff6486704f845cb01f8961 - pristine_git_object: 5d30826780cf60eab755a31208923c9dabfabe1a + last_write_checksum: sha1:f2e6abacfc72b0a59daefc48a365b7694f332887 + pristine_git_object: 2373af44fbafa6c1a523701fd5fc9820db9ebba9 docs/models/payloadcountry.md: id: 3494db22e84d - last_write_checksum: sha1:b4ee66930989c68254f4d15dac113d8f2e422445 - pristine_git_object: 8549afae27bad64e8bd50cddf8d62b844130ddd0 + last_write_checksum: sha1:3a406820fcb31812187c47daea48e1d743c9bfb6 + pristine_git_object: a3811003a0c82433da87c9d2f1a2b4fe3aaf6152 docs/models/payloadcredential.md: id: 47295a88f94e - last_write_checksum: sha1:e2573bd55805b8e2c3856e9e6f0a077d7aa7dbaa - pristine_git_object: 39cb30390992cd2ab682c88668941c184ea25af8 + last_write_checksum: sha1:8f28a4508da466e5de1d1f75cd5e6b01a53ce1ee + pristine_git_object: 699a7627db3039f098576a3687a72301be4477fc docs/models/payloadcurrent.md: id: 697cdaa952ff - last_write_checksum: sha1:b2ef01f8af431d0eab92c2e08ee09b4bf2735937 - pristine_git_object: 44bdbfc928cc70e133087b432f6fde180f00e5cb + last_write_checksum: sha1:3999ea42997a6ea5d0760af440b5f845ebf03a6a + pristine_git_object: 026976a1de9fb0426611812942553605dd278720 docs/models/payloadcve55182migrationappliedfrom.md: id: fe301841d13e - last_write_checksum: sha1:b703e1f6a69fb091bd976e8e10b3590260b2e874 - pristine_git_object: c7d650bdeb8e64b986e1c50f06c7125690d41648 + last_write_checksum: sha1:2b507c38b64da96f674af3f90fb9f8228179bd9e + pristine_git_object: d5d3fa2af14dbcc0df35578605a3ad1975108d48 docs/models/payloaddata.md: id: b68513e67602 - last_write_checksum: sha1:62a9c82aaa93bdea2ae9c8c269b131eae2d23701 - pristine_git_object: 73bba2ca5e0858e6c3da2062869646a243ce1321 + last_write_checksum: sha1:79c56bf91107f912ac89bc3281b7853c340dd6e0 + pristine_git_object: e8b13a31b127ae77f5363bbbd364a11533d17d3e docs/models/payloaddecision.md: id: 4b5dd8facf91 last_write_checksum: sha1:763e7c9289e0e74524fd48fbe1daf1804676ee65 pristine_git_object: 57fc8ee6d1c56fd3931ca6dfebd59b80755333af docs/models/payloaddeleteduser.md: id: 02fc782393ab - last_write_checksum: sha1:edaf31f930b61f122d7e7cbf07322f1075ec5875 - pristine_git_object: 3965c750d2fad9aba819dcc3502d67f33cf893af + last_write_checksum: sha1:d19708cf5bc1b6c9fde1ea170148b5e5e117e59e + pristine_git_object: 0424cfd4b3031e70855a4f2940dc5176d2a9edd9 docs/models/payloaddeployment.md: id: e335cac90500 - last_write_checksum: sha1:c1e946fe2aedcbe68cc543b67b10c7086b0e2099 - pristine_git_object: 514346bea9e88873fa947bb167d4ba6f1640786b + last_write_checksum: sha1:b5526eb2f8db1d36fcd9fec7c3b2b789eabce7e3 + pristine_git_object: 8fc1f26f25d16d39632098208aa687ec3cbb397f docs/models/payloaddeploymenttype.md: id: 6d64a24bc07b - last_write_checksum: sha1:694f37d2a5994c5390a7261449236971ce93bdcf - pristine_git_object: b1d53d32e41c8c851c6da946271a54638cd70208 + last_write_checksum: sha1:8354b510980910a650f42077cb45081261d4e860 + pristine_git_object: fc963df6abc7c670e09ea24b0aae1d95b8eb1737 docs/models/payloaddestinations.md: id: 00665e581f2f last_write_checksum: sha1:22db476dc93938198a225ef5842f11ea15a51c1d pristine_git_object: b99b1a212262735f031d90d0d87d9aff681811ff docs/models/payloaddsyncmode.md: id: 3a324953ea84 - last_write_checksum: sha1:6e8e8923cfef5eb4d62de977d729d2f7acc26857 - pristine_git_object: 41de1a2f793ae8cc3359866d1ebb6260fc80327d + last_write_checksum: sha1:b7279b06502573046ac9f6d16f9094df122b215e + pristine_git_object: 92c0860b6b12ec8c1b6e12ca4f37b9fc5889c92d docs/models/payloadenabled.md: id: 70f25ec88b6b - last_write_checksum: sha1:edf8c7fe038fe0a507c692b82af5c555d4a64282 - pristine_git_object: 53f605b7090eab41aafbaad37b2fc40c811ac149 + last_write_checksum: sha1:a23c3d7c4ab5b360f50a42d6f0fe6b0464c3862d + pristine_git_object: a295b4968898815edc52410debcb3cb03b17ddc4 docs/models/payloadendpoint.md: id: 2bac3801e44e - last_write_checksum: sha1:182b32cb50d076b48ce7c481d45bd0d8b641a9c5 - pristine_git_object: 8e25bffb807909167c51ca3605af068d0cdbf10b + last_write_checksum: sha1:43e94297bd94c02d1c0a4db6c662f60a0804dc94 + pristine_git_object: 618a0eab9737cdf24e3e2403d84ce3b44a2e3847 docs/models/payloadenforcementscope.md: id: ad8c6d79afbe - last_write_checksum: sha1:49014441c9afcbefb7f57297ba98423ab9136097 - pristine_git_object: a02e00b5d2fb149529ea142482f575a180ba983d + last_write_checksum: sha1:3886e0668a419c338fade05b5c985c18528b43e0 + pristine_git_object: 6af726ca37651853c8db3ca2fc564c925f504511 docs/models/payloadenvid.md: id: e2c2fa36a28d last_write_checksum: sha1:0856e0f76bcba64d03e418b4af89bdca6bc66907 pristine_git_object: a5739f3ad43530ed9847ca9e6dc1ea461e0b488a docs/models/payloadenvironment.md: id: 54b4b23bd2fc - last_write_checksum: sha1:11c5712c4ff956bdba3d1d7d138fec25e24ce393 - pristine_git_object: 66cc1eb48682883e2e07a6641cf2b3dd3e40ebd8 + last_write_checksum: sha1:4dabd5b89d99a8a4c3ad47e28cb7e35dbc55844c + pristine_git_object: 8e75102ef73870f22bb1356fac183ec99e1f190b docs/models/payloadfactors.md: id: 7871366ae309 - last_write_checksum: sha1:59890ac76b6d21c87a4ab1e6d31fa096f1927b9a - pristine_git_object: 5efb2bad6c46868b1d9fc2d8ba9c036f82f0023b + last_write_checksum: sha1:39c7b0beebd9d67eff5d65c750b5ef9670999dd5 + pristine_git_object: 27da808e9d320ee9faf1bc90bacd236ea9e7fb21 docs/models/payloadgeolocation.md: id: 75ea3a1e7348 - last_write_checksum: sha1:89bcbda5797c313c5cc26c4f7e0c633b03ab3b17 - pristine_git_object: 01a61d704645aa36e6111c62d789f8b7cb26cee0 + last_write_checksum: sha1:6a37a4bebb09ad80414494170f2b7ff1093bd095 + pristine_git_object: abeb62e0902656f07bbe70744be3b6d5b7b75a4b docs/models/payloadgitprovider.md: id: bd69404df08b - last_write_checksum: sha1:06d872d95c98bef8de9e88652be814a8199db2dc - pristine_git_object: 975e79f35d5b7dbe9a9a59d3f5a21bbc46f4fbf4 + last_write_checksum: sha1:318734018583171011a508a0b58011807f5e700c + pristine_git_object: 1edf1e32e22409f40dda7903dfe6ba645841c202 docs/models/payloadgituserid.md: id: 63340baba239 last_write_checksum: sha1:e4ede1cf1a2e36816edc39f47e3b2602c557d7d5 pristine_git_object: 55b0a555fbccd3610764e540edcc68ac7574a732 docs/models/payloadgroup.md: id: 5e7455004b03 - last_write_checksum: sha1:d8909351ea052e28f310160cff8e2b03f59e16e1 - pristine_git_object: 8da5617ee2df8ae5b2581d09c9d191bdb7f258cd + last_write_checksum: sha1:51804f04bce142cdc4733d9da3cee73f9d30ba55 + pristine_git_object: a3203875c35eea529231ddb61d649b78d7b9e18e docs/models/payloadinitiator.md: id: ac340b34f02d - last_write_checksum: sha1:31bd25f5322f73b92f72e456de486588add875cf - pristine_git_object: c4f8d1fb30f308e79e9b3f5a7ecbb9398eb420e0 + last_write_checksum: sha1:50835f02b45b7533d90f02c6553efce1e256e9b9 + pristine_git_object: 414d35a6c063197e16d22b1986754922cf05c11b docs/models/payloadintegration.md: id: e8a46b3fcf97 - last_write_checksum: sha1:2c06de1762a99909dfaef6449b5a6d70a29a39d6 - pristine_git_object: fdbc282322128780c8a9ff9fc49c671b608dcd96 + last_write_checksum: sha1:9860ab00d90749be654314a01ef9f43ed21b3878 + pristine_git_object: a47cf13917e78ec4f865d0f3e0aefc4124b792c8 docs/models/payloadissuermode.md: id: a6be872a5a45 - last_write_checksum: sha1:b0e4323bf0a1b37c638355ae7a51cfb67dbb832f - pristine_git_object: be821db215aa9ca420d03d3be6ce694d54070d1e + last_write_checksum: sha1:f42c80d379f3bc780a4f36605a1ca8d6b2eb5950 + pristine_git_object: ed82ee2e036fe1a66014c29ddb0ba17bb21ab524 docs/models/payloaditems.md: id: dd563d09d238 - last_write_checksum: sha1:f80576a77ebfd2488264875fdc2e8c975cb67102 - pristine_git_object: ea5136f24b3812af1bc8d27c4f35e40cb3a04990 + last_write_checksum: sha1:7759397451b5214254a02de015e5404ab0447e2f + pristine_git_object: acc8dba2d461a0ee79dc4bf69c9be6bbefc25b1c docs/models/payloadjob.md: id: 284eeeff1c8d last_write_checksum: sha1:ce032dbd97cc00c4a71afd1f51e5961d393d5b81 pristine_git_object: 47f479935d627affa4aba90e8fc496edbb8ac8e9 docs/models/payloadjoinedfrom.md: id: 3f2104156378 - last_write_checksum: sha1:e188d1ac5507806b2449dfa64cd1e0d26eee07ac - pristine_git_object: 84e5793ee617be313f9b23f031774628f0813e0f + last_write_checksum: sha1:9d35caf1f3ae19f8a0df454577b305288fc7cd2c + pristine_git_object: 98bf8a56d7f90d5ae4e1d4a9e007647c6fbdb230 docs/models/payloadkind.md: id: 58134939e96b - last_write_checksum: sha1:1f8602f17e0afe97f364395a345c313071208045 - pristine_git_object: 8d09d550da369172d0c3dacf6364049d85b1c484 + last_write_checksum: sha1:7e841a441bbf1f0c52e999fa3dbd2cb7e4cd3260 + pristine_git_object: 34802f70d6403d5980b22b667e6991c81fbb3b0d docs/models/payloadlasteditedbyprincipal.md: id: 8a337c2fc7f3 last_write_checksum: sha1:fe268ac8df9c5acdbdbd203b55a7edf5e0e52c3e pristine_git_object: 4f14ae486ba8ed8000a670adf825000b889e34ec docs/models/payloadmethod.md: id: 9cd709e11c7a - last_write_checksum: sha1:acadc12c4c0ea0442d6d27684dcfd3f733067570 - pristine_git_object: 332a27748943616ddc00dc22bee7cf3d80a983b0 + last_write_checksum: sha1:ac5e3db23336b4d8e84e3b5cf7627e443b0d703d + pristine_git_object: 0b693813c272040547e23e68476a7f706982d507 docs/models/payloadmicrofrontends.md: id: 000646ad1f65 last_write_checksum: sha1:26c0a5d8175aea038a6c28e229030ea2288b1ad3 pristine_git_object: 4b5d0436383737c8e3cb91253a74400f3ded89e0 docs/models/payloadmode.md: id: 0b8a93428d15 - last_write_checksum: sha1:ab9a73c2351146cb913f5baf51f6b59d8927b3fb - pristine_git_object: bcd3b53e6521d63756ab2b5a5e7730a65e12c343 + last_write_checksum: sha1:82cd2f3d982dc2e047128bf4a9de343ad48ecbb9 + pristine_git_object: 12ef634a353b48fe759792ff663fef1d6d1decd9 docs/models/payloadmostspecificsubdivision.md: id: d4e1fe846976 - last_write_checksum: sha1:95499b287453714c2848663ec4910c92ebda39b5 - pristine_git_object: 6cd97235bbd10f40402801e76de55ab162776262 + last_write_checksum: sha1:31cf568959f17fdc574c429e3e5b396851db8027 + pristine_git_object: 73a484d28fdc99229589dae3b456da6b748494b5 docs/models/payloadname.md: id: dfbf58248d8c last_write_checksum: sha1:41fe434a66ffc86405c23f540c91ffb58639ca20 pristine_git_object: 923667c5098f289b92bc3ba3437659b08341d49c docs/models/payloadnames.md: id: e77795ea282b - last_write_checksum: sha1:d5c9d8adbad81657d4e6e5a8c096530bab4d1c16 - pristine_git_object: 2ecd19bb65206bc2836893e9e06eadd87b6a02cc + last_write_checksum: sha1:0aaa97bbeb4cb6300308a8e167ea159d022db73a + pristine_git_object: 766eab1e1a81e1e2fa7fe695c5e095f486c66972 docs/models/payloadnewresourceblockingpolicy.md: id: 3c5e89c2168d - last_write_checksum: sha1:39a660b8ad15a049818e33d5e239aaac43da57a9 - pristine_git_object: 10e6f9552d071d1d09d37b77190aed0df6b36475 + last_write_checksum: sha1:dd8b98b3061983802818ed0d0fa9cd64ac043335 + pristine_git_object: c84afed11ead1e16a0cd8b2375e3111cea46316c docs/models/payloadnewtarget.md: id: 98af5d661471 - last_write_checksum: sha1:90853af0e3102281b517c05cc0fd9dbd67a51945 - pristine_git_object: 8b0e6911f9057ca588c00c097fe128d106fcef98 + last_write_checksum: sha1:0e24c87f98516a63df3fdcdeb0d54904470d6156 + pristine_git_object: f7b1cc709b9c6c74b96f9c25e26464df3d12f8fa docs/models/payloadnewteam.md: id: 698de400d77e - last_write_checksum: sha1:afc0a1e671cb8c8c176e3fd68db3695052d0d399 - pristine_git_object: daabeb5ea817c9c12fd816c4ad126b4ba99c5d5c + last_write_checksum: sha1:948b0fc838000c30b9af0fdfa905eddffa20bfc5 + pristine_git_object: 968dce29d4f2af9b92cc4a976417bfba9ff1586c docs/models/payloadnext.md: id: e8d54eccd781 - last_write_checksum: sha1:d916010893ac14e1ae40e23b9fb3e0bb13fd86a7 - pristine_git_object: 0b8dad38c251a6fb8c7da4bf3b0ec2fb7266dcc9 + last_write_checksum: sha1:2b1cb8d03e6e6a87d359c41455bfd43f671987df + pristine_git_object: aa6e87db5fc8e2f36812de01dcf5a41f6789cd89 docs/models/payloadoldpasswordprotection.md: id: acc12b756f37 last_write_checksum: sha1:cb929a6c5f8bd1714555f22f89bbe0b38204d0b4 @@ -33691,16 +33739,16 @@ trackedFiles: pristine_git_object: 668f74a0b26995d43b0db6581c9ce2a9310ea617 docs/models/payloadoldtarget.md: id: 29c3f2668def - last_write_checksum: sha1:a8eaf1c9f229f506ef5c16661fbfa579c08681c7 - pristine_git_object: 9108842c326d959ba3f8ea8e242332ff1974ba49 + last_write_checksum: sha1:e18036e4440926d6231a1c039b9cd3f1fd612044 + pristine_git_object: eeb46eb2d53b3e96391c0c1c3c8e7a1c6a918830 docs/models/payloadoldteam.md: id: 3f75543fa8a6 - last_write_checksum: sha1:845aad260a52217883159325b38eeb644330f252 - pristine_git_object: 9ede29506d12744d39e1d9f0b8012a689b588cd9 + last_write_checksum: sha1:d6393c6cac0db7a8133f5656d0c69a1e9024ca78 + pristine_git_object: 1159d5071644dc0d2fe70257908db664b952200a docs/models/payloadorganizationpermissions.md: id: 23792c357944 - last_write_checksum: sha1:2ad3ca34c74ce8d1cf079d86fa57bd1a8ac0112d - pristine_git_object: 557082fd75c793e6a2571583827fed5939671da1 + last_write_checksum: sha1:c6ef5b6ab742278cfa9027fe3753e62fde6751d8 + pristine_git_object: 3f6a7f625ecbfa626ec25c0659781e7ecec7f9b2 docs/models/payloadorigin.md: id: ee60deb4d4e5 last_write_checksum: sha1:f472fd909ee51f8be224ce8be7671c6b31805675 @@ -33711,228 +33759,228 @@ trackedFiles: pristine_git_object: b43cbee43049d2631828929a6ad4745945ab94b1 docs/models/payloadpassport.md: id: f9cecf35cf6c - last_write_checksum: sha1:03ccbeb9f00b1e844cfd7327d656646f056999b5 - pristine_git_object: ef59a215704dbc381bec15c910308bb032405ac3 + last_write_checksum: sha1:549b33349b91a7d0904ed24edd977bf3e65949dd + pristine_git_object: 5f69069d273e7b28c3a06b829184f730842339c5 docs/models/payloadpasswordprotection.md: id: af8827f6a60e last_write_checksum: sha1:2c5df6412ba9f28d5475228c77018735883df6ac pristine_git_object: 969f5e4928b2f50fdc3ee16669818b0fcaf74b9e docs/models/payloadpaths.md: id: eea0a5fc99f7 - last_write_checksum: sha1:5667fdcaa4d138c9beac3a65731bb8656685a204 - pristine_git_object: ec9e1deaaf14b3c8cf741d713ab1d9e55c9433db + last_write_checksum: sha1:da39969fe2513e57c9080644c1b47ff59d4d9bc3 + pristine_git_object: eb5c4f5ee9f226b1622e657add0dae92e6e03144 docs/models/payloadpeering.md: id: 683a31709c32 last_write_checksum: sha1:c49b5a4e7bd8961d31d8fcaf76abe012ae47cc08 pristine_git_object: 01f22faca90f4005268ec9437b649c3f0b06e2ce docs/models/payloadperimeter.md: id: 66e5113c5c5d - last_write_checksum: sha1:88193cb66b95348ae067f36215eeb1961c8438d6 - pristine_git_object: 256e821b3fd7b22150d8505281a1545f5857341e + last_write_checksum: sha1:79c2fea63e67c3a2d27195be3d9ae2498464b989 + pristine_git_object: 9c2e7b930126abb36c7bac155faf9337fe1ba298 docs/models/payloadpermissions.md: id: ce632e6b31dc - last_write_checksum: sha1:e036dc76c54f2a40c8f6b2944febc9336684aaeb - pristine_git_object: 0174f95734813439ffec75fc44d4a07868163934 + last_write_checksum: sha1:f170940bc81910ec5edb21e8e67c1120d924c693 + pristine_git_object: 540d3fde0a9226182f157d6268be09e2e021c193 docs/models/payloadplan.md: id: ba32b4d1ba5b - last_write_checksum: sha1:acaca97b5840581b4165b561d4386c6271dc0002 - pristine_git_object: 2e56d6d32914daf607de2c14e36252f11ce74001 + last_write_checksum: sha1:83c515a1a2494346c2b9d230c8d432536790a786 + pristine_git_object: b01fcab3f4e3db57403fc3567dadee6c62cb43ae docs/models/payloadprev.md: id: e59bb5b89d43 - last_write_checksum: sha1:8946e2cb3dd27f945cbce6b1e739f1726c415f11 - pristine_git_object: 3c5511de3deb58d4d772cf7df39dd9b346bd4c69 + last_write_checksum: sha1:c65861c435d95c5e0c24c1c67c41023ad6999943 + pristine_git_object: 1959d245f1eb15f901783b64c9b938cf4c6defbd docs/models/payloadprevious.md: id: 21c1be79c4f6 - last_write_checksum: sha1:6b65462734368d9da55f4ba519cc757494a045b4 - pristine_git_object: ed881a15ea11986bbd4a1f0360c2b32cc38ad519 + last_write_checksum: sha1:288fd02b9656792e5e0a43c4a5f84f700c338082 + pristine_git_object: 492a829a4d7f24792e76af0865111a078d73c096 docs/models/payloadpreviousbudget.md: id: 343ef9baa1be - last_write_checksum: sha1:4712da4a5fa5b24062da30d895bb44854eca1698 - pristine_git_object: 90562a960df4d23aa55228134deb673180015adb + last_write_checksum: sha1:45b653f51b3a04eda04f77fde945695e9dab64a3 + pristine_git_object: bf69723556702ce080e96c85a81709d9907809a7 docs/models/payloadpreviousmode.md: id: f7fd80432cbc - last_write_checksum: sha1:a4ddf4fe54a356ed8d9c9f157f17a6b9f4c2541d - pristine_git_object: 94833def826a0c2ba016d48f13ba962d9091df21 + last_write_checksum: sha1:5afe8a54a2b2d31739eb04bcb144dff04759a598 + pristine_git_object: a0cd912839750b01b02dda890cf108ac1be53840 docs/models/payloadpreviousrole.md: id: 6dc81b9b2ccb - last_write_checksum: sha1:933ef4001c0ca9480095627a240c4539d92491c9 - pristine_git_object: f36e41163cccdd4b2a8ec4a8e66ee70f3506207a + last_write_checksum: sha1:3c403a98ec46de93575c73fdd6e0eeb4d7b14d0a + pristine_git_object: 04e845952c37ef275714607676e5bd9072dc98b3 docs/models/payloadpreviousrule.md: id: 8b2852cddf68 - last_write_checksum: sha1:e9234ee37b0e8fd1787a233218d53e55d472cde9 - pristine_git_object: b43a437905818cf5ba7b4ac9928e4c1836ffffae + last_write_checksum: sha1:7537b0fba89e325aba3f6ea9bcb848e919b6e9c9 + pristine_git_object: 897880be5398a0a7e00f93e3356e0e965cff8fe2 docs/models/payloadpricingplan.md: id: e2bacb48110a - last_write_checksum: sha1:04ec190e1c5172880ec8d3c350708b0206f6ccdc - pristine_git_object: 464c2a50c746df2161a8f87442e8466b3bdcbf9f + last_write_checksum: sha1:9b1a08a981e6afb73da22d0b6c1989f584accb12 + pristine_git_object: 8703c98ee276a0ddd574e9539f1297959bfbafab docs/models/payloadprincipal.md: id: 1ffa2e8f1f78 last_write_checksum: sha1:6169b48dfefd6a4ea785169bfb4f21ab7c01ab2c pristine_git_object: 5d2dbbed7e7c74b93940b5970f043750d12c0170 docs/models/payloadprivatelinkendpoint.md: id: 58eff5b8165b - last_write_checksum: sha1:9ef5cca58e536f593833b675fc1e6340d26d3cab - pristine_git_object: cc4ea79e3f06a3800b043deab51769c514915202 + last_write_checksum: sha1:b6834b9d097c9bfac4126ae552f5928d4c5e87b5 + pristine_git_object: ea9c3242af158798d188b810ed2f0e0f19ecd726 docs/models/payloadprivatemodel.md: id: f8d50a340f72 - last_write_checksum: sha1:49ae709044b25b5fa78dc238520ecc9f90744147 - pristine_git_object: 071ff2f9190bb915cd6a5baf5cbf35e1dddbae4b + last_write_checksum: sha1:b75fa53796475aa73cc2c10c3aa2cc7f6b9c4eec + pristine_git_object: 94447b3fae450f045fe132b9fd64aa0bd07eaeb1 docs/models/payloadproject.md: id: e505d203779c - last_write_checksum: sha1:e2d8b1c9cd029e0317cbac7856efd33f8b083a81 - pristine_git_object: 6dd7baba6ff9f541d15a8e5fd50492657ea9d498 + last_write_checksum: sha1:bbbc19f34de2ed346090f2abcdbbc37b056e96f9 + pristine_git_object: 3b31fb50066339f17cb69d5f79ce4d114ad9587c docs/models/payloadprojectids.md: id: b226789c47e3 - last_write_checksum: sha1:aca656ff9c9e661aa3f84a8b57e9e272de632be2 - pristine_git_object: ee7f763050407ff3f7893290d2664c985b75b86f + last_write_checksum: sha1:7257447439a93ad6cbb995402012d478656f9980 + pristine_git_object: b7650a9d52e1e86deea1170e75b47a68bbfb8bc3 docs/models/payloadprojectmembership.md: id: 477ed92706dd - last_write_checksum: sha1:dbd8ecdd5f2e524d7866181ce6862a35f97c9b79 - pristine_git_object: 59c2c69bc10c256dc79def2c978a14246ed856d8 + last_write_checksum: sha1:e87b51785a466dee81c9f519d6248601df67884b + pristine_git_object: b1f5ef7c1c97f8f44e4432a5724b73abed638e06 docs/models/payloadprojects.md: id: 245216aed662 - last_write_checksum: sha1:5b6a222e0d85c78a7a24e6fb71957a795a916485 - pristine_git_object: 1ba9c053bf0d8d8dc2f705983b18b7ff372e923a + last_write_checksum: sha1:f62758e95eee7aea65f7edf7509e1750eb2f1a3d + pristine_git_object: 65e963d6aeac5292493ba2206a9af343793a8012 docs/models/payloadprojectscope.md: id: f24d361ea306 - last_write_checksum: sha1:7e2713131d78e94f418140710f231ed3ad731e32 - pristine_git_object: 49afaeca7b7d8156d8790bc6f6c0dbaa4d0ee12f + last_write_checksum: sha1:3f2999eed8c4647f9d62ba98e9884fe8c924ee36 + pristine_git_object: c6c0594d9db3ecaff365bb5d5bf68c5767b6f684 docs/models/payloadprovider.md: id: 8977d693a149 - last_write_checksum: sha1:d0c3817098fbad2717529959bdcaae167a0f17a4 - pristine_git_object: 63bfcd8d3f28c857cb5252605d4a1a2953102881 + last_write_checksum: sha1:803f541500df6f92e7c9ebe4c64e47b9dd2cc227 + pristine_git_object: a68a0d88f7f3db4f13fe6bf2bf511734b2aad830 docs/models/payloadreason.md: id: cdedcf8be32b - last_write_checksum: sha1:b958bc6b3fce74872ad49093c9adf16958d73299 - pristine_git_object: c1d7e002b449495d8202ee114f7fe4cad22d19cd + last_write_checksum: sha1:28d57142263c7957ee35cc8196cd8f4e575270ef + pristine_git_object: a066c85c13b46c14cb7bc1749ed44352b156f443 docs/models/payloadreasoncode.md: id: 58200007c691 - last_write_checksum: sha1:a20c7cc5af0081a302d58d4f17ef836b39a248b9 - pristine_git_object: aed9b3eda7e98e7c820e86f2250e6e239b2f5200 + last_write_checksum: sha1:a88c41ceb5ef32991df6681ee6c386cf442936c4 + pristine_git_object: f674d8052983c97f267ac60fe88031824b5b3853 docs/models/payloadrefreshperiod.md: id: 65e01fb00648 - last_write_checksum: sha1:b1916d4e27b72eb15b36f9e638165ac30f6344cf - pristine_git_object: 89c748e0224a62939b81a4f92825eebfe10c2b3a + last_write_checksum: sha1:e07f6d560578433c8f433a618e16e35fe5715a3f + pristine_git_object: 482b14c67da5db73e242cdcded701daba258cb7f docs/models/payloadremotecaching.md: id: c8568e3e7140 - last_write_checksum: sha1:ccdbe041a8cee74fb8b010b977c0d0adda4d19e7 - pristine_git_object: 367398fbe4595b5e5940163937a264c48fae0d89 + last_write_checksum: sha1:b953df5d080c3ba111ab17514181778ef9caaa7e + pristine_git_object: 59bf25eeb363f8704afefcf0bc15eab4b1667b64 docs/models/payloadremovedusers.md: id: b225a1f71abd - last_write_checksum: sha1:7d9d2b5c8f679f8d0610962bb17175f219e7a73c - pristine_git_object: 40bcef19ba4a3a6c05957ef74676434b6da269d2 + last_write_checksum: sha1:a838518aaaabfe9e95b0a5c95a96e884f4147c6a + pristine_git_object: 25c38b498ddb8751f3118cc2e134081d40ca9354 docs/models/payloadrepositoryscope.md: id: c6d368fb055e - last_write_checksum: sha1:63dee34c3d809a98f82e2574751b44819d7acbcc - pristine_git_object: 5106c9597593f257306b619531e0442d0d2364f9 + last_write_checksum: sha1:136abf7ac57e36b2b7bc20796cabf0ba06617430 + pristine_git_object: 77c38b2e07931c00dd4cc92cec141d997c9fdd1a docs/models/payloadrequestkind.md: id: dfaaf795f278 - last_write_checksum: sha1:7b8927c8487bd380fee7172a5c8e285c3f6ed8fb - pristine_git_object: b6384ab6e35f217c2b0ea8a8d88964d0010c94cf + last_write_checksum: sha1:a51d41af51171ffe60ae3cd9a54168dd6ed775be + pristine_git_object: 921f04f7bdf1117034ae041b593e7cd0d498bad1 docs/models/payloadresources.md: id: 6ecf43199bf1 - last_write_checksum: sha1:58668f6c3678213a6df8a466ddf83665c52fb67e - pristine_git_object: 9228258ee73a8040815ed3a6110bd8f17e49447d + last_write_checksum: sha1:578a05b654f30bc21320cabc6a0e847ecc3a4b3e + pristine_git_object: 3755936cfdd5f236a68948bfd707783db7dd298a docs/models/payloadrole.md: id: 2f6f645c05cf - last_write_checksum: sha1:e93bbd7038bda8e63de5c0671967944dd18cbb7a - pristine_git_object: 7f90f9aaa376e6594b024e49a4c2f65748d07aa5 + last_write_checksum: sha1:dfd0e328279e18a382eb31841bb8ad90daedfd47 + pristine_git_object: 3dcfbfac615b52c788cd14beee58f9f91474ded7 docs/models/payloadrule.md: id: 1f8eac2256bb - last_write_checksum: sha1:dc669245afc2aeb91711b7a69b33b8f657f8bfdd - pristine_git_object: 827fb430014a744098d47a6f241228ce883fe59d + last_write_checksum: sha1:adb928afb8f1a17792633f9f5929e99e509556af + pristine_git_object: b4b3cec232d110b76651a1b9428f17448f0e1f1f docs/models/payloadscope.md: id: f07e2e0ec89b - last_write_checksum: sha1:1311dc3d42f6beda21696f9f712ff225b21a3cd6 - pristine_git_object: 76284705304b359b5f22f66431957f9f4ad29955 + last_write_checksum: sha1:fc1dbf8b0737d5743c68f9e62d36078d62a09c31 + pristine_git_object: 9537c2222b5810c3a32c86b1e2847b919a41ff06 docs/models/payloadscopes.md: id: 09842df881a0 - last_write_checksum: sha1:5fe12a0f9b7b1d020d23ef4a27853292818462f7 - pristine_git_object: 8cf90d3f7518cd860446405d91b2d4776886434a + last_write_checksum: sha1:c2b53a270e17619eca94dddb2ea53dfdcc38c89b + pristine_git_object: 7140f1b0ea4cdb6169b37318a41ee36273244565 docs/models/payloadscopetype.md: id: a46b02cdf83c - last_write_checksum: sha1:f8b348b46e38866e19caf2fc31c14576f0fc591a - pristine_git_object: 1da547f73b0573e94aba648464b2da13041235e6 + last_write_checksum: sha1:7e5060fb0d1a6d957aaf6a50b32ce91fdbf84d46 + pristine_git_object: 711e78faa70cf44524a6adaa4dafcb5dcd6781d1 docs/models/payloadslack.md: id: 04eaba6ce100 last_write_checksum: sha1:b301e477738394b9c802a44c93b9090400ee6905 pristine_git_object: bb10a91db1b0b0c3dcb4d63298d812abe1baaa3a docs/models/payloadsource.md: id: 17be32090cd4 - last_write_checksum: sha1:9f2a3de60e680180348346e56fc30a52b445dd57 - pristine_git_object: 97a5bcdbfb9aeaed06d9fe371fbcc061a5849329 + last_write_checksum: sha1:d5f1b08f73a6affd0bbb057ccbe94cafbb8ef964 + pristine_git_object: 3f88b61cc8ef4fd9cf25203f30dc34be4d1cbbd8 docs/models/payloadssoprotection.md: id: 453c029eb2d9 last_write_checksum: sha1:43b1fe386e78b12eea01190b4db3299508ab43c0 pristine_git_object: 3e9319a47e8a3d7f60d7d953ef4286f7a81be442 docs/models/payloadstaticips.md: id: 5fa5e6dcf850 - last_write_checksum: sha1:9aa49a2c80ed2cd4ad630548296066b79d805bb7 - pristine_git_object: a73840e9612c1ad1e1e45c40b56bffb02603c5a6 + last_write_checksum: sha1:94b83536bed2d5a5bdc83508b917be82e5c5732f + pristine_git_object: 6644e08a4281a9cf941e63db1843ee418ff5dd24 docs/models/payloadstore.md: id: e76793b7a5b7 - last_write_checksum: sha1:ae3f7f3b22599a8a11d2dbe7ebc26de10d4b7bbd - pristine_git_object: 7e903c98f01386bace1aff876bcaa9f9fb1a0924 + last_write_checksum: sha1:fee07da3773c40d4aa58bc6fd9867272f3281b8b + pristine_git_object: a33f4cbeaffc9ff22048c83a2128b588293cc632 docs/models/payloadtarget.md: id: 964c57ba8dec last_write_checksum: sha1:b968747d5ec11b0bb6113d2efb0ec91b50c6764d pristine_git_object: 2b81d1d7bc7a4c320d104b4ee773089848fd1d00 docs/models/payloadtargetkind.md: id: 0e5bede231f6 - last_write_checksum: sha1:b0669b7d112c8216e6123084e1a4a283f2d0e895 - pristine_git_object: 0a7871633150bef179461fbccf0e621f5098459a + last_write_checksum: sha1:5745fc52d9e5c65385c0b4fbb121e32977963f36 + pristine_git_object: 6328e36452a185002bca2a21c0a45209d9ad5fc4 docs/models/payloadteam.md: id: 5723f120fddd - last_write_checksum: sha1:466e7e9c9999744805d0c6b033a8756f197ddaf2 - pristine_git_object: c9e9ccaba6d8d0de443c8db88fae89463ba07389 + last_write_checksum: sha1:0197699bb8ab237015fe51191128c77305cbbc6e + pristine_git_object: 4b0286e0493cfe55772fd7e40945b672519d4254 docs/models/payloadteampermissions.md: id: 79a84a2841cc - last_write_checksum: sha1:497c34e57f8247464c9a6c9ec3bf3892c404d662 - pristine_git_object: 186e689c482087573e9b0d9c8e461369d26c18f9 + last_write_checksum: sha1:2299f63bee2c879c23505f9bd861543db5137028 + pristine_git_object: 81fb8dfd91498e2e419186d33178415895e51a92 docs/models/payloadteamroles.md: id: 91c175af91e7 - last_write_checksum: sha1:b156835901f29e471e06a334f503bc574570ad56 - pristine_git_object: 0f684bf97347bf7d107b83c8a14dca118c554a52 + last_write_checksum: sha1:daa97f5504b8310e7731d9ad4b905c446b60ae2e + pristine_git_object: 8a84bb2cd2ee637fa836bc0c8dadd4923819f128 docs/models/payloadteams.md: id: d6fb48728b6c - last_write_checksum: sha1:f3855dfaaf26ed6180c42fa92ca2fbfd6eeffd8d - pristine_git_object: 4c025599d8cdd795efbb03daf7fbcf9d18d659a9 + last_write_checksum: sha1:921a35dbf2082a5b77c1160fd0eff825abbdf0ae + pristine_git_object: fcc21090d6261803a6b6b9ebd03ed7f5d14237cc docs/models/payloadtokenprefix.md: id: dca7ea040883 last_write_checksum: sha1:e1a82d666009b842bbadc69598bf2a0b79eb19a3 pristine_git_object: 51b27036a7757b20b9061baf41b4a50408f15e2b docs/models/payloadtype.md: id: 618ea2d6c4af - last_write_checksum: sha1:f61d3309c0020e5a99cf3f37da7d37eaff75ef43 - pristine_git_object: ff758ad0e0ee39f2d7dd288860e707ec69b18158 + last_write_checksum: sha1:4eddaa13b78fab7881a88d2d2c967c5420e4f937 + pristine_git_object: 49fe858036c9a67e23de0f29354fe128e2b9f426 docs/models/payloadunavailable.md: id: 30d626899e2b last_write_checksum: sha1:d5132eb9d18850dad9c5290903b88bf83b872ce0 pristine_git_object: 07c59d2448c34c764e142c4b3f71a40c396831e3 docs/models/payloadupdatediff.md: id: fd561202063a - last_write_checksum: sha1:d0a6adf580e1d26c858c092c8026ba7ae4753a11 - pristine_git_object: 17fdd77661d64082c8f554549d7b0cbd13f64cd7 + last_write_checksum: sha1:62b44abf5a50245a442a1e2eaa1dc4526ca848d2 + pristine_git_object: b09a6ecac7db00debfd281af25fd6ff8bea3c30d docs/models/payloadupdateduser.md: id: 45b41a7e99b4 - last_write_checksum: sha1:28af14a58a427d12a525ff9908f9ebad77d97f5f - pristine_git_object: f513f590f348f9508b02ec4dfb7103ef306535c6 + last_write_checksum: sha1:9bedd33284214d31f7633b914704d31b5a3d8ceb + pristine_git_object: a0f09ddbe4d6b9a09cf4c5fc0b2f37739c6f30b8 docs/models/payloaduser.md: id: b15dad56ac80 - last_write_checksum: sha1:9b4ccf7c35a80186d21460709a5b547c52cb5834 - pristine_git_object: 8f705d5b2b05fdd86c7be45ecd521c48df5a5051 + last_write_checksum: sha1:b3e6adcddff72716dd03680d2e0e0cc1217974f7 + pristine_git_object: 08a331152e1095b7dec0c63339f6227d837f4bda docs/models/payloadvalues.md: id: 866c8c7a5fe4 last_write_checksum: sha1:cae9e93fe3b79846b264b7c761234f51290053b2 pristine_git_object: a937cda8b0f4347179defac3ce6bfb0d8f8f1687 docs/models/payloadvirtualmodelconfig.md: id: c96b881babbd - last_write_checksum: sha1:980aa1091243014e18664ca9e2b52f6950994fb7 - pristine_git_object: 1f5465d8fa5021675edf5e9a5bc5dc139cbd80e8 + last_write_checksum: sha1:f16a4ece8f8db8ac53b133f19ebceb436d95d281 + pristine_git_object: 012b8925e827b2c6394d1a995f6ba2effb463f55 docs/models/payloadvisibility.md: id: 92e4520b78c8 - last_write_checksum: sha1:67dda750b382756ac309da6dc2a8be0194039352 - pristine_git_object: f20189589a7c78741362791b04f6b4e37b04b446 + last_write_checksum: sha1:bec5962023b878187ac3f44556312a6c74bb5958 + pristine_git_object: 7c7e7dedb60444e634406bb08cb17f755015097e docs/models/payloadwebhooks.md: id: 4dcdf6b957e1 last_write_checksum: sha1:1ab4c31527b4d9e7e64df70f1d52106ba472cd91 @@ -33947,28 +33995,28 @@ trackedFiles: pristine_git_object: 74cdc663ebb4d6d22d168b29c8d22670b9d63b39 docs/models/perimeter.md: id: 0da12481c8a8 - last_write_checksum: sha1:a7afd3f5dc370376117b79bbf0def4054df693ca - pristine_git_object: 46cf38d471fc9e68a4d50bf950088b8b0728d296 + last_write_checksum: sha1:e8712eb895bd64d177e79f0206da3f9dfe6af983 + pristine_git_object: b638f403d34ee8c9f8a88ddd62ab4e06cbeb94d9 docs/models/period.md: id: bb84ae146fc6 last_write_checksum: sha1:6de192245b671270c388cf562a04d77403499aee pristine_git_object: 5963231569dd64071937ed9d426220b9946ffe94 docs/models/periods.md: id: 91cc3974a445 - last_write_checksum: sha1:460821440f9bd25c2ca2170277541a6516085858 - pristine_git_object: 82648906b2b749bec1290bcb1d09bbaab42d2d8b + last_write_checksum: sha1:126603ea997940a3502ddfbdc48de09c2c1fcab8 + pristine_git_object: 7cc727a69a2f0570b056cb133233e0879b34f433 docs/models/permissions.md: id: 9f5fb12f1ed7 - last_write_checksum: sha1:35cc85280f4d536b26ffbc2b7ab23ab5281880f0 - pristine_git_object: b20650c82eb712f496b4a6bdf12b4459ca0070e4 + last_write_checksum: sha1:87ae1c601d307eac2d1e613fd7afb41918c1ff88 + pristine_git_object: 990bacc92f3e799020d25b14286725b514b2e68b docs/models/php.md: id: e01dd48a8b07 last_write_checksum: sha1:df3a906daabc3ee5eee846461d431140f85b27d0 pristine_git_object: 500b3b2cfcf46eafcba5e5335515ebdf8098d5e1 docs/models/piiredaction.md: id: 3ca294cf926e - last_write_checksum: sha1:27877a82e29d55b26406089b659eaf291e27c7d9 - pristine_git_object: 1e3c676eb9352c8d3ca0e325000947cc94286b0c + last_write_checksum: sha1:7f1877bfaafd4e168fde698c0f7e18dff3673d6f + pristine_git_object: e6ebc3cb99002b9c4f77f822fdbe17662ffff505 docs/models/placement.md: id: bd7206b1fbfc last_write_checksum: sha1:d66aab12f113a72591a7782bf582964a381255ec @@ -33991,8 +34039,8 @@ trackedFiles: pristine_git_object: fa35486484a5c4d6fd85ec4fd2193ee70af64ca7 docs/models/planslug.md: id: da798ddab690 - last_write_checksum: sha1:962c26272f7533225bc234603f4f6ff375e3643b - pristine_git_object: 432ff0160780c08bc749becb855a4d63993aad55 + last_write_checksum: sha1:f18a1dde79a094d4c726b2df09c751dff09ac30b + pristine_git_object: fec83772994a9f65563a8d73f9d306444eb33026 docs/models/platform.md: id: a8d0f558209c last_write_checksum: sha1:630bc0c830ba29e1e93be7e15aacf69d607c3b56 @@ -34015,8 +34063,8 @@ trackedFiles: pristine_git_object: bb42cb525afc65dbb13a6d4422e22f13116565f4 docs/models/policy.md: id: c32c4f30cd71 - last_write_checksum: sha1:75702332b7691b5d7a0a944ea34f6d94858184a8 - pristine_git_object: 78bbf668f6f44a1c5dcd25b8a2c0f218a99c4454 + last_write_checksum: sha1:5cd90c701b51c61265d0e582b347355287d554b7 + pristine_git_object: de4a80acf57687d6145803d11ca2a4af3f14de65 docs/models/policy1.md: id: a3dad2b0edcb last_write_checksum: sha1:b3cfa0331c7eb9db391c188fff95a1f81f55e67f @@ -34071,96 +34119,96 @@ trackedFiles: pristine_git_object: d0cc7a80403da88ae45379401e348726959dffad docs/models/prev.md: id: 62f5f32379af - last_write_checksum: sha1:b1587974a4a552daac5fa3da7c226b9e80bb25cf - pristine_git_object: 3d5b7fd346b38611fe6182be4203bb3402964a42 + last_write_checksum: sha1:728a99adda42f5d4fd1981010c0b37b60625018a + pristine_git_object: da544218768352c57bb3e59437e2814e2bec578d docs/models/prevbudget.md: id: 876cb00cff60 - last_write_checksum: sha1:5f448aca91b184c9bff6722c39909e833140d1a6 - pristine_git_object: 12bd34aa2fc456e1e943ee731892e4162ef9ea59 + last_write_checksum: sha1:c29f72ca693eb3037deca8d26f9e0c6cb787b644 + pristine_git_object: 73d93f0a82558ae4bb4e58411898905c3b59402a docs/models/previous.md: id: 29ab0477927c last_write_checksum: sha1:ed9489d6a62efa9057db1c0233969c165dd37c29 pristine_git_object: 47b531f476970b1c901b4ad2a8b2092829f38bf0 docs/models/previous1.md: id: 278724bd2e88 - last_write_checksum: sha1:9e08f702cf33a5b520084bbd59e7d41f79fc9a5f - pristine_git_object: 6ea12f5f43334b362ba0f44356a880ed64a803a2 + last_write_checksum: sha1:08f0eae7471110522971dfb2f35661e64c7a74a8 + pristine_git_object: 0ba52cc8d8e7a8d6e2cc66c53d98110187da9742 docs/models/previous2.md: id: 11962ba66b1c - last_write_checksum: sha1:2b8bc2a10940a07041c66a45adcb9a394efc6f1b - pristine_git_object: bdf35e8e17154f621c40eb74400c050b7740c17d + last_write_checksum: sha1:e08777327f8565ce1635136f214e53dd0a79b857 + pristine_git_object: 59230fd197009275f5906c7681e4cfec86590199 docs/models/previous3.md: id: cf6d679a5e87 - last_write_checksum: sha1:2aa49aa29d2b1e97f87cf7c99ee8409a4a1fe946 - pristine_git_object: d9cececa1c8f130cad5437ee46a6b42be6438ce7 + last_write_checksum: sha1:d5842d4ff7c4c5297fefeaa4652811c2c0cb9d9e + pristine_git_object: 2569801cf513b2148f5decfb18ece3d28fae4101 docs/models/previousaccess.md: id: 97da6d335adf last_write_checksum: sha1:b1236665b59da78b38d88f54cdcb9aa0d4dd47cd pristine_git_object: af221fb4b5a9012fecfee1ca49c2a462c106b2cb docs/models/previousbudget.md: id: f49bde3b0a8b - last_write_checksum: sha1:855bdb9b33bb79287a87283e2d3b18defabed415 - pristine_git_object: f951bf557967ed8fa23821aaa1847ad95e556454 + last_write_checksum: sha1:2e913a3b4e5ed1bdf113c95dc7615e80874fdeea + pristine_git_object: 0a9323fcd71c01c7e28a3d9e084cde1589a9197c docs/models/previousechmode.md: id: 5610206d72bc - last_write_checksum: sha1:ba10b973c98d7ebc7244623e70cd346d5de47f6a - pristine_git_object: cf5b61dd0d9d282dd248c88acc0fa65e35587090 + last_write_checksum: sha1:79299a802b6e495934b9e06b3b9c3e22ab450aee + pristine_git_object: 13953d7ce1ad50eac38dd55d492a53ce51ca2958 docs/models/previousendpoint.md: id: 5b3570f0cad3 - last_write_checksum: sha1:dec057b09835c258c334c76fd3fd8c32a91c7964 - pristine_git_object: c6a84d970b581f03711132573779f370b0c5c84b + last_write_checksum: sha1:bea4d8230eeec185bf5be085cb763df7876bdc3d + pristine_git_object: 9cba5c7713497f5b38da286c4b8de792e08f1a7a docs/models/previousmode.md: id: d7f14d3b7e20 - last_write_checksum: sha1:bed86de753e8d36c03093af908fff6fd35b37e84 - pristine_git_object: 78072ec4e11ffd3f71c378340f2e3777fe30b0db + last_write_checksum: sha1:b6a39b25dba79e266b8570e347ca75e0882ac186 + pristine_git_object: e798dc215ac7bd62b661ba66fc6d60e22f7e7687 docs/models/previousplan.md: id: 7e2197ae84dc - last_write_checksum: sha1:a8fdbb25b37c8d3aef14c35c15f4d6b115dfbee6 - pristine_git_object: 31379f1d2e3aa1455f1c11d4aebb1136b17122b8 + last_write_checksum: sha1:5b906d49bd529675aea546c35a2e82c777382262 + pristine_git_object: ae51bdc664f6f69aa9a092cf4c32d059628f41fd docs/models/previousrole.md: id: 33253780f888 - last_write_checksum: sha1:6efa3294076882bbad976cd5d262381fe4c67cd7 - pristine_git_object: 75e6389a0c421ba60ddbc7ee1fc27de287149d47 + last_write_checksum: sha1:caa7190d5f8868bf2e8eab696eda16c62cdbd905 + pristine_git_object: 9f4490458587b812bb139692cdb2e2a7ff317cc7 docs/models/previousrule.md: id: 5f3ef8206b9a - last_write_checksum: sha1:1e037cf08c90c80c11d98f4a3cf55fe8aeafa7ef - pristine_git_object: 07a79c33822b6bef3bebc75c2257a2074c0b794c + last_write_checksum: sha1:53670df50ae1e1f4b88b5ea797a73e6977f1688a + pristine_git_object: d668a7cdcb1c68fd635dd854870c2a84106c325f docs/models/previousteampermissions.md: id: 04f2686ffef3 - last_write_checksum: sha1:d5ff42e41fdced87afb55ad51c5108d1f12e1c87 - pristine_git_object: 69cc1df157ca0dd30950b801eebebb02b91358d4 + last_write_checksum: sha1:1efa236cc010cf97fbe176abec9ab36f8a636e39 + pristine_git_object: 2ed83a05a16bdc49ad3544c0a404611dc2119ff1 docs/models/previousteamroles.md: id: 6c3eef7e73a9 - last_write_checksum: sha1:85c0fd00712f947887c3e6caae5611f3bf3e55da - pristine_git_object: f319c4560d42724d3ca1289ff9a08267a4b12f80 + last_write_checksum: sha1:d25afd59f0907da3f147d35cc17c2a67d4cbbd76 + pristine_git_object: d20b83b4f01112f34dc6afb5095f609ddb981156 docs/models/previousvalue.md: id: e5a61317809f last_write_checksum: sha1:172865fef78d1f04aae64848b7e02288075b636d pristine_git_object: f260d638ae874ce5358883496f6ffe3fbf7e4645 docs/models/prevprojectanalytics.md: id: fdf27d89ab2c - last_write_checksum: sha1:03f2f9dba1b53255fcbd4e0a97aa213b4124b73a - pristine_git_object: 21c8763564cb1472d6e266035bdb993da9f00ee6 + last_write_checksum: sha1:56b5b365856f73126e324d3d83af98d3bd774549 + pristine_git_object: e07eea448d2092ef1f0750f8469c673a82ecde7a docs/models/prevprojectwebanalytics.md: id: 57bf6ff09a97 - last_write_checksum: sha1:cc7787f162fff505b6b7ff2e1721f08dc60ffec2 - pristine_git_object: f94e0b7f017bbb0571033ceb90d17f78d3d2a84f + last_write_checksum: sha1:177cd235528751ee2f476edb40feeb6e9835c91b + pristine_git_object: 26fd50c038077c99b34f17b76a542b10514c7d6f docs/models/price.md: id: 8c2608dc8674 last_write_checksum: sha1:ab0f78cade8f71fb5986ab18ad7a6e2602ae1672 pristine_git_object: 9bdaa2576ddad0328064a1840bbc5e49ab710248 docs/models/pricingplan.md: id: add702e1ee39 - last_write_checksum: sha1:37a5984dedf90ef68787a979444e3b61fdf32ede - pristine_git_object: bb67a787d6a280e32d8e79b0510c39b441975219 + last_write_checksum: sha1:52d363e941bdedbf1f00bd939705e4c64db32a25 + pristine_git_object: d631c210b1aac118f53bd1867fa7c09c2c4449db docs/models/pricingsource.md: id: 284cc1b19139 last_write_checksum: sha1:151d476b9a94b48efc1cf02b9b0137094a89af12 pristine_git_object: 06685f0eb8011cc6e80450b9c0a98d4c56e22933 docs/models/primarykey.md: id: ce0b27c31bb0 - last_write_checksum: sha1:0e6871429d0b87a5559ccbee8a1e5aa0d65499d8 - pristine_git_object: c6035abfe0d6085232622ebef68cb27c227cb4a2 + last_write_checksum: sha1:eb29f1a9c4843582f4663ab53c9549488e8ea276 + pristine_git_object: effc734b59316fc10037179c980a1db5c8e5abf5 docs/models/primaryprotocol.md: id: 6143f50fc758 last_write_checksum: sha1:8ef826d3d75d2d92351fda7472f2a12fe559ff02 @@ -34191,24 +34239,24 @@ trackedFiles: pristine_git_object: 5c2f1a6c4b93fafc4d9d677edb91da2e80652bcf docs/models/principalapp.md: id: 1b8f637910b3 - last_write_checksum: sha1:f54b3872e2f92f78139670a1f0da392c6faf62f0 - pristine_git_object: 64ba097c2da306e64d83109482f898033e817d03 + last_write_checksum: sha1:5baf29af90a9a5ee3323086c8d85544c4f6ef75d + pristine_git_object: 88cdb98fd87ff6dce559a0f7d0734ec9a84be335 docs/models/principalintegration.md: id: 18b8eebc6df4 - last_write_checksum: sha1:9d1f1bca98b7878683cdcf8f9e3a10d7882ed127 - pristine_git_object: 91bac200ae58e90f01616540368668074ab34d25 + last_write_checksum: sha1:41c6b893b454367670d0f3ebe23e6e43f109019c + pristine_git_object: 90438f1f714a63a5f617645711e583af09959cc2 docs/models/principalproject.md: id: e88478abcbbf - last_write_checksum: sha1:a333858a2f7d9cca268c52b04791d4cf733ad57a - pristine_git_object: 90ca2ad9c500d82e3ab5b2ccd4e09096de813a9a + last_write_checksum: sha1:ff5f01f3e4fb0ec8ca986156ada9b4d8a3eb37ad + pristine_git_object: f1087691c77867a02a1de1572d2009487b1f83a2 docs/models/principaltype.md: id: 0e53e3fb2207 last_write_checksum: sha1:b4af3433f0a0105e4d2bd6ef3978d6b0a346633e pristine_git_object: 110582cffcfdfeeddc7a56b11bf8627ed8c5d75a docs/models/principaluser.md: id: 4dab1cba7ba8 - last_write_checksum: sha1:8e3be2a6a1afd8a9e84ee5f4d3a77f2dfca92c46 - pristine_git_object: 7855da101c369cc4df86b7bc2a596fbf7958a0b7 + last_write_checksum: sha1:e8bcbc9117dc4c61f4f83178afcd555513e18163 + pristine_git_object: 7f9590ce4c107c30ed035b76647f175410bf751e docs/models/principalvia.md: id: 6a7b18e835dd last_write_checksum: sha1:c7c4b01504d5776fcf6402b0fc5459ea388c3227 @@ -34227,12 +34275,12 @@ trackedFiles: pristine_git_object: d2ec7387e7352861297bfd9d7ddae2fdc5816728 docs/models/privatemodel.md: id: 12de7e0b99fe - last_write_checksum: sha1:2f62581311a54661b960a9c562ce8e5c8e0e9497 - pristine_git_object: 999206d61372bfaa6637759afbf9bbbf3b8887d2 + last_write_checksum: sha1:3eb2aed27b1029c0bc43bd42e0b79e3ce638edcc + pristine_git_object: 5c5fd693b8a2f2d1e63804294d5a4c9eff826fc3 docs/models/privateprovider.md: id: 266e722927a1 - last_write_checksum: sha1:6fbc7dd9493d02e9f5f460d3fb56bb0290f36cf8 - pristine_git_object: bb427ae93d465e6dfd5ace2e8b58e501e499dd04 + last_write_checksum: sha1:7416e766a7296d0fd88a6a016737b4f2d8e79390 + pristine_git_object: 9cc2f614118ae8983850e8edb2f33b3d78176557 docs/models/process.md: id: 31fe69460d73 last_write_checksum: sha1:e648681e66d8da7930a2f0fddfc7e8929633b897 @@ -34271,8 +34319,8 @@ trackedFiles: pristine_git_object: 5e0f24daca034fd69661513d2c9bd5e01f05d802 docs/models/projectanalytics.md: id: 16eb352c5809 - last_write_checksum: sha1:f5bccb2aeaa8ae1ebfe659872460e5ee45eaab53 - pristine_git_object: 9ea39fbe18a954208a747ab2aca7c4f4b243439e + last_write_checksum: sha1:ab544c2c38fc576e663f13ad4d46af15ef7da445 + pristine_git_object: a76f8900cd4767b9898260a6dd5380817dab4430 docs/models/projectconnectionscopes.md: id: bb602a8bae99 last_write_checksum: sha1:383cff93a31b08489a05afe3a12fbd3ccf23bb31 @@ -34295,16 +34343,16 @@ trackedFiles: pristine_git_object: 7bacb701230f33d068be5288468c499280d26b33 docs/models/projectids2.md: id: f48204e6c10c - last_write_checksum: sha1:56079308e24827f8ff3b20f24ee39575bc26f75e - pristine_git_object: 7f62e56925ecaa4202e1aea86b8aacbe630d7ed9 + last_write_checksum: sha1:713d3d543c492df32d55a2fbc2af1776838cb55b + pristine_git_object: 746df0d2e276483da8ca6d0e7665f0c45bf5e415 docs/models/projectidupdates.md: id: 2d6bb0b4b17b last_write_checksum: sha1:a0692ed7db7b8db6b61bc6011026a23f33c67673 pristine_git_object: 32428bd677ad22a7ab40bd1e1974838735eda452 docs/models/projectmembership.md: id: 57701030bd17 - last_write_checksum: sha1:ff6b41f26e23efb51d2ddd5cd01a44296c161408 - pristine_git_object: 8348b771e632ee99160d610755149e84995404bf + last_write_checksum: sha1:f6edc11d904a47ec10a4e1e6b6c35cd6d732e45b + pristine_git_object: f06c760921fdf47e3cc2e6f9de92f0f4391cfd4b docs/models/projects.md: id: 9d0e1cde864d last_write_checksum: sha1:dc14a356cbcc657b542556fde5015c2726c55314 @@ -34327,8 +34375,8 @@ trackedFiles: pristine_git_object: 0dc4f93624a7d434d75ccaed74ef8042199c3086 docs/models/projectwebanalytics.md: id: 887c4f7bb34a - last_write_checksum: sha1:995cc261829e72a0f6b444fb8fbabab44fc27cb4 - pristine_git_object: b33e0a9d99682f390b678ce9665ab08eaea75e95 + last_write_checksum: sha1:8e266f6a112eddbce98de61e994c421e13a0e7c2 + pristine_git_object: db05960450fb53f3e6a6788a67b4b57efcf76a15 docs/models/properties.md: id: 78b1b1d1b631 last_write_checksum: sha1:39b73507929043f96743b099588a5c56819ad01d @@ -34483,8 +34531,8 @@ trackedFiles: pristine_git_object: c2c25449c9ea22632b3dba4cc03273300fdd729b docs/models/provider.md: id: cedb2a98f8e3 - last_write_checksum: sha1:6b29adc7ec41ba371457d6fbb97cf27392fe2825 - pristine_git_object: 1583ff4edf8aba8d61e51665824c2effed991421 + last_write_checksum: sha1:e3576c00b6774992b6e3b178fb37910a4a59db32 + pristine_git_object: 6594c576ca242d1fcdb7bf4f339da0f585d9e026 docs/models/providers.md: id: 627bf7105428 last_write_checksum: sha1:7b7884f5bddcf7e7b520e4a5b6540349bebc2fba @@ -35087,16 +35135,16 @@ trackedFiles: pristine_git_object: 9edd0684658c584ac3a96d415f18f8e85b9f596e docs/models/putprojectdaemoninstancesrequest.md: id: 3233d3f86c2b - last_write_checksum: sha1:800ed07e894315948b895459d0c5638d5d8d5cb1 - pristine_git_object: 926cfe846d69f386dcf29837d614db73f8ae1194 + last_write_checksum: sha1:c014f755c8798a5ecb75b58a00f7542b1e30b50f + pristine_git_object: 03b8fb41a3e17de8b5e2bc84a0fb094add480286 docs/models/putprojectdaemoninstancesresponsebody.md: id: c51f80afff9e last_write_checksum: sha1:8473ed51678bb06795a15784a76a19219cd38079 pristine_git_object: 77f677700c1f07930f7f0a7023ed598f74321043 docs/models/queries.md: id: 56ecc2bfe88f - last_write_checksum: sha1:c25f31c6697d1dbafbce2c7f410a21c35c9b6670 - pristine_git_object: d63f615d9024a1bed9ef438cd773f4c2d331efd6 + last_write_checksum: sha1:593ee06917260d3e80eac6175ef74d8a24d24af4 + pristine_git_object: 1115082c75d0e5085adb95fe44019a2791061241 docs/models/query.md: id: 2c76cf13067e last_write_checksum: sha1:e1498660d66eb6ae59603939ad6435c2e5820706 @@ -35183,8 +35231,8 @@ trackedFiles: pristine_git_object: 1c528e18eec70a7dabeae386d0eb731303db4878 docs/models/queryparamscopetype.md: id: 959baad8902b - last_write_checksum: sha1:83b75f946bf33de24e1eadd1c038333b076fdf91 - pristine_git_object: bb8d65314d1b93063059222cc724ac6e51d574f3 + last_write_checksum: sha1:e5fdc577d0552d78820be80ba0ed19a9d1540987 + pristine_git_object: bf879005898430514bbe4a52dcdb52edc5cbfb41 docs/models/queryparamsince.md: id: 70cfe967f0d3 last_write_checksum: sha1:1ad64161386970a0178b974974cb29d1a105d49b @@ -35231,8 +35279,8 @@ trackedFiles: pristine_git_object: 587dd4fa24193fb945df5a24842a287b71199edd docs/models/querytype.md: id: 6d61bfb804eb - last_write_checksum: sha1:c8a20e8930cc926f2e9bf740fb8fb1007812c7ec - pristine_git_object: f81226a0627fd318b81db4c25831688688ce5b9f + last_write_checksum: sha1:ab4cc4b649b4cf71e2b96add40e86d9b87d4eca6 + pristine_git_object: aed0fc1271ca607a1fc8b4bada32ea1216558cd4 docs/models/quote.md: id: 57a3b9799d70 last_write_checksum: sha1:8287ad1ab0d5fcfe7b6036619e7aa4e011966188 @@ -35315,12 +35363,12 @@ trackedFiles: pristine_git_object: c28401c4757ad525fd804fbfa0868e18099e59a1 docs/models/reasoncode.md: id: 3d41bce7a6bf - last_write_checksum: sha1:6251300374823314606a834866470dc5fd39c996 - pristine_git_object: d24c1c26d9d727fcacc4c70ed76dc55f0e275d1e + last_write_checksum: sha1:658e3531dd53146562d93dc91e710beaeecc1a48 + pristine_git_object: a7a8fdb715f0820233ccaa85f1bca14311460967 docs/models/reasons.md: id: 4d4b17ae65fd - last_write_checksum: sha1:c14e30a11367e026433de13946c28518cd60273e - pristine_git_object: 94fcf7186056543945276b8cc06e76c5adce8d9e + last_write_checksum: sha1:78b648e45adfc097c58542846f8f29887e6beb74 + pristine_git_object: 6cb1ef359d34331b717aa10c89c56be94bae41c5 docs/models/recentsviewpreference.md: id: 93cded811a1b last_write_checksum: sha1:69303ae508f4828237034c402f3cc4793b40bfd2 @@ -35455,16 +35503,16 @@ trackedFiles: pristine_git_object: 19d60998dec03491b4492dc5662f79983c2fcc47 docs/models/removedmembership.md: id: 810b1e892905 - last_write_checksum: sha1:b1c851141c72812dbb56e49ffcdbcd7f92b312b1 - pristine_git_object: bf0e62bb6f80fa4ef5df962dc5dc67bd0c88ea08 + last_write_checksum: sha1:45a358e7ccf0bb91c4c870d46873c1e6a41de771 + pristine_git_object: 1f335e4e21174891033bf5653b90679019e12008 docs/models/removedprojects.md: id: 823a561f06ec - last_write_checksum: sha1:1423f771385e2fcac433024e76eada721bb10ce9 - pristine_git_object: aa2a0a36f525177c68c48435b99237b506c344b4 + last_write_checksum: sha1:2060e00b1453ac437cb0bc6b67a2f15fc8746f72 + pristine_git_object: db20ad51251c6b61d8b6ce4faea6cfbf0f3ee6be docs/models/removedusers.md: id: ee1de63d2c61 - last_write_checksum: sha1:def67bf8f98f59c46eb81d99f175a924ffa6ad0f - pristine_git_object: 8fd4ffd866c9730842da7d6376190845668cdae4 + last_write_checksum: sha1:74a3e3042a92f8f6b9487b6df60a8c33f2136f72 + pristine_git_object: 5e546f5e8f30c1423d2b2a24bb67c73059a6e23d docs/models/removeorganizationteamrequest.md: id: f3b738b1382e last_write_checksum: sha1:2cfca27fa3128353e22a6af9e93ed496aff62761 @@ -35895,8 +35943,8 @@ trackedFiles: pristine_git_object: 9a3c9111f1c3deadd7eb724b8693e7af1401a157 docs/models/replacedby.md: id: bb5f71b2b7ba - last_write_checksum: sha1:f54b2472a765e8cd7ccb7a1467ddb1b59ebf51bf - pristine_git_object: 1c745412c2c718db4d93aefae2c9fd46976185db + last_write_checksum: sha1:d9d8815d222dc1014ea87a0d9bf36a1f27e88ddb + pristine_git_object: 7ff3fd5d884b4a3845b52fdeb5332b106c15bb3b docs/models/replacedomainsbydomainrecordsrequest.md: id: 2e0d293b7525 last_write_checksum: sha1:d64b739ab8e729445bb681f84704ac9b5864737d @@ -35939,8 +35987,8 @@ trackedFiles: pristine_git_object: 5c1fe07832d407c6197da56ce668afd40c0dbb6c docs/models/repositoryscope.md: id: b55a9a008e5e - last_write_checksum: sha1:59ae774db7da471c0d32984de33623cdaf3c1559 - pristine_git_object: 2d54a193c9a4253a81f2af1539ebac713a7c075c + last_write_checksum: sha1:be6abf2ac8130f3e6da0a386e86e6f07e26d3851 + pristine_git_object: 3a41b43a7b6a4e80bf1d7b8cb52ed3625695e28a docs/models/requestaccesstoteamgituserid.md: id: cd93ae598a89 last_write_checksum: sha1:031d9f23a16246a9e86c17e1d1125c96ce40e552 @@ -35971,8 +36019,8 @@ trackedFiles: pristine_git_object: 83c860f5565e1fbfb989a3bfd4153a86478a58bb docs/models/requestaccesstoteamteamsjoinedfrom.md: id: 33dddb16e898 - last_write_checksum: sha1:05029acaeea88e571c8f786ffd87ce89f0ec0b24 - pristine_git_object: 27815358f4c43d00149ea805184aaa2c0224fbc5 + last_write_checksum: sha1:003ee87e45ddad507ed1701a8959058e74a6641d + pristine_git_object: db9c8ca9078c9f2d432b20bf4dd4a8b4b53378a5 docs/models/requestaccesstoteamteamsorigin.md: id: 6a5ddccbc693 last_write_checksum: sha1:1b717e8c97ccf9a5697bdb3d071aed10d8a1087d @@ -36199,8 +36247,8 @@ trackedFiles: pristine_git_object: dd0dfc6b000a4ed38d082a5ee527d5ba69037594 docs/models/requestkind.md: id: 4890935e346f - last_write_checksum: sha1:325366d78a7010f72bb11efc0d28a468c3048367 - pristine_git_object: 668b635e8c004328dcc98a1062fd8ec18f612675 + last_write_checksum: sha1:7621d2b2f28db8840450b7fa9f3294e7ea397f5e + pristine_git_object: 4580ac713484cd43dd26f5e775fdd4ca8b793b44 docs/models/requestpromoterequest.md: id: 9ff3eddd0815 last_write_checksum: sha1:07d9b86f80f7bae4689c3e8b7e75f1b2c33191b3 @@ -36235,8 +36283,8 @@ trackedFiles: pristine_git_object: 3ea1a349d93aa915f197b458ed5cb4a98fa521f1 docs/models/resources.md: id: 322aa690f06f - last_write_checksum: sha1:f3e383937045315b84754fac7a334c66f4021c9c - pristine_git_object: 3eea621c0b1416425346417a150f6faae6dcd224 + last_write_checksum: sha1:13916d98eded1a0292d9afb4eb2f4ca555d0f492 + pristine_git_object: 8ece6fab5d9a42814ca8ebfbd16bee9afdd83423 docs/models/resourcetransfererrors.md: id: 338d27e8772b last_write_checksum: sha1:9c9cd71cbdbb4ba6d5512e87b5825040321a29a8 @@ -36607,8 +36655,8 @@ trackedFiles: pristine_git_object: 1b44b903c49986179b795a634b09138bc643b1ae docs/models/responsebodyevents.md: id: 1349cd1ec818 - last_write_checksum: sha1:c7fbf39d73c16a4cc8fdbf651fe8d4ddd361f35f - pristine_git_object: 5810d9dbe4b24ba6372c732abd38ba97b2b4615c + last_write_checksum: sha1:5f3c1368b6464af67846ba74fd9cb4990ec45090 + pristine_git_object: f997d0b08a03b54f7ddad001ff7f301689a7172c docs/models/responsebodyexpectationref.md: id: 76d580e4b086 last_write_checksum: sha1:847244608e19a4c3dca6c1cae0165726b19f71ac @@ -37303,16 +37351,16 @@ trackedFiles: pristine_git_object: 16fca29976f3773e2d6ce45d05fdaf817f308d15 docs/models/restartprojectdaemoninstancerequest.md: id: c26fddf11f09 - last_write_checksum: sha1:5f628de64684e9f5faedcfff9b28f23c161abd86 - pristine_git_object: b9f9815cb5989cb223e8b3a7a85b26b1cf7bc8e8 + last_write_checksum: sha1:7c51920fd2ebe638ad0af4fed83df603146ad137 + pristine_git_object: 66fc998229c535c63fa5a707f1fa553a241b7769 docs/models/restartprojectdaemoninstanceresponsebody.md: id: 237cbdd55a39 last_write_checksum: sha1:f2c52c5ac48755850b95d7a4a5869b67bb20b18f pristine_git_object: 7ffb6af193bd63e4a4de1d4b98959e157b64318f docs/models/restoreedgeconfigbackuprequest.md: id: 10e63fc6974d - last_write_checksum: sha1:2810aefe133d4b0a866cca06430019f7f9040665 - pristine_git_object: 1d88e5ed0800bf50bcc4489a37848edb56b0f34f + last_write_checksum: sha1:77e81f6e425910e692a0d9556c2ea14611e8dcd3 + pristine_git_object: 17656cfcea99cf18d3e5197991c903b434d6872d docs/models/restoreedgeconfigbackupresponsebody.md: id: 0fbc9e16cbc4 last_write_checksum: sha1:298d87f9ff15b39e096dee8280c911efb744be38 @@ -37355,8 +37403,8 @@ trackedFiles: pristine_git_object: 0ed257fa2523173be54afc8102c497758b7c6965 docs/models/retention.md: id: ef6b6102f4f1 - last_write_checksum: sha1:c23c3f1f4c44774dba9367575dadabe98e85c94d - pristine_git_object: 09813adbfe72223f29a23b7968fc148bff9bcffb + last_write_checksum: sha1:1eb8b16df8c14cf46368a9534ac5382451b2acca + pristine_git_object: f9b0630c6177a09ee47fd32474ff9bab2a18c47b docs/models/retryafter.md: id: 3e5fd604ecfa last_write_checksum: sha1:3d8bb053b9d965957fd7fb2ebef35f6209d44ae0 @@ -37543,8 +37591,8 @@ trackedFiles: pristine_git_object: 0ec40e6d65706335fd42b3b0829933875a9fc262 docs/models/rollbackdescription.md: id: 1a42fa00ae0f - last_write_checksum: sha1:0f21bf75dbfadce6036ce8cb0ada61ad2009566e - pristine_git_object: bbdbee8414cc749e60224bf4eb19f5f1d47e2983 + last_write_checksum: sha1:e83a9a7759f67c52be4c42b000e048c30eda5963 + pristine_git_object: b2bd92b27e71e6286886bcd8709e9e54e07f3b53 docs/models/rollingrelease.md: id: dd739f1cc1fc last_write_checksum: sha1:7db0e8a687a67da22bb7f06e74936a169106229e @@ -37627,24 +37675,24 @@ trackedFiles: pristine_git_object: 36761bce80b8106357cbec5164a04315155d9669 docs/models/rule.md: id: be98fe6aadca - last_write_checksum: sha1:0fa7bf6a2037a3d88e7445c3c79b7366919ca810 - pristine_git_object: 8e05ebaafe6d0f1f4101e2dcb76655cab4a346d0 + last_write_checksum: sha1:83b360444243bd363b69cd6fe9b41a8ca6ec4005 + pristine_git_object: 052b79469b5a47fec67f221d32cc2c304ebb52d8 docs/models/rulegroups.md: id: 0304982177fd - last_write_checksum: sha1:ab861160d863c95a6f7ebf25bb47d4fe75403173 - pristine_git_object: fba9d0800ecea8c83b71788b61b0d0c9943eb77d + last_write_checksum: sha1:9908a123fb3af844d773e9783546b10601926f71 + pristine_git_object: 42d2f20f44cb82e28b80e74f9d101398235a12ac docs/models/rulekind.md: id: 971dcfdf299e last_write_checksum: sha1:f1c4facd0247b97706b9152cfde9528a2ed69d72 pristine_git_object: 1d0df20b8be20e8f53c8697365c59024502fa1f3 docs/models/rulename.md: id: 758bc5bec745 - last_write_checksum: sha1:9e36199b15af1634221ace918580744cc9903f31 - pristine_git_object: 75320e25cdfb6366e52110b30aca796fde662b7d + last_write_checksum: sha1:ba87e734a2a4cff05a2063c427af0302d7c24798 + pristine_git_object: ac9f068e3b77daaca9c0845cd1f8807534c2da4e docs/models/ruleprovenance.md: id: a1b884ca9e49 - last_write_checksum: sha1:3df9b6367563d19573a32f2ab6f926d654192e8c - pristine_git_object: 7c48c8d33cb8bdfc25aa45359b5ef89a4b13e7b1 + last_write_checksum: sha1:484b17435010f3fbacab5b84266e38782fa2adcd + pristine_git_object: addba485dabcb018e9438711c677408b67fce53c docs/models/rules.md: id: c67393b25a92 last_write_checksum: sha1:92c4be41b3f31bb2afa81feefc27c3284be1c9d4 @@ -37815,8 +37863,8 @@ trackedFiles: pristine_git_object: 69dfc81da313bf21704dd06ee81e9156eee99c03 docs/models/sampling.md: id: "2099510285e8" - last_write_checksum: sha1:1424e3298189bd270d54e100a6c06cf4d14774e0 - pristine_git_object: d44eab8ab103a0719b0bea6d536f95a2235679a9 + last_write_checksum: sha1:e4af59c3988ef6b1aacc82d21385825141666f7f + pristine_git_object: b1b165bf07c0762e079a80a1e38f3b53f5f4416b docs/models/samplingrules.md: id: ff197dec67f4 last_write_checksum: sha1:46ca1a08210d6f400708611624f116ca1240eda7 @@ -37859,8 +37907,8 @@ trackedFiles: pristine_git_object: 1c0ba3fa4230c2e8184771cadeba08c669c7cb97 docs/models/scalingrules.md: id: cbe80a5c8e02 - last_write_checksum: sha1:91419674850afdce78a99faf7ffacd71fcac0d8e - pristine_git_object: cf41cc3a3f2c33c0b098ee1cf54cf3c6573c04d4 + last_write_checksum: sha1:eb3d23bf7e77c70abb236161052ac163157914c4 + pristine_git_object: 696ee95b03653ba92a02b99ac2a437176ac59050 docs/models/schedule.md: id: a081eb375d4e last_write_checksum: sha1:5081553259bcabbf316e7dc500d7db7f8cecfff3 @@ -37915,8 +37963,8 @@ trackedFiles: pristine_git_object: 57c792b393e021be86bdf1ed13e307a19079e054 docs/models/scopetype.md: id: bbf7df39278c - last_write_checksum: sha1:a187ce089cdb17c21cf52189515d41bc3ad413b3 - pristine_git_object: 251406ff800426fc1dea7140c0f95c6d31dd4725 + last_write_checksum: sha1:3c74182a54a23d40e3bf986d6b863fc13d2c1ab0 + pristine_git_object: 7d28ae5239098317eb6aa82fe62b754f627d412f docs/models/scopevalue.md: id: 99acde9976ba last_write_checksum: sha1:9c05811ea1ddd930944c4f70bff5c36da10be6c8 @@ -38447,8 +38495,8 @@ trackedFiles: pristine_git_object: 8f7c4daaf25d275cc3a71c4183e5c792ad59459c docs/models/session.md: id: c7fb8cd2ec64 - last_write_checksum: sha1:f5a40b4a69a2e8520c6944da3d94e6a9d16d7620 - pristine_git_object: ad131a740a4f7722ae9bd2c27a37727da84ed33e + last_write_checksum: sha1:37b459d3748cc8dc17cf91e52f9856d131065ab0 + pristine_git_object: 784731948af7959d050af4d2647b8b198bc688b3 docs/models/sessionarchitecture.md: id: 55fbcac51f67 last_write_checksum: sha1:505c718ccf78c7ef23addfb7e2ea8de7615bf409 @@ -38467,12 +38515,12 @@ trackedFiles: pristine_git_object: 4f4813dc9601e3e628a76e4365addf1913ee0235 docs/models/settings.md: id: 0325dcf95316 - last_write_checksum: sha1:d57c434644c469920c2372d5cd9f9106c3f7309b - pristine_git_object: e8582e9835640823ba08db7a02dc5082b8aab742 + last_write_checksum: sha1:3d443cdafd54cd0bdd1d25babf35be2253e9df06 + pristine_git_object: 7f0877558daaa753da279d1adde907dd4f8b32d0 docs/models/settlementmethod.md: id: 343546b59788 - last_write_checksum: sha1:23aa5b136710a9608ede2a01f084510fbe3f9a30 - pristine_git_object: c7f3299b0468e72261592977c71fe402792e1dd7 + last_write_checksum: sha1:aa84f08faa794b76336545b0147611ad0c31c128 + pristine_git_object: 390ea3d3ddf84b774ff04af0df8841a3cd548b2d docs/models/setup.md: id: 43b354a7111e last_write_checksum: sha1:12515bf94998840be1c714ab8c1ebfe1817b947d @@ -38491,44 +38539,44 @@ trackedFiles: pristine_git_object: 58be2dd612a75e2b39c67fa24a549d0554dabcd6 docs/models/seventy.md: id: 70abb28eb94d - last_write_checksum: sha1:94dd2c9b207254ace55b7a94b774accfed21a826 - pristine_git_object: 14dce6d39e2eb7ab97e4684ab24def94f2038c84 + last_write_checksum: sha1:59bfd5dafb610498cf4bf9301f3824760c427059 + pristine_git_object: 738bfdd6f54e60676bc391bdbb556048ef8b07ee docs/models/seventyeight.md: id: 202b436086b0 - last_write_checksum: sha1:3053969b14bf057f89b78356446fc903dd6fa6e7 - pristine_git_object: 0e25eeef9db583a48f8f02ea4c867ded6f68c77a + last_write_checksum: sha1:e787a4c335f9e274cbfd2908c1436a015f856667 + pristine_git_object: 27e21463b2b29494deb98d688e528348c1931140 docs/models/seventyfive.md: id: 00a47bdd4833 - last_write_checksum: sha1:7b73bb83088cfc800ec5742ea350d624fc62c774 - pristine_git_object: b55caac5af7a4f5a1e885867d66abf26866fe8bf + last_write_checksum: sha1:183fdb4fb4bd3ef9a1902746a3cd022e8bda5086 + pristine_git_object: 8b9d95bcdc966be79219eb20c19e7cdce813d9fa docs/models/seventyfour.md: id: dbacefb8942f - last_write_checksum: sha1:58f29f6dfc88813fe8fc06b5d008662944c809a4 - pristine_git_object: ebe0243d7923a995444b2b844dcf48c8da9c53f6 + last_write_checksum: sha1:500d963ff187028c23235e213f3d56bb2575e4d0 + pristine_git_object: 9830246f8fc9dbfdef6b0d4023ce268a7c1549f6 docs/models/seventynine.md: id: 4551e69999bf - last_write_checksum: sha1:7777936e638a6d41ae249759a7e041cbccef8310 - pristine_git_object: e317eb81cfffa7f3d0c6414a8e8427c00101e6cc + last_write_checksum: sha1:28379766db3f0cf44f80d3034f72f95b29884037 + pristine_git_object: dc0402b20983d965ae7004444f9896c5c264bc7b docs/models/seventyone.md: id: 8202022b6b09 - last_write_checksum: sha1:638ac5fe92a8e57e34b4f6b8366cb010d59e09e0 - pristine_git_object: 3280a2445b38262b6b6982eb4963f27e60878a58 + last_write_checksum: sha1:4349d648187e3c440b4bec49e2962e763bdb4827 + pristine_git_object: 4527a616dcf8b71b8b38569f432aa72f3bb553e5 docs/models/seventyseven.md: id: 3694c54d4dab - last_write_checksum: sha1:d6bc621b1b8a1ad00631bed1323dc7c1f0575a03 - pristine_git_object: 7fdb572d85303f624da46201de7c91857d4e33b4 + last_write_checksum: sha1:9c7efdcc4b1ea0da7ae4a38dd0d8f1d9d916eb88 + pristine_git_object: 51387fd8690c0204fc00e0d5373e2d28268aa6e8 docs/models/seventysix.md: id: 3f88bbaebafc - last_write_checksum: sha1:6d22e3a539f71ca9938e4a1967f1e4885db8ff17 - pristine_git_object: 7e64e3e6285af447a259746ea35c590a8ec520c8 + last_write_checksum: sha1:66b50d17632a11ecc36bcf492267d6ddd3ddf6f9 + pristine_git_object: 52dec1a7445c027b06acd702c4a2a59244322582 docs/models/seventythree.md: id: 90ae3663dafd - last_write_checksum: sha1:3a72e4dbb4780bba04438c0bcaa3b90e613d8ed9 - pristine_git_object: a6eeb3f1a202092fa9d1103b8fa528dbc34f69b0 + last_write_checksum: sha1:16939513319eb7266451ab7fa6082265e9fedcf4 + pristine_git_object: 4f346dc7652c3cc11e2096b90258a51b19fb8404 docs/models/seventytwo.md: id: d07e1559c5ed - last_write_checksum: sha1:0bb259f39881ab927252c8014be82e1212f2caa3 - pristine_git_object: c76b187abf2981c18f07cef818b406398571f4ce + last_write_checksum: sha1:1b3321889d7ac3a2262dbd44e1f3ee1c93f09815 + pristine_git_object: 73d174e441ee979b5f7c87cd9e7c7360a089f68b docs/models/sf.md: id: 3d42a20e4dd9 last_write_checksum: sha1:361bf9e348b373affebafe9f72e31b9062255c45 @@ -38539,8 +38587,20 @@ trackedFiles: pristine_git_object: 32833408f98077604ec653c5bf542e4975cb01ea docs/models/siftroute.md: id: 6f8a26502c03 - last_write_checksum: sha1:a0e26d333b66f6bbfbe1bba42b0eb328c7f1577b - pristine_git_object: 96e8096aa2b733e07ffe2b4151523b7910da0aed + last_write_checksum: sha1:ec9bfa6cb7b7aa398782e866b78ad58f85f1c778 + pristine_git_object: 133eb8530a8f41ba7256af78d2257add6a4eb8fb + docs/models/signflagoverridesrequest.md: + id: 87243d625fc8 + last_write_checksum: sha1:4d59a296ce711a63fbfa988bea10a82380d1eea7 + pristine_git_object: d3a9f791340517931423b026dd752179930696c4 + docs/models/signflagoverridesrequestbody.md: + id: 02e259505a61 + last_write_checksum: sha1:d208dc87665dbe367ac9f1c9896776427a52a591 + pristine_git_object: 14eccb1a16ef639598f39682fccb31c9464f3f9f + docs/models/signflagoverridesresponsebody.md: + id: f3e47a69e14a + last_write_checksum: sha1:b34568b0fb6bc3182328b4c304dbe3f0e04e2968 + pristine_git_object: 2a2219d4a83bcd567b64a671c9aafa68d3a71a4b docs/models/signingkeys.md: id: 182ed9ec8a05 last_write_checksum: sha1:31da3022db70c5abb997c8fec40a4594b9981a2a @@ -38587,44 +38647,44 @@ trackedFiles: pristine_git_object: 31409a5a4d5fe47c20e2cb91e8dceccee2fba013 docs/models/sixty.md: id: 9251891b8c46 - last_write_checksum: sha1:85825565e25853859ad94af7d322a8592fc356b7 - pristine_git_object: 88ffcd1b1ad37e01b04955cda047c242326273ee + last_write_checksum: sha1:fb194208666971b3ee566592f4b37cdc2bce76eb + pristine_git_object: 55c8edc5629e052bc2e944e9182dd63b883d7050 docs/models/sixtyeight.md: id: 6fba2bfff7cb - last_write_checksum: sha1:ee2e0a6bd8ae1b95aa10727cc961349299c09d7c - pristine_git_object: 0131e99d71268d57100c69500d6d58e0cfb37590 + last_write_checksum: sha1:172084d0bbc494d8f62bde446291d4216bcd6136 + pristine_git_object: 79a57a85c5f7dfda5e484886df8b7409a142f15e docs/models/sixtyfive.md: id: b95a180ff3a2 - last_write_checksum: sha1:24a606636245c7c289e72ef2fda66d6689681bfc - pristine_git_object: 77beb2b85f8b7e8952307ef20276a2114c3a3000 + last_write_checksum: sha1:b276496fd38c9460977fbb7ca5d2a20b1851f2a5 + pristine_git_object: dd3ceab4e5d1126fb206e0c6763ff2499c83bbcb docs/models/sixtyfour.md: id: 8e9f5fc9f14c - last_write_checksum: sha1:508f271ca4eda4104621014878aa3e625267c3c8 - pristine_git_object: c032e24038d267d3d95874d93dc97b166f41248c + last_write_checksum: sha1:89fa5bec2920ac8d93ef07cbe2aa807697c4ad31 + pristine_git_object: b809ea604840275f7368290776fb4211afcd3d6b docs/models/sixtynine.md: id: ab6d33d37958 - last_write_checksum: sha1:be4e073ed878139ba8faa6683dd8993f7a1290cc - pristine_git_object: 0d226486ac100963e892093451b8402217533ca2 + last_write_checksum: sha1:9106564be60243dcc981266ca39e06c15e30e9a4 + pristine_git_object: 55c9288cc868b8aed244c6a9b94e8f32ba7a0362 docs/models/sixtyone.md: id: 50a819577460 - last_write_checksum: sha1:55d206fa48089ebcfba8975d5d4a1939330cc902 - pristine_git_object: 61cfb7d26c1f433983e8e5b3cf6e64fcc0390c52 + last_write_checksum: sha1:110756fe0b86c7814bc51b654f0c79d6b26b939b + pristine_git_object: 749021882dd249a4eeb44e628b2ded354a903a01 docs/models/sixtyseven.md: id: 1882b6bd180d - last_write_checksum: sha1:5e73b25d39d0ca70e370ff2137dd264760bbd9ac - pristine_git_object: ef12d6a65e5e9a15dfd2f2c283505b22de55a2fd + last_write_checksum: sha1:c2ea9e2f1fb82e8dbc59eeb1fd98d8523a9b467c + pristine_git_object: 74cf5e96bf8436b55e9cad4ef26066a53d908615 docs/models/sixtysix.md: id: 162feb1214af - last_write_checksum: sha1:b9b40704e154a2e05adfe666849355d5015dd9d7 - pristine_git_object: ab680b05c198fc1db809fbede763384c04f71055 + last_write_checksum: sha1:90cfc023550d37290c525a3acd5e70d5bee11b70 + pristine_git_object: 20e0bf296314ca6ec81427a834d4227ed965541d docs/models/sixtythree.md: id: 628f2416cb21 - last_write_checksum: sha1:7f40f92cbbcefbba9dd99f1cbf948717b9e5c341 - pristine_git_object: e18584a34daa4440f15195744dfacfe2ee64383b + last_write_checksum: sha1:78de08d7a7fe0844e0e4d27db2e63a4ef8c85f64 + pristine_git_object: 6da2ba519138b0484b888d94d761860ff6f37604 docs/models/sixtytwo.md: id: 532ee43ac4d5 - last_write_checksum: sha1:7a0655236a6f0f4eb878f789cf440a468b7880c6 - pristine_git_object: dffd2f65210d176852db79fb1eea76011ec34d6b + last_write_checksum: sha1:f91938475d5076e1ec856e90df32a2e297351f75 + pristine_git_object: c892f5c909d88d8c42942a59936833d97146b1e0 docs/models/skipautodetectionconfirmation.md: id: ec81419c41da last_write_checksum: sha1:9b5d6d2032018c2594c07eeae2fb115b7baabeac @@ -38791,24 +38851,24 @@ trackedFiles: pristine_git_object: 8fd61d9cb0f8a91fe486f0a8ed3ecc271ec9d4ac docs/models/ssoprotection1.md: id: 07f5fa3c3ba3 - last_write_checksum: sha1:4a665ced434d9bebbf034c53c6b0b5da2f686c93 - pristine_git_object: 5ad7c5e6ce6138ee57d7a8a375e1ca85223b3a2f + last_write_checksum: sha1:ac3017a2d5fdb956405d82559463fa694c4195c6 + pristine_git_object: ac773d836c89002264b0fe8b26037b038bce1130 docs/models/ssoprotection2.md: id: 9b70465f78e4 - last_write_checksum: sha1:a2698751adecd2bc35040429af9deff96d075b14 - pristine_git_object: 810e886f644ff173c8f46d68112c8d84bcccab39 + last_write_checksum: sha1:73044a87f2d179558bfd2174e4ff2cffd4b5894d + pristine_git_object: 44cbfae3db9df02a5bbd2823d922fd53640662db docs/models/ssoprotectionapril2026securityincidentmigrationappliedfrom.md: id: 3b1e8f230474 - last_write_checksum: sha1:b568d4035c6151416a4dfeb1ad2792e1f99e6f28 - pristine_git_object: 1e3880950d82f89954e79ba0b704bbe646570930 + last_write_checksum: sha1:47e101fb71254673592944652f0686243fa34183 + pristine_git_object: 388369232aceefe514031349152ae8a8f9b60ceb docs/models/ssoprotectioncve55182migrationappliedfrom.md: id: 20882a9fbd31 - last_write_checksum: sha1:4e8b064898105bcdd4b97ffaa2330e1a171f3f3a - pristine_git_object: 3f0a462fe5302f0e71678c5240353d2a86e4652c + last_write_checksum: sha1:cbcb851aea669473c0798726387d13825c895c7a + pristine_git_object: dd9083b84d8c57edd40d317f02d0a67df1a978e3 docs/models/ssoprotectiondeploymenttype.md: id: 7275714f6b7e - last_write_checksum: sha1:2c18b3344af092c953d44395f82dd2118110a49a - pristine_git_object: afc521d7dc318370d8528efb1a4efd589b15e43d + last_write_checksum: sha1:62be2168696ad6d9ea7b5b2c2a34139bbdf5c173 + pristine_git_object: a84b33721f65b10e90c41ca090408c7ac7003321 docs/models/stageredirectsrequest.md: id: bf8e629a6be6 last_write_checksum: sha1:fb75e12636dfde060207f771d8b3f6066452b5e7 @@ -38951,8 +39011,8 @@ trackedFiles: pristine_git_object: cf3ce5190f2533b186566f8111d25a2d34b34a96 docs/models/staticips.md: id: f1e732460949 - last_write_checksum: sha1:9f5b35ccf68fdb49ff10ba4f25aacaeebf90d6f6 - pristine_git_object: bd3fae1c21ac77c9c1aac33c0c3809cf1b68b82f + last_write_checksum: sha1:bcd16a9f278a2f709a9da5758b37ecfe1d2e0255 + pristine_git_object: a128de3d7cc5dbf76940bef6d4309bb699f69105 docs/models/staticipsenabled.md: id: 9627bc1359b2 last_write_checksum: sha1:607c790787b67a570330ef0b626f73eca7c81083 @@ -38989,34 +39049,38 @@ trackedFiles: id: 84ba222d5131 last_write_checksum: sha1:bbaac9c211725f7742c6e20bcff32e94e40d3315 pristine_git_object: 9f2be1a25ab9760ea21ec81e40f75e8267242324 + docs/models/stopreason.md: + id: 0c2a849578f7 + last_write_checksum: sha1:0719f2fe79b873dfe1910ecacbc4301e99b61168 + pristine_git_object: bcd7795711938d14c4a8cc2e5dd51f0702515fc4 docs/models/stopsessionrequest.md: id: f6ecf21124e5 last_write_checksum: sha1:b41975c26b894ba02d63de751aca9f2a3d2ce814 pristine_git_object: 51d3c72567a48b239fe6f7a1d4618027b5427fbd docs/models/stopsessionresponsebody.md: id: 5a0d4fd598c5 - last_write_checksum: sha1:0f64c986c6589230b83f6385318032c79abfd8b9 - pristine_git_object: e7fb61900b48f998fd5fb1368387738fb2b38a18 + last_write_checksum: sha1:055037b905de0740520de2790c722d20b366c826 + pristine_git_object: aed7952dcc2d29dcb412d77a46e5da5f2dde8f4e docs/models/stopsessionresponsebody1.md: id: 6b51dd0abb9a - last_write_checksum: sha1:1b74d8627ee9ea55bea0406ad0e9cc9a6352d18d - pristine_git_object: b2d0c81bcae75e1efbcd594d5ab06bf6bf2c1928 + last_write_checksum: sha1:bdde0c74193093b1b16b5d3ec3af0aec4bafdc7f + pristine_git_object: 1b71e05fdbb6e7a43fae6c63aed9ae4033631fd4 docs/models/stopsessionresponsebody2.md: id: 30b33452be5d - last_write_checksum: sha1:9b84e6638f2b106ae7a9abb521dd99193f072fd9 - pristine_git_object: 4f2e044bd15e73b28d21b6d94d4913f4fcda4c23 + last_write_checksum: sha1:60ac7fc03b81a5b8d7d2fd3b07f5196283709152 + pristine_git_object: 71e58a688983a14c5c16505880879b179fc47c7b docs/models/storage.md: id: 8627e82f163e last_write_checksum: sha1:854c7717e76b6082c45001ff535c7f2af0128228 pristine_git_object: 44847b578f7ea99f279a8aa28aa2da18ec27ae08 docs/models/store.md: id: 7cd3cfd9a897 - last_write_checksum: sha1:66435dd43e0ae42ad3c2807edae27051e21c6114 - pristine_git_object: ebdf802e4c33832057c3ef9be81f230280e867c1 + last_write_checksum: sha1:30fed0daa60b8bf1a6f4b306f2a0a1f9737658fd + pristine_git_object: 1e72dbb0c44704e5f1f0ffeef8c49fbcca7391b6 docs/models/storetype.md: id: 7e04b76b448b - last_write_checksum: sha1:9020ec1a5e73273d833a8c247da0c7ef832926d9 - pristine_git_object: 8f47c4cec6c275e9a66dee7e2114576fd3476028 + last_write_checksum: sha1:099ce966810a86875e54026ae2aed97e0bf67ce9 + pristine_git_object: b5af25bc4922d0733040691330dac90b1720fed9 docs/models/strict.md: id: 4de47bf2d187 last_write_checksum: sha1:0896a40ed547ac27d5b8ca57e1b4a17d455f3926 @@ -39151,8 +39215,8 @@ trackedFiles: pristine_git_object: 6d7ced6ecb9f21b25d56a7efce1c7d559900b0ff docs/models/targetkind.md: id: f5bce6add03b - last_write_checksum: sha1:32a989ebf61fba9995cb96eeabb9b315bc2116a4 - pristine_git_object: 9a1b1b9abca2dbb6188b4631d81026e761f866cd + last_write_checksum: sha1:42dd6dc60e49ce7082c62ae6602729f5d6f19de8 + pristine_git_object: ebd77686e241ad4cef313abdcabf8bddecafafc5 docs/models/targets.md: id: d347f9c0abed last_write_checksum: sha1:a7fdc36fb3708a493f9e87e9d95f84c1e7d99cf4 @@ -39231,8 +39295,8 @@ trackedFiles: pristine_git_object: e69ef424ec247f6290167ec05d17c9096f9b4c2b docs/models/teamlimitedjoinedfrom.md: id: d78da7cda77b - last_write_checksum: sha1:df5065a4cc6d93230f587ef5a4213683e6a759f6 - pristine_git_object: 72efa56d50b60e41191d3bb2348f4a20fadc0755 + last_write_checksum: sha1:b200706ae51689a96ca284fce2414e59b15303ff + pristine_git_object: 95175ae1507e1d3d4ffa3579c6d0a095824385fd docs/models/teamlimitedmembership.md: id: 834bf242be80 last_write_checksum: sha1:204f9af133949c5b9e66e671b64289770613dc65 @@ -39267,8 +39331,8 @@ trackedFiles: pristine_git_object: 9f6148f9ed69c3cc933ac88662e5b13e94cc5ba4 docs/models/teammembership.md: id: 1ce452568f82 - last_write_checksum: sha1:35f52f233396792e8a9109c5125bd05b01a991a5 - pristine_git_object: 73e34a762d81462dc557a83d402d5280fdbcba63 + last_write_checksum: sha1:659d54ffccb66505c4f5b20c767e32a97df8d8db + pristine_git_object: 73d06ac3b0284e8c424794021014ff849d888cae docs/models/teammembershipteampermissions.md: id: db6bee289a37 last_write_checksum: sha1:05986a7e38abbca9e579c4e924a79e6bc62d672e @@ -39407,44 +39471,44 @@ trackedFiles: pristine_git_object: da832626d129c0f1214057a8ac6460c00e9e21f0 docs/models/thirty.md: id: 5e8728ce2d64 - last_write_checksum: sha1:170d7b2f262301e7b842f10ead03e8f685f03235 - pristine_git_object: 705d68d14fed6ea385c3d3ef22379cfcd8c07099 + last_write_checksum: sha1:fe33bb5b282985d2f6e3a2b5f92179a84db926ac + pristine_git_object: 27de614c4822ef44cb86eaf6e4758dae84242613 docs/models/thirtyeight.md: id: 2770f7b85130 - last_write_checksum: sha1:4d4c14b877b227d3746f43232954a3b27a367c9d - pristine_git_object: 2a9fc3d91c16e0eba4088e5bb74be9e0890cec86 + last_write_checksum: sha1:adc3b9db2345595b7a94c87b8f37999bdfdb034a + pristine_git_object: bccf628ef72118aaf073fd6d61665f6a677ec6aa docs/models/thirtyfive.md: id: ab3e83375d9d - last_write_checksum: sha1:3624788b2ec33a3cce3275702cd0e60bda64061c - pristine_git_object: 452f20213983066b996f612231796878caa87a6b + last_write_checksum: sha1:981f887fc72043cb53fbcc4ccf1076d4f2b8206c + pristine_git_object: e3faa0e52da5f12607006b49261aef4f8452444a docs/models/thirtyfour.md: id: 2c33300202d8 - last_write_checksum: sha1:41344aba8364aaeab2c40a8dfcb2d46983685118 - pristine_git_object: 746ff738a704bdfed1964dee43caf69ffe3ade29 + last_write_checksum: sha1:773cc0d976e25029c16f0c463e6e9ed18b0baac0 + pristine_git_object: 14833f9a295ad0e2c3917aa1572039cc9ebe8bed docs/models/thirtynine.md: id: 07fbae11ce1c - last_write_checksum: sha1:538ee382ca66e01975c3d93b5fe08156a1a69525 - pristine_git_object: 5d4a3dbb99b21e8db80eaf6053d0d5f46f3666fe + last_write_checksum: sha1:4efd02d4580b52e611dbec23ad989d15cac8968b + pristine_git_object: 7792225f90cc0674b8dd13995d4954b7c60805ae docs/models/thirtyone.md: id: d39735888d28 - last_write_checksum: sha1:922a864df6ceefa1d6fd542c2793a0be2b060792 - pristine_git_object: 43cc9f7dd762777bfb16628998a69d5c2b51280c + last_write_checksum: sha1:a648a6b581e6709fede973064d9c31f636cce0f2 + pristine_git_object: 21b37f4f13e80ce3a7181859a91a1b88d4cd6e3b docs/models/thirtyseven.md: id: 6565b2a829d8 - last_write_checksum: sha1:da842727717075bf7e9c6b8a95d0b683a167530e - pristine_git_object: e4a3fd005552f73a1114baa99345da86ecbc0ed3 + last_write_checksum: sha1:8edec1adc95d09c84840a7c7bb02646849a02067 + pristine_git_object: a2bab166635f754d315d15946f3c09ec7ad1878e docs/models/thirtysix.md: id: f2c149951fdf - last_write_checksum: sha1:8465aab929d10fd378406da4a31cee897c749bc9 - pristine_git_object: f23eb75baece3c24576360628bdeb9cfc82b18a7 + last_write_checksum: sha1:943d6b28fbb3f2f0ad90873563bb989b1045f0d9 + pristine_git_object: e9c5b0f06ae3b844c7e7cf427faabf932d7b9ad2 docs/models/thirtythree.md: id: ac61529bbdc2 - last_write_checksum: sha1:e4ca6739d952d3f7effc6849d7cda77e59e91bcb - pristine_git_object: cc7f0ceb958f18480db563f8f299d66b4f1009b6 + last_write_checksum: sha1:a5c77f88509edb14ad6078f7c127672a453485d1 + pristine_git_object: 1aaa72b5d1b0f6fff244e04b23f36dc4145e7848 docs/models/thirtytwo.md: id: edc6bef8d201 - last_write_checksum: sha1:76eb7b3cfc6249c9d17b30ee29a5ecee299fdb34 - pristine_git_object: 0b69704fb8177b3ca045fff003db2fe88be87490 + last_write_checksum: sha1:f337db1d1986ad6fc767df936be3248483d369cf + pristine_git_object: d108323afd844ea8a93b14221efd3fbd4abe13b5 docs/models/three.md: id: 4ce8887b0ec2 last_write_checksum: sha1:33c434ffbb6cec405600bf55a9ffa41cccf743a6 @@ -39471,404 +39535,404 @@ trackedFiles: pristine_git_object: b911d17b0aee2a2d244042526b6646a09b87d962 docs/models/threehundred.md: id: 8d3b594fb56c - last_write_checksum: sha1:9a4e2542af7897247fb0e2feb3d450ee43163b2f - pristine_git_object: 4b3b7a66db5629be92e20b34be39ed2614dbf1b6 + last_write_checksum: sha1:17413b1ab828c813e75bfe64cad626968a2bfe03 + pristine_git_object: 6c6d0cb55f675a3faaa87ccb51eec3d25485281a docs/models/threehundredandeight.md: id: 2b03fafb37d8 - last_write_checksum: sha1:b3c4564aad9b197577706dfe672a31c77b3fc9a0 - pristine_git_object: 2edc95d676ba08aabe98dded1f62dccecfbcda6b + last_write_checksum: sha1:de1d2af5f7f5f3b132502c6b012607b81a72a29e + pristine_git_object: 8fb1cf909e567edbba1efdb4f011d1fdc6c50943 docs/models/threehundredandeighteen.md: id: ce814a51a4d9 - last_write_checksum: sha1:f36539cc39f4a730a879e97df397ddea51ece148 - pristine_git_object: ffb5342551c19f346b329b84f5ef6da554e372ec + last_write_checksum: sha1:611bba7125ca5e7df872fb1b7e572c144ed13961 + pristine_git_object: bb9242c2971a3b8633949458f1ad4fa528200b5d docs/models/threehundredandeighty.md: id: 4c8e5647df6b - last_write_checksum: sha1:294bdb7bd019991006b05ba10b9b841ff87fb5b8 - pristine_git_object: aef139dd9c42993f6e8b6b277cd6ec7b57d87aac + last_write_checksum: sha1:f6f8fa436316987696119581346ba683181aaa72 + pristine_git_object: 5504bbc1d67364de86020a17eda9f90c2f4d71fe docs/models/threehundredandeightyeight.md: id: c60427b0e225 - last_write_checksum: sha1:944c90edb095b56f32b19e43224eb978eebeea9f - pristine_git_object: b62ebfbf48fc807cf038a3fed3f7922f74d15a5d + last_write_checksum: sha1:b1ec2f5633e3489831241f37bb94fde55d6a3ec0 + pristine_git_object: d07b53867f90c90be5c6179369e6b783ba93946d docs/models/threehundredandeightyfive.md: id: 2962d9f3c7e1 - last_write_checksum: sha1:df0b8912df215be4e5acd7deac8ba02b2fdb29b8 - pristine_git_object: 095525ed08d1ac66e4200d6c68d526d941cfb71f + last_write_checksum: sha1:2a1a18b0cc4840386975e5e008ba65468a3c5ee6 + pristine_git_object: 34d3eb7dd72d44b1ccb55892bd64dc946eaef9c1 docs/models/threehundredandeightyfour.md: id: f7a839998608 - last_write_checksum: sha1:34ebd307237781bd635d3c5b34007076eba0e02b - pristine_git_object: 5f2a2928b9a107a1c43732b178cf29ae3548636d + last_write_checksum: sha1:8c378472b2b24264884b40a51bc815f14558b673 + pristine_git_object: 49e9aa0f2ebf7767a709b75dd4c31cf7dd9bf467 docs/models/threehundredandeightynine.md: id: 2e318727ad0b - last_write_checksum: sha1:90a03c306a06d9136e39d56b3a4fc58f5b16eb1f - pristine_git_object: d90eb161b63f10e34a2063aea3ce75d50b4bd63c + last_write_checksum: sha1:7c19965e792663379ff2103b30422505eeffd69b + pristine_git_object: e3e18054df5ac39b70620e9cc13f17c21e091c37 docs/models/threehundredandeightyone.md: id: bf512f3096a9 - last_write_checksum: sha1:5304db4a9b1fffc9bf4768b90255e1c753f6b972 - pristine_git_object: cf3f881b4158331063dd3e9a5e82e995baf359ff + last_write_checksum: sha1:236cadc4bee40ae4db1f553c3b5c427864fc0540 + pristine_git_object: 60ccad716ba1e82f79c7f297b87c7a08768bdd0f docs/models/threehundredandeightyseven.md: id: 54370f93003e - last_write_checksum: sha1:d07052aa5ec971f91fc8a96fd1515d560569e12b - pristine_git_object: 8a177c869355b08fc33d492b4d9c9c2a82e45707 + last_write_checksum: sha1:91747687c4520636d19b240de8e27ead18ee99d9 + pristine_git_object: 7d5cf2b56e91aa6800dce881584fb4726150e30b docs/models/threehundredandeightysix.md: id: efa849a9785b - last_write_checksum: sha1:ec7c81edb4fb076f9b91f9cad3bd4199f907af6d - pristine_git_object: 4d07c3766ce4656fe9ed66e40893b7be8ca6fca7 + last_write_checksum: sha1:62bf31359cbad4d68b6a5a146d8ca541ac5f2417 + pristine_git_object: 5b5c5100f6fbdd38efeed68a6e2f366e05137d4f docs/models/threehundredandeightythree.md: id: b0dbb8c6fff6 - last_write_checksum: sha1:33044adfe5680817ece5e36c5bf22aeead8f61a2 - pristine_git_object: 26e193278122b39e582cd510a9a19d14121dfc7f + last_write_checksum: sha1:eb63fa39ef86b626bb7e3348a0734687c131c5cd + pristine_git_object: 4eae96227705e9fad385d6a541fcbe1b2911aa71 docs/models/threehundredandeightytwo.md: id: afad6a5acace - last_write_checksum: sha1:36bde957b392223803e775b6960f961adf4c82ca - pristine_git_object: d9975bc02de6c1aa2b13044118d8e873959262b7 + last_write_checksum: sha1:eb59f3a79bdf24906675596a58982e27ca038a1f + pristine_git_object: b09fe0fc9071a973165795a74df66a7021eb2118 docs/models/threehundredandeleven.md: id: 21f20fda2826 - last_write_checksum: sha1:692c46380fb130b0c63597739e4564ae73a4d1d6 - pristine_git_object: bc2ab3a243c6fa3209dbf52458a7e2562ebaf31c + last_write_checksum: sha1:f1b51b384719ddde74f6d6ca1b794294901276d4 + pristine_git_object: d23ed3bfca480b419342e8da7b15074a46ced2ca docs/models/threehundredandfifteen.md: id: 9228c68dc67a - last_write_checksum: sha1:ba7e25f970a9b6a7da36bf4a011a50604f0345a4 - pristine_git_object: 7c6d52403fc990155b59c2cb4c5f60fb6c758843 + last_write_checksum: sha1:ee46c40b130ec7264bc7136f07e3a25a065623b3 + pristine_git_object: e2dd73edfba07b7d89541d530eb3ea671da3514c docs/models/threehundredandfifty.md: id: 20a8c6eb6804 - last_write_checksum: sha1:bfd5d145e5ad358bb743d2a2c67e8365072dc9ce - pristine_git_object: ab9de1b1184f11a0b1511d18556b6cf0dd760142 + last_write_checksum: sha1:19efe39c874addf71e6515fa78616800b1e6ebce + pristine_git_object: c7edc2eb4ca77ad706dc4f4816b55acb845d5a1c docs/models/threehundredandfiftyeight.md: id: 7cfa746decb9 - last_write_checksum: sha1:3fbe8deb148cfeb75dbeed775e7ed47e9bd5568c - pristine_git_object: bcb3059bdadba9e55232bfc945b8ef6f690ca1b0 + last_write_checksum: sha1:f0b7ae28e01dd8fb7c6be468230b3f69e4d24bdb + pristine_git_object: 648bf0312149fd490d275ca2565d309dc7aeb851 docs/models/threehundredandfiftyfive.md: id: 7c6ae08e36d9 - last_write_checksum: sha1:823ec88ef9bd271764d713c3a8fa459186786a31 - pristine_git_object: c051976fdf26fa4ac173f823c6ea5580bddc697c + last_write_checksum: sha1:ecfdf267a437d611a4972173d269697e76dc6034 + pristine_git_object: 578149e9dc96f3a27385e1a65df452057485669d docs/models/threehundredandfiftyfour.md: id: 73a0657e130f - last_write_checksum: sha1:458825b5b7485ef55f40dc2a27fcb30d632a75b0 - pristine_git_object: cd56a3a37ec6dadd3c4a3ea3c7af511123f544f7 + last_write_checksum: sha1:c3a3851e18b72bf530bbce1b8a530a6bdf3a4bde + pristine_git_object: d544970f18b1337c1b547690dc54b056560db609 docs/models/threehundredandfiftynine.md: id: e29a3894fc9a - last_write_checksum: sha1:454809e112b7f02ef2d9891c9c75e15cea0d235b - pristine_git_object: 12e4b049897cfa913831c30a2a114fdb88ad1fac + last_write_checksum: sha1:c1fc4eca0971efd635493f5547b058bb6e09e2fa + pristine_git_object: be509e3025e70ffaae8e84114470c5c02f4dec84 docs/models/threehundredandfiftyone.md: id: 4741235d041a - last_write_checksum: sha1:a9ede2f27e72cd9ded913af71aad54f57e5b4a87 - pristine_git_object: 74033fb6a7757304a63fd3ff606261150c42ba00 + last_write_checksum: sha1:6c34743db35615a32b13541dc9a4bee979d24c73 + pristine_git_object: a686b13fa8096508de78c65f60295f0a82e7fdac docs/models/threehundredandfiftyseven.md: id: 27b3839da913 - last_write_checksum: sha1:574eb8fc38531cf93c046e3a1c0e0c1223ee6344 - pristine_git_object: e7e8bff4d506be59f1bcd5ea55d9ce0c236dfc34 + last_write_checksum: sha1:7016e58e6a8fcfff9092185353ec185698abca55 + pristine_git_object: dde8296808b2c9be06be551c456a4a97cc011148 docs/models/threehundredandfiftysix.md: id: 47172ce93ede - last_write_checksum: sha1:8a0ac20854becf9c229879d84cb735135f8f198f - pristine_git_object: ee011e1e52fd0020cccfcdbb4f256a2a67662c06 + last_write_checksum: sha1:e6431f398a902a360f8d921605b496c65ce6b8c9 + pristine_git_object: c0e067e9122dbd8a523f37599bae8a3e05ab8ab3 docs/models/threehundredandfiftythree.md: id: 330c62d58546 - last_write_checksum: sha1:4b6b35bbfe3c9d4719f73d7676149a557bf942fe - pristine_git_object: 0f64340f5388b050f91ca929e3fcd648fb1b2f1d + last_write_checksum: sha1:4e40f042b39caa1c3e09c21753b587ac8eb8e5b6 + pristine_git_object: d15199b1dbe5a0d23cdc9a677a4a2b5055e87ebb docs/models/threehundredandfiftytwo.md: id: b38cee9ca2e3 - last_write_checksum: sha1:495c3abcaf672d4a9adc74a4db9fd1309c69b2e0 - pristine_git_object: 27854be49e5e9991b396c6f9eaa4c333b560fba5 + last_write_checksum: sha1:afa6689f8c9165ad8483955ee93e569d51964c27 + pristine_git_object: 1f878a7db8885a8d1c87fe51f1559266b879cb48 docs/models/threehundredandfive.md: id: 893a80bc612d - last_write_checksum: sha1:0126a120249b816fbca6858a93505e126d4cf187 - pristine_git_object: 52e4dcbbf752e381798430daae5dfe6d9f9015c3 + last_write_checksum: sha1:802086a0f7cc055dadd03f5d5cc6eb132ef5517f + pristine_git_object: e3d56139535e600e4bcaa4fc03724da18876e3c1 docs/models/threehundredandforty.md: id: 6f49ca42ef03 - last_write_checksum: sha1:621c800cbee72653014efc6e53047a061f6c8c02 - pristine_git_object: bae66eaddac1923ad40d820d8c0f200d68b76a2c + last_write_checksum: sha1:2257912101cf1017013aa58bfdd15a831a7ca7ab + pristine_git_object: 25da3ab990899e8a57d42e3c80e7bb773a58ef9f docs/models/threehundredandfortyeight.md: id: e7b88a4c0d73 - last_write_checksum: sha1:0d4970022cf79702e0f83105cb660bc815981bb8 - pristine_git_object: b09a61fc87e92245ecd95a567b2c47144b1741dd + last_write_checksum: sha1:5fdefa273705130f6f0a5cb5c0c00f6b4daf5a52 + pristine_git_object: 7533d73e7a1aaac4251344776de46f4b76091b45 docs/models/threehundredandfortyfive.md: id: edd6c481c575 - last_write_checksum: sha1:9064a94376d7e8aab3dfd98ae5cdc302c83328c8 - pristine_git_object: a3a29807f131fcb7416e40bd97b80e3fa65171e4 + last_write_checksum: sha1:4fc50cb15fadb4e19343adb7fba968879e7b6055 + pristine_git_object: 65be7e438413d07ab9fef77a97f8550f514fc5c8 docs/models/threehundredandfortyfour.md: id: abefa02ca843 - last_write_checksum: sha1:b9e65611275350c9ad07a1dc457d8b38ca9e9ad0 - pristine_git_object: 6f13f63e20f956f8f04c0cee20a53b69b550343e + last_write_checksum: sha1:c1ae4910138570f6f10ba3fb6099db0c0af95de9 + pristine_git_object: c06d130a654f434f677ba88fa9c2de6443bb559e docs/models/threehundredandfortynine.md: id: 2afa1ca0f7f4 - last_write_checksum: sha1:80c631fd755dec4f3f764b957b183f64e6c59bb0 - pristine_git_object: 63aa3afa60100338d3b33f9edbf3a524d7aed1a0 + last_write_checksum: sha1:fc0d1a90604a5ee85f36b812698cb3ef6955aa91 + pristine_git_object: 75893c39ec1b510d43824b9589bc3efb765c74ad docs/models/threehundredandfortyone.md: id: 1187e237c71b - last_write_checksum: sha1:c0e57ce847f5d50bdd18d82571d87e2aff1da943 - pristine_git_object: 18a372ab1b198713e83e51d57891616a4e460632 + last_write_checksum: sha1:f953691196cc5363f0d5e0e17345f23159635572 + pristine_git_object: 79ecafa338b29599545a6181ebe7f213bbbd64f5 docs/models/threehundredandfortyseven.md: id: 3c66745669a7 - last_write_checksum: sha1:63ee86a2803794be184b4b40d7961c4b6477b867 - pristine_git_object: 8b1cf4b0ccf009580395475c6ca0a87a0ca893a6 + last_write_checksum: sha1:7d5d605b52315589f9d87d102ce245dd0cc7466c + pristine_git_object: f7dac687c6e9c775d68a8737f0cd56baeefcedd6 docs/models/threehundredandfortysix.md: id: 82fb472216eb - last_write_checksum: sha1:e016afa2f6e3908ca99ca018c7b3097f6d9f3669 - pristine_git_object: 1cf8d2608e9b7ed2107d4ebbbc830578aa81b44b + last_write_checksum: sha1:e7d23222f0c8f9453419344a8728a44d2a3f2cf8 + pristine_git_object: 722ec5138290883ec431fc7e1036db1e1d5a5b7b docs/models/threehundredandfortythree.md: id: 139a4e6e7660 - last_write_checksum: sha1:d37b63b66939ea7ffb02638eb366536a6522c7aa - pristine_git_object: ac518b01fec528e2e8d435117f0a9f35da867c8e + last_write_checksum: sha1:70bcfca9f8e3fcd71890a89cf2ad0b36e7f807f7 + pristine_git_object: 36487e6bad9d7403a50f454f0ec5157c0b74c5d7 docs/models/threehundredandfortytwo.md: id: 71b32db755d8 - last_write_checksum: sha1:af6204d858962c7036403b2748ee445cbdf1d3c1 - pristine_git_object: 3f51dd41f821aa18a067dcd04cf8c9d139d32fd3 + last_write_checksum: sha1:b665e353cbcb947bb1a90eeed4f78b0181480a61 + pristine_git_object: a023c25f61e83c7546f07d9030f08861e3b7b059 docs/models/threehundredandfour.md: id: 80abe44ce54a - last_write_checksum: sha1:5575e3639baac13f3c78870310a6a4e935ab8415 - pristine_git_object: 9b3be9e6836e9c319fd7b651f41eaad778d9b5f4 + last_write_checksum: sha1:af0c2d703c7176517fa3573f12168dfd62111d23 + pristine_git_object: 2fc3b9bdfc226029325f410270f3dc68f2b16894 docs/models/threehundredandfourteen.md: id: 71c032dc8f00 - last_write_checksum: sha1:13a9f108267e1853eb192840a0ec15a432c25c9e - pristine_git_object: ed6bb84dd5923e342686ddd8669345355bc13e5d + last_write_checksum: sha1:dc814f02673fa9d2cf5f9626a783215f7e2778aa + pristine_git_object: d03fa6964bdf8d0d61ddf39f555dbd575bceb9c7 docs/models/threehundredandnine.md: id: d0616955cfba - last_write_checksum: sha1:b8755cd10687d6e95a8f6d34d9d014180e903be6 - pristine_git_object: d5cee3cf91b33ddbaee715f2ab5c7b135a1e60df + last_write_checksum: sha1:0555e7b5a50cd488d29b5add968bcd124277714f + pristine_git_object: c415616a1a85863d96b8dad1c7ceaf308abc5f9a docs/models/threehundredandnineteen.md: id: 152713678b51 - last_write_checksum: sha1:eda7df79fc1972ab48e35ec17e710c7207c57c9c - pristine_git_object: 52d9c4d2459187b6d3f1f819423bde58af27648c + last_write_checksum: sha1:db51d1ee8bf20cdc4e11210b1bd46130eb0cec92 + pristine_git_object: bf5e5010525c2e00bd4501e540e1902d234e82e2 docs/models/threehundredandninety.md: id: 666b568a2bfd - last_write_checksum: sha1:1ae05395d010996be9f503367daaf2cdf2bcc245 - pristine_git_object: 0a481eaa3a6ce9c5dacda77a3e51f069ed990850 + last_write_checksum: sha1:73ffc906e890dcb83f593ae8d21f23ecb9612de3 + pristine_git_object: b3acd51267ece7605d866bdb4223fabad7182563 docs/models/threehundredandninetyeight.md: id: e5a3673d4e95 - last_write_checksum: sha1:f963ab4b6ddff09fbc3835e4239963e64a0ee4d2 - pristine_git_object: 0c122c329918f5e3eb6f3f4e5dbe1d08a27cb8cf + last_write_checksum: sha1:34c77fe2bd8de8209c8792d574ee5625abb0ff39 + pristine_git_object: ef7e17eef12d6ef82a4c3b1ef0219e62183470fb docs/models/threehundredandninetyfive.md: id: d43af8c54b1d - last_write_checksum: sha1:232ddc011e2a7dc7d4b9a5c34d9ad64c03eb37b1 - pristine_git_object: 3a94ff9dbbf38d119a08251e96ab56b5d17f4db4 + last_write_checksum: sha1:583ecb8b9d7030a75b79ad3a6c6309085adfac66 + pristine_git_object: 14cd36f27ec997e048f1cfda4fa3026aa3959dc1 docs/models/threehundredandninetyfour.md: id: 396e58ec6298 - last_write_checksum: sha1:d1e73b64e2a035b276c7caa949daa978d36b24ef - pristine_git_object: 10157f5ee972657904b635fba77663110dfb77be + last_write_checksum: sha1:eee4e5322d7191dadbeb68a947a129743ae14da9 + pristine_git_object: 0ddefffd5062ead6881a87f266d25cf1c7e5ddcf docs/models/threehundredandninetynine.md: id: 7a0ac73dc8f5 - last_write_checksum: sha1:35653a856af83f2b034bfbf2f6f08add6fd19b52 - pristine_git_object: 332e14d951f5ca78f7fb4b71b144fec9f227bcba + last_write_checksum: sha1:c20caa7ae0b2def0827fa30cb49c0151e656764f + pristine_git_object: d871e84c7b4f30c5fca4ec52126d905445972e34 docs/models/threehundredandninetyone.md: id: 6d4b8685dc89 - last_write_checksum: sha1:b2f1a9d367309418888e8a77a53c1ee63f9e5249 - pristine_git_object: ffe63fe1abcbefe11d4175b094c596523b9e6e33 + last_write_checksum: sha1:c6fd8d7e49a5f38387dac634d5a0276c6fc2981c + pristine_git_object: e37e4175481532d4f01c7cb9333f0ed240f31331 docs/models/threehundredandninetyseven.md: id: 51b4ae4c4bae - last_write_checksum: sha1:518974d6704cc33a8b3173a1a83689e822ba76dc - pristine_git_object: 5211306f5354bb63e363c67cb49e39c8aa4a8d99 + last_write_checksum: sha1:f76221272a710332ce78c005c7e565804ffff559 + pristine_git_object: 2edec866ce2ce37cd7357fec8472ff83e3308fbc docs/models/threehundredandninetysix.md: id: 8ceb859cdb39 - last_write_checksum: sha1:35663160c9f8767fbdf81cbfa130eb93d108e0b3 - pristine_git_object: 8dbda8dd2411b00b1cf24b6dcb6010cc009cfa1a + last_write_checksum: sha1:4b2008292c91e528be4bba1720422beae5706138 + pristine_git_object: e5d4a353e71f7fbe21a344bc9bdd6d7892c10541 docs/models/threehundredandninetythree.md: id: aef16d29cecc - last_write_checksum: sha1:9f81ebc7bd83f07f93aeb70916265330f1a9a0b0 - pristine_git_object: f36824edff665594b783ceef35140e132f44502f + last_write_checksum: sha1:36ef5a05b04d3a0fc0556205268d4ac7f3346dcc + pristine_git_object: e3ce54caa4e64027bb6f3516c2312d8defd15230 docs/models/threehundredandninetytwo.md: id: 8407a4fbaade - last_write_checksum: sha1:f460a0a9f3241163fe8cbd1497077bd3fb33aaf5 - pristine_git_object: b5f0a7888575c481cc217f8b1d09e68b050452f4 + last_write_checksum: sha1:b2b7d224b0247df88fa5bc9d2b271fa4a03272ed + pristine_git_object: 3c9b98c53c127f102d559870bf8f5b200a29a5ed docs/models/threehundredandone.md: id: 787a49b84dd4 - last_write_checksum: sha1:e5b686b24855fb318026fb032ed7726842a74080 - pristine_git_object: 724a3cc8d4dd8e90f9995817662a18d19b1d101e + last_write_checksum: sha1:641ef27af7652c94a201c3fc4ee039e831178760 + pristine_git_object: ce8a753aac2601f91e3d34c84fa8042e6579567a docs/models/threehundredandseven.md: id: 9289ea052bfd - last_write_checksum: sha1:4d83ef1ca34d673f55f153b911589e910a51fe63 - pristine_git_object: 10906ed41d08d3512a46e914eab878155f0f16d9 + last_write_checksum: sha1:7269da03759812f6f623af0ec11a4b3d39ff3917 + pristine_git_object: 89acf6439279acb66e5a88d2b6206ed77a3ffecd docs/models/threehundredandseventeen.md: id: b558f977b18c - last_write_checksum: sha1:495125624be766e4515fad535dae5802476b8570 - pristine_git_object: 87fa366099c531103f5f912efc5bed16259e6647 + last_write_checksum: sha1:40053bbe6f02152747eeceb1b5124d48da2a963a + pristine_git_object: 2f2d3de269303e4ba395da1be75acd6d755a2add docs/models/threehundredandseventy.md: id: 1d55ad86d2e5 - last_write_checksum: sha1:e94aa061b4be90d892eaad7748f5b94511417ba6 - pristine_git_object: 4531551401ef80d977515fd36898dc2511d0d35d + last_write_checksum: sha1:82e6d89cc0a9135e6189056ee4102291e6fdd124 + pristine_git_object: c888b8488f7b2ea233adaabf248f349f4cee7f7e docs/models/threehundredandseventyeight.md: id: da75d5542838 - last_write_checksum: sha1:c5532941a109619a19fd74f061df3eea2b0882be - pristine_git_object: 6836d110cd2b6319bfd7ff799315b5c5bab78d78 + last_write_checksum: sha1:506f4bb5755495e24154afd6f4dff05153f4c637 + pristine_git_object: 5f008227a8508d8a4fded15d50a0061b82ea7a29 docs/models/threehundredandseventyfive.md: id: 7aeb62f944d4 - last_write_checksum: sha1:891934b475f350e73003fd85e665d27876544dbf - pristine_git_object: 155b8c4a9e72105733ee7b46e292671408b4b192 + last_write_checksum: sha1:09090cade789d9c5d187c7bb7358a3a40a4b9a2c + pristine_git_object: c9131c7255ba60ff845f198d2e9fc480680079f1 docs/models/threehundredandseventyfour.md: id: bd366f5b1c4f - last_write_checksum: sha1:503cdf4d814104b15e64b0271968b39d3c95ee35 - pristine_git_object: 91e117587ea7873ede1c7fb80636d6b150835769 + last_write_checksum: sha1:1175b54827c5587558d7eed33df0d315f764d616 + pristine_git_object: 624ef9500e65dfee4bdbdb146f85f328138dbb60 docs/models/threehundredandseventynine.md: id: 4031960ba76c - last_write_checksum: sha1:a0669a483ed23dafb38811cf6d17493f8b8db65f - pristine_git_object: c0163378059fed911a2c781188d7392cbb896e1b + last_write_checksum: sha1:cdbf637df91a4065a5436fc15588a7d491680a43 + pristine_git_object: 404a1b60a304440cbdd035e6f2a60f00714df5d8 docs/models/threehundredandseventyone.md: id: 4890d4193fcb - last_write_checksum: sha1:f9947c578d50618d37c7cedfebc825310b15252e - pristine_git_object: a1333167c24cfd0f5926d7ab7d38543361506b27 + last_write_checksum: sha1:103ea9aad6e20c8d73c7aef3901d6138aef9f319 + pristine_git_object: 888d74465d0009ee802d288c6f594f70f1a491ed docs/models/threehundredandseventyseven.md: id: 7522fe128594 - last_write_checksum: sha1:980b06ce9c26da5ba66061065b955068e227e596 - pristine_git_object: a2360a85254a01ef32f49705b8e1b75895da4916 + last_write_checksum: sha1:46d4e5556decb84ad5511f516652bab67cb5cad8 + pristine_git_object: e26eed26597163d1c3d2fcaea11fbdbd257d2fde docs/models/threehundredandseventysix.md: id: c8c8eff92936 - last_write_checksum: sha1:faeb084a1a26a167b78bf67e634761d452bcf761 - pristine_git_object: b4ec1345760b0c166cfa67b432e5ade4671fae18 + last_write_checksum: sha1:40cdad86e5991784765bf8f91a6bbb4164d57a43 + pristine_git_object: 01a90d5ba0c629f504eb1b722120f81195938f46 docs/models/threehundredandseventythree.md: id: 464b27fcf3b2 - last_write_checksum: sha1:7f78090c2d16f4fe0ffd66c3aaa36b737f60493d - pristine_git_object: 164370e557a1fc2f652389bd606bf73d2662bad4 + last_write_checksum: sha1:b6dfd3899e17672b357f3e650859e3e78f08d46e + pristine_git_object: 28131b35d956a6c48e65f3d101fd29efc37f3c86 docs/models/threehundredandseventytwo.md: id: 28f8859f5a60 - last_write_checksum: sha1:fa182e46d4ea0816da54463b79b7c3388328d0b2 - pristine_git_object: 0a30d4519e708edc06c0a4b1d2e7cbe0cdc59ad5 + last_write_checksum: sha1:dda454a4d3fa6e1cbb916759ebba7f05e9c376e3 + pristine_git_object: 16b4b9cbdfffb816b2fc29d7ad6c1206cb242450 docs/models/threehundredandsix.md: id: fbf04243e27b - last_write_checksum: sha1:cd64e688a344224c29f6ac285411eeaf5112c67b - pristine_git_object: 5a1ca64a6260ba94748f0af88221f5c345339dcc + last_write_checksum: sha1:a51dba0d7100eb195440e250f025b36031752bb5 + pristine_git_object: 2025b4fcb34418310e8d898a969a9c817d1568b7 docs/models/threehundredandsixteen.md: id: b62979041e5b - last_write_checksum: sha1:fac5d4df5d9bcaf3e893e605cb15d659dd7fd962 - pristine_git_object: 7da846f5f1abbf185ff4ba600c91292968f15d00 + last_write_checksum: sha1:13a345480e5527fb2e71df8775d82b8138538ec2 + pristine_git_object: c738bfe07fded9f4d46b865b240c5ce1d7a0d8f9 docs/models/threehundredandsixty.md: id: fdd79c93ce6c - last_write_checksum: sha1:d4e8bb9d876198338debff4c2b2cf7c651ca6c46 - pristine_git_object: ccda918b8c65a176a9dff8656d948b346e7f8406 + last_write_checksum: sha1:e7f31731ca54babeaeba4c8adc221136f1d00164 + pristine_git_object: 56793745e4bbce7b924b61b506004690f4b73372 docs/models/threehundredandsixtyeight.md: id: e7f673c0e32b - last_write_checksum: sha1:e5d6b46f6617e32d6691cd45babe4c045fef7458 - pristine_git_object: 56d8b53569f95744de18de529a50cd6b68db1381 + last_write_checksum: sha1:a986a5c62e9ac6ef86a7a259ed65091ebf3953c5 + pristine_git_object: 1d9cfcc6e3f079a3e7ab477000d5bf6677602e84 docs/models/threehundredandsixtyfive.md: id: 0f8325732a1d - last_write_checksum: sha1:f14b2df7d34889082237129a7f56568e1c5202aa - pristine_git_object: 19355a1fb4a3f01c0fc6adda83be31751bf487f6 + last_write_checksum: sha1:3eef8507362cf68902c89277b35167c2dde49a47 + pristine_git_object: e5ec66c11d65920fee54edf0070d2bb3bcf96b62 docs/models/threehundredandsixtyfour.md: id: 3240a9c09e25 - last_write_checksum: sha1:677e2fa1dc96821bc95c2116bcc83820cf6c0c98 - pristine_git_object: fab75fbd606eafec18ef4d6d58ba6e54d13a189f + last_write_checksum: sha1:a39037e1c66e40d8a3d0001e9af8286c2764c51e + pristine_git_object: 37f4822c6282658b31bd39809edf743ca5e2169c docs/models/threehundredandsixtynine.md: id: 53355a996b86 - last_write_checksum: sha1:f4d37847f8f2cf56505c4f7a728ef822c83ea9ef - pristine_git_object: 148728e5e75ad00c00fae0ab11f63fe36536d64e + last_write_checksum: sha1:36e7859e2787f3a4410d5d90a0c1ac5b192b223f + pristine_git_object: 4c6174f9c1046d703cb1557f66519674f9cd0b02 docs/models/threehundredandsixtyone.md: id: 2310715d5d6e - last_write_checksum: sha1:6e3577c0cca283e18e2dcb94079cf7f54516238d - pristine_git_object: f50658034a491d2245402bc9d64a93cb92e69c05 + last_write_checksum: sha1:f0f145ba0ae328c68bd7fa7888a58d33efb729a2 + pristine_git_object: 72517eb58da84be2f788dc209ee35e31f0aa4e47 docs/models/threehundredandsixtyseven.md: id: b25a2c3efb90 - last_write_checksum: sha1:78167e738199035305aff959e3f7515830a9a3a9 - pristine_git_object: 97febe687358618f1b34b4ce21d019aa887b156d + last_write_checksum: sha1:229029490695d06ad59fdbf5e6471dcc2905be7c + pristine_git_object: b4f84fb8f66d7af5991b20fec452c0b885f7e8ac docs/models/threehundredandsixtysix.md: id: f38c7c160eef - last_write_checksum: sha1:c254b23eb4f5505a4d911289f8a33f251c80d525 - pristine_git_object: da62d169862dcebf800e01af4da2aedcef0cc583 + last_write_checksum: sha1:207cddba22f1375ec4a21cf1d46d54c85368b231 + pristine_git_object: c6bd7230464fca043151c72ccb992e9885851c74 docs/models/threehundredandsixtythree.md: id: 6068e3a37ac3 - last_write_checksum: sha1:323771547e576a565cac0b4d65a9510e083d6f7b - pristine_git_object: a834cd77eceb5e6d828f33b472a86cdb903d7c83 + last_write_checksum: sha1:8b6519e33a6e4ce3902e3e15c6c76d3179762282 + pristine_git_object: 2162ac0e87207d06fd1d9f31e17e2575bf25a001 docs/models/threehundredandsixtytwo.md: id: 03260f29726f - last_write_checksum: sha1:e1f2b8d3224b5fcc2e62cea0e004c6629cf4af2f - pristine_git_object: 323504a7375533ea067c113b071edb0842e3d20e + last_write_checksum: sha1:ed546c28aad1a7ee256f95c216622bde326f9419 + pristine_git_object: ea32c01db4426857a5001583b0e417f9d2e2209f docs/models/threehundredandten.md: id: 3bf106f2e050 - last_write_checksum: sha1:6b3c0a906fa10b68388305df665ccfc6e243e2ac - pristine_git_object: 74b061c309b0e4118f402ee4d194b98843927aa0 + last_write_checksum: sha1:19d8b63b899f9c7ab0aa4afd4e7b379b127bd0c3 + pristine_git_object: 9a8211c5b58692135be8dc6c6605fa7c0cdc7585 docs/models/threehundredandthirteen.md: id: ba5cb57b9b10 - last_write_checksum: sha1:0cd5b84e54412e7afed08862a3def00bbf9dd52d - pristine_git_object: d4c47f3ebcd93703f3e7a39c9a67686c6891f3cd + last_write_checksum: sha1:18e945959916de584ed92f6306f88fc80d8cd545 + pristine_git_object: 201de77caf815eda91f261684fd131df17f2d9fc docs/models/threehundredandthirty.md: id: a5df3c1d7c92 - last_write_checksum: sha1:41992ab4a698205a7d9e94af7d52b94de41de401 - pristine_git_object: 7757eaeb7765a4751c794ab08fac7bcb667e9da0 + last_write_checksum: sha1:f743e003d67ecc4b7b09efdda1a945c5d17d0fcc + pristine_git_object: f95a154012c2030be23df6299d5e6b813ac45f41 docs/models/threehundredandthirtyeight.md: id: 301ab171ec2e - last_write_checksum: sha1:de9bae3eb020171704e83de1b7113b866dc12a80 - pristine_git_object: 3de0b6349bf967ef40564581831a387856e474a7 + last_write_checksum: sha1:e93bfb84e0f99913b0f5a0614283823071c7dc8a + pristine_git_object: 877c78c569d36ee4f2079a75f16819faea83f673 docs/models/threehundredandthirtyfive.md: id: 292a15eb20d1 - last_write_checksum: sha1:03d6ff454cd0f82eb7b691a16517dcd0ba01ed21 - pristine_git_object: b69025abcc82b58d410cb8213972ab9df2da9d46 + last_write_checksum: sha1:ae234108e2efa2eab7f685bc8b654a5b5d5e149c + pristine_git_object: b5b6df275339a009a484847e43c13065887438b5 docs/models/threehundredandthirtyfour.md: id: cab73cb44791 - last_write_checksum: sha1:33f7f3ed0380206d780cf08d4cab7cbb81ea47eb - pristine_git_object: 0b64affd1b5ae989b307e895d0c720945fbac22e + last_write_checksum: sha1:28d30c792acc6fa4d943e1f99905c3e881e49997 + pristine_git_object: 21cdf5f8b9298e5d9b7855f013bb79b9a3420859 docs/models/threehundredandthirtynine.md: id: 422aee4d2b30 - last_write_checksum: sha1:0590249e403673ba4705557eaef574115280f779 - pristine_git_object: 6516e960ceb9319a7506269d42185241a2825b87 + last_write_checksum: sha1:99daadff5867ee38e1796905b7be2108d4962872 + pristine_git_object: 2e1e200c06b0734bbef5b24439f1133fbe70eec1 docs/models/threehundredandthirtyone.md: id: 2e4eae2fd5d2 - last_write_checksum: sha1:1744ba608b03bc26860bb0b690e362d3ae2a2106 - pristine_git_object: 6c4c9120d255a24ea84627b0c94e68edaa37b7f4 + last_write_checksum: sha1:2aeeb60d3e30df5eaff93303f0aa594dfeb2863b + pristine_git_object: ae9d0d67c6ddbfd50fe9c4233ec896e3001e9e06 docs/models/threehundredandthirtyseven.md: id: af7900c6ff35 - last_write_checksum: sha1:3c9eb9cdd05b6e9c895cc7d15b2a5efda20a0a20 - pristine_git_object: 63d3f05674e306604c07ed4dd48d4b0d206901e3 + last_write_checksum: sha1:81c65efe6df23dc84fbc261d9508b3f6b3a3d740 + pristine_git_object: 52083bf85f84524638b5c6225642dd4edb434f86 docs/models/threehundredandthirtysix.md: id: 1b7aa83848ba - last_write_checksum: sha1:f63a638cf4ba344894b368f8b625ee54069b7f36 - pristine_git_object: 6bee1e99ac0a52845f5773c1c4f208bee0579875 + last_write_checksum: sha1:6e52c98cf67ae9fab49d4d000826c74ca5227571 + pristine_git_object: 6c02adab677fd35de58d26f0fdf7a4b4ccccc300 docs/models/threehundredandthirtythree.md: id: 654f4ec5d979 - last_write_checksum: sha1:89ff5b10c73c3dc5ad4a9f3f1547c635e2771085 - pristine_git_object: 37b268a061045ed7247da2859942c7a1c69a2383 + last_write_checksum: sha1:f5cf0ba6b98f1eff1fd35fbe4d04488d668f25c4 + pristine_git_object: 25278a5ec17ee02781a90591c322883553bb1df7 docs/models/threehundredandthirtytwo.md: id: 7ffdd09c3076 - last_write_checksum: sha1:6054061efa9cb7b39fd3f95685e9222e57619a8e - pristine_git_object: 2e06ad8d75965c38e47940fa4e29a126e35a49d9 + last_write_checksum: sha1:78db25a3987defda0103ae731e3df2786b18bb8e + pristine_git_object: 67983cdf610425aff688c7add2089cb306692320 docs/models/threehundredandthree.md: id: ec37ea1408b9 - last_write_checksum: sha1:eaf3d9f37466536cd1fc1a4b346d44f0977fc89a - pristine_git_object: 10e90bed6728fc2c378526f56eda704f83d97a4f + last_write_checksum: sha1:3592e185c0a2846f4486f04ded1b801393758331 + pristine_git_object: d5b8289acb6ccc2f7d3d28cb39d8df2e4e74ec2e docs/models/threehundredandtwelve.md: id: 3cea5c6902e7 - last_write_checksum: sha1:7a963ac29758ee3aab97951d6d9b979a296ae5d8 - pristine_git_object: fbd9b8159090aa0384523ba20f92adfda2db870d + last_write_checksum: sha1:6e24702bee0b7ba2cedf713be3964845dfdb3782 + pristine_git_object: e551fa581413e96442fe41fd00c5139f576abdbe docs/models/threehundredandtwenty.md: id: 4caea9e918d2 - last_write_checksum: sha1:7d86e9e7d2652beb46c63b175387c7645c2d09c0 - pristine_git_object: 34ae528a5991a66120ddfda22d0f45a3d74ebf4a + last_write_checksum: sha1:b9f5bdc3c054caffe0cb21b35d8775dd24985425 + pristine_git_object: fa06f8c14e585cd814cf55e41d8cb9b4faf4794b docs/models/threehundredandtwentyeight.md: id: 92f92c4cce4f - last_write_checksum: sha1:c73daad9612727227fff50aef1716f3fc6da4dce - pristine_git_object: 673db260388f58eaf7177790508e4c20a0ef165d + last_write_checksum: sha1:02061cc20e5133416fe495725a79f173f7f04fda + pristine_git_object: 50e53161ecc39e5f7f8f7006829e74c217536571 docs/models/threehundredandtwentyfive.md: id: 567b8b11acd5 - last_write_checksum: sha1:7799dad45c3b9b50042f68e993e1121107fc267c - pristine_git_object: 9818fc4bbed997fb3c3b929f292b1b228e854c4c + last_write_checksum: sha1:2c0b8618e4cd385dc7fa5f05537fb38a5274a6be + pristine_git_object: 8667e0f938f03cabe0d7c3d762578f81f18a98b0 docs/models/threehundredandtwentyfour.md: id: 2b02d5180d9c - last_write_checksum: sha1:1643d83e5a6b2c2d27d32b69dfb1e070aff62b5a - pristine_git_object: c3c3373d68baad2db0540d73a16192cba95340e0 + last_write_checksum: sha1:2834dc223c60aef444332d28e2da779c6767aa91 + pristine_git_object: 1703efca79a021a9a6ecf2f1a30c861fad80ba65 docs/models/threehundredandtwentynine.md: id: d802e09851ad - last_write_checksum: sha1:5eb412fa34b21d18ade1a1e6557dce1711c5ddc3 - pristine_git_object: 77680bc66d8973ca1d00c40c80f95e4ca44eed60 + last_write_checksum: sha1:c68237a168d90378245df4e102f1c8b00ea2c982 + pristine_git_object: 9f175b1456019f5819e42504a0ad402c406e60e0 docs/models/threehundredandtwentyone.md: id: ce3a403fd9b0 - last_write_checksum: sha1:ddf1272aba385755f3f6cddf84ed0ac635357afd - pristine_git_object: cad34bddb5f5d892a59d7cc3548f9a7fe0a841eb + last_write_checksum: sha1:9a7279fa81dadfdc03d12a2beecf587129d16775 + pristine_git_object: 70965993b4c080a6f13c284acab3bec97be11bb7 docs/models/threehundredandtwentyseven.md: id: 91a51c02fdea - last_write_checksum: sha1:83972f4d9df5d7e6670770a9edb4ee1d309d8e1d - pristine_git_object: 137511ac84575fc9886d0b4d8900fad1ee6465ef + last_write_checksum: sha1:00cc86747f86794e4fd184c1fcdd6470651d816c + pristine_git_object: f0dc7371be6ad08e0ea137be5c175944c4354b20 docs/models/threehundredandtwentysix.md: id: 21b5865af2b5 - last_write_checksum: sha1:08207c5fabbcdcfa7da273a69bdd35caea93a644 - pristine_git_object: a8f6ab56e6fa7141b3820247f0a3ab999953300f + last_write_checksum: sha1:9d59d02cc269a4ac2d06a543c46e2955a4f19c60 + pristine_git_object: 8c4745afced59f4ea479676bfae06e9769acb46e docs/models/threehundredandtwentythree.md: id: 55d220fdc3f2 - last_write_checksum: sha1:b0b50a6063e22b9f71a8ac8c9c6b5498ee3a2c53 - pristine_git_object: db3801b6e5f651627635a53cd7e74cf5920d7101 + last_write_checksum: sha1:fa619c12397c6ae8bf4523813fabca7be017d9bd + pristine_git_object: 512d5b55df1ea3dcd2aeaac7ee822eaf080375ec docs/models/threehundredandtwentytwo.md: id: f5b26c6a2c7b - last_write_checksum: sha1:67c18fc2e1e6e271d639131d18dd31a13faf9b38 - pristine_git_object: d8e0f082951b8541f5be8482f67638de065e3e05 + last_write_checksum: sha1:3276f6cca0df2434362ae82435fda5aeb7e71041 + pristine_git_object: e9cf5112ca430c40dd47d4598ac43f41ba0737d6 docs/models/threehundredandtwo.md: id: aa9b8cb3df3d - last_write_checksum: sha1:d454afce1198b9e4c06a5d66d0e78288f46f20f2 - pristine_git_object: 773e7a57e9240da006aaa238ffce5f9d86b26868 + last_write_checksum: sha1:d423703c44860cfbb94f6a2d37e4b96baeeea06a + pristine_git_object: 69b0a3c8f81d630a0a4a542ab25cabd13c93868a docs/models/threeinfo.md: id: e33700351665 last_write_checksum: sha1:984c9c99cb12cf3650971cfca2a31c8005ad39f4 @@ -39923,8 +39987,8 @@ trackedFiles: pristine_git_object: ea53cfe8ee33cf43c4a37b615bcbd9d9a459360e docs/models/to.md: id: 0ebb118c6bfa - last_write_checksum: sha1:d5e408c806f60060a810bb17afe04336bfa193be - pristine_git_object: 9a5eac92bd188d6b225ace970b6a15f92bf0be08 + last_write_checksum: sha1:8c05ebfae1ecb515f8cefe94def2c977fd287e0d + pristine_git_object: cdb8bd241fd69bc03d63579d42d5f79270b8ab45 docs/models/to1.md: id: 27c8f1c02ce9 last_write_checksum: sha1:83bcab9aebcb2d890f7e06809dd59c9287be739b @@ -39935,8 +39999,8 @@ trackedFiles: pristine_git_object: df7bad159cd84c786df091c2edf310eaf88e46f8 docs/models/toaccount.md: id: 10253fe1d82f - last_write_checksum: sha1:ccafdb30e59de0951562c8c894db327f1d176c4f - pristine_git_object: 692d9daaa8742dae81bf05814d5c6e44e0bfdd17 + last_write_checksum: sha1:cdb81ae32216fc9d1727ba012f3aa24fa92edccf + pristine_git_object: ba9a078113b37629d989c64d92d9f97a52866c71 docs/models/toadd.md: id: 48a81be8b0ec last_write_checksum: sha1:98b8f5ad77455fea941cb79c275e7a0101801397 @@ -39975,8 +40039,8 @@ trackedFiles: pristine_git_object: a13948642ede08e53478b0b23711c58c61589e19 docs/models/toplan.md: id: 6d243de5358b - last_write_checksum: sha1:f0226e42ec8ef98aec6f95d9327b11ab421e1a2c - pristine_git_object: acbb9f05042696a3685d6e4a2a6268d2b9dfd1d7 + last_write_checksum: sha1:1367845c63760cf25ad82845d1c6bc8e2872ad82 + pristine_git_object: fbd5ced1863a202725b6a7eae8ce064b0700750b docs/models/topreset.md: id: 474071365d60 last_write_checksum: sha1:0c33530c19147ad695cad264a07fc4f168170fab @@ -40075,16 +40139,16 @@ trackedFiles: pristine_git_object: 94ecd58ff343784b4c47c9b35d8ee5c86f594822 docs/models/trial.md: id: fb1fa96a998f - last_write_checksum: sha1:46bfd2326384873d4c61d70e77e96ed7e7fd279c - pristine_git_object: c9090c3a3a4c92283b0f839ab5e5a098646fe6d0 + last_write_checksum: sha1:e17392e4e4e7b6d3a9b195fd7fae560a5563fbb3 + pristine_git_object: 3fdff92f52d652341f918bbd9d2dd758f474e16e docs/models/trigger.md: id: 440750569a4b - last_write_checksum: sha1:8b6b1a127c1734fa84f64738db7c2757bbaa53ed - pristine_git_object: d9ace22028c68a111052c71308ca5999886c5e26 + last_write_checksum: sha1:150b6d5298c494da0edd466c25eaa9ceb610ed28 + pristine_git_object: 4d9836f1d03d86a6d0bc410169cd38041e54704c docs/models/trustedips.md: id: ab15fcfe4f01 - last_write_checksum: sha1:4ee240a521d0d5517896e407b2e0fa45607344ad - pristine_git_object: ad3c0e5be577b95294c414134d3a6858e7c90aa0 + last_write_checksum: sha1:ccc317210be69c63a89c004a5dba4ce0f1023749 + pristine_git_object: 6f5b31a1c9651ddbd771c658bbf18aa13d7ac6f0 docs/models/trustedips1.md: id: df2641994950 last_write_checksum: sha1:51ea7f4c461752ee039e6e6dab64cb28001c9791 @@ -40115,460 +40179,460 @@ trackedFiles: pristine_git_object: afb9a5d991e772e841030e6ed26c9236e8be8d12 docs/models/twenty.md: id: b2412a4aec83 - last_write_checksum: sha1:6b1a8941cd379ea2fd7ab2fea5951a6aa7a5f3e0 - pristine_git_object: b2847b31076da892136dba1e5857aadd758213ec + last_write_checksum: sha1:4ecf9bfeb31f00632edba6996aa3c29dac734e41 + pristine_git_object: 592932ee36b43a2534d2c16b43ac05c9ad94691d docs/models/twentyeight.md: id: d4a3a689c8b4 - last_write_checksum: sha1:33b840980ab415c264bbecb93b4b96ea0ecdfbaf - pristine_git_object: b0259a05fbfa2598a431e936ded72e8d96ba2704 + last_write_checksum: sha1:c71d6cb1858b5221a0879eb10f90b5a82d75472c + pristine_git_object: f6b0ff366af8424a63e3cdf2700f41bd44f00e06 docs/models/twentyfive.md: id: b35e0890da8a - last_write_checksum: sha1:f0b656e51c12eb080d204a2da684dc83ab084cd6 - pristine_git_object: c1cf75f15644e76d9f7e2713d533a4cab5032f79 + last_write_checksum: sha1:e25a4bfd061c560a3420a6a31c6377c6dd9e9f3f + pristine_git_object: 5db7b06c1178a71d19083907dc51ef33aca5778b docs/models/twentyfour.md: id: 80162508842d - last_write_checksum: sha1:dec9119e34dfc2b9bd1f2574b98b13a6cd096f26 - pristine_git_object: 2ae66115bba0191f06a34c8c85a03e3c5acd03ae + last_write_checksum: sha1:0da522c266c27f7fa06cffac9b793bfd4f8786f7 + pristine_git_object: 0372ff2839968cc8d18f3575c667b74a3bd7a18c docs/models/twentynine.md: id: 8220eeb387a8 - last_write_checksum: sha1:6eb944485aaf4606a5152557baf2e59ba8ee2589 - pristine_git_object: 55bf6be1153ccb2af1311d051f732f8070927e90 + last_write_checksum: sha1:f8c2aab5090fafca0eaf70577d4d5f415629c9c5 + pristine_git_object: 6a37d4cfa6cbf81359e94426a18cc618458522a4 docs/models/twentyone.md: id: 370fe99e277a - last_write_checksum: sha1:7f4f1a782212cb9db8a0acc4b7ed294f4f72fd0c - pristine_git_object: 1d4e1a7bc8917caea589ca86c6c707fe31ed768f + last_write_checksum: sha1:9a15418e221c56b4400ede30d433208f9f219b4f + pristine_git_object: 7568069baacc7115bf0680ea371ca91f125ee7bb docs/models/twentyseven.md: id: ff42b81d3939 - last_write_checksum: sha1:23770739ded41757cae431f553ddc72c60605b3b - pristine_git_object: 15350dcb5d4fc423a598b64949392ea23ded5831 + last_write_checksum: sha1:ecc5675f1ce0e7eaacf9b95c2e626ed61644c7fc + pristine_git_object: c2d6e4421b7727b99d1a3db101f6f5e004e34de6 docs/models/twentysix.md: id: 3c9c2505f07e - last_write_checksum: sha1:7c97aebc4f16b55e747b55e7112691eb72dd7790 - pristine_git_object: bdaf58abaab1148b8c659668e6d72c4bd22a191d + last_write_checksum: sha1:856dc3061eeba44571011af0776e7963bd4f8d83 + pristine_git_object: 81c3b1bccd8ae08dc844ee252eaaa30b73e1128b docs/models/twentythree.md: id: fbfac7a8700f - last_write_checksum: sha1:337f2215cc872959c1f99244749d53832388c678 - pristine_git_object: 961adc067f5da75ff4ed65245680e6bd8f0a54fd + last_write_checksum: sha1:9a2049287addd9811f349158cfa0a2626ad1c57f + pristine_git_object: 334e5386ef98b6cc1256598404c9711c8d4d9cd6 docs/models/twentytwo.md: id: 1ee81731fcf3 - last_write_checksum: sha1:17157b7453dddabcbee9d435454f50598754e0b4 - pristine_git_object: d891d2685fe2541f09272890fab5b7d77960c49f + last_write_checksum: sha1:1f3a93cfd1b1c4902963bc2581716ad541f61b95 + pristine_git_object: 6e20d6f3dc66613faf5747564741e2baf7a0f98f docs/models/two.md: id: 3720b8efc931 last_write_checksum: sha1:64e10bc509a6e057cca15b9ac37c641be608aaee pristine_git_object: 8fb65ccd63c84c7e9cd5910126731ca8da6aca76 docs/models/two1.md: id: be4aa26af818 - last_write_checksum: sha1:ddde19b59298c4d9ac7da5d95e4afb5c8f8e8a41 - pristine_git_object: 5e8fcd22462c6bd2584684c2c747c0985cc0a6a3 + last_write_checksum: sha1:bde1977bd2221eccfc66479420cab5c57cf134f8 + pristine_git_object: 68749277153d707b8d110855f7ef811c501ae7e7 docs/models/two2.md: id: c513b0facd00 - last_write_checksum: sha1:fe70e23425bdedb1d8a876174b80515ba1c6475b - pristine_git_object: 2a62cdda74ff4903d3f107ccd7fa2a9bd354309f + last_write_checksum: sha1:f51b063243af851391642d068b0db7e53017b2b3 + pristine_git_object: 96e76eceee57bc1bfe746918579a60c7a8eddab6 docs/models/twohundred.md: id: 21046ac53f59 - last_write_checksum: sha1:58738a98e52a3f97d8148add479cbe30017d1a81 - pristine_git_object: 1058ffdc54a8c2143421d5d646201bb6183c64e9 + last_write_checksum: sha1:ba106ff8ced0c32834d3cc6e524a6438709331d6 + pristine_git_object: 1de6f150181f57e4c93d951f984875674d5f6965 docs/models/twohundredandeight.md: id: 7167715525da - last_write_checksum: sha1:c9a6d445195355079c594c543f3460efb46d87f6 - pristine_git_object: e30f5e92dbe73377cdc109f1ef3428ed195db5c7 + last_write_checksum: sha1:85b349febf70673b5da96abdeab323f1cf1aaa2a + pristine_git_object: b9244921b5aa091b52631ba62539da91e0adfd1f docs/models/twohundredandeighteen.md: id: 0faf0d7b31c1 - last_write_checksum: sha1:620a15a3d03f94667950d753265985f8c288f6ff - pristine_git_object: 225b3021eb9eb35bf9fdaacbf7853a958d2442f0 + last_write_checksum: sha1:e5a40cabe7e3325f8e6fdd7f20554f0f1bfd411d + pristine_git_object: d73c574896a5bf19f775629158f47baa62a5a636 docs/models/twohundredandeighty.md: id: db8fef468089 - last_write_checksum: sha1:96cd07b9c43ecd5a7cb74609ac29c1bdcc710d8b - pristine_git_object: 2897fb4d3c60e363d525ca3831b1f7787ed001e6 + last_write_checksum: sha1:5a514efeaec2daa6e765c2cd4d0440fc501b9bb7 + pristine_git_object: 377df504f4c287aca86c4b1b6426ce8295c07985 docs/models/twohundredandeightyeight.md: id: f5d0367562a0 - last_write_checksum: sha1:2bf8a46ebe05d4b064b353255f86ddee82c9cb9d - pristine_git_object: fa9da9f8ad62cdddb367afa8e4f38c58f8f9fd5e + last_write_checksum: sha1:5f21506b498801eaa4872a9b97584c3622bfd832 + pristine_git_object: 733cfaf5820f9dcf483224e2f99b506691a298bc docs/models/twohundredandeightyfive.md: id: 29792d1beb94 - last_write_checksum: sha1:c76d72d6c5b1a7d8fe0244b2f146f03245cb6574 - pristine_git_object: 7806ea93efeb757e23090eb647d7fd83053d0539 + last_write_checksum: sha1:c2efc01cf1c149a5d3b10770b371d7a32e224e89 + pristine_git_object: 43078fbf1a056696a927ba0aa5912c3c49cdb1e5 docs/models/twohundredandeightyfour.md: id: 41b9f47c4c74 - last_write_checksum: sha1:aaa12d525e170a24563c22f964e3818b07fff095 - pristine_git_object: 9bcbac19b0324bfa693790cc976e7c4f144b3651 + last_write_checksum: sha1:b0cb8d1df69533a36388c8faa0d2d614216eef5f + pristine_git_object: c4323e076cdfaccf8da1c87f412477d7ca3771d6 docs/models/twohundredandeightynine.md: id: e655667c19cc - last_write_checksum: sha1:feefa010e4e84bfc03823a3fae9a40ffe0c626d7 - pristine_git_object: 1dc89d3b06c8bd36767c987a0372ee918a185c9c + last_write_checksum: sha1:fe3f8fb705d86f3aec5c8734142bff505f2eac25 + pristine_git_object: 5988817fc491b6afcc3e7e672007e0834f167844 docs/models/twohundredandeightyone.md: id: 89febb6a09a8 - last_write_checksum: sha1:2b877c2603c7eaab4f39cbcdc670ae3058eb5430 - pristine_git_object: fb92b177645156a7e8450c69bc66e2e1d9bddf0b + last_write_checksum: sha1:19761c12a62a5ea7c94ed979c79417c8cabe9260 + pristine_git_object: 982bb21fab6a6baf1c13a1e8cecf20e5e08c09da docs/models/twohundredandeightyseven.md: id: fcd83adfb0ce - last_write_checksum: sha1:6b9eeca1b11d6f857767ad94aafdb0a301893d06 - pristine_git_object: e15f3fe46f89e2573e6b7d30c36f09ebc5cd0952 + last_write_checksum: sha1:5b302fc402e6bbf7be5774a25876164f6984f077 + pristine_git_object: c353c4280a53b26027470a9a04c56221aed83b33 docs/models/twohundredandeightysix.md: id: 64247d3cc973 - last_write_checksum: sha1:db30a32205f994e7b433fdb5747bcfcdb17d4dd8 - pristine_git_object: 6660a5aa5df9a85daa3f88ce625cf3edc594f4c9 + last_write_checksum: sha1:118fffd36a093dc69b04f2bb41da04066db72808 + pristine_git_object: 2de7d9eb5a1f2ba329fe13f5b734d5b89be2232f docs/models/twohundredandeightythree.md: id: 404c3c2e76e9 - last_write_checksum: sha1:1bf9225471df9493109e73c2b6b8f0da201a2d07 - pristine_git_object: d95a6bac84a0ffd5d8de0390d9c409aea904a3e3 + last_write_checksum: sha1:c43e9f9b68e651418c96d90d872613279e03a421 + pristine_git_object: c3ba18317d64b226bc8790a672da7d62b914e61e docs/models/twohundredandeightytwo.md: id: 01265f4c417a - last_write_checksum: sha1:17a742f217ecbeefd43ebcdd1d6f3defc1d927a5 - pristine_git_object: 552acd409872451bb6eb9dc70e0f8631dcd95c89 + last_write_checksum: sha1:45c9ff2b906f79bc52121b2fb591fa5dcb27e91e + pristine_git_object: cab64e7d5e5024251aca7c000326362156d52eb6 docs/models/twohundredandeleven.md: id: 172c13f94d2c - last_write_checksum: sha1:24114f2318a92315ef6d53361ddc9d496cae6902 - pristine_git_object: b4f827d8e59d20042fe8ce548c5a9683e322c98d + last_write_checksum: sha1:e2f9134a8c1eba7f5b231857a6b229ffe3a9a4c1 + pristine_git_object: c41a07518666977f08e6b9dc6abc3466c62c7f6d docs/models/twohundredandfifteen.md: id: d439ef2d1ddc - last_write_checksum: sha1:393076aca338a1a617ffd111b545017bab545b42 - pristine_git_object: 11fa6bd8f0ad9e60f92fa905df2cbe87ecc2ea30 + last_write_checksum: sha1:d987dcbbe22d9ad739e3dac911f811548db97a71 + pristine_git_object: 643bf762b368171906a1ba650535148e7a9d7eae docs/models/twohundredandfifty.md: id: 4d9eec6c3304 - last_write_checksum: sha1:8f1c26a558253d3610b20eef70e8cfe73b49b756 - pristine_git_object: f8152361a3380aeb4776c2ce0b3b9f7ad58b9b88 + last_write_checksum: sha1:6be182c64eb67b73f1929680b6feb9e69df38508 + pristine_git_object: 9bcbc5adca778e7a52365a8177d04976cc9726bd docs/models/twohundredandfiftyeight.md: id: ee51ec70a9b2 - last_write_checksum: sha1:d01a40aa365d4a1a8eabd549a9edc06a57fd96be - pristine_git_object: 2a31818d032e6563ba0db2c884941b73c127b106 + last_write_checksum: sha1:ad1febf275e413683c384d5c9dff3a50a7b58a6b + pristine_git_object: c0bd3ab76b74e534f7ae976e2c9197a828b8b524 docs/models/twohundredandfiftyfive.md: id: a3a80468506c - last_write_checksum: sha1:01cf39e520cbeda31364013cd155af5f8ce22547 - pristine_git_object: 3cd00ef199be376ce0e10d57fdf6b247eebc35fb + last_write_checksum: sha1:4d1b40b4a7eabc11add5c8bbab0734c0431d375e + pristine_git_object: 0f04bcd8a159a3989caf45a76740cd7c71d41d2a docs/models/twohundredandfiftyfour.md: id: e00c33fff875 - last_write_checksum: sha1:f9d2b82ad5b28ffdda4db6159929f72cb4a27a75 - pristine_git_object: 8c6677b043958717b67ccefd557347b66f371a2e + last_write_checksum: sha1:603289c8f2e29e2212e0576ab3485b1475ff3b22 + pristine_git_object: 8b0216a768e7addedc9176b3b47d77376a5411a1 docs/models/twohundredandfiftynine.md: id: 4f8fab308edc - last_write_checksum: sha1:a1261bf50d6638e7e4bb70f2a7506c04db072ef0 - pristine_git_object: a91da9f5d09411dc626440064901628d5dbdff84 + last_write_checksum: sha1:a60abaa9e6f6eb4758f39d6a42b8ceb92cbe04c2 + pristine_git_object: d61fef00f8324903c15299190322300fbe8cc1e5 docs/models/twohundredandfiftyone.md: id: 71ec9b2ff8b0 - last_write_checksum: sha1:1e50e2967271c21aab5888b36fc4f38046a6f647 - pristine_git_object: c7afe87bb5b000f4cbfae675574bcb67f21ca020 + last_write_checksum: sha1:88c769ef344a80c13361eb07c38595b7395c9c3c + pristine_git_object: d9ebd384e7efd4fbb358edb6a8288a38570f7e46 docs/models/twohundredandfiftyseven.md: id: a66029697871 - last_write_checksum: sha1:2eb2ab541621d21f4345ce189d8a97d31b76f605 - pristine_git_object: 00e6f5a12f13e148b4cc40a3a31ddbea0e81574d + last_write_checksum: sha1:304281b7761f9f4fa2976b810f1a80ff49174682 + pristine_git_object: 828aa4b0348ec8c849ee8047d45c67eda0bded19 docs/models/twohundredandfiftysix.md: id: e37a591c8338 - last_write_checksum: sha1:70eda90f08fba9c2d7775e2876949980b879a780 - pristine_git_object: ac03a09b044f1883c655d734e5a862abbc47f68f + last_write_checksum: sha1:7f26769aca681bfb06e9161595586dbd87fbb543 + pristine_git_object: 1480e16b463fdd2c69716d9e4fda396c7c5256ed docs/models/twohundredandfiftythree.md: id: 9854e2446120 - last_write_checksum: sha1:73c947349bf1d45b4ca11a45101066e4f4be5d4f - pristine_git_object: 2fbd7b4c5810b6c38360d9be274dada2b76e3522 + last_write_checksum: sha1:90e84503d17e0dc04be48a6eb2a8cf257e1e4a17 + pristine_git_object: 944db8cd6b8b663b1fad15d20b6b0492e4844161 docs/models/twohundredandfiftytwo.md: id: 7502fb7dad94 - last_write_checksum: sha1:c6c113d441fdf335f07c175104108de3fe720ca4 - pristine_git_object: ffa47264e5dd0f2effb49c904409467b3df576df + last_write_checksum: sha1:f27fb18f8c862808cd3537218eb445ab30c46b5b + pristine_git_object: 8d554aeee456688add586c2b8c7d89a36f1f806d docs/models/twohundredandfive.md: id: a5ade387dca0 - last_write_checksum: sha1:563a14c179c7cea54084a17cf26725aeff183bb2 - pristine_git_object: 23765c7af1f075def6eaed3e5891421b7fdd57aa + last_write_checksum: sha1:ab65297ff9cf2dc62ebea7b49a82213821385f11 + pristine_git_object: e4f3166ccc7c33185488805905a7552503fbdd62 docs/models/twohundredandforty.md: id: bd5d6ae7cea0 - last_write_checksum: sha1:1cb298f7ece90a13ee20fbddf704219607fcc904 - pristine_git_object: 1a26a93d09997cbcc05914da3b11f75919adebaf + last_write_checksum: sha1:f6689c035c0368009d6502d16384bc3b8641208a + pristine_git_object: e57e178f3c79647add1f3d4d8ee34e6369b4257a docs/models/twohundredandfortyeight.md: id: d09592cb7856 - last_write_checksum: sha1:a61e271ca55c89442ffd53e97b94bbd5123aa178 - pristine_git_object: a0ec9cfb8a4d94ed5ba235a2ee7f4c5530508cba + last_write_checksum: sha1:5297c3b79d9c58a3f9f7a6b921ece58032a4e815 + pristine_git_object: be30d60ff17a6dae85a11124a25badd4ee76d9d2 docs/models/twohundredandfortyfive.md: id: f8e4cf8fabe8 - last_write_checksum: sha1:b54c1f251d47b13e75717e81bbb58d80810033ef - pristine_git_object: e06e64449977e2e254d96905d0808abfca720634 + last_write_checksum: sha1:a0f527e9a6805ec41b65d48cc3ed068dc2878fa7 + pristine_git_object: 9a1a0ec7af94bde2a8cb980e8913be165a69081d docs/models/twohundredandfortyfour.md: id: 246f78e722f5 - last_write_checksum: sha1:79b9ac0243a20b58855cd6c0787dd6753d749e1d - pristine_git_object: 767f98952704ef8ee5040b2c0f59fc5626756edf + last_write_checksum: sha1:5f4d1a30951ddcf2c56d692cfc3e54eb5f03c93f + pristine_git_object: 74abf09df6640ba8c675d7a89516740642f74ad5 docs/models/twohundredandfortynine.md: id: fa4319c0ae29 - last_write_checksum: sha1:379b63aca07a73936d2652fddb6dcbb017587edf - pristine_git_object: 7013ee9f2839308e89dfaca21ad9eee68dc0ce7a + last_write_checksum: sha1:19ed4f2812ec3fd10348590c89b2666ba1e852e8 + pristine_git_object: 378670fb8c044f970a11ebb8831463faae6dc98e docs/models/twohundredandfortyone.md: id: 790e66b8d660 - last_write_checksum: sha1:35fa4a0bb2e4b688ae3e1e1aede307d54e6b631b - pristine_git_object: 3bd2c5007e52aa925ed74b540fac2428d98798eb + last_write_checksum: sha1:06a42e907f89c6dce3fb7831cee55c64a3a90878 + pristine_git_object: b70d304526ed78af13f0a575eb9b78d02e27411b docs/models/twohundredandfortyseven.md: id: f4268b103f8c - last_write_checksum: sha1:185a05e81768f103628722047fb4476cc9d7b5df - pristine_git_object: 37a4e6efab33a53b6b852c5f28c059824bc1914b + last_write_checksum: sha1:c9ffc98781689c766cf7dd525d059435f79ac532 + pristine_git_object: aa96429492780b06316d46e30fb2ffe745ee2860 docs/models/twohundredandfortysix.md: id: d24c209695b4 - last_write_checksum: sha1:5e14738c46a6d0b0944a159e82390ca970b99f46 - pristine_git_object: 8be0df54ffc1143fd3fb72caae23ac0d4e3e08d8 + last_write_checksum: sha1:846a80ee2770cc4e064a0ebc1f7ee440ed2f42e5 + pristine_git_object: 33f4fcaa1084b083b7d2551a28ea54fc14605eab docs/models/twohundredandfortythree.md: id: c3a7891aca40 - last_write_checksum: sha1:f34eb33359563d95351aa02c23a7516aa606f700 - pristine_git_object: 6d1434e23a1693b9c546ec4c0c65fe46a14c9053 + last_write_checksum: sha1:5e94bd96bbb7ff883ecc245f70e516289d75cd0a + pristine_git_object: ef87f398d5986eb5347b8b06190e049a8e5889cc docs/models/twohundredandfortytwo.md: id: ec66860fe7df - last_write_checksum: sha1:a4556f8ad5aec2fc2d85676eade04f18869306a2 - pristine_git_object: 3c1701d26b4024575a145221fedf975e6afaf3b5 + last_write_checksum: sha1:6fbce963950390a08f80f4fe55838d5339d1a35b + pristine_git_object: 6c113b3a147f786373c76b7bf3f5864b14fffe86 docs/models/twohundredandfour.md: id: 34dfa3fcf5d5 - last_write_checksum: sha1:05e021066fec8281a72344c4d5f963c19e22c148 - pristine_git_object: b883e3a623d638ab5370486ecf67554e3d61241c + last_write_checksum: sha1:dacfc91a795205e3844527396e6dd3e3687e2b48 + pristine_git_object: dd9ea069cd2fce7709607688718f1a032ce4ffdd docs/models/twohundredandfourteen.md: id: a8f9d0035c56 - last_write_checksum: sha1:7878c04fb49980a20e1dc6ce64100fa98a3413b2 - pristine_git_object: 9d5d5e86643bb93baf89abc224e1396c2729d0a6 + last_write_checksum: sha1:7ba4cd7a6345f4ac51b1c970005fd4c89cdca7b4 + pristine_git_object: 6260c9a6158200c85c42074195858b34636cbadf docs/models/twohundredandnine.md: id: fd6012e1ab4d - last_write_checksum: sha1:8fc8cffba5a30f8344bbd1910bf9ed6aae847deb - pristine_git_object: 8d2438891e926b1f270032983a14768a0b95f034 + last_write_checksum: sha1:2d4995b103fd30164f11e228dfd9e26a87585990 + pristine_git_object: a34b5c0cc8bb5c0f2ebb0eb36f9812c02493fbb4 docs/models/twohundredandnineteen.md: id: 50b2e41d0ee6 - last_write_checksum: sha1:afd5db8d97415a1b2231d574076f247b5f191a65 - pristine_git_object: a9bd1e36b25e5cb23c54916b79688f2e1a01ff61 + last_write_checksum: sha1:fc5cc6c75158bfef3ec7234074b0aad4620e02f2 + pristine_git_object: 0ad152d25026bac132367a76594bdb99e0189a28 docs/models/twohundredandninety.md: id: 1b0e0bebe149 - last_write_checksum: sha1:67734cdd337fc4af1f79057de35b1e1aa950408c - pristine_git_object: f5eb650f11b107cb76bd2ea46292371d1abf63e3 + last_write_checksum: sha1:d7a70f5788d018283d20569eb262e83adbf8c1a1 + pristine_git_object: c29e7d5383e0ed1fe85b9604a7a309e66a172465 docs/models/twohundredandninetyeight.md: id: cd101558af04 - last_write_checksum: sha1:fc01cd3c6a8713e47ab62653705ba4c175fb07c9 - pristine_git_object: f685dd2668c66890791c88d10088967321ee89f3 + last_write_checksum: sha1:5fe59076df13925fb109b11d008bd7fbb22a0c3b + pristine_git_object: 57ba1149a81f8566f6fa914937008dbb7070c50d docs/models/twohundredandninetyfive.md: id: 00be296f8260 - last_write_checksum: sha1:38f2f077670ae7c978ac6c03ff6b69d0791f42ef - pristine_git_object: 1377d245f8ab4a721015a0b9580451eb00d529c9 + last_write_checksum: sha1:aacfd3d3750633013d2d41e954d5a76514f45096 + pristine_git_object: b3cae27f5d361d469ec1910d683d1ff0e6c0fcd9 docs/models/twohundredandninetyfour.md: id: ec96cbf28337 - last_write_checksum: sha1:67bc1cb2be59ee8e9853f7951a9e4d3aa2f476ef - pristine_git_object: 23720942f135a06d2c6748309a695aa31fa94beb + last_write_checksum: sha1:55b244c9e68e25bbb329afc7ad346dbfa6a70f0b + pristine_git_object: 9e368728dc278de9bae13540f0431c2dc2859c85 docs/models/twohundredandninetynine.md: id: 04866edc4cd5 - last_write_checksum: sha1:b8b1b774730ac462d054f29b16317411cf6bdddd - pristine_git_object: 3386d17d917cc8d0db41025f93210c871204a087 + last_write_checksum: sha1:4f62698e60216efbe85bd13e26436a66d0112022 + pristine_git_object: 2a4a1a9716f7dfbce2b0eacfb544f3b5c5026f82 docs/models/twohundredandninetyone.md: id: 589a9567d664 - last_write_checksum: sha1:11ef6b1322225a9fc383c39c8bb0831c99832fb0 - pristine_git_object: 0db9b37525cb78d3865d728a9e34c713c5c80093 + last_write_checksum: sha1:f81d179cb7b492c8b25f59acbfdeb5200ed30a1c + pristine_git_object: 8beba64ba608b3ccb5e23790d80ccea9342346e0 docs/models/twohundredandninetyseven.md: id: 82ee0194dc65 - last_write_checksum: sha1:23884c9293ff217b52ffd7e107a8fe9751839d21 - pristine_git_object: 1bf8cc612e2d231341c7ca7bceb9f1e08f8267c0 + last_write_checksum: sha1:774b0ec4ba974b6c0b8d63f6d9ab33e2805f6ed3 + pristine_git_object: d79d35ec438b0e97beec14246012e4933d9c9559 docs/models/twohundredandninetysix.md: id: c1270926efb6 - last_write_checksum: sha1:0211bbb428a15e2603af997c7185aaae161623d8 - pristine_git_object: 0ffb309070cbf0af47a56eba77f867d90d36c5f8 + last_write_checksum: sha1:648784b93c32f24141c44b109273eddf859e5361 + pristine_git_object: b8a031776fd72d7c21bcad3ae97fd6dadde2aa5c docs/models/twohundredandninetythree.md: id: dd4652ca902d - last_write_checksum: sha1:26709120bb106d482536c784ab4d9881adbd3aac - pristine_git_object: 73ea64b0e267ac6f8394a3c9999ea3115660fb50 + last_write_checksum: sha1:81f899f97b305d673d82fb0dce5233eeddb78d2f + pristine_git_object: 218490ac6b7709b37e48aed1229809d93b1df7bb docs/models/twohundredandninetytwo.md: id: f7d92f0de68c - last_write_checksum: sha1:de5b50a036570b67745940f3587af2f74377acbb - pristine_git_object: 00c32c1d6b5fe5f25b394184c74072c0dc59ccfc + last_write_checksum: sha1:e6e93a9d0d7cfa4596a18fc26ece3bad4aa8a660 + pristine_git_object: d23e605b2cb62d6cae62287fe0a1e87643939691 docs/models/twohundredandone.md: id: f2298e162f77 - last_write_checksum: sha1:027b3cd4140c27fe2bc332d58ac5d6643d6fd23d - pristine_git_object: 6c0bf3710647944d8a53451c1b71c4e910ebff28 + last_write_checksum: sha1:0f9791d1b10628729d24d8f88c5b998f8d55a068 + pristine_git_object: 37fa00167bf9fcd7240dce3d897d7a07ab55ef66 docs/models/twohundredandseven.md: id: 703d0ff3b830 - last_write_checksum: sha1:597f9237473804f96aae80f1f293e04ed3948f4f - pristine_git_object: 0e5b5305fc61cb76696422c6facab16e00e66486 + last_write_checksum: sha1:afe8cc4f24765568168d11abd4520c5dab9534c7 + pristine_git_object: 628224c86f087e89625e485d0cc5ae5832e353fe docs/models/twohundredandseventeen.md: id: 119ed71440c9 - last_write_checksum: sha1:032287a31557629cd01f67aaa98f07b16ab328fe - pristine_git_object: a1c3c95b590105d2c0706e8b923daf1bc496e45f + last_write_checksum: sha1:bb82776b10f31bb080775deb3ba1dbc6a7db8715 + pristine_git_object: f0973e91b757962ddcbe06489bc5637b8552d392 docs/models/twohundredandseventy.md: id: b5f67b31b18a - last_write_checksum: sha1:eed336c375f3a11fb67ab199b9395fdb97fd91e8 - pristine_git_object: 0cce3b3db5369bb997019797328b50d511020774 + last_write_checksum: sha1:374e9a85e08aa3aceeeb3cb8412c310c6128fdf5 + pristine_git_object: d4cb56b3d0078d758121ad806c0390097ab88c26 docs/models/twohundredandseventyeight.md: id: 8e3065d4a9b0 - last_write_checksum: sha1:9d1c2a823765a385ec506ec31fa52674aea8ece8 - pristine_git_object: 0732576c3a41793352c2988415a3726501a624f0 + last_write_checksum: sha1:6b6540c276e8b0c2a46aa0128610d0aa209ad0bf + pristine_git_object: 0bc335f25a892ddc53e00b4797fb0607a463a8bd docs/models/twohundredandseventyfive.md: id: 839f399c5eb4 - last_write_checksum: sha1:32dc778ae1b939b702b12c2c93c05dbb1d6e1d56 - pristine_git_object: d4dbbb0a81ecdb4baf31e7aebfd82b0734e0cfd8 + last_write_checksum: sha1:02c8905f842b5ba51a3735d1e100862c652b12ab + pristine_git_object: abd4b75b6961d6b59e07f6c8767149775be6cdb7 docs/models/twohundredandseventyfour.md: id: 1d1d7f36ac49 - last_write_checksum: sha1:e662df141b8bf5d16c17346ef72e5699d281c193 - pristine_git_object: 6c116e1c6c2076374dbf6955a1dd2ec8ddaf3a49 + last_write_checksum: sha1:16fbd5065718b3ffbc6f8c107a44e23645003ff2 + pristine_git_object: 95a243323a2fee177d3f3402b3a3058bbdfa35b0 docs/models/twohundredandseventynine.md: id: 70b345130d56 - last_write_checksum: sha1:7b59ebe3ccf6368c5dc3332cce0a70e73f7673d2 - pristine_git_object: 4514404b1ebb93f8af7de81e354cf4d04c4b824a + last_write_checksum: sha1:b175e8a1a90764bddeb2958f14714e6fa9ee1e7b + pristine_git_object: 3f59507051b3c48ca507d0243571eaee79dad46a docs/models/twohundredandseventyone.md: id: 91109c22e037 - last_write_checksum: sha1:a75977420dac651cd35cfc2f4b1414365764fef6 - pristine_git_object: a6cf58026fd4dc4f3b58847a1d9aa39303e76f7a + last_write_checksum: sha1:548e6b2546201ff152ff247ace63bede137bdd7e + pristine_git_object: fcd4c620cbe27f98adbaa42d58bb9c434dc1aa49 docs/models/twohundredandseventyseven.md: id: 4b93543fe478 - last_write_checksum: sha1:b31cf7cccca092a7f04e1458486253274d0bd722 - pristine_git_object: 9e6eea965f69f6471aa6c9b201fab0173c899407 + last_write_checksum: sha1:e9624981f7904aafff9fcf3a02060000e857481e + pristine_git_object: 21d594bc180e4225237e9e0a3f8df3df985510a9 docs/models/twohundredandseventysix.md: id: 872319383ec5 - last_write_checksum: sha1:0b3d4a953866d2e54c8725804576d66260421bd4 - pristine_git_object: 0dadf10b1c3c57b46ca2eff14f48b377686a46c6 + last_write_checksum: sha1:e7b1d9228af396549022eb1eac9c43a3efdf4e52 + pristine_git_object: 5f5ee0aa5e54f8f022d11c9e6b029b90574fb55e docs/models/twohundredandseventythree.md: id: 212c14cd3cd4 - last_write_checksum: sha1:5cb2f642895ea83b59e19347905c5d02138b8fc0 - pristine_git_object: 58cf70846648512669b910c6a3c672755c0b1c46 + last_write_checksum: sha1:01f461577600e56514c081e6981fea6575c06793 + pristine_git_object: 529dc12170039ce29f5044c8632cef972cde1634 docs/models/twohundredandseventytwo.md: id: 2fc1311a7781 - last_write_checksum: sha1:de7fdbd654a39422830802482b4c0c6aa9636898 - pristine_git_object: 133f963d1e9aef3f77ba1f059b28afe08f3a0729 + last_write_checksum: sha1:2d30fc5207b13288ea397736350d5fa2eb934e38 + pristine_git_object: 6104a9da9371bf77a70600f49c52860d1fa3503b docs/models/twohundredandsix.md: id: 168603f4f9bd - last_write_checksum: sha1:24bb6937a92bc5dbbf038116459fc649afe981e9 - pristine_git_object: 2ecac9e4a44a557d548a24862b207ab92560aa9f + last_write_checksum: sha1:851cf53a2775d6621d004861f36daf281fb041ce + pristine_git_object: 19de65a870e2da41272a327d98c23a5ec4c924b2 docs/models/twohundredandsixteen.md: id: 2940db1f39d5 - last_write_checksum: sha1:8f9761f9a4b8072d9325897c4c2598e024fed1f2 - pristine_git_object: 3e0c2e36d5f7baa34eb8d1d1fe18cdc27ad328d5 + last_write_checksum: sha1:9ff53ca77448e8586e0d20959b9b4807538d6772 + pristine_git_object: c7c2219f553b0d5e04bb38ebdd3206388facdabb docs/models/twohundredandsixty.md: id: e4b3e92ccee7 - last_write_checksum: sha1:2a4f11c7f20d7004823508ca5f45fa96cd81d1f4 - pristine_git_object: ebcb1db0af26fded68fbc1ee5183b4bd6b95b36f + last_write_checksum: sha1:dd0215661173058e30fff42f8da5247906d15504 + pristine_git_object: d957d39bc90d166de3750b90212d6498a6f9446a docs/models/twohundredandsixtyeight.md: id: b5ee87f40f75 - last_write_checksum: sha1:aefb4d726386d77bbab856af9818e3a36067a1d4 - pristine_git_object: 7b019f93f81f871592e498f80fb88a11dff2f659 + last_write_checksum: sha1:502ecb01982135eac28494774f2c761b8191c50d + pristine_git_object: 7602e81188221a98e26ac3a18d1d8867c7a05158 docs/models/twohundredandsixtyfive.md: id: f37047e6ea5d - last_write_checksum: sha1:efadf866d6ee3cab4a94b15bc55c85b0bfa28710 - pristine_git_object: 4ecae7a812f763e8cac44387da4d9f2830b91d75 + last_write_checksum: sha1:26b7d85146d1a2b1c5da278ff4b5f907c553e968 + pristine_git_object: 09555c276d4ce24ccca0cad7430bf2aa9c5a7533 docs/models/twohundredandsixtyfour.md: id: 339c271d370f - last_write_checksum: sha1:aa0df6df80336638d8a5f2b852ac72e11fc6f9c2 - pristine_git_object: 711d3344afb0e843f1c7209e225f6e4c8d5318ed + last_write_checksum: sha1:f32342e257fd8b2ef5afee3f2a99c2b784445077 + pristine_git_object: 651f3fc7c5402caefaf3a753a56fd303066b7b55 docs/models/twohundredandsixtynine.md: id: 47a6cd3970e8 - last_write_checksum: sha1:c416cd69d502c3ad62951b39a03dcf4d467afd3d - pristine_git_object: 0ca12ed6a6163cbe66f1a0ed197b432f54d0feb0 + last_write_checksum: sha1:ac7455c490aed3b2842ba573a6afee999cdbbc60 + pristine_git_object: 1daa0728283c809c3ba5e8eb15ad833ed5fb26b2 docs/models/twohundredandsixtyone.md: id: 46e8a54f83e6 - last_write_checksum: sha1:1f847aad21aa3fa68bbcea6a5c08ff14a3f14a61 - pristine_git_object: 91ec289b7612d9db6b8cbc30baab156f2be82eb6 + last_write_checksum: sha1:fe2c9d6d96c6a820992bc0037f4c60d42eee2466 + pristine_git_object: bf9b34fb6c3212c8a914741bfdffc8a9e676dce4 docs/models/twohundredandsixtyseven.md: id: dfd87e46d83b - last_write_checksum: sha1:d9ad5eb213837d768bf69f17fe7ad45a5deb7ec0 - pristine_git_object: f34a82b5f89fe805cf24a44d9e4e7c42956a88f8 + last_write_checksum: sha1:383e6e92c348c39aa0da8c55d9c32ec71b0bd1be + pristine_git_object: 18bf617a66e0e15b8d743ed99d73906db6f3195e docs/models/twohundredandsixtysix.md: id: f27fad228513 - last_write_checksum: sha1:73b2bd4b1952cae4b07a81082969cfc1379e0bba - pristine_git_object: 5c5acfb1b4926ee98fc568ea80036462495aa757 + last_write_checksum: sha1:e4eea4c8953224cda846fa9420cb519a455c6807 + pristine_git_object: 5cc4e42bf667448018a77660f4eb54532a0aba63 docs/models/twohundredandsixtythree.md: id: dd92c035e214 - last_write_checksum: sha1:44fffd88c5b6e2af5c1987abe8b20a956cdbd21e - pristine_git_object: 7a97234f71d335fdee44c0779f125153a8b4ad2a + last_write_checksum: sha1:6edaccb31ca9ca64c750c55145a0368199079267 + pristine_git_object: 911ab43a3bb5a8e58027b883a05ae4393da997c7 docs/models/twohundredandsixtytwo.md: id: 689452078aea - last_write_checksum: sha1:52b8507ae60884c4f3a4e292074c842c6c103600 - pristine_git_object: ec358ac2d343332b252b941432a8981a29cb68de + last_write_checksum: sha1:c38eb80a5ad204d1fa81f09c52ca4938e1d1b962 + pristine_git_object: 64875d4e52f099ca7c6140c8daab7a74e27dfe9e docs/models/twohundredandten.md: id: 6c6772789b7c - last_write_checksum: sha1:5e2d42373013d9160d20d1835a1acd48eca5091d - pristine_git_object: b73bc71c1da7896b737bc3f0e839b24241ccd059 + last_write_checksum: sha1:e9f33f4e5e86794dbbbb3ebd35bd715c835427f5 + pristine_git_object: eb3997eabc573bba5390ccff041711df8e8d6d13 docs/models/twohundredandthirteen.md: id: ea16df5f585d - last_write_checksum: sha1:60485c7fe44b223c21902d0fecbf31bdabcaa7a0 - pristine_git_object: 2f30526b1633a11526f1189fb47a3c1c6ad967ae + last_write_checksum: sha1:df9b61759a7b0d1d21583ce4ee0bf645c05c07e2 + pristine_git_object: d7cbe9ec392280f3f930d2f42031a008681f575f docs/models/twohundredandthirty.md: id: 5fdfbfb9e0f7 - last_write_checksum: sha1:3b614a222de018f0451cc6f7bf0fe3e028a94cab - pristine_git_object: 930791315173045b1bad31cf7b2284d1ee2cf04d + last_write_checksum: sha1:4261b157a7e59364ef4738524ea4cf9bccde5e1a + pristine_git_object: 07dded650c331975f83107e3b1473a7a26055ebe docs/models/twohundredandthirtyeight.md: id: b27f28273be1 - last_write_checksum: sha1:cd5c51281507800ca214db8b5792705d5b59a224 - pristine_git_object: d2d18438a55ffc6bebbe45b9d3cb4e24b40d6b94 + last_write_checksum: sha1:150e42aa1834f72cd85af9589b81db7c8c4ac9d5 + pristine_git_object: 3b35e413cf4d7dbbe0e4dce473bf3f86458c8ed8 docs/models/twohundredandthirtyfive.md: id: 46565ca83a02 - last_write_checksum: sha1:472c78bc0affa12d0e6c64a7267e6b36e05d88fa - pristine_git_object: f7977b9f46f5d71bf7cc643ad5490b51c62b07f3 + last_write_checksum: sha1:ff154f1a342d3e9c9238dc02f630d7d209a94eda + pristine_git_object: 5acd95d6e11aa7983978e8fb52f8afc21cc56153 docs/models/twohundredandthirtyfour.md: id: 35048e9dd0ba - last_write_checksum: sha1:c7e8f2414ac40a0f36fbdc24f03c14a7491d0f24 - pristine_git_object: 0236dbb5a74b16e3d494be5eab979b49c13b203b + last_write_checksum: sha1:b78ed58c8c76a5b2ddce3b73c8dc39db1c831eb4 + pristine_git_object: 17912500e900f0fcdd73ce1585b9a072074ba6cd docs/models/twohundredandthirtynine.md: id: 53429667911e - last_write_checksum: sha1:e9286a218601792615a41cec23d7f58ef832f39b - pristine_git_object: b87db418123c7765a2b475603b7de354705ead41 + last_write_checksum: sha1:7b0d63d3841b796d36cc40a4558fa0fe334dcba3 + pristine_git_object: 17e4eb5c786ba90fb5a166561d0a390a51d3f760 docs/models/twohundredandthirtyone.md: id: 804a56b65402 - last_write_checksum: sha1:ae5b1f94a195341e2da793183d1a2fe383fa9c11 - pristine_git_object: 7e78151b876415850f4e2a37baf1bc0282278050 + last_write_checksum: sha1:5edeafccd5aba86fd11ecc709b370af4b4f59209 + pristine_git_object: 98964d8d6ee08b50836501aaf1c603a6bbc25925 docs/models/twohundredandthirtyseven.md: id: 362b2bc4040c - last_write_checksum: sha1:6045f8af111fe43eca369cdbdd95d450ba47171b - pristine_git_object: 1170813f7c75edb52d6e401103b3bad9a2c34f66 + last_write_checksum: sha1:3ed5b81d5a56d642778d746566786b684949d3ab + pristine_git_object: 29a11dcf62454dccb8be7ccbb4610869f9a4c222 docs/models/twohundredandthirtysix.md: id: 541b878258cf - last_write_checksum: sha1:7b0053a6cf3c030c4f52d00e69ebd2ec361eb17f - pristine_git_object: 1cdd9c28ad6cf572a2b1a90cdeda73a98fbf14bb + last_write_checksum: sha1:fc1c4f45678f12c0db68defd5f7ff11cd05d4b23 + pristine_git_object: 234e344e6c90c3fdc96933ac2823d56f353fdbf4 docs/models/twohundredandthirtythree.md: id: 0f3fdfe87fb8 - last_write_checksum: sha1:dfa32db034b34b3f40acddcc4559fbf3a5288868 - pristine_git_object: a2d9a6dc38a9152939eea079205141763190702e + last_write_checksum: sha1:eb7d68be82eb79e72eb9c3258856978ae926969a + pristine_git_object: 15dcbd68d6f552612dd6661037253d0775678544 docs/models/twohundredandthirtytwo.md: id: cb69e3691960 - last_write_checksum: sha1:c8c4045300bae92f6fb19dd8a3d39d7984f91e9b - pristine_git_object: baeabea59483b63df2c8009402a557a8494068bb + last_write_checksum: sha1:fd8f2ab53aaa2d4058f6dc4661c54ad312e30ba3 + pristine_git_object: 8048833e83a5c2b07c7d84cae2b316cb11e76b8b docs/models/twohundredandthree.md: id: 4bd116ed2cc9 - last_write_checksum: sha1:c4fbf8ba1c1d52f07db0cc627ef2e9ae952f643e - pristine_git_object: 23971a1688a4e438e82c5b00f2900d57eef6cddc + last_write_checksum: sha1:d4bc3713e9f6c970259df1d9c2575469d8bcaf59 + pristine_git_object: f86f88454a95dae8f9d2b381cbf6a5547dda7476 docs/models/twohundredandtwelve.md: id: bb03b5c1d17e - last_write_checksum: sha1:6c426417b53256f8d387ef8f9e64c873a8d2c944 - pristine_git_object: cddd2725124125ab512d35c8fae6bf25f5cf8aa6 + last_write_checksum: sha1:aea89ded9978e728dae073e0915f0e85a71bae8e + pristine_git_object: 3ffc3a72f54d14f61dc9318502b02020ead308b6 docs/models/twohundredandtwenty.md: id: e2798b8a593a - last_write_checksum: sha1:4180ccdd35af3f904c4eb8ac363f4c58cd52c681 - pristine_git_object: 119aebd97e4e54769eb5df1113a43c9d5e68f27a + last_write_checksum: sha1:18f66090c0da33e8bbfd6c92b4ac5dd05f931f2a + pristine_git_object: 4c4788d331389138c9eec141175fb36f6c128016 docs/models/twohundredandtwentyeight.md: id: d34c35f19248 - last_write_checksum: sha1:5f21430ef7f9d4ed13471d685b5f827b206fff62 - pristine_git_object: ce348449bc2ebc16a50a5fe5f043f17619b983bc + last_write_checksum: sha1:d715ac6e29a2c41e1be103f4cc3c46dbdc20d7ed + pristine_git_object: 2e8c0f20f42600138bf6d817b6e14aca9ac04377 docs/models/twohundredandtwentyfive.md: id: f041ed629796 - last_write_checksum: sha1:70d9858c91f9912c395b72a7b4e42c63c82d3518 - pristine_git_object: 9051a364590579db0b2fa515d93a977c853bf919 + last_write_checksum: sha1:8a2de86673fa76f0df251c61d03b216993af5170 + pristine_git_object: f46cd36f440204dcf446b8ddbf565fa0174bc17f docs/models/twohundredandtwentyfour.md: id: a44af47758d3 - last_write_checksum: sha1:bfe2eff43a86be8feab53bbbbaa18f1d26ed7c80 - pristine_git_object: a77a95a96a966cb9a991168bb8d46f359b15019f + last_write_checksum: sha1:7431b7cf47a1de867de1a67055572fd2076a54df + pristine_git_object: 44a8de57b19e8377ab96566e739852a133e081e1 docs/models/twohundredandtwentynine.md: id: 7fecb5c9d1f8 - last_write_checksum: sha1:62bf42cf48afce72650bcda95ee9ac5850bdeae1 - pristine_git_object: f5ec5a670a4eaec4f1efd4145182aeb7b17ea7d9 + last_write_checksum: sha1:233cd79fb315089da0d04036d87c9015f98a30e4 + pristine_git_object: e1f9dfe5479e949fc7736f3ddae8a769652bf8f4 docs/models/twohundredandtwentyone.md: id: 31837b6462ff - last_write_checksum: sha1:27546873e315c44c83bae534cf3f777deef84e36 - pristine_git_object: 5c82bcf2126ca9518d810cf24b1d6bfd3f97f937 + last_write_checksum: sha1:9554a27aeb962647798e0d545e08ecc501c2460b + pristine_git_object: cf8858c95bcf90fd49b61ddcfc35a80b20f89576 docs/models/twohundredandtwentyseven.md: id: 720e45765341 - last_write_checksum: sha1:cc460b50dfb9e655a141b5fe0ee851486cc69f41 - pristine_git_object: 17a72285025fcb5910d5c8baf2faa1ae0c3fe424 + last_write_checksum: sha1:ec5815c1c5e3ba5d88d128cb502d7f7fcd9401b1 + pristine_git_object: 5e73d0b809829c1cda91a740f854b1668ea244b8 docs/models/twohundredandtwentysix.md: id: 6b832ab4e6ed - last_write_checksum: sha1:8a01d9459e761c78ffa4eeec74b33dd1f39bf95e - pristine_git_object: 0cd26af12713890a46ca678af7fe32445d925f07 + last_write_checksum: sha1:b0daf67138f46251e87120d8b48b4697def9fcdf + pristine_git_object: f5283d9fdc4694bab560db33c708236608b60cf8 docs/models/twohundredandtwentythree.md: id: bf00bce57b1d - last_write_checksum: sha1:0cc35162937213a1bb6e26e08acacbf084f225ef - pristine_git_object: 82e9903e1a63f8bcd30b8f99cc364c533a900012 + last_write_checksum: sha1:3f33a368c2db14cced0c444c365b3982fbd29bf5 + pristine_git_object: 7cfcdd34fa2b4f906fb022c046f95cce22669adf docs/models/twohundredandtwentytwo.md: id: 9491a4a18613 - last_write_checksum: sha1:1cd8b070937d9e9d973be4630404fb5dddd8895c - pristine_git_object: e0475d909faf60edd697808d9f19353ce0ab9b8c + last_write_checksum: sha1:e570b6ded552fe7d82db2e697ba6829c6990ccc0 + pristine_git_object: 72b298bf5fd76c3ce1910817c9febc4759755a37 docs/models/twohundredandtwo.md: id: dab6c78dd94e - last_write_checksum: sha1:13375106f5e876c75f5fce8d3cc55eac903bcb9d - pristine_git_object: 038df95a42ab4838e9a248f4bc0cc382c5a5b511 + last_write_checksum: sha1:86a4a911c53ff17b1cbb593cdaa829979f71ca7c + pristine_git_object: 270c43d756a4d36f4629e61f49d9f04174d5db6f docs/models/twoorigin.md: id: b36cc52f1816 - last_write_checksum: sha1:9ae45d4bd84a7552dc0fba4dfe2ba3ac2a5ae00c - pristine_git_object: 5fed61840da2c2f648502c3787815760f867c03b + last_write_checksum: sha1:24d3b6f243243973d87daebe347c2168c75aac2b + pristine_git_object: e03e8a47e4f92bd59c7322314a64a770fa5f42e0 docs/models/twotarget.md: id: 21694d64450b last_write_checksum: sha1:fcb558bf85859c1453e952eff9db6d60234699ba @@ -41219,8 +41283,8 @@ trackedFiles: pristine_git_object: a877d7c26de026b1201251bf45efb0484671e1d0 docs/models/updateconnectorrequest.md: id: 40e38d9c7c2a - last_write_checksum: sha1:d06b1381319010fd7613aa76f9e33493194ff28d - pristine_git_object: ca88671e946cbb656dd518c78dd23018269cd1aa + last_write_checksum: sha1:1f0c8652e038c0fc880e1ff2f6b7f979d9733b23 + pristine_git_object: 640a552e2a0e4c86c995913854135b3190e0d6d4 docs/models/updatecustomenvironmentbranchmatcher.md: id: 195aede58dcb last_write_checksum: sha1:b6875b2e5b5a062df83ad6ccb50248d9e28d70cb @@ -41459,8 +41523,8 @@ trackedFiles: pristine_git_object: be9e739597ce299d418881966c0dc97c90ebc095 docs/models/updatediff.md: id: 530e5c5c3394 - last_write_checksum: sha1:d50522bb3b9475072f73fc8264ed1eb816a6ba6b - pristine_git_object: 08917cc81d950333bed2ec462b5afa4d6b4a295a + last_write_checksum: sha1:154fc15f69f8a3c64824346ca7e04d73e6f469dc + pristine_git_object: 4ac58c039005750771c274d287be46a8515b7d4d docs/models/updatedmicrofrontendsgroup.md: id: 37704d2d9c8c last_write_checksum: sha1:33d782c1d0909012acfcaa6acc806d3df8775ed0 @@ -42067,8 +42131,8 @@ trackedFiles: pristine_git_object: b6bb100e9236be4e118a3c045084ed3fb96b9a87 docs/models/updateduser.md: id: e8d880c29973 - last_write_checksum: sha1:8d40eb02f1df74c4769d2461af8021b62781fd4b - pristine_git_object: fe0619db73d88c37756bba2b277634aff740f86d + last_write_checksum: sha1:7d79d4a82545dcedd901b979d4494cd4afd7539f + pristine_git_object: 3fb9bbb62d77e55a3653a77f1b346c055d76e29d docs/models/updateedgeconfigrequest.md: id: 22b80be60877 last_write_checksum: sha1:beea9002689c03f565acea2dee73080b73f8daf3 @@ -44667,8 +44731,8 @@ trackedFiles: pristine_git_object: a1ab4859dc2ade23991f53472e774fad7ec1ae8d docs/models/updateprojectcustomallow.md: id: 963fb1b6f938 - last_write_checksum: sha1:a51e00268c7c804257076cc85fd48de024627a7e - pristine_git_object: 79ae4d75c767e588b92fa29d05ddf4808c0c692a + last_write_checksum: sha1:9e697b83cd1533c43de372642fe01120dcb7ac98 + pristine_git_object: c18940b7dee43698e0806005ab9ff87321ded643 docs/models/updateprojectcustomenvironments.md: id: a91689c848b6 last_write_checksum: sha1:bfd8e8347a986b42f2fd7cdfb7dcb260efe3c010 @@ -45111,8 +45175,8 @@ trackedFiles: pristine_git_object: 19b0476902f76746dc889f962341c40a41303837 docs/models/updateprojectoidcproviders.md: id: e77116f70486 - last_write_checksum: sha1:3685eca6a77db4faa59dfa87af6a99f32d7fe334 - pristine_git_object: 580f4bf84945d585dc26bf6a8982d97e0c7bab87 + last_write_checksum: sha1:2c88f8d45d30a1ed82889099f29fbf2844136c0c + pristine_git_object: d40175e74ff8c4eaae451afaa123d68612237110 docs/models/updateprojectoidctokenclaims.md: id: 4e8956c02119 last_write_checksum: sha1:565e15ee7b93f20072fa9aaf0b42fa1d2b953efd @@ -45437,6 +45501,10 @@ trackedFiles: id: 227d7384d851 last_write_checksum: sha1:31b6a0658b9d410568ecbea0c97e5acba1c83414 pristine_git_object: a21251b5b20191ce92503922bc95d0967c69086d + docs/models/updateprojectprojectsresponse200to.md: + id: 6ba6b968dc0a + last_write_checksum: sha1:8f0c4048cd2a9b8c145d05c260ec80a4d2b79cce + pristine_git_object: d549e33ae4122c536f714d97a67d6fd97ff8fdc2 docs/models/updateprojectprojectsresponse200type.md: id: 3e883fe8cce1 last_write_checksum: sha1:a20e4df35477ab43c321a65bdee58ff244860a68 @@ -45535,8 +45603,8 @@ trackedFiles: pristine_git_object: f07cc8136cc87320b422a9426452efd6cd2f449a docs/models/updateprojectprojectsresponseto.md: id: fcf1c0827736 - last_write_checksum: sha1:3cd2472fc9e11b013633072b128834f04a3d21ca - pristine_git_object: 4224112c645b9973d1a1bbc69f9be9f235eaffb8 + last_write_checksum: sha1:4c58fa751a4742b8f18e34352f93ff4532a2c67a + pristine_git_object: fe018d42ba27e073dbedbf78fcf47ba93b1c59b5 docs/models/updateprojectprojectsresponsetype.md: id: 1eab01534090 last_write_checksum: sha1:0ef1e8ec396ce0b5101d553fccff8c1a13dd1bd7 @@ -45563,8 +45631,8 @@ trackedFiles: pristine_git_object: 4bcfb83a1e425c86475788e1694ce4dbdccf9c3a docs/models/updateprojectprojectsto.md: id: e449e9b93b48 - last_write_checksum: sha1:e19cc2d5ffd9f22493ba101cc23708fd55f8319f - pristine_git_object: cf1fefda0758f31ffa432c5293c6fd6ebeeef3ff + last_write_checksum: sha1:d9cea864d1608acd008bac7a9d91bee5e39b053e + pristine_git_object: ef018402d5632479973167173b84f2f1d1dfd0bd docs/models/updateprojectprojectstrustedips.md: id: fb5e02791acb last_write_checksum: sha1:533196cf548c7550405d817ff92e7deb7710a283 @@ -45759,8 +45827,8 @@ trackedFiles: pristine_git_object: b56d59864adc4de4b81cfecd0fc5889bc229a6b5 docs/models/updateprojectto.md: id: 33b4457ff852 - last_write_checksum: sha1:ca9ddb1224bd25b6d1db1b84744b41979dbbcb26 - pristine_git_object: 6fe945ebca6596e7f57d13e7cc7e6901a4e4260b + last_write_checksum: sha1:dd7bafa06745ceeebec5e7845133d6b40fde5f73 + pristine_git_object: 50218bfc2a7b005d92bf37fcd6f64ca76205ff5d docs/models/updateprojectto1.md: id: b06383c44b88 last_write_checksum: sha1:c5aa3da33e19129002b5b6bf7fb5743acbb7a535 @@ -46183,8 +46251,8 @@ trackedFiles: pristine_git_object: 87f96bb42a3cf6d0a325ff4bbbe3f516703aa228 docs/models/updatesessionnetworkpolicyresponsebody.md: id: 23d1d7f4102c - last_write_checksum: sha1:a1dfc47a24940ef9f316a92147f96f7050d3443d - pristine_git_object: 4d44dbafe571c57680da3d1b6fa55d21232420f6 + last_write_checksum: sha1:aabc9420fb5be8f7543df25aba06d9b766a8b056 + pristine_git_object: 1d267cc936b877fcdb86ece4b1d88c0f4924f5bf docs/models/updatesharedenvvariableenvironmentresponsetarget.md: id: e0ae428620d1 last_write_checksum: sha1:480f4711c8c3e3b9734b5696859c4f57f270c06a @@ -47665,6 +47733,10 @@ trackedFiles: id: 1a8001829379 last_write_checksum: sha1:9150edcb240b4b4a8ec8762a5de268e4a5f5a6dd pristine_git_object: 8252d9de2463ee1597af256bf7dcaff0bd2b90e7 + docs/models/upsertaigatewaybudgetdefaultappliesto.md: + id: 6096e39f3325 + last_write_checksum: sha1:87b57f7e8372d1c2a4963c91b7e4c3ef0f602cc0 + pristine_git_object: ddd36c2d7affd5f8f4ef5a23b928975492d80797 docs/models/upsertaigatewaybudgetdefaultrefreshperiod.md: id: bfe3fb9b8907 last_write_checksum: sha1:1504253d4ba91fe1a4b48fb94f5539f9ff51bc82 @@ -47675,28 +47747,28 @@ trackedFiles: pristine_git_object: c752b14f2237a3bac345acbb9eb63b1a3a06a109 docs/models/upsertaigatewaybudgetdefaultrequestbody.md: id: 6516e98ca569 - last_write_checksum: sha1:ed84086176fa25a8cc9d479dd9d3e3b4819be60f - pristine_git_object: 787963237432ca90115fd3f2bfd77d554ed404bd + last_write_checksum: sha1:9c26af91925237c5c115ce161638bbef5a1d4837 + pristine_git_object: 716a24afa917cd22ed246565071bc5e55181db5a docs/models/upsertaigatewaybudgetdefaultscopetype.md: id: cc1c88c5d45d - last_write_checksum: sha1:6224207cca7f86878ba2bfa06333191df88a9ee0 - pristine_git_object: 73ee0efd9f20d551690d49e5d3b41f8764a09460 + last_write_checksum: sha1:dec2e4e35c7d88a7cd8785ff3df3a1672597cfed + pristine_git_object: df5b2be2235b30343682df54e95cb359050fbbcb docs/models/upsertaigatewaybudgetrefreshperiod.md: id: 4635be979580 - last_write_checksum: sha1:1634a552a5558868138b9d4430c8e993c979ba66 - pristine_git_object: 6a372f65e72d232146c16e58a3254d0f7d6a9474 + last_write_checksum: sha1:8190dece717443ee22cef4520c9b2db4a05e9243 + pristine_git_object: c62e84daa7cd5eff0858baf774edce52cceae046 docs/models/upsertaigatewaybudgetrequest.md: id: e5e4b9607dbc last_write_checksum: sha1:31360eb97f9443303fe583dd535a719afebcedfc pristine_git_object: 33fd5276bddbb3cc9bc60160ebce95242befd771 docs/models/upsertaigatewaybudgetrequestbody.md: id: 64efa5acc687 - last_write_checksum: sha1:620d6845641e0b7199f60aa6f623aab8df40b29b - pristine_git_object: 44b692da21f163160908e361b84c30cb4bd5d773 + last_write_checksum: sha1:d4f7afb2710a763f613ba4d796658c1bf94b0c6b + pristine_git_object: ddd958280c1fbfe82c1fd94c2ea90073cbdd84bf docs/models/upsertaigatewaybudgetscopetype.md: id: daca2cc72bf9 - last_write_checksum: sha1:1f7d5c649e447231fa0f0c9bc1bacb356950cc77 - pristine_git_object: 482ad43351509b8896e502f888569a99bd9f479f + last_write_checksum: sha1:7d3db77ec19c4fbe41720d6eadd620b1b450c93e + pristine_git_object: 75c3a845958191bc743068c0af05958d2165af8c docs/models/upsertconnectorprojectconnectionrequest.md: id: 7c459e8de5c8 last_write_checksum: sha1:cca615e1f61ccf3577446763d197a41d8f8872b8 @@ -47723,260 +47795,260 @@ trackedFiles: pristine_git_object: 30901a6fae19f63037c47416fb04366afdabf728 docs/models/userevent.md: id: 99ca15d489bb - last_write_checksum: sha1:dcaf998a85f3db3bdcb043c297b2390b98939325 - pristine_git_object: 0ec286f2ad764038f5225729c2f505c448db119b + last_write_checksum: sha1:8c849ebc2eb8748ac770f60de64b1a534db43cf2 + pristine_git_object: 9adb212a763823e7dc9eb330b1b252893e2ad8ae docs/models/userevent2origin.md: id: 7a68337130a5 - last_write_checksum: sha1:49fee3a1b39504ab7181f431f31702d66abefa25 - pristine_git_object: 13109eb2b5934787b5651606d88884c46b1bff1e + last_write_checksum: sha1:f205bc49f9cf448b8fb7bff4f29b62debb2b54e8 + pristine_git_object: a7ba1e527daec489d6d334ebedfc9ee52c3bcbee docs/models/usereventdataplanslug.md: id: eb9fbe37d8bc - last_write_checksum: sha1:4ba6f833805582ef26139978eb020c89563d7952 - pristine_git_object: 419cf246da84253844081b51fd5f89c703f484de + last_write_checksum: sha1:d9f682cb1de35cfbb246ffc2369c02338316e3de + pristine_git_object: ff21d1ad6a2079c74ccec58f00accabdffcb2ea2 docs/models/userevententitiestype.md: id: e07a8640381c last_write_checksum: sha1:a9e12405a47949931aace4be7ce52769daa18775 pristine_git_object: 90019881c42549fd1829a036cc88216052d281c1 docs/models/usereventenvid2.md: id: debf4a9bcd68 - last_write_checksum: sha1:88ea0f68433085e6fd2d71e4d9adc1d6b7777b0d - pristine_git_object: ccf981054feeb4d27fb3baeadeb1da770661ee21 + last_write_checksum: sha1:77e1399a6960e9b9ee15cf0e50aef8af827f67a2 + pristine_git_object: e0be80aa2d9b251c992e2bfe837404029bc78171 docs/models/usereventenvidpayload2.md: id: 6e67325d65ce - last_write_checksum: sha1:21e1a8e492bd024dbbedbf383cd8178f52ad8f51 - pristine_git_object: ba17f7dc679377eadcfdd2d2678a1e2c304d2903 - docs/models/usereventenvidpayload3102.md: - id: 438f63dfce9a - last_write_checksum: sha1:a568650c9ca1689be4a2fb91bd06a98bf0bc3eb2 - pristine_git_object: 867e69e3081d4a2e694cdacf5f33ce50353fb8ab + last_write_checksum: sha1:5b5bc20554bef494b0df5b1ba524f04733d9da35 + pristine_git_object: c8275c9cdceb48783ebe88ec2fe7d1f768c7000b + docs/models/usereventenvidpayload3132.md: + id: 365b677cd4bb + last_write_checksum: sha1:244278c82bb49b0c61fa23366a879b7b6c2a30ba + pristine_git_object: 798fffc73106c12ee361bb98dbf35184aa760c4b docs/models/usereventjobaction.md: id: f1de26353978 - last_write_checksum: sha1:aa6ef7a5d6e0009c99b0bede913b8e10ceea7fb9 - pristine_git_object: 564e6fe1ff6d249408a6e1e9c1e9b8705d373e1f + last_write_checksum: sha1:8b05c4a614c749494dccea2132c188f68a9135b8 + pristine_git_object: 17437a224483f5549e16c5fa770e700bfdaea67a docs/models/usereventjobcommitverification.md: id: 5297d28df40d - last_write_checksum: sha1:575572813b6df946f8fa89d75e277b3aa39a6ae2 - pristine_git_object: 0a31e9d2390e0c785e7ec07af217a756c2c010f8 + last_write_checksum: sha1:2cb4f5404d69fe1329f258180572ed48cb058ae7 + pristine_git_object: 7b5ee5194ea89eac4e1e60f874c41c58412deb4e docs/models/usereventjobdeployhook.md: id: 0a0521c3f76e - last_write_checksum: sha1:bd29afff58dc33b32c23fad61e4af3b40c407586 - pristine_git_object: d29242c1af11f36ef3f667eb52777058c37722df + last_write_checksum: sha1:78dbccd7adc9986842d7e57a6379b993cb9f46da + pristine_git_object: 1348d87d4a8d4b4dc94f6f843827fc82c8a0c9a9 docs/models/usereventjobgitcomments.md: id: 2338abba0668 - last_write_checksum: sha1:871e1b44f6bef16e2d32e118a7b695be936601d5 - pristine_git_object: d1e16497fe44fd577929abd4f93309d9d86e136f + last_write_checksum: sha1:ed02e3387fee2416eeaa7fa3bb5ba0b2dcdeae26 + pristine_git_object: 886297700832a9976b6759935abf57da2627bc56 docs/models/usereventjobgithashtagvercel.md: id: 6907601d46ed - last_write_checksum: sha1:d820697bfb24289017b763389253ee4fa7d0f75f - pristine_git_object: f4d4b2ac23fd710f71f3d9245a332dbe95316841 + last_write_checksum: sha1:12c28c9c0a3f61ec1b6e8aa91b3c039721944e81 + pristine_git_object: e1276530f5c2d83480ff705f785f5c9dc61fcd13 docs/models/usereventjobheadinfo.md: id: 7a0bf6318187 - last_write_checksum: sha1:1a4f1ac93ea6eeaa7a77dce8069c696d70268b1a - pristine_git_object: cf54785afa848af2b6fdd95e19bbfa76f21a2cdb + last_write_checksum: sha1:8253c03540f439a655a978262fbfc01987c6813f + pristine_git_object: 4a92c06fcefaa7d713708de36ec95b349f98abda docs/models/usereventjobnsnbsideeffect.md: id: 4a35f0308178 - last_write_checksum: sha1:b19bd19fc43c2f46614eee518376065ec7254a75 - pristine_git_object: 64b0075ffea851b311b2b0561e8725f9ac54bcaf - docs/models/usereventjobpayload13610gitcomments.md: - id: 05035a9c4198 - last_write_checksum: sha1:01af2ba6a5bd406a0b6dca8273e3bf604bd4056f - pristine_git_object: e7b071289df1188d219d1c4cbf08688a81e1f48d - docs/models/usereventjobpayload13610headinfo.md: - id: 6619991d2da0 - last_write_checksum: sha1:fdda4d46070e1f747ba302a637a211b9f358e17f - pristine_git_object: ee30f6fb86debfee292033d6356adf8c05446064 - docs/models/usereventjobpayload13610provider.md: - id: 52ee167559c5 - last_write_checksum: sha1:4fd23b6c96e00030dde9697f429032b564c51ae1 - pristine_git_object: e862d41cb0aa64851a091dd9ba40dadd73de7339 - docs/models/usereventjobpayload1365provider.md: - id: cbcc36e7b705 - last_write_checksum: sha1:9ea4017b0cf6e600eebc2b34c8d43544cd60b57a - pristine_git_object: d6a551b3051268b57498739d85d53bb64a5de65b - docs/models/usereventjobpayload1366gitcomments.md: - id: e35de69dbb50 - last_write_checksum: sha1:8c16dc4cdd4d1ee42cea185c5febbaea6c5372b5 - pristine_git_object: 23f0ac749bfb20632be9466eac09ee497d3c944f - docs/models/usereventjobpayload1366headinfo.md: - id: e0b844c7c0cb - last_write_checksum: sha1:e51d2daa09bf4e57b2dd0318f07787becedb1437 - pristine_git_object: 8cee682ed64a590440b766867a8339cd99ad3c7b - docs/models/usereventjobpayload1366provider.md: - id: 0ef9d857ecd7 - last_write_checksum: sha1:cdcd620d9688b707862e64c24d9fc371e9f33df6 - pristine_git_object: 3eba8d4751877294e8228f2d59f42d69758e596a - docs/models/usereventjobpayload1367gitcomments.md: - id: 3f22e46334d5 - last_write_checksum: sha1:3b6441d106cb4ae0a71c233e9b915c94b2586e8d - pristine_git_object: f24060ed39fd10c80a509a690b573acf6c6affea - docs/models/usereventjobpayload1367headinfo.md: - id: 14ed801e57b0 - last_write_checksum: sha1:ae7f6673ee22e93c01a4f27b92c39f05571fcea9 - pristine_git_object: 18cdf53840bddfefd01f28a02cb275ae219408c2 - docs/models/usereventjobpayload1367provider.md: - id: 26bceaf5f5d0 - last_write_checksum: sha1:e649f227ba6cb160c3a765528a048701c9dda02b - pristine_git_object: b577ad9fbb43046cffaf21149afa747d06dea7eb - docs/models/usereventjobpayload1368action.md: - id: 66f3fd2c5de3 - last_write_checksum: sha1:4ba1a8c6c198e5b8645e53f66eb75cd32352cb01 - pristine_git_object: 0bc753cf68319e7eb2f27037e179efcc70b6f81a - docs/models/usereventjobpayload1368deployhook.md: - id: d605db6cd946 - last_write_checksum: sha1:1d964a14963081ec61fc53e06dabb41bc0b06d34 - pristine_git_object: d080eca21b5617d33c55c85e3849478a5b3d9575 - docs/models/usereventjobpayload1368gitcomments.md: - id: aac1d4a19328 - last_write_checksum: sha1:6e7d478dc6e0141f9731e3143d1f4b5d8818d56a - pristine_git_object: 0f0b72af8e610802806ad042b8ac6b521f0ae986 - docs/models/usereventjobpayload1368headinfo.md: - id: d82f17f5abfe - last_write_checksum: sha1:27e057eff30be1dc030c8a534396c11ef14b85ca - pristine_git_object: 5625e3a1a47f58753b2d2184e7ee92e63d8b84a2 - docs/models/usereventjobpayload1368provider.md: - id: 8814cafc2cda - last_write_checksum: sha1:49034f782ba339d25b4f54c00960d98d8246b153 - pristine_git_object: 69db8e2c55ef98fae292edcc116235ae35ca1564 - docs/models/usereventjobpayload1369action.md: - id: d36e2725f8f3 - last_write_checksum: sha1:b0015eb74ddab86517cb6bcb8cb737849359da99 - pristine_git_object: 9babe844a30f3fcd170cb1b3fa1c54d89dfcb375 - docs/models/usereventjobpayload1369commitverification.md: - id: 69d1f1bc7be8 - last_write_checksum: sha1:eaf13a648cc4c19053a8e901b2040c42cd644162 - pristine_git_object: 3d0819e491d73d571776febc886d788a4c70656e - docs/models/usereventjobpayload1369deployhook.md: - id: 5421a3e6e2cc - last_write_checksum: sha1:e93649455f1964f77835573e24712393b843c0f4 - pristine_git_object: f41048a08a6d070c171418e6556e2dddca5e7194 - docs/models/usereventjobpayload1369gitcomments.md: - id: 00b15bd4e281 - last_write_checksum: sha1:e6a928247f011c1ca1896d35ff0615288f4ee9b7 - pristine_git_object: a97d916a94088617d7fb552a60c328117a403e9a - docs/models/usereventjobpayload1369githashtagvercel.md: - id: 7c2efd7a20b8 - last_write_checksum: sha1:501d605b4df7056e65eb15d2c11a8ddb76e3da27 - pristine_git_object: 6450031ebb5e1314bb51898af101340690e55239 - docs/models/usereventjobpayload1369headinfo.md: - id: 38ddefc003cf - last_write_checksum: sha1:10973a8d3002e4a6c71cd469a282f117524adc24 - pristine_git_object: 96244365cf0bde4cad38d408395ecd8005a8250b - docs/models/usereventjobpayload1369nsnbsideeffect.md: - id: 05d548362ae5 - last_write_checksum: sha1:ebaae0df63de2bbc8acb84ad0d82e8ef6fdb3937 - pristine_git_object: f9232202f99f5996c1c3a3603fc4ec12ff57de23 - docs/models/usereventjobpayload1369provider.md: - id: 3f260dddbc33 - last_write_checksum: sha1:cc0f13ae9f748de2f3f677f3bd86065490d4d025 - pristine_git_object: ba1a1f93c610254adc25397d8956de4d98f4962d - docs/models/usereventjobpayload136action.md: - id: 20035dd7bcdb - last_write_checksum: sha1:330032084e6b1d55a8add0c206d1e1acffa19076 - pristine_git_object: a6a74acf93771284dfe0e3adac69933f660447a4 - docs/models/usereventjobpayload136commitverification.md: - id: 43f63c9a60f1 - last_write_checksum: sha1:8a65a96e926f126538e30b5328eccf4255eefcfe - pristine_git_object: 90e20f42b58735ac97dc0649d13f6147c6c0b3f1 - docs/models/usereventjobpayload136deployhook.md: - id: 1d687d737c83 - last_write_checksum: sha1:4580d6a5d695bcf89df78ba87146dfb3ff0259e5 - pristine_git_object: 8f123b0e706c70245955f4ae8d68d35cb0639204 - docs/models/usereventjobpayload136gitcomments.md: - id: f6dd7fc57fb4 - last_write_checksum: sha1:a7e3023b00abc6c29bd3eaa51011f1569a3862e5 - pristine_git_object: 909ed97a3af7aa47c89f998eccf8458a3f34a42d - docs/models/usereventjobpayload136githashtagvercel.md: - id: d3b1beb866eb - last_write_checksum: sha1:22a1d91f492d7a8589634b0f6bcfcbfdfa79d3b4 - pristine_git_object: 5742d5a2a5236c24c803a42e7a723f2ac9a27ba9 - docs/models/usereventjobpayload136headinfo.md: - id: 17f3d776f19e - last_write_checksum: sha1:6122ad04f7a1ed3575edab39312534b9cc7fb447 - pristine_git_object: 2cabbeb9df9f7e26934b2aa2e7825452f258e7db - docs/models/usereventjobpayload136nsnbsideeffect.md: - id: 81f32167a292 - last_write_checksum: sha1:60bbb878c53bcd7789e12aee5e3a77df4060d930 - pristine_git_object: 2339caab2ebaacdb7534590cc53550e6c5feaef2 - docs/models/usereventjobpayload136project.md: - id: d5d8f8995651 - last_write_checksum: sha1:dcaf36dec7c4636b2871d317a0ba617de8c0d4c4 - pristine_git_object: 73539dc8c9a7826744ca3c2b2bc4bffde917c669 - docs/models/usereventjobpayload136provider.md: - id: 8382a2905ce6 - last_write_checksum: sha1:4f44b84d120f4252ccb86776f69930d135e9448a - pristine_git_object: 8e5485af1994eb9fe563bfb71a679cb5767e429e + last_write_checksum: sha1:8867687e9e47113b027d94f322aa2c91428d37d3 + pristine_git_object: b9011668fe6a859e25d7673014d09d0270b1256c + docs/models/usereventjobpayload13710gitcomments.md: + id: 1189016078d9 + last_write_checksum: sha1:2d23eda8dba428644aa0d7185acf0086ede8b47b + pristine_git_object: 5cbfd123859775b9370d08c0582dae58b925abd4 + docs/models/usereventjobpayload13710headinfo.md: + id: 2cc2514d40fb + last_write_checksum: sha1:57e58646158a787e9fae059e38d69eb929c1771d + pristine_git_object: 42a2ad26a2abd49bc3846f9b98caa24889ef3c48 + docs/models/usereventjobpayload13710provider.md: + id: 8729ad04e200 + last_write_checksum: sha1:a386e783f84eb92d83170d6bc3cdde5a80854f2c + pristine_git_object: ac42cbd5eeb95448092b7d58150e5fe7c2f45ca4 + docs/models/usereventjobpayload1375provider.md: + id: 2f54e00e3b72 + last_write_checksum: sha1:d6f47ffdde0c0bd4b402c74a8b4d020491833c02 + pristine_git_object: 1d8db23c95ce31e6c2ffc939f193fec5ba196b67 + docs/models/usereventjobpayload1376gitcomments.md: + id: 85c7bb450e96 + last_write_checksum: sha1:dbfd8da02282f14976387ddd896147a01bc9a7ba + pristine_git_object: 34c20ae8444fc6d25a2c53850d905b36bb228be5 + docs/models/usereventjobpayload1376headinfo.md: + id: 574d9253e6dc + last_write_checksum: sha1:64a942292d24ce7320cd66df004631330f48e255 + pristine_git_object: 429c96f1ea5ce3d4c515582f96afc773d52cf5ee + docs/models/usereventjobpayload1376provider.md: + id: 7dc1309a597b + last_write_checksum: sha1:731e92d8cd8126579c5bb7b45a6ed8a404e88941 + pristine_git_object: 793e88ce63d0989d028d3de1ff2154e13b4371ee + docs/models/usereventjobpayload1377gitcomments.md: + id: 09104fe25ef3 + last_write_checksum: sha1:7e4fe8a40b58ac13e474e9cf60cec3a741b2fda3 + pristine_git_object: 844da4b8fe505ff46c0497bab1609b7a3eedcc84 + docs/models/usereventjobpayload1377headinfo.md: + id: ecf61ab33be8 + last_write_checksum: sha1:31b43d88f2ae5f38bc8be973a2c397a40f38ee98 + pristine_git_object: 6472054c3c65ebe9ffefab2cd8e452029868f977 + docs/models/usereventjobpayload1377provider.md: + id: 5151698740fb + last_write_checksum: sha1:00056f5bf4a31d9dc1a43c6fd425bf6de8e03d5e + pristine_git_object: d58745b9a7bfbb9460c0e9214da9e9246ed4bb13 + docs/models/usereventjobpayload1378action.md: + id: 3d929a2d090e + last_write_checksum: sha1:c997d64a3263c13b427e40f69aac1d9bf23b0eff + pristine_git_object: bceb621f5cea4876d93197ea8ae57ee535bdb9d3 + docs/models/usereventjobpayload1378deployhook.md: + id: b24dbd16ca44 + last_write_checksum: sha1:b21ed2a78f8c12939003a9f46d4ba9e07bc036c9 + pristine_git_object: 57dd9adaeede3486c0340d09a7e2061a3da36754 + docs/models/usereventjobpayload1378gitcomments.md: + id: e4bccf0c6ac2 + last_write_checksum: sha1:b66f470bf2616c37a658b3743d68d12144e74a53 + pristine_git_object: e32b4205c57a3aa5aef0b2a51822086136a3a97d + docs/models/usereventjobpayload1378headinfo.md: + id: 50c0226264ca + last_write_checksum: sha1:1a7107245ca324c1174c157cc2d36871f8f64df9 + pristine_git_object: da54356a974ff8ab569f17fe8970ccc394fa1f87 + docs/models/usereventjobpayload1378provider.md: + id: b77ed6d8defb + last_write_checksum: sha1:3b2adb600a632381ca795a6e1e447785a5ecacf2 + pristine_git_object: 61a78adbe89e2c199cf23d73fb14b8dde8376c96 + docs/models/usereventjobpayload1379action.md: + id: 78d47d3a476c + last_write_checksum: sha1:9883f23fdd79a5ca788b974e465a085aecccc170 + pristine_git_object: ac2a7f4a35f8b357f3c2ec6b27c3b2eaa0dcec22 + docs/models/usereventjobpayload1379commitverification.md: + id: c63e25fc195a + last_write_checksum: sha1:fe589aaed8ad75e605d09b466c06884198c6ba06 + pristine_git_object: 6c7383ba708647ccc63ce2975195018d27d1ff5a + docs/models/usereventjobpayload1379deployhook.md: + id: 17bca45c8789 + last_write_checksum: sha1:ff1826b790e68dadd63855fa3122fe98abc7fcf9 + pristine_git_object: 489c254a9cf34a6d38e080a0e79c04108d9fec05 + docs/models/usereventjobpayload1379gitcomments.md: + id: 002265b8e8b4 + last_write_checksum: sha1:7da8c36331a5858aa9d7abef86b806ce7bdb833e + pristine_git_object: dc5f372c7417cac33dd885acff704958698ee914 + docs/models/usereventjobpayload1379githashtagvercel.md: + id: 0b8d98b47f59 + last_write_checksum: sha1:161baf51c0eb0ceb80e994eed768806b60b256d1 + pristine_git_object: e9a225c330413e313e3a90a10e8d2f7d76b2abd7 + docs/models/usereventjobpayload1379headinfo.md: + id: 771907f5cea8 + last_write_checksum: sha1:6981250a97e79b76dab5275eb1fe1d94acc9841a + pristine_git_object: 98a335a2129925396dc61281d147ac2c869d3ac3 + docs/models/usereventjobpayload1379nsnbsideeffect.md: + id: a8a80bc30f66 + last_write_checksum: sha1:1d7afe2447679620e183f408964111dfca213bb5 + pristine_git_object: bac1e0a0801923875fb2835e97bf306a8df234c7 + docs/models/usereventjobpayload1379provider.md: + id: 890bf610e54c + last_write_checksum: sha1:00fdde782bc7ea7575ca4326219ee56466424ee7 + pristine_git_object: 1844135f05cd9fc8eef63ee700699d9efbfe8d09 + docs/models/usereventjobpayload137action.md: + id: 42ab8daf74f2 + last_write_checksum: sha1:0b7428b4ce66d86653b68104f9372bcc61239291 + pristine_git_object: 76209b41f2f68a73031bbcdb609b5bb756c8c48d + docs/models/usereventjobpayload137commitverification.md: + id: 64c8baba972b + last_write_checksum: sha1:bf7c482566739c65b46201f4464a29f7fb227af7 + pristine_git_object: a467ce452ef7e47ee547468d3742b325c329316d + docs/models/usereventjobpayload137deployhook.md: + id: 6279342d5793 + last_write_checksum: sha1:98b9401304f90dea69972b74a15bc3cdce532f63 + pristine_git_object: 90cb83fcfdbc5b71ac6b780d8bd56017c1889155 + docs/models/usereventjobpayload137gitcomments.md: + id: 5503dce24581 + last_write_checksum: sha1:d0026e6760fae532a2b91da3a2e4f0a7d0fc86b7 + pristine_git_object: 186a6796e33e39c332761ded1f9ec03964b1f366 + docs/models/usereventjobpayload137githashtagvercel.md: + id: ffd0b496ece2 + last_write_checksum: sha1:e270725e63299c5ad09693efd216deccee912a41 + pristine_git_object: bbf6a7926411f460318f208fd395060542e12738 + docs/models/usereventjobpayload137headinfo.md: + id: e0df84a713d3 + last_write_checksum: sha1:caed994c982614883268f46342f6b81659289f0f + pristine_git_object: 5ddd95dcd676b0d2e5353935b1febeba1ec69fb1 + docs/models/usereventjobpayload137nsnbsideeffect.md: + id: c54cbcfef1af + last_write_checksum: sha1:191b5b3178a32d39a44d93e1f2a8020157b561be + pristine_git_object: 3d64baa3db7f3453d2ecc179bb8dc3b75cd0ad9c + docs/models/usereventjobpayload137project.md: + id: 7471c038c562 + last_write_checksum: sha1:ca746702817d35e498a63175d29a39c8e7fdcaac + pristine_git_object: 750bcbb7a86d23a6d6d3d528c68f6a45dbda7632 + docs/models/usereventjobpayload137provider.md: + id: 2a18aed83d2a + last_write_checksum: sha1:faf0dca6f335db56eafce5c52b54357dccb1b64d + pristine_git_object: a2d407e8135ee1e4f2f49c8ff863ead6120ef8e0 docs/models/usereventjobpayloadaction.md: id: 040c53db9221 - last_write_checksum: sha1:115714be62f6a489f4583d3d13a54f8ded2b82c5 - pristine_git_object: e5a05849a66adcfe54b0e884cd248e0cfa6ae911 + last_write_checksum: sha1:7a27a10fb60f8ec158cda91411492b873c88e305 + pristine_git_object: c1f74c10408f2cdb86a06da5153b2e8dbfad223a docs/models/usereventjobpayloadcommitverification.md: id: c1aa4410e1aa - last_write_checksum: sha1:4e33fb76f64639b734960521dda8ccbf712ba46a - pristine_git_object: 1ab55c65603c074d4bc8963f68abc9b2be8fec2c + last_write_checksum: sha1:318d6d33fd10b3e6c00544af3df763a0ddf3ab8b + pristine_git_object: 0970e2a7badad89ed66867a6049ced1baa57cd2d docs/models/usereventjobpayloaddeployhook.md: id: "286282778863" - last_write_checksum: sha1:2b6a01076018792f70c1a7e775877aec9a082e52 - pristine_git_object: 055bae5e27ae23d821e380c085e1cb1c1b0e281c + last_write_checksum: sha1:43b1f714cb6202985be6f4060c45a4e6cae98c8d + pristine_git_object: f73a716a84dd055f7d120238bb1123935a160a75 docs/models/usereventjobpayloadgitcomments.md: id: 3535270e7a44 - last_write_checksum: sha1:3a2185fcee8d9a44705f29b493ee2e8140a6b699 - pristine_git_object: 30b4130aeaeb0eb10f0eda6bbadfdfe0af5c6461 + last_write_checksum: sha1:8924e724b835ee56e4ec171168bceaff25d61f95 + pristine_git_object: 2553759a4ccb06f6ae48477c3ab5cbdfae4590c5 docs/models/usereventjobpayloadgithashtagvercel.md: id: fd082845e9e6 - last_write_checksum: sha1:6825fbc9e409602499e9e67c8b9d7a97550f0b23 - pristine_git_object: 57c182c166d0ddf4b3ccff2806a87e0c237145b5 + last_write_checksum: sha1:3060a05f569f884e79d9f6517bac581735d0e23c + pristine_git_object: 3fa352bc57c6dd92280dd887f3e8457bbb2e83f2 docs/models/usereventjobpayloadheadinfo.md: id: a61bbadf0669 - last_write_checksum: sha1:324fd50f9478d5b34586a329f88a7ae477bf9de2 - pristine_git_object: 29464fba2134cc2e4619fda405d9a733a6a02fee + last_write_checksum: sha1:41c9f98ff4cc97c2f4bd5755003d1ce19a044ef1 + pristine_git_object: 532940dd4f51b702c742bce8db67999cd7671faf docs/models/usereventjobpayloadnsnbsideeffect.md: id: 20f39108be53 - last_write_checksum: sha1:c56c68d0f0c2d1ace69221c4f7913457b9b7bcb4 - pristine_git_object: 853275618b5400bd97a646bf67febe198530d747 + last_write_checksum: sha1:e4d6b4bd9017ec267c07d02c04920bf76694190d + pristine_git_object: cc706570c58085b6e8fdf23c950ffef3755f619c docs/models/usereventjobpayloadproject.md: id: 3a718d3d70af - last_write_checksum: sha1:000241910dd8e11960e283a87f86a1afcbdbe027 - pristine_git_object: 43d5f14bc63416ce292ea2b82d9949fc1d87c3f3 + last_write_checksum: sha1:807baed8f3d7332c1e2922e2af96ef698e5c0bf7 + pristine_git_object: 4ddcda11c1f198cf3b8b7e786aefd706097d3c8c docs/models/usereventjobpayloadprovider.md: id: 25e65ffadb26 - last_write_checksum: sha1:49e1d59bdc69f5098e10eb3ec0736a515c0f531b - pristine_git_object: 349140ea9f2bc1d78c2114cdfdce049bd1601040 + last_write_checksum: sha1:c7729faeda262ce475e8dbc9264b0a778d730d6d + pristine_git_object: 8e8d99071866515616b946daeb141902f94f8349 docs/models/usereventjobproject.md: id: fc7865fbd2fc - last_write_checksum: sha1:649f2a3abe7db98ab7589d89ca694cf942e62930 - pristine_git_object: 7db37e4bdfc0963f392650e36dc751d9b6c15295 + last_write_checksum: sha1:ed10de7f5f6f4df6f063002e1eb582c114578b1b + pristine_git_object: e6658d8f6bb657b5317086e391460f179c8be91f docs/models/usereventjobprovider.md: id: 376de6ba68a2 - last_write_checksum: sha1:221a3a9ac1b294c1a13c3d9c9cbd0e3be80cdb9e - pristine_git_object: 7143c2a52eb77ff2ce86c272a4b2598d00a97d32 + last_write_checksum: sha1:0b9f8d3cba4beb63b80ff0adcfa479333d1e3b4f + pristine_git_object: 00e2f6753387d307200338d5ac1480a596660f57 docs/models/usereventlasteditedbyprincipal1.md: id: 2f07b63a29d1 - last_write_checksum: sha1:e3e0ce946a8ac255c053558f3854e10f43adcac8 - pristine_git_object: 85686dd8d28051266c565c40b6e807552dc60a02 + last_write_checksum: sha1:d0bdb29f0196bf30219f61e13026fe07cd1a6658 + pristine_git_object: cfb2d27308148884128885a4fa558cb57ddb8ed8 docs/models/usereventlasteditedbyprincipal2.md: id: 8604ddb863c1 - last_write_checksum: sha1:85dffbc0b014d5b6599038d1ae7e70f913711ebc - pristine_git_object: 0db1bbee540a5e6171512759ab5ca34768c3c34c + last_write_checksum: sha1:eb5558e2ad0f7842054075aafaf36540a775807c + pristine_git_object: 191590026a2ad248d46cfb36ef3c2432d6712dc9 docs/models/usereventlasteditedbyprincipalpayload1.md: id: efded5b691d7 - last_write_checksum: sha1:0b9a798197d148c3c475adf23129e555fde06785 - pristine_git_object: 1b2f359e4ac128c3c333640311c6e2b517c2b7c4 + last_write_checksum: sha1:c6995871b4008d5a59299b36b6788b3da4eeb36c + pristine_git_object: 0c2060dc14a760781c10d19eca66e0c05ab71033 docs/models/usereventlasteditedbyprincipalpayload2.md: id: d36dac87bd10 - last_write_checksum: sha1:4996b84e32b2ddfdcf2f8d7dac4fa33bba177c46 - pristine_git_object: cf80c57d3c87fde86877ccec96b26f486e1ad097 + last_write_checksum: sha1:719305a3db19a3b8514295a84771779aa806a461 + pristine_git_object: b4bc51f65af730892dbc312764d08c14deb14af5 docs/models/usereventmicrofrontends1.md: id: c26d6b5de2b5 - last_write_checksum: sha1:8f980dc128b4ab33994a62f51d442aa3162e6419 - pristine_git_object: 79e66f0600eafa2bc6e597408835e95df2a71335 + last_write_checksum: sha1:18f93f1744fdd60e7de98d85989a44d6dccb3e89 + pristine_git_object: 3653ccaf7e4d5d40e1b5fcdad9a5e1e233cc290e docs/models/usereventmicrofrontends2.md: id: 17fa47aed166 - last_write_checksum: sha1:9e217ed0cbfc1b35a20e4abb930cea783785add9 - pristine_git_object: e1c1275dca0d4edcfb4a9c6b117f225bbf3e9558 + last_write_checksum: sha1:ec514b34ac746fff39395189b5b7844029d6c644 + pristine_git_object: 6be1dbab2b3f952cafd4b2d26602a098cc928c6a docs/models/usereventmicrofrontends3.md: id: 109604a1cf04 - last_write_checksum: sha1:fd81c346473edea5b9b1168fc7b406179eb267d6 - pristine_git_object: a257e49d8d2ca4feea7f3ad0571f8f36a411a20e + last_write_checksum: sha1:22663d3ef3ede1c75eebeac6858d500f551ed213 + pristine_git_object: 4fd00632465e5a906ee3d6d0b3151bfaa26d13b1 docs/models/usereventnext1.md: id: 5c18a968f8ed last_write_checksum: sha1:89b5f610ffef356431c57a95387c805353e48258 @@ -47997,974 +48069,906 @@ trackedFiles: id: a5e41a196642 last_write_checksum: sha1:faa758bc717199a3ad7cd69b2da1f0c2aabf37cb pristine_git_object: 85f44e0f88df9a89e10b07fc6128ec333df4269d - docs/models/usereventpayload100project.md: - id: 450abd9849d2 - last_write_checksum: sha1:1ab0318511a54b858d4b26923e7a4308f5991a89 - pristine_git_object: 71d16fb079f10b6b6578ac0a830496c1391febba - docs/models/usereventpayload113project.md: - id: c0e60be0c73d - last_write_checksum: sha1:e7323b1250567c38e075b85488bab6f7ed881654 - pristine_git_object: 3213bd9e07fdb07b32008442731208fed26c2426 - docs/models/usereventpayload113team.md: - id: 9085e74d14e5 - last_write_checksum: sha1:80dfe8a2524fac278443bdd2da76a1957c1a1728 - pristine_git_object: 49050f530f39b10816c09a8bfe9c1844cbb2770a + docs/models/usereventpayload101project.md: + id: e65d71e7c8f8 + last_write_checksum: sha1:6d929397e9c574c7256d1292aaaccc1b4fea2421 + pristine_git_object: 5cb2a7d0280439c5de96f5e38a69e86df3009a66 docs/models/usereventpayload114project.md: id: a3c9e62bc8a7 - last_write_checksum: sha1:2cb3020193143c0155c685650f6a062aa90b6bd8 - pristine_git_object: e80010907db4982aec6b0da8354d4abcf88118e0 - docs/models/usereventpayload115configuration.md: - id: d45840efea2c - last_write_checksum: sha1:89a8bcb0b4c64240a8e22c524aa849bf0941e122 - pristine_git_object: 470381f517140268236f53ed575326c71385ed3e + last_write_checksum: sha1:52d9cbb91f029ec31b9c28293f4eeba0b2050319 + pristine_git_object: 5ee5e5dd30dba4db25d36a255a4d7a26eb6890ea + docs/models/usereventpayload114team.md: + id: c072a2be9288 + last_write_checksum: sha1:340cd7892346060ac33de8d6183489331141fb4a + pristine_git_object: 9868461a786ba497f27310e36cb3fcaf7c06ca22 docs/models/usereventpayload115project.md: id: 4b1941d7527b - last_write_checksum: sha1:130277eb84d6c871b05e3d5b9fa83b1a288750cc - pristine_git_object: 4e6622da83a718cc3031402a8ccad88fd8a09dbc + last_write_checksum: sha1:8ffdbd50f9f6f94374a4cac59024b831c8f2c155 + pristine_git_object: e7534ea3ed55b9238872f4fb489409aa44c4635e docs/models/usereventpayload116configuration.md: id: 3dcc6479d94c - last_write_checksum: sha1:682a0a9621123c99f8c2ef2de2215b02d56983fc - pristine_git_object: ae673441ca8e511b9a9a5e1f2a373444f6a99400 - docs/models/usereventpayload116team.md: - id: f5845ca4ea48 - last_write_checksum: sha1:1145fcf82de9a80575189bc53e0586518d30f1be - pristine_git_object: c5608d0e93828ecbc7df928b780e73df6ad175e9 - docs/models/usereventpayload124project.md: - id: a32a25dedad8 - last_write_checksum: sha1:05a9378a70779795de04473b86549ec78e36a5e6 - pristine_git_object: 739af065eef7cfd58a9fb8d9522dd0bc3ce47f67 - docs/models/usereventpayload129deploymenttype.md: - id: 7be49fbd020d - last_write_checksum: sha1:6cc9211e33292331551d8e27db9bf57562cff634 - pristine_git_object: 24ee95f24c35eae888ebbba803fc9f9895c9bcfd + last_write_checksum: sha1:6315a284e8c7bde8ed40e0f9d0642091885cc904 + pristine_git_object: 3b37fd3f6d4e25806877b0f65fd5f5e95b43a40e + docs/models/usereventpayload116project.md: + id: f28be419cc3c + last_write_checksum: sha1:466542861cb8d5dcdd57c75a80d39619ef5f487c + pristine_git_object: 6810029a44129e3ebdd02154f4ef8b0049c1cbf7 + docs/models/usereventpayload117configuration.md: + id: 3447aaad53cc + last_write_checksum: sha1:98ed5577cb37abe6a2159dce5d5ae5eb7b619758 + pristine_git_object: a3a715eceed08752fd2d1426389c3b55c8f9b7ce + docs/models/usereventpayload117team.md: + id: 2960c11ebdc3 + last_write_checksum: sha1:4282d9315e9247b0dc78716d2f7ea18fe691e535 + pristine_git_object: 7f112fab6c3744fa11403344b608e4d4ee1c6f0e + docs/models/usereventpayload125project.md: + id: bbbca3edd03c + last_write_checksum: sha1:7533b801c0373fa654042be1f49afa4b5ef5fa01 + pristine_git_object: 460e4c08036b19fb67dda983c2e40a201b3d352e docs/models/usereventpayload130deploymenttype.md: id: dd5caa999ea8 - last_write_checksum: sha1:7f85f4533d7664df6bc1028b172f227bbdfe2332 - pristine_git_object: 0d93b43bab3c1b46fca85798e8032ecb94d8c645 - docs/models/usereventpayload132project.md: - id: 689f87d26c9c - last_write_checksum: sha1:a11292f5f00ba32038aa734d42f382fee0a8d4d9 - pristine_git_object: 880e1fc9e16776a70b4f667718cafc80a5905804 - docs/models/usereventpayload138reason.md: - id: c4c7cee0f66e - last_write_checksum: sha1:cc759ae0b055ff69fd0f8f65a52d1b28e4528146 - pristine_git_object: 1b08a4621a87ac764f040fe8423622efb8d8e983 - docs/models/usereventpayload139deployment.md: - id: 6f6b7c8ea8d2 - last_write_checksum: sha1:7b8ded5f5a9d9414f4046a038b4bbd5bfcfc0c4d - pristine_git_object: 109d859589384bae06bba5fe310ecf254690b883 - docs/models/usereventpayload141scope.md: - id: c9a02ff5f87e - last_write_checksum: sha1:2df7217e59bc94bc4ed7f10e123aa8425b713701 - pristine_git_object: bb1ee8c5e93b55503ae9a2710c44172dfb7ace35 - docs/models/usereventpayload142mode.md: - id: e85c53e6ceb0 - last_write_checksum: sha1:234bec75b51b87c42c36167dda02353e156ffc6e - pristine_git_object: b37969e4cbf53d3fc8e1528c92f07a7d081dd40b - docs/models/usereventpayload146action.md: - id: d2db719e3680 - last_write_checksum: sha1:bcc5bc86432b22778013a361050927820b4a3eba - pristine_git_object: d9520634bd784a8e90f27787f80024a372154667 - docs/models/usereventpayload151newteam.md: - id: db5acb8319d3 - last_write_checksum: sha1:9ba9595b02d80c47b32cbd74d7ae38e9ab559323 - pristine_git_object: f4aedcfc7a23d7daf448c2b5bea19c438e18e481 - docs/models/usereventpayload151oldteam.md: - id: 4868ffe01370 - last_write_checksum: sha1:866e1055029e3126b8b5dd7d913954338903ec71 - pristine_git_object: 6570ec99f593398a648bf211682a166374f4bdc4 - docs/models/usereventpayload178toaccounttype.md: - id: f550c0a9e961 - last_write_checksum: sha1:1818a313ac2def9252f15f8dfe14ed825b959c37 - pristine_git_object: 8641f6b908533ad63ba21dd68bbf4a9a7ad4d2be - docs/models/usereventpayload178type.md: - id: 1cdf8ae0f5da - last_write_checksum: sha1:33e85d5de935cf24193dfcd6418b9aaa73fa687e - pristine_git_object: efa743eb30266a23f88bea5ec5d320eb19cff15b - docs/models/usereventpayload182team.md: - id: 0d8e230761c7 - last_write_checksum: sha1:4977ab04dd6cd1b5483d1b6cdedadedd042d7c26 - pristine_git_object: 73dfdfd3684a12e436d11f114d9aacb7c85f72c6 + last_write_checksum: sha1:c2dd6455abfd3ab45f52de636af0482378acd2de + pristine_git_object: a483c05ceac28fcb01cef7f667f714067e193c74 + docs/models/usereventpayload131deploymenttype.md: + id: 334970596da6 + last_write_checksum: sha1:a309f0d706f0ea55f1d4417b68a92dc54abd0fc1 + pristine_git_object: 90a73137ea045d45f5afecf456b236ad4d037f21 + docs/models/usereventpayload133project.md: + id: 95bffdb368f4 + last_write_checksum: sha1:748ff64fd74fa5068c5019fdb1e55b963708cdcc + pristine_git_object: 1995cda16a8b6f35277820dfae490c96569fbb42 + docs/models/usereventpayload139reason.md: + id: 858d9c7bf6a4 + last_write_checksum: sha1:6e435db2c8b62e61a13954d7329f700faf5ed007 + pristine_git_object: 5e105253a171713c62e1d4a9ce6602cfeac18bb0 + docs/models/usereventpayload140deployment.md: + id: 0fd6d32ec789 + last_write_checksum: sha1:5e317709d5fbbe1d86ead684d65a9ca351aae296 + pristine_git_object: bbf30876c1d9f09d6ac6d30d03a0f752581916a3 + docs/models/usereventpayload142scope.md: + id: 21aaff5843b5 + last_write_checksum: sha1:8a88ba5a1dae24532eec9deba2db41e98b7da2f0 + pristine_git_object: a8273aa97bbce716b764de8159ca29aea17197e8 + docs/models/usereventpayload143mode.md: + id: 6d4f5c58670f + last_write_checksum: sha1:dd2a7a37cd065c369f464b678fd5a9375f821d3b + pristine_git_object: 97e48f8981d197679f771c80ebe59f236ea2df16 + docs/models/usereventpayload147action.md: + id: db1ef17d089f + last_write_checksum: sha1:4801c0e5a5073749fe52eaf20ce4ba82d97e1672 + pristine_git_object: 5bd6af04e223ec684ebb7aeb7bccc819e094de40 + docs/models/usereventpayload152newteam.md: + id: 0e6eafce55c6 + last_write_checksum: sha1:619f05772486421ec9a3f9550c1d4233f84b750a + pristine_git_object: 2551da7903457b6d11dbaeaa3d93114e5213f162 + docs/models/usereventpayload152oldteam.md: + id: 15228d49c735 + last_write_checksum: sha1:7e2c00ef3448d80ceebba3cfdd81c7ae67cb3af0 + pristine_git_object: fb954c4c835e9b9abf316366d7a0df6ede7b3c9b + docs/models/usereventpayload179toaccounttype.md: + id: c2778fa6036b + last_write_checksum: sha1:45ce50f1159bc0bf44e08671ddc0df2b07c119f7 + pristine_git_object: b96441a9ea807b842c805c575844781ce516078a + docs/models/usereventpayload179type.md: + id: f82e6ea728de + last_write_checksum: sha1:b7d7deb398c588d26e74e7f6f5a58ed3d7d0ccee + pristine_git_object: c092aad83667e0d97a215a820998aa6280f1b7d6 docs/models/usereventpayload183team.md: id: 5103a4c53141 - last_write_checksum: sha1:b3cbf44f9411c884ac1bbdca6db37846772c72d2 - pristine_git_object: 262ddf9524053d4f173c041b5aef9b19b3346527 - docs/models/usereventpayload189target.md: - id: d4bbc0996e07 - last_write_checksum: sha1:e1d22ef549be1323d753c3e568dbe3e02f93a125 - pristine_git_object: d3b14c8e352d487626529fb002a480079ea97d8a + last_write_checksum: sha1:d7847601177fee575768028c78bbc927fde242cb + pristine_git_object: ca9907eff85f86017cb9fb78008b64cff067cff8 + docs/models/usereventpayload184team.md: + id: b9e3cf621cb9 + last_write_checksum: sha1:8c4cd6d63043b95da9c8e80cc5e88622dc04eb4a + pristine_git_object: bef7c9866ca5319583c8bd807ceef9d1274c0874 docs/models/usereventpayload190target.md: id: 4afa9f44595f - last_write_checksum: sha1:dcc912be1d9ed6f1fab3f3eca9a94401f1009938 - pristine_git_object: c5466adac2f1057245b064c912d311f0b6482aee - docs/models/usereventpayload191oldenvvartarget.md: - id: dbbf834b8a27 - last_write_checksum: sha1:ac089539b8c8a70c834bdb9eca7324f070cde23e - pristine_git_object: 76feb5e4a5c279d30610cbb342735f8d133db980 - docs/models/usereventpayload191oldenvvartype.md: - id: 484e0816d803 - last_write_checksum: sha1:626d274c88c09fbb0f1b73b06e116cf2b8e8ba99 - pristine_git_object: 3c58ddfe9ee667f1104403624c813f49ca34db56 + last_write_checksum: sha1:cac4ebddc1ea063778c5a779f533a0c38016264a + pristine_git_object: 8dc23d7cd8f0f97b0c842d79b1e233a67bdaf778 docs/models/usereventpayload191target.md: id: f2a0f1d15ed5 - last_write_checksum: sha1:7d90b3b7ae91f459fb3b923e9aff783cb60d8119 - pristine_git_object: 0cee7bf5c7322d381429e05f438de250de9ce8bc - docs/models/usereventpayload191type.md: - id: 32ece40b4743 - last_write_checksum: sha1:58611df0693ea18b8329b8967bf13168f924e701 - pristine_git_object: a2edd62bb55fccd085b3dea0399431e2a1b6750b - docs/models/usereventpayload198action.md: - id: ddca8417881b - last_write_checksum: sha1:21b97b78dddddf4e010e213681bd477f90c2c78c - pristine_git_object: 7882ffbd30c89d976381dcc98a08f7a908ba7de2 + last_write_checksum: sha1:8072637795467b1b92844b2d4094b831eeec2bb7 + pristine_git_object: 4c73df691ac23b98c4c8964b1f79ceb9be3d6867 + docs/models/usereventpayload192oldenvvartarget.md: + id: 58b37219e589 + last_write_checksum: sha1:458f4aa32fd47b82420829f5c65a3dd4e3add233 + pristine_git_object: e4a66cf6c7710a92fd8349411c290142e6adf7cd + docs/models/usereventpayload192oldenvvartype.md: + id: a8cd1bfe41d3 + last_write_checksum: sha1:696f943adcc0e0c91a399ebb427cd9a2df9078ff + pristine_git_object: 34acca01bafd3bdac0995bb9da4d8df5d2990155 + docs/models/usereventpayload192target.md: + id: 0dfd9aebaccf + last_write_checksum: sha1:ab22ded1b9aeb79de936762d991a678e01dc9fa3 + pristine_git_object: 89428ae34f6e2a2d578bda6c9baad6b04a422efa + docs/models/usereventpayload192type.md: + id: 979042e06167 + last_write_checksum: sha1:81f89b811e8a4c38be28f39f5cc125e479b1aa20 + pristine_git_object: 473ce6db1f063887c8201b07a8fb7a1f77a303ca docs/models/usereventpayload199action.md: id: 73e53321bdbf - last_write_checksum: sha1:464b173489864ca5b66c3171244a41db83cfaf60 - pristine_git_object: a0658040121f541e191ad482afbfb3b1eb9312d6 - docs/models/usereventpayload202action.md: - id: acb3e6c039c3 - last_write_checksum: sha1:7a4e7322f145d827613ef6af88d1030b971421cf - pristine_git_object: f01f5f4d90ee4ad5abbb824ae82f86f7129dd997 - docs/models/usereventpayload206provider.md: - id: 5813f2a90407 - last_write_checksum: sha1:03deffc6e790d6e455631e86892181189f50fe06 - pristine_git_object: 0107007d81c542ef75f37560a2c04c0dab6b7be0 - docs/models/usereventpayload221requestkind.md: - id: bbd3b6c4cf9d - last_write_checksum: sha1:9bfb26a0bcbb178532a613d41e8d8610bd2a1c48 - pristine_git_object: b84c1b7305b3412b1aa10a291f8b6e58c38a95b0 - docs/models/usereventpayload231provider.md: - id: 135f4d89dbaf - last_write_checksum: sha1:328f037e1f694f2a28ac5f61b5c941c3b43c96d9 - pristine_git_object: 8b282466b5deb273b2f3e9f32c4c71914c06a9b9 + last_write_checksum: sha1:1ebeef4726e7cb57eb4e1c4a930a3349a59e424b + pristine_git_object: 9d7f460dbb1126e555131412d7a2fe1e27734dd4 + docs/models/usereventpayload200action.md: + id: 0c74113c82cf + last_write_checksum: sha1:1095670291632dbb8c7e217b5fd9043a8feb58c9 + pristine_git_object: d9d0ca6847b66abef33615be6d1f66534d03007f + docs/models/usereventpayload203action.md: + id: e931fbb54963 + last_write_checksum: sha1:60b74976d42c8506d977cd38e09b20b0225f54fc + pristine_git_object: 1294a170fc9fdeb594ae727dcfb1a3a733521410 + docs/models/usereventpayload207provider.md: + id: 6759865240bf + last_write_checksum: sha1:652f0a3df7ce6b606171a35d0012e253b6d153f7 + pristine_git_object: 32aca8fdf2220ef307bc99b30cdebd3e40505959 + docs/models/usereventpayload222requestkind.md: + id: a88d19eddb8d + last_write_checksum: sha1:2987eccaba6f64dcdbdd3c6cc6493816ac2768ba + pristine_git_object: 1bc7013cff587ffcd3cb20b0a6fd52392f48b8c9 docs/models/usereventpayload232provider.md: id: fa4e12be2610 - last_write_checksum: sha1:8ed7c76ae77f42124ee3e90aacd79da93ac9c4a2 - pristine_git_object: f3710175d2a71da5fd38bd19406468e49c14c777 - docs/models/usereventpayload240project.md: - id: c2527ed7b993 - last_write_checksum: sha1:94f8310473ffc5a97e3ffd8c17cfe9a1af8163d9 - pristine_git_object: f12b8fc1ac2cc300b6154f2e172413a71ed7f9f2 - docs/models/usereventpayload241prevproject.md: - id: ff4737aa4433 - last_write_checksum: sha1:e61349e3e8dbac7a576b029768aacb7678bfcc0b - pristine_git_object: fb709ad63b9b9990e350c1550cc1bba2cd0584e9 + last_write_checksum: sha1:f4aa067cc831547b56ded3467bf1b4195c23f0be + pristine_git_object: 5ce7f8223f121cf632a3b75000eac66bfe7a8296 + docs/models/usereventpayload233provider.md: + id: 51f3eb62545f + last_write_checksum: sha1:f07f92eaba38eb19759bead5808210b235bfacd6 + pristine_git_object: 67498376cd112f74212e30c1e26ebf0f0b9bc198 docs/models/usereventpayload241project.md: id: aefc8d85cece - last_write_checksum: sha1:8e31e78c57f44be44caeecc85054075838df5568 - pristine_git_object: aa2b2301dc2426c717108de9a8c4320978082b55 - docs/models/usereventpayload249teamroles.md: - id: d737786cb9da - last_write_checksum: sha1:5d16b3c2d30c5d165637cb49ff4c0de20aee07e5 - pristine_git_object: c3e3f27c67f35a7dc321cf663d32101d15ac00d8 - docs/models/usereventpayload257next.md: - id: ac42e8d9ccd6 - last_write_checksum: sha1:e2f170c834a95ffcdf96fb2cee9265f31ebd1e73 - pristine_git_object: 180500b6027190e3ceba12bbc52cbf78ca37d928 - docs/models/usereventpayload257previous.md: - id: 36d15ccb26d0 - last_write_checksum: sha1:f7ec278dd4e19190f013dc6ab0841c3cdebf41f3 - pristine_git_object: ad6e0a8b663c894abdc25fba22fa726a92c7e07f + last_write_checksum: sha1:f6d1519ebd4f4aca052a4d5f10f1a3f29c590c82 + pristine_git_object: 1f051ae1e43134bbf4fa6a93679b289b3d9c7bb0 + docs/models/usereventpayload242prevproject.md: + id: adfb73595952 + last_write_checksum: sha1:575138adc8a0e5d9ae265d83b9e9f22ec79647fa + pristine_git_object: fbfed7e0213022bf53a34009189283141c3a33c0 + docs/models/usereventpayload242project.md: + id: 5c9f9458095e + last_write_checksum: sha1:e4f274a5326a34528edf0184029cc9e3303acb78 + pristine_git_object: 80da4548b52048277fe051eccee7a291c39961dd + docs/models/usereventpayload252teamroles.md: + id: 01c708761275 + last_write_checksum: sha1:cd35fa565370448d87908eb2050b36a334d0a80c + pristine_git_object: ec392a44d89c5056c809492db22e40f66bfe73f1 docs/models/usereventpayload25provider.md: id: f795c69ad41f - last_write_checksum: sha1:69d7477b072358701507c63972a50c5119ed3801 - pristine_git_object: e89817d52881b60e5f1159a9472cbe878b4ef3b0 - docs/models/usereventpayload261mode.md: - id: 39bb9274621f - last_write_checksum: sha1:ae4cad2c76bd72ae8566fae2690a2acfbfd76713 - pristine_git_object: 7e3163cd13f47947664a3be8b3a9050a956b4d9a - docs/models/usereventpayload266next.md: - id: 59e6bf8cc5e0 - last_write_checksum: sha1:20ecabc926e3fe5328090fc36f4f2a7876096aa3 - pristine_git_object: cb5ac1b73d156f2923c8b7c2d0c899876fbe45ce - docs/models/usereventpayload266previous.md: - id: 2bafb6366eef - last_write_checksum: sha1:8ce567e4293ce39de1b5a6f80717ea15873592b8 - pristine_git_object: 6f778b1897d32e74296d39dd367a428efb8a342b + last_write_checksum: sha1:6c2a92aa0bada8cb6e1a09c8fef67dad7102c58d + pristine_git_object: a5fb94406434b2e628a8fc991a0dcaba0d1d87be + docs/models/usereventpayload260next.md: + id: 416fc8e94e7b + last_write_checksum: sha1:0f0e812afa8fc2f93e4c2314d5560b217c829ad1 + pristine_git_object: 78f3698731bf6338ec3c60c8e6b5fa682544d9e6 + docs/models/usereventpayload260previous.md: + id: 99f15a6d17bb + last_write_checksum: sha1:a90c277aea0a75328f7dc2fbcb17ee373b189c94 + pristine_git_object: 253dbc45fdbc8118ef8bf10eba719893bf27aabb + docs/models/usereventpayload264mode.md: + id: b12fc101fb25 + last_write_checksum: sha1:a217b5c0132479986321102f42f9f9b301c7413e + pristine_git_object: 4c1afeabc0640f27dddec3892e22c93d353ed847 + docs/models/usereventpayload269next.md: + id: 9f8ff5a6de80 + last_write_checksum: sha1:234d7247a6349665df6cf49c6370f4f7362db7cc + pristine_git_object: 23725311d2ec01be85d2e6b404fd736a943c2137 + docs/models/usereventpayload269previous.md: + id: b10f4282300c + last_write_checksum: sha1:ea4d0eff8ff3d7ae28b211c27ff47a84d1fa4fab + pristine_git_object: bf2887992eafe37e21bcfd2887db9275d6032f47 docs/models/usereventpayload26provider.md: id: c0f8992fa98b - last_write_checksum: sha1:1b1d8df12b43876280fcce9d1c7f1a29169547a5 - pristine_git_object: f23eda8d63629f1f9b395a787d773b7e0b556094 - docs/models/usereventpayload272type.md: - id: 947bd6c66718 - last_write_checksum: sha1:f0be0cf66b56abbd20ba8099de5152738ac58926 - pristine_git_object: 542554270e850ea4242faabc499d58b78fe2c11f - docs/models/usereventpayload273type.md: - id: 6e5a098489be - last_write_checksum: sha1:5b19b4d56babbeb1a3868b3e93d69b6d9e922066 - pristine_git_object: 44839fdd1738e141c958196025eb61bb259879f9 - docs/models/usereventpayload278deploymenttype.md: - id: 837318dcdb15 - last_write_checksum: sha1:2b985a949558bc71e8b46fb7ee74980ff6a5a927 - pristine_git_object: c45dc89bc3cb849439f589605b6b14a782840b46 - docs/models/usereventpayload278next.md: - id: 4650a0fd630d - last_write_checksum: sha1:eaafbe5acc53fce971c8b67bbe49b7c8a34b3e26 - pristine_git_object: bf45d76ccc0ef58e1c403d5bed0818f3dab657b7 - docs/models/usereventpayload278previous.md: - id: 721a403c8fd8 - last_write_checksum: sha1:44005d637c0ad39bb679ceed22b462977e2aa23b - pristine_git_object: 5c44fa4c614d9b3eac162b433cc1210561de43e5 - docs/models/usereventpayload278previousdeploymenttype.md: - id: 58d6f06dc610 - last_write_checksum: sha1:b7c4f13454afbf5f5bbb41916843a47453c58bc6 - pristine_git_object: 24082e16fe7394f28a121126df6ce210f2335a8d - docs/models/usereventpayload279deploymenttype.md: - id: 17cfe750ad83 - last_write_checksum: sha1:bcc9f72751e92556d70cd2f0acd757eb8577571c - pristine_git_object: 889bac5d24161d6a05f7cc2e8cbdb16658898385 - docs/models/usereventpayload279next.md: - id: c0dc813a6464 - last_write_checksum: sha1:e91af11de1993742f2a9a02d06468157cc367f57 - pristine_git_object: cadf03fa3aecd12bdfa9879c395371caacb9236f - docs/models/usereventpayload279passport.md: - id: fe4bb4b1f3d4 - last_write_checksum: sha1:5c11cc1a1eb3c6b8e883ed5a4328a37345894604 - pristine_git_object: 5a0d8176df2c3f1e3b54bd2b64fda0350fef3c0e - docs/models/usereventpayload279previous.md: - id: 1f0cdc4efeb3 - last_write_checksum: sha1:f29b6f2af55e23cd269cb57f08d71c9904109f17 - pristine_git_object: e323fe9c391abb8263cc3a576783c75b1f2d9edb - docs/models/usereventpayload279previousdeploymenttype.md: - id: 82ace5244c25 - last_write_checksum: sha1:71aaf3552b166d68cbe7f048ca7a2b2ea0dce0f1 - pristine_git_object: 55f668e7a27771e781d5f35be958f56daeb8511b - docs/models/usereventpayload279scope.md: - id: e3a50707a311 - last_write_checksum: sha1:93d69e9dc00ec7203c8bfbdf173f86db7bcaf4ae - pristine_git_object: 058e428b8cc9104dd79fe22730d3da9f2cf042ec + last_write_checksum: sha1:e91b76b0c522af6549bcede44265c8a43f9aed45 + pristine_git_object: 66146ef54a3347d5158d71f415db69a961bca35e + docs/models/usereventpayload275type.md: + id: 93bbc55fdc4a + last_write_checksum: sha1:0fe99424da77cb3dbd4a32bd3c33af1ac1fd1c4c + pristine_git_object: dcd219f121d4c70404e514d97a78b53ca19926af + docs/models/usereventpayload276type.md: + id: 1e45d42dcd89 + last_write_checksum: sha1:26e433086cb88c423069b48e4294f133964c54f9 + pristine_git_object: 2b2f6a5134bd5c9ae81a19980b24fb31f2655a90 docs/models/usereventpayload27provider.md: id: a9f4f4f177bf - last_write_checksum: sha1:7bb06ae38d9a5ce9d3c8c48be6abfdfea98a2df8 - pristine_git_object: 937bd08d312f7511718ba1adee0fb255722b0217 + last_write_checksum: sha1:6851f2604d342d89e7aef08993e645ee75c5b17e + pristine_git_object: b5bbf89ac41a7d418cbc0552b0e839e0a9e57ceb + docs/models/usereventpayload281deploymenttype.md: + id: a57bc6dea5e5 + last_write_checksum: sha1:37776d5c1814fab7fafe494c58e05dd62ccbd026 + pristine_git_object: bce60cd7bcf7dc16feb2bbbf91aef6aa4ceac8f2 + docs/models/usereventpayload281next.md: + id: 11b12bee043d + last_write_checksum: sha1:ed17ff0f57eb71962c6adb3b58ced16718ace2e1 + pristine_git_object: 91cab537a59994cf81d70d9ce7d0a8264f21b4b4 + docs/models/usereventpayload281previous.md: + id: 4eb9968babdc + last_write_checksum: sha1:7a581da37b2e343f9d8e8521e1ecb12e37b6b3da + pristine_git_object: 6cce946c3a3388db2e21455fb76a220a4bbf65d8 + docs/models/usereventpayload281previousdeploymenttype.md: + id: 853f3e127247 + last_write_checksum: sha1:d3f00b739c83f133a9dd96bd2340e9c23232c5aa + pristine_git_object: 90ae76458867e50e6b1389d80f500fc2f40b8456 + docs/models/usereventpayload282deploymenttype.md: + id: 5a0ab6512083 + last_write_checksum: sha1:8121e5c5f0a2f3ecd423f369b9da9efc9312c709 + pristine_git_object: ad2f7991808c9ae24a0ff0bb6d84fcf5cb589ef0 docs/models/usereventpayload282next.md: id: fce126849040 - last_write_checksum: sha1:cf210f6ab472ac0d252c55dc0267d05992d1bd66 - pristine_git_object: d68b70fef1012aeac366464375ab92ffd4eb2037 + last_write_checksum: sha1:c198fa4d2b2e62a684fccfd009a842edd34219f5 + pristine_git_object: 87cb236abc72f4b7e28859ac1ffe3e7c96d88d20 + docs/models/usereventpayload282passport.md: + id: b37a37dafd4f + last_write_checksum: sha1:df06ed78519a15640787a688ae92e8e4d834f2e5 + pristine_git_object: 22ef9afa89d15017f19a5e5a934065f60b159cb4 docs/models/usereventpayload282previous.md: id: 199e0cf21de6 - last_write_checksum: sha1:3f070a7b155f610104acf43cacdad79a4b44adcb - pristine_git_object: ba9376efedf49557df47a8f3ca5198bc91f2e270 - docs/models/usereventpayload283origin.md: - id: bfada64d855a - last_write_checksum: sha1:f301466da62822ebd5e790037e270f6e8a39394d - pristine_git_object: fa25038e070ab982b8fbdcfc80c4b832a11a66d2 - docs/models/usereventpayload283role.md: - id: 9ab1fd4d78df - last_write_checksum: sha1:c073beda0145cdbebf8712d8d55f355987b369ea - pristine_git_object: 0e860a2ff5a7e3ce5f9868811d781f9e3f2fb777 - docs/models/usereventpayload284origin.md: - id: 24c62b382719 - last_write_checksum: sha1:f094be705e0bebd8269f14d2d0e6f191e3fcb414 - pristine_git_object: c4cf5bc5a25e7a002e866941a2b7b1aef9f1008e - docs/models/usereventpayload284role.md: - id: 7e0158b8770a - last_write_checksum: sha1:de67ef308882fad6d088a2bf6128a0f8f54258e1 - pristine_git_object: cefbdaad6f54d2ed0e35ae8e866a5eb6b8db0939 - docs/models/usereventpayload287actortype.md: - id: f805b713e4a0 - last_write_checksum: sha1:bd8cbbf9cabfdb8dac20835c06a5c16d04ae0f94 - pristine_git_object: 5a423ebf692fbb951aa238530f34ea455e1c8588 - docs/models/usereventpayload288scope.md: - id: 00ba58000f1a - last_write_checksum: sha1:d4e4f885a3f745257180df9e0ae94611ff005876 - pristine_git_object: 2bcc79cc8cbcd879b922f0ddcb477d37b74040bb - docs/models/usereventpayload289scope.md: - id: 4b80df61b2f3 - last_write_checksum: sha1:e27c751e57e6b0f15fcb290c3a7b085d245246f0 - pristine_git_object: 1d5b1de6c1e4d0f6b6eaff257135c413bbb96f47 + last_write_checksum: sha1:cfd6105651ac843747f75c88f20960563f5715ce + pristine_git_object: 618ac9dc76dca163cf1d776ef0c79e84d3a3376c + docs/models/usereventpayload282previousdeploymenttype.md: + id: fd709eda8446 + last_write_checksum: sha1:60df68fd5f479ce9ef24325f8f077204051a03f2 + pristine_git_object: f8d76decbcd9ee453a2a637b4728bdd0608e935c + docs/models/usereventpayload282scope.md: + id: 9fa103079f2e + last_write_checksum: sha1:1301512deae71867082322e197d14af05023164f + pristine_git_object: 0165b40c93c646099b24c40edf9761e8179d7dd9 + docs/models/usereventpayload285next.md: + id: 8f6b9f57f104 + last_write_checksum: sha1:591ae542a375b6817686876012dd59aeeee6eae0 + pristine_git_object: 36f00da5f0f96e24ea8b8153b04825653b2472e9 + docs/models/usereventpayload285previous.md: + id: 4c63a3335624 + last_write_checksum: sha1:94bc6fc45de32d0afab6f955e8a8fdacf1360b83 + pristine_git_object: 21878963b9e1e496ae03a7d40915a9db2dd4b719 + docs/models/usereventpayload286origin.md: + id: 42a445027400 + last_write_checksum: sha1:296353aa7e80b2dac268c053089d931b5177f04c + pristine_git_object: b531894bc5523ae3d5ced563874c081f12807dfb + docs/models/usereventpayload286role.md: + id: b2dc2c72b22f + last_write_checksum: sha1:e3451ce15488a60357f3b194cf67bfed436cf344 + pristine_git_object: d4dd59f04f3c0833c1b72cbfb81f3b112b4135c7 + docs/models/usereventpayload287origin.md: + id: 607b2bb6c966 + last_write_checksum: sha1:54ea0a115b31936b0fc498ebca362dfe818910ca + pristine_git_object: d46e7e6fe326e31fe5e3f5503237790d3b011286 + docs/models/usereventpayload287role.md: + id: b28b67fd4a2a + last_write_checksum: sha1:5f0734ae168a4bf5ca659222d3c7851572c0dd51 + pristine_git_object: 66561a4e573fd2d7b2d3fa729aa38988e4caeb2e docs/models/usereventpayload28provider.md: id: e7c8f66ec14f - last_write_checksum: sha1:2dd1fb78a6cf071e5f489931ba1f45b468dc9883 - pristine_git_object: 28b08c0cf33be0573dff56f6e58490f2dadbef11 - docs/models/usereventpayload290scope.md: - id: 3dda58dae19f - last_write_checksum: sha1:67683ac4b54e61fa20a7c3bf92fe54d259254826 - pristine_git_object: f6609f00d6fc9277a95662798c5dcf90cb6b9755 + last_write_checksum: sha1:9e38dc37c8abbbf930b23f98225c170ea64a53f1 + pristine_git_object: d612bbead8e884c8abe3bfc3a62480254e8d0547 + docs/models/usereventpayload290actortype.md: + id: aafc7be74e66 + last_write_checksum: sha1:268d2de6f84062559647850f4842c9e72ed3f00e + pristine_git_object: 960a059e5cc5b057eca76defa12aee4ae7dab6f5 docs/models/usereventpayload291scope.md: id: e3c96df4aa20 - last_write_checksum: sha1:5eea2729260ac0544bec6c2e11e7c8e303eeb31c - pristine_git_object: 274a53dd76662b5db517e2f5f38fbbd605db6071 - docs/models/usereventpayload292prev.md: - id: a3e73294b3dc - last_write_checksum: sha1:088333e40fc90235a0f97c4062157f04c2422662 - pristine_git_object: bad40a1f21eb96c5bbad3172590aec65e7669739 + last_write_checksum: sha1:c943cfd64c35d059eec3fa7ce184f07030221b82 + pristine_git_object: c22ea3ae0a8f53d2fb062f44bdb824b1c1ea1bea docs/models/usereventpayload292scope.md: id: ee85656544dd - last_write_checksum: sha1:c6395b8857b42d0930fe3e70a5eb7e66b31bf7af - pristine_git_object: 68219ea007c086bfcb6affd1562b0f250f7395bd + last_write_checksum: sha1:7b0d22a8466d060decf1f1fca26eb68f949cfd9d + pristine_git_object: 059859933f04a442cfcc896fa2e151921d2917c0 docs/models/usereventpayload293scope.md: id: a7c803594f1d - last_write_checksum: sha1:a26dbb7057309fe160093a286e43d6de2cdd9d7d - pristine_git_object: d7254bbbf952e05db87412c6a33f8bafddacd230 - docs/models/usereventpayload298action.md: - id: 0044164f888e - last_write_checksum: sha1:7f7356b4be46fa4dfab0c5428fa7bd943f043fe3 - pristine_git_object: 54506113a1cd30d633ee5cee8c76408221f4c764 - docs/models/usereventpayload303next.md: - id: 53880df902af - last_write_checksum: sha1:1dac304602425d9b165a3471983bbb4d4b85d7e9 - pristine_git_object: b55463446042fa96ffa59783f96b81b3dce5b093 - docs/models/usereventpayload303previous.md: - id: fda4e50c3932 - last_write_checksum: sha1:eff6e62f7f538cbd0237ef041706f575f8f51b8a - pristine_git_object: 5ea36f217b35362d44ebae660247badae304c0b1 - docs/models/usereventpayload310envid.md: - id: f00d5e7be4be - last_write_checksum: sha1:46b529a4b8ff0bcd3fd0167771aed290108d86f7 - pristine_git_object: d900d8d1fcd5d8979280a43e667bad10b139edb4 - docs/models/usereventpayload310project.md: - id: 2a9bf53b0c2d - last_write_checksum: sha1:3f10fa45025773296b82bff1c345b8ded036fcfc - pristine_git_object: 30ffe7e587b967f25674962c084972d077d2747f - docs/models/usereventpayload310team.md: - id: 16138497f8d8 - last_write_checksum: sha1:418b45b259976663aa1d52dba5c7c89713ec38da - pristine_git_object: f086afaa3c56af2ed0ce68b0ccb7b9f1691da860 - docs/models/usereventpayload312action.md: - id: dc00f23a8f21 - last_write_checksum: sha1:42bdfbddc9ad0c0343352c94c4e8ee957f644e17 - pristine_git_object: 64c3122c81b2accc85a3bb2a3bc2f3ee501af6e7 - docs/models/usereventpayload317next.md: - id: 99ad358755a9 - last_write_checksum: sha1:fa68d418c150be3dbb58019668b2f0f81665d406 - pristine_git_object: bfa9cc0474392a745cf47998eeafa1e714904fb4 - docs/models/usereventpayload317previous.md: - id: b39ec3ce4958 - last_write_checksum: sha1:c884b6ee382271084bcdd4ec3bb9a7f41085827c - pristine_git_object: 9a6f50eef84e99cd10156b716ad2405f3eae8681 - docs/models/usereventpayload317previoustype.md: - id: 0265139fd434 - last_write_checksum: sha1:f746ec00bc851d1fa33c80c99e99de967467d009 - pristine_git_object: 645774dd091cc43ef473c39e71fe24a85527b4be - docs/models/usereventpayload317type.md: - id: f0f91ab8359c - last_write_checksum: sha1:ca9eeb76200ffd82e43fafefcf09273bf18d7949 - pristine_git_object: ed3b554ddde5fc11da858896afbfb0d7069f3bee + last_write_checksum: sha1:dd1f7877a7f94b9089dd9b2b74e6510bd28edc8f + pristine_git_object: 42ca125019bc451bb0fe8b50672ac557b1fd70df + docs/models/usereventpayload294scope.md: + id: 116d34793d08 + last_write_checksum: sha1:61cfc05667352bbc96ab7b52cbe358640117dc74 + pristine_git_object: a45cb2369557733d272ddbfa0e89f7a878f4d263 + docs/models/usereventpayload295prev.md: + id: a685750805d5 + last_write_checksum: sha1:c2baada08e8d21b590820075f9a892c82386b672 + pristine_git_object: 3cdb63f440cc78fcbefa4c98341874b523441ee3 + docs/models/usereventpayload295scope.md: + id: 5f17283ef64d + last_write_checksum: sha1:091b45368c34a78641ae0cc9847db4facad873c2 + pristine_git_object: 703a3c5696580192a4ca70d26ea8d49be5e5f5bf + docs/models/usereventpayload296scope.md: + id: 4c07c8bb57b5 + last_write_checksum: sha1:4a7d6ea5e8e9470e11d278be0638aa433effaad5 + pristine_git_object: 2bce486722fccf952b13f8ff77f91a5daaf67514 + docs/models/usereventpayload301action.md: + id: "414671856694" + last_write_checksum: sha1:212b91b7c3334bb8d5d76de73ceec8f58be0bf91 + pristine_git_object: 53f3305afedfc4711fc89986d372c68ed43b18e3 + docs/models/usereventpayload306next.md: + id: a42e8e37f33e + last_write_checksum: sha1:23f62df12a99f44c3b946e56997d6e957fcbae26 + pristine_git_object: e0ce12b5db21d59e62d8768386a8cecd910c6472 + docs/models/usereventpayload306previous.md: + id: 53e407c2d26a + last_write_checksum: sha1:52264e00eb0ae31c54661312aaf31cdbf3a04562 + pristine_git_object: 19f6fd76a29169732b9b4cf63919edd6db3db70c + docs/models/usereventpayload313envid.md: + id: ce145b8e913c + last_write_checksum: sha1:4590e1d70801a0c3a4793353c326eb9cdf07004e + pristine_git_object: 37d523cc7794519cd5e07d04b3083bc657f45308 + docs/models/usereventpayload313project.md: + id: b5c89c3d2744 + last_write_checksum: sha1:5d1bf847af6df09dfd2db1ded125679add5a0e40 + pristine_git_object: 6501cc68a48c0e14c29af570cff6841bea626a87 + docs/models/usereventpayload313team.md: + id: d9cb68f5e0b7 + last_write_checksum: sha1:7bc15c765fd7a2141c72701000aa215f39739c87 + pristine_git_object: b2b0b2429e9a5675c3fa7f8c78817c141bda6bb8 + docs/models/usereventpayload315action.md: + id: a87d36976f9b + last_write_checksum: sha1:a66a447fafc7ce8bcbbf30d5226a839f47774db4 + pristine_git_object: c93f20b5eb1a3a673305dd7260b40615e37668a4 docs/models/usereventpayload31kind.md: id: ad66cf185670 - last_write_checksum: sha1:f67568de8f6914821cf0429efdab0a49af319b60 - pristine_git_object: 98825c560895935d98d39b7fa2d6a5853e63cf02 - docs/models/usereventpayload322next.md: - id: 3b747e2606d1 - last_write_checksum: sha1:d433f7cb9f195aececac02b14559807ecef5d61b - pristine_git_object: a29dffb08f0890a3e4cf8dbd41087266feaa19a5 - docs/models/usereventpayload322previous.md: - id: 592bb25662d5 - last_write_checksum: sha1:59f70d18e62577850fa0efe9fa3049b103cdfb81 - pristine_git_object: 2d129c8ea002665b8fce7217799ed9259c6e8e62 - docs/models/usereventpayload323next.md: - id: 902ea0287041 - last_write_checksum: sha1:17e638e69fd55bd6de2f1e8def66d162eff21f8c - pristine_git_object: d7f0716ba6543d7c7b2ea0e709d5a78e98ff209c - docs/models/usereventpayload323previous.md: - id: 695f9f4f6cba - last_write_checksum: sha1:725b02efbd6a52d51cc6f3369328701c8ffacd91 - pristine_git_object: 1435110072e8569001172ac7ff14f5663b6449c0 - docs/models/usereventpayload324next.md: - id: c2930c70ce81 - last_write_checksum: sha1:8adaa3b5eca3c29b58de63dd68e6ff11244538e4 - pristine_git_object: 232b3151dc9fd5173b0beb341eef87db1de4907a - docs/models/usereventpayload324previous.md: - id: 79d53eacc722 - last_write_checksum: sha1:ccf43e57e616ef05f4471f379705eb361a746797 - pristine_git_object: 5fa310448eb7214dfc5a859578d1c6312c4d51d0 + last_write_checksum: sha1:d00d5b054237f3bfe5d5b44d8f2a0e587165740e + pristine_git_object: 7b61f315fd643517d2c3d24d5ef14d640d489f03 + docs/models/usereventpayload320next.md: + id: f1a6868c85f8 + last_write_checksum: sha1:9eae583588f9291b1e09e04cd59282e5c0a0b518 + pristine_git_object: 59d2bb8fbb4013bf88bea6d07b8bfc33a28eb6dd + docs/models/usereventpayload320previous.md: + id: 31d561209e21 + last_write_checksum: sha1:8e6c5e42e6014b2749a8ebeda6a1975fffe682f3 + pristine_git_object: d0a8d42eba5670f7ad984036493c6958888e49b3 + docs/models/usereventpayload320previoustype.md: + id: abbfceada918 + last_write_checksum: sha1:c1a8f6e13f534c6003610918a5e786999e8408f8 + pristine_git_object: 8c8db1c77ec06787778da10db6c9128b68ec74b7 + docs/models/usereventpayload320type.md: + id: ea05f2b11a9f + last_write_checksum: sha1:ace1d49eaa3db55d3dddf6303ce768dbb25272a1 + pristine_git_object: bd42a83b1232f4e07bfef569d77fa77cc7ce0cf2 docs/models/usereventpayload325next.md: id: 88d913109b6d - last_write_checksum: sha1:40d6d71f7c12190de464b88c3f6bc66aac9b77aa - pristine_git_object: 76f3e1266e4f719febb9d1b0a0f3ef82a9d2100e + last_write_checksum: sha1:65bd2aaac9649e2328b17bc2dee29bb54085ed67 + pristine_git_object: 975db1b531d946cd0d314ac107925290704cd451 docs/models/usereventpayload325previous.md: id: 569c548f95e2 - last_write_checksum: sha1:4d25cb955257e3f2c2dc64961581a3fcd84b1ab4 - pristine_git_object: 23162ec2d80d7f0b0c175d31bd07249f9d70cf64 + last_write_checksum: sha1:a10efd9ece04c0221e1569427da2968ffc55d9c1 + pristine_git_object: 85bd8edabfdd5b02bef665dcfa53fdc878e7d23a + docs/models/usereventpayload326next.md: + id: b0cf3f9ff48a + last_write_checksum: sha1:5a3355243a3ead72a2923daa1b47cb72b3de0190 + pristine_git_object: 95f6ad8a9bf7e1cf9844941ed4c02bbd8b127d3d + docs/models/usereventpayload326previous.md: + id: 76ec8b761b86 + last_write_checksum: sha1:b3d70c48ce784f316c6c6b1972c9a9377fb20c4e + pristine_git_object: f43e5d8607eb27a20e37601b235a73a967f02e46 + docs/models/usereventpayload327next.md: + id: 93be34bcdd40 + last_write_checksum: sha1:d73f647d48759da584af7fc2c5e77578eb3cfed4 + pristine_git_object: 6af03b6722fc13724a9adf1103ddc58c650368a0 + docs/models/usereventpayload327previous.md: + id: 2f2f27ae4193 + last_write_checksum: sha1:9f0c5ee5f09d7286cdfcd5e48eeb67ddaca78e20 + pristine_git_object: 7d07f71bb392e224a59a38e682b18fff2b94e8ba docs/models/usereventpayload328next.md: id: 71aa76c56c84 - last_write_checksum: sha1:2bff7e2384c6f4fb11b2cbc2397400ea1878ca04 - pristine_git_object: c35cfb18df3639fbae3ebf2f216548a8388a3980 + last_write_checksum: sha1:675ce51484c2aba9dbf0f25490301211b8ac123f + pristine_git_object: d162053813a26980863de9331d3f6d1136e0cc8b docs/models/usereventpayload328previous.md: id: ec8558e91d2d - last_write_checksum: sha1:03b9e6c8a2cf27606a1adbf9dc8e0b46b77655c1 - pristine_git_object: a7a5d11d2b73d5513dfb0ffb23424c601ef9abb3 + last_write_checksum: sha1:71da8dee2885376fd165dc5703c95e149df00258 + pristine_git_object: c4346ee8483db58e5e0122cd815b4ec72529fea7 docs/models/usereventpayload32apikey.md: id: 10996c8852eb - last_write_checksum: sha1:d989a1ea134ff6aed08e59f7e3ce7bdcbe0bd88e - pristine_git_object: 7b58157cd430bd8c24ba69df0b8bf88763b5e4c2 - docs/models/usereventpayload340next.md: - id: 5835bc0340da - last_write_checksum: sha1:abc8e65597897838c0395e7b45ccbd5a3cc57eaf - pristine_git_object: 487c119034f6960315475ffe5495963aaf9875dc - docs/models/usereventpayload340previous.md: - id: d9de3b3d1cfa - last_write_checksum: sha1:44ce288904b570ac1603886ca128749277f85276 - pristine_git_object: 1526fbdd67a68862ae270e24f47d505cc43d2000 - docs/models/usereventpayload347project.md: - id: 18a01450adf0 - last_write_checksum: sha1:0ea2d407ac9e2e1c06284b3bf3ee75f4cc5288c8 - pristine_git_object: 6aa2edc4b6d9b5f5e8a8dec738a05c1aa0165871 - docs/models/usereventpayload347role.md: - id: 322203bfda39 - last_write_checksum: sha1:adfad4ef68e090d576a3c74065117227b786d837 - pristine_git_object: 0dcf68ae3563fe44d88ec7048872bbbabb4b316e - docs/models/usereventpayload348project.md: - id: c2bb71a957ef - last_write_checksum: sha1:9277d8c45af6ddf29a3160b2063f08bfde25b394 - pristine_git_object: eeb7a7043151bbfba1156b3833cbdb71257d08b1 - docs/models/usereventpayload348role.md: - id: a356e97b1914 - last_write_checksum: sha1:246f7cb595401158e7487e4870bf459e41612795 - pristine_git_object: 3f90bcb2977b7ea1701148b3b29ee8db7472990e - docs/models/usereventpayload349project.md: - id: cbb38aca2616 - last_write_checksum: sha1:5adc7fae25697b89fbd488965ff82d247da4bc27 - pristine_git_object: 623f94a535a3679db56634f7cb092db3361b15c6 - docs/models/usereventpayload349role.md: - id: 87f952d6dcd6 - last_write_checksum: sha1:8c0b731c40bedd42fa25de88b090dd9810fb6b30 - pristine_git_object: 35a69a617d83425350bc3bcd9c3b770c9dda8c95 + last_write_checksum: sha1:d5d9f7ced99802af9e6a478f760909ec612677f0 + pristine_git_object: 9b4151a9902e91849746b5c148f99379948becbb + docs/models/usereventpayload331next.md: + id: 1534360501f6 + last_write_checksum: sha1:76c4ce3f5a48fa1345b47f9166a616b3de61290a + pristine_git_object: b7417d639499458c96d830a5525a66b9e8523805 + docs/models/usereventpayload331previous.md: + id: 0f22aadab017 + last_write_checksum: sha1:e3069970e865415f848e67e96d0f2249a46fc444 + pristine_git_object: f502873ddc0b81bf2749a069139c382c15212d83 + docs/models/usereventpayload343next.md: + id: 2644a2ead3fc + last_write_checksum: sha1:6a094753e0e87851885d2606cdd51b8ab6f7c43c + pristine_git_object: 5ab6eb019ec73eaa2f13b708a8d47095b1bd88cd + docs/models/usereventpayload343previous.md: + id: d12070435dbe + last_write_checksum: sha1:97450fadfe3adb80c72ef4efbc9e2df849423f93 + pristine_git_object: d9abf15483e06b5c06c4e80d8f250addf1aca971 docs/models/usereventpayload34refreshperiod.md: id: f0aed9a5fadc - last_write_checksum: sha1:9f33e7421f89b5eb35d091b8b71c81b24d3c87f5 - pristine_git_object: 007122eb33e7c8ac79e12a490b5a9f21db73f3d1 + last_write_checksum: sha1:10a188c1a5e539dc21d69dff695677329857332e + pristine_git_object: 5b59225414201e23e778dbac995eb9dba7dbbe19 docs/models/usereventpayload350project.md: id: 94fb819113e5 - last_write_checksum: sha1:c111ad003f8c9da54635d4a4bd2e49d005cc5954 - pristine_git_object: df0ba79e077ff42117d85a73894a0a6140f912ca + last_write_checksum: sha1:19b95cc3a72ea20ac8d68f85fa36e596cf826dd1 + pristine_git_object: 74ced073ea444b68f086bf7e2c0018f4190335dc docs/models/usereventpayload350role.md: id: 442473750b2b - last_write_checksum: sha1:a6f60e4d29efeb19905b2e1e808421ef739b5004 - pristine_git_object: 7b443c0b7003eb0ba65be9d3c783dcd41a359e9f - docs/models/usereventpayload366next.md: - id: 397e1b2e4b31 - last_write_checksum: sha1:0219e41b543ae0c2195451a73f1083827e09b358 - pristine_git_object: 9758db18c58ec331dd613d501308b5dadd16995e - docs/models/usereventpayload366previous.md: - id: 621b9d5573dd - last_write_checksum: sha1:959960c5dc64686d4b993007fecdaed3f42d8834 - pristine_git_object: ccf6035251816099d00b7ae5a53162570ff15bf7 - docs/models/usereventpayload368next.md: - id: 4a3e32662e2c - last_write_checksum: sha1:f4eb4f0bb1c3c2ea9e798a394aa4862244ee0d61 - pristine_git_object: c74366ca8d1aa9c282a21afb483329c17b57844c - docs/models/usereventpayload368previous.md: - id: dc65f64fa255 - last_write_checksum: sha1:2687fc7628488ade519c1edefff76b65145cc88d - pristine_git_object: bccaf677d12dc92f079409f11dd9a28b7fef856b + last_write_checksum: sha1:691f0f2717051f2b6ac85e665be4b5a6b7425d55 + pristine_git_object: 536b202fccbbca8426d476bb74b6cf62a6113e87 + docs/models/usereventpayload351project.md: + id: d3c15f3cb615 + last_write_checksum: sha1:6e44c2eb3e9d8bc305b1eb7ced1df05c3b3836a7 + pristine_git_object: 20867d27472068a4d4a8777f1d83869199ab384f + docs/models/usereventpayload351role.md: + id: 1b203000b6db + last_write_checksum: sha1:b25f93c8f4d71cbf68bb59e32a41abeacd50caa2 + pristine_git_object: 01ec2314fee4f4369162f9486d232ae2a018306d + docs/models/usereventpayload352project.md: + id: 6bb604233a8d + last_write_checksum: sha1:16262776063a639e383cd4c44cddc0e4f11454ec + pristine_git_object: 864ac6c37ba5b48c4d4eddabe59a2d1ba9b5268f + docs/models/usereventpayload352role.md: + id: 277b6a5df3d4 + last_write_checksum: sha1:de100679c67668390773794cb49cfd3c10feb2a2 + pristine_git_object: 714e6b8f5b18e4ba936bc0e00ff6093db53934da + docs/models/usereventpayload353project.md: + id: 017faf109151 + last_write_checksum: sha1:593507d93367be18e3108d9293a93e56c80080c0 + pristine_git_object: 50a2c3b5b38ccad719565d0ab49a6f6b44266ea0 + docs/models/usereventpayload353role.md: + id: aa858638215c + last_write_checksum: sha1:197516b6576460e01a416f5788941c6fdedf9f50 + pristine_git_object: 7209158bf8f8260517d66ab43e07c6174827a133 + docs/models/usereventpayload369next.md: + id: 4ac5ad16c6d8 + last_write_checksum: sha1:8e50139539232109025fbd5f89019e1f9489f3e9 + pristine_git_object: 3bf77247ff9d24e01febf9caf506b7011822eefe + docs/models/usereventpayload369previous.md: + id: fa5ac98d792a + last_write_checksum: sha1:07b5dd6b555eeb1f8eacf8f2c59d3ccd527dc45b + pristine_git_object: 71fe657a43377b9410a257328e2c4701674fb2b6 docs/models/usereventpayload36previousbudgetrefreshperiod.md: id: 6e74a50564f4 - last_write_checksum: sha1:1f82117ba1cf9aaa713980039d538f80a54198da - pristine_git_object: daaf314a3535305c2c8d02fc63499191df4dcaa4 + last_write_checksum: sha1:b2141ebf1b146b4216ac306c3fe1a96e31bb061c + pristine_git_object: e47f4331a004f1cb580fc11a55c345fa0114bc0c docs/models/usereventpayload36refreshperiod.md: id: 93f13a8bfd67 - last_write_checksum: sha1:28aee2a2963bafa4f8c9e75642dcc9304083af9b - pristine_git_object: df1365affc0753d59eaf34c808aa5e8544fe1558 - docs/models/usereventpayload374next.md: - id: f2617c462dfb - last_write_checksum: sha1:632d32d78f6220ff0babb9af1be729150ef5caab - pristine_git_object: fe64108b1312e5644d6c48a2cd4072bc5b9b4d59 - docs/models/usereventpayload374previous.md: - id: 3a783c1bf522 - last_write_checksum: sha1:b7389cdb02b7e85e8aad1b2f3fc1e244a6d77b32 - pristine_git_object: e485d3090e5964bad38b6730d44cf3291045eefb - docs/models/usereventpayload375next.md: - id: 9721276d87a1 - last_write_checksum: sha1:83b8d41bc900a6a0b9db88ac0c7aa3a6d5ce1ef6 - pristine_git_object: d8a26ba6a319d29737a9427890280bbd3e967eee - docs/models/usereventpayload375previous.md: - id: 1c30e25def42 - last_write_checksum: sha1:99c949c96daed6a67767f37352235edfecd3f6fc - pristine_git_object: dd37d9c59c2e1e997f38b4ab41a385ba8964b2bb - docs/models/usereventpayload376next.md: - id: 7558cc57dbe6 - last_write_checksum: sha1:2d6fd62faaa1a06184dd2a9c36843ea8d530771d - pristine_git_object: c24405da5ef7125a4266d63376894d3b47160ac2 - docs/models/usereventpayload376previous.md: - id: 9f9928f5ed36 - last_write_checksum: sha1:8f8cf1b928d1a8f11777a888d0b8cc601f340348 - pristine_git_object: 6dfc466cf8c122316546b4745b01e834f9679161 + last_write_checksum: sha1:f276a9e893fff570c6a282f58255c7cd3803977c + pristine_git_object: 31479283bcfd329c56ca70e2aea1a36885d22262 + docs/models/usereventpayload371next.md: + id: 425db7779e1a + last_write_checksum: sha1:e5479d0633af733193253a80f0a21ac8b2c00e41 + pristine_git_object: 9acb95852aa6855ef465fbd0db9da5700065fe9b + docs/models/usereventpayload371previous.md: + id: 4e39c01644e4 + last_write_checksum: sha1:97b3dc456678da7d6177d7f981daccfbf933c5ae + pristine_git_object: 80e12a3021b764b4c80080a1e1d8733f55c77e7b docs/models/usereventpayload377next.md: id: bb3377b2cb1a - last_write_checksum: sha1:4552c7b891c09ead8cd6bf14540047a7033271ff - pristine_git_object: 1adff6f3258c724888b1365d2570a87339979874 + last_write_checksum: sha1:9cedc56f8be38abcb6eece84cd82dad4a12eabeb + pristine_git_object: 7c859f8af276906627fc40c5e7ceeffa7d4bde03 docs/models/usereventpayload377previous.md: id: b558f5ac0c38 - last_write_checksum: sha1:f2511c310db7c895ce397e2816dd72833f93c368 - pristine_git_object: b61dc5853395fd933647c80d75458a2e0de94b08 + last_write_checksum: sha1:f1365cccff819e2481757788e912f901f080703f + pristine_git_object: f8e35b2e2263046b047497a6e4ff0b9f421fe470 + docs/models/usereventpayload378next.md: + id: ecf2c13a8731 + last_write_checksum: sha1:63eb4785ebf41d27f2ed578eec2009564a177749 + pristine_git_object: 448d2be0b0256e638b7623715a1f1da0a643d397 + docs/models/usereventpayload378previous.md: + id: d9aa45d92913 + last_write_checksum: sha1:ecb29cac3409bd3f02aa54317a8da0b0b8d572d1 + pristine_git_object: bbd8cdc85802e57631639b93097485a9fb650e4d docs/models/usereventpayload379next.md: id: 55e2f1ee78f9 - last_write_checksum: sha1:ce75833dbe46bca6114bb1b72ddfbce52b8fec7e - pristine_git_object: 1876f1d5e1cc3d9e5a4fbe6c4593aab47cf3bdae + last_write_checksum: sha1:a22e181728f7d3184051f9a34985ea87b5159cff + pristine_git_object: db7b1265f69745fb3708bbe88285645f66b68c4a docs/models/usereventpayload379previous.md: id: f44405b6fea9 - last_write_checksum: sha1:7944c1e16b7f164b165e463365289bec6ac7fc43 - pristine_git_object: 09e5a7bf529ae5625788744d587f7862b8e14583 - docs/models/usereventpayload379previousproject.md: - id: be2652b00c58 - last_write_checksum: sha1:848c1e57fa35fdbbf37e89b7f5cae14ccfe50d23 - pristine_git_object: 8858989a2467172e7d05750f86fe7554afad6210 - docs/models/usereventpayload379project.md: - id: 16db95f5a48c - last_write_checksum: sha1:d9c0c02a83369de7798f6c4be10c7354ef2b7182 - pristine_git_object: 495a8ce7957e8d83c1ec95f814cc9a388615a730 + last_write_checksum: sha1:6c568aa60759fa78aa0529fe343a7c64fe307154 + pristine_git_object: 126ef61f2a7d234a3467cf464f6753dfa647dfe9 docs/models/usereventpayload37budget.md: id: 954660abb766 - last_write_checksum: sha1:2e33543f795f07fb7bd9929422e23ee279600c11 - pristine_git_object: cb3b4570c39646f37f18fa1db64d40f8bc9b19c4 + last_write_checksum: sha1:61913e3dff34509474fd2c3bafc5fc39ae6062af + pristine_git_object: 5e7164f2024b15dae9c6b4820814ea23dab6c995 docs/models/usereventpayload37change.md: id: 7016a6100222 - last_write_checksum: sha1:ff699018fd078d48bb679a72d0c9de3168b6db8e - pristine_git_object: a5cf528e80f6bad4473aec04182a7866c7d4fd05 + last_write_checksum: sha1:036573c529812e653ca3ef185974ad2758c14edd + pristine_git_object: e1ef4e5ec4e43f621a0980e7e75bb92fa61fa7ce docs/models/usereventpayload37previousbudgetrefreshperiod.md: id: 26a3ed5c5ede - last_write_checksum: sha1:30fcb24ec767ae5f665f586163d6c5fda19a0413 - pristine_git_object: 6024c1f760659d6a80e62c455c8c4c6a757d2836 + last_write_checksum: sha1:4032ea19e5fe42bf4f74a052982a7182089d83be + pristine_git_object: fc1b38f637e015bab7f9192d50629253edb23436 docs/models/usereventpayload37refreshperiod.md: id: 5fe83afc45d2 - last_write_checksum: sha1:bffb2e0f62b8a81a9683351e21952fa58c3bcf39 - pristine_git_object: 37cb4ef74dfb17e6cc19a9ab114f5d3a4dae1917 - docs/models/usereventpayload386actortype.md: - id: 63efb4b6ed44 - last_write_checksum: sha1:a32551eee126a968218111f6efbf3eb8ead3efbd - pristine_git_object: 180d4acc9a8bed0957ac4c69efa22e9289835578 - docs/models/usereventpayload388actortype.md: - id: 1daf37aaa747 - last_write_checksum: sha1:bb673cb88bec973d216181e391ad578cedd039ea - pristine_git_object: 9165d8195ea930865318c374442382c30dd6391f - docs/models/usereventpayload390actortype.md: - id: 6ef7240e0d6f - last_write_checksum: sha1:861e8dd1061c35f3994548dd3e1429fdd038e2fe - pristine_git_object: 58d7fea6076734877d45508d859f2c96d2a4ca03 + last_write_checksum: sha1:6a06db175bea1adf96af0b764f2055cfbb3afba5 + pristine_git_object: c582ae5e6a4818bc80c44d39e15e64b2ffbda766 + docs/models/usereventpayload380next.md: + id: 59aadd6a00ce + last_write_checksum: sha1:bea1b9a849457be7fa202cd722dd3d34d3a822b2 + pristine_git_object: 15d2e5c33ffa960d1b13b2c22dd4b1f52d1af70e + docs/models/usereventpayload380previous.md: + id: 5fb5a5b59753 + last_write_checksum: sha1:74500331c6a71282dfa2b4c87824b80b52171b32 + pristine_git_object: cb61974e6f5cbb2eb7977ec0df87a673730f15bc + docs/models/usereventpayload382next.md: + id: 3cf77616d80a + last_write_checksum: sha1:c235ce9bb03c380a6752f44c2aa4c13a29026d97 + pristine_git_object: 56426c36012836ee31f2c1930ef5026b8257380e + docs/models/usereventpayload382previous.md: + id: e4efcc70586c + last_write_checksum: sha1:34b8db53edf9a8f84303ed3d5d48a73b85f3e334 + pristine_git_object: ac83d3007212c5424c30ec67c3f20c8fcbde430e + docs/models/usereventpayload382previousproject.md: + id: 5c2db1e95d2c + last_write_checksum: sha1:dd6fa23a091b86a85e4fbf4452ee98412b7ff35d + pristine_git_object: cb4ec53361c47306ae7c3dd45bd160fbcb28efbc + docs/models/usereventpayload382project.md: + id: 78d590da0fb0 + last_write_checksum: sha1:203c643c77cde0f6995d78518d818d741fd51e79 + pristine_git_object: b4508eb2134c7639a95992295d7512d59e2d5831 + docs/models/usereventpayload389actortype.md: + id: 277ac6950eb8 + last_write_checksum: sha1:916fde5da9e5aee64442cdb10ca37a7bfe9beafc + pristine_git_object: fa17e2d710947a08d8617ddb8a9582a770497520 docs/models/usereventpayload391actortype.md: id: 4b96b05a46b1 - last_write_checksum: sha1:28152f54f442cc7960da354c9f9086c9664cd0f4 - pristine_git_object: 9f92b364c6af519032e3c4cb47477f7247a499f8 - docs/models/usereventpayload398actortype.md: - id: 3f9b82505758 - last_write_checksum: sha1:681c6ad09942096df0a4b57e4130f3a17d9d966a - pristine_git_object: 4a9fc25b93349766ab1a01ac75bc9f0fc63bedd1 - docs/models/usereventpayload405geolocationmostspecificsubdivisionnames.md: - id: fcc788a0e491 - last_write_checksum: sha1:6ab72dfdf995a1f71a84bf672bdc65bf7f47a5bb - pristine_git_object: a566ac44b1bd03444c86a629d18c2ccdc9943d1b - docs/models/usereventpayload405geolocationnames.md: - id: 0c709eba7e8e - last_write_checksum: sha1:ff193f0a1f6ab8a738716e62ff16f40c15ae8b47 - pristine_git_object: eedf8f7bc054c984fdf50bf72ba1eac0d8593fd0 - docs/models/usereventpayload405names.md: - id: af11d0d2d032 - last_write_checksum: sha1:8cea6b8a85f5f8fbf46b494c674942da1c1b917f - pristine_git_object: f794105d2955563acf11baba7aa20eddd2d7d578 - docs/models/usereventpayload409previous.md: - id: aff592edcaaa - last_write_checksum: sha1:50eb240c2693f1a347dc77e38b447beabc4eb424 - pristine_git_object: 000a5624a0bee5d06e1542380d44d79a3a9960a9 - docs/models/usereventpayload410budget.md: - id: 116da2421700 - last_write_checksum: sha1:98db7e3a23c5fb18a3321ed32f053f0c1664a61b - pristine_git_object: 645deec331c5a817dba34a576104cf8f6fd50513 - docs/models/usereventpayload410pricingplan.md: - id: a2b36dba332a - last_write_checksum: sha1:12b0a699e0501e06c86aadf33bd692c3e0648b24 - pristine_git_object: 8830b660ad72335e8db3589b34dcb4e2c2e67814 - docs/models/usereventpayload410scope.md: - id: b528fa9806ab - last_write_checksum: sha1:66521a7a5fc2d2aad90b3c9fa0450aef29958338 - pristine_git_object: eaff4bc2ebe451b0ef1d5f580ef0bb442507d7b6 - docs/models/usereventpayload410type.md: - id: 58dc4f34533d - last_write_checksum: sha1:21e6ecd6689e89acf620407bdf1811be7858a87f - pristine_git_object: 3da78f1e6cea1487a76a9b051859a2e469351a84 - docs/models/usereventpayload411budget.md: - id: 5eef44a80d67 - last_write_checksum: sha1:f8f05eee5323834b2c353a82514ccab04772370b - pristine_git_object: be7d51f361ddfe99c0729c42b344b8d571bdc617 - docs/models/usereventpayload411scope.md: - id: 7bded319132c - last_write_checksum: sha1:4b2a0e0f2439e048efefcdbdadb63be0d2b51fb5 - pristine_git_object: 4da7c75b3e7916e64d22805a60e14591babcd0f4 - docs/models/usereventpayload411type.md: - id: 8a6fce40bc91 - last_write_checksum: sha1:e928c76eb7bb1b8e06b6d8f1fa8dcb165f88bff0 - pristine_git_object: c173f33ac787358e91c7ca66baecab4ef9887356 - docs/models/usereventpayload412budget.md: - id: 9c1a3a6432fd - last_write_checksum: sha1:e912460389169b1dad8927606393ffd9d0a30c28 - pristine_git_object: 43eb6abf714190a455770b005170c092a1b48ddf - docs/models/usereventpayload412scope.md: - id: 76d16eae1fc4 - last_write_checksum: sha1:4178a0fb80c184711a682e85f32cbcda770fc556 - pristine_git_object: c2eb456695d8f52fc8ee34c956edf8e57597b0ff - docs/models/usereventpayload412type.md: - id: aae20b402b78 - last_write_checksum: sha1:793d91f363c9f47dde2ea29bfc702994f7491a9e - pristine_git_object: 1d62f0d1eec239f9c8da4ac4972c10445c6123d8 - docs/models/usereventpayload413budget.md: - id: a415b349c4dc - last_write_checksum: sha1:70a58da40f3aaf39c5fc646332ac8b5bb7e7216c - pristine_git_object: fdec8fc9052955d60aee8306633e6e2220e6295f - docs/models/usereventpayload413prevbudgetscope.md: - id: b3710d47524c - last_write_checksum: sha1:3837c87d72a2fd3a0714bdf31e26dacfd669100c - pristine_git_object: 7193b7b7e573b40b573ad14e98d46125ca57a744 - docs/models/usereventpayload413prevbudgettype.md: - id: 86050e6415f7 - last_write_checksum: sha1:e2963245df1b3e37b41bdf3782aa1dc86289399c - pristine_git_object: 684c6df9d9001b6aa477f8dff503bef7693dfc27 - docs/models/usereventpayload413pricingplan.md: - id: 6df6a8ec670e - last_write_checksum: sha1:3662ea0481d14053b0d65f0b0de6d4a222c8a3b1 - pristine_git_object: 99f02598e3a22694da681f8cbd322e69456dc943 - docs/models/usereventpayload413scope.md: - id: 9c4ab1bed4ad - last_write_checksum: sha1:1dadebffa5faae129ed5056f855f2fdfdbce03c5 - pristine_git_object: e466c6f63b076c831124066149a01af2ba708ea1 - docs/models/usereventpayload413type.md: - id: 0ba4d3ab7171 - last_write_checksum: sha1:0962a4b3b92874e739c2cc7fe1347a8bb1c0a2dc - pristine_git_object: 01ab76f6f46add5e634bf334542fa3885eae2607 + last_write_checksum: sha1:96973a753a487feef390295120bff92753a9ae8d + pristine_git_object: 41ee4c2a08f4a85ea81e802f0b3575d80980baf5 + docs/models/usereventpayload393actortype.md: + id: 53371df9eafd + last_write_checksum: sha1:56be7a361a4f05499a254aafadc77b81a95dfeb6 + pristine_git_object: a7e9d1fe56c401b22b8cc9dff63654e08e4d275e + docs/models/usereventpayload394actortype.md: + id: 3575148a4aea + last_write_checksum: sha1:7f5d1d9ab17b378baa8c1b532d16e8aa9bb3b385 + pristine_git_object: a93312e88f31fd1478b942137a5dc04d668e79cb + docs/models/usereventpayload395actortype.md: + id: fc367b94752b + last_write_checksum: sha1:f8cbb889169dc295b7f3a72961b807481b2c4e25 + pristine_git_object: 5bb024350076639576e6560cd259746a16d58edf + docs/models/usereventpayload403actortype.md: + id: 987e308131d0 + last_write_checksum: sha1:35f010e78b60a2969737d8f6a615db0c30e0f7b2 + pristine_git_object: 4ea129e09083bd5cdb5a9d8192d11787fd3bcfbe + docs/models/usereventpayload410geolocationmostspecificsubdivisionnames.md: + id: 5fdb8c189f3d + last_write_checksum: sha1:dee05c307bb3607db78898d6cb0fba8a9ba4e753 + pristine_git_object: 01becfc0585ed70d4ef7edb4c7d5b5fae3a3c898 + docs/models/usereventpayload410geolocationnames.md: + id: a8f422f0d6b3 + last_write_checksum: sha1:24fa0a8282f7198e7009234de0de7a466e53ec6e + pristine_git_object: 6b8a957f2bb310129b4aa4e51b25c5384473f818 + docs/models/usereventpayload410names.md: + id: 5cd11d1789fb + last_write_checksum: sha1:3a5c2b791141483747d5705838681a51f6b93906 + pristine_git_object: 324b4847b7b0c3df04bfae68d0eea85960405434 + docs/models/usereventpayload414previous.md: + id: d5ccb9fbe5bd + last_write_checksum: sha1:ffc719ce035c99cd7b1e077219e11bf027a88e90 + pristine_git_object: 9550e85fda902558cba047a9e13dc3cd427206be + docs/models/usereventpayload415budget.md: + id: a4faf19d290d + last_write_checksum: sha1:12e8b73852ea189eed9afa009c76481414b03f37 + pristine_git_object: 20aab10956dcfd41c6f462f05d7b8691ae7ad4e6 + docs/models/usereventpayload415pricingplan.md: + id: ef31e0dc9202 + last_write_checksum: sha1:43ea8f36a13c84041d9501c7fcb5c25213746d74 + pristine_git_object: 743f4aa67ce01882bec59d6c1f347812bec31fff + docs/models/usereventpayload415scope.md: + id: 438e9aa0511e + last_write_checksum: sha1:5f43e886a02dd240ed8e0d2c1005b2ba491203ed + pristine_git_object: 5de712b1fa46e667679280b8588d0bd8d4ddc558 + docs/models/usereventpayload415type.md: + id: 597ae0cfcce9 + last_write_checksum: sha1:f72fccd3fd791b11b8cca13d4609c14ba4f80a1b + pristine_git_object: a82b26bec99787dd5af5779204e55de3474050d7 + docs/models/usereventpayload416budget.md: + id: e5991effaab8 + last_write_checksum: sha1:ed8409330f4adcb017facbe7b1658d73bb9fb285 + pristine_git_object: 084d89141e649bad1e87253b72bac37e573ccebe + docs/models/usereventpayload416scope.md: + id: 716ab7544e7f + last_write_checksum: sha1:0f474867b1deba4e898f3f77138d73e1f76a7784 + pristine_git_object: 67c59211dea65a3b52bc0ae5772f895efd6606e8 docs/models/usereventpayload416type.md: id: a1016a44a2cb - last_write_checksum: sha1:494c2128550ad420e8ecbf67f08034eee4f0a177 - pristine_git_object: 2572f618bd40ee438c9edbac2be52ff005cb675b + last_write_checksum: sha1:7ba6c976694230dcf98e13c07521a6fccd37bfe2 + pristine_git_object: 84b61d01a6c91cffe04a61a2b5e9477e211dcebd + docs/models/usereventpayload417budget.md: + id: d6bf9a29dfbc + last_write_checksum: sha1:c3d1bdef414dc711cfe4a1a8e899de2ff8c62434 + pristine_git_object: 57894af26b6dfae82da4d73d5a9697fef8b96d7f + docs/models/usereventpayload417scope.md: + id: 1bffc660259b + last_write_checksum: sha1:09506f19189234bd5c54b1f49928c63fbe5a0d61 + pristine_git_object: 785d8630f2a9e3fbd74130277badd0cd0137d61e docs/models/usereventpayload417type.md: id: c4cdd34abb6b - last_write_checksum: sha1:4d25c75e6fe5115f0a8ea71ec27c7778e06d0cb9 - pristine_git_object: c71d548bddfc0dc80f597cdae592b03ff6a136dc + last_write_checksum: sha1:08572a6247547b950b962726ae77bed994c49916 + pristine_git_object: f1641690e8d07aca2fb1aae1c6180de18b185a8a + docs/models/usereventpayload418budget.md: + id: 966ac2b87d50 + last_write_checksum: sha1:77ab309bfd2406606580e3126745f434e310a5d9 + pristine_git_object: 2c76bf20c7dee42157831657fcfd0e7577315d03 + docs/models/usereventpayload418prevbudgetscope.md: + id: 9bc50af84cb5 + last_write_checksum: sha1:35e5c1d9cd742218bf4927f6c02919cf0208637e + pristine_git_object: 90bfc966e6a7d9534cfbccd411ad1d88f2e06ead + docs/models/usereventpayload418prevbudgettype.md: + id: 91d46a258c14 + last_write_checksum: sha1:716791345cb7cc807d6d8b826b39609783d5d953 + pristine_git_object: da250dc56535e9c4a862f737a2211886352aef3f + docs/models/usereventpayload418pricingplan.md: + id: 8ddfdb752915 + last_write_checksum: sha1:efcadf4fc4ff9d9968efe8781374f00f87f90eb3 + pristine_git_object: c23eb0352c842b0562feee618ea7c1a14de4d1db + docs/models/usereventpayload418scope.md: + id: d1a1f3ed9f82 + last_write_checksum: sha1:58c489a2de6bf52f6a5ce39eed50838752f8fe91 + pristine_git_object: 2b1c72e75f82f00589595866a67e74779e1febd2 docs/models/usereventpayload418type.md: id: 74629ab340e7 - last_write_checksum: sha1:93f3a6519f998e0988062d55db18cd518213d011 - pristine_git_object: 3111ece7de39513333a513db3d90a6be95da48ec - docs/models/usereventpayload419type.md: - id: b42588af71b8 - last_write_checksum: sha1:9acdd5523a9c9a800c08fc4795b83de468037d68 - pristine_git_object: ba190bd412e8cedab376b76251255929ee149797 - docs/models/usereventpayload420store.md: - id: 2a905b6b00ae - last_write_checksum: sha1:5c7efdcb8226eb0e7011a49c463e3ad14436f116 - pristine_git_object: cc39b8502406c39932adcbe243b3e9e397067b18 + last_write_checksum: sha1:eb059588fc466bc5a474c87c540f0f59f3932bb7 + pristine_git_object: f969a717a1dcfd0c596758236c2ff7eee25c6572 docs/models/usereventpayload421type.md: id: 84bafce3f248 - last_write_checksum: sha1:113b926553f9b7b289e98a421502e0b03b654dec - pristine_git_object: cf53f18734b509ede12aee1ef42b4632f761ca41 - docs/models/usereventpayload422actortype.md: - id: 791f58652ef4 - last_write_checksum: sha1:0a9713e5f1f827a3c368405459914f0f5d03d811 - pristine_git_object: 75cd4135b09dd6dc4aee9b55ed6f4cca1713f8d7 - docs/models/usereventpayload425action.md: - id: f392b47d7529 - last_write_checksum: sha1:535dc188fc155c0ed3252022fe23807af8e29ef3 - pristine_git_object: c0928e6a34c78d40c6a053a8e9fbf3aa16b4b2e9 - docs/models/usereventpayload425next.md: - id: cdb671609b7a - last_write_checksum: sha1:1babe6459d2f878a50c0d12c3651e1f19500cacc - pristine_git_object: 81aea6af474bff3755a36004c5f3634f98e15632 - docs/models/usereventpayload425previous.md: - id: 99854acbc492 - last_write_checksum: sha1:e1cc16770cb857573c3bb1a40538b8887a92d455 - pristine_git_object: 136c1fd04826e7eb3b38d1efc4f14e6c074f039c - docs/models/usereventpayload426action.md: - id: 52102714b7da - last_write_checksum: sha1:50e26e9409d7a36cfb8096f01a2cdd48a3fa05b4 - pristine_git_object: 9e3c3d803f87ad41cb13162f48b4086014f8531f - docs/models/usereventpayload426endpoint.md: - id: 9ad85fafe70f - last_write_checksum: sha1:c30e5520962fe388c7234d3d86cf26dc6851a97b - pristine_git_object: 7016646e117d3b72a22631f622cfa8f0a9a61feb - docs/models/usereventpayload426next.md: - id: 42b3bbc2cc5c - last_write_checksum: sha1:dfe87b11e776741fe2a07bf2d7654d90e1dc85cf - pristine_git_object: 2d3e795376e5d52ec0304617a0cebd18f62c6bae - docs/models/usereventpayload426previous.md: - id: 0dd9c8e48b71 - last_write_checksum: sha1:388ecdb9e94680d697328d69915a75626d66cd30 - pristine_git_object: 96ad8a9905a22046c715b2e0169b23dc5e18e19b - docs/models/usereventpayload426previousscope.md: - id: 0d9900cfb788 - last_write_checksum: sha1:700a589dc10d33c0977f7dedd859909be5af681d - pristine_git_object: cebf4fc2061b045b7d7b1647a21ce744ca32c3be - docs/models/usereventpayload426scope.md: - id: fee0893e1590 - last_write_checksum: sha1:4633c7ffe4ff69bbc7815987b17b8398fb917a99 - pristine_git_object: 9a2671628fb25eddb5882731509dc7bf624b97c2 - docs/models/usereventpayload427next.md: - id: 656c88e44eb9 - last_write_checksum: sha1:c43016616b4761da9e83466a5fd7832d8befc3f0 - pristine_git_object: 2b259f4224ac0253cb5bac7b25354768aab0fee5 - docs/models/usereventpayload427previous.md: - id: e94aa0e395ca - last_write_checksum: sha1:b7f6e16d9a94e2cfcb6527ac04d0b721632fa063 - pristine_git_object: a56337128a95e9e9e418615277f83fab97663ad6 - docs/models/usereventpayload428next.md: - id: 4de1ea75e60e - last_write_checksum: sha1:68ff496b5f5e7d3dc15512bfc68b3b95567156aa - pristine_git_object: bf3a3096734ca8192493ced22141f8dee65355bb - docs/models/usereventpayload428previous.md: - id: 38db3f07fec7 - last_write_checksum: sha1:93a72ed54590afbd99fcce4f5b598da140d3b2a8 - pristine_git_object: 04f33b0472e53d44ac1d8de851e6724623a96649 - docs/models/usereventpayload428repositoryscope.md: - id: 724085f3dbd0 - last_write_checksum: sha1:a73e7daab59f4b3af20ffbd0f6ba2971819a5be3 - pristine_git_object: 6b6c8be9105e88c3995a3ba046624d25ff498f52 - docs/models/usereventpayload436next.md: - id: 0693a063f124 - last_write_checksum: sha1:c1dbd719684f7a52c940b4a2eb4598f985e6b8d3 - pristine_git_object: 52750594fa0639627b0cea36b87ec01fc13fd8c4 - docs/models/usereventpayload436previous.md: - id: 23c138fc1803 - last_write_checksum: sha1:f77b18e09ddc881344fb2d990cbcbef25785435f - pristine_git_object: 0724696d2065f7caf631069baf132a93ddbb3d1f - docs/models/usereventpayload437actortype.md: - id: 05741c57ad38 - last_write_checksum: sha1:bd31e23e930d4aa2556a43809764b97501d75f7f - pristine_git_object: 51cdf06f2b6ee54418eb4d73b2f122023bce3cfa - docs/models/usereventpayload438next.md: - id: 12e537f17c89 - last_write_checksum: sha1:731e5c5a994a24b7580889dc6c96a3bf6511270d - pristine_git_object: d7cd516ff377cf4cba334728d78a4c178fe96da0 - docs/models/usereventpayload438previous.md: - id: 8451f79ecfdc - last_write_checksum: sha1:8c163dba5366839bc033bd30dd9658b4a1212f4b - pristine_git_object: 6083b9daf1605929201332eef26f06ce0a2b8373 - docs/models/usereventpayload439actortype.md: - id: 3bc221414bf8 - last_write_checksum: sha1:7bfb79ef6275bcdbb6c28d55376ce7c91ee423a5 - pristine_git_object: 25a6fcc103e8faef75250de51e61d914dbee138c - docs/models/usereventpayload440role.md: - id: 5626e8b575eb - last_write_checksum: sha1:df101fc5e2d323a4f1657006c5a0b3e26f9388a9 - pristine_git_object: b12be7129dc0a6847277984c73c9bf9371798d92 - docs/models/usereventpayload441scope.md: - id: 30a4e524ea6f - last_write_checksum: sha1:b92587578437a686b769de2c51dd2e13ee6c6b27 - pristine_git_object: b1a32623c6169a45d6df20b8e1b6420defe0f96d - docs/models/usereventpayload442next.md: - id: 17fff8fb6229 - last_write_checksum: sha1:d955614361df1dd0b73944b287a4cb52501e4459 - pristine_git_object: 85d62296549dfb24291285a6a1aace2b5f73239b - docs/models/usereventpayload442previous.md: - id: d5883442312e - last_write_checksum: sha1:fc5d86817c471ddbeb94978ffc5c8162c0d7662e - pristine_git_object: fbeb1428d088347bb8901ca7c6fedc6615032944 - docs/models/usereventpayload443action.md: - id: 2660895d37df - last_write_checksum: sha1:9aa4f55de58b94b59cf366b6407e91e991420086 - pristine_git_object: 4096fb32a546209d7db380dc80607d8d2800785b - docs/models/usereventpayload467actortype.md: - id: cf4d455abc1e - last_write_checksum: sha1:ef646f2df87e199dab77f758363b9f754a800caf - pristine_git_object: cf43043f6d059264cbc033f5e08afaf315f31fef - docs/models/usereventpayload474scope.md: - id: 106adfbef5e4 - last_write_checksum: sha1:ae821fec175f5fa0bf609ba4ebfa26530f95f740 - pristine_git_object: 8c68bf8e80d69ebd7b1a9c305c98333635ba1d3f - docs/models/usereventpayload475next.md: - id: e9314058943c - last_write_checksum: sha1:ef8cae901f038e3efcb10f1b05a12fb2e818626a - pristine_git_object: c6b0412b9d2dc9b24f50cd8709c81346a38014c6 - docs/models/usereventpayload475previous.md: - id: d2b10055c3dc - last_write_checksum: sha1:82fda7ba7eacf9bd99eeaea5d4f9047a537ef3e4 - pristine_git_object: 5d66aa2fc191f0480683879f91fa60f5d6d0fe34 - docs/models/usereventpayload481actortype.md: - id: abd34facfb51 - last_write_checksum: sha1:c208e8b9de869618bb7958254c75c4b0b8434ec6 - pristine_git_object: 9ad9e860d0f7a1b94577603d62c1182ca1344381 - docs/models/usereventpayload482type.md: - id: 977a8c738371 - last_write_checksum: sha1:5bc864406c434b96f96f1add12753cddeb257518 - pristine_git_object: e8c28277ccccb210887302e16bb40635aa8d8d7b - docs/models/usereventpayload487actortype.md: - id: 3942cdfe5f2f - last_write_checksum: sha1:f9af0b9280e983e18fd899f31abc32030b2a2210 - pristine_git_object: 353679238b21462b5670a089c12c891a2cb3af37 - docs/models/usereventpayload489actortype.md: - id: c7baa8f6a324 - last_write_checksum: sha1:03c2e801325de0e5a37b1c2ad5d26d8895488ffe - pristine_git_object: a08419353cd24b075d37cedfd7085d3ccb5d0efb - docs/models/usereventpayload493actortype.md: - id: 1f3b2486a13f - last_write_checksum: sha1:d67ec895144d94f6fc41f550eb13323b5218a502 - pristine_git_object: 0d1b148afb21e724631cc5319e8d4cb2c94ab44f + last_write_checksum: sha1:143ed50828e8768aec453cfe68fd6ee2febcff27 + pristine_git_object: ee5b45f41267214471cb7458442d01e6825e2920 + docs/models/usereventpayload422type.md: + id: 402ff06d824f + last_write_checksum: sha1:e76add28587e12397bedf4538bfcd668f45681e1 + pristine_git_object: 142f41f397ba23bca81f35be25044e101e6ba49b + docs/models/usereventpayload423type.md: + id: fbbbe1f8f191 + last_write_checksum: sha1:8eecdbbfcfa888856271ced7643544428acd9356 + pristine_git_object: 6fb70d87a006e33561e4c917a6e62bc2f016df82 + docs/models/usereventpayload424type.md: + id: 8d405b9f8571 + last_write_checksum: sha1:9d21e192c8cb878ed5e8218fd4ce65887beff89b + pristine_git_object: 74bcd1151e298cf0b474220421dcf7815ffc0c35 + docs/models/usereventpayload425store.md: + id: 7c3e7b886c4e + last_write_checksum: sha1:fabf94742b8207c518f252d2081672d5981b631e + pristine_git_object: 3cb0640db277b54dc30037cadb903984ac33d45d + docs/models/usereventpayload426type.md: + id: 51dbedcbf53a + last_write_checksum: sha1:57fb0607ebeb3d7b0522ca1e360b1f7b90bc08eb + pristine_git_object: fe6cd2ad6673aebfa5618611b8a2ad1d79395ed0 + docs/models/usereventpayload427actortype.md: + id: bf0670d779ad + last_write_checksum: sha1:43e63a95f0c9a7c2a76a20b0654680a495905130 + pristine_git_object: 7167737289bee56617cd019c2dc77046a73e3202 + docs/models/usereventpayload430action.md: + id: 01c20246d8db + last_write_checksum: sha1:c16ab46f6209b455c562b34181c379951869b209 + pristine_git_object: 3eca875cd09fc7999b871f9375c8add293e068b5 + docs/models/usereventpayload430next.md: + id: ee40a08f9283 + last_write_checksum: sha1:b90dedc81f110ba4ba85d211f05a714fe8be5d67 + pristine_git_object: f7388a4a4398dd6050e57a4123b1f15a1f07d0cc + docs/models/usereventpayload430previous.md: + id: 8b026abe45ed + last_write_checksum: sha1:ea907306dd5a7dde61f065b1b168ed3167349438 + pristine_git_object: a2842e3ebfa1e26e517f37b6a05d27d618ee815f + docs/models/usereventpayload431action.md: + id: 908fdfef22f1 + last_write_checksum: sha1:0bcc05a760a8713dba06cf8c892ffe48149a5215 + pristine_git_object: b386c151093de6e0caf51c009176af6dfd3b94da + docs/models/usereventpayload431endpoint.md: + id: e8264cb7a47e + last_write_checksum: sha1:81f7d777fefe325b749969b57b2871bcc316fc2e + pristine_git_object: 8669d4ec0f717f3c15cbc4b2906d67991376b795 + docs/models/usereventpayload431next.md: + id: b7e2e66b113c + last_write_checksum: sha1:52aa28dadb67e6003806b149db06b5a25c1837d0 + pristine_git_object: d20b3fccd9c36cc5a16a62924edb65c78e42cfb3 + docs/models/usereventpayload431previous.md: + id: 05b5bbb72cff + last_write_checksum: sha1:6bb79d2ab7fdde6234ba5c5671fe4155670ec7c9 + pristine_git_object: 3dbcbcc7ac144ccec49cf8ca63d4932e64dc7fa4 + docs/models/usereventpayload431previousscope.md: + id: 041edcbaecbb + last_write_checksum: sha1:d1b700dcf287126810d54b1534cf584fd0a129f6 + pristine_git_object: 0a69c421be732e3d4226db3221d30a42340ba145 + docs/models/usereventpayload431scope.md: + id: c1c96711964e + last_write_checksum: sha1:b8cce6a40a2b43933ab8eb17b04939b28dce5cb9 + pristine_git_object: d76552fb7bea336dbaa636f42e1658cd4daef126 + docs/models/usereventpayload432next.md: + id: 7f2793815f48 + last_write_checksum: sha1:58005aa0a327ce803ee3e0f46ea32996d1ea2e00 + pristine_git_object: c9292c9aedef8321495818753e8d6da10553f0b9 + docs/models/usereventpayload432previous.md: + id: db1550ef4b68 + last_write_checksum: sha1:00ba03a82bdde1220b918cf1f6dde0039e147729 + pristine_git_object: a4c8f303466b1da3ed4af000f5e43d1d36d82fb6 + docs/models/usereventpayload433next.md: + id: ca42ba7f6184 + last_write_checksum: sha1:68488e30519b9352e4ec891b3a579ade47c0c24d + pristine_git_object: 96f4a46f8812599bfeb2f4cc23503274329ad692 + docs/models/usereventpayload433previous.md: + id: 57e46ca0a57c + last_write_checksum: sha1:6ae97b3b3e676ae61e6642356cf4e9f68d93b716 + pristine_git_object: 3eba187e98255be4a165160214b3b4b12f0c3de9 + docs/models/usereventpayload433repositoryscope.md: + id: e84cc3b198ba + last_write_checksum: sha1:8c56aae06c2d9e3203d64e7e25d77f81773bd3f0 + pristine_git_object: 08ffcaac47cfe1c28d3b037d70439f9ab7b1d493 + docs/models/usereventpayload441next.md: + id: 039b532d0e6c + last_write_checksum: sha1:3c5232f72db382944e34f2d116f0e2160e5afba9 + pristine_git_object: fcf52635337993dbb088921ee17573b639026121 + docs/models/usereventpayload441previous.md: + id: 50756ababae4 + last_write_checksum: sha1:06ac63435f381932bbbe5eb18cd7c4f1f7d76731 + pristine_git_object: ddbc487c755558eb1221e94fc6ac2ec1677e0be7 + docs/models/usereventpayload442actortype.md: + id: 0b31a911d8e5 + last_write_checksum: sha1:ce1e7847a22b6f0419e181335657dce19def1049 + pristine_git_object: 68a3a9e30ac025defedef64bb39eee6316424637 + docs/models/usereventpayload443next.md: + id: 79e3fcc686fd + last_write_checksum: sha1:303574122aa04dd095f94b454a46a5757687c06f + pristine_git_object: 078b1152ac1069e4613a3182a454f3080e68408f + docs/models/usereventpayload443previous.md: + id: 6f9e4c92a8e8 + last_write_checksum: sha1:54b93b786a9d43c89f38ab85b21e0eb8df3f8e72 + pristine_git_object: 92f4351a72e1e98b2c87e7dcf8b1d50673bde0e2 + docs/models/usereventpayload444actortype.md: + id: b5380ea1616d + last_write_checksum: sha1:058e2b7110804f7410610146cf822b1f6f772b27 + pristine_git_object: 4eae179cdf9a0a2f4793c84074fccf12105eb069 + docs/models/usereventpayload445role.md: + id: 2a294dcbd0d0 + last_write_checksum: sha1:aa69285803acaae7b8910980b774fa7515c047d8 + pristine_git_object: 49b1dd3bf5c268ba43809f487c10ce151dbff037 + docs/models/usereventpayload446scope.md: + id: 2810e95d250c + last_write_checksum: sha1:a13df0882efea13c6d8df19f6f644d7059c8dd80 + pristine_git_object: 2eb1fe39107ee4552c6621cc30855ae6df91a9b6 + docs/models/usereventpayload447next.md: + id: f560fb30d40b + last_write_checksum: sha1:433d2287fdda9ee94262f47d5efca10ae4d4d469 + pristine_git_object: 086c236abf50c67afae033fe698c92eecdf22c01 + docs/models/usereventpayload447previous.md: + id: e968da2419ee + last_write_checksum: sha1:d0240a4a0bb9a65e01e5fef4479fa74511fc64da + pristine_git_object: 0ddb3ad2330b7453fd3f4f7cfd0d70f0116cce73 + docs/models/usereventpayload448action.md: + id: 810918200fb6 + last_write_checksum: sha1:b76f5bb4f4b6538d164ac030f1b8eded6bd7856f + pristine_git_object: a955819d962a45fa6d2e0cecee66217463e32156 + docs/models/usereventpayload472actortype.md: + id: f3def430b6ba + last_write_checksum: sha1:91b2588a8673c0bb79d7859c60e2502fa35e6c11 + pristine_git_object: 90c61fac22e4baa35e54b4aff62c6aa072866f24 + docs/models/usereventpayload479scope.md: + id: e37b45b1cd7a + last_write_checksum: sha1:970408c323d07ee5cd2eefd6cd6d754884db1f61 + pristine_git_object: 14a1c45f9a9c42c1bde752b708b6fea3c635e058 + docs/models/usereventpayload480next.md: + id: 9e7e7d3f4bef + last_write_checksum: sha1:caf41c616cf1bbfe8b5d2a1c6d4a945d7552efca + pristine_git_object: 4dbfcaea845509d3411e87a0e0b846e3d7660fa6 + docs/models/usereventpayload480previous.md: + id: b8acdeac2143 + last_write_checksum: sha1:d75d912d737a773d6054d99ff77932b503c95508 + pristine_git_object: 16b1e0fe5e885d1cc82daebc74f3e35b3b573f8a + docs/models/usereventpayload486actortype.md: + id: 0822d79186b5 + last_write_checksum: sha1:b762986dc9af7d29e9c171bf9cfce3a3ec82cbd3 + pristine_git_object: 78fadf4bfe8f08f282dcd7ef79a08091a2fce6b3 + docs/models/usereventpayload487type.md: + id: fae82582c5af + last_write_checksum: sha1:f3c9edfb5d03d2aa1597a8e8bcba8fc615bb0b72 + pristine_git_object: 136947b8e764a2d184a3000c395f5eee2c2c705c + docs/models/usereventpayload492actortype.md: + id: 2cab745f75b9 + last_write_checksum: sha1:797e9e848f348c4988dd616828d25a90a3ab703b + pristine_git_object: d84f82d1f3d76cecdd029fd7d70e85d1a1832786 docs/models/usereventpayload494actortype.md: id: 40827fcf4824 - last_write_checksum: sha1:96752ff3e9bba33313a8083ed6a2586b45fd6c19 - pristine_git_object: ff8f2ac5d61fb59c5a4bd434828285c3ca51d05d - docs/models/usereventpayload495actortype.md: - id: de6fca161aab - last_write_checksum: sha1:395999609198b32b751023f39703c9db00ed9b21 - pristine_git_object: f1876d531e042c0ce380bb35edc8cb630c9eb8c3 - docs/models/usereventpayload496actortype.md: - id: 8281c060803f - last_write_checksum: sha1:e07dcf35d01e43bd11e8c12253bbb596d849bc3f - pristine_git_object: b0338f96b1841366945c984827f3779f01f463bd - docs/models/usereventpayload497scope.md: - id: eb6bb3f6a253 - last_write_checksum: sha1:b2dbb580400097099ac6edec054d400f802bf09c - pristine_git_object: faae1075c85a428477c2670a6607082eef700108 - docs/models/usereventpayload500action.md: - id: 64b9e19e75ef - last_write_checksum: sha1:905e659274fd5af97e06bfd6b162259b17741e5f - pristine_git_object: 788cfbe0b9b868807b25cd9483a38356acc87024 - docs/models/usereventpayload501next.md: - id: 962ef57ec513 - last_write_checksum: sha1:a5cfca84925513b541e0f471cf66a9ef37a35cfc - pristine_git_object: 713268186e56732142939d74ea844659b420ec56 - docs/models/usereventpayload501previous.md: - id: c8640c0281c4 - last_write_checksum: sha1:9751c805bd5338105d95916567025677bdc427be - pristine_git_object: 42e376a798f1ca278a7af0ca2917c2bda4fc3c1c + last_write_checksum: sha1:ed739b0eff8959aecedcbb9d082f066ad01c5f75 + pristine_git_object: 8280f47cd2426b33c8e08fe1ae97756ccee1401c + docs/models/usereventpayload498actortype.md: + id: 8ccfa8f6ecfa + last_write_checksum: sha1:8e6bf1b8a0140658833917ec9d3ce3607289c63e + pristine_git_object: 82d8ada34cb39dc40e134a2ec087813eb63b419e + docs/models/usereventpayload499actortype.md: + id: 0e88fa2f1337 + last_write_checksum: sha1:2f47d2bfb9ffc76591db7ce1043523fac6fe1289 + pristine_git_object: c6d57f269de51fa320c99a703d779d72a06a490e + docs/models/usereventpayload500actortype.md: + id: 7bc82619243d + last_write_checksum: sha1:06c72fd873731258f1b0ff28090f7d9db678fcad + pristine_git_object: 266d397d9559a235ec93a2dd0b2dd4d674038d07 + docs/models/usereventpayload501actortype.md: + id: 0c19d7b3ff5d + last_write_checksum: sha1:c01974d8684daca6f194ba43d60e04d6e9d3ac92 + pristine_git_object: 91423f2daaea8d65657dc5c5800b8780d8b8368e + docs/models/usereventpayload502scope.md: + id: c48903492522 + last_write_checksum: sha1:47e8cee6b609b9b5113c0ba59d73193b57289641 + pristine_git_object: 5bce97748da5f27e7b5e94992764f429cb639201 + docs/models/usereventpayload505action.md: + id: 99e3cce97bba + last_write_checksum: sha1:eddf05beb0d811f8855a052b6d8bf9528162a3f0 + pristine_git_object: e03a860422bc30585fe54503d32c2384c7d3e700 docs/models/usereventpayload506next.md: id: 252429de22b4 - last_write_checksum: sha1:7c226279dbc176ac359e95cfff6494e3f0a82441 - pristine_git_object: e7a27a078b9fb13b321a6e8cdb0b5134b96fbab1 + last_write_checksum: sha1:749c8b0649928897f0e889a2c53c5e2e2521f3ee + pristine_git_object: b1596265b48cca76fe9d9bf55d515a700f746fe4 docs/models/usereventpayload506previous.md: id: b615748b67d0 - last_write_checksum: sha1:27ebe7e92634f5a3bced1bc709b784ae727115f2 - pristine_git_object: 3ae2e375995d7642cff4b5cd55c30d174821ce2c - docs/models/usereventpayload507provider.md: - id: "977264816937" - last_write_checksum: sha1:c69d9d95392c3ff7717826569a02faf141f45995 - pristine_git_object: a9abc3a8874463ecc31b3f8577347e6b00312227 - docs/models/usereventpayload509actortype.md: - id: 68d35a6ae07b - last_write_checksum: sha1:5af600858bede9c1e2a498d4136ea4c81d7c1347 - pristine_git_object: 09650a011b05da5f1f02741d840cf65844043555 + last_write_checksum: sha1:2034e594befbf5b3596056418f2c57716ac65240 + pristine_git_object: 638dd82ce3dd3982c72a93a9c22b7e154a4689bf docs/models/usereventpayload50mode.md: id: a0516c0ad852 - last_write_checksum: sha1:05c63cde0502d1d7b7b4d35fd58f7a9a4c0f4b7e - pristine_git_object: ccb541b61a284d86266f86f9abc2062a541ad399 - docs/models/usereventpayload510actortype.md: - id: 08eab8f02526 - last_write_checksum: sha1:5f422eaa20f20d6a0d8cde800dd235fcfa061159 - pristine_git_object: 624787496baae114a33bfc78c41103f247862cf4 - docs/models/usereventpayload529configuration.md: - id: 6a6c23ae6e79 - last_write_checksum: sha1:563ac3897245e0fccd6b5e38ee25efebf1beceff - pristine_git_object: 567457c681fd93999ef34b782d48cfc872acbe8a - docs/models/usereventpayload529team.md: - id: 5ba9399836c4 - last_write_checksum: sha1:1d1d251656cbb613b58ce173eea6579cf4028730 - pristine_git_object: 4cd2459e3123fa0c09516c61a48281e0e52dc537 - docs/models/usereventpayload530configuration.md: - id: afd40c006c9c - last_write_checksum: sha1:fd8986b4f8ccca5493f5673ffa7e0ad5d55b9cf8 - pristine_git_object: 89b52b2873d3a88d90c9bdcba9941311593fc79b - docs/models/usereventpayload530team.md: - id: 37575d827f74 - last_write_checksum: sha1:bcf46eb8643d16c3f1670d6e9c3420922774f4f1 - pristine_git_object: 9c434188a30546e50b96afe19e94d98f749a6524 - docs/models/usereventpayload531configuration.md: - id: a62b7292afeb - last_write_checksum: sha1:242b0c70c7895f18e1815c34be98b2e70596c9d7 - pristine_git_object: d70c6a245b2437c830ca2c4f8a1d7c41ab9c9405 - docs/models/usereventpayload531team.md: - id: b03d28cc1efc - last_write_checksum: sha1:23032c28ae5058b5bad19e6651f74a251e449b69 - pristine_git_object: 52383ae88844b3b13f9c63c0a8583a4e5689ae03 - docs/models/usereventpayload532team.md: - id: 50b9cddd6441 - last_write_checksum: sha1:bccd399e66d100947bb1127b63dcd938d4abb151 - pristine_git_object: 53ae7ca43f00e374c65a0c6116c1a0aec8725533 - docs/models/usereventpayload538next.md: - id: c4cdc17c51ff - last_write_checksum: sha1:e047148ce9527d07edbe86005416213d32a6876c - pristine_git_object: 4612180ea869598e0a1d4b7a49897bd2872ef2ef - docs/models/usereventpayload538previous.md: - id: 7af52cc3125e - last_write_checksum: sha1:8bf7424c066a605013f750a1e6e9f7820cf99369 - pristine_git_object: 13b4ad5237852a68b7c201a1af26b4bff05aa67b - docs/models/usereventpayload539next.md: - id: b07b311e585a - last_write_checksum: sha1:6efd7dc4e28d44486be098835e7aa1786954bba4 - pristine_git_object: 1c1808f911ac4a140fef0baa084a94fdd83d8de1 - docs/models/usereventpayload539previous.md: - id: 89ea55941efc - last_write_checksum: sha1:aeb89cfc85e6fcdeacd25c5e5758f364007a428a - pristine_git_object: 2d869afd40cb28087952dc1855a31a3b9a0008db - docs/models/usereventpayload541next.md: - id: 8ae1d0acea35 - last_write_checksum: sha1:f2f7037a394072bd79fe24d6dc7b16bd12026a22 - pristine_git_object: 2ba27ae0d873ae80cae3f0f58358016e5b3a248b - docs/models/usereventpayload541previous.md: - id: 83e42bca6a67 - last_write_checksum: sha1:c7b494ac8b4a8452f2ed0effc779ae4fd0b0b314 - pristine_git_object: ba2940584ea8a13a52cbc008a407d39495298a4c - docs/models/usereventpayload541scope.md: - id: 899737e00cae - last_write_checksum: sha1:42118a51ac6def5d4878cbeed50d0f4bf5b83dfe - pristine_git_object: f38de9c1a912943496021407020712d603d759ff - docs/models/usereventpayload542geolocationmostspecificsubdivisionnames.md: - id: f3d3386dd9e5 - last_write_checksum: sha1:3f1e3dc3e7bfd1fc0a924eb962f1151112af8e82 - pristine_git_object: e27a316d7706f0a555888510543d302617a590bf - docs/models/usereventpayload542geolocationnames.md: - id: e20bb57d6e02 - last_write_checksum: sha1:1f400d7390a27ae4b70a80841e370764054cc856 - pristine_git_object: 7b58340dbc32125e657940102dc1297e60d926d2 - docs/models/usereventpayload542names.md: - id: 91d86521cb6b - last_write_checksum: sha1:09dd8e99fb88a9a9b35b6127c99878bf4fa44e18 - pristine_git_object: 890de0b824cc35a50400910820b484ce44d18cbd - docs/models/usereventpayload544resources.md: - id: 240dfededc1e - last_write_checksum: sha1:c451d5b1555cf29d76c9772137a97d7534ba9c75 - pristine_git_object: 3b77943486b372cf0481f3fca734b3d248a15b6c - docs/models/usereventpayload545beforeresources.md: - id: 7b57fffa9960 - last_write_checksum: sha1:55c1c41b23faeff5088d30c58a7a2ca5874f1819 - pristine_git_object: 00dc6d298d202a343cf3b1f6d055c1c7d8ad00de - docs/models/usereventpayload545resources.md: - id: e90c8f92fb81 - last_write_checksum: sha1:d70a0f8933d4b1320763c1136f53902213821703 - pristine_git_object: 777c2950f8751a625fd88770ae96751286217aa5 - docs/models/usereventpayload546city.md: - id: 97c840a76bb1 - last_write_checksum: sha1:b1b069741fb94574a275cfea35112014f2fd18cb - pristine_git_object: c4fa1cbf95fdc8eb2b0234ac963107b10d0ea642 - docs/models/usereventpayload546country.md: - id: a34febdc407a - last_write_checksum: sha1:42e85c55ab907d467870496fd801352bf2fbdac5 - pristine_git_object: 852de048e08eefd4887ff6351645442757db4234 - docs/models/usereventpayload546geolocation.md: - id: 8a91423424b0 - last_write_checksum: sha1:9cd38f7b2a447ab890ce405bddb6aaaa39d93663 - pristine_git_object: 910c4561bc6a2ad8690f803d5f7caf391b554d0f - docs/models/usereventpayload546geolocationmostspecificsubdivisionnames.md: - id: 42be7337553d - last_write_checksum: sha1:c33a1bc7832f78931deba67a3d9398696d1ef811 - pristine_git_object: 2590804060b1c77ce3f81fae38fb153e79698370 - docs/models/usereventpayload546geolocationnames.md: - id: b2e310100086 - last_write_checksum: sha1:d1cd61f8aca76572e0fafa9f62899902b5651f5c - pristine_git_object: c38f4196385ffc4f23babffcf896a52b87313bdc - docs/models/usereventpayload546mostspecificsubdivision.md: - id: 8cee2931c00c - last_write_checksum: sha1:da795275592aba2e63b0df8b485c303d50218891 - pristine_git_object: dbf106952973108162db22d939b135318ad4e31e - docs/models/usereventpayload546names.md: - id: 3002734c9098 - last_write_checksum: sha1:835796ff5a2b05cfc27122096d883538f1dc93bf - pristine_git_object: 4a9bc13400fa2ba8b6e161024cb662c0ecfd74b8 + last_write_checksum: sha1:225fe4038d54978e00cad1f226f079a8cefd1ce8 + pristine_git_object: eb2df7ecabd24229bf17d54c9be886f82b108e79 + docs/models/usereventpayload511next.md: + id: "966991035718" + last_write_checksum: sha1:b7eaa9d4ff43ca4af088c4438723ee91dd2def82 + pristine_git_object: a7f6e848dce7727c925cdfec5bf4dabadcacd03b + docs/models/usereventpayload511previous.md: + id: 9ac48eb1913d + last_write_checksum: sha1:e071250977969020334a6e54efd54e353eb658df + pristine_git_object: 510620eccde250cc6a1d904cecce7bb6d70853b2 + docs/models/usereventpayload512provider.md: + id: cbba922d08a9 + last_write_checksum: sha1:fb5d208cc2b8cecbc7aed650381ddc622272cec7 + pristine_git_object: d69dbc1226b19a285bf9a9f55d24c1850d5f478c + docs/models/usereventpayload514actortype.md: + id: a9a6dc5b612d + last_write_checksum: sha1:81e471ed8719ab8eadc2652de9082774a069acd5 + pristine_git_object: 7e91303d20c4d50c73f75952315c10eab8ba95b2 + docs/models/usereventpayload515actortype.md: + id: f9677db83ea3 + last_write_checksum: sha1:9522b5e318730815f7f8455bf10a82184c5134df + pristine_git_object: 05184cdbb24e1e789bb3acb0377c46ea06b726f1 + docs/models/usereventpayload534configuration.md: + id: 7a1ae8968f86 + last_write_checksum: sha1:8771931b00ecc488c303ce5560f56d70d6de60f1 + pristine_git_object: 441e300701e9ece1793369022d0f47c66b30c19e + docs/models/usereventpayload534team.md: + id: 9081fa89b373 + last_write_checksum: sha1:b8dde06b5d64de72b8e598004698cc8702888c57 + pristine_git_object: 1ab4a7aef903dba7c5c5298113cb507c0ed6890e + docs/models/usereventpayload535configuration.md: + id: 279a3fc0808d + last_write_checksum: sha1:53525b34adc9da66c82c9d472ab8da6095aadb39 + pristine_git_object: 5900e97dde85c923ca3c5ad84fb32dabaf8f3578 + docs/models/usereventpayload535team.md: + id: c36396110be8 + last_write_checksum: sha1:bc32ad4f906f71b48ff1fe1bf13a8bf6e73b6722 + pristine_git_object: 00329d6a1ee25dbbbee5473b3e8101fd8db9e060 + docs/models/usereventpayload536configuration.md: + id: 61676a8bd202 + last_write_checksum: sha1:460e3e5e70efd84e1c8121e3c83a223b2f699ac6 + pristine_git_object: 6f1396f6cb906ce564c52ba1d54a3e68fbc1d8d3 + docs/models/usereventpayload536team.md: + id: 53f3cbf4126a + last_write_checksum: sha1:43bb7dfb93a5534db90032055fb929d00ed1e194 + pristine_git_object: e9d139f0f5f1c9562c6b8e4b25e26caba325b714 + docs/models/usereventpayload537team.md: + id: 05c6c55f1cd2 + last_write_checksum: sha1:c39d064d0b955e02aa150877adb88d382beb8bff + pristine_git_object: 5330241d72c7ada58cb47697b9069cac99f6110a + docs/models/usereventpayload543next.md: + id: b5ace7f35c44 + last_write_checksum: sha1:a5456c0a8eeeae968f21548d5c9a58a4777789a5 + pristine_git_object: 70c6179e3463f687f476c453c16f816331eedeaf + docs/models/usereventpayload543previous.md: + id: 9fdf25d7bd23 + last_write_checksum: sha1:8beef0b643c0f79a7ee48e8e8a7a584763982dad + pristine_git_object: eb95ab71e20702bfb34fdc81d1aee345980594f2 + docs/models/usereventpayload544next.md: + id: d4a3c2157af4 + last_write_checksum: sha1:61a79b009be8ac0a35e9b763dde48367ff0ba32e + pristine_git_object: d57d939f81739f7b63dfb2c03ab2c2f202ce0321 + docs/models/usereventpayload544previous.md: + id: 78716506dbe9 + last_write_checksum: sha1:f0733f3274f725181e0368ebe8771da1fcbd4af3 + pristine_git_object: d4ee33dcbbc8f280155b5cce619d1dd9fca4aace + docs/models/usereventpayload546next.md: + id: c37bb050a440 + last_write_checksum: sha1:05f8bdf216204cb36c98a3106c739913b7d7a8a8 + pristine_git_object: 80904ef5b67ac6967007d64509215a8815598e31 + docs/models/usereventpayload546previous.md: + id: 567941dbed55 + last_write_checksum: sha1:3fa4a0fab5405bc9c8c78810969889b2f4d58f93 + pristine_git_object: 5a4a3c6ec32b718e58f55b52292292053b37b3c4 docs/models/usereventpayload546scope.md: id: 18ca0b33056b - last_write_checksum: sha1:7b9af10b119eef2a538a458c7477c0cc7eaf4eaf - pristine_git_object: e4e347412aad31b4c2f3ebfa9329417ea9dcc0cc - docs/models/usereventpayload546source.md: - id: ad7816e09fb1 - last_write_checksum: sha1:2c618fe29a79902cce877e2db59b8b04af985d8d - pristine_git_object: c60853e323607db00f43d7f8e1447fa7e1e0bc64 - docs/models/usereventpayload547city.md: - id: 322c6ed3060c - last_write_checksum: sha1:b75a651d653491f139dc7659d65c8da226764fb9 - pristine_git_object: 29c4969d6b410de1397fa6343585f3bd4b3a1dba - docs/models/usereventpayload547country.md: - id: 0496928546b9 - last_write_checksum: sha1:5dc6a7d4cc1b6c46c0431119a5ac2c6e0af284f6 - pristine_git_object: 160bc3eadd36e8b8b14e4b351c13066d98f9388c - docs/models/usereventpayload547geolocation.md: - id: d03c11124d06 - last_write_checksum: sha1:5f9ad387281b4e19823fac5f9a98d0af1817859d - pristine_git_object: fcc0682bdbdd7aca5b4ad0b068d8e5ceabe3e34e + last_write_checksum: sha1:e788b863b348913deb257f4bd02bc2e9055bdd95 + pristine_git_object: 7a0332ab9e327ab7eef34bc7eac086a3c0f2c0b2 docs/models/usereventpayload547geolocationmostspecificsubdivisionnames.md: id: 0e1dcfd88b81 last_write_checksum: sha1:5a15b11cf493a21548b3b1a6128413fe23fa980a @@ -48973,234 +48977,310 @@ trackedFiles: id: 9c93778843c5 last_write_checksum: sha1:108badf3cd8f7be56874394300d69b9accd338d4 pristine_git_object: 7307e79b1b8c1a2c071a0d06ac9cfc44da50fdb6 - docs/models/usereventpayload547mostspecificsubdivision.md: - id: d25386545934 - last_write_checksum: sha1:126e485e5f40e8ac923822a0f76ad32e0b82775d - pristine_git_object: f4c2c642d857711a8fcce20a991e4d1a69fc93ed docs/models/usereventpayload547names.md: id: fd7744de609d last_write_checksum: sha1:553f0ac32f6a012e7a096f8f8f52bba67167da62 pristine_git_object: 34a94693721ee99ed801393ad3b6a2d279ff8acf - docs/models/usereventpayload547reason.md: - id: e46a5ed9b182 - last_write_checksum: sha1:8abc696cc2435721fb58be0db10af773b86c2c53 - pristine_git_object: eb9158d59775af408677bf1fdfd9e5254e905a84 - docs/models/usereventpayload547scope.md: - id: 2fa7efca6036 - last_write_checksum: sha1:c6868ddd89809a5960bf1b072a394860d4cba868 - pristine_git_object: 8542ddb4194fd0642e6a54549510560c8f853331 - docs/models/usereventpayload547source.md: - id: f773557d0769 - last_write_checksum: sha1:b6d8690892a34daa8993ad4f7b6a36c27eb30c9f - pristine_git_object: f90f39583f2eaafa746f9720de8e23d84f50d2f1 - docs/models/usereventpayload548city.md: - id: 9d99939d4e75 - last_write_checksum: sha1:b5685a351c2fd977d46de863d7668c1dc4b7c985 - pristine_git_object: cc4eb2fadea424e1f5570859e378ae44cfbbdbc8 - docs/models/usereventpayload548country.md: - id: 9e5f8a98137c - last_write_checksum: sha1:15411556b031269b40eefa17e5e77349bf9e5a02 - pristine_git_object: 6cac5699a372dfdf4db14210e77c89bd3231833d - docs/models/usereventpayload548geolocation.md: - id: 1eb12bac5f30 - last_write_checksum: sha1:f64bb320ef2006c5e634ed88fb99661f26c1dd8b - pristine_git_object: f5cad083a0d42dc93cf637ac822f7aa57e3acb92 - docs/models/usereventpayload548geolocationmostspecificsubdivisionnames.md: - id: dcba1409cd97 - last_write_checksum: sha1:1c8ad60c69c1c12ef8fccbda610d17b01143c5ce - pristine_git_object: 03a02b43c6625556f871063633e2bcd81a713c11 - docs/models/usereventpayload548geolocationnames.md: - id: e0411d4c94cc - last_write_checksum: sha1:319a8adae37d38a2343eaef1d33775d8b1263351 - pristine_git_object: ec242d06db9bfeea666cf7112ab27bacb230790e - docs/models/usereventpayload548mostspecificsubdivision.md: - id: 60511a962ea6 - last_write_checksum: sha1:4c17ed25e0592f1fedd0ff6e901180daf52e0b60 - pristine_git_object: 9c0a5b735bcfe4731c9f59a3557867509ea598ac - docs/models/usereventpayload548names.md: - id: baaf0be79aaf - last_write_checksum: sha1:521663844eafc28e4149ecd915f358f4ae15799a - pristine_git_object: fe26a3617c52cb3bab20aba4386f6473c83f8d6b - docs/models/usereventpayload62accessgroup.md: - id: "856457551551" - last_write_checksum: sha1:7751fd9144e50be8a9b5f9861069ee779ffd2618 - pristine_git_object: 0b4648d767e67670b5374ed7e4d1f4645acfc187 + docs/models/usereventpayload549resources.md: + id: afba9613bf0c + last_write_checksum: sha1:f3b17e70f96efe9bc1f40f4426917a0b1af72430 + pristine_git_object: 372f685ab2be67ccf770d0744f756ae9cb786ecf + docs/models/usereventpayload550beforeresources.md: + id: 4cbcccb9c969 + last_write_checksum: sha1:51882fdf28d14f62bbe5dfafaaf8ebe374595097 + pristine_git_object: 885db0b1b3c735bacb8f420918e7fc0c8b00d1af + docs/models/usereventpayload550resources.md: + id: 21e913bdd7e8 + last_write_checksum: sha1:eb29434ef8bb7a32ef1cfba612b76be92129a2d5 + pristine_git_object: 36f2c610a1a4e9d3b5fbac681524467720c4d5d2 + docs/models/usereventpayload551city.md: + id: 81a48da9df61 + last_write_checksum: sha1:4023ba8bb80775b95012c59e3e35ef78359e34e3 + pristine_git_object: f132d5abc328f24107ba6ccfec3c634333f306f0 + docs/models/usereventpayload551country.md: + id: 54898f914e5c + last_write_checksum: sha1:29c09a3b13ffcab49f3c8063dbf5832f513ace5f + pristine_git_object: cbd21ab0bfd8d926e2c209e3940a43166ec86333 + docs/models/usereventpayload551geolocation.md: + id: 125b45ec733a + last_write_checksum: sha1:c94b723d8bc8fc918883208aaef292a2dc89a2f5 + pristine_git_object: b689ad8cf47e9ef3798699a509bbd8718a23a1c9 + docs/models/usereventpayload551geolocationmostspecificsubdivisionnames.md: + id: f23e8c951425 + last_write_checksum: sha1:8ae396ce38b4183f9c026fb9ead7b71eb13c848d + pristine_git_object: 9ee6c131dfa7a94685229f76296df8348ce899dd + docs/models/usereventpayload551geolocationnames.md: + id: b5035df1c190 + last_write_checksum: sha1:a064e10d1651641d3db312ceef5b4ef13925f0da + pristine_git_object: 4d427f5f8edd15f5a51c3ab8e8230ede6d54699f + docs/models/usereventpayload551mostspecificsubdivision.md: + id: 52bb952c62c3 + last_write_checksum: sha1:aaf2b3a55355278d889e138ea853290e9fb4eccd + pristine_git_object: f8e2cd59569a6ff448055dabb899bdce09aa9f07 + docs/models/usereventpayload551names.md: + id: 0a5f1dfc5347 + last_write_checksum: sha1:23c4fb209d520cb68393c24d953646e5d30dc5f3 + pristine_git_object: b18b65b63c0f1df9c34e5e366d0e98c0540602b4 + docs/models/usereventpayload551scope.md: + id: 4367a425e1a2 + last_write_checksum: sha1:0fd660c8c4013fbd2d05b3757aa66874d938f884 + pristine_git_object: 8bb216769df8d7e139255b16f9edba7438ad1462 + docs/models/usereventpayload551source.md: + id: 1bd076dfb2f8 + last_write_checksum: sha1:e9d118dd3efc5c1930073ffb56fe4e60328f412c + pristine_git_object: ed159852ab9988dbad4edf0bf53eb168c89a0e7b + docs/models/usereventpayload552city.md: + id: c273eb593b77 + last_write_checksum: sha1:16932e03026a8379349b9ca5e3939966ef90c304 + pristine_git_object: 3258ed0c1fcc2e895eb6d627ecf0cee0d255ac6f + docs/models/usereventpayload552country.md: + id: 9ead58726c3e + last_write_checksum: sha1:682130b977cdb1bc2fb3d0d98eccc279e4a3617e + pristine_git_object: eec7ed7befcca70b59a6da98cf24bfbf8d8e7fe2 + docs/models/usereventpayload552geolocation.md: + id: 514017fc3581 + last_write_checksum: sha1:02352455e3dbe6f444f78d6e7755a93a77806d32 + pristine_git_object: b279903ad4891e3546870907f84d2fd4ab51957e + docs/models/usereventpayload552geolocationmostspecificsubdivisionnames.md: + id: 8c218e110ef1 + last_write_checksum: sha1:bb9c8f8fd2827e4f7166feb8cd23bf9a57362d1b + pristine_git_object: d3445253ed5577d3d982602fcea52cee65de62e5 + docs/models/usereventpayload552geolocationnames.md: + id: 73a0d8b40e49 + last_write_checksum: sha1:f720c00e568cbf8b81d43e29bc74f65eea9a6ef8 + pristine_git_object: 3a336c497c673fadaf3b069174d0e66279268a2e + docs/models/usereventpayload552mostspecificsubdivision.md: + id: 31ad332d47f9 + last_write_checksum: sha1:4376340d63bcb475e7ddb8b37b2d95970f51e59d + pristine_git_object: f34a16eba7d3a74dbd223b0a0149426725260bc0 + docs/models/usereventpayload552names.md: + id: 6fb85fb6e1d1 + last_write_checksum: sha1:27da5da30756da3dc0a2b3d06aa39aed1e4cb57b + pristine_git_object: 32332b4b7ec2fff22b3d9a3eba0d9461eb048d66 + docs/models/usereventpayload552reason.md: + id: c0a54e6fad41 + last_write_checksum: sha1:38929bcde2ca2ad364a58a8855e8c0ed2cd3ef8b + pristine_git_object: fe7b7e8c7a42f0d99b69a5fb0036e3f2fb4321f0 + docs/models/usereventpayload552scope.md: + id: c933270a76d2 + last_write_checksum: sha1:b6e2bc9c57c03b458d06428269cf5846ef81751a + pristine_git_object: 3147ecadc39fa1bb567c68f0cca83608d8024df3 + docs/models/usereventpayload552source.md: + id: 51ac185b19cf + last_write_checksum: sha1:9cebd198c71a0f6462b3655eb030aa3543b0dd65 + pristine_git_object: e9678c44795791e07e429805e6be51aa4344e869 + docs/models/usereventpayload553city.md: + id: d4110bf0f049 + last_write_checksum: sha1:8745099608103e8f4d4727280fb4a4f5da846fe1 + pristine_git_object: b790679b18decff12e2603b80af53fff5b07fbe1 + docs/models/usereventpayload553country.md: + id: 8b9571fe4afa + last_write_checksum: sha1:4d885e789176dbf4fee25856a495db2a2bf4e842 + pristine_git_object: f2bd80bc6412b77eec2500e395032c24a326a8ce + docs/models/usereventpayload553geolocation.md: + id: 427d2edd171d + last_write_checksum: sha1:1a1d55408d02c67e79484766755967706a99e79f + pristine_git_object: 9430c5c54abc03e336d4d0f4c4320636258594e4 + docs/models/usereventpayload553geolocationmostspecificsubdivisionnames.md: + id: f132c64013eb + last_write_checksum: sha1:1a2a3428151316356b4f594eac6a1aa40180483a + pristine_git_object: dac81d7401239c471db57888fc903db9c1a3b58b + docs/models/usereventpayload553geolocationnames.md: + id: 2f1f802b5c49 + last_write_checksum: sha1:43a374ed322ba28443382eea4bab10cfaccb1066 + pristine_git_object: 3b205ee99ea04c04dabce7540fe50c4912071d57 + docs/models/usereventpayload553mostspecificsubdivision.md: + id: f8101d441e80 + last_write_checksum: sha1:20da93de6f07e7f22db32d76810dd6876ffd4b42 + pristine_git_object: 520c8021bae565e92899a7a292fbfc5c06217c2a + docs/models/usereventpayload553names.md: + id: 01314afe9d7d + last_write_checksum: sha1:dac991c10b510ac4f6dbd371fe1aadb6b6480f34 + pristine_git_object: 6701549b151632b18894a0d075c9ec2d4b4ab011 docs/models/usereventpayload63accessgroup.md: id: 304253d1c031 - last_write_checksum: sha1:453521f2293a69f2abe861aea609daef7ccc85a6 - pristine_git_object: 4a3fa40d543feec1ddc1d2fed0b3ab6936f98a4f - docs/models/usereventpayload63user.md: - id: 62712298fe9a - last_write_checksum: sha1:d96b42a2375f62b0bf361fae70f9c048046941d2 - pristine_git_object: f2eef0abf0d0cfc515b95d55eca28932e677626d + last_write_checksum: sha1:6a5bc4c8333333793cff852459f4cc383eefb0f0 + pristine_git_object: d3cdd9327808662f1c3ceb4d22af81189b279cce + docs/models/usereventpayload64accessgroup.md: + id: cf0511e14760 + last_write_checksum: sha1:650113beb6e859db3486782d705d3203f8538d6b + pristine_git_object: ed010c618adefa7c4ccce2daa9c21bc4a806dcc7 + docs/models/usereventpayload64user.md: + id: d8922be60d90 + last_write_checksum: sha1:ab74c2ca91c19ffecb0273b3c43f8ca52153580a + pristine_git_object: a83d00c7a3ea9a44d544c91167fa88f0e5ddab3e docs/models/usereventpayload6action.md: id: 7195d8488a67 last_write_checksum: sha1:25fa7a92446497e9c956da01189a79dc8d0cb311 pristine_git_object: 257b0fa5a2dd5350dacbd7b400d69fec529068a4 - docs/models/usereventpayload73action.md: - id: faa71fa6c995 - last_write_checksum: sha1:016323972342a950cb7a2ff5c9b941ef68e0b8b8 - pristine_git_object: 917507ff72214aed45b711e6e63d6cf1087fc724 + docs/models/usereventpayload74action.md: + id: 93c2ccc96f1c + last_write_checksum: sha1:111ec1e66919c23320c65e2bc86d15445cbc1d56 + pristine_git_object: e470bc011ba1c21bd4af33eb5374ad621f07935b docs/models/usereventpayload7action.md: id: 517464a32353 last_write_checksum: sha1:70a88c38faeaf6a2654b5a25ceab82a393242b44 pristine_git_object: 2d89e620504862c52a0b166fe9925e03328acbae - docs/models/usereventpayload80aftertype.md: - id: 65aa64c18c7c - last_write_checksum: sha1:df193c20d7bb3edc03a8e1503b1ed28f648c13e3 - pristine_git_object: f5e31533f9a8c2c2622d0b717a3f0c137051823b - docs/models/usereventpayload80beforeresourcestype.md: - id: a48173115fe6 - last_write_checksum: sha1:de82e1ace21fcd6bcb4745e23f09748052124825 - pristine_git_object: 248fb265368984b811a7c685388c00ae4f07fa18 - docs/models/usereventpayload80beforetype.md: - id: ae9398d3ed49 - last_write_checksum: sha1:36206a881a6c88c285f55a98d8243a9697048373 - pristine_git_object: fd117a7758090fe73032b863d83ddd572ae73f07 - docs/models/usereventpayload80permissions.md: - id: a5dca2274ae0 - last_write_checksum: sha1:eb5e4f696a0917e58c017b4531c729aead809bf0 - pristine_git_object: 379b7fba17dc318e7c2b36af58159428628b8a60 - docs/models/usereventpayload80projectids.md: - id: 22ae26d63a46 - last_write_checksum: sha1:a1eea46a85598dbcd63a556fa2ecc45f0466f96c - pristine_git_object: 99e712b9cbf74a9e652f5c3c1763d7492e3f464d - docs/models/usereventpayload80type.md: - id: f4f9cc43c4d9 - last_write_checksum: sha1:ddc5911a1fd95da2046ae05d5f30de1d79b055a3 - pristine_git_object: cd49a3b4ab21dfce68d602f292e3096779bbf586 - docs/models/usereventpayload81resourcestype.md: - id: 7634fa935309 - last_write_checksum: sha1:a251f9507e5251bc9046d2bc13f118a95787265f - pristine_git_object: 475e84416e6f2af54d287bd8fa7fee9a4a1f2aad + docs/models/usereventpayload81aftertype.md: + id: 3f61132d96cd + last_write_checksum: sha1:16945529ad27a1c0e0dae311a7813761e7e3ec85 + pristine_git_object: 062adbb6d94e83f8edf78e41b5e544c67467878f + docs/models/usereventpayload81beforeresourcestype.md: + id: 9e6acb5a8c38 + last_write_checksum: sha1:a62ed29abfcd52c0e0de044694e84bfe85beb11b + pristine_git_object: b502ae4df7833967759fe8d7464ccf6c74ed4150 + docs/models/usereventpayload81beforetype.md: + id: abb215107ea0 + last_write_checksum: sha1:5e42bf89b1e1accba007ba6a083c419c862c70c0 + pristine_git_object: 2afec285dcbfb422970be3b5ecce0da0eed705ea + docs/models/usereventpayload81permissions.md: + id: 750da03127a6 + last_write_checksum: sha1:15e627f3af1daae589de986592d923ecde081965 + pristine_git_object: dd76fc0adf87d70e6102f3a30c886c69751bc22e + docs/models/usereventpayload81projectids.md: + id: 083fbf56a897 + last_write_checksum: sha1:5805aa2df0a9f2356ea34c24258d21bb1dc94c5d + pristine_git_object: 9ff993a86535afebb6df6cda425ac101a2ff638d docs/models/usereventpayload81type.md: id: 3738dc8219a4 - last_write_checksum: sha1:ed64d12d4162ad4108f3033e10405a6d73814809 - pristine_git_object: 5e31ca281d366c1289cc296eb24a6ec0e40977f2 - docs/models/usereventpayload95action.md: - id: 96a224133bb9 - last_write_checksum: sha1:fb44cc1c9431b164d837ecb15a2c868bdf256749 - pristine_git_object: 90bba5bff0db933f513f840755527f4ca678072a + last_write_checksum: sha1:2f9f19a2b57559b684d28739c0a967f83db5f374 + pristine_git_object: ffc1b69bc4b12aa9ca9a4c928e55a576bfdf4438 + docs/models/usereventpayload82resourcestype.md: + id: ad480d7c91f1 + last_write_checksum: sha1:9dc123a5b28f07b5ef72e5cd7df330efe52cfc6c + pristine_git_object: 449da4cb1522f0d6f20049e114b7575642690b82 + docs/models/usereventpayload82type.md: + id: 3c45079c00e0 + last_write_checksum: sha1:134c7d61c61aa0b811f6a8f51ea09d9f39f6cb50 + pristine_git_object: 03ba9fa9b4d2546a045c7aa6a8bf04d198dbcda8 docs/models/usereventpayload96action.md: id: 3c438db9e5a0 - last_write_checksum: sha1:f83308114183403bc97fbd7395a931c9dddb97d1 - pristine_git_object: 1efbfe3450de6855aeb0337b0a8d51977e19bb90 + last_write_checksum: sha1:74c76b668ec56835cd247902d5d756c35465d03a + pristine_git_object: 085d33bea2343941860e3121fc186709ae2a8f5d docs/models/usereventpayload97action.md: id: 9447f3dbef01 - last_write_checksum: sha1:7cf50e5e379ca2e1cfc5aa5e653ceb11379b2435 - pristine_git_object: 563525d2cd0a5ffe3bb42c822f34e21e60803272 + last_write_checksum: sha1:6f2dcf1a81e5e66a01644f1fa02e7454fc5cd212 + pristine_git_object: 69a567a3ce051aa1e2338519abed5b61b1149700 + docs/models/usereventpayload98action.md: + id: 655e8b9302c7 + last_write_checksum: sha1:a78f1ba0e507d76e1c76836186542ef7d60fc2a9 + pristine_git_object: 4898135ca044a9077c79e25e0da5c481e1303f3e docs/models/usereventpayloadaccessgroup.md: id: 48859e778a0d - last_write_checksum: sha1:6cff38e2bbcb6775daa6b896ebddd01fdb32972c - pristine_git_object: 44f32ae7f52e8cd1b567436fe2c09abfddd5fc44 + last_write_checksum: sha1:399cc53762bb5a163c5c816c9e24b83081c48156 + pristine_git_object: e4ae9928a2d3c518be6d67ba3769c28773f2dacd docs/models/usereventpayloadaccesspolicy.md: id: caa95a6c2b0f - last_write_checksum: sha1:adea799ba01e9deb69f88f794c6ec8ee67015c84 - pristine_git_object: d6dbc6db75ee3ee3438594a623653aeb873f7f73 + last_write_checksum: sha1:9150265c0969428b61e9a3c7ca0c93eeed557833 + pristine_git_object: d41e4daa9c9a58b56ce5f9d6533c39845d75e804 docs/models/usereventpayloadaction.md: id: 51c04d5f8356 last_write_checksum: sha1:682982c5e038dc447b7e9d00bf8f90d3105bc7ba pristine_git_object: 168dc5481aced4f4a8254632bcd45fc3dd44d42c docs/models/usereventpayloadactortype.md: id: 779c40f9b091 - last_write_checksum: sha1:9907eaa277a3b77111534b61af2fed53f13f681a - pristine_git_object: 70c2b51808266e35b56fbc1c61c306c7ca876eff + last_write_checksum: sha1:b8984784cfe061e0d5cafc57ed4b4ddeaa875c1f + pristine_git_object: f1833e0316dfc24827ebad02f158372ed1eb2280 docs/models/usereventpayloadallowlistedreadystatereasoninternal.md: id: 0e6168feca0d - last_write_checksum: sha1:68343c20d50ad7d7d41e3eb8f22923902256cd47 - pristine_git_object: 65560866619f697c66c463a5f30db9ef30e34c90 + last_write_checksum: sha1:5d3150c487316af8e787158f6da470a38c7c2c5e + pristine_git_object: 0d848d15b235d9fb11b470407009dd470e2257f1 docs/models/usereventpayloadapikey.md: id: 4e2bc01adf89 - last_write_checksum: sha1:249a10ff4aa2732f2a40b1efa7a92de06b4bc014 - pristine_git_object: bf188aac3d08eaaedc76cd392aea97283a1c3167 + last_write_checksum: sha1:18c366d8e2e05c884257920af99afee58727f244 + pristine_git_object: 29d8246a98195389aff5655ca69610b0bda588e5 + docs/models/usereventpayloadappliesto.md: + id: 53355dceb1f1 + last_write_checksum: sha1:451dd187446bc049d1987a561466e94dc3825d30 + pristine_git_object: 33d9e603046a28ba03bf77192806344714c24b6e docs/models/usereventpayloadbudget.md: id: d51a44c143e5 - last_write_checksum: sha1:b900778af533197551e46e6d9445db36f5f4c44e - pristine_git_object: 5939d4ede7380c8fb5c1c03ee0c998ff1169af01 + last_write_checksum: sha1:6cbc7d5556a15467c9774e8a398c63fe7402a52f + pristine_git_object: 91d9bad351cd404c7d359e0354cd8742cff69137 docs/models/usereventpayloadchange.md: id: da3f476b0be5 - last_write_checksum: sha1:2ad629f58ca90f7fcd2209c462ebba20b99ad54a - pristine_git_object: 9b22ce7330de85bd34175408844fd4799b2effd7 + last_write_checksum: sha1:186ec07f4335ee66a5e9013e49d5bfa5865b20b8 + pristine_git_object: 78160dacef8438525baa5c7176c003ffd001367d docs/models/usereventpayloadchangedfields.md: id: 76fd46bb69c1 - last_write_checksum: sha1:7a0daa7391d33b7db89108ea1f9953cdceef00dc - pristine_git_object: 8e837a8727469ddd72e0108044685467d2449282 + last_write_checksum: sha1:7ebc4267c31e703098e9742eb830782f6505aee6 + pristine_git_object: 5b0f21b1e581caa0da2d62106d1e79ebe72ca539 docs/models/usereventpayloadcity.md: id: 372be73af5fb - last_write_checksum: sha1:6c6d29c736d0fa203c945e028ce64dddad0d2c70 - pristine_git_object: e4b2dc5f3948b251c2eadeacb6483a875daf122c + last_write_checksum: sha1:8d4f49bc6eacdf0f0b8680ec318e0a4e7b67d9c7 + pristine_git_object: c4635df404ea56c8a52ddfa61bb707e762bb6786 docs/models/usereventpayloadclaims.md: id: 3f0aeaa1cb44 last_write_checksum: sha1:3e47f2bb69af82ccabf72b82196d513c31b553b7 pristine_git_object: 4e5700f9f63ad671bb85ebed1f0552efd0892b6a docs/models/usereventpayloadconfiguration.md: id: 608ef6e396e7 - last_write_checksum: sha1:bfc10c7b824f4ef5de1ef1e774d4b2a85b6ceb6b - pristine_git_object: beb54b5e132a4a4ec67472a961acb0a0b6aa4c94 + last_write_checksum: sha1:0a78d837b7541c8fb20622009278da44f9846425 + pristine_git_object: 1fe224690b1bbe3bcab69fa718ab99b8e339ac29 docs/models/usereventpayloadconfigversion.md: id: 49d1ebf86e6a last_write_checksum: sha1:603e11674895d4f27c70a23a3fbfe6fb9072a559 pristine_git_object: 8381e2eaea4fcb81b4caab7bc7b9e407eb4aded8 docs/models/usereventpayloadcountry.md: id: 02e8d18925b2 - last_write_checksum: sha1:d5500a1f23444023035e5b7becd51630e9bb7f28 - pristine_git_object: eb2088b88bd83a3dd405e2360142cdb183a024c4 + last_write_checksum: sha1:60288ee440e74ccd60368ee99e301314ed84a3cc + pristine_git_object: df3de4bc20a971814b1b7482ca33a55dcc96d4bd docs/models/usereventpayloadcredential.md: id: f3f36d3975af - last_write_checksum: sha1:65c43d08804d942d5e06eaa096ba43102218a44f - pristine_git_object: cbc411e662b308445c77e67c41e11d5d3e03495e + last_write_checksum: sha1:464532534c143f9e0794c868abdef30a43ae9828 + pristine_git_object: fd02c15babee57f35125fe6e71d6daac5672ffb3 docs/models/usereventpayloaddata.md: id: 27a335e57c8b last_write_checksum: sha1:0b2260669729329daa5cd4c17cf6d4c657c2761d pristine_git_object: d93e86dfdf85189a5cfe7c78efd57881d9a54d3b docs/models/usereventpayloaddeployment.md: id: fa68884b802a - last_write_checksum: sha1:eaa4b4d7900a86e5ab912f62d479d4f2c91bcd50 - pristine_git_object: 7d9a07e9163ba9b2227836bee92749d68d867491 + last_write_checksum: sha1:f0d24999cc2a1d8d77d4fd1ae84343322c0e1d74 + pristine_git_object: 079d18cfbedef1954c6a2df0d1f09dd677e83d0b docs/models/usereventpayloaddeploymenttype.md: id: cbc946019ff3 - last_write_checksum: sha1:8c1456bb25d7c9f66256d2ae21991452057e07c8 - pristine_git_object: bead6763b7c6e3102d4d144f2bcc8b6e980e3506 + last_write_checksum: sha1:019b14ef186881fdd479d779ca246462b52e6091 + pristine_git_object: 1acf47ae026a8466848733b237c9b405e33db7ea docs/models/usereventpayloaddsyncmode.md: id: 50f2e83c7d0d - last_write_checksum: sha1:133d93fa91e6c22ad76123339f306acb654c5ada - pristine_git_object: 5e17aa51b46a92612ce682beaeed5a60270ccc08 + last_write_checksum: sha1:c8ea4a5a4f9bea9032b8cb39cbf1d4ba7358bf4c + pristine_git_object: eabf469f7e7ce3eb76a1b793a7b034ff3bfa7ef6 docs/models/usereventpayloadendpoint.md: id: d829ca69b26c - last_write_checksum: sha1:29d0a046ddca3888ed3782f328d80fc7bbbe464f - pristine_git_object: 7da3f8d2ec28622e739aa28b9cdbcbc56c2b7c8c + last_write_checksum: sha1:6a0317d0047c273f76c6b1a4e7d43b9a1af38436 + pristine_git_object: 791b4637a9512239f0df30f0d3ff095e30ef1877 docs/models/usereventpayloadenvid.md: id: 2a3113a77da9 last_write_checksum: sha1:bd59ef6cc69028fc8d1e856677ff5e417203a1f7 pristine_git_object: 145e8440e595da03533ac7923c328a3272eb5b2d docs/models/usereventpayloadenvironment.md: id: 2c9dbeba8a55 - last_write_checksum: sha1:b8c0e19b333c897ef9b562b09a51dbb27a65ad41 - pristine_git_object: d7d896c8cae591457c494e8a86858fff3498dae8 + last_write_checksum: sha1:48ba5e5c8cf7416f0bca5f6bfb45987a438afa84 + pristine_git_object: 03e23f2f977d062b68f5569c645b99f8ab6339f4 docs/models/usereventpayloadgeolocation.md: id: 2da5abe58f10 last_write_checksum: sha1:9418ff25c8eac5252d2ff041d8edd80c7462033d pristine_git_object: 7a6ac1938dcb2d4deb7ed4c4091def700fff0a5a docs/models/usereventpayloadgitprovider.md: id: a791e9b93536 - last_write_checksum: sha1:1a0761f4925ecac59b51e0b85b03803e0ea97664 - pristine_git_object: 3ee3857b096afddffb8e05d08490a83b3123b773 + last_write_checksum: sha1:8958f7061ba3cd4981d84a019e69a5d00bea222f + pristine_git_object: 64c45529e0b03a98868567788923d6801ca6c6d9 docs/models/usereventpayloadgituserid.md: id: 83f85df01700 last_write_checksum: sha1:264099acb7d90234bc18297aa5f962ae7e804ee5 pristine_git_object: 6f7bfba4e78016abbced050e97b06c2307bbbfc0 docs/models/usereventpayloaditems.md: id: 7db0d50277f9 - last_write_checksum: sha1:be83063ee6724ca1373426c58104fc1b716597b6 - pristine_git_object: 570639fb2c47cb42bc0c1450e86938905f38813a + last_write_checksum: sha1:98c1ce4fdf76c9c7d0d54f9f642b8573fc753ba5 + pristine_git_object: 0e9c3af6e73865df3688cfbb1740373d95dd8437 docs/models/usereventpayloadjoinedfrom.md: id: e146bdc6ace7 - last_write_checksum: sha1:cb41cb86906f4de99d5fbdcafaf9abfd33a6996d - pristine_git_object: d10fcd740696229110534e12b9929fe383f929b7 + last_write_checksum: sha1:16881167d650f854119768e39f5e316c97b396b3 + pristine_git_object: 524184702465d54863276a91952983d45232d991 docs/models/usereventpayloadkind.md: id: 6609885f0b02 - last_write_checksum: sha1:761f2da787aefa33ddc0c1556a2d9ec7c803c1ea - pristine_git_object: 0925570bafd394904c9723291f093e50cc5fc18b + last_write_checksum: sha1:4bae4116c95fbbb802ab8520d43c6d6c2cb95979 + pristine_git_object: 8288e81aca7ea708d300765f614c6cd0132883f6 docs/models/usereventpayloadlasteditedbyprincipal.md: id: 88f077d913e7 last_write_checksum: sha1:698ce2cd02c43494ccf50a78b823658337390f5a @@ -49211,164 +49291,164 @@ trackedFiles: pristine_git_object: 88e28fd7d1fb2c517e074af2f76a7943c378dd11 docs/models/usereventpayloadmode.md: id: 47d42e74e6cf - last_write_checksum: sha1:29f0dcf89290fbf151dc815aa2d273078d3a9f69 - pristine_git_object: 9ec5697a4985df8ba456954f440878071d998882 + last_write_checksum: sha1:cde46a669e43789ebeb1a6ae1b6f5b065b934647 + pristine_git_object: d22ec8f92ac30ea55f3c2dc23943da9ab979d2e2 docs/models/usereventpayloadmostspecificsubdivision.md: id: 4437fb7ebeda - last_write_checksum: sha1:15044e99481786e5bea4c3da9cdb908a6be83008 - pristine_git_object: 3870b274fe8e80d44b1ee651e10aa0424d1d0375 + last_write_checksum: sha1:bd1a015a71655e2d125fc79cdef9808a66747854 + pristine_git_object: cd0a67de7cd91a13ba743e0493a64b8803513a2e docs/models/usereventpayloadnames.md: id: d4f5ced4f16b - last_write_checksum: sha1:6bfc28bab669866b48b389d221cced092e4209bb - pristine_git_object: b391db94710dca00fdb0b0460fce7b95b2e308c4 + last_write_checksum: sha1:0c759b00a3fb137565796302fcc4e529c6a2f8b7 + pristine_git_object: dcc35930c927de970b42ad1cc4115beac1b7f6cd docs/models/usereventpayloadnewteam.md: id: dd91c49d3fbf - last_write_checksum: sha1:f9c2daa48b320165ca96d9e0739f63e95012faa8 - pristine_git_object: 61fc887a14c821190d2e328b3dbc47de9c1455d9 + last_write_checksum: sha1:c35277ec518eeafa0d4c1c526223ad42eeab2c4d + pristine_git_object: eb1be011533de47cfde3698a2558207c929729e4 docs/models/usereventpayloadnext.md: id: 3b6c2cb80910 - last_write_checksum: sha1:01adeb01a0e59550f6aaa2a3a2cebf22c7c2663d - pristine_git_object: 023e50f55b5cd736a511c8d95f4430200edab921 + last_write_checksum: sha1:b2032d408a2062cbb3be98e30d9bbed22ec23185 + pristine_git_object: c4508395c877d2e52ac36f60b98285aa05d1b6af docs/models/usereventpayloadoldteam.md: id: 69dda9c098d9 - last_write_checksum: sha1:706cf870d1af98518f4460fb80bcb540e246b1bc - pristine_git_object: f72ba2cb5e376bc10a5a8ad555c34f08808278a0 + last_write_checksum: sha1:9738470cfbcbf23ed06ddce85249cbaa5bc800e8 + pristine_git_object: 38591c2efbe05090d1e848543de1be21f86897d8 docs/models/usereventpayloadorigin.md: id: 95f7078ba446 - last_write_checksum: sha1:76c7da750b5c362cc4ad3a6928049c18d23cff6c - pristine_git_object: c5182b227aba6372588c5f3bf9cdff04f1687222 + last_write_checksum: sha1:419d428f9c12c0fb978d003065b48dc9cac552b3 + pristine_git_object: 49359233824ad226d266c54edde55c6dce702465 docs/models/usereventpayloadpassport.md: id: 3a8498df4d91 - last_write_checksum: sha1:e8426215b560a90fdd1ed3b6f7ee06899198b558 - pristine_git_object: a621759299a73e6512f2c3f478b4903480272c9f + last_write_checksum: sha1:d3ad143ce6483139c1e815b43487230c59a78099 + pristine_git_object: 00941ca817ab232b601d3ae8ea48bf764739f6c3 docs/models/usereventpayloadpasswordprotection.md: id: c2225f922fb2 - last_write_checksum: sha1:2f8cafccfdd02d3fcf0b2fe02179959d56e8b869 - pristine_git_object: 5c90849871c4475c42b2b7ded64f16c40caa7186 + last_write_checksum: sha1:8d068055fb5f19e97567e772236115f1dcf9da20 + pristine_git_object: 8d531ccc30e50378505a2ef0366a089f0370be1e docs/models/usereventpayloadpeering.md: id: ec50ccaca038 last_write_checksum: sha1:32c99149e6a919736e93080aaaba60fbe676ea09 pristine_git_object: 16e8940d89d6e2055090d6d778c4e1b511a29051 docs/models/usereventpayloadpermissions.md: id: 0951dcb728c8 - last_write_checksum: sha1:64914cd3870a3e31c5cdcf6bffff48b66f59dcfa - pristine_git_object: 85a5044cb81f77df0ba10ef526e0b87a0fa805f9 + last_write_checksum: sha1:bae5815ec316b6378cf9d6dc79ccd12679238cdb + pristine_git_object: e8cfd0443a7043d30be48573cac0d5bbe048976b docs/models/usereventpayloadplan.md: id: 495069b52754 - last_write_checksum: sha1:2121cb4d1ac96d40dc48db809c9d5cf75906b837 - pristine_git_object: 44ed75a153d8c0d1f202fd3f2baa2908ba3cd0a9 + last_write_checksum: sha1:d51930fa2f458a822d4ae8e97496e3d252225ac7 + pristine_git_object: 9e3bc1e16a5980cd0bc438713ba5b150aa7adb56 docs/models/usereventpayloadprev.md: id: def3fdc1b8df - last_write_checksum: sha1:d435b0f6f8511e1de696e40fa94c1e2e94a2cb51 - pristine_git_object: e0163b09eff6f8f6a11c2c604102a45357ebf7e3 + last_write_checksum: sha1:737fa00313149546ab762fe21def29f4e5283868 + pristine_git_object: 813cf4ac12476ffe3b6b94a7c7678a445325dcc2 docs/models/usereventpayloadprevious.md: id: b09ea7931db7 - last_write_checksum: sha1:4035fd21fad69b440da89e969041d0960af2e94b - pristine_git_object: e2d40e8eddf592a51cf7439d84e5a962fb5ba879 + last_write_checksum: sha1:b49c50ee5eb41d4c2ffc1385bc4a7a9b9fe02b8d + pristine_git_object: e54a9803aa95341ffc938222a98994284f05efe2 docs/models/usereventpayloadpreviousbudget.md: id: 67b4443c8d3d - last_write_checksum: sha1:c2fc3f230470e595f3e2412408bf7562fc11709c - pristine_git_object: b1f83898736f7826d7159e4862534ba2757ef0d9 + last_write_checksum: sha1:3d4b8d633f73a85e7d1e96e02f5781cf5c7660e7 + pristine_git_object: bc234a9c244929981b9836e3cc9f473475699476 docs/models/usereventpayloadpreviousmode.md: id: d31b16e99e30 - last_write_checksum: sha1:198de994449360fa35a58cae1578958138bb1be6 - pristine_git_object: 5a08fef07fa0f9359252a3c41a0a7be5857b2ca4 + last_write_checksum: sha1:1e12bf84a767fdf4c37f14a061576bc31952a997 + pristine_git_object: 4fe81c7f125c1764e4ed2d19e2b62f4472ef60e4 docs/models/usereventpayloadpricingplan.md: id: 052c54f26f48 - last_write_checksum: sha1:a2932fde08d01d01c4b832ca38418ae6be24dc11 - pristine_git_object: 041b918d9bc2ff0ee93f7f8a068c6d0084f0db05 + last_write_checksum: sha1:6d9b7ff951147255776077ee8f4c55542311fde5 + pristine_git_object: 383f9f1125ec4afe324c127e7037cce7b897ad81 docs/models/usereventpayloadprivatelinkendpoint.md: id: 063b53b27a09 - last_write_checksum: sha1:d63ef3e2327aa0e5f37a33605e3f240b7a4b7333 - pristine_git_object: 6f8fdc22fd72e5f76da38bb83a0fd1cc5ac2db49 + last_write_checksum: sha1:bab2bfd21aeb5b873d386226a18886acaf47ea33 + pristine_git_object: eaef22a2c4f696376697e74eaeb5d63a7320fb9a docs/models/usereventpayloadproject.md: id: b4f0b523725a - last_write_checksum: sha1:86a07b69ad587815a829cd00f9563b75cfae3fec - pristine_git_object: a661acd32f046f3492a99b70d106368312aa6ce5 + last_write_checksum: sha1:fbec774c115f25445a9ee742784d30101175aa6b + pristine_git_object: a6c49514d6e8cb34f75fc697dc6e8591403267fc docs/models/usereventpayloadprojectids.md: id: 5cef1ec8486c - last_write_checksum: sha1:013e02ebf154ef425da6260995d5ba8e70618942 - pristine_git_object: b487826551362f6c845142cdddcde4b5dba44afe + last_write_checksum: sha1:4d42a4585bd02a9cfb67ecf032acd19f0b6c5bbf + pristine_git_object: a60a77b1b3951346ed000d4014e4b7f94f711c8e docs/models/usereventpayloadprojectscope.md: id: 24f2fe8fc91c - last_write_checksum: sha1:0586242758ae98fd1cd6cf6bcd027d175ba48202 - pristine_git_object: e7ff413072f18b7e54b8fa162e911ec7a91d7e62 + last_write_checksum: sha1:b6a7d10f08501deb72db58eb953fa9a0f83046f1 + pristine_git_object: d5de67b4d0e857c4570f096f5ccc513717ad8a4c docs/models/usereventpayloadprovider.md: id: 9f83b0b1f0e5 - last_write_checksum: sha1:d6834b7884eda019e1079568127b0c984437bd2a - pristine_git_object: e1e8daf1aea9da78c7774a81125efc4c931dc6aa + last_write_checksum: sha1:4a2f950eaa03fc222bf06884599be7405ff9fbad + pristine_git_object: c7a4b6c6900dafacd34a89a01b4125c3e479309f docs/models/usereventpayloadreason.md: id: 2819e25c8d04 - last_write_checksum: sha1:70edf396d44af139b247395e7c5837f41fc71c29 - pristine_git_object: eacc9bfcd6f1a6d15d864335597964ee8ec188c3 + last_write_checksum: sha1:7c75022e7aaf599b5729a5982a425bb8d38cafb1 + pristine_git_object: e2bfeeda862bbf311061c820599f676e949f13ed docs/models/usereventpayloadrefreshperiod.md: id: 514be4e9db7d - last_write_checksum: sha1:e81b372e54dd986b21e81a0dd954200e5d102bfd - pristine_git_object: f5502e6d827a09cefdb4e5fa34f13e9fbabdf19e + last_write_checksum: sha1:55afe5e83ddf03b88ff65f38684c21afa79f7953 + pristine_git_object: aa983394f2c276badf2518778c9544ec29b8ff9f docs/models/usereventpayloadremovedusers.md: id: 6b41e8841ee8 - last_write_checksum: sha1:5b5885d83add61ee34c9a51450401a92bcc071c6 - pristine_git_object: 529a9956c9b3fbc40280acd0740b9ab8dfeee17d + last_write_checksum: sha1:c0b5a29daaf93b84b4043d5505f2378858389e62 + pristine_git_object: b85170072af7ad42b1c9c3bb667cdfc1e500b4f1 docs/models/usereventpayloadrepositoryscope.md: id: a90393879e72 - last_write_checksum: sha1:44690807c5ca58727671b568c9f36641a603aaf6 - pristine_git_object: e78fac0d5191c2f5b694b2effd9dd2048d484f1f + last_write_checksum: sha1:bf2a8b04a8e7b1820e6be966fdc8a8266065868e + pristine_git_object: 2977e472d6b26535ecad53c333b75cd88f734bde docs/models/usereventpayloadrequestkind.md: id: 8586c4b3bc5f - last_write_checksum: sha1:f874f52ef6e472dddebfb7946fc786a8dc7ac495 - pristine_git_object: 0fcd87c5f6647b01049d462c1b5dea1f6df6d168 + last_write_checksum: sha1:f0692aa7c40f7df4da190c5b980f9be6ce34ec0e + pristine_git_object: 2464b4028a3228bdfa5109c6cb9b996aebb2d42a docs/models/usereventpayloadresources.md: id: 53eed73bcba7 - last_write_checksum: sha1:b5d97e7309b34cfe2f00c6c68b34d436ef7f68c2 - pristine_git_object: e8ba2d0893bbddeee9b203e347d87ced9be45b3b + last_write_checksum: sha1:ccf99463b74a87606a2a58ab271c6dab9a11bb97 + pristine_git_object: 5a67fa4a97c19a940f26849408f3c5704e12addf docs/models/usereventpayloadrole.md: id: 3d77942502c2 - last_write_checksum: sha1:a4c65b52233d4ad7be2dfb8f60ce98bbae6fdbec - pristine_git_object: bc08025d40d65a59ad50faf1b02f5ea6de22aa4a + last_write_checksum: sha1:2bef1f2b6f83d564acb12a92f3e740d559969df3 + pristine_git_object: d707c2481e5b153c257ea17544f2e68fc710170a docs/models/usereventpayloadscope.md: id: 49fa04c3c170 - last_write_checksum: sha1:a3871a3f49524fcf3c94d1bbef95bc4cc5945206 - pristine_git_object: 45a21376cf7d8771804621fdb2d39d37003eb304 + last_write_checksum: sha1:a606da6e3f9f8745950514e0b1855ea478cba72d + pristine_git_object: 9db08c3829c38216e28745032678f84e44d3c35d docs/models/usereventpayloadscopetype.md: id: 9fbd4176860b - last_write_checksum: sha1:dff727b529db8e93909f906330514e53b295b44c - pristine_git_object: ff84caa66a6149d0f2741c159778a693320d2708 + last_write_checksum: sha1:d345ddaa73784fd67bdd10997100f33f46cdb516 + pristine_git_object: 16f385c829d75388a0eccd9ee151db48f5154143 docs/models/usereventpayloadsource.md: id: 8baefe5548e1 - last_write_checksum: sha1:72ff6ca950d7dfb48a4716b439c843c2daaf87c9 - pristine_git_object: 17bcb8d97ba2129cfccf74f61e83065a68640bcc + last_write_checksum: sha1:630c988999178a455eb81f1a90f1f48b0b6bddb1 + pristine_git_object: 5f311434aeed9728c5011cfb37e68d0a08358f17 docs/models/usereventpayloadssoprotection.md: id: 830d629fc217 - last_write_checksum: sha1:364548a9fb18c8d8a4c8bed89b5e0df66295a75a - pristine_git_object: b1d332a918464d7bb606f1f4262292d83bfc5ed9 + last_write_checksum: sha1:3483a6c645e7e04fa383c37aebb5c71b47ea5921 + pristine_git_object: 4923f3ff56342c53147992518659869a77439e30 docs/models/usereventpayloadstore.md: id: 1f4077620617 - last_write_checksum: sha1:0905f2b603345ff784b05d93c93b43a8a4f06cac - pristine_git_object: 771f6e31cdb042a28884f761e56df4108780fab8 + last_write_checksum: sha1:0a976b531c64d6f9b497f2a46a14fc40d43ae008 + pristine_git_object: fe25cd4dddff00e18dcb3f4ed31aa6161b17e9f7 docs/models/usereventpayloadtarget.md: id: 801f97a26b56 last_write_checksum: sha1:391a020087db2759756707475efc24c24162f29f pristine_git_object: 84e655c2ee09e4f2f116000ee1ed73de42dfabce docs/models/usereventpayloadtargetkind.md: id: ae244e04c205 - last_write_checksum: sha1:84935a29b96ae0a2bda91b3bf819e5718cbfb648 - pristine_git_object: d7fa7f5c43e4220c33ba0efde2afb1d7e4414ffe + last_write_checksum: sha1:46858cefef2110de786744fc605581bc89f7ec17 + pristine_git_object: 344ad0e5adda0eff083cd2646369f82944864258 docs/models/usereventpayloadteam.md: id: b7787f67d63f - last_write_checksum: sha1:758bd3994054b7596e7c4abf1f0f01a87122daef - pristine_git_object: 869463e43410f01753fd684163a34c55bc4f04a8 + last_write_checksum: sha1:03f42bc435f4f885ee7604fb7c045e3a0dd04d6e + pristine_git_object: 569bdcdca3dea51047fa9d5787d92e34161b6291 docs/models/usereventpayloadteamroles.md: id: 13793808a9db - last_write_checksum: sha1:fcdfab33875c3888f62fa7c0bea5a205b0167d54 - pristine_git_object: 55c944327aa4b4a3f1824fd8877b02974ef5c6a4 + last_write_checksum: sha1:c0418e32ecac275a72c5837d82621b0ef89c5719 + pristine_git_object: 86cca300a1793c96b911c2704d3559b6e1a9231f docs/models/usereventpayloadtype.md: id: 7bf08b29e8c1 - last_write_checksum: sha1:d3a8db0f30bd8073915dbad8c2a3833e8d9aceb6 - pristine_git_object: 667966f30d42a0c41c0a102a4cf78b9292ea05a7 + last_write_checksum: sha1:c12f227f752695c26ac48422321cba816038f722 + pristine_git_object: 18eef31e6c0b7ed9d430e7071f1b572ef42857b7 docs/models/usereventpayloaduser.md: id: d3036db5eb06 - last_write_checksum: sha1:bd63c40baaf431ca5ac2fe89f360c776393156f9 - pristine_git_object: 78572a7b33561676549b3a2be0af120de3a80730 + last_write_checksum: sha1:372ece420e98c71ad6320cc6a628f22c179b072b + pristine_git_object: a56ac37e95024218c039c7344689d6cf60faf02a docs/models/usereventpayloadvalues.md: id: e6787b2625a2 last_write_checksum: sha1:87bc8c58e80b77ac1d7427afb09d3496d16dca12 @@ -49395,40 +49475,40 @@ trackedFiles: pristine_git_object: 887130a4c7c46f214445cd6cfb4c39d30e30c991 docs/models/usereventpreviousteampermissions.md: id: 1b0891c6d5ae - last_write_checksum: sha1:148f2f4b3783d4f9e4ac06b4c7715e78824dea63 - pristine_git_object: 0f966fc626cc6afd033a768f60e44bf2d09de7ac + last_write_checksum: sha1:e68be3073f4759527a1e978a8f3e0edd5e1883f4 + pristine_git_object: 4c4b954cb6ed43f1736ec964b5069965fec2ed0b docs/models/usereventpreviousteamroles.md: id: c17fd79318cd - last_write_checksum: sha1:639a8978db0aa82c0cf8d10dd63d6d65dc189c9e - pristine_git_object: 24a79673010e289fbf422c82404bbf4e9e0e33c9 + last_write_checksum: sha1:ee175e02872b52cb89fa5ac976e90ffb1375399c + pristine_git_object: 534f860614942780038cf16754d05663a6bfe77c docs/models/usereventprincipal1.md: id: 190aff16035d - last_write_checksum: sha1:342cfb5ac46934d0dad21bd4208fa81bd1f12c87 - pristine_git_object: 1998fa75db3a958d9ef75ced656802c6269e20e6 + last_write_checksum: sha1:464663f9aff584f772d3576d5c3a660352cc037d + pristine_git_object: 39c3e79b2a87cb6b9c98270fec817bde11439720 docs/models/usereventprincipal2.md: id: e0f9a57318cd - last_write_checksum: sha1:b1c6a8d17b2f19e0e1c9afbe09d8fc466385b276 - pristine_git_object: 06a6be6ba5757631c9bcb4bf8990a05143194e18 + last_write_checksum: sha1:49dbda98e79b7d5d149e117817bccfaf464c2d91 + pristine_git_object: 289a0c0357fef824c06b535f8b9f842450438cb0 docs/models/usereventprincipal3.md: id: d885b8f17420 - last_write_checksum: sha1:9dbc0e6e8e13fdfa06df4483cf932bb3dceadd2c - pristine_git_object: f2279b857594875bb7d575df10fe947da6ef5905 + last_write_checksum: sha1:5ba0a62b9209e68843ed90033703eca517310cbb + pristine_git_object: ae403fbab9affdc0d424cb046d58c4549051f232 docs/models/usereventprincipal3type.md: id: dd36acbd39a2 last_write_checksum: sha1:8e79e4cfa5061af722260b3da1d96e9af2a406b2 pristine_git_object: 6d0ab9e3c4daee32c39b698eba29a25987a38211 docs/models/usereventprincipal4.md: id: f419b195ffca - last_write_checksum: sha1:6a8d99c62ace14a23d22375670540369bdbbff2d - pristine_git_object: 151f54de67207eae8c5d978f84c4eb4834057d8f + last_write_checksum: sha1:d3f4daa7d90b253b4dab0dfce594ace4552d388d + pristine_git_object: f88958fa83ed8a314469d455d4bd78f833eaf934 docs/models/usereventprincipal4type.md: id: 490dc0b88594 last_write_checksum: sha1:b59bdf6ec3905077f334cce74088181c547a7c3a pristine_git_object: c3bef11c91bd066447b19cecb0149e892f01abdb docs/models/usereventprincipal5.md: id: f828468144cf - last_write_checksum: sha1:4105aaeede5bf64a351ab91f8f27d7b64d4c5e42 - pristine_git_object: 1b5481be4212e35a687561e174c1cd3effc45d65 + last_write_checksum: sha1:6256e09f673dc87863241c6e82703aadab1ec756 + pristine_git_object: 3dc386a6fb50630d2df0c1474e2db5546e519e27 docs/models/usereventprincipal5type.md: id: 01dccdca142f last_write_checksum: sha1:6539b409ed08ec5ba301f60b9119f753487e0627 @@ -49439,16 +49519,16 @@ trackedFiles: pristine_git_object: 06a4af0eb263295925f6c7f9ed58f1bb07786b0a docs/models/usereventtype.md: id: a262b2f6caa4 - last_write_checksum: sha1:7297d3c4f1646eadb7ce9e909169eb851b238d0f - pristine_git_object: 6ecf71f32161135c55e2ac1ed45c9e3e00fa9518 + last_write_checksum: sha1:4b1da1d7c43d2ad21efdb2ea03b3dd3a95a43a13 + pristine_git_object: e57f346a2c58c6ba6938c56c29fa05d7f1853b71 docs/models/usereventvia1.md: id: 6011cb845d94 - last_write_checksum: sha1:5091809e0707d06476896ef685889e1fab286a13 - pristine_git_object: 1c31720d35f0e9eb0095640545d30b2fc36c636d + last_write_checksum: sha1:b84a29be2095183f5bad3e363e763c6ea17b5676 + pristine_git_object: 8ab40f6b8cc5a03aba4ba3d365c859820aa36ff6 docs/models/usereventvia2.md: id: 88ffb1ad4505 - last_write_checksum: sha1:afafbf1242bc22c2de2b0eda3f504798c1e60afc - pristine_git_object: caba2b9a6ec1195d3cc03cc50321874bc626e714 + last_write_checksum: sha1:ab61e812215a6ecaa8e1bc923b33482381517400 + pristine_git_object: f15b19086adb9a8c5b2e37b9590b2a432b8e09c6 docs/models/usereventvia3type.md: id: 5f09d9799101 last_write_checksum: sha1:e4ce27f6b4e644a495082cf211a0c4b6d6f02f1a @@ -49675,12 +49755,12 @@ trackedFiles: pristine_git_object: e906855baec13c73c016acf7ef38e815d8d1ee30 docs/models/viaapp.md: id: 16d63cb77f72 - last_write_checksum: sha1:0a0fa7ffa883b18add274a5901a9e68baae24a6c - pristine_git_object: 713c7df5dd1a2350262a415670098c549611d0d6 + last_write_checksum: sha1:34033dc214fe30b72b1bfd075f6f9924bc14fe79 + pristine_git_object: 56a456f10170f49515303616597b5725f42681c7 docs/models/viaintegration.md: id: cd6dfbba1388 - last_write_checksum: sha1:d1a26c1d37e5d2af9766127f63249ab6c95c2c27 - pristine_git_object: 8355fe748d4fa04114605dbff6f2c18fd906c052 + last_write_checksum: sha1:31dc4b273cef00c5a916098ec87b7a0d66dd2adb + pristine_git_object: bb23d977ac38c6fccb7436d4b1765efd68e0a24c docs/models/viatype.md: id: e9240156023b last_write_checksum: sha1:fd65977ea3026348a75bcaf9ce5bed2681a43c76 @@ -49707,8 +49787,8 @@ trackedFiles: pristine_git_object: eeb7e02b80d2de72f5c5fb950942b871517083ba docs/models/virtualmodelconfig.md: id: b4c4653e5f4d - last_write_checksum: sha1:4774c719cb0444277e026f0d36dc740019c635d2 - pristine_git_object: 6b36d7ec97f7a1528dbf4a6027e1d2bbfee16dab + last_write_checksum: sha1:4b5ac61187fc0fca26330d5627c9c95e75de8183 + pristine_git_object: f0dbd890168d0cae4866b6ec8ba0083a1cd77fe7 docs/models/visibility.md: id: 69ecc096de1e last_write_checksum: sha1:4df2e2151f410486133b277261fbf1ec8b875d45 @@ -49735,8 +49815,8 @@ trackedFiles: pristine_git_object: cfba6a30024ff86ec5b8a36dfa4cdd907ab3dd5c docs/models/widget.md: id: 34afc15b5a45 - last_write_checksum: sha1:c8958a2bafc0aebc93bde4d25387daf8a446dbb8 - pristine_git_object: d9ac7e81a4fa9f8e39aa272289f52005b95b4b44 + last_write_checksum: sha1:d2c1b91eb0fead1867ab17fb06b0993ef97ba3a6 + pristine_git_object: cf64ad210badc5a47eab6c596d59e29acadbb8e5 docs/models/window.md: id: a46f5e136575 last_write_checksum: sha1:9c5fcba55655547b76e4084e2ac6ec724457c355 @@ -49779,8 +49859,8 @@ trackedFiles: pristine_git_object: f7db1d22c780cacbfcf023674f979b62e38961c2 docs/sdks/aigateway/README.md: id: 06e372b31261 - last_write_checksum: sha1:3bc037334b068e8a45343f39094bcee31886af13 - pristine_git_object: d1f3b9a7524dbf28ffd4a87ec2f6ad54fc920c4d + last_write_checksum: sha1:646ed9445db67e91ee02f58c08ce56de36ee06fc + pristine_git_object: d8f60572a40ab4656ca976c0cab32b9e56e3cd59 docs/sdks/aliases/README.md: id: 0edbfd60a782 last_write_checksum: sha1:7a60305563b0ac49d4f5845a74e0d5d185e4ed41 @@ -49791,12 +49871,12 @@ trackedFiles: pristine_git_object: 08938e9ed43d27dd9f22524f509ceef193e245fe docs/sdks/authentication/README.md: id: 45be241adfc3 - last_write_checksum: sha1:d48dc1a9cce8f67f15a262fcced81711b822eaa5 - pristine_git_object: 03d0f95ea460e7aee531c5a1e94e3cda643e8599 + last_write_checksum: sha1:6cd0e76fd3d7faa1d98845ad17202d0d81680762 + pristine_git_object: cfb11e5c801a0cd81e2cf1ade6d7a55f10886e29 docs/sdks/billing/README.md: id: dc915331dd9d - last_write_checksum: sha1:852bc15b79965f364f4be95208bad5fbd3eb5b44 - pristine_git_object: e6a70378706327fcbe1da9d6c7a758bcba14ea32 + last_write_checksum: sha1:2a40b1a10b90fbb0471ab216584faaf96f25e3ec + pristine_git_object: 650fe538f05c39796a3f7e7dd9b99d7cb584b0a1 docs/sdks/bulkredirects/README.md: id: fecaf63eebc9 last_write_checksum: sha1:7913f1ee160b9e93fef238381bc0468c17e23e7d @@ -49855,8 +49935,8 @@ trackedFiles: pristine_git_object: 85b3bb9db28a112eb132296abf85c3013af6273b docs/sdks/featureflags/README.md: id: 63cfa36ba1c0 - last_write_checksum: sha1:88a662bc6e0e35e6282bcdab3be5b8c4913d82ed - pristine_git_object: 25fac92293f65e4a68cdcb467eb54e36a7f3123f + last_write_checksum: sha1:36491e9426d0652ba477b5b3457f822a5814c002 + pristine_git_object: 6dca565196aded42ce2e7d698eafa5e8aba5fc77 docs/sdks/globalconfig/README.md: id: 3f86a718b9bc last_write_checksum: sha1:fdfbede0084dcdce30f0689eb91500dd3d320e2d @@ -49975,12 +50055,12 @@ trackedFiles: pristine_git_object: d7a3f7e83d792b68763aa5902762bd7dd7b95bda jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:87dc06089c06952f4ee9a919e8e7b1c9737d3d2a - pristine_git_object: cb0ac8c5d0972433395c4ac39cd5f3456aef80ff + last_write_checksum: sha1:5e3311c8ab9918dd532fbe6561af06fa0c50bf8b + pristine_git_object: ca59b931124f8a8913ac3a9a0872fa66d42cad33 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:f205bdf799b952f5719baf2280bc85f5618e764f - pristine_git_object: a091fc2e1574f8a4a8b1f01cc3d604d0bac2d42a + last_write_checksum: sha1:4aaf05b863b1f9739dc596cb09f9ee7d4034724b + pristine_git_object: baadafee220f3dd61385d3a5073a53b452c2de61 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:dc8229fbd0c675b1f78e40b358b0f836f90ca221 @@ -49991,48 +50071,48 @@ trackedFiles: pristine_git_object: f6273776e04523f9ced4f5752e19cd1b225705fa src/funcs/accessGroupsCreateAccessGroupProject.ts: id: 2c986098778b - last_write_checksum: sha1:7fc5e53e7b1f0e5137c078355cfa67a5a057c9ff - pristine_git_object: f4dcf06b7124520eeb800c7d5c33240b2cde6c29 + last_write_checksum: sha1:0a51295af3c0bbee46804e158f77c301f64ebd69 + pristine_git_object: b4dd578c7c9d477e154b8e0dd1a2bf47385a927a src/funcs/accessGroupsDeleteAccessGroup.ts: id: 58d599a5efa6 - last_write_checksum: sha1:bb5a1b9c0d0f4b7c87468bcc3e7f035e415cbb23 - pristine_git_object: 8b3ba14c3e0b0bdbfb6cc717320e78f32596e2eb + last_write_checksum: sha1:9693a0f8e53b4f3e711dbdb3bc62bd3c7dba2db0 + pristine_git_object: db46857246b827614487565a99fa2c92d0f7b47f src/funcs/accessGroupsDeleteAccessGroupProject.ts: id: a9f79f96971e - last_write_checksum: sha1:521ac3ba907c79b88c08dd477b7c19aa3992489e - pristine_git_object: 2b01e1d7b1ee96555b080648d428c4a059fb2e8b + last_write_checksum: sha1:0404a135aca100994ba3c6dc98774ec375db911d + pristine_git_object: 256c23152490673da24d7d91e5b955313773e8b0 src/funcs/accessGroupsListAccessGroupMembers.ts: id: 613214f67694 - last_write_checksum: sha1:5a8b088c1239332229b1eb16927f7ec205326404 - pristine_git_object: 5cb8792dd5073298fb50c86bba1d3e284c4c0075 + last_write_checksum: sha1:0e5b25350bcb61dc7deff765df694df4558ffb1a + pristine_git_object: 066f20a57629794d8abb8b510b79481a793aefed src/funcs/accessGroupsListAccessGroupProjects.ts: id: 0154327cf07d - last_write_checksum: sha1:fb57af9a2ae0db71deecb8d01a7810f8d0ace6c9 - pristine_git_object: a51b07299b6c86fe2850807ab1757c1c1f3b9539 + last_write_checksum: sha1:b73dce5238749eb06031547257cc293fe6cc8889 + pristine_git_object: 0714610afb22e79b615ea929b7694d58106b019a src/funcs/accessGroupsListAccessGroups.ts: id: 4fdffdebe318 last_write_checksum: sha1:8e5c62e9ab2ea7d60106b5a2e5ccb906ca30bb1c pristine_git_object: a4bb84d67845cfa0dcc174ec8488976f4f9a9688 src/funcs/accessGroupsReadAccessGroup.ts: id: ea8305994c9b - last_write_checksum: sha1:6409aa9c038f29bce1810a70c9d8dece400c3e59 - pristine_git_object: e5540d624c533b96e5b02dbba56a17d4a095265e + last_write_checksum: sha1:f523c5f9df932d93d9bdc80b1bb291da5624c3a1 + pristine_git_object: e8196236f5dc13968e19eb656a9a1400847ef810 src/funcs/accessGroupsReadAccessGroupProject.ts: id: f85d8605ce72 - last_write_checksum: sha1:fb16193cfbe296f2aa08e7ff5270ea022783edf2 - pristine_git_object: aab6d3987a0385379bd6e6705ab8ba4470d028f0 + last_write_checksum: sha1:33162205f1d2a98441f3d9341dee2c5362d9d857 + pristine_git_object: acaef15bd654eec2ca36b2d265d5c55aa8da05ef src/funcs/accessGroupsUpdateAccessGroup.ts: id: 79cad0bc6c8b - last_write_checksum: sha1:6ad2d67ad6acc6cab91b810a61575d31eff7cfbf - pristine_git_object: c94911ab9ed84e8ffda68bd9f90db193494dc245 + last_write_checksum: sha1:4220c630199325d226b4b79fbbc08730d0b12cee + pristine_git_object: 36e2a63bbdb0008401552446a664200c7797a85c src/funcs/accessGroupsUpdateAccessGroupProject.ts: id: f0e9c7ae0229 - last_write_checksum: sha1:27b3cdfa9c7e619220afaf2357b01cd768e29796 - pristine_git_object: a0c294f1ff224c453284fa154754103197fcca9c + last_write_checksum: sha1:b54f33bb9356ba09577e18e231d55c677be25312 + pristine_git_object: ec0d65513617f71c601a336025f3e5694606fbb5 src/funcs/aiGatewayArchiveAiGatewayBudget.ts: id: da1e7ebb3f73 - last_write_checksum: sha1:510dfbb41c047e4f61eea25a7867a07231077ec5 - pristine_git_object: 0a2716dbff7476e3dd16049bf7c2197a6c085322 + last_write_checksum: sha1:03892fbc6849868a29e581f0321de673d4415926 + pristine_git_object: b5512368e2a36d2d87c6457f1099f6e6d78423ab src/funcs/aiGatewayArchiveAiGatewayBudgetDefault.ts: id: 47478464a03b last_write_checksum: sha1:10a7a154d29e48009bac1f09ea4ad965ddd81b83 @@ -50051,8 +50131,8 @@ trackedFiles: pristine_git_object: 367cd5115ae2f30e675fd405cb78b54ba245a185 src/funcs/aiGatewayDeleteAiGatewayByokCredential.ts: id: bfa939443bb1 - last_write_checksum: sha1:e4c09a6c992f9d2710430f069277384662aecfc5 - pristine_git_object: 88bafa03c8ddb47cc080f4c85eabf594bb7a81ac + last_write_checksum: sha1:45c83d50b66694d9d64a460b395face3dcd7f2ed + pristine_git_object: 6d404119305b62eb0985db8763334b5e1251ad52 src/funcs/aiGatewayDeleteAiGatewayRule.ts: id: 8bc8e92229c6 last_write_checksum: sha1:c974c5e46a0cd54f1567c77584f1f29e6e46d3b7 @@ -50063,28 +50143,28 @@ trackedFiles: pristine_git_object: 63bf9d31b5d2d9b11799ebb37afb5cc910799e86 src/funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.ts: id: 9e052adee690 - last_write_checksum: sha1:307c66aac79ed28bcc2feebd4e42811d1ce8f345 - pristine_git_object: d11de655f5d9936209a2e5934aea60a3b5831174 + last_write_checksum: sha1:f9e2d729afe511feff26b5d5aa20cb9c7fa78395 + pristine_git_object: 096fad1cd178f84e27395469018674bb0b3b1d7a src/funcs/aiGatewayGetAiGatewayByokCredential.ts: id: e349f0a7018a - last_write_checksum: sha1:b1f2107ceb6fbf0d83ce379a5a81f35b8a58dda5 - pristine_git_object: 019fcbab6668ca67d3361a6976d85a396f25aa49 + last_write_checksum: sha1:f3720c29eacf17a64d30670b19cc4fbe7986ff61 + pristine_git_object: 31e8e79ebb821349e9b7402440e8b6fc697bada7 src/funcs/aiGatewayGetAiGatewayVirtualModelConfig.ts: id: ddd610b2dad7 last_write_checksum: sha1:bf885e0c8c40e547da6541f65e6a75056d2dd455 pristine_git_object: d2d0cac8513083e14527728ca6c7f0ebf8304cfe src/funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.ts: id: 23387944455b - last_write_checksum: sha1:1bf1f6e29deca213f43daed7730b194cebdbbef7 - pristine_git_object: 72402eac59e261ec1376d1c2c927bdcbaaa0842b + last_write_checksum: sha1:ad2d21e9e90645de9f6ff36daa3740a996340c11 + pristine_git_object: d36f353053cede82170db8e655a9b7a57e770a83 src/funcs/aiGatewayListAiGatewayBudgetDefaults.ts: id: 8060a149b679 - last_write_checksum: sha1:8408112f673550ffa979e178243849ae7385397a - pristine_git_object: af955b25911cdb7fba470b91e43fe35eae9bee05 + last_write_checksum: sha1:451c306a7071e385e49bc17bfba659065896517a + pristine_git_object: a0a9fb4757d5265e9b9dd7b948f36bdfecab31bd src/funcs/aiGatewayListAiGatewayBudgets.ts: id: 45b15d2b5a63 - last_write_checksum: sha1:032a03465e0fdd31b74de99813a647cd7a3f0dfe - pristine_git_object: c6b0dd80580fe586e759009a7d756986b1614b10 + last_write_checksum: sha1:5f16e578f27ee6d690707f1ad12c9b14fa2e991e + pristine_git_object: 7840df7b7aaa667bcb1159528a7b3b584074d81d src/funcs/aiGatewayListAiGatewayByokCredentials.ts: id: c2fab8894f21 last_write_checksum: sha1:bf6079d49a117160923233b52cca42dbdb84d4e0 @@ -50103,8 +50183,8 @@ trackedFiles: pristine_git_object: 6da0200141532e5de0b5aed6a7ef190b27152391 src/funcs/aiGatewayUpdateAiGatewayByokCredential.ts: id: 0b2adc6f3e25 - last_write_checksum: sha1:33d43e120939a0daf08dae4920f4062c23e1543e - pristine_git_object: 0b200a798d41fd610c83fee6ec6339f0146f7ce8 + last_write_checksum: sha1:a5a0819cb1f26f0c5b41d75580c118f6080bc6da + pristine_git_object: 9afef32c7f14403d488a947568b8681beb18f51e src/funcs/aiGatewayUpdateAiGatewayRule.ts: id: 156eb3d974ab last_write_checksum: sha1:3c09597be7a9b956c90f4763d738de24fde36b10 @@ -50115,48 +50195,48 @@ trackedFiles: pristine_git_object: a956b0a0e748821ebda1b0da980218cf693c790b src/funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.ts: id: 1bd466d4e460 - last_write_checksum: sha1:3670daae255284adb9cf8057123ef66d59b11808 - pristine_git_object: 879cffd82e68ec4768d233cd4bbccd34857aeb7e + last_write_checksum: sha1:cc60f2699a6551ea810f9c7e8d036d7e13b07411 + pristine_git_object: 64c0bfa34fcd67e609ef8957117a422d5195ec6b src/funcs/aiGatewayUpdateApiKeyQuota.ts: id: 2257dc65bfef - last_write_checksum: sha1:f47bd914efc6e5adc03b38d65ddb2b08d9d6a539 - pristine_git_object: 6a8a929f5811b0d2bf4d10d3024b38533e36989a + last_write_checksum: sha1:ad60733c7126167104d76d5a72ddccb53f907b6f + pristine_git_object: c042ccda1dfb3806f8b51187cfca7b3ad63c0580 src/funcs/aiGatewayUpsertAiGatewayBudget.ts: id: 69cbbaac95c2 - last_write_checksum: sha1:a6a999ad39595281ef179e9287786b4b5f846752 - pristine_git_object: 6fb49cee1a66de2f6f4d12c15bdbb213342939f8 + last_write_checksum: sha1:9c5caec4ebbf395f47b71a34ac8f13ad79346a08 + pristine_git_object: f8c592987399853933f97211a379d6426da21ce1 src/funcs/aiGatewayUpsertAiGatewayBudgetDefault.ts: id: 741c54c72a9a last_write_checksum: sha1:3f1597912042ebb3fcfa4358aa1c1c851fe9dfd8 pristine_git_object: 9153f6a49a116ffde3b91676e73d70b14c8f8006 src/funcs/aliasesAssignAlias.ts: id: 237e27ba0de2 - last_write_checksum: sha1:42e728b0ee64f76b0ca4716d33c3b12f88795f5c - pristine_git_object: b640b242dbf266fd911bd97541411c2242ce96c9 + last_write_checksum: sha1:5969b5698ff863f4b339500129bb2ec11528a75a + pristine_git_object: eb13898ca0ab0f2c58261c448f333db0fa8c7e09 src/funcs/aliasesDeleteAlias.ts: id: be60d3ceb9a6 - last_write_checksum: sha1:224f7f9383dac6205fa32cfe6d888409bf49880c - pristine_git_object: 8d3e4e0404477e0e971a38b0bbf1dfe39c290511 + last_write_checksum: sha1:51dc0e76ccc5086cf6f6821ebea75716ae9cbe07 + pristine_git_object: 13ecd4c1aaae7c4451678b13456b0ba45385164d src/funcs/aliasesGetAlias.ts: id: b54037a40669 - last_write_checksum: sha1:5ef18a436261d5ebe45c094872b1792734b84e08 - pristine_git_object: 55ff4a8352bd11bd52a8d2d11ef5bfb4a4e98ead + last_write_checksum: sha1:3d034ed89e4d1ca4baa1cb5c169864591ebba454 + pristine_git_object: 865271ba90f32cedaaaa45a3f76cb58060e41bea src/funcs/aliasesListAliases.ts: id: 84872a452070 last_write_checksum: sha1:e8025f9e50de959deb9384ff20307027c72b2aae pristine_git_object: 3598db3fc99ac4cde4c25cdabc5e69d2fc22f39e src/funcs/aliasesListDeploymentAliases.ts: id: d7620b7abb6d - last_write_checksum: sha1:1e1a9d7836a0ae8acb34fd0da80972d680cf9dd3 - pristine_git_object: fdec6103c2bc3b36d4cea85d637cb44a152b5332 + last_write_checksum: sha1:1cd90d6a3e67e7bb9109f4c8dd050cc361d2cb58 + pristine_git_object: eb12c73d9c12a5314f75100c0275b0b0e6484e91 src/funcs/aliasesPatchUrlProtectionBypass.ts: id: fc08fca726a8 - last_write_checksum: sha1:6219a26f4cd60a6f5e69eac65bf7051219d4975f - pristine_git_object: d686572093e0620ee64b6f3803eb66ebf3110bff + last_write_checksum: sha1:2444e97648063ea6f6ce290dc7988ad0a93cba17 + pristine_git_object: 1f00cd9a134b911de6be02857b8822d9c373c547 src/funcs/artifactsArtifactExists.ts: id: af0444889680 - last_write_checksum: sha1:b75ef857dfc1192243edff2a8b4226ad9595a1b2 - pristine_git_object: bd51842239d0baba18034ca19c0f6c8d198a5de9 + last_write_checksum: sha1:be2369c31093b92149fdc32cd307fa201ce816fa + pristine_git_object: f2e672784b118b08ec960b7480ba624da7cb5380 src/funcs/artifactsArtifactQuery.ts: id: bc1a3169500e last_write_checksum: sha1:f2d36444c5620060134b4a2049869ac61b254048 @@ -50167,8 +50247,8 @@ trackedFiles: pristine_git_object: 4c9814e1818fffac5a0efba230ec80de892ecd16 src/funcs/artifactsDownloadArtifact.ts: id: 8fef27845a9c - last_write_checksum: sha1:077dc631f1c13f5951cc84e966964993438a1812 - pristine_git_object: cec5ca67977f2c2db08cef6beacffe9a5a731394 + last_write_checksum: sha1:98892745363e4008c455e5c5035d74503d7c907d + pristine_git_object: dbfdeafecedc0fbaacdc0c73121f0d69b763ebb8 src/funcs/artifactsRecordEvents.ts: id: 2bb725fda799 last_write_checksum: sha1:c195a24b1ec403a4240d81243bdeafd6b822c53b @@ -50179,28 +50259,28 @@ trackedFiles: pristine_git_object: a4af9e37562e5f841da4ee344aa4426c98ffa130 src/funcs/artifactsUploadArtifact.ts: id: c7ec8e4db76e - last_write_checksum: sha1:b64883e82b78af0d6d406326c70838829b0174e2 - pristine_git_object: e95d2446eea0060f00b26a187c87323c1b38671c + last_write_checksum: sha1:413854e54087d86181e3b2919804dfa60d2c9deb + pristine_git_object: bf6bd395ed49d8d1891c1239459ab2eca13827db src/funcs/authenticationCreateAuthToken.ts: id: cf43f1a36aeb last_write_checksum: sha1:58eac9c13a6f38d8a987651bdf2add2d47d05f08 pristine_git_object: c1cb26c5c2610d612406356e704bd98edf6dcda8 src/funcs/authenticationDeleteAuthToken.ts: id: 150c6e10dc96 - last_write_checksum: sha1:72a8bf31d5c4a80545691a7386f06abf09adfdb1 - pristine_git_object: 502cfe30c7f34dfe1c709830e8ecbc4ad52e082a + last_write_checksum: sha1:e5bafe7be19d31d25ede5bec4f963960045c84ac + pristine_git_object: 153a71b8b458116df2862ddd7a213d1dac549d2f src/funcs/authenticationGetAuthToken.ts: id: 7711ae7ef877 - last_write_checksum: sha1:35155bf2072d361ac518eb54d1be3503868c7fe2 - pristine_git_object: 6558a45cd0ef9f80d092a5d0cd03da5415cddff2 + last_write_checksum: sha1:ffc24aed339f78e95137d0166500b5e5b0f514c0 + pristine_git_object: 26c5e5393ec15a8f381176d223c5d89d522f5b05 src/funcs/authenticationListAuthTokens.ts: id: a8619b2a5596 - last_write_checksum: sha1:6052b8bed0a01c4e37314dd8339e833d4958a49f - pristine_git_object: 5e7f31a03233c394f5d561c3721a3fa7c5cec781 + last_write_checksum: sha1:e7ce930358d262a08eb48a4ec8e9a03164f95fd2 + pristine_git_object: 0e29f20fef71748cf51587eaed0b09d2ca4da0b2 src/funcs/billingBuyCredits.ts: id: 17de1fc8023a - last_write_checksum: sha1:d2da58cf7f9bfc176e39244d6e0638944f2c621a - pristine_git_object: 650353e4c5adc0ff220a1c723b550cdd6d337170 + last_write_checksum: sha1:bb03eb42e6c5b4976fe0dbbfb5a263b108b7f3a9 + pristine_git_object: fb13db4829eb1867447dc31288d56cd4faa06926 src/funcs/bulkRedirectsDeleteRedirects.ts: id: 421c395040f3 last_write_checksum: sha1:a358afee8176dcb7196f56c21855c3d140e30d96 @@ -50231,8 +50311,8 @@ trackedFiles: pristine_git_object: 0c46f4742ec3b52ab44f36f8f9b09c9bfad168a3 src/funcs/certsGetCertById.ts: id: 38e8720d745d - last_write_checksum: sha1:d28cf93d27fcb998def193920863fb06aac6e92b - pristine_git_object: f225d15c98f0b50c0a55a7dbabf0ecdfef78ea90 + last_write_checksum: sha1:25060b79fed22bf8794c6f3e982c81bb8f34ba6d + pristine_git_object: 4904fd238431fafd4cb34c58b80f13811aaa572f src/funcs/certsGetCerts.ts: id: 3d8aeb213019 last_write_checksum: sha1:053c9bb58577f0b75c0a93364df9687fc753237a @@ -50243,120 +50323,120 @@ trackedFiles: pristine_git_object: 07c014a57b873b5294cf91cbf8dcc6e4081397f1 src/funcs/certsRemoveCert.ts: id: a02a9b6d9765 - last_write_checksum: sha1:1909ea2e411ede93705947ebfc7e4dbce4a72c9a - pristine_git_object: b74da1fc8bdd1fcf917e68d0e0f72043178caec2 + last_write_checksum: sha1:8ae3c0558276e72aa44ecb308c0201a10b63542b + pristine_git_object: c0b2798cf69244fd2b7dcefe55697b2db546e6e8 src/funcs/certsUploadCert.ts: id: f449ad9ffe40 last_write_checksum: sha1:711c52df58765a864188cc9dca8652883dec302f pristine_git_object: 92423c0f45522af0d6d7b756a842f2a91f2b0de2 src/funcs/checksCreateCheck.ts: id: 06199831faf2 - last_write_checksum: sha1:408d3e7d19a6a12aef47b98d4472dfdd884ddb3a - pristine_git_object: aebe70dcd78ccfdf33db2ef0c8446d92ceb939eb + last_write_checksum: sha1:ef70d0eb38ff3011d7c23de2866f6d67ad22463b + pristine_git_object: bd1f3ce183624e671e2bb0b3c7dd3057710776b1 src/funcs/checksGetAllChecks.ts: id: 1c4143c6bfc8 - last_write_checksum: sha1:a7a250f598b99eec984545e9351297214ea9130d - pristine_git_object: f99935a0c70c0aacec8b1d69126ec7d181c878bd + last_write_checksum: sha1:30e85527730d5ec0444d560ed168e0c77f9ce876 + pristine_git_object: c58047085fe25d9e8be16121441149caae03417c src/funcs/checksGetCheck.ts: id: 89963a628141 - last_write_checksum: sha1:8fdaa2b03e93f7baaa73fdf09521c79816c23995 - pristine_git_object: 03b3050e559f9f0e1f21fe399f4fc4578f1f88ee + last_write_checksum: sha1:467d9e2addd0ff7032f89ad1ce42255d2d149444 + pristine_git_object: e2ec39fc90e76f7b0a81a85afd947c0a141b396b src/funcs/checksRerequestCheck.ts: id: 9d0713fa6e76 - last_write_checksum: sha1:59f67dee69f6492c72ab1d8020dcf9b174410a59 - pristine_git_object: 4efddb07df4a70e9d8bbacd5579c2b565ee70c75 + last_write_checksum: sha1:3af7a3011b5f925b462ae767b56fbf2f3919b503 + pristine_git_object: 9974e356315af091524450ab8b7dc2d1a20c8997 src/funcs/checksUpdateCheck.ts: id: 8f3798314f52 - last_write_checksum: sha1:7e4ed5af9698483c0bceeefa3eeed27b3a16c37a - pristine_git_object: d29206488246745287611e9ad5ef28758960de23 + last_write_checksum: sha1:55e81cd63eb0b78704c22bdccaaa42f36693851d + pristine_git_object: 2e8158b25183181509f8992f34abdf8b8e314499 src/funcs/checksV2CreateDeploymentCheckRun.ts: id: 4a1281b84f8c - last_write_checksum: sha1:62a7fa9280be2531a33c3a5a80f10d8a070c39c7 - pristine_git_object: f5fe2b90f9a9630fca8ac749169bda5b676ddad0 + last_write_checksum: sha1:8009a3244a396dd7ef2f95c8c6ad11f0a21c0847 + pristine_git_object: c598a96bbf59c53ee61f26bd62cd686fd251ec97 src/funcs/checksV2CreateProjectCheck.ts: id: a52f1aca0a15 - last_write_checksum: sha1:06a49561823af340cc53e8c7557003b1f590055a - pristine_git_object: 48e7eb7827ecbe1643a5e072d9b5f9cf199c805d + last_write_checksum: sha1:9e02f2285075ee50b629696ff633cdda42f40cd2 + pristine_git_object: afb2183cd00950234de5db976f6ea5a1dbe86abf src/funcs/checksV2DeleteProjectCheck.ts: id: 6441cd3f84f5 - last_write_checksum: sha1:664dd2d07e33e0b242db693ba310c6f02c0c81f1 - pristine_git_object: 07d9f04c571ffd91c9ff03aca4ba1945f91133c3 + last_write_checksum: sha1:cf8a26ad755856792bbf14a28ad6217419e824b7 + pristine_git_object: c8d59d28044e275363f7f058be60eb392ea6adad src/funcs/checksV2GetDeploymentCheckRun.ts: id: 87acbb12c616 - last_write_checksum: sha1:0b7e75ad6a0ec29f594fb56a323274603ffc78cc - pristine_git_object: c6292996f7b30b8fc8c622f4a764abe18131eeec + last_write_checksum: sha1:ac1badf2efddd564e6f644a9bca223c9937c8834 + pristine_git_object: 9370c034efe0068859e900157b1109fe07c1953e src/funcs/checksV2GetProjectCheck.ts: id: b2d76df3f8b1 - last_write_checksum: sha1:58287de6efbd3e33cf7475a7d07d51277a052fe3 - pristine_git_object: 10e621afdbf8b5cbb6ed99a38b4781b8fdd8728c + last_write_checksum: sha1:3227e8b6dcf00ce871aeb98d2979702fae9d673d + pristine_git_object: 689700c99c05e4c1f2dcb1c8a60aba9293c8dfd8 src/funcs/checksV2ListCheckRuns.ts: id: 3e6abce1dd08 - last_write_checksum: sha1:054d329b8e71dc9df00c07d7287573b4c869d2af - pristine_git_object: d1d1d597a07119261b92d5dbe85c2208279b613e + last_write_checksum: sha1:07b72e9b86295640ea696da9b12889125d6a2d35 + pristine_git_object: cb4287a22fe89012de2b84c6d63588756baf9bee src/funcs/checksV2ListDeploymentCheckRuns.ts: id: 748e877c60bf - last_write_checksum: sha1:ecda594e4baf757bc6d7a548a4a602b3ccd10eea - pristine_git_object: a2427fe20a99e0c6f67d2f8085e8cdfde243d525 + last_write_checksum: sha1:1a9d661eefc0440caa933c9131c789a58d174917 + pristine_git_object: 44b14e299654a26abff08e1411e62cc96e457ebc src/funcs/checksV2ListProjectChecks.ts: id: b9808b2511e3 - last_write_checksum: sha1:262eee43cc1ea170d3dbac5ab6fbbaf784b52cfe - pristine_git_object: 568b46619c280a67f3531fdf294d04440898cee4 + last_write_checksum: sha1:34cc298da4f3365ae6563c1088402ad8890b61c0 + pristine_git_object: cc370f9828443351f5bcf7ffcb68eaa4164c185d src/funcs/checksV2UpdateDeploymentCheckRun.ts: id: c2ab796f1063 - last_write_checksum: sha1:c2ba02a58b1486aa25aff1cd9dfd4371996d8abd - pristine_git_object: c6eddbb028827cc451dadbf2952520ca7409e2d9 + last_write_checksum: sha1:22d7a83f02062ee4522985cae958243c1be0079c + pristine_git_object: 913153dc696dbe6b7df8ad58769dd6b071f1f009 src/funcs/checksV2UpdateProjectCheck.ts: id: 2e5772ad1996 - last_write_checksum: sha1:9215e98479e8fba614919440ade142495acab496 - pristine_git_object: c91840ff9ea73f428d91d20677c4f2c4f660230a + last_write_checksum: sha1:1ee53a258d2edfe955b0be28251782d1bf40ed9b + pristine_git_object: e05d46cb69b852fd0ed00fc3c3b9c14f4fb07bdc src/funcs/connectDeleteConnector.ts: id: c725bf357cbb - last_write_checksum: sha1:cbe033ca14ca94dc139d4da223b94b8077ada640 - pristine_git_object: eb0b835512b58b8ecd8359c8bbb898b73f8dd9ef + last_write_checksum: sha1:cd33524171bb839fa3e1009259067ee6d821ac37 + pristine_git_object: 30adf4e14dbb0d4853da0178a15d60ea67bc929c src/funcs/connectDeleteConnectorProjectConnection.ts: id: 6110f390c32e - last_write_checksum: sha1:736069651a90d1b1c0e6dcd1eaa58d083c83e8bf - pristine_git_object: 953cb6fde543dc4da348dbdd3792376fc809446e + last_write_checksum: sha1:625384ffa47d008cb057aa9a922e078ac8dec910 + pristine_git_object: c8e1c981faa13c1cbee6ee1079a189c48b4f969f src/funcs/connectDisconnectConnectorProjectEnvironment.ts: id: e3d958380bde - last_write_checksum: sha1:f441c5b2745f001ec89da3e01352e99aecbc5d3b - pristine_git_object: 1abadc129b908e133a23a97834812e2afabf3c9b + last_write_checksum: sha1:972f554194f2b31a44528b20b14d0a7a6d7f8398 + pristine_git_object: f28c1d29f769ddf1fa35b6bc0e02ce9bfb1767a7 src/funcs/connectEjectManagedConnector.ts: id: bbd1ab141b27 - last_write_checksum: sha1:ca96f32f87cff0cbc30862d6e683d2aa68744417 - pristine_git_object: c2327f43896e8c9ba01a77dc9405157116b4a049 + last_write_checksum: sha1:a72228c8ebc61338eeea19a327657c2eda11b53e + pristine_git_object: 0427e7672a58e113752eb515bcab8e1ba1dd9b7b src/funcs/connectGetConnector.ts: id: 0a9eb8161035 - last_write_checksum: sha1:4a8cd66645be5ff08c39efea655b231c04171d09 - pristine_git_object: 76022cfd21a20cf3994142d59675736f2948d41f + last_write_checksum: sha1:44f83f32bb4be8268c8197fb9c38b28f64d32c0d + pristine_git_object: eddbc0ddbecedf2261e3a6dd50c5e36afb4b0c27 src/funcs/connectGetConnectorProjectConnection.ts: id: 0cd9d2595afd - last_write_checksum: sha1:4209d80134ddad28794fdc3ba4b0ad929fd5bfbe - pristine_git_object: 26eb62118eb04b8fee8009b0577bef194a37c3c0 + last_write_checksum: sha1:dd221dd28323d5f92217a03dcee576fcec7a9778 + pristine_git_object: 8c4c8f878bbd46df84b25ff51f023f1c9475bd41 src/funcs/connectListConnectorProjectConnections.ts: id: b9b24931d3f9 - last_write_checksum: sha1:7df1180ef1758998c5e53593bb156604f5215d0f - pristine_git_object: f031f77c810d724b983a7cb9b6dee649df11c329 + last_write_checksum: sha1:28d24dde7b8696a8d091903e34aacbf997206132 + pristine_git_object: 106f624fabff8110c41d730f8b91b05cdb33cf07 src/funcs/connectListConnectors.ts: id: 75d71ec69c5c last_write_checksum: sha1:7d1d40bd79f76ae85f713737c51ebe6eb4940c75 pristine_git_object: c3ecc6a805d855e7c7ed58073a35390a0aade4b8 src/funcs/connectListProjectConnectorConnections.ts: id: c1e91b49251c - last_write_checksum: sha1:6ca420d05db68bda7c574fae8474c875ac7ef6b6 - pristine_git_object: b5c53721e4b31c82ccb8e23b07307b9f339d09b4 + last_write_checksum: sha1:1155e896d5df9f6621b3f3774ba77d8b1d7086c4 + pristine_git_object: 42e91504a126c066b98d89ccaa2b213ac63c585e src/funcs/connectReplaceConnectorTriggerDestinations.ts: id: abc9cf8cf019 - last_write_checksum: sha1:c6fb29c8b6f82033dffce72b707aa24f86632235 - pristine_git_object: 6e3b8b1dbe34e858ad9ae0020e604bc792e73727 + last_write_checksum: sha1:88b691b042735d9c7a7942d479a86b06a986d623 + pristine_git_object: f853aa2ddfd19f82ea7c0c429caa3ede25f7fb09 src/funcs/connectUpdateConnector.ts: id: 763f955d8623 - last_write_checksum: sha1:dd2b58015b7542752e4818d3bc454909a2e68fce - pristine_git_object: d01c01382f4d5378340c1e2f301b155e65159fa0 + last_write_checksum: sha1:ef6ef4f6f951c6dfa96ce2fe28dc7124a7bb83d5 + pristine_git_object: 4a9164c150145ab40a1f193334bca7bc2700d7df src/funcs/connectUpsertConnectorProjectConnection.ts: id: 97268bd3acf1 - last_write_checksum: sha1:50841e3b84b59011c7594d58b7841db421cac6bd - pristine_git_object: a4f6a0722292703b4989329f44524db879eff220 + last_write_checksum: sha1:4b1720ce83f6580109a30c6edec5591ff767b426 + pristine_git_object: 8cc170efb1b79bb57a2b56fba64a35a1d8cd4f4f src/funcs/createApiKeys.ts: id: 718b30831df8 last_write_checksum: sha1:d09c4e0f88964b148c929420ded57abbb3f22003 @@ -50375,116 +50455,116 @@ trackedFiles: pristine_git_object: f51fce835a03e2f294e44c4c09614768484b4241 src/funcs/daemonsGetProjectBoxes.ts: id: d51882f575f9 - last_write_checksum: sha1:749cb42acd8960c809df0291f3e2ade6a69f09ef - pristine_git_object: 2d089b100a53434da28965489cd7fed05d932649 + last_write_checksum: sha1:a6fe403c81a21ce5f55886a4284bcdd916e7cff5 + pristine_git_object: 111eb90102fb8bec5ea57d2b235398f22d860031 src/funcs/daemonsPutProjectDaemonInstances.ts: id: 44efdca8eb31 - last_write_checksum: sha1:13ff329ac99c66ca8d9187f4442aefb362191092 - pristine_git_object: f05079a1b1017a0d2516bc8af96f57655f9ecbf8 + last_write_checksum: sha1:c0be638c64fc45de1abb5412e2cee13327804546 + pristine_git_object: 9561f4762a537847043bf8a564c59c347ae610e7 src/funcs/daemonsRestartProjectDaemonInstance.ts: id: fb4b9da047a1 - last_write_checksum: sha1:23987230ffe0e55f6a523c7553285e02b16b10c7 - pristine_git_object: ce9c2bfeea994f6f0f60fd2baf271898f5ace8f8 + last_write_checksum: sha1:a462a0dd536757c460353cd703329505c417d2b1 + pristine_git_object: 9ced71826a0586385bd32b519d2e5d050932824e src/funcs/deploymentsCancelDeployment.ts: id: 27d1f07b6a57 - last_write_checksum: sha1:ad471ff181003e367aa1da6a7223f28e9d846887 - pristine_git_object: 5e33983d4d05ced972b1ab110e32b4be8576a195 + last_write_checksum: sha1:70924f5227469f5624f1488260560bee052dd4d4 + pristine_git_object: 05577119997f00966fcd8817adc62e3d19fc3575 src/funcs/deploymentsCreateDeployment.ts: id: da50952ba323 last_write_checksum: sha1:b4bef8bb7f803fa5d888f989f15201d95c7638e1 pristine_git_object: ce0c2e3f1421ea06f79ec4788e4a0edc5cc8a5b0 src/funcs/deploymentsDeleteDeployment.ts: id: c7dd0abe4761 - last_write_checksum: sha1:e77edc1700d0191754e8769a9559e0e1bbf995cf - pristine_git_object: ef1d9b5856e5a7a87d06fc001182785753a22398 + last_write_checksum: sha1:b04e7a661b8cbff8f763abff900b736efb3f0f63 + pristine_git_object: 6dbdf0bdfb60ecdd5fdf0794cf61e0c55b7bf38b src/funcs/deploymentsGetDeployment.ts: id: c3e6e38f9e85 - last_write_checksum: sha1:126d2c7ed87d0e327333915dabb8d8cf0278a989 - pristine_git_object: b0a466564828f16754d1eacf43e2d0766e2947a5 + last_write_checksum: sha1:e32a3ad1aee1d43e551824befb4037d6196adff2 + pristine_git_object: 985717851724ddcc03051bffbc1e68cc21ab3d2b src/funcs/deploymentsGetDeploymentEvents.ts: id: 66df1a867e46 - last_write_checksum: sha1:e228dfcfac0a041904a80ed708403c4ab1d45e84 - pristine_git_object: 85866fb72c8f2a1978e57160dcc434a156d8292d + last_write_checksum: sha1:815bcf395e18b54be99cac232f80a31a40c65595 + pristine_git_object: ba7046b0dbf32d12e92b56a7151a1817d57bd9dd src/funcs/deploymentsGetDeploymentFileContents.ts: id: 7cbff5fb45d0 - last_write_checksum: sha1:bdb989f76f44474a7d88f9c54f70772ff032a75f - pristine_git_object: 89adeaf8e2aa598a881ed326dd017df4dc4409c4 + last_write_checksum: sha1:bababa83c7084b0e57759745e72ed5ef2c32f313 + pristine_git_object: 76055f7d3dbb22c2c858324f7627831757db0760 src/funcs/deploymentsGetDeployments.ts: id: 5d2bf6561a53 last_write_checksum: sha1:add393c0a8e8ee08f9ec1bdce592a3a62d3a13d1 pristine_git_object: 579126db76a9a3535cbf2bc6176119eb66053570 src/funcs/deploymentsListDeploymentFiles.ts: id: 7f16003bf8aa - last_write_checksum: sha1:8e69b03291cea9a7d40c8b6f2e6cc5c4b473f3cc - pristine_git_object: c427719545a43a4c9caaecccbc9009ac43433f41 + last_write_checksum: sha1:9eeae974b380bd3595db5b06f2fb317f793f2977 + pristine_git_object: 3cd3df4dc815a075155cef6eeface37e36558d67 src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts: id: 09a0b7163e94 - last_write_checksum: sha1:8ad6b9fd1ef64bce85b3fe363f84a10935e7ff4f - pristine_git_object: df74ed394079c3bfa1778cbb2665443c66489e2e + last_write_checksum: sha1:3ab9e4f46e357c01cba71c2b474b14edc6abf407 + pristine_git_object: 345d95f4cfc27e411e77cf286341e203ba9ad9cd src/funcs/deploymentsUploadFile.ts: id: 4a1f1e4873ee last_write_checksum: sha1:48a66fcef13accff4d58da68a66d62c01da3d029 pristine_git_object: a1e3c2d4ac2fbed1ccaf644d8c75295971c93c3e src/funcs/dnsCreateRecord.ts: id: 59b4b42dc948 - last_write_checksum: sha1:ff648863c98a63ea3f08cc7c16b61cd9cebe2e66 - pristine_git_object: 89bb57810f038b81d1d3651862f59075193b5834 + last_write_checksum: sha1:a7ad727f036a5378f1fc3fc6fca5ba84415e9f3b + pristine_git_object: 1b1b5ec8bd17fd2234cef58e1ee4c50b8446c97c src/funcs/dnsGetRecords.ts: id: e043acc38027 - last_write_checksum: sha1:a4fbff543c0d462383d7a74bf35588fa9a6b62a0 - pristine_git_object: 8df444e037db86d628bea3d2e47229ac62f6d96c + last_write_checksum: sha1:9f0de8b0b114c114d61c09dbd9bf4e30a48cbc48 + pristine_git_object: 3e386e8a9a4077388ee25126f827f5bcd1630a83 src/funcs/dnsRemoveRecord.ts: id: 8c5d1ac7da66 - last_write_checksum: sha1:415bb44ec5b742cbd641e71d2db6101847dd8ff4 - pristine_git_object: 5a863197ed221919162b82d536dcbf2a1182a3b6 + last_write_checksum: sha1:d2cc2e86aba0a9fca46997f40e30592998a8b1ec + pristine_git_object: 75814d73d11b4a91519ce1ea07192d7605eac173 src/funcs/dnsUpdateRecord.ts: id: 8a74a6146d6d - last_write_checksum: sha1:3248ff0fdf39305e3069ae29310e071eaa3aa944 - pristine_git_object: 33ab9e61c32539f8f34b74bbb008ef0dddf64470 + last_write_checksum: sha1:1d2322fca4c3ce50c9c029c14951a9e6cdf6ac6f + pristine_git_object: 10354234b47d6873d7594b0d83f2369044bb53d7 src/funcs/domainsClaimDomainOwnership.ts: id: 1f6cee886915 - last_write_checksum: sha1:ccee86ddf50d536366cba3670e102ac44b6aea7f - pristine_git_object: 7be62a40b486a2df21ebbb7e9af1671d0e20c0f0 + last_write_checksum: sha1:0dbeb98b55d0d73e7e31d81f9936272eb0d00c24 + pristine_git_object: 46ed572f775979c25e3945d86e03d6f33d5aad08 src/funcs/domainsCreateOrTransferDomain.ts: id: afc870ef36eb last_write_checksum: sha1:abe6fe1ca2f64c3b6f4e7cefdbe869d4caed47e0 pristine_git_object: 38bcf44c56d90b0d61475ab7503ff212e382ebd5 src/funcs/domainsDeleteDomain.ts: id: 67750793117f - last_write_checksum: sha1:1f5c3479b951db09dfde4ea3850799d4ffef1c41 - pristine_git_object: e23824c9d45634d5372604491431082bfa72f37d + last_write_checksum: sha1:c4391ae7ad37fd818af3b2c60e7565a2ff2b4cc1 + pristine_git_object: 059a896e5dc776ab30c29b4b37ba167cca3b1897 src/funcs/domainsGetDomain.ts: id: 9222d7e936ac - last_write_checksum: sha1:8131ea9560e2cb64cd82f15362b7f8e98ac5f7ba - pristine_git_object: a09de0c83156aa43e38da72ccfdfa8fc10129105 + last_write_checksum: sha1:d6c197079ef48ea802e0417445e58f41ecf5aa0e + pristine_git_object: c5b91a16688c866bac24efd2bbf5eab8e78269f2 src/funcs/domainsGetDomainConfig.ts: id: a18e309e6efb - last_write_checksum: sha1:452cd61b671ac3815e5ddffcfb555eb05b23168d - pristine_git_object: 749257323e8d96d094a941a3685e9fd11dfd9fde + last_write_checksum: sha1:f693851fe25ebbc59765c18a4afa44060399163a + pristine_git_object: ff89713edca9f6858a02fe5887f4bfd0ab1dfc00 src/funcs/domainsGetDomainProjectDomains.ts: id: b0660e94c1c6 - last_write_checksum: sha1:8979b48471252e96f8819826aa9c2df8a651ec73 - pristine_git_object: a944646e7dc3c4b8b3d3abba9caaf705e46e526b + last_write_checksum: sha1:048f6a4e7a9c94b276b7caa967d726bf93273df3 + pristine_git_object: 6f2d6af63c36e6cae1ff0a28bf0fceb423ba6b3c src/funcs/domainsGetDomainVerificationRecord.ts: id: 8666e55586cc - last_write_checksum: sha1:7058beabb84127cfafbefe313ff469a65794b89e - pristine_git_object: 77b6bac4d1ec98808d9965eb0d6fcd25ebaa82c2 + last_write_checksum: sha1:329837d28d64d9f27428dbe5c1afd5a1dbaf16d2 + pristine_git_object: da253aa5ea761bd7b0b3e3cb1500fc10dcceed96 src/funcs/domainsGetDomains.ts: id: 8e2a4fc51f9b last_write_checksum: sha1:79872e2b5150a06c667b12df73ebacaf2f6040de pristine_git_object: 3786747d7e7810818b9da02f88c651b6bb12176c src/funcs/domainsPatchDomain.ts: id: 267c556158ad - last_write_checksum: sha1:6f5509bcfc979ca4688bac6ea16746ec3332c272 - pristine_git_object: 3e763eb9abdcf54c047f985cece42cc61364ba1c + last_write_checksum: sha1:9f4e483a05da60ab2dda3c1d30710b0c78711fb8 + pristine_git_object: f6434c38ea269e4687fd605f2022f64d7a314b83 src/funcs/domainsRegistrarBuyDomains.ts: id: 1350c6357a87 last_write_checksum: sha1:de0b7de77a3a6bce7cde6e05ebcfd83619f9e959 pristine_git_object: 35a4ef9841827c382f3c02683536862d84419b8f src/funcs/domainsRegistrarBuySingleDomain.ts: id: efc0c4f601d6 - last_write_checksum: sha1:f3f755f5ce6c40282b5f15cafd1253e400027d87 - pristine_git_object: caf21b0391dfd0bf731dc9384b276f75be08e444 + last_write_checksum: sha1:1fd34c91a9deea68516b87bd30c331c42fde174a + pristine_git_object: 4de6f90fbfb601ca53927db3b10f55a85f906bdd src/funcs/domainsRegistrarGetBulkAvailability.ts: id: 7ef6dff99766 last_write_checksum: sha1:fa493cfa8f2e0273d4455a170ae8a3b6051869f0 @@ -50495,76 +50575,76 @@ trackedFiles: pristine_git_object: a726f1affbe9ba53498e543cc7c0358b0927d216 src/funcs/domainsRegistrarGetContactInfoSchema.ts: id: 9c060fde71ec - last_write_checksum: sha1:55c533d64c3faf8566e210a7e7d7bf820473b80c - pristine_git_object: 98f1e7af4138205fb31c31a9e658b6479963057f + last_write_checksum: sha1:995ddca81c4665a25c249e086cf1e779b908cd52 + pristine_git_object: 9673f92e38318b9872b05ed4ea9c4ab30d2d92ba src/funcs/domainsRegistrarGetDomainAuthCode.ts: id: ae002b1111bb - last_write_checksum: sha1:28ed01b04464ca987e84e496ef142e0acded0c3d - pristine_git_object: d8a2c222697253c37f9ea3e043886d212565beab + last_write_checksum: sha1:ae41ed3adba543ad933ea3bc8c1665e2f2e441c5 + pristine_git_object: 7375c1f2cffaad7fc59b97855fb6af747c5415ed src/funcs/domainsRegistrarGetDomainAvailability.ts: id: 94623d6117b8 - last_write_checksum: sha1:e210a6522e86f8f055fbbcb497a0a045917a0af7 - pristine_git_object: 0a62b90c80a94e8fd8f83237b555a249f8738a9a + last_write_checksum: sha1:eda932851725021f0ed0fe6185f8c991a66a8761 + pristine_git_object: 7a7abb23fe14c414ed34bea86619dbf40acac008 src/funcs/domainsRegistrarGetDomainContactVerification.ts: id: 4530195c4665 - last_write_checksum: sha1:48688831fd78880a7546f207b13a97aed3485ea2 - pristine_git_object: 82785b8563bf0b80eabdbcbf7e44e090ec2fc7ac + last_write_checksum: sha1:0d2c2ca09fa5e046f42d5acba8abe3f0a2382d30 + pristine_git_object: 931905e5efac63b6a97ce56fa5baa7de5679ff42 src/funcs/domainsRegistrarGetDomainPrice.ts: id: d991452b5964 - last_write_checksum: sha1:069dac3426d973e4a5052c03b38f4bf4746b94c5 - pristine_git_object: d94087b73dc8495961cc6099c1d818d2fd2ef86e + last_write_checksum: sha1:899f26ff824a5f577dc5070d04bb4029ae505cc2 + pristine_git_object: 941e8164366f8d89ba6bc5441ff3a541690eee80 src/funcs/domainsRegistrarGetDomainTransferIn.ts: id: df2377c91f94 - last_write_checksum: sha1:a0cafe258b6bf30a5ff456b5643119eef2d5f432 - pristine_git_object: cdf1f506cc960346fe792c0e1cb0896d2cdd35f8 + last_write_checksum: sha1:3bc15d40b479d0e7c48c590e53fabcd790daf1b5 + pristine_git_object: 87b04407809592ec0f79d56a78a52ad8fdd0f0fa src/funcs/domainsRegistrarGetOrder.ts: id: 0680897f8382 - last_write_checksum: sha1:b33392e92ab6b69dd57500e121286ae181a90469 - pristine_git_object: 05bc8cd04986afd3bc8c7c0be191aecd1bc15e0e + last_write_checksum: sha1:af646751be05ba83e633a09ee4c454926edb9593 + pristine_git_object: c49614267d7f2b799143e6e53d7423a22526e76e src/funcs/domainsRegistrarGetSupportedTlds.ts: id: f4092342e2f8 last_write_checksum: sha1:8ed7064a7a262813aeccc8bfe2e8bdaa31b825a1 pristine_git_object: b0176b02e1bc69a9ea61bcce28033e099746c3d8 src/funcs/domainsRegistrarGetTld.ts: id: ca8cb421ae61 - last_write_checksum: sha1:9368afc4be06dbc497dceabf039260421e8a72d3 - pristine_git_object: 2794ce4f50c82f6dcbf1ebc29f2a4e4563d40416 + last_write_checksum: sha1:d7262a3141c109fc01446ce2e787d7df61ccb018 + pristine_git_object: 736ff8b5274a554af4ad3550a3a24e2fece0c07a src/funcs/domainsRegistrarGetTldPrice.ts: id: 6270d139fe75 - last_write_checksum: sha1:c422d6b47b98e52f832adaf8f589062a1d6c3733 - pristine_git_object: c685964755ec89bb494722c9a21dc69b5e2c8875 + last_write_checksum: sha1:c88e43cf9c9a0ad5c1aac9b8a2ce42b6053da5f9 + pristine_git_object: 6c821d166047eb30c227fbe097221ace4dcd3d2c src/funcs/domainsRegistrarRenewDomain.ts: id: 30034f10cb4d - last_write_checksum: sha1:e54e90137c5ed577e4a0c3c67aef93ecc6c758b2 - pristine_git_object: ee6d8435f85e1060d8cd31d92d2c5a7d231521c6 + last_write_checksum: sha1:0d7649df309c754cc75b21e6eeb1a0764fa09852 + pristine_git_object: 764f0cc08ec26f5fb2493f92b15954eb04070b6d src/funcs/domainsRegistrarSearchDomains.ts: id: cb57edf1f2d8 last_write_checksum: sha1:c4c243923e8cd2576f284fef2b667de09c655ff8 pristine_git_object: 08f7bd6648b1febf1c40ab4df3cfe176af41690f src/funcs/domainsRegistrarTransferInDomain.ts: id: 29608f3e9645 - last_write_checksum: sha1:841e1190054795a0e06a34dacc37fa405879aaa0 - pristine_git_object: e89c1e1c993a077ac626356d58cad122aba31e2d + last_write_checksum: sha1:0a023a559a5f5e55c28845bc9df522f0b1b09a98 + pristine_git_object: 931630c9755f21f3eb4ee7b265069f108869c533 src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts: id: 59a3a493f8e1 - last_write_checksum: sha1:ec6eb4d7cd478971ccdb4651b70a16c7192336f9 - pristine_git_object: 37ed68d2960ff36e31789feecf0fd46d9e8ab2d2 + last_write_checksum: sha1:5e77e9af2ece0827a25348c8c57062aa12b529d8 + pristine_git_object: 10e82caf426a8deda97584976f988bb2b26b3895 src/funcs/domainsRegistrarUpdateDomainNameservers.ts: id: 86de2c14ba90 - last_write_checksum: sha1:7431bbc23c574452adbbfa7bf36d931e4c5a84d3 - pristine_git_object: 37c799b53fc9ff9abb2a1c4eb2eee2a13f892363 + last_write_checksum: sha1:7fde7e8f380b9087c4c43beafa92c8dd9c89e88c + pristine_git_object: 62e2635904a4f70462288fdd4d7ec93f6dcf48ad src/funcs/drainsCreateDrain.ts: id: 98cd9c47ef52 last_write_checksum: sha1:2ba68c27d08ac066d0246fb0e0ce536ce2e1559b pristine_git_object: a4ecc170d166a209665379a19ca0ee76ab746261 src/funcs/drainsDeleteDrain.ts: id: b1a82b923841 - last_write_checksum: sha1:b814f00c1455bce6a631a958507fd410ca5c7e9b - pristine_git_object: 5fd311b8a34f7f2157270332a97f14c269f1ee6b + last_write_checksum: sha1:deb8085db531a668c650e97d16a6bd7651a828cd + pristine_git_object: 0dd5445580165dc47acd57a23fe5fe986a3ead0a src/funcs/drainsGetDrain.ts: id: c12ee87baf5e - last_write_checksum: sha1:ebd45db3b6460a7fabeb4fe9262487ca34e290f3 - pristine_git_object: 08acd7dec472e4b010f6a5683d80f35a48f9beb1 + last_write_checksum: sha1:03c43eab532088db3ec608fc2500a66a9f47ffac + pristine_git_object: b49d335117feeb9c909c3c338680505d1028250b src/funcs/drainsGetDrains.ts: id: 63c5d905f91d last_write_checksum: sha1:ec2aba28a43e2990dc290381880db66da7ad4921 @@ -50575,24 +50655,24 @@ trackedFiles: pristine_git_object: 56580a8b82964042f319030d0b3ceed0836691d0 src/funcs/drainsUpdateDrain.ts: id: "690524836482" - last_write_checksum: sha1:133f2c0efe6da05d42cc7c20c482a0b72a8af741 - pristine_git_object: 55c3dfdfc8edd27f0176f49296804c2b01dc44ac + last_write_checksum: sha1:62f086bbbbee20cf81d2783496347f6c89da4442 + pristine_git_object: 207c73a311f3b724c5066ce4d732a1eff7cc0ec0 src/funcs/drivesDeleteDriveV1.ts: id: 39f7d71171fe - last_write_checksum: sha1:08ddf0a52c07fdf8b8a86a68f05afdc9e3caa021 - pristine_git_object: 967ab6a3a6b4d15594bf377af1297af98f5cdb03 + last_write_checksum: sha1:e651bb3385275f9566566a37d7952e70841107b7 + pristine_git_object: a86c824441cba609e7be0d6803d76d067058a1db src/funcs/drivesForkDriveV1.ts: id: ef08cffb69fc - last_write_checksum: sha1:72bce0726003d24d4058858bdcfe37b7a2d9599a - pristine_git_object: edab94f6d48b404c7f7c1a653386f37dbe1276ef + last_write_checksum: sha1:7693165b7db186a283b5f1575691fc9316a4fffb + pristine_git_object: 7d528484a34c0e4f78e02a29b1c5cc6b6766277b src/funcs/drivesGetDriveV1.ts: id: b60a77084f5f - last_write_checksum: sha1:8703d94fb7e345b61107d9fd6124bed7d9dd8141 - pristine_git_object: c608bdc2ef71a374b30edf99868cc00e81ffc7a8 + last_write_checksum: sha1:addc9682dc608f654bc3a9893026ca0b187e0cbe + pristine_git_object: 2f88e378c95f980a1f3cff96616df87b28f61d7a src/funcs/drivesGetOrCreateDriveV1.ts: id: 3e3ba26662c0 - last_write_checksum: sha1:c4c190fd8c0ed53115e926cc9bb2b327b3be51b9 - pristine_git_object: d37798f0c93abb6932660593eace801e3f0de538 + last_write_checksum: sha1:a26c7e4cee629b34f5ebd67e77dee590b88a55f4 + pristine_git_object: 7c109d267ebd5c7efa5e1b93c66269ed267c60f4 src/funcs/drivesListDrivesV1.ts: id: 51ed5501965e last_write_checksum: sha1:81c747855db1a51bc5848c4d147d620ac65cb13a @@ -50615,8 +50695,8 @@ trackedFiles: pristine_git_object: 6c4f667b9c70533d7e9f9f250d6af19ccf27863a src/funcs/environmentCreateCustomEnvironment.ts: id: 5ac6ee29bd3f - last_write_checksum: sha1:f5c2dc629db73f16046d9137d3cbae0243ca881d - pristine_git_object: e77110ec566661c3792b5339c4e69de9853adcc0 + last_write_checksum: sha1:49a7c9076114f467b8a420969d9961a28d59a777 + pristine_git_object: 1d28ebee9544cfe741705203b717b71b7d238aeb src/funcs/environmentCreateSharedEnvVariable.ts: id: 61f1a1c223cb last_write_checksum: sha1:15bba506f49eeabad0fbc7e6a235b8ebcf24f2d0 @@ -50627,252 +50707,256 @@ trackedFiles: pristine_git_object: d9478f20c883a65b5c9a428ebf09dc72dfa026f0 src/funcs/environmentGetCustomEnvironment.ts: id: 93de7bba52e2 - last_write_checksum: sha1:a345f03ac9ec58fd998488313727b3f211edc46f - pristine_git_object: 005b0d1b8cce02f71a54c32b405b7532acbd95ae + last_write_checksum: sha1:ac6b426129017e3604212925ff0e13a83980df92 + pristine_git_object: 7a79226446185a0fab6b6a2bdfc81e7b7e35c460 src/funcs/environmentGetProjectsByIdOrNameCustomEnvironments.ts: id: 2b6e2770b0fa - last_write_checksum: sha1:e948168129947528481c6a5d425f1528961ee82c - pristine_git_object: 1d075281510d92a8ea98dfeee8d820184bf205dd + last_write_checksum: sha1:789501809d1021bb1065aed45d22bb9ebd635851 + pristine_git_object: afad89b2eb155e59db8be8180e1846c0bd12b4a3 src/funcs/environmentGetSharedEnvVar.ts: id: 3d5524031078 - last_write_checksum: sha1:956ce448cf07f4f5b819c1d8b8841ff21b25a2df - pristine_git_object: 7476e520a962f9228173569a2351db986ff36824 + last_write_checksum: sha1:15b49610e6f05525d7f95cb1419d4f90019f544c + pristine_git_object: 0b8cb720845ab9dfccc6169252d5027f313ff61c src/funcs/environmentListSharedEnvVariable.ts: id: ccb304561d26 last_write_checksum: sha1:8c9d13772cbc90e4000963526d2cb72db5d226e5 pristine_git_object: 7a7db14dd5ba2f81b5cb27b71d9b52f774f4b4b9 src/funcs/environmentRemoveCustomEnvironment.ts: id: da2a2ff49d82 - last_write_checksum: sha1:9b15c13b4673d2642602b8fde06979f1cd6207ac - pristine_git_object: 3ea85411ac3af70d692e9ca270be939c3725ad4f + last_write_checksum: sha1:b381e6eeb5c854a5ecd853b0384073d743d4d232 + pristine_git_object: 0697148b17252eb69c1ee9cea5cac04359f88555 src/funcs/environmentUnlinkSharedEnvVariable.ts: id: 495f7bbe2048 - last_write_checksum: sha1:d5ad791786c4a61b87e8da13de05e94bc2088f87 - pristine_git_object: 2fe4a641eec883da0fb21c3f7f6c01378c2801d8 + last_write_checksum: sha1:8acc23118ba01835ad126761841e6c7c6c104daf + pristine_git_object: d1b0780a77be7914a28e4dbaa8fea83523c54358 src/funcs/environmentUpdateCustomEnvironment.ts: id: 15dc74d13837 - last_write_checksum: sha1:cc9c58275d5072933df2c6b17fcd25354da46fc9 - pristine_git_object: 679dfda3ab571f2c76ab9c452396c7d2931e42c2 + last_write_checksum: sha1:0cc24a21882dcceb6384610aa328636f2604276e + pristine_git_object: 85eb33f224f901c0535054ddff68c5b23cc4d79f src/funcs/environmentUpdateSharedEnvVariable.ts: id: 5ca6827f1af7 last_write_checksum: sha1:d9808d7e654ec6d85cd91f7a4b341783fce2beba pristine_git_object: 90fd31d47917286fde1bdd9d4bf3b85ca8bf3965 src/funcs/featureFlagsCreateFlag.ts: id: 5a2d9f24c72c - last_write_checksum: sha1:378f3a86750ef9bd15deb673e179c9c062465f48 - pristine_git_object: fd8bffe6c6bcb8c03424d5f6a00d8306a3e82d35 + last_write_checksum: sha1:858d199c98474b0aeb7eba5783a97fbce300158b + pristine_git_object: ff700da3a6c4eb9bd0ba8ab8eb695133cb08e025 src/funcs/featureFlagsCreateFlagSegment.ts: id: 984b27e75ef4 - last_write_checksum: sha1:b2d61c7f960afadb0fbcecf264b45f9da3a6be8e - pristine_git_object: c823caf1dd830b3711e0f43be2d616c169504fe5 + last_write_checksum: sha1:5671653045702b86c32adb9c42fb2b42e3f08274 + pristine_git_object: e7bf8ec4a984817db27d9a3709f478182fe22fed src/funcs/featureFlagsCreateFlagsProjectConnection.ts: id: cfd34a9ebb68 - last_write_checksum: sha1:c8f838db6c4c73b8f9e27c77cd671dd42a968ab7 - pristine_git_object: 9064628478ac89cf3505f545e33d922390d75c78 + last_write_checksum: sha1:8176af4cb7bcf9a2a319cea80c59f2eeaa34a844 + pristine_git_object: 7e7ef036d3b1b3d0d4053cb4f20bb2a81886a3c8 src/funcs/featureFlagsCreateSDKKey.ts: id: 1b6a1a77aaa7 - last_write_checksum: sha1:4bcba6b6d9adbdeddcb0d18103a28cdb27ca299b - pristine_git_object: 06e571fbad19f0d55354c99ff2bf9449bac2dc7f + last_write_checksum: sha1:17963748ad959466ee841bdf83d2c485754f5739 + pristine_git_object: b130eb13311ab1e7734ab0bac7a053561a940114 src/funcs/featureFlagsDeleteFlag.ts: id: b5882820d965 - last_write_checksum: sha1:69fba08d43c4e2e957dc5aa826d74beba7333137 - pristine_git_object: 87f35bbd6bbd741400ef3a31fa9c848fc04cea76 + last_write_checksum: sha1:b68e47b87bee9cc824936ef47964d70ada72cbc7 + pristine_git_object: 9ed5cd37f8be178b10d466cfd0f6ff0704fb929e src/funcs/featureFlagsDeleteFlagSegment.ts: id: 551e0fb8d4c7 - last_write_checksum: sha1:511251f9a94b815c61c5bcfa85457adb11a7815b - pristine_git_object: 3e9af3f7b6d7c5fa460db854e53836df091a0984 + last_write_checksum: sha1:370236963e7acb8af94cb1373a47c99d78b88aa4 + pristine_git_object: 82a5c6763a01aa883478ec8121d86d9cdb65ebb7 src/funcs/featureFlagsDeleteFlagsProjectConnection.ts: id: 5cf6d4e6dae1 - last_write_checksum: sha1:f1367acda2d47e5195546b4ab037559fca8da7b2 - pristine_git_object: afb90f0464198a1692ad0d1a44dfb01dfbf4e55a + last_write_checksum: sha1:84730876e27b84526b6545bbb4f589836a03cec9 + pristine_git_object: 5d671a61b6f0f1982a0148d84a9b335927ae6404 src/funcs/featureFlagsDeleteSDKKey.ts: id: a5c3435824cb - last_write_checksum: sha1:f5300e294e0c5fae3db3d9f940fa6e0b6087a3e1 - pristine_git_object: dcd6d7a9c03902b24c645fd3013629756b30873c + last_write_checksum: sha1:92daed74a4fae0df7c7204598634bde61a90098f + pristine_git_object: 1284473642412414fe7209385a8fcd70019930c3 src/funcs/featureFlagsGetDeploymentFeatureFlags.ts: id: 03cdb80e563e - last_write_checksum: sha1:0436ce14b29de1395fd1a8436ca6da661bccc2e0 - pristine_git_object: 6cf0bdccc1411467b4df0d13652c6a9d15b94d06 + last_write_checksum: sha1:34af0ad7fb1cfe3acc49638d5b777d5fe7b9d013 + pristine_git_object: 55e19bb23339b751cd2d98241da9538972cfd32f src/funcs/featureFlagsGetFlag.ts: id: 699d1fff8dfa - last_write_checksum: sha1:523a14f01c9c7c0180e2297634ddbcb2ed67749d - pristine_git_object: 227437af050ccdd7b888162d002bf6f62825fc79 + last_write_checksum: sha1:5f2b33795b9220cbeac065c7a0fa2bbb490a274c + pristine_git_object: 2f4abad3069bd782ff344c8ecc5915ef9d9237f6 src/funcs/featureFlagsGetFlagSegment.ts: id: df6aa35f86e9 - last_write_checksum: sha1:71e67adf683e1eb2cbe8fb6e6277773b27724336 - pristine_git_object: 3d88ff60e2b8bb16018654836517236fdcc7f686 + last_write_checksum: sha1:00ee02e9a21bd80daaa73d76d44bf53e42c82a8c + pristine_git_object: e76b5c39d35adc7e7dad4d84ce6d4822f5670eb3 src/funcs/featureFlagsGetFlagSettings.ts: id: 91357737021f - last_write_checksum: sha1:bf9e74bf3c164949fd575c43bfe68f115e98223a - pristine_git_object: 73e0c7c50a0e67b8ee9435f43cd694df1c39ae5d + last_write_checksum: sha1:1739e62cc3d89a2874d3bb21ebff9dd021d3705c + pristine_git_object: a81077d958430c3b467395d49bf805dc01978b00 src/funcs/featureFlagsGetFlagsProjectConnections.ts: id: 7b930e5d6bac - last_write_checksum: sha1:50a2a6bd4fff3235f4c2e8a56946a7186552b5d1 - pristine_git_object: 7cef0da4a53855dda9a5b94559d4d8d7eb92eee1 + last_write_checksum: sha1:b5df24ba3f0ac142f28b5da4c05e4b259de00033 + pristine_git_object: 97458846957d0467d4f745a942c00e2f67e37f0c src/funcs/featureFlagsGetSDKKeys.ts: id: a129b3600758 - last_write_checksum: sha1:76e153e78235cbd120d1e04a2132cb8b38d9ba06 - pristine_git_object: 12609cd07321e66c625d764dd2bc30e439dc172b + last_write_checksum: sha1:69619c3621732fc6a619f1263deb517e01dc345e + pristine_git_object: 2ef9f4f09fa68d97991b4157dcd9ad1f899cddd1 src/funcs/featureFlagsListFlagLabelCounts.ts: id: 870051a887f8 - last_write_checksum: sha1:be20d61fcb41a2d3921123a6b10a5039bddb43ff - pristine_git_object: c59cf7654d88845c4e0c3b423e75cb10643b95e9 + last_write_checksum: sha1:3acdc95510e0c880118ed834c10f3205ca62cf10 + pristine_git_object: 511f2e18bf07ac492f991a12e72ba0bfe76e96c4 src/funcs/featureFlagsListFlagLabels.ts: id: 43ca112c4410 - last_write_checksum: sha1:78d3271512d829b8969d4fd6e1156272f9cd8a1b - pristine_git_object: 7fdb90878348026a4174ce581a19116870ff30a3 + last_write_checksum: sha1:df27efe740654c6e39e6dd631f3a4a54abbe9a05 + pristine_git_object: ac450f09a6513d70f7716abb4cc027368cacaa64 src/funcs/featureFlagsListFlagSegments.ts: id: 35d71b8f6109 - last_write_checksum: sha1:734ac53a23403d664ce0b73827abb87f965af40e - pristine_git_object: d8b1af80ff65cefc7d77cf8beeb9b621f73f99de + last_write_checksum: sha1:406954b10767ff740de78b60e65135b448c8c68e + pristine_git_object: 1e744d962c306c699787d6c2957a29a27620d8d0 src/funcs/featureFlagsListFlagVersions.ts: id: ab2ac53744e6 - last_write_checksum: sha1:31b0fc6de0b91d97eadbba2cbd54e07e0d9bb4fe - pristine_git_object: ae457aa46c38ecb85eeb9e4612ca603420a3d7ad + last_write_checksum: sha1:12e0e29a2583271b8fbcda847ed230403bf78060 + pristine_git_object: d981c9233609dc20c516d138e5e4fe074dc4eb08 src/funcs/featureFlagsListFlags.ts: id: fb20e40ff4b1 - last_write_checksum: sha1:4ce28f8fcf5e5070036438565ab06291c775a108 - pristine_git_object: 6666340f310e95ab56e3452b63420aefb8d9e227 + last_write_checksum: sha1:149af23359e1fdb779344949d9182fd9c5acced5 + pristine_git_object: 05c5cb8b0ddeadd03c0d65cfe48031f2f131ec38 src/funcs/featureFlagsListFlagsV2.ts: id: 183645435cd6 - last_write_checksum: sha1:2df593e3f2e938139e37870fc8d5d00b6a8330aa - pristine_git_object: f6a09c4840f2f6e77d1cf12a6e18b3ece2252ae3 + last_write_checksum: sha1:f7d656333b2f7e458d954670845422099ba39ae3 + pristine_git_object: a413345dfb7596a9500dd9557d411be655179e5e src/funcs/featureFlagsListTeamFlagSettings.ts: id: 9061ee5184e4 - last_write_checksum: sha1:620c9902beb846ff8427e50c192336cc8c0b2107 - pristine_git_object: 9688b37edcde7774f4e9017a663a16dcd964576f + last_write_checksum: sha1:cc4f406beb2cfa33a5f98a321472c0b37873c82f + pristine_git_object: b7e40c9c038f07b233f301bd3f87c88881348690 src/funcs/featureFlagsListTeamFlags.ts: id: e8be9dc5229b - last_write_checksum: sha1:86d6df7c01ca677b2d49c512cae1ddf310c4643a - pristine_git_object: 5ec6d7b543e5eb86b7d999345975ebbad0e87c36 + last_write_checksum: sha1:8e949288e25c2e368270ae91d3a374566f6315d4 + pristine_git_object: 6511212280a87f396a402998458e65653bf2309b src/funcs/featureFlagsListTeamFlagsV2.ts: id: 9a66ff51360f - last_write_checksum: sha1:ecf8b01df9a83fe7079d61d65373ee0fccdd6002 - pristine_git_object: 3506e8f0e248812e9b4014f0c547b5c7e0a09cba + last_write_checksum: sha1:c8626962826ad1498f2f78c8577a010655ecfd0e + pristine_git_object: 7f70ff107ed0b179fbe1bb28bb24179ad7043cbc src/funcs/featureFlagsLookupFlagLabels.ts: id: 0028a3baed44 - last_write_checksum: sha1:a76e79cbb85e90c572591b4adabec7f7bf2f41c6 - pristine_git_object: 4b941cb51b9d2767b83b8815b15003327ed1bea6 + last_write_checksum: sha1:91510ce619af833175dfd9d058da5c305c48fd97 + pristine_git_object: eb27d9c13b98c5a16f7cbf6f00c9abfb1406cd1c + src/funcs/featureFlagsSignFlagOverrides.ts: + id: 294aa287a7b3 + last_write_checksum: sha1:54635aca4c79844123ff97749096ec457cdd791c + pristine_git_object: bde1da262cca442497f9b4e43785cce5a53ca927 src/funcs/featureFlagsUpdateFlag.ts: id: b4bcabcedabf - last_write_checksum: sha1:8c9414e04c23a114a5915aae4849fce73a76b08b - pristine_git_object: 6a04e54519c0a837a0bd1e3cdadcfef2754eb1e3 + last_write_checksum: sha1:06cbb9092e09c480787982e5de8df5e802dc89cb + pristine_git_object: 3c767167f192d6ac1e0395ee8a094c591f1353b2 src/funcs/featureFlagsUpdateFlagSegment.ts: id: 76c3770ee60a - last_write_checksum: sha1:579715f61770634ead553156ccda91b9ce6202ea - pristine_git_object: 0408f3ec737241ad58481007239af445c690bc52 + last_write_checksum: sha1:1d956a132b849d0693b698a93993f336cd0e2cb2 + pristine_git_object: 82920a10f5c2846d7e27048f9eceac3865a12355 src/funcs/featureFlagsUpdateFlagSettings.ts: id: dcf6ffdf5a2b - last_write_checksum: sha1:af78373afd62a4f778ca550ca6ddd7fe68529461 - pristine_git_object: c9be5aa752bac61ffa5b328966539a75198632e6 + last_write_checksum: sha1:576de049fbcb0b571ce243793266abf56e744065 + pristine_git_object: b183bb16e67ca04b471a95608194b856d1377a69 src/funcs/getDomainsRecordsByRecordId.ts: id: 1c793cab2dad - last_write_checksum: sha1:61dde3b99edf35965d99aed7fd58e59b20ff5bcb - pristine_git_object: f5041ad87cedf8895549e5e1d4a4993ea0987a3a + last_write_checksum: sha1:fe00ec6a624389aab82512f2e6998f08946a5b53 + pristine_git_object: e25a45ea6e449164c97082f5b74113a4c406c560 src/funcs/getObservabilitySchema.ts: id: b5ecfe7a7f78 last_write_checksum: sha1:14300042e609a24ac1e29cbbae705401041d782b pristine_git_object: 6c66513b33f766f4b16b165bca38e6c4479f1eb6 src/funcs/getObservabilitySchemaByMetricId.ts: id: 314137f18489 - last_write_checksum: sha1:5f8b096def649e6b2140d40874d1805360e73d72 - pristine_git_object: fb82beebd26ffa8409d24f92418e569e5961e3e8 + last_write_checksum: sha1:e3ec52b0c99f9398af9b9afe04dd384e344f5929 + pristine_git_object: 7e697008e7cdf0cad59a4180a8cd1c96e688dc0a src/funcs/globalConfigCreateEdgeConfig.ts: id: b696eb2c4a27 last_write_checksum: sha1:5de024fcaa8e6fa29516fa68570a6f02ab5d6b0a pristine_git_object: b8e746bb91e49e78d6844a0c639f9b8302bac40e src/funcs/globalConfigCreateEdgeConfigToken.ts: id: 6bc46d300584 - last_write_checksum: sha1:6e5ea5110e80b9aa7bafaa660c50ae3f688d8679 - pristine_git_object: b81bc52c1f0ec92153af26fcbd5bf40fbbd0bf79 + last_write_checksum: sha1:12bd5a331acf3e569ea8dc7a3bae28188c966b3c + pristine_git_object: f06acfe9bd42fcb6fb00a19db9adf8a278050a39 src/funcs/globalConfigDeleteEdgeConfig.ts: id: e1b24bf3aa01 - last_write_checksum: sha1:d5a71f2a0c402119518c221e85c808fbf8eaaea8 - pristine_git_object: d13f2c7c9e8358547c81cdb4259f28e7367ca3e2 + last_write_checksum: sha1:280635dd033935cf47f6d977baeb73389db43834 + pristine_git_object: 04c8409e6c4fab73fa982f073e1af60ee99bcf8e src/funcs/globalConfigDeleteEdgeConfigSchema.ts: id: ebbfe004dce3 - last_write_checksum: sha1:5826f0292f4a02d9bb3f66a787b2e0b0ef30abde - pristine_git_object: 2a06e8c774fa86d18c32c9bea3c3fae6ec03c96a + last_write_checksum: sha1:f000b60d385396a8d35b9e2e6fcb4f3fca857bef + pristine_git_object: 42dc6b2771099a685fdbb4b0b410c74e09aad9c0 src/funcs/globalConfigDeleteEdgeConfigTokens.ts: id: c5300c7530c6 - last_write_checksum: sha1:46c778301de5c9b3d9c65aff3a7ef1e392716751 - pristine_git_object: 044f0ad7dcf537501cc19b9a38789019bb84416c + last_write_checksum: sha1:62cddcea9d8add2963fc3cc2a126190896684b51 + pristine_git_object: 63e29765a43bad816e7202b457e729df2768004b src/funcs/globalConfigGetEdgeConfig.ts: id: eff77a7ce752 - last_write_checksum: sha1:79c63ec5bbe8a6d68a8a151dd80416a6db72fb29 - pristine_git_object: 5ef39d61461ff3e140e883a06b256fac4da63648 + last_write_checksum: sha1:2a5328333a7a68d3495ba308cd4ace5b9156b42f + pristine_git_object: c32d235e588c1810a32ad8bdfc228b64cdc2d868 src/funcs/globalConfigGetEdgeConfigBackup.ts: id: 2c67a5eda308 - last_write_checksum: sha1:246d5507863fe8de3ddc77c2cca0c06ef0f51133 - pristine_git_object: df9441eca8782152b465ab1a65d116226c8aa49f + last_write_checksum: sha1:7538e728caac96797333396e21e560cd133bfd47 + pristine_git_object: cc522110b2378078fb9664c51c43e2ad08f60d19 src/funcs/globalConfigGetEdgeConfigBackups.ts: id: fe6b854a761e - last_write_checksum: sha1:37529eae79db822feeb54226cb8a1de5d7fda0a0 - pristine_git_object: 99a0519f1a33b3c23791b6da8778b6ca6dcbd257 + last_write_checksum: sha1:7402e30e78be248d01067cc912958519941d7e49 + pristine_git_object: c0c06cc0f1106b9d4a23b0c1852222251f81ea81 src/funcs/globalConfigGetEdgeConfigItem.ts: id: 2997792aab2d - last_write_checksum: sha1:daed56ce6dd229975db124ab2642d7d8ae8b49c7 - pristine_git_object: 2db010a32e1a52e9a2faecc223dc3af64da8afac + last_write_checksum: sha1:0c9298d8b48296171e2db879c5d3ab6c9d920b42 + pristine_git_object: 55c52a31ac270462fc4a909ca3ebe5da1a30391f src/funcs/globalConfigGetEdgeConfigItems.ts: id: cf7f8d0398ef - last_write_checksum: sha1:1f6d9cd6a1dcd105808e89a3d7fe60120159c6af - pristine_git_object: e6908aed0aa8e094954aa27de9b7ec4df1d6562c + last_write_checksum: sha1:8cc06d23c841d1dc937ae8d60380caaab8531f5b + pristine_git_object: b51567d6a7759f3d6f425f3f2e618710d03f6fe4 src/funcs/globalConfigGetEdgeConfigSchema.ts: id: a0eb0b7e662a - last_write_checksum: sha1:418a358ff168d248fc36b72f28d23be6b6fdd7c3 - pristine_git_object: b3d19b862987be49d5ce92964d298fb128769956 + last_write_checksum: sha1:4e79fc4405ad5eeae036cd9e5f165de8e8aa4863 + pristine_git_object: 1a7adaf07945a207501e806b6619b47156401266 src/funcs/globalConfigGetEdgeConfigToken.ts: id: 2828adee3913 - last_write_checksum: sha1:1bef5c4d706002c392cadb9c354d57d483f77198 - pristine_git_object: 4d9ea1503ed5d41ef7312a1e3d3ea544271758fb + last_write_checksum: sha1:0e21630b2225ac2d4805a1fcdb3bc0abc6eadb6a + pristine_git_object: 45d18cb203cad84d051bfdb783a44ef5971c35db src/funcs/globalConfigGetEdgeConfigTokens.ts: id: f0a1df2b733e - last_write_checksum: sha1:09c8895bcf65f5af0d231e3eb0f20c955d2d6bba - pristine_git_object: 3e4461ac7b3cf159648530fe9b0f48b72e483889 + last_write_checksum: sha1:14c0e4aacda9ce6b4ead51b326549eedeb53d095 + pristine_git_object: ed502e79c95baaed7d6e3ea47a31bb6a5efc3324 src/funcs/globalConfigGetEdgeConfigs.ts: id: 308b9cb4797e last_write_checksum: sha1:fce43f023f3792ff1b3a0f57a8fc3fe539f2d69e pristine_git_object: 4261886194e9c66f7669e469b82d96c69b6d493b src/funcs/globalConfigPatchEdgeConfigItems.ts: id: dc89ac52ddbc - last_write_checksum: sha1:547f09b898f80506ad500b23a6679027d7c59d77 - pristine_git_object: d9899e589d18bcdcc5c2f862086a36e916d598dc + last_write_checksum: sha1:3587ef52b5eacee5b72ac5b66b3491151365872e + pristine_git_object: 145a74d54c3124d80156d88b5d8f3cac58576794 src/funcs/globalConfigPatchEdgeConfigSchema.ts: id: 465e4a6225af - last_write_checksum: sha1:f84587480680330549d617f93af08d137ff02b62 - pristine_git_object: dd2f7893cf3353e875cdd116e2d0411204a6fef7 + last_write_checksum: sha1:e1288cf5a215d8d22cbe5bf3b2d5b8bda121a4d0 + pristine_git_object: 73636946c22b12827a80451e0546fec91abadc3e src/funcs/globalConfigRestoreEdgeConfigBackup.ts: id: 50cb03d6a072 - last_write_checksum: sha1:b20442ea71d456cfc7a420a6e97ad78d8eb74e10 - pristine_git_object: 1bc121c86445be47014a3bc54e52d73719fe8a90 + last_write_checksum: sha1:40317790276381dd02b08afdbac4797a6be83a43 + pristine_git_object: 203f35e684f7550e7e2a576426c59e6cbe6de860 src/funcs/globalConfigUpdateEdgeConfig.ts: id: cb19b6520da7 - last_write_checksum: sha1:ef644db3b3c27ea29c21e2b060ca14b1ffb2862f - pristine_git_object: 4ee45540b625976accea3af63c326357d85710d8 + last_write_checksum: sha1:e60cf0ad29ad60a649a00b7dc7b4670b44b5ec45 + pristine_git_object: c7ab4188c64974a2cad70232e14550f0e9bdaae4 src/funcs/integrationsConnectIntegrationResourceToProject.ts: id: ba709b5f10e0 - last_write_checksum: sha1:ce6c296df8fd2e48ba92b283503a9946540f22a5 - pristine_git_object: 5fd868b5b53ef64e86871194fd965ca1a6490f61 + last_write_checksum: sha1:c61d9ac4906b095df055e00d370029ce75c7200a + pristine_git_object: c91e946c64772efe523eaaaaac3617e841d41f86 src/funcs/integrationsCreateIntegrationStoreDirect.ts: id: 41b28992ee21 last_write_checksum: sha1:21056105b68e0bc7b924a35dfd9558d33c64a1a7 pristine_git_object: 597f5a629cde8cd4106ad3456cc0b233f75053db src/funcs/integrationsDeleteConfiguration.ts: id: e52754595e20 - last_write_checksum: sha1:667c976a5f959745b74ca91137ce27d36da8f2df - pristine_git_object: 6ac439c9cdfe338afe2f1bb144571ea161747f4a + last_write_checksum: sha1:b7a43aa1903aceaf132eb6336235303d8b0d404a + pristine_git_object: 74582a9559be10d7283a34695a47d3c6aba466db src/funcs/integrationsGetBillingPlans.ts: id: 53b7f7e2274a - last_write_checksum: sha1:f27b47f863606364019037d805d07f9d091a8181 - pristine_git_object: bfef77f951c7278ab14a4fbdfc7da9c1f3657c94 + last_write_checksum: sha1:e0ae6423b28e76422ea364645631f56fbc57fc7d + pristine_git_object: 4ea585a280dee9f36c2f7725b08e1c16f7939c78 src/funcs/integrationsGetConfiguration.ts: id: b2ef3db76f08 - last_write_checksum: sha1:07d44ef0668c7fcddf3518d90d4b813ca8c3afec - pristine_git_object: da97808e97f5552f0bdb120fbe100458b7e852d9 + last_write_checksum: sha1:ca9ce11a4092eecf66f80ce507a689b230e90d6f + pristine_git_object: 6080a3b1ba7c7ff3a71967f8dbf7677345bf10fd src/funcs/integrationsGetConfigurationProducts.ts: id: 65cf9ed62ffa - last_write_checksum: sha1:af8f9837013a014d2c1a319abeaae94ed5c51558 - pristine_git_object: aa0618fbfd6e28aaa9d103b3be0f112fcaad5029 + last_write_checksum: sha1:075b2a380ac1d2c18bdde343be9329bc9d1fbf9f + pristine_git_object: c9e2070b515fd653706c20ab8143fd8184f4fc8d src/funcs/integrationsGetConfigurations.ts: id: bb82a483d9f1 last_write_checksum: sha1:628b7a060db073fd6ec6aae3e0674bdcb1515378 @@ -50887,56 +50971,56 @@ trackedFiles: pristine_git_object: a89603f1fa85167dfa5d7339aa14fcfdc1e50234 src/funcs/kmsActivateKmsSigningKey.ts: id: c0c8c5183875 - last_write_checksum: sha1:dc2f156bba6794b96b64745622884226636c07c8 - pristine_git_object: 484227a378bcc62b42ab29fbd62386fc88c38405 + last_write_checksum: sha1:fedc2f5a923a13f104034ee3ed934ef9d9ed9791 + pristine_git_object: 97af8c1bb0dcc1b023c1ad0bb418cf78233dd827 src/funcs/kmsCreateKmsIssuer.ts: id: c35bf1878efa last_write_checksum: sha1:50f6680b82d1cf5e795d4f4683974cb4d5cc64de pristine_git_object: 49a0a2375ab8d84ade1a6f2666b18c69908df5cd src/funcs/kmsCreateKmsIssuerPolicy.ts: id: f7f46f2259c2 - last_write_checksum: sha1:a071b4d3d97f4f673b0e2e85f24e09fe58f98b49 - pristine_git_object: 7e5b7b6c8f42b70229bac25ed5a760e9a05c33c3 + last_write_checksum: sha1:97c646ef985a486e4f319cbe6215ec0b0aa3dd6b + pristine_git_object: 24179be63c53686d5305509aaaaeaddbbfc8e684 src/funcs/kmsCreateKmsSigningKey.ts: id: 1c3fa1edc013 - last_write_checksum: sha1:98c75ec23c27a5b8b29ce3e13338bfbd049e50d9 - pristine_git_object: c68e76192dbaebca3bd00709971dd78e11c70b9f + last_write_checksum: sha1:7addb566ef8c8e5432b8995ca57e475d27e59bcc + pristine_git_object: f74cf0e499687b64e7ba2e26cfa09fcdd5d83682 src/funcs/kmsDeleteKmsIssuer.ts: id: 6612f153bf97 - last_write_checksum: sha1:4611fcb3aa816acbb93988eda895d7f339a7c7b0 - pristine_git_object: 4ab7b496cc6354e9cd457a4d11f2e788514a262b + last_write_checksum: sha1:151a087183cb94e3453ca3b116b818ac89002fa9 + pristine_git_object: 5d76380ee52a661cea35d9c7cbf3481e84f56c9f src/funcs/kmsDeleteKmsIssuerPolicy.ts: id: e84f6fc0d43a - last_write_checksum: sha1:137d71d3d21ab4bfe39e80a10dae2e2ac778eb69 - pristine_git_object: 77395d94f79bbe9b797fdf5d949ab2b51404104e + last_write_checksum: sha1:3b25ee52572c98560da6e4ba8f8bc14b94c5fe26 + pristine_git_object: a7426a026c40392f7e3ea239afe332c9f52f5dde src/funcs/kmsGetKmsIssuer.ts: id: 4c04dad5c726 - last_write_checksum: sha1:c1903b8436200203e0301a267ff7219dba0bf546 - pristine_git_object: 93cafd711768963330de49d2611dedff74cfc899 + last_write_checksum: sha1:4f25e20878019ba0a99d101d660bda440e59229f + pristine_git_object: 41931cc6f833b7c65136b88c892e1bd7cfac7273 src/funcs/kmsListKmsIssuers.ts: id: 6d919013e75a last_write_checksum: sha1:895d01ae2a441741245d46321c221e7da85b0f03 pristine_git_object: 09d6a7ebf816b61edb9dbe2c31f4302b5cb24d80 src/funcs/kmsRevokeKmsSigningKey.ts: id: f864afe4e258 - last_write_checksum: sha1:ab90f4429de2e320fc9a9faf3b560597124f8e17 - pristine_git_object: 2adc3db2e8b794c1ffbb7b17185f2013222dfbf6 + last_write_checksum: sha1:cd4bcf1805475a3ad39eed94773581a00fc07602 + pristine_git_object: 8bc0b6561405bf6cf9d4c1ea10215cb3f49b8cea src/funcs/kmsSignKmsMessage.ts: id: e1b4be4f74e0 - last_write_checksum: sha1:304e1f2a0b794c5ff6e9114b1afd0b2f378624ff - pristine_git_object: 76aae1aca1de310bea8ab55636f6120d6fc0293b + last_write_checksum: sha1:487725616a6119525f0cba60af8c2acb6ec47563 + pristine_git_object: 0ccec660f504cb44630cf95083c05b002b57bc6a src/funcs/kmsSignKmsToken.ts: id: 978eac9ee398 - last_write_checksum: sha1:a688e9b0e78bca3fa92909633eab734865490677 - pristine_git_object: 3f7348bf870c7157e10d765bce463c0e3c4c447c + last_write_checksum: sha1:b8ab4aa59eb5c2a8a89f0874ac953041a8dae0aa + pristine_git_object: 45bc7703d06096577bd879c93ad7c5a8c3df602c src/funcs/kmsUpdateKmsIssuer.ts: id: 1be954d17f1f - last_write_checksum: sha1:fed112e99b543b7692fe69ef0ba1718b8345d65c - pristine_git_object: 27a2f29110234802b7f1c07e23dfce2230c882a7 + last_write_checksum: sha1:dfb173a48dcd2e8ead1c91610dabe5ce8a3a6f5f + pristine_git_object: 57c77b78ae5befb99874b6d8c91985c2c37d2df1 src/funcs/kmsUpdateKmsIssuerPolicy.ts: id: 8e0b819c5cfc - last_write_checksum: sha1:321e0f4687d4697209ec9b9756e3ee0c6272e75c - pristine_git_object: 6dd1e10ad6b8e47f1a14094dab13ff76968b9e9f + last_write_checksum: sha1:c76e53ca41ecd5ac7073638115334366a145217d + pristine_git_object: a6d076aef72b085ef1d348cdbc9460556fc8d1af src/funcs/logDrainsCreateConfigurableLogDrain.ts: id: 01f2f7c5d3de last_write_checksum: sha1:f7b5868133bd1b6e0c328aec6246d4cc61e0717e @@ -50947,152 +51031,152 @@ trackedFiles: pristine_git_object: 58ab2a6fd7363a96cea932888a1140651da00131 src/funcs/logDrainsDeleteConfigurableLogDrain.ts: id: e8ab9799ef9c - last_write_checksum: sha1:b3949053807c32c8e6e14d2fa8c0210045692c8c - pristine_git_object: bf4f9bcc94f55a2a5154f93c0cfee6ace389f961 + last_write_checksum: sha1:38e09f4c55328707bd8566e72510fff064a0c7b6 + pristine_git_object: 1b31bf482146632ca1570cfb073172878d81db3c src/funcs/logDrainsDeleteIntegrationLogDrain.ts: id: be5e1b3763cd - last_write_checksum: sha1:12347a3a36b06efc5715009830be6c3fa90aafd7 - pristine_git_object: 82f4d638d9c5223b3c0682ae3cb4993760081b21 + last_write_checksum: sha1:1af5db13b07b6319964d6607f3b2a0fdd48712d5 + pristine_git_object: ed2d360af1ac988d4b8066e79d66d3da77c837f8 src/funcs/logDrainsGetAllLogDrains.ts: id: a56cdadb68a7 last_write_checksum: sha1:3b9e1c10b357c4bcc00f4a6397900101e67683d7 pristine_git_object: 81663b20f61fbd9e01d5a19c5b0c79306736ccba src/funcs/logDrainsGetConfigurableLogDrain.ts: id: 2b7f2ffa5bc4 - last_write_checksum: sha1:6d23866dd574ec309d6e12faf725c855c36bb242 - pristine_git_object: 19d3cc2348fad1cbfb3d2d21255487cc78f9bab1 + last_write_checksum: sha1:5183daec04a6b5d405ef289daf660302bf421b4c + pristine_git_object: e43c63f6498088f0a2e32f8a8165a3b844e88d9d src/funcs/logDrainsGetIntegrationLogDrains.ts: id: 5bc45db14e6c last_write_checksum: sha1:c6a288dfea9ff8bfd7ea97d4868f90442d671e8d pristine_git_object: bd6215f0687b5a3fbc1521888b36f0836a9671cd src/funcs/logsGetRuntimeLogs.ts: id: e2f689a5ba5e - last_write_checksum: sha1:79135147234fe115dfd2a4cbe883b5a81962e4a2 - pristine_git_object: a6eb2db4d48950952dca9a92dcdf7d93bc9d9169 + last_write_checksum: sha1:467505a5b9807beed59be424e36013b96e0db169 + pristine_git_object: ac3a908ec4295c658cd3a2a6e6523cc18467bd1c src/funcs/marketplaceCreateEvent.ts: id: f61010ba6399 - last_write_checksum: sha1:88b40ae3c83967d276b8c5a2169f92eab5cc91a4 - pristine_git_object: fe72da180ebf09222eeab7fff6d16f6a0defd6b3 + last_write_checksum: sha1:cd518d29c3e7c09cd788a1bf916872acb7169f25 + pristine_git_object: 4bbfbd5678cd6549375d7e11185eee964de8f625 src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts: id: b9ab96e04478 - last_write_checksum: sha1:7ba3a716ae00b00acafc532f51f5e82ac200b6db - pristine_git_object: 9623246b64d10fb8d014fe247f249e03154344e1 + last_write_checksum: sha1:f3a880ad31b54fdcf50184143bcfa209798996f9 + pristine_git_object: 605a8d8d6241e8123981cdbd1bd73557defb7c39 src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts: id: defec3f2ec67 - last_write_checksum: sha1:157855af8d5bb4804e9f918dc1c99300d0856283 - pristine_git_object: bf866b876a43af4f93bed137aa8838587bc3d057 + last_write_checksum: sha1:132e669c17e075353d77de532b8c7c7ed3c31185 + pristine_git_object: cbc9927de93be49e912afc5d6674c0db850652cd src/funcs/marketplaceDeleteIntegrationResource.ts: id: c07804cbe90a - last_write_checksum: sha1:5cff3c6ee4230b656b0d441cb823ce69e0466d73 - pristine_git_object: 3095ebb5771358677d2ff5f94faf6ada0ccaf1ea + last_write_checksum: sha1:be24c33b2f4186e998fcc28da5bad8765bff958e + pristine_git_object: 78cf3ca6a8004d4028aeb1ffa7c93b5aee628290 src/funcs/marketplaceExchangeSsoToken.ts: id: 35d7512c387f last_write_checksum: sha1:dbe162926fa4d1c2b8a8d358e584369590a43ccf pristine_git_object: eff44c7d29450d607ea751ab5b08c022e4e28627 src/funcs/marketplaceFinalizeInstallation.ts: id: b6ff30f1511f - last_write_checksum: sha1:c72137c1746726aacbe16877e7ad5c88f06cb977 - pristine_git_object: b8781ece8dd3400896cd5ea4494260c3e644a3d9 + last_write_checksum: sha1:be702b70c50f31bd6f8e269bdd5a8e5c4f574ad4 + pristine_git_object: 6ef783ef226f431af5f6ce7eb75ef5569e23705d src/funcs/marketplaceGetAccountInfo.ts: id: 77f208f2461d - last_write_checksum: sha1:d86397e6f7cce6cfdbd8db8f6da4ea0e3bcb3ece - pristine_git_object: 8755fb914c70f5cecb8886bedc1ca65f5d932aed + last_write_checksum: sha1:e17c6b375d9696d459e0a862c7631031ce3b11d7 + pristine_git_object: ce2d714d77c1670bb6215d2bbe0445ee0694068b src/funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts: id: ef69d14debe8 - last_write_checksum: sha1:8fc2bcc1a8dc52dc43cb5f0ed3e73e8f16ff3b32 - pristine_git_object: 318a2151b6aaf2391081bfbfa94ee3af546d0483 + last_write_checksum: sha1:daa37a91d44d3b66af3803522f8ca51ceaf3b259 + pristine_git_object: a8c5fc9b268266f60eab9c285ce7589b8b469a1f src/funcs/marketplaceGetIntegrationResource.ts: id: e984a059409d - last_write_checksum: sha1:a53705dc4f65a9219fe953358a92e04a51817e02 - pristine_git_object: 2d42a3f5bf3702041d8b09bc823e42eae3d0c918 + last_write_checksum: sha1:c7202a22a2ae5ad4dbd84bc170a3fd3307d25a55 + pristine_git_object: 7ab6b6120e9f94cb93643cea04e377282991c674 src/funcs/marketplaceGetIntegrationResources.ts: id: c66034c244f9 - last_write_checksum: sha1:ed6856639dbb79632b2b65748d2e0e75ad4e6726 - pristine_git_object: f374b2357549405dd01ea602b7ee7adfbbd4e638 + last_write_checksum: sha1:d78764145dac4fda9c663e76ab1ad95f8a433369 + pristine_git_object: 585ed415475027018a95dbbec1e8f2ccd0cc15d5 src/funcs/marketplaceGetInvoice.ts: id: 0cf79fae47ee - last_write_checksum: sha1:299f4d11bd517cd0954ec188794bf55e098ccd16 - pristine_git_object: 96417e6cf5672f240c7e06edc6a8840f596c46c2 + last_write_checksum: sha1:97aef3883f186be648c809a85efd26c575557390 + pristine_git_object: 31c5da594924d3c1575d444c248726ac722e0f40 src/funcs/marketplaceGetMember.ts: id: a01b1fe8f79c - last_write_checksum: sha1:53d9ee98228bde3c8dd0132dfe5b0cc4659e0545 - pristine_git_object: dd150c8ee5cbee14d8a95ac3a1f50c1a5f88262a + last_write_checksum: sha1:a24dfccc7b103415ae335008f7772b25d4a0c9b2 + pristine_git_object: 75b5ad5e3ea1b63984b3bc6992a9f9f716e704db src/funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts: id: ddcb3b697cba - last_write_checksum: sha1:6c4fbdda8a10e85b313c2bb4adf36ed1dcd785b2 - pristine_git_object: 0432db9b37c8ca1120ed33ee09baffe22f45aa73 + last_write_checksum: sha1:ce32df38516d1a4ce323676b45c4c433d065df54 + pristine_git_object: f38d2b7ce804a35e9e6f92d91ef3300b1b55aff0 src/funcs/marketplaceImportResource.ts: id: fcc4a83b7c2d - last_write_checksum: sha1:2c7412c7b8f330542278a4ca21f0d3970a686c60 - pristine_git_object: 8eedcb289f331c52dcbbf1c54cc8c10a5e5516a2 + last_write_checksum: sha1:463d9017af9a10012c95ad43412dc4bf13a9bd5f + pristine_git_object: 2d7e2d6f38a3aa8d7719301a889750b887485ff1 src/funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts: id: c58f22881578 - last_write_checksum: sha1:b2ea415c4be8b5a9c3b88a15d3807a27a42423db - pristine_git_object: 4db9ba6fab0487a50c799a236e01c3a2d0383795 + last_write_checksum: sha1:c15045423a9c89113942c8351382513d459f98c3 + pristine_git_object: 58dd89795642421730038da06d63d58f45ce507d src/funcs/marketplaceRevokeInstallationCredential.ts: id: d9592d1c081f - last_write_checksum: sha1:27605e8f6767060ae7d3fa773cf837a156ac1c37 - pristine_git_object: 21d0ddeba83e9002928f568e9e1a823577e32e74 + last_write_checksum: sha1:c431e22fcbff9b386354f39876fe01e25480d9d2 + pristine_git_object: 9f1ac1326f8e3e0bf1a71d28a5059574bde443c7 src/funcs/marketplaceRotateInstallationCredential.ts: id: 4e5754abd336 - last_write_checksum: sha1:fa65b54e7fb9e78d2d3a9487289752b30c271467 - pristine_git_object: 4ce6a1ab70b4a8d24a4f7b61c8a81e0ab22c98ad + last_write_checksum: sha1:7e4120c961d13b94e6967d9fe09f5503545746ad + pristine_git_object: 5586e4dec9f9af0435d41190602c7593c9ebc5fc src/funcs/marketplaceSubmitBillingData.ts: id: a5492dd36a5c - last_write_checksum: sha1:858e5a177e482445362953fca5938ab7205eed4f - pristine_git_object: 6bb99899533c7807ca8b04b66c149c59f32f57f0 + last_write_checksum: sha1:7e03562518a3cee00a5c9d34593bffb5bd6777f5 + pristine_git_object: b62deb397274a52641fee7c3aea4d7b237eef09a src/funcs/marketplaceSubmitInvoice.ts: id: 82e388496bf6 - last_write_checksum: sha1:b84e45e398ea989da56fa60f91998b13e5a30fff - pristine_git_object: adc056f2d00a97bd9ded059f337e9ba9cf9f5d18 + last_write_checksum: sha1:8ec45893eb46c54dc5cef86f109e7206869bfb8d + pristine_git_object: f2c0e73249af9aa596f1ba59d0b13e48bfb04586 src/funcs/marketplaceSubmitPrepaymentBalances.ts: id: 851f2e0138e1 - last_write_checksum: sha1:61876edf451a06593a54fa3210a9af705ae0bd5f - pristine_git_object: a97136d39547b216536e1b4e4c5e7b9c1dc3b725 + last_write_checksum: sha1:9bdd22bb53379bc1ea0a2b8c1f632a80165174c6 + pristine_git_object: 72053145ef48c525ddeee4c43006ce48ec4e6eeb src/funcs/marketplaceUpdateInstallation.ts: id: 5d6cb25be344 - last_write_checksum: sha1:4b54a99deb4762a54c41248d872c5edb5045da67 - pristine_git_object: ef0e02c031d8d55b45cbd19a58463b22d1dfe86b + last_write_checksum: sha1:6339b27f92ba00acbea81e66dd73802a5e2d29e1 + pristine_git_object: edca897d7e15d54efe1ae2aeb18001e471af634f src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts: id: c18b7ecbc383 - last_write_checksum: sha1:9bc1cd33e32b7d1c697c7171f5954ef211648b02 - pristine_git_object: ef8fc25285bd95335c43387e5dbc393d9047df6a + last_write_checksum: sha1:5602b117092d64551dfc42a76280bdfc870fec37 + pristine_git_object: b13ad38678bddde2799d5152d8bd1e5abfc9b0e8 src/funcs/marketplaceUpdateInvoice.ts: id: 1f7fd054d6ab - last_write_checksum: sha1:0c1837eac262644cb5f87281089810e182f1175e - pristine_git_object: 1e8e85ad386c2cb7fd706b8ea68ef20622b5a5d6 + last_write_checksum: sha1:ad60dc3e7a94323a330582f508e9cafd4385a07b + pristine_git_object: 25770720a6a4db6d54386ec2f074603087b80542 src/funcs/marketplaceUpdateResource.ts: id: 77bc7d7fcba0 - last_write_checksum: sha1:28605e5daef1f15cfb5103a2eea0b34dcdb7caed - pristine_git_object: a7bf7daa8457a0e04cb09d836245ffc85c779cd2 + last_write_checksum: sha1:2d1e39776221ef1bbf9d31a81ca3533a140c346a + pristine_git_object: 0e3b6680f553ea1bf198db7bb42584c84400bca2 src/funcs/marketplaceUpdateResourceSecrets.ts: id: a19c2a1f791c - last_write_checksum: sha1:02f3231911d5bee3ae9cb5673399ff0143d8c38c - pristine_git_object: dc481ee6bd3368090bba3b12a128fc0b229e8a25 + last_write_checksum: sha1:5c31a814a017f29257b18111a79945d9e2b43fd6 + pristine_git_object: a5a6a89b583024333fd0721b56bba6100baf5ec8 src/funcs/marketplaceUpdateResourceSecretsById.ts: id: c0f612502691 - last_write_checksum: sha1:98752b39580b4d0fedb578897aa9f12f4ebe6bfa - pristine_git_object: e4f27bbd29537957941098c098538f6a7e26270f + last_write_checksum: sha1:88d31ade06993f9a7642f786b594e5ddacd24a3e + pristine_git_object: 732ad372785d242b04b9bb4c4bf389eae36046d0 src/funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.ts: id: 2abf84a59c32 last_write_checksum: sha1:0b58e08ddb35996acec0813c96366d0e35d20d55 pristine_git_object: 70f82b6445100bf874e5d0827d85aff10449ad9a src/funcs/microfrontendsGetMicrofrontendsConfig.ts: id: 47d736d754ce - last_write_checksum: sha1:ae9746950f874bc1f566fabad14ec180f1ee88a0 - pristine_git_object: 5f85d6c5661e9fdb7e9f5c26ae73714271c96503 + last_write_checksum: sha1:ba9ef175648fd8b3ac70c6b0e7c3b8d4e5529bf1 + pristine_git_object: 4519a9ce929291cb5f3550334b7cbe8af702a244 src/funcs/microfrontendsGetMicrofrontendsConfigForProject.ts: id: 50d7172b2532 - last_write_checksum: sha1:c9cd25af05327c616b6e4fa531a34a742665e0b0 - pristine_git_object: 61e538301c1dab62a38a335419db8663889d61b8 + last_write_checksum: sha1:6f0acb31e8a2e915560fbc55fc8668626cc9e88d + pristine_git_object: d3d04c0a58b7aa1af29cfe8bbe6ea6535a749623 src/funcs/microfrontendsGetMicrofrontendsGroups.ts: id: 17d8e6b4a03b last_write_checksum: sha1:4f1653ee4bf58b3c4d604de9b43682e11d053686 pristine_git_object: 3587bb57bdd6ec5ada6e00c1fc87f0c3b44c0e55 src/funcs/microfrontendsGetMicrofrontendsInGroup.ts: id: 2e26c7735259 - last_write_checksum: sha1:020f6307f68b7e6f16900fb06aefa31935c6cc43 - pristine_git_object: 24711849c036f74f75101bfacb5e72111da8cdf6 + last_write_checksum: sha1:dcb7f42db62a0dd2bc117e9fb12bcfe53a0b3b55 + pristine_git_object: 23ecb975a3717a3404169c6a7952bbcd59d4703c src/funcs/networkingCreateNetwork.ts: id: 3dd7f14c3028 last_write_checksum: sha1:a4f57b481b44b7eed1405a345c2f2d972a1e6f1e @@ -51103,12 +51187,12 @@ trackedFiles: pristine_git_object: 9f476fc0a28f7ab0241f571e2b410da319a234a0 src/funcs/networkingDeleteNetwork.ts: id: 44dae2fe3f2f - last_write_checksum: sha1:142281c2978078bd65ba4793bf1f59880f3487fc - pristine_git_object: 2d66accc39783a9e75713350404a197221a3cd9c + last_write_checksum: sha1:27c622ae6da9dc7864d7cd51e6f78c8858a33391 + pristine_git_object: 25e6712711833e374763033a32da5889b199362f src/funcs/networkingDeletePrivateLinkEndpoint.ts: id: 9b769f657fc1 - last_write_checksum: sha1:7f8080507a291e5e0cba75cc865970f3f57dc526 - pristine_git_object: ea4f9d4197f43090282cdbea35930479d01a6f28 + last_write_checksum: sha1:9f0ec0c32e21d1ec984db74596cd6f2068d4a55c + pristine_git_object: ea32fd3a4d71f05a9f77015b8b04d8c282b4715c src/funcs/networkingListNetworks.ts: id: 9c63675365d4 last_write_checksum: sha1:41efe537a6635337cee88a557af21f046a3bcfbd @@ -51119,184 +51203,184 @@ trackedFiles: pristine_git_object: 19c0e202b5efe5b694ec3a01ffec8ef50a8096ed src/funcs/networkingReadNetwork.ts: id: 58a8b438af36 - last_write_checksum: sha1:d24cc94d8397837cd5cd0187bf4dd660ce42b1b8 - pristine_git_object: c53a841b1515b1072370da1590db5742b5dfe68c + last_write_checksum: sha1:beefa2c03cbc9ed125b55f8864e6c77ee13f6f17 + pristine_git_object: d9a188bab1a49a0653514b21d1763673916e7d79 src/funcs/networkingReadPrivateLinkEndpoint.ts: id: 5e49924ccbb7 - last_write_checksum: sha1:093c367b7ca76b5bf668d1082671a047eece6f8f - pristine_git_object: 80a0a8bdb07e848850450c0fad9b00da46fd788e + last_write_checksum: sha1:f73151375332778a62b8506fed756e7f9d8a3c01 + pristine_git_object: b2cef6350b9c0a182439fe18a78a41049ece3564 src/funcs/networkingUpdateNetwork.ts: id: bb81cbd18ad3 - last_write_checksum: sha1:3a0dfb1cad4d346eadda6f57d00d17cd4d3d28a5 - pristine_git_object: b97367ed096f0ad50cb762316c2efa08f0037aa0 + last_write_checksum: sha1:74edb209ce60d4727e9e43b9594eab9ebf4d7eb8 + pristine_git_object: 65b16db33efeb08c42c4acd5c1fc8e496d5a40f4 src/funcs/networkingUpdatePrivateLinkEndpoint.ts: id: 5c763c6292b2 - last_write_checksum: sha1:37b5a22d18499b36ef0eb300fd2c89331c1a2c8d - pristine_git_object: 046a8dee83b555c33a012e301761e868dc55cc90 + last_write_checksum: sha1:a908535d29b03bcd90d80b56368f00c235b82b8d + pristine_git_object: 6a43a1bfce082c9e31bb7ee2110e91b3eb7a1fd7 src/funcs/networkingUpdateStaticIps.ts: id: e66929ac124e - last_write_checksum: sha1:eccf59e097f5965ed260335f302324b9e4c42815 - pristine_git_object: 59800ff7ac78d80eb7bcd05c49a0d9a33b288fc9 + last_write_checksum: sha1:dfa999f8df01fe897b28f6b44973c75f6aca25c1 + pristine_git_object: d10d185397085454a957e0821e924a0171f1c318 src/funcs/observabilityGetObservabilityConfigurationProjects.ts: id: 989bf27b0470 last_write_checksum: sha1:21e94c9048e4b2ed68b0bc5fe9fb2a3b44e45b52 pristine_git_object: 91f58992c8bd997b21f854834669fe76cbc8aaec src/funcs/observabilityUpdateObservabilityConfigurationProject.ts: id: 23179639df37 - last_write_checksum: sha1:6e76c11ba9198f099a8e6d417f8f1af1d82c6fa2 - pristine_git_object: 4041953c82f847d147559da92e1ed56bcfaae4af + last_write_checksum: sha1:61c70b09b3a2a89d74985d431270370e0e1305fd + pristine_git_object: 07f73dc64db2aa8ec8f8794ab2c22d3c2a597e8c src/funcs/organizationsCreateOrganization.ts: id: 783d3fe2a7aa last_write_checksum: sha1:0cee100204c0c6a7b24cc64fdb2c59a56cc96cc9 pristine_git_object: 7c269b6e0c51c06f184e2b899e180df546c28bce src/funcs/organizationsDeleteOrganizationDsyncGroup.ts: id: cf310c4bf8d7 - last_write_checksum: sha1:a2ca4cd67bf487a9174002675316f689717ad44e - pristine_git_object: 32a523e2357ad575bbb6c3e146b37066a2f26faa + last_write_checksum: sha1:0b8b771208d4f8fc529784e63fd159cbc0a970a6 + pristine_git_object: 7fab38430050844e1dfc5a556616e34ea0be6418 src/funcs/organizationsGetOrganization.ts: id: c3e7b56e11f9 - last_write_checksum: sha1:b397a8dcab5dc08eb56b848c5c8c18e055e77cb2 - pristine_git_object: 1d90c7accca155a263e6aa2f79737a3f1d939cf4 + last_write_checksum: sha1:704a31b9221b4050c43324955a422fbfe832fc9c + pristine_git_object: 8558dbfce034df59290a63797506f135f6e2acb2 src/funcs/organizationsGetOrganizationDsyncGroup.ts: id: 289c8c74b080 - last_write_checksum: sha1:81485a454f9ff7b6b19247193c23cf398226b342 - pristine_git_object: 46d48fd8f271be257b90079114059dce7d45046e + last_write_checksum: sha1:e7e0bb6841b07c7a42d433ef4eebb4dfca562535 + pristine_git_object: 5c38ba5bd3d8ffcc2061a39e0acecf39e8595ebb src/funcs/organizationsListOrganizationDsyncGroups.ts: id: 6e853e349a30 - last_write_checksum: sha1:af393dec99c82c177f9c7f642c65f2247d841422 - pristine_git_object: 4912b9162120e900fbd51f23ee60167e2e604da1 + last_write_checksum: sha1:2ea6f7097becc3404207ffb66ee6e54f04295713 + pristine_git_object: e369a134c6c98767a7912f0cd3887f9b2dc92859 src/funcs/organizationsListOrganizationTeams.ts: id: 249294dc9309 - last_write_checksum: sha1:60378efda9525b7edf9651c608471484bff604d1 - pristine_git_object: 5cbf44fff9aaf032f677573c674a0d65a55260b5 + last_write_checksum: sha1:15bdd08122a652026080f5e7e0655b38c7286317 + pristine_git_object: 86e594668f69667fd8a573c7123b50c3715dadd6 src/funcs/organizationsListOrganizations.ts: id: 2681ce05d623 last_write_checksum: sha1:b41459abc227ddb857da626370f6eeb0931add7f pristine_git_object: 809fbd7e92733f4f92e609781d0ec876bf6d3cae src/funcs/organizationsPutOrganizationDsyncGroup.ts: id: 34edc093f9a4 - last_write_checksum: sha1:9b1b781fef604b5a40587b73f06c77bb41e82afa - pristine_git_object: 2416c4a5280eb8e4be2a1247da8e9f2796e18cd5 + last_write_checksum: sha1:aa43b50dab5c3a6d41382243a669c52d1db71be2 + pristine_git_object: cab3771ac38d47314a14bb905a93736f9e7e2864 src/funcs/organizationsPutOrganizationTeamDsync.ts: id: 5c4b88d84b65 - last_write_checksum: sha1:52b80ce8228c5dc4892151714827fda5d2502988 - pristine_git_object: 2350c30fcce27d2b7702916eb7a45aec27a8cc76 + last_write_checksum: sha1:52507397df940a3b948402953be093e5392c127b + pristine_git_object: 199a6717a69ee781cba4f20f5e56f975e382f866 src/funcs/organizationsRemoveOrganizationTeam.ts: id: c9457b8e9320 - last_write_checksum: sha1:2f757d1c01cfde805cd734844171df11b26bfa24 - pristine_git_object: a7b806a7be831b88a0e5dbf4e43b1dda702f5315 + last_write_checksum: sha1:673dbc1ee663ebedf26265daf29a248d23d309db + pristine_git_object: 8f59f7ce6940ca0b898f3146f3fd0f95db58b451 src/funcs/organizationsUpdateOrganization.ts: id: 6e0345b4082c - last_write_checksum: sha1:4885d94691a56b6552f12a2018943fa32a36c656 - pristine_git_object: 52a5a67800edc7279eb6592444e78411ff1845c5 + last_write_checksum: sha1:cb2bd087a91775aafeedcd064188186119d5c07b + pristine_git_object: 0495849d36bfd98e64c8341b7cf1cc1964f0e8f6 src/funcs/projectMembersAddProjectMember.ts: id: 6c067d1c4120 - last_write_checksum: sha1:287ecc3f503de94e504804503cdd098a163535b1 - pristine_git_object: 3fd4f9af2298554a3ce9e8ff56feef6a3c0ccd91 + last_write_checksum: sha1:765c39cd1ee75f2b18b8b804afdfc96255a53594 + pristine_git_object: bb4baa2b083c1812c632fdb79471f1f5bb78d844 src/funcs/projectMembersGetProjectMembers.ts: id: 6445a7b80787 - last_write_checksum: sha1:3d7dd2925edfc69c89b467c32783487b1d83eacf - pristine_git_object: 201df31ba4f0165f889fd29d9e747f575eb8097d + last_write_checksum: sha1:e041861b2f05a98570d9790e84c0e838887692b5 + pristine_git_object: 9b197aece36848d9ed0a6f496e0869c89b62af6f src/funcs/projectMembersRemoveProjectMember.ts: id: cefd980ebc26 - last_write_checksum: sha1:4dd1fe9981913b001fbe2ee9ff1d734c9bb0fc8e - pristine_git_object: 82e0f719b6d9768e7afb4cbcaade82e9379905ab + last_write_checksum: sha1:633b9bbe1245c79c9c21d9e2224d0d550b95d23a + pristine_git_object: 749cf9fc1d083c1e4afc87fcf0515f3c18fecaa8 src/funcs/projectRoutesAddRoute.ts: id: d8eba2fb3838 - last_write_checksum: sha1:86e66ec555e2f708646163bce57288705d2d8a25 - pristine_git_object: 5e02d5f62bd0d3c5bec63199e67e4d3555b0ccf1 + last_write_checksum: sha1:77c05cf8a29a9ca7be5501dc8f06e96bc684d555 + pristine_git_object: d7a82e122e5ebaff3c7f503f3e59c8b75713336b src/funcs/projectRoutesDeleteRoutes.ts: id: c086c7ef41b2 - last_write_checksum: sha1:0e8a8f320f89434a067bb8d76bfcf8dabb7534c4 - pristine_git_object: 59df4800970ee3db951980ad181601664ac0f2e1 + last_write_checksum: sha1:0e6e7090073b84e538b1680864316be17dff2d54 + pristine_git_object: 0e993b5744dbba6e8df7ec0d852ef4f9a353c13e src/funcs/projectRoutesEditRoute.ts: id: 82d716d0b970 - last_write_checksum: sha1:d7cab1e24e3b25772b04cc36d3e697d3566ee03e - pristine_git_object: 3da22f31b7a80c9c885d7b0031007b3d2aada869 + last_write_checksum: sha1:84db3fbb7b450c9010bfbc353aaec03e695f4231 + pristine_git_object: 9aa63babb8bbfe0739e35de38116c305989dddaa src/funcs/projectRoutesGenerateRoute.ts: id: cefbcc3a51d0 - last_write_checksum: sha1:8a7e7110fad7a2c77259e2e4606d4d59646ede10 - pristine_git_object: 60a58e87f733c0359a1ffdad099593dbb02f67a8 + last_write_checksum: sha1:ebba06486ce863de0b24064a26469bcc5924d7b7 + pristine_git_object: f0c26d00df114a6eef606475aab2fd65ec4a38d2 src/funcs/projectRoutesGetRouteVersions.ts: id: 4ec452b57e61 - last_write_checksum: sha1:8ec48b9937068ca8c189fa7ec98a7d5daad8b11c - pristine_git_object: 3187d01a50931ea1067f4ea5e79d15f4cd899e93 + last_write_checksum: sha1:320aa9d19cc85120385dcdf4d866aec0d406be88 + pristine_git_object: 43274d5d9d9d2707af838970cca01590d147e8a8 src/funcs/projectRoutesGetRoutes.ts: id: ac698fb4ee73 - last_write_checksum: sha1:a310e055b5105ca8a6f8ffb4702b2830b5ddb38c - pristine_git_object: 2ecd61a861c2390c9dd7514e046ffa6e501bacb2 + last_write_checksum: sha1:932329fb0589852405921e252bb2ba191c780b20 + pristine_git_object: 3258f7144364b7768486f727ccb65556f74fbc0b src/funcs/projectRoutesStageRoutes.ts: id: 931dded13f8e - last_write_checksum: sha1:7d0f2549edda44313b9406f2978c3e623f22d8d3 - pristine_git_object: c1e4312aad59bcb4be9e2439fdb75c3da146ada9 + last_write_checksum: sha1:81fc5204689fa81963c02016d5a97eecfc28f180 + pristine_git_object: 9f07ed3d8625f2437ea5f132c97d9d9aa93b9584 src/funcs/projectRoutesUpdateRouteVersions.ts: id: 2300dd47967d - last_write_checksum: sha1:449f6eb5681708990b29b37aa06a9195836eb1e4 - pristine_git_object: 02f1e7bd9f1ef6bcaeb0363ca1310b9d887d01d7 + last_write_checksum: sha1:5efb10df6e28d39b83ab3ffa08e6a6c8fec90eb3 + pristine_git_object: ea0b163a019136694cd567df0c1b5aeddf019770 src/funcs/projectsAcceptProjectTransferRequest.ts: id: 9e81bf5b191e - last_write_checksum: sha1:99670b1af8d04979e0fecac489ad71a4300963db - pristine_git_object: c9b3bdc9b639b389fc5a78b27b444747944e8107 + last_write_checksum: sha1:f091569a9164c94a2ea126988e424ebd9181cef4 + pristine_git_object: 09a5dd1ee52cb83025cd48480b50eae8764d6eec src/funcs/projectsAddProjectDomain.ts: id: 433ed05bc277 - last_write_checksum: sha1:b899c8970dceffb3a29282d1ad6f4e7143153658 - pristine_git_object: 10ceb5c4a63d19b28eaec409a5d40743c1e4a822 + last_write_checksum: sha1:db3fda7848961c1e0380c3bf4f847a8ec1be5eb5 + pristine_git_object: 2233384b32e34ed2c6edd47f14514c367e2f0154 src/funcs/projectsBatchRemoveProjectEnv.ts: id: f08038898cc0 - last_write_checksum: sha1:49a4869342562ab522b146dbca1acac8cd10f0f0 - pristine_git_object: 68ed4b03a7aed40c4425316746fba518cae30831 + last_write_checksum: sha1:8efb96b047fc7b086c6b9de583893b984fb2a685 + pristine_git_object: 5c15337e26e17b7075350d77f89958ee9dde49ed src/funcs/projectsCreateProject.ts: id: 6c0124cd7f03 last_write_checksum: sha1:cac8c0c16007dd2185d12a4a28651cfd6840ef6b pristine_git_object: 63a6c6903f5ae57b1e4e4fcd4455d5581b13fea3 src/funcs/projectsCreateProjectEnv.ts: id: 7ab3d68f7d37 - last_write_checksum: sha1:3210b8086904802c79dadd6b600ffc33f70fd3bd - pristine_git_object: 5b9217832b1f941210d38851351c2359431a5d71 + last_write_checksum: sha1:88087ed00d89ad4c9baabd6f9dc270c9ee89f190 + pristine_git_object: 92570d9a255a503ad0b49c964152e6c4f51a1f95 src/funcs/projectsCreateProjectTransferRequest.ts: id: 2fb76b3ab1e2 - last_write_checksum: sha1:410e27e3224bcbe40c59f4407e1835e83cdbfef6 - pristine_git_object: 0ee6b73ccc634dd75ff9985838b2bd3f605ba6eb + last_write_checksum: sha1:2f87ff13d14d456da7253e4840fe6308dae0068b + pristine_git_object: f0d6f86804f582d3872f6984da2e770a31680675 src/funcs/projectsCreateTraceSession.ts: id: 667c8aee71a8 last_write_checksum: sha1:054d42ae9063e6f896169555fdde8f5d34f42a45 pristine_git_object: b555636625c0129d1d9d66016b337f7dc3ad29ab src/funcs/projectsDeleteProject.ts: id: ef4499f2b231 - last_write_checksum: sha1:3fedb08858e3efdbdc871158a0817c52d54f28fe - pristine_git_object: 0ae444c7dd4965a3b51438399bde4f222e8fca76 + last_write_checksum: sha1:ad92b26ca823b93d7a4c6549a2c0369bbbf0fb9b + pristine_git_object: 88938e6f6c92f93ca9ee3409926d7aec0a85779a src/funcs/projectsDeleteProjectAvatar.ts: id: cd164236e5df - last_write_checksum: sha1:3946a0af6c039002e8fe26846136eedff49e33c8 - pristine_git_object: c0bef66cfe8562c4ee35559455f7a3b2cce33539 + last_write_checksum: sha1:e8ebc62e70f23a7a3268ea34b823eff075dce11f + pristine_git_object: fbfdf710e8a466b0ac0bcd2a15ffabb4673398b8 src/funcs/projectsEditProjectEnv.ts: id: 4d5f11a950ed - last_write_checksum: sha1:499ec0d02c22c72243b1c2537e6a13db18070bde - pristine_git_object: cfee3a8ce137d29043c19fb8aae58f1acdf389b1 + last_write_checksum: sha1:1afb518ef1dbcc26c575631a796e9f6ede73a42c + pristine_git_object: c1b4af65076ab8459d1048c1053e5045aea7ae3a src/funcs/projectsFilterProjectEnvs.ts: id: c446ef20678a - last_write_checksum: sha1:95e991952d708276959ae098e34d7c180a631939 - pristine_git_object: 842f3689e85bc64a2b31b9a0e93ee9cc202c2b97 + last_write_checksum: sha1:c457fd923fe1e810c21a6965069c8815f74b0e70 + pristine_git_object: cf8f21c02cef6306e0f66dff6880c387b0a192a7 src/funcs/projectsGetProject.ts: id: 711f8c80aee3 - last_write_checksum: sha1:3274f14d27b214542c3d7c6683aed0dc0d98c969 - pristine_git_object: bab314533878a4c5bea607a6a62c1b4f0ccc2857 + last_write_checksum: sha1:fe311887b90522195a0f91806afc9d950ff51989 + pristine_git_object: 3a9aa65a6e77ab1f4b27f117d68dd2a5c38e2508 src/funcs/projectsGetProjectDomain.ts: id: 6ce4c2390897 - last_write_checksum: sha1:b485838bbd3f7579ce05e4da71d205e6191ffbd6 - pristine_git_object: 4691ae5c68f1724bee7e7620eb139d3bdcad47fc + last_write_checksum: sha1:48c88ce51dc46d6cff534ed6ee29f453d2c63ac9 + pristine_git_object: 4cd5b17c7c03a819a52f0084c6c88b29cec17e89 src/funcs/projectsGetProjectDomains.ts: id: fbef0fe19db7 - last_write_checksum: sha1:744363c2ddaffdef57060f08f64b890edacfd8f7 - pristine_git_object: 2584f6417beab3cff31c86dda56333dbde3fe961 + last_write_checksum: sha1:73ee5a61e6e6dc209512335b302e29ff78d1b496 + pristine_git_object: 6f1cd51f56bea1e48e5734d3f5ac7bb53e539eb1 src/funcs/projectsGetProjectEnv.ts: id: 67ffc306ecef - last_write_checksum: sha1:62083fd36a1a11f5d675041ab8a68077670f9a62 - pristine_git_object: cfe2f3ac3e48f6c6352dc15de60f937a3421a7a7 + last_write_checksum: sha1:72697f36bdde5e8b427de0e8fee223f4faffd45b + pristine_git_object: bb5de2b541762b77549d94171181345f30ff9938 src/funcs/projectsGetProjectToken.ts: id: e21392c70a15 - last_write_checksum: sha1:2af414232f495951e856c7fa14960fd21e436f42 - pristine_git_object: 305c334d442358c0db86e9c4e467ffd95d2aa8d9 + last_write_checksum: sha1:0008ec2fb15e49fbd422aea357fc38ad558042eb + pristine_git_object: 349b7bcf295d8315eb229a55968cf45a8870142a src/funcs/projectsGetProjectTrace.ts: id: 3de9b7dc2741 last_write_checksum: sha1:88492af698229d6d4369c90d4708118869e2e472 @@ -51307,160 +51391,160 @@ trackedFiles: pristine_git_object: 5c32aae7f86a566da9e5bda239edc7345c1d535e src/funcs/projectsListPromoteAliases.ts: id: e608835ead90 - last_write_checksum: sha1:858a23b91a92710e61fde7f54a1417f5e8cfebc3 - pristine_git_object: 3191c343de8677161890963bd909106b3c7f43b5 + last_write_checksum: sha1:9e75c0109d4087839c15f931944dbb0c0dd6be66 + pristine_git_object: b4c277c43843b2e8a12a0e37b16b0953e1a50e75 src/funcs/projectsMoveProjectDomain.ts: id: 689334b24488 - last_write_checksum: sha1:4da57e54507033a498788135df801c9f9befd608 - pristine_git_object: ca93b9f4433f8e9bc837ea90ca7247894b92f5ed + last_write_checksum: sha1:7f53b59f8b3711a81e811be7e148515b953a7c31 + pristine_git_object: 86a3065493f62faa03b243d72e538b4c39d03ba2 src/funcs/projectsPauseProject.ts: id: fdb94633aa04 - last_write_checksum: sha1:3ba7a8804f9fe660acdda970dc2bfdde31abbd39 - pristine_git_object: 56343d2c07dea1bd82f60e08c1bb8f0b22a5007b + last_write_checksum: sha1:c38d147fb49f980d6f6def2da0521bafccdee791 + pristine_git_object: daf2ab427832e400f5fecac41c5be7b985108eb1 src/funcs/projectsRemoveProjectDomain.ts: id: bda29cfe5f88 - last_write_checksum: sha1:d83232a5e0eec03bb45bae8283809a97a9546266 - pristine_git_object: 827a1ef2c2c3b1c6ea62a803b03f477d27e7fd75 + last_write_checksum: sha1:6b03c9ba9bae15358f6c5c0938fe2be8532914cd + pristine_git_object: 37891a79b5d7922bc5ff333641b9205e9d0271f5 src/funcs/projectsRemoveProjectEnv.ts: id: ac66803fa93e - last_write_checksum: sha1:342c14dafcfd241f6e81bcb984685ee89dbb8e23 - pristine_git_object: 31b6a441706182c0c2bfd0774aca9fb7d50f7d8b + last_write_checksum: sha1:ba1aa25f1bfc65dd37995dde529f8938fa681e4d + pristine_git_object: 0ce565d260e59dcd1f528970b2b84b05d23c27e2 src/funcs/projectsRequestPromote.ts: id: dcde8eccf02d - last_write_checksum: sha1:145a6f81f17b52ed7dd6d247d50042968578e1c2 - pristine_git_object: 6613605c2074ff802dc291ff5e07d565b6154b3c + last_write_checksum: sha1:c922202de7e49aa19a167617e815829e337cac19 + pristine_git_object: 82a63d3ef5f29892c11fec238596493540fa452f src/funcs/projectsRequestRollback.ts: id: cd3957a65058 - last_write_checksum: sha1:402ee4c7ef2a04a2fbaa94cdb721d1fcb21232aa - pristine_git_object: 42be297ec62e78d598b9d13ff3dbd1404c3ac711 + last_write_checksum: sha1:2733ff41ecbfbd5ee9f0aae87a559c39a8d9c966 + pristine_git_object: c2f8413fa157cc824e436c7d6192e3fb608295b6 src/funcs/projectsUnpauseProject.ts: id: 7d8929970c0c - last_write_checksum: sha1:99c9a5d71320fb9d2c7f64293db2f163983d9c91 - pristine_git_object: ab65f11ad1ba8ab7f14848677d9827b5c019cdce + last_write_checksum: sha1:bec499c57d14a7815ee137f01feac4d8bf374cd6 + pristine_git_object: 0000c7f2f105bb096a0d1f9513e0264022a52de5 src/funcs/projectsUpdateMicrofrontends.ts: id: f131b4676465 - last_write_checksum: sha1:b6331b6e92895f32ae26b6282f00538adc268da0 - pristine_git_object: 3f2cc288157dfcbcf8879606b9abdc015cae723f + last_write_checksum: sha1:bd549954288ac891cb34b0f339de3d22f77a1255 + pristine_git_object: ee7e157b47295efb337794bc3544f6bc5bbe487b src/funcs/projectsUpdateProject.ts: id: 9372f1167034 - last_write_checksum: sha1:67b0210e4f380ffa606cc9199f05e6ed6f813c96 - pristine_git_object: f5eabac1253c3063de5177e25bf70b91290fc9c6 + last_write_checksum: sha1:6ade30edeb9f58ccd32cf3e67fb38cea6394666d + pristine_git_object: b846ea354b9100c9646e4192add07568a8a02704 src/funcs/projectsUpdateProjectDomain.ts: id: c887b254e625 - last_write_checksum: sha1:04fbba9941bfc4efde2a087c32cba52b8dea3849 - pristine_git_object: d1e4407612b3e8b19222d3589932b80bfaf13aff + last_write_checksum: sha1:eca715098f6972a5a6debdeefff1351b5d8d221e + pristine_git_object: e647535c71241edbad47ceecc3ba1381ec1a8ac8 src/funcs/projectsUpdateProjectProtectionBypass.ts: id: 7c31b8c767ab - last_write_checksum: sha1:413441cdb2f1a2b0bacdc2cffa38430838c678b0 - pristine_git_object: ef2521a0158c25fde9cdd31979f01264ce3f7eb3 + last_write_checksum: sha1:4939d3797e2341b3114b94a88b43d5d38a183261 + pristine_git_object: 8c57f3d97331cd3d28e44d892666103acec62787 src/funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.ts: id: d984dbf01ec3 - last_write_checksum: sha1:6f290050e3003f97b007d2fb3e46f151bf489d40 - pristine_git_object: 8920e9ef18dc08cb4f93d5f91268bec48d5ac9cc + last_write_checksum: sha1:3c7e537bcca150237887a85c71950a7c65f0e41b + pristine_git_object: 58f02b5147bf24e0ef5eb6ebf2a486d65f751454 src/funcs/projectsUploadProjectAvatar.ts: id: 3558fdb65730 - last_write_checksum: sha1:30ab405b6ee8f8cc6bb57458637d19e2ef395605 - pristine_git_object: 587037a51657bcfb01a7bfa766b33afb9abf6fd9 + last_write_checksum: sha1:24436aec613c5844233b2856f227aaceab9e96a3 + pristine_git_object: d5fff4ec9256c8626e7a432a2df39b0a104f83bb src/funcs/projectsVerifyProjectDomain.ts: id: 507c9ed7692f - last_write_checksum: sha1:e286a64aa60698c5ac690e25a849439b9aae2b93 - pristine_git_object: 4f8df0e817cf5c9c671e303c55822fd9bd948ffb + last_write_checksum: sha1:43728ee83c3d3da5f54af14fbfd9f0a5268f130f + pristine_git_object: ee7b966c59ccebc38069881a8bd70f923de8faa8 src/funcs/replaceDomainsByDomainRecords.ts: id: 88bc7d14445d - last_write_checksum: sha1:cac4a2831b8568fc2e23e82d7c06f5f9e8abc5f4 - pristine_git_object: be776a2f2fc65286bd34ff75e20b8b20bd2b5277 + last_write_checksum: sha1:3b436c57211984dd5e6a4782caad3915cbe24c89 + pristine_git_object: 6a5e2e38d0738ffcba5884fe52df0cab73333bec src/funcs/rollingReleaseApproveRollingReleaseStage.ts: id: 767f30825137 - last_write_checksum: sha1:56dbc354cce20e57c9bb41bbd21d7cebbbccbae7 - pristine_git_object: 4b7e720841eb77a6b1dbd12339e7765a7898707f + last_write_checksum: sha1:798693db3dcd2312595bce6027329d93b2711e65 + pristine_git_object: cee946ee5eac9de74321cab9e9b0435b4ebf95dc src/funcs/rollingReleaseCompleteRollingRelease.ts: id: c5d8e19e7ccb - last_write_checksum: sha1:7d8cd39163cc4af24e87af12f730fc5c66dc939f - pristine_git_object: 0a09f9cf581e20bf14c3c7c014c2521b1dd133d2 + last_write_checksum: sha1:b9bf0bca5005e2b66b9b7349d972088e839380ac + pristine_git_object: ded5a610a505cee92706a567fcc66a4d5757c27a src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts: id: 890ae2b88f2c - last_write_checksum: sha1:a1ef724834ec91a3960506df12e9c06529ada2a8 - pristine_git_object: 0ff5effc4c424f009c28e5757cea5f4eede500f1 + last_write_checksum: sha1:25359a1dbb035798be46eb23c8be40f412f5bc74 + pristine_git_object: 0b19444b5bc1cabeed69bcdfa6c51621d575ca23 src/funcs/rollingReleaseGetRollingRelease.ts: id: f41812cdaa27 - last_write_checksum: sha1:d29940b9b3946e6ab2896e5ec85dee433f5bfe22 - pristine_git_object: de09b43963002f8b4277a8defb3426e093951966 + last_write_checksum: sha1:bfafcae22377cae8e8353d7498b6d81daf444286 + pristine_git_object: 619b60c138563ddeab62337a252da9afe564954d src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts: id: bff9763fcee9 - last_write_checksum: sha1:250385fb0af85a467e73598d58b2ecc8619f7a73 - pristine_git_object: 96306559ad9458149bde74b08bc3e0a91078cdc9 + last_write_checksum: sha1:d8031d5669735f40874d0041ee8115cc6b1f6421 + pristine_git_object: dc04af1ffb31d5e3e8549961774ab7a7d68f561d src/funcs/rollingReleaseGetRollingReleaseConfig.ts: id: f929d74f01ac - last_write_checksum: sha1:d39237df306393f993900102fdc308db720a9acb - pristine_git_object: 4a9387c388af1d3400f04d1664ef094b06f7dc4b + last_write_checksum: sha1:4d9ef7d5fcef70cb560a2a5624c5f1ede605b362 + pristine_git_object: 11754cde2d857472a3f2c73a0fbb66a0e740e73d src/funcs/rollingReleaseStartRollingRelease.ts: id: 2bd66026bd64 - last_write_checksum: sha1:3c0ab5b96512eb77d501ecfaa68de65e095d886e - pristine_git_object: 1f04de5e2807082db8d5c1500c6f7fb2a396cf45 + last_write_checksum: sha1:af6ad6d7db945a72a2b5c3b41b4e1ac968430d82 + pristine_git_object: 8d6084d86070fbec2130569876d3c65950c2a1c0 src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts: id: d6a746454e78 - last_write_checksum: sha1:c917bd8620ea7c13c459fe40909e40f973a9b076 - pristine_git_object: 0a740d164efe6e4e80d0125a2f00a17effcf3c72 + last_write_checksum: sha1:d4ee10f89b32d840d86639ba5357f4f70b6af18c + pristine_git_object: e300e59f30c03dd49b484bb2a1151ea363e88df7 src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.ts: id: 42e3091c5299 - last_write_checksum: sha1:60d4ff494905cf79a0e6e34ac5bcdfceaa9998a6 - pristine_git_object: 532270855200cd180f4652b9a31832876d1ff4ba + last_write_checksum: sha1:c55ba671d79137eccc67d46edc0221a589b05ab9 + pristine_git_object: dbdd357cb241e88fff2f9b56715be9169168e1e4 src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.ts: id: 8a7adf2b34f1 - last_write_checksum: sha1:5515ac34cedc624c419a0db801ceb68ccca4a5b0 - pristine_git_object: 09b4e9166bc48675e5b82bc9a13c036fe2cc8cb8 + last_write_checksum: sha1:98c6e84419d757929497ef4fb04fe0d777b1b108 + pristine_git_object: 5d9e5b229171a6bbe7e08cc68a8e3a5315bb9492 src/funcs/sandboxesCreateSessionDirectory.ts: id: 108b426898b3 - last_write_checksum: sha1:ac8b3a46b8a57f5cd1b6d9d38529c61ca48e4d0b - pristine_git_object: 50204e66d1b69cf0a03767620a9fcc70cd8ec62b + last_write_checksum: sha1:757fc5d5909c9cb6c8c3d9cab5a17c971b8cf75e + pristine_git_object: 75fccc8d0821ad595ed2915e1f07d992324155a4 src/funcs/sandboxesDeleteDrive.ts: id: 6d422a93be4b - last_write_checksum: sha1:8f6f7d9d8cca0a6a78727677e02768f1df14f2ff - pristine_git_object: b70feeddf4d1eeab83b70fb388fac222e4da87df + last_write_checksum: sha1:64300963c3c99095985aead3d09266a480aef3ba + pristine_git_object: 32d94267ffe41c20df3bddccb69a9bcbe44fda7c src/funcs/sandboxesDeleteSandbox.ts: id: 6b54f20f9d3e - last_write_checksum: sha1:d19ecee4bee698643277511004e37777d7aaa410 - pristine_git_object: 16db83039024d735a554cc1a2357cd612b9906af + last_write_checksum: sha1:95e4c05c457fdea4f5490fb08a5e9d9e9e2dcd7c + pristine_git_object: 93bd7da614ff08f4ade1c3c37ad0b466a8298df4 src/funcs/sandboxesDeleteSessionSnapshot.ts: id: 047a733207df - last_write_checksum: sha1:ac8864b893aad67487d327c7e7ae9f0252edf05f - pristine_git_object: b78d2c026c035ce086e8fb3f5cb39abc45bd9d5f + last_write_checksum: sha1:2a669422836da9f0ef10f637470cf2c250528784 + pristine_git_object: 09c03b1060a30592c064fe60cb9378439a6618f4 src/funcs/sandboxesExtendSessionTimeout.ts: id: 958e4822a35f - last_write_checksum: sha1:9f47d0acfb4ebe41957abe846a19938795a354d4 - pristine_git_object: 047913330b4808983cdb2927083121f7e842409c + last_write_checksum: sha1:9fc044364bb4632df68986e76cb21c4d8ae70924 + pristine_git_object: 5389d89dbd0f28dbfdc056a7c02e5e214e0855e2 src/funcs/sandboxesForkDrive.ts: id: cce89db2f9be - last_write_checksum: sha1:bb0fbc25698ae116a65997ea342d261b3f5936d3 - pristine_git_object: 92c29188112d9a80af12dee0a6da5b8f80885867 + last_write_checksum: sha1:07325fb6f86db582f818250167685d64aea9f1c6 + pristine_git_object: aebea2a787e7100628a0efee8c363e88fba1917a src/funcs/sandboxesGetDrive.ts: id: e6bf4c65c193 - last_write_checksum: sha1:d1e99fceb2c0fb7da56fc72b9ce6ca5b29ffc117 - pristine_git_object: cbbdc62513620f01f1b2f6e88755b750761ea460 + last_write_checksum: sha1:3f7266e5b21d451a52e21b288d082cdecd3a89ee + pristine_git_object: 76edcdf16e2673766c09eec5e12ae6c099ed8169 src/funcs/sandboxesGetNamedSandbox.ts: id: f916649ee235 - last_write_checksum: sha1:6e98c55743aa23c6c246d696e856cd04393d7023 - pristine_git_object: e64513c37d7e312d006b8586df9269c569a40f8f + last_write_checksum: sha1:e37acc89ece6d2bb0ebe4e61dacb5464082b6fcb + pristine_git_object: d3f1335587656abd37c2ae934bfddb85cb8a1552 src/funcs/sandboxesGetOrCreateDrive.ts: id: 66b8ac546b02 - last_write_checksum: sha1:a9fa1372d1cbed41a7e6bff77caaa9175b028b3b - pristine_git_object: 9312e8a8ec3f35b3321a369052c770f9cdbc1f5c + last_write_checksum: sha1:766978bb950fea1d8cc32058ad253e878085073f + pristine_git_object: 919c430079995e8b707593c1a840f5fd2b00de83 src/funcs/sandboxesGetSession.ts: id: 0ded08cd8808 - last_write_checksum: sha1:66e8bdc81f806e9fcad3909140286cadb6098f2a - pristine_git_object: 8bdbce24af609547fa4b3cf7156e36cc7bcd7684 + last_write_checksum: sha1:dd4de419a4ee8bc7c05512d8899038bc630dc9d4 + pristine_git_object: 9f720fdb1ce283244f9d828fdc3239b2356fc35d src/funcs/sandboxesGetSessionCommand.ts: id: d60f63f1e189 - last_write_checksum: sha1:ddd99f538b80a0e4ca3c82ef18cf3d65fe9977ad - pristine_git_object: a27a6399744097b2c842bee97832364e23ee1649 + last_write_checksum: sha1:b54c88bc856a270b9e35a0c8eece65301e548ef6 + pristine_git_object: 2a5ebee34a4b3b7e89aa2a8331b12df975a65736 src/funcs/sandboxesGetSessionSnapshot.ts: id: f519d9d672d0 - last_write_checksum: sha1:a2e9cd3f4e448419a9011b04e4caf57bfb92488b - pristine_git_object: a112724dd729c994b45e0be1574b6eac20110b10 + last_write_checksum: sha1:02c8480d5f5cbcdf038215ad6e596271d9f1b268 + pristine_git_object: 6c93229d8c89a30747d5bf2f5c4b4c07c38bbdf7 src/funcs/sandboxesKillSessionCommand.ts: id: d9daf5969dc1 - last_write_checksum: sha1:b467155db56cae36418b701c6d2869987151e406 - pristine_git_object: 684167fd6fc3f18ca944b8c913bc8da8e78d92c0 + last_write_checksum: sha1:2705359193c3086f3760aa69bb19abd23a12677a + pristine_git_object: 57d7c936a549734c91dffe3d3c54df032c237913 src/funcs/sandboxesListDrives.ts: id: e6cdfea1ceab last_write_checksum: sha1:6d3d9c9feaa0665d6cdd05d9225ee8b5f2b2dea1 @@ -51471,8 +51555,8 @@ trackedFiles: pristine_git_object: 0b8534cf70794bf4eb136ff35df35a338c313a16 src/funcs/sandboxesListSessionCommands.ts: id: 789726bc677c - last_write_checksum: sha1:27c85c738ed51cfab0b8dace009c48fe097e0f56 - pristine_git_object: 76fab2f3fcfaa708195a69b600f48c6c2c55c460 + last_write_checksum: sha1:524b2617b280d573af5759ba3d812ba1455b0af4 + pristine_git_object: 9e599ec75df44c2be6c02e31a0f901faf69e8f37 src/funcs/sandboxesListSessionSnapshots.ts: id: da9619b22719 last_write_checksum: sha1:e1348bbbc35e2b6bc13fe0f1d42129d89d54e71d @@ -51483,24 +51567,24 @@ trackedFiles: pristine_git_object: 4072a28d9b4154e8be40d395bf4fc8be36362b68 src/funcs/sandboxesReadSessionFile.ts: id: c172ea28378b - last_write_checksum: sha1:94dcde96dcdb5d09921468903d0b38b5abc55e19 - pristine_git_object: 5baa4b4a05da5e65b9ef5b06e309beff6ec54316 + last_write_checksum: sha1:ceaa17fa1d3c48bdb4eec6ceae38f5791b110a53 + pristine_git_object: b452af738b24ee0a3f273b3c372fe1b244fcaf43 src/funcs/sandboxesStopSession.ts: id: 64b0fe6d7084 - last_write_checksum: sha1:2258b774def48fac387dfed9b068c73fb30627b2 - pristine_git_object: 163ef89055d97f9606d38de1448c2d6466c9009f + last_write_checksum: sha1:4729557f686d97c8053f1ceec972c7bf795efd44 + pristine_git_object: 9b0420774645d9b0a33b0a2dd9cb8b3812a6b5d3 src/funcs/sandboxesUpdateSessionNetworkPolicy.ts: id: 5d3aa62d7da8 - last_write_checksum: sha1:214e2f5927c76ab2180353902dd43810a97b77c8 - pristine_git_object: 4a4346eeceed657d9ee6d9f5d53627b4ae0bcd13 + last_write_checksum: sha1:ad870a987395f8d625749e1382deded7828a6941 + pristine_git_object: 14c7977e0506de6e9a5b525924416cca3130b5d8 src/funcs/sandboxesWriteSessionCommandStdin.ts: id: f276e52226ff - last_write_checksum: sha1:9c6f24a83a8cc562430ec23fa964a1dbdb001897 - pristine_git_object: 1454533224efe490843bac3ad8ab7e9f40f0b5f9 + last_write_checksum: sha1:10cb76a0f369f1f2535161cbe07466f6862d6191 + pristine_git_object: a49dcb5ce4882c65e6e722be713fd6e76097f3c5 src/funcs/sandboxesWriteSessionFiles.ts: id: 4830185b1606 - last_write_checksum: sha1:baa304072dbb0cf1d2e046356182878681462cb6 - pristine_git_object: 91f82eac6a564cd1f9df9d578ac98ade66af1680 + last_write_checksum: sha1:0c0b97f6400b6076606f65d1d3c39cfb07e1231e + pristine_git_object: 583c5daf553a50c36db8de521e55da5b86643ddf src/funcs/securityAddBypassIp.ts: id: 50cd4be929f6 last_write_checksum: sha1:5b1b032c1992afd21865c22c3f212cf8a1741faa @@ -51511,16 +51595,16 @@ trackedFiles: pristine_git_object: 4613316cfa1d7da700c7793c00ded8f927ca8815 src/funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.ts: id: 6f3fb58e12c1 - last_write_checksum: sha1:7cd5ebcb6eb1cd29b111a9c60d7c05e628469f7d - pristine_git_object: 7e0c4b3509e50d6e360ee22ef675846649c34d42 + last_write_checksum: sha1:174467997c50f63d9fde95a39a9da99318216c03 + pristine_git_object: 8428bb33e6ce658700a98489ce3ac9b8b27a8146 src/funcs/securityDeleteConditionalBypass.ts: id: 4352cb703b6c last_write_checksum: sha1:45e1ad9a1dd0db2e6c3db2e8d170dd422c009c2f pristine_git_object: 9be409b9405c80e5ce39bd12ece41d978b4a92aa src/funcs/securityDeleteSecurityFirewallConfigByConfigVersion.ts: id: 653a5cfde179 - last_write_checksum: sha1:7e4ea179b3d5ea16c5762852848e3e0bae1f73b8 - pristine_git_object: ead0ea20ea2a91051091241f1753c7532b691b7c + last_write_checksum: sha1:39d86f5486eed87a85e23e5c40ad7f59fda217fc + pristine_git_object: 4857428048bc46d656d09fbc041e59a3e4035e22 src/funcs/securityGenerateFirewallRule.ts: id: e0f618d0261c last_write_checksum: sha1:55407fe0ddc3f7e4a5279f55283851bdb95f0b52 @@ -51539,8 +51623,8 @@ trackedFiles: pristine_git_object: d85050a6d227520b186a2046c7b56ae0b33b2888 src/funcs/securityGetFirewallConfig.ts: id: a9bd44233124 - last_write_checksum: sha1:6e6b42c759f2fac11862da919bb907acc2b43299 - pristine_git_object: 363747393a5b8f73f0ad515e158c3393897d7971 + last_write_checksum: sha1:4a0dee360a8fe2493c604202dc252d01e5498227 + pristine_git_object: 5f72005c55857f1980581b98500ea10e6e039b1a src/funcs/securityGetSecurityFirewallConfig.ts: id: b2d6c517d319 last_write_checksum: sha1:ab61b93eae3773d19feb43a14c61fd0be09cfaef @@ -51579,76 +51663,76 @@ trackedFiles: pristine_git_object: 85f3fc511d3b3e347e647b294225107bc404da37 src/funcs/storageDeleteStorageStoresBlobById.ts: id: 46b5fda97f9a - last_write_checksum: sha1:9b112e3b3914431af1f95229edd08fa4076033b9 - pristine_git_object: f7ea4079f24f65183f1cd56f54d8897a9feb2f6b + last_write_checksum: sha1:373de6b20f8511f4e47c681661a259752acce705 + pristine_git_object: 979f00af46bbecf898147fdfcbebdd5064ccc3ca src/funcs/storageGetStorageStoresById.ts: id: 2f256283d520 - last_write_checksum: sha1:d23572c19bbe016ad0a5c42c595a92118a89a970 - pristine_git_object: 8e4eb332de446d6e7bfea6a2b3fadfe4167d77cf + last_write_checksum: sha1:3818d3d1d26b75c22b8534903e16028a14ed8dba + pristine_git_object: e76749699b2b04a9b6e226764f45cebbcfac4b19 src/funcs/teamsCreateTeam.ts: id: 0c204986387c last_write_checksum: sha1:9a05e7661c8a2de694058d29302b42aef6c21be4 pristine_git_object: 0f87ea0488223c3cbce1145079c5a750d07bd309 src/funcs/teamsDeleteMicrofrontendsGroup.ts: id: 3a80501474d8 - last_write_checksum: sha1:0c6bf18f3ccab34dfc5f0eb7b209ef4aec59df25 - pristine_git_object: 44de973ae27c4badff84d2ef5469faed1f1daae3 + last_write_checksum: sha1:47210d6d3fb3b5280602628a7167f3fb8c7d41e3 + pristine_git_object: 1d5ad1419965568bf9fbccab89580c15b6a6bfd4 src/funcs/teamsDeleteTeam.ts: id: 1873df8acdc9 - last_write_checksum: sha1:528d2a24f6c5f23be254140076fc116a8372971a - pristine_git_object: 3a55567c467a076396608481b9538ea4736e602e + last_write_checksum: sha1:f0b81173390c8433ab7cadc10a878fd43184562b + pristine_git_object: bca1cb7eec73f5dcfaea69bf4d91575fbf4a6ce2 src/funcs/teamsDeleteTeamInviteCode.ts: id: fce9561a0619 - last_write_checksum: sha1:0ed01bcb80aa33e164f7212072371f2d94b6245b - pristine_git_object: e7bef3acabec268fd9766c79e523ea99e8ea31a3 + last_write_checksum: sha1:69147f1ee8cd18a108d536ce8e7156d9898195b4 + pristine_git_object: 82aadc65d521a8ed27b8e513b77eea4d19542f95 src/funcs/teamsGetTeam.ts: id: 92513d4a14fd - last_write_checksum: sha1:310e6853897efc2a7864b6c60fa162e90c7f6527 - pristine_git_object: 1ec0d3c2a2bc34951f5985e9165b6bc2d4d42287 + last_write_checksum: sha1:ed3c49346a2991040b8a4b9c0ce35b5bc5ba7a62 + pristine_git_object: d57acecddf0008c16224f6ab05e761e5b2a6fcf9 src/funcs/teamsGetTeamAccessRequest.ts: id: fb91ca16f5c0 - last_write_checksum: sha1:7b8b392e8f1cee73edacfb76bd6247cf60b700a4 - pristine_git_object: 940fbfccfde44e50841ce96e1c6a02e569efbdc2 + last_write_checksum: sha1:830c0c9fe58feab4cf69bbcdd18cca25f6dd6d4e + pristine_git_object: 85a42a237fb1957e86bbc8389a1df42b6ddbb1de src/funcs/teamsGetTeamMembers.ts: id: 3d635afeb771 - last_write_checksum: sha1:0a2ca487a7bd3cdde98824b6a05384a98e0ca4d8 - pristine_git_object: dc3a059132817fddc8c561ce9613c69a6c3f5514 + last_write_checksum: sha1:55803c7f473328fc727f7f37ef580e8f41ef08e2 + pristine_git_object: e1b4376aba1378622cb85d157f6455828f607f92 src/funcs/teamsGetTeams.ts: id: 7d4e62b10f9a last_write_checksum: sha1:8a6edb9a19ecfa1c26da674a0464ff2014110cb9 pristine_git_object: 539bfbf83f3489b08c1c4db433bd5d291a068f75 src/funcs/teamsInviteUserToTeam.ts: id: 92b05ea25a60 - last_write_checksum: sha1:0a25904dc0cab46b33aef3243f13b6fa618f11c0 - pristine_git_object: 2b82db7490ef68c1d203255b7afc642f29f7d249 + last_write_checksum: sha1:130ab1f45ee00ef9c374b7b2bc0b80ecbb344f3b + pristine_git_object: 0457fa142819d6384592eefb5f9b2feeda13489b src/funcs/teamsJoinTeam.ts: id: 12d01b8881d5 - last_write_checksum: sha1:9619dc9897313f2fef258ca285f41a1b172ffa60 - pristine_git_object: 7a16c6889dfe0b4462177eadd7d90cd8f3d1663c + last_write_checksum: sha1:283713d736e6998667e1287b8cbeb455bc4812fb + pristine_git_object: 93dae10a2c6ad027c0220bc2fd482ade6db41ad4 src/funcs/teamsPatchTeam.ts: id: 915ead0aecc0 - last_write_checksum: sha1:cd02bfabb2e64752ba43e02538215be79b574e54 - pristine_git_object: a4351fe0957ac55b3bad0856a3acb192e6d361e6 + last_write_checksum: sha1:da7dcf468bf8f071b86df435921db1f13ed86258 + pristine_git_object: a55d9e60c37d7e76721e66622eea74e236bd87b4 src/funcs/teamsPostTeamDsyncRoles.ts: id: 2ddd6761e515 - last_write_checksum: sha1:36b41865fda382e41e2ca5b252f58096cd4ea549 - pristine_git_object: 214b472f782feefaa8de6b9060983c105d3b8eaf + last_write_checksum: sha1:ddc7d8fac19614a9cd97353654116ef6c4a3a2c3 + pristine_git_object: 3f5a266e2b7d590a9219690beb1861fb824c536f src/funcs/teamsRemoveTeamMember.ts: id: 63caca1d2fdd - last_write_checksum: sha1:2937b8aa499d6430d9b0e8d1ed1874d35bef890f - pristine_git_object: 00fc4c66ef72e9886e201b117edd6a10b752271a + last_write_checksum: sha1:24e1a9cbca34ff6823d9871107f9909605099fe9 + pristine_git_object: 60275558a21d56df4cc2a7b93e28574f1fae5b11 src/funcs/teamsRequestAccessToTeam.ts: id: b870623934de - last_write_checksum: sha1:fcf35726749923d1a17d39fd17d2883733f25858 - pristine_git_object: c42ec1cf0c8e84f19541e9e4f7ce360221248779 + last_write_checksum: sha1:e8fd343834a177e25e4af96444df5fb2af010a43 + pristine_git_object: 2a8a03ed45f3b5e27c8f0b88a84bf37dee97dca0 src/funcs/teamsUpdateMicrofrontendsGroup.ts: id: d1e99eb040dc - last_write_checksum: sha1:49c598f43d33ce795876b2efa2eb17051daf24b2 - pristine_git_object: dd07ba8ebf830fe2dc3b9c1bab1dedd4275c7495 + last_write_checksum: sha1:08ab1e031ae815ccb21b4765f6beb1ccb2a80798 + pristine_git_object: 8f605d765a793919c192cb6c152d485eaf02682b src/funcs/teamsUpdateTeamMember.ts: id: 96a78e6ad5be - last_write_checksum: sha1:6110821c959c10944f4061a34e769e4cfbff1102 - pristine_git_object: 9e48ee911675f8b3f1dfd4deb66cfe0ac843bd60 + last_write_checksum: sha1:6481a5a89cd9a73db27950f77510ad24f9bf2c8a + pristine_git_object: a771fe736e999fcbe9db9124c0476dfc475d97ad src/funcs/userGetAuthUser.ts: id: 2b8ec20243e5 last_write_checksum: sha1:5ab0e0861e30332dae974fc4bd0e3e0d2312ec5f @@ -51667,196 +51751,196 @@ trackedFiles: pristine_git_object: e776e3a87a8bd3f823b8989c15172383237b1677 src/funcs/vcrAddRepositoryPermission.ts: id: 775f91f11e9a - last_write_checksum: sha1:6ab5bc334f932e3e63fdd7fe6bbe11dce122e60f - pristine_git_object: 09e9593b23995b318cffe7d250f24ac9a2242696 + last_write_checksum: sha1:f085a06ce0d6237d3e0b98fae97224a6a1cb6436 + pristine_git_object: 919afb49e8cd1132024c7475b68f4df84fb1a9e0 src/funcs/vcrClearRepositoryPermissions.ts: id: e330a8e33d5d - last_write_checksum: sha1:3b9d4d2e7aa6d771b3cbf3b5612efbab6febfb3f - pristine_git_object: 1aaebcc48fff9994a66c153235c6cc824d56e820 + last_write_checksum: sha1:e263b649a68177dff54db0e89dcb442a26bb4045 + pristine_git_object: cc66fb9da273c337807878fa00f4a0a18a53c0a0 src/funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.ts: id: fc04ff3ec756 - last_write_checksum: sha1:1770a3cf67de7c25970a81e203e755acfac46dc0 - pristine_git_object: f035be8cbd2a54b3ee04d2d30370030cbbd3a070 + last_write_checksum: sha1:886607f88a2ca881977c822804a398f4b0d9b5ec + pristine_git_object: 904e73019053625d6b9a16654fe0d68b99724ad9 src/funcs/vcrCreateRepository.ts: id: cce8bec2580d last_write_checksum: sha1:cd497aa6182151a3b192013a9f47706c6768304b pristine_git_object: cf58100fde0ced6d146afccd06b8b59647a7ba64 src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts: id: 0174f7624cc4 - last_write_checksum: sha1:a5fd8576e29905a0e0de27371c2cc57e9533354f - pristine_git_object: 33a564f4a94905e616556199c378308e5669a64e + last_write_checksum: sha1:e1cdca1393083b493b82f822997b54acb2dc0513 + pristine_git_object: de55aa53c966ac7294033f96ac324f5a81636632 src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts: id: 2d465443dfbe - last_write_checksum: sha1:e955efd5c73faf5ecbdb9356f58d4ec421a7e001 - pristine_git_object: eca04fa35fb757c62c7fdb7a8ee8e5e66bc852f2 + last_write_checksum: sha1:191d902791e9dfa7f2a7f3fec66122fa611af09b + pristine_git_object: 23ddf5eaf3d14235467e16bfbfb9b44ab5902f5d src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts: id: 6516bb989d41 - last_write_checksum: sha1:3cde671eaca06eefbe7c3b9c018a30396cc25b61 - pristine_git_object: 136c795de509d4f19772d4cc3baa5805e08a0ddc + last_write_checksum: sha1:38ba3cebe51a1bb034b1274c47dfc2f8054c4d8e + pristine_git_object: ba3af56038d1dc2db4ccbf1a851d75e90c4dd96c src/funcs/vcrDeleteRepository.ts: id: 8bcc20c4c04f - last_write_checksum: sha1:1a2794a6a2aeb5d4d72a044e177b4a2689262b2f - pristine_git_object: 73ad6349bd300b1bb4b3b18559c14f65a773a730 + last_write_checksum: sha1:82fa29e1d285cd0b264a2850491b9a9e86cc4b62 + pristine_git_object: 2c394bf6f9fd3bd87bb907984d1b32651f3b079c src/funcs/vcrDeleteRepositoryImage.ts: id: fa1f56d802a8 - last_write_checksum: sha1:981af40d70aa817a9680885b5f1eab6b0fcdec09 - pristine_git_object: bc611c86938d5377968e41d9c7d97227f1dd0b12 + last_write_checksum: sha1:6c2a134cca6e8efece6c29ecc35b3fea04649ae4 + pristine_git_object: 398983050d43593f8194eb5bd25bbc002ba82ea1 src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts: id: 0855d4527a7f - last_write_checksum: sha1:44a837490e4e21a5f7dc9191b6b58868b98deb64 - pristine_git_object: 7d0b2ede9fd4280c040405f7040529cc98d9f1ab + last_write_checksum: sha1:63f6f5e8a45ed097383b51f142fb61d674dbe245 + pristine_git_object: cbd80a726fa085ad3fb904686393d8709bf37353 src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts: id: 28330b1c7fae - last_write_checksum: sha1:788e5c342b5f56f3ec0387c6af7f10dfc615bd7b - pristine_git_object: 6a74404be2d9cfd26c5047927d715c3b4244325e + last_write_checksum: sha1:b6aff8129ac6d6fd472b4e1e629d1a91d1a1e50d + pristine_git_object: a0c749a73d1340eee677f545bc208b92b29433fb src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts: id: 415cbfc47bcf - last_write_checksum: sha1:2df5775191c6fd23693d79b7c0ea95d6df2da049 - pristine_git_object: 321f5d83b825b35cd139104b4df125d79c7ab486 + last_write_checksum: sha1:5769fd1b09caed8bc6b91bf2920f82bdf7053ed5 + pristine_git_object: 228237a02e0d478858e9f78a04010b10fc6770f9 src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.ts: id: 86cf34d42efd - last_write_checksum: sha1:4bd48aa3b60a60d895df27bbf7061190c5c91657 - pristine_git_object: 2f03001bdc8e9d31c8402382f5b82513ec5441fc + last_write_checksum: sha1:813800a587e5aa5081886afa6eb7df65c1d307ba + pristine_git_object: 6453ad8da33444518c692d782f01f51cc0ea50d3 src/funcs/vcrGetRepository.ts: id: 16443dc9f395 - last_write_checksum: sha1:e2728e1d79ee1fc9e269089dc34a279d1ea2f1b3 - pristine_git_object: 3e7f964e957012ecbca1fb7b93d00bf79a6b4e96 + last_write_checksum: sha1:2dad8d0e582ef6d07ddd03f4c4f7de74ebcac136 + pristine_git_object: 287ca969d20db49c6d7459152b2ace736555e2f9 src/funcs/vcrGetRepositoryImage.ts: id: f4aa4ab1dfa3 - last_write_checksum: sha1:ded05d7f69606ea804a7466b2c5c3c34a600ac05 - pristine_git_object: 7fabaef453f39d0ce89cda8525ab2feaeb261216 + last_write_checksum: sha1:92ed4f83b7d85743a4278139a298fa38a1349a1b + pristine_git_object: 883ab5e3cf466a4aef1e5f260414d6720e883329 src/funcs/vcrGetRepositoryTag.ts: id: c4c086ac5b40 - last_write_checksum: sha1:c372024c74ee6d0f3bdbdaa28244dc1fd6cf9dbf - pristine_git_object: cd7983c9b96f557e48d315d036d6c028829f8b9f + last_write_checksum: sha1:4f102471c7497b6daca70347fb1f150efe92faa8 + pristine_git_object: 0b6964c44379ecdc0575d7dff35d69a284d500cb src/funcs/vcrGetRoot.ts: id: 1d47ee5d9ea6 last_write_checksum: sha1:71f645efcf23f501c18305deaf3460c56e05a621 pristine_git_object: db0e3f00746ce89af6dc43b3ab4369dcfae971a3 src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts: id: e2997b47c546 - last_write_checksum: sha1:3e6eb8f31e87c56a45e1786f0bb031c80d595c7d - pristine_git_object: ea2f17e67fe177b9b562c6d5c3e3538328fb7db7 + last_write_checksum: sha1:ff01b8d2b251863ff3f2abebe7485332d6413f4d + pristine_git_object: b00824e9a788d8920b0cfc99ef0517f532567f48 src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts: id: 0d4e2ece13f0 - last_write_checksum: sha1:9bf9eec697dfee35530349946082843691741e6c - pristine_git_object: 66e7b60810ed99bba2282958042308e3e228bd02 + last_write_checksum: sha1:9fc492a1c276981d5dd49daa903e034e84724150 + pristine_git_object: 124298e653582acf213f3a32bf830f5bb937c536 src/funcs/vcrListRepositories.ts: id: 9e960a6f89a0 last_write_checksum: sha1:05f32a5d94592546b538ccdff7b9a77e7dc13dcf pristine_git_object: bf7bd19e56a68f3277d99eb073607bba3328c503 src/funcs/vcrListRepositoryImages.ts: id: 4b60d5f4b660 - last_write_checksum: sha1:7cbaec345df967fec955c269cf631e6cfa0cc247 - pristine_git_object: f5e05b54427f00337c59135bd76dbfbab881a504 + last_write_checksum: sha1:c58d2dde9a83416e68e251fc23d3167af0fc3622 + pristine_git_object: 290d7b3004aaf79636d46b33492b2016ad708280 src/funcs/vcrListRepositoryPermissions.ts: id: db550fda5ba5 - last_write_checksum: sha1:5497204eb13986aacfdfe7fa8b124c355daff47a - pristine_git_object: 4f0092b5faee15ad79f4dda25fcdf5c43424bb6e + last_write_checksum: sha1:7d5b0094c7ee3c99ad7a7d495bcaf10ea1d61c8d + pristine_git_object: 08a3eaa9ff306a907065bf79f424ffb422a1ff1e src/funcs/vcrListRepositoryTags.ts: id: e98dde868916 - last_write_checksum: sha1:c7c8cc0cfffe02ec9fe4cef0b5252ecd8a7dce53 - pristine_git_object: b863e314d47b1aa7ccee0f817bb228facb136b97 + last_write_checksum: sha1:c485c6eee2164b57bd8002b25c3c79d7e6b0220d + pristine_git_object: eb0df603fdf311fcada1bc453505c233add40fb6 src/funcs/vcrRemoveRepositoryPermission.ts: id: e9230f42476b - last_write_checksum: sha1:e41ae56d5a801e52171dbcd1a82a12f06d8a684f - pristine_git_object: 06b23ec9d934ac0f754a7c6e18de330bee24f15a + last_write_checksum: sha1:d22e47541d229734d44b68ea42a85ad0b4809000 + pristine_git_object: a5c1c471d902d8e638ff593594b26999f238d39e src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts: id: f7968284e4d4 - last_write_checksum: sha1:d0c612b1c6daf051072abdb41f3f2a57d7562c50 - pristine_git_object: 6d313053742f8302809f7e71c5f70ea96e4548d2 + last_write_checksum: sha1:ecf5269e8fbdafb3c5dfb7986ae11baf83e2e133 + pristine_git_object: 42ce1b4c156d9542e54b11f804af66c8bc5e367e src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts: id: 1de054173486 - last_write_checksum: sha1:dc6998cbc45716cf81ff9525e649f70565cd717c - pristine_git_object: 66444dbc443d3b35e0ae108f33d0b7572e4fb82a + last_write_checksum: sha1:2e67c4b11099dc4a3dcb150cf68eb30e1d528b46 + pristine_git_object: 5afc4afe4c1b0b09065bba25ca633069054b3d53 src/funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts: id: d1581deae9ea - last_write_checksum: sha1:216bda7bdb4e9b0914e3faf5862152aa29adbb59 - pristine_git_object: 09ab9acfdb44d56392b61dd07f04918771b498f4 + last_write_checksum: sha1:e310e4f955c77fe0a498e87f061dd973bf5343fe + pristine_git_object: 4288026232a26cbbf9d9eaed6ad6b3a20ca2a8c0 src/funcs/vercelCiCreateVercelCiTaskAnalysis.ts: id: bcd14a54bb4c last_write_checksum: sha1:6092f2ef993752202f3fbf48f5e3d7efc2dc3c05 pristine_git_object: bc21c927f5917793a913a27c98875fa73e4ba68b src/funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.ts: id: b250dbca7c7d - last_write_checksum: sha1:a38a6fbb8424d97b2a379287e020cc3cd00bf24e - pristine_git_object: 2dd7ecad2a40de27fc32f45e99a60b5e2e1b0332 + last_write_checksum: sha1:a22ce9f784a0f7c8311ec7f3f340fc60925b23cd + pristine_git_object: 3ff9ce0897abd6ea3a75d0eb87aa17c8f3f9cb49 src/funcs/vercelCiGetVercelCiInvocation.ts: id: 3d9e7c9a119b - last_write_checksum: sha1:7159f3927672a4abc5993fec33115b2a5c686db1 - pristine_git_object: b61369b76547a20cb33872f3d76f349aaf07f35e + last_write_checksum: sha1:a673a1682e83d3332e4ad82775259dc917ed21bc + pristine_git_object: 5c74d5ff087a930b53596fb9698c8f8c4f5303bd src/funcs/vercelCiGetVercelCiInvocationLogs.ts: id: bb026b62013b - last_write_checksum: sha1:17063566c0d30d54e23a1a28fe6fc235deea80aa - pristine_git_object: 38741e4b5b1a322e3013a532f485150f0602d08b + last_write_checksum: sha1:56de8038a422e63884095c0293b8a210b8e061ab + pristine_git_object: 805ad5d203822fd5a37b269aa99320c3de8d7748 src/funcs/vercelCiGetVercelCiInvocationTree.ts: id: 3e26a3a51b5b - last_write_checksum: sha1:22adf03001e164f20b8a943e446150fa29a6de89 - pristine_git_object: 2ad8c7eed2087c33a9386774fad4207d4e22f6e8 + last_write_checksum: sha1:3cd7e35f1a7ea4741121f0b3b2a4af1680eb5f15 + pristine_git_object: e78bdf107bfdb04debb494cb4f703d35a73cb09f src/funcs/vercelCiGetVercelCiJobDefinition.ts: id: da786a3f5481 - last_write_checksum: sha1:d251c2bd5ccfd2d75c3bc46a8fa0e9224915a855 - pristine_git_object: 5f563afeb1331e525e4ab08f5ab2e1c9fce70811 + last_write_checksum: sha1:97f4133f34846ff89161e4d40a1527e450d1b722 + pristine_git_object: ffea427f1055131da3fb9d28f0cd792882862557 src/funcs/vercelCiGetVercelCiJobRun.ts: id: 6963ffe19a3b - last_write_checksum: sha1:e4b17f06e6c6e5dcb9106db5bead88473ca5a713 - pristine_git_object: 59a3fb332f714b1c96b2bc98a81bb4696fa5b8a9 + last_write_checksum: sha1:8f06d1fedf28bfd385aedd4668b280b03fdb5131 + pristine_git_object: b1c3881540d3a2321f9bb633c0314b6c650b58c8 src/funcs/vercelCiGetVercelCiJobRunLogs.ts: id: 9ca1b74e0e98 - last_write_checksum: sha1:c5b0334eeec9d50d6e063801ebc8d99ac48b78cf - pristine_git_object: d5ae491840a60188fef7125c21e242c906dced54 + last_write_checksum: sha1:a8a59b39e6fac6a2a3ce48ab389ba1b4aa0e5d8f + pristine_git_object: 0428bba80534f5117da969f1e2dba2bb6cb6a4d4 src/funcs/vercelCiGetVercelCiRepositorySettings.ts: id: b99ff61a3e17 last_write_checksum: sha1:aa0cf506f01538b453bfa90665198431a03f5de2 pristine_git_object: 779c43e7b9574c41dbdabe9d36c760217588c601 src/funcs/vercelCiGetVercelCiTaskAnalysis.ts: id: 8d7aaa7a0285 - last_write_checksum: sha1:8287cf2e7cf3191093c9473b3116f31b2623a8a5 - pristine_git_object: 5ef5aae04844c53c44d15d8f0b5d82a2280e4ded + last_write_checksum: sha1:b6bc0adb9efe8ab6395442b370b318008c3ce097 + pristine_git_object: 3f6a903a0eb1eaec9aa44543cd1f0da9a6fb704e src/funcs/vercelCiGetVercelCiTaskLogs.ts: id: da735bbf4a00 - last_write_checksum: sha1:e5086088a0f6940302e0c144bd3aff64f6cb7f0c - pristine_git_object: c32005b9cc5aaf3b8754cca4087cf0ee46cbebdb + last_write_checksum: sha1:899609b424f76815637e96a5ac4ba6d59f96ff36 + pristine_git_object: 48f738b035f1c07c597180303f45a5f6e5a11bc3 src/funcs/vercelCiGetVercelCiTaskRunLogs.ts: id: 8c5316ce19be - last_write_checksum: sha1:950166136f239819d54bce5563262e603c8943f6 - pristine_git_object: 2f3d6709ac40f7c662ff01213535751329b7198a + last_write_checksum: sha1:71bf8e46b00f863ad67695e51b4e4ffff96ee67c + pristine_git_object: 15d8e06100d42bda9a81e5b5edfade491553c801 src/funcs/vercelCiListVercelCiBranches.ts: id: 5abcbaca60be last_write_checksum: sha1:2b5348d3bbab22987f84cbbd19205d724a8652c6 pristine_git_object: 5a1b942974829d892239c92d1c9fe4a03e266b68 src/funcs/vercelCiListVercelCiInvocationAttempts.ts: id: 3293ca557f0b - last_write_checksum: sha1:95ba0d2c5e1607bea6fc0b78e38befcd94087119 - pristine_git_object: 53473880f58ad4f6b238e2be945c222562e73e0b + last_write_checksum: sha1:e9f0000dfe8522f16485cce5a354834bc46811cf + pristine_git_object: cd3b8cd8e9a3c814feda615f072ff61e8d019af7 src/funcs/vercelCiListVercelCiInvocations.ts: id: 27a202b5373c last_write_checksum: sha1:bc8cf2c3e15a71576fb89d7df7f7b2f03db37ea4 pristine_git_object: 2b63ffcb7da30acde3b933308ae26bd30887690e src/funcs/vercelCiListVercelCiJobDefinitions.ts: id: 614ba58d3957 - last_write_checksum: sha1:24f0ac8cbe4a57e2a67bbf5feca3fb7b3251d83d - pristine_git_object: 6455a99215e21c75e0f4d9510acdac09052bd367 + last_write_checksum: sha1:ffa1ec3e1516a6b6479eb09f6a709f110d1a7654 + pristine_git_object: 252916f2c29f04f64539ec5beb3f1924933fc1b9 src/funcs/vercelCiListVercelCiJobRuns.ts: id: ee570a158e1e - last_write_checksum: sha1:3ce1b8d108b0768bafbb3eefc0399836caf3cacf - pristine_git_object: d35b39a1da05900ff6d436b8ed42e6435e1061ee + last_write_checksum: sha1:90a6ed5c665c24c1a063c3aa5beee7e406e5a2af + pristine_git_object: 6f9b6c9da4141ed76a06007d705696fdcf9ebbfa src/funcs/vercelCiListVercelCiTaskAnalysisTasks.ts: id: dcdc23b4ceb8 - last_write_checksum: sha1:58f2ef81baef1aa291658e4cebc08ae1fbcc5461 - pristine_git_object: 15e97b956657c7d7a62d4c3f04228061c72f2672 + last_write_checksum: sha1:999db34346ecc1405c6b1c89ea332964323f6fba + pristine_git_object: abde6e6933b3cb5dba61b029ff00c69afd918ae9 src/funcs/vercelCiListVercelCiTaskDefinitions.ts: id: d8f7d6b31ca0 - last_write_checksum: sha1:7efeae95dbf9ca395e40d14413a34ebf74533aab - pristine_git_object: 00c0fee34ecc7d337421f90f9fc4dba4ba4a4445 + last_write_checksum: sha1:b856734eff62b338450c0a8b5d344aa88f74ab33 + pristine_git_object: 5d0c9ac011ca3b2d83e51c9365f619c761635277 src/funcs/vercelCiListVercelCiTaskRuns.ts: id: a227177e248b - last_write_checksum: sha1:b31135b057e30e96eff5977b9e379d3ca30e710d - pristine_git_object: 6e3d00ac4e659fbdfc7cb53f919befc91e5c3318 + last_write_checksum: sha1:064f2a79d36f7ac351b8dd60813cd05df17d53da + pristine_git_object: 42715eb66bce6e9d6fb044a539dcc3fa4b8598b8 src/funcs/vercelCiRetryVercelCiInvocation.ts: id: 4fb29462578f - last_write_checksum: sha1:0eb67e8362a5b4f2b8a724fd3c722c59c875ed69 - pristine_git_object: 347d7306eafeb2034466d2628154b1dc5128c033 + last_write_checksum: sha1:3a87e8151d5123627a586a1e3e5bf6fd80dbb6d1 + pristine_git_object: 685a0937e138995024131d2ec0555688f147157d src/funcs/vercelCiSearchVercelCiLogs.ts: id: db9e0c6aef54 last_write_checksum: sha1:09f46d5a13c5eefee83dc2b7bcc838f39f96d914 @@ -51887,12 +51971,12 @@ trackedFiles: pristine_git_object: f2a405f530226b99c220a133d7926c24374843e1 src/funcs/webhooksDeleteWebhook.ts: id: fe11caa9d14b - last_write_checksum: sha1:8094c4c1c9e79b7d68ddb73cecc973dc36cf903a - pristine_git_object: 57d678510af0dc9f5f45c1327fbba9830f538e55 + last_write_checksum: sha1:89727fb302ba1fbeb5fecf3b2741e8775a76aca6 + pristine_git_object: 7d03c711ef28f84a1b320a81d71ab16298e703e1 src/funcs/webhooksGetWebhook.ts: id: 0a6bc6eebc91 - last_write_checksum: sha1:bca3f736bfa349516d7be92300ca3fdd2659446a - pristine_git_object: e62c8cb029a550de5d88dff761cf6f7d484b2a2c + last_write_checksum: sha1:e8331511b242ffc0f0c515122a04299ec55dc491 + pristine_git_object: 345013e108ed9109039045be4de5bd252582f135 src/funcs/webhooksGetWebhooks.ts: id: c6549d4e818c last_write_checksum: sha1:102806f7ac2938df3880b42e87a9c4f394e7e9c1 @@ -51915,12 +51999,12 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:a2266283c2e036070644cc6abd1430ed9e821570 - pristine_git_object: 3b8c102591a20da59306c02935c8b22f042a9ec1 + last_write_checksum: sha1:8ed8b74032282ecf0c5d544b8e27bf12b5f4c3fe + pristine_git_object: ebf6d342baf5c4977cd2eca54e0213eedbf63d73 src/lib/encodings.ts: id: 3bd8ead98afd - last_write_checksum: sha1:a257d6f6108693db2197617c579400bc8f0da914 - pristine_git_object: d6e751fe6a9a39af519df802d05c999f6783bae8 + last_write_checksum: sha1:320ad978da272ff7ef2a1d1efd5d53a81190a936 + pristine_git_object: a1053d49b37657d432ac397c3f2915e14ddc0e93 src/lib/files.ts: id: e5efa54fcb95 last_write_checksum: sha1:795c14026405d547bfc47012f7ad9666e530fa7f @@ -51939,2108 +52023,2104 @@ trackedFiles: pristine_git_object: 4b62e3c4705ac1c86788009974c0dc7cbee939e8 src/lib/primitives.ts: id: 74859f750b28 - last_write_checksum: sha1:fe3abb7d6b61596e346873519bcec9b2eaa61467 - pristine_git_object: 8ce65db0f7c0d6b68f5edc3ebf518121e284e954 + last_write_checksum: sha1:20a7b0c3258527ae6fbda31c647fb71f22cecf70 + pristine_git_object: e7b75908894b83569eb0406d7c3589d74b21d4fc src/lib/retries.ts: id: b24a69d15639 last_write_checksum: sha1:42c8f6cc4c875be236230a8c760f4f32d8c1ab68 pristine_git_object: 21a647e1e9ae64817fcd63b5dd6bb5a51b63d225 src/lib/schemas.ts: id: deb4b531fae1 - last_write_checksum: sha1:a6da4efe84bc3cb144bc6f39b1a18416ee036cf2 - pristine_git_object: 8e8a9df297c6ffc366ef11843d4dcc0c152cb763 + last_write_checksum: sha1:9faef5558b4b5cd53688d3f8211998c112883e08 + pristine_git_object: a9fb3d639a52eda6f753e5e2d2e1ccbc52c3ec05 src/lib/sdks.ts: id: 8a6d91f1218d - last_write_checksum: sha1:d0235e5a0defba3133b5dc07e59fb53c4adb9e6c - pristine_git_object: 19d9cf8ea0bd8cb9e0d20a089a27e851670abf1e + last_write_checksum: sha1:3457b4a681e54fbb6c3da463a82d258b765f4d31 + pristine_git_object: 80b0f9bfa8f781e932766c15830f2ae393d179e4 src/lib/security.ts: id: 0502afa7922e last_write_checksum: sha1:4ce21de898d3aaa92b3caa985a11eac21e39511d pristine_git_object: a8ae5f5f5ca388a7ff712e2f1f8d71bb0842713d src/lib/url.ts: id: b0057e24ed76 - last_write_checksum: sha1:3bceadd74bf0b31adf13eb06b7531077c3e07d65 - pristine_git_object: 79e7ce660b3732053e3adcbb5a4cdeb51496e8aa + last_write_checksum: sha1:2e7a5fb3985938a4234ad6a4468ea256e9849529 + pristine_git_object: 61cf6241a92af930d9b852235f347ea81ec28cc5 src/models/acceptprojecttransferrequestop.ts: id: e068dac5be19 - last_write_checksum: sha1:0e2f443e04861cf94d4adf37b6537f54c6939e55 - pristine_git_object: c79bdeb65b2f9afed60ae403d0609618cebd88be + last_write_checksum: sha1:2f91f9b09bea6090781d9b495e09a2f594dc7946 + pristine_git_object: f325975678c0066c34880fa029ee0fc13e3dbfa6 src/models/aclaction.ts: id: d8a793586f6a - last_write_checksum: sha1:c6bffa3efe15b3954d64750cc2227110c17baaa8 - pristine_git_object: 650d460acce77fcc224946b3666ad08e5f94cae8 + last_write_checksum: sha1:de4147e7140270fffb4d5d8416ac7c5d8bea5b9f + pristine_git_object: 0d7f09f2ff3d3bc14318ae49efbca9414e3ceb58 src/models/activatekmssigningkeyop.ts: id: d08cc2a3f604 - last_write_checksum: sha1:bf859f45e1729a2b0e037f7bc963f654c54c4c0c - pristine_git_object: 32c2fd978924837d9f9475b38f3067947f25d973 + last_write_checksum: sha1:f1bcd931edb8fed25dc95d46ee0e6317a4bc334c + pristine_git_object: 3eca3c440821b92624e2f8f30595829767e41068 src/models/addbypassipop.ts: id: e9d83560a2cc - last_write_checksum: sha1:cf9444068d2b9e4186a71e0797153f497fd5c6de - pristine_git_object: 94495495b9a30a69e98111675e597e826f3afa67 + last_write_checksum: sha1:9df1c42b09cc03cbfdf0b27a9c8750766932149a + pristine_git_object: 170b245de138835f8bd6a869ca077b7c19851559 src/models/additionalcontactinforequired.ts: id: 510216445f25 - last_write_checksum: sha1:8682ae839e22d3022d57564e0db9f0fbf411aaf5 - pristine_git_object: e181c2d60cf5a502056bd70b8695793f12398494 + last_write_checksum: sha1:87a0bef72046dec380e1045c82302cc16d53bd58 + pristine_git_object: 487e15070cac73a272a1ca0e267894f89503f3a4 src/models/addprojectdomainop.ts: id: 22f43eab447d - last_write_checksum: sha1:070f33235ac7d81a1ec527e8175b5ea8cf57191e - pristine_git_object: 01f283305c5ab77d9110ae4b7b311c29d775d2f5 + last_write_checksum: sha1:2004aeb649b059bd6668fbc34f9713765ba8ab83 + pristine_git_object: 3d36b8a6cdd6ad2415ac36ba331b34fe3d2cb734 src/models/addprojectmemberop.ts: id: f9535aa82e01 - last_write_checksum: sha1:30cce15bca8e907daa014f0c6a6ff2f6d4ffabaa - pristine_git_object: f0d94ec4cc2d7bddeab079e1a8f23693be23a3dd + last_write_checksum: sha1:2b932baa7e582c0b42b57b3e8f740493d4c2967a + pristine_git_object: 2fb82a136d7187fe2e2f1b77256b31fcb9b3f31f src/models/addrepositorypermissionop.ts: id: 4afd74c0b3c1 - last_write_checksum: sha1:6420ef9ddc9624137f05751b9f4dc07ab5070c5a - pristine_git_object: 75930325751a39a747ad7bd5beb5aedefc4a220a + last_write_checksum: sha1:0aa7179fb6b604763e7f47471673e0cef26f8a74 + pristine_git_object: d6e37dcd2c94c6850a78f734fa37c4f6994cf2cf src/models/addrouteop.ts: id: e1f12fb04fc6 - last_write_checksum: sha1:384b8c4b9b847b4d28b90a54124d68f1cf0dbee2 - pristine_git_object: b12d1fbe83a14ff48aaf86f2d63a4f5af5ae0649 + last_write_checksum: sha1:99d6f2a4129369811f01c4b8e2ef0c9284e89e7d + pristine_git_object: a73771014eb28c0ccd28e0da1f4eb288d074a446 src/models/aggregateeventsop.ts: id: de6900f84cfa - last_write_checksum: sha1:89c05d145cc3982207c321517e2e9d4d7db4043b - pristine_git_object: 29d46c35a593e6928f0c46e12f527cc759f6f311 + last_write_checksum: sha1:90698eb00984361471f36eacbe0c12cbad7e22dd + pristine_git_object: fa2b2b85b39f220fee50079920778163bbcb3683 src/models/aggregatepageviewsop.ts: id: 48af8e4fd002 - last_write_checksum: sha1:2136760cbfec8a55e0bfc6029d402454ed51e83e - pristine_git_object: 85618c2af92330074bd104082ab7575009ab2803 + last_write_checksum: sha1:b23b8ac2d59d0cc71338441648976227a9767bee + pristine_git_object: 7601bd7ac759f3460e1f8eeba42aee7dfc4276b6 src/models/aigatewaybudget.ts: id: 4bc0c5141b1d - last_write_checksum: sha1:80e06c45e04f69c4e4d0315cb22938bb6205c7b2 - pristine_git_object: df08ff15c79e7ec563f68f53694d133c44584910 + last_write_checksum: sha1:2a9ef73895f6c3e4fd4e222493e18f79c2a358b0 + pristine_git_object: 596a1398bebff3ee9fca1d809656a7699dc86fdc src/models/aigatewaybudgetdefault.ts: id: a592640ddd4e - last_write_checksum: sha1:4866fb1980b1716d9f31b068a22c680f35257446 - pristine_git_object: d2626285c41ee25a239b0e689a744af404b7dc4a + last_write_checksum: sha1:c5bfa05bea9717564a283a34684210e71c05d8c9 + pristine_git_object: 2c1791bbcc04ab73b9ffb39cc0eb31b09e2988f0 src/models/aigatewaybudgetdefaultlist.ts: id: ed37ce32c446 - last_write_checksum: sha1:e4b76d21e9778f83fcdba96ba07202a45325def1 - pristine_git_object: 095ae48dd3af7f987ebb55acb736017f17dbf1da + last_write_checksum: sha1:caec04e6b9c4271353016e60974edb0bb446df15 + pristine_git_object: 13570e94bc869188be799c9dfde6a249fb6bb599 src/models/aigatewaybudgetlist.ts: id: c087b074d8be - last_write_checksum: sha1:db84a3cb3785c0df6f2f03c77a3ac1bc2f846213 - pristine_git_object: 9fda0cd1e2bfc949ce2812ed8b95fc259f515673 + last_write_checksum: sha1:3eb5cdb92522bd0da57236219fff24e7ee5921de + pristine_git_object: 3ef81309a10231c4d2203862bf78de670c41b95f src/models/aigatewayevaluationfallbackcondition.ts: id: 3f417cde1046 - last_write_checksum: sha1:a86e6ce8d9b2709c14366c4fe86246c64914bba6 - pristine_git_object: b8d379f1b8cb2778f39796f4639012f85130c136 + last_write_checksum: sha1:f55c0d2dcdfbaa0a16dfb9dce0ff055bc9756ee9 + pristine_git_object: 774fd4d00e86ea4c1b35b1b2ee6d16ddf3a8bb2e src/models/aigatewayrouterlist.ts: id: d980e17b79cc - last_write_checksum: sha1:dc2597920e97e39a95068ef535ae23005a469b3b - pristine_git_object: 95921515241a30125d8ba8530bcfefdfc4dda92f + last_write_checksum: sha1:cf4630f8ebf4a364249e355c3c9cedbf8635947b + pristine_git_object: ef1b9700aea2025b399d7dae46bdffa4a1f7755e src/models/aigatewayrule.ts: id: b91f6e80c5d0 - last_write_checksum: sha1:b8462ad8f1e319e4546c1bce7ab2f14d476efe17 - pristine_git_object: a5a48d8badb4004a2cf1af2e77080264ee14dd0f + last_write_checksum: sha1:4d3b5ad718fc9081164970f01e96a70f61594483 + pristine_git_object: 2eab76b982db2149c29f4335fd559e59d0d64b6f src/models/aigatewayrulelist.ts: id: cbef6e51ee27 - last_write_checksum: sha1:b9d24e54fdb1b2e4a2464ceaebc63752ebdc7c53 - pristine_git_object: af2be2d41dba4b9ae2f11dcb635c3d079d4979ba + last_write_checksum: sha1:1e8545bcf2d3dddf502a4c35c12a78255b0bea36 + pristine_git_object: 1883af40da516a93a1b9021e51a99cd1af3fc8f5 src/models/aigatewayrulelistitem.ts: id: 18d17685743f - last_write_checksum: sha1:c8c34ef4c738a8065915482d3cc7b8d7618cc2b2 - pristine_git_object: 6dd78ed3460c8b66d0bfc5b002600e9b9a445c6e + last_write_checksum: sha1:b4bad4af760a0d939be05ca033d0c202b8cc2214 + pristine_git_object: 1ef3e376cadc4736acf9b614e74052c3c658fba3 src/models/aigatewayvirtualmodelconfig.ts: id: 6daf1e41a6e6 - last_write_checksum: sha1:3f4077b0f6cb5aba7698994496190befc1c954ea - pristine_git_object: 321a86a8a2bf0bc446af4b1a7d47f496ab3a2a97 + last_write_checksum: sha1:26a3f72dc8400eb5dbfbace243a5b6a209dfcea1 + pristine_git_object: 2a2c33421f1d4c86b746fefbeea9912fac689e82 src/models/aigatewayvirtualmodelconfiglist.ts: id: 722051dd6b8d - last_write_checksum: sha1:40eb176ab45708a8db64ca71c12402638b9000d6 - pristine_git_object: 1b1b1f71444973771219197b8540dd70ac71c1c0 + last_write_checksum: sha1:21bb9a37522e2dcdccf08b60cae5a4657821625e + pristine_git_object: 1044f4ecd8fbf77bb165bb5057cf9207d7c07f4c src/models/apikey.ts: id: 870cf3c75adc - last_write_checksum: sha1:9948d408491b827e9b2fa8304350c93b17933f23 - pristine_git_object: 306770476a89a5e52da0f71978f0819286d8964f + last_write_checksum: sha1:a2719ee24e517a0aa109ee86061b0d93d0e1ec30 + pristine_git_object: b7a542f1b0630b97f87bd6e4387747baac973657 src/models/apikeyquota.ts: id: aed44ef24157 - last_write_checksum: sha1:c778583992e4870e21c772c3c61e7605ae0fc5df - pristine_git_object: 17cb5ee970d71e925eb1252dd38d02ff2a829003 + last_write_checksum: sha1:1f2a211c56cdf304d45837cfc36ed6941424d822 + pristine_git_object: 27eaa6782c5d68e840cabe8ab86be8b199177459 src/models/approverollingreleasestageop.ts: id: 32172d3f5c34 - last_write_checksum: sha1:7fa69debdb7a301a9e2d986eed0e26fe1557cf1d - pristine_git_object: 70f1a9cc0103ab8e48be571aba1f87d43c8c53c0 + last_write_checksum: sha1:d67bfbd5f4d313fb441871f6a51bc721f1fbeb17 + pristine_git_object: b2a9a3443a9910ddf43f591be3bcdd1d02b4b829 src/models/archiveaigatewaybudgetdefaultop.ts: id: 0ad0ebc04207 - last_write_checksum: sha1:56edfd87dd046fec236f179c02790c409ea54773 - pristine_git_object: 4810e8a5215f35838044e08ebd539f86d0b15f00 + last_write_checksum: sha1:48b32d9676012616cb1366619d5072f718da5e31 + pristine_git_object: fb8f3b55d0ed4307ef4b3584081d339cef9e7952 src/models/archiveaigatewaybudgetop.ts: id: fb49e97e81c9 - last_write_checksum: sha1:13df0527168721da015b86a4ddee865952738817 - pristine_git_object: bd53500c83e1ddfc15e67048042beab1b2fa8df3 + last_write_checksum: sha1:fa4693dce11e77470797cf0d1562e05998066e23 + pristine_git_object: d01152a901cfcbd11801acbcd617a41dd4209a93 src/models/artifactexistsop.ts: id: a9b7ed75b82e - last_write_checksum: sha1:b93b6fa5498d9330fb90b8d3e869e82616c92271 - pristine_git_object: 58c592d254a2529de8c96e6caaaa5f6db15149a6 + last_write_checksum: sha1:9bb2d27e1263b3b6efa40ec3a2c0ce2ac9a9e3a3 + pristine_git_object: e0911eef1adb5f6d37613dba09be935c342b8e7c src/models/artifactqueryop.ts: id: 366ef9a09126 - last_write_checksum: sha1:f859497fb8fcd36d5a8fbb3db3112d1aad8799b8 - pristine_git_object: a945885cf8e0333c75215e5cb50a64879d14ad0e + last_write_checksum: sha1:0bd9f27b3652c4113b8f2ff36df213fe5fb70303 + pristine_git_object: 05f37457174b8edb2c6acf83d41befd38e39ae9c src/models/assignaliasop.ts: id: 57bc82540c97 - last_write_checksum: sha1:197f9bdfb5de25a6feb9c2bda11df34529be9328 - pristine_git_object: 3921feac6b949f24b4e66b0492e99833b6f2da31 + last_write_checksum: sha1:07cb5152039fa7d9cd9d4f0bdda175cd55ff6d3a + pristine_git_object: 422b123d6a7b73fa51a1ecb60ef7824624007023 src/models/authtoken.ts: id: 7475fcca41f9 - last_write_checksum: sha1:bf51c01678560d5e9bcd3365d6966e4ff86956be - pristine_git_object: 7b9a01a8401bce7cd4512c57182845447122703d + last_write_checksum: sha1:a6c5fa836f023a705a40551c2b3acd1146f5b73d + pristine_git_object: cf1b96f329d8533eaf1c172590cac1057e0239ae src/models/authuser.ts: id: b63edebaa2d6 - last_write_checksum: sha1:f836a0587d0f165a5ced8b99745768a52cf4d30c - pristine_git_object: f1127e903a23ac2d86a05f47e7690fb79616f981 + last_write_checksum: sha1:b736deea06ef43a43829c6de542bef0cadf0068d + pristine_git_object: 85e832aca2d17dd16226c419a06f3c16772b3d60 src/models/authuserlimited.ts: id: b2b1f9fb9258 - last_write_checksum: sha1:56599c997976b208400d0e709604986faa9aa171 - pristine_git_object: 67d8d0d89f04d02bf566d9435bcf0068ad12860a + last_write_checksum: sha1:c6dc5e9ffffe3021d1f84723041fc89018e79eb4 + pristine_git_object: dd2892026efc8c676f1a65c73ac335ac7d22f573 src/models/badrequest.ts: id: ccacd9f7a6bb - last_write_checksum: sha1:d2ac17b6c168602e9fb3c6b22e3f6eb8abcbb2a9 - pristine_git_object: 76efde3bfc146dc5fdc8a03779294c1b6ae41164 + last_write_checksum: sha1:8a7df42d2e7f3095663188418fbdd371e0b3cf8d + pristine_git_object: dd636e63de66f0f2b6a51380cd7e49c4f3fcc267 src/models/batchremoveprojectenvop.ts: id: a27aacb6f167 - last_write_checksum: sha1:07802bdf8faf66877d0620280c9b92630762365b - pristine_git_object: 9a6d4e07ffbf045b065d989c75b9e6b5e08c1bd0 + last_write_checksum: sha1:388b790f83327b40ad00ecf0fa947062f90b3b72 + pristine_git_object: fcb353c4ae3a3b3ef11c14c6cfea71f6f9246b13 src/models/boughttoorecently.ts: id: 8c576b02113d - last_write_checksum: sha1:fac722b1d07219efbd96b2e07b834b3a733a2316 - pristine_git_object: ddfd11ffbee7a75be0b6c8c881db04db99b23659 + last_write_checksum: sha1:58928ea5d65179ccd15b6e53b687e0cc927d5090 + pristine_git_object: a37102bfc776516b8cc8cf161efa6b4da9df156d src/models/buycreditsop.ts: id: 855b6f102d08 - last_write_checksum: sha1:9e6e47e8e6a55a652f6945a691096f9817512356 - pristine_git_object: c1c4bfaac3c07e03f006a0fd2f07f878df9fb7e6 + last_write_checksum: sha1:e1ec6ea49b4df056f847bac75a728f2c2d96a28b + pristine_git_object: cde062de85c3b3c4991afecb0751e47535502949 src/models/buydomainsop.ts: id: 7eea0fd73ef4 - last_write_checksum: sha1:312f6cc694512e2a9e630b5a6e0a0b49e0d7d360 - pristine_git_object: ee1e08a1e11f1ee0b3b0ed85a12645b549aaee9d + last_write_checksum: sha1:935f4a44524b022666c061271187a80299c4b980 + pristine_git_object: 5caec187d922640e2b419e9d3a2850d230eafcc1 src/models/buysingledomainop.ts: id: 67e59beaefb6 - last_write_checksum: sha1:23a16b099b50e8e421e9d37c4c779a9471f8ac43 - pristine_git_object: 93b5479090acb2414e2e0ac754ee9f3b331890d4 + last_write_checksum: sha1:02d1d0c4332c0aa6a032b9f06af89ecdf55d71bf + pristine_git_object: 76431858dca54df4c37083c98d91d537d047f481 src/models/canceldeploymenthasdeploymentsresponse200applicationjsonresponsebodyservicestype.ts: id: bf7b74437e4f - last_write_checksum: sha1:fcfd3826cc29f9b69caea1f7af30d898eb78baef - pristine_git_object: 0e3e2d0e2ad19020523e85d68ac4ac4d58d59d9c + last_write_checksum: sha1:28eaee45dbd62fc26d988689d8e1a4c1da9412b6 + pristine_git_object: 8cafd50714e6023ae896db1e3683886b9824529b src/models/canceldeploymentprojectsettings.ts: id: e81a8cf66577 - last_write_checksum: sha1:7d4ea214571a495cab4db8ff2bf6ac0674629fb9 - pristine_git_object: 2cd3d4135882d2d9aaa909839e9b93bb55b4aae8 + last_write_checksum: sha1:518ffd26396bb2cc2074132dbc923cf93c648c65 + pristine_git_object: d05bd21a0198dc197a0d2b2b9d07b133a2c0d6d9 src/models/canceldeploymentresponsebody.ts: id: b65eccc5cd5d - last_write_checksum: sha1:699c4d052d5917ee9dee6937a923846804ee117d - pristine_git_object: 355f3cb6e95d1a941c672df754805785d88b1613 + last_write_checksum: sha1:c4892aa3cf80354a7e5cb3572b172b6898881b78 + pristine_git_object: 2701549f201f5a4c1a011b49c8851c912c048bb5 src/models/claimdomainownershipop.ts: id: f5d6aef2f147 - last_write_checksum: sha1:4d46e585f34c9a0bca6b0b3ba86f4b6f9282f2e0 - pristine_git_object: f606ed0950cc04a52bd2ded7686cf1640c3796a1 + last_write_checksum: sha1:2f1a79d365a9ab751281deabf6348cb6da2055d4 + pristine_git_object: 1815d6947a39b989de3debfab83f49e3bb278155 src/models/clearrepositorypermissionsop.ts: id: 9ff10010053d - last_write_checksum: sha1:6499180b7b3e08102ec80d9649125eba39191472 - pristine_git_object: d1077aa993e370e16c877ed3596711eae61c9653 + last_write_checksum: sha1:6b9b674ff2623d1c2a79057c0f2529d457e553be + pristine_git_object: 0844cfd4205e85480ca779387da5d2178f602056 src/models/completerollingreleaseop.ts: id: 2bfaf5ec9941 - last_write_checksum: sha1:8db9fc9eb9b0c59db69c5db8483383beea0fc6a6 - pristine_git_object: 6849c479a01eb968783f7e0ad07df2515cc1bfc3 + last_write_checksum: sha1:ad0089a0f02c0c5f96f9cb5702d6ecbdededee49 + pristine_git_object: b25341e3726a6af44cc8fba25ebe477c01ed80e0 src/models/connectconnector.ts: id: 017d97801158 - last_write_checksum: sha1:803bbe8a2e291b238d8caccaf36ffafa401f4c27 - pristine_git_object: 0b7d366c611297c662543294903d9ec944e95b0e + last_write_checksum: sha1:b9fc3b8b704b7393437276f00e4ccb957bda0950 + pristine_git_object: d0dba2b67405c0fdc22d2c4c04d21a1304118ad1 src/models/connectconnectorlist.ts: id: aa701215caf2 - last_write_checksum: sha1:0ba212f60e8959c3d24a29575255d2e42b45f129 - pristine_git_object: 23082c8dfdfabc1c0f40867976f0cb773cbdc7dc + last_write_checksum: sha1:8c000893a3d0e36f6ff30d2f8a6fb4e5a5612ca5 + pristine_git_object: 6fd14430f60866e25fbdc623616445dee87bcfc0 src/models/connectconnectorprojectconnectionlist.ts: id: d9dcdecb207b - last_write_checksum: sha1:4958a01c58f9e4b9b15e55e5092462a40a146c2b - pristine_git_object: 9ea358db68d39a5757510ea5558d9051c7744c4b + last_write_checksum: sha1:e50d2bc388b50106a4005da92417c5beecccc89f + pristine_git_object: ecfcc1216ea4faee3affdaf062228edc8607534a src/models/connectconnectorupdatedata.ts: id: ea9f851b7604 - last_write_checksum: sha1:ab9e59b7d57bcb38bc96a2e85eb02ebfd4a47600 - pristine_git_object: 2cb1b0b8ba727e578ec8c26ee2b2aa3fd803e249 + last_write_checksum: sha1:753a8f1341c0c0e7c44e63b99f64fed198453de9 + pristine_git_object: 193730ee327f7649d6e764625d862e6b775b6fe8 src/models/connectconnectorupdateresult.ts: id: da3d8d9e29a3 - last_write_checksum: sha1:88d1dcbf1d720ff84226f025597088f00ad94d10 - pristine_git_object: dfbaa78aa0d3ca8f0237b6234c2012dec68ee1cd + last_write_checksum: sha1:68c928a07bec485fc76b9d703cbc5797d13e8a04 + pristine_git_object: 0b377ae958fd8e2ec22891f49291d1402ad9bf6f src/models/connecterror.ts: id: 58b1686e74c8 - last_write_checksum: sha1:6c4cb1bcaca768aaf761af5a77ca30fe75697b58 - pristine_git_object: b213ee42664915fe4202640619eed26b60bc1c3f + last_write_checksum: sha1:b484607c7493ffbe50eff6ceb740bb7d5f141bf5 + pristine_git_object: 6070b4b594759d883308898d2a0fcf92ae6dc0e0 src/models/connectintegrationresourcetoprojectop.ts: id: 3c31fabbeca3 - last_write_checksum: sha1:67325c7ed06dc7aae7697d70477d7a34eca1db66 - pristine_git_object: a209b4d657ab337ecbaeba53123c5116740dec52 + last_write_checksum: sha1:85ec59f6366cae06c542c66be44dd97456d3c0a2 + pristine_git_object: b76fcc7f2c9e2b0f899d0b9e46b7d672bc9168ac src/models/connectpagination.ts: id: b59ed9295d7b - last_write_checksum: sha1:e9a3eb455e185142eacc318b00db642289cf80de - pristine_git_object: 64d19c953d435dfb2de39d5624bb659071c7d113 + last_write_checksum: sha1:e5c7436af65250c28fbd1f521f886e7f4c3d40b3 + pristine_git_object: 104b238071cd1533cb9268c0b8801eccecdda5f9 src/models/connectprojectconnection.ts: id: "023901587694" - last_write_checksum: sha1:3fc599a2f642f14441b1c050981c0b0ca8344dc2 - pristine_git_object: 02ac1505b2f09c5b5e986d18754c8418a413bb19 + last_write_checksum: sha1:2399eb5ff349f21e232785e9ee3df86b33efbcce + pristine_git_object: 91b516714406e1080aa8ed94b8f493fdca30e2c6 src/models/connectprojectconnectorconnectionlist.ts: id: fdd05402b0b5 - last_write_checksum: sha1:6845e432b409e6c11456994956594b3dddba91a0 - pristine_git_object: 7cea4cc24c7a12a6cef5a9c81bccd1666c737fce + last_write_checksum: sha1:bdd135b88a214d48ba4de80657640cf12e8a0c7d + pristine_git_object: 3668a415ee12e479d26acecfdd9c604f23a6da41 src/models/connectreconsent.ts: id: 5704ca603a67 - last_write_checksum: sha1:fa7dbafe5f7fa653fadf3a5285869f55437dfe81 - pristine_git_object: b184ab1f9d09b244fefff8ab6b13d482e134f525 + last_write_checksum: sha1:4b628f353512cac7c5d6d2ddcc681f5a6f81f670 + pristine_git_object: a0523d1cca8a01a6a3f80c8ab13b45c44538fc40 src/models/connectreplacetriggerdestinationsrequest.ts: id: 9cffe1bf02f9 - last_write_checksum: sha1:2a7700f08b27165598ca3ea2ada2efcbf2e3bf8e - pristine_git_object: eef7da0a0e89a8a9dce3238092739bac0517c68d + last_write_checksum: sha1:99b030b39ff440c8dcb7c180f1b7f5167a2c5a9b + pristine_git_object: ecf2d8cea8f6aaeb90fa88aa744cdb0ea849ce2d src/models/connectservicesync.ts: id: 76c528534e28 - last_write_checksum: sha1:9fc9252e7909bf6b942adb19148b17a3d6eec2ef - pristine_git_object: 85e285f4544c9ca5cb31817639344cce6e9c2f83 + last_write_checksum: sha1:37b3e0238fefca198b5a577485e722ebf3e4a811 + pristine_git_object: d06f61ba0543f633a70684198d8e80976e2c424d src/models/connectservicesyncerror.ts: id: ec5e379fa0fb - last_write_checksum: sha1:fa1ee8b6e12cc79cb8d5814f5b1230822cc03623 - pristine_git_object: 059c0cd037052ed4fffdf2c3b946f6b701224cf7 + last_write_checksum: sha1:1502e01b1a642fb74c9f2b8740d1c59f3ee71f2f + pristine_git_object: 638833640531d40d235ac4413dc35b49e9d3a41d src/models/connecttriggerconfiguration.ts: id: 092756481e7f - last_write_checksum: sha1:b013815d02d5d5da16e27f348af9ae11c0a88627 - pristine_git_object: 5868d9bd0bff95ba8f1a34602caf5226b8a8fc2d + last_write_checksum: sha1:95d4493f8f4f1f0f07361b8fcf87cc2ea9315e0e + pristine_git_object: 3d895be2fd412f4c3e8ae2654c068458ea71ae8e src/models/connecttriggerdestination.ts: id: 65aa5cbf2c91 - last_write_checksum: sha1:27b5c0276980fe8701e1b4dbce4334432295a2f5 - pristine_git_object: 07fafda4cf7d0b766a728f1e648926c4d64a686b + last_write_checksum: sha1:8a9f56d47b7b688ca5b2b88b9c14767caeff4e9a + pristine_git_object: ddde7d69dce8b445244135f96cafa5a9a93a0829 src/models/connecttriggerdestinationinput.ts: id: 91133a9d0718 - last_write_checksum: sha1:665f47012c245e9fe05ed33bea67167d69e619fa - pristine_git_object: 15523d241b9e1f3d291ea470a282c59f37648121 + last_write_checksum: sha1:b4cb945cbde41cfc2572d5c31b41db4e38875a60 + pristine_git_object: d3ebd37447e3309102feedb0d4fe46cc0fa2b14b src/models/connectupdateconnectorrequest.ts: id: 80de65694cee - last_write_checksum: sha1:78381febb9cb21ed3e3196bdbb6262473a8bf4f0 - pristine_git_object: bd5aa9d011e6641724255884860a0dc53fffc23e + last_write_checksum: sha1:f57772e056d30254e4253c24b0612441be6a5a06 + pristine_git_object: 5743dfa1ec6cd8bce2c6c36d01647ce8157b88e7 src/models/connectupsertprojectconnectionrequest.ts: id: c1b06b5a2b25 - last_write_checksum: sha1:d58dcd46f7671b9cc8e6f6ecf7ded81ffb0d1661 - pristine_git_object: 49745e1e3d6a12506f71a8ca73182e31059710e4 + last_write_checksum: sha1:57b0c749e71b36084bb403d9b8a855adc6edbd7e + pristine_git_object: a716be7a8d3ddc5a63c0cc0d3e950462d1b1a6d4 src/models/contactpendingverification.ts: id: "386550676980" - last_write_checksum: sha1:4eaa61ab161b0264c4d3455636ecb8f0bfec4324 - pristine_git_object: afa56d9e60e0b807d8b822eb474fe22cb5b7d054 + last_write_checksum: sha1:cb1058de974c71f776ec9f4f134cb3d147755add + pristine_git_object: eef02602c62eefc688ae321379d5943f607371ea src/models/contactverified.ts: id: 751d216f8639 - last_write_checksum: sha1:8c91b90a3a480f20fd14c3a64fdb52dc8c38ec30 - pristine_git_object: 47e2411d0bc6dd55301a8e2fca6019a25fd19d8b + last_write_checksum: sha1:ab29e319129dc60f5435deb9212bddf2821000b6 + pristine_git_object: d9e08e47cb289cd42bff5149d7f3e94aa2e94f07 src/models/counteventsop.ts: id: 516a6b85a593 - last_write_checksum: sha1:b3b9213451bd212986c325eb8d4895357e5987e3 - pristine_git_object: c1cd7d81cb34915ce50b2c8ae80ed53c1005bf6b + last_write_checksum: sha1:7ef71c9c6ac497266e70cdbb0727eed9161dd25f + pristine_git_object: 636001eaa3a55af1ae1c42f24484c78a3739ce86 src/models/countpageviewsop.ts: id: ad4fdcbd7d44 - last_write_checksum: sha1:204d9f6264e7c9a6c685f00548c4e2642b3d6f4e - pristine_git_object: 44d4c944a18518fd47602d5d0337782836bcf419 + last_write_checksum: sha1:514ae0b6d570841366e0cbf0ab8ba34ad54db046 + pristine_git_object: 8182c9abfa4b8dd0dc4ccdf55424ad349bef6627 src/models/createaccessgroupop.ts: id: 7c77ad02de19 - last_write_checksum: sha1:d5707b4ca1ccc5272d80bacf41101802792474dc - pristine_git_object: a626740ffeaa01b8e8d0d8460898910424d1c39a + last_write_checksum: sha1:74c093534c7361612fa822306129f8afd367eb2e + pristine_git_object: d879970663d763d1eccbf91f2c0724e466698888 src/models/createaccessgroupprojectop.ts: id: 86e544a55043 - last_write_checksum: sha1:074d8efb09563ba1edfc0643cf4568126bca5395 - pristine_git_object: 2a0c452cf06c13e08a6f252202d315e53019f0f4 + last_write_checksum: sha1:445a2287001d791a4d9d50a9d45559f7a7aba1a6 + pristine_git_object: e418b49adfce77dc714d16df60315ecd9a2d500b src/models/createaigatewaybyokcredentialop.ts: id: df5c3087d938 - last_write_checksum: sha1:ca1980f03d1f0df6dccac0c678cd8e7648298619 - pristine_git_object: 48957bf2228372615a7db621a81941f417aacd22 + last_write_checksum: sha1:a3ab3dc5ac24f1636bffec1df90f0a3cd2392123 + pristine_git_object: dcea1b6c9b5e60f27fd059c556a2de3f1347661e src/models/createaigatewayruleop.ts: id: 397255cdf149 - last_write_checksum: sha1:3219edc54e7a2b9e7aefef8d48ebac2c920d51da - pristine_git_object: e5479f4ed23cd395744a66eb7dff3c20d7ebab03 + last_write_checksum: sha1:3b6376891eebebbcd1a492f15fe5455916221562 + pristine_git_object: 3e448f4fe4e9af65ffa06a6a1c4af8462208a277 src/models/createaigatewayvirtualmodelconfigop.ts: id: b0629dd8c250 - last_write_checksum: sha1:39d04c3b39d77bf1d227163407669f18f8279a4b - pristine_git_object: 85688f432a7a733bf7c31a7acba8294281fd4e56 + last_write_checksum: sha1:cab6410dd543e5386c4430f1f34403a148b30e13 + pristine_git_object: e92a5dc8a6a3a4f9a8052427e4eaeaa48ea03af5 src/models/createapikeysop.ts: id: 033748c47d63 - last_write_checksum: sha1:63dfbb32259209e4e6e189481c79caf56a1af125 - pristine_git_object: 581b18dbd4454426e566fd61eb93f3bc2b1e650d + last_write_checksum: sha1:476f4339fb5ccab7a6fd901794867281b62938f5 + pristine_git_object: be6a58a59c65e4814f205dacd4bd3fe82aecb34a src/models/createauthtokenop.ts: id: 0faf029e7b06 - last_write_checksum: sha1:79a3c0f8dd0921318342e10a09044350fb1320ce - pristine_git_object: aea8338e20eb8bc9b343d7f9fbfda393048d4ac9 + last_write_checksum: sha1:4fcb39b97d6f52b78b58fde643b165087b5b0f4f + pristine_git_object: a760fb2c775abee1772a27bc5f890f119db53af9 src/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.ts: id: 00b83e36ede3 - last_write_checksum: sha1:38bf3157a7a9b5669e245b9eb515be8bd8a23a1b - pristine_git_object: bd8dd3ddb3929a9b4913da786cc5ccd770707624 + last_write_checksum: sha1:5164af8f33004dfe731c2031bf4e597a436fd803 + pristine_git_object: 3289f318bd1bdae08e687af6749b9e3a3497afd4 src/models/createcheckop.ts: id: a65c8fe83822 - last_write_checksum: sha1:1e47e597a8b5ec0c344e2f42a59b3dfa24a0a0c2 - pristine_git_object: a7cc00be2cd33cddcd9cdbd367212eadeecb32c0 + last_write_checksum: sha1:d6cdab2ed900d585fcde4ba1dbfff3a3aa4c710e + pristine_git_object: 03c9cecdb5937337763450ee9e644e17c3d114a5 src/models/createconditionalbypassop.ts: id: 821762fbe8f6 - last_write_checksum: sha1:bac3a91e0d6c54afb1475889b74d3b39921fe213 - pristine_git_object: 5122bf40740063e6ec0b561e9633f05fe8a74f4c + last_write_checksum: sha1:136a5776374127eddc0d8c04df1fe5789b47d7af + pristine_git_object: 8dd6810b980d1578dae1bba9ad8a4cedb65f031d src/models/createconfigurablelogdrainop.ts: id: d4adbe801b04 - last_write_checksum: sha1:c0c5aa6e99018b63e5cdb8ba5262b3abe9f11a46 - pristine_git_object: 9957007fc07ab772981eef01653025a2e1d58c9e + last_write_checksum: sha1:250ee211149f2551015cbb79fe302091ac6d6c60 + pristine_git_object: de6fdcbc7be7b6e65d72a3c3143cd877e1aff3f2 src/models/createcustomenvironmentop.ts: id: f785b2d5054c - last_write_checksum: sha1:5f358616138c7cffd9f6e7925c014efa096e6832 - pristine_git_object: 39fcd7022036bab5a3ccb745cddf6f8959b182a3 + last_write_checksum: sha1:3d100bb927f255ab6bd65051910efe50712b36fb + pristine_git_object: 4361df1d85f3450e757cc4b1cb9edc6c65a5d380 src/models/createdeploymentcheckrunop.ts: id: aeb8c5e669db - last_write_checksum: sha1:5334b940ef6ada8d54da75b997709ec968d8aa1b - pristine_git_object: 2cda101406c5cd5004d13bfebeb5890a52fed1d1 + last_write_checksum: sha1:4727fc406fc48a290f92867e1d646f07ebada518 + pristine_git_object: 583b50004a731cda7728b8c7424a1527d117ad75 src/models/createdeploymentgitsource1.ts: id: d64212d1dc4f - last_write_checksum: sha1:e1dfa763002b8893c9e90afc18a44dea7f335a53 - pristine_git_object: d60079990c7fa86db06771a5352acb8bad1a1c8a + last_write_checksum: sha1:ada1615006fac83ce32b647be1d02039a3d68725 + pristine_git_object: f0be43997461fe52efc086b1060126fa2c1f1e8d src/models/createdeploymentresponsebody.ts: id: 0d506be2ad19 - last_write_checksum: sha1:d00a26c28831e71a932d1ff37bc8c7478649d7b0 - pristine_git_object: 6d3e73cb573578c7e66e6a8e5bbdea9c529b43d7 + last_write_checksum: sha1:c626455c85d2a44587b36db925f1ff34a94d4475 + pristine_git_object: 253b5e6e5b1750821fe493ed1769d6e22384039c src/models/createdeploymentresponsebodytarget.ts: id: 6b527fe458fc - last_write_checksum: sha1:d6fe1cdbec8e1ec26ffdc56656fa050a7af5a3d5 - pristine_git_object: b54ee5a315167a7fccd7adf9f3da4f63e32082b0 + last_write_checksum: sha1:0cf6403f768ba0895e2b0da65b6e68434c844029 + pristine_git_object: dd98964d813e60a5d9442f60ead042cefc8a5c6c src/models/createdeploymentvaluedeploymentsresponse200applicationjsonresponsebody2serviceseq.ts: id: 4f04d281441c - last_write_checksum: sha1:5bae48ef84ed146dcc183f4e7389af15e62974ec - pristine_git_object: ad3cd1efcbfb366c341c736ec273919344c28099 + last_write_checksum: sha1:ac2e1d52f0054212e05ed63235f6ad40375780e7 + pristine_git_object: 8a1b0c21b10c59334bb56a43f2c760c9ebea10ae src/models/createdrainop.ts: id: c8cc05eb1602 - last_write_checksum: sha1:04f7b6db0a10e0e167f598a8024052073f459cfa - pristine_git_object: e23358c1fa53009bb728bc34f3a2f66da006634c + last_write_checksum: sha1:c0834eef682b175fb012a4c10bdb8f47551170fd + pristine_git_object: c268919fcd3c786f72bb4e2ec1e8aced6ff8eb14 src/models/createedgeconfigop.ts: id: 5014f02bca58 - last_write_checksum: sha1:222b128b9099c1babdd56ef751dbb101f3508fea - pristine_git_object: 63ca8ac0ca0a8b3ed7ebf0f013ef676fdfc84ef7 + last_write_checksum: sha1:6526bb4e2453104c522dfbe1445878307ee74d28 + pristine_git_object: f9c6b49aeee869f2f1d0fba35b75905ad1db5d13 src/models/createedgeconfigtokenop.ts: id: b66937b90ddd - last_write_checksum: sha1:3df17363b1449dbfbf5bc538fb4f8d2ca204a805 - pristine_git_object: f16147809d49a988881eedbf9f197f23f0414383 + last_write_checksum: sha1:fc8f3f5565445c53b835b345ecdcfed459fe7f52 + pristine_git_object: 27706cff48c231a62c6ad34e86297fe142ed9ab1 src/models/createeventop.ts: id: 92a78ad8a2d5 - last_write_checksum: sha1:592cc256f5fe3b25104af31ee60c934e609435ea - pristine_git_object: d764422048cecf6a4145724552b415b8125eae27 + last_write_checksum: sha1:bcb3b48fb96160e7ab94d43134cd5d6ba2f41fb7 + pristine_git_object: a9a04d440f6db05dba7342f2b667316fb0297ce6 src/models/createflagop.ts: id: 4c7d04525e26 - last_write_checksum: sha1:892750f47de6c50dad1ccf448e4f733ae7c7b58b - pristine_git_object: 5150da7dd8624d6ebb314392ef1fed77d5a7faa7 + last_write_checksum: sha1:8053986b2692b5e00a6410ffe3ae775272c7d7b1 + pristine_git_object: da5cd70f279e1bd3ee8923746e3bd0a791b263b7 src/models/createflagsegmentop.ts: id: eb085bbd3134 - last_write_checksum: sha1:da345d71a0e5a470a0de68c57c6ed8447be401fa - pristine_git_object: 0d2bc4591ea0b20c7f09fabcebbaa74ccd99b4a1 + last_write_checksum: sha1:2f588f07a95a08547951ba339429364eebd47882 + pristine_git_object: c023544f5e5da1dd0c4aa2bf1bcdaeaf3d4f1bad src/models/createflagsprojectconnectionop.ts: id: 4e9aa6d53ba1 - last_write_checksum: sha1:239fc74c6341f0eccb7e3d720e292ec91347abec - pristine_git_object: 726135362c60549bd4092138c43474fa5b6712f7 + last_write_checksum: sha1:88fd844aa6eaa5ca04d877447a74407805efed99 + pristine_git_object: ca2142f1a015bc8ec6e0dff81036d67d01df056d src/models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.ts: id: 5f92ea7e265d - last_write_checksum: sha1:5924db537f45e29eb99eaf3b3923d6161f191acf - pristine_git_object: ff23363cbba5092b99c5b0f148baa18f5a970dd9 + last_write_checksum: sha1:6f6e3c6b7debd7427430d62325b236379c474d10 + pristine_git_object: e0c65045fad792407fc6817b9295fc1c5a2c6325 src/models/createintegrationstoredirecthiddenintegrationsresponse2003.ts: id: 86bff094d0c3 - last_write_checksum: sha1:28fea43abda5fc8a837116fbbef0b97984811298 - pristine_git_object: 7a7bde8dac77a8643a16b3c72611839b590b0680 + last_write_checksum: sha1:12f6d21fe6f7f2d862e966ee44c0230b11e9b973 + pristine_git_object: d50537c9887a8d35ed1f5b6d43dcb5f07dfec5bf src/models/createintegrationstoredirectresponsebody.ts: id: 6d815c2fcc0c - last_write_checksum: sha1:0850e3a2d7b0d95bf203cec9d674316c33874c9a - pristine_git_object: 03cb4507e54011372ffe240197199d0831581137 + last_write_checksum: sha1:8b9e80d3f950a4d5247ce87fec1cb01a42d7420d + pristine_git_object: 26e7ed9faba4619726c140be3effa59d0a26e132 src/models/createkmsissuerop.ts: id: b78cb307053c - last_write_checksum: sha1:425f75abbe5fa28b7021a2b62db37932e354a276 - pristine_git_object: 94cf941236b95a9a266ae67e806f8b720fafa13a + last_write_checksum: sha1:e7092f0b0b9836bbfbbf5a0c8c0477c511436a7e + pristine_git_object: 4a387d7841a9fe89f8710eff3ecf523e6a3f8c47 src/models/createkmsissuerpolicyop.ts: id: e80fad8b1f16 - last_write_checksum: sha1:481efbe5381b0036ba0038f0b63b78da74e4b6db - pristine_git_object: 4acfafcfc2ab7a55a0714ffa1a47baf75d30f564 + last_write_checksum: sha1:185ff353ec8f0706544133e0b313ad3cd80288eb + pristine_git_object: eba289abc1f379b982b5b8d289977b2065b8d5ae src/models/createkmssigningkeyop.ts: id: a509ed808d37 - last_write_checksum: sha1:3274c05639167fdeb343a402a57a9e70c3df4fc8 - pristine_git_object: 43ff17947411c7c43b7f681fdbcdb2ad0ad97391 + last_write_checksum: sha1:3348c90006595603858b99401d51bd515b8753d1 + pristine_git_object: fe298397c632aafdc2107531cad301aadb81619e src/models/createlogdrainop.ts: id: 70be74e71f52 - last_write_checksum: sha1:1ed67c5b1f9946cf20274f74dbd1b123dad8abd8 - pristine_git_object: 1f7741f0be36d2c12c22d6bdc3ed42af7dd995e5 + last_write_checksum: sha1:539d632948fd9c1a9ad7c359d9ded68ab4036108 + pristine_git_object: b6fb90669326fe128be4b4c97b7f005e8100b558 src/models/createmicrofrontendsgroupwithapplicationsop.ts: id: ec262dafc49d - last_write_checksum: sha1:e8a8c1867700eed5186b92d0662e0b81547e4853 - pristine_git_object: 60141e6e9d5451a63d9ec9cee75af94ebe0e6d23 + last_write_checksum: sha1:a0880a4491ee313c518e037180f949cddd5a162e + pristine_git_object: 621f623bfd5693cbb552a748762060cb4a4b5ad6 src/models/createnetworkop.ts: id: 47f8d8d2d265 - last_write_checksum: sha1:681076b12981cda16ca03af6a182c94806da179b - pristine_git_object: 148ab814a0a2784b8cdc9d3a41fc72f8e641edfa + last_write_checksum: sha1:c79b516c942d47ca1ccd93f20eedb85b806342d0 + pristine_git_object: 54334e7ed6fa3e63625507e50346fd71cec96f74 src/models/createobservabilityqueryop.ts: id: 9db06023e884 - last_write_checksum: sha1:1b61c04e604904b0d053a066e7813d6cd7ceb896 - pristine_git_object: c30f691c5bacf5c3be12e003451c2a05f2b2f0d0 + last_write_checksum: sha1:e96f176c0a399fbf8e712bff32aa53a6c0be4981 + pristine_git_object: 82d7f8d67f32a46a158267e60f2a2a410104dc36 src/models/createorganizationop.ts: id: 7198214b566d - last_write_checksum: sha1:4a7d3d6bb1aa7a5af20ae34f338a63aa66022fce - pristine_git_object: 12c80b8131be30e87a668f1998e8c822b16af2a7 + last_write_checksum: sha1:ec3c5d69df51d761c8ab1d391bf0079cb84f5c5b + pristine_git_object: 02dae94d4ddfc77bc5fc3b5be22972eb028812e0 src/models/createortransferdomainop.ts: id: bfde62b88bde - last_write_checksum: sha1:81b9b891b62cb4c92b411255d96c90c1ed9de5bd - pristine_git_object: 861dce6a4d90a7fa62e2d27a9b6de0409ea8913b + last_write_checksum: sha1:ef8efce61e0a236c6232c3e34a43aa746944205f + pristine_git_object: 1861d17ad901907f0044024b3afe0c4775eaad40 src/models/createprivatelinkendpointop.ts: id: cfa09891d9e7 - last_write_checksum: sha1:aab7c267323271708d1c6a851d166b0a5c625448 - pristine_git_object: c0a8b7af7bd563e2e8c38a7615bc7cda0870db58 + last_write_checksum: sha1:06c71b5a4d119431f3cca1f96dba0615f0304c00 + pristine_git_object: 2f4d5fd4d4d4df3d108e226c55cb655ecdde108b src/models/createprojectcheckop.ts: id: 4577fe5982bb - last_write_checksum: sha1:431c5ca5c64e0eb37cee2be54f0035ab90ddc48d - pristine_git_object: de637d0e9e3d60a53e57d72b96ad2b4bbae2be05 + last_write_checksum: sha1:4a2d9a56b1de7cbd4cace1af29a5f78f4a92e948 + pristine_git_object: 4db23d83ddd95f4b9cb1ebb83e6297d20c02c333 src/models/createprojectenvop.ts: id: d1eb695be98e - last_write_checksum: sha1:8c6ba3608892206c68388a3157fa5ef22957a805 - pristine_git_object: 2771583c9032a69f5553df00bcfccd023b27c400 + last_write_checksum: sha1:6742f2cac3361a8a97a4d8d8d9be98c13f1b4f40 + pristine_git_object: 73be878e808fee60a5f9f412debd045e58e1e815 src/models/createprojecthasprojectsvalue.ts: id: 4a19d5ef280f - last_write_checksum: sha1:d83895ab57851119b960c1797d1e072293d8195e - pristine_git_object: 425db2493509bdc82a398d1ba6982d9d7714a8be + last_write_checksum: sha1:a4317dd784953685869c892f00239d41c2a16815 + pristine_git_object: 7c7df617cff97ca187ac9e13ac9f9ccb0e81778e src/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.ts: id: 03c53bf3d9b2 - last_write_checksum: sha1:15db233587c1983295822dd1134a85b0d4508c5f - pristine_git_object: 9ab4ffa21a107ff6c487ed8373e37a23e26dcbe1 + last_write_checksum: sha1:bc9695b5690eb7db0f3b299aa02b29cc2c154bc6 + pristine_git_object: 3cd7eba52db9fdc1659376017246f6bddf1dbcb3 src/models/createprojectresponsebody.ts: id: d15d99d28ae8 - last_write_checksum: sha1:8491090207ebde258a1741afa5081ae5c80d6116 - pristine_git_object: 78befde35263ff8ff595e5004a677a4723cc6ef2 + last_write_checksum: sha1:a07bc5796c6e5efdfbbb333e83c7b631d728efc3 + pristine_git_object: 1d7436d921127299c9d774fcf61d94381f2e880a src/models/createprojecttransferrequestop.ts: id: 092ae4e7264a - last_write_checksum: sha1:b02fd38b9fd16329f4464885f707c71753381390 - pristine_git_object: 198c131747cdbf435d83138b001fd7c1040e5a22 + last_write_checksum: sha1:86d7d98440cd978e43ad6b64ea509c38635c905e + pristine_git_object: b130948362b26baeabc908a09a5a72532826b379 src/models/createrecordop.ts: id: 77d8d374f7e0 - last_write_checksum: sha1:8c8cf3db5005570078981737fcabba9b0ff33f22 - pristine_git_object: f68ef0db8a43fd8439e35eb61e906f64d6e6fc80 + last_write_checksum: sha1:5a9515899ef4ba93ee58c582fb618398d065250d + pristine_git_object: a13fe442b8add277586e5548a414591f5d6c4f89 src/models/createrepositoryop.ts: id: 23e637126315 - last_write_checksum: sha1:7610e2677b1059c38f6e414dc6860929eb2746fa - pristine_git_object: 704c0cfb4d3832321e3c3e209af8326e87a7054a + last_write_checksum: sha1:0f473a22c994563417ce8f2458ebd9ebc65c840d + pristine_git_object: 2901f9988013d89d62b33996a345fe5257a28590 src/models/createsandboxessessionsbysessionidsnapshotv2op.ts: id: 8c25fc8bf26a - last_write_checksum: sha1:b94c183629fd1d3652a4b956f7eac5321c747650 - pristine_git_object: 7b97c078945c94a57397826b92df0c8486033736 + last_write_checksum: sha1:41aa19c60f55781f5d5874cf1c641bceba20f2be + pristine_git_object: 08c7e642de4b2f7ffaf297af5a6a2d3edc58248c src/models/createsandboxessessionsbysessionidsnapshotv3op.ts: id: 86fa9bd9af08 - last_write_checksum: sha1:fb7315abe9dc3336f4f591a786c2bc2ef7ab204d - pristine_git_object: 278c5b9a8f433b925a86245de516602c7177a33d + last_write_checksum: sha1:b044be1d4f8d6cfd00cbecfd2e291c89fb728ba6 + pristine_git_object: c8613f7ce9d7e26fbb09aaede3e70928455f679e src/models/createsdkkeyop.ts: id: 8ef53af6c847 - last_write_checksum: sha1:63eb3f1c0d1a3dbfc00efac4979d2720907c0139 - pristine_git_object: ec4964ed40e9c51d2aedfb4a68285a48e0334aa0 + last_write_checksum: sha1:fe7eb023180213b39c0eedcf8b50ce6520f041ea + pristine_git_object: 380435265e0cc7055edf37add48d67cb536f1be4 src/models/createsecurityfirewallconfigbyconfigversionactivateop.ts: id: dd33c7272ef6 - last_write_checksum: sha1:9ea49fa21b879a678254233b4cafa22e87d78be3 - pristine_git_object: d56892a92fe7f333b1c3bdd9be06f28893484572 + last_write_checksum: sha1:2a3f1a8266629ebc0cf15f781c9be12d55a21816 + pristine_git_object: 573dd08ad0fdb594da46a95a3166c02daa9e475b src/models/createsessiondirectoryop.ts: id: 55fdc330510b - last_write_checksum: sha1:00fe2ec9d2d18237ff5a0887c515cbb9521f0b1c - pristine_git_object: d2a9644a424a7d68a4c983b3b495761f133727e0 + last_write_checksum: sha1:f76e9dbe944c4619324b0a75e296227e6143765b + pristine_git_object: 6ac4a4516049ac066eea34d2381322234236caa3 src/models/createsharedenvvariableop.ts: id: 13adf52e93a6 - last_write_checksum: sha1:00088f860901afffdfb7c7ffea718977bad8bed1 - pristine_git_object: f2a2a0d64b4d570fd750655231dee2f8751581c4 + last_write_checksum: sha1:d1bc1cc4533d536d7734b96027c271bcb51e9760 + pristine_git_object: 553467592faaadb01f60c19c68c1a4f980372874 src/models/createspeedinsightstoggleop.ts: id: 9ee87d63e457 - last_write_checksum: sha1:c4d442e5ff7fbc8c13e1ec6fcefef08e98074676 - pristine_git_object: 0ee0a1df16f27dc9ce667fe2bd4ef66e486db0f7 + last_write_checksum: sha1:e39b90f860ecec79de27dc89a3509a4d4bea9bad + pristine_git_object: eea88fd638336a938f2232cb83ca5fd99f025f8e src/models/createstoragestoresblobop.ts: id: a3ec884b699c - last_write_checksum: sha1:63edb8f8916dca3cc494f6ada91f14cd583ad766 - pristine_git_object: da7977efb3f71545623a3314a7da103fe01bee5f + last_write_checksum: sha1:77650982c04056d45b74712b7af1bb4357b2bf68 + pristine_git_object: dc428d0d53b37bf6beea97573be60397ed64d50a src/models/createteamop.ts: id: 3954188ceb8a - last_write_checksum: sha1:0b14c3cdfb5a1873034285b4852227a21a5d45a1 - pristine_git_object: 97c387ace91f8a8f614b90dc2ad3c93cbdad4cb9 + last_write_checksum: sha1:15d4197a74428eb2c7645e54a4cd00a84460d64e + pristine_git_object: 41cee03356864b79a1bcb14814f9fa04f6db770f src/models/createtracesessionop.ts: id: 2e4443dae26c - last_write_checksum: sha1:4e48b6571f5e4990a14ad58ff32402efd0b049e4 - pristine_git_object: 68b8524ba141367e026636d63d7b50a9399678c2 + last_write_checksum: sha1:9a9beb76028ae91a15d52dbe621aa3321df1feb2 + pristine_git_object: 805d3d1c4e47380b831de836dfed114a850a80c3 src/models/createvercelcitaskanalysisop.ts: id: 64fcc2135161 - last_write_checksum: sha1:65605825c5feabc373435f5120adbb6879a02774 - pristine_git_object: 86b1e1ef75301efd0cfa367d49b10d223b08d0b9 + last_write_checksum: sha1:d5bfc37c1fe5ae599b0d44578e9ad13bd38b6e0d + pristine_git_object: 17c072de19611d78ead04023c60cbbe98c1ad40e src/models/createvercelcitaskconfigurationpullrequestop.ts: id: e3e4400ead99 - last_write_checksum: sha1:8af49a1016236bcec4de3a330c2c0bfa346fde76 - pristine_git_object: 1acc992f6670ea74bc3b16dacbf754afe34d89de + last_write_checksum: sha1:bcdec65baec6c1b2ed076f93d4be5edc8a1dd75c + pristine_git_object: 6cb1ee24e36f3dac6f9728942ee427532c6d9d3b src/models/createwebhookop.ts: id: f59e882905ea - last_write_checksum: sha1:d8af8eb8436cb144b94f3c0cbd528b41fdfc8cae - pristine_git_object: 2f287ce032467ebe41d4327428843453c9e52474 + last_write_checksum: sha1:15e98b3d80c807fe84c05638f24c2b9f441a59c1 + pristine_git_object: fa87f6b8f63c1c0373fe879499f3cb628b689d4f src/models/createwebinsightstoggleop.ts: id: 3470f29cf57b - last_write_checksum: sha1:7cf81987b0d497bc26ba276035954d6e842ac801 - pristine_git_object: 7009718d1390d00b4bc0b56e22b9ccd94cfb1d5e + last_write_checksum: sha1:35de8f8402b16dd80559a690ce2924daafa1a370 + pristine_git_object: c269ef1751d460bf7054dc495f9ca8bf32dd9d5d src/models/credentialtypescreate.ts: id: cb730b7063d9 - last_write_checksum: sha1:8c4c1ad83feb655252ff899f8d2ce9deee9dda8b - pristine_git_object: c19d839097c4a7d722f8417192658b96d013f84d + last_write_checksum: sha1:9341e65a736fca70201286d159aa3cad89dba4ea + pristine_git_object: 3ae069880d68d8b77e62011c9a3fb452489ec63a src/models/dangerouslydeletebysrcimagesop.ts: id: 97daa2d4318a - last_write_checksum: sha1:151181ab0a2849c6e1ebea6ef0a7227066356d97 - pristine_git_object: 2e6e3e40e42b95ae0709d4ef2986eb1c50a0aae5 + last_write_checksum: sha1:ff680ea5008607aae785e7170bd0afa4bba407b3 + pristine_git_object: 5148fd9793879e56e034e3c2ca12b9443b29d07d src/models/dangerouslydeletebytagsop.ts: id: 85c92ace07c5 - last_write_checksum: sha1:458539fd986514759585ae73fde5ff8d5183ed23 - pristine_git_object: 0575d3e9f7646ee76bf577f91c9a088248e910ba + last_write_checksum: sha1:b771b2b8e91b6c58a9e4bf190d65f80193fdfcc8 + pristine_git_object: 6d95c92e1842b77d45ff92af3537b994924941fe src/models/deleteaccessgroupop.ts: id: 84e676d425d4 - last_write_checksum: sha1:7beb2f3c25f6994de5d53943392b4bb694cd0c0b - pristine_git_object: 3ce050bae6572d804d4a9a2311f49696d49713a4 + last_write_checksum: sha1:d1c8b68e0c3c7283b8d0460e937435eb63b4f6e0 + pristine_git_object: fd81d8ef31c7ec301896bfa501fdb4a0ab0455a7 src/models/deleteaccessgroupprojectop.ts: id: 08099f64def1 - last_write_checksum: sha1:e6bde79d71474e2fd5be20b140a39e3e7a3439b0 - pristine_git_object: bc32767456341e6c00b5e3f363219292d8e36936 + last_write_checksum: sha1:5e3e8419d43154c3fdeb59af6dc11cae5c000cdd + pristine_git_object: 54b7a5b9a59c6a37820ebda742a643573ca13764 src/models/deleteaigatewaybyokcredentialop.ts: id: 0209d729bce6 - last_write_checksum: sha1:b847575204fd6b8905c3197b5a7992250c267eed - pristine_git_object: 7a3370eca310370457d79bf20383c2d3222844e7 + last_write_checksum: sha1:edb46410f963b9b1b621e35c61b87513ef695b03 + pristine_git_object: 78a31319448263718099c2a62002af8301f81f92 src/models/deleteaigatewayruleop.ts: id: 9897ffb278bb - last_write_checksum: sha1:f75f57115013365047f3545c56ae8d03e1e2a39b - pristine_git_object: 07c25415ecc91dda1f8873b427b4eed9240c0ae4 + last_write_checksum: sha1:e81b84a4282252406d82d1fc4f0799a650d2ac98 + pristine_git_object: d17fd3b5714ec16b3470ef933eafcc1b3c1680a3 src/models/deleteaigatewayvirtualmodelconfigbyslugop.ts: id: 83bfbca625b6 - last_write_checksum: sha1:c390703d38eb43638375fd87b1a6233f43258699 - pristine_git_object: ce8a8cad112fad9895e927641bb799e373fd97db + last_write_checksum: sha1:43ca83a58ceb4198e1d41633df95069520576c69 + pristine_git_object: 0f1c9801ccdb0cbe6f2ae81639ef81edc1242a8f src/models/deleteaigatewayvirtualmodelconfigop.ts: id: ecc55fab047e - last_write_checksum: sha1:836affad8c2373b1bd6102c872948f1ca55a4f8e - pristine_git_object: edfca3f563e7d3bdd164de28ae22dcac1acb5696 + last_write_checksum: sha1:38df4525523009a4b3af6fa75b8765da1d669a3a + pristine_git_object: 304f9526d5a4d31a0d01e711e55497fbecb4e4db src/models/deletealiasop.ts: id: 4e8ded62c137 - last_write_checksum: sha1:e91c063b7e3ce8cd2cd9eb1b927786d8901a89c1 - pristine_git_object: ea53107161c68c39283ee8b8922d4c52411881da + last_write_checksum: sha1:b1fb027ab66d3f1cd1860a839a3a3fd53bda2997 + pristine_git_object: da2f0afd0ea8b42f0082b69302cc6a19928acf65 src/models/deleteallartifactsop.ts: id: abf87825f600 - last_write_checksum: sha1:5eed19482a8d536cf86f1b43ef154fc25a827938 - pristine_git_object: 5b359d3ec48c6dabbf75b478af73a0dfdc870394 + last_write_checksum: sha1:dc97de19c27d543432838705507260c986a3586c + pristine_git_object: 54b02bdf68a7871dc32ef39f1616eb0df8e8c24d src/models/deleteauthtokenop.ts: id: ac79204d54a2 - last_write_checksum: sha1:aa84a140d2e3db767ae35df2ec4d72c254db8d0f - pristine_git_object: 357c69bd3e12721bc3695c14642457cd6ad75651 + last_write_checksum: sha1:945d419aedb0216cc8d4cc77da8d47af1d238714 + pristine_git_object: 1cd89615f91c855fe63ef2c193bda5c7191b0f8d src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts: id: eb88da121db5 - last_write_checksum: sha1:b9bff1406321474444710bffe593ef9daf7ef33c - pristine_git_object: 16444e2f50021f093cedd1a31481f2b4183aba1b + last_write_checksum: sha1:fdcc2a11767b9089c1be1bf004946bcd388b4718 + pristine_git_object: eab2a2b3f962cc7399276a8aa78bbef29c1df81a src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts: id: 0ef4472c2934 - last_write_checksum: sha1:d205260f29417fc2a81a81df804a20400a92f4cf - pristine_git_object: ddde65c6b9e7489a46091f6801e0f3384f4e2e41 + last_write_checksum: sha1:d1ad0a3706bdabc4d08f7f2bca5f8a39460ef85a + pristine_git_object: 86185a4f4a74dd689b5044596027368616df9b89 src/models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts: id: 0eced1d9d97a - last_write_checksum: sha1:3e2a3c9b1ef5141e92d9a1eb567f511c5d2e3395 - pristine_git_object: a28174de457722454d9c0e7390b0b6c50235e94b + last_write_checksum: sha1:af28dba240e39360c0ea06854a0218c38c19c822 + pristine_git_object: d13fbc17880992f89fcd5bcb60ac251df8da3551 src/models/deleteconditionalbypassop.ts: id: de17316d1033 - last_write_checksum: sha1:364d2c5a0908c2a22a39d0367ea4f47e49280c30 - pristine_git_object: 7061404914f41874bb9ed0dddc27eea313d6768c + last_write_checksum: sha1:e08576690a2dd1e88d1988e9ca2459da7b24a5c0 + pristine_git_object: 735ed08745075b90ff12a10a644adc1fa76c857b src/models/deleteconfigurablelogdrainop.ts: id: 8a2f494560c9 - last_write_checksum: sha1:2cc970edbed2a9642f1aebbfe0ffe33214904541 - pristine_git_object: ee64f798726cf542425a2606f68033dac6001762 + last_write_checksum: sha1:ccb0bbfddc456d5df23f89db4973a36f54a3d6c9 + pristine_git_object: 6b3ee145fe4bdfecb08d2391cde4391b582a25d8 src/models/deleteconfigurationop.ts: id: 5ddb9bb88238 - last_write_checksum: sha1:25e951d710fe0e2101a714b40a83b101055d1b82 - pristine_git_object: 62f8e7be253091617e46a99f6922b7aeb131eb59 + last_write_checksum: sha1:df5c767e0da078e345f6cf6d9b23b9e2bf6ca33e + pristine_git_object: 372e03b777fc679a55001f9f7be69f63e81cba28 src/models/deleteconnectorop.ts: id: 95be07e40fad - last_write_checksum: sha1:16d705f2a5bfb4c27e4788f4058f62e0a39788c8 - pristine_git_object: 5857d27946f619de8df4ae85b427f0d81186e4f0 + last_write_checksum: sha1:433a8219141009c0d6c057f99afcd11843cec858 + pristine_git_object: 8e2cb2158d1dff813514d589ab305b8d5f01f67b src/models/deleteconnectorprojectconnectionop.ts: id: 301966c20882 - last_write_checksum: sha1:4d092fccde731065c1a5f98607f177cfa2e4fa4e - pristine_git_object: 68a665652fcf6aebbe38abb5eb36cf06ae426227 + last_write_checksum: sha1:6c465dd4abc5fee8d0ca2441e602cc0629d7cdcd + pristine_git_object: 4e7baeab4802c1ceba690aa8ba44b51c74d1e13d src/models/deletedeploymentop.ts: id: 58ed64ac91c5 - last_write_checksum: sha1:d2d5c6b6f1ab1be84732baa555ff4035f27a3cf5 - pristine_git_object: be34d83a624728483afe072f8c5f1db421215546 + last_write_checksum: sha1:a67d5ba8622fd5fcb480a0981d8992b12092c52f + pristine_git_object: 218e8f4610636d2c56de027d65334dde9457bb3c src/models/deletedomainop.ts: id: "519526568183" - last_write_checksum: sha1:0ba957ff949f7ef0162f1ddf3013de6339747042 - pristine_git_object: 4d223711eafb2e9ed259efebf2af35af7abede6f + last_write_checksum: sha1:c6a655c70e1e0ec9c965f9dc527952e93c620dbf + pristine_git_object: 6a8a68048e16099add92bfc2720ee3047ffe379f src/models/deletedrainop.ts: id: 39bc89d648bf - last_write_checksum: sha1:1d98a8330813fbc04981c5263f9eb8aa3efaac9f - pristine_git_object: af829bb7e697e772e37e9aa92ffcfeedefa521a5 + last_write_checksum: sha1:fa11d43ae9adf8ef6d6a9817cf1f4c1703cba470 + pristine_git_object: 10c417b4c17571f15d55b4f00605434abb0a06ca src/models/deletedriveop.ts: id: 4c345a87fb00 - last_write_checksum: sha1:f0c680d073ef91fef80df4addabd3832c5eb7e9c - pristine_git_object: 7d2a49efff35d5049765cf7264af8b085d801fb1 + last_write_checksum: sha1:55be0cedbc68958376b98ae3712a4d3f8c2c586f + pristine_git_object: 7e6d5b0d1b0263d70f6d8322c3c185e3951cfbb5 src/models/deletedrivev1op.ts: id: af23292f74e0 - last_write_checksum: sha1:98fd97537dd019fd25a5ad6fc507f2cc1a1d57c0 - pristine_git_object: 276e3e99c96b05a03b67e682159457ca0174236a + last_write_checksum: sha1:a57933178e6caebddc0cda576571500d18c776cb + pristine_git_object: 43011fe42d6fd81d8e46b381fb9068691088a7d6 src/models/deleteedgeconfigop.ts: id: 1211b00e2042 - last_write_checksum: sha1:3adfac7bb79a995bbe00b8eb2227b697e3d8899b - pristine_git_object: 5c3c6147a8620bed83609f8cd24c80f0a92668f9 + last_write_checksum: sha1:71153095476d7bab835199fe15052d9e76db354a + pristine_git_object: c7b4381dd25f94a43204a802ac7e26ec2befb820 src/models/deleteedgeconfigschemaop.ts: id: 2e36c4c8230c - last_write_checksum: sha1:6bea60cc6ebce45de65d54d713f0a7b9f31d9ee8 - pristine_git_object: 1c0dfcedad7242ff1be1a05c4cb1bcbe501911ff + last_write_checksum: sha1:94b36c969b398876d5fca9ee2478d3c45cbc6c8a + pristine_git_object: 5f834528f183ca09e76a33bdd41b467a9397289c src/models/deleteedgeconfigtokensop.ts: id: 5f07304130c6 - last_write_checksum: sha1:34fbf3d0703eae2c164a05a4de7ba7211cc92986 - pristine_git_object: d5fe73d0ec189621107c262f951e129e21406611 + last_write_checksum: sha1:92eeeaeeb9f893da8b274d2241827edea27725be + pristine_git_object: f430e0f4aa78d8cfa13dcc2675ef15bd7ec0809d src/models/deleteflagop.ts: id: 3f78b5ecfb36 - last_write_checksum: sha1:66474d923c8042f144d835b3891ab7a9c8c351d5 - pristine_git_object: 2e01b2f1052de6d95f2afaa80c9756733e841658 + last_write_checksum: sha1:a29367f2e3dfeace4d77a81e12c0a0d5fa256494 + pristine_git_object: 32e5b0921e9ebde5063ffea55ff07abf5ffbd6e8 src/models/deleteflagsegmentop.ts: id: 2620f2563611 - last_write_checksum: sha1:200100478fec572f665cd14d9dc918f0b4a3537a - pristine_git_object: 578e568d24c7f0bc3cab1fa0c7ca0aaf1f76889e + last_write_checksum: sha1:da806add273f28cc885635e115e8c8f0ad1daa33 + pristine_git_object: 9133e983d414898db11e78c9bcd52a2add0ab3a6 src/models/deleteflagsprojectconnectionop.ts: id: 73b5fc39e3c3 - last_write_checksum: sha1:5cbba0b84d59043cceda632dde2778a2c50326bd - pristine_git_object: 96e9a2ffd8db44ada432c7b51ee015b07b794308 + last_write_checksum: sha1:1f80a26d7b83174eeba9f37904a6e2d1dc67174c + pristine_git_object: 137820d28c8e0771d690cceb0cd6e40b5dd90eb0 src/models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts: id: efd56901c886 - last_write_checksum: sha1:edc1cf1a11e004989789219eef71d2f1bfa02cf2 - pristine_git_object: a09f9f15abfe35ea78cc3cad042cf5b652195a35 + last_write_checksum: sha1:79919b0ff7c2c9b0e831a024a41b7e8f4eff32b8 + pristine_git_object: cf296fe8b8d962bc7e623d728b8402fd988d1969 src/models/deleteintegrationlogdrainop.ts: id: 304a4c10d71d - last_write_checksum: sha1:96d3998df7f8da32f9a11fc321fe832a359f81e7 - pristine_git_object: fb6a3cd7d753a2307dbd6fab33caee710e76d4db + last_write_checksum: sha1:8b75c218f7d140c334a317790f1c5f4bd30341b7 + pristine_git_object: ab6b0d13178724cc81a9278d3acc482074a63107 src/models/deleteintegrationresourceop.ts: id: 1245526d22e1 - last_write_checksum: sha1:941fd04eaadb139ec7b24910cc91c7b75bd30484 - pristine_git_object: 0adec6813b9a5650b23f1608b1d11a2426ed8c91 + last_write_checksum: sha1:72a496257b075e648d83965bf87013842191dede + pristine_git_object: 03dc1c6f50035812c76af5a5274fdd8e039d317f src/models/deletekmsissuerop.ts: id: c3939066cd9c - last_write_checksum: sha1:b7c264429db30bc9db8a4ac872ce2da16aba5d75 - pristine_git_object: fe33036bc3bf7c1cbfa7075ff7299beb7cd5eb8d + last_write_checksum: sha1:70df586ca69961182083924fdaaa881310f4d165 + pristine_git_object: 649c1356117c9e0f3cb12a987cd9e46bab8a55c9 src/models/deletekmsissuerpolicyop.ts: id: 99d956b54985 - last_write_checksum: sha1:9256cf6701a698ddfd894b2870d93523a7b2c81c - pristine_git_object: 396354e9163e8b0171e58e25fa8fa8e053fd2040 + last_write_checksum: sha1:0b2804f19c95cb37b885f973c1d638fb273f45b2 + pristine_git_object: c63a7479ab265a86faf8641531c916f0465da8b3 src/models/deletemicrofrontendsgroupop.ts: id: d1d9d828d0e0 - last_write_checksum: sha1:9cea999c36fe85e382a6e1f88d089cfc7de2880d - pristine_git_object: 0ea2e3d5fe52a8a556b8388e2be48928199cd6ce + last_write_checksum: sha1:f56798361e0e68141b43a33aacb860b0e3fc2a41 + pristine_git_object: cf462517a7bdb08293c1559798f2e11ccdde96af src/models/deletenetworkop.ts: id: f732f5d38af3 - last_write_checksum: sha1:12f771f108a3d31572f34e28f915af2ff36bcd05 - pristine_git_object: ec0b601e046a0d4b5d52f530234c3d9d9be619dc + last_write_checksum: sha1:ac2c50d73eab9c7d7e655831173f8f3e9e743c3f + pristine_git_object: ffc66b984c89213f2adf527084166e2797ba3a0f src/models/deleteorganizationdsyncgroupop.ts: id: cbe391825e1a - last_write_checksum: sha1:2a7ab7fd9e7b9b7e8c77ec5669b773271f71054e - pristine_git_object: e7d995cf9b0edcae5141b3c39f84895c20f48506 + last_write_checksum: sha1:6b0eba17374f3707325a3852df250ed5548de8dd + pristine_git_object: cb4f04683432f8f01eb1f088614da104aae9258f src/models/deleteprivatelinkendpointop.ts: id: 20f346dc5133 - last_write_checksum: sha1:9f415d6d3f3ba4082eb68b9f2c840647a174c481 - pristine_git_object: 5d0ab32c800f89afb22850c631c1415fe636948a + last_write_checksum: sha1:dd93a221d446aba9b0ec246199824fab93132c92 + pristine_git_object: 780da890186d822c57714df0dc7e9b120d4519af src/models/deleteprojectavatarchecksconclusion.ts: id: d8f5580af922 - last_write_checksum: sha1:19aff64fefb08d360818d82d0f83e461bfb33577 - pristine_git_object: 43e41f4593b39d96aaa2a86d6b68f0ec7ee1b22a + last_write_checksum: sha1:895abc59070f22ac3a335490c1e4b7f1d39c1159 + pristine_git_object: cc4eb60f73f7eda22fe144c1179b617438aadeb4 src/models/deleteprojectavatarresponsebody.ts: id: c532dfc4e161 - last_write_checksum: sha1:fdae11a7e66beb084def810c7dc2d1980251ac9f - pristine_git_object: ea8f0f6ff340199b38ce62732dc21fc76fcfbda3 + last_write_checksum: sha1:d032ea983003c85cad16445b02a44e6378f2054d + pristine_git_object: e393fc016d764c2fab79887547f02f174993c4d4 src/models/deleteprojectavatartoprojectsresponsepreset.ts: id: 8e3ac81f51cf - last_write_checksum: sha1:236f3920b550c0503279d73212f8b11eda6f131e - pristine_git_object: 8b4ebefc8cfc2f57c388f7d15fabf012db32c1ac + last_write_checksum: sha1:44785454e58d6d25cb9f49223dfc5298ceb22b2c + pristine_git_object: 201d27a14adfda0256bda09a602537cb90b2a29a src/models/deleteprojectcheckop.ts: id: 3ec783cc859e - last_write_checksum: sha1:45d39d6efecfc7d59ee51390020b26eb24d8020c - pristine_git_object: ab2f9712f77cff3530721332561f0321aadcc053 + last_write_checksum: sha1:42f68d0ef6491751a754044904014629753cf135 + pristine_git_object: 0f01284e46d6634a025e29c51f6976410e62b183 src/models/deleteprojectop.ts: id: cd98580eef26 - last_write_checksum: sha1:48a4924eea1fb7a2625836769567df9bd5c9e38a - pristine_git_object: a2b90e47ab8f2a4eeb3aaeec5211a6708c1d3ed2 + last_write_checksum: sha1:51ce560b7aeaf6a683f10710725579dd881d18ec + pristine_git_object: fe4b37fe5bdb18add42ab4d06fff5a37089d4f8a src/models/deleteredirectsop.ts: id: 5e56935e085f - last_write_checksum: sha1:86af78ee302f365dea2c94fb2785db8049b24fa9 - pristine_git_object: cbf16a1b4a2f96158f84be832d93de430a2486d5 + last_write_checksum: sha1:3a9b5d63cc87871dd5397c0f4d5bf464e9c72511 + pristine_git_object: a3b34163e73a584f0778669f89e1db5f68f88a52 src/models/deleterepositoryimageop.ts: id: 8653436b79be - last_write_checksum: sha1:ffbcc59dae1f253ebd96b117952b9c7b5af0d725 - pristine_git_object: fe541da085f774965cdec22ed5c92f64e8bcd091 + last_write_checksum: sha1:a537ad0ebaa92aa159a3b3fc057399c89f1a850a + pristine_git_object: 0c9ac0487537a048c5d00b4a99c477b6152e64de src/models/deleterepositoryop.ts: id: 14a052ef64b4 - last_write_checksum: sha1:89268b0b09f9930fa1fa0e9fa8a099135f6bcd4f - pristine_git_object: 939f3c2f3ae8c017b9c1c72ef5d18912180d4b94 + last_write_checksum: sha1:dbc5e235e6f4dc9cebf79f54af7a4b3e43805d80 + pristine_git_object: edcdb32638f3663f702aaaa7f75b94ffac64591d src/models/deleterollingreleaseconfigop.ts: id: 09eb9d91ea2e - last_write_checksum: sha1:0a4219ebd69ccb57fde3cc31061e8aeada448575 - pristine_git_object: 50bb5c60a2ffa3828d8144d9cf8a2e3ded813626 + last_write_checksum: sha1:6e156179b2d38335df096a7a261ed92d0937dedf + pristine_git_object: 5fc0683c6f4dabd2f28353cbb201e8d8e12edb8c src/models/deleteroutesop.ts: id: 3b92a35c7848 - last_write_checksum: sha1:0ae7bd768f3d1ad6bb2c8c7f137d8d415708db76 - pristine_git_object: 40652d1d6620b6087579be939160b7ae7f7ad442 + last_write_checksum: sha1:bc107693bf9811b72359466559cfc2241d4fdeca + pristine_git_object: 5476524ead3fff68841be285c743b48166a061d4 src/models/deletesandboxop.ts: id: 66381974a931 - last_write_checksum: sha1:6ec37fc2baf325ace8f6ae2f46c73a70ccabfae6 - pristine_git_object: 93f7f6be2d74f1ff7dcafad5eafbcfe8e1c6221c + last_write_checksum: sha1:b2dc3d5f16ce409d4d98ff082031947413a59c3d + pristine_git_object: 802d3b6adfbeba50773b8b7208d9452dd85826f6 src/models/deletesdkkeyop.ts: id: a3c83d19d800 - last_write_checksum: sha1:63ebe8369911ed3df9cbe709f8ee98ac72ddcf80 - pristine_git_object: c3e662306b96caf0e17e9c90d43451c158bf7ce6 + last_write_checksum: sha1:3ec7148cd6c3fca2959f138dc7b53de112f6a861 + pristine_git_object: 630e95a25d7017ca98f862a4c0bf5f045e83ced6 src/models/deletesecurityfirewallconfigbyconfigversionop.ts: id: 80dfb366b163 - last_write_checksum: sha1:3e73f1a8c98478d94aa4cf4e36e7e4bc8fd15a9e - pristine_git_object: 528f6357211b9c4df03609d479e8194e5e15326b + last_write_checksum: sha1:bfbb323171a24e94c677220f47369c38ddeea542 + pristine_git_object: bd8156a51dc14499827f6716b7a3fe8cb457b42c src/models/deletesessionsnapshotop.ts: id: 4aadfa06af06 - last_write_checksum: sha1:ba99ef6076cd4c15d8604947c401a2b29a2f990c - pristine_git_object: 125b0f6a92656180e7a8b045571928b971648ca9 + last_write_checksum: sha1:89d59f22c241df7f3d89647a84ba53981c7b0df6 + pristine_git_object: 4e8cb8bbd5223f09f3fe2d831e978a99e26e36fd src/models/deletesharedenvvariableop.ts: id: b7f5a17483d5 - last_write_checksum: sha1:6526cac1c58aafcecaad4788ec1672d5377734c0 - pristine_git_object: cba08b723ff649ed3651c4d444459548ee138fc9 + last_write_checksum: sha1:afc582d6195f622b0d134ffe8994ee498aa76065 + pristine_git_object: cd36eff0df1206616420e3fa656b46c8f500a1bd src/models/deletestoragestoresblobbyidop.ts: id: b109b437a54d - last_write_checksum: sha1:49fe25a500a5c983dea680c93e79fac8a3e6d9cc - pristine_git_object: 6ecbd70e7fa61ddb552cb26cbd23642e05dfcc6c + last_write_checksum: sha1:31471348701e2cfb5b75462eda485a0bc0389198 + pristine_git_object: 2791f81f2ef7157b1b6b622e7c391e21a4f509e3 src/models/deleteteaminvitecodeop.ts: id: 98430b4d7a78 - last_write_checksum: sha1:88e736830873f180a44fd2cc7e17b4c516cf30b2 - pristine_git_object: d6bc076a2451ce529921ca3443d1fd4be005d6f9 + last_write_checksum: sha1:5dc0cf75d83cc2078b829360e8ee8a77ad00013b + pristine_git_object: d3baddc001c7f2a9649b2848714618ebef9d2bff src/models/deleteteamop.ts: id: 700cb117436c - last_write_checksum: sha1:1dbd457a77366b7d7ae28a573ebcb7886bcb109c - pristine_git_object: 8072e19e11de2d15d69d4b26e8fc61b53e7b0bcd + last_write_checksum: sha1:a4164c8bcce09aeb259ebc3f531b1ac0e79b0be3 + pristine_git_object: 332ba0f4c7d06492c2d7f9bc1c66dd2f945e0abb src/models/deletewebhookop.ts: id: 9ce2fc2a0b2e - last_write_checksum: sha1:e70402cb357d6b3670fe6caac01dcf9f6779959a - pristine_git_object: 20534d793caa3b581f3ebd55f18a783aa25b43bf + last_write_checksum: sha1:e77d8ce6f6095a8b7b119a417ad1cad9cac9750f + pristine_git_object: a9f1ceea383d69b2824ae13459f1538f62e71f05 src/models/deploymentcheckupdatedpayload.ts: id: 804f105c3cf8 - last_write_checksum: sha1:31972b239c845a17bc916454b92efe1a01c221ff - pristine_git_object: 4df853ace079ab9d59dcabf039cecb1c1eb7875e + last_write_checksum: sha1:9ec91a36ade5ebe799cb69aaf3baa2a0583048b2 + pristine_git_object: a724c964b1aa7296aea7318d2c646bff499bdb88 src/models/disconnectconnectorprojectenvironmentop.ts: id: 3c347a41c432 - last_write_checksum: sha1:3bd80876d43c94d10dc2f67fca0016f35519b288 - pristine_git_object: b5ecce398392a37ae7b19f632a53d222703bfb3a + last_write_checksum: sha1:918e619f2e69036c373e7364ef2f6ef61474eba5 + pristine_git_object: 0b1ca89a7efc1e57c801c3225f50d279169285ee src/models/dnssecenabled.ts: id: 9e124681645c - last_write_checksum: sha1:c70d57e49d0aed1a507ce7e272a0211947953f81 - pristine_git_object: 589d8fcba9f6d48bdb2608781d5411fe671889b0 + last_write_checksum: sha1:e66e66dfc9a9fd89f1e79ff9fde5433a05488029 + pristine_git_object: e8226de793c0fbc930ccfe198f4b4bfb8e77e926 src/models/domainalreadyowned.ts: id: 43dc0e465ae1 - last_write_checksum: sha1:4be4eea5117dfecf10164cc0a3f2136737a85f64 - pristine_git_object: 6956b7361a7cd8101f290d43f5545aa3621cae02 + last_write_checksum: sha1:cd628a9d6a77c5cd83565c553f124d7e017f1af7 + pristine_git_object: d0a641c44c3427072263ebca7d6a20c5b9b141e2 src/models/domainalreadyrenewing.ts: id: 4a7ba618fd36 - last_write_checksum: sha1:225a1833995e2fa56fb685b23cf1d95ccd70584d - pristine_git_object: 02ebfc68ab56d0cb349c0fb0684dd958c56766d1 + last_write_checksum: sha1:50667c5da25954264de8269d58cea4f3c3bc7543 + pristine_git_object: 7f28656018f9624af24a325cc9331c2cc8538a24 src/models/domaincannotbetransferedoutuntil.ts: id: dec2dcf13998 - last_write_checksum: sha1:80bdbf5c148fea9ea944e4764178d68917ff37aa - pristine_git_object: 8321b969c2d1680e2d9d1563186b639325fe24df + last_write_checksum: sha1:0e2cef34461a798dced0a3cb08cd7ca9a2653c31 + pristine_git_object: 4aee12be2e0c81c752943e7e7674827fe977a6dc src/models/domainnotavailable.ts: id: 879b4c2d583a - last_write_checksum: sha1:42408657b501f922d75e73d1bb68c34720b3bd90 - pristine_git_object: cdd5c01997c8865b370368d33cbc783ee61b5375 + last_write_checksum: sha1:e1c16b44b5ffbbfb857da9b86561113c7b938571 + pristine_git_object: ae26fdfc62aedfeedf83d4c80117a96ff8e42b6e src/models/domainnotfound.ts: id: 2f320598b813 - last_write_checksum: sha1:4989b5a3edff27b19013506377818c96030f2c96 - pristine_git_object: 9ee56d322ca72e33caefb037173428e972ae3a03 + last_write_checksum: sha1:acf1133233b3628c8fe43a8b1ba012cbe8a631c7 + pristine_git_object: 49fb3c8a81df1161eecbbffe6d033a337aa14bf5 src/models/domainnotregistered.ts: id: 55f4531dba5c - last_write_checksum: sha1:bba61ee0d5fdcbf31ceb739ddd1be8e749464e54 - pristine_git_object: 456074c02935867692d1d90fd580be8c7a81fc4d + last_write_checksum: sha1:4313f18bbbab841c49b0789b6cd96f149dc97b54 + pristine_git_object: dfcf6772aa7f82452f49454d30e886523ff53da7 src/models/domainnotrenewable.ts: id: 56e97e63fcce - last_write_checksum: sha1:4519b484021983ed3bf2b733c0bc8c1442a857f8 - pristine_git_object: 1a4fc68808624473ff40e29befccea85bd519577 + last_write_checksum: sha1:793cfa82d5505881d51b89e77e594a412a161f27 + pristine_git_object: bd09848ae60261554ee8d043f2d447abd619afc6 src/models/domaintooshort.ts: id: a3b0035943ca - last_write_checksum: sha1:906100da6308a74a8e308ac8f4ed695a6dfef72e - pristine_git_object: a8e9eb9d1445760ceede2956806b4fdd6f8a3bf4 + last_write_checksum: sha1:b77c6c5b4dc9a25a14b8ee76c11c4cbfd7cd0540 + pristine_git_object: 099bd406e2f8b3ff5224e09d60d747eaa2b31d96 src/models/downloadartifactop.ts: id: afb204ff15ae - last_write_checksum: sha1:fab3515c0d6a36858a8826dba506f4ad71261faf - pristine_git_object: 18e881a5bafb9625eaa79ee80a3e4cf3344bb4d1 + last_write_checksum: sha1:467e319236291a8dbb22504e57d884a33fbc4846 + pristine_git_object: 69a9b60fcff8c12e1e7225bf5a1457a4cc857f1d src/models/drive.ts: id: 9e0150273c8e - last_write_checksum: sha1:6c7ec46b8bb8b1c6221272c8cf92bf7ee1215835 - pristine_git_object: 697ca95f8aa7eab3d74302418157bae503708861 + last_write_checksum: sha1:3cfb8291ebc69768d0973fad92c70c6cbd8e8532 + pristine_git_object: 89f4c1cc1428f74afce73263585e136aca1c289c src/models/duplicatedomains.ts: id: 8f285d1350c3 - last_write_checksum: sha1:673f804c3c2961dd34393124cc770d30acdb304f - pristine_git_object: 1a26121c578e3623b0c59f3a8f8ff8e07de3f0d5 + last_write_checksum: sha1:11ff05bbfd0031c83163a089b7cc0ab20b1d4ef3 + pristine_git_object: d9916b748efbd7ae72868d91334e16c0127c20ac src/models/editprojectenvop.ts: id: 45b1242891e7 - last_write_checksum: sha1:a12e2407c90fbf764a095e120ae923ac41661cc5 - pristine_git_object: 61c873ea5b11964bed2eed3fa500dfea409513ba + last_write_checksum: sha1:31f0a5f7c1ab32d7ac45be8d8a62cf6243be5140 + pristine_git_object: f6ecdf890b6c2670136efb41582a40142b56b85d src/models/editredirectop.ts: id: fd6d0c2f22d6 - last_write_checksum: sha1:5af3f5a1e1f456bb003caa284e1872a1bfc2c21a - pristine_git_object: 112fb2a3b1d13eb18e327fb9de572957441038e2 + last_write_checksum: sha1:410bc58be732002a21af2eb9e9f838795a35b946 + pristine_git_object: 80198e5565eccace32c3c1d9f119106fed88c826 src/models/editrouteop.ts: id: 689a9d7787cb - last_write_checksum: sha1:1ec0f349c51e058d9fc8081f2bcff041b5868152 - pristine_git_object: 54a7c2604f92a8a5466b10ff653f1efb5f372f5a + last_write_checksum: sha1:7c469f6483db118efb3c775a3d827169ed96520b + pristine_git_object: 9aea424088fb2522bb84ec10d7a882460d7818ec + src/models/eightytwo.ts: + id: 43678584e9fe + last_write_checksum: sha1:ac4f416c39d48e7f19c80aad329a31f27f771c11 + pristine_git_object: bffd768cf79b5a2907e487fe25909c189db7fbe0 src/models/ejectmanagedconnectorop.ts: id: 14b7393e3d7e - last_write_checksum: sha1:1bfeea61e3598a772bf63c9b12bcf3b08ea864dc - pristine_git_object: 7f7dbc774940dd1eb361ed9b9e6bed9cad0f52cf + last_write_checksum: sha1:6704080754ed4bdca04ae3f5b97033cd456852f8 + pristine_git_object: d6118372138b688de32d3e53fd25f4b2a200f7ea src/models/emojitldnotsupported.ts: id: a0ee5fc8ab52 - last_write_checksum: sha1:d0714366e9cc028234ea5f37dafda4c8aaf060d1 - pristine_git_object: 70d7e50fa9c4b4710c19535f74c683421c3e937f + last_write_checksum: sha1:de860864bd56bd7b0c9d8f44d9a6e754aea8707e + pristine_git_object: 9c7518fbfb141066b0e8436b5b46f6a58f810638 src/models/exchangessotokenop.ts: id: 6ef1b4165392 - last_write_checksum: sha1:d6817f6fdd4b4d90de4c9abd4d7dc0b4571083d9 - pristine_git_object: 36ea463e558c13a3417a25b0e0894020af8db897 + last_write_checksum: sha1:7f202c9775fbcda58f2723085aedd7bb7c056070 + pristine_git_object: 16841403ea5a602baa2a8d1589007f1f32ce38db src/models/expectedpricemismatch.ts: id: f082341723d1 - last_write_checksum: sha1:efbbd49d5a416e123e224726ba42b4694c0d16df - pristine_git_object: 05ffc451843f436273af080a02dcd74f0fe3d69a + last_write_checksum: sha1:8937570c1deb282a0e32efa8d2f6ea2a1ef4ac96 + pristine_git_object: 67e2db6024987421abd5100d58c12db7d05c092e src/models/extendsessiontimeoutop.ts: id: 3ece37dd69e5 - last_write_checksum: sha1:9fb1634bf869578660fd7cf21d6115244c9aa4f8 - pristine_git_object: 550d481d10fc4d956631a4102caa60796d0be014 + last_write_checksum: sha1:ea965fb998be49408822950c322db176a2d256a6 + pristine_git_object: 2a514933f2755e025f1862f8eacf4ddb134b6b7e src/models/filetree.ts: id: 42f9258cd87f - last_write_checksum: sha1:cee11d11515260a6f2098ec8598ee1d7e76630ec - pristine_git_object: 848539805e0f731bea58368763507dfb3e75eac8 + last_write_checksum: sha1:05a36ca679fa5e89094eedb0f86131947a882d9d + pristine_git_object: 8deeb074f529757024883aad38f915cebcde4998 src/models/filterprojectenvsop.ts: id: ff54c595027d - last_write_checksum: sha1:b8368d5d7f7e3f5b4c9a03847104aa983e17ff13 - pristine_git_object: b1f8ae809ddc7e8079896cd670041ecb74bf6700 + last_write_checksum: sha1:633918a2085f07f7ab0ead9e645618f62b8d7553 + pristine_git_object: 31c4a8fcca28e57fd976fc62efda2c5400aa4a03 src/models/finalizeinstallationop.ts: id: e4b40ff04e1f - last_write_checksum: sha1:ebf6973076bb705576b136b79086cfea84cc2cf8 - pristine_git_object: d37136ba2f52ff76ee8e76407caa4fe9eb6072ad + last_write_checksum: sha1:cb6ceb8bb7ae95475db1e5aed7d94b2455828828 + pristine_git_object: 2d373137b4f05497dc4cdddd27d5c2f2d70d5a2a src/models/flag.ts: id: 70773fa74fb4 - last_write_checksum: sha1:5bb1b27f98c966244351766e9281a86b1e1290f6 - pristine_git_object: b1df9717409401c0dc872942a394653ed1ca8129 + last_write_checksum: sha1:ab452b14488f637155559263a2d0e46a7a90e7d6 + pristine_git_object: a00c7772ccfa9cd6831d61fa1829f62c48a40ec2 src/models/flagjsonvalue.ts: id: b3a746b0b50c - last_write_checksum: sha1:0f50158125c3e20a045f8e405541abada1a72763 - pristine_git_object: 6fd0fdc2006e755cc84dfb0a5acaba399a1e3308 + last_write_checksum: sha1:23d61fe002b56f6470108b511a63245aad47853b + pristine_git_object: 8d1b2961acb128ba2941dd63b3ce695fceb47d50 src/models/flagssdkkeywithsecrets.ts: id: b35e1d1700ac - last_write_checksum: sha1:70c069f8be54b2fff99bb7b804131b0e4d7dfa54 - pristine_git_object: 1bd55b9e8212ab66906d036ba3a14fadcb258df2 + last_write_checksum: sha1:fee404db8ddf925d0cdf8549f030c3ea922ae6dc + pristine_git_object: 3c9ac3d92eb4d788b9f6132c8dd5ecae6eb2b8aa src/models/forbidden.ts: id: 279094835a69 - last_write_checksum: sha1:6f3c82e96755aa782471cfa4d4e30507e27ce443 - pristine_git_object: e5040c0596b8e9fa19e024a47468ab54a263a3e2 + last_write_checksum: sha1:9b2e047c4fd917aeebc146a771f0c663a7e1f5e8 + pristine_git_object: 9e3890aec2fc495b240626b9f85916a6729db2cf src/models/forkdriveop.ts: id: 9cc35d575767 - last_write_checksum: sha1:02e0de14bf5e798c4cbdc8ca868dbab8ca6b0234 - pristine_git_object: e70e3e9cfc138b85389440613a67e1ec3032023b + last_write_checksum: sha1:09ef1750e39ef2ab46f5943e3f1a5408728775aa + pristine_git_object: f09dcf7d0870bd0e856919b1d16f8b26feb53942 src/models/forkdrivev1op.ts: id: b8fc852b1ca3 - last_write_checksum: sha1:2b7bb7932706d2037dca0c51bfd2c469fb0bacd9 - pristine_git_object: 7fd5463a040a0f15f22d8ba13c7468af2c66f394 - src/models/fourhundredandthirtyfive.ts: - id: 7120558b9ec9 - last_write_checksum: sha1:29eb949f19e53017bbacf2a5d02e3e7fd86519a2 - pristine_git_object: 5659a463a7f1ea42d9592b32f75a060232e09caf + last_write_checksum: sha1:32003bee4e8b6941018568e7eed66df78dbafe2e + pristine_git_object: 57b7b2ce47077b4741af37b195c3efefbbaa370b + src/models/fourhundredandforty.ts: + id: c3279e51beb2 + last_write_checksum: sha1:e4ae0e52c707d984aa52b200cc3e08268966d144 + pristine_git_object: 5ff5cfe24f78c06bc74491ef3ecbc474d90ede15 src/models/generatefirewallruleop.ts: id: 039582f0f50f - last_write_checksum: sha1:99c7f1150751c9745db474156cc1992c51261117 - pristine_git_object: 1e5138bbc484f1676839368cb3bad579ea3c6377 + last_write_checksum: sha1:20ebf732b13e083cb05af68b51bd12813bb4d767 + pristine_git_object: 46e5aff1b7598c3bd05168d0e31e593566fa4806 src/models/generaterouteop.ts: id: 7a3078cf9faf - last_write_checksum: sha1:ad87ae9bd62d62344a5383ce0d3b658c83b29aba - pristine_git_object: e48fe9bddaa0560875c5ef67cec6aad44ce4e02e + last_write_checksum: sha1:54888ee00f68c42029ad9f153835269157cc1342 + pristine_git_object: 9112fa768cb53b67bbe34099acbb48a2ca10cc8a src/models/getaccountinfoop.ts: id: 52ec49bd5e79 - last_write_checksum: sha1:a56c9003e7de282b7ab1221227b11e718b98e53e - pristine_git_object: 492898c1851ab88e6925666caf113d640b7ec6e5 + last_write_checksum: sha1:b50fe148b63f5c4a778511df4b4c422fdf8a92f0 + pristine_git_object: 0afda67d32a8ca4172b43c6f7e32a2f901be31f1 src/models/getactiveattackstatusop.ts: id: 600bcee5cda9 - last_write_checksum: sha1:48e8722a35bc48d79e74ff654abbcc71b791b321 - pristine_git_object: 8726a305c3bcdc9bf233ebd50bd6ab1535f590e1 + last_write_checksum: sha1:62afbb436bcd8f6944098794d7a82ef664edaace + pristine_git_object: ea63bc0d2aa6547bcd9890a2ffd1b6e464c82476 src/models/getaigatewaybyokcredentialop.ts: id: 32d125e6c984 - last_write_checksum: sha1:8a54823159b0b5ffe76fb59cb01da49ca3a463cf - pristine_git_object: 430dd6d6ab500d32c5f906ff485755b5d0197cee + last_write_checksum: sha1:cc93f17aecc2a290dfdc0a251a841010b390fd4a + pristine_git_object: 0fc56f53787a64b9bc8bda39617f41b0f0385be5 src/models/getaigatewayvirtualmodelconfigbyslugop.ts: id: bd4a4b41c78c - last_write_checksum: sha1:39796605390c350488e37635f1bbd22b0d02dfba - pristine_git_object: 4adb741d35ae7400f6af0dddee10df829eb30c9b + last_write_checksum: sha1:598e49a55b97fb5ec894faa03a17c0734f5daaf2 + pristine_git_object: 4661024e3d03bbf8bcafa871b4567d5e8fdc0d49 src/models/getaigatewayvirtualmodelconfigop.ts: id: 1a7ba36b722e - last_write_checksum: sha1:292677e3d502ca0b1a795feec3fa2540b7807ec9 - pristine_git_object: 01b0f2438a5752ae8b89828b620b0ea76b994bbc + last_write_checksum: sha1:38a506dbddc39794763d392473a757af218d8f9e + pristine_git_object: 46e6c479f159ee1dc78f989d15c4a49af0c89b55 src/models/getaliasop.ts: id: a565ecdcf947 - last_write_checksum: sha1:32ee92736060620b37c6fab9093de5ccef704d09 - pristine_git_object: 80fc453358dcde3f3fc7073ce1aa4b3bb03a59bd + last_write_checksum: sha1:3733ad443c03c861e2221315dbb3b70944d1dd58 + pristine_git_object: 1c562cd34e1c624f985f4d0878917682aca04a30 src/models/getallchecksop.ts: id: 8ca660adad57 - last_write_checksum: sha1:5bf5a6afa4587f4c33db0df9e84ca9a73bf5c73a - pristine_git_object: 0938785cc8f6d1e88683231dba85b52e26565a81 + last_write_checksum: sha1:2ef61c19b283f68d674f0d46dc22eb3a2929e92c + pristine_git_object: f08aa068175e6d514759ad2e7599395d508df868 src/models/getalllogdrainsop.ts: id: 2142b9fbfed8 - last_write_checksum: sha1:caf82ca6e4385dafcab6aacb6d3d047b3c29a264 - pristine_git_object: e4ae45cc4397c87749ee35b2fbb83e4381e06240 + last_write_checksum: sha1:607162b3bbb8a93327dbbbb14e5ae63b0ddb2845 + pristine_git_object: e4ee24f42e45b5924f50e35a3c412e0f538ee25b src/models/getauthtokenop.ts: id: c349c8d2b48d - last_write_checksum: sha1:67e76d51b4372c76db54c89a33db38f771802e26 - pristine_git_object: ea5e32ee447dd717ddca5b90f0e676340e664a1b + last_write_checksum: sha1:2c4a0adb17c83118f0da1f67f30883394dc3f1c9 + pristine_git_object: c14a49f1eb14a3db82e018816ff4a52af2446a09 src/models/getauthuserop.ts: id: "00e612951607" - last_write_checksum: sha1:da9775be9b1705ea2d5aae53aed8f6504deff80c - pristine_git_object: 9ed761bf849b70f1d3ac54a78776405834a91d1e + last_write_checksum: sha1:25ba65e7691a22d2d73c00fcd02bdf9d6c7dd7e2 + pristine_git_object: 77ddf58b6c2e37622e274fdca62c4367eb5252b8 src/models/getbillingplansop.ts: id: 5bcd9ec478d2 - last_write_checksum: sha1:45fc576986c2a49f2350eae328c2cb6d5deac00b - pristine_git_object: 96b01e18cfe8b27b236a873028d95b6cb8de9401 + last_write_checksum: sha1:2bf8e6e978a272d527763cefc95a61d54417164b + pristine_git_object: 66c3ff6f89f600fb118fa115ac879a52d8757035 src/models/getbulkavailabilityop.ts: id: 97744b2096fa - last_write_checksum: sha1:e7aca7671dc4a6e81c86e26f4a632873f5a908d7 - pristine_git_object: 2eb2403519838ad3d94757e8915e3a0803ad8f94 + last_write_checksum: sha1:23baf210d2d0263255375e838eae338314c2a3d1 + pristine_git_object: 2bacfd449e4b583265e65add3a732f1d30c08308 src/models/getbulkpriceop.ts: id: e93a4f232983 - last_write_checksum: sha1:53f08c645a366fdee06842e32f365e6ae5ccc2e0 - pristine_git_object: fe65396905e2572dcf6553ea381c9ff799f25167 + last_write_checksum: sha1:964c8be6c10e20b2fb0a7f0fc93eb92c0ae99a9a + pristine_git_object: 9f8e0964f1f3027d61c063fb98d7c6c558181669 src/models/getbypassipop.ts: id: e880b06541a4 - last_write_checksum: sha1:01eb6eef041ea2dac0a99ad248e57e8ec80aeedc - pristine_git_object: b1a5a882bb9f084566fd0857aeced7bf486b58f9 + last_write_checksum: sha1:33ba24b044ce5c542920551e3323a8af5d992808 + pristine_git_object: 1746d307f0d125514ba87ca15bc5e76259691ce7 src/models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts: id: 6892e697ca20 - last_write_checksum: sha1:320746bcc416095e47a5f586af54381c53e2ea4a - pristine_git_object: 41b6538353a3289b304ca76e5ad651e5b4192374 + last_write_checksum: sha1:51e01ab3ca2d47d80ed99cf75cf6fa3f6644cbe2 + pristine_git_object: 6c41e3e9251b0414cd87f2f302f9a474887503df src/models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts: id: 15d7ab78a3a3 - last_write_checksum: sha1:81eec2325970011a0ee48a3817dc45383de31f28 - pristine_git_object: 1a17a60be41f608e79f14c63609f1fda53eb5f82 + last_write_checksum: sha1:d47f326d937119117d74f86eb7aef7174835fd9d + pristine_git_object: 5e702609ed0736b7119ddce250b8cc7523ca88ca src/models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts: id: 47ddf3242848 - last_write_checksum: sha1:859a8c9c44644a7b5ba84cb0e24575faa8375f61 - pristine_git_object: 66beaad36df0a83848db8c63e65cc6e42b325423 + last_write_checksum: sha1:8cbc40a4886b0811a21d5ed8750c0655b4418698 + pristine_git_object: 7e75e4cd88afc032475b8b5d5ee2638bca384db7 src/models/getbyteamslugbyprojectslugbyrepositorynametagslistop.ts: id: f79e715c62a5 - last_write_checksum: sha1:ea67696b4b4b4b55a66e4bf7bc318ec8d5e057a7 - pristine_git_object: 6fda3b1dd226a92aa9f1cb2129acd355619ab0b6 + last_write_checksum: sha1:7cda1fe27abd8f4d0e8926f5de583d237b281f62 + pristine_git_object: 0bf09f09361dee63d0d3e60f70aa9e1f07080e8b src/models/getcertbyidop.ts: id: d370b166e044 - last_write_checksum: sha1:2bc4b39a1b8b715361ea7a50bda9cb817be96eee - pristine_git_object: bde435613d62c7f6a64f8a736b43ac3b8a4bd7b3 + last_write_checksum: sha1:4ba4f021ced27499d67f4e85f1c2e793308c8dbc + pristine_git_object: 66967c73d9ac96634413d9cc22966560ce9e3ba0 src/models/getcertsop.ts: id: dd4072047ea5 - last_write_checksum: sha1:28dfaf56a39b6ae43ca4677ccf0b2a0475f7df13 - pristine_git_object: 078bba04b4a1a1787bfcd452a11cd99d08b4e309 + last_write_checksum: sha1:8b496883203906f05fc247b550816530fd8d6a16 + pristine_git_object: 12df41a852d417246af75b910e22181b699ee109 src/models/getcheckop.ts: id: c3644a3fd0f8 - last_write_checksum: sha1:1b383f9682ff87607099c0ecda4046734790dd87 - pristine_git_object: b236c8d697b4a78130ef8a9ae40a348535f842b3 + last_write_checksum: sha1:e3cee5da6850bab5888cf102bd46b7d605df49eb + pristine_git_object: 036a4a74858cd60b43cb69a08b83d615c6916155 src/models/getconditionalbypassop.ts: id: 57d35d0c388e - last_write_checksum: sha1:bee606c0dea1180de18da9b73bae36699c7ddbe7 - pristine_git_object: 35955b13a9e29450b25807a93ffddde4ceb7c332 + last_write_checksum: sha1:87ee443dc22d51e19f3786f2db98e67927b438c3 + pristine_git_object: 61bfddcfe8331e9cb5382da6a66bd1f35b635164 src/models/getconfigurablelogdrainop.ts: id: 0b5c1f322ca1 - last_write_checksum: sha1:1b208f6ca542281429eaab4bee1485384009671d - pristine_git_object: 059eb1afff97f6bdc5af07523fa81172ab922253 + last_write_checksum: sha1:327090c7eac9915428e6b8d22e197e3a5ce3c231 + pristine_git_object: 046dad2de71d8760e2027691415da8f7b0b2289a src/models/getconfigurationop.ts: id: 8c5ab8ccd0f0 - last_write_checksum: sha1:f1ae76acbb56cc9d6d03c0c84fa538f741250456 - pristine_git_object: 46dc056bb654f4c83cd72f019aacf547ace7a065 + last_write_checksum: sha1:8be4789011efbd9b45a19c828c9a201caeb3235a + pristine_git_object: 9af597d049d8571b7bc789ff39578c5600f0303d src/models/getconfigurationproductsresponsebody.ts: id: 1530c48e507f - last_write_checksum: sha1:f64180cb54374c8e5c6e2eb74b79b7ee2439351b - pristine_git_object: 4a2c35d746abc173d1d28caf1747d156e16b4bb2 + last_write_checksum: sha1:c5367a77fdb6f84f85241e708054c52758bc0789 + pristine_git_object: e8418ba717e43ecf493bdcbf773fc514d9b89c83 src/models/getconfigurationsop.ts: id: 64230923426e - last_write_checksum: sha1:0685b1252d71d379006b663068e7949dd64e7183 - pristine_git_object: 518c4169cc1013b5493ea7414e7fb33c3c7ab36f + last_write_checksum: sha1:4538678f2258a3d3bec5cf9309ed8d6acac23baa + pristine_git_object: cb605805db38bc4cf80cd10545c58e2ee76983f5 src/models/getconnectorop.ts: id: 8064bf95710e - last_write_checksum: sha1:034c5f3786d5eeaf192c745d227ea4c68d327852 - pristine_git_object: db3866b76da6140d9a452f9ce297ded920798132 + last_write_checksum: sha1:15abd4d4c6bd7111c15afe93c7f496d7f0c8d614 + pristine_git_object: 374ae03ced24332cc7043f9eefc1e4e477fca6a0 src/models/getconnectorprojectconnectionop.ts: id: e463ea909fa8 - last_write_checksum: sha1:162ccb46d2b147f10d16a650ba28f202a8aa26f7 - pristine_git_object: 7a27be9a7c4e30d7071739e41f7951ddfac64612 + last_write_checksum: sha1:e58e0e386ba8d66ee23d7931c87b665c76934c5d + pristine_git_object: 968f90e0c2eb0f7492e83ba92b0a447b5d72cbd6 src/models/getcontactinfoschemaop.ts: id: 33a2b72669af - last_write_checksum: sha1:4f28bb04f1702f45b2dae83fffdea4f22d04763e - pristine_git_object: 0f7c7e408bfa234e3dbff907c09607f9ec38c3c3 + last_write_checksum: sha1:cb569ae60f0cdfc320cfba00c4ac28cb0c162c66 + pristine_git_object: 9089cba4fb1755fbc89eb2a0070c9b26bf96927a src/models/getcustomenvironmentop.ts: id: 8aa1d42b0058 - last_write_checksum: sha1:3bd17f0feacb7477128e274f92bfc5d935d1017c - pristine_git_object: 78f8d7569ff02b992e88d59e3ed4652ff87dd422 + last_write_checksum: sha1:a186f56c68859fee51f174f23edef744ac05ceb6 + pristine_git_object: 5b2993eaeb642845dbdcb70562ca0ba5deb97c76 src/models/getdeploymentcheckrunop.ts: id: 66814c5d14c5 - last_write_checksum: sha1:6f8fcfa655dd3418f433658ebcfd687ab2bf2a84 - pristine_git_object: 799ed4323a06beb1c723c22fc6b9d75db4e4fe16 + last_write_checksum: sha1:ce79ed5994f2eb3334d4f212e866d1498b18c647 + pristine_git_object: d4a6c31db08bedc970b8b589e691575f68f11ae4 src/models/getdeploymenteventsop.ts: id: be2f12ee19c7 - last_write_checksum: sha1:7a246adabc08ad09a2a28fc297d8d110dfb23b92 - pristine_git_object: 2703fa5994464daf6dc5f2585806cd98581b070a + last_write_checksum: sha1:d70ff8e44174c8c513a878155690a5eb588b3905 + pristine_git_object: c81c4bdd6facb1c00fbe8b8b6ec2e0a5ae720858 src/models/getdeploymentfeatureflagsop.ts: id: 8d6a53cae260 - last_write_checksum: sha1:1c5ac3a661ac41d71dea086ecda42dd03c5c6eda - pristine_git_object: bd3dc974dd332d58724018e908cf37078f676084 + last_write_checksum: sha1:58e7ec8f2d17040e37a8d434344d2a434fd03e39 + pristine_git_object: e4dcb6329d984940ba07518fbb3c35bb66992d82 src/models/getdeploymentfilecontentsop.ts: id: e2d1d5099592 - last_write_checksum: sha1:aa9c5c4f4acacf26f009499a6cdb452300e53db0 - pristine_git_object: a2a4102f3be5d55537ac6d0db06b3d3559e26d13 + last_write_checksum: sha1:a0dc8c45eb4d15fdb18834a490be97eaf2d13052 + pristine_git_object: 36ff83171ed1e4b6eacd1bf807cbb925a3ac0203 src/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.ts: id: b5227e690a86 - last_write_checksum: sha1:ad0a51c95a10786f05c9ee464151cab0740e2270 - pristine_git_object: 77328f7818003bc2d5fb15c27efd16db14856e3e + last_write_checksum: sha1:a8350aac24ade3fb4ea0a8eedad6c6e14263bf46 + pristine_git_object: af5e9d961dc727d9beadffa24cecb92939c99b26 src/models/getdeploymentresponsebody.ts: id: 915c8f1195a8 - last_write_checksum: sha1:5934ea9efd864182b74f95ab6ead6459311f046f - pristine_git_object: b0550bbeb2cd8bcde4b55dec7d0e4234591ba58f + last_write_checksum: sha1:64fdf54971529d463edf4734b14f8bfdd26fbdbb + pristine_git_object: 8a48c9914a48c33b61b1e361f88696512e85716d src/models/getdeploymentservicesdeploymentshttpheaders.ts: id: 49100520fe29 - last_write_checksum: sha1:1bda280fc5e9e32d79d03f70587ceb8f4e2421e2 - pristine_git_object: c01f9a3e29c777799e27d2df5369976aefa33327 + last_write_checksum: sha1:b08d89caf98f214b3e62b0c4e7bdf8836512f593 + pristine_git_object: 7d31a8b534c9c797b368bd455a1c9663cef5e7cb src/models/getdeploymentserviceshttpget.ts: id: db1128e3a4d6 - last_write_checksum: sha1:e627fd67cf86312167288fcd277989d571084553 - pristine_git_object: 78cd06a183def0118389a0d9e3fd16ef5852028f + last_write_checksum: sha1:60c8a439eb345a061b4dc905f1512bf385edc3f6 + pristine_git_object: 90f0fad02b76fd117b65eca9a4d5cdc0da2e7512 src/models/getdeploymentsop.ts: id: 51c6ebed6c62 - last_write_checksum: sha1:75f9360c1551df0a58d04d631cf6e82ec7942792 - pristine_git_object: c6b240c24381799ccee3d8b1be9284eb520d2326 + last_write_checksum: sha1:c5c4aed68160ae524c03b3cfbfab5cc6a0ea5360 + pristine_git_object: be6b3096f6736ed6160101aa0e4890e8cddcad74 src/models/getdomainauthcodeop.ts: id: 47b29760f9bf - last_write_checksum: sha1:1f11710ca435afd08695f7eb4ef1acacf08e9d4c - pristine_git_object: d52a1771a2b28460b1c11d229dad18d7f3a1a024 + last_write_checksum: sha1:9b902cbf5ebc0269c60fb8af28b3f33bb4b525d8 + pristine_git_object: 04824d228b4030d5e629e7537d3ce77b1f68d0ff src/models/getdomainavailabilityop.ts: id: 4937c381f9f5 - last_write_checksum: sha1:cd85f827ed4aae96be09e9f0af1679d27bd328fb - pristine_git_object: 1689a7d5ad5995d137eaf827d248ff666f00b8fc + last_write_checksum: sha1:1bb5a34bccf3f94339db6f6fb3d2860e44e8a8de + pristine_git_object: 9d8bd7b05a88a7b4e745f5bddb390e0dde4e5d23 src/models/getdomainconfigop.ts: id: 8e93e15945ac - last_write_checksum: sha1:41f69be0a010c108bb0c8746b498caed2563d64b - pristine_git_object: 3a3e4804aef20621c891dc389f05a2b1e6738376 + last_write_checksum: sha1:8db74dfa4ca8d6c7f812b38eff7b6632d3ef8767 + pristine_git_object: 6a2804dd092516d8110a17b995a642e202b5cac0 src/models/getdomaincontactverificationop.ts: id: 597db1141fa7 - last_write_checksum: sha1:b6677ffe9dc02f9c57db6c297a6137ad8c15879c - pristine_git_object: 562e7d143cb34353e55ecafe0064f4d643df9530 + last_write_checksum: sha1:2caf9e38e177b6833b9c064ceb9f0dd78ed86943 + pristine_git_object: 505f2a2c943f5d241f02430865b135f0819cda98 src/models/getdomainop.ts: id: 3811ecc7e0c9 - last_write_checksum: sha1:de64427d8b91a75861c3f15bf67d96772e3a265d - pristine_git_object: 9c5eb74749b57d0c56b2f95d37415f3083a0e425 + last_write_checksum: sha1:f10ff1b3666e03fb923247b19d7d54b7be6e322c + pristine_git_object: 8919d1ae69caebfdb0a18c6e66d5de21362e3969 src/models/getdomainpriceop.ts: id: 06c74230309c - last_write_checksum: sha1:4e8f73f3516ab034152117784f0d2eccbfbaa1d2 - pristine_git_object: d6872a6583c3aa4f8bc67cf481eb10ef89e930c7 + last_write_checksum: sha1:26c1ec2b73d43b083c4f4461aa6df71b5f408c34 + pristine_git_object: 53d18c193d1fde835930784912f0a229169d5456 src/models/getdomainprojectdomainsop.ts: id: b92da4d195b5 - last_write_checksum: sha1:e63ec72b287a83f716cce02b17d63bfd476bf0df - pristine_git_object: 6a6c09152785f38e597bf26ce4959d1a57b81950 + last_write_checksum: sha1:29966be3a06c773feb0f2b1df3079f34b9f42ff0 + pristine_git_object: 3f750b00fb50f4b5af79d2f728e0e7605c05d861 src/models/getdomainsop.ts: id: 6edc171717a6 - last_write_checksum: sha1:392609afd1eb35173e3cb8f28e5442ca0663d961 - pristine_git_object: 1432db828c02f0a8603b05712f583751247f6856 + last_write_checksum: sha1:49225d131db5e3481de4ed9ea647952f77a9d885 + pristine_git_object: 2dc74ab6cf967fcd9d1f5a9d745020222ce832b8 src/models/getdomainsrecordsbyrecordidop.ts: id: 4aa35dfc5e56 - last_write_checksum: sha1:28ac4cd706d283f388af29204bdd7c55370e1734 - pristine_git_object: 93a452e46d6ab83bb411ca4b6b48d277fe6af643 + last_write_checksum: sha1:f069ee9dafcc3faca62f5de213a97284381d4965 + pristine_git_object: 95d5486b9ce2108a4281699ff3b717e5f147f31e src/models/getdomaintransferinop.ts: id: ab58d2190cb3 - last_write_checksum: sha1:f0869671293dc16a55701b63d362249093590a16 - pristine_git_object: 2c44e4d726304b0ba0d30fc8a79d70e04412e685 + last_write_checksum: sha1:bd952cf39d6aa263dbc193c817f933548b0ff4f4 + pristine_git_object: 77b2834481aa1a1a5f6d8260be043952f257e435 src/models/getdomainverificationrecordop.ts: id: e4ecc0ff8d64 - last_write_checksum: sha1:bc6ae79641fa15d0299a4902b4811ad881daa838 - pristine_git_object: 54c5d99557897c2fedf54c7813fd0d287846dc2a + last_write_checksum: sha1:64af4e1229d56538a34584fa883d359592526db3 + pristine_git_object: 368577ccfaf45d5ece65da701fde482f3f35038e src/models/getdrainop.ts: id: 5dff038131ee - last_write_checksum: sha1:9956e50909958306fd9a1fb7ad7fa39891e75744 - pristine_git_object: 677051d8f8858e505ff844f87535c39edda9e68c + last_write_checksum: sha1:a826b7d51a40492becce3bde14c2b26f9d978daf + pristine_git_object: 4a8afda280dec3ad4e6e76c5f57bb253183384fb src/models/getdrainsop.ts: id: d94f219e2480 - last_write_checksum: sha1:5a1b2852ed442b9dee3aee1af8e0874b11c1f9fa - pristine_git_object: 729692adfe798fc6fb190c7862a47570208839ae + last_write_checksum: sha1:a39decaf2e4896960deeac2f6a77e652edeb95e6 + pristine_git_object: 272b38939f12d938a1ad422030e7f3178d935a29 src/models/getdriveop.ts: id: 5b47799a83fa - last_write_checksum: sha1:e9da276ff636492bc5bee6681a4a886cdb482794 - pristine_git_object: 2387bb24c0917d8e13a8067aa3bf9e71a80a235f + last_write_checksum: sha1:971b9b24033b1e6b4504b233be03b4569f0977db + pristine_git_object: 06c3a91d5c3217d6b1f4d8fa20aef9124e275fc5 src/models/getdrivev1op.ts: id: e1e85c9b4ae8 - last_write_checksum: sha1:f3538e31a740533f5e08cb014327810226877d2f - pristine_git_object: 6541783fb74c4071a5918d82710279250be7e53d + last_write_checksum: sha1:56e942ccd3629423cf373b2e9353d769b6c32b99 + pristine_git_object: ed79e2495a8d21d3019a81e59f0af7f628c061b5 src/models/getedgeconfigbackupop.ts: id: 7db0e1641ee9 - last_write_checksum: sha1:71549baa9d516297315765ce29e9b5da320330b4 - pristine_git_object: 992eb29a8949677d03b1c36adad927fda4ba6dfc + last_write_checksum: sha1:33616d072bf56c04d1deff505341c4e2a592eff2 + pristine_git_object: 7233cd82f565e785e308735941efc30ece7897f4 src/models/getedgeconfigbackupsop.ts: id: d50044f952e9 - last_write_checksum: sha1:470954ec6c5a4c60119d084ff88af54b3200c4a7 - pristine_git_object: 4f077d047f192530de3a3e4bd4ce4a9cf4231f9a + last_write_checksum: sha1:a51ca5111024946eeabee462992cb1dbca45f675 + pristine_git_object: 21d3586e899a4cb870df7d0b8083b5faf6bd6eab src/models/getedgeconfigitemop.ts: id: efce923d3f82 - last_write_checksum: sha1:247d654e827b49e3686bc26fd2100e7999f86536 - pristine_git_object: 1622d1ae7065bde21110735c1b8b14dcae55b282 + last_write_checksum: sha1:3276c673628b7a7382c9c4782f29987fc99ec190 + pristine_git_object: 417c1f7a97c6805755287863494ad02166ae8dd4 src/models/getedgeconfigitemsop.ts: id: 523a1fcbd79c - last_write_checksum: sha1:4550df99644915d4fea4f30c2396ce6e5ba25117 - pristine_git_object: 3e6383751a1f5d2beeeb3b27af49f155475e5a1f + last_write_checksum: sha1:376163ad3f5970afff682348fa04f3ea7439f970 + pristine_git_object: 716238c104e29aa5a15b13e287dcb0e0f47e888c src/models/getedgeconfigop.ts: id: 491c52205b78 - last_write_checksum: sha1:7179dad85ee118b8af6cf9376fd09828d92c5789 - pristine_git_object: e76cf3182e276097f7058dbe890af4d76ab303cd + last_write_checksum: sha1:00d0c565b87f12131680c61223534bb7f52c6ed1 + pristine_git_object: 23861a52d0c5aee41802adf3d01413f587aa4313 src/models/getedgeconfigschemaop.ts: id: 3a76b86af30f - last_write_checksum: sha1:5a008b5e333a53823d21ecfab73a0c908ff3d6a8 - pristine_git_object: 697e4dd11b88cc5eec4a22c0fc8de9316411c6b5 + last_write_checksum: sha1:9266f9a075886be6cc23b909179fbf2f7824e187 + pristine_git_object: d8b52c54c5aa522267dba5402c60779f196e4b8b src/models/getedgeconfigsop.ts: id: f5d6500011ac - last_write_checksum: sha1:1fce07123ab77701b81adee3bf1619fff79682d3 - pristine_git_object: 322293e02d3f5d3d4fac7613022f15a6a3adbcc1 + last_write_checksum: sha1:09ff67f0f3e13bf3347da3fa1b294e0816c05bc6 + pristine_git_object: 05e7159dd791c7a1a4647760a481fdf7aea0b3db src/models/getedgeconfigtokenop.ts: id: 7f7b31da1521 - last_write_checksum: sha1:bfb2e26b16b33aa4725e59ec62fec3bb2bcb399f - pristine_git_object: 78ce00dd31ff90b3c042c99e7e9996a0e82ff0df + last_write_checksum: sha1:8095ba36dadf467a53f45c69a067b3cde423f0eb + pristine_git_object: 5bb7e7901a9138c71b83c0805abbc951587e149f src/models/getedgeconfigtokensop.ts: id: c9d0bb20b0b4 - last_write_checksum: sha1:181a2d1f930ee74116de0cb1f13402b801a03edd - pristine_git_object: b82618b644b5dce3fa6a7a70c015e4f7b76b9c03 + last_write_checksum: sha1:cdf6f549be23bca40b39edcf4b846627036c6bde + pristine_git_object: 020da8f7550f2e5b4da96cb62d8a8062259cb130 src/models/getfirewallconfigop.ts: id: adf662e9db8d - last_write_checksum: sha1:02a2c7eb2cff32aa3bf60a0cacf1cd4d78ef6462 - pristine_git_object: b9bdbc04ef19be6d9f5b11e82827464a0c537437 + last_write_checksum: sha1:f7ffa38dcb5c1c641fdf9146007dc5a38c5dd466 + pristine_git_object: c72735f7e4842965c00524f27cda811be6ec3ddb src/models/getflagop.ts: id: c7c525454195 - last_write_checksum: sha1:be93b6795439db1b0ac346ce780afb430ca4e290 - pristine_git_object: 0e8b386e3dcd0f679b66fdc88c503be18404bed1 + last_write_checksum: sha1:17a07476bbc79e7cdae301df5522ad00e46a9420 + pristine_git_object: c947080ccb43b9ab3d9b2790ae0c096d86bfe434 src/models/getflagsegmentop.ts: id: 02d8544a5bec - last_write_checksum: sha1:d5635f72d19d93eedc4f6b4f27778374938230bd - pristine_git_object: 14e0676ef14ad0f65235979c1390ee98d7fe9eea + last_write_checksum: sha1:896af5dd671dd2701de90984fe4bead853dad94a + pristine_git_object: b42df35b92b13064f3fffbed877194032777dbaf src/models/getflagsettingsop.ts: id: 9da683154435 - last_write_checksum: sha1:fd42ab077ecceeadd8ac56f29f92871383a2d2ff - pristine_git_object: cf5bea0514c22c39d53c2bd1b70767ffae0be396 + last_write_checksum: sha1:be355dd424ed5e8fe978b2dc8f28c0d5eead57a1 + pristine_git_object: cbee12a6ab83eab3bf9371346b1d5436a06a0f74 src/models/getflagsprojectconnectionsop.ts: id: 43bc596381de - last_write_checksum: sha1:5676e05b26db22f8bcc22c32c0b47e0263b0279f - pristine_git_object: bfbf25cea8041f3f8a08cab19d014014664a5086 + last_write_checksum: sha1:01334704a0868593f8e82bb91e805679500a0b10 + pristine_git_object: 5030936fb0f12a261ca6837189d9bf917ea8ea9a src/models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts: id: 766181684f1e - last_write_checksum: sha1:1db05907ce838835822bf6baa48bdc63983424ed - pristine_git_object: 070e14a505adea15905839c4c1b4b6702b19b6ff + last_write_checksum: sha1:4c05f08964d996ffd89e5a347b47c1acac1ab201 + pristine_git_object: 3a1410bc53bc68920142a6da61ec6ebe81cd49ac src/models/getintegrationlogdrainsop.ts: id: 380283d6ab00 - last_write_checksum: sha1:ea59a09f277fe9c5447c71a099d749fb482ac908 - pristine_git_object: 5991007dc435556b4720e9375a6aa69c7d2e273c + last_write_checksum: sha1:4b220df49133f6b30d3af536df7ed4c5eb9cb597 + pristine_git_object: 327f566c8cac71d0097be029d813b5616516ca83 src/models/getintegrationresourceop.ts: id: 212e2594517d - last_write_checksum: sha1:812f3b195845c461ec48c44dafd507ee47398f83 - pristine_git_object: 98ad433a013e98731e0aca5d649792ba19e2f16c + last_write_checksum: sha1:aeb526569acadab84ce903eced4e649214f19ce3 + pristine_git_object: fca12bd12ee79ba87f0f4f4c8d90a4b3aa3b1171 src/models/getintegrationresourcesop.ts: id: 866f55af6b84 - last_write_checksum: sha1:53eb665af939af77beb3f47bc473120ae5768384 - pristine_git_object: 6cac46906dc111c33e4245642e30e439c3d67951 + last_write_checksum: sha1:f52e8b84617d31a841fa99a405f523e4f03ac547 + pristine_git_object: 601207bb4ae166e53fc8079abb4ddd1a5f6cc593 src/models/getinvoiceop.ts: id: 4259256c55de - last_write_checksum: sha1:87a0f56e5c14dd006db9a6be965f24160aae1dd5 - pristine_git_object: 7023f88eb95eb9ec5cecc95920c747bc3ecdc380 + last_write_checksum: sha1:ed67c137a34390a2a41e4d16b66bdb28911aa742 + pristine_git_object: 5fc41b4dc765c2d526f7b8e50f8ff59aa3ae4374 src/models/getkmsissuerop.ts: id: b56aac9dfcc3 - last_write_checksum: sha1:9084cae8076721e2eb9211885c15f3ea936939a9 - pristine_git_object: afdf58c79fe0d441a9b25d3d3843fdf156e8e200 + last_write_checksum: sha1:41911f8f4e4ae64eaaf98ca9000a73764688a821 + pristine_git_object: fd5fb3adb4363e5ee94dbb32d29cdaa4c317c82b src/models/getmemberop.ts: id: 51a5c13e1b1a - last_write_checksum: sha1:d3be0f9f0b0fe395719061995a5da88f20dff1df - pristine_git_object: 62d46fcc9313d8c39ba1ad060535fc3b7c141a72 + last_write_checksum: sha1:766e3a279c4705b4a0f69dc2753d7a0e3693beb1 + pristine_git_object: ba08a9ad190bd2bef126aeb1fd65e44429fc77ac src/models/getmicrofrontendsconfigforprojectop.ts: id: 4f631d78cb3f - last_write_checksum: sha1:030cb4f34d44e020497bc56591f995f977b562c5 - pristine_git_object: 0c420f94b9079b5c867bb0935a3928dc3331a60e + last_write_checksum: sha1:70fd07316e455ad886c52b1aa6cbed50d8537fe5 + pristine_git_object: 66d5e49e7612fea6acf44b85d3352152de8805b8 src/models/getmicrofrontendsconfigop.ts: id: 2986e20906d8 - last_write_checksum: sha1:5becf125e5859b01d543b2836b9bcea54086a714 - pristine_git_object: f68e016d9d71369d742506df5755b0edd1dfa87c + last_write_checksum: sha1:ba55208f64c597060387a14873444c0b8d1a9287 + pristine_git_object: 10f2e018d4d57de30684c7b7356c6410d3672201 src/models/getmicrofrontendsgroupsop.ts: id: b8e18eb652ba - last_write_checksum: sha1:0f1d2b16efbba33e9166c09b0fd7334ba71b9f69 - pristine_git_object: d075ff7e3ea6699477ee2ca583c1db7227359b23 + last_write_checksum: sha1:58b6e2845eaa4675235e856f64d8051f1f485c7d + pristine_git_object: 50c3e875b3587c3c5ee9f074e27bcd699f4239ca src/models/getmicrofrontendsingroupchecksconclusion.ts: id: 2a18b056d246 - last_write_checksum: sha1:145868aad771245b30cecd31057d02545540848e - pristine_git_object: 52ae7949c920e059ef4a1522cd5e376a9776f568 + last_write_checksum: sha1:4488efbb9f62f97398f59b665b46ddc8b70df23b + pristine_git_object: 8e937f0e6adac0c959fe87fc73c8712f462ea9cc src/models/getmicrofrontendsingroupresponsebody.ts: id: 8186357c2400 - last_write_checksum: sha1:673c1e09b851d0468d20bab14b62bf657ccbf9ad - pristine_git_object: b8db3843374aa169bc555c0c0408fd1644ab6f2a + last_write_checksum: sha1:56dd407b278acc8b7132d03eedc4e613d7e99135 + pristine_git_object: bca974c6ed759c48b0da22c25e7620b09fc078e6 src/models/getmicrofrontendsingrouptomicrofrontendsresponsepreset.ts: id: 24d1adb4682a - last_write_checksum: sha1:16b571717a091169149e229a53e1dfd216e03fba - pristine_git_object: 8cee4e0a001585a8d1a8ea66b25d4ec43e6fb76e + last_write_checksum: sha1:d9e64c5359a4591cd52e63a90bc521056985e4b6 + pristine_git_object: 784c7632c6f894e3954e83e1d07d3ee68ab7ee48 src/models/getnamedsandboxop.ts: id: 3a4fc4f4229d - last_write_checksum: sha1:0a29d128fa879137313834bae9872d9b0e3cf28b - pristine_git_object: bedbaabaca050b4abe0cf110492a2ae7b88bbd01 + last_write_checksum: sha1:809b7c3d3aab5d12f2f5a13ecdc06048d90cebc4 + pristine_git_object: 2fb71ff9b1e1b57c53adff94d50943693a1c8fe3 src/models/getobservabilityconfigurationprojectsop.ts: id: ee4615df3abd - last_write_checksum: sha1:3053c4401e1f754c5119834443b237a377eae240 - pristine_git_object: f308c19319d33ff8c6256a81ac8092bf9957b47b + last_write_checksum: sha1:3ca11342ee2d7a8a322097137a3afb0f9767a053 + pristine_git_object: 4cca3b89765cabcc100fb3f7357350174e941458 src/models/getobservabilityschemabymetricidop.ts: id: 2bc2ab367a38 - last_write_checksum: sha1:7a3abec4defae8a0b4bfcac186e52fef149f8aef - pristine_git_object: 1499f4b6428f430ddd4e9f79f795dce857d06cfd + last_write_checksum: sha1:37fb44d7840afccf8463e9433c1c191c0573408d + pristine_git_object: 39a11a7fceb131d7edfe9d2ae164cb79f3195261 src/models/getobservabilityschemaop.ts: id: 05eaee3a642c - last_write_checksum: sha1:945e42fd88186ffc26a9a8345636b1497e601316 - pristine_git_object: 2447dc4664b53eaf8ed968227d0ad1b4a0d74957 + last_write_checksum: sha1:3bb54e3a6359ac8366afd7218eff81ce911c3d30 + pristine_git_object: 8c1a6bec5a4da28f90aadf1ab91f9d1cc52c50f1 src/models/getorcreatedriveop.ts: id: 98f7dfb7980f - last_write_checksum: sha1:41ceb47fdfa9f4b8b773f768d8414dbb519b7ad1 - pristine_git_object: 6dfc89af13d755c97cd50f6cfa48042d9b9cca05 + last_write_checksum: sha1:72db10d6811d1fd8b44cea85c56dc13b86fdb2bd + pristine_git_object: 4454d995c4fca38724282b2e1ee91b10e8e2a0df src/models/getorcreatedrivev1op.ts: id: 41ab32f826a4 - last_write_checksum: sha1:42d75275550609571d95828b0d7523dac16fea17 - pristine_git_object: 1593e247e6c49f028832748afabe92085170c13d + last_write_checksum: sha1:30dbe90c654feecb3d7f62fada90f6be1054b168 + pristine_git_object: bfc2e2d5e46a9b6d6dcdb2ececc721c9b3c1ee7a src/models/getorderop.ts: id: 0e4a5efbc050 - last_write_checksum: sha1:132be63f8e5c8043788adb9d0ae52c5bbf3e2fe7 - pristine_git_object: 537eb2b5e9c0826b226456a1a72ea5eb8e2a6720 + last_write_checksum: sha1:afd071f43da5f125b137f79aa76c5075af2bf89d + pristine_git_object: c2d892fd1984c805ffa6129a0036a67397f6b31c src/models/getorganizationdsyncgroupop.ts: id: 2159338fab6e - last_write_checksum: sha1:0f87afc7a186f963eaaafd78b02495885cfdd262 - pristine_git_object: 8648761d8c8ea92d9c8c737ee71019989a816847 + last_write_checksum: sha1:e052ef78d8e8aaa66704393920e228ab382394f6 + pristine_git_object: 5c0c6db61e364e0444e00fcb977ffe7f26e7f308 src/models/getorganizationop.ts: id: ea36c44ef7a7 - last_write_checksum: sha1:bc9338a2ee51d13ae05141adf421ada39d96e585 - pristine_git_object: 713449da3aa4d299f670c290d95144001bb92687 + last_write_checksum: sha1:ea1294713ad80c9ab84a0d09b90c9e8cc7ecdedc + pristine_git_object: 42cbbdbd51537a8fdbef7747cc796c90dbb06073 src/models/getprojectboxesop.ts: id: 03e4df9bd151 - last_write_checksum: sha1:d2c939c71c01dae64465ade4d17443acbbeca0ef - pristine_git_object: da49194075dcb829152b4eb392cf6ae53b58f15e + last_write_checksum: sha1:fbcff8de2d6f1e51056aef4ca38c43938a4b4d4f + pristine_git_object: 27aa4b438a7d10fc014bc2045aa479773621f5d7 src/models/getprojectcheckop.ts: id: 0b9696949f8c - last_write_checksum: sha1:6030938c0abae98faa79d37522c94454d0fc88b6 - pristine_git_object: 070d9edbbc2a1a9ce33900d968cc8591433308df + last_write_checksum: sha1:0fd50188e2854fd4c60ba162a853e2d1e7d24728 + pristine_git_object: 3568c98091864ccd5391a609107292d139ef431e src/models/getprojectdomainop.ts: id: 996e5f222bb5 - last_write_checksum: sha1:cc1a91fe561f636edbf7c315f07c0cc55a16ad8b - pristine_git_object: 8430d5681516a193c1187934b7973caac5433f80 + last_write_checksum: sha1:ef5a3922fa0d1e5bf9f34f254dab19d012dc0c80 + pristine_git_object: 72a5b4814bbef084684579fa4af4b4024a520439 src/models/getprojectdomainsop.ts: id: b381bd3955bc - last_write_checksum: sha1:9fd6c7d108b9155b65fffb9bcaaad2075dc44ec3 - pristine_git_object: 8ce22f886fce4d920cc449ac25c8a408394469fc + last_write_checksum: sha1:215b4d3d50c4e357e7a60ac551243fa2985c4676 + pristine_git_object: f811ef07efaf14168323b434c785117e640031b7 src/models/getprojectenvop.ts: id: c9423d6c9aaa - last_write_checksum: sha1:d58416e4ca64e9583792d86356ea5502985ef3ce - pristine_git_object: 95054d10e9f018245318ee4bbbabe747a6770fd6 + last_write_checksum: sha1:691eda648f2f753b3870459840d7e297f5509b48 + pristine_git_object: be92b8c32d1b265a610934c662c0fc71365882a2 src/models/getprojectmembersop.ts: id: 43d923194829 - last_write_checksum: sha1:57d3f8e2659b9ebe7da2d4aa9ede2016867a01b2 - pristine_git_object: cdf52f5e18d62136fe4a364fb25e5ff1c2b96b59 + last_write_checksum: sha1:ec7e8ec75cd1860340f01e0da3d7a47aba189022 + pristine_git_object: 987f6daab0f71b90a298a74cf7d691f169a6f204 src/models/getprojectprojectsbranchmatcher.ts: id: 149d11649333 - last_write_checksum: sha1:81c3a6ad27e05cd89ff4d3744a72449b05ab9587 - pristine_git_object: 4ec73d0443177d3abc63641265bedec7ae664716 + last_write_checksum: sha1:eb48336980394ec01c55621d715f1d77573fe0da + pristine_git_object: 0bcb86d8cc38b1165ff01783c24e28d4a667f40c src/models/getprojectresponsebody.ts: id: f2a0cb36b375 - last_write_checksum: sha1:7e5edb4de9d51da719938dae3423f7a9dd3486af - pristine_git_object: dad1f8efa5e90f27e5cadf189b2882e6f9169a4b + last_write_checksum: sha1:d443240dbe993aff18b52faf04d1279b21647dd6 + pristine_git_object: 517055f8f3aca7321facbccaf935916260e4cf73 src/models/getprojectsbyidornamecustomenvironmentsop.ts: id: 592c1cb636f4 - last_write_checksum: sha1:0636ae333d00aaa84da40663585bdfa4366c7ecc - pristine_git_object: b5cc4b6ecd8762c07219f972bf35bda892ed1340 + last_write_checksum: sha1:e85ef259091d6320cbd60b56a1d1d7f2d5e29535 + pristine_git_object: 25e46c63a8b77fc4680a0d45fc3f3d7ddc33d170 src/models/getprojectscontenthint1.ts: id: 1a00d40911de - last_write_checksum: sha1:dc87f28dd338b9ad33d5427aac2e0f7b238e318e - pristine_git_object: ede7082498bdb0ffc02f3498a98f01e445348c34 + last_write_checksum: sha1:275e939658fb2618d9bcd95d2a5470c15eaee9ad + pristine_git_object: 4bd3b3c66887449c4dec920398af41d4c147ce47 src/models/getprojectsfromprojectsresponse2.ts: id: 83a7db79d308 - last_write_checksum: sha1:ac0023c32816b1545565859603802c2b508d7e94 - pristine_git_object: de2e97b10bf699bb625bad79caf53f019e216c1a + last_write_checksum: sha1:57328b4de63474b013589995f4b90bec2e227381 + pristine_git_object: 0b31de883c212ec7bfdc1a057fac6d78acc70060 src/models/getprojectsresponsebody.ts: id: 5f00fe1e9926 - last_write_checksum: sha1:d30c3ccf8e2a19b241c9b695b8295223d6601e7e - pristine_git_object: ab43d5e7547f382cba46da055277234a3ae890ad + last_write_checksum: sha1:d32de4c1ed9f96105e139b1bc726509907c8fe2d + pristine_git_object: bc9f4edc26dfc6ac1637d488aedcb5e636fde513 src/models/getprojectsresponsebodyelasticbuildmachine.ts: id: 4de29948ce69 - last_write_checksum: sha1:f612faef3cf03a173a8949d7f35ddf89bc096277 - pristine_git_object: 978a6447e4ab289f306dbe94dbf69152f57baff0 + last_write_checksum: sha1:cc4ce9dc4835ba3b39226816f52ef4ed6ce68162 + pristine_git_object: 9a9253e57a33269a9d4232946fa8769fa4ef675f src/models/getprojectsresponsebodyprojectsplan.ts: id: 27ef5933ef45 - last_write_checksum: sha1:1536a9c7eb6a5c5042693a7e864a8975084f37c0 - pristine_git_object: 20391b969a4545d19563efa13c42caf2c62b3c13 + last_write_checksum: sha1:502c2b6118de7f01b09ee7ef6b70fe0a96a0ab79 + pristine_git_object: 059f4b09d967f0a2b530fb910094d1ee854e762d src/models/getprojecttokenop.ts: id: 2afa75ee04b3 - last_write_checksum: sha1:4d488a8e0278582d1eac3d059dba2285cf3bc43d - pristine_git_object: c7dbb0de9d6e993afc3a982c46e68ba01e367f90 + last_write_checksum: sha1:2208d2df9cf49187c738c2479f5f757fea766159 + pristine_git_object: e35e3e0186385e0bc0aceb9401361317f5f5aeb4 src/models/getprojecttoprojectsresponse200preset.ts: id: 83fd047d8e6a - last_write_checksum: sha1:0b5235d8217fbf5fa14b77aa1f93bcacf78ae1fe - pristine_git_object: 72bbcd4f42d526e360200e1c946e3aeeef93ae63 + last_write_checksum: sha1:34b353e574569e5e282d19e36d97f6fc9eacbf50 + pristine_git_object: 1c6c3d96067c82e1c40a0a5d687650cfcde6bcf8 src/models/getprojecttraceop.ts: id: f4574f6504b5 - last_write_checksum: sha1:844170e6e03e3c43a581994ef6be36745b901ee9 - pristine_git_object: 692a04a2bb4cc15e4b65e9a8b524ef4719cbe489 + last_write_checksum: sha1:8f4f1440a535fbec2fb6be6f95bb116dbeec783b + pristine_git_object: d1272cccf31beeeac9db3e07d142d2f35989fe24 src/models/getrecordsop.ts: id: ad054e92ab14 - last_write_checksum: sha1:2127c6a210e10b17de5230aaee4bd7602d92ceb8 - pristine_git_object: 8fd49925cbd2a05bc5c4dd629766c9a468d0de85 + last_write_checksum: sha1:6e5de24da0e5fe89e76062885c0c901f81d50892 + pristine_git_object: 02f271f23cc06fea35b42d62bbc163b923e14cc6 src/models/getredirectsop.ts: id: b4530b4255cf - last_write_checksum: sha1:5f9c1d0313c34955c92d60f344cd283324e8aa72 - pristine_git_object: 87decde493cc3fd795bd3069dce424b492d5e483 + last_write_checksum: sha1:29773dddd6dd10f11b8bc8d24b3a58235c92fc7f + pristine_git_object: ad9b498eeaba5e4170abe5a97067fe51501b671c src/models/getrepositoryimageop.ts: id: 866dcf888887 - last_write_checksum: sha1:c65fd3bbf4c9938c6a7761495b6246c21fa95f92 - pristine_git_object: 8bed52122a3d8c5d00e559041dd27596a05e9bee + last_write_checksum: sha1:a4e9e0dcf026c626f07663eb35774de18abf92de + pristine_git_object: 626e07f99cae0fddf8b24d405d222eb631f64188 src/models/getrepositoryop.ts: id: 3be6666364c9 - last_write_checksum: sha1:2704daced96d6fdeccfdf15c9768111660e6b91a - pristine_git_object: 2bd42a715c1bd90f15c43d64878b7e002d6c1e7e + last_write_checksum: sha1:5f2f1f43323f01d2a565e1139d08563914e132b6 + pristine_git_object: 9b623ae57cb72cb51ce2fa4cf5bbb84d3fef1d51 src/models/getrepositorytagop.ts: id: 1a3a519a6363 - last_write_checksum: sha1:52b12360b196d4559af701cf14507d95ff6be2d4 - pristine_git_object: 7c2d7b68fe11a7d8d2b70476cf409c75ff3f2328 + last_write_checksum: sha1:0123d028edc4e88607cecec1622c54476b52653d + pristine_git_object: 4313afa7730be9e97f6176d1bb2825ae2c5f62f9 src/models/getrollingreleasebillingstatusop.ts: id: 2fca3ab2164f - last_write_checksum: sha1:82d12efaad3c41380696baaea1e776f543ea18f4 - pristine_git_object: a256860cf31542aa8c6f04a4232c0d347fe7c30b + last_write_checksum: sha1:d92f100c77223fa0cd7a2fc4488699796eedf9bd + pristine_git_object: 20c60a3c096954f41de413e70f555c02e8f23cac src/models/getrollingreleaseconfigop.ts: id: 19247c6cbe80 - last_write_checksum: sha1:4df363d8f524345d5ed3fef787e800f5f1c4cf3b - pristine_git_object: bfc19a8ea0d25d4dd2cc7757d973588ac07510d3 + last_write_checksum: sha1:0a8a7011a8ffbebc10031a1bcd6b4abeb11f9e9a + pristine_git_object: c6acf3c8b75666144e19b7ab4ecf443f5a82cde9 src/models/getrollingreleaseop.ts: id: aa2d6cab498a - last_write_checksum: sha1:8487bf7a0aca3978061057a0beeba1f199cb85c8 - pristine_git_object: eef3c9d6fd6f5753732756456a572b4de1fe1c8e + last_write_checksum: sha1:feca25fbf12c6c7d2ee21c1f7d6a2f7e7ec4d33d + pristine_git_object: 5e360d0bda9d11c8225c943a1bf09934806a8431 src/models/getrootop.ts: id: d36b2758b814 - last_write_checksum: sha1:3716f1bb2372df872657433c6c425fea5f9be347 - pristine_git_object: 28ac2283b1d64b9461ebeb048aa42495b4048a28 + last_write_checksum: sha1:e39c785ad1d511a292e2c45c424358801c40cd43 + pristine_git_object: 0900f3e3d97558bc8880f0a6a9db8e49e3f50270 src/models/getroutesop.ts: id: 19ae1fa5c3ee - last_write_checksum: sha1:e4462606634705b8f74a831d33992c51199c24c7 - pristine_git_object: 7d9a9bb8fadfed1414e54e0d05d0f57e9e7d9562 + last_write_checksum: sha1:c51b0b2e0e6eca9fb43a6e86dedb5cfe77c54004 + pristine_git_object: 2096caa78a09421a05136b056b20c3b61bc7255e src/models/getrouteversionsop.ts: id: 1d01eb4b5119 - last_write_checksum: sha1:2e77d6818b56ccfb728647de982d0a4cb5b23e84 - pristine_git_object: c97d991e61c8335cb9ddb395d3641ee63deb90cf + last_write_checksum: sha1:85d3df7180efda8f0edc1622a131ea0d2371827b + pristine_git_object: 8139ae835462e566c3d1162f7cd5787e4a781ecc src/models/getruntimelogsop.ts: id: bfa3875bcd27 - last_write_checksum: sha1:72722af153d7ffd72c06b15a0d7d8e16ef61f1b4 - pristine_git_object: 841e40d20413057abca90957a1e6778b2a985899 + last_write_checksum: sha1:e4a456e9499b745de09ec71f15bd338a96db2d0d + pristine_git_object: ae9263c9f4a24bc5eef890a8955968e5f1327ae8 src/models/getsdkkeysop.ts: id: 665180019ff0 - last_write_checksum: sha1:f6ba90608415883ec7afce2abeb89974dddef68a - pristine_git_object: 2dc9e937f4e39d8200fb94bc6e2bea3c1ef147b9 + last_write_checksum: sha1:fd2ffe9c6347ab5beaad25f4c192e02557835397 + pristine_git_object: eeb68485053a5d85189fbaefd41739b519ecdfa5 src/models/getsecurityfirewallconfigresponsebody.ts: id: c43bdbe5fcfc - last_write_checksum: sha1:e532622c6555740ee257fb193ebb97dcc0838556 - pristine_git_object: a506566caaf1e8e4ce321466d9cc4a44074954bf + last_write_checksum: sha1:8c6fb053d2a79a8836d4ca8c80d4ef3ce548b0d5 + pristine_git_object: b5bedc447cd04b8f6e72af2e13afb173a517e630 src/models/getsecurityfirewallconfigrulesetssecurityresponse200action.ts: id: de3be6c8019a - last_write_checksum: sha1:69fbc5f134590bf2aa3f3b53d43bd7ec20037a5c - pristine_git_object: 5869d61fdc7547e95de69fd81965cf10bdd21f37 + last_write_checksum: sha1:f41c28d91363af3928ea8283a583298d8a00c605 + pristine_git_object: 1340d05e9cbcdef6bcde1bc30d40b8c0102ff649 src/models/getsecurityfirewallconfigrulessecurityresponse200applicationjsonresponsebodydraft2actionaction.ts: id: 140e3fdc7a86 - last_write_checksum: sha1:5d9bc9412323fbe44a4df9b7bf3899ea2dd5f309 - pristine_git_object: 92fe3a4e84cbfc0497ecb870dc1c4ff7de75d982 + last_write_checksum: sha1:692887751480c703e29600fa18117da7af3c85b2 + pristine_git_object: 9c8c334828fd389a4a22d06d055ee6f7efb03904 src/models/getsecurityfirewalleventsop.ts: id: 2bb8400db2c4 - last_write_checksum: sha1:5372caf36d9ec8fa37c4e59190d4215bdc7ba0a3 - pristine_git_object: 698c080c6ec91fdf3e97b7c08f23a205c0e98cc0 + last_write_checksum: sha1:96f75d6b52ed1f182869459c205a4b29cc9d4deb + pristine_git_object: 22b57bdf6fe96749a99c7ccdb19accebae36e7a9 src/models/getsecurityfirewalleventssummaryop.ts: id: 19c5ef90b176 - last_write_checksum: sha1:4402f16c32d612a16a4b7b373aa481f926b263ac - pristine_git_object: 197443c8310d9660dfcf36453adec8aea3e775cf + last_write_checksum: sha1:aaaffa1aea848b367b3c49af126f5ea08793d452 + pristine_git_object: 54e4bd6858a5bd3acc9da2fc1fbafc98ade19b90 src/models/getsessioncommandop.ts: id: f58396651617 - last_write_checksum: sha1:8c11caa85b2c66d7582ea0ead00d9f38cd9f534c - pristine_git_object: 403714054ad5752087eb27c66fd9b3594b7d479b + last_write_checksum: sha1:851a34b42599ef23ea54227a8ddcdc28d749de26 + pristine_git_object: fa5b61b5d1c6e73922200f0a5617191141067849 src/models/getsessionop.ts: id: 69f7fc2d045d - last_write_checksum: sha1:9be36fb080d1ab15dc0492274f9da697a11d343d - pristine_git_object: 73c846c34e20322bfdd282cb4bb685ffff287b71 + last_write_checksum: sha1:a70573fc833d44c61edb9d7b28374cd1b5228ff1 + pristine_git_object: 5f2baec6b96b6e6baddb64e4e3291ae176b58969 src/models/getsessionsnapshotop.ts: id: de823f7e77cb - last_write_checksum: sha1:5a50b8d6a8c35e8fa1d497334ed93547687b01b2 - pristine_git_object: d8d553530c0ce705ee28ac8f0ea03843b81f5519 + last_write_checksum: sha1:4a365055353cdc83e75dbbb489c432419b2b46ae + pristine_git_object: 51cd6c8218ce579ab91a16fb7a32d419aa92b959 src/models/getsharedenvvarop.ts: id: b59e77db043e - last_write_checksum: sha1:3fccdcdc8fab0082808461ad4ae1c0d0f82a7c6d - pristine_git_object: 89dee3f6330e9d74566df4e3326ac384a96a2f69 + last_write_checksum: sha1:11abe6170900dd46e780f66a2317efc189b30f66 + pristine_git_object: 879359f8d038aeb11dfec48c601ec21ad0474980 src/models/getstoragestoresbyidop.ts: id: de9b5271d98b - last_write_checksum: sha1:a68d34eb5a3d62fff46b2e055ca1097fb3368dc0 - pristine_git_object: ee494fbbfb22530d4fde3a5da1bf303b0c1033a2 + last_write_checksum: sha1:9937217db81f4fe88a8bee369f598d2821a70334 + pristine_git_object: 55f0875fbede0fecd7171bcdc900cd3df89ef76e src/models/getsupportedtldsop.ts: id: ddf94bb77afc - last_write_checksum: sha1:f419f619c8efb2f370e44646990d6165c2eafb0f - pristine_git_object: a7615ba5df3d992552199cd8520f6d2ea6b56206 + last_write_checksum: sha1:862443f3c519079842f658444a84b989e2849b3a + pristine_git_object: 4e83e0187ea8bea01515a432f52840cbe427bd31 src/models/getteamaccessrequestop.ts: id: 87f578ae27ea - last_write_checksum: sha1:8f6ca69ad5bf127c5ef388f1f29b30393cf16316 - pristine_git_object: 11233d7d94439efe6fe7cb25ac9a007454aa42e2 + last_write_checksum: sha1:fb72803b854ef50b3bf1718800d2d855726dd6eb + pristine_git_object: 59443c767961a1f8a30524162cdb6c6ffd9f4674 src/models/getteammembersop.ts: id: b2c81a241df4 - last_write_checksum: sha1:0be2a463117e27f8104c56761afe77426c6537ef - pristine_git_object: 81cbcdd6000ebbfc504abbad085e84016f46181c + last_write_checksum: sha1:6660c06328cf814c30d39895e4c97cf119d2a9af + pristine_git_object: 29f61e5cbf2d7e17d2de39abe2ec33e4a13e47ba src/models/getteamop.ts: id: 55cead450ca9 - last_write_checksum: sha1:c263a7159889a668dbc73eb43ca459aaf26ae76d - pristine_git_object: e10855d7ebda065498e1cee19d785a76be5329a7 + last_write_checksum: sha1:1a131c6a91b61a8d13c9211ec49951a1399fe872 + pristine_git_object: e8ecb9741e8b9bbea4b578b71ef4fad2a5d49262 src/models/getteamsop.ts: id: 71ad68d8b57c - last_write_checksum: sha1:932e52cef158ac70d55a43da08918cd762a420e1 - pristine_git_object: 024af41da6657a863c4e0d19ee8e623a5d19e436 + last_write_checksum: sha1:8ad3796059fb07500da101748fd6da460094c07d + pristine_git_object: 1b4a238808ed7a91756bc7fb69c9c5ff510251a5 src/models/gettldop.ts: id: d154071f8c44 - last_write_checksum: sha1:7d71445bb9aa41ac829202c3c28b199fce975274 - pristine_git_object: 3274769bd5f47f423c50d646ddd94c81062952c1 + last_write_checksum: sha1:adf87736d94df717b1a7e062387cf771c12b0e37 + pristine_git_object: ee51bfd25f970a32f20fc733092d6fb1c72e677e src/models/gettldpriceop.ts: id: d0d8f2b51228 - last_write_checksum: sha1:4b6f06f09dfe8d7fce91b002d8d4c6f034759c7a - pristine_git_object: ce36bd65a408019c2324138b160680c5e1e836ce + last_write_checksum: sha1:5af402434184be53477219324d942dd58bc51d67 + pristine_git_object: fb28f28aa0d6c90412ac4acb97eaba22bfe15126 src/models/getvercelciinvocationlogsop.ts: id: 68cca4e5d84e - last_write_checksum: sha1:caeaedd1b8bd5a9899917931afb225bf4d68a3a4 - pristine_git_object: a99d6349b56671cf1d005d7f71c83b3874190be1 + last_write_checksum: sha1:209141ab38051e33e0ceedcc1e7290fdce23c4e7 + pristine_git_object: 4c26ebbf5b73be4cd89b095792436ccfbc0fdbbf src/models/getvercelciinvocationop.ts: id: 7c01453a255b - last_write_checksum: sha1:89d436db52a5f4c9cf10df11f371c49526291aea - pristine_git_object: 8d6299cfb0c7afb455794a7c5834cc05116271f1 + last_write_checksum: sha1:c83ee6ba1a0786ff6f9056e745aafb6269a62654 + pristine_git_object: 4493c689cc951036e91cb82428aa27f97d8204af src/models/getvercelciinvocationtreeop.ts: id: 32b58123a818 - last_write_checksum: sha1:69c58bb76da1e3c29dedc13378a7fcc2f55b2020 - pristine_git_object: 9300d674ffb00f65c41430bde0e356b19f9afd39 + last_write_checksum: sha1:4e1b0b3bfd989aee6d2e2f14cc08c636a1a272e2 + pristine_git_object: 367163805706b835883edee10eaef85638ff9f70 src/models/getvercelcijobdefinitionop.ts: id: cbe727e7f9f6 - last_write_checksum: sha1:cd104b845f0708eadaf8a62e2b959bfc33f98ae9 - pristine_git_object: 7d472ca7d9dd6c08632e6b817a23c9a06046d20d + last_write_checksum: sha1:e179098945858f75c7982184d2f68ea112ebd775 + pristine_git_object: 5dbd1fac198df66f9842de4fbfa67e9d71959a7a src/models/getvercelcijobrunlogsop.ts: id: 5b0af94703ff - last_write_checksum: sha1:2c7328f7e0864cd18521cb96eb12c2738e779b34 - pristine_git_object: 3165056c9f5700cf1015e5312042c141ddab28f7 + last_write_checksum: sha1:22bcd94e3172ca253a65385d11dee45d741d9814 + pristine_git_object: 2fb802f6a043eccf4b8a44f82d564b8c13f855aa src/models/getvercelcijobrunop.ts: id: 1e8e3145b176 - last_write_checksum: sha1:f7f6b834985daec95c2a20bc7d276a97eb1bfcf3 - pristine_git_object: fb59c8151607c6895b3ee4211e99204ce1e777f4 + last_write_checksum: sha1:2911bea56db554d4d4d6fa8dc296f31a130cf0cd + pristine_git_object: f74fb5ecdbf0387469be55b57d7a44802f31e12d src/models/getvercelcirepositorysettingsop.ts: id: 1d445abd0ac2 - last_write_checksum: sha1:0d33bc88fafabe774e43589cd8446195184057d0 - pristine_git_object: f27eb560e6cc10159bb6e9cd3d16e4e972521650 + last_write_checksum: sha1:59eadcce069d6558293c0a5bdfb4ac47cb54bd8d + pristine_git_object: b74c6f23a0f8c5664d7c9af457d437e400b3b2d5 src/models/getvercelcitaskanalysisop.ts: id: 603ecd4e689c - last_write_checksum: sha1:37e1e52c75486d00c917ed683a8474188405764b - pristine_git_object: c5938ca6b07672fc93c4fbbfbc7ab9cbff721906 + last_write_checksum: sha1:3b631ffdbb1df3852ac4c2e8cfb99f58f164387d + pristine_git_object: 2062542157318c74f2917d090f7601dddc2da161 src/models/getvercelcitasklogsop.ts: id: f34093343476 - last_write_checksum: sha1:325fd10ee15981f1dad7bc7f351521b3b4a7f898 - pristine_git_object: c98a642874cf5657cdc90460dbeb55448024d386 + last_write_checksum: sha1:49c74d1925341212e2ec471eb0ecb1d2c8f12d80 + pristine_git_object: 1f3282a35f53597a0b339b1cf208d4aeea237b39 src/models/getvercelcitaskrunlogsop.ts: id: 8232b53d48c4 - last_write_checksum: sha1:7be02da69748b4d2213a807716e150b24a29a56f - pristine_git_object: c426b40a44215522421dcb1c9667179027aac137 + last_write_checksum: sha1:ce3682aadcdef0db944eda3d467a7f3392de5fa8 + pristine_git_object: 9a4e63319f903dda3ab3a8eca94f9fcd7833bed9 src/models/getversionsop.ts: id: a534d31706dd - last_write_checksum: sha1:09ca23450d8736578b973b788dc635786df18815 - pristine_git_object: 6ae9865e9ca3c5d039b517c2c75f85c809135ef5 + last_write_checksum: sha1:fd35ac123d9ffb451bf2e859ee1fb2404a39254b + pristine_git_object: c7a1c3a1dfb451580b6674920b28230f3adf990f src/models/getwebhookop.ts: id: 51d3f947bb83 - last_write_checksum: sha1:0bec2d605862537e9508fa028409190dabc4de00 - pristine_git_object: b2562eb31843818914436d11b27bc3f142bf9a6c + last_write_checksum: sha1:305d50105f50848b493215c344de7f75b095f5e8 + pristine_git_object: bca093c8f28db9ba76950093fec15e7f7607a744 src/models/getwebhooksop.ts: id: 29803faae0e1 - last_write_checksum: sha1:f97c096466587f019da996ec3aa34f0ed1481420 - pristine_git_object: 6202409f5a8c099cf5dd2f95f5939ad28b69fc72 + last_write_checksum: sha1:19c45963d6e668f69ff2ed1a526c178c064a7be5 + pristine_git_object: 2afd28629ac7eb992f3cfddb0fefbc02508bfd6d src/models/gitnamespacesop.ts: id: 3a0d0efc2cf5 - last_write_checksum: sha1:e380ba7bd226852ba626ac82ee680fd4203fe3ba - pristine_git_object: f5e45e82982e53f5ed9a32f63dad71acf68d8c0d + last_write_checksum: sha1:c7a508d59ecec68d2c4ff87ae6c8f667dfc324fc + pristine_git_object: 45e2a1b9c9d127e612659fc6a507988f69c17d06 src/models/globalconfigitem.ts: id: fcdf938135fe - last_write_checksum: sha1:b76788e12917cd63e45c493c79b99ed6235f03bd - pristine_git_object: 336329248339e79ba8fd0048afe63126524feae2 + last_write_checksum: sha1:b55bb0abeeae3a3de0e7a292d6f04fe86dc46ac5 + pristine_git_object: 4566136c29a6fbef7b9f4c4d61857d53d02f0eb8 src/models/globalconfigitemvalue.ts: id: 5ef878447227 - last_write_checksum: sha1:eaf467b985cc039abe653d89ce2acbacc49c83dc - pristine_git_object: 3c1aac7e692b32bd160b46d6ebc855a076a2d2d0 + last_write_checksum: sha1:30c208607d9a1a3b359422dcd1f702485c7d45f5 + pristine_git_object: a0756bb89ac8a6e9683455fdc86d3de66d2eeada src/models/globalconfigtoken.ts: id: 3fb62ff2f434 - last_write_checksum: sha1:bb27c6a4902e026a34be5cb53429c51dd941f2ce - pristine_git_object: 531f34b4bb197f847dd373b8b4c46b7881350944 + last_write_checksum: sha1:c0378de3be4e428aa317955b2b181e722d47e440 + pristine_git_object: f74f60a828bd85d49e9f402bbf5503b0b703bc4b src/models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts: id: eb9f51345ce5 - last_write_checksum: sha1:a97fee197a32aac85847522348d0a2633a2484fa - pristine_git_object: efdbefe38645af237d4fd1748152eeddf567503f + last_write_checksum: sha1:bd7da64c1b104796887d75b1187eaea267736a54 + pristine_git_object: b2457d0003942da5bcc9e89c76ba12b47a5706c3 src/models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts: id: 85fec1b60bc8 - last_write_checksum: sha1:8f18799ac3120820c33455c434984ec7738e1012 - pristine_git_object: 564f5b26d383710b1309a1126a14dac0a12bd7ff + last_write_checksum: sha1:00e959a6757a303d5a9f8bae6af3800395515cfa + pristine_git_object: 3a724ce48b00faaf7d3679358ebfa8d3f875e563 src/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts: id: 82e0a98d9386 - last_write_checksum: sha1:1407e37a5bcade2eebb512beaa7743cdc7abca8e - pristine_git_object: 7dd87dfc8a291443b066bd9c1df98a15e788663f + last_write_checksum: sha1:d57f466b008e827a9495281071e2a9844313f925 + pristine_git_object: e9fe32d07a6e1f00433cfa091ca41a3793711724 src/models/httpapidecodeerror.ts: id: 493c80804784 - last_write_checksum: sha1:440a5c34ed423d5d43155a1083141ed5f61194f1 - pristine_git_object: 11430d5dd74ed17474fabe4b234757e8c2d65d14 + last_write_checksum: sha1:7cdafa574a18c9f8c81565255e17d20c3178d5fb + pristine_git_object: c705f929abf3d864d22b63c3fc7ce1ab02f90ffc src/models/httpclienterrors.ts: id: 8cad73167850 last_write_checksum: sha1:994ced121c54fecd0af038ccfb7855fbfd3868ec pristine_git_object: b34f612124c797c2a1106b9735708f679a90b74f src/models/importresourceop.ts: id: 7c77e7a9698f - last_write_checksum: sha1:dc17f49b3f1f5a0832b08380ac1c08b20dfb1524 - pristine_git_object: e3add42f4c441cf027cf688fb646396f409b185c + last_write_checksum: sha1:67c573df40f82125d54c85939447c03e3e7b4fa1 + pristine_git_object: 9d91f9f96dfe6251ad5723ad3168a55fbda002e9 src/models/internalservererror.ts: id: 6d86e65160f1 - last_write_checksum: sha1:7191d357e8cf99bc86c39e925450c4b3c8427d1f - pristine_git_object: 7e92488af487766de20d1464bc9a53b3abf88e7b + last_write_checksum: sha1:c51594698e86ade10f32ee1caa7ccaae00354a43 + pristine_git_object: f3a142c35fc552273f24c6d3317ac310683fae13 src/models/invalidadditionalcontactinfo.ts: id: 433dbd7e850a - last_write_checksum: sha1:d856b253f0c6f8601dcdde78b92e18e51b17350c - pristine_git_object: a47abda73f2b485627b02d03692bfdc2f0c86160 + last_write_checksum: sha1:8e95cfda6bd45324436f95c42aa0b33567a01627 + pristine_git_object: 32882ee23216d020a8693319704bb0c4ec0015a4 src/models/invalidatebysrcimagesop.ts: id: f42b99d0b07b - last_write_checksum: sha1:b0cea293be2b7217d0835b4afbdd9f637b57c5cc - pristine_git_object: 0ce6eea23583387d9ae19032817b912693acb362 + last_write_checksum: sha1:7d5c7655230c7ed73cfa857dacbf155747e98364 + pristine_git_object: 71feac960c9f6a1fa593216e0874303abafe8572 src/models/invalidatebytagsop.ts: id: 40f5727970b3 - last_write_checksum: sha1:1a4f4d4a2bd146a2aa09cfd5031bfdf099885890 - pristine_git_object: f35e4cc2aa341943221c4b0a4da137261631e248 + last_write_checksum: sha1:79239ccbf555630f131b957f7f362dfe63371a2f + pristine_git_object: 258b39ab90314b3b695f004638d0c5e402700f5a src/models/invitedteammember.ts: id: bfd0434cea5a - last_write_checksum: sha1:b407dd7d0dbcf4551f524514f353e41036ab863a - pristine_git_object: 0da4b45f2c9f920f0eff44e3daf071445753471f + last_write_checksum: sha1:c123672d53d249c3aff7d25ea9d408f6548f8501 + pristine_git_object: a0964c5b5f5875d9f31607bb12c6b46015047e15 src/models/inviteusertoteamop.ts: id: 06ff7bffa4b0 - last_write_checksum: sha1:996b467ce72b42175b27d227bc8baf672e6a1aad - pristine_git_object: 87e50772842da7d56165438efb431d3b3dab70d4 + last_write_checksum: sha1:38d14a0a294ddb3343c12e808c86c2355d157e19 + pristine_git_object: 8eaa0f4f7ba3dcf102e48c4a1ed9cfa24a5a2ac6 src/models/issue.ts: id: 139e40403150 - last_write_checksum: sha1:a05ed2565daea307a8646dcfe7d8cb0df3f48b72 - pristine_git_object: 2bcc27329dfaf909a483ba1bf08e94171b05c3ec + last_write_checksum: sha1:7a30b614c169a2c5a774414fd1807b8d11103107 + pristine_git_object: be161ead2007a5c31a1434212dbc73673a0981bb src/models/issuecertop.ts: id: 088dfbff846d - last_write_checksum: sha1:5e9801c7a1334b59e5528b78f4355ac2f5aa4998 - pristine_git_object: 7ece3599da95a31ad8c559622c525d9db3049e82 + last_write_checksum: sha1:a83e2f8249d7e7ff003af111dc27503ae91cc7c1 + pristine_git_object: a67718eb6be088bd8b4b2a9b15d83e050dabee31 src/models/jointeamop.ts: id: f6c23ef4c41b - last_write_checksum: sha1:c609335fbb71d9aa115f284a3a781cac1e315678 - pristine_git_object: c35bbb89643a5a1df1a4c05e072acc71fbb5f366 + last_write_checksum: sha1:0e5f562c7d7904de37c0efda863c1606ee4e9fe1 + pristine_git_object: 21584326baae77fab5139aa1bcf7509d86128e17 src/models/killsessioncommandop.ts: id: 50aa67f44650 - last_write_checksum: sha1:8bcde2d3c2d63b3edbafa87b9d7b82926190f9c8 - pristine_git_object: 68cb14192c767db2b96e9bd707f0a74701c3cb4b + last_write_checksum: sha1:cbb1e84f73ad6d40e1898b4135964ee3a14c6140 + pristine_git_object: 06a278df372ab6521e0df5f3c77e3c66f27a875d src/models/languagecoderequired.ts: id: 69dd8560d17b - last_write_checksum: sha1:4575c6891ec1a6d7322a512e0920c069123a3b44 - pristine_git_object: c5c0f865d19eba719c16bf9ceb30abd1e4b8e40e + last_write_checksum: sha1:09a7c38e3e9adb6790cc436a75d033f476594dd8 + pristine_git_object: 30a12f4198b790839d8defd6d44283badf379a62 src/models/listaccessgroupmembersop.ts: id: 70da0d96a327 - last_write_checksum: sha1:7a9d6b695a7f89b24c2e7d3abd365ad424a0da31 - pristine_git_object: 8fc234c9b25a2ad732aa959c3e8fcc61d8c3554d + last_write_checksum: sha1:f26608caaa036fd12543d7c1f0ad88b0f3c75c3d + pristine_git_object: abc1c4d2ae9684dabbcaf71b613a1af8f5edf772 src/models/listaccessgroupprojectsop.ts: id: 004d869202f1 - last_write_checksum: sha1:401eb44c14ca9e9f738df2978279bb8068248591 - pristine_git_object: 58113f171ec1150fd88a972ce52b5b6fb3ab0ebc + last_write_checksum: sha1:e75382a43ac00d246edef961cb7219b934a3d0a6 + pristine_git_object: 5314b8161734b3fdf73c7de74db78c784bfe00d0 src/models/listaccessgroupsop.ts: id: 5990ee821231 - last_write_checksum: sha1:39f06cd2f5eed9316efcacf3affb0d826d1c5968 - pristine_git_object: aa6ad183258d126418734bf9bbe81afc8827f889 + last_write_checksum: sha1:0cee0192374696ddd5367cb8bb408008671c0b51 + pristine_git_object: 6e7ca2a160ea0484cd244156c6e2b25ea5ce7b48 src/models/listaigatewaybudgetdefaultsop.ts: id: 7a47b771d4c1 - last_write_checksum: sha1:e7d33c88b6e6f6b05aec609954f4fb5bf0d7b28b - pristine_git_object: 4eaab96991f84e781d0a86d28495b8537bdd1392 + last_write_checksum: sha1:d52f33a3e51748fc85c1d741c2c87b53e6e18721 + pristine_git_object: afdb2367a2f58974d6cc3de7cb9e59477f947e8e src/models/listaigatewaybudgetsop.ts: id: 76b9ceb733c1 - last_write_checksum: sha1:0c9948e917bb6cc0d4c92b91ad93e86fbc0e55b9 - pristine_git_object: a76c524d04839fb730e7378dc907b0fc3fe2c526 + last_write_checksum: sha1:bb355d4940252f152e35ef10a3d87d9b8221a089 + pristine_git_object: 4895747b83eede5bb1413a0c3a7e850f6f006fb3 src/models/listaigatewaybyokcredentialsop.ts: id: 745b4e268e2d - last_write_checksum: sha1:553cf42f10ad54306e26742233ccd43e53bf5cd2 - pristine_git_object: 5d9482cd438ead7bba7f34c029d85e97c422a275 + last_write_checksum: sha1:014321e5bfed02ea5b069db465f6f39e590bfd6c + pristine_git_object: bdc65f65b87cb7e0f326bcf7bcaa767b039cfa5c src/models/listaigatewayroutersop.ts: id: f6a641f267ee - last_write_checksum: sha1:ee76e38f39befb609bab48ae1eb2e342b071fcc9 - pristine_git_object: 36c65870fa271341e7f341433b96762bc554296d + last_write_checksum: sha1:8b2b8fc1d3a448a9961fdf310578b5b55ceb2cc6 + pristine_git_object: d39f7ca511a1a588c592671a3d787239460abf85 src/models/listaigatewayrulesop.ts: id: 77ef6a502ed3 - last_write_checksum: sha1:4bb31bcffcbafe31b12d5ef84efc789c8e0ded1a - pristine_git_object: 09f384966dfeca6b60798075a2d1954cd3ab1966 + last_write_checksum: sha1:c7a790c7fe2e4ba47487612f6b5f437548de9d1a + pristine_git_object: a265ddb5f52eac4ef4c89bb0d7f0c4b2fdc19d97 src/models/listaigatewayvirtualmodelconfigsop.ts: id: 5ab6dc30eb20 - last_write_checksum: sha1:1eb284e2dc5880265e2cc0b57d788a550366408a - pristine_git_object: 7db9ab1555d73b0dd45070db2518b09156b09fa3 + last_write_checksum: sha1:b124237f0d860596a300a4ea076b7d2585626e13 + pristine_git_object: 90311472791ffc6b540f1507a49d6495e365bfae src/models/listaliasesop.ts: id: d9cff8dee15e - last_write_checksum: sha1:4ec539936b06268fbbfb1a3fe1bd391ffb31fbce - pristine_git_object: 3ec90a490b36b987bf87440bf01917c3b1cba771 + last_write_checksum: sha1:e4da96f9f8aea07a2fb07c444673984125745373 + pristine_git_object: 1528a561ec82926c8c2b6874e0c4f3d13f30751d src/models/listauthtokensop.ts: id: 6e6264324cfd - last_write_checksum: sha1:0c930e97f79dd5518126cb53a50a012624d32761 - pristine_git_object: b2a3af7f8792219cb73ac5bc459f05c181affe0e + last_write_checksum: sha1:b0cf9f423d2bbab8a1cd2a79fcb7d943f1853cba + pristine_git_object: 65dc443a03b8010e60f2d472ec7d81e802d2fdc8 src/models/listcheckrunsop.ts: id: 02606255e2e3 - last_write_checksum: sha1:460383bf5eb328a12459a49868c5e78eed888137 - pristine_git_object: b2091e68bef728ed6a4f8b597a63efa5996b5be7 + last_write_checksum: sha1:276c53d35cec99e37e0ad152830bcddadfed897b + pristine_git_object: c7614acb199dc37eedb541180366b3370822386e src/models/listconnectorprojectconnectionsop.ts: id: 000c94aaf68f - last_write_checksum: sha1:99e80b4deca3993fc9060de599024714fd832828 - pristine_git_object: 51db9a5b5a9edddc9771191ff58e26266aac3858 + last_write_checksum: sha1:f1fc353d54e966d390b7b5fbd323de638d02a1b0 + pristine_git_object: a671f2489193d3bfa8bbc3fdc7558a6d4d7bdfb1 src/models/listconnectorsop.ts: id: 32a7448429f7 - last_write_checksum: sha1:9c74aac381c2a84d9703a58e32b6ab3c1de8ba3f - pristine_git_object: 703237c8291954d945a70cb979d3f53c901c9713 + last_write_checksum: sha1:34841e267d74fc5b81a8790f9b4e286f426b4607 + pristine_git_object: a7d0f263333b68a474bd28102149717fe03a117b src/models/listdeploymentaliasesop.ts: id: 6ff71a556264 - last_write_checksum: sha1:b9fe7ec9cfc57656284f776db040e7a20eb086e3 - pristine_git_object: cbdada06f67c92e52c14365cc0e7379662b17cd3 + last_write_checksum: sha1:71d83f285be1428de7eb4b9b631cc298984a3806 + pristine_git_object: b5422a38135bc6475e0423bf821b5ea1c11fc03a src/models/listdeploymentcheckrunsop.ts: id: 31403edff708 - last_write_checksum: sha1:d282bc1f4032ed060d1d2258b2219257b5b08376 - pristine_git_object: 9f89c685655301b1424c1531718f6e76a25b8b9d + last_write_checksum: sha1:224f1e40b0fe0cc7d0fb200d47bce1bd13b4f80a + pristine_git_object: 3257f807181ec0e7a6387415184d122e48c066c7 src/models/listdeploymentfilesop.ts: id: "128900891e81" - last_write_checksum: sha1:dc63f2cd1a2e96607a9d7382b1eecc5f3a70d107 - pristine_git_object: 4f1412fb631b2754749b9a2058d07c4bc7813b0e + last_write_checksum: sha1:9b82ec4be888ffe1c240b46749e056e000a6a269 + pristine_git_object: 92c432350e266e3c0ffd2ed9b1cbdb2ee8e3d60b src/models/listdrivesop.ts: id: 0c0671be681b - last_write_checksum: sha1:247003fa7f1fa9571d05d8a2fc25fd2bd6d31d08 - pristine_git_object: 52cdf6bd69c60b071123ff0bb60e86f93d6f1c4c + last_write_checksum: sha1:45d6fee70a3decae080adaed391c1dc832e9c67d + pristine_git_object: 56b3cd80870a61d7470f25eb45b8ae20b1681973 src/models/listdrivesv1op.ts: id: 1cdc48edef54 - last_write_checksum: sha1:1fd51d8e63976b85dc154cc60e73057cb2b42f36 - pristine_git_object: 9bd8cbe8edf75dcfaf61ea145af04f046857376f + last_write_checksum: sha1:bf472633f5d18013062680cc0ab7b62f667fdf26 + pristine_git_object: 9e86b74e799c0729a8410c95b1f0815ef08a41ce src/models/listeventtype.ts: id: fc505846d3b4 - last_write_checksum: sha1:444ef7a4105e9d0ba967defd08d575a684faeeb1 - pristine_git_object: 99bb325f9f76aca37e3ffcd35b7192d94dba6705 + last_write_checksum: sha1:20b2dd0dfcc3350e9b64acdb588f594f37573dda + pristine_git_object: 98141ae53b36c80ba4fcf0820b5da8da0088ae4a src/models/listeventtypesop.ts: id: 2ae3207609b3 - last_write_checksum: sha1:76f54f4469a48abd1cbf1a70ce928f98cc105236 - pristine_git_object: 5a9d579c9ab6955fa57930e8a0c26a8cc642c651 + last_write_checksum: sha1:b73b85393e1f669cd8b932cd3b4bd6f0ffd3091e + pristine_git_object: acff84cb2f38c81010085122654ab7e3cbb978bd src/models/listeventtypesresponse.ts: id: d4692affb471 - last_write_checksum: sha1:bb1c68815c10bdef98d5977b41604e073e22a4d3 - pristine_git_object: 41a435f16cb0128bcf2208c128f58c39a07fd629 + last_write_checksum: sha1:9b83bf6eb44084f62d24e435f80d300fbdc14d26 + pristine_git_object: b3f5926b45cef805e360c5115a450b6ef2c65863 src/models/listflaglabelcountsop.ts: id: 3b31699c7d40 - last_write_checksum: sha1:8aad4d0820c894f4c2015bb9941bd7dbe9af79bf - pristine_git_object: c245bc3c4b8bf8575a3259347cf24e8aadda32f3 + last_write_checksum: sha1:c20972764a9aab23fab8aed15f40c28af292c142 + pristine_git_object: 4dbd93bc5ce9b248947f5d479f1ed0365cc431a0 src/models/listflaglabelsop.ts: id: f78cd546417f - last_write_checksum: sha1:573632a32b6e3407945661fa64bbcd22ff8febb9 - pristine_git_object: 20a48ccab80501b6df82785bb302df1493d330c6 + last_write_checksum: sha1:8ace5c5a86aa37a198cf27d62842f07e3378649f + pristine_git_object: 77517d242da242f58a95b0e3424bada877379588 src/models/listflagsegmentsop.ts: id: ab461a6d604d - last_write_checksum: sha1:f60bab342cc595f2020d572f8eed59604b85e1c4 - pristine_git_object: bce011b881c2a6d808e05aeef8a01ee6e75f4f39 + last_write_checksum: sha1:36bd1c76a74c1f6487a135a454b315b07307d824 + pristine_git_object: 77e6a9cab26df6a740053d5f6f8204252e9dfbfd src/models/listflagsop.ts: id: d8276c2a7ff4 - last_write_checksum: sha1:668d5bd33e2691a58a8dc2afdfd27a47a9871f4a - pristine_git_object: 3bb47deb422564f79278bf1aafa6517e8d0ddb7b + last_write_checksum: sha1:1517786573d266a7adf69179aeadc5e8f08bb0c0 + pristine_git_object: 203a76f3b632350964dc50d5a312992f2ecca699 src/models/listflagsv2op.ts: id: 0a6e83ffcca9 - last_write_checksum: sha1:0fb2e75d214921db15c64a9f24c12e6d22572fee - pristine_git_object: 52bf16ebf64e9f4130f223c1af9a5b6528abbe35 + last_write_checksum: sha1:cf69b568db1b227c8367f4182f40041feae13714 + pristine_git_object: 5f4159d08182da6a8f2b27b4b6586407bd1c4bc5 src/models/listflagversionsop.ts: id: 961b554c3902 - last_write_checksum: sha1:b8afae30da9795a572dbd95528320f762deedb41 - pristine_git_object: c37acd95fcc3a65576f6949d3610fb09da770031 + last_write_checksum: sha1:1d985d75b80f613ad4005f9e96764396509950e5 + pristine_git_object: d88f588709cae69032c39c8e955120156ba8d6e3 src/models/listkmsissuersop.ts: id: efc4f5a9eede - last_write_checksum: sha1:7068052af1f5934afa77fe356db2286bae16267e - pristine_git_object: ac48ce22df28602622f29f8c92c376e9a9c50276 + last_write_checksum: sha1:6f71d5d37ce79a477fa3cd7b71d10561cc57f7cd + pristine_git_object: 60f13041ec1f55af8cfa90287a15cff490b32ffe src/models/listnamedsandboxesop.ts: id: 8ff7f4cf4a82 - last_write_checksum: sha1:6a42dec5b22785de4a77fbac37b7cdd2affedee8 - pristine_git_object: bc5092bfa4f7e7780562fdf3d2f6e8ba110d5b04 + last_write_checksum: sha1:ffcd845414563cbe0b046c510a9d3656bef83117 + pristine_git_object: ae07f1545403d6857bd4d038765e8148aa145f65 src/models/listnetworksop.ts: id: f3a0051dbe83 - last_write_checksum: sha1:05609c1a22af7cdbe3d426a9f16f02a99ed1fc06 - pristine_git_object: b6310a6b673415cf407314dc355decce8d314ec6 + last_write_checksum: sha1:7f4ef6ec7c9de4408fe93643e1927f7e7c8c2837 + pristine_git_object: 30a1499915f54f25f93cff52b4fd7660c104cd2a src/models/listorganizationdsyncgroupsop.ts: id: 461a003e291f - last_write_checksum: sha1:7e2bdbc5ec623c772ff3698832437da721b8a45f - pristine_git_object: 295a27ac467acf72152f7d88edc9cca6ca5ab575 + last_write_checksum: sha1:33eb09f9cd2b17c42ab8584510b6ba00528096a4 + pristine_git_object: 4f0d889dee21846c54f10aecb5a3165b97055e6e src/models/listorganizationsop.ts: id: b9b18fa642ce - last_write_checksum: sha1:00b3f446a7aeea182c7ac4fd6b9c9fa484848bd6 - pristine_git_object: 81c2f10dc12b1acee6d584ed59336fd9e455899b + last_write_checksum: sha1:8debfdea77b061e13063834389c4fbb8045d2d14 + pristine_git_object: c146874c55708ade0a6c8919a6c94c53b32933ec src/models/listorganizationteamsop.ts: id: c519357e7771 - last_write_checksum: sha1:168b39dbb3d5317fef01f6b4e5e25085b053efa3 - pristine_git_object: 3d70ab9469b0fb020f5982af6c5310dfaa3bc1d1 + last_write_checksum: sha1:9fbdbf50a803239a479904e3d94fcc6b9c698337 + pristine_git_object: f153fd03021541be113eea832490fbd9221b43db src/models/listprivatelinkendpointsop.ts: id: 726e5d75c04c - last_write_checksum: sha1:7e7366ecba1399a709d3d026a5a503f195188bbf - pristine_git_object: 3734613d0ba537bba7623536a8de5cbffe7b3b22 + last_write_checksum: sha1:15f21de15cc217d95929886ee1c72f413d49ba99 + pristine_git_object: 5dee03b954875f19628bdb531a12e0017212f5c6 src/models/listprojectchecksop.ts: id: 8ab272f4128e - last_write_checksum: sha1:47837f9e08d9ad9a23ee3caacf64632d455da611 - pristine_git_object: fbcc22a0fd9fbe5601a007fa19d41cb93d58cb19 + last_write_checksum: sha1:14fcf61cd36c30004bab8043cb5d1bcf0fdd229e + pristine_git_object: c046134c27b13c152a8dee24c8f773667db69d19 src/models/listprojectconnectorconnectionsop.ts: id: a1af146d9909 - last_write_checksum: sha1:f156e75c957dee00de576f059e59dbbdac717799 - pristine_git_object: f79268be7c0fc04b62fc59f469cee54f9b3bff55 + last_write_checksum: sha1:ef3585a002ea88afe3315a79383364a840ba071d + pristine_git_object: 15ce9a6af46af368a3b020c6513c410cd3fbca98 src/models/listpromotealiasesop.ts: id: c41b44a5cc81 - last_write_checksum: sha1:1ddf5e513248e74317b281b59c2d877123d4c067 - pristine_git_object: f5c5cda74825bfb47ea77b6fa23beea0109d350f + last_write_checksum: sha1:a3c51caa78fcf815144441a9a5867af72382132b + pristine_git_object: dc302b67fe4fefd4f46cc34f4747d246aa0548a6 src/models/listrepositoriesop.ts: id: 0977e0d1bf70 - last_write_checksum: sha1:5b292e63348b02d4d5288afca10d74fc7809e19f - pristine_git_object: 7cfa06e91444871bc9dfd5c422f51f62ac9df1c9 + last_write_checksum: sha1:d35ba8c376ebd12a70c1002fdf17265f624984d3 + pristine_git_object: 3d76c02a07f4a0eb96b7bede565bfc6c5500f0dd src/models/listrepositoryimagesop.ts: id: d3f2c9eca075 - last_write_checksum: sha1:5258361c22f5f83cbade117e101cffe6a79b789a - pristine_git_object: 5df7eeb182394572ce5d306d796cc0e6715a7e6a + last_write_checksum: sha1:bbf66fb8a297d86efbf36e54017537f7cc9e1c77 + pristine_git_object: 41e1d596e524d79d49a648c0baccaefbd6df6cc9 src/models/listrepositorypermissionsop.ts: id: 3330cd524ccc - last_write_checksum: sha1:a4166806c07036d599632e224bb9be70397ce9d6 - pristine_git_object: 6995879d20db28a237828d2ead21a3f0544bf303 + last_write_checksum: sha1:47b74b1f722677d63d509ed3a1f3bf9bb58fd1b4 + pristine_git_object: ee6f5af8c20baa7e943d2407791bcb6d149d237f src/models/listrepositorytagsop.ts: id: 8f43ebce83c4 - last_write_checksum: sha1:64871a690d225ddd9a9c9ef47efbd3dbd9e23b2b - pristine_git_object: 360ee6359457715fd0564a0539f2598ed76d6523 + last_write_checksum: sha1:e4169d07ce6311786fbe8058a16f94a751ac2033 + pristine_git_object: 3b5fd198becfaf5b56f6b4460767b31312ad918b src/models/listsessioncommandsop.ts: id: 7f21265682e9 - last_write_checksum: sha1:c0e9f57b70cd4c1e7c2a1bf7d859db9ba9f8c0a1 - pristine_git_object: fba39b5a618a4a0a1b613cfab2894e46c44edfbf + last_write_checksum: sha1:0bf859ffe96dd7b7db29b70a8d3e07bee8333336 + pristine_git_object: 58b3578f676c66e52f40ab70fa03888d5e8b2777 src/models/listsessionsnapshotsop.ts: id: 3c4ece0b7ac8 - last_write_checksum: sha1:94c33a8b43c67a10a9314db5903a9aca3782a187 - pristine_git_object: f499ec60df53113db6dbde8cfa5d23a6c381a0cd + last_write_checksum: sha1:cacd0f0c934adf9f38026664ef5dd1e4ea5f1874 + pristine_git_object: 7f2db664b32ffc5022a83d11cb42609a7a10c267 src/models/listsessionsop.ts: id: 24f05168ca94 - last_write_checksum: sha1:e051ac1ec335e91c12e7483fe3d3f63678ee465b - pristine_git_object: 3a6b44f19b239f2e5c53d096a428eda35d06e1c9 + last_write_checksum: sha1:1b0af7bd2ee1eadda90e1e7561784e1dd7a27b6e + pristine_git_object: c9bf9451385ae72c91b24ee73ca025bb3d11cb5a src/models/listsharedenvvariableop.ts: id: 866c1b567461 - last_write_checksum: sha1:8584ad034d17338127b79ce67b9a6607e3c9041f - pristine_git_object: 637f456a1b0c4ad368e99a659a8640abd2b2c7c8 + last_write_checksum: sha1:22f4c0b5a80837b37c0317a829dedd46c70b26ee + pristine_git_object: 1881d1a1e40077221a8bf1f44c5949735e3a295a src/models/listteamflagsettingsop.ts: id: 9d15c8841451 - last_write_checksum: sha1:96563c993f741f3cb40f8e952f73c9e2d548876d - pristine_git_object: 10299344b2593597b7b49304655821679efc3bf8 + last_write_checksum: sha1:d3e46b138788639ca1d596a922aef37de75e774b + pristine_git_object: c5edabd771cb2341691344a1d01f59cd4ff73ee1 src/models/listteamflagsop.ts: id: c25d3865016f - last_write_checksum: sha1:baa9ddf811795c76865766d6efd2ea53aaaea98f - pristine_git_object: 9c9e89af2982773dc13c21577b98cd2c19ff1746 + last_write_checksum: sha1:60f37d0260657b7d4d267390311402f2ef98dab3 + pristine_git_object: d08ae146bb68832c7899387df702cb2061d0566a src/models/listteamflagsv2op.ts: id: 07b8924e2da5 - last_write_checksum: sha1:6735fccdcfb380caabb2817e49a8bc8969933d18 - pristine_git_object: 759e71d81f28b03fc9209de7c53d5d05b3787644 + last_write_checksum: sha1:1c5e9c07aac8a2f6f3720c85f7b3d2308d273be9 + pristine_git_object: ac0cad9d2d02dafaa8e71cc595c9fd0cf9b63a79 src/models/listusereventsop.ts: id: 8867f3e805eb - last_write_checksum: sha1:51b8d2f2842c8a370e3e470fc1b69b0f3a97037d - pristine_git_object: 1f55ba5e0e28dc847fd645dc0deb9dd79b9beaba + last_write_checksum: sha1:479cbf6cc66a25fc1e155d06a13159f692e15203 + pristine_git_object: 352460afeec7ec924e8cbcd262fe8a2fc09a4357 src/models/listvercelcibranchesop.ts: id: d483f42ed66f - last_write_checksum: sha1:2311553ce08ebfdb606910a5d17f98d833358c2e - pristine_git_object: da0e16bdc40eca79000b51ff461b24b871bd999d + last_write_checksum: sha1:d9ec9fcc4b559c2764f391bcbef8466e8b697112 + pristine_git_object: 1163056ce581b01edccaa300401b4834bd0c2f94 src/models/listvercelciinvocationattemptsop.ts: id: 5a1d87f78e15 - last_write_checksum: sha1:7a50f1ca1dcb3716f8a2a3c0018fc80dadcc4bb8 - pristine_git_object: b1a41661dd8c0bfa88b220d21d4b6072aae540fb + last_write_checksum: sha1:20008d0ff404c667043a99927890978651cc016f + pristine_git_object: 024c7cd7a84007b0d4f37aa40f9940d4c6543664 src/models/listvercelciinvocationsop.ts: id: 57964411cb6c - last_write_checksum: sha1:151361d2b8a7f29e38f45d6a32fdddbbc4210fcd - pristine_git_object: 17a56a21c7d84d0a99c0135f79918b48a1562759 + last_write_checksum: sha1:c850c03631023bb7c49ff1499c83df8b61b63ef3 + pristine_git_object: 94593e1b2a37b63999e0da46db5ae2218e934ba9 src/models/listvercelcijobdefinitionsop.ts: id: 08d49fac0b12 - last_write_checksum: sha1:b90a86e528990c20b292ae33a5f186d523473b61 - pristine_git_object: 00bf7b4f33a52646093bd56d7f3b80358cc8534b + last_write_checksum: sha1:0df242311b288328a0fa81ea2bb838294b86aef8 + pristine_git_object: f15f69defd3220ad4799f78a580a05c3396c94ce src/models/listvercelcijobrunsop.ts: id: 2b9409cf0145 - last_write_checksum: sha1:7d368369164b68f4f58f30c698273fd7f4850baf - pristine_git_object: 2969e3acc7790ccc73cf9cc993302a59aafe2173 + last_write_checksum: sha1:804bf2afb6ead9aa41722c5fe2f0c30c62f3616a + pristine_git_object: 391eaa5b5984f5451a86e3c86aa13882b2a4a3fc src/models/listvercelcitaskanalysistasksop.ts: id: b97edca4e6ab - last_write_checksum: sha1:66973617d2abd753fa31cb586b16837ae3b3b7f5 - pristine_git_object: ce17419592365b2e642ae36cd2dcf12ef9908eab + last_write_checksum: sha1:13ee47fe09f4c802d4dfec657db5d2f6f759fc90 + pristine_git_object: ff4aa565e3a6a2bb594060fc3955f6a36a3c8fb7 src/models/listvercelcitaskdefinitionsop.ts: id: c4f55802799f - last_write_checksum: sha1:4fab8799e8beaad7788f78c9630f5e178dff1bfd - pristine_git_object: 609f5e7d8247c9e8dcee35ca4ed2b7fabde26b9f + last_write_checksum: sha1:524596919bef787745273d59aba75f6309fac782 + pristine_git_object: 432a185936e46740c59f4803172804c4ba49706d src/models/listvercelcitaskrunsop.ts: id: d93503b01d26 - last_write_checksum: sha1:5b2219491b70b59920bdb5790570aeca6fc2b4ef - pristine_git_object: 94e27bb5d78bedad559198b8d68090fd9f025174 + last_write_checksum: sha1:2d381b27b7a16f3ac4d83566a52b2857c8d6da0b + pristine_git_object: 32e46fc834a59cc644a6affedcfc613ef36c0cdb src/models/lookupflaglabelsop.ts: id: 3cb41fe57c9e - last_write_checksum: sha1:d539ade358e2a99dcac12ff232481b7872f06447 - pristine_git_object: 98256a98d8ad688e90b901e01dd34249acff1ecd + last_write_checksum: sha1:3babf3365fea43667f881d0d12adc05fbe4909e7 + pristine_git_object: 0c4a9615ae602c36e22ddc32ca690c7bdf4a465e src/models/marketplaceflag.ts: id: 0ea1cd7b5118 - last_write_checksum: sha1:b628de12e36929872d8921b2eb0ee88679419837 - pristine_git_object: 5b385f14838ad599c1dbf4632331232357a57cf2 + last_write_checksum: sha1:773ab038c14fa1d26969a2943bb779040f62fd6b + pristine_git_object: 9bfdf91e63a055e454051921db3812e3d6aef160 src/models/moveprojectdomainop.ts: id: e426832a5705 - last_write_checksum: sha1:d30e5bc763a10858485ed208d8e0a41ad4b0ef59 - pristine_git_object: f74aad00d65892a6089f7b595f8ebb626e3a4488 + last_write_checksum: sha1:c555b0a190dfd9e40fb597a892833d821569671f + pristine_git_object: db931ae0ab938fd8e31bdaee4326f8bad39e114d src/models/namedsandbox.ts: id: f341636e35b0 - last_write_checksum: sha1:b4cbaf4773cb66b082d49a541b5c3dd9dd41a428 - pristine_git_object: fc33946d59452c30174df42a7fa7345380261dde + last_write_checksum: sha1:c54e0b4635fdce02541a76a1d777edcfa6833843 + pristine_git_object: c8696a29f533719c16e9440fa02de5ad7ffb0ac3 src/models/network.ts: id: 4fd2826b5f73 - last_write_checksum: sha1:70e1ee632596fe8f1061fc99ed59945ca3db8453 - pristine_git_object: c38db3b20eea73a321c2f53b4148739e5ca50208 - src/models/newprojects.ts: - id: 59f5cf3a08b2 - last_write_checksum: sha1:bdaaeb3ae3019b8c9011f39c99daafd835947643 - pristine_git_object: cc77047afb9c971a3059fb0088350a50ced5bc04 + last_write_checksum: sha1:9e71dc4df86f138da64682be4a57c0308d366981 + pristine_git_object: a4db531722b96f7eb36d05cbc3ea53d1b2c280cc src/models/notauthorizedforscope.ts: id: 36b45f70ad97 - last_write_checksum: sha1:b7422fb37590feefeca0b602824fd0422c6a9e57 - pristine_git_object: 72f93def11c1d77fe4dee3ae0e19e2168b1af72d + last_write_checksum: sha1:4ca1775546f8d3812020a3cf158e282b6efb2490 + pristine_git_object: 03a1767e78357de2697cbac75c7100ac0c3ffe62 src/models/notfound.ts: id: 45af2638be0f - last_write_checksum: sha1:22cf14aafb691703a4b3ff671520d7b6fdec3eb1 - pristine_git_object: 95d2d3db6908a1b0f83ac1389e93125af47cb8c2 - src/models/oldssoprotection2.ts: - id: a3f85cb40978 - last_write_checksum: sha1:e0ae5ae4d909f4fffd17ceed4a9fca87b180c04a - pristine_git_object: b0a6fd30a5e0cc361b99b816d3fa104665b551fb + last_write_checksum: sha1:7dceb871053142d74af963e1b939d6224ca336ca + pristine_git_object: 3810348664f6db01b5d85f75d758b003c5717563 src/models/ordertooexpensive.ts: id: d61ceb6797fc - last_write_checksum: sha1:ca7adbac15b46348c24c7cf7c635eccb0d6c1760 - pristine_git_object: 3a4ea1d490549fe028c9e05b92b1b22c977ed055 + last_write_checksum: sha1:dfa1ec4d11f18d865ff1c387c05b7ef2e38e65d2 + pristine_git_object: 54b44709daab3faee7c0688abe8450c6a852b8e3 src/models/organization.ts: id: 78b4c179a167 - last_write_checksum: sha1:250f24158050d21c28c49fd959d18dc512db4e00 - pristine_git_object: 0cfa94a311427c03e7c89d2506ad8df9bd07400a + last_write_checksum: sha1:c5819a920b929c4af0301b4aecd063b5d2257250 + pristine_git_object: bc90a6c4ff06390a2d4f30b063cab78f85dc52c6 src/models/organizationdirectorysyncgroup.ts: id: c6ae75ccc0f5 - last_write_checksum: sha1:3fd73ad7a590ab75e93f4f0326c0052be8b5c0ef - pristine_git_object: df9a5d5ab81b1d04ea008bc5c0971d7d00bbbe80 + last_write_checksum: sha1:849e7215a0df0fd7f49ba19f9a8e835864188039 + pristine_git_object: c8364a104f0c5db8a80e4135804d2c509dc9caba src/models/organizationteamlistitem.ts: id: b5a3cafca2fc - last_write_checksum: sha1:930d0258e4e24e85bab113d1cff02be7bb1826ad - pristine_git_object: 82d72605f58d34e2e2b8472500c687cfa68e9750 + last_write_checksum: sha1:bddcd58efae181e5aaa033f3d2ce5c2f21854d82 + pristine_git_object: 632bb0d15b5c96e6ec0266d1a405fc191b50679e src/models/pagination.ts: id: 1b76af00d04f - last_write_checksum: sha1:2d60315db9e9e5ada54f887f7c3e59745bb37024 - pristine_git_object: 4c75212cb92f3d17126d2379f4debb062dea086b + last_write_checksum: sha1:2814446e7ac1a018c978a953ef73320e37aa7b86 + pristine_git_object: 113842c169920280549dafc6abb9e5568c20c695 src/models/patchdomainop.ts: id: 77a586b2d651 - last_write_checksum: sha1:28c0deeca3fb046077f3123e0a41509b08ff1284 - pristine_git_object: 75536ed45fb47596646820554fa236ecc61e95c3 + last_write_checksum: sha1:399adfc67102328b92e26b9e844d3aded49b96d0 + pristine_git_object: 160170ef40bb98e3aa8c333bb511e3d6c745e11e src/models/patchedgeconfigitemsop.ts: id: 2b83ab98a335 - last_write_checksum: sha1:3477d9586e80c90665f1bb28894b7bc508a3ba5d - pristine_git_object: dfd354c73ea0a821912abd3895c3123c920976c1 + last_write_checksum: sha1:e6003e71a9fc618f3989f50c5aad0a2b9e944c69 + pristine_git_object: 640499942d7545916ef47f9ad0d7623f639baba2 src/models/patchedgeconfigschemaop.ts: id: 06e7bc436977 - last_write_checksum: sha1:e8b766626570c2067be9da119c25d8d9b73c033a - pristine_git_object: a88b0f475f647f285f2a2dc08b368e55a720ed11 + last_write_checksum: sha1:d79745ab5fd92acc9f2c31f7f443ba0cb6341462 + pristine_git_object: b5c4228ca4cf2da5167c76f053871cf8f8864031 src/models/patchteamop.ts: id: 2c76707d040b - last_write_checksum: sha1:558ffe0e4837f50aafe427a64b1059481d3715b2 - pristine_git_object: a98b9ca19c6c678209df6122446e2d04f3c72735 + last_write_checksum: sha1:90a0ddae3dce37dd5a2a4e4e8a9170ab881cc425 + pristine_git_object: 392100cf813bed7a8f1928704622d2f6d4991008 src/models/patchurlprotectionbypassop.ts: id: 2238d21d08d1 - last_write_checksum: sha1:4cc092796aef7379cca9f2a362a332ca0b576875 - pristine_git_object: 182c0bb1f659d3fc4aec23a1db3c2add5cadc9c9 + last_write_checksum: sha1:51164d08eb6f1f3d2d41559276b17101fc09044e + pristine_git_object: 1a0a9719b3926a1179cf29e57379d5d3961a1367 src/models/pauseprojectop.ts: id: cddb3aefc8a1 - last_write_checksum: sha1:be299a2b38878a12d6faae6a40c338da478936a1 - pristine_git_object: 74d6f790517c08fa8bacad80cbfb9e1f45a19679 - src/models/payloaddsyncmode.ts: - id: 6da3123629ce - last_write_checksum: sha1:cbcb5bb040da9e413d00e3938a74ebd47bd60db2 - pristine_git_object: 236bd8249bd487f7ec4ffd4160d88452a1286984 + last_write_checksum: sha1:7fe2fb2197f40db8d46ddf539291c2fc89ec7fe4 + pristine_git_object: c48ba150a2534fa371ff06dc7b31af6742723489 src/models/payloadoutcome.ts: id: 13b78ba08997 - last_write_checksum: sha1:74fa0b1fc9683f7dfdedf2b8aba838d51afe6a6b - pristine_git_object: e773223043497afcb4202c8f4aa5ce8895351457 + last_write_checksum: sha1:6e9ed626e3cf6a7a4f45c794bc989e8f28ee7cd4 + pristine_git_object: 47a6af56a22f1c17330c857a7c1f1c6f8734144b + src/models/payloadstaticips.ts: + id: 2073846b0c4d + last_write_checksum: sha1:1a6fbbf54d23a4c873caa27ff9141a046e678fd7 + pristine_git_object: d856d436b109a945a49241b9d78c4fa18f4fe07b src/models/postteamdsyncrolesop.ts: id: 8d00d9b4ddd7 - last_write_checksum: sha1:055fb1caebf3be5afc8f3daab28595c2d84e7bb3 - pristine_git_object: 34bdff7a63276e85b5905ed1eddceacaa3e8e754 + last_write_checksum: sha1:1000d4fdafe678ae5e21ef8b755083b4313806b0 + pristine_git_object: 316f89111ec671e894a4abbd41cec8fde333c656 src/models/privatelinkendpoint.ts: id: be12d95ff5f2 - last_write_checksum: sha1:4240e99eec6fb6719be3395b82b846451e7c55f8 - pristine_git_object: c551d922db7a8b6d7cc888ce94a1e0935a8f166e + last_write_checksum: sha1:d0a94ee2049f03d22f0f406c397ad9d996363e47 + pristine_git_object: 9961a118509c08ca8b5b3299efea0a373ff23a5e src/models/properties7.ts: id: da0a7ad619b3 - last_write_checksum: sha1:a438f78897c74cdeee063f04c1e4bad623a7639f - pristine_git_object: 156e5b6d4599f5961855a6a8dc78e31c0d62d532 + last_write_checksum: sha1:e464cd1cff27bebf8380200bfddd829512d2ab4e + pristine_git_object: 4afe6af317f5830ea1a37421844da1adb22e432f src/models/propertykey.ts: id: 193d90fb5f8d - last_write_checksum: sha1:81b862de383e18040af4d8687767575f27a12275 - pristine_git_object: 78140bfee346b4697c35178f49eb1a346748b784 + last_write_checksum: sha1:cb25827ee47f75be28e0958f84e86233be38ca83 + pristine_git_object: 28db9366915c4df66915556b2887cacec2b2e998 src/models/putfirewallconfigop.ts: id: 73722a29400b - last_write_checksum: sha1:eef51512e5ae122e7d826de3bb5899a560d1b8b1 - pristine_git_object: 09050034537a2eaf248d0312eb47ed47368a3517 + last_write_checksum: sha1:e4f475bab1cc8a689e8f3641b9e2d22b0c946f9e + pristine_git_object: c698fb0cd300bd9add7de98bcbfafb3894b3b0e9 src/models/putorganizationdsyncgroupop.ts: id: b2377e933b5e - last_write_checksum: sha1:c6a7a59d0ef100895e8c8781134b26f96a910690 - pristine_git_object: 3828e2138bcecaeb37b0b94b16c42e3b7dfe294f + last_write_checksum: sha1:4076d9b2f900b314a3cd41b4685e088558958c07 + pristine_git_object: 5cd5f17da9d73fb7f8676497728091b89c93bf15 src/models/putorganizationteamdsyncop.ts: id: 9a9cf186e825 - last_write_checksum: sha1:27914560c8949d73246f18f1410113057600c3cf - pristine_git_object: c6e25a6e1d10fe0a7cf5a8f615c003786240abb1 + last_write_checksum: sha1:67a6f99c7f2b973fbb5739897299b0cf19368f74 + pristine_git_object: 6b0ba92c258029661fd1e5cdc4bd99e193bdcf4d src/models/putprojectdaemoninstancesop.ts: id: 2085589546ca - last_write_checksum: sha1:f22f61d85cc9144dddb6ab2dc402aeae2fdf7fdf - pristine_git_object: 6e226f1965dd4e9562e7708f86334c27cad23838 + last_write_checksum: sha1:f6150e1b648c216443cde72206908361bc5375dd + pristine_git_object: d2ca79453f37f381b7737a4298793f23e9a59533 src/models/readaccessgroupop.ts: id: 83973404fdfb - last_write_checksum: sha1:f7fd04c063b1bf15118296a341bf652a281aad16 - pristine_git_object: 08babdd30282f1da0de6357846484ea8064e9568 + last_write_checksum: sha1:e54a842edebf28ad79d7e12d657d3706f26e53dc + pristine_git_object: bedc198d9b93f9a14758afd4c38cb1773009806e src/models/readaccessgroupprojectop.ts: id: 15d14fc57cc9 - last_write_checksum: sha1:d32f8cce2a335c48aec1576a3eb503c6b8e45268 - pristine_git_object: 14215abfeafd88c92aa6472599acd0000802f536 + last_write_checksum: sha1:6959d837975b4b44d3a50915bcc10968326a8b9b + pristine_git_object: 74481ff0d1ca559c958abd85ae79790327701179 src/models/readnetworkop.ts: id: a7d7f67d5615 - last_write_checksum: sha1:6e7bb222f68376ffba7e304af1310592eb0ea179 - pristine_git_object: 2ff3a0796ca9cff70335dbe84ecda2cb8233c6c5 + last_write_checksum: sha1:9ad5f2d33faacfcc057ec682e32137dc381c35e5 + pristine_git_object: 33ba8803e61010e950a4e51ecb0d8357963947a0 src/models/readprivatelinkendpointop.ts: id: a794b6fa22fb - last_write_checksum: sha1:74a293f72cdbaf976f0c22a9da45dd2aa14f0b16 - pristine_git_object: 25d7053ae78539dee26f47873e9339ccb537d6c0 + last_write_checksum: sha1:d4a6c71ac9a2700568deec8d6a5fca9dd4620bd5 + pristine_git_object: ae42d25cabd1ec5104f1563dabe763cb76a74bcd src/models/readsessionfileop.ts: id: 3e86b28474f7 - last_write_checksum: sha1:4202dcd4f2292d8547ee340f0fd7b010b65fd37e - pristine_git_object: 8b29b7d8cf07f230cf37868cb4459c66db9456cb + last_write_checksum: sha1:032805a319621b8a8a11b8465c9f9e070178f498 + pristine_git_object: 792ece3db59a5c2d38c6332702c5b09e93e022b6 src/models/recordeventsop.ts: id: 20eee31d1b20 - last_write_checksum: sha1:9099703d900f838c4e60bdb54007c4cf845035ec - pristine_git_object: ec21b11e784f1e1f16cb8ac7ae058dcc5a291055 + last_write_checksum: sha1:bfd1c5598bb3ff3955fb0870e9aea8ea571216b9 + pristine_git_object: 00d564e9575fa36435037a49f58593399022d553 src/models/removebypassipop.ts: id: c4bf721939e9 - last_write_checksum: sha1:b892531a7afaf76385faf188032d380aadadffbe - pristine_git_object: d138ddf1a5fba52d00a57a17116d3d45f04ab747 + last_write_checksum: sha1:78bb8d8f3b440c1aad2d4f6e6e85f71d38d945f1 + pristine_git_object: aa8890999dac57fbaa5b9cfc91e46eb7b501f304 src/models/removecertop.ts: id: fabc0e962ea2 - last_write_checksum: sha1:7b17d419961501ce6be63ce3a4581f2a4c65d0bb - pristine_git_object: 4d2df65ac199e9146ba947de36429d78708cc611 + last_write_checksum: sha1:c535e812dc9d50e4a5653b745f35cf0f8a4cf6dd + pristine_git_object: dded01e4e4a5f75407e9cc2631935e99e4978573 src/models/removecustomenvironmentop.ts: id: 2332b0c014a0 - last_write_checksum: sha1:5922a7c45d8d5d7cc2cae89d1dd76d235bbd2266 - pristine_git_object: 99eca4986f4868d19c8dbe69a490734c6bfa0ba4 + last_write_checksum: sha1:70b7c10cecd3b80e8573478e5dfa73df2cc4c611 + pristine_git_object: cad3627a16409e5984062dbcf8a69fb619450976 src/models/removeorganizationteamop.ts: id: d972a239bd46 - last_write_checksum: sha1:b60d91becc55f9dcecfb5103f19bd05032417054 - pristine_git_object: 00fcce00adabbb5a3028a028ae2b36d45c68b2dc + last_write_checksum: sha1:2e34f585be89d092610ef200b9b0288a17babb1a + pristine_git_object: 6328aed6e06bfa56b4b36374043c0325eb1de527 src/models/removeprojectdomainop.ts: id: 4026a98aceda - last_write_checksum: sha1:4ebf8a2f6e909eb6c411802f2312f628caf7703a - pristine_git_object: c90b7ae25a1c231d6ac9dbdc15397a81ffdba585 + last_write_checksum: sha1:20ca8e8aadca9cd4816e25765c3eea6b061cfdc5 + pristine_git_object: 9529480cdd0526febbb868b38bf0fa2351c340e8 src/models/removeprojectenvop.ts: id: 7550e28d8beb - last_write_checksum: sha1:7c84dd70004c92b6c2e0352dce130b38fc87877f - pristine_git_object: 45c118ec0e3ff90be97a58b0afaadf1a9019e504 + last_write_checksum: sha1:ddafa2581530897a6ad23e035f012d5ae595a45a + pristine_git_object: 3f1962ff07da6f0d973e0a3879439e5937ded301 src/models/removeprojectmemberop.ts: id: f2ddc7342d70 - last_write_checksum: sha1:f448feb31f2c77dc4096171e0ea0d5d8a2ed1eed - pristine_git_object: d8e03a91776f610f2414023452feac91ddd6398e + last_write_checksum: sha1:caf2aebe832e2ed2c8372fb296b0d75f74ddce1a + pristine_git_object: 150beb4ee0e08e14f6afc75ff9683b0b771961cc src/models/removerecordop.ts: id: 966121fbc2cf - last_write_checksum: sha1:cf8224dfd1b8ed59ab836cea234dedc43ee8c59b - pristine_git_object: 5fee6adafcf7afc80406bee05905307e7a910594 + last_write_checksum: sha1:1e1726a3e1066ff23b2b12fe97096b4b6a17940b + pristine_git_object: 351cc14ef2bd3c18b1ebc1a72fd9ff056a3efbc5 src/models/removerepositorypermissionop.ts: id: 8d88e8647813 - last_write_checksum: sha1:ee2d55288781a453f1f5c282f0f3afcc587ca5bd - pristine_git_object: f39f052a2e1cc001298459418e8bcc68d4f6fce0 + last_write_checksum: sha1:28b32251ffc9e1aa7a1f9fccff9b2f08b513c216 + pristine_git_object: 71be240719d34c17997559df7f8cb4cb167204c8 src/models/removeteammemberop.ts: id: bdf344b064b3 - last_write_checksum: sha1:e0aa8b4b81c8ed06f1efb91d227de08d34c8db26 - pristine_git_object: 5065e07a7cbd40507fcb92bc4f63245bddb2d7d7 + last_write_checksum: sha1:947274a57e90fcd6404f6e5f6f46fcd683e24b86 + pristine_git_object: cf76ac5539fbd937e94783829e1c7089f874980a src/models/renewdomainop.ts: id: 30a06a3ea519 - last_write_checksum: sha1:d271d3a41fd00e057d8b436163e5dfc58af30629 - pristine_git_object: c4ff2695e2635ac25f1071d97128cc91cfc4f239 + last_write_checksum: sha1:f980ac02612706ae7dc792cbe2845d3f1087c652 + pristine_git_object: 80c60ce7736e2f77ffce45c8d78dc7fa4d65928f src/models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts: id: 991d4ff00b76 - last_write_checksum: sha1:2008f7506b767356fc6121e4f7a98c7393684395 - pristine_git_object: 42055ecd461d383b32f0eecf9931a18a780377f8 + last_write_checksum: sha1:14e79b18e5cbc00a8eb346429e85724a9593dd66 + pristine_git_object: 370151a268614723e9bf5c4a8dd0c9738f8f4a39 src/models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts: id: ff4f23621a7c - last_write_checksum: sha1:e366c41ebbd307f22d686e50f5da1d22694e5c64 - pristine_git_object: dbe1f18db0fecc95d826c264808dae535a6b2d2d + last_write_checksum: sha1:5a73f8acdcc7d9cd31d29958adf8d5c5e787fb11 + pristine_git_object: 6e99dba084a3f75d51f6ac93fb0b86560d2e9075 src/models/replaceconnectortriggerdestinationsop.ts: id: d9da025b3390 - last_write_checksum: sha1:2f547559b98887c5518932e0d4e178341e073933 - pristine_git_object: e235a5e149635931a1a8efc71abf9cb5c211c03a + last_write_checksum: sha1:bbf56ab3fe0ad11a7a60df3b8bf7311aaf14923e + pristine_git_object: a2f43fc777ea3042a381917a059603ebd4e2219f src/models/replacedomainsbydomainrecordsop.ts: id: 187f56c56c85 - last_write_checksum: sha1:fa0513795aa2e9cb983eb7299234bf4c67d2174f - pristine_git_object: dea04866dacd2dc55ffb7bcd5b31eeb10fc98a0f + last_write_checksum: sha1:b0120611efcec7b65e97270580ca488372da915e + pristine_git_object: 324a8d12a7ad280c06a409aa35776ec088a1a1bf src/models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts: id: cd9bcfb784c3 - last_write_checksum: sha1:a094356c5412980c472529e2b82a15643eb48b92 - pristine_git_object: 81d494c5261266ae0208e3bf1b6945714817087d + last_write_checksum: sha1:ebb3e44694d0bac92b86885a61a7520cf5b96d3b + pristine_git_object: 780ffb1990a81fdd23f70856f423cb473465e942 src/models/requestaccesstoteamop.ts: id: b5c21f2d1946 - last_write_checksum: sha1:7859653cb9eeb406c2da9afc78bc16661fc8b9b7 - pristine_git_object: c50bef70499c174ed920f8d6ef2f66b2ee631c39 + last_write_checksum: sha1:f082263c6f530613704bb97314272356fb927636 + pristine_git_object: 4d4d60af06afde7ee70109dd441fb1a67377b4ea src/models/requestdeleteop.ts: id: 748ba74ca60c - last_write_checksum: sha1:5cb9691df99f547e78b993f70c3e47b418f88d08 - pristine_git_object: 54847548d998cb7f85eec3b3b29916edcc170de5 + last_write_checksum: sha1:f50211cfab05d6f9689e4058a1ff2099f3898811 + pristine_git_object: cc3d4bcc00cf013e5a5ebfe298e92c37a431a555 src/models/requestpromoteop.ts: id: d97214609afc - last_write_checksum: sha1:63cf2ee65feb9b88c1c69f0251a49e32876781e8 - pristine_git_object: df3c9b2be5a4e0f6ac1b3fcdd385c5e4d343d50c + last_write_checksum: sha1:bf96e7d13e008364e5d4728df6a66e7d5c0d45fc + pristine_git_object: 8d3d24c2b1a23e1100a48eb5536502bd0c3f9a67 src/models/requestrollbackop.ts: id: fd4c298cae73 - last_write_checksum: sha1:ede81985296aade0d4ab525471697f2e6117f691 - pristine_git_object: 6cc04bf3e7d0afbea181ee177bd567db04b030cd + last_write_checksum: sha1:dab3b465a201cf458acfc4241818673b47a1fdc7 + pristine_git_object: 7a2c06bad9eeb113201e329c03aee9dc58dcb1e9 src/models/rerequestcheckop.ts: id: 39024a048c17 - last_write_checksum: sha1:ff497ba73a12032392c2be2d78ec3b4306e0e26b - pristine_git_object: 42c422cfad251d936c951e8b2a5a1dde313d2522 + last_write_checksum: sha1:f8ba8e18d206e94dc620a1c70bf468eb1a9198c1 + pristine_git_object: b155e266661fa375a1a9b18736c96998d823bb53 src/models/responsebodylastrollbacktarget.ts: id: 11b9e5a67ece - last_write_checksum: sha1:374c4afe06c2b5f31e811cc9f6907cf162d0ba30 - pristine_git_object: 747976bb2c789fb1347a7763c8a090bef7ab13d2 + last_write_checksum: sha1:a7a6e8942e756ed6dc5929d2bfb904b68574171e + pristine_git_object: 134394b7eb30dd7ddc1b816eb049aa31de210283 src/models/responsevalidationerror.ts: id: 2be3a328da01 last_write_checksum: sha1:7be2a833d26616bebc3feb8d03fa592f94bb947e pristine_git_object: ebb6567a11d03eb7234bba499c39ef0fcc1c3b6d src/models/restartprojectdaemoninstanceop.ts: id: b310566fb13c - last_write_checksum: sha1:643cdd7522999d0f9dd83921d1a1ea9e3ebc9020 - pristine_git_object: 14325647abd51de9fe813ca72ed49dfe12386a1e + last_write_checksum: sha1:d4950c925bcdf1e0a42cf23de55395bdc930a0c6 + pristine_git_object: aee4f985378491c8a744833027b46bceea43951f src/models/restoreedgeconfigbackupop.ts: id: e8dc68a2f109 - last_write_checksum: sha1:34a5b2da92f2088eead89f590151f7197c3c2bc4 - pristine_git_object: da2d78b55f394c3da2c021730105b7700fe7653d + last_write_checksum: sha1:113d6f6bc4e0eafd0e9096d9299987bbbb02b1f9 + pristine_git_object: 187fe230dd56c55d5e54939e565ee87c6d9d3806 src/models/restoreredirectsop.ts: id: c4045d623ea2 - last_write_checksum: sha1:2ed1f6a922bbacd3cf1e46f465f514d664625af8 - pristine_git_object: c1bf7cea81bb48c68faf163d84fcecbbe9cde9b1 + last_write_checksum: sha1:d87994e0df6096d83a7f9ce34eaee823e14eb46f + pristine_git_object: ce29c58aea4e307fe53bd956b619993943b34531 src/models/retryvercelciinvocationop.ts: id: c18c4040be4c - last_write_checksum: sha1:75247a341110dacbc0489763044240563ca649d2 - pristine_git_object: 453b1800b4dd73d3649eac32e018732edb74262e + last_write_checksum: sha1:7c629194c916ee59eb6dc4f35c861546656fe32d + pristine_git_object: 66ba61f900f4356431cade84f5106c4cc549feea src/models/revokeinstallationcredentialop.ts: id: 7084cf6e2d62 - last_write_checksum: sha1:68b9a44f01e3eb39a90518694be9d032277192d3 - pristine_git_object: c1f3b7145c94a254ace0371cbed0df15317d4c96 + last_write_checksum: sha1:ed3983437e70082a2b9618215bc197b3794d6b66 + pristine_git_object: 5c47002159b77aad5bd6b89137c0b1536f5e4954 src/models/revokekmssigningkeyop.ts: id: dd18a93143c8 - last_write_checksum: sha1:233a8ab7f803b7f6a237fce08a5b569ef71ebc6b - pristine_git_object: db59bf3a41fbea3a0b699ff349cfee7808dcf753 + last_write_checksum: sha1:6827041fd4c7e15e66f77397ed5fffdfc92ba6c4 + pristine_git_object: cc6c59886a4851b46877b749413b8fd9654b8899 src/models/rotateinstallationcredentialop.ts: id: 0e8efe19e83f - last_write_checksum: sha1:6c83c8c0e9c6416a75927c3f4c29e301b7b115d7 - pristine_git_object: ffe4693bcf450c5a198b916f3d889b0e3787c7ca + last_write_checksum: sha1:4baa9109fb02e28b979751c510df06e75729f516 + pristine_git_object: 3bec14633f6e506687654e09c14e99f144529724 src/models/sandboxforwardrule.ts: id: 97f04fc5e0d5 - last_write_checksum: sha1:045f28206f02c371ab373849e27fad3b91d95b5b - pristine_git_object: 84904d2399ce4141230e92ee6e3a519592bb5c16 + last_write_checksum: sha1:0238db8682190de9aa2a42fe40cf6e4e9f12a9ef + pristine_git_object: 2aed8e61ea163fcfea19c37f77f636b52a6cb4ff src/models/sandboxinjectionrule.ts: id: 55205ffdb724 - last_write_checksum: sha1:2afbc7585ddfd251ede5b9679e0f625734553f6e - pristine_git_object: fe85309daafe35f6084b8b0a4be212db45604b3a + last_write_checksum: sha1:3d4279edd49ddfab2f9dce9c4ae716ab7a6af539 + pristine_git_object: 5696d02399c4752e4b8634d9a8b2a1d06c17f247 src/models/sandboxnetworkpolicy.ts: id: e08198a4acc8 - last_write_checksum: sha1:0fcd7f1e215aeb64b8b58e02404e2d1b7e40d79b - pristine_git_object: 4dca2c0a420aa2ac80cccafefdc5a60fabbc90ea + last_write_checksum: sha1:776a778ff9d5d460a2fac66cbc1ed5dc0c2c20fc + pristine_git_object: cd97e68eeae117594e7cc8f6670e6407c9b709a1 src/models/sandboxpublicroute.ts: id: ed20ae5c942d - last_write_checksum: sha1:ab14884f721b909bb7466b928a1fa5d319002821 - pristine_git_object: d21da56e6cf1231a761b202be60c3a41441e53db + last_write_checksum: sha1:f52fee06de682826e67e415f75394f8e66e4c17d + pristine_git_object: e13f4bb0093ba671e873ea0f0e11573612c77fda src/models/sandboxresponserule.ts: id: a08f19d36fb6 - last_write_checksum: sha1:a43292038960e0ee4a99db900ef092c3a723bf4f - pristine_git_object: 3fb0bb2ac734b31d91493a765d888984adc5a4d3 + last_write_checksum: sha1:c992a47f9aa9542f4fb17c3bde0943eb3b2e042d + pristine_git_object: a6a8cf8b9dbb973c495ae5ade82ce31aedaa71d4 src/models/sdkerror.ts: id: c85ddff09889 last_write_checksum: sha1:46c2644eebaf6d72d0e19d5470bd5dd94b840481 @@ -54051,624 +54131,820 @@ trackedFiles: pristine_git_object: 6826e1208a5d7b7d310535d18909646522bf0fbd src/models/searchdomainsop.ts: id: decaa70c858f - last_write_checksum: sha1:cf2563c6183956162916280377c86e63e4ee4824 - pristine_git_object: 10191943f14280aa74a9c0aaaf83867291b044cd + last_write_checksum: sha1:ae2a75ef73a7adf127e9b3d784c658fc31c8d6e7 + pristine_git_object: 29af9aff4390d657f99df75d96c9a26092e182c7 src/models/searchrepoop.ts: id: d4d2e577b22b - last_write_checksum: sha1:e5398953ca868fcf5f76b60b7a9fe1db03929f62 - pristine_git_object: 7b57988bf3ba76b70dc063cc308b355c017289b7 + last_write_checksum: sha1:3003fac0511e01fc7ce341e1bfc8bd11b51c80b1 + pristine_git_object: a9d5e5f8018bf12277ba43a03ad53e056fa48c6b src/models/searchvercelcilogsop.ts: id: f77748e9785e - last_write_checksum: sha1:1ee28ef7d67da6c02df6c9bbfb48201b44d80f55 - pristine_git_object: 7a6a26b39183a6a52eefaee4d88b980d5872ba89 + last_write_checksum: sha1:8882600a19e401379baba4a0d58adf6f9c1a696a + pristine_git_object: a080f57e3f0623fa5cb36e7e52044ab39b2d5a75 src/models/security.ts: id: d90c6c784ca5 - last_write_checksum: sha1:e624f5c6266dcc5e5b71470983f7d15ffb3eaf10 - pristine_git_object: 379f17c51feeb6a68aa8f284517feedca3951420 + last_write_checksum: sha1:e91c7e02ced724b2b181c8c92869691bd0fbebc8 + pristine_git_object: b881d6b9e4882537a0eac2db6d194ceb698bbe86 src/models/segment.ts: id: 43c336c9e33c - last_write_checksum: sha1:bf4c18b641bf45fe79073de767ee48a0fc3e7f52 - pristine_git_object: 6ae40266fe7cf34c0b50a2ec6aad9bc8e9786bc6 + last_write_checksum: sha1:ecdd4cbdcdfe55f6fe93f2491368511b6d9e496d + pristine_git_object: 50f5c8d5b14687be19cb614fe2a778962451cffd src/models/session.ts: id: 20de3cb3a5bb - last_write_checksum: sha1:bca1086dc2c897989bc063eb641be5df070a4ed6 - pristine_git_object: e8a1578115539819b6305b0a716753dc7cf164a8 + last_write_checksum: sha1:9c12e83a6d4f704ea259e55dd873f3ccd3a6e5f8 + pristine_git_object: bd8b4f207c847122340c8f435187b719a04d4088 src/models/sessioncommand.ts: id: 582f2b5e8f3b - last_write_checksum: sha1:ef10692fbd7dc81829edbc41e166f24352440be9 - pristine_git_object: 0dd176cf78aab244018f6d9cae4875323de332ea + last_write_checksum: sha1:5f584539dc3a9d190c2b7da10e0efec001d3e5ed + pristine_git_object: f4ab136f8074f470de9b83bc8fe4d7d0d3ada8fc + src/models/signflagoverridesop.ts: + id: b606ee14d511 + last_write_checksum: sha1:905e03fd4bc56abcdf87b2d8e0570f876799e510 + pristine_git_object: 9c0c5126fb1871f68a1ba65b3b6adf74482d7f3d src/models/signkmsmessageop.ts: id: 8a23c3d5627f - last_write_checksum: sha1:20be9415ea162aa61e4182704a4470a586407ed1 - pristine_git_object: 80fcd92e6464eb958d7178b634123c609137c552 + last_write_checksum: sha1:34c50f19911b93e230a9bd149b19989df53f0e6b + pristine_git_object: 53b1a5eb839287eee97a9ba6e173239f0199f830 src/models/signkmstokenop.ts: id: e3372c131c91 - last_write_checksum: sha1:b88be5c8ca1e5ac7c1ff7f857b0e8161ee0620a3 - pristine_git_object: 2d180c9144fb7bcdd976a38edf1a821e8346539b + last_write_checksum: sha1:6c33cb976c61f1ca245e7441bd0661bbdb07909a + pristine_git_object: a79346cc0931f57f7e24d44e207305a0cc9275a7 src/models/snapshot.ts: id: 9966645e7586 - last_write_checksum: sha1:582a91cfb40030c973f2ca226cbde1631ff9714e - pristine_git_object: 5926ebf354326f2106f597641d214a58792a1d9b + last_write_checksum: sha1:59cb797d0cb0f1ac5851b34b75016eacb11295b3 + pristine_git_object: 52d11267205c1b1bdc5bfe175fc42a2650554aab src/models/stageredirectsop.ts: id: 3206a577278e - last_write_checksum: sha1:3b91560821ce4aca151ac9c16d748e973fa0b761 - pristine_git_object: 6571b6297601d87cd68cea51c93063e78e64ff8d + last_write_checksum: sha1:1773b72de6c419274fd51d4ec305574f3b1dc292 + pristine_git_object: 8c40d06014c9df9f7d8b263af391a9c5663c6c98 src/models/stageroutesop.ts: id: 5a9c75d7d78f - last_write_checksum: sha1:034eb10d332bf2a308705a9c486467dde86836d2 - pristine_git_object: 8daf19b4335d2768751299aea0a6ae2b096b4f59 + last_write_checksum: sha1:1198517e7f2c962a91a3738e32e75596ed05c25b + pristine_git_object: fc6309c94d69ac8bfd34c5d9741a57f86cba33d0 src/models/startrollingreleaseop.ts: id: 6fcdf37f5ef4 - last_write_checksum: sha1:4415c8d9ea069b73c16a8956a295abd5456c23ba - pristine_git_object: e88cf416168523d5318b905fe3228e70a1e75263 + last_write_checksum: sha1:4d38c9fce916e0f3cc3b4ab5c6b0bcfe758e98e1 + pristine_git_object: 14590f781ffeb39b4e58324f493aaa0b1bce531b src/models/statusop.ts: id: b013b9220547 - last_write_checksum: sha1:abb0cfdcd25b82d87db74c030f6307160e42c91c - pristine_git_object: 2e2834744081346e1362a4f11b60b8ce1eeaec2b + last_write_checksum: sha1:7350bcbe2230025683d01f9c8acc7d3c8144b911 + pristine_git_object: b109dcafb902e92de3e5d90e5d221073c384db64 src/models/stopsessionop.ts: id: bf8cbdf5ccae - last_write_checksum: sha1:4d5527398e0a40c76204b310c3f4f38ea19038f9 - pristine_git_object: 485614a5a441153014e75ac418cec1e27ac1fb74 + last_write_checksum: sha1:d671aada87a8bccb1c4c5eaa2064c93b7c30f03e + pristine_git_object: e8b0cbdfec309ed2e7ae7a1be75a237baf97c3a3 src/models/submitbillingdataop.ts: id: 2f873be3aaef - last_write_checksum: sha1:6a620527396b8fa5cb5b04c3fe4b935f2b39a748 - pristine_git_object: 34ec1d70f9bdf486d91eb974bd83dcefe6ae9190 + last_write_checksum: sha1:c8035c731a28766cbdf0a9d5be075ab17d06e681 + pristine_git_object: 045706a49b58698f23096f4ad2be3e8a9aa7413a src/models/submitinvoiceop.ts: id: 80de919dcb29 - last_write_checksum: sha1:7ce7c4b5783706c7b13039d55f9fa2be1634c519 - pristine_git_object: 923c24fd33d436ef9f34cfac52f9f38c8e3cd797 + last_write_checksum: sha1:832697a4f634e6065d880c937e193bd97e56c42b + pristine_git_object: 962d0ceffea69748fe97a9dad80e02358a63790c src/models/submitprepaymentbalancesop.ts: id: 06ba5e86ffa5 - last_write_checksum: sha1:42591fc3db7ac934c1079bc05c12b445ba2a27b6 - pristine_git_object: 626ac35a0d94fa8b8688be51a14095a1289aed40 + last_write_checksum: sha1:14f1db28c779a2c8a5eb1e19dcfac25418641fc7 + pristine_git_object: 20c39861c0d10269ef3607accb3fb5845f714443 src/models/team.ts: id: d246f59857e9 - last_write_checksum: sha1:423b78ee793c6a0b201f3bb744bc282a68ee3834 - pristine_git_object: 702f664a21a48d493faa14e228050983eb16e1cf + last_write_checksum: sha1:18936cb1f834178255de98be16012fa770ce8ecf + pristine_git_object: 76a0fb27c7f969f410b68f9c97f78b6f1a0b3897 src/models/teamlimited.ts: id: 24a45f99c200 - last_write_checksum: sha1:9def85535fb07c12b87d367c50253105a97e0b61 - pristine_git_object: fd37cf094c859db995dc5fb07f316b30fc840289 + last_write_checksum: sha1:4bdecc5540e76c998a941eaa60d43228ad3dc342 + pristine_git_object: f109c46b57098a83ada602d78c2fdd947bc57e4a src/models/testdrainop.ts: id: 9ea45cb5500a - last_write_checksum: sha1:5a959fbea457a1b6014b8bc801675ba26e5cf12d - pristine_git_object: 5feca1bdf9ecd64bea12cd43712a9e3339cecce8 + last_write_checksum: sha1:19b2936adad8a2461286d42b64f753fe5560b9b9 + pristine_git_object: 8c970688c9879ca55966a5d016525b47f1f675f8 + src/models/threehundredandtwentyfour.ts: + id: 1ad5a93512e6 + last_write_checksum: sha1:b1b922943bbf5fc2de7cb64b844779a017c1b04c + pristine_git_object: 773b427a81177d1373a4402c00b58e9f16580e1d src/models/tldnotsupported.ts: id: 0e02d0b8ee99 - last_write_checksum: sha1:bd3791e6b0a1e8582bae9e32fd23afbf84035df8 - pristine_git_object: 9cec3b68c3bcde97ebeade66cf3b8eaf1e18a909 + last_write_checksum: sha1:adf034f16408fea00d2a2a4e8dd7f2fe03d42314 + pristine_git_object: 2733e0d4a62ec844d1df7b06c05dba69e34c764c src/models/toomanydomains.ts: id: 0be316758ed2 - last_write_checksum: sha1:1d93f2fb429f5f93ac109443e0a2de4fb80d2939 - pristine_git_object: cf128a19ab6d7a5ea64df6d2ccda07f9d87b92f8 + last_write_checksum: sha1:2dcb6f511def08d343591a301f2f173fd4b0db84 + pristine_git_object: b028eebc7d3f98d6b95a805cfa690cc7a4da8ca8 src/models/toomanyrequests.ts: id: 78648ae9a4a2 - last_write_checksum: sha1:d52dfe1b1f93f034c4c447a44a0455bded460494 - pristine_git_object: dc081e2f83448cf13f6ca0865def6504409ce672 + last_write_checksum: sha1:b3faa3512cf5c6993393956183037660dcccb932 + pristine_git_object: 569ff3b6e1817951b387f3474a03cfa3bb0268f4 src/models/transferindomainop.ts: id: f140461e00f5 - last_write_checksum: sha1:9935fc85d7014af62f32cb5cf553bac61690d9f4 - pristine_git_object: e66b96a3493d08a6053d14f89a61a03d2e7fa67a - src/models/twenty.ts: - id: 801b4271b6ab - last_write_checksum: sha1:775557d3c9bbe407d19aa92a7188f4f6930e482b - pristine_git_object: a0a8a25112768899f63418d851ff987239792608 + last_write_checksum: sha1:2fc7b388b0ce17ce2fbe3c763d1a300b81b162d1 + pristine_git_object: cc3591ed61051b69409e530ee3dcf8d973ec0e44 + src/models/twohundredandsixtytwo.ts: + id: 3962226afc74 + last_write_checksum: sha1:c5d33526243b16a7f030ef63e06ab584308378ac + pristine_git_object: f156e5d1988df1947397640eccb9e0345db944fd src/models/unauthorized.ts: id: 32b4dfe8b9c4 - last_write_checksum: sha1:04a6a57330fe7cf58d787f61e960fdb951ec30a7 - pristine_git_object: 6e660e09d9c8924de5a4873245367522e81c126b + last_write_checksum: sha1:ba3d8afdba5fb28aea0d75bf5d8684c41f977836 + pristine_git_object: e0560d7ea08ae02240e7ed1bf136d93eb9a76bb4 src/models/unlinksharedenvvariableop.ts: id: 7f5420dafe7b - last_write_checksum: sha1:e50976fa5906c65bf417a285e8e6d6fa20bf89b1 - pristine_git_object: bdec381cd89305a0eb452024480a5012823c3d06 + last_write_checksum: sha1:89c930b091f0eb038579ca1b3b65157ef6a7a23a + pristine_git_object: c9a40336247415b8ba394187f13d2d876dd9725f src/models/unpauseprojectop.ts: id: 20f693cbc9a8 - last_write_checksum: sha1:aa06b65f35d2e5194bf4bbb8662a6fbf43ed6e63 - pristine_git_object: 86f4f580b8ce4b7e11b4c5b26134cfe4d2871759 + last_write_checksum: sha1:21cb237c81e0f60db1090fe9bab831640879c054 + pristine_git_object: c45aee814c75e513f27386a601fe7a4a2d575e20 src/models/updateaccessgroupop.ts: id: cf5f325180db - last_write_checksum: sha1:acd71a2fa6915f8580effdf9660f531116a622c6 - pristine_git_object: a18a75869d98bb80b59bb679215b68ff6f2e0aca + last_write_checksum: sha1:a9e6f553b95a2dac59b5bb29cafacc28faec78ef + pristine_git_object: 34f4ae8842245f56fc86a2013f900e0cddf0e749 src/models/updateaccessgroupprojectop.ts: id: 3e40a0c1ae26 - last_write_checksum: sha1:a12713514272a0c91768d049375f16cad3d4f418 - pristine_git_object: f6a7ee83c4eae613ac483deaec00b5e20927c59e + last_write_checksum: sha1:ec17e5d1d9728ed772825e8dd61acf82c5cfa1c4 + pristine_git_object: 979a418ffc6945841721fb889b0235b7aad0696f src/models/updateaigatewaybyokcredentialop.ts: id: 88d793d086b6 - last_write_checksum: sha1:0449e298a9088c5051465e3f59d37b73930bc8bf - pristine_git_object: 21ae9c440d9d9083dadab9bac2ac7eefd11b2e8d + last_write_checksum: sha1:e56198c003b8c2f5fa3ee0c4a4339a073751a8d8 + pristine_git_object: d666a41ab3ad1834f4b6c2b26b702340a327b425 src/models/updateaigatewayruleop.ts: id: ae6c4da1d786 - last_write_checksum: sha1:22daafdcdbe051c5ffcae79d78d04560847c4269 - pristine_git_object: 7275177ba366ce1883da2b5107e75b501217a745 + last_write_checksum: sha1:3b6702ad563400a88c576611165c26342fa3395e + pristine_git_object: 05eaba6cc99796b77779101a69d60a9177794047 src/models/updateaigatewayvirtualmodelconfigbyslugop.ts: id: 2a221d47ae97 - last_write_checksum: sha1:31ebdb62b8223409144481d09c99f82731d62c65 - pristine_git_object: 9f71f12b5e542e3738462ca65ee0e91ea525c99d + last_write_checksum: sha1:b251823036702fa8c4e9921f276fdf8765b09d28 + pristine_git_object: 66214292589d78137a5c7d5c730493946caef42c src/models/updateaigatewayvirtualmodelconfigop.ts: id: 87eac1641d24 - last_write_checksum: sha1:fb76de87179dfe65d2dc27e2bd016676e9c0ef48 - pristine_git_object: 655254f2f80ef53061d8e488a190908dc6d19671 + last_write_checksum: sha1:0e511b57c7635776ded49b8f40d9f87b22021ef0 + pristine_git_object: 0777706034631208728ddb20849eca58b9d4d4d2 src/models/updateapikeyquotaop.ts: id: e1e75f524ce7 - last_write_checksum: sha1:f6a9a46dbdbdd35c95cab8ca3bababfeb1a4f8c8 - pristine_git_object: 5e41d8a6ed31e2798f5f966b192f409e456cc2d2 + last_write_checksum: sha1:d58ba46c9104f7cdf2850b606c1781915322b584 + pristine_git_object: 1f23546fc17faed4937b55d205b31a395a65a705 src/models/updateattackchallengemodeop.ts: id: 97379410cad6 - last_write_checksum: sha1:0e0121e923a651d358cfd3529217708444cd03f4 - pristine_git_object: 2ef3a932c79db8f762d269094dc1c805611fe525 + last_write_checksum: sha1:a38dbe1002476fd7e6177b7b8ae07dd45901dff1 + pristine_git_object: 4d54567b3761097ca20c4c96a0fb91587b22d2db src/models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts: id: e7b4f34cddcc - last_write_checksum: sha1:daa3a0379b4dd305c688fa80eef0106a18067bd1 - pristine_git_object: c5cebfcdff97ccddb6adfca6398c44c27f694831 + last_write_checksum: sha1:d2ce0e21f31fcaa14ba694191c5ba68c3044b89a + pristine_git_object: 264d50a7555403b755019399237340b418e79c5e src/models/updatecheckop.ts: id: a29eb6f2742a - last_write_checksum: sha1:022c52b36645466a7118a4d7a0f7e5b2840dca6b - pristine_git_object: ad934251758336393250fedb3524f0343831e8a9 + last_write_checksum: sha1:ac6b2c8dd56de07ab75ae8cb0299066302111eb8 + pristine_git_object: 0360824bc5d8900f2ea5e84505ec15e283c4f88c src/models/updateconditionalbypassop.ts: id: bbfbdad7b28f - last_write_checksum: sha1:c46241dee6b8cc35b1e2603ac3057c72ebf25649 - pristine_git_object: 221bd655029a994d808369b916fbbcb9a94c38b5 + last_write_checksum: sha1:5a7bd670a741a271cba1186495d360a439e83b34 + pristine_git_object: ebb9b33cc854a7c86fc189175b624a69ce2bd9c8 src/models/updateconnectorop.ts: id: 0db629dca37c - last_write_checksum: sha1:777382a9a706699b30f41a608c1b63be117b85c2 - pristine_git_object: 633c33f54738058860e36a0b4750085111281185 + last_write_checksum: sha1:bfbb1e51a76feb5fc01fb7f219a020047ed46bec + pristine_git_object: b7838cc72d43675e42d2e7f326f9a184a342d24b src/models/updatecustomenvironmentop.ts: id: 5c4dbc083ff0 - last_write_checksum: sha1:143395a07b06e236231b9240a051bfc1790f5760 - pristine_git_object: 083d60d380b84a358c9a1ea7001aa5297a41f0c8 + last_write_checksum: sha1:63b7235cdf7ad7990e79a3fc69fcaa4513c5ef7f + pristine_git_object: edc5c9c08bc47de5a531c3abea82ef4f8e126545 src/models/updatedeploymentcheckrunop.ts: id: 12a259b62733 - last_write_checksum: sha1:dafe5f33f08091f8a12c964322c5c1f3c4551b1c - pristine_git_object: 13fa26c4c6191e7fa09d4d5f587608cc2b7d1b0e + last_write_checksum: sha1:7d7d86adb15ed1e3740d5eab50b6b4171a68d4fe + pristine_git_object: 2cc67b7ad16df83cb3c5a7fd6756b34660a7bc35 src/models/updatedomainautorenewop.ts: id: 09b313661a33 - last_write_checksum: sha1:cb4fee9d9138f4516a51cad1cdda7ea99d34600a - pristine_git_object: 5b99f0d5f3e27a8092cd3f6ee026d1e2b2518238 + last_write_checksum: sha1:eabff6c408efcc8984933750e63b44a05872088d + pristine_git_object: 7717d3ec3f642ac6ae89c918611175de69eb2109 src/models/updatedomainnameserversop.ts: id: 7d7002e8dc5e - last_write_checksum: sha1:d0b85fc6a1c9ba1db5a6ba476aea2d8aa67484ba - pristine_git_object: 01910ea8f8b1af673b68b444f299334a17a98a2d + last_write_checksum: sha1:11cd866e4399147123d490378c6a87fe95f10b96 + pristine_git_object: 511a0201eeb5bcf61bc6fa938de9b98d731f0970 src/models/updatedrainop.ts: id: 826f665272ea - last_write_checksum: sha1:0bc11380700d1b04611b49e467ab2157477b6ed1 - pristine_git_object: d3a00e9597a819807635846933fbe9dc1d804db8 + last_write_checksum: sha1:78504551dcb7a8626add3feee320ca523cd1f8eb + pristine_git_object: b46d8d3096b30eaf06b63ae0836db3f887b32ddb src/models/updateedgeconfigop.ts: id: aa11edeec45a - last_write_checksum: sha1:230e903bcaeadd769c58adfdefeb7d99e7ffcc74 - pristine_git_object: 73fd432eb7b4200500acc2baf1f965f71a297d2a + last_write_checksum: sha1:0d288e9713f6bb01b6d3b00b6bbc4c5e54370eec + pristine_git_object: 46a7012a5ea238d7a8192caafc03b43d33759bb3 src/models/updatefirewallconfigop.ts: id: f67bd1794fd9 - last_write_checksum: sha1:5f68902deb2295c5136bc103a7030e9dd7433b7c - pristine_git_object: 0af8113c0743de71af17f07192da7a3e2a630df3 + last_write_checksum: sha1:f233de2ae917786ed83cc258cb6f0e1611fdd891 + pristine_git_object: 024ebc601cf41d18671a5524c06458d6aa18e0b7 src/models/updateflagop.ts: id: 537f663be459 - last_write_checksum: sha1:11e2b8ac77bee0cf5180270fe773e394ae8dc5c9 - pristine_git_object: 3bdac291e703c06d3814e8841363422b5ab4a857 + last_write_checksum: sha1:d318e065724e2e8fa344cc17a61a8be28e1af9a6 + pristine_git_object: 7adfab8d844ddf56e930b9d42b5a2e014ac58280 src/models/updateflagsegmentop.ts: id: 66350acea2a4 - last_write_checksum: sha1:9f53fa28cd2c3cfc1a0d706a68d4f9766f17100e - pristine_git_object: 4946589c551c76e99ef7c8d0d09ba9814a352fea + last_write_checksum: sha1:5bdd1bc7c151db84d48353d2fbf3ee3dda6c95b7 + pristine_git_object: 610280a0b74e00b63a73cfb7ad8bb75c0200b303 src/models/updateflagsettingsop.ts: id: 647ed152fb05 - last_write_checksum: sha1:dac2632e77d827c59e1e51760891f74ff1099859 - pristine_git_object: e52c50b945b9bef91206c6e3e8926d2bd60763b1 + last_write_checksum: sha1:50d9ad2c01b0620bba5fa2d80c4a3243f0a95f75 + pristine_git_object: 54da9e0831fec92bd584c05f38e46e5347d56de5 src/models/updateinstallationop.ts: id: b46a80a469ae - last_write_checksum: sha1:0e9853e9c2650aac2d911c5026ee354008f3656a - pristine_git_object: e994a0cfef83e003dc487cdce92d6345d4a455ef + last_write_checksum: sha1:99c6a67d16466a3e3a2e76de4c68ab53246430c9 + pristine_git_object: fd839c207b7b3570a0965aa8feee1cc4cec9dcd2 src/models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts: id: c3748c7c52d7 - last_write_checksum: sha1:a7a7119e5acb25786a567b5c4fe172b8575fff62 - pristine_git_object: c8fdbec9e3c15e7bafe6685d9e3ec593742d5dc6 + last_write_checksum: sha1:285c1f41ff8d7f06395d5a1b784687d36c9d6a25 + pristine_git_object: 9c2458cd0420241ab73b221760588ea11704558b src/models/updateintegrationdeploymentactionop.ts: id: 4a8645264560 - last_write_checksum: sha1:f6b1f5c9733e6a7e2f915a8045d06e88dea0dcf4 - pristine_git_object: 6547099a3bef95b2c84eab8b8a2dddba5fbcd0cb + last_write_checksum: sha1:03af0379f713b65d473a6bd7a6147ffb9af4d81d + pristine_git_object: 7212dcf2233f9819b22037da6919cfe6d4c3e309 src/models/updateinvoiceop.ts: id: 5503308f5792 - last_write_checksum: sha1:92edc7c51a551e299695a89cdf18fdb6fa2fa9fe - pristine_git_object: c600db1c498da75550681180f4e8fe8ac89943c5 + last_write_checksum: sha1:1b8ecdc81f8842aa726c1c3bdc35844e9142f274 + pristine_git_object: 66f260ff5b336034831e78258227177f7ac25b77 src/models/updatekmsissuerop.ts: id: 1caae4658ee6 - last_write_checksum: sha1:795c6ce25f5ce7a5686dfbd0c9b3dcddf6fe096d - pristine_git_object: e787baca8941715b0300a690f3b4cfe22511fd7b + last_write_checksum: sha1:47174b707ddc47c2aa390a6508657ea807706bea + pristine_git_object: aa54c58d9312d085e36ecc6be786bd93a9552a69 src/models/updatekmsissuerpolicyop.ts: id: 1125d1c7ca31 - last_write_checksum: sha1:6b79ba45f02e6e62e1956c9e240e49c0c6024d3c - pristine_git_object: f29c839ee56990de8366032957716433b715aa53 + last_write_checksum: sha1:2a0b66f3bbc70ea50df3ddadeddfeb4c58bbbb84 + pristine_git_object: 0234e7184c6d1d40f36b252aec1ce1c0d1fb763a src/models/updatemicrofrontendsbuilds.ts: id: 3d9b8083f149 - last_write_checksum: sha1:10fba809cbbde67bf7eda23b54cc4c56050391f6 - pristine_git_object: 55df44daafb4396768f884836b4947e61f67f910 + last_write_checksum: sha1:d8ef1a8806fa7e18af29cedcac4b71fbde7e6f6a + pristine_git_object: 3ca3f8e41936286d31afeac76e925a0514c2836e src/models/updatemicrofrontendsgroupop.ts: id: 45346f6177cb - last_write_checksum: sha1:be506a9db30781f5cc861642ec655a6452e62c9f - pristine_git_object: a7fe15efa66ea4a490073fd9ddff1912c4ba4f4a + last_write_checksum: sha1:50cb516717d07383aacf40cf799d7021de0e9e05 + pristine_git_object: 43caf2e2fc7ad60e3e4b8e33c4ae172d508b09ee src/models/updatemicrofrontendsresponsebody.ts: id: c643f48dd2e9 - last_write_checksum: sha1:8685024d516efadd11e68420f762d5a4bfe578a5 - pristine_git_object: b041924816f53277e7f69c026185ef9436414452 + last_write_checksum: sha1:210897978a35fb8bb7d63bcbf76ad9aed4c7262e + pristine_git_object: 831e0dbc62f24909ca9881f49579c8a73ea7d3d1 src/models/updatemicrofrontendstoprojects2.ts: id: e8724ef14d84 - last_write_checksum: sha1:7c9233ec70bb3ad47069e901ca70a3df3ccaadf9 - pristine_git_object: 258a4abf743486de02a78a92e6eab20011662b89 + last_write_checksum: sha1:95afc529eee517372461b9d0018fcfaea1b89434 + pristine_git_object: 3dd71112cf85d7e64d22d12bb77d64bce42bc9eb src/models/updatenetworkop.ts: id: 638aef7d8ecb - last_write_checksum: sha1:48a892c315338431f24073e85ae7e5556c0ebb9d - pristine_git_object: 5246b200684e3d47e427efadc77ee5f8392d3548 + last_write_checksum: sha1:60aa60509ab75f787499b4294f74b2d21275d8bc + pristine_git_object: f5c289a70353853f9c74044f58f9d4220c38ee4f src/models/updateobservabilityconfigurationprojectop.ts: id: 292909f3f0a9 - last_write_checksum: sha1:cecfa5d0ca850b5135bfb7cc7314c198ac25187e - pristine_git_object: c97a02a81b2c9cef92c4e509221300e053690680 + last_write_checksum: sha1:6d5d920de601703bcf82caaa77fab24649f045ee + pristine_git_object: ffe86ddc821b383e2cc462ccfeeba722d5e41bbd src/models/updateorganizationop.ts: id: 3a20b019ba39 - last_write_checksum: sha1:060def58ce91c71f65320566b281613417e61a58 - pristine_git_object: df68937d9239dc1bde2459bd177260c911ba431b + last_write_checksum: sha1:95ed526bf96da80c09730ad4626b4ab850921059 + pristine_git_object: 6480fcecc362ec19b2819a0f70cbb74bd5bc21c1 src/models/updateprivatelinkendpointop.ts: id: 9185299b59c6 - last_write_checksum: sha1:152f2195d53a958fe4ff801bf033a9430c9edc40 - pristine_git_object: ce3ba8be21925e9134cda27b85799a261a9799f6 + last_write_checksum: sha1:d0bff410e5dfcc67c045dfbcf6ae15b961b8790c + pristine_git_object: 7f48e9afe440a042cad986cfd2441bc86b0fe49a src/models/updateprojectcheckop.ts: id: 66062ac4f92f - last_write_checksum: sha1:b187a6477cc149a848eecc5b7589d78c4a66e2f7 - pristine_git_object: 4efe0923a12827a24704daeedc988652fdc1eae7 + last_write_checksum: sha1:3fe884f3df3e09f9b533e176025310a615f0c96c + pristine_git_object: 952a59cfb30d173c902ec22e7becbec259d63bed src/models/updateprojectdomainop.ts: id: 7b150644a02f - last_write_checksum: sha1:7c5ea23b924e7fd04785e892f97a1791004fb82c - pristine_git_object: 0a2e1163d59b7bd6e274320737a236dd1decf801 + last_write_checksum: sha1:c4ab611ba3fff4e3ed730028569b4bca3a9f5bbb + pristine_git_object: dc85ad2227d678838446055b3d68ce8179b272a7 src/models/updateprojectenvironments.ts: id: fda71268907f - last_write_checksum: sha1:79943a23daea89842bb4ef01ce62c2138008e70d - pristine_git_object: bacadd17eebf2314fa61efd724026dba0ef0fec8 + last_write_checksum: sha1:8f30f6b21721d086166d1970a031954368879296 + pristine_git_object: c57802385a35d7e031ffece6fc12817f313e359d src/models/updateprojectprincipalvia.ts: id: ef0c3f99af94 - last_write_checksum: sha1:1c6d06f297efa53df2ced989324a9be054f5e671 - pristine_git_object: e61321f64fd56a4a53f29ce31008be64e16a8363 + last_write_checksum: sha1:36ad6703a65512766deba036dadb1ad96ce13961 + pristine_git_object: 48da740c39134ef776ce615bf65a8bfc18a3cdaa src/models/updateprojectprotectionbypassop.ts: id: 057a3085e003 - last_write_checksum: sha1:02fd548aeebd666a1c41944c694e50a49dbda57a - pristine_git_object: 3b87ae87db8cfd9768766fdeadf960a36b9ec058 + last_write_checksum: sha1:482377f7225ecd8fe010271e85a8a64e62518a82 + pristine_git_object: 2fc7c1940ad92dab472fa9656c5c81d4a9e4d015 src/models/updateprojectresponsebody.ts: id: 0c6e3f66b817 - last_write_checksum: sha1:be49f416cedaf144680967cdcf8b46f34853e999 - pristine_git_object: b5acfcbcfc484d0482433c848338f1a9b0caa384 + last_write_checksum: sha1:50d014b1b8c7681c70d0cbf2ed638910cb2606fd + pristine_git_object: 18851e7da6ba27c600b08c060b7e372640e41258 src/models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.ts: id: a2531c490d1f - last_write_checksum: sha1:126cb65b91de7d7d64bb6d68478e3e53d5fbba3b - pristine_git_object: bacbfa4cd57b3376db0696cb0931c486cab390f5 + last_write_checksum: sha1:5a63e940101d08f901fb7195cf1eed0beead6d9e + pristine_git_object: 77fd31ea8a1e5f63402f52b54e98430d521bacde src/models/updaterecordop.ts: id: 2a9e24bca6b0 - last_write_checksum: sha1:51ac513d8d157467637cf97e6912a0b1027e87fa - pristine_git_object: fb038bd4cbfd8f21e15e609507f19792a64720db + last_write_checksum: sha1:b90deaa9b9143de4a887f9053fd4aac678e9903d + pristine_git_object: d2c527ad3b5e8f0d5fae04e59a00ccc2ad67b43a src/models/updateresourceop.ts: id: 5f5878e11fd5 - last_write_checksum: sha1:f2168fa403ea196edc212a47d3385f09fc94fdde - pristine_git_object: 57107a9c1dff4845c2d83aaf85d9265f22212f1e + last_write_checksum: sha1:3c0d11683b450a50a19c38e823494ebb79c867a7 + pristine_git_object: 52607276e975b94bc5459898bd5986736da113fd src/models/updateresourcesecretsbyidop.ts: id: 549ebc1b6d36 - last_write_checksum: sha1:e658bc4c1a64fcd56c5c67a4c17c634dd8b76696 - pristine_git_object: 8fd50389ab5a712febab4f596f347d08df39f7ca + last_write_checksum: sha1:5b4d234697bb22f6bd5da4ada21ec695732e2326 + pristine_git_object: 61fefeecd40a858d95c2d560629149ae9dd6f48a src/models/updateresourcesecretsop.ts: id: e34781b422c1 - last_write_checksum: sha1:f9854ce6fd9931fb25033a676004b020bf5ed0f5 - pristine_git_object: 943f417699d6135b1def02f653c6bbcaf823049c + last_write_checksum: sha1:4e9413a40c48aab028bc3b1ed996c25f783da917 + pristine_git_object: ae38d21efbab8a6e0373fe99b98696fa9032c60c src/models/updaterollingreleaseconfigop.ts: id: 7a0841d0f4a1 - last_write_checksum: sha1:4c495b6d63ef00aed17b26cba5680bfe07782e5c - pristine_git_object: 50a4ceb25d66ee117fe3b2572ce8275c9eb40d92 + last_write_checksum: sha1:4d47e33cb7d2806341783aab3d8485f033ca8f67 + pristine_git_object: 507d931fe4038bacaabb4b770e5753545278167f src/models/updaterouteversionsop.ts: id: 61727197e759 - last_write_checksum: sha1:70fe58645dfaf5e9e705c19c04b48f0554bc0b4e - pristine_git_object: 480fa872f0c9b1ca41cc92c9303ad08434a62d1d + last_write_checksum: sha1:b7f8e6c956b34159cefa97fb009a9295c2461c0e + pristine_git_object: bddf42f9a0f95107a3b5329e279cf787128297e5 src/models/updatesessionnetworkpolicyop.ts: id: 7ad302f9fa1c - last_write_checksum: sha1:780efd092e990de3694dbe8ece7c305ccef63f23 - pristine_git_object: 58ebd238a8ac88a4502c87c9c4403f6577ab2abe + last_write_checksum: sha1:7b035ac5b290d59115f4d89cc22760698a063702 + pristine_git_object: 477746f8de1ff246db6f9cc5dbcb461e2b109c98 src/models/updatesharedenvvariableop.ts: id: 5b1c924df7b3 - last_write_checksum: sha1:93832b7c790ba207aa2eccea3089415d9899dbdb - pristine_git_object: eb9d2190454d5837830aced16903b42c0f831c71 + last_write_checksum: sha1:cb5b7a6d43f738af426589d0bd01c5609df7b6a8 + pristine_git_object: 2ff436b6fb08e673200392552af0fa6b102aa8a1 src/models/updatestaticipsop.ts: id: 3827fb9b6320 - last_write_checksum: sha1:87285f09af601fc2b31cf4b8ec62c2eb3f6bc993 - pristine_git_object: 44ac57a278da59f092a7f9c8d15f7a3e2f6414de + last_write_checksum: sha1:f5472ade218387e29f6f5c3627822b7203b7c629 + pristine_git_object: 2de62a285e4a480f75a0c61f32d5ec5961526d49 src/models/updateteammemberop.ts: id: 87fcc006d9d8 - last_write_checksum: sha1:04ceff2438acb1d56f86f8a22ca7db5a98a019ef - pristine_git_object: b9ae2cf1a949891a89b5df61d4139bffcae7eb21 + last_write_checksum: sha1:ddb8d2a90fc4896ad6d159e87b1836206daf96eb + pristine_git_object: 1dd2962b44c8f4f68b6a4b61dc30930e1e32122e src/models/updatevercelcirepositorysettingsop.ts: id: 0737b94b93b1 - last_write_checksum: sha1:a2ec12e3aebcf6058a0be0348beb696b54744a34 - pristine_git_object: a4bf8525dfae8ddbb4a6ee640abe632cba929479 + last_write_checksum: sha1:98b5c8bb398f188491e9005730406307e1eb3918 + pristine_git_object: aff700524460e4a80bdd3bcbddb65852f1d31604 src/models/updateversionop.ts: id: a1db604497e3 - last_write_checksum: sha1:928eb73793a730c9c4c7c0fb3233482d7f207db1 - pristine_git_object: deba8dbf084bc0df9f1cb6db2e36d947ba5bb462 + last_write_checksum: sha1:56f4d24f814584ddcb02a16913389709a32ce57c + pristine_git_object: 8dc3e978ff274c0330902ee2c7dc462ef79fcd4d src/models/uploadartifactop.ts: id: d19599c22c7e - last_write_checksum: sha1:a56a6f7c02ee64da7789451c7aef767616f3b622 - pristine_git_object: dbfd7ec0089e020fa423e33586bb879dfb8d8843 + last_write_checksum: sha1:40dfc83c07d0d3db2c048411e908964b29aeacca + pristine_git_object: b16137b7463518d71af6a7966f59a480afc8e08f src/models/uploadcertop.ts: id: af2ae55a55ac - last_write_checksum: sha1:bfb63f3488abb6deba93a6f0f705cf903e26f921 - pristine_git_object: c60b8fabf7798cbfa5309d3e0371b2e8c9d8951b + last_write_checksum: sha1:97cb64c1b09cae339929c2aba90a73a5523eff67 + pristine_git_object: 8b3aba940d1619bb448d500229c5930eab9b1360 src/models/uploadfileop.ts: id: f3a3e42647ac - last_write_checksum: sha1:eb7ea7ae226ea514116b647386f1b41ff2d94ba2 - pristine_git_object: 28e6209a494d74190d1450e5c4e74571933d0cf7 + last_write_checksum: sha1:389b52f5fbe5dd0fbc2fbb297e36249672eadc5e + pristine_git_object: 24259455385391e8596da188007f1a139bb672e1 src/models/uploadprojectavatarchecksconclusion.ts: id: 43923306bda0 - last_write_checksum: sha1:a40167d452ae1495f7b95597d4829c0cd42d96a2 - pristine_git_object: bfcd0d07b1df7f308bf5df7cb5f3fdff10feefa3 + last_write_checksum: sha1:118408ff8fc6b07d51cf67fdba159a8fbb73bb3d + pristine_git_object: 1f85ac04cc34ea275c23cc9cedb120eb5e1e81f3 src/models/uploadprojectavatarresponsebody.ts: id: 364355a2d601 - last_write_checksum: sha1:093cc75574aa09a575e4fdbc85b6cf1cad1ef145 - pristine_git_object: c508c97950f946f395abb57f8b3b4c0396bb5f64 + last_write_checksum: sha1:90aa3a684cb41a923faa05653cbc3448585ad321 + pristine_git_object: 45cea44ce4b1e10ae78d250661258f332478e1f1 src/models/uploadprojectavatartoprojectsresponsepreset.ts: id: 82bd5241cfdc - last_write_checksum: sha1:21a9912655d553e8446b52d57bd15f55eff0e3c6 - pristine_git_object: 7a71f26035ae05ffddeed963716b950c6e546956 + last_write_checksum: sha1:3bef8045889174692935825408e0f91e5b814702 + pristine_git_object: f7ed32de4f41ce36765c5f51fcab94ca66a44bec src/models/upsertaigatewaybudgetdefaultop.ts: id: 45059591a9fd - last_write_checksum: sha1:0249ca10a68801d157294b428c17ce5ecc7f9398 - pristine_git_object: 86eb9aa7743a73b3051721e0ef8928da1ed09932 + last_write_checksum: sha1:08f50a3757f4194900d19779248ae2e551a8466e + pristine_git_object: bc89905988c97587b9e4cd4296e82bf97d83dbcf src/models/upsertaigatewaybudgetop.ts: id: ff5f75b643f9 - last_write_checksum: sha1:6509e63f749b0d8e8966581ec0120ceb1f8f7dab - pristine_git_object: 9b942a69095c44583222ec5c0f372a5eb17e6af1 + last_write_checksum: sha1:08011b758df7d35ca3f6213e2d0b5cd6cf0fb4d1 + pristine_git_object: f895dcac30af7bceafba181f4ed262307e592b17 src/models/upsertconnectorprojectconnectionop.ts: id: 131a5919a8d5 - last_write_checksum: sha1:1f056d41e29f3255ad3c1db09646d6b182ef988c - pristine_git_object: b4751fe0cf18eeeff18973c45a47490b7ad6ef4b + last_write_checksum: sha1:a2a8b3a9b035f51734d5af2637c041020c50c9b6 + pristine_git_object: 5f8cbbbf512ebbde23ef981fd864621f6a2555e3 src/models/userevent.ts: id: b4ca51647dbd - last_write_checksum: sha1:6817a4f98d5dba67ef93994aa4922f32f5dfde87 - pristine_git_object: f8d4134483e17d5fa4eecb815c9bf76c733e90c5 - src/models/usereventjobpayloaddeployhook.ts: - id: 129742ea946c - last_write_checksum: sha1:f5bcf488a16fb80be3e3dd6dd2c46e62542366ea - pristine_git_object: 34f6b5eb98b3c62bed7873767957d76cb0ad95f9 - src/models/usereventpayload317type.ts: - id: 65433b4ecc45 - last_write_checksum: sha1:53baf34d1d5150d38ec363bc060490c56d82a24b - pristine_git_object: be627094c7f9e3bc800dae5810cad110d61049c4 - src/models/usereventpayloadresources.ts: - id: 07b80d8b4f42 - last_write_checksum: sha1:7ad4944e81d8c4ca7f1812081984e573e60330e5 - pristine_git_object: f677aff6bfd94a87cedd7bb02600ad3a545617bd + last_write_checksum: sha1:d46b1668c5c132361e771223c9119210ae98e97f + pristine_git_object: c4dff80aafa0c7dc99124a2c20e7ee61c925eee6 + src/models/usereventjobpayload137gitcomments.ts: + id: ac3d94ed47d5 + last_write_checksum: sha1:afc9e0c3281c6b332d7ae64ae716b771930ac2c9 + pristine_git_object: 7531dc4368f304af1341462d33e17ce701484b26 + src/models/usereventpayload25provider.ts: + id: f800d90d2998 + last_write_checksum: sha1:9b7665a790099c1e6a63ab1ebecf3bc2c14161e1 + pristine_git_object: 4e75549bb1e947ca682727e876619b1dd44bbe1d + src/models/usereventpayloadlasteditedbyprincipal.ts: + id: 8e070a0df949 + last_write_checksum: sha1:3b595baf971e8a12cde45b29df530bca69238243 + pristine_git_object: 08beb363c839d0340bdf78838a03bb81b0022768 src/models/vcrimagedetail.ts: id: 753754599e9f - last_write_checksum: sha1:7f697b9d71f8fbd0780bb46e102f4777a80a435f - pristine_git_object: 6d47807abb4e3cb2187385ea4dc907b565dbf800 + last_write_checksum: sha1:26a0cb6c824ecaad499745855d3d56070763be20 + pristine_git_object: eea8a34f58302ddca41233f44be9a9df66342168 src/models/vcrimagelayer.ts: id: 0e17db1c6c2d - last_write_checksum: sha1:47f5bc13023ae5192fe9f0c457f69999e75cdd6f - pristine_git_object: d6231b2a879fcf1088ae23f9a928f9b39913f024 + last_write_checksum: sha1:f7d715668a02bd44eb4c98276b85899d1eff6812 + pristine_git_object: 7e302abf71f0fc2dfa42c9f8458a0158aff95b10 src/models/vcrimagelist.ts: id: 13b71bceeba8 - last_write_checksum: sha1:791a4ca44b1bb21a38591df8dee3e56f44ece66f - pristine_git_object: d3033c42c0fb52924b513d078d0c45cbb997c2f3 + last_write_checksum: sha1:e19040c9a9d51ae9bdcdc9313fb169314a2f28d1 + pristine_git_object: 5db67ed74c037cd133188526e365dd7ef2083de2 src/models/vcrimagelistitem.ts: id: 6baa69a04f4c - last_write_checksum: sha1:1526003599bf563c479dca9f008e8da83145bf55 - pristine_git_object: 7d2de12d916c92d9a4d829e4f1056a6e1e3bb1a9 + last_write_checksum: sha1:d11a73cd0813fe121442246944943fe606da5f89 + pristine_git_object: 26201ea24089ca4b26558900087a4e33a15aa77e src/models/vcrrepository.ts: id: d41e844b73a8 - last_write_checksum: sha1:a0ecd7275374450a64cb322d9ff96843f1b85257 - pristine_git_object: c32c63aad4ed8c3e41b1d30856bdeb469d30be9d + last_write_checksum: sha1:3a3049e67c5cd187ff1b97b1874dc0ad56abba65 + pristine_git_object: 899941a05bd0f73fec2529ea8074de667bf97502 src/models/vcrrepositorylist.ts: id: dbb10be7a5bc - last_write_checksum: sha1:4801ee0a8d86ac186a91a9cba7d36936652f57f3 - pristine_git_object: 3dd6287be91d16bc374fa3c5b3a93d6731026de5 + last_write_checksum: sha1:08474d8f010b9d2396bf5aecb5cb023b39c66e0a + pristine_git_object: d87946d1e3d4a86779bd423221b4754eeed90541 src/models/vcrrepositorypermission.ts: id: 67a35521b210 - last_write_checksum: sha1:4b83bcd204c2c00c8cb53e5278b9c952e05826c6 - pristine_git_object: 4fc7b6a324045c83fa548767b3b3a3783c8df4cb + last_write_checksum: sha1:f86649659a86e1bed185de2dd877a9a4f6bbd619 + pristine_git_object: 977b72252224290976c7d2c27f697d5af3ac8a00 src/models/vcrrepositorypermissionlist.ts: id: 0fa0ba9ae36a - last_write_checksum: sha1:44013f1bbf76409430c5519b873e979516c2ec7d - pristine_git_object: a17bc6a45669fe7abadd8644f4f150e8285a194f + last_write_checksum: sha1:1ee994acc1b35dbf4921d9001dc35702b3523138 + pristine_git_object: a016c87d091dff0e79f31a91745bd8e1fe662469 src/models/vcrtag.ts: id: e15c1c0b01f0 - last_write_checksum: sha1:f044cb848bf35451a82cd43eebd8e109b7019668 - pristine_git_object: 448bd1f0018bd11ccd0b7077f39c3572636108fe + last_write_checksum: sha1:b19af0f26a1118759ef5edc4051929136157acfb + pristine_git_object: 895a88f1a39319bf9df4870773fbb00b9348420e src/models/vercelerror.ts: id: 499c3e00b8f9 last_write_checksum: sha1:d90ceb470a342bbccb11a2162037771dd91fc678 pristine_git_object: 20165fa198b1195a4e3b1c6d54561610391d78f4 src/models/verifyprojectdomainop.ts: id: 044da8f425c6 - last_write_checksum: sha1:61cbb16f88ad7741c7391ad6730475cbffcc506c - pristine_git_object: 728b7d97c459de4719ad538d84575964dca7c2c7 + last_write_checksum: sha1:3c8da6bc5091feed1f3e9a25ee1e317202858b49 + pristine_git_object: 60d36b792ad0202b0add10b3aafae16f25287533 src/models/writesessioncommandstdinop.ts: id: 4053220bc9fb - last_write_checksum: sha1:a86ee003d6ac91ec9e15282c5a45725eb1944f6f - pristine_git_object: 9b5f92af5088166c8048df28ac62d265c0fd0758 + last_write_checksum: sha1:1afd7a9e50600f2268cd93fc5f1f51c216af139b + pristine_git_object: 70b9693f6e63a997d40775bb700b8b4ba73e9e96 src/models/writesessionfilesop.ts: id: 3a67694aa96d - last_write_checksum: sha1:8d71234cdef36fa81bc551426a534a99ef1e7bda - pristine_git_object: 2bfdd48ac3982521109e5ddea0d1b667fd84c6f8 + last_write_checksum: sha1:6690b7ee357de4c175e0f486978784cd3e8beea9 + pristine_git_object: f556c0dde97850c5c0baf0f08450490f635c7e21 + src/node.ts: + id: aedbe4eb1617 + last_write_checksum: sha1:e8cd7a8747fa92dcf81cdfc28a4c299b9d933257 + pristine_git_object: a2a4d02918e8770796e5fc1649aa26a45789ff05 + src/sdk/accessgroups.lazy.ts: + id: ee94bf880ae0 + last_write_checksum: sha1:a778ded1d6d5803b0f85d3fe646d9309301ad153 + pristine_git_object: ada7866961d53397563773a2c8c42733b3e6fb42 src/sdk/accessgroups.ts: id: 4abe9fb358ff last_write_checksum: sha1:282a9326be8ce2dffbdfe529c0096c3d235f28d6 pristine_git_object: 2dadd55cdedc3d8fcf55cd7d57719873200673af + src/sdk/aigateway.lazy.ts: + id: 24b29e1ce141 + last_write_checksum: sha1:fb66fd7503259f2fa1fb0dd73b0d15c2ea2e20de + pristine_git_object: bf3d4d1b2aeb16f3a602276bae83cfd071dae1e8 src/sdk/aigateway.ts: id: 121c10628ad0 - last_write_checksum: sha1:f11abf24eca67cd28ec30d656cdb57c1dc8ce7d0 - pristine_git_object: e6d4c5749a2d0fb5eb6316fcb927b6b0b99a6587 + last_write_checksum: sha1:d8e4b4670a4d18f06661bbfa34d0335b653ef120 + pristine_git_object: d0c9336d0da6cabeb1e8d7cdd573997af2d3f71f + src/sdk/aliases.lazy.ts: + id: 65922fa3a2e2 + last_write_checksum: sha1:2fbbe0770d802cd1533fcfd33d476b72fe970d81 + pristine_git_object: 35c09d8fe2b5571b9dd131f9c79db31797e28079 src/sdk/aliases.ts: id: cd5492c3d1c0 last_write_checksum: sha1:ba5acd84817d687cad3acfd3903ac3cd7bfc53ea pristine_git_object: c5a9eeaf716a11b2a3c7baddb4c34b53ae0b31bb + src/sdk/artifacts.lazy.ts: + id: f25d1af3b58b + last_write_checksum: sha1:a012f1c98be316d6ce8d06c67640aae218eb8f6c + pristine_git_object: 09e9e3c3026fcb0e154b6725eac66bd0e5287586 src/sdk/artifacts.ts: id: ae0f448ff334 last_write_checksum: sha1:24236eef8cfcd65452145a2f1bfdd0850e27bd70 pristine_git_object: 12a8912b1547d6adb3625a5df8ba69c9ff586f66 + src/sdk/authentication.lazy.ts: + id: dc85fd5a1792 + last_write_checksum: sha1:3bbffa098ea4cc3f1b8191943c7cf27a5501444b + pristine_git_object: 0ac67134fc55c7a62d1c787939e51d1b145c8596 src/sdk/authentication.ts: id: 627e108b9d4b - last_write_checksum: sha1:6ac41e9caa3b85b92290c5c6803140d629550767 - pristine_git_object: 83316218d43357289cb9a6ee65256bbb056c08b4 + last_write_checksum: sha1:219930f037d3a3db5a70b2b797241fd0df7ff73e + pristine_git_object: bda38c11113121993eb2a955ca3114b86cf4800d + src/sdk/billing.lazy.ts: + id: f32c7fe6b900 + last_write_checksum: sha1:02571048d25efecfcaa2ee0a74212becd198c394 + pristine_git_object: 9d13e11dc0520a1db7a4733201b774e0aa5be847 src/sdk/billing.ts: id: 10905058c4ad - last_write_checksum: sha1:1e12ffc1c1f8ff6b050a38a88eddbc4da9c861bb - pristine_git_object: b68d21c64613ed911a9cd599d793ea63cb995d13 + last_write_checksum: sha1:bbd37e4a7973596195608a058f0e4d10ec54e22d + pristine_git_object: d7dfeae933ae0dd8debddbc8a1f1f7e5777b60ba + src/sdk/bulkredirects.lazy.ts: + id: 97b029ea4509 + last_write_checksum: sha1:ffbcdef6c086eaaef6e1d6f6a7d23150fb986510 + pristine_git_object: 7ba38b30a557df6f8b76c1b7b420dbdf9b47d5e4 src/sdk/bulkredirects.ts: id: dbfd3e75ea9b last_write_checksum: sha1:ba3ebae904f2daa542138c2a394dc65fbc2384db pristine_git_object: 66f2c2bba6011fff8d77a768f06b08ed3557b8b3 + src/sdk/certs.lazy.ts: + id: 099659ec3bac + last_write_checksum: sha1:0e4ceffa138924ba757559c011da6779e8ad51c3 + pristine_git_object: 1dec2a684cee91b4f39e600e0c55929fbc77db52 src/sdk/certs.ts: id: "129250639912" last_write_checksum: sha1:05237bdbb87a9a0602477e77e26aa6a2189eb8b8 pristine_git_object: 5db3d85ae99e42e5b1acf3b558814dc2b929b4e0 + src/sdk/checks.lazy.ts: + id: 8ad1d4d0222a + last_write_checksum: sha1:11c0a7bafab846bc672267735ccf350e461858d0 + pristine_git_object: fe6933b3b92ef9a9b974392eff1842469deda81b src/sdk/checks.ts: id: 8787609116dc last_write_checksum: sha1:77fd543c7b1fa02944507bbe2b4d09d6fc9c4131 pristine_git_object: d6e05a50549717a40bafff43f9c361a20a8b3c01 + src/sdk/checksv2.lazy.ts: + id: 25c39c4149da + last_write_checksum: sha1:a55cc8408e6d34287299ad269a82131f235e37be + pristine_git_object: a9b5317b9cd05de8f4f9b042e9570303b6c46fe9 src/sdk/checksv2.ts: id: 673529fa4a0c last_write_checksum: sha1:e661af640ba25e43aa39e891a4536dc567c5ac80 pristine_git_object: ecfa635876baf2c650d51c9e244151841acebc52 + src/sdk/connect.lazy.ts: + id: 99e132c07887 + last_write_checksum: sha1:e52da1491f2026d97b0af21b5ad7cab01887c5ca + pristine_git_object: 212900a672998419d0a39e636b14768c672d18aa src/sdk/connect.ts: id: edb1d7d01416 last_write_checksum: sha1:812833f7ca28fc52c1844cf1a5208a716113a849 pristine_git_object: 4ce34f9250f73f72d6cbf3ad23fc574f328fa2f3 + src/sdk/daemons.lazy.ts: + id: 689bbc1f729c + last_write_checksum: sha1:d32a3b1549bfcfde61274dd428db3598c99c9ac1 + pristine_git_object: 5648e52fbed8ebdd3fbdee9669f2cd5757612802 src/sdk/daemons.ts: id: cc8533123bc6 last_write_checksum: sha1:ad95d487a50b7fe0098521adcc16661199c04714 pristine_git_object: 5773ff763fc9499de6f485e5934308a768da71a1 + src/sdk/deployments.lazy.ts: + id: f35b7fbe543e + last_write_checksum: sha1:058e589cc165233e50a6271b061494f2945ed7cb + pristine_git_object: e198326d29837d8d904c75e77b36a062e801b993 src/sdk/deployments.ts: id: 80d6fb28a717 last_write_checksum: sha1:5380950d11e252dd0f945935021236c6c1d954ed pristine_git_object: ccf53b8150d8d4dbd06e56e6ff063bd2fa45c7b4 + src/sdk/dns.lazy.ts: + id: d78ac1d0faad + last_write_checksum: sha1:4631fb71721919c945490ec8b1c075fc94cd3e11 + pristine_git_object: 069734869b2278b2e5bf642f7b83e8dd1a560684 src/sdk/dns.ts: id: 4531c44dd835 last_write_checksum: sha1:8bcb03f14389bf30b2bb736b01a2523544c842e5 pristine_git_object: a53a1d4a25186a3824bcf6ee7cd3de21b86b939d + src/sdk/domains.lazy.ts: + id: 4074bdcc5d78 + last_write_checksum: sha1:a304b7c1a1c74689a22f884ed26c19bb25abf51c + pristine_git_object: 1404c40f63622cacdb762623aa1ea814ea183109 src/sdk/domains.ts: id: 70955e5c763b last_write_checksum: sha1:15bd1ca8263fc88d443b58f924902febbbbf0535 pristine_git_object: 1236c6f01e766c7bd17402e4e2d59fe4391ea8db + src/sdk/domainsregistrar.lazy.ts: + id: 2016c1490b42 + last_write_checksum: sha1:41d9e3ea698b6d2b74e1c4d2011c09c600e2f597 + pristine_git_object: d44d61cbba6f45505f93940b1f0f87aac0d4f05e src/sdk/domainsregistrar.ts: id: 56561f84dc40 last_write_checksum: sha1:890df806806a02209ed048e0471e3ebd50ae6361 pristine_git_object: cf44e2b5525490da41e9195c74857cdaf32e08e7 + src/sdk/drains.lazy.ts: + id: 7b82e3c7e1cb + last_write_checksum: sha1:b09c9075b0642946157cf1d0262825a47168bf88 + pristine_git_object: 24ccfedfbee91ea59273b9266f7b3a8568456963 src/sdk/drains.ts: id: 5b7cdd98ec7b last_write_checksum: sha1:ef6da6fca27596dcd53a3fe6c818501e19b597b3 pristine_git_object: 211ff17ee5394dbfbae5167dd14d359c92a8d4af + src/sdk/drives.lazy.ts: + id: c853af68818f + last_write_checksum: sha1:897bc7905a9425cbac69a099b17aa33abc9ce29c + pristine_git_object: f11b4e79542bf1724cb63cef19e149856996dba5 src/sdk/drives.ts: id: 5885578ff61b last_write_checksum: sha1:1b87e13f057005d7f90cc0bba32e4eb42a1cf81c pristine_git_object: b232fda941a5d6cbf0caf1ce90b1d7d34a627b2b + src/sdk/edgecache.lazy.ts: + id: fc5ab08726f3 + last_write_checksum: sha1:b82d46cb66bad214f56499ce4fdc0cccdb41c2cf + pristine_git_object: 79fb1fa223f393f7cb62be60b63f4a12c34e841e src/sdk/edgecache.ts: id: f49e100998f1 last_write_checksum: sha1:b95fef82a79f2aa56a9708b3dea727084b0d6b3b pristine_git_object: f073bc87226935a94dcd975d24153eb7665b255a + src/sdk/environment.lazy.ts: + id: 81f764b4a897 + last_write_checksum: sha1:1fea39384d5fe5d7f346de770188b8d15a993f92 + pristine_git_object: 0cc6c7d36f50cf6648e482e11bbc5643e582984a src/sdk/environment.ts: id: 1a8ea7ce364c last_write_checksum: sha1:b88621fa7f4cc2614f1065a0354ac2f07593c217 pristine_git_object: 9d80c2274c1c8ada54dd62361d45e44413c18773 + src/sdk/featureflags.lazy.ts: + id: e160460da2c6 + last_write_checksum: sha1:e8e3a6b3159b4292590748938e020aa7e3926ad0 + pristine_git_object: 76d94669f4741b36f5992980b646b3522bc64bac src/sdk/featureflags.ts: id: 8364e339b966 - last_write_checksum: sha1:8fff8526814ba2e719a65eb854039578ffafe2c3 - pristine_git_object: c6d29e60a149bc2af0e5327df064a608d75d4283 + last_write_checksum: sha1:3efe5f64b5f6e051ea0fb5050d25b0b397b76070 + pristine_git_object: 821db81c8dbe8c730c35d2c4fa7df46c9ca8d955 + src/sdk/globalconfig.lazy.ts: + id: ccfc1c27be37 + last_write_checksum: sha1:5c4c6825e1557327b7323ba149362c000e404a99 + pristine_git_object: d560ffc0321dc2548026930e618479433e4739ff src/sdk/globalconfig.ts: id: 027d0a1bb9f9 last_write_checksum: sha1:1bbdbc690fc38c86ec9a2963e34a8dc0fc5c6ba2 pristine_git_object: 17c9711cc004f037e7d97039ad100c941e921100 + src/sdk/integrations.lazy.ts: + id: a2c2c156e887 + last_write_checksum: sha1:dbbae09c01f828a9ded63f27c50c0078cd5e2177 + pristine_git_object: 54187d5bdc3683294d2795f143d8a89840669b03 src/sdk/integrations.ts: id: eafed585af5a last_write_checksum: sha1:fee05a644da678ad3236ea0bebf6d80a46cafefd pristine_git_object: 99cc6e6c8fcbbe3fcb4f48d6297246a76e39ba3c + src/sdk/kms.lazy.ts: + id: b7febd32f883 + last_write_checksum: sha1:575adc44a05d3b9e78007626a7253085bd596787 + pristine_git_object: 83f62accd0f23cfac4769c882613c2d6e65153dd src/sdk/kms.ts: id: 732e7f518ea3 last_write_checksum: sha1:5487ece77a8e8544364ddc42c23d26dbadc85b32 pristine_git_object: fa66e827552d71971ae36eaec729e55ad19bc0d7 + src/sdk/logdrains.lazy.ts: + id: 9572e17cd322 + last_write_checksum: sha1:f86924657123215f1a4f67b391bc637c9cca2d22 + pristine_git_object: 6f7e2785fd4fff37296da98d3349f9b0f31be7cc src/sdk/logdrains.ts: id: ef63fb85dab9 last_write_checksum: sha1:3bc92dddafed4675b083fa20b73f7085ba93963c pristine_git_object: ed56a4d8eba735b475f84c970aaec653189fde7c + src/sdk/logs.lazy.ts: + id: abdb0b289f10 + last_write_checksum: sha1:1dd646f57d5e75a5cf51df101c50c0c0e647c5ff + pristine_git_object: 810b516b19cca78fa9feed9d4941da15d2492113 src/sdk/logs.ts: id: afd742eb07fd last_write_checksum: sha1:b2d80013d104600dc17872edac232091d9fec96f pristine_git_object: dcad3a0b736f3c030089dd8c5e3ac87225cf59d1 + src/sdk/marketplace.lazy.ts: + id: 28d2564f402c + last_write_checksum: sha1:d81307005636ce69bf0692524d51b6254378d001 + pristine_git_object: 388d985b090a1788a16289501a641a4818828b3c src/sdk/marketplace.ts: id: c84f786c12d8 last_write_checksum: sha1:dae2e8448716646fd361970146cca0b12eacaa8e pristine_git_object: 3a26d4ba62cdf593c24505b8ff8943f89838956c + src/sdk/microfrontends.lazy.ts: + id: 39b3856d7f04 + last_write_checksum: sha1:eaa5a2b47606caef275f66b28422117390dea58e + pristine_git_object: c0cf96932bb27d1a8300024b02f93e67be5f4294 src/sdk/microfrontends.ts: id: 1b246e52f634 last_write_checksum: sha1:975065deaedba3a2653c5a142fb25b40452ff2be pristine_git_object: 867b73332411624f292a749e8997d3152777cf8d + src/sdk/networking.lazy.ts: + id: bbeb70bc5c50 + last_write_checksum: sha1:99636a70a22fb4622f2d5f172b136874912b48fe + pristine_git_object: 9858c1d60df4e0d9a69e8f9bf3476bf1163a4080 src/sdk/networking.ts: id: 9978adc25f9b last_write_checksum: sha1:c5c50f3fcca9476d13e83cdffe15d6ea15e80aec pristine_git_object: d1ae96fd5accacfc0e7a792b7bd23b712523068b + src/sdk/observability.lazy.ts: + id: 41e76dc04c68 + last_write_checksum: sha1:7190874467dfddfc2e5747e24964bdf0288fed7a + pristine_git_object: 3ddaa78715ff5ad37376b1454707b91f0b6fa46a src/sdk/observability.ts: id: 9c0e070af33d last_write_checksum: sha1:720d52228b296a04f7538cd98d254b9ff958aee4 pristine_git_object: 0e3a2fdc4fa8b08ef31c33b7f2dda386b566e7d1 + src/sdk/organizations.lazy.ts: + id: 228698896b14 + last_write_checksum: sha1:02fc1006a44d9eb6d6aefd612889fe8fec72d6c1 + pristine_git_object: 2f1b3c7afbe92d73448974d467f384a18911a055 src/sdk/organizations.ts: id: 727404ccd4e9 last_write_checksum: sha1:b0ce1cd2050b424260f9a08deb74eb94517d6d57 pristine_git_object: fe52961c541518a5541535cdbb01795395a64963 + src/sdk/projectmembers.lazy.ts: + id: c382dab60515 + last_write_checksum: sha1:7341ce47c76ddce13a4ba94c40031f0e8980a798 + pristine_git_object: 83f6db47b1687299c3bec62c47162800b3fc90a1 src/sdk/projectmembers.ts: id: 9ccb730b5edc last_write_checksum: sha1:bed119dd0b8300561cb8ec5678a54290d73bb3d0 pristine_git_object: 05024614f66cba516e3fe3f0bf4345c4b6339cd7 + src/sdk/projectroutes.lazy.ts: + id: 154f3ba44e7a + last_write_checksum: sha1:14f1463aa1d08706a280c9797fc9d416cd7f43b2 + pristine_git_object: e70a27b71eb5dadcc3fa59c45039a5373bb7bbad src/sdk/projectroutes.ts: id: 3a6e1a5d4538 last_write_checksum: sha1:dd87f24f5a341e741a03d5c41ab64f0e5349cd27 pristine_git_object: 687eea633b40ed5584765da89fec7dd6d4a7397d + src/sdk/projects.lazy.ts: + id: 5366d285da78 + last_write_checksum: sha1:55743270b0fb747dd9544de4c49ef8071d4ed2a9 + pristine_git_object: d4cad62c4d1aecdacc5fbca58d510430f04f4cce src/sdk/projects.ts: id: 28088373a118 last_write_checksum: sha1:ece3e59ac8a8b54edd505da9e5a75034a38a12d0 pristine_git_object: 831425d9c8cac463ee3577f4f154cbcd0004419c + src/sdk/rollingrelease.lazy.ts: + id: 6c0a9df539a4 + last_write_checksum: sha1:2cae390373d5c19d14ed4c8f0d3f384d4d700501 + pristine_git_object: a2522690b9a29860042bdcf40831a4d29261af00 src/sdk/rollingrelease.ts: id: 8b61481e21c4 last_write_checksum: sha1:48891c6e625d7271eb3f85f808947715c682df4f pristine_git_object: 08124c005e56e5223a391c6942770061aeb56055 + src/sdk/sandboxes.lazy.ts: + id: 32c1e7807cc1 + last_write_checksum: sha1:469b84ab57aaae7a285d286c9fecc6b6e6c1ba90 + pristine_git_object: 94b67b1e69a5a3db4cf6a6224fb4c93f689ea1f3 src/sdk/sandboxes.ts: id: 705e148c0510 last_write_checksum: sha1:ca9286b781f650d0f78c773c99142b27123b0464 pristine_git_object: f2b8d78cac2be1e964cefbeaf7615610088eeca1 + src/sdk/sdk.lazy.ts: + id: 233f4c752326 + last_write_checksum: sha1:657db1c28ea35a40455b01dd697750b2bb7d4600 + pristine_git_object: 707e05a4593dd58f5cb12c52081508481c5eb779 src/sdk/sdk.ts: id: 784571af2f69 last_write_checksum: sha1:a7f73498f79feacdb11a98ee375958fbfb25ce9d pristine_git_object: 0ea990109b8d5ed6b815156e81c285c21c54a119 + src/sdk/security.lazy.ts: + id: 7dad3202595b + last_write_checksum: sha1:221ec55b95ef8e21061be2e1994b000f819b7a9e + pristine_git_object: 90c101f6dc6f6903094e5c78a43a37d346ae24e7 src/sdk/security.ts: id: e82c5ee7c661 last_write_checksum: sha1:0dd03f0e576beee5b2e3861fd54958a70a72452d pristine_git_object: 780f98c63e9e6073c2e462f6ca1dc3d73f6e58c6 + src/sdk/staticips.lazy.ts: + id: 2090fb3b9c43 + last_write_checksum: sha1:0681c1cf9e21594513a951acdd52e5db202f7ebc + pristine_git_object: d7d47cb5a1c52edf37e0789bb287fb58107de1cf src/sdk/staticips.ts: id: 9f2200982464 last_write_checksum: sha1:cb1ac8a79db21ed69c726cd2c79a1e711555c60b pristine_git_object: eebd09a37ec3a815e02cc67c97a9a003eee99ecd + src/sdk/storage.lazy.ts: + id: 634804e02788 + last_write_checksum: sha1:727550663a69eddbda813d2a365b0a9a037656d1 + pristine_git_object: 820801de46a7a523b418dfbb50905dac4beda150 src/sdk/storage.ts: id: 7d51b7cb3e03 last_write_checksum: sha1:2154af59048109bf98ed56b040562f6ae8e97d9d pristine_git_object: 8417ac4c81161473d8ba32a1f73d0d7896bc4206 + src/sdk/teams.lazy.ts: + id: ba27b95b2942 + last_write_checksum: sha1:2067af44b0275eab68f2e8ca74bd6e39b8b9dc75 + pristine_git_object: 0b68cbfd34b5a61669455bbdd745414758854e61 src/sdk/teams.ts: id: 9ae565709e8f last_write_checksum: sha1:79878d5cddd7e808bd30e3b0983438aaf05d01e1 pristine_git_object: 946795d8615a92ed4423ac67fc63c699d2b9161e + src/sdk/user.lazy.ts: + id: 6687606f8fd4 + last_write_checksum: sha1:b6ab026bb2122d31d9375a732d9b7ab3ad2eb851 + pristine_git_object: 21afab58eaff3e49939558822c785bd5a51c38dc src/sdk/user.ts: id: 363e2a871b31 last_write_checksum: sha1:4372ded0e0da2f55e2dcdc52dbfc0638054da378 pristine_git_object: da9b0bdbd1b7d6a6489fc374f8dfd5e1272cb808 + src/sdk/vcr.lazy.ts: + id: 2843e5345bbc + last_write_checksum: sha1:e690839a218fa78d074e9b4be5b4afdeb3221d90 + pristine_git_object: cb80f142a5c9b8ef31adf513d1542efaeb25085b src/sdk/vcr.ts: id: 7231010b369c last_write_checksum: sha1:f99d2795ec7a72a3d9eb6df490e7a313fc809e28 pristine_git_object: fe6b16f58b0687a456a7247a0447eba2bb8eebd0 + src/sdk/vercelci.lazy.ts: + id: 4efbe18443db + last_write_checksum: sha1:4f4d9fdc270c9f260e70c61f5b9a76fd9cc96969 + pristine_git_object: 9c9b39509dde69e1f4be965f8dd40ac96119a8fa src/sdk/vercelci.ts: id: 44d2eb701424 last_write_checksum: sha1:a6651e2647dcff8b8aab3763165d7cda32d9cb5b pristine_git_object: 883be4ff8719b3b9f43588b0cae000f6e0d26a47 + src/sdk/webanalytics.lazy.ts: + id: 959bc2ea568c + last_write_checksum: sha1:f62452a6cf57f1f4c8283f7b1829c3d31699b04a + pristine_git_object: d739ae35ba6c34910a7acd075043fd4e0221b9d7 src/sdk/webanalytics.ts: id: f40b29c28260 last_write_checksum: sha1:05df8994589f0516aac8fec6af4cba315920ff1a pristine_git_object: d1414ee66d1d7b7cfc760cf3d3df5557dc769aef + src/sdk/webhooks.lazy.ts: + id: 58e3dcabe789 + last_write_checksum: sha1:dba37bcebb3af1608133868bae9361761f5cdb92 + pristine_git_object: 6a2a87b393115255ebb210024ddb3400ad8b99fc src/sdk/webhooks.ts: id: e879e17d0532 last_write_checksum: sha1:a7cdcf33b4c9be7dc77b5004ff27d12202a1c296 @@ -56862,7 +57138,7 @@ examples: speakeasy-default-list-auth-tokens: responses: "200": - application/json: {"pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}, "tokens": [{"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "name": "", "origin": "github", "type": "oauth2-token"}]} + application/json: {"pagination": {"count": 20, "next": "1540095775951", "prev": "1540095775951"}, "tokens": [{"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "kind": "access-token", "name": "", "origin": "github", "type": "oauth2-token"}]} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -56877,7 +57153,7 @@ examples: application/json: {"name": ""} responses: "200": - application/json: {"bearerToken": "uRKJSTt0L4RaSkiMj41QTkxM", "token": {"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "leakedAt": 1632816536002, "name": "", "origin": "github", "prefix": "vcp_", "revokedAt": 1632816536002, "suffix": "abc123", "type": "oauth2-token"}} + application/json: {"bearerToken": "uRKJSTt0L4RaSkiMj41QTkxM", "token": {"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "kind": "access-token", "leakedAt": 1632816536002, "name": "", "origin": "github", "prefix": "vcp_", "revokedAt": 1632816536002, "suffix": "abc123", "type": "oauth2-token"}} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -56889,7 +57165,7 @@ examples: tokenId: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391" responses: "200": - application/json: {"token": {"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "leakedAt": 1632816536002, "name": "", "origin": "github", "prefix": "vcp_", "revokedAt": 1632816536002, "suffix": "abc123", "type": "oauth2-token"}} + application/json: {"token": {"activeAt": 1632816536002, "createdAt": 1632816536002, "expiresAt": 1632816536002, "id": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", "kind": "access-token", "leakedAt": 1632816536002, "name": "", "origin": "github", "prefix": "vcp_", "revokedAt": 1632816536002, "suffix": "abc123", "type": "oauth2-token"}} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -59669,7 +59945,7 @@ examples: slug: "my-team-url-slug" responses: "200": - application/json: {"routes": [], "session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "ill-hamburger.com", "forwardURL": "https://functional-underneath.org", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "colorful-tuxedo.biz", "matchDimensions": ["path", "method"], "statusCode": 5168.54}]}, "networkTransfer": {"egress": 4078.62, "ingress": 3878.34}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} + application/json: {"routes": [], "session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "ill-hamburger.com", "forwardURL": "https://functional-underneath.org", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "colorful-tuxedo.biz", "matchDimensions": ["path", "method"], "statusCode": 5168.54}]}, "networkTransfer": {"egress": 4078.62, "ingress": 3878.34}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} getNamedSandbox: speakeasy-default-get-named-sandbox: parameters: @@ -59682,7 +59958,7 @@ examples: slug: "my-team-url-slug" responses: "200": - application/json: {"resumed": true, "routes": [{"port": 4252.43, "subdomain": "", "system": true, "url": "https://any-wasabi.com"}], "sandbox": {"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}, "session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "handy-grandpa.name", "forwardURL": "https://any-wasabi.com", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "instructive-polarisation.name", "matchDimensions": ["path", "method"], "statusCode": 851.15}]}, "networkTransfer": {"egress": 3912.91, "ingress": 3537.81}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} + application/json: {"resumed": true, "routes": [{"port": 4252.43, "subdomain": "", "system": true, "url": "https://any-wasabi.com"}], "sandbox": {"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "expiryNotificationLeadTime": 60000, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}, "session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "handy-grandpa.name", "forwardURL": "https://any-wasabi.com", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "instructive-polarisation.name", "matchDimensions": ["path", "method"], "statusCode": 851.15}]}, "networkTransfer": {"egress": 3912.91, "ingress": 3537.81}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} updateSandbox: speakeasy-default-update-sandbox: parameters: @@ -59707,7 +59983,7 @@ examples: deleteOrphanSnapshots: false responses: "200": - application/json: {"sandbox": {"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}} + application/json: {"sandbox": {"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "expiryNotificationLeadTime": 60000, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}} listSessionCommands: speakeasy-default-list-session-commands: parameters: @@ -59791,7 +60067,7 @@ examples: application/json: {"duration": 300000} responses: "200": - application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "forceful-technician.biz", "forwardURL": "https://tedious-disposer.net/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "frozen-traditionalism.com", "matchDimensions": ["path", "method"], "statusCode": 4311.78}]}, "networkTransfer": {"egress": 8960.7, "ingress": 2879.78}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} + application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "forceful-technician.biz", "forwardURL": "https://tedious-disposer.net/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "frozen-traditionalism.com", "matchDimensions": ["path", "method"], "statusCode": 4311.78}]}, "networkTransfer": {"egress": 8960.7, "ingress": 2879.78}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} updateSessionNetworkPolicy: speakeasy-default-update-session-network-policy: parameters: @@ -59804,7 +60080,7 @@ examples: application/json: {"mode": "custom", "allowedDomains": ["api.github.com", "*.npmjs.org"], "allowedCIDRs": ["35.192.0.0/12", "104.16.0.0/12"], "deniedCIDRs": ["35.192.0.0/12"]} responses: "200": - application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "limping-fedora.info", "forwardURL": "https://haunting-larva.com/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "athletic-interviewer.org", "matchDimensions": ["path", "method"], "statusCode": 216.99}]}, "networkTransfer": {"egress": 3225.72, "ingress": 4717.67}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} + application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "limping-fedora.info", "forwardURL": "https://haunting-larva.com/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "athletic-interviewer.org", "matchDimensions": ["path", "method"], "statusCode": 216.99}]}, "networkTransfer": {"egress": 3225.72, "ingress": 4717.67}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}} readSessionFile: speakeasy-default-read-session-file: parameters: @@ -60831,7 +61107,7 @@ examples: slug: "my-team-url-slug" responses: "201": - application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "soupy-stall.org", "forwardURL": "https://aggressive-freight.name", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "unconscious-design.biz", "matchDimensions": ["path", "method"], "statusCode": 4615.97}]}, "networkTransfer": {"egress": 8434.44, "ingress": 7763.17}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}, "snapshot": {"createdAt": 1750344501629, "creationMethod": "manual", "expiresAt": 1750344501629, "id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "lastUsedAt": 1750344501629, "parentId": "snap_parent123", "region": "iad1", "regions": ["iad1", "sfo1"], "sizeBytes": 104857600, "sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "status": "created", "updatedAt": 1750344501629}} + application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "soupy-stall.org", "forwardURL": "https://aggressive-freight.name", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "unconscious-design.biz", "matchDimensions": ["path", "method"], "statusCode": 4615.97}]}, "networkTransfer": {"egress": 8434.44, "ingress": 7763.17}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}, "snapshot": {"createdAt": 1750344501629, "creationMethod": "manual", "expiresAt": 1750344501629, "id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "lastUsedAt": 1750344501629, "parentId": "snap_parent123", "region": "iad1", "regions": ["iad1", "sfo1"], "sizeBytes": 104857600, "sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "status": "created", "updatedAt": 1750344501629}} createSandboxesSessionsBySessionIdSnapshotV3: speakeasy-default-create-sandboxes-sessions-by-session-id-snapshot-v3: parameters: @@ -60842,7 +61118,7 @@ examples: slug: "my-team-url-slug" responses: "201": - application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "haunting-doorpost.info", "forwardURL": "https://tepid-palate.biz/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "chubby-godfather.org", "matchDimensions": ["path", "method"], "statusCode": 3425.18}]}, "networkTransfer": {"egress": 2663.02, "ingress": 3600.35}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}, "snapshot": {"createdAt": 1750344501629, "creationMethod": "manual", "expiresAt": 1750344501629, "id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "lastUsedAt": 1750344501629, "parentId": "snap_parent123", "region": "iad1", "regions": ["iad1", "sfo1"], "sizeBytes": 104857600, "sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "status": "created", "updatedAt": 1750344501629}} + application/json: {"session": {"abortedAt": 1750344501629, "activeCpuDurationMs": 42, "createdAt": 1750344501629, "cwd": "/vercel/sandbox", "duration": 3600000, "id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "memory": 2048, "networkPolicy": {"allowedCIDRs": ["10.0.0.0/8"], "allowedDomains": ["api.vercel.com", "*.example.com"], "deniedCIDRs": ["10.0.0.0/8"], "forwardRules": [{"domain": "haunting-doorpost.info", "forwardURL": "https://tepid-palate.biz/", "matchDimensions": ["path", "method"]}], "injectionRules": [{"domain": "api.vercel.com", "headerNames": ["Authorization", "X-API-Key"]}], "mode": "custom", "responseRules": [{"domain": "chubby-godfather.org", "matchDimensions": ["path", "method"], "statusCode": 3425.18}]}, "networkTransfer": {"egress": 2663.02, "ingress": 3600.35}, "projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50", "region": "iad1", "requestedAt": 1750344501629, "requestedStopAt": 1750344501629, "runtime": "node22", "snapshottedAt": 1750344501629, "sourceSandboxName": "my-sandbox", "sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "startedAt": 1750344501629, "status": "running", "stoppedAt": 1750344501629, "stopReason": "requested", "timeout": 3600000, "updatedAt": 1750344501629, "vcpus": 2}, "snapshot": {"createdAt": 1750344501629, "creationMethod": "manual", "expiresAt": 1750344501629, "id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50", "lastUsedAt": 1750344501629, "parentId": "snap_parent123", "region": "iad1", "regions": ["iad1", "sfo1"], "sizeBytes": 104857600, "sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50", "status": "created", "updatedAt": 1750344501629}} rotate-installation-credential: speakeasy-default-rotate-installation-credential: parameters: @@ -61220,7 +61496,7 @@ examples: slug: "my-team-url-slug" responses: "200": - application/json: {"pagination": {"count": 8466.31, "next": ""}, "sandboxes": [{"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}]} + application/json: {"pagination": {"count": 8466.31, "next": ""}, "sandboxes": [{"createdAt": 1750344501629, "currentSessionId": "", "cwd": "/vercel/sandbox", "expiresAt": 1750344801629, "expiryNotificationLeadTime": 60000, "failoverRegions": ["sfo1", "cle1"], "image": "my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708", "keepLastSnapshots": {"count": 5, "deleteEvicted": true, "expiration": 604800000}, "memory": 1024, "name": "my-sandbox", "persistent": true, "region": "iad1", "runtime": "node22", "snapshotExpiration": 604800000, "status": "running", "statusUpdatedAt": 1750344501629, "tags": {"team": "hive", "user": "bob"}, "timeout": 300000, "totalActiveCpuDurationMs": 5000, "totalDurationMs": 60000, "totalEgressBytes": 4096, "totalIngressBytes": 2048, "updatedAt": 1750344501629, "vcpus": 2}]} getAiGatewayVirtualModelConfigBySlug: speakeasy-default-get-ai-gateway-virtual-model-config-by-slug: parameters: @@ -62289,6 +62565,17 @@ examples: responses: "200": application/json: {"assignments": {"organizationPermissions": ["OrgAdmin"], "teamRoles": ["BILLING"], "teams": {}}, "createdAt": "1726746896697", "directoryGroupId": "", "directoryId": "", "name": "", "organizationId": "", "updatedAt": "1735661077524"} + signFlagOverrides: + speakeasy-default-sign-flag-overrides: + parameters: + path: + projectIdOrName: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"expiresIn": 2460.84, "token": ""} examplesVersion: 1.0.2 generatedTests: readAccessGroup: "2025-04-29T14:51:46-05:00" @@ -62618,7 +62905,7 @@ generatedTests: listDrives: "2026-06-08T17:06:46-06:00" getOrCreateDrive: "2026-06-08T17:06:46-06:00" deleteDrive: "2026-06-08T17:06:46-06:00" -releaseNotes: "## Typescript SDK Changes:\n* `vercel.user.listUserEvents()`: `response.events[]` **Changed** (Breaking ⚠️)\n* `vercel.user.listEventTypes()`: `response.types[]` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.createWebhook()`: \n * `request.requestBody.events[]` **Changed**\n * `response.events[]` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.getWebhooks()`: `response` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.getWebhook()`: `response.events[]` **Changed** (Breaking ⚠️)\n" +releaseNotes: "## Typescript SDK Changes:\n* `vercel.user.listEventTypes()`: `response.types[]` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.getWebhook()`: `response.events[]` **Changed** (Breaking ⚠️)\n* `vercel.aiGateway.listAiGatewayBudgets()`: \n * `request.scopeType` **Changed**\n * `response` **Changed** (Breaking ⚠️)\n* `vercel.aiGateway.upsertAiGatewayBudget()`: \n * `request.requestBody` **Changed**\n * `response` **Changed** (Breaking ⚠️)\n* `vercel.aiGateway.archiveAiGatewayBudget()`: \n * `request` **Changed**\n * `response` **Changed** (Breaking ⚠️)\n* `vercel.aiGateway.listAiGatewayBudgetDefaults()`: `response.defaults[]` **Changed** (Breaking ⚠️)\n* `vercel.aiGateway.upsertAiGatewayBudgetDefault()`: \n * `request.requestBody` **Changed**\n * `response` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.getWebhooks()`: `response` **Changed** (Breaking ⚠️)\n* `vercel.webhooks.createWebhook()`: \n * `request.requestBody.events[]` **Changed**\n * `response.events[]` **Changed** (Breaking ⚠️)\n* `vercel.authentication.listAuthTokens()`: \n * `request` **Added** (Breaking ⚠️)\n * `response.union(1).tokens[].kind` **Added**\n* `vercel.user.listUserEvents()`: `response.events[]` **Changed** (Breaking ⚠️)\n* `vercel.sandboxes.listSessions()`: `response.union(2).sessions[].stopReason` **Added**\n* `vercel.sandboxes.updateSessionNetworkPolicy()`: `response.session.stopReason` **Added**\n* `vercel.authentication.createAuthToken()`: `response.token.kind` **Added**\n* `vercel.authentication.getAuthToken()`: `response.token.kind` **Added**\n* `vercel.sandboxes.listNamedSandboxes()`: `response.sandboxes[].expiryNotificationLeadTime` **Added**\n* `vercel.featureFlags.signFlagOverrides()`: **Added**\n* `vercel.sandboxes.getSession()`: `response.session.stopReason` **Added**\n* `vercel.sandboxes.getNamedSandbox()`: `response` **Changed**\n* `vercel.sandboxes.deleteSandbox()`: `response.sandbox.expiryNotificationLeadTime` **Added**\n* `vercel.sandboxes.stopSession()`: `response.union(2)` **Changed**\n* `vercel.sandboxes.extendSessionTimeout()`: `response.session.stopReason` **Added**\n* `vercel.logDrains.deleteConfigurableLogDrain()`: `error.status[409]` **Added**\n* `vercel.sandboxes.createSandboxesSessionsBySessionIdSnapshotV2()`: `response.session.stopReason` **Added**\n* `vercel.sandboxes.createSandboxesSessionsBySessionIdSnapshotV3()`: `response.session.stopReason` **Added**\n* `vercel.teams.getTeamMembers()`: `response.members[].joinedFrom.ssoIdFingerprint` **Added**\n* `vercel.teams.requestAccessToTeam()`: `response.joinedFrom.ssoIdFingerprint` **Added**\n* `vercel.teams.getTeamAccessRequest()`: `response.joinedFrom.ssoIdFingerprint` **Added**\n* `vercel.teams.getTeam()`: `response.membership.joinedFrom.ssoIdFingerprint` **Added**\n* `vercel.teams.patchTeam()`: `response.membership.joinedFrom.ssoIdFingerprint` **Added**\n* `vercel.teams.getTeams()`: `response` **Changed**\n* `vercel.daemons.putProjectDaemonInstances()`: `error.status[409]` **Added**\n* `vercel.aiGateway.archiveAiGatewayBudgetDefault()`: \n * `request.scopeType` **Changed**\n* `vercel.billing.listContractCommitments()`: **Removed** (Breaking ⚠️)\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 3e469677c0..49c36bed56 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -33,7 +33,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: true typescript: - version: 1.28.67 + version: 1.28.68 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index f295ecc81f..6a65f84a95 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.810.0 +speakeasyVersion: 1.811.0 sources: vercel-OAS: sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:e4bf26780c05ae1c0844bff03695e4df7ac2526adbe91053f62f8f5cb65ee245 - sourceBlobDigest: sha256:9cbdf01e327316d148e590bf138b101e653a222f92af5df42a73870e19289f3d + sourceRevisionDigest: sha256:84f5cac96f5cab299c4798e62a280495a44c79a758673668f20fb4c69c2427ea + sourceBlobDigest: sha256:cb9be38f023e812a25f590618af3e4db00349485e0802ce6932337173f051334 tags: - latest - 0.0.1 @@ -11,10 +11,10 @@ targets: vercel: source: vercel-OAS sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:e4bf26780c05ae1c0844bff03695e4df7ac2526adbe91053f62f8f5cb65ee245 - sourceBlobDigest: sha256:9cbdf01e327316d148e590bf138b101e653a222f92af5df42a73870e19289f3d + sourceRevisionDigest: sha256:84f5cac96f5cab299c4798e62a280495a44c79a758673668f20fb4c69c2427ea + sourceBlobDigest: sha256:cb9be38f023e812a25f590618af3e4db00349485e0802ce6932337173f051334 codeSamplesNamespace: vercel-oas-typescript-code-samples - codeSamplesRevisionDigest: sha256:d568b96b68200ed9a70dfd5b38c4d7d6b70f709fd7ec78593897d5f48ed51bad + codeSamplesRevisionDigest: sha256:1658f90656c3576998caedb1fa12a887f5a2e98598272edf759ea3c3837bb367 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index b84d6045c3..ad5647cd10 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,26 @@ yarn add @vercel/sdk ## Requirements For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md). + +### Lazy operation loading in Node.js + +The `/node` entry point and its lazy SDK classes are generated for every SDK. No `gen.yaml` flag is needed; Node.js applications opt in to loading operation functions on first use by changing their import: + +```typescript +import { Vercel } from "@vercel/sdk/node"; + +const sdk = new Vercel(); +``` + +The `/node` entry point keeps the same method signatures, pagination behaviour, and response helpers. Operation modules load through dynamic imports when a method is called. Models and error classes are shared with the standard entry points, rather than bundled into separate copies. + +The standard package entry point and SDK subpaths retain their static imports. Keep using those entry points in browser bundles, including IIFE and UMD builds, to avoid dynamic-import chunks. Custom root exports may still load additional modules. + +The Node SDK classes live in `src/sdk/*.lazy.ts`. Custom code regions in the standard SDK classes are not copied to these classes; apply any required customisations to their separate regions. Accept-header enums have the same values, but their enum objects are specific to each entry point. + +Generated model schemas are constructed synchronously and cached on first use with either entry point. Importing a model does not construct its schema; parsing or inspecting a schema does. This does not require changing the configured Zod version. + +`Object.freeze`, `Object.seal`, and `Object.preventExtensions` construct the schema and apply to the cached Zod object. Zod's own restrictions on frozen schemas still apply, including methods that install properties on first access. ## Access Tokens @@ -409,6 +429,7 @@ run(); ### [FeatureFlags](docs/sdks/featureflags/README.md) +* [signFlagOverrides](docs/sdks/featureflags/README.md#signflagoverrides) - Sign flag overrides * [listFlagsV2](docs/sdks/featureflags/README.md#listflagsv2) - List flags * [listFlags](docs/sdks/featureflags/README.md#listflags) - List flags * [createFlag](docs/sdks/featureflags/README.md#createflag) - Create a flag @@ -999,6 +1020,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`featureFlagsListTeamFlagSettings`](docs/sdks/featureflags/README.md#listteamflagsettings) - List team project flag settings - [`featureFlagsListTeamFlagsV2`](docs/sdks/featureflags/README.md#listteamflagsv2) - List all flags for a team - [`featureFlagsLookupFlagLabels`](docs/sdks/featureflags/README.md#lookupflaglabels) - Look up attribute labels +- [`featureFlagsSignFlagOverrides`](docs/sdks/featureflags/README.md#signflagoverrides) - Sign flag overrides - [`featureFlagsUpdateFlag`](docs/sdks/featureflags/README.md#updateflag) - Update a flag - [`featureFlagsUpdateFlagSegment`](docs/sdks/featureflags/README.md#updateflagsegment) - Update a segment - [`featureFlagsUpdateFlagSettings`](docs/sdks/featureflags/README.md#updateflagsettings) - Update project flag settings @@ -1478,134 +1500,134 @@ run(); **Inherit from [`VercelError`](./src/models/vercelerror.ts)**: -* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 19 of 481 methods.* -* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 19 of 481 methods.* -* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): Status code `403`. Applicable to 19 of 481 methods.* -* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 19 of 481 methods.* -* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 19 of 481 methods.* -* [`ConnectError`](./src/models/connecterror.ts): Error response returned by a Connect API operation. Applicable to 10 of 481 methods.* -* [`Forbidden`](./src/models/forbidden.ts): Status code `403`. Applicable to 10 of 481 methods.* -* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 8 of 481 methods.* -* [`DomainTooShort`](./src/models/domaintooshort.ts): The domain name (excluding the TLD) is too short. Status code `400`. Applicable to 6 of 481 methods.* -* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 5 of 481 methods.* -* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 5 of 481 methods.* -* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 5 of 481 methods.* -* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of 481 methods.* -* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of 481 methods.* -* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of 481 methods.* -* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of 481 methods.* -* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of 481 methods.* -* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of 481 methods.* -* [`EmojiTldNotSupported`](./src/models/emojitldnotsupported.ts): The TLD does not support emoji domain names. Status code `400`. Applicable to 2 of 481 methods.* -* [`LanguageCodeRequired`](./src/models/languagecoderequired.ts): A language code is required for punycode domains. Status code `400`. Applicable to 2 of 481 methods.* -* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of 481 methods.* -* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of 481 methods.* -* [`DomainAlreadyOwned`](./src/models/domainalreadyowned.ts): The domain is already owned by another team or user. Status code `400`. Applicable to 1 of 481 methods.* -* [`DNSSECEnabled`](./src/models/dnssecenabled.ts): The operation cannot be completed because DNSSEC is enabled for the domain. Status code `400`. Applicable to 1 of 481 methods.* -* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of 481 methods.* -* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of 481 methods.* -* [`BoughtTooRecently`](./src/models/boughttoorecently.ts): The domain was bought too recently to determine verification status. Status code `400`. Applicable to 1 of 481 methods.* -* [`CreateApiKeysResponseResponseBody`](./src/models/createapikeysresponseresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`UpdateApiKeyQuotaAiGatewayResponseBody`](./src/models/updateapikeyquotaaigatewayresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiRepositorySettingsVercelCiResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`UpdateVercelCiRepositorySettingsVercelCiResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationsVercelCiResponseBody`](./src/models/listvercelciinvocationsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiBranchesVercelCiResponseBody`](./src/models/listvercelcibranchesvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskAnalysisVercelCiResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskAnalysisVercelCiResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskAnalysisTasksVercelCiResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationAttemptsVercelCiResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationTreeVercelCiResponseBody`](./src/models/getvercelciinvocationtreevercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationVercelCiResponseBody`](./src/models/getvercelciinvocationvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`RetryVercelCiInvocationVercelCiResponseBody`](./src/models/retryvercelciinvocationvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobDefinitionsVercelCiResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobDefinitionVercelCiResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobRunsVercelCiResponseBody`](./src/models/listvercelcijobrunsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunVercelCiResponseBody`](./src/models/getvercelcijobrunvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskDefinitionsVercelCiResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskRunsVercelCiResponseBody`](./src/models/listvercelcitaskrunsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationLogsVercelCiResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskLogsVercelCiResponseBody`](./src/models/getvercelcitasklogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`SearchVercelCiLogsVercelCiResponseBody`](./src/models/searchvercelcilogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunLogsVercelCiResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskRunLogsVercelCiResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 481 methods.* -* [`CreateApiKeysResponse403ResponseBody`](./src/models/createapikeysresponse403responsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`UpdateApiKeyQuotaAiGatewayResponseResponseBody`](./src/models/updateapikeyquotaaigatewayresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiRepositorySettingsVercelCiResponseResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationsVercelCiResponseResponseBody`](./src/models/listvercelciinvocationsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiBranchesVercelCiResponseResponseBody`](./src/models/listvercelcibranchesvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskAnalysisVercelCiResponseResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskAnalysisVercelCiResponseResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationAttemptsVercelCiResponseResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationTreeVercelCiResponseResponseBody`](./src/models/getvercelciinvocationtreevercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationVercelCiResponseResponseBody`](./src/models/getvercelciinvocationvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`RetryVercelCiInvocationVercelCiResponseResponseBody`](./src/models/retryvercelciinvocationvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobDefinitionsVercelCiResponseResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobDefinitionVercelCiResponseResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobRunsVercelCiResponseResponseBody`](./src/models/listvercelcijobrunsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunVercelCiResponseResponseBody`](./src/models/getvercelcijobrunvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskDefinitionsVercelCiResponseResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskRunsVercelCiResponseResponseBody`](./src/models/listvercelcitaskrunsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationLogsVercelCiResponseResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskLogsVercelCiResponseResponseBody`](./src/models/getvercelcitasklogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`SearchVercelCiLogsVercelCiResponseResponseBody`](./src/models/searchvercelcilogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunLogsVercelCiResponseResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskRunLogsVercelCiResponseResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 481 methods.* -* [`DomainCannotBeTransferedOutUntil`](./src/models/domaincannotbetransferedoutuntil.ts): The domain cannot be transfered out until the specified date. Status code `409`. Applicable to 1 of 481 methods.* -* [`CreateApiKeysResponse429ResponseBody`](./src/models/createapikeysresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`UpdateApiKeyQuotaAiGatewayResponse429ResponseBody`](./src/models/updateapikeyquotaaigatewayresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationsVercelCiResponse429ResponseBody`](./src/models/listvercelciinvocationsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiBranchesVercelCiResponse429ResponseBody`](./src/models/listvercelcibranchesvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429ResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationTreeVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationtreevercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`RetryVercelCiInvocationVercelCiResponse429ResponseBody`](./src/models/retryvercelciinvocationvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobDefinitionVercelCiResponse429ResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobRunsVercelCiResponse429ResponseBody`](./src/models/listvercelcijobrunsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunVercelCiResponse429ResponseBody`](./src/models/getvercelcijobrunvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskRunsVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskrunsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationLogsVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcitasklogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`SearchVercelCiLogsVercelCiResponse429ResponseBody`](./src/models/searchvercelcilogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 481 methods.* -* [`CreateApiKeysResponse500ResponseBody`](./src/models/createapikeysresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`UpdateApiKeyQuotaAiGatewayResponse500ResponseBody`](./src/models/updateapikeyquotaaigatewayresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationsVercelCiResponse500ResponseBody`](./src/models/listvercelciinvocationsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiBranchesVercelCiResponse500ResponseBody`](./src/models/listvercelcibranchesvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500ResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationTreeVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationtreevercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`RetryVercelCiInvocationVercelCiResponse500ResponseBody`](./src/models/retryvercelciinvocationvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobDefinitionVercelCiResponse500ResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiJobRunsVercelCiResponse500ResponseBody`](./src/models/listvercelcijobrunsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunVercelCiResponse500ResponseBody`](./src/models/getvercelcijobrunvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`ListVercelCiTaskRunsVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskrunsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiInvocationLogsVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcitasklogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`SearchVercelCiLogsVercelCiResponse500ResponseBody`](./src/models/searchvercelcilogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiJobRunLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* -* [`GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 481 methods.* +* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 19 of 482 methods.* +* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 19 of 482 methods.* +* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): Status code `403`. Applicable to 19 of 482 methods.* +* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 19 of 482 methods.* +* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 19 of 482 methods.* +* [`ConnectError`](./src/models/connecterror.ts): Error response returned by a Connect API operation. Applicable to 10 of 482 methods.* +* [`Forbidden`](./src/models/forbidden.ts): Status code `403`. Applicable to 10 of 482 methods.* +* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 8 of 482 methods.* +* [`DomainTooShort`](./src/models/domaintooshort.ts): The domain name (excluding the TLD) is too short. Status code `400`. Applicable to 6 of 482 methods.* +* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 5 of 482 methods.* +* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 5 of 482 methods.* +* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 5 of 482 methods.* +* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of 482 methods.* +* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of 482 methods.* +* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of 482 methods.* +* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of 482 methods.* +* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of 482 methods.* +* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of 482 methods.* +* [`EmojiTldNotSupported`](./src/models/emojitldnotsupported.ts): The TLD does not support emoji domain names. Status code `400`. Applicable to 2 of 482 methods.* +* [`LanguageCodeRequired`](./src/models/languagecoderequired.ts): A language code is required for punycode domains. Status code `400`. Applicable to 2 of 482 methods.* +* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of 482 methods.* +* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of 482 methods.* +* [`DomainAlreadyOwned`](./src/models/domainalreadyowned.ts): The domain is already owned by another team or user. Status code `400`. Applicable to 1 of 482 methods.* +* [`DNSSECEnabled`](./src/models/dnssecenabled.ts): The operation cannot be completed because DNSSEC is enabled for the domain. Status code `400`. Applicable to 1 of 482 methods.* +* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of 482 methods.* +* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of 482 methods.* +* [`BoughtTooRecently`](./src/models/boughttoorecently.ts): The domain was bought too recently to determine verification status. Status code `400`. Applicable to 1 of 482 methods.* +* [`CreateApiKeysResponseResponseBody`](./src/models/createapikeysresponseresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`UpdateApiKeyQuotaAiGatewayResponseBody`](./src/models/updateapikeyquotaaigatewayresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiRepositorySettingsVercelCiResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`UpdateVercelCiRepositorySettingsVercelCiResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationsVercelCiResponseBody`](./src/models/listvercelciinvocationsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiBranchesVercelCiResponseBody`](./src/models/listvercelcibranchesvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskAnalysisVercelCiResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskAnalysisVercelCiResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskAnalysisTasksVercelCiResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationAttemptsVercelCiResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationTreeVercelCiResponseBody`](./src/models/getvercelciinvocationtreevercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationVercelCiResponseBody`](./src/models/getvercelciinvocationvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`RetryVercelCiInvocationVercelCiResponseBody`](./src/models/retryvercelciinvocationvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobDefinitionsVercelCiResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobDefinitionVercelCiResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobRunsVercelCiResponseBody`](./src/models/listvercelcijobrunsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunVercelCiResponseBody`](./src/models/getvercelcijobrunvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskDefinitionsVercelCiResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskRunsVercelCiResponseBody`](./src/models/listvercelcitaskrunsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationLogsVercelCiResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskLogsVercelCiResponseBody`](./src/models/getvercelcitasklogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`SearchVercelCiLogsVercelCiResponseBody`](./src/models/searchvercelcilogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunLogsVercelCiResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskRunLogsVercelCiResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponsebody.ts): The request is not authorized. Status code `401`. Applicable to 1 of 482 methods.* +* [`CreateApiKeysResponse403ResponseBody`](./src/models/createapikeysresponse403responsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`UpdateApiKeyQuotaAiGatewayResponseResponseBody`](./src/models/updateapikeyquotaaigatewayresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiRepositorySettingsVercelCiResponseResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationsVercelCiResponseResponseBody`](./src/models/listvercelciinvocationsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiBranchesVercelCiResponseResponseBody`](./src/models/listvercelcibranchesvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskAnalysisVercelCiResponseResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskAnalysisVercelCiResponseResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationAttemptsVercelCiResponseResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationTreeVercelCiResponseResponseBody`](./src/models/getvercelciinvocationtreevercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationVercelCiResponseResponseBody`](./src/models/getvercelciinvocationvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`RetryVercelCiInvocationVercelCiResponseResponseBody`](./src/models/retryvercelciinvocationvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobDefinitionsVercelCiResponseResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobDefinitionVercelCiResponseResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobRunsVercelCiResponseResponseBody`](./src/models/listvercelcijobrunsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunVercelCiResponseResponseBody`](./src/models/getvercelcijobrunvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskDefinitionsVercelCiResponseResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskRunsVercelCiResponseResponseBody`](./src/models/listvercelcitaskrunsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationLogsVercelCiResponseResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskLogsVercelCiResponseResponseBody`](./src/models/getvercelcitasklogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`SearchVercelCiLogsVercelCiResponseResponseBody`](./src/models/searchvercelcilogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunLogsVercelCiResponseResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskRunLogsVercelCiResponseResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponseresponsebody.ts): You do not have permission to access this resource. Status code `403`. Applicable to 1 of 482 methods.* +* [`DomainCannotBeTransferedOutUntil`](./src/models/domaincannotbetransferedoutuntil.ts): The domain cannot be transfered out until the specified date. Status code `409`. Applicable to 1 of 482 methods.* +* [`CreateApiKeysResponse429ResponseBody`](./src/models/createapikeysresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`UpdateApiKeyQuotaAiGatewayResponse429ResponseBody`](./src/models/updateapikeyquotaaigatewayresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationsVercelCiResponse429ResponseBody`](./src/models/listvercelciinvocationsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiBranchesVercelCiResponse429ResponseBody`](./src/models/listvercelcibranchesvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429ResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationTreeVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationtreevercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`RetryVercelCiInvocationVercelCiResponse429ResponseBody`](./src/models/retryvercelciinvocationvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobDefinitionVercelCiResponse429ResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobRunsVercelCiResponse429ResponseBody`](./src/models/listvercelcijobrunsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunVercelCiResponse429ResponseBody`](./src/models/getvercelcijobrunvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskRunsVercelCiResponse429ResponseBody`](./src/models/listvercelcitaskrunsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationLogsVercelCiResponse429ResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcitasklogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`SearchVercelCiLogsVercelCiResponse429ResponseBody`](./src/models/searchvercelcilogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponse429responsebody.ts): . Status code `429`. Applicable to 1 of 482 methods.* +* [`CreateApiKeysResponse500ResponseBody`](./src/models/createapikeysresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`UpdateApiKeyQuotaAiGatewayResponse500ResponseBody`](./src/models/updateapikeyquotaaigatewayresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody`](./src/models/getvercelcirepositorysettingsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody`](./src/models/updatevercelcirepositorysettingsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationsVercelCiResponse500ResponseBody`](./src/models/listvercelciinvocationsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiBranchesVercelCiResponse500ResponseBody`](./src/models/listvercelcibranchesvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody`](./src/models/createvercelcitaskanalysisvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody`](./src/models/getvercelcitaskanalysisvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500ResponseBody`](./src/models/createvercelcitaskconfigurationpullrequestvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskanalysistasksvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody`](./src/models/listvercelciinvocationattemptsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationTreeVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationtreevercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`RetryVercelCiInvocationVercelCiResponse500ResponseBody`](./src/models/retryvercelciinvocationvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody`](./src/models/listvercelcijobdefinitionsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobDefinitionVercelCiResponse500ResponseBody`](./src/models/getvercelcijobdefinitionvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiJobRunsVercelCiResponse500ResponseBody`](./src/models/listvercelcijobrunsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunVercelCiResponse500ResponseBody`](./src/models/getvercelcijobrunvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskdefinitionsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`ListVercelCiTaskRunsVercelCiResponse500ResponseBody`](./src/models/listvercelcitaskrunsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiInvocationLogsVercelCiResponse500ResponseBody`](./src/models/getvercelciinvocationlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcitasklogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`SearchVercelCiLogsVercelCiResponse500ResponseBody`](./src/models/searchvercelcilogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiJobRunLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcijobrunlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* +* [`GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody`](./src/models/getvercelcitaskrunlogsvercelciresponse500responsebody.ts): . Status code `500`. Applicable to 1 of 482 methods.* * [`ResponseValidationError`](./src/models/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string. diff --git a/RELEASES.md b/RELEASES.md index 8c7979c747..b7c442299e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2138,4 +2138,14 @@ Based on: ### Generated - [typescript v1.28.67] . ### Releases -- [NPM v1.28.67] https://www.npmjs.com/package/@vercel/sdk/v/1.28.67 - . \ No newline at end of file +- [NPM v1.28.67] https://www.npmjs.com/package/@vercel/sdk/v/1.28.67 - . + +## 2026-11-24 00:08:06 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.811.0 (2.968.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.28.68] . +### Releases +- [NPM v1.28.68] https://www.npmjs.com/package/@vercel/sdk/v/1.28.68 - . \ No newline at end of file diff --git a/docs/models/access.md b/docs/models/access.md index 853ef02d8c..46788a512d 100644 --- a/docs/models/access.md +++ b/docs/models/access.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Access } from "@vercel/sdk/models/oldssoprotection2.js"; +import { Access } from "@vercel/sdk/models/payloadstaticips.js"; let value: Access = "private"; ``` diff --git a/docs/models/accessgroup.md b/docs/models/accessgroup.md index e90acca577..6f97453f78 100644 --- a/docs/models/accessgroup.md +++ b/docs/models/accessgroup.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AccessGroup } from "@vercel/sdk/models/twenty.js"; +import { AccessGroup } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: AccessGroup = { id: "", diff --git a/docs/models/accesspolicy.md b/docs/models/accesspolicy.md index a740040a12..909ca76f4f 100644 --- a/docs/models/accesspolicy.md +++ b/docs/models/accesspolicy.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AccessPolicy } from "@vercel/sdk/models/twenty.js"; +import { AccessPolicy } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: AccessPolicy = { id: "", diff --git a/docs/models/actortype.md b/docs/models/actortype.md index 7e1e1970b0..f530aca483 100644 --- a/docs/models/actortype.md +++ b/docs/models/actortype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ActorType } from "@vercel/sdk/models/twenty.js"; +import { ActorType } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ActorType = "admin"; ``` diff --git a/docs/models/addedprojects.md b/docs/models/addedprojects.md index 2b8f051c81..45d2f1d22d 100644 --- a/docs/models/addedprojects.md +++ b/docs/models/addedprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AddedProjects } from "@vercel/sdk/models/oldssoprotection2.js"; +import { AddedProjects } from "@vercel/sdk/models/payloadstaticips.js"; let value: AddedProjects = { id: "", diff --git a/docs/models/after.md b/docs/models/after.md index b6664bc623..f8f64e77b1 100644 --- a/docs/models/after.md +++ b/docs/models/after.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { After } from "@vercel/sdk/models/twenty.js"; +import { After } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: After = {}; ``` @@ -12,5 +12,5 @@ let value: After = {}; | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `permissions` | [models.UserEventPayload80Permissions](../models/usereventpayload80permissions.md)[] | :heavy_minus_sign: | N/A | +| `permissions` | [models.UserEventPayload81Permissions](../models/usereventpayload81permissions.md)[] | :heavy_minus_sign: | N/A | | `resources` | [models.UserEventPayloadResources](../models/usereventpayloadresources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/aigatewaybudget.md b/docs/models/aigatewaybudget.md index 31437afe0b..2111556c2d 100644 --- a/docs/models/aigatewaybudget.md +++ b/docs/models/aigatewaybudget.md @@ -23,20 +23,21 @@ let value: AiGatewayBudget = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | -| `archived` | *boolean* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `currentByokSpend` | *number* | :heavy_check_mark: | N/A | -| `currentSpend` | *number* | :heavy_check_mark: | N/A | -| `includeByokInQuota` | *boolean* | :heavy_check_mark: | N/A | -| `limitAmount` | *number* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `quotaEntityId` | *string* | :heavy_check_mark: | N/A | -| `refreshPeriod` | [models.RefreshPeriod](../models/refreshperiod.md) | :heavy_check_mark: | N/A | -| `scopeId` | *string* | :heavy_check_mark: | The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped). | -| `scopeType` | [models.ScopeType](../models/scopetype.md) | :heavy_check_mark: | N/A | -| `source` | [models.Source](../models/source.md) | :heavy_minus_sign: | Set when the row is inherited from the team's budget default. | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `archived` | *boolean* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `currentByokSpend` | *number* | :heavy_check_mark: | N/A | +| `currentSpend` | *number* | :heavy_check_mark: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When a member's own budget change lapses and the user default applies again, in ms since the epoch. Absent means the budget is permanent. | +| `includeByokInQuota` | *boolean* | :heavy_check_mark: | N/A | +| `limitAmount` | *number* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `quotaEntityId` | *string* | :heavy_check_mark: | N/A | +| `refreshPeriod` | [models.RefreshPeriod](../models/refreshperiod.md) | :heavy_check_mark: | N/A | +| `scopeId` | *string* | :heavy_check_mark: | The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); user and app scopes also use the quota entity id (`usr_` / `app_`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped). | +| `scopeType` | [models.ScopeType](../models/scopetype.md) | :heavy_check_mark: | N/A | +| `source` | [models.Source](../models/source.md) | :heavy_minus_sign: | Set when the row is inherited from the team's budget default. | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/aigatewaybudgetdefault.md b/docs/models/aigatewaybudgetdefault.md index 9f18e44f9f..11e1843f3c 100644 --- a/docs/models/aigatewaybudgetdefault.md +++ b/docs/models/aigatewaybudgetdefault.md @@ -21,6 +21,7 @@ let value: AiGatewayBudgetDefault = { | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `active` | *boolean* | :heavy_check_mark: | N/A | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `appliesTo` | [models.AppliesTo](../models/appliesto.md)[] | :heavy_minus_sign: | `api-key` scope only: key spend attributions covered. Absent means both. | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `limitAmount` | *number* | :heavy_check_mark: | N/A | | `refreshPeriod` | [models.AiGatewayBudgetDefaultRefreshPeriod](../models/aigatewaybudgetdefaultrefreshperiod.md) | :heavy_check_mark: | N/A | diff --git a/docs/models/aigatewaybudgetdefaultscopetype.md b/docs/models/aigatewaybudgetdefaultscopetype.md index 08a34016a2..2fc3682943 100644 --- a/docs/models/aigatewaybudgetdefaultscopetype.md +++ b/docs/models/aigatewaybudgetdefaultscopetype.md @@ -11,5 +11,5 @@ let value: AiGatewayBudgetDefaultScopeType = "project"; ## Values ```typescript -"api-key" | "project" | "team" | "user" +"api-key" | "app" | "project" | "team" | "user" ``` \ No newline at end of file diff --git a/docs/models/allowedmethods.md b/docs/models/allowedmethods.md index 1b1890b413..65fde59ed2 100644 --- a/docs/models/allowedmethods.md +++ b/docs/models/allowedmethods.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { AllowedMethods } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { AllowedMethods } from "@vercel/sdk/models/fourhundredandforty.js"; let value: AllowedMethods = "webauthn"; ``` diff --git a/docs/models/allowlistedreadystatereasoninternal.md b/docs/models/allowlistedreadystatereasoninternal.md index 68ab55b6ab..8648932958 100644 --- a/docs/models/allowlistedreadystatereasoninternal.md +++ b/docs/models/allowlistedreadystatereasoninternal.md @@ -5,7 +5,7 @@ A narrowed subset of the deployment's `readyStateReasonInternal` — only values ## Example Usage ```typescript -import { AllowListedReadyStateReasonInternal } from "@vercel/sdk/models/twenty.js"; +import { AllowListedReadyStateReasonInternal } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: AllowListedReadyStateReasonInternal = "IGNORE_STEP"; ``` diff --git a/docs/models/app.md b/docs/models/app.md index 1147a059ef..73f969ed7c 100644 --- a/docs/models/app.md +++ b/docs/models/app.md @@ -5,7 +5,7 @@ Note that not all historical events have this field. ## Example Usage ```typescript -import { App } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { App } from "@vercel/sdk/models/eightytwo.js"; let value: App = { id: "", diff --git a/docs/models/appliesto.md b/docs/models/appliesto.md new file mode 100644 index 0000000000..c30377f544 --- /dev/null +++ b/docs/models/appliesto.md @@ -0,0 +1,17 @@ +# AppliesTo + +`api-key` scope only: key spend attributions covered. Absent means both. + +## Example Usage + +```typescript +import { AppliesTo } from "@vercel/sdk/models/aigatewaybudgetdefault.js"; + +let value: AppliesTo = "user"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/approvalscope.md b/docs/models/approvalscope.md index ae7eadeabe..1f4e7996d7 100644 --- a/docs/models/approvalscope.md +++ b/docs/models/approvalscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ApprovalScope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ApprovalScope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ApprovalScope = "all"; ``` diff --git a/docs/models/april2026securityincidentmigrationappliedfrom.md b/docs/models/april2026securityincidentmigrationappliedfrom.md index ad20d3360a..525666a6c2 100644 --- a/docs/models/april2026securityincidentmigrationappliedfrom.md +++ b/docs/models/april2026securityincidentmigrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { April2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { April2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/eightytwo.js"; let value: April2026SecurityIncidentMigrationAppliedFrom = "prod_deployment_urls_and_all_previews"; diff --git a/docs/models/archiveaigatewaybudgetdefaultqueryparamscopetype.md b/docs/models/archiveaigatewaybudgetdefaultqueryparamscopetype.md index d5b6adb6e3..6fc8ac5a4a 100644 --- a/docs/models/archiveaigatewaybudgetdefaultqueryparamscopetype.md +++ b/docs/models/archiveaigatewaybudgetdefaultqueryparamscopetype.md @@ -7,11 +7,11 @@ The budget default scope to delete. ```typescript import { ArchiveAiGatewayBudgetDefaultQueryParamScopeType } from "@vercel/sdk/models/archiveaigatewaybudgetdefaultop.js"; -let value: ArchiveAiGatewayBudgetDefaultQueryParamScopeType = "api-key"; +let value: ArchiveAiGatewayBudgetDefaultQueryParamScopeType = "user"; ``` ## Values ```typescript -"team" | "project" | "api-key" | "user" +"team" | "project" | "api-key" | "user" | "app" ``` \ No newline at end of file diff --git a/docs/models/archiveaigatewaybudgetqueryparamscopetype.md b/docs/models/archiveaigatewaybudgetqueryparamscopetype.md index d43fdd73df..d9da57042e 100644 --- a/docs/models/archiveaigatewaybudgetqueryparamscopetype.md +++ b/docs/models/archiveaigatewaybudgetqueryparamscopetype.md @@ -7,11 +7,11 @@ The budget scope to archive. ```typescript import { ArchiveAiGatewayBudgetQueryParamScopeType } from "@vercel/sdk/models/archiveaigatewaybudgetop.js"; -let value: ArchiveAiGatewayBudgetQueryParamScopeType = "project"; +let value: ArchiveAiGatewayBudgetQueryParamScopeType = "user"; ``` ## Values ```typescript -"team" | "project" | "user" +"team" | "project" | "user" | "app" ``` \ No newline at end of file diff --git a/docs/models/archiveaigatewaybudgetrequest.md b/docs/models/archiveaigatewaybudgetrequest.md index 8bd776abfd..0bbda94ca4 100644 --- a/docs/models/archiveaigatewaybudgetrequest.md +++ b/docs/models/archiveaigatewaybudgetrequest.md @@ -6,7 +6,7 @@ import { ArchiveAiGatewayBudgetRequest } from "@vercel/sdk/models/archiveaigatewaybudgetop.js"; let value: ArchiveAiGatewayBudgetRequest = { - scopeType: "project", + scopeType: "user", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; @@ -19,6 +19,7 @@ let value: ArchiveAiGatewayBudgetRequest = { | `scopeType` | [models.ArchiveAiGatewayBudgetQueryParamScopeType](../models/archiveaigatewaybudgetqueryparamscopetype.md) | :heavy_check_mark: | The budget scope to archive. | | | `projectId` | *string* | :heavy_minus_sign: | Required when scopeType is \"project\". | | | `userId` | *string* | :heavy_minus_sign: | Required when scopeType is \"user\". | | +| `appId` | *string* | :heavy_minus_sign: | Required when scopeType is \"app\". The id of a Vercel App (`cl_…`). | | | `justification` | *string* | :heavy_minus_sign: | Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. | | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/author.md b/docs/models/author.md index 92a6994992..b8189cb0f2 100644 --- a/docs/models/author.md +++ b/docs/models/author.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Author } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Author } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Author = { date: "2024-08-24", diff --git a/docs/models/authtoken.md b/docs/models/authtoken.md index 046ae01355..8a71931a7f 100644 --- a/docs/models/authtoken.md +++ b/docs/models/authtoken.md @@ -12,6 +12,7 @@ let value: AuthToken = { createdAt: 1632816536002, expiresAt: 1632816536002, id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", + kind: "access-token", leakedAt: 1632816536002, name: "", origin: "github", @@ -30,6 +31,7 @@ let value: AuthToken = { | `createdAt` | *number* | :heavy_check_mark: | Timestamp (in milliseconds) of when the token was created. | 1632816536002 | | `expiresAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) of when the token expires. | 1632816536002 | | `id` | *string* | :heavy_check_mark: | The unique identifier of the token. | 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391 | +| `kind` | [models.AuthTokenKind](../models/authtokenkind.md) | :heavy_check_mark: | The user-facing kind of the token. | access-token | | `leakedAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) of when the token was marked as leaked. | 1632816536002 | | `leakedUrl` | *string* | :heavy_minus_sign: | URL where the token was discovered as leaked. | | | `name` | *string* | :heavy_check_mark: | The human-readable name of the token. | | diff --git a/docs/models/authtokenkind.md b/docs/models/authtokenkind.md new file mode 100644 index 0000000000..1040d6b6d4 --- /dev/null +++ b/docs/models/authtokenkind.md @@ -0,0 +1,17 @@ +# AuthTokenKind + +The user-facing kind of the token. + +## Example Usage + +```typescript +import { AuthTokenKind } from "@vercel/sdk/models/authtoken.js"; + +let value: AuthTokenKind = "access-token"; +``` + +## Values + +```typescript +"access-token" | "app" | "other" | "sign-in-session" +``` \ No newline at end of file diff --git a/docs/models/aws.md b/docs/models/aws.md index 1757c7dfab..78bf8a12e6 100644 --- a/docs/models/aws.md +++ b/docs/models/aws.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Aws } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Aws } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Aws = { subnetIds: [], diff --git a/docs/models/before.md b/docs/models/before.md index ee306c8a4c..72c9ded457 100644 --- a/docs/models/before.md +++ b/docs/models/before.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Before } from "@vercel/sdk/models/twenty.js"; +import { Before } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Before = {}; ``` diff --git a/docs/models/billingconsent.md b/docs/models/billingconsent.md index 097e4c29d0..969b81b236 100644 --- a/docs/models/billingconsent.md +++ b/docs/models/billingconsent.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BillingConsent } from "@vercel/sdk/models/oldssoprotection2.js"; +import { BillingConsent } from "@vercel/sdk/models/payloadstaticips.js"; let value: BillingConsent = "security-review-usage-billing-v1"; ``` diff --git a/docs/models/branchmatcher.md b/docs/models/branchmatcher.md index e9cadde8b5..25c10351e0 100644 --- a/docs/models/branchmatcher.md +++ b/docs/models/branchmatcher.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BranchMatcher } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { BranchMatcher } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: BranchMatcher = { pattern: "", @@ -16,4 +16,4 @@ let value: BranchMatcher = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `pattern` | *string* | :heavy_check_mark: | The pattern to match against branch names | -| `type` | [models.UserEventPayload317Type](../models/usereventpayload317type.md) | :heavy_check_mark: | The type of matching to perform | \ No newline at end of file +| `type` | [models.UserEventPayload320Type](../models/usereventpayload320type.md) | :heavy_check_mark: | The type of matching to perform | \ No newline at end of file diff --git a/docs/models/budget.md b/docs/models/budget.md index 9556334f91..d9242e49cf 100644 --- a/docs/models/budget.md +++ b/docs/models/budget.md @@ -5,7 +5,7 @@ Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in ## Example Usage ```typescript -import { Budget } from "@vercel/sdk/models/twenty.js"; +import { Budget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Budget = { limitAmount: 268.4, @@ -15,8 +15,9 @@ let value: Budget = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | -| `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | -| `refreshPeriod` | [models.PayloadRefreshPeriod](../models/payloadrefreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | +| `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | +| `refreshPeriod` | [models.PayloadRefreshPeriod](../models/payloadrefreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/budgetitem.md b/docs/models/budgetitem.md index 59a102ef19..2cefe861d5 100644 --- a/docs/models/budgetitem.md +++ b/docs/models/budgetitem.md @@ -5,7 +5,7 @@ Represents a budget for tracking and notifying teams on their spending. ## Example Usage ```typescript -import { BudgetItem } from "@vercel/sdk/models/oldssoprotection2.js"; +import { BudgetItem } from "@vercel/sdk/models/payloadstaticips.js"; let value: BudgetItem = { createdAt: 2024.42, @@ -36,11 +36,11 @@ let value: BudgetItem = { | `notifiedAt` | *number*[] | :heavy_check_mark: | Array of 50, 75, 100 to keep track of notifications sent out | | `pauseProjects` | *boolean* | :heavy_minus_sign: | Should all projects be paused if budget is exceeded | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | -| `pricingPlan` | [models.UserEventPayload410PricingPlan](../models/usereventpayload410pricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | -| `scope` | [models.UserEventPayload410Scope](../models/usereventpayload410scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | +| `pricingPlan` | [models.UserEventPayload415PricingPlan](../models/usereventpayload415pricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | +| `scope` | [models.UserEventPayload415Scope](../models/usereventpayload415scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | | `scopeId` | *string* | :heavy_minus_sign: | What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. | | `teamId` | *string* | :heavy_check_mark: | Partition key | -| `type` | [models.UserEventPayload410Type](../models/usereventpayload410type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload415Type](../models/usereventpayload415type.md) | :heavy_check_mark: | The budget type | | `updatedAt` | *number* | :heavy_minus_sign: | Date time when budget is updated last | | `webhookId` | *string* | :heavy_minus_sign: | Webhook id that corresponds to a webhook in Cosmos webhook collection | | `webhookNotified` | *boolean* | :heavy_minus_sign: | Keep track if the webhook has been called for the month | \ No newline at end of file diff --git a/docs/models/budgetscope.md b/docs/models/budgetscope.md index add13ec720..e74432a5fd 100644 --- a/docs/models/budgetscope.md +++ b/docs/models/budgetscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BudgetScope } from "@vercel/sdk/models/usereventpayload317type.js"; +import { BudgetScope } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: BudgetScope = "project"; ``` diff --git a/docs/models/buildqueueconfiguration.md b/docs/models/buildqueueconfiguration.md index 78e9b3c5cd..4b15e7a62f 100644 --- a/docs/models/buildqueueconfiguration.md +++ b/docs/models/buildqueueconfiguration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BuildQueueConfiguration } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { BuildQueueConfiguration } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: BuildQueueConfiguration = "WAIT_FOR_NAMESPACE_QUEUE"; ``` diff --git a/docs/models/ceilingmode.md b/docs/models/ceilingmode.md index 2293f1f5ef..7f6f6bc233 100644 --- a/docs/models/ceilingmode.md +++ b/docs/models/ceilingmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CeilingMode } from "@vercel/sdk/models/twenty.js"; +import { CeilingMode } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: CeilingMode = "until-requested"; ``` diff --git a/docs/models/change.md b/docs/models/change.md index 467cf84b96..77e3c5e06e 100644 --- a/docs/models/change.md +++ b/docs/models/change.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Change } from "@vercel/sdk/models/twenty.js"; +import { Change } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Change = "enable"; ``` diff --git a/docs/models/changedfields.md b/docs/models/changedfields.md index c3e77fdb13..ffdc70b304 100644 --- a/docs/models/changedfields.md +++ b/docs/models/changedfields.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ChangedFields } from "@vercel/sdk/models/twenty.js"; +import { ChangedFields } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ChangedFields = "rewriteModel"; ``` diff --git a/docs/models/changes.md b/docs/models/changes.md index 24b541ca76..e5e70bdd3d 100644 --- a/docs/models/changes.md +++ b/docs/models/changes.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Changes } from "@vercel/sdk/models/twenty.js"; +import { Changes } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Changes = {}; ``` diff --git a/docs/models/city.md b/docs/models/city.md index 85a6488f30..935ff744cd 100644 --- a/docs/models/city.md +++ b/docs/models/city.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { City } from "@vercel/sdk/models/newprojects.js"; +import { City } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: City = { names: { diff --git a/docs/models/closereason.md b/docs/models/closereason.md index 14e0587c71..01f3fce17b 100644 --- a/docs/models/closereason.md +++ b/docs/models/closereason.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CloseReason } from "@vercel/sdk/models/oldssoprotection2.js"; +import { CloseReason } from "@vercel/sdk/models/payloadstaticips.js"; let value: CloseReason = "resolved"; ``` diff --git a/docs/models/codereviewselection.md b/docs/models/codereviewselection.md index 54d5d393a1..332383330f 100644 --- a/docs/models/codereviewselection.md +++ b/docs/models/codereviewselection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CodeReviewSelection } from "@vercel/sdk/models/oldssoprotection2.js"; +import { CodeReviewSelection } from "@vercel/sdk/models/payloadstaticips.js"; let value: CodeReviewSelection = { initial: true, diff --git a/docs/models/commands.md b/docs/models/commands.md index 043175c202..2f73975951 100644 --- a/docs/models/commands.md +++ b/docs/models/commands.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Commands } from "@vercel/sdk/models/newprojects.js"; +import { Commands } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Commands = { command: "", diff --git a/docs/models/commit.md b/docs/models/commit.md index f6230f31cf..f08600bdf4 100644 --- a/docs/models/commit.md +++ b/docs/models/commit.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Commit } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Commit } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Commit = { id: "", diff --git a/docs/models/commitinfo.md b/docs/models/commitinfo.md index c93c85df30..3a8f414389 100644 --- a/docs/models/commitinfo.md +++ b/docs/models/commitinfo.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CommitInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { CommitInfo } from "@vercel/sdk/models/eightytwo.js"; let value: CommitInfo = { total: 8159.66, diff --git a/docs/models/commitment.md b/docs/models/commitment.md index ac4e6c6aaf..c39be0641e 100644 --- a/docs/models/commitment.md +++ b/docs/models/commitment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Commitment } from "@vercel/sdk/models/twenty.js"; +import { Commitment } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Commitment = { deferredInvoiceTargetBalance: "", diff --git a/docs/models/commitmetadata.md b/docs/models/commitmetadata.md index 990e2f4ea6..bfc1058c9b 100644 --- a/docs/models/commitmetadata.md +++ b/docs/models/commitmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CommitMetadata } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { CommitMetadata } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: CommitMetadata = { author: { diff --git a/docs/models/committer.md b/docs/models/committer.md index 642738d321..052562f0c2 100644 --- a/docs/models/committer.md +++ b/docs/models/committer.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Committer } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Committer } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Committer = { date: "2024-01-07", diff --git a/docs/models/commitverification.md b/docs/models/commitverification.md index 152ba3d165..78fec201d8 100644 --- a/docs/models/commitverification.md +++ b/docs/models/commitverification.md @@ -5,7 +5,7 @@ Since 6 Nov 2025 The verification status of the commit. - 'verified' if the comm ## Example Usage ```typescript -import { CommitVerification } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { CommitVerification } from "@vercel/sdk/models/eightytwo.js"; let value: CommitVerification = "unknown"; ``` diff --git a/docs/models/configchanges.md b/docs/models/configchanges.md index 1665dea7cf..d831e8b227 100644 --- a/docs/models/configchanges.md +++ b/docs/models/configchanges.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ConfigChanges } from "@vercel/sdk/models/newprojects.js"; +import { ConfigChanges } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: ConfigChanges = {}; ``` diff --git a/docs/models/configuration.md b/docs/models/configuration.md index 67d10883dc..dda28522b4 100644 --- a/docs/models/configuration.md +++ b/docs/models/configuration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Configuration } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Configuration } from "@vercel/sdk/models/eightytwo.js"; let value: Configuration = { id: "", diff --git a/docs/models/configurations.md b/docs/models/configurations.md index 8d86897c38..c47f90a26c 100644 --- a/docs/models/configurations.md +++ b/docs/models/configurations.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Configurations } from "@vercel/sdk/models/newprojects.js"; +import { Configurations } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Configurations = { configurationId: "", diff --git a/docs/models/connectupdateconnectorrequest.md b/docs/models/connectupdateconnectorrequest.md index af23c707d8..3ebe9762c9 100644 --- a/docs/models/connectupdateconnectorrequest.md +++ b/docs/models/connectupdateconnectorrequest.md @@ -23,5 +23,5 @@ let value: ConnectUpdateConnectorRequest = {}; | `icon` | *string* | :heavy_minus_sign: | SHA-1 digest of a PNG or JPEG icon that is at least 640 by 640 pixels. This field does not accept a URL or image bytes.

First compute the digest and upload the raw image with [POST /v2/files](https://vercel.com/docs/rest-api/deployments/upload-deployment-files). Send `Content-Length` and the same 40-character digest in `x-vercel-digest`. Then set `icon` to that digest.

```js
import { createHash } from 'node:crypto';
import { readFile } from 'node:fs/promises';

const VERCEL_TOKEN = process.env.VERCEL_TOKEN;
const connectorId = 'scl_...';
const bytes = await readFile('icon.png');
const digest = createHash('sha1').update(bytes).digest('hex');

await fetch('https://api.vercel.com/v2/files', {
method: 'POST',
headers: {
Authorization: `Bearer ${VERCEL_TOKEN}`,
'Content-Type': 'application/octet-stream',
'Content-Length': String(bytes.length),
'x-vercel-digest': digest,
},
body: bytes,
});

await fetch(`https://api.vercel.com/v2/connect/connectors/${connectorId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${VERCEL_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ icon: digest }),
});
```
| | `backgroundColor` | *string* | :heavy_minus_sign: | N/A | | `accentColor` | *string* | :heavy_minus_sign: | N/A | -| `uid` | *string* | :heavy_minus_sign: | Full team-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change. | +| `uid` | *string* | :heavy_minus_sign: | Full team- or organization-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change. | | `name` | *string* | :heavy_minus_sign: | Display name for the connector. It is trimmed and cannot be empty or contain control characters. | \ No newline at end of file diff --git a/docs/models/consent.md b/docs/models/consent.md index 88eabb6980..14a748cc48 100644 --- a/docs/models/consent.md +++ b/docs/models/consent.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Consent } from "@vercel/sdk/models/usereventpayload317type.js"; +import { Consent } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: Consent = "granted"; ``` diff --git a/docs/models/consolidatedgitcommitstatus.md b/docs/models/consolidatedgitcommitstatus.md index 8abd2ce331..cd007939d3 100644 --- a/docs/models/consolidatedgitcommitstatus.md +++ b/docs/models/consolidatedgitcommitstatus.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ConsolidatedGitCommitStatus } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ConsolidatedGitCommitStatus } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ConsolidatedGitCommitStatus = { enabled: true, diff --git a/docs/models/context.md b/docs/models/context.md index 5a9e371dbf..1db733ffe5 100644 --- a/docs/models/context.md +++ b/docs/models/context.md @@ -5,7 +5,7 @@ Absent on events predating the field; those were all logins. ## Example Usage ```typescript -import { Context } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Context } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Context = "sudo"; ``` diff --git a/docs/models/country.md b/docs/models/country.md index 668f903f0e..05de12b4e1 100644 --- a/docs/models/country.md +++ b/docs/models/country.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Country } from "@vercel/sdk/models/newprojects.js"; +import { Country } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Country = { names: { diff --git a/docs/models/createauthtokenresponsebody.md b/docs/models/createauthtokenresponsebody.md index 037e9489cf..0b2714635c 100644 --- a/docs/models/createauthtokenresponsebody.md +++ b/docs/models/createauthtokenresponsebody.md @@ -14,6 +14,7 @@ let value: CreateAuthTokenResponseBody = { createdAt: 1632816536002, expiresAt: 1632816536002, id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", + kind: "access-token", leakedAt: 1632816536002, name: "", origin: "github", diff --git a/docs/models/createdeployments.md b/docs/models/createdeployments.md index e7ba9fad24..ad1e116efa 100644 --- a/docs/models/createdeployments.md +++ b/docs/models/createdeployments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateDeployments } from "@vercel/sdk/models/usereventpayload317type.js"; +import { CreateDeployments } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: CreateDeployments = "enabled"; ``` diff --git a/docs/models/createedgeconfigtokenrequest.md b/docs/models/createedgeconfigtokenrequest.md index 1f1a38bd5d..f8bc1badcc 100644 --- a/docs/models/createedgeconfigtokenrequest.md +++ b/docs/models/createedgeconfigtokenrequest.md @@ -6,7 +6,7 @@ import { CreateEdgeConfigTokenRequest } from "@vercel/sdk/models/createedgeconfigtokenop.js"; let value: CreateEdgeConfigTokenRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", requestBody: { diff --git a/docs/models/createsandboxessessionsbysessionidsnapshotv2responsebody.md b/docs/models/createsandboxessessionsbysessionidsnapshotv2responsebody.md index 4e381b5910..e1cbd48fac 100644 --- a/docs/models/createsandboxessessionsbysessionidsnapshotv2responsebody.md +++ b/docs/models/createsandboxessessionsbysessionidsnapshotv2responsebody.md @@ -75,6 +75,7 @@ let value: CreateSandboxesSessionsBySessionIdSnapshotV2ResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/createsandboxessessionsbysessionidsnapshotv3responsebody.md b/docs/models/createsandboxessessionsbysessionidsnapshotv3responsebody.md index 6aac1ceee1..05b2884767 100644 --- a/docs/models/createsandboxessessionsbysessionidsnapshotv3responsebody.md +++ b/docs/models/createsandboxessessionsbysessionidsnapshotv3responsebody.md @@ -75,6 +75,7 @@ let value: CreateSandboxesSessionsBySessionIdSnapshotV3ResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/createwebhookevents.md b/docs/models/createwebhookevents.md index a17343c555..e3be570ac4 100644 --- a/docs/models/createwebhookevents.md +++ b/docs/models/createwebhookevents.md @@ -5,11 +5,11 @@ ```typescript import { CreateWebhookEvents } from "@vercel/sdk/models/createwebhookop.js"; -let value: CreateWebhookEvents = "deployment"; +let value: CreateWebhookEvents = "domain-created"; ``` ## Values ```typescript -"budget.reached" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.build-requested" | "deployment.cleanup" | "deployment.error" | "deployment.blocked" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.rollback" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.system-rule-anomaly" | "firewall.custom-rule-anomaly" | "function.archival-required" | "function.removal-required" | "alerts.triggered" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.renamed" | "project.env-variable.created" | "project.env-variable.updated" | "project.env-variable.deleted" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.refunded" | "ai-gateway.balance-depleted" | "ai-gateway.auto-reload.limit-reached" | "ai-gateway.budget.updated" | "page-integrity.script.detected" | "page-integrity.script.changed" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "botid.anomaly" | "flag.created" | "flag.updated" | "flag.deleted" | "flag.segment.created" | "flag.segment.updated" | "flag.segment.deleted" | "test-webhook" | "message.created" | "message.updated" | "message.deleted" | "thread.resolved" | "thread.unresolved" | "message.reaction-added" | "message.reaction-removed" | "message.mentioned" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.resolved" | "comment.unresolved" | "comment.reaction-added" | "comment.reaction-removed" | "comment.mentioned" +"budget.reached" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.build-requested" | "deployment.cleanup" | "deployment.error" | "deployment.blocked" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.rollback" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.system-rule-anomaly" | "firewall.custom-rule-anomaly" | "function.archival-required" | "function.removal-required" | "alerts.triggered" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "sandbox.session.expiring" | "sandbox.session.started" | "sandbox.session.stopped" | "project.created" | "project.removed" | "project.renamed" | "project.env-variable.created" | "project.env-variable.updated" | "project.env-variable.deleted" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.refunded" | "ai-gateway.balance-depleted" | "ai-gateway.auto-reload.limit-reached" | "ai-gateway.budget.updated" | "page-integrity.script.detected" | "page-integrity.script.changed" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "botid.anomaly" | "flag.created" | "flag.updated" | "flag.deleted" | "flag.segment.created" | "flag.segment.updated" | "flag.segment.deleted" | "test-webhook" | "message.created" | "message.updated" | "message.deleted" | "thread.resolved" | "thread.unresolved" | "message.reaction-added" | "message.reaction-removed" | "message.mentioned" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.resolved" | "comment.unresolved" | "comment.reaction-added" | "comment.reaction-removed" | "comment.mentioned" ``` \ No newline at end of file diff --git a/docs/models/createwebhookwebhooksevents.md b/docs/models/createwebhookwebhooksevents.md index 4859af21a6..e70545bd87 100644 --- a/docs/models/createwebhookwebhooksevents.md +++ b/docs/models/createwebhookwebhooksevents.md @@ -13,5 +13,5 @@ let value: CreateWebhookWebhooksEvents = "deployment.created"; ## Values ```typescript -"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "test-webhook" | "thread.resolved" | "thread.unresolved" +"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "sandbox.session.expiring" | "sandbox.session.started" | "sandbox.session.stopped" | "test-webhook" | "thread.resolved" | "thread.unresolved" ``` \ No newline at end of file diff --git a/docs/models/credential.md b/docs/models/credential.md index 21f18ddb57..c7983287e4 100644 --- a/docs/models/credential.md +++ b/docs/models/credential.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Credential } from "@vercel/sdk/models/twenty.js"; +import { Credential } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Credential = { id: "", diff --git a/docs/models/current.md b/docs/models/current.md index d1cd13cbb5..5db3144499 100644 --- a/docs/models/current.md +++ b/docs/models/current.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Current } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Current } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Current = { awsServiceName: "", diff --git a/docs/models/customallow.md b/docs/models/customallow.md index 2baa20ada8..6edb25a21b 100644 --- a/docs/models/customallow.md +++ b/docs/models/customallow.md @@ -19,5 +19,5 @@ let value: CustomAllow = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `to` | *models.To* | :heavy_check_mark: | A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. | +| `to` | *models.UpdateProjectTo* | :heavy_check_mark: | A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. | | `from` | *models.From* | :heavy_check_mark: | A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. | \ No newline at end of file diff --git a/docs/models/cve55182migrationappliedfrom.md b/docs/models/cve55182migrationappliedfrom.md index 31fc29008b..6f3e261461 100644 --- a/docs/models/cve55182migrationappliedfrom.md +++ b/docs/models/cve55182migrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Cve55182MigrationAppliedFrom } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Cve55182MigrationAppliedFrom } from "@vercel/sdk/models/eightytwo.js"; let value: Cve55182MigrationAppliedFrom = "preview"; ``` diff --git a/docs/models/data1.md b/docs/models/data1.md index f0ea0d985a..f54173e787 100644 --- a/docs/models/data1.md +++ b/docs/models/data1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Data1 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Data1 } from "@vercel/sdk/models/eightytwo.js"; let value: Data1 = { planSlug: "v0_teams", diff --git a/docs/models/data2.md b/docs/models/data2.md index df8e3682e8..65c1c844f6 100644 --- a/docs/models/data2.md +++ b/docs/models/data2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Data2 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Data2 } from "@vercel/sdk/models/eightytwo.js"; let value: Data2 = { planSlug: "hobby", diff --git a/docs/models/datareason.md b/docs/models/datareason.md index b56a76a592..6b439be6fc 100644 --- a/docs/models/datareason.md +++ b/docs/models/datareason.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DataReason } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { DataReason } from "@vercel/sdk/models/eightytwo.js"; let value: DataReason = "non-payment"; ``` diff --git a/docs/models/decision.md b/docs/models/decision.md index ced38e4cc9..c41bf54261 100644 --- a/docs/models/decision.md +++ b/docs/models/decision.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Decision } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Decision } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Decision = "keep_on"; ``` diff --git a/docs/models/defaultcoveredcounts.md b/docs/models/defaultcoveredcounts.md index 85848fd98f..1f24100a88 100644 --- a/docs/models/defaultcoveredcounts.md +++ b/docs/models/defaultcoveredcounts.md @@ -17,9 +17,10 @@ let value: DefaultCoveredCounts = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `apiKey` | *number* | :heavy_check_mark: | N/A | -| `project` | *number* | :heavy_check_mark: | N/A | -| `team` | *number* | :heavy_check_mark: | N/A | -| `user` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *number* | :heavy_check_mark: | N/A | +| `app` | *number* | :heavy_minus_sign: | Omitted when no app row is default-covered. | +| `project` | *number* | :heavy_check_mark: | N/A | +| `team` | *number* | :heavy_check_mark: | N/A | +| `user` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/defaultmode.md b/docs/models/defaultmode.md index 3d68464ed9..5873d6e4bd 100644 --- a/docs/models/defaultmode.md +++ b/docs/models/defaultmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DefaultMode } from "@vercel/sdk/models/twenty.js"; +import { DefaultMode } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: DefaultMode = "until-requested"; ``` diff --git a/docs/models/deleteduser.md b/docs/models/deleteduser.md index 9485b1ceea..dd903f3834 100644 --- a/docs/models/deleteduser.md +++ b/docs/models/deleteduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeletedUser } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { DeletedUser } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: DeletedUser = { email: "Henderson.Gibson@yahoo.com", diff --git a/docs/models/deleteedgeconfigtokensrequest.md b/docs/models/deleteedgeconfigtokensrequest.md index c4649723e0..2f83fc1386 100644 --- a/docs/models/deleteedgeconfigtokensrequest.md +++ b/docs/models/deleteedgeconfigtokensrequest.md @@ -6,7 +6,7 @@ import { DeleteEdgeConfigTokensRequest } from "@vercel/sdk/models/deleteedgeconfigtokensop.js"; let value: DeleteEdgeConfigTokensRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", requestBody: { diff --git a/docs/models/deletesandboxresponsebody.md b/docs/models/deletesandboxresponsebody.md index 033cd91028..c1fe40899d 100644 --- a/docs/models/deletesandboxresponsebody.md +++ b/docs/models/deletesandboxresponsebody.md @@ -11,6 +11,7 @@ let value: DeleteSandboxResponseBody = { currentSessionId: "", cwd: "/vercel/sandbox", expiresAt: 1750344801629, + expiryNotificationLeadTime: 60000, failoverRegions: [ "sfo1", "cle1", diff --git a/docs/models/deployhook.md b/docs/models/deployhook.md index 0bca13a943..ad5a92cc95 100644 --- a/docs/models/deployhook.md +++ b/docs/models/deployhook.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeployHook } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { DeployHook } from "@vercel/sdk/models/eightytwo.js"; let value: DeployHook = { createdAt: 4160.67, diff --git a/docs/models/deployment.md b/docs/models/deployment.md index e12ad81cec..972d6d1d36 100644 --- a/docs/models/deployment.md +++ b/docs/models/deployment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Deployment } from "@vercel/sdk/models/twenty.js"; +import { Deployment } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Deployment = { id: "", diff --git a/docs/models/dismissalreason.md b/docs/models/dismissalreason.md index 59244cf863..26fc8a9506 100644 --- a/docs/models/dismissalreason.md +++ b/docs/models/dismissalreason.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DismissalReason } from "@vercel/sdk/models/oldssoprotection2.js"; +import { DismissalReason } from "@vercel/sdk/models/payloadstaticips.js"; let value: DismissalReason = "accepted-risk"; ``` diff --git a/docs/models/documents.md b/docs/models/documents.md index 1ceb46f492..97d12fcccc 100644 --- a/docs/models/documents.md +++ b/docs/models/documents.md @@ -5,7 +5,7 @@ A single document included in a bulk compliance download. ## Example Usage ```typescript -import { Documents } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Documents } from "@vercel/sdk/models/eightytwo.js"; let value: Documents = { documentId: "", diff --git a/docs/models/echmode.md b/docs/models/echmode.md index 4256137b65..f4c3b61e1b 100644 --- a/docs/models/echmode.md +++ b/docs/models/echmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EchMode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { EchMode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: EchMode = "enabled"; ``` diff --git a/docs/models/edgeconfig.md b/docs/models/edgeconfig.md index 0cf8dbf502..3959c1c750 100644 --- a/docs/models/edgeconfig.md +++ b/docs/models/edgeconfig.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EdgeConfig } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { EdgeConfig } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: EdgeConfig = { id: "", diff --git a/docs/models/edgeconfigschema.md b/docs/models/edgeconfigschema.md index c18b53c078..9c13d942e4 100644 --- a/docs/models/edgeconfigschema.md +++ b/docs/models/edgeconfigschema.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EdgeConfigSchema } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { EdgeConfigSchema } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: EdgeConfigSchema = {}; ``` diff --git a/docs/models/eighty.md b/docs/models/eighty.md index 318984bae2..1c7be4987e 100644 --- a/docs/models/eighty.md +++ b/docs/models/eighty.md @@ -5,20 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Eighty } from "@vercel/sdk/models/twenty.js"; +import { Eighty } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Eighty = { appName: "", + nextScopes: [ + "openid", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `after` | [models.After](../models/after.md) | :heavy_minus_sign: | N/A | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `before` | [models.Before](../models/before.md) | :heavy_minus_sign: | N/A | -| `installationId` | *string* | :heavy_minus_sign: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `nextPermissions` | [models.NextPermissions](../models/nextpermissions.md)[] | :heavy_minus_sign: | N/A | +| `nextScopes` | [models.NextScopes](../models/nextscopes.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightyeight.md b/docs/models/eightyeight.md index c139a8a340..6a3e0e25a1 100644 --- a/docs/models/eightyeight.md +++ b/docs/models/eightyeight.md @@ -5,21 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyEight } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyEight } from "@vercel/sdk/models/eightytwo.js"; -let value: EightyEight = { - amount: 9902.77, - invoiceId: "", - lineItemCount: 6783.83, - refundReason: "", -}; +let value: EightyEight = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `amount` | *number* | :heavy_check_mark: | N/A | -| `invoiceId` | *string* | :heavy_check_mark: | N/A | -| `lineItemCount` | *number* | :heavy_check_mark: | N/A | -| `refundReason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightyfive.md b/docs/models/eightyfive.md index 0ab22206c9..3d043e0686 100644 --- a/docs/models/eightyfive.md +++ b/docs/models/eightyfive.md @@ -5,20 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyFive } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyFive } from "@vercel/sdk/models/eightytwo.js"; let value: EightyFive = { - attackModeEnabled: false, - projectId: "", + appName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `attackModeEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `prevAttackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `prevAttackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightyfour.md b/docs/models/eightyfour.md index 9e88dd5a4f..13036ed9c3 100644 --- a/docs/models/eightyfour.md +++ b/docs/models/eightyfour.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyFour } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyFour } from "@vercel/sdk/models/eightytwo.js"; let value: EightyFour = { appName: "", @@ -14,8 +14,9 @@ let value: EightyFour = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `app` | [models.App](../models/app.md) | :heavy_minus_sign: | Note that not all historical events have this field. | +| `appId` | *string* | :heavy_minus_sign: | The App's ID. Note that not all historical events have this field. | +| `appName` | *string* | :heavy_check_mark: | The App's name at the moment this even was published (it may have changed since then). | +| `issuedBefore` | *number* | :heavy_minus_sign: | UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field. | \ No newline at end of file diff --git a/docs/models/eightynine.md b/docs/models/eightynine.md index ff43c2247d..913f83899e 100644 --- a/docs/models/eightynine.md +++ b/docs/models/eightynine.md @@ -5,21 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyNine } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyNine } from "@vercel/sdk/models/eightytwo.js"; let value: EightyNine = { amount: 3127.76, invoiceId: "", - newInvoiceId: "", - settlementMethod: "credited-paid", + lineItemCount: 1187.16, + refundReason: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `amount` | *number* | :heavy_check_mark: | N/A | -| `invoiceId` | *string* | :heavy_check_mark: | N/A | -| `newInvoiceId` | *string* | :heavy_check_mark: | N/A | -| `settlementMethod` | [models.SettlementMethod](../models/settlementmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `amount` | *number* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `lineItemCount` | *number* | :heavy_check_mark: | N/A | +| `refundReason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightyone.md b/docs/models/eightyone.md index e2d8034595..df97cb944a 100644 --- a/docs/models/eightyone.md +++ b/docs/models/eightyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyOne } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: EightyOne = { appName: "", @@ -14,10 +14,11 @@ let value: EightyOne = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | -| `permissions` | [models.PayloadPermissions](../models/payloadpermissions.md)[] | :heavy_minus_sign: | N/A | -| `resources` | [models.Resources](../models/resources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `after` | [models.After](../models/after.md) | :heavy_minus_sign: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `before` | [models.Before](../models/before.md) | :heavy_minus_sign: | N/A | +| `installationId` | *string* | :heavy_minus_sign: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightyseven.md b/docs/models/eightyseven.md index 60ecb05992..e9518509fe 100644 --- a/docs/models/eightyseven.md +++ b/docs/models/eightyseven.md @@ -5,13 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightySeven } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightySeven } from "@vercel/sdk/models/eightytwo.js"; -let value: EightySeven = {}; +let value: EightySeven = { + autoExposeSystemEnvs: true, + projectName: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `autoExposeSystemEnvs` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightysix.md b/docs/models/eightysix.md index 0e18b0280b..ccaf75cca1 100644 --- a/docs/models/eightysix.md +++ b/docs/models/eightysix.md @@ -5,18 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightySix } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightySix } from "@vercel/sdk/models/eightytwo.js"; let value: EightySix = { - autoExposeSystemEnvs: false, - projectName: "", + attackModeEnabled: false, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `autoExposeSystemEnvs` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `attackModeEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `prevAttackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `prevAttackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightythree.md b/docs/models/eightythree.md index f1aca68db4..39491fc42c 100644 --- a/docs/models/eightythree.md +++ b/docs/models/eightythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyThree } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyThree } from "@vercel/sdk/models/eightytwo.js"; let value: EightyThree = { appName: "", @@ -14,9 +14,8 @@ let value: EightyThree = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `app` | [models.App](../models/app.md) | :heavy_minus_sign: | Note that not all historical events have this field. | -| `appId` | *string* | :heavy_minus_sign: | The App's ID. Note that not all historical events have this field. | -| `appName` | *string* | :heavy_check_mark: | The App's name at the moment this even was published (it may have changed since then). | -| `issuedBefore` | *number* | :heavy_minus_sign: | UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `secretLastFourChars` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightytwo.md b/docs/models/eightytwo.md index a812dd4da3..6df6e14a7d 100644 --- a/docs/models/eightytwo.md +++ b/docs/models/eightytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { EightyTwo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { EightyTwo } from "@vercel/sdk/models/eightytwo.js"; let value: EightyTwo = { appName: "", @@ -14,8 +14,10 @@ let value: EightyTwo = { ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `secretLastFourChars` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | +| `permissions` | [models.PayloadPermissions](../models/payloadpermissions.md)[] | :heavy_minus_sign: | N/A | +| `resources` | [models.Resources](../models/resources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/enabled.md b/docs/models/enabled.md index c1438b689f..a94cbb6725 100644 --- a/docs/models/enabled.md +++ b/docs/models/enabled.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Enabled } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Enabled } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Enabled = "default-force"; ``` diff --git a/docs/models/endpoint.md b/docs/models/endpoint.md index 2e691bc8ff..c0be953815 100644 --- a/docs/models/endpoint.md +++ b/docs/models/endpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Endpoint } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Endpoint } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Endpoint = { awsServiceName: "", diff --git a/docs/models/enforcementscope.md b/docs/models/enforcementscope.md index 5b3d125f90..ce777bc82b 100644 --- a/docs/models/enforcementscope.md +++ b/docs/models/enforcementscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EnforcementScope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { EnforcementScope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: EnforcementScope = "all"; ``` diff --git a/docs/models/env.md b/docs/models/env.md index 05de2e0a97..1bfafd5660 100644 --- a/docs/models/env.md +++ b/docs/models/env.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Env } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Env } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Env = "preview"; ``` diff --git a/docs/models/envid2.md b/docs/models/envid2.md index d444338152..7fe7f12176 100644 --- a/docs/models/envid2.md +++ b/docs/models/envid2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { EnvId2 } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { EnvId2 } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: EnvId2 = "preview"; ``` diff --git a/docs/models/extendsessiontimeoutresponsebody.md b/docs/models/extendsessiontimeoutresponsebody.md index 51de8cb739..f77a0d41bc 100644 --- a/docs/models/extendsessiontimeoutresponsebody.md +++ b/docs/models/extendsessiontimeoutresponsebody.md @@ -77,6 +77,7 @@ let value: ExtendSessionTimeoutResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/factors1.md b/docs/models/factors1.md index 8c5227326a..8d2a5b56cb 100644 --- a/docs/models/factors1.md +++ b/docs/models/factors1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Factors1 } from "@vercel/sdk/models/newprojects.js"; +import { Factors1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Factors1 = { origin: "bitbucket", diff --git a/docs/models/factorsorigin.md b/docs/models/factorsorigin.md index 671272a66a..f44a402918 100644 --- a/docs/models/factorsorigin.md +++ b/docs/models/factorsorigin.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FactorsOrigin } from "@vercel/sdk/models/newprojects.js"; +import { FactorsOrigin } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: FactorsOrigin = "saml"; ``` diff --git a/docs/models/failuremode.md b/docs/models/failuremode.md index 594d989874..6f0d014c05 100644 --- a/docs/models/failuremode.md +++ b/docs/models/failuremode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FailureMode } from "@vercel/sdk/models/twenty.js"; +import { FailureMode } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FailureMode = "open"; ``` diff --git a/docs/models/failurestage.md b/docs/models/failurestage.md index c1840123a1..5c55333063 100644 --- a/docs/models/failurestage.md +++ b/docs/models/failurestage.md @@ -5,7 +5,7 @@ Mirrors `PushFailureStage` in `api-git-providers`. ## Example Usage ```typescript -import { FailureStage } from "@vercel/sdk/models/newprojects.js"; +import { FailureStage } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: FailureStage = "push"; ``` diff --git a/docs/models/fifty.md b/docs/models/fifty.md index fad956d5dc..74c2626182 100644 --- a/docs/models/fifty.md +++ b/docs/models/fifty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Fifty } from "@vercel/sdk/models/twenty.js"; +import { Fifty } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Fifty = { enabled: true, diff --git a/docs/models/fiftyeight.md b/docs/models/fiftyeight.md index 96b6c3166a..824bd128c7 100644 --- a/docs/models/fiftyeight.md +++ b/docs/models/fiftyeight.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyEight } from "@vercel/sdk/models/twenty.js"; +import { FiftyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyEight = { virtualModelConfig: { @@ -16,7 +16,6 @@ let value: FiftyEight = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `changedFields` | [models.PayloadChangedFields](../models/payloadchangedfields.md)[] | :heavy_minus_sign: | N/A | -| `virtualModelConfig` | [models.PayloadVirtualModelConfig](../models/payloadvirtualmodelconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `virtualModelConfig` | [models.VirtualModelConfig](../models/virtualmodelconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyfive.md b/docs/models/fiftyfive.md index 304ae56879..d1bc0c680f 100644 --- a/docs/models/fiftyfive.md +++ b/docs/models/fiftyfive.md @@ -5,18 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyFive } from "@vercel/sdk/models/twenty.js"; +import { FiftyFive } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyFive = { - rule: { - id: "", - type: "", + retention: { + ceilingMode: "days", + defaultMode: "days", }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `rule` | [models.Rule](../models/rule.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `retention` | [models.Retention](../models/retention.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyfour.md b/docs/models/fiftyfour.md index 577b5d8e76..d61c44220f 100644 --- a/docs/models/fiftyfour.md +++ b/docs/models/fiftyfour.md @@ -5,18 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyFour } from "@vercel/sdk/models/twenty.js"; +import { FiftyFour } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyFour = { - retention: { - ceilingMode: "days", - defaultMode: "until-requested", - }, + headerNames: [], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `retention` | [models.Retention](../models/retention.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `headerNames` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftynine.md b/docs/models/fiftynine.md index 8ac3cdb499..48b9dafa88 100644 --- a/docs/models/fiftynine.md +++ b/docs/models/fiftynine.md @@ -5,21 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyNine } from "@vercel/sdk/models/twenty.js"; +import { FiftyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyNine = { - accessGroup: { + virtualModelConfig: { id: "", - name: "", }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `accessGroup` | [models.AccessGroup](../models/accessgroup.md) | :heavy_check_mark: | N/A | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | -| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `changedFields` | [models.PayloadChangedFields](../models/payloadchangedfields.md)[] | :heavy_minus_sign: | N/A | +| `virtualModelConfig` | [models.PayloadVirtualModelConfig](../models/payloadvirtualmodelconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyone.md b/docs/models/fiftyone.md index 37f0bd4acc..249086b5cf 100644 --- a/docs/models/fiftyone.md +++ b/docs/models/fiftyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyOne } from "@vercel/sdk/models/twenty.js"; +import { FiftyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyOne = { endpointOrigin: "", diff --git a/docs/models/fiftyseven.md b/docs/models/fiftyseven.md index 4f823351da..2009626c79 100644 --- a/docs/models/fiftyseven.md +++ b/docs/models/fiftyseven.md @@ -5,17 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftySeven } from "@vercel/sdk/models/twenty.js"; +import { FiftySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftySeven = { - virtualModelConfig: { + rule: { id: "", + type: "", }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `virtualModelConfig` | [models.VirtualModelConfig](../models/virtualmodelconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `changedFields` | [models.ChangedFields](../models/changedfields.md)[] | :heavy_minus_sign: | N/A | +| `enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `previousRewriteModel` | *string* | :heavy_minus_sign: | N/A | +| `rule` | [models.PayloadRule](../models/payloadrule.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftysix.md b/docs/models/fiftysix.md index d019cbe2a7..0fbc89ad24 100644 --- a/docs/models/fiftysix.md +++ b/docs/models/fiftysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftySix } from "@vercel/sdk/models/twenty.js"; +import { FiftySix } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftySix = { rule: { @@ -17,9 +17,6 @@ let value: FiftySix = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `changedFields` | [models.ChangedFields](../models/changedfields.md)[] | :heavy_minus_sign: | N/A | -| `enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `previousRewriteModel` | *string* | :heavy_minus_sign: | N/A | -| `rule` | [models.PayloadRule](../models/payloadrule.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `rule` | [models.Rule](../models/rule.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftythree.md b/docs/models/fiftythree.md index 7e9d99afd3..40463b0e07 100644 --- a/docs/models/fiftythree.md +++ b/docs/models/fiftythree.md @@ -5,19 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyThree } from "@vercel/sdk/models/twenty.js"; +import { FiftyThree } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: FiftyThree = { - headerNames: [ - "", - "", - "", - ], -}; +let value: FiftyThree = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `headerNames` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `previousSecretGracePeriodHours` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fiftytwo.md b/docs/models/fiftytwo.md index 62e5381b92..1f43b0f1ea 100644 --- a/docs/models/fiftytwo.md +++ b/docs/models/fiftytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiftyTwo } from "@vercel/sdk/models/twenty.js"; +import { FiftyTwo } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FiftyTwo = {}; ``` diff --git a/docs/models/filters.md b/docs/models/filters.md index 916cd802cd..dc4613a25b 100644 --- a/docs/models/filters.md +++ b/docs/models/filters.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Filters } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Filters } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Filters = {}; ``` diff --git a/docs/models/fivehundred.md b/docs/models/fivehundred.md index 90ef01a912..7af9634f87 100644 --- a/docs/models/fivehundred.md +++ b/docs/models/fivehundred.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundred } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundred } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundred = { - action: "disable", - reason: "", + actorId: "", + actorType: "admin", + enabled: true, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload500Action](../models/usereventpayload500action.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_check_mark: | N/A | +| `actorType` | [models.UserEventPayload500ActorType](../models/usereventpayload500actortype.md) | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandeight.md b/docs/models/fivehundredandeight.md index bb47715c51..01cbe47a3e 100644 --- a/docs/models/fivehundredandeight.md +++ b/docs/models/fivehundredandeight.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndEight } from "@vercel/sdk/models/payloadoutcome.js"; +import { FiveHundredAndEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndEight = { - email: "Clifford66@yahoo.com", - prevEmail: "", + mfaEnabled: true, }; ``` @@ -17,5 +16,4 @@ let value: FiveHundredAndEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `prevEmail` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `mfaEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandeighteen.md b/docs/models/fivehundredandeighteen.md index c784324a33..6414ddefa1 100644 --- a/docs/models/fivehundredandeighteen.md +++ b/docs/models/fivehundredandeighteen.md @@ -8,7 +8,10 @@ The payload of the event, if requested. import { FiveHundredAndEighteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndEighteen = { - ruleName: "", + projectId: "", + projectName: "", + reference: "", + repositoryName: "", }; ``` @@ -16,4 +19,7 @@ let value: FiveHundredAndEighteen = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `ruleName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `reference` | *string* | :heavy_check_mark: | N/A | +| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandeleven.md b/docs/models/fivehundredandeleven.md index ba5d57d696..461eecfbee 100644 --- a/docs/models/fivehundredandeleven.md +++ b/docs/models/fivehundredandeleven.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndEleven } from "@vercel/sdk/models/payloadoutcome.js"; +import { FiveHundredAndEleven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndEleven = { - projectId: "", - projectName: "", - repositoryName: "", + next: { + enabled: true, + totpVerified: false, + }, + previous: { + enabled: true, + totpVerified: true, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload511Next](../models/usereventpayload511next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload511Previous](../models/usereventpayload511previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfifteen.md b/docs/models/fivehundredandfifteen.md index 04b2547f8d..83ec62f185 100644 --- a/docs/models/fivehundredandfifteen.md +++ b/docs/models/fivehundredandfifteen.md @@ -8,18 +8,17 @@ The payload of the event, if requested. import { FiveHundredAndFifteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFifteen = { - projectId: "", - projectName: "", - repositoryName: "", - sharedWithTeamId: "", + username: "Mckayla_Kohler32", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `repositoryName` | *string* | :heavy_check_mark: | N/A | -| `sharedWithTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `username` | *string* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload515ActorType](../models/usereventpayload515actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfifty.md b/docs/models/fivehundredandfifty.md new file mode 100644 index 0000000000..ec58010220 --- /dev/null +++ b/docs/models/fivehundredandfifty.md @@ -0,0 +1,59 @@ +# FiveHundredAndFifty + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { FiveHundredAndFifty } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: FiveHundredAndFifty = { + after: { + claims: [ + { + name: "", + values: [], + }, + ], + clientId: "", + createdAt: 9077.39, + issuerUrl: "https://clueless-swath.biz/", + name: "", + permissions: [], + policyId: "", + resources: { + projectIds: [ + "", + "", + ], + }, + teamId: "", + updatedAt: 147.35, + }, + before: { + claims: [], + clientId: "", + createdAt: 3350.3, + issuerUrl: "https://lumpy-divine.net", + name: "", + permissions: [], + policyId: "", + resources: { + projectIds: [ + "", + "", + ], + }, + teamId: "", + updatedAt: 3627.02, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `after` | [models.PayloadAfter](../models/payloadafter.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | +| `before` | [models.PayloadBefore](../models/payloadbefore.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | +| `appName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfiftyone.md b/docs/models/fivehundredandfiftyone.md new file mode 100644 index 0000000000..bcced5ddf8 --- /dev/null +++ b/docs/models/fivehundredandfiftyone.md @@ -0,0 +1,42 @@ +# FiveHundredAndFiftyOne + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { FiveHundredAndFiftyOne } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: FiveHundredAndFiftyOne = { + origin: "manual", + scope: "team", + tokenId: "", + tokenName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `createdByParentTeamId` | *string* | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | Unix epoch milliseconds. Absent when the token never expires. | +| `geolocation` | [models.UserEventPayload551Geolocation](../models/usereventpayload551geolocation.md) | :heavy_minus_sign: | N/A | +| `hasAuthorizationDetails` | *boolean* | :heavy_minus_sign: | Whether the token was issued with RFC 9396 authorization details. | +| `ip` | *string* | :heavy_minus_sign: | N/A | +| `organizationScope` | *boolean* | :heavy_minus_sign: | Present when the token is also scoped to the Organization backing team, granting OrgAdmin access to child teams after the Organization enforces SSO. | +| `origin` | [models.Origin](../models/origin.md) | :heavy_check_mark: | How the token was issued. Always `'manual'` for explicit PAT creation. | +| `projectId` | *string* | :heavy_minus_sign: | Present when `scope` is `'project'`. | +| `projectName` | *string* | :heavy_minus_sign: | Present when `scope` is `'project'`. | +| `projectScope` | [models.ProjectScope](../models/projectscope.md) | :heavy_minus_sign: | Present when `scope` is `'project'`. | +| `reqId` | *string* | :heavy_minus_sign: | N/A | +| `reqUrl` | *string* | :heavy_minus_sign: | N/A | +| `scope` | [models.UserEventPayload551Scope](../models/usereventpayload551scope.md) | :heavy_check_mark: | Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. | +| `source` | [models.UserEventPayload551Source](../models/usereventpayload551source.md) | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | Present when `scope` is `'team'` or `'project'`. | +| `teamSlug` | *string* | :heavy_minus_sign: | Present when `scope` is `'team'` or `'project'`. | +| `tokenId` | *string* | :heavy_check_mark: | The token's public ID. | +| `tokenName` | *string* | :heavy_check_mark: | User-supplied name of the token. | +| `tokenPrefix` | [models.PayloadTokenPrefix](../models/payloadtokenprefix.md) | :heavy_minus_sign: | The token prefix used when showing a safe checksum-style fingerprint. | +| `tokenSuffix` | *string* | :heavy_minus_sign: | The token checksum suffix. | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfiftythree.md b/docs/models/fivehundredandfiftythree.md new file mode 100644 index 0000000000..b89ddeb5a9 --- /dev/null +++ b/docs/models/fivehundredandfiftythree.md @@ -0,0 +1,26 @@ +# FiveHundredAndFiftyThree + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { FiveHundredAndFiftyThree } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: FiveHundredAndFiftyThree = { + actorTokenId: "", + deletedCount: 3569.73, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `actorTokenId` | *string* | :heavy_check_mark: | The token's public ID. | +| `deletedCount` | *number* | :heavy_check_mark: | N/A | +| `geolocation` | [models.UserEventPayload553Geolocation](../models/usereventpayload553geolocation.md) | :heavy_minus_sign: | N/A | +| `ip` | *string* | :heavy_minus_sign: | N/A | +| `reqId` | *string* | :heavy_minus_sign: | N/A | +| `reqUrl` | *string* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfiftytwo.md b/docs/models/fivehundredandfiftytwo.md new file mode 100644 index 0000000000..f04237eb5f --- /dev/null +++ b/docs/models/fivehundredandfiftytwo.md @@ -0,0 +1,40 @@ +# FiveHundredAndFiftyTwo + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { FiveHundredAndFiftyTwo } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: FiveHundredAndFiftyTwo = { + actorTokenId: "", + tokenId: "", + tokenName: "", + tokenType: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `actorTokenId` | *string* | :heavy_check_mark: | The token's public ID. | +| `createdByParentTeamId` | *string* | :heavy_minus_sign: | N/A | +| `expired` | *boolean* | :heavy_minus_sign: | N/A | +| `geolocation` | [models.UserEventPayload552Geolocation](../models/usereventpayload552geolocation.md) | :heavy_minus_sign: | N/A | +| `ip` | *string* | :heavy_minus_sign: | N/A | +| `leaked` | *boolean* | :heavy_minus_sign: | N/A | +| `logoutSource` | [models.LogoutSource](../models/logoutsource.md) | :heavy_minus_sign: | N/A | +| `origin` | [models.PayloadOrigin](../models/payloadorigin.md) | :heavy_minus_sign: | N/A | +| `reason` | [models.UserEventPayload552Reason](../models/usereventpayload552reason.md) | :heavy_minus_sign: | N/A | +| `reqId` | *string* | :heavy_minus_sign: | N/A | +| `reqUrl` | *string* | :heavy_minus_sign: | N/A | +| `revoked` | *boolean* | :heavy_minus_sign: | N/A | +| `scope` | [models.UserEventPayload552Scope](../models/usereventpayload552scope.md) | :heavy_minus_sign: | N/A | +| `source` | [models.UserEventPayload552Source](../models/usereventpayload552source.md) | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `tokenId` | *string* | :heavy_check_mark: | N/A | +| `tokenName` | *string* | :heavy_check_mark: | N/A | +| `tokenType` | *string* | :heavy_check_mark: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfive.md b/docs/models/fivehundredandfive.md index 89c357e33a..2bf6aa5864 100644 --- a/docs/models/fivehundredandfive.md +++ b/docs/models/fivehundredandfive.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndFive } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndFive = { - enabled: false, - totpVerified: false, + action: "remove-passkey", + reason: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `totpVerified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload505Action](../models/usereventpayload505action.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandforty.md b/docs/models/fivehundredandforty.md index 46c09b28a8..a1f024c69e 100644 --- a/docs/models/fivehundredandforty.md +++ b/docs/models/fivehundredandforty.md @@ -8,9 +8,7 @@ The payload of the event, if requested. import { FiveHundredAndForty } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndForty = { - deploymentId: "", - projectId: "", - runId: "", + chatId: "", }; ``` @@ -18,7 +16,5 @@ let value: FiveHundredAndForty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `runId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `chatId` | *string* | :heavy_check_mark: | N/A | +| `chatTitle` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortyeight.md b/docs/models/fivehundredandfortyeight.md index dadf4c1ef1..19d92302af 100644 --- a/docs/models/fivehundredandfortyeight.md +++ b/docs/models/fivehundredandfortyeight.md @@ -8,19 +8,14 @@ The payload of the event, if requested. import { FiveHundredAndFortyEight } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyEight = { - actorTokenId: "", - deletedCount: 8497.1, + domain: "thin-pacemaker.net", + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `actorTokenId` | *string* | :heavy_check_mark: | The token's public ID. | -| `deletedCount` | *number* | :heavy_check_mark: | N/A | -| `geolocation` | [models.UserEventPayload548Geolocation](../models/usereventpayload548geolocation.md) | :heavy_minus_sign: | N/A | -| `ip` | *string* | :heavy_minus_sign: | N/A | -| `reqId` | *string* | :heavy_minus_sign: | N/A | -| `reqUrl` | *string* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortyfive.md b/docs/models/fivehundredandfortyfive.md index a3cc8e4da3..d79cdf28e8 100644 --- a/docs/models/fivehundredandfortyfive.md +++ b/docs/models/fivehundredandfortyfive.md @@ -8,65 +8,17 @@ The payload of the event, if requested. import { FiveHundredAndFortyFive } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyFive = { - after: { - claims: [], - clientId: "", - createdAt: 3909.82, - issuerUrl: "https://severe-chap.biz/", - name: "", - permissions: [ - "", - "", - "", - ], - policyId: "", - resources: { - projectIds: [ - "", - "", - ], - }, - teamId: "", - updatedAt: 5550.14, - }, - before: { - claims: [ - { - name: "", - values: [ - { - value: "", - wildcards: false, - }, - ], - }, - ], - clientId: "", - createdAt: 4506.4, - issuerUrl: "https://blind-tuber.org/", - name: "", - permissions: [ - "", - "", - "", - ], - policyId: "", - resources: { - projectIds: [ - "", - "", - ], - }, - teamId: "", - updatedAt: 2533.67, - }, + deploymentId: "", + projectId: "", + runId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `after` | [models.PayloadAfter](../models/payloadafter.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | -| `before` | [models.PayloadBefore](../models/payloadbefore.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | -| `appName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `runId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortyfour.md b/docs/models/fivehundredandfortyfour.md index 85e6d763fe..77bf6aa27c 100644 --- a/docs/models/fivehundredandfortyfour.md +++ b/docs/models/fivehundredandfortyfour.md @@ -8,30 +8,18 @@ The payload of the event, if requested. import { FiveHundredAndFortyFour } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyFour = { - policy: { - claims: [], - clientId: "", - createdAt: 5237.58, - issuerUrl: "https://glossy-nudge.net/", - name: "", - permissions: [ - "", - "", - "", - ], - policyId: "", - resources: { - projectIds: [], - }, - teamId: "", - updatedAt: 3040.54, + next: { + access: "default", + }, + previous: { + access: "unlimited", }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `policy` | [models.Policy](../models/policy.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | -| `appName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `next` | *models.UserEventPayload544Next* | :heavy_check_mark: | N/A | +| `previous` | *models.UserEventPayload544Previous* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortynine.md b/docs/models/fivehundredandfortynine.md new file mode 100644 index 0000000000..782a3d5a64 --- /dev/null +++ b/docs/models/fivehundredandfortynine.md @@ -0,0 +1,35 @@ +# FiveHundredAndFortyNine + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { FiveHundredAndFortyNine } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: FiveHundredAndFortyNine = { + policy: { + claims: [], + clientId: "", + createdAt: 5946.46, + issuerUrl: "https://slow-doing.com", + name: null, + permissions: [ + "", + ], + policyId: "", + resources: { + projectIds: [], + }, + teamId: "", + updatedAt: 9087.81, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `policy` | [models.Policy](../models/policy.md) | :heavy_check_mark: | A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. | +| `appName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortyone.md b/docs/models/fivehundredandfortyone.md index 1a345dfea6..129de05ca6 100644 --- a/docs/models/fivehundredandfortyone.md +++ b/docs/models/fivehundredandfortyone.md @@ -8,22 +8,37 @@ The payload of the event, if requested. import { FiveHundredAndFortyOne } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyOne = { - next: { - enabled: false, - issuerUrls: [], - }, - previous: { - enabled: true, - issuerUrls: [], - }, - scope: "team", + chatId: "", + events: [ + { + cacheCreationInputTokens: 8264.37, + cacheReadInputTokens: 921.19, + eventId: "", + inputTokens: 4741.19, + modelId: "", + outputTokens: 6106.82, + timestamp: "", + totalTokens: 9845.35, + }, + ], + inputTokens: 1369.2, + messageId: "", + model: "A4", + outputTokens: 108.11, + timestamp: 9224.89, + useCase: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload541Next](../models/usereventpayload541next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload541Previous](../models/usereventpayload541previous.md) | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayload541Scope](../models/usereventpayload541scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `chatId` | *string* | :heavy_check_mark: | N/A | +| `events` | [models.Events](../models/events.md)[] | :heavy_check_mark: | N/A | +| `inputTokens` | *number* | :heavy_check_mark: | N/A | +| `messageId` | *string* | :heavy_check_mark: | N/A | +| `model` | *string* | :heavy_check_mark: | N/A | +| `outputTokens` | *number* | :heavy_check_mark: | N/A | +| `timestamp` | *number* | :heavy_check_mark: | N/A | +| `useCase` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortyseven.md b/docs/models/fivehundredandfortyseven.md index 5f9194e66a..03f603b446 100644 --- a/docs/models/fivehundredandfortyseven.md +++ b/docs/models/fivehundredandfortyseven.md @@ -8,33 +8,36 @@ The payload of the event, if requested. import { FiveHundredAndFortySeven } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortySeven = { - actorTokenId: "", - tokenId: "", - tokenName: "", - tokenType: "", + appName: "", + atTTL: 7052.22, + authMethod: "github", + grantType: "urn:ietf:params:oauth:grant-type:token-exchange", + scope: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `actorTokenId` | *string* | :heavy_check_mark: | The token's public ID. | -| `createdByParentTeamId` | *string* | :heavy_minus_sign: | N/A | -| `expired` | *boolean* | :heavy_minus_sign: | N/A | -| `geolocation` | [models.UserEventPayload547Geolocation](../models/usereventpayload547geolocation.md) | :heavy_minus_sign: | N/A | -| `ip` | *string* | :heavy_minus_sign: | N/A | -| `leaked` | *boolean* | :heavy_minus_sign: | N/A | -| `logoutSource` | [models.LogoutSource](../models/logoutsource.md) | :heavy_minus_sign: | N/A | -| `origin` | [models.PayloadOrigin](../models/payloadorigin.md) | :heavy_minus_sign: | N/A | -| `reason` | [models.UserEventPayload547Reason](../models/usereventpayload547reason.md) | :heavy_minus_sign: | N/A | -| `reqId` | *string* | :heavy_minus_sign: | N/A | -| `reqUrl` | *string* | :heavy_minus_sign: | N/A | -| `revoked` | *boolean* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload547Scope](../models/usereventpayload547scope.md) | :heavy_minus_sign: | N/A | -| `source` | [models.UserEventPayload547Source](../models/usereventpayload547source.md) | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `tokenId` | *string* | :heavy_check_mark: | N/A | -| `tokenName` | *string* | :heavy_check_mark: | N/A | -| `tokenType` | *string* | :heavy_check_mark: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `app` | [models.PayloadApp](../models/payloadapp.md) | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain app information | +| `appName` | *string* | :heavy_check_mark: | the app's name at the time the event was published (it could have changed since then) | +| `atTTL` | *number* | :heavy_check_mark: | access_token TTL | +| `authMethod` | [models.AuthMethod](../models/authmethod.md) | :heavy_check_mark: | N/A | +| `geolocation` | [models.UserEventPayloadGeolocation](../models/usereventpayloadgeolocation.md) | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | +| `grantType` | [models.GrantType](../models/granttype.md) | :heavy_check_mark: | N/A | +| `includesRefreshToken` | *boolean* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | +| `ip` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | +| `issuerUrl` | *string* | :heavy_minus_sign: | OIDC issuer (`iss`) of the token that authenticated the request. Present for OIDC-authenticated flows: the token-exchange grant, or `client_credentials` with the `oidc_token` client-authentication method. | +| `oidcSubject` | *string* | :heavy_minus_sign: | `sub` claim of the OIDC token. Present for OIDC-authenticated flows (see {@link issuerUrl}). | +| `policyId` | *string* | :heavy_minus_sign: | ID of the OIDC-exchange policy that authorized a token-exchange grant. Absent for the `client_credentials` + `oidc_token` flow, which matches an app `oidcProviders` entry rather than a policy. | +| `publicId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | +| `refreshTokenPrefix` | [models.RefreshTokenPrefix](../models/refreshtokenprefix.md) | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | +| `refreshTokenPublicId` | *string* | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | +| `refreshTokenSuffix` | *string* | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | +| `rtTTL` | *number* | :heavy_minus_sign: | refresh_token TTL | +| `scope` | *string* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | +| `tokenPrefix` | [models.TokenPrefix](../models/tokenprefix.md) | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | +| `tokenSuffix` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | +| `userAgent` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | \ No newline at end of file diff --git a/docs/models/fivehundredandfortysix.md b/docs/models/fivehundredandfortysix.md index 4e77379e40..eb2ebb0fe8 100644 --- a/docs/models/fivehundredandfortysix.md +++ b/docs/models/fivehundredandfortysix.md @@ -8,35 +8,30 @@ The payload of the event, if requested. import { FiveHundredAndFortySix } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortySix = { - origin: "google", - scope: "user", - tokenId: "", - tokenName: "", + next: { + enabled: false, + issuerUrls: [ + "", + "", + "", + ], + }, + previous: { + enabled: false, + issuerUrls: [ + "", + "", + "", + ], + }, + scope: "organization", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `createdByParentTeamId` | *string* | :heavy_minus_sign: | N/A | -| `expiresAt` | *number* | :heavy_minus_sign: | Unix epoch milliseconds. Absent when the token never expires. | -| `geolocation` | [models.UserEventPayload546Geolocation](../models/usereventpayload546geolocation.md) | :heavy_minus_sign: | N/A | -| `hasAuthorizationDetails` | *boolean* | :heavy_minus_sign: | Whether the token was issued with RFC 9396 authorization details. | -| `ip` | *string* | :heavy_minus_sign: | N/A | -| `organizationScope` | *boolean* | :heavy_minus_sign: | Present when the token is also scoped to the Organization backing team, granting OrgAdmin access to child teams after the Organization enforces SSO. | -| `origin` | [models.Origin](../models/origin.md) | :heavy_check_mark: | How the token was issued. Always `'manual'` for explicit PAT creation. | -| `projectId` | *string* | :heavy_minus_sign: | Present when `scope` is `'project'`. | -| `projectName` | *string* | :heavy_minus_sign: | Present when `scope` is `'project'`. | -| `projectScope` | [models.ProjectScope](../models/projectscope.md) | :heavy_minus_sign: | Present when `scope` is `'project'`. | -| `reqId` | *string* | :heavy_minus_sign: | N/A | -| `reqUrl` | *string* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload546Scope](../models/usereventpayload546scope.md) | :heavy_check_mark: | Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. | -| `source` | [models.UserEventPayload546Source](../models/usereventpayload546source.md) | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | Present when `scope` is `'team'` or `'project'`. | -| `teamSlug` | *string* | :heavy_minus_sign: | Present when `scope` is `'team'` or `'project'`. | -| `tokenId` | *string* | :heavy_check_mark: | The token's public ID. | -| `tokenName` | *string* | :heavy_check_mark: | User-supplied name of the token. | -| `tokenPrefix` | [models.PayloadTokenPrefix](../models/payloadtokenprefix.md) | :heavy_minus_sign: | The token prefix used when showing a safe checksum-style fingerprint. | -| `tokenSuffix` | *string* | :heavy_minus_sign: | The token checksum suffix. | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload546Next](../models/usereventpayload546next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload546Previous](../models/usereventpayload546previous.md) | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload546Scope](../models/usereventpayload546scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortythree.md b/docs/models/fivehundredandfortythree.md index c48dc54477..a5a73a355d 100644 --- a/docs/models/fivehundredandfortythree.md +++ b/docs/models/fivehundredandfortythree.md @@ -8,14 +8,21 @@ The payload of the event, if requested. import { FiveHundredAndFortyThree } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyThree = { - domain: "nifty-case.com", - projectId: "", + next: { + access: "unlimited", + }, + previous: { + access: "default", + }, + userId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `next` | *models.UserEventPayload543Next* | :heavy_check_mark: | N/A | +| `previous` | *models.UserEventPayload543Previous* | :heavy_check_mark: | N/A | +| `userId` | *string* | :heavy_check_mark: | N/A | +| `userName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfortytwo.md b/docs/models/fivehundredandfortytwo.md index fcdb1f3376..32ebfa05ca 100644 --- a/docs/models/fivehundredandfortytwo.md +++ b/docs/models/fivehundredandfortytwo.md @@ -8,36 +8,15 @@ The payload of the event, if requested. import { FiveHundredAndFortyTwo } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFortyTwo = { - appName: "", - atTTL: 5926.85, - authMethod: "saml", - grantType: "authorization_code", - scope: "", + chatId: "", + messageId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `app` | [models.PayloadApp](../models/payloadapp.md) | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain app information | -| `appName` | *string* | :heavy_check_mark: | the app's name at the time the event was published (it could have changed since then) | -| `atTTL` | *number* | :heavy_check_mark: | access_token TTL | -| `authMethod` | [models.AuthMethod](../models/authmethod.md) | :heavy_check_mark: | N/A | -| `geolocation` | [models.UserEventPayloadGeolocation](../models/usereventpayloadgeolocation.md) | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | -| `grantType` | [models.GrantType](../models/granttype.md) | :heavy_check_mark: | N/A | -| `includesRefreshToken` | *boolean* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | -| `ip` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | -| `issuerUrl` | *string* | :heavy_minus_sign: | OIDC issuer (`iss`) of the token that authenticated the request. Present for OIDC-authenticated flows: the token-exchange grant, or `client_credentials` with the `oidc_token` client-authentication method. | -| `oidcSubject` | *string* | :heavy_minus_sign: | `sub` claim of the OIDC token. Present for OIDC-authenticated flows (see {@link issuerUrl}). | -| `policyId` | *string* | :heavy_minus_sign: | ID of the OIDC-exchange policy that authorized a token-exchange grant. Absent for the `client_credentials` + `oidc_token` flow, which matches an app `oidcProviders` entry rather than a policy. | -| `publicId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | -| `refreshTokenPrefix` | [models.RefreshTokenPrefix](../models/refreshtokenprefix.md) | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | -| `refreshTokenPublicId` | *string* | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | -| `refreshTokenSuffix` | *string* | :heavy_minus_sign: | optional; only present when a refresh token was issued (offline_access). | -| `rtTTL` | *number* | :heavy_minus_sign: | refresh_token TTL | -| `scope` | *string* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | -| `tokenPrefix` | [models.TokenPrefix](../models/tokenprefix.md) | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | -| `tokenSuffix` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | -| `userAgent` | *string* | :heavy_minus_sign: | optional since entries prior to 2026-04-23 do not contain this field | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `chatId` | *string* | :heavy_check_mark: | N/A | +| `chatTitle` | *string* | :heavy_minus_sign: | N/A | +| `messageId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfour.md b/docs/models/fivehundredandfour.md index 8b5fee9248..0111584727 100644 --- a/docs/models/fivehundredandfour.md +++ b/docs/models/fivehundredandfour.md @@ -5,18 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndFour } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndFour = { - mfa: { - enabled: true, - totpVerified: false, - }, + allowedMethods: [], + firstFactor: "", + flowId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `mfa` | [models.Mfa](../models/mfa.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `allowedMethods` | [models.AllowedMethods](../models/allowedmethods.md)[] | :heavy_check_mark: | N/A | +| `firstFactor` | *string* | :heavy_check_mark: | N/A | +| `flowId` | *string* | :heavy_check_mark: | N/A | +| `loginSessionId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandfourteen.md b/docs/models/fivehundredandfourteen.md index 32d9496d2e..5b79cbac76 100644 --- a/docs/models/fivehundredandfourteen.md +++ b/docs/models/fivehundredandfourteen.md @@ -8,20 +8,19 @@ The payload of the event, if requested. import { FiveHundredAndFourteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndFourteen = { - projectId: "", - projectName: "", - repositoryName: "", - sharedWithTeamId: "", - sharedWithTeamSlug: "", + email: "Kelton_Willms93@gmail.com", + prevEmail: "", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `repositoryName` | *string* | :heavy_check_mark: | N/A | -| `sharedWithTeamId` | *string* | :heavy_check_mark: | N/A | -| `sharedWithTeamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `email` | *string* | :heavy_check_mark: | N/A | +| `prevEmail` | *string* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload514ActorType](../models/usereventpayload514actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandnine.md b/docs/models/fivehundredandnine.md index 4ff8659de5..36f44977aa 100644 --- a/docs/models/fivehundredandnine.md +++ b/docs/models/fivehundredandnine.md @@ -5,22 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndNine } from "@vercel/sdk/models/payloadoutcome.js"; +import { FiveHundredAndNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndNine = { - email: "Dejon71@hotmail.com", - prevEmail: "", - actorId: "", - actorType: "admin", + mfa: { + enabled: false, + totpVerified: true, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `email` | *string* | :heavy_check_mark: | N/A | -| `prevEmail` | *string* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload509ActorType](../models/usereventpayload509actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `mfa` | [models.Mfa](../models/mfa.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandnineteen.md b/docs/models/fivehundredandnineteen.md index 40c825bf26..af1ca43037 100644 --- a/docs/models/fivehundredandnineteen.md +++ b/docs/models/fivehundredandnineteen.md @@ -8,14 +8,20 @@ The payload of the event, if requested. import { FiveHundredAndNineteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndNineteen = { - nextProjectCount: 813.36, - previousProjectCount: 8437.29, + projectId: "", + projectName: "", + repositoryName: "", + sharedWithTeamId: "", + sharedWithTeamSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `nextProjectCount` | *number* | :heavy_check_mark: | N/A | -| `previousProjectCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `repositoryName` | *string* | :heavy_check_mark: | N/A | +| `sharedWithTeamId` | *string* | :heavy_check_mark: | N/A | +| `sharedWithTeamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandone.md b/docs/models/fivehundredandone.md index 1c00e9d4b3..f2434b17a6 100644 --- a/docs/models/fivehundredandone.md +++ b/docs/models/fivehundredandone.md @@ -5,24 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndOne = { - next: { - enabled: true, - totpVerified: true, - }, - previous: { - enabled: true, - totpVerified: true, - }, + actorId: "", + actorType: "admin", + autoBlockPrevented: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `method` | [models.PayloadMethod](../models/payloadmethod.md) | :heavy_minus_sign: | N/A | -| `next` | [models.UserEventPayload501Next](../models/usereventpayload501next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload501Previous](../models/usereventpayload501previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_check_mark: | N/A | +| `actorType` | [models.UserEventPayload501ActorType](../models/usereventpayload501actortype.md) | :heavy_check_mark: | N/A | +| `autoBlockPrevented` | *boolean* | :heavy_check_mark: | N/A | +| `preventUntil` | *number* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandseven.md b/docs/models/fivehundredandseven.md index df6c531106..d55ac5bbfa 100644 --- a/docs/models/fivehundredandseven.md +++ b/docs/models/fivehundredandseven.md @@ -5,28 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndSeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndSeven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndSeven = { - decision: { - authoritative: true, - basis: "none", - emailDomain: "", - emailVerified: false, - hostedDomainMatch: true, - mxOutcome: "not-checked", - }, - outcome: "linking-required", - provider: "google", - providerSubjectId: "", + remaining: 516.6, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `decision` | [models.PayloadDecision](../models/payloaddecision.md) | :heavy_check_mark: | N/A | -| `outcome` | [models.PayloadOutcome](../models/payloadoutcome.md) | :heavy_check_mark: | N/A | -| `provider` | [models.UserEventPayload507Provider](../models/usereventpayload507provider.md) | :heavy_check_mark: | N/A | -| `providerSubjectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `context` | [models.Context](../models/context.md) | :heavy_minus_sign: | Absent on events predating the field; those were all logins. | +| `remaining` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandseventeen.md b/docs/models/fivehundredandseventeen.md index fbbeab516c..fd4a4315b1 100644 --- a/docs/models/fivehundredandseventeen.md +++ b/docs/models/fivehundredandseventeen.md @@ -8,9 +8,10 @@ The payload of the event, if requested. import { FiveHundredAndSeventeen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndSeventeen = { + digest: "", projectId: "", projectName: "", - removedTeamIds: [], + reference: "", repositoryName: "", }; ``` @@ -19,7 +20,8 @@ let value: FiveHundredAndSeventeen = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `digest` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `removedTeamIds` | *string*[] | :heavy_check_mark: | N/A | +| `reference` | *string* | :heavy_check_mark: | N/A | | `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandsix.md b/docs/models/fivehundredandsix.md index 3ba9808751..a6d8978a5f 100644 --- a/docs/models/fivehundredandsix.md +++ b/docs/models/fivehundredandsix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndSix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndSix } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndSix = { next: { @@ -23,5 +23,6 @@ let value: FiveHundredAndSix = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `method` | [models.PayloadMethod](../models/payloadmethod.md) | :heavy_minus_sign: | N/A | | `next` | [models.UserEventPayload506Next](../models/usereventpayload506next.md) | :heavy_check_mark: | N/A | | `previous` | [models.UserEventPayload506Previous](../models/usereventpayload506previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandsixteen.md b/docs/models/fivehundredandsixteen.md index 4d56c0a5e6..d71a2351e9 100644 --- a/docs/models/fivehundredandsixteen.md +++ b/docs/models/fivehundredandsixteen.md @@ -10,7 +10,6 @@ import { FiveHundredAndSixteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndSixteen = { projectId: "", projectName: "", - public: true, repositoryName: "", }; ``` @@ -21,5 +20,4 @@ let value: FiveHundredAndSixteen = { | ------------------ | ------------------ | ------------------ | ------------------ | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `public` | *boolean* | :heavy_check_mark: | N/A | | `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandten.md b/docs/models/fivehundredandten.md index bc28da71b1..8c23c48971 100644 --- a/docs/models/fivehundredandten.md +++ b/docs/models/fivehundredandten.md @@ -5,20 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndTen } from "@vercel/sdk/models/payloadoutcome.js"; +import { FiveHundredAndTen } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndTen = { - username: "Donnell59", - actorId: "", - actorType: "admin", + enabled: true, + totpVerified: false, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `username` | *string* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload510ActorType](../models/usereventpayload510actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `totpVerified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirteen.md b/docs/models/fivehundredandthirteen.md index ee1a152054..56dfbc5b5d 100644 --- a/docs/models/fivehundredandthirteen.md +++ b/docs/models/fivehundredandthirteen.md @@ -8,10 +8,8 @@ The payload of the event, if requested. import { FiveHundredAndThirteen } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirteen = { - projectId: "", - projectName: "", - reference: "", - repositoryName: "", + email: "Maci27@yahoo.com", + prevEmail: "", }; ``` @@ -19,7 +17,5 @@ let value: FiveHundredAndThirteen = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reference` | *string* | :heavy_check_mark: | N/A | -| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `email` | *string* | :heavy_check_mark: | N/A | +| `prevEmail` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirty.md b/docs/models/fivehundredandthirty.md index 42d6935338..f1b3a9b0c9 100644 --- a/docs/models/fivehundredandthirty.md +++ b/docs/models/fivehundredandthirty.md @@ -8,23 +8,16 @@ The payload of the event, if requested. import { FiveHundredAndThirty } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirty = { - configuration: { - id: "", - }, - peering: { - id: "", - }, - team: { - id: "", - name: "", - }, + enabled: false, + repositoryId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `configuration` | [models.UserEventPayload530Configuration](../models/usereventpayload530configuration.md) | :heavy_check_mark: | N/A | -| `peering` | [models.PayloadPeering](../models/payloadpeering.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload530Team](../models/usereventpayload530team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_minus_sign: | N/A | +| `repository` | *string* | :heavy_minus_sign: | N/A | +| `repositoryId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtyeight.md b/docs/models/fivehundredandthirtyeight.md index a3a124a7fb..b088ef7ea3 100644 --- a/docs/models/fivehundredandthirtyeight.md +++ b/docs/models/fivehundredandthirtyeight.md @@ -8,21 +8,12 @@ The payload of the event, if requested. import { FiveHundredAndThirtyEight } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyEight = { - next: { - access: "default", - }, - previous: { - access: "none", - }, - userId: "", + tier: "plus", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `next` | *models.UserEventPayload538Next* | :heavy_check_mark: | N/A | -| `previous` | *models.UserEventPayload538Previous* | :heavy_check_mark: | N/A | -| `userId` | *string* | :heavy_check_mark: | N/A | -| `userName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `tier` | [models.Tier](../models/tier.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtyfive.md b/docs/models/fivehundredandthirtyfive.md index 22227bb66a..deafb2e50f 100644 --- a/docs/models/fivehundredandthirtyfive.md +++ b/docs/models/fivehundredandthirtyfive.md @@ -8,13 +8,23 @@ The payload of the event, if requested. import { FiveHundredAndThirtyFive } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyFive = { - chatId: "", + configuration: { + id: "", + }, + peering: { + id: "", + }, + team: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `chatId` | *string* | :heavy_check_mark: | N/A | -| `chatTitle` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `configuration` | [models.UserEventPayload535Configuration](../models/usereventpayload535configuration.md) | :heavy_check_mark: | N/A | +| `peering` | [models.PayloadPeering](../models/payloadpeering.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload535Team](../models/usereventpayload535team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtyfour.md b/docs/models/fivehundredandthirtyfour.md index abec4a0bdb..fc203aea31 100644 --- a/docs/models/fivehundredandthirtyfour.md +++ b/docs/models/fivehundredandthirtyfour.md @@ -8,14 +8,26 @@ The payload of the event, if requested. import { FiveHundredAndThirtyFour } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyFour = { - id: "", - url: "https://wrong-nun.name/", + configuration: { + id: "", + }, + peering: { + accountId: "", + id: "", + region: "", + vpcId: "", + }, + team: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `configuration` | [models.UserEventPayload534Configuration](../models/usereventpayload534configuration.md) | :heavy_check_mark: | N/A | +| `peering` | [models.Peering](../models/peering.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload534Team](../models/usereventpayload534team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtynine.md b/docs/models/fivehundredandthirtynine.md index 1a579f3d42..fffa9f0a1c 100644 --- a/docs/models/fivehundredandthirtynine.md +++ b/docs/models/fivehundredandthirtynine.md @@ -8,18 +8,14 @@ The payload of the event, if requested. import { FiveHundredAndThirtyNine } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyNine = { - next: { - access: "unlimited", - }, - previous: { - access: "unlimited", - }, + id: "", + url: "https://mature-ocelot.net", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `next` | *models.UserEventPayload539Next* | :heavy_check_mark: | N/A | -| `previous` | *models.UserEventPayload539Previous* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtyone.md b/docs/models/fivehundredandthirtyone.md index 42a1189fe9..d0fde4a5dc 100644 --- a/docs/models/fivehundredandthirtyone.md +++ b/docs/models/fivehundredandthirtyone.md @@ -8,24 +8,16 @@ The payload of the event, if requested. import { FiveHundredAndThirtyOne } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyOne = { - configuration: { - id: "", - }, - peering: { - id: "", - }, - team: { - id: "", - name: "", - }, + ciEnabled: true, + organizationId: "", + repository: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `configuration` | [models.UserEventPayload531Configuration](../models/usereventpayload531configuration.md) | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_minus_sign: | N/A | -| `peering` | [models.UserEventPayloadPeering](../models/usereventpayloadpeering.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload531Team](../models/usereventpayload531team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ciEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `repository` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtyseven.md b/docs/models/fivehundredandthirtyseven.md index 1620ebcddb..9d0a4810c9 100644 --- a/docs/models/fivehundredandthirtyseven.md +++ b/docs/models/fivehundredandthirtyseven.md @@ -8,15 +8,18 @@ The payload of the event, if requested. import { FiveHundredAndThirtySeven } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtySeven = { - chatId: "", - messageId: "", + cadence: "monthly", + projectIds: [], + team: { + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `chatId` | *string* | :heavy_check_mark: | N/A | -| `chatTitle` | *string* | :heavy_minus_sign: | N/A | -| `messageId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `cadence` | [models.Cadence](../models/cadence.md) | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload537Team](../models/usereventpayload537team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtysix.md b/docs/models/fivehundredandthirtysix.md index 65841f76a5..8a915e2e38 100644 --- a/docs/models/fivehundredandthirtysix.md +++ b/docs/models/fivehundredandthirtysix.md @@ -8,26 +8,24 @@ The payload of the event, if requested. import { FiveHundredAndThirtySix } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtySix = { - chatId: "", - events: [], - inputTokens: 5454.1, - messageId: "", - model: "Altima", - outputTokens: 4853.67, - timestamp: 4194.96, - useCase: "", + configuration: { + id: "", + }, + peering: { + id: "", + }, + team: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `chatId` | *string* | :heavy_check_mark: | N/A | -| `events` | [models.Events](../models/events.md)[] | :heavy_check_mark: | N/A | -| `inputTokens` | *number* | :heavy_check_mark: | N/A | -| `messageId` | *string* | :heavy_check_mark: | N/A | -| `model` | *string* | :heavy_check_mark: | N/A | -| `outputTokens` | *number* | :heavy_check_mark: | N/A | -| `timestamp` | *number* | :heavy_check_mark: | N/A | -| `useCase` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `configuration` | [models.UserEventPayload536Configuration](../models/usereventpayload536configuration.md) | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_minus_sign: | N/A | +| `peering` | [models.UserEventPayloadPeering](../models/usereventpayloadpeering.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload536Team](../models/usereventpayload536team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtythree.md b/docs/models/fivehundredandthirtythree.md index 5265251eda..5ad8b68c46 100644 --- a/docs/models/fivehundredandthirtythree.md +++ b/docs/models/fivehundredandthirtythree.md @@ -8,12 +8,18 @@ The payload of the event, if requested. import { FiveHundredAndThirtyThree } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyThree = { - tier: "pro", + protectedProjectCount: 6880.92, + protectionEnabled: true, + vulnerabilities: [ + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `tier` | [models.Tier](../models/tier.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `protectedProjectCount` | *number* | :heavy_check_mark: | N/A | +| `protectionEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `vulnerabilities` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthirtytwo.md b/docs/models/fivehundredandthirtytwo.md index 5adb917dbd..9087833442 100644 --- a/docs/models/fivehundredandthirtytwo.md +++ b/docs/models/fivehundredandthirtytwo.md @@ -8,18 +8,20 @@ The payload of the event, if requested. import { FiveHundredAndThirtyTwo } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndThirtyTwo = { - cadence: "weekly", - projectIds: [], - team: { - id: "", - }, + commitSha: "", + invocationId: "", + organizationId: "", + pullRequestNumber: 9596.59, + repository: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `cadence` | [models.Cadence](../models/cadence.md) | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload532Team](../models/usereventpayload532team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `commitSha` | *string* | :heavy_check_mark: | N/A | +| `invocationId` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `pullRequestNumber` | *number* | :heavy_check_mark: | N/A | +| `repository` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandthree.md b/docs/models/fivehundredandthree.md index caa5c73657..4eb2e79550 100644 --- a/docs/models/fivehundredandthree.md +++ b/docs/models/fivehundredandthree.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndThree = { - mfaEnabled: true, + method: "email-otp", + reason: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `mfaEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `flowId` | *string* | :heavy_minus_sign: | N/A | +| `loginSessionId` | *string* | :heavy_minus_sign: | N/A | +| `method` | [models.Method](../models/method.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwelve.md b/docs/models/fivehundredandtwelve.md index 2aefde705d..64ce759ce0 100644 --- a/docs/models/fivehundredandtwelve.md +++ b/docs/models/fivehundredandtwelve.md @@ -5,23 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndTwelve } from "@vercel/sdk/models/payloadoutcome.js"; +import { FiveHundredAndTwelve } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndTwelve = { - digest: "", - projectId: "", - projectName: "", - reference: "", - repositoryName: "", + decision: { + authoritative: true, + basis: "gmail", + emailDomain: "", + emailVerified: false, + hostedDomainMatch: true, + mxOutcome: "not-checked", + }, + outcome: "linking-required", + provider: "google", + providerSubjectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `digest` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reference` | *string* | :heavy_check_mark: | N/A | -| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `decision` | [models.PayloadDecision](../models/payloaddecision.md) | :heavy_check_mark: | N/A | +| `outcome` | [models.PayloadOutcome](../models/payloadoutcome.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventPayload512Provider](../models/usereventpayload512provider.md) | :heavy_check_mark: | N/A | +| `providerSubjectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwenty.md b/docs/models/fivehundredandtwenty.md index 5fe51955dc..6a7d1ec3e3 100644 --- a/docs/models/fivehundredandtwenty.md +++ b/docs/models/fivehundredandtwenty.md @@ -8,7 +8,10 @@ The payload of the event, if requested. import { FiveHundredAndTwenty } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwenty = { - customAlertTitle: "", + projectId: "", + projectName: "", + repositoryName: "", + sharedWithTeamId: "", }; ``` @@ -16,4 +19,7 @@ let value: FiveHundredAndTwenty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `customAlertTitle` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `repositoryName` | *string* | :heavy_check_mark: | N/A | +| `sharedWithTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentyeight.md b/docs/models/fivehundredandtwentyeight.md index 046a98c7aa..68beba517b 100644 --- a/docs/models/fivehundredandtwentyeight.md +++ b/docs/models/fivehundredandtwentyeight.md @@ -8,18 +8,20 @@ The payload of the event, if requested. import { FiveHundredAndTwentyEight } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyEight = { - protectedProjectCount: 7319.99, - protectionEnabled: false, - vulnerabilities: [ - "", - ], + alertType: "", + groupId: "", + projectId: "", + destinations: {}, }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `protectedProjectCount` | *number* | :heavy_check_mark: | N/A | -| `protectionEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `vulnerabilities` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `alertType` | *string* | :heavy_check_mark: | N/A | +| `groupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `destinations` | [models.PayloadDestinations](../models/payloaddestinations.md) | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentyfive.md b/docs/models/fivehundredandtwentyfive.md index fe7d5866d7..ff3b11891c 100644 --- a/docs/models/fivehundredandtwentyfive.md +++ b/docs/models/fivehundredandtwentyfive.md @@ -8,8 +8,7 @@ The payload of the event, if requested. import { FiveHundredAndTwentyFive } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyFive = { - enabled: true, - repositoryId: "", + customAlertTitle: "", }; ``` @@ -17,7 +16,4 @@ let value: FiveHundredAndTwentyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_minus_sign: | N/A | -| `repository` | *string* | :heavy_minus_sign: | N/A | -| `repositoryId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `customAlertTitle` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentyfour.md b/docs/models/fivehundredandtwentyfour.md index c1688b033a..633662f637 100644 --- a/docs/models/fivehundredandtwentyfour.md +++ b/docs/models/fivehundredandtwentyfour.md @@ -8,24 +8,14 @@ The payload of the event, if requested. import { FiveHundredAndTwentyFour } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyFour = { - alertType: "", - groupId: "", - projectId: "", - alertId: "", - startedAt: 1458, - title: "", + nextProjectCount: 4460.82, + previousProjectCount: 7067.3, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `alertType` | *string* | :heavy_check_mark: | N/A | -| `groupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `alertId` | *string* | :heavy_check_mark: | N/A | -| `resolvedAt` | *number* | :heavy_minus_sign: | N/A | -| `startedAt` | *number* | :heavy_check_mark: | N/A | -| `title` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `nextProjectCount` | *number* | :heavy_check_mark: | N/A | +| `previousProjectCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentynine.md b/docs/models/fivehundredandtwentynine.md index 6b6d11d60d..b7343e6890 100644 --- a/docs/models/fivehundredandtwentynine.md +++ b/docs/models/fivehundredandtwentynine.md @@ -8,26 +8,24 @@ The payload of the event, if requested. import { FiveHundredAndTwentyNine } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyNine = { - configuration: { - id: "", - }, - peering: { - accountId: "", - id: "", - region: "", - vpcId: "", - }, - team: { - id: "", - name: "", - }, + alertType: "", + groupId: "", + projectId: "", + alertId: "", + startedAt: 3364.32, + title: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `configuration` | [models.UserEventPayload529Configuration](../models/usereventpayload529configuration.md) | :heavy_check_mark: | N/A | -| `peering` | [models.Peering](../models/peering.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload529Team](../models/usereventpayload529team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `alertType` | *string* | :heavy_check_mark: | N/A | +| `groupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `alertId` | *string* | :heavy_check_mark: | N/A | +| `resolvedAt` | *number* | :heavy_minus_sign: | N/A | +| `startedAt` | *number* | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentyone.md b/docs/models/fivehundredandtwentyone.md index 1ccc8f798f..19391e5f1c 100644 --- a/docs/models/fivehundredandtwentyone.md +++ b/docs/models/fivehundredandtwentyone.md @@ -8,21 +8,18 @@ The payload of the event, if requested. import { FiveHundredAndTwentyOne } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyOne = { - alertType: "", - groupId: "", projectId: "", - detectionCount: 3367.52, - detections: [], + projectName: "", + public: true, + repositoryName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `alertType` | *string* | :heavy_check_mark: | N/A | -| `groupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `detectionCount` | *number* | :heavy_check_mark: | N/A | -| `detections` | [models.Detections](../models/detections.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `public` | *boolean* | :heavy_check_mark: | N/A | +| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentyseven.md b/docs/models/fivehundredandtwentyseven.md index a535df5e8a..247df54bc4 100644 --- a/docs/models/fivehundredandtwentyseven.md +++ b/docs/models/fivehundredandtwentyseven.md @@ -8,20 +8,19 @@ The payload of the event, if requested. import { FiveHundredAndTwentySeven } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentySeven = { - commitSha: "", - invocationId: "", - organizationId: "", - pullRequestNumber: 5242.35, - repository: "", + alertType: "", + groupId: "", + projectId: "", + destinations: {}, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `commitSha` | *string* | :heavy_check_mark: | N/A | -| `invocationId` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `pullRequestNumber` | *number* | :heavy_check_mark: | N/A | -| `repository` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `alertType` | *string* | :heavy_check_mark: | N/A | +| `groupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `destinations` | [models.Destinations](../models/destinations.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentysix.md b/docs/models/fivehundredandtwentysix.md index 892c87491e..7d6a3435f7 100644 --- a/docs/models/fivehundredandtwentysix.md +++ b/docs/models/fivehundredandtwentysix.md @@ -8,16 +8,21 @@ The payload of the event, if requested. import { FiveHundredAndTwentySix } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentySix = { - ciEnabled: true, - organizationId: "", - repository: "", + alertType: "", + groupId: "", + projectId: "", + detectionCount: 3965.79, + detections: [], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `ciEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `repository` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `alertType` | *string* | :heavy_check_mark: | N/A | +| `groupId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `severity` | *string* | :heavy_minus_sign: | N/A | +| `detectionCount` | *number* | :heavy_check_mark: | N/A | +| `detections` | [models.Detections](../models/detections.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentythree.md b/docs/models/fivehundredandtwentythree.md index 93188e3523..d49b7cc2a3 100644 --- a/docs/models/fivehundredandtwentythree.md +++ b/docs/models/fivehundredandtwentythree.md @@ -8,20 +8,12 @@ The payload of the event, if requested. import { FiveHundredAndTwentyThree } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyThree = { - alertType: "", - groupId: "", - projectId: "", - destinations: {}, + ruleName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `alertType` | *string* | :heavy_check_mark: | N/A | -| `groupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `destinations` | [models.PayloadDestinations](../models/payloaddestinations.md) | :heavy_check_mark: | N/A | -| `title` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ruleName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwentytwo.md b/docs/models/fivehundredandtwentytwo.md index 4dc520ed5a..c278fe6d39 100644 --- a/docs/models/fivehundredandtwentytwo.md +++ b/docs/models/fivehundredandtwentytwo.md @@ -8,19 +8,22 @@ The payload of the event, if requested. import { FiveHundredAndTwentyTwo } from "@vercel/sdk/models/payloadoutcome.js"; let value: FiveHundredAndTwentyTwo = { - alertType: "", - groupId: "", projectId: "", - destinations: {}, + projectName: "", + removedTeamIds: [ + "", + "", + "", + ], + repositoryName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `alertType` | *string* | :heavy_check_mark: | N/A | -| `groupId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `severity` | *string* | :heavy_minus_sign: | N/A | -| `destinations` | [models.Destinations](../models/destinations.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `removedTeamIds` | *string*[] | :heavy_check_mark: | N/A | +| `repositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fivehundredandtwo.md b/docs/models/fivehundredandtwo.md index d500ed9180..0965287c62 100644 --- a/docs/models/fivehundredandtwo.md +++ b/docs/models/fivehundredandtwo.md @@ -5,16 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FiveHundredAndTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FiveHundredAndTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FiveHundredAndTwo = { - remaining: 4187.06, + scope: "organization", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `context` | [models.Context](../models/context.md) | :heavy_minus_sign: | Absent on events predating the field; those were all logins. | -| `remaining` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `scope` | [models.UserEventPayload502Scope](../models/usereventpayload502scope.md) | :heavy_check_mark: | N/A | +| `scopeId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/forty.md b/docs/models/forty.md index 83cdc26f2b..be9e1008e4 100644 --- a/docs/models/forty.md +++ b/docs/models/forty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Forty } from "@vercel/sdk/models/twenty.js"; +import { Forty } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Forty = { credential: { diff --git a/docs/models/fortyeight.md b/docs/models/fortyeight.md index a5cb6ab76c..58984fed5e 100644 --- a/docs/models/fortyeight.md +++ b/docs/models/fortyeight.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyEight } from "@vercel/sdk/models/twenty.js"; +import { FortyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyEight = { regions: [ diff --git a/docs/models/fortyfive.md b/docs/models/fortyfive.md index 1de0408090..5dcb086414 100644 --- a/docs/models/fortyfive.md +++ b/docs/models/fortyfive.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyFive } from "@vercel/sdk/models/twenty.js"; +import { FortyFive } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyFive = { privateModel: { diff --git a/docs/models/fortyfour.md b/docs/models/fortyfour.md index c20b05d92d..6f52f051e3 100644 --- a/docs/models/fortyfour.md +++ b/docs/models/fortyfour.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyFour } from "@vercel/sdk/models/twenty.js"; +import { FortyFour } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyFour = { privateModel: { diff --git a/docs/models/fortynine.md b/docs/models/fortynine.md index e6f157228c..14db984805 100644 --- a/docs/models/fortynine.md +++ b/docs/models/fortynine.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyNine } from "@vercel/sdk/models/twenty.js"; +import { FortyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyNine = { countries: [ diff --git a/docs/models/fortyone.md b/docs/models/fortyone.md index 5fd2446908..ab626bf080 100644 --- a/docs/models/fortyone.md +++ b/docs/models/fortyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyOne } from "@vercel/sdk/models/twenty.js"; +import { FortyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyOne = { added: [ diff --git a/docs/models/fortyseven.md b/docs/models/fortyseven.md index c9ec0bfb04..e3b5df08ad 100644 --- a/docs/models/fortyseven.md +++ b/docs/models/fortyseven.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortySeven } from "@vercel/sdk/models/twenty.js"; +import { FortySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortySeven = { moderationPolicyCount: 1316.08, diff --git a/docs/models/fortysix.md b/docs/models/fortysix.md index f057299c6f..4c1f00d406 100644 --- a/docs/models/fortysix.md +++ b/docs/models/fortysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortySix } from "@vercel/sdk/models/twenty.js"; +import { FortySix } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortySix = { privateProvider: { diff --git a/docs/models/fortythree.md b/docs/models/fortythree.md index 34ad79dc73..6c535baec3 100644 --- a/docs/models/fortythree.md +++ b/docs/models/fortythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyThree } from "@vercel/sdk/models/twenty.js"; +import { FortyThree } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyThree = { added: [], diff --git a/docs/models/fortytwo.md b/docs/models/fortytwo.md index 3f87a3512e..cd490ce04f 100644 --- a/docs/models/fortytwo.md +++ b/docs/models/fortytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FortyTwo } from "@vercel/sdk/models/twenty.js"; +import { FortyTwo } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FortyTwo = { amount: "192.34", diff --git a/docs/models/fourhundred.md b/docs/models/fourhundred.md index 88749d8279..23ee796308 100644 --- a/docs/models/fourhundred.md +++ b/docs/models/fourhundred.md @@ -5,19 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundred } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundred } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundred = { - name: { - name: "", - }, - uid: "", + email: "Lester.Beahan45@hotmail.com", + name: "", + projectId: "", + sandboxId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `name` | *models.PayloadName* | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `sandboxId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeight.md b/docs/models/fourhundredandeight.md index 863e41f9fb..41660c422c 100644 --- a/docs/models/fourhundredandeight.md +++ b/docs/models/fourhundredandeight.md @@ -5,15 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEight } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndEight } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndEight = { - email: "Ernie.Lindgren@hotmail.com", - gitlabEmail: "", - gitlabLogin: "", - gitlabName: "", - zeitAccount: "", - zeitAccountType: "", + bio: "", }; ``` @@ -21,9 +16,4 @@ let value: FourHundredAndEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | -| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | -| `gitlabName` | *string* | :heavy_check_mark: | N/A | -| `zeitAccount` | *string* | :heavy_check_mark: | N/A | -| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `bio` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeighteen.md b/docs/models/fourhundredandeighteen.md index 8b032eafcf..6a94497c33 100644 --- a/docs/models/fourhundredandeighteen.md +++ b/docs/models/fourhundredandeighteen.md @@ -5,22 +5,33 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEighteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndEighteen } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndEighteen = { - store: { + budget: { + createdAt: 9832.3, + fixedBudget: 264.39, id: "", - type: "redis", + isActive: true, + notifiedAt: [ + 5205.41, + 7952.66, + ], + previousSpend: [], + teamId: "", + type: "fixed", }, - originTeamId: "", - originTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `store` | [models.UserEventPayloadStore](../models/usereventpayloadstore.md) | :heavy_check_mark: | N/A | -| `originTeamId` | *string* | :heavy_check_mark: | N/A | -| `originTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `budget` | [models.UserEventPayload418Budget](../models/usereventpayload418budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | +| `prevBudget` | [models.PrevBudget](../models/prevbudget.md) | :heavy_minus_sign: | Represents a budget for tracking and notifying teams on their spending. | +| `prevWebhookUrl` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | +| `projectName` | *string* | :heavy_minus_sign: | Injected at read time from `payload.projectId`. | +| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | +| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeighty.md b/docs/models/fourhundredandeighty.md index f42b5e3c31..ebba0cab0d 100644 --- a/docs/models/fourhundredandeighty.md +++ b/docs/models/fourhundredandeighty.md @@ -5,13 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEighty } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEighty } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEighty = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `next` | Record | :heavy_minus_sign: | N/A | +| `previous` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightyeight.md b/docs/models/fourhundredandeightyeight.md index 2f5d3ab8f5..5564826c71 100644 --- a/docs/models/fourhundredandeightyeight.md +++ b/docs/models/fourhundredandeightyeight.md @@ -5,16 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyEight = { - username: "Merl_Hansen", + reason: "limits-exceeded", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `reason` | [models.UserEventPayloadReason](../models/usereventpayloadreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightyfive.md b/docs/models/fourhundredandeightyfive.md index 637283f9f5..33cf6c424a 100644 --- a/docs/models/fourhundredandeightyfive.md +++ b/docs/models/fourhundredandeightyfive.md @@ -5,17 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyFive } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndEightyFive = { - organizationId: "", - teamIds: [], -}; +let value: FourHundredAndEightyFive = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `teamIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightyfour.md b/docs/models/fourhundredandeightyfour.md index eeb16d2744..1a74b1ad01 100644 --- a/docs/models/fourhundredandeightyfour.md +++ b/docs/models/fourhundredandeightyfour.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyFour } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyFour = { - organizationId: "", + fileId: "", }; ``` @@ -16,4 +16,4 @@ let value: FourHundredAndEightyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `fileId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightynine.md b/docs/models/fourhundredandeightynine.md index 83d75936de..feb469a1fc 100644 --- a/docs/models/fourhundredandeightynine.md +++ b/docs/models/fourhundredandeightynine.md @@ -5,21 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyNine = { - username: "Zoey.McKenzie53", - actorId: "", - actorType: "admin", + organizationId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `deletedAt` | *number* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload489ActorType](../models/usereventpayload489actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightyone.md b/docs/models/fourhundredandeightyone.md index 82c3bbaa6e..c70ee2ac21 100644 --- a/docs/models/fourhundredandeightyone.md +++ b/docs/models/fourhundredandeightyone.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyOne = { - actorId: "", - actorType: "admin", + domain: "graceful-unit.net", + ips: [ + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload481ActorType](../models/usereventpayload481actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `ips` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightyseven.md b/docs/models/fourhundredandeightyseven.md index a547842453..f9bbf277e7 100644 --- a/docs/models/fourhundredandeightyseven.md +++ b/docs/models/fourhundredandeightyseven.md @@ -5,21 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightySeven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightySeven = { - recoveryCodes: 7175.58, - totp: true, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_minus_sign: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | Human-readable admin who performed the removal. | -| `actorType` | [models.UserEventPayload487ActorType](../models/usereventpayload487actortype.md) | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | -| `recoveryCodes` | *number* | :heavy_check_mark: | N/A | -| `totp` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `sampling` | [models.Sampling](../models/sampling.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightysix.md b/docs/models/fourhundredandeightysix.md index 40d540dd2c..6c99e67ed1 100644 --- a/docs/models/fourhundredandeightysix.md +++ b/docs/models/fourhundredandeightysix.md @@ -5,13 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightySix } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndEightySix = {}; +let value: FourHundredAndEightySix = { + actorId: "", + actorType: "admin", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `teamName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload486ActorType](../models/usereventpayload486actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightythree.md b/docs/models/fourhundredandeightythree.md index ea809e1879..4ade5b13f3 100644 --- a/docs/models/fourhundredandeightythree.md +++ b/docs/models/fourhundredandeightythree.md @@ -5,15 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyThree = { - reason: "limits-exceeded", + exportId: "", + format: "", + from: 4452.14, + to: 2025.64, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `reason` | [models.UserEventPayloadReason](../models/usereventpayloadreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `exportId` | *string* | :heavy_check_mark: | N/A | +| `filters` | [models.Filters](../models/filters.md) | :heavy_minus_sign: | N/A | +| `format` | *string* | :heavy_check_mark: | N/A | +| `from` | *number* | :heavy_check_mark: | N/A | +| `to` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeightytwo.md b/docs/models/fourhundredandeightytwo.md index 1cc9c640ba..d8d4abb2d4 100644 --- a/docs/models/fourhundredandeightytwo.md +++ b/docs/models/fourhundredandeightytwo.md @@ -5,18 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEightyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndEightyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndEightyTwo = { - projectId: "", - projectName: "", + tokenTypes: [ + "", + "", + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `sampling` | [models.Sampling](../models/sampling.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `tokenTypes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandeleven.md b/docs/models/fourhundredandeleven.md index 5073c193ad..ef3a9dc37c 100644 --- a/docs/models/fourhundredandeleven.md +++ b/docs/models/fourhundredandeleven.md @@ -5,31 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndEleven } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndEleven } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndEleven = { - budget: { - createdAt: 7880.72, - fixedBudget: 5218.55, - id: "", - isActive: false, - notifiedAt: [ - 3655.09, - 3977.17, - ], - previousSpend: [], - teamId: "", - type: "fixed", - }, + bitbucketEmail: "", + bitbucketLogin: "", + bitbucketName: "", + email: "Joy.Moore39@hotmail.com", + zeitAccount: "", + zeitAccountType: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `budget` | [models.UserEventPayload411Budget](../models/usereventpayload411budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | -| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | -| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | +| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | +| `bitbucketName` | *string* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `zeitAccount` | *string* | :heavy_check_mark: | N/A | +| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfifteen.md b/docs/models/fourhundredandfifteen.md index 3078e6c6ff..a22e5ccb11 100644 --- a/docs/models/fourhundredandfifteen.md +++ b/docs/models/fourhundredandfifteen.md @@ -5,15 +5,30 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFifteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndFifteen } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndFifteen = { - storeType: "postgres", + budget: { + budgetItem: { + createdAt: 8193.79, + fixedBudget: 452.57, + id: "", + isActive: false, + notifiedAt: [], + previousSpend: [ + 5760.81, + ], + teamId: "", + type: "fixed", + }, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `storeType` | [models.StoreType](../models/storetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `budget` | [models.UserEventPayload415Budget](../models/usereventpayload415budget.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfifty.md b/docs/models/fourhundredandfifty.md index 410059f204..98aa07c55a 100644 --- a/docs/models/fourhundredandfifty.md +++ b/docs/models/fourhundredandfifty.md @@ -5,22 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFifty } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFifty } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFifty = { - teamName: "", + enabled: false, + environment: "production", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitUsername` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | -| `updatedUid` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `environment` | [models.PayloadEnvironment](../models/payloadenvironment.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftyeight.md b/docs/models/fourhundredandfiftyeight.md index 1e068e7fb7..473547a7ff 100644 --- a/docs/models/fourhundredandfiftyeight.md +++ b/docs/models/fourhundredandfiftyeight.md @@ -5,17 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftyEight = { - authorized: true, + entitlement: "", + user: { + id: "", + username: "Caleb_Satterfield", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authorized` | *boolean* | :heavy_check_mark: | N/A | -| `email` | *string* | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `entitlement` | *string* | :heavy_check_mark: | N/A | +| `user` | [models.PayloadUser](../models/payloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftyfive.md b/docs/models/fourhundredandfiftyfive.md index 3b6c40b9be..76f035b887 100644 --- a/docs/models/fourhundredandfiftyfive.md +++ b/docs/models/fourhundredandfiftyfive.md @@ -5,22 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyFive } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFiftyFive = {}; +let value: FourHundredAndFiftyFive = { + teamName: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | -| `invitedBy` | [models.InvitedBy](../models/invitedby.md) | :heavy_minus_sign: | N/A | -| `origin` | *string* | :heavy_minus_sign: | N/A | -| `role` | *string* | :heavy_minus_sign: | N/A | -| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | -| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | -| `teamSlug` | *string* | :heavy_minus_sign: | N/A | -| `uid` | *string* | :heavy_minus_sign: | N/A | -| `updatedUid` | *string* | :heavy_minus_sign: | N/A | -| `updatedUser` | [models.UpdatedUser](../models/updateduser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitUsername` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | +| `updatedUid` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftyfour.md b/docs/models/fourhundredandfiftyfour.md index 6712ba7493..87fb242540 100644 --- a/docs/models/fourhundredandfiftyfour.md +++ b/docs/models/fourhundredandfiftyfour.md @@ -5,21 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyFour } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFiftyFour = { - entitlement: "", - user: { - id: "", - username: "Anabel1", - }, -}; +let value: FourHundredAndFiftyFour = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `entitlement` | *string* | :heavy_check_mark: | N/A | -| `previousCanceledAt` | *string* | :heavy_minus_sign: | N/A | -| `user` | [models.UserEventPayloadUser](../models/usereventpayloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | +| `invitationRole` | *string* | :heavy_minus_sign: | N/A | +| `invitedEmail` | *string* | :heavy_minus_sign: | N/A | +| `invitedUid` | *string* | :heavy_minus_sign: | N/A | +| `invitedUser` | [models.InvitedUser](../models/inviteduser.md) | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `teamSlug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftynine.md b/docs/models/fourhundredandfiftynine.md index 824d27027b..7ab04b3489 100644 --- a/docs/models/fourhundredandfiftynine.md +++ b/docs/models/fourhundredandfiftynine.md @@ -5,15 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftyNine = { - enforced: false, + entitlement: "", + user: { + id: "", + username: "Maida21", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `entitlement` | *string* | :heavy_check_mark: | N/A | +| `previousCanceledAt` | *string* | :heavy_minus_sign: | N/A | +| `user` | [models.UserEventPayloadUser](../models/usereventpayloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftyone.md b/docs/models/fourhundredandfiftyone.md index 64352b6fe6..58ab380bb1 100644 --- a/docs/models/fourhundredandfiftyone.md +++ b/docs/models/fourhundredandfiftyone.md @@ -5,20 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftyOne = { - teamName: "", + enabled: "on", + environment: "preview", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitUsername` | *string* | :heavy_minus_sign: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `enabled` | [models.Enabled](../models/enabled.md) | :heavy_check_mark: | N/A | +| `environment` | [models.UserEventPayloadEnvironment](../models/usereventpayloadenvironment.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftyseven.md b/docs/models/fourhundredandfiftyseven.md index 4d73690fdc..49b7c03249 100644 --- a/docs/models/fourhundredandfiftyseven.md +++ b/docs/models/fourhundredandfiftyseven.md @@ -5,26 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftySeven } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFiftySeven = { - previousRole: "", -}; +let value: FourHundredAndFiftySeven = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `origin` | *string* | :heavy_minus_sign: | N/A | -| `previousRole` | *string* | :heavy_check_mark: | N/A | -| `previousTeamPermissions` | [models.PreviousTeamPermissions](../models/previousteampermissions.md)[] | :heavy_minus_sign: | N/A | -| `previousTeamRoles` | [models.PreviousTeamRoles](../models/previousteamroles.md)[] | :heavy_minus_sign: | N/A | -| `role` | *string* | :heavy_minus_sign: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `teamPermissions` | [models.PayloadTeamPermissions](../models/payloadteampermissions.md)[] | :heavy_minus_sign: | N/A | -| `teamRoles` | [models.PayloadTeamRoles](../models/payloadteamroles.md)[] | :heavy_minus_sign: | N/A | -| `teamSlug` | *string* | :heavy_minus_sign: | N/A | -| `updatedUid` | *string* | :heavy_minus_sign: | N/A | -| `updatedUser` | [models.PayloadUpdatedUser](../models/payloadupdateduser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `automated` | *boolean* | :heavy_minus_sign: | Whether the removal was system-initiated rather than human-initiated. | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `deletedUid` | *string* | :heavy_minus_sign: | N/A | +| `deletedUser` | [models.PayloadDeletedUser](../models/payloaddeleteduser.md) | :heavy_minus_sign: | N/A | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `newPlan` | [models.NewPlan](../models/newplan.md) | :heavy_minus_sign: | N/A | +| `previousPlan` | [models.PreviousPlan](../models/previousplan.md) | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | Why the member was removed. When removed due to a plan downgrade, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `trial_expired`, `user_downgrade`). | +| `role` | [models.PayloadRole](../models/payloadrole.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftysix.md b/docs/models/fourhundredandfiftysix.md index 9856278b84..a76b100a74 100644 --- a/docs/models/fourhundredandfiftysix.md +++ b/docs/models/fourhundredandfiftysix.md @@ -5,22 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftySix } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftySix = { - requestedTeamName: "", + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitUsername` | *string* | :heavy_minus_sign: | N/A | -| `requestedTeamName` | *string* | :heavy_check_mark: | N/A | -| `requestedTeamSlug` | *string* | :heavy_minus_sign: | N/A | -| `requestedUserName` | *string* | :heavy_minus_sign: | N/A | -| `source` | [models.UserEventPayloadSource](../models/usereventpayloadsource.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitUsername` | *string* | :heavy_minus_sign: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftythree.md b/docs/models/fourhundredandfiftythree.md index 4b7db4ed2e..3bbc6015a0 100644 --- a/docs/models/fourhundredandfiftythree.md +++ b/docs/models/fourhundredandfiftythree.md @@ -5,20 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftyThree = { - entitlement: "", - user: { - id: "", - username: "Daphnee.Dicki12", - }, + deletedCount: 2294.38, + inviteIds: [ + "", + "", + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `entitlement` | *string* | :heavy_check_mark: | N/A | -| `user` | [models.PayloadUser](../models/payloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `deletedCount` | *number* | :heavy_check_mark: | N/A | +| `inviteIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfiftytwo.md b/docs/models/fourhundredandfiftytwo.md index cbd21dd917..3246c14fce 100644 --- a/docs/models/fourhundredandfiftytwo.md +++ b/docs/models/fourhundredandfiftytwo.md @@ -5,23 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFiftyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFiftyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFiftyTwo = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `automated` | *boolean* | :heavy_minus_sign: | Whether the removal was system-initiated rather than human-initiated. | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `deletedUid` | *string* | :heavy_minus_sign: | N/A | -| `deletedUser` | [models.PayloadDeletedUser](../models/payloaddeleteduser.md) | :heavy_minus_sign: | N/A | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `newPlan` | [models.NewPlan](../models/newplan.md) | :heavy_minus_sign: | N/A | -| `previousPlan` | [models.PreviousPlan](../models/previousplan.md) | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | Why the member was removed. When removed due to a plan downgrade, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `trial_expired`, `user_downgrade`). | -| `role` | [models.PayloadRole](../models/payloadrole.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `emailDomain` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfive.md b/docs/models/fourhundredandfive.md index 64bca6eeff..fdc70c0c63 100644 --- a/docs/models/fourhundredandfive.md +++ b/docs/models/fourhundredandfive.md @@ -5,27 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFive } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndFive } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndFive = {}; +let value: FourHundredAndFive = { + name: { + name: "", + }, + uid: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `env` | *string* | :heavy_minus_sign: | N/A | -| `factors` | [models.PayloadFactors](../models/payloadfactors.md)[] | :heavy_minus_sign: | N/A | -| `geolocation` | [models.PayloadGeolocation](../models/payloadgeolocation.md) | :heavy_minus_sign: | N/A | -| `os` | *string* | :heavy_minus_sign: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `viaApple` | *boolean* | :heavy_minus_sign: | N/A | -| `viaBitbucket` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGithub` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGitlab` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGoogle` | *boolean* | :heavy_minus_sign: | N/A | -| `viaOTP` | *boolean* | :heavy_minus_sign: | N/A | -| `viaPasskey` | *boolean* | :heavy_minus_sign: | N/A | -| `viaSamlSso` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `name` | *models.PayloadName* | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandforty.md b/docs/models/fourhundredandforty.md index 4131986a61..84e7bc2ed5 100644 --- a/docs/models/fourhundredandforty.md +++ b/docs/models/fourhundredandforty.md @@ -5,24 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndForty } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndForty } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndForty = { - by: "", - slug: "", - teamId: "", + eventId: "", + occurredAt: 8824.11, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `by` | *string* | :heavy_check_mark: | N/A | -| `byUid` | *string* | :heavy_minus_sign: | N/A | -| `reasons` | [models.Reasons](../models/reasons.md)[] | :heavy_minus_sign: | N/A | -| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | -| `removedUsers` | Record | :heavy_minus_sign: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `timestamp` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortyeight.md b/docs/models/fourhundredandfortyeight.md index aad14b5789..05fe566b71 100644 --- a/docs/models/fourhundredandfortyeight.md +++ b/docs/models/fourhundredandfortyeight.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFortyEight = { - deletedCount: 8577.16, - inviteIds: [], + action: "updated", + targetId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `deletedCount` | *number* | :heavy_check_mark: | N/A | -| `inviteIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload448Action](../models/usereventpayload448action.md) | :heavy_check_mark: | N/A | +| `targetId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortyfive.md b/docs/models/fourhundredandfortyfive.md index 5552cd6642..4d201a63be 100644 --- a/docs/models/fourhundredandfortyfive.md +++ b/docs/models/fourhundredandfortyfive.md @@ -5,21 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyFive } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFortyFive = { - enabled: true, - environment: "preview", - projectId: "", - projectName: "", + by: "", + slug: "", + teamId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `environment` | [models.PayloadEnvironment](../models/payloadenvironment.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `by` | *string* | :heavy_check_mark: | N/A | +| `byUid` | *string* | :heavy_minus_sign: | N/A | +| `reasons` | [models.Reasons](../models/reasons.md)[] | :heavy_minus_sign: | N/A | +| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | +| `removedUsers` | Record | :heavy_minus_sign: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `timestamp` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortyfour.md b/docs/models/fourhundredandfortyfour.md index 57a50e422f..e2789c93b3 100644 --- a/docs/models/fourhundredandfortyfour.md +++ b/docs/models/fourhundredandfortyfour.md @@ -5,16 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyFour } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFortyFour = { - enabled: true, -}; +let value: FourHundredAndFortyFour = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_minus_sign: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `enrolled` | *boolean* | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload444ActorType](../models/usereventpayload444actortype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortynine.md b/docs/models/fourhundredandfortynine.md index 125f3a128d..c314fd723a 100644 --- a/docs/models/fourhundredandfortynine.md +++ b/docs/models/fourhundredandfortynine.md @@ -5,21 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyNine } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFortyNine = {}; +let value: FourHundredAndFortyNine = { + enabled: false, +}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | -| `invitationRole` | *string* | :heavy_minus_sign: | N/A | -| `invitedEmail` | *string* | :heavy_minus_sign: | N/A | -| `invitedUid` | *string* | :heavy_minus_sign: | N/A | -| `invitedUser` | [models.InvitedUser](../models/inviteduser.md) | :heavy_minus_sign: | N/A | -| `origin` | *string* | :heavy_minus_sign: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `teamSlug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_minus_sign: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortyone.md b/docs/models/fourhundredandfortyone.md index 0c2a23441d..8dd75a97c2 100644 --- a/docs/models/fourhundredandfortyone.md +++ b/docs/models/fourhundredandfortyone.md @@ -5,16 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFortyOne = { - enabled: false, + next: "manual-approval", + previous: "block", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayload441Scope](../models/usereventpayload441scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload441Next](../models/usereventpayload441next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload441Previous](../models/usereventpayload441previous.md) | :heavy_check_mark: | N/A | +| `teamSlug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortyseven.md b/docs/models/fourhundredandfortyseven.md index 3e13bc089c..536fc6d71c 100644 --- a/docs/models/fourhundredandfortyseven.md +++ b/docs/models/fourhundredandfortyseven.md @@ -5,13 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortySeven } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFortySeven = {}; +let value: FourHundredAndFortySeven = { + next: {}, + previous: {}, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `emailDomain` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload447Next](../models/usereventpayload447next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload447Previous](../models/usereventpayload447previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortysix.md b/docs/models/fourhundredandfortysix.md index f30bf87d50..b2b3acd48c 100644 --- a/docs/models/fourhundredandfortysix.md +++ b/docs/models/fourhundredandfortysix.md @@ -5,17 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortySix } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndFortySix = { - enabled: "on-force", - environment: "production", + enabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `enabled` | [models.Enabled](../models/enabled.md) | :heavy_check_mark: | N/A | -| `environment` | [models.UserEventPayloadEnvironment](../models/usereventpayloadenvironment.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload446Scope](../models/usereventpayload446scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortythree.md b/docs/models/fourhundredandfortythree.md index 5c2b02aa1b..21a8671f86 100644 --- a/docs/models/fourhundredandfortythree.md +++ b/docs/models/fourhundredandfortythree.md @@ -5,17 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyThree } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFortyThree = { - action: "reset", - targetId: "", -}; +let value: FourHundredAndFortyThree = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload443Action](../models/usereventpayload443action.md) | :heavy_check_mark: | N/A | -| `targetId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `isSystemInitiated` | *boolean* | :heavy_minus_sign: | N/A | +| `next` | [models.UserEventPayload443Next](../models/usereventpayload443next.md) | :heavy_minus_sign: | N/A | +| `previous` | [models.UserEventPayload443Previous](../models/usereventpayload443previous.md) | :heavy_minus_sign: | N/A | +| `reason` | [models.PayloadReason](../models/payloadreason.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfortytwo.md b/docs/models/fourhundredandfortytwo.md index ad16bad635..64c3cee117 100644 --- a/docs/models/fourhundredandfortytwo.md +++ b/docs/models/fourhundredandfortytwo.md @@ -5,17 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFortyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndFortyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndFortyTwo = { - next: {}, - previous: {}, -}; +let value: FourHundredAndFortyTwo = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload442Next](../models/usereventpayload442next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload442Previous](../models/usereventpayload442previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `disabled` | *boolean* | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload442ActorType](../models/usereventpayload442actortype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfour.md b/docs/models/fourhundredandfour.md index d079493de6..6b538ac1cc 100644 --- a/docs/models/fourhundredandfour.md +++ b/docs/models/fourhundredandfour.md @@ -5,21 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFour } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndFour } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndFour = { - max: 4578.24, - min: 3682.95, - scalingRules: {}, - url: "https://cuddly-in-joke.info", + email: "Freeda.Rolfson@yahoo.com", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `max` | *number* | :heavy_check_mark: | N/A | -| `min` | *number* | :heavy_check_mark: | N/A | -| `scalingRules` | Record | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandfourteen.md b/docs/models/fourhundredandfourteen.md index 470967b8ce..6606855208 100644 --- a/docs/models/fourhundredandfourteen.md +++ b/docs/models/fourhundredandfourteen.md @@ -5,15 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndFourteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndFourteen } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndFourteen = {}; +let value: FourHundredAndFourteen = { + previous: { + sampleRatePercent: 7373, + spendLimitInDollars: 6514.48, + }, + sampleRatePercent: 2217.6, + spendLimitInDollars: 5871.4, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `analyticsId` | *string* | :heavy_minus_sign: | N/A | +| `previous` | [models.UserEventPayload414Previous](../models/usereventpayload414previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `sampleRatePercent` | *number* | :heavy_check_mark: | N/A | +| `spendLimitInDollars` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandnine.md b/docs/models/fourhundredandnine.md index 4e0fcbc838..a132d9fb30 100644 --- a/docs/models/fourhundredandnine.md +++ b/docs/models/fourhundredandnine.md @@ -5,25 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNine } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndNine } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndNine = { - previous: { - sampleRatePercent: 6251.95, - spendLimitInDollars: null, - }, - sampleRatePercent: 9677.09, - spendLimitInDollars: 6172.44, + max: 1078.57, + min: 6251.95, + scalingRules: {}, + url: "https://wide-eyed-ethyl.name/", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `analyticsId` | *string* | :heavy_minus_sign: | N/A | -| `previous` | [models.UserEventPayload409Previous](../models/usereventpayload409previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `sampleRatePercent` | *number* | :heavy_check_mark: | N/A | -| `spendLimitInDollars` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `max` | *number* | :heavy_check_mark: | N/A | +| `min` | *number* | :heavy_check_mark: | N/A | +| `scalingRules` | Record | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandnineteen.md b/docs/models/fourhundredandnineteen.md index 9b6f5e898b..df0864b9a8 100644 --- a/docs/models/fourhundredandnineteen.md +++ b/docs/models/fourhundredandnineteen.md @@ -5,22 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNineteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndNineteen } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndNineteen = { - id: "", - type: "blob", -}; +let value: FourHundredAndNineteen = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `access` | [models.Access](../models/access.md) | :heavy_minus_sign: | N/A | -| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | -| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload419Type](../models/usereventpayload419type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninety.md b/docs/models/fourhundredandninety.md index ecd2501bc0..868e40ed5e 100644 --- a/docs/models/fourhundredandninety.md +++ b/docs/models/fourhundredandninety.md @@ -5,10 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinety } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinety } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinety = { - username: "Roma60", + organizationId: "", + teamIds: [ + "", + "", + "", + ], }; ``` @@ -16,4 +21,5 @@ let value: FourHundredAndNinety = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `teamIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetyeight.md b/docs/models/fourhundredandninetyeight.md index 999763ef77..9b55bddc18 100644 --- a/docs/models/fourhundredandninetyeight.md +++ b/docs/models/fourhundredandninetyeight.md @@ -5,19 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyEight = { - method: "webauthn", - reason: "", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `flowId` | *string* | :heavy_minus_sign: | N/A | -| `loginSessionId` | *string* | :heavy_minus_sign: | N/A | -| `method` | [models.Method](../models/method.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_check_mark: | N/A | +| `actorType` | [models.UserEventPayload498ActorType](../models/usereventpayload498actortype.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetyfive.md b/docs/models/fourhundredandninetyfive.md index b2aa130b7b..e5006e19da 100644 --- a/docs/models/fourhundredandninetyfive.md +++ b/docs/models/fourhundredandninetyfive.md @@ -5,19 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyFive } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyFive = { - actorId: "", - actorType: "admin", - enabled: false, + username: "Karianne_Wisoky", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_check_mark: | N/A | -| `actorType` | [models.UserEventPayload495ActorType](../models/usereventpayload495actortype.md) | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetyfour.md b/docs/models/fourhundredandninetyfour.md index 1a2a84fdca..7274b8d754 100644 --- a/docs/models/fourhundredandninetyfour.md +++ b/docs/models/fourhundredandninetyfour.md @@ -5,9 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyFour } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyFour = { + username: "Vida.OConner5", actorId: "", actorType: "admin", }; @@ -17,5 +18,8 @@ let value: FourHundredAndNinetyFour = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_check_mark: | N/A | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | | `actorType` | [models.UserEventPayload494ActorType](../models/usereventpayload494actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetynine.md b/docs/models/fourhundredandninetynine.md index 2961d7667a..8f7916882e 100644 --- a/docs/models/fourhundredandninetynine.md +++ b/docs/models/fourhundredandninetynine.md @@ -5,22 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyNine = { - allowedMethods: [ - "recovery-code", - ], - firstFactor: "", - flowId: "", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `allowedMethods` | [models.AllowedMethods](../models/allowedmethods.md)[] | :heavy_check_mark: | N/A | -| `firstFactor` | *string* | :heavy_check_mark: | N/A | -| `flowId` | *string* | :heavy_check_mark: | N/A | -| `loginSessionId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_check_mark: | N/A | +| `actorType` | [models.UserEventPayload499ActorType](../models/usereventpayload499actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetyone.md b/docs/models/fourhundredandninetyone.md index ad920f1a40..5069d3b63d 100644 --- a/docs/models/fourhundredandninetyone.md +++ b/docs/models/fourhundredandninetyone.md @@ -5,15 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyOne } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndNinetyOne = { - teamName: "", -}; +let value: FourHundredAndNinetyOne = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `teamName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetyseven.md b/docs/models/fourhundredandninetyseven.md index af536244a2..cfb9da440e 100644 --- a/docs/models/fourhundredandninetyseven.md +++ b/docs/models/fourhundredandninetyseven.md @@ -5,16 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetySeven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetySeven = { - scope: "team", + teamId: "", + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `scope` | [models.UserEventPayload497Scope](../models/usereventpayload497scope.md) | :heavy_check_mark: | N/A | -| `scopeId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetysix.md b/docs/models/fourhundredandninetysix.md index bd2c2ed2b9..391c8ad1e9 100644 --- a/docs/models/fourhundredandninetysix.md +++ b/docs/models/fourhundredandninetysix.md @@ -5,21 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetySix } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetySix = { - actorId: "", - actorType: "admin", - autoBlockPrevented: true, + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_check_mark: | N/A | -| `actorType` | [models.UserEventPayload496ActorType](../models/usereventpayload496actortype.md) | :heavy_check_mark: | N/A | -| `autoBlockPrevented` | *boolean* | :heavy_check_mark: | N/A | -| `preventUntil` | *number* | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetythree.md b/docs/models/fourhundredandninetythree.md index 9eca1c7838..c6396c9df3 100644 --- a/docs/models/fourhundredandninetythree.md +++ b/docs/models/fourhundredandninetythree.md @@ -5,18 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyThree = { - actorId: "", - actorType: "admin", + username: "Rhoda_Walsh", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_check_mark: | N/A | -| `actorType` | [models.UserEventPayload493ActorType](../models/usereventpayload493actortype.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `deletedAt` | *number* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandninetytwo.md b/docs/models/fourhundredandninetytwo.md index 4e7c14f478..971dfb9042 100644 --- a/docs/models/fourhundredandninetytwo.md +++ b/docs/models/fourhundredandninetytwo.md @@ -5,17 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndNinetyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndNinetyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndNinetyTwo = { - teamId: "", - teamName: "", + recoveryCodes: 4832.16, + totp: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | Human-readable admin who performed the removal. | +| `actorType` | [models.UserEventPayload492ActorType](../models/usereventpayload492actortype.md) | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | +| `recoveryCodes` | *number* | :heavy_check_mark: | N/A | +| `totp` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandone.md b/docs/models/fourhundredandone.md index 7414e2c604..d648a19b4b 100644 --- a/docs/models/fourhundredandone.md +++ b/docs/models/fourhundredandone.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndOne } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndOne } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndOne = { - newName: "", - oldName: "", + instances: 8763.22, + url: "https://cute-turret.name", }; ``` @@ -17,6 +17,5 @@ let value: FourHundredAndOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `newName` | *string* | :heavy_check_mark: | N/A | -| `oldName` | *string* | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `instances` | *number* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseven.md b/docs/models/fourhundredandseven.md index 4a6ce9580c..0034ac5ea0 100644 --- a/docs/models/fourhundredandseven.md +++ b/docs/models/fourhundredandseven.md @@ -5,13 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeven } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndSeven } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndSeven = { - email: "Earnestine.Batz12@gmail.com", - githubLogin: "", - zeitAccount: "", - zeitAccountType: "", + enabled: true, + updatedAt: 2823.21, }; ``` @@ -19,7 +17,8 @@ let value: FourHundredAndSeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `githubLogin` | *string* | :heavy_check_mark: | N/A | -| `zeitAccount` | *string* | :heavy_check_mark: | N/A | -| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `firstEnabledAt` | *number* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventeen.md b/docs/models/fourhundredandseventeen.md index 9cf26fbfdd..c6ad440341 100644 --- a/docs/models/fourhundredandseventeen.md +++ b/docs/models/fourhundredandseventeen.md @@ -5,22 +5,29 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventeen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndSeventeen } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndSeventeen = { - store: { + budget: { + createdAt: 1760.76, + fixedBudget: 9734.94, id: "", - type: "blob", + isActive: true, + notifiedAt: [ + 2934.14, + ], + previousSpend: [], + teamId: "", + type: "fixed", }, - destinationTeamId: "", - destinationTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `store` | [models.PayloadStore](../models/payloadstore.md) | :heavy_check_mark: | N/A | -| `destinationTeamId` | *string* | :heavy_check_mark: | N/A | -| `destinationTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `budget` | [models.UserEventPayload417Budget](../models/usereventpayload417budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | +| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | \ No newline at end of file diff --git a/docs/models/fourhundredandseventy.md b/docs/models/fourhundredandseventy.md index f83087ca0b..9b04ce147e 100644 --- a/docs/models/fourhundredandseventy.md +++ b/docs/models/fourhundredandseventy.md @@ -5,15 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventy } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventy } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSeventy = { - consent: "refused", -}; +let value: FourHundredAndSeventy = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `consent` | [models.PayloadConsent](../models/payloadconsent.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `inviteCode` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventyeight.md b/docs/models/fourhundredandseventyeight.md index ff575bb7e7..76fcbe8a99 100644 --- a/docs/models/fourhundredandseventyeight.md +++ b/docs/models/fourhundredandseventyeight.md @@ -5,22 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyEight = { - exportId: "", - format: "", - from: 5758.54, - to: 9380.44, + enabled: "off", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `exportId` | *string* | :heavy_check_mark: | N/A | -| `filters` | [models.Filters](../models/filters.md) | :heavy_minus_sign: | N/A | -| `format` | *string* | :heavy_check_mark: | N/A | -| `from` | *number* | :heavy_check_mark: | N/A | -| `to` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `enabled` | [models.PayloadEnabled](../models/payloadenabled.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventyfive.md b/docs/models/fourhundredandseventyfive.md index 115d60b8a0..23f73277e1 100644 --- a/docs/models/fourhundredandseventyfive.md +++ b/docs/models/fourhundredandseventyfive.md @@ -5,14 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyFive } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSeventyFive = {}; +let value: FourHundredAndSeventyFive = { + consent: "granted", +}; ``` ## Fields | Field | Type | Required | Description | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `next` | Record | :heavy_minus_sign: | N/A | -| `previous` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file +| `consent` | [models.PayloadConsent](../models/payloadconsent.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventyfour.md b/docs/models/fourhundredandseventyfour.md index c8a9717722..ad34383d7d 100644 --- a/docs/models/fourhundredandseventyfour.md +++ b/docs/models/fourhundredandseventyfour.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyFour } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyFour = { - enabled: true, - scope: "log-drains", + acceptanceId: "", + termsVersion: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayload474Scope](../models/usereventpayload474scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `acceptanceId` | *string* | :heavy_check_mark: | N/A | +| `termsVersion` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventynine.md b/docs/models/fourhundredandseventynine.md index 70bd0ac040..96cafd4095 100644 --- a/docs/models/fourhundredandseventynine.md +++ b/docs/models/fourhundredandseventynine.md @@ -5,15 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyNine = { - fileId: "", + enabled: true, + scope: "dashboard", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `fileId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload479Scope](../models/usereventpayload479scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventyone.md b/docs/models/fourhundredandseventyone.md index 7ce8986492..b47993390d 100644 --- a/docs/models/fourhundredandseventyone.md +++ b/docs/models/fourhundredandseventyone.md @@ -5,13 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyOne = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `remoteCaching` | [models.PayloadRemoteCaching](../models/payloadremotecaching.md) | :heavy_minus_sign: | Represents configuration for remote caching | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventyseven.md b/docs/models/fourhundredandseventyseven.md index abcf6959da..48c0ee9a7c 100644 --- a/docs/models/fourhundredandseventyseven.md +++ b/docs/models/fourhundredandseventyseven.md @@ -5,12 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventySeven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventySeven = { - tokenTypes: [ - "", - ], + deletedCount: 3041.21, }; ``` @@ -18,4 +16,4 @@ let value: FourHundredAndSeventySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `tokenTypes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `deletedCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventysix.md b/docs/models/fourhundredandseventysix.md index 88435c1bdd..69cdadc24d 100644 --- a/docs/models/fourhundredandseventysix.md +++ b/docs/models/fourhundredandseventysix.md @@ -5,21 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventySix } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSeventySix = { - domain: "unusual-bell.biz", - ips: [ - "", - "", - "", - ], -}; +let value: FourHundredAndSeventySix = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `ips` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `remoteCaching` | [models.PayloadRemoteCaching](../models/payloadremotecaching.md) | :heavy_minus_sign: | Represents configuration for remote caching | \ No newline at end of file diff --git a/docs/models/fourhundredandseventythree.md b/docs/models/fourhundredandseventythree.md index c3726b9381..3617f20567 100644 --- a/docs/models/fourhundredandseventythree.md +++ b/docs/models/fourhundredandseventythree.md @@ -5,15 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyThree = { - enabled: "off", + decision: "turn_off", + version: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `enabled` | [models.PayloadEnabled](../models/payloadenabled.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `decision` | [models.Decision](../models/decision.md) | :heavy_check_mark: | N/A | +| `version` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandseventytwo.md b/docs/models/fourhundredandseventytwo.md index 2a0fc2fcef..e4e4f10d4e 100644 --- a/docs/models/fourhundredandseventytwo.md +++ b/docs/models/fourhundredandseventytwo.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSeventyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSeventyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSeventyTwo = { - deletedCount: 6847.3, + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `deletedCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload472ActorType](../models/usereventpayload472actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsix.md b/docs/models/fourhundredandsix.md index 0c1ef301f3..bf97c6da5d 100644 --- a/docs/models/fourhundredandsix.md +++ b/docs/models/fourhundredandsix.md @@ -5,15 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSix } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndSix } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndSix = { - bitbucketEmail: "", - bitbucketLogin: "", - bitbucketName: "", - email: "Royal.Kuhlman36@yahoo.com", - zeitAccount: "", - zeitAccountType: "", + newName: "", + oldName: "", }; ``` @@ -21,9 +17,6 @@ let value: FourHundredAndSix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | -| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | -| `bitbucketName` | *string* | :heavy_check_mark: | N/A | -| `email` | *string* | :heavy_check_mark: | N/A | -| `zeitAccount` | *string* | :heavy_check_mark: | N/A | -| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `newName` | *string* | :heavy_check_mark: | N/A | +| `oldName` | *string* | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixteen.md b/docs/models/fourhundredandsixteen.md index 3abcce678e..5a40571b57 100644 --- a/docs/models/fourhundredandsixteen.md +++ b/docs/models/fourhundredandsixteen.md @@ -5,18 +5,34 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndSixteen } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndSixteen = { - store: { + budget: { + createdAt: 7972.25, + fixedBudget: 1985.42, id: "", - type: "postgres", + isActive: true, + notifiedAt: [ + 6492.68, + 3880.38, + 7121.36, + ], + previousSpend: [ + 8724.71, + ], + teamId: "", + type: "fixed", }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `store` | [models.Store](../models/store.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `budget` | [models.UserEventPayload416Budget](../models/usereventpayload416budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | +| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | +| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixty.md b/docs/models/fourhundredandsixty.md index c174c1c8a2..104a2548a7 100644 --- a/docs/models/fourhundredandsixty.md +++ b/docs/models/fourhundredandsixty.md @@ -5,22 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixty } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixty } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSixty = { - expiresAt: "1755593942532", - maxUses: 3116.25, - publicId: "", - role: "", -}; +let value: FourHundredAndSixty = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `expiresAt` | *string* | :heavy_check_mark: | N/A | -| `maxUses` | *number* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `publicId` | *string* | :heavy_check_mark: | N/A | -| `role` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | +| `invitedBy` | [models.InvitedBy](../models/invitedby.md) | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | +| `role` | *string* | :heavy_minus_sign: | N/A | +| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | +| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | +| `teamSlug` | *string* | :heavy_minus_sign: | N/A | +| `uid` | *string* | :heavy_minus_sign: | N/A | +| `updatedUid` | *string* | :heavy_minus_sign: | N/A | +| `updatedUser` | [models.UpdatedUser](../models/updateduser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtyeight.md b/docs/models/fourhundredandsixtyeight.md index e9dd7dbb5f..3a5700e8c6 100644 --- a/docs/models/fourhundredandsixtyeight.md +++ b/docs/models/fourhundredandsixtyeight.md @@ -5,17 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyEight } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyEight = { - decision: "turn_off", - version: "", + plan: "hobby", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `decision` | [models.Decision](../models/decision.md) | :heavy_check_mark: | N/A | -| `version` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `plan` | [models.UserEventPayloadPlan](../models/usereventpayloadplan.md) | :heavy_check_mark: | N/A | +| `trial` | [models.Trial](../models/trial.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtyfive.md b/docs/models/fourhundredandsixtyfive.md index 711ad1df1b..3390c20855 100644 --- a/docs/models/fourhundredandsixtyfive.md +++ b/docs/models/fourhundredandsixtyfive.md @@ -5,13 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyFive } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSixtyFive = {}; +let value: FourHundredAndSixtyFive = { + expiresAt: "1737220661930", + maxUses: 2531.33, + publicId: "", + role: "", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `inviteCode` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `expiresAt` | *string* | :heavy_check_mark: | N/A | +| `maxUses` | *number* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `publicId` | *string* | :heavy_check_mark: | N/A | +| `role` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtyfour.md b/docs/models/fourhundredandsixtyfour.md index 0940f345c9..95216a7c8d 100644 --- a/docs/models/fourhundredandsixtyfour.md +++ b/docs/models/fourhundredandsixtyfour.md @@ -5,19 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyFour } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyFour } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyFour = { - convertedFromTrial: false, - invoiceId: "", - plan: "hobby", + enforced: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `convertedFromTrial` | *boolean* | :heavy_check_mark: | N/A | -| `invoiceId` | *string* | :heavy_check_mark: | N/A | -| `plan` | [models.PayloadPlan](../models/payloadplan.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtynine.md b/docs/models/fourhundredandsixtynine.md index 81224faf01..2def8de96a 100644 --- a/docs/models/fourhundredandsixtynine.md +++ b/docs/models/fourhundredandsixtynine.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyNine } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyNine = { - acceptanceId: "", - termsVersion: "", + convertedFromTrial: false, + invoiceId: "", + plan: "hobby", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `acceptanceId` | *string* | :heavy_check_mark: | N/A | -| `termsVersion` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `convertedFromTrial` | *boolean* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `plan` | [models.PayloadPlan](../models/payloadplan.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtyone.md b/docs/models/fourhundredandsixtyone.md index d39036683a..cce37545bf 100644 --- a/docs/models/fourhundredandsixtyone.md +++ b/docs/models/fourhundredandsixtyone.md @@ -5,16 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyOne } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyOne } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyOne = { - publicId: "", + requestedTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `publicId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitUsername` | *string* | :heavy_minus_sign: | N/A | +| `requestedTeamName` | *string* | :heavy_check_mark: | N/A | +| `requestedTeamSlug` | *string* | :heavy_minus_sign: | N/A | +| `requestedUserName` | *string* | :heavy_minus_sign: | N/A | +| `source` | [models.UserEventPayloadSource](../models/usereventpayloadsource.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtyseven.md b/docs/models/fourhundredandsixtyseven.md index a9db1d977d..2e42c1092c 100644 --- a/docs/models/fourhundredandsixtyseven.md +++ b/docs/models/fourhundredandsixtyseven.md @@ -5,19 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtySeven } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtySeven = { - actorId: "", - actorType: "admin", + nextConcurrentBuilds: 2136.74, + previousConcurrentBuilds: 5943.64, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload467ActorType](../models/usereventpayload467actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `nextConcurrentBuilds` | *number* | :heavy_check_mark: | N/A | +| `previousConcurrentBuilds` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtysix.md b/docs/models/fourhundredandsixtysix.md index 810c372b44..e8c9a31dba 100644 --- a/docs/models/fourhundredandsixtysix.md +++ b/docs/models/fourhundredandsixtysix.md @@ -5,13 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtySix } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: FourHundredAndSixtySix = {}; +let value: FourHundredAndSixtySix = { + publicId: "", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_minus_sign: | N/A | +| `publicId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtythree.md b/docs/models/fourhundredandsixtythree.md index f356f5aa3f..cf6f3d72f2 100644 --- a/docs/models/fourhundredandsixtythree.md +++ b/docs/models/fourhundredandsixtythree.md @@ -5,16 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyThree } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyThree } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyThree = { - plan: "enterprise", + authorized: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `plan` | [models.UserEventPayloadPlan](../models/usereventpayloadplan.md) | :heavy_check_mark: | N/A | -| `trial` | [models.Trial](../models/trial.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `authorized` | *boolean* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandsixtytwo.md b/docs/models/fourhundredandsixtytwo.md index ef66c08875..f2db00d5df 100644 --- a/docs/models/fourhundredandsixtytwo.md +++ b/docs/models/fourhundredandsixtytwo.md @@ -5,17 +5,26 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndSixtyTwo } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndSixtyTwo } from "@vercel/sdk/models/fourhundredandforty.js"; let value: FourHundredAndSixtyTwo = { - nextConcurrentBuilds: 89.49, - previousConcurrentBuilds: 684.94, + previousRole: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `nextConcurrentBuilds` | *number* | :heavy_check_mark: | N/A | -| `previousConcurrentBuilds` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | +| `previousRole` | *string* | :heavy_check_mark: | N/A | +| `previousTeamPermissions` | [models.PreviousTeamPermissions](../models/previousteampermissions.md)[] | :heavy_minus_sign: | N/A | +| `previousTeamRoles` | [models.PreviousTeamRoles](../models/previousteamroles.md)[] | :heavy_minus_sign: | N/A | +| `role` | *string* | :heavy_minus_sign: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `teamPermissions` | [models.PayloadTeamPermissions](../models/payloadteampermissions.md)[] | :heavy_minus_sign: | N/A | +| `teamRoles` | [models.PayloadTeamRoles](../models/payloadteamroles.md)[] | :heavy_minus_sign: | N/A | +| `teamSlug` | *string* | :heavy_minus_sign: | N/A | +| `updatedUid` | *string* | :heavy_minus_sign: | N/A | +| `updatedUser` | [models.PayloadUpdatedUser](../models/payloadupdateduser.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandten.md b/docs/models/fourhundredandten.md index 3a1e59cc41..9cb1f504b1 100644 --- a/docs/models/fourhundredandten.md +++ b/docs/models/fourhundredandten.md @@ -5,35 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTen } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndTen = { - budget: { - budgetItem: { - createdAt: 6091.93, - fixedBudget: 5022.96, - id: "", - isActive: false, - notifiedAt: [ - 5110.69, - 6062.38, - 1999.65, - ], - previousSpend: [ - 1319.54, - 7602.32, - ], - teamId: "", - type: "fixed", - }, - }, -}; +let value: FourHundredAndTen = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `budget` | [models.UserEventPayload410Budget](../models/usereventpayload410budget.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `env` | *string* | :heavy_minus_sign: | N/A | +| `factors` | [models.PayloadFactors](../models/payloadfactors.md)[] | :heavy_minus_sign: | N/A | +| `geolocation` | [models.PayloadGeolocation](../models/payloadgeolocation.md) | :heavy_minus_sign: | N/A | +| `os` | *string* | :heavy_minus_sign: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | +| `viaApple` | *boolean* | :heavy_minus_sign: | N/A | +| `viaBitbucket` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGithub` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGitlab` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGoogle` | *boolean* | :heavy_minus_sign: | N/A | +| `viaOTP` | *boolean* | :heavy_minus_sign: | N/A | +| `viaPasskey` | *boolean* | :heavy_minus_sign: | N/A | +| `viaSamlSso` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirteen.md b/docs/models/fourhundredandthirteen.md index b396294ab2..42e3c8ef3d 100644 --- a/docs/models/fourhundredandthirteen.md +++ b/docs/models/fourhundredandthirteen.md @@ -5,36 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirteen } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirteen } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirteen = { - budget: { - createdAt: 9402.7, - fixedBudget: 3762.08, - id: "", - isActive: false, - notifiedAt: [ - 221.55, - ], - previousSpend: [ - 4682.77, - 6039.48, - 4552.11, - ], - teamId: "", - type: "fixed", - }, + email: "Garrison.Klein@hotmail.com", + gitlabEmail: "", + gitlabLogin: "", + gitlabName: "", + zeitAccount: "", + zeitAccountType: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `budget` | [models.UserEventPayload413Budget](../models/usereventpayload413budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | -| `prevBudget` | [models.PrevBudget](../models/prevbudget.md) | :heavy_minus_sign: | Represents a budget for tracking and notifying teams on their spending. | -| `prevWebhookUrl` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | -| `projectName` | *string* | :heavy_minus_sign: | Injected at read time from `payload.projectId`. | -| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | -| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | +| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | +| `gitlabName` | *string* | :heavy_check_mark: | N/A | +| `zeitAccount` | *string* | :heavy_check_mark: | N/A | +| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirty.md b/docs/models/fourhundredandthirty.md index 6f0238ab1c..989de1653f 100644 --- a/docs/models/fourhundredandthirty.md +++ b/docs/models/fourhundredandthirty.md @@ -5,23 +5,43 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirty } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirty } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirty = { - eventId: "", - occurredAt: 8898.39, - sessionId: "", - sessionKind: "", - surface: "", + action: "update", + codeReviewEnabled: false, + cumulativeBalance: "", + endpoint: "/v1/vade/usage-billing", + ledgerId: "", + next: { + enabled: true, + maximumOverdraft: null, + }, + previous: { + enabled: false, + maximumOverdraft: "", + }, + removedTopupIds: [ + "", + "", + ], + source: "", + topupCleanupCompleted: true, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | -| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `action` | [models.UserEventPayload430Action](../models/usereventpayload430action.md) | :heavy_check_mark: | N/A | +| `codeReviewEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `codeReviewSelection` | [models.CodeReviewSelection](../models/codereviewselection.md) | :heavy_minus_sign: | N/A | +| `cumulativeBalance` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | [models.UserEventPayloadEndpoint](../models/usereventpayloadendpoint.md) | :heavy_check_mark: | N/A | +| `ledgerId` | *string* | :heavy_check_mark: | N/A | +| `next` | [models.UserEventPayload430Next](../models/usereventpayload430next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload430Previous](../models/usereventpayload430previous.md) | :heavy_check_mark: | N/A | +| `removedTopupIds` | *string*[] | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | +| `topupCleanupCompleted` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtyeight.md b/docs/models/fourhundredandthirtyeight.md index 00e1fd883e..b2c2840644 100644 --- a/docs/models/fourhundredandthirtyeight.md +++ b/docs/models/fourhundredandthirtyeight.md @@ -5,16 +5,48 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyEight } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndThirtyEight } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndThirtyEight = {}; +let value: FourHundredAndThirtyEight = { + eventId: "", + occurredAt: 3429.52, + sessionId: "", + sessionKind: "", + surface: "", + branchRef: "", + deploymentId: "", + environment: "", + findingId: "", + findingNumber: 1519.46, + severity: "", + targetId: "", + targetKind: "project", + targetName: "", + vulnerabilityClass: "", + closeReason: "accepted-risk", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `isSystemInitiated` | *boolean* | :heavy_minus_sign: | N/A | -| `next` | [models.UserEventPayload438Next](../models/usereventpayload438next.md) | :heavy_minus_sign: | N/A | -| `previous` | [models.UserEventPayload438Previous](../models/usereventpayload438previous.md) | :heavy_minus_sign: | N/A | -| `reason` | [models.PayloadReason](../models/payloadreason.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | +| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | +| `branchRef` | *string* | :heavy_check_mark: | N/A | +| `commitSha` | *string* | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | +| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | +| `findingId` | *string* | :heavy_check_mark: | N/A | +| `findingNumber` | *number* | :heavy_check_mark: | N/A | +| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | +| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | +| `severity` | *string* | :heavy_check_mark: | N/A | +| `targetId` | *string* | :heavy_check_mark: | N/A | +| `targetKind` | [models.PayloadTargetKind](../models/payloadtargetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | +| `targetName` | *string* | :heavy_check_mark: | N/A | +| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | +| `closeReason` | [models.CloseReason](../models/closereason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtyfive.md b/docs/models/fourhundredandthirtyfive.md index 963e20e18a..eef0ecb1d6 100644 --- a/docs/models/fourhundredandthirtyfive.md +++ b/docs/models/fourhundredandthirtyfive.md @@ -5,20 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyFive } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndThirtyFive } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtyFive = { eventId: "", occurredAt: 1907.99, - projectId: "", + sessionId: "", + sessionKind: "", + surface: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | +| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtyfour.md b/docs/models/fourhundredandthirtyfour.md index de1c909789..da4e6349ef 100644 --- a/docs/models/fourhundredandthirtyfour.md +++ b/docs/models/fourhundredandthirtyfour.md @@ -5,48 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyFour } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirtyFour } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtyFour = { - eventId: "", - occurredAt: 9074.28, - sessionId: "", - sessionKind: "", - surface: "", - branchRef: null, - deploymentId: null, - environment: "", - findingId: "", - findingNumber: 9403.02, - severity: "", - targetId: "", - targetKind: "project", - targetName: "", - vulnerabilityClass: "", - dismissalReason: "false-positive", + amount: "907.43", + currency: "Convertible Marks", + expiresAt: "1738495492510", + trialCreditsIssuedAt: 3818.97, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | -| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | -| `branchRef` | *string* | :heavy_check_mark: | N/A | -| `commitSha` | *string* | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | -| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | -| `findingId` | *string* | :heavy_check_mark: | N/A | -| `findingNumber` | *number* | :heavy_check_mark: | N/A | -| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | -| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | -| `severity` | *string* | :heavy_check_mark: | N/A | -| `targetId` | *string* | :heavy_check_mark: | N/A | -| `targetKind` | [models.UserEventPayloadTargetKind](../models/usereventpayloadtargetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | -| `targetName` | *string* | :heavy_check_mark: | N/A | -| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | -| `dismissalReason` | [models.DismissalReason](../models/dismissalreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `amount` | *string* | :heavy_check_mark: | N/A | +| `currency` | *string* | :heavy_check_mark: | N/A | +| `expiresAt` | *string* | :heavy_check_mark: | N/A | +| `trialCreditsIssuedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtynine.md b/docs/models/fourhundredandthirtynine.md index 48c2cee63b..c7edb970b2 100644 --- a/docs/models/fourhundredandthirtynine.md +++ b/docs/models/fourhundredandthirtynine.md @@ -5,15 +5,48 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyNine } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndThirtyNine } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndThirtyNine = {}; +let value: FourHundredAndThirtyNine = { + eventId: "", + occurredAt: 8193.14, + sessionId: "", + sessionKind: "", + surface: "", + branchRef: "", + deploymentId: "", + environment: "", + findingId: "", + findingNumber: 4945.02, + severity: "", + targetId: "", + targetKind: "project", + targetName: "", + vulnerabilityClass: "", + dismissalReason: "accepted-risk", +}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `enrolled` | *boolean* | :heavy_minus_sign: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload439ActorType](../models/usereventpayload439actortype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | +| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | +| `branchRef` | *string* | :heavy_check_mark: | N/A | +| `commitSha` | *string* | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | +| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | +| `findingId` | *string* | :heavy_check_mark: | N/A | +| `findingNumber` | *number* | :heavy_check_mark: | N/A | +| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | +| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | +| `severity` | *string* | :heavy_check_mark: | N/A | +| `targetId` | *string* | :heavy_check_mark: | N/A | +| `targetKind` | [models.UserEventPayloadTargetKind](../models/usereventpayloadtargetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | +| `targetName` | *string* | :heavy_check_mark: | N/A | +| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | +| `dismissalReason` | [models.DismissalReason](../models/dismissalreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtyone.md b/docs/models/fourhundredandthirtyone.md index 3bf0701bbf..024cbbddfd 100644 --- a/docs/models/fourhundredandthirtyone.md +++ b/docs/models/fourhundredandthirtyone.md @@ -5,52 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyOne } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirtyOne } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtyOne = { - eventId: "", - occurredAt: 2560.68, - sessionId: "", - sessionKind: "", - surface: "", - elevatedScopeCount: 8582.4, - elevatedScopes: [ - "", - "", - ], - githubScopeCount: 7477.16, - githubScopes: [], - mergedScopeCount: 9259.04, - mergedScopes: [ - "", - "", - "", - ], - planId: "", - requestedScopeCount: 7462.46, - requestedScopes: [ - "", - "", - "", - ], + next: { + enabled: true, + includeDrafts: false, + scope: "public", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | -| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | -| `elevatedScopeCount` | *number* | :heavy_check_mark: | N/A | -| `elevatedScopes` | *string*[] | :heavy_check_mark: | Requested Vercel scopes that are not included in the baseline token. | -| `githubScopeCount` | *number* | :heavy_check_mark: | N/A | -| `githubScopes` | *string*[] | :heavy_check_mark: | External GitHub scopes requested by the plan; these are not Vercel token scopes. | -| `mergedScopeCount` | *number* | :heavy_check_mark: | N/A | -| `mergedScopes` | *string*[] | :heavy_check_mark: | Baseline plus elevated Vercel scopes used when minting scoped tokens. | -| `planId` | *string* | :heavy_check_mark: | N/A | -| `requestedScopeCount` | *number* | :heavy_check_mark: | N/A | -| `requestedScopes` | *string*[] | :heavy_check_mark: | Scopes requested by the model-authored plan. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `action` | [models.UserEventPayload431Action](../models/usereventpayload431action.md) | :heavy_minus_sign: | N/A | +| `codeReviewSelection` | [models.PayloadCodeReviewSelection](../models/payloadcodereviewselection.md) | :heavy_minus_sign: | N/A | +| `endpoint` | [models.UserEventPayload431Endpoint](../models/usereventpayload431endpoint.md) | :heavy_minus_sign: | N/A | +| `next` | [models.UserEventPayload431Next](../models/usereventpayload431next.md) | :heavy_check_mark: | Automatic code review settings | +| `previous` | [models.UserEventPayload431Previous](../models/usereventpayload431previous.md) | :heavy_minus_sign: | Automatic code review settings | +| `source` | *string* | :heavy_minus_sign: | Caller-reported surface, not proof of a browser interaction or consent. | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtyseven.md b/docs/models/fourhundredandthirtyseven.md index 82d4c9958f..0df1bf6e54 100644 --- a/docs/models/fourhundredandthirtyseven.md +++ b/docs/models/fourhundredandthirtyseven.md @@ -5,15 +5,46 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtySeven } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndThirtySeven } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndThirtySeven = {}; +let value: FourHundredAndThirtySeven = { + eventId: "", + occurredAt: 4131.14, + sessionId: "", + sessionKind: "", + surface: "", + branchRef: null, + deploymentId: "", + environment: "", + findingId: "", + findingNumber: 8502.31, + severity: "", + targetId: "", + targetKind: "project", + targetName: "", + vulnerabilityClass: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `disabled` | *boolean* | :heavy_minus_sign: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload437ActorType](../models/usereventpayload437actortype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | +| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | +| `branchRef` | *string* | :heavy_check_mark: | N/A | +| `commitSha` | *string* | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | +| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | +| `findingId` | *string* | :heavy_check_mark: | N/A | +| `findingNumber` | *number* | :heavy_check_mark: | N/A | +| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | +| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | +| `severity` | *string* | :heavy_check_mark: | N/A | +| `targetId` | *string* | :heavy_check_mark: | N/A | +| `targetKind` | [models.TargetKind](../models/targetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | +| `targetName` | *string* | :heavy_check_mark: | N/A | +| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtysix.md b/docs/models/fourhundredandthirtysix.md index d798323a00..5538c9b3c5 100644 --- a/docs/models/fourhundredandthirtysix.md +++ b/docs/models/fourhundredandthirtysix.md @@ -5,18 +5,48 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtySix } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { FourHundredAndThirtySix } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtySix = { - next: "manual-approval", - previous: "manual-approval", + eventId: "", + occurredAt: 3637.14, + sessionId: "", + sessionKind: "", + surface: "", + elevatedScopeCount: 7354, + elevatedScopes: [ + "", + "", + ], + githubScopeCount: 7634.03, + githubScopes: [], + mergedScopeCount: 3946.35, + mergedScopes: [ + "", + "", + "", + ], + planId: "", + requestedScopeCount: 9610.15, + requestedScopes: [], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload436Next](../models/usereventpayload436next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload436Previous](../models/usereventpayload436previous.md) | :heavy_check_mark: | N/A | -| `teamSlug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `eventId` | *string* | :heavy_check_mark: | N/A | +| `occurredAt` | *number* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | +| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | +| `elevatedScopeCount` | *number* | :heavy_check_mark: | N/A | +| `elevatedScopes` | *string*[] | :heavy_check_mark: | Requested Vercel scopes that are not included in the baseline token. | +| `githubScopeCount` | *number* | :heavy_check_mark: | N/A | +| `githubScopes` | *string*[] | :heavy_check_mark: | External GitHub scopes requested by the plan; these are not Vercel token scopes. | +| `mergedScopeCount` | *number* | :heavy_check_mark: | N/A | +| `mergedScopes` | *string*[] | :heavy_check_mark: | Baseline plus elevated Vercel scopes used when minting scoped tokens. | +| `planId` | *string* | :heavy_check_mark: | N/A | +| `requestedScopeCount` | *number* | :heavy_check_mark: | N/A | +| `requestedScopes` | *string*[] | :heavy_check_mark: | Scopes requested by the model-authored plan. | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtythree.md b/docs/models/fourhundredandthirtythree.md index fb013a452c..ebc0d5e3ce 100644 --- a/docs/models/fourhundredandthirtythree.md +++ b/docs/models/fourhundredandthirtythree.md @@ -5,48 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyThree } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirtyThree } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtyThree = { - eventId: "", - occurredAt: 2642.8, - sessionId: "", - sessionKind: "", - surface: "", - branchRef: "", - deploymentId: null, - environment: "", - findingId: "", - findingNumber: 5971.14, - severity: "", - targetId: "", - targetKind: "repository", - targetName: "", - vulnerabilityClass: "", - closeReason: "false-positive", + next: { + enabled: true, + }, + previous: { + enabled: true, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | -| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | -| `branchRef` | *string* | :heavy_check_mark: | N/A | -| `commitSha` | *string* | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | -| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | -| `findingId` | *string* | :heavy_check_mark: | N/A | -| `findingNumber` | *number* | :heavy_check_mark: | N/A | -| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | -| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | -| `severity` | *string* | :heavy_check_mark: | N/A | -| `targetId` | *string* | :heavy_check_mark: | N/A | -| `targetKind` | [models.PayloadTargetKind](../models/payloadtargetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | -| `targetName` | *string* | :heavy_check_mark: | N/A | -| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | -| `closeReason` | [models.CloseReason](../models/closereason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload433Next](../models/usereventpayload433next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload433Previous](../models/usereventpayload433previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandthirtytwo.md b/docs/models/fourhundredandthirtytwo.md index 6603875bbf..1e7eee3c8b 100644 --- a/docs/models/fourhundredandthirtytwo.md +++ b/docs/models/fourhundredandthirtytwo.md @@ -5,46 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThirtyTwo } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThirtyTwo } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThirtyTwo = { - eventId: "", - occurredAt: 8902.44, - sessionId: "", - sessionKind: "", - surface: "", - branchRef: "", - deploymentId: "", - environment: "", - findingId: "", - findingNumber: 6976.95, - severity: "", - targetId: "", - targetKind: "project", - targetName: "", - vulnerabilityClass: "", + next: { + enabled: false, + projectScope: "none", + }, + previous: { + enabled: true, + projectScope: "all", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `eventId` | *string* | :heavy_check_mark: | N/A | -| `occurredAt` | *number* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `sessionKind` | *string* | :heavy_check_mark: | Currently emitted session kinds: chat, investigation. | -| `surface` | *string* | :heavy_check_mark: | Currently emitted surfaces: dashboard, internal, slack, automation, github. | -| `branchRef` | *string* | :heavy_check_mark: | N/A | -| `commitSha` | *string* | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | Null for a repository's findings and those of an undeployed commit. | -| `environment` | *string* | :heavy_check_mark: | Null for a repository's findings. | -| `findingId` | *string* | :heavy_check_mark: | N/A | -| `findingNumber` | *number* | :heavy_check_mark: | N/A | -| `pullRequestNumber` | *number* | :heavy_minus_sign: | N/A | -| `repository` | *string* | :heavy_minus_sign: | The GitHub repository, such as `acme/app`, commit, and pull request the event's review read: the one that found the finding, or for a resolution, the one that fixed it. Null for uploaded files; absent from events recorded before they were sent. | -| `severity` | *string* | :heavy_check_mark: | N/A | -| `targetId` | *string* | :heavy_check_mark: | N/A | -| `targetKind` | [models.TargetKind](../models/targetkind.md) | :heavy_check_mark: | A repository's findings are in code no project runs. | -| `targetName` | *string* | :heavy_check_mark: | N/A | -| `vulnerabilityClass` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload432Next](../models/usereventpayload432next.md) | :heavy_check_mark: | Mirrors the `security-review` setting value in `@api/api-settings`. | +| `previous` | [models.UserEventPayload432Previous](../models/usereventpayload432previous.md) | :heavy_check_mark: | Mirrors the `security-review` setting value in `@api/api-settings`. | \ No newline at end of file diff --git a/docs/models/fourhundredandthree.md b/docs/models/fourhundredandthree.md index d3fcf3cba4..05051e64aa 100644 --- a/docs/models/fourhundredandthree.md +++ b/docs/models/fourhundredandthree.md @@ -5,15 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndThree } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndThree } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndThree = { - bio: "", + email: "Trey66@gmail.com", + verified: true, + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `bio` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `email` | *string* | :heavy_check_mark: | N/A | +| `verified` | *boolean* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload403ActorType](../models/usereventpayload403actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwelve.md b/docs/models/fourhundredandtwelve.md index ae5c9c5dcc..d037d16101 100644 --- a/docs/models/fourhundredandtwelve.md +++ b/docs/models/fourhundredandtwelve.md @@ -5,30 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwelve } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwelve } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwelve = { - budget: { - createdAt: 5326.88, - fixedBudget: 2602.16, - id: "", - isActive: true, - notifiedAt: [], - previousSpend: [ - 7086.65, - 3087.37, - ], - teamId: "", - type: "fixed", - }, + email: "Devan_Ankunding70@yahoo.com", + githubLogin: "", + zeitAccount: "", + zeitAccountType: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `budget` | [models.UserEventPayload412Budget](../models/usereventpayload412budget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | -| `projectId` | *string* | :heavy_minus_sign: | Stored for project budgets. Same value as `budget.scopeId`. | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `scopeName` | *string* | :heavy_minus_sign: | Stored when activity clients can't resolve the name, as for products. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `githubLogin` | *string* | :heavy_check_mark: | N/A | +| `zeitAccount` | *string* | :heavy_check_mark: | N/A | +| `zeitAccountType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwenty.md b/docs/models/fourhundredandtwenty.md index 7c7850a66c..1b1c8755d7 100644 --- a/docs/models/fourhundredandtwenty.md +++ b/docs/models/fourhundredandtwenty.md @@ -5,19 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwenty } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwenty } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwenty = { - store: { - id: "", - name: "", - }, + storeType: "redis", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `ownerId` | *string* | :heavy_minus_sign: | N/A | -| `store` | [models.UserEventPayload420Store](../models/usereventpayload420store.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `storeType` | [models.StoreType](../models/storetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentyeight.md b/docs/models/fourhundredandtwentyeight.md index 6c3d7ef721..22c0ed8101 100644 --- a/docs/models/fourhundredandtwentyeight.md +++ b/docs/models/fourhundredandtwentyeight.md @@ -5,21 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyEight } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyEight } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyEight = { - next: { - enabled: false, - }, - previous: { - enabled: true, - }, + slug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload428Next](../models/usereventpayload428next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload428Previous](../models/usereventpayload428previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentyfive.md b/docs/models/fourhundredandtwentyfive.md index 86878a5df5..b4f4c86e7c 100644 --- a/docs/models/fourhundredandtwentyfive.md +++ b/docs/models/fourhundredandtwentyfive.md @@ -5,42 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyFive } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyFive } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyFive = { - action: "enable", - codeReviewEnabled: false, - cumulativeBalance: "", - endpoint: "/v1/vade/usage-billing", - ledgerId: "", - next: { - enabled: false, - maximumOverdraft: "", + store: { + id: "", + name: "", }, - previous: { - enabled: true, - maximumOverdraft: "", - }, - removedTopupIds: [ - "", - ], - source: "", - topupCleanupCompleted: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `action` | [models.UserEventPayload425Action](../models/usereventpayload425action.md) | :heavy_check_mark: | N/A | -| `codeReviewEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `codeReviewSelection` | [models.CodeReviewSelection](../models/codereviewselection.md) | :heavy_minus_sign: | N/A | -| `cumulativeBalance` | *string* | :heavy_check_mark: | N/A | -| `endpoint` | [models.UserEventPayloadEndpoint](../models/usereventpayloadendpoint.md) | :heavy_check_mark: | N/A | -| `ledgerId` | *string* | :heavy_check_mark: | N/A | -| `next` | [models.UserEventPayload425Next](../models/usereventpayload425next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload425Previous](../models/usereventpayload425previous.md) | :heavy_check_mark: | N/A | -| `removedTopupIds` | *string*[] | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | -| `topupCleanupCompleted` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `ownerId` | *string* | :heavy_minus_sign: | N/A | +| `store` | [models.UserEventPayload425Store](../models/usereventpayload425store.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentyfour.md b/docs/models/fourhundredandtwentyfour.md index 7408ab6c21..b36056a2af 100644 --- a/docs/models/fourhundredandtwentyfour.md +++ b/docs/models/fourhundredandtwentyfour.md @@ -5,17 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyFour } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyFour } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyFour = { - billingConsent: "security-review-usage-billing-v1", - source: "", + id: "", + type: "blob", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `billingConsent` | [models.BillingConsent](../models/billingconsent.md) | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `access` | [models.Access](../models/access.md) | :heavy_minus_sign: | N/A | +| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | +| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | +| `type` | [models.UserEventPayload424Type](../models/usereventpayload424type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentynine.md b/docs/models/fourhundredandtwentynine.md index 7ccfe35d9d..207a75f0a4 100644 --- a/docs/models/fourhundredandtwentynine.md +++ b/docs/models/fourhundredandtwentynine.md @@ -5,21 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyNine } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyNine } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyNine = { - amount: "168.20", - currency: "Balboa", - expiresAt: "1756093364375", - trialCreditsIssuedAt: 4930.99, + billingConsent: "security-review-usage-billing-v1", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `amount` | *string* | :heavy_check_mark: | N/A | -| `currency` | *string* | :heavy_check_mark: | N/A | -| `expiresAt` | *string* | :heavy_check_mark: | N/A | -| `trialCreditsIssuedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `billingConsent` | [models.BillingConsent](../models/billingconsent.md) | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentyone.md b/docs/models/fourhundredandtwentyone.md index bf6317c026..827072dbf6 100644 --- a/docs/models/fourhundredandtwentyone.md +++ b/docs/models/fourhundredandtwentyone.md @@ -5,24 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyOne } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyOne } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyOne = { - id: "", - type: "postgres", - locked: true, + store: { + id: "", + type: "postgres", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `access` | [models.PayloadAccess](../models/payloadaccess.md) | :heavy_minus_sign: | N/A | -| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | -| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload421Type](../models/usereventpayload421type.md) | :heavy_check_mark: | N/A | -| `locked` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `store` | [models.Store](../models/store.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentyseven.md b/docs/models/fourhundredandtwentyseven.md index 23211985fc..b1a2443763 100644 --- a/docs/models/fourhundredandtwentyseven.md +++ b/docs/models/fourhundredandtwentyseven.md @@ -5,23 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentySeven } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentySeven } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndTwentySeven = { - next: { - enabled: false, - projectScope: "all", - }, - previous: { - enabled: false, - projectScope: "selected", - }, -}; +let value: FourHundredAndTwentySeven = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload427Next](../models/usereventpayload427next.md) | :heavy_check_mark: | Mirrors the `security-review` setting value in `@api/api-settings`. | -| `previous` | [models.UserEventPayload427Previous](../models/usereventpayload427previous.md) | :heavy_check_mark: | Mirrors the `security-review` setting value in `@api/api-settings`. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `actorId` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload427ActorType](../models/usereventpayload427actortype.md) | :heavy_minus_sign: | N/A | +| `caseNumber` | *string* | :heavy_minus_sign: | N/A | +| `client` | *string* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentysix.md b/docs/models/fourhundredandtwentysix.md index a0c960f1c7..c1b15a4057 100644 --- a/docs/models/fourhundredandtwentysix.md +++ b/docs/models/fourhundredandtwentysix.md @@ -5,24 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentySix } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentySix } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentySix = { - next: { - enabled: true, - includeDrafts: false, - scope: "selected_repos", - }, + id: "", + type: "integration", + locked: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `action` | [models.UserEventPayload426Action](../models/usereventpayload426action.md) | :heavy_minus_sign: | N/A | -| `codeReviewSelection` | [models.PayloadCodeReviewSelection](../models/payloadcodereviewselection.md) | :heavy_minus_sign: | N/A | -| `endpoint` | [models.UserEventPayload426Endpoint](../models/usereventpayload426endpoint.md) | :heavy_minus_sign: | N/A | -| `next` | [models.UserEventPayload426Next](../models/usereventpayload426next.md) | :heavy_check_mark: | Automatic code review settings | -| `previous` | [models.UserEventPayload426Previous](../models/usereventpayload426previous.md) | :heavy_minus_sign: | Automatic code review settings | -| `source` | *string* | :heavy_minus_sign: | Caller-reported surface, not proof of a browser interaction or consent. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `access` | [models.PayloadAccess](../models/payloadaccess.md) | :heavy_minus_sign: | N/A | +| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | +| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | +| `type` | [models.UserEventPayload426Type](../models/usereventpayload426type.md) | :heavy_check_mark: | N/A | +| `locked` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentythree.md b/docs/models/fourhundredandtwentythree.md index f90b2ba545..e2cfa2d0e8 100644 --- a/docs/models/fourhundredandtwentythree.md +++ b/docs/models/fourhundredandtwentythree.md @@ -5,15 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyThree } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyThree } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwentyThree = { - slug: "", + store: { + id: "", + type: "edge-config", + }, + originTeamId: "", + originTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `store` | [models.UserEventPayloadStore](../models/usereventpayloadstore.md) | :heavy_check_mark: | N/A | +| `originTeamId` | *string* | :heavy_check_mark: | N/A | +| `originTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwentytwo.md b/docs/models/fourhundredandtwentytwo.md index aec09198e4..d89dc5b44b 100644 --- a/docs/models/fourhundredandtwentytwo.md +++ b/docs/models/fourhundredandtwentytwo.md @@ -5,17 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwentyTwo } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwentyTwo } from "@vercel/sdk/models/payloadstaticips.js"; -let value: FourHundredAndTwentyTwo = {}; +let value: FourHundredAndTwentyTwo = { + store: { + id: "", + type: "integration", + }, + destinationTeamId: "", + destinationTeamName: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `actorId` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload422ActorType](../models/usereventpayload422actortype.md) | :heavy_minus_sign: | N/A | -| `caseNumber` | *string* | :heavy_minus_sign: | N/A | -| `client` | *string* | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `store` | [models.PayloadStore](../models/payloadstore.md) | :heavy_check_mark: | N/A | +| `destinationTeamId` | *string* | :heavy_check_mark: | N/A | +| `destinationTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fourhundredandtwo.md b/docs/models/fourhundredandtwo.md index f127fe1fdb..875d0bd227 100644 --- a/docs/models/fourhundredandtwo.md +++ b/docs/models/fourhundredandtwo.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { FourHundredAndTwo } from "@vercel/sdk/models/oldssoprotection2.js"; +import { FourHundredAndTwo } from "@vercel/sdk/models/payloadstaticips.js"; let value: FourHundredAndTwo = { - enabled: true, - updatedAt: 3726.82, + email: "Gage_Koepp82@gmail.com", + verified: false, }; ``` @@ -17,8 +17,5 @@ let value: FourHundredAndTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `firstEnabledAt` | *number* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| `email` | *string* | :heavy_check_mark: | N/A | +| `verified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fromaccount.md b/docs/models/fromaccount.md index f9392713f5..1c57e001dc 100644 --- a/docs/models/fromaccount.md +++ b/docs/models/fromaccount.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FromAccount } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { FromAccount } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: FromAccount = { id: "", @@ -17,5 +17,5 @@ let value: FromAccount = { | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload178Type](../models/usereventpayload178type.md) | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayload179Type](../models/usereventpayload179type.md) | :heavy_check_mark: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fromplan.md b/docs/models/fromplan.md index bad71347fd..6fb3965145 100644 --- a/docs/models/fromplan.md +++ b/docs/models/fromplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FromPlan } from "@vercel/sdk/models/twenty.js"; +import { FromPlan } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: FromPlan = "hobby"; ``` diff --git a/docs/models/geolocation.md b/docs/models/geolocation.md index 8b43b40197..d8d6b57acd 100644 --- a/docs/models/geolocation.md +++ b/docs/models/geolocation.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Geolocation } from "@vercel/sdk/models/newprojects.js"; +import { Geolocation } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Geolocation = { country: { diff --git a/docs/models/getauthtokenresponsebody.md b/docs/models/getauthtokenresponsebody.md index 8320a04215..afc4041b21 100644 --- a/docs/models/getauthtokenresponsebody.md +++ b/docs/models/getauthtokenresponsebody.md @@ -13,6 +13,7 @@ let value: GetAuthTokenResponseBody = { createdAt: 1632816536002, expiresAt: 1632816536002, id: "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391", + kind: "access-token", leakedAt: 1632816536002, name: "", origin: "github", diff --git a/docs/models/getedgeconfigitemrequest.md b/docs/models/getedgeconfigitemrequest.md index 87a5307c0f..ef288d9475 100644 --- a/docs/models/getedgeconfigitemrequest.md +++ b/docs/models/getedgeconfigitemrequest.md @@ -6,7 +6,7 @@ import { GetEdgeConfigItemRequest } from "@vercel/sdk/models/getedgeconfigitemop.js"; let value: GetEdgeConfigItemRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", edgeConfigItemKey: "", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", diff --git a/docs/models/getedgeconfigitemsrequest.md b/docs/models/getedgeconfigitemsrequest.md index ee4121229a..6ba14995b7 100644 --- a/docs/models/getedgeconfigitemsrequest.md +++ b/docs/models/getedgeconfigitemsrequest.md @@ -6,7 +6,7 @@ import { GetEdgeConfigItemsRequest } from "@vercel/sdk/models/getedgeconfigitemsop.js"; let value: GetEdgeConfigItemsRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; diff --git a/docs/models/getnamedsandboxresponsebody.md b/docs/models/getnamedsandboxresponsebody.md index bcfdd2c69c..b70fc6f639 100644 --- a/docs/models/getnamedsandboxresponsebody.md +++ b/docs/models/getnamedsandboxresponsebody.md @@ -13,6 +13,7 @@ let value: GetNamedSandboxResponseBody = { currentSessionId: "", cwd: "/vercel/sandbox", expiresAt: 1750344801629, + expiryNotificationLeadTime: 60000, failoverRegions: [ "sfo1", "cle1", @@ -113,6 +114,7 @@ let value: GetNamedSandboxResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/getsessionresponsebody.md b/docs/models/getsessionresponsebody.md index 7c2b09980f..a9f72fd3ce 100644 --- a/docs/models/getsessionresponsebody.md +++ b/docs/models/getsessionresponsebody.md @@ -78,6 +78,7 @@ let value: GetSessionResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/getteamaccessrequestjoinedfrom.md b/docs/models/getteamaccessrequestjoinedfrom.md index baf897b0f3..faf574dc1b 100644 --- a/docs/models/getteamaccessrequestjoinedfrom.md +++ b/docs/models/getteamaccessrequestjoinedfrom.md @@ -26,4 +26,5 @@ let value: GetTeamAccessRequestJoinedFrom = { | `repoId` | *string* | :heavy_minus_sign: | N/A | | `repoPath` | *string* | :heavy_minus_sign: | N/A | | `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | | `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getteammembersjoinedfrom.md b/docs/models/getteammembersjoinedfrom.md index cce94001e1..b0eea35bd7 100644 --- a/docs/models/getteammembersjoinedfrom.md +++ b/docs/models/getteammembersjoinedfrom.md @@ -26,4 +26,5 @@ let value: GetTeamMembersJoinedFrom = { | `repoId` | *string* | :heavy_minus_sign: | N/A | | `repoPath` | *string* | :heavy_minus_sign: | N/A | | `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | | `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getwebhookevents.md b/docs/models/getwebhookevents.md index 81d3117ec9..7fd2332fad 100644 --- a/docs/models/getwebhookevents.md +++ b/docs/models/getwebhookevents.md @@ -13,5 +13,5 @@ let value: GetWebhookEvents = "deployment.created"; ## Values ```typescript -"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "test-webhook" | "thread.resolved" | "thread.unresolved" +"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "sandbox.session.expiring" | "sandbox.session.started" | "sandbox.session.stopped" | "test-webhook" | "thread.resolved" | "thread.unresolved" ``` \ No newline at end of file diff --git a/docs/models/getwebhooksresponsebodyevents.md b/docs/models/getwebhooksresponsebodyevents.md index 9b9c1bea7e..67dc0b5d64 100644 --- a/docs/models/getwebhooksresponsebodyevents.md +++ b/docs/models/getwebhooksresponsebodyevents.md @@ -13,5 +13,5 @@ let value: GetWebhooksResponseBodyEvents = "deployment.created"; ## Values ```typescript -"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "test-webhook" | "thread.resolved" | "thread.unresolved" +"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "sandbox.session.expiring" | "sandbox.session.started" | "sandbox.session.stopped" | "test-webhook" | "thread.resolved" | "thread.unresolved" ``` \ No newline at end of file diff --git a/docs/models/gitcomments.md b/docs/models/gitcomments.md index fbcf2301e1..981efb241f 100644 --- a/docs/models/gitcomments.md +++ b/docs/models/gitcomments.md @@ -5,7 +5,7 @@ Since June 2023 Determines if comments should be posted to the git host. Replace ## Example Usage ```typescript -import { GitComments } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { GitComments } from "@vercel/sdk/models/eightytwo.js"; let value: GitComments = { onCommit: false, diff --git a/docs/models/gitcredentialsource.md b/docs/models/gitcredentialsource.md index fa7516212c..01d3830eae 100644 --- a/docs/models/gitcredentialsource.md +++ b/docs/models/gitcredentialsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GitCredentialSource } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { GitCredentialSource } from "@vercel/sdk/models/eightytwo.js"; let value: GitCredentialSource = "external-token"; ``` diff --git a/docs/models/githashtagvercel.md b/docs/models/githashtagvercel.md index 000f472575..591609cb03 100644 --- a/docs/models/githashtagvercel.md +++ b/docs/models/githashtagvercel.md @@ -5,7 +5,7 @@ Since February 2022 All the hashtag-vercel tags found in the commit message trig ## Example Usage ```typescript -import { GitHashtagVercel } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { GitHashtagVercel } from "@vercel/sdk/models/eightytwo.js"; let value: GitHashtagVercel = "#VERCEL_V0_MESSAGE"; ``` diff --git a/docs/models/gitprovider.md b/docs/models/gitprovider.md index c0cc91a3af..a2313c7824 100644 --- a/docs/models/gitprovider.md +++ b/docs/models/gitprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GitProvider } from "@vercel/sdk/models/usereventpayload317type.js"; +import { GitProvider } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: GitProvider = "v0"; ``` diff --git a/docs/models/group.md b/docs/models/group.md index 18a9b3736b..250ad9251f 100644 --- a/docs/models/group.md +++ b/docs/models/group.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Group } from "@vercel/sdk/models/newprojects.js"; +import { Group } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Group = { id: "", diff --git a/docs/models/headinfo.md b/docs/models/headinfo.md index dbfc1e2a66..350974404f 100644 --- a/docs/models/headinfo.md +++ b/docs/models/headinfo.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { HeadInfo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { HeadInfo } from "@vercel/sdk/models/eightytwo.js"; let value: HeadInfo = { owner: "", diff --git a/docs/models/initiator.md b/docs/models/initiator.md index 22d44c01ae..9c12d2e1cb 100644 --- a/docs/models/initiator.md +++ b/docs/models/initiator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Initiator } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Initiator } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Initiator = "user"; ``` diff --git a/docs/models/integration.md b/docs/models/integration.md index e6d839d63b..32efcdcbba 100644 --- a/docs/models/integration.md +++ b/docs/models/integration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Integration } from "@vercel/sdk/models/newprojects.js"; +import { Integration } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Integration = { configurationId: "", diff --git a/docs/models/invitedby.md b/docs/models/invitedby.md index c46ce95b6e..e748c50844 100644 --- a/docs/models/invitedby.md +++ b/docs/models/invitedby.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InvitedBy } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { InvitedBy } from "@vercel/sdk/models/fourhundredandforty.js"; let value: InvitedBy = { email: "Edgardo_Barton78@gmail.com", diff --git a/docs/models/inviteduser.md b/docs/models/inviteduser.md index 235fa1e0bb..88adbe6d75 100644 --- a/docs/models/inviteduser.md +++ b/docs/models/inviteduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InvitedUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { InvitedUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: InvitedUser = { email: "Alison45@hotmail.com", diff --git a/docs/models/issuermode.md b/docs/models/issuermode.md index 3c8841ea68..d52c331a48 100644 --- a/docs/models/issuermode.md +++ b/docs/models/issuermode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { IssuerMode } from "@vercel/sdk/models/usereventpayload317type.js"; +import { IssuerMode } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: IssuerMode = "global"; ``` diff --git a/docs/models/items.md b/docs/models/items.md index 62be01c1cc..d8f5e39b63 100644 --- a/docs/models/items.md +++ b/docs/models/items.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Items } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Items } from "@vercel/sdk/models/eightytwo.js"; let value: Items = { type: "string", @@ -14,4 +14,4 @@ let value: Items = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `type` | [models.UserEventPayload81ResourcesType](../models/usereventpayload81resourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload82ResourcesType](../models/usereventpayload82resourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/job.md b/docs/models/job.md index cbd9f2e394..1ee2affe5d 100644 --- a/docs/models/job.md +++ b/docs/models/job.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Job } from "@vercel/sdk/models/eightytwo.js"; let value: Job = { deployHook: { diff --git a/docs/models/job1.md b/docs/models/job1.md index d691cdc367..57074b740c 100644 --- a/docs/models/job1.md +++ b/docs/models/job1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job1 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Job1 } from "@vercel/sdk/models/eightytwo.js"; let value: Job1 = { headInfo: { diff --git a/docs/models/job10.md b/docs/models/job10.md index 720eaeea6b..2961dfcf91 100644 --- a/docs/models/job10.md +++ b/docs/models/job10.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job10 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job10 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Job10 = { headInfo: { @@ -32,14 +32,14 @@ let value: Job10 = { | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `customEnvId` | *any* | :heavy_minus_sign: | N/A | | `eventful` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload13610GitComments](../models/usereventjobpayload13610gitcomments.md) | :heavy_minus_sign: | N/A | -| `headInfo` | [models.UserEventJobPayload13610HeadInfo](../models/usereventjobpayload13610headinfo.md) | :heavy_check_mark: | Cursor Origin | +| `gitComments` | [models.UserEventJobPayload13710GitComments](../models/usereventjobpayload13710gitcomments.md) | :heavy_minus_sign: | N/A | +| `headInfo` | [models.UserEventJobPayload13710HeadInfo](../models/usereventjobpayload13710headinfo.md) | :heavy_check_mark: | Cursor Origin | | `installationId` | *string* | :heavy_check_mark: | Origin installation id (`i_…`) used to resolve the credential. | | `linkedProjectId` | *string* | :heavy_minus_sign: | N/A | | `owner` | *string* | :heavy_check_mark: | N/A | | `prId` | *number* | :heavy_check_mark: | N/A | | `projectId` | *any* | :heavy_check_mark: | N/A | -| `provider` | [models.UserEventJobPayload13610Provider](../models/usereventjobpayload13610provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload13710Provider](../models/usereventjobpayload13710provider.md) | :heavy_check_mark: | N/A | | `repo` | *string* | :heavy_check_mark: | N/A | | `repoId` | *string* | :heavy_check_mark: | N/A | | `type` | *"cursor-origin-now-comment"* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/job2.md b/docs/models/job2.md index 81cd5c1ec2..18bc0d7c99 100644 --- a/docs/models/job2.md +++ b/docs/models/job2.md @@ -5,7 +5,7 @@ Represents the payload for a Bitbucket comment job This interface defines the st ## Example Usage ```typescript -import { Job2 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Job2 } from "@vercel/sdk/models/eightytwo.js"; let value: Job2 = { headInfo: { diff --git a/docs/models/job3.md b/docs/models/job3.md index e60ff177a4..ab7ea72026 100644 --- a/docs/models/job3.md +++ b/docs/models/job3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job3 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Job3 } from "@vercel/sdk/models/eightytwo.js"; let value: Job3 = { headInfo: { diff --git a/docs/models/job4.md b/docs/models/job4.md index 89ac6dd08c..b8152ef574 100644 --- a/docs/models/job4.md +++ b/docs/models/job4.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job4 } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Job4 } from "@vercel/sdk/models/eightytwo.js"; let value: Job4 = { headInfo: { @@ -61,7 +61,7 @@ let value: Job4 = { | `prId` | *number* | :heavy_check_mark: | N/A | | `prIdOrZero` | *number* | :heavy_minus_sign: | Since April 2023 If set then it is a cached result of asking the remote for the PR ID the commit that triggered this Job. Or zero if it was not a PR. This prevents a few git round trips by the git updater. | | `projectId` | *string* | :heavy_minus_sign: | N/A | -| `provider` | [models.UserEventJobPayload136Provider](../models/usereventjobpayload136provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload137Provider](../models/usereventjobpayload137provider.md) | :heavy_check_mark: | N/A | | `repo` | *string* | :heavy_check_mark: | N/A | | `repoId` | *number* | :heavy_check_mark: | N/A | | `repoPushedAt` | *number* | :heavy_check_mark: | N/A | diff --git a/docs/models/job5.md b/docs/models/job5.md index 798a49c7a1..885ae0232e 100644 --- a/docs/models/job5.md +++ b/docs/models/job5.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job5 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job5 } from "@vercel/sdk/models/eightytwo.js"; let value: Job5 = { headInfo: { @@ -34,15 +34,15 @@ let value: Job5 = { | `customEnvId` | *any* | :heavy_minus_sign: | N/A | | `customHost` | *string* | :heavy_minus_sign: | N/A | | `eventful` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload136GitComments](../models/usereventjobpayload136gitcomments.md) | :heavy_minus_sign: | N/A | -| `headInfo` | [models.UserEventJobPayload136HeadInfo](../models/usereventjobpayload136headinfo.md) | :heavy_check_mark: | Information about the head commit/branch for a GitHub repository | +| `gitComments` | [models.UserEventJobPayload137GitComments](../models/usereventjobpayload137gitcomments.md) | :heavy_minus_sign: | N/A | +| `headInfo` | [models.UserEventJobPayload137HeadInfo](../models/usereventjobpayload137headinfo.md) | :heavy_check_mark: | Information about the head commit/branch for a GitHub repository | | `installationId` | *number* | :heavy_check_mark: | N/A | | `isPrivate` | *boolean* | :heavy_check_mark: | N/A | | `linkedProjectId` | *string* | :heavy_minus_sign: | N/A | | `org` | *string* | :heavy_check_mark: | N/A | | `prId` | *number* | :heavy_check_mark: | N/A | | `projectId` | *any* | :heavy_check_mark: | N/A | -| `provider` | [models.UserEventJobPayload1365Provider](../models/usereventjobpayload1365provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload1375Provider](../models/usereventjobpayload1375provider.md) | :heavy_check_mark: | N/A | | `repo` | *string* | :heavy_check_mark: | N/A | | `repoId` | *number* | :heavy_check_mark: | N/A | | `type` | *"now-comment"* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/job6.md b/docs/models/job6.md index 42a45da73e..de470ea028 100644 --- a/docs/models/job6.md +++ b/docs/models/job6.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job6 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job6 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Job6 = { headInfo: { @@ -34,13 +34,13 @@ let value: Job6 = { | `connectedProjectCount` | *number* | :heavy_minus_sign: | Since April 2023 Cached count of how many projects are connected to the repo. Saves a few Cosmos queries down the road in the main flow. | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `customEnvId` | *string* | :heavy_minus_sign: | N/A | -| `deployHook` | [models.UserEventJobPayload136DeployHook](../models/usereventjobpayload136deployhook.md) | :heavy_minus_sign: | N/A | +| `deployHook` | [models.UserEventJobPayload137DeployHook](../models/usereventjobpayload137deployhook.md) | :heavy_minus_sign: | N/A | | `deploymentId` | *string* | :heavy_minus_sign: | N/A | | `eventful` | *boolean* | :heavy_minus_sign: | N/A | | `forceNew` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload1366GitComments](../models/usereventjobpayload1366gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | +| `gitComments` | [models.UserEventJobPayload1376GitComments](../models/usereventjobpayload1376gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | | `gitHashtagVercel` | [models.UserEventJobPayloadGitHashtagVercel](../models/usereventjobpayloadgithashtagvercel.md)[] | :heavy_minus_sign: | Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING | -| `headInfo` | [models.UserEventJobPayload1366HeadInfo](../models/usereventjobpayload1366headinfo.md) | :heavy_check_mark: | GitLab | +| `headInfo` | [models.UserEventJobPayload1376HeadInfo](../models/usereventjobpayload1376headinfo.md) | :heavy_check_mark: | GitLab | | `isManualGitDeploy` | *boolean* | :heavy_minus_sign: | Since 28 Feb 2024 If set to true, identifies that the git job was created for a manual git deployment | | `jobPairs` | *string*[][] | :heavy_minus_sign: | Since December 2022 Pairs of projects and owner ids to build for this build request. | | `jobProjectIds` | *string*[] | :heavy_minus_sign: | Since December 2022 All project ids associated to this job. Think monorepo. This job will be for one of these project. | @@ -50,7 +50,7 @@ let value: Job6 = { | `prIdOrZero` | *number* | :heavy_minus_sign: | Since April 2023 If set then it is a cached result of asking the remote for the PR ID the commit that triggered this Job. Or zero if it was not a PR. This prevents a few git round trips by the git updater. | | `project` | [models.JobProject](../models/jobproject.md) | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_minus_sign: | N/A | -| `provider` | [models.UserEventJobPayload1366Provider](../models/usereventjobpayload1366provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload1376Provider](../models/usereventjobpayload1376provider.md) | :heavy_check_mark: | N/A | | `ref` | *string* | :heavy_check_mark: | N/A | | `repoPushedAt` | *number* | :heavy_minus_sign: | N/A | | `sha` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/job7.md b/docs/models/job7.md index b5b7927269..db68772963 100644 --- a/docs/models/job7.md +++ b/docs/models/job7.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job7 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job7 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Job7 = { headInfo: { @@ -31,13 +31,13 @@ let value: Job7 = { | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `customEnvId` | *string* | :heavy_minus_sign: | N/A | | `eventful` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload1367GitComments](../models/usereventjobpayload1367gitcomments.md) | :heavy_minus_sign: | N/A | -| `headInfo` | [models.UserEventJobPayload1367HeadInfo](../models/usereventjobpayload1367headinfo.md) | :heavy_check_mark: | GitLab | +| `gitComments` | [models.UserEventJobPayload1377GitComments](../models/usereventjobpayload1377gitcomments.md) | :heavy_minus_sign: | N/A | +| `headInfo` | [models.UserEventJobPayload1377HeadInfo](../models/usereventjobpayload1377headinfo.md) | :heavy_check_mark: | GitLab | | `linkedProjectId` | *string* | :heavy_minus_sign: | N/A | | `prId` | *number* | :heavy_check_mark: | N/A | | `project` | [models.UserEventJobProject](../models/usereventjobproject.md) | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_minus_sign: | N/A | -| `provider` | [models.UserEventJobPayload1367Provider](../models/usereventjobpayload1367provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload1377Provider](../models/usereventjobpayload1377provider.md) | :heavy_check_mark: | N/A | | `ref` | *string* | :heavy_check_mark: | N/A | | `sha` | *string* | :heavy_check_mark: | N/A | | `type` | *"gitlab-now-comment"* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/job8.md b/docs/models/job8.md index 64da06757e..60846cf465 100644 --- a/docs/models/job8.md +++ b/docs/models/job8.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job8 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job8 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Job8 = { headInfo: { @@ -28,24 +28,24 @@ let value: Job8 = { | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `authorized` | *boolean* | :heavy_minus_sign: | N/A | | `authorizedBy` | *string* | :heavy_minus_sign: | N/A | -| `commitVerification` | [models.UserEventJobPayload136CommitVerification](../models/usereventjobpayload136commitverification.md) | :heavy_minus_sign: | Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported | +| `commitVerification` | [models.UserEventJobPayload137CommitVerification](../models/usereventjobpayload137commitverification.md) | :heavy_minus_sign: | Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported | | `connectedProjectCount` | *number* | :heavy_minus_sign: | Since April 2023 Cached count of how many projects are connected to the repo. Saves a few Cosmos queries down the road in the main flow. | | `customEnvId` | *string* | :heavy_minus_sign: | N/A | -| `deployHook` | [models.UserEventJobPayload1368DeployHook](../models/usereventjobpayload1368deployhook.md) | :heavy_minus_sign: | N/A | +| `deployHook` | [models.UserEventJobPayload1378DeployHook](../models/usereventjobpayload1378deployhook.md) | :heavy_minus_sign: | N/A | | `deploymentId` | *string* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload1368GitComments](../models/usereventjobpayload1368gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | -| `gitHashtagVercel` | [models.UserEventJobPayload136GitHashtagVercel](../models/usereventjobpayload136githashtagvercel.md)[] | :heavy_minus_sign: | Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING | -| `headInfo` | [models.UserEventJobPayload1368HeadInfo](../models/usereventjobpayload1368headinfo.md) | :heavy_check_mark: | Vercel | +| `gitComments` | [models.UserEventJobPayload1378GitComments](../models/usereventjobpayload1378gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | +| `gitHashtagVercel` | [models.UserEventJobPayload137GitHashtagVercel](../models/usereventjobpayload137githashtagvercel.md)[] | :heavy_minus_sign: | Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING | +| `headInfo` | [models.UserEventJobPayload1378HeadInfo](../models/usereventjobpayload1378headinfo.md) | :heavy_check_mark: | Vercel | | `isManualGitDeploy` | *boolean* | :heavy_minus_sign: | Since 28 Feb 2024 If set to true, identifies that the git job was created for a manual git deployment | | `jobPairs` | *string*[][] | :heavy_minus_sign: | Since December 2022 Pairs of projects and owner ids to build for this build request. | | `jobProjectIds` | *string*[] | :heavy_minus_sign: | Since December 2022 All project ids associated to this job. Think monorepo. This job will be for one of these project. | | `linkedProjectId` | *string* | :heavy_minus_sign: | N/A | -| `nsnbSideEffect` | [models.UserEventJobPayload136NsnbSideEffect](../models/usereventjobpayload136nsnbsideeffect.md) | :heavy_minus_sign: | Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. | +| `nsnbSideEffect` | [models.UserEventJobPayload137NsnbSideEffect](../models/usereventjobpayload137nsnbsideeffect.md) | :heavy_minus_sign: | Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. | | `org` | *string* | :heavy_check_mark: | N/A | | `prId` | *number* | :heavy_minus_sign: | N/A | | `prIdOrZero` | *number* | :heavy_minus_sign: | Since April 2023 If set then it is a cached result of asking the remote for the PR ID the commit that triggered this Job. Or zero if it was not a PR. This prevents a few git round trips by the git updater. | | `projectId` | *string* | :heavy_minus_sign: | N/A | -| `provider` | [models.UserEventJobPayload1368Provider](../models/usereventjobpayload1368provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload1378Provider](../models/usereventjobpayload1378provider.md) | :heavy_check_mark: | N/A | | `ref` | *string* | :heavy_check_mark: | N/A | | `repo` | *string* | :heavy_check_mark: | N/A | | `repoId` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/job9.md b/docs/models/job9.md index a73cdb6ed7..9d9e87fdac 100644 --- a/docs/models/job9.md +++ b/docs/models/job9.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Job9 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { Job9 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: Job9 = { headInfo: { @@ -32,30 +32,30 @@ let value: Job9 = { | `authorized` | *boolean* | :heavy_minus_sign: | N/A | | `authorizedBy` | *string* | :heavy_minus_sign: | N/A | | `beforeSha` | *string* | :heavy_minus_sign: | N/A | -| `commitVerification` | [models.UserEventJobPayload1369CommitVerification](../models/usereventjobpayload1369commitverification.md) | :heavy_minus_sign: | Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported | +| `commitVerification` | [models.UserEventJobPayload1379CommitVerification](../models/usereventjobpayload1379commitverification.md) | :heavy_minus_sign: | Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported | | `connectedProjectCount` | *number* | :heavy_minus_sign: | Since April 2023 Cached count of how many projects are connected to the repo. Saves a few Cosmos queries down the road in the main flow. | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `customEnvId` | *string* | :heavy_minus_sign: | N/A | | `defaultBranch` | *string* | :heavy_minus_sign: | N/A | -| `deployHook` | [models.UserEventJobPayload1369DeployHook](../models/usereventjobpayload1369deployhook.md) | :heavy_minus_sign: | N/A | +| `deployHook` | [models.UserEventJobPayload1379DeployHook](../models/usereventjobpayload1379deployhook.md) | :heavy_minus_sign: | N/A | | `deploymentId` | *string* | :heavy_minus_sign: | N/A | | `eventful` | *boolean* | :heavy_minus_sign: | N/A | | `forced` | *boolean* | :heavy_minus_sign: | N/A | | `forceNew` | *boolean* | :heavy_minus_sign: | N/A | -| `gitComments` | [models.UserEventJobPayload1369GitComments](../models/usereventjobpayload1369gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | -| `gitHashtagVercel` | [models.UserEventJobPayload1369GitHashtagVercel](../models/usereventjobpayload1369githashtagvercel.md)[] | :heavy_minus_sign: | Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING | -| `headInfo` | [models.UserEventJobPayload1369HeadInfo](../models/usereventjobpayload1369headinfo.md) | :heavy_check_mark: | Cursor Origin | +| `gitComments` | [models.UserEventJobPayload1379GitComments](../models/usereventjobpayload1379gitcomments.md) | :heavy_minus_sign: | Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. | +| `gitHashtagVercel` | [models.UserEventJobPayload1379GitHashtagVercel](../models/usereventjobpayload1379githashtagvercel.md)[] | :heavy_minus_sign: | Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING | +| `headInfo` | [models.UserEventJobPayload1379HeadInfo](../models/usereventjobpayload1379headinfo.md) | :heavy_check_mark: | Cursor Origin | | `installationId` | *string* | :heavy_check_mark: | Origin installation id (`i_…`) used to resolve the credential. | | `isManualGitDeploy` | *boolean* | :heavy_minus_sign: | Since 28 Feb 2024 If set to true, identifies that the git job was created for a manual git deployment | | `jobPairs` | *string*[][] | :heavy_minus_sign: | Since December 2022 Pairs of projects and owner ids to build for this build request. | | `jobProjectIds` | *string*[] | :heavy_minus_sign: | Since December 2022 All project ids associated to this job. Think monorepo. This job will be for one of these project. | | `linkedProjectId` | *string* | :heavy_minus_sign: | N/A | -| `nsnbSideEffect` | [models.UserEventJobPayload1369NsnbSideEffect](../models/usereventjobpayload1369nsnbsideeffect.md) | :heavy_minus_sign: | Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. | +| `nsnbSideEffect` | [models.UserEventJobPayload1379NsnbSideEffect](../models/usereventjobpayload1379nsnbsideeffect.md) | :heavy_minus_sign: | Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. | | `owner` | *string* | :heavy_check_mark: | N/A | | `prId` | *number* | :heavy_minus_sign: | N/A | | `prIdOrZero` | *number* | :heavy_minus_sign: | Since April 2023 If set then it is a cached result of asking the remote for the PR ID the commit that triggered this Job. Or zero if it was not a PR. This prevents a few git round trips by the git updater. | | `projectId` | *string* | :heavy_minus_sign: | N/A | -| `provider` | [models.UserEventJobPayload1369Provider](../models/usereventjobpayload1369provider.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventJobPayload1379Provider](../models/usereventjobpayload1379provider.md) | :heavy_check_mark: | N/A | | `ref` | *string* | :heavy_check_mark: | N/A | | `repo` | *string* | :heavy_check_mark: | N/A | | `repoId` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/jobaction.md b/docs/models/jobaction.md index a194015b04..f8175a80bc 100644 --- a/docs/models/jobaction.md +++ b/docs/models/jobaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobAction } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobAction } from "@vercel/sdk/models/eightytwo.js"; let value: JobAction = "auto-approved-pending-invite"; ``` diff --git a/docs/models/jobcommitverification.md b/docs/models/jobcommitverification.md index 7af0f2f1fc..4962359c88 100644 --- a/docs/models/jobcommitverification.md +++ b/docs/models/jobcommitverification.md @@ -5,7 +5,7 @@ Since 6 Nov 2025 The verification status of the commit. - 'verified' if the comm ## Example Usage ```typescript -import { JobCommitVerification } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobCommitVerification } from "@vercel/sdk/models/eightytwo.js"; let value: JobCommitVerification = "unverified"; ``` diff --git a/docs/models/jobdeployhook.md b/docs/models/jobdeployhook.md index b57052b7bf..b6cfc100fb 100644 --- a/docs/models/jobdeployhook.md +++ b/docs/models/jobdeployhook.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobDeployHook } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobDeployHook } from "@vercel/sdk/models/eightytwo.js"; let value: JobDeployHook = { createdAt: 8705.98, diff --git a/docs/models/jobgitcomments.md b/docs/models/jobgitcomments.md index ac9b5a5a14..473c4f14ea 100644 --- a/docs/models/jobgitcomments.md +++ b/docs/models/jobgitcomments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobGitComments } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobGitComments } from "@vercel/sdk/models/eightytwo.js"; let value: JobGitComments = { onCommit: true, diff --git a/docs/models/jobgithashtagvercel.md b/docs/models/jobgithashtagvercel.md index 02cba44f86..a47a01410b 100644 --- a/docs/models/jobgithashtagvercel.md +++ b/docs/models/jobgithashtagvercel.md @@ -5,7 +5,7 @@ Since February 2022 All the hashtag-vercel tags found in the commit message trig ## Example Usage ```typescript -import { JobGitHashtagVercel } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobGitHashtagVercel } from "@vercel/sdk/models/eightytwo.js"; let value: JobGitHashtagVercel = "#VERCEL_V0_MESSAGE"; ``` diff --git a/docs/models/jobheadinfo.md b/docs/models/jobheadinfo.md index 49567309bd..c2572b9a93 100644 --- a/docs/models/jobheadinfo.md +++ b/docs/models/jobheadinfo.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobHeadInfo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobHeadInfo } from "@vercel/sdk/models/eightytwo.js"; let value: JobHeadInfo = { owner: "", diff --git a/docs/models/jobnsnbsideeffect.md b/docs/models/jobnsnbsideeffect.md index 17b83517ab..8c48c980c7 100644 --- a/docs/models/jobnsnbsideeffect.md +++ b/docs/models/jobnsnbsideeffect.md @@ -5,7 +5,7 @@ Since March 2026 Records a successful NSNB auto-add result so later GitHub PR co ## Example Usage ```typescript -import { JobNsnbSideEffect } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobNsnbSideEffect } from "@vercel/sdk/models/eightytwo.js"; let value: JobNsnbSideEffect = { action: "auto-approved-member", diff --git a/docs/models/jobproject.md b/docs/models/jobproject.md index 56ccdfba35..397ec60694 100644 --- a/docs/models/jobproject.md +++ b/docs/models/jobproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobProject } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { JobProject } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: JobProject = { id: "", diff --git a/docs/models/jobprovider.md b/docs/models/jobprovider.md index ec8dc46935..46bff44b03 100644 --- a/docs/models/jobprovider.md +++ b/docs/models/jobprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { JobProvider } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { JobProvider } from "@vercel/sdk/models/eightytwo.js"; let value: JobProvider = "bitbucket"; ``` diff --git a/docs/models/joinedfrom.md b/docs/models/joinedfrom.md index d96f05a9f4..1a85f1995c 100644 --- a/docs/models/joinedfrom.md +++ b/docs/models/joinedfrom.md @@ -12,16 +12,17 @@ let value: JoinedFrom = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *models.GitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `origin` | [models.TeamOrigin](../models/teamorigin.md) | :heavy_check_mark: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.GitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `origin` | [models.TeamOrigin](../models/teamorigin.md) | :heavy_check_mark: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/lasteditedbyprincipal1.md b/docs/models/lasteditedbyprincipal1.md index 81e1972c10..4be986c60c 100644 --- a/docs/models/lasteditedbyprincipal1.md +++ b/docs/models/lasteditedbyprincipal1.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { LastEditedByPrincipal1 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { LastEditedByPrincipal1 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: LastEditedByPrincipal1 = { id: "", diff --git a/docs/models/lasteditedbyprincipal2.md b/docs/models/lasteditedbyprincipal2.md index 4dfe7a0b0f..94a2dbd965 100644 --- a/docs/models/lasteditedbyprincipal2.md +++ b/docs/models/lasteditedbyprincipal2.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { LastEditedByPrincipal2 } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { LastEditedByPrincipal2 } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: LastEditedByPrincipal2 = { id: "", diff --git a/docs/models/listauthtokensqueryparamkind.md b/docs/models/listauthtokensqueryparamkind.md new file mode 100644 index 0000000000..f0576deb27 --- /dev/null +++ b/docs/models/listauthtokensqueryparamkind.md @@ -0,0 +1,17 @@ +# ListAuthTokensQueryParamKind + +Filter by token kind. Omit or use `all` to include every kind. + +## Example Usage + +```typescript +import { ListAuthTokensQueryParamKind } from "@vercel/sdk/models/listauthtokensop.js"; + +let value: ListAuthTokensQueryParamKind = "all"; +``` + +## Values + +```typescript +"access-token" | "all" | "app" | "sign-in-session" +``` \ No newline at end of file diff --git a/docs/models/listauthtokensqueryparamstatus.md b/docs/models/listauthtokensqueryparamstatus.md new file mode 100644 index 0000000000..af3329d05f --- /dev/null +++ b/docs/models/listauthtokensqueryparamstatus.md @@ -0,0 +1,17 @@ +# ListAuthTokensQueryParamStatus + +Filter by token status. Omit or use `all` to include every status. + +## Example Usage + +```typescript +import { ListAuthTokensQueryParamStatus } from "@vercel/sdk/models/listauthtokensop.js"; + +let value: ListAuthTokensQueryParamStatus = "revoked"; +``` + +## Values + +```typescript +"active" | "all" | "expired" | "revoked" +``` \ No newline at end of file diff --git a/docs/models/listauthtokensrequest.md b/docs/models/listauthtokensrequest.md new file mode 100644 index 0000000000..5a145af0e5 --- /dev/null +++ b/docs/models/listauthtokensrequest.md @@ -0,0 +1,16 @@ +# ListAuthTokensRequest + +## Example Usage + +```typescript +import { ListAuthTokensRequest } from "@vercel/sdk/models/listauthtokensop.js"; + +let value: ListAuthTokensRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `kind` | [models.ListAuthTokensQueryParamKind](../models/listauthtokensqueryparamkind.md) | :heavy_minus_sign: | Filter by token kind. Omit or use `all` to include every kind. | +| `status` | [models.ListAuthTokensQueryParamStatus](../models/listauthtokensqueryparamstatus.md) | :heavy_minus_sign: | Filter by token status. Omit or use `all` to include every status. | \ No newline at end of file diff --git a/docs/models/listeventtype.md b/docs/models/listeventtype.md index ce6f1b5d58..2d0e00387f 100644 --- a/docs/models/listeventtype.md +++ b/docs/models/listeventtype.md @@ -12,7 +12,7 @@ let value: ListEventType = { "deployment", ], description: "mummify medium whirlwind vanish via glaring yum", - name: "project-build-logs-and-source-protection-updated", + name: "project-build-machine-updated", }; ``` diff --git a/docs/models/listeventtypesresponse.md b/docs/models/listeventtypesresponse.md index e6051bc9c3..e23ab56b09 100644 --- a/docs/models/listeventtypesresponse.md +++ b/docs/models/listeventtypesresponse.md @@ -15,7 +15,7 @@ let value: ListEventTypesResponse = { "deployment", ], description: "hopelessly busy for", - name: "project-perimeters-updated", + name: "project-preview-deployment-suffix", }, ], }; diff --git a/docs/models/member.md b/docs/models/member.md index ecb8115fef..c84a4c6a59 100644 --- a/docs/models/member.md +++ b/docs/models/member.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Member } from "@vercel/sdk/models/twenty.js"; +import { Member } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Member = { id: "", diff --git a/docs/models/method.md b/docs/models/method.md index be78444856..261eea0826 100644 --- a/docs/models/method.md +++ b/docs/models/method.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Method } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Method } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Method = "recovery-code"; ``` diff --git a/docs/models/mfa.md b/docs/models/mfa.md index 23dda1d8cd..37bbc8f5d4 100644 --- a/docs/models/mfa.md +++ b/docs/models/mfa.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Mfa } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Mfa } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Mfa = { enabled: true, diff --git a/docs/models/microfrontends1.md b/docs/models/microfrontends1.md index bff849773b..ff47bb88b3 100644 --- a/docs/models/microfrontends1.md +++ b/docs/models/microfrontends1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends1 } from "@vercel/sdk/models/newprojects.js"; +import { Microfrontends1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Microfrontends1 = { enabled: true, diff --git a/docs/models/microfrontends2.md b/docs/models/microfrontends2.md index eeeea799fd..b9f03ab06f 100644 --- a/docs/models/microfrontends2.md +++ b/docs/models/microfrontends2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends2 } from "@vercel/sdk/models/newprojects.js"; +import { Microfrontends2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Microfrontends2 = { enabled: true, diff --git a/docs/models/microfrontends3.md b/docs/models/microfrontends3.md index cf9763336c..273ba74031 100644 --- a/docs/models/microfrontends3.md +++ b/docs/models/microfrontends3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Microfrontends3 } from "@vercel/sdk/models/newprojects.js"; +import { Microfrontends3 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Microfrontends3 = { enabled: false, diff --git a/docs/models/mostspecificsubdivision.md b/docs/models/mostspecificsubdivision.md index 95b05d58de..d1d9169c6e 100644 --- a/docs/models/mostspecificsubdivision.md +++ b/docs/models/mostspecificsubdivision.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MostSpecificSubdivision } from "@vercel/sdk/models/newprojects.js"; +import { MostSpecificSubdivision } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: MostSpecificSubdivision = { names: { diff --git a/docs/models/name.md b/docs/models/name.md index d97d538ff1..6cd1a55fd1 100644 --- a/docs/models/name.md +++ b/docs/models/name.md @@ -13,5 +13,5 @@ let value: Name = "perimeter-deleted"; ## Values ```typescript -"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" +"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-previous-signing-secret-retired" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-admin-invite-revoked" | "organization-admin-removed" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "saml-login-provider-changed" | "sandbox-ai-gateway-credentials-configured" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-expiry-notification-lead-time-updated" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" ``` \ No newline at end of file diff --git a/docs/models/name2.md b/docs/models/name2.md index b3f56968cb..44bc7df8fd 100644 --- a/docs/models/name2.md +++ b/docs/models/name2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Name2 } from "@vercel/sdk/models/oldssoprotection2.js"; +import { Name2 } from "@vercel/sdk/models/payloadstaticips.js"; let value: Name2 = { name: "", diff --git a/docs/models/namedsandbox.md b/docs/models/namedsandbox.md index 529f727d46..7955184490 100644 --- a/docs/models/namedsandbox.md +++ b/docs/models/namedsandbox.md @@ -12,6 +12,7 @@ let value: NamedSandbox = { currentSessionId: "", cwd: "/vercel/sandbox", expiresAt: 1750344801629, + expiryNotificationLeadTime: 60000, failoverRegions: [ "sfo1", "cle1", @@ -47,34 +48,35 @@ let value: NamedSandbox = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `architecture` | [models.Architecture](../models/architecture.md) | :heavy_minus_sign: | CPU architecture of the sandbox. This value does not change. | | -| `createdAt` | *number* | :heavy_check_mark: | The time when the named sandbox was created, in milliseconds since the epoch. | 1750344501629 | -| `currentSessionId` | *string* | :heavy_check_mark: | Current session ID the sandbox is pointing to. | | -| `currentSnapshotId` | *string* | :heavy_minus_sign: | Current snapshot ID that the named sandbox is pointing to. | | -| `cwd` | *string* | :heavy_minus_sign: | The working directory of the sandbox. | /vercel/sandbox | -| `expiresAt` | *number* | :heavy_minus_sign: | The time at which the currently running sandbox will time out, in milliseconds since the epoch. Only present while a session is running. | 1750344801629 | -| `failoverRegions` | [models.FailoverRegions](../models/failoverregions.md)[] | :heavy_minus_sign: | The regions the sandbox fails over to. Empty when it does not fail over. | [
"sfo1",
"cle1"
] | -| `image` | *string* | :heavy_minus_sign: | Owner-qualified, digest-pinned reference of the container image the sandbox was created from ("{team}/{project}/{repository}@{manifestDigest}"). | my-team/my-project/my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708 | -| `keepLastSnapshots` | [models.KeepLastSnapshots](../models/keeplastsnapshots.md) | :heavy_minus_sign: | Keep-last snapshot configuration. | | -| `memory` | *number* | :heavy_minus_sign: | Memory allocated in MB. | 1024 | -| `mounts` | Record | :heavy_minus_sign: | Key-value pairs of mount path and drive. | | -| `name` | *string* | :heavy_check_mark: | The unique identifier of the sandbox. | my-sandbox | -| `networkId` | *string* | :heavy_minus_sign: | The Connect network id for the target Secure Compute private network. | | -| `networkPolicy` | [models.NetworkPolicy](../models/networkpolicy.md) | :heavy_minus_sign: | Network policy configuration. | | -| `persistent` | *boolean* | :heavy_check_mark: | Whether the sandbox persists its state across restarts via automatic snapshots. | true | -| `region` | *string* | :heavy_minus_sign: | The region the sandbox is pinned to: the region stored on the sandbox, otherwise the platform default. Where a running session actually landed is reported by `session.region`. | iad1 | -| `runtime` | *string* | :heavy_minus_sign: | Runtime identifier. | node22 | -| `snapshotExpiration` | *number* | :heavy_minus_sign: | Default snapshot expiration time in milliseconds. 0 means no expiration. | 604800000 | -| `status` | [models.NamedSandboxStatus](../models/namedsandboxstatus.md) | :heavy_check_mark: | The status of the current sandbox. | running | -| `statusUpdatedAt` | *number* | :heavy_check_mark: | The time when the sandbox status was last updated, in milliseconds since the epoch. | 1750344501629 | -| `tags` | Record | :heavy_minus_sign: | Key-value tags attached to the named sandbox. | {
"team": "hive",
"user": "bob"
} | -| `timeout` | *number* | :heavy_minus_sign: | Timeout in milliseconds. | 300000 | -| `totalActiveCpuDurationMs` | *number* | :heavy_minus_sign: | Cumulative active CPU duration in milliseconds across all sandbox runs. | 5000 | -| `totalDurationMs` | *number* | :heavy_minus_sign: | Cumulative wall-clock duration in milliseconds across all sandbox runs. | 60000 | -| `totalEgressBytes` | *number* | :heavy_minus_sign: | Cumulative egress bytes across all sandbox runs. | 4096 | -| `totalIngressBytes` | *number* | :heavy_minus_sign: | Cumulative ingress bytes across all sandbox runs. | 2048 | -| `updatedAt` | *number* | :heavy_check_mark: | The time when the named sandbox was last updated, in milliseconds since the epoch. | 1750344501629 | -| `vcpus` | *number* | :heavy_minus_sign: | Number of virtual CPUs allocated. | 2 | -| `workloadType` | [models.NamedSandboxWorkloadType](../models/namedsandboxworkloadtype.md) | :heavy_minus_sign: | The workload type of this sandbox. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `architecture` | [models.Architecture](../models/architecture.md) | :heavy_minus_sign: | CPU architecture of the sandbox. This value does not change. | | +| `createdAt` | *number* | :heavy_check_mark: | The time when the named sandbox was created, in milliseconds since the epoch. | 1750344501629 | +| `currentSessionId` | *string* | :heavy_check_mark: | Current session ID the sandbox is pointing to. | | +| `currentSnapshotId` | *string* | :heavy_minus_sign: | Current snapshot ID that the named sandbox is pointing to. | | +| `cwd` | *string* | :heavy_minus_sign: | The working directory of the sandbox. | /vercel/sandbox | +| `expiresAt` | *number* | :heavy_minus_sign: | The time at which the currently running sandbox will time out, in milliseconds since the epoch. Only present while a session is running. | 1750344801629 | +| `expiryNotificationLeadTime` | *number* | :heavy_check_mark: | How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. | 60000 | +| `failoverRegions` | [models.FailoverRegions](../models/failoverregions.md)[] | :heavy_minus_sign: | The regions the sandbox fails over to. Empty when it does not fail over. | [
"sfo1",
"cle1"
] | +| `image` | *string* | :heavy_minus_sign: | Owner-qualified, digest-pinned reference of the container image the sandbox was created from ("{team}/{project}/{repository}@{manifestDigest}"). | my-team/my-project/my-repo@sha256:2c4e8f9a1b3d5e7f091a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708 | +| `keepLastSnapshots` | [models.KeepLastSnapshots](../models/keeplastsnapshots.md) | :heavy_minus_sign: | Keep-last snapshot configuration. | | +| `memory` | *number* | :heavy_minus_sign: | Memory allocated in MB. | 1024 | +| `mounts` | Record | :heavy_minus_sign: | Key-value pairs of mount path and drive. | | +| `name` | *string* | :heavy_check_mark: | The unique identifier of the sandbox. | my-sandbox | +| `networkId` | *string* | :heavy_minus_sign: | The Connect network id for the target Secure Compute private network. | | +| `networkPolicy` | [models.NetworkPolicy](../models/networkpolicy.md) | :heavy_minus_sign: | Network policy configuration. | | +| `persistent` | *boolean* | :heavy_check_mark: | Whether the sandbox persists its state across restarts via automatic snapshots. | true | +| `region` | *string* | :heavy_minus_sign: | The region the sandbox is pinned to: the region stored on the sandbox, otherwise the platform default. Where a running session actually landed is reported by `session.region`. | iad1 | +| `runtime` | *string* | :heavy_minus_sign: | Runtime identifier. | node22 | +| `snapshotExpiration` | *number* | :heavy_minus_sign: | Default snapshot expiration time in milliseconds. 0 means no expiration. | 604800000 | +| `status` | [models.NamedSandboxStatus](../models/namedsandboxstatus.md) | :heavy_check_mark: | The status of the current sandbox. | running | +| `statusUpdatedAt` | *number* | :heavy_check_mark: | The time when the sandbox status was last updated, in milliseconds since the epoch. | 1750344501629 | +| `tags` | Record | :heavy_minus_sign: | Key-value tags attached to the named sandbox. | {
"team": "hive",
"user": "bob"
} | +| `timeout` | *number* | :heavy_minus_sign: | Timeout in milliseconds. | 300000 | +| `totalActiveCpuDurationMs` | *number* | :heavy_minus_sign: | Cumulative active CPU duration in milliseconds across all sandbox runs. | 5000 | +| `totalDurationMs` | *number* | :heavy_minus_sign: | Cumulative wall-clock duration in milliseconds across all sandbox runs. | 60000 | +| `totalEgressBytes` | *number* | :heavy_minus_sign: | Cumulative egress bytes across all sandbox runs. | 4096 | +| `totalIngressBytes` | *number* | :heavy_minus_sign: | Cumulative ingress bytes across all sandbox runs. | 2048 | +| `updatedAt` | *number* | :heavy_check_mark: | The time when the named sandbox was last updated, in milliseconds since the epoch. | 1750344501629 | +| `vcpus` | *number* | :heavy_minus_sign: | Number of virtual CPUs allocated. | 2 | +| `workloadType` | [models.NamedSandboxWorkloadType](../models/namedsandboxworkloadtype.md) | :heavy_minus_sign: | The workload type of this sandbox. | | \ No newline at end of file diff --git a/docs/models/names.md b/docs/models/names.md index 095d0fa6db..4bef65541e 100644 --- a/docs/models/names.md +++ b/docs/models/names.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Names } from "@vercel/sdk/models/newprojects.js"; +import { Names } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Names = { en: "", diff --git a/docs/models/newconnectconfigurations.md b/docs/models/newconnectconfigurations.md index 4790080f93..9d157b4354 100644 --- a/docs/models/newconnectconfigurations.md +++ b/docs/models/newconnectconfigurations.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewConnectConfigurations } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { NewConnectConfigurations } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: NewConnectConfigurations = { buildsEnabled: true, diff --git a/docs/models/newenvvar.md b/docs/models/newenvvar.md index 48fd99ce34..3e4afc6a08 100644 --- a/docs/models/newenvvar.md +++ b/docs/models/newenvvar.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewEnvVar } from "@vercel/sdk/models/newprojects.js"; +import { NewEnvVar } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: NewEnvVar = { created: new Date("2021-02-10T13:11:49.180Z"), @@ -46,8 +46,8 @@ let value: NewEnvVar = { | `lastEditedByPrincipal` | *models.PayloadLastEditedByPrincipal* | :heavy_minus_sign: | N/A | | | `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | | `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `target` | [models.UserEventPayload191Target](../models/usereventpayload191target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | -| `type` | [models.UserEventPayload191Type](../models/usereventpayload191type.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.UserEventPayload192Target](../models/usereventpayload192target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `type` | [models.UserEventPayload192Type](../models/usereventpayload192type.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | | `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | | `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | | `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | \ No newline at end of file diff --git a/docs/models/newowner.md b/docs/models/newowner.md index 9785ec01b7..fd13bc2017 100644 --- a/docs/models/newowner.md +++ b/docs/models/newowner.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewOwner } from "@vercel/sdk/models/newprojects.js"; +import { NewOwner } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: NewOwner = { id: "", diff --git a/docs/models/newplan.md b/docs/models/newplan.md index 4a8072633c..98277040c6 100644 --- a/docs/models/newplan.md +++ b/docs/models/newplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewPlan } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { NewPlan } from "@vercel/sdk/models/fourhundredandforty.js"; let value: NewPlan = "pro"; ``` diff --git a/docs/models/newprojects.md b/docs/models/newprojects.md index 87b7b8d13e..727d0e92d0 100644 --- a/docs/models/newprojects.md +++ b/docs/models/newprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewProjects } from "@vercel/sdk/models/newprojects.js"; +import { NewProjects } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: NewProjects = { projectId: "", diff --git a/docs/models/newresourceblockingpolicy.md b/docs/models/newresourceblockingpolicy.md index 6d80d62a90..db04febdea 100644 --- a/docs/models/newresourceblockingpolicy.md +++ b/docs/models/newresourceblockingpolicy.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewResourceBlockingPolicy } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { NewResourceBlockingPolicy } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: NewResourceBlockingPolicy = "block"; ``` diff --git a/docs/models/newtarget.md b/docs/models/newtarget.md index 085c294ea4..66d6533ab1 100644 --- a/docs/models/newtarget.md +++ b/docs/models/newtarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewTarget } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { NewTarget } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: NewTarget = "production"; ``` diff --git a/docs/models/newteam.md b/docs/models/newteam.md index 2c409aaa92..d7b92994fc 100644 --- a/docs/models/newteam.md +++ b/docs/models/newteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NewTeam } from "@vercel/sdk/models/twenty.js"; +import { NewTeam } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: NewTeam = { name: "", diff --git a/docs/models/next1.md b/docs/models/next1.md index a4a3e6b81b..03c39d809a 100644 --- a/docs/models/next1.md +++ b/docs/models/next1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Next1 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Next1 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Next1 = { accessGroupId: "", diff --git a/docs/models/next2.md b/docs/models/next2.md index 803cd93eaa..4b39251a06 100644 --- a/docs/models/next2.md +++ b/docs/models/next2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Next2 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Next2 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Next2 = { teamRoles: [], diff --git a/docs/models/next3.md b/docs/models/next3.md index 9293df8863..a5121e7375 100644 --- a/docs/models/next3.md +++ b/docs/models/next3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Next3 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Next3 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Next3 = "VIEWER_FOR_PLUS"; ``` diff --git a/docs/models/nextpermissions.md b/docs/models/nextpermissions.md index aff0d91efc..325de3cfb5 100644 --- a/docs/models/nextpermissions.md +++ b/docs/models/nextpermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextPermissions } from "@vercel/sdk/models/twenty.js"; +import { NextPermissions } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: NextPermissions = "read-write:desktop-device"; ``` diff --git a/docs/models/nextrole.md b/docs/models/nextrole.md index dd79aa9244..6f5c0aeda9 100644 --- a/docs/models/nextrole.md +++ b/docs/models/nextrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextRole } from "@vercel/sdk/models/twenty.js"; +import { NextRole } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: NextRole = "PROJECT_GUEST"; ``` diff --git a/docs/models/nextrule.md b/docs/models/nextrule.md index 297d65954a..901432921e 100644 --- a/docs/models/nextrule.md +++ b/docs/models/nextrule.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextRule } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { NextRule } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: NextRule = { email: "Myrtis_Emard99@yahoo.com", diff --git a/docs/models/nextscopes.md b/docs/models/nextscopes.md index 018f215b65..b4a3238859 100644 --- a/docs/models/nextscopes.md +++ b/docs/models/nextscopes.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextScopes } from "@vercel/sdk/models/twenty.js"; +import { NextScopes } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: NextScopes = "openid"; ``` diff --git a/docs/models/nextteampermissions.md b/docs/models/nextteampermissions.md index 9832de6ca3..a8a62f392c 100644 --- a/docs/models/nextteampermissions.md +++ b/docs/models/nextteampermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextTeamPermissions } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { NextTeamPermissions } from "@vercel/sdk/models/fourhundredandforty.js"; let value: NextTeamPermissions = "WorkflowDecryptor"; ``` diff --git a/docs/models/nextteamroles.md b/docs/models/nextteamroles.md index 157afbd7b9..81190dbe72 100644 --- a/docs/models/nextteamroles.md +++ b/docs/models/nextteamroles.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { NextTeamRoles } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { NextTeamRoles } from "@vercel/sdk/models/fourhundredandforty.js"; let value: NextTeamRoles = "DEVELOPER"; ``` diff --git a/docs/models/ninety.md b/docs/models/ninety.md index fdaf2b8f83..9056f33001 100644 --- a/docs/models/ninety.md +++ b/docs/models/ninety.md @@ -5,15 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Ninety } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Ninety } from "@vercel/sdk/models/eightytwo.js"; let value: Ninety = { - subscriptionId: "", + amount: 160.09, + invoiceId: "", + newInvoiceId: "", + settlementMethod: "refunded-payment-pending", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `subscriptionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `amount` | *number* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `newInvoiceId` | *string* | :heavy_check_mark: | N/A | +| `settlementMethod` | [models.SettlementMethod](../models/settlementmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyeight.md b/docs/models/ninetyeight.md index a6ca2d25d1..e4182110a0 100644 --- a/docs/models/ninetyeight.md +++ b/docs/models/ninetyeight.md @@ -5,20 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyEight } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyEight } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyEight = { - productAliases: [ - "", - "", - "", - ], + action: "mutate", + data: { + "key": "", + "key1": "", + "key2": "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | -| `productAliases` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | +| `action` | [models.UserEventPayload98Action](../models/usereventpayload98action.md) | :heavy_check_mark: | N/A | +| `data` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyfive.md b/docs/models/ninetyfive.md index e3b8afae9a..8cab19409e 100644 --- a/docs/models/ninetyfive.md +++ b/docs/models/ninetyfive.md @@ -5,20 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyFive } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyFive } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyFive = { - action: "cancel_plan", - data: { - planSlug: "hobby", - }, + planSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | -| `action` | [models.UserEventPayload95Action](../models/usereventpayload95action.md) | :heavy_check_mark: | N/A | -| `data` | *models.UserEventPayloadData* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | +| `planSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyfour.md b/docs/models/ninetyfour.md index c74c7ba31f..dd047ba7f6 100644 --- a/docs/models/ninetyfour.md +++ b/docs/models/ninetyfour.md @@ -5,16 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyFour } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyFour } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyFour = { - planSlug: "", + changedFields: [ + "name", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | -| `planSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `changedFields` | [models.UserEventPayloadChangedFields](../models/usereventpayloadchangedfields.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetynine.md b/docs/models/ninetynine.md index bf34861db7..6c1ada0558 100644 --- a/docs/models/ninetynine.md +++ b/docs/models/ninetynine.md @@ -5,22 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyNine } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyNine } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyNine = { - bulkRedirectsLimit: 4084.8, - prevBulkRedirectsLimit: 5082.46, - project: { - id: "", - name: "", - }, + productAliases: [ + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `bulkRedirectsLimit` | *number* | :heavy_check_mark: | N/A | -| `prevBulkRedirectsLimit` | *number* | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayloadProject](../models/usereventpayloadproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `subscriptionId` | *string* | :heavy_minus_sign: | N/A | +| `productAliases` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyone.md b/docs/models/ninetyone.md index acd8461ce0..c630b7c5ce 100644 --- a/docs/models/ninetyone.md +++ b/docs/models/ninetyone.md @@ -5,10 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyOne } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyOne } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyOne = { - paymentMethodId: "", subscriptionId: "", }; ``` @@ -17,5 +16,4 @@ let value: NinetyOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `paymentMethodId` | *string* | :heavy_check_mark: | N/A | | `subscriptionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyseven.md b/docs/models/ninetyseven.md index bc7c6692ed..e8c5442125 100644 --- a/docs/models/ninetyseven.md +++ b/docs/models/ninetyseven.md @@ -5,12 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetySeven } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetySeven } from "@vercel/sdk/models/eightytwo.js"; let value: NinetySeven = { - action: "mutate", + action: "resume_plan", data: { - "key": "", + planSlug: "v0_business", }, }; ``` @@ -21,4 +21,4 @@ let value: NinetySeven = { | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `subscriptionId` | *string* | :heavy_minus_sign: | N/A | | `action` | [models.UserEventPayload97Action](../models/usereventpayload97action.md) | :heavy_check_mark: | N/A | -| `data` | Record | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | [models.PayloadData](../models/payloaddata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetysix.md b/docs/models/ninetysix.md index 1a58350731..60f4ec2a13 100644 --- a/docs/models/ninetysix.md +++ b/docs/models/ninetysix.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetySix } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetySix } from "@vercel/sdk/models/eightytwo.js"; let value: NinetySix = { - action: "resume_plan", + action: "cancel_plan", data: { planSlug: "v0_business", }, @@ -21,4 +21,4 @@ let value: NinetySix = { | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `subscriptionId` | *string* | :heavy_minus_sign: | N/A | | `action` | [models.UserEventPayload96Action](../models/usereventpayload96action.md) | :heavy_check_mark: | N/A | -| `data` | [models.PayloadData](../models/payloaddata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `data` | *models.UserEventPayloadData* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetythree.md b/docs/models/ninetythree.md index b3ac9c8357..e0959075d4 100644 --- a/docs/models/ninetythree.md +++ b/docs/models/ninetythree.md @@ -5,15 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyThree } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyThree } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyThree = { - changedFields: [], + paymentMethodId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `changedFields` | [models.UserEventPayloadChangedFields](../models/usereventpayloadchangedfields.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `brand` | *string* | :heavy_minus_sign: | N/A | +| `last4` | *string* | :heavy_minus_sign: | N/A | +| `paymentMethodId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetytwo.md b/docs/models/ninetytwo.md index 5b69623c77..de724b836b 100644 --- a/docs/models/ninetytwo.md +++ b/docs/models/ninetytwo.md @@ -5,10 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { NinetyTwo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NinetyTwo } from "@vercel/sdk/models/eightytwo.js"; let value: NinetyTwo = { paymentMethodId: "", + subscriptionId: "", }; ``` @@ -16,6 +17,5 @@ let value: NinetyTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `brand` | *string* | :heavy_minus_sign: | N/A | -| `last4` | *string* | :heavy_minus_sign: | N/A | -| `paymentMethodId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `paymentMethodId` | *string* | :heavy_check_mark: | N/A | +| `subscriptionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/nsnbsideeffect.md b/docs/models/nsnbsideeffect.md index 387dd2cc9a..e42296ac51 100644 --- a/docs/models/nsnbsideeffect.md +++ b/docs/models/nsnbsideeffect.md @@ -5,7 +5,7 @@ Since March 2026 Records a successful NSNB auto-add result so later GitHub PR co ## Example Usage ```typescript -import { NsnbSideEffect } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { NsnbSideEffect } from "@vercel/sdk/models/eightytwo.js"; let value: NsnbSideEffect = { action: "auto-approved-pending-invite", diff --git a/docs/models/oidcproviders.md b/docs/models/oidcproviders.md index 55bfd900e4..080057da4a 100644 --- a/docs/models/oidcproviders.md +++ b/docs/models/oidcproviders.md @@ -29,5 +29,5 @@ let value: OidcProviders = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | | `label` | *string* | :heavy_minus_sign: | The label or description of the trusted source | -| `to` | *models.UpdateProjectTo* | :heavy_check_mark: | A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. | +| `to` | *models.UpdateProjectProjectsTo* | :heavy_check_mark: | A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. | | `claims` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/oldbuildqueueconfiguration.md b/docs/models/oldbuildqueueconfiguration.md index 79c7c709f7..2be6fa9362 100644 --- a/docs/models/oldbuildqueueconfiguration.md +++ b/docs/models/oldbuildqueueconfiguration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldBuildQueueConfiguration } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { OldBuildQueueConfiguration } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: OldBuildQueueConfiguration = "SKIP_NAMESPACE_QUEUE"; ``` diff --git a/docs/models/oldconnectconfigurations.md b/docs/models/oldconnectconfigurations.md index 8ad6015546..1838751645 100644 --- a/docs/models/oldconnectconfigurations.md +++ b/docs/models/oldconnectconfigurations.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldConnectConfigurations } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { OldConnectConfigurations } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: OldConnectConfigurations = { buildsEnabled: true, @@ -24,6 +24,6 @@ let value: OldConnectConfigurations = { | `connectConfigurationId` | *string* | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `dc` | *string* | :heavy_minus_sign: | N/A | -| `envId` | *models.UserEventPayload310EnvId* | :heavy_check_mark: | N/A | +| `envId` | *models.UserEventPayload313EnvId* | :heavy_check_mark: | N/A | | `passive` | *boolean* | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/oldenvvar.md b/docs/models/oldenvvar.md index 42de012f0b..e9fc4394d6 100644 --- a/docs/models/oldenvvar.md +++ b/docs/models/oldenvvar.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldEnvVar } from "@vercel/sdk/models/newprojects.js"; +import { OldEnvVar } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OldEnvVar = { created: new Date("2021-02-10T13:11:49.180Z"), @@ -46,8 +46,8 @@ let value: OldEnvVar = { | `lastEditedByPrincipal` | *models.UserEventPayloadLastEditedByPrincipal* | :heavy_minus_sign: | N/A | | | `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | | `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `target` | [models.UserEventPayload191OldEnvVarTarget](../models/usereventpayload191oldenvvartarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | -| `type` | [models.UserEventPayload191OldEnvVarType](../models/usereventpayload191oldenvvartype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.UserEventPayload192OldEnvVarTarget](../models/usereventpayload192oldenvvartarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `type` | [models.UserEventPayload192OldEnvVarType](../models/usereventpayload192oldenvvartype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | | `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | | `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | | `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | \ No newline at end of file diff --git a/docs/models/oldoptionsallowlist.md b/docs/models/oldoptionsallowlist.md index 8ff3d76f34..09fb35292e 100644 --- a/docs/models/oldoptionsallowlist.md +++ b/docs/models/oldoptionsallowlist.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldOptionsAllowlist } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldOptionsAllowlist } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldOptionsAllowlist = { paths: [ diff --git a/docs/models/oldpasswordprotection.md b/docs/models/oldpasswordprotection.md index d8b044bdd5..5988065ff9 100644 --- a/docs/models/oldpasswordprotection.md +++ b/docs/models/oldpasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldPasswordProtection } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OldPasswordProtection } from "@vercel/sdk/models/eightytwo.js"; let value: OldPasswordProtection = { deploymentType: "all", @@ -14,4 +14,4 @@ let value: OldPasswordProtection = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `deploymentType` | [models.UserEventPayload129DeploymentType](../models/usereventpayload129deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload130DeploymentType](../models/usereventpayload130deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/oldpasswordprotection1.md b/docs/models/oldpasswordprotection1.md index 8688ad28b6..b832de61b7 100644 --- a/docs/models/oldpasswordprotection1.md +++ b/docs/models/oldpasswordprotection1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldPasswordProtection1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldPasswordProtection1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldPasswordProtection1 = { deploymentType: "all_except_custom_domains", diff --git a/docs/models/oldpasswordprotection2.md b/docs/models/oldpasswordprotection2.md index 632c0f003e..1a5b8dc28a 100644 --- a/docs/models/oldpasswordprotection2.md +++ b/docs/models/oldpasswordprotection2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldPasswordProtection2 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldPasswordProtection2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldPasswordProtection2 = "preview"; ``` diff --git a/docs/models/oldpasswordprotectiondeploymenttype.md b/docs/models/oldpasswordprotectiondeploymenttype.md index 2297e832d8..1dd78dcfb9 100644 --- a/docs/models/oldpasswordprotectiondeploymenttype.md +++ b/docs/models/oldpasswordprotectiondeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldPasswordProtectionDeploymentType } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldPasswordProtectionDeploymentType } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldPasswordProtectionDeploymentType = "all_except_custom_domains"; ``` diff --git a/docs/models/oldprojects.md b/docs/models/oldprojects.md index dfcc2f4d56..c71b4db829 100644 --- a/docs/models/oldprojects.md +++ b/docs/models/oldprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldProjects } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OldProjects } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OldProjects = { projectId: "", diff --git a/docs/models/oldssoprotection.md b/docs/models/oldssoprotection.md index 29ed19f3c7..f290c8cf65 100644 --- a/docs/models/oldssoprotection.md +++ b/docs/models/oldssoprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtection } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OldSsoProtection } from "@vercel/sdk/models/eightytwo.js"; let value: OldSsoProtection = { deploymentType: "preview", diff --git a/docs/models/oldssoprotection1.md b/docs/models/oldssoprotection1.md index 2dd63a1854..ed4bb1aae3 100644 --- a/docs/models/oldssoprotection1.md +++ b/docs/models/oldssoprotection1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtection1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldSsoProtection1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldSsoProtection1 = { deploymentType: "preview", diff --git a/docs/models/oldssoprotection2.md b/docs/models/oldssoprotection2.md index cd6a630fdc..6c5437a908 100644 --- a/docs/models/oldssoprotection2.md +++ b/docs/models/oldssoprotection2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtection2 } from "@vercel/sdk/models/oldssoprotection2.js"; +import { OldSsoProtection2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldSsoProtection2 = "all_except_custom_domains"; ``` diff --git a/docs/models/oldssoprotectionapril2026securityincidentmigrationappliedfrom.md b/docs/models/oldssoprotectionapril2026securityincidentmigrationappliedfrom.md index e95a96aba0..db7ebbb5ca 100644 --- a/docs/models/oldssoprotectionapril2026securityincidentmigrationappliedfrom.md +++ b/docs/models/oldssoprotectionapril2026securityincidentmigrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom = "all"; diff --git a/docs/models/oldssoprotectioncve55182migrationappliedfrom.md b/docs/models/oldssoprotectioncve55182migrationappliedfrom.md index 4aab58db10..f2727c3c61 100644 --- a/docs/models/oldssoprotectioncve55182migrationappliedfrom.md +++ b/docs/models/oldssoprotectioncve55182migrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtectionCve55182MigrationAppliedFrom } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldSsoProtectionCve55182MigrationAppliedFrom } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldSsoProtectionCve55182MigrationAppliedFrom = "all"; ``` diff --git a/docs/models/oldssoprotectiondeploymenttype.md b/docs/models/oldssoprotectiondeploymenttype.md index 3adb762e09..de10dd37bd 100644 --- a/docs/models/oldssoprotectiondeploymenttype.md +++ b/docs/models/oldssoprotectiondeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldSsoProtectionDeploymentType } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OldSsoProtectionDeploymentType } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OldSsoProtectionDeploymentType = "all"; ``` diff --git a/docs/models/oldtarget.md b/docs/models/oldtarget.md index f3bb83590a..b184a3583b 100644 --- a/docs/models/oldtarget.md +++ b/docs/models/oldtarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldTarget } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OldTarget } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OldTarget = "development"; ``` diff --git a/docs/models/oldteam.md b/docs/models/oldteam.md index f1493b5d72..d24113c2c4 100644 --- a/docs/models/oldteam.md +++ b/docs/models/oldteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldTeam } from "@vercel/sdk/models/twenty.js"; +import { OldTeam } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: OldTeam = { name: "", diff --git a/docs/models/oldtrustedips.md b/docs/models/oldtrustedips.md index 667fdfe41d..6c0bedd33a 100644 --- a/docs/models/oldtrustedips.md +++ b/docs/models/oldtrustedips.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OldTrustedIps } from "@vercel/sdk/models/oldssoprotection2.js"; +import { OldTrustedIps } from "@vercel/sdk/models/payloadstaticips.js"; let value: OldTrustedIps = "all"; ``` diff --git a/docs/models/onehundred.md b/docs/models/onehundred.md index 9b28880072..066330ef80 100644 --- a/docs/models/onehundred.md +++ b/docs/models/onehundred.md @@ -5,20 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundred } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundred } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundred = { + bulkRedirectsLimit: 7642.14, + prevBulkRedirectsLimit: 7073.71, project: { id: "", name: "", }, - versionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload100Project](../models/usereventpayload100project.md) | :heavy_check_mark: | N/A | -| `versionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `bulkRedirectsLimit` | *number* | :heavy_check_mark: | N/A | +| `prevBulkRedirectsLimit` | *number* | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayloadProject](../models/usereventpayloadproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeight.md b/docs/models/onehundredandeight.md index 44ac1e700d..ab78975731 100644 --- a/docs/models/onehundredandeight.md +++ b/docs/models/onehundredandeight.md @@ -5,29 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEight } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndEight } from "@vercel/sdk/models/eightytwo.js"; -let value: OneHundredAndEight = { - actorAccountId: null, - actorLogin: "", - gitOwnerName: "", - gitRepositoryName: "", - headSha: "", - prNumber: 1326.14, - reviewUrl: "https://turbulent-release.com", - team: "", -}; +let value: OneHundredAndEight = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `actorAccountId` | *number* | :heavy_check_mark: | Stable GitHub user id. | -| `actorLogin` | *string* | :heavy_check_mark: | Display name only. Logins are mutable; join on `actorAccountId`. | -| `gitOwnerName` | *string* | :heavy_check_mark: | N/A | -| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | -| `headSha` | *string* | :heavy_check_mark: | N/A | -| `prNumber` | *number* | :heavy_check_mark: | N/A | -| `reviewUrl` | *string* | :heavy_check_mark: | N/A | -| `team` | *string* | :heavy_check_mark: | The `:must-assume` team the approval counted for, e.g. "vercel/leads". | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `cn` | *string* | :heavy_minus_sign: | N/A | +| `cns` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeighteen.md b/docs/models/onehundredandeighteen.md index c1ebc1fd37..7b04329c7d 100644 --- a/docs/models/onehundredandeighteen.md +++ b/docs/models/onehundredandeighteen.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEighteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndEighteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndEighteen = { githubLogin: "", @@ -16,4 +16,5 @@ let value: OneHundredAndEighteen = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `githubLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `githubLogin` | *string* | :heavy_check_mark: | N/A | +| `host` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeighty.md b/docs/models/onehundredandeighty.md index 42e134c99c..b159228693 100644 --- a/docs/models/onehundredandeighty.md +++ b/docs/models/onehundredandeighty.md @@ -5,23 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEighty } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEighty } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEighty = { edgeConfigId: "", edgeConfigSlug: "", - edgeConfigTokenIds: [ - "", - "", - "", - ], + edgeConfigTokenId: "", + label: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigTokenIds` | *string*[] | :heavy_check_mark: | ids of deleted tokens | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightyeight.md b/docs/models/onehundredandeightyeight.md index 43287e4d73..88ba0a75a1 100644 --- a/docs/models/onehundredandeightyeight.md +++ b/docs/models/onehundredandeightyeight.md @@ -5,24 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyEight = { - key: "", - organizationId: "", - provider: "", - repository: "", - visibility: "secret", + deploymentId: "", + deploymentUrl: "https://similar-scale.biz", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `changedFields` | *string*[] | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `provider` | *string* | :heavy_check_mark: | N/A | -| `repository` | *string* | :heavy_check_mark: | N/A | -| `visibility` | [models.PayloadVisibility](../models/payloadvisibility.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `ipAddress` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.UserEventPayloadTarget* | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightyfive.md b/docs/models/onehundredandeightyfive.md index b7a4a1540a..279af3aef1 100644 --- a/docs/models/onehundredandeightyfive.md +++ b/docs/models/onehundredandeightyfive.md @@ -5,23 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyFive } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyFive } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyFive = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `ipAddress` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_minus_sign: | N/A | -| `target` | *models.Target* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `deletedUid` | *string* | :heavy_minus_sign: | N/A | +| `deletedUser` | [models.DeletedUser](../models/deleteduser.md) | :heavy_minus_sign: | N/A | +| `emailDomain` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightyfour.md b/docs/models/onehundredandeightyfour.md index 36fa57345e..dc6701c2ec 100644 --- a/docs/models/onehundredandeightyfour.md +++ b/docs/models/onehundredandeightyfour.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyFour } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyFour } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: OneHundredAndEightyFour = {}; +let value: OneHundredAndEightyFour = { + team: { + id: "", + }, +}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `deletedUid` | *string* | :heavy_minus_sign: | N/A | -| `deletedUser` | [models.DeletedUser](../models/deleteduser.md) | :heavy_minus_sign: | N/A | -| `emailDomain` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `nextRule` | [models.NextRule](../models/nextrule.md) | :heavy_minus_sign: | N/A | +| `previousRule` | [models.PayloadPreviousRule](../models/payloadpreviousrule.md) | :heavy_minus_sign: | N/A | +| `team` | [models.UserEventPayload184Team](../models/usereventpayload184team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightynine.md b/docs/models/onehundredandeightynine.md index 50347cf96d..dd82b816d0 100644 --- a/docs/models/onehundredandeightynine.md +++ b/docs/models/onehundredandeightynine.md @@ -5,53 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyNine = { - created: new Date("2021-02-10T13:11:49.180Z"), - createdAt: 1609492210000, - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedAt: 1609492210000, - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - target: [ - "production", - ], - type: "encrypted", - updatedAt: 1609492210000, - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + key: "", + organizationId: "", + provider: "", + repository: "", + visibility: "config", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | -| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | -| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | -| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | The custom environment IDs that this Shared Env Var is scoped to. | | -| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | -| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | -| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | -| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | -| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | -| `lastEditedByPrincipal` | *models.LastEditedByPrincipal* | :heavy_minus_sign: | N/A | | -| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | -| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `target` | [models.UserEventPayload189Target](../models/usereventpayload189target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | -| `type` | [models.PayloadType](../models/payloadtype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | -| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | -| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | -| `ipAddress` | *string* | :heavy_minus_sign: | N/A | | -| `projectNames` | *string*[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `changedFields` | *string*[] | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `provider` | *string* | :heavy_check_mark: | N/A | +| `repository` | *string* | :heavy_check_mark: | N/A | +| `visibility` | [models.PayloadVisibility](../models/payloadvisibility.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightyone.md b/docs/models/onehundredandeightyone.md index 8397229cc4..0f400c559a 100644 --- a/docs/models/onehundredandeightyone.md +++ b/docs/models/onehundredandeightyone.md @@ -5,17 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyOne = { - email: "Brenda_Rice@yahoo.com", - name: "", + edgeConfigId: "", + edgeConfigSlug: "", + edgeConfigTokenIds: [ + "", + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigTokenIds` | *string*[] | :heavy_check_mark: | ids of deleted tokens | \ No newline at end of file diff --git a/docs/models/onehundredandeightyseven.md b/docs/models/onehundredandeightyseven.md index 7d55154865..86f21aa921 100644 --- a/docs/models/onehundredandeightyseven.md +++ b/docs/models/onehundredandeightyseven.md @@ -5,28 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightySeven } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: OneHundredAndEightySeven = { - deploymentId: "", - deploymentUrl: "https://competent-redesign.com/", -}; +let value: OneHundredAndEightySeven = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `ipAddress` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_minus_sign: | N/A | -| `target` | *models.UserEventPayloadTarget* | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `ipAddress` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.PayloadTarget* | :heavy_minus_sign: | N/A | +| `updateDiff` | [models.UpdateDiff](../models/updatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightysix.md b/docs/models/onehundredandeightysix.md index 6534cf12b1..30ed4d6972 100644 --- a/docs/models/onehundredandeightysix.md +++ b/docs/models/onehundredandeightysix.md @@ -5,24 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightySix } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightySix } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightySix = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | -| `gitBranch` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `ipAddress` | *string* | :heavy_minus_sign: | N/A | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_minus_sign: | N/A | -| `target` | *models.PayloadTarget* | :heavy_minus_sign: | N/A | -| `updateDiff` | [models.UpdateDiff](../models/updatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `customEnvironmentSlugs` | *string*[] | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `ipAddress` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.Target* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightythree.md b/docs/models/onehundredandeightythree.md index 045dff307c..8db2f1f1c2 100644 --- a/docs/models/onehundredandeightythree.md +++ b/docs/models/onehundredandeightythree.md @@ -5,9 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyThree } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyThree } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyThree = { + previousRule: { + email: "Pinkie71@yahoo.com", + }, team: { id: "", }, @@ -18,6 +21,5 @@ let value: OneHundredAndEightyThree = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `nextRule` | [models.NextRule](../models/nextrule.md) | :heavy_minus_sign: | N/A | -| `previousRule` | [models.PayloadPreviousRule](../models/payloadpreviousrule.md) | :heavy_minus_sign: | N/A | +| `previousRule` | [models.PreviousRule](../models/previousrule.md) | :heavy_check_mark: | N/A | | `team` | [models.UserEventPayload183Team](../models/usereventpayload183team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeightytwo.md b/docs/models/onehundredandeightytwo.md index 055df1f469..320a29a680 100644 --- a/docs/models/onehundredandeightytwo.md +++ b/docs/models/onehundredandeightytwo.md @@ -5,21 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEightyTwo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndEightyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndEightyTwo = { - previousRule: { - email: "Judah_Altenwerth@yahoo.com", - }, - team: { - id: "", - }, + email: "Judah_Altenwerth@yahoo.com", + name: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `previousRule` | [models.PreviousRule](../models/previousrule.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload182Team](../models/usereventpayload182team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeleven.md b/docs/models/onehundredandeleven.md index b70f5e47fe..cf28f93b78 100644 --- a/docs/models/onehundredandeleven.md +++ b/docs/models/onehundredandeleven.md @@ -5,24 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndEleven } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndEleven } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndEleven = { - count: 5390.84, - documents: [ - { - documentId: "", - fingerprint: "", - slug: "", - title: "", - }, - ], + documentId: "", + fingerprint: "", + slug: "", + title: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `count` | *number* | :heavy_check_mark: | N/A | -| `documents` | [models.Documents](../models/documents.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `documentId` | *string* | :heavy_check_mark: | N/A | +| `fingerprint` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfifteen.md b/docs/models/onehundredandfifteen.md index ebfc0c19e0..bfee69a5c0 100644 --- a/docs/models/onehundredandfifteen.md +++ b/docs/models/onehundredandfifteen.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFifteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndFifteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndFifteen = { configuration: { @@ -23,8 +23,10 @@ let value: OneHundredAndFifteen = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `configuration` | [models.UserEventPayload115Configuration](../models/usereventpayload115configuration.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload115Project](../models/usereventpayload115project.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayloadTeam](../models/usereventpayloadteam.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `configuration` | [models.UserEventPayloadConfiguration](../models/usereventpayloadconfiguration.md) | :heavy_check_mark: | N/A | +| `passive` | *boolean* | :heavy_minus_sign: | N/A | +| `project` | [models.UserEventPayload115Project](../models/usereventpayload115project.md) | :heavy_check_mark: | N/A | +| `team` | [models.PayloadTeam](../models/payloadteam.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfifty.md b/docs/models/onehundredandfifty.md index 586c8104ac..794c42e472 100644 --- a/docs/models/onehundredandfifty.md +++ b/docs/models/onehundredandfifty.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFifty } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFifty } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFifty = { - cdnEnabled: true, name: "", + price: 4117.33, }; ``` @@ -17,5 +17,6 @@ let value: OneHundredAndFifty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `cdnEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyeight.md b/docs/models/onehundredandfiftyeight.md index 7ebfca614b..9499cbbeaa 100644 --- a/docs/models/onehundredandfiftyeight.md +++ b/docs/models/onehundredandfiftyeight.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyEight = { domain: "bulky-kielbasa.info", - zone: false, + echMode: "enabled", + previousEchMode: "disabled", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `zone` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `echMode` | [models.EchMode](../models/echmode.md) | :heavy_check_mark: | N/A | +| `previousEchMode` | [models.PreviousEchMode](../models/previousechmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyfive.md b/docs/models/onehundredandfiftyfive.md index 504ba1fcd7..69367849a3 100644 --- a/docs/models/onehundredandfiftyfive.md +++ b/docs/models/onehundredandfiftyfive.md @@ -5,24 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyFive } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyFive } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyFive = { - customNameservers: [ - "", - ], - domain: "white-handle.info", - prevCustomNameservers: [ - "", - "", - ], + id: "", + name: "", + nameservers: [], + previousServiceType: "", + serviceType: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `customNameservers` | *string*[] | :heavy_check_mark: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `prevCustomNameservers` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `nameservers` | *string*[] | :heavy_check_mark: | N/A | +| `previousServiceType` | *string* | :heavy_check_mark: | N/A | +| `serviceType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyfour.md b/docs/models/onehundredandfiftyfour.md index a90d5483d7..b2b92f9a1e 100644 --- a/docs/models/onehundredandfiftyfour.md +++ b/docs/models/onehundredandfiftyfour.md @@ -5,26 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyFour } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyFour } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyFour = { - id: "", + domainId: "", name: "", - nameservers: [ - "", - "", - ], - previousServiceType: "", - serviceType: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `nameservers` | *string*[] | :heavy_check_mark: | N/A | -| `previousServiceType` | *string* | :heavy_check_mark: | N/A | -| `serviceType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domainId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftynine.md b/docs/models/onehundredandfiftynine.md index 897f988114..44338b25ca 100644 --- a/docs/models/onehundredandfiftynine.md +++ b/docs/models/onehundredandfiftynine.md @@ -5,21 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyNine = { domain: "frizzy-intellect.biz", - initiator: "system", zone: true, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `initiator` | [models.PayloadInitiator](../models/payloadinitiator.md) | :heavy_check_mark: | N/A | -| `previousZone` | *boolean* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_minus_sign: | N/A | -| `zone` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `zone` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyone.md b/docs/models/onehundredandfiftyone.md index e048e5f686..a3a697d13a 100644 --- a/docs/models/onehundredandfiftyone.md +++ b/docs/models/onehundredandfiftyone.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyOne = { + cdnEnabled: false, name: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `newTeam` | [models.UserEventPayload151NewTeam](../models/usereventpayload151newteam.md) | :heavy_minus_sign: | N/A | -| `oldTeam` | [models.UserEventPayload151OldTeam](../models/usereventpayload151oldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `cdnEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyseven.md b/docs/models/onehundredandfiftyseven.md index 23717c33c8..f6b6d6cdf3 100644 --- a/docs/models/onehundredandfiftyseven.md +++ b/docs/models/onehundredandfiftyseven.md @@ -5,19 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftySeven } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftySeven = { domain: "palatable-dash.info", - echMode: "disabled", - previousEchMode: "disabled", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `echMode` | [models.EchMode](../models/echmode.md) | :heavy_check_mark: | N/A | -| `previousEchMode` | [models.PreviousEchMode](../models/previousechmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftysix.md b/docs/models/onehundredandfiftysix.md index b903104849..3afcd9821b 100644 --- a/docs/models/onehundredandfiftysix.md +++ b/docs/models/onehundredandfiftysix.md @@ -5,15 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftySix } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftySix } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftySix = { - domain: "sour-knuckle.name", + customNameservers: [ + "", + "", + ], + domain: "precious-pharmacopoeia.net", + prevCustomNameservers: null, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `customNameservers` | *string*[] | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `prevCustomNameservers` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftythree.md b/docs/models/onehundredandfiftythree.md index df2d5c79ed..a7bfdc03ba 100644 --- a/docs/models/onehundredandfiftythree.md +++ b/docs/models/onehundredandfiftythree.md @@ -5,11 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyThree } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyThree } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyThree = { - domainId: "", name: "", + ownerName: "", + teamId: "", + userId: "", }; ``` @@ -17,5 +19,7 @@ let value: OneHundredAndFiftyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `domainId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | +| `ownerName` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftytwo.md b/docs/models/onehundredandfiftytwo.md index aac8d1414b..a2d32a177f 100644 --- a/docs/models/onehundredandfiftytwo.md +++ b/docs/models/onehundredandfiftytwo.md @@ -5,21 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFiftyTwo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFiftyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFiftyTwo = { name: "", - ownerName: "", - teamId: "", - userId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `ownerName` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `newTeam` | [models.UserEventPayload152NewTeam](../models/usereventpayload152newteam.md) | :heavy_minus_sign: | N/A | +| `oldTeam` | [models.UserEventPayload152OldTeam](../models/usereventpayload152oldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfive.md b/docs/models/onehundredandfive.md index c8ba92fb25..eb0e84ea04 100644 --- a/docs/models/onehundredandfive.md +++ b/docs/models/onehundredandfive.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFive } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndFive } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndFive = { - dst: "", - src: "", + id: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `dst` | *string* | :heavy_check_mark: | N/A | -| `src` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `newTeam` | [models.PayloadNewTeam](../models/payloadnewteam.md) | :heavy_minus_sign: | N/A | +| `oldTeam` | [models.PayloadOldTeam](../models/payloadoldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandforty.md b/docs/models/onehundredandforty.md index ae6b3537c9..abb6bb016a 100644 --- a/docs/models/onehundredandforty.md +++ b/docs/models/onehundredandforty.md @@ -5,23 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndForty } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndForty } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndForty = { - projectName: "", - ruleName: "gitSources", - ruleProvenance: "project", - source: "", + deployment: { + id: "", + meta: { + "key": "", + "key1": "", + }, + name: "", + url: "https://rotating-rust.com", + }, + deploymentId: "", + url: "https://avaricious-remark.name/", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentId` | *string* | :heavy_minus_sign: | The blocked deployment's id (e.g. `dpl_…`). When present, the message links it to the deployment details (inspector) page. Optional so events emitted before this field was added still render. | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `ruleName` | [models.RuleName](../models/rulename.md) | :heavy_check_mark: | Which rule blocked the deploy. | -| `ruleProvenance` | [models.RuleProvenance](../models/ruleprovenance.md) | :heavy_check_mark: | Team-level or project-level rule. | -| `source` | *string* | :heavy_check_mark: | Classified deploy source, e.g. 'cli', 'git', 'integration'. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `deployment` | [models.UserEventPayload140Deployment](../models/usereventpayload140deployment.md) | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyeight.md b/docs/models/onehundredandfortyeight.md index 70b31aa9e7..9409a4ab77 100644 --- a/docs/models/onehundredandfortyeight.md +++ b/docs/models/onehundredandfortyeight.md @@ -5,10 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyEight = { + domain: "enchanted-colon.name", + id: "", name: "", + type: "", + value: "", }; ``` @@ -16,5 +20,8 @@ let value: OneHundredAndFortyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `zone` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `type` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyfive.md b/docs/models/onehundredandfortyfive.md index 99fb0af8f0..17ede58423 100644 --- a/docs/models/onehundredandfortyfive.md +++ b/docs/models/onehundredandfortyfive.md @@ -5,14 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyFive } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyFive } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyFive = { - domain: "round-majority.net", - id: "", - name: "", - type: "", - value: "", + configurationId: "", + integrationId: "", + integrationName: "", + integrationSlug: "", + ownerId: "", }; ``` @@ -20,9 +20,9 @@ let value: OneHundredAndFortyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `mxPriority` | *number* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyfour.md b/docs/models/onehundredandfortyfour.md index 0321a09c9e..8f3d9806c9 100644 --- a/docs/models/onehundredandfortyfour.md +++ b/docs/models/onehundredandfortyfour.md @@ -5,14 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyFour } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyFour } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyFour = { - configurationId: "", - integrationId: "", - integrationName: "", - integrationSlug: "", - ownerId: "", + deploymentId: "", + deploymentName: "", + deploymentUrl: null, + projectId: "", + projectName: "", }; ``` @@ -20,9 +20,8 @@ let value: OneHundredAndFortyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `deploymentName` | *string* | :heavy_check_mark: | N/A | +| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortynine.md b/docs/models/onehundredandfortynine.md index 27cf042909..2eae261434 100644 --- a/docs/models/onehundredandfortynine.md +++ b/docs/models/onehundredandfortynine.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyNine = { name: "", - price: 4364.9, }; ``` @@ -17,6 +16,5 @@ let value: OneHundredAndFortyNine = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `currency` | *string* | :heavy_minus_sign: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `price` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| `zone` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyone.md b/docs/models/onehundredandfortyone.md index bd79199ea3..c17f6ce7bc 100644 --- a/docs/models/onehundredandfortyone.md +++ b/docs/models/onehundredandfortyone.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyOne = { - mode: null, - previousMode: "none", - scope: "organization", + projectName: "", + ruleName: "deploymentSources", + ruleProvenance: "project", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `mode` | [models.UserEventPayloadMode](../models/usereventpayloadmode.md) | :heavy_check_mark: | N/A | -| `previousMode` | [models.PreviousMode](../models/previousmode.md) | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayload141Scope](../models/usereventpayload141scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deploymentId` | *string* | :heavy_minus_sign: | The blocked deployment's id (e.g. `dpl_…`). When present, the message links it to the deployment details (inspector) page. Optional so events emitted before this field was added still render. | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `ruleName` | [models.RuleName](../models/rulename.md) | :heavy_check_mark: | Which rule blocked the deploy. | +| `ruleProvenance` | [models.RuleProvenance](../models/ruleprovenance.md) | :heavy_check_mark: | Team-level or project-level rule. | +| `source` | *string* | :heavy_check_mark: | Classified deploy source, e.g. 'cli', 'git', 'integration'. | \ No newline at end of file diff --git a/docs/models/onehundredandfortyseven.md b/docs/models/onehundredandfortyseven.md index 13ef2ede25..a66c4bb794 100644 --- a/docs/models/onehundredandfortyseven.md +++ b/docs/models/onehundredandfortyseven.md @@ -5,11 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortySeven } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortySeven = { - domain: "valuable-vista.info", + action: "update", + domain: "winding-hovercraft.com", id: "", + initiator: "system", name: "", type: "", value: "", @@ -18,10 +20,15 @@ let value: OneHundredAndFortySeven = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload147Action](../models/usereventpayload147action.md) | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `initiator` | [models.Initiator](../models/initiator.md) | :heavy_check_mark: | N/A | +| `mxPriority` | *number* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `previousValue` | *string* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_minus_sign: | N/A | +| `type` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortysix.md b/docs/models/onehundredandfortysix.md index 9f2176dc39..64a3713ce6 100644 --- a/docs/models/onehundredandfortysix.md +++ b/docs/models/onehundredandfortysix.md @@ -5,13 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortySix } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortySix } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortySix = { - action: "delete", - domain: "cloudy-toaster.name", + domain: "puny-case.org", id: "", - initiator: "user", name: "", type: "", value: "", @@ -20,15 +18,11 @@ let value: OneHundredAndFortySix = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload146Action](../models/usereventpayload146action.md) | :heavy_check_mark: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `initiator` | [models.Initiator](../models/initiator.md) | :heavy_check_mark: | N/A | -| `mxPriority` | *number* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `previousValue` | *string* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_minus_sign: | N/A | -| `type` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `mxPriority` | *number* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `type` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortythree.md b/docs/models/onehundredandfortythree.md index a23c9dee03..8f2138f7c2 100644 --- a/docs/models/onehundredandfortythree.md +++ b/docs/models/onehundredandfortythree.md @@ -5,23 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyThree } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyThree } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyThree = { - deploymentId: "", - deploymentName: "", - deploymentUrl: "https://afraid-requirement.info/", - projectId: "", - projectName: "", + mode: "all", + previousMode: "email-domain", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `deploymentName` | *string* | :heavy_check_mark: | N/A | -| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `mode` | [models.UserEventPayload143Mode](../models/usereventpayload143mode.md) | :heavy_check_mark: | N/A | +| `previousMode` | [models.PayloadPreviousMode](../models/payloadpreviousmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortytwo.md b/docs/models/onehundredandfortytwo.md index 864ffcf144..350408e75a 100644 --- a/docs/models/onehundredandfortytwo.md +++ b/docs/models/onehundredandfortytwo.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFortyTwo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndFortyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndFortyTwo = { - mode: "all", - previousMode: "all", + mode: "none", + previousMode: "none", + scope: "organization", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `mode` | [models.UserEventPayload142Mode](../models/usereventpayload142mode.md) | :heavy_check_mark: | N/A | -| `previousMode` | [models.PayloadPreviousMode](../models/payloadpreviousmode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `mode` | [models.UserEventPayloadMode](../models/usereventpayloadmode.md) | :heavy_check_mark: | N/A | +| `previousMode` | [models.PreviousMode](../models/previousmode.md) | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload142Scope](../models/usereventpayload142scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfour.md b/docs/models/onehundredandfour.md index 9844d262ba..f8f2562c48 100644 --- a/docs/models/onehundredandfour.md +++ b/docs/models/onehundredandfour.md @@ -5,17 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFour } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndFour } from "@vercel/sdk/models/eightytwo.js"; -let value: OneHundredAndFour = { - id: "", -}; +let value: OneHundredAndFour = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `newTeam` | [models.PayloadNewTeam](../models/payloadnewteam.md) | :heavy_minus_sign: | N/A | -| `oldTeam` | [models.PayloadOldTeam](../models/payloadoldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `cn` | *string* | :heavy_minus_sign: | N/A | +| `cns` | *string*[] | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfourteen.md b/docs/models/onehundredandfourteen.md index a6b5811efd..0fff0e078c 100644 --- a/docs/models/onehundredandfourteen.md +++ b/docs/models/onehundredandfourteen.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndFourteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndFourteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndFourteen = { configuration: { @@ -23,10 +23,9 @@ let value: OneHundredAndFourteen = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `configuration` | [models.UserEventPayloadConfiguration](../models/usereventpayloadconfiguration.md) | :heavy_check_mark: | N/A | -| `passive` | *boolean* | :heavy_minus_sign: | N/A | -| `project` | [models.UserEventPayload114Project](../models/usereventpayload114project.md) | :heavy_check_mark: | N/A | -| `team` | [models.PayloadTeam](../models/payloadteam.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `configuration` | [models.PayloadConfiguration](../models/payloadconfiguration.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload114Project](../models/usereventpayload114project.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload114Team](../models/usereventpayload114team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandnine.md b/docs/models/onehundredandnine.md index 91e59e2013..ded22d92f8 100644 --- a/docs/models/onehundredandnine.md +++ b/docs/models/onehundredandnine.md @@ -5,27 +5,30 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNine } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndNine } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndNine = { + actorAccountId: 9937.79, + actorLogin: "", gitOwnerName: "", gitRepositoryName: "", - next: { - autoAddReviewers: false, - enabled: false, - }, - previous: { - autoAddReviewers: true, - enabled: true, - }, + headSha: "", + prNumber: 4098.04, + reviewUrl: "https://nifty-dividend.com/", + team: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `gitOwnerName` | *string* | :heavy_check_mark: | N/A | -| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | -| `next` | [models.PayloadNext](../models/payloadnext.md) | :heavy_check_mark: | N/A | -| `previous` | [models.PayloadPrevious](../models/payloadprevious.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `actorAccountId` | *number* | :heavy_check_mark: | Stable GitHub user id. | +| `actorLogin` | *string* | :heavy_check_mark: | Display name only. Logins are mutable; join on `actorAccountId`. | +| `gitOwnerName` | *string* | :heavy_check_mark: | N/A | +| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | +| `headSha` | *string* | :heavy_check_mark: | N/A | +| `isAuthor` | *boolean* | :heavy_minus_sign: | The actor opted in on their own pull request instead of approving it. | +| `prNumber` | *number* | :heavy_check_mark: | N/A | +| `reviewUrl` | *string* | :heavy_check_mark: | N/A | +| `team` | *string* | :heavy_check_mark: | The `:must-assume` team the approval counted for, e.g. "vercel/leads". | \ No newline at end of file diff --git a/docs/models/onehundredandnineteen.md b/docs/models/onehundredandnineteen.md index 4a88947c7a..1c7b84e41c 100644 --- a/docs/models/onehundredandnineteen.md +++ b/docs/models/onehundredandnineteen.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNineteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndNineteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndNineteen = { githubLogin: "", - host: "friendly-laughter.net", }; ``` @@ -17,5 +16,4 @@ let value: OneHundredAndNineteen = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `githubLogin` | *string* | :heavy_check_mark: | N/A | -| `host` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `githubLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninety.md b/docs/models/onehundredandninety.md index 37f6a92596..50e63a6e73 100644 --- a/docs/models/onehundredandninety.md +++ b/docs/models/onehundredandninety.md @@ -5,27 +5,53 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinety } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndNinety } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndNinety = { - envId: "", - envKey: "", - organizationId: "", - provider: "", - repository: "", + created: new Date("2021-02-10T13:11:49.180Z"), + createdAt: 1609492210000, + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedAt: 1609492210000, + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], target: [ - "development", + "production", ], + type: "encrypted", + updatedAt: 1609492210000, + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `envId` | *string* | :heavy_check_mark: | N/A | -| `envKey` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `provider` | *string* | :heavy_check_mark: | N/A | -| `repository` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.UserEventPayload190Target](../models/usereventpayload190target.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | The custom environment IDs that this Shared Env Var is scoped to. | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | +| `lastEditedByPrincipal` | *models.LastEditedByPrincipal* | :heavy_minus_sign: | N/A | | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `target` | [models.UserEventPayload190Target](../models/usereventpayload190target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `type` | [models.PayloadType](../models/payloadtype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `ipAddress` | *string* | :heavy_minus_sign: | N/A | | +| `projectNames` | *string*[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/onehundredandninetyeight.md b/docs/models/onehundredandninetyeight.md index 131e0faf2b..cd0b46d694 100644 --- a/docs/models/onehundredandninetyeight.md +++ b/docs/models/onehundredandninetyeight.md @@ -5,19 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyEight } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetyEight = { + configChangeCount: 1920.87, + configChanges: [], + configVersion: 4924.82, projectId: "", - ruleGroups: {}, - rulesetName: "", + restore: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `ruleGroups` | Record | :heavy_check_mark: | N/A | -| `rulesetName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `configChangeCount` | *number* | :heavy_check_mark: | N/A | +| `configChanges` | [models.PayloadConfigChanges](../models/payloadconfigchanges.md)[] | :heavy_check_mark: | N/A | +| `configVersion` | *number* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `restore` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetyfive.md b/docs/models/onehundredandninetyfive.md index fc2730b65c..b6b7148312 100644 --- a/docs/models/onehundredandninetyfive.md +++ b/docs/models/onehundredandninetyfive.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyFive } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetyFive = { configVersion: 6882.62, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `configVersion` | *models.PayloadConfigVersion* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `configVersion` | *models.ConfigVersion* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetyfour.md b/docs/models/onehundredandninetyfour.md index 248f7dfcf7..ad734d5df7 100644 --- a/docs/models/onehundredandninetyfour.md +++ b/docs/models/onehundredandninetyfour.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyFour } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetyFour = { - configVersion: "", projectId: "", - projectName: "", + scope: "", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `configVersion` | *models.ConfigVersion* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `scope` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetynine.md b/docs/models/onehundredandninetynine.md index 7964adbf4b..b39db65717 100644 --- a/docs/models/onehundredandninetynine.md +++ b/docs/models/onehundredandninetynine.md @@ -5,20 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyNine } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetyNine = { - active: true, projectId: "", + ruleGroups: {}, rulesetName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload199Action](../models/usereventpayload199action.md) | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `rulesetName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `ruleGroups` | Record | :heavy_check_mark: | N/A | +| `rulesetName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetyone.md b/docs/models/onehundredandninetyone.md index 5d4eb9598f..515abde7a3 100644 --- a/docs/models/onehundredandninetyone.md +++ b/docs/models/onehundredandninetyone.md @@ -5,56 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndNinetyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndNinetyOne = { - newEnvVar: { - created: new Date("2021-02-10T13:11:49.180Z"), - createdAt: 1609492210000, - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedAt: 1609492210000, - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - target: [ - "production", - ], - type: "encrypted", - updatedAt: 1609492210000, - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - }, - oldEnvVar: { - created: new Date("2021-02-10T13:11:49.180Z"), - createdAt: 1609492210000, - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedAt: 1609492210000, - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - target: [ - "production", - ], - type: "encrypted", - updatedAt: 1609492210000, - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - }, + envId: "", + envKey: "", + organizationId: "", + provider: "", + repository: "", + target: [ + "preview", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `newEnvVar` | [models.NewEnvVar](../models/newenvvar.md) | :heavy_minus_sign: | N/A | -| `oldEnvVar` | [models.OldEnvVar](../models/oldenvvar.md) | :heavy_minus_sign: | N/A | -| `updateDiff` | [models.PayloadUpdateDiff](../models/payloadupdatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `envId` | *string* | :heavy_check_mark: | N/A | +| `envKey` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `provider` | *string* | :heavy_check_mark: | N/A | +| `repository` | *string* | :heavy_check_mark: | N/A | +| `target` | [models.UserEventPayload191Target](../models/usereventpayload191target.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetyseven.md b/docs/models/onehundredandninetyseven.md index 5691aea5bc..20d1f091ea 100644 --- a/docs/models/onehundredandninetyseven.md +++ b/docs/models/onehundredandninetyseven.md @@ -5,24 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetySeven } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetySeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetySeven = { - configChangeCount: 4561.61, - configChanges: [], - configVersion: 749.02, - projectId: "", - restore: true, + configVersion: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `configChangeCount` | *number* | :heavy_check_mark: | N/A | -| `configChanges` | [models.PayloadConfigChanges](../models/payloadconfigchanges.md)[] | :heavy_check_mark: | N/A | -| `configVersion` | *number* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `restore` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `configChangeCount` | *number* | :heavy_minus_sign: | N/A | +| `configChanges` | [models.ConfigChanges](../models/configchanges.md)[] | :heavy_minus_sign: | N/A | +| `configVersion` | *models.UserEventPayloadConfigVersion* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetysix.md b/docs/models/onehundredandninetysix.md index b25379fd79..5afbd4198b 100644 --- a/docs/models/onehundredandninetysix.md +++ b/docs/models/onehundredandninetysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetySix } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetySix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetySix = { configVersion: 454.53, @@ -14,8 +14,6 @@ let value: OneHundredAndNinetySix = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `configChangeCount` | *number* | :heavy_minus_sign: | N/A | -| `configChanges` | [models.ConfigChanges](../models/configchanges.md)[] | :heavy_minus_sign: | N/A | -| `configVersion` | *models.UserEventPayloadConfigVersion* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `configVersion` | *models.PayloadConfigVersion* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetythree.md b/docs/models/onehundredandninetythree.md index 9f95b411f7..1a6aed331e 100644 --- a/docs/models/onehundredandninetythree.md +++ b/docs/models/onehundredandninetythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyThree } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: OneHundredAndNinetyThree = { projectId: "", @@ -18,6 +18,7 @@ let value: OneHundredAndNinetyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `expiresAt` | *number* | :heavy_minus_sign: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `scope` | *string* | :heavy_check_mark: | N/A | | `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandninetytwo.md b/docs/models/onehundredandninetytwo.md index 52ff6e6a73..948ea4565e 100644 --- a/docs/models/onehundredandninetytwo.md +++ b/docs/models/onehundredandninetytwo.md @@ -5,20 +5,56 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndNinetyTwo } from "@vercel/sdk/models/newprojects.js"; +import { OneHundredAndNinetyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndNinetyTwo = { - projectId: "", - scope: "", - source: "", + newEnvVar: { + created: new Date("2021-02-10T13:11:49.180Z"), + createdAt: 1609492210000, + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedAt: 1609492210000, + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + target: [ + "production", + ], + type: "encrypted", + updatedAt: 1609492210000, + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + }, + oldEnvVar: { + created: new Date("2021-02-10T13:11:49.180Z"), + createdAt: 1609492210000, + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedAt: 1609492210000, + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + target: [ + "production", + ], + type: "encrypted", + updatedAt: 1609492210000, + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `expiresAt` | *number* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `scope` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `newEnvVar` | [models.NewEnvVar](../models/newenvvar.md) | :heavy_minus_sign: | N/A | +| `oldEnvVar` | [models.OldEnvVar](../models/oldenvvar.md) | :heavy_minus_sign: | N/A | +| `updateDiff` | [models.PayloadUpdateDiff](../models/payloadupdatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandone.md b/docs/models/onehundredandone.md index 21e3c6838e..acc53c581f 100644 --- a/docs/models/onehundredandone.md +++ b/docs/models/onehundredandone.md @@ -5,18 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndOne } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndOne } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndOne = { - custom: true, + project: { + id: "", + name: "", + }, + versionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `cn` | *string* | :heavy_minus_sign: | N/A | -| `cns` | *string*[] | :heavy_minus_sign: | N/A | -| `custom` | *boolean* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload101Project](../models/usereventpayload101project.md) | :heavy_check_mark: | N/A | +| `versionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseven.md b/docs/models/onehundredandseven.md index 99ca19967d..d7c6500cad 100644 --- a/docs/models/onehundredandseven.md +++ b/docs/models/onehundredandseven.md @@ -5,9 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeven } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndSeven } from "@vercel/sdk/models/eightytwo.js"; -let value: OneHundredAndSeven = {}; +let value: OneHundredAndSeven = { + id: "", +}; ``` ## Fields @@ -15,4 +17,5 @@ let value: OneHundredAndSeven = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `cn` | *string* | :heavy_minus_sign: | N/A | -| `cns` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `cns` | *string*[] | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventeen.md b/docs/models/onehundredandseventeen.md index 6981705fb3..b837822f6f 100644 --- a/docs/models/onehundredandseventeen.md +++ b/docs/models/onehundredandseventeen.md @@ -5,16 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventeen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndSeventeen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndSeventeen = { - githubLogin: "", + configuration: { + id: "", + }, + newName: "", + team: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `githubLogin` | *string* | :heavy_check_mark: | N/A | -| `host` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `configuration` | [models.UserEventPayload117Configuration](../models/usereventpayload117configuration.md) | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload117Team](../models/usereventpayload117team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventy.md b/docs/models/onehundredandseventy.md index 70514fd5c7..316ef1c71a 100644 --- a/docs/models/onehundredandseventy.md +++ b/docs/models/onehundredandseventy.md @@ -5,14 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventy } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventy } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventy = { + driveName: "", projectId: "", projectName: "", - srcImages: [ - "", - ], + region: "", + snapshotId: "", + snapshotName: "", }; ``` @@ -20,6 +21,9 @@ let value: OneHundredAndSeventy = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `driveName` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `srcImages` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `region` | *string* | :heavy_check_mark: | N/A | +| `snapshotId` | *string* | :heavy_check_mark: | N/A | +| `snapshotName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventyeight.md b/docs/models/onehundredandseventyeight.md index 5d04b2d088..46f60cc5bc 100644 --- a/docs/models/onehundredandseventyeight.md +++ b/docs/models/onehundredandseventyeight.md @@ -5,28 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyEight = { - edgeConfig: { - id: "", - slug: "", - }, - fromAccount: { - id: "", - type: "user", - }, - toAccount: { - id: "", - type: "team", - }, + edgeConfigId: "", + edgeConfigSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `edgeConfig` | [models.EdgeConfig](../models/edgeconfig.md) | :heavy_check_mark: | N/A | -| `fromAccount` | [models.FromAccount](../models/fromaccount.md) | :heavy_check_mark: | N/A | -| `toAccount` | [models.ToAccount](../models/toaccount.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `edgeConfigDigest` | *string* | :heavy_minus_sign: | N/A | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventyfive.md b/docs/models/onehundredandseventyfive.md index c5c9adda4e..9bd03f0a94 100644 --- a/docs/models/onehundredandseventyfive.md +++ b/docs/models/onehundredandseventyfive.md @@ -5,21 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyFive } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyFive } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyFive = { edgeConfigDigest: "", edgeConfigId: "", edgeConfigSlug: "", - edgeConfigBackupVersionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigBackupVersionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventyfour.md b/docs/models/onehundredandseventyfour.md index 0de9739fd8..4a500e1ecd 100644 --- a/docs/models/onehundredandseventyfour.md +++ b/docs/models/onehundredandseventyfour.md @@ -5,12 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyFour } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyFour } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyFour = { - edgeConfigDigest: "", - edgeConfigId: "", - edgeConfigSlug: "", + projectId: "", + projectName: "", }; ``` @@ -18,6 +17,5 @@ let value: OneHundredAndSeventyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventynine.md b/docs/models/onehundredandseventynine.md index 2f35618f63..0f49b5409e 100644 --- a/docs/models/onehundredandseventynine.md +++ b/docs/models/onehundredandseventynine.md @@ -5,21 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyNine = { - edgeConfigId: "", - edgeConfigSlug: "", - edgeConfigTokenId: "", - label: "", + edgeConfig: { + id: "", + slug: "", + }, + fromAccount: { + id: "", + type: "user", + }, + toAccount: { + id: "", + type: "user", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `edgeConfig` | [models.EdgeConfig](../models/edgeconfig.md) | :heavy_check_mark: | N/A | +| `fromAccount` | [models.FromAccount](../models/fromaccount.md) | :heavy_check_mark: | N/A | +| `toAccount` | [models.ToAccount](../models/toaccount.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventyone.md b/docs/models/onehundredandseventyone.md index e1b227ca2a..11214cfe2a 100644 --- a/docs/models/onehundredandseventyone.md +++ b/docs/models/onehundredandseventyone.md @@ -5,12 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyOne = { projectId: "", projectName: "", - tags: [], + srcImages: [], }; ``` @@ -20,5 +20,4 @@ let value: OneHundredAndSeventyOne = { | ------------------ | ------------------ | ------------------ | ------------------ | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `tags` | *string*[] | :heavy_check_mark: | N/A | -| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `srcImages` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventyseven.md b/docs/models/onehundredandseventyseven.md index 1ce1d0c771..13e2e476a7 100644 --- a/docs/models/onehundredandseventyseven.md +++ b/docs/models/onehundredandseventyseven.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventySeven } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventySeven = { edgeConfigId: "", @@ -15,8 +15,8 @@ let value: OneHundredAndSeventySeven = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `edgeConfigDigest` | *string* | :heavy_minus_sign: | N/A | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSchema` | [models.EdgeConfigSchema](../models/edgeconfigschema.md) | :heavy_minus_sign: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventysix.md b/docs/models/onehundredandseventysix.md index 6c061560fc..4858293a17 100644 --- a/docs/models/onehundredandseventysix.md +++ b/docs/models/onehundredandseventysix.md @@ -5,18 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventySix } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventySix } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventySix = { + edgeConfigDigest: "", edgeConfigId: "", edgeConfigSlug: "", + edgeConfigBackupVersionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSchema` | [models.EdgeConfigSchema](../models/edgeconfigschema.md) | :heavy_minus_sign: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigBackupVersionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventythree.md b/docs/models/onehundredandseventythree.md index 0837083237..147622b0b4 100644 --- a/docs/models/onehundredandseventythree.md +++ b/docs/models/onehundredandseventythree.md @@ -5,9 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyThree } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyThree } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyThree = { + path: "/selinux", projectId: "", projectName: "", }; @@ -17,5 +18,6 @@ let value: OneHundredAndSeventyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseventytwo.md b/docs/models/onehundredandseventytwo.md index a0cd391d50..d24c861f83 100644 --- a/docs/models/onehundredandseventytwo.md +++ b/docs/models/onehundredandseventytwo.md @@ -5,12 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSeventyTwo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSeventyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSeventyTwo = { - path: "/private/tmp", projectId: "", projectName: "", + tags: [ + "", + ], }; ``` @@ -18,6 +20,7 @@ let value: OneHundredAndSeventyTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `tags` | *string*[] | :heavy_check_mark: | N/A | +| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsix.md b/docs/models/onehundredandsix.md index 0d02c7900c..ded293d571 100644 --- a/docs/models/onehundredandsix.md +++ b/docs/models/onehundredandsix.md @@ -5,10 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSix } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndSix } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndSix = { - id: "", + dst: "", + src: "", }; ``` @@ -16,6 +17,5 @@ let value: OneHundredAndSix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `cn` | *string* | :heavy_minus_sign: | N/A | -| `cns` | *string*[] | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `dst` | *string* | :heavy_check_mark: | N/A | +| `src` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixteen.md b/docs/models/onehundredandsixteen.md index f42cac872f..728f33b2b1 100644 --- a/docs/models/onehundredandsixteen.md +++ b/docs/models/onehundredandsixteen.md @@ -5,13 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndSixteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndSixteen = { configuration: { id: "", }, - newName: "", + project: { + id: "", + }, team: { id: "", name: "", @@ -24,5 +26,5 @@ let value: OneHundredAndSixteen = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `configuration` | [models.UserEventPayload116Configuration](../models/usereventpayload116configuration.md) | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload116Team](../models/usereventpayload116team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload116Project](../models/usereventpayload116project.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayloadTeam](../models/usereventpayloadteam.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixty.md b/docs/models/onehundredandsixty.md index 0a06254f44..6bea94430a 100644 --- a/docs/models/onehundredandsixty.md +++ b/docs/models/onehundredandsixty.md @@ -5,19 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixty } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixty } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixty = { - fromId: "", - fromName: null, - name: "", + domain: "sticky-antelope.name", + initiator: "user", + zone: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `fromId` | *string* | :heavy_check_mark: | N/A | -| `fromName` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `initiator` | [models.PayloadInitiator](../models/payloadinitiator.md) | :heavy_check_mark: | N/A | +| `previousZone` | *boolean* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_minus_sign: | N/A | +| `zone` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyeight.md b/docs/models/onehundredandsixtyeight.md index 4a33385876..11799836b9 100644 --- a/docs/models/onehundredandsixtyeight.md +++ b/docs/models/onehundredandsixtyeight.md @@ -5,13 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyEight = { - driveName: "", - projectId: "", - projectName: "", - region: "", + drainUrl: "https://swift-tuber.org", }; ``` @@ -19,7 +16,5 @@ let value: OneHundredAndSixtyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `driveName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `region` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `drainUrl` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyfive.md b/docs/models/onehundredandsixtyfive.md index 08fd60cb1c..de93a596e2 100644 --- a/docs/models/onehundredandsixtyfive.md +++ b/docs/models/onehundredandsixtyfive.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyFive } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyFive } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyFive = { name: "", @@ -16,4 +16,6 @@ let value: OneHundredAndSixtyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyfour.md b/docs/models/onehundredandsixtyfour.md index 1bc813c51f..25902e0bbc 100644 --- a/docs/models/onehundredandsixtyfour.md +++ b/docs/models/onehundredandsixtyfour.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyFour } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyFour } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyFour = { - name: "", + domain: "impressionable-tool.biz", }; ``` @@ -16,6 +16,5 @@ let value: OneHundredAndSixtyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `currency` | *string* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `domain` | *string* | :heavy_check_mark: | N/A | +| `renew` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtynine.md b/docs/models/onehundredandsixtynine.md index c29d09177c..d26d72c8a0 100644 --- a/docs/models/onehundredandsixtynine.md +++ b/docs/models/onehundredandsixtynine.md @@ -5,15 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyNine = { driveName: "", projectId: "", projectName: "", region: "", - snapshotId: "", - snapshotName: "", }; ``` @@ -24,6 +22,4 @@ let value: OneHundredAndSixtyNine = { | `driveName` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `region` | *string* | :heavy_check_mark: | N/A | -| `snapshotId` | *string* | :heavy_check_mark: | N/A | -| `snapshotName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `region` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyone.md b/docs/models/onehundredandsixtyone.md index 690c974a48..4a47b6bde2 100644 --- a/docs/models/onehundredandsixtyone.md +++ b/docs/models/onehundredandsixtyone.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyOne } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyOne } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyOne = { - destinationId: "", - destinationName: "", + fromId: "", + fromName: "", name: "", }; ``` @@ -18,6 +18,6 @@ let value: OneHundredAndSixtyOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `destinationId` | *string* | :heavy_check_mark: | N/A | -| `destinationName` | *string* | :heavy_check_mark: | N/A | +| `fromId` | *string* | :heavy_check_mark: | N/A | +| `fromName` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyseven.md b/docs/models/onehundredandsixtyseven.md index f73ec10ecc..efc6ed9e0f 100644 --- a/docs/models/onehundredandsixtyseven.md +++ b/docs/models/onehundredandsixtyseven.md @@ -5,10 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtySeven } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtySeven = { - drainUrl: "https://familiar-violin.biz", + drainName: "", + drainUrl: "https://willing-defendant.info/", }; ``` @@ -16,5 +17,7 @@ let value: OneHundredAndSixtySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `drainName` | *string* | :heavy_check_mark: | N/A | | `drainUrl` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | | `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtysix.md b/docs/models/onehundredandsixtysix.md index 2a5a5b616e..e8b203cc5b 100644 --- a/docs/models/onehundredandsixtysix.md +++ b/docs/models/onehundredandsixtysix.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtySix } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtySix } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtySix = { - drainName: "", - drainUrl: "https://fussy-runway.info/", + name: "", }; ``` @@ -17,7 +16,4 @@ let value: OneHundredAndSixtySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `drainName` | *string* | :heavy_check_mark: | N/A | -| `drainUrl` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtythree.md b/docs/models/onehundredandsixtythree.md index 314b5197f9..800871f018 100644 --- a/docs/models/onehundredandsixtythree.md +++ b/docs/models/onehundredandsixtythree.md @@ -5,10 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyThree } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyThree } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyThree = { - domain: "decent-hello.biz", + destinationId: "", + destinationName: "", + name: "", }; ``` @@ -16,5 +18,6 @@ let value: OneHundredAndSixtyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `renew` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `destinationId` | *string* | :heavy_check_mark: | N/A | +| `destinationName` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtytwo.md b/docs/models/onehundredandsixtytwo.md index bf86521415..aec1a095fe 100644 --- a/docs/models/onehundredandsixtytwo.md +++ b/docs/models/onehundredandsixtytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndSixtyTwo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndSixtyTwo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndSixtyTwo = { destinationId: "", diff --git a/docs/models/onehundredandten.md b/docs/models/onehundredandten.md index 8452d5fd42..adf538a7e3 100644 --- a/docs/models/onehundredandten.md +++ b/docs/models/onehundredandten.md @@ -5,21 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTen = { - documentId: "", - fingerprint: "", - slug: "", - title: "", + gitOwnerName: "", + gitRepositoryName: "", + next: { + autoAddReviewers: true, + enabled: false, + }, + previous: { + autoAddReviewers: false, + enabled: true, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `documentId` | *string* | :heavy_check_mark: | N/A | -| `fingerprint` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `title` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `gitOwnerName` | *string* | :heavy_check_mark: | N/A | +| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | +| `next` | [models.PayloadNext](../models/payloadnext.md) | :heavy_check_mark: | N/A | +| `previous` | [models.PayloadPrevious](../models/payloadprevious.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirteen.md b/docs/models/onehundredandthirteen.md index bef630bb5f..74c8a4f11a 100644 --- a/docs/models/onehundredandthirteen.md +++ b/docs/models/onehundredandthirteen.md @@ -5,17 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirteen } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirteen } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirteen = { configuration: { id: "", - }, - project: { - id: "", - }, - team: { - id: "", name: "", }, }; @@ -23,9 +17,6 @@ let value: OneHundredAndThirteen = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `configuration` | [models.PayloadConfiguration](../models/payloadconfiguration.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload113Project](../models/usereventpayload113project.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload113Team](../models/usereventpayload113team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `configuration` | [models.Configuration](../models/configuration.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirty.md b/docs/models/onehundredandthirty.md index 16ad29da41..72c99f913a 100644 --- a/docs/models/onehundredandthirty.md +++ b/docs/models/onehundredandthirty.md @@ -5,23 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirty } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirty } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirty = { - oldSsoProtection: { + oldPasswordProtection: { deploymentType: "preview", }, - scope: "team", - ssoProtection: { - deploymentType: "all_except_custom_domains", + passwordProtection: { + deploymentType: "preview", }, + scope: "team", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `oldSsoProtection` | [models.OldSsoProtection](../models/oldssoprotection.md) | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayloadScope](../models/usereventpayloadscope.md) | :heavy_check_mark: | N/A | -| `ssoProtection` | [models.UserEventPayloadSsoProtection](../models/usereventpayloadssoprotection.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `oldPasswordProtection` | [models.OldPasswordProtection](../models/oldpasswordprotection.md) | :heavy_check_mark: | N/A | +| `passwordChanged` | *boolean* | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.UserEventPayloadPasswordProtection](../models/usereventpayloadpasswordprotection.md) | :heavy_check_mark: | N/A | +| `scope` | [models.PayloadScope](../models/payloadscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyeight.md b/docs/models/onehundredandthirtyeight.md index aa6b6d7e23..d41f163036 100644 --- a/docs/models/onehundredandthirtyeight.md +++ b/docs/models/onehundredandthirtyeight.md @@ -5,25 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtyEight } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndThirtyEight } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndThirtyEight = { - gitCommitterName: "", - gitUserPlatform: "", - projectName: "", - sha: "", - source: "", + url: "https://spanish-farmer.biz/", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `gitCommitterName` | *string* | :heavy_check_mark: | N/A | -| `gitUserPlatform` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reason` | [models.UserEventPayload138Reason](../models/usereventpayload138reason.md) | :heavy_minus_sign: | N/A | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `newTeam` | [models.UserEventPayloadNewTeam](../models/usereventpayloadnewteam.md) | :heavy_minus_sign: | N/A | +| `oldTeam` | [models.UserEventPayloadOldTeam](../models/usereventpayloadoldteam.md) | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyfive.md b/docs/models/onehundredandthirtyfive.md deleted file mode 100644 index 0b2aeadc9f..0000000000 --- a/docs/models/onehundredandthirtyfive.md +++ /dev/null @@ -1,31 +0,0 @@ -# OneHundredAndThirtyFive - -The payload of the event, if requested. - -## Example Usage - -```typescript -import { OneHundredAndThirtyFive } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: OneHundredAndThirtyFive = { - url: "https://slushy-mountain.name", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | -| `deployment` | [models.UserEventPayloadDeployment](../models/usereventpayloaddeployment.md) | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_minus_sign: | N/A | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | -| `gitCredentialSource` | [models.GitCredentialSource](../models/gitcredentialsource.md) | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `plan` | *string* | :heavy_minus_sign: | N/A | -| `project` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `regions` | *string*[] | :heavy_minus_sign: | N/A | -| `target` | *string* | :heavy_minus_sign: | N/A | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyfour.md b/docs/models/onehundredandthirtyfour.md new file mode 100644 index 0000000000..1956e2047f --- /dev/null +++ b/docs/models/onehundredandthirtyfour.md @@ -0,0 +1,25 @@ +# OneHundredAndThirtyFour + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { OneHundredAndThirtyFour } from "@vercel/sdk/models/eightytwo.js"; + +let value: OneHundredAndThirtyFour = { + checkId: "", + checkName: "", + projectId: "", + projectName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `checkId` | *string* | :heavy_check_mark: | N/A | +| `checkName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtynine.md b/docs/models/onehundredandthirtynine.md index 7b5b8e5179..d123f7c28b 100644 --- a/docs/models/onehundredandthirtynine.md +++ b/docs/models/onehundredandthirtynine.md @@ -5,29 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtyNine } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndThirtyNine } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: OneHundredAndThirtyNine = { - deployment: { - id: "", - meta: { - "key": "", - "key1": "", - "key2": "", - }, - name: "", - url: "https://some-tool.net/", - }, - deploymentId: "", - url: "https://bony-concentration.name", + gitCommitterName: "", + gitUserPlatform: "", + projectName: "", + sha: "", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `deployment` | [models.UserEventPayload139Deployment](../models/usereventpayload139deployment.md) | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `gitCommitterName` | *string* | :heavy_check_mark: | N/A | +| `gitUserPlatform` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `reason` | [models.UserEventPayload139Reason](../models/usereventpayload139reason.md) | :heavy_minus_sign: | N/A | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyone.md b/docs/models/onehundredandthirtyone.md index d05c86ed31..4c4d1534e8 100644 --- a/docs/models/onehundredandthirtyone.md +++ b/docs/models/onehundredandthirtyone.md @@ -5,21 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtyOne } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirtyOne } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirtyOne = { - hookName: "", - projectId: "", - projectName: "", - ref: "", + oldSsoProtection: { + deploymentType: "prod_deployment_urls_and_all_previews", + }, + scope: "organization", + ssoProtection: { + deploymentType: "prod_deployment_urls_and_all_previews", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `hookName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `ref` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `oldSsoProtection` | [models.OldSsoProtection](../models/oldssoprotection.md) | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayloadScope](../models/usereventpayloadscope.md) | :heavy_check_mark: | N/A | +| `ssoProtection` | [models.UserEventPayloadSsoProtection](../models/usereventpayloadssoprotection.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyseven.md b/docs/models/onehundredandthirtyseven.md index 1b09f90981..d4aae184d5 100644 --- a/docs/models/onehundredandthirtyseven.md +++ b/docs/models/onehundredandthirtyseven.md @@ -5,17 +5,33 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtySeven } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { OneHundredAndThirtySeven } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirtySeven = { - url: "https://concerned-knickers.net/", + job: { + headInfo: { + owner: "", + ref: "", + repoUuid: "", + sha: "", + slug: "", + }, + name: "", + owner: "", + prId: 1348.66, + provider: "bitbucket", + ref: "", + repoUuid: "", + sha: "", + slug: "", + type: "bitbucket-now-comment", + workspaceUuid: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `newTeam` | [models.UserEventPayloadNewTeam](../models/usereventpayloadnewteam.md) | :heavy_minus_sign: | N/A | -| `oldTeam` | [models.UserEventPayloadOldTeam](../models/usereventpayloadoldteam.md) | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `job` | *models.PayloadJob* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtysix.md b/docs/models/onehundredandthirtysix.md index b310f6b584..4ee19120e2 100644 --- a/docs/models/onehundredandthirtysix.md +++ b/docs/models/onehundredandthirtysix.md @@ -5,32 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtySix } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirtySix } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirtySix = { - job: { - headInfo: { - owner: "", - ref: "", - repoUuid: "", - sha: "", - slug: "", - }, - name: "", - owner: "", - provider: "bitbucket", - ref: "", - repoUuid: "", - sha: "", - slug: "", - type: "bitbucket-push", - workspaceUuid: "", - }, + url: "https://natural-verve.biz/", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `job` | *models.PayloadJob* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | +| `deployment` | [models.UserEventPayloadDeployment](../models/usereventpayloaddeployment.md) | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_minus_sign: | N/A | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | +| `gitCredentialSource` | [models.GitCredentialSource](../models/gitcredentialsource.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `plan` | *string* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `regions` | *string*[] | :heavy_minus_sign: | N/A | +| `target` | *string* | :heavy_minus_sign: | N/A | +| `type` | *string* | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtythree.md b/docs/models/onehundredandthirtythree.md index a2cdd56845..8b461e4f06 100644 --- a/docs/models/onehundredandthirtythree.md +++ b/docs/models/onehundredandthirtythree.md @@ -5,21 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtyThree } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirtyThree } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirtyThree = { - checkId: "", - checkName: "", - projectId: "", - projectName: "", + job: { + deployHook: { + createdAt: 3393.49, + id: "", + name: "", + ref: "", + }, + state: "North Carolina", + }, + project: { + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `checkId` | *string* | :heavy_check_mark: | N/A | -| `checkName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `job` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload133Project](../models/usereventpayload133project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtytwo.md b/docs/models/onehundredandthirtytwo.md index 7943dc9cb9..4febe4289c 100644 --- a/docs/models/onehundredandthirtytwo.md +++ b/docs/models/onehundredandthirtytwo.md @@ -5,27 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThirtyTwo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThirtyTwo } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndThirtyTwo = { - job: { - deployHook: { - createdAt: 3393.49, - id: "", - name: "", - ref: "", - }, - state: "Delaware", - }, - project: { - name: "", - }, + hookName: "", + projectId: "", + projectName: "", + ref: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `job` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload132Project](../models/usereventpayload132project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `hookName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `ref` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthree.md b/docs/models/onehundredandthree.md index 7f679d8e38..6a403fca6a 100644 --- a/docs/models/onehundredandthree.md +++ b/docs/models/onehundredandthree.md @@ -5,15 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndThree } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndThree } from "@vercel/sdk/models/eightytwo.js"; -let value: OneHundredAndThree = {}; +let value: OneHundredAndThree = { + cns: [ + "", + "", + ], + custom: false, + id: "", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `cn` | *string* | :heavy_minus_sign: | N/A | -| `cns` | *string*[] | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `cns` | *string*[] | :heavy_check_mark: | N/A | +| `custom` | *boolean* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwelve.md b/docs/models/onehundredandtwelve.md index 45285d0add..c9e5afa125 100644 --- a/docs/models/onehundredandtwelve.md +++ b/docs/models/onehundredandtwelve.md @@ -5,18 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwelve } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwelve } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwelve = { - configuration: { - id: "", - name: "", - }, + count: 712.14, + documents: [], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `configuration` | [models.Configuration](../models/configuration.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `count` | *number* | :heavy_check_mark: | N/A | +| `documents` | [models.Documents](../models/documents.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwenty.md b/docs/models/onehundredandtwenty.md index d2a364586f..9969ff017d 100644 --- a/docs/models/onehundredandtwenty.md +++ b/docs/models/onehundredandtwenty.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwenty } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwenty } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwenty = { - gitlabEmail: "", - gitlabLogin: "", + githubLogin: "", + host: "ashamed-bandwidth.com", }; ``` @@ -17,8 +17,5 @@ let value: OneHundredAndTwenty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | -| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | -| `gitlabName` | *string* | :heavy_minus_sign: | N/A | -| `zeitAccount` | *string* | :heavy_minus_sign: | N/A | -| `zeitAccountType` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `githubLogin` | *string* | :heavy_check_mark: | N/A | +| `host` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyeight.md b/docs/models/onehundredandtwentyeight.md index 54288c7d24..611bf453bb 100644 --- a/docs/models/onehundredandtwentyeight.md +++ b/docs/models/onehundredandtwentyeight.md @@ -5,9 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyEight } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyEight } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyEight = { + status: "", suffix: "", }; ``` @@ -16,4 +17,5 @@ let value: OneHundredAndTwentyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `status` | *string* | :heavy_check_mark: | N/A | | `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyfive.md b/docs/models/onehundredandtwentyfive.md index b37ce023b9..d4c57b338e 100644 --- a/docs/models/onehundredandtwentyfive.md +++ b/docs/models/onehundredandtwentyfive.md @@ -5,16 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyFive } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyFive } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyFive = { - metricName: "", + prevPurchasedAmount: 3414, + project: { + id: "", + name: "", + }, + purchasedAmount: 1765.07, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `metricName` | *string* | :heavy_check_mark: | N/A | -| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `prevPurchasedAmount` | *number* | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload125Project](../models/usereventpayload125project.md) | :heavy_check_mark: | N/A | +| `purchasedAmount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyfour.md b/docs/models/onehundredandtwentyfour.md index f352faeff8..6e4808476f 100644 --- a/docs/models/onehundredandtwentyfour.md +++ b/docs/models/onehundredandtwentyfour.md @@ -5,22 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyFour } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyFour } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyFour = { - prevPurchasedAmount: 6971.48, - project: { - id: "", - name: "", - }, - purchasedAmount: 783.03, + bitbucketAccountId: "", + bitbucketLogin: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `prevPurchasedAmount` | *number* | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload124Project](../models/usereventpayload124project.md) | :heavy_check_mark: | N/A | -| `purchasedAmount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `bitbucketAccountId` | *string* | :heavy_check_mark: | N/A | +| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentynine.md b/docs/models/onehundredandtwentynine.md index 0b56de33fb..180c563d2a 100644 --- a/docs/models/onehundredandtwentynine.md +++ b/docs/models/onehundredandtwentynine.md @@ -5,24 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyNine } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyNine } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyNine = { - oldPasswordProtection: { - deploymentType: "prod_deployment_urls_and_all_previews", - }, - passwordProtection: { - deploymentType: "all", - }, - scope: "team", + suffix: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `oldPasswordProtection` | [models.OldPasswordProtection](../models/oldpasswordprotection.md) | :heavy_check_mark: | N/A | -| `passwordChanged` | *boolean* | :heavy_minus_sign: | N/A | -| `passwordProtection` | [models.UserEventPayloadPasswordProtection](../models/usereventpayloadpasswordprotection.md) | :heavy_check_mark: | N/A | -| `scope` | [models.PayloadScope](../models/payloadscope.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyone.md b/docs/models/onehundredandtwentyone.md index 1d0526a957..931f1a63b6 100644 --- a/docs/models/onehundredandtwentyone.md +++ b/docs/models/onehundredandtwentyone.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyOne } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyOne } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyOne = { + gitlabEmail: "", gitlabLogin: "", - gitlabUserId: 4941.79, }; ``` @@ -17,5 +17,8 @@ let value: OneHundredAndTwentyOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | | `gitlabLogin` | *string* | :heavy_check_mark: | N/A | -| `gitlabUserId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| `gitlabName` | *string* | :heavy_minus_sign: | N/A | +| `zeitAccount` | *string* | :heavy_minus_sign: | N/A | +| `zeitAccountType` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyseven.md b/docs/models/onehundredandtwentyseven.md index 4eae1151cc..c2a6081c1b 100644 --- a/docs/models/onehundredandtwentyseven.md +++ b/docs/models/onehundredandtwentyseven.md @@ -5,10 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentySeven } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentySeven } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentySeven = { - status: "", suffix: "", }; ``` @@ -17,5 +16,5 @@ let value: OneHundredAndTwentySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `status` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | | `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentysix.md b/docs/models/onehundredandtwentysix.md index 2cecc3055a..09d6bf905a 100644 --- a/docs/models/onehundredandtwentysix.md +++ b/docs/models/onehundredandtwentysix.md @@ -5,16 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentySix } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentySix } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentySix = { - suffix: "", + metricName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `reason` | *string* | :heavy_minus_sign: | N/A | -| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `metricName` | *string* | :heavy_check_mark: | N/A | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentythree.md b/docs/models/onehundredandtwentythree.md index 1fb7789dbb..4aa7d19035 100644 --- a/docs/models/onehundredandtwentythree.md +++ b/docs/models/onehundredandtwentythree.md @@ -5,17 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyThree } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyThree } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyThree = { - bitbucketAccountId: "", + bitbucketEmail: "", bitbucketLogin: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `bitbucketAccountId` | *string* | :heavy_check_mark: | N/A | -| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | +| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | +| `bitbucketName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentytwo.md b/docs/models/onehundredandtwentytwo.md index f960fa7a43..5034528cc1 100644 --- a/docs/models/onehundredandtwentytwo.md +++ b/docs/models/onehundredandtwentytwo.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwentyTwo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwentyTwo } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwentyTwo = { - bitbucketEmail: "", - bitbucketLogin: "", + gitlabLogin: "", + gitlabUserId: 7446.88, }; ``` @@ -17,6 +17,5 @@ let value: OneHundredAndTwentyTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | -| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | -| `bitbucketName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | +| `gitlabUserId` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwo.md b/docs/models/onehundredandtwo.md index de97d77b08..53429189fd 100644 --- a/docs/models/onehundredandtwo.md +++ b/docs/models/onehundredandtwo.md @@ -5,14 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { OneHundredAndTwo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { OneHundredAndTwo } from "@vercel/sdk/models/eightytwo.js"; let value: OneHundredAndTwo = { - cns: [ - "", - ], custom: true, - id: "", }; ``` @@ -20,6 +16,7 @@ let value: OneHundredAndTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `cns` | *string*[] | :heavy_check_mark: | N/A | +| `cn` | *string* | :heavy_minus_sign: | N/A | +| `cns` | *string*[] | :heavy_minus_sign: | N/A | | `custom` | *boolean* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/optionsallowlist.md b/docs/models/optionsallowlist.md index 8644a415ee..dde4915c85 100644 --- a/docs/models/optionsallowlist.md +++ b/docs/models/optionsallowlist.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { OptionsAllowlist } from "@vercel/sdk/models/usereventpayload317type.js"; +import { OptionsAllowlist } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: OptionsAllowlist = { paths: [ diff --git a/docs/models/outcome.md b/docs/models/outcome.md index 06a46c599c..4d66aeb8f4 100644 --- a/docs/models/outcome.md +++ b/docs/models/outcome.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Outcome } from "@vercel/sdk/models/newprojects.js"; +import { Outcome } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Outcome = "failure"; ``` diff --git a/docs/models/usereventpayload303previous.md b/docs/models/overrides.md similarity index 50% rename from docs/models/usereventpayload303previous.md rename to docs/models/overrides.md index 5ea36f217b..a221379755 100644 --- a/docs/models/usereventpayload303previous.md +++ b/docs/models/overrides.md @@ -1,11 +1,13 @@ -# UserEventPayload303Previous +# Overrides + +The value of each overridden flag, by flag key ## Example Usage ```typescript -import { UserEventPayload303Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Overrides } from "@vercel/sdk/models/signflagoverridesop.js"; -let value: UserEventPayload303Previous = {}; +let value: Overrides = {}; ``` ## Fields diff --git a/docs/models/passport.md b/docs/models/passport.md index 9830587023..e59427ef7e 100644 --- a/docs/models/passport.md +++ b/docs/models/passport.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Passport } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Passport } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Passport = { connectorId: "", @@ -16,4 +16,4 @@ let value: Passport = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `connectorId` | *string* | :heavy_check_mark: | N/A | -| `deploymentType` | [models.UserEventPayload278DeploymentType](../models/usereventpayload278deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload281DeploymentType](../models/usereventpayload281deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/passwordprotection1.md b/docs/models/passwordprotection1.md index 43dd8a2b55..4654f91a2b 100644 --- a/docs/models/passwordprotection1.md +++ b/docs/models/passwordprotection1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PasswordProtection1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PasswordProtection1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PasswordProtection1 = { deploymentType: "all", diff --git a/docs/models/passwordprotection2.md b/docs/models/passwordprotection2.md index bc9b811ce0..d2d982db6f 100644 --- a/docs/models/passwordprotection2.md +++ b/docs/models/passwordprotection2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PasswordProtection2 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PasswordProtection2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PasswordProtection2 = "all"; ``` diff --git a/docs/models/passwordprotectiondeploymenttype.md b/docs/models/passwordprotectiondeploymenttype.md index abc32de7b0..004c73d8cc 100644 --- a/docs/models/passwordprotectiondeploymenttype.md +++ b/docs/models/passwordprotectiondeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PasswordProtectionDeploymentType } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PasswordProtectionDeploymentType } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PasswordProtectionDeploymentType = "prod_deployment_urls_and_all_previews"; diff --git a/docs/models/patchedgeconfigitemsrequest.md b/docs/models/patchedgeconfigitemsrequest.md index 9353070fb2..5cc156e44d 100644 --- a/docs/models/patchedgeconfigitemsrequest.md +++ b/docs/models/patchedgeconfigitemsrequest.md @@ -6,7 +6,7 @@ import { PatchEdgeConfigItemsRequest } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; let value: PatchEdgeConfigItemsRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; diff --git a/docs/models/paths.md b/docs/models/paths.md index a66f3e27f6..fac48e971e 100644 --- a/docs/models/paths.md +++ b/docs/models/paths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Paths } from "@vercel/sdk/models/usereventpayload317type.js"; +import { Paths } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: Paths = { value: "", diff --git a/docs/models/payload.md b/docs/models/payload.md index de04400861..416a7e4ad6 100644 --- a/docs/models/payload.md +++ b/docs/models/payload.md @@ -375,7 +375,7 @@ const value: models.ThirtyFive = { ```typescript const value: models.ThirtySix = { change: "set", - scopeType: "team", + scopeType: "project", }; ``` @@ -561,23 +561,14 @@ const value: models.FiftyTwo = {}; ### `models.FiftyThree` ```typescript -const value: models.FiftyThree = { - headerNames: [ - "", - "", - "", - ], -}; +const value: models.FiftyThree = {}; ``` ### `models.FiftyFour` ```typescript const value: models.FiftyFour = { - retention: { - ceilingMode: "days", - defaultMode: "until-requested", - }, + headerNames: [], }; ``` @@ -585,9 +576,9 @@ const value: models.FiftyFour = { ```typescript const value: models.FiftyFive = { - rule: { - id: "", - type: "", + retention: { + ceilingMode: "days", + defaultMode: "days", }, }; ``` @@ -607,8 +598,9 @@ const value: models.FiftySix = { ```typescript const value: models.FiftySeven = { - virtualModelConfig: { + rule: { id: "", + type: "", }, }; ``` @@ -627,9 +619,8 @@ const value: models.FiftyEight = { ```typescript const value: models.FiftyNine = { - accessGroup: { + virtualModelConfig: { id: "", - name: "", }, }; ``` @@ -653,9 +644,6 @@ const value: models.SixtyOne = { id: "", name: "", }, - project: { - id: "", - }, }; ``` @@ -667,6 +655,9 @@ const value: models.SixtyTwo = { id: "", name: "", }, + project: { + id: "", + }, }; ``` @@ -676,9 +667,7 @@ const value: models.SixtyTwo = { const value: models.SixtyThree = { accessGroup: { id: "", - }, - user: { - id: "", + name: "", }, }; ``` @@ -686,7 +675,14 @@ const value: models.SixtyThree = { ### `models.SixtyFour` ```typescript -const value: models.SixtyFour = {}; +const value: models.SixtyFour = { + accessGroup: { + id: "", + }, + user: { + id: "", + }, +}; ``` ### `models.SixtyFive` @@ -698,17 +694,15 @@ const value: models.SixtyFive = {}; ### `models.SixtySix` ```typescript -const value: models.SixtySix = { - aliasCount: 2937.17, - projectId: "", -}; +const value: models.SixtySix = {}; ``` ### `models.SixtySeven` ```typescript const value: models.SixtySeven = { - alias: "", + aliasCount: 5488.88, + projectId: "", }; ``` @@ -717,15 +711,17 @@ const value: models.SixtySeven = { ```typescript const value: models.SixtyEight = { alias: "", - aliasId: "", - deploymentId: "", }; ``` ### `models.SixtyNine` ```typescript -const value: models.SixtyNine = {}; +const value: models.SixtyNine = { + alias: "", + aliasId: "", + deploymentId: "", +}; ``` ### `models.Seventy` @@ -749,26 +745,26 @@ const value: models.SeventyTwo = {}; ### `models.SeventyThree` ```typescript -const value: models.SeventyThree = { - action: "removed", - alias: "", - projectName: "", -}; +const value: models.SeventyThree = {}; ``` ### `models.SeventyFour` ```typescript const value: models.SeventyFour = { + action: "removed", alias: "", - deploymentUrl: "https://sparse-hunt.net", + projectName: "", }; ``` ### `models.SeventyFive` ```typescript -const value: models.SeventyFive = {}; +const value: models.SeventyFive = { + alias: "", + deploymentUrl: "https://unimportant-strait.net/", +}; ``` ### `models.SeventySix` @@ -780,10 +776,7 @@ const value: models.SeventySix = {}; ### `models.SeventySeven` ```typescript -const value: models.SeventySeven = { - appName: "", - scopes: [], -}; +const value: models.SeventySeven = {}; ``` ### `models.SeventyEight` @@ -791,6 +784,9 @@ const value: models.SeventySeven = { ```typescript const value: models.SeventyEight = { appName: "", + scopes: [ + "profile", + ], }; ``` @@ -799,7 +795,6 @@ const value: models.SeventyEight = { ```typescript const value: models.SeventyNine = { appName: "", - nextScopes: [], }; ``` @@ -808,6 +803,9 @@ const value: models.SeventyNine = { ```typescript const value: models.Eighty = { appName: "", + nextScopes: [ + "openid", + ], }; ``` @@ -847,8 +845,7 @@ const value: models.EightyFour = { ```typescript const value: models.EightyFive = { - attackModeEnabled: false, - projectId: "", + appName: "", }; ``` @@ -856,26 +853,24 @@ const value: models.EightyFive = { ```typescript const value: models.EightySix = { - autoExposeSystemEnvs: false, - projectName: "", + attackModeEnabled: false, + projectId: "", }; ``` ### `models.EightySeven` ```typescript -const value: models.EightySeven = {}; +const value: models.EightySeven = { + autoExposeSystemEnvs: true, + projectName: "", +}; ``` ### `models.EightyEight` ```typescript -const value: models.EightyEight = { - amount: 9902.77, - invoiceId: "", - lineItemCount: 6783.83, - refundReason: "", -}; +const value: models.EightyEight = {}; ``` ### `models.EightyNine` @@ -884,8 +879,8 @@ const value: models.EightyEight = { const value: models.EightyNine = { amount: 3127.76, invoiceId: "", - newInvoiceId: "", - settlementMethod: "credited-paid", + lineItemCount: 1187.16, + refundReason: "", }; ``` @@ -893,7 +888,10 @@ const value: models.EightyNine = { ```typescript const value: models.Ninety = { - subscriptionId: "", + amount: 160.09, + invoiceId: "", + newInvoiceId: "", + settlementMethod: "refunded-payment-pending", }; ``` @@ -901,7 +899,6 @@ const value: models.Ninety = { ```typescript const value: models.NinetyOne = { - paymentMethodId: "", subscriptionId: "", }; ``` @@ -911,6 +908,7 @@ const value: models.NinetyOne = { ```typescript const value: models.NinetyTwo = { paymentMethodId: "", + subscriptionId: "", }; ``` @@ -918,7 +916,7 @@ const value: models.NinetyTwo = { ```typescript const value: models.NinetyThree = { - changedFields: [], + paymentMethodId: "", }; ``` @@ -926,7 +924,9 @@ const value: models.NinetyThree = { ```typescript const value: models.NinetyFour = { - planSlug: "", + changedFields: [ + "name", + ], }; ``` @@ -934,10 +934,7 @@ const value: models.NinetyFour = { ```typescript const value: models.NinetyFive = { - action: "cancel_plan", - data: { - planSlug: "hobby", - }, + planSlug: "", }; ``` @@ -945,7 +942,7 @@ const value: models.NinetyFive = { ```typescript const value: models.NinetySix = { - action: "resume_plan", + action: "cancel_plan", data: { planSlug: "v0_business", }, @@ -956,9 +953,9 @@ const value: models.NinetySix = { ```typescript const value: models.NinetySeven = { - action: "mutate", + action: "resume_plan", data: { - "key": "", + planSlug: "v0_business", }, }; ``` @@ -967,20 +964,31 @@ const value: models.NinetySeven = { ```typescript const value: models.NinetyEight = { + action: "mutate", + data: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.NinetyNine` + +```typescript +const value: models.NinetyNine = { productAliases: [ "", - "", - "", ], }; ``` -### `models.NinetyNine` +### `models.OneHundred` ```typescript -const value: models.NinetyNine = { - bulkRedirectsLimit: 4084.8, - prevBulkRedirectsLimit: 5082.46, +const value: models.OneHundred = { + bulkRedirectsLimit: 7642.14, + prevBulkRedirectsLimit: 7073.71, project: { id: "", name: "", @@ -988,10 +996,10 @@ const value: models.NinetyNine = { }; ``` -### `models.OneHundred` +### `models.OneHundredAndOne` ```typescript -const value: models.OneHundred = { +const value: models.OneHundredAndOne = { project: { id: "", name: "", @@ -1000,99 +1008,100 @@ const value: models.OneHundred = { }; ``` -### `models.OneHundredAndOne` +### `models.OneHundredAndTwo` ```typescript -const value: models.OneHundredAndOne = { +const value: models.OneHundredAndTwo = { custom: true, }; ``` -### `models.OneHundredAndTwo` +### `models.OneHundredAndThree` ```typescript -const value: models.OneHundredAndTwo = { +const value: models.OneHundredAndThree = { cns: [ "", + "", ], - custom: true, + custom: false, id: "", }; ``` -### `models.OneHundredAndThree` +### `models.OneHundredAndFour` ```typescript -const value: models.OneHundredAndThree = {}; +const value: models.OneHundredAndFour = {}; ``` -### `models.OneHundredAndFour` +### `models.OneHundredAndFive` ```typescript -const value: models.OneHundredAndFour = { +const value: models.OneHundredAndFive = { id: "", }; ``` -### `models.OneHundredAndFive` +### `models.OneHundredAndSix` ```typescript -const value: models.OneHundredAndFive = { +const value: models.OneHundredAndSix = { dst: "", src: "", }; ``` -### `models.OneHundredAndSix` +### `models.OneHundredAndSeven` ```typescript -const value: models.OneHundredAndSix = { +const value: models.OneHundredAndSeven = { id: "", }; ``` -### `models.OneHundredAndSeven` +### `models.OneHundredAndEight` ```typescript -const value: models.OneHundredAndSeven = {}; +const value: models.OneHundredAndEight = {}; ``` -### `models.OneHundredAndEight` +### `models.OneHundredAndNine` ```typescript -const value: models.OneHundredAndEight = { - actorAccountId: null, +const value: models.OneHundredAndNine = { + actorAccountId: 9937.79, actorLogin: "", gitOwnerName: "", gitRepositoryName: "", headSha: "", - prNumber: 1326.14, - reviewUrl: "https://turbulent-release.com", + prNumber: 4098.04, + reviewUrl: "https://nifty-dividend.com/", team: "", }; ``` -### `models.OneHundredAndNine` +### `models.OneHundredAndTen` ```typescript -const value: models.OneHundredAndNine = { +const value: models.OneHundredAndTen = { gitOwnerName: "", gitRepositoryName: "", next: { - autoAddReviewers: false, + autoAddReviewers: true, enabled: false, }, previous: { - autoAddReviewers: true, + autoAddReviewers: false, enabled: true, }, }; ``` -### `models.OneHundredAndTen` +### `models.OneHundredAndEleven` ```typescript -const value: models.OneHundredAndTen = { +const value: models.OneHundredAndEleven = { documentId: "", fingerprint: "", slug: "", @@ -1100,30 +1109,12 @@ const value: models.OneHundredAndTen = { }; ``` -### `models.OneHundredAndEleven` - -```typescript -const value: models.OneHundredAndEleven = { - count: 5390.84, - documents: [ - { - documentId: "", - fingerprint: "", - slug: "", - title: "", - }, - ], -}; -``` - ### `models.OneHundredAndTwelve` ```typescript const value: models.OneHundredAndTwelve = { - configuration: { - id: "", - name: "", - }, + count: 712.14, + documents: [], }; ``` @@ -1133,12 +1124,6 @@ const value: models.OneHundredAndTwelve = { const value: models.OneHundredAndThirteen = { configuration: { id: "", - }, - project: { - id: "", - }, - team: { - id: "", name: "", }, }; @@ -1185,7 +1170,9 @@ const value: models.OneHundredAndSixteen = { configuration: { id: "", }, - newName: "", + project: { + id: "", + }, team: { id: "", name: "", @@ -1197,7 +1184,14 @@ const value: models.OneHundredAndSixteen = { ```typescript const value: models.OneHundredAndSeventeen = { - githubLogin: "", + configuration: { + id: "", + }, + newName: "", + team: { + id: "", + name: "", + }, }; ``` @@ -1214,7 +1208,6 @@ const value: models.OneHundredAndEighteen = { ```typescript const value: models.OneHundredAndNineteen = { githubLogin: "", - host: "friendly-laughter.net", }; ``` @@ -1222,8 +1215,8 @@ const value: models.OneHundredAndNineteen = { ```typescript const value: models.OneHundredAndTwenty = { - gitlabEmail: "", - gitlabLogin: "", + githubLogin: "", + host: "ashamed-bandwidth.com", }; ``` @@ -1231,8 +1224,8 @@ const value: models.OneHundredAndTwenty = { ```typescript const value: models.OneHundredAndTwentyOne = { + gitlabEmail: "", gitlabLogin: "", - gitlabUserId: 4941.79, }; ``` @@ -1240,8 +1233,8 @@ const value: models.OneHundredAndTwentyOne = { ```typescript const value: models.OneHundredAndTwentyTwo = { - bitbucketEmail: "", - bitbucketLogin: "", + gitlabLogin: "", + gitlabUserId: 7446.88, }; ``` @@ -1249,7 +1242,7 @@ const value: models.OneHundredAndTwentyTwo = { ```typescript const value: models.OneHundredAndTwentyThree = { - bitbucketAccountId: "", + bitbucketEmail: "", bitbucketLogin: "", }; ``` @@ -1258,12 +1251,8 @@ const value: models.OneHundredAndTwentyThree = { ```typescript const value: models.OneHundredAndTwentyFour = { - prevPurchasedAmount: 6971.48, - project: { - id: "", - name: "", - }, - purchasedAmount: 783.03, + bitbucketAccountId: "", + bitbucketLogin: "", }; ``` @@ -1271,7 +1260,12 @@ const value: models.OneHundredAndTwentyFour = { ```typescript const value: models.OneHundredAndTwentyFive = { - metricName: "", + prevPurchasedAmount: 3414, + project: { + id: "", + name: "", + }, + purchasedAmount: 1765.07, }; ``` @@ -1279,7 +1273,7 @@ const value: models.OneHundredAndTwentyFive = { ```typescript const value: models.OneHundredAndTwentySix = { - suffix: "", + metricName: "", }; ``` @@ -1287,7 +1281,6 @@ const value: models.OneHundredAndTwentySix = { ```typescript const value: models.OneHundredAndTwentySeven = { - status: "", suffix: "", }; ``` @@ -1296,6 +1289,7 @@ const value: models.OneHundredAndTwentySeven = { ```typescript const value: models.OneHundredAndTwentyEight = { + status: "", suffix: "", }; ``` @@ -1304,34 +1298,42 @@ const value: models.OneHundredAndTwentyEight = { ```typescript const value: models.OneHundredAndTwentyNine = { + suffix: "", +}; +``` + +### `models.OneHundredAndThirty` + +```typescript +const value: models.OneHundredAndThirty = { oldPasswordProtection: { - deploymentType: "prod_deployment_urls_and_all_previews", + deploymentType: "preview", }, passwordProtection: { - deploymentType: "all", + deploymentType: "preview", }, scope: "team", }; ``` -### `models.OneHundredAndThirty` +### `models.OneHundredAndThirtyOne` ```typescript -const value: models.OneHundredAndThirty = { +const value: models.OneHundredAndThirtyOne = { oldSsoProtection: { - deploymentType: "preview", + deploymentType: "prod_deployment_urls_and_all_previews", }, - scope: "team", + scope: "organization", ssoProtection: { - deploymentType: "all_except_custom_domains", + deploymentType: "prod_deployment_urls_and_all_previews", }, }; ``` -### `models.OneHundredAndThirtyOne` +### `models.OneHundredAndThirtyTwo` ```typescript -const value: models.OneHundredAndThirtyOne = { +const value: models.OneHundredAndThirtyTwo = { hookName: "", projectId: "", projectName: "", @@ -1339,10 +1341,10 @@ const value: models.OneHundredAndThirtyOne = { }; ``` -### `models.OneHundredAndThirtyTwo` +### `models.OneHundredAndThirtyThree` ```typescript -const value: models.OneHundredAndThirtyTwo = { +const value: models.OneHundredAndThirtyThree = { job: { deployHook: { createdAt: 3393.49, @@ -1350,7 +1352,7 @@ const value: models.OneHundredAndThirtyTwo = { name: "", ref: "", }, - state: "Delaware", + state: "North Carolina", }, project: { name: "", @@ -1358,10 +1360,10 @@ const value: models.OneHundredAndThirtyTwo = { }; ``` -### `models.OneHundredAndThirtyThree` +### `models.OneHundredAndThirtyFour` ```typescript -const value: models.OneHundredAndThirtyThree = { +const value: models.OneHundredAndThirtyFour = { checkId: "", checkName: "", projectId: "", @@ -1380,18 +1382,18 @@ const value: models.DeploymentCheckUpdatedPayload = { }; ``` -### `models.OneHundredAndThirtyFive` +### `models.OneHundredAndThirtySix` ```typescript -const value: models.OneHundredAndThirtyFive = { - url: "https://slushy-mountain.name", +const value: models.OneHundredAndThirtySix = { + url: "https://natural-verve.biz/", }; ``` -### `models.OneHundredAndThirtySix` +### `models.OneHundredAndThirtySeven` ```typescript -const value: models.OneHundredAndThirtySix = { +const value: models.OneHundredAndThirtySeven = { job: { headInfo: { owner: "", @@ -1402,29 +1404,30 @@ const value: models.OneHundredAndThirtySix = { }, name: "", owner: "", + prId: 1348.66, provider: "bitbucket", ref: "", repoUuid: "", sha: "", slug: "", - type: "bitbucket-push", + type: "bitbucket-now-comment", workspaceUuid: "", }, }; ``` -### `models.OneHundredAndThirtySeven` +### `models.OneHundredAndThirtyEight` ```typescript -const value: models.OneHundredAndThirtySeven = { - url: "https://concerned-knickers.net/", +const value: models.OneHundredAndThirtyEight = { + url: "https://spanish-farmer.biz/", }; ``` -### `models.OneHundredAndThirtyEight` +### `models.OneHundredAndThirtyNine` ```typescript -const value: models.OneHundredAndThirtyEight = { +const value: models.OneHundredAndThirtyNine = { gitCommitterName: "", gitUserPlatform: "", projectName: "", @@ -1433,71 +1436,70 @@ const value: models.OneHundredAndThirtyEight = { }; ``` -### `models.OneHundredAndThirtyNine` +### `models.OneHundredAndForty` ```typescript -const value: models.OneHundredAndThirtyNine = { +const value: models.OneHundredAndForty = { deployment: { id: "", meta: { "key": "", "key1": "", - "key2": "", }, name: "", - url: "https://some-tool.net/", + url: "https://rotating-rust.com", }, deploymentId: "", - url: "https://bony-concentration.name", + url: "https://avaricious-remark.name/", }; ``` -### `models.OneHundredAndForty` +### `models.OneHundredAndFortyOne` ```typescript -const value: models.OneHundredAndForty = { +const value: models.OneHundredAndFortyOne = { projectName: "", - ruleName: "gitSources", + ruleName: "deploymentSources", ruleProvenance: "project", source: "", }; ``` -### `models.OneHundredAndFortyOne` +### `models.OneHundredAndFortyTwo` ```typescript -const value: models.OneHundredAndFortyOne = { - mode: null, +const value: models.OneHundredAndFortyTwo = { + mode: "none", previousMode: "none", scope: "organization", }; ``` -### `models.OneHundredAndFortyTwo` +### `models.OneHundredAndFortyThree` ```typescript -const value: models.OneHundredAndFortyTwo = { +const value: models.OneHundredAndFortyThree = { mode: "all", - previousMode: "all", + previousMode: "email-domain", }; ``` -### `models.OneHundredAndFortyThree` +### `models.OneHundredAndFortyFour` ```typescript -const value: models.OneHundredAndFortyThree = { +const value: models.OneHundredAndFortyFour = { deploymentId: "", deploymentName: "", - deploymentUrl: "https://afraid-requirement.info/", + deploymentUrl: null, projectId: "", projectName: "", }; ``` -### `models.OneHundredAndFortyFour` +### `models.OneHundredAndFortyFive` ```typescript -const value: models.OneHundredAndFortyFour = { +const value: models.OneHundredAndFortyFive = { configurationId: "", integrationId: "", integrationName: "", @@ -1506,26 +1508,12 @@ const value: models.OneHundredAndFortyFour = { }; ``` -### `models.OneHundredAndFortyFive` - -```typescript -const value: models.OneHundredAndFortyFive = { - domain: "round-majority.net", - id: "", - name: "", - type: "", - value: "", -}; -``` - ### `models.OneHundredAndFortySix` ```typescript const value: models.OneHundredAndFortySix = { - action: "delete", - domain: "cloudy-toaster.name", + domain: "puny-case.org", id: "", - initiator: "user", name: "", type: "", value: "", @@ -1536,8 +1524,10 @@ const value: models.OneHundredAndFortySix = { ```typescript const value: models.OneHundredAndFortySeven = { - domain: "valuable-vista.info", + action: "update", + domain: "winding-hovercraft.com", id: "", + initiator: "system", name: "", type: "", value: "", @@ -1548,7 +1538,11 @@ const value: models.OneHundredAndFortySeven = { ```typescript const value: models.OneHundredAndFortyEight = { + domain: "enchanted-colon.name", + id: "", name: "", + type: "", + value: "", }; ``` @@ -1557,7 +1551,6 @@ const value: models.OneHundredAndFortyEight = { ```typescript const value: models.OneHundredAndFortyNine = { name: "", - price: 4364.9, }; ``` @@ -1565,8 +1558,8 @@ const value: models.OneHundredAndFortyNine = { ```typescript const value: models.OneHundredAndFifty = { - cdnEnabled: true, name: "", + price: 4117.33, }; ``` @@ -1574,6 +1567,7 @@ const value: models.OneHundredAndFifty = { ```typescript const value: models.OneHundredAndFiftyOne = { + cdnEnabled: false, name: "", }; ``` @@ -1583,9 +1577,6 @@ const value: models.OneHundredAndFiftyOne = { ```typescript const value: models.OneHundredAndFiftyTwo = { name: "", - ownerName: "", - teamId: "", - userId: "", }; ``` @@ -1593,8 +1584,10 @@ const value: models.OneHundredAndFiftyTwo = { ```typescript const value: models.OneHundredAndFiftyThree = { - domainId: "", name: "", + ownerName: "", + teamId: "", + userId: "", }; ``` @@ -1602,14 +1595,8 @@ const value: models.OneHundredAndFiftyThree = { ```typescript const value: models.OneHundredAndFiftyFour = { - id: "", + domainId: "", name: "", - nameservers: [ - "", - "", - ], - previousServiceType: "", - serviceType: "", }; ``` @@ -1617,14 +1604,11 @@ const value: models.OneHundredAndFiftyFour = { ```typescript const value: models.OneHundredAndFiftyFive = { - customNameservers: [ - "", - ], - domain: "white-handle.info", - prevCustomNameservers: [ - "", - "", - ], + id: "", + name: "", + nameservers: [], + previousServiceType: "", + serviceType: "", }; ``` @@ -1632,7 +1616,12 @@ const value: models.OneHundredAndFiftyFive = { ```typescript const value: models.OneHundredAndFiftySix = { - domain: "sour-knuckle.name", + customNameservers: [ + "", + "", + ], + domain: "precious-pharmacopoeia.net", + prevCustomNameservers: null, }; ``` @@ -1641,8 +1630,6 @@ const value: models.OneHundredAndFiftySix = { ```typescript const value: models.OneHundredAndFiftySeven = { domain: "palatable-dash.info", - echMode: "disabled", - previousEchMode: "disabled", }; ``` @@ -1651,7 +1638,8 @@ const value: models.OneHundredAndFiftySeven = { ```typescript const value: models.OneHundredAndFiftyEight = { domain: "bulky-kielbasa.info", - zone: false, + echMode: "enabled", + previousEchMode: "disabled", }; ``` @@ -1660,7 +1648,6 @@ const value: models.OneHundredAndFiftyEight = { ```typescript const value: models.OneHundredAndFiftyNine = { domain: "frizzy-intellect.biz", - initiator: "system", zone: true, }; ``` @@ -1669,9 +1656,9 @@ const value: models.OneHundredAndFiftyNine = { ```typescript const value: models.OneHundredAndSixty = { - fromId: "", - fromName: null, - name: "", + domain: "sticky-antelope.name", + initiator: "user", + zone: false, }; ``` @@ -1679,8 +1666,8 @@ const value: models.OneHundredAndSixty = { ```typescript const value: models.OneHundredAndSixtyOne = { - destinationId: "", - destinationName: "", + fromId: "", + fromName: "", name: "", }; ``` @@ -1699,7 +1686,9 @@ const value: models.OneHundredAndSixtyTwo = { ```typescript const value: models.OneHundredAndSixtyThree = { - domain: "decent-hello.biz", + destinationId: "", + destinationName: "", + name: "", }; ``` @@ -1707,7 +1696,7 @@ const value: models.OneHundredAndSixtyThree = { ```typescript const value: models.OneHundredAndSixtyFour = { - name: "", + domain: "impressionable-tool.biz", }; ``` @@ -1723,8 +1712,7 @@ const value: models.OneHundredAndSixtyFive = { ```typescript const value: models.OneHundredAndSixtySix = { - drainName: "", - drainUrl: "https://fussy-runway.info/", + name: "", }; ``` @@ -1732,7 +1720,8 @@ const value: models.OneHundredAndSixtySix = { ```typescript const value: models.OneHundredAndSixtySeven = { - drainUrl: "https://familiar-violin.biz", + drainName: "", + drainUrl: "https://willing-defendant.info/", }; ``` @@ -1740,10 +1729,7 @@ const value: models.OneHundredAndSixtySeven = { ```typescript const value: models.OneHundredAndSixtyEight = { - driveName: "", - projectId: "", - projectName: "", - region: "", + drainUrl: "https://swift-tuber.org", }; ``` @@ -1755,8 +1741,6 @@ const value: models.OneHundredAndSixtyNine = { projectId: "", projectName: "", region: "", - snapshotId: "", - snapshotName: "", }; ``` @@ -1764,11 +1748,12 @@ const value: models.OneHundredAndSixtyNine = { ```typescript const value: models.OneHundredAndSeventy = { + driveName: "", projectId: "", projectName: "", - srcImages: [ - "", - ], + region: "", + snapshotId: "", + snapshotName: "", }; ``` @@ -1778,7 +1763,7 @@ const value: models.OneHundredAndSeventy = { const value: models.OneHundredAndSeventyOne = { projectId: "", projectName: "", - tags: [], + srcImages: [], }; ``` @@ -1786,9 +1771,11 @@ const value: models.OneHundredAndSeventyOne = { ```typescript const value: models.OneHundredAndSeventyTwo = { - path: "/private/tmp", projectId: "", projectName: "", + tags: [ + "", + ], }; ``` @@ -1796,6 +1783,7 @@ const value: models.OneHundredAndSeventyTwo = { ```typescript const value: models.OneHundredAndSeventyThree = { + path: "/selinux", projectId: "", projectName: "", }; @@ -1805,9 +1793,8 @@ const value: models.OneHundredAndSeventyThree = { ```typescript const value: models.OneHundredAndSeventyFour = { - edgeConfigDigest: "", - edgeConfigId: "", - edgeConfigSlug: "", + projectId: "", + projectName: "", }; ``` @@ -1818,7 +1805,6 @@ const value: models.OneHundredAndSeventyFive = { edgeConfigDigest: "", edgeConfigId: "", edgeConfigSlug: "", - edgeConfigBackupVersionId: "", }; ``` @@ -1826,8 +1812,10 @@ const value: models.OneHundredAndSeventyFive = { ```typescript const value: models.OneHundredAndSeventySix = { + edgeConfigDigest: "", edgeConfigId: "", edgeConfigSlug: "", + edgeConfigBackupVersionId: "", }; ``` @@ -1844,6 +1832,15 @@ const value: models.OneHundredAndSeventySeven = { ```typescript const value: models.OneHundredAndSeventyEight = { + edgeConfigId: "", + edgeConfigSlug: "", +}; +``` + +### `models.OneHundredAndSeventyNine` + +```typescript +const value: models.OneHundredAndSeventyNine = { edgeConfig: { id: "", slug: "", @@ -1854,15 +1851,15 @@ const value: models.OneHundredAndSeventyEight = { }, toAccount: { id: "", - type: "team", + type: "user", }, }; ``` -### `models.OneHundredAndSeventyNine` +### `models.OneHundredAndEighty` ```typescript -const value: models.OneHundredAndSeventyNine = { +const value: models.OneHundredAndEighty = { edgeConfigId: "", edgeConfigSlug: "", edgeConfigTokenId: "", @@ -1870,35 +1867,34 @@ const value: models.OneHundredAndSeventyNine = { }; ``` -### `models.OneHundredAndEighty` +### `models.OneHundredAndEightyOne` ```typescript -const value: models.OneHundredAndEighty = { +const value: models.OneHundredAndEightyOne = { edgeConfigId: "", edgeConfigSlug: "", edgeConfigTokenIds: [ "", "", - "", ], }; ``` -### `models.OneHundredAndEightyOne` +### `models.OneHundredAndEightyTwo` ```typescript -const value: models.OneHundredAndEightyOne = { - email: "Brenda_Rice@yahoo.com", +const value: models.OneHundredAndEightyTwo = { + email: "Judah_Altenwerth@yahoo.com", name: "", }; ``` -### `models.OneHundredAndEightyTwo` +### `models.OneHundredAndEightyThree` ```typescript -const value: models.OneHundredAndEightyTwo = { +const value: models.OneHundredAndEightyThree = { previousRule: { - email: "Judah_Altenwerth@yahoo.com", + email: "Pinkie71@yahoo.com", }, team: { id: "", @@ -1906,22 +1902,16 @@ const value: models.OneHundredAndEightyTwo = { }; ``` -### `models.OneHundredAndEightyThree` +### `models.OneHundredAndEightyFour` ```typescript -const value: models.OneHundredAndEightyThree = { +const value: models.OneHundredAndEightyFour = { team: { id: "", }, }; ``` -### `models.OneHundredAndEightyFour` - -```typescript -const value: models.OneHundredAndEightyFour = {}; -``` - ### `models.OneHundredAndEightyFive` ```typescript @@ -1937,28 +1927,34 @@ const value: models.OneHundredAndEightySix = {}; ### `models.OneHundredAndEightySeven` ```typescript -const value: models.OneHundredAndEightySeven = { - deploymentId: "", - deploymentUrl: "https://competent-redesign.com/", -}; +const value: models.OneHundredAndEightySeven = {}; ``` ### `models.OneHundredAndEightyEight` ```typescript const value: models.OneHundredAndEightyEight = { + deploymentId: "", + deploymentUrl: "https://similar-scale.biz", +}; +``` + +### `models.OneHundredAndEightyNine` + +```typescript +const value: models.OneHundredAndEightyNine = { key: "", organizationId: "", provider: "", repository: "", - visibility: "secret", + visibility: "config", }; ``` -### `models.OneHundredAndEightyNine` +### `models.OneHundredAndNinety` ```typescript -const value: models.OneHundredAndEightyNine = { +const value: models.OneHundredAndNinety = { created: new Date("2021-02-10T13:11:49.180Z"), createdAt: 1609492210000, createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", @@ -1980,25 +1976,25 @@ const value: models.OneHundredAndEightyNine = { }; ``` -### `models.OneHundredAndNinety` +### `models.OneHundredAndNinetyOne` ```typescript -const value: models.OneHundredAndNinety = { +const value: models.OneHundredAndNinetyOne = { envId: "", envKey: "", organizationId: "", provider: "", repository: "", target: [ - "development", + "preview", ], }; ``` -### `models.OneHundredAndNinetyOne` +### `models.OneHundredAndNinetyTwo` ```typescript -const value: models.OneHundredAndNinetyOne = { +const value: models.OneHundredAndNinetyTwo = { newEnvVar: { created: new Date("2021-02-10T13:11:49.180Z"), createdAt: 1609492210000, @@ -2042,16 +2038,6 @@ const value: models.OneHundredAndNinetyOne = { }; ``` -### `models.OneHundredAndNinetyTwo` - -```typescript -const value: models.OneHundredAndNinetyTwo = { - projectId: "", - scope: "", - source: "", -}; -``` - ### `models.OneHundredAndNinetyThree` ```typescript @@ -2066,9 +2052,9 @@ const value: models.OneHundredAndNinetyThree = { ```typescript const value: models.OneHundredAndNinetyFour = { - configVersion: "", projectId: "", - projectName: "", + scope: "", + source: "", }; ``` @@ -2077,6 +2063,8 @@ const value: models.OneHundredAndNinetyFour = { ```typescript const value: models.OneHundredAndNinetyFive = { configVersion: 6882.62, + projectId: "", + projectName: "", }; ``` @@ -2092,11 +2080,7 @@ const value: models.OneHundredAndNinetySix = { ```typescript const value: models.OneHundredAndNinetySeven = { - configChangeCount: 4561.61, - configChanges: [], - configVersion: 749.02, - projectId: "", - restore: true, + configVersion: "", }; ``` @@ -2104,9 +2088,11 @@ const value: models.OneHundredAndNinetySeven = { ```typescript const value: models.OneHundredAndNinetyEight = { + configChangeCount: 1920.87, + configChanges: [], + configVersion: 4924.82, projectId: "", - ruleGroups: {}, - rulesetName: "", + restore: false, }; ``` @@ -2114,8 +2100,8 @@ const value: models.OneHundredAndNinetyEight = { ```typescript const value: models.OneHundredAndNinetyNine = { - active: true, projectId: "", + ruleGroups: {}, rulesetName: "", }; ``` @@ -2124,8 +2110,9 @@ const value: models.OneHundredAndNinetyNine = { ```typescript const value: models.TwoHundred = { - consumerProjectId: "", + active: true, projectId: "", + rulesetName: "", }; ``` @@ -2133,8 +2120,7 @@ const value: models.TwoHundred = { ```typescript const value: models.TwoHundredAndOne = { - newOwnerId: "", - previousOwnerId: "", + consumerProjectId: "", projectId: "", }; ``` @@ -2143,7 +2129,9 @@ const value: models.TwoHundredAndOne = { ```typescript const value: models.TwoHundredAndTwo = { - action: "disable", + newOwnerId: "", + previousOwnerId: "", + projectId: "", }; ``` @@ -2151,59 +2139,64 @@ const value: models.TwoHundredAndTwo = { ```typescript const value: models.TwoHundredAndThree = { + action: "enable", +}; +``` + +### `models.TwoHundredAndFour` + +```typescript +const value: models.TwoHundredAndFour = { environment: "", - expiresIn: 6563.13, + expiresIn: 5180.43, flags: [ "", - "", ], projectId: "", projectIds: [ "", - "", - "", ], }; ``` -### `models.TwoHundredAndFour` +### `models.TwoHundredAndFive` ```typescript -const value: models.TwoHundredAndFour = { - source: "enable", +const value: models.TwoHundredAndFive = { + source: "create", }; ``` -### `models.TwoHundredAndFive` +### `models.TwoHundredAndSix` ```typescript -const value: models.TwoHundredAndFive = { - effectiveAt: 2855.86, +const value: models.TwoHundredAndSix = { + effectiveAt: 3140.16, }; ``` -### `models.TwoHundredAndSix` +### `models.TwoHundredAndSeven` ```typescript -const value: models.TwoHundredAndSix = { +const value: models.TwoHundredAndSeven = { actorAccountId: "", - actorLogin: "", + actorLogin: null, destinationBranch: "", destinationRepo: "", - installationId: "", - outcome: "failure", - provider: "gitlab", + installationId: null, + outcome: "success", + provider: "cursor-origin", resultCommitSha: "", sourceCommitSha: "", sourceRepo: "", - usedAppToken: true, + usedAppToken: false, }; ``` -### `models.TwoHundredAndSeven` +### `models.TwoHundredAndEight` ```typescript -const value: models.TwoHundredAndSeven = { +const value: models.TwoHundredAndEight = { fromDeploymentId: "", projectId: "", projectName: "", @@ -2211,10 +2204,10 @@ const value: models.TwoHundredAndSeven = { }; ``` -### `models.TwoHundredAndEight` +### `models.TwoHundredAndNine` ```typescript -const value: models.TwoHundredAndEight = { +const value: models.TwoHundredAndNine = { configurationId: "", integrationId: "", integrationName: "", @@ -2222,30 +2215,28 @@ const value: models.TwoHundredAndEight = { }; ``` -### `models.TwoHundredAndNine` +### `models.TwoHundredAndTen` ```typescript -const value: models.TwoHundredAndNine = { +const value: models.TwoHundredAndTen = { configurationId: "", integrationId: "", integrationSlug: "", newOwner: { id: "", - username: "Julian_Murray27", + username: "Lisandro_Schumm77", }, userId: "", }; ``` -### `models.TwoHundredAndTen` +### `models.TwoHundredAndEleven` ```typescript -const value: models.TwoHundredAndTen = { +const value: models.TwoHundredAndEleven = { configurationId: "", confirmedScopes: [ "", - "", - "", ], integrationId: "", integrationName: "", @@ -2254,10 +2245,10 @@ const value: models.TwoHundredAndTen = { }; ``` -### `models.TwoHundredAndEleven` +### `models.TwoHundredAndTwelve` ```typescript -const value: models.TwoHundredAndEleven = { +const value: models.TwoHundredAndTwelve = { integration: { configurationId: "", id: "", @@ -2269,10 +2260,10 @@ const value: models.TwoHundredAndEleven = { }; ``` -### `models.TwoHundredAndTwelve` +### `models.TwoHundredAndThirteen` ```typescript -const value: models.TwoHundredAndTwelve = { +const value: models.TwoHundredAndThirteen = { integration: { configurationId: "", id: "", @@ -2284,19 +2275,19 @@ const value: models.TwoHundredAndTwelve = { }; ``` -### `models.TwoHundredAndThirteen` +### `models.TwoHundredAndFourteen` ```typescript -const value: models.TwoHundredAndThirteen = { +const value: models.TwoHundredAndFourteen = { configurations: [], ownerId: "", }; ``` -### `models.TwoHundredAndFourteen` +### `models.TwoHundredAndFifteen` ```typescript -const value: models.TwoHundredAndFourteen = { +const value: models.TwoHundredAndFifteen = { billingPlanId: "", configurationId: "", integrationId: "", @@ -2306,10 +2297,10 @@ const value: models.TwoHundredAndFourteen = { }; ``` -### `models.TwoHundredAndFifteen` +### `models.TwoHundredAndSixteen` ```typescript -const value: models.TwoHundredAndFifteen = { +const value: models.TwoHundredAndSixteen = { configurationId: "", integrationId: "", integrationName: "", @@ -2318,59 +2309,59 @@ const value: models.TwoHundredAndFifteen = { }; ``` -### `models.TwoHundredAndSixteen` +### `models.TwoHundredAndSeventeen` ```typescript -const value: models.TwoHundredAndSixteen = { +const value: models.TwoHundredAndSeventeen = { integrationId: "", integrationName: "", integrationSlug: "", }; ``` -### `models.TwoHundredAndSeventeen` +### `models.TwoHundredAndEighteen` ```typescript -const value: models.TwoHundredAndSeventeen = { +const value: models.TwoHundredAndEighteen = { configurationId: "", databaseName: "", - errorCode: null, - failedQueryIndex: 8990.7, + errorCode: "", + failedQueryIndex: 534.69, integrationId: "", integrationProductSlug: "", integrationSlug: "", - queries: [ - { - command: "", - }, - ], - queryCount: 1324.27, - queryType: "schema", + queries: [], + queryCount: 9990.01, + queryType: "user", readonly: true, resourceId: "", rolledBack: false, }; ``` -### `models.TwoHundredAndEighteen` +### `models.TwoHundredAndNineteen` ```typescript -const value: models.TwoHundredAndEighteen = { +const value: models.TwoHundredAndNineteen = { configurationId: "", integrationId: "", integrationProductSlug: "", integrationSlug: "", resourceId: "", - commands: [], - readonly: false, + commands: [ + { + command: "", + }, + ], + readonly: true, requestKind: "raw_commands", }; ``` -### `models.TwoHundredAndNineteen` +### `models.TwoHundredAndTwenty` ```typescript -const value: models.TwoHundredAndNineteen = { +const value: models.TwoHundredAndTwenty = { configurationId: "", integrationId: "", integrationProductSlug: "", @@ -2380,10 +2371,10 @@ const value: models.TwoHundredAndNineteen = { }; ``` -### `models.TwoHundredAndTwenty` +### `models.TwoHundredAndTwentyOne` ```typescript -const value: models.TwoHundredAndTwenty = { +const value: models.TwoHundredAndTwentyOne = { configurationId: "", integrationId: "", integrationProductSlug: "", @@ -2398,10 +2389,10 @@ const value: models.TwoHundredAndTwenty = { }; ``` -### `models.TwoHundredAndTwentyOne` +### `models.TwoHundredAndTwentyTwo` ```typescript -const value: models.TwoHundredAndTwentyOne = { +const value: models.TwoHundredAndTwentyTwo = { configurationId: "", integrationId: "", integrationProductSlug: "", @@ -2412,25 +2403,14 @@ const value: models.TwoHundredAndTwentyOne = { }; ``` -### `models.TwoHundredAndTwentyTwo` - -```typescript -const value: models.TwoHundredAndTwentyTwo = { - integrationId: "", - integrationName: "", - integrationSlug: "", - previousSecretExpiresAt: 5457.12, -}; -``` - ### `models.TwoHundredAndTwentyThree` ```typescript const value: models.TwoHundredAndTwentyThree = { - accessTokenRotation: true, integrationId: "", integrationName: "", integrationSlug: "", + previousSecretExpiresAt: 3186.97, }; ``` @@ -2438,10 +2418,10 @@ const value: models.TwoHundredAndTwentyThree = { ```typescript const value: models.TwoHundredAndTwentyFour = { - algorithm: "", - issuerId: "", - issuerName: "", - origin: "", + accessTokenRotation: false, + integrationId: "", + integrationName: "", + integrationSlug: "", }; ``` @@ -2449,8 +2429,10 @@ const value: models.TwoHundredAndTwentyFour = { ```typescript const value: models.TwoHundredAndTwentyFive = { + algorithm: "", issuerId: "", issuerName: "", + origin: "", }; ``` @@ -2469,7 +2451,6 @@ const value: models.TwoHundredAndTwentySix = { const value: models.TwoHundredAndTwentySeven = { issuerId: "", issuerName: "", - kind: "", }; ``` @@ -2480,7 +2461,6 @@ const value: models.TwoHundredAndTwentyEight = { issuerId: "", issuerName: "", kind: "", - policyKey: "", }; ``` @@ -2488,7 +2468,10 @@ const value: models.TwoHundredAndTwentyEight = { ```typescript const value: models.TwoHundredAndTwentyNine = { - logDrainUrl: "https://hoarse-makeover.com", + issuerId: "", + issuerName: "", + kind: "", + policyKey: "", }; ``` @@ -2496,7 +2479,7 @@ const value: models.TwoHundredAndTwentyNine = { ```typescript const value: models.TwoHundredAndThirty = { - logDrainUrl: "https://rigid-illusion.com", + logDrainUrl: "https://lanky-cake.name", }; ``` @@ -2504,8 +2487,7 @@ const value: models.TwoHundredAndThirty = { ```typescript const value: models.TwoHundredAndThirtyOne = { - login: "Luigi.Dietrich", - provider: "gitlab", + logDrainUrl: "https://graceful-corral.info", }; ``` @@ -2513,38 +2495,47 @@ const value: models.TwoHundredAndThirtyOne = { ```typescript const value: models.TwoHundredAndThirtyTwo = { - provider: "google", + login: "Seth_Witting53", + provider: "saml", }; ``` ### `models.TwoHundredAndThirtyThree` ```typescript -const value: models.TwoHundredAndThirtyThree = {}; +const value: models.TwoHundredAndThirtyThree = { + provider: "bitbucket", +}; ``` ### `models.TwoHundredAndThirtyFour` ```typescript -const value: models.TwoHundredAndThirtyFour = { +const value: models.TwoHundredAndThirtyFour = {}; +``` + +### `models.TwoHundredAndThirtyFive` + +```typescript +const value: models.TwoHundredAndThirtyFive = { projectId: "", projectName: "", toDeploymentId: "", }; ``` -### `models.TwoHundredAndThirtyFive` +### `models.TwoHundredAndThirtySix` ```typescript -const value: models.TwoHundredAndThirtyFive = { +const value: models.TwoHundredAndThirtySix = { invoiceCollection: false, }; ``` -### `models.TwoHundredAndThirtySix` +### `models.TwoHundredAndThirtySeven` ```typescript -const value: models.TwoHundredAndThirtySix = { +const value: models.TwoHundredAndThirtySeven = { periods: [ { endDate: "", @@ -2556,28 +2547,28 @@ const value: models.TwoHundredAndThirtySix = { }; ``` -### `models.TwoHundredAndThirtySeven` +### `models.TwoHundredAndThirtyEight` ```typescript -const value: models.TwoHundredAndThirtySeven = { +const value: models.TwoHundredAndThirtyEight = { enabled: false, }; ``` -### `models.TwoHundredAndThirtyEight` +### `models.TwoHundredAndThirtyNine` ```typescript -const value: models.TwoHundredAndThirtyEight = { +const value: models.TwoHundredAndThirtyNine = { id: "", name: "", slug: "", }; ``` -### `models.TwoHundredAndThirtyNine` +### `models.TwoHundredAndForty` ```typescript -const value: models.TwoHundredAndThirtyNine = { +const value: models.TwoHundredAndForty = { id: "", prev: { fallbackEnvironment: "", @@ -2587,10 +2578,10 @@ const value: models.TwoHundredAndThirtyNine = { }; ``` -### `models.TwoHundredAndForty` +### `models.TwoHundredAndFortyOne` ```typescript -const value: models.TwoHundredAndForty = { +const value: models.TwoHundredAndFortyOne = { group: { id: "", name: "", @@ -2603,10 +2594,10 @@ const value: models.TwoHundredAndForty = { }; ``` -### `models.TwoHundredAndFortyOne` +### `models.TwoHundredAndFortyTwo` ```typescript -const value: models.TwoHundredAndFortyOne = { +const value: models.TwoHundredAndFortyTwo = { group: { id: "", name: "", @@ -2622,46 +2613,65 @@ const value: models.TwoHundredAndFortyOne = { }; ``` -### `models.TwoHundredAndFortyTwo` +### `models.TwoHundredAndFortyThree` ```typescript -const value: models.TwoHundredAndFortyTwo = { +const value: models.TwoHundredAndFortyThree = { alertId: "", alertName: "", }; ``` -### `models.TwoHundredAndFortyThree` +### `models.TwoHundredAndFortyFour` ```typescript -const value: models.TwoHundredAndFortyThree = { +const value: models.TwoHundredAndFortyFour = { reason: "", actorId: "", actorType: "admin", }; ``` -### `models.TwoHundredAndFortyFour` +### `models.TwoHundredAndFortyFive` ```typescript -const value: models.TwoHundredAndFortyFour = { +const value: models.TwoHundredAndFortyFive = { projectName: "", }; ``` -### `models.TwoHundredAndFortyFive` +### `models.TwoHundredAndFortySix` ```typescript -const value: models.TwoHundredAndFortyFive = { - avatar: "https://loremflickr.com/705/3665?lock=4549997301052258", +const value: models.TwoHundredAndFortySix = { organizationId: "", + organizationSlug: "", + targetUser: "", }; ``` -### `models.TwoHundredAndFortySix` +### `models.TwoHundredAndFortySeven` ```typescript -const value: models.TwoHundredAndFortySix = { +const value: models.TwoHundredAndFortySeven = { + organizationId: "", + organizationSlug: "", +}; +``` + +### `models.TwoHundredAndFortyEight` + +```typescript +const value: models.TwoHundredAndFortyEight = { + avatar: "https://loremflickr.com/3849/282?lock=5294844796823640", + organizationId: "", +}; +``` + +### `models.TwoHundredAndFortyNine` + +```typescript +const value: models.TwoHundredAndFortyNine = { name: "", organizationId: "", rootTeamId: "", @@ -2669,28 +2679,28 @@ const value: models.TwoHundredAndFortySix = { }; ``` -### `models.TwoHundredAndFortySeven` +### `models.TwoHundredAndFifty` ```typescript -const value: models.TwoHundredAndFortySeven = { - domain: "flustered-heartache.net", +const value: models.TwoHundredAndFifty = { + domain: "sardonic-sediment.name", organizationId: "", }; ``` -### `models.TwoHundredAndFortyEight` +### `models.TwoHundredAndFiftyOne` ```typescript -const value: models.TwoHundredAndFortyEight = { +const value: models.TwoHundredAndFiftyOne = { directoryId: "", organizationId: "", }; ``` -### `models.TwoHundredAndFortyNine` +### `models.TwoHundredAndFiftyTwo` ```typescript -const value: models.TwoHundredAndFortyNine = { +const value: models.TwoHundredAndFiftyTwo = { directoryGroupId: "", directoryId: "", groupName: "", @@ -2698,71 +2708,59 @@ const value: models.TwoHundredAndFortyNine = { organizationPermissions: [ "OrgAdmin", ], - teamRoles: [ - "BILLING", - ], - teams: { - "key": { - teamRoles: [], - }, - }, + teamRoles: [], + teams: {}, }, organizationId: "", }; ``` -### `models.TwoHundredAndFifty` +### `models.TwoHundredAndFiftyThree` ```typescript -const value: models.TwoHundredAndFifty = { +const value: models.TwoHundredAndFiftyThree = { directoryGroupId: "", directoryId: "", organizationId: "", }; ``` -### `models.TwoHundredAndFiftyOne` +### `models.TwoHundredAndFiftyFour` ```typescript -const value: models.TwoHundredAndFiftyOne = { +const value: models.TwoHundredAndFiftyFour = { copiedDomains: [ "", "", "", ], enabledOrganizationEmu: true, - enabledTeamIds: [ - "", - ], + enabledTeamIds: [], organizationId: "", teamId: "", teamSlug: "", }; ``` -### `models.TwoHundredAndFiftyTwo` +### `models.TwoHundredAndFiftyFive` ```typescript -const value: models.TwoHundredAndFiftyTwo = { +const value: models.TwoHundredAndFiftyFive = { enabled: false, - enforcedTeamIds: [ - "", - ], + enforcedTeamIds: [], organizationId: "", previousEnabled: true, - trigger: "team_attached", + trigger: "team_participation_updated", unenforcedTeamIds: [ "", - "", - "", ], }; ``` -### `models.TwoHundredAndFiftyThree` +### `models.TwoHundredAndFiftySix` ```typescript -const value: models.TwoHundredAndFiftyThree = { +const value: models.TwoHundredAndFiftySix = { enabled: false, organizationId: "", teamId: "", @@ -2770,40 +2768,40 @@ const value: models.TwoHundredAndFiftyThree = { }; ``` -### `models.TwoHundredAndFiftyFour` +### `models.TwoHundredAndFiftySeven` ```typescript -const value: models.TwoHundredAndFiftyFour = { +const value: models.TwoHundredAndFiftySeven = { name: "", organizationId: "", }; ``` -### `models.TwoHundredAndFiftyFive` +### `models.TwoHundredAndFiftyEight` ```typescript -const value: models.TwoHundredAndFiftyFive = { +const value: models.TwoHundredAndFiftyEight = { organizationId: "", slug: "", }; ``` -### `models.TwoHundredAndFiftySix` +### `models.TwoHundredAndFiftyNine` ```typescript -const value: models.TwoHundredAndFiftySix = { +const value: models.TwoHundredAndFiftyNine = { billingPlan: "platform", organizationId: "", teamId: "", }; ``` -### `models.TwoHundredAndFiftySeven` +### `models.TwoHundredAndSixty` ```typescript -const value: models.TwoHundredAndFiftySeven = { +const value: models.TwoHundredAndSixty = { next: { - dsyncMode: "organization", + dsyncMode: "team", }, organizationId: "", previous: { @@ -2814,31 +2812,31 @@ const value: models.TwoHundredAndFiftySeven = { }; ``` -### `models.TwoHundredAndFiftyEight` +### `models.TwoHundredAndSixtyOne` ```typescript -const value: models.TwoHundredAndFiftyEight = { +const value: models.TwoHundredAndSixtyOne = { connectionType: "", organizationId: "", organizationSlug: "", }; ``` -### `models.TwoHundredAndFiftyNine` +### `models.TwoHundredAndSixtyTwo` ```typescript -const value: models.TwoHundredAndFiftyNine = { - enforced: false, +const value: models.TwoHundredAndSixtyTwo = { + enforced: true, organizationId: "", organizationSlug: "", previousEnforced: false, }; ``` -### `models.TwoHundredAndSixty` +### `models.TwoHundredAndSixtyThree` ```typescript -const value: models.TwoHundredAndSixty = { +const value: models.TwoHundredAndSixtyThree = { enabled: false, organizationId: "", organizationSlug: "", @@ -2846,10 +2844,10 @@ const value: models.TwoHundredAndSixty = { }; ``` -### `models.TwoHundredAndSixtyOne` +### `models.TwoHundredAndSixtyFour` ```typescript -const value: models.TwoHundredAndSixtyOne = { +const value: models.TwoHundredAndSixtyFour = { mode: "organization", organizationId: "", previousMode: "team", @@ -2858,72 +2856,72 @@ const value: models.TwoHundredAndSixtyOne = { }; ``` -### `models.TwoHundredAndSixtyTwo` +### `models.TwoHundredAndSixtyFive` ```typescript -const value: models.TwoHundredAndSixtyTwo = { +const value: models.TwoHundredAndSixtyFive = { cause: "", ownerId: "", source: "", }; ``` -### `models.TwoHundredAndSixtyThree` +### `models.TwoHundredAndSixtySix` ```typescript -const value: models.TwoHundredAndSixtyThree = { +const value: models.TwoHundredAndSixtySix = { cause: "", ownerId: "", source: "", }; ``` -### `models.TwoHundredAndSixtyFour` +### `models.TwoHundredAndSixtySeven` ```typescript -const value: models.TwoHundredAndSixtyFour = { +const value: models.TwoHundredAndSixtySeven = { cause: "", ownerId: "", source: "", }; ``` -### `models.TwoHundredAndSixtyFive` +### `models.TwoHundredAndSixtyEight` ```typescript -const value: models.TwoHundredAndSixtyFive = { +const value: models.TwoHundredAndSixtyEight = { cause: "", ownerId: "", source: "", }; ``` -### `models.TwoHundredAndSixtySix` +### `models.TwoHundredAndSixtyNine` ```typescript -const value: models.TwoHundredAndSixtySix = { +const value: models.TwoHundredAndSixtyNine = { next: { allowUnsafeScriptSrcKeywords: false, enabled: false, - enforcePercentage: 3840.37, + enforcePercentage: 4008.74, mode: "", newResourceBlockingPolicy: "allow", }, previous: { - allowUnsafeScriptSrcKeywords: false, + allowUnsafeScriptSrcKeywords: true, enabled: false, - enforcePercentage: 6437.28, + enforcePercentage: 9914.99, mode: "", - newResourceBlockingPolicy: "block", + newResourceBlockingPolicy: "allow", }, projectId: "", }; ``` -### `models.TwoHundredAndSixtySeven` +### `models.TwoHundredAndSeventy` ```typescript -const value: models.TwoHundredAndSixtySeven = { +const value: models.TwoHundredAndSeventy = { headerName: "", justification: "", previousStatus: "", @@ -2931,10 +2929,10 @@ const value: models.TwoHundredAndSixtySeven = { }; ``` -### `models.TwoHundredAndSixtyEight` +### `models.TwoHundredAndSeventyOne` ```typescript -const value: models.TwoHundredAndSixtyEight = { +const value: models.TwoHundredAndSeventyOne = { headerName: "", justification: "", previousStatus: "", @@ -2942,75 +2940,75 @@ const value: models.TwoHundredAndSixtyEight = { }; ``` -### `models.TwoHundredAndSixtyNine` +### `models.TwoHundredAndSeventyTwo` ```typescript -const value: models.TwoHundredAndSixtyNine = { - connectSrcCount: 6406.53, - connectSrcOriginCount: 9734.17, - deletedCount: 4008.74, - headerCount: 4318.76, +const value: models.TwoHundredAndSeventyTwo = { + connectSrcCount: 6606.87, + connectSrcOriginCount: 4674.8, + deletedCount: 5926.66, + headerCount: 5220.98, projectId: "", projectName: "", - scriptCount: 1316.6, + scriptCount: 7495.96, }; ``` -### `models.TwoHundredAndSeventy` +### `models.TwoHundredAndSeventyThree` ```typescript -const value: models.TwoHundredAndSeventy = { +const value: models.TwoHundredAndSeventyThree = { justification: "", previousStatus: "", projectId: "", - url: "https://merry-singing.info/", + url: "https://grounded-brush.name/", }; ``` -### `models.TwoHundredAndSeventyOne` +### `models.TwoHundredAndSeventyFour` ```typescript -const value: models.TwoHundredAndSeventyOne = { +const value: models.TwoHundredAndSeventyFour = { projectId: "", - resourceUrl: "https://broken-singing.biz", + resourceUrl: "https://soupy-laughter.name/", type: "script", }; ``` -### `models.TwoHundredAndSeventyTwo` +### `models.TwoHundredAndSeventyFive` ```typescript -const value: models.TwoHundredAndSeventyTwo = { +const value: models.TwoHundredAndSeventyFive = { headerName: "", projectId: "", type: "header", }; ``` -### `models.TwoHundredAndSeventyThree` +### `models.TwoHundredAndSeventySix` ```typescript -const value: models.TwoHundredAndSeventyThree = { +const value: models.TwoHundredAndSeventySix = { projectId: "", - resourceUrl: "https://grounded-brush.name/", + resourceUrl: "https://reflecting-flint.org/", type: "connectSrc", }; ``` -### `models.TwoHundredAndSeventyFour` +### `models.TwoHundredAndSeventySeven` ```typescript -const value: models.TwoHundredAndSeventyFour = { - justification: null, - previousStatus: "", +const value: models.TwoHundredAndSeventySeven = { + justification: "", + previousStatus: "", projectId: "", }; ``` -### `models.TwoHundredAndSeventyFive` +### `models.TwoHundredAndSeventyEight` ```typescript -const value: models.TwoHundredAndSeventyFive = { +const value: models.TwoHundredAndSeventyEight = { justification: "", pattern: "", projectId: "", @@ -3018,35 +3016,35 @@ const value: models.TwoHundredAndSeventyFive = { }; ``` -### `models.TwoHundredAndSeventySix` +### `models.TwoHundredAndSeventyNine` ```typescript -const value: models.TwoHundredAndSeventySix = { +const value: models.TwoHundredAndSeventyNine = { newName: "", oldName: "", }; ``` -### `models.TwoHundredAndSeventySeven` +### `models.TwoHundredAndEighty` ```typescript -const value: models.TwoHundredAndSeventySeven = { +const value: models.TwoHundredAndEighty = { connectorId: "", connectorService: "", connectorType: "", environment: "", externalIssuer: "", externalSubject: "", - host: "electric-tooth.org", + host: "wicked-allegation.info", projectId: "", sessionId: "", }; ``` -### `models.TwoHundredAndSeventyEight` +### `models.TwoHundredAndEightyOne` ```typescript -const value: models.TwoHundredAndSeventyEight = { +const value: models.TwoHundredAndEightyOne = { next: {}, previous: {}, projectId: "", @@ -3054,44 +3052,44 @@ const value: models.TwoHundredAndSeventyEight = { }; ``` -### `models.TwoHundredAndSeventyNine` +### `models.TwoHundredAndEightyTwo` ```typescript -const value: models.TwoHundredAndSeventyNine = { +const value: models.TwoHundredAndEightyTwo = { next: {}, previous: {}, }; ``` -### `models.TwoHundredAndEighty` +### `models.TwoHundredAndEightyThree` ```typescript -const value: models.TwoHundredAndEighty = { +const value: models.TwoHundredAndEightyThree = { perimeter: { id: "", name: "", - version: 9659.32, + version: 1701.73, }, }; ``` -### `models.TwoHundredAndEightyOne` +### `models.TwoHundredAndEightyFour` ```typescript -const value: models.TwoHundredAndEightyOne = { +const value: models.TwoHundredAndEightyFour = { perimeter: { id: "", name: "", - version: 4667.2, + version: 8846.95, }, - sourceVersion: 5726.32, + sourceVersion: 7244.07, }; ``` -### `models.TwoHundredAndEightyTwo` +### `models.TwoHundredAndEightyFive` ```typescript -const value: models.TwoHundredAndEightyTwo = { +const value: models.TwoHundredAndEightyFive = { next: [ { envId: "", @@ -3104,52 +3102,52 @@ const value: models.TwoHundredAndEightyTwo = { }; ``` -### `models.TwoHundredAndEightyThree` +### `models.TwoHundredAndEightySix` ```typescript -const value: models.TwoHundredAndEightyThree = { +const value: models.TwoHundredAndEightySix = { plan: "", }; ``` -### `models.TwoHundredAndEightyFour` +### `models.TwoHundredAndEightySeven` ```typescript -const value: models.TwoHundredAndEightyFour = { +const value: models.TwoHundredAndEightySeven = { plan: "", actorId: "", actorType: "admin", }; ``` -### `models.TwoHundredAndEightyFive` +### `models.TwoHundredAndEightyEight` ```typescript -const value: models.TwoHundredAndEightyFive = {}; +const value: models.TwoHundredAndEightyEight = {}; ``` -### `models.TwoHundredAndEightySix` +### `models.TwoHundredAndEightyNine` ```typescript -const value: models.TwoHundredAndEightySix = {}; +const value: models.TwoHundredAndEightyNine = {}; ``` -### `models.TwoHundredAndEightySeven` +### `models.TwoHundredAndNinety` ```typescript -const value: models.TwoHundredAndEightySeven = { - previousTeamSuffix: null, - projectCount: 1879.14, +const value: models.TwoHundredAndNinety = { + previousTeamSuffix: "", + projectCount: 2546.6, reason: "", actorId: "", actorType: "admin", }; ``` -### `models.TwoHundredAndEightyEight` +### `models.TwoHundredAndNinetyOne` ```typescript -const value: models.TwoHundredAndEightyEight = { +const value: models.TwoHundredAndNinetyOne = { endpoint: { awsServiceName: "", configurationId: "", @@ -3161,10 +3159,10 @@ const value: models.TwoHundredAndEightyEight = { }; ``` -### `models.TwoHundredAndEightyNine` +### `models.TwoHundredAndNinetyTwo` ```typescript -const value: models.TwoHundredAndEightyNine = { +const value: models.TwoHundredAndNinetyTwo = { endpoint: { awsServiceName: "", id: "", @@ -3175,10 +3173,10 @@ const value: models.TwoHundredAndEightyNine = { }; ``` -### `models.TwoHundredAndNinety` +### `models.TwoHundredAndNinetyThree` ```typescript -const value: models.TwoHundredAndNinety = { +const value: models.TwoHundredAndNinetyThree = { privateLinkEndpoint: { id: "", name: "", @@ -3187,10 +3185,10 @@ const value: models.TwoHundredAndNinety = { }; ``` -### `models.TwoHundredAndNinetyOne` +### `models.TwoHundredAndNinetyFour` ```typescript -const value: models.TwoHundredAndNinetyOne = { +const value: models.TwoHundredAndNinetyFour = { current: { awsServiceName: "", configurationId: "", @@ -3209,10 +3207,10 @@ const value: models.TwoHundredAndNinetyOne = { }; ``` -### `models.TwoHundredAndNinetyTwo` +### `models.TwoHundredAndNinetyFive` ```typescript -const value: models.TwoHundredAndNinetyTwo = { +const value: models.TwoHundredAndNinetyFive = { current: { awsServiceName: "", id: "", @@ -3230,10 +3228,10 @@ const value: models.TwoHundredAndNinetyTwo = { }; ``` -### `models.TwoHundredAndNinetyThree` +### `models.TwoHundredAndNinetySix` ```typescript -const value: models.TwoHundredAndNinetyThree = { +const value: models.TwoHundredAndNinetySix = { previousEndpoint: { name: "", }, @@ -3245,103 +3243,103 @@ const value: models.TwoHundredAndNinetyThree = { }; ``` -### `models.TwoHundredAndNinetyFour` +### `models.TwoHundredAndNinetySeven` ```typescript -const value: models.TwoHundredAndNinetyFour = { +const value: models.TwoHundredAndNinetySeven = { branch: "", projectName: "", }; ``` -### `models.TwoHundredAndNinetyFive` +### `models.TwoHundredAndNinetyEight` ```typescript -const value: models.TwoHundredAndNinetyFive = { - directoryListing: false, +const value: models.TwoHundredAndNinetyEight = { + directoryListing: true, projectId: "", projectName: "", }; ``` -### `models.TwoHundredAndNinetySix` +### `models.TwoHundredAndNinetyNine` ```typescript -const value: models.TwoHundredAndNinetySix = { +const value: models.TwoHundredAndNinetyNine = { prevProjectAnalytics: { - disabledAt: 5836.6, - enabledAt: 4530.2, + disabledAt: 508.04, + enabledAt: 5900.29, id: "", }, projectAnalytics: { - disabledAt: 6210.99, - enabledAt: 6555.71, + disabledAt: 1431.05, + enabledAt: 2765.26, id: "", }, projectId: "", }; ``` -### `models.TwoHundredAndNinetySeven` +### `models.ThreeHundred` ```typescript -const value: models.TwoHundredAndNinetySeven = { +const value: models.ThreeHundred = { projectId: "", }; ``` -### `models.TwoHundredAndNinetyEight` +### `models.ThreeHundredAndOne` ```typescript -const value: models.TwoHundredAndNinetyEight = { - action: "disabled", +const value: models.ThreeHundredAndOne = { + action: "regenerated", projectId: "", projectName: "", }; ``` -### `models.TwoHundredAndNinetyNine` +### `models.ThreeHundredAndTwo` ```typescript -const value: models.TwoHundredAndNinetyNine = { +const value: models.ThreeHundredAndTwo = { projectId: "", projectName: "", }; ``` -### `models.ThreeHundred` +### `models.ThreeHundredAndThree` ```typescript -const value: models.ThreeHundred = { +const value: models.ThreeHundredAndThree = { projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndOne` +### `models.ThreeHundredAndFour` ```typescript -const value: models.ThreeHundredAndOne = { +const value: models.ThreeHundredAndFour = { enableAffectedProjectsDeployments: false, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndTwo` +### `models.ThreeHundredAndFive` ```typescript -const value: models.ThreeHundredAndTwo = { - enableExternalRewriteCaching: false, +const value: models.ThreeHundredAndFive = { + enableExternalRewriteCaching: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThree` +### `models.ThreeHundredAndSix` ```typescript -const value: models.ThreeHundredAndThree = { +const value: models.ThreeHundredAndSix = { next: {}, previous: {}, projectId: "", @@ -3349,30 +3347,30 @@ const value: models.ThreeHundredAndThree = { }; ``` -### `models.ThreeHundredAndFour` +### `models.ThreeHundredAndSeven` ```typescript -const value: models.ThreeHundredAndFour = { - productionDeploymentsFastLane: false, +const value: models.ThreeHundredAndSeven = { + productionDeploymentsFastLane: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndFive` +### `models.ThreeHundredAndEight` ```typescript -const value: models.ThreeHundredAndFive = { +const value: models.ThreeHundredAndEight = { projectId: "", projectName: "", sourceFilesOutsideRootDirectory: true, }; ``` -### `models.ThreeHundredAndSix` +### `models.ThreeHundredAndNine` ```typescript -const value: models.ThreeHundredAndSix = { +const value: models.ThreeHundredAndNine = { nextBuildMachineSelection: "", nextBuildMachineType: "", previousBuildMachineSelection: "", @@ -3380,54 +3378,36 @@ const value: models.ThreeHundredAndSix = { }; ``` -### `models.ThreeHundredAndSeven` +### `models.ThreeHundredAndTen` ```typescript -const value: models.ThreeHundredAndSeven = { +const value: models.ThreeHundredAndTen = { projectId: "", projectName: "", - widget: "analytics-online", + widget: "online", }; ``` -### `models.ThreeHundredAndEight` +### `models.ThreeHundredAndEleven` ```typescript -const value: models.ThreeHundredAndEight = {}; +const value: models.ThreeHundredAndEleven = {}; ``` -### `models.ThreeHundredAndNine` +### `models.ThreeHundredAndTwelve` ```typescript -const value: models.ThreeHundredAndNine = {}; +const value: models.ThreeHundredAndTwelve = {}; ``` -### `models.ThreeHundredAndTen` +### `models.ThreeHundredAndThirteen` ```typescript -const value: models.ThreeHundredAndTen = { +const value: models.ThreeHundredAndThirteen = { project: { id: "", - newConnectConfigurations: [ - { - buildsEnabled: true, - connectConfigurationId: "", - createdAt: 4721.36, - envId: "production", - passive: true, - updatedAt: 452.34, - }, - ], - oldConnectConfigurations: [ - { - buildsEnabled: true, - connectConfigurationId: "", - createdAt: 7630.36, - envId: "", - passive: false, - updatedAt: 8968.35, - }, - ], + newConnectConfigurations: [], + oldConnectConfigurations: [], }, team: { id: "", @@ -3436,68 +3416,68 @@ const value: models.ThreeHundredAndTen = { }; ``` -### `models.ThreeHundredAndEleven` +### `models.ThreeHundredAndFourteen` ```typescript -const value: models.ThreeHundredAndEleven = { +const value: models.ThreeHundredAndFourteen = { projectId: "", }; ``` -### `models.ThreeHundredAndTwelve` +### `models.ThreeHundredAndFifteen` ```typescript -const value: models.ThreeHundredAndTwelve = { +const value: models.ThreeHundredAndFifteen = { action: "disabled", projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirteen` +### `models.ThreeHundredAndSixteen` ```typescript -const value: models.ThreeHundredAndThirteen = { +const value: models.ThreeHundredAndSixteen = { name: "", ownerId: "", }; ``` -### `models.ThreeHundredAndFourteen` +### `models.ThreeHundredAndSeventeen` ```typescript -const value: models.ThreeHundredAndFourteen = { - elasticConcurrencyEnabled: false, - oldElasticConcurrencyEnabled: false, +const value: models.ThreeHundredAndSeventeen = { + elasticConcurrencyEnabled: true, + oldElasticConcurrencyEnabled: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndFifteen` +### `models.ThreeHundredAndEighteen` ```typescript -const value: models.ThreeHundredAndFifteen = { +const value: models.ThreeHundredAndEighteen = { autoAssignCustomDomains: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndSixteen` +### `models.ThreeHundredAndNineteen` ```typescript -const value: models.ThreeHundredAndSixteen = { +const value: models.ThreeHundredAndNineteen = { previewDeploymentsEnabled: false, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndSeventeen` +### `models.ThreeHundredAndTwenty` ```typescript -const value: models.ThreeHundredAndSeventeen = { +const value: models.ThreeHundredAndTwenty = { customEnvironmentId: "", customEnvironmentSlug: "", next: {}, @@ -3507,22 +3487,22 @@ const value: models.ThreeHundredAndSeventeen = { }; ``` -### `models.ThreeHundredAndEighteen` +### `models.ThreeHundredAndTwentyOne` ```typescript -const value: models.ThreeHundredAndEighteen = { +const value: models.ThreeHundredAndTwentyOne = { customEnvironmentId: "", customEnvironmentSlug: "", - enableSchedulesByDefault: true, + enableSchedulesByDefault: false, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndNineteen` +### `models.ThreeHundredAndTwentyTwo` ```typescript -const value: models.ThreeHundredAndNineteen = { +const value: models.ThreeHundredAndTwentyTwo = { customEnvironmentId: "", customEnvironmentSlug: "", projectId: "", @@ -3530,10 +3510,10 @@ const value: models.ThreeHundredAndNineteen = { }; ``` -### `models.ThreeHundredAndTwenty` +### `models.ThreeHundredAndTwentyThree` ```typescript -const value: models.ThreeHundredAndTwenty = { +const value: models.ThreeHundredAndTwentyThree = { customEnvironmentId: "", customEnvironmentSlug: "", projectId: "", @@ -3541,34 +3521,34 @@ const value: models.ThreeHundredAndTwenty = { }; ``` -### `models.ThreeHundredAndTwentyOne` +### `models.ThreeHundredAndTwentyFour` ```typescript -const value: models.ThreeHundredAndTwentyOne = { - enableFunctionsBeta: false, +const value: models.ThreeHundredAndTwentyFour = { + enableFunctionsBeta: true, projectId: "", }; ``` -### `models.ThreeHundredAndTwentyTwo` +### `models.ThreeHundredAndTwentyFive` ```typescript -const value: models.ThreeHundredAndTwentyTwo = { +const value: models.ThreeHundredAndTwentyFive = { next: { - functionDefaultTimeout: 6489.93, + functionDefaultTimeout: 5953.03, }, previous: { - functionDefaultTimeout: null, + functionDefaultTimeout: 2014.56, }, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndTwentyThree` +### `models.ThreeHundredAndTwentySix` ```typescript -const value: models.ThreeHundredAndTwentyThree = { +const value: models.ThreeHundredAndTwentySix = { next: { functionDefaultMemoryType: "", }, @@ -3580,10 +3560,10 @@ const value: models.ThreeHundredAndTwentyThree = { }; ``` -### `models.ThreeHundredAndTwentyFour` +### `models.ThreeHundredAndTwentySeven` ```typescript -const value: models.ThreeHundredAndTwentyFour = { +const value: models.ThreeHundredAndTwentySeven = { next: { functionDefaultRegions: [], }, @@ -3595,12 +3575,12 @@ const value: models.ThreeHundredAndTwentyFour = { }; ``` -### `models.ThreeHundredAndTwentyFive` +### `models.ThreeHundredAndTwentyEight` ```typescript -const value: models.ThreeHundredAndTwentyFive = { +const value: models.ThreeHundredAndTwentyEight = { next: { - functionZeroConfigFailover: false, + functionZeroConfigFailover: true, }, previous: { functionZeroConfigFailover: true, @@ -3610,32 +3590,32 @@ const value: models.ThreeHundredAndTwentyFive = { }; ``` -### `models.ThreeHundredAndTwentySix` +### `models.ThreeHundredAndTwentyNine` ```typescript -const value: models.ThreeHundredAndTwentySix = { +const value: models.ThreeHundredAndTwentyNine = { previewDeploymentSuffix: "", projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndTwentySeven` +### `models.ThreeHundredAndThirty` ```typescript -const value: models.ThreeHundredAndTwentySeven = { +const value: models.ThreeHundredAndThirty = { newProjectName: "", projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndTwentyEight` +### `models.ThreeHundredAndThirtyOne` ```typescript -const value: models.ThreeHundredAndTwentyEight = { +const value: models.ThreeHundredAndThirtyOne = { next: { - gitProvider: "github-custom-host", + gitProvider: "cursor-origin", gitRepoId: "", gitRepositoryName: "", }, @@ -3644,11 +3624,11 @@ const value: models.ThreeHundredAndTwentyEight = { }; ``` -### `models.ThreeHundredAndTwentyNine` +### `models.ThreeHundredAndThirtyTwo` ```typescript -const value: models.ThreeHundredAndTwentyNine = { - gitProvider: "bitbucket", +const value: models.ThreeHundredAndThirtyTwo = { + gitProvider: "cursor-origin", gitRepoId: "", gitRepositoryName: "", projectId: "", @@ -3656,109 +3636,109 @@ const value: models.ThreeHundredAndTwentyNine = { }; ``` -### `models.ThreeHundredAndThirty` +### `models.ThreeHundredAndThirtyThree` ```typescript -const value: models.ThreeHundredAndThirty = { +const value: models.ThreeHundredAndThirtyThree = { onPullRequest: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyOne` +### `models.ThreeHundredAndThirtyFour` ```typescript -const value: models.ThreeHundredAndThirtyOne = { +const value: models.ThreeHundredAndThirtyFour = { onCommit: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyTwo` +### `models.ThreeHundredAndThirtyFive` ```typescript -const value: models.ThreeHundredAndThirtyTwo = { +const value: models.ThreeHundredAndThirtyFive = { disableRepositoryDispatchEvents: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyThree` +### `models.ThreeHundredAndThirtySix` ```typescript -const value: models.ThreeHundredAndThirtyThree = { +const value: models.ThreeHundredAndThirtySix = { createDeployments: "disabled", projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyFour` +### `models.ThreeHundredAndThirtySeven` ```typescript -const value: models.ThreeHundredAndThirtyFour = { +const value: models.ThreeHundredAndThirtySeven = { projectId: "", projectName: "", - requireVerifiedCommits: true, + requireVerifiedCommits: false, }; ``` -### `models.ThreeHundredAndThirtyFive` +### `models.ThreeHundredAndThirtyEight` ```typescript -const value: models.ThreeHundredAndThirtyFive = { +const value: models.ThreeHundredAndThirtyEight = { requireVerifiedCommits: true, }; ``` -### `models.ThreeHundredAndThirtySix` +### `models.ThreeHundredAndThirtyNine` ```typescript -const value: models.ThreeHundredAndThirtySix = { +const value: models.ThreeHundredAndThirtyNine = { disableRepositoryDispatchEvents: true, }; ``` -### `models.ThreeHundredAndThirtySeven` +### `models.ThreeHundredAndForty` ```typescript -const value: models.ThreeHundredAndThirtySeven = { - gitCommitStatus: false, +const value: models.ThreeHundredAndForty = { + gitCommitStatus: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyEight` +### `models.ThreeHundredAndFortyOne` ```typescript -const value: models.ThreeHundredAndThirtyEight = { +const value: models.ThreeHundredAndFortyOne = { gitLFS: true, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndThirtyNine` +### `models.ThreeHundredAndFortyTwo` ```typescript -const value: models.ThreeHundredAndThirtyNine = { +const value: models.ThreeHundredAndFortyTwo = { consolidatedGitCommitStatus: { enabled: false, - propagateFailures: false, + propagateFailures: true, }, projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndForty` +### `models.ThreeHundredAndFortyThree` ```typescript -const value: models.ThreeHundredAndForty = { +const value: models.ThreeHundredAndFortyThree = { next: {}, previous: {}, projectId: "", @@ -3766,11 +3746,11 @@ const value: models.ThreeHundredAndForty = { }; ``` -### `models.ThreeHundredAndFortyOne` +### `models.ThreeHundredAndFortyFour` ```typescript -const value: models.ThreeHundredAndFortyOne = { - domain: "excellent-affect.org", +const value: models.ThreeHundredAndFortyFour = { + domain: "genuine-adviser.info", gitBranch: "", projectId: "", projectName: "", @@ -3780,22 +3760,22 @@ const value: models.ThreeHundredAndFortyOne = { }; ``` -### `models.ThreeHundredAndFortyTwo` +### `models.ThreeHundredAndFortyFive` ```typescript -const value: models.ThreeHundredAndFortyTwo = { - domain: "smug-stump.biz", +const value: models.ThreeHundredAndFortyFive = { + domain: "winding-pine.net", projectId: "", projectName: "", target: "", }; ``` -### `models.ThreeHundredAndFortyThree` +### `models.ThreeHundredAndFortySix` ```typescript -const value: models.ThreeHundredAndFortyThree = { - domain: "windy-babushka.info", +const value: models.ThreeHundredAndFortySix = { + domain: "spherical-numeric.info", newProjectId: "", newProjectName: "", oldProjectId: "", @@ -3803,87 +3783,87 @@ const value: models.ThreeHundredAndFortyThree = { }; ``` -### `models.ThreeHundredAndFortyFour` +### `models.ThreeHundredAndFortySeven` ```typescript -const value: models.ThreeHundredAndFortyFour = { - domain: "genuine-adviser.info", +const value: models.ThreeHundredAndFortySeven = { + domain: "uneven-sushi.net", projectId: "", projectName: "", }; ``` -### `models.ThreeHundredAndFortyFive` +### `models.ThreeHundredAndFortyEight` ```typescript -const value: models.ThreeHundredAndFortyFive = { +const value: models.ThreeHundredAndFortyEight = { projects: [ { - membershipCreatedAt: 6735.86, + membershipCreatedAt: 3559.04, projectId: "", - role: "PROJECT_GUEST", + role: "PROJECT_DEVELOPER", }, ], }; ``` -### `models.ThreeHundredAndFortySix` +### `models.ThreeHundredAndFortyNine` ```typescript -const value: models.ThreeHundredAndFortySix = { - domain: "spherical-numeric.info", +const value: models.ThreeHundredAndFortyNine = { + domain: "variable-arcade.name", projectId: "", projectName: "", target: "", }; ``` -### `models.ThreeHundredAndFortySeven` +### `models.ThreeHundredAndFifty` ```typescript -const value: models.ThreeHundredAndFortySeven = { +const value: models.ThreeHundredAndFifty = { project: { name: "", }, projectMembership: { - createdAt: 8742.23, + createdAt: 2642.09, role: "PROJECT_GUEST", uid: "", }, }; ``` -### `models.ThreeHundredAndFortyEight` +### `models.ThreeHundredAndFiftyOne` ```typescript -const value: models.ThreeHundredAndFortyEight = { +const value: models.ThreeHundredAndFiftyOne = { project: { invitedUserName: "", name: "", - role: "PROJECT_VIEWER", + role: "PROJECT_DEVELOPER", }, }; ``` -### `models.ThreeHundredAndFortyNine` +### `models.ThreeHundredAndFiftyTwo` ```typescript -const value: models.ThreeHundredAndFortyNine = { +const value: models.ThreeHundredAndFiftyTwo = { project: { name: "", }, removedMembership: { - createdAt: 9263.75, + createdAt: 3984.46, role: "ADMIN", uid: "", }, }; ``` -### `models.ThreeHundredAndFifty` +### `models.ThreeHundredAndFiftyThree` ```typescript -const value: models.ThreeHundredAndFifty = { +const value: models.ThreeHundredAndFiftyThree = { project: { id: "", name: "", @@ -3892,29 +3872,29 @@ const value: models.ThreeHundredAndFifty = { }; ``` -### `models.ThreeHundredAndFiftyOne` +### `models.ThreeHundredAndFiftyFour` ```typescript -const value: models.ThreeHundredAndFiftyOne = { +const value: models.ThreeHundredAndFiftyFour = { newProjectName: "", originAccountName: "", previousProjectName: "", }; ``` -### `models.ThreeHundredAndFiftyTwo` +### `models.ThreeHundredAndFiftyFive` ```typescript -const value: models.ThreeHundredAndFiftyTwo = { +const value: models.ThreeHundredAndFiftyFive = { destinationAccountName: "", projectName: "", }; ``` -### `models.ThreeHundredAndFiftyThree` +### `models.ThreeHundredAndFiftySix` ```typescript -const value: models.ThreeHundredAndFiftyThree = { +const value: models.ThreeHundredAndFiftySix = { destinationAccountId: "", destinationAccountName: "", originAccountName: "", @@ -3923,59 +3903,32 @@ const value: models.ThreeHundredAndFiftyThree = { }; ``` -### `models.ThreeHundredAndFiftyFour` +### `models.ThreeHundredAndFiftySeven` ```typescript -const value: models.ThreeHundredAndFiftyFour = { +const value: models.ThreeHundredAndFiftySeven = { destinationAccountName: "", newProjectName: "", previousProjectName: "", }; ``` -### `models.ThreeHundredAndFiftyFive` +### `models.ThreeHundredAndFiftyEight` ```typescript -const value: models.ThreeHundredAndFiftyFive = { +const value: models.ThreeHundredAndFiftyEight = { projectId: "", projectName: "", source: "", }; ``` -### `models.ThreeHundredAndFiftySix` - -```typescript -const value: models.ThreeHundredAndFiftySix = { - projectId: "", - projectName: "", -}; -``` - -### `models.ThreeHundredAndFiftySeven` - -```typescript -const value: models.ThreeHundredAndFiftySeven = { - projectId: "", - projectName: "", - removeVercelRequestHeaders: false, -}; -``` - -### `models.ThreeHundredAndFiftyEight` - -```typescript -const value: models.ThreeHundredAndFiftyEight = { - oldPasswordProtection: "preview", - passwordProtection: "all_except_custom_domains", -}; -``` - ### `models.ThreeHundredAndFiftyNine` ```typescript const value: models.ThreeHundredAndFiftyNine = { projectId: "", + projectName: "", }; ``` @@ -3983,8 +3936,9 @@ const value: models.ThreeHundredAndFiftyNine = { ```typescript const value: models.ThreeHundredAndSixty = { - expiresAt: 7472.76, projectId: "", + projectName: "", + removeVercelRequestHeaders: false, }; ``` @@ -3992,7 +3946,12 @@ const value: models.ThreeHundredAndSixty = { ```typescript const value: models.ThreeHundredAndSixtyOne = { - projectId: "", + oldPasswordProtection: { + deploymentType: "preview", + }, + passwordProtection: { + deploymentType: "all_except_custom_domains", + }, }; ``` @@ -4000,8 +3959,7 @@ const value: models.ThreeHundredAndSixtyOne = { ```typescript const value: models.ThreeHundredAndSixtyTwo = { - consent: "refused", - projectName: "", + projectId: "", }; ``` @@ -4009,10 +3967,8 @@ const value: models.ThreeHundredAndSixtyTwo = { ```typescript const value: models.ThreeHundredAndSixtyThree = { - deploymentId: "", - projectAccountId: "", + expiresAt: 3892.1, projectId: "", - projectName: "", }; ``` @@ -4021,7 +3977,6 @@ const value: models.ThreeHundredAndSixtyThree = { ```typescript const value: models.ThreeHundredAndSixtyFour = { projectId: "", - projectName: "", }; ``` @@ -4029,7 +3984,7 @@ const value: models.ThreeHundredAndSixtyFour = { ```typescript const value: models.ThreeHundredAndSixtyFive = { - projectId: "", + consent: "granted", projectName: "", }; ``` @@ -4038,8 +3993,8 @@ const value: models.ThreeHundredAndSixtyFive = { ```typescript const value: models.ThreeHundredAndSixtySix = { - next: {}, - previous: {}, + deploymentId: "", + projectAccountId: "", projectId: "", projectName: "", }; @@ -4058,10 +4013,6 @@ const value: models.ThreeHundredAndSixtySeven = { ```typescript const value: models.ThreeHundredAndSixtyEight = { - next: { - issuerMode: "team", - }, - previous: {}, projectId: "", projectName: "", }; @@ -4071,7 +4022,8 @@ const value: models.ThreeHundredAndSixtyEight = { ```typescript const value: models.ThreeHundredAndSixtyNine = { - customerSupportCodeVisibility: false, + next: {}, + previous: {}, projectId: "", projectName: "", }; @@ -4081,7 +4033,6 @@ const value: models.ThreeHundredAndSixtyNine = { ```typescript const value: models.ThreeHundredAndSeventy = { - gitForkProtection: false, projectId: "", projectName: "", }; @@ -4091,9 +4042,12 @@ const value: models.ThreeHundredAndSeventy = { ```typescript const value: models.ThreeHundredAndSeventyOne = { + next: { + issuerMode: "global", + }, + previous: {}, projectId: "", projectName: "", - protectedSourcemaps: true, }; ``` @@ -4101,7 +4055,7 @@ const value: models.ThreeHundredAndSeventyOne = { ```typescript const value: models.ThreeHundredAndSeventyTwo = { - inheritDeploymentProtection: false, + customerSupportCodeVisibility: false, projectId: "", projectName: "", }; @@ -4111,9 +4065,9 @@ const value: models.ThreeHundredAndSeventyTwo = { ```typescript const value: models.ThreeHundredAndSeventyThree = { + gitForkProtection: true, projectId: "", projectName: "", - publicSource: true, }; ``` @@ -4121,8 +4075,9 @@ const value: models.ThreeHundredAndSeventyThree = { ```typescript const value: models.ThreeHundredAndSeventyFour = { - next: {}, - previous: {}, + projectId: "", + projectName: "", + protectedSourcemaps: false, }; ``` @@ -4130,10 +4085,7 @@ const value: models.ThreeHundredAndSeventyFour = { ```typescript const value: models.ThreeHundredAndSeventyFive = { - next: { - skewProtectionBoundaryAt: 5899.86, - }, - previous: {}, + inheritDeploymentProtection: false, projectId: "", projectName: "", }; @@ -4143,12 +4095,9 @@ const value: models.ThreeHundredAndSeventyFive = { ```typescript const value: models.ThreeHundredAndSeventySix = { - next: { - skewProtectionMaxAge: 1251.84, - }, - previous: {}, projectId: "", projectName: "", + publicSource: true, }; ``` @@ -4156,12 +4105,8 @@ const value: models.ThreeHundredAndSeventySix = { ```typescript const value: models.ThreeHundredAndSeventySeven = { - next: { - skewProtectionAllowedDomains: [], - }, + next: {}, previous: {}, - projectId: "", - projectName: "", }; ``` @@ -4169,10 +4114,12 @@ const value: models.ThreeHundredAndSeventySeven = { ```typescript const value: models.ThreeHundredAndSeventyEight = { - oldSsoProtection: { - deploymentType: "all_except_custom_domains", + next: { + skewProtectionBoundaryAt: 6545.82, }, - ssoProtection: "all", + previous: {}, + projectId: "", + projectName: "", }; ``` @@ -4181,19 +4128,9 @@ const value: models.ThreeHundredAndSeventyEight = { ```typescript const value: models.ThreeHundredAndSeventyNine = { next: { - project: { - staticIps: { - enabled: false, - }, - }, - }, - previous: { - project: { - staticIps: { - enabled: false, - }, - }, + skewProtectionMaxAge: 6297.61, }, + previous: {}, projectId: "", projectName: "", }; @@ -4203,6 +4140,12 @@ const value: models.ThreeHundredAndSeventyNine = { ```typescript const value: models.ThreeHundredAndEighty = { + next: { + skewProtectionAllowedDomains: [ + "", + ], + }, + previous: {}, projectId: "", projectName: "", }; @@ -4212,29 +4155,10 @@ const value: models.ThreeHundredAndEighty = { ```typescript const value: models.ThreeHundredAndEightyOne = { - addedProjects: [ - { - id: "", - name: "", - }, - ], - addedProviders: [ - "", - "", - ], - projectId: "", - projectName: "", - removedProjects: [ - { - id: "", - name: "", - }, - ], - removedProviders: [ - "", - "", - "", - ], + oldSsoProtection: "prod_deployment_urls_and_all_previews", + ssoProtection: { + deploymentType: "preview", + }, }; ``` @@ -4242,7 +4166,22 @@ const value: models.ThreeHundredAndEightyOne = { ```typescript const value: models.ThreeHundredAndEightyTwo = { + next: { + project: { + staticIps: { + enabled: true, + }, + }, + }, + previous: { + project: { + staticIps: { + enabled: false, + }, + }, + }, projectId: "", + projectName: "", }; ``` @@ -4259,9 +4198,17 @@ const value: models.ThreeHundredAndEightyThree = { ```typescript const value: models.ThreeHundredAndEightyFour = { - gitProvider: "", - gitProviderGroupDescriptor: "", - gitScope: "", + addedProjects: [], + addedProviders: [], + projectId: "", + projectName: "", + removedProjects: [ + { + id: "", + name: "", + }, + ], + removedProviders: [], }; ``` @@ -4269,8 +4216,7 @@ const value: models.ThreeHundredAndEightyFour = { ```typescript const value: models.ThreeHundredAndEightyFive = { - connectionId: "", - connectionType: "", + projectId: "", }; ``` @@ -4278,10 +4224,8 @@ const value: models.ThreeHundredAndEightyFive = { ```typescript const value: models.ThreeHundredAndEightySix = { - connectionId: "", - actorType: "admin", - certificateFingerprints: [], - created: false, + projectId: "", + projectName: "", }; ``` @@ -4289,28 +4233,33 @@ const value: models.ThreeHundredAndEightySix = { ```typescript const value: models.ThreeHundredAndEightySeven = { - certificateFingerprints: [], - connectionId: "", - created: false, + gitProvider: "", + gitProviderGroupDescriptor: "", + gitScope: "", }; ``` ### `models.ThreeHundredAndEightyEight` ```typescript -const value: models.ThreeHundredAndEightyEight = {}; +const value: models.ThreeHundredAndEightyEight = { + connectionId: "", + connectionType: "", +}; ``` ### `models.ThreeHundredAndEightyNine` ```typescript const value: models.ThreeHundredAndEightyNine = { + connectionId: "", + actorType: "admin", certificateFingerprints: [ "", "", "", ], - connectionId: "", + created: true, }; ``` @@ -4318,50 +4267,43 @@ const value: models.ThreeHundredAndEightyNine = { ```typescript const value: models.ThreeHundredAndNinety = { + certificateFingerprints: [ + "", + "", + ], connectionId: "", - actorType: "admin", - keyId: "", + created: false, }; ``` ### `models.ThreeHundredAndNinetyOne` ```typescript -const value: models.ThreeHundredAndNinetyOne = { - connectionId: "", - actorType: "admin", - keyId: "", - signingEnabled: true, - signingKeyId: "", -}; +const value: models.ThreeHundredAndNinetyOne = {}; ``` ### `models.ThreeHundredAndNinetyTwo` ```typescript const value: models.ThreeHundredAndNinetyTwo = { - alias: "", - sandboxName: "", + certificateFingerprints: [ + "", + ], + connectionId: "", }; ``` ### `models.ThreeHundredAndNinetyThree` ```typescript -const value: models.ThreeHundredAndNinetyThree = { - projectId: "", - sandboxId: "", -}; +const value: models.ThreeHundredAndNinetyThree = {}; ``` ### `models.ThreeHundredAndNinetyFour` ```typescript const value: models.ThreeHundredAndNinetyFour = { - projectId: "", - projectName: "", - snapshotId: "", - targetRegions: [], + keyId: "", }; ``` @@ -4369,10 +4311,9 @@ const value: models.ThreeHundredAndNinetyFour = { ```typescript const value: models.ThreeHundredAndNinetyFive = { - email: "Edward33@hotmail.com", - name: "", - projectId: "", - sandboxId: "", + keyId: "", + signingEnabled: false, + signingKeyId: "", }; ``` @@ -4380,8 +4321,8 @@ const value: models.ThreeHundredAndNinetyFive = { ```typescript const value: models.ThreeHundredAndNinetySix = { - instances: 1517.8, - url: "https://dramatic-populist.net", + projectId: "", + sandboxId: "", }; ``` @@ -4389,8 +4330,8 @@ const value: models.ThreeHundredAndNinetySix = { ```typescript const value: models.ThreeHundredAndNinetySeven = { - email: "Treva24@gmail.com", - verified: true, + alias: "", + sandboxName: "", }; ``` @@ -4398,10 +4339,10 @@ const value: models.ThreeHundredAndNinetySeven = { ```typescript const value: models.ThreeHundredAndNinetyEight = { - email: "Myrl39@gmail.com", - verified: true, - actorId: "", - actorType: "admin", + expiryNotificationLeadTime: 1390.5, + projectId: "", + projectName: "", + sandboxName: "", }; ``` @@ -4409,7 +4350,10 @@ const value: models.ThreeHundredAndNinetyEight = { ```typescript const value: models.ThreeHundredAndNinetyNine = { - email: "Scottie_Nitzsche@gmail.com", + projectId: "", + projectName: "", + snapshotId: "", + targetRegions: [], }; ``` @@ -4417,10 +4361,10 @@ const value: models.ThreeHundredAndNinetyNine = { ```typescript const value: models.FourHundred = { - name: { - name: "", - }, - uid: "", + email: "Lester.Beahan45@hotmail.com", + name: "", + projectId: "", + sandboxId: "", }; ``` @@ -4428,8 +4372,8 @@ const value: models.FourHundred = { ```typescript const value: models.FourHundredAndOne = { - newName: "", - oldName: "", + instances: 8763.22, + url: "https://cute-turret.name", }; ``` @@ -4437,8 +4381,8 @@ const value: models.FourHundredAndOne = { ```typescript const value: models.FourHundredAndTwo = { - enabled: true, - updatedAt: 3726.82, + email: "Gage_Koepp82@gmail.com", + verified: false, }; ``` @@ -4446,7 +4390,10 @@ const value: models.FourHundredAndTwo = { ```typescript const value: models.FourHundredAndThree = { - bio: "", + email: "Trey66@gmail.com", + verified: true, + actorId: "", + actorType: "admin", }; ``` @@ -4454,48 +4401,93 @@ const value: models.FourHundredAndThree = { ```typescript const value: models.FourHundredAndFour = { - max: 4578.24, - min: 3682.95, - scalingRules: {}, - url: "https://cuddly-in-joke.info", + email: "Freeda.Rolfson@yahoo.com", }; ``` ### `models.FourHundredAndFive` ```typescript -const value: models.FourHundredAndFive = {}; +const value: models.FourHundredAndFive = { + name: { + name: "", + }, + uid: "", +}; ``` ### `models.FourHundredAndSix` ```typescript const value: models.FourHundredAndSix = { + newName: "", + oldName: "", +}; +``` + +### `models.FourHundredAndSeven` + +```typescript +const value: models.FourHundredAndSeven = { + enabled: true, + updatedAt: 2823.21, +}; +``` + +### `models.FourHundredAndEight` + +```typescript +const value: models.FourHundredAndEight = { + bio: "", +}; +``` + +### `models.FourHundredAndNine` + +```typescript +const value: models.FourHundredAndNine = { + max: 1078.57, + min: 6251.95, + scalingRules: {}, + url: "https://wide-eyed-ethyl.name/", +}; +``` + +### `models.FourHundredAndTen` + +```typescript +const value: models.FourHundredAndTen = {}; +``` + +### `models.FourHundredAndEleven` + +```typescript +const value: models.FourHundredAndEleven = { bitbucketEmail: "", bitbucketLogin: "", bitbucketName: "", - email: "Royal.Kuhlman36@yahoo.com", + email: "Joy.Moore39@hotmail.com", zeitAccount: "", zeitAccountType: "", }; ``` -### `models.FourHundredAndSeven` +### `models.FourHundredAndTwelve` ```typescript -const value: models.FourHundredAndSeven = { - email: "Earnestine.Batz12@gmail.com", +const value: models.FourHundredAndTwelve = { + email: "Devan_Ankunding70@yahoo.com", githubLogin: "", zeitAccount: "", zeitAccountType: "", }; ``` -### `models.FourHundredAndEight` +### `models.FourHundredAndThirteen` ```typescript -const value: models.FourHundredAndEight = { - email: "Ernie.Lindgren@hotmail.com", +const value: models.FourHundredAndThirteen = { + email: "Garrison.Klein@hotmail.com", gitlabEmail: "", gitlabLogin: "", gitlabName: "", @@ -4504,37 +4496,32 @@ const value: models.FourHundredAndEight = { }; ``` -### `models.FourHundredAndNine` +### `models.FourHundredAndFourteen` ```typescript -const value: models.FourHundredAndNine = { +const value: models.FourHundredAndFourteen = { previous: { - sampleRatePercent: 6251.95, - spendLimitInDollars: null, + sampleRatePercent: 7373, + spendLimitInDollars: 6514.48, }, - sampleRatePercent: 9677.09, - spendLimitInDollars: 6172.44, + sampleRatePercent: 2217.6, + spendLimitInDollars: 5871.4, }; ``` -### `models.FourHundredAndTen` +### `models.FourHundredAndFifteen` ```typescript -const value: models.FourHundredAndTen = { +const value: models.FourHundredAndFifteen = { budget: { budgetItem: { - createdAt: 6091.93, - fixedBudget: 5022.96, + createdAt: 8193.79, + fixedBudget: 452.57, id: "", isActive: false, - notifiedAt: [ - 5110.69, - 6062.38, - 1999.65, - ], + notifiedAt: [], previousSpend: [ - 1319.54, - 7602.32, + 5760.81, ], teamId: "", type: "fixed", @@ -4543,87 +4530,86 @@ const value: models.FourHundredAndTen = { }; ``` -### `models.FourHundredAndEleven` +### `models.FourHundredAndSixteen` ```typescript -const value: models.FourHundredAndEleven = { +const value: models.FourHundredAndSixteen = { budget: { - createdAt: 7880.72, - fixedBudget: 5218.55, + createdAt: 7972.25, + fixedBudget: 1985.42, id: "", - isActive: false, + isActive: true, notifiedAt: [ - 3655.09, - 3977.17, + 6492.68, + 3880.38, + 7121.36, + ], + previousSpend: [ + 8724.71, ], - previousSpend: [], teamId: "", type: "fixed", }, }; ``` -### `models.FourHundredAndTwelve` +### `models.FourHundredAndSeventeen` ```typescript -const value: models.FourHundredAndTwelve = { +const value: models.FourHundredAndSeventeen = { budget: { - createdAt: 5326.88, - fixedBudget: 2602.16, + createdAt: 1760.76, + fixedBudget: 9734.94, id: "", isActive: true, - notifiedAt: [], - previousSpend: [ - 7086.65, - 3087.37, + notifiedAt: [ + 2934.14, ], + previousSpend: [], teamId: "", type: "fixed", }, }; ``` -### `models.FourHundredAndThirteen` +### `models.FourHundredAndEighteen` ```typescript -const value: models.FourHundredAndThirteen = { +const value: models.FourHundredAndEighteen = { budget: { - createdAt: 9402.7, - fixedBudget: 3762.08, + createdAt: 9832.3, + fixedBudget: 264.39, id: "", - isActive: false, + isActive: true, notifiedAt: [ - 221.55, - ], - previousSpend: [ - 4682.77, - 6039.48, - 4552.11, + 5205.41, + 7952.66, ], + previousSpend: [], teamId: "", type: "fixed", }, }; ``` -### `models.FourHundredAndFourteen` +### `models.FourHundredAndNineteen` ```typescript -const value: models.FourHundredAndFourteen = {}; +const value: models.FourHundredAndNineteen = {}; ``` -### `models.FourHundredAndFifteen` +### `models.FourHundredAndTwenty` ```typescript -const value: models.FourHundredAndFifteen = { - storeType: "postgres", +const value: models.FourHundredAndTwenty = { + storeType: "redis", }; ``` -### `models.FourHundredAndSixteen` +### `models.FourHundredAndTwentyOne` ```typescript -const value: models.FourHundredAndSixteen = { +const value: models.FourHundredAndTwentyOne = { store: { id: "", type: "postgres", @@ -4631,45 +4617,45 @@ const value: models.FourHundredAndSixteen = { }; ``` -### `models.FourHundredAndSeventeen` +### `models.FourHundredAndTwentyTwo` ```typescript -const value: models.FourHundredAndSeventeen = { +const value: models.FourHundredAndTwentyTwo = { store: { id: "", - type: "blob", + type: "integration", }, destinationTeamId: "", destinationTeamName: "", }; ``` -### `models.FourHundredAndEighteen` +### `models.FourHundredAndTwentyThree` ```typescript -const value: models.FourHundredAndEighteen = { +const value: models.FourHundredAndTwentyThree = { store: { id: "", - type: "redis", + type: "edge-config", }, originTeamId: "", originTeamName: "", }; ``` -### `models.FourHundredAndNineteen` +### `models.FourHundredAndTwentyFour` ```typescript -const value: models.FourHundredAndNineteen = { +const value: models.FourHundredAndTwentyFour = { id: "", type: "blob", }; ``` -### `models.FourHundredAndTwenty` +### `models.FourHundredAndTwentyFive` ```typescript -const value: models.FourHundredAndTwenty = { +const value: models.FourHundredAndTwentyFive = { store: { id: "", name: "", @@ -4677,97 +4663,98 @@ const value: models.FourHundredAndTwenty = { }; ``` -### `models.FourHundredAndTwentyOne` +### `models.FourHundredAndTwentySix` ```typescript -const value: models.FourHundredAndTwentyOne = { +const value: models.FourHundredAndTwentySix = { id: "", - type: "postgres", - locked: true, + type: "integration", + locked: false, }; ``` -### `models.FourHundredAndTwentyTwo` +### `models.FourHundredAndTwentySeven` ```typescript -const value: models.FourHundredAndTwentyTwo = {}; +const value: models.FourHundredAndTwentySeven = {}; ``` -### `models.FourHundredAndTwentyThree` +### `models.FourHundredAndTwentyEight` ```typescript -const value: models.FourHundredAndTwentyThree = { +const value: models.FourHundredAndTwentyEight = { slug: "", }; ``` -### `models.FourHundredAndTwentyFour` +### `models.FourHundredAndTwentyNine` ```typescript -const value: models.FourHundredAndTwentyFour = { +const value: models.FourHundredAndTwentyNine = { billingConsent: "security-review-usage-billing-v1", source: "", }; ``` -### `models.FourHundredAndTwentyFive` +### `models.FourHundredAndThirty` ```typescript -const value: models.FourHundredAndTwentyFive = { - action: "enable", +const value: models.FourHundredAndThirty = { + action: "update", codeReviewEnabled: false, cumulativeBalance: "", endpoint: "/v1/vade/usage-billing", ledgerId: "", next: { - enabled: false, - maximumOverdraft: "", + enabled: true, + maximumOverdraft: null, }, previous: { - enabled: true, + enabled: false, maximumOverdraft: "", }, removedTopupIds: [ "", + "", ], source: "", - topupCleanupCompleted: false, + topupCleanupCompleted: true, }; ``` -### `models.FourHundredAndTwentySix` +### `models.FourHundredAndThirtyOne` ```typescript -const value: models.FourHundredAndTwentySix = { +const value: models.FourHundredAndThirtyOne = { next: { enabled: true, includeDrafts: false, - scope: "selected_repos", + scope: "public", }, }; ``` -### `models.FourHundredAndTwentySeven` +### `models.FourHundredAndThirtyTwo` ```typescript -const value: models.FourHundredAndTwentySeven = { +const value: models.FourHundredAndThirtyTwo = { next: { enabled: false, - projectScope: "all", + projectScope: "none", }, previous: { - enabled: false, - projectScope: "selected", + enabled: true, + projectScope: "all", }, }; ``` -### `models.FourHundredAndTwentyEight` +### `models.FourHundredAndThirtyThree` ```typescript -const value: models.FourHundredAndTwentyEight = { +const value: models.FourHundredAndThirtyThree = { next: { - enabled: false, + enabled: true, }, previous: { enabled: true, @@ -4775,75 +4762,71 @@ const value: models.FourHundredAndTwentyEight = { }; ``` -### `models.FourHundredAndTwentyNine` +### `models.FourHundredAndThirtyFour` ```typescript -const value: models.FourHundredAndTwentyNine = { - amount: "168.20", - currency: "Balboa", - expiresAt: "1756093364375", - trialCreditsIssuedAt: 4930.99, +const value: models.FourHundredAndThirtyFour = { + amount: "907.43", + currency: "Convertible Marks", + expiresAt: "1738495492510", + trialCreditsIssuedAt: 3818.97, }; ``` -### `models.FourHundredAndThirty` +### `models.FourHundredAndThirtyFive` ```typescript -const value: models.FourHundredAndThirty = { +const value: models.FourHundredAndThirtyFive = { eventId: "", - occurredAt: 8898.39, + occurredAt: 1907.99, sessionId: "", sessionKind: "", surface: "", }; ``` -### `models.FourHundredAndThirtyOne` +### `models.FourHundredAndThirtySix` ```typescript -const value: models.FourHundredAndThirtyOne = { +const value: models.FourHundredAndThirtySix = { eventId: "", - occurredAt: 2560.68, + occurredAt: 3637.14, sessionId: "", sessionKind: "", surface: "", - elevatedScopeCount: 8582.4, + elevatedScopeCount: 7354, elevatedScopes: [ "", "", ], - githubScopeCount: 7477.16, + githubScopeCount: 7634.03, githubScopes: [], - mergedScopeCount: 9259.04, + mergedScopeCount: 3946.35, mergedScopes: [ "", "", "", ], planId: "", - requestedScopeCount: 7462.46, - requestedScopes: [ - "", - "", - "", - ], + requestedScopeCount: 9610.15, + requestedScopes: [], }; ``` -### `models.FourHundredAndThirtyTwo` +### `models.FourHundredAndThirtySeven` ```typescript -const value: models.FourHundredAndThirtyTwo = { +const value: models.FourHundredAndThirtySeven = { eventId: "", - occurredAt: 8902.44, + occurredAt: 4131.14, sessionId: "", sessionKind: "", surface: "", - branchRef: "", + branchRef: null, deploymentId: "", environment: "", findingId: "", - findingNumber: 6976.95, + findingNumber: 8502.31, severity: "", targetId: "", targetKind: "project", @@ -4852,96 +4835,59 @@ const value: models.FourHundredAndThirtyTwo = { }; ``` -### `models.FourHundredAndThirtyThree` +### `models.FourHundredAndThirtyEight` ```typescript -const value: models.FourHundredAndThirtyThree = { +const value: models.FourHundredAndThirtyEight = { eventId: "", - occurredAt: 2642.8, + occurredAt: 3429.52, sessionId: "", sessionKind: "", surface: "", branchRef: "", - deploymentId: null, + deploymentId: "", environment: "", findingId: "", - findingNumber: 5971.14, + findingNumber: 1519.46, severity: "", targetId: "", - targetKind: "repository", + targetKind: "project", targetName: "", vulnerabilityClass: "", - closeReason: "false-positive", + closeReason: "accepted-risk", }; ``` -### `models.FourHundredAndThirtyFour` +### `models.FourHundredAndThirtyNine` ```typescript -const value: models.FourHundredAndThirtyFour = { +const value: models.FourHundredAndThirtyNine = { eventId: "", - occurredAt: 9074.28, + occurredAt: 8193.14, sessionId: "", sessionKind: "", surface: "", - branchRef: null, - deploymentId: null, + branchRef: "", + deploymentId: "", environment: "", findingId: "", - findingNumber: 9403.02, + findingNumber: 4945.02, severity: "", targetId: "", targetKind: "project", targetName: "", vulnerabilityClass: "", - dismissalReason: "false-positive", -}; -``` - -### `models.FourHundredAndThirtyFive` - -```typescript -const value: models.FourHundredAndThirtyFive = { - eventId: "", - occurredAt: 1907.99, - projectId: "", + dismissalReason: "accepted-risk", }; ``` -### `models.FourHundredAndThirtySix` - -```typescript -const value: models.FourHundredAndThirtySix = { - next: "manual-approval", - previous: "manual-approval", -}; -``` - -### `models.FourHundredAndThirtySeven` - -```typescript -const value: models.FourHundredAndThirtySeven = {}; -``` - -### `models.FourHundredAndThirtyEight` - -```typescript -const value: models.FourHundredAndThirtyEight = {}; -``` - -### `models.FourHundredAndThirtyNine` - -```typescript -const value: models.FourHundredAndThirtyNine = {}; -``` - ### `models.FourHundredAndForty` ```typescript const value: models.FourHundredAndForty = { - by: "", - slug: "", - teamId: "", + eventId: "", + occurredAt: 8824.11, + projectId: "", }; ``` @@ -4949,44 +4895,36 @@ const value: models.FourHundredAndForty = { ```typescript const value: models.FourHundredAndFortyOne = { - enabled: false, + next: "manual-approval", + previous: "block", }; ``` ### `models.FourHundredAndFortyTwo` ```typescript -const value: models.FourHundredAndFortyTwo = { - next: {}, - previous: {}, -}; +const value: models.FourHundredAndFortyTwo = {}; ``` ### `models.FourHundredAndFortyThree` ```typescript -const value: models.FourHundredAndFortyThree = { - action: "reset", - targetId: "", -}; +const value: models.FourHundredAndFortyThree = {}; ``` ### `models.FourHundredAndFortyFour` ```typescript -const value: models.FourHundredAndFortyFour = { - enabled: true, -}; +const value: models.FourHundredAndFortyFour = {}; ``` ### `models.FourHundredAndFortyFive` ```typescript const value: models.FourHundredAndFortyFive = { - enabled: true, - environment: "preview", - projectId: "", - projectName: "", + by: "", + slug: "", + teamId: "", }; ``` @@ -4994,37 +4932,44 @@ const value: models.FourHundredAndFortyFive = { ```typescript const value: models.FourHundredAndFortySix = { - enabled: "on-force", - environment: "production", + enabled: false, }; ``` ### `models.FourHundredAndFortySeven` ```typescript -const value: models.FourHundredAndFortySeven = {}; +const value: models.FourHundredAndFortySeven = { + next: {}, + previous: {}, +}; ``` ### `models.FourHundredAndFortyEight` ```typescript const value: models.FourHundredAndFortyEight = { - deletedCount: 8577.16, - inviteIds: [], + action: "updated", + targetId: "", }; ``` ### `models.FourHundredAndFortyNine` ```typescript -const value: models.FourHundredAndFortyNine = {}; +const value: models.FourHundredAndFortyNine = { + enabled: false, +}; ``` ### `models.FourHundredAndFifty` ```typescript const value: models.FourHundredAndFifty = { - teamName: "", + enabled: false, + environment: "production", + projectId: "", + projectName: "", }; ``` @@ -5032,7 +4977,8 @@ const value: models.FourHundredAndFifty = { ```typescript const value: models.FourHundredAndFiftyOne = { - teamName: "", + enabled: "on", + environment: "preview", }; ``` @@ -5046,53 +4992,52 @@ const value: models.FourHundredAndFiftyTwo = {}; ```typescript const value: models.FourHundredAndFiftyThree = { - entitlement: "", - user: { - id: "", - username: "Daphnee.Dicki12", - }, + deletedCount: 2294.38, + inviteIds: [ + "", + "", + "", + ], }; ``` ### `models.FourHundredAndFiftyFour` ```typescript -const value: models.FourHundredAndFiftyFour = { - entitlement: "", - user: { - id: "", - username: "Anabel1", - }, -}; +const value: models.FourHundredAndFiftyFour = {}; ``` ### `models.FourHundredAndFiftyFive` ```typescript -const value: models.FourHundredAndFiftyFive = {}; +const value: models.FourHundredAndFiftyFive = { + teamName: "", +}; ``` ### `models.FourHundredAndFiftySix` ```typescript const value: models.FourHundredAndFiftySix = { - requestedTeamName: "", + teamName: "", }; ``` ### `models.FourHundredAndFiftySeven` ```typescript -const value: models.FourHundredAndFiftySeven = { - previousRole: "", -}; +const value: models.FourHundredAndFiftySeven = {}; ``` ### `models.FourHundredAndFiftyEight` ```typescript const value: models.FourHundredAndFiftyEight = { - authorized: true, + entitlement: "", + user: { + id: "", + username: "Caleb_Satterfield", + }, }; ``` @@ -5100,26 +5045,25 @@ const value: models.FourHundredAndFiftyEight = { ```typescript const value: models.FourHundredAndFiftyNine = { - enforced: false, + entitlement: "", + user: { + id: "", + username: "Maida21", + }, }; ``` ### `models.FourHundredAndSixty` ```typescript -const value: models.FourHundredAndSixty = { - expiresAt: "1755593942532", - maxUses: 3116.25, - publicId: "", - role: "", -}; +const value: models.FourHundredAndSixty = {}; ``` ### `models.FourHundredAndSixtyOne` ```typescript const value: models.FourHundredAndSixtyOne = { - publicId: "", + requestedTeamName: "", }; ``` @@ -5127,8 +5071,7 @@ const value: models.FourHundredAndSixtyOne = { ```typescript const value: models.FourHundredAndSixtyTwo = { - nextConcurrentBuilds: 89.49, - previousConcurrentBuilds: 684.94, + previousRole: "", }; ``` @@ -5136,7 +5079,7 @@ const value: models.FourHundredAndSixtyTwo = { ```typescript const value: models.FourHundredAndSixtyThree = { - plan: "enterprise", + authorized: true, }; ``` @@ -5144,30 +5087,35 @@ const value: models.FourHundredAndSixtyThree = { ```typescript const value: models.FourHundredAndSixtyFour = { - convertedFromTrial: false, - invoiceId: "", - plan: "hobby", + enforced: false, }; ``` ### `models.FourHundredAndSixtyFive` ```typescript -const value: models.FourHundredAndSixtyFive = {}; +const value: models.FourHundredAndSixtyFive = { + expiresAt: "1737220661930", + maxUses: 2531.33, + publicId: "", + role: "", +}; ``` ### `models.FourHundredAndSixtySix` ```typescript -const value: models.FourHundredAndSixtySix = {}; +const value: models.FourHundredAndSixtySix = { + publicId: "", +}; ``` ### `models.FourHundredAndSixtySeven` ```typescript const value: models.FourHundredAndSixtySeven = { - actorId: "", - actorType: "admin", + nextConcurrentBuilds: 2136.74, + previousConcurrentBuilds: 5943.64, }; ``` @@ -5175,8 +5123,7 @@ const value: models.FourHundredAndSixtySeven = { ```typescript const value: models.FourHundredAndSixtyEight = { - decision: "turn_off", - version: "", + plan: "hobby", }; ``` @@ -5184,17 +5131,16 @@ const value: models.FourHundredAndSixtyEight = { ```typescript const value: models.FourHundredAndSixtyNine = { - acceptanceId: "", - termsVersion: "", + convertedFromTrial: false, + invoiceId: "", + plan: "hobby", }; ``` ### `models.FourHundredAndSeventy` ```typescript -const value: models.FourHundredAndSeventy = { - consent: "refused", -}; +const value: models.FourHundredAndSeventy = {}; ``` ### `models.FourHundredAndSeventyOne` @@ -5207,7 +5153,8 @@ const value: models.FourHundredAndSeventyOne = {}; ```typescript const value: models.FourHundredAndSeventyTwo = { - deletedCount: 6847.3, + actorId: "", + actorType: "admin", }; ``` @@ -5215,7 +5162,8 @@ const value: models.FourHundredAndSeventyTwo = { ```typescript const value: models.FourHundredAndSeventyThree = { - enabled: "off", + decision: "turn_off", + version: "", }; ``` @@ -5223,37 +5171,30 @@ const value: models.FourHundredAndSeventyThree = { ```typescript const value: models.FourHundredAndSeventyFour = { - enabled: true, - scope: "log-drains", + acceptanceId: "", + termsVersion: "", }; ``` ### `models.FourHundredAndSeventyFive` ```typescript -const value: models.FourHundredAndSeventyFive = {}; +const value: models.FourHundredAndSeventyFive = { + consent: "granted", +}; ``` ### `models.FourHundredAndSeventySix` ```typescript -const value: models.FourHundredAndSeventySix = { - domain: "unusual-bell.biz", - ips: [ - "", - "", - "", - ], -}; +const value: models.FourHundredAndSeventySix = {}; ``` ### `models.FourHundredAndSeventySeven` ```typescript const value: models.FourHundredAndSeventySeven = { - tokenTypes: [ - "", - ], + deletedCount: 3041.21, }; ``` @@ -5261,10 +5202,7 @@ const value: models.FourHundredAndSeventySeven = { ```typescript const value: models.FourHundredAndSeventyEight = { - exportId: "", - format: "", - from: 5758.54, - to: 9380.44, + enabled: "off", }; ``` @@ -5272,7 +5210,8 @@ const value: models.FourHundredAndSeventyEight = { ```typescript const value: models.FourHundredAndSeventyNine = { - fileId: "", + enabled: true, + scope: "dashboard", }; ``` @@ -5286,8 +5225,10 @@ const value: models.FourHundredAndEighty = {}; ```typescript const value: models.FourHundredAndEightyOne = { - actorId: "", - actorType: "admin", + domain: "graceful-unit.net", + ips: [ + "", + ], }; ``` @@ -5295,8 +5236,11 @@ const value: models.FourHundredAndEightyOne = { ```typescript const value: models.FourHundredAndEightyTwo = { - projectId: "", - projectName: "", + tokenTypes: [ + "", + "", + "", + ], }; ``` @@ -5304,7 +5248,10 @@ const value: models.FourHundredAndEightyTwo = { ```typescript const value: models.FourHundredAndEightyThree = { - reason: "limits-exceeded", + exportId: "", + format: "", + from: 4452.14, + to: 2025.64, }; ``` @@ -5312,31 +5259,31 @@ const value: models.FourHundredAndEightyThree = { ```typescript const value: models.FourHundredAndEightyFour = { - organizationId: "", + fileId: "", }; ``` ### `models.FourHundredAndEightyFive` ```typescript -const value: models.FourHundredAndEightyFive = { - organizationId: "", - teamIds: [], -}; +const value: models.FourHundredAndEightyFive = {}; ``` ### `models.FourHundredAndEightySix` ```typescript -const value: models.FourHundredAndEightySix = {}; +const value: models.FourHundredAndEightySix = { + actorId: "", + actorType: "admin", +}; ``` ### `models.FourHundredAndEightySeven` ```typescript const value: models.FourHundredAndEightySeven = { - recoveryCodes: 7175.58, - totp: true, + projectId: "", + projectName: "", }; ``` @@ -5344,7 +5291,7 @@ const value: models.FourHundredAndEightySeven = { ```typescript const value: models.FourHundredAndEightyEight = { - username: "Merl_Hansen", + reason: "limits-exceeded", }; ``` @@ -5352,9 +5299,7 @@ const value: models.FourHundredAndEightyEight = { ```typescript const value: models.FourHundredAndEightyNine = { - username: "Zoey.McKenzie53", - actorId: "", - actorType: "admin", + organizationId: "", }; ``` @@ -5362,24 +5307,27 @@ const value: models.FourHundredAndEightyNine = { ```typescript const value: models.FourHundredAndNinety = { - username: "Roma60", + organizationId: "", + teamIds: [ + "", + "", + "", + ], }; ``` ### `models.FourHundredAndNinetyOne` ```typescript -const value: models.FourHundredAndNinetyOne = { - teamName: "", -}; +const value: models.FourHundredAndNinetyOne = {}; ``` ### `models.FourHundredAndNinetyTwo` ```typescript const value: models.FourHundredAndNinetyTwo = { - teamId: "", - teamName: "", + recoveryCodes: 4832.16, + totp: false, }; ``` @@ -5387,8 +5335,7 @@ const value: models.FourHundredAndNinetyTwo = { ```typescript const value: models.FourHundredAndNinetyThree = { - actorId: "", - actorType: "admin", + username: "Rhoda_Walsh", }; ``` @@ -5396,6 +5343,7 @@ const value: models.FourHundredAndNinetyThree = { ```typescript const value: models.FourHundredAndNinetyFour = { + username: "Vida.OConner5", actorId: "", actorType: "admin", }; @@ -5405,9 +5353,7 @@ const value: models.FourHundredAndNinetyFour = { ```typescript const value: models.FourHundredAndNinetyFive = { - actorId: "", - actorType: "admin", - enabled: false, + username: "Karianne_Wisoky", }; ``` @@ -5415,54 +5361,97 @@ const value: models.FourHundredAndNinetyFive = { ```typescript const value: models.FourHundredAndNinetySix = { + teamName: "", +}; +``` + +### `models.FourHundredAndNinetySeven` + +```typescript +const value: models.FourHundredAndNinetySeven = { + teamId: "", + teamName: "", +}; +``` + +### `models.FourHundredAndNinetyEight` + +```typescript +const value: models.FourHundredAndNinetyEight = { + actorId: "", + actorType: "admin", +}; +``` + +### `models.FourHundredAndNinetyNine` + +```typescript +const value: models.FourHundredAndNinetyNine = { + actorId: "", + actorType: "admin", +}; +``` + +### `models.FiveHundred` + +```typescript +const value: models.FiveHundred = { + actorId: "", + actorType: "admin", + enabled: true, +}; +``` + +### `models.FiveHundredAndOne` + +```typescript +const value: models.FiveHundredAndOne = { actorId: "", actorType: "admin", autoBlockPrevented: true, }; ``` -### `models.FourHundredAndNinetySeven` +### `models.FiveHundredAndTwo` ```typescript -const value: models.FourHundredAndNinetySeven = { - scope: "team", +const value: models.FiveHundredAndTwo = { + scope: "organization", }; ``` -### `models.FourHundredAndNinetyEight` +### `models.FiveHundredAndThree` ```typescript -const value: models.FourHundredAndNinetyEight = { - method: "webauthn", +const value: models.FiveHundredAndThree = { + method: "email-otp", reason: "", }; ``` -### `models.FourHundredAndNinetyNine` +### `models.FiveHundredAndFour` ```typescript -const value: models.FourHundredAndNinetyNine = { - allowedMethods: [ - "recovery-code", - ], +const value: models.FiveHundredAndFour = { + allowedMethods: [], firstFactor: "", flowId: "", }; ``` -### `models.FiveHundred` +### `models.FiveHundredAndFive` ```typescript -const value: models.FiveHundred = { - action: "disable", +const value: models.FiveHundredAndFive = { + action: "remove-passkey", reason: "", }; ``` -### `models.FiveHundredAndOne` +### `models.FiveHundredAndSix` ```typescript -const value: models.FiveHundredAndOne = { +const value: models.FiveHundredAndSix = { next: { enabled: true, totpVerified: true, @@ -5474,49 +5463,49 @@ const value: models.FiveHundredAndOne = { }; ``` -### `models.FiveHundredAndTwo` +### `models.FiveHundredAndSeven` ```typescript -const value: models.FiveHundredAndTwo = { - remaining: 4187.06, +const value: models.FiveHundredAndSeven = { + remaining: 516.6, }; ``` -### `models.FiveHundredAndThree` +### `models.FiveHundredAndEight` ```typescript -const value: models.FiveHundredAndThree = { +const value: models.FiveHundredAndEight = { mfaEnabled: true, }; ``` -### `models.FiveHundredAndFour` +### `models.FiveHundredAndNine` ```typescript -const value: models.FiveHundredAndFour = { +const value: models.FiveHundredAndNine = { mfa: { - enabled: true, - totpVerified: false, + enabled: false, + totpVerified: true, }, }; ``` -### `models.FiveHundredAndFive` +### `models.FiveHundredAndTen` ```typescript -const value: models.FiveHundredAndFive = { - enabled: false, +const value: models.FiveHundredAndTen = { + enabled: true, totpVerified: false, }; ``` -### `models.FiveHundredAndSix` +### `models.FiveHundredAndEleven` ```typescript -const value: models.FiveHundredAndSix = { +const value: models.FiveHundredAndEleven = { next: { enabled: true, - totpVerified: true, + totpVerified: false, }, previous: { enabled: true, @@ -5525,13 +5514,13 @@ const value: models.FiveHundredAndSix = { }; ``` -### `models.FiveHundredAndSeven` +### `models.FiveHundredAndTwelve` ```typescript -const value: models.FiveHundredAndSeven = { +const value: models.FiveHundredAndTwelve = { decision: { authoritative: true, - basis: "none", + basis: "gmail", emailDomain: "", emailVerified: false, hostedDomainMatch: true, @@ -5543,50 +5532,50 @@ const value: models.FiveHundredAndSeven = { }; ``` -### `models.FiveHundredAndEight` +### `models.FiveHundredAndThirteen` ```typescript -const value: models.FiveHundredAndEight = { - email: "Clifford66@yahoo.com", +const value: models.FiveHundredAndThirteen = { + email: "Maci27@yahoo.com", prevEmail: "", }; ``` -### `models.FiveHundredAndNine` +### `models.FiveHundredAndFourteen` ```typescript -const value: models.FiveHundredAndNine = { - email: "Dejon71@hotmail.com", +const value: models.FiveHundredAndFourteen = { + email: "Kelton_Willms93@gmail.com", prevEmail: "", actorId: "", actorType: "admin", }; ``` -### `models.FiveHundredAndTen` +### `models.FiveHundredAndFifteen` ```typescript -const value: models.FiveHundredAndTen = { - username: "Donnell59", +const value: models.FiveHundredAndFifteen = { + username: "Mckayla_Kohler32", actorId: "", actorType: "admin", }; ``` -### `models.FiveHundredAndEleven` +### `models.FiveHundredAndSixteen` ```typescript -const value: models.FiveHundredAndEleven = { +const value: models.FiveHundredAndSixteen = { projectId: "", projectName: "", repositoryName: "", }; ``` -### `models.FiveHundredAndTwelve` +### `models.FiveHundredAndSeventeen` ```typescript -const value: models.FiveHundredAndTwelve = { +const value: models.FiveHundredAndSeventeen = { digest: "", projectId: "", projectName: "", @@ -5595,10 +5584,10 @@ const value: models.FiveHundredAndTwelve = { }; ``` -### `models.FiveHundredAndThirteen` +### `models.FiveHundredAndEighteen` ```typescript -const value: models.FiveHundredAndThirteen = { +const value: models.FiveHundredAndEighteen = { projectId: "", projectName: "", reference: "", @@ -5606,10 +5595,10 @@ const value: models.FiveHundredAndThirteen = { }; ``` -### `models.FiveHundredAndFourteen` +### `models.FiveHundredAndNineteen` ```typescript -const value: models.FiveHundredAndFourteen = { +const value: models.FiveHundredAndNineteen = { projectId: "", projectName: "", repositoryName: "", @@ -5618,10 +5607,10 @@ const value: models.FiveHundredAndFourteen = { }; ``` -### `models.FiveHundredAndFifteen` +### `models.FiveHundredAndTwenty` ```typescript -const value: models.FiveHundredAndFifteen = { +const value: models.FiveHundredAndTwenty = { projectId: "", projectName: "", repositoryName: "", @@ -5629,10 +5618,10 @@ const value: models.FiveHundredAndFifteen = { }; ``` -### `models.FiveHundredAndSixteen` +### `models.FiveHundredAndTwentyOne` ```typescript -const value: models.FiveHundredAndSixteen = { +const value: models.FiveHundredAndTwentyOne = { projectId: "", projectName: "", public: true, @@ -5640,58 +5629,62 @@ const value: models.FiveHundredAndSixteen = { }; ``` -### `models.FiveHundredAndSeventeen` +### `models.FiveHundredAndTwentyTwo` ```typescript -const value: models.FiveHundredAndSeventeen = { +const value: models.FiveHundredAndTwentyTwo = { projectId: "", projectName: "", - removedTeamIds: [], + removedTeamIds: [ + "", + "", + "", + ], repositoryName: "", }; ``` -### `models.FiveHundredAndEighteen` +### `models.FiveHundredAndTwentyThree` ```typescript -const value: models.FiveHundredAndEighteen = { +const value: models.FiveHundredAndTwentyThree = { ruleName: "", }; ``` -### `models.FiveHundredAndNineteen` +### `models.FiveHundredAndTwentyFour` ```typescript -const value: models.FiveHundredAndNineteen = { - nextProjectCount: 813.36, - previousProjectCount: 8437.29, +const value: models.FiveHundredAndTwentyFour = { + nextProjectCount: 4460.82, + previousProjectCount: 7067.3, }; ``` -### `models.FiveHundredAndTwenty` +### `models.FiveHundredAndTwentyFive` ```typescript -const value: models.FiveHundredAndTwenty = { +const value: models.FiveHundredAndTwentyFive = { customAlertTitle: "", }; ``` -### `models.FiveHundredAndTwentyOne` +### `models.FiveHundredAndTwentySix` ```typescript -const value: models.FiveHundredAndTwentyOne = { +const value: models.FiveHundredAndTwentySix = { alertType: "", groupId: "", projectId: "", - detectionCount: 3367.52, + detectionCount: 3965.79, detections: [], }; ``` -### `models.FiveHundredAndTwentyTwo` +### `models.FiveHundredAndTwentySeven` ```typescript -const value: models.FiveHundredAndTwentyTwo = { +const value: models.FiveHundredAndTwentySeven = { alertType: "", groupId: "", projectId: "", @@ -5699,10 +5692,10 @@ const value: models.FiveHundredAndTwentyTwo = { }; ``` -### `models.FiveHundredAndTwentyThree` +### `models.FiveHundredAndTwentyEight` ```typescript -const value: models.FiveHundredAndTwentyThree = { +const value: models.FiveHundredAndTwentyEight = { alertType: "", groupId: "", projectId: "", @@ -5710,66 +5703,66 @@ const value: models.FiveHundredAndTwentyThree = { }; ``` -### `models.FiveHundredAndTwentyFour` +### `models.FiveHundredAndTwentyNine` ```typescript -const value: models.FiveHundredAndTwentyFour = { +const value: models.FiveHundredAndTwentyNine = { alertType: "", groupId: "", projectId: "", alertId: "", - startedAt: 1458, + startedAt: 3364.32, title: "", }; ``` -### `models.FiveHundredAndTwentyFive` +### `models.FiveHundredAndThirty` ```typescript -const value: models.FiveHundredAndTwentyFive = { - enabled: true, +const value: models.FiveHundredAndThirty = { + enabled: false, repositoryId: "", }; ``` -### `models.FiveHundredAndTwentySix` +### `models.FiveHundredAndThirtyOne` ```typescript -const value: models.FiveHundredAndTwentySix = { +const value: models.FiveHundredAndThirtyOne = { ciEnabled: true, organizationId: "", repository: "", }; ``` -### `models.FiveHundredAndTwentySeven` +### `models.FiveHundredAndThirtyTwo` ```typescript -const value: models.FiveHundredAndTwentySeven = { +const value: models.FiveHundredAndThirtyTwo = { commitSha: "", invocationId: "", organizationId: "", - pullRequestNumber: 5242.35, + pullRequestNumber: 9596.59, repository: "", }; ``` -### `models.FiveHundredAndTwentyEight` +### `models.FiveHundredAndThirtyThree` ```typescript -const value: models.FiveHundredAndTwentyEight = { - protectedProjectCount: 7319.99, - protectionEnabled: false, +const value: models.FiveHundredAndThirtyThree = { + protectedProjectCount: 6880.92, + protectionEnabled: true, vulnerabilities: [ "", ], }; ``` -### `models.FiveHundredAndTwentyNine` +### `models.FiveHundredAndThirtyFour` ```typescript -const value: models.FiveHundredAndTwentyNine = { +const value: models.FiveHundredAndThirtyFour = { configuration: { id: "", }, @@ -5786,10 +5779,10 @@ const value: models.FiveHundredAndTwentyNine = { }; ``` -### `models.FiveHundredAndThirty` +### `models.FiveHundredAndThirtyFive` ```typescript -const value: models.FiveHundredAndThirty = { +const value: models.FiveHundredAndThirtyFive = { configuration: { id: "", }, @@ -5803,10 +5796,10 @@ const value: models.FiveHundredAndThirty = { }; ``` -### `models.FiveHundredAndThirtyOne` +### `models.FiveHundredAndThirtySix` ```typescript -const value: models.FiveHundredAndThirtyOne = { +const value: models.FiveHundredAndThirtySix = { configuration: { id: "", }, @@ -5820,11 +5813,11 @@ const value: models.FiveHundredAndThirtyOne = { }; ``` -### `models.FiveHundredAndThirtyTwo` +### `models.FiveHundredAndThirtySeven` ```typescript -const value: models.FiveHundredAndThirtyTwo = { - cadence: "weekly", +const value: models.FiveHundredAndThirtySeven = { + cadence: "monthly", projectIds: [], team: { id: "", @@ -5832,75 +5825,86 @@ const value: models.FiveHundredAndThirtyTwo = { }; ``` -### `models.FiveHundredAndThirtyThree` +### `models.FiveHundredAndThirtyEight` ```typescript -const value: models.FiveHundredAndThirtyThree = { - tier: "pro", +const value: models.FiveHundredAndThirtyEight = { + tier: "plus", }; ``` -### `models.FiveHundredAndThirtyFour` +### `models.FiveHundredAndThirtyNine` ```typescript -const value: models.FiveHundredAndThirtyFour = { +const value: models.FiveHundredAndThirtyNine = { id: "", - url: "https://wrong-nun.name/", + url: "https://mature-ocelot.net", }; ``` -### `models.FiveHundredAndThirtyFive` +### `models.FiveHundredAndForty` ```typescript -const value: models.FiveHundredAndThirtyFive = { +const value: models.FiveHundredAndForty = { chatId: "", }; ``` -### `models.FiveHundredAndThirtySix` +### `models.FiveHundredAndFortyOne` ```typescript -const value: models.FiveHundredAndThirtySix = { +const value: models.FiveHundredAndFortyOne = { chatId: "", - events: [], - inputTokens: 5454.1, + events: [ + { + cacheCreationInputTokens: 8264.37, + cacheReadInputTokens: 921.19, + eventId: "", + inputTokens: 4741.19, + modelId: "", + outputTokens: 6106.82, + timestamp: "", + totalTokens: 9845.35, + }, + ], + inputTokens: 1369.2, messageId: "", - model: "Altima", - outputTokens: 4853.67, - timestamp: 4194.96, + model: "A4", + outputTokens: 108.11, + timestamp: 9224.89, useCase: "", }; ``` -### `models.FiveHundredAndThirtySeven` +### `models.FiveHundredAndFortyTwo` ```typescript -const value: models.FiveHundredAndThirtySeven = { +const value: models.FiveHundredAndFortyTwo = { chatId: "", messageId: "", }; ``` -### `models.FiveHundredAndThirtyEight` +### `models.FiveHundredAndFortyThree` ```typescript -const value: models.FiveHundredAndThirtyEight = { +const value: models.FiveHundredAndFortyThree = { next: { - access: "default", + access: "unlimited", }, previous: { - access: "none", + access: "default", }, userId: "", }; ``` -### `models.FiveHundredAndThirtyNine` +### `models.FiveHundredAndFortyFour` ```typescript -const value: models.FiveHundredAndThirtyNine = { +const value: models.FiveHundredAndFortyFour = { next: { - access: "unlimited", + access: "default", }, previous: { access: "unlimited", @@ -5908,93 +5912,100 @@ const value: models.FiveHundredAndThirtyNine = { }; ``` -### `models.FiveHundredAndForty` +### `models.FiveHundredAndFortyFive` ```typescript -const value: models.FiveHundredAndForty = { +const value: models.FiveHundredAndFortyFive = { deploymentId: "", projectId: "", runId: "", }; ``` -### `models.FiveHundredAndFortyOne` +### `models.FiveHundredAndFortySix` ```typescript -const value: models.FiveHundredAndFortyOne = { +const value: models.FiveHundredAndFortySix = { next: { enabled: false, - issuerUrls: [], + issuerUrls: [ + "", + "", + "", + ], }, previous: { - enabled: true, - issuerUrls: [], + enabled: false, + issuerUrls: [ + "", + "", + "", + ], }, - scope: "team", + scope: "organization", }; ``` -### `models.FiveHundredAndFortyTwo` +### `models.FiveHundredAndFortySeven` ```typescript -const value: models.FiveHundredAndFortyTwo = { +const value: models.FiveHundredAndFortySeven = { appName: "", - atTTL: 5926.85, - authMethod: "saml", - grantType: "authorization_code", + atTTL: 7052.22, + authMethod: "github", + grantType: "urn:ietf:params:oauth:grant-type:token-exchange", scope: "", }; ``` -### `models.FiveHundredAndFortyThree` +### `models.FiveHundredAndFortyEight` ```typescript -const value: models.FiveHundredAndFortyThree = { - domain: "nifty-case.com", +const value: models.FiveHundredAndFortyEight = { + domain: "thin-pacemaker.net", projectId: "", }; ``` -### `models.FiveHundredAndFortyFour` +### `models.FiveHundredAndFortyNine` ```typescript -const value: models.FiveHundredAndFortyFour = { +const value: models.FiveHundredAndFortyNine = { policy: { claims: [], clientId: "", - createdAt: 5237.58, - issuerUrl: "https://glossy-nudge.net/", - name: "", + createdAt: 5946.46, + issuerUrl: "https://slow-doing.com", + name: null, permissions: [ "", - "", - "", ], policyId: "", resources: { projectIds: [], }, teamId: "", - updatedAt: 3040.54, + updatedAt: 9087.81, }, }; ``` -### `models.FiveHundredAndFortyFive` +### `models.FiveHundredAndFifty` ```typescript -const value: models.FiveHundredAndFortyFive = { +const value: models.FiveHundredAndFifty = { after: { - claims: [], + claims: [ + { + name: "", + values: [], + }, + ], clientId: "", - createdAt: 3909.82, - issuerUrl: "https://severe-chap.biz/", + createdAt: 9077.39, + issuerUrl: "https://clueless-swath.biz/", name: "", - permissions: [ - "", - "", - "", - ], + permissions: [], policyId: "", resources: { projectIds: [ @@ -6003,29 +6014,15 @@ const value: models.FiveHundredAndFortyFive = { ], }, teamId: "", - updatedAt: 5550.14, + updatedAt: 147.35, }, before: { - claims: [ - { - name: "", - values: [ - { - value: "", - wildcards: false, - }, - ], - }, - ], + claims: [], clientId: "", - createdAt: 4506.4, - issuerUrl: "https://blind-tuber.org/", + createdAt: 3350.3, + issuerUrl: "https://lumpy-divine.net", name: "", - permissions: [ - "", - "", - "", - ], + permissions: [], policyId: "", resources: { projectIds: [ @@ -6034,26 +6031,26 @@ const value: models.FiveHundredAndFortyFive = { ], }, teamId: "", - updatedAt: 2533.67, + updatedAt: 3627.02, }, }; ``` -### `models.FiveHundredAndFortySix` +### `models.FiveHundredAndFiftyOne` ```typescript -const value: models.FiveHundredAndFortySix = { - origin: "google", - scope: "user", +const value: models.FiveHundredAndFiftyOne = { + origin: "manual", + scope: "team", tokenId: "", tokenName: "", }; ``` -### `models.FiveHundredAndFortySeven` +### `models.FiveHundredAndFiftyTwo` ```typescript -const value: models.FiveHundredAndFortySeven = { +const value: models.FiveHundredAndFiftyTwo = { actorTokenId: "", tokenId: "", tokenName: "", @@ -6061,12 +6058,12 @@ const value: models.FiveHundredAndFortySeven = { }; ``` -### `models.FiveHundredAndFortyEight` +### `models.FiveHundredAndFiftyThree` ```typescript -const value: models.FiveHundredAndFortyEight = { +const value: models.FiveHundredAndFiftyThree = { actorTokenId: "", - deletedCount: 8497.1, + deletedCount: 3569.73, }; ``` diff --git a/docs/models/payloadaccess.md b/docs/models/payloadaccess.md index fe66d0f0d0..8bdff76c4e 100644 --- a/docs/models/payloadaccess.md +++ b/docs/models/payloadaccess.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadAccess } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadAccess } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadAccess = "public"; ``` diff --git a/docs/models/payloadaccessgroup.md b/docs/models/payloadaccessgroup.md index 3cf4b1cce1..09753c9ba1 100644 --- a/docs/models/payloadaccessgroup.md +++ b/docs/models/payloadaccessgroup.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadAccessGroup } from "@vercel/sdk/models/twenty.js"; +import { PayloadAccessGroup } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadAccessGroup = { id: "", diff --git a/docs/models/payloadaccesspolicy.md b/docs/models/payloadaccesspolicy.md index 7fd45b9956..805372b368 100644 --- a/docs/models/payloadaccesspolicy.md +++ b/docs/models/payloadaccesspolicy.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadAccessPolicy } from "@vercel/sdk/models/twenty.js"; +import { PayloadAccessPolicy } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadAccessPolicy = { id: "", diff --git a/docs/models/payloadactortype.md b/docs/models/payloadactortype.md index e3f987e177..7ceb5edfdf 100644 --- a/docs/models/payloadactortype.md +++ b/docs/models/payloadactortype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadActorType } from "@vercel/sdk/models/newprojects.js"; +import { PayloadActorType } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadActorType = "admin"; ``` diff --git a/docs/models/payloadafter.md b/docs/models/payloadafter.md index 0c072ac35f..43fb6db1be 100644 --- a/docs/models/payloadafter.md +++ b/docs/models/payloadafter.md @@ -41,6 +41,6 @@ let value: PayloadAfter = { | `name` | *string* | :heavy_check_mark: | Human-readable policy name, or `null` when unnamed. | | `permissions` | *string*[] | :heavy_check_mark: | Permission boundary (`['*']` = the app's full declared permissions). | | `policyId` | *string* | :heavy_check_mark: | N/A | -| `resources` | [models.UserEventPayload545Resources](../models/usereventpayload545resources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | +| `resources` | [models.UserEventPayload550Resources](../models/usereventpayload550resources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | | `teamId` | *string* | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | Last-update time (epoch ms). | \ No newline at end of file diff --git a/docs/models/payloadallowlistedreadystatereasoninternal.md b/docs/models/payloadallowlistedreadystatereasoninternal.md index e02359b0c4..060b9befeb 100644 --- a/docs/models/payloadallowlistedreadystatereasoninternal.md +++ b/docs/models/payloadallowlistedreadystatereasoninternal.md @@ -5,7 +5,7 @@ A narrowed subset of the deployment's `readyStateReasonInternal` — only values ## Example Usage ```typescript -import { PayloadAllowListedReadyStateReasonInternal } from "@vercel/sdk/models/twenty.js"; +import { PayloadAllowListedReadyStateReasonInternal } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadAllowListedReadyStateReasonInternal = "EARLY_IGNORE_STEP"; ``` diff --git a/docs/models/payloadapikey.md b/docs/models/payloadapikey.md index db0d5244a9..c9e33f4c42 100644 --- a/docs/models/payloadapikey.md +++ b/docs/models/payloadapikey.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadApiKey } from "@vercel/sdk/models/twenty.js"; +import { PayloadApiKey } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadApiKey = { id: "", diff --git a/docs/models/payloadappliesto.md b/docs/models/payloadappliesto.md new file mode 100644 index 0000000000..cee68a0911 --- /dev/null +++ b/docs/models/payloadappliesto.md @@ -0,0 +1,15 @@ +# PayloadAppliesTo + +## Example Usage + +```typescript +import { PayloadAppliesTo } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: PayloadAppliesTo = "user"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/payloadapril2026securityincidentmigrationappliedfrom.md b/docs/models/payloadapril2026securityincidentmigrationappliedfrom.md index 927da5c815..591129185a 100644 --- a/docs/models/payloadapril2026securityincidentmigrationappliedfrom.md +++ b/docs/models/payloadapril2026securityincidentmigrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadApril2026SecurityIncidentMigrationAppliedFrom = "all_except_custom_domains"; diff --git a/docs/models/payloadaws.md b/docs/models/payloadaws.md index 6ed0ec650d..639bd91389 100644 --- a/docs/models/payloadaws.md +++ b/docs/models/payloadaws.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadAws } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadAws } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadAws = { subnetIds: [ diff --git a/docs/models/payloadbefore.md b/docs/models/payloadbefore.md index adac45cea1..eaf0527762 100644 --- a/docs/models/payloadbefore.md +++ b/docs/models/payloadbefore.md @@ -51,6 +51,6 @@ let value: PayloadBefore = { | `name` | *string* | :heavy_check_mark: | Human-readable policy name, or `null` when unnamed. | | `permissions` | *string*[] | :heavy_check_mark: | Permission boundary (`['*']` = the app's full declared permissions). | | `policyId` | *string* | :heavy_check_mark: | N/A | -| `resources` | [models.UserEventPayload545BeforeResources](../models/usereventpayload545beforeresources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | +| `resources` | [models.UserEventPayload550BeforeResources](../models/usereventpayload550beforeresources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | | `teamId` | *string* | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | Last-update time (epoch ms). | \ No newline at end of file diff --git a/docs/models/payloadbillingplan.md b/docs/models/payloadbillingplan.md index 6045822b69..5b808d4b37 100644 --- a/docs/models/payloadbillingplan.md +++ b/docs/models/payloadbillingplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadBillingPlan } from "@vercel/sdk/models/newprojects.js"; +import { PayloadBillingPlan } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadBillingPlan = "platform"; ``` diff --git a/docs/models/payloadbranchmatcher.md b/docs/models/payloadbranchmatcher.md index eaeeb81c21..b41d08b643 100644 --- a/docs/models/payloadbranchmatcher.md +++ b/docs/models/payloadbranchmatcher.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadBranchMatcher } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadBranchMatcher } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadBranchMatcher = { pattern: "", @@ -16,4 +16,4 @@ let value: PayloadBranchMatcher = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `pattern` | *string* | :heavy_check_mark: | The pattern to match against branch names | -| `type` | [models.UserEventPayload317PreviousType](../models/usereventpayload317previoustype.md) | :heavy_check_mark: | The type of matching to perform | \ No newline at end of file +| `type` | [models.UserEventPayload320PreviousType](../models/usereventpayload320previoustype.md) | :heavy_check_mark: | The type of matching to perform | \ No newline at end of file diff --git a/docs/models/payloadbudget.md b/docs/models/payloadbudget.md index 8768e22a7d..165d766523 100644 --- a/docs/models/payloadbudget.md +++ b/docs/models/payloadbudget.md @@ -5,7 +5,7 @@ Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in ## Example Usage ```typescript -import { PayloadBudget } from "@vercel/sdk/models/twenty.js"; +import { PayloadBudget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadBudget = { limitAmount: 3089.34, @@ -18,5 +18,6 @@ let value: PayloadBudget = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | | `refreshPeriod` | [models.UserEventPayloadRefreshPeriod](../models/usereventpayloadrefreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadchange.md b/docs/models/payloadchange.md index 83f565af7f..96a1cfcfcf 100644 --- a/docs/models/payloadchange.md +++ b/docs/models/payloadchange.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadChange } from "@vercel/sdk/models/twenty.js"; +import { PayloadChange } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadChange = "enable"; ``` diff --git a/docs/models/payloadchangedfields.md b/docs/models/payloadchangedfields.md index bfa61adaaf..d14563ba40 100644 --- a/docs/models/payloadchangedfields.md +++ b/docs/models/payloadchangedfields.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadChangedFields } from "@vercel/sdk/models/twenty.js"; +import { PayloadChangedFields } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadChangedFields = "baseUrl"; ``` diff --git a/docs/models/payloadcity.md b/docs/models/payloadcity.md index 8f3f1fa407..a6b61320f4 100644 --- a/docs/models/payloadcity.md +++ b/docs/models/payloadcity.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCity } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadCity } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadCity = { names: { @@ -16,4 +16,4 @@ let value: PayloadCity = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `names` | [models.UserEventPayload405Names](../models/usereventpayload405names.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload410Names](../models/usereventpayload410names.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadcodereviewselection.md b/docs/models/payloadcodereviewselection.md index e7c2a267c5..9783be8827 100644 --- a/docs/models/payloadcodereviewselection.md +++ b/docs/models/payloadcodereviewselection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCodeReviewSelection } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadCodeReviewSelection } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadCodeReviewSelection = { initial: false, diff --git a/docs/models/payloadconfigchanges.md b/docs/models/payloadconfigchanges.md index dc3c52424b..64c27723f6 100644 --- a/docs/models/payloadconfigchanges.md +++ b/docs/models/payloadconfigchanges.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadConfigChanges } from "@vercel/sdk/models/newprojects.js"; +import { PayloadConfigChanges } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadConfigChanges = {}; ``` diff --git a/docs/models/payloadconfiguration.md b/docs/models/payloadconfiguration.md index 916ebcd602..1e805600bb 100644 --- a/docs/models/payloadconfiguration.md +++ b/docs/models/payloadconfiguration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadConfiguration } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadConfiguration } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadConfiguration = { id: "", diff --git a/docs/models/payloadconsent.md b/docs/models/payloadconsent.md index 5d30826780..2373af44fb 100644 --- a/docs/models/payloadconsent.md +++ b/docs/models/payloadconsent.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadConsent } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadConsent } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadConsent = "refused"; ``` diff --git a/docs/models/payloadcountry.md b/docs/models/payloadcountry.md index 8549afae27..a3811003a0 100644 --- a/docs/models/payloadcountry.md +++ b/docs/models/payloadcountry.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCountry } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadCountry } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadCountry = { names: { @@ -16,4 +16,4 @@ let value: PayloadCountry = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload405GeolocationNames](../models/usereventpayload405geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload410GeolocationNames](../models/usereventpayload410geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadcredential.md b/docs/models/payloadcredential.md index 39cb303909..699a7627db 100644 --- a/docs/models/payloadcredential.md +++ b/docs/models/payloadcredential.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCredential } from "@vercel/sdk/models/twenty.js"; +import { PayloadCredential } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadCredential = { id: "", diff --git a/docs/models/payloadcurrent.md b/docs/models/payloadcurrent.md index 44bdbfc928..026976a1de 100644 --- a/docs/models/payloadcurrent.md +++ b/docs/models/payloadcurrent.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCurrent } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadCurrent } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadCurrent = { awsServiceName: "", diff --git a/docs/models/payloadcve55182migrationappliedfrom.md b/docs/models/payloadcve55182migrationappliedfrom.md index c7d650bdeb..d5d3fa2af1 100644 --- a/docs/models/payloadcve55182migrationappliedfrom.md +++ b/docs/models/payloadcve55182migrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadCve55182MigrationAppliedFrom } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadCve55182MigrationAppliedFrom } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadCve55182MigrationAppliedFrom = "preview"; ``` diff --git a/docs/models/payloaddata.md b/docs/models/payloaddata.md index 73bba2ca5e..e8b13a31b1 100644 --- a/docs/models/payloaddata.md +++ b/docs/models/payloaddata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadData } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadData } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadData = { planSlug: "v0_business", diff --git a/docs/models/payloaddeleteduser.md b/docs/models/payloaddeleteduser.md index 3965c750d2..0424cfd4b3 100644 --- a/docs/models/payloaddeleteduser.md +++ b/docs/models/payloaddeleteduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadDeletedUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadDeletedUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadDeletedUser = { email: "Chelsea_Halvorson-Buckridge@yahoo.com", diff --git a/docs/models/payloaddeployment.md b/docs/models/payloaddeployment.md index 514346bea9..8fc1f26f25 100644 --- a/docs/models/payloaddeployment.md +++ b/docs/models/payloaddeployment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadDeployment } from "@vercel/sdk/models/twenty.js"; +import { PayloadDeployment } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadDeployment = { id: "", diff --git a/docs/models/payloaddeploymenttype.md b/docs/models/payloaddeploymenttype.md index b1d53d32e4..fc963df6ab 100644 --- a/docs/models/payloaddeploymenttype.md +++ b/docs/models/payloaddeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadDeploymentType } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadDeploymentType } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadDeploymentType = "all"; ``` diff --git a/docs/models/payloaddsyncmode.md b/docs/models/payloaddsyncmode.md index 41de1a2f79..92c0860b6b 100644 --- a/docs/models/payloaddsyncmode.md +++ b/docs/models/payloaddsyncmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadDsyncMode } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadDsyncMode } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadDsyncMode = "team"; ``` diff --git a/docs/models/payloadenabled.md b/docs/models/payloadenabled.md index 53f605b709..a295b49688 100644 --- a/docs/models/payloadenabled.md +++ b/docs/models/payloadenabled.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadEnabled } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadEnabled } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadEnabled = "off"; ``` diff --git a/docs/models/payloadendpoint.md b/docs/models/payloadendpoint.md index 8e25bffb80..618a0eab97 100644 --- a/docs/models/payloadendpoint.md +++ b/docs/models/payloadendpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadEndpoint } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadEndpoint } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadEndpoint = { awsServiceName: "", diff --git a/docs/models/payloadenforcementscope.md b/docs/models/payloadenforcementscope.md index a02e00b5d2..6af726ca37 100644 --- a/docs/models/payloadenforcementscope.md +++ b/docs/models/payloadenforcementscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadEnforcementScope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadEnforcementScope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadEnforcementScope = "preview"; ``` diff --git a/docs/models/payloadenvironment.md b/docs/models/payloadenvironment.md index 66cc1eb486..8e75102ef7 100644 --- a/docs/models/payloadenvironment.md +++ b/docs/models/payloadenvironment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadEnvironment } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadEnvironment } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadEnvironment = "production"; ``` diff --git a/docs/models/payloadfactors.md b/docs/models/payloadfactors.md index 5efb2bad6c..27da808e9d 100644 --- a/docs/models/payloadfactors.md +++ b/docs/models/payloadfactors.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadFactors } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadFactors } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadFactors = { origin: "google", diff --git a/docs/models/payloadgeolocation.md b/docs/models/payloadgeolocation.md index 01a61d7046..abeb62e090 100644 --- a/docs/models/payloadgeolocation.md +++ b/docs/models/payloadgeolocation.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadGeolocation } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadGeolocation } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadGeolocation = { country: { diff --git a/docs/models/payloadgitprovider.md b/docs/models/payloadgitprovider.md index 975e79f35d..1edf1e32e2 100644 --- a/docs/models/payloadgitprovider.md +++ b/docs/models/payloadgitprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadGitProvider } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadGitProvider } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadGitProvider = "bitbucket"; ``` diff --git a/docs/models/payloadgroup.md b/docs/models/payloadgroup.md index 8da5617ee2..a3203875c3 100644 --- a/docs/models/payloadgroup.md +++ b/docs/models/payloadgroup.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadGroup } from "@vercel/sdk/models/newprojects.js"; +import { PayloadGroup } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadGroup = { id: "", diff --git a/docs/models/payloadinitiator.md b/docs/models/payloadinitiator.md index c4f8d1fb30..414d35a6c0 100644 --- a/docs/models/payloadinitiator.md +++ b/docs/models/payloadinitiator.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadInitiator } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadInitiator } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadInitiator = "system"; ``` diff --git a/docs/models/payloadintegration.md b/docs/models/payloadintegration.md index fdbc282322..a47cf13917 100644 --- a/docs/models/payloadintegration.md +++ b/docs/models/payloadintegration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadIntegration } from "@vercel/sdk/models/newprojects.js"; +import { PayloadIntegration } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadIntegration = { configurationId: "", diff --git a/docs/models/payloadissuermode.md b/docs/models/payloadissuermode.md index be821db215..ed82ee2e03 100644 --- a/docs/models/payloadissuermode.md +++ b/docs/models/payloadissuermode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadIssuerMode } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadIssuerMode } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadIssuerMode = "global"; ``` diff --git a/docs/models/payloaditems.md b/docs/models/payloaditems.md index ea5136f24b..acc8dba2d4 100644 --- a/docs/models/payloaditems.md +++ b/docs/models/payloaditems.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadItems } from "@vercel/sdk/models/twenty.js"; +import { PayloadItems } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadItems = { type: "string", @@ -14,4 +14,4 @@ let value: PayloadItems = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `type` | [models.UserEventPayload80BeforeResourcesType](../models/usereventpayload80beforeresourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload81BeforeResourcesType](../models/usereventpayload81beforeresourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadjoinedfrom.md b/docs/models/payloadjoinedfrom.md index 84e5793ee6..98bf8a56d7 100644 --- a/docs/models/payloadjoinedfrom.md +++ b/docs/models/payloadjoinedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadJoinedFrom } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadJoinedFrom } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadJoinedFrom = { origin: "saml", @@ -20,8 +20,9 @@ let value: PayloadJoinedFrom = { | `gitUserId` | *models.PayloadGitUserId* | :heavy_minus_sign: | N/A | | `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | | `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `origin` | [models.UserEventPayload284Origin](../models/usereventpayload284origin.md) | :heavy_check_mark: | N/A | +| `origin` | [models.UserEventPayload287Origin](../models/usereventpayload287origin.md) | :heavy_check_mark: | N/A | | `repoId` | *string* | :heavy_minus_sign: | N/A | | `repoPath` | *string* | :heavy_minus_sign: | N/A | | `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | | `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloadkind.md b/docs/models/payloadkind.md index 8d09d550da..34802f70d6 100644 --- a/docs/models/payloadkind.md +++ b/docs/models/payloadkind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadKind } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadKind } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadKind = "script"; ``` diff --git a/docs/models/payloadmethod.md b/docs/models/payloadmethod.md index 332a277489..0b693813c2 100644 --- a/docs/models/payloadmethod.md +++ b/docs/models/payloadmethod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadMethod } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadMethod } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadMethod = "user_disabled"; ``` diff --git a/docs/models/payloadmode.md b/docs/models/payloadmode.md index bcd3b53e65..12ef634a35 100644 --- a/docs/models/payloadmode.md +++ b/docs/models/payloadmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadMode } from "@vercel/sdk/models/twenty.js"; +import { PayloadMode } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadMode = "enforce"; ``` diff --git a/docs/models/payloadmostspecificsubdivision.md b/docs/models/payloadmostspecificsubdivision.md index 6cd97235bb..73a484d28f 100644 --- a/docs/models/payloadmostspecificsubdivision.md +++ b/docs/models/payloadmostspecificsubdivision.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadMostSpecificSubdivision } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadMostSpecificSubdivision } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadMostSpecificSubdivision = { names: { @@ -16,4 +16,4 @@ let value: PayloadMostSpecificSubdivision = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload405GeolocationMostSpecificSubdivisionNames](../models/usereventpayload405geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload410GeolocationMostSpecificSubdivisionNames](../models/usereventpayload410geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadnames.md b/docs/models/payloadnames.md index 2ecd19bb65..766eab1e1a 100644 --- a/docs/models/payloadnames.md +++ b/docs/models/payloadnames.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadNames } from "@vercel/sdk/models/newprojects.js"; +import { PayloadNames } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadNames = { en: "", diff --git a/docs/models/payloadnewresourceblockingpolicy.md b/docs/models/payloadnewresourceblockingpolicy.md index 10e6f9552d..c84afed11e 100644 --- a/docs/models/payloadnewresourceblockingpolicy.md +++ b/docs/models/payloadnewresourceblockingpolicy.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadNewResourceBlockingPolicy } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadNewResourceBlockingPolicy } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadNewResourceBlockingPolicy = "block"; ``` diff --git a/docs/models/payloadnewtarget.md b/docs/models/payloadnewtarget.md index 8b0e6911f9..f7b1cc709b 100644 --- a/docs/models/payloadnewtarget.md +++ b/docs/models/payloadnewtarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadNewTarget } from "@vercel/sdk/models/newprojects.js"; +import { PayloadNewTarget } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadNewTarget = "development"; ``` diff --git a/docs/models/payloadnewteam.md b/docs/models/payloadnewteam.md index daabeb5ea8..968dce29d4 100644 --- a/docs/models/payloadnewteam.md +++ b/docs/models/payloadnewteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadNewTeam } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadNewTeam } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadNewTeam = { name: "", diff --git a/docs/models/payloadnext.md b/docs/models/payloadnext.md index 0b8dad38c2..aa6e87db5f 100644 --- a/docs/models/payloadnext.md +++ b/docs/models/payloadnext.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadNext } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadNext } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadNext = { autoAddReviewers: true, diff --git a/docs/models/payloadoldtarget.md b/docs/models/payloadoldtarget.md index 9108842c32..eeb46eb2d5 100644 --- a/docs/models/payloadoldtarget.md +++ b/docs/models/payloadoldtarget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadOldTarget } from "@vercel/sdk/models/newprojects.js"; +import { PayloadOldTarget } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadOldTarget = "development"; ``` diff --git a/docs/models/payloadoldteam.md b/docs/models/payloadoldteam.md index 9ede29506d..1159d50716 100644 --- a/docs/models/payloadoldteam.md +++ b/docs/models/payloadoldteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadOldTeam } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadOldTeam } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadOldTeam = { name: "", diff --git a/docs/models/payloadorganizationpermissions.md b/docs/models/payloadorganizationpermissions.md index 557082fd75..3f6a7f625e 100644 --- a/docs/models/payloadorganizationpermissions.md +++ b/docs/models/payloadorganizationpermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadOrganizationPermissions } from "@vercel/sdk/models/newprojects.js"; +import { PayloadOrganizationPermissions } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadOrganizationPermissions = "OrgAdmin"; ``` diff --git a/docs/models/payloadpassport.md b/docs/models/payloadpassport.md index ef59a21570..5f69069d27 100644 --- a/docs/models/payloadpassport.md +++ b/docs/models/payloadpassport.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPassport } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadPassport } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadPassport = { connectorId: "", @@ -16,4 +16,4 @@ let value: PayloadPassport = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | `connectorId` | *string* | :heavy_check_mark: | N/A | -| `deploymentType` | [models.UserEventPayload278PreviousDeploymentType](../models/usereventpayload278previousdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload281PreviousDeploymentType](../models/usereventpayload281previousdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadpaths.md b/docs/models/payloadpaths.md index ec9e1deaaf..eb5c4f5ee9 100644 --- a/docs/models/payloadpaths.md +++ b/docs/models/payloadpaths.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPaths } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadPaths } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadPaths = { value: "", diff --git a/docs/models/payloadperimeter.md b/docs/models/payloadperimeter.md index 256e821b3f..9c2e7b9301 100644 --- a/docs/models/payloadperimeter.md +++ b/docs/models/payloadperimeter.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPerimeter } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadPerimeter } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadPerimeter = { id: "", diff --git a/docs/models/payloadpermissions.md b/docs/models/payloadpermissions.md index 0174f95734..540d3fde0a 100644 --- a/docs/models/payloadpermissions.md +++ b/docs/models/payloadpermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPermissions } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadPermissions } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadPermissions = "read-write:project-env-vars"; ``` diff --git a/docs/models/payloadplan.md b/docs/models/payloadplan.md index 2e56d6d329..b01fcab3f4 100644 --- a/docs/models/payloadplan.md +++ b/docs/models/payloadplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPlan } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadPlan } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadPlan = "hobby"; ``` diff --git a/docs/models/payloadprev.md b/docs/models/payloadprev.md index 3c5511de3d..1959d245f1 100644 --- a/docs/models/payloadprev.md +++ b/docs/models/payloadprev.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPrev } from "@vercel/sdk/models/newprojects.js"; +import { PayloadPrev } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadPrev = { project: {}, @@ -14,4 +14,4 @@ let value: PayloadPrev = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `project` | [models.UserEventPayload241PrevProject](../models/usereventpayload241prevproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload242PrevProject](../models/usereventpayload242prevproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadprevious.md b/docs/models/payloadprevious.md index ed881a15ea..492a829a4d 100644 --- a/docs/models/payloadprevious.md +++ b/docs/models/payloadprevious.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPrevious } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadPrevious } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadPrevious = { autoAddReviewers: false, diff --git a/docs/models/payloadpreviousbudget.md b/docs/models/payloadpreviousbudget.md index 90562a960d..bf69723556 100644 --- a/docs/models/payloadpreviousbudget.md +++ b/docs/models/payloadpreviousbudget.md @@ -1,11 +1,11 @@ # PayloadPreviousBudget -Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. +`api-key` defaults may cover only some key spend attributions. ## Example Usage ```typescript -import { PayloadPreviousBudget } from "@vercel/sdk/models/twenty.js"; +import { PayloadPreviousBudget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadPreviousBudget = { limitAmount: 4633.42, @@ -18,5 +18,7 @@ let value: PayloadPreviousBudget = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | -| `refreshPeriod` | [models.UserEventPayload36PreviousBudgetRefreshPeriod](../models/usereventpayload36previousbudgetrefreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `refreshPeriod` | [models.UserEventPayload36PreviousBudgetRefreshPeriod](../models/usereventpayload36previousbudgetrefreshperiod.md) | :heavy_check_mark: | N/A | +| `appliesTo` | [models.UserEventPayloadAppliesTo](../models/usereventpayloadappliesto.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloadpreviousmode.md b/docs/models/payloadpreviousmode.md index 94833def82..a0cd912839 100644 --- a/docs/models/payloadpreviousmode.md +++ b/docs/models/payloadpreviousmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPreviousMode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadPreviousMode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadPreviousMode = "email-domain"; ``` diff --git a/docs/models/payloadpreviousrole.md b/docs/models/payloadpreviousrole.md index f36e41163c..04e845952c 100644 --- a/docs/models/payloadpreviousrole.md +++ b/docs/models/payloadpreviousrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPreviousRole } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadPreviousRole } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadPreviousRole = "PROJECT_GUEST"; ``` diff --git a/docs/models/payloadpreviousrule.md b/docs/models/payloadpreviousrule.md index b43a437905..897880be53 100644 --- a/docs/models/payloadpreviousrule.md +++ b/docs/models/payloadpreviousrule.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPreviousRule } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadPreviousRule } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadPreviousRule = { email: "Sabrina_Strosin4@gmail.com", diff --git a/docs/models/payloadpricingplan.md b/docs/models/payloadpricingplan.md index 464c2a50c7..8703c98ee2 100644 --- a/docs/models/payloadpricingplan.md +++ b/docs/models/payloadpricingplan.md @@ -5,7 +5,7 @@ The acive pricing plan the team is billed with ## Example Usage ```typescript -import { PayloadPricingPlan } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadPricingPlan } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadPricingPlan = "flex"; ``` diff --git a/docs/models/payloadprivatelinkendpoint.md b/docs/models/payloadprivatelinkendpoint.md index cc4ea79e3f..ea9c3242af 100644 --- a/docs/models/payloadprivatelinkendpoint.md +++ b/docs/models/payloadprivatelinkendpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPrivateLinkEndpoint } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadPrivateLinkEndpoint } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadPrivateLinkEndpoint = { id: "", diff --git a/docs/models/payloadprivatemodel.md b/docs/models/payloadprivatemodel.md index 071ff2f919..94447b3fae 100644 --- a/docs/models/payloadprivatemodel.md +++ b/docs/models/payloadprivatemodel.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadPrivateModel } from "@vercel/sdk/models/twenty.js"; +import { PayloadPrivateModel } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadPrivateModel = { slug: "", diff --git a/docs/models/payloadproject.md b/docs/models/payloadproject.md index 6dd7baba6f..3b31fb5006 100644 --- a/docs/models/payloadproject.md +++ b/docs/models/payloadproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadProject } from "@vercel/sdk/models/twenty.js"; +import { PayloadProject } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadProject = { id: "", diff --git a/docs/models/payloadprojectids.md b/docs/models/payloadprojectids.md index ee7f763050..b7650a9d52 100644 --- a/docs/models/payloadprojectids.md +++ b/docs/models/payloadprojectids.md @@ -5,7 +5,7 @@ Specific project IDs or all projects on the team (`['*']`). ## Example Usage ```typescript -import { PayloadProjectIds } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadProjectIds } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadProjectIds = { items: { @@ -22,4 +22,4 @@ let value: PayloadProjectIds = { | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `items` | [models.Items](../models/items.md) | :heavy_check_mark: | N/A | | `required` | *true* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayload81Type](../models/usereventpayload81type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload82Type](../models/usereventpayload82type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadprojectmembership.md b/docs/models/payloadprojectmembership.md index 59c2c69bc1..b1f5ef7c1c 100644 --- a/docs/models/payloadprojectmembership.md +++ b/docs/models/payloadprojectmembership.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadProjectMembership } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadProjectMembership } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadProjectMembership = {}; ``` @@ -13,7 +13,7 @@ let value: PayloadProjectMembership = {}; | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `createdAt` | *number* | :heavy_minus_sign: | N/A | -| `role` | [models.UserEventPayload350Role](../models/usereventpayload350role.md) | :heavy_minus_sign: | N/A | +| `role` | [models.UserEventPayload353Role](../models/usereventpayload353role.md) | :heavy_minus_sign: | N/A | | `uid` | *string* | :heavy_minus_sign: | N/A | | `previousRole` | [models.PayloadPreviousRole](../models/payloadpreviousrole.md) | :heavy_minus_sign: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloadprojects.md b/docs/models/payloadprojects.md index 1ba9c053bf..65e963d6ae 100644 --- a/docs/models/payloadprojects.md +++ b/docs/models/payloadprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadProjects } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PayloadProjects } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PayloadProjects = { membershipCreatedAt: 3091.91, diff --git a/docs/models/payloadprojectscope.md b/docs/models/payloadprojectscope.md index 49afaeca7b..c6c0594d9d 100644 --- a/docs/models/payloadprojectscope.md +++ b/docs/models/payloadprojectscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadProjectScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadProjectScope } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadProjectScope = "none"; ``` diff --git a/docs/models/payloadprovider.md b/docs/models/payloadprovider.md index 63bfcd8d3f..a68a0d88f7 100644 --- a/docs/models/payloadprovider.md +++ b/docs/models/payloadprovider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { PayloadProvider } from "@vercel/sdk/models/twenty.js"; +import { PayloadProvider } from "@vercel/sdk/models/userevent.js"; let value: PayloadProvider = "stripe"; ``` diff --git a/docs/models/payloadreason.md b/docs/models/payloadreason.md index c1d7e002b4..a066c85c13 100644 --- a/docs/models/payloadreason.md +++ b/docs/models/payloadreason.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadReason } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadReason } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadReason = "plan-change"; ``` diff --git a/docs/models/payloadreasoncode.md b/docs/models/payloadreasoncode.md index aed9b3eda7..f674d80529 100644 --- a/docs/models/payloadreasoncode.md +++ b/docs/models/payloadreasoncode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadReasonCode } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadReasonCode } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadReasonCode = "PUBLIC_API"; ``` diff --git a/docs/models/payloadrefreshperiod.md b/docs/models/payloadrefreshperiod.md index 89c748e022..482b14c67d 100644 --- a/docs/models/payloadrefreshperiod.md +++ b/docs/models/payloadrefreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { PayloadRefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadRefreshPeriod = "none"; ``` diff --git a/docs/models/payloadremotecaching.md b/docs/models/payloadremotecaching.md index 367398fbe4..59bf25eeb3 100644 --- a/docs/models/payloadremotecaching.md +++ b/docs/models/payloadremotecaching.md @@ -5,7 +5,7 @@ Represents configuration for remote caching ## Example Usage ```typescript -import { PayloadRemoteCaching } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadRemoteCaching } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadRemoteCaching = {}; ``` diff --git a/docs/models/payloadremovedusers.md b/docs/models/payloadremovedusers.md index 40bcef19ba..25c38b498d 100644 --- a/docs/models/payloadremovedusers.md +++ b/docs/models/payloadremovedusers.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRemovedUsers } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PayloadRemovedUsers } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PayloadRemovedUsers = { confirmed: false, @@ -18,4 +18,4 @@ let value: PayloadRemovedUsers = { | `confirmed` | *boolean* | :heavy_check_mark: | N/A | | `confirmedAt` | *number* | :heavy_minus_sign: | N/A | | `joinedFrom` | [models.PayloadJoinedFrom](../models/payloadjoinedfrom.md) | :heavy_minus_sign: | N/A | -| `role` | [models.UserEventPayload284Role](../models/usereventpayload284role.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `role` | [models.UserEventPayload287Role](../models/usereventpayload287role.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadrepositoryscope.md b/docs/models/payloadrepositoryscope.md index 5106c95975..77c38b2e07 100644 --- a/docs/models/payloadrepositoryscope.md +++ b/docs/models/payloadrepositoryscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRepositoryScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadRepositoryScope } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadRepositoryScope = "all"; ``` diff --git a/docs/models/payloadrequestkind.md b/docs/models/payloadrequestkind.md index b6384ab6e3..921f04f7bd 100644 --- a/docs/models/payloadrequestkind.md +++ b/docs/models/payloadrequestkind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRequestKind } from "@vercel/sdk/models/newprojects.js"; +import { PayloadRequestKind } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadRequestKind = "list_keys"; ``` diff --git a/docs/models/payloadresources.md b/docs/models/payloadresources.md index 9228258ee7..3755936cfd 100644 --- a/docs/models/payloadresources.md +++ b/docs/models/payloadresources.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadResources } from "@vercel/sdk/models/twenty.js"; +import { PayloadResources } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadResources = { projectIds: { @@ -20,4 +20,4 @@ let value: PayloadResources = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `projectIds` | [models.UserEventPayload80ProjectIds](../models/usereventpayload80projectids.md) | :heavy_check_mark: | Specific project IDs or all projects on the team (`['*']`). | \ No newline at end of file +| `projectIds` | [models.UserEventPayload81ProjectIds](../models/usereventpayload81projectids.md) | :heavy_check_mark: | Specific project IDs or all projects on the team (`['*']`). | \ No newline at end of file diff --git a/docs/models/payloadrole.md b/docs/models/payloadrole.md index 7f90f9aaa3..3dcfbfac61 100644 --- a/docs/models/payloadrole.md +++ b/docs/models/payloadrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRole } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadRole } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadRole = "OWNER"; ``` diff --git a/docs/models/payloadrule.md b/docs/models/payloadrule.md index 827fb43001..b4b3cec232 100644 --- a/docs/models/payloadrule.md +++ b/docs/models/payloadrule.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadRule } from "@vercel/sdk/models/twenty.js"; +import { PayloadRule } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadRule = { id: "", diff --git a/docs/models/payloadscope.md b/docs/models/payloadscope.md index 7628470530..9537c2222b 100644 --- a/docs/models/payloadscope.md +++ b/docs/models/payloadscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadScope } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadScope } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadScope = "team"; ``` diff --git a/docs/models/payloadscopes.md b/docs/models/payloadscopes.md index 8cf90d3f75..7140f1b0ea 100644 --- a/docs/models/payloadscopes.md +++ b/docs/models/payloadscopes.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadScopes } from "@vercel/sdk/models/twenty.js"; +import { PayloadScopes } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadScopes = "openid"; ``` diff --git a/docs/models/payloadscopetype.md b/docs/models/payloadscopetype.md index 1da547f73b..711e78faa7 100644 --- a/docs/models/payloadscopetype.md +++ b/docs/models/payloadscopetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadScopeType } from "@vercel/sdk/models/twenty.js"; +import { PayloadScopeType } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadScopeType = "api-key"; ``` @@ -11,5 +11,5 @@ let value: PayloadScopeType = "api-key"; ## Values ```typescript -"api-key" | "project" | "team" | "user" +"api-key" | "app" | "project" | "team" | "user" ``` \ No newline at end of file diff --git a/docs/models/payloadsource.md b/docs/models/payloadsource.md index 97a5bcdbfb..3f88b61cc8 100644 --- a/docs/models/payloadsource.md +++ b/docs/models/payloadsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadSource } from "@vercel/sdk/models/newprojects.js"; +import { PayloadSource } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadSource = "enable"; ``` diff --git a/docs/models/payloadstaticips.md b/docs/models/payloadstaticips.md index a73840e961..6644e08a42 100644 --- a/docs/models/payloadstaticips.md +++ b/docs/models/payloadstaticips.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadStaticIps } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadStaticIps } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadStaticIps = { enabled: false, diff --git a/docs/models/payloadstore.md b/docs/models/payloadstore.md index 7e903c98f0..a33f4cbeaf 100644 --- a/docs/models/payloadstore.md +++ b/docs/models/payloadstore.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadStore } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadStore } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadStore = { id: "", @@ -17,4 +17,4 @@ let value: PayloadStore = { | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload417Type](../models/usereventpayload417type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload422Type](../models/usereventpayload422type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadtargetkind.md b/docs/models/payloadtargetkind.md index 0a78716331..6328e36452 100644 --- a/docs/models/payloadtargetkind.md +++ b/docs/models/payloadtargetkind.md @@ -5,7 +5,7 @@ A repository's findings are in code no project runs. ## Example Usage ```typescript -import { PayloadTargetKind } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PayloadTargetKind } from "@vercel/sdk/models/payloadstaticips.js"; let value: PayloadTargetKind = "project"; ``` diff --git a/docs/models/payloadteam.md b/docs/models/payloadteam.md index c9e9ccaba6..4b0286e049 100644 --- a/docs/models/payloadteam.md +++ b/docs/models/payloadteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadTeam } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PayloadTeam } from "@vercel/sdk/models/eightytwo.js"; let value: PayloadTeam = { id: "", diff --git a/docs/models/payloadteampermissions.md b/docs/models/payloadteampermissions.md index 186e689c48..81fb8dfd91 100644 --- a/docs/models/payloadteampermissions.md +++ b/docs/models/payloadteampermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadTeamPermissions } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadTeamPermissions } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadTeamPermissions = "V0Chatter"; ``` diff --git a/docs/models/payloadteamroles.md b/docs/models/payloadteamroles.md index 0f684bf973..8a84bb2cd2 100644 --- a/docs/models/payloadteamroles.md +++ b/docs/models/payloadteamroles.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadTeamRoles } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadTeamRoles } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadTeamRoles = "CONTRIBUTOR"; ``` diff --git a/docs/models/payloadteams.md b/docs/models/payloadteams.md index 4c025599d8..fcc21090d6 100644 --- a/docs/models/payloadteams.md +++ b/docs/models/payloadteams.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadTeams } from "@vercel/sdk/models/newprojects.js"; +import { PayloadTeams } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PayloadTeams = { teamRoles: [ @@ -16,4 +16,4 @@ let value: PayloadTeams = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `teamRoles` | [models.UserEventPayload249TeamRoles](../models/usereventpayload249teamroles.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `teamRoles` | [models.UserEventPayload252TeamRoles](../models/usereventpayload252teamroles.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadtype.md b/docs/models/payloadtype.md index ff758ad0e0..49fe858036 100644 --- a/docs/models/payloadtype.md +++ b/docs/models/payloadtype.md @@ -5,7 +5,7 @@ The type of this cosmos doc instance, if blank, assume secret. ## Example Usage ```typescript -import { PayloadType } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadType } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadType = "encrypted"; ``` diff --git a/docs/models/payloadupdatediff.md b/docs/models/payloadupdatediff.md index 17fdd77661..b09a6ecac7 100644 --- a/docs/models/payloadupdatediff.md +++ b/docs/models/payloadupdatediff.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadUpdateDiff } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadUpdateDiff } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadUpdateDiff = { changedValue: true, @@ -18,6 +18,7 @@ let value: PayloadUpdateDiff = { | `changedComment` | *boolean* | :heavy_minus_sign: | N/A | | `changedGitBranch` | *boolean* | :heavy_minus_sign: | N/A | | `changedValue` | *boolean* | :heavy_check_mark: | Indicates a value was submitted, not whether its plaintext changed. | +| `customEnvironmentSlugsById` | Record | :heavy_minus_sign: | N/A | | `key` | *string* | :heavy_minus_sign: | N/A | | `newCustomEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | | `newKey` | *string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/payloadupdateduser.md b/docs/models/payloadupdateduser.md index f513f590f3..a0f09ddbe4 100644 --- a/docs/models/payloadupdateduser.md +++ b/docs/models/payloadupdateduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadUpdatedUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadUpdatedUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadUpdatedUser = { email: "Ian_Reynolds@yahoo.com", diff --git a/docs/models/payloaduser.md b/docs/models/payloaduser.md index 8f705d5b2b..08a331152e 100644 --- a/docs/models/payloaduser.md +++ b/docs/models/payloaduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PayloadUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PayloadUser = { id: "", diff --git a/docs/models/payloadvirtualmodelconfig.md b/docs/models/payloadvirtualmodelconfig.md index 1f5465d8fa..012b8925e8 100644 --- a/docs/models/payloadvirtualmodelconfig.md +++ b/docs/models/payloadvirtualmodelconfig.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadVirtualModelConfig } from "@vercel/sdk/models/twenty.js"; +import { PayloadVirtualModelConfig } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PayloadVirtualModelConfig = { id: "", diff --git a/docs/models/payloadvisibility.md b/docs/models/payloadvisibility.md index f20189589a..7c7e7dedb6 100644 --- a/docs/models/payloadvisibility.md +++ b/docs/models/payloadvisibility.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PayloadVisibility } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PayloadVisibility } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PayloadVisibility = "config"; ``` diff --git a/docs/models/perimeter.md b/docs/models/perimeter.md index 46cf38d471..b638f403d3 100644 --- a/docs/models/perimeter.md +++ b/docs/models/perimeter.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Perimeter } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Perimeter } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Perimeter = { id: "", diff --git a/docs/models/periods.md b/docs/models/periods.md index 82648906b2..7cc727a69a 100644 --- a/docs/models/periods.md +++ b/docs/models/periods.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Periods } from "@vercel/sdk/models/newprojects.js"; +import { Periods } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Periods = { endDate: "", diff --git a/docs/models/permissions.md b/docs/models/permissions.md index b20650c82e..990bacc92f 100644 --- a/docs/models/permissions.md +++ b/docs/models/permissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Permissions } from "@vercel/sdk/models/twenty.js"; +import { Permissions } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Permissions = "read:messageboard"; ``` diff --git a/docs/models/piiredaction.md b/docs/models/piiredaction.md index 1e3c676eb9..e6ebc3cb99 100644 --- a/docs/models/piiredaction.md +++ b/docs/models/piiredaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PiiRedaction } from "@vercel/sdk/models/twenty.js"; +import { PiiRedaction } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PiiRedaction = { from: false, diff --git a/docs/models/planslug.md b/docs/models/planslug.md index 432ff01607..fec8377299 100644 --- a/docs/models/planslug.md +++ b/docs/models/planslug.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PlanSlug } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { PlanSlug } from "@vercel/sdk/models/eightytwo.js"; let value: PlanSlug = "v0_teams"; ``` diff --git a/docs/models/policy.md b/docs/models/policy.md index 78bbf668f6..de4a80acf5 100644 --- a/docs/models/policy.md +++ b/docs/models/policy.md @@ -39,6 +39,6 @@ let value: Policy = { | `name` | *string* | :heavy_check_mark: | Human-readable policy name, or `null` when unnamed. | | `permissions` | *string*[] | :heavy_check_mark: | Permission boundary (`['*']` = the app's full declared permissions). | | `policyId` | *string* | :heavy_check_mark: | N/A | -| `resources` | [models.UserEventPayload544Resources](../models/usereventpayload544resources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | +| `resources` | [models.UserEventPayload549Resources](../models/usereventpayload549resources.md) | :heavy_check_mark: | Resource boundary, or `null` when the policy has none. | | `teamId` | *string* | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | Last-update time (epoch ms). | \ No newline at end of file diff --git a/docs/models/prev.md b/docs/models/prev.md index 3d5b7fd346..da54421876 100644 --- a/docs/models/prev.md +++ b/docs/models/prev.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Prev } from "@vercel/sdk/models/newprojects.js"; +import { Prev } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Prev = { fallbackEnvironment: "", diff --git a/docs/models/prevbudget.md b/docs/models/prevbudget.md index 12bd34aa2f..73d93f0a82 100644 --- a/docs/models/prevbudget.md +++ b/docs/models/prevbudget.md @@ -5,7 +5,7 @@ Represents a budget for tracking and notifying teams on their spending. ## Example Usage ```typescript -import { PrevBudget } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PrevBudget } from "@vercel/sdk/models/payloadstaticips.js"; let value: PrevBudget = { createdAt: 8873.84, @@ -35,11 +35,11 @@ let value: PrevBudget = { | `notifiedAt` | *number*[] | :heavy_check_mark: | Array of 50, 75, 100 to keep track of notifications sent out | | `pauseProjects` | *boolean* | :heavy_minus_sign: | Should all projects be paused if budget is exceeded | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | -| `pricingPlan` | [models.UserEventPayload413PricingPlan](../models/usereventpayload413pricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | -| `scope` | [models.UserEventPayload413PrevBudgetScope](../models/usereventpayload413prevbudgetscope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | +| `pricingPlan` | [models.UserEventPayload418PricingPlan](../models/usereventpayload418pricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | +| `scope` | [models.UserEventPayload418PrevBudgetScope](../models/usereventpayload418prevbudgetscope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | | `scopeId` | *string* | :heavy_minus_sign: | What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. | | `teamId` | *string* | :heavy_check_mark: | Partition key | -| `type` | [models.UserEventPayload413PrevBudgetType](../models/usereventpayload413prevbudgettype.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload418PrevBudgetType](../models/usereventpayload418prevbudgettype.md) | :heavy_check_mark: | The budget type | | `updatedAt` | *number* | :heavy_minus_sign: | Date time when budget is updated last | | `webhookId` | *string* | :heavy_minus_sign: | Webhook id that corresponds to a webhook in Cosmos webhook collection | | `webhookNotified` | *boolean* | :heavy_minus_sign: | Keep track if the webhook has been called for the month | \ No newline at end of file diff --git a/docs/models/previous1.md b/docs/models/previous1.md index 6ea12f5f43..0ba52cc8d8 100644 --- a/docs/models/previous1.md +++ b/docs/models/previous1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Previous1 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Previous1 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Previous1 = { accessGroupId: "", diff --git a/docs/models/previous2.md b/docs/models/previous2.md index bdf35e8e17..59230fd197 100644 --- a/docs/models/previous2.md +++ b/docs/models/previous2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Previous2 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Previous2 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Previous2 = { teamRoles: [], diff --git a/docs/models/previous3.md b/docs/models/previous3.md index d9cececa1c..2569801cf5 100644 --- a/docs/models/previous3.md +++ b/docs/models/previous3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Previous3 } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Previous3 } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Previous3 = "BILLING"; ``` diff --git a/docs/models/previousbudget.md b/docs/models/previousbudget.md index f951bf5579..0a9323fcd7 100644 --- a/docs/models/previousbudget.md +++ b/docs/models/previousbudget.md @@ -5,7 +5,7 @@ Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in ## Example Usage ```typescript -import { PreviousBudget } from "@vercel/sdk/models/twenty.js"; +import { PreviousBudget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PreviousBudget = { limitAmount: 8723.59, @@ -18,5 +18,6 @@ let value: PreviousBudget = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | | `refreshPeriod` | [models.UserEventPayload34RefreshPeriod](../models/usereventpayload34refreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/previousechmode.md b/docs/models/previousechmode.md index cf5b61dd0d..13953d7ce1 100644 --- a/docs/models/previousechmode.md +++ b/docs/models/previousechmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousEchMode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PreviousEchMode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PreviousEchMode = "disabled"; ``` diff --git a/docs/models/previousendpoint.md b/docs/models/previousendpoint.md index c6a84d970b..9cba5c7713 100644 --- a/docs/models/previousendpoint.md +++ b/docs/models/previousendpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousEndpoint } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PreviousEndpoint } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PreviousEndpoint = { name: "", diff --git a/docs/models/previousmode.md b/docs/models/previousmode.md index 78072ec4e1..e798dc215a 100644 --- a/docs/models/previousmode.md +++ b/docs/models/previousmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousMode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PreviousMode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PreviousMode = "none"; ``` diff --git a/docs/models/previousplan.md b/docs/models/previousplan.md index 31379f1d2e..ae51bdc664 100644 --- a/docs/models/previousplan.md +++ b/docs/models/previousplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousPlan } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PreviousPlan } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PreviousPlan = "enterprise"; ``` diff --git a/docs/models/previousrole.md b/docs/models/previousrole.md index 75e6389a0c..9f44904585 100644 --- a/docs/models/previousrole.md +++ b/docs/models/previousrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousRole } from "@vercel/sdk/models/twenty.js"; +import { PreviousRole } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PreviousRole = "PROJECT_GUEST"; ``` diff --git a/docs/models/previousrule.md b/docs/models/previousrule.md index 07a79c3382..d668a7cdcb 100644 --- a/docs/models/previousrule.md +++ b/docs/models/previousrule.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousRule } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { PreviousRule } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: PreviousRule = { email: "Meggie.Schoen4@gmail.com", diff --git a/docs/models/previousteampermissions.md b/docs/models/previousteampermissions.md index 69cc1df157..2ed83a05a1 100644 --- a/docs/models/previousteampermissions.md +++ b/docs/models/previousteampermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousTeamPermissions } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PreviousTeamPermissions } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PreviousTeamPermissions = "AiGatewayTranscriptsManager"; ``` diff --git a/docs/models/previousteamroles.md b/docs/models/previousteamroles.md index f319c4560d..d20b83b4f0 100644 --- a/docs/models/previousteamroles.md +++ b/docs/models/previousteamroles.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PreviousTeamRoles } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { PreviousTeamRoles } from "@vercel/sdk/models/fourhundredandforty.js"; let value: PreviousTeamRoles = "DEVELOPER"; ``` diff --git a/docs/models/prevprojectanalytics.md b/docs/models/prevprojectanalytics.md index 21c8763564..e07eea448d 100644 --- a/docs/models/prevprojectanalytics.md +++ b/docs/models/prevprojectanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrevProjectAnalytics } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { PrevProjectAnalytics } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: PrevProjectAnalytics = { disabledAt: 1591.57, diff --git a/docs/models/prevprojectwebanalytics.md b/docs/models/prevprojectwebanalytics.md index f94e0b7f01..26fd50c038 100644 --- a/docs/models/prevprojectwebanalytics.md +++ b/docs/models/prevprojectwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrevProjectWebAnalytics } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PrevProjectWebAnalytics } from "@vercel/sdk/models/payloadstaticips.js"; let value: PrevProjectWebAnalytics = { id: "", diff --git a/docs/models/pricingplan.md b/docs/models/pricingplan.md index bb67a787d6..d631c210b1 100644 --- a/docs/models/pricingplan.md +++ b/docs/models/pricingplan.md @@ -5,7 +5,7 @@ The acive pricing plan the team is billed with ## Example Usage ```typescript -import { PricingPlan } from "@vercel/sdk/models/oldssoprotection2.js"; +import { PricingPlan } from "@vercel/sdk/models/payloadstaticips.js"; let value: PricingPlan = "flex"; ``` diff --git a/docs/models/primarykey.md b/docs/models/primarykey.md index c6035abfe0..effc734b59 100644 --- a/docs/models/primarykey.md +++ b/docs/models/primarykey.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrimaryKey } from "@vercel/sdk/models/newprojects.js"; +import { PrimaryKey } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: PrimaryKey = { column: "", diff --git a/docs/models/principalapp.md b/docs/models/principalapp.md index 64ba097c2d..88cdb98fd8 100644 --- a/docs/models/principalapp.md +++ b/docs/models/principalapp.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrincipalApp } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PrincipalApp } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PrincipalApp = { id: "", diff --git a/docs/models/principalintegration.md b/docs/models/principalintegration.md index 91bac200ae..90438f1f71 100644 --- a/docs/models/principalintegration.md +++ b/docs/models/principalintegration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrincipalIntegration } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PrincipalIntegration } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PrincipalIntegration = { configurationId: "", diff --git a/docs/models/principalproject.md b/docs/models/principalproject.md index 90ca2ad9c5..f1087691c7 100644 --- a/docs/models/principalproject.md +++ b/docs/models/principalproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrincipalProject } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PrincipalProject } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PrincipalProject = { id: "", diff --git a/docs/models/principaluser.md b/docs/models/principaluser.md index 7855da101c..7f9590ce4c 100644 --- a/docs/models/principaluser.md +++ b/docs/models/principaluser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrincipalUser } from "@vercel/sdk/models/usereventpayload317type.js"; +import { PrincipalUser } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: PrincipalUser = { id: "", diff --git a/docs/models/privatemodel.md b/docs/models/privatemodel.md index 999206d613..5c5fd693b8 100644 --- a/docs/models/privatemodel.md +++ b/docs/models/privatemodel.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrivateModel } from "@vercel/sdk/models/twenty.js"; +import { PrivateModel } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PrivateModel = { providerSlug: "", diff --git a/docs/models/privateprovider.md b/docs/models/privateprovider.md index bb427ae93d..9cc2f61411 100644 --- a/docs/models/privateprovider.md +++ b/docs/models/privateprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrivateProvider } from "@vercel/sdk/models/twenty.js"; +import { PrivateProvider } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: PrivateProvider = { slug: "", diff --git a/docs/models/projectanalytics.md b/docs/models/projectanalytics.md index 9ea39fbe18..a76f8900cd 100644 --- a/docs/models/projectanalytics.md +++ b/docs/models/projectanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ProjectAnalytics } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ProjectAnalytics } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ProjectAnalytics = { disabledAt: 1667.24, diff --git a/docs/models/projectids2.md b/docs/models/projectids2.md index 7f62e56925..746df0d2e2 100644 --- a/docs/models/projectids2.md +++ b/docs/models/projectids2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ProjectIds2 } from "@vercel/sdk/models/newprojects.js"; +import { ProjectIds2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: ProjectIds2 = "all"; ``` diff --git a/docs/models/projectmembership.md b/docs/models/projectmembership.md index 8348b771e6..f06c760921 100644 --- a/docs/models/projectmembership.md +++ b/docs/models/projectmembership.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ProjectMembership } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ProjectMembership } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ProjectMembership = { createdAt: 32.99, @@ -17,6 +17,6 @@ let value: ProjectMembership = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `createdAt` | *number* | :heavy_check_mark: | N/A | -| `role` | [models.UserEventPayload347Role](../models/usereventpayload347role.md) | :heavy_check_mark: | N/A | +| `role` | [models.UserEventPayload350Role](../models/usereventpayload350role.md) | :heavy_check_mark: | N/A | | `uid` | *string* | :heavy_check_mark: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/projectwebanalytics.md b/docs/models/projectwebanalytics.md index b33e0a9d99..db05960450 100644 --- a/docs/models/projectwebanalytics.md +++ b/docs/models/projectwebanalytics.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ProjectWebAnalytics } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ProjectWebAnalytics } from "@vercel/sdk/models/payloadstaticips.js"; let value: ProjectWebAnalytics = { id: "", diff --git a/docs/models/provider.md b/docs/models/provider.md index 1583ff4edf..6594c576ca 100644 --- a/docs/models/provider.md +++ b/docs/models/provider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { Provider } from "@vercel/sdk/models/twenty.js"; +import { Provider } from "@vercel/sdk/models/userevent.js"; let value: Provider = "chatgpt"; ``` diff --git a/docs/models/putprojectdaemoninstancesrequest.md b/docs/models/putprojectdaemoninstancesrequest.md index 926cfe846d..03b8fb41a3 100644 --- a/docs/models/putprojectdaemoninstancesrequest.md +++ b/docs/models/putprojectdaemoninstancesrequest.md @@ -7,7 +7,7 @@ import { PutProjectDaemonInstancesRequest } from "@vercel/sdk/models/putprojectd let value: PutProjectDaemonInstancesRequest = { idOrName: "", - daemonName: "", + daemonName: "abc", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; diff --git a/docs/models/queries.md b/docs/models/queries.md index d63f615d90..1115082c75 100644 --- a/docs/models/queries.md +++ b/docs/models/queries.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Queries } from "@vercel/sdk/models/newprojects.js"; +import { Queries } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Queries = { command: "", diff --git a/docs/models/queryparamscopetype.md b/docs/models/queryparamscopetype.md index bb8d65314d..bf87900589 100644 --- a/docs/models/queryparamscopetype.md +++ b/docs/models/queryparamscopetype.md @@ -7,11 +7,11 @@ Restrict the list to a single budget scope. ```typescript import { QueryParamScopeType } from "@vercel/sdk/models/listaigatewaybudgetsop.js"; -let value: QueryParamScopeType = "api-key"; +let value: QueryParamScopeType = "app"; ``` ## Values ```typescript -"team" | "project" | "user" | "api-key" +"team" | "project" | "user" | "app" | "api-key" ``` \ No newline at end of file diff --git a/docs/models/querytype.md b/docs/models/querytype.md index f81226a062..aed0fc1271 100644 --- a/docs/models/querytype.md +++ b/docs/models/querytype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { QueryType } from "@vercel/sdk/models/newprojects.js"; +import { QueryType } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: QueryType = "user"; ``` diff --git a/docs/models/reasoncode.md b/docs/models/reasoncode.md index d24c1c26d9..a7a8fdb715 100644 --- a/docs/models/reasoncode.md +++ b/docs/models/reasoncode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ReasonCode } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ReasonCode } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ReasonCode = "PUBLIC_API"; ``` diff --git a/docs/models/reasons.md b/docs/models/reasons.md index 94fcf71860..6cb1ef359d 100644 --- a/docs/models/reasons.md +++ b/docs/models/reasons.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Reasons } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Reasons } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Reasons = { description: "indeed mmm jagged brave within", diff --git a/docs/models/removedmembership.md b/docs/models/removedmembership.md index bf0e62bb6f..1f335e4e21 100644 --- a/docs/models/removedmembership.md +++ b/docs/models/removedmembership.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemovedMembership } from "@vercel/sdk/models/usereventpayload317type.js"; +import { RemovedMembership } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: RemovedMembership = { createdAt: 1430.49, @@ -17,6 +17,6 @@ let value: RemovedMembership = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `createdAt` | *number* | :heavy_check_mark: | N/A | -| `role` | [models.UserEventPayload349Role](../models/usereventpayload349role.md) | :heavy_check_mark: | N/A | +| `role` | [models.UserEventPayload352Role](../models/usereventpayload352role.md) | :heavy_check_mark: | N/A | | `uid` | *string* | :heavy_check_mark: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/removedprojects.md b/docs/models/removedprojects.md index aa2a0a36f5..db20ad5125 100644 --- a/docs/models/removedprojects.md +++ b/docs/models/removedprojects.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemovedProjects } from "@vercel/sdk/models/oldssoprotection2.js"; +import { RemovedProjects } from "@vercel/sdk/models/payloadstaticips.js"; let value: RemovedProjects = { id: "", diff --git a/docs/models/removedusers.md b/docs/models/removedusers.md index 8fd4ffd866..5e546f5e8f 100644 --- a/docs/models/removedusers.md +++ b/docs/models/removedusers.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RemovedUsers } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { RemovedUsers } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: RemovedUsers = { confirmed: true, @@ -18,4 +18,4 @@ let value: RemovedUsers = { | `confirmed` | *boolean* | :heavy_check_mark: | N/A | | `confirmedAt` | *number* | :heavy_minus_sign: | N/A | | `joinedFrom` | [models.UserEventPayloadJoinedFrom](../models/usereventpayloadjoinedfrom.md) | :heavy_minus_sign: | N/A | -| `role` | [models.UserEventPayload283Role](../models/usereventpayload283role.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `role` | [models.UserEventPayload286Role](../models/usereventpayload286role.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/replacedby.md b/docs/models/replacedby.md index 1c745412c2..7ff3fd5d88 100644 --- a/docs/models/replacedby.md +++ b/docs/models/replacedby.md @@ -7,11 +7,11 @@ Event type names that supersede this deprecated event type. ```typescript import { ReplacedBy } from "@vercel/sdk/models/listeventtype.js"; -let value: ReplacedBy = "project-affected-projects-deployments-updated"; +let value: ReplacedBy = "project-alias-configured-change"; ``` ## Values ```typescript -"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" +"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-previous-signing-secret-retired" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-admin-invite-revoked" | "organization-admin-removed" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "saml-login-provider-changed" | "sandbox-ai-gateway-credentials-configured" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-expiry-notification-lead-time-updated" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" ``` \ No newline at end of file diff --git a/docs/models/repositoryscope.md b/docs/models/repositoryscope.md index 2d54a193c9..3a41b43a7b 100644 --- a/docs/models/repositoryscope.md +++ b/docs/models/repositoryscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RepositoryScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { RepositoryScope } from "@vercel/sdk/models/payloadstaticips.js"; let value: RepositoryScope = "none"; ``` diff --git a/docs/models/requestaccesstoteamteamsjoinedfrom.md b/docs/models/requestaccesstoteamteamsjoinedfrom.md index 27815358f4..db9c8ca907 100644 --- a/docs/models/requestaccesstoteamteamsjoinedfrom.md +++ b/docs/models/requestaccesstoteamteamsjoinedfrom.md @@ -24,4 +24,5 @@ let value: RequestAccessToTeamTeamsJoinedFrom = { | `repoId` | *string* | :heavy_minus_sign: | N/A | | `repoPath` | *string* | :heavy_minus_sign: | N/A | | `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | | `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/requestkind.md b/docs/models/requestkind.md index 668b635e8c..4580ac7134 100644 --- a/docs/models/requestkind.md +++ b/docs/models/requestkind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RequestKind } from "@vercel/sdk/models/newprojects.js"; +import { RequestKind } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: RequestKind = "raw_commands"; ``` diff --git a/docs/models/resources.md b/docs/models/resources.md index 3eea621c0b..8ece6fab5d 100644 --- a/docs/models/resources.md +++ b/docs/models/resources.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Resources } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { Resources } from "@vercel/sdk/models/eightytwo.js"; let value: Resources = { projectIds: { diff --git a/docs/models/responsebodyevents.md b/docs/models/responsebodyevents.md index 5810d9dbe4..f997d0b08a 100644 --- a/docs/models/responsebodyevents.md +++ b/docs/models/responsebodyevents.md @@ -13,5 +13,5 @@ let value: ResponseBodyEvents = "deployment.created"; ## Values ```typescript -"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "test-webhook" | "thread.resolved" | "thread.unresolved" +"ai-gateway.auto-reload.limit-reached" | "ai-gateway.balance-depleted" | "ai-gateway.budget.updated" | "alerts.triggered" | "botid.anomaly" | "budget.reached" | "comment.created" | "comment.deleted" | "comment.mentioned" | "comment.reaction-added" | "comment.reaction-removed" | "comment.resolved" | "comment.unresolved" | "comment.updated" | "deployment" | "deployment-canceled" | "deployment-check-rerequested" | "deployment-checks-completed" | "deployment-error" | "deployment-prepared" | "deployment-ready" | "deployment.blocked" | "deployment.build-requested" | "deployment.canceled" | "deployment.check-rerequested" | "deployment.checkrun.cancel" | "deployment.checkrun.start" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment.cleanup" | "deployment.created" | "deployment.error" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.integration.action.start" | "deployment.promoted" | "deployment.ready" | "deployment.rollback" | "deployment.succeeded" | "domain-created" | "domain.auto-renew.changed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.deleted" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.created" | "domain.dns.records.changed" | "domain.renewal" | "domain.renewal.failed" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.transfer-in.started" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "firewall.custom-rule-anomaly" | "firewall.system-rule-anomaly" | "flag.created" | "flag.deleted" | "flag.segment.created" | "flag.segment.deleted" | "flag.segment.updated" | "flag.updated" | "function.archival-required" | "function.removal-required" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-configuration.transferred" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "marketplace.invoice.created" | "marketplace.invoice.notpaid" | "marketplace.invoice.overdue" | "marketplace.invoice.paid" | "marketplace.invoice.refunded" | "marketplace.member.changed" | "message.created" | "message.deleted" | "message.mentioned" | "message.reaction-added" | "message.reaction-removed" | "message.updated" | "observability.anomaly" | "observability.anomaly-error" | "observability.error-anomaly" | "observability.usage-anomaly" | "page-integrity.connect-src.detected" | "page-integrity.header.changed" | "page-integrity.runtime-warning.detected" | "page-integrity.script.changed" | "page-integrity.script.detected" | "project-created" | "project-removed" | "project.created" | "project.domain.created" | "project.domain.deleted" | "project.domain.moved" | "project.domain.unverified" | "project.domain.updated" | "project.domain.verified" | "project.env-variable.created" | "project.env-variable.deleted" | "project.env-variable.updated" | "project.removed" | "project.renamed" | "project.rolling-release.aborted" | "project.rolling-release.approved" | "project.rolling-release.completed" | "project.rolling-release.started" | "sandbox.session.expiring" | "sandbox.session.started" | "sandbox.session.stopped" | "test-webhook" | "thread.resolved" | "thread.unresolved" ``` \ No newline at end of file diff --git a/docs/models/restartprojectdaemoninstancerequest.md b/docs/models/restartprojectdaemoninstancerequest.md index b9f9815cb5..66fc998229 100644 --- a/docs/models/restartprojectdaemoninstancerequest.md +++ b/docs/models/restartprojectdaemoninstancerequest.md @@ -7,8 +7,8 @@ import { RestartProjectDaemonInstanceRequest } from "@vercel/sdk/models/restartp let value: RestartProjectDaemonInstanceRequest = { idOrName: "", - daemonName: "", - instanceId: "", + daemonName: "abc", + instanceId: "dmni_abcdefghjkmnpqrstvwxyz0123", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; diff --git a/docs/models/restoreedgeconfigbackuprequest.md b/docs/models/restoreedgeconfigbackuprequest.md index 1d88e5ed08..17656cfcea 100644 --- a/docs/models/restoreedgeconfigbackuprequest.md +++ b/docs/models/restoreedgeconfigbackuprequest.md @@ -6,7 +6,7 @@ import { RestoreEdgeConfigBackupRequest } from "@vercel/sdk/models/restoreedgeconfigbackupop.js"; let value: RestoreEdgeConfigBackupRequest = { - edgeConfigId: "", + edgeConfigId: "ecfg_", edgeConfigBackupVersionId: "", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", diff --git a/docs/models/retention.md b/docs/models/retention.md index 09813adbfe..f9b0630c61 100644 --- a/docs/models/retention.md +++ b/docs/models/retention.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Retention } from "@vercel/sdk/models/twenty.js"; +import { Retention } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Retention = { ceilingMode: "days", diff --git a/docs/models/rollbackdescription.md b/docs/models/rollbackdescription.md index bbdbee8414..b2bd92b27e 100644 --- a/docs/models/rollbackdescription.md +++ b/docs/models/rollbackdescription.md @@ -5,7 +5,7 @@ Description of why a project was rolled back, and by whom. Note that lastAliasRe ## Example Usage ```typescript -import { RollbackDescription } from "@vercel/sdk/models/usereventpayload317type.js"; +import { RollbackDescription } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: RollbackDescription = { createdAt: 6896.2, diff --git a/docs/models/rule.md b/docs/models/rule.md index 8e05ebaafe..052b79469b 100644 --- a/docs/models/rule.md +++ b/docs/models/rule.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Rule } from "@vercel/sdk/models/twenty.js"; +import { Rule } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Rule = { id: "", diff --git a/docs/models/rulegroups.md b/docs/models/rulegroups.md index fba9d0800e..42d2f20f44 100644 --- a/docs/models/rulegroups.md +++ b/docs/models/rulegroups.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RuleGroups } from "@vercel/sdk/models/newprojects.js"; +import { RuleGroups } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: RuleGroups = { active: false, @@ -14,5 +14,5 @@ let value: RuleGroups = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload198Action](../models/usereventpayload198action.md) | :heavy_minus_sign: | N/A | +| `action` | [models.UserEventPayload199Action](../models/usereventpayload199action.md) | :heavy_minus_sign: | N/A | | `active` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/rulename.md b/docs/models/rulename.md index 75320e25cd..ac9f068e3b 100644 --- a/docs/models/rulename.md +++ b/docs/models/rulename.md @@ -5,7 +5,7 @@ Which rule blocked the deploy. ## Example Usage ```typescript -import { RuleName } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { RuleName } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: RuleName = "deploymentSources"; ``` diff --git a/docs/models/ruleprovenance.md b/docs/models/ruleprovenance.md index 7c48c8d33c..addba485da 100644 --- a/docs/models/ruleprovenance.md +++ b/docs/models/ruleprovenance.md @@ -5,7 +5,7 @@ Team-level or project-level rule. ## Example Usage ```typescript -import { RuleProvenance } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { RuleProvenance } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: RuleProvenance = "default"; ``` diff --git a/docs/models/sampling.md b/docs/models/sampling.md index d44eab8ab1..b1b165bf07 100644 --- a/docs/models/sampling.md +++ b/docs/models/sampling.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Sampling } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Sampling } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Sampling = { rate: 1983.19, @@ -18,4 +18,4 @@ let value: Sampling = { | `env` | [models.Env](../models/env.md) | :heavy_minus_sign: | N/A | | `rate` | *number* | :heavy_check_mark: | N/A | | `requestPath` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload482Type](../models/usereventpayload482type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload487Type](../models/usereventpayload487type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/scalingrules.md b/docs/models/scalingrules.md index cf41cc3a3f..696ee95b03 100644 --- a/docs/models/scalingrules.md +++ b/docs/models/scalingrules.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ScalingRules } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ScalingRules } from "@vercel/sdk/models/payloadstaticips.js"; let value: ScalingRules = { max: 7732.79, diff --git a/docs/models/scopetype.md b/docs/models/scopetype.md index 251406ff80..7d28ae5239 100644 --- a/docs/models/scopetype.md +++ b/docs/models/scopetype.md @@ -11,5 +11,5 @@ let value: ScopeType = "api-key"; ## Values ```typescript -"api-key" | "project" | "team" | "user" +"api-key" | "app" | "project" | "team" | "user" ``` \ No newline at end of file diff --git a/docs/models/session.md b/docs/models/session.md index ad131a740a..784731948a 100644 --- a/docs/models/session.md +++ b/docs/models/session.md @@ -76,6 +76,7 @@ let value: Session = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, @@ -84,30 +85,31 @@ let value: Session = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `abortedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was aborted, in milliseconds since the epoch. | 1750344501629 | -| `activeCpuDurationMs` | *number* | :heavy_minus_sign: | The amount of CPU time the sandbox consumed, if available, in milliseconds. This value is only available once the sandbox is stopped, and only if it stopped successfully. | 42 | -| `architecture` | [models.SessionArchitecture](../models/sessionarchitecture.md) | :heavy_minus_sign: | CPU architecture of the sandbox. | | -| `createdAt` | *number* | :heavy_check_mark: | The time when the sandbox was created, in milliseconds since the epoch. | 1750344501629 | -| `cwd` | *string* | :heavy_check_mark: | The working directory of the sandbox. | /vercel/sandbox | -| `duration` | *number* | :heavy_minus_sign: | The duration of the sandbox in milliseconds. | 3600000 | -| `id` | *string* | :heavy_check_mark: | The unique identifier of the sandbox. | sbx_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `memory` | *number* | :heavy_check_mark: | Memory allocated to this sandbox in MB. | 2048 | -| `networkPolicy` | [models.SandboxNetworkPolicy](../models/sandboxnetworkpolicy.md) | :heavy_minus_sign: | The network policy applied to this sandbox, if any. | | -| `networkTransfer` | [models.NetworkTransfer](../models/networktransfer.md) | :heavy_minus_sign: | The quantity of data transfered to and from the sandbox, in bytes. This value is only available once the sandbox is stopped, and only if it stopped successfully. | {
"in": 12543852,
"out": 15368
} | -| `projectId` | *string* | :heavy_check_mark: | The unique identifier of the project associated with this session. | prj_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `region` | *string* | :heavy_check_mark: | The region where the sandbox is hosted. | iad1 | -| `requestedAt` | *number* | :heavy_check_mark: | The time when the sandbox was requested, in milliseconds since the epoch. | 1750344501629 | -| `requestedStopAt` | *number* | :heavy_minus_sign: | The time when the sandbox was requested to stop, in milliseconds since the epoch. | 1750344501629 | -| `runtime` | *string* | :heavy_check_mark: | The runtime of the sandbox. | node22 | -| `snapshottedAt` | *number* | :heavy_minus_sign: | The time when a snapshot was requested, in milliseconds since the epoch. | 1750344501629 | -| `sourceSandboxName` | *string* | :heavy_check_mark: | The name of the source sandbox. | my-sandbox | -| `sourceSnapshotId` | *string* | :heavy_minus_sign: | The unique identifier of the snapshot associated with this sandbox, if any. | snap_123a6c5209bc3778245d011443644c8d27dc2c50 | -| `startedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was started, in milliseconds since the epoch. | 1750344501629 | -| `status` | [models.SessionStatus](../models/sessionstatus.md) | :heavy_check_mark: | The status of the sandbox. | running | -| `stoppedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was stopped, in milliseconds since the epoch. | 1750344501629 | -| `timeout` | *number* | :heavy_check_mark: | The maximum amount of time the sandbox will run for in milliseconds. | 3600000 | -| `updatedAt` | *number* | :heavy_check_mark: | The last time the sandbox was updated, in milliseconds since the epoch. | 1750344501629 | -| `vcpus` | *number* | :heavy_check_mark: | Number of vCPUs allocated to this sandbox. | 2 | -| `workloadType` | [models.SessionWorkloadType](../models/sessionworkloadtype.md) | :heavy_minus_sign: | The workload type of this sandbox. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `abortedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was aborted, in milliseconds since the epoch. | 1750344501629 | +| `activeCpuDurationMs` | *number* | :heavy_minus_sign: | The amount of CPU time the sandbox consumed, if available, in milliseconds. This value is only available once the sandbox is stopped, and only if it stopped successfully. | 42 | +| `architecture` | [models.SessionArchitecture](../models/sessionarchitecture.md) | :heavy_minus_sign: | CPU architecture of the sandbox. | | +| `createdAt` | *number* | :heavy_check_mark: | The time when the sandbox was created, in milliseconds since the epoch. | 1750344501629 | +| `cwd` | *string* | :heavy_check_mark: | The working directory of the sandbox. | /vercel/sandbox | +| `duration` | *number* | :heavy_minus_sign: | The duration of the sandbox in milliseconds. | 3600000 | +| `id` | *string* | :heavy_check_mark: | The unique identifier of the sandbox. | sbx_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `memory` | *number* | :heavy_check_mark: | Memory allocated to this sandbox in MB. | 2048 | +| `networkPolicy` | [models.SandboxNetworkPolicy](../models/sandboxnetworkpolicy.md) | :heavy_minus_sign: | The network policy applied to this sandbox, if any. | | +| `networkTransfer` | [models.NetworkTransfer](../models/networktransfer.md) | :heavy_minus_sign: | The quantity of data transfered to and from the sandbox, in bytes. This value is only available once the sandbox is stopped, and only if it stopped successfully. | {
"in": 12543852,
"out": 15368
} | +| `projectId` | *string* | :heavy_check_mark: | The unique identifier of the project associated with this session. | prj_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `region` | *string* | :heavy_check_mark: | The region where the sandbox is hosted. | iad1 | +| `requestedAt` | *number* | :heavy_check_mark: | The time when the sandbox was requested, in milliseconds since the epoch. | 1750344501629 | +| `requestedStopAt` | *number* | :heavy_minus_sign: | The time when the sandbox was requested to stop, in milliseconds since the epoch. | 1750344501629 | +| `runtime` | *string* | :heavy_check_mark: | The runtime of the sandbox. | node22 | +| `snapshottedAt` | *number* | :heavy_minus_sign: | The time when a snapshot was requested, in milliseconds since the epoch. | 1750344501629 | +| `sourceSandboxName` | *string* | :heavy_check_mark: | The name of the source sandbox. | my-sandbox | +| `sourceSnapshotId` | *string* | :heavy_minus_sign: | The unique identifier of the snapshot associated with this sandbox, if any. | snap_123a6c5209bc3778245d011443644c8d27dc2c50 | +| `startedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was started, in milliseconds since the epoch. | 1750344501629 | +| `status` | [models.SessionStatus](../models/sessionstatus.md) | :heavy_check_mark: | The status of the sandbox. | running | +| `stoppedAt` | *number* | :heavy_minus_sign: | The time when the sandbox was stopped, in milliseconds since the epoch. | 1750344501629 | +| `stopReason` | [models.StopReason](../models/stopreason.md) | :heavy_minus_sign: | Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform. | requested | +| `timeout` | *number* | :heavy_check_mark: | The maximum amount of time the sandbox will run for in milliseconds. | 3600000 | +| `updatedAt` | *number* | :heavy_check_mark: | The last time the sandbox was updated, in milliseconds since the epoch. | 1750344501629 | +| `vcpus` | *number* | :heavy_check_mark: | Number of vCPUs allocated to this sandbox. | 2 | +| `workloadType` | [models.SessionWorkloadType](../models/sessionworkloadtype.md) | :heavy_minus_sign: | The workload type of this sandbox. | | \ No newline at end of file diff --git a/docs/models/settings.md b/docs/models/settings.md index e8582e9835..7f0877558d 100644 --- a/docs/models/settings.md +++ b/docs/models/settings.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Settings } from "@vercel/sdk/models/twenty.js"; +import { Settings } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Settings = { maximumMonthlySpend: "", diff --git a/docs/models/settlementmethod.md b/docs/models/settlementmethod.md index c7f3299b04..390ea3d3dd 100644 --- a/docs/models/settlementmethod.md +++ b/docs/models/settlementmethod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SettlementMethod } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { SettlementMethod } from "@vercel/sdk/models/eightytwo.js"; let value: SettlementMethod = "refunded-paid"; ``` diff --git a/docs/models/seventy.md b/docs/models/seventy.md index 14dce6d39e..738bfdd6f5 100644 --- a/docs/models/seventy.md +++ b/docs/models/seventy.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Seventy } from "@vercel/sdk/models/twenty.js"; +import { Seventy } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Seventy = {}; ``` @@ -14,4 +14,6 @@ let value: Seventy = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `alias` | *string* | :heavy_minus_sign: | N/A | +| `email` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventyeight.md b/docs/models/seventyeight.md index 0e25eeef9d..27e21463b2 100644 --- a/docs/models/seventyeight.md +++ b/docs/models/seventyeight.md @@ -5,16 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyEight } from "@vercel/sdk/models/twenty.js"; +import { SeventyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventyEight = { appName: "", + scopes: [ + "profile", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `permissions` | [models.Permissions](../models/permissions.md)[] | :heavy_minus_sign: | N/A | +| `scopes` | [models.PayloadScopes](../models/payloadscopes.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventyfive.md b/docs/models/seventyfive.md index b55caac5af..8b9d95bcdc 100644 --- a/docs/models/seventyfive.md +++ b/docs/models/seventyfive.md @@ -5,15 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyFive } from "@vercel/sdk/models/twenty.js"; +import { SeventyFive } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SeventyFive = {}; +let value: SeventyFive = { + alias: "", + deploymentUrl: "https://unimportant-strait.net/", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_minus_sign: | N/A | -| `userId` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `alias` | *string* | :heavy_check_mark: | N/A | +| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventyfour.md b/docs/models/seventyfour.md index ebe0243d79..9830246f8f 100644 --- a/docs/models/seventyfour.md +++ b/docs/models/seventyfour.md @@ -5,17 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyFour } from "@vercel/sdk/models/twenty.js"; +import { SeventyFour } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventyFour = { + action: "removed", alias: "", - deploymentUrl: "https://sparse-hunt.net", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_check_mark: | N/A | -| `deploymentUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `action` | [models.UserEventPayload74Action](../models/usereventpayload74action.md) | :heavy_check_mark: | N/A | +| `alias` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventynine.md b/docs/models/seventynine.md index e317eb81cf..dc0402b209 100644 --- a/docs/models/seventynine.md +++ b/docs/models/seventynine.md @@ -5,19 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyNine } from "@vercel/sdk/models/twenty.js"; +import { SeventyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventyNine = { appName: "", - nextScopes: [], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `nextPermissions` | [models.NextPermissions](../models/nextpermissions.md)[] | :heavy_minus_sign: | N/A | -| `nextScopes` | [models.NextScopes](../models/nextscopes.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `appName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventyone.md b/docs/models/seventyone.md index 3280a2445b..4527a616dc 100644 --- a/docs/models/seventyone.md +++ b/docs/models/seventyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyOne } from "@vercel/sdk/models/twenty.js"; +import { SeventyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventyOne = {}; ``` @@ -14,5 +14,4 @@ let value: SeventyOne = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_minus_sign: | N/A | -| `email` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `alias` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventyseven.md b/docs/models/seventyseven.md index 7fdb572d85..51387fd869 100644 --- a/docs/models/seventyseven.md +++ b/docs/models/seventyseven.md @@ -5,19 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventySeven } from "@vercel/sdk/models/twenty.js"; +import { SeventySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SeventySeven = { - appName: "", - scopes: [], -}; +let value: SeventySeven = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `permissions` | [models.Permissions](../models/permissions.md)[] | :heavy_minus_sign: | N/A | -| `scopes` | [models.PayloadScopes](../models/payloadscopes.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `alias` | *string* | :heavy_minus_sign: | N/A | +| `aliasId` | *string* | :heavy_minus_sign: | N/A | +| `userId` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventysix.md b/docs/models/seventysix.md index 7e64e3e628..52dec1a744 100644 --- a/docs/models/seventysix.md +++ b/docs/models/seventysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventySix } from "@vercel/sdk/models/twenty.js"; +import { SeventySix } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventySix = {}; ``` @@ -15,6 +15,5 @@ let value: SeventySix = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `alias` | *string* | :heavy_minus_sign: | N/A | -| `aliasId` | *string* | :heavy_minus_sign: | N/A | | `userId` | *string* | :heavy_minus_sign: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventythree.md b/docs/models/seventythree.md index a6eeb3f1a2..4f346dc765 100644 --- a/docs/models/seventythree.md +++ b/docs/models/seventythree.md @@ -5,20 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyThree } from "@vercel/sdk/models/twenty.js"; +import { SeventyThree } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SeventyThree = { - action: "removed", - alias: "", - projectName: "", -}; +let value: SeventyThree = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `action` | [models.UserEventPayload73Action](../models/usereventpayload73action.md) | :heavy_check_mark: | N/A | -| `alias` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `alias` | *string* | :heavy_minus_sign: | N/A | +| `aliasId` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventytwo.md b/docs/models/seventytwo.md index c76b187abf..73d174e441 100644 --- a/docs/models/seventytwo.md +++ b/docs/models/seventytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SeventyTwo } from "@vercel/sdk/models/twenty.js"; +import { SeventyTwo } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SeventyTwo = {}; ``` @@ -15,6 +15,4 @@ let value: SeventyTwo = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `alias` | *string* | :heavy_minus_sign: | N/A | -| `aliasId` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `email` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/siftroute.md b/docs/models/siftroute.md index 96e8096aa2..133eb8530a 100644 --- a/docs/models/siftroute.md +++ b/docs/models/siftroute.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SiftRoute } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { SiftRoute } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: SiftRoute = { name: "", diff --git a/docs/models/signflagoverridesrequest.md b/docs/models/signflagoverridesrequest.md new file mode 100644 index 0000000000..d3a9f79134 --- /dev/null +++ b/docs/models/signflagoverridesrequest.md @@ -0,0 +1,22 @@ +# SignFlagOverridesRequest + +## Example Usage + +```typescript +import { SignFlagOverridesRequest } from "@vercel/sdk/models/signflagoverridesop.js"; + +let value: SignFlagOverridesRequest = { + projectIdOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `projectIdOrName` | *string* | :heavy_check_mark: | The project id or name | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.SignFlagOverridesRequestBody](../models/signflagoverridesrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/signflagoverridesrequestbody.md b/docs/models/signflagoverridesrequestbody.md new file mode 100644 index 0000000000..14eccb1a16 --- /dev/null +++ b/docs/models/signflagoverridesrequestbody.md @@ -0,0 +1,19 @@ +# SignFlagOverridesRequestBody + +## Example Usage + +```typescript +import { SignFlagOverridesRequestBody } from "@vercel/sdk/models/signflagoverridesop.js"; + +let value: SignFlagOverridesRequestBody = { + overrides: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `overrides` | [models.Overrides](../models/overrides.md) | :heavy_check_mark: | The value of each overridden flag, by flag key | +| `environment` | *string* | :heavy_minus_sign: | production, preview, development or the slug of a custom environment. Defaults to the environment of a Vercel OIDC token. | +| `ttl` | *number* | :heavy_minus_sign: | Seconds until the overrides expire. Defaults to one hour, at most one day. | \ No newline at end of file diff --git a/docs/models/signflagoverridesresponsebody.md b/docs/models/signflagoverridesresponsebody.md new file mode 100644 index 0000000000..2a2219d4a8 --- /dev/null +++ b/docs/models/signflagoverridesresponsebody.md @@ -0,0 +1,19 @@ +# SignFlagOverridesResponseBody + +## Example Usage + +```typescript +import { SignFlagOverridesResponseBody } from "@vercel/sdk/models/signflagoverridesop.js"; + +let value: SignFlagOverridesResponseBody = { + expiresIn: 9979.11, + token: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `expiresIn` | *number* | :heavy_check_mark: | N/A | +| `token` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixty.md b/docs/models/sixty.md index 88ffcd1b1a..55c8edc562 100644 --- a/docs/models/sixty.md +++ b/docs/models/sixty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Sixty } from "@vercel/sdk/models/twenty.js"; +import { Sixty } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Sixty = { accessGroup: { @@ -17,7 +17,9 @@ let value: Sixty = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `accessGroup` | [models.PayloadAccessGroup](../models/payloadaccessgroup.md) | :heavy_check_mark: | N/A | -| `author` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `accessGroup` | [models.AccessGroup](../models/accessgroup.md) | :heavy_check_mark: | N/A | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | +| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyeight.md b/docs/models/sixtyeight.md index 0131e99d71..79a57a85c5 100644 --- a/docs/models/sixtyeight.md +++ b/docs/models/sixtyeight.md @@ -5,20 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyEight } from "@vercel/sdk/models/twenty.js"; +import { SixtyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtyEight = { alias: "", - aliasId: "", - deploymentId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_check_mark: | N/A | -| `aliasId` | *string* | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `alias` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `newTeam` | [models.NewTeam](../models/newteam.md) | :heavy_minus_sign: | N/A | +| `oldTeam` | [models.OldTeam](../models/oldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyfive.md b/docs/models/sixtyfive.md index 77beb2b85f..dd3ceab4e5 100644 --- a/docs/models/sixtyfive.md +++ b/docs/models/sixtyfive.md @@ -5,24 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyFive } from "@vercel/sdk/models/twenty.js"; +import { SixtyFive } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtyFive = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `alias` | *string* | :heavy_minus_sign: | N/A | -| `aliasId` | *string* | :heavy_minus_sign: | N/A | -| `aliasUpdatedAt` | *number* | :heavy_minus_sign: | N/A | -| `deployment` | [models.Deployment](../models/deployment.md) | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_minus_sign: | N/A | -| `deploymentUrl` | *string* | :heavy_minus_sign: | N/A | -| `oldDeploymentId` | *string* | :heavy_minus_sign: | N/A | -| `redirect` | *string* | :heavy_minus_sign: | N/A | -| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | -| `ruleCount` | *number* | :heavy_minus_sign: | N/A | -| `system` | *boolean* | :heavy_minus_sign: | N/A | -| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyfour.md b/docs/models/sixtyfour.md index c032e24038..b809ea6048 100644 --- a/docs/models/sixtyfour.md +++ b/docs/models/sixtyfour.md @@ -5,14 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyFour } from "@vercel/sdk/models/twenty.js"; +import { SixtyFour } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SixtyFour = {}; +let value: SixtyFour = { + accessGroup: { + id: "", + }, + user: { + id: "", + }, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `currency` | *string* | :heavy_minus_sign: | N/A | -| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `accessGroup` | [models.UserEventPayload64AccessGroup](../models/usereventpayload64accessgroup.md) | :heavy_check_mark: | N/A | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `user` | [models.UserEventPayload64User](../models/usereventpayload64user.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtynine.md b/docs/models/sixtynine.md index 0d226486ac..55c9288cc8 100644 --- a/docs/models/sixtynine.md +++ b/docs/models/sixtynine.md @@ -5,15 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyNine } from "@vercel/sdk/models/twenty.js"; +import { SixtyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SixtyNine = {}; +let value: SixtyNine = { + alias: "", + aliasId: "", + deploymentId: "", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_minus_sign: | N/A | -| `email` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `alias` | *string* | :heavy_check_mark: | N/A | +| `aliasId` | *string* | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyone.md b/docs/models/sixtyone.md index 61cfb7d26c..749021882d 100644 --- a/docs/models/sixtyone.md +++ b/docs/models/sixtyone.md @@ -5,24 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyOne } from "@vercel/sdk/models/twenty.js"; +import { SixtyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtyOne = { accessGroup: { id: "", name: "", }, - project: { - id: "", - }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `accessGroup` | [models.UserEventPayloadAccessGroup](../models/usereventpayloadaccessgroup.md) | :heavy_check_mark: | N/A | -| `nextRole` | [models.NextRole](../models/nextrole.md) | :heavy_minus_sign: | N/A | -| `previousRole` | [models.PreviousRole](../models/previousrole.md) | :heavy_minus_sign: | N/A | -| `project` | [models.PayloadProject](../models/payloadproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `accessGroup` | [models.PayloadAccessGroup](../models/payloadaccessgroup.md) | :heavy_check_mark: | N/A | +| `author` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyseven.md b/docs/models/sixtyseven.md index ef12d6a65e..74cf5e96bf 100644 --- a/docs/models/sixtyseven.md +++ b/docs/models/sixtyseven.md @@ -5,18 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtySeven } from "@vercel/sdk/models/twenty.js"; +import { SixtySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtySeven = { - alias: "", + aliasCount: 5488.88, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `alias` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `newTeam` | [models.NewTeam](../models/newteam.md) | :heavy_minus_sign: | N/A | -| `oldTeam` | [models.OldTeam](../models/oldteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `aliasCount` | *number* | :heavy_check_mark: | N/A | +| `deployment` | [models.PayloadDeployment](../models/payloaddeployment.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtysix.md b/docs/models/sixtysix.md index ab680b05c1..20e0bf2963 100644 --- a/docs/models/sixtysix.md +++ b/docs/models/sixtysix.md @@ -5,18 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtySix } from "@vercel/sdk/models/twenty.js"; +import { SixtySix } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: SixtySix = { - aliasCount: 2937.17, - projectId: "", -}; +let value: SixtySix = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `aliasCount` | *number* | :heavy_check_mark: | N/A | -| `deployment` | [models.PayloadDeployment](../models/payloaddeployment.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `alias` | *string* | :heavy_minus_sign: | N/A | +| `aliasId` | *string* | :heavy_minus_sign: | N/A | +| `aliasUpdatedAt` | *number* | :heavy_minus_sign: | N/A | +| `deployment` | [models.Deployment](../models/deployment.md) | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_minus_sign: | N/A | +| `deploymentUrl` | *string* | :heavy_minus_sign: | N/A | +| `oldDeploymentId` | *string* | :heavy_minus_sign: | N/A | +| `redirect` | *string* | :heavy_minus_sign: | N/A | +| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | +| `ruleCount` | *number* | :heavy_minus_sign: | N/A | +| `system` | *boolean* | :heavy_minus_sign: | N/A | +| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtythree.md b/docs/models/sixtythree.md index e18584a34d..6da2ba5191 100644 --- a/docs/models/sixtythree.md +++ b/docs/models/sixtythree.md @@ -5,14 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyThree } from "@vercel/sdk/models/twenty.js"; +import { SixtyThree } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtyThree = { accessGroup: { id: "", - }, - user: { - id: "", + name: "", }, }; ``` @@ -22,5 +20,11 @@ let value: SixtyThree = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `accessGroup` | [models.UserEventPayload63AccessGroup](../models/usereventpayload63accessgroup.md) | :heavy_check_mark: | N/A | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `user` | [models.UserEventPayload63User](../models/usereventpayload63user.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `entitlementsAdded` | *string*[] | :heavy_minus_sign: | N/A | +| `entitlementsRemoved` | *string*[] | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `previousName` | *string* | :heavy_minus_sign: | N/A | +| `previousTeamPermissions` | *string*[] | :heavy_minus_sign: | N/A | +| `previousTeamRoles` | *string*[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | +| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtytwo.md b/docs/models/sixtytwo.md index dffd2f6521..c892f5c909 100644 --- a/docs/models/sixtytwo.md +++ b/docs/models/sixtytwo.md @@ -5,26 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { SixtyTwo } from "@vercel/sdk/models/twenty.js"; +import { SixtyTwo } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: SixtyTwo = { accessGroup: { id: "", name: "", }, + project: { + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `accessGroup` | [models.UserEventPayload62AccessGroup](../models/usereventpayload62accessgroup.md) | :heavy_check_mark: | N/A | -| `entitlementsAdded` | *string*[] | :heavy_minus_sign: | N/A | -| `entitlementsRemoved` | *string*[] | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `previousName` | *string* | :heavy_minus_sign: | N/A | -| `previousTeamPermissions` | *string*[] | :heavy_minus_sign: | N/A | -| `previousTeamRoles` | *string*[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | -| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `accessGroup` | [models.UserEventPayloadAccessGroup](../models/usereventpayloadaccessgroup.md) | :heavy_check_mark: | N/A | +| `nextRole` | [models.NextRole](../models/nextrole.md) | :heavy_minus_sign: | N/A | +| `previousRole` | [models.PreviousRole](../models/previousrole.md) | :heavy_minus_sign: | N/A | +| `project` | [models.PayloadProject](../models/payloadproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ssoprotection1.md b/docs/models/ssoprotection1.md index 5ad7c5e6ce..ac773d836c 100644 --- a/docs/models/ssoprotection1.md +++ b/docs/models/ssoprotection1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SsoProtection1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { SsoProtection1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: SsoProtection1 = { deploymentType: "all", diff --git a/docs/models/ssoprotection2.md b/docs/models/ssoprotection2.md index 810e886f64..44cbfae3db 100644 --- a/docs/models/ssoprotection2.md +++ b/docs/models/ssoprotection2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SsoProtection2 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { SsoProtection2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: SsoProtection2 = "preview"; ``` diff --git a/docs/models/ssoprotectionapril2026securityincidentmigrationappliedfrom.md b/docs/models/ssoprotectionapril2026securityincidentmigrationappliedfrom.md index 1e3880950d..388369232a 100644 --- a/docs/models/ssoprotectionapril2026securityincidentmigrationappliedfrom.md +++ b/docs/models/ssoprotectionapril2026securityincidentmigrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/usereventpayload317type.js"; +import { SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom = "all_except_custom_domains"; diff --git a/docs/models/ssoprotectioncve55182migrationappliedfrom.md b/docs/models/ssoprotectioncve55182migrationappliedfrom.md index 3f0a462fe5..dd9083b84d 100644 --- a/docs/models/ssoprotectioncve55182migrationappliedfrom.md +++ b/docs/models/ssoprotectioncve55182migrationappliedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SsoProtectionCve55182MigrationAppliedFrom } from "@vercel/sdk/models/usereventpayload317type.js"; +import { SsoProtectionCve55182MigrationAppliedFrom } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: SsoProtectionCve55182MigrationAppliedFrom = "all_except_custom_domains"; diff --git a/docs/models/ssoprotectiondeploymenttype.md b/docs/models/ssoprotectiondeploymenttype.md index afc521d7dc..a84b33721f 100644 --- a/docs/models/ssoprotectiondeploymenttype.md +++ b/docs/models/ssoprotectiondeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SsoProtectionDeploymentType } from "@vercel/sdk/models/usereventpayload317type.js"; +import { SsoProtectionDeploymentType } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: SsoProtectionDeploymentType = "prod_deployment_urls_and_all_previews"; diff --git a/docs/models/staticips.md b/docs/models/staticips.md index bd3fae1c21..a128de3d7c 100644 --- a/docs/models/staticips.md +++ b/docs/models/staticips.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { StaticIps } from "@vercel/sdk/models/oldssoprotection2.js"; +import { StaticIps } from "@vercel/sdk/models/payloadstaticips.js"; let value: StaticIps = { enabled: false, diff --git a/docs/models/stopreason.md b/docs/models/stopreason.md new file mode 100644 index 0000000000..bcd7795711 --- /dev/null +++ b/docs/models/stopreason.md @@ -0,0 +1,17 @@ +# StopReason + +Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform. + +## Example Usage + +```typescript +import { StopReason } from "@vercel/sdk/models/session.js"; + +let value: StopReason = "requested"; +``` + +## Values + +```typescript +"error" | "exited" | "requested" | "snapshot" | "timeout" +``` \ No newline at end of file diff --git a/docs/models/stopsessionresponsebody.md b/docs/models/stopsessionresponsebody.md index e7fb61900b..aed7952dcc 100644 --- a/docs/models/stopsessionresponsebody.md +++ b/docs/models/stopsessionresponsebody.md @@ -78,6 +78,7 @@ const value: models.StopSessionResponseBody1 = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, @@ -94,6 +95,7 @@ const value: models.StopSessionResponseBody2 = { currentSessionId: "", cwd: "/vercel/sandbox", expiresAt: 1750344801629, + expiryNotificationLeadTime: 60000, failoverRegions: [ "sfo1", "cle1", @@ -194,6 +196,7 @@ const value: models.StopSessionResponseBody2 = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/stopsessionresponsebody1.md b/docs/models/stopsessionresponsebody1.md index b2d0c81bca..1b71e05fdb 100644 --- a/docs/models/stopsessionresponsebody1.md +++ b/docs/models/stopsessionresponsebody1.md @@ -75,6 +75,7 @@ let value: StopSessionResponseBody1 = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/stopsessionresponsebody2.md b/docs/models/stopsessionresponsebody2.md index 4f2e044bd1..71e58a6889 100644 --- a/docs/models/stopsessionresponsebody2.md +++ b/docs/models/stopsessionresponsebody2.md @@ -11,6 +11,7 @@ let value: StopSessionResponseBody2 = { currentSessionId: "", cwd: "/vercel/sandbox", expiresAt: 1750344801629, + expiryNotificationLeadTime: 60000, failoverRegions: [ "sfo1", "cle1", @@ -111,6 +112,7 @@ let value: StopSessionResponseBody2 = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/store.md b/docs/models/store.md index ebdf802e4c..1e72dbb0c4 100644 --- a/docs/models/store.md +++ b/docs/models/store.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Store } from "@vercel/sdk/models/oldssoprotection2.js"; +import { Store } from "@vercel/sdk/models/payloadstaticips.js"; let value: Store = { id: "", @@ -17,4 +17,4 @@ let value: Store = { | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload416Type](../models/usereventpayload416type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload421Type](../models/usereventpayload421type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/storetype.md b/docs/models/storetype.md index 8f47c4cec6..b5af25bc49 100644 --- a/docs/models/storetype.md +++ b/docs/models/storetype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { StoreType } from "@vercel/sdk/models/oldssoprotection2.js"; +import { StoreType } from "@vercel/sdk/models/payloadstaticips.js"; let value: StoreType = "redis"; ``` diff --git a/docs/models/targetkind.md b/docs/models/targetkind.md index 9a1b1b9abc..ebd77686e2 100644 --- a/docs/models/targetkind.md +++ b/docs/models/targetkind.md @@ -5,7 +5,7 @@ A repository's findings are in code no project runs. ## Example Usage ```typescript -import { TargetKind } from "@vercel/sdk/models/oldssoprotection2.js"; +import { TargetKind } from "@vercel/sdk/models/payloadstaticips.js"; let value: TargetKind = "repository"; ``` diff --git a/docs/models/teamlimitedjoinedfrom.md b/docs/models/teamlimitedjoinedfrom.md index 72efa56d50..95175ae150 100644 --- a/docs/models/teamlimitedjoinedfrom.md +++ b/docs/models/teamlimitedjoinedfrom.md @@ -12,16 +12,17 @@ let value: TeamLimitedJoinedFrom = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `commitId` | *string* | :heavy_minus_sign: | N/A | -| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | -| `gitUserId` | *models.TeamLimitedGitUserId* | :heavy_minus_sign: | N/A | -| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | -| `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `origin` | [models.TeamLimitedOrigin](../models/teamlimitedorigin.md) | :heavy_check_mark: | N/A | -| `repoId` | *string* | :heavy_minus_sign: | N/A | -| `repoPath` | *string* | :heavy_minus_sign: | N/A | -| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | -| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `commitId` | *string* | :heavy_minus_sign: | N/A | +| `dsyncConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `dsyncUserId` | *string* | :heavy_minus_sign: | N/A | +| `gitUserId` | *models.TeamLimitedGitUserId* | :heavy_minus_sign: | N/A | +| `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | +| `idpUserId` | *string* | :heavy_minus_sign: | N/A | +| `origin` | [models.TeamLimitedOrigin](../models/teamlimitedorigin.md) | :heavy_check_mark: | N/A | +| `repoId` | *string* | :heavy_minus_sign: | N/A | +| `repoPath` | *string* | :heavy_minus_sign: | N/A | +| `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | +| `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/teammembership.md b/docs/models/teammembership.md index 73e34a762d..73d06ac3b0 100644 --- a/docs/models/teammembership.md +++ b/docs/models/teammembership.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TeamMembership } from "@vercel/sdk/models/usereventpayload317type.js"; +import { TeamMembership } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: TeamMembership = { uid: "", diff --git a/docs/models/thirty.md b/docs/models/thirty.md index 705d68d14f..27de614c48 100644 --- a/docs/models/thirty.md +++ b/docs/models/thirty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Thirty } from "@vercel/sdk/models/twenty.js"; +import { Thirty } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: Thirty = { accessPolicy: { diff --git a/docs/models/thirtyeight.md b/docs/models/thirtyeight.md index 2a9fc3d91c..bccf628ef7 100644 --- a/docs/models/thirtyeight.md +++ b/docs/models/thirtyeight.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyEight } from "@vercel/sdk/models/twenty.js"; +import { ThirtyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyEight = { enabled: true, diff --git a/docs/models/thirtyfive.md b/docs/models/thirtyfive.md index 452f202139..e3faa0e52d 100644 --- a/docs/models/thirtyfive.md +++ b/docs/models/thirtyfive.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyFive } from "@vercel/sdk/models/twenty.js"; +import { ThirtyFive } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyFive = { change: "update", diff --git a/docs/models/thirtyfour.md b/docs/models/thirtyfour.md index 746ff738a7..14833f9a29 100644 --- a/docs/models/thirtyfour.md +++ b/docs/models/thirtyfour.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyFour } from "@vercel/sdk/models/twenty.js"; +import { ThirtyFour } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyFour = { apiKey: { diff --git a/docs/models/thirtynine.md b/docs/models/thirtynine.md index 5d4a3dbb99..7792225f90 100644 --- a/docs/models/thirtynine.md +++ b/docs/models/thirtynine.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyNine } from "@vercel/sdk/models/twenty.js"; +import { ThirtyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyNine = { credential: { diff --git a/docs/models/thirtyone.md b/docs/models/thirtyone.md index 43cc9f7dd7..21b37f4f13 100644 --- a/docs/models/thirtyone.md +++ b/docs/models/thirtyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyOne } from "@vercel/sdk/models/twenty.js"; +import { ThirtyOne } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyOne = { accessPolicy: { diff --git a/docs/models/thirtyseven.md b/docs/models/thirtyseven.md index e4a3fd0055..a2bab16663 100644 --- a/docs/models/thirtyseven.md +++ b/docs/models/thirtyseven.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtySeven } from "@vercel/sdk/models/twenty.js"; +import { ThirtySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtySeven = { change: "enable", @@ -17,6 +17,8 @@ let value: ThirtySeven = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `appId` | *string* | :heavy_minus_sign: | Associates the event with a Vercel App; rendered when `appName` is absent. | +| `appName` | *string* | :heavy_minus_sign: | N/A | | `budget` | [models.UserEventPayload37Budget](../models/usereventpayload37budget.md) | :heavy_minus_sign: | Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. | | `change` | [models.UserEventPayload37Change](../models/usereventpayload37change.md) | :heavy_check_mark: | N/A | | `justification` | *string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/thirtysix.md b/docs/models/thirtysix.md index f23eb75bae..e9c5b0f06a 100644 --- a/docs/models/thirtysix.md +++ b/docs/models/thirtysix.md @@ -5,20 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtySix } from "@vercel/sdk/models/twenty.js"; +import { ThirtySix } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtySix = { change: "set", - scopeType: "team", + scopeType: "project", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `budget` | [models.UserEventPayloadBudget](../models/usereventpayloadbudget.md) | :heavy_minus_sign: | Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. | -| `change` | [models.UserEventPayloadChange](../models/usereventpayloadchange.md) | :heavy_check_mark: | N/A | -| `justification` | *string* | :heavy_minus_sign: | N/A | -| `previousBudget` | [models.PayloadPreviousBudget](../models/payloadpreviousbudget.md) | :heavy_minus_sign: | Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. | -| `scopeType` | [models.PayloadScopeType](../models/payloadscopetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `budget` | [models.UserEventPayloadBudget](../models/usereventpayloadbudget.md) | :heavy_minus_sign: | `api-key` defaults may cover only some key spend attributions. | +| `change` | [models.UserEventPayloadChange](../models/usereventpayloadchange.md) | :heavy_check_mark: | N/A | +| `justification` | *string* | :heavy_minus_sign: | N/A | +| `previousBudget` | [models.PayloadPreviousBudget](../models/payloadpreviousbudget.md) | :heavy_minus_sign: | `api-key` defaults may cover only some key spend attributions. | +| `scopeType` | [models.PayloadScopeType](../models/payloadscopetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtythree.md b/docs/models/thirtythree.md index cc7f0ceb95..1aaa72b5d1 100644 --- a/docs/models/thirtythree.md +++ b/docs/models/thirtythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyThree } from "@vercel/sdk/models/twenty.js"; +import { ThirtyThree } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyThree = { apiKey: { diff --git a/docs/models/thirtytwo.md b/docs/models/thirtytwo.md index 0b69704fb8..d108323afd 100644 --- a/docs/models/thirtytwo.md +++ b/docs/models/thirtytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThirtyTwo } from "@vercel/sdk/models/twenty.js"; +import { ThirtyTwo } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ThirtyTwo = { apiKey: { diff --git a/docs/models/threehundred.md b/docs/models/threehundred.md index 4b3b7a66db..6c6d0cb55f 100644 --- a/docs/models/threehundred.md +++ b/docs/models/threehundred.md @@ -5,18 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundred } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundred } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundred = { projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `avatarDarkMode` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `prevProjectAnalytics` | Record | :heavy_minus_sign: | N/A | +| `projectAnalytics` | Record | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeight.md b/docs/models/threehundredandeight.md index 2edc95d676..8fb1cf909e 100644 --- a/docs/models/threehundredandeight.md +++ b/docs/models/threehundredandeight.md @@ -5,16 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndEight } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: ThreeHundredAndEight = {}; +let value: ThreeHundredAndEight = { + projectId: "", + projectName: "", + sourceFilesOutsideRootDirectory: true, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `certId` | *string* | :heavy_minus_sign: | N/A | -| `origin` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeighteen.md b/docs/models/threehundredandeighteen.md index ffb5342551..bb9242c297 100644 --- a/docs/models/threehundredandeighteen.md +++ b/docs/models/threehundredandeighteen.md @@ -5,12 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEighteen } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndEighteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndEighteen = { - customEnvironmentId: "", - customEnvironmentSlug: "", - enableSchedulesByDefault: true, + autoAssignCustomDomains: true, projectId: "", projectName: "", }; @@ -18,10 +16,8 @@ let value: ThreeHundredAndEighteen = { ## Fields -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | -| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | -| `enableSchedulesByDefault` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `autoAssignCustomDomains` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeighty.md b/docs/models/threehundredandeighty.md index aef139dd9c..5504bbc1d6 100644 --- a/docs/models/threehundredandeighty.md +++ b/docs/models/threehundredandeighty.md @@ -5,9 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEighty } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEighty } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndEighty = { + next: { + skewProtectionAllowedDomains: [ + "", + ], + }, + previous: {}, projectId: "", projectName: "", }; @@ -15,11 +21,9 @@ let value: ThreeHundredAndEighty = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `addedAddresses` | *string*[] | :heavy_minus_sign: | N/A | -| `oldTrustedIps` | [models.OldTrustedIps](../models/oldtrustedips.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `removedAddresses` | *string*[] | :heavy_minus_sign: | N/A | -| `trustedIps` | [models.TrustedIps](../models/trustedips.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload380Next](../models/usereventpayload380next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload380Previous](../models/usereventpayload380previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightyeight.md b/docs/models/threehundredandeightyeight.md index b62ebfbf48..d07b53867f 100644 --- a/docs/models/threehundredandeightyeight.md +++ b/docs/models/threehundredandeightyeight.md @@ -5,16 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyEight } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyEight } from "@vercel/sdk/models/payloadstaticips.js"; -let value: ThreeHundredAndEightyEight = {}; +let value: ThreeHundredAndEightyEight = { + connectionId: "", + connectionType: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `connectionId` | *string* | :heavy_minus_sign: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload388ActorType](../models/usereventpayload388actortype.md) | :heavy_minus_sign: | N/A | -| `certificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `connectionId` | *string* | :heavy_check_mark: | N/A | +| `connectionType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightyfive.md b/docs/models/threehundredandeightyfive.md index 095525ed08..34d3eb7dd7 100644 --- a/docs/models/threehundredandeightyfive.md +++ b/docs/models/threehundredandeightyfive.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyFive } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyFive } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightyFive = { - connectionId: "", - connectionType: "", + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `connectionId` | *string* | :heavy_check_mark: | N/A | -| `connectionType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | Display name for Activity links. Optional for events stored before it was published. | +| `reasonCode` | [models.PayloadReasonCode](../models/payloadreasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightyfour.md b/docs/models/threehundredandeightyfour.md index 5f2a2928b9..49e9aa0f2e 100644 --- a/docs/models/threehundredandeightyfour.md +++ b/docs/models/threehundredandeightyfour.md @@ -5,19 +5,31 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyFour } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyFour } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightyFour = { - gitProvider: "", - gitProviderGroupDescriptor: "", - gitScope: "", + addedProjects: [], + addedProviders: [], + projectId: "", + projectName: "", + removedProjects: [ + { + id: "", + name: "", + }, + ], + removedProviders: [], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `gitProvider` | *string* | :heavy_check_mark: | N/A | -| `gitProviderGroupDescriptor` | *string* | :heavy_check_mark: | N/A | -| `gitScope` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `addedProjects` | [models.AddedProjects](../models/addedprojects.md)[] | :heavy_check_mark: | N/A | +| `addedProviders` | *string*[] | :heavy_check_mark: | N/A | +| `enableVercelCiSameRepository` | *boolean* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `removedProjects` | [models.RemovedProjects](../models/removedprojects.md)[] | :heavy_check_mark: | N/A | +| `removedProviders` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightynine.md b/docs/models/threehundredandeightynine.md index d90eb161b6..e3e18054df 100644 --- a/docs/models/threehundredandeightynine.md +++ b/docs/models/threehundredandeightynine.md @@ -5,21 +5,29 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyNine } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyNine } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightyNine = { + connectionId: "", + actorType: "admin", certificateFingerprints: [ "", "", "", ], - connectionId: "", + created: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | -| `connectionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionId` | *string* | :heavy_check_mark: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload389ActorType](../models/usereventpayload389actortype.md) | :heavy_check_mark: | N/A | +| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | +| `attributeMappingChanged` | *true* | :heavy_minus_sign: | N/A | +| `created` | *boolean* | :heavy_check_mark: | N/A | +| `previousCertificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | +| `rebind` | *true* | :heavy_minus_sign: | The IdP or the user id rule changed, so members re-bind by email once. | \ No newline at end of file diff --git a/docs/models/threehundredandeightyone.md b/docs/models/threehundredandeightyone.md index cf3f881b41..60ccad716b 100644 --- a/docs/models/threehundredandeightyone.md +++ b/docs/models/threehundredandeightyone.md @@ -5,43 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyOne } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndEightyOne = { - addedProjects: [ - { - id: "", - name: "", - }, - ], - addedProviders: [ - "", - "", - ], - projectId: "", - projectName: "", - removedProjects: [ - { - id: "", - name: "", - }, - ], - removedProviders: [ - "", - "", - "", - ], + oldSsoProtection: "prod_deployment_urls_and_all_previews", + ssoProtection: { + deploymentType: "preview", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `addedProjects` | [models.AddedProjects](../models/addedprojects.md)[] | :heavy_check_mark: | N/A | -| `addedProviders` | *string*[] | :heavy_check_mark: | N/A | -| `enableVercelCiSameRepository` | *boolean* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `removedProjects` | [models.RemovedProjects](../models/removedprojects.md)[] | :heavy_check_mark: | N/A | -| `removedProviders` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `oldSsoProtection` | *models.PayloadOldSsoProtection* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `ssoProtection` | *models.PayloadSsoProtection* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightyseven.md b/docs/models/threehundredandeightyseven.md index 8a177c8693..7d5cf2b56e 100644 --- a/docs/models/threehundredandeightyseven.md +++ b/docs/models/threehundredandeightyseven.md @@ -5,21 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightySeven } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightySeven } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightySeven = { - certificateFingerprints: [], - connectionId: "", - created: false, + gitProvider: "", + gitProviderGroupDescriptor: "", + gitScope: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `attributeMappingChanged` | *true* | :heavy_minus_sign: | N/A | -| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | -| `connectionId` | *string* | :heavy_check_mark: | N/A | -| `created` | *boolean* | :heavy_check_mark: | N/A | -| `previousCertificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `gitProvider` | *string* | :heavy_check_mark: | N/A | +| `gitProviderGroupDescriptor` | *string* | :heavy_check_mark: | N/A | +| `gitScope` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightysix.md b/docs/models/threehundredandeightysix.md index 4d07c3766c..5b5c5100f6 100644 --- a/docs/models/threehundredandeightysix.md +++ b/docs/models/threehundredandeightysix.md @@ -5,24 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightySix } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightySix } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightySix = { - connectionId: "", - actorType: "admin", - certificateFingerprints: [], - created: false, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `connectionId` | *string* | :heavy_check_mark: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload386ActorType](../models/usereventpayload386actortype.md) | :heavy_check_mark: | N/A | -| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | -| `attributeMappingChanged` | *true* | :heavy_minus_sign: | N/A | -| `created` | *boolean* | :heavy_check_mark: | N/A | -| `previousCertificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `prevProjectWebAnalytics` | [models.PrevProjectWebAnalytics](../models/prevprojectwebanalytics.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `projectWebAnalytics` | [models.ProjectWebAnalytics](../models/projectwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightythree.md b/docs/models/threehundredandeightythree.md index 26e1932781..4eae962277 100644 --- a/docs/models/threehundredandeightythree.md +++ b/docs/models/threehundredandeightythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyThree } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyThree } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndEightyThree = { projectId: "", @@ -15,9 +15,11 @@ let value: ThreeHundredAndEightyThree = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `prevProjectWebAnalytics` | [models.PrevProjectWebAnalytics](../models/prevprojectwebanalytics.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `projectWebAnalytics` | [models.ProjectWebAnalytics](../models/projectwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `addedAddresses` | *string*[] | :heavy_minus_sign: | N/A | +| `oldTrustedIps` | [models.OldTrustedIps](../models/oldtrustedips.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `removedAddresses` | *string*[] | :heavy_minus_sign: | N/A | +| `trustedIps` | [models.TrustedIps](../models/trustedips.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeightytwo.md b/docs/models/threehundredandeightytwo.md index d9975bc02d..b09fe0fc90 100644 --- a/docs/models/threehundredandeightytwo.md +++ b/docs/models/threehundredandeightytwo.md @@ -5,17 +5,33 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEightyTwo } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndEightyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndEightyTwo = { + next: { + project: { + staticIps: { + enabled: true, + }, + }, + }, + previous: { + project: { + staticIps: { + enabled: false, + }, + }, + }, projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | Display name for Activity links. Optional for events stored before it was published. | -| `reasonCode` | [models.PayloadReasonCode](../models/payloadreasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload382Next](../models/usereventpayload382next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload382Previous](../models/usereventpayload382previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandeleven.md b/docs/models/threehundredandeleven.md index bc2ab3a243..d23ed3bfca 100644 --- a/docs/models/threehundredandeleven.md +++ b/docs/models/threehundredandeleven.md @@ -5,16 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndEleven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndEleven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: ThreeHundredAndEleven = { - projectId: "", -}; +let value: ThreeHundredAndEleven = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | +| `certId` | *string* | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | | `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfifteen.md b/docs/models/threehundredandfifteen.md index 7c6d52403f..e2dd73edfb 100644 --- a/docs/models/threehundredandfifteen.md +++ b/docs/models/threehundredandfifteen.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFifteen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndFifteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndFifteen = { - autoAssignCustomDomains: true, + action: "disabled", projectId: "", projectName: "", }; @@ -16,8 +16,8 @@ let value: ThreeHundredAndFifteen = { ## Fields -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `autoAssignCustomDomains` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload315Action](../models/usereventpayload315action.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfifty.md b/docs/models/threehundredandfifty.md index ab9de1b118..c7edc2eb4c 100644 --- a/docs/models/threehundredandfifty.md +++ b/docs/models/threehundredandfifty.md @@ -5,14 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFifty } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFifty } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFifty = { project: { - id: "", name: "", }, - projectMembership: {}, + projectMembership: { + createdAt: 2642.09, + role: "PROJECT_GUEST", + uid: "", + }, }; ``` @@ -21,4 +24,4 @@ let value: ThreeHundredAndFifty = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `project` | [models.UserEventPayload350Project](../models/usereventpayload350project.md) | :heavy_check_mark: | N/A | -| `projectMembership` | [models.PayloadProjectMembership](../models/payloadprojectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectMembership` | [models.ProjectMembership](../models/projectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftyeight.md b/docs/models/threehundredandfiftyeight.md index bcb3059bda..648bf03121 100644 --- a/docs/models/threehundredandfiftyeight.md +++ b/docs/models/threehundredandfiftyeight.md @@ -5,20 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyEight = { - oldPasswordProtection: "preview", - passwordProtection: "all_except_custom_domains", + projectId: "", + projectName: "", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `oldPasswordProtection` | *models.PayloadOldPasswordProtection* | :heavy_check_mark: | N/A | -| `passwordChanged` | *boolean* | :heavy_minus_sign: | N/A | -| `passwordProtection` | *models.PayloadPasswordProtection* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftyfive.md b/docs/models/threehundredandfiftyfive.md index c051976fdf..578149e9dc 100644 --- a/docs/models/threehundredandfiftyfive.md +++ b/docs/models/threehundredandfiftyfive.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyFive = { - projectId: "", + destinationAccountName: "", projectName: "", - source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftyfour.md b/docs/models/threehundredandfiftyfour.md index cd56a3a37e..d544970f18 100644 --- a/docs/models/threehundredandfiftyfour.md +++ b/docs/models/threehundredandfiftyfour.md @@ -5,22 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyFour = { - destinationAccountName: "", newProjectName: "", + originAccountName: "", previousProjectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | -| `newProjectId` | *string* | :heavy_minus_sign: | N/A | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | -| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | -| `previousProjectName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `newProjectId` | *string* | :heavy_minus_sign: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `originAccountName` | *string* | :heavy_check_mark: | N/A | +| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | +| `previousProjectName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftynine.md b/docs/models/threehundredandfiftynine.md index 12e4b04989..be509e3025 100644 --- a/docs/models/threehundredandfiftynine.md +++ b/docs/models/threehundredandfiftynine.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyNine } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyNine = { projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `oldOptionsAllowlist` | [models.OldOptionsAllowlist](../models/oldoptionsallowlist.md) | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.OptionsAllowlist](../models/optionsallowlist.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftyone.md b/docs/models/threehundredandfiftyone.md index 74033fb6a7..a686b13fa8 100644 --- a/docs/models/threehundredandfiftyone.md +++ b/docs/models/threehundredandfiftyone.md @@ -5,22 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyOne = { - newProjectName: "", - originAccountName: "", - previousProjectName: "", + project: { + invitedUserName: "", + name: "", + role: "PROJECT_DEVELOPER", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `newProjectId` | *string* | :heavy_minus_sign: | N/A | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | -| `originAccountName` | *string* | :heavy_check_mark: | N/A | -| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | -| `previousProjectName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload351Project](../models/usereventpayload351project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftyseven.md b/docs/models/threehundredandfiftyseven.md index e7e8bff4d5..dde8296808 100644 --- a/docs/models/threehundredandfiftyseven.md +++ b/docs/models/threehundredandfiftyseven.md @@ -5,19 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftySeven = { - projectId: "", - projectName: "", - removeVercelRequestHeaders: false, + destinationAccountName: "", + newProjectName: "", + previousProjectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `removeVercelRequestHeaders` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `newProjectId` | *string* | :heavy_minus_sign: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | +| `previousProjectName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftysix.md b/docs/models/threehundredandfiftysix.md index ee011e1e52..c0e067e912 100644 --- a/docs/models/threehundredandfiftysix.md +++ b/docs/models/threehundredandfiftysix.md @@ -5,9 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftySix = { + destinationAccountId: "", + destinationAccountName: "", + originAccountName: "", projectId: "", projectName: "", }; @@ -15,9 +18,11 @@ let value: ThreeHundredAndFiftySix = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `oldOptionsAllowlist` | [models.OldOptionsAllowlist](../models/oldoptionsallowlist.md) | :heavy_minus_sign: | N/A | -| `optionsAllowlist` | [models.OptionsAllowlist](../models/optionsallowlist.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `destinationAccountId` | *string* | :heavy_check_mark: | N/A | +| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `originAccountName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftythree.md b/docs/models/threehundredandfiftythree.md index 0f64340f53..d15199b1db 100644 --- a/docs/models/threehundredandfiftythree.md +++ b/docs/models/threehundredandfiftythree.md @@ -5,24 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyThree } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyThree = { - destinationAccountId: "", - destinationAccountName: "", - originAccountName: "", - projectId: "", - projectName: "", + project: { + id: "", + name: "", + }, + projectMembership: {}, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `destinationAccountId` | *string* | :heavy_check_mark: | N/A | -| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | -| `originAccountName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload353Project](../models/usereventpayload353project.md) | :heavy_check_mark: | N/A | +| `projectMembership` | [models.PayloadProjectMembership](../models/payloadprojectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfiftytwo.md b/docs/models/threehundredandfiftytwo.md index 27854be49e..1f878a7db8 100644 --- a/docs/models/threehundredandfiftytwo.md +++ b/docs/models/threehundredandfiftytwo.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFiftyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFiftyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFiftyTwo = { - destinationAccountName: "", - projectName: "", + project: { + name: "", + }, + removedMembership: { + createdAt: 3984.46, + role: "ADMIN", + uid: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | -| `previousProjectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload352Project](../models/usereventpayload352project.md) | :heavy_check_mark: | N/A | +| `removedMembership` | [models.RemovedMembership](../models/removedmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfive.md b/docs/models/threehundredandfive.md index 52e4dcbbf7..e3d5613953 100644 --- a/docs/models/threehundredandfive.md +++ b/docs/models/threehundredandfive.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFive } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndFive } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndFive = { + enableExternalRewriteCaching: true, projectId: "", projectName: "", - sourceFilesOutsideRootDirectory: true, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `enableExternalRewriteCaching` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandforty.md b/docs/models/threehundredandforty.md index bae66eadda..25da3ab990 100644 --- a/docs/models/threehundredandforty.md +++ b/docs/models/threehundredandforty.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndForty } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndForty } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndForty = { - next: {}, - previous: {}, + gitCommitStatus: true, projectId: "", projectName: "", }; @@ -17,9 +16,8 @@ let value: ThreeHundredAndForty = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload340Next](../models/usereventpayload340next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload340Previous](../models/usereventpayload340previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `gitCommitStatus` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortyeight.md b/docs/models/threehundredandfortyeight.md index b09a61fc87..7533d73e7a 100644 --- a/docs/models/threehundredandfortyeight.md +++ b/docs/models/threehundredandfortyeight.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyEight = { - project: { - invitedUserName: "", - name: "", - role: "PROJECT_VIEWER", - }, + projects: [ + { + membershipCreatedAt: 3559.04, + projectId: "", + role: "PROJECT_DEVELOPER", + }, + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload348Project](../models/usereventpayload348project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `projects` | [models.PayloadProjects](../models/payloadprojects.md)[] | :heavy_check_mark: | N/A | +| `teamMembership` | [models.TeamMembership](../models/teammembership.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortyfive.md b/docs/models/threehundredandfortyfive.md index a3a29807f1..65be7e4384 100644 --- a/docs/models/threehundredandfortyfive.md +++ b/docs/models/threehundredandfortyfive.md @@ -5,23 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyFive = { - projects: [ - { - membershipCreatedAt: 6735.86, - projectId: "", - role: "PROJECT_GUEST", - }, - ], + domain: "winding-pine.net", + projectId: "", + projectName: "", + target: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `projects` | [models.PayloadProjects](../models/payloadprojects.md)[] | :heavy_check_mark: | N/A | -| `teamMembership` | [models.TeamMembership](../models/teammembership.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `redirect` | *string* | :heavy_minus_sign: | N/A | +| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | +| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortyfour.md b/docs/models/threehundredandfortyfour.md index 6f13f63e20..c06d130a65 100644 --- a/docs/models/threehundredandfortyfour.md +++ b/docs/models/threehundredandfortyfour.md @@ -5,12 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyFour = { domain: "genuine-adviser.info", + gitBranch: "", projectId: "", projectName: "", + redirect: "", + redirectStatusCode: null, + target: "", }; ``` @@ -18,8 +22,11 @@ let value: ThreeHundredAndFortyFour = { | Field | Type | Required | Description | | -------------------- | -------------------- | -------------------- | -------------------- | +| `configuredBy` | *string* | :heavy_minus_sign: | N/A | | `domain` | *string* | :heavy_check_mark: | N/A | +| `gitBranch` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | -| `redirect` | *string* | :heavy_minus_sign: | N/A | -| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `redirect` | *string* | :heavy_check_mark: | N/A | +| `redirectStatusCode` | *number* | :heavy_check_mark: | N/A | +| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortynine.md b/docs/models/threehundredandfortynine.md index 63aa3afa60..75893c39ec 100644 --- a/docs/models/threehundredandfortynine.md +++ b/docs/models/threehundredandfortynine.md @@ -5,23 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyNine } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyNine = { - project: { - name: "", - }, - removedMembership: { - createdAt: 9263.75, - role: "ADMIN", - uid: "", - }, + domain: "variable-arcade.name", + projectId: "", + projectName: "", + target: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload349Project](../models/usereventpayload349project.md) | :heavy_check_mark: | N/A | -| `removedMembership` | [models.RemovedMembership](../models/removedmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `configuredBy` | *string* | :heavy_minus_sign: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `prevConfiguredBy` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortyone.md b/docs/models/threehundredandfortyone.md index 18a372ab1b..79ecafa338 100644 --- a/docs/models/threehundredandfortyone.md +++ b/docs/models/threehundredandfortyone.md @@ -5,28 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyOne = { - domain: "excellent-affect.org", - gitBranch: "", + gitLFS: true, projectId: "", projectName: "", - redirect: "", - redirectStatusCode: null, - target: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `configuredBy` | *string* | :heavy_minus_sign: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `gitBranch` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `redirect` | *string* | :heavy_check_mark: | N/A | -| `redirectStatusCode` | *number* | :heavy_check_mark: | N/A | -| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `gitLFS` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortyseven.md b/docs/models/threehundredandfortyseven.md index 8b1cf4b0cc..f7dac687c6 100644 --- a/docs/models/threehundredandfortyseven.md +++ b/docs/models/threehundredandfortyseven.md @@ -5,23 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortySeven = { - project: { - name: "", - }, - projectMembership: { - createdAt: 8742.23, - role: "PROJECT_GUEST", - uid: "", - }, + domain: "uneven-sushi.net", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload347Project](../models/usereventpayload347project.md) | :heavy_check_mark: | N/A | -| `projectMembership` | [models.ProjectMembership](../models/projectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `redirect` | *string* | :heavy_minus_sign: | N/A | +| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortysix.md b/docs/models/threehundredandfortysix.md index 1cf8d2608e..722ec51382 100644 --- a/docs/models/threehundredandfortysix.md +++ b/docs/models/threehundredandfortysix.md @@ -5,13 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortySix = { domain: "spherical-numeric.info", - projectId: "", - projectName: "", - target: "", + newProjectId: "", + newProjectName: "", + oldProjectId: "", + oldProjectName: "", }; ``` @@ -19,9 +20,8 @@ let value: ThreeHundredAndFortySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `configuredBy` | *string* | :heavy_minus_sign: | N/A | | `domain` | *string* | :heavy_check_mark: | N/A | -| `prevConfiguredBy` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `newProjectId` | *string* | :heavy_check_mark: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `oldProjectId` | *string* | :heavy_check_mark: | N/A | +| `oldProjectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortythree.md b/docs/models/threehundredandfortythree.md index ac518b01fe..36487e6bad 100644 --- a/docs/models/threehundredandfortythree.md +++ b/docs/models/threehundredandfortythree.md @@ -5,23 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyThree } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyThree = { - domain: "windy-babushka.info", - newProjectId: "", - newProjectName: "", - oldProjectId: "", - oldProjectName: "", + next: {}, + previous: {}, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `newProjectId` | *string* | :heavy_check_mark: | N/A | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | -| `oldProjectId` | *string* | :heavy_check_mark: | N/A | -| `oldProjectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload343Next](../models/usereventpayload343next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload343Previous](../models/usereventpayload343previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfortytwo.md b/docs/models/threehundredandfortytwo.md index 3f51dd41f8..a023c25f61 100644 --- a/docs/models/threehundredandfortytwo.md +++ b/docs/models/threehundredandfortytwo.md @@ -5,23 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFortyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndFortyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndFortyTwo = { - domain: "smug-stump.biz", + consolidatedGitCommitStatus: { + enabled: false, + propagateFailures: true, + }, projectId: "", projectName: "", - target: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `redirect` | *string* | :heavy_minus_sign: | N/A | -| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | -| `target` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `consolidatedGitCommitStatus` | [models.ConsolidatedGitCommitStatus](../models/consolidatedgitcommitstatus.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfour.md b/docs/models/threehundredandfour.md index 9b3be9e683..2fc3b9bdfc 100644 --- a/docs/models/threehundredandfour.md +++ b/docs/models/threehundredandfour.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFour } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndFour } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndFour = { - productionDeploymentsFastLane: false, + enableAffectedProjectsDeployments: false, projectId: "", projectName: "", }; @@ -16,8 +16,8 @@ let value: ThreeHundredAndFour = { ## Fields -| Field | Type | Required | Description | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `productionDeploymentsFastLane` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `enableAffectedProjectsDeployments` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandfourteen.md b/docs/models/threehundredandfourteen.md index ed6bb84dd5..d03fa6964b 100644 --- a/docs/models/threehundredandfourteen.md +++ b/docs/models/threehundredandfourteen.md @@ -5,23 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndFourteen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndFourteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndFourteen = { - elasticConcurrencyEnabled: false, - oldElasticConcurrencyEnabled: false, projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `buildQueueConfiguration` | [models.BuildQueueConfiguration](../models/buildqueueconfiguration.md) | :heavy_minus_sign: | N/A | -| `elasticConcurrencyEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `oldBuildQueueConfiguration` | [models.OldBuildQueueConfiguration](../models/oldbuildqueueconfiguration.md) | :heavy_minus_sign: | N/A | -| `oldElasticConcurrencyEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandnine.md b/docs/models/threehundredandnine.md index d5cee3cf91..c415616a1a 100644 --- a/docs/models/threehundredandnine.md +++ b/docs/models/threehundredandnine.md @@ -5,16 +5,26 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndNine } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: ThreeHundredAndNine = {}; +let value: ThreeHundredAndNine = { + nextBuildMachineSelection: "", + nextBuildMachineType: "", + previousBuildMachineSelection: "", + projectName: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `target` | *string*[] | :heavy_minus_sign: | N/A | -| `updated` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deploymentId` | *string* | :heavy_minus_sign: | Deployment whose outcome caused a system-initiated elastic resize. | +| `isSystemInitiated` | *boolean* | :heavy_minus_sign: | N/A | +| `nextBuildMachineSelection` | *string* | :heavy_check_mark: | N/A | +| `nextBuildMachineType` | *string* | :heavy_check_mark: | N/A | +| `previousBuildMachineSelection` | *string* | :heavy_check_mark: | N/A | +| `previousBuildMachineType` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | For system-initiated (elastic) changes, why the build machine was upgraded/downgraded. Stored as the raw reason code (see `ElasticChangeReason` in `@api/build-machines-types`) and rendered as a human-readable clause in the activity/audit log. | \ No newline at end of file diff --git a/docs/models/threehundredandnineteen.md b/docs/models/threehundredandnineteen.md index 52d9c4d245..bf5e501052 100644 --- a/docs/models/threehundredandnineteen.md +++ b/docs/models/threehundredandnineteen.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNineteen } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndNineteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndNineteen = { - customEnvironmentId: "", - customEnvironmentSlug: "", + previewDeploymentsEnabled: false, projectId: "", projectName: "", }; @@ -17,10 +16,8 @@ let value: ThreeHundredAndNineteen = { ## Fields -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | -| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | -| `enableSchedulesByDefault` | *boolean* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `previewDeploymentsEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninety.md b/docs/models/threehundredandninety.md index 0a481eaa3a..b3acd51267 100644 --- a/docs/models/threehundredandninety.md +++ b/docs/models/threehundredandninety.md @@ -5,20 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinety } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinety } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinety = { + certificateFingerprints: [ + "", + "", + ], connectionId: "", - actorType: "admin", - keyId: "", + created: false, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `connectionId` | *string* | :heavy_check_mark: | N/A | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload390ActorType](../models/usereventpayload390actortype.md) | :heavy_check_mark: | N/A | -| `keyId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `attributeMappingChanged` | *true* | :heavy_minus_sign: | N/A | +| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | +| `connectionId` | *string* | :heavy_check_mark: | N/A | +| `created` | *boolean* | :heavy_check_mark: | N/A | +| `previousCertificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | +| `rebind` | *true* | :heavy_minus_sign: | The IdP or the user id rule changed, so members re-bind by email once. | \ No newline at end of file diff --git a/docs/models/threehundredandninetyeight.md b/docs/models/threehundredandninetyeight.md index 0c122c3299..ef7e17eef1 100644 --- a/docs/models/threehundredandninetyeight.md +++ b/docs/models/threehundredandninetyeight.md @@ -5,22 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyEight } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyEight } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetyEight = { - email: "Myrl39@gmail.com", - verified: true, - actorId: "", - actorType: "admin", + expiryNotificationLeadTime: 1390.5, + projectId: "", + projectName: "", + sandboxName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `email` | *string* | :heavy_check_mark: | N/A | -| `verified` | *boolean* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload398ActorType](../models/usereventpayload398actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `expiryNotificationLeadTime` | *number* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `sandboxName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetyfive.md b/docs/models/threehundredandninetyfive.md index 3a94ff9dbb..14cd36f27e 100644 --- a/docs/models/threehundredandninetyfive.md +++ b/docs/models/threehundredandninetyfive.md @@ -5,21 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyFive } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyFive } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetyFive = { - email: "Edward33@hotmail.com", - name: "", - projectId: "", - sandboxId: "", + keyId: "", + signingEnabled: false, + signingKeyId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `sandboxId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionId` | *string* | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload395ActorType](../models/usereventpayload395actortype.md) | :heavy_minus_sign: | N/A | +| `keyId` | *string* | :heavy_check_mark: | N/A | +| `signingEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `signingKeyId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetyfour.md b/docs/models/threehundredandninetyfour.md index 10157f5ee9..0ddefffd50 100644 --- a/docs/models/threehundredandninetyfour.md +++ b/docs/models/threehundredandninetyfour.md @@ -5,21 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyFour } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyFour } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetyFour = { - projectId: "", - projectName: "", - snapshotId: "", - targetRegions: [], + keyId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `snapshotId` | *string* | :heavy_check_mark: | N/A | -| `targetRegions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionId` | *string* | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload394ActorType](../models/usereventpayload394actortype.md) | :heavy_minus_sign: | N/A | +| `keyId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetynine.md b/docs/models/threehundredandninetynine.md index 332e14d951..d871e84c7b 100644 --- a/docs/models/threehundredandninetynine.md +++ b/docs/models/threehundredandninetynine.md @@ -5,10 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyNine } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyNine } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetyNine = { - email: "Scottie_Nitzsche@gmail.com", + projectId: "", + projectName: "", + snapshotId: "", + targetRegions: [], }; ``` @@ -16,4 +19,7 @@ let value: ThreeHundredAndNinetyNine = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `snapshotId` | *string* | :heavy_check_mark: | N/A | +| `targetRegions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetyone.md b/docs/models/threehundredandninetyone.md index ffe63fe1ab..e37e417548 100644 --- a/docs/models/threehundredandninetyone.md +++ b/docs/models/threehundredandninetyone.md @@ -5,24 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyOne } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyOne } from "@vercel/sdk/models/payloadstaticips.js"; -let value: ThreeHundredAndNinetyOne = { - connectionId: "", - actorType: "admin", - keyId: "", - signingEnabled: true, - signingKeyId: "", -}; +let value: ThreeHundredAndNinetyOne = {}; ``` ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `connectionId` | *string* | :heavy_check_mark: | N/A | +| `connectionId` | *string* | :heavy_minus_sign: | N/A | | `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload391ActorType](../models/usereventpayload391actortype.md) | :heavy_check_mark: | N/A | -| `keyId` | *string* | :heavy_check_mark: | N/A | -| `signingEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `signingKeyId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `actorType` | [models.UserEventPayload391ActorType](../models/usereventpayload391actortype.md) | :heavy_minus_sign: | N/A | +| `certificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetyseven.md b/docs/models/threehundredandninetyseven.md index 5211306f53..2edec866ce 100644 --- a/docs/models/threehundredandninetyseven.md +++ b/docs/models/threehundredandninetyseven.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetySeven } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetySeven } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetySeven = { - email: "Treva24@gmail.com", - verified: true, + alias: "", + sandboxName: "", }; ``` @@ -17,5 +17,7 @@ let value: ThreeHundredAndNinetySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `verified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| `alias` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `sandboxId` | *string* | :heavy_minus_sign: | N/A | +| `sandboxName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetysix.md b/docs/models/threehundredandninetysix.md index 8dbda8dd24..e5d4a353e7 100644 --- a/docs/models/threehundredandninetysix.md +++ b/docs/models/threehundredandninetysix.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetySix } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetySix } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetySix = { - instances: 1517.8, - url: "https://dramatic-populist.net", + projectId: "", + sandboxId: "", }; ``` @@ -17,5 +17,5 @@ let value: ThreeHundredAndNinetySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `instances` | *number* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `sandboxId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetythree.md b/docs/models/threehundredandninetythree.md index f36824edff..e3ce54caa4 100644 --- a/docs/models/threehundredandninetythree.md +++ b/docs/models/threehundredandninetythree.md @@ -5,17 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyThree } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyThree } from "@vercel/sdk/models/payloadstaticips.js"; -let value: ThreeHundredAndNinetyThree = { - projectId: "", - sandboxId: "", -}; +let value: ThreeHundredAndNinetyThree = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `sandboxId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionId` | *string* | :heavy_minus_sign: | N/A | +| `to` | [models.To](../models/to.md) | :heavy_minus_sign: | N/A | +| `certificateFingerprints` | *string*[] | :heavy_minus_sign: | N/A | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload393ActorType](../models/usereventpayload393actortype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandninetytwo.md b/docs/models/threehundredandninetytwo.md index b5f0a78885..3c9b98c53c 100644 --- a/docs/models/threehundredandninetytwo.md +++ b/docs/models/threehundredandninetytwo.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndNinetyTwo } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndNinetyTwo } from "@vercel/sdk/models/payloadstaticips.js"; let value: ThreeHundredAndNinetyTwo = { - alias: "", - sandboxName: "", + certificateFingerprints: [ + "", + ], + connectionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `alias` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `sandboxId` | *string* | :heavy_minus_sign: | N/A | -| `sandboxName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `certificateFingerprints` | *string*[] | :heavy_check_mark: | N/A | +| `connectionId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandone.md b/docs/models/threehundredandone.md index 724a3cc8d4..ce8a753aac 100644 --- a/docs/models/threehundredandone.md +++ b/docs/models/threehundredandone.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndOne } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndOne } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndOne = { - enableAffectedProjectsDeployments: false, + action: "regenerated", projectId: "", projectName: "", }; @@ -16,8 +16,10 @@ let value: ThreeHundredAndOne = { ## Fields -| Field | Type | Required | Description | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `enableAffectedProjectsDeployments` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload301Action](../models/usereventpayload301action.md) | :heavy_check_mark: | N/A | +| `isEnvVar` | *boolean* | :heavy_minus_sign: | N/A | +| `note` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseven.md b/docs/models/threehundredandseven.md index 10906ed41d..89acf64392 100644 --- a/docs/models/threehundredandseven.md +++ b/docs/models/threehundredandseven.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndSeven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndSeven = { + productionDeploymentsFastLane: true, projectId: "", projectName: "", - widget: "analytics-online", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `widget` | [models.Widget](../models/widget.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `productionDeploymentsFastLane` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventeen.md b/docs/models/threehundredandseventeen.md index 87fa366099..2f2d3de269 100644 --- a/docs/models/threehundredandseventeen.md +++ b/docs/models/threehundredandseventeen.md @@ -5,13 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventeen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndSeventeen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndSeventeen = { - customEnvironmentId: "", - customEnvironmentSlug: "", - next: {}, - previous: {}, + elasticConcurrencyEnabled: true, + oldElasticConcurrencyEnabled: true, projectId: "", projectName: "", }; @@ -19,11 +17,11 @@ let value: ThreeHundredAndSeventeen = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | -| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | -| `next` | [models.UserEventPayload317Next](../models/usereventpayload317next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload317Previous](../models/usereventpayload317previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `buildQueueConfiguration` | [models.BuildQueueConfiguration](../models/buildqueueconfiguration.md) | :heavy_minus_sign: | N/A | +| `elasticConcurrencyEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `oldBuildQueueConfiguration` | [models.OldBuildQueueConfiguration](../models/oldbuildqueueconfiguration.md) | :heavy_minus_sign: | N/A | +| `oldElasticConcurrencyEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventy.md b/docs/models/threehundredandseventy.md index 4531551401..c888b8488f 100644 --- a/docs/models/threehundredandseventy.md +++ b/docs/models/threehundredandseventy.md @@ -5,10 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventy } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventy } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventy = { - gitForkProtection: false, projectId: "", projectName: "", }; @@ -16,8 +15,9 @@ let value: ThreeHundredAndSeventy = { ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `gitForkProtection` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `failoverRegions` | *string*[] | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `region` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventyeight.md b/docs/models/threehundredandseventyeight.md index 6836d110cd..5f008227a8 100644 --- a/docs/models/threehundredandseventyeight.md +++ b/docs/models/threehundredandseventyeight.md @@ -5,21 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyEight = { - oldSsoProtection: { - deploymentType: "all_except_custom_domains", + next: { + skewProtectionBoundaryAt: 6545.82, }, - ssoProtection: "all", + previous: {}, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `oldSsoProtection` | *models.PayloadOldSsoProtection* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `ssoProtection` | *models.PayloadSsoProtection* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload378Next](../models/usereventpayload378next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload378Previous](../models/usereventpayload378previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventyfive.md b/docs/models/threehundredandseventyfive.md index 155b8c4a9e..c9131c7255 100644 --- a/docs/models/threehundredandseventyfive.md +++ b/docs/models/threehundredandseventyfive.md @@ -5,13 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyFive = { - next: { - skewProtectionBoundaryAt: 5899.86, - }, - previous: {}, + inheritDeploymentProtection: false, projectId: "", projectName: "", }; @@ -19,9 +16,8 @@ let value: ThreeHundredAndSeventyFive = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload375Next](../models/usereventpayload375next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload375Previous](../models/usereventpayload375previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `inheritDeploymentProtection` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventyfour.md b/docs/models/threehundredandseventyfour.md index 91e117587e..624ef9500e 100644 --- a/docs/models/threehundredandseventyfour.md +++ b/docs/models/threehundredandseventyfour.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyFour = { - next: {}, - previous: {}, + projectId: "", + projectName: "", + protectedSourcemaps: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload374Next](../models/usereventpayload374next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload374Previous](../models/usereventpayload374previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `protectedSourcemaps` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventynine.md b/docs/models/threehundredandseventynine.md index c016337805..404a1b60a3 100644 --- a/docs/models/threehundredandseventynine.md +++ b/docs/models/threehundredandseventynine.md @@ -5,23 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyNine } from "@vercel/sdk/models/oldssoprotection2.js"; +import { ThreeHundredAndSeventyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyNine = { next: { - project: { - staticIps: { - enabled: false, - }, - }, - }, - previous: { - project: { - staticIps: { - enabled: false, - }, - }, + skewProtectionMaxAge: 6297.61, }, + previous: {}, projectId: "", projectName: "", }; diff --git a/docs/models/threehundredandseventyone.md b/docs/models/threehundredandseventyone.md index a1333167c2..888d74465d 100644 --- a/docs/models/threehundredandseventyone.md +++ b/docs/models/threehundredandseventyone.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyOne = { + next: { + issuerMode: "global", + }, + previous: {}, projectId: "", projectName: "", - protectedSourcemaps: true, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `protectedSourcemaps` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload371Next](../models/usereventpayload371next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload371Previous](../models/usereventpayload371previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventyseven.md b/docs/models/threehundredandseventyseven.md index a2360a8525..e26eed2659 100644 --- a/docs/models/threehundredandseventyseven.md +++ b/docs/models/threehundredandseventyseven.md @@ -5,15 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventySeven = { - next: { - skewProtectionAllowedDomains: [], - }, + next: {}, previous: {}, - projectId: "", - projectName: "", }; ``` @@ -23,5 +19,5 @@ let value: ThreeHundredAndSeventySeven = { | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `next` | [models.UserEventPayload377Next](../models/usereventpayload377next.md) | :heavy_check_mark: | N/A | | `previous` | [models.UserEventPayload377Previous](../models/usereventpayload377previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventysix.md b/docs/models/threehundredandseventysix.md index b4ec134576..01a90d5ba0 100644 --- a/docs/models/threehundredandseventysix.md +++ b/docs/models/threehundredandseventysix.md @@ -5,23 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventySix = { - next: { - skewProtectionMaxAge: 1251.84, - }, - previous: {}, projectId: "", projectName: "", + publicSource: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload376Next](../models/usereventpayload376next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload376Previous](../models/usereventpayload376previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `publicSource` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventythree.md b/docs/models/threehundredandseventythree.md index 164370e557..28131b35d9 100644 --- a/docs/models/threehundredandseventythree.md +++ b/docs/models/threehundredandseventythree.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyThree } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyThree = { + gitForkProtection: true, projectId: "", projectName: "", - publicSource: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `publicSource` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `gitForkProtection` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandseventytwo.md b/docs/models/threehundredandseventytwo.md index 0a30d4519e..16b4b9cbdf 100644 --- a/docs/models/threehundredandseventytwo.md +++ b/docs/models/threehundredandseventytwo.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSeventyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSeventyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSeventyTwo = { - inheritDeploymentProtection: false, + customerSupportCodeVisibility: false, projectId: "", projectName: "", }; @@ -16,8 +16,8 @@ let value: ThreeHundredAndSeventyTwo = { ## Fields -| Field | Type | Required | Description | -| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `inheritDeploymentProtection` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `customerSupportCodeVisibility` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsix.md b/docs/models/threehundredandsix.md index 5a1ca64a62..2025b4fcb3 100644 --- a/docs/models/threehundredandsix.md +++ b/docs/models/threehundredandsix.md @@ -5,26 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSix } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndSix } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndSix = { - nextBuildMachineSelection: "", - nextBuildMachineType: "", - previousBuildMachineSelection: "", + next: {}, + previous: {}, + projectId: "", projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentId` | *string* | :heavy_minus_sign: | Deployment whose outcome caused a system-initiated elastic resize. | -| `isSystemInitiated` | *boolean* | :heavy_minus_sign: | N/A | -| `nextBuildMachineSelection` | *string* | :heavy_check_mark: | N/A | -| `nextBuildMachineType` | *string* | :heavy_check_mark: | N/A | -| `previousBuildMachineSelection` | *string* | :heavy_check_mark: | N/A | -| `previousBuildMachineType` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_minus_sign: | For system-initiated (elastic) changes, why the build machine was upgraded/downgraded. Stored as the raw reason code (see `ElasticChangeReason` in `@api/build-machines-types`) and rendered as a human-readable clause in the activity/audit log. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload306Next](../models/usereventpayload306next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload306Previous](../models/usereventpayload306previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixteen.md b/docs/models/threehundredandsixteen.md index 7da846f5f1..c738bfe07f 100644 --- a/docs/models/threehundredandsixteen.md +++ b/docs/models/threehundredandsixteen.md @@ -5,19 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixteen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndSixteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndSixteen = { - previewDeploymentsEnabled: false, - projectId: "", - projectName: "", + name: "", + ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `previewDeploymentsEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixty.md b/docs/models/threehundredandsixty.md index ccda918b8c..56793745e4 100644 --- a/docs/models/threehundredandsixty.md +++ b/docs/models/threehundredandsixty.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixty } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixty } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixty = { - expiresAt: 7472.76, projectId: "", + projectName: "", + removeVercelRequestHeaders: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `expiresAt` | *number* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `removeVercelRequestHeaders` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtyeight.md b/docs/models/threehundredandsixtyeight.md index 56d8b53569..1d9cfcc6e3 100644 --- a/docs/models/threehundredandsixtyeight.md +++ b/docs/models/threehundredandsixtyeight.md @@ -5,13 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyEight = { - next: { - issuerMode: "team", - }, - previous: {}, projectId: "", projectName: "", }; @@ -19,9 +15,9 @@ let value: ThreeHundredAndSixtyEight = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload368Next](../models/usereventpayload368next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload368Previous](../models/usereventpayload368previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | +| `newTargetPercentage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtyfive.md b/docs/models/threehundredandsixtyfive.md index 19355a1fb4..e5ec66c11d 100644 --- a/docs/models/threehundredandsixtyfive.md +++ b/docs/models/threehundredandsixtyfive.md @@ -5,19 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyFive = { - projectId: "", + consent: "granted", projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | -| `newTargetPercentage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `consent` | [models.Consent](../models/consent.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtyfour.md b/docs/models/threehundredandsixtyfour.md index fab75fbd60..37f4822c62 100644 --- a/docs/models/threehundredandsixtyfour.md +++ b/docs/models/threehundredandsixtyfour.md @@ -5,18 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyFour = { projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `budgetId` | *string* | :heavy_minus_sign: | The budget that paused the project, for `BUDGET_REACHED`. Absent on older events. | +| `budgetScope` | [models.BudgetScope](../models/budgetscope.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | Display name for Activity links. Optional for events stored before it was published. | +| `reasonCode` | [models.ReasonCode](../models/reasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtynine.md b/docs/models/threehundredandsixtynine.md index 148728e5e7..4c6174f9c1 100644 --- a/docs/models/threehundredandsixtynine.md +++ b/docs/models/threehundredandsixtynine.md @@ -5,10 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyNine } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyNine = { - customerSupportCodeVisibility: false, + next: {}, + previous: {}, projectId: "", projectName: "", }; @@ -16,8 +17,9 @@ let value: ThreeHundredAndSixtyNine = { ## Fields -| Field | Type | Required | Description | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `customerSupportCodeVisibility` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload369Next](../models/usereventpayload369next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload369Previous](../models/usereventpayload369previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtyone.md b/docs/models/threehundredandsixtyone.md index f50658034a..72517eb58d 100644 --- a/docs/models/threehundredandsixtyone.md +++ b/docs/models/threehundredandsixtyone.md @@ -5,19 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyOne = { - projectId: "", + oldPasswordProtection: { + deploymentType: "preview", + }, + passwordProtection: { + deploymentType: "all_except_custom_domains", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `budgetId` | *string* | :heavy_minus_sign: | The budget that paused the project, for `BUDGET_REACHED`. Absent on older events. | -| `budgetScope` | [models.BudgetScope](../models/budgetscope.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | Display name for Activity links. Optional for events stored before it was published. | -| `reasonCode` | [models.ReasonCode](../models/reasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `oldPasswordProtection` | *models.PayloadOldPasswordProtection* | :heavy_check_mark: | N/A | +| `passwordChanged` | *boolean* | :heavy_minus_sign: | N/A | +| `passwordProtection` | *models.PayloadPasswordProtection* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtyseven.md b/docs/models/threehundredandsixtyseven.md index 97febe6873..b4f84fb8f6 100644 --- a/docs/models/threehundredandsixtyseven.md +++ b/docs/models/threehundredandsixtyseven.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtySeven = { projectId: "", @@ -15,9 +15,8 @@ let value: ThreeHundredAndSixtySeven = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `failoverRegions` | *string*[] | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `region` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtysix.md b/docs/models/threehundredandsixtysix.md index da62d16986..c6bd723046 100644 --- a/docs/models/threehundredandsixtysix.md +++ b/docs/models/threehundredandsixtysix.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtySix = { - next: {}, - previous: {}, + deploymentId: "", + projectAccountId: "", projectId: "", projectName: "", }; @@ -17,9 +17,10 @@ let value: ThreeHundredAndSixtySix = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload366Next](../models/usereventpayload366next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload366Previous](../models/usereventpayload366previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectAccountId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `rollbackDescription` | [models.RollbackDescription](../models/rollbackdescription.md) | :heavy_minus_sign: | Description of why a project was rolled back, and by whom. Note that lastAliasRequest contains the from/to details of the rollback. | \ No newline at end of file diff --git a/docs/models/threehundredandsixtythree.md b/docs/models/threehundredandsixtythree.md index a834cd77ec..2162ac0e87 100644 --- a/docs/models/threehundredandsixtythree.md +++ b/docs/models/threehundredandsixtythree.md @@ -5,22 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyThree } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyThree = { - deploymentId: "", - projectAccountId: "", + expiresAt: 3892.1, projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectAccountId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `rollbackDescription` | [models.RollbackDescription](../models/rollbackdescription.md) | :heavy_minus_sign: | Description of why a project was rolled back, and by whom. Note that lastAliasRequest contains the from/to details of the rollback. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `expiresAt` | *number* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandsixtytwo.md b/docs/models/threehundredandsixtytwo.md index 323504a737..ea32c01db4 100644 --- a/docs/models/threehundredandsixtytwo.md +++ b/docs/models/threehundredandsixtytwo.md @@ -5,18 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndSixtyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndSixtyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndSixtyTwo = { - consent: "refused", - projectName: "", + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `consent` | [models.Consent](../models/consent.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandten.md b/docs/models/threehundredandten.md index 74b061c309..9a8211c5b5 100644 --- a/docs/models/threehundredandten.md +++ b/docs/models/threehundredandten.md @@ -5,42 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndTen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTen = { - project: { - id: "", - newConnectConfigurations: [ - { - buildsEnabled: true, - connectConfigurationId: "", - createdAt: 4721.36, - envId: "production", - passive: true, - updatedAt: 452.34, - }, - ], - oldConnectConfigurations: [ - { - buildsEnabled: true, - connectConfigurationId: "", - createdAt: 7630.36, - envId: "", - passive: false, - updatedAt: 8968.35, - }, - ], - }, - team: { - id: "", - name: "", - }, + projectId: "", + projectName: "", + widget: "online", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload310Project](../models/usereventpayload310project.md) | :heavy_check_mark: | N/A | -| `team` | [models.UserEventPayload310Team](../models/usereventpayload310team.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `widget` | [models.Widget](../models/widget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirteen.md b/docs/models/threehundredandthirteen.md index d4c47f3ebc..201de77caf 100644 --- a/docs/models/threehundredandthirteen.md +++ b/docs/models/threehundredandthirteen.md @@ -5,17 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirteen } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndThirteen } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndThirteen = { - name: "", - ownerId: "", + project: { + id: "", + newConnectConfigurations: [], + oldConnectConfigurations: [], + }, + team: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload313Project](../models/usereventpayload313project.md) | :heavy_check_mark: | N/A | +| `team` | [models.UserEventPayload313Team](../models/usereventpayload313team.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirty.md b/docs/models/threehundredandthirty.md index 7757eaeb77..f95a154012 100644 --- a/docs/models/threehundredandthirty.md +++ b/docs/models/threehundredandthirty.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirty } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirty } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirty = { - onPullRequest: true, + newProjectName: "", projectId: "", projectName: "", }; @@ -18,6 +18,6 @@ let value: ThreeHundredAndThirty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `onPullRequest` | *boolean* | :heavy_check_mark: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtyeight.md b/docs/models/threehundredandthirtyeight.md index 3de0b6349b..877c78c569 100644 --- a/docs/models/threehundredandthirtyeight.md +++ b/docs/models/threehundredandthirtyeight.md @@ -5,19 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyEight = { - gitLFS: true, - projectId: "", - projectName: "", + requireVerifiedCommits: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `gitLFS` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `requireVerifiedCommits` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtyfive.md b/docs/models/threehundredandthirtyfive.md index b69025abcc..b5b6df2753 100644 --- a/docs/models/threehundredandthirtyfive.md +++ b/docs/models/threehundredandthirtyfive.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyFive = { - requireVerifiedCommits: true, + disableRepositoryDispatchEvents: true, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `requireVerifiedCommits` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtyfour.md b/docs/models/threehundredandthirtyfour.md index 0b64affd1b..21cdf5f8b9 100644 --- a/docs/models/threehundredandthirtyfour.md +++ b/docs/models/threehundredandthirtyfour.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyFour = { + onCommit: true, projectId: "", projectName: "", - requireVerifiedCommits: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `requireVerifiedCommits` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `onCommit` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtynine.md b/docs/models/threehundredandthirtynine.md index 6516e960ce..2e1e200c06 100644 --- a/docs/models/threehundredandthirtynine.md +++ b/docs/models/threehundredandthirtynine.md @@ -5,22 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyNine } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyNine = { - consolidatedGitCommitStatus: { - enabled: false, - propagateFailures: false, - }, - projectId: "", - projectName: "", + disableRepositoryDispatchEvents: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `consolidatedGitCommitStatus` | [models.ConsolidatedGitCommitStatus](../models/consolidatedgitcommitstatus.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtyone.md b/docs/models/threehundredandthirtyone.md index 6c4c9120d2..ae9d0d67c6 100644 --- a/docs/models/threehundredandthirtyone.md +++ b/docs/models/threehundredandthirtyone.md @@ -5,10 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyOne } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyOne = { - onCommit: true, + next: { + gitProvider: "cursor-origin", + gitRepoId: "", + gitRepositoryName: "", + }, projectId: "", projectName: "", }; @@ -16,8 +20,9 @@ let value: ThreeHundredAndThirtyOne = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `onCommit` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload331Next](../models/usereventpayload331next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload331Previous](../models/usereventpayload331previous.md) | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtyseven.md b/docs/models/threehundredandthirtyseven.md index 63d3f05674..52083bf85f 100644 --- a/docs/models/threehundredandthirtyseven.md +++ b/docs/models/threehundredandthirtyseven.md @@ -5,19 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtySeven = { - gitCommitStatus: false, projectId: "", projectName: "", + requireVerifiedCommits: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `gitCommitStatus` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `requireVerifiedCommits` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtysix.md b/docs/models/threehundredandthirtysix.md index 6bee1e99ac..6c02adab67 100644 --- a/docs/models/threehundredandthirtysix.md +++ b/docs/models/threehundredandthirtysix.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtySix = { - disableRepositoryDispatchEvents: true, + createDeployments: "disabled", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `createDeployments` | [models.CreateDeployments](../models/createdeployments.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtythree.md b/docs/models/threehundredandthirtythree.md index 37b268a061..25278a5ec1 100644 --- a/docs/models/threehundredandthirtythree.md +++ b/docs/models/threehundredandthirtythree.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyThree } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyThree = { - createDeployments: "disabled", + onPullRequest: true, projectId: "", projectName: "", }; @@ -16,8 +16,8 @@ let value: ThreeHundredAndThirtyThree = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `createDeployments` | [models.CreateDeployments](../models/createdeployments.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `onPullRequest` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthirtytwo.md b/docs/models/threehundredandthirtytwo.md index 2e06ad8d75..67983cdf61 100644 --- a/docs/models/threehundredandthirtytwo.md +++ b/docs/models/threehundredandthirtytwo.md @@ -5,10 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThirtyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndThirtyTwo } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndThirtyTwo = { - disableRepositoryDispatchEvents: true, + gitProvider: "cursor-origin", + gitRepoId: "", + gitRepositoryName: "", projectId: "", projectName: "", }; @@ -16,8 +18,10 @@ let value: ThreeHundredAndThirtyTwo = { ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `gitProvider` | [models.GitProvider](../models/gitprovider.md) | :heavy_check_mark: | N/A | +| `gitRepoId` | *string* | :heavy_check_mark: | N/A | +| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandthree.md b/docs/models/threehundredandthree.md index 10e90bed67..d5b8289acb 100644 --- a/docs/models/threehundredandthree.md +++ b/docs/models/threehundredandthree.md @@ -5,11 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndThree } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndThree = { - next: {}, - previous: {}, projectId: "", projectName: "", }; @@ -17,9 +15,8 @@ let value: ThreeHundredAndThree = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload303Next](../models/usereventpayload303next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload303Previous](../models/usereventpayload303previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `avatarDarkMode` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwelve.md b/docs/models/threehundredandtwelve.md index fbd9b81590..e551fa5814 100644 --- a/docs/models/threehundredandtwelve.md +++ b/docs/models/threehundredandtwelve.md @@ -5,19 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwelve } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndTwelve } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: ThreeHundredAndTwelve = { - action: "disabled", - projectId: "", - projectName: "", -}; +let value: ThreeHundredAndTwelve = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload312Action](../models/usereventpayload312action.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `target` | *string*[] | :heavy_minus_sign: | N/A | +| `updated` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwenty.md b/docs/models/threehundredandtwenty.md index 34ae528a59..fa06f8c14e 100644 --- a/docs/models/threehundredandtwenty.md +++ b/docs/models/threehundredandtwenty.md @@ -5,11 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwenty } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwenty } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTwenty = { customEnvironmentId: "", customEnvironmentSlug: "", + next: {}, + previous: {}, projectId: "", projectName: "", }; @@ -17,9 +19,11 @@ let value: ThreeHundredAndTwenty = { ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | -| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | +| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | +| `next` | [models.UserEventPayload320Next](../models/usereventpayload320next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload320Previous](../models/usereventpayload320previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentyeight.md b/docs/models/threehundredandtwentyeight.md index 673db26038..50e53161ec 100644 --- a/docs/models/threehundredandtwentyeight.md +++ b/docs/models/threehundredandtwentyeight.md @@ -5,13 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyEight } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyEight } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentyEight = { next: { - gitProvider: "github-custom-host", - gitRepoId: "", - gitRepositoryName: "", + functionZeroConfigFailover: true, + }, + previous: { + functionZeroConfigFailover: true, }, projectId: "", projectName: "", @@ -23,6 +24,6 @@ let value: ThreeHundredAndTwentyEight = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `next` | [models.UserEventPayload328Next](../models/usereventpayload328next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload328Previous](../models/usereventpayload328previous.md) | :heavy_minus_sign: | N/A | +| `previous` | [models.UserEventPayload328Previous](../models/usereventpayload328previous.md) | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentyfive.md b/docs/models/threehundredandtwentyfive.md index 9818fc4bbe..8667e0f938 100644 --- a/docs/models/threehundredandtwentyfive.md +++ b/docs/models/threehundredandtwentyfive.md @@ -5,14 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyFive } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyFive } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentyFive = { next: { - functionZeroConfigFailover: false, + functionDefaultTimeout: 5953.03, }, previous: { - functionZeroConfigFailover: true, + functionDefaultTimeout: 2014.56, }, projectId: "", projectName: "", diff --git a/docs/models/threehundredandtwentyfour.md b/docs/models/threehundredandtwentyfour.md index c3c3373d68..1703efca79 100644 --- a/docs/models/threehundredandtwentyfour.md +++ b/docs/models/threehundredandtwentyfour.md @@ -5,25 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyFour } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyFour } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentyFour = { - next: { - functionDefaultRegions: [], - }, - previous: { - functionDefaultRegions: null, - }, + enableFunctionsBeta: true, projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload324Next](../models/usereventpayload324next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload324Previous](../models/usereventpayload324previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `enableFunctionsBeta` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentynine.md b/docs/models/threehundredandtwentynine.md index 77680bc66d..9f175b1456 100644 --- a/docs/models/threehundredandtwentynine.md +++ b/docs/models/threehundredandtwentynine.md @@ -5,12 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyNine } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyNine } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentyNine = { - gitProvider: "bitbucket", - gitRepoId: "", - gitRepositoryName: "", + previewDeploymentSuffix: "", projectId: "", projectName: "", }; @@ -18,10 +16,8 @@ let value: ThreeHundredAndTwentyNine = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `gitProvider` | [models.GitProvider](../models/gitprovider.md) | :heavy_check_mark: | N/A | -| `gitRepoId` | *string* | :heavy_check_mark: | N/A | -| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `previewDeploymentSuffix` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentyone.md b/docs/models/threehundredandtwentyone.md index cad34bddb5..70965993b4 100644 --- a/docs/models/threehundredandtwentyone.md +++ b/docs/models/threehundredandtwentyone.md @@ -5,18 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyOne } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyOne } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTwentyOne = { - enableFunctionsBeta: false, + customEnvironmentId: "", + customEnvironmentSlug: "", + enableSchedulesByDefault: false, projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `enableFunctionsBeta` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | +| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | +| `enableSchedulesByDefault` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentyseven.md b/docs/models/threehundredandtwentyseven.md index 137511ac84..f0dc7371be 100644 --- a/docs/models/threehundredandtwentyseven.md +++ b/docs/models/threehundredandtwentyseven.md @@ -5,10 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentySeven } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentySeven } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentySeven = { - newProjectName: "", + next: { + functionDefaultRegions: [], + }, + previous: { + functionDefaultRegions: null, + }, projectId: "", projectName: "", }; @@ -16,8 +21,9 @@ let value: ThreeHundredAndTwentySeven = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload327Next](../models/usereventpayload327next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload327Previous](../models/usereventpayload327previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentysix.md b/docs/models/threehundredandtwentysix.md index a8f6ab56e6..8c4745afce 100644 --- a/docs/models/threehundredandtwentysix.md +++ b/docs/models/threehundredandtwentysix.md @@ -5,10 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentySix } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentySix } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ThreeHundredAndTwentySix = { - previewDeploymentSuffix: "", + next: { + functionDefaultMemoryType: "", + }, + previous: { + functionDefaultMemoryType: "", + }, projectId: "", projectName: "", }; @@ -16,8 +21,9 @@ let value: ThreeHundredAndTwentySix = { ## Fields -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `previewDeploymentSuffix` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload326Next](../models/usereventpayload326next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload326Previous](../models/usereventpayload326previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentythree.md b/docs/models/threehundredandtwentythree.md index db3801b6e5..512d5b55df 100644 --- a/docs/models/threehundredandtwentythree.md +++ b/docs/models/threehundredandtwentythree.md @@ -5,15 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyThree } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTwentyThree = { - next: { - functionDefaultMemoryType: "", - }, - previous: { - functionDefaultMemoryType: "", - }, + customEnvironmentId: "", + customEnvironmentSlug: "", projectId: "", projectName: "", }; @@ -21,9 +17,9 @@ let value: ThreeHundredAndTwentyThree = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload323Next](../models/usereventpayload323next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload323Previous](../models/usereventpayload323previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | +| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwentytwo.md b/docs/models/threehundredandtwentytwo.md index d8e0f08295..e9cf5112ca 100644 --- a/docs/models/threehundredandtwentytwo.md +++ b/docs/models/threehundredandtwentytwo.md @@ -5,15 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwentyTwo } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ThreeHundredAndTwentyTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTwentyTwo = { - next: { - functionDefaultTimeout: 6489.93, - }, - previous: { - functionDefaultTimeout: null, - }, + customEnvironmentId: "", + customEnvironmentSlug: "", projectId: "", projectName: "", }; @@ -21,9 +17,10 @@ let value: ThreeHundredAndTwentyTwo = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload322Next](../models/usereventpayload322next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload322Previous](../models/usereventpayload322previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `customEnvironmentId` | *string* | :heavy_check_mark: | N/A | +| `customEnvironmentSlug` | *string* | :heavy_check_mark: | N/A | +| `enableSchedulesByDefault` | *boolean* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/threehundredandtwo.md b/docs/models/threehundredandtwo.md index 773e7a57e9..69b0a3c8f8 100644 --- a/docs/models/threehundredandtwo.md +++ b/docs/models/threehundredandtwo.md @@ -5,10 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { ThreeHundredAndTwo } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { ThreeHundredAndTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: ThreeHundredAndTwo = { - enableExternalRewriteCaching: false, projectId: "", projectName: "", }; @@ -16,8 +15,8 @@ let value: ThreeHundredAndTwo = { ## Fields -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `enableExternalRewriteCaching` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `avatar` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/to.md b/docs/models/to.md index 9a5eac92bd..cdb8bd241f 100644 --- a/docs/models/to.md +++ b/docs/models/to.md @@ -1,25 +1,15 @@ # To -A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. - - -## Supported Types - -### `models.To1` +## Example Usage ```typescript -const value: models.To1 = { - slugs: [ - "", - ], -}; +import { To } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: To = "vercel"; ``` -### `models.To2` +## Values ```typescript -const value: models.To2 = { - preset: "all-custom", -}; -``` - +"vercel" | "workos" +``` \ No newline at end of file diff --git a/docs/models/toaccount.md b/docs/models/toaccount.md index 692d9daaa8..ba9a078113 100644 --- a/docs/models/toaccount.md +++ b/docs/models/toaccount.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ToAccount } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { ToAccount } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: ToAccount = { id: "", @@ -17,5 +17,5 @@ let value: ToAccount = { | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload178ToAccountType](../models/usereventpayload178toaccounttype.md) | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayload179ToAccountType](../models/usereventpayload179toaccounttype.md) | :heavy_check_mark: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/toplan.md b/docs/models/toplan.md index acbb9f0504..fbd5ced186 100644 --- a/docs/models/toplan.md +++ b/docs/models/toplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ToPlan } from "@vercel/sdk/models/twenty.js"; +import { ToPlan } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: ToPlan = "hobby"; ``` diff --git a/docs/models/trial.md b/docs/models/trial.md index c9090c3a3a..3fdff92f52 100644 --- a/docs/models/trial.md +++ b/docs/models/trial.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Trial } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { Trial } from "@vercel/sdk/models/fourhundredandforty.js"; let value: Trial = { end: 9288.8, diff --git a/docs/models/trigger.md b/docs/models/trigger.md index d9ace22028..4d9836f1d0 100644 --- a/docs/models/trigger.md +++ b/docs/models/trigger.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Trigger } from "@vercel/sdk/models/newprojects.js"; +import { Trigger } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Trigger = "domain_verified"; ``` diff --git a/docs/models/trustedips.md b/docs/models/trustedips.md index ad3c0e5be5..6f5b31a1c9 100644 --- a/docs/models/trustedips.md +++ b/docs/models/trustedips.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TrustedIps } from "@vercel/sdk/models/oldssoprotection2.js"; +import { TrustedIps } from "@vercel/sdk/models/payloadstaticips.js"; let value: TrustedIps = "all"; ``` diff --git a/docs/models/twenty.md b/docs/models/twenty.md index b2847b3107..592932ee36 100644 --- a/docs/models/twenty.md +++ b/docs/models/twenty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { Twenty } from "@vercel/sdk/models/twenty.js"; +import { Twenty } from "@vercel/sdk/models/userevent.js"; let value: Twenty = { boardId: "", diff --git a/docs/models/twentyeight.md b/docs/models/twentyeight.md index b0259a05fb..f6b0ff366a 100644 --- a/docs/models/twentyeight.md +++ b/docs/models/twentyeight.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyEight } from "@vercel/sdk/models/twenty.js"; +import { TwentyEight } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: TwentyEight = { fromPlan: "pro", diff --git a/docs/models/twentyfive.md b/docs/models/twentyfive.md index c1cf75f156..5db7b06c11 100644 --- a/docs/models/twentyfive.md +++ b/docs/models/twentyfive.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyFive } from "@vercel/sdk/models/twenty.js"; +import { TwentyFive } from "@vercel/sdk/models/userevent.js"; let value: TwentyFive = { blockCode: "", diff --git a/docs/models/twentyfour.md b/docs/models/twentyfour.md index 2ae66115bb..0372ff2839 100644 --- a/docs/models/twentyfour.md +++ b/docs/models/twentyfour.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyFour } from "@vercel/sdk/models/twenty.js"; +import { TwentyFour } from "@vercel/sdk/models/userevent.js"; let value: TwentyFour = { teamId: "", diff --git a/docs/models/twentynine.md b/docs/models/twentynine.md index 55bf6be115..6a37d4cfa6 100644 --- a/docs/models/twentynine.md +++ b/docs/models/twentynine.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyNine } from "@vercel/sdk/models/twenty.js"; +import { TwentyNine } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: TwentyNine = { accessPolicy: { diff --git a/docs/models/twentyone.md b/docs/models/twentyone.md index 1d4e1a7bc8..7568069baa 100644 --- a/docs/models/twentyone.md +++ b/docs/models/twentyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyOne } from "@vercel/sdk/models/twenty.js"; +import { TwentyOne } from "@vercel/sdk/models/userevent.js"; let value: TwentyOne = { operationId: "", diff --git a/docs/models/twentyseven.md b/docs/models/twentyseven.md index 15350dcb5d..c2d6e4421b 100644 --- a/docs/models/twentyseven.md +++ b/docs/models/twentyseven.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentySeven } from "@vercel/sdk/models/twenty.js"; +import { TwentySeven } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: TwentySeven = { teamId: "", diff --git a/docs/models/twentysix.md b/docs/models/twentysix.md index bdaf58abaa..81c3b1bccd 100644 --- a/docs/models/twentysix.md +++ b/docs/models/twentysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentySix } from "@vercel/sdk/models/twenty.js"; +import { TwentySix } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: TwentySix = { projectName: "", diff --git a/docs/models/twentythree.md b/docs/models/twentythree.md index 961adc067f..334e5386ef 100644 --- a/docs/models/twentythree.md +++ b/docs/models/twentythree.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyThree } from "@vercel/sdk/models/twenty.js"; +import { TwentyThree } from "@vercel/sdk/models/userevent.js"; let value: TwentyThree = { teamId: "", diff --git a/docs/models/twentytwo.md b/docs/models/twentytwo.md index d891d2685f..6e20d6f3dc 100644 --- a/docs/models/twentytwo.md +++ b/docs/models/twentytwo.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwentyTwo } from "@vercel/sdk/models/twenty.js"; +import { TwentyTwo } from "@vercel/sdk/models/userevent.js"; let value: TwentyTwo = { accountRequestId: "", diff --git a/docs/models/two1.md b/docs/models/two1.md index 5e8fcd2246..6874927715 100644 --- a/docs/models/two1.md +++ b/docs/models/two1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Two1 } from "@vercel/sdk/models/newprojects.js"; +import { Two1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Two1 = { origin: "github", diff --git a/docs/models/two2.md b/docs/models/two2.md index 2a62cdda74..96e76eceee 100644 --- a/docs/models/two2.md +++ b/docs/models/two2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Two2 } from "@vercel/sdk/models/newprojects.js"; +import { Two2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: Two2 = { origin: "webauthn", diff --git a/docs/models/twohundred.md b/docs/models/twohundred.md index 1058ffdc54..1de6f15018 100644 --- a/docs/models/twohundred.md +++ b/docs/models/twohundred.md @@ -5,19 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundred } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundred } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundred = { - consumerProjectId: "", + active: true, projectId: "", + rulesetName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `consumerProjectId` | *string* | :heavy_check_mark: | N/A | -| `consumerProjectName` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload200Action](../models/usereventpayload200action.md) | :heavy_minus_sign: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `rulesetName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeight.md b/docs/models/twohundredandeight.md index e30f5e92db..b9244921b5 100644 --- a/docs/models/twohundredandeight.md +++ b/docs/models/twohundredandeight.md @@ -5,13 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEight } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndEight = { - configurationId: "", - integrationId: "", - integrationName: "", - integrationSlug: "", + fromDeploymentId: "", + projectId: "", + projectName: "", + toDeploymentId: "", }; ``` @@ -19,7 +19,8 @@ let value: TwoHundredAndEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeighteen.md b/docs/models/twohundredandeighteen.md index 225b3021eb..d73c574896 100644 --- a/docs/models/twohundredandeighteen.md +++ b/docs/models/twohundredandeighteen.md @@ -5,31 +5,39 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEighteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndEighteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndEighteen = { configurationId: "", + databaseName: "", + errorCode: "", + failedQueryIndex: 534.69, integrationId: "", integrationProductSlug: "", integrationSlug: "", + queries: [], + queryCount: 9990.01, + queryType: "user", + readonly: true, resourceId: "", - commands: [], - readonly: false, - requestKind: "raw_commands", + rolledBack: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `commands` | [models.Commands](../models/commands.md)[] | :heavy_check_mark: | N/A | -| `errorIndex` | *number* | :heavy_minus_sign: | N/A | -| `readonly` | *boolean* | :heavy_check_mark: | N/A | -| `requestKind` | [models.RequestKind](../models/requestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `databaseName` | *string* | :heavy_check_mark: | N/A | +| `errorCode` | *string* | :heavy_check_mark: | N/A | +| `failedQueryIndex` | *number* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `queries` | [models.Queries](../models/queries.md)[] | :heavy_check_mark: | N/A | +| `queryCount` | *number* | :heavy_check_mark: | N/A | +| `queryType` | [models.QueryType](../models/querytype.md) | :heavy_check_mark: | N/A | +| `readonly` | *boolean* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `rolledBack` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeighty.md b/docs/models/twohundredandeighty.md index 2897fb4d3c..377df504f4 100644 --- a/docs/models/twohundredandeighty.md +++ b/docs/models/twohundredandeighty.md @@ -5,19 +5,34 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEighty } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEighty } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEighty = { - perimeter: { - id: "", - name: "", - version: 9659.32, - }, + connectorId: "", + connectorService: "", + connectorType: "", + environment: "", + externalIssuer: "", + externalSubject: "", + host: "wicked-allegation.info", + projectId: "", + sessionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `perimeter` | [models.Perimeter](../models/perimeter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `connectorId` | *string* | :heavy_check_mark: | N/A | +| `connectorService` | *string* | :heavy_check_mark: | N/A | +| `connectorType` | *string* | :heavy_check_mark: | N/A | +| `emailVerified` | *boolean* | :heavy_minus_sign: | N/A | +| `environment` | *string* | :heavy_check_mark: | N/A | +| `externalIssuer` | *string* | :heavy_check_mark: | N/A | +| `externalSubject` | *string* | :heavy_check_mark: | N/A | +| `host` | *string* | :heavy_check_mark: | N/A | +| `installationId` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `sessionId` | *string* | :heavy_check_mark: | N/A | +| `tenantId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightyeight.md b/docs/models/twohundredandeightyeight.md index fa9da9f8ad..733cfaf582 100644 --- a/docs/models/twohundredandeightyeight.md +++ b/docs/models/twohundredandeightyeight.md @@ -5,24 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyEight } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: TwoHundredAndEightyEight = { - endpoint: { - awsServiceName: "", - configurationId: "", - id: "", - name: "", - vercelRegion: "", - }, - scope: "network", -}; +let value: TwoHundredAndEightyEight = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `endpoint` | [models.Endpoint](../models/endpoint.md) | :heavy_check_mark: | N/A | -| `networkName` | *string* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload288Scope](../models/usereventpayload288scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `enabled` | *boolean* | :heavy_minus_sign: | N/A | +| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightyfive.md b/docs/models/twohundredandeightyfive.md index 7806ea93ef..43078fbf1a 100644 --- a/docs/models/twohundredandeightyfive.md +++ b/docs/models/twohundredandeightyfive.md @@ -5,15 +5,26 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyFive } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyFive } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: TwoHundredAndEightyFive = {}; +let value: TwoHundredAndEightyFive = { + next: [ + { + envId: "", + perimeterId: "", + }, + ], + previous: [], + projectId: "", + projectName: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `currency` | *string* | :heavy_minus_sign: | N/A | -| `enabled` | *boolean* | :heavy_minus_sign: | N/A | -| `price` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `next` | [models.UserEventPayload285Next](../models/usereventpayload285next.md)[] | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload285Previous](../models/usereventpayload285previous.md)[] | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightyfour.md b/docs/models/twohundredandeightyfour.md index 9bcbac19b0..c4323e076c 100644 --- a/docs/models/twohundredandeightyfour.md +++ b/docs/models/twohundredandeightyfour.md @@ -5,31 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyFour } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyFour } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEightyFour = { - plan: "", - actorId: "", - actorType: "admin", + perimeter: { + id: "", + name: "", + version: 8846.95, + }, + sourceVersion: 7244.07, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `automated` | *boolean* | :heavy_minus_sign: | Whether the plan change was system-initiated rather than human-initiated. | -| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | -| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | -| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | -| `plan` | *string* | :heavy_check_mark: | N/A | -| `prevPlan` | *string* | :heavy_minus_sign: | N/A | -| `priorPlan` | *string* | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | Why the plan changed. For downgrades, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `user_downgrade`, `trial_expired`). | -| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | -| `removedUsers` | Record | :heavy_minus_sign: | N/A | -| `timestamp` | *number* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayloadActorType](../models/usereventpayloadactortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `perimeter` | [models.PayloadPerimeter](../models/payloadperimeter.md) | :heavy_check_mark: | N/A | +| `sourceVersion` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightynine.md b/docs/models/twohundredandeightynine.md index 1dc89d3b06..5988817fc4 100644 --- a/docs/models/twohundredandeightynine.md +++ b/docs/models/twohundredandeightynine.md @@ -5,23 +5,14 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyNine } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: TwoHundredAndEightyNine = { - endpoint: { - awsServiceName: "", - id: "", - name: "", - projectId: "", - vercelRegion: "", - }, -}; +let value: TwoHundredAndEightyNine = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `endpoint` | [models.PayloadEndpoint](../models/payloadendpoint.md) | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload289Scope](../models/usereventpayload289scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | +| `previousPreviewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightyone.md b/docs/models/twohundredandeightyone.md index fb92b17764..982bb21fab 100644 --- a/docs/models/twohundredandeightyone.md +++ b/docs/models/twohundredandeightyone.md @@ -5,21 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyOne } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyOne } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEightyOne = { - perimeter: { - id: "", - name: "", - version: 4667.2, - }, - sourceVersion: 5726.32, + next: {}, + previous: {}, + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `perimeter` | [models.PayloadPerimeter](../models/payloadperimeter.md) | :heavy_check_mark: | N/A | -| `sourceVersion` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload281Next](../models/usereventpayload281next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload281Previous](../models/usereventpayload281previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightyseven.md b/docs/models/twohundredandeightyseven.md index e15f3fe46f..c353c4280a 100644 --- a/docs/models/twohundredandeightyseven.md +++ b/docs/models/twohundredandeightyseven.md @@ -5,12 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightySeven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightySeven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEightySeven = { - previousTeamSuffix: null, - projectCount: 1879.14, - reason: "", + plan: "", actorId: "", actorType: "admin", }; @@ -18,11 +16,20 @@ let value: TwoHundredAndEightySeven = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `previousTeamSuffix` | *string* | :heavy_check_mark: | N/A | -| `projectCount` | *number* | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.UserEventPayload287ActorType](../models/usereventpayload287actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `automated` | *boolean* | :heavy_minus_sign: | Whether the plan change was system-initiated rather than human-initiated. | +| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | +| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | +| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | +| `prevPlan` | *string* | :heavy_minus_sign: | N/A | +| `priorPlan` | *string* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | Why the plan changed. For downgrades, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `user_downgrade`, `trial_expired`). | +| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | +| `removedUsers` | Record | :heavy_minus_sign: | N/A | +| `timestamp` | *number* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayloadActorType](../models/usereventpayloadactortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightysix.md b/docs/models/twohundredandeightysix.md index 6660a5aa5d..2de7d9eb5a 100644 --- a/docs/models/twohundredandeightysix.md +++ b/docs/models/twohundredandeightysix.md @@ -5,14 +5,26 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightySix } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightySix } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: TwoHundredAndEightySix = {}; +let value: TwoHundredAndEightySix = { + plan: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | -| `previousPreviewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `automated` | *boolean* | :heavy_minus_sign: | Whether the plan change was system-initiated rather than human-initiated. | +| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | +| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | +| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | +| `prevPlan` | *string* | :heavy_minus_sign: | N/A | +| `priorPlan` | *string* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | Why the plan changed. For downgrades, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `user_downgrade`, `trial_expired`). | +| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | +| `removedUsers` | Record | :heavy_minus_sign: | N/A | +| `timestamp` | *number* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightythree.md b/docs/models/twohundredandeightythree.md index d95a6bac84..c3ba18317d 100644 --- a/docs/models/twohundredandeightythree.md +++ b/docs/models/twohundredandeightythree.md @@ -5,26 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyThree } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEightyThree = { - plan: "", + perimeter: { + id: "", + name: "", + version: 1701.73, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `automated` | *boolean* | :heavy_minus_sign: | Whether the plan change was system-initiated rather than human-initiated. | -| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | -| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | -| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | -| `plan` | *string* | :heavy_check_mark: | N/A | -| `prevPlan` | *string* | :heavy_minus_sign: | N/A | -| `priorPlan` | *string* | :heavy_minus_sign: | N/A | -| `reason` | *string* | :heavy_minus_sign: | Why the plan changed. For downgrades, this is a {@link DowngradeReason} from `@api/pubsub-types` (e.g. `user_downgrade`, `trial_expired`). | -| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | -| `removedUsers` | Record | :heavy_minus_sign: | N/A | -| `timestamp` | *number* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `perimeter` | [models.Perimeter](../models/perimeter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeightytwo.md b/docs/models/twohundredandeightytwo.md index 552acd4098..cab64e7d5e 100644 --- a/docs/models/twohundredandeightytwo.md +++ b/docs/models/twohundredandeightytwo.md @@ -5,26 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEightyTwo } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndEightyTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndEightyTwo = { - next: [ - { - envId: "", - perimeterId: "", - }, - ], - previous: [], - projectId: "", - projectName: "", + next: {}, + previous: {}, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `next` | [models.UserEventPayload282Next](../models/usereventpayload282next.md)[] | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload282Previous](../models/usereventpayload282previous.md)[] | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload282Next](../models/usereventpayload282next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload282Previous](../models/usereventpayload282previous.md) | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload282Scope](../models/usereventpayload282scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandeleven.md b/docs/models/twohundredandeleven.md index b4f827d8e5..c41a075186 100644 --- a/docs/models/twohundredandeleven.md +++ b/docs/models/twohundredandeleven.md @@ -5,24 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndEleven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndEleven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndEleven = { - integration: { - configurationId: "", - id: "", - name: "", - slug: "", - }, - destinationTeamId: "", - destinationTeamName: "", + configurationId: "", + confirmedScopes: [ + "", + ], + integrationId: "", + integrationName: "", + integrationSlug: "", + ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `integration` | [models.Integration](../models/integration.md) | :heavy_check_mark: | N/A | -| `destinationTeamId` | *string* | :heavy_check_mark: | N/A | -| `destinationTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `confirmedScopes` | *string*[] | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfifteen.md b/docs/models/twohundredandfifteen.md index 11fa6bd8f0..643bf762b3 100644 --- a/docs/models/twohundredandfifteen.md +++ b/docs/models/twohundredandfifteen.md @@ -5,9 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFifteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFifteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFifteen = { + billingPlanId: "", configurationId: "", integrationId: "", integrationName: "", @@ -18,11 +19,12 @@ let value: TwoHundredAndFifteen = { ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *models.ProjectIds* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `billingPlanId` | *string* | :heavy_check_mark: | N/A | +| `billingPlanName` | *string* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfifty.md b/docs/models/twohundredandfifty.md index f8152361a3..9bcbc5adca 100644 --- a/docs/models/twohundredandfifty.md +++ b/docs/models/twohundredandfifty.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFifty } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFifty } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFifty = { - directoryGroupId: "", - directoryId: "", + domain: "sardonic-sediment.name", organizationId: "", }; ``` @@ -18,6 +17,5 @@ let value: TwoHundredAndFifty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `directoryGroupId` | *string* | :heavy_check_mark: | N/A | -| `directoryId` | *string* | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | | `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftyeight.md b/docs/models/twohundredandfiftyeight.md index 2a31818d03..c0bd3ab76b 100644 --- a/docs/models/twohundredandfiftyeight.md +++ b/docs/models/twohundredandfiftyeight.md @@ -5,12 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndFiftyEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyEight = { - connectionType: "", organizationId: "", - organizationSlug: "", + slug: "", }; ``` @@ -18,6 +17,5 @@ let value: TwoHundredAndFiftyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `connectionType` | *string* | :heavy_check_mark: | N/A | | `organizationId` | *string* | :heavy_check_mark: | N/A | -| `organizationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftyfive.md b/docs/models/twohundredandfiftyfive.md index 3cd00ef199..0f04bcd8a1 100644 --- a/docs/models/twohundredandfiftyfive.md +++ b/docs/models/twohundredandfiftyfive.md @@ -5,17 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyFive } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftyFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyFive = { + enabled: false, + enforcedTeamIds: [], organizationId: "", - slug: "", + previousEnabled: true, + trigger: "team_participation_updated", + unenforcedTeamIds: [ + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `enforcedTeamIds` | *string*[] | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `previousEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `trigger` | [models.Trigger](../models/trigger.md) | :heavy_check_mark: | N/A | +| `unenforcedTeamIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftyfour.md b/docs/models/twohundredandfiftyfour.md index 8c6677b043..8b0216a768 100644 --- a/docs/models/twohundredandfiftyfour.md +++ b/docs/models/twohundredandfiftyfour.md @@ -5,17 +5,29 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyFour } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftyFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyFour = { - name: "", + copiedDomains: [ + "", + "", + "", + ], + enabledOrganizationEmu: true, + enabledTeamIds: [], organizationId: "", + teamId: "", + teamSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `copiedDomains` | *string*[] | :heavy_check_mark: | N/A | +| `enabledOrganizationEmu` | *boolean* | :heavy_check_mark: | N/A | +| `enabledTeamIds` | *string*[] | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftynine.md b/docs/models/twohundredandfiftynine.md index a91da9f5d0..d61fef00f8 100644 --- a/docs/models/twohundredandfiftynine.md +++ b/docs/models/twohundredandfiftynine.md @@ -5,21 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndFiftyNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyNine = { - enforced: false, + billingPlan: "platform", organizationId: "", - organizationSlug: "", - previousEnforced: false, + teamId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enforced` | *boolean* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `organizationSlug` | *string* | :heavy_check_mark: | N/A | -| `previousEnforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `billingPlan` | [models.PayloadBillingPlan](../models/payloadbillingplan.md) | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftyone.md b/docs/models/twohundredandfiftyone.md index c7afe87bb5..d9ebd384e7 100644 --- a/docs/models/twohundredandfiftyone.md +++ b/docs/models/twohundredandfiftyone.md @@ -5,31 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyOne } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftyOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyOne = { - copiedDomains: [ - "", - "", - "", - ], - enabledOrganizationEmu: true, - enabledTeamIds: [ - "", - ], + directoryId: "", organizationId: "", - teamId: "", - teamSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `copiedDomains` | *string*[] | :heavy_check_mark: | N/A | -| `enabledOrganizationEmu` | *boolean* | :heavy_check_mark: | N/A | -| `enabledTeamIds` | *string*[] | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `teamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `directoryId` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftyseven.md b/docs/models/twohundredandfiftyseven.md index 00e6f5a12f..828aa4b034 100644 --- a/docs/models/twohundredandfiftyseven.md +++ b/docs/models/twohundredandfiftyseven.md @@ -5,27 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftySeven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftySeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftySeven = { - next: { - dsyncMode: "organization", - }, + name: "", organizationId: "", - previous: { - dsyncMode: "organization", - }, - teamId: "", - teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload257Next](../models/usereventpayload257next.md) | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload257Previous](../models/usereventpayload257previous.md) | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftysix.md b/docs/models/twohundredandfiftysix.md index ac03a09b04..1480e16b46 100644 --- a/docs/models/twohundredandfiftysix.md +++ b/docs/models/twohundredandfiftysix.md @@ -5,19 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftySix } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftySix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftySix = { - billingPlan: "platform", + enabled: false, organizationId: "", teamId: "", + teamSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `billingPlan` | [models.PayloadBillingPlan](../models/payloadbillingplan.md) | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftythree.md b/docs/models/twohundredandfiftythree.md index 2fbd7b4c58..944db8cd6b 100644 --- a/docs/models/twohundredandfiftythree.md +++ b/docs/models/twohundredandfiftythree.md @@ -5,13 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyThree } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftyThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyThree = { - enabled: false, + directoryGroupId: "", + directoryId: "", organizationId: "", - teamId: "", - teamSlug: "", }; ``` @@ -19,7 +18,6 @@ let value: TwoHundredAndFiftyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `teamSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `directoryGroupId` | *string* | :heavy_check_mark: | N/A | +| `directoryId` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfiftytwo.md b/docs/models/twohundredandfiftytwo.md index ffa47264e5..8d554aeee4 100644 --- a/docs/models/twohundredandfiftytwo.md +++ b/docs/models/twohundredandfiftytwo.md @@ -5,31 +5,29 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFiftyTwo } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFiftyTwo } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFiftyTwo = { - enabled: false, - enforcedTeamIds: [ - "", - ], + directoryGroupId: "", + directoryId: "", + groupName: "", + next: { + organizationPermissions: [ + "OrgAdmin", + ], + teamRoles: [], + teams: {}, + }, organizationId: "", - previousEnabled: true, - trigger: "team_attached", - unenforcedTeamIds: [ - "", - "", - "", - ], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `enforcedTeamIds` | *string*[] | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `previousEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `trigger` | [models.Trigger](../models/trigger.md) | :heavy_check_mark: | N/A | -| `unenforcedTeamIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `directoryGroupId` | *string* | :heavy_check_mark: | N/A | +| `directoryId` | *string* | :heavy_check_mark: | N/A | +| `groupName` | *string* | :heavy_check_mark: | N/A | +| `next` | [models.UserEventPayloadNext](../models/usereventpayloadnext.md) | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfive.md b/docs/models/twohundredandfive.md index 23765c7af1..e4f3166ccc 100644 --- a/docs/models/twohundredandfive.md +++ b/docs/models/twohundredandfive.md @@ -5,15 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFive } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFive = { - effectiveAt: 2855.86, + source: "create", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `effectiveAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `source` | [models.PayloadSource](../models/payloadsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandforty.md b/docs/models/twohundredandforty.md index 1a26a93d09..e57e178f3c 100644 --- a/docs/models/twohundredandforty.md +++ b/docs/models/twohundredandforty.md @@ -5,24 +5,25 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndForty } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndForty } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndForty = { - group: { - id: "", + id: "", + prev: { + fallbackEnvironment: "", name: "", slug: "", }, - project: { - id: "", - name: "", - }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `group` | [models.Group](../models/group.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload240Project](../models/usereventpayload240project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `enablePolyrepoBranchRouting` | *boolean* | :heavy_minus_sign: | N/A | +| `fallbackEnvironment` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `prev` | [models.Prev](../models/prev.md) | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortyeight.md b/docs/models/twohundredandfortyeight.md index a0ec9cfb8a..be30d60ff1 100644 --- a/docs/models/twohundredandfortyeight.md +++ b/docs/models/twohundredandfortyeight.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyEight } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyEight = { - directoryId: "", + avatar: "https://loremflickr.com/3849/282?lock=5294844796823640", organizationId: "", }; ``` @@ -17,5 +17,5 @@ let value: TwoHundredAndFortyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `directoryId` | *string* | :heavy_check_mark: | N/A | +| `avatar` | *string* | :heavy_check_mark: | N/A | | `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortyfive.md b/docs/models/twohundredandfortyfive.md index e06e644499..9a1a0ec7af 100644 --- a/docs/models/twohundredandfortyfive.md +++ b/docs/models/twohundredandfortyfive.md @@ -5,11 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyFive } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyFive = { - avatar: "https://loremflickr.com/705/3665?lock=4549997301052258", - organizationId: "", + projectName: "", }; ``` @@ -17,5 +16,5 @@ let value: TwoHundredAndFortyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `avatar` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortyfour.md b/docs/models/twohundredandfortyfour.md index 767f989527..74abf09df6 100644 --- a/docs/models/twohundredandfortyfour.md +++ b/docs/models/twohundredandfortyfour.md @@ -5,16 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyFour } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyFour = { - projectName: "", + reason: "", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.PayloadActorType](../models/payloadactortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortynine.md b/docs/models/twohundredandfortynine.md index 7013ee9f28..378670fb8c 100644 --- a/docs/models/twohundredandfortynine.md +++ b/docs/models/twohundredandfortynine.md @@ -5,35 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyNine } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyNine = { - directoryGroupId: "", - directoryId: "", - groupName: "", - next: { - organizationPermissions: [ - "OrgAdmin", - ], - teamRoles: [ - "BILLING", - ], - teams: { - "key": { - teamRoles: [], - }, - }, - }, + name: "", organizationId: "", + rootTeamId: "", + slug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `directoryGroupId` | *string* | :heavy_check_mark: | N/A | -| `directoryId` | *string* | :heavy_check_mark: | N/A | -| `groupName` | *string* | :heavy_check_mark: | N/A | -| `next` | [models.UserEventPayloadNext](../models/usereventpayloadnext.md) | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `rootTeamId` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortyone.md b/docs/models/twohundredandfortyone.md index 3bd2c5007e..b70d304526 100644 --- a/docs/models/twohundredandfortyone.md +++ b/docs/models/twohundredandfortyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyOne } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyOne = { group: { @@ -13,9 +13,6 @@ let value: TwoHundredAndFortyOne = { name: "", slug: "", }, - prev: { - project: {}, - }, project: { id: "", name: "", @@ -27,6 +24,5 @@ let value: TwoHundredAndFortyOne = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `group` | [models.PayloadGroup](../models/payloadgroup.md) | :heavy_check_mark: | N/A | -| `prev` | [models.PayloadPrev](../models/payloadprev.md) | :heavy_check_mark: | N/A | +| `group` | [models.Group](../models/group.md) | :heavy_check_mark: | N/A | | `project` | [models.UserEventPayload241Project](../models/usereventpayload241project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortyseven.md b/docs/models/twohundredandfortyseven.md index 37a4e6efab..aa96429492 100644 --- a/docs/models/twohundredandfortyseven.md +++ b/docs/models/twohundredandfortyseven.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortySeven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortySeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortySeven = { - domain: "flustered-heartache.net", organizationId: "", + organizationSlug: "", }; ``` @@ -17,5 +17,5 @@ let value: TwoHundredAndFortySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `organizationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortysix.md b/docs/models/twohundredandfortysix.md index 8be0df54ff..33f4fcaa10 100644 --- a/docs/models/twohundredandfortysix.md +++ b/docs/models/twohundredandfortysix.md @@ -5,13 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortySix } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortySix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortySix = { - name: "", organizationId: "", - rootTeamId: "", - slug: "", + organizationSlug: "", + targetUser: "", }; ``` @@ -19,7 +18,6 @@ let value: TwoHundredAndFortySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | | `organizationId` | *string* | :heavy_check_mark: | N/A | -| `rootTeamId` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `organizationSlug` | *string* | :heavy_check_mark: | N/A | +| `targetUser` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortythree.md b/docs/models/twohundredandfortythree.md index 6d1434e23a..ef87f398d5 100644 --- a/docs/models/twohundredandfortythree.md +++ b/docs/models/twohundredandfortythree.md @@ -5,20 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyThree } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyThree = { - reason: "", - actorId: "", - actorType: "admin", + alertId: "", + alertName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `actorId` | *string* | :heavy_check_mark: | Okta user id. | -| `actorName` | *string* | :heavy_minus_sign: | N/A | -| `actorType` | [models.PayloadActorType](../models/payloadactortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `alertId` | *string* | :heavy_check_mark: | N/A | +| `alertName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfortytwo.md b/docs/models/twohundredandfortytwo.md index 3c1701d26b..6c113b3a14 100644 --- a/docs/models/twohundredandfortytwo.md +++ b/docs/models/twohundredandfortytwo.md @@ -5,17 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFortyTwo } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFortyTwo } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFortyTwo = { - alertId: "", - alertName: "", + group: { + id: "", + name: "", + slug: "", + }, + prev: { + project: {}, + }, + project: { + id: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `alertId` | *string* | :heavy_check_mark: | N/A | -| `alertName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `group` | [models.PayloadGroup](../models/payloadgroup.md) | :heavy_check_mark: | N/A | +| `prev` | [models.PayloadPrev](../models/payloadprev.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload242Project](../models/usereventpayload242project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfour.md b/docs/models/twohundredandfour.md index b883e3a623..dd9ea069cd 100644 --- a/docs/models/twohundredandfour.md +++ b/docs/models/twohundredandfour.md @@ -5,15 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFour } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFour = { - source: "enable", + environment: "", + expiresIn: 5180.43, + flags: [ + "", + ], + projectId: "", + projectIds: [ + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `source` | [models.PayloadSource](../models/payloadsource.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `environment` | *string* | :heavy_check_mark: | N/A | +| `expiresIn` | *number* | :heavy_check_mark: | Seconds until the overrides expire. | +| `flags` | *string*[] | :heavy_check_mark: | The keys of the overridden flags, never their values. | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_check_mark: | The projects that accept the overrides: a whole microfrontends group. | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandfourteen.md b/docs/models/twohundredandfourteen.md index 9d5d5e8664..6260c9a615 100644 --- a/docs/models/twohundredandfourteen.md +++ b/docs/models/twohundredandfourteen.md @@ -5,26 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndFourteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndFourteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndFourteen = { - billingPlanId: "", - configurationId: "", - integrationId: "", - integrationName: "", - integrationSlug: "", + configurations: [], ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `billingPlanId` | *string* | :heavy_check_mark: | N/A | -| `billingPlanName` | *string* | :heavy_minus_sign: | N/A | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `configurations` | [models.Configurations](../models/configurations.md)[] | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandnine.md b/docs/models/twohundredandnine.md index 8d2438891e..a34b5c0cc8 100644 --- a/docs/models/twohundredandnine.md +++ b/docs/models/twohundredandnine.md @@ -5,27 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNine } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndNine = { configurationId: "", integrationId: "", + integrationName: "", integrationSlug: "", - newOwner: { - id: "", - username: "Julian_Murray27", - }, - userId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `newOwner` | [models.NewOwner](../models/newowner.md) | :heavy_check_mark: | N/A | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandnineteen.md b/docs/models/twohundredandnineteen.md index a9bd1e36b2..0ad152d250 100644 --- a/docs/models/twohundredandnineteen.md +++ b/docs/models/twohundredandnineteen.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNineteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndNineteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndNineteen = { configurationId: "", @@ -13,20 +13,27 @@ let value: TwoHundredAndNineteen = { integrationProductSlug: "", integrationSlug: "", resourceId: "", - requestKind: "list_keys", + commands: [ + { + command: "", + }, + ], + readonly: true, + requestKind: "raw_commands", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_minus_sign: | N/A | -| `requestKind` | [models.PayloadRequestKind](../models/payloadrequestkind.md) | :heavy_check_mark: | N/A | -| `type` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `errorCode` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `commands` | [models.Commands](../models/commands.md)[] | :heavy_check_mark: | N/A | +| `errorIndex` | *number* | :heavy_minus_sign: | N/A | +| `readonly` | *boolean* | :heavy_check_mark: | N/A | +| `requestKind` | [models.RequestKind](../models/requestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninety.md b/docs/models/twohundredandninety.md index f5eb650f11..c29e7d5383 100644 --- a/docs/models/twohundredandninety.md +++ b/docs/models/twohundredandninety.md @@ -5,22 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinety } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinety } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinety = { - privateLinkEndpoint: { - id: "", - name: "", - }, - projectId: "", + previousTeamSuffix: "", + projectCount: 2546.6, + reason: "", + actorId: "", + actorType: "admin", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `privateLinkEndpoint` | [models.PayloadPrivateLinkEndpoint](../models/payloadprivatelinkendpoint.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload290Scope](../models/usereventpayload290scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `previousTeamSuffix` | *string* | :heavy_check_mark: | N/A | +| `projectCount` | *number* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `actorId` | *string* | :heavy_check_mark: | Okta user id. | +| `actorName` | *string* | :heavy_minus_sign: | N/A | +| `actorType` | [models.UserEventPayload290ActorType](../models/usereventpayload290actortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetyeight.md b/docs/models/twohundredandninetyeight.md index f685dd2668..57ba1149a8 100644 --- a/docs/models/twohundredandninetyeight.md +++ b/docs/models/twohundredandninetyeight.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyEight } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyEight = { - action: "disabled", + directoryListing: true, projectId: "", projectName: "", }; @@ -16,10 +16,8 @@ let value: TwoHundredAndNinetyEight = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload298Action](../models/usereventpayload298action.md) | :heavy_check_mark: | N/A | -| `isEnvVar` | *boolean* | :heavy_minus_sign: | N/A | -| `note` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetyfive.md b/docs/models/twohundredandninetyfive.md index 1377d245f8..b3cae27f5d 100644 --- a/docs/models/twohundredandninetyfive.md +++ b/docs/models/twohundredandninetyfive.md @@ -5,19 +5,31 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyFive } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyFive } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyFive = { - directoryListing: false, - projectId: "", - projectName: "", + current: { + awsServiceName: "", + id: "", + name: "", + projectId: "", + vercelRegion: "", + }, + prev: { + awsServiceName: "", + id: "", + name: "", + projectId: "", + vercelRegion: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `directoryListing` | *boolean* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `current` | [models.PayloadCurrent](../models/payloadcurrent.md) | :heavy_check_mark: | N/A | +| `prev` | [models.UserEventPayload295Prev](../models/usereventpayload295prev.md) | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `scope` | [models.UserEventPayload295Scope](../models/usereventpayload295scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetyfour.md b/docs/models/twohundredandninetyfour.md index 23720942f1..9e368728dc 100644 --- a/docs/models/twohundredandninetyfour.md +++ b/docs/models/twohundredandninetyfour.md @@ -5,18 +5,32 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyFour } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyFour } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyFour = { - branch: "", - projectName: "", + current: { + awsServiceName: "", + configurationId: "", + id: "", + name: "", + vercelRegion: "", + }, + prev: { + awsServiceName: "", + configurationId: "", + id: "", + name: "", + vercelRegion: "", + }, + scope: "network", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `branch` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `current` | [models.Current](../models/current.md) | :heavy_check_mark: | N/A | +| `networkName` | *string* | :heavy_minus_sign: | N/A | +| `prev` | [models.UserEventPayloadPrev](../models/usereventpayloadprev.md) | :heavy_check_mark: | N/A | +| `scope` | [models.UserEventPayload294Scope](../models/usereventpayload294scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetynine.md b/docs/models/twohundredandninetynine.md index 3386d17d91..2a4a1a9716 100644 --- a/docs/models/twohundredandninetynine.md +++ b/docs/models/twohundredandninetynine.md @@ -5,18 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyNine } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyNine = { + prevProjectAnalytics: { + disabledAt: 508.04, + enabledAt: 5900.29, + id: "", + }, + projectAnalytics: { + disabledAt: 1431.05, + enabledAt: 2765.26, + id: "", + }, projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `avatar` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `prevProjectAnalytics` | [models.PrevProjectAnalytics](../models/prevprojectanalytics.md) | :heavy_check_mark: | N/A | +| `projectAnalytics` | [models.ProjectAnalytics](../models/projectanalytics.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetyone.md b/docs/models/twohundredandninetyone.md index 0db9b37525..8beba64ba6 100644 --- a/docs/models/twohundredandninetyone.md +++ b/docs/models/twohundredandninetyone.md @@ -5,17 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyOne } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyOne } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyOne = { - current: { - awsServiceName: "", - configurationId: "", - id: "", - name: "", - vercelRegion: "", - }, - prev: { + endpoint: { awsServiceName: "", configurationId: "", id: "", @@ -30,7 +23,6 @@ let value: TwoHundredAndNinetyOne = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `current` | [models.Current](../models/current.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.Endpoint](../models/endpoint.md) | :heavy_check_mark: | N/A | | `networkName` | *string* | :heavy_minus_sign: | N/A | -| `prev` | [models.UserEventPayloadPrev](../models/usereventpayloadprev.md) | :heavy_check_mark: | N/A | | `scope` | [models.UserEventPayload291Scope](../models/usereventpayload291scope.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetyseven.md b/docs/models/twohundredandninetyseven.md index 1bf8cc612e..d79d35ec43 100644 --- a/docs/models/twohundredandninetyseven.md +++ b/docs/models/twohundredandninetyseven.md @@ -5,18 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetySeven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetySeven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetySeven = { - projectId: "", + branch: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `prevProjectAnalytics` | Record | :heavy_minus_sign: | N/A | -| `projectAnalytics` | Record | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `branch` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetysix.md b/docs/models/twohundredandninetysix.md index 0ffb309070..b8a031776f 100644 --- a/docs/models/twohundredandninetysix.md +++ b/docs/models/twohundredandninetysix.md @@ -5,18 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetySix } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetySix } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetySix = { - prevProjectAnalytics: { - disabledAt: 5836.6, - enabledAt: 4530.2, - id: "", + previousEndpoint: { + name: "", }, - projectAnalytics: { - disabledAt: 6210.99, - enabledAt: 6555.71, + privateLinkEndpoint: { id: "", + name: "", }, projectId: "", }; @@ -24,9 +21,10 @@ let value: TwoHundredAndNinetySix = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `prevProjectAnalytics` | [models.PrevProjectAnalytics](../models/prevprojectanalytics.md) | :heavy_check_mark: | N/A | -| `projectAnalytics` | [models.ProjectAnalytics](../models/projectanalytics.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `previousEndpoint` | [models.PreviousEndpoint](../models/previousendpoint.md) | :heavy_check_mark: | N/A | +| `privateLinkEndpoint` | [models.UserEventPayloadPrivateLinkEndpoint](../models/usereventpayloadprivatelinkendpoint.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `scope` | [models.UserEventPayload296Scope](../models/usereventpayload296scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetythree.md b/docs/models/twohundredandninetythree.md index 73ea64b0e2..218490ac6b 100644 --- a/docs/models/twohundredandninetythree.md +++ b/docs/models/twohundredandninetythree.md @@ -5,12 +5,9 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyThree } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyThree = { - previousEndpoint: { - name: "", - }, privateLinkEndpoint: { id: "", name: "", @@ -21,10 +18,9 @@ let value: TwoHundredAndNinetyThree = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `previousEndpoint` | [models.PreviousEndpoint](../models/previousendpoint.md) | :heavy_check_mark: | N/A | -| `privateLinkEndpoint` | [models.UserEventPayloadPrivateLinkEndpoint](../models/usereventpayloadprivatelinkendpoint.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `scope` | [models.UserEventPayload293Scope](../models/usereventpayload293scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `privateLinkEndpoint` | [models.PayloadPrivateLinkEndpoint](../models/payloadprivatelinkendpoint.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `scope` | [models.UserEventPayload293Scope](../models/usereventpayload293scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandninetytwo.md b/docs/models/twohundredandninetytwo.md index 00c32c1d6b..d23e605b2c 100644 --- a/docs/models/twohundredandninetytwo.md +++ b/docs/models/twohundredandninetytwo.md @@ -5,17 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndNinetyTwo } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndNinetyTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndNinetyTwo = { - current: { - awsServiceName: "", - id: "", - name: "", - projectId: "", - vercelRegion: "", - }, - prev: { + endpoint: { awsServiceName: "", id: "", name: "", @@ -29,7 +22,6 @@ let value: TwoHundredAndNinetyTwo = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `current` | [models.PayloadCurrent](../models/payloadcurrent.md) | :heavy_check_mark: | N/A | -| `prev` | [models.UserEventPayload292Prev](../models/usereventpayload292prev.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.PayloadEndpoint](../models/payloadendpoint.md) | :heavy_check_mark: | N/A | | `projectName` | *string* | :heavy_minus_sign: | N/A | | `scope` | [models.UserEventPayload292Scope](../models/usereventpayload292scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandone.md b/docs/models/twohundredandone.md index 6c0bf37106..37fa00167b 100644 --- a/docs/models/twohundredandone.md +++ b/docs/models/twohundredandone.md @@ -5,20 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndOne } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndOne = { - newOwnerId: "", - previousOwnerId: "", + consumerProjectId: "", projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `newOwnerId` | *string* | :heavy_check_mark: | N/A | -| `previousOwnerId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `consumerProjectId` | *string* | :heavy_check_mark: | N/A | +| `consumerProjectName` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseven.md b/docs/models/twohundredandseven.md index 0e5b5305fc..628224c86f 100644 --- a/docs/models/twohundredandseven.md +++ b/docs/models/twohundredandseven.md @@ -5,22 +5,37 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndSeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSeven = { - fromDeploymentId: "", - projectId: "", - projectName: "", - toDeploymentId: "", + actorAccountId: "", + actorLogin: null, + destinationBranch: "", + destinationRepo: "", + installationId: null, + outcome: "success", + provider: "cursor-origin", + resultCommitSha: "", + sourceCommitSha: "", + sourceRepo: "", + usedAppToken: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `actorAccountId` | *string* | :heavy_check_mark: | Stable account id on `provider`. | +| `actorLogin` | *string* | :heavy_check_mark: | Display name only. Logins are mutable; join on `actorAccountId`. | +| `destinationBranch` | *string* | :heavy_check_mark: | Branch actually pushed to, or the requested one if blocked. | +| `destinationRepo` | *string* | :heavy_check_mark: | "owner/name", or the raw request value if blocked before it resolved. | +| `failureCode` | *string* | :heavy_minus_sign: | Sanitized code, never a raw error message. | +| `failureStage` | [models.FailureStage](../models/failurestage.md) | :heavy_minus_sign: | Mirrors `PushFailureStage` in `api-git-providers`. | +| `installationId` | *string* | :heavy_check_mark: | Set only when an App installation token was minted (GitHub only). | +| `outcome` | [models.Outcome](../models/outcome.md) | :heavy_check_mark: | N/A | +| `provider` | [models.UserEventPayload207Provider](../models/usereventpayload207provider.md) | :heavy_check_mark: | N/A | +| `resultCommitSha` | *string* | :heavy_check_mark: | N/A | +| `sourceCommitSha` | *string* | :heavy_check_mark: | N/A | +| `sourceRepo` | *string* | :heavy_check_mark: | Source repository, "owner/name". Null when the pushed content was generated in-request (push-files-to-repo) rather than copied from a repository. | +| `usedAppToken` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventeen.md b/docs/models/twohundredandseventeen.md index a1c3c95b59..f0973e91b7 100644 --- a/docs/models/twohundredandseventeen.md +++ b/docs/models/twohundredandseventeen.md @@ -5,43 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventeen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndSeventeen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSeventeen = { - configurationId: "", - databaseName: "", - errorCode: null, - failedQueryIndex: 8990.7, integrationId: "", - integrationProductSlug: "", + integrationName: "", integrationSlug: "", - queries: [ - { - command: "", - }, - ], - queryCount: 1324.27, - queryType: "schema", - readonly: true, - resourceId: "", - rolledBack: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `databaseName` | *string* | :heavy_check_mark: | N/A | -| `errorCode` | *string* | :heavy_check_mark: | N/A | -| `failedQueryIndex` | *number* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `queries` | [models.Queries](../models/queries.md)[] | :heavy_check_mark: | N/A | -| `queryCount` | *number* | :heavy_check_mark: | N/A | -| `queryType` | [models.QueryType](../models/querytype.md) | :heavy_check_mark: | N/A | -| `readonly` | *boolean* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `rolledBack` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventy.md b/docs/models/twohundredandseventy.md index 0cce3b3db5..d4cb56b3d0 100644 --- a/docs/models/twohundredandseventy.md +++ b/docs/models/twohundredandseventy.md @@ -5,23 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventy } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventy } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventy = { + headerName: "", justification: "", previousStatus: "", projectId: "", - url: "https://merry-singing.info/", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `approvalScope` | [models.ApprovalScope](../models/approvalscope.md) | :heavy_minus_sign: | N/A | -| `justification` | *string* | :heavy_check_mark: | N/A | -| `kind` | [models.UserEventPayloadKind](../models/usereventpayloadkind.md) | :heavy_minus_sign: | N/A | -| `previousStatus` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `headerName` | *string* | :heavy_check_mark: | N/A | +| `justification` | *string* | :heavy_check_mark: | N/A | +| `previousStatus` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventyeight.md b/docs/models/twohundredandseventyeight.md index 0732576c3a..0bc335f25a 100644 --- a/docs/models/twohundredandseventyeight.md +++ b/docs/models/twohundredandseventyeight.md @@ -5,11 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyEight } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyEight = { - next: {}, - previous: {}, + justification: "", + pattern: "", projectId: "", projectName: "", }; @@ -17,9 +17,10 @@ let value: TwoHundredAndSeventyEight = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload278Next](../models/usereventpayload278next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload278Previous](../models/usereventpayload278previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `justification` | *string* | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventyfive.md b/docs/models/twohundredandseventyfive.md index d4dbbb0a81..abd4b75b69 100644 --- a/docs/models/twohundredandseventyfive.md +++ b/docs/models/twohundredandseventyfive.md @@ -5,22 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyFive } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyFive } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyFive = { - justification: "", - pattern: "", + headerName: "", projectId: "", - projectName: "", + type: "header", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `justification` | *string* | :heavy_check_mark: | N/A | -| `pattern` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `headerName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayload275Type](../models/usereventpayload275type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventyfour.md b/docs/models/twohundredandseventyfour.md index 6c116e1c6c..95a243323a 100644 --- a/docs/models/twohundredandseventyfour.md +++ b/docs/models/twohundredandseventyfour.md @@ -5,22 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyFour } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyFour } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyFour = { - justification: null, - previousStatus: "", projectId: "", + resourceUrl: "https://soupy-laughter.name/", + type: "script", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `headerName` | *string* | :heavy_minus_sign: | N/A | -| `justification` | *string* | :heavy_check_mark: | N/A | -| `kind` | [models.PayloadKind](../models/payloadkind.md) | :heavy_minus_sign: | N/A | -| `previousStatus` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `resourceUrl` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayloadType](../models/usereventpayloadtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventynine.md b/docs/models/twohundredandseventynine.md index 4514404b1e..3f59507051 100644 --- a/docs/models/twohundredandseventynine.md +++ b/docs/models/twohundredandseventynine.md @@ -5,18 +5,17 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyNine } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyNine = { - next: {}, - previous: {}, + newName: "", + oldName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload279Next](../models/usereventpayload279next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload279Previous](../models/usereventpayload279previous.md) | :heavy_check_mark: | N/A | -| `scope` | [models.UserEventPayload279Scope](../models/usereventpayload279scope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `newName` | *string* | :heavy_check_mark: | N/A | +| `oldName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventyone.md b/docs/models/twohundredandseventyone.md index a6cf58026f..fcd4c620cb 100644 --- a/docs/models/twohundredandseventyone.md +++ b/docs/models/twohundredandseventyone.md @@ -5,19 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyOne } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyOne } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyOne = { + headerName: "", + justification: "", + previousStatus: "", projectId: "", - resourceUrl: "https://broken-singing.biz", - type: "script", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `resourceUrl` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayloadType](../models/usereventpayloadtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `headerName` | *string* | :heavy_check_mark: | N/A | +| `justification` | *string* | :heavy_check_mark: | N/A | +| `previousStatus` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventyseven.md b/docs/models/twohundredandseventyseven.md index 9e6eea965f..21d594bc18 100644 --- a/docs/models/twohundredandseventyseven.md +++ b/docs/models/twohundredandseventyseven.md @@ -5,34 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventySeven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventySeven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventySeven = { - connectorId: "", - connectorService: "", - connectorType: "", - environment: "", - externalIssuer: "", - externalSubject: "", - host: "electric-tooth.org", + justification: "", + previousStatus: "", projectId: "", - sessionId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `connectorId` | *string* | :heavy_check_mark: | N/A | -| `connectorService` | *string* | :heavy_check_mark: | N/A | -| `connectorType` | *string* | :heavy_check_mark: | N/A | -| `emailVerified` | *boolean* | :heavy_minus_sign: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | -| `externalIssuer` | *string* | :heavy_check_mark: | N/A | -| `externalSubject` | *string* | :heavy_check_mark: | N/A | -| `host` | *string* | :heavy_check_mark: | N/A | -| `installationId` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `sessionId` | *string* | :heavy_check_mark: | N/A | -| `tenantId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `headerName` | *string* | :heavy_minus_sign: | N/A | +| `justification` | *string* | :heavy_check_mark: | N/A | +| `kind` | [models.PayloadKind](../models/payloadkind.md) | :heavy_minus_sign: | N/A | +| `previousStatus` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventysix.md b/docs/models/twohundredandseventysix.md index 0dadf10b1c..5f5ee0aa5e 100644 --- a/docs/models/twohundredandseventysix.md +++ b/docs/models/twohundredandseventysix.md @@ -5,17 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventySix } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventySix } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventySix = { - newName: "", - oldName: "", + projectId: "", + resourceUrl: "https://reflecting-flint.org/", + type: "connectSrc", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `newName` | *string* | :heavy_check_mark: | N/A | -| `oldName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `resourceUrl` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayload276Type](../models/usereventpayload276type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventythree.md b/docs/models/twohundredandseventythree.md index 58cf708466..529dc12170 100644 --- a/docs/models/twohundredandseventythree.md +++ b/docs/models/twohundredandseventythree.md @@ -5,19 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyThree } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyThree = { + justification: "", + previousStatus: "", projectId: "", - resourceUrl: "https://grounded-brush.name/", - type: "connectSrc", + url: "https://grounded-brush.name/", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `resourceUrl` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayload273Type](../models/usereventpayload273type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `approvalScope` | [models.ApprovalScope](../models/approvalscope.md) | :heavy_minus_sign: | N/A | +| `justification` | *string* | :heavy_check_mark: | N/A | +| `kind` | [models.UserEventPayloadKind](../models/usereventpayloadkind.md) | :heavy_minus_sign: | N/A | +| `previousStatus` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandseventytwo.md b/docs/models/twohundredandseventytwo.md index 133f963d1e..6104a9da93 100644 --- a/docs/models/twohundredandseventytwo.md +++ b/docs/models/twohundredandseventytwo.md @@ -5,19 +5,29 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSeventyTwo } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSeventyTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSeventyTwo = { - headerName: "", + connectSrcCount: 6606.87, + connectSrcOriginCount: 4674.8, + deletedCount: 5926.66, + headerCount: 5220.98, projectId: "", - type: "header", + projectName: "", + scriptCount: 7495.96, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `headerName` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayload272Type](../models/usereventpayload272type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `connectSrcCount` | *number* | :heavy_check_mark: | N/A | +| `connectSrcNormalizationRulesCleared` | *boolean* | :heavy_minus_sign: | N/A | +| `connectSrcOriginCount` | *number* | :heavy_check_mark: | N/A | +| `connectSrcUserNormalizationRuleCount` | *number* | :heavy_minus_sign: | N/A | +| `deletedCount` | *number* | :heavy_check_mark: | N/A | +| `headerCount` | *number* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `scriptCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsix.md b/docs/models/twohundredandsix.md index 2ecac9e4a4..19de65a870 100644 --- a/docs/models/twohundredandsix.md +++ b/docs/models/twohundredandsix.md @@ -5,37 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSix } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndSix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSix = { - actorAccountId: "", - actorLogin: "", - destinationBranch: "", - destinationRepo: "", - installationId: "", - outcome: "failure", - provider: "gitlab", - resultCommitSha: "", - sourceCommitSha: "", - sourceRepo: "", - usedAppToken: true, + effectiveAt: 3140.16, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `actorAccountId` | *string* | :heavy_check_mark: | Stable account id on `provider`. | -| `actorLogin` | *string* | :heavy_check_mark: | Display name only. Logins are mutable; join on `actorAccountId`. | -| `destinationBranch` | *string* | :heavy_check_mark: | Branch actually pushed to, or the requested one if blocked. | -| `destinationRepo` | *string* | :heavy_check_mark: | "owner/name", or the raw request value if blocked before it resolved. | -| `failureCode` | *string* | :heavy_minus_sign: | Sanitized code, never a raw error message. | -| `failureStage` | [models.FailureStage](../models/failurestage.md) | :heavy_minus_sign: | Mirrors `PushFailureStage` in `api-git-providers`. | -| `installationId` | *string* | :heavy_check_mark: | Set only when an App installation token was minted (GitHub only). | -| `outcome` | [models.Outcome](../models/outcome.md) | :heavy_check_mark: | N/A | -| `provider` | [models.UserEventPayload206Provider](../models/usereventpayload206provider.md) | :heavy_check_mark: | N/A | -| `resultCommitSha` | *string* | :heavy_check_mark: | N/A | -| `sourceCommitSha` | *string* | :heavy_check_mark: | N/A | -| `sourceRepo` | *string* | :heavy_check_mark: | Source repository, "owner/name". Null when the pushed content was generated in-request (push-files-to-repo) rather than copied from a repository. | -| `usedAppToken` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `effectiveAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixteen.md b/docs/models/twohundredandsixteen.md index 3e0c2e36d5..c7c2219f55 100644 --- a/docs/models/twohundredandsixteen.md +++ b/docs/models/twohundredandsixteen.md @@ -5,19 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndSixteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSixteen = { + configurationId: "", integrationId: "", integrationName: "", integrationSlug: "", + ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *models.ProjectIds* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixty.md b/docs/models/twohundredandsixty.md index ebcb1db0af..d957d39bc9 100644 --- a/docs/models/twohundredandsixty.md +++ b/docs/models/twohundredandsixty.md @@ -5,21 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixty } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixty } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSixty = { - enabled: false, + next: { + dsyncMode: "team", + }, organizationId: "", - organizationSlug: "", - previousEnabled: true, + previous: { + dsyncMode: "organization", + }, + teamId: "", + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `organizationSlug` | *string* | :heavy_check_mark: | N/A | -| `previousEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload260Next](../models/usereventpayload260next.md) | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload260Previous](../models/usereventpayload260previous.md) | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtyeight.md b/docs/models/twohundredandsixtyeight.md index 7b019f93f8..7602e81188 100644 --- a/docs/models/twohundredandsixtyeight.md +++ b/docs/models/twohundredandsixtyeight.md @@ -5,13 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyEight } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyEight } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyEight = { - headerName: "", - justification: "", - previousStatus: "", - projectId: "", + cause: "", + ownerId: "", + source: "", }; ``` @@ -19,7 +18,6 @@ let value: TwoHundredAndSixtyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `headerName` | *string* | :heavy_check_mark: | N/A | -| `justification` | *string* | :heavy_check_mark: | N/A | -| `previousStatus` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `cause` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtyfive.md b/docs/models/twohundredandsixtyfive.md index 4ecae7a812..09555c276d 100644 --- a/docs/models/twohundredandsixtyfive.md +++ b/docs/models/twohundredandsixtyfive.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyFive } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyFive } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyFive = { cause: "", @@ -16,8 +16,10 @@ let value: TwoHundredAndSixtyFive = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `cause` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `blockReason` | *string* | :heavy_minus_sign: | N/A | +| `cause` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `siftRoute` | [models.SiftRoute](../models/siftroute.md) | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtyfour.md b/docs/models/twohundredandsixtyfour.md index 711d3344af..651f3fc7c5 100644 --- a/docs/models/twohundredandsixtyfour.md +++ b/docs/models/twohundredandsixtyfour.md @@ -5,20 +5,23 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyFour } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyFour } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyFour = { - cause: "", - ownerId: "", - source: "", + mode: "organization", + organizationId: "", + previousMode: "team", + teamId: "", + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `blockReason` | *string* | :heavy_minus_sign: | N/A | -| `cause` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `mode` | [models.UserEventPayload264Mode](../models/usereventpayload264mode.md) | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `previousMode` | [models.UserEventPayloadPreviousMode](../models/usereventpayloadpreviousmode.md) | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtynine.md b/docs/models/twohundredandsixtynine.md index 0ca12ed6a6..1daa072828 100644 --- a/docs/models/twohundredandsixtynine.md +++ b/docs/models/twohundredandsixtynine.md @@ -5,29 +5,31 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyNine } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyNine } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyNine = { - connectSrcCount: 6406.53, - connectSrcOriginCount: 9734.17, - deletedCount: 4008.74, - headerCount: 4318.76, + next: { + allowUnsafeScriptSrcKeywords: false, + enabled: false, + enforcePercentage: 4008.74, + mode: "", + newResourceBlockingPolicy: "allow", + }, + previous: { + allowUnsafeScriptSrcKeywords: true, + enabled: false, + enforcePercentage: 9914.99, + mode: "", + newResourceBlockingPolicy: "allow", + }, projectId: "", - projectName: "", - scriptCount: 1316.6, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `connectSrcCount` | *number* | :heavy_check_mark: | N/A | -| `connectSrcNormalizationRulesCleared` | *boolean* | :heavy_minus_sign: | N/A | -| `connectSrcOriginCount` | *number* | :heavy_check_mark: | N/A | -| `connectSrcUserNormalizationRuleCount` | *number* | :heavy_minus_sign: | N/A | -| `deletedCount` | *number* | :heavy_check_mark: | N/A | -| `headerCount` | *number* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `scriptCount` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `next` | [models.UserEventPayload269Next](../models/usereventpayload269next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.UserEventPayload269Previous](../models/usereventpayload269previous.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtyone.md b/docs/models/twohundredandsixtyone.md index 91ec289b76..bf9b34fb6c 100644 --- a/docs/models/twohundredandsixtyone.md +++ b/docs/models/twohundredandsixtyone.md @@ -5,23 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyOne } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndSixtyOne = { - mode: "organization", + connectionType: "", organizationId: "", - previousMode: "team", - teamId: "", - teamName: "", + organizationSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `mode` | [models.UserEventPayload261Mode](../models/usereventpayload261mode.md) | :heavy_check_mark: | N/A | -| `organizationId` | *string* | :heavy_check_mark: | N/A | -| `previousMode` | [models.UserEventPayloadPreviousMode](../models/usereventpayloadpreviousmode.md) | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `teamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `connectionType` | *string* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `organizationSlug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtyseven.md b/docs/models/twohundredandsixtyseven.md index f34a82b5f8..18bf617a66 100644 --- a/docs/models/twohundredandsixtyseven.md +++ b/docs/models/twohundredandsixtyseven.md @@ -5,13 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtySeven } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtySeven } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtySeven = { - headerName: "", - justification: "", - previousStatus: "", - projectId: "", + cause: "", + ownerId: "", + source: "", }; ``` @@ -19,7 +18,7 @@ let value: TwoHundredAndSixtySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `headerName` | *string* | :heavy_check_mark: | N/A | -| `justification` | *string* | :heavy_check_mark: | N/A | -| `previousStatus` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `blockReason` | *string* | :heavy_minus_sign: | N/A | +| `cause` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtysix.md b/docs/models/twohundredandsixtysix.md index 5c5acfb1b4..5cc4e42bf6 100644 --- a/docs/models/twohundredandsixtysix.md +++ b/docs/models/twohundredandsixtysix.md @@ -5,31 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtySix } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtySix } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtySix = { - next: { - allowUnsafeScriptSrcKeywords: false, - enabled: false, - enforcePercentage: 3840.37, - mode: "", - newResourceBlockingPolicy: "allow", - }, - previous: { - allowUnsafeScriptSrcKeywords: false, - enabled: false, - enforcePercentage: 6437.28, - mode: "", - newResourceBlockingPolicy: "block", - }, - projectId: "", + cause: "", + ownerId: "", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `next` | [models.UserEventPayload266Next](../models/usereventpayload266next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.UserEventPayload266Previous](../models/usereventpayload266previous.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `cause` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtythree.md b/docs/models/twohundredandsixtythree.md index 7a97234f71..911ab43a3b 100644 --- a/docs/models/twohundredandsixtythree.md +++ b/docs/models/twohundredandsixtythree.md @@ -5,12 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyThree } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyThree } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyThree = { - cause: "", - ownerId: "", - source: "", + enabled: false, + organizationId: "", + organizationSlug: "", + previousEnabled: true, }; ``` @@ -18,7 +19,7 @@ let value: TwoHundredAndSixtyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `cause` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `organizationSlug` | *string* | :heavy_check_mark: | N/A | +| `previousEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandsixtytwo.md b/docs/models/twohundredandsixtytwo.md index ec358ac2d3..64875d4e52 100644 --- a/docs/models/twohundredandsixtytwo.md +++ b/docs/models/twohundredandsixtytwo.md @@ -5,21 +5,21 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndSixtyTwo } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { TwoHundredAndSixtyTwo } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: TwoHundredAndSixtyTwo = { - cause: "", - ownerId: "", - source: "", + enforced: true, + organizationId: "", + organizationSlug: "", + previousEnforced: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `blockReason` | *string* | :heavy_minus_sign: | N/A | -| `cause` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `siftRoute` | [models.SiftRoute](../models/siftroute.md) | :heavy_minus_sign: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `enforced` | *boolean* | :heavy_check_mark: | N/A | +| `organizationId` | *string* | :heavy_check_mark: | N/A | +| `organizationSlug` | *string* | :heavy_check_mark: | N/A | +| `previousEnforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandten.md b/docs/models/twohundredandten.md index b73bc71c1d..eb3997eabc 100644 --- a/docs/models/twohundredandten.md +++ b/docs/models/twohundredandten.md @@ -5,30 +5,27 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTen = { configurationId: "", - confirmedScopes: [ - "", - "", - "", - ], integrationId: "", - integrationName: "", integrationSlug: "", - ownerId: "", + newOwner: { + id: "", + username: "Lisandro_Schumm77", + }, + userId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `confirmedScopes` | *string*[] | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `newOwner` | [models.NewOwner](../models/newowner.md) | :heavy_check_mark: | N/A | +| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirteen.md b/docs/models/twohundredandthirteen.md index 2f30526b16..d7cbe9ec39 100644 --- a/docs/models/twohundredandthirteen.md +++ b/docs/models/twohundredandthirteen.md @@ -5,17 +5,24 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirteen } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirteen } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirteen = { - configurations: [], - ownerId: "", + integration: { + configurationId: "", + id: "", + name: "", + slug: "", + }, + originTeamId: "", + originTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `configurations` | [models.Configurations](../models/configurations.md)[] | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `integration` | [models.PayloadIntegration](../models/payloadintegration.md) | :heavy_check_mark: | N/A | +| `originTeamId` | *string* | :heavy_check_mark: | N/A | +| `originTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirty.md b/docs/models/twohundredandthirty.md index 9307913151..07dded650c 100644 --- a/docs/models/twohundredandthirty.md +++ b/docs/models/twohundredandthirty.md @@ -5,10 +5,10 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirty } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirty } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirty = { - logDrainUrl: "https://rigid-illusion.com", + logDrainUrl: "https://lanky-cake.name", }; ``` diff --git a/docs/models/twohundredandthirtyeight.md b/docs/models/twohundredandthirtyeight.md index d2d18438a5..3b35e413cf 100644 --- a/docs/models/twohundredandthirtyeight.md +++ b/docs/models/twohundredandthirtyeight.md @@ -5,19 +5,18 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyEight } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtyEight = { - id: "", - name: "", - slug: "", + enabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `allowedIntegrationCount` | *number* | :heavy_minus_sign: | N/A | +| `allowedIntegrationIds` | *string*[] | :heavy_minus_sign: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `resourceOnlyIntegrationCount` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtyfive.md b/docs/models/twohundredandthirtyfive.md index f7977b9f46..5acd95d6e1 100644 --- a/docs/models/twohundredandthirtyfive.md +++ b/docs/models/twohundredandthirtyfive.md @@ -5,15 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyFive } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtyFive = { - invoiceCollection: false, + projectId: "", + projectName: "", + toDeploymentId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `invoiceCollection` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtyfour.md b/docs/models/twohundredandthirtyfour.md index 0236dbb5a7..17912500e9 100644 --- a/docs/models/twohundredandthirtyfour.md +++ b/docs/models/twohundredandthirtyfour.md @@ -5,19 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyFour } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; -let value: TwoHundredAndThirtyFour = { - projectId: "", - projectName: "", - toDeploymentId: "", -}; +let value: TwoHundredAndThirtyFour = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `env` | *string* | :heavy_minus_sign: | N/A | +| `factors` | *models.Factors* | :heavy_minus_sign: | N/A | +| `geolocation` | [models.Geolocation](../models/geolocation.md) | :heavy_minus_sign: | N/A | +| `loginSessionId` | *string* | :heavy_minus_sign: | Browser login correlation ID. This is not an authentication credential. | +| `os` | *string* | :heavy_minus_sign: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | +| `viaApple` | *boolean* | :heavy_minus_sign: | N/A | +| `viaBitbucket` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGithub` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGitlab` | *boolean* | :heavy_minus_sign: | N/A | +| `viaGoogle` | *boolean* | :heavy_minus_sign: | N/A | +| `viaOTP` | *boolean* | :heavy_minus_sign: | N/A | +| `viaPasskey` | *boolean* | :heavy_minus_sign: | N/A | +| `viaSamlSso` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtynine.md b/docs/models/twohundredandthirtynine.md index b87db41812..17e4eb5c78 100644 --- a/docs/models/twohundredandthirtynine.md +++ b/docs/models/twohundredandthirtynine.md @@ -5,25 +5,19 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyNine } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtyNine = { id: "", - prev: { - fallbackEnvironment: "", - name: "", - slug: "", - }, + name: "", + slug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `enablePolyrepoBranchRouting` | *boolean* | :heavy_minus_sign: | N/A | -| `fallbackEnvironment` | *string* | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `prev` | [models.Prev](../models/prev.md) | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtyone.md b/docs/models/twohundredandthirtyone.md index 7e78151b87..98964d8d6e 100644 --- a/docs/models/twohundredandthirtyone.md +++ b/docs/models/twohundredandthirtyone.md @@ -5,17 +5,16 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyOne } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtyOne = { - login: "Luigi.Dietrich", - provider: "gitlab", + logDrainUrl: "https://graceful-corral.info", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `login` | *string* | :heavy_check_mark: | N/A | -| `provider` | [models.UserEventPayload231Provider](../models/usereventpayload231provider.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | +| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtyseven.md b/docs/models/twohundredandthirtyseven.md index 1170813f7c..29a11dcf62 100644 --- a/docs/models/twohundredandthirtyseven.md +++ b/docs/models/twohundredandthirtyseven.md @@ -5,18 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtySeven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtySeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtySeven = { - enabled: false, + periods: [ + { + endDate: "", + percent: "", + periodNumber: 4098.45, + startDate: "", + }, + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `allowedIntegrationCount` | *number* | :heavy_minus_sign: | N/A | -| `allowedIntegrationIds` | *string*[] | :heavy_minus_sign: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `resourceOnlyIntegrationCount` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `periods` | [models.Periods](../models/periods.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtysix.md b/docs/models/twohundredandthirtysix.md index 1cdd9c28ad..234e344e6c 100644 --- a/docs/models/twohundredandthirtysix.md +++ b/docs/models/twohundredandthirtysix.md @@ -5,22 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtySix } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtySix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtySix = { - periods: [ - { - endDate: "", - percent: "", - periodNumber: 4098.45, - startDate: "", - }, - ], + invoiceCollection: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `periods` | [models.Periods](../models/periods.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `invoiceCollection` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtythree.md b/docs/models/twohundredandthirtythree.md index a2d9a6dc38..15dcbd68d6 100644 --- a/docs/models/twohundredandthirtythree.md +++ b/docs/models/twohundredandthirtythree.md @@ -5,28 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyThree } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; -let value: TwoHundredAndThirtyThree = {}; +let value: TwoHundredAndThirtyThree = { + provider: "bitbucket", +}; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `env` | *string* | :heavy_minus_sign: | N/A | -| `factors` | *models.Factors* | :heavy_minus_sign: | N/A | -| `geolocation` | [models.Geolocation](../models/geolocation.md) | :heavy_minus_sign: | N/A | -| `loginSessionId` | *string* | :heavy_minus_sign: | Browser login correlation ID. This is not an authentication credential. | -| `os` | *string* | :heavy_minus_sign: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `viaApple` | *boolean* | :heavy_minus_sign: | N/A | -| `viaBitbucket` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGithub` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGitlab` | *boolean* | :heavy_minus_sign: | N/A | -| `viaGoogle` | *boolean* | :heavy_minus_sign: | N/A | -| `viaOTP` | *boolean* | :heavy_minus_sign: | N/A | -| `viaPasskey` | *boolean* | :heavy_minus_sign: | N/A | -| `viaSamlSso` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `provider` | [models.UserEventPayload233Provider](../models/usereventpayload233provider.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthirtytwo.md b/docs/models/twohundredandthirtytwo.md index baeabea594..8048833e83 100644 --- a/docs/models/twohundredandthirtytwo.md +++ b/docs/models/twohundredandthirtytwo.md @@ -5,10 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThirtyTwo } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThirtyTwo } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThirtyTwo = { - provider: "google", + login: "Seth_Witting53", + provider: "saml", }; ``` @@ -16,4 +17,5 @@ let value: TwoHundredAndThirtyTwo = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `login` | *string* | :heavy_check_mark: | N/A | | `provider` | [models.UserEventPayload232Provider](../models/usereventpayload232provider.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandthree.md b/docs/models/twohundredandthree.md index 23971a1688..f86f88454a 100644 --- a/docs/models/twohundredandthree.md +++ b/docs/models/twohundredandthree.md @@ -5,31 +5,15 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndThree } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndThree = { - environment: "", - expiresIn: 6563.13, - flags: [ - "", - "", - ], - projectId: "", - projectIds: [ - "", - "", - "", - ], + action: "enable", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `environment` | *string* | :heavy_check_mark: | N/A | -| `expiresIn` | *number* | :heavy_check_mark: | Seconds until the overrides expire. | -| `flags` | *string*[] | :heavy_check_mark: | The keys of the overridden flags, never their values. | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_check_mark: | The projects that accept the overrides: a whole microfrontends group. | -| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload203Action](../models/usereventpayload203action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwelve.md b/docs/models/twohundredandtwelve.md index cddd272512..3ffc3a72f5 100644 --- a/docs/models/twohundredandtwelve.md +++ b/docs/models/twohundredandtwelve.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwelve } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwelve } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwelve = { integration: { @@ -14,15 +14,15 @@ let value: TwoHundredAndTwelve = { name: "", slug: "", }, - originTeamId: "", - originTeamName: "", + destinationTeamId: "", + destinationTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `integration` | [models.PayloadIntegration](../models/payloadintegration.md) | :heavy_check_mark: | N/A | -| `originTeamId` | *string* | :heavy_check_mark: | N/A | -| `originTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `integration` | [models.Integration](../models/integration.md) | :heavy_check_mark: | N/A | +| `destinationTeamId` | *string* | :heavy_check_mark: | N/A | +| `destinationTeamName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwenty.md b/docs/models/twohundredandtwenty.md index 119aebd97e..4c4788d331 100644 --- a/docs/models/twohundredandtwenty.md +++ b/docs/models/twohundredandtwenty.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwenty } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwenty } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwenty = { configurationId: "", @@ -13,24 +13,20 @@ let value: TwoHundredAndTwenty = { integrationProductSlug: "", integrationSlug: "", resourceId: "", - keys: [ - "", - "", - "", - ], - requestKind: "get_keys_metadata", + requestKind: "list_keys", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `keys` | *string*[] | :heavy_check_mark: | N/A | -| `requestKind` | [models.UserEventPayloadRequestKind](../models/usereventpayloadrequestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `errorCode` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `pattern` | *string* | :heavy_minus_sign: | N/A | +| `requestKind` | [models.PayloadRequestKind](../models/payloadrequestkind.md) | :heavy_check_mark: | N/A | +| `type` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentyeight.md b/docs/models/twohundredandtwentyeight.md index ce348449bc..2e8c0f20f4 100644 --- a/docs/models/twohundredandtwentyeight.md +++ b/docs/models/twohundredandtwentyeight.md @@ -5,13 +5,12 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyEight } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyEight } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyEight = { issuerId: "", issuerName: "", kind: "", - policyKey: "", }; ``` @@ -19,7 +18,9 @@ let value: TwoHundredAndTwentyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `environments` | *string*[] | :heavy_minus_sign: | N/A | | `issuerId` | *string* | :heavy_check_mark: | N/A | | `issuerName` | *string* | :heavy_check_mark: | N/A | | `kind` | *string* | :heavy_check_mark: | N/A | -| `policyKey` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentyfive.md b/docs/models/twohundredandtwentyfive.md index 9051a36459..f46cd36f44 100644 --- a/docs/models/twohundredandtwentyfive.md +++ b/docs/models/twohundredandtwentyfive.md @@ -5,11 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyFive } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyFive } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyFive = { + algorithm: "", issuerId: "", issuerName: "", + origin: "", }; ``` @@ -17,6 +19,8 @@ let value: TwoHundredAndTwentyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `algorithm` | *string* | :heavy_check_mark: | N/A | | `issuerId` | *string* | :heavy_check_mark: | N/A | | `issuerName` | *string* | :heavy_check_mark: | N/A | -| `managedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `managedBy` | *string* | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentyfour.md b/docs/models/twohundredandtwentyfour.md index a77a95a96a..44a8de57b1 100644 --- a/docs/models/twohundredandtwentyfour.md +++ b/docs/models/twohundredandtwentyfour.md @@ -5,22 +5,22 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyFour } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyFour } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyFour = { - algorithm: "", - issuerId: "", - issuerName: "", - origin: "", + accessTokenRotation: false, + integrationId: "", + integrationName: "", + integrationSlug: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `algorithm` | *string* | :heavy_check_mark: | N/A | -| `issuerId` | *string* | :heavy_check_mark: | N/A | -| `issuerName` | *string* | :heavy_check_mark: | N/A | -| `managedBy` | *string* | :heavy_minus_sign: | N/A | -| `origin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `accessTokenRotation` | *boolean* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `permanentTokensExpireAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentynine.md b/docs/models/twohundredandtwentynine.md index f5ec5a670a..e1f9dfe547 100644 --- a/docs/models/twohundredandtwentynine.md +++ b/docs/models/twohundredandtwentynine.md @@ -5,10 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyNine } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyNine } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyNine = { - logDrainUrl: "https://hoarse-makeover.com", + issuerId: "", + issuerName: "", + kind: "", + policyKey: "", }; ``` @@ -16,5 +19,7 @@ let value: TwoHundredAndTwentyNine = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | -| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `issuerId` | *string* | :heavy_check_mark: | N/A | +| `issuerName` | *string* | :heavy_check_mark: | N/A | +| `kind` | *string* | :heavy_check_mark: | N/A | +| `policyKey` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentyone.md b/docs/models/twohundredandtwentyone.md index 5c82bcf212..cf8858c95b 100644 --- a/docs/models/twohundredandtwentyone.md +++ b/docs/models/twohundredandtwentyone.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyOne } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyOne } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyOne = { configurationId: "", @@ -13,20 +13,24 @@ let value: TwoHundredAndTwentyOne = { integrationProductSlug: "", integrationSlug: "", resourceId: "", - key: "", - requestKind: "get_key_data", + keys: [ + "", + "", + "", + ], + requestKind: "get_keys_metadata", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `requestKind` | [models.UserEventPayload221RequestKind](../models/usereventpayload221requestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `errorCode` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `keys` | *string*[] | :heavy_check_mark: | N/A | +| `requestKind` | [models.UserEventPayloadRequestKind](../models/usereventpayloadrequestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentyseven.md b/docs/models/twohundredandtwentyseven.md index 17a7228502..5e73d0b809 100644 --- a/docs/models/twohundredandtwentyseven.md +++ b/docs/models/twohundredandtwentyseven.md @@ -5,12 +5,11 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentySeven } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentySeven } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentySeven = { issuerId: "", issuerName: "", - kind: "", }; ``` @@ -18,9 +17,6 @@ let value: TwoHundredAndTwentySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `clientId` | *string* | :heavy_minus_sign: | N/A | -| `environments` | *string*[] | :heavy_minus_sign: | N/A | | `issuerId` | *string* | :heavy_check_mark: | N/A | | `issuerName` | *string* | :heavy_check_mark: | N/A | -| `kind` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `keyId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentysix.md b/docs/models/twohundredandtwentysix.md index 0cd26af127..f5283d9fdc 100644 --- a/docs/models/twohundredandtwentysix.md +++ b/docs/models/twohundredandtwentysix.md @@ -5,7 +5,7 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentySix } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentySix } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentySix = { issuerId: "", @@ -19,4 +19,4 @@ let value: TwoHundredAndTwentySix = { | ------------------ | ------------------ | ------------------ | ------------------ | | `issuerId` | *string* | :heavy_check_mark: | N/A | | `issuerName` | *string* | :heavy_check_mark: | N/A | -| `keyId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `managedBy` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentythree.md b/docs/models/twohundredandtwentythree.md index 82e9903e1a..7cfcdd34fa 100644 --- a/docs/models/twohundredandtwentythree.md +++ b/docs/models/twohundredandtwentythree.md @@ -5,13 +5,13 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyThree } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyThree } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyThree = { - accessTokenRotation: true, integrationId: "", integrationName: "", integrationSlug: "", + previousSecretExpiresAt: 3186.97, }; ``` @@ -19,8 +19,7 @@ let value: TwoHundredAndTwentyThree = { | Field | Type | Required | Description | | ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `accessTokenRotation` | *boolean* | :heavy_check_mark: | N/A | | `integrationId` | *string* | :heavy_check_mark: | N/A | | `integrationName` | *string* | :heavy_check_mark: | N/A | | `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `permanentTokensExpireAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `previousSecretExpiresAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwentytwo.md b/docs/models/twohundredandtwentytwo.md index e0475d909f..72b298bf5f 100644 --- a/docs/models/twohundredandtwentytwo.md +++ b/docs/models/twohundredandtwentytwo.md @@ -5,21 +5,28 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwentyTwo } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwentyTwo } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwentyTwo = { + configurationId: "", integrationId: "", - integrationName: "", + integrationProductSlug: "", integrationSlug: "", - previousSecretExpiresAt: 5457.12, + resourceId: "", + key: "", + requestKind: "get_key_data", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `previousSecretExpiresAt` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `errorCode` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `requestKind` | [models.UserEventPayload222RequestKind](../models/usereventpayload222requestkind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twohundredandtwo.md b/docs/models/twohundredandtwo.md index 038df95a42..270c43d756 100644 --- a/docs/models/twohundredandtwo.md +++ b/docs/models/twohundredandtwo.md @@ -5,15 +5,20 @@ The payload of the event, if requested. ## Example Usage ```typescript -import { TwoHundredAndTwo } from "@vercel/sdk/models/newprojects.js"; +import { TwoHundredAndTwo } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoHundredAndTwo = { - action: "disable", + newOwnerId: "", + previousOwnerId: "", + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload202Action](../models/usereventpayload202action.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `newOwnerId` | *string* | :heavy_check_mark: | N/A | +| `previousOwnerId` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twoorigin.md b/docs/models/twoorigin.md index 5fed61840d..e03e8a47e4 100644 --- a/docs/models/twoorigin.md +++ b/docs/models/twoorigin.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TwoOrigin } from "@vercel/sdk/models/newprojects.js"; +import { TwoOrigin } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: TwoOrigin = "email"; ``` diff --git a/docs/models/updateconnectorrequest.md b/docs/models/updateconnectorrequest.md index ca88671e94..640a552e2a 100644 --- a/docs/models/updateconnectorrequest.md +++ b/docs/models/updateconnectorrequest.md @@ -17,7 +17,7 @@ let value: UpdateConnectorRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `connector` | *string* | :heavy_check_mark: | Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`. | | +| `connector` | *string* | :heavy_check_mark: | Stable connector ID or URL-encoded team- or organization-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`. | | | `teamId` | *string* | :heavy_minus_sign: | The team ID that scopes the request. Do not send it with slug. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected. | team_1a2b3c4d5e6f7g8h9i0j1k2l | | `slug` | *string* | :heavy_minus_sign: | The team slug that scopes the request. Do not send it with teamId. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected. | my-team-url-slug | | `connectUpdateConnectorRequest` | [models.ConnectUpdateConnectorRequest](../models/connectupdateconnectorrequest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updatediff.md b/docs/models/updatediff.md index 08917cc81d..4ac58c0390 100644 --- a/docs/models/updatediff.md +++ b/docs/models/updatediff.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateDiff } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UpdateDiff } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UpdateDiff = { changedValue: false, @@ -17,6 +17,7 @@ let value: UpdateDiff = { | `changedComment` | *boolean* | :heavy_minus_sign: | N/A | | `changedGitBranch` | *boolean* | :heavy_minus_sign: | N/A | | `changedValue` | *boolean* | :heavy_check_mark: | Indicates a value was submitted, not whether its plaintext changed. | +| `customEnvironmentSlugsById` | Record | :heavy_minus_sign: | N/A | | `key` | *string* | :heavy_minus_sign: | N/A | | `newCustomEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | | `newKey` | *string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/updateduser.md b/docs/models/updateduser.md index fe0619db73..3fb9bbb62d 100644 --- a/docs/models/updateduser.md +++ b/docs/models/updateduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdatedUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UpdatedUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UpdatedUser = { email: "Cleta.Bergstrom16@yahoo.com", diff --git a/docs/models/updateprojectcustomallow.md b/docs/models/updateprojectcustomallow.md index 79ae4d75c7..c18940b7de 100644 --- a/docs/models/updateprojectcustomallow.md +++ b/docs/models/updateprojectcustomallow.md @@ -19,7 +19,7 @@ let value: UpdateProjectCustomAllow = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `from` | *models.UpdateProjectFrom* | :heavy_check_mark: | N/A | -| `to` | *models.UpdateProjectProjectsResponseTo* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `from` | *models.UpdateProjectFrom* | :heavy_check_mark: | N/A | +| `to` | *models.UpdateProjectProjectsResponse200To* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectoidcproviders.md b/docs/models/updateprojectoidcproviders.md index 580f4bf849..d40175e74f 100644 --- a/docs/models/updateprojectoidcproviders.md +++ b/docs/models/updateprojectoidcproviders.md @@ -20,8 +20,8 @@ let value: UpdateProjectOidcProviders = { ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `to` | *models.UpdateProjectProjectsTo* | :heavy_check_mark: | N/A | -| `claims` | Record | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `to` | *models.UpdateProjectProjectsResponseTo* | :heavy_check_mark: | N/A | +| `claims` | Record | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprojectsresponse200to.md b/docs/models/updateprojectprojectsresponse200to.md new file mode 100644 index 0000000000..d549e33ae4 --- /dev/null +++ b/docs/models/updateprojectprojectsresponse200to.md @@ -0,0 +1,25 @@ +# UpdateProjectProjectsResponse200To + + +## Supported Types + +### `models.UpdateProjectToProjectsResponse1` + +```typescript +const value: models.UpdateProjectToProjectsResponse1 = { + slugs: [ + "", + "", + "", + ], +}; +``` + +### `models.UpdateProjectToProjectsResponse2` + +```typescript +const value: models.UpdateProjectToProjectsResponse2 = { + preset: "all-custom", +}; +``` + diff --git a/docs/models/updateprojectprojectsresponseto.md b/docs/models/updateprojectprojectsresponseto.md index 4224112c64..fe018d42ba 100644 --- a/docs/models/updateprojectprojectsresponseto.md +++ b/docs/models/updateprojectprojectsresponseto.md @@ -3,22 +3,21 @@ ## Supported Types -### `models.UpdateProjectToProjectsResponse1` +### `models.UpdateProjectToProjects1` ```typescript -const value: models.UpdateProjectToProjectsResponse1 = { +const value: models.UpdateProjectToProjects1 = { slugs: [ "", "", - "", ], }; ``` -### `models.UpdateProjectToProjectsResponse2` +### `models.UpdateProjectToProjects2` ```typescript -const value: models.UpdateProjectToProjectsResponse2 = { +const value: models.UpdateProjectToProjects2 = { preset: "all-custom", }; ``` diff --git a/docs/models/updateprojectprojectsto.md b/docs/models/updateprojectprojectsto.md index cf1fefda07..ef018402d5 100644 --- a/docs/models/updateprojectprojectsto.md +++ b/docs/models/updateprojectprojectsto.md @@ -1,12 +1,14 @@ # UpdateProjectProjectsTo +A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. + ## Supported Types -### `models.UpdateProjectToProjects1` +### `models.UpdateProjectTo1` ```typescript -const value: models.UpdateProjectToProjects1 = { +const value: models.UpdateProjectTo1 = { slugs: [ "", "", @@ -14,10 +16,10 @@ const value: models.UpdateProjectToProjects1 = { }; ``` -### `models.UpdateProjectToProjects2` +### `models.UpdateProjectTo2` ```typescript -const value: models.UpdateProjectToProjects2 = { +const value: models.UpdateProjectTo2 = { preset: "all-custom", }; ``` diff --git a/docs/models/updateprojectto.md b/docs/models/updateprojectto.md index 6fe945ebca..50218bfc2a 100644 --- a/docs/models/updateprojectto.md +++ b/docs/models/updateprojectto.md @@ -5,21 +5,20 @@ A set of environments, expressed as explicit slugs, a named preset, or both. At ## Supported Types -### `models.UpdateProjectTo1` +### `models.To1` ```typescript -const value: models.UpdateProjectTo1 = { +const value: models.To1 = { slugs: [ "", - "", ], }; ``` -### `models.UpdateProjectTo2` +### `models.To2` ```typescript -const value: models.UpdateProjectTo2 = { +const value: models.To2 = { preset: "all-custom", }; ``` diff --git a/docs/models/updatesessionnetworkpolicyresponsebody.md b/docs/models/updatesessionnetworkpolicyresponsebody.md index 4d44dbafe5..1d267cc936 100644 --- a/docs/models/updatesessionnetworkpolicyresponsebody.md +++ b/docs/models/updatesessionnetworkpolicyresponsebody.md @@ -77,6 +77,7 @@ let value: UpdateSessionNetworkPolicyResponseBody = { startedAt: 1750344501629, status: "running", stoppedAt: 1750344501629, + stopReason: "requested", timeout: 3600000, updatedAt: 1750344501629, vcpus: 2, diff --git a/docs/models/upsertaigatewaybudgetdefaultappliesto.md b/docs/models/upsertaigatewaybudgetdefaultappliesto.md new file mode 100644 index 0000000000..ddd36c2d7a --- /dev/null +++ b/docs/models/upsertaigatewaybudgetdefaultappliesto.md @@ -0,0 +1,15 @@ +# UpsertAiGatewayBudgetDefaultAppliesTo + +## Example Usage + +```typescript +import { UpsertAiGatewayBudgetDefaultAppliesTo } from "@vercel/sdk/models/upsertaigatewaybudgetdefaultop.js"; + +let value: UpsertAiGatewayBudgetDefaultAppliesTo = "team"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/upsertaigatewaybudgetdefaultrequestbody.md b/docs/models/upsertaigatewaybudgetdefaultrequestbody.md index 7879632374..716a24afa9 100644 --- a/docs/models/upsertaigatewaybudgetdefaultrequestbody.md +++ b/docs/models/upsertaigatewaybudgetdefaultrequestbody.md @@ -6,7 +6,7 @@ import { UpsertAiGatewayBudgetDefaultRequestBody } from "@vercel/sdk/models/upsertaigatewaybudgetdefaultop.js"; let value: UpsertAiGatewayBudgetDefaultRequestBody = { - scopeType: "user", + scopeType: "app", limitAmount: 8745.95, }; ``` @@ -19,4 +19,5 @@ let value: UpsertAiGatewayBudgetDefaultRequestBody = { | `limitAmount` | *number* | :heavy_check_mark: | Default budget limit in dollars. | | `refreshPeriod` | [models.UpsertAiGatewayBudgetDefaultRefreshPeriod](../models/upsertaigatewaybudgetdefaultrefreshperiod.md) | :heavy_minus_sign: | N/A | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `appliesTo` | [models.UpsertAiGatewayBudgetDefaultAppliesTo](../models/upsertaigatewaybudgetdefaultappliesto.md)[] | :heavy_minus_sign: | Key spend attributions the api-key default covers. Only valid when scopeType is api-key. Omit to keep the stored value; unset means both. | | `justification` | *string* | :heavy_minus_sign: | Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. | \ No newline at end of file diff --git a/docs/models/upsertaigatewaybudgetdefaultscopetype.md b/docs/models/upsertaigatewaybudgetdefaultscopetype.md index 73ee0efd9f..df5b2be223 100644 --- a/docs/models/upsertaigatewaybudgetdefaultscopetype.md +++ b/docs/models/upsertaigatewaybudgetdefaultscopetype.md @@ -5,11 +5,11 @@ ```typescript import { UpsertAiGatewayBudgetDefaultScopeType } from "@vercel/sdk/models/upsertaigatewaybudgetdefaultop.js"; -let value: UpsertAiGatewayBudgetDefaultScopeType = "project"; +let value: UpsertAiGatewayBudgetDefaultScopeType = "api-key"; ``` ## Values ```typescript -"team" | "project" | "api-key" | "user" +"team" | "project" | "api-key" | "user" | "app" ``` \ No newline at end of file diff --git a/docs/models/upsertaigatewaybudgetrefreshperiod.md b/docs/models/upsertaigatewaybudgetrefreshperiod.md index 6a372f65e7..c62e84daa7 100644 --- a/docs/models/upsertaigatewaybudgetrefreshperiod.md +++ b/docs/models/upsertaigatewaybudgetrefreshperiod.md @@ -1,5 +1,7 @@ # UpsertAiGatewayBudgetRefreshPeriod +Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period. + ## Example Usage ```typescript diff --git a/docs/models/upsertaigatewaybudgetrequestbody.md b/docs/models/upsertaigatewaybudgetrequestbody.md index 44b692da21..ddd958280c 100644 --- a/docs/models/upsertaigatewaybudgetrequestbody.md +++ b/docs/models/upsertaigatewaybudgetrequestbody.md @@ -7,19 +7,20 @@ import { UpsertAiGatewayBudgetRequestBody } from "@vercel/sdk/models/upsertaigat let value: UpsertAiGatewayBudgetRequestBody = { scopeType: "team", - limitAmount: 6239.95, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `scopeType` | [models.UpsertAiGatewayBudgetScopeType](../models/upsertaigatewaybudgetscopetype.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | Required when scopeType is \"project\". | -| `userId` | *string* | :heavy_minus_sign: | Required when scopeType is \"user\". | -| `limitAmount` | *number* | :heavy_check_mark: | Budget limit in dollars. | -| `refreshPeriod` | [models.UpsertAiGatewayBudgetRefreshPeriod](../models/upsertaigatewaybudgetrefreshperiod.md) | :heavy_minus_sign: | N/A | -| `includeByokInQuota` | *boolean* | :heavy_minus_sign: | Whether BYOK usage counts toward this budget. | -| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | -| `justification` | *string* | :heavy_minus_sign: | Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `scopeType` | [models.UpsertAiGatewayBudgetScopeType](../models/upsertaigatewaybudgetscopetype.md) | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | Required when scopeType is \"project\". | +| `userId` | *string* | :heavy_minus_sign: | Required when scopeType is \"user\". | +| `appId` | *string* | :heavy_minus_sign: | Required when scopeType is \"app\". The id of a Vercel App (`cl_…`). | +| `limitAmount` | *number* | :heavy_minus_sign: | Budget limit in dollars. Provide this or `increaseBy`, not both. | +| `increaseBy` | *number* | :heavy_minus_sign: | Dollars to add to the current budget, or to the scope's default when it has no budget of its own. Provide this or `limitAmount`, not both. Keeps the current refresh period and BYOK setting unless they are given. | +| `refreshPeriod` | [models.UpsertAiGatewayBudgetRefreshPeriod](../models/upsertaigatewaybudgetrefreshperiod.md) | :heavy_minus_sign: | Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period. | +| `includeByokInQuota` | *boolean* | :heavy_minus_sign: | Whether BYOK usage counts toward this budget. | +| `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `justification` | *string* | :heavy_minus_sign: | Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. | \ No newline at end of file diff --git a/docs/models/upsertaigatewaybudgetscopetype.md b/docs/models/upsertaigatewaybudgetscopetype.md index 482ad43351..75c3a84595 100644 --- a/docs/models/upsertaigatewaybudgetscopetype.md +++ b/docs/models/upsertaigatewaybudgetscopetype.md @@ -5,11 +5,11 @@ ```typescript import { UpsertAiGatewayBudgetScopeType } from "@vercel/sdk/models/upsertaigatewaybudgetop.js"; -let value: UpsertAiGatewayBudgetScopeType = "user"; +let value: UpsertAiGatewayBudgetScopeType = "app"; ``` ## Values ```typescript -"team" | "project" | "user" +"team" | "project" | "user" | "app" ``` \ No newline at end of file diff --git a/docs/models/userevent.md b/docs/models/userevent.md index 0ec286f2ad..9adb212a76 100644 --- a/docs/models/userevent.md +++ b/docs/models/userevent.md @@ -15,7 +15,7 @@ let value: UserEvent = { entities: [], id: "uev_bfmMjiMnXfnPbT97dGdpJbCN", payload: { - enabled: "off", + deletedCount: 3458, }, principalId: "", text: "You logged in via GitHub", diff --git a/docs/models/userevent2origin.md b/docs/models/userevent2origin.md index 13109eb2b5..a7ba1e527d 100644 --- a/docs/models/userevent2origin.md +++ b/docs/models/userevent2origin.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEvent2Origin } from "@vercel/sdk/models/newprojects.js"; +import { UserEvent2Origin } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEvent2Origin = "recovery-code"; ``` diff --git a/docs/models/usereventdataplanslug.md b/docs/models/usereventdataplanslug.md index 419cf246da..ff21d1ad6a 100644 --- a/docs/models/usereventdataplanslug.md +++ b/docs/models/usereventdataplanslug.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventDataPlanSlug } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventDataPlanSlug } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventDataPlanSlug = "v0_teams"; ``` diff --git a/docs/models/usereventenvid2.md b/docs/models/usereventenvid2.md index ccf981054f..e0be80aa2d 100644 --- a/docs/models/usereventenvid2.md +++ b/docs/models/usereventenvid2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventEnvId2 } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventEnvId2 } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventEnvId2 = "production"; ``` diff --git a/docs/models/usereventenvidpayload2.md b/docs/models/usereventenvidpayload2.md index ba17f7dc67..c8275c9cdc 100644 --- a/docs/models/usereventenvidpayload2.md +++ b/docs/models/usereventenvidpayload2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventEnvIdPayload2 } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventEnvIdPayload2 } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventEnvIdPayload2 = "preview"; ``` diff --git a/docs/models/usereventenvidpayload3102.md b/docs/models/usereventenvidpayload3102.md deleted file mode 100644 index 867e69e308..0000000000 --- a/docs/models/usereventenvidpayload3102.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventEnvIdPayload3102 - -## Example Usage - -```typescript -import { UserEventEnvIdPayload3102 } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventEnvIdPayload3102 = "preview"; -``` - -## Values - -```typescript -"preview" | "production" -``` \ No newline at end of file diff --git a/docs/models/usereventenvidpayload3132.md b/docs/models/usereventenvidpayload3132.md new file mode 100644 index 0000000000..798fffc731 --- /dev/null +++ b/docs/models/usereventenvidpayload3132.md @@ -0,0 +1,15 @@ +# UserEventEnvIdPayload3132 + +## Example Usage + +```typescript +import { UserEventEnvIdPayload3132 } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventEnvIdPayload3132 = "production"; +``` + +## Values + +```typescript +"preview" | "production" +``` \ No newline at end of file diff --git a/docs/models/usereventjobaction.md b/docs/models/usereventjobaction.md index 564e6fe1ff..17437a2244 100644 --- a/docs/models/usereventjobaction.md +++ b/docs/models/usereventjobaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobAction } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobAction } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobAction = "auto-approved-pending-invite"; ``` diff --git a/docs/models/usereventjobcommitverification.md b/docs/models/usereventjobcommitverification.md index 0a31e9d239..7b5ee5194e 100644 --- a/docs/models/usereventjobcommitverification.md +++ b/docs/models/usereventjobcommitverification.md @@ -5,7 +5,7 @@ Since 6 Nov 2025 The verification status of the commit. - 'verified' if the comm ## Example Usage ```typescript -import { UserEventJobCommitVerification } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobCommitVerification } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobCommitVerification = "verified"; ``` diff --git a/docs/models/usereventjobdeployhook.md b/docs/models/usereventjobdeployhook.md index d29242c1af..1348d87d4a 100644 --- a/docs/models/usereventjobdeployhook.md +++ b/docs/models/usereventjobdeployhook.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobDeployHook } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobDeployHook } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobDeployHook = { createdAt: 4234.73, diff --git a/docs/models/usereventjobgitcomments.md b/docs/models/usereventjobgitcomments.md index d1e16497fe..8862977008 100644 --- a/docs/models/usereventjobgitcomments.md +++ b/docs/models/usereventjobgitcomments.md @@ -5,7 +5,7 @@ Since June 2023 Determines if comments should be posted to the git host. Replace ## Example Usage ```typescript -import { UserEventJobGitComments } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobGitComments } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobGitComments = { onCommit: false, diff --git a/docs/models/usereventjobgithashtagvercel.md b/docs/models/usereventjobgithashtagvercel.md index f4d4b2ac23..e1276530f5 100644 --- a/docs/models/usereventjobgithashtagvercel.md +++ b/docs/models/usereventjobgithashtagvercel.md @@ -5,7 +5,7 @@ Since February 2022 All the hashtag-vercel tags found in the commit message trig ## Example Usage ```typescript -import { UserEventJobGitHashtagVercel } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobGitHashtagVercel } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobGitHashtagVercel = "#VERCEL_BUILD_PRIO_3"; ``` diff --git a/docs/models/usereventjobheadinfo.md b/docs/models/usereventjobheadinfo.md index cf54785afa..4a92c06fce 100644 --- a/docs/models/usereventjobheadinfo.md +++ b/docs/models/usereventjobheadinfo.md @@ -5,7 +5,7 @@ Information about the head commit/branch for a GitHub repository ## Example Usage ```typescript -import { UserEventJobHeadInfo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobHeadInfo } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobHeadInfo = { org: "", diff --git a/docs/models/usereventjobnsnbsideeffect.md b/docs/models/usereventjobnsnbsideeffect.md index 64b0075ffe..b9011668fe 100644 --- a/docs/models/usereventjobnsnbsideeffect.md +++ b/docs/models/usereventjobnsnbsideeffect.md @@ -5,7 +5,7 @@ Since March 2026 Records a successful NSNB auto-add result so later GitHub PR co ## Example Usage ```typescript -import { UserEventJobNsnbSideEffect } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobNsnbSideEffect } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobNsnbSideEffect = { action: "auto-approved-member", diff --git a/docs/models/usereventjobpayload13610provider.md b/docs/models/usereventjobpayload13610provider.md deleted file mode 100644 index e862d41cb0..0000000000 --- a/docs/models/usereventjobpayload13610provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload13610Provider - -## Example Usage - -```typescript -import { UserEventJobPayload13610Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload13610Provider = "cursor-origin"; -``` - -## Values - -```typescript -"cursor-origin" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1365provider.md b/docs/models/usereventjobpayload1365provider.md deleted file mode 100644 index d6a551b305..0000000000 --- a/docs/models/usereventjobpayload1365provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1365Provider - -## Example Usage - -```typescript -import { UserEventJobPayload1365Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1365Provider = "github-custom-host"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "github-limited" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1366provider.md b/docs/models/usereventjobpayload1366provider.md deleted file mode 100644 index 3eba8d4751..0000000000 --- a/docs/models/usereventjobpayload1366provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1366Provider - -## Example Usage - -```typescript -import { UserEventJobPayload1366Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1366Provider = "gitlab"; -``` - -## Values - -```typescript -"gitlab" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1367provider.md b/docs/models/usereventjobpayload1367provider.md deleted file mode 100644 index b577ad9fbb..0000000000 --- a/docs/models/usereventjobpayload1367provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1367Provider - -## Example Usage - -```typescript -import { UserEventJobPayload1367Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1367Provider = "gitlab"; -``` - -## Values - -```typescript -"gitlab" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1368action.md b/docs/models/usereventjobpayload1368action.md deleted file mode 100644 index 0bc753cf68..0000000000 --- a/docs/models/usereventjobpayload1368action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1368Action - -## Example Usage - -```typescript -import { UserEventJobPayload1368Action } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1368Action = "auto-approved-member"; -``` - -## Values - -```typescript -"auto-approved-member" | "auto-approved-pending-invite" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1368provider.md b/docs/models/usereventjobpayload1368provider.md deleted file mode 100644 index 69db8e2c55..0000000000 --- a/docs/models/usereventjobpayload1368provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1368Provider - -## Example Usage - -```typescript -import { UserEventJobPayload1368Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1368Provider = "vercel"; -``` - -## Values - -```typescript -"vercel" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1369action.md b/docs/models/usereventjobpayload1369action.md deleted file mode 100644 index 9babe844a3..0000000000 --- a/docs/models/usereventjobpayload1369action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1369Action - -## Example Usage - -```typescript -import { UserEventJobPayload1369Action } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1369Action = "auto-approved-pending-invite"; -``` - -## Values - -```typescript -"auto-approved-member" | "auto-approved-pending-invite" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1369provider.md b/docs/models/usereventjobpayload1369provider.md deleted file mode 100644 index ba1a1f93c6..0000000000 --- a/docs/models/usereventjobpayload1369provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload1369Provider - -## Example Usage - -```typescript -import { UserEventJobPayload1369Provider } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload1369Provider = "cursor-origin"; -``` - -## Values - -```typescript -"cursor-origin" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload136action.md b/docs/models/usereventjobpayload136action.md deleted file mode 100644 index a6a74acf93..0000000000 --- a/docs/models/usereventjobpayload136action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload136Action - -## Example Usage - -```typescript -import { UserEventJobPayload136Action } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventJobPayload136Action = "auto-approved-pending-invite"; -``` - -## Values - -```typescript -"auto-approved-member" | "auto-approved-pending-invite" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload136provider.md b/docs/models/usereventjobpayload136provider.md deleted file mode 100644 index 8e5485af19..0000000000 --- a/docs/models/usereventjobpayload136provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventJobPayload136Provider - -## Example Usage - -```typescript -import { UserEventJobPayload136Provider } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventJobPayload136Provider = "github"; -``` - -## Values - -```typescript -"github" | "github-custom-host" | "github-limited" -``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload136gitcomments.md b/docs/models/usereventjobpayload13710gitcomments.md similarity index 64% rename from docs/models/usereventjobpayload136gitcomments.md rename to docs/models/usereventjobpayload13710gitcomments.md index 909ed97a3a..5cbfd12385 100644 --- a/docs/models/usereventjobpayload136gitcomments.md +++ b/docs/models/usereventjobpayload13710gitcomments.md @@ -1,13 +1,13 @@ -# UserEventJobPayload136GitComments +# UserEventJobPayload13710GitComments ## Example Usage ```typescript -import { UserEventJobPayload136GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload13710GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136GitComments = { +let value: UserEventJobPayload13710GitComments = { onCommit: true, - onPullRequest: false, + onPullRequest: true, }; ``` diff --git a/docs/models/usereventjobpayload13610headinfo.md b/docs/models/usereventjobpayload13710headinfo.md similarity index 88% rename from docs/models/usereventjobpayload13610headinfo.md rename to docs/models/usereventjobpayload13710headinfo.md index ee30f6fb86..42a2ad26a2 100644 --- a/docs/models/usereventjobpayload13610headinfo.md +++ b/docs/models/usereventjobpayload13710headinfo.md @@ -1,13 +1,13 @@ -# UserEventJobPayload13610HeadInfo +# UserEventJobPayload13710HeadInfo Cursor Origin ## Example Usage ```typescript -import { UserEventJobPayload13610HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload13710HeadInfo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload13610HeadInfo = { +let value: UserEventJobPayload13710HeadInfo = { owner: "", ownerId: "", ref: "", diff --git a/docs/models/usereventjobpayload13710provider.md b/docs/models/usereventjobpayload13710provider.md new file mode 100644 index 0000000000..ac42cbd5ee --- /dev/null +++ b/docs/models/usereventjobpayload13710provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload13710Provider + +## Example Usage + +```typescript +import { UserEventJobPayload13710Provider } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload13710Provider = "cursor-origin"; +``` + +## Values + +```typescript +"cursor-origin" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1375provider.md b/docs/models/usereventjobpayload1375provider.md new file mode 100644 index 0000000000..1d8db23c95 --- /dev/null +++ b/docs/models/usereventjobpayload1375provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1375Provider + +## Example Usage + +```typescript +import { UserEventJobPayload1375Provider } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventJobPayload1375Provider = "github-limited"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "github-limited" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1366gitcomments.md b/docs/models/usereventjobpayload1376gitcomments.md similarity index 73% rename from docs/models/usereventjobpayload1366gitcomments.md rename to docs/models/usereventjobpayload1376gitcomments.md index 23f0ac749b..34c20ae844 100644 --- a/docs/models/usereventjobpayload1366gitcomments.md +++ b/docs/models/usereventjobpayload1376gitcomments.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1366GitComments +# UserEventJobPayload1376GitComments Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. ## Example Usage ```typescript -import { UserEventJobPayload1366GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1376GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1366GitComments = { +let value: UserEventJobPayload1376GitComments = { onCommit: true, onPullRequest: true, }; diff --git a/docs/models/usereventjobpayload1366headinfo.md b/docs/models/usereventjobpayload1376headinfo.md similarity index 84% rename from docs/models/usereventjobpayload1366headinfo.md rename to docs/models/usereventjobpayload1376headinfo.md index 8cee682ed6..429c96f1ea 100644 --- a/docs/models/usereventjobpayload1366headinfo.md +++ b/docs/models/usereventjobpayload1376headinfo.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1366HeadInfo +# UserEventJobPayload1376HeadInfo GitLab ## Example Usage ```typescript -import { UserEventJobPayload1366HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1376HeadInfo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1366HeadInfo = { +let value: UserEventJobPayload1376HeadInfo = { project: { id: "", }, @@ -20,6 +20,6 @@ let value: UserEventJobPayload1366HeadInfo = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `project` | [models.UserEventJobPayload136Project](../models/usereventjobpayload136project.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventJobPayload137Project](../models/usereventjobpayload137project.md) | :heavy_check_mark: | N/A | | `ref` | *string* | :heavy_check_mark: | N/A | | `sha` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventjobpayload1376provider.md b/docs/models/usereventjobpayload1376provider.md new file mode 100644 index 0000000000..793e88ce63 --- /dev/null +++ b/docs/models/usereventjobpayload1376provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1376Provider + +## Example Usage + +```typescript +import { UserEventJobPayload1376Provider } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1376Provider = "gitlab"; +``` + +## Values + +```typescript +"gitlab" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload13610gitcomments.md b/docs/models/usereventjobpayload1377gitcomments.md similarity index 68% rename from docs/models/usereventjobpayload13610gitcomments.md rename to docs/models/usereventjobpayload1377gitcomments.md index e7b071289d..844da4b8fe 100644 --- a/docs/models/usereventjobpayload13610gitcomments.md +++ b/docs/models/usereventjobpayload1377gitcomments.md @@ -1,11 +1,11 @@ -# UserEventJobPayload13610GitComments +# UserEventJobPayload1377GitComments ## Example Usage ```typescript -import { UserEventJobPayload13610GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1377GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload13610GitComments = { +let value: UserEventJobPayload1377GitComments = { onCommit: true, onPullRequest: true, }; diff --git a/docs/models/usereventjobpayload1367headinfo.md b/docs/models/usereventjobpayload1377headinfo.md similarity index 90% rename from docs/models/usereventjobpayload1367headinfo.md rename to docs/models/usereventjobpayload1377headinfo.md index 18cdf53840..6472054c3c 100644 --- a/docs/models/usereventjobpayload1367headinfo.md +++ b/docs/models/usereventjobpayload1377headinfo.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1367HeadInfo +# UserEventJobPayload1377HeadInfo GitLab ## Example Usage ```typescript -import { UserEventJobPayload1367HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1377HeadInfo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1367HeadInfo = { +let value: UserEventJobPayload1377HeadInfo = { project: { id: "", }, diff --git a/docs/models/usereventjobpayload1377provider.md b/docs/models/usereventjobpayload1377provider.md new file mode 100644 index 0000000000..d58745b9a7 --- /dev/null +++ b/docs/models/usereventjobpayload1377provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1377Provider + +## Example Usage + +```typescript +import { UserEventJobPayload1377Provider } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1377Provider = "gitlab"; +``` + +## Values + +```typescript +"gitlab" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1378action.md b/docs/models/usereventjobpayload1378action.md new file mode 100644 index 0000000000..bceb621f5c --- /dev/null +++ b/docs/models/usereventjobpayload1378action.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1378Action + +## Example Usage + +```typescript +import { UserEventJobPayload1378Action } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1378Action = "auto-approved-member"; +``` + +## Values + +```typescript +"auto-approved-member" | "auto-approved-pending-invite" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload136deployhook.md b/docs/models/usereventjobpayload1378deployhook.md similarity index 74% rename from docs/models/usereventjobpayload136deployhook.md rename to docs/models/usereventjobpayload1378deployhook.md index 8f123b0e70..57dd9adaee 100644 --- a/docs/models/usereventjobpayload136deployhook.md +++ b/docs/models/usereventjobpayload1378deployhook.md @@ -1,12 +1,12 @@ -# UserEventJobPayload136DeployHook +# UserEventJobPayload1378DeployHook ## Example Usage ```typescript -import { UserEventJobPayload136DeployHook } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1378DeployHook } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136DeployHook = { - createdAt: 4808.26, +let value: UserEventJobPayload1378DeployHook = { + createdAt: 9951.13, id: "", name: "", ref: "", diff --git a/docs/models/usereventjobpayload1369gitcomments.md b/docs/models/usereventjobpayload1378gitcomments.md similarity index 73% rename from docs/models/usereventjobpayload1369gitcomments.md rename to docs/models/usereventjobpayload1378gitcomments.md index a97d916a94..e32b4205c5 100644 --- a/docs/models/usereventjobpayload1369gitcomments.md +++ b/docs/models/usereventjobpayload1378gitcomments.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1369GitComments +# UserEventJobPayload1378GitComments Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. ## Example Usage ```typescript -import { UserEventJobPayload1369GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1378GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369GitComments = { +let value: UserEventJobPayload1378GitComments = { onCommit: false, onPullRequest: false, }; diff --git a/docs/models/usereventjobpayload1368headinfo.md b/docs/models/usereventjobpayload1378headinfo.md similarity index 89% rename from docs/models/usereventjobpayload1368headinfo.md rename to docs/models/usereventjobpayload1378headinfo.md index 5625e3a1a4..da54356a97 100644 --- a/docs/models/usereventjobpayload1368headinfo.md +++ b/docs/models/usereventjobpayload1378headinfo.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1368HeadInfo +# UserEventJobPayload1378HeadInfo Vercel ## Example Usage ```typescript -import { UserEventJobPayload1368HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1378HeadInfo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1368HeadInfo = { +let value: UserEventJobPayload1378HeadInfo = { org: "", ref: "", repo: "", diff --git a/docs/models/usereventjobpayload1378provider.md b/docs/models/usereventjobpayload1378provider.md new file mode 100644 index 0000000000..61a78adbe8 --- /dev/null +++ b/docs/models/usereventjobpayload1378provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1378Provider + +## Example Usage + +```typescript +import { UserEventJobPayload1378Provider } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1378Provider = "vercel"; +``` + +## Values + +```typescript +"vercel" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1379action.md b/docs/models/usereventjobpayload1379action.md new file mode 100644 index 0000000000..ac2a7f4a35 --- /dev/null +++ b/docs/models/usereventjobpayload1379action.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1379Action + +## Example Usage + +```typescript +import { UserEventJobPayload1379Action } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1379Action = "auto-approved-pending-invite"; +``` + +## Values + +```typescript +"auto-approved-member" | "auto-approved-pending-invite" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload136commitverification.md b/docs/models/usereventjobpayload1379commitverification.md similarity index 58% rename from docs/models/usereventjobpayload136commitverification.md rename to docs/models/usereventjobpayload1379commitverification.md index 90e20f42b5..6c7383ba70 100644 --- a/docs/models/usereventjobpayload136commitverification.md +++ b/docs/models/usereventjobpayload1379commitverification.md @@ -1,13 +1,13 @@ -# UserEventJobPayload136CommitVerification +# UserEventJobPayload1379CommitVerification Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported ## Example Usage ```typescript -import { UserEventJobPayload136CommitVerification } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379CommitVerification } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136CommitVerification = "verified"; +let value: UserEventJobPayload1379CommitVerification = "verified"; ``` ## Values diff --git a/docs/models/usereventjobpayload1368deployhook.md b/docs/models/usereventjobpayload1379deployhook.md similarity index 74% rename from docs/models/usereventjobpayload1368deployhook.md rename to docs/models/usereventjobpayload1379deployhook.md index d080eca21b..489c254a9c 100644 --- a/docs/models/usereventjobpayload1368deployhook.md +++ b/docs/models/usereventjobpayload1379deployhook.md @@ -1,12 +1,12 @@ -# UserEventJobPayload1368DeployHook +# UserEventJobPayload1379DeployHook ## Example Usage ```typescript -import { UserEventJobPayload1368DeployHook } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379DeployHook } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1368DeployHook = { - createdAt: 1052.4, +let value: UserEventJobPayload1379DeployHook = { + createdAt: 9773.21, id: "", name: "", ref: "", diff --git a/docs/models/usereventjobpayload1368gitcomments.md b/docs/models/usereventjobpayload1379gitcomments.md similarity index 71% rename from docs/models/usereventjobpayload1368gitcomments.md rename to docs/models/usereventjobpayload1379gitcomments.md index 0f0b72af8e..dc5f372c74 100644 --- a/docs/models/usereventjobpayload1368gitcomments.md +++ b/docs/models/usereventjobpayload1379gitcomments.md @@ -1,14 +1,14 @@ -# UserEventJobPayload1368GitComments +# UserEventJobPayload1379GitComments Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. ## Example Usage ```typescript -import { UserEventJobPayload1368GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1368GitComments = { - onCommit: true, +let value: UserEventJobPayload1379GitComments = { + onCommit: false, onPullRequest: true, }; ``` diff --git a/docs/models/usereventjobpayload1369githashtagvercel.md b/docs/models/usereventjobpayload1379githashtagvercel.md similarity index 79% rename from docs/models/usereventjobpayload1369githashtagvercel.md rename to docs/models/usereventjobpayload1379githashtagvercel.md index 6450031ebb..e9a225c330 100644 --- a/docs/models/usereventjobpayload1369githashtagvercel.md +++ b/docs/models/usereventjobpayload1379githashtagvercel.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1369GitHashtagVercel +# UserEventJobPayload1379GitHashtagVercel Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING ## Example Usage ```typescript -import { UserEventJobPayload1369GitHashtagVercel } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379GitHashtagVercel } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369GitHashtagVercel = +let value: UserEventJobPayload1379GitHashtagVercel = "#VERCEL_SDDJ_BEFORE_BUILD_JOB_QUEUED_ERROR"; ``` diff --git a/docs/models/usereventjobpayload1369headinfo.md b/docs/models/usereventjobpayload1379headinfo.md similarity index 88% rename from docs/models/usereventjobpayload1369headinfo.md rename to docs/models/usereventjobpayload1379headinfo.md index 96244365cf..98a335a212 100644 --- a/docs/models/usereventjobpayload1369headinfo.md +++ b/docs/models/usereventjobpayload1379headinfo.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1369HeadInfo +# UserEventJobPayload1379HeadInfo Cursor Origin ## Example Usage ```typescript -import { UserEventJobPayload1369HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379HeadInfo } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369HeadInfo = { +let value: UserEventJobPayload1379HeadInfo = { owner: "", ownerId: "", ref: "", diff --git a/docs/models/usereventjobpayload136nsnbsideeffect.md b/docs/models/usereventjobpayload1379nsnbsideeffect.md similarity index 81% rename from docs/models/usereventjobpayload136nsnbsideeffect.md rename to docs/models/usereventjobpayload1379nsnbsideeffect.md index 2339caab2e..bac1e0a080 100644 --- a/docs/models/usereventjobpayload136nsnbsideeffect.md +++ b/docs/models/usereventjobpayload1379nsnbsideeffect.md @@ -1,13 +1,13 @@ -# UserEventJobPayload136NsnbSideEffect +# UserEventJobPayload1379NsnbSideEffect Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. ## Example Usage ```typescript -import { UserEventJobPayload136NsnbSideEffect } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload1379NsnbSideEffect } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136NsnbSideEffect = { +let value: UserEventJobPayload1379NsnbSideEffect = { action: "auto-approved-member", gitUserLogin: "", }; @@ -17,5 +17,5 @@ let value: UserEventJobPayload136NsnbSideEffect = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `action` | [models.UserEventJobPayload1368Action](../models/usereventjobpayload1368action.md) | :heavy_check_mark: | N/A | +| `action` | [models.UserEventJobPayload1379Action](../models/usereventjobpayload1379action.md) | :heavy_check_mark: | N/A | | `gitUserLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventjobpayload1379provider.md b/docs/models/usereventjobpayload1379provider.md new file mode 100644 index 0000000000..1844135f05 --- /dev/null +++ b/docs/models/usereventjobpayload1379provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload1379Provider + +## Example Usage + +```typescript +import { UserEventJobPayload1379Provider } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload1379Provider = "cursor-origin"; +``` + +## Values + +```typescript +"cursor-origin" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload137action.md b/docs/models/usereventjobpayload137action.md new file mode 100644 index 0000000000..76209b41f2 --- /dev/null +++ b/docs/models/usereventjobpayload137action.md @@ -0,0 +1,15 @@ +# UserEventJobPayload137Action + +## Example Usage + +```typescript +import { UserEventJobPayload137Action } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventJobPayload137Action = "auto-approved-member"; +``` + +## Values + +```typescript +"auto-approved-member" | "auto-approved-pending-invite" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayload1369commitverification.md b/docs/models/usereventjobpayload137commitverification.md similarity index 58% rename from docs/models/usereventjobpayload1369commitverification.md rename to docs/models/usereventjobpayload137commitverification.md index 3d0819e491..a467ce452e 100644 --- a/docs/models/usereventjobpayload1369commitverification.md +++ b/docs/models/usereventjobpayload137commitverification.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1369CommitVerification +# UserEventJobPayload137CommitVerification Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported ## Example Usage ```typescript -import { UserEventJobPayload1369CommitVerification } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137CommitVerification } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369CommitVerification = "unverified"; +let value: UserEventJobPayload137CommitVerification = "unverified"; ``` ## Values diff --git a/docs/models/usereventjobpayload1369deployhook.md b/docs/models/usereventjobpayload137deployhook.md similarity index 74% rename from docs/models/usereventjobpayload1369deployhook.md rename to docs/models/usereventjobpayload137deployhook.md index f41048a08a..90cb83fcfd 100644 --- a/docs/models/usereventjobpayload1369deployhook.md +++ b/docs/models/usereventjobpayload137deployhook.md @@ -1,12 +1,12 @@ -# UserEventJobPayload1369DeployHook +# UserEventJobPayload137DeployHook ## Example Usage ```typescript -import { UserEventJobPayload1369DeployHook } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137DeployHook } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369DeployHook = { - createdAt: 1832.11, +let value: UserEventJobPayload137DeployHook = { + createdAt: 2678.04, id: "", name: "", ref: "", diff --git a/docs/models/usereventjobpayload1367gitcomments.md b/docs/models/usereventjobpayload137gitcomments.md similarity index 65% rename from docs/models/usereventjobpayload1367gitcomments.md rename to docs/models/usereventjobpayload137gitcomments.md index f24060ed39..186a6796e3 100644 --- a/docs/models/usereventjobpayload1367gitcomments.md +++ b/docs/models/usereventjobpayload137gitcomments.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1367GitComments +# UserEventJobPayload137GitComments ## Example Usage ```typescript -import { UserEventJobPayload1367GitComments } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137GitComments } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1367GitComments = { +let value: UserEventJobPayload137GitComments = { onCommit: false, - onPullRequest: false, + onPullRequest: true, }; ``` diff --git a/docs/models/usereventjobpayload136githashtagvercel.md b/docs/models/usereventjobpayload137githashtagvercel.md similarity index 77% rename from docs/models/usereventjobpayload136githashtagvercel.md rename to docs/models/usereventjobpayload137githashtagvercel.md index 5742d5a2a5..bbf6a79264 100644 --- a/docs/models/usereventjobpayload136githashtagvercel.md +++ b/docs/models/usereventjobpayload137githashtagvercel.md @@ -1,13 +1,13 @@ -# UserEventJobPayload136GitHashtagVercel +# UserEventJobPayload137GitHashtagVercel Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING ## Example Usage ```typescript -import { UserEventJobPayload136GitHashtagVercel } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137GitHashtagVercel } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136GitHashtagVercel = "#VERCEL_BUILD_PRIO_8"; +let value: UserEventJobPayload137GitHashtagVercel = "#VERCEL_BUILD_PRIO_3"; ``` ## Values diff --git a/docs/models/usereventjobpayload136headinfo.md b/docs/models/usereventjobpayload137headinfo.md similarity index 79% rename from docs/models/usereventjobpayload136headinfo.md rename to docs/models/usereventjobpayload137headinfo.md index 2cabbeb9df..5ddd95dcd6 100644 --- a/docs/models/usereventjobpayload136headinfo.md +++ b/docs/models/usereventjobpayload137headinfo.md @@ -1,17 +1,17 @@ -# UserEventJobPayload136HeadInfo +# UserEventJobPayload137HeadInfo Information about the head commit/branch for a GitHub repository ## Example Usage ```typescript -import { UserEventJobPayload136HeadInfo } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137HeadInfo } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventJobPayload136HeadInfo = { +let value: UserEventJobPayload137HeadInfo = { org: "", ref: "", repo: "", - repoId: 9583.55, + repoId: 7685.54, sha: "", }; ``` diff --git a/docs/models/usereventjobpayload1369nsnbsideeffect.md b/docs/models/usereventjobpayload137nsnbsideeffect.md similarity index 82% rename from docs/models/usereventjobpayload1369nsnbsideeffect.md rename to docs/models/usereventjobpayload137nsnbsideeffect.md index f9232202f9..3d64baa3db 100644 --- a/docs/models/usereventjobpayload1369nsnbsideeffect.md +++ b/docs/models/usereventjobpayload137nsnbsideeffect.md @@ -1,13 +1,13 @@ -# UserEventJobPayload1369NsnbSideEffect +# UserEventJobPayload137NsnbSideEffect Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. ## Example Usage ```typescript -import { UserEventJobPayload1369NsnbSideEffect } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137NsnbSideEffect } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload1369NsnbSideEffect = { +let value: UserEventJobPayload137NsnbSideEffect = { action: "auto-approved-pending-invite", gitUserLogin: "", }; @@ -17,5 +17,5 @@ let value: UserEventJobPayload1369NsnbSideEffect = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `action` | [models.UserEventJobPayload1369Action](../models/usereventjobpayload1369action.md) | :heavy_check_mark: | N/A | +| `action` | [models.UserEventJobPayload1378Action](../models/usereventjobpayload1378action.md) | :heavy_check_mark: | N/A | | `gitUserLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventjobpayload136project.md b/docs/models/usereventjobpayload137project.md similarity index 80% rename from docs/models/usereventjobpayload136project.md rename to docs/models/usereventjobpayload137project.md index 73539dc8c9..750bcbb7a8 100644 --- a/docs/models/usereventjobpayload136project.md +++ b/docs/models/usereventjobpayload137project.md @@ -1,11 +1,11 @@ -# UserEventJobPayload136Project +# UserEventJobPayload137Project ## Example Usage ```typescript -import { UserEventJobPayload136Project } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayload137Project } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventJobPayload136Project = { +let value: UserEventJobPayload137Project = { id: "", }; ``` diff --git a/docs/models/usereventjobpayload137provider.md b/docs/models/usereventjobpayload137provider.md new file mode 100644 index 0000000000..a2d407e813 --- /dev/null +++ b/docs/models/usereventjobpayload137provider.md @@ -0,0 +1,15 @@ +# UserEventJobPayload137Provider + +## Example Usage + +```typescript +import { UserEventJobPayload137Provider } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventJobPayload137Provider = "github-limited"; +``` + +## Values + +```typescript +"github" | "github-custom-host" | "github-limited" +``` \ No newline at end of file diff --git a/docs/models/usereventjobpayloadaction.md b/docs/models/usereventjobpayloadaction.md index e5a05849a6..c1f74c1040 100644 --- a/docs/models/usereventjobpayloadaction.md +++ b/docs/models/usereventjobpayloadaction.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobPayloadAction } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobPayloadAction } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobPayloadAction = "auto-approved-pending-invite"; ``` diff --git a/docs/models/usereventjobpayloadcommitverification.md b/docs/models/usereventjobpayloadcommitverification.md index 1ab55c6560..0970e2a7ba 100644 --- a/docs/models/usereventjobpayloadcommitverification.md +++ b/docs/models/usereventjobpayloadcommitverification.md @@ -5,7 +5,7 @@ Since 6 Nov 2025 The verification status of the commit. - 'verified' if the comm ## Example Usage ```typescript -import { UserEventJobPayloadCommitVerification } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayloadCommitVerification } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventJobPayloadCommitVerification = "unknown"; ``` diff --git a/docs/models/usereventjobpayloaddeployhook.md b/docs/models/usereventjobpayloaddeployhook.md index 055bae5e27..f73a716a84 100644 --- a/docs/models/usereventjobpayloaddeployhook.md +++ b/docs/models/usereventjobpayloaddeployhook.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobPayloadDeployHook } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayloadDeployHook } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobPayloadDeployHook = { createdAt: 2317.7, diff --git a/docs/models/usereventjobpayloadgitcomments.md b/docs/models/usereventjobpayloadgitcomments.md index 30b4130aea..2553759a4c 100644 --- a/docs/models/usereventjobpayloadgitcomments.md +++ b/docs/models/usereventjobpayloadgitcomments.md @@ -5,7 +5,7 @@ Since June 2023 Determines if comments should be posted to the git host. Replace ## Example Usage ```typescript -import { UserEventJobPayloadGitComments } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobPayloadGitComments } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobPayloadGitComments = { onCommit: false, diff --git a/docs/models/usereventjobpayloadgithashtagvercel.md b/docs/models/usereventjobpayloadgithashtagvercel.md index 57c182c166..3fa352bc57 100644 --- a/docs/models/usereventjobpayloadgithashtagvercel.md +++ b/docs/models/usereventjobpayloadgithashtagvercel.md @@ -5,7 +5,7 @@ Since February 2022 All the hashtag-vercel tags found in the commit message trig ## Example Usage ```typescript -import { UserEventJobPayloadGitHashtagVercel } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayloadGitHashtagVercel } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventJobPayloadGitHashtagVercel = "#VERCEL_SKIP"; ``` diff --git a/docs/models/usereventjobpayloadheadinfo.md b/docs/models/usereventjobpayloadheadinfo.md index 29464fba21..532940dd4f 100644 --- a/docs/models/usereventjobpayloadheadinfo.md +++ b/docs/models/usereventjobpayloadheadinfo.md @@ -5,7 +5,7 @@ Information about the head commit/branch for a GitHub repository ## Example Usage ```typescript -import { UserEventJobPayloadHeadInfo } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobPayloadHeadInfo } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobPayloadHeadInfo = { org: "", diff --git a/docs/models/usereventjobpayloadnsnbsideeffect.md b/docs/models/usereventjobpayloadnsnbsideeffect.md index 853275618b..cc706570c5 100644 --- a/docs/models/usereventjobpayloadnsnbsideeffect.md +++ b/docs/models/usereventjobpayloadnsnbsideeffect.md @@ -5,7 +5,7 @@ Since March 2026 Records a successful NSNB auto-add result so later GitHub PR co ## Example Usage ```typescript -import { UserEventJobPayloadNsnbSideEffect } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayloadNsnbSideEffect } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventJobPayloadNsnbSideEffect = { action: "auto-approved-pending-invite", @@ -17,5 +17,5 @@ let value: UserEventJobPayloadNsnbSideEffect = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `action` | [models.UserEventJobPayload136Action](../models/usereventjobpayload136action.md) | :heavy_check_mark: | N/A | +| `action` | [models.UserEventJobPayload137Action](../models/usereventjobpayload137action.md) | :heavy_check_mark: | N/A | | `gitUserLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventjobpayloadproject.md b/docs/models/usereventjobpayloadproject.md index 43d5f14bc6..4ddcda11c1 100644 --- a/docs/models/usereventjobpayloadproject.md +++ b/docs/models/usereventjobpayloadproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobPayloadProject } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobPayloadProject } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventJobPayloadProject = { id: "", diff --git a/docs/models/usereventjobpayloadprovider.md b/docs/models/usereventjobpayloadprovider.md index 349140ea9f..8e8d990718 100644 --- a/docs/models/usereventjobpayloadprovider.md +++ b/docs/models/usereventjobpayloadprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobPayloadProvider } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobPayloadProvider } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobPayloadProvider = "github-limited"; ``` diff --git a/docs/models/usereventjobproject.md b/docs/models/usereventjobproject.md index 7db37e4bdf..e6658d8f6b 100644 --- a/docs/models/usereventjobproject.md +++ b/docs/models/usereventjobproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobProject } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventJobProject } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventJobProject = { id: "", diff --git a/docs/models/usereventjobprovider.md b/docs/models/usereventjobprovider.md index 7143c2a52e..00e2f67533 100644 --- a/docs/models/usereventjobprovider.md +++ b/docs/models/usereventjobprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventJobProvider } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventJobProvider } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventJobProvider = "bitbucket"; ``` diff --git a/docs/models/usereventlasteditedbyprincipal1.md b/docs/models/usereventlasteditedbyprincipal1.md index 85686dd8d2..cfb2d27308 100644 --- a/docs/models/usereventlasteditedbyprincipal1.md +++ b/docs/models/usereventlasteditedbyprincipal1.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { UserEventLastEditedByPrincipal1 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventLastEditedByPrincipal1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventLastEditedByPrincipal1 = { id: "", diff --git a/docs/models/usereventlasteditedbyprincipal2.md b/docs/models/usereventlasteditedbyprincipal2.md index 0db1bbee54..191590026a 100644 --- a/docs/models/usereventlasteditedbyprincipal2.md +++ b/docs/models/usereventlasteditedbyprincipal2.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { UserEventLastEditedByPrincipal2 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventLastEditedByPrincipal2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventLastEditedByPrincipal2 = { id: "", diff --git a/docs/models/usereventlasteditedbyprincipalpayload1.md b/docs/models/usereventlasteditedbyprincipalpayload1.md index 1b2f359e4a..0c2060dc14 100644 --- a/docs/models/usereventlasteditedbyprincipalpayload1.md +++ b/docs/models/usereventlasteditedbyprincipalpayload1.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { UserEventLastEditedByPrincipalPayload1 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventLastEditedByPrincipalPayload1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventLastEditedByPrincipalPayload1 = { id: "", diff --git a/docs/models/usereventlasteditedbyprincipalpayload2.md b/docs/models/usereventlasteditedbyprincipalpayload2.md index cf80c57d3c..b4bc51f65a 100644 --- a/docs/models/usereventlasteditedbyprincipalpayload2.md +++ b/docs/models/usereventlasteditedbyprincipalpayload2.md @@ -5,7 +5,7 @@ The principal that last edited this env var, when the editor id resolves to a kn ## Example Usage ```typescript -import { UserEventLastEditedByPrincipalPayload2 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventLastEditedByPrincipalPayload2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventLastEditedByPrincipalPayload2 = { id: "", diff --git a/docs/models/usereventmicrofrontends1.md b/docs/models/usereventmicrofrontends1.md index 79e66f0600..3653ccaf7e 100644 --- a/docs/models/usereventmicrofrontends1.md +++ b/docs/models/usereventmicrofrontends1.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventMicrofrontends1 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventMicrofrontends1 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventMicrofrontends1 = { enabled: true, diff --git a/docs/models/usereventmicrofrontends2.md b/docs/models/usereventmicrofrontends2.md index e1c1275dca..6be1dbab2b 100644 --- a/docs/models/usereventmicrofrontends2.md +++ b/docs/models/usereventmicrofrontends2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventMicrofrontends2 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventMicrofrontends2 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventMicrofrontends2 = { enabled: true, diff --git a/docs/models/usereventmicrofrontends3.md b/docs/models/usereventmicrofrontends3.md index a257e49d8d..4fd0063246 100644 --- a/docs/models/usereventmicrofrontends3.md +++ b/docs/models/usereventmicrofrontends3.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventMicrofrontends3 } from "@vercel/sdk/models/newprojects.js"; +import { UserEventMicrofrontends3 } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventMicrofrontends3 = { enabled: false, diff --git a/docs/models/usereventpayload100project.md b/docs/models/usereventpayload100project.md deleted file mode 100644 index 71d16fb079..0000000000 --- a/docs/models/usereventpayload100project.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserEventPayload100Project - -## Example Usage - -```typescript -import { UserEventPayload100Project } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload100Project = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload101project.md b/docs/models/usereventpayload101project.md new file mode 100644 index 0000000000..5cb2a7d028 --- /dev/null +++ b/docs/models/usereventpayload101project.md @@ -0,0 +1,19 @@ +# UserEventPayload101Project + +## Example Usage + +```typescript +import { UserEventPayload101Project } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload101Project = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload114project.md b/docs/models/usereventpayload114project.md index e80010907d..5ee5e5dd30 100644 --- a/docs/models/usereventpayload114project.md +++ b/docs/models/usereventpayload114project.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload114Project } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload114Project } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayload114Project = { id: "", diff --git a/docs/models/usereventpayload310team.md b/docs/models/usereventpayload114team.md similarity index 74% rename from docs/models/usereventpayload310team.md rename to docs/models/usereventpayload114team.md index f086afaa3c..9868461a78 100644 --- a/docs/models/usereventpayload310team.md +++ b/docs/models/usereventpayload114team.md @@ -1,11 +1,11 @@ -# UserEventPayload310Team +# UserEventPayload114Team ## Example Usage ```typescript -import { UserEventPayload310Team } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload114Team } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventPayload310Team = { +let value: UserEventPayload114Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload115configuration.md b/docs/models/usereventpayload115configuration.md deleted file mode 100644 index 470381f517..0000000000 --- a/docs/models/usereventpayload115configuration.md +++ /dev/null @@ -1,18 +0,0 @@ -# UserEventPayload115Configuration - -## Example Usage - -```typescript -import { UserEventPayload115Configuration } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload115Configuration = { - id: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload115project.md b/docs/models/usereventpayload115project.md index 4e6622da83..e7534ea3ed 100644 --- a/docs/models/usereventpayload115project.md +++ b/docs/models/usereventpayload115project.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload115Project } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload115Project } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayload115Project = { id: "", diff --git a/docs/models/usereventpayload116configuration.md b/docs/models/usereventpayload116configuration.md index ae673441ca..3b37fd3f6d 100644 --- a/docs/models/usereventpayload116configuration.md +++ b/docs/models/usereventpayload116configuration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload116Configuration } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload116Configuration } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayload116Configuration = { id: "", diff --git a/docs/models/usereventpayload182team.md b/docs/models/usereventpayload116project.md similarity index 71% rename from docs/models/usereventpayload182team.md rename to docs/models/usereventpayload116project.md index 73dfdfd368..6810029a44 100644 --- a/docs/models/usereventpayload182team.md +++ b/docs/models/usereventpayload116project.md @@ -1,11 +1,11 @@ -# UserEventPayload182Team +# UserEventPayload116Project ## Example Usage ```typescript -import { UserEventPayload182Team } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload116Project } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventPayload182Team = { +let value: UserEventPayload116Project = { id: "", }; ``` diff --git a/docs/models/usereventpayload116team.md b/docs/models/usereventpayload116team.md deleted file mode 100644 index c5608d0e93..0000000000 --- a/docs/models/usereventpayload116team.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserEventPayload116Team - -## Example Usage - -```typescript -import { UserEventPayload116Team } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload116Team = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload117configuration.md b/docs/models/usereventpayload117configuration.md new file mode 100644 index 0000000000..a3a715ecee --- /dev/null +++ b/docs/models/usereventpayload117configuration.md @@ -0,0 +1,18 @@ +# UserEventPayload117Configuration + +## Example Usage + +```typescript +import { UserEventPayload117Configuration } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload117Configuration = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload117team.md b/docs/models/usereventpayload117team.md new file mode 100644 index 0000000000..7f112fab6c --- /dev/null +++ b/docs/models/usereventpayload117team.md @@ -0,0 +1,19 @@ +# UserEventPayload117Team + +## Example Usage + +```typescript +import { UserEventPayload117Team } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload117Team = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload124project.md b/docs/models/usereventpayload124project.md deleted file mode 100644 index 739af065ee..0000000000 --- a/docs/models/usereventpayload124project.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserEventPayload124Project - -## Example Usage - -```typescript -import { UserEventPayload124Project } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload124Project = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload125project.md b/docs/models/usereventpayload125project.md new file mode 100644 index 0000000000..460e4c0803 --- /dev/null +++ b/docs/models/usereventpayload125project.md @@ -0,0 +1,19 @@ +# UserEventPayload125Project + +## Example Usage + +```typescript +import { UserEventPayload125Project } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload125Project = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload129deploymenttype.md b/docs/models/usereventpayload129deploymenttype.md deleted file mode 100644 index 24ee95f24c..0000000000 --- a/docs/models/usereventpayload129deploymenttype.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload129DeploymentType - -## Example Usage - -```typescript -import { UserEventPayload129DeploymentType } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload129DeploymentType = - "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload130deploymenttype.md b/docs/models/usereventpayload130deploymenttype.md index 0d93b43bab..a483c05cea 100644 --- a/docs/models/usereventpayload130deploymenttype.md +++ b/docs/models/usereventpayload130deploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload130DeploymentType } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload130DeploymentType } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayload130DeploymentType = "preview"; ``` diff --git a/docs/models/usereventpayload131deploymenttype.md b/docs/models/usereventpayload131deploymenttype.md new file mode 100644 index 0000000000..90a73137ea --- /dev/null +++ b/docs/models/usereventpayload131deploymenttype.md @@ -0,0 +1,15 @@ +# UserEventPayload131DeploymentType + +## Example Usage + +```typescript +import { UserEventPayload131DeploymentType } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload131DeploymentType = "preview"; +``` + +## Values + +```typescript +"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload132project.md b/docs/models/usereventpayload133project.md similarity index 66% rename from docs/models/usereventpayload132project.md rename to docs/models/usereventpayload133project.md index 880e1fc9e1..1995cda16a 100644 --- a/docs/models/usereventpayload132project.md +++ b/docs/models/usereventpayload133project.md @@ -1,11 +1,11 @@ -# UserEventPayload132Project +# UserEventPayload133Project ## Example Usage ```typescript -import { UserEventPayload132Project } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload133Project } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventPayload132Project = { +let value: UserEventPayload133Project = { name: "", }; ``` diff --git a/docs/models/usereventpayload138reason.md b/docs/models/usereventpayload138reason.md deleted file mode 100644 index 1b08a4621a..0000000000 --- a/docs/models/usereventpayload138reason.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload138Reason - -## Example Usage - -```typescript -import { UserEventPayload138Reason } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload138Reason = "ip_allow_list"; -``` - -## Values - -```typescript -"ip_allow_list" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload139reason.md b/docs/models/usereventpayload139reason.md new file mode 100644 index 0000000000..5e105253a1 --- /dev/null +++ b/docs/models/usereventpayload139reason.md @@ -0,0 +1,15 @@ +# UserEventPayload139Reason + +## Example Usage + +```typescript +import { UserEventPayload139Reason } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload139Reason = "ip_allow_list"; +``` + +## Values + +```typescript +"ip_allow_list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload139deployment.md b/docs/models/usereventpayload140deployment.md similarity index 78% rename from docs/models/usereventpayload139deployment.md rename to docs/models/usereventpayload140deployment.md index 109d859589..bbf30876c1 100644 --- a/docs/models/usereventpayload139deployment.md +++ b/docs/models/usereventpayload140deployment.md @@ -1,17 +1,17 @@ -# UserEventPayload139Deployment +# UserEventPayload140Deployment ## Example Usage ```typescript -import { UserEventPayload139Deployment } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload140Deployment } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventPayload139Deployment = { +let value: UserEventPayload140Deployment = { id: "", meta: { "key": "", }, name: "", - url: "https://short-casement.org/", + url: "https://private-coin.com", }; ``` diff --git a/docs/models/usereventpayload141scope.md b/docs/models/usereventpayload141scope.md deleted file mode 100644 index bb1ee8c5e9..0000000000 --- a/docs/models/usereventpayload141scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload141Scope - -## Example Usage - -```typescript -import { UserEventPayload141Scope } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload141Scope = "organization"; -``` - -## Values - -```typescript -"organization" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload142mode.md b/docs/models/usereventpayload142mode.md deleted file mode 100644 index b37969e4cb..0000000000 --- a/docs/models/usereventpayload142mode.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload142Mode - -## Example Usage - -```typescript -import { UserEventPayload142Mode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload142Mode = "none"; -``` - -## Values - -```typescript -"all" | "email-domain" | "none" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload142scope.md b/docs/models/usereventpayload142scope.md new file mode 100644 index 0000000000..a8273aa97b --- /dev/null +++ b/docs/models/usereventpayload142scope.md @@ -0,0 +1,15 @@ +# UserEventPayload142Scope + +## Example Usage + +```typescript +import { UserEventPayload142Scope } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload142Scope = "organization"; +``` + +## Values + +```typescript +"organization" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload143mode.md b/docs/models/usereventpayload143mode.md new file mode 100644 index 0000000000..97e48f8981 --- /dev/null +++ b/docs/models/usereventpayload143mode.md @@ -0,0 +1,15 @@ +# UserEventPayload143Mode + +## Example Usage + +```typescript +import { UserEventPayload143Mode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload143Mode = "none"; +``` + +## Values + +```typescript +"all" | "email-domain" | "none" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload146action.md b/docs/models/usereventpayload146action.md deleted file mode 100644 index d9520634bd..0000000000 --- a/docs/models/usereventpayload146action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload146Action - -## Example Usage - -```typescript -import { UserEventPayload146Action } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload146Action = "add"; -``` - -## Values - -```typescript -"add" | "delete" | "update" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload147action.md b/docs/models/usereventpayload147action.md new file mode 100644 index 0000000000..5bd6af04e2 --- /dev/null +++ b/docs/models/usereventpayload147action.md @@ -0,0 +1,15 @@ +# UserEventPayload147Action + +## Example Usage + +```typescript +import { UserEventPayload147Action } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload147Action = "add"; +``` + +## Values + +```typescript +"add" | "delete" | "update" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload151newteam.md b/docs/models/usereventpayload152newteam.md similarity index 65% rename from docs/models/usereventpayload151newteam.md rename to docs/models/usereventpayload152newteam.md index f4aedcfc7a..2551da7903 100644 --- a/docs/models/usereventpayload151newteam.md +++ b/docs/models/usereventpayload152newteam.md @@ -1,11 +1,11 @@ -# UserEventPayload151NewTeam +# UserEventPayload152NewTeam ## Example Usage ```typescript -import { UserEventPayload151NewTeam } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload152NewTeam } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventPayload151NewTeam = { +let value: UserEventPayload152NewTeam = { name: "", }; ``` diff --git a/docs/models/usereventpayload151oldteam.md b/docs/models/usereventpayload152oldteam.md similarity index 65% rename from docs/models/usereventpayload151oldteam.md rename to docs/models/usereventpayload152oldteam.md index 6570ec99f5..fb954c4c83 100644 --- a/docs/models/usereventpayload151oldteam.md +++ b/docs/models/usereventpayload152oldteam.md @@ -1,11 +1,11 @@ -# UserEventPayload151OldTeam +# UserEventPayload152OldTeam ## Example Usage ```typescript -import { UserEventPayload151OldTeam } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload152OldTeam } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventPayload151OldTeam = { +let value: UserEventPayload152OldTeam = { name: "", }; ``` diff --git a/docs/models/usereventpayload178toaccounttype.md b/docs/models/usereventpayload178toaccounttype.md deleted file mode 100644 index 8641f6b908..0000000000 --- a/docs/models/usereventpayload178toaccounttype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload178ToAccountType - -## Example Usage - -```typescript -import { UserEventPayload178ToAccountType } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload178ToAccountType = "user"; -``` - -## Values - -```typescript -"team" | "user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload178type.md b/docs/models/usereventpayload178type.md deleted file mode 100644 index efa743eb30..0000000000 --- a/docs/models/usereventpayload178type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload178Type - -## Example Usage - -```typescript -import { UserEventPayload178Type } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload178Type = "user"; -``` - -## Values - -```typescript -"team" | "user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload179toaccounttype.md b/docs/models/usereventpayload179toaccounttype.md new file mode 100644 index 0000000000..b96441a9ea --- /dev/null +++ b/docs/models/usereventpayload179toaccounttype.md @@ -0,0 +1,15 @@ +# UserEventPayload179ToAccountType + +## Example Usage + +```typescript +import { UserEventPayload179ToAccountType } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload179ToAccountType = "user"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload179type.md b/docs/models/usereventpayload179type.md new file mode 100644 index 0000000000..c092aad836 --- /dev/null +++ b/docs/models/usereventpayload179type.md @@ -0,0 +1,15 @@ +# UserEventPayload179Type + +## Example Usage + +```typescript +import { UserEventPayload179Type } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload179Type = "team"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload183team.md b/docs/models/usereventpayload183team.md index 262ddf9524..ca9907eff8 100644 --- a/docs/models/usereventpayload183team.md +++ b/docs/models/usereventpayload183team.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload183Team } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload183Team } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayload183Team = { id: "", diff --git a/docs/models/usereventpayload113project.md b/docs/models/usereventpayload184team.md similarity index 71% rename from docs/models/usereventpayload113project.md rename to docs/models/usereventpayload184team.md index 3213bd9e07..bef7c9866c 100644 --- a/docs/models/usereventpayload113project.md +++ b/docs/models/usereventpayload184team.md @@ -1,11 +1,11 @@ -# UserEventPayload113Project +# UserEventPayload184Team ## Example Usage ```typescript -import { UserEventPayload113Project } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload184Team } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; -let value: UserEventPayload113Project = { +let value: UserEventPayload184Team = { id: "", }; ``` diff --git a/docs/models/usereventpayload189target.md b/docs/models/usereventpayload189target.md deleted file mode 100644 index d3b14c8e35..0000000000 --- a/docs/models/usereventpayload189target.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload189Target - -environments this env variable targets - -## Example Usage - -```typescript -import { UserEventPayload189Target } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; - -let value: UserEventPayload189Target = "production"; -``` - -## Values - -```typescript -"development" | "preview" | "production" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload190target.md b/docs/models/usereventpayload190target.md index c5466adac2..8dc23d7cd8 100644 --- a/docs/models/usereventpayload190target.md +++ b/docs/models/usereventpayload190target.md @@ -1,9 +1,11 @@ # UserEventPayload190Target +environments this env variable targets + ## Example Usage ```typescript -import { UserEventPayload190Target } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayload190Target } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayload190Target = "production"; ``` diff --git a/docs/models/usereventpayload191oldenvvartarget.md b/docs/models/usereventpayload191oldenvvartarget.md deleted file mode 100644 index 76feb5e4a5..0000000000 --- a/docs/models/usereventpayload191oldenvvartarget.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload191OldEnvVarTarget - -environments this env variable targets - -## Example Usage - -```typescript -import { UserEventPayload191OldEnvVarTarget } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload191OldEnvVarTarget = "production"; -``` - -## Values - -```typescript -"development" | "preview" | "production" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload191oldenvvartype.md b/docs/models/usereventpayload191oldenvvartype.md deleted file mode 100644 index 3c58ddfe9e..0000000000 --- a/docs/models/usereventpayload191oldenvvartype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload191OldEnvVarType - -The type of this cosmos doc instance, if blank, assume secret. - -## Example Usage - -```typescript -import { UserEventPayload191OldEnvVarType } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload191OldEnvVarType = "encrypted"; -``` - -## Values - -```typescript -"encrypted" | "plain" | "sensitive" | "system" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload191target.md b/docs/models/usereventpayload191target.md index 0cee7bf5c7..4c73df691a 100644 --- a/docs/models/usereventpayload191target.md +++ b/docs/models/usereventpayload191target.md @@ -1,11 +1,9 @@ # UserEventPayload191Target -environments this env variable targets - ## Example Usage ```typescript -import { UserEventPayload191Target } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload191Target } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayload191Target = "production"; ``` diff --git a/docs/models/usereventpayload191type.md b/docs/models/usereventpayload191type.md deleted file mode 100644 index a2edd62bb5..0000000000 --- a/docs/models/usereventpayload191type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload191Type - -The type of this cosmos doc instance, if blank, assume secret. - -## Example Usage - -```typescript -import { UserEventPayload191Type } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload191Type = "encrypted"; -``` - -## Values - -```typescript -"encrypted" | "plain" | "sensitive" | "system" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload192oldenvvartarget.md b/docs/models/usereventpayload192oldenvvartarget.md new file mode 100644 index 0000000000..e4a66cf6c7 --- /dev/null +++ b/docs/models/usereventpayload192oldenvvartarget.md @@ -0,0 +1,17 @@ +# UserEventPayload192OldEnvVarTarget + +environments this env variable targets + +## Example Usage + +```typescript +import { UserEventPayload192OldEnvVarTarget } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload192OldEnvVarTarget = "production"; +``` + +## Values + +```typescript +"development" | "preview" | "production" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload192oldenvvartype.md b/docs/models/usereventpayload192oldenvvartype.md new file mode 100644 index 0000000000..34acca01ba --- /dev/null +++ b/docs/models/usereventpayload192oldenvvartype.md @@ -0,0 +1,17 @@ +# UserEventPayload192OldEnvVarType + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { UserEventPayload192OldEnvVarType } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; + +let value: UserEventPayload192OldEnvVarType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "plain" | "sensitive" | "system" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload192target.md b/docs/models/usereventpayload192target.md new file mode 100644 index 0000000000..89428ae34f --- /dev/null +++ b/docs/models/usereventpayload192target.md @@ -0,0 +1,17 @@ +# UserEventPayload192Target + +environments this env variable targets + +## Example Usage + +```typescript +import { UserEventPayload192Target } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload192Target = "production"; +``` + +## Values + +```typescript +"development" | "preview" | "production" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload192type.md b/docs/models/usereventpayload192type.md new file mode 100644 index 0000000000..473ce6db1f --- /dev/null +++ b/docs/models/usereventpayload192type.md @@ -0,0 +1,17 @@ +# UserEventPayload192Type + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { UserEventPayload192Type } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload192Type = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "plain" | "sensitive" | "system" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload198action.md b/docs/models/usereventpayload198action.md deleted file mode 100644 index 7882ffbd30..0000000000 --- a/docs/models/usereventpayload198action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload198Action - -## Example Usage - -```typescript -import { UserEventPayload198Action } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload198Action = "deny"; -``` - -## Values - -```typescript -"challenge" | "deny" | "log" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload199action.md b/docs/models/usereventpayload199action.md index a065804012..9d7f460dbb 100644 --- a/docs/models/usereventpayload199action.md +++ b/docs/models/usereventpayload199action.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload199Action } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload199Action } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayload199Action = "log"; ``` diff --git a/docs/models/usereventpayload200action.md b/docs/models/usereventpayload200action.md new file mode 100644 index 0000000000..d9d0ca6847 --- /dev/null +++ b/docs/models/usereventpayload200action.md @@ -0,0 +1,15 @@ +# UserEventPayload200Action + +## Example Usage + +```typescript +import { UserEventPayload200Action } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload200Action = "deny"; +``` + +## Values + +```typescript +"challenge" | "deny" | "log" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload202action.md b/docs/models/usereventpayload202action.md deleted file mode 100644 index f01f5f4d90..0000000000 --- a/docs/models/usereventpayload202action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload202Action - -## Example Usage - -```typescript -import { UserEventPayload202Action } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload202Action = "disable"; -``` - -## Values - -```typescript -"disable" | "enable" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload203action.md b/docs/models/usereventpayload203action.md new file mode 100644 index 0000000000..1294a170fc --- /dev/null +++ b/docs/models/usereventpayload203action.md @@ -0,0 +1,15 @@ +# UserEventPayload203Action + +## Example Usage + +```typescript +import { UserEventPayload203Action } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload203Action = "disable"; +``` + +## Values + +```typescript +"disable" | "enable" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload206provider.md b/docs/models/usereventpayload206provider.md deleted file mode 100644 index 0107007d81..0000000000 --- a/docs/models/usereventpayload206provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload206Provider - -## Example Usage - -```typescript -import { UserEventPayload206Provider } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload206Provider = "github"; -``` - -## Values - -```typescript -"bitbucket" | "cursor-origin" | "github" | "gitlab" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload207provider.md b/docs/models/usereventpayload207provider.md new file mode 100644 index 0000000000..32aca8fdf2 --- /dev/null +++ b/docs/models/usereventpayload207provider.md @@ -0,0 +1,15 @@ +# UserEventPayload207Provider + +## Example Usage + +```typescript +import { UserEventPayload207Provider } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload207Provider = "gitlab"; +``` + +## Values + +```typescript +"bitbucket" | "cursor-origin" | "github" | "gitlab" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload221requestkind.md b/docs/models/usereventpayload221requestkind.md deleted file mode 100644 index b84c1b7305..0000000000 --- a/docs/models/usereventpayload221requestkind.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload221RequestKind - -## Example Usage - -```typescript -import { UserEventPayload221RequestKind } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload221RequestKind = "get_key_data"; -``` - -## Values - -```typescript -"get_key_data" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload222requestkind.md b/docs/models/usereventpayload222requestkind.md new file mode 100644 index 0000000000..1bc7013cff --- /dev/null +++ b/docs/models/usereventpayload222requestkind.md @@ -0,0 +1,15 @@ +# UserEventPayload222RequestKind + +## Example Usage + +```typescript +import { UserEventPayload222RequestKind } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload222RequestKind = "get_key_data"; +``` + +## Values + +```typescript +"get_key_data" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload231provider.md b/docs/models/usereventpayload231provider.md deleted file mode 100644 index 8b282466b5..0000000000 --- a/docs/models/usereventpayload231provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload231Provider - -## Example Usage - -```typescript -import { UserEventPayload231Provider } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload231Provider = "saml"; -``` - -## Values - -```typescript -"apple" | "bitbucket" | "chatgpt" | "claude" | "github" | "github-custom-host" | "github-limited" | "gitlab" | "google" | "saml" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload232provider.md b/docs/models/usereventpayload232provider.md index f3710175d2..5ce7f8223f 100644 --- a/docs/models/usereventpayload232provider.md +++ b/docs/models/usereventpayload232provider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload232Provider } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload232Provider } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayload232Provider = "chatgpt"; ``` diff --git a/docs/models/usereventpayload233provider.md b/docs/models/usereventpayload233provider.md new file mode 100644 index 0000000000..67498376cd --- /dev/null +++ b/docs/models/usereventpayload233provider.md @@ -0,0 +1,15 @@ +# UserEventPayload233Provider + +## Example Usage + +```typescript +import { UserEventPayload233Provider } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload233Provider = "github-custom-host"; +``` + +## Values + +```typescript +"apple" | "bitbucket" | "chatgpt" | "claude" | "github" | "github-custom-host" | "github-limited" | "gitlab" | "google" | "saml" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload240project.md b/docs/models/usereventpayload240project.md deleted file mode 100644 index f12b8fc1ac..0000000000 --- a/docs/models/usereventpayload240project.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserEventPayload240Project - -## Example Usage - -```typescript -import { UserEventPayload240Project } from "@vercel/sdk/models/newprojects.js"; - -let value: UserEventPayload240Project = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload241project.md b/docs/models/usereventpayload241project.md index aa2b2301dc..1f051ae1e4 100644 --- a/docs/models/usereventpayload241project.md +++ b/docs/models/usereventpayload241project.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload241Project } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload241Project } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayload241Project = { id: "", @@ -13,8 +13,7 @@ let value: UserEventPayload241Project = { ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `microfrontends` | *models.Microfrontends* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload241prevproject.md b/docs/models/usereventpayload242prevproject.md similarity index 70% rename from docs/models/usereventpayload241prevproject.md rename to docs/models/usereventpayload242prevproject.md index fb709ad63b..fbfed7e021 100644 --- a/docs/models/usereventpayload241prevproject.md +++ b/docs/models/usereventpayload242prevproject.md @@ -1,11 +1,11 @@ -# UserEventPayload241PrevProject +# UserEventPayload242PrevProject ## Example Usage ```typescript -import { UserEventPayload241PrevProject } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload242PrevProject } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; -let value: UserEventPayload241PrevProject = {}; +let value: UserEventPayload242PrevProject = {}; ``` ## Fields diff --git a/docs/models/usereventpayload242project.md b/docs/models/usereventpayload242project.md new file mode 100644 index 0000000000..80da4548b5 --- /dev/null +++ b/docs/models/usereventpayload242project.md @@ -0,0 +1,20 @@ +# UserEventPayload242Project + +## Example Usage + +```typescript +import { UserEventPayload242Project } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload242Project = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `microfrontends` | *models.Microfrontends* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload252teamroles.md b/docs/models/usereventpayload252teamroles.md new file mode 100644 index 0000000000..ec392a44d8 --- /dev/null +++ b/docs/models/usereventpayload252teamroles.md @@ -0,0 +1,15 @@ +# UserEventPayload252TeamRoles + +## Example Usage + +```typescript +import { UserEventPayload252TeamRoles } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; + +let value: UserEventPayload252TeamRoles = "OWNER"; +``` + +## Values + +```typescript +"BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload25provider.md b/docs/models/usereventpayload25provider.md index e89817d528..a5fb944064 100644 --- a/docs/models/usereventpayload25provider.md +++ b/docs/models/usereventpayload25provider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { UserEventPayload25Provider } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload25Provider } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload25Provider = "stripe"; ``` diff --git a/docs/models/usereventpayload257next.md b/docs/models/usereventpayload260next.md similarity index 83% rename from docs/models/usereventpayload257next.md rename to docs/models/usereventpayload260next.md index 180500b602..78f3698731 100644 --- a/docs/models/usereventpayload257next.md +++ b/docs/models/usereventpayload260next.md @@ -1,12 +1,12 @@ -# UserEventPayload257Next +# UserEventPayload260Next ## Example Usage ```typescript -import { UserEventPayload257Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload260Next } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; -let value: UserEventPayload257Next = { - dsyncMode: "organization", +let value: UserEventPayload260Next = { + dsyncMode: "team", }; ``` diff --git a/docs/models/usereventpayload257previous.md b/docs/models/usereventpayload260previous.md similarity index 78% rename from docs/models/usereventpayload257previous.md rename to docs/models/usereventpayload260previous.md index ad6e0a8b66..253dbc45fd 100644 --- a/docs/models/usereventpayload257previous.md +++ b/docs/models/usereventpayload260previous.md @@ -1,12 +1,12 @@ -# UserEventPayload257Previous +# UserEventPayload260Previous ## Example Usage ```typescript -import { UserEventPayload257Previous } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload260Previous } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; -let value: UserEventPayload257Previous = { - dsyncMode: "team", +let value: UserEventPayload260Previous = { + dsyncMode: "organization", }; ``` diff --git a/docs/models/usereventpayload261mode.md b/docs/models/usereventpayload261mode.md deleted file mode 100644 index 7e3163cd13..0000000000 --- a/docs/models/usereventpayload261mode.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload261Mode - -## Example Usage - -```typescript -import { UserEventPayload261Mode } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload261Mode = "team"; -``` - -## Values - -```typescript -"organization" | "team" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload264mode.md b/docs/models/usereventpayload264mode.md new file mode 100644 index 0000000000..4c1afeabc0 --- /dev/null +++ b/docs/models/usereventpayload264mode.md @@ -0,0 +1,15 @@ +# UserEventPayload264Mode + +## Example Usage + +```typescript +import { UserEventPayload264Mode } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload264Mode = "organization"; +``` + +## Values + +```typescript +"organization" | "team" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload266next.md b/docs/models/usereventpayload269next.md similarity index 94% rename from docs/models/usereventpayload266next.md rename to docs/models/usereventpayload269next.md index cb5ac1b73d..23725311d2 100644 --- a/docs/models/usereventpayload266next.md +++ b/docs/models/usereventpayload269next.md @@ -1,16 +1,16 @@ -# UserEventPayload266Next +# UserEventPayload269Next ## Example Usage ```typescript -import { UserEventPayload266Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload269Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload266Next = { - allowUnsafeScriptSrcKeywords: true, - enabled: false, - enforcePercentage: 5168.86, +let value: UserEventPayload269Next = { + allowUnsafeScriptSrcKeywords: false, + enabled: true, + enforcePercentage: 3144.45, mode: "", - newResourceBlockingPolicy: "allow", + newResourceBlockingPolicy: "block", }; ``` diff --git a/docs/models/usereventpayload266previous.md b/docs/models/usereventpayload269previous.md similarity index 95% rename from docs/models/usereventpayload266previous.md rename to docs/models/usereventpayload269previous.md index 6f778b1897..bf2887992e 100644 --- a/docs/models/usereventpayload266previous.md +++ b/docs/models/usereventpayload269previous.md @@ -1,14 +1,14 @@ -# UserEventPayload266Previous +# UserEventPayload269Previous ## Example Usage ```typescript -import { UserEventPayload266Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload269Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload266Previous = { - allowUnsafeScriptSrcKeywords: false, +let value: UserEventPayload269Previous = { + allowUnsafeScriptSrcKeywords: true, enabled: true, - enforcePercentage: 1704.17, + enforcePercentage: 9890.76, mode: "", newResourceBlockingPolicy: "block", }; diff --git a/docs/models/usereventpayload26provider.md b/docs/models/usereventpayload26provider.md index f23eda8d63..66146ef54a 100644 --- a/docs/models/usereventpayload26provider.md +++ b/docs/models/usereventpayload26provider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { UserEventPayload26Provider } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload26Provider } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload26Provider = "stripe"; ``` diff --git a/docs/models/usereventpayload272type.md b/docs/models/usereventpayload272type.md deleted file mode 100644 index 542554270e..0000000000 --- a/docs/models/usereventpayload272type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload272Type - -## Example Usage - -```typescript -import { UserEventPayload272Type } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload272Type = "header"; -``` - -## Values - -```typescript -"header" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload273type.md b/docs/models/usereventpayload273type.md deleted file mode 100644 index 44839fdd17..0000000000 --- a/docs/models/usereventpayload273type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload273Type - -## Example Usage - -```typescript -import { UserEventPayload273Type } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload273Type = "connectSrc"; -``` - -## Values - -```typescript -"connectSrc" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload275type.md b/docs/models/usereventpayload275type.md new file mode 100644 index 0000000000..dcd219f121 --- /dev/null +++ b/docs/models/usereventpayload275type.md @@ -0,0 +1,15 @@ +# UserEventPayload275Type + +## Example Usage + +```typescript +import { UserEventPayload275Type } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload275Type = "header"; +``` + +## Values + +```typescript +"header" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload276type.md b/docs/models/usereventpayload276type.md new file mode 100644 index 0000000000..2b2f6a5134 --- /dev/null +++ b/docs/models/usereventpayload276type.md @@ -0,0 +1,15 @@ +# UserEventPayload276Type + +## Example Usage + +```typescript +import { UserEventPayload276Type } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload276Type = "connectSrc"; +``` + +## Values + +```typescript +"connectSrc" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload278deploymenttype.md b/docs/models/usereventpayload278deploymenttype.md deleted file mode 100644 index c45dc89bc3..0000000000 --- a/docs/models/usereventpayload278deploymenttype.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload278DeploymentType - -## Example Usage - -```typescript -import { UserEventPayload278DeploymentType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload278DeploymentType = - "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload278previousdeploymenttype.md b/docs/models/usereventpayload278previousdeploymenttype.md deleted file mode 100644 index 24082e16fe..0000000000 --- a/docs/models/usereventpayload278previousdeploymenttype.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload278PreviousDeploymentType - -## Example Usage - -```typescript -import { UserEventPayload278PreviousDeploymentType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload278PreviousDeploymentType = - "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload279deploymenttype.md b/docs/models/usereventpayload279deploymenttype.md deleted file mode 100644 index 889bac5d24..0000000000 --- a/docs/models/usereventpayload279deploymenttype.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload279DeploymentType - -## Example Usage - -```typescript -import { UserEventPayload279DeploymentType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload279DeploymentType = - "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload279next.md b/docs/models/usereventpayload279next.md deleted file mode 100644 index cadf03fa3a..0000000000 --- a/docs/models/usereventpayload279next.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload279Next - -## Example Usage - -```typescript -import { UserEventPayload279Next } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload279Next = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `passport` | [models.UserEventPayloadPassport](../models/usereventpayloadpassport.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload279previous.md b/docs/models/usereventpayload279previous.md deleted file mode 100644 index e323fe9c39..0000000000 --- a/docs/models/usereventpayload279previous.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload279Previous - -## Example Usage - -```typescript -import { UserEventPayload279Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload279Previous = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `passport` | [models.UserEventPayload279Passport](../models/usereventpayload279passport.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload279previousdeploymenttype.md b/docs/models/usereventpayload279previousdeploymenttype.md deleted file mode 100644 index 55f668e7a2..0000000000 --- a/docs/models/usereventpayload279previousdeploymenttype.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload279PreviousDeploymentType - -## Example Usage - -```typescript -import { UserEventPayload279PreviousDeploymentType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload279PreviousDeploymentType = - "prod_deployment_urls_and_all_previews"; -``` - -## Values - -```typescript -"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload279scope.md b/docs/models/usereventpayload279scope.md deleted file mode 100644 index 058e428b8c..0000000000 --- a/docs/models/usereventpayload279scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload279Scope - -## Example Usage - -```typescript -import { UserEventPayload279Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload279Scope = "organization"; -``` - -## Values - -```typescript -"organization" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload27provider.md b/docs/models/usereventpayload27provider.md index 937bd08d31..b5bbf89ac4 100644 --- a/docs/models/usereventpayload27provider.md +++ b/docs/models/usereventpayload27provider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { UserEventPayload27Provider } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload27Provider } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload27Provider = "chatgpt"; ``` diff --git a/docs/models/usereventpayload281deploymenttype.md b/docs/models/usereventpayload281deploymenttype.md new file mode 100644 index 0000000000..bce60cd7bc --- /dev/null +++ b/docs/models/usereventpayload281deploymenttype.md @@ -0,0 +1,15 @@ +# UserEventPayload281DeploymentType + +## Example Usage + +```typescript +import { UserEventPayload281DeploymentType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload281DeploymentType = "all_except_custom_domains"; +``` + +## Values + +```typescript +"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload278next.md b/docs/models/usereventpayload281next.md similarity index 78% rename from docs/models/usereventpayload278next.md rename to docs/models/usereventpayload281next.md index bf45d76ccc..91cab537a5 100644 --- a/docs/models/usereventpayload278next.md +++ b/docs/models/usereventpayload281next.md @@ -1,11 +1,11 @@ -# UserEventPayload278Next +# UserEventPayload281Next ## Example Usage ```typescript -import { UserEventPayload278Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload281Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload278Next = {}; +let value: UserEventPayload281Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload278previous.md b/docs/models/usereventpayload281previous.md similarity index 81% rename from docs/models/usereventpayload278previous.md rename to docs/models/usereventpayload281previous.md index 5c44fa4c61..6cce946c3a 100644 --- a/docs/models/usereventpayload278previous.md +++ b/docs/models/usereventpayload281previous.md @@ -1,11 +1,11 @@ -# UserEventPayload278Previous +# UserEventPayload281Previous ## Example Usage ```typescript -import { UserEventPayload278Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload281Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload278Previous = {}; +let value: UserEventPayload281Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload281previousdeploymenttype.md b/docs/models/usereventpayload281previousdeploymenttype.md new file mode 100644 index 0000000000..90ae764588 --- /dev/null +++ b/docs/models/usereventpayload281previousdeploymenttype.md @@ -0,0 +1,16 @@ +# UserEventPayload281PreviousDeploymentType + +## Example Usage + +```typescript +import { UserEventPayload281PreviousDeploymentType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload281PreviousDeploymentType = + "all_except_custom_domains"; +``` + +## Values + +```typescript +"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload282deploymenttype.md b/docs/models/usereventpayload282deploymenttype.md new file mode 100644 index 0000000000..ad2f799180 --- /dev/null +++ b/docs/models/usereventpayload282deploymenttype.md @@ -0,0 +1,15 @@ +# UserEventPayload282DeploymentType + +## Example Usage + +```typescript +import { UserEventPayload282DeploymentType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload282DeploymentType = "all"; +``` + +## Values + +```typescript +"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload282next.md b/docs/models/usereventpayload282next.md index d68b70fef1..87cb236abc 100644 --- a/docs/models/usereventpayload282next.md +++ b/docs/models/usereventpayload282next.md @@ -3,19 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayload282Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload282Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload282Next = { - envId: "", - perimeterId: "", -}; +let value: UserEventPayload282Next = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `enableBuilds` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. | -| `enableFunctions` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. Authorization does not enable a workload. | -| `envId` | *models.EnvId* | :heavy_check_mark: | N/A | -| `perimeterId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `passport` | [models.UserEventPayloadPassport](../models/usereventpayloadpassport.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload279passport.md b/docs/models/usereventpayload282passport.md similarity index 86% rename from docs/models/usereventpayload279passport.md rename to docs/models/usereventpayload282passport.md index 5a0d8176df..22ef9afa89 100644 --- a/docs/models/usereventpayload279passport.md +++ b/docs/models/usereventpayload282passport.md @@ -1,13 +1,13 @@ -# UserEventPayload279Passport +# UserEventPayload282Passport ## Example Usage ```typescript -import { UserEventPayload279Passport } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload282Passport } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload279Passport = { +let value: UserEventPayload282Passport = { connectorId: "", - deploymentType: "all", + deploymentType: "prod_deployment_urls_and_all_previews", }; ``` @@ -16,4 +16,4 @@ let value: UserEventPayload279Passport = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | `connectorId` | *string* | :heavy_check_mark: | N/A | -| `deploymentType` | [models.UserEventPayload279PreviousDeploymentType](../models/usereventpayload279previousdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload282PreviousDeploymentType](../models/usereventpayload282previousdeploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload282previous.md b/docs/models/usereventpayload282previous.md index ba9376efed..618ac9dc76 100644 --- a/docs/models/usereventpayload282previous.md +++ b/docs/models/usereventpayload282previous.md @@ -3,19 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayload282Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload282Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload282Previous = { - envId: "", - perimeterId: "", -}; +let value: UserEventPayload282Previous = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `enableBuilds` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. | -| `enableFunctions` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. Authorization does not enable a workload. | -| `envId` | *models.PayloadEnvId* | :heavy_check_mark: | N/A | -| `perimeterId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `passport` | [models.UserEventPayload282Passport](../models/usereventpayload282passport.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload282previousdeploymenttype.md b/docs/models/usereventpayload282previousdeploymenttype.md new file mode 100644 index 0000000000..f8d76decbc --- /dev/null +++ b/docs/models/usereventpayload282previousdeploymenttype.md @@ -0,0 +1,16 @@ +# UserEventPayload282PreviousDeploymentType + +## Example Usage + +```typescript +import { UserEventPayload282PreviousDeploymentType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload282PreviousDeploymentType = + "prod_deployment_urls_and_all_previews"; +``` + +## Values + +```typescript +"all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload282scope.md b/docs/models/usereventpayload282scope.md new file mode 100644 index 0000000000..0165b40c93 --- /dev/null +++ b/docs/models/usereventpayload282scope.md @@ -0,0 +1,15 @@ +# UserEventPayload282Scope + +## Example Usage + +```typescript +import { UserEventPayload282Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload282Scope = "organization"; +``` + +## Values + +```typescript +"organization" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload285next.md b/docs/models/usereventpayload285next.md new file mode 100644 index 0000000000..36f00da5f0 --- /dev/null +++ b/docs/models/usereventpayload285next.md @@ -0,0 +1,21 @@ +# UserEventPayload285Next + +## Example Usage + +```typescript +import { UserEventPayload285Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload285Next = { + envId: "production", + perimeterId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `enableBuilds` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. | +| `enableFunctions` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. Authorization does not enable a workload. | +| `envId` | *models.EnvId* | :heavy_check_mark: | N/A | +| `perimeterId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload285previous.md b/docs/models/usereventpayload285previous.md new file mode 100644 index 0000000000..21878963b9 --- /dev/null +++ b/docs/models/usereventpayload285previous.md @@ -0,0 +1,21 @@ +# UserEventPayload285Previous + +## Example Usage + +```typescript +import { UserEventPayload285Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload285Previous = { + envId: "production", + perimeterId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `enableBuilds` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. | +| `enableFunctions` | *boolean* | :heavy_minus_sign: | Explicit opt-in; missing values are false. Authorization does not enable a workload. | +| `envId` | *models.PayloadEnvId* | :heavy_check_mark: | N/A | +| `perimeterId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload283origin.md b/docs/models/usereventpayload286origin.md similarity index 69% rename from docs/models/usereventpayload283origin.md rename to docs/models/usereventpayload286origin.md index fa25038e07..b531894bc5 100644 --- a/docs/models/usereventpayload283origin.md +++ b/docs/models/usereventpayload286origin.md @@ -1,11 +1,11 @@ -# UserEventPayload283Origin +# UserEventPayload286Origin ## Example Usage ```typescript -import { UserEventPayload283Origin } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload286Origin } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload283Origin = "gitlab"; +let value: UserEventPayload286Origin = "nsnb-invite"; ``` ## Values diff --git a/docs/models/usereventpayload283role.md b/docs/models/usereventpayload286role.md similarity index 51% rename from docs/models/usereventpayload283role.md rename to docs/models/usereventpayload286role.md index 0e860a2ff5..d4dd59f04f 100644 --- a/docs/models/usereventpayload283role.md +++ b/docs/models/usereventpayload286role.md @@ -1,11 +1,11 @@ -# UserEventPayload283Role +# UserEventPayload286Role ## Example Usage ```typescript -import { UserEventPayload283Role } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload286Role } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload283Role = "VIEWER_FOR_PLUS"; +let value: UserEventPayload286Role = "VIEWER"; ``` ## Values diff --git a/docs/models/usereventpayload287actortype.md b/docs/models/usereventpayload287actortype.md deleted file mode 100644 index 5a423ebf69..0000000000 --- a/docs/models/usereventpayload287actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload287ActorType - -## Example Usage - -```typescript -import { UserEventPayload287ActorType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload287ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload284origin.md b/docs/models/usereventpayload287origin.md similarity index 67% rename from docs/models/usereventpayload284origin.md rename to docs/models/usereventpayload287origin.md index c4cf5bc5a2..d46e7e6fe3 100644 --- a/docs/models/usereventpayload284origin.md +++ b/docs/models/usereventpayload287origin.md @@ -1,11 +1,11 @@ -# UserEventPayload284Origin +# UserEventPayload287Origin ## Example Usage ```typescript -import { UserEventPayload284Origin } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload287Origin } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload284Origin = "teams"; +let value: UserEventPayload287Origin = "nsnb-redeploy-attribution-card"; ``` ## Values diff --git a/docs/models/usereventpayload249teamroles.md b/docs/models/usereventpayload287role.md similarity index 50% rename from docs/models/usereventpayload249teamroles.md rename to docs/models/usereventpayload287role.md index c3e3f27c67..66561a4e57 100644 --- a/docs/models/usereventpayload249teamroles.md +++ b/docs/models/usereventpayload287role.md @@ -1,11 +1,11 @@ -# UserEventPayload249TeamRoles +# UserEventPayload287Role ## Example Usage ```typescript -import { UserEventPayload249TeamRoles } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayload287Role } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload249TeamRoles = "VIEWER"; +let value: UserEventPayload287Role = "VIEWER_FOR_PLUS"; ``` ## Values diff --git a/docs/models/usereventpayload288scope.md b/docs/models/usereventpayload288scope.md deleted file mode 100644 index 2bcc79cc8c..0000000000 --- a/docs/models/usereventpayload288scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload288Scope - -## Example Usage - -```typescript -import { UserEventPayload288Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload288Scope = "network"; -``` - -## Values - -```typescript -"network" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload289scope.md b/docs/models/usereventpayload289scope.md deleted file mode 100644 index 1d5b1de6c1..0000000000 --- a/docs/models/usereventpayload289scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload289Scope - -## Example Usage - -```typescript -import { UserEventPayload289Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload289Scope = "project"; -``` - -## Values - -```typescript -"project" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload28provider.md b/docs/models/usereventpayload28provider.md index 28b08c0cf3..d612bbead8 100644 --- a/docs/models/usereventpayload28provider.md +++ b/docs/models/usereventpayload28provider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { UserEventPayload28Provider } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload28Provider } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload28Provider = "chatgpt"; ``` diff --git a/docs/models/usereventpayload290actortype.md b/docs/models/usereventpayload290actortype.md new file mode 100644 index 0000000000..960a059e5c --- /dev/null +++ b/docs/models/usereventpayload290actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload290ActorType + +## Example Usage + +```typescript +import { UserEventPayload290ActorType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload290ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload290scope.md b/docs/models/usereventpayload290scope.md deleted file mode 100644 index f6609f00d6..0000000000 --- a/docs/models/usereventpayload290scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload290Scope - -## Example Usage - -```typescript -import { UserEventPayload290Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload290Scope = "project"; -``` - -## Values - -```typescript -"project" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload291scope.md b/docs/models/usereventpayload291scope.md index 274a53dd76..c22ea3ae0a 100644 --- a/docs/models/usereventpayload291scope.md +++ b/docs/models/usereventpayload291scope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload291Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload291Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayload291Scope = "network"; ``` diff --git a/docs/models/usereventpayload292scope.md b/docs/models/usereventpayload292scope.md index 68219ea007..059859933f 100644 --- a/docs/models/usereventpayload292scope.md +++ b/docs/models/usereventpayload292scope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload292Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload292Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayload292Scope = "project"; ``` diff --git a/docs/models/usereventpayload293scope.md b/docs/models/usereventpayload293scope.md index d7254bbbf9..42ca125019 100644 --- a/docs/models/usereventpayload293scope.md +++ b/docs/models/usereventpayload293scope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload293Scope } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload293Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayload293Scope = "project"; ``` diff --git a/docs/models/usereventpayload294scope.md b/docs/models/usereventpayload294scope.md new file mode 100644 index 0000000000..a45cb23695 --- /dev/null +++ b/docs/models/usereventpayload294scope.md @@ -0,0 +1,15 @@ +# UserEventPayload294Scope + +## Example Usage + +```typescript +import { UserEventPayload294Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload294Scope = "network"; +``` + +## Values + +```typescript +"network" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload292prev.md b/docs/models/usereventpayload295prev.md similarity index 84% rename from docs/models/usereventpayload292prev.md rename to docs/models/usereventpayload295prev.md index bad40a1f21..3cdb63f440 100644 --- a/docs/models/usereventpayload292prev.md +++ b/docs/models/usereventpayload295prev.md @@ -1,11 +1,11 @@ -# UserEventPayload292Prev +# UserEventPayload295Prev ## Example Usage ```typescript -import { UserEventPayload292Prev } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload295Prev } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload292Prev = { +let value: UserEventPayload295Prev = { awsServiceName: "", id: "", name: "", diff --git a/docs/models/usereventpayload295scope.md b/docs/models/usereventpayload295scope.md new file mode 100644 index 0000000000..703a3c5696 --- /dev/null +++ b/docs/models/usereventpayload295scope.md @@ -0,0 +1,15 @@ +# UserEventPayload295Scope + +## Example Usage + +```typescript +import { UserEventPayload295Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload295Scope = "project"; +``` + +## Values + +```typescript +"project" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload296scope.md b/docs/models/usereventpayload296scope.md new file mode 100644 index 0000000000..2bce486722 --- /dev/null +++ b/docs/models/usereventpayload296scope.md @@ -0,0 +1,15 @@ +# UserEventPayload296Scope + +## Example Usage + +```typescript +import { UserEventPayload296Scope } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload296Scope = "project"; +``` + +## Values + +```typescript +"project" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload298action.md b/docs/models/usereventpayload298action.md deleted file mode 100644 index 54506113a1..0000000000 --- a/docs/models/usereventpayload298action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload298Action - -## Example Usage - -```typescript -import { UserEventPayload298Action } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload298Action = "regenerated"; -``` - -## Values - -```typescript -"disabled" | "enabled" | "regenerated" | "updated" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload301action.md b/docs/models/usereventpayload301action.md new file mode 100644 index 0000000000..53f3305afe --- /dev/null +++ b/docs/models/usereventpayload301action.md @@ -0,0 +1,15 @@ +# UserEventPayload301Action + +## Example Usage + +```typescript +import { UserEventPayload301Action } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload301Action = "enabled"; +``` + +## Values + +```typescript +"disabled" | "enabled" | "regenerated" | "updated" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload303next.md b/docs/models/usereventpayload306next.md similarity index 51% rename from docs/models/usereventpayload303next.md rename to docs/models/usereventpayload306next.md index b554634460..e0ce12b5db 100644 --- a/docs/models/usereventpayload303next.md +++ b/docs/models/usereventpayload306next.md @@ -1,11 +1,11 @@ -# UserEventPayload303Next +# UserEventPayload306Next ## Example Usage ```typescript -import { UserEventPayload303Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload306Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload303Next = {}; +let value: UserEventPayload306Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload306previous.md b/docs/models/usereventpayload306previous.md new file mode 100644 index 0000000000..19f6fd76a2 --- /dev/null +++ b/docs/models/usereventpayload306previous.md @@ -0,0 +1,14 @@ +# UserEventPayload306Previous + +## Example Usage + +```typescript +import { UserEventPayload306Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload306Previous = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/usereventpayload310envid.md b/docs/models/usereventpayload310envid.md deleted file mode 100644 index d900d8d1fc..0000000000 --- a/docs/models/usereventpayload310envid.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload310EnvId - - -## Supported Types - -### `string` - -```typescript -const value: string = ""; -``` - -### `models.UserEventEnvIdPayload3102` - -```typescript -const value: models.UserEventEnvIdPayload3102 = "production"; -``` - diff --git a/docs/models/usereventpayload312action.md b/docs/models/usereventpayload312action.md deleted file mode 100644 index 64c3122c81..0000000000 --- a/docs/models/usereventpayload312action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload312Action - -## Example Usage - -```typescript -import { UserEventPayload312Action } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload312Action = "disabled"; -``` - -## Values - -```typescript -"disabled" | "enabled" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload313envid.md b/docs/models/usereventpayload313envid.md new file mode 100644 index 0000000000..37d523cc77 --- /dev/null +++ b/docs/models/usereventpayload313envid.md @@ -0,0 +1,17 @@ +# UserEventPayload313EnvId + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UserEventEnvIdPayload3132` + +```typescript +const value: models.UserEventEnvIdPayload3132 = "preview"; +``` + diff --git a/docs/models/usereventpayload310project.md b/docs/models/usereventpayload313project.md similarity index 83% rename from docs/models/usereventpayload310project.md rename to docs/models/usereventpayload313project.md index 30ffe7e587..6501cc68a4 100644 --- a/docs/models/usereventpayload310project.md +++ b/docs/models/usereventpayload313project.md @@ -1,13 +1,22 @@ -# UserEventPayload310Project +# UserEventPayload313Project ## Example Usage ```typescript -import { UserEventPayload310Project } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload313Project } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload310Project = { +let value: UserEventPayload313Project = { id: "", - newConnectConfigurations: null, + newConnectConfigurations: [ + { + buildsEnabled: true, + connectConfigurationId: "", + createdAt: 4721.36, + envId: "production", + passive: true, + updatedAt: 452.34, + }, + ], oldConnectConfigurations: [], }; ``` diff --git a/docs/models/usereventpayload420store.md b/docs/models/usereventpayload313team.md similarity index 73% rename from docs/models/usereventpayload420store.md rename to docs/models/usereventpayload313team.md index cc39b85024..b2b0b2429e 100644 --- a/docs/models/usereventpayload420store.md +++ b/docs/models/usereventpayload313team.md @@ -1,11 +1,11 @@ -# UserEventPayload420Store +# UserEventPayload313Team ## Example Usage ```typescript -import { UserEventPayload420Store } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload313Team } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload420Store = { +let value: UserEventPayload313Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload315action.md b/docs/models/usereventpayload315action.md new file mode 100644 index 0000000000..c93f20b5eb --- /dev/null +++ b/docs/models/usereventpayload315action.md @@ -0,0 +1,15 @@ +# UserEventPayload315Action + +## Example Usage + +```typescript +import { UserEventPayload315Action } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload315Action = "disabled"; +``` + +## Values + +```typescript +"disabled" | "enabled" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload317previoustype.md b/docs/models/usereventpayload317previoustype.md deleted file mode 100644 index 645774dd09..0000000000 --- a/docs/models/usereventpayload317previoustype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload317PreviousType - -The type of matching to perform - -## Example Usage - -```typescript -import { UserEventPayload317PreviousType } from "@vercel/sdk/models/payloaddsyncmode.js"; - -let value: UserEventPayload317PreviousType = "endsWith"; -``` - -## Values - -```typescript -"endsWith" | "equals" | "startsWith" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload317type.md b/docs/models/usereventpayload317type.md deleted file mode 100644 index ed3b554ddd..0000000000 --- a/docs/models/usereventpayload317type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload317Type - -The type of matching to perform - -## Example Usage - -```typescript -import { UserEventPayload317Type } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload317Type = "endsWith"; -``` - -## Values - -```typescript -"endsWith" | "equals" | "startsWith" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload31kind.md b/docs/models/usereventpayload31kind.md index 98825c5608..7b61f315fd 100644 --- a/docs/models/usereventpayload31kind.md +++ b/docs/models/usereventpayload31kind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload31Kind } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload31Kind } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload31Kind = "iam-access-group"; ``` diff --git a/docs/models/usereventpayload317next.md b/docs/models/usereventpayload320next.md similarity index 81% rename from docs/models/usereventpayload317next.md rename to docs/models/usereventpayload320next.md index bfa9cc0474..59d2bb8fbb 100644 --- a/docs/models/usereventpayload317next.md +++ b/docs/models/usereventpayload320next.md @@ -1,11 +1,11 @@ -# UserEventPayload317Next +# UserEventPayload320Next ## Example Usage ```typescript -import { UserEventPayload317Next } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload320Next } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload317Next = {}; +let value: UserEventPayload320Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload317previous.md b/docs/models/usereventpayload320previous.md similarity index 83% rename from docs/models/usereventpayload317previous.md rename to docs/models/usereventpayload320previous.md index 9a6f50eef8..d0a8d42eba 100644 --- a/docs/models/usereventpayload317previous.md +++ b/docs/models/usereventpayload320previous.md @@ -1,11 +1,11 @@ -# UserEventPayload317Previous +# UserEventPayload320Previous ## Example Usage ```typescript -import { UserEventPayload317Previous } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload320Previous } from "@vercel/sdk/models/twohundredandsixtytwo.js"; -let value: UserEventPayload317Previous = {}; +let value: UserEventPayload320Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload320previoustype.md b/docs/models/usereventpayload320previoustype.md new file mode 100644 index 0000000000..8c8db1c77e --- /dev/null +++ b/docs/models/usereventpayload320previoustype.md @@ -0,0 +1,17 @@ +# UserEventPayload320PreviousType + +The type of matching to perform + +## Example Usage + +```typescript +import { UserEventPayload320PreviousType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload320PreviousType = "endsWith"; +``` + +## Values + +```typescript +"endsWith" | "equals" | "startsWith" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload320type.md b/docs/models/usereventpayload320type.md new file mode 100644 index 0000000000..bd42a83b12 --- /dev/null +++ b/docs/models/usereventpayload320type.md @@ -0,0 +1,17 @@ +# UserEventPayload320Type + +The type of matching to perform + +## Example Usage + +```typescript +import { UserEventPayload320Type } from "@vercel/sdk/models/twohundredandsixtytwo.js"; + +let value: UserEventPayload320Type = "equals"; +``` + +## Values + +```typescript +"endsWith" | "equals" | "startsWith" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload322next.md b/docs/models/usereventpayload322next.md deleted file mode 100644 index a29dffb08f..0000000000 --- a/docs/models/usereventpayload322next.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload322Next - -## Example Usage - -```typescript -import { UserEventPayload322Next } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload322Next = { - functionDefaultTimeout: 5878.75, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `functionDefaultTimeout` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload322previous.md b/docs/models/usereventpayload322previous.md deleted file mode 100644 index 2d129c8ea0..0000000000 --- a/docs/models/usereventpayload322previous.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload322Previous - -## Example Usage - -```typescript -import { UserEventPayload322Previous } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload322Previous = { - functionDefaultTimeout: 885.42, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `functionDefaultTimeout` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload325next.md b/docs/models/usereventpayload325next.md index 76f3e1266e..975db1b531 100644 --- a/docs/models/usereventpayload325next.md +++ b/docs/models/usereventpayload325next.md @@ -3,15 +3,15 @@ ## Example Usage ```typescript -import { UserEventPayload325Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload325Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload325Next = { - functionZeroConfigFailover: false, + functionDefaultTimeout: 6141.59, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `functionZeroConfigFailover` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `functionDefaultTimeout` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload325previous.md b/docs/models/usereventpayload325previous.md index 23162ec2d8..85bd8edabf 100644 --- a/docs/models/usereventpayload325previous.md +++ b/docs/models/usereventpayload325previous.md @@ -3,15 +3,15 @@ ## Example Usage ```typescript -import { UserEventPayload325Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload325Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload325Previous = { - functionZeroConfigFailover: true, + functionDefaultTimeout: 4018.96, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `functionZeroConfigFailover` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `functionDefaultTimeout` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload323next.md b/docs/models/usereventpayload326next.md similarity index 74% rename from docs/models/usereventpayload323next.md rename to docs/models/usereventpayload326next.md index d7f0716ba6..95f6ad8a9b 100644 --- a/docs/models/usereventpayload323next.md +++ b/docs/models/usereventpayload326next.md @@ -1,11 +1,11 @@ -# UserEventPayload323Next +# UserEventPayload326Next ## Example Usage ```typescript -import { UserEventPayload323Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload326Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload323Next = { +let value: UserEventPayload326Next = { functionDefaultMemoryType: "", }; ``` diff --git a/docs/models/usereventpayload323previous.md b/docs/models/usereventpayload326previous.md similarity index 66% rename from docs/models/usereventpayload323previous.md rename to docs/models/usereventpayload326previous.md index 1435110072..f43e5d8607 100644 --- a/docs/models/usereventpayload323previous.md +++ b/docs/models/usereventpayload326previous.md @@ -1,12 +1,12 @@ -# UserEventPayload323Previous +# UserEventPayload326Previous ## Example Usage ```typescript -import { UserEventPayload323Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload326Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload323Previous = { - functionDefaultMemoryType: null, +let value: UserEventPayload326Previous = { + functionDefaultMemoryType: "", }; ``` diff --git a/docs/models/usereventpayload324previous.md b/docs/models/usereventpayload327next.md similarity index 69% rename from docs/models/usereventpayload324previous.md rename to docs/models/usereventpayload327next.md index 5fa310448e..6af03b6722 100644 --- a/docs/models/usereventpayload324previous.md +++ b/docs/models/usereventpayload327next.md @@ -1,13 +1,15 @@ -# UserEventPayload324Previous +# UserEventPayload327Next ## Example Usage ```typescript -import { UserEventPayload324Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload327Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload324Previous = { +let value: UserEventPayload327Next = { functionDefaultRegions: [ "", + "", + "", ], }; ``` diff --git a/docs/models/usereventpayload324next.md b/docs/models/usereventpayload327previous.md similarity index 72% rename from docs/models/usereventpayload324next.md rename to docs/models/usereventpayload327previous.md index 232b3151dc..7d07f71bb3 100644 --- a/docs/models/usereventpayload324next.md +++ b/docs/models/usereventpayload327previous.md @@ -1,11 +1,11 @@ -# UserEventPayload324Next +# UserEventPayload327Previous ## Example Usage ```typescript -import { UserEventPayload324Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload327Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload324Next = { +let value: UserEventPayload327Previous = { functionDefaultRegions: [ "", "", diff --git a/docs/models/usereventpayload328next.md b/docs/models/usereventpayload328next.md index c35cfb18df..d162053813 100644 --- a/docs/models/usereventpayload328next.md +++ b/docs/models/usereventpayload328next.md @@ -3,19 +3,15 @@ ## Example Usage ```typescript -import { UserEventPayload328Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload328Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload328Next = { - gitProvider: "bitbucket", - gitRepoId: "", - gitRepositoryName: "", + functionZeroConfigFailover: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `gitProvider` | [models.UserEventPayloadGitProvider](../models/usereventpayloadgitprovider.md) | :heavy_check_mark: | N/A | -| `gitRepoId` | *string* | :heavy_check_mark: | N/A | -| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `functionZeroConfigFailover` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload328previous.md b/docs/models/usereventpayload328previous.md index a7a5d11d2b..c4346ee848 100644 --- a/docs/models/usereventpayload328previous.md +++ b/docs/models/usereventpayload328previous.md @@ -3,19 +3,15 @@ ## Example Usage ```typescript -import { UserEventPayload328Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload328Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload328Previous = { - gitProvider: "cursor-origin", - gitRepoId: "", - gitRepositoryName: "", + functionZeroConfigFailover: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `gitProvider` | [models.PayloadGitProvider](../models/payloadgitprovider.md) | :heavy_check_mark: | N/A | -| `gitRepoId` | *string* | :heavy_check_mark: | N/A | -| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `functionZeroConfigFailover` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload32apikey.md b/docs/models/usereventpayload32apikey.md index 7b58157cd4..9b4151a990 100644 --- a/docs/models/usereventpayload32apikey.md +++ b/docs/models/usereventpayload32apikey.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload32ApiKey } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload32ApiKey } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload32ApiKey = { id: "", diff --git a/docs/models/usereventpayload331next.md b/docs/models/usereventpayload331next.md new file mode 100644 index 0000000000..b7417d6394 --- /dev/null +++ b/docs/models/usereventpayload331next.md @@ -0,0 +1,21 @@ +# UserEventPayload331Next + +## Example Usage + +```typescript +import { UserEventPayload331Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload331Next = { + gitProvider: "v0", + gitRepoId: "", + gitRepositoryName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `gitProvider` | [models.UserEventPayloadGitProvider](../models/usereventpayloadgitprovider.md) | :heavy_check_mark: | N/A | +| `gitRepoId` | *string* | :heavy_check_mark: | N/A | +| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload331previous.md b/docs/models/usereventpayload331previous.md new file mode 100644 index 0000000000..f502873ddc --- /dev/null +++ b/docs/models/usereventpayload331previous.md @@ -0,0 +1,21 @@ +# UserEventPayload331Previous + +## Example Usage + +```typescript +import { UserEventPayload331Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload331Previous = { + gitProvider: "github-limited", + gitRepoId: "", + gitRepositoryName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `gitProvider` | [models.PayloadGitProvider](../models/payloadgitprovider.md) | :heavy_check_mark: | N/A | +| `gitRepoId` | *string* | :heavy_check_mark: | N/A | +| `gitRepositoryName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload340next.md b/docs/models/usereventpayload343next.md similarity index 73% rename from docs/models/usereventpayload340next.md rename to docs/models/usereventpayload343next.md index 487c119034..5ab6eb019e 100644 --- a/docs/models/usereventpayload340next.md +++ b/docs/models/usereventpayload343next.md @@ -1,11 +1,11 @@ -# UserEventPayload340Next +# UserEventPayload343Next ## Example Usage ```typescript -import { UserEventPayload340Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload343Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload340Next = {}; +let value: UserEventPayload343Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload340previous.md b/docs/models/usereventpayload343previous.md similarity index 72% rename from docs/models/usereventpayload340previous.md rename to docs/models/usereventpayload343previous.md index 1526fbdd67..d9abf15483 100644 --- a/docs/models/usereventpayload340previous.md +++ b/docs/models/usereventpayload343previous.md @@ -1,11 +1,11 @@ -# UserEventPayload340Previous +# UserEventPayload343Previous ## Example Usage ```typescript -import { UserEventPayload340Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload343Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload340Previous = {}; +let value: UserEventPayload343Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload347role.md b/docs/models/usereventpayload347role.md deleted file mode 100644 index 0dcf68ae35..0000000000 --- a/docs/models/usereventpayload347role.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload347Role - -## Example Usage - -```typescript -import { UserEventPayload347Role } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload347Role = "PROJECT_VIEWER"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload348role.md b/docs/models/usereventpayload348role.md deleted file mode 100644 index 3f90bcb297..0000000000 --- a/docs/models/usereventpayload348role.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload348Role - -## Example Usage - -```typescript -import { UserEventPayload348Role } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload348Role = "PROJECT_VIEWER"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload349project.md b/docs/models/usereventpayload349project.md deleted file mode 100644 index 623f94a535..0000000000 --- a/docs/models/usereventpayload349project.md +++ /dev/null @@ -1,18 +0,0 @@ -# UserEventPayload349Project - -## Example Usage - -```typescript -import { UserEventPayload349Project } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload349Project = { - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload349role.md b/docs/models/usereventpayload349role.md deleted file mode 100644 index 35a69a617d..0000000000 --- a/docs/models/usereventpayload349role.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload349Role - -## Example Usage - -```typescript -import { UserEventPayload349Role } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload349Role = "PROJECT_DEVELOPER"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload34refreshperiod.md b/docs/models/usereventpayload34refreshperiod.md index 007122eb33..5b59225414 100644 --- a/docs/models/usereventpayload34refreshperiod.md +++ b/docs/models/usereventpayload34refreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload34RefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload34RefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload34RefreshPeriod = "none"; ``` diff --git a/docs/models/usereventpayload350project.md b/docs/models/usereventpayload350project.md index df0ba79e07..74ced073ea 100644 --- a/docs/models/usereventpayload350project.md +++ b/docs/models/usereventpayload350project.md @@ -3,10 +3,9 @@ ## Example Usage ```typescript -import { UserEventPayload350Project } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload350Project } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload350Project = { - id: "", name: "", }; ``` @@ -15,5 +14,5 @@ let value: UserEventPayload350Project = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload350role.md b/docs/models/usereventpayload350role.md index 7b443c0b70..536b202fcc 100644 --- a/docs/models/usereventpayload350role.md +++ b/docs/models/usereventpayload350role.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload350Role } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload350Role } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload350Role = "PROJECT_GUEST"; ``` diff --git a/docs/models/usereventpayload348project.md b/docs/models/usereventpayload351project.md similarity index 86% rename from docs/models/usereventpayload348project.md rename to docs/models/usereventpayload351project.md index eeb7a70431..20867d2747 100644 --- a/docs/models/usereventpayload348project.md +++ b/docs/models/usereventpayload351project.md @@ -1,14 +1,14 @@ -# UserEventPayload348Project +# UserEventPayload351Project ## Example Usage ```typescript -import { UserEventPayload348Project } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload351Project } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload348Project = { +let value: UserEventPayload351Project = { invitedUserName: "", name: "", - role: "PROJECT_VIEWER", + role: "PROJECT_GUEST", }; ``` @@ -20,4 +20,4 @@ let value: UserEventPayload348Project = { | `invitedUserId` | *string* | :heavy_minus_sign: | N/A | | `invitedUserName` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `role` | [models.UserEventPayload348Role](../models/usereventpayload348role.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `role` | [models.UserEventPayload351Role](../models/usereventpayload351role.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload351role.md b/docs/models/usereventpayload351role.md new file mode 100644 index 0000000000..01ec2314fe --- /dev/null +++ b/docs/models/usereventpayload351role.md @@ -0,0 +1,15 @@ +# UserEventPayload351Role + +## Example Usage + +```typescript +import { UserEventPayload351Role } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload351Role = "PROJECT_GUEST"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload347project.md b/docs/models/usereventpayload352project.md similarity index 71% rename from docs/models/usereventpayload347project.md rename to docs/models/usereventpayload352project.md index 6aa2edc4b6..864ac6c37b 100644 --- a/docs/models/usereventpayload347project.md +++ b/docs/models/usereventpayload352project.md @@ -1,11 +1,11 @@ -# UserEventPayload347Project +# UserEventPayload352Project ## Example Usage ```typescript -import { UserEventPayload347Project } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload352Project } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload347Project = { +let value: UserEventPayload352Project = { name: "", }; ``` diff --git a/docs/models/usereventpayload352role.md b/docs/models/usereventpayload352role.md new file mode 100644 index 0000000000..714e6b8f5b --- /dev/null +++ b/docs/models/usereventpayload352role.md @@ -0,0 +1,15 @@ +# UserEventPayload352Role + +## Example Usage + +```typescript +import { UserEventPayload352Role } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload352Role = "ADMIN"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload113team.md b/docs/models/usereventpayload353project.md similarity index 72% rename from docs/models/usereventpayload113team.md rename to docs/models/usereventpayload353project.md index 49050f530f..50a2c3b5b3 100644 --- a/docs/models/usereventpayload113team.md +++ b/docs/models/usereventpayload353project.md @@ -1,11 +1,11 @@ -# UserEventPayload113Team +# UserEventPayload353Project ## Example Usage ```typescript -import { UserEventPayload113Team } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload353Project } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload113Team = { +let value: UserEventPayload353Project = { id: "", name: "", }; diff --git a/docs/models/usereventpayload353role.md b/docs/models/usereventpayload353role.md new file mode 100644 index 0000000000..7209158bf8 --- /dev/null +++ b/docs/models/usereventpayload353role.md @@ -0,0 +1,15 @@ +# UserEventPayload353Role + +## Example Usage + +```typescript +import { UserEventPayload353Role } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload353Role = "PROJECT_DEVELOPER"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload442next.md b/docs/models/usereventpayload369next.md similarity index 72% rename from docs/models/usereventpayload442next.md rename to docs/models/usereventpayload369next.md index 85d6229654..3bf77247ff 100644 --- a/docs/models/usereventpayload442next.md +++ b/docs/models/usereventpayload369next.md @@ -1,11 +1,11 @@ -# UserEventPayload442Next +# UserEventPayload369Next ## Example Usage ```typescript -import { UserEventPayload442Next } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload369Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload442Next = {}; +let value: UserEventPayload369Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload442previous.md b/docs/models/usereventpayload369previous.md similarity index 70% rename from docs/models/usereventpayload442previous.md rename to docs/models/usereventpayload369previous.md index fbeb1428d0..71fe657a43 100644 --- a/docs/models/usereventpayload442previous.md +++ b/docs/models/usereventpayload369previous.md @@ -1,11 +1,11 @@ -# UserEventPayload442Previous +# UserEventPayload369Previous ## Example Usage ```typescript -import { UserEventPayload442Previous } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload369Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload442Previous = {}; +let value: UserEventPayload369Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload36previousbudgetrefreshperiod.md b/docs/models/usereventpayload36previousbudgetrefreshperiod.md index daaf314a35..e47f4331a0 100644 --- a/docs/models/usereventpayload36previousbudgetrefreshperiod.md +++ b/docs/models/usereventpayload36previousbudgetrefreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload36PreviousBudgetRefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload36PreviousBudgetRefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload36PreviousBudgetRefreshPeriod = "monthly"; ``` diff --git a/docs/models/usereventpayload36refreshperiod.md b/docs/models/usereventpayload36refreshperiod.md index df1365affc..31479283bc 100644 --- a/docs/models/usereventpayload36refreshperiod.md +++ b/docs/models/usereventpayload36refreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload36RefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload36RefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload36RefreshPeriod = "none"; ``` diff --git a/docs/models/usereventpayload368next.md b/docs/models/usereventpayload371next.md similarity index 77% rename from docs/models/usereventpayload368next.md rename to docs/models/usereventpayload371next.md index c74366ca8d..9acb95852a 100644 --- a/docs/models/usereventpayload368next.md +++ b/docs/models/usereventpayload371next.md @@ -1,12 +1,12 @@ -# UserEventPayload368Next +# UserEventPayload371Next ## Example Usage ```typescript -import { UserEventPayload368Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload371Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload368Next = { - issuerMode: "team", +let value: UserEventPayload371Next = { + issuerMode: "global", }; ``` diff --git a/docs/models/usereventpayload368previous.md b/docs/models/usereventpayload371previous.md similarity index 82% rename from docs/models/usereventpayload368previous.md rename to docs/models/usereventpayload371previous.md index bccaf677d1..80e12a3021 100644 --- a/docs/models/usereventpayload368previous.md +++ b/docs/models/usereventpayload371previous.md @@ -1,11 +1,11 @@ -# UserEventPayload368Previous +# UserEventPayload371Previous ## Example Usage ```typescript -import { UserEventPayload368Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload371Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload368Previous = {}; +let value: UserEventPayload371Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload374next.md b/docs/models/usereventpayload374next.md deleted file mode 100644 index fe64108b13..0000000000 --- a/docs/models/usereventpayload374next.md +++ /dev/null @@ -1,18 +0,0 @@ -# UserEventPayload374Next - -## Example Usage - -```typescript -import { UserEventPayload374Next } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload374Next = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `expiration` | *string* | :heavy_minus_sign: | N/A | -| `expirationCanceled` | *string* | :heavy_minus_sign: | N/A | -| `expirationErrored` | *string* | :heavy_minus_sign: | N/A | -| `expirationProduction` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload374previous.md b/docs/models/usereventpayload374previous.md deleted file mode 100644 index e485d3090e..0000000000 --- a/docs/models/usereventpayload374previous.md +++ /dev/null @@ -1,18 +0,0 @@ -# UserEventPayload374Previous - -## Example Usage - -```typescript -import { UserEventPayload374Previous } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload374Previous = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `expiration` | *string* | :heavy_minus_sign: | N/A | -| `expirationCanceled` | *string* | :heavy_minus_sign: | N/A | -| `expirationErrored` | *string* | :heavy_minus_sign: | N/A | -| `expirationProduction` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload376next.md b/docs/models/usereventpayload376next.md deleted file mode 100644 index c24405da5e..0000000000 --- a/docs/models/usereventpayload376next.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload376Next - -## Example Usage - -```typescript -import { UserEventPayload376Next } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload376Next = { - skewProtectionMaxAge: 3967.52, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `skewProtectionMaxAge` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload376previous.md b/docs/models/usereventpayload376previous.md deleted file mode 100644 index 6dfc466cf8..0000000000 --- a/docs/models/usereventpayload376previous.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload376Previous - -## Example Usage - -```typescript -import { UserEventPayload376Previous } from "@vercel/sdk/models/usereventpayload317type.js"; - -let value: UserEventPayload376Previous = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload377next.md b/docs/models/usereventpayload377next.md index 1adff6f325..7c859f8af2 100644 --- a/docs/models/usereventpayload377next.md +++ b/docs/models/usereventpayload377next.md @@ -3,17 +3,16 @@ ## Example Usage ```typescript -import { UserEventPayload377Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload377Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload377Next = { - skewProtectionAllowedDomains: [ - "", - ], -}; +let value: UserEventPayload377Next = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `skewProtectionAllowedDomains` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `expiration` | *string* | :heavy_minus_sign: | N/A | +| `expirationCanceled` | *string* | :heavy_minus_sign: | N/A | +| `expirationErrored` | *string* | :heavy_minus_sign: | N/A | +| `expirationProduction` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload377previous.md b/docs/models/usereventpayload377previous.md index b61dc58533..f8e35b2e22 100644 --- a/docs/models/usereventpayload377previous.md +++ b/docs/models/usereventpayload377previous.md @@ -3,13 +3,16 @@ ## Example Usage ```typescript -import { UserEventPayload377Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload377Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload377Previous = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `skewProtectionAllowedDomains` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `expiration` | *string* | :heavy_minus_sign: | N/A | +| `expirationCanceled` | *string* | :heavy_minus_sign: | N/A | +| `expirationErrored` | *string* | :heavy_minus_sign: | N/A | +| `expirationProduction` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload375next.md b/docs/models/usereventpayload378next.md similarity index 67% rename from docs/models/usereventpayload375next.md rename to docs/models/usereventpayload378next.md index d8a26ba6a3..448d2be0b0 100644 --- a/docs/models/usereventpayload375next.md +++ b/docs/models/usereventpayload378next.md @@ -1,12 +1,12 @@ -# UserEventPayload375Next +# UserEventPayload378Next ## Example Usage ```typescript -import { UserEventPayload375Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload378Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload375Next = { - skewProtectionBoundaryAt: 7783.11, +let value: UserEventPayload378Next = { + skewProtectionBoundaryAt: 261.28, }; ``` diff --git a/docs/models/usereventpayload375previous.md b/docs/models/usereventpayload378previous.md similarity index 70% rename from docs/models/usereventpayload375previous.md rename to docs/models/usereventpayload378previous.md index dd37d9c59c..bbd8cdc858 100644 --- a/docs/models/usereventpayload375previous.md +++ b/docs/models/usereventpayload378previous.md @@ -1,11 +1,11 @@ -# UserEventPayload375Previous +# UserEventPayload378Previous ## Example Usage ```typescript -import { UserEventPayload375Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload378Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload375Previous = {}; +let value: UserEventPayload378Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload379next.md b/docs/models/usereventpayload379next.md index 1876f1d5e1..db7b1265f6 100644 --- a/docs/models/usereventpayload379next.md +++ b/docs/models/usereventpayload379next.md @@ -3,19 +3,15 @@ ## Example Usage ```typescript -import { UserEventPayload379Next } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload379Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayload379Next = { - project: { - staticIps: { - enabled: false, - }, - }, + skewProtectionMaxAge: 416.95, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload379Project](../models/usereventpayload379project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `skewProtectionMaxAge` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload379previous.md b/docs/models/usereventpayload379previous.md index 09e5a7bf52..126ef61f2a 100644 --- a/docs/models/usereventpayload379previous.md +++ b/docs/models/usereventpayload379previous.md @@ -3,19 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayload379Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload379Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload379Previous = { - project: { - staticIps: { - enabled: false, - }, - }, -}; +let value: UserEventPayload379Previous = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload379PreviousProject](../models/usereventpayload379previousproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload37budget.md b/docs/models/usereventpayload37budget.md index cb3b4570c3..5e7164f202 100644 --- a/docs/models/usereventpayload37budget.md +++ b/docs/models/usereventpayload37budget.md @@ -5,7 +5,7 @@ Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in ## Example Usage ```typescript -import { UserEventPayload37Budget } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload37Budget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload37Budget = { limitAmount: 4209.73, @@ -18,5 +18,6 @@ let value: UserEventPayload37Budget = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | | `refreshPeriod` | [models.UserEventPayload37RefreshPeriod](../models/usereventpayload37refreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload37change.md b/docs/models/usereventpayload37change.md index a5cf528e80..e1ef4e5ec4 100644 --- a/docs/models/usereventpayload37change.md +++ b/docs/models/usereventpayload37change.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload37Change } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload37Change } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload37Change = "enable"; ``` diff --git a/docs/models/usereventpayload37previousbudgetrefreshperiod.md b/docs/models/usereventpayload37previousbudgetrefreshperiod.md index 6024c1f760..fc1b38f637 100644 --- a/docs/models/usereventpayload37previousbudgetrefreshperiod.md +++ b/docs/models/usereventpayload37previousbudgetrefreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload37PreviousBudgetRefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload37PreviousBudgetRefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload37PreviousBudgetRefreshPeriod = "daily"; ``` diff --git a/docs/models/usereventpayload37refreshperiod.md b/docs/models/usereventpayload37refreshperiod.md index 37cb4ef74d..c582ae5e6a 100644 --- a/docs/models/usereventpayload37refreshperiod.md +++ b/docs/models/usereventpayload37refreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload37RefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload37RefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload37RefreshPeriod = "weekly"; ``` diff --git a/docs/models/usereventpayload380next.md b/docs/models/usereventpayload380next.md new file mode 100644 index 0000000000..15d2e5c33f --- /dev/null +++ b/docs/models/usereventpayload380next.md @@ -0,0 +1,21 @@ +# UserEventPayload380Next + +## Example Usage + +```typescript +import { UserEventPayload380Next } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload380Next = { + skewProtectionAllowedDomains: [ + "", + "", + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `skewProtectionAllowedDomains` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload380previous.md b/docs/models/usereventpayload380previous.md new file mode 100644 index 0000000000..cb61974e6f --- /dev/null +++ b/docs/models/usereventpayload380previous.md @@ -0,0 +1,15 @@ +# UserEventPayload380Previous + +## Example Usage + +```typescript +import { UserEventPayload380Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload380Previous = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `skewProtectionAllowedDomains` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload382next.md b/docs/models/usereventpayload382next.md new file mode 100644 index 0000000000..56426c3601 --- /dev/null +++ b/docs/models/usereventpayload382next.md @@ -0,0 +1,21 @@ +# UserEventPayload382Next + +## Example Usage + +```typescript +import { UserEventPayload382Next } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload382Next = { + project: { + staticIps: { + enabled: true, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload382Project](../models/usereventpayload382project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload382previous.md b/docs/models/usereventpayload382previous.md new file mode 100644 index 0000000000..ac83d30072 --- /dev/null +++ b/docs/models/usereventpayload382previous.md @@ -0,0 +1,21 @@ +# UserEventPayload382Previous + +## Example Usage + +```typescript +import { UserEventPayload382Previous } from "@vercel/sdk/models/threehundredandtwentyfour.js"; + +let value: UserEventPayload382Previous = { + project: { + staticIps: { + enabled: false, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload382PreviousProject](../models/usereventpayload382previousproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload379previousproject.md b/docs/models/usereventpayload382previousproject.md similarity index 84% rename from docs/models/usereventpayload379previousproject.md rename to docs/models/usereventpayload382previousproject.md index 8858989a24..cb4ec53361 100644 --- a/docs/models/usereventpayload379previousproject.md +++ b/docs/models/usereventpayload382previousproject.md @@ -1,11 +1,11 @@ -# UserEventPayload379PreviousProject +# UserEventPayload382PreviousProject ## Example Usage ```typescript -import { UserEventPayload379PreviousProject } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload382PreviousProject } from "@vercel/sdk/models/threehundredandtwentyfour.js"; -let value: UserEventPayload379PreviousProject = { +let value: UserEventPayload382PreviousProject = { staticIps: { enabled: false, }, diff --git a/docs/models/usereventpayload379project.md b/docs/models/usereventpayload382project.md similarity index 81% rename from docs/models/usereventpayload379project.md rename to docs/models/usereventpayload382project.md index 495a8ce795..b4508eb213 100644 --- a/docs/models/usereventpayload379project.md +++ b/docs/models/usereventpayload382project.md @@ -1,13 +1,13 @@ -# UserEventPayload379Project +# UserEventPayload382Project ## Example Usage ```typescript -import { UserEventPayload379Project } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload382Project } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload379Project = { +let value: UserEventPayload382Project = { staticIps: { - enabled: false, + enabled: true, }, }; ``` diff --git a/docs/models/usereventpayload386actortype.md b/docs/models/usereventpayload386actortype.md deleted file mode 100644 index 180d4acc9a..0000000000 --- a/docs/models/usereventpayload386actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload386ActorType - -## Example Usage - -```typescript -import { UserEventPayload386ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload386ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload388actortype.md b/docs/models/usereventpayload388actortype.md deleted file mode 100644 index 9165d8195e..0000000000 --- a/docs/models/usereventpayload388actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload388ActorType - -## Example Usage - -```typescript -import { UserEventPayload388ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload388ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload389actortype.md b/docs/models/usereventpayload389actortype.md new file mode 100644 index 0000000000..fa17e2d710 --- /dev/null +++ b/docs/models/usereventpayload389actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload389ActorType + +## Example Usage + +```typescript +import { UserEventPayload389ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload389ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload390actortype.md b/docs/models/usereventpayload390actortype.md deleted file mode 100644 index 58d7fea607..0000000000 --- a/docs/models/usereventpayload390actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload390ActorType - -## Example Usage - -```typescript -import { UserEventPayload390ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload390ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload391actortype.md b/docs/models/usereventpayload391actortype.md index 9f92b364c6..41ee4c2a08 100644 --- a/docs/models/usereventpayload391actortype.md +++ b/docs/models/usereventpayload391actortype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload391ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload391ActorType } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayload391ActorType = "admin"; ``` diff --git a/docs/models/usereventpayload393actortype.md b/docs/models/usereventpayload393actortype.md new file mode 100644 index 0000000000..a7e9d1fe56 --- /dev/null +++ b/docs/models/usereventpayload393actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload393ActorType + +## Example Usage + +```typescript +import { UserEventPayload393ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload393ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload394actortype.md b/docs/models/usereventpayload394actortype.md new file mode 100644 index 0000000000..a93312e88f --- /dev/null +++ b/docs/models/usereventpayload394actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload394ActorType + +## Example Usage + +```typescript +import { UserEventPayload394ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload394ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload395actortype.md b/docs/models/usereventpayload395actortype.md new file mode 100644 index 0000000000..5bb0243500 --- /dev/null +++ b/docs/models/usereventpayload395actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload395ActorType + +## Example Usage + +```typescript +import { UserEventPayload395ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload395ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload398actortype.md b/docs/models/usereventpayload398actortype.md deleted file mode 100644 index 4a9fc25b93..0000000000 --- a/docs/models/usereventpayload398actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload398ActorType - -## Example Usage - -```typescript -import { UserEventPayload398ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload398ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload403actortype.md b/docs/models/usereventpayload403actortype.md new file mode 100644 index 0000000000..4ea129e090 --- /dev/null +++ b/docs/models/usereventpayload403actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload403ActorType + +## Example Usage + +```typescript +import { UserEventPayload403ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload403ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload405geolocationnames.md b/docs/models/usereventpayload405geolocationnames.md deleted file mode 100644 index eedf8f7bc0..0000000000 --- a/docs/models/usereventpayload405geolocationnames.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload405GeolocationNames - -## Example Usage - -```typescript -import { UserEventPayload405GeolocationNames } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload405GeolocationNames = { - en: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `en` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload405geolocationmostspecificsubdivisionnames.md b/docs/models/usereventpayload410geolocationmostspecificsubdivisionnames.md similarity index 58% rename from docs/models/usereventpayload405geolocationmostspecificsubdivisionnames.md rename to docs/models/usereventpayload410geolocationmostspecificsubdivisionnames.md index a566ac44b1..01becfc058 100644 --- a/docs/models/usereventpayload405geolocationmostspecificsubdivisionnames.md +++ b/docs/models/usereventpayload410geolocationmostspecificsubdivisionnames.md @@ -1,11 +1,11 @@ -# UserEventPayload405GeolocationMostSpecificSubdivisionNames +# UserEventPayload410GeolocationMostSpecificSubdivisionNames ## Example Usage ```typescript -import { UserEventPayload405GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload410GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload405GeolocationMostSpecificSubdivisionNames = { +let value: UserEventPayload410GeolocationMostSpecificSubdivisionNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload410geolocationnames.md b/docs/models/usereventpayload410geolocationnames.md new file mode 100644 index 0000000000..6b8a957f2b --- /dev/null +++ b/docs/models/usereventpayload410geolocationnames.md @@ -0,0 +1,17 @@ +# UserEventPayload410GeolocationNames + +## Example Usage + +```typescript +import { UserEventPayload410GeolocationNames } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload410GeolocationNames = { + en: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `en` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload405names.md b/docs/models/usereventpayload410names.md similarity index 68% rename from docs/models/usereventpayload405names.md rename to docs/models/usereventpayload410names.md index f794105d29..324b4847b7 100644 --- a/docs/models/usereventpayload405names.md +++ b/docs/models/usereventpayload410names.md @@ -1,11 +1,11 @@ -# UserEventPayload405Names +# UserEventPayload410Names ## Example Usage ```typescript -import { UserEventPayload405Names } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload410Names } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload405Names = { +let value: UserEventPayload410Names = { en: "", }; ``` diff --git a/docs/models/usereventpayload410pricingplan.md b/docs/models/usereventpayload410pricingplan.md deleted file mode 100644 index 8830b660ad..0000000000 --- a/docs/models/usereventpayload410pricingplan.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload410PricingPlan - -The acive pricing plan the team is billed with - -## Example Usage - -```typescript -import { UserEventPayload410PricingPlan } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload410PricingPlan = "plus"; -``` - -## Values - -```typescript -"flex" | "legacy" | "platform" | "plus" | "unbundled" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload410type.md b/docs/models/usereventpayload410type.md deleted file mode 100644 index 3da78f1e6c..0000000000 --- a/docs/models/usereventpayload410type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload410Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload410Type } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload410Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload411type.md b/docs/models/usereventpayload411type.md deleted file mode 100644 index c173f33ac7..0000000000 --- a/docs/models/usereventpayload411type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload411Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload411Type } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload411Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload412type.md b/docs/models/usereventpayload412type.md deleted file mode 100644 index 1d62f0d1ee..0000000000 --- a/docs/models/usereventpayload412type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload412Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload412Type } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload412Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload413prevbudgettype.md b/docs/models/usereventpayload413prevbudgettype.md deleted file mode 100644 index 684c6df9d9..0000000000 --- a/docs/models/usereventpayload413prevbudgettype.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload413PrevBudgetType - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload413PrevBudgetType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload413PrevBudgetType = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload413pricingplan.md b/docs/models/usereventpayload413pricingplan.md deleted file mode 100644 index 99f02598e3..0000000000 --- a/docs/models/usereventpayload413pricingplan.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload413PricingPlan - -The acive pricing plan the team is billed with - -## Example Usage - -```typescript -import { UserEventPayload413PricingPlan } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload413PricingPlan = "plus"; -``` - -## Values - -```typescript -"flex" | "legacy" | "platform" | "plus" | "unbundled" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload413type.md b/docs/models/usereventpayload413type.md deleted file mode 100644 index 01ab76f6f4..0000000000 --- a/docs/models/usereventpayload413type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload413Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload413Type } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload413Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload409previous.md b/docs/models/usereventpayload414previous.md similarity index 66% rename from docs/models/usereventpayload409previous.md rename to docs/models/usereventpayload414previous.md index 000a5624a0..9550e85fda 100644 --- a/docs/models/usereventpayload409previous.md +++ b/docs/models/usereventpayload414previous.md @@ -1,13 +1,13 @@ -# UserEventPayload409Previous +# UserEventPayload414Previous ## Example Usage ```typescript -import { UserEventPayload409Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload414Previous } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload409Previous = { - sampleRatePercent: 1162.74, - spendLimitInDollars: 134.06, +let value: UserEventPayload414Previous = { + sampleRatePercent: 6522.36, + spendLimitInDollars: 5598.16, }; ``` diff --git a/docs/models/usereventpayload410budget.md b/docs/models/usereventpayload415budget.md similarity index 77% rename from docs/models/usereventpayload410budget.md rename to docs/models/usereventpayload415budget.md index 645deec331..20aab10956 100644 --- a/docs/models/usereventpayload410budget.md +++ b/docs/models/usereventpayload415budget.md @@ -1,24 +1,19 @@ -# UserEventPayload410Budget +# UserEventPayload415Budget ## Example Usage ```typescript -import { UserEventPayload410Budget } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload415Budget } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload410Budget = { +let value: UserEventPayload415Budget = { budgetItem: { - createdAt: 6091.93, - fixedBudget: 5022.96, + createdAt: 8193.79, + fixedBudget: 452.57, id: "", isActive: false, - notifiedAt: [ - 5110.69, - 6062.38, - 1999.65, - ], + notifiedAt: [], previousSpend: [ - 1319.54, - 7602.32, + 5760.81, ], teamId: "", type: "fixed", diff --git a/docs/models/usereventpayload415pricingplan.md b/docs/models/usereventpayload415pricingplan.md new file mode 100644 index 0000000000..743f4aa67c --- /dev/null +++ b/docs/models/usereventpayload415pricingplan.md @@ -0,0 +1,17 @@ +# UserEventPayload415PricingPlan + +The acive pricing plan the team is billed with + +## Example Usage + +```typescript +import { UserEventPayload415PricingPlan } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload415PricingPlan = "legacy"; +``` + +## Values + +```typescript +"flex" | "legacy" | "platform" | "plus" | "unbundled" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload413scope.md b/docs/models/usereventpayload415scope.md similarity index 61% rename from docs/models/usereventpayload413scope.md rename to docs/models/usereventpayload415scope.md index e466c6f63b..5de712b1fa 100644 --- a/docs/models/usereventpayload413scope.md +++ b/docs/models/usereventpayload415scope.md @@ -1,13 +1,13 @@ -# UserEventPayload413Scope +# UserEventPayload415Scope Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). ## Example Usage ```typescript -import { UserEventPayload413Scope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload415Scope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload413Scope = "team"; +let value: UserEventPayload415Scope = "project"; ``` ## Values diff --git a/docs/models/usereventpayload415type.md b/docs/models/usereventpayload415type.md new file mode 100644 index 0000000000..a82b26bec9 --- /dev/null +++ b/docs/models/usereventpayload415type.md @@ -0,0 +1,17 @@ +# UserEventPayload415Type + +The budget type + +## Example Usage + +```typescript +import { UserEventPayload415Type } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload415Type = "fixed"; +``` + +## Values + +```typescript +"fixed" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload411budget.md b/docs/models/usereventpayload416budget.md similarity index 94% rename from docs/models/usereventpayload411budget.md rename to docs/models/usereventpayload416budget.md index be7d51f361..084d89141e 100644 --- a/docs/models/usereventpayload411budget.md +++ b/docs/models/usereventpayload416budget.md @@ -1,24 +1,22 @@ -# UserEventPayload411Budget +# UserEventPayload416Budget Represents a budget for tracking and notifying teams on their spending. ## Example Usage ```typescript -import { UserEventPayload411Budget } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload416Budget } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload411Budget = { - createdAt: 4163.82, - fixedBudget: 6316.3, +let value: UserEventPayload416Budget = { + createdAt: 5632.43, + fixedBudget: 996.9, id: "", isActive: false, - notifiedAt: [ - 1440.5, - 6399.69, - 9463.82, - ], + notifiedAt: [], previousSpend: [ - 8551.85, + 2934.69, + 659.83, + 8668.18, ], teamId: "", type: "fixed", @@ -37,10 +35,10 @@ let value: UserEventPayload411Budget = { | `pauseProjects` | *boolean* | :heavy_minus_sign: | Should all projects be paused if budget is exceeded | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `pricingPlan` | [models.PricingPlan](../models/pricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | -| `scope` | [models.UserEventPayload411Scope](../models/usereventpayload411scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | +| `scope` | [models.UserEventPayload416Scope](../models/usereventpayload416scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | | `scopeId` | *string* | :heavy_minus_sign: | What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. | | `teamId` | *string* | :heavy_check_mark: | Partition key | -| `type` | [models.UserEventPayload411Type](../models/usereventpayload411type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload416Type](../models/usereventpayload416type.md) | :heavy_check_mark: | The budget type | | `updatedAt` | *number* | :heavy_minus_sign: | Date time when budget is updated last | | `webhookId` | *string* | :heavy_minus_sign: | Webhook id that corresponds to a webhook in Cosmos webhook collection | | `webhookNotified` | *boolean* | :heavy_minus_sign: | Keep track if the webhook has been called for the month | \ No newline at end of file diff --git a/docs/models/usereventpayload410scope.md b/docs/models/usereventpayload416scope.md similarity index 61% rename from docs/models/usereventpayload410scope.md rename to docs/models/usereventpayload416scope.md index eaff4bc2eb..67c59211de 100644 --- a/docs/models/usereventpayload410scope.md +++ b/docs/models/usereventpayload416scope.md @@ -1,13 +1,13 @@ -# UserEventPayload410Scope +# UserEventPayload416Scope Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). ## Example Usage ```typescript -import { UserEventPayload410Scope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload416Scope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload410Scope = "team"; +let value: UserEventPayload416Scope = "project"; ``` ## Values diff --git a/docs/models/usereventpayload416type.md b/docs/models/usereventpayload416type.md index 2572f618bd..84b61d01a6 100644 --- a/docs/models/usereventpayload416type.md +++ b/docs/models/usereventpayload416type.md @@ -1,15 +1,17 @@ # UserEventPayload416Type +The budget type + ## Example Usage ```typescript -import { UserEventPayload416Type } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload416Type } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload416Type = "integration"; +let value: UserEventPayload416Type = "fixed"; ``` ## Values ```typescript -"blob" | "edge-config" | "integration" | "postgres" | "redis" +"fixed" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload412budget.md b/docs/models/usereventpayload417budget.md similarity index 94% rename from docs/models/usereventpayload412budget.md rename to docs/models/usereventpayload417budget.md index 43eb6abf71..57894af26b 100644 --- a/docs/models/usereventpayload412budget.md +++ b/docs/models/usereventpayload417budget.md @@ -1,25 +1,22 @@ -# UserEventPayload412Budget +# UserEventPayload417Budget Represents a budget for tracking and notifying teams on their spending. ## Example Usage ```typescript -import { UserEventPayload412Budget } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload417Budget } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload412Budget = { - createdAt: 8512.3, - fixedBudget: 6202.3, +let value: UserEventPayload417Budget = { + createdAt: 2186.17, + fixedBudget: 2109.6, id: "", - isActive: true, + isActive: false, notifiedAt: [ - 2958.44, - 286.96, - 8078.36, + 6991.95, ], previousSpend: [ - 5759.61, - 9016.66, + 9160.15, ], teamId: "", type: "fixed", @@ -38,10 +35,10 @@ let value: UserEventPayload412Budget = { | `pauseProjects` | *boolean* | :heavy_minus_sign: | Should all projects be paused if budget is exceeded | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `pricingPlan` | [models.PayloadPricingPlan](../models/payloadpricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | -| `scope` | [models.UserEventPayload412Scope](../models/usereventpayload412scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | +| `scope` | [models.UserEventPayload417Scope](../models/usereventpayload417scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | | `scopeId` | *string* | :heavy_minus_sign: | What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. | | `teamId` | *string* | :heavy_check_mark: | Partition key | -| `type` | [models.UserEventPayload412Type](../models/usereventpayload412type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload417Type](../models/usereventpayload417type.md) | :heavy_check_mark: | The budget type | | `updatedAt` | *number* | :heavy_minus_sign: | Date time when budget is updated last | | `webhookId` | *string* | :heavy_minus_sign: | Webhook id that corresponds to a webhook in Cosmos webhook collection | | `webhookNotified` | *boolean* | :heavy_minus_sign: | Keep track if the webhook has been called for the month | \ No newline at end of file diff --git a/docs/models/usereventpayload411scope.md b/docs/models/usereventpayload417scope.md similarity index 60% rename from docs/models/usereventpayload411scope.md rename to docs/models/usereventpayload417scope.md index 4da7c75b3e..785d8630f2 100644 --- a/docs/models/usereventpayload411scope.md +++ b/docs/models/usereventpayload417scope.md @@ -1,13 +1,13 @@ -# UserEventPayload411Scope +# UserEventPayload417Scope Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). ## Example Usage ```typescript -import { UserEventPayload411Scope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload417Scope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload411Scope = "organization"; +let value: UserEventPayload417Scope = "organization"; ``` ## Values diff --git a/docs/models/usereventpayload417type.md b/docs/models/usereventpayload417type.md index c71d548bdd..f1641690e8 100644 --- a/docs/models/usereventpayload417type.md +++ b/docs/models/usereventpayload417type.md @@ -1,15 +1,17 @@ # UserEventPayload417Type +The budget type + ## Example Usage ```typescript -import { UserEventPayload417Type } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload417Type } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload417Type = "redis"; +let value: UserEventPayload417Type = "fixed"; ``` ## Values ```typescript -"blob" | "edge-config" | "integration" | "postgres" | "redis" +"fixed" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload413budget.md b/docs/models/usereventpayload418budget.md similarity index 94% rename from docs/models/usereventpayload413budget.md rename to docs/models/usereventpayload418budget.md index fdec8fc905..2c76bf20c7 100644 --- a/docs/models/usereventpayload413budget.md +++ b/docs/models/usereventpayload418budget.md @@ -1,24 +1,21 @@ -# UserEventPayload413Budget +# UserEventPayload418Budget Represents a budget for tracking and notifying teams on their spending. ## Example Usage ```typescript -import { UserEventPayload413Budget } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload418Budget } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload413Budget = { - createdAt: 8015.95, - fixedBudget: 5122.27, +let value: UserEventPayload418Budget = { + createdAt: 7362.22, + fixedBudget: 4329.45, id: "", - isActive: true, - notifiedAt: [ - 549.83, - 1707.18, - ], + isActive: false, + notifiedAt: [], previousSpend: [ - 8011.85, - 4234.13, + 7559.93, + 3705.93, ], teamId: "", type: "fixed", @@ -37,10 +34,10 @@ let value: UserEventPayload413Budget = { | `pauseProjects` | *boolean* | :heavy_minus_sign: | Should all projects be paused if budget is exceeded | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `pricingPlan` | [models.UserEventPayloadPricingPlan](../models/usereventpayloadpricingplan.md) | :heavy_minus_sign: | The acive pricing plan the team is billed with | -| `scope` | [models.UserEventPayload413Scope](../models/usereventpayload413scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | +| `scope` | [models.UserEventPayload418Scope](../models/usereventpayload418scope.md) | :heavy_minus_sign: | Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). | | `scopeId` | *string* | :heavy_minus_sign: | What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. | | `teamId` | *string* | :heavy_check_mark: | Partition key | -| `type` | [models.UserEventPayload413Type](../models/usereventpayload413type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload418Type](../models/usereventpayload418type.md) | :heavy_check_mark: | The budget type | | `updatedAt` | *number* | :heavy_minus_sign: | Date time when budget is updated last | | `webhookId` | *string* | :heavy_minus_sign: | Webhook id that corresponds to a webhook in Cosmos webhook collection | | `webhookNotified` | *boolean* | :heavy_minus_sign: | Keep track if the webhook has been called for the month | \ No newline at end of file diff --git a/docs/models/usereventpayload413prevbudgetscope.md b/docs/models/usereventpayload418prevbudgetscope.md similarity index 56% rename from docs/models/usereventpayload413prevbudgetscope.md rename to docs/models/usereventpayload418prevbudgetscope.md index 7193b7b7e5..90bfc966e6 100644 --- a/docs/models/usereventpayload413prevbudgetscope.md +++ b/docs/models/usereventpayload418prevbudgetscope.md @@ -1,13 +1,13 @@ -# UserEventPayload413PrevBudgetScope +# UserEventPayload418PrevBudgetScope Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). ## Example Usage ```typescript -import { UserEventPayload413PrevBudgetScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload418PrevBudgetScope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload413PrevBudgetScope = "project"; +let value: UserEventPayload418PrevBudgetScope = "organization"; ``` ## Values diff --git a/docs/models/usereventpayload418prevbudgettype.md b/docs/models/usereventpayload418prevbudgettype.md new file mode 100644 index 0000000000..da250dc565 --- /dev/null +++ b/docs/models/usereventpayload418prevbudgettype.md @@ -0,0 +1,17 @@ +# UserEventPayload418PrevBudgetType + +The budget type + +## Example Usage + +```typescript +import { UserEventPayload418PrevBudgetType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload418PrevBudgetType = "fixed"; +``` + +## Values + +```typescript +"fixed" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload418pricingplan.md b/docs/models/usereventpayload418pricingplan.md new file mode 100644 index 0000000000..c23eb0352c --- /dev/null +++ b/docs/models/usereventpayload418pricingplan.md @@ -0,0 +1,17 @@ +# UserEventPayload418PricingPlan + +The acive pricing plan the team is billed with + +## Example Usage + +```typescript +import { UserEventPayload418PricingPlan } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload418PricingPlan = "unbundled"; +``` + +## Values + +```typescript +"flex" | "legacy" | "platform" | "plus" | "unbundled" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload412scope.md b/docs/models/usereventpayload418scope.md similarity index 61% rename from docs/models/usereventpayload412scope.md rename to docs/models/usereventpayload418scope.md index c2eb456695..2b1c72e75f 100644 --- a/docs/models/usereventpayload412scope.md +++ b/docs/models/usereventpayload418scope.md @@ -1,13 +1,13 @@ -# UserEventPayload412Scope +# UserEventPayload418Scope Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). ## Example Usage ```typescript -import { UserEventPayload412Scope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload418Scope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload412Scope = "product"; +let value: UserEventPayload418Scope = "product"; ``` ## Values diff --git a/docs/models/usereventpayload418type.md b/docs/models/usereventpayload418type.md index 3111ece7de..f969a717a1 100644 --- a/docs/models/usereventpayload418type.md +++ b/docs/models/usereventpayload418type.md @@ -1,15 +1,17 @@ # UserEventPayload418Type +The budget type + ## Example Usage ```typescript -import { UserEventPayload418Type } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload418Type } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload418Type = "blob"; +let value: UserEventPayload418Type = "fixed"; ``` ## Values ```typescript -"blob" | "edge-config" | "integration" | "postgres" | "redis" +"fixed" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload419type.md b/docs/models/usereventpayload419type.md deleted file mode 100644 index ba190bd412..0000000000 --- a/docs/models/usereventpayload419type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload419Type - -## Example Usage - -```typescript -import { UserEventPayload419Type } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload419Type = "redis"; -``` - -## Values - -```typescript -"blob" | "edge-config" | "integration" | "postgres" | "redis" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload421type.md b/docs/models/usereventpayload421type.md index cf53f18734..ee5b45f412 100644 --- a/docs/models/usereventpayload421type.md +++ b/docs/models/usereventpayload421type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload421Type } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload421Type } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayload421Type = "integration"; ``` diff --git a/docs/models/usereventpayload422actortype.md b/docs/models/usereventpayload422actortype.md deleted file mode 100644 index 75cd4135b0..0000000000 --- a/docs/models/usereventpayload422actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload422ActorType - -## Example Usage - -```typescript -import { UserEventPayload422ActorType } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload422ActorType = "user"; -``` - -## Values - -```typescript -"admin" | "user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload422type.md b/docs/models/usereventpayload422type.md new file mode 100644 index 0000000000..142f41f397 --- /dev/null +++ b/docs/models/usereventpayload422type.md @@ -0,0 +1,15 @@ +# UserEventPayload422Type + +## Example Usage + +```typescript +import { UserEventPayload422Type } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload422Type = "postgres"; +``` + +## Values + +```typescript +"blob" | "edge-config" | "integration" | "postgres" | "redis" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload423type.md b/docs/models/usereventpayload423type.md new file mode 100644 index 0000000000..6fb70d87a0 --- /dev/null +++ b/docs/models/usereventpayload423type.md @@ -0,0 +1,15 @@ +# UserEventPayload423Type + +## Example Usage + +```typescript +import { UserEventPayload423Type } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload423Type = "redis"; +``` + +## Values + +```typescript +"blob" | "edge-config" | "integration" | "postgres" | "redis" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload424type.md b/docs/models/usereventpayload424type.md new file mode 100644 index 0000000000..74bcd1151e --- /dev/null +++ b/docs/models/usereventpayload424type.md @@ -0,0 +1,15 @@ +# UserEventPayload424Type + +## Example Usage + +```typescript +import { UserEventPayload424Type } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload424Type = "postgres"; +``` + +## Values + +```typescript +"blob" | "edge-config" | "integration" | "postgres" | "redis" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload425action.md b/docs/models/usereventpayload425action.md deleted file mode 100644 index c0928e6a34..0000000000 --- a/docs/models/usereventpayload425action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload425Action - -## Example Usage - -```typescript -import { UserEventPayload425Action } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload425Action = "enable"; -``` - -## Values - -```typescript -"enable" | "update" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload425store.md b/docs/models/usereventpayload425store.md new file mode 100644 index 0000000000..3cb0640db2 --- /dev/null +++ b/docs/models/usereventpayload425store.md @@ -0,0 +1,19 @@ +# UserEventPayload425Store + +## Example Usage + +```typescript +import { UserEventPayload425Store } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload425Store = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload426action.md b/docs/models/usereventpayload426action.md deleted file mode 100644 index 9e3c3d803f..0000000000 --- a/docs/models/usereventpayload426action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload426Action - -## Example Usage - -```typescript -import { UserEventPayload426Action } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload426Action = "update"; -``` - -## Values - -```typescript -"disable" | "enable" | "update" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload426endpoint.md b/docs/models/usereventpayload426endpoint.md deleted file mode 100644 index 7016646e11..0000000000 --- a/docs/models/usereventpayload426endpoint.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload426Endpoint - -## Example Usage - -```typescript -import { UserEventPayload426Endpoint } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload426Endpoint = "/v1/vade/code-review/configure"; -``` - -## Values - -```typescript -"/v1/vade/code-review/configure" | "/v1/vade/configure" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload426previousscope.md b/docs/models/usereventpayload426previousscope.md deleted file mode 100644 index cebf4fc206..0000000000 --- a/docs/models/usereventpayload426previousscope.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload426PreviousScope - -Which repository visibilities get automatic reviews - -## Example Usage - -```typescript -import { UserEventPayload426PreviousScope } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload426PreviousScope = "all"; -``` - -## Values - -```typescript -"all" | "private" | "public" | "selected_repos" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload426type.md b/docs/models/usereventpayload426type.md new file mode 100644 index 0000000000..fe6cd2ad66 --- /dev/null +++ b/docs/models/usereventpayload426type.md @@ -0,0 +1,15 @@ +# UserEventPayload426Type + +## Example Usage + +```typescript +import { UserEventPayload426Type } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload426Type = "integration"; +``` + +## Values + +```typescript +"blob" | "edge-config" | "integration" | "postgres" | "redis" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload427actortype.md b/docs/models/usereventpayload427actortype.md new file mode 100644 index 0000000000..7167737289 --- /dev/null +++ b/docs/models/usereventpayload427actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload427ActorType + +## Example Usage + +```typescript +import { UserEventPayload427ActorType } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload427ActorType = "user"; +``` + +## Values + +```typescript +"admin" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload428repositoryscope.md b/docs/models/usereventpayload428repositoryscope.md deleted file mode 100644 index 6b6c8be910..0000000000 --- a/docs/models/usereventpayload428repositoryscope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload428RepositoryScope - -## Example Usage - -```typescript -import { UserEventPayload428RepositoryScope } from "@vercel/sdk/models/oldssoprotection2.js"; - -let value: UserEventPayload428RepositoryScope = "all"; -``` - -## Values - -```typescript -"all" | "none" | "selected" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload430action.md b/docs/models/usereventpayload430action.md new file mode 100644 index 0000000000..3eca875cd0 --- /dev/null +++ b/docs/models/usereventpayload430action.md @@ -0,0 +1,15 @@ +# UserEventPayload430Action + +## Example Usage + +```typescript +import { UserEventPayload430Action } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload430Action = "enable"; +``` + +## Values + +```typescript +"enable" | "update" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload425next.md b/docs/models/usereventpayload430next.md similarity index 75% rename from docs/models/usereventpayload425next.md rename to docs/models/usereventpayload430next.md index 81aea6af47..f7388a4a43 100644 --- a/docs/models/usereventpayload425next.md +++ b/docs/models/usereventpayload430next.md @@ -1,11 +1,11 @@ -# UserEventPayload425Next +# UserEventPayload430Next ## Example Usage ```typescript -import { UserEventPayload425Next } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload430Next } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload425Next = { +let value: UserEventPayload430Next = { enabled: true, maximumOverdraft: "", }; diff --git a/docs/models/usereventpayload425previous.md b/docs/models/usereventpayload430previous.md similarity index 73% rename from docs/models/usereventpayload425previous.md rename to docs/models/usereventpayload430previous.md index 136c1fd048..a2842e3ebf 100644 --- a/docs/models/usereventpayload425previous.md +++ b/docs/models/usereventpayload430previous.md @@ -1,11 +1,11 @@ -# UserEventPayload425Previous +# UserEventPayload430Previous ## Example Usage ```typescript -import { UserEventPayload425Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload430Previous } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload425Previous = { +let value: UserEventPayload430Previous = { enabled: false, maximumOverdraft: "", }; diff --git a/docs/models/usereventpayload431action.md b/docs/models/usereventpayload431action.md new file mode 100644 index 0000000000..b386c15109 --- /dev/null +++ b/docs/models/usereventpayload431action.md @@ -0,0 +1,15 @@ +# UserEventPayload431Action + +## Example Usage + +```typescript +import { UserEventPayload431Action } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload431Action = "disable"; +``` + +## Values + +```typescript +"disable" | "enable" | "update" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload431endpoint.md b/docs/models/usereventpayload431endpoint.md new file mode 100644 index 0000000000..8669d4ec0f --- /dev/null +++ b/docs/models/usereventpayload431endpoint.md @@ -0,0 +1,15 @@ +# UserEventPayload431Endpoint + +## Example Usage + +```typescript +import { UserEventPayload431Endpoint } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload431Endpoint = "/v1/vade/code-review/configure"; +``` + +## Values + +```typescript +"/v1/vade/code-review/configure" | "/v1/vade/configure" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload426next.md b/docs/models/usereventpayload431next.md similarity index 91% rename from docs/models/usereventpayload426next.md rename to docs/models/usereventpayload431next.md index 2d3e795376..d20b3fccd9 100644 --- a/docs/models/usereventpayload426next.md +++ b/docs/models/usereventpayload431next.md @@ -1,16 +1,16 @@ -# UserEventPayload426Next +# UserEventPayload431Next Automatic code review settings ## Example Usage ```typescript -import { UserEventPayload426Next } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload431Next } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload426Next = { - enabled: true, - includeDrafts: false, - scope: "selected_repos", +let value: UserEventPayload431Next = { + enabled: false, + includeDrafts: true, + scope: "public", }; ``` @@ -20,5 +20,5 @@ let value: UserEventPayload426Next = { | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | `enabled` | *boolean* | :heavy_check_mark: | Whether automatic code reviews are enabled | | `includeDrafts` | *boolean* | :heavy_check_mark: | Whether to include draft pull requests in automatic reviews | -| `scope` | [models.UserEventPayload426Scope](../models/usereventpayload426scope.md) | :heavy_check_mark: | Which repository visibilities get automatic reviews | +| `scope` | [models.UserEventPayload431Scope](../models/usereventpayload431scope.md) | :heavy_check_mark: | Which repository visibilities get automatic reviews | | `selectedRepos` | *string*[] | :heavy_minus_sign: | GitHub repos to scope automatic reviews to. Format: "owner/repo" (lowercase). Only used when scope='selected_repos'. | \ No newline at end of file diff --git a/docs/models/usereventpayload426previous.md b/docs/models/usereventpayload431previous.md similarity index 91% rename from docs/models/usereventpayload426previous.md rename to docs/models/usereventpayload431previous.md index 96ad8a9905..3dbcbcc7ac 100644 --- a/docs/models/usereventpayload426previous.md +++ b/docs/models/usereventpayload431previous.md @@ -1,16 +1,16 @@ -# UserEventPayload426Previous +# UserEventPayload431Previous Automatic code review settings ## Example Usage ```typescript -import { UserEventPayload426Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload431Previous } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload426Previous = { +let value: UserEventPayload431Previous = { enabled: false, - includeDrafts: false, - scope: "selected_repos", + includeDrafts: true, + scope: "public", }; ``` @@ -20,5 +20,5 @@ let value: UserEventPayload426Previous = { | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | `enabled` | *boolean* | :heavy_check_mark: | Whether automatic code reviews are enabled | | `includeDrafts` | *boolean* | :heavy_check_mark: | Whether to include draft pull requests in automatic reviews | -| `scope` | [models.UserEventPayload426PreviousScope](../models/usereventpayload426previousscope.md) | :heavy_check_mark: | Which repository visibilities get automatic reviews | +| `scope` | [models.UserEventPayload431PreviousScope](../models/usereventpayload431previousscope.md) | :heavy_check_mark: | Which repository visibilities get automatic reviews | | `selectedRepos` | *string*[] | :heavy_minus_sign: | GitHub repos to scope automatic reviews to. Format: "owner/repo" (lowercase). Only used when scope='selected_repos'. | \ No newline at end of file diff --git a/docs/models/usereventpayload431previousscope.md b/docs/models/usereventpayload431previousscope.md new file mode 100644 index 0000000000..0a69c421be --- /dev/null +++ b/docs/models/usereventpayload431previousscope.md @@ -0,0 +1,17 @@ +# UserEventPayload431PreviousScope + +Which repository visibilities get automatic reviews + +## Example Usage + +```typescript +import { UserEventPayload431PreviousScope } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload431PreviousScope = "private"; +``` + +## Values + +```typescript +"all" | "private" | "public" | "selected_repos" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload426scope.md b/docs/models/usereventpayload431scope.md similarity index 50% rename from docs/models/usereventpayload426scope.md rename to docs/models/usereventpayload431scope.md index 9a2671628f..d76552fb7b 100644 --- a/docs/models/usereventpayload426scope.md +++ b/docs/models/usereventpayload431scope.md @@ -1,13 +1,13 @@ -# UserEventPayload426Scope +# UserEventPayload431Scope Which repository visibilities get automatic reviews ## Example Usage ```typescript -import { UserEventPayload426Scope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload431Scope } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload426Scope = "selected_repos"; +let value: UserEventPayload431Scope = "private"; ``` ## Values diff --git a/docs/models/usereventpayload427next.md b/docs/models/usereventpayload432next.md similarity index 92% rename from docs/models/usereventpayload427next.md rename to docs/models/usereventpayload432next.md index 2b259f4224..c9292c9aed 100644 --- a/docs/models/usereventpayload427next.md +++ b/docs/models/usereventpayload432next.md @@ -1,15 +1,15 @@ -# UserEventPayload427Next +# UserEventPayload432Next Mirrors the `security-review` setting value in `@api/api-settings`. ## Example Usage ```typescript -import { UserEventPayload427Next } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload432Next } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload427Next = { +let value: UserEventPayload432Next = { enabled: false, - projectScope: "all", + projectScope: "none", }; ``` diff --git a/docs/models/usereventpayload427previous.md b/docs/models/usereventpayload432previous.md similarity index 91% rename from docs/models/usereventpayload427previous.md rename to docs/models/usereventpayload432previous.md index a56337128a..a4c8f30346 100644 --- a/docs/models/usereventpayload427previous.md +++ b/docs/models/usereventpayload432previous.md @@ -1,14 +1,14 @@ -# UserEventPayload427Previous +# UserEventPayload432Previous Mirrors the `security-review` setting value in `@api/api-settings`. ## Example Usage ```typescript -import { UserEventPayload427Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload432Previous } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload427Previous = { - enabled: false, +let value: UserEventPayload432Previous = { + enabled: true, projectScope: "all", }; ``` diff --git a/docs/models/usereventpayload428next.md b/docs/models/usereventpayload433next.md similarity index 89% rename from docs/models/usereventpayload428next.md rename to docs/models/usereventpayload433next.md index bf3a309673..96f4a46f88 100644 --- a/docs/models/usereventpayload428next.md +++ b/docs/models/usereventpayload433next.md @@ -1,12 +1,12 @@ -# UserEventPayload428Next +# UserEventPayload433Next ## Example Usage ```typescript -import { UserEventPayload428Next } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload433Next } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload428Next = { - enabled: false, +let value: UserEventPayload433Next = { + enabled: true, }; ``` diff --git a/docs/models/usereventpayload428previous.md b/docs/models/usereventpayload433previous.md similarity index 82% rename from docs/models/usereventpayload428previous.md rename to docs/models/usereventpayload433previous.md index 04f33b0472..3eba187e98 100644 --- a/docs/models/usereventpayload428previous.md +++ b/docs/models/usereventpayload433previous.md @@ -1,12 +1,12 @@ -# UserEventPayload428Previous +# UserEventPayload433Previous ## Example Usage ```typescript -import { UserEventPayload428Previous } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayload433Previous } from "@vercel/sdk/models/payloadstaticips.js"; -let value: UserEventPayload428Previous = { - enabled: false, +let value: UserEventPayload433Previous = { + enabled: true, }; ``` @@ -15,4 +15,4 @@ let value: UserEventPayload428Previous = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | | `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `repositoryScope` | [models.UserEventPayload428RepositoryScope](../models/usereventpayload428repositoryscope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `repositoryScope` | [models.UserEventPayload433RepositoryScope](../models/usereventpayload433repositoryscope.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload433repositoryscope.md b/docs/models/usereventpayload433repositoryscope.md new file mode 100644 index 0000000000..08ffcaac47 --- /dev/null +++ b/docs/models/usereventpayload433repositoryscope.md @@ -0,0 +1,15 @@ +# UserEventPayload433RepositoryScope + +## Example Usage + +```typescript +import { UserEventPayload433RepositoryScope } from "@vercel/sdk/models/payloadstaticips.js"; + +let value: UserEventPayload433RepositoryScope = "none"; +``` + +## Values + +```typescript +"all" | "none" | "selected" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload436next.md b/docs/models/usereventpayload436next.md deleted file mode 100644 index 52750594fa..0000000000 --- a/docs/models/usereventpayload436next.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload436Next - -## Example Usage - -```typescript -import { UserEventPayload436Next } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload436Next = "manual-approval"; -``` - -## Values - -```typescript -"auto-approval" | "block" | "manual-approval" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload436previous.md b/docs/models/usereventpayload436previous.md deleted file mode 100644 index 0724696d20..0000000000 --- a/docs/models/usereventpayload436previous.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload436Previous - -## Example Usage - -```typescript -import { UserEventPayload436Previous } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload436Previous = "auto-approval"; -``` - -## Values - -```typescript -"auto-approval" | "block" | "manual-approval" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload437actortype.md b/docs/models/usereventpayload437actortype.md deleted file mode 100644 index 51cdf06f2b..0000000000 --- a/docs/models/usereventpayload437actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload437ActorType - -## Example Usage - -```typescript -import { UserEventPayload437ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload437ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload438next.md b/docs/models/usereventpayload438next.md deleted file mode 100644 index d7cd516ff3..0000000000 --- a/docs/models/usereventpayload438next.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload438Next - -## Example Usage - -```typescript -import { UserEventPayload438Next } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload438Next = "elastic"; -``` - -## Values - -```typescript -"basic" | "elastic" | "enhanced" | "standard" | "turbo" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload438previous.md b/docs/models/usereventpayload438previous.md deleted file mode 100644 index 6083b9daf1..0000000000 --- a/docs/models/usereventpayload438previous.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload438Previous - -## Example Usage - -```typescript -import { UserEventPayload438Previous } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload438Previous = "turbo"; -``` - -## Values - -```typescript -"basic" | "elastic" | "enhanced" | "standard" | "turbo" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload439actortype.md b/docs/models/usereventpayload439actortype.md deleted file mode 100644 index 25a6fcc103..0000000000 --- a/docs/models/usereventpayload439actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload439ActorType - -## Example Usage - -```typescript -import { UserEventPayload439ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload439ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload440role.md b/docs/models/usereventpayload440role.md deleted file mode 100644 index b12be7129d..0000000000 --- a/docs/models/usereventpayload440role.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload440Role - -## Example Usage - -```typescript -import { UserEventPayload440Role } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload440Role = "BILLING"; -``` - -## Values - -```typescript -"BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload441next.md b/docs/models/usereventpayload441next.md new file mode 100644 index 0000000000..fcf5263533 --- /dev/null +++ b/docs/models/usereventpayload441next.md @@ -0,0 +1,15 @@ +# UserEventPayload441Next + +## Example Usage + +```typescript +import { UserEventPayload441Next } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload441Next = "manual-approval"; +``` + +## Values + +```typescript +"auto-approval" | "block" | "manual-approval" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload441previous.md b/docs/models/usereventpayload441previous.md new file mode 100644 index 0000000000..ddbc487c75 --- /dev/null +++ b/docs/models/usereventpayload441previous.md @@ -0,0 +1,15 @@ +# UserEventPayload441Previous + +## Example Usage + +```typescript +import { UserEventPayload441Previous } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload441Previous = "auto-approval"; +``` + +## Values + +```typescript +"auto-approval" | "block" | "manual-approval" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload441scope.md b/docs/models/usereventpayload441scope.md deleted file mode 100644 index b1a32623c6..0000000000 --- a/docs/models/usereventpayload441scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload441Scope - -## Example Usage - -```typescript -import { UserEventPayload441Scope } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload441Scope = "organization"; -``` - -## Values - -```typescript -"organization" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload442actortype.md b/docs/models/usereventpayload442actortype.md new file mode 100644 index 0000000000..68a3a9e30a --- /dev/null +++ b/docs/models/usereventpayload442actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload442ActorType + +## Example Usage + +```typescript +import { UserEventPayload442ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload442ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload443action.md b/docs/models/usereventpayload443action.md deleted file mode 100644 index 4096fb32a5..0000000000 --- a/docs/models/usereventpayload443action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload443Action - -## Example Usage - -```typescript -import { UserEventPayload443Action } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload443Action = "updated"; -``` - -## Values - -```typescript -"reset" | "updated" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload443next.md b/docs/models/usereventpayload443next.md new file mode 100644 index 0000000000..078b1152ac --- /dev/null +++ b/docs/models/usereventpayload443next.md @@ -0,0 +1,15 @@ +# UserEventPayload443Next + +## Example Usage + +```typescript +import { UserEventPayload443Next } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload443Next = "basic"; +``` + +## Values + +```typescript +"basic" | "elastic" | "enhanced" | "standard" | "turbo" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload443previous.md b/docs/models/usereventpayload443previous.md new file mode 100644 index 0000000000..92f4351a72 --- /dev/null +++ b/docs/models/usereventpayload443previous.md @@ -0,0 +1,15 @@ +# UserEventPayload443Previous + +## Example Usage + +```typescript +import { UserEventPayload443Previous } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload443Previous = "elastic"; +``` + +## Values + +```typescript +"basic" | "elastic" | "enhanced" | "standard" | "turbo" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload444actortype.md b/docs/models/usereventpayload444actortype.md new file mode 100644 index 0000000000..4eae179cdf --- /dev/null +++ b/docs/models/usereventpayload444actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload444ActorType + +## Example Usage + +```typescript +import { UserEventPayload444ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload444ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload284role.md b/docs/models/usereventpayload445role.md similarity index 52% rename from docs/models/usereventpayload284role.md rename to docs/models/usereventpayload445role.md index cefbdaad6f..49b1dd3bf5 100644 --- a/docs/models/usereventpayload284role.md +++ b/docs/models/usereventpayload445role.md @@ -1,11 +1,11 @@ -# UserEventPayload284Role +# UserEventPayload445Role ## Example Usage ```typescript -import { UserEventPayload284Role } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayload445Role } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload284Role = "SECURITY"; +let value: UserEventPayload445Role = "OWNER"; ``` ## Values diff --git a/docs/models/usereventpayload446scope.md b/docs/models/usereventpayload446scope.md new file mode 100644 index 0000000000..2eb1fe3910 --- /dev/null +++ b/docs/models/usereventpayload446scope.md @@ -0,0 +1,15 @@ +# UserEventPayload446Scope + +## Example Usage + +```typescript +import { UserEventPayload446Scope } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload446Scope = "organization"; +``` + +## Values + +```typescript +"organization" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload366next.md b/docs/models/usereventpayload447next.md similarity index 72% rename from docs/models/usereventpayload366next.md rename to docs/models/usereventpayload447next.md index 9758db18c5..086c236abf 100644 --- a/docs/models/usereventpayload366next.md +++ b/docs/models/usereventpayload447next.md @@ -1,11 +1,11 @@ -# UserEventPayload366Next +# UserEventPayload447Next ## Example Usage ```typescript -import { UserEventPayload366Next } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload447Next } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload366Next = {}; +let value: UserEventPayload447Next = {}; ``` ## Fields diff --git a/docs/models/usereventpayload366previous.md b/docs/models/usereventpayload447previous.md similarity index 70% rename from docs/models/usereventpayload366previous.md rename to docs/models/usereventpayload447previous.md index ccf6035251..0ddb3ad233 100644 --- a/docs/models/usereventpayload366previous.md +++ b/docs/models/usereventpayload447previous.md @@ -1,11 +1,11 @@ -# UserEventPayload366Previous +# UserEventPayload447Previous ## Example Usage ```typescript -import { UserEventPayload366Previous } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayload447Previous } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload366Previous = {}; +let value: UserEventPayload447Previous = {}; ``` ## Fields diff --git a/docs/models/usereventpayload448action.md b/docs/models/usereventpayload448action.md new file mode 100644 index 0000000000..a955819d96 --- /dev/null +++ b/docs/models/usereventpayload448action.md @@ -0,0 +1,15 @@ +# UserEventPayload448Action + +## Example Usage + +```typescript +import { UserEventPayload448Action } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload448Action = "updated"; +``` + +## Values + +```typescript +"reset" | "updated" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload467actortype.md b/docs/models/usereventpayload467actortype.md deleted file mode 100644 index cf43043f6d..0000000000 --- a/docs/models/usereventpayload467actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload467ActorType - -## Example Usage - -```typescript -import { UserEventPayload467ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload467ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload472actortype.md b/docs/models/usereventpayload472actortype.md new file mode 100644 index 0000000000..90c61fac22 --- /dev/null +++ b/docs/models/usereventpayload472actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload472ActorType + +## Example Usage + +```typescript +import { UserEventPayload472ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload472ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload474scope.md b/docs/models/usereventpayload474scope.md deleted file mode 100644 index 8c68bf8e80..0000000000 --- a/docs/models/usereventpayload474scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload474Scope - -## Example Usage - -```typescript -import { UserEventPayload474Scope } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload474Scope = "log-drains"; -``` - -## Values - -```typescript -"dashboard" | "log-drains" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload479scope.md b/docs/models/usereventpayload479scope.md new file mode 100644 index 0000000000..14a1c45f9a --- /dev/null +++ b/docs/models/usereventpayload479scope.md @@ -0,0 +1,15 @@ +# UserEventPayload479Scope + +## Example Usage + +```typescript +import { UserEventPayload479Scope } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload479Scope = "dashboard"; +``` + +## Values + +```typescript +"dashboard" | "log-drains" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload475next.md b/docs/models/usereventpayload480next.md similarity index 91% rename from docs/models/usereventpayload475next.md rename to docs/models/usereventpayload480next.md index c6b0412b9d..4dbfcaea84 100644 --- a/docs/models/usereventpayload475next.md +++ b/docs/models/usereventpayload480next.md @@ -1,4 +1,4 @@ -# UserEventPayload475Next +# UserEventPayload480Next ## Supported Types diff --git a/docs/models/usereventpayload475previous.md b/docs/models/usereventpayload480previous.md similarity index 91% rename from docs/models/usereventpayload475previous.md rename to docs/models/usereventpayload480previous.md index 5d66aa2fc1..16b1e0fe5e 100644 --- a/docs/models/usereventpayload475previous.md +++ b/docs/models/usereventpayload480previous.md @@ -1,4 +1,4 @@ -# UserEventPayload475Previous +# UserEventPayload480Previous ## Supported Types diff --git a/docs/models/usereventpayload481actortype.md b/docs/models/usereventpayload481actortype.md deleted file mode 100644 index 9ad9e860d0..0000000000 --- a/docs/models/usereventpayload481actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload481ActorType - -## Example Usage - -```typescript -import { UserEventPayload481ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload481ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload482type.md b/docs/models/usereventpayload482type.md deleted file mode 100644 index e8c28277cc..0000000000 --- a/docs/models/usereventpayload482type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload482Type - -## Example Usage - -```typescript -import { UserEventPayload482Type } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload482Type = "head_sampling"; -``` - -## Values - -```typescript -"head_sampling" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload486actortype.md b/docs/models/usereventpayload486actortype.md new file mode 100644 index 0000000000..78fadf4bfe --- /dev/null +++ b/docs/models/usereventpayload486actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload486ActorType + +## Example Usage + +```typescript +import { UserEventPayload486ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload486ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload487actortype.md b/docs/models/usereventpayload487actortype.md deleted file mode 100644 index 353679238b..0000000000 --- a/docs/models/usereventpayload487actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload487ActorType - -## Example Usage - -```typescript -import { UserEventPayload487ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload487ActorType = "admin"; -``` - -## Values - -```typescript -"admin" | "user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload487type.md b/docs/models/usereventpayload487type.md new file mode 100644 index 0000000000..136947b8e7 --- /dev/null +++ b/docs/models/usereventpayload487type.md @@ -0,0 +1,15 @@ +# UserEventPayload487Type + +## Example Usage + +```typescript +import { UserEventPayload487Type } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload487Type = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload489actortype.md b/docs/models/usereventpayload489actortype.md deleted file mode 100644 index a08419353c..0000000000 --- a/docs/models/usereventpayload489actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload489ActorType - -## Example Usage - -```typescript -import { UserEventPayload489ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload489ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload492actortype.md b/docs/models/usereventpayload492actortype.md new file mode 100644 index 0000000000..d84f82d1f3 --- /dev/null +++ b/docs/models/usereventpayload492actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload492ActorType + +## Example Usage + +```typescript +import { UserEventPayload492ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload492ActorType = "admin"; +``` + +## Values + +```typescript +"admin" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload493actortype.md b/docs/models/usereventpayload493actortype.md deleted file mode 100644 index 0d1b148afb..0000000000 --- a/docs/models/usereventpayload493actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload493ActorType - -## Example Usage - -```typescript -import { UserEventPayload493ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload493ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload494actortype.md b/docs/models/usereventpayload494actortype.md index ff8f2ac5d6..8280f47cd2 100644 --- a/docs/models/usereventpayload494actortype.md +++ b/docs/models/usereventpayload494actortype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload494ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload494ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayload494ActorType = "admin"; ``` diff --git a/docs/models/usereventpayload495actortype.md b/docs/models/usereventpayload495actortype.md deleted file mode 100644 index f1876d531e..0000000000 --- a/docs/models/usereventpayload495actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload495ActorType - -## Example Usage - -```typescript -import { UserEventPayload495ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload495ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload496actortype.md b/docs/models/usereventpayload496actortype.md deleted file mode 100644 index b0338f96b1..0000000000 --- a/docs/models/usereventpayload496actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload496ActorType - -## Example Usage - -```typescript -import { UserEventPayload496ActorType } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload496ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload497scope.md b/docs/models/usereventpayload497scope.md deleted file mode 100644 index faae1075c8..0000000000 --- a/docs/models/usereventpayload497scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload497Scope - -## Example Usage - -```typescript -import { UserEventPayload497Scope } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload497Scope = "organization"; -``` - -## Values - -```typescript -"default" | "organization" | "team" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload498actortype.md b/docs/models/usereventpayload498actortype.md new file mode 100644 index 0000000000..82d8ada34c --- /dev/null +++ b/docs/models/usereventpayload498actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload498ActorType + +## Example Usage + +```typescript +import { UserEventPayload498ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload498ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload499actortype.md b/docs/models/usereventpayload499actortype.md new file mode 100644 index 0000000000..c6d57f269d --- /dev/null +++ b/docs/models/usereventpayload499actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload499ActorType + +## Example Usage + +```typescript +import { UserEventPayload499ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload499ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload500actortype.md b/docs/models/usereventpayload500actortype.md new file mode 100644 index 0000000000..266d397d95 --- /dev/null +++ b/docs/models/usereventpayload500actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload500ActorType + +## Example Usage + +```typescript +import { UserEventPayload500ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload500ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload501actortype.md b/docs/models/usereventpayload501actortype.md new file mode 100644 index 0000000000..91423f2daa --- /dev/null +++ b/docs/models/usereventpayload501actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload501ActorType + +## Example Usage + +```typescript +import { UserEventPayload501ActorType } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload501ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload502scope.md b/docs/models/usereventpayload502scope.md new file mode 100644 index 0000000000..5bce97748d --- /dev/null +++ b/docs/models/usereventpayload502scope.md @@ -0,0 +1,15 @@ +# UserEventPayload502Scope + +## Example Usage + +```typescript +import { UserEventPayload502Scope } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload502Scope = "team"; +``` + +## Values + +```typescript +"default" | "organization" | "team" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload500action.md b/docs/models/usereventpayload505action.md similarity index 51% rename from docs/models/usereventpayload500action.md rename to docs/models/usereventpayload505action.md index 788cfbe0b9..e03a860422 100644 --- a/docs/models/usereventpayload500action.md +++ b/docs/models/usereventpayload505action.md @@ -1,11 +1,11 @@ -# UserEventPayload500Action +# UserEventPayload505Action ## Example Usage ```typescript -import { UserEventPayload500Action } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload505Action } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload500Action = "add-totp"; +let value: UserEventPayload505Action = "admin-remove"; ``` ## Values diff --git a/docs/models/usereventpayload506next.md b/docs/models/usereventpayload506next.md index e7a27a078b..b1596265b4 100644 --- a/docs/models/usereventpayload506next.md +++ b/docs/models/usereventpayload506next.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload506Next } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload506Next } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayload506Next = { enabled: true, diff --git a/docs/models/usereventpayload506previous.md b/docs/models/usereventpayload506previous.md index 3ae2e37599..638dd82ce3 100644 --- a/docs/models/usereventpayload506previous.md +++ b/docs/models/usereventpayload506previous.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload506Previous } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload506Previous } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayload506Previous = { enabled: false, diff --git a/docs/models/usereventpayload507provider.md b/docs/models/usereventpayload507provider.md deleted file mode 100644 index a9abc3a887..0000000000 --- a/docs/models/usereventpayload507provider.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload507Provider - -## Example Usage - -```typescript -import { UserEventPayload507Provider } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; - -let value: UserEventPayload507Provider = "google"; -``` - -## Values - -```typescript -"google" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload509actortype.md b/docs/models/usereventpayload509actortype.md deleted file mode 100644 index 09650a011b..0000000000 --- a/docs/models/usereventpayload509actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload509ActorType - -## Example Usage - -```typescript -import { UserEventPayload509ActorType } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload509ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload50mode.md b/docs/models/usereventpayload50mode.md index ccb541b61a..eb2df7ecab 100644 --- a/docs/models/usereventpayload50mode.md +++ b/docs/models/usereventpayload50mode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload50Mode } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload50Mode } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload50Mode = "shadow"; ``` diff --git a/docs/models/usereventpayload510actortype.md b/docs/models/usereventpayload510actortype.md deleted file mode 100644 index 624787496b..0000000000 --- a/docs/models/usereventpayload510actortype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload510ActorType - -## Example Usage - -```typescript -import { UserEventPayload510ActorType } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload510ActorType = "admin"; -``` - -## Values - -```typescript -"admin" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload501previous.md b/docs/models/usereventpayload511next.md similarity index 72% rename from docs/models/usereventpayload501previous.md rename to docs/models/usereventpayload511next.md index 42e376a798..a7f6e848dc 100644 --- a/docs/models/usereventpayload501previous.md +++ b/docs/models/usereventpayload511next.md @@ -1,11 +1,11 @@ -# UserEventPayload501Previous +# UserEventPayload511Next ## Example Usage ```typescript -import { UserEventPayload501Previous } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload511Next } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload501Previous = { +let value: UserEventPayload511Next = { enabled: true, totpVerified: false, }; diff --git a/docs/models/usereventpayload501next.md b/docs/models/usereventpayload511previous.md similarity index 70% rename from docs/models/usereventpayload501next.md rename to docs/models/usereventpayload511previous.md index 713268186e..510620eccd 100644 --- a/docs/models/usereventpayload501next.md +++ b/docs/models/usereventpayload511previous.md @@ -1,12 +1,12 @@ -# UserEventPayload501Next +# UserEventPayload511Previous ## Example Usage ```typescript -import { UserEventPayload501Next } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayload511Previous } from "@vercel/sdk/models/fourhundredandforty.js"; -let value: UserEventPayload501Next = { - enabled: false, +let value: UserEventPayload511Previous = { + enabled: true, totpVerified: true, }; ``` diff --git a/docs/models/usereventpayload512provider.md b/docs/models/usereventpayload512provider.md new file mode 100644 index 0000000000..d69dbc1226 --- /dev/null +++ b/docs/models/usereventpayload512provider.md @@ -0,0 +1,15 @@ +# UserEventPayload512Provider + +## Example Usage + +```typescript +import { UserEventPayload512Provider } from "@vercel/sdk/models/fourhundredandforty.js"; + +let value: UserEventPayload512Provider = "google"; +``` + +## Values + +```typescript +"google" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload514actortype.md b/docs/models/usereventpayload514actortype.md new file mode 100644 index 0000000000..7e91303d20 --- /dev/null +++ b/docs/models/usereventpayload514actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload514ActorType + +## Example Usage + +```typescript +import { UserEventPayload514ActorType } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload514ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload515actortype.md b/docs/models/usereventpayload515actortype.md new file mode 100644 index 0000000000..05184cdbb2 --- /dev/null +++ b/docs/models/usereventpayload515actortype.md @@ -0,0 +1,15 @@ +# UserEventPayload515ActorType + +## Example Usage + +```typescript +import { UserEventPayload515ActorType } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload515ActorType = "admin"; +``` + +## Values + +```typescript +"admin" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload531configuration.md b/docs/models/usereventpayload534configuration.md similarity index 74% rename from docs/models/usereventpayload531configuration.md rename to docs/models/usereventpayload534configuration.md index d70c6a245b..441e300701 100644 --- a/docs/models/usereventpayload531configuration.md +++ b/docs/models/usereventpayload534configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload531Configuration +# UserEventPayload534Configuration ## Example Usage ```typescript -import { UserEventPayload531Configuration } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload534Configuration } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload531Configuration = { +let value: UserEventPayload534Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload530team.md b/docs/models/usereventpayload534team.md similarity index 77% rename from docs/models/usereventpayload530team.md rename to docs/models/usereventpayload534team.md index 9c434188a3..1ab4a7aef9 100644 --- a/docs/models/usereventpayload530team.md +++ b/docs/models/usereventpayload534team.md @@ -1,11 +1,11 @@ -# UserEventPayload530Team +# UserEventPayload534Team ## Example Usage ```typescript -import { UserEventPayload530Team } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload534Team } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload530Team = { +let value: UserEventPayload534Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload530configuration.md b/docs/models/usereventpayload535configuration.md similarity index 74% rename from docs/models/usereventpayload530configuration.md rename to docs/models/usereventpayload535configuration.md index 89b52b2873..5900e97dde 100644 --- a/docs/models/usereventpayload530configuration.md +++ b/docs/models/usereventpayload535configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload530Configuration +# UserEventPayload535Configuration ## Example Usage ```typescript -import { UserEventPayload530Configuration } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload535Configuration } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload530Configuration = { +let value: UserEventPayload535Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload531team.md b/docs/models/usereventpayload535team.md similarity index 77% rename from docs/models/usereventpayload531team.md rename to docs/models/usereventpayload535team.md index 52383ae888..00329d6a1e 100644 --- a/docs/models/usereventpayload531team.md +++ b/docs/models/usereventpayload535team.md @@ -1,11 +1,11 @@ -# UserEventPayload531Team +# UserEventPayload535Team ## Example Usage ```typescript -import { UserEventPayload531Team } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload535Team } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload531Team = { +let value: UserEventPayload535Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload529configuration.md b/docs/models/usereventpayload536configuration.md similarity index 74% rename from docs/models/usereventpayload529configuration.md rename to docs/models/usereventpayload536configuration.md index 567457c681..6f1396f6cb 100644 --- a/docs/models/usereventpayload529configuration.md +++ b/docs/models/usereventpayload536configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload529Configuration +# UserEventPayload536Configuration ## Example Usage ```typescript -import { UserEventPayload529Configuration } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload536Configuration } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload529Configuration = { +let value: UserEventPayload536Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload529team.md b/docs/models/usereventpayload536team.md similarity index 77% rename from docs/models/usereventpayload529team.md rename to docs/models/usereventpayload536team.md index 4cd2459e31..e9d139f0f5 100644 --- a/docs/models/usereventpayload529team.md +++ b/docs/models/usereventpayload536team.md @@ -1,11 +1,11 @@ -# UserEventPayload529Team +# UserEventPayload536Team ## Example Usage ```typescript -import { UserEventPayload529Team } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload536Team } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload529Team = { +let value: UserEventPayload536Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload532team.md b/docs/models/usereventpayload537team.md similarity index 76% rename from docs/models/usereventpayload532team.md rename to docs/models/usereventpayload537team.md index 53ae7ca43f..5330241d72 100644 --- a/docs/models/usereventpayload532team.md +++ b/docs/models/usereventpayload537team.md @@ -1,11 +1,11 @@ -# UserEventPayload532Team +# UserEventPayload537Team ## Example Usage ```typescript -import { UserEventPayload532Team } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload537Team } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload532Team = { +let value: UserEventPayload537Team = { id: "", }; ``` diff --git a/docs/models/usereventpayload541scope.md b/docs/models/usereventpayload541scope.md deleted file mode 100644 index f38de9c1a9..0000000000 --- a/docs/models/usereventpayload541scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload541Scope - -## Example Usage - -```typescript -import { UserEventPayload541Scope } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload541Scope = "team"; -``` - -## Values - -```typescript -"organization" | "team" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload538next.md b/docs/models/usereventpayload543next.md similarity index 94% rename from docs/models/usereventpayload538next.md rename to docs/models/usereventpayload543next.md index 4612180ea8..70c6179e34 100644 --- a/docs/models/usereventpayload538next.md +++ b/docs/models/usereventpayload543next.md @@ -1,4 +1,4 @@ -# UserEventPayload538Next +# UserEventPayload543Next ## Supported Types diff --git a/docs/models/usereventpayload538previous.md b/docs/models/usereventpayload543previous.md similarity index 94% rename from docs/models/usereventpayload538previous.md rename to docs/models/usereventpayload543previous.md index 13b4ad5237..eb95ab71e2 100644 --- a/docs/models/usereventpayload538previous.md +++ b/docs/models/usereventpayload543previous.md @@ -1,4 +1,4 @@ -# UserEventPayload538Previous +# UserEventPayload543Previous ## Supported Types diff --git a/docs/models/usereventpayload539next.md b/docs/models/usereventpayload544next.md similarity index 95% rename from docs/models/usereventpayload539next.md rename to docs/models/usereventpayload544next.md index 1c1808f911..d57d939f81 100644 --- a/docs/models/usereventpayload539next.md +++ b/docs/models/usereventpayload544next.md @@ -1,4 +1,4 @@ -# UserEventPayload539Next +# UserEventPayload544Next ## Supported Types diff --git a/docs/models/usereventpayload539previous.md b/docs/models/usereventpayload544previous.md similarity index 95% rename from docs/models/usereventpayload539previous.md rename to docs/models/usereventpayload544previous.md index 2d869afd40..d4ee33dcbb 100644 --- a/docs/models/usereventpayload539previous.md +++ b/docs/models/usereventpayload544previous.md @@ -1,4 +1,4 @@ -# UserEventPayload539Previous +# UserEventPayload544Previous ## Supported Types diff --git a/docs/models/usereventpayload541next.md b/docs/models/usereventpayload546next.md similarity index 74% rename from docs/models/usereventpayload541next.md rename to docs/models/usereventpayload546next.md index 2ba27ae0d8..80904ef5b6 100644 --- a/docs/models/usereventpayload541next.md +++ b/docs/models/usereventpayload546next.md @@ -1,16 +1,15 @@ -# UserEventPayload541Next +# UserEventPayload546Next ## Example Usage ```typescript -import { UserEventPayload541Next } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload546Next } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload541Next = { - enabled: true, +let value: UserEventPayload546Next = { + enabled: false, issuerUrls: [ "", "", - "", ], }; ``` diff --git a/docs/models/usereventpayload541previous.md b/docs/models/usereventpayload546previous.md similarity index 70% rename from docs/models/usereventpayload541previous.md rename to docs/models/usereventpayload546previous.md index ba2940584e..5a4a3c6ec3 100644 --- a/docs/models/usereventpayload541previous.md +++ b/docs/models/usereventpayload546previous.md @@ -1,16 +1,14 @@ -# UserEventPayload541Previous +# UserEventPayload546Previous ## Example Usage ```typescript -import { UserEventPayload541Previous } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload546Previous } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload541Previous = { - enabled: false, +let value: UserEventPayload546Previous = { + enabled: true, issuerUrls: [ "", - "", - "", ], }; ``` diff --git a/docs/models/usereventpayload546scope.md b/docs/models/usereventpayload546scope.md index e4e347412a..7a0332ab9e 100644 --- a/docs/models/usereventpayload546scope.md +++ b/docs/models/usereventpayload546scope.md @@ -1,17 +1,15 @@ # UserEventPayload546Scope -Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. - ## Example Usage ```typescript import { UserEventPayload546Scope } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546Scope = "team"; +let value: UserEventPayload546Scope = "organization"; ``` ## Values ```typescript -"project" | "team" | "user" +"organization" | "team" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload546source.md b/docs/models/usereventpayload546source.md deleted file mode 100644 index c60853e323..0000000000 --- a/docs/models/usereventpayload546source.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload546Source - -## Example Usage - -```typescript -import { UserEventPayload546Source } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload546Source = "v0"; -``` - -## Values - -```typescript -"v0" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload547reason.md b/docs/models/usereventpayload547reason.md deleted file mode 100644 index eb9158d597..0000000000 --- a/docs/models/usereventpayload547reason.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload547Reason - -## Example Usage - -```typescript -import { UserEventPayload547Reason } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload547Reason = "logout"; -``` - -## Values - -```typescript -"logout" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload547scope.md b/docs/models/usereventpayload547scope.md deleted file mode 100644 index 8542ddb419..0000000000 --- a/docs/models/usereventpayload547scope.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload547Scope - -## Example Usage - -```typescript -import { UserEventPayload547Scope } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload547Scope = "user"; -``` - -## Values - -```typescript -"project" | "team" | "user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload547source.md b/docs/models/usereventpayload547source.md deleted file mode 100644 index f90f39583f..0000000000 --- a/docs/models/usereventpayload547source.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload547Source - -## Example Usage - -```typescript -import { UserEventPayload547Source } from "@vercel/sdk/models/payloadoutcome.js"; - -let value: UserEventPayload547Source = "v0"; -``` - -## Values - -```typescript -"v0" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload545resources.md b/docs/models/usereventpayload549resources.md similarity index 75% rename from docs/models/usereventpayload545resources.md rename to docs/models/usereventpayload549resources.md index 777c2950f8..372f685ab2 100644 --- a/docs/models/usereventpayload545resources.md +++ b/docs/models/usereventpayload549resources.md @@ -1,13 +1,13 @@ -# UserEventPayload545Resources +# UserEventPayload549Resources Resource boundary, or `null` when the policy has none. ## Example Usage ```typescript -import { UserEventPayload545Resources } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload549Resources } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload545Resources = { +let value: UserEventPayload549Resources = { projectIds: [ "", ], diff --git a/docs/models/usereventpayload544resources.md b/docs/models/usereventpayload550beforeresources.md similarity index 71% rename from docs/models/usereventpayload544resources.md rename to docs/models/usereventpayload550beforeresources.md index 3b77943486..885db0b1b3 100644 --- a/docs/models/usereventpayload544resources.md +++ b/docs/models/usereventpayload550beforeresources.md @@ -1,13 +1,13 @@ -# UserEventPayload544Resources +# UserEventPayload550BeforeResources Resource boundary, or `null` when the policy has none. ## Example Usage ```typescript -import { UserEventPayload544Resources } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload550BeforeResources } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload544Resources = { +let value: UserEventPayload550BeforeResources = { projectIds: [ "", "", diff --git a/docs/models/usereventpayload545beforeresources.md b/docs/models/usereventpayload550resources.md similarity index 64% rename from docs/models/usereventpayload545beforeresources.md rename to docs/models/usereventpayload550resources.md index 00dc6d298d..36f2c610a1 100644 --- a/docs/models/usereventpayload545beforeresources.md +++ b/docs/models/usereventpayload550resources.md @@ -1,14 +1,16 @@ -# UserEventPayload545BeforeResources +# UserEventPayload550Resources Resource boundary, or `null` when the policy has none. ## Example Usage ```typescript -import { UserEventPayload545BeforeResources } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload550Resources } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload545BeforeResources = { - projectIds: [], +let value: UserEventPayload550Resources = { + projectIds: [ + "", + ], }; ``` diff --git a/docs/models/usereventpayload547city.md b/docs/models/usereventpayload551city.md similarity index 77% rename from docs/models/usereventpayload547city.md rename to docs/models/usereventpayload551city.md index 29c4969d6b..f132d5abc3 100644 --- a/docs/models/usereventpayload547city.md +++ b/docs/models/usereventpayload551city.md @@ -1,11 +1,11 @@ -# UserEventPayload547City +# UserEventPayload551City ## Example Usage ```typescript -import { UserEventPayload547City } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551City } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload547City = { +let value: UserEventPayload551City = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload547City = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `names` | [models.UserEventPayload547Names](../models/usereventpayload547names.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload551Names](../models/usereventpayload551names.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload547country.md b/docs/models/usereventpayload551country.md similarity index 81% rename from docs/models/usereventpayload547country.md rename to docs/models/usereventpayload551country.md index 160bc3eadd..cbd21ab0bf 100644 --- a/docs/models/usereventpayload547country.md +++ b/docs/models/usereventpayload551country.md @@ -1,11 +1,11 @@ -# UserEventPayload547Country +# UserEventPayload551Country ## Example Usage ```typescript -import { UserEventPayload547Country } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551Country } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload547Country = { +let value: UserEventPayload551Country = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload547Country = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload547GeolocationNames](../models/usereventpayload547geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload551GeolocationNames](../models/usereventpayload551geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload546geolocation.md b/docs/models/usereventpayload551geolocation.md similarity index 86% rename from docs/models/usereventpayload546geolocation.md rename to docs/models/usereventpayload551geolocation.md index 910c4561bc..b689ad8cf4 100644 --- a/docs/models/usereventpayload546geolocation.md +++ b/docs/models/usereventpayload551geolocation.md @@ -1,11 +1,11 @@ -# UserEventPayload546Geolocation +# UserEventPayload551Geolocation ## Example Usage ```typescript -import { UserEventPayload546Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546Geolocation = { +let value: UserEventPayload551Geolocation = { country: { names: { en: "", @@ -18,7 +18,7 @@ let value: UserEventPayload546Geolocation = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `city` | [models.UserEventPayload546City](../models/usereventpayload546city.md) | :heavy_minus_sign: | N/A | -| `country` | [models.UserEventPayload546Country](../models/usereventpayload546country.md) | :heavy_check_mark: | N/A | -| `mostSpecificSubdivision` | [models.UserEventPayload546MostSpecificSubdivision](../models/usereventpayload546mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | +| `city` | [models.UserEventPayload551City](../models/usereventpayload551city.md) | :heavy_minus_sign: | N/A | +| `country` | [models.UserEventPayload551Country](../models/usereventpayload551country.md) | :heavy_check_mark: | N/A | +| `mostSpecificSubdivision` | [models.UserEventPayload551MostSpecificSubdivision](../models/usereventpayload551mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | | `regionName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload546geolocationmostspecificsubdivisionnames.md b/docs/models/usereventpayload551geolocationmostspecificsubdivisionnames.md similarity index 67% rename from docs/models/usereventpayload546geolocationmostspecificsubdivisionnames.md rename to docs/models/usereventpayload551geolocationmostspecificsubdivisionnames.md index 2590804060..9ee6c131df 100644 --- a/docs/models/usereventpayload546geolocationmostspecificsubdivisionnames.md +++ b/docs/models/usereventpayload551geolocationmostspecificsubdivisionnames.md @@ -1,11 +1,11 @@ -# UserEventPayload546GeolocationMostSpecificSubdivisionNames +# UserEventPayload551GeolocationMostSpecificSubdivisionNames ## Example Usage ```typescript -import { UserEventPayload546GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546GeolocationMostSpecificSubdivisionNames = { +let value: UserEventPayload551GeolocationMostSpecificSubdivisionNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload546geolocationnames.md b/docs/models/usereventpayload551geolocationnames.md similarity index 69% rename from docs/models/usereventpayload546geolocationnames.md rename to docs/models/usereventpayload551geolocationnames.md index c38f419638..4d427f5f8e 100644 --- a/docs/models/usereventpayload546geolocationnames.md +++ b/docs/models/usereventpayload551geolocationnames.md @@ -1,11 +1,11 @@ -# UserEventPayload546GeolocationNames +# UserEventPayload551GeolocationNames ## Example Usage ```typescript -import { UserEventPayload546GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546GeolocationNames = { +let value: UserEventPayload551GeolocationNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload547mostspecificsubdivision.md b/docs/models/usereventpayload551mostspecificsubdivision.md similarity index 85% rename from docs/models/usereventpayload547mostspecificsubdivision.md rename to docs/models/usereventpayload551mostspecificsubdivision.md index f4c2c642d8..f8e2cd5956 100644 --- a/docs/models/usereventpayload547mostspecificsubdivision.md +++ b/docs/models/usereventpayload551mostspecificsubdivision.md @@ -1,11 +1,11 @@ -# UserEventPayload547MostSpecificSubdivision +# UserEventPayload551MostSpecificSubdivision ## Example Usage ```typescript -import { UserEventPayload547MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload547MostSpecificSubdivision = { +let value: UserEventPayload551MostSpecificSubdivision = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload547MostSpecificSubdivision = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload547GeolocationMostSpecificSubdivisionNames](../models/usereventpayload547geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload551GeolocationMostSpecificSubdivisionNames](../models/usereventpayload551geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload542names.md b/docs/models/usereventpayload551names.md similarity index 72% rename from docs/models/usereventpayload542names.md rename to docs/models/usereventpayload551names.md index 890de0b824..b18b65b63c 100644 --- a/docs/models/usereventpayload542names.md +++ b/docs/models/usereventpayload551names.md @@ -1,11 +1,11 @@ -# UserEventPayload542Names +# UserEventPayload551Names ## Example Usage ```typescript -import { UserEventPayload542Names } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload551Names } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload542Names = { +let value: UserEventPayload551Names = { en: "", }; ``` diff --git a/docs/models/usereventpayload551scope.md b/docs/models/usereventpayload551scope.md new file mode 100644 index 0000000000..8bb216769d --- /dev/null +++ b/docs/models/usereventpayload551scope.md @@ -0,0 +1,17 @@ +# UserEventPayload551Scope + +Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. + +## Example Usage + +```typescript +import { UserEventPayload551Scope } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload551Scope = "project"; +``` + +## Values + +```typescript +"project" | "team" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload551source.md b/docs/models/usereventpayload551source.md new file mode 100644 index 0000000000..ed159852ab --- /dev/null +++ b/docs/models/usereventpayload551source.md @@ -0,0 +1,15 @@ +# UserEventPayload551Source + +## Example Usage + +```typescript +import { UserEventPayload551Source } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload551Source = "v0"; +``` + +## Values + +```typescript +"v0" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload548city.md b/docs/models/usereventpayload552city.md similarity index 77% rename from docs/models/usereventpayload548city.md rename to docs/models/usereventpayload552city.md index cc4eb2fade..3258ed0c1f 100644 --- a/docs/models/usereventpayload548city.md +++ b/docs/models/usereventpayload552city.md @@ -1,11 +1,11 @@ -# UserEventPayload548City +# UserEventPayload552City ## Example Usage ```typescript -import { UserEventPayload548City } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552City } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548City = { +let value: UserEventPayload552City = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload548City = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `names` | [models.UserEventPayload548Names](../models/usereventpayload548names.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload552Names](../models/usereventpayload552names.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload546country.md b/docs/models/usereventpayload552country.md similarity index 81% rename from docs/models/usereventpayload546country.md rename to docs/models/usereventpayload552country.md index 852de048e0..eec7ed7bef 100644 --- a/docs/models/usereventpayload546country.md +++ b/docs/models/usereventpayload552country.md @@ -1,11 +1,11 @@ -# UserEventPayload546Country +# UserEventPayload552Country ## Example Usage ```typescript -import { UserEventPayload546Country } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552Country } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546Country = { +let value: UserEventPayload552Country = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload546Country = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload546GeolocationNames](../models/usereventpayload546geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload552GeolocationNames](../models/usereventpayload552geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload548geolocation.md b/docs/models/usereventpayload552geolocation.md similarity index 86% rename from docs/models/usereventpayload548geolocation.md rename to docs/models/usereventpayload552geolocation.md index f5cad083a0..b279903ad4 100644 --- a/docs/models/usereventpayload548geolocation.md +++ b/docs/models/usereventpayload552geolocation.md @@ -1,11 +1,11 @@ -# UserEventPayload548Geolocation +# UserEventPayload552Geolocation ## Example Usage ```typescript -import { UserEventPayload548Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548Geolocation = { +let value: UserEventPayload552Geolocation = { country: { names: { en: "", @@ -18,7 +18,7 @@ let value: UserEventPayload548Geolocation = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `city` | [models.UserEventPayload548City](../models/usereventpayload548city.md) | :heavy_minus_sign: | N/A | -| `country` | [models.UserEventPayload548Country](../models/usereventpayload548country.md) | :heavy_check_mark: | N/A | -| `mostSpecificSubdivision` | [models.UserEventPayload548MostSpecificSubdivision](../models/usereventpayload548mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | +| `city` | [models.UserEventPayload552City](../models/usereventpayload552city.md) | :heavy_minus_sign: | N/A | +| `country` | [models.UserEventPayload552Country](../models/usereventpayload552country.md) | :heavy_check_mark: | N/A | +| `mostSpecificSubdivision` | [models.UserEventPayload552MostSpecificSubdivision](../models/usereventpayload552mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | | `regionName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload548geolocationmostspecificsubdivisionnames.md b/docs/models/usereventpayload552geolocationmostspecificsubdivisionnames.md similarity index 67% rename from docs/models/usereventpayload548geolocationmostspecificsubdivisionnames.md rename to docs/models/usereventpayload552geolocationmostspecificsubdivisionnames.md index 03a02b43c6..d3445253ed 100644 --- a/docs/models/usereventpayload548geolocationmostspecificsubdivisionnames.md +++ b/docs/models/usereventpayload552geolocationmostspecificsubdivisionnames.md @@ -1,11 +1,11 @@ -# UserEventPayload548GeolocationMostSpecificSubdivisionNames +# UserEventPayload552GeolocationMostSpecificSubdivisionNames ## Example Usage ```typescript -import { UserEventPayload548GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548GeolocationMostSpecificSubdivisionNames = { +let value: UserEventPayload552GeolocationMostSpecificSubdivisionNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload548geolocationnames.md b/docs/models/usereventpayload552geolocationnames.md similarity index 69% rename from docs/models/usereventpayload548geolocationnames.md rename to docs/models/usereventpayload552geolocationnames.md index ec242d06db..3a336c497c 100644 --- a/docs/models/usereventpayload548geolocationnames.md +++ b/docs/models/usereventpayload552geolocationnames.md @@ -1,11 +1,11 @@ -# UserEventPayload548GeolocationNames +# UserEventPayload552GeolocationNames ## Example Usage ```typescript -import { UserEventPayload548GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548GeolocationNames = { +let value: UserEventPayload552GeolocationNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload548mostspecificsubdivision.md b/docs/models/usereventpayload552mostspecificsubdivision.md similarity index 85% rename from docs/models/usereventpayload548mostspecificsubdivision.md rename to docs/models/usereventpayload552mostspecificsubdivision.md index 9c0a5b735b..f34a16eba7 100644 --- a/docs/models/usereventpayload548mostspecificsubdivision.md +++ b/docs/models/usereventpayload552mostspecificsubdivision.md @@ -1,11 +1,11 @@ -# UserEventPayload548MostSpecificSubdivision +# UserEventPayload552MostSpecificSubdivision ## Example Usage ```typescript -import { UserEventPayload548MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548MostSpecificSubdivision = { +let value: UserEventPayload552MostSpecificSubdivision = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload548MostSpecificSubdivision = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload548GeolocationMostSpecificSubdivisionNames](../models/usereventpayload548geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload552GeolocationMostSpecificSubdivisionNames](../models/usereventpayload552geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload546names.md b/docs/models/usereventpayload552names.md similarity index 72% rename from docs/models/usereventpayload546names.md rename to docs/models/usereventpayload552names.md index 4a9bc13400..32332b4b7e 100644 --- a/docs/models/usereventpayload546names.md +++ b/docs/models/usereventpayload552names.md @@ -1,11 +1,11 @@ -# UserEventPayload546Names +# UserEventPayload552Names ## Example Usage ```typescript -import { UserEventPayload546Names } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload552Names } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546Names = { +let value: UserEventPayload552Names = { en: "", }; ``` diff --git a/docs/models/usereventpayload552reason.md b/docs/models/usereventpayload552reason.md new file mode 100644 index 0000000000..fe7b7e8c7a --- /dev/null +++ b/docs/models/usereventpayload552reason.md @@ -0,0 +1,15 @@ +# UserEventPayload552Reason + +## Example Usage + +```typescript +import { UserEventPayload552Reason } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload552Reason = "logout"; +``` + +## Values + +```typescript +"logout" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload552scope.md b/docs/models/usereventpayload552scope.md new file mode 100644 index 0000000000..3147ecadc3 --- /dev/null +++ b/docs/models/usereventpayload552scope.md @@ -0,0 +1,15 @@ +# UserEventPayload552Scope + +## Example Usage + +```typescript +import { UserEventPayload552Scope } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload552Scope = "user"; +``` + +## Values + +```typescript +"project" | "team" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload552source.md b/docs/models/usereventpayload552source.md new file mode 100644 index 0000000000..e9678c4479 --- /dev/null +++ b/docs/models/usereventpayload552source.md @@ -0,0 +1,15 @@ +# UserEventPayload552Source + +## Example Usage + +```typescript +import { UserEventPayload552Source } from "@vercel/sdk/models/payloadoutcome.js"; + +let value: UserEventPayload552Source = "v0"; +``` + +## Values + +```typescript +"v0" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload546city.md b/docs/models/usereventpayload553city.md similarity index 77% rename from docs/models/usereventpayload546city.md rename to docs/models/usereventpayload553city.md index c4fa1cbf95..b790679b18 100644 --- a/docs/models/usereventpayload546city.md +++ b/docs/models/usereventpayload553city.md @@ -1,11 +1,11 @@ -# UserEventPayload546City +# UserEventPayload553City ## Example Usage ```typescript -import { UserEventPayload546City } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553City } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546City = { +let value: UserEventPayload553City = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload546City = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `names` | [models.UserEventPayload546Names](../models/usereventpayload546names.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload553Names](../models/usereventpayload553names.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload548country.md b/docs/models/usereventpayload553country.md similarity index 81% rename from docs/models/usereventpayload548country.md rename to docs/models/usereventpayload553country.md index 6cac5699a3..f2bd80bc64 100644 --- a/docs/models/usereventpayload548country.md +++ b/docs/models/usereventpayload553country.md @@ -1,11 +1,11 @@ -# UserEventPayload548Country +# UserEventPayload553Country ## Example Usage ```typescript -import { UserEventPayload548Country } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553Country } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548Country = { +let value: UserEventPayload553Country = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload548Country = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload548GeolocationNames](../models/usereventpayload548geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload553GeolocationNames](../models/usereventpayload553geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload547geolocation.md b/docs/models/usereventpayload553geolocation.md similarity index 86% rename from docs/models/usereventpayload547geolocation.md rename to docs/models/usereventpayload553geolocation.md index fcc0682bdb..9430c5c54a 100644 --- a/docs/models/usereventpayload547geolocation.md +++ b/docs/models/usereventpayload553geolocation.md @@ -1,11 +1,11 @@ -# UserEventPayload547Geolocation +# UserEventPayload553Geolocation ## Example Usage ```typescript -import { UserEventPayload547Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553Geolocation } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload547Geolocation = { +let value: UserEventPayload553Geolocation = { country: { names: { en: "", @@ -18,7 +18,7 @@ let value: UserEventPayload547Geolocation = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `city` | [models.UserEventPayload547City](../models/usereventpayload547city.md) | :heavy_minus_sign: | N/A | -| `country` | [models.UserEventPayload547Country](../models/usereventpayload547country.md) | :heavy_check_mark: | N/A | -| `mostSpecificSubdivision` | [models.UserEventPayload547MostSpecificSubdivision](../models/usereventpayload547mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | +| `city` | [models.UserEventPayload553City](../models/usereventpayload553city.md) | :heavy_minus_sign: | N/A | +| `country` | [models.UserEventPayload553Country](../models/usereventpayload553country.md) | :heavy_check_mark: | N/A | +| `mostSpecificSubdivision` | [models.UserEventPayload553MostSpecificSubdivision](../models/usereventpayload553mostspecificsubdivision.md) | :heavy_minus_sign: | N/A | | `regionName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload542geolocationmostspecificsubdivisionnames.md b/docs/models/usereventpayload553geolocationmostspecificsubdivisionnames.md similarity index 67% rename from docs/models/usereventpayload542geolocationmostspecificsubdivisionnames.md rename to docs/models/usereventpayload553geolocationmostspecificsubdivisionnames.md index e27a316d77..dac81d7401 100644 --- a/docs/models/usereventpayload542geolocationmostspecificsubdivisionnames.md +++ b/docs/models/usereventpayload553geolocationmostspecificsubdivisionnames.md @@ -1,11 +1,11 @@ -# UserEventPayload542GeolocationMostSpecificSubdivisionNames +# UserEventPayload553GeolocationMostSpecificSubdivisionNames ## Example Usage ```typescript -import { UserEventPayload542GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553GeolocationMostSpecificSubdivisionNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload542GeolocationMostSpecificSubdivisionNames = { +let value: UserEventPayload553GeolocationMostSpecificSubdivisionNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload542geolocationnames.md b/docs/models/usereventpayload553geolocationnames.md similarity index 69% rename from docs/models/usereventpayload542geolocationnames.md rename to docs/models/usereventpayload553geolocationnames.md index 7b58340dbc..3b205ee99e 100644 --- a/docs/models/usereventpayload542geolocationnames.md +++ b/docs/models/usereventpayload553geolocationnames.md @@ -1,11 +1,11 @@ -# UserEventPayload542GeolocationNames +# UserEventPayload553GeolocationNames ## Example Usage ```typescript -import { UserEventPayload542GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553GeolocationNames } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload542GeolocationNames = { +let value: UserEventPayload553GeolocationNames = { en: "", }; ``` diff --git a/docs/models/usereventpayload546mostspecificsubdivision.md b/docs/models/usereventpayload553mostspecificsubdivision.md similarity index 85% rename from docs/models/usereventpayload546mostspecificsubdivision.md rename to docs/models/usereventpayload553mostspecificsubdivision.md index dbf1069529..520c8021ba 100644 --- a/docs/models/usereventpayload546mostspecificsubdivision.md +++ b/docs/models/usereventpayload553mostspecificsubdivision.md @@ -1,11 +1,11 @@ -# UserEventPayload546MostSpecificSubdivision +# UserEventPayload553MostSpecificSubdivision ## Example Usage ```typescript -import { UserEventPayload546MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553MostSpecificSubdivision } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload546MostSpecificSubdivision = { +let value: UserEventPayload553MostSpecificSubdivision = { names: { en: "", }, @@ -16,4 +16,4 @@ let value: UserEventPayload546MostSpecificSubdivision = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload546GeolocationMostSpecificSubdivisionNames](../models/usereventpayload546geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload553GeolocationMostSpecificSubdivisionNames](../models/usereventpayload553geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload548names.md b/docs/models/usereventpayload553names.md similarity index 72% rename from docs/models/usereventpayload548names.md rename to docs/models/usereventpayload553names.md index fe26a3617c..6701549b15 100644 --- a/docs/models/usereventpayload548names.md +++ b/docs/models/usereventpayload553names.md @@ -1,11 +1,11 @@ -# UserEventPayload548Names +# UserEventPayload553Names ## Example Usage ```typescript -import { UserEventPayload548Names } from "@vercel/sdk/models/payloadoutcome.js"; +import { UserEventPayload553Names } from "@vercel/sdk/models/payloadoutcome.js"; -let value: UserEventPayload548Names = { +let value: UserEventPayload553Names = { en: "", }; ``` diff --git a/docs/models/usereventpayload62accessgroup.md b/docs/models/usereventpayload62accessgroup.md deleted file mode 100644 index 0b4648d767..0000000000 --- a/docs/models/usereventpayload62accessgroup.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserEventPayload62AccessGroup - -## Example Usage - -```typescript -import { UserEventPayload62AccessGroup } from "@vercel/sdk/models/twenty.js"; - -let value: UserEventPayload62AccessGroup = { - id: "", - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload63accessgroup.md b/docs/models/usereventpayload63accessgroup.md index 4a3fa40d54..d3cdd93278 100644 --- a/docs/models/usereventpayload63accessgroup.md +++ b/docs/models/usereventpayload63accessgroup.md @@ -3,10 +3,11 @@ ## Example Usage ```typescript -import { UserEventPayload63AccessGroup } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload63AccessGroup } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload63AccessGroup = { id: "", + name: "", }; ``` @@ -15,4 +16,4 @@ let value: UserEventPayload63AccessGroup = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload64accessgroup.md b/docs/models/usereventpayload64accessgroup.md new file mode 100644 index 0000000000..ed010c618a --- /dev/null +++ b/docs/models/usereventpayload64accessgroup.md @@ -0,0 +1,18 @@ +# UserEventPayload64AccessGroup + +## Example Usage + +```typescript +import { UserEventPayload64AccessGroup } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayload64AccessGroup = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload63user.md b/docs/models/usereventpayload64user.md similarity index 72% rename from docs/models/usereventpayload63user.md rename to docs/models/usereventpayload64user.md index f2eef0abf0..a83d00c7a3 100644 --- a/docs/models/usereventpayload63user.md +++ b/docs/models/usereventpayload64user.md @@ -1,11 +1,11 @@ -# UserEventPayload63User +# UserEventPayload64User ## Example Usage ```typescript -import { UserEventPayload63User } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload64User } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: UserEventPayload63User = { +let value: UserEventPayload64User = { id: "", }; ``` diff --git a/docs/models/usereventpayload73action.md b/docs/models/usereventpayload73action.md deleted file mode 100644 index 917507ff72..0000000000 --- a/docs/models/usereventpayload73action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload73Action - -## Example Usage - -```typescript -import { UserEventPayload73Action } from "@vercel/sdk/models/twenty.js"; - -let value: UserEventPayload73Action = "removed"; -``` - -## Values - -```typescript -"created" | "removed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload74action.md b/docs/models/usereventpayload74action.md new file mode 100644 index 0000000000..e470bc011b --- /dev/null +++ b/docs/models/usereventpayload74action.md @@ -0,0 +1,15 @@ +# UserEventPayload74Action + +## Example Usage + +```typescript +import { UserEventPayload74Action } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayload74Action = "removed"; +``` + +## Values + +```typescript +"created" | "removed" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload80aftertype.md b/docs/models/usereventpayload80aftertype.md deleted file mode 100644 index f5e31533f9..0000000000 --- a/docs/models/usereventpayload80aftertype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload80AfterType - -## Example Usage - -```typescript -import { UserEventPayload80AfterType } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload80AfterType = "string"; -``` - -## Values - -```typescript -"string" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload80beforeresourcestype.md b/docs/models/usereventpayload80beforeresourcestype.md deleted file mode 100644 index 248fb26536..0000000000 --- a/docs/models/usereventpayload80beforeresourcestype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload80BeforeResourcesType - -## Example Usage - -```typescript -import { UserEventPayload80BeforeResourcesType } from "@vercel/sdk/models/twenty.js"; - -let value: UserEventPayload80BeforeResourcesType = "string"; -``` - -## Values - -```typescript -"string" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload80beforetype.md b/docs/models/usereventpayload80beforetype.md deleted file mode 100644 index fd117a7758..0000000000 --- a/docs/models/usereventpayload80beforetype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload80BeforeType - -## Example Usage - -```typescript -import { UserEventPayload80BeforeType } from "@vercel/sdk/models/twenty.js"; - -let value: UserEventPayload80BeforeType = "list"; -``` - -## Values - -```typescript -"list" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload80type.md b/docs/models/usereventpayload80type.md deleted file mode 100644 index cd49a3b4ab..0000000000 --- a/docs/models/usereventpayload80type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload80Type - -## Example Usage - -```typescript -import { UserEventPayload80Type } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload80Type = "list"; -``` - -## Values - -```typescript -"list" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload81aftertype.md b/docs/models/usereventpayload81aftertype.md new file mode 100644 index 0000000000..062adbb6d9 --- /dev/null +++ b/docs/models/usereventpayload81aftertype.md @@ -0,0 +1,15 @@ +# UserEventPayload81AfterType + +## Example Usage + +```typescript +import { UserEventPayload81AfterType } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayload81AfterType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload81beforeresourcestype.md b/docs/models/usereventpayload81beforeresourcestype.md new file mode 100644 index 0000000000..b502ae4df7 --- /dev/null +++ b/docs/models/usereventpayload81beforeresourcestype.md @@ -0,0 +1,15 @@ +# UserEventPayload81BeforeResourcesType + +## Example Usage + +```typescript +import { UserEventPayload81BeforeResourcesType } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayload81BeforeResourcesType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload81beforetype.md b/docs/models/usereventpayload81beforetype.md new file mode 100644 index 0000000000..2afec285dc --- /dev/null +++ b/docs/models/usereventpayload81beforetype.md @@ -0,0 +1,15 @@ +# UserEventPayload81BeforeType + +## Example Usage + +```typescript +import { UserEventPayload81BeforeType } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayload81BeforeType = "list"; +``` + +## Values + +```typescript +"list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload80permissions.md b/docs/models/usereventpayload81permissions.md similarity index 92% rename from docs/models/usereventpayload80permissions.md rename to docs/models/usereventpayload81permissions.md index 379b7fba17..dd76fc0adf 100644 --- a/docs/models/usereventpayload80permissions.md +++ b/docs/models/usereventpayload81permissions.md @@ -1,11 +1,11 @@ -# UserEventPayload80Permissions +# UserEventPayload81Permissions ## Example Usage ```typescript -import { UserEventPayload80Permissions } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload81Permissions } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: UserEventPayload80Permissions = "read:kms"; +let value: UserEventPayload81Permissions = "read-write:project-members"; ``` ## Values diff --git a/docs/models/usereventpayload80projectids.md b/docs/models/usereventpayload81projectids.md similarity index 85% rename from docs/models/usereventpayload80projectids.md rename to docs/models/usereventpayload81projectids.md index 99e712b9cb..9ff993a865 100644 --- a/docs/models/usereventpayload80projectids.md +++ b/docs/models/usereventpayload81projectids.md @@ -1,13 +1,13 @@ -# UserEventPayload80ProjectIds +# UserEventPayload81ProjectIds Specific project IDs or all projects on the team (`['*']`). ## Example Usage ```typescript -import { UserEventPayload80ProjectIds } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayload81ProjectIds } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: UserEventPayload80ProjectIds = { +let value: UserEventPayload81ProjectIds = { items: { type: "string", }, @@ -22,4 +22,4 @@ let value: UserEventPayload80ProjectIds = { | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `items` | [models.PayloadItems](../models/payloaditems.md) | :heavy_check_mark: | N/A | | `required` | *true* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayload80BeforeType](../models/usereventpayload80beforetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload81BeforeType](../models/usereventpayload81beforetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload81resourcestype.md b/docs/models/usereventpayload81resourcestype.md deleted file mode 100644 index 475e84416e..0000000000 --- a/docs/models/usereventpayload81resourcestype.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload81ResourcesType - -## Example Usage - -```typescript -import { UserEventPayload81ResourcesType } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload81ResourcesType = "string"; -``` - -## Values - -```typescript -"string" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload81type.md b/docs/models/usereventpayload81type.md index 5e31ca281d..ffc1b69bc4 100644 --- a/docs/models/usereventpayload81type.md +++ b/docs/models/usereventpayload81type.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayload81Type } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload81Type } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayload81Type = "list"; ``` diff --git a/docs/models/usereventpayload82resourcestype.md b/docs/models/usereventpayload82resourcestype.md new file mode 100644 index 0000000000..449da4cb15 --- /dev/null +++ b/docs/models/usereventpayload82resourcestype.md @@ -0,0 +1,15 @@ +# UserEventPayload82ResourcesType + +## Example Usage + +```typescript +import { UserEventPayload82ResourcesType } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload82ResourcesType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload82type.md b/docs/models/usereventpayload82type.md new file mode 100644 index 0000000000..03ba9fa9b4 --- /dev/null +++ b/docs/models/usereventpayload82type.md @@ -0,0 +1,15 @@ +# UserEventPayload82Type + +## Example Usage + +```typescript +import { UserEventPayload82Type } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload82Type = "list"; +``` + +## Values + +```typescript +"list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload95action.md b/docs/models/usereventpayload95action.md deleted file mode 100644 index 90bba5bff0..0000000000 --- a/docs/models/usereventpayload95action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload95Action - -## Example Usage - -```typescript -import { UserEventPayload95Action } from "@vercel/sdk/models/usereventpayloadresources.js"; - -let value: UserEventPayload95Action = "cancel_plan"; -``` - -## Values - -```typescript -"cancel_plan" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload96action.md b/docs/models/usereventpayload96action.md index 1efbfe3450..085d33bea2 100644 --- a/docs/models/usereventpayload96action.md +++ b/docs/models/usereventpayload96action.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayload96Action } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload96Action } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventPayload96Action = "resume_plan"; +let value: UserEventPayload96Action = "cancel_plan"; ``` ## Values ```typescript -"resume_plan" +"cancel_plan" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload97action.md b/docs/models/usereventpayload97action.md index 563525d2cd..69a567a3ce 100644 --- a/docs/models/usereventpayload97action.md +++ b/docs/models/usereventpayload97action.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayload97Action } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayload97Action } from "@vercel/sdk/models/eightytwo.js"; -let value: UserEventPayload97Action = "mutate"; +let value: UserEventPayload97Action = "resume_plan"; ``` ## Values ```typescript -"mutate" +"resume_plan" ``` \ No newline at end of file diff --git a/docs/models/usereventpayload98action.md b/docs/models/usereventpayload98action.md new file mode 100644 index 0000000000..4898135ca0 --- /dev/null +++ b/docs/models/usereventpayload98action.md @@ -0,0 +1,15 @@ +# UserEventPayload98Action + +## Example Usage + +```typescript +import { UserEventPayload98Action } from "@vercel/sdk/models/eightytwo.js"; + +let value: UserEventPayload98Action = "mutate"; +``` + +## Values + +```typescript +"mutate" +``` \ No newline at end of file diff --git a/docs/models/usereventpayloadaccessgroup.md b/docs/models/usereventpayloadaccessgroup.md index 44f32ae7f5..e4ae9928a2 100644 --- a/docs/models/usereventpayloadaccessgroup.md +++ b/docs/models/usereventpayloadaccessgroup.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadAccessGroup } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadAccessGroup } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadAccessGroup = { id: "", diff --git a/docs/models/usereventpayloadaccesspolicy.md b/docs/models/usereventpayloadaccesspolicy.md index d6dbc6db75..d41e4daa9c 100644 --- a/docs/models/usereventpayloadaccesspolicy.md +++ b/docs/models/usereventpayloadaccesspolicy.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadAccessPolicy } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadAccessPolicy } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadAccessPolicy = { id: "", diff --git a/docs/models/usereventpayloadactortype.md b/docs/models/usereventpayloadactortype.md index 70c2b51808..f1833e0316 100644 --- a/docs/models/usereventpayloadactortype.md +++ b/docs/models/usereventpayloadactortype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadActorType } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadActorType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadActorType = "admin"; ``` diff --git a/docs/models/usereventpayloadallowlistedreadystatereasoninternal.md b/docs/models/usereventpayloadallowlistedreadystatereasoninternal.md index 6556086661..0d848d15b2 100644 --- a/docs/models/usereventpayloadallowlistedreadystatereasoninternal.md +++ b/docs/models/usereventpayloadallowlistedreadystatereasoninternal.md @@ -5,7 +5,7 @@ A narrowed subset of the deployment's `readyStateReasonInternal` — only values ## Example Usage ```typescript -import { UserEventPayloadAllowListedReadyStateReasonInternal } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadAllowListedReadyStateReasonInternal } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadAllowListedReadyStateReasonInternal = "IGNORE_STEP"; ``` diff --git a/docs/models/usereventpayloadapikey.md b/docs/models/usereventpayloadapikey.md index bf188aac3d..29d8246a98 100644 --- a/docs/models/usereventpayloadapikey.md +++ b/docs/models/usereventpayloadapikey.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadApiKey } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadApiKey } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadApiKey = { id: "", diff --git a/docs/models/usereventpayloadappliesto.md b/docs/models/usereventpayloadappliesto.md new file mode 100644 index 0000000000..33d9e60304 --- /dev/null +++ b/docs/models/usereventpayloadappliesto.md @@ -0,0 +1,15 @@ +# UserEventPayloadAppliesTo + +## Example Usage + +```typescript +import { UserEventPayloadAppliesTo } from "@vercel/sdk/models/usereventpayload25provider.js"; + +let value: UserEventPayloadAppliesTo = "team"; +``` + +## Values + +```typescript +"team" | "user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayloadbudget.md b/docs/models/usereventpayloadbudget.md index 5939d4ede7..91d9bad351 100644 --- a/docs/models/usereventpayloadbudget.md +++ b/docs/models/usereventpayloadbudget.md @@ -1,11 +1,11 @@ # UserEventPayloadBudget -Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. +`api-key` defaults may cover only some key spend attributions. ## Example Usage ```typescript -import { UserEventPayloadBudget } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadBudget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadBudget = { limitAmount: 5322.24, @@ -18,5 +18,7 @@ let value: UserEventPayloadBudget = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | -| `refreshPeriod` | [models.UserEventPayload36RefreshPeriod](../models/usereventpayload36refreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `refreshPeriod` | [models.UserEventPayload36RefreshPeriod](../models/usereventpayload36refreshperiod.md) | :heavy_check_mark: | N/A | +| `appliesTo` | [models.PayloadAppliesTo](../models/payloadappliesto.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadchange.md b/docs/models/usereventpayloadchange.md index 9b22ce7330..78160dacef 100644 --- a/docs/models/usereventpayloadchange.md +++ b/docs/models/usereventpayloadchange.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadChange } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadChange } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadChange = "set"; ``` diff --git a/docs/models/usereventpayloadchangedfields.md b/docs/models/usereventpayloadchangedfields.md index 8e837a8727..5b0f21b1e5 100644 --- a/docs/models/usereventpayloadchangedfields.md +++ b/docs/models/usereventpayloadchangedfields.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadChangedFields } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadChangedFields } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadChangedFields = "language"; ``` diff --git a/docs/models/usereventpayloadcity.md b/docs/models/usereventpayloadcity.md index e4b2dc5f39..c4635df404 100644 --- a/docs/models/usereventpayloadcity.md +++ b/docs/models/usereventpayloadcity.md @@ -16,4 +16,4 @@ let value: UserEventPayloadCity = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `names` | [models.UserEventPayload542Names](../models/usereventpayload542names.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload547Names](../models/usereventpayload547names.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadconfiguration.md b/docs/models/usereventpayloadconfiguration.md index beb54b5e13..1fe224690b 100644 --- a/docs/models/usereventpayloadconfiguration.md +++ b/docs/models/usereventpayloadconfiguration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadConfiguration } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadConfiguration } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadConfiguration = { id: "", diff --git a/docs/models/usereventpayloadcountry.md b/docs/models/usereventpayloadcountry.md index eb2088b88b..df3de4bc20 100644 --- a/docs/models/usereventpayloadcountry.md +++ b/docs/models/usereventpayloadcountry.md @@ -16,4 +16,4 @@ let value: UserEventPayloadCountry = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload542GeolocationNames](../models/usereventpayload542geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload547GeolocationNames](../models/usereventpayload547geolocationnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadcredential.md b/docs/models/usereventpayloadcredential.md index cbc411e662..fd02c15bab 100644 --- a/docs/models/usereventpayloadcredential.md +++ b/docs/models/usereventpayloadcredential.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadCredential } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadCredential } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadCredential = { id: "", diff --git a/docs/models/usereventpayloaddeployment.md b/docs/models/usereventpayloaddeployment.md index 7d9a07e916..079d18cfbe 100644 --- a/docs/models/usereventpayloaddeployment.md +++ b/docs/models/usereventpayloaddeployment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadDeployment } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadDeployment } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadDeployment = { id: "", diff --git a/docs/models/usereventpayloaddeploymenttype.md b/docs/models/usereventpayloaddeploymenttype.md index bead6763b7..1acf47ae02 100644 --- a/docs/models/usereventpayloaddeploymenttype.md +++ b/docs/models/usereventpayloaddeploymenttype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadDeploymentType } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadDeploymentType } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadDeploymentType = "all"; ``` diff --git a/docs/models/usereventpayloaddsyncmode.md b/docs/models/usereventpayloaddsyncmode.md index 5e17aa51b4..eabf469f7e 100644 --- a/docs/models/usereventpayloaddsyncmode.md +++ b/docs/models/usereventpayloaddsyncmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadDsyncMode } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadDsyncMode } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayloadDsyncMode = "organization"; ``` diff --git a/docs/models/usereventpayloadendpoint.md b/docs/models/usereventpayloadendpoint.md index 7da3f8d2ec..791b4637a9 100644 --- a/docs/models/usereventpayloadendpoint.md +++ b/docs/models/usereventpayloadendpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadEndpoint } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadEndpoint } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadEndpoint = "/v1/vade/usage-billing"; ``` diff --git a/docs/models/usereventpayloadenvironment.md b/docs/models/usereventpayloadenvironment.md index d7d896c8ca..03e23f2f97 100644 --- a/docs/models/usereventpayloadenvironment.md +++ b/docs/models/usereventpayloadenvironment.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadEnvironment } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadEnvironment } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadEnvironment = "production"; ``` diff --git a/docs/models/usereventpayloadgitprovider.md b/docs/models/usereventpayloadgitprovider.md index 3ee3857b09..64c45529e0 100644 --- a/docs/models/usereventpayloadgitprovider.md +++ b/docs/models/usereventpayloadgitprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadGitProvider } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayloadGitProvider } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayloadGitProvider = "cursor-origin"; ``` diff --git a/docs/models/usereventpayloaditems.md b/docs/models/usereventpayloaditems.md index 570639fb2c..0e9c3af6e7 100644 --- a/docs/models/usereventpayloaditems.md +++ b/docs/models/usereventpayloaditems.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadItems } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadItems } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadItems = { type: "string", @@ -14,4 +14,4 @@ let value: UserEventPayloadItems = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [models.UserEventPayload80AfterType](../models/usereventpayload80aftertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload81AfterType](../models/usereventpayload81aftertype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadjoinedfrom.md b/docs/models/usereventpayloadjoinedfrom.md index d10fcd7406..5241847024 100644 --- a/docs/models/usereventpayloadjoinedfrom.md +++ b/docs/models/usereventpayloadjoinedfrom.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadJoinedFrom } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadJoinedFrom } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadJoinedFrom = { origin: "github", @@ -20,8 +20,9 @@ let value: UserEventPayloadJoinedFrom = { | `gitUserId` | *models.UserEventPayloadGitUserId* | :heavy_minus_sign: | N/A | | `gitUserLogin` | *string* | :heavy_minus_sign: | N/A | | `idpUserId` | *string* | :heavy_minus_sign: | N/A | -| `origin` | [models.UserEventPayload283Origin](../models/usereventpayload283origin.md) | :heavy_check_mark: | N/A | +| `origin` | [models.UserEventPayload286Origin](../models/usereventpayload286origin.md) | :heavy_check_mark: | N/A | | `repoId` | *string* | :heavy_minus_sign: | N/A | | `repoPath` | *string* | :heavy_minus_sign: | N/A | | `ssoConnectedAt` | *number* | :heavy_minus_sign: | N/A | +| `ssoIdFingerprint` | *string* | :heavy_minus_sign: | How `ssoUserId` and `idpUserId` were made; absent when unknown. | | `ssoUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadkind.md b/docs/models/usereventpayloadkind.md index 0925570baf..8288e81aca 100644 --- a/docs/models/usereventpayloadkind.md +++ b/docs/models/usereventpayloadkind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadKind } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadKind } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadKind = "script"; ``` diff --git a/docs/models/usereventpayloadmode.md b/docs/models/usereventpayloadmode.md index 9ec5697a49..d22ec8f92a 100644 --- a/docs/models/usereventpayloadmode.md +++ b/docs/models/usereventpayloadmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadMode } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayloadMode } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayloadMode = "none"; ``` diff --git a/docs/models/usereventpayloadmostspecificsubdivision.md b/docs/models/usereventpayloadmostspecificsubdivision.md index 3870b274fe..cd0a67de7c 100644 --- a/docs/models/usereventpayloadmostspecificsubdivision.md +++ b/docs/models/usereventpayloadmostspecificsubdivision.md @@ -16,4 +16,4 @@ let value: UserEventPayloadMostSpecificSubdivision = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `names` | [models.UserEventPayload542GeolocationMostSpecificSubdivisionNames](../models/usereventpayload542geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `names` | [models.UserEventPayload547GeolocationMostSpecificSubdivisionNames](../models/usereventpayload547geolocationmostspecificsubdivisionnames.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadnames.md b/docs/models/usereventpayloadnames.md index b391db9471..dcc35930c9 100644 --- a/docs/models/usereventpayloadnames.md +++ b/docs/models/usereventpayloadnames.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadNames } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayloadNames } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayloadNames = { en: "", diff --git a/docs/models/usereventpayloadnewteam.md b/docs/models/usereventpayloadnewteam.md index 61fc887a14..eb1be01153 100644 --- a/docs/models/usereventpayloadnewteam.md +++ b/docs/models/usereventpayloadnewteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadNewTeam } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayloadNewTeam } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayloadNewTeam = { name: "", diff --git a/docs/models/usereventpayloadnext.md b/docs/models/usereventpayloadnext.md index 023e50f55b..c4508395c8 100644 --- a/docs/models/usereventpayloadnext.md +++ b/docs/models/usereventpayloadnext.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadNext } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayloadNext } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayloadNext = { organizationPermissions: [], diff --git a/docs/models/usereventpayloadoldteam.md b/docs/models/usereventpayloadoldteam.md index f72ba2cb5e..38591c2efb 100644 --- a/docs/models/usereventpayloadoldteam.md +++ b/docs/models/usereventpayloadoldteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadOldTeam } from "@vercel/sdk/models/usereventjobpayloaddeployhook.js"; +import { UserEventPayloadOldTeam } from "@vercel/sdk/models/usereventjobpayload137gitcomments.js"; let value: UserEventPayloadOldTeam = { name: "", diff --git a/docs/models/usereventpayloadorigin.md b/docs/models/usereventpayloadorigin.md index c5182b227a..4935923382 100644 --- a/docs/models/usereventpayloadorigin.md +++ b/docs/models/usereventpayloadorigin.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadOrigin } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadOrigin } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadOrigin = "saml"; ``` diff --git a/docs/models/usereventpayloadpassport.md b/docs/models/usereventpayloadpassport.md index a621759299..00941ca817 100644 --- a/docs/models/usereventpayloadpassport.md +++ b/docs/models/usereventpayloadpassport.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPassport } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadPassport } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadPassport = { connectorId: "", @@ -16,4 +16,4 @@ let value: UserEventPayloadPassport = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `connectorId` | *string* | :heavy_check_mark: | N/A | -| `deploymentType` | [models.UserEventPayload279DeploymentType](../models/usereventpayload279deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload282DeploymentType](../models/usereventpayload282deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadpasswordprotection.md b/docs/models/usereventpayloadpasswordprotection.md index 5c90849871..8d531ccc30 100644 --- a/docs/models/usereventpayloadpasswordprotection.md +++ b/docs/models/usereventpayloadpasswordprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPasswordProtection } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadPasswordProtection } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadPasswordProtection = { deploymentType: "all_except_custom_domains", diff --git a/docs/models/usereventpayloadpermissions.md b/docs/models/usereventpayloadpermissions.md index 85a5044cb8..e8cfd0443a 100644 --- a/docs/models/usereventpayloadpermissions.md +++ b/docs/models/usereventpayloadpermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPermissions } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadPermissions } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadPermissions = "read-write:schedule"; ``` diff --git a/docs/models/usereventpayloadplan.md b/docs/models/usereventpayloadplan.md index 44ed75a153..9e3bc1e16a 100644 --- a/docs/models/usereventpayloadplan.md +++ b/docs/models/usereventpayloadplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPlan } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadPlan } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadPlan = "pro"; ``` diff --git a/docs/models/usereventpayloadprev.md b/docs/models/usereventpayloadprev.md index e0163b09ef..813cf4ac12 100644 --- a/docs/models/usereventpayloadprev.md +++ b/docs/models/usereventpayloadprev.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPrev } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadPrev } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadPrev = { awsServiceName: "", diff --git a/docs/models/usereventpayloadprevious.md b/docs/models/usereventpayloadprevious.md index e2d40e8edd..e54a9803aa 100644 --- a/docs/models/usereventpayloadprevious.md +++ b/docs/models/usereventpayloadprevious.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPrevious } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadPrevious } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadPrevious = { maximumMonthlySpend: "", diff --git a/docs/models/usereventpayloadpreviousbudget.md b/docs/models/usereventpayloadpreviousbudget.md index b1f8389873..bc234a9c24 100644 --- a/docs/models/usereventpayloadpreviousbudget.md +++ b/docs/models/usereventpayloadpreviousbudget.md @@ -5,7 +5,7 @@ Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in ## Example Usage ```typescript -import { UserEventPayloadPreviousBudget } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadPreviousBudget } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadPreviousBudget = { limitAmount: 394.23, @@ -18,5 +18,6 @@ let value: UserEventPayloadPreviousBudget = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | `alertThresholds` | *number*[] | :heavy_minus_sign: | N/A | +| `expiresAt` | *number* | :heavy_minus_sign: | When the budget lapses to the scope's default, in ms since the epoch. | | `limitAmount` | *number* | :heavy_check_mark: | Spend cap, in dollars. | | `refreshPeriod` | [models.UserEventPayload37PreviousBudgetRefreshPeriod](../models/usereventpayload37previousbudgetrefreshperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadpreviousmode.md b/docs/models/usereventpayloadpreviousmode.md index 5a08fef07f..4fe81c7f12 100644 --- a/docs/models/usereventpayloadpreviousmode.md +++ b/docs/models/usereventpayloadpreviousmode.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPreviousMode } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadPreviousMode } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadPreviousMode = "organization"; ``` diff --git a/docs/models/usereventpayloadpricingplan.md b/docs/models/usereventpayloadpricingplan.md index 041b918d9b..383f9f1125 100644 --- a/docs/models/usereventpayloadpricingplan.md +++ b/docs/models/usereventpayloadpricingplan.md @@ -5,7 +5,7 @@ The acive pricing plan the team is billed with ## Example Usage ```typescript -import { UserEventPayloadPricingPlan } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadPricingPlan } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadPricingPlan = "flex"; ``` diff --git a/docs/models/usereventpayloadprivatelinkendpoint.md b/docs/models/usereventpayloadprivatelinkendpoint.md index 6f8fdc22fd..eaef22a2c4 100644 --- a/docs/models/usereventpayloadprivatelinkendpoint.md +++ b/docs/models/usereventpayloadprivatelinkendpoint.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadPrivateLinkEndpoint } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadPrivateLinkEndpoint } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadPrivateLinkEndpoint = { id: "", diff --git a/docs/models/usereventpayloadproject.md b/docs/models/usereventpayloadproject.md index a661acd32f..a6c49514d6 100644 --- a/docs/models/usereventpayloadproject.md +++ b/docs/models/usereventpayloadproject.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadProject } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadProject } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadProject = { id: "", diff --git a/docs/models/usereventpayloadprojectids.md b/docs/models/usereventpayloadprojectids.md index b487826551..a60a77b1b3 100644 --- a/docs/models/usereventpayloadprojectids.md +++ b/docs/models/usereventpayloadprojectids.md @@ -5,7 +5,7 @@ Specific project IDs or all projects on the team (`['*']`). ## Example Usage ```typescript -import { UserEventPayloadProjectIds } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadProjectIds } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadProjectIds = { items: { @@ -22,4 +22,4 @@ let value: UserEventPayloadProjectIds = { | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `items` | [models.UserEventPayloadItems](../models/usereventpayloaditems.md) | :heavy_check_mark: | N/A | | `required` | *true* | :heavy_check_mark: | N/A | -| `type` | [models.UserEventPayload80Type](../models/usereventpayload80type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload81Type](../models/usereventpayload81type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadprojectscope.md b/docs/models/usereventpayloadprojectscope.md index e7ff413072..d5de67b4d0 100644 --- a/docs/models/usereventpayloadprojectscope.md +++ b/docs/models/usereventpayloadprojectscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadProjectScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadProjectScope } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadProjectScope = "all"; ``` diff --git a/docs/models/usereventpayloadprovider.md b/docs/models/usereventpayloadprovider.md index e1e8daf1ae..c7a4b6c690 100644 --- a/docs/models/usereventpayloadprovider.md +++ b/docs/models/usereventpayloadprovider.md @@ -5,7 +5,7 @@ Present on new events only. Equivalent to "stripe" when absent. ## Example Usage ```typescript -import { UserEventPayloadProvider } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadProvider } from "@vercel/sdk/models/userevent.js"; let value: UserEventPayloadProvider = "stripe"; ``` diff --git a/docs/models/usereventpayloadreason.md b/docs/models/usereventpayloadreason.md index eacc9bfcd6..e2bfeeda86 100644 --- a/docs/models/usereventpayloadreason.md +++ b/docs/models/usereventpayloadreason.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadReason } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadReason } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadReason = "limits-exceeded"; ``` diff --git a/docs/models/usereventpayloadrefreshperiod.md b/docs/models/usereventpayloadrefreshperiod.md index f5502e6d82..aa983394f2 100644 --- a/docs/models/usereventpayloadrefreshperiod.md +++ b/docs/models/usereventpayloadrefreshperiod.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadRefreshPeriod } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadRefreshPeriod } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadRefreshPeriod = "daily"; ``` diff --git a/docs/models/usereventpayloadremovedusers.md b/docs/models/usereventpayloadremovedusers.md index 529a9956c9..b85170072a 100644 --- a/docs/models/usereventpayloadremovedusers.md +++ b/docs/models/usereventpayloadremovedusers.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadRemovedUsers } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadRemovedUsers } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadRemovedUsers = { confirmed: false, @@ -17,4 +17,4 @@ let value: UserEventPayloadRemovedUsers = { | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `confirmed` | *boolean* | :heavy_check_mark: | N/A | | `confirmedAt` | *number* | :heavy_minus_sign: | N/A | -| `role` | [models.UserEventPayload440Role](../models/usereventpayload440role.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `role` | [models.UserEventPayload445Role](../models/usereventpayload445role.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadrepositoryscope.md b/docs/models/usereventpayloadrepositoryscope.md index e78fac0d51..2977e472d6 100644 --- a/docs/models/usereventpayloadrepositoryscope.md +++ b/docs/models/usereventpayloadrepositoryscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadRepositoryScope } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadRepositoryScope } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadRepositoryScope = "all"; ``` diff --git a/docs/models/usereventpayloadrequestkind.md b/docs/models/usereventpayloadrequestkind.md index 0fcd87c5f6..2464b4028a 100644 --- a/docs/models/usereventpayloadrequestkind.md +++ b/docs/models/usereventpayloadrequestkind.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadRequestKind } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayloadRequestKind } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayloadRequestKind = "get_keys_metadata"; ``` diff --git a/docs/models/usereventpayloadresources.md b/docs/models/usereventpayloadresources.md index e8ba2d0893..5a67fa4a97 100644 --- a/docs/models/usereventpayloadresources.md +++ b/docs/models/usereventpayloadresources.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadResources } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadResources } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: UserEventPayloadResources = { projectIds: { diff --git a/docs/models/usereventpayloadrole.md b/docs/models/usereventpayloadrole.md index bc08025d40..d707c2481e 100644 --- a/docs/models/usereventpayloadrole.md +++ b/docs/models/usereventpayloadrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadRole } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPayloadRole } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPayloadRole = "ADMIN"; ``` diff --git a/docs/models/usereventpayloadscope.md b/docs/models/usereventpayloadscope.md index 45a21376cf..9db08c3829 100644 --- a/docs/models/usereventpayloadscope.md +++ b/docs/models/usereventpayloadscope.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadScope } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadScope } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadScope = "organization"; ``` diff --git a/docs/models/usereventpayloadscopetype.md b/docs/models/usereventpayloadscopetype.md index ff84caa66a..16f385c829 100644 --- a/docs/models/usereventpayloadscopetype.md +++ b/docs/models/usereventpayloadscopetype.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { UserEventPayloadScopeType } from "@vercel/sdk/models/twenty.js"; +import { UserEventPayloadScopeType } from "@vercel/sdk/models/usereventpayload25provider.js"; -let value: UserEventPayloadScopeType = "team"; +let value: UserEventPayloadScopeType = "project"; ``` ## Values ```typescript -"project" | "team" | "user" +"app" | "project" | "team" | "user" ``` \ No newline at end of file diff --git a/docs/models/usereventpayloadsource.md b/docs/models/usereventpayloadsource.md index 17bcb8d97b..5f311434ae 100644 --- a/docs/models/usereventpayloadsource.md +++ b/docs/models/usereventpayloadsource.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadSource } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadSource } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadSource = "bitbucket"; ``` diff --git a/docs/models/usereventpayloadssoprotection.md b/docs/models/usereventpayloadssoprotection.md index b1d332a918..4923f3ff56 100644 --- a/docs/models/usereventpayloadssoprotection.md +++ b/docs/models/usereventpayloadssoprotection.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadSsoProtection } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadSsoProtection } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadSsoProtection = { deploymentType: "prod_deployment_urls_and_all_previews", @@ -16,4 +16,4 @@ let value: UserEventPayloadSsoProtection = { | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | `april2026SecurityIncidentMigrationAppliedFrom` | [models.PayloadApril2026SecurityIncidentMigrationAppliedFrom](../models/payloadapril2026securityincidentmigrationappliedfrom.md) | :heavy_minus_sign: | N/A | | `cve55182MigrationAppliedFrom` | [models.PayloadCve55182MigrationAppliedFrom](../models/payloadcve55182migrationappliedfrom.md) | :heavy_minus_sign: | N/A | -| `deploymentType` | [models.UserEventPayload130DeploymentType](../models/usereventpayload130deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `deploymentType` | [models.UserEventPayload131DeploymentType](../models/usereventpayload131deploymenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadstore.md b/docs/models/usereventpayloadstore.md index 771f6e31cd..fe25cd4ddd 100644 --- a/docs/models/usereventpayloadstore.md +++ b/docs/models/usereventpayloadstore.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadStore } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadStore } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadStore = { id: "", @@ -17,4 +17,4 @@ let value: UserEventPayloadStore = { | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayload418Type](../models/usereventpayload418type.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [models.UserEventPayload423Type](../models/usereventpayload423type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadtargetkind.md b/docs/models/usereventpayloadtargetkind.md index d7fa7f5c43..344ad0e5ad 100644 --- a/docs/models/usereventpayloadtargetkind.md +++ b/docs/models/usereventpayloadtargetkind.md @@ -5,7 +5,7 @@ A repository's findings are in code no project runs. ## Example Usage ```typescript -import { UserEventPayloadTargetKind } from "@vercel/sdk/models/oldssoprotection2.js"; +import { UserEventPayloadTargetKind } from "@vercel/sdk/models/payloadstaticips.js"; let value: UserEventPayloadTargetKind = "repository"; ``` diff --git a/docs/models/usereventpayloadteam.md b/docs/models/usereventpayloadteam.md index 869463e434..569bdcdca3 100644 --- a/docs/models/usereventpayloadteam.md +++ b/docs/models/usereventpayloadteam.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadTeam } from "@vercel/sdk/models/usereventpayloadresources.js"; +import { UserEventPayloadTeam } from "@vercel/sdk/models/eightytwo.js"; let value: UserEventPayloadTeam = { id: "", diff --git a/docs/models/usereventpayloadteamroles.md b/docs/models/usereventpayloadteamroles.md index 55c944327a..86cca300a1 100644 --- a/docs/models/usereventpayloadteamroles.md +++ b/docs/models/usereventpayloadteamroles.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadTeamRoles } from "@vercel/sdk/models/newprojects.js"; +import { UserEventPayloadTeamRoles } from "@vercel/sdk/models/usereventpayloadlasteditedbyprincipal.js"; let value: UserEventPayloadTeamRoles = "MEMBER"; ``` diff --git a/docs/models/usereventpayloadtype.md b/docs/models/usereventpayloadtype.md index 667966f30d..18eef31e6c 100644 --- a/docs/models/usereventpayloadtype.md +++ b/docs/models/usereventpayloadtype.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadType } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { UserEventPayloadType } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: UserEventPayloadType = "script"; ``` diff --git a/docs/models/usereventpayloaduser.md b/docs/models/usereventpayloaduser.md index 78572a7b33..a56ac37e95 100644 --- a/docs/models/usereventpayloaduser.md +++ b/docs/models/usereventpayloaduser.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPayloadUser } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPayloadUser } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPayloadUser = { id: "", diff --git a/docs/models/usereventpreviousteampermissions.md b/docs/models/usereventpreviousteampermissions.md index 0f966fc626..4c4b954cb6 100644 --- a/docs/models/usereventpreviousteampermissions.md +++ b/docs/models/usereventpreviousteampermissions.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPreviousTeamPermissions } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPreviousTeamPermissions } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPreviousTeamPermissions = "ConnectorManager"; ``` diff --git a/docs/models/usereventpreviousteamroles.md b/docs/models/usereventpreviousteamroles.md index 24a7967301..534f860614 100644 --- a/docs/models/usereventpreviousteamroles.md +++ b/docs/models/usereventpreviousteamroles.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserEventPreviousTeamRoles } from "@vercel/sdk/models/fourhundredandthirtyfive.js"; +import { UserEventPreviousTeamRoles } from "@vercel/sdk/models/fourhundredandforty.js"; let value: UserEventPreviousTeamRoles = "BILLING"; ``` diff --git a/docs/models/usereventprincipal1.md b/docs/models/usereventprincipal1.md index 1998fa75db..39c3e79b2a 100644 --- a/docs/models/usereventprincipal1.md +++ b/docs/models/usereventprincipal1.md @@ -5,7 +5,7 @@ The principal who rolled back the project. Absent on historical rollbacks where ## Example Usage ```typescript -import { UserEventPrincipal1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPrincipal1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPrincipal1 = { project: { diff --git a/docs/models/usereventprincipal2.md b/docs/models/usereventprincipal2.md index 06a6be6ba5..289a0c0357 100644 --- a/docs/models/usereventprincipal2.md +++ b/docs/models/usereventprincipal2.md @@ -5,7 +5,7 @@ The principal who rolled back the project. Absent on historical rollbacks where ## Example Usage ```typescript -import { UserEventPrincipal2 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPrincipal2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPrincipal2 = { app: { diff --git a/docs/models/usereventprincipal3.md b/docs/models/usereventprincipal3.md index f2279b8575..ae403fbab9 100644 --- a/docs/models/usereventprincipal3.md +++ b/docs/models/usereventprincipal3.md @@ -5,7 +5,7 @@ The principal who rolled back the project. Absent on historical rollbacks where ## Example Usage ```typescript -import { UserEventPrincipal3 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPrincipal3 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPrincipal3 = { integration: { diff --git a/docs/models/usereventprincipal4.md b/docs/models/usereventprincipal4.md index 151f54de67..f88958fa83 100644 --- a/docs/models/usereventprincipal4.md +++ b/docs/models/usereventprincipal4.md @@ -5,7 +5,7 @@ The principal who rolled back the project. Absent on historical rollbacks where ## Example Usage ```typescript -import { UserEventPrincipal4 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPrincipal4 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPrincipal4 = { type: "system", diff --git a/docs/models/usereventprincipal5.md b/docs/models/usereventprincipal5.md index 1b5481be42..3dc386a6fb 100644 --- a/docs/models/usereventprincipal5.md +++ b/docs/models/usereventprincipal5.md @@ -5,7 +5,7 @@ The principal who rolled back the project. Absent on historical rollbacks where ## Example Usage ```typescript -import { UserEventPrincipal5 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventPrincipal5 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventPrincipal5 = { type: "user", diff --git a/docs/models/usereventtype.md b/docs/models/usereventtype.md index 6ecf71f321..e57f346a2c 100644 --- a/docs/models/usereventtype.md +++ b/docs/models/usereventtype.md @@ -13,5 +13,5 @@ let value: UserEventType = "login"; ## Values ```typescript -"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" +"access-group-created" | "access-group-deleted" | "access-group-project-updated" | "access-group-updated" | "access-group-user-added" | "access-group-user-removed" | "admin-agentic-provisioning-account-unlinked" | "admin-observability-disabled" | "admin-plan-updated" | "admin-preview-deployment-suffix-clear" | "admin-saml-idp-material-deleted" | "admin-saml-idp-material-set" | "admin-saml-sp-signing-key-created" | "admin-saml-sp-signing-key-updated" | "admin-secondary-email-added" | "admin-secondary-email-removed" | "admin-team-name-update" | "admin-team-slug-update" | "admin-user-delete" | "admin-user-primary-email-updated" | "admin-username-updated" | "agentic-provisioning-account-blocked" | "agentic-provisioning-account-linked" | "agentic-provisioning-account-relinked" | "agentic-provisioning-account-unlinked" | "agentic-provisioning-credentials-rotated" | "agentic-provisioning-plan-changed" | "agentic-provisioning-team-created" | "ai-agent-usage-billing" | "ai-agent-usage-billing-consent" | "ai-alert-investigation" | "ai-code-review" | "ai-gateway-access-policy-created" | "ai-gateway-access-policy-deleted" | "ai-gateway-access-policy-member-added" | "ai-gateway-access-policy-member-removed" | "ai-gateway-access-policy-updated" | "ai-gateway-api-key-created" | "ai-gateway-api-key-deleted" | "ai-gateway-api-key-quota-updated" | "ai-gateway-auto-reload-updated" | "ai-gateway-budget-default-updated" | "ai-gateway-byok-credential-created" | "ai-gateway-byok-credential-deleted" | "ai-gateway-byok-credential-updated" | "ai-gateway-byok-model-mappings-updated" | "ai-gateway-credits-purchased" | "ai-gateway-guardrails-updated" | "ai-gateway-headquarters-updated" | "ai-gateway-hipaa-compliance-toggled" | "ai-gateway-inference-hooks-endpoint-updated" | "ai-gateway-inference-hooks-headers-cleared" | "ai-gateway-inference-hooks-headers-updated" | "ai-gateway-inference-hooks-previous-signing-secret-retired" | "ai-gateway-inference-hooks-removed" | "ai-gateway-inference-hooks-settings-updated" | "ai-gateway-inference-hooks-signing-secret-created" | "ai-gateway-inference-hooks-signing-secret-rotated" | "ai-gateway-inference-hooks-toggled" | "ai-gateway-inference-regions-updated" | "ai-gateway-member-budget-changes" | "ai-gateway-model-allowlist-models-updated" | "ai-gateway-model-allowlist-toggled" | "ai-gateway-model-catalog-alert-settings-updated" | "ai-gateway-private-model-created" | "ai-gateway-private-model-deleted" | "ai-gateway-private-model-updated" | "ai-gateway-private-provider-created" | "ai-gateway-private-provider-deleted" | "ai-gateway-private-provider-updated" | "ai-gateway-prompt-training-opt-out-toggled" | "ai-gateway-provider-allowlist-providers-updated" | "ai-gateway-provider-allowlist-toggled" | "ai-gateway-rule-created" | "ai-gateway-rule-deleted" | "ai-gateway-rule-updated" | "ai-gateway-scope-budget-updated" | "ai-gateway-system-credential-fallback-opt-out-toggled" | "ai-gateway-transcripts-default-disabled" | "ai-gateway-transcripts-default-enabled" | "ai-gateway-transcripts-disabled" | "ai-gateway-transcripts-enabled" | "ai-gateway-transcripts-retention-updated" | "ai-gateway-virtual-model-config-archived" | "ai-gateway-virtual-model-config-created" | "ai-gateway-virtual-model-config-deleted" | "ai-gateway-virtual-model-config-restored" | "ai-gateway-virtual-model-config-updated" | "ai-gateway-zero-data-retention-toggled" | "ai-omniagent" | "ai-security-review" | "ai-verification" | "alert-group-detected" | "alert-group-investigation-completed" | "alert-group-published" | "alert-investigation-project-allowlist-updated" | "alert-resolved" | "alert-rule-created" | "alert-rule-deleted" | "alert-rule-updated" | "alias" | "alias-chown" | "alias-delete" | "alias-invite-created" | "alias-invite-joined" | "alias-invite-revoked" | "alias-protection-bypass-created" | "alias-protection-bypass-exception" | "alias-protection-bypass-regenerated" | "alias-protection-bypass-revoked" | "alias-system" | "alias-user-scoped-access-denied" | "alias-user-scoped-access-granted" | "alias-user-scoped-access-requested" | "alias-user-scoped-access-revoked" | "aliases-assigned" | "attack-mode-disabled" | "attack-mode-enabled" | "audit-log-export-downloaded" | "audit-log-export-requested" | "authorize-git-deployment" | "auto-expose-system-envs" | "avatar" | "billing-settings-updated" | "bulk-redirects-settings-updated" | "bulk-redirects-version-promoted" | "bulk-redirects-version-restored" | "cert" | "cert-autorenew" | "cert-chown" | "cert-clone" | "cert-delete" | "cert-renew" | "cert-replace" | "cert-system-create" | "code-owners-assume-owners" | "code-owners-config-updated" | "compliance-document-downloaded" | "compliance-document-previewed" | "compliance-documents-bulk-downloaded" | "concurrent-builds-update" | "connect-approve-connector-request" | "connect-attach-project" | "connect-bitbucket" | "connect-bitbucket-app" | "connect-branding-updated" | "connect-cancel-mcp-event-subscription" | "connect-configuration-created" | "connect-configuration-deleted" | "connect-configuration-link-updated" | "connect-configuration-linked" | "connect-configuration-unlinked" | "connect-configuration-updated" | "connect-create-connector" | "connect-create-mcp-event-subscription" | "connect-delete-connector" | "connect-delete-connector-request" | "connect-delete-installation" | "connect-detach-project" | "connect-github" | "connect-github-custom-host" | "connect-github-limited" | "connect-gitlab" | "connect-gitlab-app" | "connect-import-tokens" | "connect-provision-connector-request" | "connect-reject-connector-request" | "connect-revoke-all-tokens" | "connect-submit-connector-request" | "connect-update-connector" | "connect-update-connector-request" | "connect-update-trigger-destinations" | "connect-upsert-installation" | "connect-withdraw-connector-request" | "custom-alert-created" | "custom-alert-deleted" | "custom-alert-updated" | "custom-environments-settings-updated" | "custom-metric-metadata-deleted" | "custom-metric-metadata-updated" | "custom-suffix-clear" | "custom-suffix-disable" | "custom-suffix-enable" | "custom-suffix-pending" | "custom-suffix-ready" | "default-password-protection" | "default-sso-protection" | "deploy-hook-created" | "deploy-hook-deduped" | "deploy-hook-deleted" | "deploy-hook-processed" | "deployment" | "deployment-check-created" | "deployment-check-deleted" | "deployment-check-updated" | "deployment-chown" | "deployment-creation-blocked" | "deployment-delete" | "deployment-policy-blocked" | "deployment-protection-access-requests" | "deployment-undeleted" | "disabled-integration-installation-removed" | "disconnect-bitbucket-app" | "disconnect-github" | "disconnect-github-custom-host" | "disconnect-github-limited" | "disconnect-gitlab-app" | "dns-add" | "dns-delete" | "dns-record-internal" | "dns-update" | "dns-zonefile-import" | "domain" | "domain-buy" | "domain-cdn" | "domain-chown" | "domain-custom-ns-change" | "domain-delegated" | "domain-delete" | "domain-ech-change" | "domain-move-in" | "domain-move-out" | "domain-move-out-request-sent" | "domain-renew-change" | "domain-service-type-updated" | "domain-transfer-in" | "domain-transfer-in-canceled" | "domain-transfer-in-completed" | "domain-zone-change" | "domain-zone-change-internal" | "drain-created" | "drain-deleted" | "drain-disabled" | "drain-enabled" | "drain-updated" | "drive-created" | "drive-deleted" | "drive-snapshot-created" | "drive-snapshot-deleted" | "edge-cache-dangerously-delete-by-src-images" | "edge-cache-dangerously-delete-by-tags" | "edge-cache-dangerously-delete-immutable-static" | "edge-cache-invalidate-by-src-images" | "edge-cache-invalidate-by-tags" | "edge-cache-purge-all" | "edge-cache-rollback-purge" | "edge-config-backup-restored" | "edge-config-created" | "edge-config-deleted" | "edge-config-items-updated" | "edge-config-schema-deleted" | "edge-config-schema-updated" | "edge-config-token-created" | "edge-config-token-deleted" | "edge-config-transfer-in" | "edge-config-transfer-out" | "edge-config-updated" | "email" | "email-notification-rule-removed" | "email-notification-rule-updated" | "emu-member-removed-unverified-domain" | "enforce-disjunctive-production-secrets" | "enforce-sensitive-environment-variables" | "env-variable-add" | "env-variable-delete" | "env-variable-edit" | "env-variable-masked" | "env-variable-read" | "env-variable-read:cli:dev" | "env-variable-read:cli:env:add" | "env-variable-read:cli:env:ls" | "env-variable-read:cli:env:pull" | "env-variable-read:cli:env:rm" | "env-variable-read:cli:pull" | "env-variable-read:unknown-source" | "env-variable-read:v0:env:pull" | "env-variable-rotated" | "experiment-created" | "experiment-deleted" | "experiment-transitioned" | "experiment-updated" | "firewall-bypass-created" | "firewall-bypass-deleted" | "firewall-conditional-bypass-created" | "firewall-conditional-bypass-deleted" | "firewall-conditional-bypass-updated" | "firewall-config-modified" | "firewall-config-promoted" | "firewall-config-removed" | "firewall-managed-rulegroup-updated" | "firewall-managed-ruleset-updated" | "flag" | "flag-archived" | "flag-created" | "flag-deleted" | "flag-unarchived" | "flag-updated" | "flags-connection-created" | "flags-connection-deleted" | "flags-explorer-subscription" | "flags-overrides-signed" | "flags-sdk-key" | "flags-sdk-key-added" | "flags-sdk-key-deleted" | "flags-sdk-key-read" | "flags-segment" | "flags-settings" | "flags-transferred" | "flat-rate-cdn-auto-upgrade-consent" | "flat-rate-cdn-migration-opt-out" | "git-integration-repo-push" | "git_account_integration_link_added" | "global-config-backup-restored" | "global-config-created" | "global-config-deleted" | "global-config-items-updated" | "global-config-schema-deleted" | "global-config-schema-updated" | "global-config-token-created" | "global-config-token-deleted" | "global-config-transfer-in" | "global-config-transfer-out" | "global-config-updated" | "instant-rollback-created" | "integration-access-token-settings-updated" | "integration-configuration-credential-revoked" | "integration-configuration-credential-rotated" | "integration-configuration-owner-changed" | "integration-configuration-scope-change-confirmed" | "integration-configuration-transfer-in-success" | "integration-configuration-transfer-out-success" | "integration-configurations-disabled" | "integration-installation-billing-plan-updated" | "integration-installation-completed" | "integration-installation-permission-updated" | "integration-installation-removed" | "integration-previous-secret-revoked" | "integration-resource-redis-command-executed" | "integration-resource-sql-query-executed" | "integration-scope-changed" | "integration-secret-rotated" | "invoice-modified" | "invoice-refunded" | "kms-issuer-created" | "kms-issuer-deleted" | "kms-issuer-key-activated" | "kms-issuer-key-created" | "kms-issuer-key-revoked" | "kms-issuer-key-rotated" | "kms-issuer-policy-created" | "kms-issuer-policy-deleted" | "kms-issuer-policy-updated" | "kms-issuer-updated" | "log-drain-created" | "log-drain-deleted" | "log-drain-disabled" | "log-drain-enabled" | "login" | "login-connection-linked" | "login-connection-unlinked" | "manual-deployment-promotion-created" | "marketplace-auto-card-collection-updated" | "marketplace-billing-collection-updated" | "marketplace-flex-commit-opt-in" | "marketplace-integration-allowlist-updated" | "messageboard-channel-created" | "messageboard-channel-updated" | "messageboard-created" | "messageboard-grant-created" | "messageboard-grant-revoked" | "messageboard-grant-updated" | "messageboard-private-channel-created" | "messageboard-private-channel-updated" | "messageboard-private-created" | "messageboard-private-grant-created" | "messageboard-private-grant-revoked" | "messageboard-private-grant-updated" | "messageboard-private-project-granted" | "messageboard-private-project-revoked" | "messageboard-project-channel-created" | "messageboard-project-created" | "messageboard-project-granted" | "messageboard-project-private-channel-created" | "messageboard-project-revoked" | "messageboard-schema-registered" | "messageboard-visibility-updated" | "microfrontend-group-added" | "microfrontend-group-deleted" | "microfrontend-group-updated" | "microfrontend-project-added-to-group" | "microfrontend-project-removed-from-group" | "microfrontend-project-updated" | "monitoring-alert-updated" | "monitoring-disabled" | "monitoring-enabled" | "oauth-app-connection-created" | "oauth-app-connection-removed" | "oauth-app-connection-updated" | "oauth-app-created" | "oauth-app-deleted" | "oauth-app-secret-deleted" | "oauth-app-secret-generated" | "oauth-app-token-created" | "oauth-app-updated" | "observability-disabled" | "observability-enabled" | "observability-plus-project-disabled" | "observability-plus-project-enabled" | "oidc-policy-created" | "oidc-policy-deleted" | "oidc-policy-updated" | "oidc-policy-used-to-obtain-app-token" | "organization-admin-invite-revoked" | "organization-admin-removed" | "organization-avatar-update" | "organization-create" | "organization-delete" | "organization-domain-verification-created" | "organization-domain-verification-deleted" | "organization-domain-verification-verified" | "organization-dsync-delete" | "organization-dsync-group-delete" | "organization-dsync-group-upsert" | "organization-dsync-sync-start" | "organization-emu-domains-merged" | "organization-emu-team-updated" | "organization-emu-updated" | "organization-name-update" | "organization-slug-update" | "organization-sso-deleted" | "organization-sso-enforced" | "organization-sso-new-teams-update" | "organization-team-add" | "organization-team-create" | "organization-team-delete" | "organization-team-dsync-update" | "organization-team-sso-update" | "organization-update-account-flow-dismissed" | "organization-update-account-flow-triggered" | "owner-blocked" | "owner-soft-blocked" | "owner-soft-unblocked" | "owner-unblocked" | "page-integrity-config-updated" | "page-integrity-header-approved" | "page-integrity-header-rejected" | "page-integrity-inventory-cleared" | "page-integrity-resource-approved" | "page-integrity-resource-deleted" | "page-integrity-resource-rejected" | "page-integrity-script-approval-rule-created" | "page-integrity-script-approval-rule-deleted" | "passkey-created" | "passkey-deleted" | "passkey-updated" | "passport-access-granted" | "password-protection-disabled" | "password-protection-enabled" | "payment-method-added" | "payment-method-default-updated" | "payment-method-removed" | "perimeter-created" | "perimeter-deleted" | "perimeter-renamed" | "perimeter-rolled-back" | "perimeter-updated" | "plan" | "preview-deployment-suffix-disabled" | "preview-deployment-suffix-enabled" | "preview-deployment-suffix-update" | "privatelink-endpoint-created" | "privatelink-endpoint-deleted" | "privatelink-endpoint-updated" | "production-branch-updated" | "project-add-alias" | "project-add-redirect" | "project-affected-projects-deployments-updated" | "project-alias-configured-change" | "project-analytics-disabled" | "project-analytics-enabled" | "project-auto-assign-custom-production-domains-updated" | "project-automation-bypass" | "project-avatar-dark-mode-update" | "project-avatar-update" | "project-build-command-updated" | "project-build-logs-and-source-protection-updated" | "project-build-machine-updated" | "project-card-widget-preference-updated" | "project-client-cert-delete" | "project-client-cert-upload" | "project-connect-configurations" | "project-consolidated-git-commit-status-updated" | "project-created" | "project-cron-jobs-toggled" | "project-custom-environment-created" | "project-custom-environment-deleted" | "project-custom-environment-schedules-default-updated" | "project-custom-environment-updated" | "project-customer-success-code-visibility-updated" | "project-delete" | "project-deployment-policy-updated" | "project-deployment-retention-updated" | "project-directory-listing" | "project-domain-deleted" | "project-domain-moved" | "project-domain-unverified" | "project-domain-updated" | "project-domain-verified" | "project-elastic-concurrency-updated" | "project-expiration-locked" | "project-expiration-reached" | "project-expiration-removed" | "project-expiration-scheduled" | "project-expiration-unlocked" | "project-external-rewrite-caching-updated" | "project-framework-updated" | "project-function-cpu-memory" | "project-function-failover" | "project-function-max-duration" | "project-function-regions" | "project-functions-beta-updated" | "project-functions-fluid-disabled" | "project-functions-fluid-enabled" | "project-git-commit-comments-toggled" | "project-git-commit-status-toggled" | "project-git-create-deployments-toggled" | "project-git-credential-attestation-created" | "project-git-credential-attestation-deleted" | "project-git-credential-bound-created" | "project-git-credential-bound-deleted" | "project-git-credential-bound-updated" | "project-git-credential-grant-attestation-revoked" | "project-git-credential-grant-attested" | "project-git-credential-grant-created" | "project-git-credential-grant-deleted" | "project-git-credential-grant-updated" | "project-git-credential-token-minted" | "project-git-fork-protection-updated" | "project-git-lfs-toggled" | "project-git-pr-comments-toggled" | "project-git-repository-connected" | "project-git-repository-disconnected" | "project-git-repository-dispatch-events-toggled" | "project-git-require-verified-commits-toggled" | "project-ignored-build-step-updated" | "project-install-command-updated" | "project-member-added" | "project-member-invited" | "project-member-removed" | "project-member-removed-batch" | "project-member-updated" | "project-move-in-success" | "project-move-out-failed" | "project-move-out-started" | "project-move-out-success" | "project-name" | "project-node-version-updated" | "project-oidc-issuer-mode-updated" | "project-oidc-token-created" | "project-options-allowlist" | "project-output-directory-updated" | "project-passport-updated" | "project-password-protection" | "project-paused" | "project-perimeters-updated" | "project-preview-deployment-suffix" | "project-preview-environment-branch-tracking-updated" | "project-prioritize-production-builds-updated" | "project-program-enrollment-changed" | "project-protected-sourcemaps-updated" | "project-remove-vercel-request-headers-updated" | "project-rollback-description-updated" | "project-rolling-release-aborted" | "project-rolling-release-approved" | "project-rolling-release-completed" | "project-rolling-release-configured" | "project-rolling-release-continued" | "project-rolling-release-disabled" | "project-rolling-release-enabled" | "project-rolling-release-paused" | "project-rolling-release-started" | "project-rolling-release-timer" | "project-root-directory-updated" | "project-routes-version-promoted" | "project-routes-version-restored" | "project-sandbox-config-updated" | "project-sandbox-url-protection-updated" | "project-skew-protection-allowed-domains-updated" | "project-skew-protection-max-age-updated" | "project-skew-protection-threshold-updated" | "project-source-files-outside-root-directory-updated" | "project-speed-insights-disabled" | "project-speed-insights-enabled" | "project-speed-insights-free-data-started" | "project-sso-protection" | "project-static-ips-updated" | "project-trusted-ips" | "project-trusted-sources" | "project-unpaused" | "project-web-analytics-disabled" | "project-web-analytics-enabled" | "protected-git-scope-added" | "protected-git-scope-removed" | "repository-ci-env-variable-create" | "repository-ci-env-variable-delete" | "repository-ci-env-variable-update" | "runtime-cache-purge-all" | "saml-connection-created" | "saml-connection-deleted" | "saml-idp-material-deleted" | "saml-idp-material-set" | "saml-idp-material-system-deleted" | "saml-idp-material-system-set" | "saml-login-provider-changed" | "sandbox-ai-gateway-credentials-configured" | "sandbox-alias-assigned" | "sandbox-alias-delete" | "sandbox-drive-created" | "sandbox-drive-deleted" | "sandbox-drive-snapshot-created" | "sandbox-drive-snapshot-deleted" | "sandbox-expiry-notification-lead-time-updated" | "sandbox-npm-credentials-configured" | "sandbox-signed-commit-identity-configured" | "sandbox-snapshot-regions-updated" | "scale" | "scale-auto" | "schedule-created" | "schedule-deleted" | "schedule-disabled" | "schedule-enabled" | "schedule-invoked" | "schedule-updated" | "secondary-email-added" | "secondary-email-removed" | "secondary-email-verified" | "secret-add" | "secret-delete" | "secret-rename" | "security-list-created" | "security-list-deleted" | "security-list-updated" | "security-plus-updated" | "set-bio" | "set-name" | "set-profiles" | "set-scale" | "shared-env-variable-create" | "shared-env-variable-delete" | "shared-env-variable-read" | "shared-env-variable-repo-link" | "shared-env-variable-repo-unlink" | "shared-env-variable-update" | "show-ip-addresses" | "signup" | "signup-via-bitbucket" | "signup-via-github" | "signup-via-gitlab" | "speed-insights-settings-updated" | "spend-created" | "spend-deleted" | "spend-updated" | "sso-login" | "startup-terms-accepted" | "storage-accept-tos" | "storage-access-token-set" | "storage-accessed-data-browser" | "storage-connect-project" | "storage-create" | "storage-delete" | "storage-disconnect-project" | "storage-disconnect-projects" | "storage-inactive-store-deleted" | "storage-reset-credentials" | "storage-resource-repl-command" | "storage-set-locked" | "storage-transfer-in-success" | "storage-transfer-out-success" | "storage-transfer-request-created" | "storage-update" | "storage-update-project-connection" | "storage-upgrade-project-connection-to-oidc" | "storage-view-secret" | "strict-connectors" | "strict-deployment-protection-settings" | "strict-password-protection-settings" | "strict-shareable-links" | "subscription-created" | "subscription-product-added" | "subscription-product-removed" | "subscription-updated" | "support-session-created" | "team" | "team-agent-billing-migration-decision-changed" | "team-avatar-update" | "team-collaboration-settings-updated" | "team-data-cache-user-disabled-updated" | "team-default-build-machine-updated" | "team-default-passport-updated" | "team-delete" | "team-deployment-policy-updated" | "team-deployment-storage-high-retention-opt-in" | "team-deployment-storage-retention-opt-out" | "team-domain-verification-created" | "team-domain-verification-deleted" | "team-domain-verification-verified" | "team-email-domain-update" | "team-emu-updated" | "team-ended-trial" | "team-firewall-config-modified" | "team-firewall-config-promoted" | "team-git-repository-dispatch-events-toggled" | "team-git-require-verified-commits-toggled" | "team-invite-bulk-delete" | "team-invite-code-reset" | "team-invite-link-created" | "team-invite-link-deleted" | "team-ip-blocking-rules-created" | "team-ip-blocking-rules-removed" | "team-member-add" | "team-member-confirm-request" | "team-member-decline-request" | "team-member-delete" | "team-member-entitlement-added" | "team-member-entitlement-canceled" | "team-member-entitlement-reactivated" | "team-member-entitlement-removed" | "team-member-join" | "team-member-leave" | "team-member-request-access" | "team-member-role-update" | "team-member-sso-authorization-attempt" | "team-mfa-enforcement-updated" | "team-name-update" | "team-paid-invoice" | "team-program-enrollment-changed" | "team-remote-caching-purge" | "team-remote-caching-update" | "team-runtime-cache-updated" | "team-saml-enforced" | "team-saml-roles" | "team-slug-update" | "team-tokens-invalidated" | "tracing-configured" | "tracing-disabled" | "tracing-paused" | "tracing-resumed" | "unlink-login-connection" | "update-account-flow-dismissed" | "update-account-flow-triggered" | "user-auto-block-configured" | "user-blocked" | "user-delete" | "user-delete-requested" | "user-emu-account-archived" | "user-emu-account-deleted" | "user-emu-account-recovered" | "user-emu-account-update-opted-in" | "user-emu-account-update-opted-out" | "user-emu-recovery-email-sent" | "user-emu-recovery-initiated" | "user-emu-toggled" | "user-landing-page-updated" | "user-mfa-challenge-failed" | "user-mfa-challenge-initiated" | "user-mfa-challenge-verified" | "user-mfa-change-failed" | "user-mfa-configuration-updated" | "user-mfa-recovery-code-used" | "user-mfa-recovery-codes-regenerated" | "user-mfa-removed" | "user-mfa-setup-skipped" | "user-mfa-totp-verification-started" | "user-mfa-totp-verified" | "user-phone-removed" | "user-phone-updated" | "user-primary-email-updated" | "user-provider-email-claim-evaluated" | "user-sudo-mode-removed" | "user-token-created" | "user-token-deleted" | "user-tokens-deleted" | "user-unblocked" | "username" | "v0-chat-ai-usage" | "v0-chat-created" | "v0-chat-message-sent" | "v0-migration-payment-confirmed" | "v0-migration-subscription-completed" | "v0-shared-pool-credit-limit-default-updated" | "v0-shared-pool-credit-limit-updated" | "vcr-image-deleted" | "vcr-image-pushed" | "vcr-repository-created" | "vcr-repository-deleted" | "vcr-repository-permission-added" | "vcr-repository-permission-removed" | "vcr-repository-permissions-cleared" | "vcr-repository-visibility-changed" | "vercel-agent-elevated-permissions-approved" | "vercel-agent-elevated-permissions-requested" | "vercel-agent-security-finding-closed" | "vercel-agent-security-finding-created" | "vercel-agent-security-finding-dismissed" | "vercel-agent-security-finding-reopened" | "vercel-agent-security-finding-resolved" | "vercel-agent-security-review-policy-deleted" | "vercel-agent-security-review-policy-updated" | "vercel-agent-session-created" | "vercel-agent-team-trial-credits-applied" | "vercel-app-installation-request-dismissed" | "vercel-app-installation-requested" | "vercel-app-installation-updated" | "vercel-app-installed" | "vercel-app-tokens-revoked" | "vercel-app-uninstalled" | "vercel-ci-repository-github-runners-updated" | "vercel-ci-repository-settings-updated" | "vercel-ci-run-approved" | "vercel-toolbar" | "vpc-peering-connection-accepted" | "vpc-peering-connection-deleted" | "vpc-peering-connection-rejected" | "vpc-peering-connection-updated" | "vulnerability-banner-dismissed" | "web-analytics-summary-subscription-updated" | "web-analytics-tier-updated" | "webhook-created" | "webhook-deleted" | "webhook-updated" | "workflow-deployment-key-accessed" | "xaa-updated" ``` \ No newline at end of file diff --git a/docs/models/usereventvia1.md b/docs/models/usereventvia1.md index 1c31720d35..8ab40f6b8c 100644 --- a/docs/models/usereventvia1.md +++ b/docs/models/usereventvia1.md @@ -5,7 +5,7 @@ Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures ## Example Usage ```typescript -import { UserEventVia1 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventVia1 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventVia1 = { app: { diff --git a/docs/models/usereventvia2.md b/docs/models/usereventvia2.md index caba2b9a6e..f15b19086a 100644 --- a/docs/models/usereventvia2.md +++ b/docs/models/usereventvia2.md @@ -5,7 +5,7 @@ Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures ## Example Usage ```typescript -import { UserEventVia2 } from "@vercel/sdk/models/usereventpayload317type.js"; +import { UserEventVia2 } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: UserEventVia2 = { integration: { diff --git a/docs/models/viaapp.md b/docs/models/viaapp.md index 713c7df5dd..56a456f101 100644 --- a/docs/models/viaapp.md +++ b/docs/models/viaapp.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ViaApp } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ViaApp } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ViaApp = { id: "", diff --git a/docs/models/viaintegration.md b/docs/models/viaintegration.md index 8355fe748d..bb23d977ac 100644 --- a/docs/models/viaintegration.md +++ b/docs/models/viaintegration.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ViaIntegration } from "@vercel/sdk/models/usereventpayload317type.js"; +import { ViaIntegration } from "@vercel/sdk/models/threehundredandtwentyfour.js"; let value: ViaIntegration = { configurationId: "", diff --git a/docs/models/virtualmodelconfig.md b/docs/models/virtualmodelconfig.md index 6b36d7ec97..f0dbd89016 100644 --- a/docs/models/virtualmodelconfig.md +++ b/docs/models/virtualmodelconfig.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { VirtualModelConfig } from "@vercel/sdk/models/twenty.js"; +import { VirtualModelConfig } from "@vercel/sdk/models/usereventpayload25provider.js"; let value: VirtualModelConfig = { id: "", diff --git a/docs/models/widget.md b/docs/models/widget.md index d9ac7e81a4..cf64ad210b 100644 --- a/docs/models/widget.md +++ b/docs/models/widget.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Widget } from "@vercel/sdk/models/payloaddsyncmode.js"; +import { Widget } from "@vercel/sdk/models/twohundredandsixtytwo.js"; let value: Widget = "speed-insights-cls"; ``` diff --git a/docs/sdks/aigateway/README.md b/docs/sdks/aigateway/README.md index d1f3b9a752..d8f60572a4 100644 --- a/docs/sdks/aigateway/README.md +++ b/docs/sdks/aigateway/README.md @@ -1400,7 +1400,7 @@ run(); ## listAiGatewayBudgets -List the team's AI Gateway budgets (team/project/user scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. +List the team's AI Gateway budgets (team/project/user/app scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. ### Example Usage @@ -1475,7 +1475,7 @@ run(); ## upsertAiGatewayBudget -Create or update a team-, project-, or user-scope AI Gateway budget. +Create or update a team-, project-, user-, or app-scope AI Gateway budget. Set a total with `limitAmount`, or raise the current budget with `increaseBy`. ### Example Usage @@ -1550,7 +1550,7 @@ run(); ## archiveAiGatewayBudget -Archive a team-, project-, or user-scope AI Gateway budget. +Archive a team-, project-, user-, or app-scope AI Gateway budget. ### Example Usage @@ -1627,7 +1627,7 @@ run(); ## listAiGatewayBudgetDefaults -List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user scope with a default set). An empty list is a normal state for the dashboard. +List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user/app scope with a default set). An empty list is a normal state for the dashboard. ### Example Usage diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 03d0f95ea4..cfb11e5c80 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -100,7 +100,7 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.authentication.listAuthTokens(); + const result = await vercel.authentication.listAuthTokens({}); console.log(result); } @@ -123,7 +123,7 @@ const vercel = new VercelCore({ }); async function run() { - const res = await authenticationListAuthTokens(vercel); + const res = await authenticationListAuthTokens(vercel, {}); if (res.ok) { const { value: result } = res; console.log(result); @@ -139,6 +139,7 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.ListAuthTokensRequest](../../models/listauthtokensrequest.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. | diff --git a/docs/sdks/billing/README.md b/docs/sdks/billing/README.md index e6a7037870..650fe538f0 100644 --- a/docs/sdks/billing/README.md +++ b/docs/sdks/billing/README.md @@ -8,7 +8,7 @@ ## buyCredits -Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. +Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. Pro subscription purchases additionally require permission to update the team's plan, and AI Gateway credit purchases require permission to create AI Gateway credits. ### Example Usage diff --git a/docs/sdks/featureflags/README.md b/docs/sdks/featureflags/README.md index 25fac92293..6dca565196 100644 --- a/docs/sdks/featureflags/README.md +++ b/docs/sdks/featureflags/README.md @@ -4,6 +4,7 @@ ### Available Operations +* [signFlagOverrides](#signflagoverrides) - Sign flag overrides * [listFlagsV2](#listflagsv2) - List flags * [listFlags](#listflags) - List flags * [createFlag](#createflag) - Create a flag @@ -32,6 +33,83 @@ * [createFlagsProjectConnection](#createflagsprojectconnection) - Connect a project to the flags of this project * [deleteFlagsProjectConnection](#deleteflagsprojectconnection) - Disconnect a project from the flags of this project +## signFlagOverrides + +Signs flag overrides for the `vercel-flag-overrides` cookie, which the Flags SDK accepts without a `FLAGS_SECRET`. The overrides apply to one environment of the project and of the projects that share its microfrontends groups. An access token requires permission to read the project and an `environment`. A Vercel OIDC token signs only for its own project and environment. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.featureFlags.signFlagOverrides({ + projectIdOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { featureFlagsSignFlagOverrides } from "@vercel/sdk/funcs/featureFlagsSignFlagOverrides.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 featureFlagsSignFlagOverrides(vercel, { + projectIdOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("featureFlagsSignFlagOverrides failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.SignFlagOverridesRequest](../../models/signflagoverridesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[models.SignFlagOverridesResponseBody](../../models/signflagoverridesresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| models.SDKError | 4XX, 5XX | \*/\* | + ## listFlagsV2 Retrieve feature flags for a project. Returns an opaque cursor for pagination. diff --git a/examples/package-lock.json b/examples/package-lock.json index 334026896a..bab3fde019 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@vercel/sdk", - "version": "1.28.67", + "version": "1.28.68", "license": "Apache-2.0", "dependencies": { "zod": "^3.25.0 || ^4.6.6" diff --git a/jsr.json b/jsr.json index cb0ac8c5d0..ca59b93112 100644 --- a/jsr.json +++ b/jsr.json @@ -2,9 +2,10 @@ { "name": "@vercel/sdk", - "version": "1.28.67", + "version": "1.28.68", "exports": { - ".": "./src/index.ts", + ".": "./src/index.ts", + "./node": "./src/node.ts", "./models": "./src/models/index.ts", "./lib/config": "./src/lib/config.ts", "./lib/http": "./src/lib/http.ts", diff --git a/package-lock.json b/package-lock.json index 257108092c..0c4f2f082d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vercel/sdk", - "version": "1.28.67", + "version": "1.28.68", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vercel/sdk", - "version": "1.28.67", + "version": "1.28.68", "license": "Apache-2.0", "dependencies": { "zod": "^3.25.0 || ^4.6.6" diff --git a/package.json b/package.json index a091fc2e15..baadafee22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vercel/sdk", - "version": "1.28.67", + "version": "1.28.68", "author": "Speakeasy", "license": "Apache-2.0", "type": "module", @@ -12,6 +12,11 @@ "default": "./esm/index.js" }, "./package.json": "./package.json", + "./node": { + "source": "./src/node.ts", + "types": "./esm/node.d.ts", + "default": "./esm/node.js" + }, "./*.js": { "source": "./src/*.ts", "types": "./esm/*.d.ts", @@ -32,8 +37,8 @@ "lint": "oxlint --max-warnings=0 --deny-warnings --no-error-on-unmatched-pattern src", "build": "tsgo", "prepublishOnly": "npm run build", - "test": "npm run test:connect-environments", - "test:connect-environments": "npm run build && node --test tests/connect-integration-resource-to-project.test.mjs" + "test:connect-environments": "npm run build && node --test tests/connect-integration-resource-to-project.test.mjs", + "test": "npm run test:connect-environments" }, "peerDependencies": { diff --git a/src/funcs/accessGroupsCreateAccessGroupProject.ts b/src/funcs/accessGroupsCreateAccessGroupProject.ts index f4dcf06b71..b4dd578c7c 100644 --- a/src/funcs/accessGroupsCreateAccessGroupProject.ts +++ b/src/funcs/accessGroupsCreateAccessGroupProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateAccessGroupProjectRequest, CreateAccessGroupProjectRequest$outboundSchema, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc("/v1/access-groups/{accessGroupIdOrName}/projects")( + const pathResult = encodePath( + "/v1/access-groups/{accessGroupIdOrName}/projects", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsDeleteAccessGroup.ts b/src/funcs/accessGroupsDeleteAccessGroup.ts index 8b3ba14c3e..db46857246 100644 --- a/src/funcs/accessGroupsDeleteAccessGroup.ts +++ b/src/funcs/accessGroupsDeleteAccessGroup.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAccessGroupRequest, DeleteAccessGroupRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/access-groups/{idOrName}")(pathParams); + const pathResult = encodePath("/v1/access-groups/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsDeleteAccessGroupProject.ts b/src/funcs/accessGroupsDeleteAccessGroupProject.ts index 2b01e1d7b1..256c231524 100644 --- a/src/funcs/accessGroupsDeleteAccessGroupProject.ts +++ b/src/funcs/accessGroupsDeleteAccessGroupProject.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAccessGroupProjectRequest, DeleteAccessGroupProjectRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsListAccessGroupMembers.ts b/src/funcs/accessGroupsListAccessGroupMembers.ts index 5cb8792dd5..066f20a576 100644 --- a/src/funcs/accessGroupsListAccessGroupMembers.ts +++ b/src/funcs/accessGroupsListAccessGroupMembers.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/access-groups/{idOrName}/members")(pathParams); + const pathResult = encodePath( + "/v1/access-groups/{idOrName}/members", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/accessGroupsListAccessGroupProjects.ts b/src/funcs/accessGroupsListAccessGroupProjects.ts index a51b07299b..0714610afb 100644 --- a/src/funcs/accessGroupsListAccessGroupProjects.ts +++ b/src/funcs/accessGroupsListAccessGroupProjects.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/access-groups/{idOrName}/projects")(pathParams); + const pathResult = encodePath( + "/v1/access-groups/{idOrName}/projects", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/accessGroupsReadAccessGroup.ts b/src/funcs/accessGroupsReadAccessGroup.ts index e5540d624c..e8196236f5 100644 --- a/src/funcs/accessGroupsReadAccessGroup.ts +++ b/src/funcs/accessGroupsReadAccessGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/access-groups/{idOrName}")(pathParams); + const pathResult = encodePath("/v1/access-groups/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsReadAccessGroupProject.ts b/src/funcs/accessGroupsReadAccessGroupProject.ts index aab6d3987a..acaef15bd6 100644 --- a/src/funcs/accessGroupsReadAccessGroupProject.ts +++ b/src/funcs/accessGroupsReadAccessGroupProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsUpdateAccessGroup.ts b/src/funcs/accessGroupsUpdateAccessGroup.ts index c94911ab9e..36e2a63bbd 100644 --- a/src/funcs/accessGroupsUpdateAccessGroup.ts +++ b/src/funcs/accessGroupsUpdateAccessGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/access-groups/{idOrName}")(pathParams); + const pathResult = encodePath("/v1/access-groups/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/accessGroupsUpdateAccessGroupProject.ts b/src/funcs/accessGroupsUpdateAccessGroupProject.ts index a0c294f1ff..ec0d655136 100644 --- a/src/funcs/accessGroupsUpdateAccessGroupProject.ts +++ b/src/funcs/accessGroupsUpdateAccessGroupProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/aiGatewayArchiveAiGatewayBudget.ts b/src/funcs/aiGatewayArchiveAiGatewayBudget.ts index 0a2716dbff..b5512368e2 100644 --- a/src/funcs/aiGatewayArchiveAiGatewayBudget.ts +++ b/src/funcs/aiGatewayArchiveAiGatewayBudget.ts @@ -36,7 +36,7 @@ import { Result } from "../types/fp.js"; * Archive AI Gateway budget * * @remarks - * Archive a team-, project-, or user-scope AI Gateway budget. + * Archive a team-, project-, user-, or app-scope AI Gateway budget. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ @@ -98,6 +98,7 @@ async function $do( const path = pathToFunc("/ai-gateway/budgets")(); const query = encodeFormQuery({ + "appId": payload.appId, "justification": payload.justification, "projectId": payload.projectId, "scopeType": payload.scopeType, diff --git a/src/funcs/aiGatewayDeleteAiGatewayByokCredential.ts b/src/funcs/aiGatewayDeleteAiGatewayByokCredential.ts index 88bafa03c8..6d40411930 100644 --- a/src/funcs/aiGatewayDeleteAiGatewayByokCredential.ts +++ b/src/funcs/aiGatewayDeleteAiGatewayByokCredential.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAiGatewayByokCredentialRequest, DeleteAiGatewayByokCredentialRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/byok-credentials/{credentialId}")( + const pathResult = encodePath( + "/ai-gateway/byok-credentials/{credentialId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ownerId": payload.ownerId, diff --git a/src/funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.ts b/src/funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.ts index d11de655f5..096fad1cd1 100644 --- a/src/funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.ts +++ b/src/funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAiGatewayVirtualModelConfigBySlugRequest, DeleteAiGatewayVirtualModelConfigBySlugRequest$outboundSchema, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/virtual-model-configs/{vmcSlug}")( + const pathResult = encodePath( + "/ai-gateway/virtual-model-configs/{vmcSlug}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "actingIp": payload.actingIp, diff --git a/src/funcs/aiGatewayGetAiGatewayByokCredential.ts b/src/funcs/aiGatewayGetAiGatewayByokCredential.ts index 019fcbab66..31e8e79ebb 100644 --- a/src/funcs/aiGatewayGetAiGatewayByokCredential.ts +++ b/src/funcs/aiGatewayGetAiGatewayByokCredential.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetAiGatewayByokCredentialRequest, GetAiGatewayByokCredentialRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/byok-credentials/{credentialId}")( + const pathResult = encodePath( + "/ai-gateway/byok-credentials/{credentialId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ownerId": payload.ownerId, diff --git a/src/funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.ts b/src/funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.ts index 72402eac59..d36f353053 100644 --- a/src/funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.ts +++ b/src/funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AiGatewayVirtualModelConfig, AiGatewayVirtualModelConfig$inboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/virtual-model-configs/{vmcSlug}")( + const pathResult = encodePath( + "/ai-gateway/virtual-model-configs/{vmcSlug}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ownerId": payload.ownerId, diff --git a/src/funcs/aiGatewayListAiGatewayBudgetDefaults.ts b/src/funcs/aiGatewayListAiGatewayBudgetDefaults.ts index af955b2591..a0a9fb4757 100644 --- a/src/funcs/aiGatewayListAiGatewayBudgetDefaults.ts +++ b/src/funcs/aiGatewayListAiGatewayBudgetDefaults.ts @@ -36,7 +36,7 @@ import { Result } from "../types/fp.js"; * List AI Gateway budget defaults * * @remarks - * List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user scope with a default set). An empty list is a normal state for the dashboard. + * List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user/app scope with a default set). An empty list is a normal state for the dashboard. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ diff --git a/src/funcs/aiGatewayListAiGatewayBudgets.ts b/src/funcs/aiGatewayListAiGatewayBudgets.ts index c6b0dd8058..7840df7b7a 100644 --- a/src/funcs/aiGatewayListAiGatewayBudgets.ts +++ b/src/funcs/aiGatewayListAiGatewayBudgets.ts @@ -36,7 +36,7 @@ import { Result } from "../types/fp.js"; * List AI Gateway budgets * * @remarks - * List the team's AI Gateway budgets (team/project/user scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. + * List the team's AI Gateway budgets (team/project/user/app scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ diff --git a/src/funcs/aiGatewayUpdateAiGatewayByokCredential.ts b/src/funcs/aiGatewayUpdateAiGatewayByokCredential.ts index 0b200a798d..9afef32c7f 100644 --- a/src/funcs/aiGatewayUpdateAiGatewayByokCredential.ts +++ b/src/funcs/aiGatewayUpdateAiGatewayByokCredential.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/byok-credentials/{credentialId}")( + const pathResult = encodePath( + "/ai-gateway/byok-credentials/{credentialId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ownerId": payload.ownerId, diff --git a/src/funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.ts b/src/funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.ts index 879cffd82e..64c0bfa34f 100644 --- a/src/funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.ts +++ b/src/funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AiGatewayVirtualModelConfig, AiGatewayVirtualModelConfig$inboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/ai-gateway/virtual-model-configs/{vmcSlug}")( + const pathResult = encodePath( + "/ai-gateway/virtual-model-configs/{vmcSlug}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/aiGatewayUpdateApiKeyQuota.ts b/src/funcs/aiGatewayUpdateApiKeyQuota.ts index 6a8a929f58..c042ccda1d 100644 --- a/src/funcs/aiGatewayUpdateApiKeyQuota.ts +++ b/src/funcs/aiGatewayUpdateApiKeyQuota.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -115,7 +114,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/api-keys/{apiKeyID}/quota")(pathParams); + const pathResult = encodePath("/api-keys/{apiKeyID}/quota", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/aiGatewayUpsertAiGatewayBudget.ts b/src/funcs/aiGatewayUpsertAiGatewayBudget.ts index 6fb49cee1a..f8c5929873 100644 --- a/src/funcs/aiGatewayUpsertAiGatewayBudget.ts +++ b/src/funcs/aiGatewayUpsertAiGatewayBudget.ts @@ -36,7 +36,7 @@ import { Result } from "../types/fp.js"; * Upsert AI Gateway budget * * @remarks - * Create or update a team-, project-, or user-scope AI Gateway budget. + * Create or update a team-, project-, user-, or app-scope AI Gateway budget. Set a total with `limitAmount`, or raise the current budget with `increaseBy`. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ diff --git a/src/funcs/aliasesAssignAlias.ts b/src/funcs/aliasesAssignAlias.ts index b640b242db..eb13898ca0 100644 --- a/src/funcs/aliasesAssignAlias.ts +++ b/src/funcs/aliasesAssignAlias.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AssignAliasRequest, AssignAliasRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/deployments/{id}/aliases")(pathParams); + const pathResult = encodePath("/v2/deployments/{id}/aliases", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/aliasesDeleteAlias.ts b/src/funcs/aliasesDeleteAlias.ts index 8d3e4e0404..13ecd4c1aa 100644 --- a/src/funcs/aliasesDeleteAlias.ts +++ b/src/funcs/aliasesDeleteAlias.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAliasRequest, DeleteAliasRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/aliases/{aliasId}")(pathParams); + const pathResult = encodePath("/v2/aliases/{aliasId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/aliasesGetAlias.ts b/src/funcs/aliasesGetAlias.ts index 55ff4a8352..865271ba90 100644 --- a/src/funcs/aliasesGetAlias.ts +++ b/src/funcs/aliasesGetAlias.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetAliasRequest, GetAliasRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v4/aliases/{idOrAlias}")(pathParams); + const pathResult = encodePath("/v4/aliases/{idOrAlias}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "from": payload.from, diff --git a/src/funcs/aliasesListDeploymentAliases.ts b/src/funcs/aliasesListDeploymentAliases.ts index fdec6103c2..eb12c73d9c 100644 --- a/src/funcs/aliasesListDeploymentAliases.ts +++ b/src/funcs/aliasesListDeploymentAliases.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/deployments/{id}/aliases")(pathParams); + const pathResult = encodePath("/v2/deployments/{id}/aliases", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/aliasesPatchUrlProtectionBypass.ts b/src/funcs/aliasesPatchUrlProtectionBypass.ts index d686572093..1f00cd9a13 100644 --- a/src/funcs/aliasesPatchUrlProtectionBypass.ts +++ b/src/funcs/aliasesPatchUrlProtectionBypass.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/aliases/{id}/protection-bypass")(pathParams); + const pathResult = encodePath("/aliases/{id}/protection-bypass", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/artifactsArtifactExists.ts b/src/funcs/artifactsArtifactExists.ts index bd51842239..f2e672784b 100644 --- a/src/funcs/artifactsArtifactExists.ts +++ b/src/funcs/artifactsArtifactExists.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ArtifactExistsRequest, ArtifactExistsRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/artifacts/{hash}")(pathParams); + const pathResult = encodePath("/v8/artifacts/{hash}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/artifactsDownloadArtifact.ts b/src/funcs/artifactsDownloadArtifact.ts index cec5ca6797..dbfdeafece 100644 --- a/src/funcs/artifactsDownloadArtifact.ts +++ b/src/funcs/artifactsDownloadArtifact.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DownloadArtifactRequest, DownloadArtifactRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/artifacts/{hash}")(pathParams); + const pathResult = encodePath("/v8/artifacts/{hash}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/artifactsUploadArtifact.ts b/src/funcs/artifactsUploadArtifact.ts index e95d2446ee..bf6bd395ed 100644 --- a/src/funcs/artifactsUploadArtifact.ts +++ b/src/funcs/artifactsUploadArtifact.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/artifacts/{hash}")(pathParams); + const pathResult = encodePath("/v8/artifacts/{hash}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/authenticationDeleteAuthToken.ts b/src/funcs/authenticationDeleteAuthToken.ts index 502cfe30c7..153a71b8b4 100644 --- a/src/funcs/authenticationDeleteAuthToken.ts +++ b/src/funcs/authenticationDeleteAuthToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteAuthTokenRequest, DeleteAuthTokenRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v3/user/tokens/{tokenId}")(pathParams); + const pathResult = encodePath("/v3/user/tokens/{tokenId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "logoutSource": payload.logoutSource, diff --git a/src/funcs/authenticationGetAuthToken.ts b/src/funcs/authenticationGetAuthToken.ts index 6558a45cd0..26c5e5393e 100644 --- a/src/funcs/authenticationGetAuthToken.ts +++ b/src/funcs/authenticationGetAuthToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetAuthTokenRequest, GetAuthTokenRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v5/user/tokens/{tokenId}")(pathParams); + const pathResult = encodePath("/v5/user/tokens/{tokenId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/authenticationListAuthTokens.ts b/src/funcs/authenticationListAuthTokens.ts index 5e7f31a032..0e29f20fef 100644 --- a/src/funcs/authenticationListAuthTokens.ts +++ b/src/funcs/authenticationListAuthTokens.ts @@ -3,9 +3,11 @@ */ import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; import { RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; import { pathToFunc } from "../lib/url.js"; @@ -17,6 +19,8 @@ import { UnexpectedClientError, } from "../models/httpclienterrors.js"; import { + ListAuthTokensRequest, + ListAuthTokensRequest$outboundSchema, ListAuthTokensResponseBody, ListAuthTokensResponseBody$inboundSchema, } from "../models/listauthtokensop.js"; @@ -36,6 +40,7 @@ import { Result } from "../types/fp.js"; */ export function authenticationListAuthTokens( client: VercelCore, + request: ListAuthTokensRequest, options?: RequestOptions, ): APIPromise< Result< @@ -52,12 +57,14 @@ export function authenticationListAuthTokens( > { return new APIPromise($do( client, + request, options, )); } async function $do( client: VercelCore, + request: ListAuthTokensRequest, options?: RequestOptions, ): Promise< [ @@ -75,8 +82,24 @@ async function $do( APICall, ] > { + const parsed = safeParse( + request, + (value) => ListAuthTokensRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + const path = pathToFunc("/v6/user/tokens")(); + const query = encodeFormQuery({ + "kind": payload.kind, + "status": payload.status, + }); + const headers = new Headers(compactMap({ Accept: "application/json", })); @@ -106,6 +129,8 @@ async function $do( baseURL: options?.serverURL, path: path, headers: headers, + query: query, + body: body, userAgent: client._options.userAgent, timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, }, options); diff --git a/src/funcs/billingBuyCredits.ts b/src/funcs/billingBuyCredits.ts index 650353e4c5..fb13db4829 100644 --- a/src/funcs/billingBuyCredits.ts +++ b/src/funcs/billingBuyCredits.ts @@ -34,7 +34,7 @@ import { Result } from "../types/fp.js"; * Purchase credits * * @remarks - * Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. + * Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. Pro subscription purchases additionally require permission to update the team's plan, and AI Gateway credit purchases require permission to create AI Gateway credits. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ diff --git a/src/funcs/certsGetCertById.ts b/src/funcs/certsGetCertById.ts index f225d15c98..4904fd2384 100644 --- a/src/funcs/certsGetCertById.ts +++ b/src/funcs/certsGetCertById.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetCertByIdRequest, GetCertByIdRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/certs/{id}")(pathParams); + const pathResult = encodePath("/v8/certs/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/certsRemoveCert.ts b/src/funcs/certsRemoveCert.ts index b74da1fc8b..c0b2798cf6 100644 --- a/src/funcs/certsRemoveCert.ts +++ b/src/funcs/certsRemoveCert.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/certs/{id}")(pathParams); + const pathResult = encodePath("/v8/certs/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksCreateCheck.ts b/src/funcs/checksCreateCheck.ts index aebe70dcd7..bd1f3ce183 100644 --- a/src/funcs/checksCreateCheck.ts +++ b/src/funcs/checksCreateCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateCheckRequest, CreateCheckRequest$outboundSchema, @@ -101,7 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/deployments/{deploymentId}/checks")(pathParams); + const pathResult = encodePath( + "/v1/deployments/{deploymentId}/checks", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksGetAllChecks.ts b/src/funcs/checksGetAllChecks.ts index f99935a0c7..c58047085f 100644 --- a/src/funcs/checksGetAllChecks.ts +++ b/src/funcs/checksGetAllChecks.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetAllChecksRequest, GetAllChecksRequest$outboundSchema, @@ -101,7 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/deployments/{deploymentId}/checks")(pathParams); + const pathResult = encodePath( + "/v1/deployments/{deploymentId}/checks", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksGetCheck.ts b/src/funcs/checksGetCheck.ts index 03b3050e55..e2ec39fc90 100644 --- a/src/funcs/checksGetCheck.ts +++ b/src/funcs/checksGetCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetCheckRequest, GetCheckRequest$outboundSchema, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/deployments/{deploymentId}/checks/{checkId}")( + const pathResult = encodePath( + "/v1/deployments/{deploymentId}/checks/{checkId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksRerequestCheck.ts b/src/funcs/checksRerequestCheck.ts index 4efddb07df..9974e35631 100644 --- a/src/funcs/checksRerequestCheck.ts +++ b/src/funcs/checksRerequestCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/deployments/{deploymentId}/checks/{checkId}/rerequest", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "autoUpdate": payload.autoUpdate, diff --git a/src/funcs/checksUpdateCheck.ts b/src/funcs/checksUpdateCheck.ts index d292064882..2e8158b251 100644 --- a/src/funcs/checksUpdateCheck.ts +++ b/src/funcs/checksUpdateCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/deployments/{deploymentId}/checks/{checkId}")( + const pathResult = encodePath( + "/v1/deployments/{deploymentId}/checks/{checkId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2CreateDeploymentCheckRun.ts b/src/funcs/checksV2CreateDeploymentCheckRun.ts index f5fe2b90f9..c598a96bbf 100644 --- a/src/funcs/checksV2CreateDeploymentCheckRun.ts +++ b/src/funcs/checksV2CreateDeploymentCheckRun.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateDeploymentCheckRunRequest, CreateDeploymentCheckRunRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/deployments/{deploymentId}/check-runs")( + const pathResult = encodePath( + "/v2/deployments/{deploymentId}/check-runs", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2CreateProjectCheck.ts b/src/funcs/checksV2CreateProjectCheck.ts index 48e7eb7827..afb2183cd0 100644 --- a/src/funcs/checksV2CreateProjectCheck.ts +++ b/src/funcs/checksV2CreateProjectCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateProjectCheckRequest, CreateProjectCheckRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/checks")(pathParams); + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/checks", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2DeleteProjectCheck.ts b/src/funcs/checksV2DeleteProjectCheck.ts index 07d9f04c57..c8d59d2804 100644 --- a/src/funcs/checksV2DeleteProjectCheck.ts +++ b/src/funcs/checksV2DeleteProjectCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteProjectCheckRequest, DeleteProjectCheckRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/checks/{checkId}")( + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/checks/{checkId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2GetDeploymentCheckRun.ts b/src/funcs/checksV2GetDeploymentCheckRun.ts index c6292996f7..9370c034ef 100644 --- a/src/funcs/checksV2GetDeploymentCheckRun.ts +++ b/src/funcs/checksV2GetDeploymentCheckRun.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDeploymentCheckRunRequest, GetDeploymentCheckRunRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/deployments/{deploymentId}/check-runs/{checkRunId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2GetProjectCheck.ts b/src/funcs/checksV2GetProjectCheck.ts index 10e621afdb..689700c99c 100644 --- a/src/funcs/checksV2GetProjectCheck.ts +++ b/src/funcs/checksV2GetProjectCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectCheckRequest, GetProjectCheckRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/checks/{checkId}")( + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/checks/{checkId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2ListCheckRuns.ts b/src/funcs/checksV2ListCheckRuns.ts index d1d1d597a0..cb4287a22f 100644 --- a/src/funcs/checksV2ListCheckRuns.ts +++ b/src/funcs/checksV2ListCheckRuns.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/projects/{projectIdOrName}/checks/{checkId}/runs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2ListDeploymentCheckRuns.ts b/src/funcs/checksV2ListDeploymentCheckRuns.ts index a2427fe20a..44b14e2996 100644 --- a/src/funcs/checksV2ListDeploymentCheckRuns.ts +++ b/src/funcs/checksV2ListDeploymentCheckRuns.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/deployments/{deploymentId}/check-runs")( + const pathResult = encodePath( + "/v2/deployments/{deploymentId}/check-runs", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2ListProjectChecks.ts b/src/funcs/checksV2ListProjectChecks.ts index 568b46619c..cc370f9828 100644 --- a/src/funcs/checksV2ListProjectChecks.ts +++ b/src/funcs/checksV2ListProjectChecks.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/checks")(pathParams); + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/checks", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "blocks": payload.blocks, diff --git a/src/funcs/checksV2UpdateDeploymentCheckRun.ts b/src/funcs/checksV2UpdateDeploymentCheckRun.ts index c6eddbb028..913153dc69 100644 --- a/src/funcs/checksV2UpdateDeploymentCheckRun.ts +++ b/src/funcs/checksV2UpdateDeploymentCheckRun.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/deployments/{deploymentId}/check-runs/{checkRunId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/checksV2UpdateProjectCheck.ts b/src/funcs/checksV2UpdateProjectCheck.ts index c91840ff9e..e05d46cb69 100644 --- a/src/funcs/checksV2UpdateProjectCheck.ts +++ b/src/funcs/checksV2UpdateProjectCheck.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/checks/{checkId}")( + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/checks/{checkId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectDeleteConnector.ts b/src/funcs/connectDeleteConnector.ts index eb0b835512..30adf4e14d 100644 --- a/src/funcs/connectDeleteConnector.ts +++ b/src/funcs/connectDeleteConnector.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectError, ConnectError$inboundSchema, @@ -104,7 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/connectors/{connector}")(pathParams); + const pathResult = encodePath( + "/v1/connect/connectors/{connector}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectDeleteConnectorProjectConnection.ts b/src/funcs/connectDeleteConnectorProjectConnection.ts index 953cb6fde5..c8e1c981fa 100644 --- a/src/funcs/connectDeleteConnectorProjectConnection.ts +++ b/src/funcs/connectDeleteConnectorProjectConnection.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectError, ConnectError$inboundSchema, @@ -109,9 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/connect/connectors/{connector}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectDisconnectConnectorProjectEnvironment.ts b/src/funcs/connectDisconnectConnectorProjectEnvironment.ts index 1abadc129b..f28c1d29f7 100644 --- a/src/funcs/connectDisconnectConnectorProjectEnvironment.ts +++ b/src/funcs/connectDisconnectConnectorProjectEnvironment.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DisconnectConnectorProjectEnvironmentRequest, DisconnectConnectorProjectEnvironmentRequest$outboundSchema, @@ -107,9 +106,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/connect/connectors/{connector}/projects/{projectId}/environments/{environment}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectEjectManagedConnector.ts b/src/funcs/connectEjectManagedConnector.ts index c2327f4389..0427e7672a 100644 --- a/src/funcs/connectEjectManagedConnector.ts +++ b/src/funcs/connectEjectManagedConnector.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectConnector, ConnectConnector$inboundSchema, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/connectors/{connector}/managed/eject")( + const pathResult = encodePath( + "/v1/connect/connectors/{connector}/managed/eject", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectGetConnector.ts b/src/funcs/connectGetConnector.ts index 76022cfd21..eddbc0ddbe 100644 --- a/src/funcs/connectGetConnector.ts +++ b/src/funcs/connectGetConnector.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectConnector, ConnectConnector$inboundSchema, @@ -107,7 +106,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/connectors/{connector}")(pathParams); + const pathResult = encodePath( + "/v1/connect/connectors/{connector}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectGetConnectorProjectConnection.ts b/src/funcs/connectGetConnectorProjectConnection.ts index 26eb62118e..8c4c8f878b 100644 --- a/src/funcs/connectGetConnectorProjectConnection.ts +++ b/src/funcs/connectGetConnectorProjectConnection.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectError, ConnectError$inboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/connect/connectors/{connector}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectListConnectorProjectConnections.ts b/src/funcs/connectListConnectorProjectConnections.ts index f031f77c81..106f624fab 100644 --- a/src/funcs/connectListConnectorProjectConnections.ts +++ b/src/funcs/connectListConnectorProjectConnections.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectConnectorProjectConnectionList, ConnectConnectorProjectConnectionList$inboundSchema, @@ -108,9 +107,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/connect/connectors/{connector}/projects")( + const pathResult = encodePath( + "/v2/connect/connectors/{connector}/projects", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/connectListProjectConnectorConnections.ts b/src/funcs/connectListProjectConnectorConnections.ts index b5c53721e4..42e91504a1 100644 --- a/src/funcs/connectListProjectConnectorConnections.ts +++ b/src/funcs/connectListProjectConnectorConnections.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectError, ConnectError$inboundSchema, @@ -108,9 +107,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/connect/projects/{projectId}/connectors")( + const pathResult = encodePath( + "/v2/connect/projects/{projectId}/connectors", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/connectReplaceConnectorTriggerDestinations.ts b/src/funcs/connectReplaceConnectorTriggerDestinations.ts index 6e3b8b1dbe..f853aa2ddf 100644 --- a/src/funcs/connectReplaceConnectorTriggerDestinations.ts +++ b/src/funcs/connectReplaceConnectorTriggerDestinations.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectConnector, ConnectConnector$inboundSchema, @@ -112,9 +111,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/connect/connectors/{connector}/trigger-destinations", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectUpdateConnector.ts b/src/funcs/connectUpdateConnector.ts index d01c01382f..4a9164c150 100644 --- a/src/funcs/connectUpdateConnector.ts +++ b/src/funcs/connectUpdateConnector.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectConnectorUpdateResult, ConnectConnectorUpdateResult$inboundSchema, @@ -109,7 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/connect/connectors/{connector}")(pathParams); + const pathResult = encodePath( + "/v2/connect/connectors/{connector}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/connectUpsertConnectorProjectConnection.ts b/src/funcs/connectUpsertConnectorProjectConnection.ts index a4f6a07222..8cc170efb1 100644 --- a/src/funcs/connectUpsertConnectorProjectConnection.ts +++ b/src/funcs/connectUpsertConnectorProjectConnection.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectError, ConnectError$inboundSchema, @@ -116,9 +115,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/connect/connectors/{connector}/projects/{projectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/daemonsGetProjectBoxes.ts b/src/funcs/daemonsGetProjectBoxes.ts index 2d089b100a..111eb90102 100644 --- a/src/funcs/daemonsGetProjectBoxes.ts +++ b/src/funcs/daemonsGetProjectBoxes.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectBoxesRequest, GetProjectBoxesRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/daemons")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/daemons", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/daemonsPutProjectDaemonInstances.ts b/src/funcs/daemonsPutProjectDaemonInstances.ts index f05079a1b1..9561f4762a 100644 --- a/src/funcs/daemonsPutProjectDaemonInstances.ts +++ b/src/funcs/daemonsPutProjectDaemonInstances.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{idOrName}/daemons/{daemonName}/instances", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "customEnvironmentId": payload.customEnvironmentId, @@ -178,7 +182,7 @@ async function $do( | SDKValidationError >( M.json(200, PutProjectDaemonInstancesResponseBody$inboundSchema), - M.fail([400, 401, 403, 404, 410, "4XX"]), + M.fail([400, 401, 403, 404, 409, 410, "4XX"]), M.fail("5XX"), )(response, req); if (!result.ok) { diff --git a/src/funcs/daemonsRestartProjectDaemonInstance.ts b/src/funcs/daemonsRestartProjectDaemonInstance.ts index ce9c2bfeea..9ced71826a 100644 --- a/src/funcs/daemonsRestartProjectDaemonInstance.ts +++ b/src/funcs/daemonsRestartProjectDaemonInstance.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -107,9 +106,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{idOrName}/daemons/{daemonName}/instances/{instanceId}/restart", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "customEnvironmentId": payload.customEnvironmentId, diff --git a/src/funcs/deploymentsCancelDeployment.ts b/src/funcs/deploymentsCancelDeployment.ts index 5e33983d4d..0557711999 100644 --- a/src/funcs/deploymentsCancelDeployment.ts +++ b/src/funcs/deploymentsCancelDeployment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CancelDeploymentRequest, CancelDeploymentRequest$outboundSchema, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v12/deployments/{id}/cancel")(pathParams); + const pathResult = encodePath("/v12/deployments/{id}/cancel", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/deploymentsDeleteDeployment.ts b/src/funcs/deploymentsDeleteDeployment.ts index ef1d9b5856..6dbdf0bdfb 100644 --- a/src/funcs/deploymentsDeleteDeployment.ts +++ b/src/funcs/deploymentsDeleteDeployment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteDeploymentRequest, DeleteDeploymentRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v13/deployments/{id}")(pathParams); + const pathResult = encodePath("/v13/deployments/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/deploymentsGetDeployment.ts b/src/funcs/deploymentsGetDeployment.ts index b0a4665648..9857178517 100644 --- a/src/funcs/deploymentsGetDeployment.ts +++ b/src/funcs/deploymentsGetDeployment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDeploymentRequest, GetDeploymentRequest$outboundSchema, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v13/deployments/{idOrUrl}")(pathParams); + const pathResult = encodePath("/v13/deployments/{idOrUrl}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/deploymentsGetDeploymentEvents.ts b/src/funcs/deploymentsGetDeploymentEvents.ts index 85866fb72c..ba7046b0db 100644 --- a/src/funcs/deploymentsGetDeploymentEvents.ts +++ b/src/funcs/deploymentsGetDeploymentEvents.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDeploymentEventsRequest, GetDeploymentEventsRequest$outboundSchema, @@ -108,7 +107,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v3/deployments/{idOrUrl}/events")(pathParams); + const pathResult = encodePath("/v3/deployments/{idOrUrl}/events", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "builds": payload.builds, diff --git a/src/funcs/deploymentsGetDeploymentFileContents.ts b/src/funcs/deploymentsGetDeploymentFileContents.ts index 89adeaf8e2..76055f7d3d 100644 --- a/src/funcs/deploymentsGetDeploymentFileContents.ts +++ b/src/funcs/deploymentsGetDeploymentFileContents.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDeploymentFileContentsRequest, GetDeploymentFileContentsRequest$outboundSchema, @@ -102,7 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v8/deployments/{id}/files/{fileId}")(pathParams); + const pathResult = encodePath( + "/v8/deployments/{id}/files/{fileId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "path": payload.path, diff --git a/src/funcs/deploymentsListDeploymentFiles.ts b/src/funcs/deploymentsListDeploymentFiles.ts index c427719545..3cd3df4dc8 100644 --- a/src/funcs/deploymentsListDeploymentFiles.ts +++ b/src/funcs/deploymentsListDeploymentFiles.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { FileTree, FileTree$inboundSchema } from "../models/filetree.js"; import { ConnectionError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v6/deployments/{id}/files")(pathParams); + const pathResult = encodePath("/v6/deployments/{id}/files", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts b/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts index df74ed3940..345d95f4cf 100644 --- a/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts +++ b/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -112,9 +111,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/dnsCreateRecord.ts b/src/funcs/dnsCreateRecord.ts index 89bb57810f..1b1b5ec8bd 100644 --- a/src/funcs/dnsCreateRecord.ts +++ b/src/funcs/dnsCreateRecord.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateRecordRequest, CreateRecordRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/domains/{domain}/records")(pathParams); + const pathResult = encodePath("/v2/domains/{domain}/records", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/dnsGetRecords.ts b/src/funcs/dnsGetRecords.ts index 8df444e037..3e386e8a9a 100644 --- a/src/funcs/dnsGetRecords.ts +++ b/src/funcs/dnsGetRecords.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRecordsRequest, GetRecordsRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v5/domains/{domain}/records")(pathParams); + const pathResult = encodePath("/v5/domains/{domain}/records", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/dnsRemoveRecord.ts b/src/funcs/dnsRemoveRecord.ts index 5a863197ed..75814d73d1 100644 --- a/src/funcs/dnsRemoveRecord.ts +++ b/src/funcs/dnsRemoveRecord.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/domains/{domain}/records/{recordId}")( + const pathResult = encodePath( + "/v2/domains/{domain}/records/{recordId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/dnsUpdateRecord.ts b/src/funcs/dnsUpdateRecord.ts index 33ab9e61c3..10354234b4 100644 --- a/src/funcs/dnsUpdateRecord.ts +++ b/src/funcs/dnsUpdateRecord.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/domains/records/{recordId}")(pathParams); + const pathResult = encodePath("/v1/domains/records/{recordId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsClaimDomainOwnership.ts b/src/funcs/domainsClaimDomainOwnership.ts index 7be62a40b4..46ed572f77 100644 --- a/src/funcs/domainsClaimDomainOwnership.ts +++ b/src/funcs/domainsClaimDomainOwnership.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ClaimDomainOwnershipRequest, ClaimDomainOwnershipRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/domains/{domain}/claim")(pathParams); + const pathResult = encodePath("/v9/domains/{domain}/claim", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsDeleteDomain.ts b/src/funcs/domainsDeleteDomain.ts index e23824c9d4..059a896e5d 100644 --- a/src/funcs/domainsDeleteDomain.ts +++ b/src/funcs/domainsDeleteDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteDomainRequest, DeleteDomainRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v6/domains/{domain}")(pathParams); + const pathResult = encodePath("/v6/domains/{domain}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsGetDomain.ts b/src/funcs/domainsGetDomain.ts index a09de0c831..c5b91a1668 100644 --- a/src/funcs/domainsGetDomain.ts +++ b/src/funcs/domainsGetDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDomainRequest, GetDomainRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v5/domains/{domain}")(pathParams); + const pathResult = encodePath("/v5/domains/{domain}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsGetDomainConfig.ts b/src/funcs/domainsGetDomainConfig.ts index 749257323e..ff89713edc 100644 --- a/src/funcs/domainsGetDomainConfig.ts +++ b/src/funcs/domainsGetDomainConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDomainConfigRequest, GetDomainConfigRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v6/domains/{domain}/config")(pathParams); + const pathResult = encodePath("/v6/domains/{domain}/config", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectIdOrName": payload.projectIdOrName, diff --git a/src/funcs/domainsGetDomainProjectDomains.ts b/src/funcs/domainsGetDomainProjectDomains.ts index a944646e7d..6f2d6af63c 100644 --- a/src/funcs/domainsGetDomainProjectDomains.ts +++ b/src/funcs/domainsGetDomainProjectDomains.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDomainProjectDomainsRequest, GetDomainProjectDomainsRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/domains/{domain}/project-domains")(pathParams); + const pathResult = encodePath( + "/v1/domains/{domain}/project-domains", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/domainsGetDomainVerificationRecord.ts b/src/funcs/domainsGetDomainVerificationRecord.ts index 77b6bac4d1..da253aa5ea 100644 --- a/src/funcs/domainsGetDomainVerificationRecord.ts +++ b/src/funcs/domainsGetDomainVerificationRecord.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDomainVerificationRecordRequest, GetDomainVerificationRecordRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/domains/{domain}/verification")(pathParams); + const pathResult = encodePath( + "/v9/domains/{domain}/verification", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsPatchDomain.ts b/src/funcs/domainsPatchDomain.ts index 3e763eb9ab..f6434c38ea 100644 --- a/src/funcs/domainsPatchDomain.ts +++ b/src/funcs/domainsPatchDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v3/domains/{domain}")(pathParams); + const pathResult = encodePath("/v3/domains/{domain}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/domainsRegistrarBuySingleDomain.ts b/src/funcs/domainsRegistrarBuySingleDomain.ts index caf21b0391..4de6f90fbf 100644 --- a/src/funcs/domainsRegistrarBuySingleDomain.ts +++ b/src/funcs/domainsRegistrarBuySingleDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { BuySingleDomainDomainsRegistrarResponseBody, BuySingleDomainDomainsRegistrarResponseBody$inboundSchema, @@ -125,7 +124,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/buy")(pathParams); + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/buy", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetContactInfoSchema.ts b/src/funcs/domainsRegistrarGetContactInfoSchema.ts index 98f1e7af41..9673f92e38 100644 --- a/src/funcs/domainsRegistrarGetContactInfoSchema.ts +++ b/src/funcs/domainsRegistrarGetContactInfoSchema.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetContactInfoSchemaDomainsRegistrarResponseBody, GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema, @@ -124,9 +123,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/contact-info/schema")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/contact-info/schema", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetDomainAuthCode.ts b/src/funcs/domainsRegistrarGetDomainAuthCode.ts index d8a2c22269..7375c1f2cf 100644 --- a/src/funcs/domainsRegistrarGetDomainAuthCode.ts +++ b/src/funcs/domainsRegistrarGetDomainAuthCode.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DomainCannotBeTransferedOutUntil, DomainCannotBeTransferedOutUntil$inboundSchema, @@ -137,9 +136,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/auth-code")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/auth-code", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetDomainAvailability.ts b/src/funcs/domainsRegistrarGetDomainAvailability.ts index 0a62b90c80..7a7abb23fe 100644 --- a/src/funcs/domainsRegistrarGetDomainAvailability.ts +++ b/src/funcs/domainsRegistrarGetDomainAvailability.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetDomainAvailabilityRequest, GetDomainAvailabilityRequest$outboundSchema, @@ -129,9 +128,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/availability")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/availability", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetDomainContactVerification.ts b/src/funcs/domainsRegistrarGetDomainContactVerification.ts index 82785b8563..931905e5ef 100644 --- a/src/funcs/domainsRegistrarGetDomainContactVerification.ts +++ b/src/funcs/domainsRegistrarGetDomainContactVerification.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DomainNotFound, DomainNotFound$inboundSchema, @@ -131,9 +130,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/registrar/domains/{domain}/contact-verification", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetDomainPrice.ts b/src/funcs/domainsRegistrarGetDomainPrice.ts index d94087b73d..941e816436 100644 --- a/src/funcs/domainsRegistrarGetDomainPrice.ts +++ b/src/funcs/domainsRegistrarGetDomainPrice.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetDomainPriceDomainsRegistrarResponseBody, GetDomainPriceDomainsRegistrarResponseBody$inboundSchema, @@ -124,7 +123,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/price")(pathParams); + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/price", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetDomainTransferIn.ts b/src/funcs/domainsRegistrarGetDomainTransferIn.ts index cdf1f506cc..87b0440780 100644 --- a/src/funcs/domainsRegistrarGetDomainTransferIn.ts +++ b/src/funcs/domainsRegistrarGetDomainTransferIn.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDomainTransferInDomainsRegistrarResponseBody, GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema, @@ -130,9 +129,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/transfer")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/transfer", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetOrder.ts b/src/funcs/domainsRegistrarGetOrder.ts index 05bc8cd049..c49614267d 100644 --- a/src/funcs/domainsRegistrarGetOrder.ts +++ b/src/funcs/domainsRegistrarGetOrder.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetOrderDomainsRegistrarResponseBody, GetOrderDomainsRegistrarResponseBody$inboundSchema, @@ -130,7 +129,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/orders/{orderId}")(pathParams); + const pathResult = encodePath("/v1/registrar/orders/{orderId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetTld.ts b/src/funcs/domainsRegistrarGetTld.ts index 2794ce4f50..736ff8b527 100644 --- a/src/funcs/domainsRegistrarGetTld.ts +++ b/src/funcs/domainsRegistrarGetTld.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetTldDomainsRegistrarResponseBody, GetTldDomainsRegistrarResponseBody$inboundSchema, @@ -124,7 +123,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/tlds/{tld}")(pathParams); + const pathResult = encodePath("/v1/registrar/tlds/{tld}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarGetTldPrice.ts b/src/funcs/domainsRegistrarGetTldPrice.ts index c685964755..6c821d1660 100644 --- a/src/funcs/domainsRegistrarGetTldPrice.ts +++ b/src/funcs/domainsRegistrarGetTldPrice.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetTldPriceDomainsRegistrarResponseBody, GetTldPriceDomainsRegistrarResponseBody$inboundSchema, @@ -124,7 +123,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/tlds/{tld}/price")(pathParams); + const pathResult = encodePath("/v1/registrar/tlds/{tld}/price", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarRenewDomain.ts b/src/funcs/domainsRegistrarRenewDomain.ts index ee6d8435f8..764f0cc08e 100644 --- a/src/funcs/domainsRegistrarRenewDomain.ts +++ b/src/funcs/domainsRegistrarRenewDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DomainNotFound, DomainNotFound$inboundSchema, @@ -131,7 +130,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/renew")(pathParams); + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/renew", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarTransferInDomain.ts b/src/funcs/domainsRegistrarTransferInDomain.ts index e89c1e1c99..931630c975 100644 --- a/src/funcs/domainsRegistrarTransferInDomain.ts +++ b/src/funcs/domainsRegistrarTransferInDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -125,9 +124,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/transfer")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/transfer", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts b/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts index 37ed68d296..10e82caf42 100644 --- a/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts +++ b/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DomainNotFound, DomainNotFound$inboundSchema, @@ -130,9 +129,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/auto-renew")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/auto-renew", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/domainsRegistrarUpdateDomainNameservers.ts b/src/funcs/domainsRegistrarUpdateDomainNameservers.ts index 37c799b53f..62e2635904 100644 --- a/src/funcs/domainsRegistrarUpdateDomainNameservers.ts +++ b/src/funcs/domainsRegistrarUpdateDomainNameservers.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DomainNotFound, DomainNotFound$inboundSchema, @@ -130,9 +129,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/registrar/domains/{domain}/nameservers")( + const pathResult = encodePath( + "/v1/registrar/domains/{domain}/nameservers", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "teamId": payload.teamId, diff --git a/src/funcs/drainsDeleteDrain.ts b/src/funcs/drainsDeleteDrain.ts index 5fd311b8a3..0dd5445580 100644 --- a/src/funcs/drainsDeleteDrain.ts +++ b/src/funcs/drainsDeleteDrain.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteDrainRequest, DeleteDrainRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drains/{id}")(pathParams); + const pathResult = encodePath("/v1/drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/drainsGetDrain.ts b/src/funcs/drainsGetDrain.ts index 08acd7dec4..b49d335117 100644 --- a/src/funcs/drainsGetDrain.ts +++ b/src/funcs/drainsGetDrain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDrainRequest, GetDrainRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drains/{id}")(pathParams); + const pathResult = encodePath("/v1/drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "includeDeliveryStats": payload.includeDeliveryStats, diff --git a/src/funcs/drainsUpdateDrain.ts b/src/funcs/drainsUpdateDrain.ts index 55c3dfdfc8..207c73a311 100644 --- a/src/funcs/drainsUpdateDrain.ts +++ b/src/funcs/drainsUpdateDrain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drains/{id}")(pathParams); + const pathResult = encodePath("/v1/drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/drivesDeleteDriveV1.ts b/src/funcs/drivesDeleteDriveV1.ts index 967ab6a3a6..a86c824441 100644 --- a/src/funcs/drivesDeleteDriveV1.ts +++ b/src/funcs/drivesDeleteDriveV1.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteDriveV1Request, DeleteDriveV1Request$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drives/{nameOrId}")(pathParams); + const pathResult = encodePath("/v1/drives/{nameOrId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/drivesForkDriveV1.ts b/src/funcs/drivesForkDriveV1.ts index edab94f6d4..7d528484a3 100644 --- a/src/funcs/drivesForkDriveV1.ts +++ b/src/funcs/drivesForkDriveV1.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ForkDriveV1Request, ForkDriveV1Request$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drives/{name}/fork")(pathParams); + const pathResult = encodePath("/v1/drives/{name}/fork", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/drivesGetDriveV1.ts b/src/funcs/drivesGetDriveV1.ts index c608bdc2ef..2f88e378c9 100644 --- a/src/funcs/drivesGetDriveV1.ts +++ b/src/funcs/drivesGetDriveV1.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDriveV1Request, GetDriveV1Request$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drives/{nameOrId}")(pathParams); + const pathResult = encodePath("/v1/drives/{nameOrId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/drivesGetOrCreateDriveV1.ts b/src/funcs/drivesGetOrCreateDriveV1.ts index d37798f0c9..7c109d267e 100644 --- a/src/funcs/drivesGetOrCreateDriveV1.ts +++ b/src/funcs/drivesGetOrCreateDriveV1.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetOrCreateDriveV1Request, GetOrCreateDriveV1Request$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/drives/{name}")(pathParams); + const pathResult = encodePath("/v1/drives/{name}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentCreateCustomEnvironment.ts b/src/funcs/environmentCreateCustomEnvironment.ts index e77110ec56..1d28ebee95 100644 --- a/src/funcs/environmentCreateCustomEnvironment.ts +++ b/src/funcs/environmentCreateCustomEnvironment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateCustomEnvironmentRequest, CreateCustomEnvironmentRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/custom-environments")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/custom-environments", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentGetCustomEnvironment.ts b/src/funcs/environmentGetCustomEnvironment.ts index 005b0d1b8c..7a79226446 100644 --- a/src/funcs/environmentGetCustomEnvironment.ts +++ b/src/funcs/environmentGetCustomEnvironment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetCustomEnvironmentRequest, GetCustomEnvironmentRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v9/projects/{idOrName}/custom-environments/{environmentSlugOrId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentGetProjectsByIdOrNameCustomEnvironments.ts b/src/funcs/environmentGetProjectsByIdOrNameCustomEnvironments.ts index 1d07528151..afad89b2eb 100644 --- a/src/funcs/environmentGetProjectsByIdOrNameCustomEnvironments.ts +++ b/src/funcs/environmentGetProjectsByIdOrNameCustomEnvironments.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectsByIdOrNameCustomEnvironmentsRequest, GetProjectsByIdOrNameCustomEnvironmentsRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/custom-environments")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/custom-environments", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "gitBranch": payload.gitBranch, diff --git a/src/funcs/environmentGetSharedEnvVar.ts b/src/funcs/environmentGetSharedEnvVar.ts index 7476e520a9..0b8cb72084 100644 --- a/src/funcs/environmentGetSharedEnvVar.ts +++ b/src/funcs/environmentGetSharedEnvVar.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetSharedEnvVarRequest, GetSharedEnvVarRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/env/{id}")(pathParams); + const pathResult = encodePath("/v1/env/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentRemoveCustomEnvironment.ts b/src/funcs/environmentRemoveCustomEnvironment.ts index 3ea85411ac..0697148b17 100644 --- a/src/funcs/environmentRemoveCustomEnvironment.ts +++ b/src/funcs/environmentRemoveCustomEnvironment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v9/projects/{idOrName}/custom-environments/{environmentSlugOrId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentUnlinkSharedEnvVariable.ts b/src/funcs/environmentUnlinkSharedEnvVariable.ts index 2fe4a641ee..d1b0780a77 100644 --- a/src/funcs/environmentUnlinkSharedEnvVariable.ts +++ b/src/funcs/environmentUnlinkSharedEnvVariable.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/env/{id}/unlink/{projectId}")(pathParams); + const pathResult = encodePath("/v1/env/{id}/unlink/{projectId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/environmentUpdateCustomEnvironment.ts b/src/funcs/environmentUpdateCustomEnvironment.ts index 679dfda3ab..85eb33f224 100644 --- a/src/funcs/environmentUpdateCustomEnvironment.ts +++ b/src/funcs/environmentUpdateCustomEnvironment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v9/projects/{idOrName}/custom-environments/{environmentSlugOrId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsCreateFlag.ts b/src/funcs/featureFlagsCreateFlag.ts index fd8bffe6c6..ff700da3a6 100644 --- a/src/funcs/featureFlagsCreateFlag.ts +++ b/src/funcs/featureFlagsCreateFlag.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateFlagRequest, CreateFlagRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectIdOrName}/feature-flags/flags")( + const pathResult = encodePath( + "/v1/projects/{projectIdOrName}/feature-flags/flags", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsCreateFlagSegment.ts b/src/funcs/featureFlagsCreateFlagSegment.ts index c823caf1dd..e7bf8ec4a9 100644 --- a/src/funcs/featureFlagsCreateFlagSegment.ts +++ b/src/funcs/featureFlagsCreateFlagSegment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateFlagSegmentRequest, CreateFlagSegmentRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/segments", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsCreateFlagsProjectConnection.ts b/src/funcs/featureFlagsCreateFlagsProjectConnection.ts index 9064628478..7e7ef036d3 100644 --- a/src/funcs/featureFlagsCreateFlagsProjectConnection.ts +++ b/src/funcs/featureFlagsCreateFlagsProjectConnection.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateFlagsProjectConnectionRequest, CreateFlagsProjectConnectionRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/connections", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsCreateSDKKey.ts b/src/funcs/featureFlagsCreateSDKKey.ts index 06e571fbad..b130eb1331 100644 --- a/src/funcs/featureFlagsCreateSDKKey.ts +++ b/src/funcs/featureFlagsCreateSDKKey.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateSDKKeyRequest, CreateSDKKeyRequest$outboundSchema, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/sdk-keys", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsDeleteFlag.ts b/src/funcs/featureFlagsDeleteFlag.ts index 87f35bbd6b..9ed5cd37f8 100644 --- a/src/funcs/featureFlagsDeleteFlag.ts +++ b/src/funcs/featureFlagsDeleteFlag.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteFlagRequest, DeleteFlagRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ifMatch": payload.ifMatch, diff --git a/src/funcs/featureFlagsDeleteFlagSegment.ts b/src/funcs/featureFlagsDeleteFlagSegment.ts index 3e9af3f7b6..82a5c6763a 100644 --- a/src/funcs/featureFlagsDeleteFlagSegment.ts +++ b/src/funcs/featureFlagsDeleteFlagSegment.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteFlagSegmentRequest, DeleteFlagSegmentRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsDeleteFlagsProjectConnection.ts b/src/funcs/featureFlagsDeleteFlagsProjectConnection.ts index afb90f0464..5d671a61b6 100644 --- a/src/funcs/featureFlagsDeleteFlagsProjectConnection.ts +++ b/src/funcs/featureFlagsDeleteFlagsProjectConnection.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteFlagsProjectConnectionRequest, DeleteFlagsProjectConnectionRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/connections/{consumerProjectId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsDeleteSDKKey.ts b/src/funcs/featureFlagsDeleteSDKKey.ts index dcd6d7a9c0..1284473642 100644 --- a/src/funcs/featureFlagsDeleteSDKKey.ts +++ b/src/funcs/featureFlagsDeleteSDKKey.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteSDKKeyRequest, DeleteSDKKeyRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/sdk-keys/{hashKey}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsGetDeploymentFeatureFlags.ts b/src/funcs/featureFlagsGetDeploymentFeatureFlags.ts index 6cf0bdccc1..55e19bb233 100644 --- a/src/funcs/featureFlagsGetDeploymentFeatureFlags.ts +++ b/src/funcs/featureFlagsGetDeploymentFeatureFlags.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDeploymentFeatureFlagsRequest, GetDeploymentFeatureFlagsRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/deployments/{deploymentId}/feature-flags")( + const pathResult = encodePath( + "/v1/deployments/{deploymentId}/feature-flags", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsGetFlag.ts b/src/funcs/featureFlagsGetFlag.ts index 227437af05..2f4abad306 100644 --- a/src/funcs/featureFlagsGetFlag.ts +++ b/src/funcs/featureFlagsGetFlag.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { Flag, Flag$inboundSchema } from "../models/flag.js"; import { GetFlagRequest, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ifMatch": payload.ifMatch, diff --git a/src/funcs/featureFlagsGetFlagSegment.ts b/src/funcs/featureFlagsGetFlagSegment.ts index 3d88ff60e2..e76b5c39d3 100644 --- a/src/funcs/featureFlagsGetFlagSegment.ts +++ b/src/funcs/featureFlagsGetFlagSegment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetFlagSegmentRequest, GetFlagSegmentRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsGetFlagSettings.ts b/src/funcs/featureFlagsGetFlagSettings.ts index 73e0c7c50a..a81077d958 100644 --- a/src/funcs/featureFlagsGetFlagSettings.ts +++ b/src/funcs/featureFlagsGetFlagSettings.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetFlagSettingsRequest, GetFlagSettingsRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/settings", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsGetFlagsProjectConnections.ts b/src/funcs/featureFlagsGetFlagsProjectConnections.ts index 7cef0da4a5..9745884695 100644 --- a/src/funcs/featureFlagsGetFlagsProjectConnections.ts +++ b/src/funcs/featureFlagsGetFlagsProjectConnections.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetFlagsProjectConnectionsRequest, GetFlagsProjectConnectionsRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/connections", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "role": payload.role, diff --git a/src/funcs/featureFlagsGetSDKKeys.ts b/src/funcs/featureFlagsGetSDKKeys.ts index 12609cd073..2ef9f4f09f 100644 --- a/src/funcs/featureFlagsGetSDKKeys.ts +++ b/src/funcs/featureFlagsGetSDKKeys.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetSDKKeysRequest, GetSDKKeysRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/sdk-keys", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsListFlagLabelCounts.ts b/src/funcs/featureFlagsListFlagLabelCounts.ts index c59cf7654d..511f2e18bf 100644 --- a/src/funcs/featureFlagsListFlagLabelCounts.ts +++ b/src/funcs/featureFlagsListFlagLabelCounts.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/labels/counts", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/featureFlagsListFlagLabels.ts b/src/funcs/featureFlagsListFlagLabels.ts index 7fdb908783..ac450f09a6 100644 --- a/src/funcs/featureFlagsListFlagLabels.ts +++ b/src/funcs/featureFlagsListFlagLabels.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/labels", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "attributeKey": payload.attributeKey, diff --git a/src/funcs/featureFlagsListFlagSegments.ts b/src/funcs/featureFlagsListFlagSegments.ts index d8b1af80ff..1e744d962c 100644 --- a/src/funcs/featureFlagsListFlagSegments.ts +++ b/src/funcs/featureFlagsListFlagSegments.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/segments", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsListFlagVersions.ts b/src/funcs/featureFlagsListFlagVersions.ts index ae457aa46c..d981c92336 100644 --- a/src/funcs/featureFlagsListFlagVersions.ts +++ b/src/funcs/featureFlagsListFlagVersions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}/versions", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/featureFlagsListFlags.ts b/src/funcs/featureFlagsListFlags.ts index 6666340f31..05c5cb8b0d 100644 --- a/src/funcs/featureFlagsListFlags.ts +++ b/src/funcs/featureFlagsListFlags.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectIdOrName}/feature-flags/flags")( + const pathResult = encodePath( + "/v1/projects/{projectIdOrName}/feature-flags/flags", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/featureFlagsListFlagsV2.ts b/src/funcs/featureFlagsListFlagsV2.ts index f6a09c4840..a413345dfb 100644 --- a/src/funcs/featureFlagsListFlagsV2.ts +++ b/src/funcs/featureFlagsListFlagsV2.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/projects/{projectIdOrName}/feature-flags/flags")( + const pathResult = encodePath( + "/v2/projects/{projectIdOrName}/feature-flags/flags", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "createdBy": payload.createdBy, diff --git a/src/funcs/featureFlagsListTeamFlagSettings.ts b/src/funcs/featureFlagsListTeamFlagSettings.ts index 9688b37edc..b7e40c9c03 100644 --- a/src/funcs/featureFlagsListTeamFlagSettings.ts +++ b/src/funcs/featureFlagsListTeamFlagSettings.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/feature-flags/settings")( + const pathResult = encodePath( + "/v1/teams/{teamId}/feature-flags/settings", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/featureFlagsListTeamFlags.ts b/src/funcs/featureFlagsListTeamFlags.ts index 5ec6d7b543..6511212280 100644 --- a/src/funcs/featureFlagsListTeamFlags.ts +++ b/src/funcs/featureFlagsListTeamFlags.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/feature-flags/flags")(pathParams); + const pathResult = encodePath( + "/v1/teams/{teamId}/feature-flags/flags", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/featureFlagsListTeamFlagsV2.ts b/src/funcs/featureFlagsListTeamFlagsV2.ts index 3506e8f0e2..7f70ff107e 100644 --- a/src/funcs/featureFlagsListTeamFlagsV2.ts +++ b/src/funcs/featureFlagsListTeamFlagsV2.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/teams/{teamId}/feature-flags/flags")(pathParams); + const pathResult = encodePath( + "/v2/teams/{teamId}/feature-flags/flags", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "createdBy": payload.createdBy, diff --git a/src/funcs/featureFlagsLookupFlagLabels.ts b/src/funcs/featureFlagsLookupFlagLabels.ts index 4b941cb51b..eb27d9c13b 100644 --- a/src/funcs/featureFlagsLookupFlagLabels.ts +++ b/src/funcs/featureFlagsLookupFlagLabels.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/labels/lookup", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsSignFlagOverrides.ts b/src/funcs/featureFlagsSignFlagOverrides.ts new file mode 100644 index 0000000000..bde1da262c --- /dev/null +++ b/src/funcs/featureFlagsSignFlagOverrides.ts @@ -0,0 +1,187 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + SignFlagOverridesRequest, + SignFlagOverridesRequest$outboundSchema, + SignFlagOverridesResponseBody, + SignFlagOverridesResponseBody$inboundSchema, +} from "../models/signflagoverridesop.js"; +import { VercelError } from "../models/vercelerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Sign flag overrides + * + * @remarks + * Signs flag overrides for the `vercel-flag-overrides` cookie, which the Flags SDK accepts without a `FLAGS_SECRET`. The overrides apply to one environment of the project and of the projects that share its microfrontends groups. An access token requires permission to read the project and an `environment`. A Vercel OIDC token signs only for its own project and environment. + * + * If set, this operation will use {@link Security.bearerToken} from the global security. + */ +export function featureFlagsSignFlagOverrides( + client: VercelCore, + request: SignFlagOverridesRequest, + options?: RequestOptions, +): APIPromise< + Result< + SignFlagOverridesResponseBody, + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: SignFlagOverridesRequest, + options?: RequestOptions, +): Promise< + [ + Result< + SignFlagOverridesResponseBody, + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => SignFlagOverridesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + projectIdOrName: encodeSimple("projectIdOrName", payload.projectIdOrName, { + explode: false, + charEncoding: "percent", + }), + }; + const pathResult = encodePath( + "/v1/projects/{projectIdOrName}/feature-flags/overrides/sign", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput, [0]); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "signFlagOverrides", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const [result] = await M.match< + SignFlagOverridesResponseBody, + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, SignFlagOverridesResponseBody$inboundSchema), + M.fail([400, 401, 403, 404, 410, 413, "4XX"]), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/featureFlagsUpdateFlag.ts b/src/funcs/featureFlagsUpdateFlag.ts index 6a04e54519..3c767167f1 100644 --- a/src/funcs/featureFlagsUpdateFlag.ts +++ b/src/funcs/featureFlagsUpdateFlag.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "ifMatch": payload.ifMatch, diff --git a/src/funcs/featureFlagsUpdateFlagSegment.ts b/src/funcs/featureFlagsUpdateFlagSegment.ts index 0408f3ec73..82920a10f5 100644 --- a/src/funcs/featureFlagsUpdateFlagSegment.ts +++ b/src/funcs/featureFlagsUpdateFlagSegment.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/featureFlagsUpdateFlagSettings.ts b/src/funcs/featureFlagsUpdateFlagSettings.ts index c9be5aa752..b183bb16e6 100644 --- a/src/funcs/featureFlagsUpdateFlagSettings.ts +++ b/src/funcs/featureFlagsUpdateFlagSettings.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -100,9 +99,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectIdOrName}/feature-flags/settings", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/getDomainsRecordsByRecordId.ts b/src/funcs/getDomainsRecordsByRecordId.ts index f5041ad87c..e25a45ea6e 100644 --- a/src/funcs/getDomainsRecordsByRecordId.ts +++ b/src/funcs/getDomainsRecordsByRecordId.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetDomainsRecordsByRecordIdRequest, GetDomainsRecordsByRecordIdRequest$outboundSchema, @@ -90,7 +89,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/domains/records/{recordId}")(pathParams); + const pathResult = encodePath("/domains/records/{recordId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/getObservabilitySchemaByMetricId.ts b/src/funcs/getObservabilitySchemaByMetricId.ts index fb82beebd2..7e697008e7 100644 --- a/src/funcs/getObservabilitySchemaByMetricId.ts +++ b/src/funcs/getObservabilitySchemaByMetricId.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetObservabilitySchemaByMetricIdRequest, GetObservabilitySchemaByMetricIdRequest$outboundSchema, @@ -92,7 +91,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/observability/schema/{metricId}")(pathParams); + const pathResult = encodePath( + "/v2/observability/schema/{metricId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/globalConfigCreateEdgeConfigToken.ts b/src/funcs/globalConfigCreateEdgeConfigToken.ts index b81bc52c1f..f06acfe9bd 100644 --- a/src/funcs/globalConfigCreateEdgeConfigToken.ts +++ b/src/funcs/globalConfigCreateEdgeConfigToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateEdgeConfigTokenRequest, CreateEdgeConfigTokenRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/token")(pathParams); + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/token", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigDeleteEdgeConfig.ts b/src/funcs/globalConfigDeleteEdgeConfig.ts index d13f2c7c9e..04c8409e6c 100644 --- a/src/funcs/globalConfigDeleteEdgeConfig.ts +++ b/src/funcs/globalConfigDeleteEdgeConfig.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteEdgeConfigRequest, DeleteEdgeConfigRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}")(pathParams); + const pathResult = encodePath("/v1/global-config/{edgeConfigId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigDeleteEdgeConfigSchema.ts b/src/funcs/globalConfigDeleteEdgeConfigSchema.ts index 2a06e8c774..42dc6b2771 100644 --- a/src/funcs/globalConfigDeleteEdgeConfigSchema.ts +++ b/src/funcs/globalConfigDeleteEdgeConfigSchema.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteEdgeConfigSchemaRequest, DeleteEdgeConfigSchemaRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/schema")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/schema", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigDeleteEdgeConfigTokens.ts b/src/funcs/globalConfigDeleteEdgeConfigTokens.ts index 044f0ad7dc..63e29765a4 100644 --- a/src/funcs/globalConfigDeleteEdgeConfigTokens.ts +++ b/src/funcs/globalConfigDeleteEdgeConfigTokens.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteEdgeConfigTokensRequest, DeleteEdgeConfigTokensRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/tokens")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/tokens", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfig.ts b/src/funcs/globalConfigGetEdgeConfig.ts index 5ef39d6146..c32d235e58 100644 --- a/src/funcs/globalConfigGetEdgeConfig.ts +++ b/src/funcs/globalConfigGetEdgeConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigRequest, GetEdgeConfigRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}")(pathParams); + const pathResult = encodePath("/v1/global-config/{edgeConfigId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigBackup.ts b/src/funcs/globalConfigGetEdgeConfigBackup.ts index df9441eca8..cc522110b2 100644 --- a/src/funcs/globalConfigGetEdgeConfigBackup.ts +++ b/src/funcs/globalConfigGetEdgeConfigBackup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigBackupRequest, GetEdgeConfigBackupRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigBackups.ts b/src/funcs/globalConfigGetEdgeConfigBackups.ts index 99a0519f1a..c0c06cc0f1 100644 --- a/src/funcs/globalConfigGetEdgeConfigBackups.ts +++ b/src/funcs/globalConfigGetEdgeConfigBackups.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigBackupsRequest, GetEdgeConfigBackupsRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/backups")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/backups", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/globalConfigGetEdgeConfigItem.ts b/src/funcs/globalConfigGetEdgeConfigItem.ts index 2db010a32e..55c52a31ac 100644 --- a/src/funcs/globalConfigGetEdgeConfigItem.ts +++ b/src/funcs/globalConfigGetEdgeConfigItem.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigItemRequest, GetEdgeConfigItemRequest$outboundSchema, @@ -107,9 +106,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/global-config/{edgeConfigId}/item/{edgeConfigItemKey}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigItems.ts b/src/funcs/globalConfigGetEdgeConfigItems.ts index e6908aed0a..b51567d6a7 100644 --- a/src/funcs/globalConfigGetEdgeConfigItems.ts +++ b/src/funcs/globalConfigGetEdgeConfigItems.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigItemsRequest, GetEdgeConfigItemsRequest$outboundSchema, @@ -102,7 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/items")(pathParams); + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/items", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigSchema.ts b/src/funcs/globalConfigGetEdgeConfigSchema.ts index b3d19b8629..1a7adaf079 100644 --- a/src/funcs/globalConfigGetEdgeConfigSchema.ts +++ b/src/funcs/globalConfigGetEdgeConfigSchema.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigSchemaRequest, GetEdgeConfigSchemaRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/schema")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/schema", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigToken.ts b/src/funcs/globalConfigGetEdgeConfigToken.ts index 4d9ea1503e..45d18cb203 100644 --- a/src/funcs/globalConfigGetEdgeConfigToken.ts +++ b/src/funcs/globalConfigGetEdgeConfigToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigTokenRequest, GetEdgeConfigTokenRequest$outboundSchema, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/token/{token}")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/token/{token}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigGetEdgeConfigTokens.ts b/src/funcs/globalConfigGetEdgeConfigTokens.ts index 3e4461ac7b..ed502e79c9 100644 --- a/src/funcs/globalConfigGetEdgeConfigTokens.ts +++ b/src/funcs/globalConfigGetEdgeConfigTokens.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetEdgeConfigTokensRequest, GetEdgeConfigTokensRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/tokens")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/tokens", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigPatchEdgeConfigItems.ts b/src/funcs/globalConfigPatchEdgeConfigItems.ts index d9899e589d..145a74d54c 100644 --- a/src/funcs/globalConfigPatchEdgeConfigItems.ts +++ b/src/funcs/globalConfigPatchEdgeConfigItems.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/items")(pathParams); + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/items", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigPatchEdgeConfigSchema.ts b/src/funcs/globalConfigPatchEdgeConfigSchema.ts index dd2f7893cf..73636946c2 100644 --- a/src/funcs/globalConfigPatchEdgeConfigSchema.ts +++ b/src/funcs/globalConfigPatchEdgeConfigSchema.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}/schema")( + const pathResult = encodePath( + "/v1/global-config/{edgeConfigId}/schema", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "dryRun": payload.dryRun, diff --git a/src/funcs/globalConfigRestoreEdgeConfigBackup.ts b/src/funcs/globalConfigRestoreEdgeConfigBackup.ts index 1bc121c864..203f35e684 100644 --- a/src/funcs/globalConfigRestoreEdgeConfigBackup.ts +++ b/src/funcs/globalConfigRestoreEdgeConfigBackup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/global-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}/restore", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/globalConfigUpdateEdgeConfig.ts b/src/funcs/globalConfigUpdateEdgeConfig.ts index 4ee45540b6..c7ab4188c6 100644 --- a/src/funcs/globalConfigUpdateEdgeConfig.ts +++ b/src/funcs/globalConfigUpdateEdgeConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/global-config/{edgeConfigId}")(pathParams); + const pathResult = encodePath("/v1/global-config/{edgeConfigId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/integrationsConnectIntegrationResourceToProject.ts b/src/funcs/integrationsConnectIntegrationResourceToProject.ts index 5fd868b5b5..c91e946c64 100644 --- a/src/funcs/integrationsConnectIntegrationResourceToProject.ts +++ b/src/funcs/integrationsConnectIntegrationResourceToProject.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectIntegrationResourceToProjectRequest, ConnectIntegrationResourceToProjectRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/integrations/installations/{integrationConfigurationId}/resources/{resourceId}/connections", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/integrationsDeleteConfiguration.ts b/src/funcs/integrationsDeleteConfiguration.ts index 6ac439c9cd..74582a9559 100644 --- a/src/funcs/integrationsDeleteConfiguration.ts +++ b/src/funcs/integrationsDeleteConfiguration.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteConfigurationRequest, DeleteConfigurationRequest$outboundSchema, @@ -98,7 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/integrations/configuration/{id}")(pathParams); + const pathResult = encodePath( + "/v1/integrations/configuration/{id}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/integrationsGetBillingPlans.ts b/src/funcs/integrationsGetBillingPlans.ts index bfef77f951..4ea585a280 100644 --- a/src/funcs/integrationsGetBillingPlans.ts +++ b/src/funcs/integrationsGetBillingPlans.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetBillingPlansRequest, GetBillingPlansRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "integrationConfigurationId": payload.integrationConfigurationId, diff --git a/src/funcs/integrationsGetConfiguration.ts b/src/funcs/integrationsGetConfiguration.ts index da97808e97..6080a3b1ba 100644 --- a/src/funcs/integrationsGetConfiguration.ts +++ b/src/funcs/integrationsGetConfiguration.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetConfigurationRequest, GetConfigurationRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/integrations/configuration/{id}")(pathParams); + const pathResult = encodePath( + "/v1/integrations/configuration/{id}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/integrationsGetConfigurationProducts.ts b/src/funcs/integrationsGetConfigurationProducts.ts index aa0618fbfd..c9e2070b51 100644 --- a/src/funcs/integrationsGetConfigurationProducts.ts +++ b/src/funcs/integrationsGetConfigurationProducts.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetConfigurationProductsResponseBody, GetConfigurationProductsResponseBody$inboundSchema, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/integrations/configuration/{id}/products")( + const pathResult = encodePath( + "/v1/integrations/configuration/{id}/products", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsActivateKmsSigningKey.ts b/src/funcs/kmsActivateKmsSigningKey.ts index 484227a378..97af8c1bb0 100644 --- a/src/funcs/kmsActivateKmsSigningKey.ts +++ b/src/funcs/kmsActivateKmsSigningKey.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ActivateKmsSigningKeyRequest, ActivateKmsSigningKeyRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/keys/{keyId}/activate")( + const pathResult = encodePath( + "/v1/kms/issuers/{issuerId}/keys/{keyId}/activate", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsCreateKmsIssuerPolicy.ts b/src/funcs/kmsCreateKmsIssuerPolicy.ts index 7e5b7b6c8f..24179be63c 100644 --- a/src/funcs/kmsCreateKmsIssuerPolicy.ts +++ b/src/funcs/kmsCreateKmsIssuerPolicy.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateKmsIssuerPolicyRequest, CreateKmsIssuerPolicyRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/policies")(pathParams); + const pathResult = encodePath( + "/v1/kms/issuers/{issuerId}/policies", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsCreateKmsSigningKey.ts b/src/funcs/kmsCreateKmsSigningKey.ts index c68e76192d..f74cf0e499 100644 --- a/src/funcs/kmsCreateKmsSigningKey.ts +++ b/src/funcs/kmsCreateKmsSigningKey.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateKmsSigningKeyRequest, CreateKmsSigningKeyRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/keys")(pathParams); + const pathResult = encodePath("/v1/kms/issuers/{issuerId}/keys", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsDeleteKmsIssuer.ts b/src/funcs/kmsDeleteKmsIssuer.ts index 4ab7b496cc..5d76380ee5 100644 --- a/src/funcs/kmsDeleteKmsIssuer.ts +++ b/src/funcs/kmsDeleteKmsIssuer.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteKmsIssuerRequest, DeleteKmsIssuerRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}")(pathParams); + const pathResult = encodePath("/v1/kms/issuers/{issuerId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsDeleteKmsIssuerPolicy.ts b/src/funcs/kmsDeleteKmsIssuerPolicy.ts index 77395d94f7..a7426a026c 100644 --- a/src/funcs/kmsDeleteKmsIssuerPolicy.ts +++ b/src/funcs/kmsDeleteKmsIssuerPolicy.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteKmsIssuerPolicyRequest, DeleteKmsIssuerPolicyRequest$outboundSchema, @@ -106,9 +105,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsGetKmsIssuer.ts b/src/funcs/kmsGetKmsIssuer.ts index 93cafd7117..41931cc6f8 100644 --- a/src/funcs/kmsGetKmsIssuer.ts +++ b/src/funcs/kmsGetKmsIssuer.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetKmsIssuerRequest, GetKmsIssuerRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}")(pathParams); + const pathResult = encodePath("/v1/kms/issuers/{issuerId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsRevokeKmsSigningKey.ts b/src/funcs/kmsRevokeKmsSigningKey.ts index 2adc3db2e8..8bc0b65614 100644 --- a/src/funcs/kmsRevokeKmsSigningKey.ts +++ b/src/funcs/kmsRevokeKmsSigningKey.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/keys/{keyId}/revoke")( + const pathResult = encodePath( + "/v1/kms/issuers/{issuerId}/keys/{keyId}/revoke", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsSignKmsMessage.ts b/src/funcs/kmsSignKmsMessage.ts index 76aae1aca1..0ccec660f5 100644 --- a/src/funcs/kmsSignKmsMessage.ts +++ b/src/funcs/kmsSignKmsMessage.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/sign/message")( + const pathResult = encodePath( + "/v1/kms/issuers/{issuerId}/sign/message", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/kmsSignKmsToken.ts b/src/funcs/kmsSignKmsToken.ts index 3f7348bf87..45bc7703d0 100644 --- a/src/funcs/kmsSignKmsToken.ts +++ b/src/funcs/kmsSignKmsToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}/sign/token")(pathParams); + const pathResult = encodePath( + "/v1/kms/issuers/{issuerId}/sign/token", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/kmsUpdateKmsIssuer.ts b/src/funcs/kmsUpdateKmsIssuer.ts index 27a2f29110..57c77b78ae 100644 --- a/src/funcs/kmsUpdateKmsIssuer.ts +++ b/src/funcs/kmsUpdateKmsIssuer.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/kms/issuers/{issuerId}")(pathParams); + const pathResult = encodePath("/v1/kms/issuers/{issuerId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/kmsUpdateKmsIssuerPolicy.ts b/src/funcs/kmsUpdateKmsIssuerPolicy.ts index 6dd1e10ad6..a6d076aef7 100644 --- a/src/funcs/kmsUpdateKmsIssuerPolicy.ts +++ b/src/funcs/kmsUpdateKmsIssuerPolicy.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -107,9 +106,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/logDrainsDeleteConfigurableLogDrain.ts b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts index bf4f9bcc94..1b31bf4821 100644 --- a/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +++ b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteConfigurableLogDrainRequest, DeleteConfigurableLogDrainRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/log-drains/{id}")(pathParams); + const pathResult = encodePath("/v1/log-drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, @@ -168,7 +171,7 @@ async function $do( | SDKValidationError >( M.nil(204, z.void()), - M.fail([400, 401, 403, 404, 410, "4XX"]), + M.fail([400, 401, 403, 404, 409, 410, "4XX"]), M.fail("5XX"), )(response, req); if (!result.ok) { diff --git a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts index 82f4d638d9..ed2d360af1 100644 --- a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +++ b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteIntegrationLogDrainRequest, DeleteIntegrationLogDrainRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/integrations/log-drains/{id}")(pathParams); + const pathResult = encodePath("/v1/integrations/log-drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/logDrainsGetConfigurableLogDrain.ts b/src/funcs/logDrainsGetConfigurableLogDrain.ts index 19d3cc2348..e43c63f649 100644 --- a/src/funcs/logDrainsGetConfigurableLogDrain.ts +++ b/src/funcs/logDrainsGetConfigurableLogDrain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetConfigurableLogDrainRequest, GetConfigurableLogDrainRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/log-drains/{id}")(pathParams); + const pathResult = encodePath("/v1/log-drains/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/logsGetRuntimeLogs.ts b/src/funcs/logsGetRuntimeLogs.ts index a6eb2db4d4..ac3a908ec4 100644 --- a/src/funcs/logsGetRuntimeLogs.ts +++ b/src/funcs/logsGetRuntimeLogs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRuntimeLogsRequest, GetRuntimeLogsRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/marketplaceCreateEvent.ts b/src/funcs/marketplaceCreateEvent.ts index fe72da180e..4bbfbd5678 100644 --- a/src/funcs/marketplaceCreateEvent.ts +++ b/src/funcs/marketplaceCreateEvent.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateEventRequest, CreateEventRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/events", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts index 9623246b64..605a8d8d62 100644 --- a/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest$outboundSchema, @@ -107,9 +106,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts index bf866b876a..cbc9927de9 100644 --- a/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/marketplaceDeleteIntegrationResource.ts b/src/funcs/marketplaceDeleteIntegrationResource.ts index 3095ebb577..78cf3ca6a8 100644 --- a/src/funcs/marketplaceDeleteIntegrationResource.ts +++ b/src/funcs/marketplaceDeleteIntegrationResource.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteIntegrationResourceRequest, DeleteIntegrationResourceRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/marketplaceFinalizeInstallation.ts b/src/funcs/marketplaceFinalizeInstallation.ts index b8781ece8d..6ef783ef22 100644 --- a/src/funcs/marketplaceFinalizeInstallation.ts +++ b/src/funcs/marketplaceFinalizeInstallation.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { FinalizeInstallationRequest, FinalizeInstallationRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing/finalize", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/marketplaceGetAccountInfo.ts b/src/funcs/marketplaceGetAccountInfo.ts index 8755fb914c..ce2d714d77 100644 --- a/src/funcs/marketplaceGetAccountInfo.ts +++ b/src/funcs/marketplaceGetAccountInfo.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetAccountInfoRequest, GetAccountInfoRequest$outboundSchema, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/account", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts b/src/funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts index 318a2151b6..a8c5fc9b26 100644 --- a/src/funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts +++ b/src/funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceGetIntegrationResource.ts b/src/funcs/marketplaceGetIntegrationResource.ts index 2d42a3f5bf..7ab6b6120e 100644 --- a/src/funcs/marketplaceGetIntegrationResource.ts +++ b/src/funcs/marketplaceGetIntegrationResource.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetIntegrationResourceRequest, GetIntegrationResourceRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceGetIntegrationResources.ts b/src/funcs/marketplaceGetIntegrationResources.ts index f374b23575..585ed41547 100644 --- a/src/funcs/marketplaceGetIntegrationResources.ts +++ b/src/funcs/marketplaceGetIntegrationResources.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetIntegrationResourcesRequest, GetIntegrationResourcesRequest$outboundSchema, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceGetInvoice.ts b/src/funcs/marketplaceGetInvoice.ts index 96417e6cf5..31c5da5949 100644 --- a/src/funcs/marketplaceGetInvoice.ts +++ b/src/funcs/marketplaceGetInvoice.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetInvoiceRequest, GetInvoiceRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceGetMember.ts b/src/funcs/marketplaceGetMember.ts index dd150c8ee5..75b5ad5e3e 100644 --- a/src/funcs/marketplaceGetMember.ts +++ b/src/funcs/marketplaceGetMember.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetMemberRequest, GetMemberRequest$outboundSchema, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/member/{memberId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts b/src/funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts index 0432db9b37..f38d2b7ce8 100644 --- a/src/funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts +++ b/src/funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/marketplaceImportResource.ts b/src/funcs/marketplaceImportResource.ts index 8eedcb289f..2d7e2d6f38 100644 --- a/src/funcs/marketplaceImportResource.ts +++ b/src/funcs/marketplaceImportResource.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts b/src/funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts index 4db9ba6fab..58dd897956 100644 --- a/src/funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts +++ b/src/funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -108,9 +107,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceRevokeInstallationCredential.ts b/src/funcs/marketplaceRevokeInstallationCredential.ts index 21d0ddeba8..9f1ac1326f 100644 --- a/src/funcs/marketplaceRevokeInstallationCredential.ts +++ b/src/funcs/marketplaceRevokeInstallationCredential.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/credentials/revoke", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceRotateInstallationCredential.ts b/src/funcs/marketplaceRotateInstallationCredential.ts index 4ce6a1ab70..5586e4dec9 100644 --- a/src/funcs/marketplaceRotateInstallationCredential.ts +++ b/src/funcs/marketplaceRotateInstallationCredential.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/credentials/rotate", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceSubmitBillingData.ts b/src/funcs/marketplaceSubmitBillingData.ts index 6bb9989953..b62deb3972 100644 --- a/src/funcs/marketplaceSubmitBillingData.ts +++ b/src/funcs/marketplaceSubmitBillingData.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceSubmitInvoice.ts b/src/funcs/marketplaceSubmitInvoice.ts index adc056f2d0..f2c0e73249 100644 --- a/src/funcs/marketplaceSubmitInvoice.ts +++ b/src/funcs/marketplaceSubmitInvoice.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -100,9 +99,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing/invoices", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceSubmitPrepaymentBalances.ts b/src/funcs/marketplaceSubmitPrepaymentBalances.ts index a97136d395..72053145ef 100644 --- a/src/funcs/marketplaceSubmitPrepaymentBalances.ts +++ b/src/funcs/marketplaceSubmitPrepaymentBalances.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing/balance", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateInstallation.ts b/src/funcs/marketplaceUpdateInstallation.ts index ef0e02c031..edca897d7e 100644 --- a/src/funcs/marketplaceUpdateInstallation.ts +++ b/src/funcs/marketplaceUpdateInstallation.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( { explode: false, charEncoding: "percent" }, ), }; - const path = pathToFunc("/v1/installations/{integrationConfigurationId}")( + const pathResult = encodePath( + "/v1/installations/{integrationConfigurationId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts index ef8fc25285..b13ad38678 100644 --- a/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateInvoice.ts b/src/funcs/marketplaceUpdateInvoice.ts index 1e8e85ad38..25770720a6 100644 --- a/src/funcs/marketplaceUpdateInvoice.ts +++ b/src/funcs/marketplaceUpdateInvoice.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateResource.ts b/src/funcs/marketplaceUpdateResource.ts index a7bf7daa84..0e3b6680f5 100644 --- a/src/funcs/marketplaceUpdateResource.ts +++ b/src/funcs/marketplaceUpdateResource.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -104,9 +103,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateResourceSecrets.ts b/src/funcs/marketplaceUpdateResourceSecrets.ts index dc481ee6bd..a5a6a89b58 100644 --- a/src/funcs/marketplaceUpdateResourceSecrets.ts +++ b/src/funcs/marketplaceUpdateResourceSecrets.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -110,9 +109,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/marketplaceUpdateResourceSecretsById.ts b/src/funcs/marketplaceUpdateResourceSecretsById.ts index e4f27bbd29..732ad37278 100644 --- a/src/funcs/marketplaceUpdateResourceSecretsById.ts +++ b/src/funcs/marketplaceUpdateResourceSecretsById.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/secrets", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/microfrontendsGetMicrofrontendsConfig.ts b/src/funcs/microfrontendsGetMicrofrontendsConfig.ts index 5f85d6c566..4519a9ce92 100644 --- a/src/funcs/microfrontendsGetMicrofrontendsConfig.ts +++ b/src/funcs/microfrontendsGetMicrofrontendsConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetMicrofrontendsConfigRequest, GetMicrofrontendsConfigRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/microfrontends/{deploymentId}/config")( + const pathResult = encodePath( + "/v1/microfrontends/{deploymentId}/config", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/microfrontendsGetMicrofrontendsConfigForProject.ts b/src/funcs/microfrontendsGetMicrofrontendsConfigForProject.ts index 61e538301c..d3d04c0a58 100644 --- a/src/funcs/microfrontendsGetMicrofrontendsConfigForProject.ts +++ b/src/funcs/microfrontendsGetMicrofrontendsConfigForProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetMicrofrontendsConfigForProjectRequest, GetMicrofrontendsConfigForProjectRequest$outboundSchema, @@ -100,9 +99,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/microfrontends/projects/{projectIdOrName}/production-mfe-config", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/microfrontendsGetMicrofrontendsInGroup.ts b/src/funcs/microfrontendsGetMicrofrontendsInGroup.ts index 24711849c0..23ecb975a3 100644 --- a/src/funcs/microfrontendsGetMicrofrontendsInGroup.ts +++ b/src/funcs/microfrontendsGetMicrofrontendsInGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetMicrofrontendsInGroupRequest, GetMicrofrontendsInGroupRequest$outboundSchema, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/microfrontends/groups/{groupId}/projects")( + const pathResult = encodePath( + "/v1/microfrontends/groups/{groupId}/projects", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/networkingDeleteNetwork.ts b/src/funcs/networkingDeleteNetwork.ts index 2d66accc39..25e6712711 100644 --- a/src/funcs/networkingDeleteNetwork.ts +++ b/src/funcs/networkingDeleteNetwork.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteNetworkRequest, DeleteNetworkRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/networks/{networkId}")(pathParams); + const pathResult = encodePath("/v1/connect/networks/{networkId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/networkingDeletePrivateLinkEndpoint.ts b/src/funcs/networkingDeletePrivateLinkEndpoint.ts index ea4f9d4197..ea32fd3a4d 100644 --- a/src/funcs/networkingDeletePrivateLinkEndpoint.ts +++ b/src/funcs/networkingDeletePrivateLinkEndpoint.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeletePrivateLinkEndpointRequest, DeletePrivateLinkEndpointRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/networking/privatelink/endpoints/{endpointId}")( + const pathResult = encodePath( + "/v1/networking/privatelink/endpoints/{endpointId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/networkingReadNetwork.ts b/src/funcs/networkingReadNetwork.ts index c53a841b15..d9a188bab1 100644 --- a/src/funcs/networkingReadNetwork.ts +++ b/src/funcs/networkingReadNetwork.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/networks/{networkId}")(pathParams); + const pathResult = encodePath("/v1/connect/networks/{networkId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/networkingReadPrivateLinkEndpoint.ts b/src/funcs/networkingReadPrivateLinkEndpoint.ts index 80a0a8bdb0..b2cef6350b 100644 --- a/src/funcs/networkingReadPrivateLinkEndpoint.ts +++ b/src/funcs/networkingReadPrivateLinkEndpoint.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/networking/privatelink/endpoints/{endpointId}")( + const pathResult = encodePath( + "/v1/networking/privatelink/endpoints/{endpointId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/networkingUpdateNetwork.ts b/src/funcs/networkingUpdateNetwork.ts index b97367ed09..65b16db33e 100644 --- a/src/funcs/networkingUpdateNetwork.ts +++ b/src/funcs/networkingUpdateNetwork.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/connect/networks/{networkId}")(pathParams); + const pathResult = encodePath("/v1/connect/networks/{networkId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/networkingUpdatePrivateLinkEndpoint.ts b/src/funcs/networkingUpdatePrivateLinkEndpoint.ts index 046a8dee83..6a43a1bfce 100644 --- a/src/funcs/networkingUpdatePrivateLinkEndpoint.ts +++ b/src/funcs/networkingUpdatePrivateLinkEndpoint.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/networking/privatelink/endpoints/{endpointId}")( + const pathResult = encodePath( + "/v1/networking/privatelink/endpoints/{endpointId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/networkingUpdateStaticIps.ts b/src/funcs/networkingUpdateStaticIps.ts index 59800ff7ac..d10d185397 100644 --- a/src/funcs/networkingUpdateStaticIps.ts +++ b/src/funcs/networkingUpdateStaticIps.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -100,9 +99,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/shared-connect-links")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/shared-connect-links", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/observabilityUpdateObservabilityConfigurationProject.ts b/src/funcs/observabilityUpdateObservabilityConfigurationProject.ts index 4041953c82..07f73dc64d 100644 --- a/src/funcs/observabilityUpdateObservabilityConfigurationProject.ts +++ b/src/funcs/observabilityUpdateObservabilityConfigurationProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/observability/manage/configuration/projects/{projectIdOrName}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsDeleteOrganizationDsyncGroup.ts b/src/funcs/organizationsDeleteOrganizationDsyncGroup.ts index 32a523e235..7fab384300 100644 --- a/src/funcs/organizationsDeleteOrganizationDsyncGroup.ts +++ b/src/funcs/organizationsDeleteOrganizationDsyncGroup.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteOrganizationDsyncGroupRequest, DeleteOrganizationDsyncGroupRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/organizations/{organizationId}/dsync/groups/{groupId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsGetOrganization.ts b/src/funcs/organizationsGetOrganization.ts index 1d90c7accc..8558dbfce0 100644 --- a/src/funcs/organizationsGetOrganization.ts +++ b/src/funcs/organizationsGetOrganization.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetOrganizationRequest, GetOrganizationRequest$outboundSchema, @@ -101,7 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/organizations/{organizationId}")(pathParams); + const pathResult = encodePath( + "/v1/organizations/{organizationId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsGetOrganizationDsyncGroup.ts b/src/funcs/organizationsGetOrganizationDsyncGroup.ts index 46d48fd8f2..5c38ba5bd3 100644 --- a/src/funcs/organizationsGetOrganizationDsyncGroup.ts +++ b/src/funcs/organizationsGetOrganizationDsyncGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetOrganizationDsyncGroupRequest, GetOrganizationDsyncGroupRequest$outboundSchema, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/organizations/{organizationId}/dsync/groups/{groupId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsListOrganizationDsyncGroups.ts b/src/funcs/organizationsListOrganizationDsyncGroups.ts index 4912b91621..e369a134c6 100644 --- a/src/funcs/organizationsListOrganizationDsyncGroups.ts +++ b/src/funcs/organizationsListOrganizationDsyncGroups.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/organizations/{organizationId}/dsync/groups")( + const pathResult = encodePath( + "/v1/organizations/{organizationId}/dsync/groups", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/organizationsListOrganizationTeams.ts b/src/funcs/organizationsListOrganizationTeams.ts index 5cbf44fff9..86e594668f 100644 --- a/src/funcs/organizationsListOrganizationTeams.ts +++ b/src/funcs/organizationsListOrganizationTeams.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/organizations/{organizationId}/teams")( + const pathResult = encodePath( + "/v1/organizations/{organizationId}/teams", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/organizationsPutOrganizationDsyncGroup.ts b/src/funcs/organizationsPutOrganizationDsyncGroup.ts index 2416c4a528..cab3771ac3 100644 --- a/src/funcs/organizationsPutOrganizationDsyncGroup.ts +++ b/src/funcs/organizationsPutOrganizationDsyncGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/organizations/{organizationId}/dsync/groups/{groupId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsPutOrganizationTeamDsync.ts b/src/funcs/organizationsPutOrganizationTeamDsync.ts index 2350c30fcc..199a6717a6 100644 --- a/src/funcs/organizationsPutOrganizationTeamDsync.ts +++ b/src/funcs/organizationsPutOrganizationTeamDsync.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/organizations/{organizationId}/teams/{targetTeamId}/dsync", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/organizationsRemoveOrganizationTeam.ts b/src/funcs/organizationsRemoveOrganizationTeam.ts index a7b806a7be..8f59f7ce69 100644 --- a/src/funcs/organizationsRemoveOrganizationTeam.ts +++ b/src/funcs/organizationsRemoveOrganizationTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/organizations/{organizationId}/teams/{targetTeamId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/organizationsUpdateOrganization.ts b/src/funcs/organizationsUpdateOrganization.ts index 52a5a67800..0495849d36 100644 --- a/src/funcs/organizationsUpdateOrganization.ts +++ b/src/funcs/organizationsUpdateOrganization.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,7 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/organizations/{organizationId}")(pathParams); + const pathResult = encodePath( + "/v1/organizations/{organizationId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/projectMembersAddProjectMember.ts b/src/funcs/projectMembersAddProjectMember.ts index 3fd4f9af22..bb4baa2b08 100644 --- a/src/funcs/projectMembersAddProjectMember.ts +++ b/src/funcs/projectMembersAddProjectMember.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AddProjectMemberRequest, AddProjectMemberRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/members")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/members", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectMembersGetProjectMembers.ts b/src/funcs/projectMembersGetProjectMembers.ts index 201df31ba4..9b197aece3 100644 --- a/src/funcs/projectMembersGetProjectMembers.ts +++ b/src/funcs/projectMembersGetProjectMembers.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectMembersRequest, GetProjectMembersRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/members")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/members", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "limit": payload.limit, diff --git a/src/funcs/projectMembersRemoveProjectMember.ts b/src/funcs/projectMembersRemoveProjectMember.ts index 82e0f719b6..749cf9fc1d 100644 --- a/src/funcs/projectMembersRemoveProjectMember.ts +++ b/src/funcs/projectMembersRemoveProjectMember.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/members/{uid}")(pathParams); + const pathResult = encodePath( + "/v1/projects/{idOrName}/members/{uid}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesAddRoute.ts b/src/funcs/projectRoutesAddRoute.ts index 5e02d5f62b..d7a82e122e 100644 --- a/src/funcs/projectRoutesAddRoute.ts +++ b/src/funcs/projectRoutesAddRoute.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AddRouteRequest, AddRouteRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/routes", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesDeleteRoutes.ts b/src/funcs/projectRoutesDeleteRoutes.ts index 59df480097..0e993b5744 100644 --- a/src/funcs/projectRoutesDeleteRoutes.ts +++ b/src/funcs/projectRoutesDeleteRoutes.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteRoutesRequest, DeleteRoutesRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/routes", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesEditRoute.ts b/src/funcs/projectRoutesEditRoute.ts index 3da22f31b7..9aa63babb8 100644 --- a/src/funcs/projectRoutesEditRoute.ts +++ b/src/funcs/projectRoutesEditRoute.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { EditRouteRequest, EditRouteRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes/{routeId}")( + const pathResult = encodePath( + "/v1/projects/{projectId}/routes/{routeId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesGenerateRoute.ts b/src/funcs/projectRoutesGenerateRoute.ts index 60a58e87f7..f0c26d00df 100644 --- a/src/funcs/projectRoutesGenerateRoute.ts +++ b/src/funcs/projectRoutesGenerateRoute.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GenerateRouteRequest, GenerateRouteRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes/generate")( + const pathResult = encodePath( + "/v1/projects/{projectId}/routes/generate", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesGetRouteVersions.ts b/src/funcs/projectRoutesGetRouteVersions.ts index 3187d01a50..43274d5d9d 100644 --- a/src/funcs/projectRoutesGetRouteVersions.ts +++ b/src/funcs/projectRoutesGetRouteVersions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRouteVersionsRequest, GetRouteVersionsRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes/versions")( + const pathResult = encodePath( + "/v1/projects/{projectId}/routes/versions", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesGetRoutes.ts b/src/funcs/projectRoutesGetRoutes.ts index 2ecd61a861..3258f71443 100644 --- a/src/funcs/projectRoutesGetRoutes.ts +++ b/src/funcs/projectRoutesGetRoutes.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRoutesRequest, GetRoutesRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/routes", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "diff": payload.diff, diff --git a/src/funcs/projectRoutesStageRoutes.ts b/src/funcs/projectRoutesStageRoutes.ts index c1e4312aad..9f07ed3d86 100644 --- a/src/funcs/projectRoutesStageRoutes.ts +++ b/src/funcs/projectRoutesStageRoutes.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/routes", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectRoutesUpdateRouteVersions.ts b/src/funcs/projectRoutesUpdateRouteVersions.ts index 02f1e7bd9f..ea0b163a01 100644 --- a/src/funcs/projectRoutesUpdateRouteVersions.ts +++ b/src/funcs/projectRoutesUpdateRouteVersions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/routes/versions")( + const pathResult = encodePath( + "/v1/projects/{projectId}/routes/versions", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsAcceptProjectTransferRequest.ts b/src/funcs/projectsAcceptProjectTransferRequest.ts index c9b3bdc9b6..09a5dd1ee5 100644 --- a/src/funcs/projectsAcceptProjectTransferRequest.ts +++ b/src/funcs/projectsAcceptProjectTransferRequest.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AcceptProjectTransferRequestRequest, AcceptProjectTransferRequestRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/projects/transfer-request/{code}")(pathParams); + const pathResult = encodePath( + "/projects/transfer-request/{code}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsAddProjectDomain.ts b/src/funcs/projectsAddProjectDomain.ts index 10ceb5c4a6..2233384b32 100644 --- a/src/funcs/projectsAddProjectDomain.ts +++ b/src/funcs/projectsAddProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AddProjectDomainRequest, AddProjectDomainRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v10/projects/{idOrName}/domains")(pathParams); + const pathResult = encodePath("/v10/projects/{idOrName}/domains", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsBatchRemoveProjectEnv.ts b/src/funcs/projectsBatchRemoveProjectEnv.ts index 68ed4b03a7..5c15337e26 100644 --- a/src/funcs/projectsBatchRemoveProjectEnv.ts +++ b/src/funcs/projectsBatchRemoveProjectEnv.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { BatchRemoveProjectEnvRequest, BatchRemoveProjectEnvRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/env")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/env", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsCreateProjectEnv.ts b/src/funcs/projectsCreateProjectEnv.ts index 5b9217832b..92570d9a25 100644 --- a/src/funcs/projectsCreateProjectEnv.ts +++ b/src/funcs/projectsCreateProjectEnv.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateProjectEnvRequest, CreateProjectEnvRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v10/projects/{idOrName}/env")(pathParams); + const pathResult = encodePath("/v10/projects/{idOrName}/env", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsCreateProjectTransferRequest.ts b/src/funcs/projectsCreateProjectTransferRequest.ts index 0ee6b73ccc..f0d6f86804 100644 --- a/src/funcs/projectsCreateProjectTransferRequest.ts +++ b/src/funcs/projectsCreateProjectTransferRequest.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateProjectTransferRequestRequest, CreateProjectTransferRequestRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/projects/{idOrName}/transfer-request")(pathParams); + const pathResult = encodePath( + "/projects/{idOrName}/transfer-request", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsDeleteProject.ts b/src/funcs/projectsDeleteProject.ts index 0ae444c7dd..88938e6f6c 100644 --- a/src/funcs/projectsDeleteProject.ts +++ b/src/funcs/projectsDeleteProject.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteProjectRequest, DeleteProjectRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsDeleteProjectAvatar.ts b/src/funcs/projectsDeleteProjectAvatar.ts index c0bef66cfe..fbfdf710e8 100644 --- a/src/funcs/projectsDeleteProjectAvatar.ts +++ b/src/funcs/projectsDeleteProjectAvatar.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteProjectAvatarRequest, DeleteProjectAvatarRequest$outboundSchema, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/avatar")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/avatar", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsEditProjectEnv.ts b/src/funcs/projectsEditProjectEnv.ts index cfee3a8ce1..c1b4af6507 100644 --- a/src/funcs/projectsEditProjectEnv.ts +++ b/src/funcs/projectsEditProjectEnv.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { EditProjectEnvRequest, EditProjectEnvRequest$outboundSchema, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/env/{id}")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}/env/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsFilterProjectEnvs.ts b/src/funcs/projectsFilterProjectEnvs.ts index 842f3689e8..cf8f21c02c 100644 --- a/src/funcs/projectsFilterProjectEnvs.ts +++ b/src/funcs/projectsFilterProjectEnvs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { FilterProjectEnvsRequest, FilterProjectEnvsRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v10/projects/{idOrName}/env")(pathParams); + const pathResult = encodePath("/v10/projects/{idOrName}/env", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "customEnvironmentId": payload.customEnvironmentId, diff --git a/src/funcs/projectsGetProject.ts b/src/funcs/projectsGetProject.ts index bab3145338..3a9aa65a6e 100644 --- a/src/funcs/projectsGetProject.ts +++ b/src/funcs/projectsGetProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectRequest, GetProjectRequest$outboundSchema, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "rollbackInfo": payload.rollbackInfo, diff --git a/src/funcs/projectsGetProjectDomain.ts b/src/funcs/projectsGetProjectDomain.ts index 4691ae5c68..4cd5b17c7c 100644 --- a/src/funcs/projectsGetProjectDomain.ts +++ b/src/funcs/projectsGetProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectDomainRequest, GetProjectDomainRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/domains/{domain}")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/domains/{domain}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsGetProjectDomains.ts b/src/funcs/projectsGetProjectDomains.ts index 2584f6417b..6f1cd51f56 100644 --- a/src/funcs/projectsGetProjectDomains.ts +++ b/src/funcs/projectsGetProjectDomains.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectDomainsRequest, GetProjectDomainsRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/domains")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}/domains", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "customEnvironmentId": payload.customEnvironmentId, diff --git a/src/funcs/projectsGetProjectEnv.ts b/src/funcs/projectsGetProjectEnv.ts index cfe2f3ac3e..bb5de2b541 100644 --- a/src/funcs/projectsGetProjectEnv.ts +++ b/src/funcs/projectsGetProjectEnv.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectEnvRequest, GetProjectEnvRequest$outboundSchema, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/env/{id}")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/env/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsGetProjectToken.ts b/src/funcs/projectsGetProjectToken.ts index 305c334d44..349b7bcf29 100644 --- a/src/funcs/projectsGetProjectToken.ts +++ b/src/funcs/projectsGetProjectToken.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetProjectTokenRequest, GetProjectTokenRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/token")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/token", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsListPromoteAliases.ts b/src/funcs/projectsListPromoteAliases.ts index 3191c343de..b4c277c438 100644 --- a/src/funcs/projectsListPromoteAliases.ts +++ b/src/funcs/projectsListPromoteAliases.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/promote/aliases")( + const pathResult = encodePath( + "/v1/projects/{projectId}/promote/aliases", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "failedOnly": payload.failedOnly, diff --git a/src/funcs/projectsMoveProjectDomain.ts b/src/funcs/projectsMoveProjectDomain.ts index ca93b9f443..86a3065493 100644 --- a/src/funcs/projectsMoveProjectDomain.ts +++ b/src/funcs/projectsMoveProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/domains/{domain}/move")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/domains/{domain}/move", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsPauseProject.ts b/src/funcs/projectsPauseProject.ts index 56343d2c07..daf2ab4278 100644 --- a/src/funcs/projectsPauseProject.ts +++ b/src/funcs/projectsPauseProject.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/pause")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/pause", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsRemoveProjectDomain.ts b/src/funcs/projectsRemoveProjectDomain.ts index 827a1ef2c2..37891a79b5 100644 --- a/src/funcs/projectsRemoveProjectDomain.ts +++ b/src/funcs/projectsRemoveProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/domains/{domain}")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/domains/{domain}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsRemoveProjectEnv.ts b/src/funcs/projectsRemoveProjectEnv.ts index 31b6a44170..0ce565d260 100644 --- a/src/funcs/projectsRemoveProjectEnv.ts +++ b/src/funcs/projectsRemoveProjectEnv.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/env/{id}")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}/env/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "customEnvironmentId": payload.customEnvironmentId, diff --git a/src/funcs/projectsRequestPromote.ts b/src/funcs/projectsRequestPromote.ts index 6613605c20..82a63d3ef5 100644 --- a/src/funcs/projectsRequestPromote.ts +++ b/src/funcs/projectsRequestPromote.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v10/projects/{projectId}/promote/{deploymentId}")( + const pathResult = encodePath( + "/v10/projects/{projectId}/promote/{deploymentId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsRequestRollback.ts b/src/funcs/projectsRequestRollback.ts index 42be297ec6..c2f8413fa1 100644 --- a/src/funcs/projectsRequestRollback.ts +++ b/src/funcs/projectsRequestRollback.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/rollback/{deploymentId}")( + const pathResult = encodePath( + "/v1/projects/{projectId}/rollback/{deploymentId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "description": payload.description, diff --git a/src/funcs/projectsUnpauseProject.ts b/src/funcs/projectsUnpauseProject.ts index ab65f11ad1..0000c7f2f1 100644 --- a/src/funcs/projectsUnpauseProject.ts +++ b/src/funcs/projectsUnpauseProject.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/unpause")(pathParams); + const pathResult = encodePath("/v1/projects/{projectId}/unpause", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsUpdateMicrofrontends.ts b/src/funcs/projectsUpdateMicrofrontends.ts index 3f2cc28815..ee7e157b47 100644 --- a/src/funcs/projectsUpdateMicrofrontends.ts +++ b/src/funcs/projectsUpdateMicrofrontends.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{projectId}/microfrontends")( + const pathResult = encodePath( + "/v1/projects/{projectId}/microfrontends", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsUpdateProject.ts b/src/funcs/projectsUpdateProject.ts index f5eabac125..b846ea354b 100644 --- a/src/funcs/projectsUpdateProject.ts +++ b/src/funcs/projectsUpdateProject.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}")(pathParams); + const pathResult = encodePath("/v9/projects/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsUpdateProjectDomain.ts b/src/funcs/projectsUpdateProjectDomain.ts index d1e4407612..e647535c71 100644 --- a/src/funcs/projectsUpdateProjectDomain.ts +++ b/src/funcs/projectsUpdateProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/domains/{domain}")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/domains/{domain}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsUpdateProjectProtectionBypass.ts b/src/funcs/projectsUpdateProjectProtectionBypass.ts index ef2521a015..8c57f3d973 100644 --- a/src/funcs/projectsUpdateProjectProtectionBypass.ts +++ b/src/funcs/projectsUpdateProjectProtectionBypass.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/protection-bypass")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/protection-bypass", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.ts b/src/funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.ts index 8920e9ef18..58f02b5147 100644 --- a/src/funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.ts +++ b/src/funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{projectId}/rollback/{deploymentId}/update-description", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/projectsUploadProjectAvatar.ts b/src/funcs/projectsUploadProjectAvatar.ts index 587037a516..d5fff4ec92 100644 --- a/src/funcs/projectsUploadProjectAvatar.ts +++ b/src/funcs/projectsUploadProjectAvatar.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/avatar")(pathParams); + const pathResult = encodePath("/v1/projects/{idOrName}/avatar", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/projectsVerifyProjectDomain.ts b/src/funcs/projectsVerifyProjectDomain.ts index 4f8df0e817..ee7b966c59 100644 --- a/src/funcs/projectsVerifyProjectDomain.ts +++ b/src/funcs/projectsVerifyProjectDomain.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v9/projects/{idOrName}/domains/{domain}/verify")( + const pathResult = encodePath( + "/v9/projects/{idOrName}/domains/{domain}/verify", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/replaceDomainsByDomainRecords.ts b/src/funcs/replaceDomainsByDomainRecords.ts index be776a2f2f..6a5e2e38d0 100644 --- a/src/funcs/replaceDomainsByDomainRecords.ts +++ b/src/funcs/replaceDomainsByDomainRecords.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, @@ -90,7 +89,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/domains/{domain}/records")(pathParams); + const pathResult = encodePath("/domains/{domain}/records", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseApproveRollingReleaseStage.ts b/src/funcs/rollingReleaseApproveRollingReleaseStage.ts index 4b7e720841..cee946ee5e 100644 --- a/src/funcs/rollingReleaseApproveRollingReleaseStage.ts +++ b/src/funcs/rollingReleaseApproveRollingReleaseStage.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ApproveRollingReleaseStageRequest, ApproveRollingReleaseStageRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/projects/{idOrName}/rolling-release/approve-stage", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseCompleteRollingRelease.ts b/src/funcs/rollingReleaseCompleteRollingRelease.ts index 0a09f9cf58..ded5a610a5 100644 --- a/src/funcs/rollingReleaseCompleteRollingRelease.ts +++ b/src/funcs/rollingReleaseCompleteRollingRelease.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CompleteRollingReleaseRequest, CompleteRollingReleaseRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/complete")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/complete", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts b/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts index 0ff5effc4c..0b19444b5b 100644 --- a/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteRollingReleaseConfigRequest, DeleteRollingReleaseConfigRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/config")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/config", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseGetRollingRelease.ts b/src/funcs/rollingReleaseGetRollingRelease.ts index de09b43963..619b60c138 100644 --- a/src/funcs/rollingReleaseGetRollingRelease.ts +++ b/src/funcs/rollingReleaseGetRollingRelease.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRollingReleaseRequest, GetRollingReleaseRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts b/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts index 96306559ad..dc04af1ffb 100644 --- a/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +++ b/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRollingReleaseBillingStatusRequest, GetRollingReleaseBillingStatusRequest$outboundSchema, @@ -100,9 +99,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/billing")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/billing", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseGetRollingReleaseConfig.ts b/src/funcs/rollingReleaseGetRollingReleaseConfig.ts index 4a9387c388..11754cde2d 100644 --- a/src/funcs/rollingReleaseGetRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseGetRollingReleaseConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRollingReleaseConfigRequest, GetRollingReleaseConfigRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/config")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/config", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseStartRollingRelease.ts b/src/funcs/rollingReleaseStartRollingRelease.ts index 1f04de5e28..8d6084d860 100644 --- a/src/funcs/rollingReleaseStartRollingRelease.ts +++ b/src/funcs/rollingReleaseStartRollingRelease.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/start")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/start", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts b/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts index 0a740d164e..e300e59f30 100644 --- a/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/projects/{idOrName}/rolling-release/config")( + const pathResult = encodePath( + "/v1/projects/{idOrName}/rolling-release/config", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.ts b/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.ts index 5322708552..dbdd357cb2 100644 --- a/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.ts +++ b/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateSandboxesSessionsBySessionIdSnapshotV2Request, CreateSandboxesSessionsBySessionIdSnapshotV2Request$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/snapshot")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/snapshot", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.ts b/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.ts index 09b4e9166b..5d9e5b2291 100644 --- a/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.ts +++ b/src/funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateSandboxesSessionsBySessionIdSnapshotV3Request, CreateSandboxesSessionsBySessionIdSnapshotV3Request$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v3/sandboxes/sessions/{sessionId}/snapshot")( + const pathResult = encodePath( + "/v3/sandboxes/sessions/{sessionId}/snapshot", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesCreateSessionDirectory.ts b/src/funcs/sandboxesCreateSessionDirectory.ts index 50204e66d1..75fccc8d08 100644 --- a/src/funcs/sandboxesCreateSessionDirectory.ts +++ b/src/funcs/sandboxesCreateSessionDirectory.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateSessionDirectoryRequest, CreateSessionDirectoryRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/fs/mkdir")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/fs/mkdir", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesDeleteDrive.ts b/src/funcs/sandboxesDeleteDrive.ts index b70feeddf4..32d94267ff 100644 --- a/src/funcs/sandboxesDeleteDrive.ts +++ b/src/funcs/sandboxesDeleteDrive.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteDriveRequest, DeleteDriveRequest$outboundSchema, @@ -102,7 +101,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/drives/{nameOrId}")(pathParams); + const pathResult = encodePath("/v2/sandboxes/drives/{nameOrId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/sandboxesDeleteSandbox.ts b/src/funcs/sandboxesDeleteSandbox.ts index 16db830390..93bd7da614 100644 --- a/src/funcs/sandboxesDeleteSandbox.ts +++ b/src/funcs/sandboxesDeleteSandbox.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteSandboxRequest, DeleteSandboxRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/{name}")(pathParams); + const pathResult = encodePath("/v2/sandboxes/{name}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "deleteOrphanSnapshots": payload.deleteOrphanSnapshots, diff --git a/src/funcs/sandboxesDeleteSessionSnapshot.ts b/src/funcs/sandboxesDeleteSessionSnapshot.ts index b78d2c026c..09c03b1060 100644 --- a/src/funcs/sandboxesDeleteSessionSnapshot.ts +++ b/src/funcs/sandboxesDeleteSessionSnapshot.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteSessionSnapshotRequest, DeleteSessionSnapshotRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/snapshots/{snapshotId}")(pathParams); + const pathResult = encodePath( + "/v2/sandboxes/snapshots/{snapshotId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesExtendSessionTimeout.ts b/src/funcs/sandboxesExtendSessionTimeout.ts index 047913330b..5389d89dbd 100644 --- a/src/funcs/sandboxesExtendSessionTimeout.ts +++ b/src/funcs/sandboxesExtendSessionTimeout.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ExtendSessionTimeoutRequest, ExtendSessionTimeoutRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/extend-timeout")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/extend-timeout", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesForkDrive.ts b/src/funcs/sandboxesForkDrive.ts index 92c2918811..aebea2a787 100644 --- a/src/funcs/sandboxesForkDrive.ts +++ b/src/funcs/sandboxesForkDrive.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ForkDriveRequest, ForkDriveRequest$outboundSchema, @@ -102,7 +101,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/drives/{name}/fork")(pathParams); + const pathResult = encodePath("/v2/sandboxes/drives/{name}/fork", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/sandboxesGetDrive.ts b/src/funcs/sandboxesGetDrive.ts index cbbdc62513..76edcdf16e 100644 --- a/src/funcs/sandboxesGetDrive.ts +++ b/src/funcs/sandboxesGetDrive.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetDriveRequest, GetDriveRequest$outboundSchema, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/drives/{nameOrId}")(pathParams); + const pathResult = encodePath("/v2/sandboxes/drives/{nameOrId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/sandboxesGetNamedSandbox.ts b/src/funcs/sandboxesGetNamedSandbox.ts index e64513c37d..d3f1335587 100644 --- a/src/funcs/sandboxesGetNamedSandbox.ts +++ b/src/funcs/sandboxesGetNamedSandbox.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetNamedSandboxRequest, GetNamedSandboxRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/{name}")(pathParams); + const pathResult = encodePath("/v2/sandboxes/{name}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/sandboxesGetOrCreateDrive.ts b/src/funcs/sandboxesGetOrCreateDrive.ts index 9312e8a8ec..919c430079 100644 --- a/src/funcs/sandboxesGetOrCreateDrive.ts +++ b/src/funcs/sandboxesGetOrCreateDrive.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetOrCreateDriveRequest, GetOrCreateDriveRequest$outboundSchema, @@ -102,7 +101,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/drives/{name}")(pathParams); + const pathResult = encodePath("/v2/sandboxes/drives/{name}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesGetSession.ts b/src/funcs/sandboxesGetSession.ts index 8bdbce24af..9f720fdb1c 100644 --- a/src/funcs/sandboxesGetSession.ts +++ b/src/funcs/sandboxesGetSession.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetSessionRequest, GetSessionRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}")(pathParams); + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesGetSessionCommand.ts b/src/funcs/sandboxesGetSessionCommand.ts index a27a639974..2a5ebee34a 100644 --- a/src/funcs/sandboxesGetSessionCommand.ts +++ b/src/funcs/sandboxesGetSessionCommand.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetSessionCommandRequest, GetSessionCommandRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesGetSessionSnapshot.ts b/src/funcs/sandboxesGetSessionSnapshot.ts index a112724dd7..6c93229d8c 100644 --- a/src/funcs/sandboxesGetSessionSnapshot.ts +++ b/src/funcs/sandboxesGetSessionSnapshot.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetSessionSnapshotRequest, GetSessionSnapshotRequest$outboundSchema, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/snapshots/{snapshotId}")(pathParams); + const pathResult = encodePath( + "/v2/sandboxes/snapshots/{snapshotId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesKillSessionCommand.ts b/src/funcs/sandboxesKillSessionCommand.ts index 684167fd6f..57d7c936a5 100644 --- a/src/funcs/sandboxesKillSessionCommand.ts +++ b/src/funcs/sandboxesKillSessionCommand.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesListSessionCommands.ts b/src/funcs/sandboxesListSessionCommands.ts index 76fab2f3fc..9e599ec75d 100644 --- a/src/funcs/sandboxesListSessionCommands.ts +++ b/src/funcs/sandboxesListSessionCommands.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/cmd")(pathParams); + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/cmd", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesReadSessionFile.ts b/src/funcs/sandboxesReadSessionFile.ts index 5baa4b4a05..b452af738b 100644 --- a/src/funcs/sandboxesReadSessionFile.ts +++ b/src/funcs/sandboxesReadSessionFile.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/fs/read")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/fs/read", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesStopSession.ts b/src/funcs/sandboxesStopSession.ts index 163ef89055..9b04207746 100644 --- a/src/funcs/sandboxesStopSession.ts +++ b/src/funcs/sandboxesStopSession.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/stop")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/stop", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesUpdateSessionNetworkPolicy.ts b/src/funcs/sandboxesUpdateSessionNetworkPolicy.ts index 4a4346eece..14c7977e05 100644 --- a/src/funcs/sandboxesUpdateSessionNetworkPolicy.ts +++ b/src/funcs/sandboxesUpdateSessionNetworkPolicy.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/network-policy")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/network-policy", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesWriteSessionCommandStdin.ts b/src/funcs/sandboxesWriteSessionCommandStdin.ts index 1454533224..a49dcb5ce4 100644 --- a/src/funcs/sandboxesWriteSessionCommandStdin.ts +++ b/src/funcs/sandboxesWriteSessionCommandStdin.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/stdin", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/sandboxesWriteSessionFiles.ts b/src/funcs/sandboxesWriteSessionFiles.ts index 91f82eac6a..583c5daf55 100644 --- a/src/funcs/sandboxesWriteSessionFiles.ts +++ b/src/funcs/sandboxesWriteSessionFiles.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/sandboxes/sessions/{sessionId}/fs/write")( + const pathResult = encodePath( + "/v2/sandboxes/sessions/{sessionId}/fs/write", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.ts b/src/funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.ts index 7e0c4b3509..8428bb33e6 100644 --- a/src/funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.ts +++ b/src/funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { CreateSecurityFirewallConfigByConfigVersionActivateRequest, CreateSecurityFirewallConfigByConfigVersionActivateRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/security/firewall/config/{configVersion}/activate", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/securityDeleteSecurityFirewallConfigByConfigVersion.ts b/src/funcs/securityDeleteSecurityFirewallConfigByConfigVersion.ts index ead0ea20ea..4857428048 100644 --- a/src/funcs/securityDeleteSecurityFirewallConfigByConfigVersion.ts +++ b/src/funcs/securityDeleteSecurityFirewallConfigByConfigVersion.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { DeleteSecurityFirewallConfigByConfigVersionRequest, DeleteSecurityFirewallConfigByConfigVersionRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/security/firewall/config/{configVersion}")( + const pathResult = encodePath( + "/v1/security/firewall/config/{configVersion}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/securityGetFirewallConfig.ts b/src/funcs/securityGetFirewallConfig.ts index 363747393a..5f72005c55 100644 --- a/src/funcs/securityGetFirewallConfig.ts +++ b/src/funcs/securityGetFirewallConfig.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetFirewallConfigRequest, GetFirewallConfigRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/security/firewall/config/{configVersion}")( + const pathResult = encodePath( + "/v1/security/firewall/config/{configVersion}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/storageDeleteStorageStoresBlobById.ts b/src/funcs/storageDeleteStorageStoresBlobById.ts index f7ea4079f2..979f00af46 100644 --- a/src/funcs/storageDeleteStorageStoresBlobById.ts +++ b/src/funcs/storageDeleteStorageStoresBlobById.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { DeleteStorageStoresBlobByIdRequest, DeleteStorageStoresBlobByIdRequest$outboundSchema, @@ -93,7 +92,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/storage/stores/blob/{id}")(pathParams); + const pathResult = encodePath("/storage/stores/blob/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/storageGetStorageStoresById.ts b/src/funcs/storageGetStorageStoresById.ts index 8e4eb332de..e76749699b 100644 --- a/src/funcs/storageGetStorageStoresById.ts +++ b/src/funcs/storageGetStorageStoresById.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetStorageStoresByIdRequest, GetStorageStoresByIdRequest$outboundSchema, @@ -93,7 +92,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/storage/stores/{id}")(pathParams); + const pathResult = encodePath("/storage/stores/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "include-guides": payload["include-guides"], diff --git a/src/funcs/teamsDeleteMicrofrontendsGroup.ts b/src/funcs/teamsDeleteMicrofrontendsGroup.ts index 44de973ae2..1d5ad14199 100644 --- a/src/funcs/teamsDeleteMicrofrontendsGroup.ts +++ b/src/funcs/teamsDeleteMicrofrontendsGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteMicrofrontendsGroupRequest, DeleteMicrofrontendsGroupRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/microfrontends/{groupId}")( + const pathResult = encodePath( + "/v1/teams/{teamId}/microfrontends/{groupId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsDeleteTeam.ts b/src/funcs/teamsDeleteTeam.ts index 3a55567c46..bca1cb7eec 100644 --- a/src/funcs/teamsDeleteTeam.ts +++ b/src/funcs/teamsDeleteTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteTeamRequest, DeleteTeamRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}")(pathParams); + const pathResult = encodePath("/v1/teams/{teamId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "newDefaultTeamId": payload.newDefaultTeamId, diff --git a/src/funcs/teamsDeleteTeamInviteCode.ts b/src/funcs/teamsDeleteTeamInviteCode.ts index e7bef3acab..82aadc65d5 100644 --- a/src/funcs/teamsDeleteTeamInviteCode.ts +++ b/src/funcs/teamsDeleteTeamInviteCode.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteTeamInviteCodeRequest, DeleteTeamInviteCodeRequest$outboundSchema, @@ -103,7 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/invites/{inviteId}")(pathParams); + const pathResult = encodePath( + "/v1/teams/{teamId}/invites/{inviteId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/teamsGetTeam.ts b/src/funcs/teamsGetTeam.ts index 1ec0d3c2a2..d57acecddf 100644 --- a/src/funcs/teamsGetTeam.ts +++ b/src/funcs/teamsGetTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetTeamRequest, GetTeamRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/teams/{teamId}")(pathParams); + const pathResult = encodePath("/v2/teams/{teamId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsGetTeamAccessRequest.ts b/src/funcs/teamsGetTeamAccessRequest.ts index 940fbfccfd..85a42a237f 100644 --- a/src/funcs/teamsGetTeamAccessRequest.ts +++ b/src/funcs/teamsGetTeamAccessRequest.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetTeamAccessRequestRequest, GetTeamAccessRequestRequest$outboundSchema, @@ -103,7 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/request/{userId}")(pathParams); + const pathResult = encodePath( + "/v1/teams/{teamId}/request/{userId}", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/teamsGetTeamMembers.ts b/src/funcs/teamsGetTeamMembers.ts index dc3a059132..e1b4376aba 100644 --- a/src/funcs/teamsGetTeamMembers.ts +++ b/src/funcs/teamsGetTeamMembers.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetTeamMembersRequest, GetTeamMembersRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v3/teams/{teamId}/members")(pathParams); + const pathResult = encodePath("/v3/teams/{teamId}/members", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "eligibleMembersForProjectId": payload.eligibleMembersForProjectId, diff --git a/src/funcs/teamsInviteUserToTeam.ts b/src/funcs/teamsInviteUserToTeam.ts index 2b82db7490..0457fa1428 100644 --- a/src/funcs/teamsInviteUserToTeam.ts +++ b/src/funcs/teamsInviteUserToTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,7 +100,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/teams/{teamId}/members")(pathParams); + const pathResult = encodePath("/v2/teams/{teamId}/members", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsJoinTeam.ts b/src/funcs/teamsJoinTeam.ts index 7a16c6889d..93dae10a2c 100644 --- a/src/funcs/teamsJoinTeam.ts +++ b/src/funcs/teamsJoinTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/members/teams/join")(pathParams); + const pathResult = encodePath( + "/v1/teams/{teamId}/members/teams/join", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/teamsPatchTeam.ts b/src/funcs/teamsPatchTeam.ts index a4351fe095..a55d9e60c3 100644 --- a/src/funcs/teamsPatchTeam.ts +++ b/src/funcs/teamsPatchTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v2/teams/{teamId}")(pathParams); + const pathResult = encodePath("/v2/teams/{teamId}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsPostTeamDsyncRoles.ts b/src/funcs/teamsPostTeamDsyncRoles.ts index 214b472f78..3f5a266e2b 100644 --- a/src/funcs/teamsPostTeamDsyncRoles.ts +++ b/src/funcs/teamsPostTeamDsyncRoles.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/dsync-roles")(pathParams); + const pathResult = encodePath("/v1/teams/{teamId}/dsync-roles", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsRemoveTeamMember.ts b/src/funcs/teamsRemoveTeamMember.ts index 00fc4c66ef..60275558a2 100644 --- a/src/funcs/teamsRemoveTeamMember.ts +++ b/src/funcs/teamsRemoveTeamMember.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/members/{uid}")(pathParams); + const pathResult = encodePath("/v1/teams/{teamId}/members/{uid}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "newDefaultTeamId": payload.newDefaultTeamId, diff --git a/src/funcs/teamsRequestAccessToTeam.ts b/src/funcs/teamsRequestAccessToTeam.ts index c42ec1cf0c..2a8a03ed45 100644 --- a/src/funcs/teamsRequestAccessToTeam.ts +++ b/src/funcs/teamsRequestAccessToTeam.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/request")(pathParams); + const pathResult = encodePath("/v1/teams/{teamId}/request", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/teamsUpdateMicrofrontendsGroup.ts b/src/funcs/teamsUpdateMicrofrontendsGroup.ts index dd07ba8ebf..8f605d765a 100644 --- a/src/funcs/teamsUpdateMicrofrontendsGroup.ts +++ b/src/funcs/teamsUpdateMicrofrontendsGroup.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/microfrontends/{groupId}")( + const pathResult = encodePath( + "/v1/teams/{teamId}/microfrontends/{groupId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/teamsUpdateTeamMember.ts b/src/funcs/teamsUpdateTeamMember.ts index 9e48ee9116..a771fe736e 100644 --- a/src/funcs/teamsUpdateTeamMember.ts +++ b/src/funcs/teamsUpdateTeamMember.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -103,7 +102,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/teams/{teamId}/members/{uid}")(pathParams); + const pathResult = encodePath("/v1/teams/{teamId}/members/{uid}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ "Content-Type": "application/json", diff --git a/src/funcs/vcrAddRepositoryPermission.ts b/src/funcs/vcrAddRepositoryPermission.ts index 09e9593b23..919afb49e8 100644 --- a/src/funcs/vcrAddRepositoryPermission.ts +++ b/src/funcs/vcrAddRepositoryPermission.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { AddRepositoryPermissionRequest, AddRepositoryPermissionRequest$outboundSchema, @@ -99,9 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/permissions")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/permissions", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrClearRepositoryPermissions.ts b/src/funcs/vcrClearRepositoryPermissions.ts index 1aaebcc48f..cc66fb9da2 100644 --- a/src/funcs/vcrClearRepositoryPermissions.ts +++ b/src/funcs/vcrClearRepositoryPermissions.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ClearRepositoryPermissionsRequest, ClearRepositoryPermissionsRequest$outboundSchema, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/permissions/all")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/permissions/all", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.ts b/src/funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.ts index f035be8cbd..904e730190 100644 --- a/src/funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.ts +++ b/src/funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest, CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest$outboundSchema, @@ -105,9 +104,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "from": payload.from, diff --git a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts index 33a564f4a9..de55aa53c9 100644 --- a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts +++ b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outboundSchema, @@ -109,9 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts index eca04fa35f..23ddf5eaf3 100644 --- a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts +++ b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts index 136c795de5..ba3af56038 100644 --- a/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts +++ b/src/funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrDeleteRepository.ts b/src/funcs/vcrDeleteRepository.ts index 73ad6349bd..2c394bf6f9 100644 --- a/src/funcs/vcrDeleteRepository.ts +++ b/src/funcs/vcrDeleteRepository.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteRepositoryRequest, DeleteRepositoryRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}")(pathParams); + const pathResult = encodePath("/v1/vcr/repository/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrDeleteRepositoryImage.ts b/src/funcs/vcrDeleteRepositoryImage.ts index bc611c8693..398983050d 100644 --- a/src/funcs/vcrDeleteRepositoryImage.ts +++ b/src/funcs/vcrDeleteRepositoryImage.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteRepositoryImageRequest, DeleteRepositoryImageRequest$outboundSchema, @@ -102,9 +101,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/images/{imageId}")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/images/{imageId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts index 7d0b2ede9f..cbd80a726f 100644 --- a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts +++ b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outboundSchema, @@ -109,9 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts index 6a74404be2..a0c749a73d 100644 --- a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts +++ b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$outboundSchema, @@ -109,9 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts index 321f5d83b8..228237a02e 100644 --- a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts +++ b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "*/*", diff --git a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.ts b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.ts index 2f03001bdc..6453ad8da3 100644 --- a/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.ts +++ b/src/funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.ts @@ -8,8 +8,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest, GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest$outboundSchema, @@ -106,9 +105,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "last": payload.last, diff --git a/src/funcs/vcrGetRepository.ts b/src/funcs/vcrGetRepository.ts index 3e7f964e95..287ca969d2 100644 --- a/src/funcs/vcrGetRepository.ts +++ b/src/funcs/vcrGetRepository.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRepositoryRequest, GetRepositoryRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}")(pathParams); + const pathResult = encodePath("/v1/vcr/repository/{idOrName}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrGetRepositoryImage.ts b/src/funcs/vcrGetRepositoryImage.ts index 7fabaef453..883ab5e3cf 100644 --- a/src/funcs/vcrGetRepositoryImage.ts +++ b/src/funcs/vcrGetRepositoryImage.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRepositoryImageRequest, GetRepositoryImageRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrGetRepositoryTag.ts b/src/funcs/vcrGetRepositoryTag.ts index cd7983c9b9..0b6964c443 100644 --- a/src/funcs/vcrGetRepositoryTag.ts +++ b/src/funcs/vcrGetRepositoryTag.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetRepositoryTagRequest, GetRepositoryTagRequest$outboundSchema, @@ -103,9 +102,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/tags/{tag}")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/tags/{tag}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts b/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts index ea2f17e67f..b00824e9a7 100644 --- a/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts +++ b/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outboundSchema, @@ -109,9 +108,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts b/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts index 66e7b60810..124298e653 100644 --- a/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts +++ b/src/funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$outboundSchema, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrListRepositoryImages.ts b/src/funcs/vcrListRepositoryImages.ts index f5e05b5442..290d7b3004 100644 --- a/src/funcs/vcrListRepositoryImages.ts +++ b/src/funcs/vcrListRepositoryImages.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,7 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/images")(pathParams); + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/images", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/vcrListRepositoryPermissions.ts b/src/funcs/vcrListRepositoryPermissions.ts index 4f0092b5fa..08a3eaa9ff 100644 --- a/src/funcs/vcrListRepositoryPermissions.ts +++ b/src/funcs/vcrListRepositoryPermissions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -101,9 +100,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/permissions")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/permissions", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/vcrListRepositoryTags.ts b/src/funcs/vcrListRepositoryTags.ts index b863e314d4..eb0df603fd 100644 --- a/src/funcs/vcrListRepositoryTags.ts +++ b/src/funcs/vcrListRepositoryTags.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -99,7 +98,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/tags")(pathParams); + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/tags", + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/vcrRemoveRepositoryPermission.ts b/src/funcs/vcrRemoveRepositoryPermission.ts index 06b23ec9d9..a5c1c471d9 100644 --- a/src/funcs/vcrRemoveRepositoryPermission.ts +++ b/src/funcs/vcrRemoveRepositoryPermission.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -98,9 +97,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vcr/repository/{idOrName}/permissions")( + const pathResult = encodePath( + "/v1/vcr/repository/{idOrName}/permissions", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "projectId": payload.projectId, diff --git a/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts b/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts index 6d31305374..42ce1b4c15 100644 --- a/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts +++ b/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "digest": payload.digest, diff --git a/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts b/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts index 66444dbc44..5afc4afe4c 100644 --- a/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts +++ b/src/funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts b/src/funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts index 09ab9acfdb..4288026232 100644 --- a/src/funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts +++ b/src/funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.ts @@ -9,8 +9,7 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { pathToFunc } from "../lib/url.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, @@ -111,9 +110,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const headers = new Headers(compactMap({ Accept: "application/json", diff --git a/src/funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.ts b/src/funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.ts index 2dd7ecad2a..3ff9ce0897 100644 --- a/src/funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.ts +++ b/src/funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { CreateVercelCiTaskConfigurationPullRequestRequest, CreateVercelCiTaskConfigurationPullRequestRequest$outboundSchema, @@ -118,9 +117,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/task-analyses/{analysisId}/pull-request", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiGetVercelCiInvocation.ts b/src/funcs/vercelCiGetVercelCiInvocation.ts index b61369b765..5c74d5ff08 100644 --- a/src/funcs/vercelCiGetVercelCiInvocation.ts +++ b/src/funcs/vercelCiGetVercelCiInvocation.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiInvocationRequest, GetVercelCiInvocationRequest$outboundSchema, @@ -119,9 +118,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiGetVercelCiInvocationLogs.ts b/src/funcs/vercelCiGetVercelCiInvocationLogs.ts index 38741e4b5b..805ad5d203 100644 --- a/src/funcs/vercelCiGetVercelCiInvocationLogs.ts +++ b/src/funcs/vercelCiGetVercelCiInvocationLogs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiInvocationLogsRequest, GetVercelCiInvocationLogsRequest$outboundSchema, @@ -119,9 +118,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "level": payload.level, diff --git a/src/funcs/vercelCiGetVercelCiInvocationTree.ts b/src/funcs/vercelCiGetVercelCiInvocationTree.ts index 2ad8c7eed2..e78bdf107b 100644 --- a/src/funcs/vercelCiGetVercelCiInvocationTree.ts +++ b/src/funcs/vercelCiGetVercelCiInvocationTree.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiInvocationTreeRequest, GetVercelCiInvocationTreeRequest$outboundSchema, @@ -115,9 +114,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vercel-ci/invocations/{invocationId}/tree")( + const pathResult = encodePath( + "/v1/vercel-ci/invocations/{invocationId}/tree", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "attempt": payload.attempt, diff --git a/src/funcs/vercelCiGetVercelCiJobDefinition.ts b/src/funcs/vercelCiGetVercelCiJobDefinition.ts index 5f563afeb1..ffea427f10 100644 --- a/src/funcs/vercelCiGetVercelCiJobDefinition.ts +++ b/src/funcs/vercelCiGetVercelCiJobDefinition.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiJobDefinitionRequest, GetVercelCiJobDefinitionRequest$outboundSchema, @@ -123,9 +122,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiGetVercelCiJobRun.ts b/src/funcs/vercelCiGetVercelCiJobRun.ts index 59a3fb332f..b1c3881540 100644 --- a/src/funcs/vercelCiGetVercelCiJobRun.ts +++ b/src/funcs/vercelCiGetVercelCiJobRun.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiJobRunRequest, GetVercelCiJobRunRequest$outboundSchema, @@ -127,9 +126,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiGetVercelCiJobRunLogs.ts b/src/funcs/vercelCiGetVercelCiJobRunLogs.ts index d5ae491840..0428bba805 100644 --- a/src/funcs/vercelCiGetVercelCiJobRunLogs.ts +++ b/src/funcs/vercelCiGetVercelCiJobRunLogs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiJobRunLogsRequest, GetVercelCiJobRunLogsRequest$outboundSchema, @@ -127,9 +126,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/logs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "follow": payload.follow, diff --git a/src/funcs/vercelCiGetVercelCiTaskAnalysis.ts b/src/funcs/vercelCiGetVercelCiTaskAnalysis.ts index 5ef5aae048..3f6a903a0e 100644 --- a/src/funcs/vercelCiGetVercelCiTaskAnalysis.ts +++ b/src/funcs/vercelCiGetVercelCiTaskAnalysis.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiTaskAnalysisRequest, GetVercelCiTaskAnalysisRequest$outboundSchema, @@ -115,9 +114,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vercel-ci/task-analyses/{analysisId}")( + const pathResult = encodePath( + "/v1/vercel-ci/task-analyses/{analysisId}", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiGetVercelCiTaskLogs.ts b/src/funcs/vercelCiGetVercelCiTaskLogs.ts index c32005b9cc..48f738b035 100644 --- a/src/funcs/vercelCiGetVercelCiTaskLogs.ts +++ b/src/funcs/vercelCiGetVercelCiTaskLogs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiTaskLogsRequest, GetVercelCiTaskLogsRequest$outboundSchema, @@ -119,9 +118,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "conclusion": payload.conclusion, diff --git a/src/funcs/vercelCiGetVercelCiTaskRunLogs.ts b/src/funcs/vercelCiGetVercelCiTaskRunLogs.ts index 2f3d6709ac..15d8e06100 100644 --- a/src/funcs/vercelCiGetVercelCiTaskRunLogs.ts +++ b/src/funcs/vercelCiGetVercelCiTaskRunLogs.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetVercelCiTaskRunLogsRequest, GetVercelCiTaskRunLogsRequest$outboundSchema, @@ -136,9 +135,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions/{taskDefinitionId}/runs/{taskRunAttempt}/logs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "follow": payload.follow, diff --git a/src/funcs/vercelCiListVercelCiInvocationAttempts.ts b/src/funcs/vercelCiListVercelCiInvocationAttempts.ts index 53473880f5..cd3b8cd8e9 100644 --- a/src/funcs/vercelCiListVercelCiInvocationAttempts.ts +++ b/src/funcs/vercelCiListVercelCiInvocationAttempts.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -116,9 +115,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vercel-ci/invocations/{invocationId}/attempts")( + const pathResult = encodePath( + "/v1/vercel-ci/invocations/{invocationId}/attempts", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiListVercelCiJobDefinitions.ts b/src/funcs/vercelCiListVercelCiJobDefinitions.ts index 6455a99215..252916f2c2 100644 --- a/src/funcs/vercelCiListVercelCiJobDefinitions.ts +++ b/src/funcs/vercelCiListVercelCiJobDefinitions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -119,9 +118,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiListVercelCiJobRuns.ts b/src/funcs/vercelCiListVercelCiJobRuns.ts index d35b39a1da..6f9b6c9da4 100644 --- a/src/funcs/vercelCiListVercelCiJobRuns.ts +++ b/src/funcs/vercelCiListVercelCiJobRuns.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -123,9 +122,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiListVercelCiTaskAnalysisTasks.ts b/src/funcs/vercelCiListVercelCiTaskAnalysisTasks.ts index 15e97b9566..abde6e6933 100644 --- a/src/funcs/vercelCiListVercelCiTaskAnalysisTasks.ts +++ b/src/funcs/vercelCiListVercelCiTaskAnalysisTasks.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -115,9 +114,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/vercel-ci/task-analyses/{analysisId}/tasks")( + const pathResult = encodePath( + "/v1/vercel-ci/task-analyses/{analysisId}/tasks", pathParams, ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "cursor": payload.cursor, diff --git a/src/funcs/vercelCiListVercelCiTaskDefinitions.ts b/src/funcs/vercelCiListVercelCiTaskDefinitions.ts index 00c0fee34e..5d0c9ac011 100644 --- a/src/funcs/vercelCiListVercelCiTaskDefinitions.ts +++ b/src/funcs/vercelCiListVercelCiTaskDefinitions.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -127,9 +126,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiListVercelCiTaskRuns.ts b/src/funcs/vercelCiListVercelCiTaskRuns.ts index 6e3d00ac4e..42715eb66b 100644 --- a/src/funcs/vercelCiListVercelCiTaskRuns.ts +++ b/src/funcs/vercelCiListVercelCiTaskRuns.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -127,9 +126,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-runs", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/vercelCiRetryVercelCiInvocation.ts b/src/funcs/vercelCiRetryVercelCiInvocation.ts index 347d7306ea..685a0937e1 100644 --- a/src/funcs/vercelCiRetryVercelCiInvocation.ts +++ b/src/funcs/vercelCiRetryVercelCiInvocation.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { ConnectionError, InvalidRequestError, @@ -119,9 +118,14 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc( + const pathResult = encodePath( "/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/retry", - )(pathParams); + pathParams, + ); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/webhooksDeleteWebhook.ts b/src/funcs/webhooksDeleteWebhook.ts index 57d678510a..7d03c711ef 100644 --- a/src/funcs/webhooksDeleteWebhook.ts +++ b/src/funcs/webhooksDeleteWebhook.ts @@ -9,9 +9,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { DeleteWebhookRequest, DeleteWebhookRequest$outboundSchema, @@ -98,7 +97,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/webhooks/{id}")(pathParams); + const pathResult = encodePath("/v1/webhooks/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/funcs/webhooksGetWebhook.ts b/src/funcs/webhooksGetWebhook.ts index e62c8cb029..345013e108 100644 --- a/src/funcs/webhooksGetWebhook.ts +++ b/src/funcs/webhooksGetWebhook.ts @@ -8,9 +8,8 @@ import { matchStatusCode } from "../lib/http.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; +import { encodePath, RequestOptions } from "../lib/sdks.js"; import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; import { GetWebhookRequest, GetWebhookRequest$outboundSchema, @@ -99,7 +98,11 @@ async function $do( charEncoding: "percent", }), }; - const path = pathToFunc("/v1/webhooks/{id}")(pathParams); + const pathResult = encodePath("/v1/webhooks/{id}", pathParams); + if (!pathResult.ok) { + return [pathResult, { status: "invalid" }]; + } + const path = pathResult.value; const query = encodeFormQuery({ "slug": payload.slug, diff --git a/src/lib/config.ts b/src/lib/config.ts index 3b8c102591..ebf6d342ba 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.28.67", - genVersion: "2.961.1", - userAgent: "speakeasy-sdk/typescript 1.28.67 2.961.1 0.0.1 @vercel/sdk", + sdkVersion: "1.28.68", + genVersion: "2.968.1", + userAgent: "speakeasy-sdk/typescript 1.28.68 2.968.1 0.0.1 @vercel/sdk", } as const; diff --git a/src/lib/encodings.ts b/src/lib/encodings.ts index d6e751fe6a..a1053d49b3 100644 --- a/src/lib/encodings.ts +++ b/src/lib/encodings.ts @@ -14,7 +14,8 @@ export class EncodingError extends Error { export type CharEncoding = "percent" | "percentExceptReserved" | "none"; -const reservedEscapes = /%(2[346bcf]|3[abdf]|40|5[bd])/gi; +const pathReservedEscapes = /%(2[46bcf]|3[abd]|40|5[bd])/gi; +const queryReservedEscapes = /%(2[46bcf]|3[abdf]|40|5[bd])/gi; function encodeKeyChars( v: string, @@ -29,6 +30,7 @@ function encodeKeyChars( function encodeChars( v: string, charEncoding: CharEncoding | undefined, + reservedEscapes: RegExp = queryReservedEscapes, ): string { switch (charEncoding) { case "percent": @@ -58,7 +60,7 @@ export function encodeMatrix( } const encodeString = (v: string) => { - return encodeChars(v, options?.charEncoding); + return encodeChars(v, options?.charEncoding, pathReservedEscapes); }; const encodeValue = (v: unknown) => encodeString(serializeValue(v)); @@ -116,7 +118,7 @@ export function encodeLabel( } const encodeString = (v: string) => { - return encodeChars(v, options?.charEncoding); + return encodeChars(v, options?.charEncoding, pathReservedEscapes); }; const encodeValue = (v: unknown) => encodeString(serializeValue(v)); @@ -355,7 +357,7 @@ export const encodeSimple = ( } const encodeString = (v: string) => { - return encodeChars(v, options?.charEncoding); + return encodeChars(v, options?.charEncoding, pathReservedEscapes); }; const encodeValue = (v: unknown) => encodeString(serializeValue(v)); diff --git a/src/lib/primitives.ts b/src/lib/primitives.ts index 8ce65db0f7..e7b7590889 100644 --- a/src/lib/primitives.ts +++ b/src/lib/primitives.ts @@ -164,3 +164,32 @@ export function isPlainObject( return false; } } + +function exceedsMaxLength(value: string, maxLength: number): boolean { + if (value.length <= maxLength) { + return false; + } + let codePoints = 0; + for (const _ of value) { + if (++codePoints > maxLength) { + return true; + } + } + return false; +} + +export function withinMaxLength(maxLength: number): (value: string) => boolean { + return (value) => !exceedsMaxLength(value, maxLength); +} + +// A value over maxLength is rejected by withinMaxLength, so the pattern is not +// run against arbitrarily long input. +export function matchesPattern( + pattern: string, + maxLength?: number, +): (value: string) => boolean { + const re = new RegExp(pattern, "u"); + return (value) => + (maxLength !== undefined && exceedsMaxLength(value, maxLength)) || + re.test(value); +} diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts index 8e8a9df297..a9fb3d639a 100644 --- a/src/lib/schemas.ts +++ b/src/lib/schemas.ts @@ -13,6 +13,88 @@ import { import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { ERR, OK, Result } from "../types/fp.js"; +export function lazySchema(factory: () => T): T { + let schema: T | undefined; + const getSchema = (): T => { + if (schema === undefined) { + schema = factory(); + } + return schema; + }; + const target = Object.create(null); + + return new Proxy(target, { + get(_target, property) { + const descriptor = Reflect.getOwnPropertyDescriptor(target, property); + if ( + descriptor && !descriptor.configurable && "value" in descriptor + && !descriptor.writable + ) { + return descriptor.value; + } + const value = Reflect.get(getSchema(), property, getSchema()); + return property !== "constructor" && typeof value === "function" + ? value.bind(getSchema()) + : value; + }, + getOwnPropertyDescriptor(_target, property) { + const descriptor = Reflect.getOwnPropertyDescriptor( + getSchema(), + property, + ); + return descriptor && { + ...descriptor, + configurable: + Reflect.getOwnPropertyDescriptor(target, property)?.configurable + ?? true, + }; + }, + getPrototypeOf() { + return Reflect.getPrototypeOf(getSchema()); + }, + has(_target, property) { + return Reflect.has(getSchema(), property); + }, + ownKeys() { + return Reflect.ownKeys(getSchema()); + }, + defineProperty(_target, property, descriptor) { + if (!Reflect.defineProperty(getSchema(), property, descriptor)) { + return false; + } + const defined = Reflect.getOwnPropertyDescriptor(getSchema(), property)!; + if (!defined.configurable || !Reflect.isExtensible(target)) { + return Reflect.defineProperty(target, property, defined); + } + return true; + }, + deleteProperty(_target, property) { + if (!Reflect.deleteProperty(getSchema(), property)) { + return false; + } + return Reflect.deleteProperty(target, property); + }, + preventExtensions() { + const concrete = getSchema(); + if (!Reflect.preventExtensions(concrete)) { + return false; + } + Reflect.setPrototypeOf(target, Reflect.getPrototypeOf(concrete)); + for (const property of Reflect.ownKeys(concrete)) { + Reflect.defineProperty( + target, + property, + Reflect.getOwnPropertyDescriptor(concrete, property)!, + ); + } + return Reflect.preventExtensions(target); + }, + set(_target, property, value) { + return Reflect.set(getSchema(), property, value, getSchema()); + }, + }); +} + /** * Utility function that executes some code which may throw a ZodError. It * intercepts this error and converts it to an SDKValidationError so as to not diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts index 19d9cf8ea0..80b0f9bfa8 100644 --- a/src/lib/sdks.ts +++ b/src/lib/sdks.ts @@ -26,6 +26,7 @@ import { Logger } from "./logger.js"; import { combineSignals } from "./primitives.js"; import { retry, RetryConfig } from "./retries.js"; import { SecurityState } from "./security.js"; +import { Params, pathToFunc } from "./url.js"; export type RequestOptions = { /** @@ -68,6 +69,19 @@ type RequestConfig = { timeoutMs?: number; }; +export function encodePath( + pathPattern: string, + params: Params, +): Result { + try { + return OK(pathToFunc(pathPattern, { rejectDotSegments: true })(params)); + } catch (err: unknown) { + return ERR( + new InvalidRequestError(err instanceof Error ? err.message : String(err)), + ); + } +} + const gt: unknown = typeof globalThis === "undefined" ? null : globalThis; const webWorkerLike = typeof gt === "object" && gt != null diff --git a/src/lib/url.ts b/src/lib/url.ts index 79e7ce660b..61cf6241a9 100644 --- a/src/lib/url.ts +++ b/src/lib/url.ts @@ -6,30 +6,120 @@ const hasOwn = Object.prototype.hasOwnProperty; export type Params = Partial>; +// WHATWG URL parsing strips tab and newline characters, trims leading and +// trailing C0 controls and spaces, ends the path at "?" or "#", treats "\" as +// "/" in special schemes, resolves "%2e" as "." when removing dot segments, and +// reads a leading scheme or "//" as overriding the base URL. +const ignoredURLCharsRE = /[\t\n\r]/g; +// eslint-disable-next-line no-control-regex +const trimmedURLCharsRE = /^[\x00-\x20]+|[\x00-\x20]+$/g; +const pathEndRE = /[?#]/; +const segmentSeparatorRE = /[/\\]/; +const dotSegmentRE = /^(?:\.|%2e){1,2}$/i; +const baseOverrideRE = /^(?:[a-zA-Z][a-zA-Z0-9+.-]*:|[/\\]{2})/; + +function hasDotSegment(value: string): boolean { + const path = value.replace(ignoredURLCharsRE, "").split(pathEndRE, 1)[0]; + return (path ?? "") + .split(segmentSeparatorRE) + .some((part) => dotSegmentRE.test(part.replace(trimmedURLCharsRE, ""))); +} + +function overridesBaseURL(path: string): boolean { + return baseOverrideRE.test( + path.replace(ignoredURLCharsRE, "").replace(trimmedURLCharsRE, ""), + ); +} + +function isBlankSegment(value: string): boolean { + return value.replace(trimmedURLCharsRE, "") === ""; +} + +function parameterError(names: string[], problem: string): Error { + const subject = + names.length === 1 + ? `Parameter '${names[0]}'` + : `Parameters '${names.join("', '")}'`; + return new Error(`${subject} ${problem}`); +} + export function pathToFunc( pathPattern: string, - options?: { charEncoding?: "percent" | "none" }, + options?: { + charEncoding?: "percent" | "none"; + rejectDotSegments?: boolean; + }, ): (params?: Params) => string { const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g; return function buildURLPath(params: Record = {}): string { - return pathPattern - .replace(paramRE, function (_, placeholder) { - if (!hasOwn.call(params, placeholder)) { - throw new Error(`Parameter '${placeholder}' is required`); - } + const leadingContributors: string[] = []; + let leadingSegmentFound = false; + + const path = pathPattern + .split("/") + .map((segment) => { + const contributors: string[] = []; + const rendered = segment.replace(paramRE, function (_, placeholder) { + if (!hasOwn.call(params, placeholder)) { + throw new Error(`Parameter '${placeholder}' is required`); + } + + const value = params[placeholder]; + if (typeof value !== "string" && typeof value !== "number") { + throw new Error( + `Parameter '${placeholder}' must be a string or number`, + ); + } + + const encoded = + options?.charEncoding === "percent" + ? encodeURIComponent(`${value}`) + : `${value}`; + if (options?.rejectDotSegments && pathEndRE.test(encoded)) { + throw parameterError( + [placeholder], + "must not contain an unencoded '?' or '#'", + ); + } + if (encoded !== "") { + contributors.push(placeholder); + } + return encoded; + }); - const value = params[placeholder]; - if (typeof value !== "string" && typeof value !== "number") { - throw new Error( - `Parameter '${placeholder}' must be a string or number`, + if ( + options?.rejectDotSegments && + contributors.length > 0 && + hasDotSegment(rendered) + ) { + throw parameterError( + contributors, + "must not form a '.' or '..' path segment", ); } - return options?.charEncoding === "percent" - ? encodeURIComponent(`${value}`) - : `${value}`; + if (!leadingSegmentFound) { + leadingContributors.push(...contributors); + leadingSegmentFound = !isBlankSegment(rendered); + } + + return rendered; }) + .join("/") .replace(/^\/+/, ""); + + if ( + options?.rejectDotSegments && + leadingContributors.length > 0 && + overridesBaseURL(path) + ) { + throw parameterError( + leadingContributors, + "must not start the path with a URL scheme or '//'", + ); + } + + return path; }; } diff --git a/src/models/acceptprojecttransferrequestop.ts b/src/models/acceptprojecttransferrequestop.ts index c79bdeb65b..f325975678 100644 --- a/src/models/acceptprojecttransferrequestop.ts +++ b/src/models/acceptprojecttransferrequestop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -93,11 +93,13 @@ export const PaidFeatures$outboundSchema: z.ZodType< PaidFeatures$Outbound, z.ZodTypeDef, PaidFeatures -> = z.object({ - concurrentBuilds: z.nullable(z.number().int()).optional(), - passwordProtection: z.nullable(z.boolean()).optional(), - previewDeploymentSuffix: z.nullable(z.boolean()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + concurrentBuilds: z.nullable(z.number().int()).optional(), + passwordProtection: z.nullable(z.boolean()).optional(), + previewDeploymentSuffix: z.nullable(z.boolean()).optional(), + }) +); export function paidFeaturesToJSON(paidFeatures: PaidFeatures): string { return JSON.stringify(PaidFeatures$outboundSchema.parse(paidFeatures)); @@ -115,19 +117,21 @@ export const AcceptedPolicies$outboundSchema: z.ZodType< AcceptedPolicies$Outbound, z.ZodTypeDef, AcceptedPolicies -> = z.object({ - eula: z.date().transform(v => v.toISOString()), - privacy: z.date().transform(v => v.toISOString()), - additionalProperties: z.record(z.date().transform(v => v.toISOString())) - .optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eula: z.date().transform(v => v.toISOString()), + privacy: z.date().transform(v => v.toISOString()), + additionalProperties: z.record(z.date().transform(v => v.toISOString())) + .optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) +); export function acceptedPoliciesToJSON( acceptedPolicies: AcceptedPolicies, @@ -149,12 +153,14 @@ export const AcceptProjectTransferRequestRequestBody$outboundSchema: z.ZodType< AcceptProjectTransferRequestRequestBody$Outbound, z.ZodTypeDef, AcceptProjectTransferRequestRequestBody -> = z.object({ - newProjectName: z.string().optional(), - paidFeatures: z.lazy(() => PaidFeatures$outboundSchema).optional(), - acceptedPolicies: z.record(z.lazy(() => AcceptedPolicies$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newProjectName: z.string().optional(), + paidFeatures: z.lazy(() => PaidFeatures$outboundSchema).optional(), + acceptedPolicies: z.record(z.lazy(() => AcceptedPolicies$outboundSchema)) + .optional(), + }) +); export function acceptProjectTransferRequestRequestBodyToJSON( acceptProjectTransferRequestRequestBody: @@ -180,18 +186,20 @@ export const AcceptProjectTransferRequestRequest$outboundSchema: z.ZodType< AcceptProjectTransferRequestRequest$Outbound, z.ZodTypeDef, AcceptProjectTransferRequestRequest -> = z.object({ - code: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - AcceptProjectTransferRequestRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + AcceptProjectTransferRequestRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function acceptProjectTransferRequestRequestToJSON( acceptProjectTransferRequestRequest: AcceptProjectTransferRequestRequest, @@ -208,7 +216,7 @@ export const AcceptProjectTransferRequestError$inboundSchema: z.ZodType< AcceptProjectTransferRequestError, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function acceptProjectTransferRequestErrorFromJSON( jsonString: string, @@ -223,20 +231,24 @@ export function acceptProjectTransferRequestErrorFromJSON( /** @internal */ export const AcceptProjectTransferRequestStatus$inboundSchema: z.ZodNativeEnum< typeof AcceptProjectTransferRequestStatus -> = z.nativeEnum(AcceptProjectTransferRequestStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AcceptProjectTransferRequestStatus) +); /** @internal */ export const AcceptProjectTransferRequestResult$inboundSchema: z.ZodType< AcceptProjectTransferRequestResult, z.ZodTypeDef, unknown -> = z.object({ - code: types.optional(types.string()), - error: types.optional( - z.lazy(() => AcceptProjectTransferRequestError$inboundSchema), - ), - status: AcceptProjectTransferRequestStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.optional(types.string()), + error: types.optional( + z.lazy(() => AcceptProjectTransferRequestError$inboundSchema), + ), + status: AcceptProjectTransferRequestStatus$inboundSchema, + }) +); export function acceptProjectTransferRequestResultFromJSON( jsonString: string, @@ -254,11 +266,13 @@ export const PartnerCalls$inboundSchema: z.ZodType< PartnerCalls, z.ZodTypeDef, unknown -> = z.object({ - installationId: types.string(), - resourceIds: z.array(types.string()), - result: z.lazy(() => AcceptProjectTransferRequestResult$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + installationId: types.string(), + resourceIds: z.array(types.string()), + result: z.lazy(() => AcceptProjectTransferRequestResult$inboundSchema), + }) +); export function partnerCallsFromJSON( jsonString: string, @@ -275,7 +289,7 @@ export const ResourceTransferErrors$inboundSchema: z.ZodType< ResourceTransferErrors, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function resourceTransferErrorsFromJSON( jsonString: string, @@ -292,14 +306,16 @@ export const AcceptProjectTransferRequestResponseBody$inboundSchema: z.ZodType< AcceptProjectTransferRequestResponseBody, z.ZodTypeDef, unknown -> = z.object({ - partnerCalls: z.array(z.lazy(() => PartnerCalls$inboundSchema)), - projectName: types.string(), - resourceTransferErrors: z.array( - z.lazy(() => ResourceTransferErrors$inboundSchema), - ), - transferredStoreIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + partnerCalls: z.array(z.lazy(() => PartnerCalls$inboundSchema)), + projectName: types.string(), + resourceTransferErrors: z.array( + z.lazy(() => ResourceTransferErrors$inboundSchema), + ), + transferredStoreIds: z.array(types.string()), + }) +); export function acceptProjectTransferRequestResponseBodyFromJSON( jsonString: string, diff --git a/src/models/aclaction.ts b/src/models/aclaction.ts index 650d460acc..0d7f09f2ff 100644 --- a/src/models/aclaction.ts +++ b/src/models/aclaction.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -21,5 +22,5 @@ export const ACLAction = { export type ACLAction = ClosedEnum; /** @internal */ -export const ACLAction$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ACLAction); +export const ACLAction$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ACLAction)); diff --git a/src/models/activatekmssigningkeyop.ts b/src/models/activatekmssigningkeyop.ts index 32c2fd9789..3eca3c4408 100644 --- a/src/models/activatekmssigningkeyop.ts +++ b/src/models/activatekmssigningkeyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -104,9 +104,11 @@ export const ActivateKmsSigningKeyRequestBody$outboundSchema: z.ZodType< ActivateKmsSigningKeyRequestBody$Outbound, z.ZodTypeDef, ActivateKmsSigningKeyRequestBody -> = z.object({ - revokePreviousAfterHours: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + revokePreviousAfterHours: z.number().optional(), + }) +); export function activateKmsSigningKeyRequestBodyToJSON( activateKmsSigningKeyRequestBody: ActivateKmsSigningKeyRequestBody, @@ -132,18 +134,20 @@ export const ActivateKmsSigningKeyRequest$outboundSchema: z.ZodType< ActivateKmsSigningKeyRequest$Outbound, z.ZodTypeDef, ActivateKmsSigningKeyRequest -> = z.object({ - issuerId: z.string(), - keyId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ActivateKmsSigningKeyRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + keyId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ActivateKmsSigningKeyRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function activateKmsSigningKeyRequestToJSON( activateKmsSigningKeyRequest: ActivateKmsSigningKeyRequest, @@ -160,20 +164,22 @@ export const ActivateKmsSigningKeyPublicKey$inboundSchema: z.ZodType< ActivateKmsSigningKeyPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function activateKmsSigningKeyPublicKeyFromJSON( jsonString: string, @@ -188,31 +194,35 @@ export function activateKmsSigningKeyPublicKeyFromJSON( /** @internal */ export const ActivateKmsSigningKeyStatus$inboundSchema: z.ZodNativeEnum< typeof ActivateKmsSigningKeyStatus -> = z.nativeEnum(ActivateKmsSigningKeyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ActivateKmsSigningKeyStatus) +); /** @internal */ export const ActivateKmsSigningKeyResponseBody$inboundSchema: z.ZodType< ActivateKmsSigningKeyResponseBody, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional( - z.lazy(() => ActivateKmsSigningKeyPublicKey$inboundSchema), - ), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: ActivateKmsSigningKeyStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => ActivateKmsSigningKeyPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: ActivateKmsSigningKeyStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function activateKmsSigningKeyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/addbypassipop.ts b/src/models/addbypassipop.ts index 94495495b9..170b245de1 100644 --- a/src/models/addbypassipop.ts +++ b/src/models/addbypassipop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -121,14 +121,16 @@ export const AddBypassIpRequestBody2$outboundSchema: z.ZodType< AddBypassIpRequestBody2$Outbound, z.ZodTypeDef, AddBypassIpRequestBody2 -> = z.object({ - domain: z.string().optional(), - projectScope: z.boolean(), - sourceIp: z.string().optional(), - allSources: z.boolean().optional(), - ttl: z.number().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string().optional(), + projectScope: z.boolean(), + sourceIp: z.string().optional(), + allSources: z.boolean().optional(), + ttl: z.number().optional(), + note: z.string().optional(), + }) +); export function addBypassIpRequestBody2ToJSON( addBypassIpRequestBody2: AddBypassIpRequestBody2, @@ -153,14 +155,16 @@ export const AddBypassIpRequestBody1$outboundSchema: z.ZodType< AddBypassIpRequestBody1$Outbound, z.ZodTypeDef, AddBypassIpRequestBody1 -> = z.object({ - domain: z.string(), - projectScope: z.boolean().optional(), - sourceIp: z.string().optional(), - allSources: z.boolean().optional(), - ttl: z.number().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + projectScope: z.boolean().optional(), + sourceIp: z.string().optional(), + allSources: z.boolean().optional(), + ttl: z.number().optional(), + note: z.string().optional(), + }) +); export function addBypassIpRequestBody1ToJSON( addBypassIpRequestBody1: AddBypassIpRequestBody1, @@ -180,10 +184,12 @@ export const AddBypassIpRequestBody$outboundSchema: z.ZodType< AddBypassIpRequestBody$Outbound, z.ZodTypeDef, AddBypassIpRequestBody -> = smartUnion([ - z.lazy(() => AddBypassIpRequestBody1$outboundSchema), - z.lazy(() => AddBypassIpRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => AddBypassIpRequestBody1$outboundSchema), + z.lazy(() => AddBypassIpRequestBody2$outboundSchema), + ]) +); export function addBypassIpRequestBodyToJSON( addBypassIpRequestBody: AddBypassIpRequestBody, @@ -209,19 +215,21 @@ export const AddBypassIpRequest$outboundSchema: z.ZodType< AddBypassIpRequest$Outbound, z.ZodTypeDef, AddBypassIpRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => AddBypassIpRequestBody1$outboundSchema), - z.lazy(() => AddBypassIpRequestBody2$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => AddBypassIpRequestBody1$outboundSchema), + z.lazy(() => AddBypassIpRequestBody2$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function addBypassIpRequestToJSON( addBypassIpRequest: AddBypassIpRequest, @@ -234,46 +242,48 @@ export function addBypassIpRequestToJSON( /** @internal */ export const ResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyAction -> = z.nativeEnum(ResponseBodyAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyAction)); /** @internal */ export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType< AddBypassIpResponseBodyResult, z.ZodTypeDef, unknown -> = z.object({ - Action: types.optional(ResponseBodyAction$inboundSchema), - ActorId: types.optional(types.string()), - CreatedAt: types.string(), - DeletedAt: types.optional(types.string()), - Domain: types.string(), - ExpiresAt: z.nullable(types.number()).optional(), - Id: types.string(), - Ip: types.string(), - IsProjectRule: types.optional(types.boolean()), - Note: types.optional(types.string()), - OwnerId: types.string(), - ProjectId: types.optional(types.string()), - UpdatedAt: types.string(), - UpdatedAtHour: types.string(), -}).transform((v) => { - return remap$(v, { - "Action": "action", - "ActorId": "actorId", - "CreatedAt": "createdAt", - "DeletedAt": "deletedAt", - "Domain": "domain", - "ExpiresAt": "expiresAt", - "Id": "id", - "Ip": "ip", - "IsProjectRule": "isProjectRule", - "Note": "note", - "OwnerId": "ownerId", - "ProjectId": "projectId", - "UpdatedAt": "updatedAt", - "UpdatedAtHour": "updatedAtHour", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + Action: types.optional(ResponseBodyAction$inboundSchema), + ActorId: types.optional(types.string()), + CreatedAt: types.string(), + DeletedAt: types.optional(types.string()), + Domain: types.string(), + ExpiresAt: z.nullable(types.number()).optional(), + Id: types.string(), + Ip: types.string(), + IsProjectRule: types.optional(types.boolean()), + Note: types.optional(types.string()), + OwnerId: types.string(), + ProjectId: types.optional(types.string()), + UpdatedAt: types.string(), + UpdatedAtHour: types.string(), + }).transform((v) => { + return remap$(v, { + "Action": "action", + "ActorId": "actorId", + "CreatedAt": "createdAt", + "DeletedAt": "deletedAt", + "Domain": "domain", + "ExpiresAt": "expiresAt", + "Id": "id", + "Ip": "ip", + "IsProjectRule": "isProjectRule", + "Note": "note", + "OwnerId": "ownerId", + "ProjectId": "projectId", + "UpdatedAt": "updatedAt", + "UpdatedAtHour": "updatedAtHour", + }); + }) +); export function addBypassIpResponseBodyResultFromJSON( jsonString: string, @@ -290,12 +300,14 @@ export const AddBypassIpResponseBody2$inboundSchema: z.ZodType< AddBypassIpResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), - result: types.optional( - z.array(z.lazy(() => AddBypassIpResponseBodyResult$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + result: types.optional( + z.array(z.lazy(() => AddBypassIpResponseBodyResult$inboundSchema)), + ), + }) +); export function addBypassIpResponseBody2FromJSON( jsonString: string, @@ -312,25 +324,27 @@ export const ResponseBodyResult$inboundSchema: z.ZodType< ResponseBodyResult, z.ZodTypeDef, unknown -> = z.object({ - Domain: types.string(), - Id: types.string(), - Ip: types.optional(types.string()), - IsProjectRule: types.boolean(), - Note: types.string(), - OwnerId: types.string(), - ProjectId: types.string(), -}).transform((v) => { - return remap$(v, { - "Domain": "domain", - "Id": "id", - "Ip": "ip", - "IsProjectRule": "isProjectRule", - "Note": "note", - "OwnerId": "ownerId", - "ProjectId": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + Domain: types.string(), + Id: types.string(), + Ip: types.optional(types.string()), + IsProjectRule: types.boolean(), + Note: types.string(), + OwnerId: types.string(), + ProjectId: types.string(), + }).transform((v) => { + return remap$(v, { + "Domain": "domain", + "Id": "id", + "Ip": "ip", + "IsProjectRule": "isProjectRule", + "Note": "note", + "OwnerId": "ownerId", + "ProjectId": "projectId", + }); + }) +); export function responseBodyResultFromJSON( jsonString: string, @@ -347,11 +361,13 @@ export const AddBypassIpResponseBody1$inboundSchema: z.ZodType< AddBypassIpResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), - pagination: z.nullable(z.any()).optional(), - result: z.array(z.lazy(() => ResponseBodyResult$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + pagination: z.nullable(z.any()).optional(), + result: z.array(z.lazy(() => ResponseBodyResult$inboundSchema)), + }) +); export function addBypassIpResponseBody1FromJSON( jsonString: string, @@ -368,10 +384,12 @@ export const AddBypassIpResponseBody$inboundSchema: z.ZodType< AddBypassIpResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => AddBypassIpResponseBody1$inboundSchema), - z.lazy(() => AddBypassIpResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => AddBypassIpResponseBody1$inboundSchema), + z.lazy(() => AddBypassIpResponseBody2$inboundSchema), + ]) +); export function addBypassIpResponseBodyFromJSON( jsonString: string, diff --git a/src/models/additionalcontactinforequired.ts b/src/models/additionalcontactinforequired.ts index e181c2d60c..487e15070c 100644 --- a/src/models/additionalcontactinforequired.ts +++ b/src/models/additionalcontactinforequired.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,29 @@ export class AdditionalContactInfoRequired extends VercelError { /** @internal */ export const AdditionalContactInfoRequiredCode$inboundSchema: z.ZodNativeEnum< typeof AdditionalContactInfoRequiredCode -> = z.nativeEnum(AdditionalContactInfoRequiredCode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AdditionalContactInfoRequiredCode) +); /** @internal */ export const AdditionalContactInfoRequired$inboundSchema: z.ZodType< AdditionalContactInfoRequired, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: AdditionalContactInfoRequiredCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new AdditionalContactInfoRequired(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: AdditionalContactInfoRequiredCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new AdditionalContactInfoRequired(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/addprojectdomainop.ts b/src/models/addprojectdomainop.ts index 01f283305c..3d36b8a6cd 100644 --- a/src/models/addprojectdomainop.ts +++ b/src/models/addprojectdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -101,7 +101,9 @@ export type AddProjectDomainResponseBody = { /** @internal */ export const AddProjectDomainRedirectStatusCode$outboundSchema: z.ZodNativeEnum< typeof AddProjectDomainRedirectStatusCode -> = z.nativeEnum(AddProjectDomainRedirectStatusCode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddProjectDomainRedirectStatusCode) +); /** @internal */ export type AddProjectDomainRequestBody$Outbound = { @@ -117,15 +119,17 @@ export const AddProjectDomainRequestBody$outboundSchema: z.ZodType< AddProjectDomainRequestBody$Outbound, z.ZodTypeDef, AddProjectDomainRequestBody -> = z.object({ - name: z.string(), - gitBranch: z.nullable(z.string()).optional(), - customEnvironmentId: z.string().optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable( - AddProjectDomainRedirectStatusCode$outboundSchema, - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.string().optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable( + AddProjectDomainRedirectStatusCode$outboundSchema, + ).optional(), + }) +); export function addProjectDomainRequestBodyToJSON( addProjectDomainRequestBody: AddProjectDomainRequestBody, @@ -150,16 +154,18 @@ export const AddProjectDomainRequest$outboundSchema: z.ZodType< AddProjectDomainRequest$Outbound, z.ZodTypeDef, AddProjectDomainRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AddProjectDomainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AddProjectDomainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function addProjectDomainRequestToJSON( addProjectDomainRequest: AddProjectDomainRequest, @@ -174,12 +180,14 @@ export const AddProjectDomainVerification$inboundSchema: z.ZodType< AddProjectDomainVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function addProjectDomainVerificationFromJSON( jsonString: string, @@ -196,21 +204,23 @@ export const AddProjectDomainResponseBody$inboundSchema: z.ZodType< AddProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => AddProjectDomainVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => AddProjectDomainVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function addProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/addprojectmemberop.ts b/src/models/addprojectmemberop.ts index f0d94ec4cc..2fb82a136d 100644 --- a/src/models/addprojectmemberop.ts +++ b/src/models/addprojectmemberop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -144,8 +144,10 @@ export type AddProjectMemberResponseBody = { /** @internal */ export const AddProjectMemberRequestBodyProjectMembersRole$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(AddProjectMemberRequestBodyProjectMembersRole); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddProjectMemberRequestBodyProjectMembersRole) + ); /** @internal */ export type AddProjectMemberRequestBody3$Outbound = { @@ -160,12 +162,14 @@ export const AddProjectMemberRequestBody3$outboundSchema: z.ZodType< AddProjectMemberRequestBody3$Outbound, z.ZodTypeDef, AddProjectMemberRequestBody3 -> = z.object({ - uid: z.string().optional(), - username: z.string().optional(), - email: z.string(), - role: AddProjectMemberRequestBodyProjectMembersRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: z.string().optional(), + username: z.string().optional(), + email: z.string(), + role: AddProjectMemberRequestBodyProjectMembersRole$outboundSchema, + }) +); export function addProjectMemberRequestBody3ToJSON( addProjectMemberRequestBody3: AddProjectMemberRequestBody3, @@ -180,7 +184,9 @@ export function addProjectMemberRequestBody3ToJSON( /** @internal */ export const AddProjectMemberRequestBodyRole$outboundSchema: z.ZodNativeEnum< typeof AddProjectMemberRequestBodyRole -> = z.nativeEnum(AddProjectMemberRequestBodyRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddProjectMemberRequestBodyRole) +); /** @internal */ export type AddProjectMemberRequestBody2$Outbound = { @@ -195,12 +201,14 @@ export const AddProjectMemberRequestBody2$outboundSchema: z.ZodType< AddProjectMemberRequestBody2$Outbound, z.ZodTypeDef, AddProjectMemberRequestBody2 -> = z.object({ - uid: z.string().optional(), - username: z.string(), - email: z.string().optional(), - role: AddProjectMemberRequestBodyRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: z.string().optional(), + username: z.string(), + email: z.string().optional(), + role: AddProjectMemberRequestBodyRole$outboundSchema, + }) +); export function addProjectMemberRequestBody2ToJSON( addProjectMemberRequestBody2: AddProjectMemberRequestBody2, @@ -215,7 +223,7 @@ export function addProjectMemberRequestBody2ToJSON( /** @internal */ export const RequestBodyRole$outboundSchema: z.ZodNativeEnum< typeof RequestBodyRole -> = z.nativeEnum(RequestBodyRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyRole)); /** @internal */ export type AddProjectMemberRequestBody1$Outbound = { @@ -230,12 +238,14 @@ export const AddProjectMemberRequestBody1$outboundSchema: z.ZodType< AddProjectMemberRequestBody1$Outbound, z.ZodTypeDef, AddProjectMemberRequestBody1 -> = z.object({ - uid: z.string(), - username: z.string().optional(), - email: z.string().optional(), - role: RequestBodyRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: z.string(), + username: z.string().optional(), + email: z.string().optional(), + role: RequestBodyRole$outboundSchema, + }) +); export function addProjectMemberRequestBody1ToJSON( addProjectMemberRequestBody1: AddProjectMemberRequestBody1, @@ -258,11 +268,13 @@ export const AddProjectMemberRequestBody$outboundSchema: z.ZodType< AddProjectMemberRequestBody$Outbound, z.ZodTypeDef, AddProjectMemberRequestBody -> = smartUnion([ - z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), + ]) +); export function addProjectMemberRequestBodyToJSON( addProjectMemberRequestBody: AddProjectMemberRequestBody, @@ -290,20 +302,22 @@ export const AddProjectMemberRequest$outboundSchema: z.ZodType< AddProjectMemberRequest$Outbound, z.ZodTypeDef, AddProjectMemberRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), - z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => AddProjectMemberRequestBody1$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody2$outboundSchema), + z.lazy(() => AddProjectMemberRequestBody3$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function addProjectMemberRequestToJSON( addProjectMemberRequest: AddProjectMemberRequest, @@ -318,9 +332,11 @@ export const AddProjectMemberResponseBody$inboundSchema: z.ZodType< AddProjectMemberResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function addProjectMemberResponseBodyFromJSON( jsonString: string, diff --git a/src/models/addrepositorypermissionop.ts b/src/models/addrepositorypermissionop.ts index 7593032575..d6e37dcd2c 100644 --- a/src/models/addrepositorypermissionop.ts +++ b/src/models/addrepositorypermissionop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { @@ -58,10 +58,12 @@ export const AddRepositoryPermissionRequestBody$outboundSchema: z.ZodType< AddRepositoryPermissionRequestBody$Outbound, z.ZodTypeDef, AddRepositoryPermissionRequestBody -> = z.object({ - teamId: z.string().optional(), - teamSlug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + teamSlug: z.string().optional(), + }) +); export function addRepositoryPermissionRequestBodyToJSON( addRepositoryPermissionRequestBody: AddRepositoryPermissionRequestBody, @@ -87,18 +89,20 @@ export const AddRepositoryPermissionRequest$outboundSchema: z.ZodType< AddRepositoryPermissionRequest$Outbound, z.ZodTypeDef, AddRepositoryPermissionRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AddRepositoryPermissionRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AddRepositoryPermissionRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function addRepositoryPermissionRequestToJSON( addRepositoryPermissionRequest: AddRepositoryPermissionRequest, @@ -115,9 +119,11 @@ export const AddRepositoryPermissionResponseBody$inboundSchema: z.ZodType< AddRepositoryPermissionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - permission: VcrRepositoryPermission$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + permission: VcrRepositoryPermission$inboundSchema, + }) +); export function addRepositoryPermissionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/addrouteop.ts b/src/models/addrouteop.ts index b12d1fbe83..a73771014e 100644 --- a/src/models/addrouteop.ts +++ b/src/models/addrouteop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -563,8 +563,8 @@ export type AddRouteResponseBody = { }; /** @internal */ -export const SrcSyntax$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(SrcSyntax); +export const SrcSyntax$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SrcSyntax)); /** @internal */ export type AddRouteHeaders$Outbound = {}; @@ -574,7 +574,7 @@ export const AddRouteHeaders$outboundSchema: z.ZodType< AddRouteHeaders$Outbound, z.ZodTypeDef, AddRouteHeaders -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function addRouteHeadersToJSON( addRouteHeaders: AddRouteHeaders, @@ -584,7 +584,7 @@ export function addRouteHeadersToJSON( /** @internal */ export const AddRouteType$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(AddRouteType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteType)); /** @internal */ export type AddRouteHas$Outbound = { @@ -598,11 +598,13 @@ export const AddRouteHas$outboundSchema: z.ZodType< AddRouteHas$Outbound, z.ZodTypeDef, AddRouteHas -> = z.object({ - type: AddRouteType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: AddRouteType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function addRouteHasToJSON(addRouteHas: AddRouteHas): string { return JSON.stringify(AddRouteHas$outboundSchema.parse(addRouteHas)); @@ -611,7 +613,7 @@ export function addRouteHasToJSON(addRouteHas: AddRouteHas): string { /** @internal */ export const AddRouteProjectRoutesType$outboundSchema: z.ZodNativeEnum< typeof AddRouteProjectRoutesType -> = z.nativeEnum(AddRouteProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteProjectRoutesType)); /** @internal */ export type AddRouteMissing$Outbound = { @@ -625,11 +627,13 @@ export const AddRouteMissing$outboundSchema: z.ZodType< AddRouteMissing$Outbound, z.ZodTypeDef, AddRouteMissing -> = z.object({ - type: AddRouteProjectRoutesType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: AddRouteProjectRoutesType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function addRouteMissingToJSON( addRouteMissing: AddRouteMissing, @@ -640,11 +644,13 @@ export function addRouteMissingToJSON( /** @internal */ export const AddRouteProjectRoutesRequestType$outboundSchema: z.ZodNativeEnum< typeof AddRouteProjectRoutesRequestType -> = z.nativeEnum(AddRouteProjectRoutesRequestType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddRouteProjectRoutesRequestType) +); /** @internal */ -export const AddRouteOp$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(AddRouteOp); +export const AddRouteOp$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteOp)); /** @internal */ export type AddRouteTarget$Outbound = {}; @@ -654,7 +660,7 @@ export const AddRouteTarget$outboundSchema: z.ZodType< AddRouteTarget$Outbound, z.ZodTypeDef, AddRouteTarget -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function addRouteTargetToJSON(addRouteTarget: AddRouteTarget): string { return JSON.stringify(AddRouteTarget$outboundSchema.parse(addRouteTarget)); @@ -674,13 +680,15 @@ export const AddRouteTransforms$outboundSchema: z.ZodType< AddRouteTransforms$Outbound, z.ZodTypeDef, AddRouteTransforms -> = z.object({ - type: AddRouteProjectRoutesRequestType$outboundSchema.optional(), - op: AddRouteOp$outboundSchema.optional(), - target: z.lazy(() => AddRouteTarget$outboundSchema).optional(), - args: z.any().optional(), - env: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: AddRouteProjectRoutesRequestType$outboundSchema.optional(), + op: AddRouteOp$outboundSchema.optional(), + target: z.lazy(() => AddRouteTarget$outboundSchema).optional(), + args: z.any().optional(), + env: z.array(z.string()).optional(), + }) +); export function addRouteTransformsToJSON( addRouteTransforms: AddRouteTransforms, @@ -708,18 +716,20 @@ export const AddRouteProjectRoutesRoute$outboundSchema: z.ZodType< AddRouteProjectRoutesRoute$Outbound, z.ZodTypeDef, AddRouteProjectRoutesRoute -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.lazy(() => AddRouteHeaders$outboundSchema).optional(), - caseSensitive: z.boolean().optional(), - status: z.number().int().optional(), - has: z.array(z.lazy(() => AddRouteHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => AddRouteMissing$outboundSchema)).optional(), - transforms: z.array(z.lazy(() => AddRouteTransforms$outboundSchema)) - .optional(), - respectOriginCacheControl: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.lazy(() => AddRouteHeaders$outboundSchema).optional(), + caseSensitive: z.boolean().optional(), + status: z.number().int().optional(), + has: z.array(z.lazy(() => AddRouteHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => AddRouteMissing$outboundSchema)).optional(), + transforms: z.array(z.lazy(() => AddRouteTransforms$outboundSchema)) + .optional(), + respectOriginCacheControl: z.boolean().optional(), + }) +); export function addRouteProjectRoutesRouteToJSON( addRouteProjectRoutesRoute: AddRouteProjectRoutesRoute, @@ -743,21 +753,23 @@ export const AddRouteRoute$outboundSchema: z.ZodType< AddRouteRoute$Outbound, z.ZodTypeDef, AddRouteRoute -> = z.object({ - name: z.string(), - description: z.string().optional(), - enabled: z.boolean().optional(), - srcSyntax: SrcSyntax$outboundSchema.optional(), - route: z.lazy(() => AddRouteProjectRoutesRoute$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + enabled: z.boolean().optional(), + srcSyntax: SrcSyntax$outboundSchema.optional(), + route: z.lazy(() => AddRouteProjectRoutesRoute$outboundSchema), + }) +); export function addRouteRouteToJSON(addRouteRoute: AddRouteRoute): string { return JSON.stringify(AddRouteRoute$outboundSchema.parse(addRouteRoute)); } /** @internal */ -export const Placement$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Placement); +export const Placement$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Placement)); /** @internal */ export type Position$Outbound = { @@ -770,10 +782,12 @@ export const Position$outboundSchema: z.ZodType< Position$Outbound, z.ZodTypeDef, Position -> = z.object({ - placement: Placement$outboundSchema.optional(), - referenceId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + placement: Placement$outboundSchema.optional(), + referenceId: z.string().optional(), + }) +); export function positionToJSON(position: Position): string { return JSON.stringify(Position$outboundSchema.parse(position)); @@ -790,10 +804,12 @@ export const AddRouteRequestBody$outboundSchema: z.ZodType< AddRouteRequestBody$Outbound, z.ZodTypeDef, AddRouteRequestBody -> = z.object({ - route: z.lazy(() => AddRouteRoute$outboundSchema), - position: z.lazy(() => Position$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + route: z.lazy(() => AddRouteRoute$outboundSchema), + position: z.lazy(() => Position$outboundSchema).optional(), + }) +); export function addRouteRequestBodyToJSON( addRouteRequestBody: AddRouteRequestBody, @@ -816,16 +832,18 @@ export const AddRouteRequest$outboundSchema: z.ZodType< AddRouteRequest$Outbound, z.ZodTypeDef, AddRouteRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AddRouteRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AddRouteRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function addRouteRequestToJSON( addRouteRequest: AddRouteRequest, @@ -836,18 +854,20 @@ export function addRouteRequestToJSON( /** @internal */ export const AddRouteDestinationType$inboundSchema: z.ZodNativeEnum< typeof AddRouteDestinationType -> = z.nativeEnum(AddRouteDestinationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteDestinationType)); /** @internal */ export const AddRouteDestination2$inboundSchema: z.ZodType< AddRouteDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(AddRouteDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(AddRouteDestinationType$inboundSchema), + }) +); export function addRouteDestination2FromJSON( jsonString: string, @@ -864,10 +884,9 @@ export const AddRouteDestination$inboundSchema: z.ZodType< AddRouteDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => AddRouteDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => AddRouteDestination2$inboundSchema), types.string()]) +); export function addRouteDestinationFromJSON( jsonString: string, @@ -882,14 +901,18 @@ export function addRouteDestinationFromJSON( /** @internal */ export const AddRouteHasProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof AddRouteHasProjectRoutesType -> = z.nativeEnum(AddRouteHasProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddRouteHasProjectRoutesType) +); /** @internal */ export const AddRouteValueProjectRoutesEq$inboundSchema: z.ZodType< AddRouteValueProjectRoutesEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function addRouteValueProjectRoutesEqFromJSON( jsonString: string, @@ -906,19 +929,21 @@ export const AddRouteValueProjectRoutes2$inboundSchema: z.ZodType< AddRouteValueProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function addRouteValueProjectRoutes2FromJSON( jsonString: string, @@ -935,10 +960,12 @@ export const AddRouteHasProjectRoutesValue$inboundSchema: z.ZodType< AddRouteHasProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => AddRouteValueProjectRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => AddRouteValueProjectRoutes2$inboundSchema), + ]) +); export function addRouteHasProjectRoutesValueFromJSON( jsonString: string, @@ -955,16 +982,16 @@ export const AddRouteHas2$inboundSchema: z.ZodType< AddRouteHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: AddRouteHasProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: AddRouteHasProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => AddRouteValueProjectRoutes2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function addRouteHas2FromJSON( jsonString: string, @@ -981,7 +1008,9 @@ export const AddRouteValueEq$inboundSchema: z.ZodType< AddRouteValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function addRouteValueEqFromJSON( jsonString: string, @@ -998,19 +1027,21 @@ export const AddRouteValue2$inboundSchema: z.ZodType< AddRouteValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function addRouteValue2FromJSON( jsonString: string, @@ -1027,7 +1058,9 @@ export const AddRouteHasValue$inboundSchema: z.ZodType< AddRouteHasValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => AddRouteValue2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => AddRouteValue2$inboundSchema)]) +); export function addRouteHasValueFromJSON( jsonString: string, @@ -1044,13 +1077,15 @@ export const AddRouteHas1$inboundSchema: z.ZodType< AddRouteHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => AddRouteValue2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => AddRouteValue2$inboundSchema), + ]), + }) +); export function addRouteHas1FromJSON( jsonString: string, @@ -1067,18 +1102,20 @@ export const AddRouteProjectRoutesHas$inboundSchema: z.ZodType< AddRouteProjectRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => AddRouteHas1$inboundSchema), - z.lazy(() => AddRouteHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => AddRouteHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => AddRouteHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => AddRouteHas1$inboundSchema), + z.lazy(() => AddRouteHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => AddRouteHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => AddRouteHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function addRouteProjectRoutesHasFromJSON( jsonString: string, @@ -1095,10 +1132,12 @@ export const AddRouteLocale$inboundSchema: z.ZodType< AddRouteLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function addRouteLocaleFromJSON( jsonString: string, @@ -1113,14 +1152,18 @@ export function addRouteLocaleFromJSON( /** @internal */ export const AddRouteMissingProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof AddRouteMissingProjectRoutesType -> = z.nativeEnum(AddRouteMissingProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddRouteMissingProjectRoutesType) +); /** @internal */ export const AddRouteValueProjectRoutesResponse200Eq$inboundSchema: z.ZodType< AddRouteValueProjectRoutesResponse200Eq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function addRouteValueProjectRoutesResponse200EqFromJSON( jsonString: string, @@ -1143,19 +1186,21 @@ export const AddRouteValueProjectRoutesResponse2002$inboundSchema: z.ZodType< AddRouteValueProjectRoutesResponse2002, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function addRouteValueProjectRoutesResponse2002FromJSON( jsonString: string, @@ -1173,10 +1218,12 @@ export const AddRouteMissingProjectRoutesValue$inboundSchema: z.ZodType< AddRouteMissingProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => AddRouteValueProjectRoutesResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => AddRouteValueProjectRoutesResponse2002$inboundSchema), + ]) +); export function addRouteMissingProjectRoutesValueFromJSON( jsonString: string, @@ -1193,16 +1240,16 @@ export const AddRouteMissing2$inboundSchema: z.ZodType< AddRouteMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: AddRouteMissingProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: AddRouteMissingProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => AddRouteValueProjectRoutesResponse2002$inboundSchema), - ]), - ), -}); + ])), + }) +); export function addRouteMissing2FromJSON( jsonString: string, @@ -1219,7 +1266,9 @@ export const AddRouteValueProjectRoutesResponseEq$inboundSchema: z.ZodType< AddRouteValueProjectRoutesResponseEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function addRouteValueProjectRoutesResponseEqFromJSON( jsonString: string, @@ -1237,19 +1286,21 @@ export const AddRouteValueProjectRoutesResponse2$inboundSchema: z.ZodType< AddRouteValueProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function addRouteValueProjectRoutesResponse2FromJSON( jsonString: string, @@ -1267,10 +1318,12 @@ export const AddRouteMissingValue$inboundSchema: z.ZodType< AddRouteMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => AddRouteValueProjectRoutesResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => AddRouteValueProjectRoutesResponse2$inboundSchema), + ]) +); export function addRouteMissingValueFromJSON( jsonString: string, @@ -1287,13 +1340,15 @@ export const AddRouteMissing1$inboundSchema: z.ZodType< AddRouteMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => AddRouteValueProjectRoutesResponse2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => AddRouteValueProjectRoutesResponse2$inboundSchema), + ]), + }) +); export function addRouteMissing1FromJSON( jsonString: string, @@ -1310,18 +1365,20 @@ export const AddRouteProjectRoutesMissing$inboundSchema: z.ZodType< AddRouteProjectRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => AddRouteMissing1$inboundSchema), - z.lazy(() => AddRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => AddRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => AddRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => AddRouteMissing1$inboundSchema), + z.lazy(() => AddRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => AddRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => AddRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function addRouteProjectRoutesMissingFromJSON( jsonString: string, @@ -1336,16 +1393,18 @@ export function addRouteProjectRoutesMissingFromJSON( /** @internal */ export const AddRouteAction$inboundSchema: z.ZodNativeEnum< typeof AddRouteAction -> = z.nativeEnum(AddRouteAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteAction)); /** @internal */ export const AddRouteMitigate$inboundSchema: z.ZodType< AddRouteMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: AddRouteAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: AddRouteAction$inboundSchema, + }) +); export function addRouteMitigateFromJSON( jsonString: string, @@ -1360,20 +1419,24 @@ export function addRouteMitigateFromJSON( /** @internal */ export const AddRouteTransformsProjectRoutesOp$inboundSchema: z.ZodNativeEnum< typeof AddRouteTransformsProjectRoutesOp -> = z.nativeEnum(AddRouteTransformsProjectRoutesOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AddRouteTransformsProjectRoutesOp) +); /** @internal */ export const AddRouteTransforms2$inboundSchema: z.ZodType< AddRouteTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: AddRouteTransformsProjectRoutesOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: AddRouteTransformsProjectRoutesOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function addRouteTransforms2FromJSON( jsonString: string, @@ -1390,7 +1453,9 @@ export const TransformsArgs$inboundSchema: z.ZodType< TransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function transformsArgsFromJSON( jsonString: string, @@ -1405,14 +1470,16 @@ export function transformsArgsFromJSON( /** @internal */ export const AddRouteTransformsOp$inboundSchema: z.ZodNativeEnum< typeof AddRouteTransformsOp -> = z.nativeEnum(AddRouteTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteTransformsOp)); /** @internal */ export const AddRouteKeyEq$inboundSchema: z.ZodType< AddRouteKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function addRouteKeyEqFromJSON( jsonString: string, @@ -1429,18 +1496,20 @@ export const AddRouteKey2$inboundSchema: z.ZodType< AddRouteKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function addRouteKey2FromJSON( jsonString: string, @@ -1457,7 +1526,9 @@ export const TransformsKey$inboundSchema: z.ZodType< TransformsKey, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => AddRouteKey2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => AddRouteKey2$inboundSchema)]) +); export function transformsKeyFromJSON( jsonString: string, @@ -1474,9 +1545,11 @@ export const AddRouteTransformsTarget$inboundSchema: z.ZodType< AddRouteTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([types.string(), z.lazy(() => AddRouteKey2$inboundSchema)]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([types.string(), z.lazy(() => AddRouteKey2$inboundSchema)]), + }) +); export function addRouteTransformsTargetFromJSON( jsonString: string, @@ -1491,20 +1564,22 @@ export function addRouteTransformsTargetFromJSON( /** @internal */ export const AddRouteTransformsType$inboundSchema: z.ZodNativeEnum< typeof AddRouteTransformsType -> = z.nativeEnum(AddRouteTransformsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteTransformsType)); /** @internal */ export const AddRouteTransforms1$inboundSchema: z.ZodType< AddRouteTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: AddRouteTransformsOp$inboundSchema, - target: z.lazy(() => AddRouteTransformsTarget$inboundSchema), - type: AddRouteTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: AddRouteTransformsOp$inboundSchema, + target: z.lazy(() => AddRouteTransformsTarget$inboundSchema), + type: AddRouteTransformsType$inboundSchema, + }) +); export function addRouteTransforms1FromJSON( jsonString: string, @@ -1521,18 +1596,20 @@ export const AddRouteProjectRoutesTransforms$inboundSchema: z.ZodType< AddRouteProjectRoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => AddRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => AddRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => AddRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => AddRouteTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => AddRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => AddRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => AddRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => AddRouteTransforms2$inboundSchema), + ]) +); export function addRouteProjectRoutesTransformsFromJSON( jsonString: string, @@ -1549,20 +1626,18 @@ export const AddRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< AddRouteProjectRoutesResponse200Route, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => AddRouteDestination2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => AddRouteHas1$inboundSchema), z.lazy(() => AddRouteHas2$inboundSchema @@ -1573,17 +1648,17 @@ export const AddRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.lazy(() => AddRouteHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => AddRouteLocale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + AddRouteLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => AddRouteMissing1$inboundSchema), z.lazy(() => AddRouteMissing2$inboundSchema @@ -1594,17 +1669,17 @@ export const AddRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.lazy(() => AddRouteMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional(z.lazy(() => AddRouteMitigate$inboundSchema)), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + AddRouteMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => AddRouteTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -1615,9 +1690,9 @@ export const AddRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => AddRouteTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function addRouteProjectRoutesResponse200RouteFromJSON( jsonString: string, @@ -1631,31 +1706,33 @@ export function addRouteProjectRoutesResponse200RouteFromJSON( } /** @internal */ -export const RouteType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RouteType); +export const RouteType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RouteType)); /** @internal */ export const AddRouteSrcSyntax$inboundSchema: z.ZodNativeEnum< typeof AddRouteSrcSyntax -> = z.nativeEnum(AddRouteSrcSyntax); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AddRouteSrcSyntax)); /** @internal */ export const AddRouteProjectRoutesResponseRoute$inboundSchema: z.ZodType< AddRouteProjectRoutesResponseRoute, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - enabled: types.optional(types.boolean()), - id: types.string(), - name: types.string(), - rawDest: types.optional(types.string()), - rawSrc: types.optional(types.string()), - route: z.lazy(() => AddRouteProjectRoutesResponse200Route$inboundSchema), - routeType: types.optional(RouteType$inboundSchema), - srcSyntax: types.optional(AddRouteSrcSyntax$inboundSchema), - staged: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + enabled: types.optional(types.boolean()), + id: types.string(), + name: types.string(), + rawDest: types.optional(types.string()), + rawSrc: types.optional(types.string()), + route: z.lazy(() => AddRouteProjectRoutesResponse200Route$inboundSchema), + routeType: types.optional(RouteType$inboundSchema), + srcSyntax: types.optional(AddRouteSrcSyntax$inboundSchema), + staged: types.optional(types.boolean()), + }) +); export function addRouteProjectRoutesResponseRouteFromJSON( jsonString: string, @@ -1673,16 +1750,18 @@ export const AddRouteVersion$inboundSchema: z.ZodType< AddRouteVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function addRouteVersionFromJSON( jsonString: string, @@ -1699,10 +1778,12 @@ export const AddRouteResponseBody$inboundSchema: z.ZodType< AddRouteResponseBody, z.ZodTypeDef, unknown -> = z.object({ - route: z.lazy(() => AddRouteProjectRoutesResponseRoute$inboundSchema), - version: z.lazy(() => AddRouteVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + route: z.lazy(() => AddRouteProjectRoutesResponseRoute$inboundSchema), + version: z.lazy(() => AddRouteVersion$inboundSchema), + }) +); export function addRouteResponseBodyFromJSON( jsonString: string, diff --git a/src/models/aggregateeventsop.ts b/src/models/aggregateeventsop.ts index 29d46c35a5..fa2b2b85b3 100644 --- a/src/models/aggregateeventsop.ts +++ b/src/models/aggregateeventsop.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -220,7 +221,7 @@ export type AggregateEventsResponseBody = { /** @internal */ export const ByQueryParam1$outboundSchema: z.ZodNativeEnum< typeof ByQueryParam1 -> = z.nativeEnum(ByQueryParam1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ByQueryParam1)); /** @internal */ export type QueryParamBy$Outbound = string | string; @@ -230,7 +231,9 @@ export const QueryParamBy$outboundSchema: z.ZodType< QueryParamBy$Outbound, z.ZodTypeDef, QueryParamBy -> = smartUnion([ByQueryParam1$outboundSchema, z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ByQueryParam1$outboundSchema, z.string()]) +); export function queryParamByToJSON(queryParamBy: QueryParamBy): string { return JSON.stringify(QueryParamBy$outboundSchema.parse(queryParamBy)); @@ -244,7 +247,7 @@ export const QueryParamSince$outboundSchema: z.ZodType< QueryParamSince$Outbound, z.ZodTypeDef, QueryParamSince -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function queryParamSinceToJSON( queryParamSince: QueryParamSince, @@ -260,7 +263,7 @@ export const QueryParamUntil$outboundSchema: z.ZodType< QueryParamUntil$Outbound, z.ZodTypeDef, QueryParamUntil -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function queryParamUntilToJSON( queryParamUntil: QueryParamUntil, @@ -285,16 +288,18 @@ export const AggregateEventsRequest$outboundSchema: z.ZodType< AggregateEventsRequest$Outbound, z.ZodTypeDef, AggregateEventsRequest -> = z.object({ - projectId: z.string(), - by: z.array(smartUnion([ByQueryParam1$outboundSchema, z.string()])), - since: smartUnion([z.number(), z.string()]), - until: smartUnion([z.number(), z.string()]), - limit: z.number().int().default(10), - filter: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + by: z.array(smartUnion([ByQueryParam1$outboundSchema, z.string()])), + since: smartUnion([z.number(), z.string()]), + until: smartUnion([z.number(), z.string()]), + limit: z.number().int().default(10), + filter: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function aggregateEventsRequestToJSON( aggregateEventsRequest: AggregateEventsRequest, @@ -309,33 +314,35 @@ export const AggregateEventsData2$inboundSchema: z.ZodType< AggregateEventsData2, z.ZodTypeDef, unknown -> = collectExtraKeys$( - z.object({ - browserName: types.string(), - country: types.string(), - deviceType: types.string(), - environment: types.string(), - eventData: types.string(), - eventName: types.string(), - flags: types.string(), - groupId: types.string(), - osName: types.string(), - projectId: types.string(), - projectName: types.string(), - referrerHostname: types.string(), - requestHostname: types.string(), - requestPath: types.string(), - route: types.string(), - userId: types.string(), - utmCampaign: types.string(), - utmContent: types.string(), - utmMedium: types.string(), - utmSource: types.string(), - utmTerm: types.string(), - visitorId: types.string(), - }).catchall(types.number()), - "additionalProperties", - true, +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + browserName: types.string(), + country: types.string(), + deviceType: types.string(), + environment: types.string(), + eventData: types.string(), + eventName: types.string(), + flags: types.string(), + groupId: types.string(), + osName: types.string(), + projectId: types.string(), + projectName: types.string(), + referrerHostname: types.string(), + requestHostname: types.string(), + requestPath: types.string(), + route: types.string(), + userId: types.string(), + utmCampaign: types.string(), + utmContent: types.string(), + utmMedium: types.string(), + utmSource: types.string(), + utmTerm: types.string(), + visitorId: types.string(), + }).catchall(types.number()), + "additionalProperties", + true, + ) ); export function aggregateEventsData2FromJSON( @@ -353,31 +360,33 @@ export const AggregateEventsData1$inboundSchema: z.ZodType< AggregateEventsData1, z.ZodTypeDef, unknown -> = z.object({ - browserName: types.optional(types.string()), - country: types.optional(types.string()), - deviceType: types.optional(types.string()), - environment: types.optional(types.string()), - eventData: types.optional(types.string()), - eventName: types.optional(types.string()), - flags: types.optional(types.string()), - groupId: types.optional(types.string()), - osName: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - referrerHostname: types.optional(types.string()), - requestHostname: types.optional(types.string()), - requestPath: types.optional(types.string()), - route: types.optional(types.string()), - userId: types.optional(types.string()), - utmCampaign: types.optional(types.string()), - utmContent: types.optional(types.string()), - utmMedium: types.optional(types.string()), - utmSource: types.optional(types.string()), - utmTerm: types.optional(types.string()), - visitorId: types.optional(types.string()), - timestamp: types.date(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + browserName: types.optional(types.string()), + country: types.optional(types.string()), + deviceType: types.optional(types.string()), + environment: types.optional(types.string()), + eventData: types.optional(types.string()), + eventName: types.optional(types.string()), + flags: types.optional(types.string()), + groupId: types.optional(types.string()), + osName: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + referrerHostname: types.optional(types.string()), + requestHostname: types.optional(types.string()), + requestPath: types.optional(types.string()), + route: types.optional(types.string()), + userId: types.optional(types.string()), + utmCampaign: types.optional(types.string()), + utmContent: types.optional(types.string()), + utmMedium: types.optional(types.string()), + utmSource: types.optional(types.string()), + utmTerm: types.optional(types.string()), + visitorId: types.optional(types.string()), + timestamp: types.date(), + }) +); export function aggregateEventsData1FromJSON( jsonString: string, @@ -394,10 +403,12 @@ export const AggregateEventsData$inboundSchema: z.ZodType< AggregateEventsData, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => AggregateEventsData1$inboundSchema)), - z.array(z.lazy(() => AggregateEventsData2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => AggregateEventsData1$inboundSchema)), + z.array(z.lazy(() => AggregateEventsData2$inboundSchema)), + ]) +); export function aggregateEventsDataFromJSON( jsonString: string, @@ -412,14 +423,16 @@ export function aggregateEventsDataFromJSON( /** @internal */ export const AggregateEventsGroupBy2$inboundSchema: z.ZodNativeEnum< typeof AggregateEventsGroupBy2 -> = z.nativeEnum(AggregateEventsGroupBy2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AggregateEventsGroupBy2)); /** @internal */ export const AggregateEventsGroupBy$inboundSchema: z.ZodType< AggregateEventsGroupBy, z.ZodTypeDef, unknown -> = smartUnion([types.string(), AggregateEventsGroupBy2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), AggregateEventsGroupBy2$inboundSchema]) +); export function aggregateEventsGroupByFromJSON( jsonString: string, @@ -436,17 +449,19 @@ export const AggregateEventsQuery$inboundSchema: z.ZodType< AggregateEventsQuery, z.ZodTypeDef, unknown -> = z.object({ - filter: types.optional(types.string()), - groupBy: types.optional( - z.array( - smartUnion([types.string(), AggregateEventsGroupBy2$inboundSchema]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: types.optional(types.string()), + groupBy: types.optional( + z.array( + smartUnion([types.string(), AggregateEventsGroupBy2$inboundSchema]), + ), ), - ), - limit: types.number(), - since: types.string(), - until: types.string(), -}); + limit: types.number(), + since: types.string(), + until: types.string(), + }) +); export function aggregateEventsQueryFromJSON( jsonString: string, @@ -463,14 +478,16 @@ export const AggregateEventsResponseBody$inboundSchema: z.ZodType< AggregateEventsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: smartUnion([ - z.array(z.lazy(() => AggregateEventsData1$inboundSchema)), - z.array(z.lazy(() => AggregateEventsData2$inboundSchema)), - ]), - query: z.lazy(() => AggregateEventsQuery$inboundSchema), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: smartUnion([ + z.array(z.lazy(() => AggregateEventsData1$inboundSchema)), + z.array(z.lazy(() => AggregateEventsData2$inboundSchema)), + ]), + query: z.lazy(() => AggregateEventsQuery$inboundSchema), + version: types.number(), + }) +); export function aggregateEventsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/aggregatepageviewsop.ts b/src/models/aggregatepageviewsop.ts index 85618c2af9..7601bd7ac7 100644 --- a/src/models/aggregatepageviewsop.ts +++ b/src/models/aggregatepageviewsop.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -208,15 +209,17 @@ export type AggregatePageviewsResponseBody = { }; /** @internal */ -export const QueryParam1$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(QueryParam1); +export const QueryParam1$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParam1)); /** @internal */ export type By$Outbound = string | string; /** @internal */ export const By$outboundSchema: z.ZodType = - smartUnion([QueryParam1$outboundSchema, z.string()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([QueryParam1$outboundSchema, z.string()]) + ); export function byToJSON(by: By): string { return JSON.stringify(By$outboundSchema.parse(by)); @@ -230,7 +233,7 @@ export const Since$outboundSchema: z.ZodType< Since$Outbound, z.ZodTypeDef, Since -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function sinceToJSON(since: Since): string { return JSON.stringify(Since$outboundSchema.parse(since)); @@ -244,7 +247,7 @@ export const Until$outboundSchema: z.ZodType< Until$Outbound, z.ZodTypeDef, Until -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function untilToJSON(until: Until): string { return JSON.stringify(Until$outboundSchema.parse(until)); @@ -267,16 +270,18 @@ export const AggregatePageviewsRequest$outboundSchema: z.ZodType< AggregatePageviewsRequest$Outbound, z.ZodTypeDef, AggregatePageviewsRequest -> = z.object({ - projectId: z.string(), - by: z.array(smartUnion([QueryParam1$outboundSchema, z.string()])), - since: smartUnion([z.number(), z.string()]), - until: smartUnion([z.number(), z.string()]), - limit: z.number().int().default(10), - filter: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + by: z.array(smartUnion([QueryParam1$outboundSchema, z.string()])), + since: smartUnion([z.number(), z.string()]), + until: smartUnion([z.number(), z.string()]), + limit: z.number().int().default(10), + filter: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function aggregatePageviewsRequestToJSON( aggregatePageviewsRequest: AggregatePageviewsRequest, @@ -291,31 +296,33 @@ export const AggregatePageviewsData2$inboundSchema: z.ZodType< AggregatePageviewsData2, z.ZodTypeDef, unknown -> = collectExtraKeys$( - z.object({ - browserName: types.string(), - country: types.string(), - deviceType: types.string(), - environment: types.string(), - flags: types.string(), - groupId: types.string(), - osName: types.string(), - projectId: types.string(), - projectName: types.string(), - referrerHostname: types.string(), - requestHostname: types.string(), - requestPath: types.string(), - route: types.string(), - userId: types.string(), - utmCampaign: types.string(), - utmContent: types.string(), - utmMedium: types.string(), - utmSource: types.string(), - utmTerm: types.string(), - visitorId: types.string(), - }).catchall(types.number()), - "additionalProperties", - true, +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + browserName: types.string(), + country: types.string(), + deviceType: types.string(), + environment: types.string(), + flags: types.string(), + groupId: types.string(), + osName: types.string(), + projectId: types.string(), + projectName: types.string(), + referrerHostname: types.string(), + requestHostname: types.string(), + requestPath: types.string(), + route: types.string(), + userId: types.string(), + utmCampaign: types.string(), + utmContent: types.string(), + utmMedium: types.string(), + utmSource: types.string(), + utmTerm: types.string(), + visitorId: types.string(), + }).catchall(types.number()), + "additionalProperties", + true, + ) ); export function aggregatePageviewsData2FromJSON( @@ -333,29 +340,31 @@ export const AggregatePageviewsData1$inboundSchema: z.ZodType< AggregatePageviewsData1, z.ZodTypeDef, unknown -> = z.object({ - browserName: types.optional(types.string()), - country: types.optional(types.string()), - deviceType: types.optional(types.string()), - environment: types.optional(types.string()), - flags: types.optional(types.string()), - groupId: types.optional(types.string()), - osName: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - referrerHostname: types.optional(types.string()), - requestHostname: types.optional(types.string()), - requestPath: types.optional(types.string()), - route: types.optional(types.string()), - userId: types.optional(types.string()), - utmCampaign: types.optional(types.string()), - utmContent: types.optional(types.string()), - utmMedium: types.optional(types.string()), - utmSource: types.optional(types.string()), - utmTerm: types.optional(types.string()), - visitorId: types.optional(types.string()), - timestamp: types.date(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + browserName: types.optional(types.string()), + country: types.optional(types.string()), + deviceType: types.optional(types.string()), + environment: types.optional(types.string()), + flags: types.optional(types.string()), + groupId: types.optional(types.string()), + osName: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + referrerHostname: types.optional(types.string()), + requestHostname: types.optional(types.string()), + requestPath: types.optional(types.string()), + route: types.optional(types.string()), + userId: types.optional(types.string()), + utmCampaign: types.optional(types.string()), + utmContent: types.optional(types.string()), + utmMedium: types.optional(types.string()), + utmSource: types.optional(types.string()), + utmTerm: types.optional(types.string()), + visitorId: types.optional(types.string()), + timestamp: types.date(), + }) +); export function aggregatePageviewsData1FromJSON( jsonString: string, @@ -372,10 +381,12 @@ export const AggregatePageviewsData$inboundSchema: z.ZodType< AggregatePageviewsData, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => AggregatePageviewsData1$inboundSchema)), - z.array(z.lazy(() => AggregatePageviewsData2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => AggregatePageviewsData1$inboundSchema)), + z.array(z.lazy(() => AggregatePageviewsData2$inboundSchema)), + ]) +); export function aggregatePageviewsDataFromJSON( jsonString: string, @@ -388,12 +399,14 @@ export function aggregatePageviewsDataFromJSON( } /** @internal */ -export const GroupBy2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GroupBy2); +export const GroupBy2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GroupBy2)); /** @internal */ export const GroupBy$inboundSchema: z.ZodType = - smartUnion([types.string(), GroupBy2$inboundSchema]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), GroupBy2$inboundSchema]) + ); export function groupByFromJSON( jsonString: string, @@ -406,16 +419,18 @@ export function groupByFromJSON( } /** @internal */ -export const Query$inboundSchema: z.ZodType = z - .object({ - filter: types.optional(types.string()), - groupBy: types.optional( - z.array(smartUnion([types.string(), GroupBy2$inboundSchema])), - ), - limit: types.number(), - since: types.string(), - until: types.string(), - }); +export const Query$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: types.optional(types.string()), + groupBy: types.optional( + z.array(smartUnion([types.string(), GroupBy2$inboundSchema])), + ), + limit: types.number(), + since: types.string(), + until: types.string(), + }) + ); export function queryFromJSON( jsonString: string, @@ -432,14 +447,16 @@ export const AggregatePageviewsResponseBody$inboundSchema: z.ZodType< AggregatePageviewsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: smartUnion([ - z.array(z.lazy(() => AggregatePageviewsData1$inboundSchema)), - z.array(z.lazy(() => AggregatePageviewsData2$inboundSchema)), - ]), - query: z.lazy(() => Query$inboundSchema), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: smartUnion([ + z.array(z.lazy(() => AggregatePageviewsData1$inboundSchema)), + z.array(z.lazy(() => AggregatePageviewsData2$inboundSchema)), + ]), + query: z.lazy(() => Query$inboundSchema), + version: types.number(), + }) +); export function aggregatePageviewsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/aigatewaybudget.ts b/src/models/aigatewaybudget.ts index df08ff15c7..596a1398be 100644 --- a/src/models/aigatewaybudget.ts +++ b/src/models/aigatewaybudget.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -19,6 +19,7 @@ export type RefreshPeriod = ClosedEnum; export const ScopeType = { ApiKey: "api-key", + App: "app", Project: "project", Team: "team", User: "user", @@ -43,13 +44,17 @@ export type AiGatewayBudget = { createdAt: number; currentByokSpend: number; currentSpend: number; + /** + * When a member's own budget change lapses and the user default applies again, in ms since the epoch. Absent means the budget is permanent. + */ + expiresAt?: number | undefined; includeByokInQuota: boolean; limitAmount: number; name?: string | undefined; quotaEntityId: string; refreshPeriod: RefreshPeriod; /** - * The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped). + * The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); user and app scopes also use the quota entity id (`usr_` / `app_`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped). */ scopeId: string; scopeType: ScopeType; @@ -63,38 +68,41 @@ export type AiGatewayBudget = { /** @internal */ export const RefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof RefreshPeriod -> = z.nativeEnum(RefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RefreshPeriod)); /** @internal */ -export const ScopeType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ScopeType); +export const ScopeType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ScopeType)); /** @internal */ -export const Source$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Source); +export const Source$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Source)); /** @internal */ export const AiGatewayBudget$inboundSchema: z.ZodType< AiGatewayBudget, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - alertThresholds: types.optional(z.array(types.number())), - archived: types.boolean(), - createdAt: types.number(), - currentByokSpend: types.number(), - currentSpend: types.number(), - includeByokInQuota: types.boolean(), - limitAmount: types.number(), - name: types.optional(types.string()), - quotaEntityId: types.string(), - refreshPeriod: RefreshPeriod$inboundSchema, - scopeId: types.string(), - scopeType: ScopeType$inboundSchema, - source: types.optional(Source$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + alertThresholds: types.optional(z.array(types.number())), + archived: types.boolean(), + createdAt: types.number(), + currentByokSpend: types.number(), + currentSpend: types.number(), + expiresAt: types.optional(types.number()), + includeByokInQuota: types.boolean(), + limitAmount: types.number(), + name: types.optional(types.string()), + quotaEntityId: types.string(), + refreshPeriod: RefreshPeriod$inboundSchema, + scopeId: types.string(), + scopeType: ScopeType$inboundSchema, + source: types.optional(Source$inboundSchema), + updatedAt: types.number(), + }) +); export function aiGatewayBudgetFromJSON( jsonString: string, diff --git a/src/models/aigatewaybudgetdefault.ts b/src/models/aigatewaybudgetdefault.ts index d2626285c4..2c1791bbcc 100644 --- a/src/models/aigatewaybudgetdefault.ts +++ b/src/models/aigatewaybudgetdefault.ts @@ -3,12 +3,24 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; +/** + * `api-key` scope only: key spend attributions covered. Absent means both. + */ +export const AppliesTo = { + Team: "team", + User: "user", +} as const; +/** + * `api-key` scope only: key spend attributions covered. Absent means both. + */ +export type AppliesTo = ClosedEnum; + export const AiGatewayBudgetDefaultRefreshPeriod = { Daily: "daily", Monthly: "monthly", @@ -21,6 +33,7 @@ export type AiGatewayBudgetDefaultRefreshPeriod = ClosedEnum< export const AiGatewayBudgetDefaultScopeType = { ApiKey: "api-key", + App: "app", Project: "project", Team: "team", User: "user", @@ -32,6 +45,10 @@ export type AiGatewayBudgetDefaultScopeType = ClosedEnum< export type AiGatewayBudgetDefault = { active: boolean; alertThresholds?: Array | undefined; + /** + * `api-key` scope only: key spend attributions covered. Absent means both. + */ + appliesTo?: Array | undefined; createdAt: number; limitAmount: number; refreshPeriod: AiGatewayBudgetDefaultRefreshPeriod; @@ -39,30 +56,41 @@ export type AiGatewayBudgetDefault = { updatedAt: number; }; +/** @internal */ +export const AppliesTo$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AppliesTo)); + /** @internal */ export const AiGatewayBudgetDefaultRefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof AiGatewayBudgetDefaultRefreshPeriod -> = z.nativeEnum(AiGatewayBudgetDefaultRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AiGatewayBudgetDefaultRefreshPeriod) +); /** @internal */ export const AiGatewayBudgetDefaultScopeType$inboundSchema: z.ZodNativeEnum< typeof AiGatewayBudgetDefaultScopeType -> = z.nativeEnum(AiGatewayBudgetDefaultScopeType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AiGatewayBudgetDefaultScopeType) +); /** @internal */ export const AiGatewayBudgetDefault$inboundSchema: z.ZodType< AiGatewayBudgetDefault, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - alertThresholds: types.optional(z.array(types.number())), - createdAt: types.number(), - limitAmount: types.number(), - refreshPeriod: AiGatewayBudgetDefaultRefreshPeriod$inboundSchema, - scopeType: AiGatewayBudgetDefaultScopeType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + alertThresholds: types.optional(z.array(types.number())), + appliesTo: types.optional(z.array(AppliesTo$inboundSchema)), + createdAt: types.number(), + limitAmount: types.number(), + refreshPeriod: AiGatewayBudgetDefaultRefreshPeriod$inboundSchema, + scopeType: AiGatewayBudgetDefaultScopeType$inboundSchema, + updatedAt: types.number(), + }) +); export function aiGatewayBudgetDefaultFromJSON( jsonString: string, diff --git a/src/models/aigatewaybudgetdefaultlist.ts b/src/models/aigatewaybudgetdefaultlist.ts index 095ae48dd3..13570e94bc 100644 --- a/src/models/aigatewaybudgetdefaultlist.ts +++ b/src/models/aigatewaybudgetdefaultlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { AiGatewayBudgetDefault, @@ -20,9 +20,11 @@ export const AiGatewayBudgetDefaultList$inboundSchema: z.ZodType< AiGatewayBudgetDefaultList, z.ZodTypeDef, unknown -> = z.object({ - defaults: z.array(AiGatewayBudgetDefault$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaults: z.array(AiGatewayBudgetDefault$inboundSchema), + }) +); export function aiGatewayBudgetDefaultListFromJSON( jsonString: string, diff --git a/src/models/aigatewaybudgetlist.ts b/src/models/aigatewaybudgetlist.ts index 9fda0cd1e2..3ef81309a1 100644 --- a/src/models/aigatewaybudgetlist.ts +++ b/src/models/aigatewaybudgetlist.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -18,6 +18,10 @@ import { SDKValidationError } from "./sdkvalidationerror.js"; */ export type DefaultCoveredCounts = { apiKey: number; + /** + * Omitted when no app row is default-covered. + */ + app?: number | undefined; project: number; team: number; user: number; @@ -40,16 +44,19 @@ export const DefaultCoveredCounts$inboundSchema: z.ZodType< DefaultCoveredCounts, z.ZodTypeDef, unknown -> = z.object({ - "api-key": types.number(), - project: types.number(), - team: types.number(), - user: types.number(), -}).transform((v) => { - return remap$(v, { - "api-key": "apiKey", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "api-key": types.number(), + app: types.optional(types.number()), + project: types.number(), + team: types.number(), + user: types.number(), + }).transform((v) => { + return remap$(v, { + "api-key": "apiKey", + }); + }) +); export function defaultCoveredCountsFromJSON( jsonString: string, @@ -66,13 +73,15 @@ export const AiGatewayBudgetList$inboundSchema: z.ZodType< AiGatewayBudgetList, z.ZodTypeDef, unknown -> = z.object({ - budgets: z.array(AiGatewayBudget$inboundSchema), - defaultCoveredCounts: types.optional( - z.lazy(() => DefaultCoveredCounts$inboundSchema), - ), - nextCursor: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budgets: z.array(AiGatewayBudget$inboundSchema), + defaultCoveredCounts: types.optional( + z.lazy(() => DefaultCoveredCounts$inboundSchema), + ), + nextCursor: z.nullable(types.string()).optional(), + }) +); export function aiGatewayBudgetListFromJSON( jsonString: string, diff --git a/src/models/aigatewayevaluationfallbackcondition.ts b/src/models/aigatewayevaluationfallbackcondition.ts index b8d379f1b8..774fd4d00e 100644 --- a/src/models/aigatewayevaluationfallbackcondition.ts +++ b/src/models/aigatewayevaluationfallbackcondition.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -72,10 +72,12 @@ export const AiGatewayEvaluationFallbackCondition1$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition1, z.ZodTypeDef, unknown -> = z.object({ - confidenceBelow: types.number(), - question: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + confidenceBelow: types.number(), + question: types.optional(types.string()), + }) +); export function aiGatewayEvaluationFallbackCondition1FromJSON( jsonString: string, @@ -93,10 +95,12 @@ export const AiGatewayEvaluationFallbackCondition2$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition2, z.ZodTypeDef, unknown -> = z.object({ - probabilityBetween: z.array(types.number()), - question: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + probabilityBetween: z.array(types.number()), + question: types.optional(types.string()), + }) +); export function aiGatewayEvaluationFallbackCondition2FromJSON( jsonString: string, @@ -114,17 +118,17 @@ export const AiGatewayEvaluationFallbackCondition3$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition3, z.ZodTypeDef, unknown -> = z.object({ - any: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + any: z.array(smartUnion([ z.lazy(() => AiGatewayEvaluationFallbackCondition1$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition2$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition3$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition4$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition5$inboundSchema), - ]), - ), -}); + ])), + }) +); export function aiGatewayEvaluationFallbackCondition3FromJSON( jsonString: string, @@ -142,17 +146,17 @@ export const AiGatewayEvaluationFallbackCondition4$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition4, z.ZodTypeDef, unknown -> = z.object({ - all: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + all: z.array(smartUnion([ z.lazy(() => AiGatewayEvaluationFallbackCondition1$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition2$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition3$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition4$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition5$inboundSchema), - ]), - ), -}); + ])), + }) +); export function aiGatewayEvaluationFallbackCondition4FromJSON( jsonString: string, @@ -170,9 +174,11 @@ export const AiGatewayEvaluationFallbackCondition5$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition5, z.ZodTypeDef, unknown -> = z.object({ - atLeast: z.lazy(() => AtLeast$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + atLeast: z.lazy(() => AtLeast$inboundSchema), + }) +); export function aiGatewayEvaluationFallbackCondition5FromJSON( jsonString: string, @@ -190,13 +196,15 @@ export const AiGatewayEvaluationFallbackCondition$inboundSchema: z.ZodType< AiGatewayEvaluationFallbackCondition, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => AiGatewayEvaluationFallbackCondition1$inboundSchema), - z.lazy(() => AiGatewayEvaluationFallbackCondition2$inboundSchema), - z.lazy(() => AiGatewayEvaluationFallbackCondition3$inboundSchema), - z.lazy(() => AiGatewayEvaluationFallbackCondition4$inboundSchema), - z.lazy(() => AiGatewayEvaluationFallbackCondition5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => AiGatewayEvaluationFallbackCondition1$inboundSchema), + z.lazy(() => AiGatewayEvaluationFallbackCondition2$inboundSchema), + z.lazy(() => AiGatewayEvaluationFallbackCondition3$inboundSchema), + z.lazy(() => AiGatewayEvaluationFallbackCondition4$inboundSchema), + z.lazy(() => AiGatewayEvaluationFallbackCondition5$inboundSchema), + ]) +); export function aiGatewayEvaluationFallbackConditionFromJSON( jsonString: string, @@ -211,18 +219,18 @@ export function aiGatewayEvaluationFallbackConditionFromJSON( /** @internal */ export const AtLeast$inboundSchema: z.ZodType = - z.object({ - conditions: z.array( - smartUnion([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(smartUnion([ z.lazy(() => AiGatewayEvaluationFallbackCondition1$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition2$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition3$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition4$inboundSchema), z.lazy(() => AiGatewayEvaluationFallbackCondition5$inboundSchema), - ]), - ), - count: types.number(), - }); + ])), + count: types.number(), + }) + ); export function atLeastFromJSON( jsonString: string, diff --git a/src/models/aigatewayrouterlist.ts b/src/models/aigatewayrouterlist.ts index 9592151524..ef1b9700ae 100644 --- a/src/models/aigatewayrouterlist.ts +++ b/src/models/aigatewayrouterlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { AiGatewayVirtualModelConfig, @@ -23,9 +23,11 @@ export const AiGatewayRouterList$inboundSchema: z.ZodType< AiGatewayRouterList, z.ZodTypeDef, unknown -> = z.object({ - routers: z.array(AiGatewayVirtualModelConfig$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + routers: z.array(AiGatewayVirtualModelConfig$inboundSchema), + }) +); export function aiGatewayRouterListFromJSON( jsonString: string, diff --git a/src/models/aigatewayrule.ts b/src/models/aigatewayrule.ts index a5a48d8bad..2eab76b982 100644 --- a/src/models/aigatewayrule.ts +++ b/src/models/aigatewayrule.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -43,11 +43,13 @@ export type AiGatewayRule = { }; /** @internal */ -export const Action$inboundSchema: z.ZodType = z - .object({ - reason: types.optional(types.string()), - rewriteModel: types.optional(types.string()), - }); +export const Action$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.optional(types.string()), + rewriteModel: types.optional(types.string()), + }) + ); export function actionFromJSON( jsonString: string, @@ -60,10 +62,12 @@ export function actionFromJSON( } /** @internal */ -export const Match$inboundSchema: z.ZodType = z - .object({ - model: types.optional(types.string()), - }); +export const Match$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + model: types.optional(types.string()), + }) + ); export function matchFromJSON( jsonString: string, @@ -76,29 +80,30 @@ export function matchFromJSON( } /** @internal */ -export const Type$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Type, -); +export const Type$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Type)); /** @internal */ export const AiGatewayRule$inboundSchema: z.ZodType< AiGatewayRule, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(z.lazy(() => Action$inboundSchema)), - createdAt: types.number(), - createdBy: types.optional(types.string()), - deleted: types.optional(types.boolean()), - description: types.optional(types.string()), - enabled: types.boolean(), - match: types.optional(z.lazy(() => Match$inboundSchema)), - ownerId: types.string(), - ruleId: types.string(), - type: Type$inboundSchema, - updatedAt: types.number(), - updatedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(z.lazy(() => Action$inboundSchema)), + createdAt: types.number(), + createdBy: types.optional(types.string()), + deleted: types.optional(types.boolean()), + description: types.optional(types.string()), + enabled: types.boolean(), + match: types.optional(z.lazy(() => Match$inboundSchema)), + ownerId: types.string(), + ruleId: types.string(), + type: Type$inboundSchema, + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + }) +); export function aiGatewayRuleFromJSON( jsonString: string, diff --git a/src/models/aigatewayrulelist.ts b/src/models/aigatewayrulelist.ts index af2be2d41d..1883af40da 100644 --- a/src/models/aigatewayrulelist.ts +++ b/src/models/aigatewayrulelist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -22,10 +22,12 @@ export const AiGatewayRuleList$inboundSchema: z.ZodType< AiGatewayRuleList, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.nullable(types.string()), - rules: z.array(AiGatewayRuleListItem$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.nullable(types.string()), + rules: z.array(AiGatewayRuleListItem$inboundSchema), + }) +); export function aiGatewayRuleListFromJSON( jsonString: string, diff --git a/src/models/aigatewayrulelistitem.ts b/src/models/aigatewayrulelistitem.ts index 6dd78ed346..1ef3e376ca 100644 --- a/src/models/aigatewayrulelistitem.ts +++ b/src/models/aigatewayrulelistitem.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -50,10 +50,12 @@ export const AiGatewayRuleListItemAction$inboundSchema: z.ZodType< AiGatewayRuleListItemAction, z.ZodTypeDef, unknown -> = z.object({ - reason: types.optional(types.string()), - rewriteModel: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.optional(types.string()), + rewriteModel: types.optional(types.string()), + }) +); export function aiGatewayRuleListItemActionFromJSON( jsonString: string, @@ -70,9 +72,11 @@ export const AiGatewayRuleListItemMatch$inboundSchema: z.ZodType< AiGatewayRuleListItemMatch, z.ZodTypeDef, unknown -> = z.object({ - model: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: types.optional(types.string()), + }) +); export function aiGatewayRuleListItemMatchFromJSON( jsonString: string, @@ -87,30 +91,34 @@ export function aiGatewayRuleListItemMatchFromJSON( /** @internal */ export const AiGatewayRuleListItemType$inboundSchema: z.ZodNativeEnum< typeof AiGatewayRuleListItemType -> = z.nativeEnum(AiGatewayRuleListItemType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AiGatewayRuleListItemType)); /** @internal */ export const AiGatewayRuleListItem$inboundSchema: z.ZodType< AiGatewayRuleListItem, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - z.lazy(() => AiGatewayRuleListItemAction$inboundSchema), - ), - createdAt: types.number(), - createdBy: types.optional(types.string()), - deleted: types.optional(types.boolean()), - description: types.optional(types.string()), - enabled: types.boolean(), - match: types.optional(z.lazy(() => AiGatewayRuleListItemMatch$inboundSchema)), - ownerId: types.string(), - ruleId: types.string(), - shadowedBy: types.optional(types.string()), - type: AiGatewayRuleListItemType$inboundSchema, - updatedAt: types.number(), - updatedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + z.lazy(() => AiGatewayRuleListItemAction$inboundSchema), + ), + createdAt: types.number(), + createdBy: types.optional(types.string()), + deleted: types.optional(types.boolean()), + description: types.optional(types.string()), + enabled: types.boolean(), + match: types.optional( + z.lazy(() => AiGatewayRuleListItemMatch$inboundSchema), + ), + ownerId: types.string(), + ruleId: types.string(), + shadowedBy: types.optional(types.string()), + type: AiGatewayRuleListItemType$inboundSchema, + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + }) +); export function aiGatewayRuleListItemFromJSON( jsonString: string, diff --git a/src/models/aigatewayvirtualmodelconfig.ts b/src/models/aigatewayvirtualmodelconfig.ts index 321a86a8a2..2a2c33421f 100644 --- a/src/models/aigatewayvirtualmodelconfig.ts +++ b/src/models/aigatewayvirtualmodelconfig.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -352,29 +352,34 @@ export type AiGatewayVirtualModelConfig = { }; /** @internal */ -export const Caching$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Caching); +export const Caching$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Caching)); /** @internal */ -export const Has$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Has); +export const Has$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Has)); /** @internal */ export const AiGatewayVirtualModelConfigInferenceRegionScope$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(AiGatewayVirtualModelConfigInferenceRegionScope); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AiGatewayVirtualModelConfigInferenceRegionScope) + ); /** @internal */ export const Providers$inboundSchema: z.ZodType< Providers, z.ZodTypeDef, unknown -> = z.object({ - geoRegion: types.optional(types.string()), - providerRegion: types.optional(types.string()), - scope: types.optional( - AiGatewayVirtualModelConfigInferenceRegionScope$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + geoRegion: types.optional(types.string()), + providerRegion: types.optional(types.string()), + scope: types.optional( + AiGatewayVirtualModelConfigInferenceRegionScope$inboundSchema, + ), + }) +); export function providersFromJSON( jsonString: string, @@ -389,21 +394,25 @@ export function providersFromJSON( /** @internal */ export const AiGatewayVirtualModelConfigScope$inboundSchema: z.ZodNativeEnum< typeof AiGatewayVirtualModelConfigScope -> = z.nativeEnum(AiGatewayVirtualModelConfigScope); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AiGatewayVirtualModelConfigScope) +); /** @internal */ export const InferenceRegion$inboundSchema: z.ZodType< InferenceRegion, z.ZodTypeDef, unknown -> = z.object({ - geoRegion: types.optional(types.string()), - providerRegion: types.optional(types.string()), - providers: types.optional( - z.record(types.nullable(z.lazy(() => Providers$inboundSchema))), - ), - scope: types.optional(AiGatewayVirtualModelConfigScope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + geoRegion: types.optional(types.string()), + providerRegion: types.optional(types.string()), + providers: types.optional( + z.record(types.nullable(z.lazy(() => Providers$inboundSchema))), + ), + scope: types.optional(AiGatewayVirtualModelConfigScope$inboundSchema), + }) +); export function inferenceRegionFromJSON( jsonString: string, @@ -416,11 +425,13 @@ export function inferenceRegionFromJSON( } /** @internal */ -export const Three$inboundSchema: z.ZodType = z - .object({ - model: types.string(), - when: AiGatewayEvaluationFallbackCondition$inboundSchema, - }); +export const Three$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + model: types.string(), + when: AiGatewayEvaluationFallbackCondition$inboundSchema, + }) + ); export function threeFromJSON( jsonString: string, @@ -433,11 +444,13 @@ export function threeFromJSON( } /** @internal */ -export const Two$inboundSchema: z.ZodType = z - .object({ - intelligence: types.optional(types.number()), - slug: types.string(), - }); +export const Two$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + intelligence: types.optional(types.number()), + slug: types.string(), + }) + ); export function twoFromJSON( jsonString: string, @@ -451,11 +464,13 @@ export function twoFromJSON( /** @internal */ export const Models$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Three$inboundSchema), - z.lazy(() => Two$inboundSchema), - types.string(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Three$inboundSchema), + z.lazy(() => Two$inboundSchema), + types.string(), + ]) + ); export function modelsFromJSON( jsonString: string, @@ -472,9 +487,11 @@ export const ProviderTimeouts$inboundSchema: z.ZodType< ProviderTimeouts, z.ZodTypeDef, unknown -> = z.object({ - byok: types.optional(z.record(types.number())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + byok: types.optional(z.record(types.number())), + }) +); export function providerTimeoutsFromJSON( jsonString: string, @@ -487,19 +504,21 @@ export function providerTimeoutsFromJSON( } /** @internal */ -export const Selector$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Selector); +export const Selector$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Selector)); /** @internal */ export const SelectorOptions$inboundSchema: z.ZodType< SelectorOptions, z.ZodTypeDef, unknown -> = z.object({ - cost: types.optional(z.record(z.any())), - tps: types.optional(z.record(z.any())), - ttft: types.optional(z.record(z.any())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cost: types.optional(z.record(z.any())), + tps: types.optional(z.record(z.any())), + ttft: types.optional(z.record(z.any())), + }) +); export function selectorOptionsFromJSON( jsonString: string, @@ -512,70 +531,74 @@ export function selectorOptionsFromJSON( } /** @internal */ -export const ServiceTier$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ServiceTier); +export const ServiceTier$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServiceTier)); /** @internal */ -export const Sort$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Sort, -); +export const Sort$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Sort)); /** @internal */ -export const Speed$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Speed, -); +export const Speed$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Speed)); /** @internal */ export const AiGatewayVirtualModelConfig$inboundSchema: z.ZodType< AiGatewayVirtualModelConfig, z.ZodTypeDef, unknown -> = z.object({ - allowFallbackFromFast: types.optional(types.boolean()), - baseUrl: types.optional(types.string()), - byokCredentialIds: types.optional(z.array(types.string())), - caching: types.optional(Caching$inboundSchema), - createdAt: types.number(), - createdBy: types.optional(types.string()), - deleted: types.boolean(), - description: types.optional(types.string()), - disallowPromptTraining: types.optional(types.boolean()), - displayName: types.optional(types.string()), - has: types.optional(z.array(Has$inboundSchema)), - hipaaCompliant: types.optional(types.boolean()), - inferenceRegion: types.optional(z.lazy(() => InferenceRegion$inboundSchema)), - instanceId: types.optional(types.string()), - kind: types.string(), - models: types.optional( - z.array(smartUnion([ - z.lazy(() => Three$inboundSchema), - z.lazy(() => - Two$inboundSchema - ), - types.string(), - ])), - ), - modelSlug: types.optional(types.string()), - observabilityTags: types.optional(z.array(types.string())), - ownerId: types.string(), - providerOnly: types.optional(z.array(types.string())), - providerOptions: types.optional(z.record(z.record(z.any()))), - providerOrder: types.optional(z.array(types.string())), - providerTimeouts: types.optional( - z.lazy(() => ProviderTimeouts$inboundSchema), - ), - selector: types.optional(Selector$inboundSchema), - selectorOptions: types.optional(z.lazy(() => SelectorOptions$inboundSchema)), - serviceTier: types.optional(ServiceTier$inboundSchema), - sort: types.optional(Sort$inboundSchema), - speed: types.optional(Speed$inboundSchema), - status: types.string(), - updatedAt: types.number(), - updatedBy: types.optional(types.string()), - virtualModelSlug: types.string(), - visibility: types.optional(types.string()), - zeroDataRetention: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowFallbackFromFast: types.optional(types.boolean()), + baseUrl: types.optional(types.string()), + byokCredentialIds: types.optional(z.array(types.string())), + caching: types.optional(Caching$inboundSchema), + createdAt: types.number(), + createdBy: types.optional(types.string()), + deleted: types.boolean(), + description: types.optional(types.string()), + disallowPromptTraining: types.optional(types.boolean()), + displayName: types.optional(types.string()), + has: types.optional(z.array(Has$inboundSchema)), + hipaaCompliant: types.optional(types.boolean()), + inferenceRegion: types.optional( + z.lazy(() => InferenceRegion$inboundSchema), + ), + instanceId: types.optional(types.string()), + kind: types.string(), + models: types.optional( + z.array(smartUnion([ + z.lazy(() => Three$inboundSchema), + z.lazy(() => + Two$inboundSchema + ), + types.string(), + ])), + ), + modelSlug: types.optional(types.string()), + observabilityTags: types.optional(z.array(types.string())), + ownerId: types.string(), + providerOnly: types.optional(z.array(types.string())), + providerOptions: types.optional(z.record(z.record(z.any()))), + providerOrder: types.optional(z.array(types.string())), + providerTimeouts: types.optional( + z.lazy(() => ProviderTimeouts$inboundSchema), + ), + selector: types.optional(Selector$inboundSchema), + selectorOptions: types.optional( + z.lazy(() => SelectorOptions$inboundSchema), + ), + serviceTier: types.optional(ServiceTier$inboundSchema), + sort: types.optional(Sort$inboundSchema), + speed: types.optional(Speed$inboundSchema), + status: types.string(), + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + virtualModelSlug: types.string(), + visibility: types.optional(types.string()), + zeroDataRetention: types.optional(types.boolean()), + }) +); export function aiGatewayVirtualModelConfigFromJSON( jsonString: string, diff --git a/src/models/aigatewayvirtualmodelconfiglist.ts b/src/models/aigatewayvirtualmodelconfiglist.ts index 1b1b1f7144..1044f4ecd8 100644 --- a/src/models/aigatewayvirtualmodelconfiglist.ts +++ b/src/models/aigatewayvirtualmodelconfiglist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -28,10 +28,12 @@ export const AiGatewayVirtualModelConfigList$inboundSchema: z.ZodType< AiGatewayVirtualModelConfigList, z.ZodTypeDef, unknown -> = z.object({ - cursor: types.nullable(types.string()), - virtualModelConfigs: z.array(AiGatewayVirtualModelConfig$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cursor: types.nullable(types.string()), + virtualModelConfigs: z.array(AiGatewayVirtualModelConfig$inboundSchema), + }) +); export function aiGatewayVirtualModelConfigListFromJSON( jsonString: string, diff --git a/src/models/apikey.ts b/src/models/apikey.ts index 306770476a..b7a542f1b0 100644 --- a/src/models/apikey.ts +++ b/src/models/apikey.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { APIKeyQuota, APIKeyQuota$inboundSchema } from "./apikeyquota.js"; @@ -97,7 +97,7 @@ export const APIKeyMetadata$inboundSchema: z.ZodType< APIKeyMetadata, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function apiKeyMetadataFromJSON( jsonString: string, @@ -110,24 +110,26 @@ export function apiKeyMetadataFromJSON( } /** @internal */ -export const APIKey$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - name: types.string(), - partialKey: types.string(), - teamId: types.string(), - purpose: types.string(), - projectId: types.nullable(types.string()), - expiresAt: types.nullable(types.number()), - activeAt: types.number(), - createdAt: types.number(), - createdBy: types.string(), - leakedAt: types.nullable(types.number()), - leakedUrl: types.nullable(types.string()), - createdByAppId: types.nullable(types.string()), - quota: types.optional(APIKeyQuota$inboundSchema), - metadata: types.optional(z.lazy(() => APIKeyMetadata$inboundSchema)), - }); +export const APIKey$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + partialKey: types.string(), + teamId: types.string(), + purpose: types.string(), + projectId: types.nullable(types.string()), + expiresAt: types.nullable(types.number()), + activeAt: types.number(), + createdAt: types.number(), + createdBy: types.string(), + leakedAt: types.nullable(types.number()), + leakedUrl: types.nullable(types.string()), + createdByAppId: types.nullable(types.string()), + quota: types.optional(APIKeyQuota$inboundSchema), + metadata: types.optional(z.lazy(() => APIKeyMetadata$inboundSchema)), + }) + ); export function apiKeyFromJSON( jsonString: string, diff --git a/src/models/apikeyquota.ts b/src/models/apikeyquota.ts index 17cb5ee970..27eaa6782c 100644 --- a/src/models/apikeyquota.ts +++ b/src/models/apikeyquota.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -63,19 +63,21 @@ export const APIKeyQuota$inboundSchema: z.ZodType< APIKeyQuota, z.ZodTypeDef, unknown -> = z.object({ - quotaEntityId: types.string(), - limitAmount: types.number(), - currentSpend: types.number(), - currentByokSpend: types.number(), - includeByokInQuota: types.boolean(), - refreshPeriod: types.string(), - active: types.boolean(), - archived: types.boolean(), - alertThresholds: types.optional(z.array(types.number())), - createdAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + quotaEntityId: types.string(), + limitAmount: types.number(), + currentSpend: types.number(), + currentByokSpend: types.number(), + includeByokInQuota: types.boolean(), + refreshPeriod: types.string(), + active: types.boolean(), + archived: types.boolean(), + alertThresholds: types.optional(z.array(types.number())), + createdAt: types.number(), + updatedAt: types.number(), + }) +); export function apiKeyQuotaFromJSON( jsonString: string, diff --git a/src/models/approverollingreleasestageop.ts b/src/models/approverollingreleasestageop.ts index 70f1a9cc01..b2a9a3443a 100644 --- a/src/models/approverollingreleasestageop.ts +++ b/src/models/approverollingreleasestageop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -424,10 +424,12 @@ export const ApproveRollingReleaseStageRequestBody$outboundSchema: z.ZodType< ApproveRollingReleaseStageRequestBody$Outbound, z.ZodTypeDef, ApproveRollingReleaseStageRequestBody -> = z.object({ - nextStageIndex: z.number(), - canaryDeploymentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextStageIndex: z.number(), + canaryDeploymentId: z.string(), + }) +); export function approveRollingReleaseStageRequestBodyToJSON( approveRollingReleaseStageRequestBody: ApproveRollingReleaseStageRequestBody, @@ -452,18 +454,20 @@ export const ApproveRollingReleaseStageRequest$outboundSchema: z.ZodType< ApproveRollingReleaseStageRequest$Outbound, z.ZodTypeDef, ApproveRollingReleaseStageRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - ApproveRollingReleaseStageRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + ApproveRollingReleaseStageRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function approveRollingReleaseStageRequestToJSON( approveRollingReleaseStageRequest: ApproveRollingReleaseStageRequest, @@ -480,14 +484,16 @@ export const ApproveRollingReleaseStageActiveStage$inboundSchema: z.ZodType< ApproveRollingReleaseStageActiveStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function approveRollingReleaseStageActiveStageFromJSON( jsonString: string, @@ -502,39 +508,48 @@ export function approveRollingReleaseStageActiveStageFromJSON( /** @internal */ export const ApproveRollingReleaseStageAdvancementType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ApproveRollingReleaseStageAdvancementType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageAdvancementType) + ); /** @internal */ export const ApproveRollingReleaseStageReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ApproveRollingReleaseStageReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageReadyState) + ); /** @internal */ export const ApproveRollingReleaseStageSource$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageSource -> = z.nativeEnum(ApproveRollingReleaseStageSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageSource) +); /** @internal */ export const ApproveRollingReleaseStageTarget$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageTarget -> = z.nativeEnum(ApproveRollingReleaseStageTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageTarget) +); /** @internal */ export const ApproveRollingReleaseStageCanaryDeployment$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: ApproveRollingReleaseStageReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(ApproveRollingReleaseStageSource$inboundSchema), - target: z.nullable(ApproveRollingReleaseStageTarget$inboundSchema) - .optional(), - url: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: ApproveRollingReleaseStageReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional(ApproveRollingReleaseStageSource$inboundSchema), + target: z.nullable(ApproveRollingReleaseStageTarget$inboundSchema) + .optional(), + url: types.string(), + }) + ); export function approveRollingReleaseStageCanaryDeploymentFromJSON( jsonString: string, @@ -554,18 +569,24 @@ export function approveRollingReleaseStageCanaryDeploymentFromJSON( /** @internal */ export const ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ApproveRollingReleaseStageRollingReleaseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageRollingReleaseReadyState) + ); /** @internal */ export const ApproveRollingReleaseStageRollingReleaseSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ApproveRollingReleaseStageRollingReleaseSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageRollingReleaseSource) + ); /** @internal */ export const ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ApproveRollingReleaseStageRollingReleaseTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageRollingReleaseTarget) + ); /** @internal */ export const ApproveRollingReleaseStageCurrentDeployment$inboundSchema: @@ -573,21 +594,23 @@ export const ApproveRollingReleaseStageCurrentDeployment$inboundSchema: ApproveRollingReleaseStageCurrentDeployment, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: - ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional( - ApproveRollingReleaseStageRollingReleaseSource$inboundSchema, - ), - target: z.nullable( - ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema, - ).optional(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: + ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional( + ApproveRollingReleaseStageRollingReleaseSource$inboundSchema, + ), + target: z.nullable( + ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema, + ).optional(), + url: types.string(), + }) + ); export function approveRollingReleaseStageCurrentDeploymentFromJSON( jsonString: string, @@ -610,14 +633,16 @@ export const ApproveRollingReleaseStageNextStage$inboundSchema: z.ZodType< ApproveRollingReleaseStageNextStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function approveRollingReleaseStageNextStageFromJSON( jsonString: string, @@ -635,14 +660,16 @@ export const ApproveRollingReleaseStageStages$inboundSchema: z.ZodType< ApproveRollingReleaseStageStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function approveRollingReleaseStageStagesFromJSON( jsonString: string, @@ -657,40 +684,48 @@ export function approveRollingReleaseStageStagesFromJSON( /** @internal */ export const ApproveRollingReleaseStageState$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageState -> = z.nativeEnum(ApproveRollingReleaseStageState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageState) +); /** @internal */ export const ApproveRollingReleaseStageSubstate$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageSubstate -> = z.nativeEnum(ApproveRollingReleaseStageSubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ApproveRollingReleaseStageSubstate) +); /** @internal */ export const ApproveRollingReleaseStageRollingRelease$inboundSchema: z.ZodType< ApproveRollingReleaseStageRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - activeStage: types.nullable( - z.lazy(() => ApproveRollingReleaseStageActiveStage$inboundSchema), - ), - advancementType: ApproveRollingReleaseStageAdvancementType$inboundSchema, - canaryDeployment: types.nullable( - z.lazy(() => ApproveRollingReleaseStageCanaryDeployment$inboundSchema), - ), - currentCanaryPercentage: types.optional(types.number()), - currentDeployment: types.nullable( - z.lazy(() => ApproveRollingReleaseStageCurrentDeployment$inboundSchema), - ), - nextStage: types.nullable( - z.lazy(() => ApproveRollingReleaseStageNextStage$inboundSchema), - ), - queuedDeploymentId: types.nullable(types.string()), - stages: z.array(z.lazy(() => ApproveRollingReleaseStageStages$inboundSchema)), - startedAt: types.number(), - state: ApproveRollingReleaseStageState$inboundSchema, - substate: types.nullable(ApproveRollingReleaseStageSubstate$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeStage: types.nullable( + z.lazy(() => ApproveRollingReleaseStageActiveStage$inboundSchema), + ), + advancementType: ApproveRollingReleaseStageAdvancementType$inboundSchema, + canaryDeployment: types.nullable( + z.lazy(() => ApproveRollingReleaseStageCanaryDeployment$inboundSchema), + ), + currentCanaryPercentage: types.optional(types.number()), + currentDeployment: types.nullable( + z.lazy(() => ApproveRollingReleaseStageCurrentDeployment$inboundSchema), + ), + nextStage: types.nullable( + z.lazy(() => ApproveRollingReleaseStageNextStage$inboundSchema), + ), + queuedDeploymentId: types.nullable(types.string()), + stages: z.array( + z.lazy(() => ApproveRollingReleaseStageStages$inboundSchema), + ), + startedAt: types.number(), + state: ApproveRollingReleaseStageState$inboundSchema, + substate: types.nullable(ApproveRollingReleaseStageSubstate$inboundSchema), + updatedAt: types.number(), + }) +); export function approveRollingReleaseStageRollingReleaseFromJSON( jsonString: string, @@ -713,11 +748,13 @@ export const ApproveRollingReleaseStageResponseBody$inboundSchema: z.ZodType< ApproveRollingReleaseStageResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => ApproveRollingReleaseStageRollingRelease$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable( + z.lazy(() => ApproveRollingReleaseStageRollingRelease$inboundSchema), + ), + }) +); export function approveRollingReleaseStageResponseBodyFromJSON( jsonString: string, diff --git a/src/models/archiveaigatewaybudgetdefaultop.ts b/src/models/archiveaigatewaybudgetdefaultop.ts index 4810e8a521..fb8f3b55d0 100644 --- a/src/models/archiveaigatewaybudgetdefaultop.ts +++ b/src/models/archiveaigatewaybudgetdefaultop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -13,6 +14,7 @@ export const ArchiveAiGatewayBudgetDefaultQueryParamScopeType = { Project: "project", ApiKey: "api-key", User: "user", + App: "app", } as const; /** * The budget default scope to delete. @@ -42,8 +44,10 @@ export type ArchiveAiGatewayBudgetDefaultRequest = { /** @internal */ export const ArchiveAiGatewayBudgetDefaultQueryParamScopeType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ArchiveAiGatewayBudgetDefaultQueryParamScopeType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ArchiveAiGatewayBudgetDefaultQueryParamScopeType) + ); /** @internal */ export type ArchiveAiGatewayBudgetDefaultRequest$Outbound = { @@ -58,12 +62,14 @@ export const ArchiveAiGatewayBudgetDefaultRequest$outboundSchema: z.ZodType< ArchiveAiGatewayBudgetDefaultRequest$Outbound, z.ZodTypeDef, ArchiveAiGatewayBudgetDefaultRequest -> = z.object({ - scopeType: ArchiveAiGatewayBudgetDefaultQueryParamScopeType$outboundSchema, - justification: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scopeType: ArchiveAiGatewayBudgetDefaultQueryParamScopeType$outboundSchema, + justification: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function archiveAiGatewayBudgetDefaultRequestToJSON( archiveAiGatewayBudgetDefaultRequest: ArchiveAiGatewayBudgetDefaultRequest, diff --git a/src/models/archiveaigatewaybudgetop.ts b/src/models/archiveaigatewaybudgetop.ts index bd53500c83..d01152a901 100644 --- a/src/models/archiveaigatewaybudgetop.ts +++ b/src/models/archiveaigatewaybudgetop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -12,6 +13,7 @@ export const ArchiveAiGatewayBudgetQueryParamScopeType = { Team: "team", Project: "project", User: "user", + App: "app", } as const; /** * The budget scope to archive. @@ -33,6 +35,10 @@ export type ArchiveAiGatewayBudgetRequest = { * Required when scopeType is \"user\". */ userId?: string | undefined; + /** + * Required when scopeType is \"app\". The id of a Vercel App (`cl_…`). + */ + appId?: string | undefined; /** * Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. */ @@ -49,14 +55,17 @@ export type ArchiveAiGatewayBudgetRequest = { /** @internal */ export const ArchiveAiGatewayBudgetQueryParamScopeType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ArchiveAiGatewayBudgetQueryParamScopeType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ArchiveAiGatewayBudgetQueryParamScopeType) + ); /** @internal */ export type ArchiveAiGatewayBudgetRequest$Outbound = { scopeType: string; projectId?: string | undefined; userId?: string | undefined; + appId?: string | undefined; justification?: string | undefined; teamId?: string | undefined; slug?: string | undefined; @@ -67,14 +76,17 @@ export const ArchiveAiGatewayBudgetRequest$outboundSchema: z.ZodType< ArchiveAiGatewayBudgetRequest$Outbound, z.ZodTypeDef, ArchiveAiGatewayBudgetRequest -> = z.object({ - scopeType: ArchiveAiGatewayBudgetQueryParamScopeType$outboundSchema, - projectId: z.string().optional(), - userId: z.string().optional(), - justification: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scopeType: ArchiveAiGatewayBudgetQueryParamScopeType$outboundSchema, + projectId: z.string().optional(), + userId: z.string().optional(), + appId: z.string().optional(), + justification: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function archiveAiGatewayBudgetRequestToJSON( archiveAiGatewayBudgetRequest: ArchiveAiGatewayBudgetRequest, diff --git a/src/models/artifactexistsop.ts b/src/models/artifactexistsop.ts index 58c592d254..e0911eef1a 100644 --- a/src/models/artifactexistsop.ts +++ b/src/models/artifactexistsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ArtifactExistsRequest = { /** @@ -31,11 +32,13 @@ export const ArtifactExistsRequest$outboundSchema: z.ZodType< ArtifactExistsRequest$Outbound, z.ZodTypeDef, ArtifactExistsRequest -> = z.object({ - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function artifactExistsRequestToJSON( artifactExistsRequest: ArtifactExistsRequest, diff --git a/src/models/artifactqueryop.ts b/src/models/artifactqueryop.ts index a945885cf8..05f3745717 100644 --- a/src/models/artifactqueryop.ts +++ b/src/models/artifactqueryop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -59,9 +59,11 @@ export const ArtifactQueryRequestBody$outboundSchema: z.ZodType< ArtifactQueryRequestBody$Outbound, z.ZodTypeDef, ArtifactQueryRequestBody -> = z.object({ - hashes: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hashes: z.array(z.string()), + }) +); export function artifactQueryRequestBodyToJSON( artifactQueryRequestBody: ArtifactQueryRequestBody, @@ -83,15 +85,17 @@ export const ArtifactQueryRequest$outboundSchema: z.ZodType< ArtifactQueryRequest$Outbound, z.ZodTypeDef, ArtifactQueryRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ArtifactQueryRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ArtifactQueryRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function artifactQueryRequestToJSON( artifactQueryRequest: ArtifactQueryRequest, @@ -106,9 +110,11 @@ export const ResponseBodyError$inboundSchema: z.ZodType< ResponseBodyError, z.ZodTypeDef, unknown -> = z.object({ - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + message: types.string(), + }) +); export function responseBodyErrorFromJSON( jsonString: string, @@ -125,9 +131,11 @@ export const ArtifactQueryResponseBody2$inboundSchema: z.ZodType< ArtifactQueryResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => ResponseBodyError$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ResponseBodyError$inboundSchema), + }) +); export function artifactQueryResponseBody2FromJSON( jsonString: string, @@ -144,13 +152,15 @@ export const ArtifactQueryResponseBody1$inboundSchema: z.ZodType< ArtifactQueryResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - dirtyHash: types.optional(types.string()), - sha: types.optional(types.string()), - size: types.number(), - tag: types.optional(types.string()), - taskDurationMs: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dirtyHash: types.optional(types.string()), + sha: types.optional(types.string()), + size: types.number(), + tag: types.optional(types.string()), + taskDurationMs: types.number(), + }) +); export function artifactQueryResponseBody1FromJSON( jsonString: string, @@ -167,10 +177,12 @@ export const ArtifactQueryResponseBody$inboundSchema: z.ZodType< ArtifactQueryResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ArtifactQueryResponseBody1$inboundSchema), - z.lazy(() => ArtifactQueryResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ArtifactQueryResponseBody1$inboundSchema), + z.lazy(() => ArtifactQueryResponseBody2$inboundSchema), + ]) +); export function artifactQueryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/assignaliasop.ts b/src/models/assignaliasop.ts index 3921feac6b..422b123d6a 100644 --- a/src/models/assignaliasop.ts +++ b/src/models/assignaliasop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -69,10 +69,12 @@ export const AssignAliasRequestBody$outboundSchema: z.ZodType< AssignAliasRequestBody$Outbound, z.ZodTypeDef, AssignAliasRequestBody -> = z.object({ - alias: z.string().optional(), - redirect: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: z.string().optional(), + redirect: z.nullable(z.string()).optional(), + }) +); export function assignAliasRequestBodyToJSON( assignAliasRequestBody: AssignAliasRequestBody, @@ -95,16 +97,18 @@ export const AssignAliasRequest$outboundSchema: z.ZodType< AssignAliasRequest$Outbound, z.ZodTypeDef, AssignAliasRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => AssignAliasRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => AssignAliasRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function assignAliasRequestToJSON( assignAliasRequest: AssignAliasRequest, @@ -119,12 +123,14 @@ export const AssignAliasResponseBody$inboundSchema: z.ZodType< AssignAliasResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - created: types.date(), - oldDeploymentId: z.nullable(types.string()).optional(), - uid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + created: types.date(), + oldDeploymentId: z.nullable(types.string()).optional(), + uid: types.string(), + }) +); export function assignAliasResponseBodyFromJSON( jsonString: string, diff --git a/src/models/authtoken.ts b/src/models/authtoken.ts index 7b9a01a840..cf1b96f329 100644 --- a/src/models/authtoken.ts +++ b/src/models/authtoken.ts @@ -3,12 +3,26 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; +/** + * The user-facing kind of the token. + */ +export const AuthTokenKind = { + AccessToken: "access-token", + App: "app", + Other: "other", + SignInSession: "sign-in-session", +} as const; +/** + * The user-facing kind of the token. + */ +export type AuthTokenKind = ClosedEnum; + export const AuthTokenScopesOrigin = { App: "app", Apple: "apple", @@ -121,6 +135,10 @@ export type AuthToken = { * The unique identifier of the token. */ id: string; + /** + * The user-facing kind of the token. + */ + kind: AuthTokenKind; /** * Timestamp (in milliseconds) of when the token was marked as leaked. */ @@ -159,20 +177,27 @@ export type AuthToken = { type: string; }; +/** @internal */ +export const AuthTokenKind$inboundSchema: z.ZodNativeEnum< + typeof AuthTokenKind +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AuthTokenKind)); + /** @internal */ export const AuthTokenScopesOrigin$inboundSchema: z.ZodNativeEnum< typeof AuthTokenScopesOrigin -> = z.nativeEnum(AuthTokenScopesOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AuthTokenScopesOrigin)); /** @internal */ export const Scopes2$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - expiresAt: types.optional(types.number()), - origin: types.optional(AuthTokenScopesOrigin$inboundSchema), - teamId: types.string(), - type: types.literal("team"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + expiresAt: types.optional(types.number()), + origin: types.optional(AuthTokenScopesOrigin$inboundSchema), + teamId: types.string(), + type: types.literal("team"), + }) + ); export function scopes2FromJSON( jsonString: string, @@ -186,20 +211,22 @@ export function scopes2FromJSON( /** @internal */ export const ScopesOrigin$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ScopesOrigin); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ScopesOrigin)); /** @internal */ export const AuthTokenScopes1Origin$inboundSchema: z.ZodNativeEnum< typeof AuthTokenScopes1Origin -> = z.nativeEnum(AuthTokenScopes1Origin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AuthTokenScopes1Origin)); /** @internal */ -export const Sudo$inboundSchema: z.ZodType = z - .object({ - expiresAt: types.number(), - origin: AuthTokenScopes1Origin$inboundSchema, - verifiedAt: types.optional(types.number()), - }); +export const Sudo$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + origin: AuthTokenScopes1Origin$inboundSchema, + verifiedAt: types.optional(types.number()), + }) + ); export function sudoFromJSON( jsonString: string, @@ -213,13 +240,15 @@ export function sudoFromJSON( /** @internal */ export const Scopes1$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - expiresAt: types.optional(types.number()), - origin: types.optional(ScopesOrigin$inboundSchema), - sudo: types.optional(z.lazy(() => Sudo$inboundSchema)), - type: types.literal("user"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + expiresAt: types.optional(types.number()), + origin: types.optional(ScopesOrigin$inboundSchema), + sudo: types.optional(z.lazy(() => Sudo$inboundSchema)), + type: types.literal("user"), + }) + ); export function scopes1FromJSON( jsonString: string, @@ -232,11 +261,13 @@ export function scopes1FromJSON( } /** @internal */ -export const Scopes$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Scopes1$inboundSchema), - z.lazy(() => Scopes2$inboundSchema), - ]); +export const Scopes$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Scopes1$inboundSchema), + z.lazy(() => Scopes2$inboundSchema), + ]) + ); export function scopesFromJSON( jsonString: string, @@ -253,28 +284,29 @@ export const AuthToken$inboundSchema: z.ZodType< AuthToken, z.ZodTypeDef, unknown -> = z.object({ - activeAt: types.number(), - createdAt: types.number(), - expiresAt: types.optional(types.number()), - id: types.string(), - leakedAt: types.optional(types.number()), - leakedUrl: types.optional(types.string()), - name: types.string(), - origin: types.optional(types.string()), - prefix: types.optional(types.string()), - revokedAt: types.optional(types.number()), - scopes: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeAt: types.number(), + createdAt: types.number(), + expiresAt: types.optional(types.number()), + id: types.string(), + kind: AuthTokenKind$inboundSchema, + leakedAt: types.optional(types.number()), + leakedUrl: types.optional(types.string()), + name: types.string(), + origin: types.optional(types.string()), + prefix: types.optional(types.string()), + revokedAt: types.optional(types.number()), + scopes: types.optional(z.array(z.union([ z.lazy(() => Scopes1$inboundSchema), z.lazy(() => Scopes2$inboundSchema ), - ])), - ), - suffix: types.optional(types.string()), - type: types.string(), -}); + ]))), + suffix: types.optional(types.string()), + type: types.string(), + }) +); export function authTokenFromJSON( jsonString: string, diff --git a/src/models/authuser.ts b/src/models/authuser.ts index f1127e903a..85e832aca2 100644 --- a/src/models/authuser.ts +++ b/src/models/authuser.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -546,13 +546,15 @@ export const ManagedTeams$inboundSchema: z.ZodType< ManagedTeams, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - name: types.string(), - slug: types.string(), - teamId: types.string(), - workEmail: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + name: types.string(), + slug: types.string(), + teamId: types.string(), + workEmail: types.string(), + }) +); export function managedTeamsFromJSON( jsonString: string, @@ -569,11 +571,13 @@ export const AuthUserOrganization$inboundSchema: z.ZodType< AuthUserOrganization, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function authUserOrganizationFromJSON( jsonString: string, @@ -590,12 +594,14 @@ export const OrphanSsoTeam$inboundSchema: z.ZodType< OrphanSsoTeam, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - name: types.string(), - slug: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + name: types.string(), + slug: types.string(), + teamId: types.string(), + }) +); export function orphanSsoTeamFromJSON( jsonString: string, @@ -612,15 +618,17 @@ export const AccountUpdateContext$inboundSchema: z.ZodType< AccountUpdateContext, z.ZodTypeDef, unknown -> = z.object({ - canOptOut: types.boolean(), - managedTeams: z.array(z.lazy(() => ManagedTeams$inboundSchema)), - organization: types.optional( - z.lazy(() => AuthUserOrganization$inboundSchema), - ), - orphanSsoTeam: types.optional(z.lazy(() => OrphanSsoTeam$inboundSchema)), - verifiedEmuDomains: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canOptOut: types.boolean(), + managedTeams: z.array(z.lazy(() => ManagedTeams$inboundSchema)), + organization: types.optional( + z.lazy(() => AuthUserOrganization$inboundSchema), + ), + orphanSsoTeam: types.optional(z.lazy(() => OrphanSsoTeam$inboundSchema)), + verifiedEmuDomains: z.array(types.string()), + }) +); export function accountUpdateContextFromJSON( jsonString: string, @@ -635,31 +643,33 @@ export function accountUpdateContextFromJSON( /** @internal */ export const FavoritesViewPreference$inboundSchema: z.ZodNativeEnum< typeof FavoritesViewPreference -> = z.nativeEnum(FavoritesViewPreference); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FavoritesViewPreference)); /** @internal */ export const RecentsViewPreference$inboundSchema: z.ZodNativeEnum< typeof RecentsViewPreference -> = z.nativeEnum(RecentsViewPreference); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RecentsViewPreference)); /** @internal */ export const ViewPreference$inboundSchema: z.ZodNativeEnum< typeof ViewPreference -> = z.nativeEnum(ViewPreference); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ViewPreference)); /** @internal */ export const ActiveDashboardViews$inboundSchema: z.ZodType< ActiveDashboardViews, z.ZodTypeDef, unknown -> = z.object({ - favoritesViewPreference: z.nullable(FavoritesViewPreference$inboundSchema) - .optional(), - recentsViewPreference: z.nullable(RecentsViewPreference$inboundSchema) - .optional(), - scopeId: types.string(), - viewPreference: z.nullable(ViewPreference$inboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + favoritesViewPreference: z.nullable(FavoritesViewPreference$inboundSchema) + .optional(), + recentsViewPreference: z.nullable(RecentsViewPreference$inboundSchema) + .optional(), + scopeId: types.string(), + viewPreference: z.nullable(ViewPreference$inboundSchema).optional(), + }) +); export function activeDashboardViewsFromJSON( jsonString: string, @@ -676,7 +686,7 @@ export const AuthUserBilling$inboundSchema: z.ZodType< AuthUserBilling, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function authUserBillingFromJSON( jsonString: string, @@ -693,9 +703,11 @@ export const DataCache$inboundSchema: z.ZodType< DataCache, z.ZodTypeDef, unknown -> = z.object({ - excessBillingEnabled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + excessBillingEnabled: types.optional(types.boolean()), + }) +); export function dataCacheFromJSON( jsonString: string, @@ -712,10 +724,12 @@ export const Dismissals$inboundSchema: z.ZodType< Dismissals, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - scopeId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + scopeId: types.string(), + }) +); export function dismissalsFromJSON( jsonString: string, @@ -732,10 +746,12 @@ export const DismissedToasts$inboundSchema: z.ZodType< DismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - dismissals: z.array(z.lazy(() => Dismissals$inboundSchema)), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dismissals: z.array(z.lazy(() => Dismissals$inboundSchema)), + name: types.string(), + }) +); export function dismissedToastsFromJSON( jsonString: string, @@ -752,10 +768,12 @@ export const FavoriteProjectsAndSpaces$inboundSchema: z.ZodType< FavoriteProjectsAndSpaces, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + teamId: types.string(), + }) +); export function favoriteProjectsAndSpacesFromJSON( jsonString: string, @@ -768,20 +786,22 @@ export function favoriteProjectsAndSpacesFromJSON( } /** @internal */ -export const BlockReason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(BlockReason); +export const BlockReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BlockReason)); /** @internal */ export const SpeedInsightsFree$inboundSchema: z.ZodType< SpeedInsightsFree, z.ZodTypeDef, unknown -> = z.object({ - blockedFrom: types.optional(types.number()), - blockedUntil: types.optional(types.number()), - blockReason: BlockReason$inboundSchema, - isCurrentlyBlocked: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockedFrom: types.optional(types.number()), + blockedUntil: types.optional(types.number()), + blockReason: BlockReason$inboundSchema, + isCurrentlyBlocked: types.boolean(), + }) +); export function speedInsightsFreeFromJSON( jsonString: string, @@ -798,11 +818,13 @@ export const WebAnalytics$inboundSchema: z.ZodType< WebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - blockedFrom: types.optional(types.number()), - blockedUntil: types.optional(types.number()), - isCurrentlyBlocked: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockedFrom: types.optional(types.number()), + blockedUntil: types.optional(types.number()), + isCurrentlyBlocked: types.boolean(), + }) +); export function webAnalyticsFromJSON( jsonString: string, @@ -819,12 +841,14 @@ export const FeatureBlocks$inboundSchema: z.ZodType< FeatureBlocks, z.ZodTypeDef, unknown -> = z.object({ - speedInsightsFree: types.optional( - z.lazy(() => SpeedInsightsFree$inboundSchema), - ), - webAnalytics: types.optional(z.lazy(() => WebAnalytics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + speedInsightsFree: types.optional( + z.lazy(() => SpeedInsightsFree$inboundSchema), + ), + webAnalytics: types.optional(z.lazy(() => WebAnalytics$inboundSchema)), + }) +); export function featureBlocksFromJSON( jsonString: string, @@ -841,7 +865,9 @@ export const ImportFlowGitNamespace$inboundSchema: z.ZodType< ImportFlowGitNamespace, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function importFlowGitNamespaceFromJSON( jsonString: string, @@ -858,7 +884,9 @@ export const ImportFlowGitNamespaceId$inboundSchema: z.ZodType< ImportFlowGitNamespaceId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function importFlowGitNamespaceIdFromJSON( jsonString: string, @@ -873,14 +901,16 @@ export function importFlowGitNamespaceIdFromJSON( /** @internal */ export const ImportFlowGitProvider$inboundSchema: z.ZodNativeEnum< typeof ImportFlowGitProvider -> = z.nativeEnum(ImportFlowGitProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ImportFlowGitProvider)); /** @internal */ export const GitNamespaceId$inboundSchema: z.ZodType< GitNamespaceId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function gitNamespaceIdFromJSON( jsonString: string, @@ -897,10 +927,14 @@ export const PreferredScopesAndGitNamespaces$inboundSchema: z.ZodType< PreferredScopesAndGitNamespaces, z.ZodTypeDef, unknown -> = z.object({ - gitNamespaceId: types.nullable(smartUnion([types.string(), types.number()])), - scopeId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitNamespaceId: types.nullable( + smartUnion([types.string(), types.number()]), + ), + scopeId: types.string(), + }) +); export function preferredScopesAndGitNamespacesFromJSON( jsonString: string, @@ -917,9 +951,11 @@ export const AuthUserRemoteCaching$inboundSchema: z.ZodType< AuthUserRemoteCaching, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + }) +); export function authUserRemoteCachingFromJSON( jsonString: string, @@ -936,9 +972,11 @@ export const AuthUserBuildEntitlements$inboundSchema: z.ZodType< AuthUserBuildEntitlements, z.ZodTypeDef, unknown -> = z.object({ - enhancedBuilds: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enhancedBuilds: types.optional(types.boolean()), + }) +); export function authUserBuildEntitlementsFromJSON( jsonString: string, @@ -953,16 +991,18 @@ export function authUserBuildEntitlementsFromJSON( /** @internal */ export const AuthUserConfiguration$inboundSchema: z.ZodNativeEnum< typeof AuthUserConfiguration -> = z.nativeEnum(AuthUserConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AuthUserConfiguration)); /** @internal */ export const BuildQueue$inboundSchema: z.ZodType< BuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(AuthUserConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional(AuthUserConfiguration$inboundSchema), + }) +); export function buildQueueFromJSON( jsonString: string, @@ -979,16 +1019,18 @@ export const AuthUserSecurity$inboundSchema: z.ZodType< AuthUserSecurity, z.ZodTypeDef, unknown -> = z.object({ - customRules: types.optional(types.number()), - ipBlocks: types.optional(types.number()), - ipBypass: types.optional(types.number()), - rateLimit: types.optional(types.number()), - securityLists: types.optional(types.number()), - teamLevelConditions: types.optional(types.number()), - teamLevelRules: types.optional(types.number()), - teamLevelRulesets: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customRules: types.optional(types.number()), + ipBlocks: types.optional(types.number()), + ipBypass: types.optional(types.number()), + rateLimit: types.optional(types.number()), + securityLists: types.optional(types.number()), + teamLevelConditions: types.optional(types.number()), + teamLevelRules: types.optional(types.number()), + teamLevelRulesets: types.optional(types.number()), + }) +); export function authUserSecurityFromJSON( jsonString: string, @@ -1005,39 +1047,41 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType< AuthUserResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - awsAccountIds: types.optional(z.array(types.string())), - awsAccountType: types.optional(types.string()), - blobStores: types.optional(types.number()), - buildEntitlements: types.optional( - z.lazy(() => AuthUserBuildEntitlements$inboundSchema), - ), - buildQueue: types.optional(z.lazy(() => BuildQueue$inboundSchema)), - bulkRedirectsFreeLimitOverride: types.optional(types.number()), - cfZoneName: types.optional(types.string()), - concurrentBuilds: types.optional(types.number()), - cronJobsPerProject: types.optional(types.number()), - customEnvironmentsPerProject: types.optional(types.number()), - edgeConfigs: types.optional(types.number()), - edgeConfigSize: types.optional(types.number()), - edgeFunctionExecutionTimeoutMs: types.optional(types.number()), - edgeFunctionMaxSizeBytes: types.optional(types.number()), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableMessageboardPrivateBoards: types.optional(types.boolean()), - flagsExplorerOverridesThreshold: types.optional(types.number()), - flagsExplorerUnlimitedOverrides: types.optional(types.boolean()), - imageOptimizationType: types.optional(types.string()), - integrationStores: types.optional(types.number()), - kvDatabases: types.optional(types.number()), - messageboardBoards: types.optional(types.number()), - microfrontendGroupsPerTeam: types.optional(types.number()), - microfrontendProjectsPerGroup: types.optional(types.number()), - nodeType: types.optional(types.string()), - postgresDatabases: types.optional(types.number()), - security: types.optional(z.lazy(() => AuthUserSecurity$inboundSchema)), - serverlessFunctionMaxDuration: types.optional(types.number()), - serverlessFunctionMaxMemorySize: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsAccountIds: types.optional(z.array(types.string())), + awsAccountType: types.optional(types.string()), + blobStores: types.optional(types.number()), + buildEntitlements: types.optional( + z.lazy(() => AuthUserBuildEntitlements$inboundSchema), + ), + buildQueue: types.optional(z.lazy(() => BuildQueue$inboundSchema)), + bulkRedirectsFreeLimitOverride: types.optional(types.number()), + cfZoneName: types.optional(types.string()), + concurrentBuilds: types.optional(types.number()), + cronJobsPerProject: types.optional(types.number()), + customEnvironmentsPerProject: types.optional(types.number()), + edgeConfigs: types.optional(types.number()), + edgeConfigSize: types.optional(types.number()), + edgeFunctionExecutionTimeoutMs: types.optional(types.number()), + edgeFunctionMaxSizeBytes: types.optional(types.number()), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableMessageboardPrivateBoards: types.optional(types.boolean()), + flagsExplorerOverridesThreshold: types.optional(types.number()), + flagsExplorerUnlimitedOverrides: types.optional(types.boolean()), + imageOptimizationType: types.optional(types.string()), + integrationStores: types.optional(types.number()), + kvDatabases: types.optional(types.number()), + messageboardBoards: types.optional(types.number()), + microfrontendGroupsPerTeam: types.optional(types.number()), + microfrontendProjectsPerGroup: types.optional(types.number()), + nodeType: types.optional(types.string()), + postgresDatabases: types.optional(types.number()), + security: types.optional(z.lazy(() => AuthUserSecurity$inboundSchema)), + serverlessFunctionMaxDuration: types.optional(types.number()), + serverlessFunctionMaxMemorySize: types.optional(types.number()), + }) +); export function authUserResourceConfigFromJSON( jsonString: string, @@ -1052,25 +1096,27 @@ export function authUserResourceConfigFromJSON( /** @internal */ export const BlockedDueToOverageType$inboundSchema: z.ZodNativeEnum< typeof BlockedDueToOverageType -> = z.nativeEnum(BlockedDueToOverageType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BlockedDueToOverageType)); /** @internal */ -export const Reason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Reason); +export const Reason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Reason)); /** @internal */ export const SoftBlock$inboundSchema: z.ZodType< SoftBlock, z.ZodTypeDef, unknown -> = z.object({ - blockedAt: types.number(), - blockedDueToOverageType: types.optional( - BlockedDueToOverageType$inboundSchema, - ), - reason: Reason$inboundSchema, - unpauseAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockedAt: types.number(), + blockedDueToOverageType: types.optional( + BlockedDueToOverageType$inboundSchema, + ), + reason: Reason$inboundSchema, + unpauseAt: types.optional(types.number()), + }) +); export function softBlockFromJSON( jsonString: string, @@ -1087,51 +1133,53 @@ export const AuthUser$inboundSchema: z.ZodType< AuthUser, z.ZodTypeDef, unknown -> = z.object({ - accountUpdateContext: types.optional( - z.lazy(() => AccountUpdateContext$inboundSchema), - ), - activeDashboardViews: types.optional( - z.array(z.lazy(() => ActiveDashboardViews$inboundSchema)), - ), - avatar: types.nullable(types.string()), - billing: types.nullable(z.lazy(() => AuthUserBilling$inboundSchema)), - createdAt: types.number(), - dataCache: types.optional(z.lazy(() => DataCache$inboundSchema)), - defaultTeamId: types.nullable(types.string()), - dismissedToasts: types.optional( - z.array(z.lazy(() => DismissedToasts$inboundSchema)), - ), - email: types.string(), - favoriteProjectsAndSpaces: types.optional( - z.array(z.lazy(() => FavoriteProjectsAndSpaces$inboundSchema)), - ), - featureBlocks: types.optional(z.lazy(() => FeatureBlocks$inboundSchema)), - hasTrialAvailable: types.boolean(), - id: types.string(), - importFlowGitNamespace: z.nullable( - smartUnion([types.string(), types.number()]), - ).optional(), - importFlowGitNamespaceId: z.nullable( - smartUnion([types.string(), types.number()]), - ).optional(), - importFlowGitProvider: z.nullable(ImportFlowGitProvider$inboundSchema) - .optional(), - isAccountUpdateRequired: types.optional(types.boolean()), - isEnterpriseManaged: types.optional(types.boolean()), - name: types.nullable(types.string()), - preferredScopesAndGitNamespaces: types.optional( - z.array(z.lazy(() => PreferredScopesAndGitNamespaces$inboundSchema)), - ), - remoteCaching: types.optional( - z.lazy(() => AuthUserRemoteCaching$inboundSchema), - ), - resourceConfig: z.lazy(() => AuthUserResourceConfig$inboundSchema), - shouldShowEnterpriseManagedWelcome: types.optional(types.boolean()), - softBlock: types.nullable(z.lazy(() => SoftBlock$inboundSchema)), - stagingPrefix: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountUpdateContext: types.optional( + z.lazy(() => AccountUpdateContext$inboundSchema), + ), + activeDashboardViews: types.optional( + z.array(z.lazy(() => ActiveDashboardViews$inboundSchema)), + ), + avatar: types.nullable(types.string()), + billing: types.nullable(z.lazy(() => AuthUserBilling$inboundSchema)), + createdAt: types.number(), + dataCache: types.optional(z.lazy(() => DataCache$inboundSchema)), + defaultTeamId: types.nullable(types.string()), + dismissedToasts: types.optional( + z.array(z.lazy(() => DismissedToasts$inboundSchema)), + ), + email: types.string(), + favoriteProjectsAndSpaces: types.optional( + z.array(z.lazy(() => FavoriteProjectsAndSpaces$inboundSchema)), + ), + featureBlocks: types.optional(z.lazy(() => FeatureBlocks$inboundSchema)), + hasTrialAvailable: types.boolean(), + id: types.string(), + importFlowGitNamespace: z.nullable( + smartUnion([types.string(), types.number()]), + ).optional(), + importFlowGitNamespaceId: z.nullable( + smartUnion([types.string(), types.number()]), + ).optional(), + importFlowGitProvider: z.nullable(ImportFlowGitProvider$inboundSchema) + .optional(), + isAccountUpdateRequired: types.optional(types.boolean()), + isEnterpriseManaged: types.optional(types.boolean()), + name: types.nullable(types.string()), + preferredScopesAndGitNamespaces: types.optional( + z.array(z.lazy(() => PreferredScopesAndGitNamespaces$inboundSchema)), + ), + remoteCaching: types.optional( + z.lazy(() => AuthUserRemoteCaching$inboundSchema), + ), + resourceConfig: z.lazy(() => AuthUserResourceConfig$inboundSchema), + shouldShowEnterpriseManagedWelcome: types.optional(types.boolean()), + softBlock: types.nullable(z.lazy(() => SoftBlock$inboundSchema)), + stagingPrefix: types.string(), + username: types.string(), + }) +); export function authUserFromJSON( jsonString: string, diff --git a/src/models/authuserlimited.ts b/src/models/authuserlimited.ts index 67d8d0d89f..dd2892026e 100644 --- a/src/models/authuserlimited.ts +++ b/src/models/authuserlimited.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -55,17 +55,19 @@ export const AuthUserLimited$inboundSchema: z.ZodType< AuthUserLimited, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - defaultTeamId: types.nullable(types.string()), - email: types.string(), - id: types.string(), - isEnterpriseManaged: types.optional(types.boolean()), - limited: types.literal(true), - name: types.nullable(types.string()), - shouldShowEnterpriseManagedWelcome: types.optional(types.boolean()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + defaultTeamId: types.nullable(types.string()), + email: types.string(), + id: types.string(), + isEnterpriseManaged: types.optional(types.boolean()), + limited: types.literal(true), + name: types.nullable(types.string()), + shouldShowEnterpriseManagedWelcome: types.optional(types.boolean()), + username: types.string(), + }) +); export function authUserLimitedFromJSON( jsonString: string, diff --git a/src/models/badrequest.ts b/src/models/badrequest.ts index 76efde3bfc..dd636e63de 100644 --- a/src/models/badrequest.ts +++ b/src/models/badrequest.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -42,25 +43,27 @@ export class BadRequest extends VercelError { /** @internal */ export const BadRequestCode$inboundSchema: z.ZodNativeEnum< typeof BadRequestCode -> = z.nativeEnum(BadRequestCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BadRequestCode)); /** @internal */ export const BadRequest$inboundSchema: z.ZodType< BadRequest, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: BadRequestCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new BadRequest(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: BadRequestCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new BadRequest(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/batchremoveprojectenvop.ts b/src/models/batchremoveprojectenvop.ts index 9a6d4e07ff..fcb353c4ae 100644 --- a/src/models/batchremoveprojectenvop.ts +++ b/src/models/batchremoveprojectenvop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,9 +47,11 @@ export const BatchRemoveProjectEnvRequestBody$outboundSchema: z.ZodType< BatchRemoveProjectEnvRequestBody$Outbound, z.ZodTypeDef, BatchRemoveProjectEnvRequestBody -> = z.object({ - ids: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: z.array(z.string()), + }) +); export function batchRemoveProjectEnvRequestBodyToJSON( batchRemoveProjectEnvRequestBody: BatchRemoveProjectEnvRequestBody, @@ -74,17 +76,19 @@ export const BatchRemoveProjectEnvRequest$outboundSchema: z.ZodType< BatchRemoveProjectEnvRequest$Outbound, z.ZodTypeDef, BatchRemoveProjectEnvRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => BatchRemoveProjectEnvRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => BatchRemoveProjectEnvRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function batchRemoveProjectEnvRequestToJSON( batchRemoveProjectEnvRequest: BatchRemoveProjectEnvRequest, @@ -101,10 +105,12 @@ export const BatchRemoveProjectEnvResponseBody$inboundSchema: z.ZodType< BatchRemoveProjectEnvResponseBody, z.ZodTypeDef, unknown -> = z.object({ - deleted: types.number(), - ids: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deleted: types.number(), + ids: z.array(types.string()), + }) +); export function batchRemoveProjectEnvResponseBodyFromJSON( jsonString: string, diff --git a/src/models/boughttoorecently.ts b/src/models/boughttoorecently.ts index ddfd11ffbe..a37102bfc7 100644 --- a/src/models/boughttoorecently.ts +++ b/src/models/boughttoorecently.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class BoughtTooRecently extends VercelError { /** @internal */ export const BoughtTooRecentlyCode$inboundSchema: z.ZodNativeEnum< typeof BoughtTooRecentlyCode -> = z.nativeEnum(BoughtTooRecentlyCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BoughtTooRecentlyCode)); /** @internal */ export const BoughtTooRecently$inboundSchema: z.ZodType< BoughtTooRecently, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: BoughtTooRecentlyCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new BoughtTooRecently(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: BoughtTooRecentlyCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new BoughtTooRecently(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/buycreditsop.ts b/src/models/buycreditsop.ts index c1c4bfaac3..cde062de85 100644 --- a/src/models/buycreditsop.ts +++ b/src/models/buycreditsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1886,11 +1886,11 @@ export type BuyCreditsResponseBody = /** @internal */ export const BuyCreditsType$outboundSchema: z.ZodNativeEnum< typeof BuyCreditsType -> = z.nativeEnum(BuyCreditsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyCreditsType)); /** @internal */ -export const CreditType$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(CreditType); +export const CreditType$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreditType)); /** @internal */ export type Item$Outbound = { @@ -1901,11 +1901,13 @@ export type Item$Outbound = { /** @internal */ export const Item$outboundSchema: z.ZodType = - z.object({ - type: BuyCreditsType$outboundSchema, - creditType: CreditType$outboundSchema, - amount: z.number().int(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: BuyCreditsType$outboundSchema, + creditType: CreditType$outboundSchema, + amount: z.number().int(), + }) + ); export function itemToJSON(item: Item): string { return JSON.stringify(Item$outboundSchema.parse(item)); @@ -1921,9 +1923,11 @@ export const BuyCreditsRequestBody$outboundSchema: z.ZodType< BuyCreditsRequestBody$Outbound, z.ZodTypeDef, BuyCreditsRequestBody -> = z.object({ - item: z.lazy(() => Item$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + item: z.lazy(() => Item$outboundSchema), + }) +); export function buyCreditsRequestBodyToJSON( buyCreditsRequestBody: BuyCreditsRequestBody, @@ -1946,16 +1950,18 @@ export const BuyCreditsRequest$outboundSchema: z.ZodType< BuyCreditsRequest$Outbound, z.ZodTypeDef, BuyCreditsRequest -> = z.object({ - source: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => BuyCreditsRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + source: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => BuyCreditsRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function buyCreditsRequestToJSON( buyCreditsRequest: BuyCreditsRequest, @@ -1971,11 +1977,13 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Options, z.ZodTypeDef, unknown - > = z.object({ - addedResourceIds: z.array(types.string()), - productAlias: types.string(), - removedResourceIds: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: z.array(types.string()), + productAlias: types.string(), + removedResourceIds: z.array(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5OptionsFromJSON( jsonString: string, @@ -1998,15 +2006,17 @@ export const BuyCreditsConfigurationBillingResponseChangedResources$inboundSchem BuyCreditsConfigurationBillingResponseChangedResources, z.ZodTypeDef, unknown - > = z.object({ - addedResourceIds: types.optional(z.array(types.string())), - effectiveAt: types.optional(types.string()), - productAlias: types.string(), - productId: types.string(), - quantity: types.number(), - removedResourceIds: types.optional(z.array(types.string())), - resourceIds: types.optional(z.array(types.string())), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: types.optional(z.array(types.string())), + effectiveAt: types.optional(types.string()), + productAlias: types.string(), + productId: types.string(), + quantity: types.number(), + removedResourceIds: types.optional(z.array(types.string())), + resourceIds: types.optional(z.array(types.string())), + }) + ); export function buyCreditsConfigurationBillingResponseChangedResourcesFromJSON( jsonString: string, @@ -2027,12 +2037,16 @@ export function buyCreditsConfigurationBillingResponseChangedResourcesFromJSON( export const BuyCreditsConfigurationBillingResponseEffectiveBehavior$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponseEffectiveBehavior - > = z.nativeEnum(BuyCreditsConfigurationBillingResponseEffectiveBehavior); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationBillingResponseEffectiveBehavior) + ); /** @internal */ export const BuyCreditsConfigurationBillingResponsePricingSource$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(BuyCreditsConfigurationBillingResponsePricingSource); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationBillingResponsePricingSource) + ); /** @internal */ export const BuyCreditsConfigurationBillingResponseReferenceBillingPeriod$inboundSchema: @@ -2040,10 +2054,12 @@ export const BuyCreditsConfigurationBillingResponseReferenceBillingPeriod$inboun BuyCreditsConfigurationBillingResponseReferenceBillingPeriod, z.ZodTypeDef, unknown - > = z.object({ - endDate: types.string(), - startDate: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + startDate: types.string(), + }) + ); export function buyCreditsConfigurationBillingResponseReferenceBillingPeriodFromJSON( jsonString: string, @@ -2066,27 +2082,25 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOutput, z.ZodTypeDef, unknown - > = z.object({ - changedResources: types.optional( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedResources: types.optional(z.array(z.lazy(() => BuyCreditsConfigurationBillingResponseChangedResources$inboundSchema - )), - ), - customerTimezone: types.optional(types.string()), - effectiveBehavior: - BuyCreditsConfigurationBillingResponseEffectiveBehavior$inboundSchema, - metadata: types.optional(z.record(types.string())), - orbPriceId: types.string(), - pendingSubscriptionChangeId: types.optional(types.string()), - pricingSource: - BuyCreditsConfigurationBillingResponsePricingSource$inboundSchema, - productId: types.string(), - referenceBillingPeriod: types.optional( - z.lazy(() => + ))), + customerTimezone: types.optional(types.string()), + effectiveBehavior: + BuyCreditsConfigurationBillingResponseEffectiveBehavior$inboundSchema, + metadata: types.optional(z.record(types.string())), + orbPriceId: types.string(), + pendingSubscriptionChangeId: types.optional(types.string()), + pricingSource: + BuyCreditsConfigurationBillingResponsePricingSource$inboundSchema, + productId: types.string(), + referenceBillingPeriod: types.optional(z.lazy(() => BuyCreditsConfigurationBillingResponseReferenceBillingPeriod$inboundSchema - ), - ), - }); + )), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOutputFromJSON( jsonString: string, @@ -2107,8 +2121,10 @@ export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponse export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type, + ) ); /** @internal */ @@ -2116,16 +2132,18 @@ export const BuyCreditsConfiguration5$inboundSchema: z.ZodType< BuyCreditsConfiguration5, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Options$inboundSchema - ), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOutput$inboundSchema - ), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Options$inboundSchema + ), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOutput$inboundSchema + ), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent5Type$inboundSchema, + }) +); export function buyCreditsConfiguration5FromJSON( jsonString: string, @@ -2143,10 +2161,12 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Options, z.ZodTypeDef, unknown - > = z.object({ - productAlias: types.string(), - resourceIds: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + productAlias: types.string(), + resourceIds: z.array(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4OptionsFromJSON( jsonString: string, @@ -2169,15 +2189,17 @@ export const BuyCreditsConfigurationBillingChangedResources$inboundSchema: BuyCreditsConfigurationBillingChangedResources, z.ZodTypeDef, unknown - > = z.object({ - addedResourceIds: types.optional(z.array(types.string())), - effectiveAt: types.optional(types.string()), - productAlias: types.string(), - productId: types.string(), - quantity: types.number(), - removedResourceIds: types.optional(z.array(types.string())), - resourceIds: types.optional(z.array(types.string())), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: types.optional(z.array(types.string())), + effectiveAt: types.optional(types.string()), + productAlias: types.string(), + productId: types.string(), + quantity: types.number(), + removedResourceIds: types.optional(z.array(types.string())), + resourceIds: types.optional(z.array(types.string())), + }) + ); export function buyCreditsConfigurationBillingChangedResourcesFromJSON( jsonString: string, @@ -2197,13 +2219,17 @@ export function buyCreditsConfigurationBillingChangedResourcesFromJSON( /** @internal */ export const BuyCreditsConfigurationBillingEffectiveBehavior$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(BuyCreditsConfigurationBillingEffectiveBehavior); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationBillingEffectiveBehavior) + ); /** @internal */ export const BuyCreditsConfigurationBillingPricingSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(BuyCreditsConfigurationBillingPricingSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationBillingPricingSource) + ); /** @internal */ export const BuyCreditsConfigurationBillingReferenceBillingPeriod$inboundSchema: @@ -2211,10 +2237,12 @@ export const BuyCreditsConfigurationBillingReferenceBillingPeriod$inboundSchema: BuyCreditsConfigurationBillingReferenceBillingPeriod, z.ZodTypeDef, unknown - > = z.object({ - endDate: types.string(), - startDate: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + startDate: types.string(), + }) + ); export function buyCreditsConfigurationBillingReferenceBillingPeriodFromJSON( jsonString: string, @@ -2238,26 +2266,24 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Output, z.ZodTypeDef, unknown - > = z.object({ - changedResources: types.optional( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedResources: types.optional(z.array(z.lazy(() => BuyCreditsConfigurationBillingChangedResources$inboundSchema - )), - ), - customerTimezone: types.optional(types.string()), - effectiveBehavior: - BuyCreditsConfigurationBillingEffectiveBehavior$inboundSchema, - metadata: types.optional(z.record(types.string())), - orbPriceId: types.string(), - pendingSubscriptionChangeId: types.optional(types.string()), - pricingSource: BuyCreditsConfigurationBillingPricingSource$inboundSchema, - productId: types.string(), - referenceBillingPeriod: types.optional( - z.lazy(() => + ))), + customerTimezone: types.optional(types.string()), + effectiveBehavior: + BuyCreditsConfigurationBillingEffectiveBehavior$inboundSchema, + metadata: types.optional(z.record(types.string())), + orbPriceId: types.string(), + pendingSubscriptionChangeId: types.optional(types.string()), + pricingSource: BuyCreditsConfigurationBillingPricingSource$inboundSchema, + productId: types.string(), + referenceBillingPeriod: types.optional(z.lazy(() => BuyCreditsConfigurationBillingReferenceBillingPeriod$inboundSchema - ), - ), - }); + )), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OutputFromJSON( jsonString: string, @@ -2278,8 +2304,10 @@ export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponse export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type, + ) ); /** @internal */ @@ -2287,16 +2315,18 @@ export const BuyCreditsConfiguration4$inboundSchema: z.ZodType< BuyCreditsConfiguration4, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Options$inboundSchema - ), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Output$inboundSchema - ), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Options$inboundSchema + ), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Output$inboundSchema + ), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent4Type$inboundSchema, + }) +); export function buyCreditsConfiguration4FromJSON( jsonString: string, @@ -2314,10 +2344,12 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOptions, z.ZodTypeDef, unknown - > = z.object({ - productAlias: types.string(), - resourceIds: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + productAlias: types.string(), + resourceIds: z.array(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOptionsFromJSON( jsonString: string, @@ -2339,15 +2371,17 @@ export const BuyCreditsConfigurationChangedResources$inboundSchema: z.ZodType< BuyCreditsConfigurationChangedResources, z.ZodTypeDef, unknown -> = z.object({ - addedResourceIds: types.optional(z.array(types.string())), - effectiveAt: types.optional(types.string()), - productAlias: types.string(), - productId: types.string(), - quantity: types.number(), - removedResourceIds: types.optional(z.array(types.string())), - resourceIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: types.optional(z.array(types.string())), + effectiveAt: types.optional(types.string()), + productAlias: types.string(), + productId: types.string(), + quantity: types.number(), + removedResourceIds: types.optional(z.array(types.string())), + resourceIds: types.optional(z.array(types.string())), + }) +); export function buyCreditsConfigurationChangedResourcesFromJSON( jsonString: string, @@ -2367,14 +2401,17 @@ export function buyCreditsConfigurationChangedResourcesFromJSON( /** @internal */ export const BuyCreditsConfigurationEffectiveBehavior$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(BuyCreditsConfigurationEffectiveBehavior); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationEffectiveBehavior) + ); /** @internal */ export const BuyCreditsConfigurationPricingSource$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - BuyCreditsConfigurationPricingSource, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsConfigurationPricingSource) + ); /** @internal */ export const BuyCreditsConfigurationReferenceBillingPeriod$inboundSchema: @@ -2382,10 +2419,12 @@ export const BuyCreditsConfigurationReferenceBillingPeriod$inboundSchema: BuyCreditsConfigurationReferenceBillingPeriod, z.ZodTypeDef, unknown - > = z.object({ - endDate: types.string(), - startDate: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + startDate: types.string(), + }) + ); export function buyCreditsConfigurationReferenceBillingPeriodFromJSON( jsonString: string, @@ -2409,23 +2448,23 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOutput, z.ZodTypeDef, unknown - > = z.object({ - changedResources: types.optional( - z.array( - z.lazy(() => BuyCreditsConfigurationChangedResources$inboundSchema), - ), - ), - customerTimezone: types.optional(types.string()), - effectiveBehavior: BuyCreditsConfigurationEffectiveBehavior$inboundSchema, - metadata: types.optional(z.record(types.string())), - orbPriceId: types.string(), - pendingSubscriptionChangeId: types.optional(types.string()), - pricingSource: BuyCreditsConfigurationPricingSource$inboundSchema, - productId: types.string(), - referenceBillingPeriod: types.optional( - z.lazy(() => BuyCreditsConfigurationReferenceBillingPeriod$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedResources: types.optional(z.array(z.lazy(() => + BuyCreditsConfigurationChangedResources$inboundSchema + ))), + customerTimezone: types.optional(types.string()), + effectiveBehavior: BuyCreditsConfigurationEffectiveBehavior$inboundSchema, + metadata: types.optional(z.record(types.string())), + orbPriceId: types.string(), + pendingSubscriptionChangeId: types.optional(types.string()), + pricingSource: BuyCreditsConfigurationPricingSource$inboundSchema, + productId: types.string(), + referenceBillingPeriod: types.optional(z.lazy(() => + BuyCreditsConfigurationReferenceBillingPeriod$inboundSchema + )), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOutputFromJSON( jsonString: string, @@ -2446,8 +2485,10 @@ export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponse export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type, + ) ); /** @internal */ @@ -2455,16 +2496,18 @@ export const BuyCreditsConfiguration3$inboundSchema: z.ZodType< BuyCreditsConfiguration3, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOptions$inboundSchema - ), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOutput$inboundSchema - ), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentOptions$inboundSchema + ), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOutput$inboundSchema + ), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntent3Type$inboundSchema, + }) +); export function buyCreditsConfiguration3FromJSON( jsonString: string, @@ -2482,11 +2525,13 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Options, z.ZodTypeDef, unknown - > = z.object({ - productAlias: types.string(), - quantity: types.number(), - resourceIds: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + productAlias: types.string(), + quantity: types.number(), + resourceIds: z.array(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OptionsFromJSON( jsonString: string, @@ -2508,15 +2553,17 @@ export const ConfigurationChangedResources$inboundSchema: z.ZodType< ConfigurationChangedResources, z.ZodTypeDef, unknown -> = z.object({ - addedResourceIds: types.optional(z.array(types.string())), - effectiveAt: types.optional(types.string()), - productAlias: types.string(), - productId: types.string(), - quantity: types.number(), - removedResourceIds: types.optional(z.array(types.string())), - resourceIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: types.optional(z.array(types.string())), + effectiveAt: types.optional(types.string()), + productAlias: types.string(), + productId: types.string(), + quantity: types.number(), + removedResourceIds: types.optional(z.array(types.string())), + resourceIds: types.optional(z.array(types.string())), + }) +); export function configurationChangedResourcesFromJSON( jsonString: string, @@ -2531,22 +2578,26 @@ export function configurationChangedResourcesFromJSON( /** @internal */ export const ConfigurationEffectiveBehavior$inboundSchema: z.ZodNativeEnum< typeof ConfigurationEffectiveBehavior -> = z.nativeEnum(ConfigurationEffectiveBehavior); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ConfigurationEffectiveBehavior) +); /** @internal */ export const ConfigurationPricingSource$inboundSchema: z.ZodNativeEnum< typeof ConfigurationPricingSource -> = z.nativeEnum(ConfigurationPricingSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConfigurationPricingSource)); /** @internal */ export const ConfigurationReferenceBillingPeriod$inboundSchema: z.ZodType< ConfigurationReferenceBillingPeriod, z.ZodTypeDef, unknown -> = z.object({ - endDate: types.string(), - startDate: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + startDate: types.string(), + }) +); export function configurationReferenceBillingPeriodFromJSON( jsonString: string, @@ -2565,21 +2616,23 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONOutput$inbo BuyCreditsConfigurationBillingResponse200ApplicationJSONOutput, z.ZodTypeDef, unknown - > = z.object({ - changedResources: types.optional( - z.array(z.lazy(() => ConfigurationChangedResources$inboundSchema)), - ), - customerTimezone: types.optional(types.string()), - effectiveBehavior: ConfigurationEffectiveBehavior$inboundSchema, - metadata: types.optional(z.record(types.string())), - orbPriceId: types.string(), - pendingSubscriptionChangeId: types.optional(types.string()), - pricingSource: ConfigurationPricingSource$inboundSchema, - productId: types.string(), - referenceBillingPeriod: types.optional( - z.lazy(() => ConfigurationReferenceBillingPeriod$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedResources: types.optional( + z.array(z.lazy(() => ConfigurationChangedResources$inboundSchema)), + ), + customerTimezone: types.optional(types.string()), + effectiveBehavior: ConfigurationEffectiveBehavior$inboundSchema, + metadata: types.optional(z.record(types.string())), + orbPriceId: types.string(), + pendingSubscriptionChangeId: types.optional(types.string()), + pricingSource: ConfigurationPricingSource$inboundSchema, + productId: types.string(), + referenceBillingPeriod: types.optional( + z.lazy(() => ConfigurationReferenceBillingPeriod$inboundSchema), + ), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONOutputFromJSON( jsonString: string, @@ -2600,8 +2653,10 @@ export function buyCreditsConfigurationBillingResponse200ApplicationJSONOutputFr export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType, + ) ); /** @internal */ @@ -2609,16 +2664,18 @@ export const BuyCreditsConfiguration2$inboundSchema: z.ZodType< BuyCreditsConfiguration2, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Options$inboundSchema - ), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONOutput$inboundSchema - ), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Options$inboundSchema + ), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONOutput$inboundSchema + ), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3OrbSubscriptionIntentType$inboundSchema, + }) +); export function buyCreditsConfiguration2FromJSON( jsonString: string, @@ -2636,10 +2693,12 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOptions, z.ZodTypeDef, unknown - > = z.object({ - productAlias: types.string(), - quantity: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + productAlias: types.string(), + quantity: types.number(), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOptionsFromJSON( jsonString: string, @@ -2661,15 +2720,17 @@ export const ChangedResources$inboundSchema: z.ZodType< ChangedResources, z.ZodTypeDef, unknown -> = z.object({ - addedResourceIds: types.optional(z.array(types.string())), - effectiveAt: types.optional(types.string()), - productAlias: types.string(), - productId: types.string(), - quantity: types.number(), - removedResourceIds: types.optional(z.array(types.string())), - resourceIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedResourceIds: types.optional(z.array(types.string())), + effectiveAt: types.optional(types.string()), + productAlias: types.string(), + productId: types.string(), + quantity: types.number(), + removedResourceIds: types.optional(z.array(types.string())), + resourceIds: types.optional(z.array(types.string())), + }) +); export function changedResourcesFromJSON( jsonString: string, @@ -2684,22 +2745,24 @@ export function changedResourcesFromJSON( /** @internal */ export const EffectiveBehavior$inboundSchema: z.ZodNativeEnum< typeof EffectiveBehavior -> = z.nativeEnum(EffectiveBehavior); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EffectiveBehavior)); /** @internal */ export const PricingSource$inboundSchema: z.ZodNativeEnum< typeof PricingSource -> = z.nativeEnum(PricingSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PricingSource)); /** @internal */ export const ReferenceBillingPeriod$inboundSchema: z.ZodType< ReferenceBillingPeriod, z.ZodTypeDef, unknown -> = z.object({ - endDate: types.string(), - startDate: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + startDate: types.string(), + }) +); export function referenceBillingPeriodFromJSON( jsonString: string, @@ -2717,21 +2780,23 @@ export const BuyCreditsConfigurationBillingResponse200Output$inboundSchema: BuyCreditsConfigurationBillingResponse200Output, z.ZodTypeDef, unknown - > = z.object({ - changedResources: types.optional( - z.array(z.lazy(() => ChangedResources$inboundSchema)), - ), - customerTimezone: types.optional(types.string()), - effectiveBehavior: EffectiveBehavior$inboundSchema, - metadata: types.optional(z.record(types.string())), - orbPriceId: types.string(), - pendingSubscriptionChangeId: types.optional(types.string()), - pricingSource: PricingSource$inboundSchema, - productId: types.string(), - referenceBillingPeriod: types.optional( - z.lazy(() => ReferenceBillingPeriod$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedResources: types.optional( + z.array(z.lazy(() => ChangedResources$inboundSchema)), + ), + customerTimezone: types.optional(types.string()), + effectiveBehavior: EffectiveBehavior$inboundSchema, + metadata: types.optional(z.record(types.string())), + orbPriceId: types.string(), + pendingSubscriptionChangeId: types.optional(types.string()), + pricingSource: PricingSource$inboundSchema, + productId: types.string(), + referenceBillingPeriod: types.optional( + z.lazy(() => ReferenceBillingPeriod$inboundSchema), + ), + }) + ); export function buyCreditsConfigurationBillingResponse200OutputFromJSON( jsonString: string, @@ -2753,8 +2818,10 @@ export function buyCreditsConfigurationBillingResponse200OutputFromJSON( export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type, + ) ); /** @internal */ @@ -2762,16 +2829,18 @@ export const BuyCreditsConfiguration1$inboundSchema: z.ZodType< BuyCreditsConfiguration1, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOptions$inboundSchema - ), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200Output$inboundSchema - ), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBodyOptions$inboundSchema + ), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200Output$inboundSchema + ), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody3Type$inboundSchema, + }) +); export function buyCreditsConfiguration1FromJSON( jsonString: string, @@ -2788,13 +2857,15 @@ export const ResponseBodyConfiguration$inboundSchema: z.ZodType< ResponseBodyConfiguration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => BuyCreditsConfiguration1$inboundSchema), - z.lazy(() => BuyCreditsConfiguration2$inboundSchema), - z.lazy(() => BuyCreditsConfiguration3$inboundSchema), - z.lazy(() => BuyCreditsConfiguration4$inboundSchema), - z.lazy(() => BuyCreditsConfiguration5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => BuyCreditsConfiguration1$inboundSchema), + z.lazy(() => BuyCreditsConfiguration2$inboundSchema), + z.lazy(() => BuyCreditsConfiguration3$inboundSchema), + z.lazy(() => BuyCreditsConfiguration4$inboundSchema), + z.lazy(() => BuyCreditsConfiguration5$inboundSchema), + ]) +); export function responseBodyConfigurationFromJSON( jsonString: string, @@ -2809,23 +2880,25 @@ export function responseBodyConfigurationFromJSON( /** @internal */ export const BuyCreditsOrbUpdateMode$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsOrbUpdateMode -> = z.nativeEnum(BuyCreditsOrbUpdateMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyCreditsOrbUpdateMode)); /** @internal */ export const BuyCreditsOrbUpdateStatus$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsOrbUpdateStatus -> = z.nativeEnum(BuyCreditsOrbUpdateStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyCreditsOrbUpdateStatus)); /** @internal */ export const OrbUpdate3$inboundSchema: z.ZodType< OrbUpdate3, z.ZodTypeDef, unknown -> = z.object({ - appliedAt: types.string(), - mode: BuyCreditsOrbUpdateMode$inboundSchema, - status: BuyCreditsOrbUpdateStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appliedAt: types.string(), + mode: BuyCreditsOrbUpdateMode$inboundSchema, + status: BuyCreditsOrbUpdateStatus$inboundSchema, + }) +); export function orbUpdate3FromJSON( jsonString: string, @@ -2840,22 +2913,24 @@ export function orbUpdate3FromJSON( /** @internal */ export const OrbUpdateMode$inboundSchema: z.ZodNativeEnum< typeof OrbUpdateMode -> = z.nativeEnum(OrbUpdateMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OrbUpdateMode)); /** @internal */ export const OrbUpdateStatus$inboundSchema: z.ZodNativeEnum< typeof OrbUpdateStatus -> = z.nativeEnum(OrbUpdateStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OrbUpdateStatus)); /** @internal */ export const OrbUpdate2$inboundSchema: z.ZodType< OrbUpdate2, z.ZodTypeDef, unknown -> = z.object({ - mode: OrbUpdateMode$inboundSchema, - status: OrbUpdateStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: OrbUpdateMode$inboundSchema, + status: OrbUpdateStatus$inboundSchema, + }) +); export function orbUpdate2FromJSON( jsonString: string, @@ -2870,16 +2945,20 @@ export function orbUpdate2FromJSON( /** @internal */ export const BuyCreditsOrbUpdateBillingMode$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsOrbUpdateBillingMode -> = z.nativeEnum(BuyCreditsOrbUpdateBillingMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsOrbUpdateBillingMode) +); /** @internal */ export const OrbUpdate1$inboundSchema: z.ZodType< OrbUpdate1, z.ZodTypeDef, unknown -> = z.object({ - mode: BuyCreditsOrbUpdateBillingMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: BuyCreditsOrbUpdateBillingMode$inboundSchema, + }) +); export function orbUpdate1FromJSON( jsonString: string, @@ -2896,11 +2975,13 @@ export const OrbUpdate$inboundSchema: z.ZodType< OrbUpdate, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => OrbUpdate3$inboundSchema), - z.lazy(() => OrbUpdate2$inboundSchema), - z.lazy(() => OrbUpdate1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => OrbUpdate3$inboundSchema), + z.lazy(() => OrbUpdate2$inboundSchema), + z.lazy(() => OrbUpdate1$inboundSchema), + ]) +); export function orbUpdateFromJSON( jsonString: string, @@ -2915,34 +2996,38 @@ export function orbUpdateFromJSON( /** @internal */ export const BuyCreditsResponseBodyBillingStatus$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsResponseBodyBillingStatus -> = z.nativeEnum(BuyCreditsResponseBodyBillingStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsResponseBodyBillingStatus) +); /** @internal */ export const OrbSubscriptionIntent$inboundSchema: z.ZodType< OrbSubscriptionIntent, z.ZodTypeDef, unknown -> = z.object({ - configuration: smartUnion([ - z.lazy(() => BuyCreditsConfiguration1$inboundSchema), - z.lazy(() => BuyCreditsConfiguration2$inboundSchema), - z.lazy(() => BuyCreditsConfiguration3$inboundSchema), - z.lazy(() => BuyCreditsConfiguration4$inboundSchema), - z.lazy(() => BuyCreditsConfiguration5$inboundSchema), - ]), - createdAt: types.string(), - id: types.string(), - orbSubscriptionId: types.string(), - orbUpdate: smartUnion([ - z.lazy(() => OrbUpdate3$inboundSchema), - z.lazy(() => OrbUpdate2$inboundSchema), - z.lazy(() => OrbUpdate1$inboundSchema), - ]), - ownerId: types.string(), - purchaseIntentId: types.optional(types.string()), - status: BuyCreditsResponseBodyBillingStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: smartUnion([ + z.lazy(() => BuyCreditsConfiguration1$inboundSchema), + z.lazy(() => BuyCreditsConfiguration2$inboundSchema), + z.lazy(() => BuyCreditsConfiguration3$inboundSchema), + z.lazy(() => BuyCreditsConfiguration4$inboundSchema), + z.lazy(() => BuyCreditsConfiguration5$inboundSchema), + ]), + createdAt: types.string(), + id: types.string(), + orbSubscriptionId: types.string(), + orbUpdate: smartUnion([ + z.lazy(() => OrbUpdate3$inboundSchema), + z.lazy(() => OrbUpdate2$inboundSchema), + z.lazy(() => OrbUpdate1$inboundSchema), + ]), + ownerId: types.string(), + purchaseIntentId: types.optional(types.string()), + status: BuyCreditsResponseBodyBillingStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function orbSubscriptionIntentFromJSON( jsonString: string, @@ -2959,9 +3044,11 @@ export const BuyCreditsResponseBody3$inboundSchema: z.ZodType< BuyCreditsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - orbSubscriptionIntent: z.lazy(() => OrbSubscriptionIntent$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orbSubscriptionIntent: z.lazy(() => OrbSubscriptionIntent$inboundSchema), + }) +); export function buyCreditsResponseBody3FromJSON( jsonString: string, @@ -2978,9 +3065,11 @@ export const OptionsFromPlan$inboundSchema: z.ZodType< OptionsFromPlan, z.ZodTypeDef, unknown -> = z.object({ - orbSubscriptionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orbSubscriptionId: types.string(), + }) +); export function optionsFromPlanFromJSON( jsonString: string, @@ -2997,10 +3086,12 @@ export const OptionsPlanItemQuantities$inboundSchema: z.ZodType< OptionsPlanItemQuantities, z.ZodTypeDef, unknown -> = z.object({ - planItemId: types.string(), - quantity: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planItemId: types.string(), + quantity: types.number(), + }) +); export function optionsPlanItemQuantitiesFromJSON( jsonString: string, @@ -3015,16 +3106,18 @@ export function optionsPlanItemQuantitiesFromJSON( /** @internal */ export const BuyCreditsOptionsType$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsOptionsType -> = z.nativeEnum(BuyCreditsOptionsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyCreditsOptionsType)); /** @internal */ export const OptionsTransition$inboundSchema: z.ZodType< OptionsTransition, z.ZodTypeDef, unknown -> = z.object({ - type: BuyCreditsOptionsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: BuyCreditsOptionsType$inboundSchema, + }) +); export function optionsTransitionFromJSON( jsonString: string, @@ -3041,14 +3134,16 @@ export const Options2$inboundSchema: z.ZodType< Options2, z.ZodTypeDef, unknown -> = z.object({ - fromPlan: z.lazy(() => OptionsFromPlan$inboundSchema), - planId: types.string(), - planItemQuantities: types.optional( - z.array(z.lazy(() => OptionsPlanItemQuantities$inboundSchema)), - ), - transition: z.lazy(() => OptionsTransition$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromPlan: z.lazy(() => OptionsFromPlan$inboundSchema), + planId: types.string(), + planItemQuantities: types.optional( + z.array(z.lazy(() => OptionsPlanItemQuantities$inboundSchema)), + ), + transition: z.lazy(() => OptionsTransition$inboundSchema), + }) +); export function options2FromJSON( jsonString: string, @@ -3065,11 +3160,13 @@ export const AdditionalSubscriptions$inboundSchema: z.ZodType< AdditionalSubscriptions, z.ZodTypeDef, unknown -> = z.object({ - currentCycleEndDate: types.string(), - orbSubscriptionId: types.string(), - planId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentCycleEndDate: types.string(), + orbSubscriptionId: types.string(), + planId: types.string(), + }) +); export function additionalSubscriptionsFromJSON( jsonString: string, @@ -3083,17 +3180,19 @@ export function additionalSubscriptionsFromJSON( /** @internal */ export const OptionsModel$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(OptionsModel); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OptionsModel)); /** @internal */ export const OptionsPrice$inboundSchema: z.ZodType< OptionsPrice, z.ZodTypeDef, unknown -> = z.object({ - model: OptionsModel$inboundSchema, - unitAmount: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: OptionsModel$inboundSchema, + unitAmount: types.string(), + }) +); export function optionsPriceFromJSON( jsonString: string, @@ -3110,10 +3209,12 @@ export const OptionsPlanItemPrices$inboundSchema: z.ZodType< OptionsPlanItemPrices, z.ZodTypeDef, unknown -> = z.object({ - planItemId: types.string(), - price: z.lazy(() => OptionsPrice$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planItemId: types.string(), + price: z.lazy(() => OptionsPrice$inboundSchema), + }) +); export function optionsPlanItemPricesFromJSON( jsonString: string, @@ -3130,11 +3231,13 @@ export const BuyCreditsOptionsPlanItemQuantities$inboundSchema: z.ZodType< BuyCreditsOptionsPlanItemQuantities, z.ZodTypeDef, unknown -> = z.object({ - planItemId: types.string(), - quantity: types.number(), - resourceIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planItemId: types.string(), + quantity: types.number(), + resourceIds: types.optional(z.array(types.string())), + }) +); export function buyCreditsOptionsPlanItemQuantitiesFromJSON( jsonString: string, @@ -3152,21 +3255,23 @@ export const BuyCreditsOptionsFromPlan$inboundSchema: z.ZodType< BuyCreditsOptionsFromPlan, z.ZodTypeDef, unknown -> = z.object({ - additionalSubscriptions: types.optional( - z.array(z.lazy(() => AdditionalSubscriptions$inboundSchema)), - ), - currentCycleEndDate: types.string(), - orbSubscriptionId: types.string(), - planId: types.string(), - planItemPrices: types.optional( - z.array(z.lazy(() => OptionsPlanItemPrices$inboundSchema)), - ), - planItemQuantities: types.optional( - z.array(z.lazy(() => BuyCreditsOptionsPlanItemQuantities$inboundSchema)), - ), - rateVariantKey: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + additionalSubscriptions: types.optional( + z.array(z.lazy(() => AdditionalSubscriptions$inboundSchema)), + ), + currentCycleEndDate: types.string(), + orbSubscriptionId: types.string(), + planId: types.string(), + planItemPrices: types.optional( + z.array(z.lazy(() => OptionsPlanItemPrices$inboundSchema)), + ), + planItemQuantities: types.optional( + z.array(z.lazy(() => BuyCreditsOptionsPlanItemQuantities$inboundSchema)), + ), + rateVariantKey: types.optional(types.string()), + }) +); export function buyCreditsOptionsFromPlanFromJSON( jsonString: string, @@ -3179,16 +3284,17 @@ export function buyCreditsOptionsFromPlanFromJSON( } /** @internal */ -export const Model$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Model, -); +export const Model$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Model)); /** @internal */ -export const Price$inboundSchema: z.ZodType = z - .object({ - model: Model$inboundSchema, - unitAmount: types.string(), - }); +export const Price$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + model: Model$inboundSchema, + unitAmount: types.string(), + }) + ); export function priceFromJSON( jsonString: string, @@ -3205,10 +3311,12 @@ export const PlanItemPrices$inboundSchema: z.ZodType< PlanItemPrices, z.ZodTypeDef, unknown -> = z.object({ - planItemId: types.string(), - price: z.lazy(() => Price$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planItemId: types.string(), + price: z.lazy(() => Price$inboundSchema), + }) +); export function planItemPricesFromJSON( jsonString: string, @@ -3225,11 +3333,13 @@ export const PlanItemQuantities$inboundSchema: z.ZodType< PlanItemQuantities, z.ZodTypeDef, unknown -> = z.object({ - planItemId: types.string(), - quantity: types.number(), - resourceIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planItemId: types.string(), + quantity: types.number(), + resourceIds: types.optional(z.array(types.string())), + }) +); export function planItemQuantitiesFromJSON( jsonString: string, @@ -3242,17 +3352,19 @@ export function planItemQuantitiesFromJSON( } /** @internal */ -export const OptionsType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OptionsType); +export const OptionsType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OptionsType)); /** @internal */ export const Transition$inboundSchema: z.ZodType< Transition, z.ZodTypeDef, unknown -> = z.object({ - type: OptionsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: OptionsType$inboundSchema, + }) +); export function transitionFromJSON( jsonString: string, @@ -3269,20 +3381,22 @@ export const Options1$inboundSchema: z.ZodType< Options1, z.ZodTypeDef, unknown -> = z.object({ - fromPlan: types.optional( - z.lazy(() => BuyCreditsOptionsFromPlan$inboundSchema), - ), - planId: types.string(), - planItemPrices: types.optional( - z.array(z.lazy(() => PlanItemPrices$inboundSchema)), - ), - planItemQuantities: types.optional( - z.array(z.lazy(() => PlanItemQuantities$inboundSchema)), - ), - rateVariantKey: types.optional(types.string()), - transition: types.optional(z.lazy(() => Transition$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromPlan: types.optional( + z.lazy(() => BuyCreditsOptionsFromPlan$inboundSchema), + ), + planId: types.string(), + planItemPrices: types.optional( + z.array(z.lazy(() => PlanItemPrices$inboundSchema)), + ), + planItemQuantities: types.optional( + z.array(z.lazy(() => PlanItemQuantities$inboundSchema)), + ), + rateVariantKey: types.optional(types.string()), + transition: types.optional(z.lazy(() => Transition$inboundSchema)), + }) +); export function options1FromJSON( jsonString: string, @@ -3300,10 +3414,12 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONOptions$inb BuyCreditsConfigurationBillingResponse200ApplicationJSONOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => Options2$inboundSchema), - z.lazy(() => Options1$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Options2$inboundSchema), + z.lazy(() => Options1$inboundSchema), + ]) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONOptionsFromJSON( jsonString: string, @@ -3326,9 +3442,11 @@ export const BuyCreditsConfigurationBillingResponseOutput$inboundSchema: BuyCreditsConfigurationBillingResponseOutput, z.ZodTypeDef, unknown - > = z.object({ - planChangeId: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + planChangeId: types.optional(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponseOutputFromJSON( jsonString: string, @@ -3351,16 +3469,18 @@ export const Configuration7$inboundSchema: z.ZodType< Configuration7, z.ZodTypeDef, unknown -> = z.object({ - options: smartUnion([ - z.lazy(() => Options2$inboundSchema), - z.lazy(() => Options1$inboundSchema), - ]), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponseOutput$inboundSchema - ), - type: types.literal("subscription"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: smartUnion([ + z.lazy(() => Options2$inboundSchema), + z.lazy(() => Options1$inboundSchema), + ]), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponseOutput$inboundSchema + ), + type: types.literal("subscription"), + }) +); export function configuration7FromJSON( jsonString: string, @@ -3377,17 +3497,19 @@ export const ConfigurationLineItems$inboundSchema: z.ZodType< ConfigurationLineItems, z.ZodTypeDef, unknown -> = z.object({ - description: types.string(), - id: types.string(), - metadata: types.optional(z.record(types.string())), - name: types.string(), - productAlias: types.optional(types.string()), - productId: types.string(), - quantity: types.string(), - refund: types.optional(types.string()), - unitAmount: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.string(), + id: types.string(), + metadata: types.optional(z.record(types.string())), + name: types.string(), + productAlias: types.optional(types.string()), + productId: types.string(), + quantity: types.string(), + refund: types.optional(types.string()), + unitAmount: types.string(), + }) +); export function configurationLineItemsFromJSON( jsonString: string, @@ -3405,17 +3527,19 @@ export const BuyCreditsConfigurationBillingResponse200Options$inboundSchema: BuyCreditsConfigurationBillingResponse200Options, z.ZodTypeDef, unknown - > = z.object({ - lineItems: types.optional( - z.array(z.lazy(() => ConfigurationLineItems$inboundSchema)), - ), - orbCustomerId: types.string(), - orbExternalCustomerId: types.string(), - orbExternalPlanId: types.string(), - orbPendingSubscriptionChangeId: types.optional(types.string()), - orbPlanId: types.string(), - orbSubscriptionId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + lineItems: types.optional( + z.array(z.lazy(() => ConfigurationLineItems$inboundSchema)), + ), + orbCustomerId: types.string(), + orbExternalCustomerId: types.string(), + orbExternalPlanId: types.string(), + orbPendingSubscriptionChangeId: types.optional(types.string()), + orbPlanId: types.string(), + orbSubscriptionId: types.string(), + }) + ); export function buyCreditsConfigurationBillingResponse200OptionsFromJSON( jsonString: string, @@ -3438,9 +3562,11 @@ export const BuyCreditsConfigurationBillingOutput$inboundSchema: z.ZodType< BuyCreditsConfigurationBillingOutput, z.ZodTypeDef, unknown -> = z.object({ - pendingSubscriptionChangeId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pendingSubscriptionChangeId: types.optional(types.string()), + }) +); export function buyCreditsConfigurationBillingOutputFromJSON( jsonString: string, @@ -3458,13 +3584,15 @@ export const Configuration6$inboundSchema: z.ZodType< Configuration6, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200Options$inboundSchema - ), - output: z.lazy(() => BuyCreditsConfigurationBillingOutput$inboundSchema), - type: types.literal("orb_subscription_intent"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200Options$inboundSchema + ), + output: z.lazy(() => BuyCreditsConfigurationBillingOutput$inboundSchema), + type: types.literal("orb_subscription_intent"), + }) +); export function configuration6FromJSON( jsonString: string, @@ -3481,7 +3609,7 @@ export const AddPrices2$inboundSchema: z.ZodType< AddPrices2, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function addPrices2FromJSON( jsonString: string, @@ -3498,9 +3626,11 @@ export const AddPrices1$inboundSchema: z.ZodType< AddPrices1, z.ZodTypeDef, unknown -> = z.object({ - priceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + priceId: types.string(), + }) +); export function addPrices1FromJSON( jsonString: string, @@ -3517,10 +3647,12 @@ export const AddPrices$inboundSchema: z.ZodType< AddPrices, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => AddPrices1$inboundSchema), - z.lazy(() => AddPrices2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => AddPrices1$inboundSchema), + z.lazy(() => AddPrices2$inboundSchema), + ]) +); export function addPricesFromJSON( jsonString: string, @@ -3537,9 +3669,11 @@ export const RemovePrices$inboundSchema: z.ZodType< RemovePrices, z.ZodTypeDef, unknown -> = z.object({ - priceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + priceId: types.string(), + }) +); export function removePricesFromJSON( jsonString: string, @@ -3556,10 +3690,12 @@ export const ConfigurationReplacePrices$inboundSchema: z.ZodType< ConfigurationReplacePrices, z.ZodTypeDef, unknown -> = z.object({ - fixedPriceQuantity: types.number(), - replacesPriceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fixedPriceQuantity: types.number(), + replacesPriceId: types.string(), + }) +); export function configurationReplacePricesFromJSON( jsonString: string, @@ -3577,28 +3713,28 @@ export const BuyCreditsConfigurationBillingResponseOptions$inboundSchema: BuyCreditsConfigurationBillingResponseOptions, z.ZodTypeDef, unknown - > = z.object({ - addPrices: types.optional( - z.array(smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + addPrices: types.optional(z.array(smartUnion([ z.lazy(() => AddPrices1$inboundSchema), z.lazy(() => AddPrices2$inboundSchema ), - ])), - ), - alignBillingWithSubscriptionStartDate: types.optional(types.boolean()), - couponRedemptionCode: types.optional(types.string()), - externalPlanId: types.string(), - initialPhaseOrder: types.optional(types.number()), - metadata: types.optional(z.record(types.nullable(types.string()))), - removePrices: types.optional( - z.array(z.lazy(() => RemovePrices$inboundSchema)), - ), - replacePrices: types.optional( - z.array(z.lazy(() => ConfigurationReplacePrices$inboundSchema)), - ), - startDate: types.optional(types.string()), - }); + ]))), + alignBillingWithSubscriptionStartDate: types.optional(types.boolean()), + couponRedemptionCode: types.optional(types.string()), + externalPlanId: types.string(), + initialPhaseOrder: types.optional(types.number()), + metadata: types.optional(z.record(types.nullable(types.string()))), + removePrices: types.optional(z.array(z.lazy(() => + RemovePrices$inboundSchema + ))), + replacePrices: types.optional(z.array(z.lazy(() => + ConfigurationReplacePrices$inboundSchema + ))), + startDate: types.optional(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponseOptionsFromJSON( jsonString: string, @@ -3621,9 +3757,11 @@ export const BuyCreditsConfigurationOutput$inboundSchema: z.ZodType< BuyCreditsConfigurationOutput, z.ZodTypeDef, unknown -> = z.object({ - pendingSubscriptionChangeId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pendingSubscriptionChangeId: types.string(), + }) +); export function buyCreditsConfigurationOutputFromJSON( jsonString: string, @@ -3640,13 +3778,15 @@ export const Configuration5$inboundSchema: z.ZodType< Configuration5, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponseOptions$inboundSchema - ), - output: z.lazy(() => BuyCreditsConfigurationOutput$inboundSchema), - type: types.literal("orb_subscription"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponseOptions$inboundSchema + ), + output: z.lazy(() => BuyCreditsConfigurationOutput$inboundSchema), + type: types.literal("orb_subscription"), + }) +); export function configuration5FromJSON( jsonString: string, @@ -3663,14 +3803,16 @@ export const BuyCreditsConfigurationBillingOptions$inboundSchema: z.ZodType< BuyCreditsConfigurationBillingOptions, z.ZodTypeDef, unknown -> = z.object({ - add: types.optional(z.array(z.any())), - addAdjustments: types.optional(z.array(z.any())), - allowInvoiceCreditOrVoid: types.optional(types.boolean()), - edit: types.optional(z.array(z.any())), - editAdjustments: types.optional(z.array(z.any())), - orbSubscriptionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + add: types.optional(z.array(z.any())), + addAdjustments: types.optional(z.array(z.any())), + allowInvoiceCreditOrVoid: types.optional(types.boolean()), + edit: types.optional(z.array(z.any())), + editAdjustments: types.optional(z.array(z.any())), + orbSubscriptionId: types.string(), + }) +); export function buyCreditsConfigurationBillingOptionsFromJSON( jsonString: string, @@ -3688,9 +3830,11 @@ export const ConfigurationOutput$inboundSchema: z.ZodType< ConfigurationOutput, z.ZodTypeDef, unknown -> = z.object({ - pendingSubscriptionChangeId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pendingSubscriptionChangeId: types.string(), + }) +); export function configurationOutputFromJSON( jsonString: string, @@ -3707,11 +3851,13 @@ export const Configuration4$inboundSchema: z.ZodType< Configuration4, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => BuyCreditsConfigurationBillingOptions$inboundSchema), - output: z.lazy(() => ConfigurationOutput$inboundSchema), - type: types.literal("orb_price_interval"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => BuyCreditsConfigurationBillingOptions$inboundSchema), + output: z.lazy(() => ConfigurationOutput$inboundSchema), + type: types.literal("orb_price_interval"), + }) +); export function configuration4FromJSON( jsonString: string, @@ -3726,14 +3872,14 @@ export function configuration4FromJSON( /** @internal */ export const EffectiveDate2$inboundSchema: z.ZodNativeEnum< typeof EffectiveDate2 -> = z.nativeEnum(EffectiveDate2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EffectiveDate2)); /** @internal */ export const EffectiveDate1$inboundSchema: z.ZodType< EffectiveDate1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function effectiveDate1FromJSON( jsonString: string, @@ -3750,10 +3896,12 @@ export const EffectiveDate$inboundSchema: z.ZodType< EffectiveDate, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => EffectiveDate1$inboundSchema), - EffectiveDate2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => EffectiveDate1$inboundSchema), + EffectiveDate2$inboundSchema, + ]) +); export function effectiveDateFromJSON( jsonString: string, @@ -3770,10 +3918,12 @@ export const ReplacePrices$inboundSchema: z.ZodType< ReplacePrices, z.ZodTypeDef, unknown -> = z.object({ - fixedPriceQuantity: types.number(), - replacesPriceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fixedPriceQuantity: types.number(), + replacesPriceId: types.string(), + }) +); export function replacePricesFromJSON( jsonString: string, @@ -3790,19 +3940,21 @@ export const BuyCreditsConfigurationOptions$inboundSchema: z.ZodType< BuyCreditsConfigurationOptions, z.ZodTypeDef, unknown -> = z.object({ - alignBillingWithPlanChangeDate: types.optional(types.boolean()), - couponRedemptionCode: types.optional(types.string()), - effectiveDate: smartUnion([ - z.lazy(() => EffectiveDate1$inboundSchema), - EffectiveDate2$inboundSchema, - ]), - externalPlanId: types.optional(types.string()), - orbSubscriptionId: types.string(), - replacePrices: types.optional( - z.array(z.lazy(() => ReplacePrices$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alignBillingWithPlanChangeDate: types.optional(types.boolean()), + couponRedemptionCode: types.optional(types.string()), + effectiveDate: smartUnion([ + z.lazy(() => EffectiveDate1$inboundSchema), + EffectiveDate2$inboundSchema, + ]), + externalPlanId: types.optional(types.string()), + orbSubscriptionId: types.string(), + replacePrices: types.optional( + z.array(z.lazy(() => ReplacePrices$inboundSchema)), + ), + }) +); export function buyCreditsConfigurationOptionsFromJSON( jsonString: string, @@ -3820,9 +3972,11 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Output, z.ZodTypeDef, unknown - > = z.object({ - pendingSubscriptionChangeId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pendingSubscriptionChangeId: types.string(), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2OutputFromJSON( jsonString: string, @@ -3844,13 +3998,15 @@ export const Configuration3$inboundSchema: z.ZodType< Configuration3, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => BuyCreditsConfigurationOptions$inboundSchema), - output: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Output$inboundSchema - ), - type: types.literal("orb_plan_change"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => BuyCreditsConfigurationOptions$inboundSchema), + output: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Output$inboundSchema + ), + type: types.literal("orb_plan_change"), + }) +); export function configuration3FromJSON( jsonString: string, @@ -3866,8 +4022,10 @@ export function configuration3FromJSON( export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type, + ) ); /** @internal */ @@ -3875,13 +4033,15 @@ export const ConfigurationItems$inboundSchema: z.ZodType< ConfigurationItems, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - subtotal: types.string(), - type: - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type$inboundSchema, - years: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + subtotal: types.string(), + type: + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Type$inboundSchema, + years: types.number(), + }) +); export function configurationItemsFromJSON( jsonString: string, @@ -3898,10 +4058,12 @@ export const ConfigurationOptions$inboundSchema: z.ZodType< ConfigurationOptions, z.ZodTypeDef, unknown -> = z.object({ - items: z.array(z.lazy(() => ConfigurationItems$inboundSchema)), - orderId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(z.lazy(() => ConfigurationItems$inboundSchema)), + orderId: types.string(), + }) +); export function configurationOptionsFromJSON( jsonString: string, @@ -3918,11 +4080,13 @@ export const Configuration2$inboundSchema: z.ZodType< Configuration2, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => ConfigurationOptions$inboundSchema), - output: z.nullable(z.any()).optional(), - type: types.literal("domain_name"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => ConfigurationOptions$inboundSchema), + output: z.nullable(z.any()).optional(), + type: types.literal("domain_name"), + }) +); export function configuration2FromJSON( jsonString: string, @@ -3937,7 +4101,7 @@ export function configuration2FromJSON( /** @internal */ export const ConfigurationCurrency$inboundSchema: z.ZodNativeEnum< typeof ConfigurationCurrency -> = z.nativeEnum(ConfigurationCurrency); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConfigurationCurrency)); /** @internal */ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Options$inboundSchema: @@ -3945,11 +4109,13 @@ export const BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBod BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Options, z.ZodTypeDef, unknown - > = z.object({ - amount: types.string(), - currency: ConfigurationCurrency$inboundSchema, - expirationDate: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + currency: ConfigurationCurrency$inboundSchema, + expirationDate: types.optional(types.string()), + }) + ); export function buyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2OptionsFromJSON( jsonString: string, @@ -3971,13 +4137,15 @@ export const Configuration1$inboundSchema: z.ZodType< Configuration1, z.ZodTypeDef, unknown -> = z.object({ - options: z.lazy(() => - BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Options$inboundSchema - ), - output: z.nullable(z.any()).optional(), - type: types.literal("credit_topup"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + options: z.lazy(() => + BuyCreditsConfigurationBillingResponse200ApplicationJSONResponseBody2Options$inboundSchema + ), + output: z.nullable(z.any()).optional(), + type: types.literal("credit_topup"), + }) +); export function configuration1FromJSON( jsonString: string, @@ -3994,15 +4162,17 @@ export const BuyCreditsResponseBodyConfiguration$inboundSchema: z.ZodType< BuyCreditsResponseBodyConfiguration, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Configuration1$inboundSchema), - z.lazy(() => Configuration2$inboundSchema), - z.lazy(() => Configuration3$inboundSchema), - z.lazy(() => Configuration4$inboundSchema), - z.lazy(() => Configuration5$inboundSchema), - z.lazy(() => Configuration6$inboundSchema), - z.lazy(() => Configuration7$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Configuration1$inboundSchema), + z.lazy(() => Configuration2$inboundSchema), + z.lazy(() => Configuration3$inboundSchema), + z.lazy(() => Configuration4$inboundSchema), + z.lazy(() => Configuration5$inboundSchema), + z.lazy(() => Configuration6$inboundSchema), + z.lazy(() => Configuration7$inboundSchema), + ]) +); export function buyCreditsResponseBodyConfigurationFromJSON( jsonString: string, @@ -4016,21 +4186,23 @@ export function buyCreditsResponseBodyConfigurationFromJSON( } /** @internal */ -export const Currency$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Currency); +export const Currency$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Currency)); /** @internal */ export const Dispute$inboundSchema: z.ZodType = - z.object({ - amount: types.string(), - createdAt: types.string(), - currency: types.string(), - id: types.string(), - providerId: types.string(), - reason: types.nullable(types.string()), - status: types.string(), - updatedAt: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + createdAt: types.string(), + currency: types.string(), + id: types.string(), + providerId: types.string(), + reason: types.nullable(types.string()), + status: types.string(), + updatedAt: types.string(), + }) + ); export function disputeFromJSON( jsonString: string, @@ -4047,17 +4219,19 @@ export const LineItems$inboundSchema: z.ZodType< LineItems, z.ZodTypeDef, unknown -> = z.object({ - description: types.string(), - id: types.string(), - metadata: types.optional(z.record(types.string())), - name: types.string(), - productAlias: types.optional(types.string()), - productId: types.string(), - quantity: types.string(), - refund: types.optional(types.string()), - unitAmount: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.string(), + id: types.string(), + metadata: types.optional(z.record(types.string())), + name: types.string(), + productAlias: types.optional(types.string()), + productId: types.string(), + quantity: types.string(), + refund: types.optional(types.string()), + unitAmount: types.string(), + }) +); export function lineItemsFromJSON( jsonString: string, @@ -4072,19 +4246,21 @@ export function lineItemsFromJSON( /** @internal */ export const BuyCreditsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsResponseBodyType -> = z.nativeEnum(BuyCreditsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyCreditsResponseBodyType)); /** @internal */ export const ResponseBodyProvider$inboundSchema: z.ZodType< ResponseBodyProvider, z.ZodTypeDef, unknown -> = z.object({ - currencyConversionRate: types.optional(types.string()), - resourceId: types.string(), - stripeSharedPaymentTokenUsed: types.optional(types.boolean()), - type: BuyCreditsResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currencyConversionRate: types.optional(types.string()), + resourceId: types.string(), + stripeSharedPaymentTokenUsed: types.optional(types.boolean()), + type: BuyCreditsResponseBodyType$inboundSchema, + }) +); export function responseBodyProviderFromJSON( jsonString: string, @@ -4099,39 +4275,43 @@ export function responseBodyProviderFromJSON( /** @internal */ export const BuyCreditsResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof BuyCreditsResponseBodyStatus -> = z.nativeEnum(BuyCreditsResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuyCreditsResponseBodyStatus) +); /** @internal */ export const PurchaseIntent$inboundSchema: z.ZodType< PurchaseIntent, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.union([ - z.lazy(() => Configuration1$inboundSchema), - z.lazy(() => Configuration2$inboundSchema), - z.lazy(() => Configuration3$inboundSchema), - z.lazy(() => Configuration4$inboundSchema), - z.lazy(() => Configuration5$inboundSchema), - z.lazy(() => Configuration6$inboundSchema), - z.lazy(() => Configuration7$inboundSchema), - ]), - createdAt: types.string(), - currency: Currency$inboundSchema, - dispute: types.optional(z.lazy(() => Dispute$inboundSchema)), - id: types.string(), - lineItems: types.optional(z.array(z.lazy(() => LineItems$inboundSchema))), - metadata: types.optional(z.record(types.string())), - ownerId: types.string(), - provider: z.lazy(() => ResponseBodyProvider$inboundSchema), - refund: types.optional(types.string()), - returnUrl: types.optional(types.string()), - status: BuyCreditsResponseBodyStatus$inboundSchema, - subtotal: types.string(), - tax: types.string(), - total: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.union([ + z.lazy(() => Configuration1$inboundSchema), + z.lazy(() => Configuration2$inboundSchema), + z.lazy(() => Configuration3$inboundSchema), + z.lazy(() => Configuration4$inboundSchema), + z.lazy(() => Configuration5$inboundSchema), + z.lazy(() => Configuration6$inboundSchema), + z.lazy(() => Configuration7$inboundSchema), + ]), + createdAt: types.string(), + currency: Currency$inboundSchema, + dispute: types.optional(z.lazy(() => Dispute$inboundSchema)), + id: types.string(), + lineItems: types.optional(z.array(z.lazy(() => LineItems$inboundSchema))), + metadata: types.optional(z.record(types.string())), + ownerId: types.string(), + provider: z.lazy(() => ResponseBodyProvider$inboundSchema), + refund: types.optional(types.string()), + returnUrl: types.optional(types.string()), + status: BuyCreditsResponseBodyStatus$inboundSchema, + subtotal: types.string(), + tax: types.string(), + total: types.string(), + updatedAt: types.string(), + }) +); export function purchaseIntentFromJSON( jsonString: string, @@ -4148,9 +4328,11 @@ export const BuyCreditsResponseBody2$inboundSchema: z.ZodType< BuyCreditsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - purchaseIntent: z.lazy(() => PurchaseIntent$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseIntent: z.lazy(() => PurchaseIntent$inboundSchema), + }) +); export function buyCreditsResponseBody2FromJSON( jsonString: string, @@ -4167,10 +4349,12 @@ export const BuyCreditsResponseBody1$inboundSchema: z.ZodType< BuyCreditsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - checkoutSessionId: types.string(), - checkoutSessionUrl: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + checkoutSessionId: types.string(), + checkoutSessionUrl: types.string(), + }) +); export function buyCreditsResponseBody1FromJSON( jsonString: string, @@ -4187,11 +4371,13 @@ export const BuyCreditsResponseBody$inboundSchema: z.ZodType< BuyCreditsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => BuyCreditsResponseBody1$inboundSchema), - z.lazy(() => BuyCreditsResponseBody2$inboundSchema), - z.lazy(() => BuyCreditsResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => BuyCreditsResponseBody1$inboundSchema), + z.lazy(() => BuyCreditsResponseBody2$inboundSchema), + z.lazy(() => BuyCreditsResponseBody3$inboundSchema), + ]) +); export function buyCreditsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/buydomainsop.ts b/src/models/buydomainsop.ts index ee1e08a1e1..5caec187d9 100644 --- a/src/models/buydomainsop.ts +++ b/src/models/buydomainsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -217,13 +217,15 @@ export const Domains$outboundSchema: z.ZodType< Domains$Outbound, z.ZodTypeDef, Domains -> = z.object({ - domainName: z.string(), - autoRenew: z.boolean(), - years: z.number(), - expectedPrice: z.number(), - languageCode: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domainName: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + languageCode: z.string().optional(), + }) +); export function domainsToJSON(domains: Domains): string { return JSON.stringify(Domains$outboundSchema.parse(domains)); @@ -237,7 +239,7 @@ export const BuyDomainsAdditional$outboundSchema: z.ZodType< BuyDomainsAdditional$Outbound, z.ZodTypeDef, BuyDomainsAdditional -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function buyDomainsAdditionalToJSON( buyDomainsAdditional: BuyDomainsAdditional, @@ -269,21 +271,23 @@ export const BuyDomainsContactInformation$outboundSchema: z.ZodType< BuyDomainsContactInformation$Outbound, z.ZodTypeDef, BuyDomainsContactInformation -> = z.object({ - firstName: z.string(), - lastName: z.string(), - email: z.string(), - phone: z.string(), - address1: z.string(), - address2: z.string().optional(), - city: z.string(), - state: z.string(), - zip: z.string(), - country: z.string(), - companyName: z.string().optional(), - fax: z.string().optional(), - additional: z.lazy(() => BuyDomainsAdditional$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => BuyDomainsAdditional$outboundSchema).optional(), + }) +); export function buyDomainsContactInformationToJSON( buyDomainsContactInformation: BuyDomainsContactInformation, @@ -306,10 +310,14 @@ export const BuyDomainsRequestBody$outboundSchema: z.ZodType< BuyDomainsRequestBody$Outbound, z.ZodTypeDef, BuyDomainsRequestBody -> = z.object({ - domains: z.array(z.lazy(() => Domains$outboundSchema)), - contactInformation: z.lazy(() => BuyDomainsContactInformation$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.lazy(() => Domains$outboundSchema)), + contactInformation: z.lazy(() => + BuyDomainsContactInformation$outboundSchema + ), + }) +); export function buyDomainsRequestBodyToJSON( buyDomainsRequestBody: BuyDomainsRequestBody, @@ -330,14 +338,16 @@ export const BuyDomainsRequest$outboundSchema: z.ZodType< BuyDomainsRequest$Outbound, z.ZodTypeDef, BuyDomainsRequest -> = z.object({ - teamId: z.string().optional(), - requestBody: z.lazy(() => BuyDomainsRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => BuyDomainsRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function buyDomainsRequestToJSON( buyDomainsRequest: BuyDomainsRequest, @@ -353,12 +363,14 @@ export const BuyDomainsDomainsRegistrarResponseResponseBody$inboundSchema: BuyDomainsDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function buyDomainsDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -381,20 +393,22 @@ export const BuyDomainsDomainsRegistrarResponseBody$inboundSchema: z.ZodType< BuyDomainsDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - DomainTooShort$inboundSchema, - OrderTooExpensive$inboundSchema, - TooManyDomains$inboundSchema, - InvalidAdditionalContactInfo$inboundSchema, - AdditionalContactInfoRequired$inboundSchema, - DuplicateDomains$inboundSchema, - ExpectedPriceMismatch$inboundSchema, - DomainNotAvailable$inboundSchema, - EmojiTldNotSupported$inboundSchema, - LanguageCodeRequired$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + DomainTooShort$inboundSchema, + OrderTooExpensive$inboundSchema, + TooManyDomains$inboundSchema, + InvalidAdditionalContactInfo$inboundSchema, + AdditionalContactInfoRequired$inboundSchema, + DuplicateDomains$inboundSchema, + ExpectedPriceMismatch$inboundSchema, + DomainNotAvailable$inboundSchema, + EmojiTldNotSupported$inboundSchema, + LanguageCodeRequired$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) +); export function buyDomainsDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -410,17 +424,19 @@ export function buyDomainsDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const BuyDomainsMethod$inboundSchema: z.ZodNativeEnum< typeof BuyDomainsMethod -> = z.nativeEnum(BuyDomainsMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuyDomainsMethod)); /** @internal */ export const BuyDomainsLinks$inboundSchema: z.ZodType< BuyDomainsLinks, z.ZodTypeDef, unknown -> = z.object({ - href: types.string(), - method: BuyDomainsMethod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.string(), + method: BuyDomainsMethod$inboundSchema, + }) +); export function buyDomainsLinksFromJSON( jsonString: string, @@ -437,14 +453,16 @@ export const BuyDomainsResponseBody$inboundSchema: z.ZodType< BuyDomainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - orderId: types.string(), - _links: z.record(z.lazy(() => BuyDomainsLinks$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: types.string(), + _links: z.record(z.lazy(() => BuyDomainsLinks$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "_links": "links", + }); + }) +); export function buyDomainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/buysingledomainop.ts b/src/models/buysingledomainop.ts index 93b5479090..76431858dc 100644 --- a/src/models/buysingledomainop.ts +++ b/src/models/buysingledomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -194,7 +194,7 @@ export const Additional$outboundSchema: z.ZodType< Additional$Outbound, z.ZodTypeDef, Additional -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function additionalToJSON(additional: Additional): string { return JSON.stringify(Additional$outboundSchema.parse(additional)); @@ -222,21 +222,23 @@ export const ContactInformation$outboundSchema: z.ZodType< ContactInformation$Outbound, z.ZodTypeDef, ContactInformation -> = z.object({ - firstName: z.string(), - lastName: z.string(), - email: z.string(), - phone: z.string(), - address1: z.string(), - address2: z.string().optional(), - city: z.string(), - state: z.string(), - zip: z.string(), - country: z.string(), - companyName: z.string().optional(), - fax: z.string().optional(), - additional: z.lazy(() => Additional$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => Additional$outboundSchema).optional(), + }) +); export function contactInformationToJSON( contactInformation: ContactInformation, @@ -260,13 +262,15 @@ export const BuySingleDomainRequestBody$outboundSchema: z.ZodType< BuySingleDomainRequestBody$Outbound, z.ZodTypeDef, BuySingleDomainRequestBody -> = z.object({ - autoRenew: z.boolean(), - years: z.number(), - expectedPrice: z.number(), - contactInformation: z.lazy(() => ContactInformation$outboundSchema), - languageCode: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => ContactInformation$outboundSchema), + languageCode: z.string().optional(), + }) +); export function buySingleDomainRequestBodyToJSON( buySingleDomainRequestBody: BuySingleDomainRequestBody, @@ -288,15 +292,17 @@ export const BuySingleDomainRequest$outboundSchema: z.ZodType< BuySingleDomainRequest$Outbound, z.ZodTypeDef, BuySingleDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - requestBody: z.lazy(() => BuySingleDomainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => BuySingleDomainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function buySingleDomainRequestToJSON( buySingleDomainRequest: BuySingleDomainRequest, @@ -312,12 +318,14 @@ export const BuySingleDomainDomainsRegistrarResponseResponseBody$inboundSchema: BuySingleDomainDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function buySingleDomainDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -341,18 +349,20 @@ export const BuySingleDomainDomainsRegistrarResponseBody$inboundSchema: BuySingleDomainDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = smartUnion([ - DomainTooShort$inboundSchema, - OrderTooExpensive$inboundSchema, - InvalidAdditionalContactInfo$inboundSchema, - AdditionalContactInfoRequired$inboundSchema, - ExpectedPriceMismatch$inboundSchema, - DomainNotAvailable$inboundSchema, - EmojiTldNotSupported$inboundSchema, - LanguageCodeRequired$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + DomainTooShort$inboundSchema, + OrderTooExpensive$inboundSchema, + InvalidAdditionalContactInfo$inboundSchema, + AdditionalContactInfoRequired$inboundSchema, + ExpectedPriceMismatch$inboundSchema, + DomainNotAvailable$inboundSchema, + EmojiTldNotSupported$inboundSchema, + LanguageCodeRequired$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) + ); export function buySingleDomainDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -373,14 +383,16 @@ export function buySingleDomainDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const BuySingleDomainMethod$inboundSchema: z.ZodNativeEnum< typeof BuySingleDomainMethod -> = z.nativeEnum(BuySingleDomainMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuySingleDomainMethod)); /** @internal */ -export const Links$inboundSchema: z.ZodType = z - .object({ - href: types.string(), - method: BuySingleDomainMethod$inboundSchema, - }); +export const Links$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.string(), + method: BuySingleDomainMethod$inboundSchema, + }) + ); export function linksFromJSON( jsonString: string, @@ -397,14 +409,16 @@ export const BuySingleDomainResponseBody$inboundSchema: z.ZodType< BuySingleDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - orderId: types.string(), - _links: z.record(z.lazy(() => Links$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: types.string(), + _links: z.record(z.lazy(() => Links$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "_links": "links", + }); + }) +); export function buySingleDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/canceldeploymenthasdeploymentsresponse200applicationjsonresponsebodyservicestype.ts b/src/models/canceldeploymenthasdeploymentsresponse200applicationjsonresponsebodyservicestype.ts index 0e3e2d0e2a..8cafd50714 100644 --- a/src/models/canceldeploymenthasdeploymentsresponse200applicationjsonresponsebodyservicestype.ts +++ b/src/models/canceldeploymenthasdeploymentsresponse200applicationjsonresponsebodyservicestype.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1530,53 +1530,63 @@ export type CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody >; /** @internal */ -export const ReadyState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ReadyState); +export const ReadyState$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ReadyState)); /** @internal */ export const ReadySubstate$inboundSchema: z.ZodNativeEnum< typeof ReadySubstate -> = z.nativeEnum(ReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ReadySubstate)); /** @internal */ export const BuildMachineMachineSelectionType$inboundSchema: z.ZodNativeEnum< typeof BuildMachineMachineSelectionType -> = z.nativeEnum(BuildMachineMachineSelectionType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuildMachineMachineSelectionType) +); /** @internal */ export const CancelDeploymentBuildMachinePurchaseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentBuildMachinePurchaseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentBuildMachinePurchaseType) + ); /** @internal */ export const BuildMachineDefaultPurchaseType$inboundSchema: z.ZodNativeEnum< typeof BuildMachineDefaultPurchaseType -> = z.nativeEnum(BuildMachineDefaultPurchaseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuildMachineDefaultPurchaseType) +); /** @internal */ export const BuildMachineSelectionSource$inboundSchema: z.ZodNativeEnum< typeof BuildMachineSelectionSource -> = z.nativeEnum(BuildMachineSelectionSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(BuildMachineSelectionSource) +); /** @internal */ export const BuildMachine2$inboundSchema: z.ZodType< BuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: types.optional( - BuildMachineMachineSelectionType$inboundSchema, - ), - purchaseType: types.optional( - CancelDeploymentBuildMachinePurchaseType$inboundSchema, - ), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional( - BuildMachineDefaultPurchaseType$inboundSchema, - ), - memory: types.optional(types.number()), - selectionSource: types.optional(BuildMachineSelectionSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: types.optional( + BuildMachineMachineSelectionType$inboundSchema, + ), + purchaseType: types.optional( + CancelDeploymentBuildMachinePurchaseType$inboundSchema, + ), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional( + BuildMachineDefaultPurchaseType$inboundSchema, + ), + memory: types.optional(types.number()), + selectionSource: types.optional(BuildMachineSelectionSource$inboundSchema), + }) +); export function buildMachine2FromJSON( jsonString: string, @@ -1591,36 +1601,38 @@ export function buildMachine2FromJSON( /** @internal */ export const MachineSelectionType$inboundSchema: z.ZodNativeEnum< typeof MachineSelectionType -> = z.nativeEnum(MachineSelectionType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MachineSelectionType)); /** @internal */ export const BuildMachinePurchaseType$inboundSchema: z.ZodNativeEnum< typeof BuildMachinePurchaseType -> = z.nativeEnum(BuildMachinePurchaseType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuildMachinePurchaseType)); /** @internal */ export const DefaultPurchaseType$inboundSchema: z.ZodNativeEnum< typeof DefaultPurchaseType -> = z.nativeEnum(DefaultPurchaseType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DefaultPurchaseType)); /** @internal */ export const SelectionSource$inboundSchema: z.ZodNativeEnum< typeof SelectionSource -> = z.nativeEnum(SelectionSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SelectionSource)); /** @internal */ export const BuildMachine1$inboundSchema: z.ZodType< BuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: MachineSelectionType$inboundSchema, - purchaseType: types.optional(BuildMachinePurchaseType$inboundSchema), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional(DefaultPurchaseType$inboundSchema), - memory: types.optional(types.number()), - selectionSource: types.optional(SelectionSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: MachineSelectionType$inboundSchema, + purchaseType: types.optional(BuildMachinePurchaseType$inboundSchema), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional(DefaultPurchaseType$inboundSchema), + memory: types.optional(types.number()), + selectionSource: types.optional(SelectionSource$inboundSchema), + }) +); export function buildMachine1FromJSON( jsonString: string, @@ -1637,10 +1649,12 @@ export const CancelDeploymentBuildMachine$inboundSchema: z.ZodType< CancelDeploymentBuildMachine, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => BuildMachine1$inboundSchema), - z.lazy(() => BuildMachine2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => BuildMachine1$inboundSchema), + z.lazy(() => BuildMachine2$inboundSchema), + ]) +); export function cancelDeploymentBuildMachineFromJSON( jsonString: string, @@ -1657,14 +1671,14 @@ export const CancelDeploymentResourceConfig$inboundSchema: z.ZodType< CancelDeploymentResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachine: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachine: types.optional(smartUnion([ z.lazy(() => BuildMachine1$inboundSchema), z.lazy(() => BuildMachine2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentResourceConfigFromJSON( jsonString: string, @@ -1678,11 +1692,13 @@ export function cancelDeploymentResourceConfigFromJSON( /** @internal */ export const Routes3$inboundSchema: z.ZodType = - z.object({ - continue: types.boolean(), - middleware: types.number(), - src: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + continue: types.boolean(), + middleware: types.number(), + src: types.string(), + }) + ); export function routes3FromJSON( jsonString: string, @@ -1695,17 +1711,19 @@ export function routes3FromJSON( } /** @internal */ -export const Handle$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Handle); +export const Handle$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Handle)); /** @internal */ export const Routes2$inboundSchema: z.ZodType = - z.object({ - dest: types.optional(types.string()), - handle: Handle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: Handle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) + ); export function routes2FromJSON( jsonString: string, @@ -1720,18 +1738,20 @@ export function routes2FromJSON( /** @internal */ export const DestinationType$inboundSchema: z.ZodNativeEnum< typeof DestinationType -> = z.nativeEnum(DestinationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DestinationType)); /** @internal */ export const Destination2$inboundSchema: z.ZodType< Destination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(DestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(DestinationType$inboundSchema), + }) +); export function destination2FromJSON( jsonString: string, @@ -1748,7 +1768,9 @@ export const RoutesDestination$inboundSchema: z.ZodType< RoutesDestination, z.ZodTypeDef, unknown -> = smartUnion([z.lazy(() => Destination2$inboundSchema), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Destination2$inboundSchema), types.string()]) +); export function routesDestinationFromJSON( jsonString: string, @@ -1763,11 +1785,13 @@ export function routesDestinationFromJSON( /** @internal */ export const CancelDeploymentHasType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentHasType -> = z.nativeEnum(CancelDeploymentHasType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentHasType)); /** @internal */ export const ValueEq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function valueEqFromJSON( jsonString: string, @@ -1784,19 +1808,21 @@ export const CancelDeploymentValue2$inboundSchema: z.ZodType< CancelDeploymentValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function cancelDeploymentValue2FromJSON( jsonString: string, @@ -1813,10 +1839,12 @@ export const CancelDeploymentHasValue$inboundSchema: z.ZodType< CancelDeploymentHasValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValue2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentValue2$inboundSchema), + ]) +); export function cancelDeploymentHasValueFromJSON( jsonString: string, @@ -1829,17 +1857,17 @@ export function cancelDeploymentHasValueFromJSON( } /** @internal */ -export const Has2$inboundSchema: z.ZodType = z - .object({ - key: types.string(), - type: CancelDeploymentHasType$inboundSchema, - value: types.optional( - smartUnion([ +export const Has2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CancelDeploymentHasType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValue2$inboundSchema), - ]), - ), - }); + ])), + }) + ); export function has2FromJSON( jsonString: string, @@ -1853,7 +1881,9 @@ export function has2FromJSON( /** @internal */ export const Eq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function eqFromJSON( jsonString: string, @@ -1871,19 +1901,21 @@ export const CancelDeploymentValueDeploymentsResponse2002$inboundSchema: CancelDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, @@ -1906,10 +1938,12 @@ export const HasValue$inboundSchema: z.ZodType< HasValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$inboundSchema), + ]) +); export function hasValueFromJSON( jsonString: string, @@ -1922,14 +1956,18 @@ export function hasValueFromJSON( } /** @internal */ -export const Has1$inboundSchema: z.ZodType = z - .object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$inboundSchema), - ]), - }); +export const Has1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse2002$inboundSchema + ), + ]), + }) + ); export function has1FromJSON( jsonString: string, @@ -1946,12 +1984,20 @@ export const RoutesHas$inboundSchema: z.ZodType< RoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Has1$inboundSchema), - z.lazy(() => Has2$inboundSchema).and(z.object({ type: z.literal("cookie") })), - z.lazy(() => Has2$inboundSchema).and(z.object({ type: z.literal("header") })), - z.lazy(() => Has2$inboundSchema).and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Has1$inboundSchema), + z.lazy(() => Has2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => Has2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => Has2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function routesHasFromJSON( jsonString: string, @@ -1964,11 +2010,13 @@ export function routesHasFromJSON( } /** @internal */ -export const Locale$inboundSchema: z.ZodType = z - .object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), - }); +export const Locale$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) + ); export function localeFromJSON( jsonString: string, @@ -1983,14 +2031,18 @@ export function localeFromJSON( /** @internal */ export const CancelDeploymentMissingType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMissingType -> = z.nativeEnum(CancelDeploymentMissingType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentMissingType) +); /** @internal */ export const CancelDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< CancelDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentValueDeploymentsEqFromJSON( jsonString: string, @@ -2008,19 +2060,21 @@ export const CancelDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< CancelDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function cancelDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, @@ -2043,10 +2097,12 @@ export const CancelDeploymentMissingValue$inboundSchema: z.ZodType< CancelDeploymentMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValueDeploymentsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentValueDeploymentsResponse2$inboundSchema), + ]) +); export function cancelDeploymentMissingValueFromJSON( jsonString: string, @@ -2063,16 +2119,16 @@ export const Missing2$inboundSchema: z.ZodType< Missing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CancelDeploymentMissingType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CancelDeploymentMissingType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function missing2FromJSON( jsonString: string, @@ -2089,7 +2145,9 @@ export const CancelDeploymentValueEq$inboundSchema: z.ZodType< CancelDeploymentValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentValueEqFromJSON( jsonString: string, @@ -2106,19 +2164,21 @@ export const CancelDeploymentValueDeployments2$inboundSchema: z.ZodType< CancelDeploymentValueDeployments2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function cancelDeploymentValueDeployments2FromJSON( jsonString: string, @@ -2135,10 +2195,12 @@ export const MissingValue$inboundSchema: z.ZodType< MissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), + ]) +); export function missingValueFromJSON( jsonString: string, @@ -2155,13 +2217,15 @@ export const Missing1$inboundSchema: z.ZodType< Missing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), + ]), + }) +); export function missing1FromJSON( jsonString: string, @@ -2178,18 +2242,20 @@ export const RoutesMissing$inboundSchema: z.ZodType< RoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Missing1$inboundSchema), - z.lazy(() => Missing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => Missing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => Missing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Missing1$inboundSchema), + z.lazy(() => Missing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => Missing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => Missing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function routesMissingFromJSON( jsonString: string, @@ -2203,16 +2269,18 @@ export function routesMissingFromJSON( /** @internal */ export const RoutesAction$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RoutesAction); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RoutesAction)); /** @internal */ export const RoutesMitigate$inboundSchema: z.ZodType< RoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: RoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: RoutesAction$inboundSchema, + }) +); export function routesMitigateFromJSON( jsonString: string, @@ -2226,20 +2294,22 @@ export function routesMitigateFromJSON( /** @internal */ export const TransformsOp$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(TransformsOp); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TransformsOp)); /** @internal */ export const Transforms2$inboundSchema: z.ZodType< Transforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: TransformsOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: TransformsOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function transforms2FromJSON( jsonString: string, @@ -2253,7 +2323,9 @@ export function transforms2FromJSON( /** @internal */ export const Args$inboundSchema: z.ZodType = - smartUnion([types.string(), z.array(types.string())]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function argsFromJSON( jsonString: string, @@ -2268,11 +2340,15 @@ export function argsFromJSON( /** @internal */ export const CancelDeploymentTransformsOp$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentTransformsOp -> = z.nativeEnum(CancelDeploymentTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentTransformsOp) +); /** @internal */ export const KeyEq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function keyEqFromJSON( jsonString: string, @@ -2285,19 +2361,21 @@ export function keyEqFromJSON( } /** @internal */ -export const Key2$inboundSchema: z.ZodType = z - .object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), - }); +export const Key2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function key2FromJSON( jsonString: string, @@ -2314,7 +2392,9 @@ export const CancelDeploymentTransformsKey$inboundSchema: z.ZodType< CancelDeploymentTransformsKey, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => Key2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => Key2$inboundSchema)]) +); export function cancelDeploymentTransformsKeyFromJSON( jsonString: string, @@ -2331,9 +2411,11 @@ export const TransformsTarget$inboundSchema: z.ZodType< TransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([types.string(), z.lazy(() => Key2$inboundSchema)]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([types.string(), z.lazy(() => Key2$inboundSchema)]), + }) +); export function transformsTargetFromJSON( jsonString: string, @@ -2348,20 +2430,22 @@ export function transformsTargetFromJSON( /** @internal */ export const TransformsType$inboundSchema: z.ZodNativeEnum< typeof TransformsType -> = z.nativeEnum(TransformsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TransformsType)); /** @internal */ export const Transforms1$inboundSchema: z.ZodType< Transforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: CancelDeploymentTransformsOp$inboundSchema, - target: z.lazy(() => TransformsTarget$inboundSchema), - type: TransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: CancelDeploymentTransformsOp$inboundSchema, + target: z.lazy(() => TransformsTarget$inboundSchema), + type: TransformsType$inboundSchema, + }) +); export function transforms1FromJSON( jsonString: string, @@ -2378,18 +2462,20 @@ export const RoutesTransforms$inboundSchema: z.ZodType< RoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Transforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => Transforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => Transforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => Transforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Transforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => Transforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => Transforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => Transforms2$inboundSchema), + ]) +); export function routesTransformsFromJSON( jsonString: string, @@ -2403,17 +2489,17 @@ export function routesTransformsFromJSON( /** @internal */ export const Routes1$inboundSchema: z.ZodType = - z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([z.lazy(() => Destination2$inboundSchema), types.string()]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional( + smartUnion([z.lazy(() => Destination2$inboundSchema), types.string()]), + ), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => Has1$inboundSchema), z.lazy(() => Has2$inboundSchema @@ -2424,17 +2510,17 @@ export const Routes1$inboundSchema: z.ZodType = z.lazy(() => Has2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => Locale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + Locale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => Missing1$inboundSchema), z.lazy(() => Missing2$inboundSchema @@ -2445,17 +2531,17 @@ export const Routes1$inboundSchema: z.ZodType = z.lazy(() => Missing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional(z.lazy(() => RoutesMitigate$inboundSchema)), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + RoutesMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => Transforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -2466,9 +2552,9 @@ export const Routes1$inboundSchema: z.ZodType = z.object({ type: z.literal("response.headers") }), ), z.lazy(() => Transforms2$inboundSchema), - ])), - ), - }); + ]))), + }) + ); export function routes1FromJSON( jsonString: string, @@ -2485,11 +2571,13 @@ export const CancelDeploymentRoutes$inboundSchema: z.ZodType< CancelDeploymentRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Routes3$inboundSchema), - z.lazy(() => Routes1$inboundSchema), - z.lazy(() => Routes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Routes3$inboundSchema), + z.lazy(() => Routes1$inboundSchema), + z.lazy(() => Routes2$inboundSchema), + ]) +); export function cancelDeploymentRoutesFromJSON( jsonString: string, @@ -2502,20 +2590,24 @@ export function cancelDeploymentRoutesFromJSON( } /** @internal */ -export const BlockCode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(BlockCode); +export const BlockCode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BlockCode)); /** @internal */ export const CancelDeploymentGitProvider$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitProvider -> = z.nativeEnum(CancelDeploymentGitProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitProvider) +); /** @internal */ export const CancelDeploymentGitUserId$inboundSchema: z.ZodType< CancelDeploymentGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentGitUserIdFromJSON( jsonString: string, @@ -2532,13 +2624,15 @@ export const SeatBlock$inboundSchema: z.ZodType< SeatBlock, z.ZodTypeDef, unknown -> = z.object({ - blockCode: BlockCode$inboundSchema, - gitProvider: types.optional(CancelDeploymentGitProvider$inboundSchema), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - isVerified: types.optional(types.boolean()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockCode: BlockCode$inboundSchema, + gitProvider: types.optional(CancelDeploymentGitProvider$inboundSchema), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + isVerified: types.optional(types.boolean()), + userId: types.optional(types.string()), + }) +); export function seatBlockFromJSON( jsonString: string, @@ -2551,25 +2645,29 @@ export function seatBlockFromJSON( } /** @internal */ -export const Format$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Format); +export const Format$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Format)); /** @internal */ export const CancelDeploymentServicesDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsType) + ); /** @internal */ export const Bindings$inboundSchema: z.ZodType< Bindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: Format$inboundSchema, - service: types.string(), - type: types.optional(CancelDeploymentServicesDeploymentsType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: Format$inboundSchema, + service: types.string(), + type: types.optional(CancelDeploymentServicesDeploymentsType$inboundSchema), + }) +); export function bindingsFromJSON( jsonString: string, @@ -2583,13 +2681,17 @@ export function bindingsFromJSON( /** @internal */ export const CancelDeploymentServicesDeploymentsFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsFormat); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsFormat) + ); /** @internal */ export const CancelDeploymentServicesDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsResponse200Type) + ); /** @internal */ export const CancelDeploymentServicesDeploymentsBindings$inboundSchema: @@ -2597,14 +2699,16 @@ export const CancelDeploymentServicesDeploymentsBindings$inboundSchema: CancelDeploymentServicesDeploymentsBindings, z.ZodTypeDef, unknown - > = z.object({ - env: types.string(), - format: CancelDeploymentServicesDeploymentsFormat$inboundSchema, - service: types.string(), - type: types.optional( - CancelDeploymentServicesDeploymentsResponse200Type$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: CancelDeploymentServicesDeploymentsFormat$inboundSchema, + service: types.string(), + type: types.optional( + CancelDeploymentServicesDeploymentsResponse200Type$inboundSchema, + ), + }) + ); export function cancelDeploymentServicesDeploymentsBindingsFromJSON( jsonString: string, @@ -2627,10 +2731,12 @@ export const CancelDeploymentServicesHttpHeaders$inboundSchema: z.ZodType< CancelDeploymentServicesHttpHeaders, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) +); export function cancelDeploymentServicesHttpHeadersFromJSON( jsonString: string, @@ -2646,22 +2752,26 @@ export function cancelDeploymentServicesHttpHeadersFromJSON( /** @internal */ export const CancelDeploymentServicesScheme$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentServicesScheme -> = z.nativeEnum(CancelDeploymentServicesScheme); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesScheme) +); /** @internal */ export const CancelDeploymentServicesHttpGet$inboundSchema: z.ZodType< CancelDeploymentServicesHttpGet, z.ZodTypeDef, unknown -> = z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => CancelDeploymentServicesHttpHeaders$inboundSchema)), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional(CancelDeploymentServicesScheme$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(z.lazy(() => CancelDeploymentServicesHttpHeaders$inboundSchema)), + ), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional(CancelDeploymentServicesScheme$inboundSchema), + }) +); export function cancelDeploymentServicesHttpGetFromJSON( jsonString: string, @@ -2678,14 +2788,16 @@ export const CancelDeploymentServicesLivenessProbe$inboundSchema: z.ZodType< CancelDeploymentServicesLivenessProbe, z.ZodTypeDef, unknown -> = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => CancelDeploymentServicesHttpGet$inboundSchema), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => CancelDeploymentServicesHttpGet$inboundSchema), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) +); export function cancelDeploymentServicesLivenessProbeFromJSON( jsonString: string, @@ -2701,16 +2813,18 @@ export function cancelDeploymentServicesLivenessProbeFromJSON( /** @internal */ export const ServicesMemory$inboundSchema: z.ZodNativeEnum< typeof ServicesMemory -> = z.nativeEnum(ServicesMemory); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesMemory)); /** @internal */ export const CancelDeploymentServicesRequests$inboundSchema: z.ZodType< CancelDeploymentServicesRequests, z.ZodTypeDef, unknown -> = z.object({ - memory: ServicesMemory$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: ServicesMemory$inboundSchema, + }) +); export function cancelDeploymentServicesRequestsFromJSON( jsonString: string, @@ -2727,9 +2841,11 @@ export const CancelDeploymentServicesResources$inboundSchema: z.ZodType< CancelDeploymentServicesResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => CancelDeploymentServicesRequests$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => CancelDeploymentServicesRequests$inboundSchema), + }) +); export function cancelDeploymentServicesResourcesFromJSON( jsonString: string, @@ -2746,27 +2862,27 @@ export const ServicesDaemon$inboundSchema: z.ZodType< ServicesDaemon, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional(z.array(z.lazy(() => CancelDeploymentServicesDeploymentsBindings$inboundSchema + ))), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional(z.lazy(() => + CancelDeploymentServicesLivenessProbe$inboundSchema + )), + replicas: types.optional(z.record(types.number())), + resources: types.optional(z.lazy(() => + CancelDeploymentServicesResources$inboundSchema )), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => CancelDeploymentServicesLivenessProbe$inboundSchema), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional( - z.lazy(() => CancelDeploymentServicesResources$inboundSchema), - ), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), -}); + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) +); export function servicesDaemonFromJSON( jsonString: string, @@ -2783,7 +2899,9 @@ export const ServicesExcludeFiles$inboundSchema: z.ZodType< ServicesExcludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function servicesExcludeFilesFromJSON( jsonString: string, @@ -2797,8 +2915,10 @@ export function servicesExcludeFilesFromJSON( /** @internal */ export const CancelDeploymentServicesDeploymentsMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsMode) + ); /** @internal */ export const CancelDeploymentServicesDeploymentsAffinity$inboundSchema: @@ -2806,9 +2926,11 @@ export const CancelDeploymentServicesDeploymentsAffinity$inboundSchema: CancelDeploymentServicesDeploymentsAffinity, z.ZodTypeDef, unknown - > = z.object({ - mode: CancelDeploymentServicesDeploymentsMode$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CancelDeploymentServicesDeploymentsMode$inboundSchema, + }) + ); export function cancelDeploymentServicesDeploymentsAffinityFromJSON( jsonString: string, @@ -2828,8 +2950,10 @@ export function cancelDeploymentServicesDeploymentsAffinityFromJSON( /** @internal */ export const CancelDeploymentServicesDeploymentsArchitecture$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsArchitecture); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsArchitecture) + ); /** @internal */ export const CancelDeploymentExperimentalTriggersDeployments3$inboundSchema: @@ -2837,9 +2961,11 @@ export const CancelDeploymentExperimentalTriggersDeployments3$inboundSchema: CancelDeploymentExperimentalTriggersDeployments3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeployments3FromJSON( jsonString: string, @@ -2863,14 +2989,16 @@ export const CancelDeploymentExperimentalTriggersDeployments2$inboundSchema: CancelDeploymentExperimentalTriggersDeployments2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeployments2FromJSON( jsonString: string, @@ -2894,15 +3022,17 @@ export const CancelDeploymentExperimentalTriggersDeployments1$inboundSchema: CancelDeploymentExperimentalTriggersDeployments1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeployments1FromJSON( jsonString: string, @@ -2926,17 +3056,19 @@ export const CancelDeploymentServicesDeploymentsExperimentalTriggers$inboundSche CancelDeploymentServicesDeploymentsExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - CancelDeploymentExperimentalTriggersDeployments1$inboundSchema - ), - z.lazy(() => - CancelDeploymentExperimentalTriggersDeployments2$inboundSchema - ), - z.lazy(() => - CancelDeploymentExperimentalTriggersDeployments3$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CancelDeploymentExperimentalTriggersDeployments1$inboundSchema + ), + z.lazy(() => + CancelDeploymentExperimentalTriggersDeployments2$inboundSchema + ), + z.lazy(() => + CancelDeploymentExperimentalTriggersDeployments3$inboundSchema + ), + ]) + ); export function cancelDeploymentServicesDeploymentsExperimentalTriggersFromJSON( jsonString: string, @@ -2955,8 +3087,10 @@ export function cancelDeploymentServicesDeploymentsExperimentalTriggersFromJSON( /** @internal */ export const CancelDeploymentMaxDurationDeployments2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentMaxDurationDeployments2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentMaxDurationDeployments2) + ); /** @internal */ export const CancelDeploymentServicesDeploymentsMaxDuration$inboundSchema: @@ -2964,10 +3098,12 @@ export const CancelDeploymentServicesDeploymentsMaxDuration$inboundSchema: CancelDeploymentServicesDeploymentsMaxDuration, z.ZodTypeDef, unknown - > = smartUnion([ - types.number(), - CancelDeploymentMaxDurationDeployments2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + CancelDeploymentMaxDurationDeployments2$inboundSchema, + ]) + ); export function cancelDeploymentServicesDeploymentsMaxDurationFromJSON( jsonString: string, @@ -2991,16 +3127,16 @@ export const CancelDeploymentServicesDeploymentsFunctions$inboundSchema: CancelDeploymentServicesDeploymentsFunctions, z.ZodTypeDef, unknown - > = z.object({ - affinity: types.optional( - z.lazy(() => CancelDeploymentServicesDeploymentsAffinity$inboundSchema), - ), - architecture: types.optional( - CancelDeploymentServicesDeploymentsArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => CancelDeploymentServicesDeploymentsAffinity$inboundSchema), + ), + architecture: types.optional( + CancelDeploymentServicesDeploymentsArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentExperimentalTriggersDeployments1$inboundSchema ), @@ -3010,24 +3146,24 @@ export const CancelDeploymentServicesDeploymentsFunctions$inboundSchema: z.lazy(() => CancelDeploymentExperimentalTriggersDeployments3$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - CancelDeploymentMaxDurationDeployments2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), - }); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + CancelDeploymentMaxDurationDeployments2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) + ); export function cancelDeploymentServicesDeploymentsFunctionsFromJSON( jsonString: string, @@ -3050,7 +3186,9 @@ export const ServicesIncludeFiles$inboundSchema: z.ZodType< ServicesIncludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function servicesIncludeFilesFromJSON( jsonString: string, @@ -3067,7 +3205,9 @@ export const ServicesMiddlewareMatcher$inboundSchema: z.ZodType< ServicesMiddlewareMatcher, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function servicesMiddlewareMatcherFromJSON( jsonString: string, @@ -3082,16 +3222,18 @@ export function servicesMiddlewareMatcherFromJSON( /** @internal */ export const ServicesMiddlewareRuntime$inboundSchema: z.ZodNativeEnum< typeof ServicesMiddlewareRuntime -> = z.nativeEnum(ServicesMiddlewareRuntime); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesMiddlewareRuntime)); /** @internal */ export const CancelDeploymentServicesVercelFlags$inboundSchema: z.ZodType< CancelDeploymentServicesVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function cancelDeploymentServicesVercelFlagsFromJSON( jsonString: string, @@ -3109,25 +3251,27 @@ export const CancelDeploymentServicesProjectSettings$inboundSchema: z.ZodType< CancelDeploymentServicesProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => CancelDeploymentServicesVercelFlags$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => CancelDeploymentServicesVercelFlags$inboundSchema), + ), + }) +); export function cancelDeploymentServicesProjectSettingsFromJSON( jsonString: string, @@ -3150,9 +3294,11 @@ export const ServicesSchedulesModule$inboundSchema: z.ZodType< ServicesSchedulesModule, z.ZodTypeDef, unknown -> = z.object({ - module: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) +); export function servicesSchedulesModuleFromJSON( jsonString: string, @@ -3169,49 +3315,49 @@ export const CancelDeploymentServicesConfig$inboundSchema: z.ZodType< CancelDeploymentServicesConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional(z.lazy(() => ServicesDaemon$inboundSchema)), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional(z.lazy(() => ServicesDaemon$inboundSchema)), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional(z.record(z.lazy(() => CancelDeploymentServicesDeploymentsFunctions$inboundSchema + ))), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional(ServicesMiddlewareRuntime$inboundSchema), + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional(z.lazy(() => + CancelDeploymentServicesProjectSettings$inboundSchema + )), + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional(z.lazy(() => + ServicesSchedulesModule$inboundSchema )), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional(ServicesMiddlewareRuntime$inboundSchema), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => CancelDeploymentServicesProjectSettings$inboundSchema), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional( - z.lazy(() => ServicesSchedulesModule$inboundSchema), - ), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function cancelDeploymentServicesConfigFromJSON( jsonString: string, @@ -3228,13 +3374,15 @@ export const ServicesBuilder$inboundSchema: z.ZodType< ServicesBuilder, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional( - z.lazy(() => CancelDeploymentServicesConfig$inboundSchema), - ), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional( + z.lazy(() => CancelDeploymentServicesConfig$inboundSchema), + ), + src: types.optional(types.string()), + use: types.string(), + }) +); export function servicesBuilderFromJSON( jsonString: string, @@ -3248,16 +3396,18 @@ export function servicesBuilderFromJSON( /** @internal */ export const ServicesMode$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ServicesMode); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesMode)); /** @internal */ export const ServicesAffinity$inboundSchema: z.ZodType< ServicesAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: ServicesMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: ServicesMode$inboundSchema, + }) +); export function servicesAffinityFromJSON( jsonString: string, @@ -3272,16 +3422,18 @@ export function servicesAffinityFromJSON( /** @internal */ export const ServicesArchitecture$inboundSchema: z.ZodNativeEnum< typeof ServicesArchitecture -> = z.nativeEnum(ServicesArchitecture); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesArchitecture)); /** @internal */ export const CancelDeploymentExperimentalTriggers3$inboundSchema: z.ZodType< CancelDeploymentExperimentalTriggers3, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("schedule/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) +); export function cancelDeploymentExperimentalTriggers3FromJSON( jsonString: string, @@ -3299,14 +3451,16 @@ export const CancelDeploymentExperimentalTriggers2$inboundSchema: z.ZodType< CancelDeploymentExperimentalTriggers2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) +); export function cancelDeploymentExperimentalTriggers2FromJSON( jsonString: string, @@ -3324,15 +3478,17 @@ export const CancelDeploymentExperimentalTriggers1$inboundSchema: z.ZodType< CancelDeploymentExperimentalTriggers1, z.ZodTypeDef, unknown -> = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) +); export function cancelDeploymentExperimentalTriggers1FromJSON( jsonString: string, @@ -3350,11 +3506,13 @@ export const ServicesExperimentalTriggers$inboundSchema: z.ZodType< ServicesExperimentalTriggers, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentExperimentalTriggers1$inboundSchema), - z.lazy(() => CancelDeploymentExperimentalTriggers2$inboundSchema), - z.lazy(() => CancelDeploymentExperimentalTriggers3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentExperimentalTriggers1$inboundSchema), + z.lazy(() => CancelDeploymentExperimentalTriggers2$inboundSchema), + z.lazy(() => CancelDeploymentExperimentalTriggers3$inboundSchema), + ]) +); export function servicesExperimentalTriggersFromJSON( jsonString: string, @@ -3369,14 +3527,18 @@ export function servicesExperimentalTriggersFromJSON( /** @internal */ export const CancelDeploymentMaxDuration2$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMaxDuration2 -> = z.nativeEnum(CancelDeploymentMaxDuration2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentMaxDuration2) +); /** @internal */ export const ServicesMaxDuration$inboundSchema: z.ZodType< ServicesMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([types.number(), CancelDeploymentMaxDuration2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), CancelDeploymentMaxDuration2$inboundSchema]) +); export function servicesMaxDurationFromJSON( jsonString: string, @@ -3393,47 +3555,49 @@ export const ServicesFunctions$inboundSchema: z.ZodType< ServicesFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional(z.lazy(() => ServicesAffinity$inboundSchema)), - architecture: types.optional(ServicesArchitecture$inboundSchema), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional(z.lazy(() => ServicesAffinity$inboundSchema)), + architecture: types.optional(ServicesArchitecture$inboundSchema), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentExperimentalTriggers1$inboundSchema), z.lazy(() => CancelDeploymentExperimentalTriggers2$inboundSchema ), z.lazy(() => CancelDeploymentExperimentalTriggers3$inboundSchema), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([types.number(), CancelDeploymentMaxDuration2$inboundSchema]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); - -export function servicesFunctionsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ServicesFunctions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ServicesFunctions' from JSON`, - ); -} + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([types.number(), CancelDeploymentMaxDuration2$inboundSchema]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); + +export function servicesFunctionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ServicesFunctions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ServicesFunctions' from JSON`, + ); +} /** @internal */ export const CancelDeploymentHasDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentHasDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentHasDeploymentsResponseType) + ); /** @internal */ export const CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema: @@ -3441,7 +3605,9 @@ export const CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema: CancelDeploymentValueDeploymentsResponse200Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200EqFromJSON( jsonString: string, @@ -3465,19 +3631,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJson2$inbound CancelDeploymentValueDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -3500,12 +3668,14 @@ export const CancelDeploymentHasDeploymentsResponseValue$inboundSchema: CancelDeploymentHasDeploymentsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponseValueFromJSON( jsonString: string, @@ -3528,18 +3698,18 @@ export const CancelDeploymentHas2$inboundSchema: z.ZodType< CancelDeploymentHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CancelDeploymentHasDeploymentsResponseType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CancelDeploymentHasDeploymentsResponseType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentHas2FromJSON( jsonString: string, @@ -3554,7 +3724,9 @@ export function cancelDeploymentHas2FromJSON( /** @internal */ export const CancelDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponseEqFromJSON( jsonString: string, @@ -3578,19 +3750,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2FromJSON( jsonString: string, @@ -3612,12 +3786,14 @@ export const CancelDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< CancelDeploymentHasDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2$inboundSchema + ), + ]) +); export function cancelDeploymentHasDeploymentsValueFromJSON( jsonString: string, @@ -3635,15 +3811,17 @@ export const CancelDeploymentHas1$inboundSchema: z.ZodType< CancelDeploymentHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Headers2$inboundSchema + ), + ]), + }) +); export function cancelDeploymentHas1FromJSON( jsonString: string, @@ -3660,18 +3838,20 @@ export const ServicesHas$inboundSchema: z.ZodType< ServicesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentHas1$inboundSchema), - z.lazy(() => CancelDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentHas1$inboundSchema), + z.lazy(() => CancelDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function servicesHasFromJSON( jsonString: string, @@ -3688,10 +3868,12 @@ export const CancelDeploymentServicesHeaders$inboundSchema: z.ZodType< CancelDeploymentServicesHeaders, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + value: types.string(), + }) +); export function cancelDeploymentServicesHeadersFromJSON( jsonString: string, @@ -3705,8 +3887,10 @@ export function cancelDeploymentServicesHeadersFromJSON( /** @internal */ export const CancelDeploymentMissingDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentMissingDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentMissingDeploymentsResponseType) + ); /** @internal */ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq$inboundSchema: @@ -3714,7 +3898,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEqFromJSON( jsonString: string, @@ -3737,19 +3923,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2FromJSON( jsonString: string, @@ -3772,12 +3960,14 @@ export const CancelDeploymentMissingDeploymentsResponseValue$inboundSchema: CancelDeploymentMissingDeploymentsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponseValueFromJSON( jsonString: string, @@ -3800,18 +3990,18 @@ export const CancelDeploymentMissing2$inboundSchema: z.ZodType< CancelDeploymentMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CancelDeploymentMissingDeploymentsResponseType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CancelDeploymentMissingDeploymentsResponseType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentMissing2FromJSON( jsonString: string, @@ -3829,7 +4019,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONEq$inboun CancelDeploymentValueDeploymentsResponse200ApplicationJSONEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONEqFromJSON( jsonString: string, @@ -3852,19 +4044,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -3886,12 +4080,14 @@ export const CancelDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType< CancelDeploymentMissingDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) +); export function cancelDeploymentMissingDeploymentsValueFromJSON( jsonString: string, @@ -3914,15 +4110,17 @@ export const CancelDeploymentMissing1$inboundSchema: z.ZodType< CancelDeploymentMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]), + }) +); export function cancelDeploymentMissing1FromJSON( jsonString: string, @@ -3939,18 +4137,20 @@ export const ServicesMissing$inboundSchema: z.ZodType< ServicesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentMissing1$inboundSchema), - z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentMissing1$inboundSchema), + z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function servicesMissingFromJSON( jsonString: string, @@ -3967,9 +4167,9 @@ export const ServicesHeaders$inboundSchema: z.ZodType< ServicesHeaders, z.ZodTypeDef, unknown -> = z.object({ - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentHas1$inboundSchema), z.lazy(() => CancelDeploymentHas2$inboundSchema @@ -3980,11 +4180,11 @@ export const ServicesHeaders$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: z.array(z.lazy(() => CancelDeploymentServicesHeaders$inboundSchema)), - missing: types.optional( - z.array(z.union([ + ]))), + headers: z.array(z.lazy(() => + CancelDeploymentServicesHeaders$inboundSchema + )), + missing: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentMissing1$inboundSchema), z.lazy(() => CancelDeploymentMissing2$inboundSchema @@ -3995,10 +4195,10 @@ export const ServicesHeaders$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - source: types.string(), -}); + ]))), + source: types.string(), + }) +); export function servicesHeadersFromJSON( jsonString: string, @@ -4014,8 +4214,8 @@ export function servicesHeadersFromJSON( export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentHasDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CancelDeploymentHasDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentHasDeploymentsResponse200ApplicationJSONType) ); /** @internal */ @@ -4024,7 +4224,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2EqFromJSON( jsonString: string, @@ -4047,19 +4249,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Redirects2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Redirects2FromJSON( jsonString: string, @@ -4082,12 +4286,14 @@ export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONValue$inbou CancelDeploymentHasDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Redirects2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Redirects2$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -4109,19 +4315,19 @@ export const CancelDeploymentHasDeployments2$inboundSchema: z.ZodType< CancelDeploymentHasDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - CancelDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Redirects2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentHasDeployments2FromJSON( jsonString: string, @@ -4139,7 +4345,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServicesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServicesEqFromJSON( jsonString: string, @@ -4162,19 +4370,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22FromJSON( jsonString: string, @@ -4197,12 +4407,14 @@ export const CancelDeploymentHasDeploymentsResponse200Value$inboundSchema: CancelDeploymentHasDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -4225,15 +4437,17 @@ export const CancelDeploymentHasDeployments1$inboundSchema: z.ZodType< CancelDeploymentHasDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices22$inboundSchema + ), + ]), + }) +); export function cancelDeploymentHasDeployments1FromJSON( jsonString: string, @@ -4250,18 +4464,20 @@ export const CancelDeploymentServicesHas$inboundSchema: z.ZodType< CancelDeploymentServicesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentHasDeployments1$inboundSchema), - z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentHasDeployments1$inboundSchema), + z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function cancelDeploymentServicesHasFromJSON( jsonString: string, @@ -4277,8 +4493,10 @@ export function cancelDeploymentServicesHasFromJSON( export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -4287,7 +4505,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissingEqFromJSON( jsonString: string, @@ -4310,19 +4530,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing22FromJSON( jsonString: string, @@ -4345,12 +4567,14 @@ export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONValue$i CancelDeploymentMissingDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing22$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -4372,19 +4596,19 @@ export const CancelDeploymentMissingDeployments2$inboundSchema: z.ZodType< CancelDeploymentMissingDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing22$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentMissingDeployments2FromJSON( jsonString: string, @@ -4403,7 +4627,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsEqFromJSON( jsonString: string, @@ -4426,19 +4652,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2FromJSON( jsonString: string, @@ -4461,12 +4689,14 @@ export const CancelDeploymentMissingDeploymentsResponse200Value$inboundSchema: CancelDeploymentMissingDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -4489,15 +4719,17 @@ export const CancelDeploymentMissingDeployments1$inboundSchema: z.ZodType< CancelDeploymentMissingDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RedirectsMissing2$inboundSchema + ), + ]), + }) +); export function cancelDeploymentMissingDeployments1FromJSON( jsonString: string, @@ -4515,18 +4747,20 @@ export const CancelDeploymentServicesMissing$inboundSchema: z.ZodType< CancelDeploymentServicesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentMissingDeployments1$inboundSchema), - z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentMissingDeployments1$inboundSchema), + z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function cancelDeploymentServicesMissingFromJSON( jsonString: string, @@ -4543,11 +4777,11 @@ export const ServicesRedirects$inboundSchema: z.ZodType< ServicesRedirects, z.ZodTypeDef, unknown -> = z.object({ - destination: types.string(), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.string(), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentHasDeployments1$inboundSchema), z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema @@ -4558,10 +4792,8 @@ export const ServicesRedirects$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentHasDeployments2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentMissingDeployments1$inboundSchema), z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema @@ -4572,12 +4804,12 @@ export const ServicesRedirects$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentMissingDeployments2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - permanent: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), -}); + ]))), + permanent: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + }) +); export function servicesRedirectsFromJSON( jsonString: string, @@ -4592,18 +4824,22 @@ export function servicesRedirectsFromJSON( /** @internal */ export const CancelDeploymentDestinationType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDestinationType -> = z.nativeEnum(CancelDeploymentDestinationType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDestinationType) +); /** @internal */ export const CancelDeploymentDestination2$inboundSchema: z.ZodType< CancelDeploymentDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(CancelDeploymentDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(CancelDeploymentDestinationType$inboundSchema), + }) +); export function cancelDeploymentDestination2FromJSON( jsonString: string, @@ -4620,10 +4856,12 @@ export const ServicesDestination$inboundSchema: z.ZodType< ServicesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CancelDeploymentDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CancelDeploymentDestination2$inboundSchema), + types.string(), + ]) +); export function servicesDestinationFromJSON( jsonString: string, @@ -4639,6 +4877,8 @@ export function servicesDestinationFromJSON( export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType - > = z.nativeEnum( - CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType, + ) ); diff --git a/src/models/canceldeploymentprojectsettings.ts b/src/models/canceldeploymentprojectsettings.ts index 2cd3d41358..d05bd21a01 100644 --- a/src/models/canceldeploymentprojectsettings.ts +++ b/src/models/canceldeploymentprojectsettings.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1662,11 +1662,13 @@ export const CancelDeploymentRequest$outboundSchema: z.ZodType< CancelDeploymentRequest$Outbound, z.ZodTypeDef, CancelDeploymentRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function cancelDeploymentRequestToJSON( cancelDeploymentRequest: CancelDeploymentRequest, @@ -1681,7 +1683,9 @@ export const AliasAssignedAt$inboundSchema: z.ZodType< AliasAssignedAt, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function aliasAssignedAtFromJSON( jsonString: string, @@ -1698,10 +1702,12 @@ export const AliasError$inboundSchema: z.ZodType< AliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function aliasErrorFromJSON( jsonString: string, @@ -1718,12 +1724,14 @@ export const AliasWarning$inboundSchema: z.ZodType< AliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function aliasWarningFromJSON( jsonString: string, @@ -1736,21 +1744,22 @@ export function aliasWarningFromJSON( } /** @internal */ -export const Kinds$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Kinds, -); +export const Kinds$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Kinds)); /** @internal */ export const Subscription$inboundSchema: z.ZodType< Subscription, z.ZodTypeDef, unknown -> = z.object({ - collections: z.array(types.string()), - dids: types.optional(z.array(types.string())), - kinds: types.optional(z.array(Kinds$inboundSchema)), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + collections: z.array(types.string()), + dids: types.optional(z.array(types.string())), + kinds: types.optional(z.array(Kinds$inboundSchema)), + path: types.string(), + }) +); export function subscriptionFromJSON( jsonString: string, @@ -1767,10 +1776,12 @@ export const Atproto2$inboundSchema: z.ZodType< Atproto2, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(true), - subscription: z.lazy(() => Subscription$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(true), + subscription: z.lazy(() => Subscription$inboundSchema), + }) +); export function atproto2FromJSON( jsonString: string, @@ -1787,9 +1798,11 @@ export const Atproto1$inboundSchema: z.ZodType< Atproto1, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + }) +); export function atproto1FromJSON( jsonString: string, @@ -1803,10 +1816,12 @@ export function atproto1FromJSON( /** @internal */ export const Atproto$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Atproto2$inboundSchema), - z.lazy(() => Atproto1$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Atproto2$inboundSchema), + z.lazy(() => Atproto1$inboundSchema), + ]) + ); export function atprotoFromJSON( jsonString: string, @@ -1823,11 +1838,13 @@ export const CommitMeta$inboundSchema: z.ZodType< CommitMeta, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - isVerified: types.optional(types.boolean()), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + isVerified: types.optional(types.boolean()), + name: types.optional(types.string()), + }) +); export function commitMetaFromJSON( jsonString: string, @@ -1844,7 +1861,9 @@ export const CancelDeploymentId$inboundSchema: z.ZodType< CancelDeploymentId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentIdFromJSON( jsonString: string, @@ -1858,12 +1877,14 @@ export function cancelDeploymentIdFromJSON( /** @internal */ export const GitUser$inboundSchema: z.ZodType = - z.object({ - id: smartUnion([types.string(), types.number()]), - login: types.string(), - provider: types.optional(types.string()), - type: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + login: types.string(), + provider: types.optional(types.string()), + type: types.optional(types.string()), + }) + ); export function gitUserFromJSON( jsonString: string, @@ -1880,11 +1901,13 @@ export const VercelUser$inboundSchema: z.ZodType< VercelUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - teamRoles: types.optional(z.array(types.string())), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + teamRoles: types.optional(z.array(types.string())), + username: types.string(), + }) +); export function vercelUserFromJSON( jsonString: string, @@ -1901,11 +1924,13 @@ export const CancelDeploymentAttribution$inboundSchema: z.ZodType< CancelDeploymentAttribution, z.ZodTypeDef, unknown -> = z.object({ - commitMeta: types.optional(z.lazy(() => CommitMeta$inboundSchema)), - gitUser: types.optional(z.lazy(() => GitUser$inboundSchema)), - vercelUser: types.optional(z.lazy(() => VercelUser$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMeta: types.optional(z.lazy(() => CommitMeta$inboundSchema)), + gitUser: types.optional(z.lazy(() => GitUser$inboundSchema)), + vercelUser: types.optional(z.lazy(() => VercelUser$inboundSchema)), + }) +); export function cancelDeploymentAttributionFromJSON( jsonString: string, @@ -1918,10 +1943,12 @@ export function cancelDeploymentAttributionFromJSON( } /** @internal */ -export const Build$inboundSchema: z.ZodType = z - .object({ - env: z.array(types.string()), - }); +export const Build$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + env: z.array(types.string()), + }) + ); export function buildFromJSON( jsonString: string, @@ -1934,12 +1961,14 @@ export function buildFromJSON( } /** @internal */ -export const Builds$inboundSchema: z.ZodType = z - .object({ - config: types.optional(z.record(z.any())), - src: types.optional(types.string()), - use: types.string(), - }); +export const Builds$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional(z.record(z.any())), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function buildsFromJSON( jsonString: string, @@ -1954,18 +1983,22 @@ export function buildsFromJSON( /** @internal */ export const CancelDeploymentDeploymentsState$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDeploymentsState -> = z.nativeEnum(CancelDeploymentDeploymentsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDeploymentsState) +); /** @internal */ export const DeploymentAlias$inboundSchema: z.ZodType< DeploymentAlias, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - startedAt: types.number(), - state: CancelDeploymentDeploymentsState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + startedAt: types.number(), + state: CancelDeploymentDeploymentsState$inboundSchema, + }) +); export function deploymentAliasFromJSON( jsonString: string, @@ -1982,13 +2015,15 @@ export const CancelDeploymentChecks$inboundSchema: z.ZodType< CancelDeploymentChecks, z.ZodTypeDef, unknown -> = z.object({ - "deployment-alias": z.lazy(() => DeploymentAlias$inboundSchema), -}).transform((v) => { - return remap$(v, { - "deployment-alias": "deploymentAlias", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "deployment-alias": z.lazy(() => DeploymentAlias$inboundSchema), + }).transform((v) => { + return remap$(v, { + "deployment-alias": "deploymentAlias", + }); + }) +); export function cancelDeploymentChecksFromJSON( jsonString: string, @@ -2003,34 +2038,38 @@ export function cancelDeploymentChecksFromJSON( /** @internal */ export const ChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof ChecksConclusion -> = z.nativeEnum(ChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ChecksConclusion)); /** @internal */ -export const ChecksState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ChecksState); +export const ChecksState$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ChecksState)); /** @internal */ export const FunctionMemoryType$inboundSchema: z.ZodNativeEnum< typeof FunctionMemoryType -> = z.nativeEnum(FunctionMemoryType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FunctionMemoryType)); /** @internal */ export const FunctionType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(FunctionType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FunctionType)); /** @internal */ export const CancelDeploymentConfiguration$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentConfiguration -> = z.nativeEnum(CancelDeploymentConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentConfiguration) +); /** @internal */ export const CancelDeploymentBuildQueue$inboundSchema: z.ZodType< CancelDeploymentBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(CancelDeploymentConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional(CancelDeploymentConfiguration$inboundSchema), + }) +); export function cancelDeploymentBuildQueueFromJSON( jsonString: string, @@ -2045,22 +2084,26 @@ export function cancelDeploymentBuildQueueFromJSON( /** @internal */ export const ElasticConcurrency$inboundSchema: z.ZodNativeEnum< typeof ElasticConcurrency -> = z.nativeEnum(ElasticConcurrency); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ElasticConcurrency)); /** @internal */ export const CancelDeploymentPurchaseType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentPurchaseType -> = z.nativeEnum(CancelDeploymentPurchaseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentPurchaseType) +); /** @internal */ export const CancelDeploymentDeploymentsBuildMachine$inboundSchema: z.ZodType< CancelDeploymentDeploymentsBuildMachine, z.ZodTypeDef, unknown -> = z.object({ - purchaseType: z.nullable(CancelDeploymentPurchaseType$inboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: z.nullable(CancelDeploymentPurchaseType$inboundSchema) + .optional(), + }) +); export function cancelDeploymentDeploymentsBuildMachineFromJSON( jsonString: string, @@ -2083,15 +2126,17 @@ export const CancelDeploymentDeploymentsResourceConfig$inboundSchema: z.ZodType< CancelDeploymentDeploymentsResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildQueue: types.optional( - z.lazy(() => CancelDeploymentBuildQueue$inboundSchema), - ), - elasticConcurrency: types.optional(ElasticConcurrency$inboundSchema), - buildMachine: types.optional( - z.lazy(() => CancelDeploymentDeploymentsBuildMachine$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildQueue: types.optional( + z.lazy(() => CancelDeploymentBuildQueue$inboundSchema), + ), + elasticConcurrency: types.optional(ElasticConcurrency$inboundSchema), + buildMachine: types.optional( + z.lazy(() => CancelDeploymentDeploymentsBuildMachine$inboundSchema), + ), + }) +); export function cancelDeploymentDeploymentsResourceConfigFromJSON( jsonString: string, @@ -2110,19 +2155,21 @@ export function cancelDeploymentDeploymentsResourceConfigFromJSON( } /** @internal */ -export const Config$inboundSchema: z.ZodType = z - .object({ - functionMemoryType: FunctionMemoryType$inboundSchema, - functionTimeout: types.nullable(types.number()), - functionType: FunctionType$inboundSchema, - isUsingActiveCPU: types.optional(types.boolean()), - resourceConfig: types.optional( - z.lazy(() => CancelDeploymentDeploymentsResourceConfig$inboundSchema), - ), - secureComputeFallbackRegion: types.nullable(types.string()), - secureComputePrimaryRegion: types.nullable(types.string()), - version: types.optional(types.number()), - }); +export const Config$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + functionMemoryType: FunctionMemoryType$inboundSchema, + functionTimeout: types.nullable(types.number()), + functionType: FunctionType$inboundSchema, + isUsingActiveCPU: types.optional(types.boolean()), + resourceConfig: types.optional( + z.lazy(() => CancelDeploymentDeploymentsResourceConfig$inboundSchema), + ), + secureComputeFallbackRegion: types.nullable(types.string()), + secureComputePrimaryRegion: types.nullable(types.string()), + version: types.optional(types.number()), + }) + ); export function configFromJSON( jsonString: string, @@ -2137,19 +2184,23 @@ export function configFromJSON( /** @internal */ export const CancelDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDeploymentsType -> = z.nativeEnum(CancelDeploymentDeploymentsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDeploymentsType) +); /** @internal */ export const CancelDeploymentCreator$inboundSchema: z.ZodType< CancelDeploymentCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - type: types.optional(CancelDeploymentDeploymentsType$inboundSchema), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + type: types.optional(CancelDeploymentDeploymentsType$inboundSchema), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function cancelDeploymentCreatorFromJSON( jsonString: string, @@ -2162,11 +2213,13 @@ export function cancelDeploymentCreatorFromJSON( } /** @internal */ -export const Crons$inboundSchema: z.ZodType = z - .object({ - path: types.string(), - schedule: types.string(), - }); +export const Crons$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.string(), + schedule: types.string(), + }) + ); export function cronsFromJSON( jsonString: string, @@ -2183,9 +2236,11 @@ export const CustomEnvironment2$inboundSchema: z.ZodType< CustomEnvironment2, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function customEnvironment2FromJSON( jsonString: string, @@ -2199,19 +2254,22 @@ export function customEnvironment2FromJSON( /** @internal */ export const CancelDeploymentCustomEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentCustomEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentCustomEnvironmentType) + ); /** @internal */ export const CustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< CustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: CancelDeploymentCustomEnvironmentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: CancelDeploymentCustomEnvironmentType$inboundSchema, + }) +); export function customEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -2228,12 +2286,14 @@ export const CustomEnvironmentVerification$inboundSchema: z.ZodType< CustomEnvironmentVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function customEnvironmentVerificationFromJSON( jsonString: string, @@ -2250,21 +2310,23 @@ export const CustomEnvironmentDomains$inboundSchema: z.ZodType< CustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => CustomEnvironmentVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => CustomEnvironmentVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function customEnvironmentDomainsFromJSON( jsonString: string, @@ -2279,28 +2341,30 @@ export function customEnvironmentDomainsFromJSON( /** @internal */ export const CustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof CustomEnvironmentType -> = z.nativeEnum(CustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CustomEnvironmentType)); /** @internal */ export const CustomEnvironment1$inboundSchema: z.ZodType< CustomEnvironment1, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => CustomEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => CustomEnvironmentDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: CustomEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => CustomEnvironmentBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => CustomEnvironmentDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: CustomEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function customEnvironment1FromJSON( jsonString: string, @@ -2317,10 +2381,12 @@ export const CancelDeploymentCustomEnvironment$inboundSchema: z.ZodType< CancelDeploymentCustomEnvironment, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CustomEnvironment1$inboundSchema), - z.lazy(() => CustomEnvironment2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CustomEnvironment1$inboundSchema), + z.lazy(() => CustomEnvironment2$inboundSchema), + ]) +); export function cancelDeploymentCustomEnvironmentFromJSON( jsonString: string, @@ -2337,15 +2403,17 @@ export const Duration$inboundSchema: z.ZodType< Duration, z.ZodTypeDef, unknown -> = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) +); export function durationFromJSON( jsonString: string, @@ -2358,8 +2426,8 @@ export function durationFromJSON( } /** @internal */ -export const Flags2$inboundSchema: z.ZodType = z - .object({}); +export const Flags2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => z.object({})); export function flags2FromJSON( jsonString: string, @@ -2376,10 +2444,12 @@ export const FlagsOptions$inboundSchema: z.ZodType< FlagsOptions, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - value: types.nullable(FlagJSONValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + value: types.nullable(FlagJSONValue$inboundSchema), + }) +); export function flagsOptionsFromJSON( jsonString: string, @@ -2396,11 +2466,13 @@ export const FlagsDefinitions$inboundSchema: z.ZodType< FlagsDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - options: types.optional(z.array(z.lazy(() => FlagsOptions$inboundSchema))), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + options: types.optional(z.array(z.lazy(() => FlagsOptions$inboundSchema))), + url: types.optional(types.string()), + }) +); export function flagsDefinitionsFromJSON( jsonString: string, @@ -2413,10 +2485,12 @@ export function flagsDefinitionsFromJSON( } /** @internal */ -export const Flags1$inboundSchema: z.ZodType = z - .object({ - definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)), - }); +export const Flags1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)), + }) + ); export function flags1FromJSON( jsonString: string, @@ -2430,10 +2504,12 @@ export function flags1FromJSON( /** @internal */ export const Flags$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Flags1$inboundSchema), - z.array(z.lazy(() => Flags2$inboundSchema)), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Flags1$inboundSchema), + z.array(z.lazy(() => Flags2$inboundSchema)), + ]) + ); export function flagsFromJSON( jsonString: string, @@ -2448,16 +2524,18 @@ export function flagsFromJSON( /** @internal */ export const CancelDeploymentMode$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMode -> = z.nativeEnum(CancelDeploymentMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentMode)); /** @internal */ export const Affinity$inboundSchema: z.ZodType< Affinity, z.ZodTypeDef, unknown -> = z.object({ - mode: CancelDeploymentMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CancelDeploymentMode$inboundSchema, + }) +); export function affinityFromJSON( jsonString: string, @@ -2472,16 +2550,20 @@ export function affinityFromJSON( /** @internal */ export const CancelDeploymentArchitecture$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentArchitecture -> = z.nativeEnum(CancelDeploymentArchitecture); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentArchitecture) +); /** @internal */ export const ExperimentalTriggers3$inboundSchema: z.ZodType< ExperimentalTriggers3, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("schedule/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) +); export function experimentalTriggers3FromJSON( jsonString: string, @@ -2498,14 +2580,16 @@ export const ExperimentalTriggers2$inboundSchema: z.ZodType< ExperimentalTriggers2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) +); export function experimentalTriggers2FromJSON( jsonString: string, @@ -2522,15 +2606,17 @@ export const ExperimentalTriggers1$inboundSchema: z.ZodType< ExperimentalTriggers1, z.ZodTypeDef, unknown -> = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) +); export function experimentalTriggers1FromJSON( jsonString: string, @@ -2547,11 +2633,13 @@ export const ExperimentalTriggers$inboundSchema: z.ZodType< ExperimentalTriggers, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ExperimentalTriggers1$inboundSchema), - z.lazy(() => ExperimentalTriggers2$inboundSchema), - z.lazy(() => ExperimentalTriggers3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ExperimentalTriggers1$inboundSchema), + z.lazy(() => ExperimentalTriggers2$inboundSchema), + z.lazy(() => ExperimentalTriggers3$inboundSchema), + ]) +); export function experimentalTriggersFromJSON( jsonString: string, @@ -2565,14 +2653,16 @@ export function experimentalTriggersFromJSON( /** @internal */ export const MaxDuration2$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(MaxDuration2); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MaxDuration2)); /** @internal */ export const MaxDuration$inboundSchema: z.ZodType< MaxDuration, z.ZodTypeDef, unknown -> = smartUnion([types.number(), MaxDuration2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), MaxDuration2$inboundSchema]) +); export function maxDurationFromJSON( jsonString: string, @@ -2589,32 +2679,32 @@ export const Functions$inboundSchema: z.ZodType< Functions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional(z.lazy(() => Affinity$inboundSchema)), - architecture: types.optional(CancelDeploymentArchitecture$inboundSchema), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional(z.lazy(() => Affinity$inboundSchema)), + architecture: types.optional(CancelDeploymentArchitecture$inboundSchema), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => ExperimentalTriggers1$inboundSchema), z.lazy(() => ExperimentalTriggers2$inboundSchema ), z.lazy(() => ExperimentalTriggers3$inboundSchema), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([types.number(), MaxDuration2$inboundSchema]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([types.number(), MaxDuration2$inboundSchema]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function functionsFromJSON( jsonString: string, @@ -2629,24 +2719,29 @@ export function functionsFromJSON( /** @internal */ export const CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CancelDeploymentGitRepoDeploymentsResponseOwnerType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitRepoDeploymentsResponseOwnerType) + ); /** @internal */ export const GitRepo5$inboundSchema: z.ZodType< GitRepo5, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.string(), - type: types.literal("cursor-origin"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: + CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.string(), + type: types.literal("cursor-origin"), + }) +); export function gitRepo5FromJSON( jsonString: string, @@ -2660,24 +2755,28 @@ export function gitRepo5FromJSON( /** @internal */ export const CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitRepoDeploymentsOwnerType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitRepoDeploymentsOwnerType) + ); /** @internal */ export const GitRepo4$inboundSchema: z.ZodType< GitRepo4, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - type: types.literal("vercel"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + type: types.literal("vercel"), + }) +); export function gitRepo4FromJSON( jsonString: string, @@ -2692,25 +2791,29 @@ export function gitRepo4FromJSON( /** @internal */ export const CancelDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitRepoOwnerType -> = z.nativeEnum(CancelDeploymentGitRepoOwnerType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitRepoOwnerType) +); /** @internal */ export const GitRepo3$inboundSchema: z.ZodType< GitRepo3, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: CancelDeploymentGitRepoOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repoUuid: types.string(), - slug: types.string(), - type: types.literal("bitbucket"), - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: CancelDeploymentGitRepoOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repoUuid: types.string(), + slug: types.string(), + type: types.literal("bitbucket"), + workspaceUuid: types.string(), + }) +); export function gitRepo3FromJSON( jsonString: string, @@ -2725,25 +2828,27 @@ export function gitRepo3FromJSON( /** @internal */ export const GitRepoOwnerType$inboundSchema: z.ZodNativeEnum< typeof GitRepoOwnerType -> = z.nativeEnum(GitRepoOwnerType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitRepoOwnerType)); /** @internal */ export const GitRepo2$inboundSchema: z.ZodType< GitRepo2, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: GitRepoOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.number(), - repoOwnerId: types.number(), - type: types.literal("github"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: GitRepoOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.number(), + repoOwnerId: types.number(), + type: types.literal("github"), + }) +); export function gitRepo2FromJSON( jsonString: string, @@ -2756,25 +2861,27 @@ export function gitRepo2FromJSON( } /** @internal */ -export const OwnerType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OwnerType); +export const OwnerType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OwnerType)); /** @internal */ export const GitRepo1$inboundSchema: z.ZodType< GitRepo1, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - namespace: types.string(), - ownerType: OwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - projectId: types.number(), - type: types.literal("gitlab"), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + namespace: types.string(), + ownerType: OwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + projectId: types.number(), + type: types.literal("gitlab"), + url: types.string(), + }) +); export function gitRepo1FromJSON( jsonString: string, @@ -2788,13 +2895,15 @@ export function gitRepo1FromJSON( /** @internal */ export const GitRepo$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GitRepo1$inboundSchema), - z.lazy(() => GitRepo2$inboundSchema), - z.lazy(() => GitRepo3$inboundSchema), - z.lazy(() => GitRepo4$inboundSchema), - z.lazy(() => GitRepo5$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GitRepo1$inboundSchema), + z.lazy(() => GitRepo2$inboundSchema), + z.lazy(() => GitRepo3$inboundSchema), + z.lazy(() => GitRepo4$inboundSchema), + z.lazy(() => GitRepo5$inboundSchema), + ]) + ); export function gitRepoFromJSON( jsonString: string, @@ -2810,8 +2919,10 @@ export function gitRepoFromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type, + ) ); /** @internal */ @@ -2819,15 +2930,17 @@ export const GitSource19$inboundSchema: z.ZodType< GitSource19, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$inboundSchema, + }) +); export function gitSource19FromJSON( jsonString: string, @@ -2844,11 +2957,13 @@ export const GitSourceAuthor$inboundSchema: z.ZodType< GitSourceAuthor, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function gitSourceAuthorFromJSON( jsonString: string, @@ -2865,11 +2980,13 @@ export const GitSourceCommitter$inboundSchema: z.ZodType< GitSourceCommitter, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function gitSourceCommitterFromJSON( jsonString: string, @@ -2886,11 +3003,13 @@ export const GitSourceCommitMetadata$inboundSchema: z.ZodType< GitSourceCommitMetadata, z.ZodTypeDef, unknown -> = z.object({ - author: z.lazy(() => GitSourceAuthor$inboundSchema), - committer: z.lazy(() => GitSourceCommitter$inboundSchema), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => GitSourceAuthor$inboundSchema), + committer: z.lazy(() => GitSourceCommitter$inboundSchema), + message: types.string(), + }) +); export function gitSourceCommitMetadataFromJSON( jsonString: string, @@ -2906,8 +3025,10 @@ export function gitSourceCommitMetadataFromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type, + ) ); /** @internal */ @@ -2915,19 +3036,21 @@ export const GitSource18$inboundSchema: z.ZodType< GitSource18, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => GitSourceCommitMetadata$inboundSchema), - ), - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.optional(types.string()), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional( + z.lazy(() => GitSourceCommitMetadata$inboundSchema), + ), + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.optional(types.string()), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody18Type$inboundSchema, + }) +); export function gitSource18FromJSON( jsonString: string, @@ -2943,8 +3066,10 @@ export function gitSource18FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type, + ) ); /** @internal */ @@ -2952,16 +3077,18 @@ export const GitSource17$inboundSchema: z.ZodType< GitSource17, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type$inboundSchema, - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type$inboundSchema, + workspaceUuid: types.string(), + }) +); export function gitSource17FromJSON( jsonString: string, @@ -2977,8 +3104,10 @@ export function gitSource17FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type, + ) ); /** @internal */ @@ -2986,13 +3115,15 @@ export const GitSource16$inboundSchema: z.ZodType< GitSource16, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.number(), - ref: types.string(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.number(), + ref: types.string(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type$inboundSchema, + }) +); export function gitSource16FromJSON( jsonString: string, @@ -3008,8 +3139,10 @@ export function gitSource16FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type, + ) ); /** @internal */ @@ -3017,15 +3150,17 @@ export const GitSource15$inboundSchema: z.ZodType< GitSource15, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema, + }) +); export function gitSource15FromJSON( jsonString: string, @@ -3041,8 +3176,10 @@ export function gitSource15FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type, + ) ); /** @internal */ @@ -3050,16 +3187,18 @@ export const GitSource14$inboundSchema: z.ZodType< GitSource14, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema, + }) +); export function gitSource14FromJSON( jsonString: string, @@ -3075,8 +3214,10 @@ export function gitSource14FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type, + ) ); /** @internal */ @@ -3084,15 +3225,17 @@ export const GitSource13$inboundSchema: z.ZodType< GitSource13, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema, + }) +); export function gitSource13FromJSON( jsonString: string, @@ -3108,8 +3251,10 @@ export function gitSource13FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type, + ) ); /** @internal */ @@ -3117,13 +3262,15 @@ export const GitSource12$inboundSchema: z.ZodType< GitSource12, z.ZodTypeDef, unknown -> = z.object({ - gitUrl: types.string(), - ref: types.string(), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitUrl: types.string(), + ref: types.string(), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema, + }) +); export function gitSource12FromJSON( jsonString: string, @@ -3139,8 +3286,10 @@ export function gitSource12FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, + ) ); /** @internal */ @@ -3148,16 +3297,18 @@ export const GitSource11$inboundSchema: z.ZodType< GitSource11, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - sha: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + sha: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema, + }) +); export function gitSource11FromJSON( jsonString: string, @@ -3174,11 +3325,13 @@ export const CancelDeploymentGitSourceAuthor$inboundSchema: z.ZodType< CancelDeploymentGitSourceAuthor, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function cancelDeploymentGitSourceAuthorFromJSON( jsonString: string, @@ -3195,11 +3348,13 @@ export const CancelDeploymentGitSourceCommitter$inboundSchema: z.ZodType< CancelDeploymentGitSourceCommitter, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function cancelDeploymentGitSourceCommitterFromJSON( jsonString: string, @@ -3217,11 +3372,13 @@ export const CancelDeploymentGitSourceCommitMetadata$inboundSchema: z.ZodType< CancelDeploymentGitSourceCommitMetadata, z.ZodTypeDef, unknown -> = z.object({ - author: z.lazy(() => CancelDeploymentGitSourceAuthor$inboundSchema), - committer: z.lazy(() => CancelDeploymentGitSourceCommitter$inboundSchema), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => CancelDeploymentGitSourceAuthor$inboundSchema), + committer: z.lazy(() => CancelDeploymentGitSourceCommitter$inboundSchema), + message: types.string(), + }) +); export function cancelDeploymentGitSourceCommitMetadataFromJSON( jsonString: string, @@ -3243,8 +3400,10 @@ export function cancelDeploymentGitSourceCommitMetadataFromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type, + ) ); /** @internal */ @@ -3252,20 +3411,22 @@ export const GitSource10$inboundSchema: z.ZodType< GitSource10, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => CancelDeploymentGitSourceCommitMetadata$inboundSchema), - ), - org: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional( + z.lazy(() => CancelDeploymentGitSourceCommitMetadata$inboundSchema), + ), + org: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema, + }) +); export function gitSource10FromJSON( jsonString: string, @@ -3281,8 +3442,10 @@ export function gitSource10FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, + ) ); /** @internal */ @@ -3290,15 +3453,17 @@ export const CancelDeploymentGitSource9$inboundSchema: z.ZodType< CancelDeploymentGitSource9, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - slug: types.string(), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + slug: types.string(), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema, + }) +); export function cancelDeploymentGitSource9FromJSON( jsonString: string, @@ -3314,8 +3479,10 @@ export function cancelDeploymentGitSource9FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, + ) ); /** @internal */ @@ -3323,15 +3490,17 @@ export const CancelDeploymentGitSource8$inboundSchema: z.ZodType< CancelDeploymentGitSource8, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoUuid: types.string(), - sha: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, - workspaceUuid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoUuid: types.string(), + sha: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema, + workspaceUuid: types.optional(types.string()), + }) +); export function cancelDeploymentGitSource8FromJSON( jsonString: string, @@ -3348,7 +3517,9 @@ export const GitSourceProjectId$inboundSchema: z.ZodType< GitSourceProjectId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function gitSourceProjectIdFromJSON( jsonString: string, @@ -3364,8 +3535,10 @@ export function gitSourceProjectIdFromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, + ) ); /** @internal */ @@ -3373,14 +3546,16 @@ export const CancelDeploymentGitSource7$inboundSchema: z.ZodType< CancelDeploymentGitSource7, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - projectId: smartUnion([types.string(), types.number()]), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + projectId: smartUnion([types.string(), types.number()]), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema, + }) +); export function cancelDeploymentGitSource7FromJSON( jsonString: string, @@ -3396,8 +3571,10 @@ export function cancelDeploymentGitSource7FromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -3405,15 +3582,17 @@ export const CancelDeploymentGitSource6$inboundSchema: z.ZodType< CancelDeploymentGitSource6, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) +); export function cancelDeploymentGitSource6FromJSON( jsonString: string, @@ -3431,7 +3610,9 @@ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: CancelDeploymentGitSourceDeploymentsResponseRepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, @@ -3453,8 +3634,10 @@ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -3462,14 +3645,16 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType< CancelDeploymentGitSource5, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + }) +); export function cancelDeploymentGitSource5FromJSON( jsonString: string, @@ -3484,22 +3669,26 @@ export function cancelDeploymentGitSource5FromJSON( /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CancelDeploymentGitSourceDeploymentsResponse200Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitSourceDeploymentsResponse200Type) + ); /** @internal */ export const CancelDeploymentGitSource4$inboundSchema: z.ZodType< CancelDeploymentGitSource4, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + }) +); export function cancelDeploymentGitSource4FromJSON( jsonString: string, @@ -3514,7 +3703,9 @@ export function cancelDeploymentGitSource4FromJSON( /** @internal */ export const CancelDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, @@ -3534,22 +3725,26 @@ export function cancelDeploymentGitSourceDeploymentsRepoIdFromJSON( /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitSourceDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitSourceDeploymentsResponseType) + ); /** @internal */ export const CancelDeploymentGitSource3$inboundSchema: z.ZodType< CancelDeploymentGitSource3, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema, + }) +); export function cancelDeploymentGitSource3FromJSON( jsonString: string, @@ -3563,22 +3758,26 @@ export function cancelDeploymentGitSource3FromJSON( /** @internal */ export const CancelDeploymentGitSourceDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentGitSourceDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitSourceDeploymentsType) + ); /** @internal */ export const CancelDeploymentGitSource2$inboundSchema: z.ZodType< CancelDeploymentGitSource2, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: CancelDeploymentGitSourceDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: CancelDeploymentGitSourceDeploymentsType$inboundSchema, + }) +); export function cancelDeploymentGitSource2FromJSON( jsonString: string, @@ -3595,7 +3794,9 @@ export const CancelDeploymentGitSourceRepoId$inboundSchema: z.ZodType< CancelDeploymentGitSourceRepoId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentGitSourceRepoIdFromJSON( jsonString: string, @@ -3610,20 +3811,24 @@ export function cancelDeploymentGitSourceRepoIdFromJSON( /** @internal */ export const CancelDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentGitSourceType -> = z.nativeEnum(CancelDeploymentGitSourceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentGitSourceType) +); /** @internal */ export const CancelDeploymentGitSource1$inboundSchema: z.ZodType< CancelDeploymentGitSource1, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: CancelDeploymentGitSourceType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: CancelDeploymentGitSourceType$inboundSchema, + }) +); export function cancelDeploymentGitSource1FromJSON( jsonString: string, @@ -3640,27 +3845,29 @@ export const CancelDeploymentGitSource$inboundSchema: z.ZodType< CancelDeploymentGitSource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GitSource19$inboundSchema), - z.lazy(() => GitSource14$inboundSchema), - z.lazy(() => GitSource17$inboundSchema), - z.lazy(() => GitSource18$inboundSchema), - z.lazy(() => CancelDeploymentGitSource4$inboundSchema), - z.lazy(() => GitSource12$inboundSchema), - z.lazy(() => GitSource13$inboundSchema), - z.lazy(() => GitSource15$inboundSchema), - z.lazy(() => GitSource16$inboundSchema), - z.lazy(() => CancelDeploymentGitSource2$inboundSchema), - z.lazy(() => CancelDeploymentGitSource3$inboundSchema), - z.lazy(() => CancelDeploymentGitSource6$inboundSchema), - z.lazy(() => CancelDeploymentGitSource9$inboundSchema), - z.lazy(() => GitSource10$inboundSchema), - z.lazy(() => CancelDeploymentGitSource1$inboundSchema), - z.lazy(() => CancelDeploymentGitSource5$inboundSchema), - z.lazy(() => CancelDeploymentGitSource7$inboundSchema), - z.lazy(() => CancelDeploymentGitSource8$inboundSchema), - z.lazy(() => GitSource11$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GitSource19$inboundSchema), + z.lazy(() => GitSource14$inboundSchema), + z.lazy(() => GitSource17$inboundSchema), + z.lazy(() => GitSource18$inboundSchema), + z.lazy(() => CancelDeploymentGitSource4$inboundSchema), + z.lazy(() => GitSource12$inboundSchema), + z.lazy(() => GitSource13$inboundSchema), + z.lazy(() => GitSource15$inboundSchema), + z.lazy(() => GitSource16$inboundSchema), + z.lazy(() => CancelDeploymentGitSource2$inboundSchema), + z.lazy(() => CancelDeploymentGitSource3$inboundSchema), + z.lazy(() => CancelDeploymentGitSource6$inboundSchema), + z.lazy(() => CancelDeploymentGitSource9$inboundSchema), + z.lazy(() => GitSource10$inboundSchema), + z.lazy(() => CancelDeploymentGitSource1$inboundSchema), + z.lazy(() => CancelDeploymentGitSource5$inboundSchema), + z.lazy(() => CancelDeploymentGitSource7$inboundSchema), + z.lazy(() => CancelDeploymentGitSource8$inboundSchema), + z.lazy(() => GitSource11$inboundSchema), + ]) +); export function cancelDeploymentGitSourceFromJSON( jsonString: string, @@ -3675,21 +3882,23 @@ export function cancelDeploymentGitSourceFromJSON( /** @internal */ export const ContentDispositionType$inboundSchema: z.ZodNativeEnum< typeof ContentDispositionType -> = z.nativeEnum(ContentDispositionType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ContentDispositionType)); /** @internal */ -export const Formats$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Formats); +export const Formats$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Formats)); /** @internal */ export const LocalPatterns$inboundSchema: z.ZodType< LocalPatterns, z.ZodTypeDef, unknown -> = z.object({ - pathname: types.optional(types.string()), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pathname: types.optional(types.string()), + search: types.optional(types.string()), + }) +); export function localPatternsFromJSON( jsonString: string, @@ -3702,21 +3911,23 @@ export function localPatternsFromJSON( } /** @internal */ -export const Protocol$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Protocol); +export const Protocol$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Protocol)); /** @internal */ export const RemotePatterns$inboundSchema: z.ZodType< RemotePatterns, z.ZodTypeDef, unknown -> = z.object({ - hostname: types.string(), - pathname: types.optional(types.string()), - port: types.optional(types.string()), - protocol: types.optional(Protocol$inboundSchema), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hostname: types.string(), + pathname: types.optional(types.string()), + port: types.optional(types.string()), + protocol: types.optional(Protocol$inboundSchema), + search: types.optional(types.string()), + }) +); export function remotePatternsFromJSON( jsonString: string, @@ -3729,25 +3940,27 @@ export function remotePatternsFromJSON( } /** @internal */ -export const Images$inboundSchema: z.ZodType = z - .object({ - contentDispositionType: types.optional( - ContentDispositionType$inboundSchema, - ), - contentSecurityPolicy: types.optional(types.string()), - dangerouslyAllowSVG: types.optional(types.boolean()), - domains: types.optional(z.array(types.string())), - formats: types.optional(z.array(Formats$inboundSchema)), - localPatterns: types.optional( - z.array(z.lazy(() => LocalPatterns$inboundSchema)), - ), - minimumCacheTTL: types.optional(types.number()), - qualities: types.optional(z.array(types.number())), - remotePatterns: types.optional( - z.array(z.lazy(() => RemotePatterns$inboundSchema)), - ), - sizes: types.optional(z.array(types.number())), - }); +export const Images$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + contentDispositionType: types.optional( + ContentDispositionType$inboundSchema, + ), + contentSecurityPolicy: types.optional(types.string()), + dangerouslyAllowSVG: types.optional(types.boolean()), + domains: types.optional(z.array(types.string())), + formats: types.optional(z.array(Formats$inboundSchema)), + localPatterns: types.optional( + z.array(z.lazy(() => LocalPatterns$inboundSchema)), + ), + minimumCacheTTL: types.optional(types.number()), + qualities: types.optional(z.array(types.number())), + remotePatterns: types.optional( + z.array(z.lazy(() => RemotePatterns$inboundSchema)), + ), + sizes: types.optional(z.array(types.number())), + }) + ); export function imagesFromJSON( jsonString: string, @@ -3762,21 +3975,25 @@ export function imagesFromJSON( /** @internal */ export const CancelDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDeploymentsStatus -> = z.nativeEnum(CancelDeploymentDeploymentsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDeploymentsStatus) +); /** @internal */ export const Integrations$inboundSchema: z.ZodType< Integrations, z.ZodTypeDef, unknown -> = z.object({ - claimedAt: types.optional(types.number()), - completedAt: types.optional(types.number()), - skippedAt: types.optional(types.number()), - skippedBy: types.optional(types.string()), - startedAt: types.number(), - status: CancelDeploymentDeploymentsStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claimedAt: types.optional(types.number()), + completedAt: types.optional(types.number()), + skippedAt: types.optional(types.number()), + skippedBy: types.optional(types.string()), + startedAt: types.number(), + status: CancelDeploymentDeploymentsStatus$inboundSchema, + }) +); export function integrationsFromJSON( jsonString: string, @@ -3791,17 +4008,19 @@ export function integrationsFromJSON( /** @internal */ export const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentReadyState -> = z.nativeEnum(CancelDeploymentReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentReadyState)); /** @internal */ export const CancelDeploymentOutput$inboundSchema: z.ZodType< CancelDeploymentOutput, z.ZodTypeDef, unknown -> = z.object({ - functionName: types.string(), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionName: types.string(), + path: types.string(), + }) +); export function cancelDeploymentOutputFromJSON( jsonString: string, @@ -3815,14 +4034,16 @@ export function cancelDeploymentOutputFromJSON( /** @internal */ export const Lambdas$inboundSchema: z.ZodType = - z.object({ - createdAt: types.optional(types.number()), - entrypoint: z.nullable(types.string()).optional(), - id: types.string(), - readyState: types.optional(CancelDeploymentReadyState$inboundSchema), - readyStateAt: types.optional(types.number()), - output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + entrypoint: z.nullable(types.string()).optional(), + id: types.string(), + readyState: types.optional(CancelDeploymentReadyState$inboundSchema), + readyStateAt: types.optional(types.number()), + output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)), + }) + ); export function lambdasFromJSON( jsonString: string, @@ -3837,17 +4058,19 @@ export function lambdasFromJSON( /** @internal */ export const CancelDeploymentState$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentState -> = z.nativeEnum(CancelDeploymentState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentState)); /** @internal */ export const ManualProvisioning$inboundSchema: z.ZodType< ManualProvisioning, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - state: CancelDeploymentState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + state: CancelDeploymentState$inboundSchema, + }) +); export function manualProvisioningFromJSON( jsonString: string, @@ -3862,20 +4085,22 @@ export function manualProvisioningFromJSON( /** @internal */ export const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum< typeof MfeConfigUploadState -> = z.nativeEnum(MfeConfigUploadState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MfeConfigUploadState)); /** @internal */ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType< CancelDeploymentMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - mfeConfigUploadState: types.optional(MfeConfigUploadState$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + mfeConfigUploadState: types.optional(MfeConfigUploadState$inboundSchema), + }) +); export function cancelDeploymentMicrofrontends2FromJSON( jsonString: string, @@ -3892,12 +4117,14 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType< CancelDeploymentMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + }) +); export function cancelDeploymentMicrofrontends1FromJSON( jsonString: string, @@ -3914,10 +4141,12 @@ export const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType< CancelDeploymentMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), - z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), + z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), + ]) +); export function cancelDeploymentMicrofrontendsFromJSON( jsonString: string, @@ -3932,36 +4161,40 @@ export function cancelDeploymentMicrofrontendsFromJSON( /** @internal */ export const CancelDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentNodeVersion -> = z.nativeEnum(CancelDeploymentNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentNodeVersion) +); /** @internal */ export const OidcTokenClaims$inboundSchema: z.ZodType< OidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function oidcTokenClaimsFromJSON( jsonString: string, @@ -3974,23 +4207,25 @@ export function oidcTokenClaimsFromJSON( } /** @internal */ -export const OomReport$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OomReport); +export const OomReport$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OomReport)); /** @internal */ export const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentPlan -> = z.nativeEnum(CancelDeploymentPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentPlan)); /** @internal */ export const CancelDeploymentDeploymentsCreator$inboundSchema: z.ZodType< CancelDeploymentDeploymentsCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + name: types.string(), + }) +); export function cancelDeploymentDeploymentsCreatorFromJSON( jsonString: string, @@ -4005,18 +4240,22 @@ export function cancelDeploymentDeploymentsCreatorFromJSON( /** @internal */ export const CancelDeploymentDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDeploymentsResponseType) + ); /** @internal */ export const CancelDeploymentOrigin$inboundSchema: z.ZodType< CancelDeploymentOrigin, z.ZodTypeDef, unknown -> = z.object({ - type: CancelDeploymentDeploymentsResponseType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CancelDeploymentDeploymentsResponseType$inboundSchema, + value: types.string(), + }) +); export function cancelDeploymentOriginFromJSON( jsonString: string, @@ -4033,9 +4272,11 @@ export const CancelDeploymentDeploymentsSource$inboundSchema: z.ZodType< CancelDeploymentDeploymentsSource, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function cancelDeploymentDeploymentsSourceFromJSON( jsonString: string, @@ -4052,12 +4293,14 @@ export const Platform$inboundSchema: z.ZodType< Platform, z.ZodTypeDef, unknown -> = z.object({ - creator: z.lazy(() => CancelDeploymentDeploymentsCreator$inboundSchema), - meta: types.optional(z.record(types.string())), - origin: z.lazy(() => CancelDeploymentOrigin$inboundSchema), - source: z.lazy(() => CancelDeploymentDeploymentsSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: z.lazy(() => CancelDeploymentDeploymentsCreator$inboundSchema), + meta: types.optional(z.record(types.string())), + origin: z.lazy(() => CancelDeploymentOrigin$inboundSchema), + source: z.lazy(() => CancelDeploymentDeploymentsSource$inboundSchema), + }) +); export function platformFromJSON( jsonString: string, @@ -4074,11 +4317,13 @@ export const CancelDeploymentProject$inboundSchema: z.ZodType< CancelDeploymentProject, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(types.string()).optional(), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(types.string()).optional(), + id: types.string(), + name: types.string(), + }) +); export function cancelDeploymentProjectFromJSON( jsonString: string, @@ -4093,28 +4338,31 @@ export function cancelDeploymentProjectFromJSON( /** @internal */ export const CancelDeploymentFramework$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFramework -> = z.nativeEnum(CancelDeploymentFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentFramework)); /** @internal */ export const CancelDeploymentDeploymentsNodeVersion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentDeploymentsNodeVersion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDeploymentsNodeVersion) + ); /** @internal */ export const CancelDeploymentSpeedInsights$inboundSchema: z.ZodType< CancelDeploymentSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function cancelDeploymentSpeedInsightsFromJSON( jsonString: string, @@ -4131,9 +4379,11 @@ export const CancelDeploymentVercelFlags$inboundSchema: z.ZodType< CancelDeploymentVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function cancelDeploymentVercelFlagsFromJSON( jsonString: string, @@ -4150,13 +4400,15 @@ export const CancelDeploymentWebAnalytics$inboundSchema: z.ZodType< CancelDeploymentWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function cancelDeploymentWebAnalyticsFromJSON( jsonString: string, @@ -4173,26 +4425,28 @@ export const CancelDeploymentProjectSettings$inboundSchema: z.ZodType< CancelDeploymentProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - devCommand: z.nullable(types.string()).optional(), - framework: z.nullable(CancelDeploymentFramework$inboundSchema).optional(), - installCommand: z.nullable(types.string()).optional(), - nodeVersion: types.optional( - CancelDeploymentDeploymentsNodeVersion$inboundSchema, - ), - outputDirectory: z.nullable(types.string()).optional(), - speedInsights: types.optional( - z.lazy(() => CancelDeploymentSpeedInsights$inboundSchema), - ), - vercelFlags: types.optional( - z.lazy(() => CancelDeploymentVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => CancelDeploymentWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + devCommand: z.nullable(types.string()).optional(), + framework: z.nullable(CancelDeploymentFramework$inboundSchema).optional(), + installCommand: z.nullable(types.string()).optional(), + nodeVersion: types.optional( + CancelDeploymentDeploymentsNodeVersion$inboundSchema, + ), + outputDirectory: z.nullable(types.string()).optional(), + speedInsights: types.optional( + z.lazy(() => CancelDeploymentSpeedInsights$inboundSchema), + ), + vercelFlags: types.optional( + z.lazy(() => CancelDeploymentVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => CancelDeploymentWebAnalytics$inboundSchema), + ), + }) +); export function cancelDeploymentProjectSettingsFromJSON( jsonString: string, diff --git a/src/models/canceldeploymentresponsebody.ts b/src/models/canceldeploymentresponsebody.ts index 355f3cb6e9..2701549f20 100644 --- a/src/models/canceldeploymentresponsebody.ts +++ b/src/models/canceldeploymentresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1412,7 +1412,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHasEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHasEqFromJSON( jsonString: string, @@ -1435,19 +1437,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHas2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHas2FromJSON( jsonString: string, @@ -1470,12 +1474,14 @@ export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHas2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHas2$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesValueFromJSON( jsonString: string, @@ -1497,19 +1503,19 @@ export const CancelDeploymentHasDeploymentsResponse2$inboundSchema: z.ZodType< CancelDeploymentHasDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesHas2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function cancelDeploymentHasDeploymentsResponse2FromJSON( jsonString: string, @@ -1533,7 +1539,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesEqFromJSON( jsonString: string, @@ -1556,19 +1564,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2FromJSON( jsonString: string, @@ -1591,12 +1601,14 @@ export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -1618,15 +1630,17 @@ export const CancelDeploymentHasDeploymentsResponse1$inboundSchema: z.ZodType< CancelDeploymentHasDeploymentsResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Rewrites2$inboundSchema + ), + ]), + }) +); export function cancelDeploymentHasDeploymentsResponse1FromJSON( jsonString: string, @@ -1649,18 +1663,20 @@ export const CancelDeploymentServicesDeploymentsHas$inboundSchema: z.ZodType< CancelDeploymentServicesDeploymentsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentHasDeploymentsResponse1$inboundSchema), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentHasDeploymentsResponse1$inboundSchema), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function cancelDeploymentServicesDeploymentsHasFromJSON( jsonString: string, @@ -1677,8 +1693,10 @@ export function cancelDeploymentServicesDeploymentsHasFromJSON( export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType - > = z.nativeEnum( - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType, + ) ); /** @internal */ @@ -1687,7 +1705,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2EqFromJSON( jsonString: string, @@ -1710,19 +1730,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing22FromJSON( jsonString: string, @@ -1745,12 +1767,14 @@ export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing22$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesValueFromJSON( jsonString: string, @@ -1773,19 +1797,19 @@ export const CancelDeploymentMissingDeploymentsResponse2$inboundSchema: CancelDeploymentMissingDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServicesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function cancelDeploymentMissingDeploymentsResponse2FromJSON( jsonString: string, @@ -1809,7 +1833,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissingEqFromJSON( jsonString: string, @@ -1832,19 +1858,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2FromJSON( jsonString: string, @@ -1867,12 +1895,14 @@ export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -1895,15 +1925,17 @@ export const CancelDeploymentMissingDeploymentsResponse1$inboundSchema: CancelDeploymentMissingDeploymentsResponse1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RewritesMissing2$inboundSchema + ), + ]), + }) + ); export function cancelDeploymentMissingDeploymentsResponse1FromJSON( jsonString: string, @@ -1924,15 +1956,17 @@ export function cancelDeploymentMissingDeploymentsResponse1FromJSON( /** @internal */ export const CancelDeploymentServicesDeploymentsMissing$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => CancelDeploymentMissingDeploymentsResponse1$inboundSchema), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("cookie") })), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("header") })), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("query") })), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentMissingDeploymentsResponse1$inboundSchema), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) + ); export function cancelDeploymentServicesDeploymentsMissingFromJSON( jsonString: string, @@ -1951,26 +1985,30 @@ export function cancelDeploymentServicesDeploymentsMissingFromJSON( } /** @internal */ -export const ServicesOp$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ServicesOp); +export const ServicesOp$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesOp)); /** @internal */ export const CancelDeploymentServicesDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentServicesDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesDeploymentsResponseType) + ); /** @internal */ export const ServicesTransforms$inboundSchema: z.ZodType< ServicesTransforms, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: ServicesOp$inboundSchema, - type: CancelDeploymentServicesDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: ServicesOp$inboundSchema, + type: CancelDeploymentServicesDeploymentsResponseType$inboundSchema, + }) +); export function servicesTransformsFromJSON( jsonString: string, @@ -1987,11 +2025,11 @@ export const Rewrites$inboundSchema: z.ZodType< Rewrites, z.ZodTypeDef, unknown -> = z.object({ - destination: ServicesDestination$inboundSchema, - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: ServicesDestination$inboundSchema, + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentHasDeploymentsResponse1$inboundSchema), z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema @@ -2002,10 +2040,8 @@ export const Rewrites$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentHasDeploymentsResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentMissingDeploymentsResponse1$inboundSchema), z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema @@ -2014,15 +2050,15 @@ export const Rewrites$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CancelDeploymentMissingDeploymentsResponse2$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.lazy(() => ServicesTransforms$inboundSchema)), - ), -}); + ]))), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.lazy(() => + ServicesTransforms$inboundSchema + ))), + }) +); export function rewritesFromJSON( jsonString: string, @@ -2037,19 +2073,23 @@ export function rewritesFromJSON( /** @internal */ export const CancelDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesHandle -> = z.nativeEnum(CancelDeploymentRoutesHandle); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentRoutesHandle) +); /** @internal */ export const CancelDeploymentRoutes2$inboundSchema: z.ZodType< CancelDeploymentRoutes2, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: CancelDeploymentRoutesHandle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: CancelDeploymentRoutesHandle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) +); export function cancelDeploymentRoutes2FromJSON( jsonString: string, @@ -2063,21 +2103,25 @@ export function cancelDeploymentRoutes2FromJSON( /** @internal */ export const CancelDeploymentDestinationDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentDestinationDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentDestinationDeploymentsType) + ); /** @internal */ export const CancelDeploymentDestinationDeployments2$inboundSchema: z.ZodType< CancelDeploymentDestinationDeployments2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional( - CancelDeploymentDestinationDeploymentsType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional( + CancelDeploymentDestinationDeploymentsType$inboundSchema, + ), + }) +); export function cancelDeploymentDestinationDeployments2FromJSON( jsonString: string, @@ -2100,10 +2144,12 @@ export const CancelDeploymentRoutesDestination$inboundSchema: z.ZodType< CancelDeploymentRoutesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CancelDeploymentDestinationDeployments2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CancelDeploymentDestinationDeployments2$inboundSchema), + types.string(), + ]) +); export function cancelDeploymentRoutesDestinationFromJSON( jsonString: string, @@ -2119,8 +2165,10 @@ export function cancelDeploymentRoutesDestinationFromJSON( export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType - > = z.nativeEnum( - CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType, + ) ); /** @internal */ @@ -2129,7 +2177,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1EqFromJSON( jsonString: string, @@ -2152,19 +2202,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes12, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes12FromJSON( jsonString: string, @@ -2187,12 +2239,14 @@ export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes12$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes12$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesValueFromJSON( jsonString: string, @@ -2212,19 +2266,19 @@ export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponse /** @internal */ export const CancelDeploymentHasDeploymentsResponse2002$inboundSchema: z.ZodType = - z.object({ - key: types.string(), - type: - CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema, - value: types.optional( - smartUnion([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes12$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function cancelDeploymentHasDeploymentsResponse2002FromJSON( jsonString: string, @@ -2248,7 +2302,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesEqFromJSON( jsonString: string, @@ -2271,19 +2327,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2FromJSON( jsonString: string, @@ -2306,12 +2364,14 @@ export const CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2$inboundSchema + ), + ]) + ); export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyServices2ValueFromJSON( jsonString: string, @@ -2331,15 +2391,17 @@ export function cancelDeploymentHasDeploymentsResponse200ApplicationJSONResponse /** @internal */ export const CancelDeploymentHasDeploymentsResponse2001$inboundSchema: z.ZodType = - z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2$inboundSchema - ), - ]), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes2$inboundSchema + ), + ]), + }) + ); export function cancelDeploymentHasDeploymentsResponse2001FromJSON( jsonString: string, @@ -2362,18 +2424,20 @@ export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType< CancelDeploymentRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentHasDeploymentsResponse2001$inboundSchema), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentHasDeploymentsResponse2001$inboundSchema), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function cancelDeploymentRoutesHasFromJSON( jsonString: string, @@ -2390,10 +2454,12 @@ export const CancelDeploymentRoutesLocale$inboundSchema: z.ZodType< CancelDeploymentRoutesLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function cancelDeploymentRoutesLocaleFromJSON( jsonString: string, @@ -2409,8 +2475,10 @@ export function cancelDeploymentRoutesLocaleFromJSON( export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType - > = z.nativeEnum( - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType, + ) ); /** @internal */ @@ -2419,7 +2487,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2EqFromJSON( jsonString: string, @@ -2442,19 +2512,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing22FromJSON( jsonString: string, @@ -2477,12 +2549,14 @@ export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing22$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesValueFromJSON( jsonString: string, @@ -2505,19 +2579,19 @@ export const CancelDeploymentMissingDeploymentsResponse2002$inboundSchema: CancelDeploymentMissingDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2RoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function cancelDeploymentMissingDeploymentsResponse2002FromJSON( jsonString: string, @@ -2541,7 +2615,9 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1MissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1MissingEqFromJSON( jsonString: string, @@ -2564,19 +2640,21 @@ export const CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function cancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2FromJSON( jsonString: string, @@ -2599,12 +2677,14 @@ export const CancelDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2$inboundSchema + ), + ]) + ); export function cancelDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyServices2ValueFromJSON( jsonString: string, @@ -2627,15 +2707,17 @@ export const CancelDeploymentMissingDeploymentsResponse2001$inboundSchema: CancelDeploymentMissingDeploymentsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CancelDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyServices2Routes1Missing2$inboundSchema + ), + ]), + }) + ); export function cancelDeploymentMissingDeploymentsResponse2001FromJSON( jsonString: string, @@ -2658,15 +2740,17 @@ export const CancelDeploymentRoutesMissing$inboundSchema: z.ZodType< CancelDeploymentRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2001$inboundSchema), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("cookie") })), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("header") })), - z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2001$inboundSchema), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) +); export function cancelDeploymentRoutesMissingFromJSON( jsonString: string, @@ -2681,16 +2765,20 @@ export function cancelDeploymentRoutesMissingFromJSON( /** @internal */ export const CancelDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesAction -> = z.nativeEnum(CancelDeploymentRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentRoutesAction) +); /** @internal */ export const CancelDeploymentRoutesMitigate$inboundSchema: z.ZodType< CancelDeploymentRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: CancelDeploymentRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: CancelDeploymentRoutesAction$inboundSchema, + }) +); export function cancelDeploymentRoutesMitigateFromJSON( jsonString: string, @@ -2704,21 +2792,25 @@ export function cancelDeploymentRoutesMitigateFromJSON( /** @internal */ export const CancelDeploymentTransformsDeploymentsOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentTransformsDeploymentsOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentTransformsDeploymentsOp) + ); /** @internal */ export const CancelDeploymentTransforms2$inboundSchema: z.ZodType< CancelDeploymentTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: CancelDeploymentTransformsDeploymentsOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: CancelDeploymentTransformsDeploymentsOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function cancelDeploymentTransforms2FromJSON( jsonString: string, @@ -2735,7 +2827,9 @@ export const CancelDeploymentTransformsArgs$inboundSchema: z.ZodType< CancelDeploymentTransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function cancelDeploymentTransformsArgsFromJSON( jsonString: string, @@ -2749,15 +2843,19 @@ export function cancelDeploymentTransformsArgsFromJSON( /** @internal */ export const CancelDeploymentTransformsDeploymentsResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentTransformsDeploymentsResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentTransformsDeploymentsResponseOp) + ); /** @internal */ export const CancelDeploymentKeyEq$inboundSchema: z.ZodType< CancelDeploymentKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function cancelDeploymentKeyEqFromJSON( jsonString: string, @@ -2774,18 +2872,20 @@ export const CancelDeploymentKey2$inboundSchema: z.ZodType< CancelDeploymentKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function cancelDeploymentKey2FromJSON( jsonString: string, @@ -2802,10 +2902,9 @@ export const CancelDeploymentTransformsDeploymentsKey$inboundSchema: z.ZodType< CancelDeploymentTransformsDeploymentsKey, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentKey2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => CancelDeploymentKey2$inboundSchema)]) +); export function cancelDeploymentTransformsDeploymentsKeyFromJSON( jsonString: string, @@ -2828,12 +2927,14 @@ export const CancelDeploymentTransformsTarget$inboundSchema: z.ZodType< CancelDeploymentTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => CancelDeploymentKey2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => CancelDeploymentKey2$inboundSchema), + ]), + }) +); export function cancelDeploymentTransformsTargetFromJSON( jsonString: string, @@ -2847,21 +2948,25 @@ export function cancelDeploymentTransformsTargetFromJSON( /** @internal */ export const CancelDeploymentTransformsDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentTransformsDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentTransformsDeploymentsType) + ); /** @internal */ export const CancelDeploymentTransforms1$inboundSchema: z.ZodType< CancelDeploymentTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: CancelDeploymentTransformsDeploymentsResponseOp$inboundSchema, - target: z.lazy(() => CancelDeploymentTransformsTarget$inboundSchema), - type: CancelDeploymentTransformsDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: CancelDeploymentTransformsDeploymentsResponseOp$inboundSchema, + target: z.lazy(() => CancelDeploymentTransformsTarget$inboundSchema), + type: CancelDeploymentTransformsDeploymentsType$inboundSchema, + }) +); export function cancelDeploymentTransforms1FromJSON( jsonString: string, @@ -2878,18 +2983,20 @@ export const CancelDeploymentRoutesTransforms$inboundSchema: z.ZodType< CancelDeploymentRoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => CancelDeploymentTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => CancelDeploymentTransforms2$inboundSchema), + ]) +); export function cancelDeploymentRoutesTransformsFromJSON( jsonString: string, @@ -2906,20 +3013,18 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< CancelDeploymentRoutes1, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => CancelDeploymentDestinationDeployments2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentHasDeploymentsResponse2001$inboundSchema), z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema @@ -2928,19 +3033,17 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CancelDeploymentHasDeploymentsResponse2002$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional( - z.lazy(() => CancelDeploymentRoutesLocale$inboundSchema), - ), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + CancelDeploymentRoutesLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentMissingDeploymentsResponse2001$inboundSchema ), @@ -2950,19 +3053,17 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CancelDeploymentMissingDeploymentsResponse2002$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - mitigate: types.optional( - z.lazy(() => CancelDeploymentRoutesMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + CancelDeploymentRoutesMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -2973,9 +3074,9 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => CancelDeploymentTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function cancelDeploymentRoutes1FromJSON( jsonString: string, @@ -2992,10 +3093,12 @@ export const ServicesRoutes$inboundSchema: z.ZodType< ServicesRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CancelDeploymentRoutes1$inboundSchema), - z.lazy(() => CancelDeploymentRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CancelDeploymentRoutes1$inboundSchema), + z.lazy(() => CancelDeploymentRoutes2$inboundSchema), + ]) +); export function servicesRoutesFromJSON( jsonString: string, @@ -3012,36 +3115,36 @@ export const Services2$inboundSchema: z.ZodType< Services2, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional(z.array(Bindings$inboundSchema)), - buildCommand: types.optional(types.string()), - builder: ServicesBuilder$inboundSchema, - cleanUrls: types.optional(types.boolean()), - command: types.optional(z.array(types.string())), - devCommand: types.optional(types.string()), - entrypoint: types.optional(types.string()), - framework: types.optional(types.string()), - functions: types.optional(z.record(ServicesFunctions$inboundSchema)), - headers: types.optional(z.array(ServicesHeaders$inboundSchema)), - ignoreCommand: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - outputDirectory: types.optional(types.string()), - redirects: types.optional(z.array(ServicesRedirects$inboundSchema)), - rewrites: types.optional(z.array(z.lazy(() => Rewrites$inboundSchema))), - root: types.string(), - routes: types.optional( - z.array(smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional(z.array(Bindings$inboundSchema)), + buildCommand: types.optional(types.string()), + builder: ServicesBuilder$inboundSchema, + cleanUrls: types.optional(types.boolean()), + command: types.optional(z.array(types.string())), + devCommand: types.optional(types.string()), + entrypoint: types.optional(types.string()), + framework: types.optional(types.string()), + functions: types.optional(z.record(ServicesFunctions$inboundSchema)), + headers: types.optional(z.array(ServicesHeaders$inboundSchema)), + ignoreCommand: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + outputDirectory: types.optional(types.string()), + redirects: types.optional(z.array(ServicesRedirects$inboundSchema)), + rewrites: types.optional(z.array(z.lazy(() => Rewrites$inboundSchema))), + root: types.string(), + routes: types.optional(z.array(smartUnion([ z.lazy(() => CancelDeploymentRoutes1$inboundSchema), z.lazy(() => CancelDeploymentRoutes2$inboundSchema ), - ])), - ), - runtime: types.optional(types.string()), - schema: types.literal("experimentalServicesV2"), - trailingSlash: types.optional(types.boolean()), -}); + ]))), + runtime: types.optional(types.string()), + schema: types.literal("experimentalServicesV2"), + trailingSlash: types.optional(types.boolean()), + }) +); export function services2FromJSON( jsonString: string, @@ -3056,14 +3159,18 @@ export function services2FromJSON( /** @internal */ export const CancelDeploymentServicesFormat$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentServicesFormat -> = z.nativeEnum(CancelDeploymentServicesFormat); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesFormat) +); /** @internal */ export const CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -3071,14 +3178,16 @@ export const CancelDeploymentServicesBindings$inboundSchema: z.ZodType< CancelDeploymentServicesBindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: CancelDeploymentServicesFormat$inboundSchema, - service: types.string(), - type: types.optional( - CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: CancelDeploymentServicesFormat$inboundSchema, + service: types.string(), + type: types.optional( + CancelDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, + ), + }) +); export function cancelDeploymentServicesBindingsFromJSON( jsonString: string, @@ -3095,10 +3204,12 @@ export const ServicesHttpHeaders$inboundSchema: z.ZodType< ServicesHttpHeaders, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) +); export function servicesHttpHeadersFromJSON( jsonString: string, @@ -3113,22 +3224,24 @@ export function servicesHttpHeadersFromJSON( /** @internal */ export const ServicesScheme$inboundSchema: z.ZodNativeEnum< typeof ServicesScheme -> = z.nativeEnum(ServicesScheme); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesScheme)); /** @internal */ export const ServicesHttpGet$inboundSchema: z.ZodType< ServicesHttpGet, z.ZodTypeDef, unknown -> = z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => ServicesHttpHeaders$inboundSchema)), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional(ServicesScheme$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(z.lazy(() => ServicesHttpHeaders$inboundSchema)), + ), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional(ServicesScheme$inboundSchema), + }) +); export function servicesHttpGetFromJSON( jsonString: string, @@ -3145,14 +3258,16 @@ export const ServicesLivenessProbe$inboundSchema: z.ZodType< ServicesLivenessProbe, z.ZodTypeDef, unknown -> = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => ServicesHttpGet$inboundSchema), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => ServicesHttpGet$inboundSchema), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) +); export function servicesLivenessProbeFromJSON( jsonString: string, @@ -3165,17 +3280,19 @@ export function servicesLivenessProbeFromJSON( } /** @internal */ -export const Memory$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Memory); +export const Memory$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Memory)); /** @internal */ export const ServicesRequests$inboundSchema: z.ZodType< ServicesRequests, z.ZodTypeDef, unknown -> = z.object({ - memory: Memory$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: Memory$inboundSchema, + }) +); export function servicesRequestsFromJSON( jsonString: string, @@ -3192,9 +3309,11 @@ export const ServicesResources$inboundSchema: z.ZodType< ServicesResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => ServicesRequests$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => ServicesRequests$inboundSchema), + }) +); export function servicesResourcesFromJSON( jsonString: string, @@ -3207,24 +3326,26 @@ export function servicesResourcesFromJSON( } /** @internal */ -export const Daemon$inboundSchema: z.ZodType = z - .object({ - bindings: types.optional( - z.array(z.lazy(() => CancelDeploymentServicesBindings$inboundSchema)), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => ServicesLivenessProbe$inboundSchema), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional(z.lazy(() => ServicesResources$inboundSchema)), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), - }); +export const Daemon$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional( + z.array(z.lazy(() => CancelDeploymentServicesBindings$inboundSchema)), + ), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional( + z.lazy(() => ServicesLivenessProbe$inboundSchema), + ), + replicas: types.optional(z.record(types.number())), + resources: types.optional(z.lazy(() => ServicesResources$inboundSchema)), + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) + ); export function daemonFromJSON( jsonString: string, @@ -3241,7 +3362,9 @@ export const ExcludeFiles$inboundSchema: z.ZodType< ExcludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function excludeFilesFromJSON( jsonString: string, @@ -3256,16 +3379,20 @@ export function excludeFilesFromJSON( /** @internal */ export const CancelDeploymentServicesMode$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentServicesMode -> = z.nativeEnum(CancelDeploymentServicesMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesMode) +); /** @internal */ export const CancelDeploymentServicesAffinity$inboundSchema: z.ZodType< CancelDeploymentServicesAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: CancelDeploymentServicesMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CancelDeploymentServicesMode$inboundSchema, + }) +); export function cancelDeploymentServicesAffinityFromJSON( jsonString: string, @@ -3279,9 +3406,10 @@ export function cancelDeploymentServicesAffinityFromJSON( /** @internal */ export const CancelDeploymentServicesArchitecture$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CancelDeploymentServicesArchitecture, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesArchitecture) + ); /** @internal */ export const CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema: @@ -3289,9 +3417,11 @@ export const CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSch CancelDeploymentExperimentalTriggersDeploymentsResponse3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeploymentsResponse3FromJSON( jsonString: string, @@ -3314,14 +3444,16 @@ export const CancelDeploymentExperimentalTriggersDeploymentsResponse2$inboundSch CancelDeploymentExperimentalTriggersDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeploymentsResponse2FromJSON( jsonString: string, @@ -3344,15 +3476,17 @@ export const CancelDeploymentExperimentalTriggersDeploymentsResponse1$inboundSch CancelDeploymentExperimentalTriggersDeploymentsResponse1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function cancelDeploymentExperimentalTriggersDeploymentsResponse1FromJSON( jsonString: string, @@ -3375,17 +3509,19 @@ export const CancelDeploymentServicesExperimentalTriggers$inboundSchema: CancelDeploymentServicesExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - CancelDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema - ), - z.lazy(() => - CancelDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema - ), - z.lazy(() => - CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CancelDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema + ), + z.lazy(() => + CancelDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema + ), + z.lazy(() => + CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema + ), + ]) + ); export function cancelDeploymentServicesExperimentalTriggersFromJSON( jsonString: string, @@ -3405,18 +3541,22 @@ export function cancelDeploymentServicesExperimentalTriggersFromJSON( /** @internal */ export const CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CancelDeploymentMaxDurationDeploymentsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentMaxDurationDeploymentsResponse2) + ); /** @internal */ export const CancelDeploymentServicesMaxDuration$inboundSchema: z.ZodType< CancelDeploymentServicesMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([ - types.number(), - CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]) +); export function cancelDeploymentServicesMaxDurationFromJSON( jsonString: string, @@ -3434,16 +3574,16 @@ export const CancelDeploymentServicesFunctions$inboundSchema: z.ZodType< CancelDeploymentServicesFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional( - z.lazy(() => CancelDeploymentServicesAffinity$inboundSchema), - ), - architecture: types.optional( - CancelDeploymentServicesArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => CancelDeploymentServicesAffinity$inboundSchema), + ), + architecture: types.optional( + CancelDeploymentServicesArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CancelDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema ), @@ -3453,24 +3593,24 @@ export const CancelDeploymentServicesFunctions$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function cancelDeploymentServicesFunctionsFromJSON( jsonString: string, @@ -3487,7 +3627,9 @@ export const IncludeFiles$inboundSchema: z.ZodType< IncludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function includeFilesFromJSON( jsonString: string, @@ -3504,7 +3646,9 @@ export const MiddlewareMatcher$inboundSchema: z.ZodType< MiddlewareMatcher, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function middlewareMatcherFromJSON( jsonString: string, @@ -3519,16 +3663,18 @@ export function middlewareMatcherFromJSON( /** @internal */ export const MiddlewareRuntime$inboundSchema: z.ZodNativeEnum< typeof MiddlewareRuntime -> = z.nativeEnum(MiddlewareRuntime); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MiddlewareRuntime)); /** @internal */ export const ServicesVercelFlags$inboundSchema: z.ZodType< ServicesVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function servicesVercelFlagsFromJSON( jsonString: string, @@ -3545,23 +3691,27 @@ export const ServicesProjectSettings$inboundSchema: z.ZodType< ServicesProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional(z.lazy(() => ServicesVercelFlags$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => ServicesVercelFlags$inboundSchema), + ), + }) +); export function servicesProjectSettingsFromJSON( jsonString: string, @@ -3578,9 +3728,11 @@ export const SchedulesModule$inboundSchema: z.ZodType< SchedulesModule, z.ZodTypeDef, unknown -> = z.object({ - module: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) +); export function schedulesModuleFromJSON( jsonString: string, @@ -3597,45 +3749,49 @@ export const ServicesConfig$inboundSchema: z.ZodType< ServicesConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional(z.lazy(() => Daemon$inboundSchema)), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => CancelDeploymentServicesFunctions$inboundSchema)), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional(MiddlewareRuntime$inboundSchema), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => ServicesProjectSettings$inboundSchema), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional(z.lazy(() => SchedulesModule$inboundSchema)), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional(z.lazy(() => Daemon$inboundSchema)), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional( + z.record(z.lazy(() => CancelDeploymentServicesFunctions$inboundSchema)), + ), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional(MiddlewareRuntime$inboundSchema), + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional( + z.lazy(() => ServicesProjectSettings$inboundSchema), + ), + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional( + z.lazy(() => SchedulesModule$inboundSchema), + ), + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function servicesConfigFromJSON( jsonString: string, @@ -3649,11 +3805,13 @@ export function servicesConfigFromJSON( /** @internal */ export const Builder$inboundSchema: z.ZodType = - z.object({ - config: types.optional(z.lazy(() => ServicesConfig$inboundSchema)), - src: types.optional(types.string()), - use: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional(z.lazy(() => ServicesConfig$inboundSchema)), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function builderFromJSON( jsonString: string, @@ -3668,17 +3826,21 @@ export function builderFromJSON( /** @internal */ export const CancelDeploymentServicesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentServicesType -> = z.nativeEnum(CancelDeploymentServicesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CancelDeploymentServicesType) +); /** @internal */ export const ServicesEnv$inboundSchema: z.ZodType< ServicesEnv, z.ZodTypeDef, unknown -> = z.object({ - service: types.string(), - type: CancelDeploymentServicesType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + service: types.string(), + type: CancelDeploymentServicesType$inboundSchema, + }) +); export function servicesEnvFromJSON( jsonString: string, @@ -3693,14 +3855,16 @@ export function servicesEnvFromJSON( /** @internal */ export const RoutePrefixSource$inboundSchema: z.ZodNativeEnum< typeof RoutePrefixSource -> = z.nativeEnum(RoutePrefixSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RoutePrefixSource)); /** @internal */ export const Schedule$inboundSchema: z.ZodType< Schedule, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function scheduleFromJSON( jsonString: string, @@ -3714,11 +3878,13 @@ export function scheduleFromJSON( /** @internal */ export const Topics2$inboundSchema: z.ZodType = - z.object({ - initialDelaySeconds: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + }) + ); export function topics2FromJSON( jsonString: string, @@ -3732,10 +3898,12 @@ export function topics2FromJSON( /** @internal */ export const Topics$inboundSchema: z.ZodType = - smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => Topics2$inboundSchema)), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => Topics2$inboundSchema)), + ]) + ); export function topicsFromJSON( jsonString: string, @@ -3750,46 +3918,48 @@ export function topicsFromJSON( /** @internal */ export const ServicesTrigger$inboundSchema: z.ZodNativeEnum< typeof ServicesTrigger -> = z.nativeEnum(ServicesTrigger); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesTrigger)); /** @internal */ export const ServicesType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ServicesType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesType)); /** @internal */ export const Services1$inboundSchema: z.ZodType< Services1, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - builder: z.lazy(() => Builder$inboundSchema), - entrypoint: types.optional(types.string()), - env: types.optional(z.record(z.lazy(() => ServicesEnv$inboundSchema))), - framework: types.optional(types.string()), - group: types.optional(types.string()), - handlerFunction: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - preDeployCommand: types.optional(types.string()), - routePrefix: types.optional(types.string()), - routePrefixSource: types.optional(RoutePrefixSource$inboundSchema), - runtime: types.optional(types.string()), - schedule: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - schema: types.literal("experimentalServices"), - subdomain: types.optional(types.string()), - topics: types.optional( - smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => Topics2$inboundSchema)), - ]), - ), - trigger: types.optional(ServicesTrigger$inboundSchema), - type: ServicesType$inboundSchema, - workspace: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + builder: z.lazy(() => Builder$inboundSchema), + entrypoint: types.optional(types.string()), + env: types.optional(z.record(z.lazy(() => ServicesEnv$inboundSchema))), + framework: types.optional(types.string()), + group: types.optional(types.string()), + handlerFunction: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + preDeployCommand: types.optional(types.string()), + routePrefix: types.optional(types.string()), + routePrefixSource: types.optional(RoutePrefixSource$inboundSchema), + runtime: types.optional(types.string()), + schedule: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + schema: types.literal("experimentalServices"), + subdomain: types.optional(types.string()), + topics: types.optional( + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => Topics2$inboundSchema)), + ]), + ), + trigger: types.optional(ServicesTrigger$inboundSchema), + type: ServicesType$inboundSchema, + workspace: types.string(), + }) +); export function services1FromJSON( jsonString: string, @@ -3806,10 +3976,12 @@ export const Services$inboundSchema: z.ZodType< Services, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Services1$inboundSchema), - z.lazy(() => Services2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Services1$inboundSchema), + z.lazy(() => Services2$inboundSchema), + ]) +); export function servicesFromJSON( jsonString: string, @@ -3824,29 +3996,31 @@ export function servicesFromJSON( /** @internal */ export const CancelDeploymentSource$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentSource -> = z.nativeEnum(CancelDeploymentSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentSource)); /** @internal */ export const CancelDeploymentStatus$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentStatus -> = z.nativeEnum(CancelDeploymentStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentStatus)); /** @internal */ export const CancelDeploymentTarget$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentTarget -> = z.nativeEnum(CancelDeploymentTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentTarget)); /** @internal */ export const CancelDeploymentTeam$inboundSchema: z.ZodType< CancelDeploymentTeam, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function cancelDeploymentTeamFromJSON( jsonString: string, @@ -3861,118 +4035,124 @@ export function cancelDeploymentTeamFromJSON( /** @internal */ export const CancelDeploymentType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentType -> = z.nativeEnum(CancelDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CancelDeploymentType)); /** @internal */ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType< CancelDeploymentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasAssignedAt: z.nullable(AliasAssignedAt$inboundSchema).optional(), - aliasError: z.nullable(AliasError$inboundSchema).optional(), - aliasFinal: z.nullable(types.string()).optional(), - aliasWarning: z.nullable(AliasWarning$inboundSchema).optional(), - alwaysRefuseToBuild: types.optional(types.boolean()), - atproto: types.optional(Atproto$inboundSchema), - attribution: types.optional(CancelDeploymentAttribution$inboundSchema), - autoAssignCustomDomains: types.optional(types.boolean()), - automaticAliases: types.optional(z.array(types.string())), - bootedAt: types.number(), - build: Build$inboundSchema, - buildArtifactUrls: types.optional(z.array(types.string())), - buildContainerFinishedAt: types.optional(types.number()), - buildErrorAt: types.optional(types.number()), - buildingAt: types.number(), - builds: types.optional(z.array(Builds$inboundSchema)), - buildSkipped: types.boolean(), - canceledAt: types.optional(types.number()), - checks: types.optional(CancelDeploymentChecks$inboundSchema), - checksConclusion: types.optional(ChecksConclusion$inboundSchema), - checksState: types.optional(ChecksState$inboundSchema), - config: types.optional(Config$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: CancelDeploymentCreator$inboundSchema, - crons: types.optional(z.array(Crons$inboundSchema)), - customEnvironment: types.optional( - CancelDeploymentCustomEnvironment$inboundSchema, - ), - defaultRoute: types.optional(types.string()), - deletedAt: z.nullable(types.number()).optional(), - duration: Duration$inboundSchema, - env: z.array(types.string()), - errorCode: types.optional(types.string()), - errorLink: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - errorStep: types.optional(types.string()), - flags: types.optional(Flags$inboundSchema), - functions: z.nullable(z.record(Functions$inboundSchema)).optional(), - gitRepo: z.nullable(GitRepo$inboundSchema).optional(), - gitSource: types.optional(CancelDeploymentGitSource$inboundSchema), - id: types.string(), - images: types.optional(Images$inboundSchema), - initReadyAt: types.optional(types.number()), - inspectorUrl: types.nullable(types.string()), - integrations: types.optional(Integrations$inboundSchema), - isFirstBranchDeployment: types.optional(types.boolean()), - isInConcurrentBuildsQueue: types.boolean(), - isInstantStatic: types.optional(types.boolean()), - isInSystemBuildsQueue: types.boolean(), - lambdas: types.optional(z.array(Lambdas$inboundSchema)), - manualProvisioning: types.optional(ManualProvisioning$inboundSchema), - meta: z.record(types.string()), - microfrontends: types.optional(CancelDeploymentMicrofrontends$inboundSchema), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - nodeVersion: types.optional(CancelDeploymentNodeVersion$inboundSchema), - oidcTokenClaims: types.optional(OidcTokenClaims$inboundSchema), - oomReport: types.optional(OomReport$inboundSchema), - originCacheRegion: types.optional(types.string()), - ownerId: types.string(), - passiveConnectConfigurationId: types.optional(types.string()), - passiveRegions: types.optional(z.array(types.string())), - plan: CancelDeploymentPlan$inboundSchema, - platform: types.optional(Platform$inboundSchema), - prebuilt: types.optional(types.boolean()), - previewCommentsEnabled: types.optional(types.boolean()), - project: types.optional(CancelDeploymentProject$inboundSchema), - projectId: types.string(), - projectSettings: CancelDeploymentProjectSettings$inboundSchema, - public: types.boolean(), - ready: types.optional(types.number()), - readyState: ReadyState$inboundSchema, - readyStateReason: types.optional(types.string()), - readySubstate: types.optional(ReadySubstate$inboundSchema), - regions: z.array(types.string()), - resourceConfig: types.optional(CancelDeploymentResourceConfig$inboundSchema), - routes: types.nullable(z.array(CancelDeploymentRoutes$inboundSchema)), - seatBlock: types.optional(SeatBlock$inboundSchema), - services: types.optional( - z.array(z.union([ - z.lazy(() => Services1$inboundSchema), - z.lazy(() => - Services2$inboundSchema - ), - ])), - ), - softDeletedByRetention: types.optional(types.boolean()), - source: types.optional(CancelDeploymentSource$inboundSchema), - status: CancelDeploymentStatus$inboundSchema, - target: z.nullable(CancelDeploymentTarget$inboundSchema).optional(), - team: types.optional(z.lazy(() => CancelDeploymentTeam$inboundSchema)), - ttyBuildLogs: types.optional(types.boolean()), - type: CancelDeploymentType$inboundSchema, - undeletedAt: types.optional(types.number()), - url: types.string(), - userAliases: types.optional(z.array(types.string())), - userConfiguredDeploymentId: types.optional(types.string()), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasAssignedAt: z.nullable(AliasAssignedAt$inboundSchema).optional(), + aliasError: z.nullable(AliasError$inboundSchema).optional(), + aliasFinal: z.nullable(types.string()).optional(), + aliasWarning: z.nullable(AliasWarning$inboundSchema).optional(), + alwaysRefuseToBuild: types.optional(types.boolean()), + atproto: types.optional(Atproto$inboundSchema), + attribution: types.optional(CancelDeploymentAttribution$inboundSchema), + autoAssignCustomDomains: types.optional(types.boolean()), + automaticAliases: types.optional(z.array(types.string())), + bootedAt: types.number(), + build: Build$inboundSchema, + buildArtifactUrls: types.optional(z.array(types.string())), + buildContainerFinishedAt: types.optional(types.number()), + buildErrorAt: types.optional(types.number()), + buildingAt: types.number(), + builds: types.optional(z.array(Builds$inboundSchema)), + buildSkipped: types.boolean(), + canceledAt: types.optional(types.number()), + checks: types.optional(CancelDeploymentChecks$inboundSchema), + checksConclusion: types.optional(ChecksConclusion$inboundSchema), + checksState: types.optional(ChecksState$inboundSchema), + config: types.optional(Config$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: CancelDeploymentCreator$inboundSchema, + crons: types.optional(z.array(Crons$inboundSchema)), + customEnvironment: types.optional( + CancelDeploymentCustomEnvironment$inboundSchema, + ), + defaultRoute: types.optional(types.string()), + deletedAt: z.nullable(types.number()).optional(), + duration: Duration$inboundSchema, + env: z.array(types.string()), + errorCode: types.optional(types.string()), + errorLink: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + errorStep: types.optional(types.string()), + flags: types.optional(Flags$inboundSchema), + functions: z.nullable(z.record(Functions$inboundSchema)).optional(), + gitRepo: z.nullable(GitRepo$inboundSchema).optional(), + gitSource: types.optional(CancelDeploymentGitSource$inboundSchema), + id: types.string(), + images: types.optional(Images$inboundSchema), + initReadyAt: types.optional(types.number()), + inspectorUrl: types.nullable(types.string()), + integrations: types.optional(Integrations$inboundSchema), + isFirstBranchDeployment: types.optional(types.boolean()), + isInConcurrentBuildsQueue: types.boolean(), + isInstantStatic: types.optional(types.boolean()), + isInSystemBuildsQueue: types.boolean(), + lambdas: types.optional(z.array(Lambdas$inboundSchema)), + manualProvisioning: types.optional(ManualProvisioning$inboundSchema), + meta: z.record(types.string()), + microfrontends: types.optional( + CancelDeploymentMicrofrontends$inboundSchema, + ), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + nodeVersion: types.optional(CancelDeploymentNodeVersion$inboundSchema), + oidcTokenClaims: types.optional(OidcTokenClaims$inboundSchema), + oomReport: types.optional(OomReport$inboundSchema), + originCacheRegion: types.optional(types.string()), + ownerId: types.string(), + passiveConnectConfigurationId: types.optional(types.string()), + passiveRegions: types.optional(z.array(types.string())), + plan: CancelDeploymentPlan$inboundSchema, + platform: types.optional(Platform$inboundSchema), + prebuilt: types.optional(types.boolean()), + previewCommentsEnabled: types.optional(types.boolean()), + project: types.optional(CancelDeploymentProject$inboundSchema), + projectId: types.string(), + projectSettings: CancelDeploymentProjectSettings$inboundSchema, + public: types.boolean(), + ready: types.optional(types.number()), + readyState: ReadyState$inboundSchema, + readyStateReason: types.optional(types.string()), + readySubstate: types.optional(ReadySubstate$inboundSchema), + regions: z.array(types.string()), + resourceConfig: types.optional( + CancelDeploymentResourceConfig$inboundSchema, + ), + routes: types.nullable(z.array(CancelDeploymentRoutes$inboundSchema)), + seatBlock: types.optional(SeatBlock$inboundSchema), + services: types.optional( + z.array(z.union([ + z.lazy(() => Services1$inboundSchema), + z.lazy(() => + Services2$inboundSchema + ), + ])), + ), + softDeletedByRetention: types.optional(types.boolean()), + source: types.optional(CancelDeploymentSource$inboundSchema), + status: CancelDeploymentStatus$inboundSchema, + target: z.nullable(CancelDeploymentTarget$inboundSchema).optional(), + team: types.optional(z.lazy(() => CancelDeploymentTeam$inboundSchema)), + ttyBuildLogs: types.optional(types.boolean()), + type: CancelDeploymentType$inboundSchema, + undeletedAt: types.optional(types.number()), + url: types.string(), + userAliases: types.optional(z.array(types.string())), + userConfiguredDeploymentId: types.optional(types.string()), + version: types.number(), + }) +); export function cancelDeploymentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/claimdomainownershipop.ts b/src/models/claimdomainownershipop.ts index f606ed0950..1815d6947a 100644 --- a/src/models/claimdomainownershipop.ts +++ b/src/models/claimdomainownershipop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -147,11 +147,13 @@ export const ClaimDomainOwnershipRequest$outboundSchema: z.ZodType< ClaimDomainOwnershipRequest$Outbound, z.ZodTypeDef, ClaimDomainOwnershipRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function claimDomainOwnershipRequestToJSON( claimDomainOwnershipRequest: ClaimDomainOwnershipRequest, @@ -168,13 +170,15 @@ export const ClaimDomainOwnershipCreator$inboundSchema: z.ZodType< ClaimDomainOwnershipCreator, z.ZodTypeDef, unknown -> = z.object({ - customerId: z.nullable(types.string()).optional(), - email: types.string(), - id: types.string(), - isDomainReseller: types.optional(types.boolean()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customerId: z.nullable(types.string()).optional(), + email: types.string(), + id: types.string(), + isDomainReseller: types.optional(types.boolean()), + username: types.string(), + }) +); export function claimDomainOwnershipCreatorFromJSON( jsonString: string, @@ -189,36 +193,40 @@ export function claimDomainOwnershipCreatorFromJSON( /** @internal */ export const ClaimDomainOwnershipEchMode$inboundSchema: z.ZodNativeEnum< typeof ClaimDomainOwnershipEchMode -> = z.nativeEnum(ClaimDomainOwnershipEchMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ClaimDomainOwnershipEchMode) +); /** @internal */ -export const ServiceType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ServiceType); +export const ServiceType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServiceType)); /** @internal */ export const ClaimDomainOwnershipDomain$inboundSchema: z.ZodType< ClaimDomainOwnershipDomain, z.ZodTypeDef, unknown -> = z.object({ - boughtAt: types.nullable(types.number()), - createdAt: types.number(), - creator: z.lazy(() => ClaimDomainOwnershipCreator$inboundSchema), - customNameservers: types.optional(z.array(types.string())), - echMode: ClaimDomainOwnershipEchMode$inboundSchema, - expiresAt: types.nullable(types.number()), - id: types.string(), - intendedNameservers: z.array(types.string()), - name: types.string(), - nameservers: z.array(types.string()), - renew: types.optional(types.boolean()), - serviceType: ServiceType$inboundSchema, - teamId: types.nullable(types.string()), - transferredAt: z.nullable(types.number()).optional(), - transferStartedAt: types.optional(types.number()), - userId: types.string(), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boughtAt: types.nullable(types.number()), + createdAt: types.number(), + creator: z.lazy(() => ClaimDomainOwnershipCreator$inboundSchema), + customNameservers: types.optional(z.array(types.string())), + echMode: ClaimDomainOwnershipEchMode$inboundSchema, + expiresAt: types.nullable(types.number()), + id: types.string(), + intendedNameservers: z.array(types.string()), + name: types.string(), + nameservers: z.array(types.string()), + renew: types.optional(types.boolean()), + serviceType: ServiceType$inboundSchema, + teamId: types.nullable(types.string()), + transferredAt: z.nullable(types.number()).optional(), + transferStartedAt: types.optional(types.number()), + userId: types.string(), + verified: types.boolean(), + }) +); export function claimDomainOwnershipDomainFromJSON( jsonString: string, @@ -235,9 +243,11 @@ export const ClaimDomainOwnershipResponseBody$inboundSchema: z.ZodType< ClaimDomainOwnershipResponseBody, z.ZodTypeDef, unknown -> = z.object({ - domain: z.lazy(() => ClaimDomainOwnershipDomain$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.lazy(() => ClaimDomainOwnershipDomain$inboundSchema), + }) +); export function claimDomainOwnershipResponseBodyFromJSON( jsonString: string, diff --git a/src/models/clearrepositorypermissionsop.ts b/src/models/clearrepositorypermissionsop.ts index d1077aa993..0844cfd420 100644 --- a/src/models/clearrepositorypermissionsop.ts +++ b/src/models/clearrepositorypermissionsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ClearRepositoryPermissionsRequest = { /** @@ -33,12 +34,14 @@ export const ClearRepositoryPermissionsRequest$outboundSchema: z.ZodType< ClearRepositoryPermissionsRequest$Outbound, z.ZodTypeDef, ClearRepositoryPermissionsRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function clearRepositoryPermissionsRequestToJSON( clearRepositoryPermissionsRequest: ClearRepositoryPermissionsRequest, diff --git a/src/models/completerollingreleaseop.ts b/src/models/completerollingreleaseop.ts index 6849c479a0..b25341e372 100644 --- a/src/models/completerollingreleaseop.ts +++ b/src/models/completerollingreleaseop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -419,9 +419,11 @@ export const CompleteRollingReleaseRequestBody$outboundSchema: z.ZodType< CompleteRollingReleaseRequestBody$Outbound, z.ZodTypeDef, CompleteRollingReleaseRequestBody -> = z.object({ - canaryDeploymentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryDeploymentId: z.string(), + }) +); export function completeRollingReleaseRequestBodyToJSON( completeRollingReleaseRequestBody: CompleteRollingReleaseRequestBody, @@ -446,17 +448,19 @@ export const CompleteRollingReleaseRequest$outboundSchema: z.ZodType< CompleteRollingReleaseRequest$Outbound, z.ZodTypeDef, CompleteRollingReleaseRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CompleteRollingReleaseRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CompleteRollingReleaseRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function completeRollingReleaseRequestToJSON( completeRollingReleaseRequest: CompleteRollingReleaseRequest, @@ -473,14 +477,16 @@ export const CompleteRollingReleaseActiveStage$inboundSchema: z.ZodType< CompleteRollingReleaseActiveStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function completeRollingReleaseActiveStageFromJSON( jsonString: string, @@ -494,40 +500,49 @@ export function completeRollingReleaseActiveStageFromJSON( /** @internal */ export const CompleteRollingReleaseAdvancementType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CompleteRollingReleaseAdvancementType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseAdvancementType) + ); /** @internal */ export const CompleteRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseReadyState -> = z.nativeEnum(CompleteRollingReleaseReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseReadyState) +); /** @internal */ export const CompleteRollingReleaseSource$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseSource -> = z.nativeEnum(CompleteRollingReleaseSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseSource) +); /** @internal */ export const CompleteRollingReleaseTarget$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseTarget -> = z.nativeEnum(CompleteRollingReleaseTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseTarget) +); /** @internal */ export const CompleteRollingReleaseCanaryDeployment$inboundSchema: z.ZodType< CompleteRollingReleaseCanaryDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: CompleteRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(CompleteRollingReleaseSource$inboundSchema), - target: z.nullable(CompleteRollingReleaseTarget$inboundSchema).optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: CompleteRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional(CompleteRollingReleaseSource$inboundSchema), + target: z.nullable(CompleteRollingReleaseTarget$inboundSchema).optional(), + url: types.string(), + }) +); export function completeRollingReleaseCanaryDeploymentFromJSON( jsonString: string, @@ -542,37 +557,45 @@ export function completeRollingReleaseCanaryDeploymentFromJSON( /** @internal */ export const CompleteRollingReleaseRollingReleaseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CompleteRollingReleaseRollingReleaseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseRollingReleaseReadyState) + ); /** @internal */ export const CompleteRollingReleaseRollingReleaseSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CompleteRollingReleaseRollingReleaseSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseRollingReleaseSource) + ); /** @internal */ export const CompleteRollingReleaseRollingReleaseTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CompleteRollingReleaseRollingReleaseTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseRollingReleaseTarget) + ); /** @internal */ export const CompleteRollingReleaseCurrentDeployment$inboundSchema: z.ZodType< CompleteRollingReleaseCurrentDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: CompleteRollingReleaseRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional( - CompleteRollingReleaseRollingReleaseSource$inboundSchema, - ), - target: z.nullable(CompleteRollingReleaseRollingReleaseTarget$inboundSchema) - .optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: CompleteRollingReleaseRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional( + CompleteRollingReleaseRollingReleaseSource$inboundSchema, + ), + target: z.nullable(CompleteRollingReleaseRollingReleaseTarget$inboundSchema) + .optional(), + url: types.string(), + }) +); export function completeRollingReleaseCurrentDeploymentFromJSON( jsonString: string, @@ -595,14 +618,16 @@ export const CompleteRollingReleaseNextStage$inboundSchema: z.ZodType< CompleteRollingReleaseNextStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function completeRollingReleaseNextStageFromJSON( jsonString: string, @@ -619,14 +644,16 @@ export const CompleteRollingReleaseStages$inboundSchema: z.ZodType< CompleteRollingReleaseStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function completeRollingReleaseStagesFromJSON( jsonString: string, @@ -641,40 +668,46 @@ export function completeRollingReleaseStagesFromJSON( /** @internal */ export const CompleteRollingReleaseState$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseState -> = z.nativeEnum(CompleteRollingReleaseState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseState) +); /** @internal */ export const CompleteRollingReleaseSubstate$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseSubstate -> = z.nativeEnum(CompleteRollingReleaseSubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CompleteRollingReleaseSubstate) +); /** @internal */ export const CompleteRollingReleaseRollingRelease$inboundSchema: z.ZodType< CompleteRollingReleaseRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - activeStage: types.nullable( - z.lazy(() => CompleteRollingReleaseActiveStage$inboundSchema), - ), - advancementType: CompleteRollingReleaseAdvancementType$inboundSchema, - canaryDeployment: types.nullable( - z.lazy(() => CompleteRollingReleaseCanaryDeployment$inboundSchema), - ), - currentCanaryPercentage: types.optional(types.number()), - currentDeployment: types.nullable( - z.lazy(() => CompleteRollingReleaseCurrentDeployment$inboundSchema), - ), - nextStage: types.nullable( - z.lazy(() => CompleteRollingReleaseNextStage$inboundSchema), - ), - queuedDeploymentId: types.nullable(types.string()), - stages: z.array(z.lazy(() => CompleteRollingReleaseStages$inboundSchema)), - startedAt: types.number(), - state: CompleteRollingReleaseState$inboundSchema, - substate: types.nullable(CompleteRollingReleaseSubstate$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeStage: types.nullable( + z.lazy(() => CompleteRollingReleaseActiveStage$inboundSchema), + ), + advancementType: CompleteRollingReleaseAdvancementType$inboundSchema, + canaryDeployment: types.nullable( + z.lazy(() => CompleteRollingReleaseCanaryDeployment$inboundSchema), + ), + currentCanaryPercentage: types.optional(types.number()), + currentDeployment: types.nullable( + z.lazy(() => CompleteRollingReleaseCurrentDeployment$inboundSchema), + ), + nextStage: types.nullable( + z.lazy(() => CompleteRollingReleaseNextStage$inboundSchema), + ), + queuedDeploymentId: types.nullable(types.string()), + stages: z.array(z.lazy(() => CompleteRollingReleaseStages$inboundSchema)), + startedAt: types.number(), + state: CompleteRollingReleaseState$inboundSchema, + substate: types.nullable(CompleteRollingReleaseSubstate$inboundSchema), + updatedAt: types.number(), + }) +); export function completeRollingReleaseRollingReleaseFromJSON( jsonString: string, @@ -692,11 +725,13 @@ export const CompleteRollingReleaseResponseBody$inboundSchema: z.ZodType< CompleteRollingReleaseResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => CompleteRollingReleaseRollingRelease$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable( + z.lazy(() => CompleteRollingReleaseRollingRelease$inboundSchema), + ), + }) +); export function completeRollingReleaseResponseBodyFromJSON( jsonString: string, diff --git a/src/models/connectconnector.ts b/src/models/connectconnector.ts index 0b7d366c61..d0dba2b674 100644 --- a/src/models/connectconnector.ts +++ b/src/models/connectconnector.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -438,16 +438,18 @@ export const AppTokens$inboundSchema: z.ZodType< AppTokens, z.ZodTypeDef, unknown -> = z.object({ - crossInstallation: types.boolean(), - isStaticCredential: types.boolean(), - permissionsUrl: types.optional(types.string()), - requiresReinstallation: types.optional(types.boolean()), - scopes: types.optional(z.array(types.string())), - supportedAuthorizationDetails: types.optional(z.array(types.string())), - supportsRefinement: types.boolean(), - supportsResources: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + crossInstallation: types.boolean(), + isStaticCredential: types.boolean(), + permissionsUrl: types.optional(types.string()), + requiresReinstallation: types.optional(types.boolean()), + scopes: types.optional(z.array(types.string())), + supportedAuthorizationDetails: types.optional(z.array(types.string())), + supportsRefinement: types.boolean(), + supportsResources: types.optional(types.boolean()), + }) +); export function appTokensFromJSON( jsonString: string, @@ -461,14 +463,16 @@ export function appTokensFromJSON( /** @internal */ export const Environment2$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(Environment2); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Environment2)); /** @internal */ export const Environment$inboundSchema: z.ZodType< Environment, z.ZodTypeDef, unknown -> = smartUnion([types.string(), Environment2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), Environment2$inboundSchema]) +); export function environmentFromJSON( jsonString: string, @@ -485,11 +489,13 @@ export const CreatedBy3$inboundSchema: z.ZodType< CreatedBy3, z.ZodTypeDef, unknown -> = z.object({ - environment: smartUnion([types.string(), Environment2$inboundSchema]), - id: types.string(), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environment: smartUnion([types.string(), Environment2$inboundSchema]), + id: types.string(), + type: types.literal("project"), + }) +); export function createdBy3FromJSON( jsonString: string, @@ -506,10 +512,12 @@ export const CreatedBy2$inboundSchema: z.ZodType< CreatedBy2, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - type: types.literal("user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + type: types.literal("user"), + }) +); export function createdBy2FromJSON( jsonString: string, @@ -522,11 +530,13 @@ export function createdBy2FromJSON( } /** @internal */ -export const One$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - type: types.literal("app"), - }); +export const One$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + type: types.literal("app"), + }) + ); export function oneFromJSON( jsonString: string, @@ -543,11 +553,13 @@ export const CreatedBy$inboundSchema: z.ZodType< CreatedBy, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => One$inboundSchema), - z.lazy(() => CreatedBy2$inboundSchema), - z.lazy(() => CreatedBy3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => One$inboundSchema), + z.lazy(() => CreatedBy2$inboundSchema), + z.lazy(() => CreatedBy3$inboundSchema), + ]) +); export function createdByFromJSON( jsonString: string, @@ -561,13 +573,15 @@ export function createdByFromJSON( /** @internal */ export const CreationMode$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreationMode); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreationMode)); /** @internal */ export const Managed$inboundSchema: z.ZodType = - z.object({ - sync: types.optional(types.boolean()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + sync: types.optional(types.boolean()), + }) + ); export function managedFromJSON( jsonString: string, @@ -582,28 +596,32 @@ export function managedFromJSON( /** @internal */ export const McpEventsUiVisibility$inboundSchema: z.ZodNativeEnum< typeof McpEventsUiVisibility -> = z.nativeEnum(McpEventsUiVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(McpEventsUiVisibility)); /** @internal */ export const SupportsIcon$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(SupportsIcon); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SupportsIcon)); /** @internal */ export const ConnectConnectorType$inboundSchema: z.ZodNativeEnum< typeof ConnectConnectorType -> = z.nativeEnum(ConnectConnectorType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConnectConnectorType)); /** @internal */ export const ConnectConnectorEnvironment2$inboundSchema: z.ZodNativeEnum< typeof ConnectConnectorEnvironment2 -> = z.nativeEnum(ConnectConnectorEnvironment2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ConnectConnectorEnvironment2) +); /** @internal */ export const UpdatedByEnvironment$inboundSchema: z.ZodType< UpdatedByEnvironment, z.ZodTypeDef, unknown -> = smartUnion([types.string(), ConnectConnectorEnvironment2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), ConnectConnectorEnvironment2$inboundSchema]) +); export function updatedByEnvironmentFromJSON( jsonString: string, @@ -620,14 +638,16 @@ export const UpdatedBy3$inboundSchema: z.ZodType< UpdatedBy3, z.ZodTypeDef, unknown -> = z.object({ - environment: smartUnion([ - types.string(), - ConnectConnectorEnvironment2$inboundSchema, - ]), - id: types.string(), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environment: smartUnion([ + types.string(), + ConnectConnectorEnvironment2$inboundSchema, + ]), + id: types.string(), + type: types.literal("project"), + }) +); export function updatedBy3FromJSON( jsonString: string, @@ -644,10 +664,12 @@ export const UpdatedBy2$inboundSchema: z.ZodType< UpdatedBy2, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - type: types.literal("user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + type: types.literal("user"), + }) +); export function updatedBy2FromJSON( jsonString: string, @@ -664,10 +686,12 @@ export const UpdatedBy1$inboundSchema: z.ZodType< UpdatedBy1, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + type: types.literal("app"), + }) +); export function updatedBy1FromJSON( jsonString: string, @@ -684,11 +708,13 @@ export const UpdatedBy$inboundSchema: z.ZodType< UpdatedBy, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdatedBy1$inboundSchema), - z.lazy(() => UpdatedBy2$inboundSchema), - z.lazy(() => UpdatedBy3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdatedBy1$inboundSchema), + z.lazy(() => UpdatedBy2$inboundSchema), + z.lazy(() => UpdatedBy3$inboundSchema), + ]) +); export function updatedByFromJSON( jsonString: string, @@ -705,15 +731,17 @@ export const UserTokens$inboundSchema: z.ZodType< UserTokens, z.ZodTypeDef, unknown -> = z.object({ - crossInstallation: types.boolean(), - isStaticCredential: types.boolean(), - manualCredentialInput: types.optional(types.boolean()), - scopes: types.optional(z.array(types.string())), - supportedAuthorizationDetails: types.optional(z.array(types.string())), - supportsRefinement: types.boolean(), - supportsResources: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + crossInstallation: types.boolean(), + isStaticCredential: types.boolean(), + manualCredentialInput: types.optional(types.boolean()), + scopes: types.optional(z.array(types.string())), + supportedAuthorizationDetails: types.optional(z.array(types.string())), + supportsRefinement: types.boolean(), + supportsResources: types.optional(types.boolean()), + }) +); export function userTokensFromJSON( jsonString: string, @@ -730,63 +758,65 @@ export const ConnectConnector$inboundSchema: z.ZodType< ConnectConnector, z.ZodTypeDef, unknown -> = z.object({ - accentColor: types.optional(types.string()), - appTokens: types.optional(z.lazy(() => AppTokens$inboundSchema)), - backgroundColor: types.optional(types.string()), - clientUrl: z.nullable(types.string()).optional(), - connectionMethod: types.optional(types.string()), - createdAt: types.number(), - createdBy: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accentColor: types.optional(types.string()), + appTokens: types.optional(z.lazy(() => AppTokens$inboundSchema)), + backgroundColor: types.optional(types.string()), + clientUrl: z.nullable(types.string()).optional(), + connectionMethod: types.optional(types.string()), + createdAt: types.number(), + createdBy: types.optional(z.union([ z.lazy(() => One$inboundSchema), z.lazy(() => CreatedBy2$inboundSchema), z.lazy(() => CreatedBy3$inboundSchema), - ]), - ), - creationMode: types.optional(CreationMode$inboundSchema), - defaultInstallationId: types.optional(types.string()), - devsite: types.optional(types.string()), - displayName: types.string(), - docsite: types.optional(types.string()), - events: types.optional(z.array(types.string())), - hasMcpEventDeliveries: types.optional(types.boolean()), - icon: types.optional(types.string()), - id: types.string(), - knownStale: types.optional(types.boolean()), - managed: types.optional(z.lazy(() => Managed$inboundSchema)), - mcpEventsUiVisibility: types.optional(McpEventsUiVisibility$inboundSchema), - name: types.string(), - redirectUri: types.optional(types.string()), - reinstallAt: types.optional(types.number()), - service: types.string(), - serviceIcon: types.optional(types.string()), - supportedSubjectTypes: z.array(types.string()), - supportsIcon: SupportsIcon$inboundSchema, - supportsInstallation: types.boolean(), - supportsManagedEjection: types.optional(types.boolean()), - supportsRevocation: types.boolean(), - supportsTriggers: types.boolean(), - target: types.optional(types.string()), - triggerDestinations: types.optional( - z.array(ConnectTriggerDestination$inboundSchema), - ), - triggers: types.optional(ConnectTriggerConfiguration$inboundSchema), - type: ConnectConnectorType$inboundSchema, - typeIcon: types.optional(types.string()), - typeName: types.string(), - uid: types.string(), - updatedAt: types.number(), - updatedBy: types.optional( - z.union([ + ])), + creationMode: types.optional(CreationMode$inboundSchema), + defaultInstallationId: types.optional(types.string()), + devsite: types.optional(types.string()), + displayName: types.string(), + docsite: types.optional(types.string()), + events: types.optional(z.array(types.string())), + hasMcpEventDeliveries: types.optional(types.boolean()), + icon: types.optional(types.string()), + id: types.string(), + knownStale: types.optional(types.boolean()), + managed: types.optional(z.lazy(() => + Managed$inboundSchema + )), + mcpEventsUiVisibility: types.optional(McpEventsUiVisibility$inboundSchema), + name: types.string(), + redirectUri: types.optional(types.string()), + reinstallAt: types.optional(types.number()), + service: types.string(), + serviceIcon: types.optional(types.string()), + supportedSubjectTypes: z.array(types.string()), + supportsIcon: SupportsIcon$inboundSchema, + supportsInstallation: types.boolean(), + supportsManagedEjection: types.optional(types.boolean()), + supportsRevocation: types.boolean(), + supportsTriggers: types.boolean(), + target: types.optional(types.string()), + triggerDestinations: types.optional( + z.array(ConnectTriggerDestination$inboundSchema), + ), + triggers: types.optional(ConnectTriggerConfiguration$inboundSchema), + type: ConnectConnectorType$inboundSchema, + typeIcon: types.optional(types.string()), + typeName: types.string(), + uid: types.string(), + updatedAt: types.number(), + updatedBy: types.optional(z.union([ z.lazy(() => UpdatedBy1$inboundSchema), z.lazy(() => UpdatedBy2$inboundSchema), z.lazy(() => UpdatedBy3$inboundSchema), - ]), - ), - userTokens: types.optional(z.lazy(() => UserTokens$inboundSchema)), - website: types.optional(types.string()), -}); + ])), + userTokens: types.optional(z.lazy(() => + UserTokens$inboundSchema + )), + website: types.optional(types.string()), + }) +); export function connectConnectorFromJSON( jsonString: string, diff --git a/src/models/connectconnectorlist.ts b/src/models/connectconnectorlist.ts index 23082c8dfd..6fd14430f6 100644 --- a/src/models/connectconnectorlist.ts +++ b/src/models/connectconnectorlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ConnectConnector, @@ -34,10 +34,12 @@ export const ConnectConnectorList$inboundSchema: z.ZodType< ConnectConnectorList, z.ZodTypeDef, unknown -> = z.object({ - connectors: z.array(ConnectConnector$inboundSchema), - pagination: ConnectPagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectors: z.array(ConnectConnector$inboundSchema), + pagination: ConnectPagination$inboundSchema, + }) +); export function connectConnectorListFromJSON( jsonString: string, diff --git a/src/models/connectconnectorprojectconnectionlist.ts b/src/models/connectconnectorprojectconnectionlist.ts index 9ea358db68..ecfcc1216e 100644 --- a/src/models/connectconnectorprojectconnectionlist.ts +++ b/src/models/connectconnectorprojectconnectionlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ConnectPagination, @@ -34,10 +34,12 @@ export const ConnectConnectorProjectConnectionList$inboundSchema: z.ZodType< ConnectConnectorProjectConnectionList, z.ZodTypeDef, unknown -> = z.object({ - pagination: ConnectPagination$inboundSchema, - projects: z.array(ConnectProjectConnection$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: ConnectPagination$inboundSchema, + projects: z.array(ConnectProjectConnection$inboundSchema), + }) +); export function connectConnectorProjectConnectionListFromJSON( jsonString: string, diff --git a/src/models/connectconnectorupdatedata.ts b/src/models/connectconnectorupdatedata.ts index 2cb1b0b8ba..193730ee32 100644 --- a/src/models/connectconnectorupdatedata.ts +++ b/src/models/connectconnectorupdatedata.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -929,11 +930,13 @@ export const TypePhoton$outboundSchema: z.ZodType< TypePhoton$Outbound, z.ZodTypeDef, TypePhoton -> = z.object({ - projectSecret: z.string().optional(), - webhookSecret: z.string().optional(), - repairWebhook: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectSecret: z.string().optional(), + webhookSecret: z.string().optional(), + repairWebhook: z.boolean().optional(), + }) +); export function typePhotonToJSON(typePhoton: TypePhoton): string { return JSON.stringify(TypePhoton$outboundSchema.parse(typePhoton)); @@ -951,11 +954,13 @@ export const TypeSendblue$outboundSchema: z.ZodType< TypeSendblue$Outbound, z.ZodTypeDef, TypeSendblue -> = z.object({ - apiKeyId: z.string().optional(), - apiSecretKey: z.string().optional(), - phoneNumbers: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKeyId: z.string().optional(), + apiSecretKey: z.string().optional(), + phoneNumbers: z.array(z.string()).optional(), + }) +); export function typeSendblueToJSON(typeSendblue: TypeSendblue): string { return JSON.stringify(TypeSendblue$outboundSchema.parse(typeSendblue)); @@ -972,10 +977,12 @@ export const TypeLinq$outboundSchema: z.ZodType< TypeLinq$Outbound, z.ZodTypeDef, TypeLinq -> = z.object({ - apiToken: z.string().optional(), - phoneNumbers: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiToken: z.string().optional(), + phoneNumbers: z.array(z.string()).optional(), + }) +); export function typeLinqToJSON(typeLinq: TypeLinq): string { return JSON.stringify(TypeLinq$outboundSchema.parse(typeLinq)); @@ -991,9 +998,11 @@ export const TypeSnowflakeWif$outboundSchema: z.ZodType< TypeSnowflakeWif$Outbound, z.ZodTypeDef, TypeSnowflakeWif -> = z.object({ - accountIdentifier: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountIdentifier: z.string().optional(), + }) +); export function typeSnowflakeWifToJSON( typeSnowflakeWif: TypeSnowflakeWif, @@ -1014,10 +1023,12 @@ export const TypeSnowflake$outboundSchema: z.ZodType< TypeSnowflake$Outbound, z.ZodTypeDef, TypeSnowflake -> = z.object({ - accountIdentifier: z.string().optional(), - defaultSessionRole: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountIdentifier: z.string().optional(), + defaultSessionRole: z.string().optional(), + }) +); export function typeSnowflakeToJSON(typeSnowflake: TypeSnowflake): string { return JSON.stringify(TypeSnowflake$outboundSchema.parse(typeSnowflake)); @@ -1035,11 +1046,13 @@ export const SlackTeam$outboundSchema: z.ZodType< SlackTeam$Outbound, z.ZodTypeDef, SlackTeam -> = z.object({ - id: z.string(), - name: z.string().optional(), - domain: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + name: z.string().optional(), + domain: z.string().optional(), + }) +); export function slackTeamToJSON(slackTeam: SlackTeam): string { return JSON.stringify(SlackTeam$outboundSchema.parse(slackTeam)); @@ -1058,12 +1071,14 @@ export const SlashCommands$outboundSchema: z.ZodType< SlashCommands$Outbound, z.ZodTypeDef, SlashCommands -> = z.object({ - command: z.string(), - description: z.string(), - usageHint: z.string().optional(), - shouldEscape: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + command: z.string(), + description: z.string(), + usageHint: z.string().optional(), + shouldEscape: z.boolean().optional(), + }) +); export function slashCommandsToJSON(slashCommands: SlashCommands): string { return JSON.stringify(SlashCommands$outboundSchema.parse(slashCommands)); @@ -1072,7 +1087,9 @@ export function slashCommandsToJSON(slashCommands: SlashCommands): string { /** @internal */ export const ConnectConnectorUpdateData6Type$outboundSchema: z.ZodNativeEnum< typeof ConnectConnectorUpdateData6Type -> = z.nativeEnum(ConnectConnectorUpdateData6Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ConnectConnectorUpdateData6Type) +); /** @internal */ export type Shortcuts$Outbound = { @@ -1087,12 +1104,14 @@ export const Shortcuts$outboundSchema: z.ZodType< Shortcuts$Outbound, z.ZodTypeDef, Shortcuts -> = z.object({ - type: ConnectConnectorUpdateData6Type$outboundSchema, - name: z.string(), - callbackId: z.string(), - description: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: ConnectConnectorUpdateData6Type$outboundSchema, + name: z.string(), + callbackId: z.string(), + description: z.string(), + }) +); export function shortcutsToJSON(shortcuts: Shortcuts): string { return JSON.stringify(Shortcuts$outboundSchema.parse(shortcuts)); @@ -1110,11 +1129,13 @@ export const AppHome$outboundSchema: z.ZodType< AppHome$Outbound, z.ZodTypeDef, AppHome -> = z.object({ - homeTabEnabled: z.boolean().optional(), - messagesTabEnabled: z.boolean().optional(), - messagesTabReadOnlyEnabled: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + homeTabEnabled: z.boolean().optional(), + messagesTabEnabled: z.boolean().optional(), + messagesTabReadOnlyEnabled: z.boolean().optional(), + }) +); export function appHomeToJSON(appHome: AppHome): string { return JSON.stringify(AppHome$outboundSchema.parse(appHome)); @@ -1131,10 +1152,12 @@ export const RichPreviews$outboundSchema: z.ZodType< RichPreviews$Outbound, z.ZodTypeDef, RichPreviews -> = z.object({ - isActive: z.boolean().optional(), - entityTypes: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isActive: z.boolean().optional(), + entityTypes: z.array(z.string()).optional(), + }) +); export function richPreviewsToJSON(richPreviews: RichPreviews): string { return JSON.stringify(RichPreviews$outboundSchema.parse(richPreviews)); @@ -1150,9 +1173,11 @@ export const CodeChannels$outboundSchema: z.ZodType< CodeChannels$Outbound, z.ZodTypeDef, CodeChannels -> = z.object({ - enabled: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean().optional(), + }) +); export function codeChannelsToJSON(codeChannels: CodeChannels): string { return JSON.stringify(CodeChannels$outboundSchema.parse(codeChannels)); @@ -1182,23 +1207,26 @@ export const TypeSlack$outboundSchema: z.ZodType< TypeSlack$Outbound, z.ZodTypeDef, TypeSlack -> = z.object({ - appId: z.string().optional(), - appName: z.string().optional(), - clientId: z.string().optional(), - clientSecret: z.string().optional(), - slackTeam: z.lazy(() => SlackTeam$outboundSchema).optional(), - signingSecret: z.string().optional(), - verificationToken: z.string().optional(), - botScopes: z.array(z.string()).optional(), - userScopes: z.array(z.string()).optional(), - slashCommands: z.array(z.lazy(() => SlashCommands$outboundSchema)).optional(), - shortcuts: z.array(z.lazy(() => Shortcuts$outboundSchema)).optional(), - appHome: z.lazy(() => AppHome$outboundSchema).optional(), - richPreviews: z.lazy(() => RichPreviews$outboundSchema).optional(), - codeChannels: z.lazy(() => CodeChannels$outboundSchema).optional(), - extras: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: z.string().optional(), + appName: z.string().optional(), + clientId: z.string().optional(), + clientSecret: z.string().optional(), + slackTeam: z.lazy(() => SlackTeam$outboundSchema).optional(), + signingSecret: z.string().optional(), + verificationToken: z.string().optional(), + botScopes: z.array(z.string()).optional(), + userScopes: z.array(z.string()).optional(), + slashCommands: z.array(z.lazy(() => SlashCommands$outboundSchema)) + .optional(), + shortcuts: z.array(z.lazy(() => Shortcuts$outboundSchema)).optional(), + appHome: z.lazy(() => AppHome$outboundSchema).optional(), + richPreviews: z.lazy(() => RichPreviews$outboundSchema).optional(), + codeChannels: z.lazy(() => CodeChannels$outboundSchema).optional(), + extras: z.record(z.any()).optional(), + }) +); export function typeSlackToJSON(typeSlack: TypeSlack): string { return JSON.stringify(TypeSlack$outboundSchema.parse(typeSlack)); @@ -1216,11 +1244,13 @@ export const TypeSalesforce$outboundSchema: z.ZodType< TypeSalesforce$Outbound, z.ZodTypeDef, TypeSalesforce -> = z.object({ - consumerKey: z.string().optional(), - consumerSecret: z.string().optional(), - loginHost: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumerKey: z.string().optional(), + consumerSecret: z.string().optional(), + loginHost: z.string().optional(), + }) +); export function typeSalesforceToJSON(typeSalesforce: TypeSalesforce): string { return JSON.stringify(TypeSalesforce$outboundSchema.parse(typeSalesforce)); @@ -1239,12 +1269,14 @@ export const OwnerOrganization$outboundSchema: z.ZodType< OwnerOrganization$Outbound, z.ZodTypeDef, OwnerOrganization -> = z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), - logoUrl: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + slug: z.string(), + name: z.string(), + logoUrl: z.nullable(z.string()).optional(), + }) +); export function ownerOrganizationToJSON( ownerOrganization: OwnerOrganization, @@ -1277,22 +1309,24 @@ export const Application$outboundSchema: z.ZodType< Application$Outbound, z.ZodTypeDef, Application -> = z.object({ - id: z.string(), - clientId: z.string(), - name: z.string(), - description: z.nullable(z.string()).optional(), - developer: z.nullable(z.string()).optional(), - developerUrl: z.nullable(z.string()).optional(), - imageUrl: z.nullable(z.string()).optional(), - redirectUris: z.array(z.string()).optional(), - distribution: z.nullable(z.string()).optional(), - webhookResourceTypes: z.array(z.string()).optional(), - webhookUrl: z.nullable(z.string()).optional(), - webhookEnabled: z.boolean().optional(), - createdAt: z.string().optional(), - updatedAt: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + clientId: z.string(), + name: z.string(), + description: z.nullable(z.string()).optional(), + developer: z.nullable(z.string()).optional(), + developerUrl: z.nullable(z.string()).optional(), + imageUrl: z.nullable(z.string()).optional(), + redirectUris: z.array(z.string()).optional(), + distribution: z.nullable(z.string()).optional(), + webhookResourceTypes: z.array(z.string()).optional(), + webhookUrl: z.nullable(z.string()).optional(), + webhookEnabled: z.boolean().optional(), + createdAt: z.string().optional(), + updatedAt: z.string().optional(), + }) +); export function applicationToJSON(application: Application): string { return JSON.stringify(Application$outboundSchema.parse(application)); @@ -1317,18 +1351,21 @@ export const TypeLinear$outboundSchema: z.ZodType< TypeLinear$Outbound, z.ZodTypeDef, TypeLinear -> = z.object({ - appId: z.string().optional(), - appName: z.string().optional(), - clientId: z.string().optional(), - clientSecret: z.string().optional(), - webhookSecret: z.string().optional(), - appScopes: z.array(z.string()).optional(), - userScopes: z.array(z.string()).optional(), - ownerOrganization: z.lazy(() => OwnerOrganization$outboundSchema).optional(), - application: z.lazy(() => Application$outboundSchema).optional(), - extras: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: z.string().optional(), + appName: z.string().optional(), + clientId: z.string().optional(), + clientSecret: z.string().optional(), + webhookSecret: z.string().optional(), + appScopes: z.array(z.string()).optional(), + userScopes: z.array(z.string()).optional(), + ownerOrganization: z.lazy(() => OwnerOrganization$outboundSchema) + .optional(), + application: z.lazy(() => Application$outboundSchema).optional(), + extras: z.record(z.any()).optional(), + }) +); export function typeLinearToJSON(typeLinear: TypeLinear): string { return JSON.stringify(TypeLinear$outboundSchema.parse(typeLinear)); @@ -1337,7 +1374,9 @@ export function typeLinearToJSON(typeLinear: TypeLinear): string { /** @internal */ export const ConnectConnectorUpdateDataType$outboundSchema: z.ZodNativeEnum< typeof ConnectConnectorUpdateDataType -> = z.nativeEnum(ConnectConnectorUpdateDataType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ConnectConnectorUpdateDataType) +); /** @internal */ export type Owner$Outbound = { @@ -1352,12 +1391,14 @@ export const Owner$outboundSchema: z.ZodType< Owner$Outbound, z.ZodTypeDef, Owner -> = z.object({ - type: ConnectConnectorUpdateDataType$outboundSchema, - id: z.number().int(), - slug: z.string(), - name: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: ConnectConnectorUpdateDataType$outboundSchema, + id: z.number().int(), + slug: z.string(), + name: z.string().optional(), + }) +); export function ownerToJSON(owner: Owner): string { return JSON.stringify(Owner$outboundSchema.parse(owner)); @@ -1381,17 +1422,19 @@ export const TypeGithub$outboundSchema: z.ZodType< TypeGithub$Outbound, z.ZodTypeDef, TypeGithub -> = z.object({ - appId: z.number().int().optional(), - appSlug: z.string().optional(), - appName: z.string().optional(), - clientId: z.string().optional(), - owner: z.lazy(() => Owner$outboundSchema).optional(), - clientSecret: z.string().optional(), - privateKeyPem: z.string().optional(), - webhookSecret: z.string().optional(), - extras: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: z.number().int().optional(), + appSlug: z.string().optional(), + appName: z.string().optional(), + clientId: z.string().optional(), + owner: z.lazy(() => Owner$outboundSchema).optional(), + clientSecret: z.string().optional(), + privateKeyPem: z.string().optional(), + webhookSecret: z.string().optional(), + extras: z.record(z.any()).optional(), + }) +); export function typeGithubToJSON(typeGithub: TypeGithub): string { return JSON.stringify(TypeGithub$outboundSchema.parse(typeGithub)); @@ -1409,11 +1452,13 @@ export const ToAdd$outboundSchema: z.ZodType< ToAdd$Outbound, z.ZodTypeDef, ToAdd -> = z.object({ - value: z.string(), - scope: z.string().optional(), - expiresAt: z.number().int().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.string(), + scope: z.string().optional(), + expiresAt: z.number().int().optional(), + }) +); export function toAddToJSON(toAdd: ToAdd): string { return JSON.stringify(ToAdd$outboundSchema.parse(toAdd)); @@ -1427,7 +1472,9 @@ export const ExpiresAt$outboundSchema: z.ZodType< ExpiresAt$Outbound, z.ZodTypeDef, ExpiresAt -> = smartUnion([z.number().int(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.number().int(), z.string()]) +); export function expiresAtToJSON(expiresAt: ExpiresAt): string { return JSON.stringify(ExpiresAt$outboundSchema.parse(expiresAt)); @@ -1446,12 +1493,14 @@ export const ToUpdate$outboundSchema: z.ZodType< ToUpdate$Outbound, z.ZodTypeDef, ToUpdate -> = z.object({ - id: z.string(), - value: z.string().optional(), - scope: z.string().optional(), - expiresAt: smartUnion([z.number().int(), z.string()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + value: z.string().optional(), + scope: z.string().optional(), + expiresAt: smartUnion([z.number().int(), z.string()]).optional(), + }) +); export function toUpdateToJSON(toUpdate: ToUpdate): string { return JSON.stringify(ToUpdate$outboundSchema.parse(toUpdate)); @@ -1470,21 +1519,22 @@ export const TypeApiKey$outboundSchema: z.ZodType< TypeApiKey$Outbound, z.ZodTypeDef, TypeApiKey -> = z.object({ - toDelete: z.array(z.string()).optional(), - toAdd: z.array(z.lazy(() => ToAdd$outboundSchema)).optional(), - toUpdate: z.array(z.lazy(() => ToUpdate$outboundSchema)).optional(), - instructions: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + toDelete: z.array(z.string()).optional(), + toAdd: z.array(z.lazy(() => ToAdd$outboundSchema)).optional(), + toUpdate: z.array(z.lazy(() => ToUpdate$outboundSchema)).optional(), + instructions: z.string().optional(), + }) +); export function typeApiKeyToJSON(typeApiKey: TypeApiKey): string { return JSON.stringify(TypeApiKey$outboundSchema.parse(typeApiKey)); } /** @internal */ -export const Use$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Use, -); +export const Use$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Use)); /** @internal */ export type Keys$Outbound = { @@ -1498,22 +1548,24 @@ export type Keys$Outbound = { /** @internal */ export const Keys$outboundSchema: z.ZodType = - z.object({ - kty: z.string(), - kid: z.string().optional(), - use: Use$outboundSchema.optional(), - keyOps: z.array(z.string()).optional(), - alg: z.string().optional(), - additionalProperties: z.record(z.any()).optional(), - }).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - keyOps: "key_ops", - additionalProperties: null, - }), - }; - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kty: z.string(), + kid: z.string().optional(), + use: Use$outboundSchema.optional(), + keyOps: z.array(z.string()).optional(), + alg: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + keyOps: "key_ops", + additionalProperties: null, + }), + }; + }) + ); export function keysToJSON(keys: Keys): string { return JSON.stringify(Keys$outboundSchema.parse(keys)); @@ -1527,17 +1579,19 @@ export type Jwks$Outbound = { /** @internal */ export const Jwks$outboundSchema: z.ZodType = - z.object({ - keys: z.array(z.lazy(() => Keys$outboundSchema)), - additionalProperties: z.record(z.any()).optional(), - }).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + keys: z.array(z.lazy(() => Keys$outboundSchema)), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) + ); export function jwksToJSON(jwks: Jwks): string { return JSON.stringify(Jwks$outboundSchema.parse(jwks)); @@ -1590,96 +1644,100 @@ export const ServerConfig$outboundSchema: z.ZodType< ServerConfig$Outbound, z.ZodTypeDef, ServerConfig -> = z.object({ - issuer: z.string().optional(), - authorizationEndpoint: z.string().optional(), - tokenEndpoint: z.string().optional(), - userinfoEndpoint: z.string().optional(), - jwksUri: z.string().optional(), - jwks: z.lazy(() => Jwks$outboundSchema).optional(), - revocationEndpoint: z.string().optional(), - introspectionEndpoint: z.string().optional(), - endSessionEndpoint: z.string().optional(), - deviceAuthorizationEndpoint: z.string().optional(), - registrationEndpoint: z.string().optional(), - responseTypesSupported: z.array(z.string()).optional(), - tokenEndpointAuthMethodsSupported: z.array(z.string()).optional(), - tokenEndpointAuthSigningAlgValuesSupported: z.array(z.string()).optional(), - scopesSupported: z.array(z.string()).optional(), - grantTypesSupported: z.array(z.string()).optional(), - authorizationGrantProfilesSupported: z.array(z.string()).optional(), - identityChainingRequestedTokenTypesSupported: z.array(z.string()).optional(), - responseModesSupported: z.array(z.string()).optional(), - subjectTypesSupported: z.array(z.string()).optional(), - idTokenSigningAlgValuesSupported: z.array(z.string()).optional(), - idTokenEncryptionAlgValuesSupported: z.array(z.string()).optional(), - idTokenEncryptionEncValuesSupported: z.array(z.string()).optional(), - claimTypesSupported: z.array(z.string()).optional(), - claimsSupported: z.array(z.string()).optional(), - codeChallengeMethodsSupported: z.array(z.string()).optional(), - promptValuesSupported: z.array(z.string()).optional(), - claimsParameterSupported: z.boolean().optional(), - requestParameterSupported: z.boolean().optional(), - requestUriParameterSupported: z.boolean().optional(), - requireRequestUriRegistration: z.boolean().optional(), - serviceDocumentation: z.string().optional(), - opPolicyUri: z.string().optional(), - opTosUri: z.string().optional(), - logoUri: z.string().optional(), - clientIdMetadataDocumentSupported: z.boolean().optional(), - authorizationDetailsTypesSupported: z.array(z.string()).optional(), - additionalProperties: z.record(z.any()).optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - authorizationEndpoint: "authorization_endpoint", - tokenEndpoint: "token_endpoint", - userinfoEndpoint: "userinfo_endpoint", - jwksUri: "jwks_uri", - revocationEndpoint: "revocation_endpoint", - introspectionEndpoint: "introspection_endpoint", - endSessionEndpoint: "end_session_endpoint", - deviceAuthorizationEndpoint: "device_authorization_endpoint", - registrationEndpoint: "registration_endpoint", - responseTypesSupported: "response_types_supported", - tokenEndpointAuthMethodsSupported: - "token_endpoint_auth_methods_supported", - tokenEndpointAuthSigningAlgValuesSupported: - "token_endpoint_auth_signing_alg_values_supported", - scopesSupported: "scopes_supported", - grantTypesSupported: "grant_types_supported", - authorizationGrantProfilesSupported: - "authorization_grant_profiles_supported", - identityChainingRequestedTokenTypesSupported: - "identity_chaining_requested_token_types_supported", - responseModesSupported: "response_modes_supported", - subjectTypesSupported: "subject_types_supported", - idTokenSigningAlgValuesSupported: "id_token_signing_alg_values_supported", - idTokenEncryptionAlgValuesSupported: - "id_token_encryption_alg_values_supported", - idTokenEncryptionEncValuesSupported: - "id_token_encryption_enc_values_supported", - claimTypesSupported: "claim_types_supported", - claimsSupported: "claims_supported", - codeChallengeMethodsSupported: "code_challenge_methods_supported", - promptValuesSupported: "prompt_values_supported", - claimsParameterSupported: "claims_parameter_supported", - requestParameterSupported: "request_parameter_supported", - requestUriParameterSupported: "request_uri_parameter_supported", - requireRequestUriRegistration: "require_request_uri_registration", - serviceDocumentation: "service_documentation", - opPolicyUri: "op_policy_uri", - opTosUri: "op_tos_uri", - logoUri: "logo_uri", - clientIdMetadataDocumentSupported: - "client_id_metadata_document_supported", - authorizationDetailsTypesSupported: - "authorization_details_types_supported", - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuer: z.string().optional(), + authorizationEndpoint: z.string().optional(), + tokenEndpoint: z.string().optional(), + userinfoEndpoint: z.string().optional(), + jwksUri: z.string().optional(), + jwks: z.lazy(() => Jwks$outboundSchema).optional(), + revocationEndpoint: z.string().optional(), + introspectionEndpoint: z.string().optional(), + endSessionEndpoint: z.string().optional(), + deviceAuthorizationEndpoint: z.string().optional(), + registrationEndpoint: z.string().optional(), + responseTypesSupported: z.array(z.string()).optional(), + tokenEndpointAuthMethodsSupported: z.array(z.string()).optional(), + tokenEndpointAuthSigningAlgValuesSupported: z.array(z.string()).optional(), + scopesSupported: z.array(z.string()).optional(), + grantTypesSupported: z.array(z.string()).optional(), + authorizationGrantProfilesSupported: z.array(z.string()).optional(), + identityChainingRequestedTokenTypesSupported: z.array(z.string()) + .optional(), + responseModesSupported: z.array(z.string()).optional(), + subjectTypesSupported: z.array(z.string()).optional(), + idTokenSigningAlgValuesSupported: z.array(z.string()).optional(), + idTokenEncryptionAlgValuesSupported: z.array(z.string()).optional(), + idTokenEncryptionEncValuesSupported: z.array(z.string()).optional(), + claimTypesSupported: z.array(z.string()).optional(), + claimsSupported: z.array(z.string()).optional(), + codeChallengeMethodsSupported: z.array(z.string()).optional(), + promptValuesSupported: z.array(z.string()).optional(), + claimsParameterSupported: z.boolean().optional(), + requestParameterSupported: z.boolean().optional(), + requestUriParameterSupported: z.boolean().optional(), + requireRequestUriRegistration: z.boolean().optional(), + serviceDocumentation: z.string().optional(), + opPolicyUri: z.string().optional(), + opTosUri: z.string().optional(), + logoUri: z.string().optional(), + clientIdMetadataDocumentSupported: z.boolean().optional(), + authorizationDetailsTypesSupported: z.array(z.string()).optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + authorizationEndpoint: "authorization_endpoint", + tokenEndpoint: "token_endpoint", + userinfoEndpoint: "userinfo_endpoint", + jwksUri: "jwks_uri", + revocationEndpoint: "revocation_endpoint", + introspectionEndpoint: "introspection_endpoint", + endSessionEndpoint: "end_session_endpoint", + deviceAuthorizationEndpoint: "device_authorization_endpoint", + registrationEndpoint: "registration_endpoint", + responseTypesSupported: "response_types_supported", + tokenEndpointAuthMethodsSupported: + "token_endpoint_auth_methods_supported", + tokenEndpointAuthSigningAlgValuesSupported: + "token_endpoint_auth_signing_alg_values_supported", + scopesSupported: "scopes_supported", + grantTypesSupported: "grant_types_supported", + authorizationGrantProfilesSupported: + "authorization_grant_profiles_supported", + identityChainingRequestedTokenTypesSupported: + "identity_chaining_requested_token_types_supported", + responseModesSupported: "response_modes_supported", + subjectTypesSupported: "subject_types_supported", + idTokenSigningAlgValuesSupported: + "id_token_signing_alg_values_supported", + idTokenEncryptionAlgValuesSupported: + "id_token_encryption_alg_values_supported", + idTokenEncryptionEncValuesSupported: + "id_token_encryption_enc_values_supported", + claimTypesSupported: "claim_types_supported", + claimsSupported: "claims_supported", + codeChallengeMethodsSupported: "code_challenge_methods_supported", + promptValuesSupported: "prompt_values_supported", + claimsParameterSupported: "claims_parameter_supported", + requestParameterSupported: "request_parameter_supported", + requestUriParameterSupported: "request_uri_parameter_supported", + requireRequestUriRegistration: "require_request_uri_registration", + serviceDocumentation: "service_documentation", + opPolicyUri: "op_policy_uri", + opTosUri: "op_tos_uri", + logoUri: "logo_uri", + clientIdMetadataDocumentSupported: + "client_id_metadata_document_supported", + authorizationDetailsTypesSupported: + "authorization_details_types_supported", + additionalProperties: null, + }), + }; + }) +); export function serverConfigToJSON(serverConfig: ServerConfig): string { return JSON.stringify(ServerConfig$outboundSchema.parse(serverConfig)); @@ -1696,10 +1754,12 @@ export const UserAuthorization$outboundSchema: z.ZodType< UserAuthorization$Outbound, z.ZodTypeDef, UserAuthorization -> = z.object({ - enabled: z.boolean(), - scopes: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + scopes: z.array(z.string()).optional(), + }) +); export function userAuthorizationToJSON( userAuthorization: UserAuthorization, @@ -1719,9 +1779,11 @@ export const RefreshTokens$outboundSchema: z.ZodType< RefreshTokens$Outbound, z.ZodTypeDef, RefreshTokens -> = z.object({ - enabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) +); export function refreshTokensToJSON(refreshTokens: RefreshTokens): string { return JSON.stringify(RefreshTokens$outboundSchema.parse(refreshTokens)); @@ -1738,10 +1800,12 @@ export const ClientCredentials$outboundSchema: z.ZodType< ClientCredentials$Outbound, z.ZodTypeDef, ClientCredentials -> = z.object({ - enabled: z.boolean(), - scopes: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + scopes: z.array(z.string()).optional(), + }) +); export function clientCredentialsToJSON( clientCredentials: ClientCredentials, @@ -1761,9 +1825,11 @@ export const ForwardedClaims$outboundSchema: z.ZodType< ForwardedClaims$Outbound, z.ZodTypeDef, ForwardedClaims -> = z.object({ - idToken: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idToken: z.array(z.string()).optional(), + }) +); export function forwardedClaimsToJSON( forwardedClaims: ForwardedClaims, @@ -1788,16 +1854,18 @@ export const JwtBearer$outboundSchema: z.ZodType< JwtBearer$Outbound, z.ZodTypeDef, JwtBearer -> = z.object({ - enabled: z.boolean().optional(), - scopes: z.array(z.string()).optional(), - sub: z.string().optional(), - iss: z.string().optional(), - aud: z.string().optional(), - additionalClaims: z.record(z.any()).optional(), - ttl: z.number().optional(), - useClientCredentials: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean().optional(), + scopes: z.array(z.string()).optional(), + sub: z.string().optional(), + iss: z.string().optional(), + aud: z.string().optional(), + additionalClaims: z.record(z.any()).optional(), + ttl: z.number().optional(), + useClientCredentials: z.boolean().optional(), + }) +); export function jwtBearerToJSON(jwtBearer: JwtBearer): string { return JSON.stringify(JwtBearer$outboundSchema.parse(jwtBearer)); @@ -1815,11 +1883,13 @@ export const ClientAssertion$outboundSchema: z.ZodType< ClientAssertion$Outbound, z.ZodTypeDef, ClientAssertion -> = z.object({ - type: z.string().optional(), - ttl: z.number().optional(), - claims: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string().optional(), + ttl: z.number().optional(), + claims: z.record(z.any()).optional(), + }) +); export function clientAssertionToJSON( clientAssertion: ClientAssertion, @@ -1855,27 +1925,31 @@ export const TypeOauth$outboundSchema: z.ZodType< TypeOauth$Outbound, z.ZodTypeDef, TypeOauth -> = z.object({ - serverUrl: z.string().optional(), - serverConfig: z.lazy(() => ServerConfig$outboundSchema).optional(), - clientId: z.string().optional(), - clientName: z.string().optional(), - clientSecret: z.string().optional(), - tokenEndpointAuthMethod: z.string().optional(), - responseType: z.string().optional(), - pkceRequired: z.boolean().optional(), - codeChallengeMethod: z.string().optional(), - userAuthorization: z.lazy(() => UserAuthorization$outboundSchema).optional(), - refreshTokens: z.lazy(() => RefreshTokens$outboundSchema).optional(), - clientCredentials: z.lazy(() => ClientCredentials$outboundSchema).optional(), - forwardedClaims: z.lazy(() => ForwardedClaims$outboundSchema).optional(), - defaultAudience: z.string().optional(), - defaultResource: z.string().optional(), - defaultTokenExpiresIn: z.number().optional(), - authorizationUrlParams: z.record(z.string()).optional(), - jwtBearer: z.lazy(() => JwtBearer$outboundSchema).optional(), - clientAssertion: z.lazy(() => ClientAssertion$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + serverUrl: z.string().optional(), + serverConfig: z.lazy(() => ServerConfig$outboundSchema).optional(), + clientId: z.string().optional(), + clientName: z.string().optional(), + clientSecret: z.string().optional(), + tokenEndpointAuthMethod: z.string().optional(), + responseType: z.string().optional(), + pkceRequired: z.boolean().optional(), + codeChallengeMethod: z.string().optional(), + userAuthorization: z.lazy(() => UserAuthorization$outboundSchema) + .optional(), + refreshTokens: z.lazy(() => RefreshTokens$outboundSchema).optional(), + clientCredentials: z.lazy(() => ClientCredentials$outboundSchema) + .optional(), + forwardedClaims: z.lazy(() => ForwardedClaims$outboundSchema).optional(), + defaultAudience: z.string().optional(), + defaultResource: z.string().optional(), + defaultTokenExpiresIn: z.number().optional(), + authorizationUrlParams: z.record(z.string()).optional(), + jwtBearer: z.lazy(() => JwtBearer$outboundSchema).optional(), + clientAssertion: z.lazy(() => ClientAssertion$outboundSchema).optional(), + }) +); export function typeOauthToJSON(typeOauth: TypeOauth): string { return JSON.stringify(TypeOauth$outboundSchema.parse(typeOauth)); @@ -1901,20 +1975,22 @@ export const ConnectConnectorUpdateData$outboundSchema: z.ZodType< ConnectConnectorUpdateData$Outbound, z.ZodTypeDef, ConnectConnectorUpdateData -> = smartUnion([ - z.lazy(() => TypeOauth$outboundSchema), - z.lazy(() => TypeApiKey$outboundSchema), - z.lazy(() => TypeGithub$outboundSchema), - z.lazy(() => TypeLinear$outboundSchema), - z.lazy(() => TypeSalesforce$outboundSchema), - z.lazy(() => TypeSlack$outboundSchema), - z.lazy(() => TypeSnowflake$outboundSchema), - z.lazy(() => TypeSnowflakeWif$outboundSchema), - z.lazy(() => TypeLinq$outboundSchema), - z.lazy(() => TypeSendblue$outboundSchema), - z.lazy(() => TypePhoton$outboundSchema), - z.record(z.any()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => TypeOauth$outboundSchema), + z.lazy(() => TypeApiKey$outboundSchema), + z.lazy(() => TypeGithub$outboundSchema), + z.lazy(() => TypeLinear$outboundSchema), + z.lazy(() => TypeSalesforce$outboundSchema), + z.lazy(() => TypeSlack$outboundSchema), + z.lazy(() => TypeSnowflake$outboundSchema), + z.lazy(() => TypeSnowflakeWif$outboundSchema), + z.lazy(() => TypeLinq$outboundSchema), + z.lazy(() => TypeSendblue$outboundSchema), + z.lazy(() => TypePhoton$outboundSchema), + z.record(z.any()), + ]) +); export function connectConnectorUpdateDataToJSON( connectConnectorUpdateData: ConnectConnectorUpdateData, diff --git a/src/models/connectconnectorupdateresult.ts b/src/models/connectconnectorupdateresult.ts index dfbaa78aa0..0b377ae958 100644 --- a/src/models/connectconnectorupdateresult.ts +++ b/src/models/connectconnectorupdateresult.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -51,13 +51,15 @@ export const ConnectConnectorUpdateResult$inboundSchema: z.ZodType< ConnectConnectorUpdateResult, z.ZodTypeDef, unknown -> = z.object({ - connector: ConnectConnector$inboundSchema, - reconsentNeeded: types.optional(ConnectReconsent$inboundSchema), - reinstallNeeded: types.optional(types.boolean()), - serviceSync: types.optional(ConnectServiceSync$inboundSchema), - uninstallNeeded: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: ConnectConnector$inboundSchema, + reconsentNeeded: types.optional(ConnectReconsent$inboundSchema), + reinstallNeeded: types.optional(types.boolean()), + serviceSync: types.optional(ConnectServiceSync$inboundSchema), + uninstallNeeded: types.optional(types.boolean()), + }) +); export function connectConnectorUpdateResultFromJSON( jsonString: string, diff --git a/src/models/connecterror.ts b/src/models/connecterror.ts index b213ee4266..6070b4b594 100644 --- a/src/models/connecterror.ts +++ b/src/models/connecterror.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -65,13 +66,15 @@ export class ConnectError extends VercelError { /** @internal */ export const ErrorT$inboundSchema: z.ZodType = - collectExtraKeys$( - z.object({ - code: types.string(), - message: types.string(), - }).catchall(z.any()), - "additionalProperties", - true, + /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + code: types.string(), + message: types.string(), + }).catchall(z.any()), + "additionalProperties", + true, + ) ); export function errorFromJSON( @@ -89,16 +92,18 @@ export const ConnectError$inboundSchema: z.ZodType< ConnectError, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => ErrorT$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ConnectError(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ErrorT$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ConnectError(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/connectintegrationresourcetoprojectop.ts b/src/models/connectintegrationresourcetoprojectop.ts index a209b4d657..b76fcc7f2c 100644 --- a/src/models/connectintegrationresourcetoprojectop.ts +++ b/src/models/connectintegrationresourcetoprojectop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -39,7 +40,7 @@ export type ConnectIntegrationResourceToProjectRequest = { /** @internal */ export const EnvVarEnvironments$outboundSchema: z.ZodNativeEnum< typeof EnvVarEnvironments -> = z.nativeEnum(EnvVarEnvironments); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnvVarEnvironments)); /** @internal */ export type EnvVarEnvironmentsTarget$Outbound = string | string; @@ -49,7 +50,9 @@ export const EnvVarEnvironmentsTarget$outboundSchema: z.ZodType< EnvVarEnvironmentsTarget$Outbound, z.ZodTypeDef, EnvVarEnvironmentsTarget -> = smartUnion([EnvVarEnvironments$outboundSchema, z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([EnvVarEnvironments$outboundSchema, z.string()]) +); export function envVarEnvironmentsTargetToJSON( envVarEnvironmentsTarget: EnvVarEnvironmentsTarget, @@ -72,13 +75,15 @@ export const ConnectIntegrationResourceToProjectRequestBody$outboundSchema: ConnectIntegrationResourceToProjectRequestBody$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequestBody - > = z.object({ - projectId: z.string(), - envVarEnvironments: z.array( - smartUnion([EnvVarEnvironments$outboundSchema, z.string()]), - ).optional(), - makeEnvVarsSensitive: z.boolean().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + envVarEnvironments: z.array( + smartUnion([EnvVarEnvironments$outboundSchema, z.string()]), + ).optional(), + makeEnvVarsSensitive: z.boolean().optional(), + }) + ); export function connectIntegrationResourceToProjectRequestBodyToJSON( connectIntegrationResourceToProjectRequestBody: @@ -108,19 +113,21 @@ export const ConnectIntegrationResourceToProjectRequest$outboundSchema: ConnectIntegrationResourceToProjectRequest$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - ConnectIntegrationResourceToProjectRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + ConnectIntegrationResourceToProjectRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function connectIntegrationResourceToProjectRequestToJSON( connectIntegrationResourceToProjectRequest: diff --git a/src/models/connectpagination.ts b/src/models/connectpagination.ts index 64d19c953d..104b238071 100644 --- a/src/models/connectpagination.ts +++ b/src/models/connectpagination.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -23,9 +23,11 @@ export const ConnectPagination$inboundSchema: z.ZodType< ConnectPagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function connectPaginationFromJSON( jsonString: string, diff --git a/src/models/connectprojectconnection.ts b/src/models/connectprojectconnection.ts index 02ac1505b2..91b5167144 100644 --- a/src/models/connectprojectconnection.ts +++ b/src/models/connectprojectconnection.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -80,14 +80,16 @@ export type ConnectProjectConnection = { /** @internal */ export const EnabledEnvironments2$inboundSchema: z.ZodNativeEnum< typeof EnabledEnvironments2 -> = z.nativeEnum(EnabledEnvironments2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnabledEnvironments2)); /** @internal */ export const EnabledEnvironments$inboundSchema: z.ZodType< EnabledEnvironments, z.ZodTypeDef, unknown -> = smartUnion([types.string(), EnabledEnvironments2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), EnabledEnvironments2$inboundSchema]) +); export function enabledEnvironmentsFromJSON( jsonString: string, @@ -104,10 +106,12 @@ export const CustomEnvironments$inboundSchema: z.ZodType< CustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.string(), + }) +); export function customEnvironmentsFromJSON( jsonString: string, @@ -121,13 +125,15 @@ export function customEnvironmentsFromJSON( /** @internal */ export const Project$inboundSchema: z.ZodType = - z.object({ - customEnvironments: types.optional( - z.array(z.lazy(() => CustomEnvironments$inboundSchema)), - ), - id: types.string(), - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironments: types.optional( + z.array(z.lazy(() => CustomEnvironments$inboundSchema)), + ), + id: types.string(), + name: types.string(), + }) + ); export function projectFromJSON( jsonString: string, @@ -144,15 +150,17 @@ export const ConnectProjectConnection$inboundSchema: z.ZodType< ConnectProjectConnection, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - createdAt: types.number(), - enabledEnvironments: z.array( - smartUnion([types.string(), EnabledEnvironments2$inboundSchema]), - ), - project: z.lazy(() => Project$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + createdAt: types.number(), + enabledEnvironments: z.array( + smartUnion([types.string(), EnabledEnvironments2$inboundSchema]), + ), + project: z.lazy(() => Project$inboundSchema), + updatedAt: types.number(), + }) +); export function connectProjectConnectionFromJSON( jsonString: string, diff --git a/src/models/connectprojectconnectorconnectionlist.ts b/src/models/connectprojectconnectorconnectionlist.ts index 7cea4cc24c..3668a415ee 100644 --- a/src/models/connectprojectconnectorconnectionlist.ts +++ b/src/models/connectprojectconnectorconnectionlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ConnectPagination, @@ -34,10 +34,12 @@ export const ConnectProjectConnectorConnectionList$inboundSchema: z.ZodType< ConnectProjectConnectorConnectionList, z.ZodTypeDef, unknown -> = z.object({ - connectors: z.array(ConnectProjectConnection$inboundSchema), - pagination: ConnectPagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectors: z.array(ConnectProjectConnection$inboundSchema), + pagination: ConnectPagination$inboundSchema, + }) +); export function connectProjectConnectorConnectionListFromJSON( jsonString: string, diff --git a/src/models/connectreconsent.ts b/src/models/connectreconsent.ts index b184ab1f9d..a0523d1cca 100644 --- a/src/models/connectreconsent.ts +++ b/src/models/connectreconsent.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -30,18 +30,19 @@ export type ConnectReconsent = { }; /** @internal */ -export const Scope$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Scope, -); +export const Scope$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Scope)); /** @internal */ export const ConnectReconsent$inboundSchema: z.ZodType< ConnectReconsent, z.ZodTypeDef, unknown -> = z.object({ - scope: Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: Scope$inboundSchema, + }) +); export function connectReconsentFromJSON( jsonString: string, diff --git a/src/models/connectreplacetriggerdestinationsrequest.ts b/src/models/connectreplacetriggerdestinationsrequest.ts index eef7da0a0e..ecf2d8cea8 100644 --- a/src/models/connectreplacetriggerdestinationsrequest.ts +++ b/src/models/connectreplacetriggerdestinationsrequest.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ConnectTriggerDestinationInput, ConnectTriggerDestinationInput$Outbound, @@ -29,9 +30,11 @@ export const ConnectReplaceTriggerDestinationsRequest$outboundSchema: z.ZodType< ConnectReplaceTriggerDestinationsRequest$Outbound, z.ZodTypeDef, ConnectReplaceTriggerDestinationsRequest -> = z.object({ - destinations: z.array(ConnectTriggerDestinationInput$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinations: z.array(ConnectTriggerDestinationInput$outboundSchema), + }) +); export function connectReplaceTriggerDestinationsRequestToJSON( connectReplaceTriggerDestinationsRequest: diff --git a/src/models/connectservicesync.ts b/src/models/connectservicesync.ts index 85e285f454..d06f61ba05 100644 --- a/src/models/connectservicesync.ts +++ b/src/models/connectservicesync.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -44,17 +44,19 @@ export type ConnectServiceSync = { /** @internal */ export const ConnectServiceSyncStatus$inboundSchema: z.ZodNativeEnum< typeof ConnectServiceSyncStatus -> = z.nativeEnum(ConnectServiceSyncStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConnectServiceSyncStatus)); /** @internal */ export const ConnectServiceSync$inboundSchema: z.ZodType< ConnectServiceSync, z.ZodTypeDef, unknown -> = z.object({ - errors: types.optional(z.array(ConnectServiceSyncError$inboundSchema)), - status: ConnectServiceSyncStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + errors: types.optional(z.array(ConnectServiceSyncError$inboundSchema)), + status: ConnectServiceSyncStatus$inboundSchema, + }) +); export function connectServiceSyncFromJSON( jsonString: string, diff --git a/src/models/connectservicesyncerror.ts b/src/models/connectservicesyncerror.ts index 059c0cd037..6388336405 100644 --- a/src/models/connectservicesyncerror.ts +++ b/src/models/connectservicesyncerror.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,11 +31,13 @@ export const ConnectServiceSyncError$inboundSchema: z.ZodType< ConnectServiceSyncError, z.ZodTypeDef, unknown -> = z.object({ - fields: types.optional(z.array(types.string())), - message: types.string(), - vendor: types.optional(z.record(z.any())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fields: types.optional(z.array(types.string())), + message: types.string(), + vendor: types.optional(z.record(z.any())), + }) +); export function connectServiceSyncErrorFromJSON( jsonString: string, diff --git a/src/models/connecttriggerconfiguration.ts b/src/models/connecttriggerconfiguration.ts index 5868d9bd0b..3d895be2fd 100644 --- a/src/models/connecttriggerconfiguration.ts +++ b/src/models/connecttriggerconfiguration.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -23,9 +23,11 @@ export const ConnectTriggerConfiguration$inboundSchema: z.ZodType< ConnectTriggerConfiguration, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + }) +); export function connectTriggerConfigurationFromJSON( jsonString: string, diff --git a/src/models/connecttriggerdestination.ts b/src/models/connecttriggerdestination.ts index 07fafda4cf..ddde7d69dc 100644 --- a/src/models/connecttriggerdestination.ts +++ b/src/models/connecttriggerdestination.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,12 +35,14 @@ export const ConnectTriggerDestination$inboundSchema: z.ZodType< ConnectTriggerDestination, z.ZodTypeDef, unknown -> = z.object({ - branch: types.optional(types.string()), - customEnvironmentId: types.optional(types.string()), - path: types.optional(types.string()), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branch: types.optional(types.string()), + customEnvironmentId: types.optional(types.string()), + path: types.optional(types.string()), + projectId: types.string(), + }) +); export function connectTriggerDestinationFromJSON( jsonString: string, diff --git a/src/models/connecttriggerdestinationinput.ts b/src/models/connecttriggerdestinationinput.ts index 15523d241b..d3ebd37447 100644 --- a/src/models/connecttriggerdestinationinput.ts +++ b/src/models/connecttriggerdestinationinput.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { smartUnion } from "../types/smartUnion.js"; export type CustomEnvironment = { @@ -66,11 +67,13 @@ export const CustomEnvironment$outboundSchema: z.ZodType< CustomEnvironment$Outbound, z.ZodTypeDef, CustomEnvironment -> = z.object({ - projectId: z.string(), - customEnvironmentId: z.string(), - path: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + customEnvironmentId: z.string(), + path: z.string().optional(), + }) +); export function customEnvironmentToJSON( customEnvironment: CustomEnvironment, @@ -92,11 +95,13 @@ export const Branch$outboundSchema: z.ZodType< Branch$Outbound, z.ZodTypeDef, Branch -> = z.object({ - projectId: z.string(), - branch: z.string(), - path: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + branch: z.string(), + path: z.string().optional(), + }) +); export function branchToJSON(branch: Branch): string { return JSON.stringify(Branch$outboundSchema.parse(branch)); @@ -113,10 +118,12 @@ export const DefaultDeployment$outboundSchema: z.ZodType< DefaultDeployment$Outbound, z.ZodTypeDef, DefaultDeployment -> = z.object({ - projectId: z.string(), - path: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + path: z.string().optional(), + }) +); export function defaultDeploymentToJSON( defaultDeployment: DefaultDeployment, @@ -137,11 +144,13 @@ export const ConnectTriggerDestinationInput$outboundSchema: z.ZodType< ConnectTriggerDestinationInput$Outbound, z.ZodTypeDef, ConnectTriggerDestinationInput -> = smartUnion([ - z.lazy(() => Branch$outboundSchema), - z.lazy(() => CustomEnvironment$outboundSchema), - z.lazy(() => DefaultDeployment$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Branch$outboundSchema), + z.lazy(() => CustomEnvironment$outboundSchema), + z.lazy(() => DefaultDeployment$outboundSchema), + ]) +); export function connectTriggerDestinationInputToJSON( connectTriggerDestinationInput: ConnectTriggerDestinationInput, diff --git a/src/models/connectupdateconnectorrequest.ts b/src/models/connectupdateconnectorrequest.ts index bd5aa9d011..5743dfa1ec 100644 --- a/src/models/connectupdateconnectorrequest.ts +++ b/src/models/connectupdateconnectorrequest.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { ConnectConnectorUpdateData, @@ -96,7 +97,7 @@ export type ConnectUpdateConnectorRequest = { backgroundColor?: string | undefined; accentColor?: string | undefined; /** - * Full team-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change. + * Full team- or organization-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change. */ uid?: string | undefined; /** @@ -107,8 +108,10 @@ export type ConnectUpdateConnectorRequest = { /** @internal */ export const ConnectUpdateConnectorRequestMcpEventsUiVisibility$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ConnectUpdateConnectorRequestMcpEventsUiVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ConnectUpdateConnectorRequestMcpEventsUiVisibility) + ); /** @internal */ export type ConnectUpdateConnectorRequest$Outbound = { @@ -130,21 +133,23 @@ export const ConnectUpdateConnectorRequest$outboundSchema: z.ZodType< ConnectUpdateConnectorRequest$Outbound, z.ZodTypeDef, ConnectUpdateConnectorRequest -> = z.object({ - triggers: z.boolean().optional(), - triggerVerificationInput: z.record(z.any()).optional(), - triggerRegistrationInput: z.record(z.any()).optional(), - events: z.array(z.string()).optional(), - mcpEventsUiVisibility: - ConnectUpdateConnectorRequestMcpEventsUiVisibility$outboundSchema - .optional(), - data: ConnectConnectorUpdateData$outboundSchema.optional(), - icon: z.string().optional(), - backgroundColor: z.string().optional(), - accentColor: z.string().optional(), - uid: z.string().optional(), - name: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + triggers: z.boolean().optional(), + triggerVerificationInput: z.record(z.any()).optional(), + triggerRegistrationInput: z.record(z.any()).optional(), + events: z.array(z.string()).optional(), + mcpEventsUiVisibility: + ConnectUpdateConnectorRequestMcpEventsUiVisibility$outboundSchema + .optional(), + data: ConnectConnectorUpdateData$outboundSchema.optional(), + icon: z.string().optional(), + backgroundColor: z.string().optional(), + accentColor: z.string().optional(), + uid: z.string().optional(), + name: z.string().optional(), + }) +); export function connectUpdateConnectorRequestToJSON( connectUpdateConnectorRequest: ConnectUpdateConnectorRequest, diff --git a/src/models/connectupsertprojectconnectionrequest.ts b/src/models/connectupsertprojectconnectionrequest.ts index 49745e1e3d..a716be7a8d 100644 --- a/src/models/connectupsertprojectconnectionrequest.ts +++ b/src/models/connectupsertprojectconnectionrequest.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -31,7 +32,7 @@ export type ConnectUpsertProjectConnectionRequest = { /** @internal */ export const Environments1$outboundSchema: z.ZodNativeEnum< typeof Environments1 -> = z.nativeEnum(Environments1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Environments1)); /** @internal */ export type Environments$Outbound = string | string; @@ -41,7 +42,9 @@ export const Environments$outboundSchema: z.ZodType< Environments$Outbound, z.ZodTypeDef, Environments -> = smartUnion([Environments1$outboundSchema, z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([Environments1$outboundSchema, z.string()]) +); export function environmentsToJSON(environments: Environments): string { return JSON.stringify(Environments$outboundSchema.parse(environments)); @@ -57,9 +60,13 @@ export const ConnectUpsertProjectConnectionRequest$outboundSchema: z.ZodType< ConnectUpsertProjectConnectionRequest$Outbound, z.ZodTypeDef, ConnectUpsertProjectConnectionRequest -> = z.object({ - environments: z.array(smartUnion([Environments1$outboundSchema, z.string()])), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array( + smartUnion([Environments1$outboundSchema, z.string()]), + ), + }) +); export function connectUpsertProjectConnectionRequestToJSON( connectUpsertProjectConnectionRequest: ConnectUpsertProjectConnectionRequest, diff --git a/src/models/contactpendingverification.ts b/src/models/contactpendingverification.ts index afa56d9e60..eef02602c6 100644 --- a/src/models/contactpendingverification.ts +++ b/src/models/contactpendingverification.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -25,11 +25,13 @@ export const ContactPendingVerification$inboundSchema: z.ZodType< ContactPendingVerification, z.ZodTypeDef, unknown -> = z.object({ - verified: types.literal(false), - verifyBy: types.string(), - email: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + verified: types.literal(false), + verifyBy: types.string(), + email: types.string(), + }) +); export function contactPendingVerificationFromJSON( jsonString: string, diff --git a/src/models/contactverified.ts b/src/models/contactverified.ts index 47e2411d0b..d9e08e47cb 100644 --- a/src/models/contactverified.ts +++ b/src/models/contactverified.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -20,9 +20,11 @@ export const ContactVerified$inboundSchema: z.ZodType< ContactVerified, z.ZodTypeDef, unknown -> = z.object({ - verified: types.literal(true), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + verified: types.literal(true), + }) +); export function contactVerifiedFromJSON( jsonString: string, diff --git a/src/models/counteventsop.ts b/src/models/counteventsop.ts index c1cd7d81cb..636001eaa3 100644 --- a/src/models/counteventsop.ts +++ b/src/models/counteventsop.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -132,7 +133,7 @@ export const CountEventsQueryParamSince$outboundSchema: z.ZodType< CountEventsQueryParamSince$Outbound, z.ZodTypeDef, CountEventsQueryParamSince -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function countEventsQueryParamSinceToJSON( countEventsQueryParamSince: CountEventsQueryParamSince, @@ -150,7 +151,7 @@ export const CountEventsQueryParamUntil$outboundSchema: z.ZodType< CountEventsQueryParamUntil$Outbound, z.ZodTypeDef, CountEventsQueryParamUntil -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function countEventsQueryParamUntilToJSON( countEventsQueryParamUntil: CountEventsQueryParamUntil, @@ -175,14 +176,16 @@ export const CountEventsRequest$outboundSchema: z.ZodType< CountEventsRequest$Outbound, z.ZodTypeDef, CountEventsRequest -> = z.object({ - projectId: z.string(), - since: smartUnion([z.number(), z.string()]).optional(), - until: smartUnion([z.number(), z.string()]).optional(), - filter: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + since: smartUnion([z.number(), z.string()]).optional(), + until: smartUnion([z.number(), z.string()]).optional(), + filter: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function countEventsRequestToJSON( countEventsRequest: CountEventsRequest, @@ -197,10 +200,12 @@ export const CountEventsData2$inboundSchema: z.ZodType< CountEventsData2, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - visitors: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + visitors: types.number(), + }) +); export function countEventsData2FromJSON( jsonString: string, @@ -217,33 +222,35 @@ export const CountEventsData1$inboundSchema: z.ZodType< CountEventsData1, z.ZodTypeDef, unknown -> = collectExtraKeys$( - z.object({ - browserName: types.string(), - country: types.string(), - deviceType: types.string(), - environment: types.string(), - eventData: types.string(), - eventName: types.string(), - flags: types.string(), - groupId: types.string(), - osName: types.string(), - projectId: types.string(), - projectName: types.string(), - referrerHostname: types.string(), - requestHostname: types.string(), - requestPath: types.string(), - route: types.string(), - userId: types.string(), - utmCampaign: types.string(), - utmContent: types.string(), - utmMedium: types.string(), - utmSource: types.string(), - utmTerm: types.string(), - visitorId: types.string(), - }).catchall(types.number()), - "additionalProperties", - true, +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + browserName: types.string(), + country: types.string(), + deviceType: types.string(), + environment: types.string(), + eventData: types.string(), + eventName: types.string(), + flags: types.string(), + groupId: types.string(), + osName: types.string(), + projectId: types.string(), + projectName: types.string(), + referrerHostname: types.string(), + requestHostname: types.string(), + requestPath: types.string(), + route: types.string(), + userId: types.string(), + utmCampaign: types.string(), + utmContent: types.string(), + utmMedium: types.string(), + utmSource: types.string(), + utmTerm: types.string(), + visitorId: types.string(), + }).catchall(types.number()), + "additionalProperties", + true, + ) ); export function countEventsData1FromJSON( @@ -261,10 +268,12 @@ export const CountEventsData$inboundSchema: z.ZodType< CountEventsData, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CountEventsData1$inboundSchema), - z.lazy(() => CountEventsData2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CountEventsData1$inboundSchema), + z.lazy(() => CountEventsData2$inboundSchema), + ]) +); export function countEventsDataFromJSON( jsonString: string, @@ -281,11 +290,13 @@ export const CountEventsQuery$inboundSchema: z.ZodType< CountEventsQuery, z.ZodTypeDef, unknown -> = z.object({ - filter: types.optional(types.string()), - since: types.string(), - until: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: types.optional(types.string()), + since: types.string(), + until: types.string(), + }) +); export function countEventsQueryFromJSON( jsonString: string, @@ -302,14 +313,16 @@ export const CountEventsResponseBody$inboundSchema: z.ZodType< CountEventsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: smartUnion([ - z.lazy(() => CountEventsData1$inboundSchema), - z.lazy(() => CountEventsData2$inboundSchema), - ]), - query: z.lazy(() => CountEventsQuery$inboundSchema), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: smartUnion([ + z.lazy(() => CountEventsData1$inboundSchema), + z.lazy(() => CountEventsData2$inboundSchema), + ]), + query: z.lazy(() => CountEventsQuery$inboundSchema), + version: types.number(), + }) +); export function countEventsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/countpageviewsop.ts b/src/models/countpageviewsop.ts index 44d4c944a1..8182c9abfa 100644 --- a/src/models/countpageviewsop.ts +++ b/src/models/countpageviewsop.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -130,7 +131,7 @@ export const CountPageviewsQueryParamSince$outboundSchema: z.ZodType< CountPageviewsQueryParamSince$Outbound, z.ZodTypeDef, CountPageviewsQueryParamSince -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function countPageviewsQueryParamSinceToJSON( countPageviewsQueryParamSince: CountPageviewsQueryParamSince, @@ -150,7 +151,7 @@ export const CountPageviewsQueryParamUntil$outboundSchema: z.ZodType< CountPageviewsQueryParamUntil$Outbound, z.ZodTypeDef, CountPageviewsQueryParamUntil -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function countPageviewsQueryParamUntilToJSON( countPageviewsQueryParamUntil: CountPageviewsQueryParamUntil, @@ -177,14 +178,16 @@ export const CountPageviewsRequest$outboundSchema: z.ZodType< CountPageviewsRequest$Outbound, z.ZodTypeDef, CountPageviewsRequest -> = z.object({ - projectId: z.string(), - since: smartUnion([z.number(), z.string()]).optional(), - until: smartUnion([z.number(), z.string()]).optional(), - filter: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + since: smartUnion([z.number(), z.string()]).optional(), + until: smartUnion([z.number(), z.string()]).optional(), + filter: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function countPageviewsRequestToJSON( countPageviewsRequest: CountPageviewsRequest, @@ -199,10 +202,12 @@ export const CountPageviewsData2$inboundSchema: z.ZodType< CountPageviewsData2, z.ZodTypeDef, unknown -> = z.object({ - pageviews: types.number(), - visitors: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pageviews: types.number(), + visitors: types.number(), + }) +); export function countPageviewsData2FromJSON( jsonString: string, @@ -219,31 +224,33 @@ export const CountPageviewsData1$inboundSchema: z.ZodType< CountPageviewsData1, z.ZodTypeDef, unknown -> = collectExtraKeys$( - z.object({ - browserName: types.string(), - country: types.string(), - deviceType: types.string(), - environment: types.string(), - flags: types.string(), - groupId: types.string(), - osName: types.string(), - projectId: types.string(), - projectName: types.string(), - referrerHostname: types.string(), - requestHostname: types.string(), - requestPath: types.string(), - route: types.string(), - userId: types.string(), - utmCampaign: types.string(), - utmContent: types.string(), - utmMedium: types.string(), - utmSource: types.string(), - utmTerm: types.string(), - visitorId: types.string(), - }).catchall(types.number()), - "additionalProperties", - true, +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + browserName: types.string(), + country: types.string(), + deviceType: types.string(), + environment: types.string(), + flags: types.string(), + groupId: types.string(), + osName: types.string(), + projectId: types.string(), + projectName: types.string(), + referrerHostname: types.string(), + requestHostname: types.string(), + requestPath: types.string(), + route: types.string(), + userId: types.string(), + utmCampaign: types.string(), + utmContent: types.string(), + utmMedium: types.string(), + utmSource: types.string(), + utmTerm: types.string(), + visitorId: types.string(), + }).catchall(types.number()), + "additionalProperties", + true, + ) ); export function countPageviewsData1FromJSON( @@ -261,10 +268,12 @@ export const CountPageviewsData$inboundSchema: z.ZodType< CountPageviewsData, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CountPageviewsData1$inboundSchema), - z.lazy(() => CountPageviewsData2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CountPageviewsData1$inboundSchema), + z.lazy(() => CountPageviewsData2$inboundSchema), + ]) +); export function countPageviewsDataFromJSON( jsonString: string, @@ -281,11 +290,13 @@ export const CountPageviewsQuery$inboundSchema: z.ZodType< CountPageviewsQuery, z.ZodTypeDef, unknown -> = z.object({ - filter: types.optional(types.string()), - since: types.string(), - until: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: types.optional(types.string()), + since: types.string(), + until: types.string(), + }) +); export function countPageviewsQueryFromJSON( jsonString: string, @@ -302,14 +313,16 @@ export const CountPageviewsResponseBody$inboundSchema: z.ZodType< CountPageviewsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: smartUnion([ - z.lazy(() => CountPageviewsData1$inboundSchema), - z.lazy(() => CountPageviewsData2$inboundSchema), - ]), - query: z.lazy(() => CountPageviewsQuery$inboundSchema), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: smartUnion([ + z.lazy(() => CountPageviewsData1$inboundSchema), + z.lazy(() => CountPageviewsData2$inboundSchema), + ]), + query: z.lazy(() => CountPageviewsQuery$inboundSchema), + version: types.number(), + }) +); export function countPageviewsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createaccessgroupop.ts b/src/models/createaccessgroupop.ts index a626740ffe..d879970663 100644 --- a/src/models/createaccessgroupop.ts +++ b/src/models/createaccessgroupop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -102,7 +102,7 @@ export type CreateAccessGroupResponseBody = { /** @internal */ export const CreateAccessGroupRole$outboundSchema: z.ZodNativeEnum< typeof CreateAccessGroupRole -> = z.nativeEnum(CreateAccessGroupRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateAccessGroupRole)); /** @internal */ export type CreateAccessGroupProjects$Outbound = { @@ -115,10 +115,12 @@ export const CreateAccessGroupProjects$outboundSchema: z.ZodType< CreateAccessGroupProjects$Outbound, z.ZodTypeDef, CreateAccessGroupProjects -> = z.object({ - projectId: z.string(), - role: z.nullable(CreateAccessGroupRole$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + role: z.nullable(CreateAccessGroupRole$outboundSchema), + }) +); export function createAccessGroupProjectsToJSON( createAccessGroupProjects: CreateAccessGroupProjects, @@ -140,12 +142,14 @@ export const CreateAccessGroupRequestBody$outboundSchema: z.ZodType< CreateAccessGroupRequestBody$Outbound, z.ZodTypeDef, CreateAccessGroupRequestBody -> = z.object({ - name: z.string(), - projects: z.array(z.lazy(() => CreateAccessGroupProjects$outboundSchema)) - .optional(), - membersToAdd: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + projects: z.array(z.lazy(() => CreateAccessGroupProjects$outboundSchema)) + .optional(), + membersToAdd: z.array(z.string()).optional(), + }) +); export function createAccessGroupRequestBodyToJSON( createAccessGroupRequestBody: CreateAccessGroupRequestBody, @@ -169,15 +173,17 @@ export const CreateAccessGroupRequest$outboundSchema: z.ZodType< CreateAccessGroupRequest$Outbound, z.ZodTypeDef, CreateAccessGroupRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAccessGroupRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAccessGroupRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAccessGroupRequestToJSON( createAccessGroupRequest: CreateAccessGroupRequest, @@ -190,25 +196,29 @@ export function createAccessGroupRequestToJSON( /** @internal */ export const CreateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< typeof CreateAccessGroupEntitlements -> = z.nativeEnum(CreateAccessGroupEntitlements); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAccessGroupEntitlements) +); /** @internal */ export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType< CreateAccessGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - entitlements: z.array(CreateAccessGroupEntitlements$inboundSchema), - membersCount: types.number(), - name: types.string(), - projectsCount: types.number(), - teamId: types.string(), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + entitlements: z.array(CreateAccessGroupEntitlements$inboundSchema), + membersCount: types.number(), + name: types.string(), + projectsCount: types.number(), + teamId: types.string(), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + updatedAt: types.string(), + }) +); export function createAccessGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createaccessgroupprojectop.ts b/src/models/createaccessgroupprojectop.ts index 2a0c452cf0..e418b49adf 100644 --- a/src/models/createaccessgroupprojectop.ts +++ b/src/models/createaccessgroupprojectop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -71,7 +71,9 @@ export type CreateAccessGroupProjectResponseBody = { /** @internal */ export const CreateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< typeof CreateAccessGroupProjectRole -> = z.nativeEnum(CreateAccessGroupProjectRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAccessGroupProjectRole) +); /** @internal */ export type CreateAccessGroupProjectRequestBody$Outbound = { @@ -84,10 +86,12 @@ export const CreateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< CreateAccessGroupProjectRequestBody$Outbound, z.ZodTypeDef, CreateAccessGroupProjectRequestBody -> = z.object({ - projectId: z.string(), - role: CreateAccessGroupProjectRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + role: CreateAccessGroupProjectRole$outboundSchema, + }) +); export function createAccessGroupProjectRequestBodyToJSON( createAccessGroupProjectRequestBody: CreateAccessGroupProjectRequestBody, @@ -112,16 +116,20 @@ export const CreateAccessGroupProjectRequest$outboundSchema: z.ZodType< CreateAccessGroupProjectRequest$Outbound, z.ZodTypeDef, CreateAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAccessGroupProjectRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateAccessGroupProjectRequestBody$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAccessGroupProjectRequestToJSON( createAccessGroupProjectRequest: CreateAccessGroupProjectRequest, @@ -135,22 +143,26 @@ export function createAccessGroupProjectRequestToJSON( /** @internal */ export const CreateAccessGroupProjectAccessGroupsRole$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateAccessGroupProjectAccessGroupsRole); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAccessGroupProjectAccessGroupsRole) + ); /** @internal */ export const CreateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< CreateAccessGroupProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - projectId: types.string(), - role: CreateAccessGroupProjectAccessGroupsRole$inboundSchema, - teamId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + projectId: types.string(), + role: CreateAccessGroupProjectAccessGroupsRole$inboundSchema, + teamId: types.string(), + updatedAt: types.string(), + }) +); export function createAccessGroupProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createaigatewaybyokcredentialop.ts b/src/models/createaigatewaybyokcredentialop.ts index 48957bf222..dcea1b6c9b 100644 --- a/src/models/createaigatewaybyokcredentialop.ts +++ b/src/models/createaigatewaybyokcredentialop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -87,10 +87,12 @@ export const Mappings$outboundSchema: z.ZodType< Mappings$Outbound, z.ZodTypeDef, Mappings -> = z.object({ - gatewayModelSlug: z.string(), - customModelId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gatewayModelSlug: z.string(), + customModelId: z.string(), + }) +); export function mappingsToJSON(mappings: Mappings): string { return JSON.stringify(Mappings$outboundSchema.parse(mappings)); @@ -112,15 +114,17 @@ export const CreateAiGatewayByokCredentialRequestBody$outboundSchema: z.ZodType< CreateAiGatewayByokCredentialRequestBody$Outbound, z.ZodTypeDef, CreateAiGatewayByokCredentialRequestBody -> = z.object({ - ownerId: z.string().optional(), - providerSlug: z.string(), - name: z.string(), - active: z.boolean().default(true), - zeroDataRetention: z.boolean().default(false), - userId: z.string().optional(), - mappings: z.array(z.lazy(() => Mappings$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + providerSlug: z.string(), + name: z.string(), + active: z.boolean().default(true), + zeroDataRetention: z.boolean().default(false), + userId: z.string().optional(), + mappings: z.array(z.lazy(() => Mappings$outboundSchema)).optional(), + }) +); export function createAiGatewayByokCredentialRequestBodyToJSON( createAiGatewayByokCredentialRequestBody: @@ -145,17 +149,19 @@ export const CreateAiGatewayByokCredentialRequest$outboundSchema: z.ZodType< CreateAiGatewayByokCredentialRequest$Outbound, z.ZodTypeDef, CreateAiGatewayByokCredentialRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateAiGatewayByokCredentialRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateAiGatewayByokCredentialRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAiGatewayByokCredentialRequestToJSON( createAiGatewayByokCredentialRequest: CreateAiGatewayByokCredentialRequest, @@ -172,18 +178,20 @@ export const CreateAiGatewayByokCredentialResponseBody$inboundSchema: z.ZodType< CreateAiGatewayByokCredentialResponseBody, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - createdAt: types.number(), - credentialId: types.string(), - lastFourChars: types.string(), - name: types.string(), - ownerId: types.string(), - providerSlug: types.string(), - rotatedAt: types.nullable(types.number()), - updatedAt: types.number(), - zeroDataRetention: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + createdAt: types.number(), + credentialId: types.string(), + lastFourChars: types.string(), + name: types.string(), + ownerId: types.string(), + providerSlug: types.string(), + rotatedAt: types.nullable(types.number()), + updatedAt: types.number(), + zeroDataRetention: types.boolean(), + }) +); export function createAiGatewayByokCredentialResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createaigatewayruleop.ts b/src/models/createaigatewayruleop.ts index e5479f4ed2..3e448f4fe4 100644 --- a/src/models/createaigatewayruleop.ts +++ b/src/models/createaigatewayruleop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -76,7 +77,7 @@ export type CreateAiGatewayRuleRequest = { /** @internal */ export const CreateAiGatewayRuleType$outboundSchema: z.ZodNativeEnum< typeof CreateAiGatewayRuleType -> = z.nativeEnum(CreateAiGatewayRuleType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateAiGatewayRuleType)); /** @internal */ export type CreateAiGatewayRuleMatch$Outbound = { @@ -88,9 +89,11 @@ export const CreateAiGatewayRuleMatch$outboundSchema: z.ZodType< CreateAiGatewayRuleMatch$Outbound, z.ZodTypeDef, CreateAiGatewayRuleMatch -> = z.object({ - model: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: z.string(), + }) +); export function createAiGatewayRuleMatchToJSON( createAiGatewayRuleMatch: CreateAiGatewayRuleMatch, @@ -111,10 +114,12 @@ export const CreateAiGatewayRuleAction$outboundSchema: z.ZodType< CreateAiGatewayRuleAction$Outbound, z.ZodTypeDef, CreateAiGatewayRuleAction -> = z.object({ - rewriteModel: z.string().optional(), - reason: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rewriteModel: z.string().optional(), + reason: z.string().optional(), + }) +); export function createAiGatewayRuleActionToJSON( createAiGatewayRuleAction: CreateAiGatewayRuleAction, @@ -138,13 +143,15 @@ export const CreateAiGatewayRuleRequestBody$outboundSchema: z.ZodType< CreateAiGatewayRuleRequestBody$Outbound, z.ZodTypeDef, CreateAiGatewayRuleRequestBody -> = z.object({ - type: CreateAiGatewayRuleType$outboundSchema, - match: z.lazy(() => CreateAiGatewayRuleMatch$outboundSchema), - action: z.lazy(() => CreateAiGatewayRuleAction$outboundSchema).optional(), - enabled: z.boolean().optional(), - description: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateAiGatewayRuleType$outboundSchema, + match: z.lazy(() => CreateAiGatewayRuleMatch$outboundSchema), + action: z.lazy(() => CreateAiGatewayRuleAction$outboundSchema).optional(), + enabled: z.boolean().optional(), + description: z.string().optional(), + }) +); export function createAiGatewayRuleRequestBodyToJSON( createAiGatewayRuleRequestBody: CreateAiGatewayRuleRequestBody, @@ -168,16 +175,18 @@ export const CreateAiGatewayRuleRequest$outboundSchema: z.ZodType< CreateAiGatewayRuleRequest$Outbound, z.ZodTypeDef, CreateAiGatewayRuleRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAiGatewayRuleRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAiGatewayRuleRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAiGatewayRuleRequestToJSON( createAiGatewayRuleRequest: CreateAiGatewayRuleRequest, diff --git a/src/models/createaigatewayvirtualmodelconfigop.ts b/src/models/createaigatewayvirtualmodelconfigop.ts index 85688f432a..e92a5dc8a6 100644 --- a/src/models/createaigatewayvirtualmodelconfigop.ts +++ b/src/models/createaigatewayvirtualmodelconfigop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -321,8 +322,8 @@ export type CreateAiGatewayVirtualModelConfigRequest = { export type Any$Outbound = {}; /** @internal */ -export const Any$outboundSchema: z.ZodType = z - .object({}); +export const Any$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => z.object({})); export function anyToJSON(any: Any): string { return JSON.stringify(Any$outboundSchema.parse(any)); @@ -332,8 +333,8 @@ export function anyToJSON(any: Any): string { export type All$Outbound = {}; /** @internal */ -export const All$outboundSchema: z.ZodType = z - .object({}); +export const All$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => z.object({})); export function allToJSON(all: All): string { return JSON.stringify(All$outboundSchema.parse(all)); @@ -348,7 +349,7 @@ export const CreateAiGatewayVirtualModelConfigModelsConditions$outboundSchema: CreateAiGatewayVirtualModelConfigModelsConditions$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigModelsConditions - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createAiGatewayVirtualModelConfigModelsConditionsToJSON( createAiGatewayVirtualModelConfigModelsConditions: @@ -372,14 +373,14 @@ export const ModelsAtLeast$outboundSchema: z.ZodType< ModelsAtLeast$Outbound, z.ZodTypeDef, ModelsAtLeast -> = z.object({ - count: z.number().int(), - conditions: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: z.number().int(), + conditions: z.array(z.lazy(() => CreateAiGatewayVirtualModelConfigModelsConditions$outboundSchema - ), - ), -}); + )), + }) +); export function modelsAtLeastToJSON(modelsAtLeast: ModelsAtLeast): string { return JSON.stringify(ModelsAtLeast$outboundSchema.parse(modelsAtLeast)); @@ -397,14 +398,16 @@ export type When$Outbound = { /** @internal */ export const When$outboundSchema: z.ZodType = - z.object({ - question: z.string().optional(), - confidenceBelow: z.number().optional(), - probabilityBetween: z.array(z.number()).optional(), - any: z.array(z.lazy(() => Any$outboundSchema)).optional(), - all: z.array(z.lazy(() => All$outboundSchema)).optional(), - atLeast: z.lazy(() => ModelsAtLeast$outboundSchema).optional(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + question: z.string().optional(), + confidenceBelow: z.number().optional(), + probabilityBetween: z.array(z.number()).optional(), + any: z.array(z.lazy(() => Any$outboundSchema)).optional(), + all: z.array(z.lazy(() => All$outboundSchema)).optional(), + atLeast: z.lazy(() => ModelsAtLeast$outboundSchema).optional(), + }) + ); export function whenToJSON(when: When): string { return JSON.stringify(When$outboundSchema.parse(when)); @@ -421,10 +424,12 @@ export const Models2$outboundSchema: z.ZodType< Models2$Outbound, z.ZodTypeDef, Models2 -> = z.object({ - model: z.string(), - when: z.lazy(() => When$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: z.string(), + when: z.lazy(() => When$outboundSchema), + }) +); export function models2ToJSON(models2: Models2): string { return JSON.stringify(Models2$outboundSchema.parse(models2)); @@ -440,7 +445,9 @@ export const CreateAiGatewayVirtualModelConfigModels$outboundSchema: z.ZodType< CreateAiGatewayVirtualModelConfigModels$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigModels -> = smartUnion([z.lazy(() => Models2$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Models2$outboundSchema), z.string()]) +); export function createAiGatewayVirtualModelConfigModelsToJSON( createAiGatewayVirtualModelConfigModels: @@ -455,14 +462,17 @@ export function createAiGatewayVirtualModelConfigModelsToJSON( /** @internal */ export const CreateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateAiGatewayVirtualModelConfigAiGatewayScope); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigAiGatewayScope) + ); /** @internal */ export const CreateAiGatewayVirtualModelConfigScope$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateAiGatewayVirtualModelConfigScope, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigScope) + ); /** @internal */ export type CreateAiGatewayVirtualModelConfigProviders$Outbound = { @@ -476,10 +486,12 @@ export const CreateAiGatewayVirtualModelConfigProviders$outboundSchema: CreateAiGatewayVirtualModelConfigProviders$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigProviders - > = z.object({ - scope: CreateAiGatewayVirtualModelConfigScope$outboundSchema.optional(), - geoRegion: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: CreateAiGatewayVirtualModelConfigScope$outboundSchema.optional(), + geoRegion: z.string().optional(), + }) + ); export function createAiGatewayVirtualModelConfigProvidersToJSON( createAiGatewayVirtualModelConfigProviders: @@ -507,16 +519,16 @@ export const CreateAiGatewayVirtualModelConfigInferenceRegion$outboundSchema: CreateAiGatewayVirtualModelConfigInferenceRegion$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigInferenceRegion - > = z.object({ - scope: CreateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema - .optional(), - geoRegion: z.string().optional(), - providers: z.record( - z.nullable(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: CreateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema + .optional(), + geoRegion: z.string().optional(), + providers: z.record(z.nullable(z.lazy(() => CreateAiGatewayVirtualModelConfigProviders$outboundSchema - )), - ).optional(), - }); + ))).optional(), + }) + ); export function createAiGatewayVirtualModelConfigInferenceRegionToJSON( createAiGatewayVirtualModelConfigInferenceRegion: @@ -531,25 +543,31 @@ export function createAiGatewayVirtualModelConfigInferenceRegionToJSON( /** @internal */ export const CreateAiGatewayVirtualModelConfigSort$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateAiGatewayVirtualModelConfigSort, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigSort) + ); /** @internal */ export const CreateAiGatewayVirtualModelConfigHas$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateAiGatewayVirtualModelConfigHas, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigHas) + ); /** @internal */ export const CreateAiGatewayVirtualModelConfigCaching$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateAiGatewayVirtualModelConfigCaching); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigCaching) + ); /** @internal */ export const CreateAiGatewayVirtualModelConfigServiceTier$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateAiGatewayVirtualModelConfigServiceTier); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigServiceTier) + ); /** @internal */ export type ProviderTimeouts2$Outbound = { @@ -561,9 +579,11 @@ export const ProviderTimeouts2$outboundSchema: z.ZodType< ProviderTimeouts2$Outbound, z.ZodTypeDef, ProviderTimeouts2 -> = z.object({ - byok: z.record(z.number().int()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + byok: z.record(z.number().int()).optional(), + }) +); export function providerTimeouts2ToJSON( providerTimeouts2: ProviderTimeouts2, @@ -576,7 +596,7 @@ export function providerTimeouts2ToJSON( /** @internal */ export const ProviderTimeouts1$outboundSchema: z.ZodNativeEnum< typeof ProviderTimeouts1 -> = z.nativeEnum(ProviderTimeouts1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProviderTimeouts1)); /** @internal */ export type CreateAiGatewayVirtualModelConfigProviderTimeouts$Outbound = @@ -589,10 +609,12 @@ export const CreateAiGatewayVirtualModelConfigProviderTimeouts$outboundSchema: CreateAiGatewayVirtualModelConfigProviderTimeouts$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigProviderTimeouts - > = smartUnion([ - ProviderTimeouts1$outboundSchema, - z.lazy(() => ProviderTimeouts2$outboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + ProviderTimeouts1$outboundSchema, + z.lazy(() => ProviderTimeouts2$outboundSchema), + ]) + ); export function createAiGatewayVirtualModelConfigProviderTimeoutsToJSON( createAiGatewayVirtualModelConfigProviderTimeouts: @@ -607,9 +629,10 @@ export function createAiGatewayVirtualModelConfigProviderTimeoutsToJSON( /** @internal */ export const CreateAiGatewayVirtualModelConfigSpeed$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateAiGatewayVirtualModelConfigSpeed, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateAiGatewayVirtualModelConfigSpeed) + ); /** @internal */ export type CreateAiGatewayVirtualModelConfigRequestBody$Outbound = { @@ -645,39 +668,42 @@ export const CreateAiGatewayVirtualModelConfigRequestBody$outboundSchema: CreateAiGatewayVirtualModelConfigRequestBody$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigRequestBody - > = z.object({ - virtualModelSlug: z.string(), - displayName: z.string().optional(), - description: z.string().optional(), - status: z.string().optional(), - modelSlug: z.string().optional(), - models: z.array( - smartUnion([z.lazy(() => Models2$outboundSchema), z.string()]), - ).optional(), - providerOrder: z.array(z.string()).optional(), - providerOnly: z.array(z.string()).optional(), - observabilityTags: z.array(z.string()).optional(), - providerOptions: z.record(z.record(z.any())).optional(), - byokCredentialIds: z.array(z.string()).optional(), - inferenceRegion: z.lazy(() => - CreateAiGatewayVirtualModelConfigInferenceRegion$outboundSchema - ).optional(), - sort: CreateAiGatewayVirtualModelConfigSort$outboundSchema.optional(), - has: z.array(CreateAiGatewayVirtualModelConfigHas$outboundSchema) - .optional(), - caching: CreateAiGatewayVirtualModelConfigCaching$outboundSchema.optional(), - serviceTier: CreateAiGatewayVirtualModelConfigServiceTier$outboundSchema - .optional(), - providerTimeouts: smartUnion([ - ProviderTimeouts1$outboundSchema, - z.lazy(() => ProviderTimeouts2$outboundSchema), - ]).optional(), - zeroDataRetention: z.boolean().optional(), - hipaaCompliant: z.boolean().optional(), - disallowPromptTraining: z.boolean().optional(), - speed: CreateAiGatewayVirtualModelConfigSpeed$outboundSchema.optional(), - allowFallbackFromFast: z.boolean().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + virtualModelSlug: z.string(), + displayName: z.string().optional(), + description: z.string().optional(), + status: z.string().optional(), + modelSlug: z.string().optional(), + models: z.array( + smartUnion([z.lazy(() => Models2$outboundSchema), z.string()]), + ).optional(), + providerOrder: z.array(z.string()).optional(), + providerOnly: z.array(z.string()).optional(), + observabilityTags: z.array(z.string()).optional(), + providerOptions: z.record(z.record(z.any())).optional(), + byokCredentialIds: z.array(z.string()).optional(), + inferenceRegion: z.lazy(() => + CreateAiGatewayVirtualModelConfigInferenceRegion$outboundSchema + ).optional(), + sort: CreateAiGatewayVirtualModelConfigSort$outboundSchema.optional(), + has: z.array(CreateAiGatewayVirtualModelConfigHas$outboundSchema) + .optional(), + caching: CreateAiGatewayVirtualModelConfigCaching$outboundSchema + .optional(), + serviceTier: CreateAiGatewayVirtualModelConfigServiceTier$outboundSchema + .optional(), + providerTimeouts: smartUnion([ + ProviderTimeouts1$outboundSchema, + z.lazy(() => ProviderTimeouts2$outboundSchema), + ]).optional(), + zeroDataRetention: z.boolean().optional(), + hipaaCompliant: z.boolean().optional(), + disallowPromptTraining: z.boolean().optional(), + speed: CreateAiGatewayVirtualModelConfigSpeed$outboundSchema.optional(), + allowFallbackFromFast: z.boolean().optional(), + }) + ); export function createAiGatewayVirtualModelConfigRequestBodyToJSON( createAiGatewayVirtualModelConfigRequestBody: @@ -704,17 +730,19 @@ export const CreateAiGatewayVirtualModelConfigRequest$outboundSchema: z.ZodType< CreateAiGatewayVirtualModelConfigRequest$Outbound, z.ZodTypeDef, CreateAiGatewayVirtualModelConfigRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateAiGatewayVirtualModelConfigRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateAiGatewayVirtualModelConfigRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAiGatewayVirtualModelConfigRequestToJSON( createAiGatewayVirtualModelConfigRequest: diff --git a/src/models/createapikeysop.ts b/src/models/createapikeysop.ts index 581b18dbd4..be6a58a59c 100644 --- a/src/models/createapikeysop.ts +++ b/src/models/createapikeysop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -223,7 +223,7 @@ export type CreateApiKeysResponseBody = { /** @internal */ export const CreateApiKeysRefreshPeriod$outboundSchema: z.ZodNativeEnum< typeof CreateApiKeysRefreshPeriod -> = z.nativeEnum(CreateApiKeysRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateApiKeysRefreshPeriod)); /** @internal */ export type AiGatewayQuota$Outbound = { @@ -238,12 +238,14 @@ export const AiGatewayQuota$outboundSchema: z.ZodType< AiGatewayQuota$Outbound, z.ZodTypeDef, AiGatewayQuota -> = z.object({ - limitAmount: z.number(), - includeByokInQuota: z.boolean().default(false), - refreshPeriod: CreateApiKeysRefreshPeriod$outboundSchema.default("none"), - alertThresholds: z.array(z.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limitAmount: z.number(), + includeByokInQuota: z.boolean().default(false), + refreshPeriod: CreateApiKeysRefreshPeriod$outboundSchema.default("none"), + alertThresholds: z.array(z.number()).optional(), + }) +); export function aiGatewayQuotaToJSON(aiGatewayQuota: AiGatewayQuota): string { return JSON.stringify(AiGatewayQuota$outboundSchema.parse(aiGatewayQuota)); @@ -264,14 +266,16 @@ export const CreateApiKeysRequestBody$outboundSchema: z.ZodType< CreateApiKeysRequestBody$Outbound, z.ZodTypeDef, CreateApiKeysRequestBody -> = z.object({ - purpose: z.string(), - projectId: z.string().optional(), - name: z.string().optional(), - expiresAt: z.number().optional(), - aiGatewayQuota: z.lazy(() => AiGatewayQuota$outboundSchema).optional(), - metadata: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purpose: z.string(), + projectId: z.string().optional(), + name: z.string().optional(), + expiresAt: z.number().optional(), + aiGatewayQuota: z.lazy(() => AiGatewayQuota$outboundSchema).optional(), + metadata: z.record(z.any()).optional(), + }) +); export function createApiKeysRequestBodyToJSON( createApiKeysRequestBody: CreateApiKeysRequestBody, @@ -286,10 +290,12 @@ export const CreateApiKeysResponse500Error$inboundSchema: z.ZodType< CreateApiKeysResponse500Error, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createApiKeysResponse500ErrorFromJSON( jsonString: string, @@ -306,31 +312,35 @@ export const CreateApiKeysResponse500ResponseBody$inboundSchema: z.ZodType< CreateApiKeysResponse500ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => CreateApiKeysResponse500Error$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new CreateApiKeysResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateApiKeysResponse500Error$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateApiKeysResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const CreateApiKeysResponse429Error$inboundSchema: z.ZodType< CreateApiKeysResponse429Error, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function createApiKeysResponse429ErrorFromJSON( jsonString: string, @@ -347,29 +357,33 @@ export const CreateApiKeysResponse429ResponseBody$inboundSchema: z.ZodType< CreateApiKeysResponse429ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => CreateApiKeysResponse429Error$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new CreateApiKeysResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateApiKeysResponse429Error$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateApiKeysResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const CreateApiKeysResponseError$inboundSchema: z.ZodType< CreateApiKeysResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createApiKeysResponseErrorFromJSON( jsonString: string, @@ -386,29 +400,33 @@ export const CreateApiKeysResponse403ResponseBody$inboundSchema: z.ZodType< CreateApiKeysResponse403ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => CreateApiKeysResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new CreateApiKeysResponse403ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateApiKeysResponseError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateApiKeysResponse403ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const CreateApiKeysError$inboundSchema: z.ZodType< CreateApiKeysError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createApiKeysErrorFromJSON( jsonString: string, @@ -425,29 +443,33 @@ export const CreateApiKeysResponseResponseBody$inboundSchema: z.ZodType< CreateApiKeysResponseResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => CreateApiKeysError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new CreateApiKeysResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateApiKeysError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateApiKeysResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const CreateApiKeysResponseBody$inboundSchema: z.ZodType< CreateApiKeysResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apiKeyString: types.string(), - apiKey: APIKey$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKeyString: types.string(), + apiKey: APIKey$inboundSchema, + }) +); export function createApiKeysResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createauthtokenop.ts b/src/models/createauthtokenop.ts index aea8338e20..a760fb2c77 100644 --- a/src/models/createauthtokenop.ts +++ b/src/models/createauthtokenop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { AuthToken, AuthToken$inboundSchema } from "./authtoken.js"; @@ -57,11 +57,13 @@ export const CreateAuthTokenRequestBody$outboundSchema: z.ZodType< CreateAuthTokenRequestBody$Outbound, z.ZodTypeDef, CreateAuthTokenRequestBody -> = z.object({ - name: z.string(), - expiresAt: z.number().optional(), - projectId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + expiresAt: z.number().optional(), + projectId: z.string().optional(), + }) +); export function createAuthTokenRequestBodyToJSON( createAuthTokenRequestBody: CreateAuthTokenRequestBody, @@ -83,15 +85,17 @@ export const CreateAuthTokenRequest$outboundSchema: z.ZodType< CreateAuthTokenRequest$Outbound, z.ZodTypeDef, CreateAuthTokenRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateAuthTokenRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateAuthTokenRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createAuthTokenRequestToJSON( createAuthTokenRequest: CreateAuthTokenRequest, @@ -106,10 +110,12 @@ export const CreateAuthTokenResponseBody$inboundSchema: z.ZodType< CreateAuthTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - bearerToken: types.string(), - token: AuthToken$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bearerToken: types.string(), + token: AuthToken$inboundSchema, + }) +); export function createAuthTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.ts b/src/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.ts index bd8dd3ddb3..3289f318bd 100644 --- a/src/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.ts +++ b/src/models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest = { /** @@ -43,13 +48,54 @@ export const CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest$ou CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest$Outbound, z.ZodTypeDef, CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - mount: z.string().optional(), - from: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + mount: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }).optional(), + from: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$( + "^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?\\\\/[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?\\\\/[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + 255, + ), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?\\\\/[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?\\\\/[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ).optional(), + }) + ); export function createByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequestToJSON( createByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest: diff --git a/src/models/createcheckop.ts b/src/models/createcheckop.ts index a7cc00be2c..03c9cecdb5 100644 --- a/src/models/createcheckop.ts +++ b/src/models/createcheckop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -179,14 +179,16 @@ export const CreateCheckRequestBody$outboundSchema: z.ZodType< CreateCheckRequestBody$Outbound, z.ZodTypeDef, CreateCheckRequestBody -> = z.object({ - name: z.string(), - path: z.string().optional(), - blocking: z.boolean(), - detailsUrl: z.string().optional(), - externalId: z.string().optional(), - rerequestable: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + path: z.string().optional(), + blocking: z.boolean(), + detailsUrl: z.string().optional(), + externalId: z.string().optional(), + rerequestable: z.boolean().optional(), + }) +); export function createCheckRequestBodyToJSON( createCheckRequestBody: CreateCheckRequestBody, @@ -209,16 +211,18 @@ export const CreateCheckRequest$outboundSchema: z.ZodType< CreateCheckRequest$Outbound, z.ZodTypeDef, CreateCheckRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateCheckRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateCheckRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createCheckRequestToJSON( createCheckRequest: CreateCheckRequest, @@ -231,23 +235,25 @@ export function createCheckRequestToJSON( /** @internal */ export const CreateCheckConclusion$inboundSchema: z.ZodNativeEnum< typeof CreateCheckConclusion -> = z.nativeEnum(CreateCheckConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateCheckConclusion)); /** @internal */ export const CreateCheckSource$inboundSchema: z.ZodNativeEnum< typeof CreateCheckSource -> = z.nativeEnum(CreateCheckSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateCheckSource)); /** @internal */ export const CreateCheckCLS$inboundSchema: z.ZodType< CreateCheckCLS, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: CreateCheckSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: CreateCheckSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function createCheckCLSFromJSON( jsonString: string, @@ -262,18 +268,20 @@ export function createCheckCLSFromJSON( /** @internal */ export const CreateCheckChecksSource$inboundSchema: z.ZodNativeEnum< typeof CreateCheckChecksSource -> = z.nativeEnum(CreateCheckChecksSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateCheckChecksSource)); /** @internal */ export const CreateCheckFCP$inboundSchema: z.ZodType< CreateCheckFCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: CreateCheckChecksSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: CreateCheckChecksSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function createCheckFCPFromJSON( jsonString: string, @@ -288,18 +296,22 @@ export function createCheckFCPFromJSON( /** @internal */ export const CreateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< typeof CreateCheckChecksResponseSource -> = z.nativeEnum(CreateCheckChecksResponseSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCheckChecksResponseSource) +); /** @internal */ export const CreateCheckLCP$inboundSchema: z.ZodType< CreateCheckLCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: CreateCheckChecksResponseSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: CreateCheckChecksResponseSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function createCheckLCPFromJSON( jsonString: string, @@ -314,18 +326,22 @@ export function createCheckLCPFromJSON( /** @internal */ export const CreateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< typeof CreateCheckChecksResponse200Source -> = z.nativeEnum(CreateCheckChecksResponse200Source); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCheckChecksResponse200Source) +); /** @internal */ export const CreateCheckTBT$inboundSchema: z.ZodType< CreateCheckTBT, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: CreateCheckChecksResponse200Source$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: CreateCheckChecksResponse200Source$inboundSchema, + value: types.nullable(types.number()), + }) +); export function createCheckTBTFromJSON( jsonString: string, @@ -339,19 +355,23 @@ export function createCheckTBTFromJSON( /** @internal */ export const CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateCheckChecksResponse200ApplicationJSONSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCheckChecksResponse200ApplicationJSONSource) + ); /** @internal */ export const CreateCheckVirtualExperienceScore$inboundSchema: z.ZodType< CreateCheckVirtualExperienceScore, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function createCheckVirtualExperienceScoreFromJSON( jsonString: string, @@ -368,22 +388,24 @@ export const CreateCheckMetrics$inboundSchema: z.ZodType< CreateCheckMetrics, z.ZodTypeDef, unknown -> = z.object({ - CLS: z.lazy(() => CreateCheckCLS$inboundSchema), - FCP: z.lazy(() => CreateCheckFCP$inboundSchema), - LCP: z.lazy(() => CreateCheckLCP$inboundSchema), - TBT: z.lazy(() => CreateCheckTBT$inboundSchema), - virtualExperienceScore: types.optional( - z.lazy(() => CreateCheckVirtualExperienceScore$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "CLS": "cls", - "FCP": "fcp", - "LCP": "lcp", - "TBT": "tbt", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + CLS: z.lazy(() => CreateCheckCLS$inboundSchema), + FCP: z.lazy(() => CreateCheckFCP$inboundSchema), + LCP: z.lazy(() => CreateCheckLCP$inboundSchema), + TBT: z.lazy(() => CreateCheckTBT$inboundSchema), + virtualExperienceScore: types.optional( + z.lazy(() => CreateCheckVirtualExperienceScore$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "CLS": "cls", + "FCP": "fcp", + "LCP": "lcp", + "TBT": "tbt", + }); + }) +); export function createCheckMetricsFromJSON( jsonString: string, @@ -400,9 +422,11 @@ export const CreateCheckOutput$inboundSchema: z.ZodType< CreateCheckOutput, z.ZodTypeDef, unknown -> = z.object({ - metrics: types.optional(z.lazy(() => CreateCheckMetrics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: types.optional(z.lazy(() => CreateCheckMetrics$inboundSchema)), + }) +); export function createCheckOutputFromJSON( jsonString: string, @@ -417,31 +441,33 @@ export function createCheckOutputFromJSON( /** @internal */ export const CreateCheckStatus$inboundSchema: z.ZodNativeEnum< typeof CreateCheckStatus -> = z.nativeEnum(CreateCheckStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateCheckStatus)); /** @internal */ export const CreateCheckResponseBody$inboundSchema: z.ZodType< CreateCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocking: types.boolean(), - completedAt: types.optional(types.number()), - conclusion: types.optional(CreateCheckConclusion$inboundSchema), - createdAt: types.number(), - deploymentId: types.string(), - detailsUrl: types.optional(types.string()), - externalId: types.optional(types.string()), - id: types.string(), - integrationId: types.string(), - name: types.string(), - output: types.optional(z.lazy(() => CreateCheckOutput$inboundSchema)), - path: types.optional(types.string()), - rerequestable: types.optional(types.boolean()), - startedAt: types.optional(types.number()), - status: CreateCheckStatus$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocking: types.boolean(), + completedAt: types.optional(types.number()), + conclusion: types.optional(CreateCheckConclusion$inboundSchema), + createdAt: types.number(), + deploymentId: types.string(), + detailsUrl: types.optional(types.string()), + externalId: types.optional(types.string()), + id: types.string(), + integrationId: types.string(), + name: types.string(), + output: types.optional(z.lazy(() => CreateCheckOutput$inboundSchema)), + path: types.optional(types.string()), + rerequestable: types.optional(types.boolean()), + startedAt: types.optional(types.number()), + status: CreateCheckStatus$inboundSchema, + updatedAt: types.number(), + }) +); export function createCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createconditionalbypassop.ts b/src/models/createconditionalbypassop.ts index 5122bf4074..8dd6810b98 100644 --- a/src/models/createconditionalbypassop.ts +++ b/src/models/createconditionalbypassop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -219,12 +219,16 @@ export type CreateConditionalBypassResponseBody = { /** @internal */ export const CreateConditionalBypassConditionsSecurityRequestType$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateConditionalBypassConditionsSecurityRequestType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsSecurityRequestType) + ); /** @internal */ export const CreateConditionalBypassConditionsSecurityRequestOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConditionalBypassConditionsSecurityRequestOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsSecurityRequestOp) + ); /** @internal */ export type Conditions4$Outbound = { @@ -238,11 +242,13 @@ export const Conditions4$outboundSchema: z.ZodType< Conditions4$Outbound, z.ZodTypeDef, Conditions4 -> = z.object({ - type: CreateConditionalBypassConditionsSecurityRequestType$outboundSchema, - op: CreateConditionalBypassConditionsSecurityRequestOp$outboundSchema, - key: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateConditionalBypassConditionsSecurityRequestType$outboundSchema, + op: CreateConditionalBypassConditionsSecurityRequestOp$outboundSchema, + key: z.string(), + }) +); export function conditions4ToJSON(conditions4: Conditions4): string { return JSON.stringify(Conditions4$outboundSchema.parse(conditions4)); @@ -250,13 +256,17 @@ export function conditions4ToJSON(conditions4: Conditions4): string { /** @internal */ export const CreateConditionalBypassConditionsSecurityType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConditionalBypassConditionsSecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsSecurityType) + ); /** @internal */ export const CreateConditionalBypassConditionsSecurityOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateConditionalBypassConditionsSecurityOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsSecurityOp) + ); /** @internal */ export type Conditions3$Outbound = { @@ -271,12 +281,14 @@ export const Conditions3$outboundSchema: z.ZodType< Conditions3$Outbound, z.ZodTypeDef, Conditions3 -> = z.object({ - type: CreateConditionalBypassConditionsSecurityType$outboundSchema, - op: CreateConditionalBypassConditionsSecurityOp$outboundSchema, - key: z.string(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateConditionalBypassConditionsSecurityType$outboundSchema, + op: CreateConditionalBypassConditionsSecurityOp$outboundSchema, + key: z.string(), + value: z.string(), + }) +); export function conditions3ToJSON(conditions3: Conditions3): string { return JSON.stringify(Conditions3$outboundSchema.parse(conditions3)); @@ -284,15 +296,17 @@ export function conditions3ToJSON(conditions3: Conditions3): string { /** @internal */ export const CreateConditionalBypassConditionsType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateConditionalBypassConditionsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsType) + ); /** @internal */ export const CreateConditionalBypassConditionsOp$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateConditionalBypassConditionsOp, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassConditionsOp) + ); /** @internal */ export type Conditions2$Outbound = { @@ -306,11 +320,13 @@ export const Conditions2$outboundSchema: z.ZodType< Conditions2$Outbound, z.ZodTypeDef, Conditions2 -> = z.object({ - type: CreateConditionalBypassConditionsType$outboundSchema, - op: CreateConditionalBypassConditionsOp$outboundSchema, - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateConditionalBypassConditionsType$outboundSchema, + op: CreateConditionalBypassConditionsOp$outboundSchema, + value: z.string(), + }) +); export function conditions2ToJSON(conditions2: Conditions2): string { return JSON.stringify(Conditions2$outboundSchema.parse(conditions2)); @@ -319,16 +335,16 @@ export function conditions2ToJSON(conditions2: Conditions2): string { /** @internal */ export const ConditionsType$outboundSchema: z.ZodNativeEnum< typeof ConditionsType -> = z.nativeEnum(ConditionsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConditionsType)); /** @internal */ export const ConditionsOp$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(ConditionsOp); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConditionsOp)); /** @internal */ export const ConditionsKey$outboundSchema: z.ZodNativeEnum< typeof ConditionsKey -> = z.nativeEnum(ConditionsKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConditionsKey)); /** @internal */ export type Conditions1$Outbound = { @@ -343,12 +359,14 @@ export const Conditions1$outboundSchema: z.ZodType< Conditions1$Outbound, z.ZodTypeDef, Conditions1 -> = z.object({ - type: ConditionsType$outboundSchema, - op: ConditionsOp$outboundSchema, - value: z.string(), - key: ConditionsKey$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: ConditionsType$outboundSchema, + op: ConditionsOp$outboundSchema, + value: z.string(), + key: ConditionsKey$outboundSchema.optional(), + }) +); export function conditions1ToJSON(conditions1: Conditions1): string { return JSON.stringify(Conditions1$outboundSchema.parse(conditions1)); @@ -366,12 +384,14 @@ export const CreateConditionalBypassConditions$outboundSchema: z.ZodType< CreateConditionalBypassConditions$Outbound, z.ZodTypeDef, CreateConditionalBypassConditions -> = smartUnion([ - z.lazy(() => Conditions3$outboundSchema), - z.lazy(() => Conditions1$outboundSchema), - z.lazy(() => Conditions2$outboundSchema), - z.lazy(() => Conditions4$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Conditions3$outboundSchema), + z.lazy(() => Conditions1$outboundSchema), + z.lazy(() => Conditions2$outboundSchema), + z.lazy(() => Conditions4$outboundSchema), + ]) +); export function createConditionalBypassConditionsToJSON( createConditionalBypassConditions: CreateConditionalBypassConditions, @@ -398,16 +418,16 @@ export const CreateConditionalBypassConditionGroup$outboundSchema: z.ZodType< CreateConditionalBypassConditionGroup$Outbound, z.ZodTypeDef, CreateConditionalBypassConditionGroup -> = z.object({ - conditions: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(smartUnion([ z.lazy(() => Conditions3$outboundSchema), z.lazy(() => Conditions1$outboundSchema), z.lazy(() => Conditions2$outboundSchema), z.lazy(() => Conditions4$outboundSchema), - ]), - ), -}); + ])), + }) +); export function createConditionalBypassConditionGroupToJSON( createConditionalBypassConditionGroup: CreateConditionalBypassConditionGroup, @@ -431,13 +451,15 @@ export const CreateConditionalBypassRequestBody$outboundSchema: z.ZodType< CreateConditionalBypassRequestBody$Outbound, z.ZodTypeDef, CreateConditionalBypassRequestBody -> = z.object({ - domain: z.string(), - conditionGroup: z.array( - z.lazy(() => CreateConditionalBypassConditionGroup$outboundSchema), - ), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + conditionGroup: z.array( + z.lazy(() => CreateConditionalBypassConditionGroup$outboundSchema), + ), + note: z.string().optional(), + }) +); export function createConditionalBypassRequestBodyToJSON( createConditionalBypassRequestBody: CreateConditionalBypassRequestBody, @@ -462,17 +484,19 @@ export const CreateConditionalBypassRequest$outboundSchema: z.ZodType< CreateConditionalBypassRequest$Outbound, z.ZodTypeDef, CreateConditionalBypassRequest -> = z.object({ - projectId: z.string(), - slug: z.string().optional(), - teamId: z.string().optional(), - requestBody: z.lazy(() => CreateConditionalBypassRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + slug: z.string().optional(), + teamId: z.string().optional(), + requestBody: z.lazy(() => CreateConditionalBypassRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createConditionalBypassRequestToJSON( createConditionalBypassRequest: CreateConditionalBypassRequest, @@ -487,19 +511,23 @@ export function createConditionalBypassRequestToJSON( /** @internal */ export const CreateConditionalBypassOp$inboundSchema: z.ZodNativeEnum< typeof CreateConditionalBypassOp -> = z.nativeEnum(CreateConditionalBypassOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateConditionalBypassOp)); /** @internal */ export const CreateConditionalBypassType$inboundSchema: z.ZodNativeEnum< typeof CreateConditionalBypassType -> = z.nativeEnum(CreateConditionalBypassType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConditionalBypassType) +); /** @internal */ export const CreateConditionalBypassValue$inboundSchema: z.ZodType< CreateConditionalBypassValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function createConditionalBypassValueFromJSON( jsonString: string, @@ -516,15 +544,17 @@ export const CreateConditionalBypassSecurityConditions$inboundSchema: z.ZodType< CreateConditionalBypassSecurityConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: CreateConditionalBypassOp$inboundSchema, - type: CreateConditionalBypassType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: CreateConditionalBypassOp$inboundSchema, + type: CreateConditionalBypassType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function createConditionalBypassSecurityConditionsFromJSON( jsonString: string, @@ -548,11 +578,13 @@ export const CreateConditionalBypassSecurityConditionGroup$inboundSchema: CreateConditionalBypassSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => CreateConditionalBypassSecurityConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => CreateConditionalBypassSecurityConditions$inboundSchema), + ), + }) + ); export function createConditionalBypassSecurityConditionGroupFromJSON( jsonString: string, @@ -575,18 +607,20 @@ export const CreateConditionalBypassResponseBody$inboundSchema: z.ZodType< CreateConditionalBypassResponseBody, z.ZodTypeDef, unknown -> = z.object({ - condition: types.string(), - conditionGroup: z.array( - z.lazy(() => CreateConditionalBypassSecurityConditionGroup$inboundSchema), - ), - createdAt: types.string(), - domain: types.string(), - id: types.string(), - note: types.optional(types.string()), - projectId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + condition: types.string(), + conditionGroup: z.array( + z.lazy(() => CreateConditionalBypassSecurityConditionGroup$inboundSchema), + ), + createdAt: types.string(), + domain: types.string(), + id: types.string(), + note: types.optional(types.string()), + projectId: types.string(), + updatedAt: types.string(), + }) +); export function createConditionalBypassResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createconfigurablelogdrainop.ts b/src/models/createconfigurablelogdrainop.ts index 9957007fc0..de6fdcbc7b 100644 --- a/src/models/createconfigurablelogdrainop.ts +++ b/src/models/createconfigurablelogdrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -88,18 +88,21 @@ export type CreateConfigurableLogDrainResponseBody = {}; /** @internal */ export const DeliveryFormat$outboundSchema: z.ZodNativeEnum< typeof DeliveryFormat -> = z.nativeEnum(DeliveryFormat); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryFormat)); /** @internal */ export const CreateConfigurableLogDrainSources$outboundSchema: z.ZodNativeEnum< typeof CreateConfigurableLogDrainSources -> = z.nativeEnum(CreateConfigurableLogDrainSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConfigurableLogDrainSources) +); /** @internal */ export const CreateConfigurableLogDrainEnvironments$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateConfigurableLogDrainEnvironments, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateConfigurableLogDrainEnvironments) + ); /** @internal */ export type CreateConfigurableLogDrainRequestBody$Outbound = { @@ -119,18 +122,20 @@ export const CreateConfigurableLogDrainRequestBody$outboundSchema: z.ZodType< CreateConfigurableLogDrainRequestBody$Outbound, z.ZodTypeDef, CreateConfigurableLogDrainRequestBody -> = z.object({ - deliveryFormat: DeliveryFormat$outboundSchema, - url: z.string(), - headers: z.record(z.string()).optional(), - projectIds: z.array(z.string()).optional(), - sources: z.array(CreateConfigurableLogDrainSources$outboundSchema), - environments: z.array(CreateConfigurableLogDrainEnvironments$outboundSchema) - .optional(), - secret: z.string().optional(), - samplingRate: z.number().optional(), - name: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deliveryFormat: DeliveryFormat$outboundSchema, + url: z.string(), + headers: z.record(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + sources: z.array(CreateConfigurableLogDrainSources$outboundSchema), + environments: z.array(CreateConfigurableLogDrainEnvironments$outboundSchema) + .optional(), + secret: z.string().optional(), + samplingRate: z.number().optional(), + name: z.string().optional(), + }) +); export function createConfigurableLogDrainRequestBodyToJSON( createConfigurableLogDrainRequestBody: CreateConfigurableLogDrainRequestBody, @@ -154,17 +159,19 @@ export const CreateConfigurableLogDrainRequest$outboundSchema: z.ZodType< CreateConfigurableLogDrainRequest$Outbound, z.ZodTypeDef, CreateConfigurableLogDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateConfigurableLogDrainRequestBody$outboundSchema - ), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateConfigurableLogDrainRequestBody$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createConfigurableLogDrainRequestToJSON( createConfigurableLogDrainRequest: CreateConfigurableLogDrainRequest, @@ -181,7 +188,7 @@ export const CreateConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< CreateConfigurableLogDrainResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createConfigurableLogDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createcustomenvironmentop.ts b/src/models/createcustomenvironmentop.ts index 39fcd70220..4361df1d85 100644 --- a/src/models/createcustomenvironmentop.ts +++ b/src/models/createcustomenvironmentop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -196,7 +196,9 @@ export type CreateCustomEnvironmentResponseBody = { /** @internal */ export const CreateCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof CreateCustomEnvironmentType -> = z.nativeEnum(CreateCustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCustomEnvironmentType) +); /** @internal */ export type CreateCustomEnvironmentBranchMatcher$Outbound = { @@ -209,10 +211,12 @@ export const CreateCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< CreateCustomEnvironmentBranchMatcher$Outbound, z.ZodTypeDef, CreateCustomEnvironmentBranchMatcher -> = z.object({ - type: CreateCustomEnvironmentType$outboundSchema, - pattern: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateCustomEnvironmentType$outboundSchema, + pattern: z.string(), + }) +); export function createCustomEnvironmentBranchMatcherToJSON( createCustomEnvironmentBranchMatcher: CreateCustomEnvironmentBranchMatcher, @@ -237,14 +241,16 @@ export const CreateCustomEnvironmentRequestBody$outboundSchema: z.ZodType< CreateCustomEnvironmentRequestBody$Outbound, z.ZodTypeDef, CreateCustomEnvironmentRequestBody -> = z.object({ - slug: z.string().optional(), - description: z.string().optional(), - branchMatcher: z.lazy(() => - CreateCustomEnvironmentBranchMatcher$outboundSchema - ).optional(), - copyEnvVarsFrom: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string().optional(), + description: z.string().optional(), + branchMatcher: z.lazy(() => + CreateCustomEnvironmentBranchMatcher$outboundSchema + ).optional(), + copyEnvVarsFrom: z.string().optional(), + }) +); export function createCustomEnvironmentRequestBodyToJSON( createCustomEnvironmentRequestBody: CreateCustomEnvironmentRequestBody, @@ -269,17 +275,19 @@ export const CreateCustomEnvironmentRequest$outboundSchema: z.ZodType< CreateCustomEnvironmentRequest$Outbound, z.ZodTypeDef, CreateCustomEnvironmentRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateCustomEnvironmentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateCustomEnvironmentRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createCustomEnvironmentRequestToJSON( createCustomEnvironmentRequest: CreateCustomEnvironmentRequest, @@ -293,8 +301,10 @@ export function createCustomEnvironmentRequestToJSON( /** @internal */ export const CreateCustomEnvironmentEnvironmentResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateCustomEnvironmentEnvironmentResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCustomEnvironmentEnvironmentResponseType) + ); /** @internal */ export const CreateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: @@ -302,10 +312,12 @@ export const CreateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: CreateCustomEnvironmentEnvironmentBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: CreateCustomEnvironmentEnvironmentResponseType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: CreateCustomEnvironmentEnvironmentResponseType$inboundSchema, + }) + ); export function createCustomEnvironmentEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -328,12 +340,14 @@ export const CreateCustomEnvironmentVerification$inboundSchema: z.ZodType< CreateCustomEnvironmentVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function createCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -351,21 +365,23 @@ export const CreateCustomEnvironmentDomains$inboundSchema: z.ZodType< CreateCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => CreateCustomEnvironmentVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => CreateCustomEnvironmentVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function createCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -379,30 +395,35 @@ export function createCustomEnvironmentDomainsFromJSON( /** @internal */ export const CreateCustomEnvironmentEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateCustomEnvironmentEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateCustomEnvironmentEnvironmentType) + ); /** @internal */ export const CreateCustomEnvironmentResponseBody$inboundSchema: z.ZodType< CreateCustomEnvironmentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => CreateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => CreateCustomEnvironmentDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: CreateCustomEnvironmentEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => + CreateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema + ), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => CreateCustomEnvironmentDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: CreateCustomEnvironmentEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function createCustomEnvironmentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createdeploymentcheckrunop.ts b/src/models/createdeploymentcheckrunop.ts index 2cda101406..583b50004a 100644 --- a/src/models/createdeploymentcheckrunop.ts +++ b/src/models/createdeploymentcheckrunop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -376,9 +376,11 @@ export const CreateDeploymentCheckRunRequestBody$outboundSchema: z.ZodType< CreateDeploymentCheckRunRequestBody$Outbound, z.ZodTypeDef, CreateDeploymentCheckRunRequestBody -> = z.object({ - checkId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + checkId: z.string(), + }) +); export function createDeploymentCheckRunRequestBodyToJSON( createDeploymentCheckRunRequestBody: CreateDeploymentCheckRunRequestBody, @@ -403,17 +405,20 @@ export const CreateDeploymentCheckRunRequest$outboundSchema: z.ZodType< CreateDeploymentCheckRunRequest$Outbound, z.ZodTypeDef, CreateDeploymentCheckRunRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateDeploymentCheckRunRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateDeploymentCheckRunRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createDeploymentCheckRunRequestToJSON( createDeploymentCheckRunRequest: CreateDeploymentCheckRunRequest, @@ -427,25 +432,29 @@ export function createDeploymentCheckRunRequestToJSON( /** @internal */ export const CreateDeploymentCheckRunResponseBodyBlocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunResponseBodyBlocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunResponseBodyBlocks) + ); /** @internal */ export const ResponseBodyConclusion$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyConclusion -> = z.nativeEnum(ResponseBodyConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyConclusion)); /** @internal */ export const ResponseBodyExpectationRef$inboundSchema: z.ZodType< ResponseBodyExpectationRef, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) +); export function responseBodyExpectationRefFromJSON( jsonString: string, @@ -459,25 +468,31 @@ export function responseBodyExpectationRefFromJSON( /** @internal */ export const CreateDeploymentCheckRunResponseBodyRequires$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunResponseBodyRequires); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunResponseBodyRequires) + ); /** @internal */ export const CreateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunResponseBodyChecksV2Status); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunResponseBodyChecksV2Status) + ); /** @internal */ export const ResponseBodyTaskSummary$inboundSchema: z.ZodType< ResponseBodyTaskSummary, z.ZodTypeDef, unknown -> = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) +); export function responseBodyTaskSummaryFromJSON( jsonString: string, @@ -491,18 +506,22 @@ export function responseBodyTaskSummaryFromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunSourceChecksV2SubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceChecksV2SubKind) + ); /** @internal */ export const CreateDeploymentCheckRunSourceChecksV22$inboundSchema: z.ZodType< CreateDeploymentCheckRunSourceChecksV22, z.ZodTypeDef, unknown -> = z.object({ - origin: types.literal("platform"), - subKind: CreateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.literal("platform"), + subKind: CreateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, + }) +); export function createDeploymentCheckRunSourceChecksV22FromJSON( jsonString: string, @@ -522,22 +541,25 @@ export function createDeploymentCheckRunSourceChecksV22FromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceSubKind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentCheckRunSourceSubKind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceSubKind) + ); /** @internal */ export const CreateDeploymentCheckRunSourceChecksV21$inboundSchema: z.ZodType< CreateDeploymentCheckRunSourceChecksV21, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.optional(types.number()), - invocationId: types.string(), - jobDefinitionId: types.string(), - origin: types.literal("config"), - subKind: CreateDeploymentCheckRunSourceSubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.optional(types.number()), + invocationId: types.string(), + jobDefinitionId: types.string(), + origin: types.literal("config"), + subKind: CreateDeploymentCheckRunSourceSubKind$inboundSchema, + }) +); export function createDeploymentCheckRunSourceChecksV21FromJSON( jsonString: string, @@ -558,10 +580,12 @@ export function createDeploymentCheckRunSourceChecksV21FromJSON( /** @internal */ export const CreateDeploymentCheckRunResponseBodySource$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => CreateDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSourceChecksV22$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSourceChecksV22$inboundSchema), + ]) + ); export function createDeploymentCheckRunResponseBodySourceFromJSON( jsonString: string, @@ -584,42 +608,44 @@ export const CreateDeploymentCheckRunResponseBody2$inboundSchema: z.ZodType< CreateDeploymentCheckRunResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional( - CreateDeploymentCheckRunResponseBodyBlocks$inboundSchema, - ), - completedAt: types.optional(types.number()), - conclusion: types.optional(ResponseBodyConclusion$inboundSchema), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => ResponseBodyExpectationRef$inboundSchema), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - CreateDeploymentCheckRunResponseBodyRequires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: CreateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => ResponseBodyTaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - source: z.union([ - z.lazy(() => CreateDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSourceChecksV22$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + CreateDeploymentCheckRunResponseBodyBlocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional(ResponseBodyConclusion$inboundSchema), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional( + z.lazy(() => ResponseBodyExpectationRef$inboundSchema), + ), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + CreateDeploymentCheckRunResponseBodyRequires$inboundSchema, + ), + startedAt: types.optional(types.number()), + status: CreateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional( + z.lazy(() => ResponseBodyTaskSummary$inboundSchema), + ), + timeout: types.number(), + updatedAt: types.number(), + source: z.union([ + z.lazy(() => CreateDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSourceChecksV22$inboundSchema), + ]), + }) +); export function createDeploymentCheckRunResponseBody2FromJSON( jsonString: string, @@ -635,24 +661,28 @@ export function createDeploymentCheckRunResponseBody2FromJSON( /** @internal */ export const ResponseBodyBlocks$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyBlocks -> = z.nativeEnum(ResponseBodyBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyBlocks)); /** @internal */ export const CreateDeploymentCheckRunResponseBodyConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunResponseBodyConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunResponseBodyConclusion) + ); /** @internal */ export const ExpectationRef$inboundSchema: z.ZodType< ExpectationRef, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) +); export function expectationRefFromJSON( jsonString: string, @@ -667,24 +697,28 @@ export function expectationRefFromJSON( /** @internal */ export const ResponseBodyRequires$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyRequires -> = z.nativeEnum(ResponseBodyRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyRequires)); /** @internal */ export const CreateDeploymentCheckRunResponseBodyStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunResponseBodyStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunResponseBodyStatus) + ); /** @internal */ export const TaskSummary$inboundSchema: z.ZodType< TaskSummary, z.ZodTypeDef, unknown -> = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) +); export function taskSummaryFromJSON( jsonString: string, @@ -698,26 +732,29 @@ export function taskSummaryFromJSON( /** @internal */ export const SourceOrigin$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(SourceOrigin); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourceOrigin)); /** @internal */ export const CreateDeploymentCheckRunSelectionJob$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentCheckRunSelectionJob, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSelectionJob) + ); /** @internal */ export const Selection3$inboundSchema: z.ZodType< Selection3, z.ZodTypeDef, unknown -> = z.object({ - failIfNoMatch: types.optional(types.boolean()), - filters: z.array(types.string()), - job: CreateDeploymentCheckRunSelectionJob$inboundSchema, - kind: types.literal("turborepo"), - task: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failIfNoMatch: types.optional(types.boolean()), + filters: z.array(types.string()), + job: CreateDeploymentCheckRunSelectionJob$inboundSchema, + kind: types.literal("turborepo"), + task: types.string(), + }) +); export function selection3FromJSON( jsonString: string, @@ -734,9 +771,11 @@ export const Selection2$inboundSchema: z.ZodType< Selection2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + }) +); export function selection2FromJSON( jsonString: string, @@ -753,9 +792,11 @@ export const Selection1$inboundSchema: z.ZodType< Selection1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("invocation"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("invocation"), + }) +); export function selection1FromJSON( jsonString: string, @@ -772,11 +813,13 @@ export const Selection$inboundSchema: z.ZodType< Selection, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Selection1$inboundSchema), - z.lazy(() => Selection2$inboundSchema), - z.lazy(() => Selection3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Selection1$inboundSchema), + z.lazy(() => Selection2$inboundSchema), + z.lazy(() => Selection3$inboundSchema), + ]) +); export function selectionFromJSON( jsonString: string, @@ -791,19 +834,21 @@ export function selectionFromJSON( /** @internal */ export const SourceSubKind$inboundSchema: z.ZodNativeEnum< typeof SourceSubKind -> = z.nativeEnum(SourceSubKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourceSubKind)); /** @internal */ export const Source5$inboundSchema: z.ZodType = - z.object({ - origin: SourceOrigin$inboundSchema, - selection: z.union([ - z.lazy(() => Selection1$inboundSchema), - z.lazy(() => Selection2$inboundSchema), - z.lazy(() => Selection3$inboundSchema), - ]), - subKind: SourceSubKind$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: SourceOrigin$inboundSchema, + selection: z.union([ + z.lazy(() => Selection1$inboundSchema), + z.lazy(() => Selection2$inboundSchema), + z.lazy(() => Selection3$inboundSchema), + ]), + subKind: SourceSubKind$inboundSchema, + }) + ); export function source5FromJSON( jsonString: string, @@ -818,20 +863,24 @@ export function source5FromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceChecksV2ResponseOrigin$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentCheckRunSourceChecksV2ResponseOrigin); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceChecksV2ResponseOrigin) + ); /** @internal */ -export const SubKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SubKind); +export const SubKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SubKind)); /** @internal */ export const Source4$inboundSchema: z.ZodType = - z.object({ - origin: types.optional( - CreateDeploymentCheckRunSourceChecksV2ResponseOrigin$inboundSchema, - ), - subKind: types.optional(SubKind$inboundSchema), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.optional( + CreateDeploymentCheckRunSourceChecksV2ResponseOrigin$inboundSchema, + ), + subKind: types.optional(SubKind$inboundSchema), + }) + ); export function source4FromJSON( jsonString: string, @@ -845,25 +894,30 @@ export function source4FromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunSourceChecksV2ResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceChecksV2ResponseKind) + ); /** @internal */ export const CreateDeploymentCheckRunSourceProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentCheckRunSourceProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceProvider) + ); /** @internal */ export const CreateDeploymentCheckRunSource3$inboundSchema: z.ZodType< CreateDeploymentCheckRunSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: CreateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, - provider: CreateDeploymentCheckRunSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: CreateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, + provider: CreateDeploymentCheckRunSourceProvider$inboundSchema, + }) +); export function createDeploymentCheckRunSource3FromJSON( jsonString: string, @@ -877,18 +931,22 @@ export function createDeploymentCheckRunSource3FromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceChecksV2Kind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCheckRunSourceChecksV2Kind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceChecksV2Kind) + ); /** @internal */ export const CreateDeploymentCheckRunSource2$inboundSchema: z.ZodType< CreateDeploymentCheckRunSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: CreateDeploymentCheckRunSourceChecksV2Kind$inboundSchema, - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateDeploymentCheckRunSourceChecksV2Kind$inboundSchema, + webhookId: types.optional(types.string()), + }) +); export function createDeploymentCheckRunSource2FromJSON( jsonString: string, @@ -903,20 +961,24 @@ export function createDeploymentCheckRunSource2FromJSON( /** @internal */ export const CreateDeploymentCheckRunSourceKind$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentCheckRunSourceKind -> = z.nativeEnum(CreateDeploymentCheckRunSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCheckRunSourceKind) +); /** @internal */ export const CreateDeploymentCheckRunSource1$inboundSchema: z.ZodType< CreateDeploymentCheckRunSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: CreateDeploymentCheckRunSourceKind$inboundSchema, - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: CreateDeploymentCheckRunSourceKind$inboundSchema, + resourceId: types.optional(types.string()), + }) +); export function createDeploymentCheckRunSource1FromJSON( jsonString: string, @@ -933,13 +995,15 @@ export const ResponseBodySource$inboundSchema: z.ZodType< ResponseBodySource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => Source5$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => Source4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSource3$inboundSchema), + z.lazy(() => Source5$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => Source4$inboundSchema), + ]) +); export function responseBodySourceFromJSON( jsonString: string, @@ -956,40 +1020,42 @@ export const CreateDeploymentCheckRunResponseBody1$inboundSchema: z.ZodType< CreateDeploymentCheckRunResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional(ResponseBodyBlocks$inboundSchema), - completedAt: types.optional(types.number()), - conclusion: types.optional( - CreateDeploymentCheckRunResponseBodyConclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional(z.lazy(() => ExpectationRef$inboundSchema)), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional(ResponseBodyRequires$inboundSchema), - startedAt: types.optional(types.number()), - status: CreateDeploymentCheckRunResponseBodyStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional(z.lazy(() => TaskSummary$inboundSchema)), - timeout: types.number(), - updatedAt: types.number(), - checkId: types.string(), - source: smartUnion([ - z.lazy(() => CreateDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => Source5$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => Source4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional(ResponseBodyBlocks$inboundSchema), + completedAt: types.optional(types.number()), + conclusion: types.optional( + CreateDeploymentCheckRunResponseBodyConclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional(z.lazy(() => ExpectationRef$inboundSchema)), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional(ResponseBodyRequires$inboundSchema), + startedAt: types.optional(types.number()), + status: CreateDeploymentCheckRunResponseBodyStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => TaskSummary$inboundSchema)), + timeout: types.number(), + updatedAt: types.number(), + checkId: types.string(), + source: smartUnion([ + z.lazy(() => CreateDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSource3$inboundSchema), + z.lazy(() => Source5$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => Source4$inboundSchema), + ]), + }) +); export function createDeploymentCheckRunResponseBody1FromJSON( jsonString: string, @@ -1007,10 +1073,12 @@ export const CreateDeploymentCheckRunResponseBody$inboundSchema: z.ZodType< CreateDeploymentCheckRunResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentCheckRunResponseBody1$inboundSchema), - z.lazy(() => CreateDeploymentCheckRunResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentCheckRunResponseBody1$inboundSchema), + z.lazy(() => CreateDeploymentCheckRunResponseBody2$inboundSchema), + ]) +); export function createDeploymentCheckRunResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createdeploymentgitsource1.ts b/src/models/createdeploymentgitsource1.ts index d60079990c..f0be439974 100644 --- a/src/models/createdeploymentgitsource1.ts +++ b/src/models/createdeploymentgitsource1.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1746,18 +1746,22 @@ export type CreateDeploymentGitSource1 = { }; /** @internal */ -export const ForceNew$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(ForceNew); +export const ForceNew$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ForceNew)); /** @internal */ export const SkipAutoDetectionConfirmation$outboundSchema: z.ZodNativeEnum< typeof SkipAutoDetectionConfirmation -> = z.nativeEnum(SkipAutoDetectionConfirmation); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SkipAutoDetectionConfirmation) +); /** @internal */ export const CreateDeploymentBuildMachine$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentBuildMachine -> = z.nativeEnum(CreateDeploymentBuildMachine); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachine) +); /** @internal */ export type UploadedFile$Outbound = { @@ -1771,19 +1775,21 @@ export const UploadedFile$outboundSchema: z.ZodType< UploadedFile$Outbound, z.ZodTypeDef, UploadedFile -> = z.object({ - file: z.string(), - sha: z.string().optional(), - size: z.number().int().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + file: z.string(), + sha: z.string().optional(), + size: z.number().int().optional(), + }) +); export function uploadedFileToJSON(uploadedFile: UploadedFile): string { return JSON.stringify(UploadedFile$outboundSchema.parse(uploadedFile)); } /** @internal */ -export const Encoding$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Encoding); +export const Encoding$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Encoding)); /** @internal */ export type InlinedFile$Outbound = { @@ -1797,11 +1803,13 @@ export const InlinedFile$outboundSchema: z.ZodType< InlinedFile$Outbound, z.ZodTypeDef, InlinedFile -> = z.object({ - data: z.string(), - encoding: Encoding$outboundSchema.optional(), - file: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.string(), + encoding: Encoding$outboundSchema.optional(), + file: z.string(), + }) +); export function inlinedFileToJSON(inlinedFile: InlinedFile): string { return JSON.stringify(InlinedFile$outboundSchema.parse(inlinedFile)); @@ -1815,10 +1823,12 @@ export const Files$outboundSchema: z.ZodType< Files$Outbound, z.ZodTypeDef, Files -> = smartUnion([ - z.lazy(() => InlinedFile$outboundSchema), - z.lazy(() => UploadedFile$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => InlinedFile$outboundSchema), + z.lazy(() => UploadedFile$outboundSchema), + ]) +); export function filesToJSON(files: Files): string { return JSON.stringify(Files$outboundSchema.parse(files)); @@ -1845,20 +1855,22 @@ export const GitMetadata$outboundSchema: z.ZodType< GitMetadata$Outbound, z.ZodTypeDef, GitMetadata -> = z.object({ - remoteUrl: z.string().optional(), - commitAuthorName: z.string().optional(), - commitAuthorEmail: z.string().optional(), - commitMessage: z.string().optional(), - commitRef: z.string().optional(), - commitSha: z.string().optional(), - dirty: z.boolean().optional(), - ci: z.boolean().optional(), - ciType: z.string().optional(), - ciGitProviderUsername: z.string().optional(), - ciGitRepoVisibility: z.string().optional(), - rootDirectory: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + remoteUrl: z.string().optional(), + commitAuthorName: z.string().optional(), + commitAuthorEmail: z.string().optional(), + commitMessage: z.string().optional(), + commitRef: z.string().optional(), + commitSha: z.string().optional(), + dirty: z.boolean().optional(), + ci: z.boolean().optional(), + ciType: z.string().optional(), + ciGitProviderUsername: z.string().optional(), + ciGitRepoVisibility: z.string().optional(), + rootDirectory: z.string().optional(), + }) +); export function gitMetadataToJSON(gitMetadata: GitMetadata): string { return JSON.stringify(GitMetadata$outboundSchema.parse(gitMetadata)); @@ -1868,7 +1880,9 @@ export function gitMetadataToJSON(gitMetadata: GitMetadata): string { export const CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type - > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type) + ); /** @internal */ export type GitSource9$Outbound = { @@ -1885,15 +1899,17 @@ export const GitSource9$outboundSchema: z.ZodType< GitSource9$Outbound, z.ZodTypeDef, GitSource9 -> = z.object({ - owner: z.string().optional(), - ref: z.string(), - repo: z.string().optional(), - repoId: z.string(), - sha: z.string().optional(), - type: - CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: z.string().optional(), + ref: z.string(), + repo: z.string().optional(), + repoId: z.string(), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBody9Type$outboundSchema, + }) +); export function gitSource9ToJSON(gitSource9: GitSource9): string { return JSON.stringify(GitSource9$outboundSchema.parse(gitSource9)); @@ -1903,7 +1919,9 @@ export function gitSource9ToJSON(gitSource9: GitSource9): string { export const CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type - > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type) + ); /** @internal */ export type GitSource8$Outbound = { @@ -1919,14 +1937,16 @@ export const GitSource8$outboundSchema: z.ZodType< GitSource8$Outbound, z.ZodTypeDef, GitSource8 -> = z.object({ - owner: z.string(), - ref: z.string(), - sha: z.string().optional(), - slug: z.string(), - type: - CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: z.string(), + ref: z.string(), + sha: z.string().optional(), + slug: z.string(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type$outboundSchema, + }) +); export function gitSource8ToJSON(gitSource8: GitSource8): string { return JSON.stringify(GitSource8$outboundSchema.parse(gitSource8)); @@ -1936,7 +1956,9 @@ export function gitSource8ToJSON(gitSource8: GitSource8): string { export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type - > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type) + ); /** @internal */ export type GitSource7$Outbound = { @@ -1952,14 +1974,16 @@ export const GitSource7$outboundSchema: z.ZodType< GitSource7$Outbound, z.ZodTypeDef, GitSource7 -> = z.object({ - ref: z.string(), - repoUuid: z.string(), - sha: z.string().optional(), - type: - CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema, - workspaceUuid: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ref: z.string(), + repoUuid: z.string(), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema, + workspaceUuid: z.string().optional(), + }) +); export function gitSource7ToJSON(gitSource7: GitSource7): string { return JSON.stringify(GitSource7$outboundSchema.parse(gitSource7)); @@ -1973,7 +1997,7 @@ export const ProjectId$outboundSchema: z.ZodType< ProjectId$Outbound, z.ZodTypeDef, ProjectId -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function projectIdToJSON(projectId: ProjectId): string { return JSON.stringify(ProjectId$outboundSchema.parse(projectId)); @@ -1983,7 +2007,9 @@ export function projectIdToJSON(projectId: ProjectId): string { export const CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type - > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type) + ); /** @internal */ export type GitSource6$Outbound = { @@ -1998,13 +2024,15 @@ export const GitSource6$outboundSchema: z.ZodType< GitSource6$Outbound, z.ZodTypeDef, GitSource6 -> = z.object({ - projectId: smartUnion([z.number(), z.string()]), - ref: z.string(), - sha: z.string().optional(), - type: - CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: smartUnion([z.number(), z.string()]), + ref: z.string(), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type$outboundSchema, + }) +); export function gitSource6ToJSON(gitSource6: GitSource6): string { return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6)); @@ -2014,7 +2042,9 @@ export function gitSource6ToJSON(gitSource6: GitSource6): string { export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType - > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType) + ); /** @internal */ export type GitSource5$Outbound = { @@ -2030,14 +2060,16 @@ export const GitSource5$outboundSchema: z.ZodType< GitSource5$Outbound, z.ZodTypeDef, GitSource5 -> = z.object({ - org: z.string(), - ref: z.string(), - repo: z.string(), - sha: z.string().optional(), - type: - CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: z.string(), + ref: z.string(), + repo: z.string(), + sha: z.string().optional(), + type: + CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema, + }) +); export function gitSource5ToJSON(gitSource5: GitSource5): string { return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5)); @@ -2051,7 +2083,7 @@ export const GitSourceRepoId$outboundSchema: z.ZodType< GitSourceRepoId$Outbound, z.ZodTypeDef, GitSourceRepoId -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function gitSourceRepoIdToJSON( gitSourceRepoId: GitSourceRepoId, @@ -2061,8 +2093,10 @@ export function gitSourceRepoIdToJSON( /** @internal */ export const CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsRequestType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestType) + ); /** @internal */ export type GitSource4$Outbound = { @@ -2077,12 +2111,14 @@ export const GitSource4$outboundSchema: z.ZodType< GitSource4$Outbound, z.ZodTypeDef, GitSource4 -> = z.object({ - ref: z.string(), - repoId: smartUnion([z.number(), z.string()]), - sha: z.string().optional(), - type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ref: z.string(), + repoId: smartUnion([z.number(), z.string()]), + sha: z.string().optional(), + type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema, + }) +); export function gitSource4ToJSON(gitSource4: GitSource4): string { return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4)); @@ -2090,8 +2126,10 @@ export function gitSource4ToJSON(gitSource4: GitSource4): string { /** @internal */ export const CreateDeploymentGitSourceDeploymentsType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsType) + ); /** @internal */ export type GitSource3$Outbound = { @@ -2107,13 +2145,15 @@ export const GitSource3$outboundSchema: z.ZodType< GitSource3$Outbound, z.ZodTypeDef, GitSource3 -> = z.object({ - org: z.string(), - ref: z.string(), - repo: z.string(), - sha: z.string().optional(), - type: CreateDeploymentGitSourceDeploymentsType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: z.string(), + ref: z.string(), + repo: z.string(), + sha: z.string().optional(), + type: CreateDeploymentGitSourceDeploymentsType$outboundSchema, + }) +); export function gitSource3ToJSON(gitSource3: GitSource3): string { return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3)); @@ -2127,7 +2167,7 @@ export const RepoId$outboundSchema: z.ZodType< RepoId$Outbound, z.ZodTypeDef, RepoId -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function repoIdToJSON(repoId: RepoId): string { return JSON.stringify(RepoId$outboundSchema.parse(repoId)); @@ -2136,7 +2176,9 @@ export function repoIdToJSON(repoId: RepoId): string { /** @internal */ export const CreateDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceType -> = z.nativeEnum(CreateDeploymentGitSourceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceType) +); /** @internal */ export type GitSource2$Outbound = { @@ -2151,12 +2193,14 @@ export const GitSource2$outboundSchema: z.ZodType< GitSource2$Outbound, z.ZodTypeDef, GitSource2 -> = z.object({ - ref: z.string(), - repoId: smartUnion([z.number(), z.string()]), - sha: z.string().optional(), - type: CreateDeploymentGitSourceType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ref: z.string(), + repoId: smartUnion([z.number(), z.string()]), + sha: z.string().optional(), + type: CreateDeploymentGitSourceType$outboundSchema, + }) +); export function gitSource2ToJSON(gitSource2: GitSource2): string { return JSON.stringify(GitSource2$outboundSchema.parse(gitSource2)); @@ -2165,7 +2209,7 @@ export function gitSource2ToJSON(gitSource2: GitSource2): string { /** @internal */ export const GitSourceType$outboundSchema: z.ZodNativeEnum< typeof GitSourceType -> = z.nativeEnum(GitSourceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitSourceType)); /** @internal */ export type GitSource1$Outbound = { @@ -2179,11 +2223,13 @@ export const GitSource1$outboundSchema: z.ZodType< GitSource1$Outbound, z.ZodTypeDef, GitSource1 -> = z.object({ - type: GitSourceType$outboundSchema, - repoId: z.string(), - sha: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: GitSourceType$outboundSchema, + repoId: z.string(), + sha: z.string(), + }) +); export function gitSource1ToJSON(gitSource1: GitSource1): string { return JSON.stringify(GitSource1$outboundSchema.parse(gitSource1)); @@ -2206,29 +2252,31 @@ export const GitSource$outboundSchema: z.ZodType< GitSource$Outbound, z.ZodTypeDef, GitSource -> = smartUnion([ - z.lazy(() => GitSource3$outboundSchema), - z.lazy(() => GitSource5$outboundSchema), - z.lazy(() => GitSource8$outboundSchema), - z.lazy(() => GitSource1$outboundSchema), - z.lazy(() => GitSource2$outboundSchema), - z.lazy(() => GitSource4$outboundSchema), - z.lazy(() => GitSource6$outboundSchema), - z.lazy(() => GitSource7$outboundSchema), - z.lazy(() => GitSource9$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GitSource3$outboundSchema), + z.lazy(() => GitSource5$outboundSchema), + z.lazy(() => GitSource8$outboundSchema), + z.lazy(() => GitSource1$outboundSchema), + z.lazy(() => GitSource2$outboundSchema), + z.lazy(() => GitSource4$outboundSchema), + z.lazy(() => GitSource6$outboundSchema), + z.lazy(() => GitSource7$outboundSchema), + z.lazy(() => GitSource9$outboundSchema), + ]) +); export function gitSourceToJSON(gitSource: GitSource): string { return JSON.stringify(GitSource$outboundSchema.parse(gitSource)); } /** @internal */ -export const Framework$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Framework); +export const Framework$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Framework)); /** @internal */ -export const NodeVersion$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(NodeVersion); +export const NodeVersion$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NodeVersion)); /** @internal */ export type ProjectSettings$Outbound = { @@ -2250,19 +2298,21 @@ export const ProjectSettings$outboundSchema: z.ZodType< ProjectSettings$Outbound, z.ZodTypeDef, ProjectSettings -> = z.object({ - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - framework: z.nullable(Framework$outboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - nodeVersion: NodeVersion$outboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + framework: z.nullable(Framework$outboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + nodeVersion: NodeVersion$outboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + }) +); export function projectSettingsToJSON( projectSettings: ProjectSettings, @@ -2303,37 +2353,39 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType< CreateDeploymentRequestBody$Outbound, z.ZodTypeDef, CreateDeploymentRequestBody -> = z.object({ - buildMachine: CreateDeploymentBuildMachine$outboundSchema.optional(), - customEnvironmentSlugOrId: z.string().optional(), - deploymentId: z.string().optional(), - files: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachine: CreateDeploymentBuildMachine$outboundSchema.optional(), + customEnvironmentSlugOrId: z.string().optional(), + deploymentId: z.string().optional(), + files: z.array(smartUnion([ z.lazy(() => InlinedFile$outboundSchema), z.lazy(() => UploadedFile$outboundSchema), - ]), - ).optional(), - gitAccessToken: z.string().optional(), - gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(), - gitSource: smartUnion([ - z.lazy(() => GitSource3$outboundSchema), - z.lazy(() => GitSource5$outboundSchema), - z.lazy(() => GitSource8$outboundSchema), - z.lazy(() => GitSource1$outboundSchema), - z.lazy(() => GitSource2$outboundSchema), - z.lazy(() => GitSource4$outboundSchema), - z.lazy(() => GitSource6$outboundSchema), - z.lazy(() => GitSource7$outboundSchema), - z.lazy(() => GitSource9$outboundSchema), - ]).optional(), - meta: z.record(z.string()).optional(), - monorepoManager: z.nullable(z.string()).optional(), - name: z.string(), - project: z.string().optional(), - projectSettings: z.lazy(() => ProjectSettings$outboundSchema).optional(), - target: z.string().optional(), - withLatestCommit: z.boolean().optional(), -}); + ])).optional(), + gitAccessToken: z.string().optional(), + gitMetadata: z.lazy(() => + GitMetadata$outboundSchema + ).optional(), + gitSource: smartUnion([ + z.lazy(() => GitSource3$outboundSchema), + z.lazy(() => GitSource5$outboundSchema), + z.lazy(() => GitSource8$outboundSchema), + z.lazy(() => GitSource1$outboundSchema), + z.lazy(() => GitSource2$outboundSchema), + z.lazy(() => GitSource4$outboundSchema), + z.lazy(() => GitSource6$outboundSchema), + z.lazy(() => GitSource7$outboundSchema), + z.lazy(() => GitSource9$outboundSchema), + ]).optional(), + meta: z.record(z.string()).optional(), + monorepoManager: z.nullable(z.string()).optional(), + name: z.string(), + project: z.string().optional(), + projectSettings: z.lazy(() => ProjectSettings$outboundSchema).optional(), + target: z.string().optional(), + withLatestCommit: z.boolean().optional(), + }) +); export function createDeploymentRequestBodyToJSON( createDeploymentRequestBody: CreateDeploymentRequestBody, @@ -2359,18 +2411,20 @@ export const CreateDeploymentRequest$outboundSchema: z.ZodType< CreateDeploymentRequest$Outbound, z.ZodTypeDef, CreateDeploymentRequest -> = z.object({ - forceNew: ForceNew$outboundSchema.optional(), - skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema - .optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + forceNew: ForceNew$outboundSchema.optional(), + skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema + .optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createDeploymentRequestToJSON( createDeploymentRequest: CreateDeploymentRequest, @@ -2385,7 +2439,9 @@ export const ResponseBodyAliasAssignedAt$inboundSchema: z.ZodType< ResponseBodyAliasAssignedAt, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function responseBodyAliasAssignedAtFromJSON( jsonString: string, @@ -2403,10 +2459,12 @@ export const CreateDeploymentResponseBodyDeploymentsAliasError$inboundSchema: CreateDeploymentResponseBodyDeploymentsAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function createDeploymentResponseBodyDeploymentsAliasErrorFromJSON( jsonString: string, @@ -2430,12 +2488,14 @@ export const CreateDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema: CreateDeploymentResponseBodyDeploymentsAliasWarning, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) + ); export function createDeploymentResponseBodyDeploymentsAliasWarningFromJSON( jsonString: string, @@ -2455,19 +2515,21 @@ export function createDeploymentResponseBodyDeploymentsAliasWarningFromJSON( /** @internal */ export const AtprotoKinds$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(AtprotoKinds); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AtprotoKinds)); /** @internal */ export const AtprotoSubscription$inboundSchema: z.ZodType< AtprotoSubscription, z.ZodTypeDef, unknown -> = z.object({ - collections: z.array(types.string()), - dids: types.optional(z.array(types.string())), - kinds: types.optional(z.array(AtprotoKinds$inboundSchema)), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + collections: z.array(types.string()), + dids: types.optional(z.array(types.string())), + kinds: types.optional(z.array(AtprotoKinds$inboundSchema)), + path: types.string(), + }) +); export function atprotoSubscriptionFromJSON( jsonString: string, @@ -2484,10 +2546,12 @@ export const CreateDeploymentAtproto2$inboundSchema: z.ZodType< CreateDeploymentAtproto2, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(true), - subscription: z.lazy(() => AtprotoSubscription$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(true), + subscription: z.lazy(() => AtprotoSubscription$inboundSchema), + }) +); export function createDeploymentAtproto2FromJSON( jsonString: string, @@ -2504,9 +2568,11 @@ export const CreateDeploymentAtproto1$inboundSchema: z.ZodType< CreateDeploymentAtproto1, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + }) +); export function createDeploymentAtproto1FromJSON( jsonString: string, @@ -2523,10 +2589,12 @@ export const ResponseBodyAtproto$inboundSchema: z.ZodType< ResponseBodyAtproto, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentAtproto2$inboundSchema), - z.lazy(() => CreateDeploymentAtproto1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentAtproto2$inboundSchema), + z.lazy(() => CreateDeploymentAtproto1$inboundSchema), + ]) +); export function responseBodyAtprotoFromJSON( jsonString: string, @@ -2543,11 +2611,13 @@ export const ResponseBodyCommitMeta$inboundSchema: z.ZodType< ResponseBodyCommitMeta, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - isVerified: types.optional(types.boolean()), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + isVerified: types.optional(types.boolean()), + name: types.optional(types.string()), + }) +); export function responseBodyCommitMetaFromJSON( jsonString: string, @@ -2564,7 +2634,9 @@ export const CreateDeploymentResponseBodyId$inboundSchema: z.ZodType< CreateDeploymentResponseBodyId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentResponseBodyIdFromJSON( jsonString: string, @@ -2581,12 +2653,14 @@ export const ResponseBodyGitUser$inboundSchema: z.ZodType< ResponseBodyGitUser, z.ZodTypeDef, unknown -> = z.object({ - id: smartUnion([types.string(), types.number()]), - login: types.string(), - provider: types.optional(types.string()), - type: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + login: types.string(), + provider: types.optional(types.string()), + type: types.optional(types.string()), + }) +); export function responseBodyGitUserFromJSON( jsonString: string, @@ -2603,11 +2677,13 @@ export const ResponseBodyVercelUser$inboundSchema: z.ZodType< ResponseBodyVercelUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - teamRoles: types.optional(z.array(types.string())), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + teamRoles: types.optional(z.array(types.string())), + username: types.string(), + }) +); export function responseBodyVercelUserFromJSON( jsonString: string, @@ -2624,15 +2700,17 @@ export const ResponseBodyAttribution$inboundSchema: z.ZodType< ResponseBodyAttribution, z.ZodTypeDef, unknown -> = z.object({ - commitMeta: types.optional( - z.lazy(() => ResponseBodyCommitMeta$inboundSchema), - ), - gitUser: types.optional(z.lazy(() => ResponseBodyGitUser$inboundSchema)), - vercelUser: types.optional( - z.lazy(() => ResponseBodyVercelUser$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMeta: types.optional( + z.lazy(() => ResponseBodyCommitMeta$inboundSchema), + ), + gitUser: types.optional(z.lazy(() => ResponseBodyGitUser$inboundSchema)), + vercelUser: types.optional( + z.lazy(() => ResponseBodyVercelUser$inboundSchema), + ), + }) +); export function responseBodyAttributionFromJSON( jsonString: string, @@ -2649,9 +2727,11 @@ export const ResponseBodyBuild$inboundSchema: z.ZodType< ResponseBodyBuild, z.ZodTypeDef, unknown -> = z.object({ - env: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: z.array(types.string()), + }) +); export function responseBodyBuildFromJSON( jsonString: string, @@ -2668,11 +2748,13 @@ export const ResponseBodyBuilds$inboundSchema: z.ZodType< ResponseBodyBuilds, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional(z.record(z.any())), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional(z.record(z.any())), + src: types.optional(types.string()), + use: types.string(), + }) +); export function responseBodyBuildsFromJSON( jsonString: string, @@ -2686,19 +2768,23 @@ export function responseBodyBuildsFromJSON( /** @internal */ export const CreateDeploymentResponseBodyDeploymentsState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsState) + ); /** @internal */ export const ResponseBodyDeploymentAlias$inboundSchema: z.ZodType< ResponseBodyDeploymentAlias, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - startedAt: types.number(), - state: CreateDeploymentResponseBodyDeploymentsState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + startedAt: types.number(), + state: CreateDeploymentResponseBodyDeploymentsState$inboundSchema, + }) +); export function responseBodyDeploymentAliasFromJSON( jsonString: string, @@ -2715,13 +2801,15 @@ export const CreateDeploymentResponseBodyChecks$inboundSchema: z.ZodType< CreateDeploymentResponseBodyChecks, z.ZodTypeDef, unknown -> = z.object({ - "deployment-alias": z.lazy(() => ResponseBodyDeploymentAlias$inboundSchema), -}).transform((v) => { - return remap$(v, { - "deployment-alias": "deploymentAlias", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "deployment-alias": z.lazy(() => ResponseBodyDeploymentAlias$inboundSchema), + }).transform((v) => { + return remap$(v, { + "deployment-alias": "deploymentAlias", + }); + }) +); export function createDeploymentResponseBodyChecksFromJSON( jsonString: string, @@ -2736,39 +2824,49 @@ export function createDeploymentResponseBodyChecksFromJSON( /** @internal */ export const CreateDeploymentResponseBodyChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyChecksConclusion) + ); /** @internal */ export const CreateDeploymentResponseBodyChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyChecksState) + ); /** @internal */ export const ResponseBodyFunctionMemoryType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionMemoryType -> = z.nativeEnum(ResponseBodyFunctionMemoryType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyFunctionMemoryType) +); /** @internal */ export const ResponseBodyFunctionType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionType -> = z.nativeEnum(ResponseBodyFunctionType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyFunctionType)); /** @internal */ export const CreateDeploymentResponseBodyConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyConfiguration) + ); /** @internal */ export const CreateDeploymentResponseBodyBuildQueue$inboundSchema: z.ZodType< CreateDeploymentResponseBodyBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - CreateDeploymentResponseBodyConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + CreateDeploymentResponseBodyConfiguration$inboundSchema, + ), + }) +); export function createDeploymentResponseBodyBuildQueueFromJSON( jsonString: string, @@ -2784,12 +2882,14 @@ export function createDeploymentResponseBodyBuildQueueFromJSON( /** @internal */ export const ResponseBodyElasticConcurrency$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyElasticConcurrency -> = z.nativeEnum(ResponseBodyElasticConcurrency); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyElasticConcurrency) +); /** @internal */ export const ResponseBodyPurchaseType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyPurchaseType -> = z.nativeEnum(ResponseBodyPurchaseType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyPurchaseType)); /** @internal */ export const CreateDeploymentResponseBodyDeploymentsBuildMachine$inboundSchema: @@ -2797,9 +2897,12 @@ export const CreateDeploymentResponseBodyDeploymentsBuildMachine$inboundSchema: CreateDeploymentResponseBodyDeploymentsBuildMachine, z.ZodTypeDef, unknown - > = z.object({ - purchaseType: z.nullable(ResponseBodyPurchaseType$inboundSchema).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: z.nullable(ResponseBodyPurchaseType$inboundSchema) + .optional(), + }) + ); export function createDeploymentResponseBodyDeploymentsBuildMachineFromJSON( jsonString: string, @@ -2820,19 +2923,19 @@ export function createDeploymentResponseBodyDeploymentsBuildMachineFromJSON( /** @internal */ export const CreateDeploymentResponseBodyResourceConfig$inboundSchema: z.ZodType = - z.object({ - buildQueue: types.optional( - z.lazy(() => CreateDeploymentResponseBodyBuildQueue$inboundSchema), - ), - elasticConcurrency: types.optional( - ResponseBodyElasticConcurrency$inboundSchema, - ), - buildMachine: types.optional( - z.lazy(() => - CreateDeploymentResponseBodyDeploymentsBuildMachine$inboundSchema + /* @__PURE__ */ lazySchema$(() => + z.object({ + buildQueue: types.optional( + z.lazy(() => CreateDeploymentResponseBodyBuildQueue$inboundSchema), ), - ), - }); + elasticConcurrency: types.optional( + ResponseBodyElasticConcurrency$inboundSchema, + ), + buildMachine: types.optional(z.lazy(() => + CreateDeploymentResponseBodyDeploymentsBuildMachine$inboundSchema + )), + }) + ); export function createDeploymentResponseBodyResourceConfigFromJSON( jsonString: string, @@ -2855,18 +2958,20 @@ export const CreateDeploymentResponseBodyConfig$inboundSchema: z.ZodType< CreateDeploymentResponseBodyConfig, z.ZodTypeDef, unknown -> = z.object({ - functionMemoryType: ResponseBodyFunctionMemoryType$inboundSchema, - functionTimeout: types.nullable(types.number()), - functionType: ResponseBodyFunctionType$inboundSchema, - isUsingActiveCPU: types.optional(types.boolean()), - resourceConfig: types.optional( - z.lazy(() => CreateDeploymentResponseBodyResourceConfig$inboundSchema), - ), - secureComputeFallbackRegion: types.nullable(types.string()), - secureComputePrimaryRegion: types.nullable(types.string()), - version: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionMemoryType: ResponseBodyFunctionMemoryType$inboundSchema, + functionTimeout: types.nullable(types.number()), + functionType: ResponseBodyFunctionType$inboundSchema, + isUsingActiveCPU: types.optional(types.boolean()), + resourceConfig: types.optional( + z.lazy(() => CreateDeploymentResponseBodyResourceConfig$inboundSchema), + ), + secureComputeFallbackRegion: types.nullable(types.string()), + secureComputePrimaryRegion: types.nullable(types.string()), + version: types.optional(types.number()), + }) +); export function createDeploymentResponseBodyConfigFromJSON( jsonString: string, @@ -2881,22 +2986,26 @@ export function createDeploymentResponseBodyConfigFromJSON( /** @internal */ export const CreateDeploymentResponseBodyDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsType) + ); /** @internal */ export const CreateDeploymentResponseBodyCreator$inboundSchema: z.ZodType< CreateDeploymentResponseBodyCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - type: types.optional( - CreateDeploymentResponseBodyDeploymentsType$inboundSchema, - ), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + type: types.optional( + CreateDeploymentResponseBodyDeploymentsType$inboundSchema, + ), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function createDeploymentResponseBodyCreatorFromJSON( jsonString: string, @@ -2914,10 +3023,12 @@ export const ResponseBodyCrons$inboundSchema: z.ZodType< ResponseBodyCrons, z.ZodTypeDef, unknown -> = z.object({ - path: types.string(), - schedule: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.string(), + schedule: types.string(), + }) +); export function responseBodyCronsFromJSON( jsonString: string, @@ -2934,9 +3045,11 @@ export const CreateDeploymentCustomEnvironment2$inboundSchema: z.ZodType< CreateDeploymentCustomEnvironment2, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function createDeploymentCustomEnvironment2FromJSON( jsonString: string, @@ -2951,8 +3064,10 @@ export function createDeploymentCustomEnvironment2FromJSON( /** @internal */ export const CreateDeploymentCustomEnvironmentDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentCustomEnvironmentDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCustomEnvironmentDeploymentsType) + ); /** @internal */ export const CreateDeploymentCustomEnvironmentBranchMatcher$inboundSchema: @@ -2960,10 +3075,12 @@ export const CreateDeploymentCustomEnvironmentBranchMatcher$inboundSchema: CreateDeploymentCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: CreateDeploymentCustomEnvironmentDeploymentsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: CreateDeploymentCustomEnvironmentDeploymentsType$inboundSchema, + }) + ); export function createDeploymentCustomEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -2987,12 +3104,14 @@ export const CreateDeploymentCustomEnvironmentVerification$inboundSchema: CreateDeploymentCustomEnvironmentVerification, z.ZodTypeDef, unknown - > = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) + ); export function createDeploymentCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -3015,23 +3134,23 @@ export const CreateDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType< CreateDeploymentCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional(z.array(z.lazy(() => CreateDeploymentCustomEnvironmentVerification$inboundSchema - )), - ), - verified: types.boolean(), -}); + ))), + verified: types.boolean(), + }) +); export function createDeploymentCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -3051,32 +3170,37 @@ export function createDeploymentCustomEnvironmentDomainsFromJSON( /** @internal */ export const CreateDeploymentCustomEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentCustomEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentCustomEnvironmentType) + ); /** @internal */ export const CreateDeploymentCustomEnvironment1$inboundSchema: z.ZodType< CreateDeploymentCustomEnvironment1, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => CreateDeploymentCustomEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array( - z.lazy(() => CreateDeploymentCustomEnvironmentDomains$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => + CreateDeploymentCustomEnvironmentBranchMatcher$inboundSchema + ), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => + CreateDeploymentCustomEnvironmentDomains$inboundSchema + )), ), - ), - id: types.string(), - slug: types.string(), - type: CreateDeploymentCustomEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); + id: types.string(), + slug: types.string(), + type: CreateDeploymentCustomEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function createDeploymentCustomEnvironment1FromJSON( jsonString: string, @@ -3095,10 +3219,12 @@ export const CreateDeploymentResponseBodyCustomEnvironment$inboundSchema: CreateDeploymentResponseBodyCustomEnvironment, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => CreateDeploymentCustomEnvironment2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => CreateDeploymentCustomEnvironment2$inboundSchema), + ]) + ); export function createDeploymentResponseBodyCustomEnvironmentFromJSON( jsonString: string, @@ -3122,15 +3248,17 @@ export const CreateDeploymentResponseBodyDeploymentsDuration$inboundSchema: CreateDeploymentResponseBodyDeploymentsDuration, z.ZodTypeDef, unknown - > = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) + ); export function createDeploymentResponseBodyDeploymentsDurationFromJSON( jsonString: string, @@ -3153,7 +3281,7 @@ export const CreateDeploymentFlags2$inboundSchema: z.ZodType< CreateDeploymentFlags2, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDeploymentFlags2FromJSON( jsonString: string, @@ -3170,10 +3298,12 @@ export const CreateDeploymentFlagsOptions$inboundSchema: z.ZodType< CreateDeploymentFlagsOptions, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - value: types.nullable(FlagJSONValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + value: types.nullable(FlagJSONValue$inboundSchema), + }) +); export function createDeploymentFlagsOptionsFromJSON( jsonString: string, @@ -3190,13 +3320,15 @@ export const CreateDeploymentFlagsDefinitions$inboundSchema: z.ZodType< CreateDeploymentFlagsDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - options: types.optional( - z.array(z.lazy(() => CreateDeploymentFlagsOptions$inboundSchema)), - ), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + options: types.optional( + z.array(z.lazy(() => CreateDeploymentFlagsOptions$inboundSchema)), + ), + url: types.optional(types.string()), + }) +); export function createDeploymentFlagsDefinitionsFromJSON( jsonString: string, @@ -3213,11 +3345,13 @@ export const CreateDeploymentFlags1$inboundSchema: z.ZodType< CreateDeploymentFlags1, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.record( - z.lazy(() => CreateDeploymentFlagsDefinitions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.record( + z.lazy(() => CreateDeploymentFlagsDefinitions$inboundSchema), + ), + }) +); export function createDeploymentFlags1FromJSON( jsonString: string, @@ -3234,10 +3368,12 @@ export const ResponseBodyFlags$inboundSchema: z.ZodType< ResponseBodyFlags, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => CreateDeploymentFlags2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => CreateDeploymentFlags2$inboundSchema)), + ]) +); export function responseBodyFlagsFromJSON( jsonString: string, @@ -3252,16 +3388,18 @@ export function responseBodyFlagsFromJSON( /** @internal */ export const ResponseBodyMode$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyMode -> = z.nativeEnum(ResponseBodyMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyMode)); /** @internal */ export const ResponseBodyAffinity$inboundSchema: z.ZodType< ResponseBodyAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: ResponseBodyMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: ResponseBodyMode$inboundSchema, + }) +); export function responseBodyAffinityFromJSON( jsonString: string, @@ -3276,16 +3414,18 @@ export function responseBodyAffinityFromJSON( /** @internal */ export const ResponseBodyArchitecture$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyArchitecture -> = z.nativeEnum(ResponseBodyArchitecture); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyArchitecture)); /** @internal */ export const CreateDeploymentExperimentalTriggers3$inboundSchema: z.ZodType< CreateDeploymentExperimentalTriggers3, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("schedule/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) +); export function createDeploymentExperimentalTriggers3FromJSON( jsonString: string, @@ -3303,14 +3443,16 @@ export const CreateDeploymentExperimentalTriggers2$inboundSchema: z.ZodType< CreateDeploymentExperimentalTriggers2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) +); export function createDeploymentExperimentalTriggers2FromJSON( jsonString: string, @@ -3328,15 +3470,17 @@ export const CreateDeploymentExperimentalTriggers1$inboundSchema: z.ZodType< CreateDeploymentExperimentalTriggers1, z.ZodTypeDef, unknown -> = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) +); export function createDeploymentExperimentalTriggers1FromJSON( jsonString: string, @@ -3354,11 +3498,13 @@ export const ResponseBodyExperimentalTriggers$inboundSchema: z.ZodType< ResponseBodyExperimentalTriggers, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentExperimentalTriggers1$inboundSchema), - z.lazy(() => CreateDeploymentExperimentalTriggers2$inboundSchema), - z.lazy(() => CreateDeploymentExperimentalTriggers3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentExperimentalTriggers1$inboundSchema), + z.lazy(() => CreateDeploymentExperimentalTriggers2$inboundSchema), + z.lazy(() => CreateDeploymentExperimentalTriggers3$inboundSchema), + ]) +); export function responseBodyExperimentalTriggersFromJSON( jsonString: string, @@ -3373,14 +3519,18 @@ export function responseBodyExperimentalTriggersFromJSON( /** @internal */ export const CreateDeploymentMaxDuration2$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentMaxDuration2 -> = z.nativeEnum(CreateDeploymentMaxDuration2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMaxDuration2) +); /** @internal */ export const ResponseBodyMaxDuration$inboundSchema: z.ZodType< ResponseBodyMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([types.number(), CreateDeploymentMaxDuration2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), CreateDeploymentMaxDuration2$inboundSchema]) +); export function responseBodyMaxDurationFromJSON( jsonString: string, @@ -3397,32 +3547,32 @@ export const ResponseBodyFunctions$inboundSchema: z.ZodType< ResponseBodyFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional(z.lazy(() => ResponseBodyAffinity$inboundSchema)), - architecture: types.optional(ResponseBodyArchitecture$inboundSchema), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional(z.lazy(() => ResponseBodyAffinity$inboundSchema)), + architecture: types.optional(ResponseBodyArchitecture$inboundSchema), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentExperimentalTriggers1$inboundSchema), z.lazy(() => CreateDeploymentExperimentalTriggers2$inboundSchema ), z.lazy(() => CreateDeploymentExperimentalTriggers3$inboundSchema), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([types.number(), CreateDeploymentMaxDuration2$inboundSchema]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([types.number(), CreateDeploymentMaxDuration2$inboundSchema]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function responseBodyFunctionsFromJSON( jsonString: string, @@ -3438,8 +3588,10 @@ export function responseBodyFunctionsFromJSON( export const CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType - > = z.nativeEnum( - CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType, + ) ); /** @internal */ @@ -3447,18 +3599,20 @@ export const CreateDeploymentGitRepo5$inboundSchema: z.ZodType< CreateDeploymentGitRepo5, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: - CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.string(), - type: types.literal("cursor-origin"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: + CreateDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.string(), + type: types.literal("cursor-origin"), + }) +); export function createDeploymentGitRepo5FromJSON( jsonString: string, @@ -3474,24 +3628,28 @@ export function createDeploymentGitRepo5FromJSON( export const CreateDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitRepoDeploymentsResponse200OwnerType - > = z.nativeEnum(CreateDeploymentGitRepoDeploymentsResponse200OwnerType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitRepoDeploymentsResponse200OwnerType) + ); /** @internal */ export const CreateDeploymentGitRepo4$inboundSchema: z.ZodType< CreateDeploymentGitRepo4, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: - CreateDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - type: types.literal("vercel"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: + CreateDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + type: types.literal("vercel"), + }) +); export function createDeploymentGitRepo4FromJSON( jsonString: string, @@ -3506,25 +3664,30 @@ export function createDeploymentGitRepo4FromJSON( /** @internal */ export const CreateDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentGitRepoDeploymentsResponseOwnerType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitRepoDeploymentsResponseOwnerType) + ); /** @internal */ export const CreateDeploymentGitRepo3$inboundSchema: z.ZodType< CreateDeploymentGitRepo3, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: CreateDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repoUuid: types.string(), - slug: types.string(), - type: types.literal("bitbucket"), - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: + CreateDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repoUuid: types.string(), + slug: types.string(), + type: types.literal("bitbucket"), + workspaceUuid: types.string(), + }) +); export function createDeploymentGitRepo3FromJSON( jsonString: string, @@ -3538,26 +3701,30 @@ export function createDeploymentGitRepo3FromJSON( /** @internal */ export const CreateDeploymentGitRepoDeploymentsOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitRepoDeploymentsOwnerType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitRepoDeploymentsOwnerType) + ); /** @internal */ export const CreateDeploymentGitRepo2$inboundSchema: z.ZodType< CreateDeploymentGitRepo2, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: CreateDeploymentGitRepoDeploymentsOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.number(), - repoOwnerId: types.number(), - type: types.literal("github"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: CreateDeploymentGitRepoDeploymentsOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.number(), + repoOwnerId: types.number(), + type: types.literal("github"), + }) +); export function createDeploymentGitRepo2FromJSON( jsonString: string, @@ -3572,24 +3739,28 @@ export function createDeploymentGitRepo2FromJSON( /** @internal */ export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitRepoOwnerType -> = z.nativeEnum(CreateDeploymentGitRepoOwnerType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitRepoOwnerType) +); /** @internal */ export const CreateDeploymentGitRepo1$inboundSchema: z.ZodType< CreateDeploymentGitRepo1, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - namespace: types.string(), - ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - projectId: types.number(), - type: types.literal("gitlab"), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + namespace: types.string(), + ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + projectId: types.number(), + type: types.literal("gitlab"), + url: types.string(), + }) +); export function createDeploymentGitRepo1FromJSON( jsonString: string, @@ -3606,13 +3777,15 @@ export const ResponseBodyGitRepo$inboundSchema: z.ZodType< ResponseBodyGitRepo, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentGitRepo1$inboundSchema), - z.lazy(() => CreateDeploymentGitRepo2$inboundSchema), - z.lazy(() => CreateDeploymentGitRepo3$inboundSchema), - z.lazy(() => CreateDeploymentGitRepo4$inboundSchema), - z.lazy(() => CreateDeploymentGitRepo5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentGitRepo1$inboundSchema), + z.lazy(() => CreateDeploymentGitRepo2$inboundSchema), + z.lazy(() => CreateDeploymentGitRepo3$inboundSchema), + z.lazy(() => CreateDeploymentGitRepo4$inboundSchema), + z.lazy(() => CreateDeploymentGitRepo5$inboundSchema), + ]) +); export function responseBodyGitRepoFromJSON( jsonString: string, @@ -3628,8 +3801,10 @@ export function responseBodyGitRepoFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type, + ) ); /** @internal */ @@ -3637,15 +3812,17 @@ export const CreateDeploymentGitSource19$inboundSchema: z.ZodType< CreateDeploymentGitSource19, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema, + }) +); export function createDeploymentGitSource19FromJSON( jsonString: string, @@ -3660,11 +3837,13 @@ export function createDeploymentGitSource19FromJSON( /** @internal */ export const CreateDeploymentGitSourceDeploymentsAuthor$inboundSchema: z.ZodType = - z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function createDeploymentGitSourceDeploymentsAuthorFromJSON( jsonString: string, @@ -3688,11 +3867,13 @@ export const CreateDeploymentGitSourceDeploymentsCommitter$inboundSchema: CreateDeploymentGitSourceDeploymentsCommitter, z.ZodTypeDef, unknown - > = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function createDeploymentGitSourceDeploymentsCommitterFromJSON( jsonString: string, @@ -3716,15 +3897,17 @@ export const CreateDeploymentGitSourceDeploymentsCommitMetadata$inboundSchema: CreateDeploymentGitSourceDeploymentsCommitMetadata, z.ZodTypeDef, unknown - > = z.object({ - author: z.lazy(() => - CreateDeploymentGitSourceDeploymentsAuthor$inboundSchema - ), - committer: z.lazy(() => - CreateDeploymentGitSourceDeploymentsCommitter$inboundSchema - ), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => + CreateDeploymentGitSourceDeploymentsAuthor$inboundSchema + ), + committer: z.lazy(() => + CreateDeploymentGitSourceDeploymentsCommitter$inboundSchema + ), + message: types.string(), + }) + ); export function createDeploymentGitSourceDeploymentsCommitMetadataFromJSON( jsonString: string, @@ -3746,8 +3929,10 @@ export function createDeploymentGitSourceDeploymentsCommitMetadataFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type, + ) ); /** @internal */ @@ -3755,21 +3940,21 @@ export const CreateDeploymentGitSource18$inboundSchema: z.ZodType< CreateDeploymentGitSource18, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional(z.lazy(() => CreateDeploymentGitSourceDeploymentsCommitMetadata$inboundSchema - ), - ), - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.optional(types.string()), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema, -}); + )), + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.optional(types.string()), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema, + }) +); export function createDeploymentGitSource18FromJSON( jsonString: string, @@ -3785,8 +3970,10 @@ export function createDeploymentGitSource18FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type, + ) ); /** @internal */ @@ -3794,16 +3981,18 @@ export const CreateDeploymentGitSource17$inboundSchema: z.ZodType< CreateDeploymentGitSource17, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema, - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema, + workspaceUuid: types.string(), + }) +); export function createDeploymentGitSource17FromJSON( jsonString: string, @@ -3819,8 +4008,10 @@ export function createDeploymentGitSource17FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type, + ) ); /** @internal */ @@ -3828,13 +4019,15 @@ export const CreateDeploymentGitSource16$inboundSchema: z.ZodType< CreateDeploymentGitSource16, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.number(), - ref: types.string(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.number(), + ref: types.string(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema, + }) +); export function createDeploymentGitSource16FromJSON( jsonString: string, @@ -3850,8 +4043,10 @@ export function createDeploymentGitSource16FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type, + ) ); /** @internal */ @@ -3859,15 +4054,17 @@ export const CreateDeploymentGitSource15$inboundSchema: z.ZodType< CreateDeploymentGitSource15, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema, + }) +); export function createDeploymentGitSource15FromJSON( jsonString: string, @@ -3883,8 +4080,10 @@ export function createDeploymentGitSource15FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type, + ) ); /** @internal */ @@ -3892,16 +4091,18 @@ export const CreateDeploymentGitSource14$inboundSchema: z.ZodType< CreateDeploymentGitSource14, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema, + }) +); export function createDeploymentGitSource14FromJSON( jsonString: string, @@ -3917,8 +4118,10 @@ export function createDeploymentGitSource14FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type, + ) ); /** @internal */ @@ -3926,15 +4129,17 @@ export const CreateDeploymentGitSource13$inboundSchema: z.ZodType< CreateDeploymentGitSource13, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema, + }) +); export function createDeploymentGitSource13FromJSON( jsonString: string, @@ -3950,8 +4155,10 @@ export function createDeploymentGitSource13FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type, + ) ); /** @internal */ @@ -3959,13 +4166,15 @@ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType< CreateDeploymentGitSource12, z.ZodTypeDef, unknown -> = z.object({ - gitUrl: types.string(), - ref: types.string(), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitUrl: types.string(), + ref: types.string(), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema, + }) +); export function createDeploymentGitSource12FromJSON( jsonString: string, @@ -3981,8 +4190,10 @@ export function createDeploymentGitSource12FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type, + ) ); /** @internal */ @@ -3990,16 +4201,18 @@ export const CreateDeploymentGitSource11$inboundSchema: z.ZodType< CreateDeploymentGitSource11, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema, + }) +); export function createDeploymentGitSource11FromJSON( jsonString: string, @@ -4016,11 +4229,13 @@ export const CreateDeploymentGitSourceAuthor$inboundSchema: z.ZodType< CreateDeploymentGitSourceAuthor, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function createDeploymentGitSourceAuthorFromJSON( jsonString: string, @@ -4037,11 +4252,13 @@ export const CreateDeploymentGitSourceCommitter$inboundSchema: z.ZodType< CreateDeploymentGitSourceCommitter, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function createDeploymentGitSourceCommitterFromJSON( jsonString: string, @@ -4059,11 +4276,13 @@ export const CreateDeploymentGitSourceCommitMetadata$inboundSchema: z.ZodType< CreateDeploymentGitSourceCommitMetadata, z.ZodTypeDef, unknown -> = z.object({ - author: z.lazy(() => CreateDeploymentGitSourceAuthor$inboundSchema), - committer: z.lazy(() => CreateDeploymentGitSourceCommitter$inboundSchema), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => CreateDeploymentGitSourceAuthor$inboundSchema), + committer: z.lazy(() => CreateDeploymentGitSourceCommitter$inboundSchema), + message: types.string(), + }) +); export function createDeploymentGitSourceCommitMetadataFromJSON( jsonString: string, @@ -4085,8 +4304,10 @@ export function createDeploymentGitSourceCommitMetadataFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type, + ) ); /** @internal */ @@ -4094,20 +4315,22 @@ export const CreateDeploymentGitSource10$inboundSchema: z.ZodType< CreateDeploymentGitSource10, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => CreateDeploymentGitSourceCommitMetadata$inboundSchema), - ), - org: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional( + z.lazy(() => CreateDeploymentGitSourceCommitMetadata$inboundSchema), + ), + org: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema, + }) +); export function createDeploymentGitSource10FromJSON( jsonString: string, @@ -4123,8 +4346,10 @@ export function createDeploymentGitSource10FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, + ) ); /** @internal */ @@ -4132,15 +4357,17 @@ export const CreateDeploymentGitSource9$inboundSchema: z.ZodType< CreateDeploymentGitSource9, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - slug: types.string(), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + slug: types.string(), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, + }) +); export function createDeploymentGitSource9FromJSON( jsonString: string, @@ -4156,8 +4383,10 @@ export function createDeploymentGitSource9FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type, + ) ); /** @internal */ @@ -4165,15 +4394,17 @@ export const CreateDeploymentGitSource8$inboundSchema: z.ZodType< CreateDeploymentGitSource8, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoUuid: types.string(), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema, - workspaceUuid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoUuid: types.string(), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$inboundSchema, + workspaceUuid: types.optional(types.string()), + }) +); export function createDeploymentGitSource8FromJSON( jsonString: string, @@ -4190,7 +4421,9 @@ export const CreateDeploymentGitSourceProjectId$inboundSchema: z.ZodType< CreateDeploymentGitSourceProjectId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentGitSourceProjectIdFromJSON( jsonString: string, @@ -4207,8 +4440,10 @@ export function createDeploymentGitSourceProjectIdFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type, + ) ); /** @internal */ @@ -4216,14 +4451,16 @@ export const CreateDeploymentGitSource7$inboundSchema: z.ZodType< CreateDeploymentGitSource7, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - projectId: smartUnion([types.string(), types.number()]), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + projectId: smartUnion([types.string(), types.number()]), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$inboundSchema, + }) +); export function createDeploymentGitSource7FromJSON( jsonString: string, @@ -4239,8 +4476,10 @@ export function createDeploymentGitSource7FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type, + ) ); /** @internal */ @@ -4248,15 +4487,17 @@ export const CreateDeploymentGitSource6$inboundSchema: z.ZodType< CreateDeploymentGitSource6, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$inboundSchema, + }) +); export function createDeploymentGitSource6FromJSON( jsonString: string, @@ -4274,7 +4515,9 @@ export const CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: CreateDeploymentGitSourceDeploymentsResponseRepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, @@ -4296,8 +4539,10 @@ export function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, + ) ); /** @internal */ @@ -4305,14 +4550,16 @@ export const CreateDeploymentGitSource5$inboundSchema: z.ZodType< CreateDeploymentGitSource5, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + }) +); export function createDeploymentGitSource5FromJSON( jsonString: string, @@ -4328,8 +4575,10 @@ export function createDeploymentGitSource5FromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -4337,16 +4586,18 @@ export const CreateDeploymentGitSource4$inboundSchema: z.ZodType< CreateDeploymentGitSource4, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) +); export function createDeploymentGitSource4FromJSON( jsonString: string, @@ -4361,7 +4612,9 @@ export function createDeploymentGitSource4FromJSON( /** @internal */ export const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, @@ -4383,8 +4636,10 @@ export function createDeploymentGitSourceDeploymentsRepoIdFromJSON( export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -4392,15 +4647,17 @@ export const CreateDeploymentGitSource3$inboundSchema: z.ZodType< CreateDeploymentGitSource3, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + }) +); export function createDeploymentGitSource3FromJSON( jsonString: string, @@ -4415,21 +4672,25 @@ export function createDeploymentGitSource3FromJSON( /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentGitSourceDeploymentsResponse200Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsResponse200Type) + ); /** @internal */ export const CreateDeploymentGitSource2$inboundSchema: z.ZodType< CreateDeploymentGitSource2, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + }) +); export function createDeploymentGitSource2FromJSON( jsonString: string, @@ -4446,7 +4707,9 @@ export const CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType< CreateDeploymentGitSourceRepoId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentGitSourceRepoIdFromJSON( jsonString: string, @@ -4460,21 +4723,25 @@ export function createDeploymentGitSourceRepoIdFromJSON( /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentGitSourceDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentGitSourceDeploymentsResponseType) + ); /** @internal */ export const CreateDeploymentGitSource1$inboundSchema: z.ZodType< CreateDeploymentGitSource1, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema, + }) +); export function createDeploymentGitSource1FromJSON( jsonString: string, diff --git a/src/models/createdeploymentresponsebody.ts b/src/models/createdeploymentresponsebody.ts index 6d3e73cb57..253b5e6e5b 100644 --- a/src/models/createdeploymentresponsebody.ts +++ b/src/models/createdeploymentresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -66,22 +66,24 @@ export const CreateDeploymentResponseBody1$inboundSchema: z.ZodType< CreateDeploymentResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasError: z.nullable(CreateDeploymentResponseBodyAliasError$inboundSchema) - .optional(), - aliasWarning: z.nullable( - CreateDeploymentResponseBodyAliasWarning$inboundSchema, - ).optional(), - duration: CreateDeploymentResponseBodyDuration$inboundSchema, - errorCode: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - id: types.string(), - readyState: CreateDeploymentResponseBodyReadyState$inboundSchema, - target: z.nullable(CreateDeploymentResponseBodyTarget$inboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasError: z.nullable(CreateDeploymentResponseBodyAliasError$inboundSchema) + .optional(), + aliasWarning: z.nullable( + CreateDeploymentResponseBodyAliasWarning$inboundSchema, + ).optional(), + duration: CreateDeploymentResponseBodyDuration$inboundSchema, + errorCode: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + id: types.string(), + readyState: CreateDeploymentResponseBodyReadyState$inboundSchema, + target: z.nullable(CreateDeploymentResponseBodyTarget$inboundSchema) + .optional(), + }) +); export function createDeploymentResponseBody1FromJSON( jsonString: string, @@ -98,10 +100,12 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< CreateDeploymentResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - CreateDeploymentResponseBody2$inboundSchema, - z.lazy(() => CreateDeploymentResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + CreateDeploymentResponseBody2$inboundSchema, + z.lazy(() => CreateDeploymentResponseBody1$inboundSchema), + ]) +); export function createDeploymentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createdeploymentresponsebodytarget.ts b/src/models/createdeploymentresponsebodytarget.ts index b54ee5a315..dd98964d81 100644 --- a/src/models/createdeploymentresponsebodytarget.ts +++ b/src/models/createdeploymentresponsebodytarget.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1865,21 +1865,23 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional( - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq$inboundSchema, - ), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional( + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq$inboundSchema, + ), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2FromJSON( jsonString: string, @@ -1902,12 +1904,14 @@ export const CreateDeploymentMissingDeploymentsResponse200Value$inboundSchema: CreateDeploymentMissingDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -1930,18 +1934,18 @@ export const CreateDeploymentMissingDeployments2$inboundSchema: z.ZodType< CreateDeploymentMissingDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CreateDeploymentMissingDeploymentsResponse200Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CreateDeploymentMissingDeploymentsResponse200Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function createDeploymentMissingDeployments2FromJSON( jsonString: string, @@ -1960,7 +1964,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2EqFromJSON( jsonString: string, @@ -1983,19 +1989,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22FromJSON( jsonString: string, @@ -2018,12 +2026,14 @@ export const CreateDeploymentMissingDeploymentsResponseValue$inboundSchema: CreateDeploymentMissingDeploymentsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponseValueFromJSON( jsonString: string, @@ -2046,15 +2056,17 @@ export const CreateDeploymentMissingDeployments1$inboundSchema: z.ZodType< CreateDeploymentMissingDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema + ), + ]), + }) +); export function createDeploymentMissingDeployments1FromJSON( jsonString: string, @@ -2072,18 +2084,20 @@ export const CreateDeploymentServicesMissing$inboundSchema: z.ZodType< CreateDeploymentServicesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentMissingDeployments1$inboundSchema), - z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentMissingDeployments1$inboundSchema), + z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function createDeploymentServicesMissingFromJSON( jsonString: string, @@ -2100,11 +2114,11 @@ export const CreateDeploymentServicesHeaders$inboundSchema: z.ZodType< CreateDeploymentServicesHeaders, z.ZodTypeDef, unknown -> = z.object({ - has: types.optional(z.array(CreateDeploymentServicesHas$inboundSchema)), - headers: z.array(CreateDeploymentServicesDeploymentsHeaders$inboundSchema), - missing: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: types.optional(z.array(CreateDeploymentServicesHas$inboundSchema)), + headers: z.array(CreateDeploymentServicesDeploymentsHeaders$inboundSchema), + missing: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentMissingDeployments1$inboundSchema), z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema @@ -2115,10 +2129,10 @@ export const CreateDeploymentServicesHeaders$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentMissingDeployments2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - source: types.string(), -}); + ]))), + source: types.string(), + }) +); export function createDeploymentServicesHeadersFromJSON( jsonString: string, @@ -2134,8 +2148,10 @@ export function createDeploymentServicesHeadersFromJSON( export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2144,7 +2160,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsEqFromJSON( jsonString: string, @@ -2167,19 +2185,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2FromJSON( jsonString: string, @@ -2202,12 +2222,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -2229,19 +2251,19 @@ export const CreateDeploymentHasDeploymentsResponse2$inboundSchema: z.ZodType< CreateDeploymentHasDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function createDeploymentHasDeploymentsResponse2FromJSON( jsonString: string, @@ -2265,7 +2287,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2EqFromJSON( jsonString: string, @@ -2288,19 +2312,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22FromJSON( jsonString: string, @@ -2323,12 +2349,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONValue$inbou CreateDeploymentHasDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -2350,15 +2378,17 @@ export const CreateDeploymentHasDeploymentsResponse1$inboundSchema: z.ZodType< CreateDeploymentHasDeploymentsResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema + ), + ]), + }) +); export function createDeploymentHasDeploymentsResponse1FromJSON( jsonString: string, @@ -2381,18 +2411,20 @@ export const CreateDeploymentServicesDeploymentsHas$inboundSchema: z.ZodType< CreateDeploymentServicesDeploymentsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentHasDeploymentsResponse1$inboundSchema), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentHasDeploymentsResponse1$inboundSchema), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function createDeploymentServicesDeploymentsHasFromJSON( jsonString: string, @@ -2409,8 +2441,10 @@ export function createDeploymentServicesDeploymentsHasFromJSON( export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2419,7 +2453,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2EqFromJSON( jsonString: string, @@ -2442,19 +2478,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing22FromJSON( jsonString: string, @@ -2477,12 +2515,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing22$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -2505,19 +2545,19 @@ export const CreateDeploymentMissingDeploymentsResponse2$inboundSchema: CreateDeploymentMissingDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function createDeploymentMissingDeploymentsResponse2FromJSON( jsonString: string, @@ -2541,7 +2581,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissingEqFromJSON( jsonString: string, @@ -2564,19 +2606,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2FromJSON( jsonString: string, @@ -2599,12 +2643,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONValue$i CreateDeploymentMissingDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -2627,15 +2673,17 @@ export const CreateDeploymentMissingDeploymentsResponse1$inboundSchema: CreateDeploymentMissingDeploymentsResponse1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema + ), + ]), + }) + ); export function createDeploymentMissingDeploymentsResponse1FromJSON( jsonString: string, @@ -2656,15 +2704,17 @@ export function createDeploymentMissingDeploymentsResponse1FromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsMissing$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => CreateDeploymentMissingDeploymentsResponse1$inboundSchema), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("cookie") })), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("header") })), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) - .and(z.object({ type: z.literal("query") })), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentMissingDeploymentsResponse1$inboundSchema), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) + ); export function createDeploymentServicesDeploymentsMissingFromJSON( jsonString: string, @@ -2687,11 +2737,11 @@ export const CreateDeploymentServicesRedirects$inboundSchema: z.ZodType< CreateDeploymentServicesRedirects, z.ZodTypeDef, unknown -> = z.object({ - destination: types.string(), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.string(), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentHasDeploymentsResponse1$inboundSchema), z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema @@ -2702,10 +2752,8 @@ export const CreateDeploymentServicesRedirects$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentHasDeploymentsResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentMissingDeploymentsResponse1$inboundSchema), z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema @@ -2714,12 +2762,12 @@ export const CreateDeploymentServicesRedirects$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CreateDeploymentMissingDeploymentsResponse2$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - permanent: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), -}); + ]))), + permanent: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + }) +); export function createDeploymentServicesRedirectsFromJSON( jsonString: string, @@ -2733,21 +2781,25 @@ export function createDeploymentServicesRedirectsFromJSON( /** @internal */ export const CreateDeploymentDestinationDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentDestinationDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentDestinationDeploymentsType) + ); /** @internal */ export const CreateDeploymentDestinationDeployments2$inboundSchema: z.ZodType< CreateDeploymentDestinationDeployments2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional( - CreateDeploymentDestinationDeploymentsType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional( + CreateDeploymentDestinationDeploymentsType$inboundSchema, + ), + }) +); export function createDeploymentDestinationDeployments2FromJSON( jsonString: string, @@ -2770,10 +2822,12 @@ export const CreateDeploymentServicesDestination$inboundSchema: z.ZodType< CreateDeploymentServicesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentDestinationDeployments2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentDestinationDeployments2$inboundSchema), + types.string(), + ]) +); export function createDeploymentServicesDestinationFromJSON( jsonString: string, @@ -2790,8 +2844,10 @@ export function createDeploymentServicesDestinationFromJSON( export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType - > = z.nativeEnum( - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType, + ) ); /** @internal */ @@ -2800,7 +2856,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHasEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHasEqFromJSON( jsonString: string, @@ -2823,19 +2881,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2FromJSON( jsonString: string, @@ -2858,12 +2918,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesValueFromJSON( jsonString: string, @@ -2883,19 +2945,19 @@ export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponse /** @internal */ export const CreateDeploymentHasDeploymentsResponse2002$inboundSchema: z.ZodType = - z.object({ - key: types.string(), - type: - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema, - value: types.optional( - smartUnion([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function createDeploymentHasDeploymentsResponse2002FromJSON( jsonString: string, @@ -2919,7 +2981,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesEqFromJSON( jsonString: string, @@ -2942,19 +3006,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2FromJSON( jsonString: string, @@ -2977,12 +3043,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ValueFromJSON( jsonString: string, @@ -3002,15 +3070,17 @@ export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponse /** @internal */ export const CreateDeploymentHasDeploymentsResponse2001$inboundSchema: z.ZodType = - z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema - ), - ]), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema + ), + ]), + }) + ); export function createDeploymentHasDeploymentsResponse2001FromJSON( jsonString: string, @@ -3034,18 +3104,17 @@ export const CreateDeploymentServicesDeploymentsResponseHas$inboundSchema: CreateDeploymentServicesDeploymentsResponseHas, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => CreateDeploymentHasDeploymentsResponse2001$inboundSchema), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentHasDeploymentsResponse2001$inboundSchema), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) + ); export function createDeploymentServicesDeploymentsResponseHasFromJSON( jsonString: string, @@ -3067,8 +3136,10 @@ export function createDeploymentServicesDeploymentsResponseHasFromJSON( export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType - > = z.nativeEnum( - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType, + ) ); /** @internal */ @@ -3077,7 +3148,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2EqFromJSON( jsonString: string, @@ -3100,19 +3173,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22FromJSON( jsonString: string, @@ -3135,12 +3210,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesValueFromJSON( jsonString: string, @@ -3163,19 +3240,19 @@ export const CreateDeploymentMissingDeploymentsResponse2002$inboundSchema: CreateDeploymentMissingDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function createDeploymentMissingDeploymentsResponse2002FromJSON( jsonString: string, @@ -3199,7 +3276,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissingEqFromJSON( jsonString: string, @@ -3222,19 +3301,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2FromJSON( jsonString: string, @@ -3257,12 +3338,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ValueFromJSON( jsonString: string, @@ -3285,15 +3368,17 @@ export const CreateDeploymentMissingDeploymentsResponse2001$inboundSchema: CreateDeploymentMissingDeploymentsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema + ), + ]), + }) + ); export function createDeploymentMissingDeploymentsResponse2001FromJSON( jsonString: string, @@ -3317,15 +3402,19 @@ export const CreateDeploymentServicesDeploymentsResponseMissing$inboundSchema: CreateDeploymentServicesDeploymentsResponseMissing, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2001$inboundSchema), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("cookie") })), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("header") })), - z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) - .and(z.object({ type: z.literal("query") })), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentMissingDeploymentsResponse2001$inboundSchema + ), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) + ); export function createDeploymentServicesDeploymentsResponseMissingFromJSON( jsonString: string, @@ -3346,25 +3435,29 @@ export function createDeploymentServicesDeploymentsResponseMissingFromJSON( /** @internal */ export const CreateDeploymentServicesOp$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesOp -> = z.nativeEnum(CreateDeploymentServicesOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDeploymentServicesOp)); /** @internal */ export const CreateDeploymentServicesDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsResponse200Type) + ); /** @internal */ export const CreateDeploymentServicesTransforms$inboundSchema: z.ZodType< CreateDeploymentServicesTransforms, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: CreateDeploymentServicesOp$inboundSchema, - type: CreateDeploymentServicesDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: CreateDeploymentServicesOp$inboundSchema, + type: CreateDeploymentServicesDeploymentsResponse200Type$inboundSchema, + }) +); export function createDeploymentServicesTransformsFromJSON( jsonString: string, @@ -3382,14 +3475,14 @@ export const ServicesRewrites$inboundSchema: z.ZodType< ServicesRewrites, z.ZodTypeDef, unknown -> = z.object({ - destination: smartUnion([ - z.lazy(() => CreateDeploymentDestinationDeployments2$inboundSchema), - types.string(), - ]), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: smartUnion([ + z.lazy(() => CreateDeploymentDestinationDeployments2$inboundSchema), + types.string(), + ]), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentHasDeploymentsResponse2001$inboundSchema), z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema @@ -3398,10 +3491,8 @@ export const ServicesRewrites$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CreateDeploymentHasDeploymentsResponse2002$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentMissingDeploymentsResponse2001$inboundSchema ), @@ -3411,15 +3502,15 @@ export const ServicesRewrites$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => CreateDeploymentMissingDeploymentsResponse2002$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.lazy(() => CreateDeploymentServicesTransforms$inboundSchema)), - ), -}); + ]))), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.lazy(() => + CreateDeploymentServicesTransforms$inboundSchema + ))), + }) +); export function servicesRewritesFromJSON( jsonString: string, @@ -3434,19 +3525,23 @@ export function servicesRewritesFromJSON( /** @internal */ export const CreateDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentRoutesHandle -> = z.nativeEnum(CreateDeploymentRoutesHandle); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentRoutesHandle) +); /** @internal */ export const CreateDeploymentRoutesDeployments2$inboundSchema: z.ZodType< CreateDeploymentRoutesDeployments2, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: CreateDeploymentRoutesHandle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: CreateDeploymentRoutesHandle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) +); export function createDeploymentRoutesDeployments2FromJSON( jsonString: string, @@ -3461,8 +3556,10 @@ export function createDeploymentRoutesDeployments2FromJSON( /** @internal */ export const CreateDeploymentDestinationDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentDestinationDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentDestinationDeploymentsResponseType) + ); /** @internal */ export const CreateDeploymentDestinationDeploymentsResponse2$inboundSchema: @@ -3470,13 +3567,15 @@ export const CreateDeploymentDestinationDeploymentsResponse2$inboundSchema: CreateDeploymentDestinationDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional( - CreateDeploymentDestinationDeploymentsResponseType$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional( + CreateDeploymentDestinationDeploymentsResponseType$inboundSchema, + ), + }) + ); export function createDeploymentDestinationDeploymentsResponse2FromJSON( jsonString: string, @@ -3500,10 +3599,14 @@ export const CreateDeploymentRoutesDeploymentsDestination$inboundSchema: CreateDeploymentRoutesDeploymentsDestination, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateDeploymentDestinationDeploymentsResponse2$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateDeploymentDestinationDeploymentsResponse2$inboundSchema + ), + types.string(), + ]) + ); export function createDeploymentRoutesDeploymentsDestinationFromJSON( jsonString: string, @@ -3525,8 +3628,10 @@ export function createDeploymentRoutesDeploymentsDestinationFromJSON( export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType - > = z.nativeEnum( - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType, + ) ); /** @internal */ @@ -3535,7 +3640,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1EqFromJSON( jsonString: string, @@ -3558,19 +3665,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12FromJSON( jsonString: string, @@ -3593,12 +3702,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValueFromJSON( jsonString: string, @@ -3621,19 +3732,19 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSc CreateDeploymentHasDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -3656,7 +3767,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesEqFromJSON( jsonString: string, @@ -3679,19 +3792,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2FromJSON( jsonString: string, @@ -3714,12 +3829,14 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBod CreateDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2ValueFromJSON( jsonString: string, @@ -3742,15 +3859,17 @@ export const CreateDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSc CreateDeploymentHasDeploymentsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema + ), + ]), + }) + ); export function createDeploymentHasDeploymentsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -3772,20 +3891,22 @@ export const CreateDeploymentRoutesDeploymentsHas$inboundSchema: z.ZodType< CreateDeploymentRoutesDeploymentsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => - CreateDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("cookie") })), - z.lazy(() => - CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("header") })), - z.lazy(() => - CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("cookie") })), + z.lazy(() => + CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("header") })), + z.lazy(() => + CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("query") })), + ]) +); export function createDeploymentRoutesDeploymentsHasFromJSON( jsonString: string, @@ -3803,10 +3924,12 @@ export const CreateDeploymentRoutesLocale$inboundSchema: z.ZodType< CreateDeploymentRoutesLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function createDeploymentRoutesLocaleFromJSON( jsonString: string, @@ -3822,8 +3945,10 @@ export function createDeploymentRoutesLocaleFromJSON( export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType - > = z.nativeEnum( - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType, + ) ); /** @internal */ @@ -3832,7 +3957,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2EqFromJSON( jsonString: string, @@ -3855,19 +3982,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22FromJSON( jsonString: string, @@ -3890,12 +4019,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValueFromJSON( jsonString: string, @@ -3918,19 +4049,19 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inbou CreateDeploymentMissingDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -3953,7 +4084,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1MissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1MissingEqFromJSON( jsonString: string, @@ -3976,19 +4109,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2FromJSON( jsonString: string, @@ -4011,12 +4146,14 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJSONRespons CreateDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema + ), + ]) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2ValueFromJSON( jsonString: string, @@ -4039,15 +4176,17 @@ export const CreateDeploymentMissingDeploymentsResponse200ApplicationJson1$inbou CreateDeploymentMissingDeploymentsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema + ), + ]), + }) + ); export function createDeploymentMissingDeploymentsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -4069,20 +4208,22 @@ export const CreateDeploymentRoutesDeploymentsMissing$inboundSchema: z.ZodType< CreateDeploymentRoutesDeploymentsMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => - CreateDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("cookie") })), - z.lazy(() => - CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("header") })), - z.lazy(() => - CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("cookie") })), + z.lazy(() => + CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("header") })), + z.lazy(() => + CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("query") })), + ]) +); export function createDeploymentRoutesDeploymentsMissingFromJSON( jsonString: string, @@ -4102,17 +4243,21 @@ export function createDeploymentRoutesDeploymentsMissingFromJSON( /** @internal */ export const CreateDeploymentRoutesDeploymentsAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentRoutesDeploymentsAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentRoutesDeploymentsAction) + ); /** @internal */ export const CreateDeploymentRoutesDeploymentsMitigate$inboundSchema: z.ZodType< CreateDeploymentRoutesDeploymentsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: CreateDeploymentRoutesDeploymentsAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: CreateDeploymentRoutesDeploymentsAction$inboundSchema, + }) +); export function createDeploymentRoutesDeploymentsMitigateFromJSON( jsonString: string, @@ -4132,21 +4277,25 @@ export function createDeploymentRoutesDeploymentsMitigateFromJSON( /** @internal */ export const CreateDeploymentTransformsDeploymentsResponse200Op$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentTransformsDeploymentsResponse200Op); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsDeploymentsResponse200Op) + ); /** @internal */ export const CreateDeploymentTransformsDeployments2$inboundSchema: z.ZodType< CreateDeploymentTransformsDeployments2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: CreateDeploymentTransformsDeploymentsResponse200Op$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: CreateDeploymentTransformsDeploymentsResponse200Op$inboundSchema, + type: types.literal("request.path"), + }) +); export function createDeploymentTransformsDeployments2FromJSON( jsonString: string, @@ -4164,7 +4313,9 @@ export const CreateDeploymentTransformsDeploymentsArgs$inboundSchema: z.ZodType< CreateDeploymentTransformsDeploymentsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function createDeploymentTransformsDeploymentsArgsFromJSON( jsonString: string, @@ -4184,15 +4335,19 @@ export function createDeploymentTransformsDeploymentsArgsFromJSON( /** @internal */ export const CreateDeploymentTransformsDeploymentsResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentTransformsDeploymentsResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsDeploymentsResponseOp) + ); /** @internal */ export const CreateDeploymentKeyDeploymentsEq$inboundSchema: z.ZodType< CreateDeploymentKeyDeploymentsEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentKeyDeploymentsEqFromJSON( jsonString: string, @@ -4209,18 +4364,20 @@ export const CreateDeploymentKeyDeployments2$inboundSchema: z.ZodType< CreateDeploymentKeyDeployments2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function createDeploymentKeyDeployments2FromJSON( jsonString: string, @@ -4237,10 +4394,12 @@ export const CreateDeploymentTransformsDeploymentsKey$inboundSchema: z.ZodType< CreateDeploymentTransformsDeploymentsKey, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentKeyDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentKeyDeployments2$inboundSchema), + ]) +); export function createDeploymentTransformsDeploymentsKeyFromJSON( jsonString: string, @@ -4264,12 +4423,14 @@ export const CreateDeploymentTransformsDeploymentsTarget$inboundSchema: CreateDeploymentTransformsDeploymentsTarget, z.ZodTypeDef, unknown - > = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentKeyDeployments2$inboundSchema), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentKeyDeployments2$inboundSchema), + ]), + }) + ); export function createDeploymentTransformsDeploymentsTargetFromJSON( jsonString: string, @@ -4289,23 +4450,27 @@ export function createDeploymentTransformsDeploymentsTargetFromJSON( /** @internal */ export const CreateDeploymentTransformsDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentTransformsDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsDeploymentsResponseType) + ); /** @internal */ export const CreateDeploymentTransformsDeployments1$inboundSchema: z.ZodType< CreateDeploymentTransformsDeployments1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: CreateDeploymentTransformsDeploymentsResponseOp$inboundSchema, - target: z.lazy(() => - CreateDeploymentTransformsDeploymentsTarget$inboundSchema - ), - type: CreateDeploymentTransformsDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: CreateDeploymentTransformsDeploymentsResponseOp$inboundSchema, + target: z.lazy(() => + CreateDeploymentTransformsDeploymentsTarget$inboundSchema + ), + type: CreateDeploymentTransformsDeploymentsResponseType$inboundSchema, + }) +); export function createDeploymentTransformsDeployments1FromJSON( jsonString: string, @@ -4324,18 +4489,20 @@ export const CreateDeploymentRoutesDeploymentsTransforms$inboundSchema: CreateDeploymentRoutesDeploymentsTransforms, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => CreateDeploymentTransformsDeployments2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => CreateDeploymentTransformsDeployments2$inboundSchema), + ]) + ); export function createDeploymentRoutesDeploymentsTransformsFromJSON( jsonString: string, @@ -4358,22 +4525,20 @@ export const CreateDeploymentRoutesDeployments1$inboundSchema: z.ZodType< CreateDeploymentRoutesDeployments1, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => CreateDeploymentDestinationDeploymentsResponse2$inboundSchema ), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema ), @@ -4386,19 +4551,17 @@ export const CreateDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema ).and(z.object({ type: z.literal("query") })), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional( - z.lazy(() => CreateDeploymentRoutesLocale$inboundSchema), - ), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + CreateDeploymentRoutesLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema ), @@ -4411,19 +4574,17 @@ export const CreateDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema ).and(z.object({ type: z.literal("query") })), - ])), - ), - mitigate: types.optional( - z.lazy(() => CreateDeploymentRoutesDeploymentsMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + CreateDeploymentRoutesDeploymentsMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentTransformsDeployments1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -4434,9 +4595,9 @@ export const CreateDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => CreateDeploymentTransformsDeployments2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function createDeploymentRoutesDeployments1FromJSON( jsonString: string, @@ -4454,10 +4615,12 @@ export const CreateDeploymentServicesRoutes$inboundSchema: z.ZodType< CreateDeploymentServicesRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentRoutesDeployments1$inboundSchema), - z.lazy(() => CreateDeploymentRoutesDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentRoutesDeployments1$inboundSchema), + z.lazy(() => CreateDeploymentRoutesDeployments2$inboundSchema), + ]) +); export function createDeploymentServicesRoutesFromJSON( jsonString: string, @@ -4474,44 +4637,44 @@ export const CreateDeploymentServices2$inboundSchema: z.ZodType< CreateDeploymentServices2, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional(z.array(ServicesBindings$inboundSchema)), - buildCommand: types.optional(types.string()), - builder: CreateDeploymentServicesDeploymentsBuilder$inboundSchema, - cleanUrls: types.optional(types.boolean()), - command: types.optional(z.array(types.string())), - devCommand: types.optional(types.string()), - entrypoint: types.optional(types.string()), - framework: types.optional(types.string()), - functions: types.optional( - z.record(CreateDeploymentServicesFunctions$inboundSchema), - ), - headers: types.optional( - z.array(z.lazy(() => CreateDeploymentServicesHeaders$inboundSchema)), - ), - ignoreCommand: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - outputDirectory: types.optional(types.string()), - redirects: types.optional( - z.array(z.lazy(() => CreateDeploymentServicesRedirects$inboundSchema)), - ), - rewrites: types.optional( - z.array(z.lazy(() => ServicesRewrites$inboundSchema)), - ), - root: types.string(), - routes: types.optional( - z.array(smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional(z.array(ServicesBindings$inboundSchema)), + buildCommand: types.optional(types.string()), + builder: CreateDeploymentServicesDeploymentsBuilder$inboundSchema, + cleanUrls: types.optional(types.boolean()), + command: types.optional(z.array(types.string())), + devCommand: types.optional(types.string()), + entrypoint: types.optional(types.string()), + framework: types.optional(types.string()), + functions: types.optional( + z.record(CreateDeploymentServicesFunctions$inboundSchema), + ), + headers: types.optional( + z.array(z.lazy(() => CreateDeploymentServicesHeaders$inboundSchema)), + ), + ignoreCommand: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + outputDirectory: types.optional(types.string()), + redirects: types.optional( + z.array(z.lazy(() => CreateDeploymentServicesRedirects$inboundSchema)), + ), + rewrites: types.optional( + z.array(z.lazy(() => ServicesRewrites$inboundSchema)), + ), + root: types.string(), + routes: types.optional(z.array(smartUnion([ z.lazy(() => CreateDeploymentRoutesDeployments1$inboundSchema), z.lazy(() => CreateDeploymentRoutesDeployments2$inboundSchema ), - ])), - ), - runtime: types.optional(types.string()), - schema: types.literal("experimentalServicesV2"), - trailingSlash: types.optional(types.boolean()), -}); + ]))), + runtime: types.optional(types.string()), + schema: types.literal("experimentalServicesV2"), + trailingSlash: types.optional(types.boolean()), + }) +); export function createDeploymentServices2FromJSON( jsonString: string, @@ -4526,14 +4689,18 @@ export function createDeploymentServices2FromJSON( /** @internal */ export const CreateDeploymentServicesFormat$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesFormat -> = z.nativeEnum(CreateDeploymentServicesFormat); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesFormat) +); /** @internal */ export const CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -4541,14 +4708,16 @@ export const CreateDeploymentServicesBindings$inboundSchema: z.ZodType< CreateDeploymentServicesBindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: CreateDeploymentServicesFormat$inboundSchema, - service: types.string(), - type: types.optional( - CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: CreateDeploymentServicesFormat$inboundSchema, + service: types.string(), + type: types.optional( + CreateDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + ), + }) +); export function createDeploymentServicesBindingsFromJSON( jsonString: string, @@ -4565,10 +4734,12 @@ export const CreateDeploymentServicesHttpHeaders$inboundSchema: z.ZodType< CreateDeploymentServicesHttpHeaders, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) +); export function createDeploymentServicesHttpHeadersFromJSON( jsonString: string, @@ -4584,22 +4755,26 @@ export function createDeploymentServicesHttpHeadersFromJSON( /** @internal */ export const CreateDeploymentServicesScheme$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesScheme -> = z.nativeEnum(CreateDeploymentServicesScheme); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesScheme) +); /** @internal */ export const CreateDeploymentServicesHttpGet$inboundSchema: z.ZodType< CreateDeploymentServicesHttpGet, z.ZodTypeDef, unknown -> = z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => CreateDeploymentServicesHttpHeaders$inboundSchema)), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional(CreateDeploymentServicesScheme$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(z.lazy(() => CreateDeploymentServicesHttpHeaders$inboundSchema)), + ), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional(CreateDeploymentServicesScheme$inboundSchema), + }) +); export function createDeploymentServicesHttpGetFromJSON( jsonString: string, @@ -4616,14 +4791,16 @@ export const CreateDeploymentServicesLivenessProbe$inboundSchema: z.ZodType< CreateDeploymentServicesLivenessProbe, z.ZodTypeDef, unknown -> = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => CreateDeploymentServicesHttpGet$inboundSchema), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => CreateDeploymentServicesHttpGet$inboundSchema), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) +); export function createDeploymentServicesLivenessProbeFromJSON( jsonString: string, @@ -4639,16 +4816,20 @@ export function createDeploymentServicesLivenessProbeFromJSON( /** @internal */ export const CreateDeploymentServicesMemory$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesMemory -> = z.nativeEnum(CreateDeploymentServicesMemory); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesMemory) +); /** @internal */ export const CreateDeploymentServicesRequests$inboundSchema: z.ZodType< CreateDeploymentServicesRequests, z.ZodTypeDef, unknown -> = z.object({ - memory: CreateDeploymentServicesMemory$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: CreateDeploymentServicesMemory$inboundSchema, + }) +); export function createDeploymentServicesRequestsFromJSON( jsonString: string, @@ -4665,9 +4846,11 @@ export const CreateDeploymentServicesResources$inboundSchema: z.ZodType< CreateDeploymentServicesResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => CreateDeploymentServicesRequests$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => CreateDeploymentServicesRequests$inboundSchema), + }) +); export function createDeploymentServicesResourcesFromJSON( jsonString: string, @@ -4684,25 +4867,27 @@ export const CreateDeploymentServicesDaemon$inboundSchema: z.ZodType< CreateDeploymentServicesDaemon, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(z.lazy(() => CreateDeploymentServicesBindings$inboundSchema)), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => CreateDeploymentServicesLivenessProbe$inboundSchema), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional( - z.lazy(() => CreateDeploymentServicesResources$inboundSchema), - ), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional( + z.array(z.lazy(() => CreateDeploymentServicesBindings$inboundSchema)), + ), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional( + z.lazy(() => CreateDeploymentServicesLivenessProbe$inboundSchema), + ), + replicas: types.optional(z.record(types.number())), + resources: types.optional( + z.lazy(() => CreateDeploymentServicesResources$inboundSchema), + ), + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) +); export function createDeploymentServicesDaemonFromJSON( jsonString: string, @@ -4719,7 +4904,9 @@ export const CreateDeploymentServicesExcludeFiles$inboundSchema: z.ZodType< CreateDeploymentServicesExcludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function createDeploymentServicesExcludeFilesFromJSON( jsonString: string, @@ -4734,8 +4921,10 @@ export function createDeploymentServicesExcludeFilesFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsResponseMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsResponseMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsResponseMode) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsResponseAffinity$inboundSchema: @@ -4743,9 +4932,11 @@ export const CreateDeploymentServicesDeploymentsResponseAffinity$inboundSchema: CreateDeploymentServicesDeploymentsResponseAffinity, z.ZodTypeDef, unknown - > = z.object({ - mode: CreateDeploymentServicesDeploymentsResponseMode$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CreateDeploymentServicesDeploymentsResponseMode$inboundSchema, + }) + ); export function createDeploymentServicesDeploymentsResponseAffinityFromJSON( jsonString: string, @@ -4767,7 +4958,9 @@ export function createDeploymentServicesDeploymentsResponseAffinityFromJSON( export const CreateDeploymentServicesDeploymentsResponseArchitecture$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesDeploymentsResponseArchitecture - > = z.nativeEnum(CreateDeploymentServicesDeploymentsResponseArchitecture); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsResponseArchitecture) + ); /** @internal */ export const CreateDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema: @@ -4775,9 +4968,11 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse2003$inbound CreateDeploymentExperimentalTriggersDeploymentsResponse2003, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse2003FromJSON( jsonString: string, @@ -4800,14 +4995,16 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse2002$inbound CreateDeploymentExperimentalTriggersDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse2002FromJSON( jsonString: string, @@ -4830,15 +5027,17 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse2001$inbound CreateDeploymentExperimentalTriggersDeploymentsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse2001FromJSON( jsonString: string, @@ -4861,17 +5060,19 @@ export const CreateDeploymentServicesDeploymentsResponseExperimentalTriggers$inb CreateDeploymentServicesDeploymentsResponseExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse2002$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse2002$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema + ), + ]) + ); export function createDeploymentServicesDeploymentsResponseExperimentalTriggersFromJSON( jsonString: string, @@ -4890,8 +5091,10 @@ export function createDeploymentServicesDeploymentsResponseExperimentalTriggersF /** @internal */ export const CreateDeploymentMaxDurationDeploymentsResponse2002$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentMaxDurationDeploymentsResponse2002); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMaxDurationDeploymentsResponse2002) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsResponseMaxDuration$inboundSchema: @@ -4899,10 +5102,12 @@ export const CreateDeploymentServicesDeploymentsResponseMaxDuration$inboundSchem CreateDeploymentServicesDeploymentsResponseMaxDuration, z.ZodTypeDef, unknown - > = smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, + ]) + ); export function createDeploymentServicesDeploymentsResponseMaxDurationFromJSON( jsonString: string, @@ -4925,18 +5130,16 @@ export const CreateDeploymentServicesDeploymentsResponseFunctions$inboundSchema: CreateDeploymentServicesDeploymentsResponseFunctions, z.ZodTypeDef, unknown - > = z.object({ - affinity: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional(z.lazy(() => CreateDeploymentServicesDeploymentsResponseAffinity$inboundSchema + )), + architecture: types.optional( + CreateDeploymentServicesDeploymentsResponseArchitecture$inboundSchema, ), - ), - architecture: types.optional( - CreateDeploymentServicesDeploymentsResponseArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema ), @@ -4946,24 +5149,24 @@ export const CreateDeploymentServicesDeploymentsResponseFunctions$inboundSchema: z.lazy(() => CreateDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), - }); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) + ); export function createDeploymentServicesDeploymentsResponseFunctionsFromJSON( jsonString: string, @@ -4986,7 +5189,9 @@ export const CreateDeploymentServicesIncludeFiles$inboundSchema: z.ZodType< CreateDeploymentServicesIncludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function createDeploymentServicesIncludeFilesFromJSON( jsonString: string, @@ -5004,7 +5209,9 @@ export const CreateDeploymentServicesMiddlewareMatcher$inboundSchema: z.ZodType< CreateDeploymentServicesMiddlewareMatcher, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function createDeploymentServicesMiddlewareMatcherFromJSON( jsonString: string, @@ -5024,17 +5231,21 @@ export function createDeploymentServicesMiddlewareMatcherFromJSON( /** @internal */ export const CreateDeploymentServicesMiddlewareRuntime$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesMiddlewareRuntime); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesMiddlewareRuntime) + ); /** @internal */ export const CreateDeploymentServicesVercelFlags$inboundSchema: z.ZodType< CreateDeploymentServicesVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function createDeploymentServicesVercelFlagsFromJSON( jsonString: string, @@ -5052,25 +5263,27 @@ export const CreateDeploymentServicesProjectSettings$inboundSchema: z.ZodType< CreateDeploymentServicesProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => CreateDeploymentServicesVercelFlags$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => CreateDeploymentServicesVercelFlags$inboundSchema), + ), + }) +); export function createDeploymentServicesProjectSettingsFromJSON( jsonString: string, @@ -5093,9 +5306,11 @@ export const CreateDeploymentServicesSchedulesModule$inboundSchema: z.ZodType< CreateDeploymentServicesSchedulesModule, z.ZodTypeDef, unknown -> = z.object({ - module: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) +); export function createDeploymentServicesSchedulesModuleFromJSON( jsonString: string, @@ -5118,53 +5333,53 @@ export const CreateDeploymentServicesConfig$inboundSchema: z.ZodType< CreateDeploymentServicesConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional( - z.lazy(() => CreateDeploymentServicesDaemon$inboundSchema), - ), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional( + z.lazy(() => CreateDeploymentServicesDaemon$inboundSchema), + ), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional(z.record(z.lazy(() => CreateDeploymentServicesDeploymentsResponseFunctions$inboundSchema + ))), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional( + CreateDeploymentServicesMiddlewareRuntime$inboundSchema, + ), + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional(z.lazy(() => + CreateDeploymentServicesProjectSettings$inboundSchema )), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional( - CreateDeploymentServicesMiddlewareRuntime$inboundSchema, - ), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => CreateDeploymentServicesProjectSettings$inboundSchema), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional( - z.lazy(() => CreateDeploymentServicesSchedulesModule$inboundSchema), - ), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional(z.lazy(() => + CreateDeploymentServicesSchedulesModule$inboundSchema + )), + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function createDeploymentServicesConfigFromJSON( jsonString: string, @@ -5181,13 +5396,15 @@ export const CreateDeploymentServicesBuilder$inboundSchema: z.ZodType< CreateDeploymentServicesBuilder, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional( - z.lazy(() => CreateDeploymentServicesConfig$inboundSchema), - ), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional( + z.lazy(() => CreateDeploymentServicesConfig$inboundSchema), + ), + src: types.optional(types.string()), + use: types.string(), + }) +); export function createDeploymentServicesBuilderFromJSON( jsonString: string, @@ -5201,18 +5418,22 @@ export function createDeploymentServicesBuilderFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsType) + ); /** @internal */ export const CreateDeploymentServicesEnv$inboundSchema: z.ZodType< CreateDeploymentServicesEnv, z.ZodTypeDef, unknown -> = z.object({ - service: types.string(), - type: CreateDeploymentServicesDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + service: types.string(), + type: CreateDeploymentServicesDeploymentsType$inboundSchema, + }) +); export function createDeploymentServicesEnvFromJSON( jsonString: string, @@ -5227,14 +5448,16 @@ export function createDeploymentServicesEnvFromJSON( /** @internal */ export const ServicesRoutePrefixSource$inboundSchema: z.ZodNativeEnum< typeof ServicesRoutePrefixSource -> = z.nativeEnum(ServicesRoutePrefixSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesRoutePrefixSource)); /** @internal */ export const ServicesSchedule$inboundSchema: z.ZodType< ServicesSchedule, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function servicesScheduleFromJSON( jsonString: string, @@ -5251,11 +5474,13 @@ export const CreateDeploymentTopics2$inboundSchema: z.ZodType< CreateDeploymentTopics2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + }) +); export function createDeploymentTopics2FromJSON( jsonString: string, @@ -5272,10 +5497,12 @@ export const ServicesTopics$inboundSchema: z.ZodType< ServicesTopics, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => CreateDeploymentTopics2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => CreateDeploymentTopics2$inboundSchema)), + ]) +); export function servicesTopicsFromJSON( jsonString: string, @@ -5290,49 +5517,55 @@ export function servicesTopicsFromJSON( /** @internal */ export const CreateDeploymentServicesTrigger$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesTrigger -> = z.nativeEnum(CreateDeploymentServicesTrigger); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesTrigger) +); /** @internal */ export const CreateDeploymentServicesType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesType -> = z.nativeEnum(CreateDeploymentServicesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesType) +); /** @internal */ export const CreateDeploymentServices1$inboundSchema: z.ZodType< CreateDeploymentServices1, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - builder: z.lazy(() => CreateDeploymentServicesBuilder$inboundSchema), - entrypoint: types.optional(types.string()), - env: types.optional( - z.record(z.lazy(() => CreateDeploymentServicesEnv$inboundSchema)), - ), - framework: types.optional(types.string()), - group: types.optional(types.string()), - handlerFunction: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - preDeployCommand: types.optional(types.string()), - routePrefix: types.optional(types.string()), - routePrefixSource: types.optional(ServicesRoutePrefixSource$inboundSchema), - runtime: types.optional(types.string()), - schedule: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - schema: types.literal("experimentalServices"), - subdomain: types.optional(types.string()), - topics: types.optional( - smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => CreateDeploymentTopics2$inboundSchema)), - ]), - ), - trigger: types.optional(CreateDeploymentServicesTrigger$inboundSchema), - type: CreateDeploymentServicesType$inboundSchema, - workspace: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + builder: z.lazy(() => CreateDeploymentServicesBuilder$inboundSchema), + entrypoint: types.optional(types.string()), + env: types.optional( + z.record(z.lazy(() => CreateDeploymentServicesEnv$inboundSchema)), + ), + framework: types.optional(types.string()), + group: types.optional(types.string()), + handlerFunction: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + preDeployCommand: types.optional(types.string()), + routePrefix: types.optional(types.string()), + routePrefixSource: types.optional(ServicesRoutePrefixSource$inboundSchema), + runtime: types.optional(types.string()), + schedule: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + schema: types.literal("experimentalServices"), + subdomain: types.optional(types.string()), + topics: types.optional( + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => CreateDeploymentTopics2$inboundSchema)), + ]), + ), + trigger: types.optional(CreateDeploymentServicesTrigger$inboundSchema), + type: CreateDeploymentServicesType$inboundSchema, + workspace: types.string(), + }) +); export function createDeploymentServices1FromJSON( jsonString: string, @@ -5349,10 +5582,12 @@ export const ResponseBodyServices$inboundSchema: z.ZodType< ResponseBodyServices, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentServices1$inboundSchema), - z.lazy(() => CreateDeploymentServices2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentServices1$inboundSchema), + z.lazy(() => CreateDeploymentServices2$inboundSchema), + ]) +); export function responseBodyServicesFromJSON( jsonString: string, @@ -5367,29 +5602,37 @@ export function responseBodyServicesFromJSON( /** @internal */ export const CreateDeploymentResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodySource -> = z.nativeEnum(CreateDeploymentResponseBodySource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodySource) +); /** @internal */ export const CreateDeploymentResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodyStatus -> = z.nativeEnum(CreateDeploymentResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyStatus) +); /** @internal */ export const CreateDeploymentResponseBodyDeploymentsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsTarget) + ); /** @internal */ export const CreateDeploymentResponseBodyTeam$inboundSchema: z.ZodType< CreateDeploymentResponseBodyTeam, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function createDeploymentResponseBodyTeamFromJSON( jsonString: string, @@ -5404,146 +5647,148 @@ export function createDeploymentResponseBodyTeamFromJSON( /** @internal */ export const CreateDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodyType -> = z.nativeEnum(CreateDeploymentResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyType) +); /** @internal */ export const CreateDeploymentResponseBody2$inboundSchema: z.ZodType< CreateDeploymentResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasAssignedAt: z.nullable(ResponseBodyAliasAssignedAt$inboundSchema) - .optional(), - aliasError: z.nullable( - CreateDeploymentResponseBodyDeploymentsAliasError$inboundSchema, - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - aliasWarning: z.nullable( - CreateDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema, - ).optional(), - alwaysRefuseToBuild: types.optional(types.boolean()), - atproto: types.optional(ResponseBodyAtproto$inboundSchema), - attribution: types.optional(ResponseBodyAttribution$inboundSchema), - autoAssignCustomDomains: types.optional(types.boolean()), - automaticAliases: types.optional(z.array(types.string())), - bootedAt: types.number(), - build: ResponseBodyBuild$inboundSchema, - buildArtifactUrls: types.optional(z.array(types.string())), - buildContainerFinishedAt: types.optional(types.number()), - buildErrorAt: types.optional(types.number()), - buildingAt: types.number(), - builds: types.optional(z.array(ResponseBodyBuilds$inboundSchema)), - buildSkipped: types.boolean(), - canceledAt: types.optional(types.number()), - checks: types.optional(CreateDeploymentResponseBodyChecks$inboundSchema), - checksConclusion: types.optional( - CreateDeploymentResponseBodyChecksConclusion$inboundSchema, - ), - checksState: types.optional( - CreateDeploymentResponseBodyChecksState$inboundSchema, - ), - config: types.optional(CreateDeploymentResponseBodyConfig$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: CreateDeploymentResponseBodyCreator$inboundSchema, - crons: types.optional(z.array(ResponseBodyCrons$inboundSchema)), - customEnvironment: types.optional( - CreateDeploymentResponseBodyCustomEnvironment$inboundSchema, - ), - defaultRoute: types.optional(types.string()), - deletedAt: z.nullable(types.number()).optional(), - duration: CreateDeploymentResponseBodyDeploymentsDuration$inboundSchema, - env: z.array(types.string()), - errorCode: types.optional(types.string()), - errorLink: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - errorStep: types.optional(types.string()), - flags: types.optional(ResponseBodyFlags$inboundSchema), - functions: z.nullable(z.record(ResponseBodyFunctions$inboundSchema)) - .optional(), - gitRepo: z.nullable(ResponseBodyGitRepo$inboundSchema).optional(), - gitSource: types.optional( - CreateDeploymentResponseBodyGitSource$inboundSchema, - ), - id: types.string(), - images: types.optional(ResponseBodyImages$inboundSchema), - initReadyAt: types.optional(types.number()), - inspectorUrl: types.nullable(types.string()), - integrations: types.optional(ResponseBodyIntegrations$inboundSchema), - isFirstBranchDeployment: types.optional(types.boolean()), - isInConcurrentBuildsQueue: types.boolean(), - isInstantStatic: types.optional(types.boolean()), - isInSystemBuildsQueue: types.boolean(), - lambdas: types.optional( - z.array(CreateDeploymentResponseBodyLambdas$inboundSchema), - ), - manualProvisioning: types.optional( - CreateDeploymentResponseBodyManualProvisioning$inboundSchema, - ), - meta: z.record(types.string()), - microfrontends: types.optional(ResponseBodyMicrofrontends$inboundSchema), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - nodeVersion: types.optional( - CreateDeploymentResponseBodyNodeVersion$inboundSchema, - ), - oidcTokenClaims: types.optional( - CreateDeploymentResponseBodyOidcTokenClaims$inboundSchema, - ), - oomReport: types.optional( - CreateDeploymentResponseBodyOomReport$inboundSchema, - ), - originCacheRegion: types.optional(types.string()), - ownerId: types.string(), - passiveConnectConfigurationId: types.optional(types.string()), - passiveRegions: types.optional(z.array(types.string())), - plan: ResponseBodyPlan$inboundSchema, - platform: types.optional(ResponseBodyPlatform$inboundSchema), - prebuilt: types.optional(types.boolean()), - previewCommentsEnabled: types.optional(types.boolean()), - project: types.optional(CreateDeploymentResponseBodyProject$inboundSchema), - projectId: types.string(), - projectSettings: CreateDeploymentResponseBodyProjectSettings$inboundSchema, - public: types.boolean(), - ready: types.optional(types.number()), - readyState: CreateDeploymentResponseBodyDeploymentsReadyState$inboundSchema, - readyStateReason: types.optional(types.string()), - readySubstate: types.optional( - CreateDeploymentResponseBodyReadySubstate$inboundSchema, - ), - regions: z.array(types.string()), - resourceConfig: types.optional(ResponseBodyResourceConfig$inboundSchema), - routes: types.nullable(z.array(ResponseBodyRoutes$inboundSchema)), - seatBlock: types.optional(ResponseBodySeatBlock$inboundSchema), - services: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasAssignedAt: z.nullable(ResponseBodyAliasAssignedAt$inboundSchema) + .optional(), + aliasError: z.nullable( + CreateDeploymentResponseBodyDeploymentsAliasError$inboundSchema, + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + aliasWarning: z.nullable( + CreateDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema, + ).optional(), + alwaysRefuseToBuild: types.optional(types.boolean()), + atproto: types.optional(ResponseBodyAtproto$inboundSchema), + attribution: types.optional(ResponseBodyAttribution$inboundSchema), + autoAssignCustomDomains: types.optional(types.boolean()), + automaticAliases: types.optional(z.array(types.string())), + bootedAt: types.number(), + build: ResponseBodyBuild$inboundSchema, + buildArtifactUrls: types.optional(z.array(types.string())), + buildContainerFinishedAt: types.optional(types.number()), + buildErrorAt: types.optional(types.number()), + buildingAt: types.number(), + builds: types.optional(z.array(ResponseBodyBuilds$inboundSchema)), + buildSkipped: types.boolean(), + canceledAt: types.optional(types.number()), + checks: types.optional(CreateDeploymentResponseBodyChecks$inboundSchema), + checksConclusion: types.optional( + CreateDeploymentResponseBodyChecksConclusion$inboundSchema, + ), + checksState: types.optional( + CreateDeploymentResponseBodyChecksState$inboundSchema, + ), + config: types.optional(CreateDeploymentResponseBodyConfig$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: CreateDeploymentResponseBodyCreator$inboundSchema, + crons: types.optional(z.array(ResponseBodyCrons$inboundSchema)), + customEnvironment: types.optional( + CreateDeploymentResponseBodyCustomEnvironment$inboundSchema, + ), + defaultRoute: types.optional(types.string()), + deletedAt: z.nullable(types.number()).optional(), + duration: CreateDeploymentResponseBodyDeploymentsDuration$inboundSchema, + env: z.array(types.string()), + errorCode: types.optional(types.string()), + errorLink: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + errorStep: types.optional(types.string()), + flags: types.optional(ResponseBodyFlags$inboundSchema), + functions: z.nullable(z.record(ResponseBodyFunctions$inboundSchema)) + .optional(), + gitRepo: z.nullable(ResponseBodyGitRepo$inboundSchema).optional(), + gitSource: types.optional( + CreateDeploymentResponseBodyGitSource$inboundSchema, + ), + id: types.string(), + images: types.optional(ResponseBodyImages$inboundSchema), + initReadyAt: types.optional(types.number()), + inspectorUrl: types.nullable(types.string()), + integrations: types.optional(ResponseBodyIntegrations$inboundSchema), + isFirstBranchDeployment: types.optional(types.boolean()), + isInConcurrentBuildsQueue: types.boolean(), + isInstantStatic: types.optional(types.boolean()), + isInSystemBuildsQueue: types.boolean(), + lambdas: types.optional( + z.array(CreateDeploymentResponseBodyLambdas$inboundSchema), + ), + manualProvisioning: types.optional( + CreateDeploymentResponseBodyManualProvisioning$inboundSchema, + ), + meta: z.record(types.string()), + microfrontends: types.optional(ResponseBodyMicrofrontends$inboundSchema), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + nodeVersion: types.optional( + CreateDeploymentResponseBodyNodeVersion$inboundSchema, + ), + oidcTokenClaims: types.optional( + CreateDeploymentResponseBodyOidcTokenClaims$inboundSchema, + ), + oomReport: types.optional( + CreateDeploymentResponseBodyOomReport$inboundSchema, + ), + originCacheRegion: types.optional(types.string()), + ownerId: types.string(), + passiveConnectConfigurationId: types.optional(types.string()), + passiveRegions: types.optional(z.array(types.string())), + plan: ResponseBodyPlan$inboundSchema, + platform: types.optional(ResponseBodyPlatform$inboundSchema), + prebuilt: types.optional(types.boolean()), + previewCommentsEnabled: types.optional(types.boolean()), + project: types.optional(CreateDeploymentResponseBodyProject$inboundSchema), + projectId: types.string(), + projectSettings: CreateDeploymentResponseBodyProjectSettings$inboundSchema, + public: types.boolean(), + ready: types.optional(types.number()), + readyState: CreateDeploymentResponseBodyDeploymentsReadyState$inboundSchema, + readyStateReason: types.optional(types.string()), + readySubstate: types.optional( + CreateDeploymentResponseBodyReadySubstate$inboundSchema, + ), + regions: z.array(types.string()), + resourceConfig: types.optional(ResponseBodyResourceConfig$inboundSchema), + routes: types.nullable(z.array(ResponseBodyRoutes$inboundSchema)), + seatBlock: types.optional(ResponseBodySeatBlock$inboundSchema), + services: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentServices1$inboundSchema), z.lazy(() => CreateDeploymentServices2$inboundSchema ), - ])), - ), - softDeletedByRetention: types.optional(types.boolean()), - source: types.optional(CreateDeploymentResponseBodySource$inboundSchema), - status: CreateDeploymentResponseBodyStatus$inboundSchema, - target: z.nullable( - CreateDeploymentResponseBodyDeploymentsTarget$inboundSchema, - ).optional(), - team: types.optional( - z.lazy(() => CreateDeploymentResponseBodyTeam$inboundSchema), - ), - ttyBuildLogs: types.optional(types.boolean()), - type: CreateDeploymentResponseBodyType$inboundSchema, - undeletedAt: types.optional(types.number()), - url: types.string(), - userAliases: types.optional(z.array(types.string())), - userConfiguredDeploymentId: types.optional(types.string()), - version: types.number(), -}); + ]))), + softDeletedByRetention: types.optional(types.boolean()), + source: types.optional(CreateDeploymentResponseBodySource$inboundSchema), + status: CreateDeploymentResponseBodyStatus$inboundSchema, + target: z.nullable( + CreateDeploymentResponseBodyDeploymentsTarget$inboundSchema, + ).optional(), + team: types.optional(z.lazy(() => + CreateDeploymentResponseBodyTeam$inboundSchema + )), + ttyBuildLogs: types.optional(types.boolean()), + type: CreateDeploymentResponseBodyType$inboundSchema, + undeletedAt: types.optional(types.number()), + url: types.string(), + userAliases: types.optional(z.array(types.string())), + userConfiguredDeploymentId: types.optional(types.string()), + version: types.number(), + }) +); export function createDeploymentResponseBody2FromJSON( jsonString: string, @@ -5560,10 +5805,12 @@ export const CreateDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< CreateDeploymentResponseBodyAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createDeploymentResponseBodyAliasErrorFromJSON( jsonString: string, @@ -5581,12 +5828,14 @@ export const CreateDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< CreateDeploymentResponseBodyAliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function createDeploymentResponseBodyAliasWarningFromJSON( jsonString: string, @@ -5609,15 +5858,17 @@ export const CreateDeploymentResponseBodyDuration$inboundSchema: z.ZodType< CreateDeploymentResponseBodyDuration, z.ZodTypeDef, unknown -> = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) +); export function createDeploymentResponseBodyDurationFromJSON( jsonString: string, @@ -5632,11 +5883,14 @@ export function createDeploymentResponseBodyDurationFromJSON( /** @internal */ export const CreateDeploymentResponseBodyReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentResponseBodyReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyReadyState) + ); /** @internal */ export const CreateDeploymentResponseBodyTarget$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodyTarget -> = z.nativeEnum(CreateDeploymentResponseBodyTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyTarget) +); diff --git a/src/models/createdeploymentvaluedeploymentsresponse200applicationjsonresponsebody2serviceseq.ts b/src/models/createdeploymentvaluedeploymentsresponse200applicationjsonresponsebody2serviceseq.ts index ad3cd1efcb..8a1b0c21b1 100644 --- a/src/models/createdeploymentvaluedeploymentsresponse200applicationjsonresponsebody2serviceseq.ts +++ b/src/models/createdeploymentvaluedeploymentsresponse200applicationjsonresponsebody2serviceseq.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1845,27 +1845,29 @@ export const CreateDeploymentResponseBodyGitSource$inboundSchema: z.ZodType< CreateDeploymentResponseBodyGitSource, z.ZodTypeDef, unknown -> = smartUnion([ - CreateDeploymentGitSource19$inboundSchema, - CreateDeploymentGitSource14$inboundSchema, - CreateDeploymentGitSource17$inboundSchema, - CreateDeploymentGitSource18$inboundSchema, - CreateDeploymentGitSource4$inboundSchema, - CreateDeploymentGitSource12$inboundSchema, - CreateDeploymentGitSource13$inboundSchema, - CreateDeploymentGitSource15$inboundSchema, - CreateDeploymentGitSource16$inboundSchema, - CreateDeploymentGitSource2$inboundSchema, - CreateDeploymentGitSource3$inboundSchema, - CreateDeploymentGitSource6$inboundSchema, - CreateDeploymentGitSource9$inboundSchema, - CreateDeploymentGitSource10$inboundSchema, - CreateDeploymentGitSource1$inboundSchema, - CreateDeploymentGitSource5$inboundSchema, - CreateDeploymentGitSource7$inboundSchema, - CreateDeploymentGitSource8$inboundSchema, - CreateDeploymentGitSource11$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + CreateDeploymentGitSource19$inboundSchema, + CreateDeploymentGitSource14$inboundSchema, + CreateDeploymentGitSource17$inboundSchema, + CreateDeploymentGitSource18$inboundSchema, + CreateDeploymentGitSource4$inboundSchema, + CreateDeploymentGitSource12$inboundSchema, + CreateDeploymentGitSource13$inboundSchema, + CreateDeploymentGitSource15$inboundSchema, + CreateDeploymentGitSource16$inboundSchema, + CreateDeploymentGitSource2$inboundSchema, + CreateDeploymentGitSource3$inboundSchema, + CreateDeploymentGitSource6$inboundSchema, + CreateDeploymentGitSource9$inboundSchema, + CreateDeploymentGitSource10$inboundSchema, + CreateDeploymentGitSource1$inboundSchema, + CreateDeploymentGitSource5$inboundSchema, + CreateDeploymentGitSource7$inboundSchema, + CreateDeploymentGitSource8$inboundSchema, + CreateDeploymentGitSource11$inboundSchema, + ]) +); export function createDeploymentResponseBodyGitSourceFromJSON( jsonString: string, @@ -1881,22 +1883,26 @@ export function createDeploymentResponseBodyGitSourceFromJSON( /** @internal */ export const ResponseBodyContentDispositionType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyContentDispositionType -> = z.nativeEnum(ResponseBodyContentDispositionType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyContentDispositionType) +); /** @internal */ export const ResponseBodyFormats$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFormats -> = z.nativeEnum(ResponseBodyFormats); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyFormats)); /** @internal */ export const ResponseBodyLocalPatterns$inboundSchema: z.ZodType< ResponseBodyLocalPatterns, z.ZodTypeDef, unknown -> = z.object({ - pathname: types.optional(types.string()), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pathname: types.optional(types.string()), + search: types.optional(types.string()), + }) +); export function responseBodyLocalPatternsFromJSON( jsonString: string, @@ -1911,20 +1917,22 @@ export function responseBodyLocalPatternsFromJSON( /** @internal */ export const ResponseBodyProtocol$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyProtocol -> = z.nativeEnum(ResponseBodyProtocol); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyProtocol)); /** @internal */ export const ResponseBodyRemotePatterns$inboundSchema: z.ZodType< ResponseBodyRemotePatterns, z.ZodTypeDef, unknown -> = z.object({ - hostname: types.string(), - pathname: types.optional(types.string()), - port: types.optional(types.string()), - protocol: types.optional(ResponseBodyProtocol$inboundSchema), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hostname: types.string(), + pathname: types.optional(types.string()), + port: types.optional(types.string()), + protocol: types.optional(ResponseBodyProtocol$inboundSchema), + search: types.optional(types.string()), + }) +); export function responseBodyRemotePatternsFromJSON( jsonString: string, @@ -1941,24 +1949,26 @@ export const ResponseBodyImages$inboundSchema: z.ZodType< ResponseBodyImages, z.ZodTypeDef, unknown -> = z.object({ - contentDispositionType: types.optional( - ResponseBodyContentDispositionType$inboundSchema, - ), - contentSecurityPolicy: types.optional(types.string()), - dangerouslyAllowSVG: types.optional(types.boolean()), - domains: types.optional(z.array(types.string())), - formats: types.optional(z.array(ResponseBodyFormats$inboundSchema)), - localPatterns: types.optional( - z.array(z.lazy(() => ResponseBodyLocalPatterns$inboundSchema)), - ), - minimumCacheTTL: types.optional(types.number()), - qualities: types.optional(z.array(types.number())), - remotePatterns: types.optional( - z.array(z.lazy(() => ResponseBodyRemotePatterns$inboundSchema)), - ), - sizes: types.optional(z.array(types.number())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + contentDispositionType: types.optional( + ResponseBodyContentDispositionType$inboundSchema, + ), + contentSecurityPolicy: types.optional(types.string()), + dangerouslyAllowSVG: types.optional(types.boolean()), + domains: types.optional(z.array(types.string())), + formats: types.optional(z.array(ResponseBodyFormats$inboundSchema)), + localPatterns: types.optional( + z.array(z.lazy(() => ResponseBodyLocalPatterns$inboundSchema)), + ), + minimumCacheTTL: types.optional(types.number()), + qualities: types.optional(z.array(types.number())), + remotePatterns: types.optional( + z.array(z.lazy(() => ResponseBodyRemotePatterns$inboundSchema)), + ), + sizes: types.optional(z.array(types.number())), + }) +); export function responseBodyImagesFromJSON( jsonString: string, @@ -1972,22 +1982,26 @@ export function responseBodyImagesFromJSON( /** @internal */ export const CreateDeploymentResponseBodyDeploymentsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsStatus) + ); /** @internal */ export const ResponseBodyIntegrations$inboundSchema: z.ZodType< ResponseBodyIntegrations, z.ZodTypeDef, unknown -> = z.object({ - claimedAt: types.optional(types.number()), - completedAt: types.optional(types.number()), - skippedAt: types.optional(types.number()), - skippedBy: types.optional(types.string()), - startedAt: types.number(), - status: CreateDeploymentResponseBodyDeploymentsStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claimedAt: types.optional(types.number()), + completedAt: types.optional(types.number()), + skippedAt: types.optional(types.number()), + skippedBy: types.optional(types.string()), + startedAt: types.number(), + status: CreateDeploymentResponseBodyDeploymentsStatus$inboundSchema, + }) +); export function responseBodyIntegrationsFromJSON( jsonString: string, @@ -2003,17 +2017,21 @@ export function responseBodyIntegrationsFromJSON( export const CreateDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodyDeploymentsResponseReadyState - > = z.nativeEnum(CreateDeploymentResponseBodyDeploymentsResponseReadyState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsResponseReadyState) + ); /** @internal */ export const CreateDeploymentResponseBodyOutput$inboundSchema: z.ZodType< CreateDeploymentResponseBodyOutput, z.ZodTypeDef, unknown -> = z.object({ - functionName: types.string(), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionName: types.string(), + path: types.string(), + }) +); export function createDeploymentResponseBodyOutputFromJSON( jsonString: string, @@ -2031,18 +2049,20 @@ export const CreateDeploymentResponseBodyLambdas$inboundSchema: z.ZodType< CreateDeploymentResponseBodyLambdas, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - entrypoint: z.nullable(types.string()).optional(), - id: types.string(), - readyState: types.optional( - CreateDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema, - ), - readyStateAt: types.optional(types.number()), - output: z.array( - z.lazy(() => CreateDeploymentResponseBodyOutput$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + entrypoint: z.nullable(types.string()).optional(), + id: types.string(), + readyState: types.optional( + CreateDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema, + ), + readyStateAt: types.optional(types.number()), + output: z.array( + z.lazy(() => CreateDeploymentResponseBodyOutput$inboundSchema), + ), + }) +); export function createDeploymentResponseBodyLambdasFromJSON( jsonString: string, @@ -2058,7 +2078,9 @@ export function createDeploymentResponseBodyLambdasFromJSON( /** @internal */ export const CreateDeploymentResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentResponseBodyState -> = z.nativeEnum(CreateDeploymentResponseBodyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyState) +); /** @internal */ export const CreateDeploymentResponseBodyManualProvisioning$inboundSchema: @@ -2066,10 +2088,12 @@ export const CreateDeploymentResponseBodyManualProvisioning$inboundSchema: CreateDeploymentResponseBodyManualProvisioning, z.ZodTypeDef, unknown - > = z.object({ - completedAt: types.optional(types.number()), - state: CreateDeploymentResponseBodyState$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + state: CreateDeploymentResponseBodyState$inboundSchema, + }) + ); export function createDeploymentResponseBodyManualProvisioningFromJSON( jsonString: string, @@ -2090,22 +2114,26 @@ export function createDeploymentResponseBodyManualProvisioningFromJSON( /** @internal */ export const MicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum< typeof MicrofrontendsMfeConfigUploadState -> = z.nativeEnum(MicrofrontendsMfeConfigUploadState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(MicrofrontendsMfeConfigUploadState) +); /** @internal */ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType< CreateDeploymentMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - mfeConfigUploadState: types.optional( - MicrofrontendsMfeConfigUploadState$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + mfeConfigUploadState: types.optional( + MicrofrontendsMfeConfigUploadState$inboundSchema, + ), + }) +); export function createDeploymentMicrofrontends2FromJSON( jsonString: string, @@ -2122,12 +2150,14 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType< CreateDeploymentMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + }) +); export function createDeploymentMicrofrontends1FromJSON( jsonString: string, @@ -2144,10 +2174,12 @@ export const ResponseBodyMicrofrontends$inboundSchema: z.ZodType< ResponseBodyMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), - z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), + z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), + ]) +); export function responseBodyMicrofrontendsFromJSON( jsonString: string, @@ -2161,8 +2193,10 @@ export function responseBodyMicrofrontendsFromJSON( /** @internal */ export const CreateDeploymentResponseBodyNodeVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyNodeVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyNodeVersion) + ); /** @internal */ export const CreateDeploymentResponseBodyOidcTokenClaims$inboundSchema: @@ -2170,29 +2204,31 @@ export const CreateDeploymentResponseBodyOidcTokenClaims$inboundSchema: CreateDeploymentResponseBodyOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function createDeploymentResponseBodyOidcTokenClaimsFromJSON( jsonString: string, @@ -2212,14 +2248,15 @@ export function createDeploymentResponseBodyOidcTokenClaimsFromJSON( /** @internal */ export const CreateDeploymentResponseBodyOomReport$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentResponseBodyOomReport, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyOomReport) + ); /** @internal */ export const ResponseBodyPlan$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyPlan -> = z.nativeEnum(ResponseBodyPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyPlan)); /** @internal */ export const CreateDeploymentResponseBodyDeploymentsCreator$inboundSchema: @@ -2227,10 +2264,12 @@ export const CreateDeploymentResponseBodyDeploymentsCreator$inboundSchema: CreateDeploymentResponseBodyDeploymentsCreator, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + name: types.string(), + }) + ); export function createDeploymentResponseBodyDeploymentsCreatorFromJSON( jsonString: string, @@ -2251,17 +2290,21 @@ export function createDeploymentResponseBodyDeploymentsCreatorFromJSON( /** @internal */ export const CreateDeploymentResponseBodyDeploymentsResponseType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentResponseBodyDeploymentsResponseType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsResponseType) + ); /** @internal */ export const ResponseBodyOrigin$inboundSchema: z.ZodType< ResponseBodyOrigin, z.ZodTypeDef, unknown -> = z.object({ - type: CreateDeploymentResponseBodyDeploymentsResponseType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateDeploymentResponseBodyDeploymentsResponseType$inboundSchema, + value: types.string(), + }) +); export function responseBodyOriginFromJSON( jsonString: string, @@ -2279,9 +2322,11 @@ export const CreateDeploymentResponseBodyDeploymentsSource$inboundSchema: CreateDeploymentResponseBodyDeploymentsSource, z.ZodTypeDef, unknown - > = z.object({ - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) + ); export function createDeploymentResponseBodyDeploymentsSourceFromJSON( jsonString: string, @@ -2304,16 +2349,18 @@ export const ResponseBodyPlatform$inboundSchema: z.ZodType< ResponseBodyPlatform, z.ZodTypeDef, unknown -> = z.object({ - creator: z.lazy(() => - CreateDeploymentResponseBodyDeploymentsCreator$inboundSchema - ), - meta: types.optional(z.record(types.string())), - origin: z.lazy(() => ResponseBodyOrigin$inboundSchema), - source: z.lazy(() => - CreateDeploymentResponseBodyDeploymentsSource$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: z.lazy(() => + CreateDeploymentResponseBodyDeploymentsCreator$inboundSchema + ), + meta: types.optional(z.record(types.string())), + origin: z.lazy(() => ResponseBodyOrigin$inboundSchema), + source: z.lazy(() => + CreateDeploymentResponseBodyDeploymentsSource$inboundSchema + ), + }) +); export function responseBodyPlatformFromJSON( jsonString: string, @@ -2330,11 +2377,13 @@ export const CreateDeploymentResponseBodyProject$inboundSchema: z.ZodType< CreateDeploymentResponseBodyProject, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(types.string()).optional(), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(types.string()).optional(), + id: types.string(), + name: types.string(), + }) +); export function createDeploymentResponseBodyProjectFromJSON( jsonString: string, @@ -2349,29 +2398,34 @@ export function createDeploymentResponseBodyProjectFromJSON( /** @internal */ export const CreateDeploymentResponseBodyFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentResponseBodyFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyFramework) + ); /** @internal */ export const CreateDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsNodeVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsNodeVersion) + ); /** @internal */ export const CreateDeploymentResponseBodySpeedInsights$inboundSchema: z.ZodType< CreateDeploymentResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function createDeploymentResponseBodySpeedInsightsFromJSON( jsonString: string, @@ -2394,9 +2448,11 @@ export const ResponseBodyVercelFlags$inboundSchema: z.ZodType< ResponseBodyVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function responseBodyVercelFlagsFromJSON( jsonString: string, @@ -2413,13 +2469,15 @@ export const CreateDeploymentResponseBodyWebAnalytics$inboundSchema: z.ZodType< CreateDeploymentResponseBodyWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function createDeploymentResponseBodyWebAnalyticsFromJSON( jsonString: string, @@ -2443,27 +2501,29 @@ export const CreateDeploymentResponseBodyProjectSettings$inboundSchema: CreateDeploymentResponseBodyProjectSettings, z.ZodTypeDef, unknown - > = z.object({ - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - devCommand: z.nullable(types.string()).optional(), - framework: z.nullable(CreateDeploymentResponseBodyFramework$inboundSchema) - .optional(), - installCommand: z.nullable(types.string()).optional(), - nodeVersion: types.optional( - CreateDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema, - ), - outputDirectory: z.nullable(types.string()).optional(), - speedInsights: types.optional( - z.lazy(() => CreateDeploymentResponseBodySpeedInsights$inboundSchema), - ), - vercelFlags: types.optional( - z.lazy(() => ResponseBodyVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => CreateDeploymentResponseBodyWebAnalytics$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + devCommand: z.nullable(types.string()).optional(), + framework: z.nullable(CreateDeploymentResponseBodyFramework$inboundSchema) + .optional(), + installCommand: z.nullable(types.string()).optional(), + nodeVersion: types.optional( + CreateDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema, + ), + outputDirectory: z.nullable(types.string()).optional(), + speedInsights: types.optional( + z.lazy(() => CreateDeploymentResponseBodySpeedInsights$inboundSchema), + ), + vercelFlags: types.optional( + z.lazy(() => ResponseBodyVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => CreateDeploymentResponseBodyWebAnalytics$inboundSchema), + ), + }) + ); export function createDeploymentResponseBodyProjectSettingsFromJSON( jsonString: string, @@ -2483,58 +2543,72 @@ export function createDeploymentResponseBodyProjectSettingsFromJSON( /** @internal */ export const CreateDeploymentResponseBodyDeploymentsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyDeploymentsReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyDeploymentsReadyState) + ); /** @internal */ export const CreateDeploymentResponseBodyReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentResponseBodyReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentResponseBodyReadySubstate) + ); /** @internal */ export const CreateDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentBuildMachineDeploymentsMachineSelectionType - > = z.nativeEnum(CreateDeploymentBuildMachineDeploymentsMachineSelectionType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineDeploymentsMachineSelectionType) + ); /** @internal */ export const CreateDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentBuildMachineDeploymentsPurchaseType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineDeploymentsPurchaseType) + ); /** @internal */ export const CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType - > = z.nativeEnum(CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType) + ); /** @internal */ export const CreateDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentBuildMachineDeploymentsSelectionSource - > = z.nativeEnum(CreateDeploymentBuildMachineDeploymentsSelectionSource); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineDeploymentsSelectionSource) + ); /** @internal */ export const CreateDeploymentBuildMachine2$inboundSchema: z.ZodType< CreateDeploymentBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: types.optional( - CreateDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema, - ), - purchaseType: types.optional( - CreateDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema, - ), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional( - CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema, - ), - memory: types.optional(types.number()), - selectionSource: types.optional( - CreateDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: types.optional( + CreateDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema, + ), + purchaseType: types.optional( + CreateDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema, + ), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional( + CreateDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema, + ), + memory: types.optional(types.number()), + selectionSource: types.optional( + CreateDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema, + ), + }) +); export function createDeploymentBuildMachine2FromJSON( jsonString: string, @@ -2548,44 +2622,54 @@ export function createDeploymentBuildMachine2FromJSON( /** @internal */ export const CreateDeploymentBuildMachineMachineSelectionType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentBuildMachineMachineSelectionType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineMachineSelectionType) + ); /** @internal */ export const CreateDeploymentBuildMachinePurchaseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentBuildMachinePurchaseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachinePurchaseType) + ); /** @internal */ export const CreateDeploymentBuildMachineDefaultPurchaseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentBuildMachineDefaultPurchaseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineDefaultPurchaseType) + ); /** @internal */ export const CreateDeploymentBuildMachineSelectionSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentBuildMachineSelectionSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentBuildMachineSelectionSource) + ); /** @internal */ export const CreateDeploymentBuildMachine1$inboundSchema: z.ZodType< CreateDeploymentBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: - CreateDeploymentBuildMachineMachineSelectionType$inboundSchema, - purchaseType: types.optional( - CreateDeploymentBuildMachinePurchaseType$inboundSchema, - ), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional( - CreateDeploymentBuildMachineDefaultPurchaseType$inboundSchema, - ), - memory: types.optional(types.number()), - selectionSource: types.optional( - CreateDeploymentBuildMachineSelectionSource$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: + CreateDeploymentBuildMachineMachineSelectionType$inboundSchema, + purchaseType: types.optional( + CreateDeploymentBuildMachinePurchaseType$inboundSchema, + ), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional( + CreateDeploymentBuildMachineDefaultPurchaseType$inboundSchema, + ), + memory: types.optional(types.number()), + selectionSource: types.optional( + CreateDeploymentBuildMachineSelectionSource$inboundSchema, + ), + }) +); export function createDeploymentBuildMachine1FromJSON( jsonString: string, @@ -2602,10 +2686,12 @@ export const CreateDeploymentResponseBodyBuildMachine$inboundSchema: z.ZodType< CreateDeploymentResponseBodyBuildMachine, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentBuildMachine1$inboundSchema), - z.lazy(() => CreateDeploymentBuildMachine2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentBuildMachine1$inboundSchema), + z.lazy(() => CreateDeploymentBuildMachine2$inboundSchema), + ]) +); export function createDeploymentResponseBodyBuildMachineFromJSON( jsonString: string, @@ -2628,14 +2714,14 @@ export const ResponseBodyResourceConfig$inboundSchema: z.ZodType< ResponseBodyResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachine: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachine: types.optional(smartUnion([ z.lazy(() => CreateDeploymentBuildMachine1$inboundSchema), z.lazy(() => CreateDeploymentBuildMachine2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function responseBodyResourceConfigFromJSON( jsonString: string, @@ -2652,11 +2738,13 @@ export const CreateDeploymentRoutes3$inboundSchema: z.ZodType< CreateDeploymentRoutes3, z.ZodTypeDef, unknown -> = z.object({ - continue: types.boolean(), - middleware: types.number(), - src: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + continue: types.boolean(), + middleware: types.number(), + src: types.string(), + }) +); export function createDeploymentRoutes3FromJSON( jsonString: string, @@ -2670,19 +2758,21 @@ export function createDeploymentRoutes3FromJSON( /** @internal */ export const RoutesHandle$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RoutesHandle); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RoutesHandle)); /** @internal */ export const CreateDeploymentRoutes2$inboundSchema: z.ZodType< CreateDeploymentRoutes2, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: RoutesHandle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: RoutesHandle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) +); export function createDeploymentRoutes2FromJSON( jsonString: string, @@ -2697,18 +2787,22 @@ export function createDeploymentRoutes2FromJSON( /** @internal */ export const CreateDeploymentDestinationType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentDestinationType -> = z.nativeEnum(CreateDeploymentDestinationType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentDestinationType) +); /** @internal */ export const CreateDeploymentDestination2$inboundSchema: z.ZodType< CreateDeploymentDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(CreateDeploymentDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(CreateDeploymentDestinationType$inboundSchema), + }) +); export function createDeploymentDestination2FromJSON( jsonString: string, @@ -2725,10 +2819,12 @@ export const CreateDeploymentRoutesDestination$inboundSchema: z.ZodType< CreateDeploymentRoutesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentDestination2$inboundSchema), + types.string(), + ]) +); export function createDeploymentRoutesDestinationFromJSON( jsonString: string, @@ -2743,14 +2839,18 @@ export function createDeploymentRoutesDestinationFromJSON( /** @internal */ export const CreateDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsType -> = z.nativeEnum(CreateDeploymentHasDeploymentsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentHasDeploymentsType) +); /** @internal */ export const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< CreateDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentValueDeploymentsEqFromJSON( jsonString: string, @@ -2768,19 +2868,21 @@ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType< CreateDeploymentValueDeployments2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function createDeploymentValueDeployments2FromJSON( jsonString: string, @@ -2797,10 +2899,12 @@ export const CreateDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< CreateDeploymentHasDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema), + ]) +); export function createDeploymentHasDeploymentsValueFromJSON( jsonString: string, @@ -2818,16 +2922,16 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType< CreateDeploymentHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CreateDeploymentHasDeploymentsType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CreateDeploymentHasDeploymentsType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function createDeploymentHas2FromJSON( jsonString: string, @@ -2844,7 +2948,9 @@ export const CreateDeploymentValueEq$inboundSchema: z.ZodType< CreateDeploymentValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentValueEqFromJSON( jsonString: string, @@ -2861,19 +2967,21 @@ export const CreateDeploymentValue2$inboundSchema: z.ZodType< CreateDeploymentValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function createDeploymentValue2FromJSON( jsonString: string, @@ -2890,10 +2998,12 @@ export const CreateDeploymentHasValue$inboundSchema: z.ZodType< CreateDeploymentHasValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValue2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValue2$inboundSchema), + ]) +); export function createDeploymentHasValueFromJSON( jsonString: string, @@ -2910,13 +3020,15 @@ export const CreateDeploymentHas1$inboundSchema: z.ZodType< CreateDeploymentHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValue2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValue2$inboundSchema), + ]), + }) +); export function createDeploymentHas1FromJSON( jsonString: string, @@ -2933,18 +3045,20 @@ export const CreateDeploymentRoutesHas$inboundSchema: z.ZodType< CreateDeploymentRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentHas1$inboundSchema), - z.lazy(() => CreateDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentHas1$inboundSchema), + z.lazy(() => CreateDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CreateDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CreateDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function createDeploymentRoutesHasFromJSON( jsonString: string, @@ -2961,10 +3075,12 @@ export const RoutesLocale$inboundSchema: z.ZodType< RoutesLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function routesLocaleFromJSON( jsonString: string, @@ -2978,9 +3094,10 @@ export function routesLocaleFromJSON( /** @internal */ export const CreateDeploymentMissingDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentMissingDeploymentsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMissingDeploymentsType) + ); /** @internal */ export const CreateDeploymentValueDeploymentsResponse200Eq$inboundSchema: @@ -2988,7 +3105,9 @@ export const CreateDeploymentValueDeploymentsResponse200Eq$inboundSchema: CreateDeploymentValueDeploymentsResponse200Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200EqFromJSON( jsonString: string, @@ -3012,19 +3131,21 @@ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema: CreateDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, @@ -3047,10 +3168,12 @@ export const CreateDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType< CreateDeploymentMissingDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema), + ]) +); export function createDeploymentMissingDeploymentsValueFromJSON( jsonString: string, @@ -3073,16 +3196,16 @@ export const CreateDeploymentMissing2$inboundSchema: z.ZodType< CreateDeploymentMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CreateDeploymentMissingDeploymentsType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CreateDeploymentMissingDeploymentsType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema), - ]), - ), -}); + ])), + }) +); export function createDeploymentMissing2FromJSON( jsonString: string, @@ -3097,7 +3220,9 @@ export function createDeploymentMissing2FromJSON( /** @internal */ export const CreateDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponseEqFromJSON( jsonString: string, @@ -3120,19 +3245,21 @@ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< CreateDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function createDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, @@ -3155,10 +3282,12 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType< CreateDeploymentMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), + ]) +); export function createDeploymentMissingValueFromJSON( jsonString: string, @@ -3175,13 +3304,15 @@ export const CreateDeploymentMissing1$inboundSchema: z.ZodType< CreateDeploymentMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), + ]), + }) +); export function createDeploymentMissing1FromJSON( jsonString: string, @@ -3198,18 +3329,20 @@ export const CreateDeploymentRoutesMissing$inboundSchema: z.ZodType< CreateDeploymentRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentMissing1$inboundSchema), - z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentMissing1$inboundSchema), + z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function createDeploymentRoutesMissingFromJSON( jsonString: string, @@ -3224,16 +3357,20 @@ export function createDeploymentRoutesMissingFromJSON( /** @internal */ export const CreateDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentRoutesAction -> = z.nativeEnum(CreateDeploymentRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentRoutesAction) +); /** @internal */ export const CreateDeploymentRoutesMitigate$inboundSchema: z.ZodType< CreateDeploymentRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: CreateDeploymentRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: CreateDeploymentRoutesAction$inboundSchema, + }) +); export function createDeploymentRoutesMitigateFromJSON( jsonString: string, @@ -3247,21 +3384,25 @@ export function createDeploymentRoutesMitigateFromJSON( /** @internal */ export const CreateDeploymentTransformsDeploymentsOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentTransformsDeploymentsOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsDeploymentsOp) + ); /** @internal */ export const CreateDeploymentTransforms2$inboundSchema: z.ZodType< CreateDeploymentTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: CreateDeploymentTransformsDeploymentsOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: CreateDeploymentTransformsDeploymentsOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function createDeploymentTransforms2FromJSON( jsonString: string, @@ -3278,7 +3419,9 @@ export const CreateDeploymentTransformsArgs$inboundSchema: z.ZodType< CreateDeploymentTransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function createDeploymentTransformsArgsFromJSON( jsonString: string, @@ -3293,14 +3436,18 @@ export function createDeploymentTransformsArgsFromJSON( /** @internal */ export const CreateDeploymentTransformsOp$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentTransformsOp -> = z.nativeEnum(CreateDeploymentTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsOp) +); /** @internal */ export const CreateDeploymentKeyEq$inboundSchema: z.ZodType< CreateDeploymentKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function createDeploymentKeyEqFromJSON( jsonString: string, @@ -3317,18 +3464,20 @@ export const CreateDeploymentKey2$inboundSchema: z.ZodType< CreateDeploymentKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function createDeploymentKey2FromJSON( jsonString: string, @@ -3345,10 +3494,9 @@ export const CreateDeploymentTransformsKey$inboundSchema: z.ZodType< CreateDeploymentTransformsKey, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentKey2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => CreateDeploymentKey2$inboundSchema)]) +); export function createDeploymentTransformsKeyFromJSON( jsonString: string, @@ -3365,12 +3513,14 @@ export const CreateDeploymentTransformsTarget$inboundSchema: z.ZodType< CreateDeploymentTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => CreateDeploymentKey2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => CreateDeploymentKey2$inboundSchema), + ]), + }) +); export function createDeploymentTransformsTargetFromJSON( jsonString: string, @@ -3385,20 +3535,24 @@ export function createDeploymentTransformsTargetFromJSON( /** @internal */ export const CreateDeploymentTransformsType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentTransformsType -> = z.nativeEnum(CreateDeploymentTransformsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentTransformsType) +); /** @internal */ export const CreateDeploymentTransforms1$inboundSchema: z.ZodType< CreateDeploymentTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: CreateDeploymentTransformsOp$inboundSchema, - target: z.lazy(() => CreateDeploymentTransformsTarget$inboundSchema), - type: CreateDeploymentTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: CreateDeploymentTransformsOp$inboundSchema, + target: z.lazy(() => CreateDeploymentTransformsTarget$inboundSchema), + type: CreateDeploymentTransformsType$inboundSchema, + }) +); export function createDeploymentTransforms1FromJSON( jsonString: string, @@ -3415,18 +3569,20 @@ export const CreateDeploymentRoutesTransforms$inboundSchema: z.ZodType< CreateDeploymentRoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => CreateDeploymentTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => CreateDeploymentTransforms2$inboundSchema), + ]) +); export function createDeploymentRoutesTransformsFromJSON( jsonString: string, @@ -3443,20 +3599,18 @@ export const CreateDeploymentRoutes1$inboundSchema: z.ZodType< CreateDeploymentRoutes1, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => CreateDeploymentDestination2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentHas1$inboundSchema), z.lazy(() => CreateDeploymentHas2$inboundSchema @@ -3467,17 +3621,17 @@ export const CreateDeploymentRoutes1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => RoutesLocale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + RoutesLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentMissing1$inboundSchema), z.lazy(() => CreateDeploymentMissing2$inboundSchema @@ -3488,19 +3642,17 @@ export const CreateDeploymentRoutes1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional( - z.lazy(() => CreateDeploymentRoutesMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + CreateDeploymentRoutesMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -3511,9 +3663,9 @@ export const CreateDeploymentRoutes1$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => CreateDeploymentTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function createDeploymentRoutes1FromJSON( jsonString: string, @@ -3530,11 +3682,13 @@ export const ResponseBodyRoutes$inboundSchema: z.ZodType< ResponseBodyRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDeploymentRoutes3$inboundSchema), - z.lazy(() => CreateDeploymentRoutes1$inboundSchema), - z.lazy(() => CreateDeploymentRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDeploymentRoutes3$inboundSchema), + z.lazy(() => CreateDeploymentRoutes1$inboundSchema), + z.lazy(() => CreateDeploymentRoutes2$inboundSchema), + ]) +); export function responseBodyRoutesFromJSON( jsonString: string, @@ -3549,19 +3703,21 @@ export function responseBodyRoutesFromJSON( /** @internal */ export const ResponseBodyBlockCode$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyBlockCode -> = z.nativeEnum(ResponseBodyBlockCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyBlockCode)); /** @internal */ export const ResponseBodyGitProvider$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyGitProvider -> = z.nativeEnum(ResponseBodyGitProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyGitProvider)); /** @internal */ export const ResponseBodyGitUserId$inboundSchema: z.ZodType< ResponseBodyGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function responseBodyGitUserIdFromJSON( jsonString: string, @@ -3578,13 +3734,15 @@ export const ResponseBodySeatBlock$inboundSchema: z.ZodType< ResponseBodySeatBlock, z.ZodTypeDef, unknown -> = z.object({ - blockCode: ResponseBodyBlockCode$inboundSchema, - gitProvider: types.optional(ResponseBodyGitProvider$inboundSchema), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - isVerified: types.optional(types.boolean()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockCode: ResponseBodyBlockCode$inboundSchema, + gitProvider: types.optional(ResponseBodyGitProvider$inboundSchema), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + isVerified: types.optional(types.boolean()), + userId: types.optional(types.string()), + }) +); export function responseBodySeatBlockFromJSON( jsonString: string, @@ -3599,26 +3757,30 @@ export function responseBodySeatBlockFromJSON( /** @internal */ export const ServicesFormat$inboundSchema: z.ZodNativeEnum< typeof ServicesFormat -> = z.nativeEnum(ServicesFormat); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServicesFormat)); /** @internal */ export const CreateDeploymentServicesDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsResponseType) + ); /** @internal */ export const ServicesBindings$inboundSchema: z.ZodType< ServicesBindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: ServicesFormat$inboundSchema, - service: types.string(), - type: types.optional( - CreateDeploymentServicesDeploymentsResponseType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: ServicesFormat$inboundSchema, + service: types.string(), + type: types.optional( + CreateDeploymentServicesDeploymentsResponseType$inboundSchema, + ), + }) +); export function servicesBindingsFromJSON( jsonString: string, @@ -3632,15 +3794,19 @@ export function servicesBindingsFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsFormat); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsFormat) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -3649,14 +3815,16 @@ export const CreateDeploymentServicesDeploymentsBindings$inboundSchema: CreateDeploymentServicesDeploymentsBindings, z.ZodTypeDef, unknown - > = z.object({ - env: types.string(), - format: CreateDeploymentServicesDeploymentsFormat$inboundSchema, - service: types.string(), - type: types.optional( - CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: CreateDeploymentServicesDeploymentsFormat$inboundSchema, + service: types.string(), + type: types.optional( + CreateDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, + ), + }) + ); export function createDeploymentServicesDeploymentsBindingsFromJSON( jsonString: string, @@ -3680,10 +3848,12 @@ export const CreateDeploymentServicesDeploymentsHttpHeaders$inboundSchema: CreateDeploymentServicesDeploymentsHttpHeaders, z.ZodTypeDef, unknown - > = z.object({ - name: types.string(), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) + ); export function createDeploymentServicesDeploymentsHttpHeadersFromJSON( jsonString: string, @@ -3703,25 +3873,27 @@ export function createDeploymentServicesDeploymentsHttpHeadersFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsScheme$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsScheme); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsScheme) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsHttpGet$inboundSchema: z.ZodType = - z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => + /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional(z.array(z.lazy(() => CreateDeploymentServicesDeploymentsHttpHeaders$inboundSchema - )), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional( - CreateDeploymentServicesDeploymentsScheme$inboundSchema, - ), - }); + ))), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional( + CreateDeploymentServicesDeploymentsScheme$inboundSchema, + ), + }) + ); export function createDeploymentServicesDeploymentsHttpGetFromJSON( jsonString: string, @@ -3745,16 +3917,18 @@ export const CreateDeploymentServicesDeploymentsLivenessProbe$inboundSchema: CreateDeploymentServicesDeploymentsLivenessProbe, z.ZodTypeDef, unknown - > = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => - CreateDeploymentServicesDeploymentsHttpGet$inboundSchema - ), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => + CreateDeploymentServicesDeploymentsHttpGet$inboundSchema + ), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) + ); export function createDeploymentServicesDeploymentsLivenessProbeFromJSON( jsonString: string, @@ -3774,8 +3948,10 @@ export function createDeploymentServicesDeploymentsLivenessProbeFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsMemory$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsMemory); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsMemory) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsRequests$inboundSchema: @@ -3783,9 +3959,11 @@ export const CreateDeploymentServicesDeploymentsRequests$inboundSchema: CreateDeploymentServicesDeploymentsRequests, z.ZodTypeDef, unknown - > = z.object({ - memory: CreateDeploymentServicesDeploymentsMemory$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: CreateDeploymentServicesDeploymentsMemory$inboundSchema, + }) + ); export function createDeploymentServicesDeploymentsRequestsFromJSON( jsonString: string, @@ -3809,11 +3987,13 @@ export const CreateDeploymentServicesDeploymentsResources$inboundSchema: CreateDeploymentServicesDeploymentsResources, z.ZodTypeDef, unknown - > = z.object({ - requests: z.lazy(() => - CreateDeploymentServicesDeploymentsRequests$inboundSchema - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => + CreateDeploymentServicesDeploymentsRequests$inboundSchema + ), + }) + ); export function createDeploymentServicesDeploymentsResourcesFromJSON( jsonString: string, @@ -3836,29 +4016,27 @@ export const CreateDeploymentServicesDeploymentsDaemon$inboundSchema: z.ZodType< CreateDeploymentServicesDeploymentsDaemon, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional(z.array(z.lazy(() => CreateDeploymentServicesDeploymentsBindings$inboundSchema - )), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => + ))), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional(z.lazy(() => CreateDeploymentServicesDeploymentsLivenessProbe$inboundSchema - ), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional( - z.lazy(() => CreateDeploymentServicesDeploymentsResources$inboundSchema), - ), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), -}); + )), + replicas: types.optional(z.record(types.number())), + resources: types.optional(z.lazy(() => + CreateDeploymentServicesDeploymentsResources$inboundSchema + )), + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) +); export function createDeploymentServicesDeploymentsDaemonFromJSON( jsonString: string, @@ -3882,7 +4060,9 @@ export const CreateDeploymentServicesDeploymentsExcludeFiles$inboundSchema: CreateDeploymentServicesDeploymentsExcludeFiles, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function createDeploymentServicesDeploymentsExcludeFilesFromJSON( jsonString: string, @@ -3902,8 +4082,10 @@ export function createDeploymentServicesDeploymentsExcludeFilesFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsMode) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsAffinity$inboundSchema: @@ -3911,9 +4093,11 @@ export const CreateDeploymentServicesDeploymentsAffinity$inboundSchema: CreateDeploymentServicesDeploymentsAffinity, z.ZodTypeDef, unknown - > = z.object({ - mode: CreateDeploymentServicesDeploymentsMode$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CreateDeploymentServicesDeploymentsMode$inboundSchema, + }) + ); export function createDeploymentServicesDeploymentsAffinityFromJSON( jsonString: string, @@ -3933,8 +4117,10 @@ export function createDeploymentServicesDeploymentsAffinityFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsArchitecture$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentServicesDeploymentsArchitecture); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsArchitecture) + ); /** @internal */ export const CreateDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema: @@ -3942,9 +4128,11 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse3$inboundSch CreateDeploymentExperimentalTriggersDeploymentsResponse3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse3FromJSON( jsonString: string, @@ -3967,14 +4155,16 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse2$inboundSch CreateDeploymentExperimentalTriggersDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse2FromJSON( jsonString: string, @@ -3997,15 +4187,17 @@ export const CreateDeploymentExperimentalTriggersDeploymentsResponse1$inboundSch CreateDeploymentExperimentalTriggersDeploymentsResponse1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeploymentsResponse1FromJSON( jsonString: string, @@ -4028,17 +4220,19 @@ export const CreateDeploymentServicesDeploymentsExperimentalTriggers$inboundSche CreateDeploymentServicesDeploymentsExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema + ), + ]) + ); export function createDeploymentServicesDeploymentsExperimentalTriggersFromJSON( jsonString: string, @@ -4057,8 +4251,10 @@ export function createDeploymentServicesDeploymentsExperimentalTriggersFromJSON( /** @internal */ export const CreateDeploymentMaxDurationDeploymentsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentMaxDurationDeploymentsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMaxDurationDeploymentsResponse2) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsMaxDuration$inboundSchema: @@ -4066,10 +4262,12 @@ export const CreateDeploymentServicesDeploymentsMaxDuration$inboundSchema: CreateDeploymentServicesDeploymentsMaxDuration, z.ZodTypeDef, unknown - > = smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeploymentsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]) + ); export function createDeploymentServicesDeploymentsMaxDurationFromJSON( jsonString: string, @@ -4093,16 +4291,16 @@ export const CreateDeploymentServicesDeploymentsFunctions$inboundSchema: CreateDeploymentServicesDeploymentsFunctions, z.ZodTypeDef, unknown - > = z.object({ - affinity: types.optional( - z.lazy(() => CreateDeploymentServicesDeploymentsAffinity$inboundSchema), - ), - architecture: types.optional( - CreateDeploymentServicesDeploymentsArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => CreateDeploymentServicesDeploymentsAffinity$inboundSchema), + ), + architecture: types.optional( + CreateDeploymentServicesDeploymentsArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema ), @@ -4112,24 +4310,24 @@ export const CreateDeploymentServicesDeploymentsFunctions$inboundSchema: z.lazy(() => CreateDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeploymentsResponse2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), - }); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) + ); export function createDeploymentServicesDeploymentsFunctionsFromJSON( jsonString: string, @@ -4153,7 +4351,9 @@ export const CreateDeploymentServicesDeploymentsIncludeFiles$inboundSchema: CreateDeploymentServicesDeploymentsIncludeFiles, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function createDeploymentServicesDeploymentsIncludeFilesFromJSON( jsonString: string, @@ -4177,7 +4377,9 @@ export const CreateDeploymentServicesDeploymentsMiddlewareMatcher$inboundSchema: CreateDeploymentServicesDeploymentsMiddlewareMatcher, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function createDeploymentServicesDeploymentsMiddlewareMatcherFromJSON( jsonString: string, @@ -4198,7 +4400,9 @@ export function createDeploymentServicesDeploymentsMiddlewareMatcherFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateDeploymentServicesDeploymentsMiddlewareRuntime); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesDeploymentsMiddlewareRuntime) + ); /** @internal */ export const CreateDeploymentServicesDeploymentsVercelFlags$inboundSchema: @@ -4206,9 +4410,11 @@ export const CreateDeploymentServicesDeploymentsVercelFlags$inboundSchema: CreateDeploymentServicesDeploymentsVercelFlags, z.ZodTypeDef, unknown - > = z.object({ - enabledAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) + ); export function createDeploymentServicesDeploymentsVercelFlagsFromJSON( jsonString: string, @@ -4232,27 +4438,27 @@ export const CreateDeploymentServicesDeploymentsProjectSettings$inboundSchema: CreateDeploymentServicesDeploymentsProjectSettings, z.ZodTypeDef, unknown - > = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional(z.lazy(() => CreateDeploymentServicesDeploymentsVercelFlags$inboundSchema - ), - ), - }); + )), + }) + ); export function createDeploymentServicesDeploymentsProjectSettingsFromJSON( jsonString: string, @@ -4276,9 +4482,11 @@ export const CreateDeploymentServicesDeploymentsSchedulesModule$inboundSchema: CreateDeploymentServicesDeploymentsSchedulesModule, z.ZodTypeDef, unknown - > = z.object({ - module: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) + ); export function createDeploymentServicesDeploymentsSchedulesModuleFromJSON( jsonString: string, @@ -4301,57 +4509,53 @@ export const CreateDeploymentServicesDeploymentsConfig$inboundSchema: z.ZodType< CreateDeploymentServicesDeploymentsConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional( - z.lazy(() => CreateDeploymentServicesDeploymentsDaemon$inboundSchema), - ), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional( + z.lazy(() => CreateDeploymentServicesDeploymentsDaemon$inboundSchema), + ), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional(z.record(z.lazy(() => CreateDeploymentServicesDeploymentsFunctions$inboundSchema - )), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional( - CreateDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema, - ), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => - CreateDeploymentServicesDeploymentsProjectSettings$inboundSchema + ))), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), ), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional( - z.lazy(() => - CreateDeploymentServicesDeploymentsSchedulesModule$inboundSchema + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional( + CreateDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema, ), - ), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional(z.lazy(() => + CreateDeploymentServicesDeploymentsProjectSettings$inboundSchema + )), + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional(z.lazy(() => + CreateDeploymentServicesDeploymentsSchedulesModule$inboundSchema + )), + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function createDeploymentServicesDeploymentsConfigFromJSON( jsonString: string, @@ -4372,13 +4576,15 @@ export function createDeploymentServicesDeploymentsConfigFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsBuilder$inboundSchema: z.ZodType = - z.object({ - config: types.optional( - z.lazy(() => CreateDeploymentServicesDeploymentsConfig$inboundSchema), - ), - src: types.optional(types.string()), - use: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional( + z.lazy(() => CreateDeploymentServicesDeploymentsConfig$inboundSchema), + ), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function createDeploymentServicesDeploymentsBuilderFromJSON( jsonString: string, @@ -4399,16 +4605,20 @@ export function createDeploymentServicesDeploymentsBuilderFromJSON( /** @internal */ export const CreateDeploymentServicesMode$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentServicesMode -> = z.nativeEnum(CreateDeploymentServicesMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesMode) +); /** @internal */ export const CreateDeploymentServicesAffinity$inboundSchema: z.ZodType< CreateDeploymentServicesAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: CreateDeploymentServicesMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: CreateDeploymentServicesMode$inboundSchema, + }) +); export function createDeploymentServicesAffinityFromJSON( jsonString: string, @@ -4422,9 +4632,10 @@ export function createDeploymentServicesAffinityFromJSON( /** @internal */ export const CreateDeploymentServicesArchitecture$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentServicesArchitecture, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentServicesArchitecture) + ); /** @internal */ export const CreateDeploymentExperimentalTriggersDeployments3$inboundSchema: @@ -4432,9 +4643,11 @@ export const CreateDeploymentExperimentalTriggersDeployments3$inboundSchema: CreateDeploymentExperimentalTriggersDeployments3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeployments3FromJSON( jsonString: string, @@ -4458,14 +4671,16 @@ export const CreateDeploymentExperimentalTriggersDeployments2$inboundSchema: CreateDeploymentExperimentalTriggersDeployments2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function createDeploymentExperimentalTriggersDeployments2FromJSON( jsonString: string, @@ -4489,15 +4704,17 @@ export const CreateDeploymentExperimentalTriggersDeployments1$inboundSchema: CreateDeploymentExperimentalTriggersDeployments1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function createDeploymentExperimentalTriggersDeployments1FromJSON( jsonString: string, @@ -4521,17 +4738,19 @@ export const CreateDeploymentServicesExperimentalTriggers$inboundSchema: CreateDeploymentServicesExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - CreateDeploymentExperimentalTriggersDeployments1$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeployments2$inboundSchema - ), - z.lazy(() => - CreateDeploymentExperimentalTriggersDeployments3$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + CreateDeploymentExperimentalTriggersDeployments1$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeployments2$inboundSchema + ), + z.lazy(() => + CreateDeploymentExperimentalTriggersDeployments3$inboundSchema + ), + ]) + ); export function createDeploymentServicesExperimentalTriggersFromJSON( jsonString: string, @@ -4551,18 +4770,22 @@ export function createDeploymentServicesExperimentalTriggersFromJSON( /** @internal */ export const CreateDeploymentMaxDurationDeployments2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentMaxDurationDeployments2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMaxDurationDeployments2) + ); /** @internal */ export const CreateDeploymentServicesMaxDuration$inboundSchema: z.ZodType< CreateDeploymentServicesMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeployments2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeployments2$inboundSchema, + ]) +); export function createDeploymentServicesMaxDurationFromJSON( jsonString: string, @@ -4580,16 +4803,16 @@ export const CreateDeploymentServicesFunctions$inboundSchema: z.ZodType< CreateDeploymentServicesFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional( - z.lazy(() => CreateDeploymentServicesAffinity$inboundSchema), - ), - architecture: types.optional( - CreateDeploymentServicesArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => CreateDeploymentServicesAffinity$inboundSchema), + ), + architecture: types.optional( + CreateDeploymentServicesArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => CreateDeploymentExperimentalTriggersDeployments1$inboundSchema ), @@ -4599,24 +4822,24 @@ export const CreateDeploymentServicesFunctions$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentExperimentalTriggersDeployments3$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - CreateDeploymentMaxDurationDeployments2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + CreateDeploymentMaxDurationDeployments2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function createDeploymentServicesFunctionsFromJSON( jsonString: string, @@ -4630,8 +4853,10 @@ export function createDeploymentServicesFunctionsFromJSON( /** @internal */ export const CreateDeploymentHasDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentHasDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentHasDeploymentsResponse200Type) + ); /** @internal */ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq$inboundSchema: @@ -4639,7 +4864,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEqFromJSON( jsonString: string, @@ -4662,19 +4889,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -4697,12 +4926,14 @@ export const CreateDeploymentHasDeploymentsResponse200Value$inboundSchema: CreateDeploymentHasDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -4725,18 +4956,18 @@ export const CreateDeploymentHasDeployments2$inboundSchema: z.ZodType< CreateDeploymentHasDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: CreateDeploymentHasDeploymentsResponse200Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: CreateDeploymentHasDeploymentsResponse200Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function createDeploymentHasDeployments2FromJSON( jsonString: string, @@ -4754,7 +4985,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONEq$inboun CreateDeploymentValueDeploymentsResponse200ApplicationJSONEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONEqFromJSON( jsonString: string, @@ -4777,19 +5010,21 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJson2$inbound CreateDeploymentValueDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -4812,12 +5047,14 @@ export const CreateDeploymentHasDeploymentsResponseValue$inboundSchema: CreateDeploymentHasDeploymentsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema + ), + ]) + ); export function createDeploymentHasDeploymentsResponseValueFromJSON( jsonString: string, @@ -4840,15 +5077,17 @@ export const CreateDeploymentHasDeployments1$inboundSchema: z.ZodType< CreateDeploymentHasDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - CreateDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + CreateDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema + ), + ]), + }) +); export function createDeploymentHasDeployments1FromJSON( jsonString: string, @@ -4865,18 +5104,20 @@ export const CreateDeploymentServicesHas$inboundSchema: z.ZodType< CreateDeploymentServicesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDeploymentHasDeployments1$inboundSchema), - z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDeploymentHasDeployments1$inboundSchema), + z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => CreateDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function createDeploymentServicesHasFromJSON( jsonString: string, @@ -4891,10 +5132,12 @@ export function createDeploymentServicesHasFromJSON( /** @internal */ export const CreateDeploymentServicesDeploymentsHeaders$inboundSchema: z.ZodType = - z.object({ - key: types.string(), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + value: types.string(), + }) + ); export function createDeploymentServicesDeploymentsHeadersFromJSON( jsonString: string, @@ -4914,8 +5157,10 @@ export function createDeploymentServicesDeploymentsHeadersFromJSON( /** @internal */ export const CreateDeploymentMissingDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDeploymentMissingDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDeploymentMissingDeploymentsResponse200Type) + ); /** @internal */ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq$inboundSchema: @@ -4923,7 +5168,9 @@ export const CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseB CreateDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function createDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEqFromJSON( jsonString: string, diff --git a/src/models/createdrainop.ts b/src/models/createdrainop.ts index e23358c1fa..c268919fcd 100644 --- a/src/models/createdrainop.ts +++ b/src/models/createdrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1064,7 +1064,7 @@ export type CreateDrainResponseBody = /** @internal */ export const CreateDrainProjects$outboundSchema: z.ZodNativeEnum< typeof CreateDrainProjects -> = z.nativeEnum(CreateDrainProjects); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainProjects)); /** @internal */ export type Filter2$Outbound = { @@ -1077,10 +1077,12 @@ export const Filter2$outboundSchema: z.ZodType< Filter2$Outbound, z.ZodTypeDef, Filter2 -> = z.object({ - type: z.string(), - text: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + text: z.string(), + }) +); export function filter2ToJSON(filter2: Filter2): string { return JSON.stringify(Filter2$outboundSchema.parse(filter2)); @@ -1096,9 +1098,11 @@ export const FilterProject$outboundSchema: z.ZodType< FilterProject$Outbound, z.ZodTypeDef, FilterProject -> = z.object({ - ids: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: z.array(z.string()).optional(), + }) +); export function filterProjectToJSON(filterProject: FilterProject): string { return JSON.stringify(FilterProject$outboundSchema.parse(filterProject)); @@ -1107,7 +1111,7 @@ export function filterProjectToJSON(filterProject: FilterProject): string { /** @internal */ export const FilterSources$outboundSchema: z.ZodNativeEnum< typeof FilterSources -> = z.nativeEnum(FilterSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FilterSources)); /** @internal */ export type Log$Outbound = { @@ -1115,10 +1119,12 @@ export type Log$Outbound = { }; /** @internal */ -export const Log$outboundSchema: z.ZodType = z - .object({ - sources: z.array(FilterSources$outboundSchema).optional(), - }); +export const Log$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + sources: z.array(FilterSources$outboundSchema).optional(), + }) + ); export function logToJSON(log: Log): string { return JSON.stringify(Log$outboundSchema.parse(log)); @@ -1127,7 +1133,7 @@ export function logToJSON(log: Log): string { /** @internal */ export const FilterEnvironments$outboundSchema: z.ZodNativeEnum< typeof FilterEnvironments -> = z.nativeEnum(FilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FilterEnvironments)); /** @internal */ export type CreateDrainFilterDeployment$Outbound = { @@ -1139,9 +1145,11 @@ export const CreateDrainFilterDeployment$outboundSchema: z.ZodType< CreateDrainFilterDeployment$Outbound, z.ZodTypeDef, CreateDrainFilterDeployment -> = z.object({ - environments: z.array(FilterEnvironments$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(FilterEnvironments$outboundSchema).optional(), + }) +); export function createDrainFilterDeploymentToJSON( createDrainFilterDeployment: CreateDrainFilterDeployment, @@ -1166,13 +1174,15 @@ export const Filter1$outboundSchema: z.ZodType< Filter1$Outbound, z.ZodTypeDef, Filter1 -> = z.object({ - type: z.string(), - project: z.lazy(() => FilterProject$outboundSchema).optional(), - log: z.lazy(() => Log$outboundSchema).optional(), - deployment: z.lazy(() => CreateDrainFilterDeployment$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + project: z.lazy(() => FilterProject$outboundSchema).optional(), + log: z.lazy(() => Log$outboundSchema).optional(), + deployment: z.lazy(() => CreateDrainFilterDeployment$outboundSchema) + .optional(), + }) +); export function filter1ToJSON(filter1: Filter1): string { return JSON.stringify(Filter1$outboundSchema.parse(filter1)); @@ -1186,10 +1196,12 @@ export const CreateDrainFilter$outboundSchema: z.ZodType< CreateDrainFilter$Outbound, z.ZodTypeDef, CreateDrainFilter -> = smartUnion([ - z.lazy(() => Filter2$outboundSchema), - z.lazy(() => Filter1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Filter2$outboundSchema), + z.lazy(() => Filter1$outboundSchema), + ]) +); export function createDrainFilterToJSON( createDrainFilter: CreateDrainFilter, @@ -1210,13 +1222,15 @@ export const Filter$outboundSchema: z.ZodType< Filter$Outbound, z.ZodTypeDef, Filter -> = z.object({ - version: z.string(), - filter: smartUnion([ - z.lazy(() => Filter2$outboundSchema), - z.lazy(() => Filter1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.string(), + filter: smartUnion([ + z.lazy(() => Filter2$outboundSchema), + z.lazy(() => Filter1$outboundSchema), + ]), + }) +); export function filterToJSON(filter: Filter): string { return JSON.stringify(Filter$outboundSchema.parse(filter)); @@ -1232,9 +1246,11 @@ export const Schemas$outboundSchema: z.ZodType< Schemas$Outbound, z.ZodTypeDef, Schemas -> = z.object({ - version: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.string(), + }) +); export function schemasToJSON(schemas: Schemas): string { return JSON.stringify(Schemas$outboundSchema.parse(schemas)); @@ -1243,26 +1259,28 @@ export function schemasToJSON(schemas: Schemas): string { /** @internal */ export const CreateDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsEncoding -> = z.nativeEnum(CreateDrainDeliveryDrainsEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsEncoding) +); /** @internal */ export const DeliveryCompression$outboundSchema: z.ZodNativeEnum< typeof DeliveryCompression -> = z.nativeEnum(DeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryCompression)); /** @internal */ export const FileStructure$outboundSchema: z.ZodNativeEnum< typeof FileStructure -> = z.nativeEnum(FileStructure); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FileStructure)); /** @internal */ export const ServerSideEncryption$outboundSchema: z.ZodNativeEnum< typeof ServerSideEncryption -> = z.nativeEnum(ServerSideEncryption); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ServerSideEncryption)); /** @internal */ -export const ObjectAcl$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(ObjectAcl); +export const ObjectAcl$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ObjectAcl)); /** @internal */ export type Delivery3$Outbound = { @@ -1283,18 +1301,20 @@ export const Delivery3$outboundSchema: z.ZodType< Delivery3$Outbound, z.ZodTypeDef, Delivery3 -> = z.object({ - type: z.string(), - endpoint: z.string(), - encoding: CreateDrainDeliveryDrainsEncoding$outboundSchema, - compression: DeliveryCompression$outboundSchema, - fileStructure: FileStructure$outboundSchema, - roleArn: z.string(), - region: z.string(), - serverSideEncryption: ServerSideEncryption$outboundSchema.default("AES256"), - kmsKeyId: z.string().optional(), - objectAcl: ObjectAcl$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + encoding: CreateDrainDeliveryDrainsEncoding$outboundSchema, + compression: DeliveryCompression$outboundSchema, + fileStructure: FileStructure$outboundSchema, + roleArn: z.string(), + region: z.string(), + serverSideEncryption: ServerSideEncryption$outboundSchema.default("AES256"), + kmsKeyId: z.string().optional(), + objectAcl: ObjectAcl$outboundSchema.optional(), + }) +); export function delivery3ToJSON(delivery3: Delivery3): string { return JSON.stringify(Delivery3$outboundSchema.parse(delivery3)); @@ -1310,9 +1330,11 @@ export const Endpoint1$outboundSchema: z.ZodType< Endpoint1$Outbound, z.ZodTypeDef, Endpoint1 -> = z.object({ - traces: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: z.string(), + }) +); export function endpoint1ToJSON(endpoint1: Endpoint1): string { return JSON.stringify(Endpoint1$outboundSchema.parse(endpoint1)); @@ -1326,7 +1348,7 @@ export const CreateDrainDeliveryEndpoint$outboundSchema: z.ZodType< CreateDrainDeliveryEndpoint$Outbound, z.ZodTypeDef, CreateDrainDeliveryEndpoint -> = z.lazy(() => Endpoint1$outboundSchema); +> = /* @__PURE__ */ lazySchema$(() => z.lazy(() => Endpoint1$outboundSchema)); export function createDrainDeliveryEndpointToJSON( createDrainDeliveryEndpoint: CreateDrainDeliveryEndpoint, @@ -1341,7 +1363,9 @@ export function createDrainDeliveryEndpointToJSON( /** @internal */ export const CreateDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryEncoding -> = z.nativeEnum(CreateDrainDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryEncoding) +); /** @internal */ export type Delivery2$Outbound = { @@ -1357,26 +1381,28 @@ export const Delivery2$outboundSchema: z.ZodType< Delivery2$Outbound, z.ZodTypeDef, Delivery2 -> = z.object({ - type: z.string(), - endpoint: z.lazy(() => Endpoint1$outboundSchema), - encoding: CreateDrainDeliveryEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.lazy(() => Endpoint1$outboundSchema), + encoding: CreateDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function delivery2ToJSON(delivery2: Delivery2): string { return JSON.stringify(Delivery2$outboundSchema.parse(delivery2)); } /** @internal */ -export const Compression$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Compression); +export const Compression$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Compression)); /** @internal */ export const DeliveryEncoding$outboundSchema: z.ZodNativeEnum< typeof DeliveryEncoding -> = z.nativeEnum(DeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryEncoding)); /** @internal */ export type Delivery1$Outbound = { @@ -1393,14 +1419,16 @@ export const Delivery1$outboundSchema: z.ZodType< Delivery1$Outbound, z.ZodTypeDef, Delivery1 -> = z.object({ - type: z.string(), - endpoint: z.string(), - compression: Compression$outboundSchema.optional(), - encoding: DeliveryEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + compression: Compression$outboundSchema.optional(), + encoding: DeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function delivery1ToJSON(delivery1: Delivery1): string { return JSON.stringify(Delivery1$outboundSchema.parse(delivery1)); @@ -1417,11 +1445,13 @@ export const Delivery$outboundSchema: z.ZodType< Delivery$Outbound, z.ZodTypeDef, Delivery -> = smartUnion([ - z.lazy(() => Delivery3$outboundSchema), - z.lazy(() => Delivery1$outboundSchema), - z.lazy(() => Delivery2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Delivery3$outboundSchema), + z.lazy(() => Delivery1$outboundSchema), + z.lazy(() => Delivery2$outboundSchema), + ]) +); export function deliveryToJSON(delivery: Delivery): string { return JSON.stringify(Delivery$outboundSchema.parse(delivery)); @@ -1430,7 +1460,7 @@ export function deliveryToJSON(delivery: Delivery): string { /** @internal */ export const CreateDrainEnv$outboundSchema: z.ZodNativeEnum< typeof CreateDrainEnv -> = z.nativeEnum(CreateDrainEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainEnv)); /** @internal */ export type CreateDrainSampling$Outbound = { @@ -1445,12 +1475,14 @@ export const CreateDrainSampling$outboundSchema: z.ZodType< CreateDrainSampling$Outbound, z.ZodTypeDef, CreateDrainSampling -> = z.object({ - type: z.string(), - rate: z.number(), - env: CreateDrainEnv$outboundSchema.optional(), - requestPath: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + rate: z.number(), + env: CreateDrainEnv$outboundSchema.optional(), + requestPath: z.string().optional(), + }) +); export function createDrainSamplingToJSON( createDrainSampling: CreateDrainSampling, @@ -1470,9 +1502,11 @@ export const Transforms$outboundSchema: z.ZodType< Transforms$Outbound, z.ZodTypeDef, Transforms -> = z.object({ - id: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + }) +); export function transformsToJSON(transforms: Transforms): string { return JSON.stringify(Transforms$outboundSchema.parse(transforms)); @@ -1488,9 +1522,11 @@ export const CreateDrainSource2$outboundSchema: z.ZodType< CreateDrainSource2$Outbound, z.ZodTypeDef, CreateDrainSource2 -> = z.object({ - kind: z.string().default("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("self-served"), + }) +); export function createDrainSource2ToJSON( createDrainSource2: CreateDrainSource2, @@ -1507,9 +1543,11 @@ export type One3$Outbound = { /** @internal */ export const One3$outboundSchema: z.ZodType = - z.object({ - kind: z.string().default("integration"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + }) + ); export function one3ToJSON(one3: One3): string { return JSON.stringify(One3$outboundSchema.parse(one3)); @@ -1523,10 +1561,12 @@ export type One2$Outbound = { /** @internal */ export const One2$outboundSchema: z.ZodType = - z.object({ - kind: z.string().default("integration"), - resourceId: z.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + resourceId: z.string(), + }) + ); export function one2ToJSON(one2: One2): string { return JSON.stringify(One2$outboundSchema.parse(one2)); @@ -1540,10 +1580,12 @@ export type One1$Outbound = { /** @internal */ export const One1$outboundSchema: z.ZodType = - z.object({ - kind: z.string().default("integration"), - externalResourceId: z.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), + }) + ); export function one1ToJSON(one1: One1): string { return JSON.stringify(One1$outboundSchema.parse(one1)); @@ -1560,11 +1602,13 @@ export const CreateDrainSource1$outboundSchema: z.ZodType< CreateDrainSource1$Outbound, z.ZodTypeDef, CreateDrainSource1 -> = smartUnion([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), + ]) +); export function createDrainSource1ToJSON( createDrainSource1: CreateDrainSource1, @@ -1586,14 +1630,16 @@ export const CreateDrainSource$outboundSchema: z.ZodType< CreateDrainSource$Outbound, z.ZodTypeDef, CreateDrainSource -> = smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), - ]), - z.lazy(() => CreateDrainSource2$outboundSchema), -]); + smartUnion([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), + ]), + z.lazy(() => CreateDrainSource2$outboundSchema), + ]) +); export function createDrainSourceToJSON( createDrainSource: CreateDrainSource, @@ -1630,29 +1676,31 @@ export const CreateDrainRequestBody$outboundSchema: z.ZodType< CreateDrainRequestBody$Outbound, z.ZodTypeDef, CreateDrainRequestBody -> = z.object({ - name: z.string(), - projects: CreateDrainProjects$outboundSchema, - projectIds: z.array(z.string()).optional(), - filter: z.lazy(() => Filter$outboundSchema).optional(), - schemas: z.record(z.lazy(() => Schemas$outboundSchema)), - delivery: smartUnion([ - z.lazy(() => Delivery3$outboundSchema), - z.lazy(() => Delivery1$outboundSchema), - z.lazy(() => Delivery2$outboundSchema), - ]).optional(), - sampling: z.array(z.lazy(() => CreateDrainSampling$outboundSchema)) - .optional(), - transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(), - source: smartUnion([ - smartUnion([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), - ]), - z.lazy(() => CreateDrainSource2$outboundSchema), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + projects: CreateDrainProjects$outboundSchema, + projectIds: z.array(z.string()).optional(), + filter: z.lazy(() => Filter$outboundSchema).optional(), + schemas: z.record(z.lazy(() => Schemas$outboundSchema)), + delivery: smartUnion([ + z.lazy(() => Delivery3$outboundSchema), + z.lazy(() => Delivery1$outboundSchema), + z.lazy(() => Delivery2$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => CreateDrainSampling$outboundSchema)) + .optional(), + transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(), + source: smartUnion([ + smartUnion([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), + ]), + z.lazy(() => CreateDrainSource2$outboundSchema), + ]).optional(), + }) +); export function createDrainRequestBodyToJSON( createDrainRequestBody: CreateDrainRequestBody, @@ -1674,15 +1722,17 @@ export const CreateDrainRequest$outboundSchema: z.ZodType< CreateDrainRequest$Outbound, z.ZodTypeDef, CreateDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateDrainRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateDrainRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createDrainRequestToJSON( createDrainRequest: CreateDrainRequest, @@ -1695,17 +1745,19 @@ export function createDrainRequestToJSON( /** @internal */ export const CreateDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryTarget -> = z.nativeEnum(CreateDrainDeliveryTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainDeliveryTarget)); /** @internal */ export const CreateDrainDelivery5$inboundSchema: z.ZodType< CreateDrainDelivery5, z.ZodTypeDef, unknown -> = z.object({ - target: CreateDrainDeliveryTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: CreateDrainDeliveryTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function createDrainDelivery5FromJSON( jsonString: string, @@ -1719,52 +1771,64 @@ export function createDrainDelivery5FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsResponse200Compression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryDrainsResponse200Compression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsResponse200Compression) + ); /** @internal */ export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding - > = z.nativeEnum( - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding, + ) ); /** @internal */ export const CreateDrainDeliveryFileStructure$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryFileStructure -> = z.nativeEnum(CreateDrainDeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryFileStructure) +); /** @internal */ export const CreateDrainDeliveryObjectAcl$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryObjectAcl -> = z.nativeEnum(CreateDrainDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryObjectAcl) +); /** @internal */ export const CreateDrainDeliveryServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryServerSideEncryption) + ); /** @internal */ export const CreateDrainDelivery4$inboundSchema: z.ZodType< CreateDrainDelivery4, z.ZodTypeDef, unknown -> = z.object({ - compression: CreateDrainDeliveryDrainsResponse200Compression$inboundSchema, - encoding: - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema, - endpoint: types.string(), - fileStructure: CreateDrainDeliveryFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(CreateDrainDeliveryObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - CreateDrainDeliveryServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: CreateDrainDeliveryDrainsResponse200Compression$inboundSchema, + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema, + endpoint: types.string(), + fileStructure: CreateDrainDeliveryFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(CreateDrainDeliveryObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + CreateDrainDeliveryServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function createDrainDelivery4FromJSON( jsonString: string, @@ -1781,11 +1845,13 @@ export const CreateDrainDeliveryDrains3$inboundSchema: z.ZodType< CreateDrainDeliveryDrains3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function createDrainDeliveryDrains3FromJSON( jsonString: string, @@ -1801,8 +1867,10 @@ export function createDrainDeliveryDrains3FromJSON( export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding - > = z.nativeEnum( - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding, + ) ); /** @internal */ @@ -1810,9 +1878,11 @@ export const CreateDrainDeliveryDrainsResponseEndpoint$inboundSchema: z.ZodType< CreateDrainDeliveryDrainsResponseEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function createDrainDeliveryDrainsResponseEndpointFromJSON( jsonString: string, @@ -1833,16 +1903,20 @@ export function createDrainDeliveryDrainsResponseEndpointFromJSON( /** @internal */ export const CreateDrainSecretDrainsResponseKind$inboundSchema: z.ZodNativeEnum< typeof CreateDrainSecretDrainsResponseKind -> = z.nativeEnum(CreateDrainSecretDrainsResponseKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainSecretDrainsResponseKind) +); /** @internal */ export const CreateDrainSecretDrainsResponse2$inboundSchema: z.ZodType< CreateDrainSecretDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - kind: CreateDrainSecretDrainsResponseKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateDrainSecretDrainsResponseKind$inboundSchema, + }) +); export function createDrainSecretDrainsResponse2FromJSON( jsonString: string, @@ -1859,10 +1933,12 @@ export const CreateDrainDeliveryDrainsSecret$inboundSchema: z.ZodType< CreateDrainDeliveryDrainsSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDrainSecretDrainsResponse2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDrainSecretDrainsResponse2$inboundSchema), + types.string(), + ]) +); export function createDrainDeliveryDrainsSecretFromJSON( jsonString: string, @@ -1879,21 +1955,21 @@ export const CreateDrainDeliveryDrains2$inboundSchema: z.ZodType< CreateDrainDeliveryDrains2, z.ZodTypeDef, unknown -> = z.object({ - encoding: - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema, - endpoint: z.lazy(() => - CreateDrainDeliveryDrainsResponseEndpoint$inboundSchema - ), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema, + endpoint: z.lazy(() => + CreateDrainDeliveryDrainsResponseEndpoint$inboundSchema + ), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => CreateDrainSecretDrainsResponse2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function createDrainDeliveryDrains2FromJSON( jsonString: string, @@ -1907,30 +1983,38 @@ export function createDrainDeliveryDrains2FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsResponseCompression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryDrainsResponseCompression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsResponseCompression) + ); /** @internal */ export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding - > = z.nativeEnum( - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + ) ); /** @internal */ export const CreateDrainSecretDrainsKind$inboundSchema: z.ZodNativeEnum< typeof CreateDrainSecretDrainsKind -> = z.nativeEnum(CreateDrainSecretDrainsKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainSecretDrainsKind) +); /** @internal */ export const CreateDrainSecretDrains2$inboundSchema: z.ZodType< CreateDrainSecretDrains2, z.ZodTypeDef, unknown -> = z.object({ - kind: CreateDrainSecretDrainsKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateDrainSecretDrainsKind$inboundSchema, + }) +); export function createDrainSecretDrains2FromJSON( jsonString: string, @@ -1947,10 +2031,12 @@ export const CreateDrainDeliverySecret$inboundSchema: z.ZodType< CreateDrainDeliverySecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDrainSecretDrains2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDrainSecretDrains2$inboundSchema), + types.string(), + ]) +); export function createDrainDeliverySecretFromJSON( jsonString: string, @@ -1967,22 +2053,22 @@ export const CreateDrainDeliveryDrains1$inboundSchema: z.ZodType< CreateDrainDeliveryDrains1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional( - CreateDrainDeliveryDrainsResponseCompression$inboundSchema, - ), - encoding: - CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + CreateDrainDeliveryDrainsResponseCompression$inboundSchema, + ), + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => CreateDrainSecretDrains2$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function createDrainDeliveryDrains1FromJSON( jsonString: string, @@ -1999,13 +2085,15 @@ export const CreateDrainResponseBodyDelivery$inboundSchema: z.ZodType< CreateDrainResponseBodyDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains3$inboundSchema), - z.lazy(() => CreateDrainDelivery4$inboundSchema), - z.lazy(() => CreateDrainDelivery5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => CreateDrainDelivery4$inboundSchema), + z.lazy(() => CreateDrainDelivery5$inboundSchema), + ]) +); export function createDrainResponseBodyDeliveryFromJSON( jsonString: string, @@ -2020,29 +2108,33 @@ export function createDrainResponseBodyDeliveryFromJSON( /** @internal */ export const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyDisabledReason -> = z.nativeEnum(ResponseBodyDisabledReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyDisabledReason)); /** @internal */ export const CreateDrainResponseBodyEnv$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyEnv -> = z.nativeEnum(CreateDrainResponseBodyEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainResponseBodyEnv)); /** @internal */ export const CreateDrainResponseBodyDrainsType$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyDrainsType -> = z.nativeEnum(CreateDrainResponseBodyDrainsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDrainsType) +); /** @internal */ export const CreateDrainResponseBodySampling$inboundSchema: z.ZodType< CreateDrainResponseBodySampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(CreateDrainResponseBodyEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: CreateDrainResponseBodyDrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(CreateDrainResponseBodyEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: CreateDrainResponseBodyDrainsType$inboundSchema, + }) +); export function createDrainResponseBodySamplingFromJSON( jsonString: string, @@ -2059,7 +2151,7 @@ export const ResponseBodyAiGateway$inboundSchema: z.ZodType< ResponseBodyAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyAiGatewayFromJSON( jsonString: string, @@ -2076,7 +2168,7 @@ export const CreateDrainResponseBodyDrainsAnalytics$inboundSchema: z.ZodType< CreateDrainResponseBodyDrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyDrainsAnalyticsFromJSON( jsonString: string, @@ -2094,7 +2186,7 @@ export const ResponseBodyAuditLog$inboundSchema: z.ZodType< ResponseBodyAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyAuditLogFromJSON( jsonString: string, @@ -2111,7 +2203,7 @@ export const ResponseBodyConnect$inboundSchema: z.ZodType< ResponseBodyConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyConnectFromJSON( jsonString: string, @@ -2128,7 +2220,7 @@ export const CreateDrainResponseBodyLog$inboundSchema: z.ZodType< CreateDrainResponseBodyLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyLogFromJSON( jsonString: string, @@ -2143,7 +2235,7 @@ export function createDrainResponseBodyLogFromJSON( /** @internal */ export const CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema: z.ZodType = - z.object({}); + /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyDrainsSpeedInsightsFromJSON( jsonString: string, @@ -2166,7 +2258,7 @@ export const ResponseBodyTrace$inboundSchema: z.ZodType< ResponseBodyTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyTraceFromJSON( jsonString: string, @@ -2183,25 +2275,29 @@ export const CreateDrainResponseBodySchemas$inboundSchema: z.ZodType< CreateDrainResponseBodySchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional(z.lazy(() => ResponseBodyAiGateway$inboundSchema)), - analytics: types.optional( - z.lazy(() => CreateDrainResponseBodyDrainsAnalytics$inboundSchema), - ), - audit_log: types.optional(z.lazy(() => ResponseBodyAuditLog$inboundSchema)), - connect: types.optional(z.lazy(() => ResponseBodyConnect$inboundSchema)), - log: types.optional(z.lazy(() => CreateDrainResponseBodyLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema), - ), - trace: types.optional(z.lazy(() => ResponseBodyTrace$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => ResponseBodyAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => CreateDrainResponseBodyDrainsAnalytics$inboundSchema), + ), + audit_log: types.optional(z.lazy(() => ResponseBodyAuditLog$inboundSchema)), + connect: types.optional(z.lazy(() => ResponseBodyConnect$inboundSchema)), + log: types.optional(z.lazy(() => CreateDrainResponseBodyLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema), + ), + trace: types.optional(z.lazy(() => ResponseBodyTrace$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function createDrainResponseBodySchemasFromJSON( jsonString: string, @@ -2218,13 +2314,15 @@ export const CreateDrainSourceDrainsResponse2$inboundSchema: z.ZodType< CreateDrainSourceDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function createDrainSourceDrainsResponse2FromJSON( jsonString: string, @@ -2239,17 +2337,21 @@ export function createDrainSourceDrainsResponse2FromJSON( /** @internal */ export const CreateDrainSourceDrainsDefaultFor$inboundSchema: z.ZodNativeEnum< typeof CreateDrainSourceDrainsDefaultFor -> = z.nativeEnum(CreateDrainSourceDrainsDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainSourceDrainsDefaultFor) +); /** @internal */ export const CreateDrainSourceDrainsResponse1$inboundSchema: z.ZodType< CreateDrainSourceDrainsResponse1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(CreateDrainSourceDrainsDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(CreateDrainSourceDrainsDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function createDrainSourceDrainsResponse1FromJSON( jsonString: string, @@ -2266,10 +2368,12 @@ export const CreateDrainResponseBodyDrainsSource$inboundSchema: z.ZodType< CreateDrainResponseBodyDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainSourceDrainsResponse1$inboundSchema), - z.lazy(() => CreateDrainSourceDrainsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainSourceDrainsResponse1$inboundSchema), + z.lazy(() => CreateDrainSourceDrainsResponse2$inboundSchema), + ]) +); export function createDrainResponseBodyDrainsSourceFromJSON( jsonString: string, @@ -2285,32 +2389,38 @@ export function createDrainResponseBodyDrainsSourceFromJSON( /** @internal */ export const CreateDrainResponseBodyDrainsStatus$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyDrainsStatus -> = z.nativeEnum(CreateDrainResponseBodyDrainsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDrainsStatus) +); /** @internal */ export const CreateDrainResponseBodyDrainsState$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyDrainsState -> = z.nativeEnum(CreateDrainResponseBodyDrainsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDrainsState) +); /** @internal */ export const ResponseBodyWindow$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyWindow -> = z.nativeEnum(ResponseBodyWindow); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyWindow)); /** @internal */ export const ResponseBodyDeliveryStats$inboundSchema: z.ZodType< ResponseBodyDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: CreateDrainResponseBodyDrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: ResponseBodyWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: CreateDrainResponseBodyDrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: ResponseBodyWindow$inboundSchema, + }) +); export function responseBodyDeliveryStatsFromJSON( jsonString: string, @@ -2327,10 +2437,12 @@ export const CreateDrainFilterDrains2$inboundSchema: z.ZodType< CreateDrainFilterDrains2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function createDrainFilterDrains2FromJSON( jsonString: string, @@ -2345,18 +2457,22 @@ export function createDrainFilterDrains2FromJSON( /** @internal */ export const CreateDrainFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< typeof CreateDrainFilterDrainsEnvironments -> = z.nativeEnum(CreateDrainFilterDrainsEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainFilterDrainsEnvironments) +); /** @internal */ export const CreateDrainFilterDrainsResponseDeployment$inboundSchema: z.ZodType< CreateDrainFilterDrainsResponseDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(CreateDrainFilterDrainsEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(CreateDrainFilterDrainsEnvironments$inboundSchema), + ), + }) +); export function createDrainFilterDrainsResponseDeploymentFromJSON( jsonString: string, @@ -2377,23 +2493,28 @@ export function createDrainFilterDrainsResponseDeploymentFromJSON( /** @internal */ export const CreateDrainFilterDrainsSources$inboundSchema: z.ZodNativeEnum< typeof CreateDrainFilterDrainsSources -> = z.nativeEnum(CreateDrainFilterDrainsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainFilterDrainsSources) +); /** @internal */ export const CreateDrainFilterLog$inboundSchema: z.ZodType< CreateDrainFilterLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional( - z.array(CreateDrainFilterDrainsSources$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(CreateDrainFilterDrainsSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function createDrainFilterLogFromJSON( jsonString: string, @@ -2410,9 +2531,11 @@ export const CreateDrainFilterDrainsProject$inboundSchema: z.ZodType< CreateDrainFilterDrainsProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function createDrainFilterDrainsProjectFromJSON( jsonString: string, @@ -2429,16 +2552,18 @@ export const CreateDrainFilterDrains1$inboundSchema: z.ZodType< CreateDrainFilterDrains1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => CreateDrainFilterDrainsResponseDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => CreateDrainFilterLog$inboundSchema)), - project: types.optional( - z.lazy(() => CreateDrainFilterDrainsProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => CreateDrainFilterDrainsResponseDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => CreateDrainFilterLog$inboundSchema)), + project: types.optional( + z.lazy(() => CreateDrainFilterDrainsProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function createDrainFilterDrains1FromJSON( jsonString: string, @@ -2455,10 +2580,12 @@ export const CreateDrainResponseBodyFilter$inboundSchema: z.ZodType< CreateDrainResponseBodyFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainFilterDrains1$inboundSchema), - z.lazy(() => CreateDrainFilterDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainFilterDrains1$inboundSchema), + z.lazy(() => CreateDrainFilterDrains2$inboundSchema), + ]) +); export function createDrainResponseBodyFilterFromJSON( jsonString: string, @@ -2472,22 +2599,25 @@ export function createDrainResponseBodyFilterFromJSON( /** @internal */ export const CreateDrainResponseBodyDrainsVersion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDrainResponseBodyDrainsVersion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDrainsVersion) + ); /** @internal */ export const ResponseBodyFilterV2$inboundSchema: z.ZodType< ResponseBodyFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => CreateDrainFilterDrains1$inboundSchema), - z.lazy(() => CreateDrainFilterDrains2$inboundSchema), - ]), - version: CreateDrainResponseBodyDrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => CreateDrainFilterDrains1$inboundSchema), + z.lazy(() => CreateDrainFilterDrains2$inboundSchema), + ]), + version: CreateDrainResponseBodyDrainsVersion$inboundSchema, + }) +); export function responseBodyFilterV2FromJSON( jsonString: string, @@ -2502,18 +2632,20 @@ export function responseBodyFilterV2FromJSON( /** @internal */ export const ProjectAccessManagedBy$inboundSchema: z.ZodNativeEnum< typeof ProjectAccessManagedBy -> = z.nativeEnum(ProjectAccessManagedBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProjectAccessManagedBy)); /** @internal */ export const ProjectAccess2$inboundSchema: z.ZodType< ProjectAccess2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("some"), - projectIds: z.array(types.string()), - managedBy: ProjectAccessManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("some"), + projectIds: z.array(types.string()), + managedBy: ProjectAccessManagedBy$inboundSchema, + }) +); export function projectAccess2FromJSON( jsonString: string, @@ -2526,18 +2658,20 @@ export function projectAccess2FromJSON( } /** @internal */ -export const ManagedBy$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ManagedBy); +export const ManagedBy$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ManagedBy)); /** @internal */ export const ProjectAccess1$inboundSchema: z.ZodType< ProjectAccess1, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("all"), - managedBy: ManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("all"), + managedBy: ManagedBy$inboundSchema, + }) +); export function projectAccess1FromJSON( jsonString: string, @@ -2554,10 +2688,12 @@ export const ProjectAccess$inboundSchema: z.ZodType< ProjectAccess, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ProjectAccess1$inboundSchema), - z.lazy(() => ProjectAccess2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ProjectAccess1$inboundSchema), + z.lazy(() => ProjectAccess2$inboundSchema), + ]) +); export function projectAccessFromJSON( jsonString: string, @@ -2574,48 +2710,48 @@ export const CreateDrainResponseBody2$inboundSchema: z.ZodType< CreateDrainResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains3$inboundSchema), - z.lazy(() => CreateDrainDelivery4$inboundSchema), - z.lazy(() => CreateDrainDelivery5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional(ResponseBodyDisabledReason$inboundSchema), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => CreateDrainResponseBodySampling$inboundSchema)), - ), - schemas: z.lazy(() => CreateDrainResponseBodySchemas$inboundSchema), - source: z.union([ - z.lazy(() => CreateDrainSourceDrainsResponse1$inboundSchema), - z.lazy(() => CreateDrainSourceDrainsResponse2$inboundSchema), - ]), - status: types.optional(CreateDrainResponseBodyDrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => ResponseBodyDeliveryStats$inboundSchema), - ), - filterV2: types.optional(z.lazy(() => ResponseBodyFilterV2$inboundSchema)), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectAccess: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => CreateDrainDelivery4$inboundSchema), + z.lazy(() => CreateDrainDelivery5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional(ResponseBodyDisabledReason$inboundSchema), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => CreateDrainResponseBodySampling$inboundSchema)), + ), + schemas: z.lazy(() => CreateDrainResponseBodySchemas$inboundSchema), + source: z.union([ + z.lazy(() => CreateDrainSourceDrainsResponse1$inboundSchema), + z.lazy(() => CreateDrainSourceDrainsResponse2$inboundSchema), + ]), + status: types.optional(CreateDrainResponseBodyDrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => ResponseBodyDeliveryStats$inboundSchema), + ), + filterV2: types.optional(z.lazy(() => ResponseBodyFilterV2$inboundSchema)), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectAccess: types.optional(z.union([ z.lazy(() => ProjectAccess1$inboundSchema), z.lazy(() => ProjectAccess2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function createDrainResponseBody2FromJSON( jsonString: string, @@ -2630,17 +2766,21 @@ export function createDrainResponseBody2FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsTarget -> = z.nativeEnum(CreateDrainDeliveryDrainsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsTarget) +); /** @internal */ export const CreateDrainDeliveryDrains5$inboundSchema: z.ZodType< CreateDrainDeliveryDrains5, z.ZodTypeDef, unknown -> = z.object({ - target: CreateDrainDeliveryDrainsTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: CreateDrainDeliveryDrainsTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function createDrainDeliveryDrains5FromJSON( jsonString: string, @@ -2654,52 +2794,62 @@ export function createDrainDeliveryDrains5FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsCompression$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDrainDeliveryDrainsCompression, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsCompression) + ); /** @internal */ export const CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding - > = z.nativeEnum(CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding) + ); /** @internal */ export const CreateDrainDeliveryDrainsFileStructure$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDrainDeliveryDrainsFileStructure, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsFileStructure) + ); /** @internal */ export const CreateDrainDeliveryDrainsObjectAcl$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryDrainsObjectAcl -> = z.nativeEnum(CreateDrainDeliveryDrainsObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsObjectAcl) +); /** @internal */ export const CreateDrainDeliveryDrainsServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryDrainsServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsServerSideEncryption) + ); /** @internal */ export const CreateDrainDeliveryDrains4$inboundSchema: z.ZodType< CreateDrainDeliveryDrains4, z.ZodTypeDef, unknown -> = z.object({ - compression: CreateDrainDeliveryDrainsCompression$inboundSchema, - encoding: - CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: CreateDrainDeliveryDrainsFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(CreateDrainDeliveryDrainsObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - CreateDrainDeliveryDrainsServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: CreateDrainDeliveryDrainsCompression$inboundSchema, + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: CreateDrainDeliveryDrainsFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(CreateDrainDeliveryDrainsObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + CreateDrainDeliveryDrainsServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function createDrainDeliveryDrains4FromJSON( jsonString: string, @@ -2716,11 +2866,13 @@ export const CreateDrainDelivery3$inboundSchema: z.ZodType< CreateDrainDelivery3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function createDrainDelivery3FromJSON( jsonString: string, @@ -2734,17 +2886,21 @@ export function createDrainDelivery3FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryDrainsResponse200Encoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsResponse200Encoding) + ); /** @internal */ export const CreateDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType< CreateDrainDeliveryDrainsEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function createDrainDeliveryDrainsEndpointFromJSON( jsonString: string, @@ -2759,16 +2915,18 @@ export function createDrainDeliveryDrainsEndpointFromJSON( /** @internal */ export const CreateDrainSecretKind$inboundSchema: z.ZodNativeEnum< typeof CreateDrainSecretKind -> = z.nativeEnum(CreateDrainSecretKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainSecretKind)); /** @internal */ export const CreateDrainSecret2$inboundSchema: z.ZodType< CreateDrainSecret2, z.ZodTypeDef, unknown -> = z.object({ - kind: CreateDrainSecretKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateDrainSecretKind$inboundSchema, + }) +); export function createDrainSecret2FromJSON( jsonString: string, @@ -2783,10 +2941,12 @@ export function createDrainSecret2FromJSON( /** @internal */ export const CreateDrainDeliveryDrainsResponse200Secret$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => CreateDrainSecret2$inboundSchema), - types.string(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDrainSecret2$inboundSchema), + types.string(), + ]) + ); export function createDrainDeliveryDrainsResponse200SecretFromJSON( jsonString: string, @@ -2809,18 +2969,18 @@ export const CreateDrainDelivery2$inboundSchema: z.ZodType< CreateDrainDelivery2, z.ZodTypeDef, unknown -> = z.object({ - encoding: CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema, - endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema, + endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => CreateDrainSecret2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function createDrainDelivery2FromJSON( jsonString: string, @@ -2835,27 +2995,34 @@ export function createDrainDelivery2FromJSON( /** @internal */ export const CreateDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< typeof CreateDrainDeliveryCompression -> = z.nativeEnum(CreateDrainDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryCompression) +); /** @internal */ export const CreateDrainDeliveryDrainsResponseEncoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateDrainDeliveryDrainsResponseEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainDeliveryDrainsResponseEncoding) + ); /** @internal */ export const CreateDrainSecretDrainsResponse200Kind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDrainSecretDrainsResponse200Kind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainSecretDrainsResponse200Kind) + ); /** @internal */ export const CreateDrainSecretDrainsResponse2002$inboundSchema: z.ZodType< CreateDrainSecretDrainsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - kind: CreateDrainSecretDrainsResponse200Kind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateDrainSecretDrainsResponse200Kind$inboundSchema, + }) +); export function createDrainSecretDrainsResponse2002FromJSON( jsonString: string, @@ -2873,10 +3040,12 @@ export const CreateDrainDeliveryDrainsResponseSecret$inboundSchema: z.ZodType< CreateDrainDeliveryDrainsResponseSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDrainSecretDrainsResponse2002$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDrainSecretDrainsResponse2002$inboundSchema), + types.string(), + ]) +); export function createDrainDeliveryDrainsResponseSecretFromJSON( jsonString: string, @@ -2899,19 +3068,19 @@ export const CreateDrainDelivery1$inboundSchema: z.ZodType< CreateDrainDelivery1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional(CreateDrainDeliveryCompression$inboundSchema), - encoding: CreateDrainDeliveryDrainsResponseEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional(CreateDrainDeliveryCompression$inboundSchema), + encoding: CreateDrainDeliveryDrainsResponseEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => CreateDrainSecretDrainsResponse2002$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function createDrainDelivery1FromJSON( jsonString: string, @@ -2928,13 +3097,15 @@ export const ResponseBodyDelivery$inboundSchema: z.ZodType< ResponseBodyDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainDelivery1$inboundSchema), - z.lazy(() => CreateDrainDelivery2$inboundSchema), - z.lazy(() => CreateDrainDelivery3$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains4$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainDelivery1$inboundSchema), + z.lazy(() => CreateDrainDelivery2$inboundSchema), + z.lazy(() => CreateDrainDelivery3$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains4$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains5$inboundSchema), + ]) +); export function responseBodyDeliveryFromJSON( jsonString: string, @@ -2948,31 +3119,38 @@ export function responseBodyDeliveryFromJSON( /** @internal */ export const CreateDrainResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDrainResponseBodyDisabledReason, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDisabledReason) + ); /** @internal */ export const CreateDrainResponseBodyDrainsEnv$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyDrainsEnv -> = z.nativeEnum(CreateDrainResponseBodyDrainsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyDrainsEnv) +); /** @internal */ export const CreateDrainResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyType -> = z.nativeEnum(CreateDrainResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyType) +); /** @internal */ export const ResponseBodySampling$inboundSchema: z.ZodType< ResponseBodySampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(CreateDrainResponseBodyDrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: CreateDrainResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(CreateDrainResponseBodyDrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: CreateDrainResponseBodyType$inboundSchema, + }) +); export function responseBodySamplingFromJSON( jsonString: string, @@ -2989,7 +3167,7 @@ export const CreateDrainResponseBodyAiGateway$inboundSchema: z.ZodType< CreateDrainResponseBodyAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyAiGatewayFromJSON( jsonString: string, @@ -3006,7 +3184,7 @@ export const CreateDrainResponseBodyAnalytics$inboundSchema: z.ZodType< CreateDrainResponseBodyAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyAnalyticsFromJSON( jsonString: string, @@ -3023,7 +3201,7 @@ export const CreateDrainResponseBodyAuditLog$inboundSchema: z.ZodType< CreateDrainResponseBodyAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyAuditLogFromJSON( jsonString: string, @@ -3040,7 +3218,7 @@ export const CreateDrainResponseBodyConnect$inboundSchema: z.ZodType< CreateDrainResponseBodyConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyConnectFromJSON( jsonString: string, @@ -3057,7 +3235,7 @@ export const ResponseBodyLog$inboundSchema: z.ZodType< ResponseBodyLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyLogFromJSON( jsonString: string, @@ -3074,7 +3252,7 @@ export const CreateDrainResponseBodySpeedInsights$inboundSchema: z.ZodType< CreateDrainResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodySpeedInsightsFromJSON( jsonString: string, @@ -3092,7 +3270,7 @@ export const CreateDrainResponseBodyTrace$inboundSchema: z.ZodType< CreateDrainResponseBodyTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createDrainResponseBodyTraceFromJSON( jsonString: string, @@ -3109,33 +3287,35 @@ export const ResponseBodySchemas$inboundSchema: z.ZodType< ResponseBodySchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => CreateDrainResponseBodyAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => CreateDrainResponseBodyAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => CreateDrainResponseBodyAuditLog$inboundSchema), - ), - connect: types.optional( - z.lazy(() => CreateDrainResponseBodyConnect$inboundSchema), - ), - log: types.optional(z.lazy(() => ResponseBodyLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => CreateDrainResponseBodySpeedInsights$inboundSchema), - ), - trace: types.optional( - z.lazy(() => CreateDrainResponseBodyTrace$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => CreateDrainResponseBodyAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => CreateDrainResponseBodyAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => CreateDrainResponseBodyAuditLog$inboundSchema), + ), + connect: types.optional( + z.lazy(() => CreateDrainResponseBodyConnect$inboundSchema), + ), + log: types.optional(z.lazy(() => ResponseBodyLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => CreateDrainResponseBodySpeedInsights$inboundSchema), + ), + trace: types.optional( + z.lazy(() => CreateDrainResponseBodyTrace$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function responseBodySchemasFromJSON( jsonString: string, @@ -3152,13 +3332,15 @@ export const CreateDrainSourceDrains2$inboundSchema: z.ZodType< CreateDrainSourceDrains2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function createDrainSourceDrains2FromJSON( jsonString: string, @@ -3173,17 +3355,21 @@ export function createDrainSourceDrains2FromJSON( /** @internal */ export const CreateDrainSourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof CreateDrainSourceDefaultFor -> = z.nativeEnum(CreateDrainSourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainSourceDefaultFor) +); /** @internal */ export const CreateDrainSourceDrains1$inboundSchema: z.ZodType< CreateDrainSourceDrains1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(CreateDrainSourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(CreateDrainSourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function createDrainSourceDrains1FromJSON( jsonString: string, @@ -3200,10 +3386,12 @@ export const CreateDrainResponseBodySource$inboundSchema: z.ZodType< CreateDrainResponseBodySource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainSourceDrains1$inboundSchema), - z.lazy(() => CreateDrainSourceDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainSourceDrains1$inboundSchema), + z.lazy(() => CreateDrainSourceDrains2$inboundSchema), + ]) +); export function createDrainResponseBodySourceFromJSON( jsonString: string, @@ -3218,32 +3406,40 @@ export function createDrainResponseBodySourceFromJSON( /** @internal */ export const CreateDrainResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyStatus -> = z.nativeEnum(CreateDrainResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyStatus) +); /** @internal */ export const CreateDrainResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyState -> = z.nativeEnum(CreateDrainResponseBodyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyState) +); /** @internal */ export const CreateDrainResponseBodyWindow$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyWindow -> = z.nativeEnum(CreateDrainResponseBodyWindow); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyWindow) +); /** @internal */ export const CreateDrainResponseBodyDeliveryStats$inboundSchema: z.ZodType< CreateDrainResponseBodyDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: CreateDrainResponseBodyState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: CreateDrainResponseBodyWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: CreateDrainResponseBodyState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: CreateDrainResponseBodyWindow$inboundSchema, + }) +); export function createDrainResponseBodyDeliveryStatsFromJSON( jsonString: string, @@ -3261,10 +3457,12 @@ export const CreateDrainFilter2$inboundSchema: z.ZodType< CreateDrainFilter2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function createDrainFilter2FromJSON( jsonString: string, @@ -3279,18 +3477,22 @@ export function createDrainFilter2FromJSON( /** @internal */ export const CreateDrainFilterEnvironments$inboundSchema: z.ZodNativeEnum< typeof CreateDrainFilterEnvironments -> = z.nativeEnum(CreateDrainFilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainFilterEnvironments) +); /** @internal */ export const CreateDrainFilterDrainsDeployment$inboundSchema: z.ZodType< CreateDrainFilterDrainsDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(CreateDrainFilterEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(CreateDrainFilterEnvironments$inboundSchema), + ), + }) +); export function createDrainFilterDrainsDeploymentFromJSON( jsonString: string, @@ -3305,21 +3507,24 @@ export function createDrainFilterDrainsDeploymentFromJSON( /** @internal */ export const CreateDrainFilterSources$inboundSchema: z.ZodNativeEnum< typeof CreateDrainFilterSources -> = z.nativeEnum(CreateDrainFilterSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDrainFilterSources)); /** @internal */ export const CreateDrainFilterDrainsLog$inboundSchema: z.ZodType< CreateDrainFilterDrainsLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional(z.array(CreateDrainFilterSources$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional(z.array(CreateDrainFilterSources$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function createDrainFilterDrainsLogFromJSON( jsonString: string, @@ -3336,9 +3541,11 @@ export const CreateDrainFilterProject$inboundSchema: z.ZodType< CreateDrainFilterProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function createDrainFilterProjectFromJSON( jsonString: string, @@ -3355,14 +3562,18 @@ export const CreateDrainFilter1$inboundSchema: z.ZodType< CreateDrainFilter1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => CreateDrainFilterDrainsDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => CreateDrainFilterDrainsLog$inboundSchema)), - project: types.optional(z.lazy(() => CreateDrainFilterProject$inboundSchema)), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => CreateDrainFilterDrainsDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => CreateDrainFilterDrainsLog$inboundSchema)), + project: types.optional( + z.lazy(() => CreateDrainFilterProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function createDrainFilter1FromJSON( jsonString: string, @@ -3379,10 +3590,12 @@ export const ResponseBodyFilter$inboundSchema: z.ZodType< ResponseBodyFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateDrainFilter1$inboundSchema), - z.lazy(() => CreateDrainFilter2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateDrainFilter1$inboundSchema), + z.lazy(() => CreateDrainFilter2$inboundSchema), + ]) +); export function responseBodyFilterFromJSON( jsonString: string, @@ -3397,20 +3610,24 @@ export function responseBodyFilterFromJSON( /** @internal */ export const CreateDrainResponseBodyVersion$inboundSchema: z.ZodNativeEnum< typeof CreateDrainResponseBodyVersion -> = z.nativeEnum(CreateDrainResponseBodyVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateDrainResponseBodyVersion) +); /** @internal */ export const CreateDrainResponseBodyFilterV2$inboundSchema: z.ZodType< CreateDrainResponseBodyFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => CreateDrainFilter1$inboundSchema), - z.lazy(() => CreateDrainFilter2$inboundSchema), - ]), - version: CreateDrainResponseBodyVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => CreateDrainFilter1$inboundSchema), + z.lazy(() => CreateDrainFilter2$inboundSchema), + ]), + version: CreateDrainResponseBodyVersion$inboundSchema, + }) +); export function createDrainResponseBodyFilterV2FromJSON( jsonString: string, @@ -3427,43 +3644,45 @@ export const CreateDrainResponseBody1$inboundSchema: z.ZodType< CreateDrainResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => CreateDrainDelivery1$inboundSchema), - z.lazy(() => CreateDrainDelivery2$inboundSchema), - z.lazy(() => CreateDrainDelivery3$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains4$inboundSchema), - z.lazy(() => CreateDrainDeliveryDrains5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional( - CreateDrainResponseBodyDisabledReason$inboundSchema, - ), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => ResponseBodySampling$inboundSchema)), - ), - schemas: z.lazy(() => ResponseBodySchemas$inboundSchema), - source: z.union([ - z.lazy(() => CreateDrainSourceDrains1$inboundSchema), - z.lazy(() => CreateDrainSourceDrains2$inboundSchema), - ]), - status: types.optional(CreateDrainResponseBodyStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => CreateDrainResponseBodyDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => CreateDrainResponseBodyFilterV2$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => CreateDrainDelivery1$inboundSchema), + z.lazy(() => CreateDrainDelivery2$inboundSchema), + z.lazy(() => CreateDrainDelivery3$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains4$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + CreateDrainResponseBodyDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => ResponseBodySampling$inboundSchema)), + ), + schemas: z.lazy(() => ResponseBodySchemas$inboundSchema), + source: z.union([ + z.lazy(() => CreateDrainSourceDrains1$inboundSchema), + z.lazy(() => CreateDrainSourceDrains2$inboundSchema), + ]), + status: types.optional(CreateDrainResponseBodyStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => CreateDrainResponseBodyDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => CreateDrainResponseBodyFilterV2$inboundSchema), + ), + }) +); export function createDrainResponseBody1FromJSON( jsonString: string, @@ -3480,10 +3699,12 @@ export const CreateDrainResponseBody$inboundSchema: z.ZodType< CreateDrainResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateDrainResponseBody1$inboundSchema), - z.lazy(() => CreateDrainResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateDrainResponseBody1$inboundSchema), + z.lazy(() => CreateDrainResponseBody2$inboundSchema), + ]) +); export function createDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createedgeconfigop.ts b/src/models/createedgeconfigop.ts index 63ca8ac0ca..f9c6b49aee 100644 --- a/src/models/createedgeconfigop.ts +++ b/src/models/createedgeconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -58,10 +58,12 @@ export const CreateEdgeConfigRequestBody$outboundSchema: z.ZodType< CreateEdgeConfigRequestBody$Outbound, z.ZodTypeDef, CreateEdgeConfigRequestBody -> = z.object({ - slug: z.string(), - items: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + items: z.record(z.any()).optional(), + }) +); export function createEdgeConfigRequestBodyToJSON( createEdgeConfigRequestBody: CreateEdgeConfigRequestBody, @@ -85,15 +87,17 @@ export const CreateEdgeConfigRequest$outboundSchema: z.ZodType< CreateEdgeConfigRequest$Outbound, z.ZodTypeDef, CreateEdgeConfigRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateEdgeConfigRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateEdgeConfigRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createEdgeConfigRequestToJSON( createEdgeConfigRequest: CreateEdgeConfigRequest, @@ -108,17 +112,19 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType< CreateEdgeConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - digest: types.string(), - id: types.string(), - itemCount: types.number(), - ownerId: types.string(), - sizeInBytes: types.number(), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + digest: types.string(), + id: types.string(), + itemCount: types.number(), + ownerId: types.string(), + sizeInBytes: types.number(), + slug: types.string(), + updatedAt: types.number(), + }) +); export function createEdgeConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createedgeconfigtokenop.ts b/src/models/createedgeconfigtokenop.ts index f16147809d..27706cff48 100644 --- a/src/models/createedgeconfigtokenop.ts +++ b/src/models/createedgeconfigtokenop.ts @@ -3,8 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -41,9 +44,11 @@ export const CreateEdgeConfigTokenRequestBody$outboundSchema: z.ZodType< CreateEdgeConfigTokenRequestBody$Outbound, z.ZodTypeDef, CreateEdgeConfigTokenRequestBody -> = z.object({ - label: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + }) +); export function createEdgeConfigTokenRequestBodyToJSON( createEdgeConfigTokenRequestBody: CreateEdgeConfigTokenRequestBody, @@ -68,16 +73,20 @@ export const CreateEdgeConfigTokenRequest$outboundSchema: z.ZodType< CreateEdgeConfigTokenRequest$Outbound, z.ZodTypeDef, CreateEdgeConfigTokenRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateEdgeConfigTokenRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createEdgeConfigTokenRequestToJSON( createEdgeConfigTokenRequest: CreateEdgeConfigTokenRequest, @@ -94,10 +103,12 @@ export const CreateEdgeConfigTokenResponseBody$inboundSchema: z.ZodType< CreateEdgeConfigTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - token: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + token: types.string(), + }) +); export function createEdgeConfigTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createeventop.ts b/src/models/createeventop.ts index d764422048..a9a04d440f 100644 --- a/src/models/createeventop.ts +++ b/src/models/createeventop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type Event2 = { type: "resource.updated"; @@ -48,11 +49,13 @@ export const Event2$outboundSchema: z.ZodType< Event2$Outbound, z.ZodTypeDef, Event2 -> = z.object({ - type: z.literal("resource.updated"), - productId: z.string().optional(), - resourceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("resource.updated"), + productId: z.string().optional(), + resourceId: z.string(), + }) +); export function event2ToJSON(event2: Event2): string { return JSON.stringify(Event2$outboundSchema.parse(event2)); @@ -69,10 +72,12 @@ export const Event1$outboundSchema: z.ZodType< Event1$Outbound, z.ZodTypeDef, Event1 -> = z.object({ - type: z.literal("installation.updated"), - billingPlanId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("installation.updated"), + billingPlanId: z.string().optional(), + }) +); export function event1ToJSON(event1: Event1): string { return JSON.stringify(Event1$outboundSchema.parse(event1)); @@ -86,10 +91,12 @@ export const CreateEventEvent$outboundSchema: z.ZodType< CreateEventEvent$Outbound, z.ZodTypeDef, CreateEventEvent -> = z.union([ - z.lazy(() => Event1$outboundSchema), - z.lazy(() => Event2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), + ]) +); export function createEventEventToJSON( createEventEvent: CreateEventEvent, @@ -109,12 +116,14 @@ export const CreateEventRequestBody$outboundSchema: z.ZodType< CreateEventRequestBody$Outbound, z.ZodTypeDef, CreateEventRequestBody -> = z.object({ - event: z.union([ - z.lazy(() => Event1$outboundSchema), - z.lazy(() => Event2$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + event: z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), + ]), + }) +); export function createEventRequestBodyToJSON( createEventRequestBody: CreateEventRequestBody, @@ -135,14 +144,16 @@ export const CreateEventRequest$outboundSchema: z.ZodType< CreateEventRequest$Outbound, z.ZodTypeDef, CreateEventRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => CreateEventRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => CreateEventRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createEventRequestToJSON( createEventRequest: CreateEventRequest, diff --git a/src/models/createflagop.ts b/src/models/createflagop.ts index 5150da7dd8..da5cd70f27 100644 --- a/src/models/createflagop.ts +++ b/src/models/createflagop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -741,7 +741,7 @@ export type CreateFlagResponseBody = { /** @internal */ export const CreateFlagKind$outboundSchema: z.ZodNativeEnum< typeof CreateFlagKind -> = z.nativeEnum(CreateFlagKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagKind)); /** @internal */ export type Value4$Outbound = {}; @@ -751,7 +751,7 @@ export const Value4$outboundSchema: z.ZodType< Value4$Outbound, z.ZodTypeDef, Value4 -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function value4ToJSON(value4: Value4): string { return JSON.stringify(Value4$outboundSchema.parse(value4)); @@ -770,12 +770,14 @@ export const CreateFlagVariants$outboundSchema: z.ZodType< CreateFlagVariants$Outbound, z.ZodTypeDef, CreateFlagVariants -> = z.object({ - id: z.string(), - label: z.string().optional(), - description: z.string().optional(), - value: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + label: z.string().optional(), + description: z.string().optional(), + value: z.any().optional(), + }) +); export function createFlagVariantsToJSON( createFlagVariants: CreateFlagVariants, @@ -796,10 +798,12 @@ export const CreateFlagReuse$outboundSchema: z.ZodType< CreateFlagReuse$Outbound, z.ZodTypeDef, CreateFlagReuse -> = z.object({ - active: z.boolean(), - environment: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + environment: z.string(), + }) +); export function createFlagReuseToJSON( createFlagReuse: CreateFlagReuse, @@ -818,10 +822,12 @@ export const CreateFlagTargets$outboundSchema: z.ZodType< CreateFlagTargets$Outbound, z.ZodTypeDef, CreateFlagTargets -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function createFlagTargetsToJSON( createFlagTargets: CreateFlagTargets, @@ -842,10 +848,12 @@ export const CreateFlagPausedOutcome$outboundSchema: z.ZodType< CreateFlagPausedOutcome$Outbound, z.ZodTypeDef, CreateFlagPausedOutcome -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function createFlagPausedOutcomeToJSON( createFlagPausedOutcome: CreateFlagPausedOutcome, @@ -867,11 +875,13 @@ export const CreateFlagLhs2$outboundSchema: z.ZodType< CreateFlagLhs2$Outbound, z.ZodTypeDef, CreateFlagLhs2 -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagLhs2ToJSON(createFlagLhs2: CreateFlagLhs2): string { return JSON.stringify(CreateFlagLhs2$outboundSchema.parse(createFlagLhs2)); @@ -887,9 +897,11 @@ export const CreateFlagLhs1$outboundSchema: z.ZodType< CreateFlagLhs1$Outbound, z.ZodTypeDef, CreateFlagLhs1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function createFlagLhs1ToJSON(createFlagLhs1: CreateFlagLhs1): string { return JSON.stringify(CreateFlagLhs1$outboundSchema.parse(createFlagLhs1)); @@ -905,10 +917,12 @@ export const CreateFlagLhs$outboundSchema: z.ZodType< CreateFlagLhs$Outbound, z.ZodTypeDef, CreateFlagLhs -> = smartUnion([ - z.lazy(() => CreateFlagLhs2$outboundSchema), - z.lazy(() => CreateFlagLhs1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagLhs2$outboundSchema), + z.lazy(() => CreateFlagLhs1$outboundSchema), + ]) +); export function createFlagLhsToJSON(createFlagLhs: CreateFlagLhs): string { return JSON.stringify(CreateFlagLhs$outboundSchema.parse(createFlagLhs)); @@ -917,7 +931,7 @@ export function createFlagLhsToJSON(createFlagLhs: CreateFlagLhs): string { /** @internal */ export const CreateFlagCmp$outboundSchema: z.ZodNativeEnum< typeof CreateFlagCmp -> = z.nativeEnum(CreateFlagCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagCmp)); /** @internal */ export type Rhs2$Outbound = { @@ -928,11 +942,13 @@ export type Rhs2$Outbound = { /** @internal */ export const Rhs2$outboundSchema: z.ZodType = - z.object({ - type: z.any().optional(), - pattern: z.string(), - flags: z.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + pattern: z.string(), + flags: z.string(), + }) + ); export function rhs2ToJSON(rhs2: Rhs2): string { return JSON.stringify(Rhs2$outboundSchema.parse(rhs2)); @@ -941,7 +957,7 @@ export function rhs2ToJSON(rhs2: Rhs2): string { /** @internal */ export const CreateFlagRhsType$outboundSchema: z.ZodNativeEnum< typeof CreateFlagRhsType -> = z.nativeEnum(CreateFlagRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagRhsType)); /** @internal */ export type CreateFlagItems2$Outbound = { @@ -955,11 +971,13 @@ export const CreateFlagItems2$outboundSchema: z.ZodType< CreateFlagItems2$Outbound, z.ZodTypeDef, CreateFlagItems2 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.string(), + }) +); export function createFlagItems2ToJSON( createFlagItems2: CreateFlagItems2, @@ -981,11 +999,13 @@ export const CreateFlagItems1$outboundSchema: z.ZodType< CreateFlagItems1$Outbound, z.ZodTypeDef, CreateFlagItems1 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.number(), + }) +); export function createFlagItems1ToJSON( createFlagItems1: CreateFlagItems1, @@ -1005,10 +1025,12 @@ export const CreateFlagRhsItems$outboundSchema: z.ZodType< CreateFlagRhsItems$Outbound, z.ZodTypeDef, CreateFlagRhsItems -> = smartUnion([ - z.lazy(() => CreateFlagItems1$outboundSchema), - z.lazy(() => CreateFlagItems2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagItems1$outboundSchema), + z.lazy(() => CreateFlagItems2$outboundSchema), + ]) +); export function createFlagRhsItemsToJSON( createFlagRhsItems: CreateFlagRhsItems, @@ -1026,15 +1048,15 @@ export type Rhs1$Outbound = { /** @internal */ export const Rhs1$outboundSchema: z.ZodType = - z.object({ - type: CreateFlagRhsType$outboundSchema, - items: z.array( - smartUnion([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateFlagRhsType$outboundSchema, + items: z.array(smartUnion([ z.lazy(() => CreateFlagItems1$outboundSchema), z.lazy(() => CreateFlagItems2$outboundSchema), - ]), - ), - }); + ])), + }) + ); export function rhs1ToJSON(rhs1: Rhs1): string { return JSON.stringify(Rhs1$outboundSchema.parse(rhs1)); @@ -1053,13 +1075,15 @@ export const CreateFlagRhs$outboundSchema: z.ZodType< CreateFlagRhs$Outbound, z.ZodTypeDef, CreateFlagRhs -> = smartUnion([ - z.lazy(() => Rhs2$outboundSchema), - z.lazy(() => Rhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Rhs2$outboundSchema), + z.lazy(() => Rhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]) +); export function createFlagRhsToJSON(createFlagRhs: CreateFlagRhs): string { return JSON.stringify(CreateFlagRhs$outboundSchema.parse(createFlagRhs)); @@ -1075,9 +1099,11 @@ export const CreateFlagCmpOptions$outboundSchema: z.ZodType< CreateFlagCmpOptions$Outbound, z.ZodTypeDef, CreateFlagCmpOptions -> = z.object({ - ignoreCase: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: z.boolean().optional(), + }) +); export function createFlagCmpOptionsToJSON( createFlagCmpOptions: CreateFlagCmpOptions, @@ -1100,21 +1126,23 @@ export const CreateFlagConditions$outboundSchema: z.ZodType< CreateFlagConditions$Outbound, z.ZodTypeDef, CreateFlagConditions -> = z.object({ - lhs: smartUnion([ - z.lazy(() => CreateFlagLhs2$outboundSchema), - z.lazy(() => CreateFlagLhs1$outboundSchema), - ]), - cmp: CreateFlagCmp$outboundSchema, - rhs: smartUnion([ - z.lazy(() => Rhs2$outboundSchema), - z.lazy(() => Rhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), - ]).optional(), - cmpOptions: z.lazy(() => CreateFlagCmpOptions$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lhs: smartUnion([ + z.lazy(() => CreateFlagLhs2$outboundSchema), + z.lazy(() => CreateFlagLhs1$outboundSchema), + ]), + cmp: CreateFlagCmp$outboundSchema, + rhs: smartUnion([ + z.lazy(() => Rhs2$outboundSchema), + z.lazy(() => Rhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]).optional(), + cmpOptions: z.lazy(() => CreateFlagCmpOptions$outboundSchema).optional(), + }) +); export function createFlagConditionsToJSON( createFlagConditions: CreateFlagConditions, @@ -1136,11 +1164,13 @@ export const CreateFlagOutcomeFeatureFlagsBase$outboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlagsBase$Outbound, z.ZodTypeDef, CreateFlagOutcomeFeatureFlagsBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagOutcomeFeatureFlagsBaseToJSON( createFlagOutcomeFeatureFlagsBase: CreateFlagOutcomeFeatureFlagsBase, @@ -1163,10 +1193,12 @@ export const CreateFlagOutcomeSlots$outboundSchema: z.ZodType< CreateFlagOutcomeSlots$Outbound, z.ZodTypeDef, CreateFlagOutcomeSlots -> = z.object({ - promille: z.number(), - durationMs: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + promille: z.number(), + durationMs: z.number(), + }) +); export function createFlagOutcomeSlotsToJSON( createFlagOutcomeSlots: CreateFlagOutcomeSlots, @@ -1193,16 +1225,18 @@ export const CreateFlagOutcome3$outboundSchema: z.ZodType< CreateFlagOutcome3$Outbound, z.ZodTypeDef, CreateFlagOutcome3 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => CreateFlagOutcomeFeatureFlagsBase$outboundSchema), - startTimestamp: z.number(), - rollFromVariantId: z.string(), - rollToVariantId: z.string(), - defaultVariantId: z.string(), - slots: z.array(z.lazy(() => CreateFlagOutcomeSlots$outboundSchema)), - finalPromille: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => CreateFlagOutcomeFeatureFlagsBase$outboundSchema), + startTimestamp: z.number(), + rollFromVariantId: z.string(), + rollToVariantId: z.string(), + defaultVariantId: z.string(), + slots: z.array(z.lazy(() => CreateFlagOutcomeSlots$outboundSchema)), + finalPromille: z.number().optional(), + }) +); export function createFlagOutcome3ToJSON( createFlagOutcome3: CreateFlagOutcome3, @@ -1224,11 +1258,13 @@ export const CreateFlagOutcomeBase$outboundSchema: z.ZodType< CreateFlagOutcomeBase$Outbound, z.ZodTypeDef, CreateFlagOutcomeBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagOutcomeBaseToJSON( createFlagOutcomeBase: CreateFlagOutcomeBase, @@ -1251,12 +1287,14 @@ export const CreateFlagOutcome2$outboundSchema: z.ZodType< CreateFlagOutcome2$Outbound, z.ZodTypeDef, CreateFlagOutcome2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => CreateFlagOutcomeBase$outboundSchema), - weights: z.record(z.number()), - defaultVariantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => CreateFlagOutcomeBase$outboundSchema), + weights: z.record(z.number()), + defaultVariantId: z.string(), + }) +); export function createFlagOutcome2ToJSON( createFlagOutcome2: CreateFlagOutcome2, @@ -1277,10 +1315,12 @@ export const CreateFlagOutcome1$outboundSchema: z.ZodType< CreateFlagOutcome1$Outbound, z.ZodTypeDef, CreateFlagOutcome1 -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function createFlagOutcome1ToJSON( createFlagOutcome1: CreateFlagOutcome1, @@ -1301,11 +1341,13 @@ export const CreateFlagOutcome$outboundSchema: z.ZodType< CreateFlagOutcome$Outbound, z.ZodTypeDef, CreateFlagOutcome -> = smartUnion([ - z.lazy(() => CreateFlagOutcome3$outboundSchema), - z.lazy(() => CreateFlagOutcome2$outboundSchema), - z.lazy(() => CreateFlagOutcome1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagOutcome3$outboundSchema), + z.lazy(() => CreateFlagOutcome2$outboundSchema), + z.lazy(() => CreateFlagOutcome1$outboundSchema), + ]) +); export function createFlagOutcomeToJSON( createFlagOutcome: CreateFlagOutcome, @@ -1330,15 +1372,17 @@ export const CreateFlagRules$outboundSchema: z.ZodType< CreateFlagRules$Outbound, z.ZodTypeDef, CreateFlagRules -> = z.object({ - id: z.string(), - conditions: z.array(z.lazy(() => CreateFlagConditions$outboundSchema)), - outcome: smartUnion([ - z.lazy(() => CreateFlagOutcome3$outboundSchema), - z.lazy(() => CreateFlagOutcome2$outboundSchema), - z.lazy(() => CreateFlagOutcome1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + conditions: z.array(z.lazy(() => CreateFlagConditions$outboundSchema)), + outcome: smartUnion([ + z.lazy(() => CreateFlagOutcome3$outboundSchema), + z.lazy(() => CreateFlagOutcome2$outboundSchema), + z.lazy(() => CreateFlagOutcome1$outboundSchema), + ]), + }) +); export function createFlagRulesToJSON( createFlagRules: CreateFlagRules, @@ -1358,11 +1402,13 @@ export const CreateFlagFallthroughFeatureFlagsBase$outboundSchema: z.ZodType< CreateFlagFallthroughFeatureFlagsBase$Outbound, z.ZodTypeDef, CreateFlagFallthroughFeatureFlagsBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagFallthroughFeatureFlagsBaseToJSON( createFlagFallthroughFeatureFlagsBase: CreateFlagFallthroughFeatureFlagsBase, @@ -1385,10 +1431,12 @@ export const FallthroughSlots$outboundSchema: z.ZodType< FallthroughSlots$Outbound, z.ZodTypeDef, FallthroughSlots -> = z.object({ - promille: z.number(), - durationMs: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + promille: z.number(), + durationMs: z.number(), + }) +); export function fallthroughSlotsToJSON( fallthroughSlots: FallthroughSlots, @@ -1415,16 +1463,18 @@ export const CreateFlagFallthrough3$outboundSchema: z.ZodType< CreateFlagFallthrough3$Outbound, z.ZodTypeDef, CreateFlagFallthrough3 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => CreateFlagFallthroughFeatureFlagsBase$outboundSchema), - startTimestamp: z.number(), - rollFromVariantId: z.string(), - rollToVariantId: z.string(), - defaultVariantId: z.string(), - slots: z.array(z.lazy(() => FallthroughSlots$outboundSchema)), - finalPromille: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => CreateFlagFallthroughFeatureFlagsBase$outboundSchema), + startTimestamp: z.number(), + rollFromVariantId: z.string(), + rollToVariantId: z.string(), + defaultVariantId: z.string(), + slots: z.array(z.lazy(() => FallthroughSlots$outboundSchema)), + finalPromille: z.number().optional(), + }) +); export function createFlagFallthrough3ToJSON( createFlagFallthrough3: CreateFlagFallthrough3, @@ -1446,11 +1496,13 @@ export const CreateFlagFallthroughBase$outboundSchema: z.ZodType< CreateFlagFallthroughBase$Outbound, z.ZodTypeDef, CreateFlagFallthroughBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagFallthroughBaseToJSON( createFlagFallthroughBase: CreateFlagFallthroughBase, @@ -1473,12 +1525,14 @@ export const CreateFlagFallthrough2$outboundSchema: z.ZodType< CreateFlagFallthrough2$Outbound, z.ZodTypeDef, CreateFlagFallthrough2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => CreateFlagFallthroughBase$outboundSchema), - weights: z.record(z.number()), - defaultVariantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => CreateFlagFallthroughBase$outboundSchema), + weights: z.record(z.number()), + defaultVariantId: z.string(), + }) +); export function createFlagFallthrough2ToJSON( createFlagFallthrough2: CreateFlagFallthrough2, @@ -1499,10 +1553,12 @@ export const CreateFlagFallthrough1$outboundSchema: z.ZodType< CreateFlagFallthrough1$Outbound, z.ZodTypeDef, CreateFlagFallthrough1 -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function createFlagFallthrough1ToJSON( createFlagFallthrough1: CreateFlagFallthrough1, @@ -1523,11 +1579,13 @@ export const CreateFlagFallthrough$outboundSchema: z.ZodType< CreateFlagFallthrough$Outbound, z.ZodTypeDef, CreateFlagFallthrough -> = smartUnion([ - z.lazy(() => CreateFlagFallthrough3$outboundSchema), - z.lazy(() => CreateFlagFallthrough2$outboundSchema), - z.lazy(() => CreateFlagFallthrough1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagFallthrough3$outboundSchema), + z.lazy(() => CreateFlagFallthrough2$outboundSchema), + z.lazy(() => CreateFlagFallthrough1$outboundSchema), + ]) +); export function createFlagFallthroughToJSON( createFlagFallthrough: CreateFlagFallthrough, @@ -1560,21 +1618,25 @@ export const CreateFlagEnvironments$outboundSchema: z.ZodType< CreateFlagEnvironments$Outbound, z.ZodTypeDef, CreateFlagEnvironments -> = z.object({ - active: z.boolean(), - reuse: z.lazy(() => CreateFlagReuse$outboundSchema).optional(), - targets: z.record( - z.record(z.record(z.array(z.lazy(() => CreateFlagTargets$outboundSchema)))), - ).optional(), - pausedOutcome: z.lazy(() => CreateFlagPausedOutcome$outboundSchema), - rules: z.array(z.lazy(() => CreateFlagRules$outboundSchema)), - fallthrough: smartUnion([ - z.lazy(() => CreateFlagFallthrough3$outboundSchema), - z.lazy(() => CreateFlagFallthrough2$outboundSchema), - z.lazy(() => CreateFlagFallthrough1$outboundSchema), - ]), - revision: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + reuse: z.lazy(() => CreateFlagReuse$outboundSchema).optional(), + targets: z.record( + z.record( + z.record(z.array(z.lazy(() => CreateFlagTargets$outboundSchema))), + ), + ).optional(), + pausedOutcome: z.lazy(() => CreateFlagPausedOutcome$outboundSchema), + rules: z.array(z.lazy(() => CreateFlagRules$outboundSchema)), + fallthrough: smartUnion([ + z.lazy(() => CreateFlagFallthrough3$outboundSchema), + z.lazy(() => CreateFlagFallthrough2$outboundSchema), + z.lazy(() => CreateFlagFallthrough1$outboundSchema), + ]), + revision: z.number().optional(), + }) +); export function createFlagEnvironmentsToJSON( createFlagEnvironments: CreateFlagEnvironments, @@ -1587,7 +1649,7 @@ export function createFlagEnvironmentsToJSON( /** @internal */ export const CreateFlagState$outboundSchema: z.ZodNativeEnum< typeof CreateFlagState -> = z.nativeEnum(CreateFlagState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagState)); /** @internal */ export type CreateFlagRequestBody$Outbound = { @@ -1608,18 +1670,21 @@ export const CreateFlagRequestBody$outboundSchema: z.ZodType< CreateFlagRequestBody$Outbound, z.ZodTypeDef, CreateFlagRequestBody -> = z.object({ - slug: z.string(), - kind: CreateFlagKind$outboundSchema, - variants: z.array(z.lazy(() => CreateFlagVariants$outboundSchema)).optional(), - environments: z.record(z.lazy(() => CreateFlagEnvironments$outboundSchema)), - seed: z.number().optional(), - description: z.string().optional(), - state: CreateFlagState$outboundSchema.optional(), - maintainerIds: z.array(z.string()).optional(), - permanent: z.boolean().optional(), - tags: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + kind: CreateFlagKind$outboundSchema, + variants: z.array(z.lazy(() => CreateFlagVariants$outboundSchema)) + .optional(), + environments: z.record(z.lazy(() => CreateFlagEnvironments$outboundSchema)), + seed: z.number().optional(), + description: z.string().optional(), + state: CreateFlagState$outboundSchema.optional(), + maintainerIds: z.array(z.string()).optional(), + permanent: z.boolean().optional(), + tags: z.array(z.string()).optional(), + }) +); export function createFlagRequestBodyToJSON( createFlagRequestBody: CreateFlagRequestBody, @@ -1642,16 +1707,18 @@ export const CreateFlagRequest$outboundSchema: z.ZodType< CreateFlagRequest$Outbound, z.ZodTypeDef, CreateFlagRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateFlagRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateFlagRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createFlagRequestToJSON( createFlagRequest: CreateFlagRequest, @@ -1666,9 +1733,11 @@ export const CreateFlagFallthrough4$inboundSchema: z.ZodType< CreateFlagFallthrough4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function createFlagFallthrough4FromJSON( jsonString: string, @@ -1684,8 +1753,10 @@ export function createFlagFallthrough4FromJSON( export const CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1694,12 +1765,14 @@ export const CreateFlagFallthroughFeatureFlagsResponse201Base$inboundSchema: CreateFlagFallthroughFeatureFlagsResponse201Base, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema, + }) + ); export function createFlagFallthroughFeatureFlagsResponse201BaseFromJSON( jsonString: string, @@ -1722,10 +1795,12 @@ export const CreateFlagFallthroughSlots$inboundSchema: z.ZodType< CreateFlagFallthroughSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function createFlagFallthroughSlotsFromJSON( jsonString: string, @@ -1742,18 +1817,20 @@ export const CreateFlagFallthroughFeatureFlags3$inboundSchema: z.ZodType< CreateFlagFallthroughFeatureFlags3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - CreateFlagFallthroughFeatureFlagsResponse201Base$inboundSchema - ), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array(z.lazy(() => CreateFlagFallthroughSlots$inboundSchema)), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + CreateFlagFallthroughFeatureFlagsResponse201Base$inboundSchema + ), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array(z.lazy(() => CreateFlagFallthroughSlots$inboundSchema)), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function createFlagFallthroughFeatureFlags3FromJSON( jsonString: string, @@ -1770,8 +1847,10 @@ export function createFlagFallthroughFeatureFlags3FromJSON( export const CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType - > = z.nativeEnum( - CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType, + ) ); /** @internal */ @@ -1780,12 +1859,14 @@ export const CreateFlagFallthroughFeatureFlagsResponseBase$inboundSchema: CreateFlagFallthroughFeatureFlagsResponseBase, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + CreateFlagFallthroughFeatureFlagsResponse201ApplicationJSONType$inboundSchema, + }) + ); export function createFlagFallthroughFeatureFlagsResponseBaseFromJSON( jsonString: string, @@ -1808,14 +1889,16 @@ export const CreateFlagFallthroughFeatureFlags2$inboundSchema: z.ZodType< CreateFlagFallthroughFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - CreateFlagFallthroughFeatureFlagsResponseBase$inboundSchema - ), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + CreateFlagFallthroughFeatureFlagsResponseBase$inboundSchema + ), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function createFlagFallthroughFeatureFlags2FromJSON( jsonString: string, @@ -1833,10 +1916,12 @@ export const CreateFlagFallthroughFeatureFlags1$inboundSchema: z.ZodType< CreateFlagFallthroughFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function createFlagFallthroughFeatureFlags1FromJSON( jsonString: string, @@ -1854,12 +1939,14 @@ export const CreateFlagFeatureFlagsFallthrough$inboundSchema: z.ZodType< CreateFlagFeatureFlagsFallthrough, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateFlagFallthroughFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagFallthroughFeatureFlags2$inboundSchema), - z.lazy(() => CreateFlagFallthroughFeatureFlags3$inboundSchema), - z.lazy(() => CreateFlagFallthrough4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateFlagFallthroughFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagFallthroughFeatureFlags2$inboundSchema), + z.lazy(() => CreateFlagFallthroughFeatureFlags3$inboundSchema), + z.lazy(() => CreateFlagFallthrough4$inboundSchema), + ]) +); export function createFlagFeatureFlagsFallthroughFromJSON( jsonString: string, @@ -1874,17 +1961,19 @@ export function createFlagFeatureFlagsFallthroughFromJSON( /** @internal */ export const CreateFlagType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagType -> = z.nativeEnum(CreateFlagType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagType)); /** @internal */ export const CreateFlagFeatureFlagsPausedOutcome$inboundSchema: z.ZodType< CreateFlagFeatureFlagsPausedOutcome, z.ZodTypeDef, unknown -> = z.object({ - type: CreateFlagType$inboundSchema, - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateFlagType$inboundSchema, + variantId: types.string(), + }) +); export function createFlagFeatureFlagsPausedOutcomeFromJSON( jsonString: string, @@ -1902,10 +1991,12 @@ export const CreateFlagFeatureFlagsReuse$inboundSchema: z.ZodType< CreateFlagFeatureFlagsReuse, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - environment: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + environment: types.string(), + }) +); export function createFlagFeatureFlagsReuseFromJSON( jsonString: string, @@ -1920,16 +2011,18 @@ export function createFlagFeatureFlagsReuseFromJSON( /** @internal */ export const CreateFlagFeatureFlagsCmp$inboundSchema: z.ZodNativeEnum< typeof CreateFlagFeatureFlagsCmp -> = z.nativeEnum(CreateFlagFeatureFlagsCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagFeatureFlagsCmp)); /** @internal */ export const CreateFlagFeatureFlagsCmpOptions$inboundSchema: z.ZodType< CreateFlagFeatureFlagsCmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function createFlagFeatureFlagsCmpOptionsFromJSON( jsonString: string, @@ -1946,11 +2039,13 @@ export const CreateFlagLhsFeatureFlags2$inboundSchema: z.ZodType< CreateFlagLhsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) +); export function createFlagLhsFeatureFlags2FromJSON( jsonString: string, @@ -1967,9 +2062,11 @@ export const CreateFlagLhsFeatureFlags1$inboundSchema: z.ZodType< CreateFlagLhsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("segment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) +); export function createFlagLhsFeatureFlags1FromJSON( jsonString: string, @@ -1986,10 +2083,12 @@ export const CreateFlagFeatureFlagsLhs$inboundSchema: z.ZodType< CreateFlagFeatureFlagsLhs, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateFlagLhsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagLhsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateFlagLhsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagLhsFeatureFlags2$inboundSchema), + ]) +); export function createFlagFeatureFlagsLhsFromJSON( jsonString: string, @@ -2003,20 +2102,23 @@ export function createFlagFeatureFlagsLhsFromJSON( /** @internal */ export const CreateFlagRhsFeatureFlagsResponseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateFlagRhsFeatureFlagsResponseType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagRhsFeatureFlagsResponseType) + ); /** @internal */ export const CreateFlagRhs4$inboundSchema: z.ZodType< CreateFlagRhs4, z.ZodTypeDef, unknown -> = z.object({ - flags: types.string(), - pattern: types.string(), - type: CreateFlagRhsFeatureFlagsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: CreateFlagRhsFeatureFlagsResponseType$inboundSchema, + }) +); export function createFlagRhs4FromJSON( jsonString: string, @@ -2033,11 +2135,13 @@ export const CreateFlagItemsFeatureFlags2$inboundSchema: z.ZodType< CreateFlagItemsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) +); export function createFlagItemsFeatureFlags2FromJSON( jsonString: string, @@ -2054,11 +2158,13 @@ export const CreateFlagItemsFeatureFlags1$inboundSchema: z.ZodType< CreateFlagItemsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) +); export function createFlagItemsFeatureFlags1FromJSON( jsonString: string, @@ -2075,10 +2181,12 @@ export const CreateFlagRhsFeatureFlagsItems$inboundSchema: z.ZodType< CreateFlagRhsFeatureFlagsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateFlagItemsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagItemsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagItemsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagItemsFeatureFlags2$inboundSchema), + ]) +); export function createFlagRhsFeatureFlagsItemsFromJSON( jsonString: string, @@ -2093,22 +2201,24 @@ export function createFlagRhsFeatureFlagsItemsFromJSON( /** @internal */ export const CreateFlagRhsFeatureFlagsType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagRhsFeatureFlagsType -> = z.nativeEnum(CreateFlagRhsFeatureFlagsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagRhsFeatureFlagsType) +); /** @internal */ export const CreateFlagRhs3$inboundSchema: z.ZodType< CreateFlagRhs3, z.ZodTypeDef, unknown -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => CreateFlagItemsFeatureFlags1$inboundSchema), z.lazy(() => CreateFlagItemsFeatureFlags2$inboundSchema), - ]), - ), - type: CreateFlagRhsFeatureFlagsType$inboundSchema, -}); + ])), + type: CreateFlagRhsFeatureFlagsType$inboundSchema, + }) +); export function createFlagRhs3FromJSON( jsonString: string, @@ -2125,13 +2235,15 @@ export const CreateFlagFeatureFlagsRhs$inboundSchema: z.ZodType< CreateFlagFeatureFlagsRhs, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateFlagRhs4$inboundSchema), - z.lazy(() => CreateFlagRhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagRhs4$inboundSchema), + z.lazy(() => CreateFlagRhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function createFlagFeatureFlagsRhsFromJSON( jsonString: string, @@ -2148,25 +2260,25 @@ export const CreateFlagFeatureFlagsConditions$inboundSchema: z.ZodType< CreateFlagFeatureFlagsConditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: CreateFlagFeatureFlagsCmp$inboundSchema, - cmpOptions: types.optional( - z.lazy(() => CreateFlagFeatureFlagsCmpOptions$inboundSchema), - ), - lhs: z.union([ - z.lazy(() => CreateFlagLhsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagLhsFeatureFlags2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: CreateFlagFeatureFlagsCmp$inboundSchema, + cmpOptions: types.optional( + z.lazy(() => CreateFlagFeatureFlagsCmpOptions$inboundSchema), + ), + lhs: z.union([ + z.lazy(() => CreateFlagLhsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagLhsFeatureFlags2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => CreateFlagRhs4$inboundSchema), z.lazy(() => CreateFlagRhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function createFlagFeatureFlagsConditionsFromJSON( jsonString: string, @@ -2183,9 +2295,11 @@ export const CreateFlagOutcome4$inboundSchema: z.ZodType< CreateFlagOutcome4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function createFlagOutcome4FromJSON( jsonString: string, @@ -2201,8 +2315,10 @@ export function createFlagOutcome4FromJSON( export const CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2211,12 +2327,14 @@ export const CreateFlagOutcomeFeatureFlagsResponse201Base$inboundSchema: CreateFlagOutcomeFeatureFlagsResponse201Base, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONResponseBodyType$inboundSchema, + }) + ); export function createFlagOutcomeFeatureFlagsResponse201BaseFromJSON( jsonString: string, @@ -2239,10 +2357,12 @@ export const CreateFlagOutcomeFeatureFlagsSlots$inboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlagsSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function createFlagOutcomeFeatureFlagsSlotsFromJSON( jsonString: string, @@ -2260,20 +2380,22 @@ export const CreateFlagOutcomeFeatureFlags3$inboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlags3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - CreateFlagOutcomeFeatureFlagsResponse201Base$inboundSchema - ), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array( - z.lazy(() => CreateFlagOutcomeFeatureFlagsSlots$inboundSchema), - ), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + CreateFlagOutcomeFeatureFlagsResponse201Base$inboundSchema + ), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array( + z.lazy(() => CreateFlagOutcomeFeatureFlagsSlots$inboundSchema), + ), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function createFlagOutcomeFeatureFlags3FromJSON( jsonString: string, @@ -2289,19 +2411,23 @@ export function createFlagOutcomeFeatureFlags3FromJSON( export const CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType - > = z.nativeEnum(CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType) + ); /** @internal */ export const CreateFlagOutcomeFeatureFlagsResponseBase$inboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlagsResponseBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: - CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + CreateFlagOutcomeFeatureFlagsResponse201ApplicationJSONType$inboundSchema, + }) +); export function createFlagOutcomeFeatureFlagsResponseBaseFromJSON( jsonString: string, @@ -2324,12 +2450,14 @@ export const CreateFlagOutcomeFeatureFlags2$inboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => CreateFlagOutcomeFeatureFlagsResponseBase$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => CreateFlagOutcomeFeatureFlagsResponseBase$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function createFlagOutcomeFeatureFlags2FromJSON( jsonString: string, @@ -2346,10 +2474,12 @@ export const CreateFlagOutcomeFeatureFlags1$inboundSchema: z.ZodType< CreateFlagOutcomeFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function createFlagOutcomeFeatureFlags1FromJSON( jsonString: string, @@ -2366,12 +2496,14 @@ export const CreateFlagFeatureFlagsOutcome$inboundSchema: z.ZodType< CreateFlagFeatureFlagsOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateFlagOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagOutcomeFeatureFlags2$inboundSchema), - z.lazy(() => CreateFlagOutcomeFeatureFlags3$inboundSchema), - z.lazy(() => CreateFlagOutcome4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateFlagOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagOutcomeFeatureFlags2$inboundSchema), + z.lazy(() => CreateFlagOutcomeFeatureFlags3$inboundSchema), + z.lazy(() => CreateFlagOutcome4$inboundSchema), + ]) +); export function createFlagFeatureFlagsOutcomeFromJSON( jsonString: string, @@ -2388,18 +2520,20 @@ export const CreateFlagFeatureFlagsRules$inboundSchema: z.ZodType< CreateFlagFeatureFlagsRules, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => CreateFlagFeatureFlagsConditions$inboundSchema), - ), - id: types.string(), - outcome: z.union([ - z.lazy(() => CreateFlagOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagOutcomeFeatureFlags2$inboundSchema), - z.lazy(() => CreateFlagOutcomeFeatureFlags3$inboundSchema), - z.lazy(() => CreateFlagOutcome4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => CreateFlagFeatureFlagsConditions$inboundSchema), + ), + id: types.string(), + outcome: z.union([ + z.lazy(() => CreateFlagOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagOutcomeFeatureFlags2$inboundSchema), + z.lazy(() => CreateFlagOutcomeFeatureFlags3$inboundSchema), + z.lazy(() => CreateFlagOutcome4$inboundSchema), + ]), + }) +); export function createFlagFeatureFlagsRulesFromJSON( jsonString: string, @@ -2416,10 +2550,12 @@ export const CreateFlagFeatureFlagsTargets$inboundSchema: z.ZodType< CreateFlagFeatureFlagsTargets, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function createFlagFeatureFlagsTargetsFromJSON( jsonString: string, @@ -2436,28 +2572,28 @@ export const CreateFlagFeatureFlagsEnvironments$inboundSchema: z.ZodType< CreateFlagFeatureFlagsEnvironments, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - fallthrough: z.union([ - z.lazy(() => CreateFlagFallthroughFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagFallthroughFeatureFlags2$inboundSchema), - z.lazy(() => CreateFlagFallthroughFeatureFlags3$inboundSchema), - z.lazy(() => CreateFlagFallthrough4$inboundSchema), - ]), - pausedOutcome: z.lazy(() => - CreateFlagFeatureFlagsPausedOutcome$inboundSchema - ), - reuse: types.optional( - z.lazy(() => CreateFlagFeatureFlagsReuse$inboundSchema), - ), - revision: types.optional(types.number()), - rules: z.array(z.lazy(() => CreateFlagFeatureFlagsRules$inboundSchema)), - targets: types.optional( - z.record(z.record(z.record(z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + fallthrough: z.union([ + z.lazy(() => CreateFlagFallthroughFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagFallthroughFeatureFlags2$inboundSchema), + z.lazy(() => CreateFlagFallthroughFeatureFlags3$inboundSchema), + z.lazy(() => CreateFlagFallthrough4$inboundSchema), + ]), + pausedOutcome: z.lazy(() => + CreateFlagFeatureFlagsPausedOutcome$inboundSchema + ), + reuse: types.optional( + z.lazy(() => CreateFlagFeatureFlagsReuse$inboundSchema), + ), + revision: types.optional(types.number()), + rules: z.array(z.lazy(() => CreateFlagFeatureFlagsRules$inboundSchema)), + targets: types.optional(z.record(z.record(z.record(z.array(z.lazy(() => CreateFlagFeatureFlagsTargets$inboundSchema - ))))), - ), -}); + )))))), + }) +); export function createFlagFeatureFlagsEnvironmentsFromJSON( jsonString: string, @@ -2473,30 +2609,34 @@ export function createFlagFeatureFlagsEnvironmentsFromJSON( /** @internal */ export const CreateFlagFeatureFlagsKind$inboundSchema: z.ZodNativeEnum< typeof CreateFlagFeatureFlagsKind -> = z.nativeEnum(CreateFlagFeatureFlagsKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagFeatureFlagsKind)); /** @internal */ export const CreateFlagFeatureFlagsState$inboundSchema: z.ZodNativeEnum< typeof CreateFlagFeatureFlagsState -> = z.nativeEnum(CreateFlagFeatureFlagsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagFeatureFlagsState) +); /** @internal */ export const CreateFlagTypeName$inboundSchema: z.ZodNativeEnum< typeof CreateFlagTypeName -> = z.nativeEnum(CreateFlagTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagTypeName)); /** @internal */ export const CreateFlagValue$inboundSchema: z.ZodType< CreateFlagValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]) +); export function createFlagValueFromJSON( jsonString: string, @@ -2513,20 +2653,22 @@ export const CreateFlagFeatureFlagsVariants$inboundSchema: z.ZodType< CreateFlagFeatureFlagsVariants, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - id: types.string(), - label: types.optional(types.string()), - value: types.nullable( - smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + id: types.string(), + label: types.optional(types.string()), + value: types.nullable( + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]), + ), + }) +); export function createFlagFeatureFlagsVariantsFromJSON( jsonString: string, @@ -2543,30 +2685,34 @@ export const CreateFlagResponseBody$inboundSchema: z.ZodType< CreateFlagResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - description: types.optional(types.string()), - environments: z.record( - z.lazy(() => CreateFlagFeatureFlagsEnvironments$inboundSchema), - ), - id: types.string(), - kind: CreateFlagFeatureFlagsKind$inboundSchema, - maintainerIds: types.optional(z.array(types.string())), - ownerId: types.string(), - permanent: types.optional(types.boolean()), - projectId: types.string(), - revision: types.number(), - seed: types.number(), - seenInProduction: types.optional(types.boolean()), - slug: types.string(), - state: CreateFlagFeatureFlagsState$inboundSchema, - tags: types.optional(z.array(types.string())), - typeName: CreateFlagTypeName$inboundSchema, - updatedAt: types.number(), - updatedBy: types.optional(types.string()), - variants: z.array(z.lazy(() => CreateFlagFeatureFlagsVariants$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + description: types.optional(types.string()), + environments: z.record( + z.lazy(() => CreateFlagFeatureFlagsEnvironments$inboundSchema), + ), + id: types.string(), + kind: CreateFlagFeatureFlagsKind$inboundSchema, + maintainerIds: types.optional(z.array(types.string())), + ownerId: types.string(), + permanent: types.optional(types.boolean()), + projectId: types.string(), + revision: types.number(), + seed: types.number(), + seenInProduction: types.optional(types.boolean()), + slug: types.string(), + state: CreateFlagFeatureFlagsState$inboundSchema, + tags: types.optional(z.array(types.string())), + typeName: CreateFlagTypeName$inboundSchema, + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + variants: z.array( + z.lazy(() => CreateFlagFeatureFlagsVariants$inboundSchema), + ), + }) +); export function createFlagResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createflagsegmentop.ts b/src/models/createflagsegmentop.ts index 0d2bc4591e..c023544f5e 100644 --- a/src/models/createflagsegmentop.ts +++ b/src/models/createflagsegmentop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -392,11 +392,13 @@ export const CreateFlagSegmentLhs2$outboundSchema: z.ZodType< CreateFlagSegmentLhs2$Outbound, z.ZodTypeDef, CreateFlagSegmentLhs2 -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagSegmentLhs2ToJSON( createFlagSegmentLhs2: CreateFlagSegmentLhs2, @@ -416,9 +418,11 @@ export const CreateFlagSegmentLhs1$outboundSchema: z.ZodType< CreateFlagSegmentLhs1$Outbound, z.ZodTypeDef, CreateFlagSegmentLhs1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function createFlagSegmentLhs1ToJSON( createFlagSegmentLhs1: CreateFlagSegmentLhs1, @@ -438,10 +442,12 @@ export const CreateFlagSegmentLhs$outboundSchema: z.ZodType< CreateFlagSegmentLhs$Outbound, z.ZodTypeDef, CreateFlagSegmentLhs -> = smartUnion([ - z.lazy(() => CreateFlagSegmentLhs2$outboundSchema), - z.lazy(() => CreateFlagSegmentLhs1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentLhs2$outboundSchema), + z.lazy(() => CreateFlagSegmentLhs1$outboundSchema), + ]) +); export function createFlagSegmentLhsToJSON( createFlagSegmentLhs: CreateFlagSegmentLhs, @@ -454,7 +460,7 @@ export function createFlagSegmentLhsToJSON( /** @internal */ export const CreateFlagSegmentCmp$outboundSchema: z.ZodNativeEnum< typeof CreateFlagSegmentCmp -> = z.nativeEnum(CreateFlagSegmentCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagSegmentCmp)); /** @internal */ export type CreateFlagSegmentRhs2$Outbound = { @@ -468,11 +474,13 @@ export const CreateFlagSegmentRhs2$outboundSchema: z.ZodType< CreateFlagSegmentRhs2$Outbound, z.ZodTypeDef, CreateFlagSegmentRhs2 -> = z.object({ - type: z.any().optional(), - pattern: z.string(), - flags: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + pattern: z.string(), + flags: z.string(), + }) +); export function createFlagSegmentRhs2ToJSON( createFlagSegmentRhs2: CreateFlagSegmentRhs2, @@ -485,7 +493,7 @@ export function createFlagSegmentRhs2ToJSON( /** @internal */ export const CreateFlagSegmentRhsType$outboundSchema: z.ZodNativeEnum< typeof CreateFlagSegmentRhsType -> = z.nativeEnum(CreateFlagSegmentRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagSegmentRhsType)); /** @internal */ export type CreateFlagSegmentItems2$Outbound = { @@ -499,11 +507,13 @@ export const CreateFlagSegmentItems2$outboundSchema: z.ZodType< CreateFlagSegmentItems2$Outbound, z.ZodTypeDef, CreateFlagSegmentItems2 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.string(), + }) +); export function createFlagSegmentItems2ToJSON( createFlagSegmentItems2: CreateFlagSegmentItems2, @@ -525,11 +535,13 @@ export const CreateFlagSegmentItems1$outboundSchema: z.ZodType< CreateFlagSegmentItems1$Outbound, z.ZodTypeDef, CreateFlagSegmentItems1 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.number(), + }) +); export function createFlagSegmentItems1ToJSON( createFlagSegmentItems1: CreateFlagSegmentItems1, @@ -549,10 +561,12 @@ export const CreateFlagSegmentRhsItems$outboundSchema: z.ZodType< CreateFlagSegmentRhsItems$Outbound, z.ZodTypeDef, CreateFlagSegmentRhsItems -> = smartUnion([ - z.lazy(() => CreateFlagSegmentItems1$outboundSchema), - z.lazy(() => CreateFlagSegmentItems2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentItems1$outboundSchema), + z.lazy(() => CreateFlagSegmentItems2$outboundSchema), + ]) +); export function createFlagSegmentRhsItemsToJSON( createFlagSegmentRhsItems: CreateFlagSegmentRhsItems, @@ -575,15 +589,15 @@ export const CreateFlagSegmentRhs1$outboundSchema: z.ZodType< CreateFlagSegmentRhs1$Outbound, z.ZodTypeDef, CreateFlagSegmentRhs1 -> = z.object({ - type: CreateFlagSegmentRhsType$outboundSchema, - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateFlagSegmentRhsType$outboundSchema, + items: z.array(smartUnion([ z.lazy(() => CreateFlagSegmentItems1$outboundSchema), z.lazy(() => CreateFlagSegmentItems2$outboundSchema), - ]), - ), -}); + ])), + }) +); export function createFlagSegmentRhs1ToJSON( createFlagSegmentRhs1: CreateFlagSegmentRhs1, @@ -606,13 +620,15 @@ export const CreateFlagSegmentRhs$outboundSchema: z.ZodType< CreateFlagSegmentRhs$Outbound, z.ZodTypeDef, CreateFlagSegmentRhs -> = smartUnion([ - z.lazy(() => CreateFlagSegmentRhs2$outboundSchema), - z.lazy(() => CreateFlagSegmentRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentRhs2$outboundSchema), + z.lazy(() => CreateFlagSegmentRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]) +); export function createFlagSegmentRhsToJSON( createFlagSegmentRhs: CreateFlagSegmentRhs, @@ -632,9 +648,11 @@ export const CreateFlagSegmentCmpOptions$outboundSchema: z.ZodType< CreateFlagSegmentCmpOptions$Outbound, z.ZodTypeDef, CreateFlagSegmentCmpOptions -> = z.object({ - ignoreCase: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: z.boolean().optional(), + }) +); export function createFlagSegmentCmpOptionsToJSON( createFlagSegmentCmpOptions: CreateFlagSegmentCmpOptions, @@ -665,22 +683,24 @@ export const CreateFlagSegmentConditions$outboundSchema: z.ZodType< CreateFlagSegmentConditions$Outbound, z.ZodTypeDef, CreateFlagSegmentConditions -> = z.object({ - lhs: smartUnion([ - z.lazy(() => CreateFlagSegmentLhs2$outboundSchema), - z.lazy(() => CreateFlagSegmentLhs1$outboundSchema), - ]), - cmp: CreateFlagSegmentCmp$outboundSchema, - rhs: smartUnion([ - z.lazy(() => CreateFlagSegmentRhs2$outboundSchema), - z.lazy(() => CreateFlagSegmentRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), - ]).optional(), - cmpOptions: z.lazy(() => CreateFlagSegmentCmpOptions$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lhs: smartUnion([ + z.lazy(() => CreateFlagSegmentLhs2$outboundSchema), + z.lazy(() => CreateFlagSegmentLhs1$outboundSchema), + ]), + cmp: CreateFlagSegmentCmp$outboundSchema, + rhs: smartUnion([ + z.lazy(() => CreateFlagSegmentRhs2$outboundSchema), + z.lazy(() => CreateFlagSegmentRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]).optional(), + cmpOptions: z.lazy(() => CreateFlagSegmentCmpOptions$outboundSchema) + .optional(), + }) +); export function createFlagSegmentConditionsToJSON( createFlagSegmentConditions: CreateFlagSegmentConditions, @@ -704,11 +724,13 @@ export const CreateFlagSegmentOutcomeBase$outboundSchema: z.ZodType< CreateFlagSegmentOutcomeBase$Outbound, z.ZodTypeDef, CreateFlagSegmentOutcomeBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function createFlagSegmentOutcomeBaseToJSON( createFlagSegmentOutcomeBase: CreateFlagSegmentOutcomeBase, @@ -732,11 +754,13 @@ export const CreateFlagSegmentOutcome2$outboundSchema: z.ZodType< CreateFlagSegmentOutcome2$Outbound, z.ZodTypeDef, CreateFlagSegmentOutcome2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => CreateFlagSegmentOutcomeBase$outboundSchema), - passPromille: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => CreateFlagSegmentOutcomeBase$outboundSchema), + passPromille: z.number(), + }) +); export function createFlagSegmentOutcome2ToJSON( createFlagSegmentOutcome2: CreateFlagSegmentOutcome2, @@ -756,9 +780,11 @@ export const CreateFlagSegmentOutcome1$outboundSchema: z.ZodType< CreateFlagSegmentOutcome1$Outbound, z.ZodTypeDef, CreateFlagSegmentOutcome1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function createFlagSegmentOutcome1ToJSON( createFlagSegmentOutcome1: CreateFlagSegmentOutcome1, @@ -778,10 +804,12 @@ export const CreateFlagSegmentOutcome$outboundSchema: z.ZodType< CreateFlagSegmentOutcome$Outbound, z.ZodTypeDef, CreateFlagSegmentOutcome -> = smartUnion([ - z.lazy(() => CreateFlagSegmentOutcome2$outboundSchema), - z.lazy(() => CreateFlagSegmentOutcome1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentOutcome2$outboundSchema), + z.lazy(() => CreateFlagSegmentOutcome1$outboundSchema), + ]) +); export function createFlagSegmentOutcomeToJSON( createFlagSegmentOutcome: CreateFlagSegmentOutcome, @@ -805,14 +833,18 @@ export const CreateFlagSegmentRules$outboundSchema: z.ZodType< CreateFlagSegmentRules$Outbound, z.ZodTypeDef, CreateFlagSegmentRules -> = z.object({ - id: z.string(), - conditions: z.array(z.lazy(() => CreateFlagSegmentConditions$outboundSchema)), - outcome: smartUnion([ - z.lazy(() => CreateFlagSegmentOutcome2$outboundSchema), - z.lazy(() => CreateFlagSegmentOutcome1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + conditions: z.array( + z.lazy(() => CreateFlagSegmentConditions$outboundSchema), + ), + outcome: smartUnion([ + z.lazy(() => CreateFlagSegmentOutcome2$outboundSchema), + z.lazy(() => CreateFlagSegmentOutcome1$outboundSchema), + ]), + }) +); export function createFlagSegmentRulesToJSON( createFlagSegmentRules: CreateFlagSegmentRules, @@ -833,10 +865,12 @@ export const CreateFlagSegmentInclude$outboundSchema: z.ZodType< CreateFlagSegmentInclude$Outbound, z.ZodTypeDef, CreateFlagSegmentInclude -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function createFlagSegmentIncludeToJSON( createFlagSegmentInclude: CreateFlagSegmentInclude, @@ -857,10 +891,12 @@ export const CreateFlagSegmentExclude$outboundSchema: z.ZodType< CreateFlagSegmentExclude$Outbound, z.ZodTypeDef, CreateFlagSegmentExclude -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function createFlagSegmentExcludeToJSON( createFlagSegmentExclude: CreateFlagSegmentExclude, @@ -886,16 +922,18 @@ export const CreateFlagSegmentData$outboundSchema: z.ZodType< CreateFlagSegmentData$Outbound, z.ZodTypeDef, CreateFlagSegmentData -> = z.object({ - rules: z.array(z.lazy(() => CreateFlagSegmentRules$outboundSchema)) - .optional(), - include: z.record( - z.record(z.array(z.lazy(() => CreateFlagSegmentInclude$outboundSchema))), - ).optional(), - exclude: z.record( - z.record(z.array(z.lazy(() => CreateFlagSegmentExclude$outboundSchema))), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rules: z.array(z.lazy(() => CreateFlagSegmentRules$outboundSchema)) + .optional(), + include: z.record( + z.record(z.array(z.lazy(() => CreateFlagSegmentInclude$outboundSchema))), + ).optional(), + exclude: z.record( + z.record(z.array(z.lazy(() => CreateFlagSegmentExclude$outboundSchema))), + ).optional(), + }) +); export function createFlagSegmentDataToJSON( createFlagSegmentData: CreateFlagSegmentData, @@ -920,14 +958,16 @@ export const CreateFlagSegmentRequestBody$outboundSchema: z.ZodType< CreateFlagSegmentRequestBody$Outbound, z.ZodTypeDef, CreateFlagSegmentRequestBody -> = z.object({ - slug: z.string(), - createdBy: z.string().optional(), - label: z.string(), - description: z.string().optional(), - data: z.lazy(() => CreateFlagSegmentData$outboundSchema), - hint: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + createdBy: z.string().optional(), + label: z.string(), + description: z.string().optional(), + data: z.lazy(() => CreateFlagSegmentData$outboundSchema), + hint: z.string(), + }) +); export function createFlagSegmentRequestBodyToJSON( createFlagSegmentRequestBody: CreateFlagSegmentRequestBody, @@ -952,17 +992,19 @@ export const CreateFlagSegmentRequest$outboundSchema: z.ZodType< CreateFlagSegmentRequest$Outbound, z.ZodTypeDef, CreateFlagSegmentRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateFlagSegmentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateFlagSegmentRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createFlagSegmentRequestToJSON( createFlagSegmentRequest: CreateFlagSegmentRequest, @@ -977,10 +1019,12 @@ export const CreateFlagSegmentFeatureFlagsExclude$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsExclude, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function createFlagSegmentFeatureFlagsExcludeFromJSON( jsonString: string, @@ -998,10 +1042,12 @@ export const CreateFlagSegmentFeatureFlagsInclude$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsInclude, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function createFlagSegmentFeatureFlagsIncludeFromJSON( jsonString: string, @@ -1017,16 +1063,20 @@ export function createFlagSegmentFeatureFlagsIncludeFromJSON( /** @internal */ export const CreateFlagSegmentFeatureFlagsCmp$inboundSchema: z.ZodNativeEnum< typeof CreateFlagSegmentFeatureFlagsCmp -> = z.nativeEnum(CreateFlagSegmentFeatureFlagsCmp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagSegmentFeatureFlagsCmp) +); /** @internal */ export const CreateFlagSegmentFeatureFlagsCmpOptions$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsCmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function createFlagSegmentFeatureFlagsCmpOptionsFromJSON( jsonString: string, @@ -1049,11 +1099,13 @@ export const CreateFlagSegmentLhsFeatureFlags2$inboundSchema: z.ZodType< CreateFlagSegmentLhsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) +); export function createFlagSegmentLhsFeatureFlags2FromJSON( jsonString: string, @@ -1070,9 +1122,11 @@ export const CreateFlagSegmentLhsFeatureFlags1$inboundSchema: z.ZodType< CreateFlagSegmentLhsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("segment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) +); export function createFlagSegmentLhsFeatureFlags1FromJSON( jsonString: string, @@ -1089,10 +1143,12 @@ export const CreateFlagSegmentFeatureFlagsLhs$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsLhs, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateFlagSegmentLhsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagSegmentLhsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateFlagSegmentLhsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagSegmentLhsFeatureFlags2$inboundSchema), + ]) +); export function createFlagSegmentFeatureFlagsLhsFromJSON( jsonString: string, @@ -1106,19 +1162,23 @@ export function createFlagSegmentFeatureFlagsLhsFromJSON( /** @internal */ export const CreateFlagSegmentRhsFeatureFlagsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateFlagSegmentRhsFeatureFlagsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagSegmentRhsFeatureFlagsResponseType) + ); /** @internal */ export const CreateFlagSegmentRhs4$inboundSchema: z.ZodType< CreateFlagSegmentRhs4, z.ZodTypeDef, unknown -> = z.object({ - flags: types.string(), - pattern: types.string(), - type: CreateFlagSegmentRhsFeatureFlagsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: CreateFlagSegmentRhsFeatureFlagsResponseType$inboundSchema, + }) +); export function createFlagSegmentRhs4FromJSON( jsonString: string, @@ -1135,11 +1195,13 @@ export const CreateFlagSegmentItemsFeatureFlags2$inboundSchema: z.ZodType< CreateFlagSegmentItemsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) +); export function createFlagSegmentItemsFeatureFlags2FromJSON( jsonString: string, @@ -1157,11 +1219,13 @@ export const CreateFlagSegmentItemsFeatureFlags1$inboundSchema: z.ZodType< CreateFlagSegmentItemsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) +); export function createFlagSegmentItemsFeatureFlags1FromJSON( jsonString: string, @@ -1179,10 +1243,12 @@ export const CreateFlagSegmentRhsFeatureFlagsItems$inboundSchema: z.ZodType< CreateFlagSegmentRhsFeatureFlagsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateFlagSegmentItemsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagSegmentItemsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentItemsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagSegmentItemsFeatureFlags2$inboundSchema), + ]) +); export function createFlagSegmentRhsFeatureFlagsItemsFromJSON( jsonString: string, @@ -1197,24 +1263,25 @@ export function createFlagSegmentRhsFeatureFlagsItemsFromJSON( /** @internal */ export const CreateFlagSegmentRhsFeatureFlagsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateFlagSegmentRhsFeatureFlagsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagSegmentRhsFeatureFlagsType) + ); /** @internal */ export const CreateFlagSegmentRhs3$inboundSchema: z.ZodType< CreateFlagSegmentRhs3, z.ZodTypeDef, unknown -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => CreateFlagSegmentItemsFeatureFlags1$inboundSchema), z.lazy(() => CreateFlagSegmentItemsFeatureFlags2$inboundSchema), - ]), - ), - type: CreateFlagSegmentRhsFeatureFlagsType$inboundSchema, -}); + ])), + type: CreateFlagSegmentRhsFeatureFlagsType$inboundSchema, + }) +); export function createFlagSegmentRhs3FromJSON( jsonString: string, @@ -1231,13 +1298,15 @@ export const CreateFlagSegmentFeatureFlagsRhs$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsRhs, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateFlagSegmentRhs4$inboundSchema), - z.lazy(() => CreateFlagSegmentRhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateFlagSegmentRhs4$inboundSchema), + z.lazy(() => CreateFlagSegmentRhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function createFlagSegmentFeatureFlagsRhsFromJSON( jsonString: string, @@ -1254,25 +1323,25 @@ export const CreateFlagSegmentFeatureFlagsConditions$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsConditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: CreateFlagSegmentFeatureFlagsCmp$inboundSchema, - cmpOptions: types.optional( - z.lazy(() => CreateFlagSegmentFeatureFlagsCmpOptions$inboundSchema), - ), - lhs: z.union([ - z.lazy(() => CreateFlagSegmentLhsFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagSegmentLhsFeatureFlags2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: CreateFlagSegmentFeatureFlagsCmp$inboundSchema, + cmpOptions: types.optional( + z.lazy(() => CreateFlagSegmentFeatureFlagsCmpOptions$inboundSchema), + ), + lhs: z.union([ + z.lazy(() => CreateFlagSegmentLhsFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagSegmentLhsFeatureFlags2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => CreateFlagSegmentRhs4$inboundSchema), z.lazy(() => CreateFlagSegmentRhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function createFlagSegmentFeatureFlagsConditionsFromJSON( jsonString: string, @@ -1292,19 +1361,23 @@ export function createFlagSegmentFeatureFlagsConditionsFromJSON( /** @internal */ export const CreateFlagSegmentOutcomeFeatureFlagsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateFlagSegmentOutcomeFeatureFlagsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateFlagSegmentOutcomeFeatureFlagsResponseType) + ); /** @internal */ export const CreateFlagSegmentOutcomeFeatureFlagsBase$inboundSchema: z.ZodType< CreateFlagSegmentOutcomeFeatureFlagsBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: CreateFlagSegmentOutcomeFeatureFlagsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: CreateFlagSegmentOutcomeFeatureFlagsResponseType$inboundSchema, + }) +); export function createFlagSegmentOutcomeFeatureFlagsBaseFromJSON( jsonString: string, @@ -1327,11 +1400,13 @@ export const CreateFlagSegmentOutcomeFeatureFlags2$inboundSchema: z.ZodType< CreateFlagSegmentOutcomeFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => CreateFlagSegmentOutcomeFeatureFlagsBase$inboundSchema), - passPromille: types.number(), - type: types.literal("split"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => CreateFlagSegmentOutcomeFeatureFlagsBase$inboundSchema), + passPromille: types.number(), + type: types.literal("split"), + }) +); export function createFlagSegmentOutcomeFeatureFlags2FromJSON( jsonString: string, @@ -1349,9 +1424,11 @@ export const CreateFlagSegmentOutcomeFeatureFlags1$inboundSchema: z.ZodType< CreateFlagSegmentOutcomeFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("all"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("all"), + }) +); export function createFlagSegmentOutcomeFeatureFlags1FromJSON( jsonString: string, @@ -1369,10 +1446,12 @@ export const CreateFlagSegmentFeatureFlagsOutcome$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags2$inboundSchema), + ]) +); export function createFlagSegmentFeatureFlagsOutcomeFromJSON( jsonString: string, @@ -1390,16 +1469,18 @@ export const CreateFlagSegmentFeatureFlagsRules$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsRules, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => CreateFlagSegmentFeatureFlagsConditions$inboundSchema), - ), - id: types.string(), - outcome: z.union([ - z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => CreateFlagSegmentFeatureFlagsConditions$inboundSchema), + ), + id: types.string(), + outcome: z.union([ + z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => CreateFlagSegmentOutcomeFeatureFlags2$inboundSchema), + ]), + }) +); export function createFlagSegmentFeatureFlagsRulesFromJSON( jsonString: string, @@ -1417,21 +1498,19 @@ export const CreateFlagSegmentFeatureFlagsData$inboundSchema: z.ZodType< CreateFlagSegmentFeatureFlagsData, z.ZodTypeDef, unknown -> = z.object({ - exclude: types.optional( - z.record(z.record(z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exclude: types.optional(z.record(z.record(z.array(z.lazy(() => CreateFlagSegmentFeatureFlagsExclude$inboundSchema - )))), - ), - include: types.optional( - z.record(z.record(z.array(z.lazy(() => + ))))), + include: types.optional(z.record(z.record(z.array(z.lazy(() => CreateFlagSegmentFeatureFlagsInclude$inboundSchema - )))), - ), - rules: types.optional( - z.array(z.lazy(() => CreateFlagSegmentFeatureFlagsRules$inboundSchema)), - ), -}); + ))))), + rules: types.optional(z.array(z.lazy(() => + CreateFlagSegmentFeatureFlagsRules$inboundSchema + ))), + }) +); export function createFlagSegmentFeatureFlagsDataFromJSON( jsonString: string, @@ -1446,28 +1525,30 @@ export function createFlagSegmentFeatureFlagsDataFromJSON( /** @internal */ export const CreateFlagSegmentTypeName$inboundSchema: z.ZodNativeEnum< typeof CreateFlagSegmentTypeName -> = z.nativeEnum(CreateFlagSegmentTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateFlagSegmentTypeName)); /** @internal */ export const CreateFlagSegmentResponseBody$inboundSchema: z.ZodType< CreateFlagSegmentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - data: z.lazy(() => CreateFlagSegmentFeatureFlagsData$inboundSchema), - description: types.optional(types.string()), - hint: types.string(), - id: types.string(), - label: types.string(), - projectId: types.string(), - slug: types.string(), - typeName: CreateFlagSegmentTypeName$inboundSchema, - updatedAt: types.number(), - usedByFlags: types.optional(z.array(types.string())), - usedBySegments: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + data: z.lazy(() => CreateFlagSegmentFeatureFlagsData$inboundSchema), + description: types.optional(types.string()), + hint: types.string(), + id: types.string(), + label: types.string(), + projectId: types.string(), + slug: types.string(), + typeName: CreateFlagSegmentTypeName$inboundSchema, + updatedAt: types.number(), + usedByFlags: types.optional(z.array(types.string())), + usedBySegments: types.optional(z.array(types.string())), + }) +); export function createFlagSegmentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createflagsprojectconnectionop.ts b/src/models/createflagsprojectconnectionop.ts index 726135362c..ca2142f1a0 100644 --- a/src/models/createflagsprojectconnectionop.ts +++ b/src/models/createflagsprojectconnectionop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -51,9 +51,11 @@ export const CreateFlagsProjectConnectionRequestBody$outboundSchema: z.ZodType< CreateFlagsProjectConnectionRequestBody$Outbound, z.ZodTypeDef, CreateFlagsProjectConnectionRequestBody -> = z.object({ - consumerProjectId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumerProjectId: z.string(), + }) +); export function createFlagsProjectConnectionRequestBodyToJSON( createFlagsProjectConnectionRequestBody: @@ -79,18 +81,20 @@ export const CreateFlagsProjectConnectionRequest$outboundSchema: z.ZodType< CreateFlagsProjectConnectionRequest$Outbound, z.ZodTypeDef, CreateFlagsProjectConnectionRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateFlagsProjectConnectionRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateFlagsProjectConnectionRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createFlagsProjectConnectionRequestToJSON( createFlagsProjectConnectionRequest: CreateFlagsProjectConnectionRequest, @@ -107,14 +111,16 @@ export const CreateFlagsProjectConnectionResponseBody$inboundSchema: z.ZodType< CreateFlagsProjectConnectionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - consumerProjectId: types.string(), - consumerProjectName: types.string(), - createdAt: types.number(), - createdBy: types.string(), - sourceProjectId: types.string(), - sourceProjectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumerProjectId: types.string(), + consumerProjectName: types.string(), + createdAt: types.number(), + createdBy: types.string(), + sourceProjectId: types.string(), + sourceProjectName: types.string(), + }) +); export function createFlagsProjectConnectionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.ts b/src/models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.ts index ff23363cbb..e0c65045fa 100644 --- a/src/models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.ts +++ b/src/models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory = @@ -51,8 +52,10 @@ export type CreateInstallationsByIntegrationConfigurationIdResourcesByResourceId export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory$outboundSchema: z.ZodNativeEnum< typeof CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory - > = z.nativeEnum( - CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory, + ) ); /** @internal */ @@ -75,19 +78,21 @@ export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceI CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsItems$Outbound, z.ZodTypeDef, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsItems - > = z.object({ - id: z.string(), - slug: z.string(), - origin: z.string(), - category: - CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory$outboundSchema - .optional(), - name: z.string().optional(), - description: z.string().optional(), - isArchived: z.boolean().optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + slug: z.string(), + origin: z.string(), + category: + CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsCategory$outboundSchema + .optional(), + name: z.string().optional(), + description: z.string().optional(), + isArchived: z.boolean().optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + }) + ); export function createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsItemsToJSON( createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsItems: @@ -115,13 +120,13 @@ export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceI CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBody$Outbound, z.ZodTypeDef, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBody - > = z.object({ - items: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(z.lazy(() => CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsItems$outboundSchema - ), - ), - }); + )), + }) + ); export function createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBodyToJSON( createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBody: @@ -151,17 +156,19 @@ export const CreateInstallationsByIntegrationConfigurationIdResourcesByResourceI CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest$Outbound, z.ZodTypeDef, CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => - CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => + CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequestToJSON( createInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest: diff --git a/src/models/createintegrationstoredirecthiddenintegrationsresponse2003.ts b/src/models/createintegrationstoredirecthiddenintegrationsresponse2003.ts index 7a7bde8dac..d50537c988 100644 --- a/src/models/createintegrationstoredirecthiddenintegrationsresponse2003.ts +++ b/src/models/createintegrationstoredirecthiddenintegrationsresponse2003.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1392,13 +1392,15 @@ export const CreateIntegrationStoreDirectMetadata$outboundSchema: z.ZodType< CreateIntegrationStoreDirectMetadata$Outbound, z.ZodTypeDef, CreateIntegrationStoreDirectMetadata -> = smartUnion([ - z.string(), - z.number(), - z.boolean(), - z.array(z.string()), - z.array(z.number()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.string(), + z.number(), + z.boolean(), + z.array(z.string()), + z.array(z.number()), + ]) +); export function createIntegrationStoreDirectMetadataToJSON( createIntegrationStoreDirectMetadata: CreateIntegrationStoreDirectMetadata, @@ -1413,7 +1415,9 @@ export function createIntegrationStoreDirectMetadataToJSON( /** @internal */ export const CreateIntegrationStoreDirectSource$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectSource -> = z.nativeEnum(CreateIntegrationStoreDirectSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectSource) +); /** @internal */ export type CreateIntegrationStoreDirectRequestBody$Outbound = { @@ -1436,28 +1440,30 @@ export const CreateIntegrationStoreDirectRequestBody$outboundSchema: z.ZodType< CreateIntegrationStoreDirectRequestBody$Outbound, z.ZodTypeDef, CreateIntegrationStoreDirectRequestBody -> = z.object({ - name: z.string(), - integrationConfigurationId: z.string(), - integrationProductIdOrSlug: z.any().optional(), - metadata: z.record( - smartUnion([ - z.string(), - z.number(), - z.boolean(), - z.array(z.string()), - z.array(z.number()), - ]), - ).optional(), - externalId: z.string().optional(), - protocolSettings: z.record(z.any()).optional(), - source: CreateIntegrationStoreDirectSource$outboundSchema.default( - "marketplace", - ), - billingPlanId: z.string().optional(), - paymentMethodId: z.string().optional(), - prepaymentAmountCents: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.any().optional(), + metadata: z.record( + smartUnion([ + z.string(), + z.number(), + z.boolean(), + z.array(z.string()), + z.array(z.number()), + ]), + ).optional(), + externalId: z.string().optional(), + protocolSettings: z.record(z.any()).optional(), + source: CreateIntegrationStoreDirectSource$outboundSchema.default( + "marketplace", + ), + billingPlanId: z.string().optional(), + paymentMethodId: z.string().optional(), + prepaymentAmountCents: z.number().optional(), + }) +); export function createIntegrationStoreDirectRequestBodyToJSON( createIntegrationStoreDirectRequestBody: @@ -1482,17 +1488,19 @@ export const CreateIntegrationStoreDirectRequest$outboundSchema: z.ZodType< CreateIntegrationStoreDirectRequest$Outbound, z.ZodTypeDef, CreateIntegrationStoreDirectRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateIntegrationStoreDirectRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateIntegrationStoreDirectRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createIntegrationStoreDirectRequestToJSON( createIntegrationStoreDirectRequest: CreateIntegrationStoreDirectRequest, @@ -1506,25 +1514,29 @@ export function createIntegrationStoreDirectRequestToJSON( /** @internal */ export const CreateIntegrationStoreDirectProviders2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectProviders2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectProviders2) + ); /** @internal */ export const CreateIntegrationStoreDirectProviders1$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectProviders1, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectProviders1) + ); /** @internal */ export const CreateIntegrationStoreDirectProviders$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProviders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateIntegrationStoreDirectProviders1$inboundSchema), - CreateIntegrationStoreDirectProviders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateIntegrationStoreDirectProviders1$inboundSchema), + CreateIntegrationStoreDirectProviders2$inboundSchema, + ]) +); export function createIntegrationStoreDirectProvidersFromJSON( jsonString: string, @@ -1542,14 +1554,16 @@ export const CreateIntegrationStoreDirectGit$inboundSchema: z.ZodType< CreateIntegrationStoreDirectGit, z.ZodTypeDef, unknown -> = z.object({ - owners: types.optional(z.array(types.string())), - providers: smartUnion([ - z.array(CreateIntegrationStoreDirectProviders1$inboundSchema), - CreateIntegrationStoreDirectProviders2$inboundSchema, - ]), - repos: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owners: types.optional(z.array(types.string())), + providers: smartUnion([ + z.array(CreateIntegrationStoreDirectProviders1$inboundSchema), + CreateIntegrationStoreDirectProviders2$inboundSchema, + ]), + repos: types.optional(z.array(types.string())), + }) +); export function createIntegrationStoreDirectGitFromJSON( jsonString: string, @@ -1566,11 +1580,13 @@ export const CreateIntegrationStoreDirectProjectFilter$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProjectFilter, z.ZodTypeDef, unknown -> = z.object({ - git: types.optional( - z.lazy(() => CreateIntegrationStoreDirectGit$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + git: types.optional( + z.lazy(() => CreateIntegrationStoreDirectGit$inboundSchema), + ), + }) +); export function createIntegrationStoreDirectProjectFilterFromJSON( jsonString: string, @@ -1593,10 +1609,12 @@ export const CreateIntegrationStoreDirectActions$inboundSchema: z.ZodType< CreateIntegrationStoreDirectActions, z.ZodTypeDef, unknown -> = z.object({ - environments: z.array(types.string()), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(types.string()), + slug: types.string(), + }) +); export function createIntegrationStoreDirectActionsFromJSON( jsonString: string, @@ -1614,12 +1632,14 @@ export const CreateIntegrationStoreDirectDeployments$inboundSchema: z.ZodType< CreateIntegrationStoreDirectDeployments, z.ZodTypeDef, unknown -> = z.object({ - actions: z.array( - z.lazy(() => CreateIntegrationStoreDirectActions$inboundSchema), - ), - required: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: z.array( + z.lazy(() => CreateIntegrationStoreDirectActions$inboundSchema), + ), + required: types.boolean(), + }) +); export function createIntegrationStoreDirectDeploymentsFromJSON( jsonString: string, @@ -1639,9 +1659,10 @@ export function createIntegrationStoreDirectDeploymentsFromJSON( /** @internal */ export const CreateIntegrationStoreDirectFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectFramework) + ); /** @internal */ export const CreateIntegrationStoreDirectProjectsMetadata$inboundSchema: @@ -1649,22 +1670,24 @@ export const CreateIntegrationStoreDirectProjectsMetadata$inboundSchema: CreateIntegrationStoreDirectProjectsMetadata, z.ZodTypeDef, unknown - > = z.object({ - deployments: types.optional( - z.lazy(() => CreateIntegrationStoreDirectDeployments$inboundSchema), - ), - environments: z.array(types.string()), - environmentVariables: z.array(types.string()), - envVarPrefix: types.nullable(types.string()), - framework: z.nullable(CreateIntegrationStoreDirectFramework$inboundSchema) - .optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - makeEnvVarsSensitive: types.optional(types.boolean()), - name: types.string(), - projectId: types.string(), - secretsOutdated: types.optional(types.literal(true)), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployments: types.optional( + z.lazy(() => CreateIntegrationStoreDirectDeployments$inboundSchema), + ), + environments: z.array(types.string()), + environmentVariables: z.array(types.string()), + envVarPrefix: types.nullable(types.string()), + framework: z.nullable(CreateIntegrationStoreDirectFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + makeEnvVarsSensitive: types.optional(types.boolean()), + name: types.string(), + projectId: types.string(), + secretsOutdated: types.optional(types.literal(true)), + }) + ); export function createIntegrationStoreDirectProjectsMetadataFromJSON( jsonString: string, @@ -1685,17 +1708,21 @@ export function createIntegrationStoreDirectProjectsMetadataFromJSON( /** @internal */ export const CreateIntegrationStoreDirectStatus$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectStatus -> = z.nativeEnum(CreateIntegrationStoreDirectStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectStatus) +); /** @internal */ export const CreateIntegrationStoreDirectDetails$inboundSchema: z.ZodType< CreateIntegrationStoreDirectDetails, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.optional(types.string()), + }) +); export function createIntegrationStoreDirectDetailsFromJSON( jsonString: string, @@ -1714,10 +1741,12 @@ export const CreateIntegrationStoreDirectHighlightedDetails$inboundSchema: CreateIntegrationStoreDirectHighlightedDetails, z.ZodTypeDef, unknown - > = z.object({ - label: types.string(), - value: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.optional(types.string()), + }) + ); export function createIntegrationStoreDirectHighlightedDetailsFromJSON( jsonString: string, @@ -1740,10 +1769,12 @@ export const CreateIntegrationStoreDirectQuote$inboundSchema: z.ZodType< CreateIntegrationStoreDirectQuote, z.ZodTypeDef, unknown -> = z.object({ - amount: types.string(), - line: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + line: types.string(), + }) +); export function createIntegrationStoreDirectQuoteFromJSON( jsonString: string, @@ -1758,46 +1789,50 @@ export function createIntegrationStoreDirectQuoteFromJSON( /** @internal */ export const CreateIntegrationStoreDirectScope$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectScope -> = z.nativeEnum(CreateIntegrationStoreDirectScope); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectScope) +); /** @internal */ export const CreateIntegrationStoreDirectType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectType -> = z.nativeEnum(CreateIntegrationStoreDirectType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectType) +); /** @internal */ export const CreateIntegrationStoreDirectBillingPlan$inboundSchema: z.ZodType< CreateIntegrationStoreDirectBillingPlan, z.ZodTypeDef, unknown -> = z.object({ - cost: types.optional(types.string()), - description: types.string(), - details: types.optional( - z.array(z.lazy(() => CreateIntegrationStoreDirectDetails$inboundSchema)), - ), - disabled: types.optional(types.boolean()), - disabledReason: types.optional(types.string()), - effectiveDate: types.optional(types.string()), - highlightedDetails: types.optional( - z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cost: types.optional(types.string()), + description: types.string(), + details: types.optional( + z.array(z.lazy(() => CreateIntegrationStoreDirectDetails$inboundSchema)), + ), + disabled: types.optional(types.boolean()), + disabledReason: types.optional(types.string()), + effectiveDate: types.optional(types.string()), + highlightedDetails: types.optional(z.array(z.lazy(() => CreateIntegrationStoreDirectHighlightedDetails$inboundSchema - )), - ), - id: types.string(), - initialCharge: types.optional(types.string()), - maximumAmount: types.optional(types.string()), - maximumAmountAutoPurchasePerPeriod: types.optional(types.string()), - minimumAmount: types.optional(types.string()), - name: types.string(), - paymentMethodRequired: types.boolean(), - preauthorizationAmount: types.optional(types.number()), - quote: types.optional( - z.array(z.lazy(() => CreateIntegrationStoreDirectQuote$inboundSchema)), - ), - scope: CreateIntegrationStoreDirectScope$inboundSchema, - type: CreateIntegrationStoreDirectType$inboundSchema, -}); + ))), + id: types.string(), + initialCharge: types.optional(types.string()), + maximumAmount: types.optional(types.string()), + maximumAmountAutoPurchasePerPeriod: types.optional(types.string()), + minimumAmount: types.optional(types.string()), + name: types.string(), + paymentMethodRequired: types.boolean(), + preauthorizationAmount: types.optional(types.number()), + quote: types.optional(z.array(z.lazy(() => + CreateIntegrationStoreDirectQuote$inboundSchema + ))), + scope: CreateIntegrationStoreDirectScope$inboundSchema, + type: CreateIntegrationStoreDirectType$inboundSchema, + }) +); export function createIntegrationStoreDirectBillingPlanFromJSON( jsonString: string, @@ -1818,17 +1853,19 @@ export function createIntegrationStoreDirectBillingPlanFromJSON( /** @internal */ export const CredentialTypesTransitions$inboundSchema: z.ZodNativeEnum< typeof CredentialTypesTransitions -> = z.nativeEnum(CredentialTypesTransitions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CredentialTypesTransitions)); /** @internal */ export const SecretRotation1$inboundSchema: z.ZodType< SecretRotation1, z.ZodTypeDef, unknown -> = z.object({ - customRotationWarning: types.optional(types.string()), - maxDelayHours: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customRotationWarning: types.optional(types.string()), + maxDelayHours: types.number(), + }) +); export function secretRotation1FromJSON( jsonString: string, @@ -1845,7 +1882,9 @@ export const SecretRotation$inboundSchema: z.ZodType< SecretRotation, z.ZodTypeDef, unknown -> = smartUnion([z.lazy(() => SecretRotation1$inboundSchema), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => SecretRotation1$inboundSchema), types.boolean()]) +); export function secretRotationFromJSON( jsonString: string, @@ -1862,24 +1901,29 @@ export const Capabilities$inboundSchema: z.ZodType< Capabilities, z.ZodTypeDef, unknown -> = z.object({ - agentTools: types.optional(types.boolean()), - autoSensitive: types.optional(types.boolean()), - billable: types.optional(types.boolean()), - credentialTypesTransitions: types.optional( - z.array(z.array(CredentialTypesTransitions$inboundSchema)), - ), - mcp: types.optional(types.boolean()), - mcpReadonly: types.optional(types.boolean()), - projects: types.optional(types.boolean()), - secretRotation: types.optional( - smartUnion([z.lazy(() => SecretRotation1$inboundSchema), types.boolean()]), - ), - secretsSync: types.optional(types.boolean()), - sso: types.optional(types.boolean()), - transferable: types.optional(types.boolean()), - v0: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + agentTools: types.optional(types.boolean()), + autoSensitive: types.optional(types.boolean()), + billable: types.optional(types.boolean()), + credentialTypesTransitions: types.optional( + z.array(z.array(CredentialTypesTransitions$inboundSchema)), + ), + mcp: types.optional(types.boolean()), + mcpReadonly: types.optional(types.boolean()), + projects: types.optional(types.boolean()), + secretRotation: types.optional( + smartUnion([ + z.lazy(() => SecretRotation1$inboundSchema), + types.boolean(), + ]), + ), + secretsSync: types.optional(types.boolean()), + sso: types.optional(types.boolean()), + transferable: types.optional(types.boolean()), + v0: types.optional(types.boolean()), + }) +); export function capabilitiesFromJSON( jsonString: string, @@ -1893,24 +1937,30 @@ export function capabilitiesFromJSON( /** @internal */ export const CreateIntegrationStoreDirectCredentialTypes$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectCredentialTypes); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectCredentialTypes) + ); /** @internal */ export const CreateIntegrationStoreDirectTo$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTo -> = z.nativeEnum(CreateIntegrationStoreDirectTo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectTo) +); /** @internal */ export const CredentialTypesTransition$inboundSchema: z.ZodType< CredentialTypesTransition, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - requestedAt: types.number(), - to: z.array(CreateIntegrationStoreDirectTo$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + requestedAt: types.number(), + to: z.array(CreateIntegrationStoreDirectTo$inboundSchema), + }) +); export function credentialTypesTransitionFromJSON( jsonString: string, @@ -1925,7 +1975,7 @@ export function credentialTypesTransitionFromJSON( /** @internal */ export const ExternalResourceStatus$inboundSchema: z.ZodNativeEnum< typeof ExternalResourceStatus -> = z.nativeEnum(ExternalResourceStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ExternalResourceStatus)); /** @internal */ export const CreateIntegrationStoreDirectIntegrationsMetadata$inboundSchema: @@ -1933,13 +1983,15 @@ export const CreateIntegrationStoreDirectIntegrationsMetadata$inboundSchema: CreateIntegrationStoreDirectIntegrationsMetadata, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - z.array(types.number()), - types.boolean(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + z.array(types.number()), + types.boolean(), + ]) + ); export function createIntegrationStoreDirectIntegrationsMetadataFromJSON( jsonString: string, @@ -1960,19 +2012,23 @@ export function createIntegrationStoreDirectIntegrationsMetadataFromJSON( /** @internal */ export const CreateIntegrationStoreDirectLevel$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectLevel -> = z.nativeEnum(CreateIntegrationStoreDirectLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectLevel) +); /** @internal */ export const CreateIntegrationStoreDirectNotification$inboundSchema: z.ZodType< CreateIntegrationStoreDirectNotification, z.ZodTypeDef, unknown -> = z.object({ - href: types.optional(types.string()), - level: CreateIntegrationStoreDirectLevel$inboundSchema, - message: types.optional(types.string()), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.optional(types.string()), + level: CreateIntegrationStoreDirectLevel$inboundSchema, + message: types.optional(types.string()), + title: types.string(), + }) +); export function createIntegrationStoreDirectNotificationFromJSON( jsonString: string, @@ -1992,9 +2048,10 @@ export function createIntegrationStoreDirectNotificationFromJSON( /** @internal */ export const CreateIntegrationStoreDirectOwnership$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectOwnership, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectOwnership) + ); /** @internal */ export const CreateIntegrationStoreDirectSecretRotation1$inboundSchema: @@ -2002,10 +2059,12 @@ export const CreateIntegrationStoreDirectSecretRotation1$inboundSchema: CreateIntegrationStoreDirectSecretRotation1, z.ZodTypeDef, unknown - > = z.object({ - customRotationWarning: types.optional(types.string()), - maxDelayHours: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + customRotationWarning: types.optional(types.string()), + maxDelayHours: types.number(), + }) + ); export function createIntegrationStoreDirectSecretRotation1FromJSON( jsonString: string, @@ -2026,10 +2085,12 @@ export function createIntegrationStoreDirectSecretRotation1FromJSON( /** @internal */ export const CreateIntegrationStoreDirectSecretRotation$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectSecretRotation1$inboundSchema), - types.boolean(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectSecretRotation1$inboundSchema), + types.boolean(), + ]) + ); export function createIntegrationStoreDirectSecretRotationFromJSON( jsonString: string, @@ -2052,31 +2113,31 @@ export const CreateIntegrationStoreDirectCapabilities$inboundSchema: z.ZodType< CreateIntegrationStoreDirectCapabilities, z.ZodTypeDef, unknown -> = z.object({ - agentTools: types.optional(types.boolean()), - autoSensitive: types.optional(types.boolean()), - billable: types.optional(types.boolean()), - connectedImportResource: types.optional(types.boolean()), - databaseUI: types.optional(types.boolean()), - importResource: types.optional(types.boolean()), - linking: types.optional(types.boolean()), - mcp: types.optional(types.boolean()), - mcpReadonly: types.optional(types.boolean()), - nativeImportResource: types.optional(types.boolean()), - projects: types.optional(types.boolean()), - sandbox: types.optional(types.boolean()), - secretRotation: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + agentTools: types.optional(types.boolean()), + autoSensitive: types.optional(types.boolean()), + billable: types.optional(types.boolean()), + connectedImportResource: types.optional(types.boolean()), + databaseUI: types.optional(types.boolean()), + importResource: types.optional(types.boolean()), + linking: types.optional(types.boolean()), + mcp: types.optional(types.boolean()), + mcpReadonly: types.optional(types.boolean()), + nativeImportResource: types.optional(types.boolean()), + projects: types.optional(types.boolean()), + sandbox: types.optional(types.boolean()), + secretRotation: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectSecretRotation1$inboundSchema), types.boolean(), - ]), - ), - secretsSync: types.optional(types.boolean()), - sso: types.optional(types.boolean()), - transferable: types.optional(types.boolean()), - v0: types.optional(types.boolean()), - v0Flavors: types.optional(types.boolean()), -}); + ])), + secretsSync: types.optional(types.boolean()), + sso: types.optional(types.boolean()), + transferable: types.optional(types.boolean()), + v0: types.optional(types.boolean()), + v0Flavors: types.optional(types.boolean()), + }) +); export function createIntegrationStoreDirectCapabilitiesFromJSON( jsonString: string, @@ -2097,22 +2158,26 @@ export function createIntegrationStoreDirectCapabilitiesFromJSON( /** @internal */ export const PropertiesGitProviders$inboundSchema: z.ZodNativeEnum< typeof PropertiesGitProviders -> = z.nativeEnum(PropertiesGitProviders); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PropertiesGitProviders)); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl, + ) ); /** @internal */ @@ -2121,9 +2186,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties122, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties122FromJSON( jsonString: string, @@ -2146,12 +2213,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties122$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties122$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiDescriptionFromJSON( jsonString: string, @@ -2172,8 +2241,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + ) ); /** @internal */ @@ -2182,9 +2253,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121FromJSON( jsonString: string, @@ -2207,13 +2280,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiDisabledFromJSON( jsonString: string, @@ -2236,9 +2311,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiFormattedValueFromJSON( jsonString: string, @@ -2259,8 +2336,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + ) ); /** @internal */ @@ -2269,9 +2348,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121FromJSON( jsonString: string, @@ -2294,13 +2375,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiHiddenFromJSON( jsonString: string, @@ -2321,8 +2404,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123, + ) ); /** @internal */ @@ -2331,9 +2416,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121FromJSON( jsonString: string, @@ -2356,13 +2443,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiReadOnlyFromJSON( jsonString: string, @@ -2384,72 +2473,64 @@ export const CreateIntegrationStoreDirectProperties12$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties12, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - "git:providers": types.optional( - z.array(PropertiesGitProviders$inboundSchema), - ), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + "git:providers": types.optional( + z.array(PropertiesGitProviders$inboundSchema), + ), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12Type$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties122$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema12UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties121$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties123$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "git:providers": "gitProviders", - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "git:providers": "gitProviders", + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties12FromJSON( jsonString: string, @@ -2471,16 +2552,20 @@ export function createIntegrationStoreDirectProperties12FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl, + ) ); /** @internal */ @@ -2489,9 +2574,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties112, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties112FromJSON( jsonString: string, @@ -2514,12 +2601,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties112$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties112$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiDescriptionFromJSON( jsonString: string, @@ -2540,8 +2629,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + ) ); /** @internal */ @@ -2550,9 +2641,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111FromJSON( jsonString: string, @@ -2575,13 +2668,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiDisabledFromJSON( jsonString: string, @@ -2604,9 +2699,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiFormattedValueFromJSON( jsonString: string, @@ -2627,8 +2724,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + ) ); /** @internal */ @@ -2637,9 +2736,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111FromJSON( jsonString: string, @@ -2662,13 +2763,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiHiddenFromJSON( jsonString: string, @@ -2689,8 +2792,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113, + ) ); /** @internal */ @@ -2699,9 +2804,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111FromJSON( jsonString: string, @@ -2724,13 +2831,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiReadOnlyFromJSON( jsonString: string, @@ -2752,73 +2861,65 @@ export const CreateIntegrationStoreDirectProperties11$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties11, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11Type$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties112$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema11UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties111$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties113$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties11FromJSON( jsonString: string, @@ -2840,16 +2941,20 @@ export function createIntegrationStoreDirectProperties11FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl, + ) ); /** @internal */ @@ -2858,9 +2963,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties2FromJSON( jsonString: string, @@ -2883,12 +2990,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiDescriptionFromJSON( jsonString: string, @@ -2909,8 +3018,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + ) ); /** @internal */ @@ -2919,9 +3030,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1FromJSON( jsonString: string, @@ -2944,13 +3057,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiDisabledFromJSON( jsonString: string, @@ -2973,9 +3088,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiFormattedValueFromJSON( jsonString: string, @@ -2996,8 +3113,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + ) ); /** @internal */ @@ -3006,9 +3125,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1FromJSON( jsonString: string, @@ -3031,13 +3152,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiHiddenFromJSON( jsonString: string, @@ -3058,8 +3181,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + ) ); /** @internal */ @@ -3068,9 +3193,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1FromJSON( jsonString: string, @@ -3093,13 +3220,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Applica CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONResponseBodyDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONResponseBodyDisabledFromJSON( jsonString: string, @@ -3120,8 +3249,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200Appl export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3 - > = z.nativeEnum( - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + ) ); /** @internal */ @@ -3130,9 +3261,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1FromJSON( jsonString: string, @@ -3155,13 +3288,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Applica CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONResponseBodyHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONResponseBodyHiddenFromJSON( jsonString: string, @@ -3184,28 +3319,26 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse3$inboundS CreateIntegrationStoreDirectUiOptionsIntegrationsResponse3, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]), - ), - value: types.string(), - }); + ])), + value: types.string(), + }) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse3FromJSON( jsonString: string, @@ -3226,8 +3359,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsResponse3FromJS export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + ) ); /** @internal */ @@ -3236,9 +3371,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1FromJSON( jsonString: string, @@ -3261,13 +3398,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Applica CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONDisabledFromJSON( jsonString: string, @@ -3288,8 +3427,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200Appl export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 - > = z.nativeEnum( - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + ) ); /** @internal */ @@ -3298,9 +3439,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1FromJSON( jsonString: string, @@ -3323,13 +3466,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Applica CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200ApplicationJSONHiddenFromJSON( jsonString: string, @@ -3352,29 +3497,27 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse1$inboundS CreateIntegrationStoreDirectUiOptionsIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse1FromJSON( jsonString: string, @@ -3397,15 +3540,17 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiOptionsIntegrationsResponse1$inboundSchema - ), - z.lazy(() => - CreateIntegrationStoreDirectUiOptionsIntegrationsResponse3$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiOptionsIntegrationsResponse1$inboundSchema + ), + z.lazy(() => + CreateIntegrationStoreDirectUiOptionsIntegrationsResponse3$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiOptionsFromJSON( jsonString: string, @@ -3426,8 +3571,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3, + ) ); /** @internal */ @@ -3436,9 +3583,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1FromJSON( jsonString: string, @@ -3461,13 +3610,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiReadOnlyFromJSON( jsonString: string, @@ -3489,51 +3640,43 @@ export const CreateIntegrationStoreDirectProperties10$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties10, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10Type$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema10UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiOptionsIntegrationsResponse1$inboundSchema ), @@ -3541,33 +3684,31 @@ export const CreateIntegrationStoreDirectProperties10$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiOptionsIntegrationsResponse3$inboundSchema ), types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaProperties3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties10FromJSON( jsonString: string, @@ -3589,8 +3730,10 @@ export function createIntegrationStoreDirectProperties10FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type, + ) ); /** @internal */ @@ -3599,16 +3742,18 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseItems$inb CreateIntegrationStoreDirectPropertiesIntegrationsResponseItems, z.ZodTypeDef, unknown - > = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9Type$inboundSchema, + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseItemsFromJSON( jsonString: string, @@ -3629,16 +3774,20 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseItemsF export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl, + ) ); /** @internal */ @@ -3647,9 +3796,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema2FromJSON( jsonString: string, @@ -3672,12 +3823,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiDescriptionFromJSON( jsonString: string, @@ -3698,8 +3851,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + ) ); /** @internal */ @@ -3708,9 +3863,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1FromJSON( jsonString: string, @@ -3733,13 +3890,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiDisabledFromJSON( jsonString: string, @@ -3762,9 +3921,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiFormattedValueFromJSON( jsonString: string, @@ -3785,8 +3946,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + ) ); /** @internal */ @@ -3795,9 +3958,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1FromJSON( jsonString: string, @@ -3820,13 +3985,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiHiddenFromJSON( jsonString: string, @@ -3847,8 +4014,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3, + ) ); /** @internal */ @@ -3857,9 +4026,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1FromJSON( jsonString: string, @@ -3882,13 +4053,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Disable CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Disabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200DisabledFromJSON( jsonString: string, @@ -3909,8 +4082,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200Disa export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3 - > = z.nativeEnum( - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3, + ) ); /** @internal */ @@ -3919,9 +4094,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1FromJSON( jsonString: string, @@ -3944,13 +4121,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Hidden$ CreateIntegrationStoreDirectUiOptionsIntegrationsResponse200Hidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponse200HiddenFromJSON( jsonString: string, @@ -3973,28 +4152,26 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrations3$inboundSchema: CreateIntegrationStoreDirectUiOptionsIntegrations3, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]), - ), - value: types.string(), - }); + ])), + value: types.string(), + }) + ); export function createIntegrationStoreDirectUiOptionsIntegrations3FromJSON( jsonString: string, @@ -4016,8 +4193,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrations3FromJSON( export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -4026,9 +4205,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -4051,13 +4232,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponseDisabled$i CreateIntegrationStoreDirectUiOptionsIntegrationsResponseDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponseDisabledFromJSON( jsonString: string, @@ -4078,8 +4261,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsResponseDisable export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -4088,9 +4273,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -4113,13 +4300,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsResponseHidden$inb CreateIntegrationStoreDirectUiOptionsIntegrationsResponseHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsResponseHiddenFromJSON( jsonString: string, @@ -4142,29 +4331,27 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrations1$inboundSchema: CreateIntegrationStoreDirectUiOptionsIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function createIntegrationStoreDirectUiOptionsIntegrations1FromJSON( jsonString: string, @@ -4188,15 +4375,17 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiOptionsIntegrations1$inboundSchema - ), - z.lazy(() => - CreateIntegrationStoreDirectUiOptionsIntegrations3$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiOptionsIntegrations1$inboundSchema + ), + z.lazy(() => + CreateIntegrationStoreDirectUiOptionsIntegrations3$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiOptionsFromJSON( jsonString: string, @@ -4217,8 +4406,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3, + ) ); /** @internal */ @@ -4227,9 +4418,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1FromJSON( jsonString: string, @@ -4252,13 +4445,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiReadOnlyFromJSON( jsonString: string, @@ -4280,53 +4475,45 @@ export const CreateIntegrationStoreDirectProperties9$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties9, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.string())), - description: types.optional(types.string()), - example: types.optional(z.array(types.string())), - items: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponseItems$inboundSchema - ), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.string())), + description: types.optional(types.string()), + example: types.optional(z.array(types.string())), + items: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponseItems$inboundSchema + ), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiOptionsIntegrations1$inboundSchema ), @@ -4334,33 +4521,31 @@ export const CreateIntegrationStoreDirectProperties9$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiOptionsIntegrations3$inboundSchema ), types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties9FromJSON( jsonString: string, @@ -4382,16 +4567,20 @@ export function createIntegrationStoreDirectProperties9FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl, + ) ); /** @internal */ @@ -4400,9 +4589,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2FromJSON( jsonString: string, @@ -4425,12 +4616,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescriptionFromJSON( jsonString: string, @@ -4451,8 +4644,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + ) ); /** @internal */ @@ -4461,9 +4656,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1FromJSON( jsonString: string, @@ -4486,13 +4683,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabledFromJSON( jsonString: string, @@ -4515,9 +4714,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValueFromJSON( jsonString: string, @@ -4538,8 +4739,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + ) ); /** @internal */ @@ -4548,9 +4751,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1FromJSON( jsonString: string, @@ -4573,13 +4778,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHiddenFromJSON( jsonString: string, @@ -4600,8 +4807,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -4610,9 +4819,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -4635,13 +4846,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$inboundSc CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsDisabledFromJSON( jsonString: string, @@ -4662,8 +4875,10 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsDisabledFromJSO export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -4672,9 +4887,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -4697,13 +4914,15 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$inboundSche CreateIntegrationStoreDirectUiOptionsIntegrationsHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsIntegrationsHiddenFromJSON( jsonString: string, @@ -4725,28 +4944,26 @@ export const CreateIntegrationStoreDirectUiOptions3$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiOptions3, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - value: types.string(), -}); + ])), + value: types.string(), + }) +); export function createIntegrationStoreDirectUiOptions3FromJSON( jsonString: string, @@ -4763,8 +4980,8 @@ export function createIntegrationStoreDirectUiOptions3FromJSON( export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse2003 - > = z.nativeEnum( - CreateIntegrationStoreDirectDisabledIntegrationsResponse2003, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectDisabledIntegrationsResponse2003) ); /** @internal */ @@ -4773,9 +4990,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2001$inboun CreateIntegrationStoreDirectDisabledIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse2001FromJSON( jsonString: string, @@ -4798,13 +5017,15 @@ export const CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema: CreateIntegrationStoreDirectUiOptionsDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsDisabledFromJSON( jsonString: string, @@ -4826,4 +5047,6 @@ export function createIntegrationStoreDirectUiOptionsDisabledFromJSON( export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse2003 - > = z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse2003) + ); diff --git a/src/models/createintegrationstoredirectresponsebody.ts b/src/models/createintegrationstoredirectresponsebody.ts index 03cb4507e5..26e7ed9fab 100644 --- a/src/models/createintegrationstoredirectresponsebody.ts +++ b/src/models/createintegrationstoredirectresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -292,10 +292,12 @@ export const CreateIntegrationStoreDirectSecretRotationIntegrations1$inboundSche CreateIntegrationStoreDirectSecretRotationIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - customRotationWarning: types.optional(types.string()), - maxDelayHours: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + customRotationWarning: types.optional(types.string()), + maxDelayHours: types.number(), + }) + ); export function createIntegrationStoreDirectSecretRotationIntegrations1FromJSON( jsonString: string, @@ -318,12 +320,14 @@ export const CreateIntegrationStoreDirectIntegrationsSecretRotation$inboundSchem CreateIntegrationStoreDirectIntegrationsSecretRotation, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectSecretRotationIntegrations1$inboundSchema - ), - types.boolean(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectSecretRotationIntegrations1$inboundSchema + ), + types.boolean(), + ]) + ); export function createIntegrationStoreDirectIntegrationsSecretRotationFromJSON( jsonString: string, @@ -346,37 +350,37 @@ export const CreateIntegrationStoreDirectIntegrationsCapabilities$inboundSchema: CreateIntegrationStoreDirectIntegrationsCapabilities, z.ZodTypeDef, unknown - > = z.object({ - billable: types.optional(types.boolean()), - checks: types.optional(types.boolean()), - connectedImportResource: types.optional(types.boolean()), - connectedProvisioning: types.optional(types.boolean()), - credentialTypesCreate: types.optional( - z.array(z.array(CredentialTypesCreate$inboundSchema)), - ), - flexCommitEligible: types.optional(types.boolean()), - importResource: types.optional(types.boolean()), - maxAllowedTeams: types.optional(types.number()), - mcp: types.optional(types.boolean()), - mcpConfiguration: types.optional(types.boolean()), - mcpReadonly: types.optional(types.boolean()), - nativeImportResource: types.optional(types.boolean()), - provisioning: types.optional(types.boolean()), - requiresBrowserInstall: types.optional(types.boolean()), - secretRotation: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + billable: types.optional(types.boolean()), + checks: types.optional(types.boolean()), + connectedImportResource: types.optional(types.boolean()), + connectedProvisioning: types.optional(types.boolean()), + credentialTypesCreate: types.optional( + z.array(z.array(CredentialTypesCreate$inboundSchema)), + ), + flexCommitEligible: types.optional(types.boolean()), + importResource: types.optional(types.boolean()), + maxAllowedTeams: types.optional(types.number()), + mcp: types.optional(types.boolean()), + mcpConfiguration: types.optional(types.boolean()), + mcpReadonly: types.optional(types.boolean()), + nativeImportResource: types.optional(types.boolean()), + provisioning: types.optional(types.boolean()), + requiresBrowserInstall: types.optional(types.boolean()), + secretRotation: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectSecretRotationIntegrations1$inboundSchema ), types.boolean(), - ]), - ), - sso: types.optional(types.boolean()), - templateCloneOnly: types.optional(types.boolean()), - transferable: types.optional(types.boolean()), - updateConfiguration: types.optional(types.boolean()), - v0Flavors: types.optional(types.boolean()), - }); + ])), + sso: types.optional(types.boolean()), + templateCloneOnly: types.optional(types.boolean()), + transferable: types.optional(types.boolean()), + updateConfiguration: types.optional(types.boolean()), + v0Flavors: types.optional(types.boolean()), + }) + ); export function createIntegrationStoreDirectIntegrationsCapabilitiesFromJSON( jsonString: string, @@ -399,19 +403,19 @@ export const CreateIntegrationStoreDirectIntegration$inboundSchema: z.ZodType< CreateIntegrationStoreDirectIntegration, z.ZodTypeDef, unknown -> = z.object({ - capabilities: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + capabilities: types.optional(z.lazy(() => CreateIntegrationStoreDirectIntegrationsCapabilities$inboundSchema - ), - ), - flags: types.optional(z.array(types.string())), - icon: types.string(), - id: types.string(), - name: types.string(), - slug: types.string(), - supportsInstallationBillingPlans: types.optional(types.boolean()), -}); + )), + flags: types.optional(z.array(types.string())), + icon: types.string(), + id: types.string(), + name: types.string(), + slug: types.string(), + supportsInstallationBillingPlans: types.optional(types.boolean()), + }) +); export function createIntegrationStoreDirectIntegrationFromJSON( jsonString: string, @@ -432,55 +436,59 @@ export function createIntegrationStoreDirectIntegrationFromJSON( /** @internal */ export const LogDrainStatus$inboundSchema: z.ZodNativeEnum< typeof LogDrainStatus -> = z.nativeEnum(LogDrainStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(LogDrainStatus)); /** @internal */ export const CreateIntegrationStoreDirectPrimaryProtocol$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectPrimaryProtocol); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPrimaryProtocol) + ); /** @internal */ export const SupportedProtocols$inboundSchema: z.ZodNativeEnum< typeof SupportedProtocols -> = z.nativeEnum(SupportedProtocols); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SupportedProtocols)); /** @internal */ export const Product$inboundSchema: z.ZodType = - z.object({ - agentSkills: types.optional(z.array(types.string())), - capabilities: types.optional( - CreateIntegrationStoreDirectCapabilities$inboundSchema, - ), - disableResourceRenaming: types.optional(types.boolean()), - iconUrl: types.optional(types.string()), - id: types.optional(types.string()), - metadataSchema: types.optional( - CreateIntegrationStoreDirectMetadataSchema$inboundSchema, - ), - name: types.optional(types.string()), - projectConnectionScopes: types.optional( - z.array(ProjectConnectionScopes$inboundSchema), - ), - resourceLinks: types.optional(z.array(ResourceLinks$inboundSchema)), - resourceTitle: types.optional(types.string()), - shortDescription: types.optional(types.string()), - showSSOLinkOnProjectConnection: types.optional(types.boolean()), - slug: types.optional(types.string()), - tags: types.optional( - z.array(CreateIntegrationStoreDirectTags$inboundSchema), - ), - repl: types.optional(Repl$inboundSchema), - guides: types.optional(z.array(Guides$inboundSchema)), - integration: z.lazy(() => - CreateIntegrationStoreDirectIntegration$inboundSchema - ), - integrationConfigurationId: types.string(), - logDrainStatus: types.optional(LogDrainStatus$inboundSchema), - primaryProtocol: types.optional( - CreateIntegrationStoreDirectPrimaryProtocol$inboundSchema, - ), - supportedProtocols: z.array(SupportedProtocols$inboundSchema), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + agentSkills: types.optional(z.array(types.string())), + capabilities: types.optional( + CreateIntegrationStoreDirectCapabilities$inboundSchema, + ), + disableResourceRenaming: types.optional(types.boolean()), + iconUrl: types.optional(types.string()), + id: types.optional(types.string()), + metadataSchema: types.optional( + CreateIntegrationStoreDirectMetadataSchema$inboundSchema, + ), + name: types.optional(types.string()), + projectConnectionScopes: types.optional( + z.array(ProjectConnectionScopes$inboundSchema), + ), + resourceLinks: types.optional(z.array(ResourceLinks$inboundSchema)), + resourceTitle: types.optional(types.string()), + shortDescription: types.optional(types.string()), + showSSOLinkOnProjectConnection: types.optional(types.boolean()), + slug: types.optional(types.string()), + tags: types.optional( + z.array(CreateIntegrationStoreDirectTags$inboundSchema), + ), + repl: types.optional(Repl$inboundSchema), + guides: types.optional(z.array(Guides$inboundSchema)), + integration: z.lazy(() => + CreateIntegrationStoreDirectIntegration$inboundSchema + ), + integrationConfigurationId: types.string(), + logDrainStatus: types.optional(LogDrainStatus$inboundSchema), + primaryProtocol: types.optional( + CreateIntegrationStoreDirectPrimaryProtocol$inboundSchema, + ), + supportedProtocols: z.array(SupportedProtocols$inboundSchema), + }) + ); export function productFromJSON( jsonString: string, @@ -495,17 +503,21 @@ export function productFromJSON( /** @internal */ export const CreateIntegrationStoreDirectTarget$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTarget -> = z.nativeEnum(CreateIntegrationStoreDirectTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectTarget) +); /** @internal */ export const CreateIntegrationStoreDirectAppUrls$inboundSchema: z.ZodType< CreateIntegrationStoreDirectAppUrls, z.ZodTypeDef, unknown -> = z.object({ - target: CreateIntegrationStoreDirectTarget$inboundSchema, - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: CreateIntegrationStoreDirectTarget$inboundSchema, + url: types.string(), + }) +); export function createIntegrationStoreDirectAppUrlsFromJSON( jsonString: string, @@ -521,13 +533,13 @@ export function createIntegrationStoreDirectAppUrlsFromJSON( /** @internal */ export const CreateIntegrationStoreDirectAuthentication$inboundSchema: z.ZodType = - z.object({ - appUrls: types.optional( - z.array( - z.lazy(() => CreateIntegrationStoreDirectAppUrls$inboundSchema), - ), - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + appUrls: types.optional(z.array(z.lazy(() => + CreateIntegrationStoreDirectAppUrls$inboundSchema + ))), + }) + ); export function createIntegrationStoreDirectAuthenticationFromJSON( jsonString: string, @@ -551,13 +563,15 @@ export const CreateIntegrationStoreDirectExperimentation$inboundSchema: CreateIntegrationStoreDirectExperimentation, z.ZodTypeDef, unknown - > = z.object({ - edgeConfigId: types.optional(types.string()), - edgeConfigSyncingEnabled: types.optional(types.boolean()), - edgeConfigTokenId: types.optional(types.string()), - globalConfigId: types.optional(types.string()), - globalConfigSyncingEnabled: types.optional(types.boolean()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.optional(types.string()), + edgeConfigSyncingEnabled: types.optional(types.boolean()), + edgeConfigTokenId: types.optional(types.string()), + globalConfigId: types.optional(types.string()), + globalConfigSyncingEnabled: types.optional(types.boolean()), + }) + ); export function createIntegrationStoreDirectExperimentationFromJSON( jsonString: string, @@ -581,14 +595,16 @@ export const CreateIntegrationStoreDirectProtocolSettings$inboundSchema: CreateIntegrationStoreDirectProtocolSettings, z.ZodTypeDef, unknown - > = z.object({ - authentication: types.optional( - z.lazy(() => CreateIntegrationStoreDirectAuthentication$inboundSchema), - ), - experimentation: types.optional( - z.lazy(() => CreateIntegrationStoreDirectExperimentation$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + authentication: types.optional( + z.lazy(() => CreateIntegrationStoreDirectAuthentication$inboundSchema), + ), + experimentation: types.optional( + z.lazy(() => CreateIntegrationStoreDirectExperimentation$inboundSchema), + ), + }) + ); export function createIntegrationStoreDirectProtocolSettingsFromJSON( jsonString: string, @@ -611,13 +627,15 @@ export const CreateIntegrationStoreDirectSecrets$inboundSchema: z.ZodType< CreateIntegrationStoreDirectSecrets, z.ZodTypeDef, unknown -> = z.object({ - frameworkPublishable: types.optional(types.boolean()), - length: types.number(), - name: types.string(), - nonSensitive: types.optional(types.boolean()), - tokenSetKey: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + frameworkPublishable: types.optional(types.boolean()), + length: types.number(), + name: types.string(), + nonSensitive: types.optional(types.boolean()), + tokenSetKey: types.optional(types.string()), + }) +); export function createIntegrationStoreDirectSecretsFromJSON( jsonString: string, @@ -633,63 +651,67 @@ export function createIntegrationStoreDirectSecretsFromJSON( /** @internal */ export const CreateIntegrationStoreDirectTargets$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTargets -> = z.nativeEnum(CreateIntegrationStoreDirectTargets); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectTargets) +); /** @internal */ export const CreateIntegrationStoreDirectStore$inboundSchema: z.ZodType< CreateIntegrationStoreDirectStore, z.ZodTypeDef, unknown -> = z.object({ - projectFilter: types.optional( - CreateIntegrationStoreDirectProjectFilter$inboundSchema, - ), - projectsMetadata: z.array( - CreateIntegrationStoreDirectProjectsMetadata$inboundSchema, - ), - status: types.nullable(CreateIntegrationStoreDirectStatus$inboundSchema), - totalConnectedProjects: types.optional(types.number()), - usageQuotaExceeded: types.boolean(), - billingPlan: types.optional( - CreateIntegrationStoreDirectBillingPlan$inboundSchema, - ), - capabilities: types.optional(Capabilities$inboundSchema), - credentialTypes: types.optional( - z.array(CreateIntegrationStoreDirectCredentialTypes$inboundSchema), - ), - credentialTypesTransition: types.optional( - CredentialTypesTransition$inboundSchema, - ), - directPartnerConsoleUrl: types.optional(types.string()), - externalResourceId: types.string(), - externalResourceStatus: z.nullable(ExternalResourceStatus$inboundSchema) - .optional(), - metadata: types.optional( - z.record(CreateIntegrationStoreDirectIntegrationsMetadata$inboundSchema), - ), - notification: types.optional( - CreateIntegrationStoreDirectNotification$inboundSchema, - ), - ownership: types.optional( - CreateIntegrationStoreDirectOwnership$inboundSchema, - ), - parentId: types.optional(types.string()), - product: z.lazy(() => Product$inboundSchema), - protocolSettings: types.optional( - z.lazy(() => CreateIntegrationStoreDirectProtocolSettings$inboundSchema), - ), - secretRotationCompletedAt: types.optional(types.number()), - secretRotationRequestedAt: types.optional(types.number()), - secretRotationRequestedBy: types.optional(types.string()), - secretRotationRequestedReason: types.optional(types.string()), - secrets: z.array( - z.lazy(() => CreateIntegrationStoreDirectSecrets$inboundSchema), - ), - secretsAppliedAt: types.optional(types.number()), - targets: types.optional( - z.array(CreateIntegrationStoreDirectTargets$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectFilter: types.optional( + CreateIntegrationStoreDirectProjectFilter$inboundSchema, + ), + projectsMetadata: z.array( + CreateIntegrationStoreDirectProjectsMetadata$inboundSchema, + ), + status: types.nullable(CreateIntegrationStoreDirectStatus$inboundSchema), + totalConnectedProjects: types.optional(types.number()), + usageQuotaExceeded: types.boolean(), + billingPlan: types.optional( + CreateIntegrationStoreDirectBillingPlan$inboundSchema, + ), + capabilities: types.optional(Capabilities$inboundSchema), + credentialTypes: types.optional( + z.array(CreateIntegrationStoreDirectCredentialTypes$inboundSchema), + ), + credentialTypesTransition: types.optional( + CredentialTypesTransition$inboundSchema, + ), + directPartnerConsoleUrl: types.optional(types.string()), + externalResourceId: types.string(), + externalResourceStatus: z.nullable(ExternalResourceStatus$inboundSchema) + .optional(), + metadata: types.optional( + z.record(CreateIntegrationStoreDirectIntegrationsMetadata$inboundSchema), + ), + notification: types.optional( + CreateIntegrationStoreDirectNotification$inboundSchema, + ), + ownership: types.optional( + CreateIntegrationStoreDirectOwnership$inboundSchema, + ), + parentId: types.optional(types.string()), + product: z.lazy(() => Product$inboundSchema), + protocolSettings: types.optional( + z.lazy(() => CreateIntegrationStoreDirectProtocolSettings$inboundSchema), + ), + secretRotationCompletedAt: types.optional(types.number()), + secretRotationRequestedAt: types.optional(types.number()), + secretRotationRequestedBy: types.optional(types.string()), + secretRotationRequestedReason: types.optional(types.string()), + secrets: z.array( + z.lazy(() => CreateIntegrationStoreDirectSecrets$inboundSchema), + ), + secretsAppliedAt: types.optional(types.number()), + targets: types.optional( + z.array(CreateIntegrationStoreDirectTargets$inboundSchema), + ), + }) +); export function createIntegrationStoreDirectStoreFromJSON( jsonString: string, @@ -706,11 +728,13 @@ export const CreateIntegrationStoreDirectResponseBody$inboundSchema: z.ZodType< CreateIntegrationStoreDirectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - store: types.nullable( - z.lazy(() => CreateIntegrationStoreDirectStore$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: types.nullable( + z.lazy(() => CreateIntegrationStoreDirectStore$inboundSchema), + ), + }) +); export function createIntegrationStoreDirectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createkmsissuerop.ts b/src/models/createkmsissuerop.ts index 94cf941236..4a387d7841 100644 --- a/src/models/createkmsissuerop.ts +++ b/src/models/createkmsissuerop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -244,8 +244,8 @@ export type CreateKmsIssuerResponseBody = { }; /** @internal */ -export const Algorithm$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Algorithm); +export const Algorithm$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Algorithm)); /** @internal */ export type Policy3$Outbound = { @@ -259,11 +259,13 @@ export const Policy3$outboundSchema: z.ZodType< Policy3$Outbound, z.ZodTypeDef, Policy3 -> = z.object({ - kind: z.literal("integration-tokens-grant"), - integrationId: z.string(), - tokenClaims: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.literal("integration-tokens-grant"), + integrationId: z.string(), + tokenClaims: z.record(z.any()).optional(), + }) +); export function policy3ToJSON(policy3: Policy3): string { return JSON.stringify(Policy3$outboundSchema.parse(policy3)); @@ -281,11 +283,13 @@ export const Policy2$outboundSchema: z.ZodType< Policy2$Outbound, z.ZodTypeDef, Policy2 -> = z.object({ - kind: z.literal("connex-grant"), - clientId: z.string(), - tokenClaims: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.literal("connex-grant"), + clientId: z.string(), + tokenClaims: z.record(z.any()).optional(), + }) +); export function policy2ToJSON(policy2: Policy2): string { return JSON.stringify(Policy2$outboundSchema.parse(policy2)); @@ -305,13 +309,15 @@ export const Policy1$outboundSchema: z.ZodType< Policy1$Outbound, z.ZodTypeDef, Policy1 -> = z.object({ - kind: z.literal("project-grant"), - teamId: z.string(), - projectId: z.string(), - environments: z.array(z.string()), - tokenClaims: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.literal("project-grant"), + teamId: z.string(), + projectId: z.string(), + environments: z.array(z.string()), + tokenClaims: z.record(z.any()).optional(), + }) +); export function policy1ToJSON(policy1: Policy1): string { return JSON.stringify(Policy1$outboundSchema.parse(policy1)); @@ -328,11 +334,13 @@ export const CreateKmsIssuerPolicy$outboundSchema: z.ZodType< CreateKmsIssuerPolicy$Outbound, z.ZodTypeDef, CreateKmsIssuerPolicy -> = z.union([ - z.lazy(() => Policy1$outboundSchema), - z.lazy(() => Policy2$outboundSchema), - z.lazy(() => Policy3$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Policy1$outboundSchema), + z.lazy(() => Policy2$outboundSchema), + z.lazy(() => Policy3$outboundSchema), + ]) +); export function createKmsIssuerPolicyToJSON( createKmsIssuerPolicy: CreateKmsIssuerPolicy, @@ -357,18 +365,20 @@ export const CreateKmsIssuerRequestBody$outboundSchema: z.ZodType< CreateKmsIssuerRequestBody$Outbound, z.ZodTypeDef, CreateKmsIssuerRequestBody -> = z.object({ - name: z.string(), - algorithm: Algorithm$outboundSchema.default("RS512"), - claimsSchema: z.record(z.any()).optional(), - policy: z.union([ - z.lazy(() => Policy1$outboundSchema), - z.lazy(() => Policy2$outboundSchema), - z.lazy(() => Policy3$outboundSchema), - ]).optional(), - importKey: z.string().optional(), - importKeyId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + algorithm: Algorithm$outboundSchema.default("RS512"), + claimsSchema: z.record(z.any()).optional(), + policy: z.union([ + z.lazy(() => Policy1$outboundSchema), + z.lazy(() => Policy2$outboundSchema), + z.lazy(() => Policy3$outboundSchema), + ]).optional(), + importKey: z.string().optional(), + importKeyId: z.string().optional(), + }) +); export function createKmsIssuerRequestBodyToJSON( createKmsIssuerRequestBody: CreateKmsIssuerRequestBody, @@ -390,16 +400,18 @@ export const CreateKmsIssuerRequest$outboundSchema: z.ZodType< CreateKmsIssuerRequest$Outbound, z.ZodTypeDef, CreateKmsIssuerRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateKmsIssuerRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateKmsIssuerRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createKmsIssuerRequestToJSON( createKmsIssuerRequest: CreateKmsIssuerRequest, @@ -412,30 +424,32 @@ export function createKmsIssuerRequestToJSON( /** @internal */ export const CreateKmsIssuerAlgorithm$inboundSchema: z.ZodNativeEnum< typeof CreateKmsIssuerAlgorithm -> = z.nativeEnum(CreateKmsIssuerAlgorithm); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateKmsIssuerAlgorithm)); /** @internal */ export const DiscoveryLayout$inboundSchema: z.ZodNativeEnum< typeof DiscoveryLayout -> = z.nativeEnum(DiscoveryLayout); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DiscoveryLayout)); /** @internal */ export const CreateKmsIssuerOrigin$inboundSchema: z.ZodNativeEnum< typeof CreateKmsIssuerOrigin -> = z.nativeEnum(CreateKmsIssuerOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateKmsIssuerOrigin)); /** @internal */ export const Policies3$inboundSchema: z.ZodType< Policies3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function policies3FromJSON( jsonString: string, @@ -452,13 +466,15 @@ export const Policies2$inboundSchema: z.ZodType< Policies2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function policies2FromJSON( jsonString: string, @@ -475,15 +491,17 @@ export const Policies1$inboundSchema: z.ZodType< Policies1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function policies1FromJSON( jsonString: string, @@ -500,11 +518,13 @@ export const Policies$inboundSchema: z.ZodType< Policies, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Policies1$inboundSchema), - z.lazy(() => Policies2$inboundSchema), - z.lazy(() => Policies3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Policies1$inboundSchema), + z.lazy(() => Policies2$inboundSchema), + z.lazy(() => Policies3$inboundSchema), + ]) +); export function policiesFromJSON( jsonString: string, @@ -521,20 +541,22 @@ export const CreateKmsIssuerPublicKey$inboundSchema: z.ZodType< CreateKmsIssuerPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function createKmsIssuerPublicKeyFromJSON( jsonString: string, @@ -549,31 +571,33 @@ export function createKmsIssuerPublicKeyFromJSON( /** @internal */ export const CreateKmsIssuerStatus$inboundSchema: z.ZodNativeEnum< typeof CreateKmsIssuerStatus -> = z.nativeEnum(CreateKmsIssuerStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateKmsIssuerStatus)); /** @internal */ export const SigningKeys$inboundSchema: z.ZodType< SigningKeys, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional( - z.lazy(() => CreateKmsIssuerPublicKey$inboundSchema), - ), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: CreateKmsIssuerStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => CreateKmsIssuerPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: CreateKmsIssuerStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function signingKeysFromJSON( jsonString: string, @@ -590,26 +614,28 @@ export const CreateKmsIssuerResponseBody$inboundSchema: z.ZodType< CreateKmsIssuerResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: CreateKmsIssuerAlgorithm$inboundSchema, - claimsSchema: types.optional(z.record(z.any())), - createdAt: types.string(), - discoveryLayout: DiscoveryLayout$inboundSchema, - id: types.string(), - managedBy: types.optional(types.string()), - name: types.string(), - origin: CreateKmsIssuerOrigin$inboundSchema, - ownerId: types.string(), - policies: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: CreateKmsIssuerAlgorithm$inboundSchema, + claimsSchema: types.optional(z.record(z.any())), + createdAt: types.string(), + discoveryLayout: DiscoveryLayout$inboundSchema, + id: types.string(), + managedBy: types.optional(types.string()), + name: types.string(), + origin: CreateKmsIssuerOrigin$inboundSchema, + ownerId: types.string(), + policies: z.array(z.union([ z.lazy(() => Policies1$inboundSchema), z.lazy(() => Policies2$inboundSchema), z.lazy(() => Policies3$inboundSchema), - ]), - ), - signingKeys: z.array(z.lazy(() => SigningKeys$inboundSchema)), - updatedAt: types.string(), -}); + ])), + signingKeys: z.array(z.lazy(() => + SigningKeys$inboundSchema + )), + updatedAt: types.string(), + }) +); export function createKmsIssuerResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createkmsissuerpolicyop.ts b/src/models/createkmsissuerpolicyop.ts index 4acfafcfc2..eba289abc1 100644 --- a/src/models/createkmsissuerpolicyop.ts +++ b/src/models/createkmsissuerpolicyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -89,7 +89,7 @@ export type CreateKmsIssuerPolicyResponseBody = /** @internal */ export const CreateKmsIssuerPolicyKind$outboundSchema: z.ZodNativeEnum< typeof CreateKmsIssuerPolicyKind -> = z.nativeEnum(CreateKmsIssuerPolicyKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateKmsIssuerPolicyKind)); /** @internal */ export type CreateKmsIssuerPolicyRequestBody$Outbound = { @@ -104,12 +104,14 @@ export const CreateKmsIssuerPolicyRequestBody$outboundSchema: z.ZodType< CreateKmsIssuerPolicyRequestBody$Outbound, z.ZodTypeDef, CreateKmsIssuerPolicyRequestBody -> = z.object({ - kind: CreateKmsIssuerPolicyKind$outboundSchema, - projectId: z.string(), - environments: z.array(z.string()), - tokenClaims: z.record(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: CreateKmsIssuerPolicyKind$outboundSchema, + projectId: z.string(), + environments: z.array(z.string()), + tokenClaims: z.record(z.any()).optional(), + }) +); export function createKmsIssuerPolicyRequestBodyToJSON( createKmsIssuerPolicyRequestBody: CreateKmsIssuerPolicyRequestBody, @@ -134,17 +136,19 @@ export const CreateKmsIssuerPolicyRequest$outboundSchema: z.ZodType< CreateKmsIssuerPolicyRequest$Outbound, z.ZodTypeDef, CreateKmsIssuerPolicyRequest -> = z.object({ - issuerId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateKmsIssuerPolicyRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateKmsIssuerPolicyRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createKmsIssuerPolicyRequestToJSON( createKmsIssuerPolicyRequest: CreateKmsIssuerPolicyRequest, @@ -161,13 +165,15 @@ export const CreateKmsIssuerPolicyResponseBody3$inboundSchema: z.ZodType< CreateKmsIssuerPolicyResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function createKmsIssuerPolicyResponseBody3FromJSON( jsonString: string, @@ -185,13 +191,15 @@ export const CreateKmsIssuerPolicyResponseBody2$inboundSchema: z.ZodType< CreateKmsIssuerPolicyResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function createKmsIssuerPolicyResponseBody2FromJSON( jsonString: string, @@ -209,15 +217,17 @@ export const CreateKmsIssuerPolicyResponseBody1$inboundSchema: z.ZodType< CreateKmsIssuerPolicyResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function createKmsIssuerPolicyResponseBody1FromJSON( jsonString: string, @@ -235,11 +245,13 @@ export const CreateKmsIssuerPolicyResponseBody$inboundSchema: z.ZodType< CreateKmsIssuerPolicyResponseBody, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateKmsIssuerPolicyResponseBody1$inboundSchema), - z.lazy(() => CreateKmsIssuerPolicyResponseBody2$inboundSchema), - z.lazy(() => CreateKmsIssuerPolicyResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateKmsIssuerPolicyResponseBody1$inboundSchema), + z.lazy(() => CreateKmsIssuerPolicyResponseBody2$inboundSchema), + z.lazy(() => CreateKmsIssuerPolicyResponseBody3$inboundSchema), + ]) +); export function createKmsIssuerPolicyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createkmssigningkeyop.ts b/src/models/createkmssigningkeyop.ts index 43ff179474..fe298397c6 100644 --- a/src/models/createkmssigningkeyop.ts +++ b/src/models/createkmssigningkeyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -125,8 +125,8 @@ export type CreateKmsSigningKeyResponseBody = { }; /** @internal */ -export const Activation$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Activation); +export const Activation$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Activation)); /** @internal */ export type RevokePreviousAt$Outbound = string | number; @@ -136,7 +136,7 @@ export const RevokePreviousAt$outboundSchema: z.ZodType< RevokePreviousAt$Outbound, z.ZodTypeDef, RevokePreviousAt -> = smartUnion([z.string(), z.number()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.string(), z.number()])); export function revokePreviousAtToJSON( revokePreviousAt: RevokePreviousAt, @@ -160,13 +160,15 @@ export const CreateKmsSigningKeyRequestBody$outboundSchema: z.ZodType< CreateKmsSigningKeyRequestBody$Outbound, z.ZodTypeDef, CreateKmsSigningKeyRequestBody -> = z.object({ - activation: Activation$outboundSchema.optional(), - revokePreviousAfterHours: z.number().optional(), - revokePreviousAt: smartUnion([z.string(), z.number()]).optional(), - importKey: z.string().optional(), - importKeyId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activation: Activation$outboundSchema.optional(), + revokePreviousAfterHours: z.number().optional(), + revokePreviousAt: smartUnion([z.string(), z.number()]).optional(), + importKey: z.string().optional(), + importKeyId: z.string().optional(), + }) +); export function createKmsSigningKeyRequestBodyToJSON( createKmsSigningKeyRequestBody: CreateKmsSigningKeyRequestBody, @@ -191,17 +193,19 @@ export const CreateKmsSigningKeyRequest$outboundSchema: z.ZodType< CreateKmsSigningKeyRequest$Outbound, z.ZodTypeDef, CreateKmsSigningKeyRequest -> = z.object({ - issuerId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateKmsSigningKeyRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateKmsSigningKeyRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createKmsSigningKeyRequestToJSON( createKmsSigningKeyRequest: CreateKmsSigningKeyRequest, @@ -216,20 +220,22 @@ export const PublicKey$inboundSchema: z.ZodType< PublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function publicKeyFromJSON( jsonString: string, @@ -244,29 +250,31 @@ export function publicKeyFromJSON( /** @internal */ export const CreateKmsSigningKeyStatus$inboundSchema: z.ZodNativeEnum< typeof CreateKmsSigningKeyStatus -> = z.nativeEnum(CreateKmsSigningKeyStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateKmsSigningKeyStatus)); /** @internal */ export const CreateKmsSigningKeyResponseBody$inboundSchema: z.ZodType< CreateKmsSigningKeyResponseBody, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional(z.lazy(() => PublicKey$inboundSchema)), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: CreateKmsSigningKeyStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional(z.lazy(() => PublicKey$inboundSchema)), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: CreateKmsSigningKeyStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function createKmsSigningKeyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createlogdrainop.ts b/src/models/createlogdrainop.ts index 1f7741f0be..b6fb906693 100644 --- a/src/models/createlogdrainop.ts +++ b/src/models/createlogdrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -247,17 +247,19 @@ export type CreateLogDrainResponseBody = { /** @internal */ export const CreateLogDrainDeliveryFormat$outboundSchema: z.ZodNativeEnum< typeof CreateLogDrainDeliveryFormat -> = z.nativeEnum(CreateLogDrainDeliveryFormat); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateLogDrainDeliveryFormat) +); /** @internal */ export const CreateLogDrainSources$outboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSources -> = z.nativeEnum(CreateLogDrainSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateLogDrainSources)); /** @internal */ export const CreateLogDrainEnvironments$outboundSchema: z.ZodNativeEnum< typeof CreateLogDrainEnvironments -> = z.nativeEnum(CreateLogDrainEnvironments); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateLogDrainEnvironments)); /** @internal */ export type CreateLogDrainRequestBody$Outbound = { @@ -276,16 +278,18 @@ export const CreateLogDrainRequestBody$outboundSchema: z.ZodType< CreateLogDrainRequestBody$Outbound, z.ZodTypeDef, CreateLogDrainRequestBody -> = z.object({ - name: z.string(), - projectIds: z.array(z.string()).optional(), - secret: z.string().optional(), - deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), - url: z.string(), - sources: z.array(CreateLogDrainSources$outboundSchema).optional(), - headers: z.record(z.string()).optional(), - environments: z.array(CreateLogDrainEnvironments$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + projectIds: z.array(z.string()).optional(), + secret: z.string().optional(), + deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), + url: z.string(), + sources: z.array(CreateLogDrainSources$outboundSchema).optional(), + headers: z.record(z.string()).optional(), + environments: z.array(CreateLogDrainEnvironments$outboundSchema).optional(), + }) +); export function createLogDrainRequestBodyToJSON( createLogDrainRequestBody: CreateLogDrainRequestBody, @@ -307,15 +311,17 @@ export const CreateLogDrainRequest$outboundSchema: z.ZodType< CreateLogDrainRequest$Outbound, z.ZodTypeDef, CreateLogDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateLogDrainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateLogDrainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createLogDrainRequestToJSON( createLogDrainRequest: CreateLogDrainRequest, @@ -328,31 +334,36 @@ export function createLogDrainRequestToJSON( /** @internal */ export const CreateLogDrainCreatedFrom$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainCreatedFrom -> = z.nativeEnum(CreateLogDrainCreatedFrom); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateLogDrainCreatedFrom)); /** @internal */ export const CreateLogDrainLogDrainsDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateLogDrainLogDrainsDeliveryFormat, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateLogDrainLogDrainsDeliveryFormat) + ); /** @internal */ export const CreateLogDrainLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainLogDrainsEnvironments -> = z.nativeEnum(CreateLogDrainLogDrainsEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateLogDrainLogDrainsEnvironments) +); /** @internal */ export const CreateLogDrainSource2$inboundSchema: z.ZodType< CreateLogDrainSource2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function createLogDrainSource2FromJSON( jsonString: string, @@ -367,17 +378,21 @@ export function createLogDrainSource2FromJSON( /** @internal */ export const CreateLogDrainSourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSourceDefaultFor -> = z.nativeEnum(CreateLogDrainSourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateLogDrainSourceDefaultFor) +); /** @internal */ export const CreateLogDrainSource1$inboundSchema: z.ZodType< CreateLogDrainSource1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(CreateLogDrainSourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(CreateLogDrainSourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function createLogDrainSource1FromJSON( jsonString: string, @@ -394,10 +409,12 @@ export const CreateLogDrainSource$inboundSchema: z.ZodType< CreateLogDrainSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateLogDrainSource1$inboundSchema), - z.lazy(() => CreateLogDrainSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateLogDrainSource1$inboundSchema), + z.lazy(() => CreateLogDrainSource2$inboundSchema), + ]) +); export function createLogDrainSourceFromJSON( jsonString: string, @@ -412,41 +429,45 @@ export function createLogDrainSourceFromJSON( /** @internal */ export const CreateLogDrainLogDrainsSources$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainLogDrainsSources -> = z.nativeEnum(CreateLogDrainLogDrainsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateLogDrainLogDrainsSources) +); /** @internal */ export const CreateLogDrainResponseBody$inboundSchema: z.ZodType< CreateLogDrainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branch: types.optional(types.string()), - clientId: types.optional(types.string()), - configurationId: types.optional(types.string()), - createdAt: types.number(), - createdFrom: types.optional(CreateLogDrainCreatedFrom$inboundSchema), - deliveryFormat: types.optional( - CreateLogDrainLogDrainsDeliveryFormat$inboundSchema, - ), - environments: types.optional( - z.array(CreateLogDrainLogDrainsEnvironments$inboundSchema), - ), - headers: types.optional(z.record(types.string())), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectId: z.nullable(types.string()).optional(), - projectIds: types.optional(z.array(types.string())), - samplingRate: types.optional(types.number()), - source: z.union([ - z.lazy(() => CreateLogDrainSource1$inboundSchema), - z.lazy(() => CreateLogDrainSource2$inboundSchema), - ]), - sources: types.optional( - z.array(CreateLogDrainLogDrainsSources$inboundSchema), - ), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branch: types.optional(types.string()), + clientId: types.optional(types.string()), + configurationId: types.optional(types.string()), + createdAt: types.number(), + createdFrom: types.optional(CreateLogDrainCreatedFrom$inboundSchema), + deliveryFormat: types.optional( + CreateLogDrainLogDrainsDeliveryFormat$inboundSchema, + ), + environments: types.optional( + z.array(CreateLogDrainLogDrainsEnvironments$inboundSchema), + ), + headers: types.optional(z.record(types.string())), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectId: z.nullable(types.string()).optional(), + projectIds: types.optional(z.array(types.string())), + samplingRate: types.optional(types.number()), + source: z.union([ + z.lazy(() => CreateLogDrainSource1$inboundSchema), + z.lazy(() => CreateLogDrainSource2$inboundSchema), + ]), + sources: types.optional( + z.array(CreateLogDrainLogDrainsSources$inboundSchema), + ), + url: types.string(), + }) +); export function createLogDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createmicrofrontendsgroupwithapplicationsop.ts b/src/models/createmicrofrontendsgroupwithapplicationsop.ts index 60141e6e9d..621f623bfd 100644 --- a/src/models/createmicrofrontendsgroupwithapplicationsop.ts +++ b/src/models/createmicrofrontendsgroupwithapplicationsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -88,10 +88,12 @@ export const DefaultApp$outboundSchema: z.ZodType< DefaultApp$Outbound, z.ZodTypeDef, DefaultApp -> = z.object({ - projectId: z.string(), - defaultRoute: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + defaultRoute: z.string().optional(), + }) +); export function defaultAppToJSON(defaultApp: DefaultApp): string { return JSON.stringify(DefaultApp$outboundSchema.parse(defaultApp)); @@ -108,10 +110,12 @@ export const OtherApplications$outboundSchema: z.ZodType< OtherApplications$Outbound, z.ZodTypeDef, OtherApplications -> = z.object({ - projectId: z.string(), - defaultRoute: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + defaultRoute: z.string().optional(), + }) +); export function otherApplicationsToJSON( otherApplications: OtherApplications, @@ -134,11 +138,15 @@ export const CreateMicrofrontendsGroupWithApplicationsRequestBody$outboundSchema CreateMicrofrontendsGroupWithApplicationsRequestBody$Outbound, z.ZodTypeDef, CreateMicrofrontendsGroupWithApplicationsRequestBody - > = z.object({ - groupName: z.string(), - defaultApp: z.lazy(() => DefaultApp$outboundSchema), - otherApplications: z.array(z.lazy(() => OtherApplications$outboundSchema)), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + groupName: z.string(), + defaultApp: z.lazy(() => DefaultApp$outboundSchema), + otherApplications: z.array( + z.lazy(() => OtherApplications$outboundSchema), + ), + }) + ); export function createMicrofrontendsGroupWithApplicationsRequestBodyToJSON( createMicrofrontendsGroupWithApplicationsRequestBody: @@ -166,17 +174,19 @@ export const CreateMicrofrontendsGroupWithApplicationsRequest$outboundSchema: CreateMicrofrontendsGroupWithApplicationsRequest$Outbound, z.ZodTypeDef, CreateMicrofrontendsGroupWithApplicationsRequest - > = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateMicrofrontendsGroupWithApplicationsRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateMicrofrontendsGroupWithApplicationsRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function createMicrofrontendsGroupWithApplicationsRequestToJSON( createMicrofrontendsGroupWithApplicationsRequest: @@ -194,15 +204,17 @@ export const NewMicrofrontendsGroup$inboundSchema: z.ZodType< NewMicrofrontendsGroup, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - enablePolyrepoBranchRouting: types.boolean(), - fallbackEnvironment: types.string(), - id: types.string(), - name: types.string(), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + enablePolyrepoBranchRouting: types.boolean(), + fallbackEnvironment: types.string(), + id: types.string(), + name: types.string(), + slug: types.string(), + updatedAt: types.number(), + }) +); export function newMicrofrontendsGroupFromJSON( jsonString: string, @@ -220,9 +232,13 @@ export const CreateMicrofrontendsGroupWithApplicationsResponseBody$inboundSchema CreateMicrofrontendsGroupWithApplicationsResponseBody, z.ZodTypeDef, unknown - > = z.object({ - newMicrofrontendsGroup: z.lazy(() => NewMicrofrontendsGroup$inboundSchema), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + newMicrofrontendsGroup: z.lazy(() => + NewMicrofrontendsGroup$inboundSchema + ), + }) + ); export function createMicrofrontendsGroupWithApplicationsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createnetworkop.ts b/src/models/createnetworkop.ts index 148ab814a0..54334e7ed6 100644 --- a/src/models/createnetworkop.ts +++ b/src/models/createnetworkop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type CreateNetworkRequestBody = { awsAvailabilityZoneIds?: Array | undefined; @@ -46,12 +47,14 @@ export const CreateNetworkRequestBody$outboundSchema: z.ZodType< CreateNetworkRequestBody$Outbound, z.ZodTypeDef, CreateNetworkRequestBody -> = z.object({ - awsAvailabilityZoneIds: z.array(z.string()).optional(), - cidr: z.string(), - name: z.string(), - region: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsAvailabilityZoneIds: z.array(z.string()).optional(), + cidr: z.string(), + name: z.string(), + region: z.string(), + }) +); export function createNetworkRequestBodyToJSON( createNetworkRequestBody: CreateNetworkRequestBody, @@ -73,15 +76,18 @@ export const CreateNetworkRequest$outboundSchema: z.ZodType< CreateNetworkRequest$Outbound, z.ZodTypeDef, CreateNetworkRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateNetworkRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateNetworkRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createNetworkRequestToJSON( createNetworkRequest: CreateNetworkRequest, diff --git a/src/models/createobservabilityqueryop.ts b/src/models/createobservabilityqueryop.ts index c30f691c5b..82d7f8d67f 100644 --- a/src/models/createobservabilityqueryop.ts +++ b/src/models/createobservabilityqueryop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -93,7 +93,7 @@ export const CreateObservabilityQueryScope$outboundSchema: z.ZodType< CreateObservabilityQueryScope$Outbound, z.ZodTypeDef, CreateObservabilityQueryScope -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createObservabilityQueryScopeToJSON( createObservabilityQueryScope: CreateObservabilityQueryScope, @@ -108,7 +108,7 @@ export function createObservabilityQueryScopeToJSON( /** @internal */ export const OrderDirection$outboundSchema: z.ZodNativeEnum< typeof OrderDirection -> = z.nativeEnum(OrderDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OrderDirection)); /** @internal */ export type Granularity$Outbound = {}; @@ -118,7 +118,7 @@ export const Granularity$outboundSchema: z.ZodType< Granularity$Outbound, z.ZodTypeDef, Granularity -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function granularityToJSON(granularity: Granularity): string { return JSON.stringify(Granularity$outboundSchema.parse(granularity)); @@ -146,28 +146,30 @@ export const CreateObservabilityQueryRequestBody$outboundSchema: z.ZodType< CreateObservabilityQueryRequestBody$Outbound, z.ZodTypeDef, CreateObservabilityQueryRequestBody -> = z.object({ - metric: z.string(), - scope: z.lazy(() => CreateObservabilityQueryScope$outboundSchema), - aggregation: z.string().optional(), - groupBy: z.array(z.string()).optional(), - filter: z.string().optional(), - limit: z.number().optional(), - orderBy: z.string().optional(), - orderDirection: OrderDirection$outboundSchema.optional(), - granularity: z.lazy(() => Granularity$outboundSchema).optional(), - startTime: z.string().optional(), - endTime: z.string().optional(), - bucketTimezone: z.string().optional(), - additionalProperties: z.record(z.any()).optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metric: z.string(), + scope: z.lazy(() => CreateObservabilityQueryScope$outboundSchema), + aggregation: z.string().optional(), + groupBy: z.array(z.string()).optional(), + filter: z.string().optional(), + limit: z.number().optional(), + orderBy: z.string().optional(), + orderDirection: OrderDirection$outboundSchema.optional(), + granularity: z.lazy(() => Granularity$outboundSchema).optional(), + startTime: z.string().optional(), + endTime: z.string().optional(), + bucketTimezone: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) +); export function createObservabilityQueryRequestBodyToJSON( createObservabilityQueryRequestBody: CreateObservabilityQueryRequestBody, @@ -184,7 +186,7 @@ export const CreateObservabilityQueryResponseBody$inboundSchema: z.ZodType< CreateObservabilityQueryResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createObservabilityQueryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createorganizationop.ts b/src/models/createorganizationop.ts index 12c80b8131..02dae94d4d 100644 --- a/src/models/createorganizationop.ts +++ b/src/models/createorganizationop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type CreateOrganizationRequestBody = { /** @@ -39,10 +40,12 @@ export const CreateOrganizationRequestBody$outboundSchema: z.ZodType< CreateOrganizationRequestBody$Outbound, z.ZodTypeDef, CreateOrganizationRequestBody -> = z.object({ - slug: z.string(), - name: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + name: z.string().optional(), + }) +); export function createOrganizationRequestBodyToJSON( createOrganizationRequestBody: CreateOrganizationRequestBody, @@ -66,16 +69,18 @@ export const CreateOrganizationRequest$outboundSchema: z.ZodType< CreateOrganizationRequest$Outbound, z.ZodTypeDef, CreateOrganizationRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateOrganizationRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateOrganizationRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createOrganizationRequestToJSON( createOrganizationRequest: CreateOrganizationRequest, diff --git a/src/models/createortransferdomainop.ts b/src/models/createortransferdomainop.ts index 861dce6a4d..1861d17ad9 100644 --- a/src/models/createortransferdomainop.ts +++ b/src/models/createortransferdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -192,11 +192,13 @@ export const CreateOrTransferDomainRequestBody2$outboundSchema: z.ZodType< CreateOrTransferDomainRequestBody2$Outbound, z.ZodTypeDef, CreateOrTransferDomainRequestBody2 -> = z.object({ - name: z.string(), - method: z.string(), - token: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + method: z.string(), + token: z.string().optional(), + }) +); export function createOrTransferDomainRequestBody2ToJSON( createOrTransferDomainRequestBody2: CreateOrTransferDomainRequestBody2, @@ -221,12 +223,14 @@ export const CreateOrTransferDomainRequestBody1$outboundSchema: z.ZodType< CreateOrTransferDomainRequestBody1$Outbound, z.ZodTypeDef, CreateOrTransferDomainRequestBody1 -> = z.object({ - name: z.string(), - cdnEnabled: z.boolean().optional(), - zone: z.boolean().optional(), - method: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + cdnEnabled: z.boolean().optional(), + zone: z.boolean().optional(), + method: z.string().optional(), + }) +); export function createOrTransferDomainRequestBody1ToJSON( createOrTransferDomainRequestBody1: CreateOrTransferDomainRequestBody1, @@ -248,10 +252,12 @@ export const CreateOrTransferDomainRequestBody$outboundSchema: z.ZodType< CreateOrTransferDomainRequestBody$Outbound, z.ZodTypeDef, CreateOrTransferDomainRequestBody -> = smartUnion([ - z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), + ]) +); export function createOrTransferDomainRequestBodyToJSON( createOrTransferDomainRequestBody: CreateOrTransferDomainRequestBody, @@ -278,18 +284,20 @@ export const CreateOrTransferDomainRequest$outboundSchema: z.ZodType< CreateOrTransferDomainRequest$Outbound, z.ZodTypeDef, CreateOrTransferDomainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), - z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => CreateOrTransferDomainRequestBody2$outboundSchema), + z.lazy(() => CreateOrTransferDomainRequestBody1$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createOrTransferDomainRequestToJSON( createOrTransferDomainRequest: CreateOrTransferDomainRequest, @@ -306,13 +314,15 @@ export const CreateOrTransferDomainCreator$inboundSchema: z.ZodType< CreateOrTransferDomainCreator, z.ZodTypeDef, unknown -> = z.object({ - customerId: z.nullable(types.string()).optional(), - email: types.string(), - id: types.string(), - isDomainReseller: types.optional(types.boolean()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customerId: z.nullable(types.string()).optional(), + email: types.string(), + id: types.string(), + isDomainReseller: types.optional(types.boolean()), + username: types.string(), + }) +); export function createOrTransferDomainCreatorFromJSON( jsonString: string, @@ -327,37 +337,43 @@ export function createOrTransferDomainCreatorFromJSON( /** @internal */ export const CreateOrTransferDomainEchMode$inboundSchema: z.ZodNativeEnum< typeof CreateOrTransferDomainEchMode -> = z.nativeEnum(CreateOrTransferDomainEchMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateOrTransferDomainEchMode) +); /** @internal */ export const CreateOrTransferDomainServiceType$inboundSchema: z.ZodNativeEnum< typeof CreateOrTransferDomainServiceType -> = z.nativeEnum(CreateOrTransferDomainServiceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateOrTransferDomainServiceType) +); /** @internal */ export const CreateOrTransferDomainDomain$inboundSchema: z.ZodType< CreateOrTransferDomainDomain, z.ZodTypeDef, unknown -> = z.object({ - boughtAt: types.nullable(types.number()), - createdAt: types.number(), - creator: z.lazy(() => CreateOrTransferDomainCreator$inboundSchema), - customNameservers: types.optional(z.array(types.string())), - echMode: CreateOrTransferDomainEchMode$inboundSchema, - expiresAt: types.nullable(types.number()), - id: types.string(), - intendedNameservers: z.array(types.string()), - name: types.string(), - nameservers: z.array(types.string()), - renew: types.optional(types.boolean()), - serviceType: CreateOrTransferDomainServiceType$inboundSchema, - teamId: types.nullable(types.string()), - transferredAt: z.nullable(types.number()).optional(), - transferStartedAt: types.optional(types.number()), - userId: types.string(), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boughtAt: types.nullable(types.number()), + createdAt: types.number(), + creator: z.lazy(() => CreateOrTransferDomainCreator$inboundSchema), + customNameservers: types.optional(z.array(types.string())), + echMode: CreateOrTransferDomainEchMode$inboundSchema, + expiresAt: types.nullable(types.number()), + id: types.string(), + intendedNameservers: z.array(types.string()), + name: types.string(), + nameservers: z.array(types.string()), + renew: types.optional(types.boolean()), + serviceType: CreateOrTransferDomainServiceType$inboundSchema, + teamId: types.nullable(types.string()), + transferredAt: z.nullable(types.number()).optional(), + transferStartedAt: types.optional(types.number()), + userId: types.string(), + verified: types.boolean(), + }) +); export function createOrTransferDomainDomainFromJSON( jsonString: string, @@ -374,9 +390,11 @@ export const CreateOrTransferDomainResponseBody$inboundSchema: z.ZodType< CreateOrTransferDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - domain: z.lazy(() => CreateOrTransferDomainDomain$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.lazy(() => CreateOrTransferDomainDomain$inboundSchema), + }) +); export function createOrTransferDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createprivatelinkendpointop.ts b/src/models/createprivatelinkendpointop.ts index c0a8b7af7b..2f4d5fd4d4 100644 --- a/src/models/createprivatelinkendpointop.ts +++ b/src/models/createprivatelinkendpointop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type CreatePrivateLinkEndpointRequestBody = { /** @@ -54,13 +55,15 @@ export const CreatePrivateLinkEndpointRequestBody$outboundSchema: z.ZodType< CreatePrivateLinkEndpointRequestBody$Outbound, z.ZodTypeDef, CreatePrivateLinkEndpointRequestBody -> = z.object({ - projectId: z.string(), - name: z.string(), - vercelRegion: z.string(), - awsServiceName: z.string(), - enablePrivateDns: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + name: z.string(), + vercelRegion: z.string(), + awsServiceName: z.string(), + enablePrivateDns: z.boolean().optional(), + }) +); export function createPrivateLinkEndpointRequestBodyToJSON( createPrivateLinkEndpointRequestBody: CreatePrivateLinkEndpointRequestBody, @@ -84,16 +87,19 @@ export const CreatePrivateLinkEndpointRequest$outboundSchema: z.ZodType< CreatePrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, CreatePrivateLinkEndpointRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreatePrivateLinkEndpointRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreatePrivateLinkEndpointRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createPrivateLinkEndpointRequestToJSON( createPrivateLinkEndpointRequest: CreatePrivateLinkEndpointRequest, diff --git a/src/models/createprojectcheckop.ts b/src/models/createprojectcheckop.ts index de637d0e9e..4db23d83dd 100644 --- a/src/models/createprojectcheckop.ts +++ b/src/models/createprojectcheckop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -171,17 +171,17 @@ export type CreateProjectCheckResponseBody = { }; /** @internal */ -export const Requires$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Requires); +export const Requires$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Requires)); /** @internal */ -export const Blocks$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Blocks); +export const Blocks$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Blocks)); /** @internal */ export const SourceProvider$outboundSchema: z.ZodNativeEnum< typeof SourceProvider -> = z.nativeEnum(SourceProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourceProvider)); /** @internal */ export type Source3$Outbound = { @@ -195,11 +195,13 @@ export const Source3$outboundSchema: z.ZodType< Source3$Outbound, z.ZodTypeDef, Source3 -> = z.object({ - kind: z.string(), - externalCheckName: z.string(), - provider: SourceProvider$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string(), + externalCheckName: z.string(), + provider: SourceProvider$outboundSchema, + }) +); export function source3ToJSON(source3: Source3): string { return JSON.stringify(Source3$outboundSchema.parse(source3)); @@ -216,10 +218,12 @@ export const Source2$outboundSchema: z.ZodType< Source2$Outbound, z.ZodTypeDef, Source2 -> = z.object({ - kind: z.string(), - webhookId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string(), + webhookId: z.string().optional(), + }) +); export function source2ToJSON(source2: Source2): string { return JSON.stringify(Source2$outboundSchema.parse(source2)); @@ -239,13 +243,15 @@ export const Source1$outboundSchema: z.ZodType< Source1$Outbound, z.ZodTypeDef, Source1 -> = z.object({ - kind: z.string().default("integration"), - integrationId: z.string().optional(), - integrationConfigurationId: z.string().optional(), - resourceId: z.string().optional(), - externalResourceId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + integrationId: z.string().optional(), + integrationConfigurationId: z.string().optional(), + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + }) +); export function source1ToJSON(source1: Source1): string { return JSON.stringify(Source1$outboundSchema.parse(source1)); @@ -262,11 +268,13 @@ export const CreateProjectCheckSource$outboundSchema: z.ZodType< CreateProjectCheckSource$Outbound, z.ZodTypeDef, CreateProjectCheckSource -> = smartUnion([ - z.lazy(() => Source3$outboundSchema), - z.lazy(() => Source2$outboundSchema), - z.lazy(() => Source1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Source3$outboundSchema), + z.lazy(() => Source2$outboundSchema), + z.lazy(() => Source1$outboundSchema), + ]) +); export function createProjectCheckSourceToJSON( createProjectCheckSource: CreateProjectCheckSource, @@ -292,19 +300,21 @@ export const CreateProjectCheckRequestBody$outboundSchema: z.ZodType< CreateProjectCheckRequestBody$Outbound, z.ZodTypeDef, CreateProjectCheckRequestBody -> = z.object({ - name: z.string(), - isRerequestable: z.boolean().optional(), - requires: Requires$outboundSchema.default("deployment-url"), - targets: z.array(z.string()).optional(), - blocks: Blocks$outboundSchema.default("deployment-alias"), - source: smartUnion([ - z.lazy(() => Source3$outboundSchema), - z.lazy(() => Source2$outboundSchema), - z.lazy(() => Source1$outboundSchema), - ]).optional(), - timeout: z.number().default(300), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + isRerequestable: z.boolean().optional(), + requires: Requires$outboundSchema.default("deployment-url"), + targets: z.array(z.string()).optional(), + blocks: Blocks$outboundSchema.default("deployment-alias"), + source: smartUnion([ + z.lazy(() => Source3$outboundSchema), + z.lazy(() => Source2$outboundSchema), + z.lazy(() => Source1$outboundSchema), + ]).optional(), + timeout: z.number().default(300), + }) +); export function createProjectCheckRequestBodyToJSON( createProjectCheckRequestBody: CreateProjectCheckRequestBody, @@ -329,17 +339,19 @@ export const CreateProjectCheckRequest$outboundSchema: z.ZodType< CreateProjectCheckRequest$Outbound, z.ZodTypeDef, CreateProjectCheckRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateProjectCheckRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateProjectCheckRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createProjectCheckRequestToJSON( createProjectCheckRequest: CreateProjectCheckRequest, @@ -352,28 +364,32 @@ export function createProjectCheckRequestToJSON( /** @internal */ export const CreateProjectCheckBlocks$inboundSchema: z.ZodNativeEnum< typeof CreateProjectCheckBlocks -> = z.nativeEnum(CreateProjectCheckBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectCheckBlocks)); /** @internal */ export const CreateProjectCheckRequires$inboundSchema: z.ZodNativeEnum< typeof CreateProjectCheckRequires -> = z.nativeEnum(CreateProjectCheckRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectCheckRequires)); /** @internal */ export const CreateProjectCheckSourceProvider$inboundSchema: z.ZodNativeEnum< typeof CreateProjectCheckSourceProvider -> = z.nativeEnum(CreateProjectCheckSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectCheckSourceProvider) +); /** @internal */ export const CreateProjectCheckSource3$inboundSchema: z.ZodType< CreateProjectCheckSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: types.literal("git-provider"), - provider: CreateProjectCheckSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: types.literal("git-provider"), + provider: CreateProjectCheckSourceProvider$inboundSchema, + }) +); export function createProjectCheckSource3FromJSON( jsonString: string, @@ -390,10 +406,12 @@ export const CreateProjectCheckSource2$inboundSchema: z.ZodType< CreateProjectCheckSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("webhook"), - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("webhook"), + webhookId: types.optional(types.string()), + }) +); export function createProjectCheckSource2FromJSON( jsonString: string, @@ -410,13 +428,15 @@ export const CreateProjectCheckSource1$inboundSchema: z.ZodType< CreateProjectCheckSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function createProjectCheckSource1FromJSON( jsonString: string, @@ -433,11 +453,13 @@ export const CreateProjectCheckChecksV2Source$inboundSchema: z.ZodType< CreateProjectCheckChecksV2Source, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectCheckSource1$inboundSchema), - z.lazy(() => CreateProjectCheckSource2$inboundSchema), - z.lazy(() => CreateProjectCheckSource3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectCheckSource1$inboundSchema), + z.lazy(() => CreateProjectCheckSource2$inboundSchema), + z.lazy(() => CreateProjectCheckSource3$inboundSchema), + ]) +); export function createProjectCheckChecksV2SourceFromJSON( jsonString: string, @@ -450,35 +472,37 @@ export function createProjectCheckChecksV2SourceFromJSON( } /** @internal */ -export const SourceKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SourceKind); +export const SourceKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourceKind)); /** @internal */ export const CreateProjectCheckResponseBody$inboundSchema: z.ZodType< CreateProjectCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocks: CreateProjectCheckBlocks$inboundSchema, - createdAt: types.number(), - deletedAt: types.optional(types.number()), - id: types.string(), - isRerequestable: types.boolean(), - name: types.string(), - ownerId: types.string(), - projectId: types.string(), - requires: CreateProjectCheckRequires$inboundSchema, - source: z.union([ - z.lazy(() => CreateProjectCheckSource1$inboundSchema), - z.lazy(() => CreateProjectCheckSource2$inboundSchema), - z.lazy(() => CreateProjectCheckSource3$inboundSchema), - ]), - sourceIntegrationConfigurationId: types.optional(types.string()), - sourceKind: SourceKind$inboundSchema, - targets: z.array(types.string()), - timeout: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: CreateProjectCheckBlocks$inboundSchema, + createdAt: types.number(), + deletedAt: types.optional(types.number()), + id: types.string(), + isRerequestable: types.boolean(), + name: types.string(), + ownerId: types.string(), + projectId: types.string(), + requires: CreateProjectCheckRequires$inboundSchema, + source: z.union([ + z.lazy(() => CreateProjectCheckSource1$inboundSchema), + z.lazy(() => CreateProjectCheckSource2$inboundSchema), + z.lazy(() => CreateProjectCheckSource3$inboundSchema), + ]), + sourceIntegrationConfigurationId: types.optional(types.string()), + sourceKind: SourceKind$inboundSchema, + targets: z.array(types.string()), + timeout: types.number(), + updatedAt: types.number(), + }) +); export function createProjectCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createprojectenvop.ts b/src/models/createprojectenvop.ts index 2771583c90..73be878e80 100644 --- a/src/models/createprojectenvop.ts +++ b/src/models/createprojectenvop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -772,12 +772,12 @@ export type CreateProjectEnvResponseBody = { /** @internal */ export const CreateProjectEnv2Type$outboundSchema: z.ZodNativeEnum< typeof CreateProjectEnv2Type -> = z.nativeEnum(CreateProjectEnv2Type); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnv2Type)); /** @internal */ export const CreateProjectEnv2Target$outboundSchema: z.ZodNativeEnum< typeof CreateProjectEnv2Target -> = z.nativeEnum(CreateProjectEnv2Target); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnv2Target)); /** @internal */ export type CreateProjectEnv22$Outbound = { @@ -795,15 +795,17 @@ export const CreateProjectEnv22$outboundSchema: z.ZodType< CreateProjectEnv22$Outbound, z.ZodTypeDef, CreateProjectEnv22 -> = z.object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv2Type$outboundSchema, - target: z.array(CreateProjectEnv2Target$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv2Type$outboundSchema, + target: z.array(CreateProjectEnv2Target$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()), + }) +); export function createProjectEnv22ToJSON( createProjectEnv22: CreateProjectEnv22, @@ -814,12 +816,12 @@ export function createProjectEnv22ToJSON( } /** @internal */ -export const TwoType$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(TwoType); +export const TwoType$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TwoType)); /** @internal */ -export const TwoTarget$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(TwoTarget); +export const TwoTarget$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TwoTarget)); /** @internal */ export type CreateProjectEnv21$Outbound = { @@ -837,15 +839,17 @@ export const CreateProjectEnv21$outboundSchema: z.ZodType< CreateProjectEnv21$Outbound, z.ZodTypeDef, CreateProjectEnv21 -> = z.object({ - key: z.string(), - value: z.string(), - type: TwoType$outboundSchema, - target: z.array(TwoTarget$outboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + type: TwoType$outboundSchema, + target: z.array(TwoTarget$outboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + }) +); export function createProjectEnv21ToJSON( createProjectEnv21: CreateProjectEnv21, @@ -865,10 +869,12 @@ export const CreateProjectEnvRequestBody2$outboundSchema: z.ZodType< CreateProjectEnvRequestBody2$Outbound, z.ZodTypeDef, CreateProjectEnvRequestBody2 -> = smartUnion([ - z.lazy(() => CreateProjectEnv21$outboundSchema), - z.lazy(() => CreateProjectEnv22$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectEnv21$outboundSchema), + z.lazy(() => CreateProjectEnv22$outboundSchema), + ]) +); export function createProjectEnvRequestBody2ToJSON( createProjectEnvRequestBody2: CreateProjectEnvRequestBody2, @@ -883,12 +889,12 @@ export function createProjectEnvRequestBody2ToJSON( /** @internal */ export const CreateProjectEnv1Type$outboundSchema: z.ZodNativeEnum< typeof CreateProjectEnv1Type -> = z.nativeEnum(CreateProjectEnv1Type); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnv1Type)); /** @internal */ export const CreateProjectEnv1Target$outboundSchema: z.ZodNativeEnum< typeof CreateProjectEnv1Target -> = z.nativeEnum(CreateProjectEnv1Target); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnv1Target)); /** @internal */ export type CreateProjectEnv12$Outbound = { @@ -906,15 +912,17 @@ export const CreateProjectEnv12$outboundSchema: z.ZodType< CreateProjectEnv12$Outbound, z.ZodTypeDef, CreateProjectEnv12 -> = z.object({ - key: z.string(), - value: z.string(), - type: CreateProjectEnv1Type$outboundSchema, - target: z.array(CreateProjectEnv1Target$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + type: CreateProjectEnv1Type$outboundSchema, + target: z.array(CreateProjectEnv1Target$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()), + }) +); export function createProjectEnv12ToJSON( createProjectEnv12: CreateProjectEnv12, @@ -925,12 +933,12 @@ export function createProjectEnv12ToJSON( } /** @internal */ -export const OneType$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(OneType); +export const OneType$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OneType)); /** @internal */ -export const OneTarget$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(OneTarget); +export const OneTarget$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OneTarget)); /** @internal */ export type CreateProjectEnv11$Outbound = { @@ -948,15 +956,17 @@ export const CreateProjectEnv11$outboundSchema: z.ZodType< CreateProjectEnv11$Outbound, z.ZodTypeDef, CreateProjectEnv11 -> = z.object({ - key: z.string(), - value: z.string(), - type: OneType$outboundSchema, - target: z.array(OneTarget$outboundSchema), - gitBranch: z.nullable(z.string()).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + type: OneType$outboundSchema, + target: z.array(OneTarget$outboundSchema), + gitBranch: z.nullable(z.string()).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + }) +); export function createProjectEnv11ToJSON( createProjectEnv11: CreateProjectEnv11, @@ -976,10 +986,12 @@ export const CreateProjectEnvRequestBody1$outboundSchema: z.ZodType< CreateProjectEnvRequestBody1$Outbound, z.ZodTypeDef, CreateProjectEnvRequestBody1 -> = smartUnion([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), + ]) +); export function createProjectEnvRequestBody1ToJSON( createProjectEnvRequestBody1: CreateProjectEnvRequestBody1, @@ -1002,18 +1014,20 @@ export const CreateProjectEnvRequestBody$outboundSchema: z.ZodType< CreateProjectEnvRequestBody$Outbound, z.ZodTypeDef, CreateProjectEnvRequestBody -> = smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), - ]), - z.array( smartUnion([ - z.lazy(() => CreateProjectEnv21$outboundSchema), - z.lazy(() => CreateProjectEnv22$outboundSchema), + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), ]), - ), -]); + z.array( + smartUnion([ + z.lazy(() => CreateProjectEnv21$outboundSchema), + z.lazy(() => CreateProjectEnv22$outboundSchema), + ]), + ), + ]) +); export function createProjectEnvRequestBodyToJSON( createProjectEnvRequestBody: CreateProjectEnvRequestBody, @@ -1042,28 +1056,30 @@ export const CreateProjectEnvRequest$outboundSchema: z.ZodType< CreateProjectEnvRequest$Outbound, z.ZodTypeDef, CreateProjectEnvRequest -> = z.object({ - idOrName: z.string(), - upsert: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - smartUnion([ - z.lazy(() => CreateProjectEnv11$outboundSchema), - z.lazy(() => CreateProjectEnv12$outboundSchema), - ]), - z.array( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + upsert: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ smartUnion([ - z.lazy(() => CreateProjectEnv21$outboundSchema), - z.lazy(() => CreateProjectEnv22$outboundSchema), + z.lazy(() => CreateProjectEnv11$outboundSchema), + z.lazy(() => CreateProjectEnv12$outboundSchema), ]), - ), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); + z.array( + smartUnion([ + z.lazy(() => CreateProjectEnv21$outboundSchema), + z.lazy(() => CreateProjectEnv22$outboundSchema), + ]), + ), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createProjectEnvRequestToJSON( createProjectEnvRequest: CreateProjectEnvRequest, @@ -1078,10 +1094,12 @@ export const CreateProjectEnvContentHintProjects17$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function createProjectEnvContentHintProjects17FromJSON( jsonString: string, @@ -1099,13 +1117,15 @@ export const CreateProjectEnvContentHintProjects16$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function createProjectEnvContentHintProjects16FromJSON( jsonString: string, @@ -1123,10 +1143,12 @@ export const CreateProjectEnvContentHintProjects15$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function createProjectEnvContentHintProjects15FromJSON( jsonString: string, @@ -1144,10 +1166,12 @@ export const CreateProjectEnvContentHintProjects14$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function createProjectEnvContentHintProjects14FromJSON( jsonString: string, @@ -1165,10 +1189,12 @@ export const CreateProjectEnvContentHintProjects13$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function createProjectEnvContentHintProjects13FromJSON( jsonString: string, @@ -1186,10 +1212,12 @@ export const CreateProjectEnvContentHintProjects12$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function createProjectEnvContentHintProjects12FromJSON( jsonString: string, @@ -1207,10 +1235,12 @@ export const CreateProjectEnvContentHintProjects11$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function createProjectEnvContentHintProjects11FromJSON( jsonString: string, @@ -1228,10 +1258,12 @@ export const CreateProjectEnvContentHintProjects10$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function createProjectEnvContentHintProjects10FromJSON( jsonString: string, @@ -1249,10 +1281,12 @@ export const CreateProjectEnvContentHintProjects9$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function createProjectEnvContentHintProjects9FromJSON( jsonString: string, @@ -1270,10 +1304,12 @@ export const CreateProjectEnvContentHintProjects8$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function createProjectEnvContentHintProjects8FromJSON( jsonString: string, @@ -1291,10 +1327,12 @@ export const CreateProjectEnvContentHintProjects7$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function createProjectEnvContentHintProjects7FromJSON( jsonString: string, @@ -1312,10 +1350,12 @@ export const CreateProjectEnvContentHintProjects6$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function createProjectEnvContentHintProjects6FromJSON( jsonString: string, @@ -1333,10 +1373,12 @@ export const CreateProjectEnvContentHintProjects5$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function createProjectEnvContentHintProjects5FromJSON( jsonString: string, @@ -1354,10 +1396,12 @@ export const CreateProjectEnvContentHintProjects4$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function createProjectEnvContentHintProjects4FromJSON( jsonString: string, @@ -1375,10 +1419,12 @@ export const CreateProjectEnvContentHintProjects3$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function createProjectEnvContentHintProjects3FromJSON( jsonString: string, @@ -1396,10 +1442,12 @@ export const CreateProjectEnvContentHintProjects2$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function createProjectEnvContentHintProjects2FromJSON( jsonString: string, @@ -1417,10 +1465,12 @@ export const CreateProjectEnvContentHintProjects1$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjects1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function createProjectEnvContentHintProjects1FromJSON( jsonString: string, @@ -1438,25 +1488,27 @@ export const CreateProjectEnvCreatedContentHint$inboundSchema: z.ZodType< CreateProjectEnvCreatedContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects16$inboundSchema), - z.lazy(() => CreateProjectEnvContentHintProjects17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects14$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects16$inboundSchema), + z.lazy(() => CreateProjectEnvContentHintProjects17$inboundSchema), + ]) +); export function createProjectEnvCreatedContentHintFromJSON( jsonString: string, @@ -1472,15 +1524,19 @@ export function createProjectEnvCreatedContentHintFromJSON( /** @internal */ export const CreateProjectEnvCreatedProjectsType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvCreatedProjectsType -> = z.nativeEnum(CreateProjectEnvCreatedProjectsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvCreatedProjectsType) +); /** @internal */ export const CreateProjectEnvCreatedInternalContentHint$inboundSchema: z.ZodType = - z.object({ - encryptedValue: types.string(), - type: CreateProjectEnvCreatedProjectsType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: CreateProjectEnvCreatedProjectsType$inboundSchema, + }) + ); export function createProjectEnvCreatedInternalContentHintFromJSON( jsonString: string, @@ -1501,17 +1557,21 @@ export function createProjectEnvCreatedInternalContentHintFromJSON( /** @internal */ export const CreateProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvTargetProjects2 -> = z.nativeEnum(CreateProjectEnvTargetProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvTargetProjects2) +); /** @internal */ export const CreateProjectEnvCreatedTarget$inboundSchema: z.ZodType< CreateProjectEnvCreatedTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - CreateProjectEnvTargetProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateProjectEnvTargetProjects2$inboundSchema, + ]) +); export function createProjectEnvCreatedTargetFromJSON( jsonString: string, @@ -1526,23 +1586,27 @@ export function createProjectEnvCreatedTargetFromJSON( /** @internal */ export const CreateProjectEnvCreatedType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvCreatedType -> = z.nativeEnum(CreateProjectEnvCreatedType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvCreatedType) +); /** @internal */ export const CreateProjectEnvCreatedVisibility$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvCreatedVisibility -> = z.nativeEnum(CreateProjectEnvCreatedVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvCreatedVisibility) +); /** @internal */ export const Created2$inboundSchema: z.ZodType< Created2, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => CreateProjectEnvContentHintProjects1$inboundSchema), z.lazy(() => CreateProjectEnvContentHintProjects2$inboundSchema), z.lazy(() => CreateProjectEnvContentHintProjects3$inboundSchema), @@ -1560,36 +1624,36 @@ export const Created2$inboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), z.lazy(() => CreateProjectEnvContentHintProjects16$inboundSchema), z.lazy(() => CreateProjectEnvContentHintProjects17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectEnvCreatedInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(types.string()), - CreateProjectEnvTargetProjects2$inboundSchema, - ]), - ), - type: CreateProjectEnvCreatedType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(CreateProjectEnvCreatedVisibility$inboundSchema), - vsmValue: types.optional(types.string()), - system: types.optional(types.boolean()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + CreateProjectEnvCreatedInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(types.string()), + CreateProjectEnvTargetProjects2$inboundSchema, + ]), + ), + type: CreateProjectEnvCreatedType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(CreateProjectEnvCreatedVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + system: types.optional(types.boolean()), + }) +); export function created2FromJSON( jsonString: string, @@ -1606,10 +1670,12 @@ export const CreateProjectEnvContentHint17$inboundSchema: z.ZodType< CreateProjectEnvContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function createProjectEnvContentHint17FromJSON( jsonString: string, @@ -1626,13 +1692,15 @@ export const CreateProjectEnvContentHint16$inboundSchema: z.ZodType< CreateProjectEnvContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function createProjectEnvContentHint16FromJSON( jsonString: string, @@ -1649,10 +1717,12 @@ export const CreateProjectEnvContentHint15$inboundSchema: z.ZodType< CreateProjectEnvContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function createProjectEnvContentHint15FromJSON( jsonString: string, @@ -1669,10 +1739,12 @@ export const CreateProjectEnvContentHint14$inboundSchema: z.ZodType< CreateProjectEnvContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function createProjectEnvContentHint14FromJSON( jsonString: string, @@ -1689,10 +1761,12 @@ export const CreateProjectEnvContentHint13$inboundSchema: z.ZodType< CreateProjectEnvContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function createProjectEnvContentHint13FromJSON( jsonString: string, @@ -1709,10 +1783,12 @@ export const CreateProjectEnvContentHint12$inboundSchema: z.ZodType< CreateProjectEnvContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function createProjectEnvContentHint12FromJSON( jsonString: string, @@ -1729,10 +1805,12 @@ export const CreateProjectEnvContentHint11$inboundSchema: z.ZodType< CreateProjectEnvContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function createProjectEnvContentHint11FromJSON( jsonString: string, @@ -1749,10 +1827,12 @@ export const CreateProjectEnvContentHint10$inboundSchema: z.ZodType< CreateProjectEnvContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function createProjectEnvContentHint10FromJSON( jsonString: string, @@ -1769,10 +1849,12 @@ export const CreateProjectEnvContentHint9$inboundSchema: z.ZodType< CreateProjectEnvContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function createProjectEnvContentHint9FromJSON( jsonString: string, @@ -1789,10 +1871,12 @@ export const CreateProjectEnvContentHint8$inboundSchema: z.ZodType< CreateProjectEnvContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function createProjectEnvContentHint8FromJSON( jsonString: string, @@ -1809,10 +1893,12 @@ export const CreateProjectEnvContentHint7$inboundSchema: z.ZodType< CreateProjectEnvContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function createProjectEnvContentHint7FromJSON( jsonString: string, @@ -1829,10 +1915,12 @@ export const CreateProjectEnvContentHint6$inboundSchema: z.ZodType< CreateProjectEnvContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function createProjectEnvContentHint6FromJSON( jsonString: string, @@ -1849,10 +1937,12 @@ export const CreateProjectEnvContentHint5$inboundSchema: z.ZodType< CreateProjectEnvContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function createProjectEnvContentHint5FromJSON( jsonString: string, @@ -1869,10 +1959,12 @@ export const CreateProjectEnvContentHint4$inboundSchema: z.ZodType< CreateProjectEnvContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function createProjectEnvContentHint4FromJSON( jsonString: string, @@ -1889,10 +1981,12 @@ export const CreateProjectEnvContentHint3$inboundSchema: z.ZodType< CreateProjectEnvContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function createProjectEnvContentHint3FromJSON( jsonString: string, @@ -1909,10 +2003,12 @@ export const CreateProjectEnvContentHint2$inboundSchema: z.ZodType< CreateProjectEnvContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function createProjectEnvContentHint2FromJSON( jsonString: string, @@ -1929,10 +2025,12 @@ export const CreateProjectEnvContentHint1$inboundSchema: z.ZodType< CreateProjectEnvContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function createProjectEnvContentHint1FromJSON( jsonString: string, @@ -1949,25 +2047,27 @@ export const CreatedContentHint$inboundSchema: z.ZodType< CreatedContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint16$inboundSchema), - z.lazy(() => CreateProjectEnvContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint4$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint5$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint6$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint7$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint8$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint9$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint10$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint11$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint12$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint14$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint16$inboundSchema), + z.lazy(() => CreateProjectEnvContentHint17$inboundSchema), + ]) +); export function createdContentHintFromJSON( jsonString: string, @@ -1981,18 +2081,22 @@ export function createdContentHintFromJSON( /** @internal */ export const CreateProjectEnvCreatedProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvCreatedProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvCreatedProjectsResponseType) + ); /** @internal */ export const CreatedInternalContentHint$inboundSchema: z.ZodType< CreatedInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: CreateProjectEnvCreatedProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: CreateProjectEnvCreatedProjectsResponseType$inboundSchema, + }) +); export function createdInternalContentHintFromJSON( jsonString: string, @@ -2007,22 +2111,24 @@ export function createdInternalContentHintFromJSON( /** @internal */ export const CreateProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvTarget2 -> = z.nativeEnum(CreateProjectEnvTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnvTarget2)); /** @internal */ export const CreateProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvTarget1 -> = z.nativeEnum(CreateProjectEnvTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnvTarget1)); /** @internal */ export const CreatedTarget$inboundSchema: z.ZodType< CreatedTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateProjectEnvTarget1$inboundSchema), - CreateProjectEnvTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateProjectEnvTarget1$inboundSchema), + CreateProjectEnvTarget2$inboundSchema, + ]) +); export function createdTargetFromJSON( jsonString: string, @@ -2035,24 +2141,24 @@ export function createdTargetFromJSON( } /** @internal */ -export const CreatedType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CreatedType); +export const CreatedType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreatedType)); /** @internal */ export const CreatedVisibility$inboundSchema: z.ZodNativeEnum< typeof CreatedVisibility -> = z.nativeEnum(CreatedVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreatedVisibility)); /** @internal */ export const Created1$inboundSchema: z.ZodType< Created1, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => CreateProjectEnvContentHint1$inboundSchema), z.lazy(() => CreateProjectEnvContentHint2$inboundSchema), z.lazy(() => CreateProjectEnvContentHint3$inboundSchema), @@ -2070,36 +2176,36 @@ export const Created1$inboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), z.lazy(() => CreateProjectEnvContentHint16$inboundSchema), z.lazy(() => CreateProjectEnvContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => CreatedInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(CreateProjectEnvTarget1$inboundSchema), - CreateProjectEnvTarget2$inboundSchema, - ]), - ), - type: CreatedType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(CreatedVisibility$inboundSchema), - vsmValue: types.optional(types.string()), - system: types.optional(types.boolean()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + CreatedInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(CreateProjectEnvTarget1$inboundSchema), + CreateProjectEnvTarget2$inboundSchema, + ]), + ), + type: CreatedType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(CreatedVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + system: types.optional(types.boolean()), + }) +); export function created1FromJSON( jsonString: string, @@ -2116,10 +2222,12 @@ export const CreateProjectEnvCreated$inboundSchema: z.ZodType< CreateProjectEnvCreated, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Created1$inboundSchema), - z.array(z.lazy(() => Created2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Created1$inboundSchema), + z.array(z.lazy(() => Created2$inboundSchema)), + ]) +); export function createProjectEnvCreatedFromJSON( jsonString: string, @@ -2133,23 +2241,29 @@ export function createProjectEnvCreatedFromJSON( /** @internal */ export const CreateProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvTargetProjectsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvTargetProjectsResponse2) + ); /** @internal */ export const CreateProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvTargetProjects1 -> = z.nativeEnum(CreateProjectEnvTargetProjects1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvTargetProjects1) +); /** @internal */ export const CreateProjectEnvTarget$inboundSchema: z.ZodType< CreateProjectEnvTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateProjectEnvTargetProjects1$inboundSchema), - CreateProjectEnvTargetProjectsResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateProjectEnvTargetProjects1$inboundSchema), + CreateProjectEnvTargetProjectsResponse2$inboundSchema, + ]) +); export function createProjectEnvTargetFromJSON( jsonString: string, @@ -2164,14 +2278,16 @@ export function createProjectEnvTargetFromJSON( /** @internal */ export const CreateProjectEnvValue2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvValue2 -> = z.nativeEnum(CreateProjectEnvValue2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnvValue2)); /** @internal */ export const CreateProjectEnvValue$inboundSchema: z.ZodType< CreateProjectEnvValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(CreateProjectEnvValue2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(CreateProjectEnvValue2$inboundSchema)]) +); export function createProjectEnvValueFromJSON( jsonString: string, @@ -2188,26 +2304,31 @@ export const CreateProjectEnvError$inboundSchema: z.ZodType< CreateProjectEnvError, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - envVarId: types.optional(types.string()), - envVarKey: types.optional(types.string()), - gitBranch: types.optional(types.string()), - key: types.optional(types.string()), - link: types.optional(types.string()), - message: types.string(), - project: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(CreateProjectEnvTargetProjects1$inboundSchema), - CreateProjectEnvTargetProjectsResponse2$inboundSchema, - ]), - ), - value: types.optional( - smartUnion([types.string(), z.array(CreateProjectEnvValue2$inboundSchema)]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + envVarId: types.optional(types.string()), + envVarKey: types.optional(types.string()), + gitBranch: types.optional(types.string()), + key: types.optional(types.string()), + link: types.optional(types.string()), + message: types.string(), + project: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(CreateProjectEnvTargetProjects1$inboundSchema), + CreateProjectEnvTargetProjectsResponse2$inboundSchema, + ]), + ), + value: types.optional( + smartUnion([ + types.string(), + z.array(CreateProjectEnvValue2$inboundSchema), + ]), + ), + }) +); export function createProjectEnvErrorFromJSON( jsonString: string, @@ -2224,9 +2345,11 @@ export const CreateProjectEnvFailed$inboundSchema: z.ZodType< CreateProjectEnvFailed, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => CreateProjectEnvError$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateProjectEnvError$inboundSchema), + }) +); export function createProjectEnvFailedFromJSON( jsonString: string, @@ -2243,15 +2366,17 @@ export const CreateProjectEnvResponseBody$inboundSchema: z.ZodType< CreateProjectEnvResponseBody, z.ZodTypeDef, unknown -> = z.object({ - created: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.optional(smartUnion([ z.lazy(() => Created1$inboundSchema), z.array(z.lazy(() => Created2$inboundSchema)), - ]), - ), - failed: z.array(z.lazy(() => CreateProjectEnvFailed$inboundSchema)), -}); + ])), + failed: z.array(z.lazy(() => + CreateProjectEnvFailed$inboundSchema + )), + }) +); export function createProjectEnvResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createprojecthasprojectsvalue.ts b/src/models/createprojecthasprojectsvalue.ts index 425db24935..7c7df617cf 100644 --- a/src/models/createprojecthasprojectsvalue.ts +++ b/src/models/createprojecthasprojectsvalue.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1765,8 +1765,8 @@ export type CreateProjectHasProjectsValue = { }; /** @internal */ -export const Timeframe$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Timeframe); +export const Timeframe$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Timeframe)); /** @internal */ export type Expiration$Outbound = { @@ -1778,21 +1778,23 @@ export const Expiration$outboundSchema: z.ZodType< Expiration$Outbound, z.ZodTypeDef, Expiration -> = z.object({ - timeframe: Timeframe$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + timeframe: Timeframe$outboundSchema, + }) +); export function expirationToJSON(expiration: Expiration): string { return JSON.stringify(Expiration$outboundSchema.parse(expiration)); } /** @internal */ -export const Target2$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Target2); +export const Target2$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Target2)); /** @internal */ -export const Target1$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Target1); +export const Target1$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Target1)); /** @internal */ export type CreateProjectTarget$Outbound = string | Array; @@ -1802,7 +1804,9 @@ export const CreateProjectTarget$outboundSchema: z.ZodType< CreateProjectTarget$Outbound, z.ZodTypeDef, CreateProjectTarget -> = smartUnion([Target1$outboundSchema, z.array(Target2$outboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([Target1$outboundSchema, z.array(Target2$outboundSchema)]) +); export function createProjectTargetToJSON( createProjectTarget: CreateProjectTarget, @@ -1815,7 +1819,7 @@ export function createProjectTargetToJSON( /** @internal */ export const CreateProjectType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectType -> = z.nativeEnum(CreateProjectType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectType)); /** @internal */ export type EnvironmentVariables$Outbound = { @@ -1831,13 +1835,18 @@ export const EnvironmentVariables$outboundSchema: z.ZodType< EnvironmentVariables$Outbound, z.ZodTypeDef, EnvironmentVariables -> = z.object({ - key: z.string(), - target: smartUnion([Target1$outboundSchema, z.array(Target2$outboundSchema)]), - gitBranch: z.string().optional(), - type: CreateProjectType$outboundSchema.optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + target: smartUnion([ + Target1$outboundSchema, + z.array(Target2$outboundSchema), + ]), + gitBranch: z.string().optional(), + type: CreateProjectType$outboundSchema.optional(), + value: z.string(), + }) +); export function environmentVariablesToJSON( environmentVariables: EnvironmentVariables, @@ -1850,12 +1859,12 @@ export function environmentVariablesToJSON( /** @internal */ export const CreateProjectFramework$outboundSchema: z.ZodNativeEnum< typeof CreateProjectFramework -> = z.nativeEnum(CreateProjectFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectFramework)); /** @internal */ export const CreateProjectProjectsType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsType -> = z.nativeEnum(CreateProjectProjectsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectProjectsType)); /** @internal */ export type GitRepository$Outbound = { @@ -1868,10 +1877,12 @@ export const GitRepository$outboundSchema: z.ZodType< GitRepository$Outbound, z.ZodTypeDef, GitRepository -> = z.object({ - repo: z.string(), - type: CreateProjectProjectsType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + repo: z.string(), + type: CreateProjectProjectsType$outboundSchema, + }) +); export function gitRepositoryToJSON(gitRepository: GitRepository): string { return JSON.stringify(GitRepository$outboundSchema.parse(gitRepository)); @@ -1880,7 +1891,9 @@ export function gitRepositoryToJSON(gitRepository: GitRepository): string { /** @internal */ export const CreateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectDeploymentType -> = z.nativeEnum(CreateProjectDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectDeploymentType) +); /** @internal */ export type CreateProjectSsoProtection$Outbound = { @@ -1892,9 +1905,11 @@ export const CreateProjectSsoProtection$outboundSchema: z.ZodType< CreateProjectSsoProtection$Outbound, z.ZodTypeDef, CreateProjectSsoProtection -> = z.object({ - deploymentType: CreateProjectDeploymentType$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: CreateProjectDeploymentType$outboundSchema, + }) +); export function createProjectSsoProtectionToJSON( createProjectSsoProtection: CreateProjectSsoProtection, @@ -1907,12 +1922,14 @@ export function createProjectSsoProtectionToJSON( /** @internal */ export const CreateProjectRegion$outboundSchema: z.ZodNativeEnum< typeof CreateProjectRegion -> = z.nativeEnum(CreateProjectRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectRegion)); /** @internal */ export const CreateProjectFailoverRegions$outboundSchema: z.ZodNativeEnum< typeof CreateProjectFailoverRegions -> = z.nativeEnum(CreateProjectFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectFailoverRegions) +); /** @internal */ export type Sandbox$Outbound = { @@ -1925,11 +1942,13 @@ export const Sandbox$outboundSchema: z.ZodType< Sandbox$Outbound, z.ZodTypeDef, Sandbox -> = z.object({ - region: CreateProjectRegion$outboundSchema.optional(), - failoverRegions: z.array(CreateProjectFailoverRegions$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + region: CreateProjectRegion$outboundSchema.optional(), + failoverRegions: z.array(CreateProjectFailoverRegions$outboundSchema) + .optional(), + }) +); export function sandboxToJSON(sandbox: Sandbox): string { return JSON.stringify(Sandbox$outboundSchema.parse(sandbox)); @@ -1938,7 +1957,7 @@ export function sandboxToJSON(sandbox: Sandbox): string { /** @internal */ export const CreateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< typeof CreateProjectIssuerMode -> = z.nativeEnum(CreateProjectIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectIssuerMode)); /** @internal */ export type OidcTokenConfig$Outbound = { @@ -1951,10 +1970,12 @@ export const OidcTokenConfig$outboundSchema: z.ZodType< OidcTokenConfig$Outbound, z.ZodTypeDef, OidcTokenConfig -> = z.object({ - enabled: z.boolean().default(true), - issuerMode: CreateProjectIssuerMode$outboundSchema.default("team"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean().default(true), + issuerMode: CreateProjectIssuerMode$outboundSchema.default("team"), + }) +); export function oidcTokenConfigToJSON( oidcTokenConfig: OidcTokenConfig, @@ -1965,26 +1986,26 @@ export function oidcTokenConfigToJSON( /** @internal */ export const BuildMachineType$outboundSchema: z.ZodNativeEnum< typeof BuildMachineType -> = z.nativeEnum(BuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuildMachineType)); /** @internal */ export const FunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum< typeof FunctionDefaultMemoryType -> = z.nativeEnum(FunctionDefaultMemoryType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FunctionDefaultMemoryType)); /** @internal */ export const BuildMachineSelection$outboundSchema: z.ZodNativeEnum< typeof BuildMachineSelection -> = z.nativeEnum(BuildMachineSelection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuildMachineSelection)); /** @internal */ export const BuildMachineElasticReason$outboundSchema: z.ZodNativeEnum< typeof BuildMachineElasticReason -> = z.nativeEnum(BuildMachineElasticReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuildMachineElasticReason)); /** @internal */ -export const Direction$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Direction); +export const Direction$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Direction)); /** @internal */ export type BuildMachineElasticTransition$Outbound = { @@ -1998,11 +2019,13 @@ export const BuildMachineElasticTransition$outboundSchema: z.ZodType< BuildMachineElasticTransition$Outbound, z.ZodTypeDef, BuildMachineElasticTransition -> = z.object({ - at: z.number(), - direction: Direction$outboundSchema, - algorithmVersion: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + at: z.number(), + direction: Direction$outboundSchema, + algorithmVersion: z.string(), + }) +); export function buildMachineElasticTransitionToJSON( buildMachineElasticTransition: BuildMachineElasticTransition, @@ -2017,7 +2040,7 @@ export function buildMachineElasticTransitionToJSON( /** @internal */ export const CreateProjectConfiguration$outboundSchema: z.ZodNativeEnum< typeof CreateProjectConfiguration -> = z.nativeEnum(CreateProjectConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectConfiguration)); /** @internal */ export type CreateProjectBuildQueue$Outbound = { @@ -2029,9 +2052,11 @@ export const CreateProjectBuildQueue$outboundSchema: z.ZodType< CreateProjectBuildQueue$Outbound, z.ZodTypeDef, CreateProjectBuildQueue -> = z.object({ - configuration: CreateProjectConfiguration$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: CreateProjectConfiguration$outboundSchema.optional(), + }) +); export function createProjectBuildQueueToJSON( createProjectBuildQueue: CreateProjectBuildQueue, @@ -2066,26 +2091,28 @@ export const CreateProjectResourceConfig$outboundSchema: z.ZodType< CreateProjectResourceConfig$Outbound, z.ZodTypeDef, CreateProjectResourceConfig -> = z.object({ - buildMachineType: BuildMachineType$outboundSchema.optional(), - fluid: z.boolean().optional(), - functionDefaultRegions: z.array(z.string()).optional(), - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: FunctionDefaultMemoryType$outboundSchema - .optional(), - functionZeroConfigFailover: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), - buildMachineSelection: BuildMachineSelection$outboundSchema.optional(), - buildMachineElasticLastUpdated: z.number().optional(), - buildMachineElasticReason: BuildMachineElasticReason$outboundSchema - .optional(), - buildMachineElasticTransition: z.lazy(() => - BuildMachineElasticTransition$outboundSchema - ).optional(), - isNSNBDisabled: z.boolean().optional(), - buildQueue: z.lazy(() => CreateProjectBuildQueue$outboundSchema).optional(), - enableFunctionsBeta: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineType: BuildMachineType$outboundSchema.optional(), + fluid: z.boolean().optional(), + functionDefaultRegions: z.array(z.string()).optional(), + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: FunctionDefaultMemoryType$outboundSchema + .optional(), + functionZeroConfigFailover: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), + buildMachineSelection: BuildMachineSelection$outboundSchema.optional(), + buildMachineElasticLastUpdated: z.number().optional(), + buildMachineElasticReason: BuildMachineElasticReason$outboundSchema + .optional(), + buildMachineElasticTransition: z.lazy(() => + BuildMachineElasticTransition$outboundSchema + ).optional(), + isNSNBDisabled: z.boolean().optional(), + buildQueue: z.lazy(() => CreateProjectBuildQueue$outboundSchema).optional(), + enableFunctionsBeta: z.boolean().optional(), + }) +); export function createProjectResourceConfigToJSON( createProjectResourceConfig: CreateProjectResourceConfig, @@ -2130,37 +2157,39 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType< CreateProjectRequestBody$Outbound, z.ZodTypeDef, CreateProjectRequestBody -> = z.object({ - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - expiration: z.lazy(() => Expiration$outboundSchema).optional(), - previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), - previewDeploymentSuffix: z.nullable(z.string()).optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - devCommand: z.nullable(z.string()).optional(), - environmentVariables: z.array( - z.lazy(() => EnvironmentVariables$outboundSchema), - ).optional(), - framework: CreateProjectFramework$outboundSchema.optional(), - gitRepository: z.lazy(() => GitRepository$outboundSchema).optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string(), - skipGitConnectDuringLink: z.boolean().optional(), - ssoProtection: z.nullable( - z.lazy(() => CreateProjectSsoProtection$outboundSchema), - ).optional(), - sandbox: z.lazy(() => Sandbox$outboundSchema).optional(), - outputDirectory: z.nullable(z.string()).optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - oidcTokenConfig: z.lazy(() => OidcTokenConfig$outboundSchema).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - resourceConfig: z.lazy(() => CreateProjectResourceConfig$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + expiration: z.lazy(() => Expiration$outboundSchema).optional(), + previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + devCommand: z.nullable(z.string()).optional(), + environmentVariables: z.array( + z.lazy(() => EnvironmentVariables$outboundSchema), + ).optional(), + framework: CreateProjectFramework$outboundSchema.optional(), + gitRepository: z.lazy(() => GitRepository$outboundSchema).optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string(), + skipGitConnectDuringLink: z.boolean().optional(), + ssoProtection: z.nullable( + z.lazy(() => CreateProjectSsoProtection$outboundSchema), + ).optional(), + sandbox: z.lazy(() => Sandbox$outboundSchema).optional(), + outputDirectory: z.nullable(z.string()).optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + oidcTokenConfig: z.lazy(() => OidcTokenConfig$outboundSchema).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + resourceConfig: z.lazy(() => CreateProjectResourceConfig$outboundSchema) + .optional(), + }) +); export function createProjectRequestBodyToJSON( createProjectRequestBody: CreateProjectRequestBody, @@ -2182,15 +2211,18 @@ export const CreateProjectRequest$outboundSchema: z.ZodType< CreateProjectRequest$Outbound, z.ZodTypeDef, CreateProjectRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateProjectRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateProjectRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createProjectRequestToJSON( createProjectRequest: CreateProjectRequest, @@ -2203,14 +2235,16 @@ export function createProjectRequestToJSON( /** @internal */ export const CreateProjectConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof CreateProjectConfiguredBy -> = z.nativeEnum(CreateProjectConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectConfiguredBy)); /** @internal */ export const CreateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< CreateProjectProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function createProjectProjectsAliasAssignedFromJSON( jsonString: string, @@ -2228,10 +2262,12 @@ export const CreateProjectProjectsResponseAliasError$inboundSchema: z.ZodType< CreateProjectProjectsResponseAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createProjectProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -2253,8 +2289,10 @@ export function createProjectProjectsResponseAliasErrorFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType, + ) ); /** @internal */ @@ -2263,11 +2301,13 @@ export const CreateProjectProjectsResponse200BranchMatcher$inboundSchema: CreateProjectProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType$inboundSchema, + }) + ); export function createProjectProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -2290,11 +2330,13 @@ export const CreateProjectProjectsResponseBuilds$inboundSchema: z.ZodType< CreateProjectProjectsResponseBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function createProjectProjectsResponseBuildsFromJSON( jsonString: string, @@ -2309,26 +2351,32 @@ export function createProjectProjectsResponseBuildsFromJSON( /** @internal */ export const CreateProjectProjectsResponseChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseChecksConclusion) + ); /** @internal */ export const CreateProjectProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseChecksState) + ); /** @internal */ export const CreateProjectProjectsResponse200Creator$inboundSchema: z.ZodType< CreateProjectProjectsResponse200Creator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function createProjectProjectsResponse200CreatorFromJSON( jsonString: string, @@ -2352,29 +2400,31 @@ export const CreateProjectProjectsResponseOidcTokenClaims$inboundSchema: CreateProjectProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function createProjectProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -2395,24 +2445,32 @@ export function createProjectProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const CreateProjectProjectsResponsePlan$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponsePlan -> = z.nativeEnum(CreateProjectProjectsResponsePlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponsePlan) +); /** @internal */ export const CreateProjectProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseReadyState) + ); /** @internal */ export const CreateProjectProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseReadySubstate) + ); /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ @@ -2420,62 +2478,64 @@ export const CreateProjectDeployment$inboundSchema: z.ZodType< CreateProjectDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => CreateProjectProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => CreateProjectProjectsResponse200BranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => CreateProjectProjectsResponseBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - CreateProjectProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - CreateProjectProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => CreateProjectProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => CreateProjectProjectsResponseOidcTokenClaims$inboundSchema), - ), - plan: CreateProjectProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: CreateProjectProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - CreateProjectProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => CreateProjectProjectsResponseAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => CreateProjectProjectsResponse200BranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => CreateProjectProjectsResponseBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + CreateProjectProjectsResponseChecksConclusion$inboundSchema, + ), + checksState: types.optional( + CreateProjectProjectsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => CreateProjectProjectsResponse200Creator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => CreateProjectProjectsResponseOidcTokenClaims$inboundSchema), + ), + plan: CreateProjectProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: CreateProjectProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + CreateProjectProjectsResponseReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function createProjectDeploymentFromJSON( jsonString: string, @@ -2490,30 +2550,34 @@ export function createProjectDeploymentFromJSON( /** @internal */ export const CreateProjectEnvironment$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvironment -> = z.nativeEnum(CreateProjectEnvironment); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnvironment)); /** @internal */ export const CreateProjectProjectsTarget$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsTarget -> = z.nativeEnum(CreateProjectProjectsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsTarget) +); /** @internal */ -export const Alias$inboundSchema: z.ZodType = z - .object({ - configuredBy: z.nullable(CreateProjectConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => CreateProjectDeployment$inboundSchema), - ), - domain: types.string(), - environment: CreateProjectEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: CreateProjectProjectsTarget$inboundSchema, - }); +export const Alias$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(CreateProjectConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => CreateProjectDeployment$inboundSchema), + ), + domain: types.string(), + environment: CreateProjectEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: CreateProjectProjectsTarget$inboundSchema, + }) + ); export function aliasFromJSON( jsonString: string, @@ -2530,15 +2594,17 @@ export const Analytics$inboundSchema: z.ZodType< Analytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function analyticsFromJSON( jsonString: string, @@ -2551,10 +2617,12 @@ export function analyticsFromJSON( } /** @internal */ -export const Blobs$inboundSchema: z.ZodType = z - .object({ - isDefaultApp: types.optional(types.boolean()), - }); +export const Blobs$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) + ); export function blobsFromJSON( jsonString: string, @@ -2571,10 +2639,12 @@ export const CreateProjectAws$inboundSchema: z.ZodType< CreateProjectAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function createProjectAwsFromJSON( jsonString: string, @@ -2589,14 +2659,16 @@ export function createProjectAwsFromJSON( /** @internal */ export const CreateProjectEnvId2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvId2 -> = z.nativeEnum(CreateProjectEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectEnvId2)); /** @internal */ export const CreateProjectEnvId$inboundSchema: z.ZodType< CreateProjectEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), CreateProjectEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), CreateProjectEnvId2$inboundSchema]) +); export function createProjectEnvIdFromJSON( jsonString: string, @@ -2613,16 +2685,18 @@ export const CreateProjectConnectConfigurations$inboundSchema: z.ZodType< CreateProjectConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => CreateProjectAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), CreateProjectEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => CreateProjectAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), CreateProjectEnvId2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function createProjectConnectConfigurationsFromJSON( jsonString: string, @@ -2640,9 +2714,11 @@ export const Creator5$inboundSchema: z.ZodType< Creator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function creator5FromJSON( jsonString: string, @@ -2659,10 +2735,12 @@ export const CreatorIntegration$inboundSchema: z.ZodType< CreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function creatorIntegrationFromJSON( jsonString: string, @@ -2679,10 +2757,12 @@ export const Creator4$inboundSchema: z.ZodType< Creator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => CreatorIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => CreatorIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function creator4FromJSON( jsonString: string, @@ -2699,10 +2779,12 @@ export const CreatorApp$inboundSchema: z.ZodType< CreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function creatorAppFromJSON( jsonString: string, @@ -2719,10 +2801,12 @@ export const Creator3$inboundSchema: z.ZodType< Creator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => CreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => CreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function creator3FromJSON( jsonString: string, @@ -2739,9 +2823,11 @@ export const CreatorProject$inboundSchema: z.ZodType< CreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function creatorProjectFromJSON( jsonString: string, @@ -2758,10 +2844,12 @@ export const Creator2$inboundSchema: z.ZodType< Creator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => CreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => CreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function creator2FromJSON( jsonString: string, @@ -2778,10 +2866,12 @@ export const CreateProjectViaIntegration$inboundSchema: z.ZodType< CreateProjectViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function createProjectViaIntegrationFromJSON( jsonString: string, @@ -2798,10 +2888,12 @@ export const CreateProjectVia2$inboundSchema: z.ZodType< CreateProjectVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => CreateProjectViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => CreateProjectViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function createProjectVia2FromJSON( jsonString: string, @@ -2818,10 +2910,12 @@ export const CreateProjectViaApp$inboundSchema: z.ZodType< CreateProjectViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function createProjectViaAppFromJSON( jsonString: string, @@ -2838,10 +2932,12 @@ export const CreateProjectVia1$inboundSchema: z.ZodType< CreateProjectVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => CreateProjectViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => CreateProjectViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function createProjectVia1FromJSON( jsonString: string, @@ -2858,10 +2954,12 @@ export const CreatorVia$inboundSchema: z.ZodType< CreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectVia1$inboundSchema), - z.lazy(() => CreateProjectVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectVia1$inboundSchema), + z.lazy(() => CreateProjectVia2$inboundSchema), + ]) +); export function creatorViaFromJSON( jsonString: string, @@ -2878,9 +2976,11 @@ export const CreatorUser$inboundSchema: z.ZodType< CreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function creatorUserFromJSON( jsonString: string, @@ -2897,16 +2997,18 @@ export const Creator1$inboundSchema: z.ZodType< Creator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => CreateProjectVia1$inboundSchema), z.lazy(() => CreateProjectVia2$inboundSchema), - ]), - ), - user: z.lazy(() => CreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + CreatorUser$inboundSchema + ), + }) +); export function creator1FromJSON( jsonString: string, @@ -2923,13 +3025,15 @@ export const CreateProjectCreator$inboundSchema: z.ZodType< CreateProjectCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Creator1$inboundSchema), - z.lazy(() => Creator2$inboundSchema), - z.lazy(() => Creator3$inboundSchema), - z.lazy(() => Creator4$inboundSchema), - z.lazy(() => Creator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Creator1$inboundSchema), + z.lazy(() => Creator2$inboundSchema), + z.lazy(() => Creator3$inboundSchema), + z.lazy(() => Creator4$inboundSchema), + z.lazy(() => Creator5$inboundSchema), + ]) +); export function createProjectCreatorFromJSON( jsonString: string, @@ -2944,21 +3048,23 @@ export function createProjectCreatorFromJSON( /** @internal */ export const CreateProjectSource$inboundSchema: z.ZodNativeEnum< typeof CreateProjectSource -> = z.nativeEnum(CreateProjectSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectSource)); /** @internal */ export const Definitions$inboundSchema: z.ZodType< Definitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(CreateProjectSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(CreateProjectSource$inboundSchema), + }) +); export function definitionsFromJSON( jsonString: string, @@ -2975,13 +3081,15 @@ export const CreateProjectCrons$inboundSchema: z.ZodType< CreateProjectCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array(z.lazy(() => Definitions$inboundSchema)), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array(z.lazy(() => Definitions$inboundSchema)), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function createProjectCronsFromJSON( jsonString: string, @@ -2997,8 +3105,10 @@ export function createProjectCronsFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -3006,11 +3116,13 @@ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType< CreateProjectBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function createProjectBranchMatcherFromJSON( jsonString: string, @@ -3027,12 +3139,14 @@ export const CreateProjectVerification$inboundSchema: z.ZodType< CreateProjectVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function createProjectVerificationFromJSON( jsonString: string, @@ -3049,21 +3163,23 @@ export const CreateProjectDomains$inboundSchema: z.ZodType< CreateProjectDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => CreateProjectVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => CreateProjectVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function createProjectDomainsFromJSON( jsonString: string, @@ -3078,28 +3194,32 @@ export function createProjectDomainsFromJSON( /** @internal */ export const CreateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponseType -> = z.nativeEnum(CreateProjectProjectsResponseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseType) +); /** @internal */ export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType< CreateProjectCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => CreateProjectBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => CreateProjectDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: CreateProjectProjectsResponseType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => CreateProjectBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => CreateProjectDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: CreateProjectProjectsResponseType$inboundSchema, + updatedAt: types.number(), + }) +); export function createProjectCustomEnvironmentsFromJSON( jsonString: string, @@ -3116,11 +3236,13 @@ export const CreateProjectDataCache$inboundSchema: z.ZodType< CreateProjectDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function createProjectDataCacheFromJSON( jsonString: string, @@ -3134,23 +3256,26 @@ export function createProjectDataCacheFromJSON( /** @internal */ export const CreateProjectBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectBuildMachineElasticReason, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectBuildMachineElasticReason) + ); /** @internal */ export const CreateProjectDirection$inboundSchema: z.ZodNativeEnum< typeof CreateProjectDirection -> = z.nativeEnum(CreateProjectDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectDirection)); /** @internal */ export const CreateProjectBuildMachineElasticTransition$inboundSchema: z.ZodType = - z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: CreateProjectDirection$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: CreateProjectDirection$inboundSchema, + }) + ); export function createProjectBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -3171,28 +3296,36 @@ export function createProjectBuildMachineElasticTransitionFromJSON( /** @internal */ export const CreateProjectBuildMachineSelection$inboundSchema: z.ZodNativeEnum< typeof CreateProjectBuildMachineSelection -> = z.nativeEnum(CreateProjectBuildMachineSelection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectBuildMachineSelection) +); /** @internal */ export const CreateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectBuildMachineType -> = z.nativeEnum(CreateProjectBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectBuildMachineType) +); /** @internal */ export const CreateProjectProjectsConfiguration$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsConfiguration -> = z.nativeEnum(CreateProjectProjectsConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsConfiguration) +); /** @internal */ export const CreateProjectProjectsResponseBuildQueue$inboundSchema: z.ZodType< CreateProjectProjectsResponseBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - CreateProjectProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + CreateProjectProjectsConfiguration$inboundSchema, + ), + }) +); export function createProjectProjectsResponseBuildQueueFromJSON( jsonString: string, @@ -3212,20 +3345,23 @@ export function createProjectProjectsResponseBuildQueueFromJSON( /** @internal */ export const CreateProjectFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectFunctionDefaultMemoryType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectFunctionDefaultMemoryType) + ); /** @internal */ export const ElasticBuildMachine4$inboundSchema: z.ZodType< ElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function elasticBuildMachine4FromJSON( jsonString: string, @@ -3242,11 +3378,13 @@ export const ElasticBuildMachine3$inboundSchema: z.ZodType< ElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function elasticBuildMachine3FromJSON( jsonString: string, @@ -3263,11 +3401,13 @@ export const ElasticBuildMachine2$inboundSchema: z.ZodType< ElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function elasticBuildMachine2FromJSON( jsonString: string, @@ -3284,11 +3424,13 @@ export const ElasticBuildMachine1$inboundSchema: z.ZodType< ElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function elasticBuildMachine1FromJSON( jsonString: string, @@ -3305,12 +3447,14 @@ export const ElasticBuildMachine$inboundSchema: z.ZodType< ElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ElasticBuildMachine1$inboundSchema), - z.lazy(() => ElasticBuildMachine2$inboundSchema), - z.lazy(() => ElasticBuildMachine3$inboundSchema), - z.lazy(() => ElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ElasticBuildMachine1$inboundSchema), + z.lazy(() => ElasticBuildMachine2$inboundSchema), + z.lazy(() => ElasticBuildMachine3$inboundSchema), + z.lazy(() => ElasticBuildMachine4$inboundSchema), + ]) +); export function elasticBuildMachineFromJSON( jsonString: string, @@ -3327,40 +3471,44 @@ export const DefaultResourceConfig$inboundSchema: z.ZodType< DefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - CreateProjectBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => CreateProjectBuildMachineElasticTransition$inboundSchema), - ), - buildMachineSelection: types.optional( - CreateProjectBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional(CreateProjectBuildMachineType$inboundSchema), - buildQueue: types.optional( - z.lazy(() => CreateProjectProjectsResponseBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - CreateProjectFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ - z.lazy(() => ElasticBuildMachine1$inboundSchema), - z.lazy(() => ElasticBuildMachine2$inboundSchema), - z.lazy(() => ElasticBuildMachine3$inboundSchema), - z.lazy(() => ElasticBuildMachine4$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + CreateProjectBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional( + z.lazy(() => CreateProjectBuildMachineElasticTransition$inboundSchema), + ), + buildMachineSelection: types.optional( + CreateProjectBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + CreateProjectBuildMachineType$inboundSchema, + ), + buildQueue: types.optional( + z.lazy(() => CreateProjectProjectsResponseBuildQueue$inboundSchema), + ), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + CreateProjectFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional( + z.union([ + z.lazy(() => ElasticBuildMachine1$inboundSchema), + z.lazy(() => ElasticBuildMachine2$inboundSchema), + z.lazy(() => ElasticBuildMachine3$inboundSchema), + z.lazy(() => ElasticBuildMachine4$inboundSchema), + ]), + ), + }) +); export function defaultResourceConfigFromJSON( jsonString: string, @@ -3377,13 +3525,15 @@ export const DeploymentExpiration$inboundSchema: z.ZodType< DeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function deploymentExpirationFromJSON( jsonString: string, @@ -3400,10 +3550,12 @@ export const CreateProjectEnvironmentsProjects2$inboundSchema: z.ZodType< CreateProjectEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function createProjectEnvironmentsProjects2FromJSON( jsonString: string, @@ -3418,18 +3570,22 @@ export function createProjectEnvironmentsProjects2FromJSON( /** @internal */ export const CreateProjectEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectEnvironmentsProjectsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvironmentsProjectsTarget) + ); /** @internal */ export const CreateProjectEnvironments1$inboundSchema: z.ZodType< CreateProjectEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: CreateProjectEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: CreateProjectEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function createProjectEnvironments1FromJSON( jsonString: string, @@ -3446,10 +3602,12 @@ export const CreateProjectEnvironments$inboundSchema: z.ZodType< CreateProjectEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectEnvironments1$inboundSchema), - z.lazy(() => CreateProjectEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectEnvironments1$inboundSchema), + z.lazy(() => CreateProjectEnvironmentsProjects2$inboundSchema), + ]) +); export function createProjectEnvironmentsFromJSON( jsonString: string, @@ -3464,23 +3622,23 @@ export function createProjectEnvironmentsFromJSON( /** @internal */ export const CreateProjectSources$inboundSchema: z.ZodNativeEnum< typeof CreateProjectSources -> = z.nativeEnum(CreateProjectSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectSources)); /** @internal */ export const CreateProjectDeploymentSources$inboundSchema: z.ZodType< CreateProjectDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => CreateProjectEnvironments1$inboundSchema), z.lazy(() => CreateProjectEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array(CreateProjectSources$inboundSchema), -}); + ])), + sources: z.array(CreateProjectSources$inboundSchema), + }) +); export function createProjectDeploymentSourcesFromJSON( jsonString: string, @@ -3497,10 +3655,12 @@ export const CreateProjectEnvironments2$inboundSchema: z.ZodType< CreateProjectEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function createProjectEnvironments2FromJSON( jsonString: string, @@ -3515,17 +3675,21 @@ export function createProjectEnvironments2FromJSON( /** @internal */ export const CreateProjectEnvironmentsTarget$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvironmentsTarget -> = z.nativeEnum(CreateProjectEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectEnvironmentsTarget) +); /** @internal */ export const CreateProjectEnvironmentsProjects1$inboundSchema: z.ZodType< CreateProjectEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: CreateProjectEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: CreateProjectEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function createProjectEnvironmentsProjects1FromJSON( jsonString: string, @@ -3543,10 +3707,12 @@ export const CreateProjectProjectsEnvironments$inboundSchema: z.ZodType< CreateProjectProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectEnvironmentsProjects1$inboundSchema), - z.lazy(() => CreateProjectEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectEnvironmentsProjects1$inboundSchema), + z.lazy(() => CreateProjectEnvironments2$inboundSchema), + ]) +); export function createProjectProjectsEnvironmentsFromJSON( jsonString: string, @@ -3563,11 +3729,13 @@ export const CreateProjectSources2$inboundSchema: z.ZodType< CreateProjectSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function createProjectSources2FromJSON( jsonString: string, @@ -3581,20 +3749,23 @@ export function createProjectSources2FromJSON( /** @internal */ export const CreateProjectSourcesProjectsProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectSourcesProjectsProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectSourcesProjectsProvider) + ); /** @internal */ export const CreateProjectSources1$inboundSchema: z.ZodType< CreateProjectSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: CreateProjectSourcesProjectsProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: CreateProjectSourcesProjectsProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function createProjectSources1FromJSON( jsonString: string, @@ -3611,15 +3782,17 @@ export const CreateProjectProjectsSources$inboundSchema: z.ZodType< CreateProjectProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => CreateProjectSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => CreateProjectSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => CreateProjectSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => CreateProjectSources2$inboundSchema), + ]) +); export function createProjectProjectsSourcesFromJSON( jsonString: string, @@ -3636,16 +3809,14 @@ export const CreateProjectGitSources$inboundSchema: z.ZodType< CreateProjectGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => CreateProjectEnvironmentsProjects1$inboundSchema), z.lazy(() => CreateProjectEnvironments2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => CreateProjectSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3653,9 +3824,9 @@ export const CreateProjectGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => CreateProjectSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function createProjectGitSourcesFromJSON( jsonString: string, @@ -3672,14 +3843,16 @@ export const CreateProjectDeploymentPolicy$inboundSchema: z.ZodType< CreateProjectDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => CreateProjectDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => CreateProjectGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => CreateProjectDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => CreateProjectGitSources$inboundSchema)), + ).optional(), + }) +); export function createProjectDeploymentPolicyFromJSON( jsonString: string, @@ -3694,14 +3867,16 @@ export function createProjectDeploymentPolicyFromJSON( /** @internal */ export const CreateProjectAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectAction -> = z.nativeEnum(CreateProjectAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectAction)); /** @internal */ export const CreateProjectValueCurrentValue$inboundSchema: z.ZodType< CreateProjectValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function createProjectValueCurrentValueFromJSON( jsonString: string, @@ -3718,7 +3893,9 @@ export const CreateProjectValuePreviousValue$inboundSchema: z.ZodType< CreateProjectValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function createProjectValuePreviousValueFromJSON( jsonString: string, @@ -3731,15 +3908,21 @@ export function createProjectValuePreviousValueFromJSON( } /** @internal */ -export const Value3$inboundSchema: z.ZodType = z - .object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([ - types.string(), - types.number(), - types.boolean(), - ]), - }); +export const Value3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) + ); export function value3FromJSON( jsonString: string, @@ -3756,12 +3939,14 @@ export const CreateProjectValue$inboundSchema: z.ZodType< CreateProjectValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Value3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Value3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function createProjectValueFromJSON( jsonString: string, @@ -3778,19 +3963,19 @@ export const CreateProjectDismissedToasts$inboundSchema: z.ZodType< CreateProjectDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: CreateProjectAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: CreateProjectAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => Value3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function createProjectDismissedToastsFromJSON( jsonString: string, @@ -3807,10 +3992,12 @@ export const CreateProjectContentHint17$inboundSchema: z.ZodType< CreateProjectContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function createProjectContentHint17FromJSON( jsonString: string, @@ -3827,13 +4014,15 @@ export const CreateProjectContentHint16$inboundSchema: z.ZodType< CreateProjectContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function createProjectContentHint16FromJSON( jsonString: string, @@ -3850,10 +4039,12 @@ export const CreateProjectContentHint15$inboundSchema: z.ZodType< CreateProjectContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function createProjectContentHint15FromJSON( jsonString: string, @@ -3870,10 +4061,12 @@ export const CreateProjectContentHint14$inboundSchema: z.ZodType< CreateProjectContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function createProjectContentHint14FromJSON( jsonString: string, @@ -3890,10 +4083,12 @@ export const CreateProjectContentHint13$inboundSchema: z.ZodType< CreateProjectContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function createProjectContentHint13FromJSON( jsonString: string, @@ -3910,10 +4105,12 @@ export const CreateProjectContentHint12$inboundSchema: z.ZodType< CreateProjectContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function createProjectContentHint12FromJSON( jsonString: string, @@ -3930,10 +4127,12 @@ export const CreateProjectContentHint11$inboundSchema: z.ZodType< CreateProjectContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function createProjectContentHint11FromJSON( jsonString: string, @@ -3950,10 +4149,12 @@ export const CreateProjectContentHint10$inboundSchema: z.ZodType< CreateProjectContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function createProjectContentHint10FromJSON( jsonString: string, @@ -3970,10 +4171,12 @@ export const CreateProjectContentHint9$inboundSchema: z.ZodType< CreateProjectContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function createProjectContentHint9FromJSON( jsonString: string, @@ -3990,10 +4193,12 @@ export const CreateProjectContentHint8$inboundSchema: z.ZodType< CreateProjectContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function createProjectContentHint8FromJSON( jsonString: string, @@ -4010,10 +4215,12 @@ export const CreateProjectContentHint7$inboundSchema: z.ZodType< CreateProjectContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function createProjectContentHint7FromJSON( jsonString: string, @@ -4030,10 +4237,12 @@ export const CreateProjectContentHint6$inboundSchema: z.ZodType< CreateProjectContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function createProjectContentHint6FromJSON( jsonString: string, @@ -4050,10 +4259,12 @@ export const CreateProjectContentHint5$inboundSchema: z.ZodType< CreateProjectContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function createProjectContentHint5FromJSON( jsonString: string, @@ -4070,10 +4281,12 @@ export const CreateProjectContentHint4$inboundSchema: z.ZodType< CreateProjectContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function createProjectContentHint4FromJSON( jsonString: string, @@ -4090,10 +4303,12 @@ export const CreateProjectContentHint3$inboundSchema: z.ZodType< CreateProjectContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function createProjectContentHint3FromJSON( jsonString: string, @@ -4110,10 +4325,12 @@ export const CreateProjectContentHint2$inboundSchema: z.ZodType< CreateProjectContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function createProjectContentHint2FromJSON( jsonString: string, @@ -4130,10 +4347,12 @@ export const CreateProjectContentHint1$inboundSchema: z.ZodType< CreateProjectContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function createProjectContentHint1FromJSON( jsonString: string, @@ -4150,25 +4369,27 @@ export const CreateProjectContentHint$inboundSchema: z.ZodType< CreateProjectContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectContentHint1$inboundSchema), - z.lazy(() => CreateProjectContentHint2$inboundSchema), - z.lazy(() => CreateProjectContentHint3$inboundSchema), - z.lazy(() => CreateProjectContentHint4$inboundSchema), - z.lazy(() => CreateProjectContentHint5$inboundSchema), - z.lazy(() => CreateProjectContentHint6$inboundSchema), - z.lazy(() => CreateProjectContentHint7$inboundSchema), - z.lazy(() => CreateProjectContentHint8$inboundSchema), - z.lazy(() => CreateProjectContentHint9$inboundSchema), - z.lazy(() => CreateProjectContentHint10$inboundSchema), - z.lazy(() => CreateProjectContentHint11$inboundSchema), - z.lazy(() => CreateProjectContentHint12$inboundSchema), - z.lazy(() => CreateProjectContentHint13$inboundSchema), - z.lazy(() => CreateProjectContentHint14$inboundSchema), - z.lazy(() => CreateProjectContentHint15$inboundSchema), - z.lazy(() => CreateProjectContentHint16$inboundSchema), - z.lazy(() => CreateProjectContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectContentHint1$inboundSchema), + z.lazy(() => CreateProjectContentHint2$inboundSchema), + z.lazy(() => CreateProjectContentHint3$inboundSchema), + z.lazy(() => CreateProjectContentHint4$inboundSchema), + z.lazy(() => CreateProjectContentHint5$inboundSchema), + z.lazy(() => CreateProjectContentHint6$inboundSchema), + z.lazy(() => CreateProjectContentHint7$inboundSchema), + z.lazy(() => CreateProjectContentHint8$inboundSchema), + z.lazy(() => CreateProjectContentHint9$inboundSchema), + z.lazy(() => CreateProjectContentHint10$inboundSchema), + z.lazy(() => CreateProjectContentHint11$inboundSchema), + z.lazy(() => CreateProjectContentHint12$inboundSchema), + z.lazy(() => CreateProjectContentHint13$inboundSchema), + z.lazy(() => CreateProjectContentHint14$inboundSchema), + z.lazy(() => CreateProjectContentHint15$inboundSchema), + z.lazy(() => CreateProjectContentHint16$inboundSchema), + z.lazy(() => CreateProjectContentHint17$inboundSchema), + ]) +); export function createProjectContentHintFromJSON( jsonString: string, @@ -4184,8 +4405,10 @@ export function createProjectContentHintFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -4193,11 +4416,13 @@ export const CreateProjectInternalContentHint$inboundSchema: z.ZodType< CreateProjectInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function createProjectInternalContentHintFromJSON( jsonString: string, @@ -4212,22 +4437,24 @@ export function createProjectInternalContentHintFromJSON( /** @internal */ export const CreateProjectTarget2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectTarget2 -> = z.nativeEnum(CreateProjectTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectTarget2)); /** @internal */ export const CreateProjectTarget1$inboundSchema: z.ZodNativeEnum< typeof CreateProjectTarget1 -> = z.nativeEnum(CreateProjectTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectTarget1)); /** @internal */ export const CreateProjectProjectsResponseTarget$inboundSchema: z.ZodType< CreateProjectProjectsResponseTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateProjectTarget1$inboundSchema), - CreateProjectTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateProjectTarget1$inboundSchema), + CreateProjectTarget2$inboundSchema, + ]) +); export function createProjectProjectsResponseTargetFromJSON( jsonString: string, @@ -4242,25 +4469,26 @@ export function createProjectProjectsResponseTargetFromJSON( /** @internal */ export const CreateProjectProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsResponse200Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponse200Type) + ); /** @internal */ export const CreateProjectVisibility$inboundSchema: z.ZodNativeEnum< typeof CreateProjectVisibility -> = z.nativeEnum(CreateProjectVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectVisibility)); /** @internal */ export const CreateProjectEnv$inboundSchema: z.ZodType< CreateProjectEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => CreateProjectContentHint1$inboundSchema), z.lazy(() => CreateProjectContentHint2$inboundSchema), z.lazy(() => CreateProjectContentHint3$inboundSchema), @@ -4278,35 +4506,35 @@ export const CreateProjectEnv$inboundSchema: z.ZodType< z.lazy(() => CreateProjectContentHint15$inboundSchema), z.lazy(() => CreateProjectContentHint16$inboundSchema), z.lazy(() => CreateProjectContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => CreateProjectInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(CreateProjectTarget1$inboundSchema), - CreateProjectTarget2$inboundSchema, - ]), - ), - type: CreateProjectProjectsResponse200Type$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(CreateProjectVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + CreateProjectInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(CreateProjectTarget1$inboundSchema), + CreateProjectTarget2$inboundSchema, + ]), + ), + type: CreateProjectProjectsResponse200Type$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(CreateProjectVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function createProjectEnvFromJSON( jsonString: string, @@ -4323,10 +4551,12 @@ export const Expiration2$inboundSchema: z.ZodType< Expiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function expiration2FromJSON( jsonString: string, @@ -4343,9 +4573,11 @@ export const Expiration1$inboundSchema: z.ZodType< Expiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function expiration1FromJSON( jsonString: string, @@ -4362,10 +4594,12 @@ export const CreateProjectExpiration$inboundSchema: z.ZodType< CreateProjectExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Expiration2$inboundSchema), - z.lazy(() => Expiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Expiration2$inboundSchema), + z.lazy(() => Expiration1$inboundSchema), + ]) +); export function createProjectExpirationFromJSON( jsonString: string, @@ -4382,9 +4616,11 @@ export const Features$inboundSchema: z.ZodType< Features, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function featuresFromJSON( jsonString: string, @@ -4399,17 +4635,21 @@ export function featuresFromJSON( /** @internal */ export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsFramework -> = z.nativeEnum(CreateProjectProjectsFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsFramework) +); /** @internal */ export const CreateProjectGitComments$inboundSchema: z.ZodType< CreateProjectGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function createProjectGitCommentsFromJSON( jsonString: string, @@ -4426,10 +4666,12 @@ export const CreateProjectConsolidatedGitCommitStatus$inboundSchema: z.ZodType< CreateProjectConsolidatedGitCommitStatus, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) +); export function createProjectConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -4450,22 +4692,26 @@ export function createProjectConsolidatedGitCommitStatusFromJSON( /** @internal */ export const CreateProjectCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof CreateProjectCreateDeployments -> = z.nativeEnum(CreateProjectCreateDeployments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectCreateDeployments) +); /** @internal */ export const CreateProjectGitProviderOptions$inboundSchema: z.ZodType< CreateProjectGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => CreateProjectConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: CreateProjectCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => CreateProjectConsolidatedGitCommitStatus$inboundSchema), + ), + createDeployments: CreateProjectCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function createProjectGitProviderOptionsFromJSON( jsonString: string, @@ -4482,9 +4728,11 @@ export const CreateProjectHasProjectsValue$inboundSchema: z.ZodType< CreateProjectHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function createProjectHasProjectsValueFromJSON( jsonString: string, diff --git a/src/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.ts b/src/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.ts index 9ab4ffa21a..3cd7eba52d 100644 --- a/src/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.ts +++ b/src/models/createprojectprojectsresponse200applicationjsonresponsebodytargetstype.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2797,10 +2797,12 @@ export const CreateProjectHas2$inboundSchema: z.ZodType< CreateProjectHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: CreateProjectHasProjectsValue$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: CreateProjectHasProjectsValue$inboundSchema, + }) +); export function createProjectHas2FromJSON( jsonString: string, @@ -2815,16 +2817,18 @@ export function createProjectHas2FromJSON( /** @internal */ export const CreateProjectHasKey$inboundSchema: z.ZodNativeEnum< typeof CreateProjectHasKey -> = z.nativeEnum(CreateProjectHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectHasKey)); /** @internal */ export const CreateProjectHasValue$inboundSchema: z.ZodType< CreateProjectHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function createProjectHasValueFromJSON( jsonString: string, @@ -2841,11 +2845,13 @@ export const CreateProjectHas1$inboundSchema: z.ZodType< CreateProjectHas1, z.ZodTypeDef, unknown -> = z.object({ - key: CreateProjectHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => CreateProjectHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: CreateProjectHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => CreateProjectHasValue$inboundSchema), + }) +); export function createProjectHas1FromJSON( jsonString: string, @@ -2862,10 +2868,12 @@ export const InternalRoutesHas$inboundSchema: z.ZodType< InternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectHas1$inboundSchema), - z.lazy(() => CreateProjectHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectHas1$inboundSchema), + z.lazy(() => CreateProjectHas2$inboundSchema), + ]) +); export function internalRoutesHasFromJSON( jsonString: string, @@ -2880,16 +2888,18 @@ export function internalRoutesHasFromJSON( /** @internal */ export const InternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof InternalRoutesAction -> = z.nativeEnum(InternalRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InternalRoutesAction)); /** @internal */ export const InternalRoutesMitigate$inboundSchema: z.ZodType< InternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: InternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: InternalRoutesAction$inboundSchema, + }) +); export function internalRoutesMitigateFromJSON( jsonString: string, @@ -2906,16 +2916,18 @@ export const InternalRoutes2$inboundSchema: z.ZodType< InternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => CreateProjectHas1$inboundSchema), z.lazy(() => CreateProjectHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => InternalRoutesMitigate$inboundSchema), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + InternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function internalRoutes2FromJSON( jsonString: string, @@ -2932,11 +2944,13 @@ export const InternalRoutes1$inboundSchema: z.ZodType< InternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function internalRoutes1FromJSON( jsonString: string, @@ -2953,10 +2967,12 @@ export const InternalRoutes$inboundSchema: z.ZodType< InternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => InternalRoutes1$inboundSchema), - z.lazy(() => InternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => InternalRoutes1$inboundSchema), + z.lazy(() => InternalRoutes2$inboundSchema), + ]) +); export function internalRoutesFromJSON( jsonString: string, @@ -2973,11 +2989,13 @@ export const CreateProjectIpBuckets$inboundSchema: z.ZodType< CreateProjectIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function createProjectIpBucketsFromJSON( jsonString: string, @@ -2994,9 +3012,11 @@ export const CreateProjectFlagDefinitionsPresent$inboundSchema: z.ZodType< CreateProjectFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function createProjectFlagDefinitionsPresentFromJSON( jsonString: string, @@ -3014,9 +3034,11 @@ export const CreateProjectHealthCheck$inboundSchema: z.ZodType< CreateProjectHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function createProjectHealthCheckFromJSON( jsonString: string, @@ -3033,9 +3055,11 @@ export const CreateProjectLint$inboundSchema: z.ZodType< CreateProjectLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function createProjectLintFromJSON( jsonString: string, @@ -3052,9 +3076,11 @@ export const CreateProjectMfeConfigPresent$inboundSchema: z.ZodType< CreateProjectMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function createProjectMfeConfigPresentFromJSON( jsonString: string, @@ -3071,9 +3097,11 @@ export const CreateProjectTypecheck$inboundSchema: z.ZodType< CreateProjectTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function createProjectTypecheckFromJSON( jsonString: string, @@ -3086,28 +3114,30 @@ export function createProjectTypecheckFromJSON( } /** @internal */ -export const Jobs$inboundSchema: z.ZodType = z - .object({ - "flag-definitions-present": types.optional( - z.lazy(() => CreateProjectFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => CreateProjectHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => CreateProjectLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => CreateProjectMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional( - z.lazy(() => CreateProjectTypecheck$inboundSchema), - ), - }).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); - }); +export const Jobs$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => CreateProjectFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => CreateProjectHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => CreateProjectLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => CreateProjectMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => CreateProjectTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) + ); export function jobsFromJSON( jsonString: string, @@ -3120,27 +3150,31 @@ export function jobsFromJSON( } /** @internal */ -export const JobStatus$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(JobStatus); +export const JobStatus$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(JobStatus)); /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const LastAliasRequest$inboundSchema: z.ZodType< LastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: JobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: JobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema, + }) +); export function lastAliasRequestFromJSON( jsonString: string, @@ -3157,7 +3191,7 @@ export const LastRollbackTarget$inboundSchema: z.ZodType< LastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function lastRollbackTargetFromJSON( jsonString: string, @@ -3174,7 +3208,9 @@ export const AliasAssigned$inboundSchema: z.ZodType< AliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function aliasAssignedFromJSON( jsonString: string, @@ -3191,10 +3227,12 @@ export const CreateProjectAliasError$inboundSchema: z.ZodType< CreateProjectAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createProjectAliasErrorFromJSON( jsonString: string, @@ -3210,8 +3248,10 @@ export function createProjectAliasErrorFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -3219,11 +3259,13 @@ export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< CreateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function createProjectProjectsBranchMatcherFromJSON( jsonString: string, @@ -3241,11 +3283,13 @@ export const CreateProjectBuilds$inboundSchema: z.ZodType< CreateProjectBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function createProjectBuildsFromJSON( jsonString: string, @@ -3260,25 +3304,29 @@ export function createProjectBuildsFromJSON( /** @internal */ export const CreateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof CreateProjectChecksConclusion -> = z.nativeEnum(CreateProjectChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectChecksConclusion) +); /** @internal */ export const CreateProjectChecksState$inboundSchema: z.ZodNativeEnum< typeof CreateProjectChecksState -> = z.nativeEnum(CreateProjectChecksState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectChecksState)); /** @internal */ export const CreateProjectProjectsCreator$inboundSchema: z.ZodType< CreateProjectProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function createProjectProjectsCreatorFromJSON( jsonString: string, @@ -3295,29 +3343,31 @@ export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType< CreateProjectOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function createProjectOidcTokenClaimsFromJSON( jsonString: string, @@ -3332,24 +3382,26 @@ export function createProjectOidcTokenClaimsFromJSON( /** @internal */ export const CreateProjectPlan$inboundSchema: z.ZodNativeEnum< typeof CreateProjectPlan -> = z.nativeEnum(CreateProjectPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectPlan)); /** @internal */ export const CreateProjectReadyState$inboundSchema: z.ZodNativeEnum< typeof CreateProjectReadyState -> = z.nativeEnum(CreateProjectReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectReadyState)); /** @internal */ export const CreateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< typeof CreateProjectReadySubstate -> = z.nativeEnum(CreateProjectReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectReadySubstate)); /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -3357,55 +3409,59 @@ export const LatestDeployments$inboundSchema: z.ZodType< LatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)), - ), - checksConclusion: types.optional(CreateProjectChecksConclusion$inboundSchema), - checksState: types.optional(CreateProjectChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => CreateProjectProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => CreateProjectOidcTokenClaims$inboundSchema), - ), - plan: CreateProjectPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: CreateProjectReadyState$inboundSchema, - readySubstate: types.optional(CreateProjectReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => CreateProjectAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + CreateProjectChecksConclusion$inboundSchema, + ), + checksState: types.optional(CreateProjectChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => CreateProjectProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => CreateProjectOidcTokenClaims$inboundSchema), + ), + plan: CreateProjectPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: CreateProjectReadyState$inboundSchema, + readySubstate: types.optional(CreateProjectReadySubstate$inboundSchema), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function latestDeploymentsFromJSON( jsonString: string, @@ -3423,13 +3479,15 @@ export const CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDepl CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function createProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3447,24 +3505,24 @@ export function createProjectLinkProjectsResponse200ApplicationJSONResponseBodyD } /** @internal */ -export const Link8$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +export const Link8$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), - }); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) + ); export function link8FromJSON( jsonString: string, @@ -3482,13 +3540,15 @@ export const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inbo CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3506,23 +3566,23 @@ export function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksFr } /** @internal */ -export const Link7$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +export const Link7$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), - }); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) + ); export function link7FromJSON( jsonString: string, @@ -3540,13 +3600,15 @@ export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema: CreateProjectLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function createProjectLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -3565,23 +3627,23 @@ export function createProjectLinkProjectsResponse200DeployHooksFromJSON( } /** @internal */ -export const Link6$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +export const Link6$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), - }); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) + ); export function link6FromJSON( jsonString: string, @@ -3599,13 +3661,15 @@ export const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema: CreateProjectLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function createProjectLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -3624,23 +3688,27 @@ export function createProjectLinkProjectsResponseDeployHooksFromJSON( } /** @internal */ -export const Link5$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), - }); +export const Link5$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => + CreateProjectLinkProjectsResponseDeployHooks$inboundSchema + ), + ), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) + ); export function link5FromJSON( jsonString: string, @@ -3657,13 +3725,15 @@ export const CreateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< CreateProjectLinkProjectsDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function createProjectLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -3677,24 +3747,26 @@ export function createProjectLinkProjectsDeployHooksFromJSON( } /** @internal */ -export const Link4$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), - }); +export const Link4$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) + ); export function link4FromJSON( jsonString: string, @@ -3711,13 +3783,15 @@ export const CreateProjectLinkDeployHooks$inboundSchema: z.ZodType< CreateProjectLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function createProjectLinkDeployHooksFromJSON( jsonString: string, @@ -3730,23 +3804,25 @@ export function createProjectLinkDeployHooksFromJSON( } /** @internal */ -export const Link3$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => CreateProjectLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), - }); +export const Link3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => CreateProjectLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) + ); export function link3FromJSON( jsonString: string, @@ -3763,13 +3839,15 @@ export const LinkDeployHooks$inboundSchema: z.ZodType< LinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function linkDeployHooksFromJSON( jsonString: string, @@ -3782,20 +3860,22 @@ export function linkDeployHooksFromJSON( } /** @internal */ -export const Link2$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), - }); +export const Link2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) + ); export function link2FromJSON( jsonString: string, @@ -3812,13 +3892,15 @@ export const DeployHooks$inboundSchema: z.ZodType< DeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function deployHooksFromJSON( jsonString: string, @@ -3831,20 +3913,22 @@ export function deployHooksFromJSON( } /** @internal */ -export const Link1$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - deployHooks: z.array(z.lazy(() => DeployHooks$inboundSchema)), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), - }); +export const Link1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeployHooks$inboundSchema)), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) + ); export function link1FromJSON( jsonString: string, @@ -3857,17 +3941,19 @@ export function link1FromJSON( } /** @internal */ -export const Link$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => Link1$inboundSchema), - z.lazy(() => Link2$inboundSchema), - z.lazy(() => Link3$inboundSchema), - z.lazy(() => Link4$inboundSchema), - z.lazy(() => Link5$inboundSchema), - z.lazy(() => Link6$inboundSchema), - z.lazy(() => Link7$inboundSchema), - z.lazy(() => Link8$inboundSchema), - ]); +export const Link$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Link1$inboundSchema), + z.lazy(() => Link2$inboundSchema), + z.lazy(() => Link3$inboundSchema), + z.lazy(() => Link4$inboundSchema), + z.lazy(() => Link5$inboundSchema), + z.lazy(() => Link6$inboundSchema), + z.lazy(() => Link7$inboundSchema), + z.lazy(() => Link8$inboundSchema), + ]) + ); export function linkFromJSON( jsonString: string, @@ -3884,12 +3970,14 @@ export const CreateProjectMicrofrontends3$inboundSchema: z.ZodType< CreateProjectMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function createProjectMicrofrontends3FromJSON( jsonString: string, @@ -3906,16 +3994,18 @@ export const CreateProjectMicrofrontends2$inboundSchema: z.ZodType< CreateProjectMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function createProjectMicrofrontends2FromJSON( jsonString: string, @@ -3932,14 +4022,16 @@ export const CreateProjectMicrofrontends1$inboundSchema: z.ZodType< CreateProjectMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function createProjectMicrofrontends1FromJSON( jsonString: string, @@ -3956,11 +4048,13 @@ export const CreateProjectMicrofrontends$inboundSchema: z.ZodType< CreateProjectMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateProjectMicrofrontends1$inboundSchema), - z.lazy(() => CreateProjectMicrofrontends2$inboundSchema), - z.lazy(() => CreateProjectMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectMicrofrontends1$inboundSchema), + z.lazy(() => CreateProjectMicrofrontends2$inboundSchema), + z.lazy(() => CreateProjectMicrofrontends3$inboundSchema), + ]) +); export function createProjectMicrofrontendsFromJSON( jsonString: string, @@ -3975,22 +4069,26 @@ export function createProjectMicrofrontendsFromJSON( /** @internal */ export const CreateProjectNodeVersion$inboundSchema: z.ZodNativeEnum< typeof CreateProjectNodeVersion -> = z.nativeEnum(CreateProjectNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectNodeVersion)); /** @internal */ export const CreateProjectProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsIssuerMode -> = z.nativeEnum(CreateProjectProjectsIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsIssuerMode) +); /** @internal */ export const CreateProjectOidcTokenConfig$inboundSchema: z.ZodType< CreateProjectOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(CreateProjectProjectsIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(CreateProjectProjectsIssuerMode$inboundSchema), + }) +); export function createProjectOidcTokenConfigFromJSON( jsonString: string, @@ -4007,9 +4105,11 @@ export const CreateProjectPaths$inboundSchema: z.ZodType< CreateProjectPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function createProjectPathsFromJSON( jsonString: string, @@ -4026,9 +4126,11 @@ export const CreateProjectOptionsAllowlist$inboundSchema: z.ZodType< CreateProjectOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => CreateProjectPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => CreateProjectPaths$inboundSchema)), + }) +); export function createProjectOptionsAllowlistFromJSON( jsonString: string, @@ -4043,17 +4145,21 @@ export function createProjectOptionsAllowlistFromJSON( /** @internal */ export const CreateProjectProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsDeploymentType -> = z.nativeEnum(CreateProjectProjectsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsDeploymentType) +); /** @internal */ export const CreateProjectPassport$inboundSchema: z.ZodType< CreateProjectPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: CreateProjectProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: CreateProjectProjectsDeploymentType$inboundSchema, + }) +); export function createProjectPassportFromJSON( jsonString: string, @@ -4067,17 +4173,21 @@ export function createProjectPassportFromJSON( /** @internal */ export const CreateProjectProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseDeploymentType) + ); /** @internal */ export const CreateProjectPasswordProtection$inboundSchema: z.ZodType< CreateProjectPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: CreateProjectProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: CreateProjectProjectsResponseDeploymentType$inboundSchema, + }) +); export function createProjectPasswordProtectionFromJSON( jsonString: string, @@ -4094,376 +4204,402 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< CreateProjectPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function createProjectPermissionsFromJSON( jsonString: string, @@ -4480,13 +4616,15 @@ export const ProtectionBypass2$inboundSchema: z.ZodType< ProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function protectionBypass2FromJSON( jsonString: string, @@ -4503,13 +4641,15 @@ export const ProtectionBypass1$inboundSchema: z.ZodType< ProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function protectionBypass1FromJSON( jsonString: string, @@ -4526,10 +4666,12 @@ export const ProtectionBypass$inboundSchema: z.ZodType< ProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ProtectionBypass1$inboundSchema), - z.lazy(() => ProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ProtectionBypass1$inboundSchema), + z.lazy(() => ProtectionBypass2$inboundSchema), + ]) +); export function protectionBypassFromJSON( jsonString: string, @@ -4546,9 +4688,11 @@ export const SandboxUrls$inboundSchema: z.ZodType< SandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function sandboxUrlsFromJSON( jsonString: string, @@ -4565,9 +4709,11 @@ export const ProtectionConfig$inboundSchema: z.ZodType< ProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional(z.lazy(() => SandboxUrls$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional(z.lazy(() => SandboxUrls$inboundSchema)), + }) +); export function protectionConfigFromJSON( jsonString: string, @@ -4581,13 +4727,17 @@ export function protectionConfigFromJSON( /** @internal */ export const CreateProjectProjectsBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsBuildMachineElasticReason) + ); /** @internal */ export const CreateProjectProjectsDirection$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsDirection -> = z.nativeEnum(CreateProjectProjectsDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsDirection) +); /** @internal */ export const CreateProjectProjectsBuildMachineElasticTransition$inboundSchema: @@ -4595,11 +4745,13 @@ export const CreateProjectProjectsBuildMachineElasticTransition$inboundSchema: CreateProjectProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: CreateProjectProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: CreateProjectProjectsDirection$inboundSchema, + }) + ); export function createProjectProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4619,30 +4771,37 @@ export function createProjectProjectsBuildMachineElasticTransitionFromJSON( /** @internal */ export const CreateProjectProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsBuildMachineSelection) + ); /** @internal */ export const CreateProjectProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsBuildMachineType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsBuildMachineType) + ); /** @internal */ export const CreateProjectProjectsResponseConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponseConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseConfiguration) + ); /** @internal */ export const CreateProjectProjectsBuildQueue$inboundSchema: z.ZodType< CreateProjectProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - CreateProjectProjectsResponseConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + CreateProjectProjectsResponseConfiguration$inboundSchema, + ), + }) +); export function createProjectProjectsBuildQueueFromJSON( jsonString: string, @@ -4656,19 +4815,23 @@ export function createProjectProjectsBuildQueueFromJSON( /** @internal */ export const CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const CreateProjectElasticBuildMachine4$inboundSchema: z.ZodType< CreateProjectElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function createProjectElasticBuildMachine4FromJSON( jsonString: string, @@ -4685,11 +4848,13 @@ export const CreateProjectElasticBuildMachine3$inboundSchema: z.ZodType< CreateProjectElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function createProjectElasticBuildMachine3FromJSON( jsonString: string, @@ -4706,11 +4871,13 @@ export const CreateProjectElasticBuildMachine2$inboundSchema: z.ZodType< CreateProjectElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function createProjectElasticBuildMachine2FromJSON( jsonString: string, @@ -4727,11 +4894,13 @@ export const CreateProjectElasticBuildMachine1$inboundSchema: z.ZodType< CreateProjectElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function createProjectElasticBuildMachine1FromJSON( jsonString: string, @@ -4748,12 +4917,14 @@ export const CreateProjectElasticBuildMachine$inboundSchema: z.ZodType< CreateProjectElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => CreateProjectElasticBuildMachine2$inboundSchema), - z.lazy(() => CreateProjectElasticBuildMachine3$inboundSchema), - z.lazy(() => CreateProjectElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectElasticBuildMachine1$inboundSchema), + z.lazy(() => CreateProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => CreateProjectElasticBuildMachine3$inboundSchema), + z.lazy(() => CreateProjectElasticBuildMachine4$inboundSchema), + ]) +); export function createProjectElasticBuildMachineFromJSON( jsonString: string, @@ -4770,44 +4941,44 @@ export const CreateProjectProjectsResourceConfig$inboundSchema: z.ZodType< CreateProjectProjectsResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - CreateProjectProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + CreateProjectProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => CreateProjectProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + CreateProjectProjectsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - CreateProjectProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - CreateProjectProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => CreateProjectProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + CreateProjectProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + CreateProjectProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => CreateProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => CreateProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => + CreateProjectElasticBuildMachine2$inboundSchema + ), z.lazy(() => CreateProjectElasticBuildMachine3$inboundSchema), z.lazy(() => CreateProjectElasticBuildMachine4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function createProjectProjectsResourceConfigFromJSON( jsonString: string, @@ -4825,9 +4996,11 @@ export const CreateProjectPrincipal5$inboundSchema: z.ZodType< CreateProjectPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function createProjectPrincipal5FromJSON( jsonString: string, @@ -4844,10 +5017,12 @@ export const CreateProjectPrincipalIntegration$inboundSchema: z.ZodType< CreateProjectPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function createProjectPrincipalIntegrationFromJSON( jsonString: string, @@ -4864,10 +5039,12 @@ export const CreateProjectPrincipal4$inboundSchema: z.ZodType< CreateProjectPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => CreateProjectPrincipalIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => CreateProjectPrincipalIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function createProjectPrincipal4FromJSON( jsonString: string, @@ -4884,10 +5061,12 @@ export const CreateProjectPrincipalApp$inboundSchema: z.ZodType< CreateProjectPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function createProjectPrincipalAppFromJSON( jsonString: string, @@ -4904,10 +5083,12 @@ export const CreateProjectPrincipal3$inboundSchema: z.ZodType< CreateProjectPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => CreateProjectPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => CreateProjectPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function createProjectPrincipal3FromJSON( jsonString: string, @@ -4924,9 +5105,11 @@ export const CreateProjectPrincipalProject$inboundSchema: z.ZodType< CreateProjectPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function createProjectPrincipalProjectFromJSON( jsonString: string, @@ -4943,10 +5126,12 @@ export const CreateProjectPrincipal2$inboundSchema: z.ZodType< CreateProjectPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => CreateProjectPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => CreateProjectPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function createProjectPrincipal2FromJSON( jsonString: string, @@ -4963,10 +5148,12 @@ export const CreateProjectViaProjectsIntegration$inboundSchema: z.ZodType< CreateProjectViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function createProjectViaProjectsIntegrationFromJSON( jsonString: string, @@ -4984,10 +5171,14 @@ export const CreateProjectViaProjects2$inboundSchema: z.ZodType< CreateProjectViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => CreateProjectViaProjectsIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + CreateProjectViaProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function createProjectViaProjects2FromJSON( jsonString: string, @@ -5004,10 +5195,12 @@ export const CreateProjectViaProjectsApp$inboundSchema: z.ZodType< CreateProjectViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function createProjectViaProjectsAppFromJSON( jsonString: string, @@ -5024,10 +5217,12 @@ export const CreateProjectViaProjects1$inboundSchema: z.ZodType< CreateProjectViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => CreateProjectViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => CreateProjectViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function createProjectViaProjects1FromJSON( jsonString: string, @@ -5044,10 +5239,12 @@ export const CreateProjectPrincipalVia$inboundSchema: z.ZodType< CreateProjectPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectViaProjects1$inboundSchema), - z.lazy(() => CreateProjectViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectViaProjects1$inboundSchema), + z.lazy(() => CreateProjectViaProjects2$inboundSchema), + ]) +); export function createProjectPrincipalViaFromJSON( jsonString: string, @@ -5064,9 +5261,11 @@ export const CreateProjectPrincipalUser$inboundSchema: z.ZodType< CreateProjectPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function createProjectPrincipalUserFromJSON( jsonString: string, @@ -5083,16 +5282,18 @@ export const CreateProjectPrincipal1$inboundSchema: z.ZodType< CreateProjectPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => CreateProjectViaProjects1$inboundSchema), z.lazy(() => CreateProjectViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => CreateProjectPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + CreateProjectPrincipalUser$inboundSchema + ), + }) +); export function createProjectPrincipal1FromJSON( jsonString: string, @@ -5109,13 +5310,15 @@ export const CreateProjectPrincipal$inboundSchema: z.ZodType< CreateProjectPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => CreateProjectPrincipal1$inboundSchema), - z.lazy(() => CreateProjectPrincipal2$inboundSchema), - z.lazy(() => CreateProjectPrincipal3$inboundSchema), - z.lazy(() => CreateProjectPrincipal4$inboundSchema), - z.lazy(() => CreateProjectPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateProjectPrincipal1$inboundSchema), + z.lazy(() => CreateProjectPrincipal2$inboundSchema), + z.lazy(() => CreateProjectPrincipal3$inboundSchema), + z.lazy(() => CreateProjectPrincipal4$inboundSchema), + z.lazy(() => CreateProjectPrincipal5$inboundSchema), + ]) +); export function createProjectPrincipalFromJSON( jsonString: string, @@ -5132,21 +5335,21 @@ export const CreateProjectRollbackDescription$inboundSchema: z.ZodType< CreateProjectRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => CreateProjectPrincipal1$inboundSchema), z.lazy(() => CreateProjectPrincipal2$inboundSchema), z.lazy(() => CreateProjectPrincipal3$inboundSchema), z.lazy(() => CreateProjectPrincipal4$inboundSchema), z.lazy(() => CreateProjectPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function createProjectRollbackDescriptionFromJSON( jsonString: string, @@ -5159,13 +5362,15 @@ export function createProjectRollbackDescriptionFromJSON( } /** @internal */ -export const Stages$inboundSchema: z.ZodType = z - .object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), - }); +export const Stages$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) + ); export function stagesFromJSON( jsonString: string, @@ -5182,11 +5387,13 @@ export const RollingRelease$inboundSchema: z.ZodType< RollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable(z.array(z.lazy(() => Stages$inboundSchema))).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable(z.array(z.lazy(() => Stages$inboundSchema))).optional(), + target: types.string(), + }) +); export function rollingReleaseFromJSON( jsonString: string, @@ -5200,26 +5407,31 @@ export function rollingReleaseFromJSON( /** @internal */ export const CreateProjectProjectsFailoverRegions$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsFailoverRegions, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsFailoverRegions) + ); /** @internal */ export const CreateProjectProjectsRegion$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsRegion -> = z.nativeEnum(CreateProjectProjectsRegion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsRegion) +); /** @internal */ export const CreateProjectSandbox$inboundSchema: z.ZodType< CreateProjectSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(CreateProjectProjectsFailoverRegions$inboundSchema), - ), - region: types.optional(CreateProjectProjectsRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(CreateProjectProjectsFailoverRegions$inboundSchema), + ), + region: types.optional(CreateProjectProjectsRegion$inboundSchema), + }) +); export function createProjectSandboxFromJSON( jsonString: string, @@ -5234,17 +5446,16 @@ export function createProjectSandboxFromJSON( /** @internal */ export const CreateProjectLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectLogHeaders2 -> = z.nativeEnum(CreateProjectLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectLogHeaders2)); /** @internal */ export const CreateProjectLogHeaders$inboundSchema: z.ZodType< CreateProjectLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - CreateProjectLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), CreateProjectLogHeaders2$inboundSchema]) +); export function createProjectLogHeadersFromJSON( jsonString: string, @@ -5260,8 +5471,10 @@ export function createProjectLogHeadersFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -5269,12 +5482,14 @@ export const CreateProjectAiBots$inboundSchema: z.ZodType< CreateProjectAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function createProjectAiBotsFromJSON( jsonString: string, @@ -5289,17 +5504,21 @@ export function createProjectAiBotsFromJSON( /** @internal */ export const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponseAction -> = z.nativeEnum(CreateProjectProjectsResponseAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseAction) +); /** @internal */ export const BotFilter$inboundSchema: z.ZodType< BotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(CreateProjectProjectsResponseAction$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(CreateProjectProjectsResponseAction$inboundSchema), + active: types.boolean(), + }) +); export function botFilterFromJSON( jsonString: string, @@ -5313,19 +5532,24 @@ export function botFilterFromJSON( /** @internal */ export const CreateProjectProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsResponse200Action, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponse200Action) + ); /** @internal */ export const CreateProjectOwasp$inboundSchema: z.ZodType< CreateProjectOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(CreateProjectProjectsResponse200Action$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateProjectProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function createProjectOwaspFromJSON( jsonString: string, @@ -5341,19 +5565,23 @@ export function createProjectOwaspFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONAction - > = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONAction) + ); /** @internal */ export const CreateProjectTrafficSources$inboundSchema: z.ZodType< CreateProjectTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function createProjectTrafficSourcesFromJSON( jsonString: string, @@ -5369,8 +5597,10 @@ export function createProjectTrafficSourcesFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -5378,12 +5608,14 @@ export const CreateProjectVercelRuleset$inboundSchema: z.ZodType< CreateProjectVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function createProjectVercelRulesetFromJSON( jsonString: string, @@ -5400,20 +5632,22 @@ export const CreateProjectManagedRules$inboundSchema: z.ZodType< CreateProjectManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => CreateProjectAiBots$inboundSchema), - bot_filter: z.lazy(() => BotFilter$inboundSchema), - owasp: z.lazy(() => CreateProjectOwasp$inboundSchema), - traffic_sources: z.lazy(() => CreateProjectTrafficSources$inboundSchema), - vercel_ruleset: z.lazy(() => CreateProjectVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => CreateProjectAiBots$inboundSchema), + bot_filter: z.lazy(() => BotFilter$inboundSchema), + owasp: z.lazy(() => CreateProjectOwasp$inboundSchema), + traffic_sources: z.lazy(() => CreateProjectTrafficSources$inboundSchema), + vercel_ruleset: z.lazy(() => CreateProjectVercelRuleset$inboundSchema), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function createProjectManagedRulesFromJSON( jsonString: string, @@ -5428,22 +5662,28 @@ export function createProjectManagedRulesFromJSON( /** @internal */ export const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsAction -> = z.nativeEnum(CreateProjectProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsAction) +); /** @internal */ export const CreateProjectLogHeadersProjects2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectLogHeadersProjects2 -> = z.nativeEnum(CreateProjectLogHeadersProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectLogHeadersProjects2) +); /** @internal */ export const CreateProjectProjectsLogHeaders$inboundSchema: z.ZodType< CreateProjectProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - CreateProjectLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateProjectLogHeadersProjects2$inboundSchema, + ]) +); export function createProjectProjectsLogHeadersFromJSON( jsonString: string, @@ -5459,29 +5699,33 @@ export function createProjectProjectsLogHeadersFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const CreateProjectAlgo$inboundSchema: z.ZodNativeEnum< typeof CreateProjectAlgo -> = z.nativeEnum(CreateProjectAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectAlgo)); /** @internal */ export const CreateProjectRateLimit$inboundSchema: z.ZodType< CreateProjectRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: CreateProjectAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: CreateProjectAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function createProjectRateLimitFromJSON( jsonString: string, @@ -5498,10 +5742,12 @@ export const CreateProjectRedirect$inboundSchema: z.ZodType< CreateProjectRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function createProjectRedirectFromJSON( jsonString: string, @@ -5518,21 +5764,23 @@ export const CreateProjectRulesets$inboundSchema: z.ZodType< CreateProjectRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: CreateProjectProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateProjectLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => CreateProjectRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => CreateProjectRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: CreateProjectProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateProjectLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => CreateProjectRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => CreateProjectRedirect$inboundSchema)) + .optional(), + }) +); export function createProjectRulesetsFromJSON( jsonString: string, @@ -5549,36 +5797,38 @@ export const CreateProjectSecurity$inboundSchema: z.ZodType< CreateProjectSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - CreateProjectLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => CreateProjectManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => CreateProjectRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + CreateProjectLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => CreateProjectManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => CreateProjectRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function createProjectSecurityFromJSON( jsonString: string, @@ -5592,28 +5842,31 @@ export function createProjectSecurityFromJSON( /** @internal */ export const CreateProjectProjectsResponseFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsResponseFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponseFramework) + ); /** @internal */ export const CreateProjectServiceType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectServiceType -> = z.nativeEnum(CreateProjectServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectServiceType)); /** @internal */ export const CreateProjectServices$inboundSchema: z.ZodType< CreateProjectServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional( - CreateProjectProjectsResponseFramework$inboundSchema, - ), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(CreateProjectServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + CreateProjectProjectsResponseFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(CreateProjectServiceType$inboundSchema), + }) +); export function createProjectServicesFromJSON( jsonString: string, @@ -5630,15 +5883,17 @@ export const SpeedInsights$inboundSchema: z.ZodType< SpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function speedInsightsFromJSON( jsonString: string, @@ -5654,32 +5909,41 @@ export function speedInsightsFromJSON( export const CreateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof CreateProjectApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum(CreateProjectApril2026SecurityIncidentMigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const CreateProjectCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectCve55182MigrationAppliedFrom) + ); /** @internal */ export const CreateProjectProjectsResponse200DeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectProjectsResponse200DeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsResponse200DeploymentType) + ); /** @internal */ export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType< CreateProjectProjectsSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - CreateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - CreateProjectCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: CreateProjectProjectsResponse200DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + CreateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + CreateProjectCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + CreateProjectProjectsResponse200DeploymentType$inboundSchema, + }) +); export function createProjectProjectsSsoProtectionFromJSON( jsonString: string, @@ -5697,11 +5961,13 @@ export const CreateProjectStaticIps$inboundSchema: z.ZodType< CreateProjectStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function createProjectStaticIpsFromJSON( jsonString: string, @@ -5718,7 +5984,9 @@ export const CreateProjectAliasAssigned$inboundSchema: z.ZodType< CreateProjectAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function createProjectAliasAssignedFromJSON( jsonString: string, @@ -5735,10 +6003,12 @@ export const CreateProjectProjectsAliasError$inboundSchema: z.ZodType< CreateProjectProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createProjectProjectsAliasErrorFromJSON( jsonString: string, @@ -5754,18 +6024,22 @@ export function createProjectProjectsAliasErrorFromJSON( export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType, + ) ); /** @internal */ export const CreateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType = - z.object({ - pattern: types.string(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsBranchMatcherType$inboundSchema, + }) + ); export function createProjectProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -5788,11 +6062,13 @@ export const CreateProjectProjectsBuilds$inboundSchema: z.ZodType< CreateProjectProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function createProjectProjectsBuildsFromJSON( jsonString: string, @@ -5806,27 +6082,32 @@ export function createProjectProjectsBuildsFromJSON( /** @internal */ export const CreateProjectProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectProjectsChecksConclusion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsChecksConclusion) + ); /** @internal */ export const CreateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsChecksState -> = z.nativeEnum(CreateProjectProjectsChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsChecksState) +); /** @internal */ export const CreateProjectProjectsResponseCreator$inboundSchema: z.ZodType< CreateProjectProjectsResponseCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function createProjectProjectsResponseCreatorFromJSON( jsonString: string, @@ -5844,29 +6125,31 @@ export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< CreateProjectProjectsOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function createProjectProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -5882,22 +6165,28 @@ export function createProjectProjectsOidcTokenClaimsFromJSON( /** @internal */ export const CreateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsPlan -> = z.nativeEnum(CreateProjectProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectProjectsPlan)); /** @internal */ export const CreateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsReadyState -> = z.nativeEnum(CreateProjectProjectsReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsReadyState) +); /** @internal */ export const CreateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsReadySubstate -> = z.nativeEnum(CreateProjectProjectsReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectProjectsReadySubstate) +); /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); diff --git a/src/models/createprojectresponsebody.ts b/src/models/createprojectresponsebody.ts index 78befde352..1d7436d921 100644 --- a/src/models/createprojectresponsebody.ts +++ b/src/models/createprojectresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -590,55 +590,57 @@ export const CreateProjectTargets$inboundSchema: z.ZodType< CreateProjectTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(CreateProjectAliasAssigned$inboundSchema) - .optional(), - aliasError: z.nullable(CreateProjectProjectsAliasError$inboundSchema) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - CreateProjectProjectsResponseBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(CreateProjectProjectsBuilds$inboundSchema)), - checksConclusion: types.optional( - CreateProjectProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional(CreateProjectProjectsChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable(CreateProjectProjectsResponseCreator$inboundSchema), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - CreateProjectProjectsOidcTokenClaims$inboundSchema, - ), - plan: CreateProjectProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: CreateProjectProjectsReadyState$inboundSchema, - readySubstate: types.optional( - CreateProjectProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(CreateProjectAliasAssigned$inboundSchema) + .optional(), + aliasError: z.nullable(CreateProjectProjectsAliasError$inboundSchema) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + CreateProjectProjectsResponseBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(CreateProjectProjectsBuilds$inboundSchema)), + checksConclusion: types.optional( + CreateProjectProjectsChecksConclusion$inboundSchema, + ), + checksState: types.optional(CreateProjectProjectsChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(CreateProjectProjectsResponseCreator$inboundSchema), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + CreateProjectProjectsOidcTokenClaims$inboundSchema, + ), + plan: CreateProjectProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: CreateProjectProjectsReadyState$inboundSchema, + readySubstate: types.optional( + CreateProjectProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function createProjectTargetsFromJSON( jsonString: string, @@ -653,29 +655,31 @@ export function createProjectTargetsFromJSON( /** @internal */ export const CreateProjectTier$inboundSchema: z.ZodNativeEnum< typeof CreateProjectTier -> = z.nativeEnum(CreateProjectTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectTier)); /** @internal */ export const CreateProjectDestination$inboundSchema: z.ZodNativeEnum< typeof CreateProjectDestination -> = z.nativeEnum(CreateProjectDestination); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectDestination)); /** @internal */ export const CreateProjectProjectsEnv$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsEnv -> = z.nativeEnum(CreateProjectProjectsEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectProjectsEnv)); /** @internal */ export const CreateProjectSamplingRules$inboundSchema: z.ZodType< CreateProjectSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(CreateProjectDestination$inboundSchema), - env: types.optional(CreateProjectProjectsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(CreateProjectDestination$inboundSchema), + env: types.optional(CreateProjectProjectsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function createProjectSamplingRulesFromJSON( jsonString: string, @@ -692,13 +696,15 @@ export const CreateProjectTracing$inboundSchema: z.ZodType< CreateProjectTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => CreateProjectSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => CreateProjectSamplingRules$inboundSchema)), + ), + }) +); export function createProjectTracingFromJSON( jsonString: string, @@ -712,18 +718,21 @@ export function createProjectTracingFromJSON( /** @internal */ export const CreateProjectTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectTrustedIpsDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectTrustedIpsDeploymentType) + ); /** @internal */ export const TrustedIps2$inboundSchema: z.ZodType< TrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: CreateProjectTrustedIpsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: CreateProjectTrustedIpsDeploymentType$inboundSchema, + }) +); export function trustedIps2FromJSON( jsonString: string, @@ -740,10 +749,12 @@ export const CreateProjectTrustedIpsAddresses$inboundSchema: z.ZodType< CreateProjectTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function createProjectTrustedIpsAddressesFromJSON( jsonString: string, @@ -758,25 +769,27 @@ export function createProjectTrustedIpsAddressesFromJSON( /** @internal */ export const TrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof TrustedIpsDeploymentType -> = z.nativeEnum(TrustedIpsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TrustedIpsDeploymentType)); /** @internal */ export const ProtectionMode$inboundSchema: z.ZodNativeEnum< typeof ProtectionMode -> = z.nativeEnum(ProtectionMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProtectionMode)); /** @internal */ export const TrustedIps1$inboundSchema: z.ZodType< TrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => CreateProjectTrustedIpsAddresses$inboundSchema), - ), - deploymentType: TrustedIpsDeploymentType$inboundSchema, - protectionMode: ProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => CreateProjectTrustedIpsAddresses$inboundSchema), + ), + deploymentType: TrustedIpsDeploymentType$inboundSchema, + protectionMode: ProtectionMode$inboundSchema, + }) +); export function trustedIps1FromJSON( jsonString: string, @@ -793,10 +806,12 @@ export const CreateProjectTrustedIps$inboundSchema: z.ZodType< CreateProjectTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => TrustedIps1$inboundSchema), - z.lazy(() => TrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => TrustedIps1$inboundSchema), + z.lazy(() => TrustedIps2$inboundSchema), + ]) +); export function createProjectTrustedIpsFromJSON( jsonString: string, @@ -811,17 +826,21 @@ export function createProjectTrustedIpsFromJSON( /** @internal */ export const CreateProjectToProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof CreateProjectToProjectsPreset -> = z.nativeEnum(CreateProjectToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectToProjectsPreset) +); /** @internal */ export const CreateProjectTo2$inboundSchema: z.ZodType< CreateProjectTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: CreateProjectToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: CreateProjectToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function createProjectTo2FromJSON( jsonString: string, @@ -836,17 +855,19 @@ export function createProjectTo2FromJSON( /** @internal */ export const CreateProjectToPreset$inboundSchema: z.ZodNativeEnum< typeof CreateProjectToPreset -> = z.nativeEnum(CreateProjectToPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectToPreset)); /** @internal */ export const CreateProjectTo1$inboundSchema: z.ZodType< CreateProjectTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(CreateProjectToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(CreateProjectToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function createProjectTo1FromJSON( jsonString: string, @@ -863,10 +884,12 @@ export const CreateProjectTo$inboundSchema: z.ZodType< CreateProjectTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateProjectTo1$inboundSchema), - z.lazy(() => CreateProjectTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectTo1$inboundSchema), + z.lazy(() => CreateProjectTo2$inboundSchema), + ]) +); export function createProjectToFromJSON( jsonString: string, @@ -883,14 +906,16 @@ export const CreateProjectOidcProviders$inboundSchema: z.ZodType< CreateProjectOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => CreateProjectTo1$inboundSchema), - z.lazy(() => CreateProjectTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => CreateProjectTo1$inboundSchema), + z.lazy(() => CreateProjectTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function createProjectOidcProvidersFromJSON( jsonString: string, @@ -905,17 +930,19 @@ export function createProjectOidcProvidersFromJSON( /** @internal */ export const CreateProjectFromPreset$inboundSchema: z.ZodNativeEnum< typeof CreateProjectFromPreset -> = z.nativeEnum(CreateProjectFromPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectFromPreset)); /** @internal */ export const CreateProjectFrom2$inboundSchema: z.ZodType< CreateProjectFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: CreateProjectFromPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: CreateProjectFromPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function createProjectFrom2FromJSON( jsonString: string, @@ -930,17 +957,21 @@ export function createProjectFrom2FromJSON( /** @internal */ export const CreateProjectFromProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof CreateProjectFromProjectsPreset -> = z.nativeEnum(CreateProjectFromProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectFromProjectsPreset) +); /** @internal */ export const CreateProjectFrom1$inboundSchema: z.ZodType< CreateProjectFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(CreateProjectFromProjectsPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(CreateProjectFromProjectsPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function createProjectFrom1FromJSON( jsonString: string, @@ -957,10 +988,12 @@ export const CreateProjectFrom$inboundSchema: z.ZodType< CreateProjectFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateProjectFrom1$inboundSchema), - z.lazy(() => CreateProjectFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectFrom1$inboundSchema), + z.lazy(() => CreateProjectFrom2$inboundSchema), + ]) +); export function createProjectFromFromJSON( jsonString: string, @@ -974,18 +1007,22 @@ export function createProjectFromFromJSON( /** @internal */ export const CreateProjectToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateProjectToProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectToProjectsResponse200Preset) + ); /** @internal */ export const CreateProjectToProjects2$inboundSchema: z.ZodType< CreateProjectToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: CreateProjectToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: CreateProjectToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function createProjectToProjects2FromJSON( jsonString: string, @@ -999,19 +1036,22 @@ export function createProjectToProjects2FromJSON( /** @internal */ export const CreateProjectToProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateProjectToProjectsResponsePreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateProjectToProjectsResponsePreset) + ); /** @internal */ export const CreateProjectToProjects1$inboundSchema: z.ZodType< CreateProjectToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(CreateProjectToProjectsResponsePreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(CreateProjectToProjectsResponsePreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function createProjectToProjects1FromJSON( jsonString: string, @@ -1028,10 +1068,12 @@ export const CreateProjectProjectsTo$inboundSchema: z.ZodType< CreateProjectProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateProjectToProjects1$inboundSchema), - z.lazy(() => CreateProjectToProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateProjectToProjects1$inboundSchema), + z.lazy(() => CreateProjectToProjects2$inboundSchema), + ]) +); export function createProjectProjectsToFromJSON( jsonString: string, @@ -1048,16 +1090,18 @@ export const CreateProjectCustomAllow$inboundSchema: z.ZodType< CreateProjectCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: smartUnion([ - z.lazy(() => CreateProjectFrom1$inboundSchema), - z.lazy(() => CreateProjectFrom2$inboundSchema), - ]), - to: smartUnion([ - z.lazy(() => CreateProjectToProjects1$inboundSchema), - z.lazy(() => CreateProjectToProjects2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: smartUnion([ + z.lazy(() => CreateProjectFrom1$inboundSchema), + z.lazy(() => CreateProjectFrom2$inboundSchema), + ]), + to: smartUnion([ + z.lazy(() => CreateProjectToProjects1$inboundSchema), + z.lazy(() => CreateProjectToProjects2$inboundSchema), + ]), + }) +); export function createProjectCustomAllowFromJSON( jsonString: string, @@ -1074,12 +1118,14 @@ export const CreateProjectProjects$inboundSchema: z.ZodType< CreateProjectProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => CreateProjectCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => CreateProjectCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function createProjectProjectsFromJSON( jsonString: string, @@ -1096,15 +1142,17 @@ export const CreateProjectTrustedSources$inboundSchema: z.ZodType< CreateProjectTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(z.lazy(() => CreateProjectOidcProviders$inboundSchema))), - ), - projects: types.optional( - z.record(z.lazy(() => CreateProjectProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(z.lazy(() => CreateProjectOidcProviders$inboundSchema))), + ), + projects: types.optional( + z.record(z.lazy(() => CreateProjectProjects$inboundSchema)), + ), + }) +); export function createProjectTrustedSourcesFromJSON( jsonString: string, @@ -1119,20 +1167,22 @@ export function createProjectTrustedSourcesFromJSON( /** @internal */ export const CreateProjectKind$inboundSchema: z.ZodNativeEnum< typeof CreateProjectKind -> = z.nativeEnum(CreateProjectKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateProjectKind)); /** @internal */ export const UsageStatus$inboundSchema: z.ZodType< UsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: CreateProjectKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: CreateProjectKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function usageStatusFromJSON( jsonString: string, @@ -1149,9 +1199,11 @@ export const VercelFlags$inboundSchema: z.ZodType< VercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function vercelFlagsFromJSON( jsonString: string, @@ -1168,13 +1220,15 @@ export const CreateProjectWebAnalytics$inboundSchema: z.ZodType< CreateProjectWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function createProjectWebAnalyticsFromJSON( jsonString: string, @@ -1191,132 +1245,137 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType< CreateProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(Alias$inboundSchema), - analytics: types.optional(Analytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(Blobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(CreateProjectConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(CreateProjectCreator$inboundSchema), - crons: types.optional(CreateProjectCrons$inboundSchema), - customEnvironments: types.optional( - z.array(CreateProjectCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(CreateProjectDataCache$inboundSchema), - defaultResourceConfig: DefaultResourceConfig$inboundSchema, - deploymentExpiration: DeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable(CreateProjectDeploymentPolicy$inboundSchema) - .optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(CreateProjectDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(CreateProjectEnv$inboundSchema)), - expiration: types.optional(CreateProjectExpiration$inboundSchema), - features: types.optional(Features$inboundSchema), - framework: z.nullable(CreateProjectProjectsFramework$inboundSchema) - .optional(), - gitComments: types.optional(CreateProjectGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - CreateProjectGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional(z.array(InternalRoutes$inboundSchema)), - ipBuckets: types.optional(z.array(CreateProjectIpBuckets$inboundSchema)), - jobs: types.optional(Jobs$inboundSchema), - lastAliasRequest: z.nullable(LastAliasRequest$inboundSchema).optional(), - lastRollbackTarget: z.nullable(LastRollbackTarget$inboundSchema).optional(), - latestDeployments: types.optional(z.array(LatestDeployments$inboundSchema)), - link: types.optional(Link$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional(CreateProjectMicrofrontends$inboundSchema), - name: types.string(), - nodeVersion: CreateProjectNodeVersion$inboundSchema, - oidcTokenConfig: types.optional(CreateProjectOidcTokenConfig$inboundSchema), - optionsAllowlist: z.nullable(CreateProjectOptionsAllowlist$inboundSchema) - .optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(CreateProjectPassport$inboundSchema).optional(), - passwordProtection: z.nullable(CreateProjectPasswordProtection$inboundSchema) - .optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(CreateProjectPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional(z.record(ProtectionBypass$inboundSchema)), - protectionConfig: types.optional(ProtectionConfig$inboundSchema), - resourceConfig: CreateProjectProjectsResourceConfig$inboundSchema, - rollbackDescription: types.optional( - CreateProjectRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable(RollingRelease$inboundSchema).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(CreateProjectSandbox$inboundSchema), - security: types.optional(CreateProjectSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional(z.array(CreateProjectServices$inboundSchema)), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional(SpeedInsights$inboundSchema), - ssoProtection: z.nullable(CreateProjectProjectsSsoProtection$inboundSchema) - .optional(), - staticIps: types.optional(CreateProjectStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(z.lazy(() => CreateProjectTargets$inboundSchema))), - ), - tier: types.optional(CreateProjectTier$inboundSchema), - tracing: types.optional(z.lazy(() => CreateProjectTracing$inboundSchema)), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable( - smartUnion([ - z.lazy(() => TrustedIps1$inboundSchema), - z.lazy(() => TrustedIps2$inboundSchema), - ]), - ).optional(), - trustedSources: z.nullable( - z.lazy(() => CreateProjectTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional(z.lazy(() => UsageStatus$inboundSchema)), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional(z.lazy(() => VercelFlags$inboundSchema)), - webAnalytics: types.optional( - z.lazy(() => CreateProjectWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(Alias$inboundSchema), + analytics: types.optional(Analytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(Blobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(CreateProjectConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(CreateProjectCreator$inboundSchema), + crons: types.optional(CreateProjectCrons$inboundSchema), + customEnvironments: types.optional( + z.array(CreateProjectCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(CreateProjectDataCache$inboundSchema), + defaultResourceConfig: DefaultResourceConfig$inboundSchema, + deploymentExpiration: DeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable(CreateProjectDeploymentPolicy$inboundSchema) + .optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(CreateProjectDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(CreateProjectEnv$inboundSchema)), + expiration: types.optional(CreateProjectExpiration$inboundSchema), + features: types.optional(Features$inboundSchema), + framework: z.nullable(CreateProjectProjectsFramework$inboundSchema) + .optional(), + gitComments: types.optional(CreateProjectGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + CreateProjectGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional(z.array(InternalRoutes$inboundSchema)), + ipBuckets: types.optional(z.array(CreateProjectIpBuckets$inboundSchema)), + jobs: types.optional(Jobs$inboundSchema), + lastAliasRequest: z.nullable(LastAliasRequest$inboundSchema).optional(), + lastRollbackTarget: z.nullable(LastRollbackTarget$inboundSchema).optional(), + latestDeployments: types.optional(z.array(LatestDeployments$inboundSchema)), + link: types.optional(Link$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional(CreateProjectMicrofrontends$inboundSchema), + name: types.string(), + nodeVersion: CreateProjectNodeVersion$inboundSchema, + oidcTokenConfig: types.optional(CreateProjectOidcTokenConfig$inboundSchema), + optionsAllowlist: z.nullable(CreateProjectOptionsAllowlist$inboundSchema) + .optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(CreateProjectPassport$inboundSchema).optional(), + passwordProtection: z.nullable( + CreateProjectPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(CreateProjectPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional(z.record(ProtectionBypass$inboundSchema)), + protectionConfig: types.optional(ProtectionConfig$inboundSchema), + resourceConfig: CreateProjectProjectsResourceConfig$inboundSchema, + rollbackDescription: types.optional( + CreateProjectRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable(RollingRelease$inboundSchema).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(CreateProjectSandbox$inboundSchema), + security: types.optional(CreateProjectSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional(z.array(CreateProjectServices$inboundSchema)), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional(SpeedInsights$inboundSchema), + ssoProtection: z.nullable(CreateProjectProjectsSsoProtection$inboundSchema) + .optional(), + staticIps: types.optional(CreateProjectStaticIps$inboundSchema), + targets: types.optional( + z.record( + types.nullable(z.lazy(() => CreateProjectTargets$inboundSchema)), + ), + ), + tier: types.optional(CreateProjectTier$inboundSchema), + tracing: types.optional(z.lazy(() => CreateProjectTracing$inboundSchema)), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable( + smartUnion([ + z.lazy(() => TrustedIps1$inboundSchema), + z.lazy(() => TrustedIps2$inboundSchema), + ]), + ).optional(), + trustedSources: z.nullable( + z.lazy(() => CreateProjectTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional(z.lazy(() => UsageStatus$inboundSchema)), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional(z.lazy(() => VercelFlags$inboundSchema)), + webAnalytics: types.optional( + z.lazy(() => CreateProjectWebAnalytics$inboundSchema), + ), + }) +); export function createProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createprojecttransferrequestop.ts b/src/models/createprojecttransferrequestop.ts index 198c131747..b130948362 100644 --- a/src/models/createprojecttransferrequestop.ts +++ b/src/models/createprojecttransferrequestop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -54,10 +54,12 @@ export const CreateProjectTransferRequestRequestBody$outboundSchema: z.ZodType< CreateProjectTransferRequestRequestBody$Outbound, z.ZodTypeDef, CreateProjectTransferRequestRequestBody -> = z.object({ - callbackUrl: z.string().optional(), - callbackSecret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + callbackUrl: z.string().optional(), + callbackSecret: z.string().optional(), + }) +); export function createProjectTransferRequestRequestBodyToJSON( createProjectTransferRequestRequestBody: @@ -83,18 +85,20 @@ export const CreateProjectTransferRequestRequest$outboundSchema: z.ZodType< CreateProjectTransferRequestRequest$Outbound, z.ZodTypeDef, CreateProjectTransferRequestRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateProjectTransferRequestRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateProjectTransferRequestRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createProjectTransferRequestRequestToJSON( createProjectTransferRequestRequest: CreateProjectTransferRequestRequest, @@ -111,9 +115,11 @@ export const CreateProjectTransferRequestResponseBody$inboundSchema: z.ZodType< CreateProjectTransferRequestResponseBody, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + }) +); export function createProjectTransferRequestResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createrecordop.ts b/src/models/createrecordop.ts index f68ef0db8a..a13fe442b8 100644 --- a/src/models/createrecordop.ts +++ b/src/models/createrecordop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -514,8 +514,10 @@ export type CreateRecordResponseBody = /** @internal */ export const CreateRecordRequestBodyDnsRequest10Type$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateRecordRequestBodyDnsRequest10Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest10Type) + ); /** @internal */ export type RequestBodyHttps$Outbound = { @@ -529,11 +531,13 @@ export const RequestBodyHttps$outboundSchema: z.ZodType< RequestBodyHttps$Outbound, z.ZodTypeDef, RequestBodyHttps -> = z.object({ - priority: z.nullable(z.number()), - target: z.string(), - params: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + priority: z.nullable(z.number()), + target: z.string(), + params: z.string().optional(), + }) +); export function requestBodyHttpsToJSON( requestBodyHttps: RequestBodyHttps, @@ -556,12 +560,14 @@ export const RequestBody10$outboundSchema: z.ZodType< RequestBody10$Outbound, z.ZodTypeDef, RequestBody10 -> = z.object({ - type: CreateRecordRequestBodyDnsRequest10Type$outboundSchema, - ttl: z.number().optional(), - https: z.lazy(() => RequestBodyHttps$outboundSchema), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateRecordRequestBodyDnsRequest10Type$outboundSchema, + ttl: z.number().optional(), + https: z.lazy(() => RequestBodyHttps$outboundSchema), + comment: z.string().optional(), + }) +); export function requestBody10ToJSON(requestBody10: RequestBody10): string { return JSON.stringify(RequestBody10$outboundSchema.parse(requestBody10)); @@ -569,9 +575,10 @@ export function requestBody10ToJSON(requestBody10: RequestBody10): string { /** @internal */ export const CreateRecordRequestBodyDnsRequest9Type$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest9Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest9Type) + ); /** @internal */ export type RequestBody9$Outbound = { @@ -587,13 +594,15 @@ export const RequestBody9$outboundSchema: z.ZodType< RequestBody9$Outbound, z.ZodTypeDef, RequestBody9 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest9Type$outboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest9Type$outboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), + }) +); export function requestBody9ToJSON(requestBody9: RequestBody9): string { return JSON.stringify(RequestBody9$outboundSchema.parse(requestBody9)); @@ -601,9 +610,10 @@ export function requestBody9ToJSON(requestBody9: RequestBody9): string { /** @internal */ export const CreateRecordRequestBodyDnsRequest8Type$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest8Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest8Type) + ); /** @internal */ export type RequestBody8$Outbound = { @@ -618,12 +628,14 @@ export const RequestBody8$outboundSchema: z.ZodType< RequestBody8$Outbound, z.ZodTypeDef, RequestBody8 -> = z.object({ - type: CreateRecordRequestBodyDnsRequest8Type$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateRecordRequestBodyDnsRequest8Type$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBody8ToJSON(requestBody8: RequestBody8): string { return JSON.stringify(RequestBody8$outboundSchema.parse(requestBody8)); @@ -631,9 +643,10 @@ export function requestBody8ToJSON(requestBody8: RequestBody8): string { /** @internal */ export const CreateRecordRequestBodyDnsRequest7Type$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest7Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest7Type) + ); /** @internal */ export type RequestBodySrv$Outbound = { @@ -648,12 +661,14 @@ export const RequestBodySrv$outboundSchema: z.ZodType< RequestBodySrv$Outbound, z.ZodTypeDef, RequestBodySrv -> = z.object({ - priority: z.nullable(z.number()), - weight: z.nullable(z.number()), - port: z.nullable(z.number()), - target: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + priority: z.nullable(z.number()), + weight: z.nullable(z.number()), + port: z.nullable(z.number()), + target: z.string(), + }) +); export function requestBodySrvToJSON(requestBodySrv: RequestBodySrv): string { return JSON.stringify(RequestBodySrv$outboundSchema.parse(requestBodySrv)); @@ -672,12 +687,14 @@ export const RequestBody7$outboundSchema: z.ZodType< RequestBody7$Outbound, z.ZodTypeDef, RequestBody7 -> = z.object({ - type: CreateRecordRequestBodyDnsRequest7Type$outboundSchema, - ttl: z.number().optional(), - srv: z.lazy(() => RequestBodySrv$outboundSchema), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateRecordRequestBodyDnsRequest7Type$outboundSchema, + ttl: z.number().optional(), + srv: z.lazy(() => RequestBodySrv$outboundSchema), + comment: z.string().optional(), + }) +); export function requestBody7ToJSON(requestBody7: RequestBody7): string { return JSON.stringify(RequestBody7$outboundSchema.parse(requestBody7)); @@ -685,9 +702,10 @@ export function requestBody7ToJSON(requestBody7: RequestBody7): string { /** @internal */ export const CreateRecordRequestBodyDnsRequest6Type$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest6Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest6Type) + ); /** @internal */ export type RequestBody6$Outbound = { @@ -704,14 +722,16 @@ export const RequestBody6$outboundSchema: z.ZodType< RequestBody6$Outbound, z.ZodTypeDef, RequestBody6 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest6Type$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - mxPriority: z.number(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest6Type$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + mxPriority: z.number(), + comment: z.string().optional(), + }) +); export function requestBody6ToJSON(requestBody6: RequestBody6): string { return JSON.stringify(RequestBody6$outboundSchema.parse(requestBody6)); @@ -719,9 +739,10 @@ export function requestBody6ToJSON(requestBody6: RequestBody6): string { /** @internal */ export const CreateRecordRequestBodyDnsRequest5Type$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequest5Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequest5Type) + ); /** @internal */ export type RequestBody5$Outbound = { @@ -737,13 +758,15 @@ export const RequestBody5$outboundSchema: z.ZodType< RequestBody5$Outbound, z.ZodTypeDef, RequestBody5 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequest5Type$outboundSchema, - ttl: z.number().optional(), - value: z.string().optional(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequest5Type$outboundSchema, + ttl: z.number().optional(), + value: z.string().optional(), + comment: z.string().optional(), + }) +); export function requestBody5ToJSON(requestBody5: RequestBody5): string { return JSON.stringify(RequestBody5$outboundSchema.parse(requestBody5)); @@ -751,9 +774,10 @@ export function requestBody5ToJSON(requestBody5: RequestBody5): string { /** @internal */ export const CreateRecordRequestBodyDnsRequestType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateRecordRequestBodyDnsRequestType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsRequestType) + ); /** @internal */ export type RequestBody4$Outbound = { @@ -769,13 +793,15 @@ export const RequestBody4$outboundSchema: z.ZodType< RequestBody4$Outbound, z.ZodTypeDef, RequestBody4 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsRequestType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsRequestType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBody4ToJSON(requestBody4: RequestBody4): string { return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4)); @@ -784,7 +810,9 @@ export function requestBody4ToJSON(requestBody4: RequestBody4): string { /** @internal */ export const CreateRecordRequestBodyDnsType$outboundSchema: z.ZodNativeEnum< typeof CreateRecordRequestBodyDnsType -> = z.nativeEnum(CreateRecordRequestBodyDnsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyDnsType) +); /** @internal */ export type RequestBody3$Outbound = { @@ -800,13 +828,15 @@ export const RequestBody3$outboundSchema: z.ZodType< RequestBody3$Outbound, z.ZodTypeDef, RequestBody3 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyDnsType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyDnsType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBody3ToJSON(requestBody3: RequestBody3): string { return JSON.stringify(RequestBody3$outboundSchema.parse(requestBody3)); @@ -815,7 +845,9 @@ export function requestBody3ToJSON(requestBody3: RequestBody3): string { /** @internal */ export const CreateRecordRequestBodyType$outboundSchema: z.ZodNativeEnum< typeof CreateRecordRequestBodyType -> = z.nativeEnum(CreateRecordRequestBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateRecordRequestBodyType) +); /** @internal */ export type RequestBody2$Outbound = { @@ -831,13 +863,15 @@ export const RequestBody2$outboundSchema: z.ZodType< RequestBody2$Outbound, z.ZodTypeDef, RequestBody2 -> = z.object({ - name: z.string(), - type: CreateRecordRequestBodyType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: CreateRecordRequestBodyType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBody2ToJSON(requestBody2: RequestBody2): string { return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2)); @@ -846,7 +880,7 @@ export function requestBody2ToJSON(requestBody2: RequestBody2): string { /** @internal */ export const RequestBodyType$outboundSchema: z.ZodNativeEnum< typeof RequestBodyType -> = z.nativeEnum(RequestBodyType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyType)); /** @internal */ export type RequestBody1$Outbound = { @@ -862,13 +896,15 @@ export const RequestBody1$outboundSchema: z.ZodType< RequestBody1$Outbound, z.ZodTypeDef, RequestBody1 -> = z.object({ - name: z.string(), - type: RequestBodyType$outboundSchema, - ttl: z.number().optional(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + type: RequestBodyType$outboundSchema, + ttl: z.number().optional(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBody1ToJSON(requestBody1: RequestBody1): string { return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1)); @@ -892,18 +928,20 @@ export const CreateRecordRequestBody$outboundSchema: z.ZodType< CreateRecordRequestBody$Outbound, z.ZodTypeDef, CreateRecordRequestBody -> = smartUnion([ - z.lazy(() => RequestBody6$outboundSchema), - z.lazy(() => RequestBody1$outboundSchema), - z.lazy(() => RequestBody2$outboundSchema), - z.lazy(() => RequestBody3$outboundSchema), - z.lazy(() => RequestBody4$outboundSchema), - z.lazy(() => RequestBody5$outboundSchema), - z.lazy(() => RequestBody7$outboundSchema), - z.lazy(() => RequestBody8$outboundSchema), - z.lazy(() => RequestBody9$outboundSchema), - z.lazy(() => RequestBody10$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => RequestBody6$outboundSchema), + z.lazy(() => RequestBody1$outboundSchema), + z.lazy(() => RequestBody2$outboundSchema), + z.lazy(() => RequestBody3$outboundSchema), + z.lazy(() => RequestBody4$outboundSchema), + z.lazy(() => RequestBody5$outboundSchema), + z.lazy(() => RequestBody7$outboundSchema), + z.lazy(() => RequestBody8$outboundSchema), + z.lazy(() => RequestBody9$outboundSchema), + z.lazy(() => RequestBody10$outboundSchema), + ]) +); export function createRecordRequestBodyToJSON( createRecordRequestBody: CreateRecordRequestBody, @@ -936,27 +974,29 @@ export const CreateRecordRequest$outboundSchema: z.ZodType< CreateRecordRequest$Outbound, z.ZodTypeDef, CreateRecordRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => RequestBody6$outboundSchema), - z.lazy(() => RequestBody1$outboundSchema), - z.lazy(() => RequestBody2$outboundSchema), - z.lazy(() => RequestBody3$outboundSchema), - z.lazy(() => RequestBody4$outboundSchema), - z.lazy(() => RequestBody5$outboundSchema), - z.lazy(() => RequestBody7$outboundSchema), - z.lazy(() => RequestBody8$outboundSchema), - z.lazy(() => RequestBody9$outboundSchema), - z.lazy(() => RequestBody10$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => RequestBody6$outboundSchema), + z.lazy(() => RequestBody1$outboundSchema), + z.lazy(() => RequestBody2$outboundSchema), + z.lazy(() => RequestBody3$outboundSchema), + z.lazy(() => RequestBody4$outboundSchema), + z.lazy(() => RequestBody5$outboundSchema), + z.lazy(() => RequestBody7$outboundSchema), + z.lazy(() => RequestBody8$outboundSchema), + z.lazy(() => RequestBody9$outboundSchema), + z.lazy(() => RequestBody10$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createRecordRequestToJSON( createRecordRequest: CreateRecordRequest, @@ -971,9 +1011,11 @@ export const CreateRecordResponseBody2$inboundSchema: z.ZodType< CreateRecordResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - uid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: types.string(), + }) +); export function createRecordResponseBody2FromJSON( jsonString: string, @@ -990,10 +1032,12 @@ export const CreateRecordResponseBody1$inboundSchema: z.ZodType< CreateRecordResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - uid: types.optional(types.string()), - updated: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: types.optional(types.string()), + updated: types.number(), + }) +); export function createRecordResponseBody1FromJSON( jsonString: string, @@ -1010,10 +1054,12 @@ export const CreateRecordResponseBody$inboundSchema: z.ZodType< CreateRecordResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateRecordResponseBody1$inboundSchema), - z.lazy(() => CreateRecordResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateRecordResponseBody1$inboundSchema), + z.lazy(() => CreateRecordResponseBody2$inboundSchema), + ]) +); export function createRecordResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createrepositoryop.ts b/src/models/createrepositoryop.ts index 704c0cfb4d..2901f99880 100644 --- a/src/models/createrepositoryop.ts +++ b/src/models/createrepositoryop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { VcrRepository, VcrRepository$inboundSchema } from "./vcrrepository.js"; @@ -50,10 +50,12 @@ export const CreateRepositoryRequestBody$outboundSchema: z.ZodType< CreateRepositoryRequestBody$Outbound, z.ZodTypeDef, CreateRepositoryRequestBody -> = z.object({ - projectId: z.string(), - name: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + name: z.string(), + }) +); export function createRepositoryRequestBodyToJSON( createRepositoryRequestBody: CreateRepositoryRequestBody, @@ -77,16 +79,18 @@ export const CreateRepositoryRequest$outboundSchema: z.ZodType< CreateRepositoryRequest$Outbound, z.ZodTypeDef, CreateRepositoryRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateRepositoryRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateRepositoryRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createRepositoryRequestToJSON( createRepositoryRequest: CreateRepositoryRequest, @@ -101,9 +105,11 @@ export const CreateRepositoryResponseBody$inboundSchema: z.ZodType< CreateRepositoryResponseBody, z.ZodTypeDef, unknown -> = z.object({ - repository: VcrRepository$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + repository: VcrRepository$inboundSchema, + }) +); export function createRepositoryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createsandboxessessionsbysessionidsnapshotv2op.ts b/src/models/createsandboxessessionsbysessionidsnapshotv2op.ts index 7b97c07894..08c7e642de 100644 --- a/src/models/createsandboxessessionsbysessionidsnapshotv2op.ts +++ b/src/models/createsandboxessessionsbysessionidsnapshotv2op.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -65,7 +65,9 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV2Expiration$outboundSche CreateSandboxesSessionsBySessionIdSnapshotV2Expiration$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV2Expiration - > = smartUnion([z.any(), z.number().int()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.any(), z.number().int()]) + ); export function createSandboxesSessionsBySessionIdSnapshotV2ExpirationToJSON( createSandboxesSessionsBySessionIdSnapshotV2Expiration: @@ -89,9 +91,11 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV2RequestBody$outboundSch CreateSandboxesSessionsBySessionIdSnapshotV2RequestBody$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV2RequestBody - > = z.object({ - expiration: smartUnion([z.any(), z.number().int()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiration: smartUnion([z.any(), z.number().int()]).optional(), + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV2RequestBodyToJSON( createSandboxesSessionsBySessionIdSnapshotV2RequestBody: @@ -119,18 +123,20 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV2Request$outboundSchema: CreateSandboxesSessionsBySessionIdSnapshotV2Request$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV2Request - > = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateSandboxesSessionsBySessionIdSnapshotV2RequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateSandboxesSessionsBySessionIdSnapshotV2RequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV2RequestToJSON( createSandboxesSessionsBySessionIdSnapshotV2Request: @@ -149,10 +155,12 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV2ResponseBody$inboundSch CreateSandboxesSessionsBySessionIdSnapshotV2ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - session: Session$inboundSchema, - snapshot: Snapshot$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + session: Session$inboundSchema, + snapshot: Snapshot$inboundSchema, + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV2ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createsandboxessessionsbysessionidsnapshotv3op.ts b/src/models/createsandboxessessionsbysessionidsnapshotv3op.ts index 278c5b9a8f..c8613f7ce9 100644 --- a/src/models/createsandboxessessionsbysessionidsnapshotv3op.ts +++ b/src/models/createsandboxessessionsbysessionidsnapshotv3op.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -65,7 +65,9 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV3Expiration$outboundSche CreateSandboxesSessionsBySessionIdSnapshotV3Expiration$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV3Expiration - > = smartUnion([z.any(), z.number().int()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.any(), z.number().int()]) + ); export function createSandboxesSessionsBySessionIdSnapshotV3ExpirationToJSON( createSandboxesSessionsBySessionIdSnapshotV3Expiration: @@ -89,9 +91,11 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV3RequestBody$outboundSch CreateSandboxesSessionsBySessionIdSnapshotV3RequestBody$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV3RequestBody - > = z.object({ - expiration: smartUnion([z.any(), z.number().int()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiration: smartUnion([z.any(), z.number().int()]).optional(), + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV3RequestBodyToJSON( createSandboxesSessionsBySessionIdSnapshotV3RequestBody: @@ -119,18 +123,20 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV3Request$outboundSchema: CreateSandboxesSessionsBySessionIdSnapshotV3Request$Outbound, z.ZodTypeDef, CreateSandboxesSessionsBySessionIdSnapshotV3Request - > = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateSandboxesSessionsBySessionIdSnapshotV3RequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateSandboxesSessionsBySessionIdSnapshotV3RequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV3RequestToJSON( createSandboxesSessionsBySessionIdSnapshotV3Request: @@ -149,10 +155,12 @@ export const CreateSandboxesSessionsBySessionIdSnapshotV3ResponseBody$inboundSch CreateSandboxesSessionsBySessionIdSnapshotV3ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - session: Session$inboundSchema, - snapshot: Snapshot$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + session: Session$inboundSchema, + snapshot: Snapshot$inboundSchema, + }) + ); export function createSandboxesSessionsBySessionIdSnapshotV3ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createsdkkeyop.ts b/src/models/createsdkkeyop.ts index ec4964ed40..380435265e 100644 --- a/src/models/createsdkkeyop.ts +++ b/src/models/createsdkkeyop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const SDKKeyType = { @@ -36,8 +37,8 @@ export type CreateSDKKeyRequest = { }; /** @internal */ -export const SDKKeyType$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(SDKKeyType); +export const SDKKeyType$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SDKKeyType)); /** @internal */ export type CreateSDKKeyRequestBody$Outbound = { @@ -51,11 +52,13 @@ export const CreateSDKKeyRequestBody$outboundSchema: z.ZodType< CreateSDKKeyRequestBody$Outbound, z.ZodTypeDef, CreateSDKKeyRequestBody -> = z.object({ - sdkKeyType: SDKKeyType$outboundSchema, - environment: z.string(), - label: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sdkKeyType: SDKKeyType$outboundSchema, + environment: z.string(), + label: z.string().optional(), + }) +); export function createSDKKeyRequestBodyToJSON( createSDKKeyRequestBody: CreateSDKKeyRequestBody, @@ -78,16 +81,19 @@ export const CreateSDKKeyRequest$outboundSchema: z.ZodType< CreateSDKKeyRequest$Outbound, z.ZodTypeDef, CreateSDKKeyRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateSDKKeyRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateSDKKeyRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createSDKKeyRequestToJSON( createSDKKeyRequest: CreateSDKKeyRequest, diff --git a/src/models/createsecurityfirewallconfigbyconfigversionactivateop.ts b/src/models/createsecurityfirewallconfigbyconfigversionactivateop.ts index d56892a92f..573dd08ad0 100644 --- a/src/models/createsecurityfirewallconfigbyconfigversionactivateop.ts +++ b/src/models/createsecurityfirewallconfigbyconfigversionactivateop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1170,9 +1170,11 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRequest$outbound CreateSecurityFirewallConfigByConfigVersionActivateRequest$Outbound, z.ZodTypeDef, CreateSecurityFirewallConfigByConfigVersionActivateRequest - > = z.object({ - configVersion: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configVersion: z.string(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRequestToJSON( createSecurityFirewallConfigByConfigVersionActivateRequest: @@ -1190,7 +1192,7 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateChanges$inboundS CreateSecurityFirewallConfigByConfigVersionActivateChanges, z.ZodTypeDef, unknown - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createSecurityFirewallConfigByConfigVersionActivateChangesFromJSON( jsonString: string, @@ -1211,13 +1213,17 @@ export function createSecurityFirewallConfigByConfigVersionActivateChangesFromJS export const CreateSecurityFirewallConfigByConfigVersionActivateOp$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateOp - > = z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateOp); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateOp) + ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateType$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateType - > = z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateType) + ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateValue$inboundSchema: @@ -1225,7 +1231,9 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateValue$inboundSch CreateSecurityFirewallConfigByConfigVersionActivateValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function createSecurityFirewallConfigByConfigVersionActivateValueFromJSON( jsonString: string, @@ -1248,15 +1256,18 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityConditio CreateSecurityFirewallConfigByConfigVersionActivateSecurityConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: CreateSecurityFirewallConfigByConfigVersionActivateOp$inboundSchema, - type: CreateSecurityFirewallConfigByConfigVersionActivateType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: CreateSecurityFirewallConfigByConfigVersionActivateOp$inboundSchema, + type: + CreateSecurityFirewallConfigByConfigVersionActivateType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateSecurityConditionsFromJSON( jsonString: string, @@ -1279,13 +1290,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateConditionGroup$i CreateSecurityFirewallConfigByConfigVersionActivateConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateSecurityConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateConditionGroupFromJSON( jsonString: string, @@ -1308,17 +1319,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateConditions$inbou CreateSecurityFirewallConfigByConfigVersionActivateConditions, z.ZodTypeDef, unknown - > = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateConditionGroup$inboundSchema - ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - }); + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateConditionsFromJSON( jsonString: string, @@ -1339,8 +1350,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateConditionsFro export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction, + ) ); /** @internal */ @@ -1349,11 +1362,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateGen$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateGen, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateGenFromJSON( jsonString: string, @@ -1374,8 +1389,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateGenFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction, + ) ); /** @internal */ @@ -1384,11 +1401,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateJava$inboundSche CreateSecurityFirewallConfigByConfigVersionActivateJava, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateJavaFromJSON( jsonString: string, @@ -1409,8 +1428,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateJavaFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction, + ) ); /** @internal */ @@ -1419,11 +1440,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateLfi$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateLfi, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponseAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateLfiFromJSON( jsonString: string, @@ -1444,8 +1467,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateLfiFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action, + ) ); /** @internal */ @@ -1454,11 +1479,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateMa$inboundSchema CreateSecurityFirewallConfigByConfigVersionActivateMa, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200Action$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateMaFromJSON( jsonString: string, @@ -1480,8 +1507,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateMaFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ @@ -1490,11 +1519,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivatePhp$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivatePhp, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivatePhpFromJSON( jsonString: string, @@ -1515,8 +1546,10 @@ export function createSecurityFirewallConfigByConfigVersionActivatePhpFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -1525,11 +1558,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRce$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateRce, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRceFromJSON( jsonString: string, @@ -1550,8 +1585,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateRceFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction, + ) ); /** @internal */ @@ -1560,11 +1597,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRfi$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateRfi, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRfiFromJSON( jsonString: string, @@ -1585,8 +1624,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateRfiFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, + ) ); /** @internal */ @@ -1595,11 +1636,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateSd$inboundSchema CreateSecurityFirewallConfigByConfigVersionActivateSd, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateSdFromJSON( jsonString: string, @@ -1621,8 +1664,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateSdFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, + ) ); /** @internal */ @@ -1631,11 +1676,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateSf$inboundSchema CreateSecurityFirewallConfigByConfigVersionActivateSf, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateSfFromJSON( jsonString: string, @@ -1657,8 +1704,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateSfFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, + ) ); /** @internal */ @@ -1667,11 +1716,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateSqli$inboundSche CreateSecurityFirewallConfigByConfigVersionActivateSqli, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateSqliFromJSON( jsonString: string, @@ -1692,8 +1743,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateSqliFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, + ) ); /** @internal */ @@ -1702,11 +1755,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateXss$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateXss, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, + active: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateXssFromJSON( jsonString: string, @@ -1729,41 +1784,43 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateCrs$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateCrs, z.ZodTypeDef, unknown - > = z.object({ - gen: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateGen$inboundSchema - ), - java: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateJava$inboundSchema - ), - lfi: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateLfi$inboundSchema - ), - ma: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateMa$inboundSchema - ), - php: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivatePhp$inboundSchema - ), - rce: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRce$inboundSchema - ), - rfi: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRfi$inboundSchema - ), - sd: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateSd$inboundSchema - ), - sf: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateSf$inboundSchema - ), - sqli: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateSqli$inboundSchema - ), - xss: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateXss$inboundSchema - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateGen$inboundSchema + ), + java: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateJava$inboundSchema + ), + lfi: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateLfi$inboundSchema + ), + ma: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateMa$inboundSchema + ), + php: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivatePhp$inboundSchema + ), + rce: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRce$inboundSchema + ), + rfi: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRfi$inboundSchema + ), + sd: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateSd$inboundSchema + ), + sf: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateSf$inboundSchema + ), + sqli: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateSqli$inboundSchema + ), + xss: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateXss$inboundSchema + ), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateCrsFromJSON( jsonString: string, @@ -1784,7 +1841,9 @@ export function createSecurityFirewallConfigByConfigVersionActivateCrsFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateAction - > = z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateAction) + ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateIps$inboundSchema: @@ -1792,14 +1851,16 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateIps$inboundSchem CreateSecurityFirewallConfigByConfigVersionActivateIps, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateIpsFromJSON( jsonString: string, @@ -1820,8 +1881,8 @@ export function createSecurityFirewallConfigByConfigVersionActivateIpsFromJSON( export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2 - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2) ); /** @internal */ @@ -1830,10 +1891,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders$inbou CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2$inboundSchema, + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateLogHeadersFromJSON( jsonString: string, @@ -1854,8 +1917,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateLogHeadersFro export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction, + ) ); /** @internal */ @@ -1864,15 +1929,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateAiBots$inboundSc CreateSecurityFirewallConfigByConfigVersionActivateAiBots, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateAiBotsFromJSON( jsonString: string, @@ -1893,8 +1960,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateAiBotsFromJSO export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -1903,15 +1972,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateBotProtection$in CreateSecurityFirewallConfigByConfigVersionActivateBotProtection, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateBotProtectionFromJSON( jsonString: string, @@ -1932,8 +2003,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateBotProtection export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction, + ) ); /** @internal */ @@ -1942,15 +2015,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateOwasp$inboundSch CreateSecurityFirewallConfigByConfigVersionActivateOwasp, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateOwaspFromJSON( jsonString: string, @@ -1971,8 +2046,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateOwaspFromJSON export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -1981,15 +2058,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateTrafficSources$i CreateSecurityFirewallConfigByConfigVersionActivateTrafficSources, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateTrafficSourcesFromJSON( jsonString: string, @@ -2010,8 +2089,10 @@ export function createSecurityFirewallConfigByConfigVersionActivateTrafficSource export const CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -2020,15 +2101,17 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateVercelRuleset$in CreateSecurityFirewallConfigByConfigVersionActivateVercelRuleset, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + CreateSecurityFirewallConfigByConfigVersionActivateSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateVercelRulesetFromJSON( jsonString: string, @@ -2051,40 +2134,32 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateManagedRules$inb CreateSecurityFirewallConfigByConfigVersionActivateManagedRules, z.ZodTypeDef, unknown - > = z.object({ - ai_bots: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateAiBots$inboundSchema - ), - ), - bot_protection: types.optional( - z.lazy(() => + )), + bot_protection: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateBotProtection$inboundSchema - ), - ), - owasp: types.optional( - z.lazy(() => + )), + owasp: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateOwasp$inboundSchema - ), - ), - traffic_sources: types.optional( - z.lazy(() => + )), + traffic_sources: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateTrafficSources$inboundSchema - ), - ), - vercel_ruleset: types.optional( - z.lazy(() => + )), + vercel_ruleset: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateVercelRuleset$inboundSchema - ), - ), - }).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); - }); + )), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateManagedRulesFromJSON( jsonString: string, @@ -2105,16 +2180,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateManagedRulesF export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2 - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2, + ) ); /** @internal */ @@ -2123,10 +2202,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityLog CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2$inboundSchema, + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityLogHeadersFromJSON( jsonString: string, @@ -2147,16 +2228,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurity export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo, + ) ); /** @internal */ @@ -2165,16 +2250,18 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRat CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityRateLimitFromJSON( jsonString: string, @@ -2197,10 +2284,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRed CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityRedirectFromJSON( jsonString: string, @@ -2223,28 +2312,26 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityMit CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponseAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityMitigateFromJSON( jsonString: string, @@ -2267,13 +2354,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAct CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityActionFromJSON( jsonString: string, @@ -2294,16 +2381,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurity export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType, + ) ); /** @internal */ @@ -2312,7 +2403,9 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityVal CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityValueFromJSON( jsonString: string, @@ -2335,17 +2428,19 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityCon CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp$inboundSchema, - type: - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityOp$inboundSchema, + type: + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditionsFromJSON( jsonString: string, @@ -2368,13 +2463,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityCon CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditionGroupFromJSON( jsonString: string, @@ -2397,22 +2492,22 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRules2$inboundSc CreateSecurityFirewallConfigByConfigVersionActivateRules2, z.ZodTypeDef, unknown - > = z.object({ - action: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditionGroup$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), - }); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRules2FromJSON( jsonString: string, @@ -2433,16 +2528,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRules2FromJSO export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2 - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2, + ) ); /** @internal */ @@ -2451,10 +2550,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesLogHeaders$ CreateSecurityFirewallConfigByConfigVersionActivateRulesLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesLogHeadersFromJSON( jsonString: string, @@ -2475,16 +2576,18 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesLogHeade export const CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo) ); /** @internal */ @@ -2493,16 +2596,18 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesRateLimit$i CreateSecurityFirewallConfigByConfigVersionActivateRulesRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ).optional(), - algo: - CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ).optional(), + algo: + CreateSecurityFirewallConfigByConfigVersionActivateRulesAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesRateLimitFromJSON( jsonString: string, @@ -2525,10 +2630,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesRedirect$in CreateSecurityFirewallConfigByConfigVersionActivateRulesRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesRedirectFromJSON( jsonString: string, @@ -2551,28 +2658,26 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesMitigate$in CreateSecurityFirewallConfigByConfigVersionActivateRulesMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateRulesSecurityResponse200Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesMitigateFromJSON( jsonString: string, @@ -2595,13 +2700,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesAction$inbo CreateSecurityFirewallConfigByConfigVersionActivateRulesAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesActionFromJSON( jsonString: string, @@ -2622,14 +2727,16 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesActionFr export const CreateSecurityFirewallConfigByConfigVersionActivateRulesOp$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesOp - > = z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateRulesOp); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateRulesOp) + ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesType$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesType - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateRulesType) ); /** @internal */ @@ -2638,7 +2745,9 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesValue$inbou CreateSecurityFirewallConfigByConfigVersionActivateRulesValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesValueFromJSON( jsonString: string, @@ -2661,17 +2770,19 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesConditions$ CreateSecurityFirewallConfigByConfigVersionActivateRulesConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: - CreateSecurityFirewallConfigByConfigVersionActivateRulesOp$inboundSchema, - type: - CreateSecurityFirewallConfigByConfigVersionActivateRulesType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: + CreateSecurityFirewallConfigByConfigVersionActivateRulesOp$inboundSchema, + type: + CreateSecurityFirewallConfigByConfigVersionActivateRulesType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesConditionsFromJSON( jsonString: string, @@ -2694,13 +2805,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesConditionGr CreateSecurityFirewallConfigByConfigVersionActivateRulesConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesConditionGroupFromJSON( jsonString: string, @@ -2723,22 +2834,22 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRules1$inboundSc CreateSecurityFirewallConfigByConfigVersionActivateRules1, z.ZodTypeDef, unknown - > = z.object({ - action: z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesConditionGroup$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), - }); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRules1FromJSON( jsonString: string, @@ -2761,14 +2872,16 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRules$inboundSch CreateSecurityFirewallConfigByConfigVersionActivateRules, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRules1$inboundSchema - ), - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRules2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRules1$inboundSchema + ), + z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRules2$inboundSchema + ), + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesFromJSON( jsonString: string, @@ -2789,16 +2902,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesFromJSON export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2 - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2, + ) ); /** @internal */ @@ -2807,10 +2924,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsLogHeade CreateSecurityFirewallConfigByConfigVersionActivateRulesetsLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2$inboundSchema, + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsLogHeadersFromJSON( jsonString: string, @@ -2831,16 +2950,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesetsLogHe export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo, + ) ); /** @internal */ @@ -2849,16 +2972,18 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRateLimi CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction$inboundSchema, - ).optional(), - algo: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponseAction$inboundSchema, + ).optional(), + algo: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsRateLimitFromJSON( jsonString: string, @@ -2881,10 +3006,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRedirect CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsRedirectFromJSON( jsonString: string, @@ -2907,28 +3034,26 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesets2$inboun CreateSecurityFirewallConfigByConfigVersionActivateRulesets2, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurity2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesets2FromJSON( jsonString: string, @@ -2949,16 +3074,18 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesets2From export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType, + ) ); /** @internal */ @@ -2967,7 +3094,9 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsValue$in CreateSecurityFirewallConfigByConfigVersionActivateRulesetsValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsValueFromJSON( jsonString: string, @@ -2990,17 +3119,19 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditio CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp$inboundSchema, - type: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsOp$inboundSchema, + type: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsConditionsFromJSON( jsonString: string, @@ -3023,13 +3154,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditio CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsConditionGroupFromJSON( jsonString: string, @@ -3050,16 +3181,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesetsCondi export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002 - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002, + ) ); /** @internal */ @@ -3068,10 +3203,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurity CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002$inboundSchema, + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityLogHeadersFromJSON( jsonString: string, @@ -3092,16 +3229,20 @@ export function createSecurityFirewallConfigByConfigVersionActivateRulesetsSecur export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo$inboundSchema: z.ZodNativeEnum< typeof CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo - > = z.nativeEnum( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo, + ) ); /** @internal */ @@ -3110,16 +3251,18 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurity CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRateLimitFromJSON( jsonString: string, @@ -3142,10 +3285,12 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurity CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRedirectFromJSON( jsonString: string, @@ -3168,28 +3313,26 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsMitigate CreateSecurityFirewallConfigByConfigVersionActivateRulesetsMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityResponse200Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeadersSecurityResponse2002$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsSecurityRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsMitigateFromJSON( jsonString: string, @@ -3212,13 +3355,13 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAction$i CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsActionFromJSON( jsonString: string, @@ -3241,22 +3384,20 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesets1$inboun CreateSecurityFirewallConfigByConfigVersionActivateRulesets1, z.ZodTypeDef, unknown - > = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsConditionGroup$inboundSchema - ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - z.lazy(() => + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesetsAction$inboundSchema - ), - ), - }); + )), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesets1FromJSON( jsonString: string, @@ -3279,14 +3420,16 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateRulesets$inbound CreateSecurityFirewallConfigByConfigVersionActivateRulesets, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesets1$inboundSchema - )), - z.record(z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateRulesets2$inboundSchema - )), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesets1$inboundSchema + )), + z.record(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateRulesets2$inboundSchema + )), + ]) + ); export function createSecurityFirewallConfigByConfigVersionActivateRulesetsFromJSON( jsonString: string, @@ -3309,55 +3452,43 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateResponseBody$inb CreateSecurityFirewallConfigByConfigVersionActivateResponseBody, z.ZodTypeDef, unknown - > = z.object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateChanges$inboundSchema - ), - ), - conditions: types.optional( - z.array(z.lazy(() => - CreateSecurityFirewallConfigByConfigVersionActivateConditions$inboundSchema )), - ), - crs: types.optional( - z.lazy(() => + conditions: types.optional(z.array(z.lazy(() => + CreateSecurityFirewallConfigByConfigVersionActivateConditions$inboundSchema + ))), + crs: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateCrs$inboundSchema - ), - ), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array( - z.lazy(() => + )), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateIps$inboundSchema + )), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2$inboundSchema, + ]), ), - ), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - CreateSecurityFirewallConfigByConfigVersionActivateLogHeaders2$inboundSchema, - ]), - ), - managedRules: types.optional( - z.lazy(() => + managedRules: types.optional(z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateManagedRules$inboundSchema - ), - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array( - smartUnion([ + )), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array(smartUnion([ z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRules1$inboundSchema ), z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRules2$inboundSchema ), - ]), - ), - rulesets: types.optional( - smartUnion([ + ])), + rulesets: types.optional(smartUnion([ z.array( z.lazy(() => CreateSecurityFirewallConfigByConfigVersionActivateRulesets1$inboundSchema @@ -3368,11 +3499,11 @@ export const CreateSecurityFirewallConfigByConfigVersionActivateResponseBody$inb CreateSecurityFirewallConfigByConfigVersionActivateRulesets2$inboundSchema ), ), - ]), - ), - updatedAt: types.string(), - version: types.number(), - }); + ])), + updatedAt: types.string(), + version: types.number(), + }) + ); export function createSecurityFirewallConfigByConfigVersionActivateResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createsessiondirectoryop.ts b/src/models/createsessiondirectoryop.ts index d2a9644a42..6ac4a45160 100644 --- a/src/models/createsessiondirectoryop.ts +++ b/src/models/createsessiondirectoryop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -56,11 +56,13 @@ export const CreateSessionDirectoryRequestBody$outboundSchema: z.ZodType< CreateSessionDirectoryRequestBody$Outbound, z.ZodTypeDef, CreateSessionDirectoryRequestBody -> = z.object({ - cwd: z.string().optional(), - path: z.string(), - recursive: z.boolean().default(true), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cwd: z.string().optional(), + path: z.string(), + recursive: z.boolean().default(true), + }) +); export function createSessionDirectoryRequestBodyToJSON( createSessionDirectoryRequestBody: CreateSessionDirectoryRequestBody, @@ -85,17 +87,19 @@ export const CreateSessionDirectoryRequest$outboundSchema: z.ZodType< CreateSessionDirectoryRequest$Outbound, z.ZodTypeDef, CreateSessionDirectoryRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateSessionDirectoryRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateSessionDirectoryRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createSessionDirectoryRequestToJSON( createSessionDirectoryRequest: CreateSessionDirectoryRequest, @@ -112,7 +116,7 @@ export const CreateSessionDirectoryResponseBody$inboundSchema: z.ZodType< CreateSessionDirectoryResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function createSessionDirectoryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createsharedenvvariableop.ts b/src/models/createsharedenvvariableop.ts index f2a2a0d64b..553467592f 100644 --- a/src/models/createsharedenvvariableop.ts +++ b/src/models/createsharedenvvariableop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -407,11 +407,13 @@ export const CreateSharedEnvVariableRequestBodyEvs$outboundSchema: z.ZodType< CreateSharedEnvVariableRequestBodyEvs$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBodyEvs -> = z.object({ - key: z.string(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), + }) +); export function createSharedEnvVariableRequestBodyEvsToJSON( createSharedEnvVariableRequestBodyEvs: CreateSharedEnvVariableRequestBodyEvs, @@ -427,12 +429,16 @@ export function createSharedEnvVariableRequestBodyEvsToJSON( export const CreateSharedEnvVariableRequestBodyEnvironmentRequestType$outboundSchema: z.ZodNativeEnum< typeof CreateSharedEnvVariableRequestBodyEnvironmentRequestType - > = z.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentRequestType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentRequestType) + ); /** @internal */ export const CreateSharedEnvVariableRequestBodyEnvironmentTarget$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentTarget); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentTarget) + ); /** @internal */ export type CreateSharedEnvVariableRequestBody3$Outbound = { @@ -447,17 +453,20 @@ export const CreateSharedEnvVariableRequestBody3$outboundSchema: z.ZodType< CreateSharedEnvVariableRequestBody3$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody3 -> = z.object({ - evs: z.array( - z.lazy(() => CreateSharedEnvVariableRequestBodyEvs$outboundSchema), - ), - type: CreateSharedEnvVariableRequestBodyEnvironmentRequestType$outboundSchema - .optional(), - target: z.array( - CreateSharedEnvVariableRequestBodyEnvironmentTarget$outboundSchema, - ).optional(), - projectId: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + evs: z.array( + z.lazy(() => CreateSharedEnvVariableRequestBodyEvs$outboundSchema), + ), + type: + CreateSharedEnvVariableRequestBodyEnvironmentRequestType$outboundSchema + .optional(), + target: z.array( + CreateSharedEnvVariableRequestBodyEnvironmentTarget$outboundSchema, + ).optional(), + projectId: z.array(z.string()).optional(), + }) +); export function createSharedEnvVariableRequestBody3ToJSON( createSharedEnvVariableRequestBody3: CreateSharedEnvVariableRequestBody3, @@ -481,11 +490,13 @@ export const RequestBodyEvs$outboundSchema: z.ZodType< RequestBodyEvs$Outbound, z.ZodTypeDef, RequestBodyEvs -> = z.object({ - key: z.string(), - value: z.string(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), + }) +); export function requestBodyEvsToJSON(requestBodyEvs: RequestBodyEvs): string { return JSON.stringify(RequestBodyEvs$outboundSchema.parse(requestBodyEvs)); @@ -493,13 +504,17 @@ export function requestBodyEvsToJSON(requestBodyEvs: RequestBodyEvs): string { /** @internal */ export const CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentType) + ); /** @internal */ export const CreateSharedEnvVariableRequestBodyTarget$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateSharedEnvVariableRequestBodyTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableRequestBodyTarget) + ); /** @internal */ export type CreateSharedEnvVariableRequestBody2$Outbound = { @@ -514,14 +529,16 @@ export const CreateSharedEnvVariableRequestBody2$outboundSchema: z.ZodType< CreateSharedEnvVariableRequestBody2$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody2 -> = z.object({ - evs: z.array(z.lazy(() => RequestBodyEvs$outboundSchema)), - type: CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema - .optional(), - target: z.array(CreateSharedEnvVariableRequestBodyTarget$outboundSchema) - .optional(), - projectId: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + evs: z.array(z.lazy(() => RequestBodyEvs$outboundSchema)), + type: CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema + .optional(), + target: z.array(CreateSharedEnvVariableRequestBodyTarget$outboundSchema) + .optional(), + projectId: z.array(z.string()).optional(), + }) +); export function createSharedEnvVariableRequestBody2ToJSON( createSharedEnvVariableRequestBody2: CreateSharedEnvVariableRequestBody2, @@ -541,12 +558,14 @@ export type Evs$Outbound = { }; /** @internal */ -export const Evs$outboundSchema: z.ZodType = z - .object({ - key: z.string(), - value: z.string(), - comment: z.string().optional(), - }); +export const Evs$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), + }) + ); export function evsToJSON(evs: Evs): string { return JSON.stringify(Evs$outboundSchema.parse(evs)); @@ -554,14 +573,15 @@ export function evsToJSON(evs: Evs): string { /** @internal */ export const CreateSharedEnvVariableRequestBodyType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateSharedEnvVariableRequestBodyType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableRequestBodyType) + ); /** @internal */ export const RequestBodyTarget$outboundSchema: z.ZodNativeEnum< typeof RequestBodyTarget -> = z.nativeEnum(RequestBodyTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyTarget)); /** @internal */ export type CreateSharedEnvVariableRequestBody1$Outbound = { @@ -576,12 +596,14 @@ export const CreateSharedEnvVariableRequestBody1$outboundSchema: z.ZodType< CreateSharedEnvVariableRequestBody1$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody1 -> = z.object({ - evs: z.array(z.lazy(() => Evs$outboundSchema)), - type: CreateSharedEnvVariableRequestBodyType$outboundSchema.optional(), - target: z.array(RequestBodyTarget$outboundSchema), - projectId: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + evs: z.array(z.lazy(() => Evs$outboundSchema)), + type: CreateSharedEnvVariableRequestBodyType$outboundSchema.optional(), + target: z.array(RequestBodyTarget$outboundSchema), + projectId: z.array(z.string()).optional(), + }) +); export function createSharedEnvVariableRequestBody1ToJSON( createSharedEnvVariableRequestBody1: CreateSharedEnvVariableRequestBody1, @@ -604,11 +626,13 @@ export const CreateSharedEnvVariableRequestBody$outboundSchema: z.ZodType< CreateSharedEnvVariableRequestBody$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequestBody -> = smartUnion([ - z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), - z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), - z.lazy(() => CreateSharedEnvVariableRequestBody3$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody3$outboundSchema), + ]) +); export function createSharedEnvVariableRequestBodyToJSON( createSharedEnvVariableRequestBody: CreateSharedEnvVariableRequestBody, @@ -636,19 +660,21 @@ export const CreateSharedEnvVariableRequest$outboundSchema: z.ZodType< CreateSharedEnvVariableRequest$Outbound, z.ZodTypeDef, CreateSharedEnvVariableRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), - z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), - z.lazy(() => CreateSharedEnvVariableRequestBody3$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody3$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createSharedEnvVariableRequestToJSON( createSharedEnvVariableRequest: CreateSharedEnvVariableRequest, @@ -666,12 +692,14 @@ export const CreateSharedEnvVariableLastEditedByPrincipal2$inboundSchema: CreateSharedEnvVariableLastEditedByPrincipal2, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) + ); export function createSharedEnvVariableLastEditedByPrincipal2FromJSON( jsonString: string, @@ -695,13 +723,15 @@ export const CreateSharedEnvVariableLastEditedByPrincipal1$inboundSchema: CreateSharedEnvVariableLastEditedByPrincipal1, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) + ); export function createSharedEnvVariableLastEditedByPrincipal1FromJSON( jsonString: string, @@ -725,10 +755,12 @@ export const CreateSharedEnvVariableLastEditedByPrincipal$inboundSchema: CreateSharedEnvVariableLastEditedByPrincipal, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal1$inboundSchema), - z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal1$inboundSchema), + z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal2$inboundSchema), + ]) + ); export function createSharedEnvVariableLastEditedByPrincipalFromJSON( jsonString: string, @@ -749,48 +781,52 @@ export function createSharedEnvVariableLastEditedByPrincipalFromJSON( /** @internal */ export const CreateSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum< typeof CreateSharedEnvVariableTarget -> = z.nativeEnum(CreateSharedEnvVariableTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableTarget) +); /** @internal */ export const CreateSharedEnvVariableType$inboundSchema: z.ZodNativeEnum< typeof CreateSharedEnvVariableType -> = z.nativeEnum(CreateSharedEnvVariableType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableType) +); /** @internal */ export const Created$inboundSchema: z.ZodType = - z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal1$inboundSchema ), z.lazy(() => CreateSharedEnvVariableLastEditedByPrincipal2$inboundSchema ), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional( - z.array(CreateSharedEnvVariableTarget$inboundSchema), - ), - type: types.optional(CreateSharedEnvVariableType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), - }); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional( + z.array(CreateSharedEnvVariableTarget$inboundSchema), + ), + type: types.optional(CreateSharedEnvVariableType$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) + ); export function createdFromJSON( jsonString: string, @@ -805,22 +841,28 @@ export function createdFromJSON( /** @internal */ export const CreateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< typeof CreateSharedEnvVariableTarget2 -> = z.nativeEnum(CreateSharedEnvVariableTarget2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableTarget2) +); /** @internal */ export const CreateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< typeof CreateSharedEnvVariableTarget1 -> = z.nativeEnum(CreateSharedEnvVariableTarget1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateSharedEnvVariableTarget1) +); /** @internal */ export const CreateSharedEnvVariableEnvironmentTarget$inboundSchema: z.ZodType< CreateSharedEnvVariableEnvironmentTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateSharedEnvVariableTarget1$inboundSchema), - CreateSharedEnvVariableTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateSharedEnvVariableTarget1$inboundSchema), + CreateSharedEnvVariableTarget2$inboundSchema, + ]) +); export function createSharedEnvVariableEnvironmentTargetFromJSON( jsonString: string, @@ -839,15 +881,17 @@ export function createSharedEnvVariableEnvironmentTargetFromJSON( } /** @internal */ -export const Value2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Value2); +export const Value2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Value2)); /** @internal */ export const CreateSharedEnvVariableValue$inboundSchema: z.ZodType< CreateSharedEnvVariableValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(Value2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(Value2$inboundSchema)]) +); export function createSharedEnvVariableValueFromJSON( jsonString: string, @@ -864,26 +908,28 @@ export const CreateSharedEnvVariableError$inboundSchema: z.ZodType< CreateSharedEnvVariableError, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - envVarId: types.optional(types.string()), - envVarKey: types.optional(types.string()), - gitBranch: types.optional(types.string()), - key: types.optional(types.string()), - link: types.optional(types.string()), - message: types.string(), - project: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(CreateSharedEnvVariableTarget1$inboundSchema), - CreateSharedEnvVariableTarget2$inboundSchema, - ]), - ), - value: types.optional( - smartUnion([types.string(), z.array(Value2$inboundSchema)]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + envVarId: types.optional(types.string()), + envVarKey: types.optional(types.string()), + gitBranch: types.optional(types.string()), + key: types.optional(types.string()), + link: types.optional(types.string()), + message: types.string(), + project: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(CreateSharedEnvVariableTarget1$inboundSchema), + CreateSharedEnvVariableTarget2$inboundSchema, + ]), + ), + value: types.optional( + smartUnion([types.string(), z.array(Value2$inboundSchema)]), + ), + }) +); export function createSharedEnvVariableErrorFromJSON( jsonString: string, @@ -896,10 +942,12 @@ export function createSharedEnvVariableErrorFromJSON( } /** @internal */ -export const Failed$inboundSchema: z.ZodType = z - .object({ - error: z.lazy(() => CreateSharedEnvVariableError$inboundSchema), - }); +export const Failed$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateSharedEnvVariableError$inboundSchema), + }) + ); export function failedFromJSON( jsonString: string, @@ -916,10 +964,12 @@ export const CreateSharedEnvVariableResponseBody$inboundSchema: z.ZodType< CreateSharedEnvVariableResponseBody, z.ZodTypeDef, unknown -> = z.object({ - created: z.array(z.lazy(() => Created$inboundSchema)), - failed: z.array(z.lazy(() => Failed$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: z.array(z.lazy(() => Created$inboundSchema)), + failed: z.array(z.lazy(() => Failed$inboundSchema)), + }) +); export function createSharedEnvVariableResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createspeedinsightstoggleop.ts b/src/models/createspeedinsightstoggleop.ts index 0ee0a1df16..eea88fd638 100644 --- a/src/models/createspeedinsightstoggleop.ts +++ b/src/models/createspeedinsightstoggleop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,9 +32,11 @@ export const CreateSpeedInsightsToggleRequestBody$outboundSchema: z.ZodType< CreateSpeedInsightsToggleRequestBody$Outbound, z.ZodTypeDef, CreateSpeedInsightsToggleRequestBody -> = z.object({ - value: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.boolean(), + }) +); export function createSpeedInsightsToggleRequestBodyToJSON( createSpeedInsightsToggleRequestBody: CreateSpeedInsightsToggleRequestBody, @@ -57,15 +59,18 @@ export const CreateSpeedInsightsToggleRequest$outboundSchema: z.ZodType< CreateSpeedInsightsToggleRequest$Outbound, z.ZodTypeDef, CreateSpeedInsightsToggleRequest -> = z.object({ - projectId: z.string(), - requestBody: z.lazy(() => CreateSpeedInsightsToggleRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + requestBody: z.lazy(() => + CreateSpeedInsightsToggleRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createSpeedInsightsToggleRequestToJSON( createSpeedInsightsToggleRequest: CreateSpeedInsightsToggleRequest, @@ -82,9 +87,11 @@ export const CreateSpeedInsightsToggleResponseBody$inboundSchema: z.ZodType< CreateSpeedInsightsToggleResponseBody, z.ZodTypeDef, unknown -> = z.object({ - value: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.boolean(), + }) +); export function createSpeedInsightsToggleResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createstoragestoresblobop.ts b/src/models/createstoragestoresblobop.ts index da7977efb3..dc428d0d53 100644 --- a/src/models/createstoragestoresblobop.ts +++ b/src/models/createstoragestoresblobop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -277,12 +277,16 @@ export type CreateStorageStoresBlobResponseBody = { /** @internal */ export const CreateStorageStoresBlobRegion$outboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobRegion -> = z.nativeEnum(CreateStorageStoresBlobRegion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobRegion) +); /** @internal */ export const CreateStorageStoresBlobAccess$outboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobAccess -> = z.nativeEnum(CreateStorageStoresBlobAccess); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobAccess) +); /** @internal */ export type CreateStorageStoresBlobRequestBody$Outbound = { @@ -297,12 +301,14 @@ export const CreateStorageStoresBlobRequestBody$outboundSchema: z.ZodType< CreateStorageStoresBlobRequestBody$Outbound, z.ZodTypeDef, CreateStorageStoresBlobRequestBody -> = z.object({ - name: z.string(), - region: CreateStorageStoresBlobRegion$outboundSchema.optional(), - access: CreateStorageStoresBlobAccess$outboundSchema.default("public"), - projectId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + region: CreateStorageStoresBlobRegion$outboundSchema.optional(), + access: CreateStorageStoresBlobAccess$outboundSchema.default("public"), + projectId: z.string().optional(), + }) +); export function createStorageStoresBlobRequestBodyToJSON( createStorageStoresBlobRequestBody: CreateStorageStoresBlobRequestBody, @@ -317,22 +323,28 @@ export function createStorageStoresBlobRequestBodyToJSON( /** @internal */ export const CreateStorageStoresBlobProviders2$inboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobProviders2 -> = z.nativeEnum(CreateStorageStoresBlobProviders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobProviders2) +); /** @internal */ export const CreateStorageStoresBlobProviders1$inboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobProviders1 -> = z.nativeEnum(CreateStorageStoresBlobProviders1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobProviders1) +); /** @internal */ export const CreateStorageStoresBlobProviders$inboundSchema: z.ZodType< CreateStorageStoresBlobProviders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(CreateStorageStoresBlobProviders1$inboundSchema), - CreateStorageStoresBlobProviders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(CreateStorageStoresBlobProviders1$inboundSchema), + CreateStorageStoresBlobProviders2$inboundSchema, + ]) +); export function createStorageStoresBlobProvidersFromJSON( jsonString: string, @@ -349,14 +361,16 @@ export const CreateStorageStoresBlobGit$inboundSchema: z.ZodType< CreateStorageStoresBlobGit, z.ZodTypeDef, unknown -> = z.object({ - owners: types.optional(z.array(types.string())), - providers: smartUnion([ - z.array(CreateStorageStoresBlobProviders1$inboundSchema), - CreateStorageStoresBlobProviders2$inboundSchema, - ]), - repos: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owners: types.optional(z.array(types.string())), + providers: smartUnion([ + z.array(CreateStorageStoresBlobProviders1$inboundSchema), + CreateStorageStoresBlobProviders2$inboundSchema, + ]), + repos: types.optional(z.array(types.string())), + }) +); export function createStorageStoresBlobGitFromJSON( jsonString: string, @@ -373,9 +387,11 @@ export const CreateStorageStoresBlobProjectFilter$inboundSchema: z.ZodType< CreateStorageStoresBlobProjectFilter, z.ZodTypeDef, unknown -> = z.object({ - git: types.optional(z.lazy(() => CreateStorageStoresBlobGit$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + git: types.optional(z.lazy(() => CreateStorageStoresBlobGit$inboundSchema)), + }) +); export function createStorageStoresBlobProjectFilterFromJSON( jsonString: string, @@ -393,10 +409,12 @@ export const CreateStorageStoresBlobActions$inboundSchema: z.ZodType< CreateStorageStoresBlobActions, z.ZodTypeDef, unknown -> = z.object({ - environments: z.array(types.string()), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(types.string()), + slug: types.string(), + }) +); export function createStorageStoresBlobActionsFromJSON( jsonString: string, @@ -413,10 +431,14 @@ export const CreateStorageStoresBlobDeployments$inboundSchema: z.ZodType< CreateStorageStoresBlobDeployments, z.ZodTypeDef, unknown -> = z.object({ - actions: z.array(z.lazy(() => CreateStorageStoresBlobActions$inboundSchema)), - required: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: z.array( + z.lazy(() => CreateStorageStoresBlobActions$inboundSchema), + ), + required: types.boolean(), + }) +); export function createStorageStoresBlobDeploymentsFromJSON( jsonString: string, @@ -432,29 +454,33 @@ export function createStorageStoresBlobDeploymentsFromJSON( /** @internal */ export const CreateStorageStoresBlobFramework$inboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobFramework -> = z.nativeEnum(CreateStorageStoresBlobFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobFramework) +); /** @internal */ export const CreateStorageStoresBlobProjectsMetadata$inboundSchema: z.ZodType< CreateStorageStoresBlobProjectsMetadata, z.ZodTypeDef, unknown -> = z.object({ - deployments: types.optional( - z.lazy(() => CreateStorageStoresBlobDeployments$inboundSchema), - ), - environments: z.array(types.string()), - environmentVariables: z.array(types.string()), - envVarPrefix: types.nullable(types.string()), - framework: z.nullable(CreateStorageStoresBlobFramework$inboundSchema) - .optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - makeEnvVarsSensitive: types.optional(types.boolean()), - name: types.string(), - projectId: types.string(), - secretsOutdated: types.optional(types.literal(true)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployments: types.optional( + z.lazy(() => CreateStorageStoresBlobDeployments$inboundSchema), + ), + environments: z.array(types.string()), + environmentVariables: z.array(types.string()), + envVarPrefix: types.nullable(types.string()), + framework: z.nullable(CreateStorageStoresBlobFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + makeEnvVarsSensitive: types.optional(types.boolean()), + name: types.string(), + projectId: types.string(), + secretsOutdated: types.optional(types.literal(true)), + }) +); export function createStorageStoresBlobProjectsMetadataFromJSON( jsonString: string, @@ -475,48 +501,56 @@ export function createStorageStoresBlobProjectsMetadataFromJSON( /** @internal */ export const CreateStorageStoresBlobStatus$inboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobStatus -> = z.nativeEnum(CreateStorageStoresBlobStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobStatus) +); /** @internal */ export const CreateStorageStoresBlobStorageAccess$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateStorageStoresBlobStorageAccess, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobStorageAccess) + ); /** @internal */ export const CreateStorageStoresBlobKind$inboundSchema: z.ZodNativeEnum< typeof CreateStorageStoresBlobKind -> = z.nativeEnum(CreateStorageStoresBlobKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobKind) +); /** @internal */ export const CreateStorageStoresBlobStorageRegion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateStorageStoresBlobStorageRegion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateStorageStoresBlobStorageRegion) + ); /** @internal */ export const CreateStorageStoresBlobStore$inboundSchema: z.ZodType< CreateStorageStoresBlobStore, z.ZodTypeDef, unknown -> = z.object({ - projectFilter: types.optional( - z.lazy(() => CreateStorageStoresBlobProjectFilter$inboundSchema), - ), - projectsMetadata: z.array( - z.lazy(() => CreateStorageStoresBlobProjectsMetadata$inboundSchema), - ), - status: types.nullable(CreateStorageStoresBlobStatus$inboundSchema), - totalConnectedProjects: types.optional(types.number()), - usageQuotaExceeded: types.boolean(), - access: types.optional(CreateStorageStoresBlobStorageAccess$inboundSchema), - kind: types.optional(CreateStorageStoresBlobKind$inboundSchema), - projectId: types.optional(types.string()), - count: types.number(), - isTokenExpired: types.boolean(), - region: CreateStorageStoresBlobStorageRegion$inboundSchema, - size: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectFilter: types.optional( + z.lazy(() => CreateStorageStoresBlobProjectFilter$inboundSchema), + ), + projectsMetadata: z.array( + z.lazy(() => CreateStorageStoresBlobProjectsMetadata$inboundSchema), + ), + status: types.nullable(CreateStorageStoresBlobStatus$inboundSchema), + totalConnectedProjects: types.optional(types.number()), + usageQuotaExceeded: types.boolean(), + access: types.optional(CreateStorageStoresBlobStorageAccess$inboundSchema), + kind: types.optional(CreateStorageStoresBlobKind$inboundSchema), + projectId: types.optional(types.string()), + count: types.number(), + isTokenExpired: types.boolean(), + region: CreateStorageStoresBlobStorageRegion$inboundSchema, + size: types.number(), + }) +); export function createStorageStoresBlobStoreFromJSON( jsonString: string, @@ -533,11 +567,13 @@ export const CreateStorageStoresBlobResponseBody$inboundSchema: z.ZodType< CreateStorageStoresBlobResponseBody, z.ZodTypeDef, unknown -> = z.object({ - store: types.nullable( - z.lazy(() => CreateStorageStoresBlobStore$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: types.nullable( + z.lazy(() => CreateStorageStoresBlobStore$inboundSchema), + ), + }) +); export function createStorageStoresBlobResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createteamop.ts b/src/models/createteamop.ts index 97c387ace9..41cee03356 100644 --- a/src/models/createteamop.ts +++ b/src/models/createteamop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -81,13 +81,15 @@ export type Utm$Outbound = { }; /** @internal */ -export const Utm$outboundSchema: z.ZodType = z - .object({ - utmSource: z.string().optional(), - utmMedium: z.string().optional(), - utmCampaign: z.string().optional(), - utmTerm: z.string().optional(), - }); +export const Utm$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + utmSource: z.string().optional(), + utmMedium: z.string().optional(), + utmCampaign: z.string().optional(), + utmTerm: z.string().optional(), + }) + ); export function utmToJSON(utm: Utm): string { return JSON.stringify(Utm$outboundSchema.parse(utm)); @@ -106,12 +108,14 @@ export const Attribution$outboundSchema: z.ZodType< Attribution$Outbound, z.ZodTypeDef, Attribution -> = z.object({ - sessionReferrer: z.string().optional(), - landingPage: z.string().optional(), - pageBeforeConversionPage: z.string().optional(), - utm: z.lazy(() => Utm$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionReferrer: z.string().optional(), + landingPage: z.string().optional(), + pageBeforeConversionPage: z.string().optional(), + utm: z.lazy(() => Utm$outboundSchema).optional(), + }) +); export function attributionToJSON(attribution: Attribution): string { return JSON.stringify(Attribution$outboundSchema.parse(attribution)); @@ -129,11 +133,13 @@ export const CreateTeamRequestBody$outboundSchema: z.ZodType< CreateTeamRequestBody$Outbound, z.ZodTypeDef, CreateTeamRequestBody -> = z.object({ - slug: z.string(), - name: z.string().optional(), - attribution: z.lazy(() => Attribution$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + name: z.string().optional(), + attribution: z.lazy(() => Attribution$outboundSchema).optional(), + }) +); export function createTeamRequestBodyToJSON( createTeamRequestBody: CreateTeamRequestBody, @@ -148,10 +154,12 @@ export const CreateTeamResponseBody$inboundSchema: z.ZodType< CreateTeamResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.string(), + }) +); export function createTeamResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createtracesessionop.ts b/src/models/createtracesessionop.ts index 68b8524ba1..805d3d1c4e 100644 --- a/src/models/createtracesessionop.ts +++ b/src/models/createtracesessionop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,10 +47,12 @@ export const CreateTraceSessionRequestBody$outboundSchema: z.ZodType< CreateTraceSessionRequestBody$Outbound, z.ZodTypeDef, CreateTraceSessionRequestBody -> = z.object({ - projectId: z.string(), - hostname: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + hostname: z.string(), + }) +); export function createTraceSessionRequestBodyToJSON( createTraceSessionRequestBody: CreateTraceSessionRequestBody, @@ -74,16 +76,18 @@ export const CreateTraceSessionRequest$outboundSchema: z.ZodType< CreateTraceSessionRequest$Outbound, z.ZodTypeDef, CreateTraceSessionRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateTraceSessionRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateTraceSessionRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createTraceSessionRequestToJSON( createTraceSessionRequest: CreateTraceSessionRequest, @@ -98,9 +102,11 @@ export const CreateTraceSessionResponseBody$inboundSchema: z.ZodType< CreateTraceSessionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - token: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + token: types.string(), + }) +); export function createTraceSessionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createvercelcitaskanalysisop.ts b/src/models/createvercelcitaskanalysisop.ts index 86b1e1ef75..17c072de19 100644 --- a/src/models/createvercelcitaskanalysisop.ts +++ b/src/models/createvercelcitaskanalysisop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -194,10 +194,12 @@ export const CreateVercelCiTaskAnalysisRequestBody$outboundSchema: z.ZodType< CreateVercelCiTaskAnalysisRequestBody$Outbound, z.ZodTypeDef, CreateVercelCiTaskAnalysisRequestBody -> = z.object({ - owner: z.string(), - repo: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: z.string(), + repo: z.string(), + }) +); export function createVercelCiTaskAnalysisRequestBodyToJSON( createVercelCiTaskAnalysisRequestBody: CreateVercelCiTaskAnalysisRequestBody, @@ -221,17 +223,19 @@ export const CreateVercelCiTaskAnalysisRequest$outboundSchema: z.ZodType< CreateVercelCiTaskAnalysisRequest$Outbound, z.ZodTypeDef, CreateVercelCiTaskAnalysisRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateVercelCiTaskAnalysisRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateVercelCiTaskAnalysisRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createVercelCiTaskAnalysisRequestToJSON( createVercelCiTaskAnalysisRequest: CreateVercelCiTaskAnalysisRequest, @@ -249,10 +253,12 @@ export const CreateVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema: CreateVercelCiTaskAnalysisVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function createVercelCiTaskAnalysisVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -276,21 +282,22 @@ export const CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody$inboundSc CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskAnalysisVercelCiResponseError$inboundSchema: @@ -298,12 +305,14 @@ export const CreateVercelCiTaskAnalysisVercelCiResponseError$inboundSchema: CreateVercelCiTaskAnalysisVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function createVercelCiTaskAnalysisVercelCiResponseErrorFromJSON( jsonString: string, @@ -327,31 +336,34 @@ export const CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody$inboundSc CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskAnalysisVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskAnalysisVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskAnalysisVercelCiError$inboundSchema: z.ZodType< CreateVercelCiTaskAnalysisVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createVercelCiTaskAnalysisVercelCiErrorFromJSON( jsonString: string, @@ -375,29 +387,35 @@ export const CreateVercelCiTaskAnalysisVercelCiResponseResponseBody$inboundSchem CreateVercelCiTaskAnalysisVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => CreateVercelCiTaskAnalysisVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskAnalysisVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskAnalysisVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskAnalysisVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const CreateVercelCiTaskAnalysisError$inboundSchema: z.ZodType< CreateVercelCiTaskAnalysisError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function createVercelCiTaskAnalysisErrorFromJSON( jsonString: string, @@ -415,34 +433,40 @@ export const CreateVercelCiTaskAnalysisVercelCiResponseBody$inboundSchema: CreateVercelCiTaskAnalysisVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => CreateVercelCiTaskAnalysisError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskAnalysisVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => CreateVercelCiTaskAnalysisError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskAnalysisVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const CreateVercelCiTaskAnalysisStatus$inboundSchema: z.ZodNativeEnum< typeof CreateVercelCiTaskAnalysisStatus -> = z.nativeEnum(CreateVercelCiTaskAnalysisStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateVercelCiTaskAnalysisStatus) +); /** @internal */ export const CreateVercelCiTaskAnalysisResponseBody$inboundSchema: z.ZodType< CreateVercelCiTaskAnalysisResponseBody, z.ZodTypeDef, unknown -> = z.object({ - analysisId: types.string(), - status: CreateVercelCiTaskAnalysisStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + analysisId: types.string(), + status: CreateVercelCiTaskAnalysisStatus$inboundSchema, + }) +); export function createVercelCiTaskAnalysisResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createvercelcitaskconfigurationpullrequestop.ts b/src/models/createvercelcitaskconfigurationpullrequestop.ts index 1acc992f66..6cb1ee24e3 100644 --- a/src/models/createvercelcitaskconfigurationpullrequestop.ts +++ b/src/models/createvercelcitaskconfigurationpullrequestop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -206,10 +206,12 @@ export const Tasks$outboundSchema: z.ZodType< Tasks$Outbound, z.ZodTypeDef, Tasks -> = z.object({ - name: z.string(), - configPath: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + configPath: z.string(), + }) +); export function tasksToJSON(tasks: Tasks): string { return JSON.stringify(Tasks$outboundSchema.parse(tasks)); @@ -226,9 +228,11 @@ export const CreateVercelCiTaskConfigurationPullRequestRequestBody$outboundSchem CreateVercelCiTaskConfigurationPullRequestRequestBody$Outbound, z.ZodTypeDef, CreateVercelCiTaskConfigurationPullRequestRequestBody - > = z.object({ - tasks: z.array(z.lazy(() => Tasks$outboundSchema)), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + tasks: z.array(z.lazy(() => Tasks$outboundSchema)), + }) + ); export function createVercelCiTaskConfigurationPullRequestRequestBodyToJSON( createVercelCiTaskConfigurationPullRequestRequestBody: @@ -257,18 +261,20 @@ export const CreateVercelCiTaskConfigurationPullRequestRequest$outboundSchema: CreateVercelCiTaskConfigurationPullRequestRequest$Outbound, z.ZodTypeDef, CreateVercelCiTaskConfigurationPullRequestRequest - > = z.object({ - analysisId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - CreateVercelCiTaskConfigurationPullRequestRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + analysisId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + CreateVercelCiTaskConfigurationPullRequestRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function createVercelCiTaskConfigurationPullRequestRequestToJSON( createVercelCiTaskConfigurationPullRequestRequest: @@ -287,10 +293,12 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500Error$ CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function createVercelCiTaskConfigurationPullRequestVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -313,20 +321,22 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500Respon CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponseError$inboundSchema: @@ -334,12 +344,14 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponseError$inb CreateVercelCiTaskConfigurationPullRequestVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function createVercelCiTaskConfigurationPullRequestVercelCiResponseErrorFromJSON( jsonString: string, @@ -362,20 +374,22 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429Respon CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskConfigurationPullRequestVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskConfigurationPullRequestVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskConfigurationPullRequestVercelCiError$inboundSchema: @@ -383,10 +397,12 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiError$inboundSche CreateVercelCiTaskConfigurationPullRequestVercelCiError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function createVercelCiTaskConfigurationPullRequestVercelCiErrorFromJSON( jsonString: string, @@ -409,20 +425,22 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseB CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskConfigurationPullRequestVercelCiError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskConfigurationPullRequestVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponseResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskConfigurationPullRequestError$inboundSchema: @@ -430,10 +448,12 @@ export const CreateVercelCiTaskConfigurationPullRequestError$inboundSchema: CreateVercelCiTaskConfigurationPullRequestError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function createVercelCiTaskConfigurationPullRequestErrorFromJSON( jsonString: string, @@ -457,20 +477,22 @@ export const CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody$inbo CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - CreateVercelCiTaskConfigurationPullRequestError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + CreateVercelCiTaskConfigurationPullRequestError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new CreateVercelCiTaskConfigurationPullRequestVercelCiResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const CreateVercelCiTaskConfigurationPullRequestResponseBody$inboundSchema: @@ -478,10 +500,12 @@ export const CreateVercelCiTaskConfigurationPullRequestResponseBody$inboundSchem CreateVercelCiTaskConfigurationPullRequestResponseBody, z.ZodTypeDef, unknown - > = z.object({ - url: types.string(), - changedTaskNames: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + url: types.string(), + changedTaskNames: z.array(types.string()), + }) + ); export function createVercelCiTaskConfigurationPullRequestResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createwebhookop.ts b/src/models/createwebhookop.ts index 2f287ce032..fa87f6b8f6 100644 --- a/src/models/createwebhookop.ts +++ b/src/models/createwebhookop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -59,6 +59,9 @@ export const CreateWebhookEvents = { IntegrationResourceProjectConnected: "integration-resource.project-connected", IntegrationResourceProjectDisconnected: "integration-resource.project-disconnected", + SandboxSessionExpiring: "sandbox.session.expiring", + SandboxSessionStarted: "sandbox.session.started", + SandboxSessionStopped: "sandbox.session.stopped", ProjectCreated: "project.created", ProjectRemoved: "project.removed", ProjectRenamed: "project.renamed", @@ -281,6 +284,9 @@ export const CreateWebhookWebhooksEvents = { ProjectRollingReleaseApproved: "project.rolling-release.approved", ProjectRollingReleaseCompleted: "project.rolling-release.completed", ProjectRollingReleaseStarted: "project.rolling-release.started", + SandboxSessionExpiring: "sandbox.session.expiring", + SandboxSessionStarted: "sandbox.session.started", + SandboxSessionStopped: "sandbox.session.stopped", TestWebhook: "test-webhook", ThreadResolved: "thread.resolved", ThreadUnresolved: "thread.unresolved", @@ -331,7 +337,7 @@ export type CreateWebhookResponseBody = { /** @internal */ export const CreateWebhookEvents$outboundSchema: z.ZodNativeEnum< typeof CreateWebhookEvents -> = z.nativeEnum(CreateWebhookEvents); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateWebhookEvents)); /** @internal */ export type CreateWebhookRequestBody$Outbound = { @@ -345,11 +351,13 @@ export const CreateWebhookRequestBody$outboundSchema: z.ZodType< CreateWebhookRequestBody$Outbound, z.ZodTypeDef, CreateWebhookRequestBody -> = z.object({ - url: z.string(), - events: z.array(CreateWebhookEvents$outboundSchema), - projectIds: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + url: z.string(), + events: z.array(CreateWebhookEvents$outboundSchema), + projectIds: z.array(z.string()).optional(), + }) +); export function createWebhookRequestBodyToJSON( createWebhookRequestBody: CreateWebhookRequestBody, @@ -371,15 +379,17 @@ export const CreateWebhookRequest$outboundSchema: z.ZodType< CreateWebhookRequest$Outbound, z.ZodTypeDef, CreateWebhookRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => CreateWebhookRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateWebhookRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createWebhookRequestToJSON( createWebhookRequest: CreateWebhookRequest, @@ -392,24 +402,28 @@ export function createWebhookRequestToJSON( /** @internal */ export const CreateWebhookWebhooksEvents$inboundSchema: z.ZodNativeEnum< typeof CreateWebhookWebhooksEvents -> = z.nativeEnum(CreateWebhookWebhooksEvents); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateWebhookWebhooksEvents) +); /** @internal */ export const CreateWebhookResponseBody$inboundSchema: z.ZodType< CreateWebhookResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alertRuleIds: types.optional(z.array(types.string())), - createdAt: types.number(), - events: z.array(CreateWebhookWebhooksEvents$inboundSchema), - id: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - secret: types.string(), - updatedAt: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertRuleIds: types.optional(z.array(types.string())), + createdAt: types.number(), + events: z.array(CreateWebhookWebhooksEvents$inboundSchema), + id: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + secret: types.string(), + updatedAt: types.number(), + url: types.string(), + }) +); export function createWebhookResponseBodyFromJSON( jsonString: string, diff --git a/src/models/createwebinsightstoggleop.ts b/src/models/createwebinsightstoggleop.ts index 7009718d13..c269ef1751 100644 --- a/src/models/createwebinsightstoggleop.ts +++ b/src/models/createwebinsightstoggleop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,9 +32,11 @@ export const CreateWebInsightsToggleRequestBody$outboundSchema: z.ZodType< CreateWebInsightsToggleRequestBody$Outbound, z.ZodTypeDef, CreateWebInsightsToggleRequestBody -> = z.object({ - value: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.boolean(), + }) +); export function createWebInsightsToggleRequestBodyToJSON( createWebInsightsToggleRequestBody: CreateWebInsightsToggleRequestBody, @@ -57,15 +59,17 @@ export const CreateWebInsightsToggleRequest$outboundSchema: z.ZodType< CreateWebInsightsToggleRequest$Outbound, z.ZodTypeDef, CreateWebInsightsToggleRequest -> = z.object({ - projectId: z.string(), - requestBody: z.lazy(() => CreateWebInsightsToggleRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + requestBody: z.lazy(() => CreateWebInsightsToggleRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function createWebInsightsToggleRequestToJSON( createWebInsightsToggleRequest: CreateWebInsightsToggleRequest, @@ -82,9 +86,11 @@ export const CreateWebInsightsToggleResponseBody$inboundSchema: z.ZodType< CreateWebInsightsToggleResponseBody, z.ZodTypeDef, unknown -> = z.object({ - value: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.boolean(), + }) +); export function createWebInsightsToggleResponseBodyFromJSON( jsonString: string, diff --git a/src/models/credentialtypescreate.ts b/src/models/credentialtypescreate.ts index c19d839097..3ae069880d 100644 --- a/src/models/credentialtypescreate.ts +++ b/src/models/credentialtypescreate.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1343,9 +1343,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2001$inboundS CreateIntegrationStoreDirectHiddenIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse2001FromJSON( jsonString: string, @@ -1368,13 +1370,15 @@ export const CreateIntegrationStoreDirectUiOptionsHidden$inboundSchema: CreateIntegrationStoreDirectUiOptionsHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema, + ]) + ); export function createIntegrationStoreDirectUiOptionsHiddenFromJSON( jsonString: string, @@ -1397,23 +1401,23 @@ export const CreateIntegrationStoreDirectUiOptions1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiOptions1, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema, - ), - hidden: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional( + CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema, + ), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse2001$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), -}); + ])), + label: types.string(), + value: types.string(), + }) +); export function createIntegrationStoreDirectUiOptions1FromJSON( jsonString: string, @@ -1432,11 +1436,13 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiOpti CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectUiOptions1$inboundSchema), - CreateIntegrationStoreDirectUiOptions3$inboundSchema, - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectUiOptions1$inboundSchema), + CreateIntegrationStoreDirectUiOptions3$inboundSchema, + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiOptionsFromJSON( jsonString: string, @@ -1457,8 +1463,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiO export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, + ) ); /** @internal */ @@ -1467,9 +1475,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1FromJSON( jsonString: string, @@ -1492,13 +1502,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnlyFromJSON( jsonString: string, @@ -1520,62 +1532,60 @@ export const CreateIntegrationStoreDirectProperties8$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties8, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema, - "ui:description": types.optional( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$inboundSchema, - ), - "ui:disabled": types.optional( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$inboundSchema, - ), - "ui:formatted-value": types.optional( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$inboundSchema, - ), - "ui:hidden": types.optional( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$inboundSchema, - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema, + "ui:description": types.optional( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$inboundSchema, + ), + "ui:disabled": types.optional( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$inboundSchema, + ), + "ui:formatted-value": types.optional( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$inboundSchema, + ), + "ui:hidden": types.optional( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$inboundSchema, + ), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiOptions1$inboundSchema), CreateIntegrationStoreDirectUiOptions3$inboundSchema, types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties8FromJSON( jsonString: string, @@ -1597,8 +1607,10 @@ export function createIntegrationStoreDirectProperties8FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type, + ) ); /** @internal */ @@ -1607,16 +1619,18 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSche CreateIntegrationStoreDirectPropertiesIntegrationsItems, z.ZodTypeDef, unknown - > = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema7Type$inboundSchema, + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsItemsFromJSON( jsonString: string, @@ -1637,16 +1651,20 @@ export function createIntegrationStoreDirectPropertiesIntegrationsItemsFromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl, + ) ); /** @internal */ @@ -1655,9 +1673,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2FromJSON( jsonString: string, @@ -1680,12 +1700,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescriptionFromJSON( jsonString: string, @@ -1706,8 +1728,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3, + ) ); /** @internal */ @@ -1716,9 +1740,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1FromJSON( jsonString: string, @@ -1741,13 +1767,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabledFromJSON( jsonString: string, @@ -1770,9 +1798,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValueFromJSON( jsonString: string, @@ -1793,8 +1823,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3, + ) ); /** @internal */ @@ -1803,9 +1835,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1FromJSON( jsonString: string, @@ -1828,13 +1862,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHiddenFromJSON( jsonString: string, @@ -1855,7 +1891,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse3 - > = z.nativeEnum(CreateIntegrationStoreDirectDisabledIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectDisabledIntegrationsResponse3) + ); /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse1$inboundSchema: @@ -1863,9 +1901,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse1$inboundSc CreateIntegrationStoreDirectDisabledIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrationsResponse1FromJSON( jsonString: string, @@ -1888,13 +1928,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$ CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrationsResponse1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrationsResponse1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseDisabledFromJSON( jsonString: string, @@ -1915,7 +1957,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseDisabl export const CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse3 - > = z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse3) + ); /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse1$inboundSchema: @@ -1923,9 +1967,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse1$inboundSche CreateIntegrationStoreDirectHiddenIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrationsResponse1FromJSON( jsonString: string, @@ -1948,13 +1994,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$in CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectHiddenIntegrationsResponse1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrationsResponse1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseHiddenFromJSON( jsonString: string, @@ -1977,29 +2025,27 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrationsResponse1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrationsResponse1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOptionsFromJSON( jsonString: string, @@ -2020,8 +2066,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOpti export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3, + ) ); /** @internal */ @@ -2030,9 +2078,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore1FromJSON( jsonString: string, @@ -2055,13 +2105,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnlyFromJSON( jsonString: string, @@ -2083,81 +2135,71 @@ export const CreateIntegrationStoreDirectProperties7$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties7, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.string())), - description: types.optional(types.string()), - example: types.optional(z.array(types.string())), - items: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSchema - ), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.string())), + description: types.optional(types.string()), + example: types.optional(z.array(types.string())), + items: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSchema + ), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - z.lazy(() => + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$inboundSchema - ), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties7FromJSON( jsonString: string, @@ -2179,16 +2221,20 @@ export function createIntegrationStoreDirectProperties7FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, + ) ); /** @internal */ @@ -2197,9 +2243,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -2222,12 +2270,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionFromJSON( jsonString: string, @@ -2248,8 +2298,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -2258,9 +2310,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -2283,13 +2337,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledFromJSON( jsonString: string, @@ -2312,9 +2368,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueFromJSON( jsonString: string, @@ -2335,8 +2393,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -2345,9 +2405,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -2370,13 +2432,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenFromJSON( jsonString: string, @@ -2395,8 +2459,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectDisabledIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectDisabledIntegrations3) + ); /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrations1$inboundSchema: @@ -2404,9 +2470,11 @@ export const CreateIntegrationStoreDirectDisabledIntegrations1$inboundSchema: CreateIntegrationStoreDirectDisabledIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectDisabledIntegrations1FromJSON( jsonString: string, @@ -2430,13 +2498,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$inboundS CreateIntegrationStoreDirectPropertiesIntegrationsDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectDisabledIntegrations1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectDisabledIntegrations1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsDisabledFromJSON( jsonString: string, @@ -2455,8 +2525,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsDisabledFromJS /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectHiddenIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrations3) + ); /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrations1$inboundSchema: @@ -2464,9 +2536,11 @@ export const CreateIntegrationStoreDirectHiddenIntegrations1$inboundSchema: CreateIntegrationStoreDirectHiddenIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectHiddenIntegrations1FromJSON( jsonString: string, @@ -2490,11 +2564,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsHidden$inboundSch CreateIntegrationStoreDirectPropertiesIntegrationsHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrations1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectHiddenIntegrations1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsHiddenFromJSON( jsonString: string, @@ -2517,29 +2595,27 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$inbound CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabledIntegrations1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHiddenIntegrations1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiOptionsFromJSON( jsonString: string, @@ -2560,8 +2636,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiOptionsFromJ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -2570,9 +2648,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -2595,13 +2675,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyFromJSON( jsonString: string, @@ -2623,79 +2705,69 @@ export const CreateIntegrationStoreDirectProperties6$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties6, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - z.lazy(() => + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$inboundSchema - ), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties6FromJSON( jsonString: string, @@ -2717,16 +2789,20 @@ export function createIntegrationStoreDirectProperties6FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl, + ) ); /** @internal */ @@ -2735,9 +2811,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -2760,12 +2838,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionFromJSON( jsonString: string, @@ -2786,8 +2866,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -2796,9 +2878,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -2821,13 +2905,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabledFromJSON( jsonString: string, @@ -2850,9 +2936,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueFromJSON( jsonString: string, @@ -2873,8 +2961,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -2883,9 +2973,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -2908,13 +3000,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHiddenFromJSON( jsonString: string, @@ -2933,18 +3027,21 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App /** @internal */ export const CreateIntegrationStoreDirectDisabled3$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectDisabled3, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectDisabled3) + ); /** @internal */ export const CreateIntegrationStoreDirectDisabled1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectDisabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function createIntegrationStoreDirectDisabled1FromJSON( jsonString: string, @@ -2963,11 +3060,13 @@ export const CreateIntegrationStoreDirectPropertiesDisabled$inboundSchema: CreateIntegrationStoreDirectPropertiesDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectDisabled1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectDisabled3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectDisabled1$inboundSchema), + types.boolean(), + CreateIntegrationStoreDirectDisabled3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesDisabledFromJSON( jsonString: string, @@ -2988,16 +3087,20 @@ export function createIntegrationStoreDirectPropertiesDisabledFromJSON( /** @internal */ export const CreateIntegrationStoreDirectHidden3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHidden3 -> = z.nativeEnum(CreateIntegrationStoreDirectHidden3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectHidden3) +); /** @internal */ export const CreateIntegrationStoreDirectHidden1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectHidden1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function createIntegrationStoreDirectHidden1FromJSON( jsonString: string, @@ -3016,11 +3119,13 @@ export const CreateIntegrationStoreDirectPropertiesHidden$inboundSchema: CreateIntegrationStoreDirectPropertiesHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectHidden1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectHidden3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectHidden1$inboundSchema), + types.boolean(), + CreateIntegrationStoreDirectHidden3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesHiddenFromJSON( jsonString: string, @@ -3044,25 +3149,23 @@ export const CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema: CreateIntegrationStoreDirectPropertiesUiOptions, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectDisabled1$inboundSchema), types.boolean(), CreateIntegrationStoreDirectDisabled3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectHidden1$inboundSchema), types.boolean(), CreateIntegrationStoreDirectHidden3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesUiOptionsFromJSON( jsonString: string, @@ -3084,8 +3187,10 @@ export function createIntegrationStoreDirectPropertiesUiOptionsFromJSON( export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -3094,9 +3199,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -3119,13 +3226,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyFromJSON( jsonString: string, @@ -3147,77 +3256,69 @@ export const CreateIntegrationStoreDirectProperties5$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties5, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - z.lazy(() => CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => + CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties5FromJSON( jsonString: string, @@ -3239,8 +3340,10 @@ export function createIntegrationStoreDirectProperties5FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type, + ) ); /** @internal */ @@ -3249,16 +3352,18 @@ export const CreateIntegrationStoreDirectPropertiesItems$inboundSchema: CreateIntegrationStoreDirectPropertiesItems, z.ZodTypeDef, unknown - > = z.object({ - default: types.optional(types.number()), - description: types.optional(types.string()), - exclusiveMaximum: types.optional(types.number()), - exclusiveMinimum: types.optional(types.number()), - maximum: types.optional(types.number()), - minimum: types.optional(types.number()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.number()), + description: types.optional(types.string()), + exclusiveMaximum: types.optional(types.number()), + exclusiveMinimum: types.optional(types.number()), + maximum: types.optional(types.number()), + minimum: types.optional(types.number()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema4Type$inboundSchema, + }) + ); export function createIntegrationStoreDirectPropertiesItemsFromJSON( jsonString: string, @@ -3280,16 +3385,20 @@ export function createIntegrationStoreDirectPropertiesItemsFromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type, + ) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl, + ) ); /** @internal */ @@ -3298,9 +3407,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$i CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2002FromJSON( jsonString: string, @@ -3323,12 +3434,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDesc CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescriptionFromJSON( jsonString: string, @@ -3349,8 +3462,8 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiD export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003) ); /** @internal */ @@ -3359,9 +3472,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2001$inbo CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2001FromJSON( jsonString: string, @@ -3384,13 +3499,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisa CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabledFromJSON( jsonString: string, @@ -3413,9 +3530,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiForm CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValueFromJSON( jsonString: string, @@ -3436,8 +3555,8 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiF export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003) ); /** @internal */ @@ -3446,9 +3565,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2001$inboun CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2001FromJSON( jsonString: string, @@ -3471,13 +3592,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidd CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiHiddenFromJSON( jsonString: string, @@ -3498,8 +3621,8 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiH export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003 - > = z.nativeEnum( - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003) ); /** @internal */ @@ -3508,9 +3631,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001$inbo CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001FromJSON( jsonString: string, @@ -3533,13 +3658,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiRead CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnlyFromJSON( jsonString: string, @@ -3561,74 +3688,66 @@ export const CreateIntegrationStoreDirectProperties4$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties4, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.number())), - description: types.optional(types.string()), - items: z.lazy(() => - CreateIntegrationStoreDirectPropertiesItems$inboundSchema - ), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.number())), + description: types.optional(types.string()), + items: z.lazy(() => + CreateIntegrationStoreDirectPropertiesItems$inboundSchema + ), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2001$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2001$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2001$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema, - ]), - ), - "ui:steps": z.array(types.number()), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:read-only": "uiReadOnly", - "ui:steps": "uiSteps", - }); -}); + ])), + "ui:steps": z.array(types.number()), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:read-only": "uiReadOnly", + "ui:steps": "uiSteps", + }); + }) +); export function createIntegrationStoreDirectProperties4FromJSON( jsonString: string, @@ -3650,16 +3769,18 @@ export function createIntegrationStoreDirectProperties4FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponseType - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponseType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsResponseType) ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl - > = z.nativeEnum( - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl, + ) ); /** @internal */ @@ -3668,9 +3789,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inbo CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2FromJSON( jsonString: string, @@ -3693,12 +3816,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescrip CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDescriptionFromJSON( jsonString: string, @@ -3719,7 +3844,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDesc export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3 - > = z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1$inboundSchema: @@ -3727,9 +3854,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1$inbound CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrationsResponse1FromJSON( jsonString: string, @@ -3752,13 +3881,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisable CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabledFromJSON( jsonString: string, @@ -3781,9 +3912,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormatt CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValueFromJSON( jsonString: string, @@ -3804,7 +3937,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiForm export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3 - > = z.nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1$inboundSchema: @@ -3812,9 +3947,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1$inboundSc CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrationsResponse1FromJSON( jsonString: string, @@ -3837,13 +3974,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$ CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiHiddenFromJSON( jsonString: string, @@ -3864,7 +4003,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiHidd export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3 - > = z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1$inboundSchema: @@ -3872,9 +4013,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1$inbound CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse1FromJSON( jsonString: string, @@ -3897,13 +4040,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnl CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnlyFromJSON( jsonString: string, @@ -3925,67 +4070,59 @@ export const CreateIntegrationStoreDirectProperties3$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties3, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.boolean()), - description: types.optional(types.string()), - type: - CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.boolean()), + description: types.optional(types.string()), + type: + CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrationsResponse1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrationsResponse1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties3FromJSON( jsonString: string, @@ -4007,13 +4144,17 @@ export function createIntegrationStoreDirectProperties3FromJSON( export const CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsType - > = z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsType) + ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsUiControl - > = z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsUiControl); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsUiControl) + ); /** @internal */ export const CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema: @@ -4021,9 +4162,11 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchem CreateIntegrationStoreDirectUiDescriptionIntegrations2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescriptionIntegrations2FromJSON( jsonString: string, @@ -4046,12 +4189,14 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$inb CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema + ), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiDescriptionFromJSON( jsonString: string, @@ -4071,7 +4216,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiDescriptionF /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrations3); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrations3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrations1$inboundSchema: @@ -4079,9 +4226,11 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrations1$inboundSchema: CreateIntegrationStoreDirectUiDisabledIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDisabledIntegrations1FromJSON( jsonString: string, @@ -4105,13 +4254,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$inboun CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiDisabledIntegrations1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiDisabledIntegrations1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiDisabledFromJSON( jsonString: string, @@ -4134,9 +4285,11 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$ CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiFormattedValueFromJSON( jsonString: string, @@ -4155,8 +4308,10 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiFormattedVal /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrations3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrations1$inboundSchema: @@ -4164,9 +4319,11 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrations1$inboundSchema: CreateIntegrationStoreDirectUiHiddenIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiHiddenIntegrations1FromJSON( jsonString: string, @@ -4190,13 +4347,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$inboundS CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiHiddenIntegrations1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiHiddenIntegrations1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenFromJSON( jsonString: string, @@ -4216,7 +4375,9 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenFromJS /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrations3); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrations3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations1$inboundSchema: @@ -4224,9 +4385,11 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations1$inboundSchema: CreateIntegrationStoreDirectUiReadOnlyIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiReadOnlyIntegrations1FromJSON( jsonString: string, @@ -4250,13 +4413,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$inboun CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - CreateIntegrationStoreDirectUiReadOnlyIntegrations1$inboundSchema - ), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + CreateIntegrationStoreDirectUiReadOnlyIntegrations1$inboundSchema + ), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesIntegrationsUiReadOnlyFromJSON( jsonString: string, @@ -4278,72 +4443,64 @@ export const CreateIntegrationStoreDirectProperties2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties2, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.number()), - description: types.optional(types.string()), - exclusiveMaximum: types.optional(types.number()), - exclusiveMinimum: types.optional(types.number()), - maximum: types.optional(types.number()), - minimum: types.optional(types.number()), - type: CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema, - "ui:control": - CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.number()), + description: types.optional(types.string()), + exclusiveMaximum: types.optional(types.number()), + exclusiveMinimum: types.optional(types.number()), + maximum: types.optional(types.number()), + minimum: types.optional(types.number()), + type: CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema, + "ui:control": + CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabledIntegrations1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHiddenIntegrations1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnlyIntegrations1$inboundSchema ), types.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties2FromJSON( jsonString: string, @@ -4363,20 +4520,26 @@ export function createIntegrationStoreDirectProperties2FromJSON( /** @internal */ export const CreateIntegrationStoreDirectPropertiesType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectPropertiesType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPropertiesType) + ); /** @internal */ export const CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectPropertiesUiControl); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectPropertiesUiControl) + ); /** @internal */ export const CreateIntegrationStoreDirectUiDescription2$inboundSchema: z.ZodType = - z.object({ - expr: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectUiDescription2FromJSON( jsonString: string, @@ -4400,10 +4563,12 @@ export const CreateIntegrationStoreDirectPropertiesUiDescription$inboundSchema: CreateIntegrationStoreDirectPropertiesUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectUiDescription2$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectUiDescription2$inboundSchema), + types.string(), + ]) + ); export function createIntegrationStoreDirectPropertiesUiDescriptionFromJSON( jsonString: string, @@ -4423,17 +4588,21 @@ export function createIntegrationStoreDirectPropertiesUiDescriptionFromJSON( /** @internal */ export const CreateIntegrationStoreDirectUiDisabled3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectUiDisabled3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiDisabled3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiDisabled1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiDisabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function createIntegrationStoreDirectUiDisabled1FromJSON( jsonString: string, @@ -4457,11 +4626,13 @@ export const CreateIntegrationStoreDirectPropertiesUiDisabled$inboundSchema: CreateIntegrationStoreDirectPropertiesUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectUiDisabled1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectUiDisabled3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectUiDisabled1$inboundSchema), + types.boolean(), + CreateIntegrationStoreDirectUiDisabled3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesUiDisabledFromJSON( jsonString: string, @@ -4485,9 +4656,11 @@ export const CreateIntegrationStoreDirectPropertiesUiFormattedValue$inboundSchem CreateIntegrationStoreDirectPropertiesUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function createIntegrationStoreDirectPropertiesUiFormattedValueFromJSON( jsonString: string, @@ -4506,18 +4679,21 @@ export function createIntegrationStoreDirectPropertiesUiFormattedValueFromJSON( /** @internal */ export const CreateIntegrationStoreDirectUiHidden3$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateIntegrationStoreDirectUiHidden3, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiHidden3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiHidden1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiHidden1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function createIntegrationStoreDirectUiHidden1FromJSON( jsonString: string, @@ -4536,11 +4712,13 @@ export const CreateIntegrationStoreDirectPropertiesUiHidden$inboundSchema: CreateIntegrationStoreDirectPropertiesUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectUiHidden1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectUiHidden3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectUiHidden1$inboundSchema), + types.boolean(), + CreateIntegrationStoreDirectUiHidden3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesUiHiddenFromJSON( jsonString: string, @@ -4560,17 +4738,21 @@ export function createIntegrationStoreDirectPropertiesUiHiddenFromJSON( /** @internal */ export const CreateIntegrationStoreDirectUiReadOnly3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectUiReadOnly3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectUiReadOnly3) + ); /** @internal */ export const CreateIntegrationStoreDirectUiReadOnly1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiReadOnly1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function createIntegrationStoreDirectUiReadOnly1FromJSON( jsonString: string, @@ -4594,11 +4776,13 @@ export const CreateIntegrationStoreDirectPropertiesUiReadOnly$inboundSchema: CreateIntegrationStoreDirectPropertiesUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectUiReadOnly1$inboundSchema), - types.boolean(), - CreateIntegrationStoreDirectUiReadOnly3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectUiReadOnly1$inboundSchema), + types.boolean(), + CreateIntegrationStoreDirectUiReadOnly3$inboundSchema, + ]) + ); export function createIntegrationStoreDirectPropertiesUiReadOnlyFromJSON( jsonString: string, @@ -4621,63 +4805,55 @@ export const CreateIntegrationStoreDirectProperties1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties1, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: CreateIntegrationStoreDirectPropertiesType$inboundSchema, - "ui:control": CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: CreateIntegrationStoreDirectPropertiesType$inboundSchema, + "ui:control": CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDescription2$inboundSchema), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiDisabled1$inboundSchema), types.boolean(), CreateIntegrationStoreDirectUiDisabled3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => CreateIntegrationStoreDirectPropertiesUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiHidden1$inboundSchema), types.boolean(), CreateIntegrationStoreDirectUiHidden3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectUiReadOnly1$inboundSchema), types.boolean(), CreateIntegrationStoreDirectUiReadOnly3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function createIntegrationStoreDirectProperties1FromJSON( jsonString: string, @@ -4700,20 +4876,22 @@ export const CreateIntegrationStoreDirectProperties$inboundSchema: z.ZodType< CreateIntegrationStoreDirectProperties, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => CreateIntegrationStoreDirectProperties4$inboundSchema), - z.lazy(() => CreateIntegrationStoreDirectProperties7$inboundSchema), - CreateIntegrationStoreDirectProperties9$inboundSchema, - z.lazy(() => CreateIntegrationStoreDirectProperties5$inboundSchema), - z.lazy(() => CreateIntegrationStoreDirectProperties6$inboundSchema), - z.lazy(() => CreateIntegrationStoreDirectProperties8$inboundSchema), - CreateIntegrationStoreDirectProperties10$inboundSchema, - z.lazy(() => CreateIntegrationStoreDirectProperties1$inboundSchema), - z.lazy(() => CreateIntegrationStoreDirectProperties2$inboundSchema), - z.lazy(() => CreateIntegrationStoreDirectProperties3$inboundSchema), - CreateIntegrationStoreDirectProperties11$inboundSchema, - CreateIntegrationStoreDirectProperties12$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => CreateIntegrationStoreDirectProperties4$inboundSchema), + z.lazy(() => CreateIntegrationStoreDirectProperties7$inboundSchema), + CreateIntegrationStoreDirectProperties9$inboundSchema, + z.lazy(() => CreateIntegrationStoreDirectProperties5$inboundSchema), + z.lazy(() => CreateIntegrationStoreDirectProperties6$inboundSchema), + z.lazy(() => CreateIntegrationStoreDirectProperties8$inboundSchema), + CreateIntegrationStoreDirectProperties10$inboundSchema, + z.lazy(() => CreateIntegrationStoreDirectProperties1$inboundSchema), + z.lazy(() => CreateIntegrationStoreDirectProperties2$inboundSchema), + z.lazy(() => CreateIntegrationStoreDirectProperties3$inboundSchema), + CreateIntegrationStoreDirectProperties11$inboundSchema, + CreateIntegrationStoreDirectProperties12$inboundSchema, + ]) +); export function createIntegrationStoreDirectPropertiesFromJSON( jsonString: string, @@ -4728,15 +4906,17 @@ export function createIntegrationStoreDirectPropertiesFromJSON( /** @internal */ export const CreateIntegrationStoreDirectIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(CreateIntegrationStoreDirectIntegrationsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectIntegrationsType) + ); /** @internal */ export const CreateIntegrationStoreDirectMetadataSchema$inboundSchema: z.ZodType = - z.object({ - properties: z.record( - smartUnion([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + properties: z.record(smartUnion([ z.lazy(() => CreateIntegrationStoreDirectProperties4$inboundSchema), z.lazy(() => CreateIntegrationStoreDirectProperties7$inboundSchema), CreateIntegrationStoreDirectProperties9$inboundSchema, @@ -4751,16 +4931,16 @@ export const CreateIntegrationStoreDirectMetadataSchema$inboundSchema: z.lazy(() => CreateIntegrationStoreDirectProperties3$inboundSchema), CreateIntegrationStoreDirectProperties11$inboundSchema, CreateIntegrationStoreDirectProperties12$inboundSchema, - ]), - ), - required: types.optional(z.array(types.string())), - type: CreateIntegrationStoreDirectIntegrationsType$inboundSchema, - "ui:order": types.optional(z.array(types.string())), - }).transform((v) => { - return remap$(v, { - "ui:order": "uiOrder", - }); - }); + ])), + required: types.optional(z.array(types.string())), + type: CreateIntegrationStoreDirectIntegrationsType$inboundSchema, + "ui:order": types.optional(z.array(types.string())), + }).transform((v) => { + return remap$(v, { + "ui:order": "uiOrder", + }); + }) + ); export function createIntegrationStoreDirectMetadataSchemaFromJSON( jsonString: string, @@ -4781,17 +4961,19 @@ export function createIntegrationStoreDirectMetadataSchemaFromJSON( /** @internal */ export const ProjectConnectionScopes$inboundSchema: z.ZodNativeEnum< typeof ProjectConnectionScopes -> = z.nativeEnum(ProjectConnectionScopes); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProjectConnectionScopes)); /** @internal */ export const ResourceLinks$inboundSchema: z.ZodType< ResourceLinks, z.ZodTypeDef, unknown -> = z.object({ - href: types.string(), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.string(), + title: types.string(), + }) +); export function resourceLinksFromJSON( jsonString: string, @@ -4806,15 +4988,19 @@ export function resourceLinksFromJSON( /** @internal */ export const CreateIntegrationStoreDirectTags$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTags -> = z.nativeEnum(CreateIntegrationStoreDirectTags); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectTags) +); /** @internal */ -export const Repl$inboundSchema: z.ZodType = z - .object({ - enabled: types.boolean(), - supportsReadOnlyMode: types.boolean(), - welcomeMessage: types.optional(types.string()), - }); +export const Repl$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + supportsReadOnlyMode: types.boolean(), + welcomeMessage: types.optional(types.string()), + }) + ); export function replFromJSON( jsonString: string, @@ -4829,7 +5015,9 @@ export function replFromJSON( /** @internal */ export const CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(CreateIntegrationStoreDirectIntegrationsResponseType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(CreateIntegrationStoreDirectIntegrationsResponseType) + ); /** @internal */ export const CreateIntegrationStoreDirectIntegrationsActions$inboundSchema: @@ -4837,9 +5025,11 @@ export const CreateIntegrationStoreDirectIntegrationsActions$inboundSchema: CreateIntegrationStoreDirectIntegrationsActions, z.ZodTypeDef, unknown - > = z.object({ - type: CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema, + }) + ); export function createIntegrationStoreDirectIntegrationsActionsFromJSON( jsonString: string, @@ -4858,16 +5048,16 @@ export function createIntegrationStoreDirectIntegrationsActionsFromJSON( } /** @internal */ -export const Steps$inboundSchema: z.ZodType = z - .object({ - actions: types.optional( - z.array(z.lazy(() => +export const Steps$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: types.optional(z.array(z.lazy(() => CreateIntegrationStoreDirectIntegrationsActions$inboundSchema - )), - ), - content: types.string(), - title: types.string(), - }); + ))), + content: types.string(), + title: types.string(), + }) + ); export function stepsFromJSON( jsonString: string, @@ -4880,12 +5070,14 @@ export function stepsFromJSON( } /** @internal */ -export const Guides$inboundSchema: z.ZodType = z - .object({ - framework: types.string(), - steps: z.array(z.lazy(() => Steps$inboundSchema)), - title: types.string(), - }); +export const Guides$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.string(), + steps: z.array(z.lazy(() => Steps$inboundSchema)), + title: types.string(), + }) + ); export function guidesFromJSON( jsonString: string, @@ -4900,4 +5092,4 @@ export function guidesFromJSON( /** @internal */ export const CredentialTypesCreate$inboundSchema: z.ZodNativeEnum< typeof CredentialTypesCreate -> = z.nativeEnum(CredentialTypesCreate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CredentialTypesCreate)); diff --git a/src/models/dangerouslydeletebysrcimagesop.ts b/src/models/dangerouslydeletebysrcimagesop.ts index 2e6e3e40e4..5148fd9793 100644 --- a/src/models/dangerouslydeletebysrcimagesop.ts +++ b/src/models/dangerouslydeletebysrcimagesop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DangerouslyDeleteBySrcImagesRequestBody = { revalidationDeadlineSeconds?: number | undefined; @@ -34,10 +35,12 @@ export const DangerouslyDeleteBySrcImagesRequestBody$outboundSchema: z.ZodType< DangerouslyDeleteBySrcImagesRequestBody$Outbound, z.ZodTypeDef, DangerouslyDeleteBySrcImagesRequestBody -> = z.object({ - revalidationDeadlineSeconds: z.number().int().optional(), - srcImages: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + revalidationDeadlineSeconds: z.number().int().optional(), + srcImages: z.array(z.string()), + }) +); export function dangerouslyDeleteBySrcImagesRequestBodyToJSON( dangerouslyDeleteBySrcImagesRequestBody: @@ -63,18 +66,20 @@ export const DangerouslyDeleteBySrcImagesRequest$outboundSchema: z.ZodType< DangerouslyDeleteBySrcImagesRequest$Outbound, z.ZodTypeDef, DangerouslyDeleteBySrcImagesRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - DangerouslyDeleteBySrcImagesRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + DangerouslyDeleteBySrcImagesRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function dangerouslyDeleteBySrcImagesRequestToJSON( dangerouslyDeleteBySrcImagesRequest: DangerouslyDeleteBySrcImagesRequest, diff --git a/src/models/dangerouslydeletebytagsop.ts b/src/models/dangerouslydeletebytagsop.ts index 0575d3e9f7..6d95c92e18 100644 --- a/src/models/dangerouslydeletebytagsop.ts +++ b/src/models/dangerouslydeletebytagsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -44,7 +45,9 @@ export const DangerouslyDeleteByTagsTags$outboundSchema: z.ZodType< DangerouslyDeleteByTagsTags$Outbound, z.ZodTypeDef, DangerouslyDeleteByTagsTags -> = smartUnion([z.array(z.string()), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) +); export function dangerouslyDeleteByTagsTagsToJSON( dangerouslyDeleteByTagsTags: DangerouslyDeleteByTagsTags, @@ -59,7 +62,9 @@ export function dangerouslyDeleteByTagsTagsToJSON( /** @internal */ export const DangerouslyDeleteByTagsTarget$outboundSchema: z.ZodNativeEnum< typeof DangerouslyDeleteByTagsTarget -> = z.nativeEnum(DangerouslyDeleteByTagsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DangerouslyDeleteByTagsTarget) +); /** @internal */ export type DangerouslyDeleteByTagsRequestBody$Outbound = { @@ -73,11 +78,13 @@ export const DangerouslyDeleteByTagsRequestBody$outboundSchema: z.ZodType< DangerouslyDeleteByTagsRequestBody$Outbound, z.ZodTypeDef, DangerouslyDeleteByTagsRequestBody -> = z.object({ - revalidationDeadlineSeconds: z.number().int().optional(), - tags: smartUnion([z.array(z.string()), z.string()]), - target: DangerouslyDeleteByTagsTarget$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + revalidationDeadlineSeconds: z.number().int().optional(), + tags: smartUnion([z.array(z.string()), z.string()]), + target: DangerouslyDeleteByTagsTarget$outboundSchema.optional(), + }) +); export function dangerouslyDeleteByTagsRequestBodyToJSON( dangerouslyDeleteByTagsRequestBody: DangerouslyDeleteByTagsRequestBody, @@ -102,17 +109,19 @@ export const DangerouslyDeleteByTagsRequest$outboundSchema: z.ZodType< DangerouslyDeleteByTagsRequest$Outbound, z.ZodTypeDef, DangerouslyDeleteByTagsRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => DangerouslyDeleteByTagsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DangerouslyDeleteByTagsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function dangerouslyDeleteByTagsRequestToJSON( dangerouslyDeleteByTagsRequest: DangerouslyDeleteByTagsRequest, diff --git a/src/models/deleteaccessgroupop.ts b/src/models/deleteaccessgroupop.ts index 3ce050bae6..fd81d8ef31 100644 --- a/src/models/deleteaccessgroupop.ts +++ b/src/models/deleteaccessgroupop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAccessGroupRequest = { idOrName: string; @@ -28,11 +29,13 @@ export const DeleteAccessGroupRequest$outboundSchema: z.ZodType< DeleteAccessGroupRequest$Outbound, z.ZodTypeDef, DeleteAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAccessGroupRequestToJSON( deleteAccessGroupRequest: DeleteAccessGroupRequest, diff --git a/src/models/deleteaccessgroupprojectop.ts b/src/models/deleteaccessgroupprojectop.ts index bc32767456..54b7a5b9a5 100644 --- a/src/models/deleteaccessgroupprojectop.ts +++ b/src/models/deleteaccessgroupprojectop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAccessGroupProjectRequest = { accessGroupIdOrName: string; @@ -30,12 +31,14 @@ export const DeleteAccessGroupProjectRequest$outboundSchema: z.ZodType< DeleteAccessGroupProjectRequest$Outbound, z.ZodTypeDef, DeleteAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAccessGroupProjectRequestToJSON( deleteAccessGroupProjectRequest: DeleteAccessGroupProjectRequest, diff --git a/src/models/deleteaigatewaybyokcredentialop.ts b/src/models/deleteaigatewaybyokcredentialop.ts index 7a3370eca3..78a3131944 100644 --- a/src/models/deleteaigatewaybyokcredentialop.ts +++ b/src/models/deleteaigatewaybyokcredentialop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAiGatewayByokCredentialRequest = { ownerId?: string | undefined; @@ -38,13 +39,15 @@ export const DeleteAiGatewayByokCredentialRequest$outboundSchema: z.ZodType< DeleteAiGatewayByokCredentialRequest$Outbound, z.ZodTypeDef, DeleteAiGatewayByokCredentialRequest -> = z.object({ - ownerId: z.string().optional(), - credentialId: z.string(), - userId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + credentialId: z.string(), + userId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAiGatewayByokCredentialRequestToJSON( deleteAiGatewayByokCredentialRequest: DeleteAiGatewayByokCredentialRequest, diff --git a/src/models/deleteaigatewayruleop.ts b/src/models/deleteaigatewayruleop.ts index 07c25415ec..d17fd3b571 100644 --- a/src/models/deleteaigatewayruleop.ts +++ b/src/models/deleteaigatewayruleop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAiGatewayRuleRequest = { ruleId: string; @@ -28,11 +29,13 @@ export const DeleteAiGatewayRuleRequest$outboundSchema: z.ZodType< DeleteAiGatewayRuleRequest$Outbound, z.ZodTypeDef, DeleteAiGatewayRuleRequest -> = z.object({ - ruleId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ruleId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAiGatewayRuleRequestToJSON( deleteAiGatewayRuleRequest: DeleteAiGatewayRuleRequest, diff --git a/src/models/deleteaigatewayvirtualmodelconfigbyslugop.ts b/src/models/deleteaigatewayvirtualmodelconfigbyslugop.ts index ce8a8cad11..0f1c9801cc 100644 --- a/src/models/deleteaigatewayvirtualmodelconfigbyslugop.ts +++ b/src/models/deleteaigatewayvirtualmodelconfigbyslugop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAiGatewayVirtualModelConfigBySlugRequest = { ownerId?: string | undefined; @@ -37,15 +38,17 @@ export const DeleteAiGatewayVirtualModelConfigBySlugRequest$outboundSchema: DeleteAiGatewayVirtualModelConfigBySlugRequest$Outbound, z.ZodTypeDef, DeleteAiGatewayVirtualModelConfigBySlugRequest - > = z.object({ - ownerId: z.string().optional(), - vmcSlug: z.string(), - updatedBy: z.string().optional(), - actingIp: z.string().optional(), - actingUserAgent: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + vmcSlug: z.string(), + updatedBy: z.string().optional(), + actingIp: z.string().optional(), + actingUserAgent: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) + ); export function deleteAiGatewayVirtualModelConfigBySlugRequestToJSON( deleteAiGatewayVirtualModelConfigBySlugRequest: diff --git a/src/models/deleteaigatewayvirtualmodelconfigop.ts b/src/models/deleteaigatewayvirtualmodelconfigop.ts index edfca3f563..304f9526d5 100644 --- a/src/models/deleteaigatewayvirtualmodelconfigop.ts +++ b/src/models/deleteaigatewayvirtualmodelconfigop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteAiGatewayVirtualModelConfigRequest = { ownerId?: string | undefined; @@ -36,15 +37,17 @@ export const DeleteAiGatewayVirtualModelConfigRequest$outboundSchema: z.ZodType< DeleteAiGatewayVirtualModelConfigRequest$Outbound, z.ZodTypeDef, DeleteAiGatewayVirtualModelConfigRequest -> = z.object({ - ownerId: z.string().optional(), - virtualModelSlug: z.string(), - updatedBy: z.string().optional(), - actingIp: z.string().optional(), - actingUserAgent: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + virtualModelSlug: z.string(), + updatedBy: z.string().optional(), + actingIp: z.string().optional(), + actingUserAgent: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAiGatewayVirtualModelConfigRequestToJSON( deleteAiGatewayVirtualModelConfigRequest: diff --git a/src/models/deletealiasop.ts b/src/models/deletealiasop.ts index ea53107161..da2f0afd0e 100644 --- a/src/models/deletealiasop.ts +++ b/src/models/deletealiasop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,11 +47,13 @@ export const DeleteAliasRequest$outboundSchema: z.ZodType< DeleteAliasRequest$Outbound, z.ZodTypeDef, DeleteAliasRequest -> = z.object({ - aliasId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliasId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAliasRequestToJSON( deleteAliasRequest: DeleteAliasRequest, @@ -64,16 +66,18 @@ export function deleteAliasRequestToJSON( /** @internal */ export const DeleteAliasStatus$inboundSchema: z.ZodNativeEnum< typeof DeleteAliasStatus -> = z.nativeEnum(DeleteAliasStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteAliasStatus)); /** @internal */ export const DeleteAliasResponseBody$inboundSchema: z.ZodType< DeleteAliasResponseBody, z.ZodTypeDef, unknown -> = z.object({ - status: DeleteAliasStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: DeleteAliasStatus$inboundSchema, + }) +); export function deleteAliasResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteallartifactsop.ts b/src/models/deleteallartifactsop.ts index 5b359d3ec4..54b02bdf68 100644 --- a/src/models/deleteallartifactsop.ts +++ b/src/models/deleteallartifactsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -37,10 +37,12 @@ export const DeleteAllArtifactsRequest$outboundSchema: z.ZodType< DeleteAllArtifactsRequest$Outbound, z.ZodTypeDef, DeleteAllArtifactsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteAllArtifactsRequestToJSON( deleteAllArtifactsRequest: DeleteAllArtifactsRequest, @@ -55,9 +57,11 @@ export const DeleteAllArtifactsResponseBody$inboundSchema: z.ZodType< DeleteAllArtifactsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - deletedCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedCount: types.number(), + }) +); export function deleteAllArtifactsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteauthtokenop.ts b/src/models/deleteauthtokenop.ts index 357c69bd3e..1cd89615f9 100644 --- a/src/models/deleteauthtokenop.ts +++ b/src/models/deleteauthtokenop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -60,12 +60,12 @@ export type DeleteAuthTokenResponseBody = { /** @internal */ export const QueryParamReason$outboundSchema: z.ZodNativeEnum< typeof QueryParamReason -> = z.nativeEnum(QueryParamReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamReason)); /** @internal */ export const QueryParamLogoutSource$outboundSchema: z.ZodNativeEnum< typeof QueryParamLogoutSource -> = z.nativeEnum(QueryParamLogoutSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamLogoutSource)); /** @internal */ export type DeleteAuthTokenRequest$Outbound = { @@ -79,11 +79,13 @@ export const DeleteAuthTokenRequest$outboundSchema: z.ZodType< DeleteAuthTokenRequest$Outbound, z.ZodTypeDef, DeleteAuthTokenRequest -> = z.object({ - reason: QueryParamReason$outboundSchema.optional(), - logoutSource: QueryParamLogoutSource$outboundSchema.optional(), - tokenId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: QueryParamReason$outboundSchema.optional(), + logoutSource: QueryParamLogoutSource$outboundSchema.optional(), + tokenId: z.string(), + }) +); export function deleteAuthTokenRequestToJSON( deleteAuthTokenRequest: DeleteAuthTokenRequest, @@ -98,9 +100,11 @@ export const DeleteAuthTokenResponseBody$inboundSchema: z.ZodType< DeleteAuthTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - tokenId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tokenId: types.string(), + }) +); export function deleteAuthTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts b/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts index 16444e2f50..eab2a2b3f9 100644 --- a/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts +++ b/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest = { @@ -39,12 +44,42 @@ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$o DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$Outbound, z.ZodTypeDef, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - digest: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + digest: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }), + }) + ); export function deleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequestToJSON( deleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: diff --git a/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts b/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts index ddde65c6b9..86185a4f4a 100644 --- a/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts +++ b/src/models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest = { @@ -39,12 +44,42 @@ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequ DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$Outbound, z.ZodTypeDef, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - uuid: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + uuid: z.string().refine(withinMaxLength$(40), { + message: "Value must be at most 40 characters long", + }).refine(matchesPattern$("^[a-f0-9]{40}$", 40), { + message: "Value must match pattern ^[a-f0-9]{40}$", + }), + }) + ); export function deleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequestToJSON( deleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: diff --git a/src/models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts b/src/models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts index a28174de45..d13fbc1788 100644 --- a/src/models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts +++ b/src/models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest = { @@ -39,12 +44,42 @@ export const DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRe DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$Outbound, z.ZodTypeDef, DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - reference: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + reference: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }), + }) + ); export function deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequestToJSON( deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: diff --git a/src/models/deleteconditionalbypassop.ts b/src/models/deleteconditionalbypassop.ts index 7061404914..735ed08745 100644 --- a/src/models/deleteconditionalbypassop.ts +++ b/src/models/deleteconditionalbypassop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export type DeleteConditionalBypassRequest = { @@ -35,12 +36,14 @@ export const DeleteConditionalBypassRequest$outboundSchema: z.ZodType< DeleteConditionalBypassRequest$Outbound, z.ZodTypeDef, DeleteConditionalBypassRequest -> = z.object({ - projectId: z.string(), - slug: z.string().optional(), - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + slug: z.string().optional(), + domain: z.string(), + teamId: z.string().optional(), + }) +); export function deleteConditionalBypassRequestToJSON( deleteConditionalBypassRequest: DeleteConditionalBypassRequest, @@ -55,4 +58,6 @@ export function deleteConditionalBypassRequestToJSON( /** @internal */ export const DeleteConditionalBypassResponseBody$inboundSchema: z.ZodNativeEnum< typeof DeleteConditionalBypassResponseBody -> = z.nativeEnum(DeleteConditionalBypassResponseBody); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteConditionalBypassResponseBody) +); diff --git a/src/models/deleteconfigurablelogdrainop.ts b/src/models/deleteconfigurablelogdrainop.ts index ee64f79872..6b3ee145fe 100644 --- a/src/models/deleteconfigurablelogdrainop.ts +++ b/src/models/deleteconfigurablelogdrainop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteConfigurableLogDrainRequest = { id: string; @@ -28,11 +29,13 @@ export const DeleteConfigurableLogDrainRequest$outboundSchema: z.ZodType< DeleteConfigurableLogDrainRequest$Outbound, z.ZodTypeDef, DeleteConfigurableLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteConfigurableLogDrainRequestToJSON( deleteConfigurableLogDrainRequest: DeleteConfigurableLogDrainRequest, diff --git a/src/models/deleteconfigurationop.ts b/src/models/deleteconfigurationop.ts index 62f8e7be25..372e03b777 100644 --- a/src/models/deleteconfigurationop.ts +++ b/src/models/deleteconfigurationop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteConfigurationRequest = { id: string; @@ -28,11 +29,13 @@ export const DeleteConfigurationRequest$outboundSchema: z.ZodType< DeleteConfigurationRequest$Outbound, z.ZodTypeDef, DeleteConfigurationRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteConfigurationRequestToJSON( deleteConfigurationRequest: DeleteConfigurationRequest, diff --git a/src/models/deleteconnectorop.ts b/src/models/deleteconnectorop.ts index 5857d27946..8e2cb2158d 100644 --- a/src/models/deleteconnectorop.ts +++ b/src/models/deleteconnectorop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteConnectorRequest = { /** @@ -31,11 +32,13 @@ export const DeleteConnectorRequest$outboundSchema: z.ZodType< DeleteConnectorRequest$Outbound, z.ZodTypeDef, DeleteConnectorRequest -> = z.object({ - connector: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteConnectorRequestToJSON( deleteConnectorRequest: DeleteConnectorRequest, diff --git a/src/models/deleteconnectorprojectconnectionop.ts b/src/models/deleteconnectorprojectconnectionop.ts index 68a665652f..4e7baeab48 100644 --- a/src/models/deleteconnectorprojectconnectionop.ts +++ b/src/models/deleteconnectorprojectconnectionop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteConnectorProjectConnectionRequest = { /** @@ -36,12 +37,14 @@ export const DeleteConnectorProjectConnectionRequest$outboundSchema: z.ZodType< DeleteConnectorProjectConnectionRequest$Outbound, z.ZodTypeDef, DeleteConnectorProjectConnectionRequest -> = z.object({ - connector: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteConnectorProjectConnectionRequestToJSON( deleteConnectorProjectConnectionRequest: diff --git a/src/models/deletedeploymentop.ts b/src/models/deletedeploymentop.ts index be34d83a62..218e8f4610 100644 --- a/src/models/deletedeploymentop.ts +++ b/src/models/deletedeploymentop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -66,12 +66,14 @@ export const DeleteDeploymentRequest$outboundSchema: z.ZodType< DeleteDeploymentRequest$Outbound, z.ZodTypeDef, DeleteDeploymentRequest -> = z.object({ - id: z.string(), - url: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + url: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteDeploymentRequestToJSON( deleteDeploymentRequest: DeleteDeploymentRequest, @@ -84,17 +86,19 @@ export function deleteDeploymentRequestToJSON( /** @internal */ export const DeleteDeploymentState$inboundSchema: z.ZodNativeEnum< typeof DeleteDeploymentState -> = z.nativeEnum(DeleteDeploymentState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteDeploymentState)); /** @internal */ export const DeleteDeploymentResponseBody$inboundSchema: z.ZodType< DeleteDeploymentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - state: DeleteDeploymentState$inboundSchema, - uid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + state: DeleteDeploymentState$inboundSchema, + uid: types.string(), + }) +); export function deleteDeploymentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletedomainop.ts b/src/models/deletedomainop.ts index 4d223711ea..6a8a68048e 100644 --- a/src/models/deletedomainop.ts +++ b/src/models/deletedomainop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -42,11 +42,13 @@ export const DeleteDomainRequest$outboundSchema: z.ZodType< DeleteDomainRequest$Outbound, z.ZodTypeDef, DeleteDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteDomainRequestToJSON( deleteDomainRequest: DeleteDomainRequest, @@ -61,9 +63,11 @@ export const DeleteDomainResponseBody$inboundSchema: z.ZodType< DeleteDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - uid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: types.string(), + }) +); export function deleteDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletedrainop.ts b/src/models/deletedrainop.ts index af829bb7e6..10c417b4c1 100644 --- a/src/models/deletedrainop.ts +++ b/src/models/deletedrainop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteDrainRequest = { id: string; @@ -28,11 +29,13 @@ export const DeleteDrainRequest$outboundSchema: z.ZodType< DeleteDrainRequest$Outbound, z.ZodTypeDef, DeleteDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteDrainRequestToJSON( deleteDrainRequest: DeleteDrainRequest, diff --git a/src/models/deletedriveop.ts b/src/models/deletedriveop.ts index 7d2a49efff..7e6d5b0d1b 100644 --- a/src/models/deletedriveop.ts +++ b/src/models/deletedriveop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,12 +51,18 @@ export const DeleteDriveRequest$outboundSchema: z.ZodType< DeleteDriveRequest$Outbound, z.ZodTypeDef, DeleteDriveRequest -> = z.object({ - nameOrId: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nameOrId: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteDriveRequestToJSON( deleteDriveRequest: DeleteDriveRequest, @@ -67,9 +77,11 @@ export const DeleteDriveResponseBody$inboundSchema: z.ZodType< DeleteDriveResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function deleteDriveResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletedrivev1op.ts b/src/models/deletedrivev1op.ts index 276e3e99c9..43011fe42d 100644 --- a/src/models/deletedrivev1op.ts +++ b/src/models/deletedrivev1op.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,12 +51,18 @@ export const DeleteDriveV1Request$outboundSchema: z.ZodType< DeleteDriveV1Request$Outbound, z.ZodTypeDef, DeleteDriveV1Request -> = z.object({ - nameOrId: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nameOrId: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteDriveV1RequestToJSON( deleteDriveV1Request: DeleteDriveV1Request, @@ -67,9 +77,11 @@ export const DeleteDriveV1ResponseBody$inboundSchema: z.ZodType< DeleteDriveV1ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function deleteDriveV1ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteedgeconfigop.ts b/src/models/deleteedgeconfigop.ts index 5c3c6147a8..c7b4381dd2 100644 --- a/src/models/deleteedgeconfigop.ts +++ b/src/models/deleteedgeconfigop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteEdgeConfigRequest = { edgeConfigId: string; @@ -28,11 +29,13 @@ export const DeleteEdgeConfigRequest$outboundSchema: z.ZodType< DeleteEdgeConfigRequest$Outbound, z.ZodTypeDef, DeleteEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteEdgeConfigRequestToJSON( deleteEdgeConfigRequest: DeleteEdgeConfigRequest, diff --git a/src/models/deleteedgeconfigschemaop.ts b/src/models/deleteedgeconfigschemaop.ts index 1c0dfcedad..5f834528f1 100644 --- a/src/models/deleteedgeconfigschemaop.ts +++ b/src/models/deleteedgeconfigschemaop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteEdgeConfigSchemaRequest = { edgeConfigId: string; @@ -28,11 +29,13 @@ export const DeleteEdgeConfigSchemaRequest$outboundSchema: z.ZodType< DeleteEdgeConfigSchemaRequest$Outbound, z.ZodTypeDef, DeleteEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteEdgeConfigSchemaRequestToJSON( deleteEdgeConfigSchemaRequest: DeleteEdgeConfigSchemaRequest, diff --git a/src/models/deleteedgeconfigtokensop.ts b/src/models/deleteedgeconfigtokensop.ts index d5fe73d0ec..f430e0f4aa 100644 --- a/src/models/deleteedgeconfigtokensop.ts +++ b/src/models/deleteedgeconfigtokensop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { smartUnion } from "../types/smartUnion.js"; export type DeleteEdgeConfigTokensRequestBody2 = { @@ -46,10 +50,12 @@ export const DeleteEdgeConfigTokensRequestBody2$outboundSchema: z.ZodType< DeleteEdgeConfigTokensRequestBody2$Outbound, z.ZodTypeDef, DeleteEdgeConfigTokensRequestBody2 -> = z.object({ - tokens: z.array(z.string()).optional(), - ids: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tokens: z.array(z.string()).optional(), + ids: z.array(z.string()), + }) +); export function deleteEdgeConfigTokensRequestBody2ToJSON( deleteEdgeConfigTokensRequestBody2: DeleteEdgeConfigTokensRequestBody2, @@ -72,10 +78,12 @@ export const DeleteEdgeConfigTokensRequestBody1$outboundSchema: z.ZodType< DeleteEdgeConfigTokensRequestBody1$Outbound, z.ZodTypeDef, DeleteEdgeConfigTokensRequestBody1 -> = z.object({ - tokens: z.array(z.string()), - ids: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tokens: z.array(z.string()), + ids: z.array(z.string()).optional(), + }) +); export function deleteEdgeConfigTokensRequestBody1ToJSON( deleteEdgeConfigTokensRequestBody1: DeleteEdgeConfigTokensRequestBody1, @@ -97,10 +105,12 @@ export const DeleteEdgeConfigTokensRequestBody$outboundSchema: z.ZodType< DeleteEdgeConfigTokensRequestBody$Outbound, z.ZodTypeDef, DeleteEdgeConfigTokensRequestBody -> = smartUnion([ - z.lazy(() => DeleteEdgeConfigTokensRequestBody1$outboundSchema), - z.lazy(() => DeleteEdgeConfigTokensRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteEdgeConfigTokensRequestBody1$outboundSchema), + z.lazy(() => DeleteEdgeConfigTokensRequestBody2$outboundSchema), + ]) +); export function deleteEdgeConfigTokensRequestBodyToJSON( deleteEdgeConfigTokensRequestBody: DeleteEdgeConfigTokensRequestBody, @@ -127,19 +137,23 @@ export const DeleteEdgeConfigTokensRequest$outboundSchema: z.ZodType< DeleteEdgeConfigTokensRequest$Outbound, z.ZodTypeDef, DeleteEdgeConfigTokensRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => DeleteEdgeConfigTokensRequestBody1$outboundSchema), - z.lazy(() => DeleteEdgeConfigTokensRequestBody2$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => DeleteEdgeConfigTokensRequestBody1$outboundSchema), + z.lazy(() => DeleteEdgeConfigTokensRequestBody2$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function deleteEdgeConfigTokensRequestToJSON( deleteEdgeConfigTokensRequest: DeleteEdgeConfigTokensRequest, diff --git a/src/models/deleteflagop.ts b/src/models/deleteflagop.ts index 2e01b2f105..32e5b0921e 100644 --- a/src/models/deleteflagop.ts +++ b/src/models/deleteflagop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteFlagRequest = { /** @@ -46,14 +47,16 @@ export const DeleteFlagRequest$outboundSchema: z.ZodType< DeleteFlagRequest$Outbound, z.ZodTypeDef, DeleteFlagRequest -> = z.object({ - projectIdOrName: z.string(), - flagIdOrSlug: z.string(), - ifMatch: z.string().optional(), - withMetadata: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + flagIdOrSlug: z.string(), + ifMatch: z.string().optional(), + withMetadata: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteFlagRequestToJSON( deleteFlagRequest: DeleteFlagRequest, diff --git a/src/models/deleteflagsegmentop.ts b/src/models/deleteflagsegmentop.ts index 578e568d24..9133e983d4 100644 --- a/src/models/deleteflagsegmentop.ts +++ b/src/models/deleteflagsegmentop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteFlagSegmentRequest = { /** @@ -41,13 +42,15 @@ export const DeleteFlagSegmentRequest$outboundSchema: z.ZodType< DeleteFlagSegmentRequest$Outbound, z.ZodTypeDef, DeleteFlagSegmentRequest -> = z.object({ - projectIdOrName: z.string(), - segmentIdOrSlug: z.string(), - withMetadata: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + segmentIdOrSlug: z.string(), + withMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteFlagSegmentRequestToJSON( deleteFlagSegmentRequest: DeleteFlagSegmentRequest, diff --git a/src/models/deleteflagsprojectconnectionop.ts b/src/models/deleteflagsprojectconnectionop.ts index 96e9a2ffd8..137820d28c 100644 --- a/src/models/deleteflagsprojectconnectionop.ts +++ b/src/models/deleteflagsprojectconnectionop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteFlagsProjectConnectionRequest = { /** @@ -36,12 +37,14 @@ export const DeleteFlagsProjectConnectionRequest$outboundSchema: z.ZodType< DeleteFlagsProjectConnectionRequest$Outbound, z.ZodTypeDef, DeleteFlagsProjectConnectionRequest -> = z.object({ - projectIdOrName: z.string(), - consumerProjectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + consumerProjectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteFlagsProjectConnectionRequestToJSON( deleteFlagsProjectConnectionRequest: DeleteFlagsProjectConnectionRequest, diff --git a/src/models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts b/src/models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts index a09f9f15ab..cf296fe8b8 100644 --- a/src/models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts +++ b/src/models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest = { @@ -25,11 +26,13 @@ export const DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceI DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest$Outbound, z.ZodTypeDef, DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - itemId: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + itemId: z.string(), + }) + ); export function deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestToJSON( deleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest: diff --git a/src/models/deleteintegrationlogdrainop.ts b/src/models/deleteintegrationlogdrainop.ts index fb6a3cd7d7..ab6b0d1317 100644 --- a/src/models/deleteintegrationlogdrainop.ts +++ b/src/models/deleteintegrationlogdrainop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteIntegrationLogDrainRequest = { /** @@ -31,11 +32,13 @@ export const DeleteIntegrationLogDrainRequest$outboundSchema: z.ZodType< DeleteIntegrationLogDrainRequest$Outbound, z.ZodTypeDef, DeleteIntegrationLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteIntegrationLogDrainRequestToJSON( deleteIntegrationLogDrainRequest: DeleteIntegrationLogDrainRequest, diff --git a/src/models/deleteintegrationresourceop.ts b/src/models/deleteintegrationresourceop.ts index 0adec6813b..03dc1c6f50 100644 --- a/src/models/deleteintegrationresourceop.ts +++ b/src/models/deleteintegrationresourceop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteIntegrationResourceRequest = { integrationConfigurationId: string; @@ -20,10 +21,12 @@ export const DeleteIntegrationResourceRequest$outboundSchema: z.ZodType< DeleteIntegrationResourceRequest$Outbound, z.ZodTypeDef, DeleteIntegrationResourceRequest -> = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + }) +); export function deleteIntegrationResourceRequestToJSON( deleteIntegrationResourceRequest: DeleteIntegrationResourceRequest, diff --git a/src/models/deletekmsissuerop.ts b/src/models/deletekmsissuerop.ts index fe33036bc3..649c135611 100644 --- a/src/models/deletekmsissuerop.ts +++ b/src/models/deletekmsissuerop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteKmsIssuerRequest = { /** @@ -31,11 +32,13 @@ export const DeleteKmsIssuerRequest$outboundSchema: z.ZodType< DeleteKmsIssuerRequest$Outbound, z.ZodTypeDef, DeleteKmsIssuerRequest -> = z.object({ - issuerId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteKmsIssuerRequestToJSON( deleteKmsIssuerRequest: DeleteKmsIssuerRequest, diff --git a/src/models/deletekmsissuerpolicyop.ts b/src/models/deletekmsissuerpolicyop.ts index 396354e916..c63a7479ab 100644 --- a/src/models/deletekmsissuerpolicyop.ts +++ b/src/models/deletekmsissuerpolicyop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -46,7 +47,9 @@ export type DeleteKmsIssuerPolicyRequest = { /** @internal */ export const DeleteKmsIssuerPolicyPathParamKind$outboundSchema: z.ZodNativeEnum< typeof DeleteKmsIssuerPolicyPathParamKind -> = z.nativeEnum(DeleteKmsIssuerPolicyPathParamKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteKmsIssuerPolicyPathParamKind) +); /** @internal */ export type DeleteKmsIssuerPolicyRequest$Outbound = { @@ -62,13 +65,15 @@ export const DeleteKmsIssuerPolicyRequest$outboundSchema: z.ZodType< DeleteKmsIssuerPolicyRequest$Outbound, z.ZodTypeDef, DeleteKmsIssuerPolicyRequest -> = z.object({ - issuerId: z.string(), - kind: DeleteKmsIssuerPolicyPathParamKind$outboundSchema, - policyKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + kind: DeleteKmsIssuerPolicyPathParamKind$outboundSchema, + policyKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteKmsIssuerPolicyRequestToJSON( deleteKmsIssuerPolicyRequest: DeleteKmsIssuerPolicyRequest, diff --git a/src/models/deletemicrofrontendsgroupop.ts b/src/models/deletemicrofrontendsgroupop.ts index 0ea2e3d5fe..cf462517a7 100644 --- a/src/models/deletemicrofrontendsgroupop.ts +++ b/src/models/deletemicrofrontendsgroupop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -36,11 +36,13 @@ export const DeleteMicrofrontendsGroupRequest$outboundSchema: z.ZodType< DeleteMicrofrontendsGroupRequest$Outbound, z.ZodTypeDef, DeleteMicrofrontendsGroupRequest -> = z.object({ - groupId: z.string(), - teamId: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + groupId: z.string(), + teamId: z.string(), + slug: z.string().optional(), + }) +); export function deleteMicrofrontendsGroupRequestToJSON( deleteMicrofrontendsGroupRequest: DeleteMicrofrontendsGroupRequest, @@ -57,7 +59,7 @@ export const DeleteMicrofrontendsGroupResponseBody$inboundSchema: z.ZodType< DeleteMicrofrontendsGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function deleteMicrofrontendsGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletenetworkop.ts b/src/models/deletenetworkop.ts index ec0b601e04..ffc66b984c 100644 --- a/src/models/deletenetworkop.ts +++ b/src/models/deletenetworkop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteNetworkRequest = { /** @@ -31,11 +32,13 @@ export const DeleteNetworkRequest$outboundSchema: z.ZodType< DeleteNetworkRequest$Outbound, z.ZodTypeDef, DeleteNetworkRequest -> = z.object({ - networkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + networkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteNetworkRequestToJSON( deleteNetworkRequest: DeleteNetworkRequest, diff --git a/src/models/deleteorganizationdsyncgroupop.ts b/src/models/deleteorganizationdsyncgroupop.ts index e7d995cf9b..cb4f046834 100644 --- a/src/models/deleteorganizationdsyncgroupop.ts +++ b/src/models/deleteorganizationdsyncgroupop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteOrganizationDsyncGroupRequest = { ifMatch?: string | undefined; @@ -33,17 +37,21 @@ export const DeleteOrganizationDsyncGroupRequest$outboundSchema: z.ZodType< DeleteOrganizationDsyncGroupRequest$Outbound, z.ZodTypeDef, DeleteOrganizationDsyncGroupRequest -> = z.object({ - ifMatch: z.string().optional(), - organizationId: z.string(), - groupId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - ifMatch: "If-Match", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ifMatch: z.string().refine(matchesPattern$("^\"\\d+\"$"), { + message: "Value must match pattern ^\"\\d+\"$", + }).optional(), + organizationId: z.string(), + groupId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }).transform((v) => { + return remap$(v, { + ifMatch: "If-Match", + }); + }) +); export function deleteOrganizationDsyncGroupRequestToJSON( deleteOrganizationDsyncGroupRequest: DeleteOrganizationDsyncGroupRequest, diff --git a/src/models/deleteprivatelinkendpointop.ts b/src/models/deleteprivatelinkendpointop.ts index 5d0ab32c80..780da89018 100644 --- a/src/models/deleteprivatelinkendpointop.ts +++ b/src/models/deleteprivatelinkendpointop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeletePrivateLinkEndpointRequest = { /** @@ -36,12 +37,14 @@ export const DeletePrivateLinkEndpointRequest$outboundSchema: z.ZodType< DeletePrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, DeletePrivateLinkEndpointRequest -> = z.object({ - projectId: z.string(), - endpointId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + endpointId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deletePrivateLinkEndpointRequestToJSON( deletePrivateLinkEndpointRequest: DeletePrivateLinkEndpointRequest, diff --git a/src/models/deleteprojectavatarchecksconclusion.ts b/src/models/deleteprojectavatarchecksconclusion.ts index 43e41f4593..cc4eb60f73 100644 --- a/src/models/deleteprojectavatarchecksconclusion.ts +++ b/src/models/deleteprojectavatarchecksconclusion.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1495,11 +1495,13 @@ export const DeleteProjectAvatarRequest$outboundSchema: z.ZodType< DeleteProjectAvatarRequest$Outbound, z.ZodTypeDef, DeleteProjectAvatarRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteProjectAvatarRequestToJSON( deleteProjectAvatarRequest: DeleteProjectAvatarRequest, @@ -1512,7 +1514,9 @@ export function deleteProjectAvatarRequestToJSON( /** @internal */ export const DeleteProjectAvatarConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarConfiguredBy -> = z.nativeEnum(DeleteProjectAvatarConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarConfiguredBy) +); /** @internal */ export const DeleteProjectAvatarProjectsResponseAliasAssigned$inboundSchema: @@ -1520,7 +1524,9 @@ export const DeleteProjectAvatarProjectsResponseAliasAssigned$inboundSchema: DeleteProjectAvatarProjectsResponseAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function deleteProjectAvatarProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -1544,10 +1550,12 @@ export const DeleteProjectAvatarProjectsResponseAliasError$inboundSchema: DeleteProjectAvatarProjectsResponseAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function deleteProjectAvatarProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -1569,8 +1577,10 @@ export function deleteProjectAvatarProjectsResponseAliasErrorFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ @@ -1579,11 +1589,13 @@ export const DeleteProjectAvatarProjectsResponse200BranchMatcher$inboundSchema: DeleteProjectAvatarProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + }) + ); export function deleteProjectAvatarProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -1606,11 +1618,13 @@ export const DeleteProjectAvatarProjectsResponseBuilds$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsResponseBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function deleteProjectAvatarProjectsResponseBuildsFromJSON( jsonString: string, @@ -1631,12 +1645,16 @@ export function deleteProjectAvatarProjectsResponseBuildsFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DeleteProjectAvatarProjectsResponseChecksConclusion); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseChecksConclusion) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseChecksState) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponse200Creator$inboundSchema: @@ -1644,13 +1662,15 @@ export const DeleteProjectAvatarProjectsResponse200Creator$inboundSchema: DeleteProjectAvatarProjectsResponse200Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function deleteProjectAvatarProjectsResponse200CreatorFromJSON( jsonString: string, @@ -1674,29 +1694,31 @@ export const DeleteProjectAvatarProjectsResponseOidcTokenClaims$inboundSchema: DeleteProjectAvatarProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function deleteProjectAvatarProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -1716,25 +1738,33 @@ export function deleteProjectAvatarProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsResponsePlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponsePlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponsePlan) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseReadyState) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseReadySubstate) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1742,68 +1772,64 @@ export const DeleteProjectAvatarDeployment$inboundSchema: z.ZodType< DeleteProjectAvatarDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => DeleteProjectAvatarProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => DeleteProjectAvatarProjectsResponseAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => DeleteProjectAvatarProjectsResponse200BranchMatcher$inboundSchema + )), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + DeleteProjectAvatarProjectsResponseBuilds$inboundSchema + ))), + checksConclusion: types.optional( + DeleteProjectAvatarProjectsResponseChecksConclusion$inboundSchema, ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array( - z.lazy(() => DeleteProjectAvatarProjectsResponseBuilds$inboundSchema), + checksState: types.optional( + DeleteProjectAvatarProjectsResponseChecksState$inboundSchema, ), - ), - checksConclusion: types.optional( - DeleteProjectAvatarProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - DeleteProjectAvatarProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => DeleteProjectAvatarProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + DeleteProjectAvatarProjectsResponse200Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => DeleteProjectAvatarProjectsResponseOidcTokenClaims$inboundSchema + )), + plan: DeleteProjectAvatarProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: DeleteProjectAvatarProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + DeleteProjectAvatarProjectsResponseReadySubstate$inboundSchema, ), - ), - plan: DeleteProjectAvatarProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: DeleteProjectAvatarProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - DeleteProjectAvatarProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarDeploymentFromJSON( jsonString: string, @@ -1818,33 +1844,37 @@ export function deleteProjectAvatarDeploymentFromJSON( /** @internal */ export const DeleteProjectAvatarEnvironment$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarEnvironment -> = z.nativeEnum(DeleteProjectAvatarEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarEnvironment) +); /** @internal */ export const DeleteProjectAvatarTarget$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarTarget -> = z.nativeEnum(DeleteProjectAvatarTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarTarget)); /** @internal */ export const DeleteProjectAvatarAlias$inboundSchema: z.ZodType< DeleteProjectAvatarAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(DeleteProjectAvatarConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => DeleteProjectAvatarDeployment$inboundSchema), - ), - domain: types.string(), - environment: DeleteProjectAvatarEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: DeleteProjectAvatarTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(DeleteProjectAvatarConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => DeleteProjectAvatarDeployment$inboundSchema), + ), + domain: types.string(), + environment: DeleteProjectAvatarEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: DeleteProjectAvatarTarget$inboundSchema, + }) +); export function deleteProjectAvatarAliasFromJSON( jsonString: string, @@ -1861,15 +1891,17 @@ export const DeleteProjectAvatarAnalytics$inboundSchema: z.ZodType< DeleteProjectAvatarAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function deleteProjectAvatarAnalyticsFromJSON( jsonString: string, @@ -1886,9 +1918,11 @@ export const DeleteProjectAvatarBlobs$inboundSchema: z.ZodType< DeleteProjectAvatarBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarBlobsFromJSON( jsonString: string, @@ -1905,10 +1939,12 @@ export const DeleteProjectAvatarAws$inboundSchema: z.ZodType< DeleteProjectAvatarAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function deleteProjectAvatarAwsFromJSON( jsonString: string, @@ -1923,14 +1959,16 @@ export function deleteProjectAvatarAwsFromJSON( /** @internal */ export const DeleteProjectAvatarEnvId2$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarEnvId2 -> = z.nativeEnum(DeleteProjectAvatarEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarEnvId2)); /** @internal */ export const DeleteProjectAvatarEnvId$inboundSchema: z.ZodType< DeleteProjectAvatarEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), DeleteProjectAvatarEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), DeleteProjectAvatarEnvId2$inboundSchema]) +); export function deleteProjectAvatarEnvIdFromJSON( jsonString: string, @@ -1947,16 +1985,21 @@ export const DeleteProjectAvatarConnectConfigurations$inboundSchema: z.ZodType< DeleteProjectAvatarConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => DeleteProjectAvatarAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), DeleteProjectAvatarEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => DeleteProjectAvatarAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([ + types.string(), + DeleteProjectAvatarEnvId2$inboundSchema, + ]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function deleteProjectAvatarConnectConfigurationsFromJSON( jsonString: string, @@ -1979,9 +2022,11 @@ export const DeleteProjectAvatarCreator5$inboundSchema: z.ZodType< DeleteProjectAvatarCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function deleteProjectAvatarCreator5FromJSON( jsonString: string, @@ -1998,10 +2043,12 @@ export const DeleteProjectAvatarCreatorIntegration$inboundSchema: z.ZodType< DeleteProjectAvatarCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function deleteProjectAvatarCreatorIntegrationFromJSON( jsonString: string, @@ -2019,12 +2066,14 @@ export const DeleteProjectAvatarCreator4$inboundSchema: z.ZodType< DeleteProjectAvatarCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - DeleteProjectAvatarCreatorIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + DeleteProjectAvatarCreatorIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function deleteProjectAvatarCreator4FromJSON( jsonString: string, @@ -2041,10 +2090,12 @@ export const DeleteProjectAvatarCreatorApp$inboundSchema: z.ZodType< DeleteProjectAvatarCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function deleteProjectAvatarCreatorAppFromJSON( jsonString: string, @@ -2061,10 +2112,12 @@ export const DeleteProjectAvatarCreator3$inboundSchema: z.ZodType< DeleteProjectAvatarCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => DeleteProjectAvatarCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => DeleteProjectAvatarCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function deleteProjectAvatarCreator3FromJSON( jsonString: string, @@ -2081,9 +2134,11 @@ export const DeleteProjectAvatarCreatorProject$inboundSchema: z.ZodType< DeleteProjectAvatarCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteProjectAvatarCreatorProjectFromJSON( jsonString: string, @@ -2100,10 +2155,12 @@ export const DeleteProjectAvatarCreator2$inboundSchema: z.ZodType< DeleteProjectAvatarCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => DeleteProjectAvatarCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => DeleteProjectAvatarCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function deleteProjectAvatarCreator2FromJSON( jsonString: string, @@ -2120,10 +2177,12 @@ export const DeleteProjectAvatarViaIntegration$inboundSchema: z.ZodType< DeleteProjectAvatarViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function deleteProjectAvatarViaIntegrationFromJSON( jsonString: string, @@ -2140,10 +2199,12 @@ export const DeleteProjectAvatarVia2$inboundSchema: z.ZodType< DeleteProjectAvatarVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => DeleteProjectAvatarViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => DeleteProjectAvatarViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function deleteProjectAvatarVia2FromJSON( jsonString: string, @@ -2160,10 +2221,12 @@ export const DeleteProjectAvatarViaApp$inboundSchema: z.ZodType< DeleteProjectAvatarViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function deleteProjectAvatarViaAppFromJSON( jsonString: string, @@ -2180,10 +2243,12 @@ export const DeleteProjectAvatarVia1$inboundSchema: z.ZodType< DeleteProjectAvatarVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => DeleteProjectAvatarViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => DeleteProjectAvatarViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function deleteProjectAvatarVia1FromJSON( jsonString: string, @@ -2200,10 +2265,12 @@ export const DeleteProjectAvatarCreatorVia$inboundSchema: z.ZodType< DeleteProjectAvatarCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarVia1$inboundSchema), - z.lazy(() => DeleteProjectAvatarVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarVia1$inboundSchema), + z.lazy(() => DeleteProjectAvatarVia2$inboundSchema), + ]) +); export function deleteProjectAvatarCreatorViaFromJSON( jsonString: string, @@ -2220,9 +2287,11 @@ export const DeleteProjectAvatarCreatorUser$inboundSchema: z.ZodType< DeleteProjectAvatarCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteProjectAvatarCreatorUserFromJSON( jsonString: string, @@ -2239,16 +2308,18 @@ export const DeleteProjectAvatarCreator1$inboundSchema: z.ZodType< DeleteProjectAvatarCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => DeleteProjectAvatarVia1$inboundSchema), z.lazy(() => DeleteProjectAvatarVia2$inboundSchema), - ]), - ), - user: z.lazy(() => DeleteProjectAvatarCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + DeleteProjectAvatarCreatorUser$inboundSchema + ), + }) +); export function deleteProjectAvatarCreator1FromJSON( jsonString: string, @@ -2265,13 +2336,15 @@ export const DeleteProjectAvatarCreator$inboundSchema: z.ZodType< DeleteProjectAvatarCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarCreator1$inboundSchema), - z.lazy(() => DeleteProjectAvatarCreator2$inboundSchema), - z.lazy(() => DeleteProjectAvatarCreator3$inboundSchema), - z.lazy(() => DeleteProjectAvatarCreator4$inboundSchema), - z.lazy(() => DeleteProjectAvatarCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarCreator1$inboundSchema), + z.lazy(() => DeleteProjectAvatarCreator2$inboundSchema), + z.lazy(() => DeleteProjectAvatarCreator3$inboundSchema), + z.lazy(() => DeleteProjectAvatarCreator4$inboundSchema), + z.lazy(() => DeleteProjectAvatarCreator5$inboundSchema), + ]) +); export function deleteProjectAvatarCreatorFromJSON( jsonString: string, @@ -2286,21 +2359,23 @@ export function deleteProjectAvatarCreatorFromJSON( /** @internal */ export const DeleteProjectAvatarSource$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarSource -> = z.nativeEnum(DeleteProjectAvatarSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarSource)); /** @internal */ export const DeleteProjectAvatarDefinitions$inboundSchema: z.ZodType< DeleteProjectAvatarDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(DeleteProjectAvatarSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(DeleteProjectAvatarSource$inboundSchema), + }) +); export function deleteProjectAvatarDefinitionsFromJSON( jsonString: string, @@ -2317,15 +2392,17 @@ export const DeleteProjectAvatarCrons$inboundSchema: z.ZodType< DeleteProjectAvatarCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array( - z.lazy(() => DeleteProjectAvatarDefinitions$inboundSchema), - ), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array( + z.lazy(() => DeleteProjectAvatarDefinitions$inboundSchema), + ), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function deleteProjectAvatarCronsFromJSON( jsonString: string, @@ -2341,8 +2418,10 @@ export function deleteProjectAvatarCronsFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -2350,11 +2429,13 @@ export const DeleteProjectAvatarBranchMatcher$inboundSchema: z.ZodType< DeleteProjectAvatarBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function deleteProjectAvatarBranchMatcherFromJSON( jsonString: string, @@ -2371,12 +2452,14 @@ export const DeleteProjectAvatarVerification$inboundSchema: z.ZodType< DeleteProjectAvatarVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function deleteProjectAvatarVerificationFromJSON( jsonString: string, @@ -2393,21 +2476,23 @@ export const DeleteProjectAvatarDomains$inboundSchema: z.ZodType< DeleteProjectAvatarDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => DeleteProjectAvatarVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => DeleteProjectAvatarVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function deleteProjectAvatarDomainsFromJSON( jsonString: string, @@ -2422,28 +2507,30 @@ export function deleteProjectAvatarDomainsFromJSON( /** @internal */ export const DeleteProjectAvatarType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarType -> = z.nativeEnum(DeleteProjectAvatarType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarType)); /** @internal */ export const DeleteProjectAvatarCustomEnvironments$inboundSchema: z.ZodType< DeleteProjectAvatarCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => DeleteProjectAvatarBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => DeleteProjectAvatarDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: DeleteProjectAvatarType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => DeleteProjectAvatarBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => DeleteProjectAvatarDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: DeleteProjectAvatarType$inboundSchema, + updatedAt: types.number(), + }) +); export function deleteProjectAvatarCustomEnvironmentsFromJSON( jsonString: string, @@ -2461,11 +2548,13 @@ export const DeleteProjectAvatarDataCache$inboundSchema: z.ZodType< DeleteProjectAvatarDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function deleteProjectAvatarDataCacheFromJSON( jsonString: string, @@ -2479,13 +2568,17 @@ export function deleteProjectAvatarDataCacheFromJSON( /** @internal */ export const DeleteProjectAvatarBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarBuildMachineElasticReason) + ); /** @internal */ export const DeleteProjectAvatarDirection$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarDirection -> = z.nativeEnum(DeleteProjectAvatarDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarDirection) +); /** @internal */ export const DeleteProjectAvatarBuildMachineElasticTransition$inboundSchema: @@ -2493,11 +2586,13 @@ export const DeleteProjectAvatarBuildMachineElasticTransition$inboundSchema: DeleteProjectAvatarBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: DeleteProjectAvatarDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: DeleteProjectAvatarDirection$inboundSchema, + }) + ); export function deleteProjectAvatarBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2517,27 +2612,37 @@ export function deleteProjectAvatarBuildMachineElasticTransitionFromJSON( /** @internal */ export const DeleteProjectAvatarBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarBuildMachineSelection) + ); /** @internal */ export const DeleteProjectAvatarBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarBuildMachineType -> = z.nativeEnum(DeleteProjectAvatarBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarBuildMachineType) +); /** @internal */ export const DeleteProjectAvatarConfiguration$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarConfiguration -> = z.nativeEnum(DeleteProjectAvatarConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarConfiguration) +); /** @internal */ export const DeleteProjectAvatarBuildQueue$inboundSchema: z.ZodType< DeleteProjectAvatarBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(DeleteProjectAvatarConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + DeleteProjectAvatarConfiguration$inboundSchema, + ), + }) +); export function deleteProjectAvatarBuildQueueFromJSON( jsonString: string, @@ -2551,19 +2656,23 @@ export function deleteProjectAvatarBuildQueueFromJSON( /** @internal */ export const DeleteProjectAvatarFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarFunctionDefaultMemoryType) + ); /** @internal */ export const DeleteProjectAvatarElasticBuildMachine4$inboundSchema: z.ZodType< DeleteProjectAvatarElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function deleteProjectAvatarElasticBuildMachine4FromJSON( jsonString: string, @@ -2586,11 +2695,13 @@ export const DeleteProjectAvatarElasticBuildMachine3$inboundSchema: z.ZodType< DeleteProjectAvatarElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function deleteProjectAvatarElasticBuildMachine3FromJSON( jsonString: string, @@ -2613,11 +2724,13 @@ export const DeleteProjectAvatarElasticBuildMachine2$inboundSchema: z.ZodType< DeleteProjectAvatarElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function deleteProjectAvatarElasticBuildMachine2FromJSON( jsonString: string, @@ -2640,11 +2753,13 @@ export const DeleteProjectAvatarElasticBuildMachine1$inboundSchema: z.ZodType< DeleteProjectAvatarElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function deleteProjectAvatarElasticBuildMachine1FromJSON( jsonString: string, @@ -2667,12 +2782,14 @@ export const DeleteProjectAvatarElasticBuildMachine$inboundSchema: z.ZodType< DeleteProjectAvatarElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarElasticBuildMachine1$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachine2$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachine3$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarElasticBuildMachine1$inboundSchema), + z.lazy(() => DeleteProjectAvatarElasticBuildMachine2$inboundSchema), + z.lazy(() => DeleteProjectAvatarElasticBuildMachine3$inboundSchema), + z.lazy(() => DeleteProjectAvatarElasticBuildMachine4$inboundSchema), + ]) +); export function deleteProjectAvatarElasticBuildMachineFromJSON( jsonString: string, @@ -2690,44 +2807,44 @@ export const DeleteProjectAvatarDefaultResourceConfig$inboundSchema: z.ZodType< DeleteProjectAvatarDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - DeleteProjectAvatarBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + DeleteProjectAvatarBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => DeleteProjectAvatarBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + DeleteProjectAvatarBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + DeleteProjectAvatarBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + DeleteProjectAvatarBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + DeleteProjectAvatarFunctionDefaultMemoryType$inboundSchema, ), - ), - buildMachineSelection: types.optional( - DeleteProjectAvatarBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - DeleteProjectAvatarBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => DeleteProjectAvatarBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - DeleteProjectAvatarFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => DeleteProjectAvatarElasticBuildMachine1$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachine2$inboundSchema), + z.lazy(() => + DeleteProjectAvatarElasticBuildMachine2$inboundSchema + ), z.lazy(() => DeleteProjectAvatarElasticBuildMachine3$inboundSchema), z.lazy(() => DeleteProjectAvatarElasticBuildMachine4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function deleteProjectAvatarDefaultResourceConfigFromJSON( jsonString: string, @@ -2750,13 +2867,15 @@ export const DeleteProjectAvatarDeploymentExpiration$inboundSchema: z.ZodType< DeleteProjectAvatarDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function deleteProjectAvatarDeploymentExpirationFromJSON( jsonString: string, @@ -2779,10 +2898,12 @@ export const DeleteProjectAvatarEnvironments2$inboundSchema: z.ZodType< DeleteProjectAvatarEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function deleteProjectAvatarEnvironments2FromJSON( jsonString: string, @@ -2796,19 +2917,22 @@ export function deleteProjectAvatarEnvironments2FromJSON( /** @internal */ export const DeleteProjectAvatarEnvironmentsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarEnvironmentsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarEnvironmentsTarget) + ); /** @internal */ export const DeleteProjectAvatarEnvironments1$inboundSchema: z.ZodType< DeleteProjectAvatarEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: DeleteProjectAvatarEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: DeleteProjectAvatarEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function deleteProjectAvatarEnvironments1FromJSON( jsonString: string, @@ -2825,10 +2949,12 @@ export const DeleteProjectAvatarEnvironments$inboundSchema: z.ZodType< DeleteProjectAvatarEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarEnvironments1$inboundSchema), - z.lazy(() => DeleteProjectAvatarEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarEnvironments1$inboundSchema), + z.lazy(() => DeleteProjectAvatarEnvironments2$inboundSchema), + ]) +); export function deleteProjectAvatarEnvironmentsFromJSON( jsonString: string, @@ -2843,23 +2969,23 @@ export function deleteProjectAvatarEnvironmentsFromJSON( /** @internal */ export const DeleteProjectAvatarSources$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarSources -> = z.nativeEnum(DeleteProjectAvatarSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarSources)); /** @internal */ export const DeleteProjectAvatarDeploymentSources$inboundSchema: z.ZodType< DeleteProjectAvatarDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => DeleteProjectAvatarEnvironments1$inboundSchema), z.lazy(() => DeleteProjectAvatarEnvironments2$inboundSchema), - ]), - ), - sources: z.array(DeleteProjectAvatarSources$inboundSchema), -}); + ])), + sources: z.array(DeleteProjectAvatarSources$inboundSchema), + }) +); export function deleteProjectAvatarDeploymentSourcesFromJSON( jsonString: string, @@ -2877,10 +3003,12 @@ export const DeleteProjectAvatarEnvironmentsProjects2$inboundSchema: z.ZodType< DeleteProjectAvatarEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function deleteProjectAvatarEnvironmentsProjects2FromJSON( jsonString: string, @@ -2900,18 +3028,22 @@ export function deleteProjectAvatarEnvironmentsProjects2FromJSON( /** @internal */ export const DeleteProjectAvatarEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarEnvironmentsProjectsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarEnvironmentsProjectsTarget) + ); /** @internal */ export const DeleteProjectAvatarEnvironmentsProjects1$inboundSchema: z.ZodType< DeleteProjectAvatarEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: DeleteProjectAvatarEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: DeleteProjectAvatarEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function deleteProjectAvatarEnvironmentsProjects1FromJSON( jsonString: string, @@ -2934,10 +3066,12 @@ export const DeleteProjectAvatarProjectsEnvironments$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarEnvironmentsProjects1$inboundSchema), - z.lazy(() => DeleteProjectAvatarEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarEnvironmentsProjects1$inboundSchema), + z.lazy(() => DeleteProjectAvatarEnvironmentsProjects2$inboundSchema), + ]) +); export function deleteProjectAvatarProjectsEnvironmentsFromJSON( jsonString: string, @@ -2960,11 +3094,13 @@ export const DeleteProjectAvatarSources2$inboundSchema: z.ZodType< DeleteProjectAvatarSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function deleteProjectAvatarSources2FromJSON( jsonString: string, @@ -2979,18 +3115,22 @@ export function deleteProjectAvatarSources2FromJSON( /** @internal */ export const DeleteProjectAvatarSourcesProvider$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarSourcesProvider -> = z.nativeEnum(DeleteProjectAvatarSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarSourcesProvider) +); /** @internal */ export const DeleteProjectAvatarSources1$inboundSchema: z.ZodType< DeleteProjectAvatarSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: DeleteProjectAvatarSourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: DeleteProjectAvatarSourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function deleteProjectAvatarSources1FromJSON( jsonString: string, @@ -3007,15 +3147,17 @@ export const DeleteProjectAvatarProjectsSources$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => DeleteProjectAvatarSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => DeleteProjectAvatarSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => DeleteProjectAvatarSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => DeleteProjectAvatarSources2$inboundSchema), + ]) +); export function deleteProjectAvatarProjectsSourcesFromJSON( jsonString: string, @@ -3033,16 +3175,14 @@ export const DeleteProjectAvatarGitSources$inboundSchema: z.ZodType< DeleteProjectAvatarGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => DeleteProjectAvatarEnvironmentsProjects1$inboundSchema), z.lazy(() => DeleteProjectAvatarEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => DeleteProjectAvatarSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3050,9 +3190,9 @@ export const DeleteProjectAvatarGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => DeleteProjectAvatarSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function deleteProjectAvatarGitSourcesFromJSON( jsonString: string, @@ -3069,14 +3209,16 @@ export const DeleteProjectAvatarDeploymentPolicy$inboundSchema: z.ZodType< DeleteProjectAvatarDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => DeleteProjectAvatarDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => DeleteProjectAvatarGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => DeleteProjectAvatarDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => DeleteProjectAvatarGitSources$inboundSchema)), + ).optional(), + }) +); export function deleteProjectAvatarDeploymentPolicyFromJSON( jsonString: string, @@ -3092,14 +3234,16 @@ export function deleteProjectAvatarDeploymentPolicyFromJSON( /** @internal */ export const DeleteProjectAvatarAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarAction -> = z.nativeEnum(DeleteProjectAvatarAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarAction)); /** @internal */ export const DeleteProjectAvatarValueCurrentValue$inboundSchema: z.ZodType< DeleteProjectAvatarValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function deleteProjectAvatarValueCurrentValueFromJSON( jsonString: string, @@ -3117,7 +3261,9 @@ export const DeleteProjectAvatarValuePreviousValue$inboundSchema: z.ZodType< DeleteProjectAvatarValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function deleteProjectAvatarValuePreviousValueFromJSON( jsonString: string, @@ -3135,10 +3281,16 @@ export const DeleteProjectAvatarValue3$inboundSchema: z.ZodType< DeleteProjectAvatarValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function deleteProjectAvatarValue3FromJSON( jsonString: string, @@ -3155,12 +3307,14 @@ export const DeleteProjectAvatarValue$inboundSchema: z.ZodType< DeleteProjectAvatarValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function deleteProjectAvatarValueFromJSON( jsonString: string, @@ -3177,19 +3331,19 @@ export const DeleteProjectAvatarDismissedToasts$inboundSchema: z.ZodType< DeleteProjectAvatarDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: DeleteProjectAvatarAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: DeleteProjectAvatarAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => DeleteProjectAvatarValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function deleteProjectAvatarDismissedToastsFromJSON( jsonString: string, @@ -3207,10 +3361,12 @@ export const DeleteProjectAvatarContentHint17$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function deleteProjectAvatarContentHint17FromJSON( jsonString: string, @@ -3227,13 +3383,15 @@ export const DeleteProjectAvatarContentHint16$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function deleteProjectAvatarContentHint16FromJSON( jsonString: string, @@ -3250,10 +3408,12 @@ export const DeleteProjectAvatarContentHint15$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function deleteProjectAvatarContentHint15FromJSON( jsonString: string, @@ -3270,10 +3430,12 @@ export const DeleteProjectAvatarContentHint14$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function deleteProjectAvatarContentHint14FromJSON( jsonString: string, @@ -3290,10 +3452,12 @@ export const DeleteProjectAvatarContentHint13$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function deleteProjectAvatarContentHint13FromJSON( jsonString: string, @@ -3310,10 +3474,12 @@ export const DeleteProjectAvatarContentHint12$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function deleteProjectAvatarContentHint12FromJSON( jsonString: string, @@ -3330,10 +3496,12 @@ export const DeleteProjectAvatarContentHint11$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function deleteProjectAvatarContentHint11FromJSON( jsonString: string, @@ -3350,10 +3518,12 @@ export const DeleteProjectAvatarContentHint10$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function deleteProjectAvatarContentHint10FromJSON( jsonString: string, @@ -3370,10 +3540,12 @@ export const DeleteProjectAvatarContentHint9$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function deleteProjectAvatarContentHint9FromJSON( jsonString: string, @@ -3390,10 +3562,12 @@ export const DeleteProjectAvatarContentHint8$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function deleteProjectAvatarContentHint8FromJSON( jsonString: string, @@ -3410,10 +3584,12 @@ export const DeleteProjectAvatarContentHint7$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function deleteProjectAvatarContentHint7FromJSON( jsonString: string, @@ -3430,10 +3606,12 @@ export const DeleteProjectAvatarContentHint6$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function deleteProjectAvatarContentHint6FromJSON( jsonString: string, @@ -3450,10 +3628,12 @@ export const DeleteProjectAvatarContentHint5$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function deleteProjectAvatarContentHint5FromJSON( jsonString: string, @@ -3470,10 +3650,12 @@ export const DeleteProjectAvatarContentHint4$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function deleteProjectAvatarContentHint4FromJSON( jsonString: string, @@ -3490,10 +3672,12 @@ export const DeleteProjectAvatarContentHint3$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function deleteProjectAvatarContentHint3FromJSON( jsonString: string, @@ -3510,10 +3694,12 @@ export const DeleteProjectAvatarContentHint2$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function deleteProjectAvatarContentHint2FromJSON( jsonString: string, @@ -3530,10 +3716,12 @@ export const DeleteProjectAvatarContentHint1$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function deleteProjectAvatarContentHint1FromJSON( jsonString: string, @@ -3550,25 +3738,27 @@ export const DeleteProjectAvatarContentHint$inboundSchema: z.ZodType< DeleteProjectAvatarContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarContentHint1$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint2$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint3$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint4$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint5$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint6$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint7$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint8$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint9$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint10$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint11$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint12$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint13$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint14$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint15$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint16$inboundSchema), - z.lazy(() => DeleteProjectAvatarContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarContentHint1$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint2$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint3$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint4$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint5$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint6$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint7$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint8$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint9$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint10$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint11$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint12$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint13$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint14$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint15$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint16$inboundSchema), + z.lazy(() => DeleteProjectAvatarContentHint17$inboundSchema), + ]) +); export function deleteProjectAvatarContentHintFromJSON( jsonString: string, @@ -3584,8 +3774,10 @@ export function deleteProjectAvatarContentHintFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -3593,11 +3785,13 @@ export const DeleteProjectAvatarInternalContentHint$inboundSchema: z.ZodType< DeleteProjectAvatarInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function deleteProjectAvatarInternalContentHintFromJSON( jsonString: string, @@ -3613,22 +3807,24 @@ export function deleteProjectAvatarInternalContentHintFromJSON( /** @internal */ export const DeleteProjectAvatarTarget2$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarTarget2 -> = z.nativeEnum(DeleteProjectAvatarTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarTarget2)); /** @internal */ export const DeleteProjectAvatarTarget1$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarTarget1 -> = z.nativeEnum(DeleteProjectAvatarTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarTarget1)); /** @internal */ export const DeleteProjectAvatarProjectsTarget$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(DeleteProjectAvatarTarget1$inboundSchema), - DeleteProjectAvatarTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(DeleteProjectAvatarTarget1$inboundSchema), + DeleteProjectAvatarTarget2$inboundSchema, + ]) +); export function deleteProjectAvatarProjectsTargetFromJSON( jsonString: string, @@ -3643,23 +3839,27 @@ export function deleteProjectAvatarProjectsTargetFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsType -> = z.nativeEnum(DeleteProjectAvatarProjectsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsType) +); /** @internal */ export const DeleteProjectAvatarVisibility$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarVisibility -> = z.nativeEnum(DeleteProjectAvatarVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarVisibility) +); /** @internal */ export const DeleteProjectAvatarEnv$inboundSchema: z.ZodType< DeleteProjectAvatarEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => DeleteProjectAvatarContentHint1$inboundSchema), z.lazy(() => DeleteProjectAvatarContentHint2$inboundSchema), z.lazy(() => DeleteProjectAvatarContentHint3$inboundSchema), @@ -3677,35 +3877,35 @@ export const DeleteProjectAvatarEnv$inboundSchema: z.ZodType< z.lazy(() => DeleteProjectAvatarContentHint15$inboundSchema), z.lazy(() => DeleteProjectAvatarContentHint16$inboundSchema), z.lazy(() => DeleteProjectAvatarContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => DeleteProjectAvatarInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(DeleteProjectAvatarTarget1$inboundSchema), - DeleteProjectAvatarTarget2$inboundSchema, - ]), - ), - type: DeleteProjectAvatarProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(DeleteProjectAvatarVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + DeleteProjectAvatarInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(DeleteProjectAvatarTarget1$inboundSchema), + DeleteProjectAvatarTarget2$inboundSchema, + ]), + ), + type: DeleteProjectAvatarProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(DeleteProjectAvatarVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function deleteProjectAvatarEnvFromJSON( jsonString: string, @@ -3722,10 +3922,12 @@ export const DeleteProjectAvatarExpiration2$inboundSchema: z.ZodType< DeleteProjectAvatarExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function deleteProjectAvatarExpiration2FromJSON( jsonString: string, @@ -3742,9 +3944,11 @@ export const DeleteProjectAvatarExpiration1$inboundSchema: z.ZodType< DeleteProjectAvatarExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function deleteProjectAvatarExpiration1FromJSON( jsonString: string, @@ -3761,10 +3965,12 @@ export const DeleteProjectAvatarExpiration$inboundSchema: z.ZodType< DeleteProjectAvatarExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarExpiration2$inboundSchema), - z.lazy(() => DeleteProjectAvatarExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarExpiration2$inboundSchema), + z.lazy(() => DeleteProjectAvatarExpiration1$inboundSchema), + ]) +); export function deleteProjectAvatarExpirationFromJSON( jsonString: string, @@ -3781,9 +3987,11 @@ export const DeleteProjectAvatarFeatures$inboundSchema: z.ZodType< DeleteProjectAvatarFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarFeaturesFromJSON( jsonString: string, @@ -3798,17 +4006,21 @@ export function deleteProjectAvatarFeaturesFromJSON( /** @internal */ export const DeleteProjectAvatarFramework$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarFramework -> = z.nativeEnum(DeleteProjectAvatarFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarFramework) +); /** @internal */ export const DeleteProjectAvatarGitComments$inboundSchema: z.ZodType< DeleteProjectAvatarGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function deleteProjectAvatarGitCommentsFromJSON( jsonString: string, @@ -3826,10 +4038,12 @@ export const DeleteProjectAvatarConsolidatedGitCommitStatus$inboundSchema: DeleteProjectAvatarConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function deleteProjectAvatarConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3849,24 +4063,29 @@ export function deleteProjectAvatarConsolidatedGitCommitStatusFromJSON( /** @internal */ export const DeleteProjectAvatarCreateDeployments$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarCreateDeployments, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarCreateDeployments) + ); /** @internal */ export const DeleteProjectAvatarGitProviderOptions$inboundSchema: z.ZodType< DeleteProjectAvatarGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => DeleteProjectAvatarConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: DeleteProjectAvatarCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => + DeleteProjectAvatarConsolidatedGitCommitStatus$inboundSchema + ), + ), + createDeployments: DeleteProjectAvatarCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarGitProviderOptionsFromJSON( jsonString: string, @@ -3884,9 +4103,11 @@ export const DeleteProjectAvatarHasProjectsValue$inboundSchema: z.ZodType< DeleteProjectAvatarHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function deleteProjectAvatarHasProjectsValueFromJSON( jsonString: string, @@ -3904,10 +4125,12 @@ export const DeleteProjectAvatarHas2$inboundSchema: z.ZodType< DeleteProjectAvatarHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => DeleteProjectAvatarHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => DeleteProjectAvatarHasProjectsValue$inboundSchema), + }) +); export function deleteProjectAvatarHas2FromJSON( jsonString: string, @@ -3922,16 +4145,18 @@ export function deleteProjectAvatarHas2FromJSON( /** @internal */ export const DeleteProjectAvatarHasKey$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarHasKey -> = z.nativeEnum(DeleteProjectAvatarHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarHasKey)); /** @internal */ export const DeleteProjectAvatarHasValue$inboundSchema: z.ZodType< DeleteProjectAvatarHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function deleteProjectAvatarHasValueFromJSON( jsonString: string, @@ -3948,11 +4173,13 @@ export const DeleteProjectAvatarHas1$inboundSchema: z.ZodType< DeleteProjectAvatarHas1, z.ZodTypeDef, unknown -> = z.object({ - key: DeleteProjectAvatarHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => DeleteProjectAvatarHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: DeleteProjectAvatarHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => DeleteProjectAvatarHasValue$inboundSchema), + }) +); export function deleteProjectAvatarHas1FromJSON( jsonString: string, @@ -3969,10 +4196,12 @@ export const DeleteProjectAvatarInternalRoutesHas$inboundSchema: z.ZodType< DeleteProjectAvatarInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarHas1$inboundSchema), - z.lazy(() => DeleteProjectAvatarHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarHas1$inboundSchema), + z.lazy(() => DeleteProjectAvatarHas2$inboundSchema), + ]) +); export function deleteProjectAvatarInternalRoutesHasFromJSON( jsonString: string, @@ -3987,17 +4216,21 @@ export function deleteProjectAvatarInternalRoutesHasFromJSON( /** @internal */ export const DeleteProjectAvatarInternalRoutesAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarInternalRoutesAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarInternalRoutesAction) + ); /** @internal */ export const DeleteProjectAvatarInternalRoutesMitigate$inboundSchema: z.ZodType< DeleteProjectAvatarInternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: DeleteProjectAvatarInternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: DeleteProjectAvatarInternalRoutesAction$inboundSchema, + }) +); export function deleteProjectAvatarInternalRoutesMitigateFromJSON( jsonString: string, @@ -4020,18 +4253,18 @@ export const DeleteProjectAvatarInternalRoutes2$inboundSchema: z.ZodType< DeleteProjectAvatarInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => DeleteProjectAvatarHas1$inboundSchema), z.lazy(() => DeleteProjectAvatarHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - DeleteProjectAvatarInternalRoutesMitigate$inboundSchema - ), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + DeleteProjectAvatarInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function deleteProjectAvatarInternalRoutes2FromJSON( jsonString: string, @@ -4049,11 +4282,13 @@ export const DeleteProjectAvatarInternalRoutes1$inboundSchema: z.ZodType< DeleteProjectAvatarInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function deleteProjectAvatarInternalRoutes1FromJSON( jsonString: string, @@ -4071,10 +4306,12 @@ export const DeleteProjectAvatarInternalRoutes$inboundSchema: z.ZodType< DeleteProjectAvatarInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarInternalRoutes1$inboundSchema), - z.lazy(() => DeleteProjectAvatarInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarInternalRoutes1$inboundSchema), + z.lazy(() => DeleteProjectAvatarInternalRoutes2$inboundSchema), + ]) +); export function deleteProjectAvatarInternalRoutesFromJSON( jsonString: string, @@ -4091,11 +4328,13 @@ export const DeleteProjectAvatarIpBuckets$inboundSchema: z.ZodType< DeleteProjectAvatarIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function deleteProjectAvatarIpBucketsFromJSON( jsonString: string, @@ -4112,9 +4351,11 @@ export const DeleteProjectAvatarFlagDefinitionsPresent$inboundSchema: z.ZodType< DeleteProjectAvatarFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function deleteProjectAvatarFlagDefinitionsPresentFromJSON( jsonString: string, @@ -4137,9 +4378,11 @@ export const DeleteProjectAvatarHealthCheck$inboundSchema: z.ZodType< DeleteProjectAvatarHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function deleteProjectAvatarHealthCheckFromJSON( jsonString: string, @@ -4156,9 +4399,11 @@ export const DeleteProjectAvatarLint$inboundSchema: z.ZodType< DeleteProjectAvatarLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function deleteProjectAvatarLintFromJSON( jsonString: string, @@ -4175,9 +4420,11 @@ export const DeleteProjectAvatarMfeConfigPresent$inboundSchema: z.ZodType< DeleteProjectAvatarMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function deleteProjectAvatarMfeConfigPresentFromJSON( jsonString: string, @@ -4195,9 +4442,11 @@ export const DeleteProjectAvatarTypecheck$inboundSchema: z.ZodType< DeleteProjectAvatarTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function deleteProjectAvatarTypecheckFromJSON( jsonString: string, @@ -4214,27 +4463,29 @@ export const DeleteProjectAvatarJobs$inboundSchema: z.ZodType< DeleteProjectAvatarJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => DeleteProjectAvatarFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => DeleteProjectAvatarHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => DeleteProjectAvatarLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => DeleteProjectAvatarMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional( - z.lazy(() => DeleteProjectAvatarTypecheck$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => DeleteProjectAvatarFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => DeleteProjectAvatarHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => DeleteProjectAvatarLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => DeleteProjectAvatarMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => DeleteProjectAvatarTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function deleteProjectAvatarJobsFromJSON( jsonString: string, @@ -4249,26 +4500,32 @@ export function deleteProjectAvatarJobsFromJSON( /** @internal */ export const DeleteProjectAvatarJobStatus$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarJobStatus -> = z.nativeEnum(DeleteProjectAvatarJobStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarJobStatus) +); /** @internal */ export const DeleteProjectAvatarProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseType) + ); /** @internal */ export const DeleteProjectAvatarLastAliasRequest$inboundSchema: z.ZodType< DeleteProjectAvatarLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: DeleteProjectAvatarJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: DeleteProjectAvatarProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: DeleteProjectAvatarJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: DeleteProjectAvatarProjectsResponseType$inboundSchema, + }) +); export function deleteProjectAvatarLastAliasRequestFromJSON( jsonString: string, @@ -4286,7 +4543,7 @@ export const DeleteProjectAvatarLastRollbackTarget$inboundSchema: z.ZodType< DeleteProjectAvatarLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function deleteProjectAvatarLastRollbackTargetFromJSON( jsonString: string, @@ -4304,7 +4561,9 @@ export const DeleteProjectAvatarAliasAssigned$inboundSchema: z.ZodType< DeleteProjectAvatarAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function deleteProjectAvatarAliasAssignedFromJSON( jsonString: string, @@ -4321,10 +4580,12 @@ export const DeleteProjectAvatarAliasError$inboundSchema: z.ZodType< DeleteProjectAvatarAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function deleteProjectAvatarAliasErrorFromJSON( jsonString: string, @@ -4340,8 +4601,10 @@ export function deleteProjectAvatarAliasErrorFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -4349,11 +4612,13 @@ export const DeleteProjectAvatarProjectsBranchMatcher$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function deleteProjectAvatarProjectsBranchMatcherFromJSON( jsonString: string, @@ -4376,11 +4641,13 @@ export const DeleteProjectAvatarBuilds$inboundSchema: z.ZodType< DeleteProjectAvatarBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function deleteProjectAvatarBuildsFromJSON( jsonString: string, @@ -4395,4 +4662,6 @@ export function deleteProjectAvatarBuildsFromJSON( /** @internal */ export const DeleteProjectAvatarChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarChecksConclusion -> = z.nativeEnum(DeleteProjectAvatarChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarChecksConclusion) +); diff --git a/src/models/deleteprojectavatarresponsebody.ts b/src/models/deleteprojectavatarresponsebody.ts index ea8f0f6ff3..e393fc016d 100644 --- a/src/models/deleteprojectavatarresponsebody.ts +++ b/src/models/deleteprojectavatarresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -344,12 +344,14 @@ export const DeleteProjectAvatarToProjects1$inboundSchema: z.ZodType< DeleteProjectAvatarToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - DeleteProjectAvatarToProjectsResponsePreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + DeleteProjectAvatarToProjectsResponsePreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function deleteProjectAvatarToProjects1FromJSON( jsonString: string, @@ -366,10 +368,12 @@ export const DeleteProjectAvatarProjectsTo$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarToProjects1$inboundSchema), - DeleteProjectAvatarToProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarToProjects1$inboundSchema), + DeleteProjectAvatarToProjects2$inboundSchema, + ]) +); export function deleteProjectAvatarProjectsToFromJSON( jsonString: string, @@ -386,13 +390,15 @@ export const DeleteProjectAvatarCustomAllow$inboundSchema: z.ZodType< DeleteProjectAvatarCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: DeleteProjectAvatarFrom$inboundSchema, - to: smartUnion([ - z.lazy(() => DeleteProjectAvatarToProjects1$inboundSchema), - DeleteProjectAvatarToProjects2$inboundSchema, - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: DeleteProjectAvatarFrom$inboundSchema, + to: smartUnion([ + z.lazy(() => DeleteProjectAvatarToProjects1$inboundSchema), + DeleteProjectAvatarToProjects2$inboundSchema, + ]), + }) +); export function deleteProjectAvatarCustomAllowFromJSON( jsonString: string, @@ -409,12 +415,14 @@ export const DeleteProjectAvatarProjects$inboundSchema: z.ZodType< DeleteProjectAvatarProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => DeleteProjectAvatarCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => DeleteProjectAvatarCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function deleteProjectAvatarProjectsFromJSON( jsonString: string, @@ -431,15 +439,17 @@ export const DeleteProjectAvatarTrustedSources$inboundSchema: z.ZodType< DeleteProjectAvatarTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(DeleteProjectAvatarOidcProviders$inboundSchema)), - ), - projects: types.optional( - z.record(z.lazy(() => DeleteProjectAvatarProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(DeleteProjectAvatarOidcProviders$inboundSchema)), + ), + projects: types.optional( + z.record(z.lazy(() => DeleteProjectAvatarProjects$inboundSchema)), + ), + }) +); export function deleteProjectAvatarTrustedSourcesFromJSON( jsonString: string, @@ -454,20 +464,22 @@ export function deleteProjectAvatarTrustedSourcesFromJSON( /** @internal */ export const DeleteProjectAvatarKind$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarKind -> = z.nativeEnum(DeleteProjectAvatarKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarKind)); /** @internal */ export const DeleteProjectAvatarUsageStatus$inboundSchema: z.ZodType< DeleteProjectAvatarUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: DeleteProjectAvatarKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: DeleteProjectAvatarKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarUsageStatusFromJSON( jsonString: string, @@ -484,9 +496,11 @@ export const DeleteProjectAvatarVercelFlags$inboundSchema: z.ZodType< DeleteProjectAvatarVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarVercelFlagsFromJSON( jsonString: string, @@ -503,13 +517,15 @@ export const DeleteProjectAvatarWebAnalytics$inboundSchema: z.ZodType< DeleteProjectAvatarWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function deleteProjectAvatarWebAnalyticsFromJSON( jsonString: string, @@ -526,153 +542,161 @@ export const DeleteProjectAvatarResponseBody$inboundSchema: z.ZodType< DeleteProjectAvatarResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(DeleteProjectAvatarAlias$inboundSchema), - analytics: types.optional(DeleteProjectAvatarAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(DeleteProjectAvatarBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(DeleteProjectAvatarConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(DeleteProjectAvatarCreator$inboundSchema), - crons: types.optional(DeleteProjectAvatarCrons$inboundSchema), - customEnvironments: types.optional( - z.array(DeleteProjectAvatarCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(DeleteProjectAvatarDataCache$inboundSchema), - defaultResourceConfig: DeleteProjectAvatarDefaultResourceConfig$inboundSchema, - deploymentExpiration: DeleteProjectAvatarDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable( - DeleteProjectAvatarDeploymentPolicy$inboundSchema, - ).optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(DeleteProjectAvatarDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(DeleteProjectAvatarEnv$inboundSchema)), - expiration: types.optional(DeleteProjectAvatarExpiration$inboundSchema), - features: types.optional(DeleteProjectAvatarFeatures$inboundSchema), - framework: z.nullable(DeleteProjectAvatarFramework$inboundSchema).optional(), - gitComments: types.optional(DeleteProjectAvatarGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - DeleteProjectAvatarGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(DeleteProjectAvatarInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(DeleteProjectAvatarIpBuckets$inboundSchema), - ), - jobs: types.optional(DeleteProjectAvatarJobs$inboundSchema), - lastAliasRequest: z.nullable( - DeleteProjectAvatarLastAliasRequest$inboundSchema, - ).optional(), - lastRollbackTarget: z.nullable( - DeleteProjectAvatarLastRollbackTarget$inboundSchema, - ).optional(), - latestDeployments: types.optional( - z.array(DeleteProjectAvatarLatestDeployments$inboundSchema), - ), - link: types.optional(DeleteProjectAvatarLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional( - DeleteProjectAvatarMicrofrontends$inboundSchema, - ), - name: types.string(), - nodeVersion: DeleteProjectAvatarNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - DeleteProjectAvatarOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable( - DeleteProjectAvatarOptionsAllowlist$inboundSchema, - ).optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(DeleteProjectAvatarPassport$inboundSchema).optional(), - passwordProtection: z.nullable( - DeleteProjectAvatarPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(DeleteProjectAvatarPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(DeleteProjectAvatarProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional( - DeleteProjectAvatarProtectionConfig$inboundSchema, - ), - resourceConfig: DeleteProjectAvatarResourceConfig$inboundSchema, - rollbackDescription: types.optional( - DeleteProjectAvatarRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable(DeleteProjectAvatarRollingRelease$inboundSchema) - .optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(DeleteProjectAvatarSandbox$inboundSchema), - security: types.optional(DeleteProjectAvatarSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional(z.array(DeleteProjectAvatarServices$inboundSchema)), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional(DeleteProjectAvatarSpeedInsights$inboundSchema), - ssoProtection: z.nullable(DeleteProjectAvatarSsoProtection$inboundSchema) - .optional(), - staticIps: types.optional(DeleteProjectAvatarStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(DeleteProjectAvatarTargets$inboundSchema)), - ), - tier: types.optional(DeleteProjectAvatarTier$inboundSchema), - tracing: types.optional(DeleteProjectAvatarTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(DeleteProjectAvatarTrustedIps$inboundSchema) - .optional(), - trustedSources: z.nullable( - z.lazy(() => DeleteProjectAvatarTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => DeleteProjectAvatarUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => DeleteProjectAvatarVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => DeleteProjectAvatarWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(DeleteProjectAvatarAlias$inboundSchema), + analytics: types.optional(DeleteProjectAvatarAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(DeleteProjectAvatarBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(DeleteProjectAvatarConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(DeleteProjectAvatarCreator$inboundSchema), + crons: types.optional(DeleteProjectAvatarCrons$inboundSchema), + customEnvironments: types.optional( + z.array(DeleteProjectAvatarCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(DeleteProjectAvatarDataCache$inboundSchema), + defaultResourceConfig: + DeleteProjectAvatarDefaultResourceConfig$inboundSchema, + deploymentExpiration: DeleteProjectAvatarDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable( + DeleteProjectAvatarDeploymentPolicy$inboundSchema, + ).optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(DeleteProjectAvatarDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(DeleteProjectAvatarEnv$inboundSchema)), + expiration: types.optional(DeleteProjectAvatarExpiration$inboundSchema), + features: types.optional(DeleteProjectAvatarFeatures$inboundSchema), + framework: z.nullable(DeleteProjectAvatarFramework$inboundSchema) + .optional(), + gitComments: types.optional(DeleteProjectAvatarGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + DeleteProjectAvatarGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(DeleteProjectAvatarInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(DeleteProjectAvatarIpBuckets$inboundSchema), + ), + jobs: types.optional(DeleteProjectAvatarJobs$inboundSchema), + lastAliasRequest: z.nullable( + DeleteProjectAvatarLastAliasRequest$inboundSchema, + ).optional(), + lastRollbackTarget: z.nullable( + DeleteProjectAvatarLastRollbackTarget$inboundSchema, + ).optional(), + latestDeployments: types.optional( + z.array(DeleteProjectAvatarLatestDeployments$inboundSchema), + ), + link: types.optional(DeleteProjectAvatarLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional( + DeleteProjectAvatarMicrofrontends$inboundSchema, + ), + name: types.string(), + nodeVersion: DeleteProjectAvatarNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + DeleteProjectAvatarOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable( + DeleteProjectAvatarOptionsAllowlist$inboundSchema, + ).optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(DeleteProjectAvatarPassport$inboundSchema).optional(), + passwordProtection: z.nullable( + DeleteProjectAvatarPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(DeleteProjectAvatarPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(DeleteProjectAvatarProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + DeleteProjectAvatarProtectionConfig$inboundSchema, + ), + resourceConfig: DeleteProjectAvatarResourceConfig$inboundSchema, + rollbackDescription: types.optional( + DeleteProjectAvatarRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable(DeleteProjectAvatarRollingRelease$inboundSchema) + .optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(DeleteProjectAvatarSandbox$inboundSchema), + security: types.optional(DeleteProjectAvatarSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(DeleteProjectAvatarServices$inboundSchema), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + DeleteProjectAvatarSpeedInsights$inboundSchema, + ), + ssoProtection: z.nullable(DeleteProjectAvatarSsoProtection$inboundSchema) + .optional(), + staticIps: types.optional(DeleteProjectAvatarStaticIps$inboundSchema), + targets: types.optional( + z.record(types.nullable(DeleteProjectAvatarTargets$inboundSchema)), + ), + tier: types.optional(DeleteProjectAvatarTier$inboundSchema), + tracing: types.optional(DeleteProjectAvatarTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(DeleteProjectAvatarTrustedIps$inboundSchema) + .optional(), + trustedSources: z.nullable( + z.lazy(() => DeleteProjectAvatarTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => DeleteProjectAvatarUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => DeleteProjectAvatarVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => DeleteProjectAvatarWebAnalytics$inboundSchema), + ), + }) +); export function deleteProjectAvatarResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteprojectavatartoprojectsresponsepreset.ts b/src/models/deleteprojectavatartoprojectsresponsepreset.ts index 8b4ebefc8c..201d27a14a 100644 --- a/src/models/deleteprojectavatartoprojectsresponsepreset.ts +++ b/src/models/deleteprojectavatartoprojectsresponsepreset.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2906,20 +2906,24 @@ export type DeleteProjectAvatarToProjectsResponsePreset = ClosedEnum< /** @internal */ export const DeleteProjectAvatarChecksState$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarChecksState -> = z.nativeEnum(DeleteProjectAvatarChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarChecksState) +); /** @internal */ export const DeleteProjectAvatarProjectsCreator$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function deleteProjectAvatarProjectsCreatorFromJSON( jsonString: string, @@ -2937,29 +2941,31 @@ export const DeleteProjectAvatarOidcTokenClaims$inboundSchema: z.ZodType< DeleteProjectAvatarOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function deleteProjectAvatarOidcTokenClaimsFromJSON( jsonString: string, @@ -2975,76 +2981,86 @@ export function deleteProjectAvatarOidcTokenClaimsFromJSON( /** @internal */ export const DeleteProjectAvatarPlan$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarPlan -> = z.nativeEnum(DeleteProjectAvatarPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarPlan)); /** @internal */ export const DeleteProjectAvatarReadyState$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarReadyState -> = z.nativeEnum(DeleteProjectAvatarReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarReadyState) +); /** @internal */ export const DeleteProjectAvatarReadySubstate$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarReadySubstate -> = z.nativeEnum(DeleteProjectAvatarReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarReadySubstate) +); /** @internal */ export const DeleteProjectAvatarProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponse200Type) + ); /** @internal */ export const DeleteProjectAvatarLatestDeployments$inboundSchema: z.ZodType< DeleteProjectAvatarLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(DeleteProjectAvatarAliasAssigned$inboundSchema) - .optional(), - aliasError: z.nullable(DeleteProjectAvatarAliasError$inboundSchema) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - DeleteProjectAvatarProjectsBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(DeleteProjectAvatarBuilds$inboundSchema)), - checksConclusion: types.optional( - DeleteProjectAvatarChecksConclusion$inboundSchema, - ), - checksState: types.optional(DeleteProjectAvatarChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => DeleteProjectAvatarProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => DeleteProjectAvatarOidcTokenClaims$inboundSchema), - ), - plan: DeleteProjectAvatarPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: DeleteProjectAvatarReadyState$inboundSchema, - readySubstate: types.optional(DeleteProjectAvatarReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: DeleteProjectAvatarProjectsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(DeleteProjectAvatarAliasAssigned$inboundSchema) + .optional(), + aliasError: z.nullable(DeleteProjectAvatarAliasError$inboundSchema) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + DeleteProjectAvatarProjectsBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(DeleteProjectAvatarBuilds$inboundSchema)), + checksConclusion: types.optional( + DeleteProjectAvatarChecksConclusion$inboundSchema, + ), + checksState: types.optional(DeleteProjectAvatarChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => DeleteProjectAvatarProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => DeleteProjectAvatarOidcTokenClaims$inboundSchema), + ), + plan: DeleteProjectAvatarPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: DeleteProjectAvatarReadyState$inboundSchema, + readySubstate: types.optional( + DeleteProjectAvatarReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: DeleteProjectAvatarProjectsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarLatestDeploymentsFromJSON( jsonString: string, @@ -3063,13 +3079,15 @@ export const DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON( jsonString: string, @@ -3091,23 +3109,23 @@ export const DeleteProjectAvatarLink8$inboundSchema: z.ZodType< DeleteProjectAvatarLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink8FromJSON( jsonString: string, @@ -3125,13 +3143,15 @@ export const DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON( jsonString: string, @@ -3153,22 +3173,22 @@ export const DeleteProjectAvatarLink7$inboundSchema: z.ZodType< DeleteProjectAvatarLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink7FromJSON( jsonString: string, @@ -3186,13 +3206,15 @@ export const DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3214,22 +3236,22 @@ export const DeleteProjectAvatarLink6$inboundSchema: z.ZodType< DeleteProjectAvatarLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink6FromJSON( jsonString: string, @@ -3247,13 +3269,15 @@ export const DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHook DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3275,24 +3299,24 @@ export const DeleteProjectAvatarLink5$inboundSchema: z.ZodType< DeleteProjectAvatarLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function deleteProjectAvatarLink5FromJSON( jsonString: string, @@ -3310,13 +3334,15 @@ export const DeleteProjectAvatarLinkProjectsResponse200DeployHooks$inboundSchema DeleteProjectAvatarLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -3339,25 +3365,25 @@ export const DeleteProjectAvatarLink4$inboundSchema: z.ZodType< DeleteProjectAvatarLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponse200DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink4FromJSON( jsonString: string, @@ -3375,13 +3401,15 @@ export const DeleteProjectAvatarLinkProjectsResponseDeployHooks$inboundSchema: DeleteProjectAvatarLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -3404,24 +3432,24 @@ export const DeleteProjectAvatarLink3$inboundSchema: z.ZodType< DeleteProjectAvatarLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => DeleteProjectAvatarLinkProjectsResponseDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink3FromJSON( jsonString: string, @@ -3436,13 +3464,15 @@ export function deleteProjectAvatarLink3FromJSON( /** @internal */ export const DeleteProjectAvatarLinkProjectsDeployHooks$inboundSchema: z.ZodType = - z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function deleteProjectAvatarLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -3465,21 +3495,23 @@ export const DeleteProjectAvatarLink2$inboundSchema: z.ZodType< DeleteProjectAvatarLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => DeleteProjectAvatarLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => DeleteProjectAvatarLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink2FromJSON( jsonString: string, @@ -3496,13 +3528,15 @@ export const DeleteProjectAvatarLinkDeployHooks$inboundSchema: z.ZodType< DeleteProjectAvatarLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function deleteProjectAvatarLinkDeployHooksFromJSON( jsonString: string, @@ -3520,21 +3554,23 @@ export const DeleteProjectAvatarLink1$inboundSchema: z.ZodType< DeleteProjectAvatarLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => DeleteProjectAvatarLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => DeleteProjectAvatarLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarLink1FromJSON( jsonString: string, @@ -3551,16 +3587,18 @@ export const DeleteProjectAvatarLink$inboundSchema: z.ZodType< DeleteProjectAvatarLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarLink1$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink2$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink3$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink4$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink5$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink6$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink7$inboundSchema), - z.lazy(() => DeleteProjectAvatarLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarLink1$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink2$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink3$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink4$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink5$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink6$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink7$inboundSchema), + z.lazy(() => DeleteProjectAvatarLink8$inboundSchema), + ]) +); export function deleteProjectAvatarLinkFromJSON( jsonString: string, @@ -3577,12 +3615,14 @@ export const DeleteProjectAvatarMicrofrontends3$inboundSchema: z.ZodType< DeleteProjectAvatarMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function deleteProjectAvatarMicrofrontends3FromJSON( jsonString: string, @@ -3600,16 +3640,18 @@ export const DeleteProjectAvatarMicrofrontends2$inboundSchema: z.ZodType< DeleteProjectAvatarMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function deleteProjectAvatarMicrofrontends2FromJSON( jsonString: string, @@ -3627,14 +3669,16 @@ export const DeleteProjectAvatarMicrofrontends1$inboundSchema: z.ZodType< DeleteProjectAvatarMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function deleteProjectAvatarMicrofrontends1FromJSON( jsonString: string, @@ -3652,11 +3696,13 @@ export const DeleteProjectAvatarMicrofrontends$inboundSchema: z.ZodType< DeleteProjectAvatarMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarMicrofrontends1$inboundSchema), - z.lazy(() => DeleteProjectAvatarMicrofrontends2$inboundSchema), - z.lazy(() => DeleteProjectAvatarMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarMicrofrontends1$inboundSchema), + z.lazy(() => DeleteProjectAvatarMicrofrontends2$inboundSchema), + z.lazy(() => DeleteProjectAvatarMicrofrontends3$inboundSchema), + ]) +); export function deleteProjectAvatarMicrofrontendsFromJSON( jsonString: string, @@ -3671,22 +3717,28 @@ export function deleteProjectAvatarMicrofrontendsFromJSON( /** @internal */ export const DeleteProjectAvatarNodeVersion$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarNodeVersion -> = z.nativeEnum(DeleteProjectAvatarNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarNodeVersion) +); /** @internal */ export const DeleteProjectAvatarIssuerMode$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarIssuerMode -> = z.nativeEnum(DeleteProjectAvatarIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarIssuerMode) +); /** @internal */ export const DeleteProjectAvatarOidcTokenConfig$inboundSchema: z.ZodType< DeleteProjectAvatarOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(DeleteProjectAvatarIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(DeleteProjectAvatarIssuerMode$inboundSchema), + }) +); export function deleteProjectAvatarOidcTokenConfigFromJSON( jsonString: string, @@ -3704,9 +3756,11 @@ export const DeleteProjectAvatarPaths$inboundSchema: z.ZodType< DeleteProjectAvatarPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function deleteProjectAvatarPathsFromJSON( jsonString: string, @@ -3723,9 +3777,11 @@ export const DeleteProjectAvatarOptionsAllowlist$inboundSchema: z.ZodType< DeleteProjectAvatarOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => DeleteProjectAvatarPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => DeleteProjectAvatarPaths$inboundSchema)), + }) +); export function deleteProjectAvatarOptionsAllowlistFromJSON( jsonString: string, @@ -3741,17 +3797,21 @@ export function deleteProjectAvatarOptionsAllowlistFromJSON( /** @internal */ export const DeleteProjectAvatarDeploymentType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarDeploymentType -> = z.nativeEnum(DeleteProjectAvatarDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarDeploymentType) +); /** @internal */ export const DeleteProjectAvatarPassport$inboundSchema: z.ZodType< DeleteProjectAvatarPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: DeleteProjectAvatarDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: DeleteProjectAvatarDeploymentType$inboundSchema, + }) +); export function deleteProjectAvatarPassportFromJSON( jsonString: string, @@ -3765,17 +3825,21 @@ export function deleteProjectAvatarPassportFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsDeploymentType) + ); /** @internal */ export const DeleteProjectAvatarPasswordProtection$inboundSchema: z.ZodType< DeleteProjectAvatarPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: DeleteProjectAvatarProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: DeleteProjectAvatarProjectsDeploymentType$inboundSchema, + }) +); export function deleteProjectAvatarPasswordProtectionFromJSON( jsonString: string, @@ -3793,376 +3857,402 @@ export const DeleteProjectAvatarPermissions$inboundSchema: z.ZodType< DeleteProjectAvatarPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function deleteProjectAvatarPermissionsFromJSON( jsonString: string, @@ -4179,13 +4269,15 @@ export const DeleteProjectAvatarProtectionBypass2$inboundSchema: z.ZodType< DeleteProjectAvatarProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function deleteProjectAvatarProtectionBypass2FromJSON( jsonString: string, @@ -4203,13 +4295,15 @@ export const DeleteProjectAvatarProtectionBypass1$inboundSchema: z.ZodType< DeleteProjectAvatarProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function deleteProjectAvatarProtectionBypass1FromJSON( jsonString: string, @@ -4227,10 +4321,12 @@ export const DeleteProjectAvatarProtectionBypass$inboundSchema: z.ZodType< DeleteProjectAvatarProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarProtectionBypass1$inboundSchema), - z.lazy(() => DeleteProjectAvatarProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarProtectionBypass1$inboundSchema), + z.lazy(() => DeleteProjectAvatarProtectionBypass2$inboundSchema), + ]) +); export function deleteProjectAvatarProtectionBypassFromJSON( jsonString: string, @@ -4248,9 +4344,11 @@ export const DeleteProjectAvatarSandboxUrls$inboundSchema: z.ZodType< DeleteProjectAvatarSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarSandboxUrlsFromJSON( jsonString: string, @@ -4267,11 +4365,13 @@ export const DeleteProjectAvatarProtectionConfig$inboundSchema: z.ZodType< DeleteProjectAvatarProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => DeleteProjectAvatarSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => DeleteProjectAvatarSandboxUrls$inboundSchema), + ), + }) +); export function deleteProjectAvatarProtectionConfigFromJSON( jsonString: string, @@ -4287,13 +4387,16 @@ export function deleteProjectAvatarProtectionConfigFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DeleteProjectAvatarProjectsBuildMachineElasticReason); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsBuildMachineElasticReason) + ); /** @internal */ export const DeleteProjectAvatarProjectsDirection$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarProjectsDirection, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsDirection) + ); /** @internal */ export const DeleteProjectAvatarProjectsBuildMachineElasticTransition$inboundSchema: @@ -4301,11 +4404,13 @@ export const DeleteProjectAvatarProjectsBuildMachineElasticTransition$inboundSch DeleteProjectAvatarProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: DeleteProjectAvatarProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: DeleteProjectAvatarProjectsDirection$inboundSchema, + }) + ); export function deleteProjectAvatarProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4324,29 +4429,37 @@ export function deleteProjectAvatarProjectsBuildMachineElasticTransitionFromJSON /** @internal */ export const DeleteProjectAvatarProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsBuildMachineSelection) + ); /** @internal */ export const DeleteProjectAvatarProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsBuildMachineType) + ); /** @internal */ export const DeleteProjectAvatarProjectsConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsConfiguration) + ); /** @internal */ export const DeleteProjectAvatarProjectsBuildQueue$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - DeleteProjectAvatarProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + DeleteProjectAvatarProjectsConfiguration$inboundSchema, + ), + }) +); export function deleteProjectAvatarProjectsBuildQueueFromJSON( jsonString: string, @@ -4362,7 +4475,9 @@ export function deleteProjectAvatarProjectsBuildQueueFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DeleteProjectAvatarProjectsFunctionDefaultMemoryType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const DeleteProjectAvatarElasticBuildMachineProjects4$inboundSchema: @@ -4370,11 +4485,13 @@ export const DeleteProjectAvatarElasticBuildMachineProjects4$inboundSchema: DeleteProjectAvatarElasticBuildMachineProjects4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function deleteProjectAvatarElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -4398,11 +4515,13 @@ export const DeleteProjectAvatarElasticBuildMachineProjects3$inboundSchema: DeleteProjectAvatarElasticBuildMachineProjects3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function deleteProjectAvatarElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -4426,11 +4545,13 @@ export const DeleteProjectAvatarElasticBuildMachineProjects2$inboundSchema: DeleteProjectAvatarElasticBuildMachineProjects2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function deleteProjectAvatarElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -4454,11 +4575,13 @@ export const DeleteProjectAvatarElasticBuildMachineProjects1$inboundSchema: DeleteProjectAvatarElasticBuildMachineProjects1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function deleteProjectAvatarElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -4482,12 +4605,22 @@ export const DeleteProjectAvatarProjectsElasticBuildMachine$inboundSchema: DeleteProjectAvatarProjectsElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects4$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + DeleteProjectAvatarElasticBuildMachineProjects1$inboundSchema + ), + z.lazy(() => + DeleteProjectAvatarElasticBuildMachineProjects2$inboundSchema + ), + z.lazy(() => + DeleteProjectAvatarElasticBuildMachineProjects3$inboundSchema + ), + z.lazy(() => + DeleteProjectAvatarElasticBuildMachineProjects4$inboundSchema + ), + ]) + ); export function deleteProjectAvatarProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -4510,37 +4643,35 @@ export const DeleteProjectAvatarResourceConfig$inboundSchema: z.ZodType< DeleteProjectAvatarResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - DeleteProjectAvatarProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + DeleteProjectAvatarProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => DeleteProjectAvatarProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + DeleteProjectAvatarProjectsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - DeleteProjectAvatarProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - DeleteProjectAvatarProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => DeleteProjectAvatarProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - DeleteProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + DeleteProjectAvatarProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + DeleteProjectAvatarProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + DeleteProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects1$inboundSchema ), @@ -4553,9 +4684,9 @@ export const DeleteProjectAvatarResourceConfig$inboundSchema: z.ZodType< z.lazy(() => DeleteProjectAvatarElasticBuildMachineProjects4$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function deleteProjectAvatarResourceConfigFromJSON( jsonString: string, @@ -4572,9 +4703,11 @@ export const DeleteProjectAvatarPrincipal5$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function deleteProjectAvatarPrincipal5FromJSON( jsonString: string, @@ -4591,10 +4724,12 @@ export const DeleteProjectAvatarPrincipalIntegration$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function deleteProjectAvatarPrincipalIntegrationFromJSON( jsonString: string, @@ -4617,12 +4752,14 @@ export const DeleteProjectAvatarPrincipal4$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - DeleteProjectAvatarPrincipalIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + DeleteProjectAvatarPrincipalIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function deleteProjectAvatarPrincipal4FromJSON( jsonString: string, @@ -4639,10 +4776,12 @@ export const DeleteProjectAvatarPrincipalApp$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function deleteProjectAvatarPrincipalAppFromJSON( jsonString: string, @@ -4659,10 +4798,12 @@ export const DeleteProjectAvatarPrincipal3$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => DeleteProjectAvatarPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => DeleteProjectAvatarPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function deleteProjectAvatarPrincipal3FromJSON( jsonString: string, @@ -4679,9 +4820,11 @@ export const DeleteProjectAvatarPrincipalProject$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteProjectAvatarPrincipalProjectFromJSON( jsonString: string, @@ -4699,10 +4842,12 @@ export const DeleteProjectAvatarPrincipal2$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => DeleteProjectAvatarPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => DeleteProjectAvatarPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function deleteProjectAvatarPrincipal2FromJSON( jsonString: string, @@ -4719,10 +4864,12 @@ export const DeleteProjectAvatarViaProjectsIntegration$inboundSchema: z.ZodType< DeleteProjectAvatarViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function deleteProjectAvatarViaProjectsIntegrationFromJSON( jsonString: string, @@ -4745,12 +4892,14 @@ export const DeleteProjectAvatarViaProjects2$inboundSchema: z.ZodType< DeleteProjectAvatarViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - DeleteProjectAvatarViaProjectsIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + DeleteProjectAvatarViaProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function deleteProjectAvatarViaProjects2FromJSON( jsonString: string, @@ -4767,10 +4916,12 @@ export const DeleteProjectAvatarViaProjectsApp$inboundSchema: z.ZodType< DeleteProjectAvatarViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function deleteProjectAvatarViaProjectsAppFromJSON( jsonString: string, @@ -4787,10 +4938,12 @@ export const DeleteProjectAvatarViaProjects1$inboundSchema: z.ZodType< DeleteProjectAvatarViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => DeleteProjectAvatarViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => DeleteProjectAvatarViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function deleteProjectAvatarViaProjects1FromJSON( jsonString: string, @@ -4807,10 +4960,12 @@ export const DeleteProjectAvatarPrincipalVia$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarViaProjects1$inboundSchema), - z.lazy(() => DeleteProjectAvatarViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarViaProjects1$inboundSchema), + z.lazy(() => DeleteProjectAvatarViaProjects2$inboundSchema), + ]) +); export function deleteProjectAvatarPrincipalViaFromJSON( jsonString: string, @@ -4827,9 +4982,11 @@ export const DeleteProjectAvatarPrincipalUser$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteProjectAvatarPrincipalUserFromJSON( jsonString: string, @@ -4846,16 +5003,18 @@ export const DeleteProjectAvatarPrincipal1$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => DeleteProjectAvatarViaProjects1$inboundSchema), z.lazy(() => DeleteProjectAvatarViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => DeleteProjectAvatarPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + DeleteProjectAvatarPrincipalUser$inboundSchema + ), + }) +); export function deleteProjectAvatarPrincipal1FromJSON( jsonString: string, @@ -4872,13 +5031,15 @@ export const DeleteProjectAvatarPrincipal$inboundSchema: z.ZodType< DeleteProjectAvatarPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => DeleteProjectAvatarPrincipal1$inboundSchema), - z.lazy(() => DeleteProjectAvatarPrincipal2$inboundSchema), - z.lazy(() => DeleteProjectAvatarPrincipal3$inboundSchema), - z.lazy(() => DeleteProjectAvatarPrincipal4$inboundSchema), - z.lazy(() => DeleteProjectAvatarPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => DeleteProjectAvatarPrincipal1$inboundSchema), + z.lazy(() => DeleteProjectAvatarPrincipal2$inboundSchema), + z.lazy(() => DeleteProjectAvatarPrincipal3$inboundSchema), + z.lazy(() => DeleteProjectAvatarPrincipal4$inboundSchema), + z.lazy(() => DeleteProjectAvatarPrincipal5$inboundSchema), + ]) +); export function deleteProjectAvatarPrincipalFromJSON( jsonString: string, @@ -4895,21 +5056,21 @@ export const DeleteProjectAvatarRollbackDescription$inboundSchema: z.ZodType< DeleteProjectAvatarRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => DeleteProjectAvatarPrincipal1$inboundSchema), z.lazy(() => DeleteProjectAvatarPrincipal2$inboundSchema), z.lazy(() => DeleteProjectAvatarPrincipal3$inboundSchema), z.lazy(() => DeleteProjectAvatarPrincipal4$inboundSchema), z.lazy(() => DeleteProjectAvatarPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function deleteProjectAvatarRollbackDescriptionFromJSON( jsonString: string, @@ -4927,12 +5088,14 @@ export const DeleteProjectAvatarStages$inboundSchema: z.ZodType< DeleteProjectAvatarStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function deleteProjectAvatarStagesFromJSON( jsonString: string, @@ -4949,13 +5112,15 @@ export const DeleteProjectAvatarRollingRelease$inboundSchema: z.ZodType< DeleteProjectAvatarRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => DeleteProjectAvatarStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => DeleteProjectAvatarStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function deleteProjectAvatarRollingReleaseFromJSON( jsonString: string, @@ -4970,24 +5135,28 @@ export function deleteProjectAvatarRollingReleaseFromJSON( /** @internal */ export const DeleteProjectAvatarFailoverRegions$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarFailoverRegions -> = z.nativeEnum(DeleteProjectAvatarFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarFailoverRegions) +); /** @internal */ export const DeleteProjectAvatarRegion$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarRegion -> = z.nativeEnum(DeleteProjectAvatarRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarRegion)); /** @internal */ export const DeleteProjectAvatarSandbox$inboundSchema: z.ZodType< DeleteProjectAvatarSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(DeleteProjectAvatarFailoverRegions$inboundSchema), - ), - region: types.optional(DeleteProjectAvatarRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(DeleteProjectAvatarFailoverRegions$inboundSchema), + ), + region: types.optional(DeleteProjectAvatarRegion$inboundSchema), + }) +); export function deleteProjectAvatarSandboxFromJSON( jsonString: string, @@ -5002,17 +5171,21 @@ export function deleteProjectAvatarSandboxFromJSON( /** @internal */ export const DeleteProjectAvatarLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarLogHeaders2 -> = z.nativeEnum(DeleteProjectAvatarLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarLogHeaders2) +); /** @internal */ export const DeleteProjectAvatarLogHeaders$inboundSchema: z.ZodType< DeleteProjectAvatarLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - DeleteProjectAvatarLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + DeleteProjectAvatarLogHeaders2$inboundSchema, + ]) +); export function deleteProjectAvatarLogHeadersFromJSON( jsonString: string, @@ -5028,8 +5201,10 @@ export function deleteProjectAvatarLogHeadersFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -5037,12 +5212,14 @@ export const DeleteProjectAvatarAiBots$inboundSchema: z.ZodType< DeleteProjectAvatarAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function deleteProjectAvatarAiBotsFromJSON( jsonString: string, @@ -5056,20 +5233,24 @@ export function deleteProjectAvatarAiBotsFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseAction) + ); /** @internal */ export const DeleteProjectAvatarBotFilter$inboundSchema: z.ZodType< DeleteProjectAvatarBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - DeleteProjectAvatarProjectsResponseAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + DeleteProjectAvatarProjectsResponseAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function deleteProjectAvatarBotFilterFromJSON( jsonString: string, @@ -5083,20 +5264,24 @@ export function deleteProjectAvatarBotFilterFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponse200Action) + ); /** @internal */ export const DeleteProjectAvatarOwasp$inboundSchema: z.ZodType< DeleteProjectAvatarOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - DeleteProjectAvatarProjectsResponse200Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + DeleteProjectAvatarProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function deleteProjectAvatarOwaspFromJSON( jsonString: string, @@ -5112,19 +5297,23 @@ export function deleteProjectAvatarOwaspFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONAction - > = z.nativeEnum(DeleteProjectAvatarProjectsResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponse200ApplicationJSONAction) + ); /** @internal */ export const DeleteProjectAvatarTrafficSources$inboundSchema: z.ZodType< DeleteProjectAvatarTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - DeleteProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + DeleteProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function deleteProjectAvatarTrafficSourcesFromJSON( jsonString: string, @@ -5140,8 +5329,10 @@ export function deleteProjectAvatarTrafficSourcesFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -5149,12 +5340,14 @@ export const DeleteProjectAvatarVercelRuleset$inboundSchema: z.ZodType< DeleteProjectAvatarVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function deleteProjectAvatarVercelRulesetFromJSON( jsonString: string, @@ -5171,22 +5364,26 @@ export const DeleteProjectAvatarManagedRules$inboundSchema: z.ZodType< DeleteProjectAvatarManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => DeleteProjectAvatarAiBots$inboundSchema), - bot_filter: z.lazy(() => DeleteProjectAvatarBotFilter$inboundSchema), - owasp: z.lazy(() => DeleteProjectAvatarOwasp$inboundSchema), - traffic_sources: z.lazy(() => - DeleteProjectAvatarTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => DeleteProjectAvatarVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => DeleteProjectAvatarAiBots$inboundSchema), + bot_filter: z.lazy(() => DeleteProjectAvatarBotFilter$inboundSchema), + owasp: z.lazy(() => DeleteProjectAvatarOwasp$inboundSchema), + traffic_sources: z.lazy(() => + DeleteProjectAvatarTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + DeleteProjectAvatarVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function deleteProjectAvatarManagedRulesFromJSON( jsonString: string, @@ -5201,23 +5398,28 @@ export function deleteProjectAvatarManagedRulesFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsAction -> = z.nativeEnum(DeleteProjectAvatarProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsAction) +); /** @internal */ export const DeleteProjectAvatarLogHeadersProjects2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarLogHeadersProjects2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarLogHeadersProjects2) + ); /** @internal */ export const DeleteProjectAvatarProjectsLogHeaders$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - DeleteProjectAvatarLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + DeleteProjectAvatarLogHeadersProjects2$inboundSchema, + ]) +); export function deleteProjectAvatarProjectsLogHeadersFromJSON( jsonString: string, @@ -5234,29 +5436,33 @@ export function deleteProjectAvatarProjectsLogHeadersFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const DeleteProjectAvatarAlgo$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarAlgo -> = z.nativeEnum(DeleteProjectAvatarAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarAlgo)); /** @internal */ export const DeleteProjectAvatarRateLimit$inboundSchema: z.ZodType< DeleteProjectAvatarRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: DeleteProjectAvatarAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: DeleteProjectAvatarAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function deleteProjectAvatarRateLimitFromJSON( jsonString: string, @@ -5273,10 +5479,12 @@ export const DeleteProjectAvatarRedirect$inboundSchema: z.ZodType< DeleteProjectAvatarRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function deleteProjectAvatarRedirectFromJSON( jsonString: string, @@ -5293,22 +5501,25 @@ export const DeleteProjectAvatarRulesets$inboundSchema: z.ZodType< DeleteProjectAvatarRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: DeleteProjectAvatarProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - DeleteProjectAvatarLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => DeleteProjectAvatarRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable(z.lazy(() => DeleteProjectAvatarRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: DeleteProjectAvatarProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + DeleteProjectAvatarLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => DeleteProjectAvatarRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => DeleteProjectAvatarRedirect$inboundSchema), + ).optional(), + }) +); export function deleteProjectAvatarRulesetsFromJSON( jsonString: string, @@ -5325,36 +5536,38 @@ export const DeleteProjectAvatarSecurity$inboundSchema: z.ZodType< DeleteProjectAvatarSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - DeleteProjectAvatarLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => DeleteProjectAvatarManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => DeleteProjectAvatarRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + DeleteProjectAvatarLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => DeleteProjectAvatarManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => DeleteProjectAvatarRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function deleteProjectAvatarSecurityFromJSON( jsonString: string, @@ -5368,26 +5581,33 @@ export function deleteProjectAvatarSecurityFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarProjectsFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsFramework) + ); /** @internal */ export const DeleteProjectAvatarServiceType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarServiceType -> = z.nativeEnum(DeleteProjectAvatarServiceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarServiceType) +); /** @internal */ export const DeleteProjectAvatarServices$inboundSchema: z.ZodType< DeleteProjectAvatarServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional(DeleteProjectAvatarProjectsFramework$inboundSchema), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(DeleteProjectAvatarServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + DeleteProjectAvatarProjectsFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(DeleteProjectAvatarServiceType$inboundSchema), + }) +); export function deleteProjectAvatarServicesFromJSON( jsonString: string, @@ -5404,15 +5624,17 @@ export const DeleteProjectAvatarSpeedInsights$inboundSchema: z.ZodType< DeleteProjectAvatarSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function deleteProjectAvatarSpeedInsightsFromJSON( jsonString: string, @@ -5428,35 +5650,43 @@ export function deleteProjectAvatarSpeedInsightsFromJSON( export const DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const DeleteProjectAvatarCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarCve55182MigrationAppliedFrom) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponseDeploymentType) + ); /** @internal */ export const DeleteProjectAvatarSsoProtection$inboundSchema: z.ZodType< DeleteProjectAvatarSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - DeleteProjectAvatarCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - DeleteProjectAvatarProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + DeleteProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + DeleteProjectAvatarCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + DeleteProjectAvatarProjectsResponseDeploymentType$inboundSchema, + }) +); export function deleteProjectAvatarSsoProtectionFromJSON( jsonString: string, @@ -5473,11 +5703,13 @@ export const DeleteProjectAvatarStaticIps$inboundSchema: z.ZodType< DeleteProjectAvatarStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function deleteProjectAvatarStaticIpsFromJSON( jsonString: string, @@ -5494,7 +5726,9 @@ export const DeleteProjectAvatarProjectsAliasAssigned$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function deleteProjectAvatarProjectsAliasAssignedFromJSON( jsonString: string, @@ -5517,10 +5751,12 @@ export const DeleteProjectAvatarProjectsAliasError$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function deleteProjectAvatarProjectsAliasErrorFromJSON( jsonString: string, @@ -5537,8 +5773,10 @@ export function deleteProjectAvatarProjectsAliasErrorFromJSON( export const DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); /** @internal */ @@ -5547,11 +5785,13 @@ export const DeleteProjectAvatarProjectsResponseBranchMatcher$inboundSchema: DeleteProjectAvatarProjectsResponseBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + }) + ); export function deleteProjectAvatarProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -5574,11 +5814,13 @@ export const DeleteProjectAvatarProjectsBuilds$inboundSchema: z.ZodType< DeleteProjectAvatarProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function deleteProjectAvatarProjectsBuildsFromJSON( jsonString: string, @@ -5592,25 +5834,30 @@ export function deleteProjectAvatarProjectsBuildsFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsChecksConclusion) + ); /** @internal */ export const DeleteProjectAvatarProjectsChecksState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarProjectsChecksState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsChecksState) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponseCreator$inboundSchema: z.ZodType = - z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function deleteProjectAvatarProjectsResponseCreatorFromJSON( jsonString: string, @@ -5631,29 +5878,31 @@ export function deleteProjectAvatarProjectsResponseCreatorFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsOidcTokenClaims$inboundSchema: z.ZodType = - z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function deleteProjectAvatarProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -5674,87 +5923,95 @@ export function deleteProjectAvatarProjectsOidcTokenClaimsFromJSON( /** @internal */ export const DeleteProjectAvatarProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsPlan -> = z.nativeEnum(DeleteProjectAvatarProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsPlan) +); /** @internal */ export const DeleteProjectAvatarProjectsReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarProjectsReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsReadyState) + ); /** @internal */ export const DeleteProjectAvatarProjectsReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarProjectsReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsReadySubstate) + ); /** @internal */ export const DeleteProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsResponse200ApplicationJSONType - > = z.nativeEnum(DeleteProjectAvatarProjectsResponse200ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const DeleteProjectAvatarTargets$inboundSchema: z.ZodType< DeleteProjectAvatarTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => DeleteProjectAvatarProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => DeleteProjectAvatarProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => DeleteProjectAvatarProjectsResponseBranchMatcher$inboundSchema + )), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + DeleteProjectAvatarProjectsBuilds$inboundSchema + ))), + checksConclusion: types.optional( + DeleteProjectAvatarProjectsChecksConclusion$inboundSchema, ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => DeleteProjectAvatarProjectsBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - DeleteProjectAvatarProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - DeleteProjectAvatarProjectsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => DeleteProjectAvatarProjectsResponseCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => DeleteProjectAvatarProjectsOidcTokenClaims$inboundSchema), - ), - plan: DeleteProjectAvatarProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: DeleteProjectAvatarProjectsReadyState$inboundSchema, - readySubstate: types.optional( - DeleteProjectAvatarProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: DeleteProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + checksState: types.optional( + DeleteProjectAvatarProjectsChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + DeleteProjectAvatarProjectsResponseCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => + DeleteProjectAvatarProjectsOidcTokenClaims$inboundSchema + )), + plan: DeleteProjectAvatarProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: DeleteProjectAvatarProjectsReadyState$inboundSchema, + readySubstate: types.optional( + DeleteProjectAvatarProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + DeleteProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function deleteProjectAvatarTargetsFromJSON( jsonString: string, @@ -5769,29 +6026,35 @@ export function deleteProjectAvatarTargetsFromJSON( /** @internal */ export const DeleteProjectAvatarTier$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarTier -> = z.nativeEnum(DeleteProjectAvatarTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeleteProjectAvatarTier)); /** @internal */ export const DeleteProjectAvatarDestination$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarDestination -> = z.nativeEnum(DeleteProjectAvatarDestination); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarDestination) +); /** @internal */ export const DeleteProjectAvatarProjectsEnv$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarProjectsEnv -> = z.nativeEnum(DeleteProjectAvatarProjectsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarProjectsEnv) +); /** @internal */ export const DeleteProjectAvatarSamplingRules$inboundSchema: z.ZodType< DeleteProjectAvatarSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(DeleteProjectAvatarDestination$inboundSchema), - env: types.optional(DeleteProjectAvatarProjectsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(DeleteProjectAvatarDestination$inboundSchema), + env: types.optional(DeleteProjectAvatarProjectsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function deleteProjectAvatarSamplingRulesFromJSON( jsonString: string, @@ -5808,13 +6071,15 @@ export const DeleteProjectAvatarTracing$inboundSchema: z.ZodType< DeleteProjectAvatarTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => DeleteProjectAvatarSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => DeleteProjectAvatarSamplingRules$inboundSchema)), + ), + }) +); export function deleteProjectAvatarTracingFromJSON( jsonString: string, @@ -5829,17 +6094,21 @@ export function deleteProjectAvatarTracingFromJSON( /** @internal */ export const DeleteProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DeleteProjectAvatarTrustedIpsProjectsDeploymentType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const DeleteProjectAvatarTrustedIps2$inboundSchema: z.ZodType< DeleteProjectAvatarTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: - DeleteProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + DeleteProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function deleteProjectAvatarTrustedIps2FromJSON( jsonString: string, @@ -5856,10 +6125,12 @@ export const DeleteProjectAvatarTrustedIpsAddresses$inboundSchema: z.ZodType< DeleteProjectAvatarTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function deleteProjectAvatarTrustedIpsAddressesFromJSON( jsonString: string, @@ -5874,26 +6145,32 @@ export function deleteProjectAvatarTrustedIpsAddressesFromJSON( /** @internal */ export const DeleteProjectAvatarTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarTrustedIpsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarTrustedIpsDeploymentType) + ); /** @internal */ export const DeleteProjectAvatarTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarTrustedIpsProtectionMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarTrustedIpsProtectionMode) + ); /** @internal */ export const DeleteProjectAvatarTrustedIps1$inboundSchema: z.ZodType< DeleteProjectAvatarTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => DeleteProjectAvatarTrustedIpsAddresses$inboundSchema), - ), - deploymentType: DeleteProjectAvatarTrustedIpsDeploymentType$inboundSchema, - protectionMode: DeleteProjectAvatarTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => DeleteProjectAvatarTrustedIpsAddresses$inboundSchema), + ), + deploymentType: DeleteProjectAvatarTrustedIpsDeploymentType$inboundSchema, + protectionMode: DeleteProjectAvatarTrustedIpsProtectionMode$inboundSchema, + }) +); export function deleteProjectAvatarTrustedIps1FromJSON( jsonString: string, @@ -5910,10 +6187,12 @@ export const DeleteProjectAvatarTrustedIps$inboundSchema: z.ZodType< DeleteProjectAvatarTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarTrustedIps1$inboundSchema), - z.lazy(() => DeleteProjectAvatarTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarTrustedIps1$inboundSchema), + z.lazy(() => DeleteProjectAvatarTrustedIps2$inboundSchema), + ]) +); export function deleteProjectAvatarTrustedIpsFromJSON( jsonString: string, @@ -5928,17 +6207,21 @@ export function deleteProjectAvatarTrustedIpsFromJSON( /** @internal */ export const DeleteProjectAvatarToProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarToProjectsPreset -> = z.nativeEnum(DeleteProjectAvatarToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarToProjectsPreset) +); /** @internal */ export const DeleteProjectAvatarTo2$inboundSchema: z.ZodType< DeleteProjectAvatarTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: DeleteProjectAvatarToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: DeleteProjectAvatarToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function deleteProjectAvatarTo2FromJSON( jsonString: string, @@ -5953,17 +6236,21 @@ export function deleteProjectAvatarTo2FromJSON( /** @internal */ export const DeleteProjectAvatarToPreset$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarToPreset -> = z.nativeEnum(DeleteProjectAvatarToPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarToPreset) +); /** @internal */ export const DeleteProjectAvatarTo1$inboundSchema: z.ZodType< DeleteProjectAvatarTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(DeleteProjectAvatarToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(DeleteProjectAvatarToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function deleteProjectAvatarTo1FromJSON( jsonString: string, @@ -5980,10 +6267,12 @@ export const DeleteProjectAvatarTo$inboundSchema: z.ZodType< DeleteProjectAvatarTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarTo1$inboundSchema), - z.lazy(() => DeleteProjectAvatarTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarTo1$inboundSchema), + z.lazy(() => DeleteProjectAvatarTo2$inboundSchema), + ]) +); export function deleteProjectAvatarToFromJSON( jsonString: string, @@ -6000,14 +6289,16 @@ export const DeleteProjectAvatarOidcProviders$inboundSchema: z.ZodType< DeleteProjectAvatarOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => DeleteProjectAvatarTo1$inboundSchema), - z.lazy(() => DeleteProjectAvatarTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => DeleteProjectAvatarTo1$inboundSchema), + z.lazy(() => DeleteProjectAvatarTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function deleteProjectAvatarOidcProvidersFromJSON( jsonString: string, @@ -6021,19 +6312,22 @@ export function deleteProjectAvatarOidcProvidersFromJSON( /** @internal */ export const DeleteProjectAvatarFromProjectsPreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DeleteProjectAvatarFromProjectsPreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarFromProjectsPreset) + ); /** @internal */ export const DeleteProjectAvatarFrom2$inboundSchema: z.ZodType< DeleteProjectAvatarFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: DeleteProjectAvatarFromProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: DeleteProjectAvatarFromProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function deleteProjectAvatarFrom2FromJSON( jsonString: string, @@ -6048,17 +6342,21 @@ export function deleteProjectAvatarFrom2FromJSON( /** @internal */ export const DeleteProjectAvatarFromPreset$inboundSchema: z.ZodNativeEnum< typeof DeleteProjectAvatarFromPreset -> = z.nativeEnum(DeleteProjectAvatarFromPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarFromPreset) +); /** @internal */ export const DeleteProjectAvatarFrom1$inboundSchema: z.ZodType< DeleteProjectAvatarFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(DeleteProjectAvatarFromPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(DeleteProjectAvatarFromPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function deleteProjectAvatarFrom1FromJSON( jsonString: string, @@ -6075,10 +6373,12 @@ export const DeleteProjectAvatarFrom$inboundSchema: z.ZodType< DeleteProjectAvatarFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteProjectAvatarFrom1$inboundSchema), - z.lazy(() => DeleteProjectAvatarFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteProjectAvatarFrom1$inboundSchema), + z.lazy(() => DeleteProjectAvatarFrom2$inboundSchema), + ]) +); export function deleteProjectAvatarFromFromJSON( jsonString: string, @@ -6092,18 +6392,22 @@ export function deleteProjectAvatarFromFromJSON( /** @internal */ export const DeleteProjectAvatarToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarToProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarToProjectsResponse200Preset) + ); /** @internal */ export const DeleteProjectAvatarToProjects2$inboundSchema: z.ZodType< DeleteProjectAvatarToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: DeleteProjectAvatarToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: DeleteProjectAvatarToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function deleteProjectAvatarToProjects2FromJSON( jsonString: string, @@ -6117,5 +6421,7 @@ export function deleteProjectAvatarToProjects2FromJSON( /** @internal */ export const DeleteProjectAvatarToProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(DeleteProjectAvatarToProjectsResponsePreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteProjectAvatarToProjectsResponsePreset) + ); diff --git a/src/models/deleteprojectcheckop.ts b/src/models/deleteprojectcheckop.ts index ab2f9712f7..0f01284e46 100644 --- a/src/models/deleteprojectcheckop.ts +++ b/src/models/deleteprojectcheckop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -38,12 +38,14 @@ export const DeleteProjectCheckRequest$outboundSchema: z.ZodType< DeleteProjectCheckRequest$Outbound, z.ZodTypeDef, DeleteProjectCheckRequest -> = z.object({ - projectIdOrName: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteProjectCheckRequestToJSON( deleteProjectCheckRequest: DeleteProjectCheckRequest, @@ -58,9 +60,11 @@ export const DeleteProjectCheckResponseBody$inboundSchema: z.ZodType< DeleteProjectCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - success: types.literal(true), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + success: types.literal(true), + }) +); export function deleteProjectCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteprojectop.ts b/src/models/deleteprojectop.ts index a2b90e47ab..fe4b37fe5b 100644 --- a/src/models/deleteprojectop.ts +++ b/src/models/deleteprojectop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteProjectRequest = { /** @@ -31,11 +32,13 @@ export const DeleteProjectRequest$outboundSchema: z.ZodType< DeleteProjectRequest$Outbound, z.ZodTypeDef, DeleteProjectRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteProjectRequestToJSON( deleteProjectRequest: DeleteProjectRequest, diff --git a/src/models/deleteredirectsop.ts b/src/models/deleteredirectsop.ts index cbf16a1b4a..a3b34163e7 100644 --- a/src/models/deleteredirectsop.ts +++ b/src/models/deleteredirectsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -161,10 +161,12 @@ export const DeleteRedirectsRequestBody$outboundSchema: z.ZodType< DeleteRedirectsRequestBody$Outbound, z.ZodTypeDef, DeleteRedirectsRequestBody -> = z.object({ - name: z.string().optional(), - redirects: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + redirects: z.array(z.string()), + }) +); export function deleteRedirectsRequestBodyToJSON( deleteRedirectsRequestBody: DeleteRedirectsRequestBody, @@ -187,17 +189,19 @@ export const DeleteRedirectsRequest$outboundSchema: z.ZodType< DeleteRedirectsRequest$Outbound, z.ZodTypeDef, DeleteRedirectsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteRedirectsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteRedirectsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function deleteRedirectsRequestToJSON( deleteRedirectsRequest: DeleteRedirectsRequest, @@ -213,17 +217,19 @@ export const DeleteRedirectsResponseBodyBulkRedirectsResponseVersion$inboundSche DeleteRedirectsResponseBodyBulkRedirectsResponseVersion, z.ZodTypeDef, unknown - > = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) + ); export function deleteRedirectsResponseBodyBulkRedirectsResponseVersionFromJSON( jsonString: string, @@ -245,12 +251,14 @@ export const DeleteRedirectsResponseBody3$inboundSchema: z.ZodType< DeleteRedirectsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - alias: types.nullable(types.string()), - version: z.lazy(() => - DeleteRedirectsResponseBodyBulkRedirectsResponseVersion$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.nullable(types.string()), + version: z.lazy(() => + DeleteRedirectsResponseBodyBulkRedirectsResponseVersion$inboundSchema + ), + }) +); export function deleteRedirectsResponseBody3FromJSON( jsonString: string, @@ -268,17 +276,19 @@ export const DeleteRedirectsResponseBodyBulkRedirectsVersion$inboundSchema: DeleteRedirectsResponseBodyBulkRedirectsVersion, z.ZodTypeDef, unknown - > = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) + ); export function deleteRedirectsResponseBodyBulkRedirectsVersionFromJSON( jsonString: string, @@ -301,12 +311,14 @@ export const DeleteRedirectsResponseBody2$inboundSchema: z.ZodType< DeleteRedirectsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - alias: z.nullable(z.any()).optional(), - version: z.lazy(() => - DeleteRedirectsResponseBodyBulkRedirectsVersion$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: z.nullable(z.any()).optional(), + version: z.lazy(() => + DeleteRedirectsResponseBodyBulkRedirectsVersion$inboundSchema + ), + }) +); export function deleteRedirectsResponseBody2FromJSON( jsonString: string, @@ -323,17 +335,19 @@ export const DeleteRedirectsResponseBodyVersion$inboundSchema: z.ZodType< DeleteRedirectsResponseBodyVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function deleteRedirectsResponseBodyVersionFromJSON( jsonString: string, @@ -351,10 +365,12 @@ export const DeleteRedirectsResponseBody1$inboundSchema: z.ZodType< DeleteRedirectsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - version: z.lazy(() => DeleteRedirectsResponseBodyVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + version: z.lazy(() => DeleteRedirectsResponseBodyVersion$inboundSchema), + }) +); export function deleteRedirectsResponseBody1FromJSON( jsonString: string, @@ -371,11 +387,13 @@ export const DeleteRedirectsResponseBody$inboundSchema: z.ZodType< DeleteRedirectsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => DeleteRedirectsResponseBody2$inboundSchema), - z.lazy(() => DeleteRedirectsResponseBody3$inboundSchema), - z.lazy(() => DeleteRedirectsResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => DeleteRedirectsResponseBody2$inboundSchema), + z.lazy(() => DeleteRedirectsResponseBody3$inboundSchema), + z.lazy(() => DeleteRedirectsResponseBody1$inboundSchema), + ]) +); export function deleteRedirectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleterepositoryimageop.ts b/src/models/deleterepositoryimageop.ts index fe541da085..0c9ac04875 100644 --- a/src/models/deleterepositoryimageop.ts +++ b/src/models/deleterepositoryimageop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteRepositoryImageRequest = { /** @@ -35,13 +36,15 @@ export const DeleteRepositoryImageRequest$outboundSchema: z.ZodType< DeleteRepositoryImageRequest$Outbound, z.ZodTypeDef, DeleteRepositoryImageRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - imageId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + imageId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteRepositoryImageRequestToJSON( deleteRepositoryImageRequest: DeleteRepositoryImageRequest, diff --git a/src/models/deleterepositoryop.ts b/src/models/deleterepositoryop.ts index 939f3c2f3a..edcdb32638 100644 --- a/src/models/deleterepositoryop.ts +++ b/src/models/deleterepositoryop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteRepositoryRequest = { /** @@ -33,12 +34,14 @@ export const DeleteRepositoryRequest$outboundSchema: z.ZodType< DeleteRepositoryRequest$Outbound, z.ZodTypeDef, DeleteRepositoryRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteRepositoryRequestToJSON( deleteRepositoryRequest: DeleteRepositoryRequest, diff --git a/src/models/deleterollingreleaseconfigop.ts b/src/models/deleterollingreleaseconfigop.ts index 50bb5c60a2..5fc0683c6f 100644 --- a/src/models/deleterollingreleaseconfigop.ts +++ b/src/models/deleterollingreleaseconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -38,11 +38,13 @@ export const DeleteRollingReleaseConfigRequest$outboundSchema: z.ZodType< DeleteRollingReleaseConfigRequest$Outbound, z.ZodTypeDef, DeleteRollingReleaseConfigRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteRollingReleaseConfigRequestToJSON( deleteRollingReleaseConfigRequest: DeleteRollingReleaseConfigRequest, @@ -59,9 +61,11 @@ export const DeleteRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< DeleteRollingReleaseConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: z.nullable(z.any()).optional(), + }) +); export function deleteRollingReleaseConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteroutesop.ts b/src/models/deleteroutesop.ts index 40652d1d66..5476524ead 100644 --- a/src/models/deleteroutesop.ts +++ b/src/models/deleteroutesop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -85,9 +85,11 @@ export const DeleteRoutesRequestBody$outboundSchema: z.ZodType< DeleteRoutesRequestBody$Outbound, z.ZodTypeDef, DeleteRoutesRequestBody -> = z.object({ - routeIds: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + routeIds: z.array(z.string()), + }) +); export function deleteRoutesRequestBodyToJSON( deleteRoutesRequestBody: DeleteRoutesRequestBody, @@ -110,16 +112,19 @@ export const DeleteRoutesRequest$outboundSchema: z.ZodType< DeleteRoutesRequest$Outbound, z.ZodTypeDef, DeleteRoutesRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteRoutesRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteRoutesRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function deleteRoutesRequestToJSON( deleteRoutesRequest: DeleteRoutesRequest, @@ -134,16 +139,18 @@ export const DeleteRoutesVersion$inboundSchema: z.ZodType< DeleteRoutesVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function deleteRoutesVersionFromJSON( jsonString: string, @@ -160,10 +167,12 @@ export const DeleteRoutesResponseBody$inboundSchema: z.ZodType< DeleteRoutesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - deletedCount: types.number(), - version: z.lazy(() => DeleteRoutesVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedCount: types.number(), + version: z.lazy(() => DeleteRoutesVersion$inboundSchema), + }) +); export function deleteRoutesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletesandboxop.ts b/src/models/deletesandboxop.ts index 93f7f6be2d..802d3b6adf 100644 --- a/src/models/deletesandboxop.ts +++ b/src/models/deletesandboxop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { NamedSandbox, NamedSandbox$inboundSchema } from "./namedsandbox.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -52,13 +56,19 @@ export const DeleteSandboxRequest$outboundSchema: z.ZodType< DeleteSandboxRequest$Outbound, z.ZodTypeDef, DeleteSandboxRequest -> = z.object({ - name: z.string(), - projectId: z.string().optional(), - deleteOrphanSnapshots: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(128), { + message: "Value must be at most 128 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 128), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + deleteOrphanSnapshots: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteSandboxRequestToJSON( deleteSandboxRequest: DeleteSandboxRequest, @@ -73,9 +83,11 @@ export const DeleteSandboxResponseBody$inboundSchema: z.ZodType< DeleteSandboxResponseBody, z.ZodTypeDef, unknown -> = z.object({ - sandbox: NamedSandbox$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandbox: NamedSandbox$inboundSchema, + }) +); export function deleteSandboxResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletesdkkeyop.ts b/src/models/deletesdkkeyop.ts index c3e662306b..630e95a25d 100644 --- a/src/models/deletesdkkeyop.ts +++ b/src/models/deletesdkkeyop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteSDKKeyRequest = { /** @@ -36,12 +37,14 @@ export const DeleteSDKKeyRequest$outboundSchema: z.ZodType< DeleteSDKKeyRequest$Outbound, z.ZodTypeDef, DeleteSDKKeyRequest -> = z.object({ - projectIdOrName: z.string(), - hashKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + hashKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteSDKKeyRequestToJSON( deleteSDKKeyRequest: DeleteSDKKeyRequest, diff --git a/src/models/deletesecurityfirewallconfigbyconfigversionop.ts b/src/models/deletesecurityfirewallconfigbyconfigversionop.ts index 528f635721..bd8156a51d 100644 --- a/src/models/deletesecurityfirewallconfigbyconfigversionop.ts +++ b/src/models/deletesecurityfirewallconfigbyconfigversionop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export type DeleteSecurityFirewallConfigByConfigVersionRequest = { @@ -29,9 +30,11 @@ export const DeleteSecurityFirewallConfigByConfigVersionRequest$outboundSchema: DeleteSecurityFirewallConfigByConfigVersionRequest$Outbound, z.ZodTypeDef, DeleteSecurityFirewallConfigByConfigVersionRequest - > = z.object({ - configVersion: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configVersion: z.string(), + }) + ); export function deleteSecurityFirewallConfigByConfigVersionRequestToJSON( deleteSecurityFirewallConfigByConfigVersionRequest: @@ -48,4 +51,6 @@ export function deleteSecurityFirewallConfigByConfigVersionRequestToJSON( export const DeleteSecurityFirewallConfigByConfigVersionResponseBody$inboundSchema: z.ZodNativeEnum< typeof DeleteSecurityFirewallConfigByConfigVersionResponseBody - > = z.nativeEnum(DeleteSecurityFirewallConfigByConfigVersionResponseBody); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteSecurityFirewallConfigByConfigVersionResponseBody) + ); diff --git a/src/models/deletesessionsnapshotop.ts b/src/models/deletesessionsnapshotop.ts index 125b0f6a92..4e8cb8bbd5 100644 --- a/src/models/deletesessionsnapshotop.ts +++ b/src/models/deletesessionsnapshotop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { Snapshot, Snapshot$inboundSchema } from "./snapshot.js"; @@ -42,11 +46,21 @@ export const DeleteSessionSnapshotRequest$outboundSchema: z.ZodType< DeleteSessionSnapshotRequest$Outbound, z.ZodTypeDef, DeleteSessionSnapshotRequest -> = z.object({ - snapshotId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + snapshotId: z.string().refine(withinMaxLength$(33), { + message: "Value must be at most 33 characters long", + }).refine( + matchesPattern$("^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$", 33), + { + message: + "Value must match pattern ^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$", + }, + ), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteSessionSnapshotRequestToJSON( deleteSessionSnapshotRequest: DeleteSessionSnapshotRequest, @@ -63,9 +77,11 @@ export const DeleteSessionSnapshotResponseBody$inboundSchema: z.ZodType< DeleteSessionSnapshotResponseBody, z.ZodTypeDef, unknown -> = z.object({ - snapshot: Snapshot$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + snapshot: Snapshot$inboundSchema, + }) +); export function deleteSessionSnapshotResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletesharedenvvariableop.ts b/src/models/deletesharedenvvariableop.ts index cba08b723f..cd36eff0df 100644 --- a/src/models/deletesharedenvvariableop.ts +++ b/src/models/deletesharedenvvariableop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -101,9 +101,11 @@ export const DeleteSharedEnvVariableRequestBody$outboundSchema: z.ZodType< DeleteSharedEnvVariableRequestBody$Outbound, z.ZodTypeDef, DeleteSharedEnvVariableRequestBody -> = z.object({ - ids: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: z.array(z.string()), + }) +); export function deleteSharedEnvVariableRequestBodyToJSON( deleteSharedEnvVariableRequestBody: DeleteSharedEnvVariableRequestBody, @@ -127,16 +129,18 @@ export const DeleteSharedEnvVariableRequest$outboundSchema: z.ZodType< DeleteSharedEnvVariableRequest$Outbound, z.ZodTypeDef, DeleteSharedEnvVariableRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteSharedEnvVariableRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteSharedEnvVariableRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function deleteSharedEnvVariableRequestToJSON( deleteSharedEnvVariableRequest: DeleteSharedEnvVariableRequest, @@ -151,22 +155,28 @@ export function deleteSharedEnvVariableRequestToJSON( /** @internal */ export const DeleteSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< typeof DeleteSharedEnvVariableTarget2 -> = z.nativeEnum(DeleteSharedEnvVariableTarget2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteSharedEnvVariableTarget2) +); /** @internal */ export const DeleteSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< typeof DeleteSharedEnvVariableTarget1 -> = z.nativeEnum(DeleteSharedEnvVariableTarget1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteSharedEnvVariableTarget1) +); /** @internal */ export const DeleteSharedEnvVariableTarget$inboundSchema: z.ZodType< DeleteSharedEnvVariableTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(DeleteSharedEnvVariableTarget1$inboundSchema), - DeleteSharedEnvVariableTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(DeleteSharedEnvVariableTarget1$inboundSchema), + DeleteSharedEnvVariableTarget2$inboundSchema, + ]) +); export function deleteSharedEnvVariableTargetFromJSON( jsonString: string, @@ -181,17 +191,21 @@ export function deleteSharedEnvVariableTargetFromJSON( /** @internal */ export const DeleteSharedEnvVariableValue2$inboundSchema: z.ZodNativeEnum< typeof DeleteSharedEnvVariableValue2 -> = z.nativeEnum(DeleteSharedEnvVariableValue2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeleteSharedEnvVariableValue2) +); /** @internal */ export const DeleteSharedEnvVariableValue$inboundSchema: z.ZodType< DeleteSharedEnvVariableValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.array(DeleteSharedEnvVariableValue2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.array(DeleteSharedEnvVariableValue2$inboundSchema), + ]) +); export function deleteSharedEnvVariableValueFromJSON( jsonString: string, @@ -208,29 +222,31 @@ export const DeleteSharedEnvVariableError$inboundSchema: z.ZodType< DeleteSharedEnvVariableError, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - envVarId: types.optional(types.string()), - envVarKey: types.optional(types.string()), - gitBranch: types.optional(types.string()), - key: types.optional(types.string()), - link: types.optional(types.string()), - message: types.string(), - project: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(DeleteSharedEnvVariableTarget1$inboundSchema), - DeleteSharedEnvVariableTarget2$inboundSchema, - ]), - ), - value: types.optional( - smartUnion([ - types.string(), - z.array(DeleteSharedEnvVariableValue2$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + envVarId: types.optional(types.string()), + envVarKey: types.optional(types.string()), + gitBranch: types.optional(types.string()), + key: types.optional(types.string()), + link: types.optional(types.string()), + message: types.string(), + project: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(DeleteSharedEnvVariableTarget1$inboundSchema), + DeleteSharedEnvVariableTarget2$inboundSchema, + ]), + ), + value: types.optional( + smartUnion([ + types.string(), + z.array(DeleteSharedEnvVariableValue2$inboundSchema), + ]), + ), + }) +); export function deleteSharedEnvVariableErrorFromJSON( jsonString: string, @@ -247,9 +263,11 @@ export const DeleteSharedEnvVariableFailed$inboundSchema: z.ZodType< DeleteSharedEnvVariableFailed, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => DeleteSharedEnvVariableError$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => DeleteSharedEnvVariableError$inboundSchema), + }) +); export function deleteSharedEnvVariableFailedFromJSON( jsonString: string, @@ -266,10 +284,12 @@ export const DeleteSharedEnvVariableResponseBody$inboundSchema: z.ZodType< DeleteSharedEnvVariableResponseBody, z.ZodTypeDef, unknown -> = z.object({ - deleted: z.array(types.string()), - failed: z.array(z.lazy(() => DeleteSharedEnvVariableFailed$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deleted: z.array(types.string()), + failed: z.array(z.lazy(() => DeleteSharedEnvVariableFailed$inboundSchema)), + }) +); export function deleteSharedEnvVariableResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletestoragestoresblobbyidop.ts b/src/models/deletestoragestoresblobbyidop.ts index 6ecbd70e7f..2791f81f2e 100644 --- a/src/models/deletestoragestoresblobbyidop.ts +++ b/src/models/deletestoragestoresblobbyidop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -26,9 +26,11 @@ export const DeleteStorageStoresBlobByIdRequest$outboundSchema: z.ZodType< DeleteStorageStoresBlobByIdRequest$Outbound, z.ZodTypeDef, DeleteStorageStoresBlobByIdRequest -> = z.object({ - id: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + }) +); export function deleteStorageStoresBlobByIdRequestToJSON( deleteStorageStoresBlobByIdRequest: DeleteStorageStoresBlobByIdRequest, @@ -45,9 +47,11 @@ export const DeleteStorageStoresBlobByIdResponseBody$inboundSchema: z.ZodType< DeleteStorageStoresBlobByIdResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteStorageStoresBlobByIdResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteteaminvitecodeop.ts b/src/models/deleteteaminvitecodeop.ts index d6bc076a24..d3baddc001 100644 --- a/src/models/deleteteaminvitecodeop.ts +++ b/src/models/deleteteaminvitecodeop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -40,10 +40,12 @@ export const DeleteTeamInviteCodeRequest$outboundSchema: z.ZodType< DeleteTeamInviteCodeRequest$Outbound, z.ZodTypeDef, DeleteTeamInviteCodeRequest -> = z.object({ - inviteId: z.string(), - teamId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inviteId: z.string(), + teamId: z.string(), + }) +); export function deleteTeamInviteCodeRequestToJSON( deleteTeamInviteCodeRequest: DeleteTeamInviteCodeRequest, @@ -60,9 +62,11 @@ export const DeleteTeamInviteCodeResponseBody$inboundSchema: z.ZodType< DeleteTeamInviteCodeResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function deleteTeamInviteCodeResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deleteteamop.ts b/src/models/deleteteamop.ts index 8072e19e11..332ba0f4c7 100644 --- a/src/models/deleteteamop.ts +++ b/src/models/deleteteamop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -71,10 +71,12 @@ export const DeleteTeamReasons$outboundSchema: z.ZodType< DeleteTeamReasons$Outbound, z.ZodTypeDef, DeleteTeamReasons -> = z.object({ - slug: z.string(), - description: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + description: z.string(), + }) +); export function deleteTeamReasonsToJSON( deleteTeamReasons: DeleteTeamReasons, @@ -94,9 +96,11 @@ export const DeleteTeamRequestBody$outboundSchema: z.ZodType< DeleteTeamRequestBody$Outbound, z.ZodTypeDef, DeleteTeamRequestBody -> = z.object({ - reasons: z.array(z.lazy(() => DeleteTeamReasons$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reasons: z.array(z.lazy(() => DeleteTeamReasons$outboundSchema)).optional(), + }) +); export function deleteTeamRequestBodyToJSON( deleteTeamRequestBody: DeleteTeamRequestBody, @@ -119,16 +123,18 @@ export const DeleteTeamRequest$outboundSchema: z.ZodType< DeleteTeamRequest$Outbound, z.ZodTypeDef, DeleteTeamRequest -> = z.object({ - newDefaultTeamId: z.string().optional(), - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => DeleteTeamRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newDefaultTeamId: z.string().optional(), + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteTeamRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function deleteTeamRequestToJSON( deleteTeamRequest: DeleteTeamRequest, @@ -143,10 +149,12 @@ export const DeleteTeamResponseBody$inboundSchema: z.ZodType< DeleteTeamResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - newDefaultTeamIdError: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + newDefaultTeamIdError: types.optional(types.boolean()), + }) +); export function deleteTeamResponseBodyFromJSON( jsonString: string, diff --git a/src/models/deletewebhookop.ts b/src/models/deletewebhookop.ts index 20534d793c..a9f1ceea38 100644 --- a/src/models/deletewebhookop.ts +++ b/src/models/deletewebhookop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DeleteWebhookRequest = { id: string; @@ -28,11 +29,13 @@ export const DeleteWebhookRequest$outboundSchema: z.ZodType< DeleteWebhookRequest$Outbound, z.ZodTypeDef, DeleteWebhookRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function deleteWebhookRequestToJSON( deleteWebhookRequest: DeleteWebhookRequest, diff --git a/src/models/deploymentcheckupdatedpayload.ts b/src/models/deploymentcheckupdatedpayload.ts index 4df853ace0..a724c964b1 100644 --- a/src/models/deploymentcheckupdatedpayload.ts +++ b/src/models/deploymentcheckupdatedpayload.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,10 +29,12 @@ export type DeploymentCheckUpdatedPayload = { }; /** @internal */ -export const Next$inboundSchema: z.ZodType = z - .object({ - targets: z.array(types.string()), - }); +export const Next$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) + ); export function nextFromJSON( jsonString: string, @@ -49,9 +51,11 @@ export const Previous$inboundSchema: z.ZodType< Previous, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function previousFromJSON( jsonString: string, @@ -68,14 +72,16 @@ export const DeploymentCheckUpdatedPayload$inboundSchema: z.ZodType< DeploymentCheckUpdatedPayload, z.ZodTypeDef, unknown -> = z.object({ - checkId: types.string(), - checkName: types.string(), - next: types.optional(z.lazy(() => Next$inboundSchema)), - previous: types.optional(z.lazy(() => Previous$inboundSchema)), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + checkId: types.string(), + checkName: types.string(), + next: types.optional(z.lazy(() => Next$inboundSchema)), + previous: types.optional(z.lazy(() => Previous$inboundSchema)), + projectId: types.string(), + projectName: types.string(), + }) +); export function deploymentCheckUpdatedPayloadFromJSON( jsonString: string, diff --git a/src/models/disconnectconnectorprojectenvironmentop.ts b/src/models/disconnectconnectorprojectenvironmentop.ts index b5ecce3983..0b1ca89a7e 100644 --- a/src/models/disconnectconnectorprojectenvironmentop.ts +++ b/src/models/disconnectconnectorprojectenvironmentop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DisconnectConnectorProjectEnvironmentRequest = { connector: string; @@ -33,13 +34,15 @@ export const DisconnectConnectorProjectEnvironmentRequest$outboundSchema: DisconnectConnectorProjectEnvironmentRequest$Outbound, z.ZodTypeDef, DisconnectConnectorProjectEnvironmentRequest - > = z.object({ - connector: z.string(), - projectId: z.string(), - environment: z.string(), - slug: z.string().optional(), - teamId: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + projectId: z.string(), + environment: z.string(), + slug: z.string().optional(), + teamId: z.string().optional(), + }) + ); export function disconnectConnectorProjectEnvironmentRequestToJSON( disconnectConnectorProjectEnvironmentRequest: diff --git a/src/models/dnssecenabled.ts b/src/models/dnssecenabled.ts index 589d8fcba9..e8226de793 100644 --- a/src/models/dnssecenabled.ts +++ b/src/models/dnssecenabled.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DNSSECEnabled extends VercelError { /** @internal */ export const DNSSECEnabledCode$inboundSchema: z.ZodNativeEnum< typeof DNSSECEnabledCode -> = z.nativeEnum(DNSSECEnabledCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DNSSECEnabledCode)); /** @internal */ export const DNSSECEnabled$inboundSchema: z.ZodType< DNSSECEnabled, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DNSSECEnabledCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DNSSECEnabled(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DNSSECEnabledCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DNSSECEnabled(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainalreadyowned.ts b/src/models/domainalreadyowned.ts index 6956b7361a..d0a641c44c 100644 --- a/src/models/domainalreadyowned.ts +++ b/src/models/domainalreadyowned.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DomainAlreadyOwned extends VercelError { /** @internal */ export const DomainAlreadyOwnedCode$inboundSchema: z.ZodNativeEnum< typeof DomainAlreadyOwnedCode -> = z.nativeEnum(DomainAlreadyOwnedCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainAlreadyOwnedCode)); /** @internal */ export const DomainAlreadyOwned$inboundSchema: z.ZodType< DomainAlreadyOwned, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainAlreadyOwnedCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainAlreadyOwned(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainAlreadyOwnedCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainAlreadyOwned(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainalreadyrenewing.ts b/src/models/domainalreadyrenewing.ts index 02ebfc68ab..7f28656018 100644 --- a/src/models/domainalreadyrenewing.ts +++ b/src/models/domainalreadyrenewing.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,27 @@ export class DomainAlreadyRenewing extends VercelError { /** @internal */ export const DomainAlreadyRenewingCode$inboundSchema: z.ZodNativeEnum< typeof DomainAlreadyRenewingCode -> = z.nativeEnum(DomainAlreadyRenewingCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainAlreadyRenewingCode)); /** @internal */ export const DomainAlreadyRenewing$inboundSchema: z.ZodType< DomainAlreadyRenewing, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainAlreadyRenewingCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainAlreadyRenewing(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainAlreadyRenewingCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainAlreadyRenewing(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domaincannotbetransferedoutuntil.ts b/src/models/domaincannotbetransferedoutuntil.ts index 8321b969c2..4aee12be2e 100644 --- a/src/models/domaincannotbetransferedoutuntil.ts +++ b/src/models/domaincannotbetransferedoutuntil.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -49,27 +50,30 @@ export class DomainCannotBeTransferedOutUntil extends VercelError { /** @internal */ export const DomainCannotBeTransferedOutUntilCode$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - DomainCannotBeTransferedOutUntilCode, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DomainCannotBeTransferedOutUntilCode) + ); /** @internal */ export const DomainCannotBeTransferedOutUntil$inboundSchema: z.ZodType< DomainCannotBeTransferedOutUntil, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainCannotBeTransferedOutUntilCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainCannotBeTransferedOutUntil(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainCannotBeTransferedOutUntilCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainCannotBeTransferedOutUntil(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainnotavailable.ts b/src/models/domainnotavailable.ts index cdd5c01997..ae26fdfc62 100644 --- a/src/models/domainnotavailable.ts +++ b/src/models/domainnotavailable.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DomainNotAvailable extends VercelError { /** @internal */ export const DomainNotAvailableCode$inboundSchema: z.ZodNativeEnum< typeof DomainNotAvailableCode -> = z.nativeEnum(DomainNotAvailableCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainNotAvailableCode)); /** @internal */ export const DomainNotAvailable$inboundSchema: z.ZodType< DomainNotAvailable, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainNotAvailableCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainNotAvailable(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainNotAvailableCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainNotAvailable(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainnotfound.ts b/src/models/domainnotfound.ts index 9ee56d322c..49fb3c8a81 100644 --- a/src/models/domainnotfound.ts +++ b/src/models/domainnotfound.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DomainNotFound extends VercelError { /** @internal */ export const DomainNotFoundCode$inboundSchema: z.ZodNativeEnum< typeof DomainNotFoundCode -> = z.nativeEnum(DomainNotFoundCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainNotFoundCode)); /** @internal */ export const DomainNotFound$inboundSchema: z.ZodType< DomainNotFound, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainNotFoundCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainNotFound(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainNotFoundCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainNotFound(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainnotregistered.ts b/src/models/domainnotregistered.ts index 456074c029..dfcf6772aa 100644 --- a/src/models/domainnotregistered.ts +++ b/src/models/domainnotregistered.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,27 @@ export class DomainNotRegistered extends VercelError { /** @internal */ export const DomainNotRegisteredCode$inboundSchema: z.ZodNativeEnum< typeof DomainNotRegisteredCode -> = z.nativeEnum(DomainNotRegisteredCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainNotRegisteredCode)); /** @internal */ export const DomainNotRegistered$inboundSchema: z.ZodType< DomainNotRegistered, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainNotRegisteredCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainNotRegistered(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainNotRegisteredCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainNotRegistered(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domainnotrenewable.ts b/src/models/domainnotrenewable.ts index 1a4fc68808..bd09848ae6 100644 --- a/src/models/domainnotrenewable.ts +++ b/src/models/domainnotrenewable.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DomainNotRenewable extends VercelError { /** @internal */ export const DomainNotRenewableCode$inboundSchema: z.ZodNativeEnum< typeof DomainNotRenewableCode -> = z.nativeEnum(DomainNotRenewableCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainNotRenewableCode)); /** @internal */ export const DomainNotRenewable$inboundSchema: z.ZodType< DomainNotRenewable, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainNotRenewableCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainNotRenewable(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainNotRenewableCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainNotRenewable(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/domaintooshort.ts b/src/models/domaintooshort.ts index a8e9eb9d14..099bd406e2 100644 --- a/src/models/domaintooshort.ts +++ b/src/models/domaintooshort.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DomainTooShort extends VercelError { /** @internal */ export const DomainTooShortCode$inboundSchema: z.ZodNativeEnum< typeof DomainTooShortCode -> = z.nativeEnum(DomainTooShortCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainTooShortCode)); /** @internal */ export const DomainTooShort$inboundSchema: z.ZodType< DomainTooShort, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DomainTooShortCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DomainTooShort(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DomainTooShortCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DomainTooShort(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/downloadartifactop.ts b/src/models/downloadartifactop.ts index 18e881a5ba..69a9b60fcf 100644 --- a/src/models/downloadartifactop.ts +++ b/src/models/downloadartifactop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type DownloadArtifactRequest = { /** @@ -42,18 +43,20 @@ export const DownloadArtifactRequest$outboundSchema: z.ZodType< DownloadArtifactRequest$Outbound, z.ZodTypeDef, DownloadArtifactRequest -> = z.object({ - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }).transform((v) => { + return remap$(v, { + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + }); + }) +); export function downloadArtifactRequestToJSON( downloadArtifactRequest: DownloadArtifactRequest, diff --git a/src/models/drive.ts b/src/models/drive.ts index 697ca95f8a..89f4c1cc14 100644 --- a/src/models/drive.ts +++ b/src/models/drive.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -77,24 +77,26 @@ export type Drive = { /** @internal */ export const WorkloadType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(WorkloadType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(WorkloadType)); /** @internal */ -export const Drive$inboundSchema: z.ZodType = z - .object({ - createdAt: types.number(), - currentSandboxName: types.optional(types.string()), - currentSessionId: types.optional(types.string()), - id: types.string(), - maxSizeBytes: types.number(), - name: types.string(), - parentDriveId: types.optional(types.string()), - projectId: types.string(), - region: types.string(), - rootDriveId: types.optional(types.string()), - updatedAt: types.number(), - workloadType: types.optional(WorkloadType$inboundSchema), - }); +export const Drive$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + currentSandboxName: types.optional(types.string()), + currentSessionId: types.optional(types.string()), + id: types.string(), + maxSizeBytes: types.number(), + name: types.string(), + parentDriveId: types.optional(types.string()), + projectId: types.string(), + region: types.string(), + rootDriveId: types.optional(types.string()), + updatedAt: types.number(), + workloadType: types.optional(WorkloadType$inboundSchema), + }) + ); export function driveFromJSON( jsonString: string, diff --git a/src/models/duplicatedomains.ts b/src/models/duplicatedomains.ts index 1a26121c57..d9916b748e 100644 --- a/src/models/duplicatedomains.ts +++ b/src/models/duplicatedomains.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class DuplicateDomains extends VercelError { /** @internal */ export const DuplicateDomainsCode$inboundSchema: z.ZodNativeEnum< typeof DuplicateDomainsCode -> = z.nativeEnum(DuplicateDomainsCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DuplicateDomainsCode)); /** @internal */ export const DuplicateDomains$inboundSchema: z.ZodType< DuplicateDomains, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: DuplicateDomainsCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new DuplicateDomains(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: DuplicateDomainsCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new DuplicateDomains(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/editprojectenvop.ts b/src/models/editprojectenvop.ts index 61c873ea5b..f6ecdf890b 100644 --- a/src/models/editprojectenvop.ts +++ b/src/models/editprojectenvop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -309,12 +309,12 @@ export type EditProjectEnvResponseBody = { /** @internal */ export const EditProjectEnvTarget$outboundSchema: z.ZodNativeEnum< typeof EditProjectEnvTarget -> = z.nativeEnum(EditProjectEnvTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvTarget)); /** @internal */ export const EditProjectEnvType$outboundSchema: z.ZodNativeEnum< typeof EditProjectEnvType -> = z.nativeEnum(EditProjectEnvType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvType)); /** @internal */ export type EditProjectEnvRequestBody$Outbound = { @@ -332,15 +332,17 @@ export const EditProjectEnvRequestBody$outboundSchema: z.ZodType< EditProjectEnvRequestBody$Outbound, z.ZodTypeDef, EditProjectEnvRequestBody -> = z.object({ - key: z.string().optional(), - target: z.array(EditProjectEnvTarget$outboundSchema).optional(), - gitBranch: z.nullable(z.string()).optional(), - type: EditProjectEnvType$outboundSchema.optional(), - value: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string().optional(), + target: z.array(EditProjectEnvTarget$outboundSchema).optional(), + gitBranch: z.nullable(z.string()).optional(), + type: EditProjectEnvType$outboundSchema.optional(), + value: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), + comment: z.string().optional(), + }) +); export function editProjectEnvRequestBodyToJSON( editProjectEnvRequestBody: EditProjectEnvRequestBody, @@ -364,17 +366,19 @@ export const EditProjectEnvRequest$outboundSchema: z.ZodType< EditProjectEnvRequest$Outbound, z.ZodTypeDef, EditProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => EditProjectEnvRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => EditProjectEnvRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function editProjectEnvRequestToJSON( editProjectEnvRequest: EditProjectEnvRequest, @@ -389,10 +393,12 @@ export const ContentHint17$inboundSchema: z.ZodType< ContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function contentHint17FromJSON( jsonString: string, @@ -409,13 +415,15 @@ export const ContentHint16$inboundSchema: z.ZodType< ContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function contentHint16FromJSON( jsonString: string, @@ -432,10 +440,12 @@ export const ContentHint15$inboundSchema: z.ZodType< ContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function contentHint15FromJSON( jsonString: string, @@ -452,10 +462,12 @@ export const ContentHint14$inboundSchema: z.ZodType< ContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function contentHint14FromJSON( jsonString: string, @@ -472,10 +484,12 @@ export const ContentHint13$inboundSchema: z.ZodType< ContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function contentHint13FromJSON( jsonString: string, @@ -492,10 +506,12 @@ export const ContentHint12$inboundSchema: z.ZodType< ContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function contentHint12FromJSON( jsonString: string, @@ -512,10 +528,12 @@ export const ContentHint11$inboundSchema: z.ZodType< ContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function contentHint11FromJSON( jsonString: string, @@ -532,10 +550,12 @@ export const ContentHint10$inboundSchema: z.ZodType< ContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function contentHint10FromJSON( jsonString: string, @@ -552,10 +572,12 @@ export const ContentHint9$inboundSchema: z.ZodType< ContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function contentHint9FromJSON( jsonString: string, @@ -572,10 +594,12 @@ export const ContentHint8$inboundSchema: z.ZodType< ContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function contentHint8FromJSON( jsonString: string, @@ -592,10 +616,12 @@ export const ContentHint7$inboundSchema: z.ZodType< ContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function contentHint7FromJSON( jsonString: string, @@ -612,10 +638,12 @@ export const ContentHint6$inboundSchema: z.ZodType< ContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function contentHint6FromJSON( jsonString: string, @@ -632,10 +660,12 @@ export const ContentHint5$inboundSchema: z.ZodType< ContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function contentHint5FromJSON( jsonString: string, @@ -652,10 +682,12 @@ export const ContentHint4$inboundSchema: z.ZodType< ContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function contentHint4FromJSON( jsonString: string, @@ -672,10 +704,12 @@ export const ContentHint3$inboundSchema: z.ZodType< ContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function contentHint3FromJSON( jsonString: string, @@ -692,10 +726,12 @@ export const ContentHint2$inboundSchema: z.ZodType< ContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function contentHint2FromJSON( jsonString: string, @@ -712,10 +748,12 @@ export const ContentHint1$inboundSchema: z.ZodType< ContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function contentHint1FromJSON( jsonString: string, @@ -732,25 +770,27 @@ export const ContentHint$inboundSchema: z.ZodType< ContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ContentHint1$inboundSchema), - z.lazy(() => ContentHint2$inboundSchema), - z.lazy(() => ContentHint3$inboundSchema), - z.lazy(() => ContentHint4$inboundSchema), - z.lazy(() => ContentHint5$inboundSchema), - z.lazy(() => ContentHint6$inboundSchema), - z.lazy(() => ContentHint7$inboundSchema), - z.lazy(() => ContentHint8$inboundSchema), - z.lazy(() => ContentHint9$inboundSchema), - z.lazy(() => ContentHint10$inboundSchema), - z.lazy(() => ContentHint11$inboundSchema), - z.lazy(() => ContentHint12$inboundSchema), - z.lazy(() => ContentHint13$inboundSchema), - z.lazy(() => ContentHint14$inboundSchema), - z.lazy(() => ContentHint15$inboundSchema), - z.lazy(() => ContentHint16$inboundSchema), - z.lazy(() => ContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ContentHint1$inboundSchema), + z.lazy(() => ContentHint2$inboundSchema), + z.lazy(() => ContentHint3$inboundSchema), + z.lazy(() => ContentHint4$inboundSchema), + z.lazy(() => ContentHint5$inboundSchema), + z.lazy(() => ContentHint6$inboundSchema), + z.lazy(() => ContentHint7$inboundSchema), + z.lazy(() => ContentHint8$inboundSchema), + z.lazy(() => ContentHint9$inboundSchema), + z.lazy(() => ContentHint10$inboundSchema), + z.lazy(() => ContentHint11$inboundSchema), + z.lazy(() => ContentHint12$inboundSchema), + z.lazy(() => ContentHint13$inboundSchema), + z.lazy(() => ContentHint14$inboundSchema), + z.lazy(() => ContentHint15$inboundSchema), + z.lazy(() => ContentHint16$inboundSchema), + z.lazy(() => ContentHint17$inboundSchema), + ]) +); export function contentHintFromJSON( jsonString: string, @@ -765,17 +805,21 @@ export function contentHintFromJSON( /** @internal */ export const EditProjectEnvProjectsResponseType$inboundSchema: z.ZodNativeEnum< typeof EditProjectEnvProjectsResponseType -> = z.nativeEnum(EditProjectEnvProjectsResponseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditProjectEnvProjectsResponseType) +); /** @internal */ export const InternalContentHint$inboundSchema: z.ZodType< InternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: EditProjectEnvProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: EditProjectEnvProjectsResponseType$inboundSchema, + }) +); export function internalContentHintFromJSON( jsonString: string, @@ -790,22 +834,24 @@ export function internalContentHintFromJSON( /** @internal */ export const EditProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< typeof EditProjectEnvTarget2 -> = z.nativeEnum(EditProjectEnvTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvTarget2)); /** @internal */ export const EditProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< typeof EditProjectEnvTarget1 -> = z.nativeEnum(EditProjectEnvTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvTarget1)); /** @internal */ export const EditProjectEnvProjectsTarget$inboundSchema: z.ZodType< EditProjectEnvProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(EditProjectEnvTarget1$inboundSchema), - EditProjectEnvTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(EditProjectEnvTarget1$inboundSchema), + EditProjectEnvTarget2$inboundSchema, + ]) +); export function editProjectEnvProjectsTargetFromJSON( jsonString: string, @@ -820,23 +866,23 @@ export function editProjectEnvProjectsTargetFromJSON( /** @internal */ export const EditProjectEnvProjectsType$inboundSchema: z.ZodNativeEnum< typeof EditProjectEnvProjectsType -> = z.nativeEnum(EditProjectEnvProjectsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvProjectsType)); /** @internal */ export const EditProjectEnvVisibility$inboundSchema: z.ZodNativeEnum< typeof EditProjectEnvVisibility -> = z.nativeEnum(EditProjectEnvVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditProjectEnvVisibility)); /** @internal */ export const EditProjectEnvResponseBody$inboundSchema: z.ZodType< EditProjectEnvResponseBody, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => ContentHint1$inboundSchema), z.lazy(() => ContentHint2$inboundSchema), z.lazy(() => ContentHint3$inboundSchema), @@ -854,34 +900,34 @@ export const EditProjectEnvResponseBody$inboundSchema: z.ZodType< z.lazy(() => ContentHint15$inboundSchema), z.lazy(() => ContentHint16$inboundSchema), z.lazy(() => ContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => InternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(EditProjectEnvTarget1$inboundSchema), - EditProjectEnvTarget2$inboundSchema, - ]), - ), - type: EditProjectEnvProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(EditProjectEnvVisibility$inboundSchema), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + InternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(EditProjectEnvTarget1$inboundSchema), + EditProjectEnvTarget2$inboundSchema, + ]), + ), + type: EditProjectEnvProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(EditProjectEnvVisibility$inboundSchema), + }) +); export function editProjectEnvResponseBodyFromJSON( jsonString: string, diff --git a/src/models/editredirectop.ts b/src/models/editredirectop.ts index 112fb2a3b1..80198e5565 100644 --- a/src/models/editredirectop.ts +++ b/src/models/editredirectop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -101,15 +101,17 @@ export const Redirect$outboundSchema: z.ZodType< Redirect$Outbound, z.ZodTypeDef, Redirect -> = z.object({ - source: z.string(), - destination: z.string().optional(), - statusCode: z.number().optional(), - permanent: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - query: z.boolean().optional(), - preserveQueryParams: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + source: z.string(), + destination: z.string().optional(), + statusCode: z.number().optional(), + permanent: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + query: z.boolean().optional(), + preserveQueryParams: z.boolean().optional(), + }) +); export function redirectToJSON(redirect: Redirect): string { return JSON.stringify(Redirect$outboundSchema.parse(redirect)); @@ -127,11 +129,13 @@ export const EditRedirectRequestBody$outboundSchema: z.ZodType< EditRedirectRequestBody$Outbound, z.ZodTypeDef, EditRedirectRequestBody -> = z.object({ - name: z.string().optional(), - redirect: z.lazy(() => Redirect$outboundSchema), - restore: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + redirect: z.lazy(() => Redirect$outboundSchema), + restore: z.boolean().optional(), + }) +); export function editRedirectRequestBodyToJSON( editRedirectRequestBody: EditRedirectRequestBody, @@ -154,16 +158,19 @@ export const EditRedirectRequest$outboundSchema: z.ZodType< EditRedirectRequest$Outbound, z.ZodTypeDef, EditRedirectRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => EditRedirectRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => EditRedirectRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function editRedirectRequestToJSON( editRedirectRequest: EditRedirectRequest, @@ -178,17 +185,19 @@ export const EditRedirectVersion$inboundSchema: z.ZodType< EditRedirectVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function editRedirectVersionFromJSON( jsonString: string, @@ -205,10 +214,12 @@ export const EditRedirectResponseBody$inboundSchema: z.ZodType< EditRedirectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alias: types.nullable(types.string()), - version: z.lazy(() => EditRedirectVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.nullable(types.string()), + version: z.lazy(() => EditRedirectVersion$inboundSchema), + }) +); export function editRedirectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/editrouteop.ts b/src/models/editrouteop.ts index 54a7c2604f..9aea424088 100644 --- a/src/models/editrouteop.ts +++ b/src/models/editrouteop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -550,7 +550,7 @@ export type EditRouteResponseBody = { /** @internal */ export const EditRouteSrcSyntax$outboundSchema: z.ZodNativeEnum< typeof EditRouteSrcSyntax -> = z.nativeEnum(EditRouteSrcSyntax); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteSrcSyntax)); /** @internal */ export type EditRouteHeaders$Outbound = {}; @@ -560,7 +560,7 @@ export const EditRouteHeaders$outboundSchema: z.ZodType< EditRouteHeaders$Outbound, z.ZodTypeDef, EditRouteHeaders -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function editRouteHeadersToJSON( editRouteHeaders: EditRouteHeaders, @@ -573,7 +573,7 @@ export function editRouteHeadersToJSON( /** @internal */ export const EditRouteType$outboundSchema: z.ZodNativeEnum< typeof EditRouteType -> = z.nativeEnum(EditRouteType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteType)); /** @internal */ export type EditRouteHas$Outbound = { @@ -587,11 +587,13 @@ export const EditRouteHas$outboundSchema: z.ZodType< EditRouteHas$Outbound, z.ZodTypeDef, EditRouteHas -> = z.object({ - type: EditRouteType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: EditRouteType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function editRouteHasToJSON(editRouteHas: EditRouteHas): string { return JSON.stringify(EditRouteHas$outboundSchema.parse(editRouteHas)); @@ -600,7 +602,7 @@ export function editRouteHasToJSON(editRouteHas: EditRouteHas): string { /** @internal */ export const EditRouteProjectRoutesType$outboundSchema: z.ZodNativeEnum< typeof EditRouteProjectRoutesType -> = z.nativeEnum(EditRouteProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteProjectRoutesType)); /** @internal */ export type EditRouteMissing$Outbound = { @@ -614,11 +616,13 @@ export const EditRouteMissing$outboundSchema: z.ZodType< EditRouteMissing$Outbound, z.ZodTypeDef, EditRouteMissing -> = z.object({ - type: EditRouteProjectRoutesType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: EditRouteProjectRoutesType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function editRouteMissingToJSON( editRouteMissing: EditRouteMissing, @@ -631,11 +635,13 @@ export function editRouteMissingToJSON( /** @internal */ export const EditRouteProjectRoutesRequestType$outboundSchema: z.ZodNativeEnum< typeof EditRouteProjectRoutesRequestType -> = z.nativeEnum(EditRouteProjectRoutesRequestType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditRouteProjectRoutesRequestType) +); /** @internal */ -export const EditRouteOp$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(EditRouteOp); +export const EditRouteOp$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteOp)); /** @internal */ export type EditRouteTarget$Outbound = {}; @@ -645,7 +651,7 @@ export const EditRouteTarget$outboundSchema: z.ZodType< EditRouteTarget$Outbound, z.ZodTypeDef, EditRouteTarget -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function editRouteTargetToJSON( editRouteTarget: EditRouteTarget, @@ -667,13 +673,15 @@ export const EditRouteTransforms$outboundSchema: z.ZodType< EditRouteTransforms$Outbound, z.ZodTypeDef, EditRouteTransforms -> = z.object({ - type: EditRouteProjectRoutesRequestType$outboundSchema.optional(), - op: EditRouteOp$outboundSchema.optional(), - target: z.lazy(() => EditRouteTarget$outboundSchema).optional(), - args: z.any().optional(), - env: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: EditRouteProjectRoutesRequestType$outboundSchema.optional(), + op: EditRouteOp$outboundSchema.optional(), + target: z.lazy(() => EditRouteTarget$outboundSchema).optional(), + args: z.any().optional(), + env: z.array(z.string()).optional(), + }) +); export function editRouteTransformsToJSON( editRouteTransforms: EditRouteTransforms, @@ -701,18 +709,20 @@ export const EditRouteProjectRoutesRoute$outboundSchema: z.ZodType< EditRouteProjectRoutesRoute$Outbound, z.ZodTypeDef, EditRouteProjectRoutesRoute -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.lazy(() => EditRouteHeaders$outboundSchema).optional(), - caseSensitive: z.boolean().optional(), - status: z.number().int().optional(), - has: z.array(z.lazy(() => EditRouteHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => EditRouteMissing$outboundSchema)).optional(), - transforms: z.array(z.lazy(() => EditRouteTransforms$outboundSchema)) - .optional(), - respectOriginCacheControl: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.lazy(() => EditRouteHeaders$outboundSchema).optional(), + caseSensitive: z.boolean().optional(), + status: z.number().int().optional(), + has: z.array(z.lazy(() => EditRouteHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => EditRouteMissing$outboundSchema)).optional(), + transforms: z.array(z.lazy(() => EditRouteTransforms$outboundSchema)) + .optional(), + respectOriginCacheControl: z.boolean().optional(), + }) +); export function editRouteProjectRoutesRouteToJSON( editRouteProjectRoutesRoute: EditRouteProjectRoutesRoute, @@ -738,13 +748,15 @@ export const EditRouteRoute$outboundSchema: z.ZodType< EditRouteRoute$Outbound, z.ZodTypeDef, EditRouteRoute -> = z.object({ - name: z.string(), - description: z.string().optional(), - enabled: z.boolean().optional(), - srcSyntax: EditRouteSrcSyntax$outboundSchema.optional(), - route: z.lazy(() => EditRouteProjectRoutesRoute$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + enabled: z.boolean().optional(), + srcSyntax: EditRouteSrcSyntax$outboundSchema.optional(), + route: z.lazy(() => EditRouteProjectRoutesRoute$outboundSchema), + }) +); export function editRouteRouteToJSON(editRouteRoute: EditRouteRoute): string { return JSON.stringify(EditRouteRoute$outboundSchema.parse(editRouteRoute)); @@ -761,10 +773,12 @@ export const EditRouteRequestBody$outboundSchema: z.ZodType< EditRouteRequestBody$Outbound, z.ZodTypeDef, EditRouteRequestBody -> = z.object({ - route: z.lazy(() => EditRouteRoute$outboundSchema).optional(), - restore: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + route: z.lazy(() => EditRouteRoute$outboundSchema).optional(), + restore: z.boolean().optional(), + }) +); export function editRouteRequestBodyToJSON( editRouteRequestBody: EditRouteRequestBody, @@ -788,17 +802,19 @@ export const EditRouteRequest$outboundSchema: z.ZodType< EditRouteRequest$Outbound, z.ZodTypeDef, EditRouteRequest -> = z.object({ - projectId: z.string(), - routeId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => EditRouteRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + routeId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => EditRouteRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function editRouteRequestToJSON( editRouteRequest: EditRouteRequest, @@ -811,18 +827,20 @@ export function editRouteRequestToJSON( /** @internal */ export const EditRouteDestinationType$inboundSchema: z.ZodNativeEnum< typeof EditRouteDestinationType -> = z.nativeEnum(EditRouteDestinationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteDestinationType)); /** @internal */ export const EditRouteDestination2$inboundSchema: z.ZodType< EditRouteDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(EditRouteDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(EditRouteDestinationType$inboundSchema), + }) +); export function editRouteDestination2FromJSON( jsonString: string, @@ -839,10 +857,12 @@ export const EditRouteDestination$inboundSchema: z.ZodType< EditRouteDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => EditRouteDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => EditRouteDestination2$inboundSchema), + types.string(), + ]) +); export function editRouteDestinationFromJSON( jsonString: string, @@ -857,14 +877,18 @@ export function editRouteDestinationFromJSON( /** @internal */ export const EditRouteHasProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof EditRouteHasProjectRoutesType -> = z.nativeEnum(EditRouteHasProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditRouteHasProjectRoutesType) +); /** @internal */ export const EditRouteValueProjectRoutesEq$inboundSchema: z.ZodType< EditRouteValueProjectRoutesEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function editRouteValueProjectRoutesEqFromJSON( jsonString: string, @@ -881,19 +905,21 @@ export const EditRouteValueProjectRoutes2$inboundSchema: z.ZodType< EditRouteValueProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function editRouteValueProjectRoutes2FromJSON( jsonString: string, @@ -910,10 +936,12 @@ export const EditRouteHasProjectRoutesValue$inboundSchema: z.ZodType< EditRouteHasProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => EditRouteValueProjectRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => EditRouteValueProjectRoutes2$inboundSchema), + ]) +); export function editRouteHasProjectRoutesValueFromJSON( jsonString: string, @@ -930,16 +958,16 @@ export const EditRouteHas2$inboundSchema: z.ZodType< EditRouteHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: EditRouteHasProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: EditRouteHasProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => EditRouteValueProjectRoutes2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function editRouteHas2FromJSON( jsonString: string, @@ -956,7 +984,9 @@ export const EditRouteValueEq$inboundSchema: z.ZodType< EditRouteValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function editRouteValueEqFromJSON( jsonString: string, @@ -973,19 +1003,21 @@ export const EditRouteValue2$inboundSchema: z.ZodType< EditRouteValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function editRouteValue2FromJSON( jsonString: string, @@ -1002,7 +1034,9 @@ export const EditRouteHasValue$inboundSchema: z.ZodType< EditRouteHasValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => EditRouteValue2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => EditRouteValue2$inboundSchema)]) +); export function editRouteHasValueFromJSON( jsonString: string, @@ -1019,13 +1053,15 @@ export const EditRouteHas1$inboundSchema: z.ZodType< EditRouteHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => EditRouteValue2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => EditRouteValue2$inboundSchema), + ]), + }) +); export function editRouteHas1FromJSON( jsonString: string, @@ -1042,18 +1078,20 @@ export const EditRouteProjectRoutesHas$inboundSchema: z.ZodType< EditRouteProjectRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => EditRouteHas1$inboundSchema), - z.lazy(() => EditRouteHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => EditRouteHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => EditRouteHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => EditRouteHas1$inboundSchema), + z.lazy(() => EditRouteHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => EditRouteHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => EditRouteHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function editRouteProjectRoutesHasFromJSON( jsonString: string, @@ -1070,10 +1108,12 @@ export const EditRouteLocale$inboundSchema: z.ZodType< EditRouteLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function editRouteLocaleFromJSON( jsonString: string, @@ -1088,14 +1128,18 @@ export function editRouteLocaleFromJSON( /** @internal */ export const EditRouteMissingProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof EditRouteMissingProjectRoutesType -> = z.nativeEnum(EditRouteMissingProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditRouteMissingProjectRoutesType) +); /** @internal */ export const EditRouteValueProjectRoutesResponse200Eq$inboundSchema: z.ZodType< EditRouteValueProjectRoutesResponse200Eq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function editRouteValueProjectRoutesResponse200EqFromJSON( jsonString: string, @@ -1118,19 +1162,21 @@ export const EditRouteValueProjectRoutesResponse2002$inboundSchema: z.ZodType< EditRouteValueProjectRoutesResponse2002, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function editRouteValueProjectRoutesResponse2002FromJSON( jsonString: string, @@ -1153,10 +1199,12 @@ export const EditRouteMissingProjectRoutesValue$inboundSchema: z.ZodType< EditRouteMissingProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => EditRouteValueProjectRoutesResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => EditRouteValueProjectRoutesResponse2002$inboundSchema), + ]) +); export function editRouteMissingProjectRoutesValueFromJSON( jsonString: string, @@ -1174,16 +1222,16 @@ export const EditRouteMissing2$inboundSchema: z.ZodType< EditRouteMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: EditRouteMissingProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: EditRouteMissingProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => EditRouteValueProjectRoutesResponse2002$inboundSchema), - ]), - ), -}); + ])), + }) +); export function editRouteMissing2FromJSON( jsonString: string, @@ -1200,7 +1248,9 @@ export const EditRouteValueProjectRoutesResponseEq$inboundSchema: z.ZodType< EditRouteValueProjectRoutesResponseEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function editRouteValueProjectRoutesResponseEqFromJSON( jsonString: string, @@ -1218,19 +1268,21 @@ export const EditRouteValueProjectRoutesResponse2$inboundSchema: z.ZodType< EditRouteValueProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function editRouteValueProjectRoutesResponse2FromJSON( jsonString: string, @@ -1248,10 +1300,12 @@ export const EditRouteMissingValue$inboundSchema: z.ZodType< EditRouteMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => EditRouteValueProjectRoutesResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => EditRouteValueProjectRoutesResponse2$inboundSchema), + ]) +); export function editRouteMissingValueFromJSON( jsonString: string, @@ -1268,13 +1322,15 @@ export const EditRouteMissing1$inboundSchema: z.ZodType< EditRouteMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => EditRouteValueProjectRoutesResponse2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => EditRouteValueProjectRoutesResponse2$inboundSchema), + ]), + }) +); export function editRouteMissing1FromJSON( jsonString: string, @@ -1291,18 +1347,20 @@ export const EditRouteProjectRoutesMissing$inboundSchema: z.ZodType< EditRouteProjectRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => EditRouteMissing1$inboundSchema), - z.lazy(() => EditRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => EditRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => EditRouteMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => EditRouteMissing1$inboundSchema), + z.lazy(() => EditRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => EditRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => EditRouteMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function editRouteProjectRoutesMissingFromJSON( jsonString: string, @@ -1317,16 +1375,18 @@ export function editRouteProjectRoutesMissingFromJSON( /** @internal */ export const EditRouteAction$inboundSchema: z.ZodNativeEnum< typeof EditRouteAction -> = z.nativeEnum(EditRouteAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteAction)); /** @internal */ export const EditRouteMitigate$inboundSchema: z.ZodType< EditRouteMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: EditRouteAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: EditRouteAction$inboundSchema, + }) +); export function editRouteMitigateFromJSON( jsonString: string, @@ -1341,20 +1401,24 @@ export function editRouteMitigateFromJSON( /** @internal */ export const EditRouteTransformsProjectRoutesOp$inboundSchema: z.ZodNativeEnum< typeof EditRouteTransformsProjectRoutesOp -> = z.nativeEnum(EditRouteTransformsProjectRoutesOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditRouteTransformsProjectRoutesOp) +); /** @internal */ export const EditRouteTransforms2$inboundSchema: z.ZodType< EditRouteTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: EditRouteTransformsProjectRoutesOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: EditRouteTransformsProjectRoutesOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function editRouteTransforms2FromJSON( jsonString: string, @@ -1371,7 +1435,9 @@ export const EditRouteTransformsArgs$inboundSchema: z.ZodType< EditRouteTransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function editRouteTransformsArgsFromJSON( jsonString: string, @@ -1386,14 +1452,16 @@ export function editRouteTransformsArgsFromJSON( /** @internal */ export const EditRouteTransformsOp$inboundSchema: z.ZodNativeEnum< typeof EditRouteTransformsOp -> = z.nativeEnum(EditRouteTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteTransformsOp)); /** @internal */ export const EditRouteKeyEq$inboundSchema: z.ZodType< EditRouteKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function editRouteKeyEqFromJSON( jsonString: string, @@ -1410,18 +1478,20 @@ export const EditRouteKey2$inboundSchema: z.ZodType< EditRouteKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function editRouteKey2FromJSON( jsonString: string, @@ -1438,7 +1508,9 @@ export const EditRouteTransformsKey$inboundSchema: z.ZodType< EditRouteTransformsKey, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => EditRouteKey2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => EditRouteKey2$inboundSchema)]) +); export function editRouteTransformsKeyFromJSON( jsonString: string, @@ -1455,9 +1527,14 @@ export const EditRouteTransformsTarget$inboundSchema: z.ZodType< EditRouteTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([types.string(), z.lazy(() => EditRouteKey2$inboundSchema)]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => EditRouteKey2$inboundSchema), + ]), + }) +); export function editRouteTransformsTargetFromJSON( jsonString: string, @@ -1472,20 +1549,22 @@ export function editRouteTransformsTargetFromJSON( /** @internal */ export const EditRouteTransformsType$inboundSchema: z.ZodNativeEnum< typeof EditRouteTransformsType -> = z.nativeEnum(EditRouteTransformsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteTransformsType)); /** @internal */ export const EditRouteTransforms1$inboundSchema: z.ZodType< EditRouteTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: EditRouteTransformsOp$inboundSchema, - target: z.lazy(() => EditRouteTransformsTarget$inboundSchema), - type: EditRouteTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: EditRouteTransformsOp$inboundSchema, + target: z.lazy(() => EditRouteTransformsTarget$inboundSchema), + type: EditRouteTransformsType$inboundSchema, + }) +); export function editRouteTransforms1FromJSON( jsonString: string, @@ -1502,18 +1581,20 @@ export const EditRouteProjectRoutesTransforms$inboundSchema: z.ZodType< EditRouteProjectRoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => EditRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => EditRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => EditRouteTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => EditRouteTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => EditRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => EditRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => EditRouteTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => EditRouteTransforms2$inboundSchema), + ]) +); export function editRouteProjectRoutesTransformsFromJSON( jsonString: string, @@ -1530,20 +1611,18 @@ export const EditRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< EditRouteProjectRoutesResponse200Route, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => EditRouteDestination2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => EditRouteHas1$inboundSchema), z.lazy(() => EditRouteHas2$inboundSchema @@ -1554,17 +1633,17 @@ export const EditRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.lazy(() => EditRouteHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => EditRouteLocale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + EditRouteLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => EditRouteMissing1$inboundSchema), z.lazy(() => EditRouteMissing2$inboundSchema @@ -1575,17 +1654,17 @@ export const EditRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.lazy(() => EditRouteMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional(z.lazy(() => EditRouteMitigate$inboundSchema)), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + EditRouteMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => EditRouteTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -1596,9 +1675,9 @@ export const EditRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => EditRouteTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function editRouteProjectRoutesResponse200RouteFromJSON( jsonString: string, @@ -1614,30 +1693,34 @@ export function editRouteProjectRoutesResponse200RouteFromJSON( /** @internal */ export const EditRouteRouteType$inboundSchema: z.ZodNativeEnum< typeof EditRouteRouteType -> = z.nativeEnum(EditRouteRouteType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EditRouteRouteType)); /** @internal */ export const EditRouteProjectRoutesSrcSyntax$inboundSchema: z.ZodNativeEnum< typeof EditRouteProjectRoutesSrcSyntax -> = z.nativeEnum(EditRouteProjectRoutesSrcSyntax); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(EditRouteProjectRoutesSrcSyntax) +); /** @internal */ export const EditRouteProjectRoutesResponseRoute$inboundSchema: z.ZodType< EditRouteProjectRoutesResponseRoute, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - enabled: types.optional(types.boolean()), - id: types.string(), - name: types.string(), - rawDest: types.optional(types.string()), - rawSrc: types.optional(types.string()), - route: z.lazy(() => EditRouteProjectRoutesResponse200Route$inboundSchema), - routeType: types.optional(EditRouteRouteType$inboundSchema), - srcSyntax: types.optional(EditRouteProjectRoutesSrcSyntax$inboundSchema), - staged: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + enabled: types.optional(types.boolean()), + id: types.string(), + name: types.string(), + rawDest: types.optional(types.string()), + rawSrc: types.optional(types.string()), + route: z.lazy(() => EditRouteProjectRoutesResponse200Route$inboundSchema), + routeType: types.optional(EditRouteRouteType$inboundSchema), + srcSyntax: types.optional(EditRouteProjectRoutesSrcSyntax$inboundSchema), + staged: types.optional(types.boolean()), + }) +); export function editRouteProjectRoutesResponseRouteFromJSON( jsonString: string, @@ -1655,16 +1738,18 @@ export const EditRouteVersion$inboundSchema: z.ZodType< EditRouteVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function editRouteVersionFromJSON( jsonString: string, @@ -1681,12 +1766,14 @@ export const EditRouteResponseBody$inboundSchema: z.ZodType< EditRouteResponseBody, z.ZodTypeDef, unknown -> = z.object({ - route: types.optional( - z.lazy(() => EditRouteProjectRoutesResponseRoute$inboundSchema), - ), - version: z.lazy(() => EditRouteVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + route: types.optional( + z.lazy(() => EditRouteProjectRoutesResponseRoute$inboundSchema), + ), + version: z.lazy(() => EditRouteVersion$inboundSchema), + }) +); export function editRouteResponseBodyFromJSON( jsonString: string, diff --git a/src/models/usereventpayloadresources.ts b/src/models/eightytwo.ts similarity index 70% rename from src/models/usereventpayloadresources.ts rename to src/models/eightytwo.ts index f677aff6bf..bffd768cf7 100644 --- a/src/models/usereventpayloadresources.ts +++ b/src/models/eightytwo.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -12,12 +13,8 @@ import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { - CommitInfo, - CommitInfo$inboundSchema, Job10, Job10$inboundSchema, - Job5, - Job5$inboundSchema, Job6, Job6$inboundSchema, Job7, @@ -26,11 +23,79 @@ import { Job8$inboundSchema, Job9, Job9$inboundSchema, - UserEventJobCommitVerification, - UserEventJobCommitVerification$inboundSchema, - UserEventJobPayloadDeployHook, - UserEventJobPayloadDeployHook$inboundSchema, -} from "./usereventjobpayloaddeployhook.js"; + UserEventJobPayload137GitComments, + UserEventJobPayload137GitComments$inboundSchema, +} from "./usereventjobpayload137gitcomments.js"; + +/** + * Information about the head commit/branch for a GitHub repository + */ +export type UserEventJobPayload137HeadInfo = { + org: string; + ref: string; + repo: string; + repoId: number; + sha: string; +}; + +export const UserEventJobPayload1375Provider = { + Github: "github", + GithubCustomHost: "github-custom-host", + GithubLimited: "github-limited", +} as const; +export type UserEventJobPayload1375Provider = ClosedEnum< + typeof UserEventJobPayload1375Provider +>; + +export type Job5 = { + beforeSha?: string | undefined; + createdAt?: number | undefined; + customEnvId?: any | null | undefined; + customHost?: string | undefined; + eventful?: boolean | undefined; + gitComments?: UserEventJobPayload137GitComments | undefined; + /** + * Information about the head commit/branch for a GitHub repository + */ + headInfo: UserEventJobPayload137HeadInfo; + installationId: number; + isPrivate: boolean; + linkedProjectId?: string | undefined; + org: string; + prId: number; + projectId?: any | null | undefined; + provider: UserEventJobPayload1375Provider; + repo: string; + repoId: number; + type: "now-comment"; +}; + +export type CommitInfo = { + earliestSha?: string | undefined; + total: number; +}; + +/** + * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported + */ +export const UserEventJobCommitVerification = { + Unknown: "unknown", + Unverified: "unverified", + Verified: "verified", +} as const; +/** + * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported + */ +export type UserEventJobCommitVerification = ClosedEnum< + typeof UserEventJobCommitVerification +>; + +export type UserEventJobPayloadDeployHook = { + createdAt: number; + id: string; + name: string; + ref: string; +}; /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. @@ -103,13 +168,13 @@ export type UserEventJobNsnbSideEffect = { gitUserLogin: string; }; -export const UserEventJobPayload136Provider = { +export const UserEventJobPayload137Provider = { Github: "github", GithubCustomHost: "github-custom-host", GithubLimited: "github-limited", } as const; -export type UserEventJobPayload136Provider = ClosedEnum< - typeof UserEventJobPayload136Provider +export type UserEventJobPayload137Provider = ClosedEnum< + typeof UserEventJobPayload137Provider >; export type Job4 = { @@ -181,7 +246,7 @@ export type Job4 = { */ prIdOrZero?: number | undefined; projectId?: string | undefined; - provider: UserEventJobPayload136Provider; + provider: UserEventJobPayload137Provider; repo: string; repoId: number; repoPushedAt: number | null; @@ -585,7 +650,7 @@ export type PayloadJob = /** * The payload of the event, if requested. */ -export type OneHundredAndThirtySix = { +export type OneHundredAndThirtySeven = { job: Job1 | Job2 | Job3 | Job4 | Job5 | Job6 | Job7 | Job8 | Job9 | Job10; }; @@ -628,7 +693,7 @@ export type GitCredentialSource = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyFive = { +export type OneHundredAndThirtySix = { alias?: Array | undefined; deployment?: UserEventPayloadDeployment | null | undefined; deploymentId?: string | undefined; @@ -647,7 +712,7 @@ export type OneHundredAndThirtyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyThree = { +export type OneHundredAndThirtyFour = { checkId: string; checkName: string; projectId: string; @@ -666,22 +731,22 @@ export type Job = { state: string; }; -export type UserEventPayload132Project = { +export type UserEventPayload133Project = { name: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyTwo = { +export type OneHundredAndThirtyThree = { job: Job; - project: UserEventPayload132Project; + project: UserEventPayload133Project; }; /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyOne = { +export type OneHundredAndThirtyTwo = { hookName: string; projectId: string; projectName: string; @@ -756,14 +821,14 @@ export type PayloadCve55182MigrationAppliedFrom = ClosedEnum< typeof PayloadCve55182MigrationAppliedFrom >; -export const UserEventPayload130DeploymentType = { +export const UserEventPayload131DeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload130DeploymentType = ClosedEnum< - typeof UserEventPayload130DeploymentType +export type UserEventPayload131DeploymentType = ClosedEnum< + typeof UserEventPayload131DeploymentType >; export type UserEventPayloadSsoProtection = { @@ -775,30 +840,30 @@ export type UserEventPayloadSsoProtection = { | PayloadCve55182MigrationAppliedFrom | null | undefined; - deploymentType: UserEventPayload130DeploymentType; + deploymentType: UserEventPayload131DeploymentType; }; /** * The payload of the event, if requested. */ -export type OneHundredAndThirty = { +export type OneHundredAndThirtyOne = { oldSsoProtection: OldSsoProtection | null; scope: UserEventPayloadScope; ssoProtection: UserEventPayloadSsoProtection | null; }; -export const UserEventPayload129DeploymentType = { +export const UserEventPayload130DeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload129DeploymentType = ClosedEnum< - typeof UserEventPayload129DeploymentType +export type UserEventPayload130DeploymentType = ClosedEnum< + typeof UserEventPayload130DeploymentType >; export type OldPasswordProtection = { - deploymentType: UserEventPayload129DeploymentType; + deploymentType: UserEventPayload130DeploymentType; }; export const PayloadDeploymentType = { @@ -821,7 +886,7 @@ export type PayloadScope = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyNine = { +export type OneHundredAndThirty = { oldPasswordProtection: OldPasswordProtection | null; passwordChanged?: boolean | undefined; passwordProtection: UserEventPayloadPasswordProtection | null; @@ -831,14 +896,14 @@ export type OneHundredAndTwentyNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyEight = { +export type OneHundredAndTwentyNine = { suffix: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndTwentySeven = { +export type OneHundredAndTwentyEight = { status: string; suffix: string; }; @@ -846,7 +911,7 @@ export type OneHundredAndTwentySeven = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentySix = { +export type OneHundredAndTwentySeven = { reason?: string | undefined; suffix: string; }; @@ -854,12 +919,12 @@ export type OneHundredAndTwentySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyFive = { +export type OneHundredAndTwentySix = { metricName: string; additionalProperties?: { [k: string]: any } | undefined; }; -export type UserEventPayload124Project = { +export type UserEventPayload125Project = { id: string; name: string; }; @@ -867,16 +932,16 @@ export type UserEventPayload124Project = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyFour = { +export type OneHundredAndTwentyFive = { prevPurchasedAmount: number; - project: UserEventPayload124Project; + project: UserEventPayload125Project; purchasedAmount: number; }; /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyThree = { +export type OneHundredAndTwentyFour = { bitbucketAccountId: string; bitbucketLogin: string; }; @@ -884,7 +949,7 @@ export type OneHundredAndTwentyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyTwo = { +export type OneHundredAndTwentyThree = { bitbucketEmail: string; bitbucketLogin: string; bitbucketName?: string | undefined; @@ -893,7 +958,7 @@ export type OneHundredAndTwentyTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyOne = { +export type OneHundredAndTwentyTwo = { gitlabLogin: string; gitlabUserId: number; }; @@ -901,7 +966,7 @@ export type OneHundredAndTwentyOne = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwenty = { +export type OneHundredAndTwentyOne = { gitlabEmail: string; gitlabLogin: string; gitlabName?: string | undefined; @@ -912,7 +977,7 @@ export type OneHundredAndTwenty = { /** * The payload of the event, if requested. */ -export type OneHundredAndNineteen = { +export type OneHundredAndTwenty = { githubLogin: string; host: string; }; @@ -920,24 +985,24 @@ export type OneHundredAndNineteen = { /** * The payload of the event, if requested. */ -export type OneHundredAndEighteen = { +export type OneHundredAndNineteen = { githubLogin: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndSeventeen = { +export type OneHundredAndEighteen = { githubLogin: string; host?: string | undefined; }; -export type UserEventPayload116Configuration = { +export type UserEventPayload117Configuration = { id: string; name?: string | undefined; }; -export type UserEventPayload116Team = { +export type UserEventPayload117Team = { id: string; name: string; }; @@ -945,18 +1010,18 @@ export type UserEventPayload116Team = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixteen = { - configuration: UserEventPayload116Configuration; +export type OneHundredAndSeventeen = { + configuration: UserEventPayload117Configuration; newName: string; - team: UserEventPayload116Team; + team: UserEventPayload117Team; }; -export type UserEventPayload115Configuration = { +export type UserEventPayload116Configuration = { id: string; name?: string | undefined; }; -export type UserEventPayload115Project = { +export type UserEventPayload116Project = { id: string; name?: string | undefined; }; @@ -969,9 +1034,9 @@ export type UserEventPayloadTeam = { /** * The payload of the event, if requested. */ -export type OneHundredAndFifteen = { - configuration: UserEventPayload115Configuration; - project: UserEventPayload115Project; +export type OneHundredAndSixteen = { + configuration: UserEventPayload116Configuration; + project: UserEventPayload116Project; team: UserEventPayloadTeam; }; @@ -980,7 +1045,7 @@ export type UserEventPayloadConfiguration = { name?: string | undefined; }; -export type UserEventPayload114Project = { +export type UserEventPayload115Project = { id: string; name?: string | undefined; }; @@ -993,11 +1058,11 @@ export type PayloadTeam = { /** * The payload of the event, if requested. */ -export type OneHundredAndFourteen = { +export type OneHundredAndFifteen = { buildsEnabled?: boolean | undefined; configuration: UserEventPayloadConfiguration; passive?: boolean | undefined; - project: UserEventPayload114Project; + project: UserEventPayload115Project; team: PayloadTeam; }; @@ -1006,12 +1071,12 @@ export type PayloadConfiguration = { name?: string | undefined; }; -export type UserEventPayload113Project = { +export type UserEventPayload114Project = { id: string; name?: string | undefined; }; -export type UserEventPayload113Team = { +export type UserEventPayload114Team = { id: string; name: string; }; @@ -1019,11 +1084,11 @@ export type UserEventPayload113Team = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirteen = { +export type OneHundredAndFourteen = { buildsEnabled?: boolean | undefined; configuration: PayloadConfiguration; - project: UserEventPayload113Project; - team: UserEventPayload113Team; + project: UserEventPayload114Project; + team: UserEventPayload114Team; }; export type Configuration = { @@ -1034,7 +1099,7 @@ export type Configuration = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwelve = { +export type OneHundredAndThirteen = { configuration: Configuration; }; @@ -1051,7 +1116,7 @@ export type Documents = { /** * The payload of the event, if requested. */ -export type OneHundredAndEleven = { +export type OneHundredAndTwelve = { count: number; documents: Array; }; @@ -1059,7 +1124,7 @@ export type OneHundredAndEleven = { /** * The payload of the event, if requested. */ -export type OneHundredAndTen = { +export type OneHundredAndEleven = { documentId: string; fingerprint: string; slug: string; @@ -1079,7 +1144,7 @@ export type PayloadPrevious = { /** * The payload of the event, if requested. */ -export type OneHundredAndNine = { +export type OneHundredAndTen = { gitOwnerName: string; gitRepositoryName: string; next: PayloadNext; @@ -1089,7 +1154,7 @@ export type OneHundredAndNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndEight = { +export type OneHundredAndNine = { /** * Stable GitHub user id. */ @@ -1101,6 +1166,10 @@ export type OneHundredAndEight = { gitOwnerName: string; gitRepositoryName: string; headSha: string; + /** + * The actor opted in on their own pull request instead of approving it. + */ + isAuthor?: boolean | undefined; prNumber: number; reviewUrl: string; /** @@ -1112,7 +1181,7 @@ export type OneHundredAndEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeven = { +export type OneHundredAndEight = { cn?: string | undefined; cns?: Array | undefined; }; @@ -1120,7 +1189,7 @@ export type OneHundredAndSeven = { /** * The payload of the event, if requested. */ -export type OneHundredAndSix = { +export type OneHundredAndSeven = { cn?: string | undefined; cns?: Array | undefined; id: string; @@ -1129,7 +1198,7 @@ export type OneHundredAndSix = { /** * The payload of the event, if requested. */ -export type OneHundredAndFive = { +export type OneHundredAndSix = { dst: string; src: string; }; @@ -1145,7 +1214,7 @@ export type PayloadOldTeam = { /** * The payload of the event, if requested. */ -export type OneHundredAndFour = { +export type OneHundredAndFive = { id: string; newTeam?: PayloadNewTeam | undefined; oldTeam?: PayloadOldTeam | undefined; @@ -1154,7 +1223,7 @@ export type OneHundredAndFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndThree = { +export type OneHundredAndFour = { cn?: string | undefined; cns?: Array | undefined; id?: string | undefined; @@ -1163,7 +1232,7 @@ export type OneHundredAndThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwo = { +export type OneHundredAndThree = { cns: Array; custom: boolean; id: string; @@ -1172,14 +1241,14 @@ export type OneHundredAndTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndOne = { +export type OneHundredAndTwo = { cn?: string | undefined; cns?: Array | undefined; custom: boolean; id?: string | undefined; }; -export type UserEventPayload100Project = { +export type UserEventPayload101Project = { id: string; name: string; }; @@ -1187,8 +1256,8 @@ export type UserEventPayload100Project = { /** * The payload of the event, if requested. */ -export type OneHundred = { - project: UserEventPayload100Project; +export type OneHundredAndOne = { + project: UserEventPayload101Project; versionId: string; }; @@ -1200,7 +1269,7 @@ export type UserEventPayloadProject = { /** * The payload of the event, if requested. */ -export type NinetyNine = { +export type OneHundred = { bulkRedirectsLimit: number; prevBulkRedirectsLimit: number; project: UserEventPayloadProject; @@ -1209,32 +1278,32 @@ export type NinetyNine = { /** * The payload of the event, if requested. */ -export type NinetyEight = { +export type NinetyNine = { subscriptionId?: string | undefined; productAliases: Array; }; -export const UserEventPayload97Action = { +export const UserEventPayload98Action = { Mutate: "mutate", } as const; -export type UserEventPayload97Action = ClosedEnum< - typeof UserEventPayload97Action +export type UserEventPayload98Action = ClosedEnum< + typeof UserEventPayload98Action >; /** * The payload of the event, if requested. */ -export type NinetySeven = { +export type NinetyEight = { subscriptionId?: string | undefined; - action: UserEventPayload97Action; + action: UserEventPayload98Action; data: { [k: string]: any }; }; -export const UserEventPayload96Action = { +export const UserEventPayload97Action = { ResumePlan: "resume_plan", } as const; -export type UserEventPayload96Action = ClosedEnum< - typeof UserEventPayload96Action +export type UserEventPayload97Action = ClosedEnum< + typeof UserEventPayload97Action >; export const PlanSlug = { @@ -1250,17 +1319,17 @@ export type PayloadData = { /** * The payload of the event, if requested. */ -export type NinetySix = { +export type NinetySeven = { subscriptionId?: string | undefined; - action: UserEventPayload96Action; + action: UserEventPayload97Action; data: PayloadData; }; -export const UserEventPayload95Action = { +export const UserEventPayload96Action = { CancelPlan: "cancel_plan", } as const; -export type UserEventPayload95Action = ClosedEnum< - typeof UserEventPayload95Action +export type UserEventPayload96Action = ClosedEnum< + typeof UserEventPayload96Action >; export type Data2 = { @@ -1291,9 +1360,9 @@ export type UserEventPayloadData = /** * The payload of the event, if requested. */ -export type NinetyFive = { +export type NinetySix = { subscriptionId?: string | undefined; - action: UserEventPayload95Action; + action: UserEventPayload96Action; data: | (Data1 & { planSlug: "v0_business" }) | (Data1 & { planSlug: "v0_teams" }) @@ -1303,7 +1372,7 @@ export type NinetyFive = { /** * The payload of the event, if requested. */ -export type NinetyFour = { +export type NinetyFive = { subscriptionId?: string | undefined; planSlug: string; }; @@ -1323,14 +1392,14 @@ export type UserEventPayloadChangedFields = ClosedEnum< /** * The payload of the event, if requested. */ -export type NinetyThree = { +export type NinetyFour = { changedFields: Array; }; /** * The payload of the event, if requested. */ -export type NinetyTwo = { +export type NinetyThree = { brand?: string | undefined; last4?: string | undefined; paymentMethodId: string; @@ -1339,7 +1408,7 @@ export type NinetyTwo = { /** * The payload of the event, if requested. */ -export type NinetyOne = { +export type NinetyTwo = { paymentMethodId: string; subscriptionId: string; }; @@ -1347,7 +1416,7 @@ export type NinetyOne = { /** * The payload of the event, if requested. */ -export type Ninety = { +export type NinetyOne = { subscriptionId: string; }; @@ -1362,7 +1431,7 @@ export type SettlementMethod = ClosedEnum; /** * The payload of the event, if requested. */ -export type EightyNine = { +export type Ninety = { amount: number; invoiceId: string; newInvoiceId: string; @@ -1372,7 +1441,7 @@ export type EightyNine = { /** * The payload of the event, if requested. */ -export type EightyEight = { +export type EightyNine = { amount: number; invoiceId: string; lineItemCount: number; @@ -1382,14 +1451,14 @@ export type EightyEight = { /** * The payload of the event, if requested. */ -export type EightySeven = { +export type EightyEight = { avatar?: string | undefined; }; /** * The payload of the event, if requested. */ -export type EightySix = { +export type EightySeven = { autoExposeSystemEnvs: boolean; projectId?: string | undefined; projectName: string; @@ -1398,7 +1467,7 @@ export type EightySix = { /** * The payload of the event, if requested. */ -export type EightyFive = { +export type EightySix = { attackModeActiveUntil?: number | null | undefined; attackModeEnabled: boolean; prevAttackModeActiveUntil?: number | null | undefined; @@ -1409,7 +1478,7 @@ export type EightyFive = { /** * The payload of the event, if requested. */ -export type EightyFour = { +export type EightyFive = { appId?: string | undefined; appName: string; organizationId?: string | undefined; @@ -1432,7 +1501,7 @@ export type App = { /** * The payload of the event, if requested. */ -export type EightyThree = { +export type EightyFour = { /** * Note that not all historical events have this field. */ @@ -1454,7 +1523,7 @@ export type EightyThree = { /** * The payload of the event, if requested. */ -export type EightyTwo = { +export type EightyThree = { appId?: string | undefined; appName: string; secretLastFourChars?: string | undefined; @@ -1553,21 +1622,21 @@ export const PayloadPermissions = { } as const; export type PayloadPermissions = ClosedEnum; -export const UserEventPayload81ResourcesType = { +export const UserEventPayload82ResourcesType = { String: "string", } as const; -export type UserEventPayload81ResourcesType = ClosedEnum< - typeof UserEventPayload81ResourcesType +export type UserEventPayload82ResourcesType = ClosedEnum< + typeof UserEventPayload82ResourcesType >; export type Items = { - type: UserEventPayload81ResourcesType; + type: UserEventPayload82ResourcesType; }; -export const UserEventPayload81Type = { +export const UserEventPayload82Type = { List: "list", } as const; -export type UserEventPayload81Type = ClosedEnum; +export type UserEventPayload82Type = ClosedEnum; /** * Specific project IDs or all projects on the team (`['*']`). @@ -1575,7 +1644,7 @@ export type UserEventPayload81Type = ClosedEnum; export type PayloadProjectIds = { items: Items; required: true; - type: UserEventPayload81Type; + type: UserEventPayload82Type; }; export type Resources = { @@ -1588,7 +1657,7 @@ export type Resources = { /** * The payload of the event, if requested. */ -export type EightyOne = { +export type EightyTwo = { appId?: string | undefined; appName: string; organizationId?: string | undefined; @@ -1596,142 +1665,138 @@ export type EightyOne = { resources?: Resources | undefined; }; -export const UserEventPayload80Permissions = { - ManageSpeedInsights: "manage:speed-insights", - ManageWebAnalytics: "manage:web-analytics", - ReadWriteAccessGroup: "read-write:access-group", - ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key", - ReadWriteAiGatewayBudgets: "read-write:ai-gateway-budgets", - ReadWriteAiGatewayByokCredentials: "read-write:ai-gateway-byok-credentials", - ReadWriteAiGatewayGuardrails: "read-write:ai-gateway-guardrails", - ReadWriteAiGatewayPrivateModels: "read-write:ai-gateway-private-models", - ReadWriteAiGatewayRules: "read-write:ai-gateway-rules", - ReadWriteAiGatewayVirtualModelConfigs: - "read-write:ai-gateway-virtual-model-configs", - ReadWriteAlerts: "read-write:alerts", - ReadWriteAutomations: "read-write:automations", - ReadWriteBilling: "read-write:billing", - ReadWriteBlob: "read-write:blob", - ReadWriteConnect: "read-write:connect", - ReadWriteConnectAnyUserToken: "read-write:connect-any-user-token", - ReadWriteConnectAppToken: "read-write:connect-app-token", - ReadWriteDeployment: "read-write:deployment", - ReadWriteDomain: "read-write:domain", - ReadWriteDomainRegistrar: "read-write:domain-registrar", - ReadWriteDrains: "read-write:drains", - ReadWriteDrive: "read-write:drive", - ReadWriteEdgeCache: "read-write:edge-cache", - ReadWriteEdgeConfig: "read-write:edge-config", - ReadWriteFirewall: "read-write:firewall", - ReadWriteIntegrationConfiguration: "read-write:integration-configuration", - ReadWriteIntegrationResource: "read-write:integration-resource", - ReadWriteKms: "read-write:kms", - ReadWriteMessageboard: "read-write:messageboard", - ReadWriteProject: "read-write:project", - ReadWriteProjectEnvVars: "read-write:project-env-vars", - ReadWriteProjectEnvVarsNonProduction: - "read-write:project-env-vars-non-production", - ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production", - ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production", - ReadWriteProjectFlagsProduction: "read-write:project-flags-production", - ReadWriteProjectMembers: "read-write:project-members", - ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass", - ReadWriteProjectTrustedSources: "read-write:project-trusted-sources", - ReadWriteRemoteCache: "read-write:remote-cache", - ReadWriteSandbox: "read-write:sandbox", - ReadWriteSchedule: "read-write:schedule", - ReadWriteTeamMembers: "read-write:team-members", - ReadWriteVcr: "read-write:vcr", - ReadWriteVercelCi: "read-write:vercel-ci", - ReadWriteWebhooks: "read-write:webhooks", - ReadAccessGroup: "read:access-group", - ReadAiGatewayBudgets: "read:ai-gateway-budgets", - ReadAiGatewayByokCredentials: "read:ai-gateway-byok-credentials", - ReadAiGatewayGuardrails: "read:ai-gateway-guardrails", - ReadAiGatewayPrivateModels: "read:ai-gateway-private-models", - ReadAiGatewayRules: "read:ai-gateway-rules", - ReadAiGatewayVirtualModelConfigs: "read:ai-gateway-virtual-model-configs", - ReadAlerts: "read:alerts", - ReadAuditLog: "read:audit-log", - ReadAutomations: "read:automations", - ReadBilling: "read:billing", - ReadConnect: "read:connect", - ReadDeployment: "read:deployment", - ReadDeploymentCheck: "read:deployment-check", - ReadDomain: "read:domain", - ReadDrive: "read:drive", - ReadEvent: "read:event", - ReadFirewall: "read:firewall", - ReadIntegrationConfiguration: "read:integration-configuration", - ReadIntegrationResource: "read:integration-resource", - ReadKms: "read:kms", - ReadMessageboard: "read:messageboard", - ReadMonitoring: "read:monitoring", - ReadProject: "read:project", - ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production", - ReadProjectEnvVarsProduction: "read:project-env-vars-production", - ReadProjectFlags: "read:project-flags", - ReadProjectMembers: "read:project-members", - ReadProjectTrustedSources: "read:project-trusted-sources", - ReadRemoteCache: "read:remote-cache", - ReadSandbox: "read:sandbox", - ReadSchedule: "read:schedule", - ReadSpeedInsights: "read:speed-insights", - ReadTeam: "read:team", - ReadVcr: "read:vcr", - ReadWebAnalytics: "read:web-analytics", - ReadWebhooks: "read:webhooks", - UseAiGateway: "use:ai-gateway", - UsePrivateNpm: "use:private-npm", - UseProjectFlagsOverridesNonProduction: - "use:project-flags-overrides-non-production", - UseProjectFlagsOverridesProduction: "use:project-flags-overrides-production", -} as const; -export type UserEventPayload80Permissions = ClosedEnum< - typeof UserEventPayload80Permissions ->; +/** @internal */ +export const UserEventJobPayload137HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload137HeadInfo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.number(), + sha: types.string(), + }) +); -export const UserEventPayload80AfterType = { - String: "string", -} as const; -export type UserEventPayload80AfterType = ClosedEnum< - typeof UserEventPayload80AfterType ->; +export function userEventJobPayload137HeadInfoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventJobPayload137HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload137HeadInfo' from JSON`, + ); +} -export type UserEventPayloadItems = { - type: UserEventPayload80AfterType; -}; +/** @internal */ +export const UserEventJobPayload1375Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1375Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1375Provider) +); -export const UserEventPayload80Type = { - List: "list", -} as const; -export type UserEventPayload80Type = ClosedEnum; +/** @internal */ +export const Job5$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + beforeSha: types.optional(types.string()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(z.any()).optional(), + customHost: types.optional(types.string()), + eventful: types.optional(types.boolean()), + gitComments: types.optional( + UserEventJobPayload137GitComments$inboundSchema, + ), + headInfo: z.lazy(() => UserEventJobPayload137HeadInfo$inboundSchema), + installationId: types.number(), + isPrivate: types.boolean(), + linkedProjectId: types.optional(types.string()), + org: types.string(), + prId: types.number(), + projectId: z.nullable(z.any()).optional(), + provider: UserEventJobPayload1375Provider$inboundSchema, + repo: types.string(), + repoId: types.number(), + type: types.literal("now-comment"), + }) + ); -/** - * Specific project IDs or all projects on the team (`['*']`). - */ -export type UserEventPayloadProjectIds = { - items: UserEventPayloadItems; - required: true; - type: UserEventPayload80Type; -}; +export function job5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Job5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Job5' from JSON`, + ); +} -export type UserEventPayloadResources = { - /** - * Specific project IDs or all projects on the team (`['*']`). - */ - projectIds: UserEventPayloadProjectIds; -}; +/** @internal */ +export const CommitInfo$inboundSchema: z.ZodType< + CommitInfo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + earliestSha: types.optional(types.string()), + total: types.number(), + }) +); + +export function commitInfoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CommitInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CommitInfo' from JSON`, + ); +} + +/** @internal */ +export const UserEventJobCommitVerification$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobCommitVerification +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobCommitVerification) +); + +/** @internal */ +export const UserEventJobPayloadDeployHook$inboundSchema: z.ZodType< + UserEventJobPayloadDeployHook, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); + +export function userEventJobPayloadDeployHookFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventJobPayloadDeployHook$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayloadDeployHook' from JSON`, + ); +} /** @internal */ export const UserEventJobPayloadGitComments$inboundSchema: z.ZodType< UserEventJobPayloadGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function userEventJobPayloadGitCommentsFromJSON( jsonString: string, @@ -1746,20 +1811,24 @@ export function userEventJobPayloadGitCommentsFromJSON( /** @internal */ export const UserEventJobGitHashtagVercel$inboundSchema: z.ZodNativeEnum< typeof UserEventJobGitHashtagVercel -> = z.nativeEnum(UserEventJobGitHashtagVercel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobGitHashtagVercel) +); /** @internal */ export const UserEventJobPayloadHeadInfo$inboundSchema: z.ZodType< UserEventJobPayloadHeadInfo, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.number(), - sha: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.number(), + sha: types.string(), + }) +); export function userEventJobPayloadHeadInfoFromJSON( jsonString: string, @@ -1774,17 +1843,19 @@ export function userEventJobPayloadHeadInfoFromJSON( /** @internal */ export const UserEventJobPayloadAction$inboundSchema: z.ZodNativeEnum< typeof UserEventJobPayloadAction -> = z.nativeEnum(UserEventJobPayloadAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventJobPayloadAction)); /** @internal */ export const UserEventJobNsnbSideEffect$inboundSchema: z.ZodType< UserEventJobNsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventJobPayloadAction$inboundSchema, - gitUserLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventJobPayloadAction$inboundSchema, + gitUserLogin: types.string(), + }) +); export function userEventJobNsnbSideEffectFromJSON( jsonString: string, @@ -1797,63 +1868,69 @@ export function userEventJobNsnbSideEffectFromJSON( } /** @internal */ -export const UserEventJobPayload136Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload136Provider -> = z.nativeEnum(UserEventJobPayload136Provider); +export const UserEventJobPayload137Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload137Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload137Provider) +); /** @internal */ -export const Job4$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - beforeSha: types.optional(types.string()), - commitInfo: types.optional(CommitInfo$inboundSchema), - committerGitUserId: types.optional(types.number()), - committerGitUserType: types.optional(types.string()), - commitVerification: types.optional( - UserEventJobCommitVerification$inboundSchema, - ), - connectedProjectCount: types.optional(types.number()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - customHost: types.optional(types.string()), - defaultBranch: types.optional(types.string()), - deployHook: types.optional(UserEventJobPayloadDeployHook$inboundSchema), - deploymentId: types.optional(types.string()), - eventful: types.optional(types.boolean()), - forced: types.optional(types.boolean()), - forceNew: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayloadGitComments$inboundSchema), - ), - gitHashtagVercel: types.optional( - z.array(UserEventJobGitHashtagVercel$inboundSchema), - ), - githubDeploymentId: types.optional(types.string()), - headInfo: z.lazy(() => UserEventJobPayloadHeadInfo$inboundSchema), - installationId: types.number(), - isManualGitDeploy: types.optional(types.boolean()), - isPrivate: types.boolean(), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - nsnbSideEffect: types.optional( - z.lazy(() => UserEventJobNsnbSideEffect$inboundSchema), - ), - org: types.string(), - prId: types.nullable(types.number()), - prIdOrZero: types.optional(types.number()), - projectId: types.optional(types.string()), - provider: UserEventJobPayload136Provider$inboundSchema, - repo: types.string(), - repoId: types.number(), - repoPushedAt: types.nullable(types.number()), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - target: z.nullable(types.string()).optional(), - type: types.literal("push"), - url: types.optional(types.string()), - withCache: types.optional(types.boolean()), - }); +export const Job4$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + beforeSha: types.optional(types.string()), + commitInfo: types.optional(z.lazy(() => CommitInfo$inboundSchema)), + committerGitUserId: types.optional(types.number()), + committerGitUserType: types.optional(types.string()), + commitVerification: types.optional( + UserEventJobCommitVerification$inboundSchema, + ), + connectedProjectCount: types.optional(types.number()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + customHost: types.optional(types.string()), + defaultBranch: types.optional(types.string()), + deployHook: types.optional( + z.lazy(() => UserEventJobPayloadDeployHook$inboundSchema), + ), + deploymentId: types.optional(types.string()), + eventful: types.optional(types.boolean()), + forced: types.optional(types.boolean()), + forceNew: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayloadGitComments$inboundSchema), + ), + gitHashtagVercel: types.optional( + z.array(UserEventJobGitHashtagVercel$inboundSchema), + ), + githubDeploymentId: types.optional(types.string()), + headInfo: z.lazy(() => UserEventJobPayloadHeadInfo$inboundSchema), + installationId: types.number(), + isManualGitDeploy: types.optional(types.boolean()), + isPrivate: types.boolean(), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + nsnbSideEffect: types.optional( + z.lazy(() => UserEventJobNsnbSideEffect$inboundSchema), + ), + org: types.string(), + prId: types.nullable(types.number()), + prIdOrZero: types.optional(types.number()), + projectId: types.optional(types.string()), + provider: UserEventJobPayload137Provider$inboundSchema, + repo: types.string(), + repoId: types.number(), + repoPushedAt: types.nullable(types.number()), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + target: z.nullable(types.string()).optional(), + type: types.literal("push"), + url: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) + ); export function job4FromJSON( jsonString: string, @@ -1868,19 +1945,21 @@ export function job4FromJSON( /** @internal */ export const JobCommitVerification$inboundSchema: z.ZodNativeEnum< typeof JobCommitVerification -> = z.nativeEnum(JobCommitVerification); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(JobCommitVerification)); /** @internal */ export const UserEventJobDeployHook$inboundSchema: z.ZodType< UserEventJobDeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); export function userEventJobDeployHookFromJSON( jsonString: string, @@ -1897,10 +1976,12 @@ export const UserEventJobGitComments$inboundSchema: z.ZodType< UserEventJobGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function userEventJobGitCommentsFromJSON( jsonString: string, @@ -1915,20 +1996,22 @@ export function userEventJobGitCommentsFromJSON( /** @internal */ export const JobGitHashtagVercel$inboundSchema: z.ZodNativeEnum< typeof JobGitHashtagVercel -> = z.nativeEnum(JobGitHashtagVercel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(JobGitHashtagVercel)); /** @internal */ export const UserEventJobHeadInfo$inboundSchema: z.ZodType< UserEventJobHeadInfo, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.number(), - sha: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.number(), + sha: types.string(), + }) +); export function userEventJobHeadInfoFromJSON( jsonString: string, @@ -1943,17 +2026,19 @@ export function userEventJobHeadInfoFromJSON( /** @internal */ export const UserEventJobAction$inboundSchema: z.ZodNativeEnum< typeof UserEventJobAction -> = z.nativeEnum(UserEventJobAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventJobAction)); /** @internal */ export const JobNsnbSideEffect$inboundSchema: z.ZodType< JobNsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventJobAction$inboundSchema, - gitUserLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventJobAction$inboundSchema, + gitUserLogin: types.string(), + }) +); export function jobNsnbSideEffectFromJSON( jsonString: string, @@ -1968,58 +2053,62 @@ export function jobNsnbSideEffectFromJSON( /** @internal */ export const UserEventJobPayloadProvider$inboundSchema: z.ZodNativeEnum< typeof UserEventJobPayloadProvider -> = z.nativeEnum(UserEventJobPayloadProvider); - -/** @internal */ -export const Job3$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - beforeSha: types.optional(types.string()), - committerGitUserId: types.optional(types.number()), - committerGitUserType: types.optional(types.string()), - commitVerification: types.optional(JobCommitVerification$inboundSchema), - connectedProjectCount: types.optional(types.number()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - customHost: types.optional(types.string()), - defaultBranch: types.optional(types.string()), - deployHook: types.optional( - z.lazy(() => UserEventJobDeployHook$inboundSchema), - ), - deploymentId: types.optional(types.string()), - eventful: types.optional(types.boolean()), - forceNew: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobGitComments$inboundSchema), - ), - gitHashtagVercel: types.optional( - z.array(JobGitHashtagVercel$inboundSchema), - ), - githubDeploymentId: types.optional(types.string()), - headInfo: z.lazy(() => UserEventJobHeadInfo$inboundSchema), - installationId: types.number(), - isManualGitDeploy: types.optional(types.boolean()), - isPrivate: types.boolean(), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - nsnbSideEffect: types.optional( - z.lazy(() => JobNsnbSideEffect$inboundSchema), - ), - org: types.string(), - prId: types.number(), - prIdOrZero: types.optional(types.number()), - projectId: types.optional(types.string()), - provider: UserEventJobPayloadProvider$inboundSchema, - repo: types.string(), - repoId: types.number(), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - target: z.nullable(types.string()).optional(), - type: types.literal("pr"), - url: types.optional(types.string()), - withCache: types.optional(types.boolean()), - }); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayloadProvider) +); + +/** @internal */ +export const Job3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + beforeSha: types.optional(types.string()), + committerGitUserId: types.optional(types.number()), + committerGitUserType: types.optional(types.string()), + commitVerification: types.optional(JobCommitVerification$inboundSchema), + connectedProjectCount: types.optional(types.number()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + customHost: types.optional(types.string()), + defaultBranch: types.optional(types.string()), + deployHook: types.optional( + z.lazy(() => UserEventJobDeployHook$inboundSchema), + ), + deploymentId: types.optional(types.string()), + eventful: types.optional(types.boolean()), + forceNew: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobGitComments$inboundSchema), + ), + gitHashtagVercel: types.optional( + z.array(JobGitHashtagVercel$inboundSchema), + ), + githubDeploymentId: types.optional(types.string()), + headInfo: z.lazy(() => UserEventJobHeadInfo$inboundSchema), + installationId: types.number(), + isManualGitDeploy: types.optional(types.boolean()), + isPrivate: types.boolean(), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + nsnbSideEffect: types.optional( + z.lazy(() => JobNsnbSideEffect$inboundSchema), + ), + org: types.string(), + prId: types.number(), + prIdOrZero: types.optional(types.number()), + projectId: types.optional(types.string()), + provider: UserEventJobPayloadProvider$inboundSchema, + repo: types.string(), + repoId: types.number(), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + target: z.nullable(types.string()).optional(), + type: types.literal("pr"), + url: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) + ); export function job3FromJSON( jsonString: string, @@ -2036,10 +2125,12 @@ export const JobGitComments$inboundSchema: z.ZodType< JobGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function jobGitCommentsFromJSON( jsonString: string, @@ -2056,13 +2147,15 @@ export const JobHeadInfo$inboundSchema: z.ZodType< JobHeadInfo, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.string(), + }) +); export function jobHeadInfoFromJSON( jsonString: string, @@ -2077,29 +2170,31 @@ export function jobHeadInfoFromJSON( /** @internal */ export const UserEventJobProvider$inboundSchema: z.ZodNativeEnum< typeof UserEventJobProvider -> = z.nativeEnum(UserEventJobProvider); - -/** @internal */ -export const Job2$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - eventful: types.optional(types.boolean()), - gitComments: types.optional(z.lazy(() => JobGitComments$inboundSchema)), - headInfo: z.lazy(() => JobHeadInfo$inboundSchema), - linkedProjectId: types.optional(types.string()), - name: types.string(), - owner: types.string(), - prId: types.number(), - projectId: types.optional(types.string()), - provider: UserEventJobProvider$inboundSchema, - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.string(), - type: types.literal("bitbucket-now-comment"), - workspaceUuid: types.string(), - }); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventJobProvider)); + +/** @internal */ +export const Job2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + eventful: types.optional(types.boolean()), + gitComments: types.optional(z.lazy(() => JobGitComments$inboundSchema)), + headInfo: z.lazy(() => JobHeadInfo$inboundSchema), + linkedProjectId: types.optional(types.string()), + name: types.string(), + owner: types.string(), + prId: types.number(), + projectId: types.optional(types.string()), + provider: UserEventJobProvider$inboundSchema, + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.string(), + type: types.literal("bitbucket-now-comment"), + workspaceUuid: types.string(), + }) + ); export function job2FromJSON( jsonString: string, @@ -2114,19 +2209,21 @@ export function job2FromJSON( /** @internal */ export const CommitVerification$inboundSchema: z.ZodNativeEnum< typeof CommitVerification -> = z.nativeEnum(CommitVerification); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CommitVerification)); /** @internal */ export const JobDeployHook$inboundSchema: z.ZodType< JobDeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); export function jobDeployHookFromJSON( jsonString: string, @@ -2143,10 +2240,12 @@ export const GitComments$inboundSchema: z.ZodType< GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function gitCommentsFromJSON( jsonString: string, @@ -2161,20 +2260,22 @@ export function gitCommentsFromJSON( /** @internal */ export const GitHashtagVercel$inboundSchema: z.ZodNativeEnum< typeof GitHashtagVercel -> = z.nativeEnum(GitHashtagVercel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitHashtagVercel)); /** @internal */ export const HeadInfo$inboundSchema: z.ZodType< HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.string(), + }) +); export function headInfoFromJSON( jsonString: string, @@ -2187,18 +2288,20 @@ export function headInfoFromJSON( } /** @internal */ -export const JobAction$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(JobAction); +export const JobAction$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(JobAction)); /** @internal */ export const NsnbSideEffect$inboundSchema: z.ZodType< NsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: JobAction$inboundSchema, - gitUserLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: JobAction$inboundSchema, + gitUserLogin: types.string(), + }) +); export function nsnbSideEffectFromJSON( jsonString: string, @@ -2211,49 +2314,53 @@ export function nsnbSideEffectFromJSON( } /** @internal */ -export const JobProvider$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(JobProvider); - -/** @internal */ -export const Job1$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - commitVerification: types.optional(CommitVerification$inboundSchema), - connectedProjectCount: types.optional(types.number()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - deployHook: types.optional(z.lazy(() => JobDeployHook$inboundSchema)), - deploymentId: types.optional(types.string()), - eventful: types.optional(types.boolean()), - forceNew: types.optional(types.boolean()), - gitComments: types.optional(z.lazy(() => GitComments$inboundSchema)), - gitHashtagVercel: types.optional(z.array(GitHashtagVercel$inboundSchema)), - headInfo: z.lazy(() => HeadInfo$inboundSchema), - isManualGitDeploy: types.optional(types.boolean()), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - name: types.string(), - nsnbSideEffect: types.optional(z.lazy(() => NsnbSideEffect$inboundSchema)), - owner: types.string(), - prId: types.optional(types.number()), - prIdOrZero: types.optional(types.number()), - projectId: types.optional(types.string()), - provider: JobProvider$inboundSchema, - ref: types.string(), - repoPushedAt: z.nullable(types.number()).optional(), - repoUuid: types.string(), - sha: types.string(), - silent: types.optional(types.boolean()), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - slug: types.string(), - target: z.nullable(types.string()).optional(), - type: types.literal("bitbucket-push"), - url: types.optional(types.string()), - withCache: types.optional(types.boolean()), - workspaceUuid: types.string(), - }); +export const JobProvider$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(JobProvider)); + +/** @internal */ +export const Job1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + commitVerification: types.optional(CommitVerification$inboundSchema), + connectedProjectCount: types.optional(types.number()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + deployHook: types.optional(z.lazy(() => JobDeployHook$inboundSchema)), + deploymentId: types.optional(types.string()), + eventful: types.optional(types.boolean()), + forceNew: types.optional(types.boolean()), + gitComments: types.optional(z.lazy(() => GitComments$inboundSchema)), + gitHashtagVercel: types.optional(z.array(GitHashtagVercel$inboundSchema)), + headInfo: z.lazy(() => HeadInfo$inboundSchema), + isManualGitDeploy: types.optional(types.boolean()), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + name: types.string(), + nsnbSideEffect: types.optional( + z.lazy(() => NsnbSideEffect$inboundSchema), + ), + owner: types.string(), + prId: types.optional(types.number()), + prIdOrZero: types.optional(types.number()), + projectId: types.optional(types.string()), + provider: JobProvider$inboundSchema, + ref: types.string(), + repoPushedAt: z.nullable(types.number()).optional(), + repoUuid: types.string(), + sha: types.string(), + silent: types.optional(types.boolean()), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + slug: types.string(), + target: z.nullable(types.string()).optional(), + type: types.literal("bitbucket-push"), + url: types.optional(types.string()), + withCache: types.optional(types.boolean()), + workspaceUuid: types.string(), + }) + ); export function job1FromJSON( jsonString: string, @@ -2270,18 +2377,20 @@ export const PayloadJob$inboundSchema: z.ZodType< PayloadJob, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Job1$inboundSchema), - z.lazy(() => Job2$inboundSchema), - z.lazy(() => Job3$inboundSchema), - z.lazy(() => Job4$inboundSchema), - Job5$inboundSchema, - Job6$inboundSchema, - Job7$inboundSchema, - Job8$inboundSchema, - Job9$inboundSchema, - Job10$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Job1$inboundSchema), + z.lazy(() => Job2$inboundSchema), + z.lazy(() => Job3$inboundSchema), + z.lazy(() => Job4$inboundSchema), + z.lazy(() => Job5$inboundSchema), + Job6$inboundSchema, + Job7$inboundSchema, + Job8$inboundSchema, + Job9$inboundSchema, + Job10$inboundSchema, + ]) +); export function payloadJobFromJSON( jsonString: string, @@ -2294,55 +2403,61 @@ export function payloadJobFromJSON( } /** @internal */ -export const OneHundredAndThirtySix$inboundSchema: z.ZodType< - OneHundredAndThirtySix, +export const OneHundredAndThirtySeven$inboundSchema: z.ZodType< + OneHundredAndThirtySeven, z.ZodTypeDef, unknown -> = z.object({ - job: z.union([ - z.lazy(() => Job1$inboundSchema), - z.lazy(() => Job2$inboundSchema), - z.lazy(() => Job3$inboundSchema), - z.lazy(() => Job4$inboundSchema), - Job5$inboundSchema, - Job6$inboundSchema, - Job7$inboundSchema, - Job8$inboundSchema, - Job9$inboundSchema, - Job10$inboundSchema, - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + job: z.union([ + z.lazy(() => Job1$inboundSchema), + z.lazy(() => Job2$inboundSchema), + z.lazy(() => Job3$inboundSchema), + z.lazy(() => Job4$inboundSchema), + z.lazy(() => Job5$inboundSchema), + Job6$inboundSchema, + Job7$inboundSchema, + Job8$inboundSchema, + Job9$inboundSchema, + Job10$inboundSchema, + ]), + }) +); -export function oneHundredAndThirtySixFromJSON( +export function oneHundredAndThirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtySix' from JSON`, + (x) => OneHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtySeven' from JSON`, ); } /** @internal */ export const UserEventPayloadAllowListedReadyStateReasonInternal$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UserEventPayloadAllowListedReadyStateReasonInternal); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadAllowListedReadyStateReasonInternal) + ); /** @internal */ export const UserEventPayloadDeployment$inboundSchema: z.ZodType< UserEventPayloadDeployment, z.ZodTypeDef, unknown -> = z.object({ - allowListedReadyStateReasonInternal: types.optional( - UserEventPayloadAllowListedReadyStateReasonInternal$inboundSchema, - ), - id: types.string(), - meta: z.record(types.string()), - name: types.string(), - readyState: types.optional(types.string()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowListedReadyStateReasonInternal: types.optional( + UserEventPayloadAllowListedReadyStateReasonInternal$inboundSchema, + ), + id: types.string(), + meta: z.record(types.string()), + name: types.string(), + readyState: types.optional(types.string()), + url: types.string(), + }) +); export function userEventPayloadDeploymentFromJSON( jsonString: string, @@ -2357,59 +2472,64 @@ export function userEventPayloadDeploymentFromJSON( /** @internal */ export const GitCredentialSource$inboundSchema: z.ZodNativeEnum< typeof GitCredentialSource -> = z.nativeEnum(GitCredentialSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitCredentialSource)); /** @internal */ -export const OneHundredAndThirtyFive$inboundSchema: z.ZodType< - OneHundredAndThirtyFive, +export const OneHundredAndThirtySix$inboundSchema: z.ZodType< + OneHundredAndThirtySix, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - deployment: z.nullable(z.lazy(() => UserEventPayloadDeployment$inboundSchema)) - .optional(), - deploymentId: types.optional(types.string()), - forced: types.optional(types.boolean()), - gitCredentialSource: types.optional(GitCredentialSource$inboundSchema), - name: types.optional(types.string()), - plan: types.optional(types.string()), - project: types.optional(types.string()), - projectId: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - target: z.nullable(types.string()).optional(), - type: types.optional(types.string()), - url: types.string(), -}); - -export function oneHundredAndThirtyFiveFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + deployment: z.nullable( + z.lazy(() => UserEventPayloadDeployment$inboundSchema), + ).optional(), + deploymentId: types.optional(types.string()), + forced: types.optional(types.boolean()), + gitCredentialSource: types.optional(GitCredentialSource$inboundSchema), + name: types.optional(types.string()), + plan: types.optional(types.string()), + project: types.optional(types.string()), + projectId: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + target: z.nullable(types.string()).optional(), + type: types.optional(types.string()), + url: types.string(), + }) +); + +export function oneHundredAndThirtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyFive' from JSON`, + (x) => OneHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtySix' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyThree$inboundSchema: z.ZodType< - OneHundredAndThirtyThree, +export const OneHundredAndThirtyFour$inboundSchema: z.ZodType< + OneHundredAndThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - checkId: types.string(), - checkName: types.string(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + checkId: types.string(), + checkName: types.string(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function oneHundredAndThirtyThreeFromJSON( +export function oneHundredAndThirtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyThree' from JSON`, + (x) => OneHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyFour' from JSON`, ); } @@ -2418,12 +2538,14 @@ export const DeployHook$inboundSchema: z.ZodType< DeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); export function deployHookFromJSON( jsonString: string, @@ -2436,11 +2558,13 @@ export function deployHookFromJSON( } /** @internal */ -export const Job$inboundSchema: z.ZodType = z - .object({ - deployHook: z.lazy(() => DeployHook$inboundSchema), - state: types.string(), - }); +export const Job$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + deployHook: z.lazy(() => DeployHook$inboundSchema), + state: types.string(), + }) + ); export function jobFromJSON( jsonString: string, @@ -2453,95 +2577,109 @@ export function jobFromJSON( } /** @internal */ -export const UserEventPayload132Project$inboundSchema: z.ZodType< - UserEventPayload132Project, +export const UserEventPayload133Project$inboundSchema: z.ZodType< + UserEventPayload133Project, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); -export function userEventPayload132ProjectFromJSON( +export function userEventPayload133ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload132Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload132Project' from JSON`, + (x) => UserEventPayload133Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload133Project' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyTwo$inboundSchema: z.ZodType< - OneHundredAndThirtyTwo, +export const OneHundredAndThirtyThree$inboundSchema: z.ZodType< + OneHundredAndThirtyThree, z.ZodTypeDef, unknown -> = z.object({ - job: z.lazy(() => Job$inboundSchema), - project: z.lazy(() => UserEventPayload132Project$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + job: z.lazy(() => Job$inboundSchema), + project: z.lazy(() => UserEventPayload133Project$inboundSchema), + }) +); -export function oneHundredAndThirtyTwoFromJSON( +export function oneHundredAndThirtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyTwo' from JSON`, + (x) => OneHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyThree' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyOne$inboundSchema: z.ZodType< - OneHundredAndThirtyOne, +export const OneHundredAndThirtyTwo$inboundSchema: z.ZodType< + OneHundredAndThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - hookName: types.string(), - projectId: types.string(), - projectName: types.string(), - ref: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hookName: types.string(), + projectId: types.string(), + projectName: types.string(), + ref: types.string(), + }) +); -export function oneHundredAndThirtyOneFromJSON( +export function oneHundredAndThirtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyOne' from JSON`, + (x) => OneHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyTwo' from JSON`, ); } /** @internal */ export const April2026SecurityIncidentMigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(April2026SecurityIncidentMigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(April2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const Cve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof Cve55182MigrationAppliedFrom -> = z.nativeEnum(Cve55182MigrationAppliedFrom); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(Cve55182MigrationAppliedFrom) +); /** @internal */ export const UserEventPayloadDeploymentType$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadDeploymentType -> = z.nativeEnum(UserEventPayloadDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadDeploymentType) +); /** @internal */ export const OldSsoProtection$inboundSchema: z.ZodType< OldSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - April2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - Cve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: UserEventPayloadDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + April2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + Cve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: UserEventPayloadDeploymentType$inboundSchema, + }) +); export function oldSsoProtectionFromJSON( jsonString: string, @@ -2556,37 +2694,45 @@ export function oldSsoProtectionFromJSON( /** @internal */ export const UserEventPayloadScope$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadScope -> = z.nativeEnum(UserEventPayloadScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadScope)); /** @internal */ export const PayloadApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(PayloadApril2026SecurityIncidentMigrationAppliedFrom); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PayloadApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const PayloadCve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof PayloadCve55182MigrationAppliedFrom -> = z.nativeEnum(PayloadCve55182MigrationAppliedFrom); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PayloadCve55182MigrationAppliedFrom) +); /** @internal */ -export const UserEventPayload130DeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload130DeploymentType -> = z.nativeEnum(UserEventPayload130DeploymentType); +export const UserEventPayload131DeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload131DeploymentType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload131DeploymentType) +); /** @internal */ export const UserEventPayloadSsoProtection$inboundSchema: z.ZodType< UserEventPayloadSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - PayloadApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - PayloadCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: UserEventPayload130DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + PayloadApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + PayloadCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: UserEventPayload131DeploymentType$inboundSchema, + }) +); export function userEventPayloadSsoProtectionFromJSON( jsonString: string, @@ -2599,43 +2745,49 @@ export function userEventPayloadSsoProtectionFromJSON( } /** @internal */ -export const OneHundredAndThirty$inboundSchema: z.ZodType< - OneHundredAndThirty, +export const OneHundredAndThirtyOne$inboundSchema: z.ZodType< + OneHundredAndThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - oldSsoProtection: types.nullable( - z.lazy(() => OldSsoProtection$inboundSchema), - ), - scope: UserEventPayloadScope$inboundSchema, - ssoProtection: types.nullable( - z.lazy(() => UserEventPayloadSsoProtection$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + oldSsoProtection: types.nullable( + z.lazy(() => OldSsoProtection$inboundSchema), + ), + scope: UserEventPayloadScope$inboundSchema, + ssoProtection: types.nullable( + z.lazy(() => UserEventPayloadSsoProtection$inboundSchema), + ), + }) +); -export function oneHundredAndThirtyFromJSON( +export function oneHundredAndThirtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirty' from JSON`, + (x) => OneHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload129DeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload129DeploymentType -> = z.nativeEnum(UserEventPayload129DeploymentType); +export const UserEventPayload130DeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload130DeploymentType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload130DeploymentType) +); /** @internal */ export const OldPasswordProtection$inboundSchema: z.ZodType< OldPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: UserEventPayload129DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UserEventPayload130DeploymentType$inboundSchema, + }) +); export function oldPasswordProtectionFromJSON( jsonString: string, @@ -2650,16 +2802,18 @@ export function oldPasswordProtectionFromJSON( /** @internal */ export const PayloadDeploymentType$inboundSchema: z.ZodNativeEnum< typeof PayloadDeploymentType -> = z.nativeEnum(PayloadDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadDeploymentType)); /** @internal */ export const UserEventPayloadPasswordProtection$inboundSchema: z.ZodType< UserEventPayloadPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: PayloadDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: PayloadDeploymentType$inboundSchema, + }) +); export function userEventPayloadPasswordProtectionFromJSON( jsonString: string, @@ -2674,23 +2828,46 @@ export function userEventPayloadPasswordProtectionFromJSON( /** @internal */ export const PayloadScope$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(PayloadScope); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadScope)); + +/** @internal */ +export const OneHundredAndThirty$inboundSchema: z.ZodType< + OneHundredAndThirty, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + oldPasswordProtection: types.nullable( + z.lazy(() => OldPasswordProtection$inboundSchema), + ), + passwordChanged: types.optional(types.boolean()), + passwordProtection: types.nullable( + z.lazy(() => UserEventPayloadPasswordProtection$inboundSchema), + ), + scope: PayloadScope$inboundSchema, + }) +); + +export function oneHundredAndThirtyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndThirty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirty' from JSON`, + ); +} /** @internal */ export const OneHundredAndTwentyNine$inboundSchema: z.ZodType< OneHundredAndTwentyNine, z.ZodTypeDef, unknown -> = z.object({ - oldPasswordProtection: types.nullable( - z.lazy(() => OldPasswordProtection$inboundSchema), - ), - passwordChanged: types.optional(types.boolean()), - passwordProtection: types.nullable( - z.lazy(() => UserEventPayloadPasswordProtection$inboundSchema), - ), - scope: PayloadScope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + suffix: types.string(), + }) +); export function oneHundredAndTwentyNineFromJSON( jsonString: string, @@ -2707,9 +2884,12 @@ export const OneHundredAndTwentyEight$inboundSchema: z.ZodType< OneHundredAndTwentyEight, z.ZodTypeDef, unknown -> = z.object({ - suffix: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.string(), + suffix: types.string(), + }) +); export function oneHundredAndTwentyEightFromJSON( jsonString: string, @@ -2726,10 +2906,12 @@ export const OneHundredAndTwentySeven$inboundSchema: z.ZodType< OneHundredAndTwentySeven, z.ZodTypeDef, unknown -> = z.object({ - status: types.string(), - suffix: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.optional(types.string()), + suffix: types.string(), + }) +); export function oneHundredAndTwentySevenFromJSON( jsonString: string, @@ -2746,10 +2928,15 @@ export const OneHundredAndTwentySix$inboundSchema: z.ZodType< OneHundredAndTwentySix, z.ZodTypeDef, unknown -> = z.object({ - reason: types.optional(types.string()), - suffix: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + metricName: types.string(), + }).catchall(z.any()), + "additionalProperties", + true, + ) +); export function oneHundredAndTwentySixFromJSON( jsonString: string, @@ -2762,45 +2949,47 @@ export function oneHundredAndTwentySixFromJSON( } /** @internal */ -export const OneHundredAndTwentyFive$inboundSchema: z.ZodType< - OneHundredAndTwentyFive, +export const UserEventPayload125Project$inboundSchema: z.ZodType< + UserEventPayload125Project, z.ZodTypeDef, unknown -> = collectExtraKeys$( +> = /* @__PURE__ */ lazySchema$(() => z.object({ - metricName: types.string(), - }).catchall(z.any()), - "additionalProperties", - true, + id: types.string(), + name: types.string(), + }) ); -export function oneHundredAndTwentyFiveFromJSON( +export function userEventPayload125ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyFive' from JSON`, + (x) => UserEventPayload125Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload125Project' from JSON`, ); } /** @internal */ -export const UserEventPayload124Project$inboundSchema: z.ZodType< - UserEventPayload124Project, +export const OneHundredAndTwentyFive$inboundSchema: z.ZodType< + OneHundredAndTwentyFive, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prevPurchasedAmount: types.number(), + project: z.lazy(() => UserEventPayload125Project$inboundSchema), + purchasedAmount: types.number(), + }) +); -export function userEventPayload124ProjectFromJSON( +export function oneHundredAndTwentyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload124Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload124Project' from JSON`, + (x) => OneHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyFive' from JSON`, ); } @@ -2809,11 +2998,12 @@ export const OneHundredAndTwentyFour$inboundSchema: z.ZodType< OneHundredAndTwentyFour, z.ZodTypeDef, unknown -> = z.object({ - prevPurchasedAmount: types.number(), - project: z.lazy(() => UserEventPayload124Project$inboundSchema), - purchasedAmount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketAccountId: types.string(), + bitbucketLogin: types.string(), + }) +); export function oneHundredAndTwentyFourFromJSON( jsonString: string, @@ -2830,10 +3020,13 @@ export const OneHundredAndTwentyThree$inboundSchema: z.ZodType< OneHundredAndTwentyThree, z.ZodTypeDef, unknown -> = z.object({ - bitbucketAccountId: types.string(), - bitbucketLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketEmail: types.string(), + bitbucketLogin: types.string(), + bitbucketName: types.optional(types.string()), + }) +); export function oneHundredAndTwentyThreeFromJSON( jsonString: string, @@ -2850,11 +3043,12 @@ export const OneHundredAndTwentyTwo$inboundSchema: z.ZodType< OneHundredAndTwentyTwo, z.ZodTypeDef, unknown -> = z.object({ - bitbucketEmail: types.string(), - bitbucketLogin: types.string(), - bitbucketName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitlabLogin: types.string(), + gitlabUserId: types.number(), + }) +); export function oneHundredAndTwentyTwoFromJSON( jsonString: string, @@ -2871,10 +3065,15 @@ export const OneHundredAndTwentyOne$inboundSchema: z.ZodType< OneHundredAndTwentyOne, z.ZodTypeDef, unknown -> = z.object({ - gitlabLogin: types.string(), - gitlabUserId: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitlabEmail: types.string(), + gitlabLogin: types.string(), + gitlabName: types.optional(types.string()), + zeitAccount: types.optional(types.string()), + zeitAccountType: types.optional(types.string()), + }) +); export function oneHundredAndTwentyOneFromJSON( jsonString: string, @@ -2891,13 +3090,12 @@ export const OneHundredAndTwenty$inboundSchema: z.ZodType< OneHundredAndTwenty, z.ZodTypeDef, unknown -> = z.object({ - gitlabEmail: types.string(), - gitlabLogin: types.string(), - gitlabName: types.optional(types.string()), - zeitAccount: types.optional(types.string()), - zeitAccountType: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + githubLogin: types.string(), + host: types.string(), + }) +); export function oneHundredAndTwentyFromJSON( jsonString: string, @@ -2914,10 +3112,11 @@ export const OneHundredAndNineteen$inboundSchema: z.ZodType< OneHundredAndNineteen, z.ZodTypeDef, unknown -> = z.object({ - githubLogin: types.string(), - host: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + githubLogin: types.string(), + }) +); export function oneHundredAndNineteenFromJSON( jsonString: string, @@ -2934,9 +3133,12 @@ export const OneHundredAndEighteen$inboundSchema: z.ZodType< OneHundredAndEighteen, z.ZodTypeDef, unknown -> = z.object({ - githubLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + githubLogin: types.string(), + host: types.optional(types.string()), + }) +); export function oneHundredAndEighteenFromJSON( jsonString: string, @@ -2949,123 +3151,113 @@ export function oneHundredAndEighteenFromJSON( } /** @internal */ -export const OneHundredAndSeventeen$inboundSchema: z.ZodType< - OneHundredAndSeventeen, +export const UserEventPayload117Configuration$inboundSchema: z.ZodType< + UserEventPayload117Configuration, z.ZodTypeDef, unknown -> = z.object({ - githubLogin: types.string(), - host: types.optional(types.string()), -}); - -export function oneHundredAndSeventeenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeventeen' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload116Configuration$inboundSchema: z.ZodType< - UserEventPayload116Configuration, - z.ZodTypeDef, - unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload116ConfigurationFromJSON( +export function userEventPayload117ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload116Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload116Configuration' from JSON`, + (x) => UserEventPayload117Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload117Configuration' from JSON`, ); } /** @internal */ -export const UserEventPayload116Team$inboundSchema: z.ZodType< - UserEventPayload116Team, +export const UserEventPayload117Team$inboundSchema: z.ZodType< + UserEventPayload117Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload116TeamFromJSON( +export function userEventPayload117TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload116Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload116Team' from JSON`, + (x) => UserEventPayload117Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload117Team' from JSON`, ); } /** @internal */ -export const OneHundredAndSixteen$inboundSchema: z.ZodType< - OneHundredAndSixteen, +export const OneHundredAndSeventeen$inboundSchema: z.ZodType< + OneHundredAndSeventeen, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => UserEventPayload116Configuration$inboundSchema), - newName: types.string(), - team: z.lazy(() => UserEventPayload116Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => UserEventPayload117Configuration$inboundSchema), + newName: types.string(), + team: z.lazy(() => UserEventPayload117Team$inboundSchema), + }) +); -export function oneHundredAndSixteenFromJSON( +export function oneHundredAndSeventeenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixteen' from JSON`, + (x) => OneHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeventeen' from JSON`, ); } /** @internal */ -export const UserEventPayload115Configuration$inboundSchema: z.ZodType< - UserEventPayload115Configuration, +export const UserEventPayload116Configuration$inboundSchema: z.ZodType< + UserEventPayload116Configuration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload115ConfigurationFromJSON( +export function userEventPayload116ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload115Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload115Configuration' from JSON`, + (x) => UserEventPayload116Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload116Configuration' from JSON`, ); } /** @internal */ -export const UserEventPayload115Project$inboundSchema: z.ZodType< - UserEventPayload115Project, +export const UserEventPayload116Project$inboundSchema: z.ZodType< + UserEventPayload116Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload115ProjectFromJSON( +export function userEventPayload116ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload115Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload115Project' from JSON`, + (x) => UserEventPayload116Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload116Project' from JSON`, ); } @@ -3074,10 +3266,12 @@ export const UserEventPayloadTeam$inboundSchema: z.ZodType< UserEventPayloadTeam, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function userEventPayloadTeamFromJSON( jsonString: string, @@ -3090,23 +3284,25 @@ export function userEventPayloadTeamFromJSON( } /** @internal */ -export const OneHundredAndFifteen$inboundSchema: z.ZodType< - OneHundredAndFifteen, +export const OneHundredAndSixteen$inboundSchema: z.ZodType< + OneHundredAndSixteen, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => UserEventPayload115Configuration$inboundSchema), - project: z.lazy(() => UserEventPayload115Project$inboundSchema), - team: z.lazy(() => UserEventPayloadTeam$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => UserEventPayload116Configuration$inboundSchema), + project: z.lazy(() => UserEventPayload116Project$inboundSchema), + team: z.lazy(() => UserEventPayloadTeam$inboundSchema), + }) +); -export function oneHundredAndFifteenFromJSON( +export function oneHundredAndSixteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFifteen' from JSON`, + (x) => OneHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixteen' from JSON`, ); } @@ -3115,10 +3311,12 @@ export const UserEventPayloadConfiguration$inboundSchema: z.ZodType< UserEventPayloadConfiguration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); export function userEventPayloadConfigurationFromJSON( jsonString: string, @@ -3131,22 +3329,24 @@ export function userEventPayloadConfigurationFromJSON( } /** @internal */ -export const UserEventPayload114Project$inboundSchema: z.ZodType< - UserEventPayload114Project, +export const UserEventPayload115Project$inboundSchema: z.ZodType< + UserEventPayload115Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload114ProjectFromJSON( +export function userEventPayload115ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload114Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload114Project' from JSON`, + (x) => UserEventPayload115Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload115Project' from JSON`, ); } @@ -3155,10 +3355,12 @@ export const PayloadTeam$inboundSchema: z.ZodType< PayloadTeam, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function payloadTeamFromJSON( jsonString: string, @@ -3171,25 +3373,27 @@ export function payloadTeamFromJSON( } /** @internal */ -export const OneHundredAndFourteen$inboundSchema: z.ZodType< - OneHundredAndFourteen, +export const OneHundredAndFifteen$inboundSchema: z.ZodType< + OneHundredAndFifteen, z.ZodTypeDef, unknown -> = z.object({ - buildsEnabled: types.optional(types.boolean()), - configuration: z.lazy(() => UserEventPayloadConfiguration$inboundSchema), - passive: types.optional(types.boolean()), - project: z.lazy(() => UserEventPayload114Project$inboundSchema), - team: z.lazy(() => PayloadTeam$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildsEnabled: types.optional(types.boolean()), + configuration: z.lazy(() => UserEventPayloadConfiguration$inboundSchema), + passive: types.optional(types.boolean()), + project: z.lazy(() => UserEventPayload115Project$inboundSchema), + team: z.lazy(() => PayloadTeam$inboundSchema), + }) +); -export function oneHundredAndFourteenFromJSON( +export function oneHundredAndFifteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFourteen' from JSON`, + (x) => OneHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFifteen' from JSON`, ); } @@ -3198,10 +3402,12 @@ export const PayloadConfiguration$inboundSchema: z.ZodType< PayloadConfiguration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); export function payloadConfigurationFromJSON( jsonString: string, @@ -3214,64 +3420,70 @@ export function payloadConfigurationFromJSON( } /** @internal */ -export const UserEventPayload113Project$inboundSchema: z.ZodType< - UserEventPayload113Project, +export const UserEventPayload114Project$inboundSchema: z.ZodType< + UserEventPayload114Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload113ProjectFromJSON( +export function userEventPayload114ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload113Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload113Project' from JSON`, + (x) => UserEventPayload114Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload114Project' from JSON`, ); } /** @internal */ -export const UserEventPayload113Team$inboundSchema: z.ZodType< - UserEventPayload113Team, +export const UserEventPayload114Team$inboundSchema: z.ZodType< + UserEventPayload114Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload113TeamFromJSON( +export function userEventPayload114TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload113Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload113Team' from JSON`, + (x) => UserEventPayload114Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload114Team' from JSON`, ); } /** @internal */ -export const OneHundredAndThirteen$inboundSchema: z.ZodType< - OneHundredAndThirteen, +export const OneHundredAndFourteen$inboundSchema: z.ZodType< + OneHundredAndFourteen, z.ZodTypeDef, unknown -> = z.object({ - buildsEnabled: types.optional(types.boolean()), - configuration: z.lazy(() => PayloadConfiguration$inboundSchema), - project: z.lazy(() => UserEventPayload113Project$inboundSchema), - team: z.lazy(() => UserEventPayload113Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildsEnabled: types.optional(types.boolean()), + configuration: z.lazy(() => PayloadConfiguration$inboundSchema), + project: z.lazy(() => UserEventPayload114Project$inboundSchema), + team: z.lazy(() => UserEventPayload114Team$inboundSchema), + }) +); -export function oneHundredAndThirteenFromJSON( +export function oneHundredAndFourteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirteen' from JSON`, + (x) => OneHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFourteen' from JSON`, ); } @@ -3280,10 +3492,12 @@ export const Configuration$inboundSchema: z.ZodType< Configuration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function configurationFromJSON( jsonString: string, @@ -3296,21 +3510,23 @@ export function configurationFromJSON( } /** @internal */ -export const OneHundredAndTwelve$inboundSchema: z.ZodType< - OneHundredAndTwelve, +export const OneHundredAndThirteen$inboundSchema: z.ZodType< + OneHundredAndThirteen, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => Configuration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => Configuration$inboundSchema), + }) +); -export function oneHundredAndTwelveFromJSON( +export function oneHundredAndThirteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwelve' from JSON`, + (x) => OneHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirteen' from JSON`, ); } @@ -3319,12 +3535,14 @@ export const Documents$inboundSchema: z.ZodType< Documents, z.ZodTypeDef, unknown -> = z.object({ - documentId: types.string(), - fingerprint: types.string(), - slug: types.string(), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + documentId: types.string(), + fingerprint: types.string(), + slug: types.string(), + title: types.string(), + }) +); export function documentsFromJSON( jsonString: string, @@ -3337,44 +3555,48 @@ export function documentsFromJSON( } /** @internal */ -export const OneHundredAndEleven$inboundSchema: z.ZodType< - OneHundredAndEleven, +export const OneHundredAndTwelve$inboundSchema: z.ZodType< + OneHundredAndTwelve, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - documents: z.array(z.lazy(() => Documents$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + documents: z.array(z.lazy(() => Documents$inboundSchema)), + }) +); -export function oneHundredAndElevenFromJSON( +export function oneHundredAndTwelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEleven' from JSON`, + (x) => OneHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwelve' from JSON`, ); } /** @internal */ -export const OneHundredAndTen$inboundSchema: z.ZodType< - OneHundredAndTen, +export const OneHundredAndEleven$inboundSchema: z.ZodType< + OneHundredAndEleven, z.ZodTypeDef, unknown -> = z.object({ - documentId: types.string(), - fingerprint: types.string(), - slug: types.string(), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + documentId: types.string(), + fingerprint: types.string(), + slug: types.string(), + title: types.string(), + }) +); -export function oneHundredAndTenFromJSON( +export function oneHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTen' from JSON`, + (x) => OneHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEleven' from JSON`, ); } @@ -3383,10 +3605,12 @@ export const PayloadNext$inboundSchema: z.ZodType< PayloadNext, z.ZodTypeDef, unknown -> = z.object({ - autoAddReviewers: types.boolean(), - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoAddReviewers: types.boolean(), + enabled: types.boolean(), + }) +); export function payloadNextFromJSON( jsonString: string, @@ -3403,10 +3627,12 @@ export const PayloadPrevious$inboundSchema: z.ZodType< PayloadPrevious, z.ZodTypeDef, unknown -> = z.object({ - autoAddReviewers: types.boolean(), - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoAddReviewers: types.boolean(), + enabled: types.boolean(), + }) +); export function payloadPreviousFromJSON( jsonString: string, @@ -3418,17 +3644,48 @@ export function payloadPreviousFromJSON( ); } +/** @internal */ +export const OneHundredAndTen$inboundSchema: z.ZodType< + OneHundredAndTen, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitOwnerName: types.string(), + gitRepositoryName: types.string(), + next: z.lazy(() => PayloadNext$inboundSchema), + previous: z.lazy(() => PayloadPrevious$inboundSchema), + }) +); + +export function oneHundredAndTenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndTen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTen' from JSON`, + ); +} + /** @internal */ export const OneHundredAndNine$inboundSchema: z.ZodType< OneHundredAndNine, z.ZodTypeDef, unknown -> = z.object({ - gitOwnerName: types.string(), - gitRepositoryName: types.string(), - next: z.lazy(() => PayloadNext$inboundSchema), - previous: z.lazy(() => PayloadPrevious$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorAccountId: types.nullable(types.number()), + actorLogin: types.string(), + gitOwnerName: types.string(), + gitRepositoryName: types.string(), + headSha: types.string(), + isAuthor: types.optional(types.boolean()), + prNumber: types.number(), + reviewUrl: types.string(), + team: types.string(), + }) +); export function oneHundredAndNineFromJSON( jsonString: string, @@ -3445,16 +3702,12 @@ export const OneHundredAndEight$inboundSchema: z.ZodType< OneHundredAndEight, z.ZodTypeDef, unknown -> = z.object({ - actorAccountId: types.nullable(types.number()), - actorLogin: types.string(), - gitOwnerName: types.string(), - gitRepositoryName: types.string(), - headSha: types.string(), - prNumber: types.number(), - reviewUrl: types.string(), - team: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cn: types.optional(types.string()), + cns: types.optional(z.array(types.string())), + }) +); export function oneHundredAndEightFromJSON( jsonString: string, @@ -3471,10 +3724,13 @@ export const OneHundredAndSeven$inboundSchema: z.ZodType< OneHundredAndSeven, z.ZodTypeDef, unknown -> = z.object({ - cn: types.optional(types.string()), - cns: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cn: types.optional(types.string()), + cns: types.optional(z.array(types.string())), + id: types.string(), + }) +); export function oneHundredAndSevenFromJSON( jsonString: string, @@ -3491,11 +3747,12 @@ export const OneHundredAndSix$inboundSchema: z.ZodType< OneHundredAndSix, z.ZodTypeDef, unknown -> = z.object({ - cn: types.optional(types.string()), - cns: types.optional(z.array(types.string())), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dst: types.string(), + src: types.string(), + }) +); export function oneHundredAndSixFromJSON( jsonString: string, @@ -3507,34 +3764,16 @@ export function oneHundredAndSixFromJSON( ); } -/** @internal */ -export const OneHundredAndFive$inboundSchema: z.ZodType< - OneHundredAndFive, - z.ZodTypeDef, - unknown -> = z.object({ - dst: types.string(), - src: types.string(), -}); - -export function oneHundredAndFiveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFive' from JSON`, - ); -} - /** @internal */ export const PayloadNewTeam$inboundSchema: z.ZodType< PayloadNewTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function payloadNewTeamFromJSON( jsonString: string, @@ -3551,9 +3790,11 @@ export const PayloadOldTeam$inboundSchema: z.ZodType< PayloadOldTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function payloadOldTeamFromJSON( jsonString: string, @@ -3565,16 +3806,41 @@ export function payloadOldTeamFromJSON( ); } +/** @internal */ +export const OneHundredAndFive$inboundSchema: z.ZodType< + OneHundredAndFive, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + newTeam: types.optional(z.lazy(() => PayloadNewTeam$inboundSchema)), + oldTeam: types.optional(z.lazy(() => PayloadOldTeam$inboundSchema)), + }) +); + +export function oneHundredAndFiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFive' from JSON`, + ); +} + /** @internal */ export const OneHundredAndFour$inboundSchema: z.ZodType< OneHundredAndFour, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - newTeam: types.optional(z.lazy(() => PayloadNewTeam$inboundSchema)), - oldTeam: types.optional(z.lazy(() => PayloadOldTeam$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cn: types.optional(types.string()), + cns: types.optional(z.array(types.string())), + id: types.optional(types.string()), + }) +); export function oneHundredAndFourFromJSON( jsonString: string, @@ -3591,11 +3857,13 @@ export const OneHundredAndThree$inboundSchema: z.ZodType< OneHundredAndThree, z.ZodTypeDef, unknown -> = z.object({ - cn: types.optional(types.string()), - cns: types.optional(z.array(types.string())), - id: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cns: z.array(types.string()), + custom: types.boolean(), + id: types.string(), + }) +); export function oneHundredAndThreeFromJSON( jsonString: string, @@ -3608,23 +3876,48 @@ export function oneHundredAndThreeFromJSON( } /** @internal */ -export const OneHundredAndTwo$inboundSchema: z.ZodType< - OneHundredAndTwo, +export const OneHundredAndTwo$inboundSchema: z.ZodType< + OneHundredAndTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cn: types.optional(types.string()), + cns: types.optional(z.array(types.string())), + custom: types.boolean(), + id: types.optional(types.string()), + }) +); + +export function oneHundredAndTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwo' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload101Project$inboundSchema: z.ZodType< + UserEventPayload101Project, z.ZodTypeDef, unknown -> = z.object({ - cns: z.array(types.string()), - custom: types.boolean(), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function oneHundredAndTwoFromJSON( +export function userEventPayload101ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwo' from JSON`, + (x) => UserEventPayload101Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload101Project' from JSON`, ); } @@ -3633,12 +3926,12 @@ export const OneHundredAndOne$inboundSchema: z.ZodType< OneHundredAndOne, z.ZodTypeDef, unknown -> = z.object({ - cn: types.optional(types.string()), - cns: types.optional(z.array(types.string())), - custom: types.boolean(), - id: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload101Project$inboundSchema), + versionId: types.string(), + }) +); export function oneHundredAndOneFromJSON( jsonString: string, @@ -3651,22 +3944,24 @@ export function oneHundredAndOneFromJSON( } /** @internal */ -export const UserEventPayload100Project$inboundSchema: z.ZodType< - UserEventPayload100Project, +export const UserEventPayloadProject$inboundSchema: z.ZodType< + UserEventPayloadProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload100ProjectFromJSON( +export function userEventPayloadProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload100Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload100Project' from JSON`, + (x) => UserEventPayloadProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadProject' from JSON`, ); } @@ -3675,10 +3970,13 @@ export const OneHundred$inboundSchema: z.ZodType< OneHundred, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload100Project$inboundSchema), - versionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bulkRedirectsLimit: types.number(), + prevBulkRedirectsLimit: types.number(), + project: z.lazy(() => UserEventPayloadProject$inboundSchema), + }) +); export function oneHundredFromJSON( jsonString: string, @@ -3690,36 +3988,17 @@ export function oneHundredFromJSON( ); } -/** @internal */ -export const UserEventPayloadProject$inboundSchema: z.ZodType< - UserEventPayloadProject, - z.ZodTypeDef, - unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); - -export function userEventPayloadProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayloadProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadProject' from JSON`, - ); -} - /** @internal */ export const NinetyNine$inboundSchema: z.ZodType< NinetyNine, z.ZodTypeDef, unknown -> = z.object({ - bulkRedirectsLimit: types.number(), - prevBulkRedirectsLimit: types.number(), - project: z.lazy(() => UserEventPayloadProject$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.optional(types.string()), + productAliases: z.array(types.string()), + }) +); export function ninetyNineFromJSON( jsonString: string, @@ -3731,15 +4010,23 @@ export function ninetyNineFromJSON( ); } +/** @internal */ +export const UserEventPayload98Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload98Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload98Action)); + /** @internal */ export const NinetyEight$inboundSchema: z.ZodType< NinetyEight, z.ZodTypeDef, unknown -> = z.object({ - subscriptionId: types.optional(types.string()), - productAliases: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.optional(types.string()), + action: UserEventPayload98Action$inboundSchema, + data: z.record(z.any()), + }) +); export function ninetyEightFromJSON( jsonString: string, @@ -3754,46 +4041,22 @@ export function ninetyEightFromJSON( /** @internal */ export const UserEventPayload97Action$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload97Action -> = z.nativeEnum(UserEventPayload97Action); - -/** @internal */ -export const NinetySeven$inboundSchema: z.ZodType< - NinetySeven, - z.ZodTypeDef, - unknown -> = z.object({ - subscriptionId: types.optional(types.string()), - action: UserEventPayload97Action$inboundSchema, - data: z.record(z.any()), -}); - -export function ninetySevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => NinetySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetySeven' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload96Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload96Action -> = z.nativeEnum(UserEventPayload96Action); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload97Action)); /** @internal */ -export const PlanSlug$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PlanSlug); +export const PlanSlug$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PlanSlug)); /** @internal */ export const PayloadData$inboundSchema: z.ZodType< PayloadData, z.ZodTypeDef, unknown -> = z.object({ - planSlug: PlanSlug$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + planSlug: PlanSlug$inboundSchema, + }) +); export function payloadDataFromJSON( jsonString: string, @@ -3806,36 +4069,40 @@ export function payloadDataFromJSON( } /** @internal */ -export const NinetySix$inboundSchema: z.ZodType< - NinetySix, +export const NinetySeven$inboundSchema: z.ZodType< + NinetySeven, z.ZodTypeDef, unknown -> = z.object({ - subscriptionId: types.optional(types.string()), - action: UserEventPayload96Action$inboundSchema, - data: z.lazy(() => PayloadData$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.optional(types.string()), + action: UserEventPayload97Action$inboundSchema, + data: z.lazy(() => PayloadData$inboundSchema), + }) +); -export function ninetySixFromJSON( +export function ninetySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetySix' from JSON`, + (x) => NinetySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload95Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload95Action -> = z.nativeEnum(UserEventPayload95Action); +export const UserEventPayload96Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload96Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload96Action)); /** @internal */ -export const Data2$inboundSchema: z.ZodType = z - .object({ - planSlug: types.literal("hobby"), - }); +export const Data2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + planSlug: types.literal("hobby"), + }) + ); export function data2FromJSON( jsonString: string, @@ -3850,18 +4117,20 @@ export function data2FromJSON( /** @internal */ export const UserEventDataPlanSlug$inboundSchema: z.ZodNativeEnum< typeof UserEventDataPlanSlug -> = z.nativeEnum(UserEventDataPlanSlug); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventDataPlanSlug)); /** @internal */ -export const DataReason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DataReason); +export const DataReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DataReason)); /** @internal */ -export const Data1$inboundSchema: z.ZodType = z - .object({ - planSlug: UserEventDataPlanSlug$inboundSchema, - reason: types.optional(DataReason$inboundSchema), - }); +export const Data1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + planSlug: UserEventDataPlanSlug$inboundSchema, + reason: types.optional(DataReason$inboundSchema), + }) + ); export function data1FromJSON( jsonString: string, @@ -3878,15 +4147,17 @@ export const UserEventPayloadData$inboundSchema: z.ZodType< UserEventPayloadData, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Data1$inboundSchema).and( - z.object({ planSlug: z.literal("v0_business") }), - ), - z.lazy(() => Data1$inboundSchema).and( - z.object({ planSlug: z.literal("v0_teams") }), - ), - z.lazy(() => Data2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Data1$inboundSchema).and( + z.object({ planSlug: z.literal("v0_business") }), + ), + z.lazy(() => Data1$inboundSchema).and( + z.object({ planSlug: z.literal("v0_teams") }), + ), + z.lazy(() => Data2$inboundSchema), + ]) +); export function userEventPayloadDataFromJSON( jsonString: string, @@ -3898,24 +4169,48 @@ export function userEventPayloadDataFromJSON( ); } +/** @internal */ +export const NinetySix$inboundSchema: z.ZodType< + NinetySix, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.optional(types.string()), + action: UserEventPayload96Action$inboundSchema, + data: z.union([ + z.lazy(() => Data1$inboundSchema).and( + z.object({ planSlug: z.literal("v0_business") }), + ), + z.lazy(() => Data1$inboundSchema).and( + z.object({ planSlug: z.literal("v0_teams") }), + ), + z.lazy(() => Data2$inboundSchema), + ]), + }) +); + +export function ninetySixFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => NinetySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetySix' from JSON`, + ); +} + /** @internal */ export const NinetyFive$inboundSchema: z.ZodType< NinetyFive, z.ZodTypeDef, unknown -> = z.object({ - subscriptionId: types.optional(types.string()), - action: UserEventPayload95Action$inboundSchema, - data: z.union([ - z.lazy(() => Data1$inboundSchema).and( - z.object({ planSlug: z.literal("v0_business") }), - ), - z.lazy(() => Data1$inboundSchema).and( - z.object({ planSlug: z.literal("v0_teams") }), - ), - z.lazy(() => Data2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.optional(types.string()), + planSlug: types.string(), + }) +); export function ninetyFiveFromJSON( jsonString: string, @@ -3927,15 +4222,23 @@ export function ninetyFiveFromJSON( ); } +/** @internal */ +export const UserEventPayloadChangedFields$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadChangedFields +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadChangedFields) +); + /** @internal */ export const NinetyFour$inboundSchema: z.ZodType< NinetyFour, z.ZodTypeDef, unknown -> = z.object({ - subscriptionId: types.optional(types.string()), - planSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedFields: z.array(UserEventPayloadChangedFields$inboundSchema), + }) +); export function ninetyFourFromJSON( jsonString: string, @@ -3947,19 +4250,18 @@ export function ninetyFourFromJSON( ); } -/** @internal */ -export const UserEventPayloadChangedFields$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadChangedFields -> = z.nativeEnum(UserEventPayloadChangedFields); - /** @internal */ export const NinetyThree$inboundSchema: z.ZodType< NinetyThree, z.ZodTypeDef, unknown -> = z.object({ - changedFields: z.array(UserEventPayloadChangedFields$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + brand: types.optional(types.string()), + last4: types.optional(types.string()), + paymentMethodId: types.string(), + }) +); export function ninetyThreeFromJSON( jsonString: string, @@ -3976,11 +4278,12 @@ export const NinetyTwo$inboundSchema: z.ZodType< NinetyTwo, z.ZodTypeDef, unknown -> = z.object({ - brand: types.optional(types.string()), - last4: types.optional(types.string()), - paymentMethodId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paymentMethodId: types.string(), + subscriptionId: types.string(), + }) +); export function ninetyTwoFromJSON( jsonString: string, @@ -3997,10 +4300,11 @@ export const NinetyOne$inboundSchema: z.ZodType< NinetyOne, z.ZodTypeDef, unknown -> = z.object({ - paymentMethodId: types.string(), - subscriptionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + subscriptionId: types.string(), + }) +); export function ninetyOneFromJSON( jsonString: string, @@ -4013,10 +4317,20 @@ export function ninetyOneFromJSON( } /** @internal */ -export const Ninety$inboundSchema: z.ZodType = z - .object({ - subscriptionId: types.string(), - }); +export const SettlementMethod$inboundSchema: z.ZodNativeEnum< + typeof SettlementMethod +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SettlementMethod)); + +/** @internal */ +export const Ninety$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.number(), + invoiceId: types.string(), + newInvoiceId: types.string(), + settlementMethod: SettlementMethod$inboundSchema, + }) + ); export function ninetyFromJSON( jsonString: string, @@ -4028,22 +4342,19 @@ export function ninetyFromJSON( ); } -/** @internal */ -export const SettlementMethod$inboundSchema: z.ZodNativeEnum< - typeof SettlementMethod -> = z.nativeEnum(SettlementMethod); - /** @internal */ export const EightyNine$inboundSchema: z.ZodType< EightyNine, z.ZodTypeDef, unknown -> = z.object({ - amount: types.number(), - invoiceId: types.string(), - newInvoiceId: types.string(), - settlementMethod: SettlementMethod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.number(), + invoiceId: types.string(), + lineItemCount: types.number(), + refundReason: types.string(), + }) +); export function eightyNineFromJSON( jsonString: string, @@ -4060,12 +4371,11 @@ export const EightyEight$inboundSchema: z.ZodType< EightyEight, z.ZodTypeDef, unknown -> = z.object({ - amount: types.number(), - invoiceId: types.string(), - lineItemCount: types.number(), - refundReason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + }) +); export function eightyEightFromJSON( jsonString: string, @@ -4082,9 +4392,13 @@ export const EightySeven$inboundSchema: z.ZodType< EightySeven, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.boolean(), + projectId: types.optional(types.string()), + projectName: types.string(), + }) +); export function eightySevenFromJSON( jsonString: string, @@ -4101,11 +4415,15 @@ export const EightySix$inboundSchema: z.ZodType< EightySix, z.ZodTypeDef, unknown -> = z.object({ - autoExposeSystemEnvs: types.boolean(), - projectId: types.optional(types.string()), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.boolean(), + prevAttackModeActiveUntil: z.nullable(types.number()).optional(), + prevAttackModeEnabled: types.optional(types.boolean()), + projectId: types.string(), + }) +); export function eightySixFromJSON( jsonString: string, @@ -4122,13 +4440,13 @@ export const EightyFive$inboundSchema: z.ZodType< EightyFive, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.boolean(), - prevAttackModeActiveUntil: z.nullable(types.number()).optional(), - prevAttackModeEnabled: types.optional(types.boolean()), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + organizationId: types.optional(types.string()), + }) +); export function eightyFiveFromJSON( jsonString: string, @@ -4141,32 +4459,13 @@ export function eightyFiveFromJSON( } /** @internal */ -export const EightyFour$inboundSchema: z.ZodType< - EightyFour, - z.ZodTypeDef, - unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), - organizationId: types.optional(types.string()), -}); - -export function eightyFourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EightyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyFour' from JSON`, +export const App$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) ); -} - -/** @internal */ -export const App$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - name: types.string(), - }); export function appFromJSON( jsonString: string, @@ -4179,63 +4478,71 @@ export function appFromJSON( } /** @internal */ -export const EightyThree$inboundSchema: z.ZodType< - EightyThree, +export const EightyFour$inboundSchema: z.ZodType< + EightyFour, z.ZodTypeDef, unknown -> = z.object({ - app: types.optional(z.lazy(() => App$inboundSchema)), - appId: types.optional(types.string()), - appName: types.string(), - issuedBefore: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: types.optional(z.lazy(() => App$inboundSchema)), + appId: types.optional(types.string()), + appName: types.string(), + issuedBefore: types.optional(types.number()), + }) +); -export function eightyThreeFromJSON( +export function eightyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyThree' from JSON`, + (x) => EightyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyFour' from JSON`, ); } /** @internal */ -export const EightyTwo$inboundSchema: z.ZodType< - EightyTwo, +export const EightyThree$inboundSchema: z.ZodType< + EightyThree, z.ZodTypeDef, unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), - secretLastFourChars: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + secretLastFourChars: types.optional(types.string()), + }) +); -export function eightyTwoFromJSON( +export function eightyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyTwo' from JSON`, + (x) => EightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyThree' from JSON`, ); } /** @internal */ export const PayloadPermissions$inboundSchema: z.ZodNativeEnum< typeof PayloadPermissions -> = z.nativeEnum(PayloadPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadPermissions)); /** @internal */ -export const UserEventPayload81ResourcesType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload81ResourcesType -> = z.nativeEnum(UserEventPayload81ResourcesType); +export const UserEventPayload82ResourcesType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload82ResourcesType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload82ResourcesType) +); /** @internal */ -export const Items$inboundSchema: z.ZodType = z - .object({ - type: UserEventPayload81ResourcesType$inboundSchema, - }); +export const Items$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UserEventPayload82ResourcesType$inboundSchema, + }) + ); export function itemsFromJSON( jsonString: string, @@ -4248,20 +4555,22 @@ export function itemsFromJSON( } /** @internal */ -export const UserEventPayload81Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload81Type -> = z.nativeEnum(UserEventPayload81Type); +export const UserEventPayload82Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload82Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload82Type)); /** @internal */ export const PayloadProjectIds$inboundSchema: z.ZodType< PayloadProjectIds, z.ZodTypeDef, unknown -> = z.object({ - items: z.lazy(() => Items$inboundSchema), - required: types.literal(true), - type: UserEventPayload81Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.lazy(() => Items$inboundSchema), + required: types.literal(true), + type: UserEventPayload82Type$inboundSchema, + }) +); export function payloadProjectIdsFromJSON( jsonString: string, @@ -4278,9 +4587,11 @@ export const Resources$inboundSchema: z.ZodType< Resources, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.lazy(() => PayloadProjectIds$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.lazy(() => PayloadProjectIds$inboundSchema), + }) +); export function resourcesFromJSON( jsonString: string, @@ -4293,98 +4604,26 @@ export function resourcesFromJSON( } /** @internal */ -export const EightyOne$inboundSchema: z.ZodType< - EightyOne, - z.ZodTypeDef, - unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), - organizationId: types.optional(types.string()), - permissions: types.optional(z.array(PayloadPermissions$inboundSchema)), - resources: types.optional(z.lazy(() => Resources$inboundSchema)), -}); - -export function eightyOneFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => EightyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyOne' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload80Permissions$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload80Permissions -> = z.nativeEnum(UserEventPayload80Permissions); - -/** @internal */ -export const UserEventPayload80AfterType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload80AfterType -> = z.nativeEnum(UserEventPayload80AfterType); - -/** @internal */ -export const UserEventPayloadItems$inboundSchema: z.ZodType< - UserEventPayloadItems, - z.ZodTypeDef, - unknown -> = z.object({ - type: UserEventPayload80AfterType$inboundSchema, -}); - -export function userEventPayloadItemsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayloadItems$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadItems' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload80Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload80Type -> = z.nativeEnum(UserEventPayload80Type); - -/** @internal */ -export const UserEventPayloadProjectIds$inboundSchema: z.ZodType< - UserEventPayloadProjectIds, - z.ZodTypeDef, - unknown -> = z.object({ - items: z.lazy(() => UserEventPayloadItems$inboundSchema), - required: types.literal(true), - type: UserEventPayload80Type$inboundSchema, -}); - -export function userEventPayloadProjectIdsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayloadProjectIds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadProjectIds' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayloadResources$inboundSchema: z.ZodType< - UserEventPayloadResources, +export const EightyTwo$inboundSchema: z.ZodType< + EightyTwo, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.lazy(() => UserEventPayloadProjectIds$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + organizationId: types.optional(types.string()), + permissions: types.optional(z.array(PayloadPermissions$inboundSchema)), + resources: types.optional(z.lazy(() => Resources$inboundSchema)), + }) +); -export function userEventPayloadResourcesFromJSON( +export function eightyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayloadResources$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadResources' from JSON`, + (x) => EightyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyTwo' from JSON`, ); } diff --git a/src/models/ejectmanagedconnectorop.ts b/src/models/ejectmanagedconnectorop.ts index 7f7dbc7749..d611837213 100644 --- a/src/models/ejectmanagedconnectorop.ts +++ b/src/models/ejectmanagedconnectorop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type EjectManagedConnectorRequest = { /** @@ -23,10 +24,12 @@ export const EjectManagedConnectorRequest$outboundSchema: z.ZodType< EjectManagedConnectorRequest$Outbound, z.ZodTypeDef, EjectManagedConnectorRequest -> = z.object({ - connector: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + slug: z.string().optional(), + }) +); export function ejectManagedConnectorRequestToJSON( ejectManagedConnectorRequest: EjectManagedConnectorRequest, diff --git a/src/models/emojitldnotsupported.ts b/src/models/emojitldnotsupported.ts index 70d7e50fa9..9c7518fbfb 100644 --- a/src/models/emojitldnotsupported.ts +++ b/src/models/emojitldnotsupported.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,27 @@ export class EmojiTldNotSupported extends VercelError { /** @internal */ export const EmojiTldNotSupportedCode$inboundSchema: z.ZodNativeEnum< typeof EmojiTldNotSupportedCode -> = z.nativeEnum(EmojiTldNotSupportedCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EmojiTldNotSupportedCode)); /** @internal */ export const EmojiTldNotSupported$inboundSchema: z.ZodType< EmojiTldNotSupported, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: EmojiTldNotSupportedCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new EmojiTldNotSupported(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: EmojiTldNotSupportedCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new EmojiTldNotSupported(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/exchangessotokenop.ts b/src/models/exchangessotokenop.ts index 36ea463e55..16841403ea 100644 --- a/src/models/exchangessotokenop.ts +++ b/src/models/exchangessotokenop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -93,19 +93,21 @@ export const ExchangeSsoTokenRequestBody2$outboundSchema: z.ZodType< ExchangeSsoTokenRequestBody2$Outbound, z.ZodTypeDef, ExchangeSsoTokenRequestBody2 -> = z.object({ - refreshToken: z.string(), - clientId: z.string(), - clientSecret: z.string(), - grantType: z.literal("refresh_token"), -}).transform((v) => { - return remap$(v, { - refreshToken: "refresh_token", - clientId: "client_id", - clientSecret: "client_secret", - grantType: "grant_type", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + refreshToken: z.string(), + clientId: z.string(), + clientSecret: z.string(), + grantType: z.literal("refresh_token"), + }).transform((v) => { + return remap$(v, { + refreshToken: "refresh_token", + clientId: "client_id", + clientSecret: "client_secret", + grantType: "grant_type", + }); + }) +); export function exchangeSsoTokenRequestBody2ToJSON( exchangeSsoTokenRequestBody2: ExchangeSsoTokenRequestBody2, @@ -132,21 +134,23 @@ export const ExchangeSsoTokenRequestBody1$outboundSchema: z.ZodType< ExchangeSsoTokenRequestBody1$Outbound, z.ZodTypeDef, ExchangeSsoTokenRequestBody1 -> = z.object({ - code: z.string(), - state: z.string().optional(), - clientId: z.string(), - clientSecret: z.string(), - redirectUri: z.string().optional(), - grantType: z.literal("authorization_code"), -}).transform((v) => { - return remap$(v, { - clientId: "client_id", - clientSecret: "client_secret", - redirectUri: "redirect_uri", - grantType: "grant_type", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: z.string(), + state: z.string().optional(), + clientId: z.string(), + clientSecret: z.string(), + redirectUri: z.string().optional(), + grantType: z.literal("authorization_code"), + }).transform((v) => { + return remap$(v, { + clientId: "client_id", + clientSecret: "client_secret", + redirectUri: "redirect_uri", + grantType: "grant_type", + }); + }) +); export function exchangeSsoTokenRequestBody1ToJSON( exchangeSsoTokenRequestBody1: ExchangeSsoTokenRequestBody1, @@ -168,10 +172,12 @@ export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType< ExchangeSsoTokenRequestBody$Outbound, z.ZodTypeDef, ExchangeSsoTokenRequestBody -> = z.union([ - z.lazy(() => ExchangeSsoTokenRequestBody1$outboundSchema), - z.lazy(() => ExchangeSsoTokenRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ExchangeSsoTokenRequestBody1$outboundSchema), + z.lazy(() => ExchangeSsoTokenRequestBody2$outboundSchema), + ]) +); export function exchangeSsoTokenRequestBodyToJSON( exchangeSsoTokenRequestBody: ExchangeSsoTokenRequestBody, @@ -188,21 +194,23 @@ export const ExchangeSsoTokenResponseBody2$inboundSchema: z.ZodType< ExchangeSsoTokenResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - access_token: types.string(), - expires_in: types.number(), - id_token: types.string(), - refresh_token: types.string(), - token_type: types.string(), -}).transform((v) => { - return remap$(v, { - "access_token": "accessToken", - "expires_in": "expiresIn", - "id_token": "idToken", - "refresh_token": "refreshToken", - "token_type": "tokenType", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access_token: types.string(), + expires_in: types.number(), + id_token: types.string(), + refresh_token: types.string(), + token_type: types.string(), + }).transform((v) => { + return remap$(v, { + "access_token": "accessToken", + "expires_in": "expiresIn", + "id_token": "idToken", + "refresh_token": "refreshToken", + "token_type": "tokenType", + }); + }) +); export function exchangeSsoTokenResponseBody2FromJSON( jsonString: string, @@ -219,21 +227,23 @@ export const ExchangeSsoTokenResponseBody1$inboundSchema: z.ZodType< ExchangeSsoTokenResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - access_token: types.nullable(types.string()), - expires_in: types.optional(types.number()), - id_token: types.string(), - refresh_token: types.optional(types.string()), - token_type: types.nullable(types.string()), -}).transform((v) => { - return remap$(v, { - "access_token": "accessToken", - "expires_in": "expiresIn", - "id_token": "idToken", - "refresh_token": "refreshToken", - "token_type": "tokenType", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access_token: types.nullable(types.string()), + expires_in: types.optional(types.number()), + id_token: types.string(), + refresh_token: types.optional(types.string()), + token_type: types.nullable(types.string()), + }).transform((v) => { + return remap$(v, { + "access_token": "accessToken", + "expires_in": "expiresIn", + "id_token": "idToken", + "refresh_token": "refreshToken", + "token_type": "tokenType", + }); + }) +); export function exchangeSsoTokenResponseBody1FromJSON( jsonString: string, @@ -250,10 +260,12 @@ export const ExchangeSsoTokenResponseBody$inboundSchema: z.ZodType< ExchangeSsoTokenResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ExchangeSsoTokenResponseBody2$inboundSchema), - z.lazy(() => ExchangeSsoTokenResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ExchangeSsoTokenResponseBody2$inboundSchema), + z.lazy(() => ExchangeSsoTokenResponseBody1$inboundSchema), + ]) +); export function exchangeSsoTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/expectedpricemismatch.ts b/src/models/expectedpricemismatch.ts index 05ffc45184..67e2db6024 100644 --- a/src/models/expectedpricemismatch.ts +++ b/src/models/expectedpricemismatch.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,27 @@ export class ExpectedPriceMismatch extends VercelError { /** @internal */ export const ExpectedPriceMismatchCode$inboundSchema: z.ZodNativeEnum< typeof ExpectedPriceMismatchCode -> = z.nativeEnum(ExpectedPriceMismatchCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ExpectedPriceMismatchCode)); /** @internal */ export const ExpectedPriceMismatch$inboundSchema: z.ZodType< ExpectedPriceMismatch, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: ExpectedPriceMismatchCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ExpectedPriceMismatch(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: ExpectedPriceMismatchCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ExpectedPriceMismatch(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/extendsessiontimeoutop.ts b/src/models/extendsessiontimeoutop.ts index 550d481d10..2a514933f2 100644 --- a/src/models/extendsessiontimeoutop.ts +++ b/src/models/extendsessiontimeoutop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { Session, Session$inboundSchema } from "./session.js"; @@ -52,9 +52,11 @@ export const ExtendSessionTimeoutRequestBody$outboundSchema: z.ZodType< ExtendSessionTimeoutRequestBody$Outbound, z.ZodTypeDef, ExtendSessionTimeoutRequestBody -> = z.object({ - duration: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: z.number(), + }) +); export function extendSessionTimeoutRequestBodyToJSON( extendSessionTimeoutRequestBody: ExtendSessionTimeoutRequestBody, @@ -79,17 +81,19 @@ export const ExtendSessionTimeoutRequest$outboundSchema: z.ZodType< ExtendSessionTimeoutRequest$Outbound, z.ZodTypeDef, ExtendSessionTimeoutRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ExtendSessionTimeoutRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ExtendSessionTimeoutRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function extendSessionTimeoutRequestToJSON( extendSessionTimeoutRequest: ExtendSessionTimeoutRequest, @@ -106,9 +110,11 @@ export const ExtendSessionTimeoutResponseBody$inboundSchema: z.ZodType< ExtendSessionTimeoutResponseBody, z.ZodTypeDef, unknown -> = z.object({ - session: Session$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + session: Session$inboundSchema, + }) +); export function extendSessionTimeoutResponseBodyFromJSON( jsonString: string, diff --git a/src/models/filetree.ts b/src/models/filetree.ts index 848539805e..8deeb074f5 100644 --- a/src/models/filetree.ts +++ b/src/models/filetree.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -57,21 +57,23 @@ export type FileTree = { /** @internal */ export const FileTreeType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(FileTreeType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FileTreeType)); /** @internal */ export const FileTree$inboundSchema: z.ZodType< FileTree, z.ZodTypeDef, unknown -> = z.object({ - children: types.optional(z.array(z.lazy(() => FileTree$inboundSchema))), - contentType: types.optional(types.string()), - mode: types.number(), - name: types.string(), - type: FileTreeType$inboundSchema, - uid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + children: types.optional(z.array(z.lazy(() => FileTree$inboundSchema))), + contentType: types.optional(types.string()), + mode: types.number(), + name: types.string(), + type: FileTreeType$inboundSchema, + uid: types.optional(types.string()), + }) +); export function fileTreeFromJSON( jsonString: string, diff --git a/src/models/filterprojectenvsop.ts b/src/models/filterprojectenvsop.ts index b1f8ae809d..31c4a8fcca 100644 --- a/src/models/filterprojectenvsop.ts +++ b/src/models/filterprojectenvsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -729,7 +729,7 @@ export type FilterProjectEnvsResponseBody = /** @internal */ export const QueryParamDecrypt$outboundSchema: z.ZodNativeEnum< typeof QueryParamDecrypt -> = z.nativeEnum(QueryParamDecrypt); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamDecrypt)); /** @internal */ export type FilterProjectEnvsRequest$Outbound = { @@ -748,16 +748,18 @@ export const FilterProjectEnvsRequest$outboundSchema: z.ZodType< FilterProjectEnvsRequest$Outbound, z.ZodTypeDef, FilterProjectEnvsRequest -> = z.object({ - idOrName: z.string(), - gitBranch: z.string().optional(), - decrypt: QueryParamDecrypt$outboundSchema.optional(), - source: z.string().optional(), - customEnvironmentId: z.string().optional(), - customEnvironmentSlug: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + gitBranch: z.string().optional(), + decrypt: QueryParamDecrypt$outboundSchema.optional(), + source: z.string().optional(), + customEnvironmentId: z.string().optional(), + customEnvironmentSlug: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function filterProjectEnvsRequestToJSON( filterProjectEnvsRequest: FilterProjectEnvsRequest, @@ -773,10 +775,12 @@ export const FilterProjectEnvsContentHintProjectsResponse17$inboundSchema: FilterProjectEnvsContentHintProjectsResponse17, z.ZodTypeDef, unknown - > = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse17FromJSON( jsonString: string, @@ -800,13 +804,15 @@ export const FilterProjectEnvsContentHintProjectsResponse16$inboundSchema: FilterProjectEnvsContentHintProjectsResponse16, z.ZodTypeDef, unknown - > = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse16FromJSON( jsonString: string, @@ -830,10 +836,12 @@ export const FilterProjectEnvsContentHintProjectsResponse15$inboundSchema: FilterProjectEnvsContentHintProjectsResponse15, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse15FromJSON( jsonString: string, @@ -857,10 +865,12 @@ export const FilterProjectEnvsContentHintProjectsResponse14$inboundSchema: FilterProjectEnvsContentHintProjectsResponse14, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse14FromJSON( jsonString: string, @@ -884,10 +894,12 @@ export const FilterProjectEnvsContentHintProjectsResponse13$inboundSchema: FilterProjectEnvsContentHintProjectsResponse13, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse13FromJSON( jsonString: string, @@ -911,10 +923,12 @@ export const FilterProjectEnvsContentHintProjectsResponse12$inboundSchema: FilterProjectEnvsContentHintProjectsResponse12, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse12FromJSON( jsonString: string, @@ -938,10 +952,12 @@ export const FilterProjectEnvsContentHintProjectsResponse11$inboundSchema: FilterProjectEnvsContentHintProjectsResponse11, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse11FromJSON( jsonString: string, @@ -965,10 +981,12 @@ export const FilterProjectEnvsContentHintProjectsResponse10$inboundSchema: FilterProjectEnvsContentHintProjectsResponse10, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse10FromJSON( jsonString: string, @@ -992,10 +1010,12 @@ export const FilterProjectEnvsContentHintProjectsResponse9$inboundSchema: FilterProjectEnvsContentHintProjectsResponse9, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse9FromJSON( jsonString: string, @@ -1019,10 +1039,12 @@ export const FilterProjectEnvsContentHintProjectsResponse8$inboundSchema: FilterProjectEnvsContentHintProjectsResponse8, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse8FromJSON( jsonString: string, @@ -1046,10 +1068,12 @@ export const FilterProjectEnvsContentHintProjectsResponse7$inboundSchema: FilterProjectEnvsContentHintProjectsResponse7, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse7FromJSON( jsonString: string, @@ -1073,10 +1097,12 @@ export const FilterProjectEnvsContentHintProjectsResponse6$inboundSchema: FilterProjectEnvsContentHintProjectsResponse6, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse6FromJSON( jsonString: string, @@ -1100,10 +1126,12 @@ export const FilterProjectEnvsContentHintProjectsResponse5$inboundSchema: FilterProjectEnvsContentHintProjectsResponse5, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse5FromJSON( jsonString: string, @@ -1127,10 +1155,12 @@ export const FilterProjectEnvsContentHintProjectsResponse4$inboundSchema: FilterProjectEnvsContentHintProjectsResponse4, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse4FromJSON( jsonString: string, @@ -1154,10 +1184,12 @@ export const FilterProjectEnvsContentHintProjectsResponse3$inboundSchema: FilterProjectEnvsContentHintProjectsResponse3, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse3FromJSON( jsonString: string, @@ -1181,10 +1213,12 @@ export const FilterProjectEnvsContentHintProjectsResponse2$inboundSchema: FilterProjectEnvsContentHintProjectsResponse2, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse2FromJSON( jsonString: string, @@ -1208,10 +1242,12 @@ export const FilterProjectEnvsContentHintProjectsResponse1$inboundSchema: FilterProjectEnvsContentHintProjectsResponse1, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) + ); export function filterProjectEnvsContentHintProjectsResponse1FromJSON( jsonString: string, @@ -1235,25 +1271,43 @@ export const FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema: FilterProjectEnvsResponseBodyProjectsContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse14$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse16$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjectsResponse9$inboundSchema), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse10$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse11$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse12$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse13$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse14$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse15$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse16$inboundSchema + ), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse17$inboundSchema + ), + ]) + ); export function filterProjectEnvsResponseBodyProjectsContentHintFromJSON( jsonString: string, @@ -1274,17 +1328,23 @@ export function filterProjectEnvsResponseBodyProjectsContentHintFromJSON( /** @internal */ export const FilterProjectEnvsResponseBodyProjectsSecurityIssues$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(FilterProjectEnvsResponseBodyProjectsSecurityIssues); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyProjectsSecurityIssues) + ); /** @internal */ export const FilterProjectEnvsTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsTargetProjectsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsTargetProjectsResponse2) + ); /** @internal */ export const FilterProjectEnvsTargetProjectsResponse1$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsTargetProjectsResponse1); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsTargetProjectsResponse1) + ); /** @internal */ export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: @@ -1292,10 +1352,12 @@ export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: FilterProjectEnvsResponseBodyProjectsResponseTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(FilterProjectEnvsTargetProjectsResponse1$inboundSchema), - FilterProjectEnvsTargetProjectsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(FilterProjectEnvsTargetProjectsResponse1$inboundSchema), + FilterProjectEnvsTargetProjectsResponse2$inboundSchema, + ]) + ); export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( jsonString: string, @@ -1315,30 +1377,36 @@ export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( /** @internal */ export const FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyProjectsResponseType) + ); /** @internal */ export const FilterProjectEnvsResponseBodyProjectsVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyProjectsVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyProjectsVisibility) + ); /** @internal */ export const ResponseBodyEnvs$inboundSchema: z.ZodType< ResponseBodyEnvs, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => FilterProjectEnvsContentHintProjectsResponse1$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse2$inboundSchema ), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjectsResponse4$inboundSchema), + z.lazy(() => + FilterProjectEnvsContentHintProjectsResponse4$inboundSchema + ), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse5$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse6$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse7$inboundSchema), @@ -1368,36 +1436,36 @@ export const ResponseBodyEnvs$inboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHintProjectsResponse17$inboundSchema ), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - key: types.string(), - securityIssues: z.array( - FilterProjectEnvsResponseBodyProjectsSecurityIssues$inboundSchema, - ), - sunsetSecretId: types.optional(types.string()), - system: types.optional(types.boolean()), - target: types.optional( - smartUnion([ - z.array(FilterProjectEnvsTargetProjectsResponse1$inboundSchema), - FilterProjectEnvsTargetProjectsResponse2$inboundSchema, - ]), - ), - type: FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - FilterProjectEnvsResponseBodyProjectsVisibility$inboundSchema, - ), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + key: types.string(), + securityIssues: z.array( + FilterProjectEnvsResponseBodyProjectsSecurityIssues$inboundSchema, + ), + sunsetSecretId: types.optional(types.string()), + system: types.optional(types.boolean()), + target: types.optional( + smartUnion([ + z.array(FilterProjectEnvsTargetProjectsResponse1$inboundSchema), + FilterProjectEnvsTargetProjectsResponse2$inboundSchema, + ]), + ), + type: FilterProjectEnvsResponseBodyProjectsResponseType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + FilterProjectEnvsResponseBodyProjectsVisibility$inboundSchema, + ), + }) +); export function responseBodyEnvsFromJSON( jsonString: string, @@ -1414,10 +1482,12 @@ export const FilterProjectEnvsResponseBody3$inboundSchema: z.ZodType< FilterProjectEnvsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - envs: z.array(z.lazy(() => ResponseBodyEnvs$inboundSchema)), - hiddenProductionEnvCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + envs: z.array(z.lazy(() => ResponseBodyEnvs$inboundSchema)), + hiddenProductionEnvCount: types.number(), + }) +); export function filterProjectEnvsResponseBody3FromJSON( jsonString: string, @@ -1434,10 +1504,12 @@ export const FilterProjectEnvsContentHintProjects17$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function filterProjectEnvsContentHintProjects17FromJSON( jsonString: string, @@ -1455,13 +1527,15 @@ export const FilterProjectEnvsContentHintProjects16$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function filterProjectEnvsContentHintProjects16FromJSON( jsonString: string, @@ -1479,10 +1553,12 @@ export const FilterProjectEnvsContentHintProjects15$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function filterProjectEnvsContentHintProjects15FromJSON( jsonString: string, @@ -1500,10 +1576,12 @@ export const FilterProjectEnvsContentHintProjects14$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function filterProjectEnvsContentHintProjects14FromJSON( jsonString: string, @@ -1521,10 +1599,12 @@ export const FilterProjectEnvsContentHintProjects13$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function filterProjectEnvsContentHintProjects13FromJSON( jsonString: string, @@ -1542,10 +1622,12 @@ export const FilterProjectEnvsContentHintProjects12$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function filterProjectEnvsContentHintProjects12FromJSON( jsonString: string, @@ -1563,10 +1645,12 @@ export const FilterProjectEnvsContentHintProjects11$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function filterProjectEnvsContentHintProjects11FromJSON( jsonString: string, @@ -1584,10 +1668,12 @@ export const FilterProjectEnvsContentHintProjects10$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function filterProjectEnvsContentHintProjects10FromJSON( jsonString: string, @@ -1605,10 +1691,12 @@ export const FilterProjectEnvsContentHintProjects9$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function filterProjectEnvsContentHintProjects9FromJSON( jsonString: string, @@ -1626,10 +1714,12 @@ export const FilterProjectEnvsContentHintProjects8$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function filterProjectEnvsContentHintProjects8FromJSON( jsonString: string, @@ -1647,10 +1737,12 @@ export const FilterProjectEnvsContentHintProjects7$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function filterProjectEnvsContentHintProjects7FromJSON( jsonString: string, @@ -1668,10 +1760,12 @@ export const FilterProjectEnvsContentHintProjects6$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function filterProjectEnvsContentHintProjects6FromJSON( jsonString: string, @@ -1689,10 +1783,12 @@ export const FilterProjectEnvsContentHintProjects5$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function filterProjectEnvsContentHintProjects5FromJSON( jsonString: string, @@ -1710,10 +1806,12 @@ export const FilterProjectEnvsContentHintProjects4$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function filterProjectEnvsContentHintProjects4FromJSON( jsonString: string, @@ -1731,10 +1829,12 @@ export const FilterProjectEnvsContentHintProjects3$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function filterProjectEnvsContentHintProjects3FromJSON( jsonString: string, @@ -1752,10 +1852,12 @@ export const FilterProjectEnvsContentHintProjects2$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function filterProjectEnvsContentHintProjects2FromJSON( jsonString: string, @@ -1773,10 +1875,12 @@ export const FilterProjectEnvsContentHintProjects1$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjects1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function filterProjectEnvsContentHintProjects1FromJSON( jsonString: string, @@ -1794,25 +1898,27 @@ export const FilterProjectEnvsResponseBodyContentHint$inboundSchema: z.ZodType< FilterProjectEnvsResponseBodyContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects16$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHintProjects17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects14$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects16$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHintProjects17$inboundSchema), + ]) +); export function filterProjectEnvsResponseBodyContentHintFromJSON( jsonString: string, @@ -1832,18 +1938,24 @@ export function filterProjectEnvsResponseBodyContentHintFromJSON( /** @internal */ export const FilterProjectEnvsResponseBodySecurityIssues$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodySecurityIssues); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodySecurityIssues) + ); /** @internal */ export const FilterProjectEnvsTargetProjects2$inboundSchema: z.ZodNativeEnum< typeof FilterProjectEnvsTargetProjects2 -> = z.nativeEnum(FilterProjectEnvsTargetProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsTargetProjects2) +); /** @internal */ export const FilterProjectEnvsTargetProjects1$inboundSchema: z.ZodNativeEnum< typeof FilterProjectEnvsTargetProjects1 -> = z.nativeEnum(FilterProjectEnvsTargetProjects1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsTargetProjects1) +); /** @internal */ export const FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: @@ -1851,10 +1963,12 @@ export const FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: FilterProjectEnvsResponseBodyProjectsTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(FilterProjectEnvsTargetProjects1$inboundSchema), - FilterProjectEnvsTargetProjects2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(FilterProjectEnvsTargetProjects1$inboundSchema), + FilterProjectEnvsTargetProjects2$inboundSchema, + ]) + ); export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( jsonString: string, @@ -1874,21 +1988,25 @@ export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( /** @internal */ export const FilterProjectEnvsResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyProjectsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyProjectsType) + ); /** @internal */ export const FilterProjectEnvsResponseBodyVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(FilterProjectEnvsResponseBodyVisibility); - -/** @internal */ -export const Envs$inboundSchema: z.ZodType = z - .object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyVisibility) + ); + +/** @internal */ +export const Envs$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => FilterProjectEnvsContentHintProjects1$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjects2$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjects3$inboundSchema), @@ -1906,36 +2024,36 @@ export const Envs$inboundSchema: z.ZodType = z z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjects16$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjects17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - key: types.string(), - securityIssues: z.array( - FilterProjectEnvsResponseBodySecurityIssues$inboundSchema, - ), - sunsetSecretId: types.optional(types.string()), - system: types.optional(types.boolean()), - target: types.optional( - smartUnion([ - z.array(FilterProjectEnvsTargetProjects1$inboundSchema), - FilterProjectEnvsTargetProjects2$inboundSchema, - ]), - ), - type: FilterProjectEnvsResponseBodyProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - FilterProjectEnvsResponseBodyVisibility$inboundSchema, - ), - }); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + key: types.string(), + securityIssues: z.array( + FilterProjectEnvsResponseBodySecurityIssues$inboundSchema, + ), + sunsetSecretId: types.optional(types.string()), + system: types.optional(types.boolean()), + target: types.optional( + smartUnion([ + z.array(FilterProjectEnvsTargetProjects1$inboundSchema), + FilterProjectEnvsTargetProjects2$inboundSchema, + ]), + ), + type: FilterProjectEnvsResponseBodyProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + FilterProjectEnvsResponseBodyVisibility$inboundSchema, + ), + }) + ); export function envsFromJSON( jsonString: string, @@ -1952,10 +2070,12 @@ export const FilterProjectEnvsResponseBody2$inboundSchema: z.ZodType< FilterProjectEnvsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - envs: z.array(z.lazy(() => Envs$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + envs: z.array(z.lazy(() => Envs$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function filterProjectEnvsResponseBody2FromJSON( jsonString: string, @@ -1972,10 +2092,12 @@ export const FilterProjectEnvsContentHint17$inboundSchema: z.ZodType< FilterProjectEnvsContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function filterProjectEnvsContentHint17FromJSON( jsonString: string, @@ -1992,13 +2114,15 @@ export const FilterProjectEnvsContentHint16$inboundSchema: z.ZodType< FilterProjectEnvsContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function filterProjectEnvsContentHint16FromJSON( jsonString: string, @@ -2015,10 +2139,12 @@ export const FilterProjectEnvsContentHint15$inboundSchema: z.ZodType< FilterProjectEnvsContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function filterProjectEnvsContentHint15FromJSON( jsonString: string, @@ -2035,10 +2161,12 @@ export const FilterProjectEnvsContentHint14$inboundSchema: z.ZodType< FilterProjectEnvsContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function filterProjectEnvsContentHint14FromJSON( jsonString: string, @@ -2055,10 +2183,12 @@ export const FilterProjectEnvsContentHint13$inboundSchema: z.ZodType< FilterProjectEnvsContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function filterProjectEnvsContentHint13FromJSON( jsonString: string, @@ -2075,10 +2205,12 @@ export const FilterProjectEnvsContentHint12$inboundSchema: z.ZodType< FilterProjectEnvsContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function filterProjectEnvsContentHint12FromJSON( jsonString: string, @@ -2095,10 +2227,12 @@ export const FilterProjectEnvsContentHint11$inboundSchema: z.ZodType< FilterProjectEnvsContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function filterProjectEnvsContentHint11FromJSON( jsonString: string, @@ -2115,10 +2249,12 @@ export const FilterProjectEnvsContentHint10$inboundSchema: z.ZodType< FilterProjectEnvsContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function filterProjectEnvsContentHint10FromJSON( jsonString: string, @@ -2135,10 +2271,12 @@ export const FilterProjectEnvsContentHint9$inboundSchema: z.ZodType< FilterProjectEnvsContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function filterProjectEnvsContentHint9FromJSON( jsonString: string, @@ -2155,10 +2293,12 @@ export const FilterProjectEnvsContentHint8$inboundSchema: z.ZodType< FilterProjectEnvsContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function filterProjectEnvsContentHint8FromJSON( jsonString: string, @@ -2175,10 +2315,12 @@ export const FilterProjectEnvsContentHint7$inboundSchema: z.ZodType< FilterProjectEnvsContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function filterProjectEnvsContentHint7FromJSON( jsonString: string, @@ -2195,10 +2337,12 @@ export const FilterProjectEnvsContentHint6$inboundSchema: z.ZodType< FilterProjectEnvsContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function filterProjectEnvsContentHint6FromJSON( jsonString: string, @@ -2215,10 +2359,12 @@ export const FilterProjectEnvsContentHint5$inboundSchema: z.ZodType< FilterProjectEnvsContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function filterProjectEnvsContentHint5FromJSON( jsonString: string, @@ -2235,10 +2381,12 @@ export const FilterProjectEnvsContentHint4$inboundSchema: z.ZodType< FilterProjectEnvsContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function filterProjectEnvsContentHint4FromJSON( jsonString: string, @@ -2255,10 +2403,12 @@ export const FilterProjectEnvsContentHint3$inboundSchema: z.ZodType< FilterProjectEnvsContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function filterProjectEnvsContentHint3FromJSON( jsonString: string, @@ -2275,10 +2425,12 @@ export const FilterProjectEnvsContentHint2$inboundSchema: z.ZodType< FilterProjectEnvsContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function filterProjectEnvsContentHint2FromJSON( jsonString: string, @@ -2295,10 +2447,12 @@ export const FilterProjectEnvsContentHint1$inboundSchema: z.ZodType< FilterProjectEnvsContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function filterProjectEnvsContentHint1FromJSON( jsonString: string, @@ -2315,25 +2469,27 @@ export const ResponseBodyContentHint$inboundSchema: z.ZodType< ResponseBodyContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint16$inboundSchema), - z.lazy(() => FilterProjectEnvsContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint4$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint5$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint6$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint7$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint8$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint9$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint10$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint11$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint12$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint14$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint16$inboundSchema), + z.lazy(() => FilterProjectEnvsContentHint17$inboundSchema), + ]) +); export function responseBodyContentHintFromJSON( jsonString: string, @@ -2348,27 +2504,29 @@ export function responseBodyContentHintFromJSON( /** @internal */ export const ResponseBodySecurityIssues$inboundSchema: z.ZodNativeEnum< typeof ResponseBodySecurityIssues -> = z.nativeEnum(ResponseBodySecurityIssues); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodySecurityIssues)); /** @internal */ export const FilterProjectEnvsTarget2$inboundSchema: z.ZodNativeEnum< typeof FilterProjectEnvsTarget2 -> = z.nativeEnum(FilterProjectEnvsTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FilterProjectEnvsTarget2)); /** @internal */ export const FilterProjectEnvsTarget1$inboundSchema: z.ZodNativeEnum< typeof FilterProjectEnvsTarget1 -> = z.nativeEnum(FilterProjectEnvsTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FilterProjectEnvsTarget1)); /** @internal */ export const FilterProjectEnvsResponseBodyTarget$inboundSchema: z.ZodType< FilterProjectEnvsResponseBodyTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(FilterProjectEnvsTarget1$inboundSchema), - FilterProjectEnvsTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(FilterProjectEnvsTarget1$inboundSchema), + FilterProjectEnvsTarget2$inboundSchema, + ]) +); export function filterProjectEnvsResponseBodyTargetFromJSON( jsonString: string, @@ -2384,23 +2542,25 @@ export function filterProjectEnvsResponseBodyTargetFromJSON( /** @internal */ export const FilterProjectEnvsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof FilterProjectEnvsResponseBodyType -> = z.nativeEnum(FilterProjectEnvsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FilterProjectEnvsResponseBodyType) +); /** @internal */ export const ResponseBodyVisibility$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyVisibility -> = z.nativeEnum(ResponseBodyVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyVisibility)); /** @internal */ export const FilterProjectEnvsResponseBody1$inboundSchema: z.ZodType< FilterProjectEnvsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => FilterProjectEnvsContentHint1$inboundSchema), z.lazy(() => FilterProjectEnvsContentHint2$inboundSchema), z.lazy(() => FilterProjectEnvsContentHint3$inboundSchema), @@ -2418,32 +2578,32 @@ export const FilterProjectEnvsResponseBody1$inboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), z.lazy(() => FilterProjectEnvsContentHint16$inboundSchema), z.lazy(() => FilterProjectEnvsContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - key: types.string(), - securityIssues: z.array(ResponseBodySecurityIssues$inboundSchema), - sunsetSecretId: types.optional(types.string()), - system: types.optional(types.boolean()), - target: types.optional( - smartUnion([ - z.array(FilterProjectEnvsTarget1$inboundSchema), - FilterProjectEnvsTarget2$inboundSchema, - ]), - ), - type: FilterProjectEnvsResponseBodyType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(ResponseBodyVisibility$inboundSchema), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + key: types.string(), + securityIssues: z.array(ResponseBodySecurityIssues$inboundSchema), + sunsetSecretId: types.optional(types.string()), + system: types.optional(types.boolean()), + target: types.optional( + smartUnion([ + z.array(FilterProjectEnvsTarget1$inboundSchema), + FilterProjectEnvsTarget2$inboundSchema, + ]), + ), + type: FilterProjectEnvsResponseBodyType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(ResponseBodyVisibility$inboundSchema), + }) +); export function filterProjectEnvsResponseBody1FromJSON( jsonString: string, @@ -2460,11 +2620,13 @@ export const FilterProjectEnvsResponseBody$inboundSchema: z.ZodType< FilterProjectEnvsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => FilterProjectEnvsResponseBody1$inboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody2$inboundSchema), - z.lazy(() => FilterProjectEnvsResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => FilterProjectEnvsResponseBody1$inboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody2$inboundSchema), + z.lazy(() => FilterProjectEnvsResponseBody3$inboundSchema), + ]) +); export function filterProjectEnvsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/finalizeinstallationop.ts b/src/models/finalizeinstallationop.ts index d37136ba2f..2d373137b4 100644 --- a/src/models/finalizeinstallationop.ts +++ b/src/models/finalizeinstallationop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type FinalizeInstallationRequest = { integrationConfigurationId: string; @@ -18,9 +19,11 @@ export const FinalizeInstallationRequest$outboundSchema: z.ZodType< FinalizeInstallationRequest$Outbound, z.ZodTypeDef, FinalizeInstallationRequest -> = z.object({ - integrationConfigurationId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + }) +); export function finalizeInstallationRequestToJSON( finalizeInstallationRequest: FinalizeInstallationRequest, diff --git a/src/models/flag.ts b/src/models/flag.ts index b1df971740..a00c7772cc 100644 --- a/src/models/flag.ts +++ b/src/models/flag.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -331,9 +331,11 @@ export const Fallthrough4$inboundSchema: z.ZodType< Fallthrough4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function fallthrough4FromJSON( jsonString: string, @@ -348,18 +350,22 @@ export function fallthrough4FromJSON( /** @internal */ export const FlagFallthroughEnvironments3Type$inboundSchema: z.ZodNativeEnum< typeof FlagFallthroughEnvironments3Type -> = z.nativeEnum(FlagFallthroughEnvironments3Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FlagFallthroughEnvironments3Type) +); /** @internal */ export const FallthroughBase$inboundSchema: z.ZodType< FallthroughBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: FlagFallthroughEnvironments3Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: FlagFallthroughEnvironments3Type$inboundSchema, + }) +); export function fallthroughBaseFromJSON( jsonString: string, @@ -372,11 +378,13 @@ export function fallthroughBaseFromJSON( } /** @internal */ -export const Slots$inboundSchema: z.ZodType = z - .object({ - durationMs: types.number(), - promille: types.number(), - }); +export const Slots$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) + ); export function slotsFromJSON( jsonString: string, @@ -393,16 +401,18 @@ export const Fallthrough3$inboundSchema: z.ZodType< Fallthrough3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => FallthroughBase$inboundSchema), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array(z.lazy(() => Slots$inboundSchema)), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => FallthroughBase$inboundSchema), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array(z.lazy(() => Slots$inboundSchema)), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function fallthrough3FromJSON( jsonString: string, @@ -417,15 +427,19 @@ export function fallthrough3FromJSON( /** @internal */ export const FlagFallthroughEnvironments2Type$inboundSchema: z.ZodNativeEnum< typeof FlagFallthroughEnvironments2Type -> = z.nativeEnum(FlagFallthroughEnvironments2Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FlagFallthroughEnvironments2Type) +); /** @internal */ -export const Base$inboundSchema: z.ZodType = z - .object({ - attribute: types.string(), - kind: types.string(), - type: FlagFallthroughEnvironments2Type$inboundSchema, - }); +export const Base$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: FlagFallthroughEnvironments2Type$inboundSchema, + }) + ); export function baseFromJSON( jsonString: string, @@ -442,12 +456,14 @@ export const Fallthrough2$inboundSchema: z.ZodType< Fallthrough2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => Base$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => Base$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function fallthrough2FromJSON( jsonString: string, @@ -464,10 +480,12 @@ export const Fallthrough1$inboundSchema: z.ZodType< Fallthrough1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function fallthrough1FromJSON( jsonString: string, @@ -484,12 +502,14 @@ export const Fallthrough$inboundSchema: z.ZodType< Fallthrough, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Fallthrough1$inboundSchema), - z.lazy(() => Fallthrough2$inboundSchema), - z.lazy(() => Fallthrough3$inboundSchema), - z.lazy(() => Fallthrough4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Fallthrough1$inboundSchema), + z.lazy(() => Fallthrough2$inboundSchema), + z.lazy(() => Fallthrough3$inboundSchema), + z.lazy(() => Fallthrough4$inboundSchema), + ]) +); export function fallthroughFromJSON( jsonString: string, @@ -502,18 +522,20 @@ export function fallthroughFromJSON( } /** @internal */ -export const FlagType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(FlagType); +export const FlagType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FlagType)); /** @internal */ export const PausedOutcome$inboundSchema: z.ZodType< PausedOutcome, z.ZodTypeDef, unknown -> = z.object({ - type: FlagType$inboundSchema, - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: FlagType$inboundSchema, + variantId: types.string(), + }) +); export function pausedOutcomeFromJSON( jsonString: string, @@ -526,11 +548,13 @@ export function pausedOutcomeFromJSON( } /** @internal */ -export const Reuse$inboundSchema: z.ZodType = z - .object({ - active: types.boolean(), - environment: types.string(), - }); +export const Reuse$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + environment: types.string(), + }) + ); export function reuseFromJSON( jsonString: string, @@ -543,16 +567,19 @@ export function reuseFromJSON( } /** @internal */ -export const Cmp$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Cmp); +export const Cmp$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Cmp)); /** @internal */ export const CmpOptions$inboundSchema: z.ZodType< CmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function cmpOptionsFromJSON( jsonString: string, @@ -565,12 +592,14 @@ export function cmpOptionsFromJSON( } /** @internal */ -export const Lhs2$inboundSchema: z.ZodType = z - .object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), - }); +export const Lhs2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) + ); export function lhs2FromJSON( jsonString: string, @@ -583,10 +612,12 @@ export function lhs2FromJSON( } /** @internal */ -export const Lhs1$inboundSchema: z.ZodType = z - .object({ - type: types.literal("segment"), - }); +export const Lhs1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) + ); export function lhs1FromJSON( jsonString: string, @@ -599,9 +630,13 @@ export function lhs1FromJSON( } /** @internal */ -export const Lhs$inboundSchema: z.ZodType = z.union( - [z.lazy(() => Lhs1$inboundSchema), z.lazy(() => Lhs2$inboundSchema)], -); +export const Lhs$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Lhs1$inboundSchema), + z.lazy(() => Lhs2$inboundSchema), + ]) + ); export function lhsFromJSON( jsonString: string, @@ -614,16 +649,18 @@ export function lhsFromJSON( } /** @internal */ -export const FlagRhsType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(FlagRhsType); +export const FlagRhsType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FlagRhsType)); /** @internal */ -export const Rhs4$inboundSchema: z.ZodType = z - .object({ - flags: types.string(), - pattern: types.string(), - type: FlagRhsType$inboundSchema, - }); +export const Rhs4$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: FlagRhsType$inboundSchema, + }) + ); export function rhs4FromJSON( jsonString: string, @@ -636,12 +673,14 @@ export function rhs4FromJSON( } /** @internal */ -export const Items2$inboundSchema: z.ZodType = z - .object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), - }); +export const Items2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) + ); export function items2FromJSON( jsonString: string, @@ -654,12 +693,14 @@ export function items2FromJSON( } /** @internal */ -export const Items1$inboundSchema: z.ZodType = z - .object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), - }); +export const Items1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) + ); export function items1FromJSON( jsonString: string, @@ -676,10 +717,12 @@ export const RhsItems$inboundSchema: z.ZodType< RhsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Items1$inboundSchema), - z.lazy(() => Items2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Items1$inboundSchema), + z.lazy(() => Items2$inboundSchema), + ]) +); export function rhsItemsFromJSON( jsonString: string, @@ -692,20 +735,20 @@ export function rhsItemsFromJSON( } /** @internal */ -export const RhsType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RhsType); +export const RhsType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RhsType)); /** @internal */ -export const Rhs3$inboundSchema: z.ZodType = z - .object({ - items: z.array( - smartUnion([ +export const Rhs3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => Items1$inboundSchema), z.lazy(() => Items2$inboundSchema), - ]), - ), - type: RhsType$inboundSchema, - }); + ])), + type: RhsType$inboundSchema, + }) + ); export function rhs3FromJSON( jsonString: string, @@ -719,13 +762,15 @@ export function rhs3FromJSON( /** @internal */ export const Rhs$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Rhs4$inboundSchema), - z.lazy(() => Rhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Rhs4$inboundSchema), + z.lazy(() => Rhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) + ); export function rhsFromJSON( jsonString: string, @@ -742,23 +787,23 @@ export const Conditions$inboundSchema: z.ZodType< Conditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: Cmp$inboundSchema, - cmpOptions: types.optional(z.lazy(() => CmpOptions$inboundSchema)), - lhs: z.union([ - z.lazy(() => Lhs1$inboundSchema), - z.lazy(() => Lhs2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: Cmp$inboundSchema, + cmpOptions: types.optional(z.lazy(() => CmpOptions$inboundSchema)), + lhs: z.union([ + z.lazy(() => Lhs1$inboundSchema), + z.lazy(() => Lhs2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => Rhs4$inboundSchema), z.lazy(() => Rhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function conditionsFromJSON( jsonString: string, @@ -775,9 +820,11 @@ export const Outcome4$inboundSchema: z.ZodType< Outcome4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function outcome4FromJSON( jsonString: string, @@ -792,18 +839,22 @@ export function outcome4FromJSON( /** @internal */ export const FlagOutcomeEnvironmentsRules3Type$inboundSchema: z.ZodNativeEnum< typeof FlagOutcomeEnvironmentsRules3Type -> = z.nativeEnum(FlagOutcomeEnvironmentsRules3Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FlagOutcomeEnvironmentsRules3Type) +); /** @internal */ export const FlagOutcomeBase$inboundSchema: z.ZodType< FlagOutcomeBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: FlagOutcomeEnvironmentsRules3Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: FlagOutcomeEnvironmentsRules3Type$inboundSchema, + }) +); export function flagOutcomeBaseFromJSON( jsonString: string, @@ -820,10 +871,12 @@ export const OutcomeSlots$inboundSchema: z.ZodType< OutcomeSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function outcomeSlotsFromJSON( jsonString: string, @@ -840,16 +893,18 @@ export const Outcome3$inboundSchema: z.ZodType< Outcome3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => FlagOutcomeBase$inboundSchema), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array(z.lazy(() => OutcomeSlots$inboundSchema)), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => FlagOutcomeBase$inboundSchema), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array(z.lazy(() => OutcomeSlots$inboundSchema)), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function outcome3FromJSON( jsonString: string, @@ -864,18 +919,22 @@ export function outcome3FromJSON( /** @internal */ export const FlagOutcomeEnvironmentsRules2Type$inboundSchema: z.ZodNativeEnum< typeof FlagOutcomeEnvironmentsRules2Type -> = z.nativeEnum(FlagOutcomeEnvironmentsRules2Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(FlagOutcomeEnvironmentsRules2Type) +); /** @internal */ export const OutcomeBase$inboundSchema: z.ZodType< OutcomeBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: FlagOutcomeEnvironmentsRules2Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: FlagOutcomeEnvironmentsRules2Type$inboundSchema, + }) +); export function outcomeBaseFromJSON( jsonString: string, @@ -892,12 +951,14 @@ export const Outcome2$inboundSchema: z.ZodType< Outcome2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => OutcomeBase$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => OutcomeBase$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function outcome2FromJSON( jsonString: string, @@ -914,10 +975,12 @@ export const Outcome1$inboundSchema: z.ZodType< Outcome1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function outcome1FromJSON( jsonString: string, @@ -934,12 +997,14 @@ export const FlagOutcome$inboundSchema: z.ZodType< FlagOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Outcome1$inboundSchema), - z.lazy(() => Outcome2$inboundSchema), - z.lazy(() => Outcome3$inboundSchema), - z.lazy(() => Outcome4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Outcome1$inboundSchema), + z.lazy(() => Outcome2$inboundSchema), + z.lazy(() => Outcome3$inboundSchema), + z.lazy(() => Outcome4$inboundSchema), + ]) +); export function flagOutcomeFromJSON( jsonString: string, @@ -952,17 +1017,19 @@ export function flagOutcomeFromJSON( } /** @internal */ -export const Rules$inboundSchema: z.ZodType = z - .object({ - conditions: z.array(z.lazy(() => Conditions$inboundSchema)), - id: types.string(), - outcome: z.union([ - z.lazy(() => Outcome1$inboundSchema), - z.lazy(() => Outcome2$inboundSchema), - z.lazy(() => Outcome3$inboundSchema), - z.lazy(() => Outcome4$inboundSchema), - ]), - }); +export const Rules$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => Conditions$inboundSchema)), + id: types.string(), + outcome: z.union([ + z.lazy(() => Outcome1$inboundSchema), + z.lazy(() => Outcome2$inboundSchema), + z.lazy(() => Outcome3$inboundSchema), + z.lazy(() => Outcome4$inboundSchema), + ]), + }) + ); export function rulesFromJSON( jsonString: string, @@ -976,10 +1043,12 @@ export function rulesFromJSON( /** @internal */ export const Targets$inboundSchema: z.ZodType = - z.object({ - note: types.optional(types.string()), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) + ); export function targetsFromJSON( jsonString: string, @@ -996,22 +1065,26 @@ export const FlagEnvironments$inboundSchema: z.ZodType< FlagEnvironments, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - fallthrough: z.union([ - z.lazy(() => Fallthrough1$inboundSchema), - z.lazy(() => Fallthrough2$inboundSchema), - z.lazy(() => Fallthrough3$inboundSchema), - z.lazy(() => Fallthrough4$inboundSchema), - ]), - pausedOutcome: z.lazy(() => PausedOutcome$inboundSchema), - reuse: types.optional(z.lazy(() => Reuse$inboundSchema)), - revision: types.optional(types.number()), - rules: z.array(z.lazy(() => Rules$inboundSchema)), - targets: types.optional( - z.record(z.record(z.record(z.array(z.lazy(() => Targets$inboundSchema))))), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + fallthrough: z.union([ + z.lazy(() => Fallthrough1$inboundSchema), + z.lazy(() => Fallthrough2$inboundSchema), + z.lazy(() => Fallthrough3$inboundSchema), + z.lazy(() => Fallthrough4$inboundSchema), + ]), + pausedOutcome: z.lazy(() => PausedOutcome$inboundSchema), + reuse: types.optional(z.lazy(() => Reuse$inboundSchema)), + revision: types.optional(types.number()), + rules: z.array(z.lazy(() => Rules$inboundSchema)), + targets: types.optional( + z.record( + z.record(z.record(z.array(z.lazy(() => Targets$inboundSchema)))), + ), + ), + }) +); export function flagEnvironmentsFromJSON( jsonString: string, @@ -1024,28 +1097,28 @@ export function flagEnvironmentsFromJSON( } /** @internal */ -export const Kind$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Kind, -); +export const Kind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Kind)); /** @internal */ -export const State$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - State, -); +export const State$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(State)); /** @internal */ -export const TypeName$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TypeName); +export const TypeName$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TypeName)); /** @internal */ export const Value$inboundSchema: z.ZodType = - smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]) + ); export function valueFromJSON( jsonString: string, @@ -1062,20 +1135,22 @@ export const Variants$inboundSchema: z.ZodType< Variants, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - id: types.string(), - label: types.optional(types.string()), - value: types.nullable( - smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + id: types.string(), + label: types.optional(types.string()), + value: types.nullable( + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]), + ), + }) +); export function variantsFromJSON( jsonString: string, @@ -1089,10 +1164,12 @@ export function variantsFromJSON( /** @internal */ export const Creator$inboundSchema: z.ZodType = - z.object({ - id: types.string(), - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) + ); export function creatorFromJSON( jsonString: string, @@ -1109,9 +1186,11 @@ export const Metadata$inboundSchema: z.ZodType< Metadata, z.ZodTypeDef, unknown -> = z.object({ - creator: types.optional(z.lazy(() => Creator$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: types.optional(z.lazy(() => Creator$inboundSchema)), + }) +); export function metadataFromJSON( jsonString: string, @@ -1124,30 +1203,32 @@ export function metadataFromJSON( } /** @internal */ -export const Flag$inboundSchema: z.ZodType = z - .object({ - createdAt: types.number(), - createdBy: types.string(), - description: types.optional(types.string()), - environments: z.record(z.lazy(() => FlagEnvironments$inboundSchema)), - id: types.string(), - kind: Kind$inboundSchema, - maintainerIds: types.optional(z.array(types.string())), - ownerId: types.string(), - permanent: types.optional(types.boolean()), - projectId: types.string(), - revision: types.number(), - seed: types.number(), - seenInProduction: types.optional(types.boolean()), - slug: types.string(), - state: State$inboundSchema, - tags: types.optional(z.array(types.string())), - typeName: TypeName$inboundSchema, - updatedAt: types.number(), - updatedBy: types.optional(types.string()), - variants: z.array(z.lazy(() => Variants$inboundSchema)), - metadata: types.optional(z.lazy(() => Metadata$inboundSchema)), - }); +export const Flag$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + description: types.optional(types.string()), + environments: z.record(z.lazy(() => FlagEnvironments$inboundSchema)), + id: types.string(), + kind: Kind$inboundSchema, + maintainerIds: types.optional(z.array(types.string())), + ownerId: types.string(), + permanent: types.optional(types.boolean()), + projectId: types.string(), + revision: types.number(), + seed: types.number(), + seenInProduction: types.optional(types.boolean()), + slug: types.string(), + state: State$inboundSchema, + tags: types.optional(z.array(types.string())), + typeName: TypeName$inboundSchema, + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + variants: z.array(z.lazy(() => Variants$inboundSchema)), + metadata: types.optional(z.lazy(() => Metadata$inboundSchema)), + }) + ); export function flagFromJSON( jsonString: string, diff --git a/src/models/flagjsonvalue.ts b/src/models/flagjsonvalue.ts index 6fd0fdc200..8d1b2961ac 100644 --- a/src/models/flagjsonvalue.ts +++ b/src/models/flagjsonvalue.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -18,13 +18,15 @@ export const FlagJSONValue$inboundSchema: z.ZodType< FlagJSONValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.array(types.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), - z.record(types.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.array(types.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), + z.record(types.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), + types.boolean(), + ]) +); export function flagJSONValueFromJSON( jsonString: string, diff --git a/src/models/flagssdkkeywithsecrets.ts b/src/models/flagssdkkeywithsecrets.ts index 1bd55b9e82..3c9ac3d92e 100644 --- a/src/models/flagssdkkeywithsecrets.ts +++ b/src/models/flagssdkkeywithsecrets.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -48,27 +48,29 @@ export type FlagsSDKKeyWithSecrets = { /** @internal */ export const FlagsSDKKeyWithSecretsType$inboundSchema: z.ZodNativeEnum< typeof FlagsSDKKeyWithSecretsType -> = z.nativeEnum(FlagsSDKKeyWithSecretsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FlagsSDKKeyWithSecretsType)); /** @internal */ export const FlagsSDKKeyWithSecrets$inboundSchema: z.ZodType< FlagsSDKKeyWithSecrets, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - deletedAt: types.optional(types.number()), - environment: types.string(), - hashKey: types.string(), - label: types.optional(types.string()), - partialKeyValue: types.string(), - projectId: types.string(), - type: FlagsSDKKeyWithSecretsType$inboundSchema, - updatedAt: types.number(), - keyValue: types.string(), - tokenValue: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + deletedAt: types.optional(types.number()), + environment: types.string(), + hashKey: types.string(), + label: types.optional(types.string()), + partialKeyValue: types.string(), + projectId: types.string(), + type: FlagsSDKKeyWithSecretsType$inboundSchema, + updatedAt: types.number(), + keyValue: types.string(), + tokenValue: types.optional(types.string()), + }) +); export function flagsSDKKeyWithSecretsFromJSON( jsonString: string, diff --git a/src/models/forbidden.ts b/src/models/forbidden.ts index e5040c0596..9e3890aec2 100644 --- a/src/models/forbidden.ts +++ b/src/models/forbidden.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -38,18 +39,20 @@ export const Forbidden$inboundSchema: z.ZodType< Forbidden, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: types.literal("forbidden"), - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new Forbidden(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: types.literal("forbidden"), + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new Forbidden(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/forkdriveop.ts b/src/models/forkdriveop.ts index e70e3e9cfc..f09dcf7d08 100644 --- a/src/models/forkdriveop.ts +++ b/src/models/forkdriveop.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,9 +57,11 @@ export const ForkDriveRequestBody$outboundSchema: z.ZodType< ForkDriveRequestBody$Outbound, z.ZodTypeDef, ForkDriveRequestBody -> = z.object({ - name: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + }) +); export function forkDriveRequestBodyToJSON( forkDriveRequestBody: ForkDriveRequestBody, @@ -79,17 +85,23 @@ export const ForkDriveRequest$outboundSchema: z.ZodType< ForkDriveRequest$Outbound, z.ZodTypeDef, ForkDriveRequest -> = z.object({ - name: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ForkDriveRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ForkDriveRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function forkDriveRequestToJSON( forkDriveRequest: ForkDriveRequest, @@ -104,9 +116,11 @@ export const ForkDriveResponseBody$inboundSchema: z.ZodType< ForkDriveResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function forkDriveResponseBodyFromJSON( jsonString: string, diff --git a/src/models/forkdrivev1op.ts b/src/models/forkdrivev1op.ts index 7fd5463a04..57b7b2ce47 100644 --- a/src/models/forkdrivev1op.ts +++ b/src/models/forkdrivev1op.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,9 +57,11 @@ export const ForkDriveV1RequestBody$outboundSchema: z.ZodType< ForkDriveV1RequestBody$Outbound, z.ZodTypeDef, ForkDriveV1RequestBody -> = z.object({ - name: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + }) +); export function forkDriveV1RequestBodyToJSON( forkDriveV1RequestBody: ForkDriveV1RequestBody, @@ -79,17 +85,23 @@ export const ForkDriveV1Request$outboundSchema: z.ZodType< ForkDriveV1Request$Outbound, z.ZodTypeDef, ForkDriveV1Request -> = z.object({ - name: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ForkDriveV1RequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ForkDriveV1RequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function forkDriveV1RequestToJSON( forkDriveV1Request: ForkDriveV1Request, @@ -104,9 +116,11 @@ export const ForkDriveV1ResponseBody$inboundSchema: z.ZodType< ForkDriveV1ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function forkDriveV1ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/fourhundredandthirtyfive.ts b/src/models/fourhundredandforty.ts similarity index 68% rename from src/models/fourhundredandthirtyfive.ts rename to src/models/fourhundredandforty.ts index 5659a463a7..5ff5cfe24f 100644 --- a/src/models/fourhundredandthirtyfive.ts +++ b/src/models/fourhundredandforty.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -16,29 +16,29 @@ import { } from "./payloadoutcome.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; -export const UserEventPayload507Provider = { +export const UserEventPayload512Provider = { Google: "google", } as const; -export type UserEventPayload507Provider = ClosedEnum< - typeof UserEventPayload507Provider +export type UserEventPayload512Provider = ClosedEnum< + typeof UserEventPayload512Provider >; /** * The payload of the event, if requested. */ -export type FiveHundredAndSeven = { +export type FiveHundredAndTwelve = { decision: PayloadDecision; outcome: PayloadOutcome; - provider: UserEventPayload507Provider; + provider: UserEventPayload512Provider; providerSubjectId: string; }; -export type UserEventPayload506Next = { +export type UserEventPayload511Next = { enabled: boolean; totpVerified: boolean; }; -export type UserEventPayload506Previous = { +export type UserEventPayload511Previous = { enabled: boolean; totpVerified: boolean; }; @@ -46,15 +46,15 @@ export type UserEventPayload506Previous = { /** * The payload of the event, if requested. */ -export type FiveHundredAndSix = { - next: UserEventPayload506Next; - previous: UserEventPayload506Previous; +export type FiveHundredAndEleven = { + next: UserEventPayload511Next; + previous: UserEventPayload511Previous; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndFive = { +export type FiveHundredAndTen = { enabled: boolean; totpVerified: boolean; }; @@ -67,14 +67,14 @@ export type Mfa = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFour = { +export type FiveHundredAndNine = { mfa: Mfa; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndThree = { +export type FiveHundredAndEight = { mfaEnabled: boolean; }; @@ -93,7 +93,7 @@ export type Context = ClosedEnum; /** * The payload of the event, if requested. */ -export type FiveHundredAndTwo = { +export type FiveHundredAndSeven = { /** * Absent on events predating the field; those were all logins. */ @@ -109,12 +109,12 @@ export const PayloadMethod = { } as const; export type PayloadMethod = ClosedEnum; -export type UserEventPayload501Next = { +export type UserEventPayload506Next = { enabled: boolean; totpVerified: boolean; }; -export type UserEventPayload501Previous = { +export type UserEventPayload506Previous = { enabled: boolean; totpVerified: boolean; }; @@ -122,13 +122,13 @@ export type UserEventPayload501Previous = { /** * The payload of the event, if requested. */ -export type FiveHundredAndOne = { +export type FiveHundredAndSix = { method?: PayloadMethod | undefined; - next: UserEventPayload501Next; - previous: UserEventPayload501Previous; + next: UserEventPayload506Next; + previous: UserEventPayload506Previous; }; -export const UserEventPayload500Action = { +export const UserEventPayload505Action = { AddPasskey: "add-passkey", AddTotp: "add-totp", AdminRemove: "admin-remove", @@ -137,15 +137,15 @@ export const UserEventPayload500Action = { RegenerateRecoveryCodes: "regenerate-recovery-codes", RemovePasskey: "remove-passkey", } as const; -export type UserEventPayload500Action = ClosedEnum< - typeof UserEventPayload500Action +export type UserEventPayload505Action = ClosedEnum< + typeof UserEventPayload505Action >; /** * The payload of the event, if requested. */ -export type FiveHundred = { - action: UserEventPayload500Action; +export type FiveHundredAndFive = { + action: UserEventPayload505Action; reason: string; }; @@ -159,7 +159,7 @@ export type AllowedMethods = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyNine = { +export type FiveHundredAndFour = { allowedMethods: Array; firstFactor: string; flowId: string; @@ -177,99 +177,99 @@ export type Method = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyEight = { +export type FiveHundredAndThree = { flowId?: string | undefined; loginSessionId?: string | undefined; method: Method; reason: string; }; -export const UserEventPayload497Scope = { +export const UserEventPayload502Scope = { Default: "default", Organization: "organization", Team: "team", } as const; -export type UserEventPayload497Scope = ClosedEnum< - typeof UserEventPayload497Scope +export type UserEventPayload502Scope = ClosedEnum< + typeof UserEventPayload502Scope >; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetySeven = { - scope: UserEventPayload497Scope; +export type FiveHundredAndTwo = { + scope: UserEventPayload502Scope; scopeId?: string | undefined; }; -export const UserEventPayload496ActorType = { +export const UserEventPayload501ActorType = { Admin: "admin", } as const; -export type UserEventPayload496ActorType = ClosedEnum< - typeof UserEventPayload496ActorType +export type UserEventPayload501ActorType = ClosedEnum< + typeof UserEventPayload501ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetySix = { +export type FiveHundredAndOne = { actorId: string; - actorType: UserEventPayload496ActorType; + actorType: UserEventPayload501ActorType; autoBlockPrevented: boolean; preventUntil?: number | undefined; reason?: string | undefined; }; -export const UserEventPayload495ActorType = { +export const UserEventPayload500ActorType = { Admin: "admin", } as const; -export type UserEventPayload495ActorType = ClosedEnum< - typeof UserEventPayload495ActorType +export type UserEventPayload500ActorType = ClosedEnum< + typeof UserEventPayload500ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyFive = { +export type FiveHundred = { actorId: string; - actorType: UserEventPayload495ActorType; + actorType: UserEventPayload500ActorType; enabled: boolean; }; -export const UserEventPayload494ActorType = { +export const UserEventPayload499ActorType = { Admin: "admin", } as const; -export type UserEventPayload494ActorType = ClosedEnum< - typeof UserEventPayload494ActorType +export type UserEventPayload499ActorType = ClosedEnum< + typeof UserEventPayload499ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyFour = { +export type FourHundredAndNinetyNine = { actorId: string; - actorType: UserEventPayload494ActorType; + actorType: UserEventPayload499ActorType; }; -export const UserEventPayload493ActorType = { +export const UserEventPayload498ActorType = { Admin: "admin", } as const; -export type UserEventPayload493ActorType = ClosedEnum< - typeof UserEventPayload493ActorType +export type UserEventPayload498ActorType = ClosedEnum< + typeof UserEventPayload498ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyThree = { +export type FourHundredAndNinetyEight = { actorId: string; - actorType: UserEventPayload493ActorType; + actorType: UserEventPayload498ActorType; reason?: string | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyTwo = { +export type FourHundredAndNinetySeven = { teamId: string; teamName: string; }; @@ -277,28 +277,28 @@ export type FourHundredAndNinetyTwo = { /** * The payload of the event, if requested. */ -export type FourHundredAndNinetyOne = { +export type FourHundredAndNinetySix = { teamName: string; }; /** * The payload of the event, if requested. */ -export type FourHundredAndNinety = { +export type FourHundredAndNinetyFive = { username: string; }; -export const UserEventPayload489ActorType = { +export const UserEventPayload494ActorType = { Admin: "admin", } as const; -export type UserEventPayload489ActorType = ClosedEnum< - typeof UserEventPayload489ActorType +export type UserEventPayload494ActorType = ClosedEnum< + typeof UserEventPayload494ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyNine = { +export type FourHundredAndNinetyFour = { deletedAt?: number | null | undefined; username: string; /** @@ -306,35 +306,35 @@ export type FourHundredAndEightyNine = { */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload489ActorType; + actorType: UserEventPayload494ActorType; }; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyEight = { +export type FourHundredAndNinetyThree = { deletedAt?: number | null | undefined; username: string; }; -export const UserEventPayload487ActorType = { +export const UserEventPayload492ActorType = { Admin: "admin", User: "user", } as const; -export type UserEventPayload487ActorType = ClosedEnum< - typeof UserEventPayload487ActorType +export type UserEventPayload492ActorType = ClosedEnum< + typeof UserEventPayload492ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndEightySeven = { +export type FourHundredAndNinetyTwo = { actorId?: string | undefined; /** * Human-readable admin who performed the removal. */ actorName?: string | undefined; - actorType?: UserEventPayload487ActorType | undefined; + actorType?: UserEventPayload492ActorType | undefined; reason?: string | undefined; recoveryCodes: number; totp: boolean; @@ -343,14 +343,14 @@ export type FourHundredAndEightySeven = { /** * The payload of the event, if requested. */ -export type FourHundredAndEightySix = { +export type FourHundredAndNinetyOne = { teamName?: string | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyFive = { +export type FourHundredAndNinety = { organizationId: string; teamIds: Array; }; @@ -358,7 +358,7 @@ export type FourHundredAndEightyFive = { /** * The payload of the event, if requested. */ -export type FourHundredAndEightyFour = { +export type FourHundredAndEightyNine = { organizationId: string; }; @@ -370,7 +370,7 @@ export type UserEventPayloadReason = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyThree = { +export type FourHundredAndEightyEight = { reason: UserEventPayloadReason; }; @@ -380,60 +380,60 @@ export const Env = { } as const; export type Env = ClosedEnum; -export const UserEventPayload482Type = { +export const UserEventPayload487Type = { HeadSampling: "head_sampling", } as const; -export type UserEventPayload482Type = ClosedEnum< - typeof UserEventPayload482Type +export type UserEventPayload487Type = ClosedEnum< + typeof UserEventPayload487Type >; export type Sampling = { env?: Env | undefined; rate: number; requestPath?: string | undefined; - type: UserEventPayload482Type; + type: UserEventPayload487Type; }; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyTwo = { +export type FourHundredAndEightySeven = { projectId: string; projectName: string; sampling?: Array | undefined; }; -export const UserEventPayload481ActorType = { +export const UserEventPayload486ActorType = { Admin: "admin", } as const; -export type UserEventPayload481ActorType = ClosedEnum< - typeof UserEventPayload481ActorType +export type UserEventPayload486ActorType = ClosedEnum< + typeof UserEventPayload486ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndEightyOne = { +export type FourHundredAndEightySix = { slug?: string | undefined; /** * Okta user id. */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload481ActorType; + actorType: UserEventPayload486ActorType; }; /** * The payload of the event, if requested. */ -export type FourHundredAndEighty = { +export type FourHundredAndEightyFive = { slug?: string | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyNine = { +export type FourHundredAndEightyFour = { fileId: string; }; @@ -446,7 +446,7 @@ export type Filters = { /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyEight = { +export type FourHundredAndEightyThree = { exportId: string; filters?: Filters | undefined; format: string; @@ -457,14 +457,14 @@ export type FourHundredAndSeventyEight = { /** * The payload of the event, if requested. */ -export type FourHundredAndSeventySeven = { +export type FourHundredAndEightyTwo = { tokenTypes: Array; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventySix = { +export type FourHundredAndEightyOne = { domain: string; ips: Array; }; @@ -525,7 +525,7 @@ export type Next1 = { accessGroupId: string; }; -export type UserEventPayload475Next = Next1 | Next2 | Next3; +export type UserEventPayload480Next = Next1 | Next2 | Next3; export const Previous3 = { Billing: "BILLING", @@ -587,30 +587,30 @@ export type Previous1 = { accessGroupId: string; }; -export type UserEventPayload475Previous = Previous1 | Previous2 | Previous3; +export type UserEventPayload480Previous = Previous1 | Previous2 | Previous3; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyFive = { +export type FourHundredAndEighty = { next?: { [k: string]: Next1 | Next2 | Next3 } | undefined; previous?: { [k: string]: Previous1 | Previous2 | Previous3 } | undefined; }; -export const UserEventPayload474Scope = { +export const UserEventPayload479Scope = { Dashboard: "dashboard", LogDrains: "log-drains", } as const; -export type UserEventPayload474Scope = ClosedEnum< - typeof UserEventPayload474Scope +export type UserEventPayload479Scope = ClosedEnum< + typeof UserEventPayload479Scope >; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyFour = { +export type FourHundredAndSeventyNine = { enabled: boolean; - scope: UserEventPayload474Scope; + scope: UserEventPayload479Scope; }; export const PayloadEnabled = { @@ -623,14 +623,14 @@ export type PayloadEnabled = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyThree = { +export type FourHundredAndSeventyEight = { enabled: PayloadEnabled; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyTwo = { +export type FourHundredAndSeventySeven = { deletedCount: number; }; @@ -644,7 +644,7 @@ export type PayloadRemoteCaching = { /** * The payload of the event, if requested. */ -export type FourHundredAndSeventyOne = { +export type FourHundredAndSeventySix = { /** * Represents configuration for remote caching */ @@ -660,14 +660,14 @@ export type PayloadConsent = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventy = { +export type FourHundredAndSeventyFive = { consent: PayloadConsent; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyNine = { +export type FourHundredAndSeventyFour = { acceptanceId: string; termsVersion: string; }; @@ -681,42 +681,42 @@ export type Decision = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyEight = { +export type FourHundredAndSeventyThree = { decision: Decision; version: string; }; -export const UserEventPayload467ActorType = { +export const UserEventPayload472ActorType = { Admin: "admin", } as const; -export type UserEventPayload467ActorType = ClosedEnum< - typeof UserEventPayload467ActorType +export type UserEventPayload472ActorType = ClosedEnum< + typeof UserEventPayload472ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtySeven = { +export type FourHundredAndSeventyTwo = { name?: string | undefined; /** * Okta user id. */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload467ActorType; + actorType: UserEventPayload472ActorType; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtySix = { +export type FourHundredAndSeventyOne = { name?: string | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyFive = { +export type FourHundredAndSeventy = { inviteCode?: string | undefined; }; @@ -730,7 +730,7 @@ export type PayloadPlan = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyFour = { +export type FourHundredAndSixtyNine = { convertedFromTrial: boolean; invoiceId: string; plan: PayloadPlan; @@ -751,7 +751,7 @@ export type Trial = { /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyThree = { +export type FourHundredAndSixtyEight = { plan: UserEventPayloadPlan; trial?: Trial | null | undefined; }; @@ -759,7 +759,7 @@ export type FourHundredAndSixtyThree = { /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyTwo = { +export type FourHundredAndSixtySeven = { nextConcurrentBuilds: number; previousConcurrentBuilds: number; }; @@ -767,7 +767,7 @@ export type FourHundredAndSixtyTwo = { /** * The payload of the event, if requested. */ -export type FourHundredAndSixtyOne = { +export type FourHundredAndSixtySix = { name?: string | undefined; publicId: string; }; @@ -775,7 +775,7 @@ export type FourHundredAndSixtyOne = { /** * The payload of the event, if requested. */ -export type FourHundredAndSixty = { +export type FourHundredAndSixtyFive = { expiresAt: string; maxUses: number; name?: string | undefined; @@ -786,14 +786,14 @@ export type FourHundredAndSixty = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyNine = { +export type FourHundredAndSixtyFour = { enforced: boolean; }; /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyEight = { +export type FourHundredAndSixtyThree = { authorized: boolean; email?: string | undefined; reason?: string | undefined; @@ -879,7 +879,7 @@ export type PayloadUpdatedUser = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftySeven = { +export type FourHundredAndSixtyTwo = { directoryType?: string | undefined; origin?: string | undefined; previousRole: string; @@ -921,7 +921,7 @@ export type UserEventPayloadSource = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndFiftySix = { +export type FourHundredAndSixtyOne = { bitbucketUsername?: string | undefined; githubUsername?: string | undefined; gitlabUsername?: string | undefined; @@ -946,7 +946,7 @@ export type UpdatedUser = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyFive = { +export type FourHundredAndSixty = { entitlements?: Array | undefined; invitedBy?: InvitedBy | undefined; origin?: string | undefined; @@ -967,7 +967,7 @@ export type UserEventPayloadUser = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyFour = { +export type FourHundredAndFiftyNine = { entitlement: string; previousCanceledAt?: string | undefined; user: UserEventPayloadUser; @@ -981,7 +981,7 @@ export type PayloadUser = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyThree = { +export type FourHundredAndFiftyEight = { entitlement: string; user: PayloadUser; }; @@ -1020,7 +1020,7 @@ export type PayloadRole = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyTwo = { +export type FourHundredAndFiftySeven = { /** * Whether the removal was system-initiated rather than human-initiated. */ @@ -1043,7 +1043,7 @@ export type FourHundredAndFiftyTwo = { /** * The payload of the event, if requested. */ -export type FourHundredAndFiftyOne = { +export type FourHundredAndFiftySix = { bitbucketUsername?: string | null | undefined; githubUsername?: string | null | undefined; gitlabUsername?: string | null | undefined; @@ -1055,7 +1055,7 @@ export type FourHundredAndFiftyOne = { /** * The payload of the event, if requested. */ -export type FourHundredAndFifty = { +export type FourHundredAndFiftyFive = { bitbucketUsername?: string | null | undefined; githubUsername?: string | null | undefined; gitlabUsername?: string | null | undefined; @@ -1074,7 +1074,7 @@ export type InvitedUser = { /** * The payload of the event, if requested. */ -export type FourHundredAndFortyNine = { +export type FourHundredAndFiftyFour = { directoryType?: string | undefined; entitlements?: Array | undefined; invitationRole?: string | undefined; @@ -1089,7 +1089,7 @@ export type FourHundredAndFortyNine = { /** * The payload of the event, if requested. */ -export type FourHundredAndFortyEight = { +export type FourHundredAndFiftyThree = { deletedCount: number; inviteIds: Array; }; @@ -1097,7 +1097,7 @@ export type FourHundredAndFortyEight = { /** * The payload of the event, if requested. */ -export type FourHundredAndFortySeven = { +export type FourHundredAndFiftyTwo = { emailDomain?: string | null | undefined; }; @@ -1122,7 +1122,7 @@ export type UserEventPayloadEnvironment = ClosedEnum< /** * The payload of the event, if requested. */ -export type FourHundredAndFortySix = { +export type FourHundredAndFiftyOne = { enabled: Enabled; environment: UserEventPayloadEnvironment; }; @@ -1136,7 +1136,7 @@ export type PayloadEnvironment = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndFortyFive = { +export type FourHundredAndFifty = { enabled: boolean | null; environment: PayloadEnvironment; projectId: string; @@ -1146,33 +1146,33 @@ export type FourHundredAndFortyFive = { /** * The payload of the event, if requested. */ -export type FourHundredAndFortyFour = { +export type FourHundredAndFortyNine = { domain?: string | undefined; enabled: boolean; }; -export const UserEventPayload443Action = { +export const UserEventPayload448Action = { Reset: "reset", Updated: "updated", } as const; -export type UserEventPayload443Action = ClosedEnum< - typeof UserEventPayload443Action +export type UserEventPayload448Action = ClosedEnum< + typeof UserEventPayload448Action >; /** * The payload of the event, if requested. */ -export type FourHundredAndFortyThree = { - action: UserEventPayload443Action; +export type FourHundredAndFortyEight = { + action: UserEventPayload448Action; targetId: string; }; -export type UserEventPayload442Next = { +export type UserEventPayload447Next = { deploymentSources?: Array | null | undefined; gitSources?: Array | null | undefined; }; -export type UserEventPayload442Previous = { +export type UserEventPayload447Previous = { deploymentSources?: Array | null | undefined; gitSources?: Array | null | undefined; }; @@ -1180,24 +1180,24 @@ export type UserEventPayload442Previous = { /** * The payload of the event, if requested. */ -export type FourHundredAndFortyTwo = { - next: UserEventPayload442Next | null; - previous: UserEventPayload442Previous | null; +export type FourHundredAndFortySeven = { + next: UserEventPayload447Next | null; + previous: UserEventPayload447Previous | null; }; -export const UserEventPayload441Scope = { +export const UserEventPayload446Scope = { Organization: "organization", } as const; -export type UserEventPayload441Scope = ClosedEnum< - typeof UserEventPayload441Scope +export type UserEventPayload446Scope = ClosedEnum< + typeof UserEventPayload446Scope >; /** * The payload of the event, if requested. */ -export type FourHundredAndFortyOne = { +export type FourHundredAndFortySix = { enabled: boolean; - scope?: UserEventPayload441Scope | undefined; + scope?: UserEventPayload446Scope | undefined; }; export type Reasons = { @@ -1205,7 +1205,7 @@ export type Reasons = { slug: string; }; -export const UserEventPayload440Role = { +export const UserEventPayload445Role = { Billing: "BILLING", Contributor: "CONTRIBUTOR", Developer: "DEVELOPER", @@ -1215,20 +1215,20 @@ export const UserEventPayload440Role = { Viewer: "VIEWER", ViewerForPlus: "VIEWER_FOR_PLUS", } as const; -export type UserEventPayload440Role = ClosedEnum< - typeof UserEventPayload440Role +export type UserEventPayload445Role = ClosedEnum< + typeof UserEventPayload445Role >; export type UserEventPayloadRemovedUsers = { confirmed: boolean; confirmedAt?: number | undefined; - role: UserEventPayload440Role; + role: UserEventPayload445Role; }; /** * The payload of the event, if requested. */ -export type FourHundredAndForty = { +export type FourHundredAndFortyFive = { by: string; byUid?: string | undefined; reasons?: Array | undefined; @@ -1239,42 +1239,42 @@ export type FourHundredAndForty = { timestamp?: number | undefined; }; -export const UserEventPayload439ActorType = { +export const UserEventPayload444ActorType = { Admin: "admin", } as const; -export type UserEventPayload439ActorType = ClosedEnum< - typeof UserEventPayload439ActorType +export type UserEventPayload444ActorType = ClosedEnum< + typeof UserEventPayload444ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyNine = { +export type FourHundredAndFortyFour = { enrolled?: boolean | undefined; actorName?: string | undefined; - actorType?: UserEventPayload439ActorType | undefined; + actorType?: UserEventPayload444ActorType | undefined; }; -export const UserEventPayload438Next = { +export const UserEventPayload443Next = { Basic: "basic", Elastic: "elastic", Enhanced: "enhanced", Standard: "standard", Turbo: "turbo", } as const; -export type UserEventPayload438Next = ClosedEnum< - typeof UserEventPayload438Next +export type UserEventPayload443Next = ClosedEnum< + typeof UserEventPayload443Next >; -export const UserEventPayload438Previous = { +export const UserEventPayload443Previous = { Basic: "basic", Elastic: "elastic", Enhanced: "enhanced", Standard: "standard", Turbo: "turbo", } as const; -export type UserEventPayload438Previous = ClosedEnum< - typeof UserEventPayload438Previous +export type UserEventPayload443Previous = ClosedEnum< + typeof UserEventPayload443Previous >; export const PayloadReason = { @@ -1296,60 +1296,60 @@ export type PayloadReason = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyEight = { +export type FourHundredAndFortyThree = { isSystemInitiated?: boolean | undefined; - next?: UserEventPayload438Next | undefined; - previous?: UserEventPayload438Previous | undefined; + next?: UserEventPayload443Next | undefined; + previous?: UserEventPayload443Previous | undefined; reason?: PayloadReason | undefined; }; -export const UserEventPayload437ActorType = { +export const UserEventPayload442ActorType = { Admin: "admin", } as const; -export type UserEventPayload437ActorType = ClosedEnum< - typeof UserEventPayload437ActorType +export type UserEventPayload442ActorType = ClosedEnum< + typeof UserEventPayload442ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtySeven = { +export type FourHundredAndFortyTwo = { disabled?: boolean | undefined; actorName?: string | undefined; - actorType?: UserEventPayload437ActorType | undefined; + actorType?: UserEventPayload442ActorType | undefined; }; -export const UserEventPayload436Next = { +export const UserEventPayload441Next = { AutoApproval: "auto-approval", Block: "block", ManualApproval: "manual-approval", } as const; -export type UserEventPayload436Next = ClosedEnum< - typeof UserEventPayload436Next +export type UserEventPayload441Next = ClosedEnum< + typeof UserEventPayload441Next >; -export const UserEventPayload436Previous = { +export const UserEventPayload441Previous = { AutoApproval: "auto-approval", Block: "block", ManualApproval: "manual-approval", } as const; -export type UserEventPayload436Previous = ClosedEnum< - typeof UserEventPayload436Previous +export type UserEventPayload441Previous = ClosedEnum< + typeof UserEventPayload441Previous >; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtySix = { - next: UserEventPayload436Next | null; - previous: UserEventPayload436Previous | null; +export type FourHundredAndFortyOne = { + next: UserEventPayload441Next | null; + previous: UserEventPayload441Previous | null; teamSlug?: string | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyFive = { +export type FourHundredAndForty = { eventId: string; occurredAt: number; projectId: string | null; @@ -1357,118 +1357,132 @@ export type FourHundredAndThirtyFive = { }; /** @internal */ -export const UserEventPayload507Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload507Provider -> = z.nativeEnum(UserEventPayload507Provider); +export const UserEventPayload512Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload512Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload512Provider) +); /** @internal */ -export const FiveHundredAndSeven$inboundSchema: z.ZodType< - FiveHundredAndSeven, +export const FiveHundredAndTwelve$inboundSchema: z.ZodType< + FiveHundredAndTwelve, z.ZodTypeDef, unknown -> = z.object({ - decision: PayloadDecision$inboundSchema, - outcome: PayloadOutcome$inboundSchema, - provider: UserEventPayload507Provider$inboundSchema, - providerSubjectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + decision: PayloadDecision$inboundSchema, + outcome: PayloadOutcome$inboundSchema, + provider: UserEventPayload512Provider$inboundSchema, + providerSubjectId: types.string(), + }) +); -export function fiveHundredAndSevenFromJSON( +export function fiveHundredAndTwelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndSeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndSeven' from JSON`, + (x) => FiveHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwelve' from JSON`, ); } /** @internal */ -export const UserEventPayload506Next$inboundSchema: z.ZodType< - UserEventPayload506Next, +export const UserEventPayload511Next$inboundSchema: z.ZodType< + UserEventPayload511Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - totpVerified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) +); -export function userEventPayload506NextFromJSON( +export function userEventPayload511NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload506Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload506Next' from JSON`, + (x) => UserEventPayload511Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload511Next' from JSON`, ); } /** @internal */ -export const UserEventPayload506Previous$inboundSchema: z.ZodType< - UserEventPayload506Previous, +export const UserEventPayload511Previous$inboundSchema: z.ZodType< + UserEventPayload511Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - totpVerified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) +); -export function userEventPayload506PreviousFromJSON( +export function userEventPayload511PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload506Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload506Previous' from JSON`, + (x) => UserEventPayload511Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload511Previous' from JSON`, ); } /** @internal */ -export const FiveHundredAndSix$inboundSchema: z.ZodType< - FiveHundredAndSix, +export const FiveHundredAndEleven$inboundSchema: z.ZodType< + FiveHundredAndEleven, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload506Next$inboundSchema), - previous: z.lazy(() => UserEventPayload506Previous$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload511Next$inboundSchema), + previous: z.lazy(() => UserEventPayload511Previous$inboundSchema), + }) +); -export function fiveHundredAndSixFromJSON( +export function fiveHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndSix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndSix' from JSON`, + (x) => FiveHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndEleven' from JSON`, ); } /** @internal */ -export const FiveHundredAndFive$inboundSchema: z.ZodType< - FiveHundredAndFive, +export const FiveHundredAndTen$inboundSchema: z.ZodType< + FiveHundredAndTen, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - totpVerified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) +); -export function fiveHundredAndFiveFromJSON( +export function fiveHundredAndTenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFive' from JSON`, + (x) => FiveHundredAndTen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTen' from JSON`, ); } /** @internal */ -export const Mfa$inboundSchema: z.ZodType = z - .object({ - enabled: types.boolean(), - totpVerified: types.boolean(), - }); +export const Mfa$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) + ); export function mfaFromJSON( jsonString: string, @@ -1481,122 +1495,277 @@ export function mfaFromJSON( } /** @internal */ -export const FiveHundredAndFour$inboundSchema: z.ZodType< - FiveHundredAndFour, +export const FiveHundredAndNine$inboundSchema: z.ZodType< + FiveHundredAndNine, z.ZodTypeDef, unknown -> = z.object({ - mfa: z.lazy(() => Mfa$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mfa: z.lazy(() => Mfa$inboundSchema), + }) +); -export function fiveHundredAndFourFromJSON( +export function fiveHundredAndNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFour' from JSON`, + (x) => FiveHundredAndNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndNine' from JSON`, ); } /** @internal */ -export const FiveHundredAndThree$inboundSchema: z.ZodType< - FiveHundredAndThree, +export const FiveHundredAndEight$inboundSchema: z.ZodType< + FiveHundredAndEight, z.ZodTypeDef, unknown -> = z.object({ - mfaEnabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mfaEnabled: types.boolean(), + }) +); -export function fiveHundredAndThreeFromJSON( +export function fiveHundredAndEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThree' from JSON`, + (x) => FiveHundredAndEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndEight' from JSON`, ); } /** @internal */ -export const Context$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Context); +export const Context$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Context)); /** @internal */ -export const FiveHundredAndTwo$inboundSchema: z.ZodType< - FiveHundredAndTwo, +export const FiveHundredAndSeven$inboundSchema: z.ZodType< + FiveHundredAndSeven, z.ZodTypeDef, unknown -> = z.object({ - context: types.optional(Context$inboundSchema), - remaining: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + context: types.optional(Context$inboundSchema), + remaining: types.number(), + }) +); -export function fiveHundredAndTwoFromJSON( +export function fiveHundredAndSevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwo' from JSON`, + (x) => FiveHundredAndSeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndSeven' from JSON`, ); } /** @internal */ export const PayloadMethod$inboundSchema: z.ZodNativeEnum< typeof PayloadMethod -> = z.nativeEnum(PayloadMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadMethod)); /** @internal */ -export const UserEventPayload501Next$inboundSchema: z.ZodType< - UserEventPayload501Next, +export const UserEventPayload506Next$inboundSchema: z.ZodType< + UserEventPayload506Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - totpVerified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) +); -export function userEventPayload501NextFromJSON( +export function userEventPayload506NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload501Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload501Next' from JSON`, + (x) => UserEventPayload506Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload506Next' from JSON`, ); } /** @internal */ -export const UserEventPayload501Previous$inboundSchema: z.ZodType< - UserEventPayload501Previous, +export const UserEventPayload506Previous$inboundSchema: z.ZodType< + UserEventPayload506Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - totpVerified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + totpVerified: types.boolean(), + }) +); -export function userEventPayload501PreviousFromJSON( +export function userEventPayload506PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload501Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload501Previous' from JSON`, + (x) => UserEventPayload506Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload506Previous' from JSON`, ); } /** @internal */ -export const FiveHundredAndOne$inboundSchema: z.ZodType< - FiveHundredAndOne, +export const FiveHundredAndSix$inboundSchema: z.ZodType< + FiveHundredAndSix, z.ZodTypeDef, unknown -> = z.object({ - method: types.optional(PayloadMethod$inboundSchema), - next: z.lazy(() => UserEventPayload501Next$inboundSchema), - previous: z.lazy(() => UserEventPayload501Previous$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + method: types.optional(PayloadMethod$inboundSchema), + next: z.lazy(() => UserEventPayload506Next$inboundSchema), + previous: z.lazy(() => UserEventPayload506Previous$inboundSchema), + }) +); + +export function fiveHundredAndSixFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndSix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndSix' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload505Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload505Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload505Action)); + +/** @internal */ +export const FiveHundredAndFive$inboundSchema: z.ZodType< + FiveHundredAndFive, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload505Action$inboundSchema, + reason: types.string(), + }) +); + +export function fiveHundredAndFiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFive' from JSON`, + ); +} + +/** @internal */ +export const AllowedMethods$inboundSchema: z.ZodNativeEnum< + typeof AllowedMethods +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AllowedMethods)); + +/** @internal */ +export const FiveHundredAndFour$inboundSchema: z.ZodType< + FiveHundredAndFour, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowedMethods: z.array(AllowedMethods$inboundSchema), + firstFactor: types.string(), + flowId: types.string(), + loginSessionId: types.optional(types.string()), + }) +); + +export function fiveHundredAndFourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFour' from JSON`, + ); +} + +/** @internal */ +export const Method$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Method)); + +/** @internal */ +export const FiveHundredAndThree$inboundSchema: z.ZodType< + FiveHundredAndThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flowId: types.optional(types.string()), + loginSessionId: types.optional(types.string()), + method: Method$inboundSchema, + reason: types.string(), + }) +); + +export function fiveHundredAndThreeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThree' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload502Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload502Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload502Scope)); + +/** @internal */ +export const FiveHundredAndTwo$inboundSchema: z.ZodType< + FiveHundredAndTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: UserEventPayload502Scope$inboundSchema, + scopeId: types.optional(types.string()), + }) +); + +export function fiveHundredAndTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwo' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload501ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload501ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload501ActorType) +); + +/** @internal */ +export const FiveHundredAndOne$inboundSchema: z.ZodType< + FiveHundredAndOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.string(), + actorType: UserEventPayload501ActorType$inboundSchema, + autoBlockPrevented: types.boolean(), + preventUntil: types.optional(types.number()), + reason: types.optional(types.string()), + }) +); export function fiveHundredAndOneFromJSON( jsonString: string, @@ -1609,19 +1778,24 @@ export function fiveHundredAndOneFromJSON( } /** @internal */ -export const UserEventPayload500Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload500Action -> = z.nativeEnum(UserEventPayload500Action); +export const UserEventPayload500ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload500ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload500ActorType) +); /** @internal */ export const FiveHundred$inboundSchema: z.ZodType< FiveHundred, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload500Action$inboundSchema, - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.string(), + actorType: UserEventPayload500ActorType$inboundSchema, + enabled: types.boolean(), + }) +); export function fiveHundredFromJSON( jsonString: string, @@ -1634,21 +1808,23 @@ export function fiveHundredFromJSON( } /** @internal */ -export const AllowedMethods$inboundSchema: z.ZodNativeEnum< - typeof AllowedMethods -> = z.nativeEnum(AllowedMethods); +export const UserEventPayload499ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload499ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload499ActorType) +); /** @internal */ export const FourHundredAndNinetyNine$inboundSchema: z.ZodType< FourHundredAndNinetyNine, z.ZodTypeDef, unknown -> = z.object({ - allowedMethods: z.array(AllowedMethods$inboundSchema), - firstFactor: types.string(), - flowId: types.string(), - loginSessionId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.string(), + actorType: UserEventPayload499ActorType$inboundSchema, + }) +); export function fourHundredAndNinetyNineFromJSON( jsonString: string, @@ -1661,20 +1837,24 @@ export function fourHundredAndNinetyNineFromJSON( } /** @internal */ -export const Method$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Method); +export const UserEventPayload498ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload498ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload498ActorType) +); /** @internal */ export const FourHundredAndNinetyEight$inboundSchema: z.ZodType< FourHundredAndNinetyEight, z.ZodTypeDef, unknown -> = z.object({ - flowId: types.optional(types.string()), - loginSessionId: types.optional(types.string()), - method: Method$inboundSchema, - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.string(), + actorType: UserEventPayload498ActorType$inboundSchema, + reason: types.optional(types.string()), + }) +); export function fourHundredAndNinetyEightFromJSON( jsonString: string, @@ -1686,20 +1866,17 @@ export function fourHundredAndNinetyEightFromJSON( ); } -/** @internal */ -export const UserEventPayload497Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload497Scope -> = z.nativeEnum(UserEventPayload497Scope); - /** @internal */ export const FourHundredAndNinetySeven$inboundSchema: z.ZodType< FourHundredAndNinetySeven, z.ZodTypeDef, unknown -> = z.object({ - scope: UserEventPayload497Scope$inboundSchema, - scopeId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: types.string(), + teamName: types.string(), + }) +); export function fourHundredAndNinetySevenFromJSON( jsonString: string, @@ -1711,23 +1888,16 @@ export function fourHundredAndNinetySevenFromJSON( ); } -/** @internal */ -export const UserEventPayload496ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload496ActorType -> = z.nativeEnum(UserEventPayload496ActorType); - /** @internal */ export const FourHundredAndNinetySix$inboundSchema: z.ZodType< FourHundredAndNinetySix, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.string(), - actorType: UserEventPayload496ActorType$inboundSchema, - autoBlockPrevented: types.boolean(), - preventUntil: types.optional(types.number()), - reason: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamName: types.string(), + }) +); export function fourHundredAndNinetySixFromJSON( jsonString: string, @@ -1739,21 +1909,16 @@ export function fourHundredAndNinetySixFromJSON( ); } -/** @internal */ -export const UserEventPayload495ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload495ActorType -> = z.nativeEnum(UserEventPayload495ActorType); - /** @internal */ export const FourHundredAndNinetyFive$inboundSchema: z.ZodType< FourHundredAndNinetyFive, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.string(), - actorType: UserEventPayload495ActorType$inboundSchema, - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + username: types.string(), + }) +); export function fourHundredAndNinetyFiveFromJSON( jsonString: string, @@ -1768,17 +1933,24 @@ export function fourHundredAndNinetyFiveFromJSON( /** @internal */ export const UserEventPayload494ActorType$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload494ActorType -> = z.nativeEnum(UserEventPayload494ActorType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload494ActorType) +); /** @internal */ export const FourHundredAndNinetyFour$inboundSchema: z.ZodType< FourHundredAndNinetyFour, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.string(), - actorType: UserEventPayload494ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedAt: z.nullable(types.number()).optional(), + username: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload494ActorType$inboundSchema, + }) +); export function fourHundredAndNinetyFourFromJSON( jsonString: string, @@ -1790,21 +1962,17 @@ export function fourHundredAndNinetyFourFromJSON( ); } -/** @internal */ -export const UserEventPayload493ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload493ActorType -> = z.nativeEnum(UserEventPayload493ActorType); - /** @internal */ export const FourHundredAndNinetyThree$inboundSchema: z.ZodType< FourHundredAndNinetyThree, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.string(), - actorType: UserEventPayload493ActorType$inboundSchema, - reason: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedAt: z.nullable(types.number()).optional(), + username: types.string(), + }) +); export function fourHundredAndNinetyThreeFromJSON( jsonString: string, @@ -1816,15 +1984,28 @@ export function fourHundredAndNinetyThreeFromJSON( ); } +/** @internal */ +export const UserEventPayload492ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload492ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload492ActorType) +); + /** @internal */ export const FourHundredAndNinetyTwo$inboundSchema: z.ZodType< FourHundredAndNinetyTwo, z.ZodTypeDef, unknown -> = z.object({ - teamId: types.string(), - teamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.optional(types.string()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload492ActorType$inboundSchema), + reason: types.optional(types.string()), + recoveryCodes: types.number(), + totp: types.boolean(), + }) +); export function fourHundredAndNinetyTwoFromJSON( jsonString: string, @@ -1841,9 +2022,11 @@ export const FourHundredAndNinetyOne$inboundSchema: z.ZodType< FourHundredAndNinetyOne, z.ZodTypeDef, unknown -> = z.object({ - teamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamName: types.optional(types.string()), + }) +); export function fourHundredAndNinetyOneFromJSON( jsonString: string, @@ -1860,9 +2043,12 @@ export const FourHundredAndNinety$inboundSchema: z.ZodType< FourHundredAndNinety, z.ZodTypeDef, unknown -> = z.object({ - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + teamIds: z.array(types.string()), + }) +); export function fourHundredAndNinetyFromJSON( jsonString: string, @@ -1874,23 +2060,16 @@ export function fourHundredAndNinetyFromJSON( ); } -/** @internal */ -export const UserEventPayload489ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload489ActorType -> = z.nativeEnum(UserEventPayload489ActorType); - /** @internal */ export const FourHundredAndEightyNine$inboundSchema: z.ZodType< FourHundredAndEightyNine, z.ZodTypeDef, unknown -> = z.object({ - deletedAt: z.nullable(types.number()).optional(), - username: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload489ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + }) +); export function fourHundredAndEightyNineFromJSON( jsonString: string, @@ -1902,15 +2081,21 @@ export function fourHundredAndEightyNineFromJSON( ); } +/** @internal */ +export const UserEventPayloadReason$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadReason +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadReason)); + /** @internal */ export const FourHundredAndEightyEight$inboundSchema: z.ZodType< FourHundredAndEightyEight, z.ZodTypeDef, unknown -> = z.object({ - deletedAt: z.nullable(types.number()).optional(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: UserEventPayloadReason$inboundSchema, + }) +); export function fourHundredAndEightyEightFromJSON( jsonString: string, @@ -1923,23 +2108,50 @@ export function fourHundredAndEightyEightFromJSON( } /** @internal */ -export const UserEventPayload487ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload487ActorType -> = z.nativeEnum(UserEventPayload487ActorType); +export const Env$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Env)); + +/** @internal */ +export const UserEventPayload487Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload487Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload487Type)); + +/** @internal */ +export const Sampling$inboundSchema: z.ZodType< + Sampling, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(Env$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: UserEventPayload487Type$inboundSchema, + }) +); + +export function samplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Sampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sampling' from JSON`, + ); +} /** @internal */ export const FourHundredAndEightySeven$inboundSchema: z.ZodType< FourHundredAndEightySeven, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.optional(types.string()), - actorName: types.optional(types.string()), - actorType: types.optional(UserEventPayload487ActorType$inboundSchema), - reason: types.optional(types.string()), - recoveryCodes: types.number(), - totp: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + sampling: types.optional(z.array(z.lazy(() => Sampling$inboundSchema))), + }) +); export function fourHundredAndEightySevenFromJSON( jsonString: string, @@ -1951,14 +2163,26 @@ export function fourHundredAndEightySevenFromJSON( ); } +/** @internal */ +export const UserEventPayload486ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload486ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload486ActorType) +); + /** @internal */ export const FourHundredAndEightySix$inboundSchema: z.ZodType< FourHundredAndEightySix, z.ZodTypeDef, unknown -> = z.object({ - teamName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: types.optional(types.string()), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload486ActorType$inboundSchema, + }) +); export function fourHundredAndEightySixFromJSON( jsonString: string, @@ -1975,10 +2199,11 @@ export const FourHundredAndEightyFive$inboundSchema: z.ZodType< FourHundredAndEightyFive, z.ZodTypeDef, unknown -> = z.object({ - organizationId: types.string(), - teamIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: types.optional(types.string()), + }) +); export function fourHundredAndEightyFiveFromJSON( jsonString: string, @@ -1995,9 +2220,11 @@ export const FourHundredAndEightyFour$inboundSchema: z.ZodType< FourHundredAndEightyFour, z.ZodTypeDef, unknown -> = z.object({ - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fileId: types.string(), + }) +); export function fourHundredAndEightyFourFromJSON( jsonString: string, @@ -2010,56 +2237,47 @@ export function fourHundredAndEightyFourFromJSON( } /** @internal */ -export const UserEventPayloadReason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadReason -> = z.nativeEnum(UserEventPayloadReason); - -/** @internal */ -export const FourHundredAndEightyThree$inboundSchema: z.ZodType< - FourHundredAndEightyThree, - z.ZodTypeDef, - unknown -> = z.object({ - reason: UserEventPayloadReason$inboundSchema, -}); +export const Filters$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + alertGroupId: types.optional(types.string()), + projectIds: types.optional(z.array(types.string())), + types: types.optional(z.array(types.string())), + }) + ); -export function fourHundredAndEightyThreeFromJSON( +export function filtersFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndEightyThree' from JSON`, + (x) => Filters$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Filters' from JSON`, ); } /** @internal */ -export const Env$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Env); - -/** @internal */ -export const UserEventPayload482Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload482Type -> = z.nativeEnum(UserEventPayload482Type); - -/** @internal */ -export const Sampling$inboundSchema: z.ZodType< - Sampling, +export const FourHundredAndEightyThree$inboundSchema: z.ZodType< + FourHundredAndEightyThree, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(Env$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: UserEventPayload482Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exportId: types.string(), + filters: types.optional(z.lazy(() => Filters$inboundSchema)), + format: types.string(), + from: types.number(), + to: types.number(), + }) +); -export function samplingFromJSON( +export function fourHundredAndEightyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Sampling$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sampling' from JSON`, + (x) => FourHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndEightyThree' from JSON`, ); } @@ -2068,11 +2286,11 @@ export const FourHundredAndEightyTwo$inboundSchema: z.ZodType< FourHundredAndEightyTwo, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - sampling: types.optional(z.array(z.lazy(() => Sampling$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tokenTypes: z.array(types.string()), + }) +); export function fourHundredAndEightyTwoFromJSON( jsonString: string, @@ -2084,22 +2302,17 @@ export function fourHundredAndEightyTwoFromJSON( ); } -/** @internal */ -export const UserEventPayload481ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload481ActorType -> = z.nativeEnum(UserEventPayload481ActorType); - /** @internal */ export const FourHundredAndEightyOne$inboundSchema: z.ZodType< FourHundredAndEightyOne, z.ZodTypeDef, unknown -> = z.object({ - slug: types.optional(types.string()), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload481ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + ips: z.array(types.string()), + }) +); export function fourHundredAndEightyOneFromJSON( jsonString: string, @@ -2112,293 +2325,332 @@ export function fourHundredAndEightyOneFromJSON( } /** @internal */ -export const FourHundredAndEighty$inboundSchema: z.ZodType< - FourHundredAndEighty, - z.ZodTypeDef, - unknown -> = z.object({ - slug: types.optional(types.string()), -}); +export const Next3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Next3)); -export function fourHundredAndEightyFromJSON( +/** @internal */ +export const NextTeamPermissions$inboundSchema: z.ZodNativeEnum< + typeof NextTeamPermissions +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextTeamPermissions)); + +/** @internal */ +export const NextTeamRoles$inboundSchema: z.ZodNativeEnum< + typeof NextTeamRoles +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextTeamRoles)); + +/** @internal */ +export const Next2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + teamPermissions: types.optional( + z.array(NextTeamPermissions$inboundSchema), + ), + teamRoles: z.array(NextTeamRoles$inboundSchema), + }) + ); + +export function next2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndEighty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndEighty' from JSON`, + (x) => Next2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Next2' from JSON`, ); } /** @internal */ -export const FourHundredAndSeventyNine$inboundSchema: z.ZodType< - FourHundredAndSeventyNine, - z.ZodTypeDef, - unknown -> = z.object({ - fileId: types.string(), -}); +export const Next1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + }) + ); -export function fourHundredAndSeventyNineFromJSON( +export function next1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeventyNine' from JSON`, + (x) => Next1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Next1' from JSON`, ); } /** @internal */ -export const Filters$inboundSchema: z.ZodType = - z.object({ - alertGroupId: types.optional(types.string()), - projectIds: types.optional(z.array(types.string())), - types: types.optional(z.array(types.string())), - }); +export const UserEventPayload480Next$inboundSchema: z.ZodType< + UserEventPayload480Next, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Next1$inboundSchema), + z.lazy(() => Next2$inboundSchema), + Next3$inboundSchema, + ]) +); -export function filtersFromJSON( +export function userEventPayload480NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Filters$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Filters' from JSON`, + (x) => UserEventPayload480Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload480Next' from JSON`, ); } /** @internal */ -export const FourHundredAndSeventyEight$inboundSchema: z.ZodType< - FourHundredAndSeventyEight, +export const Previous3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Previous3)); + +/** @internal */ +export const UserEventPreviousTeamPermissions$inboundSchema: z.ZodNativeEnum< + typeof UserEventPreviousTeamPermissions +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPreviousTeamPermissions) +); + +/** @internal */ +export const UserEventPreviousTeamRoles$inboundSchema: z.ZodNativeEnum< + typeof UserEventPreviousTeamRoles +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPreviousTeamRoles)); + +/** @internal */ +export const Previous2$inboundSchema: z.ZodType< + Previous2, z.ZodTypeDef, unknown -> = z.object({ - exportId: types.string(), - filters: types.optional(z.lazy(() => Filters$inboundSchema)), - format: types.string(), - from: types.number(), - to: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamPermissions: types.optional( + z.array(UserEventPreviousTeamPermissions$inboundSchema), + ), + teamRoles: z.array(UserEventPreviousTeamRoles$inboundSchema), + }) +); -export function fourHundredAndSeventyEightFromJSON( +export function previous2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeventyEight' from JSON`, + (x) => Previous2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Previous2' from JSON`, ); } /** @internal */ -export const FourHundredAndSeventySeven$inboundSchema: z.ZodType< - FourHundredAndSeventySeven, +export const Previous1$inboundSchema: z.ZodType< + Previous1, z.ZodTypeDef, unknown -> = z.object({ - tokenTypes: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + }) +); -export function fourHundredAndSeventySevenFromJSON( +export function previous1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeventySeven' from JSON`, + (x) => Previous1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Previous1' from JSON`, ); } /** @internal */ -export const FourHundredAndSeventySix$inboundSchema: z.ZodType< - FourHundredAndSeventySix, +export const UserEventPayload480Previous$inboundSchema: z.ZodType< + UserEventPayload480Previous, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - ips: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Previous1$inboundSchema), + z.lazy(() => Previous2$inboundSchema), + Previous3$inboundSchema, + ]) +); -export function fourHundredAndSeventySixFromJSON( +export function userEventPayload480PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeventySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeventySix' from JSON`, + (x) => UserEventPayload480Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload480Previous' from JSON`, ); } /** @internal */ -export const Next3$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Next3, +export const FourHundredAndEighty$inboundSchema: z.ZodType< + FourHundredAndEighty, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.optional(z.record(smartUnion([ + z.lazy(() => Next1$inboundSchema), + z.lazy(() => + Next2$inboundSchema + ), + Next3$inboundSchema, + ]))), + previous: types.optional(z.record(smartUnion([ + z.lazy(() => Previous1$inboundSchema), + z.lazy(() => + Previous2$inboundSchema + ), + Previous3$inboundSchema, + ]))), + }) ); -/** @internal */ -export const NextTeamPermissions$inboundSchema: z.ZodNativeEnum< - typeof NextTeamPermissions -> = z.nativeEnum(NextTeamPermissions); - -/** @internal */ -export const NextTeamRoles$inboundSchema: z.ZodNativeEnum< - typeof NextTeamRoles -> = z.nativeEnum(NextTeamRoles); - -/** @internal */ -export const Next2$inboundSchema: z.ZodType = z - .object({ - teamPermissions: types.optional(z.array(NextTeamPermissions$inboundSchema)), - teamRoles: z.array(NextTeamRoles$inboundSchema), - }); - -export function next2FromJSON( +export function fourHundredAndEightyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Next2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Next2' from JSON`, + (x) => FourHundredAndEighty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndEighty' from JSON`, ); } /** @internal */ -export const Next1$inboundSchema: z.ZodType = z - .object({ - accessGroupId: types.string(), - }); +export const UserEventPayload479Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload479Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload479Scope)); -export function next1FromJSON( +/** @internal */ +export const FourHundredAndSeventyNine$inboundSchema: z.ZodType< + FourHundredAndSeventyNine, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + scope: UserEventPayload479Scope$inboundSchema, + }) +); + +export function fourHundredAndSeventyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Next1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Next1' from JSON`, + (x) => FourHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeventyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload475Next$inboundSchema: z.ZodType< - UserEventPayload475Next, +export const PayloadEnabled$inboundSchema: z.ZodNativeEnum< + typeof PayloadEnabled +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadEnabled)); + +/** @internal */ +export const FourHundredAndSeventyEight$inboundSchema: z.ZodType< + FourHundredAndSeventyEight, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Next1$inboundSchema), - z.lazy(() => Next2$inboundSchema), - Next3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: PayloadEnabled$inboundSchema, + }) +); -export function userEventPayload475NextFromJSON( +export function fourHundredAndSeventyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload475Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload475Next' from JSON`, + (x) => FourHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeventyEight' from JSON`, ); } /** @internal */ -export const Previous3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Previous3); - -/** @internal */ -export const UserEventPreviousTeamPermissions$inboundSchema: z.ZodNativeEnum< - typeof UserEventPreviousTeamPermissions -> = z.nativeEnum(UserEventPreviousTeamPermissions); - -/** @internal */ -export const UserEventPreviousTeamRoles$inboundSchema: z.ZodNativeEnum< - typeof UserEventPreviousTeamRoles -> = z.nativeEnum(UserEventPreviousTeamRoles); - -/** @internal */ -export const Previous2$inboundSchema: z.ZodType< - Previous2, +export const FourHundredAndSeventySeven$inboundSchema: z.ZodType< + FourHundredAndSeventySeven, z.ZodTypeDef, unknown -> = z.object({ - teamPermissions: types.optional( - z.array(UserEventPreviousTeamPermissions$inboundSchema), - ), - teamRoles: z.array(UserEventPreviousTeamRoles$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedCount: types.number(), + }) +); -export function previous2FromJSON( +export function fourHundredAndSeventySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Previous2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Previous2' from JSON`, + (x) => FourHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeventySeven' from JSON`, ); } /** @internal */ -export const Previous1$inboundSchema: z.ZodType< - Previous1, +export const PayloadRemoteCaching$inboundSchema: z.ZodType< + PayloadRemoteCaching, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + }) +); -export function previous1FromJSON( +export function payloadRemoteCachingFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Previous1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Previous1' from JSON`, + (x) => PayloadRemoteCaching$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadRemoteCaching' from JSON`, ); } /** @internal */ -export const UserEventPayload475Previous$inboundSchema: z.ZodType< - UserEventPayload475Previous, +export const FourHundredAndSeventySix$inboundSchema: z.ZodType< + FourHundredAndSeventySix, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Previous1$inboundSchema), - z.lazy(() => Previous2$inboundSchema), - Previous3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + remoteCaching: types.optional( + z.lazy(() => PayloadRemoteCaching$inboundSchema), + ), + }) +); -export function userEventPayload475PreviousFromJSON( +export function fourHundredAndSeventySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload475Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload475Previous' from JSON`, + (x) => FourHundredAndSeventySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeventySix' from JSON`, ); } +/** @internal */ +export const PayloadConsent$inboundSchema: z.ZodNativeEnum< + typeof PayloadConsent +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadConsent)); + /** @internal */ export const FourHundredAndSeventyFive$inboundSchema: z.ZodType< FourHundredAndSeventyFive, z.ZodTypeDef, unknown -> = z.object({ - next: types.optional( - z.record(smartUnion([ - z.lazy(() => Next1$inboundSchema), - z.lazy(() => - Next2$inboundSchema - ), - Next3$inboundSchema, - ])), - ), - previous: types.optional( - z.record(smartUnion([ - z.lazy(() => Previous1$inboundSchema), - z.lazy(() => - Previous2$inboundSchema - ), - Previous3$inboundSchema, - ])), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consent: PayloadConsent$inboundSchema, + }) +); export function fourHundredAndSeventyFiveFromJSON( jsonString: string, @@ -2410,20 +2662,17 @@ export function fourHundredAndSeventyFiveFromJSON( ); } -/** @internal */ -export const UserEventPayload474Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload474Scope -> = z.nativeEnum(UserEventPayload474Scope); - /** @internal */ export const FourHundredAndSeventyFour$inboundSchema: z.ZodType< FourHundredAndSeventyFour, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - scope: UserEventPayload474Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptanceId: types.string(), + termsVersion: types.string(), + }) +); export function fourHundredAndSeventyFourFromJSON( jsonString: string, @@ -2436,18 +2685,20 @@ export function fourHundredAndSeventyFourFromJSON( } /** @internal */ -export const PayloadEnabled$inboundSchema: z.ZodNativeEnum< - typeof PayloadEnabled -> = z.nativeEnum(PayloadEnabled); +export const Decision$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Decision)); /** @internal */ export const FourHundredAndSeventyThree$inboundSchema: z.ZodType< FourHundredAndSeventyThree, z.ZodTypeDef, unknown -> = z.object({ - enabled: PayloadEnabled$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + decision: Decision$inboundSchema, + version: types.string(), + }) +); export function fourHundredAndSeventyThreeFromJSON( jsonString: string, @@ -2459,14 +2710,26 @@ export function fourHundredAndSeventyThreeFromJSON( ); } +/** @internal */ +export const UserEventPayload472ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload472ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload472ActorType) +); + /** @internal */ export const FourHundredAndSeventyTwo$inboundSchema: z.ZodType< FourHundredAndSeventyTwo, z.ZodTypeDef, unknown -> = z.object({ - deletedCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.optional(types.string()), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload472ActorType$inboundSchema, + }) +); export function fourHundredAndSeventyTwoFromJSON( jsonString: string, @@ -2478,35 +2741,16 @@ export function fourHundredAndSeventyTwoFromJSON( ); } -/** @internal */ -export const PayloadRemoteCaching$inboundSchema: z.ZodType< - PayloadRemoteCaching, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: types.optional(types.boolean()), -}); - -export function payloadRemoteCachingFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PayloadRemoteCaching$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadRemoteCaching' from JSON`, - ); -} - /** @internal */ export const FourHundredAndSeventyOne$inboundSchema: z.ZodType< FourHundredAndSeventyOne, z.ZodTypeDef, unknown -> = z.object({ - remoteCaching: types.optional( - z.lazy(() => PayloadRemoteCaching$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.optional(types.string()), + }) +); export function fourHundredAndSeventyOneFromJSON( jsonString: string, @@ -2518,19 +2762,16 @@ export function fourHundredAndSeventyOneFromJSON( ); } -/** @internal */ -export const PayloadConsent$inboundSchema: z.ZodNativeEnum< - typeof PayloadConsent -> = z.nativeEnum(PayloadConsent); - /** @internal */ export const FourHundredAndSeventy$inboundSchema: z.ZodType< FourHundredAndSeventy, z.ZodTypeDef, unknown -> = z.object({ - consent: PayloadConsent$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inviteCode: types.optional(types.string()), + }) +); export function fourHundredAndSeventyFromJSON( jsonString: string, @@ -2542,15 +2783,22 @@ export function fourHundredAndSeventyFromJSON( ); } +/** @internal */ +export const PayloadPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadPlan)); + /** @internal */ export const FourHundredAndSixtyNine$inboundSchema: z.ZodType< FourHundredAndSixtyNine, z.ZodTypeDef, unknown -> = z.object({ - acceptanceId: types.string(), - termsVersion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + convertedFromTrial: types.boolean(), + invoiceId: types.string(), + plan: PayloadPlan$inboundSchema, + }) +); export function fourHundredAndSixtyNineFromJSON( jsonString: string, @@ -2563,18 +2811,40 @@ export function fourHundredAndSixtyNineFromJSON( } /** @internal */ -export const Decision$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Decision); +export const UserEventPayloadPlan$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadPlan +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadPlan)); + +/** @internal */ +export const Trial$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + end: types.number(), + start: types.number(), + }) + ); + +export function trialFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Trial$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Trial' from JSON`, + ); +} /** @internal */ export const FourHundredAndSixtyEight$inboundSchema: z.ZodType< FourHundredAndSixtyEight, z.ZodTypeDef, unknown -> = z.object({ - decision: Decision$inboundSchema, - version: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + plan: UserEventPayloadPlan$inboundSchema, + trial: z.nullable(z.lazy(() => Trial$inboundSchema)).optional(), + }) +); export function fourHundredAndSixtyEightFromJSON( jsonString: string, @@ -2586,22 +2856,17 @@ export function fourHundredAndSixtyEightFromJSON( ); } -/** @internal */ -export const UserEventPayload467ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload467ActorType -> = z.nativeEnum(UserEventPayload467ActorType); - /** @internal */ export const FourHundredAndSixtySeven$inboundSchema: z.ZodType< FourHundredAndSixtySeven, z.ZodTypeDef, unknown -> = z.object({ - name: types.optional(types.string()), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload467ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextConcurrentBuilds: types.number(), + previousConcurrentBuilds: types.number(), + }) +); export function fourHundredAndSixtySevenFromJSON( jsonString: string, @@ -2618,9 +2883,12 @@ export const FourHundredAndSixtySix$inboundSchema: z.ZodType< FourHundredAndSixtySix, z.ZodTypeDef, unknown -> = z.object({ - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.optional(types.string()), + publicId: types.string(), + }) +); export function fourHundredAndSixtySixFromJSON( jsonString: string, @@ -2637,9 +2905,15 @@ export const FourHundredAndSixtyFive$inboundSchema: z.ZodType< FourHundredAndSixtyFive, z.ZodTypeDef, unknown -> = z.object({ - inviteCode: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.string(), + maxUses: types.number(), + name: types.optional(types.string()), + publicId: types.string(), + role: types.string(), + }) +); export function fourHundredAndSixtyFiveFromJSON( jsonString: string, @@ -2651,20 +2925,16 @@ export function fourHundredAndSixtyFiveFromJSON( ); } -/** @internal */ -export const PayloadPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadPlan); - /** @internal */ export const FourHundredAndSixtyFour$inboundSchema: z.ZodType< FourHundredAndSixtyFour, z.ZodTypeDef, unknown -> = z.object({ - convertedFromTrial: types.boolean(), - invoiceId: types.string(), - plan: PayloadPlan$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enforced: types.boolean(), + }) +); export function fourHundredAndSixtyFourFromJSON( jsonString: string, @@ -2676,37 +2946,18 @@ export function fourHundredAndSixtyFourFromJSON( ); } -/** @internal */ -export const UserEventPayloadPlan$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadPlan -> = z.nativeEnum(UserEventPayloadPlan); - -/** @internal */ -export const Trial$inboundSchema: z.ZodType = z - .object({ - end: types.number(), - start: types.number(), - }); - -export function trialFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Trial$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Trial' from JSON`, - ); -} - /** @internal */ export const FourHundredAndSixtyThree$inboundSchema: z.ZodType< FourHundredAndSixtyThree, z.ZodTypeDef, unknown -> = z.object({ - plan: UserEventPayloadPlan$inboundSchema, - trial: z.nullable(z.lazy(() => Trial$inboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.boolean(), + email: types.optional(types.string()), + reason: types.optional(types.string()), + }) +); export function fourHundredAndSixtyThreeFromJSON( jsonString: string, @@ -2718,138 +2969,37 @@ export function fourHundredAndSixtyThreeFromJSON( ); } -/** @internal */ -export const FourHundredAndSixtyTwo$inboundSchema: z.ZodType< - FourHundredAndSixtyTwo, - z.ZodTypeDef, - unknown -> = z.object({ - nextConcurrentBuilds: types.number(), - previousConcurrentBuilds: types.number(), -}); - -export function fourHundredAndSixtyTwoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FourHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSixtyTwo' from JSON`, - ); -} - -/** @internal */ -export const FourHundredAndSixtyOne$inboundSchema: z.ZodType< - FourHundredAndSixtyOne, - z.ZodTypeDef, - unknown -> = z.object({ - name: types.optional(types.string()), - publicId: types.string(), -}); - -export function fourHundredAndSixtyOneFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FourHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSixtyOne' from JSON`, - ); -} - -/** @internal */ -export const FourHundredAndSixty$inboundSchema: z.ZodType< - FourHundredAndSixty, - z.ZodTypeDef, - unknown -> = z.object({ - expiresAt: types.string(), - maxUses: types.number(), - name: types.optional(types.string()), - publicId: types.string(), - role: types.string(), -}); - -export function fourHundredAndSixtyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FourHundredAndSixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSixty' from JSON`, - ); -} - -/** @internal */ -export const FourHundredAndFiftyNine$inboundSchema: z.ZodType< - FourHundredAndFiftyNine, - z.ZodTypeDef, - unknown -> = z.object({ - enforced: types.boolean(), -}); - -export function fourHundredAndFiftyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FourHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyNine' from JSON`, - ); -} - -/** @internal */ -export const FourHundredAndFiftyEight$inboundSchema: z.ZodType< - FourHundredAndFiftyEight, - z.ZodTypeDef, - unknown -> = z.object({ - authorized: types.boolean(), - email: types.optional(types.string()), - reason: types.optional(types.string()), -}); - -export function fourHundredAndFiftyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FourHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyEight' from JSON`, - ); -} - /** @internal */ export const PreviousTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof PreviousTeamPermissions -> = z.nativeEnum(PreviousTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousTeamPermissions)); /** @internal */ export const PreviousTeamRoles$inboundSchema: z.ZodNativeEnum< typeof PreviousTeamRoles -> = z.nativeEnum(PreviousTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousTeamRoles)); /** @internal */ export const PayloadTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof PayloadTeamPermissions -> = z.nativeEnum(PayloadTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadTeamPermissions)); /** @internal */ export const PayloadTeamRoles$inboundSchema: z.ZodNativeEnum< typeof PayloadTeamRoles -> = z.nativeEnum(PayloadTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadTeamRoles)); /** @internal */ export const PayloadUpdatedUser$inboundSchema: z.ZodType< PayloadUpdatedUser, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + username: types.string(), + }) +); export function payloadUpdatedUserFromJSON( jsonString: string, @@ -2862,67 +3012,71 @@ export function payloadUpdatedUserFromJSON( } /** @internal */ -export const FourHundredAndFiftySeven$inboundSchema: z.ZodType< - FourHundredAndFiftySeven, +export const FourHundredAndSixtyTwo$inboundSchema: z.ZodType< + FourHundredAndSixtyTwo, z.ZodTypeDef, unknown -> = z.object({ - directoryType: types.optional(types.string()), - origin: types.optional(types.string()), - previousRole: types.string(), - previousTeamPermissions: types.optional( - z.array(PreviousTeamPermissions$inboundSchema), - ), - previousTeamRoles: types.optional(z.array(PreviousTeamRoles$inboundSchema)), - role: types.optional(types.string()), - ssoType: types.optional(types.string()), - teamPermissions: types.optional( - z.array(PayloadTeamPermissions$inboundSchema), - ), - teamRoles: types.optional(z.array(PayloadTeamRoles$inboundSchema)), - teamSlug: types.optional(types.string()), - updatedUid: types.optional(types.string()), - updatedUser: types.optional(z.lazy(() => PayloadUpdatedUser$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryType: types.optional(types.string()), + origin: types.optional(types.string()), + previousRole: types.string(), + previousTeamPermissions: types.optional( + z.array(PreviousTeamPermissions$inboundSchema), + ), + previousTeamRoles: types.optional(z.array(PreviousTeamRoles$inboundSchema)), + role: types.optional(types.string()), + ssoType: types.optional(types.string()), + teamPermissions: types.optional( + z.array(PayloadTeamPermissions$inboundSchema), + ), + teamRoles: types.optional(z.array(PayloadTeamRoles$inboundSchema)), + teamSlug: types.optional(types.string()), + updatedUid: types.optional(types.string()), + updatedUser: types.optional(z.lazy(() => PayloadUpdatedUser$inboundSchema)), + }) +); -export function fourHundredAndFiftySevenFromJSON( +export function fourHundredAndSixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftySeven' from JSON`, + (x) => FourHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSixtyTwo' from JSON`, ); } /** @internal */ export const UserEventPayloadSource$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadSource -> = z.nativeEnum(UserEventPayloadSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadSource)); /** @internal */ -export const FourHundredAndFiftySix$inboundSchema: z.ZodType< - FourHundredAndFiftySix, +export const FourHundredAndSixtyOne$inboundSchema: z.ZodType< + FourHundredAndSixtyOne, z.ZodTypeDef, unknown -> = z.object({ - bitbucketUsername: types.optional(types.string()), - githubUsername: types.optional(types.string()), - gitlabUsername: types.optional(types.string()), - gitUsername: types.optional(types.string()), - requestedTeamName: types.string(), - requestedTeamSlug: types.optional(types.string()), - requestedUserName: types.optional(types.string()), - source: types.optional(UserEventPayloadSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketUsername: types.optional(types.string()), + githubUsername: types.optional(types.string()), + gitlabUsername: types.optional(types.string()), + gitUsername: types.optional(types.string()), + requestedTeamName: types.string(), + requestedTeamSlug: types.optional(types.string()), + requestedUserName: types.optional(types.string()), + source: types.optional(UserEventPayloadSource$inboundSchema), + }) +); -export function fourHundredAndFiftySixFromJSON( +export function fourHundredAndSixtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftySix' from JSON`, + (x) => FourHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSixtyOne' from JSON`, ); } @@ -2931,11 +3085,13 @@ export const InvitedBy$inboundSchema: z.ZodType< InvitedBy, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - name: types.optional(types.string()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + name: types.optional(types.string()), + userId: types.optional(types.string()), + }) +); export function invitedByFromJSON( jsonString: string, @@ -2952,10 +3108,12 @@ export const UpdatedUser$inboundSchema: z.ZodType< UpdatedUser, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + username: types.string(), + }) +); export function updatedUserFromJSON( jsonString: string, @@ -2968,30 +3126,32 @@ export function updatedUserFromJSON( } /** @internal */ -export const FourHundredAndFiftyFive$inboundSchema: z.ZodType< - FourHundredAndFiftyFive, +export const FourHundredAndSixty$inboundSchema: z.ZodType< + FourHundredAndSixty, z.ZodTypeDef, unknown -> = z.object({ - entitlements: types.optional(z.array(types.string())), - invitedBy: types.optional(z.lazy(() => InvitedBy$inboundSchema)), - origin: types.optional(types.string()), - role: types.optional(types.string()), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), - teamSlug: types.optional(types.string()), - uid: types.optional(types.string()), - updatedUid: types.optional(types.string()), - updatedUser: types.optional(z.lazy(() => UpdatedUser$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entitlements: types.optional(z.array(types.string())), + invitedBy: types.optional(z.lazy(() => InvitedBy$inboundSchema)), + origin: types.optional(types.string()), + role: types.optional(types.string()), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + teamSlug: types.optional(types.string()), + uid: types.optional(types.string()), + updatedUid: types.optional(types.string()), + updatedUser: types.optional(z.lazy(() => UpdatedUser$inboundSchema)), + }) +); -export function fourHundredAndFiftyFiveFromJSON( +export function fourHundredAndSixtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyFive' from JSON`, + (x) => FourHundredAndSixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSixty' from JSON`, ); } @@ -3000,10 +3160,12 @@ export const UserEventPayloadUser$inboundSchema: z.ZodType< UserEventPayloadUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + username: types.string(), + }) +); export function userEventPayloadUserFromJSON( jsonString: string, @@ -3016,23 +3178,25 @@ export function userEventPayloadUserFromJSON( } /** @internal */ -export const FourHundredAndFiftyFour$inboundSchema: z.ZodType< - FourHundredAndFiftyFour, +export const FourHundredAndFiftyNine$inboundSchema: z.ZodType< + FourHundredAndFiftyNine, z.ZodTypeDef, unknown -> = z.object({ - entitlement: types.string(), - previousCanceledAt: types.optional(types.string()), - user: z.lazy(() => UserEventPayloadUser$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entitlement: types.string(), + previousCanceledAt: types.optional(types.string()), + user: z.lazy(() => UserEventPayloadUser$inboundSchema), + }) +); -export function fourHundredAndFiftyFourFromJSON( +export function fourHundredAndFiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyFour' from JSON`, + (x) => FourHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyNine' from JSON`, ); } @@ -3041,10 +3205,12 @@ export const PayloadUser$inboundSchema: z.ZodType< PayloadUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + username: types.string(), + }) +); export function payloadUserFromJSON( jsonString: string, @@ -3056,23 +3222,25 @@ export function payloadUserFromJSON( ); } -/** @internal */ -export const FourHundredAndFiftyThree$inboundSchema: z.ZodType< - FourHundredAndFiftyThree, +/** @internal */ +export const FourHundredAndFiftyEight$inboundSchema: z.ZodType< + FourHundredAndFiftyEight, z.ZodTypeDef, unknown -> = z.object({ - entitlement: types.string(), - user: z.lazy(() => PayloadUser$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entitlement: types.string(), + user: z.lazy(() => PayloadUser$inboundSchema), + }) +); -export function fourHundredAndFiftyThreeFromJSON( +export function fourHundredAndFiftyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyThree' from JSON`, + (x) => FourHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyEight' from JSON`, ); } @@ -3081,10 +3249,12 @@ export const PayloadDeletedUser$inboundSchema: z.ZodType< PayloadDeletedUser, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + username: types.string(), + }) +); export function payloadDeletedUserFromJSON( jsonString: string, @@ -3097,93 +3267,99 @@ export function payloadDeletedUserFromJSON( } /** @internal */ -export const NewPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NewPlan); +export const NewPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NewPlan)); /** @internal */ export const PreviousPlan$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(PreviousPlan); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousPlan)); /** @internal */ -export const PayloadRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadRole); +export const PayloadRole$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadRole)); /** @internal */ -export const FourHundredAndFiftyTwo$inboundSchema: z.ZodType< - FourHundredAndFiftyTwo, +export const FourHundredAndFiftySeven$inboundSchema: z.ZodType< + FourHundredAndFiftySeven, z.ZodTypeDef, unknown -> = z.object({ - automated: types.optional(types.boolean()), - bitbucketUsername: z.nullable(types.string()).optional(), - deletedUid: types.optional(types.string()), - deletedUser: types.optional(z.lazy(() => PayloadDeletedUser$inboundSchema)), - directoryType: types.optional(types.string()), - githubUsername: z.nullable(types.string()).optional(), - gitlabUsername: z.nullable(types.string()).optional(), - newPlan: types.optional(NewPlan$inboundSchema), - previousPlan: types.optional(PreviousPlan$inboundSchema), - reason: types.optional(types.string()), - role: types.optional(PayloadRole$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + automated: types.optional(types.boolean()), + bitbucketUsername: z.nullable(types.string()).optional(), + deletedUid: types.optional(types.string()), + deletedUser: types.optional(z.lazy(() => PayloadDeletedUser$inboundSchema)), + directoryType: types.optional(types.string()), + githubUsername: z.nullable(types.string()).optional(), + gitlabUsername: z.nullable(types.string()).optional(), + newPlan: types.optional(NewPlan$inboundSchema), + previousPlan: types.optional(PreviousPlan$inboundSchema), + reason: types.optional(types.string()), + role: types.optional(PayloadRole$inboundSchema), + }) +); -export function fourHundredAndFiftyTwoFromJSON( +export function fourHundredAndFiftySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyTwo' from JSON`, + (x) => FourHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftySeven' from JSON`, ); } /** @internal */ -export const FourHundredAndFiftyOne$inboundSchema: z.ZodType< - FourHundredAndFiftyOne, +export const FourHundredAndFiftySix$inboundSchema: z.ZodType< + FourHundredAndFiftySix, z.ZodTypeDef, unknown -> = z.object({ - bitbucketUsername: z.nullable(types.string()).optional(), - githubUsername: z.nullable(types.string()).optional(), - gitlabUsername: z.nullable(types.string()).optional(), - gitUsername: z.nullable(types.string()).optional(), - teamName: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketUsername: z.nullable(types.string()).optional(), + githubUsername: z.nullable(types.string()).optional(), + gitlabUsername: z.nullable(types.string()).optional(), + gitUsername: z.nullable(types.string()).optional(), + teamName: types.string(), + username: types.optional(types.string()), + }) +); -export function fourHundredAndFiftyOneFromJSON( +export function fourHundredAndFiftySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFiftyOne' from JSON`, + (x) => FourHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftySix' from JSON`, ); } /** @internal */ -export const FourHundredAndFifty$inboundSchema: z.ZodType< - FourHundredAndFifty, +export const FourHundredAndFiftyFive$inboundSchema: z.ZodType< + FourHundredAndFiftyFive, z.ZodTypeDef, unknown -> = z.object({ - bitbucketUsername: z.nullable(types.string()).optional(), - githubUsername: z.nullable(types.string()).optional(), - gitlabUsername: z.nullable(types.string()).optional(), - gitUsername: types.optional(types.string()), - teamId: types.optional(types.string()), - teamName: types.string(), - updatedUid: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketUsername: z.nullable(types.string()).optional(), + githubUsername: z.nullable(types.string()).optional(), + gitlabUsername: z.nullable(types.string()).optional(), + gitUsername: types.optional(types.string()), + teamId: types.optional(types.string()), + teamName: types.string(), + updatedUid: types.optional(types.string()), + username: types.optional(types.string()), + }) +); -export function fourHundredAndFiftyFromJSON( +export function fourHundredAndFiftyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFifty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFifty' from JSON`, + (x) => FourHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyFive' from JSON`, ); } @@ -3192,10 +3368,12 @@ export const InvitedUser$inboundSchema: z.ZodType< InvitedUser, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + username: types.string(), + }) +); export function invitedUserFromJSON( jsonString: string, @@ -3208,265 +3386,291 @@ export function invitedUserFromJSON( } /** @internal */ -export const FourHundredAndFortyNine$inboundSchema: z.ZodType< - FourHundredAndFortyNine, +export const FourHundredAndFiftyFour$inboundSchema: z.ZodType< + FourHundredAndFiftyFour, z.ZodTypeDef, unknown -> = z.object({ - directoryType: types.optional(types.string()), - entitlements: types.optional(z.array(types.string())), - invitationRole: types.optional(types.string()), - invitedEmail: types.optional(types.string()), - invitedUid: types.optional(types.string()), - invitedUser: types.optional(z.lazy(() => InvitedUser$inboundSchema)), - origin: types.optional(types.string()), - ssoType: types.optional(types.string()), - teamSlug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryType: types.optional(types.string()), + entitlements: types.optional(z.array(types.string())), + invitationRole: types.optional(types.string()), + invitedEmail: types.optional(types.string()), + invitedUid: types.optional(types.string()), + invitedUser: types.optional(z.lazy(() => InvitedUser$inboundSchema)), + origin: types.optional(types.string()), + ssoType: types.optional(types.string()), + teamSlug: types.optional(types.string()), + }) +); -export function fourHundredAndFortyNineFromJSON( +export function fourHundredAndFiftyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyNine' from JSON`, + (x) => FourHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyFour' from JSON`, ); } /** @internal */ -export const FourHundredAndFortyEight$inboundSchema: z.ZodType< - FourHundredAndFortyEight, +export const FourHundredAndFiftyThree$inboundSchema: z.ZodType< + FourHundredAndFiftyThree, z.ZodTypeDef, unknown -> = z.object({ - deletedCount: types.number(), - inviteIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedCount: types.number(), + inviteIds: z.array(types.string()), + }) +); -export function fourHundredAndFortyEightFromJSON( +export function fourHundredAndFiftyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyEight' from JSON`, + (x) => FourHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyThree' from JSON`, ); } /** @internal */ -export const FourHundredAndFortySeven$inboundSchema: z.ZodType< - FourHundredAndFortySeven, +export const FourHundredAndFiftyTwo$inboundSchema: z.ZodType< + FourHundredAndFiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - emailDomain: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + emailDomain: z.nullable(types.string()).optional(), + }) +); -export function fourHundredAndFortySevenFromJSON( +export function fourHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortySeven' from JSON`, + (x) => FourHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyTwo' from JSON`, ); } /** @internal */ -export const Enabled$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Enabled); +export const Enabled$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Enabled)); /** @internal */ export const UserEventPayloadEnvironment$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadEnvironment -> = z.nativeEnum(UserEventPayloadEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadEnvironment) +); /** @internal */ -export const FourHundredAndFortySix$inboundSchema: z.ZodType< - FourHundredAndFortySix, +export const FourHundredAndFiftyOne$inboundSchema: z.ZodType< + FourHundredAndFiftyOne, z.ZodTypeDef, unknown -> = z.object({ - enabled: Enabled$inboundSchema, - environment: UserEventPayloadEnvironment$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: Enabled$inboundSchema, + environment: UserEventPayloadEnvironment$inboundSchema, + }) +); -export function fourHundredAndFortySixFromJSON( +export function fourHundredAndFiftyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortySix' from JSON`, + (x) => FourHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFiftyOne' from JSON`, ); } /** @internal */ export const PayloadEnvironment$inboundSchema: z.ZodNativeEnum< typeof PayloadEnvironment -> = z.nativeEnum(PayloadEnvironment); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadEnvironment)); /** @internal */ -export const FourHundredAndFortyFive$inboundSchema: z.ZodType< - FourHundredAndFortyFive, +export const FourHundredAndFifty$inboundSchema: z.ZodType< + FourHundredAndFifty, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.nullable(types.boolean()), - environment: PayloadEnvironment$inboundSchema, - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.nullable(types.boolean()), + environment: PayloadEnvironment$inboundSchema, + projectId: types.string(), + projectName: types.string(), + }) +); -export function fourHundredAndFortyFiveFromJSON( +export function fourHundredAndFiftyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyFive' from JSON`, + (x) => FourHundredAndFifty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFifty' from JSON`, ); } /** @internal */ -export const FourHundredAndFortyFour$inboundSchema: z.ZodType< - FourHundredAndFortyFour, +export const FourHundredAndFortyNine$inboundSchema: z.ZodType< + FourHundredAndFortyNine, z.ZodTypeDef, unknown -> = z.object({ - domain: types.optional(types.string()), - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.optional(types.string()), + enabled: types.boolean(), + }) +); -export function fourHundredAndFortyFourFromJSON( +export function fourHundredAndFortyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyFour' from JSON`, + (x) => FourHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload443Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload443Action -> = z.nativeEnum(UserEventPayload443Action); +export const UserEventPayload448Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload448Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload448Action)); /** @internal */ -export const FourHundredAndFortyThree$inboundSchema: z.ZodType< - FourHundredAndFortyThree, +export const FourHundredAndFortyEight$inboundSchema: z.ZodType< + FourHundredAndFortyEight, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload443Action$inboundSchema, - targetId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload448Action$inboundSchema, + targetId: types.string(), + }) +); -export function fourHundredAndFortyThreeFromJSON( +export function fourHundredAndFortyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyThree' from JSON`, + (x) => FourHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyEight' from JSON`, ); } /** @internal */ -export const UserEventPayload442Next$inboundSchema: z.ZodType< - UserEventPayload442Next, +export const UserEventPayload447Next$inboundSchema: z.ZodType< + UserEventPayload447Next, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable(z.array(z.any())).optional(), - gitSources: z.nullable(z.array(z.any())).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable(z.array(z.any())).optional(), + gitSources: z.nullable(z.array(z.any())).optional(), + }) +); -export function userEventPayload442NextFromJSON( +export function userEventPayload447NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload442Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload442Next' from JSON`, + (x) => UserEventPayload447Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload447Next' from JSON`, ); } /** @internal */ -export const UserEventPayload442Previous$inboundSchema: z.ZodType< - UserEventPayload442Previous, +export const UserEventPayload447Previous$inboundSchema: z.ZodType< + UserEventPayload447Previous, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable(z.array(z.any())).optional(), - gitSources: z.nullable(z.array(z.any())).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable(z.array(z.any())).optional(), + gitSources: z.nullable(z.array(z.any())).optional(), + }) +); -export function userEventPayload442PreviousFromJSON( +export function userEventPayload447PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload442Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload442Previous' from JSON`, + (x) => UserEventPayload447Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload447Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndFortyTwo$inboundSchema: z.ZodType< - FourHundredAndFortyTwo, +export const FourHundredAndFortySeven$inboundSchema: z.ZodType< + FourHundredAndFortySeven, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(z.lazy(() => UserEventPayload442Next$inboundSchema)), - previous: types.nullable( - z.lazy(() => UserEventPayload442Previous$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(z.lazy(() => UserEventPayload447Next$inboundSchema)), + previous: types.nullable( + z.lazy(() => UserEventPayload447Previous$inboundSchema), + ), + }) +); -export function fourHundredAndFortyTwoFromJSON( +export function fourHundredAndFortySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyTwo' from JSON`, + (x) => FourHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload441Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload441Scope -> = z.nativeEnum(UserEventPayload441Scope); +export const UserEventPayload446Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload446Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload446Scope)); /** @internal */ -export const FourHundredAndFortyOne$inboundSchema: z.ZodType< - FourHundredAndFortyOne, +export const FourHundredAndFortySix$inboundSchema: z.ZodType< + FourHundredAndFortySix, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - scope: types.optional(UserEventPayload441Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + scope: types.optional(UserEventPayload446Scope$inboundSchema), + }) +); -export function fourHundredAndFortyOneFromJSON( +export function fourHundredAndFortySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFortyOne' from JSON`, + (x) => FourHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortySix' from JSON`, ); } /** @internal */ export const Reasons$inboundSchema: z.ZodType = - z.object({ - description: types.string(), - slug: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.string(), + slug: types.string(), + }) + ); export function reasonsFromJSON( jsonString: string, @@ -3479,20 +3683,22 @@ export function reasonsFromJSON( } /** @internal */ -export const UserEventPayload440Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload440Role -> = z.nativeEnum(UserEventPayload440Role); +export const UserEventPayload445Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload445Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload445Role)); /** @internal */ export const UserEventPayloadRemovedUsers$inboundSchema: z.ZodType< UserEventPayloadRemovedUsers, z.ZodTypeDef, unknown -> = z.object({ - confirmed: types.boolean(), - confirmedAt: types.optional(types.number()), - role: UserEventPayload440Role$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + confirmed: types.boolean(), + confirmedAt: types.optional(types.number()), + role: UserEventPayload445Role$inboundSchema, + }) +); export function userEventPayloadRemovedUsersFromJSON( jsonString: string, @@ -3505,171 +3711,191 @@ export function userEventPayloadRemovedUsersFromJSON( } /** @internal */ -export const FourHundredAndForty$inboundSchema: z.ZodType< - FourHundredAndForty, +export const FourHundredAndFortyFive$inboundSchema: z.ZodType< + FourHundredAndFortyFive, z.ZodTypeDef, unknown -> = z.object({ - by: types.string(), - byUid: types.optional(types.string()), - reasons: types.optional(z.array(z.lazy(() => Reasons$inboundSchema))), - removedMemberCount: types.optional(types.number()), - removedUsers: types.optional( - z.record(z.lazy(() => UserEventPayloadRemovedUsers$inboundSchema)), - ), - slug: types.string(), - teamId: types.string(), - timestamp: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + by: types.string(), + byUid: types.optional(types.string()), + reasons: types.optional(z.array(z.lazy(() => Reasons$inboundSchema))), + removedMemberCount: types.optional(types.number()), + removedUsers: types.optional( + z.record(z.lazy(() => UserEventPayloadRemovedUsers$inboundSchema)), + ), + slug: types.string(), + teamId: types.string(), + timestamp: types.optional(types.number()), + }) +); -export function fourHundredAndFortyFromJSON( +export function fourHundredAndFortyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndForty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndForty' from JSON`, + (x) => FourHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload439ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload439ActorType -> = z.nativeEnum(UserEventPayload439ActorType); +export const UserEventPayload444ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload444ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload444ActorType) +); /** @internal */ -export const FourHundredAndThirtyNine$inboundSchema: z.ZodType< - FourHundredAndThirtyNine, +export const FourHundredAndFortyFour$inboundSchema: z.ZodType< + FourHundredAndFortyFour, z.ZodTypeDef, unknown -> = z.object({ - enrolled: types.optional(types.boolean()), - actorName: types.optional(types.string()), - actorType: types.optional(UserEventPayload439ActorType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enrolled: types.optional(types.boolean()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload444ActorType$inboundSchema), + }) +); -export function fourHundredAndThirtyNineFromJSON( +export function fourHundredAndFortyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyNine' from JSON`, + (x) => FourHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyFour' from JSON`, ); } /** @internal */ -export const UserEventPayload438Next$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload438Next -> = z.nativeEnum(UserEventPayload438Next); +export const UserEventPayload443Next$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload443Next +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload443Next)); /** @internal */ -export const UserEventPayload438Previous$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload438Previous -> = z.nativeEnum(UserEventPayload438Previous); +export const UserEventPayload443Previous$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload443Previous +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload443Previous) +); /** @internal */ export const PayloadReason$inboundSchema: z.ZodNativeEnum< typeof PayloadReason -> = z.nativeEnum(PayloadReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadReason)); /** @internal */ -export const FourHundredAndThirtyEight$inboundSchema: z.ZodType< - FourHundredAndThirtyEight, +export const FourHundredAndFortyThree$inboundSchema: z.ZodType< + FourHundredAndFortyThree, z.ZodTypeDef, unknown -> = z.object({ - isSystemInitiated: types.optional(types.boolean()), - next: types.optional(UserEventPayload438Next$inboundSchema), - previous: types.optional(UserEventPayload438Previous$inboundSchema), - reason: types.optional(PayloadReason$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isSystemInitiated: types.optional(types.boolean()), + next: types.optional(UserEventPayload443Next$inboundSchema), + previous: types.optional(UserEventPayload443Previous$inboundSchema), + reason: types.optional(PayloadReason$inboundSchema), + }) +); -export function fourHundredAndThirtyEightFromJSON( +export function fourHundredAndFortyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyEight' from JSON`, + (x) => FourHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload437ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload437ActorType -> = z.nativeEnum(UserEventPayload437ActorType); +export const UserEventPayload442ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload442ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload442ActorType) +); /** @internal */ -export const FourHundredAndThirtySeven$inboundSchema: z.ZodType< - FourHundredAndThirtySeven, +export const FourHundredAndFortyTwo$inboundSchema: z.ZodType< + FourHundredAndFortyTwo, z.ZodTypeDef, unknown -> = z.object({ - disabled: types.optional(types.boolean()), - actorName: types.optional(types.string()), - actorType: types.optional(UserEventPayload437ActorType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + disabled: types.optional(types.boolean()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload442ActorType$inboundSchema), + }) +); -export function fourHundredAndThirtySevenFromJSON( +export function fourHundredAndFortyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtySeven' from JSON`, + (x) => FourHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload436Next$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload436Next -> = z.nativeEnum(UserEventPayload436Next); +export const UserEventPayload441Next$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload441Next +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload441Next)); /** @internal */ -export const UserEventPayload436Previous$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload436Previous -> = z.nativeEnum(UserEventPayload436Previous); +export const UserEventPayload441Previous$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload441Previous +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload441Previous) +); /** @internal */ -export const FourHundredAndThirtySix$inboundSchema: z.ZodType< - FourHundredAndThirtySix, +export const FourHundredAndFortyOne$inboundSchema: z.ZodType< + FourHundredAndFortyOne, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(UserEventPayload436Next$inboundSchema), - previous: types.nullable(UserEventPayload436Previous$inboundSchema), - teamSlug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(UserEventPayload441Next$inboundSchema), + previous: types.nullable(UserEventPayload441Previous$inboundSchema), + teamSlug: types.optional(types.string()), + }) +); -export function fourHundredAndThirtySixFromJSON( +export function fourHundredAndFortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtySix' from JSON`, + (x) => FourHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFortyOne' from JSON`, ); } /** @internal */ -export const FourHundredAndThirtyFive$inboundSchema: z.ZodType< - FourHundredAndThirtyFive, +export const FourHundredAndForty$inboundSchema: z.ZodType< + FourHundredAndForty, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - projectId: types.nullable(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + projectId: types.nullable(types.string()), + projectName: types.optional(types.string()), + }) +); -export function fourHundredAndThirtyFiveFromJSON( +export function fourHundredAndFortyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyFive' from JSON`, + (x) => FourHundredAndForty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndForty' from JSON`, ); } diff --git a/src/models/generatefirewallruleop.ts b/src/models/generatefirewallruleop.ts index 1e5138bbc4..46e5aff1b7 100644 --- a/src/models/generatefirewallruleop.ts +++ b/src/models/generatefirewallruleop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -84,11 +84,13 @@ export const GenerateFirewallRuleRequest$outboundSchema: z.ZodType< GenerateFirewallRuleRequest$Outbound, z.ZodTypeDef, GenerateFirewallRuleRequest -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function generateFirewallRuleRequestToJSON( generateFirewallRuleRequest: GenerateFirewallRuleRequest, @@ -105,13 +107,15 @@ export const GenerateFirewallRuleRateLimit$inboundSchema: z.ZodType< GenerateFirewallRuleRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable(types.string()).optional(), - algo: types.string(), - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable(types.string()).optional(), + algo: types.string(), + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function generateFirewallRuleRateLimitFromJSON( jsonString: string, @@ -128,10 +132,12 @@ export const GenerateFirewallRuleRedirect$inboundSchema: z.ZodType< GenerateFirewallRuleRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function generateFirewallRuleRedirectFromJSON( jsonString: string, @@ -148,15 +154,18 @@ export const GenerateFirewallRuleMitigate$inboundSchema: z.ZodType< GenerateFirewallRuleMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: types.string(), - actionDuration: z.nullable(types.string()).optional(), - rateLimit: z.nullable( - z.lazy(() => GenerateFirewallRuleRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable(z.lazy(() => GenerateFirewallRuleRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.string(), + actionDuration: z.nullable(types.string()).optional(), + rateLimit: z.nullable( + z.lazy(() => GenerateFirewallRuleRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GenerateFirewallRuleRedirect$inboundSchema), + ).optional(), + }) +); export function generateFirewallRuleMitigateFromJSON( jsonString: string, @@ -173,11 +182,13 @@ export const GenerateFirewallRuleAction$inboundSchema: z.ZodType< GenerateFirewallRuleAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => GenerateFirewallRuleMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => GenerateFirewallRuleMitigate$inboundSchema), + ), + }) +); export function generateFirewallRuleActionFromJSON( jsonString: string, @@ -194,7 +205,9 @@ export const GenerateFirewallRuleValue$inboundSchema: z.ZodType< GenerateFirewallRuleValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function generateFirewallRuleValueFromJSON( jsonString: string, @@ -211,15 +224,17 @@ export const GenerateFirewallRuleConditions$inboundSchema: z.ZodType< GenerateFirewallRuleConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.boolean(), - op: types.string(), - type: types.string(), - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.boolean(), + op: types.string(), + type: types.string(), + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function generateFirewallRuleConditionsFromJSON( jsonString: string, @@ -236,11 +251,13 @@ export const GenerateFirewallRuleConditionGroup$inboundSchema: z.ZodType< GenerateFirewallRuleConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => GenerateFirewallRuleConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GenerateFirewallRuleConditions$inboundSchema), + ), + }) +); export function generateFirewallRuleConditionGroupFromJSON( jsonString: string, @@ -258,15 +275,17 @@ export const GenerateFirewallRuleRule$inboundSchema: z.ZodType< GenerateFirewallRuleRule, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => GenerateFirewallRuleAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GenerateFirewallRuleConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => GenerateFirewallRuleAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => GenerateFirewallRuleConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + name: types.string(), + }) +); export function generateFirewallRuleRuleFromJSON( jsonString: string, @@ -283,10 +302,12 @@ export const GenerateFirewallRuleResponseBody$inboundSchema: z.ZodType< GenerateFirewallRuleResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: types.optional(types.string()), - rule: types.optional(z.lazy(() => GenerateFirewallRuleRule$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: types.optional(types.string()), + rule: types.optional(z.lazy(() => GenerateFirewallRuleRule$inboundSchema)), + }) +); export function generateFirewallRuleResponseBodyFromJSON( jsonString: string, diff --git a/src/models/generaterouteop.ts b/src/models/generaterouteop.ts index e48fe9bdda..9112fa768c 100644 --- a/src/models/generaterouteop.ts +++ b/src/models/generaterouteop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -161,10 +161,12 @@ export const PathCondition$outboundSchema: z.ZodType< PathCondition$Outbound, z.ZodTypeDef, PathCondition -> = z.object({ - value: z.string().optional(), - syntax: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.string().optional(), + syntax: z.string().optional(), + }) +); export function pathConditionToJSON(pathCondition: PathCondition): string { return JSON.stringify(PathCondition$outboundSchema.parse(pathCondition)); @@ -184,13 +186,15 @@ export const GenerateRouteConditions$outboundSchema: z.ZodType< GenerateRouteConditions$Outbound, z.ZodTypeDef, GenerateRouteConditions -> = z.object({ - field: z.string().optional(), - operator: z.string().optional(), - key: z.string().optional(), - value: z.string().optional(), - missing: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + field: z.string().optional(), + operator: z.string().optional(), + key: z.string().optional(), + value: z.string().optional(), + missing: z.boolean().optional(), + }) +); export function generateRouteConditionsToJSON( generateRouteConditions: GenerateRouteConditions, @@ -212,11 +216,13 @@ export const GenerateRouteHeaders$outboundSchema: z.ZodType< GenerateRouteHeaders$Outbound, z.ZodTypeDef, GenerateRouteHeaders -> = z.object({ - key: z.string().optional(), - value: z.string().optional(), - op: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string().optional(), + value: z.string().optional(), + op: z.string().optional(), + }) +); export function generateRouteHeadersToJSON( generateRouteHeaders: GenerateRouteHeaders, @@ -240,14 +246,16 @@ export const Actions$outboundSchema: z.ZodType< Actions$Outbound, z.ZodTypeDef, Actions -> = z.object({ - type: z.string().optional(), - subType: z.string().optional(), - dest: z.string().optional(), - status: z.number().int().optional(), - headers: z.array(z.lazy(() => GenerateRouteHeaders$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string().optional(), + subType: z.string().optional(), + dest: z.string().optional(), + status: z.number().int().optional(), + headers: z.array(z.lazy(() => GenerateRouteHeaders$outboundSchema)) + .optional(), + }) +); export function actionsToJSON(actions: Actions): string { return JSON.stringify(Actions$outboundSchema.parse(actions)); @@ -268,15 +276,17 @@ export const CurrentRoute$outboundSchema: z.ZodType< CurrentRoute$Outbound, z.ZodTypeDef, CurrentRoute -> = z.object({ - name: z.string().optional(), - description: z.string().optional(), - pathCondition: z.lazy(() => PathCondition$outboundSchema), - caseSensitive: z.boolean().optional(), - conditions: z.array(z.lazy(() => GenerateRouteConditions$outboundSchema)) - .optional(), - actions: z.array(z.lazy(() => Actions$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + description: z.string().optional(), + pathCondition: z.lazy(() => PathCondition$outboundSchema), + caseSensitive: z.boolean().optional(), + conditions: z.array(z.lazy(() => GenerateRouteConditions$outboundSchema)) + .optional(), + actions: z.array(z.lazy(() => Actions$outboundSchema)), + }) +); export function currentRouteToJSON(currentRoute: CurrentRoute): string { return JSON.stringify(CurrentRoute$outboundSchema.parse(currentRoute)); @@ -293,10 +303,12 @@ export const GenerateRouteRequestBody$outboundSchema: z.ZodType< GenerateRouteRequestBody$Outbound, z.ZodTypeDef, GenerateRouteRequestBody -> = z.object({ - prompt: z.string(), - currentRoute: z.lazy(() => CurrentRoute$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prompt: z.string(), + currentRoute: z.lazy(() => CurrentRoute$outboundSchema).optional(), + }) +); export function generateRouteRequestBodyToJSON( generateRouteRequestBody: GenerateRouteRequestBody, @@ -319,16 +331,19 @@ export const GenerateRouteRequest$outboundSchema: z.ZodType< GenerateRouteRequest$Outbound, z.ZodTypeDef, GenerateRouteRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => GenerateRouteRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => GenerateRouteRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function generateRouteRequestToJSON( generateRouteRequest: GenerateRouteRequest, @@ -341,18 +356,20 @@ export function generateRouteRequestToJSON( /** @internal */ export const GenerateRouteOp$inboundSchema: z.ZodNativeEnum< typeof GenerateRouteOp -> = z.nativeEnum(GenerateRouteOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GenerateRouteOp)); /** @internal */ export const GenerateRouteProjectRoutesHeaders$inboundSchema: z.ZodType< GenerateRouteProjectRoutesHeaders, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - op: GenerateRouteOp$inboundSchema, - value: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + op: GenerateRouteOp$inboundSchema, + value: types.optional(types.string()), + }) +); export function generateRouteProjectRoutesHeadersFromJSON( jsonString: string, @@ -365,28 +382,30 @@ export function generateRouteProjectRoutesHeadersFromJSON( } /** @internal */ -export const SubType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SubType); +export const SubType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SubType)); /** @internal */ export const GenerateRouteType$inboundSchema: z.ZodNativeEnum< typeof GenerateRouteType -> = z.nativeEnum(GenerateRouteType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GenerateRouteType)); /** @internal */ export const GenerateRouteActions$inboundSchema: z.ZodType< GenerateRouteActions, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - headers: types.optional( - z.array(z.lazy(() => GenerateRouteProjectRoutesHeaders$inboundSchema)), - ), - status: types.optional(types.number()), - subType: types.optional(SubType$inboundSchema), - type: GenerateRouteType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + headers: types.optional( + z.array(z.lazy(() => GenerateRouteProjectRoutesHeaders$inboundSchema)), + ), + status: types.optional(types.number()), + subType: types.optional(SubType$inboundSchema), + type: GenerateRouteType$inboundSchema, + }) +); export function generateRouteActionsFromJSON( jsonString: string, @@ -401,24 +420,26 @@ export function generateRouteActionsFromJSON( /** @internal */ export const GenerateRouteField$inboundSchema: z.ZodNativeEnum< typeof GenerateRouteField -> = z.nativeEnum(GenerateRouteField); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GenerateRouteField)); /** @internal */ -export const Operator$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Operator); +export const Operator$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Operator)); /** @internal */ export const GenerateRouteProjectRoutesConditions$inboundSchema: z.ZodType< GenerateRouteProjectRoutesConditions, z.ZodTypeDef, unknown -> = z.object({ - field: GenerateRouteField$inboundSchema, - key: types.optional(types.string()), - missing: types.boolean(), - operator: Operator$inboundSchema, - value: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + field: GenerateRouteField$inboundSchema, + key: types.optional(types.string()), + missing: types.boolean(), + operator: Operator$inboundSchema, + value: types.optional(types.string()), + }) +); export function generateRouteProjectRoutesConditionsFromJSON( jsonString: string, @@ -432,18 +453,20 @@ export function generateRouteProjectRoutesConditionsFromJSON( } /** @internal */ -export const Syntax$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Syntax); +export const Syntax$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Syntax)); /** @internal */ export const GenerateRoutePathCondition$inboundSchema: z.ZodType< GenerateRoutePathCondition, z.ZodTypeDef, unknown -> = z.object({ - syntax: Syntax$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + syntax: Syntax$inboundSchema, + value: types.string(), + }) +); export function generateRoutePathConditionFromJSON( jsonString: string, @@ -460,16 +483,18 @@ export const GenerateRouteRoute$inboundSchema: z.ZodType< GenerateRouteRoute, z.ZodTypeDef, unknown -> = z.object({ - actions: z.array(z.lazy(() => GenerateRouteActions$inboundSchema)), - caseSensitive: types.optional(types.boolean()), - conditions: types.optional( - z.array(z.lazy(() => GenerateRouteProjectRoutesConditions$inboundSchema)), - ), - description: types.string(), - name: types.string(), - pathCondition: z.lazy(() => GenerateRoutePathCondition$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: z.array(z.lazy(() => GenerateRouteActions$inboundSchema)), + caseSensitive: types.optional(types.boolean()), + conditions: types.optional( + z.array(z.lazy(() => GenerateRouteProjectRoutesConditions$inboundSchema)), + ), + description: types.string(), + name: types.string(), + pathCondition: z.lazy(() => GenerateRoutePathCondition$inboundSchema), + }) +); export function generateRouteRouteFromJSON( jsonString: string, @@ -486,10 +511,12 @@ export const GenerateRouteResponseBody$inboundSchema: z.ZodType< GenerateRouteResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: types.optional(types.string()), - route: types.optional(z.lazy(() => GenerateRouteRoute$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: types.optional(types.string()), + route: types.optional(z.lazy(() => GenerateRouteRoute$inboundSchema)), + }) +); export function generateRouteResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getaccountinfoop.ts b/src/models/getaccountinfoop.ts index 492898c185..0afda67d32 100644 --- a/src/models/getaccountinfoop.ts +++ b/src/models/getaccountinfoop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -45,9 +45,11 @@ export const GetAccountInfoRequest$outboundSchema: z.ZodType< GetAccountInfoRequest$Outbound, z.ZodTypeDef, GetAccountInfoRequest -> = z.object({ - integrationConfigurationId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + }) +); export function getAccountInfoRequestToJSON( getAccountInfoRequest: GetAccountInfoRequest, @@ -59,10 +61,12 @@ export function getAccountInfoRequestToJSON( /** @internal */ export const Contact$inboundSchema: z.ZodType = - z.object({ - email: types.string(), - name: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + name: types.optional(types.string()), + }) + ); export function contactFromJSON( jsonString: string, @@ -79,11 +83,13 @@ export const GetAccountInfoResponseBody$inboundSchema: z.ZodType< GetAccountInfoResponseBody, z.ZodTypeDef, unknown -> = z.object({ - contact: types.nullable(z.lazy(() => Contact$inboundSchema)), - name: types.optional(types.string()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + contact: types.nullable(z.lazy(() => Contact$inboundSchema)), + name: types.optional(types.string()), + url: types.string(), + }) +); export function getAccountInfoResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getactiveattackstatusop.ts b/src/models/getactiveattackstatusop.ts index 8726a305c3..ea63bc0d2a 100644 --- a/src/models/getactiveattackstatusop.ts +++ b/src/models/getactiveattackstatusop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -74,12 +74,14 @@ export const GetActiveAttackStatusRequest$outboundSchema: z.ZodType< GetActiveAttackStatusRequest$Outbound, z.ZodTypeDef, GetActiveAttackStatusRequest -> = z.object({ - projectId: z.string(), - since: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + since: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getActiveAttackStatusRequestToJSON( getActiveAttackStatusRequest: GetActiveAttackStatusRequest, @@ -96,20 +98,22 @@ export const AnomalyAlerts$inboundSchema: z.ZodType< AnomalyAlerts, z.ZodTypeDef, unknown -> = z.object({ - at_minute: types.string(), - avg_requests: types.number(), - stddev_requests: types.number(), - total_requests_minute: types.number(), - zscore: types.number(), -}).transform((v) => { - return remap$(v, { - "at_minute": "atMinute", - "avg_requests": "avgRequests", - "stddev_requests": "stddevRequests", - "total_requests_minute": "totalRequestsMinute", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + at_minute: types.string(), + avg_requests: types.number(), + stddev_requests: types.number(), + total_requests_minute: types.number(), + zscore: types.number(), + }).transform((v) => { + return remap$(v, { + "at_minute": "atMinute", + "avg_requests": "avgRequests", + "stddev_requests": "stddevRequests", + "total_requests_minute": "totalRequestsMinute", + }); + }) +); export function anomalyAlertsFromJSON( jsonString: string, @@ -126,10 +130,12 @@ export const DdosAlerts$inboundSchema: z.ZodType< DdosAlerts, z.ZodTypeDef, unknown -> = z.object({ - atMinute: types.string(), - totalReqs: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + atMinute: types.string(), + totalReqs: types.number(), + }) +); export function ddosAlertsFromJSON( jsonString: string, @@ -146,12 +152,16 @@ export const AffectedHostMap$inboundSchema: z.ZodType< AffectedHostMap, z.ZodTypeDef, unknown -> = z.object({ - anomalyAlerts: types.optional( - z.record(z.lazy(() => AnomalyAlerts$inboundSchema)), - ), - ddosAlerts: types.optional(z.record(z.lazy(() => DdosAlerts$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + anomalyAlerts: types.optional( + z.record(z.lazy(() => AnomalyAlerts$inboundSchema)), + ), + ddosAlerts: types.optional( + z.record(z.lazy(() => DdosAlerts$inboundSchema)), + ), + }) +); export function affectedHostMapFromJSON( jsonString: string, @@ -168,15 +178,17 @@ export const Anomalies$inboundSchema: z.ZodType< Anomalies, z.ZodTypeDef, unknown -> = z.object({ - affectedHostMap: z.record(z.lazy(() => AffectedHostMap$inboundSchema)), - atMinute: types.number(), - endTime: types.nullable(types.number()), - ownerId: types.string(), - projectId: types.string(), - startTime: types.number(), - state: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affectedHostMap: z.record(z.lazy(() => AffectedHostMap$inboundSchema)), + atMinute: types.number(), + endTime: types.nullable(types.number()), + ownerId: types.string(), + projectId: types.string(), + startTime: types.number(), + state: types.optional(types.string()), + }) +); export function anomaliesFromJSON( jsonString: string, @@ -193,9 +205,11 @@ export const GetActiveAttackStatusResponseBody2$inboundSchema: z.ZodType< GetActiveAttackStatusResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - anomalies: z.array(z.lazy(() => Anomalies$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + anomalies: z.array(z.lazy(() => Anomalies$inboundSchema)), + }) +); export function getActiveAttackStatusResponseBody2FromJSON( jsonString: string, @@ -213,7 +227,7 @@ export const GetActiveAttackStatusResponseBody1$inboundSchema: z.ZodType< GetActiveAttackStatusResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getActiveAttackStatusResponseBody1FromJSON( jsonString: string, @@ -231,10 +245,12 @@ export const GetActiveAttackStatusResponseBody$inboundSchema: z.ZodType< GetActiveAttackStatusResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetActiveAttackStatusResponseBody2$inboundSchema), - z.lazy(() => GetActiveAttackStatusResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetActiveAttackStatusResponseBody2$inboundSchema), + z.lazy(() => GetActiveAttackStatusResponseBody1$inboundSchema), + ]) +); export function getActiveAttackStatusResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getaigatewaybyokcredentialop.ts b/src/models/getaigatewaybyokcredentialop.ts index 430dd6d6ab..0fc56f5378 100644 --- a/src/models/getaigatewaybyokcredentialop.ts +++ b/src/models/getaigatewaybyokcredentialop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -50,12 +50,14 @@ export const GetAiGatewayByokCredentialRequest$outboundSchema: z.ZodType< GetAiGatewayByokCredentialRequest$Outbound, z.ZodTypeDef, GetAiGatewayByokCredentialRequest -> = z.object({ - ownerId: z.string().optional(), - credentialId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + credentialId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getAiGatewayByokCredentialRequestToJSON( getAiGatewayByokCredentialRequest: GetAiGatewayByokCredentialRequest, @@ -72,18 +74,20 @@ export const GetAiGatewayByokCredentialResponseBody$inboundSchema: z.ZodType< GetAiGatewayByokCredentialResponseBody, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - createdAt: types.number(), - credentialId: types.string(), - lastFourChars: types.string(), - name: types.string(), - ownerId: types.string(), - providerSlug: types.string(), - rotatedAt: types.nullable(types.number()), - updatedAt: types.number(), - zeroDataRetention: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + createdAt: types.number(), + credentialId: types.string(), + lastFourChars: types.string(), + name: types.string(), + ownerId: types.string(), + providerSlug: types.string(), + rotatedAt: types.nullable(types.number()), + updatedAt: types.number(), + zeroDataRetention: types.boolean(), + }) +); export function getAiGatewayByokCredentialResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getaigatewayvirtualmodelconfigbyslugop.ts b/src/models/getaigatewayvirtualmodelconfigbyslugop.ts index 4adb741d35..4661024e3d 100644 --- a/src/models/getaigatewayvirtualmodelconfigbyslugop.ts +++ b/src/models/getaigatewayvirtualmodelconfigbyslugop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetAiGatewayVirtualModelConfigBySlugRequest = { ownerId?: string | undefined; @@ -31,12 +32,14 @@ export const GetAiGatewayVirtualModelConfigBySlugRequest$outboundSchema: GetAiGatewayVirtualModelConfigBySlugRequest$Outbound, z.ZodTypeDef, GetAiGatewayVirtualModelConfigBySlugRequest - > = z.object({ - ownerId: z.string().optional(), - vmcSlug: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + vmcSlug: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) + ); export function getAiGatewayVirtualModelConfigBySlugRequestToJSON( getAiGatewayVirtualModelConfigBySlugRequest: diff --git a/src/models/getaigatewayvirtualmodelconfigop.ts b/src/models/getaigatewayvirtualmodelconfigop.ts index 01b0f2438a..46e6c479f1 100644 --- a/src/models/getaigatewayvirtualmodelconfigop.ts +++ b/src/models/getaigatewayvirtualmodelconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { @@ -50,14 +50,16 @@ export const GetAiGatewayVirtualModelConfigRequest$outboundSchema: z.ZodType< GetAiGatewayVirtualModelConfigRequest$Outbound, z.ZodTypeDef, GetAiGatewayVirtualModelConfigRequest -> = z.object({ - ownerId: z.string().optional(), - virtualModelSlug: z.string().optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + virtualModelSlug: z.string().optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getAiGatewayVirtualModelConfigRequestToJSON( getAiGatewayVirtualModelConfigRequest: GetAiGatewayVirtualModelConfigRequest, @@ -72,10 +74,12 @@ export function getAiGatewayVirtualModelConfigRequestToJSON( /** @internal */ export const GetAiGatewayVirtualModelConfigResponseBody$inboundSchema: z.ZodType = - smartUnion([ - AiGatewayVirtualModelConfig$inboundSchema, - AiGatewayVirtualModelConfigList$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + AiGatewayVirtualModelConfig$inboundSchema, + AiGatewayVirtualModelConfigList$inboundSchema, + ]) + ); export function getAiGatewayVirtualModelConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getaliasop.ts b/src/models/getaliasop.ts index 80fc453358..1c562cd34e 100644 --- a/src/models/getaliasop.ts +++ b/src/models/getaliasop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -292,15 +292,17 @@ export const GetAliasRequest$outboundSchema: z.ZodType< GetAliasRequest$Outbound, z.ZodTypeDef, GetAliasRequest -> = z.object({ - from: z.number().optional(), - idOrAlias: z.string(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: z.number().optional(), + idOrAlias: z.string(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getAliasRequestToJSON( getAliasRequest: GetAliasRequest, @@ -313,11 +315,13 @@ export const GetAliasCreator$inboundSchema: z.ZodType< GetAliasCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function getAliasCreatorFromJSON( jsonString: string, @@ -334,11 +338,13 @@ export const GetAliasDeployment$inboundSchema: z.ZodType< GetAliasDeployment, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - meta: types.optional(types.string()), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + meta: types.optional(types.string()), + url: types.optional(types.string()), + }) +); export function getAliasDeploymentFromJSON( jsonString: string, @@ -355,14 +361,16 @@ export const Applications3$inboundSchema: z.ZodType< Applications3, z.ZodTypeDef, unknown -> = z.object({ - branchAlias: types.optional(types.string()), - branchDeploymentId: types.optional(types.string()), - deploymentId: types.optional(types.string()), - fallbackDeploymentId: types.optional(types.string()), - fallbackHost: types.optional(types.string()), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchAlias: types.optional(types.string()), + branchDeploymentId: types.optional(types.string()), + deploymentId: types.optional(types.string()), + fallbackDeploymentId: types.optional(types.string()), + fallbackHost: types.optional(types.string()), + projectId: types.string(), + }) +); export function applications3FromJSON( jsonString: string, @@ -379,11 +387,13 @@ export const GetAliasApplications2$inboundSchema: z.ZodType< GetAliasApplications2, z.ZodTypeDef, unknown -> = z.object({ - branchAlias: types.string(), - fallbackHost: types.string(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchAlias: types.string(), + fallbackHost: types.string(), + projectId: types.string(), + }) +); export function getAliasApplications2FromJSON( jsonString: string, @@ -400,10 +410,12 @@ export const GetAliasApplications1$inboundSchema: z.ZodType< GetAliasApplications1, z.ZodTypeDef, unknown -> = z.object({ - fallbackHost: types.string(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallbackHost: types.string(), + projectId: types.string(), + }) +); export function getAliasApplications1FromJSON( jsonString: string, @@ -420,11 +432,13 @@ export const GetAliasApplications$inboundSchema: z.ZodType< GetAliasApplications, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetAliasApplications1$inboundSchema)), - z.array(z.lazy(() => GetAliasApplications2$inboundSchema)), - z.array(z.lazy(() => Applications3$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetAliasApplications1$inboundSchema)), + z.array(z.lazy(() => GetAliasApplications2$inboundSchema)), + z.array(z.lazy(() => Applications3$inboundSchema)), + ]) +); export function getAliasApplicationsFromJSON( jsonString: string, @@ -441,9 +455,11 @@ export const GetAliasDefaultApp$inboundSchema: z.ZodType< GetAliasDefaultApp, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + }) +); export function getAliasDefaultAppFromJSON( jsonString: string, @@ -460,14 +476,16 @@ export const GetAliasMicrofrontends$inboundSchema: z.ZodType< GetAliasMicrofrontends, z.ZodTypeDef, unknown -> = z.object({ - applications: smartUnion([ - z.array(z.lazy(() => GetAliasApplications1$inboundSchema)), - z.array(z.lazy(() => GetAliasApplications2$inboundSchema)), - z.array(z.lazy(() => Applications3$inboundSchema)), - ]), - defaultApp: z.lazy(() => GetAliasDefaultApp$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applications: smartUnion([ + z.array(z.lazy(() => GetAliasApplications1$inboundSchema)), + z.array(z.lazy(() => GetAliasApplications2$inboundSchema)), + z.array(z.lazy(() => Applications3$inboundSchema)), + ]), + defaultApp: z.lazy(() => GetAliasDefaultApp$inboundSchema), + }) +); export function getAliasMicrofrontendsFromJSON( jsonString: string, @@ -484,12 +502,14 @@ export const ProtectionBypass4$inboundSchema: z.ZodType< ProtectionBypass4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("email_invite"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("email_invite"), + }) +); export function protectionBypass4FromJSON( jsonString: string, @@ -506,11 +526,13 @@ export const ProtectionBypass3$inboundSchema: z.ZodType< ProtectionBypass3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - scope: types.literal("alias-protection-override"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + scope: types.literal("alias-protection-override"), + }) +); export function protectionBypass3FromJSON( jsonString: string, @@ -525,20 +547,22 @@ export function protectionBypass3FromJSON( /** @internal */ export const ProtectionBypassAccess$inboundSchema: z.ZodNativeEnum< typeof ProtectionBypassAccess -> = z.nativeEnum(ProtectionBypassAccess); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProtectionBypassAccess)); /** @internal */ export const GetAliasProtectionBypass2$inboundSchema: z.ZodType< GetAliasProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - access: ProtectionBypassAccess$inboundSchema, - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: ProtectionBypassAccess$inboundSchema, + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("user"), + }) +); export function getAliasProtectionBypass2FromJSON( jsonString: string, @@ -555,12 +579,14 @@ export const GetAliasProtectionBypass1$inboundSchema: z.ZodType< GetAliasProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - expires: types.optional(types.number()), - scope: types.literal("shareable-link"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + expires: types.optional(types.number()), + scope: types.literal("shareable-link"), + }) +); export function getAliasProtectionBypass1FromJSON( jsonString: string, @@ -577,12 +603,14 @@ export const GetAliasProtectionBypass$inboundSchema: z.ZodType< GetAliasProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAliasProtectionBypass1$inboundSchema), - z.lazy(() => GetAliasProtectionBypass2$inboundSchema), - z.lazy(() => ProtectionBypass3$inboundSchema), - z.lazy(() => ProtectionBypass4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAliasProtectionBypass1$inboundSchema), + z.lazy(() => GetAliasProtectionBypass2$inboundSchema), + z.lazy(() => ProtectionBypass3$inboundSchema), + z.lazy(() => ProtectionBypass4$inboundSchema), + ]) +); export function getAliasProtectionBypassFromJSON( jsonString: string, @@ -599,33 +627,33 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType< GetAliasResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - created: types.date(), - createdAt: z.nullable(types.number()).optional(), - creator: types.optional(z.lazy(() => GetAliasCreator$inboundSchema)), - deletedAt: z.nullable(types.number()).optional(), - deployment: types.optional(z.lazy(() => GetAliasDeployment$inboundSchema)), - deploymentId: types.nullable(types.string()), - microfrontends: types.optional( - z.lazy(() => GetAliasMicrofrontends$inboundSchema), - ), - projectId: types.nullable(types.string()), - protectionBypass: types.optional( - z.record(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + created: types.date(), + createdAt: z.nullable(types.number()).optional(), + creator: types.optional(z.lazy(() => GetAliasCreator$inboundSchema)), + deletedAt: z.nullable(types.number()).optional(), + deployment: types.optional(z.lazy(() => GetAliasDeployment$inboundSchema)), + deploymentId: types.nullable(types.string()), + microfrontends: types.optional( + z.lazy(() => GetAliasMicrofrontends$inboundSchema), + ), + projectId: types.nullable(types.string()), + protectionBypass: types.optional(z.record(z.union([ z.lazy(() => GetAliasProtectionBypass1$inboundSchema), z.lazy(() => GetAliasProtectionBypass2$inboundSchema ), z.lazy(() => ProtectionBypass3$inboundSchema), z.lazy(() => ProtectionBypass4$inboundSchema), - ])), - ), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - uid: types.string(), - updatedAt: z.nullable(types.number()).optional(), -}); + ]))), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + uid: types.string(), + updatedAt: z.nullable(types.number()).optional(), + }) +); export function getAliasResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getallchecksop.ts b/src/models/getallchecksop.ts index 0938785cc8..f08aa06817 100644 --- a/src/models/getallchecksop.ts +++ b/src/models/getallchecksop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -150,11 +150,13 @@ export const GetAllChecksRequest$outboundSchema: z.ZodType< GetAllChecksRequest$Outbound, z.ZodTypeDef, GetAllChecksRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getAllChecksRequestToJSON( getAllChecksRequest: GetAllChecksRequest, @@ -167,23 +169,25 @@ export function getAllChecksRequestToJSON( /** @internal */ export const GetAllChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksConclusion -> = z.nativeEnum(GetAllChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllChecksConclusion)); /** @internal */ export const GetAllChecksSource$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksSource -> = z.nativeEnum(GetAllChecksSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllChecksSource)); /** @internal */ export const GetAllChecksCLS$inboundSchema: z.ZodType< GetAllChecksCLS, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetAllChecksSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetAllChecksSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getAllChecksCLSFromJSON( jsonString: string, @@ -198,18 +202,20 @@ export function getAllChecksCLSFromJSON( /** @internal */ export const GetAllChecksChecksSource$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksChecksSource -> = z.nativeEnum(GetAllChecksChecksSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllChecksChecksSource)); /** @internal */ export const GetAllChecksFCP$inboundSchema: z.ZodType< GetAllChecksFCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetAllChecksChecksSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetAllChecksChecksSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getAllChecksFCPFromJSON( jsonString: string, @@ -224,18 +230,22 @@ export function getAllChecksFCPFromJSON( /** @internal */ export const GetAllChecksChecksResponseSource$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksChecksResponseSource -> = z.nativeEnum(GetAllChecksChecksResponseSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllChecksChecksResponseSource) +); /** @internal */ export const GetAllChecksLCP$inboundSchema: z.ZodType< GetAllChecksLCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetAllChecksChecksResponseSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetAllChecksChecksResponseSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getAllChecksLCPFromJSON( jsonString: string, @@ -250,18 +260,22 @@ export function getAllChecksLCPFromJSON( /** @internal */ export const GetAllChecksChecksResponse200Source$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksChecksResponse200Source -> = z.nativeEnum(GetAllChecksChecksResponse200Source); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllChecksChecksResponse200Source) +); /** @internal */ export const GetAllChecksTBT$inboundSchema: z.ZodType< GetAllChecksTBT, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetAllChecksChecksResponse200Source$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetAllChecksChecksResponse200Source$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getAllChecksTBTFromJSON( jsonString: string, @@ -275,19 +289,23 @@ export function getAllChecksTBTFromJSON( /** @internal */ export const GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllChecksChecksResponse200ApplicationJSONSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllChecksChecksResponse200ApplicationJSONSource) + ); /** @internal */ export const GetAllChecksVirtualExperienceScore$inboundSchema: z.ZodType< GetAllChecksVirtualExperienceScore, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getAllChecksVirtualExperienceScoreFromJSON( jsonString: string, @@ -305,22 +323,24 @@ export const GetAllChecksMetrics$inboundSchema: z.ZodType< GetAllChecksMetrics, z.ZodTypeDef, unknown -> = z.object({ - CLS: z.lazy(() => GetAllChecksCLS$inboundSchema), - FCP: z.lazy(() => GetAllChecksFCP$inboundSchema), - LCP: z.lazy(() => GetAllChecksLCP$inboundSchema), - TBT: z.lazy(() => GetAllChecksTBT$inboundSchema), - virtualExperienceScore: types.optional( - z.lazy(() => GetAllChecksVirtualExperienceScore$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "CLS": "cls", - "FCP": "fcp", - "LCP": "lcp", - "TBT": "tbt", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + CLS: z.lazy(() => GetAllChecksCLS$inboundSchema), + FCP: z.lazy(() => GetAllChecksFCP$inboundSchema), + LCP: z.lazy(() => GetAllChecksLCP$inboundSchema), + TBT: z.lazy(() => GetAllChecksTBT$inboundSchema), + virtualExperienceScore: types.optional( + z.lazy(() => GetAllChecksVirtualExperienceScore$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "CLS": "cls", + "FCP": "fcp", + "LCP": "lcp", + "TBT": "tbt", + }); + }) +); export function getAllChecksMetricsFromJSON( jsonString: string, @@ -337,9 +357,11 @@ export const GetAllChecksOutput$inboundSchema: z.ZodType< GetAllChecksOutput, z.ZodTypeDef, unknown -> = z.object({ - metrics: types.optional(z.lazy(() => GetAllChecksMetrics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: types.optional(z.lazy(() => GetAllChecksMetrics$inboundSchema)), + }) +); export function getAllChecksOutputFromJSON( jsonString: string, @@ -354,29 +376,31 @@ export function getAllChecksOutputFromJSON( /** @internal */ export const GetAllChecksStatus$inboundSchema: z.ZodNativeEnum< typeof GetAllChecksStatus -> = z.nativeEnum(GetAllChecksStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllChecksStatus)); /** @internal */ export const GetAllChecksChecks$inboundSchema: z.ZodType< GetAllChecksChecks, z.ZodTypeDef, unknown -> = z.object({ - blocking: types.boolean(), - completedAt: types.optional(types.number()), - conclusion: types.optional(GetAllChecksConclusion$inboundSchema), - createdAt: types.number(), - detailsUrl: types.optional(types.string()), - id: types.string(), - integrationId: types.string(), - name: types.string(), - output: types.optional(z.lazy(() => GetAllChecksOutput$inboundSchema)), - path: types.optional(types.string()), - rerequestable: types.boolean(), - startedAt: types.optional(types.number()), - status: GetAllChecksStatus$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocking: types.boolean(), + completedAt: types.optional(types.number()), + conclusion: types.optional(GetAllChecksConclusion$inboundSchema), + createdAt: types.number(), + detailsUrl: types.optional(types.string()), + id: types.string(), + integrationId: types.string(), + name: types.string(), + output: types.optional(z.lazy(() => GetAllChecksOutput$inboundSchema)), + path: types.optional(types.string()), + rerequestable: types.boolean(), + startedAt: types.optional(types.number()), + status: GetAllChecksStatus$inboundSchema, + updatedAt: types.number(), + }) +); export function getAllChecksChecksFromJSON( jsonString: string, @@ -393,9 +417,11 @@ export const GetAllChecksResponseBody$inboundSchema: z.ZodType< GetAllChecksResponseBody, z.ZodTypeDef, unknown -> = z.object({ - checks: z.array(z.lazy(() => GetAllChecksChecks$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + checks: z.array(z.lazy(() => GetAllChecksChecks$inboundSchema)), + }) +); export function getAllChecksResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getalllogdrainsop.ts b/src/models/getalllogdrainsop.ts index e4ae45cc43..e4ee24f42e 100644 --- a/src/models/getalllogdrainsop.ts +++ b/src/models/getalllogdrainsop.ts @@ -3,8 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -986,14 +989,18 @@ export const GetAllLogDrainsRequest$outboundSchema: z.ZodType< GetAllLogDrainsRequest$Outbound, z.ZodTypeDef, GetAllLogDrainsRequest -> = z.object({ - projectId: z.string().optional(), - projectIdOrName: z.string().optional(), - includeMetadata: z.boolean().default(false), - includeDeliveryStats: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().refine(matchesPattern$("^[a-zA-z0-9_]+$"), { + message: "Value must match pattern ^[a-zA-z0-9_]+$", + }).optional(), + projectIdOrName: z.string().optional(), + includeMetadata: z.boolean().default(false), + includeDeliveryStats: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getAllLogDrainsRequestToJSON( getAllLogDrainsRequest: GetAllLogDrainsRequest, @@ -1006,17 +1013,21 @@ export function getAllLogDrainsRequestToJSON( /** @internal */ export const GetAllLogDrainsDeliveryTarget$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryTarget -> = z.nativeEnum(GetAllLogDrainsDeliveryTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryTarget) +); /** @internal */ export const GetAllLogDrainsDelivery5$inboundSchema: z.ZodType< GetAllLogDrainsDelivery5, z.ZodTypeDef, unknown -> = z.object({ - target: GetAllLogDrainsDeliveryTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetAllLogDrainsDeliveryTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function getAllLogDrainsDelivery5FromJSON( jsonString: string, @@ -1030,54 +1041,66 @@ export function getAllLogDrainsDelivery5FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryLogDrainsCompression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsCompression) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding - > = z.nativeEnum( - GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding, + ) ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsFileStructure$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryLogDrainsFileStructure); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsFileStructure) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsObjectAcl$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryLogDrainsObjectAcl); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsObjectAcl) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsServerSideEncryption$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsServerSideEncryption); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsServerSideEncryption) + ); /** @internal */ export const GetAllLogDrainsDelivery4$inboundSchema: z.ZodType< GetAllLogDrainsDelivery4, z.ZodTypeDef, unknown -> = z.object({ - compression: GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema, - encoding: - GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: GetAllLogDrainsDeliveryLogDrainsFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional( - GetAllLogDrainsDeliveryLogDrainsObjectAcl$inboundSchema, - ), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - GetAllLogDrainsDeliveryLogDrainsServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema, + encoding: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: GetAllLogDrainsDeliveryLogDrainsFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional( + GetAllLogDrainsDeliveryLogDrainsObjectAcl$inboundSchema, + ), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + GetAllLogDrainsDeliveryLogDrainsServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function getAllLogDrainsDelivery4FromJSON( jsonString: string, @@ -1094,11 +1117,13 @@ export const GetAllLogDrainsDelivery3$inboundSchema: z.ZodType< GetAllLogDrainsDelivery3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function getAllLogDrainsDelivery3FromJSON( jsonString: string, @@ -1113,16 +1138,20 @@ export function getAllLogDrainsDelivery3FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Encoding); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Encoding) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrainsEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function getAllLogDrainsDeliveryLogDrainsEndpointFromJSON( jsonString: string, @@ -1142,17 +1171,21 @@ export function getAllLogDrainsDeliveryLogDrainsEndpointFromJSON( /** @internal */ export const GetAllLogDrainsSecretLogDrainsResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsSecretLogDrainsResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsSecretLogDrainsResponseKind) + ); /** @internal */ export const GetAllLogDrainsSecretLogDrainsResponse2$inboundSchema: z.ZodType< GetAllLogDrainsSecretLogDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetAllLogDrainsSecretLogDrainsResponseKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetAllLogDrainsSecretLogDrainsResponseKind$inboundSchema, + }) +); export function getAllLogDrainsSecretLogDrainsResponse2FromJSON( jsonString: string, @@ -1175,10 +1208,12 @@ export const GetAllLogDrainsDeliveryLogDrainsSecret$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrainsSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2$inboundSchema), + types.string(), + ]) +); export function getAllLogDrainsDeliveryLogDrainsSecretFromJSON( jsonString: string, @@ -1196,20 +1231,20 @@ export const GetAllLogDrainsDelivery2$inboundSchema: z.ZodType< GetAllLogDrainsDelivery2, z.ZodTypeDef, unknown -> = z.object({ - encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema, - endpoint: z.lazy(() => - GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema - ), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema, + endpoint: z.lazy(() => + GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema + ), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function getAllLogDrainsDelivery2FromJSON( jsonString: string, @@ -1224,26 +1259,34 @@ export function getAllLogDrainsDelivery2FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryCompression$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryCompression -> = z.nativeEnum(GetAllLogDrainsDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryCompression) +); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseEncoding) + ); /** @internal */ export const GetAllLogDrainsSecretLogDrainsKind$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsSecretLogDrainsKind -> = z.nativeEnum(GetAllLogDrainsSecretLogDrainsKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsSecretLogDrainsKind) +); /** @internal */ export const GetAllLogDrainsSecretLogDrains2$inboundSchema: z.ZodType< GetAllLogDrainsSecretLogDrains2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetAllLogDrainsSecretLogDrainsKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetAllLogDrainsSecretLogDrainsKind$inboundSchema, + }) +); export function getAllLogDrainsSecretLogDrains2FromJSON( jsonString: string, @@ -1260,10 +1303,12 @@ export const GetAllLogDrainsDeliverySecret$inboundSchema: z.ZodType< GetAllLogDrainsDeliverySecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetAllLogDrainsSecretLogDrains2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetAllLogDrainsSecretLogDrains2$inboundSchema), + types.string(), + ]) +); export function getAllLogDrainsDeliverySecretFromJSON( jsonString: string, @@ -1280,19 +1325,23 @@ export const GetAllLogDrainsDelivery1$inboundSchema: z.ZodType< GetAllLogDrainsDelivery1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional(GetAllLogDrainsDeliveryCompression$inboundSchema), - encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ - z.lazy(() => GetAllLogDrainsSecretLogDrains2$inboundSchema), - types.string(), - ]), - ), - type: types.literal("http"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + GetAllLogDrainsDeliveryCompression$inboundSchema, + ), + encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional( + smartUnion([ + z.lazy(() => GetAllLogDrainsSecretLogDrains2$inboundSchema), + types.string(), + ]), + ), + type: types.literal("http"), + }) +); export function getAllLogDrainsDelivery1FromJSON( jsonString: string, @@ -1309,13 +1358,15 @@ export const GetAllLogDrainsDrainsLogDrainsDelivery$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery5$inboundSchema), + ]) +); export function getAllLogDrainsDrainsLogDrainsDeliveryFromJSON( jsonString: string, @@ -1330,30 +1381,34 @@ export function getAllLogDrainsDrainsLogDrainsDeliveryFromJSON( /** @internal */ export const GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDrainsLogDrainsDisabledReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsDisabledReason) + ); /** @internal */ export const GetAllLogDrainsDrainsEnv$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsEnv -> = z.nativeEnum(GetAllLogDrainsDrainsEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllLogDrainsDrainsEnv)); /** @internal */ export const GetAllLogDrainsDrainsType$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsType -> = z.nativeEnum(GetAllLogDrainsDrainsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllLogDrainsDrainsType)); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(GetAllLogDrainsDrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: GetAllLogDrainsDrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(GetAllLogDrainsDrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: GetAllLogDrainsDrainsType$inboundSchema, + }) +); export function getAllLogDrainsDrainsLogDrainsSamplingFromJSON( jsonString: string, @@ -1371,7 +1426,7 @@ export const GetAllLogDrainsDrainsLogDrainsAiGateway$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsAiGatewayFromJSON( jsonString: string, @@ -1394,7 +1449,7 @@ export const GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsAnalyticsFromJSON( jsonString: string, @@ -1417,7 +1472,7 @@ export const GetAllLogDrainsDrainsLogDrainsAuditLog$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsAuditLogFromJSON( jsonString: string, @@ -1435,7 +1490,7 @@ export const GetAllLogDrainsDrainsLogDrainsConnect$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsConnectFromJSON( jsonString: string, @@ -1453,7 +1508,7 @@ export const GetAllLogDrainsDrainsLogDrainsLog$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsLogFromJSON( jsonString: string, @@ -1470,7 +1525,7 @@ export const GetAllLogDrainsDrainsSpeedInsights$inboundSchema: z.ZodType< GetAllLogDrainsDrainsSpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsSpeedInsightsFromJSON( jsonString: string, @@ -1488,7 +1543,7 @@ export const GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsTraceFromJSON( jsonString: string, @@ -1506,35 +1561,37 @@ export const GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsAuditLog$inboundSchema), - ), - connect: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsConnect$inboundSchema), - ), - log: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsLog$inboundSchema), - ), - speed_insights: types.optional( - z.lazy(() => GetAllLogDrainsDrainsSpeedInsights$inboundSchema), - ), - trace: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsAuditLog$inboundSchema), + ), + connect: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsConnect$inboundSchema), + ), + log: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsLog$inboundSchema), + ), + speed_insights: types.optional( + z.lazy(() => GetAllLogDrainsDrainsSpeedInsights$inboundSchema), + ), + trace: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function getAllLogDrainsDrainsLogDrainsSchemasFromJSON( jsonString: string, @@ -1552,13 +1609,15 @@ export const GetAllLogDrainsSourceLogDrains2$inboundSchema: z.ZodType< GetAllLogDrainsSourceLogDrains2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getAllLogDrainsSourceLogDrains2FromJSON( jsonString: string, @@ -1572,20 +1631,24 @@ export function getAllLogDrainsSourceLogDrains2FromJSON( /** @internal */ export const GetAllLogDrainsSourceLogDrainsDefaultFor$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsSourceLogDrainsDefaultFor); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsSourceLogDrainsDefaultFor) + ); /** @internal */ export const GetAllLogDrainsSourceLogDrains1$inboundSchema: z.ZodType< GetAllLogDrainsSourceLogDrains1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional( - GetAllLogDrainsSourceLogDrainsDefaultFor$inboundSchema, - ), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional( + GetAllLogDrainsSourceLogDrainsDefaultFor$inboundSchema, + ), + kind: types.literal("self-served"), + }) +); export function getAllLogDrainsSourceLogDrains1FromJSON( jsonString: string, @@ -1602,10 +1665,12 @@ export const GetAllLogDrainsDrainsSource$inboundSchema: z.ZodType< GetAllLogDrainsDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), + ]) +); export function getAllLogDrainsDrainsSourceFromJSON( jsonString: string, @@ -1620,18 +1685,21 @@ export function getAllLogDrainsDrainsSourceFromJSON( /** @internal */ export const GetAllLogDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsStatus -> = z.nativeEnum(GetAllLogDrainsDrainsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsStatus) +); /** @internal */ export const GetAllLogDrainsDrainsState$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsState -> = z.nativeEnum(GetAllLogDrainsDrainsState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllLogDrainsDrainsState)); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsWindow$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsDrainsLogDrainsWindow, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsWindow) + ); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsDeliveryStats$inboundSchema: @@ -1639,15 +1707,17 @@ export const GetAllLogDrainsDrainsLogDrainsDeliveryStats$inboundSchema: GetAllLogDrainsDrainsLogDrainsDeliveryStats, z.ZodTypeDef, unknown - > = z.object({ - attempts: types.number(), - failures: types.number(), - state: GetAllLogDrainsDrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: GetAllLogDrainsDrainsLogDrainsWindow$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: GetAllLogDrainsDrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: GetAllLogDrainsDrainsLogDrainsWindow$inboundSchema, + }) + ); export function getAllLogDrainsDrainsLogDrainsDeliveryStatsFromJSON( jsonString: string, @@ -1670,10 +1740,12 @@ export const GetAllLogDrainsFilter2$inboundSchema: z.ZodType< GetAllLogDrainsFilter2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function getAllLogDrainsFilter2FromJSON( jsonString: string, @@ -1688,18 +1760,22 @@ export function getAllLogDrainsFilter2FromJSON( /** @internal */ export const GetAllLogDrainsFilterEnvironments$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsFilterEnvironments -> = z.nativeEnum(GetAllLogDrainsFilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsFilterEnvironments) +); /** @internal */ export const GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema: z.ZodType< GetAllLogDrainsFilterLogDrainsDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(GetAllLogDrainsFilterEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(GetAllLogDrainsFilterEnvironments$inboundSchema), + ), + }) +); export function getAllLogDrainsFilterLogDrainsDeploymentFromJSON( jsonString: string, @@ -1719,25 +1795,29 @@ export function getAllLogDrainsFilterLogDrainsDeploymentFromJSON( /** @internal */ export const GetAllLogDrainsFilterLogDrainsSources$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsFilterLogDrainsSources, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsFilterLogDrainsSources) + ); /** @internal */ export const GetAllLogDrainsFilterLog$inboundSchema: z.ZodType< GetAllLogDrainsFilterLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional( - z.array(GetAllLogDrainsFilterLogDrainsSources$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(GetAllLogDrainsFilterLogDrainsSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function getAllLogDrainsFilterLogFromJSON( jsonString: string, @@ -1754,9 +1834,11 @@ export const GetAllLogDrainsFilterProject$inboundSchema: z.ZodType< GetAllLogDrainsFilterProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function getAllLogDrainsFilterProjectFromJSON( jsonString: string, @@ -1773,16 +1855,18 @@ export const GetAllLogDrainsFilter1$inboundSchema: z.ZodType< GetAllLogDrainsFilter1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => GetAllLogDrainsFilterLog$inboundSchema)), - project: types.optional( - z.lazy(() => GetAllLogDrainsFilterProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => GetAllLogDrainsFilterLog$inboundSchema)), + project: types.optional( + z.lazy(() => GetAllLogDrainsFilterProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function getAllLogDrainsFilter1FromJSON( jsonString: string, @@ -1799,10 +1883,12 @@ export const GetAllLogDrainsDrainsLogDrainsFilter$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), - z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), + z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), + ]) +); export function getAllLogDrainsDrainsLogDrainsFilterFromJSON( jsonString: string, @@ -1818,20 +1904,24 @@ export function getAllLogDrainsDrainsLogDrainsFilterFromJSON( /** @internal */ export const GetAllLogDrainsDrainsVersion$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsVersion -> = z.nativeEnum(GetAllLogDrainsDrainsVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsVersion) +); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), - z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), - ]), - version: GetAllLogDrainsDrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), + z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), + ]), + version: GetAllLogDrainsDrainsVersion$inboundSchema, + }) +); export function getAllLogDrainsDrainsLogDrainsFilterV2FromJSON( jsonString: string, @@ -1846,19 +1936,23 @@ export function getAllLogDrainsDrainsLogDrainsFilterV2FromJSON( /** @internal */ export const GetAllLogDrainsProjectAccessLogDrainsManagedBy$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsProjectAccessLogDrainsManagedBy); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsProjectAccessLogDrainsManagedBy) + ); /** @internal */ export const GetAllLogDrainsProjectAccess2$inboundSchema: z.ZodType< GetAllLogDrainsProjectAccess2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("some"), - projectIds: z.array(types.string()), - managedBy: GetAllLogDrainsProjectAccessLogDrainsManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("some"), + projectIds: z.array(types.string()), + managedBy: GetAllLogDrainsProjectAccessLogDrainsManagedBy$inboundSchema, + }) +); export function getAllLogDrainsProjectAccess2FromJSON( jsonString: string, @@ -1872,19 +1966,22 @@ export function getAllLogDrainsProjectAccess2FromJSON( /** @internal */ export const GetAllLogDrainsProjectAccessManagedBy$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsProjectAccessManagedBy, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsProjectAccessManagedBy) + ); /** @internal */ export const GetAllLogDrainsProjectAccess1$inboundSchema: z.ZodType< GetAllLogDrainsProjectAccess1, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("all"), - managedBy: GetAllLogDrainsProjectAccessManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("all"), + managedBy: GetAllLogDrainsProjectAccessManagedBy$inboundSchema, + }) +); export function getAllLogDrainsProjectAccess1FromJSON( jsonString: string, @@ -1901,10 +1998,12 @@ export const GetAllLogDrainsDrainsProjectAccess$inboundSchema: z.ZodType< GetAllLogDrainsDrainsProjectAccess, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema), - z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema), + z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema), + ]) +); export function getAllLogDrainsDrainsProjectAccessFromJSON( jsonString: string, @@ -1922,52 +2021,56 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType< GetAllLogDrainsDrains2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), - z.lazy(() => GetAllLogDrainsDelivery5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional( - GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema, - ), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema)), - ), - schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema), - source: z.union([ - z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), - ]), - status: types.optional(GetAllLogDrainsDrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema), - ), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectAccess: types.optional( - z.union([ - z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema), - z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema), + ), + ), + schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema), + source: z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), ]), - ), -}); + status: types.optional(GetAllLogDrainsDrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema), + ), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectAccess: types.optional( + z.union([ + z.lazy(() => GetAllLogDrainsProjectAccess1$inboundSchema), + z.lazy(() => GetAllLogDrainsProjectAccess2$inboundSchema), + ]), + ), + }) +); export function getAllLogDrainsDrains2FromJSON( jsonString: string, @@ -1981,19 +2084,22 @@ export function getAllLogDrainsDrains2FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsDeliveryLogDrainsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsTarget) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrains5$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrains5, z.ZodTypeDef, unknown -> = z.object({ - target: GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function getAllLogDrainsDeliveryLogDrains5FromJSON( jsonString: string, @@ -2009,49 +2115,60 @@ export function getAllLogDrainsDeliveryLogDrains5FromJSON( export const GetAllLogDrainsDeliveryLogDrainsResponse200Compression$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryLogDrainsResponse200Compression - > = z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Compression); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Compression) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryLogDrainsEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsEncoding) + ); /** @internal */ export const GetAllLogDrainsDeliveryFileStructure$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsDeliveryFileStructure, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryFileStructure) + ); /** @internal */ export const GetAllLogDrainsDeliveryObjectAcl$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryObjectAcl -> = z.nativeEnum(GetAllLogDrainsDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryObjectAcl) +); /** @internal */ export const GetAllLogDrainsDeliveryServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsDeliveryServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryServerSideEncryption) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrains4$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrains4, z.ZodTypeDef, unknown -> = z.object({ - compression: - GetAllLogDrainsDeliveryLogDrainsResponse200Compression$inboundSchema, - encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: GetAllLogDrainsDeliveryFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(GetAllLogDrainsDeliveryObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - GetAllLogDrainsDeliveryServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: + GetAllLogDrainsDeliveryLogDrainsResponse200Compression$inboundSchema, + encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: GetAllLogDrainsDeliveryFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(GetAllLogDrainsDeliveryObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + GetAllLogDrainsDeliveryServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function getAllLogDrainsDeliveryLogDrains4FromJSON( jsonString: string, @@ -2068,11 +2185,13 @@ export const GetAllLogDrainsDeliveryLogDrains3$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrains3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function getAllLogDrainsDeliveryLogDrains3FromJSON( jsonString: string, @@ -2087,16 +2206,20 @@ export function getAllLogDrainsDeliveryLogDrains3FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryEncoding$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryEncoding -> = z.nativeEnum(GetAllLogDrainsDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryEncoding) +); /** @internal */ export const GetAllLogDrainsDeliveryEndpoint$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function getAllLogDrainsDeliveryEndpointFromJSON( jsonString: string, @@ -2111,16 +2234,18 @@ export function getAllLogDrainsDeliveryEndpointFromJSON( /** @internal */ export const GetAllLogDrainsSecretKind$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsSecretKind -> = z.nativeEnum(GetAllLogDrainsSecretKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetAllLogDrainsSecretKind)); /** @internal */ export const GetAllLogDrainsSecret2$inboundSchema: z.ZodType< GetAllLogDrainsSecret2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetAllLogDrainsSecretKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetAllLogDrainsSecretKind$inboundSchema, + }) +); export function getAllLogDrainsSecret2FromJSON( jsonString: string, @@ -2138,10 +2263,12 @@ export const GetAllLogDrainsDeliveryLogDrainsResponse200Secret$inboundSchema: GetAllLogDrainsDeliveryLogDrainsResponse200Secret, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetAllLogDrainsSecret2$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetAllLogDrainsSecret2$inboundSchema), + types.string(), + ]) + ); export function getAllLogDrainsDeliveryLogDrainsResponse200SecretFromJSON( jsonString: string, @@ -2164,18 +2291,18 @@ export const GetAllLogDrainsDeliveryLogDrains2$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrains2, z.ZodTypeDef, unknown -> = z.object({ - encoding: GetAllLogDrainsDeliveryEncoding$inboundSchema, - endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: GetAllLogDrainsDeliveryEncoding$inboundSchema, + endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetAllLogDrainsSecret2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function getAllLogDrainsDeliveryLogDrains2FromJSON( jsonString: string, @@ -2190,27 +2317,35 @@ export function getAllLogDrainsDeliveryLogDrains2FromJSON( /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsResponseCompression$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseCompression); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseCompression) + ); /** @internal */ export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding - > = z.nativeEnum( - GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding, + ) ); /** @internal */ export const GetAllLogDrainsSecretLogDrainsResponse200Kind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsSecretLogDrainsResponse200Kind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsSecretLogDrainsResponse200Kind) + ); /** @internal */ export const GetAllLogDrainsSecretLogDrainsResponse2002$inboundSchema: z.ZodType = - z.object({ - kind: GetAllLogDrainsSecretLogDrainsResponse200Kind$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetAllLogDrainsSecretLogDrainsResponse200Kind$inboundSchema, + }) + ); export function getAllLogDrainsSecretLogDrainsResponse2002FromJSON( jsonString: string, @@ -2234,10 +2369,12 @@ export const GetAllLogDrainsDeliveryLogDrainsResponseSecret$inboundSchema: GetAllLogDrainsDeliveryLogDrainsResponseSecret, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2002$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2002$inboundSchema), + types.string(), + ]) + ); export function getAllLogDrainsDeliveryLogDrainsResponseSecretFromJSON( jsonString: string, @@ -2260,22 +2397,22 @@ export const GetAllLogDrainsDeliveryLogDrains1$inboundSchema: z.ZodType< GetAllLogDrainsDeliveryLogDrains1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional( - GetAllLogDrainsDeliveryLogDrainsResponseCompression$inboundSchema, - ), - encoding: - GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + GetAllLogDrainsDeliveryLogDrainsResponseCompression$inboundSchema, + ), + encoding: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetAllLogDrainsSecretLogDrainsResponse2002$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function getAllLogDrainsDeliveryLogDrains1FromJSON( jsonString: string, @@ -2292,13 +2429,15 @@ export const GetAllLogDrainsDrainsDelivery$inboundSchema: z.ZodType< GetAllLogDrainsDrainsDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains5$inboundSchema), + ]) +); export function getAllLogDrainsDrainsDeliveryFromJSON( jsonString: string, @@ -2313,29 +2452,37 @@ export function getAllLogDrainsDrainsDeliveryFromJSON( /** @internal */ export const GetAllLogDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsDisabledReason -> = z.nativeEnum(GetAllLogDrainsDrainsDisabledReason); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsDisabledReason) +); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsLogDrainsEnv -> = z.nativeEnum(GetAllLogDrainsDrainsLogDrainsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsEnv) +); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsType$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsLogDrainsType -> = z.nativeEnum(GetAllLogDrainsDrainsLogDrainsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsType) +); /** @internal */ export const GetAllLogDrainsDrainsSampling$inboundSchema: z.ZodType< GetAllLogDrainsDrainsSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: GetAllLogDrainsDrainsLogDrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: GetAllLogDrainsDrainsLogDrainsType$inboundSchema, + }) +); export function getAllLogDrainsDrainsSamplingFromJSON( jsonString: string, @@ -2352,7 +2499,7 @@ export const GetAllLogDrainsDrainsAiGateway$inboundSchema: z.ZodType< GetAllLogDrainsDrainsAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsAiGatewayFromJSON( jsonString: string, @@ -2369,7 +2516,7 @@ export const GetAllLogDrainsDrainsAnalytics$inboundSchema: z.ZodType< GetAllLogDrainsDrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsAnalyticsFromJSON( jsonString: string, @@ -2386,7 +2533,7 @@ export const GetAllLogDrainsDrainsAuditLog$inboundSchema: z.ZodType< GetAllLogDrainsDrainsAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsAuditLogFromJSON( jsonString: string, @@ -2403,7 +2550,7 @@ export const GetAllLogDrainsDrainsConnect$inboundSchema: z.ZodType< GetAllLogDrainsDrainsConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsConnectFromJSON( jsonString: string, @@ -2420,7 +2567,7 @@ export const GetAllLogDrainsDrainsLog$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogFromJSON( jsonString: string, @@ -2438,7 +2585,7 @@ export const GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema: GetAllLogDrainsDrainsLogDrainsSpeedInsights, z.ZodTypeDef, unknown - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsLogDrainsSpeedInsightsFromJSON( jsonString: string, @@ -2461,7 +2608,7 @@ export const GetAllLogDrainsDrainsTrace$inboundSchema: z.ZodType< GetAllLogDrainsDrainsTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getAllLogDrainsDrainsTraceFromJSON( jsonString: string, @@ -2478,31 +2625,35 @@ export const GetAllLogDrainsDrainsSchemas$inboundSchema: z.ZodType< GetAllLogDrainsDrainsSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => GetAllLogDrainsDrainsAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => GetAllLogDrainsDrainsAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => GetAllLogDrainsDrainsAuditLog$inboundSchema), - ), - connect: types.optional( - z.lazy(() => GetAllLogDrainsDrainsConnect$inboundSchema), - ), - log: types.optional(z.lazy(() => GetAllLogDrainsDrainsLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema), - ), - trace: types.optional(z.lazy(() => GetAllLogDrainsDrainsTrace$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => GetAllLogDrainsDrainsAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => GetAllLogDrainsDrainsAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => GetAllLogDrainsDrainsAuditLog$inboundSchema), + ), + connect: types.optional( + z.lazy(() => GetAllLogDrainsDrainsConnect$inboundSchema), + ), + log: types.optional(z.lazy(() => GetAllLogDrainsDrainsLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema), + ), + trace: types.optional( + z.lazy(() => GetAllLogDrainsDrainsTrace$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function getAllLogDrainsDrainsSchemasFromJSON( jsonString: string, @@ -2519,13 +2670,15 @@ export const GetAllLogDrainsSource2$inboundSchema: z.ZodType< GetAllLogDrainsSource2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getAllLogDrainsSource2FromJSON( jsonString: string, @@ -2540,17 +2693,21 @@ export function getAllLogDrainsSource2FromJSON( /** @internal */ export const GetAllLogDrainsSourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsSourceDefaultFor -> = z.nativeEnum(GetAllLogDrainsSourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsSourceDefaultFor) +); /** @internal */ export const GetAllLogDrainsSource1$inboundSchema: z.ZodType< GetAllLogDrainsSource1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(GetAllLogDrainsSourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(GetAllLogDrainsSourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function getAllLogDrainsSource1FromJSON( jsonString: string, @@ -2567,10 +2724,12 @@ export const GetAllLogDrainsDrainsLogDrainsSource$inboundSchema: z.ZodType< GetAllLogDrainsDrainsLogDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsSource1$inboundSchema), - z.lazy(() => GetAllLogDrainsSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsSource1$inboundSchema), + z.lazy(() => GetAllLogDrainsSource2$inboundSchema), + ]) +); export function getAllLogDrainsDrainsLogDrainsSourceFromJSON( jsonString: string, @@ -2585,34 +2744,41 @@ export function getAllLogDrainsDrainsLogDrainsSourceFromJSON( /** @internal */ export const GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsDrainsLogDrainsStatus, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsStatus) + ); /** @internal */ export const GetAllLogDrainsDrainsLogDrainsState$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsLogDrainsState -> = z.nativeEnum(GetAllLogDrainsDrainsLogDrainsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsState) +); /** @internal */ export const GetAllLogDrainsDrainsWindow$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsDrainsWindow -> = z.nativeEnum(GetAllLogDrainsDrainsWindow); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsWindow) +); /** @internal */ export const GetAllLogDrainsDrainsDeliveryStats$inboundSchema: z.ZodType< GetAllLogDrainsDrainsDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: GetAllLogDrainsDrainsLogDrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: GetAllLogDrainsDrainsWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: GetAllLogDrainsDrainsLogDrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: GetAllLogDrainsDrainsWindow$inboundSchema, + }) +); export function getAllLogDrainsDrainsDeliveryStatsFromJSON( jsonString: string, @@ -2630,10 +2796,12 @@ export const GetAllLogDrainsFilterLogDrains2$inboundSchema: z.ZodType< GetAllLogDrainsFilterLogDrains2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function getAllLogDrainsFilterLogDrains2FromJSON( jsonString: string, @@ -2647,19 +2815,23 @@ export function getAllLogDrainsFilterLogDrains2FromJSON( /** @internal */ export const GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetAllLogDrainsFilterLogDrainsEnvironments); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsFilterLogDrainsEnvironments) + ); /** @internal */ export const GetAllLogDrainsFilterDeployment$inboundSchema: z.ZodType< GetAllLogDrainsFilterDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema), + ), + }) +); export function getAllLogDrainsFilterDeploymentFromJSON( jsonString: string, @@ -2674,21 +2846,28 @@ export function getAllLogDrainsFilterDeploymentFromJSON( /** @internal */ export const GetAllLogDrainsFilterSources$inboundSchema: z.ZodNativeEnum< typeof GetAllLogDrainsFilterSources -> = z.nativeEnum(GetAllLogDrainsFilterSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsFilterSources) +); /** @internal */ export const GetAllLogDrainsFilterLogDrainsLog$inboundSchema: z.ZodType< GetAllLogDrainsFilterLogDrainsLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional(z.array(GetAllLogDrainsFilterSources$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(GetAllLogDrainsFilterSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function getAllLogDrainsFilterLogDrainsLogFromJSON( jsonString: string, @@ -2705,9 +2884,11 @@ export const GetAllLogDrainsFilterLogDrainsProject$inboundSchema: z.ZodType< GetAllLogDrainsFilterLogDrainsProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function getAllLogDrainsFilterLogDrainsProjectFromJSON( jsonString: string, @@ -2725,18 +2906,20 @@ export const GetAllLogDrainsFilterLogDrains1$inboundSchema: z.ZodType< GetAllLogDrainsFilterLogDrains1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => GetAllLogDrainsFilterDeployment$inboundSchema), - ), - log: types.optional( - z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$inboundSchema), - ), - project: types.optional( - z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => GetAllLogDrainsFilterDeployment$inboundSchema), + ), + log: types.optional( + z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$inboundSchema), + ), + project: types.optional( + z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function getAllLogDrainsFilterLogDrains1FromJSON( jsonString: string, @@ -2753,10 +2936,12 @@ export const GetAllLogDrainsDrainsFilter$inboundSchema: z.ZodType< GetAllLogDrainsDrainsFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), + ]) +); export function getAllLogDrainsDrainsFilterFromJSON( jsonString: string, @@ -2770,22 +2955,25 @@ export function getAllLogDrainsDrainsFilterFromJSON( /** @internal */ export const GetAllLogDrainsDrainsLogDrainsVersion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsDrainsLogDrainsVersion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsDrainsLogDrainsVersion) + ); /** @internal */ export const GetAllLogDrainsDrainsFilterV2$inboundSchema: z.ZodType< GetAllLogDrainsDrainsFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), - ]), - version: GetAllLogDrainsDrainsLogDrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), + ]), + version: GetAllLogDrainsDrainsLogDrainsVersion$inboundSchema, + }) +); export function getAllLogDrainsDrainsFilterV2FromJSON( jsonString: string, @@ -2802,43 +2990,45 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType< GetAllLogDrainsDrains1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), - z.lazy(() => GetAllLogDrainsDeliveryLogDrains5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional( - GetAllLogDrainsDrainsDisabledReason$inboundSchema, - ), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema)), - ), - schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema), - source: z.union([ - z.lazy(() => GetAllLogDrainsSource1$inboundSchema), - z.lazy(() => GetAllLogDrainsSource2$inboundSchema), - ]), - status: types.optional(GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => GetAllLogDrainsDrainsDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => GetAllLogDrainsDrainsFilterV2$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + GetAllLogDrainsDrainsDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema)), + ), + schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema), + source: z.union([ + z.lazy(() => GetAllLogDrainsSource1$inboundSchema), + z.lazy(() => GetAllLogDrainsSource2$inboundSchema), + ]), + status: types.optional(GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => GetAllLogDrainsDrainsDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => GetAllLogDrainsDrainsFilterV2$inboundSchema), + ), + }) +); export function getAllLogDrainsDrains1FromJSON( jsonString: string, @@ -2855,10 +3045,12 @@ export const ResponseBodyDrains$inboundSchema: z.ZodType< ResponseBodyDrains, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), - z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), + ]) +); export function responseBodyDrainsFromJSON( jsonString: string, @@ -2875,12 +3067,14 @@ export const GetAllLogDrainsResponseBody2$inboundSchema: z.ZodType< GetAllLogDrainsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - drains: smartUnion([ - z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), - z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drains: smartUnion([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), + ]), + }) +); export function getAllLogDrainsResponseBody2FromJSON( jsonString: string, @@ -2894,22 +3088,25 @@ export function getAllLogDrainsResponseBody2FromJSON( /** @internal */ export const GetAllLogDrainsResponseBodyFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetAllLogDrainsResponseBodyFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetAllLogDrainsResponseBodyFramework) + ); /** @internal */ export const ResponseBodyProjectsMetadata$inboundSchema: z.ZodType< ResponseBodyProjectsMetadata, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(GetAllLogDrainsResponseBodyFramework$inboundSchema) - .optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(GetAllLogDrainsResponseBodyFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + name: types.string(), + }) +); export function responseBodyProjectsMetadataFromJSON( jsonString: string, @@ -2926,17 +3123,19 @@ export const GetAllLogDrainsResponseBody1$inboundSchema: z.ZodType< GetAllLogDrainsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - configurationId: types.optional(types.string()), - createdFrom: types.string(), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectsMetadata: z.nullable( - z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + configurationId: types.optional(types.string()), + createdFrom: types.string(), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectsMetadata: z.nullable( + z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)), + ).optional(), + }) +); export function getAllLogDrainsResponseBody1FromJSON( jsonString: string, @@ -2953,10 +3152,12 @@ export const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType< GetAllLogDrainsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetAllLogDrainsResponseBody2$inboundSchema), - z.array(z.lazy(() => GetAllLogDrainsResponseBody1$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetAllLogDrainsResponseBody2$inboundSchema), + z.array(z.lazy(() => GetAllLogDrainsResponseBody1$inboundSchema)), + ]) +); export function getAllLogDrainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getauthtokenop.ts b/src/models/getauthtokenop.ts index ea5e32ee44..c14a49f1eb 100644 --- a/src/models/getauthtokenop.ts +++ b/src/models/getauthtokenop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { AuthToken, AuthToken$inboundSchema } from "./authtoken.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,9 +35,11 @@ export const GetAuthTokenRequest$outboundSchema: z.ZodType< GetAuthTokenRequest$Outbound, z.ZodTypeDef, GetAuthTokenRequest -> = z.object({ - tokenId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tokenId: z.string(), + }) +); export function getAuthTokenRequestToJSON( getAuthTokenRequest: GetAuthTokenRequest, @@ -52,9 +54,11 @@ export const GetAuthTokenResponseBody$inboundSchema: z.ZodType< GetAuthTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - token: AuthToken$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + token: AuthToken$inboundSchema, + }) +); export function getAuthTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getauthuserop.ts b/src/models/getauthuserop.ts index 9ed761bf84..77ddf58b6c 100644 --- a/src/models/getauthuserop.ts +++ b/src/models/getauthuserop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { AuthUser, AuthUser$inboundSchema } from "./authuser.js"; @@ -27,7 +27,9 @@ export const GetAuthUserUser$inboundSchema: z.ZodType< GetAuthUserUser, z.ZodTypeDef, unknown -> = smartUnion([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]) +); export function getAuthUserUserFromJSON( jsonString: string, @@ -44,9 +46,11 @@ export const GetAuthUserResponseBody$inboundSchema: z.ZodType< GetAuthUserResponseBody, z.ZodTypeDef, unknown -> = z.object({ - user: smartUnion([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + user: smartUnion([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]), + }) +); export function getAuthUserResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getbillingplansop.ts b/src/models/getbillingplansop.ts index 96b01e18cf..66c3ff6f89 100644 --- a/src/models/getbillingplansop.ts +++ b/src/models/getbillingplansop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -96,7 +96,7 @@ export type GetBillingPlansResponseBody = { /** @internal */ export const QueryParamSource$outboundSchema: z.ZodNativeEnum< typeof QueryParamSource -> = z.nativeEnum(QueryParamSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamSource)); /** @internal */ export type GetBillingPlansRequest$Outbound = { @@ -114,15 +114,17 @@ export const GetBillingPlansRequest$outboundSchema: z.ZodType< GetBillingPlansRequest$Outbound, z.ZodTypeDef, GetBillingPlansRequest -> = z.object({ - integrationIdOrSlug: z.string(), - integrationConfigurationId: z.string().optional(), - productIdOrSlug: z.string(), - metadata: z.string().optional(), - source: QueryParamSource$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationIdOrSlug: z.string(), + integrationConfigurationId: z.string().optional(), + productIdOrSlug: z.string(), + metadata: z.string().optional(), + source: QueryParamSource$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getBillingPlansRequestToJSON( getBillingPlansRequest: GetBillingPlansRequest, @@ -137,10 +139,12 @@ export const GetBillingPlansDetails$inboundSchema: z.ZodType< GetBillingPlansDetails, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.optional(types.string()), + }) +); export function getBillingPlansDetailsFromJSON( jsonString: string, @@ -157,10 +161,12 @@ export const GetBillingPlansHighlightedDetails$inboundSchema: z.ZodType< GetBillingPlansHighlightedDetails, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.optional(types.string()), + }) +); export function getBillingPlansHighlightedDetailsFromJSON( jsonString: string, @@ -173,11 +179,13 @@ export function getBillingPlansHighlightedDetailsFromJSON( } /** @internal */ -export const Quote$inboundSchema: z.ZodType = z - .object({ - amount: types.string(), - line: types.string(), - }); +export const Quote$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + line: types.string(), + }) + ); export function quoteFromJSON( jsonString: string, @@ -192,39 +200,41 @@ export function quoteFromJSON( /** @internal */ export const GetBillingPlansScope$inboundSchema: z.ZodNativeEnum< typeof GetBillingPlansScope -> = z.nativeEnum(GetBillingPlansScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetBillingPlansScope)); /** @internal */ export const GetBillingPlansType$inboundSchema: z.ZodNativeEnum< typeof GetBillingPlansType -> = z.nativeEnum(GetBillingPlansType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetBillingPlansType)); /** @internal */ -export const Plans$inboundSchema: z.ZodType = z - .object({ - cost: types.optional(types.string()), - description: types.string(), - details: types.optional( - z.array(z.lazy(() => GetBillingPlansDetails$inboundSchema)), - ), - disabled: types.optional(types.boolean()), - disabledReason: types.optional(types.string()), - effectiveDate: types.optional(types.string()), - highlightedDetails: types.optional( - z.array(z.lazy(() => GetBillingPlansHighlightedDetails$inboundSchema)), - ), - id: types.string(), - initialCharge: types.optional(types.string()), - maximumAmount: types.optional(types.string()), - maximumAmountAutoPurchasePerPeriod: types.optional(types.string()), - minimumAmount: types.optional(types.string()), - name: types.string(), - paymentMethodRequired: types.boolean(), - preauthorizationAmount: types.optional(types.number()), - quote: types.optional(z.array(z.lazy(() => Quote$inboundSchema))), - scope: GetBillingPlansScope$inboundSchema, - type: GetBillingPlansType$inboundSchema, - }); +export const Plans$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + cost: types.optional(types.string()), + description: types.string(), + details: types.optional( + z.array(z.lazy(() => GetBillingPlansDetails$inboundSchema)), + ), + disabled: types.optional(types.boolean()), + disabledReason: types.optional(types.string()), + effectiveDate: types.optional(types.string()), + highlightedDetails: types.optional( + z.array(z.lazy(() => GetBillingPlansHighlightedDetails$inboundSchema)), + ), + id: types.string(), + initialCharge: types.optional(types.string()), + maximumAmount: types.optional(types.string()), + maximumAmountAutoPurchasePerPeriod: types.optional(types.string()), + minimumAmount: types.optional(types.string()), + name: types.string(), + paymentMethodRequired: types.boolean(), + preauthorizationAmount: types.optional(types.number()), + quote: types.optional(z.array(z.lazy(() => Quote$inboundSchema))), + scope: GetBillingPlansScope$inboundSchema, + type: GetBillingPlansType$inboundSchema, + }) + ); export function plansFromJSON( jsonString: string, @@ -241,9 +251,11 @@ export const GetBillingPlansResponseBody$inboundSchema: z.ZodType< GetBillingPlansResponseBody, z.ZodTypeDef, unknown -> = z.object({ - plans: z.array(z.lazy(() => Plans$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + plans: z.array(z.lazy(() => Plans$inboundSchema)), + }) +); export function getBillingPlansResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getbulkavailabilityop.ts b/src/models/getbulkavailabilityop.ts index 2eb2403519..2bacfd449e 100644 --- a/src/models/getbulkavailabilityop.ts +++ b/src/models/getbulkavailabilityop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,9 +46,11 @@ export const GetBulkAvailabilityRequestBody$outboundSchema: z.ZodType< GetBulkAvailabilityRequestBody$Outbound, z.ZodTypeDef, GetBulkAvailabilityRequestBody -> = z.object({ - domains: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.string()), + }) +); export function getBulkAvailabilityRequestBodyToJSON( getBulkAvailabilityRequestBody: GetBulkAvailabilityRequestBody, @@ -71,14 +73,16 @@ export const GetBulkAvailabilityRequest$outboundSchema: z.ZodType< GetBulkAvailabilityRequest$Outbound, z.ZodTypeDef, GetBulkAvailabilityRequest -> = z.object({ - teamId: z.string().optional(), - requestBody: z.lazy(() => GetBulkAvailabilityRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => GetBulkAvailabilityRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function getBulkAvailabilityRequestToJSON( getBulkAvailabilityRequest: GetBulkAvailabilityRequest, @@ -93,10 +97,12 @@ export const GetBulkAvailabilityResults$inboundSchema: z.ZodType< GetBulkAvailabilityResults, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - available: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + available: types.boolean(), + }) +); export function getBulkAvailabilityResultsFromJSON( jsonString: string, @@ -113,9 +119,11 @@ export const GetBulkAvailabilityResponseBody$inboundSchema: z.ZodType< GetBulkAvailabilityResponseBody, z.ZodTypeDef, unknown -> = z.object({ - results: z.array(z.lazy(() => GetBulkAvailabilityResults$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + results: z.array(z.lazy(() => GetBulkAvailabilityResults$inboundSchema)), + }) +); export function getBulkAvailabilityResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getbulkpriceop.ts b/src/models/getbulkpriceop.ts index fe65396905..9f8e0964f1 100644 --- a/src/models/getbulkpriceop.ts +++ b/src/models/getbulkpriceop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -83,10 +83,12 @@ export const GetBulkPriceRequestBody$outboundSchema: z.ZodType< GetBulkPriceRequestBody$Outbound, z.ZodTypeDef, GetBulkPriceRequestBody -> = z.object({ - domains: z.array(z.string()), - years: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.string()), + years: z.number().optional(), + }) +); export function getBulkPriceRequestBodyToJSON( getBulkPriceRequestBody: GetBulkPriceRequestBody, @@ -107,14 +109,16 @@ export const GetBulkPriceRequest$outboundSchema: z.ZodType< GetBulkPriceRequest$Outbound, z.ZodTypeDef, GetBulkPriceRequest -> = z.object({ - teamId: z.string().optional(), - requestBody: z.lazy(() => GetBulkPriceRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => GetBulkPriceRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function getBulkPriceRequestToJSON( getBulkPriceRequest: GetBulkPriceRequest, @@ -129,12 +133,14 @@ export const GetBulkPriceDomainsRegistrarResponseBody$inboundSchema: z.ZodType< GetBulkPriceDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - BadRequest$inboundSchema, - DomainTooShort$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + BadRequest$inboundSchema, + DomainTooShort$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) +); export function getBulkPriceDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -157,7 +163,9 @@ export const GetBulkPricePurchasePrice$inboundSchema: z.ZodType< GetBulkPricePurchasePrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getBulkPricePurchasePriceFromJSON( jsonString: string, @@ -174,7 +182,9 @@ export const GetBulkPriceRenewalPrice$inboundSchema: z.ZodType< GetBulkPriceRenewalPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getBulkPriceRenewalPriceFromJSON( jsonString: string, @@ -191,7 +201,9 @@ export const GetBulkPriceTransferPrice$inboundSchema: z.ZodType< GetBulkPriceTransferPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getBulkPriceTransferPriceFromJSON( jsonString: string, @@ -208,13 +220,15 @@ export const GetBulkPriceResults$inboundSchema: z.ZodType< GetBulkPriceResults, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - years: types.number(), - purchasePrice: smartUnion([types.number(), types.string()]), - renewalPrice: smartUnion([types.number(), types.string()]), - transferPrice: smartUnion([types.number(), types.string()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + years: types.number(), + purchasePrice: smartUnion([types.number(), types.string()]), + renewalPrice: smartUnion([types.number(), types.string()]), + transferPrice: smartUnion([types.number(), types.string()]), + }) +); export function getBulkPriceResultsFromJSON( jsonString: string, @@ -231,9 +245,11 @@ export const GetBulkPriceResponseBody$inboundSchema: z.ZodType< GetBulkPriceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - results: z.array(z.lazy(() => GetBulkPriceResults$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + results: z.array(z.lazy(() => GetBulkPriceResults$inboundSchema)), + }) +); export function getBulkPriceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getbypassipop.ts b/src/models/getbypassipop.ts index b1a5a882bb..1746d307f0 100644 --- a/src/models/getbypassipop.ts +++ b/src/models/getbypassipop.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -89,16 +93,22 @@ export const GetBypassIpRequest$outboundSchema: z.ZodType< GetBypassIpRequest$Outbound, z.ZodTypeDef, GetBypassIpRequest -> = z.object({ - projectId: z.string(), - limit: z.number().optional(), - sourceIp: z.string().optional(), - domain: z.string().optional(), - projectScope: z.boolean().optional(), - offset: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + limit: z.number().optional(), + sourceIp: z.string().optional(), + domain: z.string().refine(withinMaxLength$(2544), { + message: "Value must be at most 2544 characters long", + }).refine(matchesPattern$("([a-z]+[a-z.]+)$", 2544), { + message: "Value must match pattern ([a-z]+[a-z.]+)$", + }).optional(), + projectScope: z.boolean().optional(), + offset: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getBypassIpRequestToJSON( getBypassIpRequest: GetBypassIpRequest, @@ -113,15 +123,17 @@ export const GetBypassIpPagination$inboundSchema: z.ZodType< GetBypassIpPagination, z.ZodTypeDef, unknown -> = z.object({ - Id: types.string(), - OwnerId: types.string(), -}).transform((v) => { - return remap$(v, { - "Id": "id", - "OwnerId": "ownerId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + Id: types.string(), + OwnerId: types.string(), + }).transform((v) => { + return remap$(v, { + "Id": "id", + "OwnerId": "ownerId", + }); + }) +); export function getBypassIpPaginationFromJSON( jsonString: string, @@ -136,46 +148,48 @@ export function getBypassIpPaginationFromJSON( /** @internal */ export const GetBypassIpAction$inboundSchema: z.ZodNativeEnum< typeof GetBypassIpAction -> = z.nativeEnum(GetBypassIpAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetBypassIpAction)); /** @internal */ export const GetBypassIpResult$inboundSchema: z.ZodType< GetBypassIpResult, z.ZodTypeDef, unknown -> = z.object({ - Action: types.optional(GetBypassIpAction$inboundSchema), - ActorId: types.optional(types.string()), - CreatedAt: types.string(), - DeletedAt: types.optional(types.string()), - Domain: types.string(), - ExpiresAt: z.nullable(types.number()).optional(), - Id: types.string(), - Ip: types.string(), - IsProjectRule: types.optional(types.boolean()), - Note: types.optional(types.string()), - OwnerId: types.string(), - ProjectId: types.optional(types.string()), - UpdatedAt: types.string(), - UpdatedAtHour: types.string(), -}).transform((v) => { - return remap$(v, { - "Action": "action", - "ActorId": "actorId", - "CreatedAt": "createdAt", - "DeletedAt": "deletedAt", - "Domain": "domain", - "ExpiresAt": "expiresAt", - "Id": "id", - "Ip": "ip", - "IsProjectRule": "isProjectRule", - "Note": "note", - "OwnerId": "ownerId", - "ProjectId": "projectId", - "UpdatedAt": "updatedAt", - "UpdatedAtHour": "updatedAtHour", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + Action: types.optional(GetBypassIpAction$inboundSchema), + ActorId: types.optional(types.string()), + CreatedAt: types.string(), + DeletedAt: types.optional(types.string()), + Domain: types.string(), + ExpiresAt: z.nullable(types.number()).optional(), + Id: types.string(), + Ip: types.string(), + IsProjectRule: types.optional(types.boolean()), + Note: types.optional(types.string()), + OwnerId: types.string(), + ProjectId: types.optional(types.string()), + UpdatedAt: types.string(), + UpdatedAtHour: types.string(), + }).transform((v) => { + return remap$(v, { + "Action": "action", + "ActorId": "actorId", + "CreatedAt": "createdAt", + "DeletedAt": "deletedAt", + "Domain": "domain", + "ExpiresAt": "expiresAt", + "Id": "id", + "Ip": "ip", + "IsProjectRule": "isProjectRule", + "Note": "note", + "OwnerId": "ownerId", + "ProjectId": "projectId", + "UpdatedAt": "updatedAt", + "UpdatedAtHour": "updatedAtHour", + }); + }) +); export function getBypassIpResultFromJSON( jsonString: string, @@ -192,10 +206,14 @@ export const GetBypassIpResponseBody$inboundSchema: z.ZodType< GetBypassIpResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: types.optional(z.lazy(() => GetBypassIpPagination$inboundSchema)), - result: z.array(z.lazy(() => GetBypassIpResult$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: types.optional( + z.lazy(() => GetBypassIpPagination$inboundSchema), + ), + result: z.array(z.lazy(() => GetBypassIpResult$inboundSchema)), + }) +); export function getBypassIpResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts b/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts index 41b6538353..6c41e3e925 100644 --- a/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts +++ b/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest = { /** @@ -38,12 +43,42 @@ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outb GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$Outbound, z.ZodTypeDef, GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - digest: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + digest: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }), + }) + ); export function getByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequestToJSON( getByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: diff --git a/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts b/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts index 1a17a60be4..5e702609ed 100644 --- a/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts +++ b/src/models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest = { @@ -39,12 +44,42 @@ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$Outbound, z.ZodTypeDef, GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - uuid: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + uuid: z.string().refine(withinMaxLength$(40), { + message: "Value must be at most 40 characters long", + }).refine(matchesPattern$("^[a-f0-9]{40}$", 40), { + message: "Value must match pattern ^[a-f0-9]{40}$", + }), + }) + ); export function getByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequestToJSON( getByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: diff --git a/src/models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts b/src/models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts index 66beaad36d..7e75e4cd88 100644 --- a/src/models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts +++ b/src/models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest = { @@ -39,12 +44,49 @@ export const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceReque GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$Outbound, z.ZodTypeDef, GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - reference: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + reference: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$( + "^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + 255, + ), + { + message: + "Value must match pattern ^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + }, + ), + }) + ); export function getByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequestToJSON( getByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: diff --git a/src/models/getbyteamslugbyprojectslugbyrepositorynametagslistop.ts b/src/models/getbyteamslugbyprojectslugbyrepositorynametagslistop.ts index 6fda3b1dd2..0bf09f0936 100644 --- a/src/models/getbyteamslugbyprojectslugbyrepositorynametagslistop.ts +++ b/src/models/getbyteamslugbyprojectslugbyrepositorynametagslistop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -49,13 +53,39 @@ export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest$outboundS GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest$Outbound, z.ZodTypeDef, GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - n: z.number().int().optional(), - last: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + n: z.number().int().optional(), + last: z.string().optional(), + }) + ); export function getByTeamSlugByProjectSlugByRepositoryNameTagsListRequestToJSON( getByTeamSlugByProjectSlugByRepositoryNameTagsListRequest: @@ -73,10 +103,12 @@ export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseBody$inbo GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseBody, z.ZodTypeDef, unknown - > = z.object({ - name: types.string(), - tags: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + tags: z.array(types.string()), + }) + ); export function getByTeamSlugByProjectSlugByRepositoryNameTagsListResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getcertbyidop.ts b/src/models/getcertbyidop.ts index bde435613d..66967c73d9 100644 --- a/src/models/getcertbyidop.ts +++ b/src/models/getcertbyidop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -43,11 +43,13 @@ export const GetCertByIdRequest$outboundSchema: z.ZodType< GetCertByIdRequest$Outbound, z.ZodTypeDef, GetCertByIdRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getCertByIdRequestToJSON( getCertByIdRequest: GetCertByIdRequest, @@ -62,13 +64,15 @@ export const GetCertByIdResponseBody$inboundSchema: z.ZodType< GetCertByIdResponseBody, z.ZodTypeDef, unknown -> = z.object({ - autoRenew: types.boolean(), - cns: z.array(types.string()), - createdAt: types.number(), - expiresAt: types.number(), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: types.boolean(), + cns: z.array(types.string()), + createdAt: types.number(), + expiresAt: types.number(), + id: types.string(), + }) +); export function getCertByIdResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getcertsop.ts b/src/models/getcertsop.ts index 078bba04b4..12df41a852 100644 --- a/src/models/getcertsop.ts +++ b/src/models/getcertsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { Pagination, Pagination$inboundSchema } from "./pagination.js"; @@ -47,10 +47,12 @@ export const GetCertsRequest$outboundSchema: z.ZodType< GetCertsRequest$Outbound, z.ZodTypeDef, GetCertsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getCertsRequestToJSON( getCertsRequest: GetCertsRequest, @@ -59,14 +61,16 @@ export function getCertsRequestToJSON( } /** @internal */ -export const Certs$inboundSchema: z.ZodType = z - .object({ - autoRenew: types.boolean(), - cns: z.array(types.string()), - createdAt: types.number(), - expiresAt: types.number(), - id: types.string(), - }); +export const Certs$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: types.boolean(), + cns: z.array(types.string()), + createdAt: types.number(), + expiresAt: types.number(), + id: types.string(), + }) + ); export function certsFromJSON( jsonString: string, @@ -83,10 +87,12 @@ export const GetCertsResponseBody$inboundSchema: z.ZodType< GetCertsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - certs: z.array(z.lazy(() => Certs$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + certs: z.array(z.lazy(() => Certs$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function getCertsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getcheckop.ts b/src/models/getcheckop.ts index b236c8d697..036a4a7485 100644 --- a/src/models/getcheckop.ts +++ b/src/models/getcheckop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -151,12 +151,14 @@ export const GetCheckRequest$outboundSchema: z.ZodType< GetCheckRequest$Outbound, z.ZodTypeDef, GetCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getCheckRequestToJSON( getCheckRequest: GetCheckRequest, @@ -167,23 +169,25 @@ export function getCheckRequestToJSON( /** @internal */ export const GetCheckConclusion$inboundSchema: z.ZodNativeEnum< typeof GetCheckConclusion -> = z.nativeEnum(GetCheckConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetCheckConclusion)); /** @internal */ export const GetCheckSource$inboundSchema: z.ZodNativeEnum< typeof GetCheckSource -> = z.nativeEnum(GetCheckSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetCheckSource)); /** @internal */ export const GetCheckCLS$inboundSchema: z.ZodType< GetCheckCLS, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetCheckSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetCheckSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getCheckCLSFromJSON( jsonString: string, @@ -198,18 +202,20 @@ export function getCheckCLSFromJSON( /** @internal */ export const GetCheckChecksSource$inboundSchema: z.ZodNativeEnum< typeof GetCheckChecksSource -> = z.nativeEnum(GetCheckChecksSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetCheckChecksSource)); /** @internal */ export const GetCheckFCP$inboundSchema: z.ZodType< GetCheckFCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetCheckChecksSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetCheckChecksSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getCheckFCPFromJSON( jsonString: string, @@ -224,18 +230,22 @@ export function getCheckFCPFromJSON( /** @internal */ export const GetCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< typeof GetCheckChecksResponseSource -> = z.nativeEnum(GetCheckChecksResponseSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetCheckChecksResponseSource) +); /** @internal */ export const GetCheckLCP$inboundSchema: z.ZodType< GetCheckLCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetCheckChecksResponseSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetCheckChecksResponseSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getCheckLCPFromJSON( jsonString: string, @@ -250,18 +260,22 @@ export function getCheckLCPFromJSON( /** @internal */ export const GetCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< typeof GetCheckChecksResponse200Source -> = z.nativeEnum(GetCheckChecksResponse200Source); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetCheckChecksResponse200Source) +); /** @internal */ export const GetCheckTBT$inboundSchema: z.ZodType< GetCheckTBT, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetCheckChecksResponse200Source$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetCheckChecksResponse200Source$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getCheckTBTFromJSON( jsonString: string, @@ -275,19 +289,23 @@ export function getCheckTBTFromJSON( /** @internal */ export const GetCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetCheckChecksResponse200ApplicationJSONSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetCheckChecksResponse200ApplicationJSONSource) + ); /** @internal */ export const GetCheckVirtualExperienceScore$inboundSchema: z.ZodType< GetCheckVirtualExperienceScore, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: GetCheckChecksResponse200ApplicationJSONSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: GetCheckChecksResponse200ApplicationJSONSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function getCheckVirtualExperienceScoreFromJSON( jsonString: string, @@ -304,22 +322,24 @@ export const GetCheckMetrics$inboundSchema: z.ZodType< GetCheckMetrics, z.ZodTypeDef, unknown -> = z.object({ - CLS: z.lazy(() => GetCheckCLS$inboundSchema), - FCP: z.lazy(() => GetCheckFCP$inboundSchema), - LCP: z.lazy(() => GetCheckLCP$inboundSchema), - TBT: z.lazy(() => GetCheckTBT$inboundSchema), - virtualExperienceScore: types.optional( - z.lazy(() => GetCheckVirtualExperienceScore$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "CLS": "cls", - "FCP": "fcp", - "LCP": "lcp", - "TBT": "tbt", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + CLS: z.lazy(() => GetCheckCLS$inboundSchema), + FCP: z.lazy(() => GetCheckFCP$inboundSchema), + LCP: z.lazy(() => GetCheckLCP$inboundSchema), + TBT: z.lazy(() => GetCheckTBT$inboundSchema), + virtualExperienceScore: types.optional( + z.lazy(() => GetCheckVirtualExperienceScore$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "CLS": "cls", + "FCP": "fcp", + "LCP": "lcp", + "TBT": "tbt", + }); + }) +); export function getCheckMetricsFromJSON( jsonString: string, @@ -336,9 +356,11 @@ export const GetCheckOutput$inboundSchema: z.ZodType< GetCheckOutput, z.ZodTypeDef, unknown -> = z.object({ - metrics: types.optional(z.lazy(() => GetCheckMetrics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: types.optional(z.lazy(() => GetCheckMetrics$inboundSchema)), + }) +); export function getCheckOutputFromJSON( jsonString: string, @@ -353,31 +375,33 @@ export function getCheckOutputFromJSON( /** @internal */ export const GetCheckStatus$inboundSchema: z.ZodNativeEnum< typeof GetCheckStatus -> = z.nativeEnum(GetCheckStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetCheckStatus)); /** @internal */ export const GetCheckResponseBody$inboundSchema: z.ZodType< GetCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocking: types.boolean(), - completedAt: types.optional(types.number()), - conclusion: types.optional(GetCheckConclusion$inboundSchema), - createdAt: types.number(), - deploymentId: types.string(), - detailsUrl: types.optional(types.string()), - externalId: types.optional(types.string()), - id: types.string(), - integrationId: types.string(), - name: types.string(), - output: types.optional(z.lazy(() => GetCheckOutput$inboundSchema)), - path: types.optional(types.string()), - rerequestable: types.optional(types.boolean()), - startedAt: types.optional(types.number()), - status: GetCheckStatus$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocking: types.boolean(), + completedAt: types.optional(types.number()), + conclusion: types.optional(GetCheckConclusion$inboundSchema), + createdAt: types.number(), + deploymentId: types.string(), + detailsUrl: types.optional(types.string()), + externalId: types.optional(types.string()), + id: types.string(), + integrationId: types.string(), + name: types.string(), + output: types.optional(z.lazy(() => GetCheckOutput$inboundSchema)), + path: types.optional(types.string()), + rerequestable: types.optional(types.boolean()), + startedAt: types.optional(types.number()), + status: GetCheckStatus$inboundSchema, + updatedAt: types.number(), + }) +); export function getCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconditionalbypassop.ts b/src/models/getconditionalbypassop.ts index 35955b13a9..61bfddcfe8 100644 --- a/src/models/getconditionalbypassop.ts +++ b/src/models/getconditionalbypassop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -219,12 +219,14 @@ export const GetConditionalBypassRequest$outboundSchema: z.ZodType< GetConditionalBypassRequest$Outbound, z.ZodTypeDef, GetConditionalBypassRequest -> = z.object({ - projectId: z.string(), - slug: z.string().optional(), - domain: z.string().optional(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + slug: z.string().optional(), + domain: z.string().optional(), + teamId: z.string().optional(), + }) +); export function getConditionalBypassRequestToJSON( getConditionalBypassRequest: GetConditionalBypassRequest, @@ -239,12 +241,16 @@ export function getConditionalBypassRequestToJSON( /** @internal */ export const GetConditionalBypassResponseBodyOp$inboundSchema: z.ZodNativeEnum< typeof GetConditionalBypassResponseBodyOp -> = z.nativeEnum(GetConditionalBypassResponseBodyOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConditionalBypassResponseBodyOp) +); /** @internal */ export const GetConditionalBypassResponseBodySecurityType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConditionalBypassResponseBodySecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConditionalBypassResponseBodySecurityType) + ); /** @internal */ export const GetConditionalBypassResponseBodySecurityValue$inboundSchema: @@ -252,7 +258,9 @@ export const GetConditionalBypassResponseBodySecurityValue$inboundSchema: GetConditionalBypassResponseBodySecurityValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getConditionalBypassResponseBodySecurityValueFromJSON( jsonString: string, @@ -273,15 +281,17 @@ export function getConditionalBypassResponseBodySecurityValueFromJSON( /** @internal */ export const GetConditionalBypassResponseBodyConditions$inboundSchema: z.ZodType = - z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetConditionalBypassResponseBodyOp$inboundSchema, - type: GetConditionalBypassResponseBodySecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetConditionalBypassResponseBodyOp$inboundSchema, + type: GetConditionalBypassResponseBodySecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getConditionalBypassResponseBodyConditionsFromJSON( jsonString: string, @@ -305,11 +315,13 @@ export const GetConditionalBypassResponseBodyConditionGroup$inboundSchema: GetConditionalBypassResponseBodyConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => GetConditionalBypassResponseBodyConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetConditionalBypassResponseBodyConditions$inboundSchema), + ), + }) + ); export function getConditionalBypassResponseBodyConditionGroupFromJSON( jsonString: string, @@ -332,18 +344,22 @@ export const ResponseBodyRules$inboundSchema: z.ZodType< ResponseBodyRules, z.ZodTypeDef, unknown -> = z.object({ - condition: types.string(), - conditionGroup: z.array( - z.lazy(() => GetConditionalBypassResponseBodyConditionGroup$inboundSchema), - ), - createdAt: types.string(), - domain: types.string(), - id: types.string(), - note: types.optional(types.string()), - projectId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + condition: types.string(), + conditionGroup: z.array( + z.lazy(() => + GetConditionalBypassResponseBodyConditionGroup$inboundSchema + ), + ), + createdAt: types.string(), + domain: types.string(), + id: types.string(), + note: types.optional(types.string()), + projectId: types.string(), + updatedAt: types.string(), + }) +); export function responseBodyRulesFromJSON( jsonString: string, @@ -360,9 +376,11 @@ export const GetConditionalBypassResponseBody2$inboundSchema: z.ZodType< GetConditionalBypassResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - rules: z.array(z.lazy(() => ResponseBodyRules$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rules: z.array(z.lazy(() => ResponseBodyRules$inboundSchema)), + }) +); export function getConditionalBypassResponseBody2FromJSON( jsonString: string, @@ -377,20 +395,23 @@ export function getConditionalBypassResponseBody2FromJSON( /** @internal */ export const ResponseBodyOp$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyOp -> = z.nativeEnum(ResponseBodyOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyOp)); /** @internal */ export const GetConditionalBypassResponseBodyType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetConditionalBypassResponseBodyType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConditionalBypassResponseBodyType) + ); /** @internal */ export const GetConditionalBypassResponseBodyValue$inboundSchema: z.ZodType< GetConditionalBypassResponseBodyValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getConditionalBypassResponseBodyValueFromJSON( jsonString: string, @@ -408,15 +429,17 @@ export const ResponseBodyConditions$inboundSchema: z.ZodType< ResponseBodyConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: ResponseBodyOp$inboundSchema, - type: GetConditionalBypassResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: ResponseBodyOp$inboundSchema, + type: GetConditionalBypassResponseBodyType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function responseBodyConditionsFromJSON( jsonString: string, @@ -433,9 +456,11 @@ export const ResponseBodyConditionGroup$inboundSchema: z.ZodType< ResponseBodyConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array(z.lazy(() => ResponseBodyConditions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => ResponseBodyConditions$inboundSchema)), + }) +); export function responseBodyConditionGroupFromJSON( jsonString: string, @@ -452,18 +477,20 @@ export const GetConditionalBypassResponseBody1$inboundSchema: z.ZodType< GetConditionalBypassResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - condition: types.string(), - conditionGroup: z.array( - z.lazy(() => ResponseBodyConditionGroup$inboundSchema), - ), - createdAt: types.string(), - domain: types.string(), - id: types.string(), - note: types.optional(types.string()), - projectId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + condition: types.string(), + conditionGroup: z.array( + z.lazy(() => ResponseBodyConditionGroup$inboundSchema), + ), + createdAt: types.string(), + domain: types.string(), + id: types.string(), + note: types.optional(types.string()), + projectId: types.string(), + updatedAt: types.string(), + }) +); export function getConditionalBypassResponseBody1FromJSON( jsonString: string, @@ -480,10 +507,12 @@ export const GetConditionalBypassResponseBody$inboundSchema: z.ZodType< GetConditionalBypassResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConditionalBypassResponseBody1$inboundSchema), - z.lazy(() => GetConditionalBypassResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConditionalBypassResponseBody1$inboundSchema), + z.lazy(() => GetConditionalBypassResponseBody2$inboundSchema), + ]) +); export function getConditionalBypassResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconfigurablelogdrainop.ts b/src/models/getconfigurablelogdrainop.ts index 059eb1afff..046dad2de7 100644 --- a/src/models/getconfigurablelogdrainop.ts +++ b/src/models/getconfigurablelogdrainop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -130,11 +130,13 @@ export const GetConfigurableLogDrainRequest$outboundSchema: z.ZodType< GetConfigurableLogDrainRequest$Outbound, z.ZodTypeDef, GetConfigurableLogDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConfigurableLogDrainRequestToJSON( getConfigurableLogDrainRequest: GetConfigurableLogDrainRequest, @@ -149,20 +151,24 @@ export function getConfigurableLogDrainRequestToJSON( /** @internal */ export const GetConfigurableLogDrainFramework$inboundSchema: z.ZodNativeEnum< typeof GetConfigurableLogDrainFramework -> = z.nativeEnum(GetConfigurableLogDrainFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurableLogDrainFramework) +); /** @internal */ export const ProjectsMetadata$inboundSchema: z.ZodType< ProjectsMetadata, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(GetConfigurableLogDrainFramework$inboundSchema) - .optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(GetConfigurableLogDrainFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + name: types.string(), + }) +); export function projectsMetadataFromJSON( jsonString: string, @@ -179,17 +185,19 @@ export const GetConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< GetConfigurableLogDrainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - configurationId: types.optional(types.string()), - createdFrom: types.string(), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectsMetadata: z.nullable( - z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + configurationId: types.optional(types.string()), + createdFrom: types.string(), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectsMetadata: z.nullable( + z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), + ).optional(), + }) +); export function getConfigurableLogDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconfigurationop.ts b/src/models/getconfigurationop.ts index 46dc056bb6..9af597d049 100644 --- a/src/models/getconfigurationop.ts +++ b/src/models/getconfigurationop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -406,11 +406,13 @@ export const GetConfigurationRequest$outboundSchema: z.ZodType< GetConfigurationRequest$Outbound, z.ZodTypeDef, GetConfigurationRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConfigurationRequestToJSON( getConfigurationRequest: GetConfigurationRequest, @@ -424,66 +426,78 @@ export function getConfigurationRequestToJSON( export const GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyIntegrationsDisabledReason - > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsDisabledReason); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyIntegrationsDisabledReason) + ); /** @internal */ export const GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyIntegrationsInstallationType - > = z.nativeEnum(GetConfigurationResponseBodyIntegrationsInstallationType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyIntegrationsInstallationType) + ); /** @internal */ export const GetConfigurationResponseBodyIntegrationsSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyIntegrationsSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyIntegrationsSource) + ); /** @internal */ export const GetConfigurationResponseBodyIntegrationsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyIntegrationsStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyIntegrationsStatus) + ); /** @internal */ export const GetConfigurationResponseBodyIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyIntegrationsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyIntegrationsType) + ); /** @internal */ export const GetConfigurationResponseBody2$inboundSchema: z.ZodType< GetConfigurationResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), - completedAt: types.optional(types.number()), - createdAt: types.number(), - customerDeleteRequestedAt: z.nullable(types.number()).optional(), - deletedAt: z.nullable(types.number()).optional(), - deleteRequestedAt: z.nullable(types.number()).optional(), - disabledAt: types.optional(types.number()), - disabledReason: types.optional( - GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema, - ), - externalId: types.optional(types.string()), - id: types.string(), - installationType: types.optional( - GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema, - ), - integrationId: types.string(), - ownerId: types.string(), - projects: types.optional(z.array(types.string())), - scopes: z.array(types.string()), - slug: types.string(), - source: types.optional( - GetConfigurationResponseBodyIntegrationsSource$inboundSchema, - ), - status: types.optional( - GetConfigurationResponseBodyIntegrationsStatus$inboundSchema, - ), - teamId: z.nullable(types.string()).optional(), - type: GetConfigurationResponseBodyIntegrationsType$inboundSchema, - updatedAt: types.number(), - userId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), + completedAt: types.optional(types.number()), + createdAt: types.number(), + customerDeleteRequestedAt: z.nullable(types.number()).optional(), + deletedAt: z.nullable(types.number()).optional(), + deleteRequestedAt: z.nullable(types.number()).optional(), + disabledAt: types.optional(types.number()), + disabledReason: types.optional( + GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema, + ), + externalId: types.optional(types.string()), + id: types.string(), + installationType: types.optional( + GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema, + ), + integrationId: types.string(), + ownerId: types.string(), + projects: types.optional(z.array(types.string())), + scopes: z.array(types.string()), + slug: types.string(), + source: types.optional( + GetConfigurationResponseBodyIntegrationsSource$inboundSchema, + ), + status: types.optional( + GetConfigurationResponseBodyIntegrationsStatus$inboundSchema, + ), + teamId: z.nullable(types.string()).optional(), + type: GetConfigurationResponseBodyIntegrationsType$inboundSchema, + updatedAt: types.number(), + userId: types.string(), + }) +); export function getConfigurationResponseBody2FromJSON( jsonString: string, @@ -497,30 +511,38 @@ export function getConfigurationResponseBody2FromJSON( /** @internal */ export const GetConfigurationResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyDisabledReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyDisabledReason) + ); /** @internal */ export const GetConfigurationResponseBodyInstallationType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationResponseBodyInstallationType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyInstallationType) + ); /** @internal */ export const GetConfigurationResponseBodyLevel$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyLevel -> = z.nativeEnum(GetConfigurationResponseBodyLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyLevel) +); /** @internal */ export const ResponseBodyNotification$inboundSchema: z.ZodType< ResponseBodyNotification, z.ZodTypeDef, unknown -> = z.object({ - href: types.optional(types.string()), - level: GetConfigurationResponseBodyLevel$inboundSchema, - message: types.optional(types.string()), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.optional(types.string()), + level: GetConfigurationResponseBodyLevel$inboundSchema, + message: types.optional(types.string()), + title: types.string(), + }) +); export function responseBodyNotificationFromJSON( jsonString: string, @@ -535,59 +557,67 @@ export function responseBodyNotificationFromJSON( /** @internal */ export const ProjectSelection$inboundSchema: z.ZodNativeEnum< typeof ProjectSelection -> = z.nativeEnum(ProjectSelection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProjectSelection)); /** @internal */ export const GetConfigurationResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodySource -> = z.nativeEnum(GetConfigurationResponseBodySource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodySource) +); /** @internal */ export const GetConfigurationResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyStatus -> = z.nativeEnum(GetConfigurationResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyStatus) +); /** @internal */ export const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyType -> = z.nativeEnum(GetConfigurationResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationResponseBodyType) +); /** @internal */ export const GetConfigurationResponseBody1$inboundSchema: z.ZodType< GetConfigurationResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), - canConfigureOpenTelemetry: types.optional(types.boolean()), - completedAt: types.optional(types.number()), - createdAt: types.number(), - customerDeleteRequestedAt: z.nullable(types.number()).optional(), - deletedAt: z.nullable(types.number()).optional(), - deleteRequestedAt: z.nullable(types.number()).optional(), - disabledAt: types.optional(types.number()), - disabledReason: types.optional( - GetConfigurationResponseBodyDisabledReason$inboundSchema, - ), - externalId: types.optional(types.string()), - id: types.string(), - installationType: types.optional( - GetConfigurationResponseBodyInstallationType$inboundSchema, - ), - integrationId: types.string(), - notification: z.lazy(() => ResponseBodyNotification$inboundSchema), - ownerId: types.string(), - projects: types.optional(z.array(types.string())), - projectSelection: ProjectSelection$inboundSchema, - scopes: z.array(types.string()), - slug: types.string(), - source: types.optional(GetConfigurationResponseBodySource$inboundSchema), - status: types.optional(GetConfigurationResponseBodyStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - type: GetConfigurationResponseBodyType$inboundSchema, - updatedAt: types.number(), - userId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), + canConfigureOpenTelemetry: types.optional(types.boolean()), + completedAt: types.optional(types.number()), + createdAt: types.number(), + customerDeleteRequestedAt: z.nullable(types.number()).optional(), + deletedAt: z.nullable(types.number()).optional(), + deleteRequestedAt: z.nullable(types.number()).optional(), + disabledAt: types.optional(types.number()), + disabledReason: types.optional( + GetConfigurationResponseBodyDisabledReason$inboundSchema, + ), + externalId: types.optional(types.string()), + id: types.string(), + installationType: types.optional( + GetConfigurationResponseBodyInstallationType$inboundSchema, + ), + integrationId: types.string(), + notification: z.lazy(() => ResponseBodyNotification$inboundSchema), + ownerId: types.string(), + projects: types.optional(z.array(types.string())), + projectSelection: ProjectSelection$inboundSchema, + scopes: z.array(types.string()), + slug: types.string(), + source: types.optional(GetConfigurationResponseBodySource$inboundSchema), + status: types.optional(GetConfigurationResponseBodyStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + type: GetConfigurationResponseBodyType$inboundSchema, + updatedAt: types.number(), + userId: types.string(), + }) +); export function getConfigurationResponseBody1FromJSON( jsonString: string, @@ -604,10 +634,12 @@ export const GetConfigurationResponseBody$inboundSchema: z.ZodType< GetConfigurationResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationResponseBody1$inboundSchema), - z.lazy(() => GetConfigurationResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationResponseBody1$inboundSchema), + z.lazy(() => GetConfigurationResponseBody2$inboundSchema), + ]) +); export function getConfigurationResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconfigurationproductsresponsebody.ts b/src/models/getconfigurationproductsresponsebody.ts index 4a2c35d746..e8418ba717 100644 --- a/src/models/getconfigurationproductsresponsebody.ts +++ b/src/models/getconfigurationproductsresponsebody.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1068,16 +1068,20 @@ export type GetConfigurationProductsResponseBody = { export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200UiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200UiControl, + ) ); /** @internal */ @@ -1086,9 +1090,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -1111,12 +1117,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDescript GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiDescriptionFromJSON( jsonString: string, @@ -1137,8 +1145,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiDescr export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -1147,9 +1157,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -1172,13 +1184,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiDisabledFromJSON( jsonString: string, @@ -1201,9 +1215,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiFormatte GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValueFromJSON( jsonString: string, @@ -1224,8 +1240,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiForma export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -1234,9 +1252,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -1259,13 +1279,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$i GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiHiddenFromJSON( jsonString: string, @@ -1285,16 +1307,20 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiHidde /** @internal */ export const GetConfigurationProductsDisabled3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabled3 -> = z.nativeEnum(GetConfigurationProductsDisabled3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsDisabled3) +); /** @internal */ export const GetConfigurationProductsDisabled1$inboundSchema: z.ZodType< GetConfigurationProductsDisabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsDisabled1FromJSON( jsonString: string, @@ -1311,11 +1337,13 @@ export const PropertiesDisabled$inboundSchema: z.ZodType< PropertiesDisabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsDisabled1$inboundSchema), - types.boolean(), - GetConfigurationProductsDisabled3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsDisabled1$inboundSchema), + types.boolean(), + GetConfigurationProductsDisabled3$inboundSchema, + ]) +); export function propertiesDisabledFromJSON( jsonString: string, @@ -1330,16 +1358,20 @@ export function propertiesDisabledFromJSON( /** @internal */ export const GetConfigurationProductsHidden3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHidden3 -> = z.nativeEnum(GetConfigurationProductsHidden3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsHidden3) +); /** @internal */ export const GetConfigurationProductsHidden1$inboundSchema: z.ZodType< GetConfigurationProductsHidden1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsHidden1FromJSON( jsonString: string, @@ -1356,11 +1388,13 @@ export const PropertiesHidden$inboundSchema: z.ZodType< PropertiesHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsHidden1$inboundSchema), - types.boolean(), - GetConfigurationProductsHidden3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsHidden1$inboundSchema), + types.boolean(), + GetConfigurationProductsHidden3$inboundSchema, + ]) +); export function propertiesHiddenFromJSON( jsonString: string, @@ -1377,25 +1411,23 @@ export const PropertiesUiOptions$inboundSchema: z.ZodType< PropertiesUiOptions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabled1$inboundSchema), types.boolean(), GetConfigurationProductsDisabled3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHidden1$inboundSchema), types.boolean(), GetConfigurationProductsHidden3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), -}); + ])), + label: types.string(), + value: types.string(), + }) +); export function propertiesUiOptionsFromJSON( jsonString: string, @@ -1411,8 +1443,10 @@ export function propertiesUiOptionsFromJSON( export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -1421,9 +1455,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -1446,13 +1482,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiReadOnlyFromJSON( jsonString: string, @@ -1474,75 +1512,69 @@ export const Properties6$inboundSchema: z.ZodType< Properties6, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array(z.lazy(() => PropertiesUiOptions$inboundSchema)), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => + PropertiesUiOptions$inboundSchema + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties6FromJSON( jsonString: string, @@ -1558,16 +1590,18 @@ export function properties6FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponse200Type) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponseUiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponseUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponseUiControl, + ) ); /** @internal */ @@ -1576,9 +1610,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inbou GetConfigurationProductsUiDescriptionIntegrationsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse2002FromJSON( jsonString: string, @@ -1601,12 +1637,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDescription GetConfigurationProductsPropertiesIntegrationsResponseUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiDescriptionFromJSON( jsonString: string, @@ -1627,7 +1665,9 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiDescript export const GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse2003 - > = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse2003) + ); /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse2001$inboundSchema: @@ -1635,9 +1675,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2001$inboundS GetConfigurationProductsUiDisabledIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse2001FromJSON( jsonString: string, @@ -1660,13 +1702,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$in GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiDisabledFromJSON( jsonString: string, @@ -1689,9 +1733,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedVa GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiFormattedValueFromJSON( jsonString: string, @@ -1712,7 +1758,9 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiFormatte export const GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse2003 - > = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse2003) + ); /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse2001$inboundSchema: @@ -1720,9 +1768,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2001$inboundSch GetConfigurationProductsUiHiddenIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse2001FromJSON( jsonString: string, @@ -1745,13 +1795,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$inbo GetConfigurationProductsPropertiesIntegrationsResponseUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiHiddenFromJSON( jsonString: string, @@ -1769,17 +1821,19 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiHiddenFr } /** @internal */ -export const Disabled3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Disabled3); +export const Disabled3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Disabled3)); /** @internal */ export const Disabled1$inboundSchema: z.ZodType< Disabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function disabled1FromJSON( jsonString: string, @@ -1796,11 +1850,13 @@ export const Disabled$inboundSchema: z.ZodType< Disabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Disabled1$inboundSchema), - types.boolean(), - Disabled3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Disabled1$inboundSchema), + types.boolean(), + Disabled3$inboundSchema, + ]) +); export function disabledFromJSON( jsonString: string, @@ -1813,14 +1869,16 @@ export function disabledFromJSON( } /** @internal */ -export const Hidden3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Hidden3); +export const Hidden3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Hidden3)); /** @internal */ export const Hidden1$inboundSchema: z.ZodType = - z.object({ - expr: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function hidden1FromJSON( jsonString: string, @@ -1834,11 +1892,13 @@ export function hidden1FromJSON( /** @internal */ export const Hidden$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Hidden1$inboundSchema), - types.boolean(), - Hidden3$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Hidden1$inboundSchema), + types.boolean(), + Hidden3$inboundSchema, + ]) + ); export function hiddenFromJSON( jsonString: string, @@ -1855,25 +1915,23 @@ export const UiOptions$inboundSchema: z.ZodType< UiOptions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => Disabled1$inboundSchema), types.boolean(), Disabled3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => Hidden1$inboundSchema), types.boolean(), Hidden3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), -}); + ])), + label: types.string(), + value: types.string(), + }) +); export function uiOptionsFromJSON( jsonString: string, @@ -1889,7 +1947,9 @@ export function uiOptionsFromJSON( export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse2003 - > = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse2003) + ); /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2001$inboundSchema: @@ -1897,9 +1957,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2001$inboundS GetConfigurationProductsUiReadOnlyIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse2001FromJSON( jsonString: string, @@ -1922,13 +1984,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$in GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiReadOnlyFromJSON( jsonString: string, @@ -1950,75 +2014,69 @@ export const Properties5$inboundSchema: z.ZodType< Properties5, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse2001$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse2001$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array(z.lazy(() => UiOptions$inboundSchema)), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => + UiOptions$inboundSchema + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse2001$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties5FromJSON( jsonString: string, @@ -2034,8 +2092,10 @@ export function properties5FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type, + ) ); /** @internal */ @@ -2043,16 +2103,18 @@ export const PropertiesItems$inboundSchema: z.ZodType< PropertiesItems, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.number()), - description: types.optional(types.string()), - exclusiveMaximum: types.optional(types.number()), - exclusiveMinimum: types.optional(types.number()), - maximum: types.optional(types.number()), - minimum: types.optional(types.number()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.number()), + description: types.optional(types.string()), + exclusiveMaximum: types.optional(types.number()), + exclusiveMinimum: types.optional(types.number()), + maximum: types.optional(types.number()), + minimum: types.optional(types.number()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema, + }) +); export function propertiesItemsFromJSON( jsonString: string, @@ -2068,13 +2130,17 @@ export function propertiesItemsFromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponseType - > = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponseType) + ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsUiControl - > = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsUiControl); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsUiControl) + ); /** @internal */ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema: @@ -2082,9 +2148,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundS GetConfigurationProductsUiDescriptionIntegrationsResponse2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse2FromJSON( jsonString: string, @@ -2107,12 +2175,14 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDescription$inbound GetConfigurationProductsPropertiesIntegrationsUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsUiDescriptionFromJSON( jsonString: string, @@ -2133,7 +2203,9 @@ export function getConfigurationProductsPropertiesIntegrationsUiDescriptionFromJ export const GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse3 - > = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse3) + ); /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse1$inboundSchema: @@ -2141,9 +2213,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse1$inboundSche GetConfigurationProductsUiDisabledIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse1FromJSON( jsonString: string, @@ -2166,13 +2240,15 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDisabled$inboundSch GetConfigurationProductsPropertiesIntegrationsUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsUiDisabledFromJSON( jsonString: string, @@ -2195,9 +2271,11 @@ export const GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$inbo GetConfigurationProductsPropertiesIntegrationsUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsUiFormattedValueFromJSON( jsonString: string, @@ -2218,7 +2296,9 @@ export function getConfigurationProductsPropertiesIntegrationsUiFormattedValueFr export const GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse3 - > = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse3) + ); /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse1$inboundSchema: @@ -2226,9 +2306,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse1$inboundSchema GetConfigurationProductsUiHiddenIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse1FromJSON( jsonString: string, @@ -2252,13 +2334,15 @@ export const GetConfigurationProductsPropertiesIntegrationsUiHidden$inboundSchem GetConfigurationProductsPropertiesIntegrationsUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsUiHiddenFromJSON( jsonString: string, @@ -2279,7 +2363,9 @@ export function getConfigurationProductsPropertiesIntegrationsUiHiddenFromJSON( export const GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse3 - > = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse3) + ); /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse1$inboundSchema: @@ -2287,9 +2373,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse1$inboundSche GetConfigurationProductsUiReadOnlyIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse1FromJSON( jsonString: string, @@ -2312,13 +2400,15 @@ export const GetConfigurationProductsPropertiesIntegrationsUiReadOnly$inboundSch GetConfigurationProductsPropertiesIntegrationsUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsUiReadOnlyFromJSON( jsonString: string, @@ -2340,72 +2430,64 @@ export const Properties4$inboundSchema: z.ZodType< Properties4, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.number())), - description: types.optional(types.string()), - items: z.lazy(() => PropertiesItems$inboundSchema), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.number())), + description: types.optional(types.string()), + items: z.lazy(() => PropertiesItems$inboundSchema), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema, - ]), - ), - "ui:steps": z.array(types.number()), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:read-only": "uiReadOnly", - "ui:steps": "uiSteps", - }); -}); + ])), + "ui:steps": z.array(types.number()), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:read-only": "uiReadOnly", + "ui:steps": "uiSteps", + }); + }) +); export function properties4FromJSON( jsonString: string, @@ -2419,13 +2501,17 @@ export function properties4FromJSON( /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsPropertiesIntegrationsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsType) + ); /** @internal */ export const GetConfigurationProductsPropertiesUiControl$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsPropertiesUiControl); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesUiControl) + ); /** @internal */ export const GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema: @@ -2433,9 +2519,11 @@ export const GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema: GetConfigurationProductsUiDescriptionIntegrations2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrations2FromJSON( jsonString: string, @@ -2459,12 +2547,14 @@ export const GetConfigurationProductsPropertiesUiDescription$inboundSchema: GetConfigurationProductsPropertiesUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesUiDescriptionFromJSON( jsonString: string, @@ -2484,8 +2574,10 @@ export function getConfigurationProductsPropertiesUiDescriptionFromJSON( /** @internal */ export const GetConfigurationProductsUiDisabledIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsUiDisabledIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiDisabledIntegrations3) + ); /** @internal */ export const GetConfigurationProductsUiDisabledIntegrations1$inboundSchema: @@ -2493,9 +2585,11 @@ export const GetConfigurationProductsUiDisabledIntegrations1$inboundSchema: GetConfigurationProductsUiDisabledIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrations1FromJSON( jsonString: string, @@ -2519,11 +2613,15 @@ export const GetConfigurationProductsPropertiesUiDisabled$inboundSchema: GetConfigurationProductsPropertiesUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetConfigurationProductsUiDisabledIntegrations1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrations1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrations3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesUiDisabledFromJSON( jsonString: string, @@ -2547,9 +2645,11 @@ export const GetConfigurationProductsPropertiesUiFormattedValue$inboundSchema: GetConfigurationProductsPropertiesUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesUiFormattedValueFromJSON( jsonString: string, @@ -2569,8 +2669,10 @@ export function getConfigurationProductsPropertiesUiFormattedValueFromJSON( /** @internal */ export const GetConfigurationProductsUiHiddenIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsUiHiddenIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiHiddenIntegrations3) + ); /** @internal */ export const GetConfigurationProductsUiHiddenIntegrations1$inboundSchema: @@ -2578,9 +2680,11 @@ export const GetConfigurationProductsUiHiddenIntegrations1$inboundSchema: GetConfigurationProductsUiHiddenIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrations1FromJSON( jsonString: string, @@ -2601,11 +2705,15 @@ export function getConfigurationProductsUiHiddenIntegrations1FromJSON( /** @internal */ export const GetConfigurationProductsPropertiesUiHidden$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => GetConfigurationProductsUiHiddenIntegrations1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrations3$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrations1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrations3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesUiHiddenFromJSON( jsonString: string, @@ -2625,8 +2733,10 @@ export function getConfigurationProductsPropertiesUiHiddenFromJSON( /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsUiReadOnlyIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrations3) + ); /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrations1$inboundSchema: @@ -2634,9 +2744,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrations1$inboundSchema: GetConfigurationProductsUiReadOnlyIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrations1FromJSON( jsonString: string, @@ -2660,11 +2772,15 @@ export const GetConfigurationProductsPropertiesUiReadOnly$inboundSchema: GetConfigurationProductsPropertiesUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrations1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrations1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesUiReadOnlyFromJSON( jsonString: string, @@ -2687,63 +2803,55 @@ export const Properties3$inboundSchema: z.ZodType< Properties3, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.boolean()), - description: types.optional(types.string()), - type: GetConfigurationProductsPropertiesIntegrationsType$inboundSchema, - "ui:control": GetConfigurationProductsPropertiesUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.boolean()), + description: types.optional(types.string()), + type: GetConfigurationProductsPropertiesIntegrationsType$inboundSchema, + "ui:control": GetConfigurationProductsPropertiesUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrations1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrations3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrations1$inboundSchema), types.boolean(), GetConfigurationProductsUiHiddenIntegrations3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrations1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties3FromJSON( jsonString: string, @@ -2757,23 +2865,26 @@ export function properties3FromJSON( /** @internal */ export const GetConfigurationProductsPropertiesType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetConfigurationProductsPropertiesType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsPropertiesType) + ); /** @internal */ export const PropertiesUiControl$inboundSchema: z.ZodNativeEnum< typeof PropertiesUiControl -> = z.nativeEnum(PropertiesUiControl); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PropertiesUiControl)); /** @internal */ export const GetConfigurationProductsUiDescription2$inboundSchema: z.ZodType< GetConfigurationProductsUiDescription2, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsUiDescription2FromJSON( jsonString: string, @@ -2791,10 +2902,12 @@ export const PropertiesUiDescription$inboundSchema: z.ZodType< PropertiesUiDescription, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsUiDescription2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsUiDescription2$inboundSchema), + types.string(), + ]) +); export function propertiesUiDescriptionFromJSON( jsonString: string, @@ -2809,16 +2922,20 @@ export function propertiesUiDescriptionFromJSON( /** @internal */ export const GetConfigurationProductsUiDisabled3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabled3 -> = z.nativeEnum(GetConfigurationProductsUiDisabled3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiDisabled3) +); /** @internal */ export const GetConfigurationProductsUiDisabled1$inboundSchema: z.ZodType< GetConfigurationProductsUiDisabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsUiDisabled1FromJSON( jsonString: string, @@ -2836,11 +2953,13 @@ export const PropertiesUiDisabled$inboundSchema: z.ZodType< PropertiesUiDisabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsUiDisabled1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiDisabled3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsUiDisabled1$inboundSchema), + types.boolean(), + GetConfigurationProductsUiDisabled3$inboundSchema, + ]) +); export function propertiesUiDisabledFromJSON( jsonString: string, @@ -2857,9 +2976,11 @@ export const PropertiesUiFormattedValue$inboundSchema: z.ZodType< PropertiesUiFormattedValue, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function propertiesUiFormattedValueFromJSON( jsonString: string, @@ -2874,16 +2995,20 @@ export function propertiesUiFormattedValueFromJSON( /** @internal */ export const GetConfigurationProductsUiHidden3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHidden3 -> = z.nativeEnum(GetConfigurationProductsUiHidden3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiHidden3) +); /** @internal */ export const GetConfigurationProductsUiHidden1$inboundSchema: z.ZodType< GetConfigurationProductsUiHidden1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsUiHidden1FromJSON( jsonString: string, @@ -2900,11 +3025,13 @@ export const PropertiesUiHidden$inboundSchema: z.ZodType< PropertiesUiHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsUiHidden1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiHidden3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsUiHidden1$inboundSchema), + types.boolean(), + GetConfigurationProductsUiHidden3$inboundSchema, + ]) +); export function propertiesUiHiddenFromJSON( jsonString: string, @@ -2919,16 +3046,20 @@ export function propertiesUiHiddenFromJSON( /** @internal */ export const GetConfigurationProductsUiReadOnly3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnly3 -> = z.nativeEnum(GetConfigurationProductsUiReadOnly3); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsUiReadOnly3) +); /** @internal */ export const GetConfigurationProductsUiReadOnly1$inboundSchema: z.ZodType< GetConfigurationProductsUiReadOnly1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function getConfigurationProductsUiReadOnly1FromJSON( jsonString: string, @@ -2946,11 +3077,13 @@ export const PropertiesUiReadOnly$inboundSchema: z.ZodType< PropertiesUiReadOnly, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsUiReadOnly1$inboundSchema), - types.boolean(), - GetConfigurationProductsUiReadOnly3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsUiReadOnly1$inboundSchema), + types.boolean(), + GetConfigurationProductsUiReadOnly3$inboundSchema, + ]) +); export function propertiesUiReadOnlyFromJSON( jsonString: string, @@ -2967,61 +3100,55 @@ export const Properties2$inboundSchema: z.ZodType< Properties2, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.number()), - description: types.optional(types.string()), - exclusiveMaximum: types.optional(types.number()), - exclusiveMinimum: types.optional(types.number()), - maximum: types.optional(types.number()), - minimum: types.optional(types.number()), - type: GetConfigurationProductsPropertiesType$inboundSchema, - "ui:control": PropertiesUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.number()), + description: types.optional(types.string()), + exclusiveMaximum: types.optional(types.number()), + exclusiveMinimum: types.optional(types.number()), + maximum: types.optional(types.number()), + minimum: types.optional(types.number()), + type: GetConfigurationProductsPropertiesType$inboundSchema, + "ui:control": PropertiesUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescription2$inboundSchema), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabled1$inboundSchema), types.boolean(), GetConfigurationProductsUiDisabled3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => PropertiesUiFormattedValue$inboundSchema), - ), - "ui:hidden": types.optional( - smartUnion([ + ])), + "ui:formatted-value": types.optional(z.lazy(() => + PropertiesUiFormattedValue$inboundSchema + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHidden1$inboundSchema), types.boolean(), GetConfigurationProductsUiHidden3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnly1$inboundSchema), types.boolean(), GetConfigurationProductsUiReadOnly3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties2FromJSON( jsonString: string, @@ -3036,20 +3163,22 @@ export function properties2FromJSON( /** @internal */ export const PropertiesType$inboundSchema: z.ZodNativeEnum< typeof PropertiesType -> = z.nativeEnum(PropertiesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PropertiesType)); /** @internal */ -export const UiControl$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(UiControl); +export const UiControl$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UiControl)); /** @internal */ export const UiDescription2$inboundSchema: z.ZodType< UiDescription2, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function uiDescription2FromJSON( jsonString: string, @@ -3066,7 +3195,9 @@ export const UiDescription$inboundSchema: z.ZodType< UiDescription, z.ZodTypeDef, unknown -> = smartUnion([z.lazy(() => UiDescription2$inboundSchema), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => UiDescription2$inboundSchema), types.string()]) +); export function uiDescriptionFromJSON( jsonString: string, @@ -3079,17 +3210,19 @@ export function uiDescriptionFromJSON( } /** @internal */ -export const UiDisabled3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(UiDisabled3); +export const UiDisabled3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UiDisabled3)); /** @internal */ export const UiDisabled1$inboundSchema: z.ZodType< UiDisabled1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function uiDisabled1FromJSON( jsonString: string, @@ -3106,11 +3239,13 @@ export const UiDisabled$inboundSchema: z.ZodType< UiDisabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UiDisabled1$inboundSchema), - types.boolean(), - UiDisabled3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UiDisabled1$inboundSchema), + types.boolean(), + UiDisabled3$inboundSchema, + ]) +); export function uiDisabledFromJSON( jsonString: string, @@ -3127,9 +3262,11 @@ export const UiFormattedValue$inboundSchema: z.ZodType< UiFormattedValue, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function uiFormattedValueFromJSON( jsonString: string, @@ -3142,17 +3279,19 @@ export function uiFormattedValueFromJSON( } /** @internal */ -export const UiHidden3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(UiHidden3); +export const UiHidden3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UiHidden3)); /** @internal */ export const UiHidden1$inboundSchema: z.ZodType< UiHidden1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function uiHidden1FromJSON( jsonString: string, @@ -3169,11 +3308,13 @@ export const UiHidden$inboundSchema: z.ZodType< UiHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UiHidden1$inboundSchema), - types.boolean(), - UiHidden3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UiHidden1$inboundSchema), + types.boolean(), + UiHidden3$inboundSchema, + ]) +); export function uiHiddenFromJSON( jsonString: string, @@ -3186,17 +3327,19 @@ export function uiHiddenFromJSON( } /** @internal */ -export const UiReadOnly3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(UiReadOnly3); +export const UiReadOnly3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UiReadOnly3)); /** @internal */ export const UiReadOnly1$inboundSchema: z.ZodType< UiReadOnly1, z.ZodTypeDef, unknown -> = z.object({ - expr: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) +); export function uiReadOnly1FromJSON( jsonString: string, @@ -3213,11 +3356,13 @@ export const UiReadOnly$inboundSchema: z.ZodType< UiReadOnly, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UiReadOnly1$inboundSchema), - types.boolean(), - UiReadOnly3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UiReadOnly1$inboundSchema), + types.boolean(), + UiReadOnly3$inboundSchema, + ]) +); export function uiReadOnlyFromJSON( jsonString: string, @@ -3234,58 +3379,54 @@ export const Properties1$inboundSchema: z.ZodType< Properties1, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: PropertiesType$inboundSchema, - "ui:control": UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([z.lazy(() => UiDescription2$inboundSchema), types.string()]), - ), - "ui:disabled": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: PropertiesType$inboundSchema, + "ui:control": UiControl$inboundSchema, + "ui:description": types.optional( + smartUnion([z.lazy(() => UiDescription2$inboundSchema), types.string()]), + ), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => UiDisabled1$inboundSchema), types.boolean(), UiDisabled3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => UiFormattedValue$inboundSchema), - ), - "ui:hidden": types.optional( - smartUnion([ + ])), + "ui:formatted-value": types.optional(z.lazy(() => + UiFormattedValue$inboundSchema + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => UiHidden1$inboundSchema), types.boolean(), UiHidden3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => UiReadOnly1$inboundSchema), types.boolean(), UiReadOnly3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties1FromJSON( jsonString: string, @@ -3302,20 +3443,22 @@ export const Properties$inboundSchema: z.ZodType< Properties, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Properties4$inboundSchema), - Properties7$inboundSchema, - Properties9$inboundSchema, - z.lazy(() => Properties5$inboundSchema), - z.lazy(() => Properties6$inboundSchema), - Properties8$inboundSchema, - Properties10$inboundSchema, - z.lazy(() => Properties1$inboundSchema), - z.lazy(() => Properties2$inboundSchema), - z.lazy(() => Properties3$inboundSchema), - Properties11$inboundSchema, - Properties12$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Properties4$inboundSchema), + Properties7$inboundSchema, + Properties9$inboundSchema, + z.lazy(() => Properties5$inboundSchema), + z.lazy(() => Properties6$inboundSchema), + Properties8$inboundSchema, + Properties10$inboundSchema, + z.lazy(() => Properties1$inboundSchema), + z.lazy(() => Properties2$inboundSchema), + z.lazy(() => Properties3$inboundSchema), + Properties11$inboundSchema, + Properties12$inboundSchema, + ]) +); export function propertiesFromJSON( jsonString: string, @@ -3330,16 +3473,18 @@ export function propertiesFromJSON( /** @internal */ export const GetConfigurationProductsType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsType -> = z.nativeEnum(GetConfigurationProductsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsType) +); /** @internal */ export const MetadataSchema$inboundSchema: z.ZodType< MetadataSchema, z.ZodTypeDef, unknown -> = z.object({ - properties: z.record( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + properties: z.record(smartUnion([ z.lazy(() => Properties4$inboundSchema), Properties7$inboundSchema, Properties9$inboundSchema, @@ -3352,16 +3497,16 @@ export const MetadataSchema$inboundSchema: z.ZodType< z.lazy(() => Properties3$inboundSchema), Properties11$inboundSchema, Properties12$inboundSchema, - ]), - ), - required: types.optional(z.array(types.string())), - type: GetConfigurationProductsType$inboundSchema, - "ui:order": types.optional(z.array(types.string())), -}).transform((v) => { - return remap$(v, { - "ui:order": "uiOrder", - }); -}); + ])), + required: types.optional(z.array(types.string())), + type: GetConfigurationProductsType$inboundSchema, + "ui:order": types.optional(z.array(types.string())), + }).transform((v) => { + return remap$(v, { + "ui:order": "uiOrder", + }); + }) +); export function metadataSchemaFromJSON( jsonString: string, @@ -3376,17 +3521,22 @@ export function metadataSchemaFromJSON( /** @internal */ export const PrimaryProtocol$inboundSchema: z.ZodNativeEnum< typeof PrimaryProtocol -> = z.nativeEnum(PrimaryProtocol); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PrimaryProtocol)); /** @internal */ export const GetConfigurationProductsStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsStatus -> = z.nativeEnum(GetConfigurationProductsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsStatus) +); /** @internal */ -export const Ai$inboundSchema: z.ZodType = z.object({ - status: GetConfigurationProductsStatus$inboundSchema, -}); +export const Ai$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + status: GetConfigurationProductsStatus$inboundSchema, + }) + ); export function aiFromJSON( jsonString: string, @@ -3400,18 +3550,22 @@ export function aiFromJSON( /** @internal */ export const GetConfigurationProductsIntegrationsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsIntegrationsStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsIntegrationsStatus) + ); /** @internal */ export const GetConfigurationProductsAuthentication$inboundSchema: z.ZodType< GetConfigurationProductsAuthentication, z.ZodTypeDef, unknown -> = z.object({ - status: GetConfigurationProductsIntegrationsStatus$inboundSchema, - appUrlRegistrationSupport: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: GetConfigurationProductsIntegrationsStatus$inboundSchema, + appUrlRegistrationSupport: types.optional(types.boolean()), + }) +); export function getConfigurationProductsAuthenticationFromJSON( jsonString: string, @@ -3426,17 +3580,21 @@ export function getConfigurationProductsAuthenticationFromJSON( /** @internal */ export const GetConfigurationProductsIntegrationsResponseStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsIntegrationsResponseStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsIntegrationsResponseStatus) + ); /** @internal */ export const GetConfigurationProductsChecks$inboundSchema: z.ZodType< GetConfigurationProductsChecks, z.ZodTypeDef, unknown -> = z.object({ - status: GetConfigurationProductsIntegrationsResponseStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: GetConfigurationProductsIntegrationsResponseStatus$inboundSchema, + }) +); export function getConfigurationProductsChecksFromJSON( jsonString: string, @@ -3452,17 +3610,21 @@ export function getConfigurationProductsChecksFromJSON( export const GetConfigurationProductsIntegrationsResponse200Status$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200Status - > = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200Status); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsIntegrationsResponse200Status) + ); /** @internal */ export const GetConfigurationProductsExperimentation$inboundSchema: z.ZodType< GetConfigurationProductsExperimentation, z.ZodTypeDef, unknown -> = z.object({ - status: GetConfigurationProductsIntegrationsResponse200Status$inboundSchema, - edgeConfigSyncingSupport: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: GetConfigurationProductsIntegrationsResponse200Status$inboundSchema, + edgeConfigSyncingSupport: types.optional(types.boolean()), + }) +); export function getConfigurationProductsExperimentationFromJSON( jsonString: string, @@ -3484,27 +3646,33 @@ export function getConfigurationProductsExperimentationFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus, + ) ); /** @internal */ export const GetConfigurationProductsFormat$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsFormat -> = z.nativeEnum(GetConfigurationProductsFormat); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsFormat) +); /** @internal */ export const LogDrain$inboundSchema: z.ZodType< LogDrain, z.ZodTypeDef, unknown -> = z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema, - endpoint: types.string(), - headers: types.optional(z.record(types.string())), - format: GetConfigurationProductsFormat$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema, + endpoint: types.string(), + headers: types.optional(z.record(types.string())), + format: GetConfigurationProductsFormat$inboundSchema, + }) +); export function logDrainFromJSON( jsonString: string, @@ -3520,8 +3688,10 @@ export function logDrainFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus, + ) ); /** @internal */ @@ -3529,10 +3699,12 @@ export const Messaging$inboundSchema: z.ZodType< Messaging, z.ZodTypeDef, unknown -> = z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema, + }) +); export function messagingFromJSON( jsonString: string, @@ -3548,8 +3720,10 @@ export function messagingFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus, + ) ); /** @internal */ @@ -3557,10 +3731,12 @@ export const Observability$inboundSchema: z.ZodType< Observability, z.ZodTypeDef, unknown -> = z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema, + }) +); export function observabilityFromJSON( jsonString: string, @@ -3576,16 +3752,20 @@ export function observabilityFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus, + ) ); /** @internal */ -export const Other$inboundSchema: z.ZodType = z - .object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema, - }); +export const Other$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema, + }) + ); export function otherFromJSON( jsonString: string, @@ -3601,8 +3781,10 @@ export function otherFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus, + ) ); /** @internal */ @@ -3610,11 +3792,13 @@ export const GetConfigurationProductsRepl$inboundSchema: z.ZodType< GetConfigurationProductsRepl, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - supportsReadOnlyMode: types.boolean(), - welcomeMessage: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + supportsReadOnlyMode: types.boolean(), + welcomeMessage: types.optional(types.string()), + }) +); export function getConfigurationProductsReplFromJSON( jsonString: string, @@ -3628,13 +3812,15 @@ export function getConfigurationProductsReplFromJSON( /** @internal */ export const Storage$inboundSchema: z.ZodType = - z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus$inboundSchema, - repl: types.optional( - z.lazy(() => GetConfigurationProductsRepl$inboundSchema), - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStorageStatus$inboundSchema, + repl: types.optional( + z.lazy(() => GetConfigurationProductsRepl$inboundSchema), + ), + }) + ); export function storageFromJSON( jsonString: string, @@ -3650,27 +3836,33 @@ export function storageFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus, + ) ); /** @internal */ export const GetConfigurationProductsIntegrationsFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsIntegrationsFormat); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsIntegrationsFormat) + ); /** @internal */ export const TraceDrain$inboundSchema: z.ZodType< TraceDrain, z.ZodTypeDef, unknown -> = z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema, - endpoint: types.string(), - headers: types.optional(z.record(types.string())), - format: GetConfigurationProductsIntegrationsFormat$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema, + endpoint: types.string(), + headers: types.optional(z.record(types.string())), + format: GetConfigurationProductsIntegrationsFormat$inboundSchema, + }) +); export function traceDrainFromJSON( jsonString: string, @@ -3686,16 +3878,20 @@ export function traceDrainFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus, + ) ); /** @internal */ -export const Video$inboundSchema: z.ZodType = z - .object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus$inboundSchema, - }); +export const Video$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsVideoStatus$inboundSchema, + }) + ); export function videoFromJSON( jsonString: string, @@ -3711,8 +3907,10 @@ export function videoFromJSON( export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus - > = z.nativeEnum( - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus, + ) ); /** @internal */ @@ -3720,10 +3918,12 @@ export const Workflow$inboundSchema: z.ZodType< Workflow, z.ZodTypeDef, unknown -> = z.object({ - status: - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: + GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsWorkflowStatus$inboundSchema, + }) +); export function workflowFromJSON( jsonString: string, @@ -3740,26 +3940,28 @@ export const Protocols$inboundSchema: z.ZodType< Protocols, z.ZodTypeDef, unknown -> = z.object({ - ai: types.optional(z.lazy(() => Ai$inboundSchema)), - authentication: types.optional( - z.lazy(() => GetConfigurationProductsAuthentication$inboundSchema), - ), - checks: types.optional( - z.lazy(() => GetConfigurationProductsChecks$inboundSchema), - ), - experimentation: types.optional( - z.lazy(() => GetConfigurationProductsExperimentation$inboundSchema), - ), - logDrain: types.optional(z.lazy(() => LogDrain$inboundSchema)), - messaging: types.optional(z.lazy(() => Messaging$inboundSchema)), - observability: types.optional(z.lazy(() => Observability$inboundSchema)), - other: types.optional(z.lazy(() => Other$inboundSchema)), - storage: types.optional(z.lazy(() => Storage$inboundSchema)), - traceDrain: types.optional(z.lazy(() => TraceDrain$inboundSchema)), - video: types.optional(z.lazy(() => Video$inboundSchema)), - workflow: types.optional(z.lazy(() => Workflow$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai: types.optional(z.lazy(() => Ai$inboundSchema)), + authentication: types.optional( + z.lazy(() => GetConfigurationProductsAuthentication$inboundSchema), + ), + checks: types.optional( + z.lazy(() => GetConfigurationProductsChecks$inboundSchema), + ), + experimentation: types.optional( + z.lazy(() => GetConfigurationProductsExperimentation$inboundSchema), + ), + logDrain: types.optional(z.lazy(() => LogDrain$inboundSchema)), + messaging: types.optional(z.lazy(() => Messaging$inboundSchema)), + observability: types.optional(z.lazy(() => Observability$inboundSchema)), + other: types.optional(z.lazy(() => Other$inboundSchema)), + storage: types.optional(z.lazy(() => Storage$inboundSchema)), + traceDrain: types.optional(z.lazy(() => TraceDrain$inboundSchema)), + video: types.optional(z.lazy(() => Video$inboundSchema)), + workflow: types.optional(z.lazy(() => Workflow$inboundSchema)), + }) +); export function protocolsFromJSON( jsonString: string, @@ -3776,14 +3978,16 @@ export const Products$inboundSchema: z.ZodType< Products, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - metadataSchema: z.lazy(() => MetadataSchema$inboundSchema), - name: types.string(), - primaryProtocol: types.optional(PrimaryProtocol$inboundSchema), - protocols: z.lazy(() => Protocols$inboundSchema), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + metadataSchema: z.lazy(() => MetadataSchema$inboundSchema), + name: types.string(), + primaryProtocol: types.optional(PrimaryProtocol$inboundSchema), + protocols: z.lazy(() => Protocols$inboundSchema), + slug: types.string(), + }) +); export function productsFromJSON( jsonString: string, @@ -3800,11 +4004,13 @@ export const GetConfigurationProductsResponseBody$inboundSchema: z.ZodType< GetConfigurationProductsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - configuration: GetConfigurationProductsConfiguration$inboundSchema, - integration: GetConfigurationProductsIntegration$inboundSchema, - products: z.array(z.lazy(() => Products$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: GetConfigurationProductsConfiguration$inboundSchema, + integration: GetConfigurationProductsIntegration$inboundSchema, + products: z.array(z.lazy(() => Products$inboundSchema)), + }) +); export function getConfigurationProductsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconfigurationsop.ts b/src/models/getconfigurationsop.ts index 518c4169cc..cb605805db 100644 --- a/src/models/getconfigurationsop.ts +++ b/src/models/getconfigurationsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -416,14 +416,13 @@ export type GetConfigurationsResponseBody = | Array; /** @internal */ -export const View$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - View, -); +export const View$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(View)); /** @internal */ export const InstallationType$outboundSchema: z.ZodNativeEnum< typeof InstallationType -> = z.nativeEnum(InstallationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InstallationType)); /** @internal */ export type GetConfigurationsRequest$Outbound = { @@ -439,13 +438,15 @@ export const GetConfigurationsRequest$outboundSchema: z.ZodType< GetConfigurationsRequest$Outbound, z.ZodTypeDef, GetConfigurationsRequest -> = z.object({ - view: View$outboundSchema, - installationType: InstallationType$outboundSchema.optional(), - integrationIdOrSlug: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + view: View$outboundSchema, + installationType: InstallationType$outboundSchema.optional(), + integrationIdOrSlug: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConfigurationsRequestToJSON( getConfigurationsRequest: GetConfigurationsRequest, @@ -459,30 +460,36 @@ export function getConfigurationsRequestToJSON( export const GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationsResponseBodyIntegrationsDisabledReason - > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsDisabledReason); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyIntegrationsDisabledReason) + ); /** @internal */ export const GetConfigurationsResponseBodyInstallationType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyInstallationType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyInstallationType) + ); /** @internal */ -export const TagIds$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TagIds); +export const TagIds$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TagIds)); /** @internal */ export const ResponseBodyIntegration$inboundSchema: z.ZodType< ResponseBodyIntegration, z.ZodTypeDef, unknown -> = z.object({ - assignedBetaLabelAt: types.optional(types.number()), - flags: types.optional(z.array(types.string())), - icon: types.string(), - isLegacy: types.boolean(), - name: types.string(), - tagIds: types.optional(z.array(TagIds$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + assignedBetaLabelAt: types.optional(types.number()), + flags: types.optional(z.array(types.string())), + icon: types.string(), + isLegacy: types.boolean(), + name: types.string(), + tagIds: types.optional(z.array(TagIds$inboundSchema)), + }) +); export function responseBodyIntegrationFromJSON( jsonString: string, @@ -496,57 +503,65 @@ export function responseBodyIntegrationFromJSON( /** @internal */ export const GetConfigurationsResponseBodyIntegrationsSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyIntegrationsSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyIntegrationsSource) + ); /** @internal */ export const GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyIntegrationsStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyIntegrationsStatus) + ); /** @internal */ export const GetConfigurationsResponseBodyIntegrationsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyIntegrationsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyIntegrationsType) + ); /** @internal */ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType< GetConfigurationsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), - completedAt: types.optional(types.number()), - createdAt: types.number(), - customerDeleteRequestedAt: z.nullable(types.number()).optional(), - deletedAt: z.nullable(types.number()).optional(), - deleteRequestedAt: z.nullable(types.number()).optional(), - disabledAt: types.optional(types.number()), - disabledReason: types.optional( - GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema, - ), - externalId: types.optional(types.string()), - id: types.string(), - installationType: types.optional( - GetConfigurationsResponseBodyInstallationType$inboundSchema, - ), - integration: z.lazy(() => ResponseBodyIntegration$inboundSchema), - integrationId: types.string(), - ownerId: types.string(), - projects: types.optional(z.array(types.string())), - scopes: z.array(types.string()), - slug: types.string(), - source: types.optional( - GetConfigurationsResponseBodyIntegrationsSource$inboundSchema, - ), - status: types.optional( - GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema, - ), - teamId: z.nullable(types.string()).optional(), - type: GetConfigurationsResponseBodyIntegrationsType$inboundSchema, - updatedAt: types.number(), - userId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), + completedAt: types.optional(types.number()), + createdAt: types.number(), + customerDeleteRequestedAt: z.nullable(types.number()).optional(), + deletedAt: z.nullable(types.number()).optional(), + deleteRequestedAt: z.nullable(types.number()).optional(), + disabledAt: types.optional(types.number()), + disabledReason: types.optional( + GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema, + ), + externalId: types.optional(types.string()), + id: types.string(), + installationType: types.optional( + GetConfigurationsResponseBodyInstallationType$inboundSchema, + ), + integration: z.lazy(() => ResponseBodyIntegration$inboundSchema), + integrationId: types.string(), + ownerId: types.string(), + projects: types.optional(z.array(types.string())), + scopes: z.array(types.string()), + slug: types.string(), + source: types.optional( + GetConfigurationsResponseBodyIntegrationsSource$inboundSchema, + ), + status: types.optional( + GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema, + ), + teamId: z.nullable(types.string()).optional(), + type: GetConfigurationsResponseBodyIntegrationsType$inboundSchema, + updatedAt: types.number(), + userId: types.string(), + }) +); export function getConfigurationsResponseBody2FromJSON( jsonString: string, @@ -560,60 +575,74 @@ export function getConfigurationsResponseBody2FromJSON( /** @internal */ export const GetConfigurationsResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationsResponseBodyDisabledReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyDisabledReason) + ); /** @internal */ export const ResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyInstallationType -> = z.nativeEnum(ResponseBodyInstallationType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyInstallationType) +); /** @internal */ export const GetConfigurationsResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationsResponseBodySource -> = z.nativeEnum(GetConfigurationsResponseBodySource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodySource) +); /** @internal */ export const GetConfigurationsResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationsResponseBodyStatus -> = z.nativeEnum(GetConfigurationsResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyStatus) +); /** @internal */ export const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationsResponseBodyType -> = z.nativeEnum(GetConfigurationsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationsResponseBodyType) +); /** @internal */ export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType< GetConfigurationsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), - completedAt: types.optional(types.number()), - createdAt: types.optional(types.number()), - customerDeleteRequestedAt: z.nullable(types.number()).optional(), - deletedAt: z.nullable(types.number()).optional(), - deleteRequestedAt: z.nullable(types.number()).optional(), - disabledAt: types.optional(types.number()), - disabledReason: types.optional( - GetConfigurationsResponseBodyDisabledReason$inboundSchema, - ), - externalId: types.optional(types.string()), - id: types.optional(types.string()), - installationType: types.optional(ResponseBodyInstallationType$inboundSchema), - integrationId: types.optional(types.string()), - ownerId: types.optional(types.string()), - projects: types.optional(z.array(types.string())), - scopes: types.optional(z.array(types.string())), - slug: types.optional(types.string()), - source: types.optional(GetConfigurationsResponseBodySource$inboundSchema), - status: types.optional(GetConfigurationsResponseBodyStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - type: types.optional(GetConfigurationsResponseBodyType$inboundSchema), - updatedAt: types.optional(types.number()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedPoliciesInheritedFromInstallationId: types.optional(types.string()), + completedAt: types.optional(types.number()), + createdAt: types.optional(types.number()), + customerDeleteRequestedAt: z.nullable(types.number()).optional(), + deletedAt: z.nullable(types.number()).optional(), + deleteRequestedAt: z.nullable(types.number()).optional(), + disabledAt: types.optional(types.number()), + disabledReason: types.optional( + GetConfigurationsResponseBodyDisabledReason$inboundSchema, + ), + externalId: types.optional(types.string()), + id: types.optional(types.string()), + installationType: types.optional( + ResponseBodyInstallationType$inboundSchema, + ), + integrationId: types.optional(types.string()), + ownerId: types.optional(types.string()), + projects: types.optional(z.array(types.string())), + scopes: types.optional(z.array(types.string())), + slug: types.optional(types.string()), + source: types.optional(GetConfigurationsResponseBodySource$inboundSchema), + status: types.optional(GetConfigurationsResponseBodyStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + type: types.optional(GetConfigurationsResponseBodyType$inboundSchema), + updatedAt: types.optional(types.number()), + userId: types.optional(types.string()), + }) +); export function getConfigurationsResponseBody1FromJSON( jsonString: string, @@ -630,10 +659,12 @@ export const GetConfigurationsResponseBody$inboundSchema: z.ZodType< GetConfigurationsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetConfigurationsResponseBody1$inboundSchema)), - z.array(z.lazy(() => GetConfigurationsResponseBody2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetConfigurationsResponseBody1$inboundSchema)), + z.array(z.lazy(() => GetConfigurationsResponseBody2$inboundSchema)), + ]) +); export function getConfigurationsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getconnectorop.ts b/src/models/getconnectorop.ts index db3866b76d..374ae03ced 100644 --- a/src/models/getconnectorop.ts +++ b/src/models/getconnectorop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetConnectorRequest = { /** @@ -31,11 +32,13 @@ export const GetConnectorRequest$outboundSchema: z.ZodType< GetConnectorRequest$Outbound, z.ZodTypeDef, GetConnectorRequest -> = z.object({ - connector: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConnectorRequestToJSON( getConnectorRequest: GetConnectorRequest, diff --git a/src/models/getconnectorprojectconnectionop.ts b/src/models/getconnectorprojectconnectionop.ts index 7a27be9a7c..968f90e0c2 100644 --- a/src/models/getconnectorprojectconnectionop.ts +++ b/src/models/getconnectorprojectconnectionop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetConnectorProjectConnectionRequest = { /** @@ -36,12 +37,14 @@ export const GetConnectorProjectConnectionRequest$outboundSchema: z.ZodType< GetConnectorProjectConnectionRequest$Outbound, z.ZodTypeDef, GetConnectorProjectConnectionRequest -> = z.object({ - connector: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConnectorProjectConnectionRequestToJSON( getConnectorProjectConnectionRequest: GetConnectorProjectConnectionRequest, diff --git a/src/models/getcontactinfoschemaop.ts b/src/models/getcontactinfoschemaop.ts index 0f7c7e408b..9089cba4fb 100644 --- a/src/models/getcontactinfoschemaop.ts +++ b/src/models/getcontactinfoschemaop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { BadRequest, BadRequest$inboundSchema } from "./badrequest.js"; @@ -41,10 +41,12 @@ export const GetContactInfoSchemaRequest$outboundSchema: z.ZodType< GetContactInfoSchemaRequest$Outbound, z.ZodTypeDef, GetContactInfoSchemaRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + }) +); export function getContactInfoSchemaRequestToJSON( getContactInfoSchemaRequest: GetContactInfoSchemaRequest, @@ -62,7 +64,9 @@ export const GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema: GetContactInfoSchemaDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = smartUnion([BadRequest$inboundSchema, HttpApiDecodeError$inboundSchema]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([BadRequest$inboundSchema, HttpApiDecodeError$inboundSchema]) + ); export function getContactInfoSchemaDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -85,7 +89,7 @@ export const GetContactInfoSchemaResponseBody$inboundSchema: z.ZodType< GetContactInfoSchemaResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getContactInfoSchemaResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getcustomenvironmentop.ts b/src/models/getcustomenvironmentop.ts index 78f8d7569f..5b2993eaeb 100644 --- a/src/models/getcustomenvironmentop.ts +++ b/src/models/getcustomenvironmentop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -160,12 +160,14 @@ export const GetCustomEnvironmentRequest$outboundSchema: z.ZodType< GetCustomEnvironmentRequest$Outbound, z.ZodTypeDef, GetCustomEnvironmentRequest -> = z.object({ - idOrName: z.string(), - environmentSlugOrId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + environmentSlugOrId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getCustomEnvironmentRequestToJSON( getCustomEnvironmentRequest: GetCustomEnvironmentRequest, @@ -180,17 +182,21 @@ export function getCustomEnvironmentRequestToJSON( /** @internal */ export const GetCustomEnvironmentEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetCustomEnvironmentEnvironmentType -> = z.nativeEnum(GetCustomEnvironmentEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetCustomEnvironmentEnvironmentType) +); /** @internal */ export const GetCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< GetCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: GetCustomEnvironmentEnvironmentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: GetCustomEnvironmentEnvironmentType$inboundSchema, + }) +); export function getCustomEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -207,12 +213,14 @@ export const GetCustomEnvironmentVerification$inboundSchema: z.ZodType< GetCustomEnvironmentVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -229,21 +237,23 @@ export const GetCustomEnvironmentDomains$inboundSchema: z.ZodType< GetCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => GetCustomEnvironmentVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => GetCustomEnvironmentVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function getCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -258,28 +268,30 @@ export function getCustomEnvironmentDomainsFromJSON( /** @internal */ export const GetCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetCustomEnvironmentType -> = z.nativeEnum(GetCustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetCustomEnvironmentType)); /** @internal */ export const GetCustomEnvironmentResponseBody$inboundSchema: z.ZodType< GetCustomEnvironmentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => GetCustomEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => GetCustomEnvironmentDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: GetCustomEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => GetCustomEnvironmentBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => GetCustomEnvironmentDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: GetCustomEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function getCustomEnvironmentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdeploymentcheckrunop.ts b/src/models/getdeploymentcheckrunop.ts index 799ed4323a..d4a6c31db0 100644 --- a/src/models/getdeploymentcheckrunop.ts +++ b/src/models/getdeploymentcheckrunop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -397,12 +397,14 @@ export const GetDeploymentCheckRunRequest$outboundSchema: z.ZodType< GetDeploymentCheckRunRequest$Outbound, z.ZodTypeDef, GetDeploymentCheckRunRequest -> = z.object({ - deploymentId: z.string(), - checkRunId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + checkRunId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentCheckRunRequestToJSON( getDeploymentCheckRunRequest: GetDeploymentCheckRunRequest, @@ -416,13 +418,17 @@ export function getDeploymentCheckRunRequestToJSON( /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Blocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Blocks) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Conclusion); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Conclusion) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundSchema: @@ -430,12 +436,14 @@ export const GetDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundSche GetDeploymentCheckRunResponseBodyChecksV2ExpectationRef, z.ZodTypeDef, unknown - > = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) + ); export function getDeploymentCheckRunResponseBodyChecksV2ExpectationRefFromJSON( jsonString: string, @@ -454,13 +462,17 @@ export function getDeploymentCheckRunResponseBodyChecksV2ExpectationRefFromJSON( /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Requires); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Requires) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Status); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyChecksV2Status) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSchema: @@ -468,12 +480,14 @@ export const GetDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSchema: GetDeploymentCheckRunResponseBodyChecksV2TaskSummary, z.ZodTypeDef, unknown - > = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) + ); export function getDeploymentCheckRunResponseBodyChecksV2TaskSummaryFromJSON( jsonString: string, @@ -495,17 +509,22 @@ export function getDeploymentCheckRunResponseBodyChecksV2TaskSummaryFromJSON( export const GetDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCheckRunSourceChecksV2Response200SubKind - > = z.nativeEnum(GetDeploymentCheckRunSourceChecksV2Response200SubKind); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2Response200SubKind) + ); /** @internal */ export const GetDeploymentCheckRunSourceChecksV22$inboundSchema: z.ZodType< GetDeploymentCheckRunSourceChecksV22, z.ZodTypeDef, unknown -> = z.object({ - origin: types.literal("platform"), - subKind: GetDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.literal("platform"), + subKind: + GetDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema, + }) +); export function getDeploymentCheckRunSourceChecksV22FromJSON( jsonString: string, @@ -520,21 +539,25 @@ export function getDeploymentCheckRunSourceChecksV22FromJSON( /** @internal */ export const GetDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunSourceChecksV2ResponseSubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2ResponseSubKind) + ); /** @internal */ export const GetDeploymentCheckRunSourceChecksV21$inboundSchema: z.ZodType< GetDeploymentCheckRunSourceChecksV21, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.optional(types.number()), - invocationId: types.string(), - jobDefinitionId: types.string(), - origin: types.literal("config"), - subKind: GetDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.optional(types.number()), + invocationId: types.string(), + jobDefinitionId: types.string(), + origin: types.literal("config"), + subKind: GetDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema, + }) +); export function getDeploymentCheckRunSourceChecksV21FromJSON( jsonString: string, @@ -553,10 +576,12 @@ export const GetDeploymentCheckRunResponseBodyChecksV2Source$inboundSchema: GetDeploymentCheckRunResponseBodyChecksV2Source, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSourceChecksV22$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSourceChecksV22$inboundSchema), + ]) + ); export function getDeploymentCheckRunResponseBodyChecksV2SourceFromJSON( jsonString: string, @@ -579,48 +604,48 @@ export const GetDeploymentCheckRunResponseBody2$inboundSchema: z.ZodType< GetDeploymentCheckRunResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional( - GetDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema, - ), - completedAt: types.optional(types.number()), - conclusion: types.optional( - GetDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + GetDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional( + GetDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional(z.lazy(() => GetDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundSchema + )), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + GetDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema, ), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - GetDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: GetDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => + startedAt: types.optional(types.number()), + status: GetDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => GetDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSchema - ), - ), - timeout: types.number(), - updatedAt: types.number(), - source: z.union([ - z.lazy(() => GetDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSourceChecksV22$inboundSchema), - ]), -}); + )), + timeout: types.number(), + updatedAt: types.number(), + source: z.union([ + z.lazy(() => GetDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => + GetDeploymentCheckRunSourceChecksV22$inboundSchema + ), + ]), + }) +); export function getDeploymentCheckRunResponseBody2FromJSON( jsonString: string, @@ -635,13 +660,17 @@ export function getDeploymentCheckRunResponseBody2FromJSON( /** @internal */ export const GetDeploymentCheckRunResponseBodyBlocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyBlocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyBlocks) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyConclusion) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyExpectationRef$inboundSchema: @@ -649,12 +678,14 @@ export const GetDeploymentCheckRunResponseBodyExpectationRef$inboundSchema: GetDeploymentCheckRunResponseBodyExpectationRef, z.ZodTypeDef, unknown - > = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) + ); export function getDeploymentCheckRunResponseBodyExpectationRefFromJSON( jsonString: string, @@ -674,13 +705,17 @@ export function getDeploymentCheckRunResponseBodyExpectationRefFromJSON( /** @internal */ export const GetDeploymentCheckRunResponseBodyRequires$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyRequires); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyRequires) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunResponseBodyStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunResponseBodyStatus) + ); /** @internal */ export const GetDeploymentCheckRunResponseBodyTaskSummary$inboundSchema: @@ -688,12 +723,14 @@ export const GetDeploymentCheckRunResponseBodyTaskSummary$inboundSchema: GetDeploymentCheckRunResponseBodyTaskSummary, z.ZodTypeDef, unknown - > = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) + ); export function getDeploymentCheckRunResponseBodyTaskSummaryFromJSON( jsonString: string, @@ -713,25 +750,29 @@ export function getDeploymentCheckRunResponseBodyTaskSummaryFromJSON( /** @internal */ export const GetDeploymentCheckRunSourceChecksV2Origin$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunSourceChecksV2Origin); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2Origin) + ); /** @internal */ export const SelectionJob$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(SelectionJob); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SelectionJob)); /** @internal */ export const GetDeploymentCheckRunSelection3$inboundSchema: z.ZodType< GetDeploymentCheckRunSelection3, z.ZodTypeDef, unknown -> = z.object({ - failIfNoMatch: types.optional(types.boolean()), - filters: z.array(types.string()), - job: SelectionJob$inboundSchema, - kind: types.literal("turborepo"), - task: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failIfNoMatch: types.optional(types.boolean()), + filters: z.array(types.string()), + job: SelectionJob$inboundSchema, + kind: types.literal("turborepo"), + task: types.string(), + }) +); export function getDeploymentCheckRunSelection3FromJSON( jsonString: string, @@ -748,9 +789,11 @@ export const GetDeploymentCheckRunSelection2$inboundSchema: z.ZodType< GetDeploymentCheckRunSelection2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + }) +); export function getDeploymentCheckRunSelection2FromJSON( jsonString: string, @@ -767,9 +810,11 @@ export const GetDeploymentCheckRunSelection1$inboundSchema: z.ZodType< GetDeploymentCheckRunSelection1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("invocation"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("invocation"), + }) +); export function getDeploymentCheckRunSelection1FromJSON( jsonString: string, @@ -786,11 +831,13 @@ export const SourceSelection$inboundSchema: z.ZodType< SourceSelection, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentCheckRunSelection1$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSelection2$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSelection3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentCheckRunSelection1$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSelection2$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSelection3$inboundSchema), + ]) +); export function sourceSelectionFromJSON( jsonString: string, @@ -804,23 +851,27 @@ export function sourceSelectionFromJSON( /** @internal */ export const GetDeploymentCheckRunSourceChecksV2SubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunSourceChecksV2SubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2SubKind) + ); /** @internal */ export const GetDeploymentCheckRunSource5$inboundSchema: z.ZodType< GetDeploymentCheckRunSource5, z.ZodTypeDef, unknown -> = z.object({ - origin: GetDeploymentCheckRunSourceChecksV2Origin$inboundSchema, - selection: z.union([ - z.lazy(() => GetDeploymentCheckRunSelection1$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSelection2$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSelection3$inboundSchema), - ]), - subKind: GetDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: GetDeploymentCheckRunSourceChecksV2Origin$inboundSchema, + selection: z.union([ + z.lazy(() => GetDeploymentCheckRunSelection1$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSelection2$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSelection3$inboundSchema), + ]), + subKind: GetDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, + }) +); export function getDeploymentCheckRunSource5FromJSON( jsonString: string, @@ -835,22 +886,28 @@ export function getDeploymentCheckRunSource5FromJSON( /** @internal */ export const GetDeploymentCheckRunSourceOrigin$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCheckRunSourceOrigin -> = z.nativeEnum(GetDeploymentCheckRunSourceOrigin); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceOrigin) +); /** @internal */ export const GetDeploymentCheckRunSourceSubKind$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCheckRunSourceSubKind -> = z.nativeEnum(GetDeploymentCheckRunSourceSubKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceSubKind) +); /** @internal */ export const GetDeploymentCheckRunSource4$inboundSchema: z.ZodType< GetDeploymentCheckRunSource4, z.ZodTypeDef, unknown -> = z.object({ - origin: types.optional(GetDeploymentCheckRunSourceOrigin$inboundSchema), - subKind: types.optional(GetDeploymentCheckRunSourceSubKind$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.optional(GetDeploymentCheckRunSourceOrigin$inboundSchema), + subKind: types.optional(GetDeploymentCheckRunSourceSubKind$inboundSchema), + }) +); export function getDeploymentCheckRunSource4FromJSON( jsonString: string, @@ -864,24 +921,30 @@ export function getDeploymentCheckRunSource4FromJSON( /** @internal */ export const GetDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunSourceChecksV2ResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2ResponseKind) + ); /** @internal */ export const GetDeploymentCheckRunSourceProvider$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCheckRunSourceProvider -> = z.nativeEnum(GetDeploymentCheckRunSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceProvider) +); /** @internal */ export const GetDeploymentCheckRunSource3$inboundSchema: z.ZodType< GetDeploymentCheckRunSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: GetDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, - provider: GetDeploymentCheckRunSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: GetDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, + provider: GetDeploymentCheckRunSourceProvider$inboundSchema, + }) +); export function getDeploymentCheckRunSource3FromJSON( jsonString: string, @@ -895,18 +958,22 @@ export function getDeploymentCheckRunSource3FromJSON( /** @internal */ export const GetDeploymentCheckRunSourceChecksV2Kind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCheckRunSourceChecksV2Kind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceChecksV2Kind) + ); /** @internal */ export const GetDeploymentCheckRunSource2$inboundSchema: z.ZodType< GetDeploymentCheckRunSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDeploymentCheckRunSourceChecksV2Kind$inboundSchema, - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDeploymentCheckRunSourceChecksV2Kind$inboundSchema, + webhookId: types.optional(types.string()), + }) +); export function getDeploymentCheckRunSource2FromJSON( jsonString: string, @@ -921,20 +988,24 @@ export function getDeploymentCheckRunSource2FromJSON( /** @internal */ export const GetDeploymentCheckRunSourceKind$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCheckRunSourceKind -> = z.nativeEnum(GetDeploymentCheckRunSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCheckRunSourceKind) +); /** @internal */ export const GetDeploymentCheckRunSource1$inboundSchema: z.ZodType< GetDeploymentCheckRunSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: GetDeploymentCheckRunSourceKind$inboundSchema, - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: GetDeploymentCheckRunSourceKind$inboundSchema, + resourceId: types.optional(types.string()), + }) +); export function getDeploymentCheckRunSource1FromJSON( jsonString: string, @@ -951,13 +1022,15 @@ export const GetDeploymentCheckRunResponseBodySource$inboundSchema: z.ZodType< GetDeploymentCheckRunResponseBodySource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource5$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource3$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource5$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource4$inboundSchema), + ]) +); export function getDeploymentCheckRunResponseBodySourceFromJSON( jsonString: string, @@ -980,46 +1053,52 @@ export const GetDeploymentCheckRunResponseBody1$inboundSchema: z.ZodType< GetDeploymentCheckRunResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional(GetDeploymentCheckRunResponseBodyBlocks$inboundSchema), - completedAt: types.optional(types.number()), - conclusion: types.optional( - GetDeploymentCheckRunResponseBodyConclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => GetDeploymentCheckRunResponseBodyExpectationRef$inboundSchema), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - GetDeploymentCheckRunResponseBodyRequires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: GetDeploymentCheckRunResponseBodyStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => GetDeploymentCheckRunResponseBodyTaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - checkId: types.string(), - source: smartUnion([ - z.lazy(() => GetDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource5$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => GetDeploymentCheckRunSource4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + GetDeploymentCheckRunResponseBodyBlocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional( + GetDeploymentCheckRunResponseBodyConclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional( + z.lazy(() => + GetDeploymentCheckRunResponseBodyExpectationRef$inboundSchema + ), + ), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + GetDeploymentCheckRunResponseBodyRequires$inboundSchema, + ), + startedAt: types.optional(types.number()), + status: GetDeploymentCheckRunResponseBodyStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional( + z.lazy(() => GetDeploymentCheckRunResponseBodyTaskSummary$inboundSchema), + ), + timeout: types.number(), + updatedAt: types.number(), + checkId: types.string(), + source: smartUnion([ + z.lazy(() => GetDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource3$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource5$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => GetDeploymentCheckRunSource4$inboundSchema), + ]), + }) +); export function getDeploymentCheckRunResponseBody1FromJSON( jsonString: string, @@ -1037,10 +1116,12 @@ export const GetDeploymentCheckRunResponseBody$inboundSchema: z.ZodType< GetDeploymentCheckRunResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentCheckRunResponseBody1$inboundSchema), - z.lazy(() => GetDeploymentCheckRunResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentCheckRunResponseBody1$inboundSchema), + z.lazy(() => GetDeploymentCheckRunResponseBody2$inboundSchema), + ]) +); export function getDeploymentCheckRunResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdeploymenteventsop.ts b/src/models/getdeploymenteventsop.ts index 2703fa5994..c81c4bdd6f 100644 --- a/src/models/getdeploymenteventsop.ts +++ b/src/models/getdeploymenteventsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -710,7 +710,7 @@ export type GetDeploymentEventsResponse = /** @internal */ export const QueryParamDirection$outboundSchema: z.ZodNativeEnum< typeof QueryParamDirection -> = z.nativeEnum(QueryParamDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamDirection)); /** @internal */ export type QueryParamStatusCode$Outbound = number | string; @@ -720,7 +720,7 @@ export const QueryParamStatusCode$outboundSchema: z.ZodType< QueryParamStatusCode$Outbound, z.ZodTypeDef, QueryParamStatusCode -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function queryParamStatusCodeToJSON( queryParamStatusCode: QueryParamStatusCode, @@ -751,20 +751,22 @@ export const GetDeploymentEventsRequest$outboundSchema: z.ZodType< GetDeploymentEventsRequest$Outbound, z.ZodTypeDef, GetDeploymentEventsRequest -> = z.object({ - idOrUrl: z.string(), - direction: QueryParamDirection$outboundSchema.default("forward"), - follow: z.number().optional(), - limit: z.number().optional(), - name: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - statusCode: smartUnion([z.number(), z.string()]).optional(), - delimiter: z.number().optional(), - builds: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrUrl: z.string(), + direction: QueryParamDirection$outboundSchema.default("forward"), + follow: z.number().optional(), + limit: z.number().optional(), + name: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + statusCode: smartUnion([z.number(), z.string()]).optional(), + delimiter: z.number().optional(), + builds: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentEventsRequestToJSON( getDeploymentEventsRequest: GetDeploymentEventsRequest, @@ -778,8 +780,10 @@ export function getDeploymentEventsRequestToJSON( export const GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType - > = z.nativeEnum( - GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType, + ) ); /** @internal */ @@ -787,10 +791,12 @@ export const ThreeAliasError$inboundSchema: z.ZodType< ThreeAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function threeAliasErrorFromJSON( jsonString: string, @@ -807,12 +813,14 @@ export const ThreeAliasWarning$inboundSchema: z.ZodType< ThreeAliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function threeAliasWarningFromJSON( jsonString: string, @@ -829,15 +837,17 @@ export const GetDeploymentEvents33$inboundSchema: z.ZodType< GetDeploymentEvents33, z.ZodTypeDef, unknown -> = z.object({ - date: types.number(), - deploymentId: types.string(), - type: - GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType$inboundSchema, - alias: z.array(types.string()), - aliasError: types.nullable(z.lazy(() => ThreeAliasError$inboundSchema)), - aliasWarning: types.nullable(z.lazy(() => ThreeAliasWarning$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.number(), + deploymentId: types.string(), + type: + GetDeploymentEvents3DeploymentsResponse200ApplicationStreamPlusJsonType$inboundSchema, + alias: z.array(types.string()), + aliasError: types.nullable(z.lazy(() => ThreeAliasError$inboundSchema)), + aliasWarning: types.nullable(z.lazy(() => ThreeAliasWarning$inboundSchema)), + }) +); export function getDeploymentEvents33FromJSON( jsonString: string, @@ -854,15 +864,17 @@ export const GetDeploymentEvents3Info$inboundSchema: z.ZodType< GetDeploymentEvents3Info, z.ZodTypeDef, unknown -> = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) +); export function getDeploymentEvents3InfoFromJSON( jsonString: string, @@ -877,29 +889,33 @@ export function getDeploymentEvents3InfoFromJSON( /** @internal */ export const GetDeploymentEvents3Level$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3Level -> = z.nativeEnum(GetDeploymentEvents3Level); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentEvents3Level)); /** @internal */ export const GetDeploymentEvents3DeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentEvents3DeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEvents3DeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentEvents32$inboundSchema: z.ZodType< GetDeploymentEvents32, z.ZodTypeDef, unknown -> = z.object({ - created: types.number(), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: z.lazy(() => GetDeploymentEvents3Info$inboundSchema), - level: types.optional(GetDeploymentEvents3Level$inboundSchema), - serial: types.string(), - text: types.optional(types.string()), - type: GetDeploymentEvents3DeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: z.lazy(() => GetDeploymentEvents3Info$inboundSchema), + level: types.optional(GetDeploymentEvents3Level$inboundSchema), + serial: types.string(), + text: types.optional(types.string()), + type: GetDeploymentEvents3DeploymentsResponse200Type$inboundSchema, + }) +); export function getDeploymentEvents32FromJSON( jsonString: string, @@ -916,15 +932,17 @@ export const GetDeploymentEvents3DeploymentsInfo$inboundSchema: z.ZodType< GetDeploymentEvents3DeploymentsInfo, z.ZodTypeDef, unknown -> = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) +); export function getDeploymentEvents3DeploymentsInfoFromJSON( jsonString: string, @@ -940,39 +958,45 @@ export function getDeploymentEvents3DeploymentsInfoFromJSON( /** @internal */ export const GetDeploymentEvents3VercelCache$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3VercelCache -> = z.nativeEnum(GetDeploymentEvents3VercelCache); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEvents3VercelCache) +); /** @internal */ export const GetDeploymentEvents3WafAction$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3WafAction -> = z.nativeEnum(GetDeploymentEvents3WafAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEvents3WafAction) +); /** @internal */ export const GetDeploymentEvents3Proxy$inboundSchema: z.ZodType< GetDeploymentEvents3Proxy, z.ZodTypeDef, unknown -> = z.object({ - cacheId: types.optional(types.string()), - clientIp: types.optional(types.string()), - host: types.string(), - lambdaRegion: types.optional(types.string()), - method: types.string(), - path: types.optional(types.string()), - pathType: types.optional(types.string()), - pathTypeVariant: types.optional(types.string()), - referer: types.optional(types.string()), - region: types.optional(types.string()), - responseByteSize: types.optional(types.number()), - scheme: types.optional(types.string()), - statusCode: types.optional(types.number()), - timestamp: types.number(), - userAgent: types.optional(z.array(types.string())), - vercelCache: types.optional(GetDeploymentEvents3VercelCache$inboundSchema), - vercelId: types.optional(types.string()), - wafAction: types.optional(GetDeploymentEvents3WafAction$inboundSchema), - wafRuleId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cacheId: types.optional(types.string()), + clientIp: types.optional(types.string()), + host: types.string(), + lambdaRegion: types.optional(types.string()), + method: types.string(), + path: types.optional(types.string()), + pathType: types.optional(types.string()), + pathTypeVariant: types.optional(types.string()), + referer: types.optional(types.string()), + region: types.optional(types.string()), + responseByteSize: types.optional(types.number()), + scheme: types.optional(types.string()), + statusCode: types.optional(types.number()), + timestamp: types.number(), + userAgent: types.optional(z.array(types.string())), + vercelCache: types.optional(GetDeploymentEvents3VercelCache$inboundSchema), + vercelId: types.optional(types.string()), + wafAction: types.optional(GetDeploymentEvents3WafAction$inboundSchema), + wafRuleId: types.optional(types.string()), + }) +); export function getDeploymentEvents3ProxyFromJSON( jsonString: string, @@ -989,20 +1013,24 @@ export const GetDeploymentEvents3Payload$inboundSchema: z.ZodType< GetDeploymentEvents3Payload, z.ZodTypeDef, unknown -> = z.object({ - created: types.optional(types.number()), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: types.optional( - z.lazy(() => GetDeploymentEvents3DeploymentsInfo$inboundSchema), - ), - proxy: types.optional(z.lazy(() => GetDeploymentEvents3Proxy$inboundSchema)), - requestId: types.optional(types.string()), - serial: types.string(), - statusCode: types.optional(types.number()), - text: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.optional(types.number()), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: types.optional( + z.lazy(() => GetDeploymentEvents3DeploymentsInfo$inboundSchema), + ), + proxy: types.optional( + z.lazy(() => GetDeploymentEvents3Proxy$inboundSchema), + ), + requestId: types.optional(types.string()), + serial: types.string(), + statusCode: types.optional(types.number()), + text: types.optional(types.string()), + }) +); export function getDeploymentEvents3PayloadFromJSON( jsonString: string, @@ -1016,19 +1044,23 @@ export function getDeploymentEvents3PayloadFromJSON( /** @internal */ export const GetDeploymentEvents3DeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentEvents3DeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEvents3DeploymentsResponseType) + ); /** @internal */ export const GetDeploymentEvents31$inboundSchema: z.ZodType< GetDeploymentEvents31, z.ZodTypeDef, unknown -> = z.object({ - created: types.number(), - payload: z.lazy(() => GetDeploymentEvents3Payload$inboundSchema), - type: GetDeploymentEvents3DeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + payload: z.lazy(() => GetDeploymentEvents3Payload$inboundSchema), + type: GetDeploymentEvents3DeploymentsResponseType$inboundSchema, + }) +); export function getDeploymentEvents31FromJSON( jsonString: string, @@ -1046,11 +1078,13 @@ export const GetDeploymentEventsResponseBodyDeployments3$inboundSchema: GetDeploymentEventsResponseBodyDeployments3, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetDeploymentEvents32$inboundSchema), - z.lazy(() => GetDeploymentEvents33$inboundSchema), - z.lazy(() => GetDeploymentEvents31$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentEvents32$inboundSchema), + z.lazy(() => GetDeploymentEvents33$inboundSchema), + z.lazy(() => GetDeploymentEvents31$inboundSchema), + ]) + ); export function getDeploymentEventsResponseBodyDeployments3FromJSON( jsonString: string, @@ -1073,15 +1107,17 @@ export const ResponseBodyInfo$inboundSchema: z.ZodType< ResponseBodyInfo, z.ZodTypeDef, unknown -> = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) +); export function responseBodyInfoFromJSON( jsonString: string, @@ -1096,13 +1132,15 @@ export function responseBodyInfoFromJSON( /** @internal */ export const ResponseBodyLevel$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyLevel -> = z.nativeEnum(ResponseBodyLevel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyLevel)); /** @internal */ export const GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEventsResponseBodyDeploymentsResponseType - > = z.nativeEnum(GetDeploymentEventsResponseBodyDeploymentsResponseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEventsResponseBodyDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentEventsResponseBodyDeployments2$inboundSchema: @@ -1110,17 +1148,20 @@ export const GetDeploymentEventsResponseBodyDeployments2$inboundSchema: GetDeploymentEventsResponseBodyDeployments2, z.ZodTypeDef, unknown - > = z.object({ - created: types.number(), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: z.lazy(() => ResponseBodyInfo$inboundSchema), - level: types.optional(ResponseBodyLevel$inboundSchema), - serial: types.string(), - text: types.optional(types.string()), - type: GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: z.lazy(() => ResponseBodyInfo$inboundSchema), + level: types.optional(ResponseBodyLevel$inboundSchema), + serial: types.string(), + text: types.optional(types.string()), + type: + GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema, + }) + ); export function getDeploymentEventsResponseBodyDeployments2FromJSON( jsonString: string, @@ -1143,15 +1184,17 @@ export const GetDeploymentEventsResponseBodyInfo$inboundSchema: z.ZodType< GetDeploymentEventsResponseBodyInfo, z.ZodTypeDef, unknown -> = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) +); export function getDeploymentEventsResponseBodyInfoFromJSON( jsonString: string, @@ -1167,39 +1210,41 @@ export function getDeploymentEventsResponseBodyInfoFromJSON( /** @internal */ export const ResponseBodyVercelCache$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyVercelCache -> = z.nativeEnum(ResponseBodyVercelCache); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyVercelCache)); /** @internal */ export const ResponseBodyWafAction$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyWafAction -> = z.nativeEnum(ResponseBodyWafAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyWafAction)); /** @internal */ export const ResponseBodyProxy$inboundSchema: z.ZodType< ResponseBodyProxy, z.ZodTypeDef, unknown -> = z.object({ - cacheId: types.optional(types.string()), - clientIp: types.optional(types.string()), - host: types.string(), - lambdaRegion: types.optional(types.string()), - method: types.string(), - path: types.optional(types.string()), - pathType: types.optional(types.string()), - pathTypeVariant: types.optional(types.string()), - referer: types.optional(types.string()), - region: types.optional(types.string()), - responseByteSize: types.optional(types.number()), - scheme: types.optional(types.string()), - statusCode: types.optional(types.number()), - timestamp: types.number(), - userAgent: types.optional(z.array(types.string())), - vercelCache: types.optional(ResponseBodyVercelCache$inboundSchema), - vercelId: types.optional(types.string()), - wafAction: types.optional(ResponseBodyWafAction$inboundSchema), - wafRuleId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cacheId: types.optional(types.string()), + clientIp: types.optional(types.string()), + host: types.string(), + lambdaRegion: types.optional(types.string()), + method: types.string(), + path: types.optional(types.string()), + pathType: types.optional(types.string()), + pathTypeVariant: types.optional(types.string()), + referer: types.optional(types.string()), + region: types.optional(types.string()), + responseByteSize: types.optional(types.number()), + scheme: types.optional(types.string()), + statusCode: types.optional(types.number()), + timestamp: types.number(), + userAgent: types.optional(z.array(types.string())), + vercelCache: types.optional(ResponseBodyVercelCache$inboundSchema), + vercelId: types.optional(types.string()), + wafAction: types.optional(ResponseBodyWafAction$inboundSchema), + wafRuleId: types.optional(types.string()), + }) +); export function responseBodyProxyFromJSON( jsonString: string, @@ -1216,20 +1261,22 @@ export const ResponseBodyPayload$inboundSchema: z.ZodType< ResponseBodyPayload, z.ZodTypeDef, unknown -> = z.object({ - created: types.optional(types.number()), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: types.optional( - z.lazy(() => GetDeploymentEventsResponseBodyInfo$inboundSchema), - ), - proxy: types.optional(z.lazy(() => ResponseBodyProxy$inboundSchema)), - requestId: types.optional(types.string()), - serial: types.string(), - statusCode: types.optional(types.number()), - text: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.optional(types.number()), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: types.optional( + z.lazy(() => GetDeploymentEventsResponseBodyInfo$inboundSchema), + ), + proxy: types.optional(z.lazy(() => ResponseBodyProxy$inboundSchema)), + requestId: types.optional(types.string()), + serial: types.string(), + statusCode: types.optional(types.number()), + text: types.optional(types.string()), + }) +); export function responseBodyPayloadFromJSON( jsonString: string, @@ -1243,8 +1290,10 @@ export function responseBodyPayloadFromJSON( /** @internal */ export const GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentEventsResponseBodyDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEventsResponseBodyDeploymentsType) + ); /** @internal */ export const GetDeploymentEventsResponseBodyDeployments1$inboundSchema: @@ -1252,11 +1301,13 @@ export const GetDeploymentEventsResponseBodyDeployments1$inboundSchema: GetDeploymentEventsResponseBodyDeployments1, z.ZodTypeDef, unknown - > = z.object({ - created: types.number(), - payload: z.lazy(() => ResponseBodyPayload$inboundSchema), - type: GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + payload: z.lazy(() => ResponseBodyPayload$inboundSchema), + type: GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema, + }) + ); export function getDeploymentEventsResponseBodyDeployments1FromJSON( jsonString: string, @@ -1279,15 +1330,17 @@ export const GetDeploymentEventsResponseBody$inboundSchema: z.ZodType< GetDeploymentEventsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentEventsResponseBodyDeployments2$inboundSchema), - z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => GetDeploymentEvents32$inboundSchema), - z.lazy(() => GetDeploymentEvents33$inboundSchema), - z.lazy(() => GetDeploymentEvents31$inboundSchema), - ]), -]); + z.lazy(() => GetDeploymentEventsResponseBodyDeployments2$inboundSchema), + z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$inboundSchema), + smartUnion([ + z.lazy(() => GetDeploymentEvents32$inboundSchema), + z.lazy(() => GetDeploymentEvents33$inboundSchema), + z.lazy(() => GetDeploymentEvents31$inboundSchema), + ]), + ]) +); export function getDeploymentEventsResponseBodyFromJSON( jsonString: string, @@ -1302,17 +1355,21 @@ export function getDeploymentEventsResponseBodyFromJSON( /** @internal */ export const GetDeploymentEvents3DeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3DeploymentsType -> = z.nativeEnum(GetDeploymentEvents3DeploymentsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEvents3DeploymentsType) +); /** @internal */ export const GetDeploymentEvents3AliasError$inboundSchema: z.ZodType< GetDeploymentEvents3AliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getDeploymentEvents3AliasErrorFromJSON( jsonString: string, @@ -1329,12 +1386,14 @@ export const GetDeploymentEvents3AliasWarning$inboundSchema: z.ZodType< GetDeploymentEvents3AliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function getDeploymentEvents3AliasWarningFromJSON( jsonString: string, @@ -1347,19 +1406,21 @@ export function getDeploymentEvents3AliasWarningFromJSON( } /** @internal */ -export const Three3$inboundSchema: z.ZodType = z - .object({ - date: types.number(), - deploymentId: types.string(), - type: GetDeploymentEvents3DeploymentsType$inboundSchema, - alias: z.array(types.string()), - aliasError: types.nullable( - z.lazy(() => GetDeploymentEvents3AliasError$inboundSchema), - ), - aliasWarning: types.nullable( - z.lazy(() => GetDeploymentEvents3AliasWarning$inboundSchema), - ), - }); +export const Three3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.number(), + deploymentId: types.string(), + type: GetDeploymentEvents3DeploymentsType$inboundSchema, + alias: z.array(types.string()), + aliasError: types.nullable( + z.lazy(() => GetDeploymentEvents3AliasError$inboundSchema), + ), + aliasWarning: types.nullable( + z.lazy(() => GetDeploymentEvents3AliasWarning$inboundSchema), + ), + }) + ); export function three3FromJSON( jsonString: string, @@ -1376,15 +1437,17 @@ export const ThreeInfo$inboundSchema: z.ZodType< ThreeInfo, z.ZodTypeDef, unknown -> = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) +); export function threeInfoFromJSON( jsonString: string, @@ -1397,27 +1460,29 @@ export function threeInfoFromJSON( } /** @internal */ -export const ThreeLevel$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ThreeLevel); +export const ThreeLevel$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ThreeLevel)); /** @internal */ export const GetDeploymentEvents3Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEvents3Type -> = z.nativeEnum(GetDeploymentEvents3Type); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentEvents3Type)); /** @internal */ -export const Three2$inboundSchema: z.ZodType = z - .object({ - created: types.number(), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: z.lazy(() => ThreeInfo$inboundSchema), - level: types.optional(ThreeLevel$inboundSchema), - serial: types.string(), - text: types.optional(types.string()), - type: GetDeploymentEvents3Type$inboundSchema, - }); +export const Three2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: z.lazy(() => ThreeInfo$inboundSchema), + level: types.optional(ThreeLevel$inboundSchema), + serial: types.string(), + text: types.optional(types.string()), + type: GetDeploymentEvents3Type$inboundSchema, + }) + ); export function three2FromJSON( jsonString: string, @@ -1435,15 +1500,17 @@ export const GetDeploymentEvents3DeploymentsResponseInfo$inboundSchema: GetDeploymentEvents3DeploymentsResponseInfo, z.ZodTypeDef, unknown - > = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) + ); export function getDeploymentEvents3DeploymentsResponseInfoFromJSON( jsonString: string, @@ -1464,39 +1531,41 @@ export function getDeploymentEvents3DeploymentsResponseInfoFromJSON( /** @internal */ export const ThreeVercelCache$inboundSchema: z.ZodNativeEnum< typeof ThreeVercelCache -> = z.nativeEnum(ThreeVercelCache); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ThreeVercelCache)); /** @internal */ export const ThreeWafAction$inboundSchema: z.ZodNativeEnum< typeof ThreeWafAction -> = z.nativeEnum(ThreeWafAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ThreeWafAction)); /** @internal */ export const ThreeProxy$inboundSchema: z.ZodType< ThreeProxy, z.ZodTypeDef, unknown -> = z.object({ - cacheId: types.optional(types.string()), - clientIp: types.optional(types.string()), - host: types.string(), - lambdaRegion: types.optional(types.string()), - method: types.string(), - path: types.optional(types.string()), - pathType: types.optional(types.string()), - pathTypeVariant: types.optional(types.string()), - referer: types.optional(types.string()), - region: types.optional(types.string()), - responseByteSize: types.optional(types.number()), - scheme: types.optional(types.string()), - statusCode: types.optional(types.number()), - timestamp: types.number(), - userAgent: types.optional(z.array(types.string())), - vercelCache: types.optional(ThreeVercelCache$inboundSchema), - vercelId: types.optional(types.string()), - wafAction: types.optional(ThreeWafAction$inboundSchema), - wafRuleId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cacheId: types.optional(types.string()), + clientIp: types.optional(types.string()), + host: types.string(), + lambdaRegion: types.optional(types.string()), + method: types.string(), + path: types.optional(types.string()), + pathType: types.optional(types.string()), + pathTypeVariant: types.optional(types.string()), + referer: types.optional(types.string()), + region: types.optional(types.string()), + responseByteSize: types.optional(types.number()), + scheme: types.optional(types.string()), + statusCode: types.optional(types.number()), + timestamp: types.number(), + userAgent: types.optional(z.array(types.string())), + vercelCache: types.optional(ThreeVercelCache$inboundSchema), + vercelId: types.optional(types.string()), + wafAction: types.optional(ThreeWafAction$inboundSchema), + wafRuleId: types.optional(types.string()), + }) +); export function threeProxyFromJSON( jsonString: string, @@ -1513,20 +1582,22 @@ export const ThreePayload$inboundSchema: z.ZodType< ThreePayload, z.ZodTypeDef, unknown -> = z.object({ - created: types.optional(types.number()), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: types.optional( - z.lazy(() => GetDeploymentEvents3DeploymentsResponseInfo$inboundSchema), - ), - proxy: types.optional(z.lazy(() => ThreeProxy$inboundSchema)), - requestId: types.optional(types.string()), - serial: types.string(), - statusCode: types.optional(types.number()), - text: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.optional(types.number()), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: types.optional( + z.lazy(() => GetDeploymentEvents3DeploymentsResponseInfo$inboundSchema), + ), + proxy: types.optional(z.lazy(() => ThreeProxy$inboundSchema)), + requestId: types.optional(types.string()), + serial: types.string(), + statusCode: types.optional(types.number()), + text: types.optional(types.string()), + }) +); export function threePayloadFromJSON( jsonString: string, @@ -1539,16 +1610,18 @@ export function threePayloadFromJSON( } /** @internal */ -export const ThreeType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ThreeType); +export const ThreeType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ThreeType)); /** @internal */ -export const Three1$inboundSchema: z.ZodType = z - .object({ - created: types.number(), - payload: z.lazy(() => ThreePayload$inboundSchema), - type: ThreeType$inboundSchema, - }); +export const Three1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + payload: z.lazy(() => ThreePayload$inboundSchema), + type: ThreeType$inboundSchema, + }) + ); export function three1FromJSON( jsonString: string, @@ -1565,11 +1638,13 @@ export const GetDeploymentEventsResponseBody3$inboundSchema: z.ZodType< GetDeploymentEventsResponseBody3, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Three2$inboundSchema), - z.lazy(() => Three3$inboundSchema), - z.lazy(() => Three1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Three2$inboundSchema), + z.lazy(() => Three3$inboundSchema), + z.lazy(() => Three1$inboundSchema), + ]) +); export function getDeploymentEventsResponseBody3FromJSON( jsonString: string, @@ -1582,16 +1657,18 @@ export function getDeploymentEventsResponseBody3FromJSON( } /** @internal */ -export const Info$inboundSchema: z.ZodType = z - .object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), - }); +export const Info$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) + ); export function infoFromJSON( jsonString: string, @@ -1605,31 +1682,36 @@ export function infoFromJSON( /** @internal */ export const GetDeploymentEventsResponseBodyLevel$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentEventsResponseBodyLevel, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEventsResponseBodyLevel) + ); /** @internal */ export const GetDeploymentEventsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEventsResponseBodyType -> = z.nativeEnum(GetDeploymentEventsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentEventsResponseBodyType) +); /** @internal */ export const GetDeploymentEventsResponseBody2$inboundSchema: z.ZodType< GetDeploymentEventsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - created: types.number(), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: z.lazy(() => Info$inboundSchema), - level: types.optional(GetDeploymentEventsResponseBodyLevel$inboundSchema), - serial: types.string(), - text: types.optional(types.string()), - type: GetDeploymentEventsResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: z.lazy(() => Info$inboundSchema), + level: types.optional(GetDeploymentEventsResponseBodyLevel$inboundSchema), + serial: types.string(), + text: types.optional(types.string()), + type: GetDeploymentEventsResponseBodyType$inboundSchema, + }) +); export function getDeploymentEventsResponseBody2FromJSON( jsonString: string, @@ -1647,15 +1729,17 @@ export const GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema: GetDeploymentEventsResponseBodyDeploymentsInfo, z.ZodTypeDef, unknown - > = z.object({ - entrypoint: types.optional(types.string()), - name: types.string(), - path: types.optional(types.string()), - readyState: types.optional(types.string()), - serviceName: types.optional(types.string()), - step: types.optional(types.string()), - type: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + entrypoint: types.optional(types.string()), + name: types.string(), + path: types.optional(types.string()), + readyState: types.optional(types.string()), + serviceName: types.optional(types.string()), + step: types.optional(types.string()), + type: types.string(), + }) + ); export function getDeploymentEventsResponseBodyDeploymentsInfoFromJSON( jsonString: string, @@ -1674,36 +1758,38 @@ export function getDeploymentEventsResponseBodyDeploymentsInfoFromJSON( } /** @internal */ -export const VercelCache$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(VercelCache); +export const VercelCache$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VercelCache)); /** @internal */ -export const WafAction$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(WafAction); +export const WafAction$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(WafAction)); /** @internal */ -export const Proxy$inboundSchema: z.ZodType = z - .object({ - cacheId: types.optional(types.string()), - clientIp: types.optional(types.string()), - host: types.string(), - lambdaRegion: types.optional(types.string()), - method: types.string(), - path: types.optional(types.string()), - pathType: types.optional(types.string()), - pathTypeVariant: types.optional(types.string()), - referer: types.optional(types.string()), - region: types.optional(types.string()), - responseByteSize: types.optional(types.number()), - scheme: types.optional(types.string()), - statusCode: types.optional(types.number()), - timestamp: types.number(), - userAgent: types.optional(z.array(types.string())), - vercelCache: types.optional(VercelCache$inboundSchema), - vercelId: types.optional(types.string()), - wafAction: types.optional(WafAction$inboundSchema), - wafRuleId: types.optional(types.string()), - }); +export const Proxy$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + cacheId: types.optional(types.string()), + clientIp: types.optional(types.string()), + host: types.string(), + lambdaRegion: types.optional(types.string()), + method: types.string(), + path: types.optional(types.string()), + pathType: types.optional(types.string()), + pathTypeVariant: types.optional(types.string()), + referer: types.optional(types.string()), + region: types.optional(types.string()), + responseByteSize: types.optional(types.number()), + scheme: types.optional(types.string()), + statusCode: types.optional(types.number()), + timestamp: types.number(), + userAgent: types.optional(z.array(types.string())), + vercelCache: types.optional(VercelCache$inboundSchema), + vercelId: types.optional(types.string()), + wafAction: types.optional(WafAction$inboundSchema), + wafRuleId: types.optional(types.string()), + }) + ); export function proxyFromJSON( jsonString: string, @@ -1720,20 +1806,24 @@ export const GetDeploymentEventsResponseBodyPayload$inboundSchema: z.ZodType< GetDeploymentEventsResponseBodyPayload, z.ZodTypeDef, unknown -> = z.object({ - created: types.optional(types.number()), - date: types.number(), - deploymentId: types.string(), - id: types.string(), - info: types.optional( - z.lazy(() => GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema), - ), - proxy: types.optional(z.lazy(() => Proxy$inboundSchema)), - requestId: types.optional(types.string()), - serial: types.string(), - statusCode: types.optional(types.number()), - text: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.optional(types.number()), + date: types.number(), + deploymentId: types.string(), + id: types.string(), + info: types.optional( + z.lazy(() => + GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema + ), + ), + proxy: types.optional(z.lazy(() => Proxy$inboundSchema)), + requestId: types.optional(types.string()), + serial: types.string(), + statusCode: types.optional(types.number()), + text: types.optional(types.string()), + }) +); export function getDeploymentEventsResponseBodyPayloadFromJSON( jsonString: string, @@ -1749,18 +1839,20 @@ export function getDeploymentEventsResponseBodyPayloadFromJSON( /** @internal */ export const ResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyType -> = z.nativeEnum(ResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyType)); /** @internal */ export const GetDeploymentEventsResponseBody1$inboundSchema: z.ZodType< GetDeploymentEventsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - created: types.number(), - payload: z.lazy(() => GetDeploymentEventsResponseBodyPayload$inboundSchema), - type: ResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.number(), + payload: z.lazy(() => GetDeploymentEventsResponseBodyPayload$inboundSchema), + type: ResponseBodyType$inboundSchema, + }) +); export function getDeploymentEventsResponseBody1FromJSON( jsonString: string, @@ -1775,15 +1867,17 @@ export function getDeploymentEventsResponseBody1FromJSON( /** @internal */ export const GetDeploymentEventsDeploymentsResponseBody$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => GetDeploymentEventsResponseBody2$inboundSchema), - z.lazy(() => GetDeploymentEventsResponseBody1$inboundSchema), + /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => Three2$inboundSchema), - z.lazy(() => Three3$inboundSchema), - z.lazy(() => Three1$inboundSchema), - ]), - ]); + z.lazy(() => GetDeploymentEventsResponseBody2$inboundSchema), + z.lazy(() => GetDeploymentEventsResponseBody1$inboundSchema), + smartUnion([ + z.lazy(() => Three2$inboundSchema), + z.lazy(() => Three3$inboundSchema), + z.lazy(() => Three1$inboundSchema), + ]), + ]) + ); export function getDeploymentEventsDeploymentsResponseBodyFromJSON( jsonString: string, @@ -1806,28 +1900,30 @@ export const GetDeploymentEventsResponse$inboundSchema: z.ZodType< GetDeploymentEventsResponse, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(smartUnion([ - z.lazy(() => GetDeploymentEventsResponseBody2$inboundSchema), - z.lazy(() => - GetDeploymentEventsResponseBody1$inboundSchema - ), - smartUnion([ - z.lazy(() => Three2$inboundSchema), - z.lazy(() => Three3$inboundSchema), - z.lazy(() => Three1$inboundSchema), - ]), - ])), +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => GetDeploymentEventsResponseBodyDeployments2$inboundSchema), - z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$inboundSchema), + z.array(smartUnion([ + z.lazy(() => GetDeploymentEventsResponseBody2$inboundSchema), + z.lazy(() => + GetDeploymentEventsResponseBody1$inboundSchema + ), + smartUnion([ + z.lazy(() => Three2$inboundSchema), + z.lazy(() => Three3$inboundSchema), + z.lazy(() => Three1$inboundSchema), + ]), + ])), smartUnion([ - z.lazy(() => GetDeploymentEvents32$inboundSchema), - z.lazy(() => GetDeploymentEvents33$inboundSchema), - z.lazy(() => GetDeploymentEvents31$inboundSchema), + z.lazy(() => GetDeploymentEventsResponseBodyDeployments2$inboundSchema), + z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$inboundSchema), + smartUnion([ + z.lazy(() => GetDeploymentEvents32$inboundSchema), + z.lazy(() => GetDeploymentEvents33$inboundSchema), + z.lazy(() => GetDeploymentEvents31$inboundSchema), + ]), ]), - ]), -]); + ]) +); export function getDeploymentEventsResponseFromJSON( jsonString: string, diff --git a/src/models/getdeploymentfeatureflagsop.ts b/src/models/getdeploymentfeatureflagsop.ts index bd3dc974dd..e4dcb6329d 100644 --- a/src/models/getdeploymentfeatureflagsop.ts +++ b/src/models/getdeploymentfeatureflagsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,11 +53,13 @@ export const GetDeploymentFeatureFlagsRequest$outboundSchema: z.ZodType< GetDeploymentFeatureFlagsRequest$Outbound, z.ZodTypeDef, GetDeploymentFeatureFlagsRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentFeatureFlagsRequestToJSON( getDeploymentFeatureFlagsRequest: GetDeploymentFeatureFlagsRequest, @@ -74,7 +76,7 @@ export const GetDeploymentFeatureFlagsFlags$inboundSchema: z.ZodType< GetDeploymentFeatureFlagsFlags, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDeploymentFeatureFlagsFlagsFromJSON( jsonString: string, @@ -91,13 +93,15 @@ export const GetDeploymentFeatureFlagsStatus$inboundSchema: z.ZodType< GetDeploymentFeatureFlagsStatus, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - deploymentId: types.string(), - flagCount: types.number(), - projectId: types.string(), - responseStatus: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + deploymentId: types.string(), + flagCount: types.number(), + projectId: types.string(), + responseStatus: types.number(), + }) +); export function getDeploymentFeatureFlagsStatusFromJSON( jsonString: string, @@ -114,12 +118,14 @@ export const GetDeploymentFeatureFlagsResponseBody$inboundSchema: z.ZodType< GetDeploymentFeatureFlagsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - flags: z.array(z.lazy(() => GetDeploymentFeatureFlagsFlags$inboundSchema)), - status: types.nullable( - z.lazy(() => GetDeploymentFeatureFlagsStatus$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: z.array(z.lazy(() => GetDeploymentFeatureFlagsFlags$inboundSchema)), + status: types.nullable( + z.lazy(() => GetDeploymentFeatureFlagsStatus$inboundSchema), + ), + }) +); export function getDeploymentFeatureFlagsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdeploymentfilecontentsop.ts b/src/models/getdeploymentfilecontentsop.ts index a2a4102f3b..36ff83171e 100644 --- a/src/models/getdeploymentfilecontentsop.ts +++ b/src/models/getdeploymentfilecontentsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetDeploymentFileContentsRequest = { /** @@ -41,13 +42,15 @@ export const GetDeploymentFileContentsRequest$outboundSchema: z.ZodType< GetDeploymentFileContentsRequest$Outbound, z.ZodTypeDef, GetDeploymentFileContentsRequest -> = z.object({ - id: z.string(), - fileId: z.string(), - path: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + fileId: z.string(), + path: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentFileContentsRequestToJSON( getDeploymentFileContentsRequest: GetDeploymentFileContentsRequest, diff --git a/src/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.ts b/src/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.ts index 77328f7818..af5e9d961d 100644 --- a/src/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.ts +++ b/src/models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1882,12 +1882,14 @@ export const GetDeploymentRequest$outboundSchema: z.ZodType< GetDeploymentRequest$Outbound, z.ZodTypeDef, GetDeploymentRequest -> = z.object({ - idOrUrl: z.string(), - withGitRepoInfo: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrUrl: z.string(), + withGitRepoInfo: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentRequestToJSON( getDeploymentRequest: GetDeploymentRequest, @@ -1902,10 +1904,12 @@ export const GetDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< GetDeploymentResponseBodyAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getDeploymentResponseBodyAliasErrorFromJSON( jsonString: string, @@ -1923,12 +1927,14 @@ export const GetDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< GetDeploymentResponseBodyAliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function getDeploymentResponseBodyAliasWarningFromJSON( jsonString: string, @@ -1944,31 +1950,37 @@ export function getDeploymentResponseBodyAliasWarningFromJSON( /** @internal */ export const ResponseBodyChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyChecksConclusion -> = z.nativeEnum(ResponseBodyChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyChecksConclusion) +); /** @internal */ export const ResponseBodyChecksState$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyChecksState -> = z.nativeEnum(ResponseBodyChecksState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyChecksState)); /** @internal */ export const GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseType) + ); /** @internal */ export const ResponseBodyCreator$inboundSchema: z.ZodType< ResponseBodyCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - type: types.optional( - GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema, - ), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + type: types.optional( + GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema, + ), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function responseBodyCreatorFromJSON( jsonString: string, @@ -1985,9 +1997,11 @@ export const GetDeploymentCustomEnvironment2$inboundSchema: z.ZodType< GetDeploymentCustomEnvironment2, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getDeploymentCustomEnvironment2FromJSON( jsonString: string, @@ -2003,7 +2017,9 @@ export function getDeploymentCustomEnvironment2FromJSON( export const GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type - > = z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponse200Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema: @@ -2011,11 +2027,13 @@ export const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchem GetDeploymentCustomEnvironmentDeploymentsBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema, + }) + ); export function getDeploymentCustomEnvironmentDeploymentsBranchMatcherFromJSON( jsonString: string, @@ -2038,12 +2056,14 @@ export const GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema GetDeploymentCustomEnvironmentDeploymentsVerification, z.ZodTypeDef, unknown - > = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) + ); export function getDeploymentCustomEnvironmentDeploymentsVerificationFromJSON( jsonString: string, @@ -2067,23 +2087,23 @@ export const GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema: GetDeploymentCustomEnvironmentDeploymentsDomains, z.ZodTypeDef, unknown - > = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional(z.array(z.lazy(() => GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema - )), - ), - verified: types.boolean(), - }); + ))), + verified: types.boolean(), + }) + ); export function getDeploymentCustomEnvironmentDeploymentsDomainsFromJSON( jsonString: string, @@ -2104,32 +2124,32 @@ export function getDeploymentCustomEnvironmentDeploymentsDomainsFromJSON( /** @internal */ export const GetDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentType -> = z.nativeEnum(GetDeploymentCustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCustomEnvironmentType) +); /** @internal */ export const GetDeploymentCustomEnvironment1$inboundSchema: z.ZodType< GetDeploymentCustomEnvironment1, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional(z.lazy(() => GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema - ), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => - GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema )), - ), - id: types.string(), - slug: types.string(), - type: GetDeploymentCustomEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional(z.array(z.lazy(() => + GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema + ))), + id: types.string(), + slug: types.string(), + type: GetDeploymentCustomEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function getDeploymentCustomEnvironment1FromJSON( jsonString: string, @@ -2144,10 +2164,12 @@ export function getDeploymentCustomEnvironment1FromJSON( /** @internal */ export const GetDeploymentResponseBodyCustomEnvironment$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), + ]) + ); export function getDeploymentResponseBodyCustomEnvironmentFromJSON( jsonString: string, @@ -2170,15 +2192,17 @@ export const GetDeploymentResponseBodyDuration$inboundSchema: z.ZodType< GetDeploymentResponseBodyDuration, z.ZodTypeDef, unknown -> = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) +); export function getDeploymentResponseBodyDurationFromJSON( jsonString: string, @@ -2194,8 +2218,10 @@ export function getDeploymentResponseBodyDurationFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type, + ) ); /** @internal */ @@ -2203,15 +2229,17 @@ export const GetDeploymentGitSourceDeployments19$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments19, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody319Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments19FromJSON( jsonString: string, @@ -2229,11 +2257,13 @@ export const GetDeploymentGitSourceDeploymentsAuthor$inboundSchema: z.ZodType< GetDeploymentGitSourceDeploymentsAuthor, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function getDeploymentGitSourceDeploymentsAuthorFromJSON( jsonString: string, @@ -2254,11 +2284,13 @@ export function getDeploymentGitSourceDeploymentsAuthorFromJSON( /** @internal */ export const GetDeploymentGitSourceDeploymentsCommitter$inboundSchema: z.ZodType = - z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsCommitterFromJSON( jsonString: string, @@ -2282,13 +2314,17 @@ export const GetDeploymentGitSourceDeploymentsCommitMetadata$inboundSchema: GetDeploymentGitSourceDeploymentsCommitMetadata, z.ZodTypeDef, unknown - > = z.object({ - author: z.lazy(() => GetDeploymentGitSourceDeploymentsAuthor$inboundSchema), - committer: z.lazy(() => - GetDeploymentGitSourceDeploymentsCommitter$inboundSchema - ), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => + GetDeploymentGitSourceDeploymentsAuthor$inboundSchema + ), + committer: z.lazy(() => + GetDeploymentGitSourceDeploymentsCommitter$inboundSchema + ), + message: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsCommitMetadataFromJSON( jsonString: string, @@ -2310,8 +2346,10 @@ export function getDeploymentGitSourceDeploymentsCommitMetadataFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type, + ) ); /** @internal */ @@ -2319,19 +2357,23 @@ export const GetDeploymentGitSourceDeployments18$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments18, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => GetDeploymentGitSourceDeploymentsCommitMetadata$inboundSchema), - ), - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.optional(types.string()), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional( + z.lazy(() => + GetDeploymentGitSourceDeploymentsCommitMetadata$inboundSchema + ), + ), + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.optional(types.string()), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody318Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments18FromJSON( jsonString: string, @@ -2348,8 +2390,10 @@ export function getDeploymentGitSourceDeployments18FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type, + ) ); /** @internal */ @@ -2357,16 +2401,18 @@ export const GetDeploymentGitSourceDeployments17$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments17, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type$inboundSchema, - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody317Type$inboundSchema, + workspaceUuid: types.string(), + }) +); export function getDeploymentGitSourceDeployments17FromJSON( jsonString: string, @@ -2383,8 +2429,10 @@ export function getDeploymentGitSourceDeployments17FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type, + ) ); /** @internal */ @@ -2392,13 +2440,15 @@ export const GetDeploymentGitSourceDeployments16$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments16, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.number(), - ref: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.number(), + ref: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody316Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments16FromJSON( jsonString: string, @@ -2415,8 +2465,10 @@ export function getDeploymentGitSourceDeployments16FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type, + ) ); /** @internal */ @@ -2424,15 +2476,17 @@ export const GetDeploymentGitSourceDeployments15$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments15, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody315Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments15FromJSON( jsonString: string, @@ -2449,8 +2503,10 @@ export function getDeploymentGitSourceDeployments15FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type, + ) ); /** @internal */ @@ -2458,16 +2514,18 @@ export const GetDeploymentGitSourceDeployments14$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments14, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody314Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments14FromJSON( jsonString: string, @@ -2484,8 +2542,10 @@ export function getDeploymentGitSourceDeployments14FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type, + ) ); /** @internal */ @@ -2493,15 +2553,17 @@ export const GetDeploymentGitSourceDeployments13$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments13, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody313Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments13FromJSON( jsonString: string, @@ -2518,8 +2580,10 @@ export function getDeploymentGitSourceDeployments13FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type, + ) ); /** @internal */ @@ -2527,13 +2591,15 @@ export const GetDeploymentGitSourceDeployments12$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments12, z.ZodTypeDef, unknown -> = z.object({ - gitUrl: types.string(), - ref: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitUrl: types.string(), + ref: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody312Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments12FromJSON( jsonString: string, @@ -2550,8 +2616,10 @@ export function getDeploymentGitSourceDeployments12FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type, + ) ); /** @internal */ @@ -2559,16 +2627,18 @@ export const GetDeploymentGitSourceDeployments11$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments11, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody311Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments11FromJSON( jsonString: string, @@ -2586,11 +2656,13 @@ export const GetDeploymentGitSourceAuthor$inboundSchema: z.ZodType< GetDeploymentGitSourceAuthor, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function getDeploymentGitSourceAuthorFromJSON( jsonString: string, @@ -2607,11 +2679,13 @@ export const GetDeploymentGitSourceCommitter$inboundSchema: z.ZodType< GetDeploymentGitSourceCommitter, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function getDeploymentGitSourceCommitterFromJSON( jsonString: string, @@ -2628,11 +2702,13 @@ export const GetDeploymentGitSourceCommitMetadata$inboundSchema: z.ZodType< GetDeploymentGitSourceCommitMetadata, z.ZodTypeDef, unknown -> = z.object({ - author: z.lazy(() => GetDeploymentGitSourceAuthor$inboundSchema), - committer: z.lazy(() => GetDeploymentGitSourceCommitter$inboundSchema), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => GetDeploymentGitSourceAuthor$inboundSchema), + committer: z.lazy(() => GetDeploymentGitSourceCommitter$inboundSchema), + message: types.string(), + }) +); export function getDeploymentGitSourceCommitMetadataFromJSON( jsonString: string, @@ -2649,8 +2725,10 @@ export function getDeploymentGitSourceCommitMetadataFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type, + ) ); /** @internal */ @@ -2658,20 +2736,22 @@ export const GetDeploymentGitSourceDeployments10$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments10, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => GetDeploymentGitSourceCommitMetadata$inboundSchema), - ), - org: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional( + z.lazy(() => GetDeploymentGitSourceCommitMetadata$inboundSchema), + ), + org: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody310Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments10FromJSON( jsonString: string, @@ -2688,8 +2768,10 @@ export function getDeploymentGitSourceDeployments10FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type, + ) ); /** @internal */ @@ -2697,15 +2779,17 @@ export const GetDeploymentGitSourceDeployments9$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments9, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - slug: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + slug: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody39Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments9FromJSON( jsonString: string, @@ -2722,8 +2806,10 @@ export function getDeploymentGitSourceDeployments9FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type, + ) ); /** @internal */ @@ -2731,15 +2817,17 @@ export const GetDeploymentGitSourceDeployments8$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments8, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoUuid: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type$inboundSchema, - workspaceUuid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoUuid: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody38Type$inboundSchema, + workspaceUuid: types.optional(types.string()), + }) +); export function getDeploymentGitSourceDeployments8FromJSON( jsonString: string, @@ -2755,7 +2843,9 @@ export function getDeploymentGitSourceDeployments8FromJSON( /** @internal */ export const GetDeploymentGitSourceDeploymentsProjectId$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentGitSourceDeploymentsProjectIdFromJSON( jsonString: string, @@ -2777,8 +2867,10 @@ export function getDeploymentGitSourceDeploymentsProjectIdFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type, + ) ); /** @internal */ @@ -2786,14 +2878,16 @@ export const GetDeploymentGitSourceDeployments7$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments7, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - projectId: smartUnion([types.string(), types.number()]), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + projectId: smartUnion([types.string(), types.number()]), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody37Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments7FromJSON( jsonString: string, @@ -2810,8 +2904,10 @@ export function getDeploymentGitSourceDeployments7FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type, + ) ); /** @internal */ @@ -2819,15 +2915,17 @@ export const GetDeploymentGitSourceDeployments6$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments6, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody36Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments6FromJSON( jsonString: string, @@ -2846,7 +2944,9 @@ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema: GetDeploymentGitSourceDeploymentsResponse200RepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentGitSourceDeploymentsResponse200RepoIdFromJSON( jsonString: string, @@ -2868,8 +2968,10 @@ export function getDeploymentGitSourceDeploymentsResponse200RepoIdFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type, + ) ); /** @internal */ @@ -2877,14 +2979,16 @@ export const GetDeploymentGitSource5$inboundSchema: z.ZodType< GetDeploymentGitSource5, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody35Type$inboundSchema, + }) +); export function getDeploymentGitSource5FromJSON( jsonString: string, @@ -2900,8 +3004,10 @@ export function getDeploymentGitSource5FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type, + ) ); /** @internal */ @@ -2909,16 +3015,18 @@ export const GetDeploymentGitSource4$inboundSchema: z.ZodType< GetDeploymentGitSource4, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody34Type$inboundSchema, + }) +); export function getDeploymentGitSource4FromJSON( jsonString: string, @@ -2936,7 +3044,9 @@ export const GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: GetDeploymentGitSourceDeploymentsResponseRepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, @@ -2958,8 +3068,10 @@ export function getDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type, + ) ); /** @internal */ @@ -2967,15 +3079,17 @@ export const GetDeploymentGitSource3$inboundSchema: z.ZodType< GetDeploymentGitSource3, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody33Type$inboundSchema, + }) +); export function getDeploymentGitSource3FromJSON( jsonString: string, @@ -2991,8 +3105,10 @@ export function getDeploymentGitSource3FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type, + ) ); /** @internal */ @@ -3000,15 +3116,17 @@ export const GetDeploymentGitSource2$inboundSchema: z.ZodType< GetDeploymentGitSource2, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody32Type$inboundSchema, + }) +); export function getDeploymentGitSource2FromJSON( jsonString: string, @@ -3025,7 +3143,9 @@ export const GetDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType< GetDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, @@ -3047,8 +3167,10 @@ export function getDeploymentGitSourceDeploymentsRepoIdFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type, + ) ); /** @internal */ @@ -3056,14 +3178,16 @@ export const GetDeploymentGitSource1$inboundSchema: z.ZodType< GetDeploymentGitSource1, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody3Type$inboundSchema, + }) +); export function getDeploymentGitSource1FromJSON( jsonString: string, @@ -3080,27 +3204,29 @@ export const ResponseBodyGitSource$inboundSchema: z.ZodType< ResponseBodyGitSource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentGitSourceDeployments19$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments14$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments17$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments18$inboundSchema), - z.lazy(() => GetDeploymentGitSource4$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments13$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments15$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments16$inboundSchema), - z.lazy(() => GetDeploymentGitSource2$inboundSchema), - z.lazy(() => GetDeploymentGitSource3$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema), - z.lazy(() => GetDeploymentGitSource1$inboundSchema), - z.lazy(() => GetDeploymentGitSource5$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentGitSourceDeployments19$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments14$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments17$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments18$inboundSchema), + z.lazy(() => GetDeploymentGitSource4$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments13$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments15$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments16$inboundSchema), + z.lazy(() => GetDeploymentGitSource2$inboundSchema), + z.lazy(() => GetDeploymentGitSource3$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema), + z.lazy(() => GetDeploymentGitSource1$inboundSchema), + z.lazy(() => GetDeploymentGitSource5$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema), + ]) +); export function responseBodyGitSourceFromJSON( jsonString: string, @@ -3116,17 +3242,21 @@ export function responseBodyGitSourceFromJSON( export const GetDeploymentResponseBodyDeploymentsResponse200ReadyState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyDeploymentsResponse200ReadyState - > = z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponse200ReadyState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponse200ReadyState) + ); /** @internal */ export const GetDeploymentResponseBodyOutput$inboundSchema: z.ZodType< GetDeploymentResponseBodyOutput, z.ZodTypeDef, unknown -> = z.object({ - functionName: types.string(), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionName: types.string(), + path: types.string(), + }) +); export function getDeploymentResponseBodyOutputFromJSON( jsonString: string, @@ -3143,16 +3273,20 @@ export const ResponseBodyLambdas$inboundSchema: z.ZodType< ResponseBodyLambdas, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - entrypoint: z.nullable(types.string()).optional(), - id: types.string(), - readyState: types.optional( - GetDeploymentResponseBodyDeploymentsResponse200ReadyState$inboundSchema, - ), - readyStateAt: types.optional(types.number()), - output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + entrypoint: z.nullable(types.string()).optional(), + id: types.string(), + readyState: types.optional( + GetDeploymentResponseBodyDeploymentsResponse200ReadyState$inboundSchema, + ), + readyStateAt: types.optional(types.number()), + output: z.array( + z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema), + ), + }) +); export function responseBodyLambdasFromJSON( jsonString: string, @@ -3167,17 +3301,19 @@ export function responseBodyLambdasFromJSON( /** @internal */ export const ResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyState -> = z.nativeEnum(ResponseBodyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyState)); /** @internal */ export const ResponseBodyManualProvisioning$inboundSchema: z.ZodType< ResponseBodyManualProvisioning, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - state: ResponseBodyState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + state: ResponseBodyState$inboundSchema, + }) +); export function responseBodyManualProvisioningFromJSON( jsonString: string, @@ -3192,36 +3328,38 @@ export function responseBodyManualProvisioningFromJSON( /** @internal */ export const ResponseBodyNodeVersion$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyNodeVersion -> = z.nativeEnum(ResponseBodyNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyNodeVersion)); /** @internal */ export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< ResponseBodyOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function responseBodyOidcTokenClaimsFromJSON( jsonString: string, @@ -3236,18 +3374,20 @@ export function responseBodyOidcTokenClaimsFromJSON( /** @internal */ export const ResponseBodyOomReport$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyOomReport -> = z.nativeEnum(ResponseBodyOomReport); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyOomReport)); /** @internal */ export const GetDeploymentResponseBodyProject$inboundSchema: z.ZodType< GetDeploymentResponseBodyProject, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(types.string()).optional(), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(types.string()).optional(), + id: types.string(), + name: types.string(), + }) +); export function getDeploymentResponseBodyProjectFromJSON( jsonString: string, @@ -3262,39 +3402,49 @@ export function getDeploymentResponseBodyProjectFromJSON( /** @internal */ export const GetDeploymentResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyReadyState -> = z.nativeEnum(GetDeploymentResponseBodyReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyReadyState) +); /** @internal */ export const ResponseBodyReadySubstate$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyReadySubstate -> = z.nativeEnum(ResponseBodyReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyReadySubstate)); /** @internal */ export const GetDeploymentResponseBodyDeploymentsSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsSource) + ); /** @internal */ export const GetDeploymentResponseBodyDeploymentsStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsStatus) + ); /** @internal */ export const GetDeploymentResponseBodyDeploymentsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsTarget) + ); /** @internal */ export const ResponseBodyTeam$inboundSchema: z.ZodType< ResponseBodyTeam, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function responseBodyTeamFromJSON( jsonString: string, @@ -3308,117 +3458,123 @@ export function responseBodyTeamFromJSON( /** @internal */ export const GetDeploymentResponseBodyDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsType) + ); /** @internal */ export const GetDeploymentResponseBody3$inboundSchema: z.ZodType< GetDeploymentResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasError: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - aliasWarning: z.nullable( - z.lazy(() => GetDeploymentResponseBodyAliasWarning$inboundSchema), - ).optional(), - autoAssignCustomDomains: types.optional(types.boolean()), - automaticAliases: types.optional(z.array(types.string())), - bootedAt: types.number(), - buildContainerFinishedAt: types.optional(types.number()), - buildErrorAt: types.optional(types.number()), - buildingAt: types.number(), - buildSkipped: types.boolean(), - canceledAt: types.optional(types.number()), - checksConclusion: types.optional(ResponseBodyChecksConclusion$inboundSchema), - checksState: types.optional(ResponseBodyChecksState$inboundSchema), - createdAt: types.number(), - creator: z.lazy(() => ResponseBodyCreator$inboundSchema), - customEnvironment: types.optional( - smartUnion([ - z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), - ]), - ), - defaultRoute: types.optional(types.string()), - deletedAt: z.nullable(types.number()).optional(), - duration: z.lazy(() => GetDeploymentResponseBodyDuration$inboundSchema), - errorCode: types.optional(types.string()), - errorLink: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - errorStep: types.optional(types.string()), - gitSource: types.optional( - smartUnion([ - z.lazy(() => GetDeploymentGitSourceDeployments19$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments14$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments17$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments18$inboundSchema), - z.lazy(() => GetDeploymentGitSource4$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments13$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments15$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments16$inboundSchema), - z.lazy(() => GetDeploymentGitSource2$inboundSchema), - z.lazy(() => GetDeploymentGitSource3$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema), - z.lazy(() => GetDeploymentGitSource1$inboundSchema), - z.lazy(() => GetDeploymentGitSource5$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema), - ]), - ), - id: types.string(), - initReadyAt: types.optional(types.number()), - isFirstBranchDeployment: types.optional(types.boolean()), - lambdas: types.optional( - z.array(z.lazy(() => ResponseBodyLambdas$inboundSchema)), - ), - manualProvisioning: types.optional( - z.lazy(() => ResponseBodyManualProvisioning$inboundSchema), - ), - meta: z.record(types.string()), - name: types.string(), - nodeVersion: types.optional(ResponseBodyNodeVersion$inboundSchema), - oidcTokenClaims: types.optional( - z.lazy(() => ResponseBodyOidcTokenClaims$inboundSchema), - ), - oomReport: types.optional(ResponseBodyOomReport$inboundSchema), - originCacheRegion: types.optional(types.string()), - passiveRegions: types.optional(z.array(types.string())), - prebuilt: types.optional(types.boolean()), - previewCommentsEnabled: types.optional(types.boolean()), - project: types.optional( - z.lazy(() => GetDeploymentResponseBodyProject$inboundSchema), - ), - public: types.boolean(), - ready: types.optional(types.number()), - readyState: GetDeploymentResponseBodyReadyState$inboundSchema, - readyStateReason: types.optional(types.string()), - readySubstate: types.optional(ResponseBodyReadySubstate$inboundSchema), - regions: z.array(types.string()), - softDeletedByRetention: types.optional(types.boolean()), - source: types.optional( - GetDeploymentResponseBodyDeploymentsSource$inboundSchema, - ), - status: GetDeploymentResponseBodyDeploymentsStatus$inboundSchema, - target: z.nullable(GetDeploymentResponseBodyDeploymentsTarget$inboundSchema) - .optional(), - team: types.optional(z.lazy(() => ResponseBodyTeam$inboundSchema)), - ttyBuildLogs: types.optional(types.boolean()), - type: GetDeploymentResponseBodyDeploymentsType$inboundSchema, - undeletedAt: types.optional(types.number()), - url: types.string(), - userAliases: types.optional(z.array(types.string())), - userConfiguredDeploymentId: types.optional(types.string()), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasError: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + aliasWarning: z.nullable( + z.lazy(() => GetDeploymentResponseBodyAliasWarning$inboundSchema), + ).optional(), + autoAssignCustomDomains: types.optional(types.boolean()), + automaticAliases: types.optional(z.array(types.string())), + bootedAt: types.number(), + buildContainerFinishedAt: types.optional(types.number()), + buildErrorAt: types.optional(types.number()), + buildingAt: types.number(), + buildSkipped: types.boolean(), + canceledAt: types.optional(types.number()), + checksConclusion: types.optional( + ResponseBodyChecksConclusion$inboundSchema, + ), + checksState: types.optional(ResponseBodyChecksState$inboundSchema), + createdAt: types.number(), + creator: z.lazy(() => ResponseBodyCreator$inboundSchema), + customEnvironment: types.optional( + smartUnion([ + z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), + ]), + ), + defaultRoute: types.optional(types.string()), + deletedAt: z.nullable(types.number()).optional(), + duration: z.lazy(() => GetDeploymentResponseBodyDuration$inboundSchema), + errorCode: types.optional(types.string()), + errorLink: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + errorStep: types.optional(types.string()), + gitSource: types.optional( + smartUnion([ + z.lazy(() => GetDeploymentGitSourceDeployments19$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments14$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments17$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments18$inboundSchema), + z.lazy(() => GetDeploymentGitSource4$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments12$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments13$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments15$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments16$inboundSchema), + z.lazy(() => GetDeploymentGitSource2$inboundSchema), + z.lazy(() => GetDeploymentGitSource3$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments6$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments9$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments10$inboundSchema), + z.lazy(() => GetDeploymentGitSource1$inboundSchema), + z.lazy(() => GetDeploymentGitSource5$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments11$inboundSchema), + ]), + ), + id: types.string(), + initReadyAt: types.optional(types.number()), + isFirstBranchDeployment: types.optional(types.boolean()), + lambdas: types.optional( + z.array(z.lazy(() => ResponseBodyLambdas$inboundSchema)), + ), + manualProvisioning: types.optional( + z.lazy(() => ResponseBodyManualProvisioning$inboundSchema), + ), + meta: z.record(types.string()), + name: types.string(), + nodeVersion: types.optional(ResponseBodyNodeVersion$inboundSchema), + oidcTokenClaims: types.optional( + z.lazy(() => ResponseBodyOidcTokenClaims$inboundSchema), + ), + oomReport: types.optional(ResponseBodyOomReport$inboundSchema), + originCacheRegion: types.optional(types.string()), + passiveRegions: types.optional(z.array(types.string())), + prebuilt: types.optional(types.boolean()), + previewCommentsEnabled: types.optional(types.boolean()), + project: types.optional( + z.lazy(() => GetDeploymentResponseBodyProject$inboundSchema), + ), + public: types.boolean(), + ready: types.optional(types.number()), + readyState: GetDeploymentResponseBodyReadyState$inboundSchema, + readyStateReason: types.optional(types.string()), + readySubstate: types.optional(ResponseBodyReadySubstate$inboundSchema), + regions: z.array(types.string()), + softDeletedByRetention: types.optional(types.boolean()), + source: types.optional( + GetDeploymentResponseBodyDeploymentsSource$inboundSchema, + ), + status: GetDeploymentResponseBodyDeploymentsStatus$inboundSchema, + target: z.nullable(GetDeploymentResponseBodyDeploymentsTarget$inboundSchema) + .optional(), + team: types.optional(z.lazy(() => ResponseBodyTeam$inboundSchema)), + ttyBuildLogs: types.optional(types.boolean()), + type: GetDeploymentResponseBodyDeploymentsType$inboundSchema, + undeletedAt: types.optional(types.number()), + url: types.string(), + userAliases: types.optional(z.array(types.string())), + userConfiguredDeploymentId: types.optional(types.string()), + version: types.number(), + }) +); export function getDeploymentResponseBody3FromJSON( jsonString: string, @@ -3435,7 +3591,9 @@ export const GetDeploymentResponseBodyAliasAssignedAt$inboundSchema: z.ZodType< GetDeploymentResponseBodyAliasAssignedAt, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getDeploymentResponseBodyAliasAssignedAtFromJSON( jsonString: string, @@ -3458,10 +3616,12 @@ export const ResponseBodyAliasError$inboundSchema: z.ZodType< ResponseBodyAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function responseBodyAliasErrorFromJSON( jsonString: string, @@ -3478,12 +3638,14 @@ export const ResponseBodyAliasWarning$inboundSchema: z.ZodType< ResponseBodyAliasWarning, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) +); export function responseBodyAliasWarningFromJSON( jsonString: string, @@ -3498,19 +3660,21 @@ export function responseBodyAliasWarningFromJSON( /** @internal */ export const GetDeploymentAtprotoKinds$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentAtprotoKinds -> = z.nativeEnum(GetDeploymentAtprotoKinds); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentAtprotoKinds)); /** @internal */ export const GetDeploymentAtprotoSubscription$inboundSchema: z.ZodType< GetDeploymentAtprotoSubscription, z.ZodTypeDef, unknown -> = z.object({ - collections: z.array(types.string()), - dids: types.optional(z.array(types.string())), - kinds: types.optional(z.array(GetDeploymentAtprotoKinds$inboundSchema)), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + collections: z.array(types.string()), + dids: types.optional(z.array(types.string())), + kinds: types.optional(z.array(GetDeploymentAtprotoKinds$inboundSchema)), + path: types.string(), + }) +); export function getDeploymentAtprotoSubscriptionFromJSON( jsonString: string, @@ -3527,10 +3691,12 @@ export const GetDeploymentAtproto2$inboundSchema: z.ZodType< GetDeploymentAtproto2, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(true), - subscription: z.lazy(() => GetDeploymentAtprotoSubscription$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(true), + subscription: z.lazy(() => GetDeploymentAtprotoSubscription$inboundSchema), + }) +); export function getDeploymentAtproto2FromJSON( jsonString: string, @@ -3547,9 +3713,11 @@ export const GetDeploymentAtproto1$inboundSchema: z.ZodType< GetDeploymentAtproto1, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + }) +); export function getDeploymentAtproto1FromJSON( jsonString: string, @@ -3566,10 +3734,12 @@ export const GetDeploymentResponseBodyAtproto$inboundSchema: z.ZodType< GetDeploymentResponseBodyAtproto, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentAtproto2$inboundSchema), - z.lazy(() => GetDeploymentAtproto1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentAtproto2$inboundSchema), + z.lazy(() => GetDeploymentAtproto1$inboundSchema), + ]) +); export function getDeploymentResponseBodyAtprotoFromJSON( jsonString: string, @@ -3586,11 +3756,13 @@ export const GetDeploymentResponseBodyCommitMeta$inboundSchema: z.ZodType< GetDeploymentResponseBodyCommitMeta, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - isVerified: types.optional(types.boolean()), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + isVerified: types.optional(types.boolean()), + name: types.optional(types.string()), + }) +); export function getDeploymentResponseBodyCommitMetaFromJSON( jsonString: string, @@ -3608,7 +3780,9 @@ export const GetDeploymentResponseBodyId$inboundSchema: z.ZodType< GetDeploymentResponseBodyId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentResponseBodyIdFromJSON( jsonString: string, @@ -3625,12 +3799,14 @@ export const GetDeploymentResponseBodyGitUser$inboundSchema: z.ZodType< GetDeploymentResponseBodyGitUser, z.ZodTypeDef, unknown -> = z.object({ - id: smartUnion([types.string(), types.number()]), - login: types.string(), - provider: types.optional(types.string()), - type: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + login: types.string(), + provider: types.optional(types.string()), + type: types.optional(types.string()), + }) +); export function getDeploymentResponseBodyGitUserFromJSON( jsonString: string, @@ -3647,11 +3823,13 @@ export const GetDeploymentResponseBodyVercelUser$inboundSchema: z.ZodType< GetDeploymentResponseBodyVercelUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - teamRoles: types.optional(z.array(types.string())), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + teamRoles: types.optional(z.array(types.string())), + username: types.string(), + }) +); export function getDeploymentResponseBodyVercelUserFromJSON( jsonString: string, @@ -3669,17 +3847,19 @@ export const GetDeploymentResponseBodyAttribution$inboundSchema: z.ZodType< GetDeploymentResponseBodyAttribution, z.ZodTypeDef, unknown -> = z.object({ - commitMeta: types.optional( - z.lazy(() => GetDeploymentResponseBodyCommitMeta$inboundSchema), - ), - gitUser: types.optional( - z.lazy(() => GetDeploymentResponseBodyGitUser$inboundSchema), - ), - vercelUser: types.optional( - z.lazy(() => GetDeploymentResponseBodyVercelUser$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMeta: types.optional( + z.lazy(() => GetDeploymentResponseBodyCommitMeta$inboundSchema), + ), + gitUser: types.optional( + z.lazy(() => GetDeploymentResponseBodyGitUser$inboundSchema), + ), + vercelUser: types.optional( + z.lazy(() => GetDeploymentResponseBodyVercelUser$inboundSchema), + ), + }) +); export function getDeploymentResponseBodyAttributionFromJSON( jsonString: string, @@ -3697,9 +3877,11 @@ export const GetDeploymentResponseBodyBuild$inboundSchema: z.ZodType< GetDeploymentResponseBodyBuild, z.ZodTypeDef, unknown -> = z.object({ - env: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: z.array(types.string()), + }) +); export function getDeploymentResponseBodyBuildFromJSON( jsonString: string, @@ -3716,11 +3898,13 @@ export const GetDeploymentResponseBodyBuilds$inboundSchema: z.ZodType< GetDeploymentResponseBodyBuilds, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional(z.record(z.any())), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional(z.record(z.any())), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getDeploymentResponseBodyBuildsFromJSON( jsonString: string, @@ -3734,19 +3918,23 @@ export function getDeploymentResponseBodyBuildsFromJSON( /** @internal */ export const GetDeploymentResponseBodyDeploymentsState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsState) + ); /** @internal */ export const GetDeploymentResponseBodyDeploymentAlias$inboundSchema: z.ZodType< GetDeploymentResponseBodyDeploymentAlias, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - startedAt: types.number(), - state: GetDeploymentResponseBodyDeploymentsState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + startedAt: types.number(), + state: GetDeploymentResponseBodyDeploymentsState$inboundSchema, + }) +); export function getDeploymentResponseBodyDeploymentAliasFromJSON( jsonString: string, @@ -3769,15 +3957,17 @@ export const ResponseBodyChecks$inboundSchema: z.ZodType< ResponseBodyChecks, z.ZodTypeDef, unknown -> = z.object({ - "deployment-alias": z.lazy(() => - GetDeploymentResponseBodyDeploymentAlias$inboundSchema - ), -}).transform((v) => { - return remap$(v, { - "deployment-alias": "deploymentAlias", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "deployment-alias": z.lazy(() => + GetDeploymentResponseBodyDeploymentAlias$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "deployment-alias": "deploymentAlias", + }); + }) +); export function responseBodyChecksFromJSON( jsonString: string, @@ -3791,42 +3981,51 @@ export function responseBodyChecksFromJSON( /** @internal */ export const GetDeploymentResponseBodyChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyChecksConclusion) + ); /** @internal */ export const GetDeploymentResponseBodyChecksState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyChecksState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyChecksState) + ); /** @internal */ export const GetDeploymentResponseBodyFunctionMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyFunctionMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyFunctionMemoryType) + ); /** @internal */ export const GetDeploymentResponseBodyFunctionType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyFunctionType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyFunctionType) + ); /** @internal */ export const GetDeploymentResponseBodyConfiguration$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyConfiguration, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyConfiguration) + ); /** @internal */ export const GetDeploymentResponseBodyBuildQueue$inboundSchema: z.ZodType< GetDeploymentResponseBodyBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - GetDeploymentResponseBodyConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetDeploymentResponseBodyConfiguration$inboundSchema, + ), + }) +); export function getDeploymentResponseBodyBuildQueueFromJSON( jsonString: string, @@ -3841,24 +4040,30 @@ export function getDeploymentResponseBodyBuildQueueFromJSON( /** @internal */ export const GetDeploymentResponseBodyElasticConcurrency$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyElasticConcurrency); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyElasticConcurrency) + ); /** @internal */ export const GetDeploymentResponseBodyPurchaseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyPurchaseType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyPurchaseType) + ); /** @internal */ export const GetDeploymentResponseBodyBuildMachine$inboundSchema: z.ZodType< GetDeploymentResponseBodyBuildMachine, z.ZodTypeDef, unknown -> = z.object({ - purchaseType: z.nullable(GetDeploymentResponseBodyPurchaseType$inboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: z.nullable( + GetDeploymentResponseBodyPurchaseType$inboundSchema, + ).optional(), + }) +); export function getDeploymentResponseBodyBuildMachineFromJSON( jsonString: string, @@ -3877,17 +4082,19 @@ export const GetDeploymentResponseBodyDeploymentsResourceConfig$inboundSchema: GetDeploymentResponseBodyDeploymentsResourceConfig, z.ZodTypeDef, unknown - > = z.object({ - buildQueue: types.optional( - z.lazy(() => GetDeploymentResponseBodyBuildQueue$inboundSchema), - ), - elasticConcurrency: types.optional( - GetDeploymentResponseBodyElasticConcurrency$inboundSchema, - ), - buildMachine: types.optional( - z.lazy(() => GetDeploymentResponseBodyBuildMachine$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildQueue: types.optional( + z.lazy(() => GetDeploymentResponseBodyBuildQueue$inboundSchema), + ), + elasticConcurrency: types.optional( + GetDeploymentResponseBodyElasticConcurrency$inboundSchema, + ), + buildMachine: types.optional( + z.lazy(() => GetDeploymentResponseBodyBuildMachine$inboundSchema), + ), + }) + ); export function getDeploymentResponseBodyDeploymentsResourceConfigFromJSON( jsonString: string, @@ -3910,20 +4117,23 @@ export const ResponseBodyConfig$inboundSchema: z.ZodType< ResponseBodyConfig, z.ZodTypeDef, unknown -> = z.object({ - functionMemoryType: GetDeploymentResponseBodyFunctionMemoryType$inboundSchema, - functionTimeout: types.nullable(types.number()), - functionType: GetDeploymentResponseBodyFunctionType$inboundSchema, - isUsingActiveCPU: types.optional(types.boolean()), - resourceConfig: types.optional( - z.lazy(() => - GetDeploymentResponseBodyDeploymentsResourceConfig$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionMemoryType: + GetDeploymentResponseBodyFunctionMemoryType$inboundSchema, + functionTimeout: types.nullable(types.number()), + functionType: GetDeploymentResponseBodyFunctionType$inboundSchema, + isUsingActiveCPU: types.optional(types.boolean()), + resourceConfig: types.optional( + z.lazy(() => + GetDeploymentResponseBodyDeploymentsResourceConfig$inboundSchema + ), ), - ), - secureComputeFallbackRegion: types.nullable(types.string()), - secureComputePrimaryRegion: types.nullable(types.string()), - version: types.optional(types.number()), -}); + secureComputeFallbackRegion: types.nullable(types.string()), + secureComputePrimaryRegion: types.nullable(types.string()), + version: types.optional(types.number()), + }) +); export function responseBodyConfigFromJSON( jsonString: string, @@ -3938,21 +4148,25 @@ export function responseBodyConfigFromJSON( /** @internal */ export const GetDeploymentResponseBodyDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponse200Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentResponseBodyCreator$inboundSchema: z.ZodType< GetDeploymentResponseBodyCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - type: types.optional( - GetDeploymentResponseBodyDeploymentsResponse200Type$inboundSchema, - ), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + type: types.optional( + GetDeploymentResponseBodyDeploymentsResponse200Type$inboundSchema, + ), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function getDeploymentResponseBodyCreatorFromJSON( jsonString: string, @@ -3969,10 +4183,12 @@ export const GetDeploymentResponseBodyCrons$inboundSchema: z.ZodType< GetDeploymentResponseBodyCrons, z.ZodTypeDef, unknown -> = z.object({ - path: types.string(), - schedule: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.string(), + schedule: types.string(), + }) +); export function getDeploymentResponseBodyCronsFromJSON( jsonString: string, @@ -3987,9 +4203,11 @@ export function getDeploymentResponseBodyCronsFromJSON( /** @internal */ export const GetDeploymentCustomEnvironmentDeployments2$inboundSchema: z.ZodType = - z.object({ - id: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) + ); export function getDeploymentCustomEnvironmentDeployments2FromJSON( jsonString: string, @@ -4011,7 +4229,9 @@ export function getDeploymentCustomEnvironmentDeployments2FromJSON( export const GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponseType - > = z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema: @@ -4019,10 +4239,12 @@ export const GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema: GetDeploymentCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema, + }) + ); export function getDeploymentCustomEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -4043,12 +4265,14 @@ export function getDeploymentCustomEnvironmentBranchMatcherFromJSON( /** @internal */ export const GetDeploymentCustomEnvironmentVerification$inboundSchema: z.ZodType = - z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) + ); export function getDeploymentCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -4071,23 +4295,23 @@ export const GetDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType< GetDeploymentCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional(z.array(z.lazy(() => GetDeploymentCustomEnvironmentVerification$inboundSchema - )), - ), - verified: types.boolean(), -}); + ))), + verified: types.boolean(), + }) +); export function getDeploymentCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -4102,29 +4326,35 @@ export function getDeploymentCustomEnvironmentDomainsFromJSON( /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentCustomEnvironmentDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsType) + ); /** @internal */ export const GetDeploymentCustomEnvironmentDeployments1$inboundSchema: z.ZodType = - z.object({ - branchMatcher: types.optional( - z.lazy(() => GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array( - z.lazy(() => GetDeploymentCustomEnvironmentDomains$inboundSchema), + /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => + GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema + ), ), - ), - id: types.string(), - slug: types.string(), - type: GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema, - updatedAt: types.number(), - }); + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => + GetDeploymentCustomEnvironmentDomains$inboundSchema + )), + ), + id: types.string(), + slug: types.string(), + type: GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema, + updatedAt: types.number(), + }) + ); export function getDeploymentCustomEnvironmentDeployments1FromJSON( jsonString: string, @@ -4147,10 +4377,12 @@ export const ResponseBodyCustomEnvironment$inboundSchema: z.ZodType< ResponseBodyCustomEnvironment, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), - z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), + z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), + ]) +); export function responseBodyCustomEnvironmentFromJSON( jsonString: string, @@ -4167,15 +4399,17 @@ export const ResponseBodyDuration$inboundSchema: z.ZodType< ResponseBodyDuration, z.ZodTypeDef, unknown -> = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) +); export function responseBodyDurationFromJSON( jsonString: string, @@ -4192,7 +4426,7 @@ export const GetDeploymentFlags2$inboundSchema: z.ZodType< GetDeploymentFlags2, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDeploymentFlags2FromJSON( jsonString: string, @@ -4209,10 +4443,12 @@ export const GetDeploymentFlagsOptions$inboundSchema: z.ZodType< GetDeploymentFlagsOptions, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - value: types.nullable(FlagJSONValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + value: types.nullable(FlagJSONValue$inboundSchema), + }) +); export function getDeploymentFlagsOptionsFromJSON( jsonString: string, @@ -4229,13 +4465,15 @@ export const GetDeploymentFlagsDefinitions$inboundSchema: z.ZodType< GetDeploymentFlagsDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - options: types.optional( - z.array(z.lazy(() => GetDeploymentFlagsOptions$inboundSchema)), - ), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + options: types.optional( + z.array(z.lazy(() => GetDeploymentFlagsOptions$inboundSchema)), + ), + url: types.optional(types.string()), + }) +); export function getDeploymentFlagsDefinitionsFromJSON( jsonString: string, @@ -4252,11 +4490,13 @@ export const GetDeploymentFlags1$inboundSchema: z.ZodType< GetDeploymentFlags1, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.record( - z.lazy(() => GetDeploymentFlagsDefinitions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.record( + z.lazy(() => GetDeploymentFlagsDefinitions$inboundSchema), + ), + }) +); export function getDeploymentFlags1FromJSON( jsonString: string, @@ -4273,10 +4513,12 @@ export const GetDeploymentResponseBodyFlags$inboundSchema: z.ZodType< GetDeploymentResponseBodyFlags, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentFlags1$inboundSchema), - z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentFlags1$inboundSchema), + z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), + ]) +); export function getDeploymentResponseBodyFlagsFromJSON( jsonString: string, @@ -4291,16 +4533,20 @@ export function getDeploymentResponseBodyFlagsFromJSON( /** @internal */ export const GetDeploymentResponseBodyMode$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyMode -> = z.nativeEnum(GetDeploymentResponseBodyMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyMode) +); /** @internal */ export const GetDeploymentResponseBodyAffinity$inboundSchema: z.ZodType< GetDeploymentResponseBodyAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: GetDeploymentResponseBodyMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: GetDeploymentResponseBodyMode$inboundSchema, + }) +); export function getDeploymentResponseBodyAffinityFromJSON( jsonString: string, @@ -4314,18 +4560,21 @@ export function getDeploymentResponseBodyAffinityFromJSON( /** @internal */ export const GetDeploymentResponseBodyArchitecture$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyArchitecture, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyArchitecture) + ); /** @internal */ export const GetDeploymentExperimentalTriggers3$inboundSchema: z.ZodType< GetDeploymentExperimentalTriggers3, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("schedule/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) +); export function getDeploymentExperimentalTriggers3FromJSON( jsonString: string, @@ -4343,14 +4592,16 @@ export const GetDeploymentExperimentalTriggers2$inboundSchema: z.ZodType< GetDeploymentExperimentalTriggers2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) +); export function getDeploymentExperimentalTriggers2FromJSON( jsonString: string, @@ -4368,15 +4619,17 @@ export const GetDeploymentExperimentalTriggers1$inboundSchema: z.ZodType< GetDeploymentExperimentalTriggers1, z.ZodTypeDef, unknown -> = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) +); export function getDeploymentExperimentalTriggers1FromJSON( jsonString: string, @@ -4395,11 +4648,13 @@ export const GetDeploymentResponseBodyExperimentalTriggers$inboundSchema: GetDeploymentResponseBodyExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetDeploymentExperimentalTriggers1$inboundSchema), - z.lazy(() => GetDeploymentExperimentalTriggers2$inboundSchema), - z.lazy(() => GetDeploymentExperimentalTriggers3$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentExperimentalTriggers1$inboundSchema), + z.lazy(() => GetDeploymentExperimentalTriggers2$inboundSchema), + z.lazy(() => GetDeploymentExperimentalTriggers3$inboundSchema), + ]) + ); export function getDeploymentResponseBodyExperimentalTriggersFromJSON( jsonString: string, @@ -4420,14 +4675,16 @@ export function getDeploymentResponseBodyExperimentalTriggersFromJSON( /** @internal */ export const GetDeploymentMaxDuration2$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentMaxDuration2 -> = z.nativeEnum(GetDeploymentMaxDuration2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentMaxDuration2)); /** @internal */ export const GetDeploymentResponseBodyMaxDuration$inboundSchema: z.ZodType< GetDeploymentResponseBodyMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([types.number(), GetDeploymentMaxDuration2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), GetDeploymentMaxDuration2$inboundSchema]) +); export function getDeploymentResponseBodyMaxDurationFromJSON( jsonString: string, @@ -4445,36 +4702,36 @@ export const GetDeploymentResponseBodyFunctions$inboundSchema: z.ZodType< GetDeploymentResponseBodyFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional( - z.lazy(() => GetDeploymentResponseBodyAffinity$inboundSchema), - ), - architecture: types.optional( - GetDeploymentResponseBodyArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => GetDeploymentResponseBodyAffinity$inboundSchema), + ), + architecture: types.optional( + GetDeploymentResponseBodyArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentExperimentalTriggers1$inboundSchema), z.lazy(() => GetDeploymentExperimentalTriggers2$inboundSchema ), z.lazy(() => GetDeploymentExperimentalTriggers3$inboundSchema), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([types.number(), GetDeploymentMaxDuration2$inboundSchema]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([types.number(), GetDeploymentMaxDuration2$inboundSchema]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function getDeploymentResponseBodyFunctionsFromJSON( jsonString: string, @@ -4489,25 +4746,29 @@ export function getDeploymentResponseBodyFunctionsFromJSON( /** @internal */ export const GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitRepoDeploymentsResponseOwnerType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitRepoDeploymentsResponseOwnerType) + ); /** @internal */ export const GetDeploymentGitRepo5$inboundSchema: z.ZodType< GetDeploymentGitRepo5, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.string(), - type: types.literal("cursor-origin"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.string(), + type: types.literal("cursor-origin"), + }) +); export function getDeploymentGitRepo5FromJSON( jsonString: string, @@ -4521,24 +4782,28 @@ export function getDeploymentGitRepo5FromJSON( /** @internal */ export const GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitRepoDeploymentsOwnerType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitRepoDeploymentsOwnerType) + ); /** @internal */ export const GetDeploymentGitRepo4$inboundSchema: z.ZodType< GetDeploymentGitRepo4, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - type: types.literal("vercel"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + type: types.literal("vercel"), + }) +); export function getDeploymentGitRepo4FromJSON( jsonString: string, @@ -4553,25 +4818,29 @@ export function getDeploymentGitRepo4FromJSON( /** @internal */ export const GetDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitRepoOwnerType -> = z.nativeEnum(GetDeploymentGitRepoOwnerType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitRepoOwnerType) +); /** @internal */ export const GetDeploymentGitRepo3$inboundSchema: z.ZodType< GetDeploymentGitRepo3, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - owner: types.string(), - ownerType: GetDeploymentGitRepoOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repoUuid: types.string(), - slug: types.string(), - type: types.literal("bitbucket"), - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + owner: types.string(), + ownerType: GetDeploymentGitRepoOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repoUuid: types.string(), + slug: types.string(), + type: types.literal("bitbucket"), + workspaceUuid: types.string(), + }) +); export function getDeploymentGitRepo3FromJSON( jsonString: string, @@ -4587,8 +4856,10 @@ export function getDeploymentGitRepo3FromJSON( export const GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType - > = z.nativeEnum( - GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType, + ) ); /** @internal */ @@ -4596,19 +4867,21 @@ export const GetDeploymentGitRepo2$inboundSchema: z.ZodType< GetDeploymentGitRepo2, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - org: types.string(), - ownerType: - GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - repo: types.string(), - repoId: types.number(), - repoOwnerId: types.number(), - type: types.literal("github"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + org: types.string(), + ownerType: + GetDeploymentGitRepoDeploymentsResponse200ApplicationJSONOwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + repo: types.string(), + repoId: types.number(), + repoOwnerId: types.number(), + type: types.literal("github"), + }) +); export function getDeploymentGitRepo2FromJSON( jsonString: string, @@ -4623,24 +4896,29 @@ export function getDeploymentGitRepo2FromJSON( /** @internal */ export const GetDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDeploymentGitRepoDeploymentsResponse200OwnerType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitRepoDeploymentsResponse200OwnerType) + ); /** @internal */ export const GetDeploymentGitRepo1$inboundSchema: z.ZodType< GetDeploymentGitRepo1, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - name: types.string(), - namespace: types.string(), - ownerType: GetDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema, - path: types.string(), - private: types.boolean(), - projectId: types.number(), - type: types.literal("gitlab"), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + name: types.string(), + namespace: types.string(), + ownerType: + GetDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema, + path: types.string(), + private: types.boolean(), + projectId: types.number(), + type: types.literal("gitlab"), + url: types.string(), + }) +); export function getDeploymentGitRepo1FromJSON( jsonString: string, @@ -4657,13 +4935,15 @@ export const GetDeploymentResponseBodyGitRepo$inboundSchema: z.ZodType< GetDeploymentResponseBodyGitRepo, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentGitRepo1$inboundSchema), - z.lazy(() => GetDeploymentGitRepo2$inboundSchema), - z.lazy(() => GetDeploymentGitRepo3$inboundSchema), - z.lazy(() => GetDeploymentGitRepo4$inboundSchema), - z.lazy(() => GetDeploymentGitRepo5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentGitRepo1$inboundSchema), + z.lazy(() => GetDeploymentGitRepo2$inboundSchema), + z.lazy(() => GetDeploymentGitRepo3$inboundSchema), + z.lazy(() => GetDeploymentGitRepo4$inboundSchema), + z.lazy(() => GetDeploymentGitRepo5$inboundSchema), + ]) +); export function getDeploymentResponseBodyGitRepoFromJSON( jsonString: string, @@ -4679,6 +4959,8 @@ export function getDeploymentResponseBodyGitRepoFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type, + ) ); diff --git a/src/models/getdeploymentresponsebody.ts b/src/models/getdeploymentresponsebody.ts index b0550bbeb2..8a48c9914a 100644 --- a/src/models/getdeploymentresponsebody.ts +++ b/src/models/getdeploymentresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -892,24 +892,29 @@ export type GetDeploymentResponseBody = /** @internal */ export const GetDeploymentServicesDeploymentsScheme$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesDeploymentsScheme, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsScheme) + ); /** @internal */ export const GetDeploymentServicesDeploymentsHttpGet$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsHttpGet, z.ZodTypeDef, unknown -> = z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(GetDeploymentServicesDeploymentsHttpHeaders$inboundSchema), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional(GetDeploymentServicesDeploymentsScheme$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(GetDeploymentServicesDeploymentsHttpHeaders$inboundSchema), + ), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional( + GetDeploymentServicesDeploymentsScheme$inboundSchema, + ), + }) +); export function getDeploymentServicesDeploymentsHttpGetFromJSON( jsonString: string, @@ -933,16 +938,18 @@ export const GetDeploymentServicesDeploymentsLivenessProbe$inboundSchema: GetDeploymentServicesDeploymentsLivenessProbe, z.ZodTypeDef, unknown - > = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => - GetDeploymentServicesDeploymentsHttpGet$inboundSchema - ), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => + GetDeploymentServicesDeploymentsHttpGet$inboundSchema + ), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) + ); export function getDeploymentServicesDeploymentsLivenessProbeFromJSON( jsonString: string, @@ -963,16 +970,20 @@ export function getDeploymentServicesDeploymentsLivenessProbeFromJSON( /** @internal */ export const GetDeploymentServicesMemory$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesMemory -> = z.nativeEnum(GetDeploymentServicesMemory); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesMemory) +); /** @internal */ export const GetDeploymentServicesDeploymentsRequests$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsRequests, z.ZodTypeDef, unknown -> = z.object({ - memory: GetDeploymentServicesMemory$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: GetDeploymentServicesMemory$inboundSchema, + }) +); export function getDeploymentServicesDeploymentsRequestsFromJSON( jsonString: string, @@ -995,11 +1006,13 @@ export const GetDeploymentServicesDeploymentsResources$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => - GetDeploymentServicesDeploymentsRequests$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => + GetDeploymentServicesDeploymentsRequests$inboundSchema + ), + }) +); export function getDeploymentServicesDeploymentsResourcesFromJSON( jsonString: string, @@ -1022,25 +1035,27 @@ export const GetDeploymentServicesDaemon$inboundSchema: z.ZodType< GetDeploymentServicesDaemon, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(GetDeploymentServicesDeploymentsBindings$inboundSchema), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsLivenessProbe$inboundSchema), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsResources$inboundSchema), - ), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional( + z.array(GetDeploymentServicesDeploymentsBindings$inboundSchema), + ), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsLivenessProbe$inboundSchema), + ), + replicas: types.optional(z.record(types.number())), + resources: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsResources$inboundSchema), + ), + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) +); export function getDeploymentServicesDaemonFromJSON( jsonString: string, @@ -1057,7 +1072,9 @@ export const GetDeploymentServicesExcludeFiles$inboundSchema: z.ZodType< GetDeploymentServicesExcludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentServicesExcludeFilesFromJSON( jsonString: string, @@ -1071,18 +1088,21 @@ export function getDeploymentServicesExcludeFilesFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsMode$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesDeploymentsMode, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsMode) + ); /** @internal */ export const GetDeploymentServicesDeploymentsAffinity$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: GetDeploymentServicesDeploymentsMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: GetDeploymentServicesDeploymentsMode$inboundSchema, + }) +); export function getDeploymentServicesDeploymentsAffinityFromJSON( jsonString: string, @@ -1102,8 +1122,10 @@ export function getDeploymentServicesDeploymentsAffinityFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsArchitecture$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsArchitecture); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsArchitecture) + ); /** @internal */ export const GetDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema: @@ -1111,9 +1133,11 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema GetDeploymentExperimentalTriggersDeploymentsResponse3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse3FromJSON( jsonString: string, @@ -1137,14 +1161,16 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema GetDeploymentExperimentalTriggersDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse2FromJSON( jsonString: string, @@ -1168,15 +1194,17 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema GetDeploymentExperimentalTriggersDeploymentsResponse1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse1FromJSON( jsonString: string, @@ -1200,17 +1228,19 @@ export const GetDeploymentServicesDeploymentsExperimentalTriggers$inboundSchema: GetDeploymentServicesDeploymentsExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema - ), - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema - ), - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema + ), + ]) + ); export function getDeploymentServicesDeploymentsExperimentalTriggersFromJSON( jsonString: string, @@ -1230,8 +1260,10 @@ export function getDeploymentServicesDeploymentsExperimentalTriggersFromJSON( /** @internal */ export const GetDeploymentMaxDurationDeploymentsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentMaxDurationDeploymentsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMaxDurationDeploymentsResponse2) + ); /** @internal */ export const GetDeploymentServicesDeploymentsMaxDuration$inboundSchema: @@ -1239,10 +1271,12 @@ export const GetDeploymentServicesDeploymentsMaxDuration$inboundSchema: GetDeploymentServicesDeploymentsMaxDuration, z.ZodTypeDef, unknown - > = smartUnion([ - types.number(), - GetDeploymentMaxDurationDeploymentsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]) + ); export function getDeploymentServicesDeploymentsMaxDurationFromJSON( jsonString: string, @@ -1265,16 +1299,16 @@ export const GetDeploymentServicesDeploymentsFunctions$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsAffinity$inboundSchema), - ), - architecture: types.optional( - GetDeploymentServicesDeploymentsArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsAffinity$inboundSchema), + ), + architecture: types.optional( + GetDeploymentServicesDeploymentsArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema ), @@ -1284,24 +1318,24 @@ export const GetDeploymentServicesDeploymentsFunctions$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - GetDeploymentMaxDurationDeploymentsResponse2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeploymentsResponse2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function getDeploymentServicesDeploymentsFunctionsFromJSON( jsonString: string, @@ -1324,7 +1358,9 @@ export const GetDeploymentServicesIncludeFiles$inboundSchema: z.ZodType< GetDeploymentServicesIncludeFiles, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentServicesIncludeFilesFromJSON( jsonString: string, @@ -1341,7 +1377,9 @@ export const GetDeploymentServicesMiddlewareMatcher$inboundSchema: z.ZodType< GetDeploymentServicesMiddlewareMatcher, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentServicesMiddlewareMatcherFromJSON( jsonString: string, @@ -1356,9 +1394,10 @@ export function getDeploymentServicesMiddlewareMatcherFromJSON( /** @internal */ export const GetDeploymentServicesMiddlewareRuntime$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesMiddlewareRuntime, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesMiddlewareRuntime) + ); /** @internal */ export const GetDeploymentServicesDeploymentsVercelFlags$inboundSchema: @@ -1366,9 +1405,11 @@ export const GetDeploymentServicesDeploymentsVercelFlags$inboundSchema: GetDeploymentServicesDeploymentsVercelFlags, z.ZodTypeDef, unknown - > = z.object({ - enabledAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) + ); export function getDeploymentServicesDeploymentsVercelFlagsFromJSON( jsonString: string, @@ -1392,25 +1433,27 @@ export const GetDeploymentServicesDeploymentsProjectSettings$inboundSchema: GetDeploymentServicesDeploymentsProjectSettings, z.ZodTypeDef, unknown - > = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsVercelFlags$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsVercelFlags$inboundSchema), + ), + }) + ); export function getDeploymentServicesDeploymentsProjectSettingsFromJSON( jsonString: string, @@ -1433,9 +1476,11 @@ export const GetDeploymentServicesSchedulesModule$inboundSchema: z.ZodType< GetDeploymentServicesSchedulesModule, z.ZodTypeDef, unknown -> = z.object({ - module: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) +); export function getDeploymentServicesSchedulesModuleFromJSON( jsonString: string, @@ -1453,53 +1498,53 @@ export const GetDeploymentServicesDeploymentsConfig$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional( - z.lazy(() => GetDeploymentServicesDaemon$inboundSchema), - ), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional( + z.lazy(() => GetDeploymentServicesDaemon$inboundSchema), + ), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional(z.record(z.lazy(() => GetDeploymentServicesDeploymentsFunctions$inboundSchema + ))), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional( + GetDeploymentServicesMiddlewareRuntime$inboundSchema, + ), + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional(z.lazy(() => + GetDeploymentServicesDeploymentsProjectSettings$inboundSchema + )), + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional(z.lazy(() => + GetDeploymentServicesSchedulesModule$inboundSchema )), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional( - GetDeploymentServicesMiddlewareRuntime$inboundSchema, - ), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsProjectSettings$inboundSchema), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional( - z.lazy(() => GetDeploymentServicesSchedulesModule$inboundSchema), - ), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function getDeploymentServicesDeploymentsConfigFromJSON( jsonString: string, @@ -1517,13 +1562,15 @@ export const GetDeploymentServicesBuilder$inboundSchema: z.ZodType< GetDeploymentServicesBuilder, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsConfig$inboundSchema), - ), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsConfig$inboundSchema), + ), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getDeploymentServicesBuilderFromJSON( jsonString: string, @@ -1537,18 +1584,22 @@ export function getDeploymentServicesBuilderFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentServicesEnv$inboundSchema: z.ZodType< GetDeploymentServicesEnv, z.ZodTypeDef, unknown -> = z.object({ - service: types.string(), - type: GetDeploymentServicesDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + service: types.string(), + type: GetDeploymentServicesDeploymentsResponseType$inboundSchema, + }) +); export function getDeploymentServicesEnvFromJSON( jsonString: string, @@ -1562,16 +1613,19 @@ export function getDeploymentServicesEnvFromJSON( /** @internal */ export const GetDeploymentServicesRoutePrefixSource$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesRoutePrefixSource, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesRoutePrefixSource) + ); /** @internal */ export const GetDeploymentServicesSchedule$inboundSchema: z.ZodType< GetDeploymentServicesSchedule, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentServicesScheduleFromJSON( jsonString: string, @@ -1588,11 +1642,13 @@ export const GetDeploymentTopics2$inboundSchema: z.ZodType< GetDeploymentTopics2, z.ZodTypeDef, unknown -> = z.object({ - initialDelaySeconds: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + }) +); export function getDeploymentTopics2FromJSON( jsonString: string, @@ -1609,10 +1665,12 @@ export const GetDeploymentServicesTopics$inboundSchema: z.ZodType< GetDeploymentServicesTopics, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => GetDeploymentTopics2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => GetDeploymentTopics2$inboundSchema)), + ]) +); export function getDeploymentServicesTopicsFromJSON( jsonString: string, @@ -1627,51 +1685,55 @@ export function getDeploymentServicesTopicsFromJSON( /** @internal */ export const GetDeploymentServicesTrigger$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesTrigger -> = z.nativeEnum(GetDeploymentServicesTrigger); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesTrigger) +); /** @internal */ export const GetDeploymentServicesType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesType -> = z.nativeEnum(GetDeploymentServicesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentServicesType)); /** @internal */ export const GetDeploymentServices1$inboundSchema: z.ZodType< GetDeploymentServices1, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - builder: z.lazy(() => GetDeploymentServicesBuilder$inboundSchema), - entrypoint: types.optional(types.string()), - env: types.optional( - z.record(z.lazy(() => GetDeploymentServicesEnv$inboundSchema)), - ), - framework: types.optional(types.string()), - group: types.optional(types.string()), - handlerFunction: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - preDeployCommand: types.optional(types.string()), - routePrefix: types.optional(types.string()), - routePrefixSource: types.optional( - GetDeploymentServicesRoutePrefixSource$inboundSchema, - ), - runtime: types.optional(types.string()), - schedule: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - schema: types.literal("experimentalServices"), - subdomain: types.optional(types.string()), - topics: types.optional( - smartUnion([ - z.array(types.string()), - z.array(z.lazy(() => GetDeploymentTopics2$inboundSchema)), - ]), - ), - trigger: types.optional(GetDeploymentServicesTrigger$inboundSchema), - type: GetDeploymentServicesType$inboundSchema, - workspace: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + builder: z.lazy(() => GetDeploymentServicesBuilder$inboundSchema), + entrypoint: types.optional(types.string()), + env: types.optional( + z.record(z.lazy(() => GetDeploymentServicesEnv$inboundSchema)), + ), + framework: types.optional(types.string()), + group: types.optional(types.string()), + handlerFunction: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + preDeployCommand: types.optional(types.string()), + routePrefix: types.optional(types.string()), + routePrefixSource: types.optional( + GetDeploymentServicesRoutePrefixSource$inboundSchema, + ), + runtime: types.optional(types.string()), + schedule: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + schema: types.literal("experimentalServices"), + subdomain: types.optional(types.string()), + topics: types.optional( + smartUnion([ + z.array(types.string()), + z.array(z.lazy(() => GetDeploymentTopics2$inboundSchema)), + ]), + ), + trigger: types.optional(GetDeploymentServicesTrigger$inboundSchema), + type: GetDeploymentServicesType$inboundSchema, + workspace: types.string(), + }) +); export function getDeploymentServices1FromJSON( jsonString: string, @@ -1688,10 +1750,12 @@ export const GetDeploymentResponseBodyServices$inboundSchema: z.ZodType< GetDeploymentResponseBodyServices, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentServices1$inboundSchema), - GetDeploymentServices2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentServices1$inboundSchema), + GetDeploymentServices2$inboundSchema, + ]) +); export function getDeploymentResponseBodyServicesFromJSON( jsonString: string, @@ -1706,29 +1770,37 @@ export function getDeploymentResponseBodyServicesFromJSON( /** @internal */ export const GetDeploymentResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodySource -> = z.nativeEnum(GetDeploymentResponseBodySource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodySource) +); /** @internal */ export const GetDeploymentResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyStatus -> = z.nativeEnum(GetDeploymentResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyStatus) +); /** @internal */ export const GetDeploymentResponseBodyTarget$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyTarget -> = z.nativeEnum(GetDeploymentResponseBodyTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyTarget) +); /** @internal */ export const GetDeploymentResponseBodyTeam$inboundSchema: z.ZodType< GetDeploymentResponseBodyTeam, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function getDeploymentResponseBodyTeamFromJSON( jsonString: string, @@ -1743,149 +1815,156 @@ export function getDeploymentResponseBodyTeamFromJSON( /** @internal */ export const GetDeploymentResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyType -> = z.nativeEnum(GetDeploymentResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyType) +); /** @internal */ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType< GetDeploymentResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasAssignedAt: z.nullable( - GetDeploymentResponseBodyAliasAssignedAt$inboundSchema, - ).optional(), - aliasError: z.nullable(ResponseBodyAliasError$inboundSchema).optional(), - aliasFinal: z.nullable(types.string()).optional(), - aliasWarning: z.nullable(ResponseBodyAliasWarning$inboundSchema).optional(), - alwaysRefuseToBuild: types.optional(types.boolean()), - atproto: types.optional(GetDeploymentResponseBodyAtproto$inboundSchema), - attribution: types.optional( - GetDeploymentResponseBodyAttribution$inboundSchema, - ), - autoAssignCustomDomains: types.optional(types.boolean()), - automaticAliases: types.optional(z.array(types.string())), - bootedAt: types.number(), - build: GetDeploymentResponseBodyBuild$inboundSchema, - buildArtifactUrls: types.optional(z.array(types.string())), - buildContainerFinishedAt: types.optional(types.number()), - buildErrorAt: types.optional(types.number()), - buildingAt: types.number(), - builds: types.optional( - z.array(GetDeploymentResponseBodyBuilds$inboundSchema), - ), - buildSkipped: types.boolean(), - canceledAt: types.optional(types.number()), - checks: types.optional(ResponseBodyChecks$inboundSchema), - checksConclusion: types.optional( - GetDeploymentResponseBodyChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetDeploymentResponseBodyChecksState$inboundSchema, - ), - config: types.optional(ResponseBodyConfig$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: GetDeploymentResponseBodyCreator$inboundSchema, - crons: types.optional(z.array(GetDeploymentResponseBodyCrons$inboundSchema)), - customEnvironment: types.optional( - ResponseBodyCustomEnvironment$inboundSchema, - ), - defaultRoute: types.optional(types.string()), - deletedAt: z.nullable(types.number()).optional(), - duration: ResponseBodyDuration$inboundSchema, - env: z.array(types.string()), - errorCode: types.optional(types.string()), - errorLink: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - errorStep: types.optional(types.string()), - flags: types.optional(GetDeploymentResponseBodyFlags$inboundSchema), - functions: z.nullable( - z.record(GetDeploymentResponseBodyFunctions$inboundSchema), - ).optional(), - gitRepo: z.nullable(GetDeploymentResponseBodyGitRepo$inboundSchema) - .optional(), - gitSource: types.optional(GetDeploymentResponseBodyGitSource$inboundSchema), - id: types.string(), - images: types.optional(GetDeploymentResponseBodyImages$inboundSchema), - initReadyAt: types.optional(types.number()), - inspectorUrl: types.nullable(types.string()), - integrations: types.optional( - GetDeploymentResponseBodyIntegrations$inboundSchema, - ), - isFirstBranchDeployment: types.optional(types.boolean()), - isInConcurrentBuildsQueue: types.boolean(), - isInstantStatic: types.optional(types.boolean()), - isInSystemBuildsQueue: types.boolean(), - lambdas: types.optional( - z.array(GetDeploymentResponseBodyLambdas$inboundSchema), - ), - manualProvisioning: types.optional( - GetDeploymentResponseBodyManualProvisioning$inboundSchema, - ), - meta: z.record(types.string()), - microfrontends: types.optional( - GetDeploymentResponseBodyMicrofrontends$inboundSchema, - ), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - nodeVersion: types.optional( - GetDeploymentResponseBodyNodeVersion$inboundSchema, - ), - oidcTokenClaims: types.optional( - GetDeploymentResponseBodyOidcTokenClaims$inboundSchema, - ), - oomReport: types.optional(GetDeploymentResponseBodyOomReport$inboundSchema), - originCacheRegion: types.optional(types.string()), - ownerId: types.string(), - passiveConnectConfigurationId: types.optional(types.string()), - passiveRegions: types.optional(z.array(types.string())), - plan: GetDeploymentResponseBodyPlan$inboundSchema, - platform: types.optional(GetDeploymentResponseBodyPlatform$inboundSchema), - prebuilt: types.optional(types.boolean()), - previewCommentsEnabled: types.optional(types.boolean()), - project: types.optional(ResponseBodyProject$inboundSchema), - projectId: types.string(), - projectSettings: ResponseBodyProjectSettings$inboundSchema, - public: types.boolean(), - ready: types.optional(types.number()), - readyState: ResponseBodyReadyState$inboundSchema, - readyStateReason: types.optional(types.string()), - readySubstate: types.optional( - GetDeploymentResponseBodyReadySubstate$inboundSchema, - ), - regions: z.array(types.string()), - resourceConfig: types.optional( - GetDeploymentResponseBodyResourceConfig$inboundSchema, - ), - routes: types.nullable( - z.array(GetDeploymentResponseBodyRoutes$inboundSchema), - ), - seatBlock: types.optional(GetDeploymentResponseBodySeatBlock$inboundSchema), - services: types.optional( - z.array(z.union([ - z.lazy(() => GetDeploymentServices1$inboundSchema), - GetDeploymentServices2$inboundSchema, - ])), - ), - softDeletedByRetention: types.optional(types.boolean()), - source: types.optional(GetDeploymentResponseBodySource$inboundSchema), - status: GetDeploymentResponseBodyStatus$inboundSchema, - target: z.nullable(GetDeploymentResponseBodyTarget$inboundSchema).optional(), - team: types.optional( - z.lazy(() => GetDeploymentResponseBodyTeam$inboundSchema), - ), - ttyBuildLogs: types.optional(types.boolean()), - type: GetDeploymentResponseBodyType$inboundSchema, - undeletedAt: types.optional(types.number()), - url: types.string(), - userAliases: types.optional(z.array(types.string())), - userConfiguredDeploymentId: types.optional(types.string()), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasAssignedAt: z.nullable( + GetDeploymentResponseBodyAliasAssignedAt$inboundSchema, + ).optional(), + aliasError: z.nullable(ResponseBodyAliasError$inboundSchema).optional(), + aliasFinal: z.nullable(types.string()).optional(), + aliasWarning: z.nullable(ResponseBodyAliasWarning$inboundSchema).optional(), + alwaysRefuseToBuild: types.optional(types.boolean()), + atproto: types.optional(GetDeploymentResponseBodyAtproto$inboundSchema), + attribution: types.optional( + GetDeploymentResponseBodyAttribution$inboundSchema, + ), + autoAssignCustomDomains: types.optional(types.boolean()), + automaticAliases: types.optional(z.array(types.string())), + bootedAt: types.number(), + build: GetDeploymentResponseBodyBuild$inboundSchema, + buildArtifactUrls: types.optional(z.array(types.string())), + buildContainerFinishedAt: types.optional(types.number()), + buildErrorAt: types.optional(types.number()), + buildingAt: types.number(), + builds: types.optional( + z.array(GetDeploymentResponseBodyBuilds$inboundSchema), + ), + buildSkipped: types.boolean(), + canceledAt: types.optional(types.number()), + checks: types.optional(ResponseBodyChecks$inboundSchema), + checksConclusion: types.optional( + GetDeploymentResponseBodyChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetDeploymentResponseBodyChecksState$inboundSchema, + ), + config: types.optional(ResponseBodyConfig$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: GetDeploymentResponseBodyCreator$inboundSchema, + crons: types.optional( + z.array(GetDeploymentResponseBodyCrons$inboundSchema), + ), + customEnvironment: types.optional( + ResponseBodyCustomEnvironment$inboundSchema, + ), + defaultRoute: types.optional(types.string()), + deletedAt: z.nullable(types.number()).optional(), + duration: ResponseBodyDuration$inboundSchema, + env: z.array(types.string()), + errorCode: types.optional(types.string()), + errorLink: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + errorStep: types.optional(types.string()), + flags: types.optional(GetDeploymentResponseBodyFlags$inboundSchema), + functions: z.nullable( + z.record(GetDeploymentResponseBodyFunctions$inboundSchema), + ).optional(), + gitRepo: z.nullable(GetDeploymentResponseBodyGitRepo$inboundSchema) + .optional(), + gitSource: types.optional(GetDeploymentResponseBodyGitSource$inboundSchema), + id: types.string(), + images: types.optional(GetDeploymentResponseBodyImages$inboundSchema), + initReadyAt: types.optional(types.number()), + inspectorUrl: types.nullable(types.string()), + integrations: types.optional( + GetDeploymentResponseBodyIntegrations$inboundSchema, + ), + isFirstBranchDeployment: types.optional(types.boolean()), + isInConcurrentBuildsQueue: types.boolean(), + isInstantStatic: types.optional(types.boolean()), + isInSystemBuildsQueue: types.boolean(), + lambdas: types.optional( + z.array(GetDeploymentResponseBodyLambdas$inboundSchema), + ), + manualProvisioning: types.optional( + GetDeploymentResponseBodyManualProvisioning$inboundSchema, + ), + meta: z.record(types.string()), + microfrontends: types.optional( + GetDeploymentResponseBodyMicrofrontends$inboundSchema, + ), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + nodeVersion: types.optional( + GetDeploymentResponseBodyNodeVersion$inboundSchema, + ), + oidcTokenClaims: types.optional( + GetDeploymentResponseBodyOidcTokenClaims$inboundSchema, + ), + oomReport: types.optional(GetDeploymentResponseBodyOomReport$inboundSchema), + originCacheRegion: types.optional(types.string()), + ownerId: types.string(), + passiveConnectConfigurationId: types.optional(types.string()), + passiveRegions: types.optional(z.array(types.string())), + plan: GetDeploymentResponseBodyPlan$inboundSchema, + platform: types.optional(GetDeploymentResponseBodyPlatform$inboundSchema), + prebuilt: types.optional(types.boolean()), + previewCommentsEnabled: types.optional(types.boolean()), + project: types.optional(ResponseBodyProject$inboundSchema), + projectId: types.string(), + projectSettings: ResponseBodyProjectSettings$inboundSchema, + public: types.boolean(), + ready: types.optional(types.number()), + readyState: ResponseBodyReadyState$inboundSchema, + readyStateReason: types.optional(types.string()), + readySubstate: types.optional( + GetDeploymentResponseBodyReadySubstate$inboundSchema, + ), + regions: z.array(types.string()), + resourceConfig: types.optional( + GetDeploymentResponseBodyResourceConfig$inboundSchema, + ), + routes: types.nullable( + z.array(GetDeploymentResponseBodyRoutes$inboundSchema), + ), + seatBlock: types.optional(GetDeploymentResponseBodySeatBlock$inboundSchema), + services: types.optional( + z.array(z.union([ + z.lazy(() => GetDeploymentServices1$inboundSchema), + GetDeploymentServices2$inboundSchema, + ])), + ), + softDeletedByRetention: types.optional(types.boolean()), + source: types.optional(GetDeploymentResponseBodySource$inboundSchema), + status: GetDeploymentResponseBodyStatus$inboundSchema, + target: z.nullable(GetDeploymentResponseBodyTarget$inboundSchema) + .optional(), + team: types.optional( + z.lazy(() => GetDeploymentResponseBodyTeam$inboundSchema), + ), + ttyBuildLogs: types.optional(types.boolean()), + type: GetDeploymentResponseBodyType$inboundSchema, + undeletedAt: types.optional(types.number()), + url: types.string(), + userAliases: types.optional(z.array(types.string())), + userConfiguredDeploymentId: types.optional(types.string()), + version: types.number(), + }) +); export function getDeploymentResponseBody2FromJSON( jsonString: string, @@ -1903,10 +1982,12 @@ export const GetDeploymentResponseBodyDeploymentsAliasError$inboundSchema: GetDeploymentResponseBodyDeploymentsAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getDeploymentResponseBodyDeploymentsAliasErrorFromJSON( jsonString: string, @@ -1930,12 +2011,14 @@ export const GetDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema: GetDeploymentResponseBodyDeploymentsAliasWarning, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional(types.string()), - code: types.string(), - link: types.optional(types.string()), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + link: types.optional(types.string()), + message: types.string(), + }) + ); export function getDeploymentResponseBodyDeploymentsAliasWarningFromJSON( jsonString: string, @@ -1959,15 +2042,17 @@ export const GetDeploymentResponseBodyDeploymentsDuration$inboundSchema: GetDeploymentResponseBodyDeploymentsDuration, z.ZodTypeDef, unknown - > = z.object({ - endTime: types.optional(types.number()), - endTimeCapped: types.optional(types.number()), - startTime: types.optional(types.number()), - timeForBilling: types.optional(types.number()), - timeToContainerExit: types.optional(types.number()), - timeToContainerExitCapped: types.optional(types.number()), - timeToReady: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + endTime: types.optional(types.number()), + endTimeCapped: types.optional(types.number()), + startTime: types.optional(types.number()), + timeForBilling: types.optional(types.number()), + timeToContainerExit: types.optional(types.number()), + timeToContainerExitCapped: types.optional(types.number()), + timeToReady: types.optional(types.number()), + }) + ); export function getDeploymentResponseBodyDeploymentsDurationFromJSON( jsonString: string, @@ -1987,39 +2072,45 @@ export function getDeploymentResponseBodyDeploymentsDurationFromJSON( /** @internal */ export const GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsReadyState) + ); /** @internal */ export const ResponseBodyTarget$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTarget -> = z.nativeEnum(ResponseBodyTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyTarget)); /** @internal */ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType< GetDeploymentResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: types.boolean(), - aliasError: z.nullable( - z.lazy(() => GetDeploymentResponseBodyDeploymentsAliasError$inboundSchema), - ).optional(), - aliasWarning: z.nullable( - z.lazy(() => - GetDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: types.boolean(), + aliasError: z.nullable( + z.lazy(() => + GetDeploymentResponseBodyDeploymentsAliasError$inboundSchema + ), + ).optional(), + aliasWarning: z.nullable( + z.lazy(() => + GetDeploymentResponseBodyDeploymentsAliasWarning$inboundSchema + ), + ).optional(), + duration: z.lazy(() => + GetDeploymentResponseBodyDeploymentsDuration$inboundSchema ), - ).optional(), - duration: z.lazy(() => - GetDeploymentResponseBodyDeploymentsDuration$inboundSchema - ), - errorCode: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - id: types.string(), - readyState: GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema, - target: z.nullable(ResponseBodyTarget$inboundSchema).optional(), -}); + errorCode: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + id: types.string(), + readyState: GetDeploymentResponseBodyDeploymentsReadyState$inboundSchema, + target: z.nullable(ResponseBodyTarget$inboundSchema).optional(), + }) +); export function getDeploymentResponseBody1FromJSON( jsonString: string, @@ -2036,11 +2127,13 @@ export const GetDeploymentResponseBody$inboundSchema: z.ZodType< GetDeploymentResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentResponseBody2$inboundSchema), - GetDeploymentResponseBody3$inboundSchema, - z.lazy(() => GetDeploymentResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentResponseBody2$inboundSchema), + GetDeploymentResponseBody3$inboundSchema, + z.lazy(() => GetDeploymentResponseBody1$inboundSchema), + ]) +); export function getDeploymentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdeploymentservicesdeploymentshttpheaders.ts b/src/models/getdeploymentservicesdeploymentshttpheaders.ts index c01f9a3e29..7d31a8b534 100644 --- a/src/models/getdeploymentservicesdeploymentshttpheaders.ts +++ b/src/models/getdeploymentservicesdeploymentshttpheaders.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1562,14 +1562,16 @@ export const GetDeploymentServicesLivenessProbe$inboundSchema: z.ZodType< GetDeploymentServicesLivenessProbe, z.ZodTypeDef, unknown -> = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: GetDeploymentServicesHttpGet$inboundSchema, - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: GetDeploymentServicesHttpGet$inboundSchema, + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) +); export function getDeploymentServicesLivenessProbeFromJSON( jsonString: string, @@ -1584,18 +1586,21 @@ export function getDeploymentServicesLivenessProbeFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsMemory$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesDeploymentsMemory, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsMemory) + ); /** @internal */ export const GetDeploymentServicesRequests$inboundSchema: z.ZodType< GetDeploymentServicesRequests, z.ZodTypeDef, unknown -> = z.object({ - memory: GetDeploymentServicesDeploymentsMemory$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: GetDeploymentServicesDeploymentsMemory$inboundSchema, + }) +); export function getDeploymentServicesRequestsFromJSON( jsonString: string, @@ -1612,9 +1617,11 @@ export const GetDeploymentServicesResources$inboundSchema: z.ZodType< GetDeploymentServicesResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => GetDeploymentServicesRequests$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => GetDeploymentServicesRequests$inboundSchema), + }) +); export function getDeploymentServicesResourcesFromJSON( jsonString: string, @@ -1631,25 +1638,27 @@ export const GetDeploymentServicesDeploymentsDaemon$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsDaemon, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(GetDeploymentServicesDeploymentsResponseBindings$inboundSchema), - ), - command: types.optional(z.array(types.string())), - entrypoint: types.string(), - instances: types.optional(z.record(types.number())), - livenessProbe: types.optional( - z.lazy(() => GetDeploymentServicesLivenessProbe$inboundSchema), - ), - replicas: types.optional(z.record(types.number())), - resources: types.optional( - z.lazy(() => GetDeploymentServicesResources$inboundSchema), - ), - root: types.string(), - terminationGracePeriodSeconds: types.optional(types.number()), - buildTarget: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional( + z.array(GetDeploymentServicesDeploymentsResponseBindings$inboundSchema), + ), + command: types.optional(z.array(types.string())), + entrypoint: types.string(), + instances: types.optional(z.record(types.number())), + livenessProbe: types.optional( + z.lazy(() => GetDeploymentServicesLivenessProbe$inboundSchema), + ), + replicas: types.optional(z.record(types.number())), + resources: types.optional( + z.lazy(() => GetDeploymentServicesResources$inboundSchema), + ), + root: types.string(), + terminationGracePeriodSeconds: types.optional(types.number()), + buildTarget: types.optional(types.string()), + name: types.string(), + }) +); export function getDeploymentServicesDeploymentsDaemonFromJSON( jsonString: string, @@ -1668,7 +1677,9 @@ export const GetDeploymentServicesDeploymentsExcludeFiles$inboundSchema: GetDeploymentServicesDeploymentsExcludeFiles, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function getDeploymentServicesDeploymentsExcludeFilesFromJSON( jsonString: string, @@ -1688,8 +1699,10 @@ export function getDeploymentServicesDeploymentsExcludeFilesFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsResponseMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsResponseMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponseMode) + ); /** @internal */ export const GetDeploymentServicesDeploymentsResponseAffinity$inboundSchema: @@ -1697,9 +1710,11 @@ export const GetDeploymentServicesDeploymentsResponseAffinity$inboundSchema: GetDeploymentServicesDeploymentsResponseAffinity, z.ZodTypeDef, unknown - > = z.object({ - mode: GetDeploymentServicesDeploymentsResponseMode$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: GetDeploymentServicesDeploymentsResponseMode$inboundSchema, + }) + ); export function getDeploymentServicesDeploymentsResponseAffinityFromJSON( jsonString: string, @@ -1720,7 +1735,9 @@ export function getDeploymentServicesDeploymentsResponseAffinityFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsResponseArchitecture$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDeploymentServicesDeploymentsResponseArchitecture); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponseArchitecture) + ); /** @internal */ export const GetDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema: @@ -1728,9 +1745,11 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSch GetDeploymentExperimentalTriggersDeploymentsResponse2003, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse2003FromJSON( jsonString: string, @@ -1753,14 +1772,16 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse2002$inboundSch GetDeploymentExperimentalTriggersDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse2002FromJSON( jsonString: string, @@ -1783,15 +1804,17 @@ export const GetDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSch GetDeploymentExperimentalTriggersDeploymentsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeploymentsResponse2001FromJSON( jsonString: string, @@ -1814,17 +1837,19 @@ export const GetDeploymentServicesDeploymentsResponseExperimentalTriggers$inboun GetDeploymentServicesDeploymentsResponseExperimentalTriggers, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema - ), - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse2002$inboundSchema - ), - z.lazy(() => - GetDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse2002$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema + ), + ]) + ); export function getDeploymentServicesDeploymentsResponseExperimentalTriggersFromJSON( jsonString: string, @@ -1843,8 +1868,10 @@ export function getDeploymentServicesDeploymentsResponseExperimentalTriggersFrom /** @internal */ export const GetDeploymentMaxDurationDeploymentsResponse2002$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentMaxDurationDeploymentsResponse2002); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMaxDurationDeploymentsResponse2002) + ); /** @internal */ export const GetDeploymentServicesDeploymentsResponseMaxDuration$inboundSchema: @@ -1852,10 +1879,12 @@ export const GetDeploymentServicesDeploymentsResponseMaxDuration$inboundSchema: GetDeploymentServicesDeploymentsResponseMaxDuration, z.ZodTypeDef, unknown - > = smartUnion([ - types.number(), - GetDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, + ]) + ); export function getDeploymentServicesDeploymentsResponseMaxDurationFromJSON( jsonString: string, @@ -1879,18 +1908,16 @@ export const GetDeploymentServicesDeploymentsResponseFunctions$inboundSchema: GetDeploymentServicesDeploymentsResponseFunctions, z.ZodTypeDef, unknown - > = z.object({ - affinity: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional(z.lazy(() => GetDeploymentServicesDeploymentsResponseAffinity$inboundSchema + )), + architecture: types.optional( + GetDeploymentServicesDeploymentsResponseArchitecture$inboundSchema, ), - ), - architecture: types.optional( - GetDeploymentServicesDeploymentsResponseArchitecture$inboundSchema, - ), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentExperimentalTriggersDeploymentsResponse2001$inboundSchema ), @@ -1900,24 +1927,24 @@ export const GetDeploymentServicesDeploymentsResponseFunctions$inboundSchema: z.lazy(() => GetDeploymentExperimentalTriggersDeploymentsResponse2003$inboundSchema ), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - GetDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), - }); + ]))), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeploymentsResponse2002$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) + ); export function getDeploymentServicesDeploymentsResponseFunctionsFromJSON( jsonString: string, @@ -1941,7 +1968,9 @@ export const GetDeploymentServicesDeploymentsIncludeFiles$inboundSchema: GetDeploymentServicesDeploymentsIncludeFiles, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function getDeploymentServicesDeploymentsIncludeFilesFromJSON( jsonString: string, @@ -1965,7 +1994,9 @@ export const GetDeploymentServicesDeploymentsMiddlewareMatcher$inboundSchema: GetDeploymentServicesDeploymentsMiddlewareMatcher, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function getDeploymentServicesDeploymentsMiddlewareMatcherFromJSON( jsonString: string, @@ -1985,17 +2016,21 @@ export function getDeploymentServicesDeploymentsMiddlewareMatcherFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsMiddlewareRuntime); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsMiddlewareRuntime) + ); /** @internal */ export const GetDeploymentServicesVercelFlags$inboundSchema: z.ZodType< GetDeploymentServicesVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getDeploymentServicesVercelFlagsFromJSON( jsonString: string, @@ -2012,25 +2047,27 @@ export const GetDeploymentServicesProjectSettings$inboundSchema: z.ZodType< GetDeploymentServicesProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.optional(types.boolean()), - framework: z.nullable(types.string()).optional(), - gitForkProtection: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - monorepoManager: z.nullable(types.string()).optional(), - nodeVersion: types.optional(types.string()), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => GetDeploymentServicesVercelFlags$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.optional(types.boolean()), + framework: z.nullable(types.string()).optional(), + gitForkProtection: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + monorepoManager: z.nullable(types.string()).optional(), + nodeVersion: types.optional(types.string()), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => GetDeploymentServicesVercelFlags$inboundSchema), + ), + }) +); export function getDeploymentServicesProjectSettingsFromJSON( jsonString: string, @@ -2049,9 +2086,11 @@ export const GetDeploymentServicesDeploymentsSchedulesModule$inboundSchema: GetDeploymentServicesDeploymentsSchedulesModule, z.ZodTypeDef, unknown - > = z.object({ - module: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + module: types.string(), + }) + ); export function getDeploymentServicesDeploymentsSchedulesModuleFromJSON( jsonString: string, @@ -2074,53 +2113,53 @@ export const GetDeploymentServicesConfig$inboundSchema: z.ZodType< GetDeploymentServicesConfig, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: types.optional(types.string()), - buildpack: types.optional(types.string()), - bundle: types.optional(types.boolean()), - bunVersion: types.optional(types.string()), - daemon: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsDaemon$inboundSchema), - ), - debug: types.optional(types.boolean()), - devCommand: types.optional(types.string()), - excludeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - framework: z.nullable(types.string()).optional(), - functions: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: types.optional(types.string()), + buildpack: types.optional(types.string()), + bundle: types.optional(types.boolean()), + bunVersion: types.optional(types.string()), + daemon: types.optional( + z.lazy(() => GetDeploymentServicesDeploymentsDaemon$inboundSchema), + ), + debug: types.optional(types.boolean()), + devCommand: types.optional(types.string()), + excludeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + framework: z.nullable(types.string()).optional(), + functions: types.optional(z.record(z.lazy(() => GetDeploymentServicesDeploymentsResponseFunctions$inboundSchema + ))), + helpers: types.optional(types.boolean()), + import: types.optional(z.record(types.string())), + includeFiles: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + installCommand: types.optional(types.string()), + ldsflags: types.optional(types.string()), + maxLambdaSize: types.optional(types.string()), + middleware: types.optional(types.boolean()), + middlewareMatcher: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + middlewareRuntime: types.optional( + GetDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema, + ), + nodeVersion: types.optional(types.string()), + outputDirectory: types.optional(types.string()), + projectSettings: types.optional(z.lazy(() => + GetDeploymentServicesProjectSettings$inboundSchema + )), + rust: types.optional(types.string()), + schedulesEntrypoint: types.optional(types.boolean()), + schedulesModule: types.optional(z.lazy(() => + GetDeploymentServicesDeploymentsSchedulesModule$inboundSchema )), - ), - helpers: types.optional(types.boolean()), - import: types.optional(z.record(types.string())), - includeFiles: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - installCommand: types.optional(types.string()), - ldsflags: types.optional(types.string()), - maxLambdaSize: types.optional(types.string()), - middleware: types.optional(types.boolean()), - middlewareMatcher: types.optional( - smartUnion([types.string(), z.array(types.string())]), - ), - middlewareRuntime: types.optional( - GetDeploymentServicesDeploymentsMiddlewareRuntime$inboundSchema, - ), - nodeVersion: types.optional(types.string()), - outputDirectory: types.optional(types.string()), - projectSettings: types.optional( - z.lazy(() => GetDeploymentServicesProjectSettings$inboundSchema), - ), - rust: types.optional(types.string()), - schedulesEntrypoint: types.optional(types.boolean()), - schedulesModule: types.optional( - z.lazy(() => GetDeploymentServicesDeploymentsSchedulesModule$inboundSchema), - ), - serviceName: types.optional(types.string()), - zeroConfig: types.optional(types.boolean()), -}); + serviceName: types.optional(types.string()), + zeroConfig: types.optional(types.boolean()), + }) +); export function getDeploymentServicesConfigFromJSON( jsonString: string, @@ -2137,13 +2176,15 @@ export const GetDeploymentServicesDeploymentsBuilder$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsBuilder, z.ZodTypeDef, unknown -> = z.object({ - config: types.optional( - z.lazy(() => GetDeploymentServicesConfig$inboundSchema), - ), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.optional( + z.lazy(() => GetDeploymentServicesConfig$inboundSchema), + ), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getDeploymentServicesDeploymentsBuilderFromJSON( jsonString: string, @@ -2164,16 +2205,18 @@ export function getDeploymentServicesDeploymentsBuilderFromJSON( /** @internal */ export const GetDeploymentServicesMode$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesMode -> = z.nativeEnum(GetDeploymentServicesMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentServicesMode)); /** @internal */ export const GetDeploymentServicesAffinity$inboundSchema: z.ZodType< GetDeploymentServicesAffinity, z.ZodTypeDef, unknown -> = z.object({ - mode: GetDeploymentServicesMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: GetDeploymentServicesMode$inboundSchema, + }) +); export function getDeploymentServicesAffinityFromJSON( jsonString: string, @@ -2188,7 +2231,9 @@ export function getDeploymentServicesAffinityFromJSON( /** @internal */ export const GetDeploymentServicesArchitecture$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesArchitecture -> = z.nativeEnum(GetDeploymentServicesArchitecture); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesArchitecture) +); /** @internal */ export const GetDeploymentExperimentalTriggersDeployments3$inboundSchema: @@ -2196,9 +2241,11 @@ export const GetDeploymentExperimentalTriggersDeployments3$inboundSchema: GetDeploymentExperimentalTriggersDeployments3, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("schedule/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("schedule/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeployments3FromJSON( jsonString: string, @@ -2222,14 +2269,16 @@ export const GetDeploymentExperimentalTriggersDeployments2$inboundSchema: GetDeploymentExperimentalTriggersDeployments2, z.ZodTypeDef, unknown - > = z.object({ - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v2beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v2beta"), + }) + ); export function getDeploymentExperimentalTriggersDeployments2FromJSON( jsonString: string, @@ -2253,15 +2302,17 @@ export const GetDeploymentExperimentalTriggersDeployments1$inboundSchema: GetDeploymentExperimentalTriggersDeployments1, z.ZodTypeDef, unknown - > = z.object({ - consumer: types.string(), - initialDelaySeconds: types.optional(types.number()), - maxConcurrency: types.optional(types.number()), - maxDeliveries: types.optional(types.number()), - retryAfterSeconds: types.optional(types.number()), - topic: types.string(), - type: types.literal("queue/v1beta"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumer: types.string(), + initialDelaySeconds: types.optional(types.number()), + maxConcurrency: types.optional(types.number()), + maxDeliveries: types.optional(types.number()), + retryAfterSeconds: types.optional(types.number()), + topic: types.string(), + type: types.literal("queue/v1beta"), + }) + ); export function getDeploymentExperimentalTriggersDeployments1FromJSON( jsonString: string, @@ -2284,11 +2335,13 @@ export const GetDeploymentServicesExperimentalTriggers$inboundSchema: z.ZodType< GetDeploymentServicesExperimentalTriggers, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentExperimentalTriggersDeployments1$inboundSchema), - z.lazy(() => GetDeploymentExperimentalTriggersDeployments2$inboundSchema), - z.lazy(() => GetDeploymentExperimentalTriggersDeployments3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentExperimentalTriggersDeployments1$inboundSchema), + z.lazy(() => GetDeploymentExperimentalTriggersDeployments2$inboundSchema), + z.lazy(() => GetDeploymentExperimentalTriggersDeployments3$inboundSchema), + ]) +); export function getDeploymentServicesExperimentalTriggersFromJSON( jsonString: string, @@ -2308,19 +2361,22 @@ export function getDeploymentServicesExperimentalTriggersFromJSON( /** @internal */ export const GetDeploymentMaxDurationDeployments2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentMaxDurationDeployments2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMaxDurationDeployments2) + ); /** @internal */ export const GetDeploymentServicesMaxDuration$inboundSchema: z.ZodType< GetDeploymentServicesMaxDuration, z.ZodTypeDef, unknown -> = smartUnion([ - types.number(), - GetDeploymentMaxDurationDeployments2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeployments2$inboundSchema, + ]) +); export function getDeploymentServicesMaxDurationFromJSON( jsonString: string, @@ -2337,37 +2393,45 @@ export const GetDeploymentServicesFunctions$inboundSchema: z.ZodType< GetDeploymentServicesFunctions, z.ZodTypeDef, unknown -> = z.object({ - affinity: types.optional( - z.lazy(() => GetDeploymentServicesAffinity$inboundSchema), - ), - architecture: types.optional(GetDeploymentServicesArchitecture$inboundSchema), - excludeFiles: types.optional(types.string()), - experimentalTriggers: types.optional( - z.array(z.union([ - z.lazy(() => GetDeploymentExperimentalTriggersDeployments1$inboundSchema), - z.lazy(() => - GetDeploymentExperimentalTriggersDeployments2$inboundSchema - ), - z.lazy(() => GetDeploymentExperimentalTriggersDeployments3$inboundSchema), - ])), - ), - functionFailoverRegions: types.optional(z.array(types.string())), - includeFiles: types.optional(types.string()), - installCommand: types.optional(types.string()), - maxConcurrency: types.optional(types.number()), - maxDuration: types.optional( - smartUnion([ - types.number(), - GetDeploymentMaxDurationDeployments2$inboundSchema, - ]), - ), - memory: types.optional(types.number()), - perimeter: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - runtime: types.optional(types.string()), - supportsCancellation: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + affinity: types.optional( + z.lazy(() => GetDeploymentServicesAffinity$inboundSchema), + ), + architecture: types.optional( + GetDeploymentServicesArchitecture$inboundSchema, + ), + excludeFiles: types.optional(types.string()), + experimentalTriggers: types.optional( + z.array(z.union([ + z.lazy(() => + GetDeploymentExperimentalTriggersDeployments1$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeployments2$inboundSchema + ), + z.lazy(() => + GetDeploymentExperimentalTriggersDeployments3$inboundSchema + ), + ])), + ), + functionFailoverRegions: types.optional(z.array(types.string())), + includeFiles: types.optional(types.string()), + installCommand: types.optional(types.string()), + maxConcurrency: types.optional(types.number()), + maxDuration: types.optional( + smartUnion([ + types.number(), + GetDeploymentMaxDurationDeployments2$inboundSchema, + ]), + ), + memory: types.optional(types.number()), + perimeter: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + runtime: types.optional(types.string()), + supportsCancellation: types.optional(types.boolean()), + }) +); export function getDeploymentServicesFunctionsFromJSON( jsonString: string, @@ -2381,8 +2445,10 @@ export function getDeploymentServicesFunctionsFromJSON( /** @internal */ export const GetDeploymentHasDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentHasDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentHasDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2HeadersHasEq$inboundSchema: @@ -2390,7 +2456,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2HeadersHasEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2HeadersHasEqFromJSON( jsonString: string, @@ -2413,19 +2481,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSch GetDeploymentValueDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -2447,12 +2517,14 @@ export const GetDeploymentHasDeploymentsResponseValue$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsResponseValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema + ), + ]) +); export function getDeploymentHasDeploymentsResponseValueFromJSON( jsonString: string, @@ -2475,18 +2547,18 @@ export const GetDeploymentHasDeploymentsResponse2002$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetDeploymentHasDeploymentsResponseType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetDeploymentHasDeploymentsResponseType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJson2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getDeploymentHasDeploymentsResponse2002FromJSON( jsonString: string, @@ -2510,7 +2582,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2HeadersEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2HeadersEqFromJSON( jsonString: string, @@ -2533,19 +2607,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2FromJSON( jsonString: string, @@ -2568,12 +2644,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2S GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ServicesValueFromJSON( jsonString: string, @@ -2595,15 +2673,17 @@ export const GetDeploymentHasDeploymentsResponse2001$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsResponse2001, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Headers2$inboundSchema + ), + ]), + }) +); export function getDeploymentHasDeploymentsResponse2001FromJSON( jsonString: string, @@ -2627,18 +2707,20 @@ export const GetDeploymentServicesDeploymentsResponseHas$inboundSchema: GetDeploymentServicesDeploymentsResponseHas, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetDeploymentHasDeploymentsResponse2001$inboundSchema), - z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentHasDeploymentsResponse2001$inboundSchema), + z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) + ); export function getDeploymentServicesDeploymentsResponseHasFromJSON( jsonString: string, @@ -2661,10 +2743,12 @@ export const GetDeploymentServicesDeploymentsHeaders$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsHeaders, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + value: types.string(), + }) +); export function getDeploymentServicesDeploymentsHeadersFromJSON( jsonString: string, @@ -2684,8 +2768,10 @@ export function getDeploymentServicesDeploymentsHeadersFromJSON( /** @internal */ export const GetDeploymentMissingDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentMissingDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMissingDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq$inboundSchema: @@ -2693,7 +2779,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBodyEqFromJSON( jsonString: string, @@ -2716,19 +2804,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22FromJSON( jsonString: string, @@ -2751,12 +2841,14 @@ export const GetDeploymentMissingDeploymentsResponseValue$inboundSchema: GetDeploymentMissingDeploymentsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponseValueFromJSON( jsonString: string, @@ -2780,18 +2872,18 @@ export const GetDeploymentMissingDeploymentsResponse2002$inboundSchema: GetDeploymentMissingDeploymentsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: GetDeploymentMissingDeploymentsResponseType$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetDeploymentMissingDeploymentsResponseType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function getDeploymentMissingDeploymentsResponse2002FromJSON( jsonString: string, @@ -2815,7 +2907,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONEq$inboundSc GetDeploymentValueDeploymentsResponse200ApplicationJSONEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONEqFromJSON( jsonString: string, @@ -2838,19 +2932,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -2873,12 +2969,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBo GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ServicesValueFromJSON( jsonString: string, @@ -2901,15 +2999,17 @@ export const GetDeploymentMissingDeploymentsResponse2001$inboundSchema: GetDeploymentMissingDeploymentsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]), + }) + ); export function getDeploymentMissingDeploymentsResponse2001FromJSON( jsonString: string, @@ -2933,18 +3033,17 @@ export const GetDeploymentServicesDeploymentsResponseMissing$inboundSchema: GetDeploymentServicesDeploymentsResponseMissing, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetDeploymentMissingDeploymentsResponse2001$inboundSchema), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentMissingDeploymentsResponse2001$inboundSchema), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("cookie") })), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("header") })), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema) + .and(z.object({ type: z.literal("query") })), + ]) + ); export function getDeploymentServicesDeploymentsResponseMissingFromJSON( jsonString: string, @@ -2967,9 +3066,9 @@ export const GetDeploymentServicesHeaders$inboundSchema: z.ZodType< GetDeploymentServicesHeaders, z.ZodTypeDef, unknown -> = z.object({ - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentHasDeploymentsResponse2001$inboundSchema), z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema @@ -2980,13 +3079,11 @@ export const GetDeploymentServicesHeaders$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHasDeploymentsResponse2002$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: z.array( - z.lazy(() => GetDeploymentServicesDeploymentsHeaders$inboundSchema), - ), - missing: types.optional( - z.array(z.union([ + ]))), + headers: z.array(z.lazy(() => + GetDeploymentServicesDeploymentsHeaders$inboundSchema + )), + missing: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentMissingDeploymentsResponse2001$inboundSchema), z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema @@ -2995,10 +3092,10 @@ export const GetDeploymentServicesHeaders$inboundSchema: z.ZodType< .and(z.object({ type: z.literal("header") })), z.lazy(() => GetDeploymentMissingDeploymentsResponse2002$inboundSchema) .and(z.object({ type: z.literal("query") })), - ])), - ), - source: types.string(), -}); + ]))), + source: types.string(), + }) +); export function getDeploymentServicesHeadersFromJSON( jsonString: string, @@ -3014,7 +3111,9 @@ export function getDeploymentServicesHeadersFromJSON( export const GetDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentHasDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum(GetDeploymentHasDeploymentsResponse200ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentHasDeploymentsResponse200ApplicationJSONType) + ); /** @internal */ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq$inboundSchema: @@ -3022,7 +3121,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2ServicesEqFromJSON( jsonString: string, @@ -3045,19 +3146,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22FromJSON( jsonString: string, @@ -3080,12 +3183,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONValue$inboundS GetDeploymentHasDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -3107,18 +3212,19 @@ export const GetDeploymentHasDeployments2$inboundSchema: z.ZodType< GetDeploymentHasDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentHasDeploymentsResponse200ApplicationJSONType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services22$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getDeploymentHasDeployments2FromJSON( jsonString: string, @@ -3136,7 +3242,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2EqFromJSON( jsonString: string, @@ -3159,19 +3267,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2FromJSON( jsonString: string, @@ -3194,12 +3304,14 @@ export const GetDeploymentHasDeploymentsResponse200Value$inboundSchema: GetDeploymentHasDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -3222,15 +3334,17 @@ export const GetDeploymentHasDeployments1$inboundSchema: z.ZodType< GetDeploymentHasDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2$inboundSchema + ), + ]), + }) +); export function getDeploymentHasDeployments1FromJSON( jsonString: string, @@ -3247,18 +3361,20 @@ export const GetDeploymentServicesHas$inboundSchema: z.ZodType< GetDeploymentServicesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentHasDeployments1$inboundSchema), - z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentHasDeployments1$inboundSchema), + z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentServicesHasFromJSON( jsonString: string, @@ -3274,8 +3390,8 @@ export function getDeploymentServicesHasFromJSON( export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentMissingDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - GetDeploymentMissingDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMissingDeploymentsResponse200ApplicationJSONType) ); /** @internal */ @@ -3284,7 +3400,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsEqFromJSON( jsonString: string, @@ -3307,19 +3425,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2FromJSON( jsonString: string, @@ -3342,12 +3462,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONValue$inbo GetDeploymentMissingDeploymentsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -3369,19 +3491,19 @@ export const GetDeploymentMissingDeployments2$inboundSchema: z.ZodType< GetDeploymentMissingDeployments2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - GetDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentMissingDeploymentsResponse200ApplicationJSONType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RedirectsMissing2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getDeploymentMissingDeployments2FromJSON( jsonString: string, @@ -3399,7 +3521,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2EqFromJSON( jsonString: string, @@ -3422,19 +3546,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2FromJSON( jsonString: string, @@ -3457,12 +3583,14 @@ export const GetDeploymentMissingDeploymentsResponse200Value$inboundSchema: GetDeploymentMissingDeploymentsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ValueFromJSON( jsonString: string, @@ -3485,15 +3613,17 @@ export const GetDeploymentMissingDeployments1$inboundSchema: z.ZodType< GetDeploymentMissingDeployments1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Redirects2$inboundSchema + ), + ]), + }) +); export function getDeploymentMissingDeployments1FromJSON( jsonString: string, @@ -3510,18 +3640,20 @@ export const GetDeploymentServicesMissing$inboundSchema: z.ZodType< GetDeploymentServicesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentMissingDeployments1$inboundSchema), - z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentMissingDeployments1$inboundSchema), + z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentServicesMissingFromJSON( jsonString: string, @@ -3538,11 +3670,11 @@ export const GetDeploymentServicesRedirects$inboundSchema: z.ZodType< GetDeploymentServicesRedirects, z.ZodTypeDef, unknown -> = z.object({ - destination: types.string(), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.string(), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentHasDeployments1$inboundSchema), z.lazy(() => GetDeploymentHasDeployments2$inboundSchema @@ -3553,10 +3685,8 @@ export const GetDeploymentServicesRedirects$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHasDeployments2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentMissingDeployments1$inboundSchema), z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema @@ -3567,12 +3697,12 @@ export const GetDeploymentServicesRedirects$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMissingDeployments2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - permanent: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), -}); + ]))), + permanent: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + }) +); export function getDeploymentServicesRedirectsFromJSON( jsonString: string, @@ -3586,19 +3716,23 @@ export function getDeploymentServicesRedirectsFromJSON( /** @internal */ export const GetDeploymentDestinationDeploymentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentDestinationDeploymentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentDestinationDeploymentsType) + ); /** @internal */ export const GetDeploymentDestinationDeployments2$inboundSchema: z.ZodType< GetDeploymentDestinationDeployments2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(GetDeploymentDestinationDeploymentsType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(GetDeploymentDestinationDeploymentsType$inboundSchema), + }) +); export function getDeploymentDestinationDeployments2FromJSON( jsonString: string, @@ -3616,10 +3750,12 @@ export const GetDeploymentServicesDestination$inboundSchema: z.ZodType< GetDeploymentServicesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentDestinationDeployments2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentDestinationDeployments2$inboundSchema), + types.string(), + ]) +); export function getDeploymentServicesDestinationFromJSON( jsonString: string, @@ -3635,8 +3771,10 @@ export function getDeploymentServicesDestinationFromJSON( export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type, + ) ); /** @internal */ @@ -3645,7 +3783,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHasEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHasEqFromJSON( jsonString: string, @@ -3668,19 +3808,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2FromJSON( jsonString: string, @@ -3703,12 +3845,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2V GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2ValueFromJSON( jsonString: string, @@ -3730,19 +3874,19 @@ export const GetDeploymentHasDeploymentsResponse2$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesHas2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getDeploymentHasDeploymentsResponse2FromJSON( jsonString: string, @@ -3761,7 +3905,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesEqFromJSON( jsonString: string, @@ -3784,19 +3930,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2FromJSON( jsonString: string, @@ -3819,12 +3967,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyVa GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -3846,15 +3996,17 @@ export const GetDeploymentHasDeploymentsResponse1$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Rewrites2$inboundSchema + ), + ]), + }) +); export function getDeploymentHasDeploymentsResponse1FromJSON( jsonString: string, @@ -3872,18 +4024,20 @@ export const GetDeploymentServicesDeploymentsHas$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentHasDeploymentsResponse1$inboundSchema), - z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentHasDeploymentsResponse1$inboundSchema), + z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentServicesDeploymentsHasFromJSON( jsonString: string, @@ -3900,8 +4054,10 @@ export function getDeploymentServicesDeploymentsHasFromJSON( export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type, + ) ); /** @internal */ @@ -3910,7 +4066,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2EqFromJSON( jsonString: string, @@ -3933,19 +4091,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22FromJSON( jsonString: string, @@ -3968,12 +4128,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBo GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2ValueFromJSON( jsonString: string, @@ -3995,19 +4157,19 @@ export const GetDeploymentMissingDeploymentsResponse2$inboundSchema: z.ZodType< GetDeploymentMissingDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing22$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getDeploymentMissingDeploymentsResponse2FromJSON( jsonString: string, @@ -4031,7 +4193,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissingEqFromJSON( jsonString: string, @@ -4054,19 +4218,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2FromJSON( jsonString: string, @@ -4089,12 +4255,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBo GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -4116,15 +4284,17 @@ export const GetDeploymentMissingDeploymentsResponse1$inboundSchema: z.ZodType< GetDeploymentMissingDeploymentsResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RewritesMissing2$inboundSchema + ), + ]), + }) +); export function getDeploymentMissingDeploymentsResponse1FromJSON( jsonString: string, @@ -4147,18 +4317,20 @@ export const GetDeploymentServicesDeploymentsMissing$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentMissingDeploymentsResponse1$inboundSchema), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentMissingDeploymentsResponse1$inboundSchema), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentServicesDeploymentsMissingFromJSON( jsonString: string, @@ -4179,25 +4351,29 @@ export function getDeploymentServicesDeploymentsMissingFromJSON( /** @internal */ export const GetDeploymentServicesOp$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesOp -> = z.nativeEnum(GetDeploymentServicesOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentServicesOp)); /** @internal */ export const GetDeploymentServicesDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentServicesTransforms$inboundSchema: z.ZodType< GetDeploymentServicesTransforms, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: GetDeploymentServicesOp$inboundSchema, - type: GetDeploymentServicesDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: GetDeploymentServicesOp$inboundSchema, + type: GetDeploymentServicesDeploymentsResponse200Type$inboundSchema, + }) +); export function getDeploymentServicesTransformsFromJSON( jsonString: string, @@ -4214,14 +4390,14 @@ export const GetDeploymentServicesRewrites$inboundSchema: z.ZodType< GetDeploymentServicesRewrites, z.ZodTypeDef, unknown -> = z.object({ - destination: smartUnion([ - z.lazy(() => GetDeploymentDestinationDeployments2$inboundSchema), - types.string(), - ]), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: smartUnion([ + z.lazy(() => GetDeploymentDestinationDeployments2$inboundSchema), + types.string(), + ]), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentHasDeploymentsResponse1$inboundSchema), z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema @@ -4232,10 +4408,8 @@ export const GetDeploymentServicesRewrites$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHasDeploymentsResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - missing: types.optional( - z.array(z.union([ + ]))), + missing: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentMissingDeploymentsResponse1$inboundSchema), z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema @@ -4246,15 +4420,15 @@ export const GetDeploymentServicesRewrites$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMissingDeploymentsResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.lazy(() => GetDeploymentServicesTransforms$inboundSchema)), - ), -}); + ]))), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.lazy(() => + GetDeploymentServicesTransforms$inboundSchema + ))), + }) +); export function getDeploymentServicesRewritesFromJSON( jsonString: string, @@ -4268,21 +4442,24 @@ export function getDeploymentServicesRewritesFromJSON( /** @internal */ export const GetDeploymentRoutesDeploymentsHandle$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentRoutesDeploymentsHandle, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentRoutesDeploymentsHandle) + ); /** @internal */ export const GetDeploymentRoutesDeployments2$inboundSchema: z.ZodType< GetDeploymentRoutesDeployments2, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: GetDeploymentRoutesDeploymentsHandle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: GetDeploymentRoutesDeploymentsHandle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) +); export function getDeploymentRoutesDeployments2FromJSON( jsonString: string, @@ -4296,8 +4473,10 @@ export function getDeploymentRoutesDeployments2FromJSON( /** @internal */ export const GetDeploymentDestinationDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentDestinationDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentDestinationDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentDestinationDeploymentsResponse2$inboundSchema: @@ -4305,13 +4484,15 @@ export const GetDeploymentDestinationDeploymentsResponse2$inboundSchema: GetDeploymentDestinationDeploymentsResponse2, z.ZodTypeDef, unknown - > = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional( - GetDeploymentDestinationDeploymentsResponseType$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional( + GetDeploymentDestinationDeploymentsResponseType$inboundSchema, + ), + }) + ); export function getDeploymentDestinationDeploymentsResponse2FromJSON( jsonString: string, @@ -4334,10 +4515,12 @@ export const GetDeploymentRoutesDeploymentsDestination$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentDestinationDeploymentsResponse2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentDestinationDeploymentsResponse2$inboundSchema), + types.string(), + ]) +); export function getDeploymentRoutesDeploymentsDestinationFromJSON( jsonString: string, @@ -4359,8 +4542,10 @@ export function getDeploymentRoutesDeploymentsDestinationFromJSON( export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type - > = z.nativeEnum( - GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type, + ) ); /** @internal */ @@ -4369,7 +4554,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1EqFromJSON( jsonString: string, @@ -4392,19 +4579,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12FromJSON( jsonString: string, @@ -4427,12 +4616,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2S GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2ValueFromJSON( jsonString: string, @@ -4455,19 +4646,19 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchem GetDeploymentHasDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes12$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -4490,7 +4681,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesEqFromJSON( jsonString: string, @@ -4513,19 +4706,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2FromJSON( jsonString: string, @@ -4548,12 +4743,14 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2S GetDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema + ), + ]) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValueFromJSON( jsonString: string, @@ -4576,15 +4773,17 @@ export const GetDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchem GetDeploymentHasDeploymentsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes2$inboundSchema + ), + ]), + }) + ); export function getDeploymentHasDeploymentsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -4606,20 +4805,22 @@ export const GetDeploymentRoutesDeploymentsHas$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => - GetDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("cookie") })), - z.lazy(() => - GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("header") })), - z.lazy(() => - GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("cookie") })), + z.lazy(() => + GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("header") })), + z.lazy(() => + GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("query") })), + ]) +); export function getDeploymentRoutesDeploymentsHasFromJSON( jsonString: string, @@ -4636,10 +4837,12 @@ export const GetDeploymentRoutesDeploymentsLocale$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function getDeploymentRoutesDeploymentsLocaleFromJSON( jsonString: string, @@ -4656,8 +4859,10 @@ export function getDeploymentRoutesDeploymentsLocaleFromJSON( export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type - > = z.nativeEnum( - GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type, + ) ); /** @internal */ @@ -4666,7 +4871,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2EqFromJSON( jsonString: string, @@ -4689,19 +4896,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22FromJSON( jsonString: string, @@ -4724,12 +4933,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBo GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2ValueFromJSON( jsonString: string, @@ -4752,19 +4963,19 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundS GetDeploymentMissingDeploymentsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - type: - GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema, - value: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing22$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -4787,7 +4998,9 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1MissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1MissingEqFromJSON( jsonString: string, @@ -4810,19 +5023,21 @@ export const GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2FromJSON( jsonString: string, @@ -4845,12 +5060,14 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBo GetDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema + ), + ]) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSONResponseBody2Services2RoutesValueFromJSON( jsonString: string, @@ -4873,15 +5090,17 @@ export const GetDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundS GetDeploymentMissingDeploymentsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema - ), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetDeploymentValueDeploymentsResponse200ApplicationJSONResponseBody2Services2Routes1Missing2$inboundSchema + ), + ]), + }) + ); export function getDeploymentMissingDeploymentsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -4903,20 +5122,22 @@ export const GetDeploymentRoutesDeploymentsMissing$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => - GetDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("cookie") })), - z.lazy(() => - GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("header") })), - z.lazy(() => - GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema - ).and(z.object({ type: z.literal("query") })), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("cookie") })), + z.lazy(() => + GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("header") })), + z.lazy(() => + GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema + ).and(z.object({ type: z.literal("query") })), + ]) +); export function getDeploymentRoutesDeploymentsMissingFromJSON( jsonString: string, @@ -4931,18 +5152,21 @@ export function getDeploymentRoutesDeploymentsMissingFromJSON( /** @internal */ export const GetDeploymentRoutesDeploymentsAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentRoutesDeploymentsAction, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentRoutesDeploymentsAction) + ); /** @internal */ export const GetDeploymentRoutesDeploymentsMitigate$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetDeploymentRoutesDeploymentsAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetDeploymentRoutesDeploymentsAction$inboundSchema, + }) +); export function getDeploymentRoutesDeploymentsMitigateFromJSON( jsonString: string, @@ -4957,21 +5181,25 @@ export function getDeploymentRoutesDeploymentsMitigateFromJSON( /** @internal */ export const GetDeploymentTransformsDeploymentsResponse200Op$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentTransformsDeploymentsResponse200Op); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentTransformsDeploymentsResponse200Op) + ); /** @internal */ export const GetDeploymentTransformsDeployments2$inboundSchema: z.ZodType< GetDeploymentTransformsDeployments2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: GetDeploymentTransformsDeploymentsResponse200Op$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: GetDeploymentTransformsDeploymentsResponse200Op$inboundSchema, + type: types.literal("request.path"), + }) +); export function getDeploymentTransformsDeployments2FromJSON( jsonString: string, @@ -4989,7 +5217,9 @@ export const GetDeploymentTransformsDeploymentsArgs$inboundSchema: z.ZodType< GetDeploymentTransformsDeploymentsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentTransformsDeploymentsArgsFromJSON( jsonString: string, @@ -5004,15 +5234,19 @@ export function getDeploymentTransformsDeploymentsArgsFromJSON( /** @internal */ export const GetDeploymentTransformsDeploymentsResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentTransformsDeploymentsResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentTransformsDeploymentsResponseOp) + ); /** @internal */ export const GetDeploymentKeyDeploymentsEq$inboundSchema: z.ZodType< GetDeploymentKeyDeploymentsEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentKeyDeploymentsEqFromJSON( jsonString: string, @@ -5029,18 +5263,20 @@ export const GetDeploymentKeyDeployments2$inboundSchema: z.ZodType< GetDeploymentKeyDeployments2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentKeyDeployments2FromJSON( jsonString: string, @@ -5057,10 +5293,12 @@ export const GetDeploymentTransformsDeploymentsKey$inboundSchema: z.ZodType< GetDeploymentTransformsDeploymentsKey, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetDeploymentKeyDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetDeploymentKeyDeployments2$inboundSchema), + ]) +); export function getDeploymentTransformsDeploymentsKeyFromJSON( jsonString: string, @@ -5078,12 +5316,14 @@ export const GetDeploymentTransformsDeploymentsTarget$inboundSchema: z.ZodType< GetDeploymentTransformsDeploymentsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => GetDeploymentKeyDeployments2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => GetDeploymentKeyDeployments2$inboundSchema), + ]), + }) +); export function getDeploymentTransformsDeploymentsTargetFromJSON( jsonString: string, @@ -5103,21 +5343,27 @@ export function getDeploymentTransformsDeploymentsTargetFromJSON( /** @internal */ export const GetDeploymentTransformsDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentTransformsDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentTransformsDeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentTransformsDeployments1$inboundSchema: z.ZodType< GetDeploymentTransformsDeployments1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: GetDeploymentTransformsDeploymentsResponseOp$inboundSchema, - target: z.lazy(() => GetDeploymentTransformsDeploymentsTarget$inboundSchema), - type: GetDeploymentTransformsDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: GetDeploymentTransformsDeploymentsResponseOp$inboundSchema, + target: z.lazy(() => + GetDeploymentTransformsDeploymentsTarget$inboundSchema + ), + type: GetDeploymentTransformsDeploymentsResponse200Type$inboundSchema, + }) +); export function getDeploymentTransformsDeployments1FromJSON( jsonString: string, @@ -5135,18 +5381,20 @@ export const GetDeploymentRoutesDeploymentsTransforms$inboundSchema: z.ZodType< GetDeploymentRoutesDeploymentsTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => GetDeploymentTransformsDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => GetDeploymentTransformsDeployments2$inboundSchema), + ]) +); export function getDeploymentRoutesDeploymentsTransformsFromJSON( jsonString: string, @@ -5169,20 +5417,18 @@ export const GetDeploymentRoutesDeployments1$inboundSchema: z.ZodType< GetDeploymentRoutesDeployments1, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => GetDeploymentDestinationDeploymentsResponse2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentHasDeploymentsResponse200ApplicationJson1$inboundSchema ), @@ -5195,19 +5441,17 @@ export const GetDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHasDeploymentsResponse200ApplicationJson2$inboundSchema ).and(z.object({ type: z.literal("query") })), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional( - z.lazy(() => GetDeploymentRoutesDeploymentsLocale$inboundSchema), - ), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + GetDeploymentRoutesDeploymentsLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentMissingDeploymentsResponse200ApplicationJson1$inboundSchema ), @@ -5220,19 +5464,17 @@ export const GetDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMissingDeploymentsResponse200ApplicationJson2$inboundSchema ).and(z.object({ type: z.literal("query") })), - ])), - ), - mitigate: types.optional( - z.lazy(() => GetDeploymentRoutesDeploymentsMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + GetDeploymentRoutesDeploymentsMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentTransformsDeployments1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -5243,9 +5485,9 @@ export const GetDeploymentRoutesDeployments1$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => GetDeploymentTransformsDeployments2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function getDeploymentRoutesDeployments1FromJSON( jsonString: string, @@ -5262,10 +5504,12 @@ export const GetDeploymentServicesRoutes$inboundSchema: z.ZodType< GetDeploymentServicesRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentRoutesDeployments1$inboundSchema), - z.lazy(() => GetDeploymentRoutesDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentRoutesDeployments1$inboundSchema), + z.lazy(() => GetDeploymentRoutesDeployments2$inboundSchema), + ]) +); export function getDeploymentServicesRoutesFromJSON( jsonString: string, @@ -5282,46 +5526,50 @@ export const GetDeploymentServices2$inboundSchema: z.ZodType< GetDeploymentServices2, z.ZodTypeDef, unknown -> = z.object({ - bindings: types.optional( - z.array(GetDeploymentServicesBindings$inboundSchema), - ), - buildCommand: types.optional(types.string()), - builder: z.lazy(() => GetDeploymentServicesDeploymentsBuilder$inboundSchema), - cleanUrls: types.optional(types.boolean()), - command: types.optional(z.array(types.string())), - devCommand: types.optional(types.string()), - entrypoint: types.optional(types.string()), - framework: types.optional(types.string()), - functions: types.optional( - z.record(z.lazy(() => GetDeploymentServicesFunctions$inboundSchema)), - ), - headers: types.optional( - z.array(z.lazy(() => GetDeploymentServicesHeaders$inboundSchema)), - ), - ignoreCommand: types.optional(types.string()), - installCommand: types.optional(types.string()), - name: types.string(), - outputDirectory: types.optional(types.string()), - redirects: types.optional( - z.array(z.lazy(() => GetDeploymentServicesRedirects$inboundSchema)), - ), - rewrites: types.optional( - z.array(z.lazy(() => GetDeploymentServicesRewrites$inboundSchema)), - ), - root: types.string(), - routes: types.optional( - z.array(smartUnion([ - z.lazy(() => GetDeploymentRoutesDeployments1$inboundSchema), - z.lazy(() => - GetDeploymentRoutesDeployments2$inboundSchema - ), - ])), - ), - runtime: types.optional(types.string()), - schema: types.literal("experimentalServicesV2"), - trailingSlash: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bindings: types.optional( + z.array(GetDeploymentServicesBindings$inboundSchema), + ), + buildCommand: types.optional(types.string()), + builder: z.lazy(() => + GetDeploymentServicesDeploymentsBuilder$inboundSchema + ), + cleanUrls: types.optional(types.boolean()), + command: types.optional(z.array(types.string())), + devCommand: types.optional(types.string()), + entrypoint: types.optional(types.string()), + framework: types.optional(types.string()), + functions: types.optional( + z.record(z.lazy(() => GetDeploymentServicesFunctions$inboundSchema)), + ), + headers: types.optional( + z.array(z.lazy(() => GetDeploymentServicesHeaders$inboundSchema)), + ), + ignoreCommand: types.optional(types.string()), + installCommand: types.optional(types.string()), + name: types.string(), + outputDirectory: types.optional(types.string()), + redirects: types.optional( + z.array(z.lazy(() => GetDeploymentServicesRedirects$inboundSchema)), + ), + rewrites: types.optional( + z.array(z.lazy(() => GetDeploymentServicesRewrites$inboundSchema)), + ), + root: types.string(), + routes: types.optional( + z.array(smartUnion([ + z.lazy(() => GetDeploymentRoutesDeployments1$inboundSchema), + z.lazy(() => + GetDeploymentRoutesDeployments2$inboundSchema + ), + ])), + ), + runtime: types.optional(types.string()), + schema: types.literal("experimentalServicesV2"), + trailingSlash: types.optional(types.boolean()), + }) +); export function getDeploymentServices2FromJSON( jsonString: string, @@ -5335,16 +5583,17 @@ export function getDeploymentServices2FromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsFormat$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesDeploymentsFormat, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsFormat) + ); /** @internal */ export const GetDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - GetDeploymentServicesDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponse200ApplicationJSONType) ); /** @internal */ @@ -5352,14 +5601,16 @@ export const GetDeploymentServicesDeploymentsBindings$inboundSchema: z.ZodType< GetDeploymentServicesDeploymentsBindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: GetDeploymentServicesDeploymentsFormat$inboundSchema, - service: types.string(), - type: types.optional( - GetDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: GetDeploymentServicesDeploymentsFormat$inboundSchema, + service: types.string(), + type: types.optional( + GetDeploymentServicesDeploymentsResponse200ApplicationJSONType$inboundSchema, + ), + }) +); export function getDeploymentServicesDeploymentsBindingsFromJSON( jsonString: string, @@ -5383,10 +5634,12 @@ export const GetDeploymentServicesDeploymentsHttpHeaders$inboundSchema: GetDeploymentServicesDeploymentsHttpHeaders, z.ZodTypeDef, unknown - > = z.object({ - name: types.string(), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) + ); export function getDeploymentServicesDeploymentsHttpHeadersFromJSON( jsonString: string, diff --git a/src/models/getdeploymentserviceshttpget.ts b/src/models/getdeploymentserviceshttpget.ts index 78cd06a183..90f0fad02b 100644 --- a/src/models/getdeploymentserviceshttpget.ts +++ b/src/models/getdeploymentserviceshttpget.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1674,15 +1674,17 @@ export const GetDeploymentGitSource19$inboundSchema: z.ZodType< GetDeploymentGitSource19, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody219Type$inboundSchema, + }) +); export function getDeploymentGitSource19FromJSON( jsonString: string, @@ -1700,11 +1702,13 @@ export const GetDeploymentGitSourceDeploymentsResponse200Author$inboundSchema: GetDeploymentGitSourceDeploymentsResponse200Author, z.ZodTypeDef, unknown - > = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponse200AuthorFromJSON( jsonString: string, @@ -1728,11 +1732,13 @@ export const GetDeploymentGitSourceDeploymentsResponse200Committer$inboundSchema GetDeploymentGitSourceDeploymentsResponse200Committer, z.ZodTypeDef, unknown - > = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponse200CommitterFromJSON( jsonString: string, @@ -1756,15 +1762,17 @@ export const GetDeploymentGitSourceDeploymentsResponse200CommitMetadata$inboundS GetDeploymentGitSourceDeploymentsResponse200CommitMetadata, z.ZodTypeDef, unknown - > = z.object({ - author: z.lazy(() => - GetDeploymentGitSourceDeploymentsResponse200Author$inboundSchema - ), - committer: z.lazy(() => - GetDeploymentGitSourceDeploymentsResponse200Committer$inboundSchema - ), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => + GetDeploymentGitSourceDeploymentsResponse200Author$inboundSchema + ), + committer: z.lazy(() => + GetDeploymentGitSourceDeploymentsResponse200Committer$inboundSchema + ), + message: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponse200CommitMetadataFromJSON( jsonString: string, @@ -1785,8 +1793,10 @@ export function getDeploymentGitSourceDeploymentsResponse200CommitMetadataFromJS export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type, + ) ); /** @internal */ @@ -1794,21 +1804,21 @@ export const GetDeploymentGitSource18$inboundSchema: z.ZodType< GetDeploymentGitSource18, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional(z.lazy(() => GetDeploymentGitSourceDeploymentsResponse200CommitMetadata$inboundSchema - ), - ), - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.optional(types.string()), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema, -}); + )), + org: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.optional(types.string()), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody218Type$inboundSchema, + }) +); export function getDeploymentGitSource18FromJSON( jsonString: string, @@ -1824,8 +1834,10 @@ export function getDeploymentGitSource18FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type, + ) ); /** @internal */ @@ -1833,16 +1845,18 @@ export const GetDeploymentGitSource17$inboundSchema: z.ZodType< GetDeploymentGitSource17, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - ref: types.string(), - repoUuid: types.string(), - sha: types.string(), - slug: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema, - workspaceUuid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + ref: types.string(), + repoUuid: types.string(), + sha: types.string(), + slug: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody217Type$inboundSchema, + workspaceUuid: types.string(), + }) +); export function getDeploymentGitSource17FromJSON( jsonString: string, @@ -1858,8 +1872,10 @@ export function getDeploymentGitSource17FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type, + ) ); /** @internal */ @@ -1867,13 +1883,15 @@ export const GetDeploymentGitSource16$inboundSchema: z.ZodType< GetDeploymentGitSource16, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.number(), - ref: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.number(), + ref: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody216Type$inboundSchema, + }) +); export function getDeploymentGitSource16FromJSON( jsonString: string, @@ -1889,8 +1907,10 @@ export function getDeploymentGitSource16FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type, + ) ); /** @internal */ @@ -1898,15 +1918,17 @@ export const GetDeploymentGitSource15$inboundSchema: z.ZodType< GetDeploymentGitSource15, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema, + }) +); export function getDeploymentGitSource15FromJSON( jsonString: string, @@ -1922,8 +1944,10 @@ export function getDeploymentGitSource15FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type, + ) ); /** @internal */ @@ -1931,16 +1955,18 @@ export const GetDeploymentGitSource14$inboundSchema: z.ZodType< GetDeploymentGitSource14, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema, + }) +); export function getDeploymentGitSource14FromJSON( jsonString: string, @@ -1956,8 +1982,10 @@ export function getDeploymentGitSource14FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type, + ) ); /** @internal */ @@ -1965,15 +1993,17 @@ export const GetDeploymentGitSource13$inboundSchema: z.ZodType< GetDeploymentGitSource13, z.ZodTypeDef, unknown -> = z.object({ - org: types.optional(types.string()), - ref: types.string(), - repo: types.optional(types.string()), - repoId: types.number(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.optional(types.string()), + ref: types.string(), + repo: types.optional(types.string()), + repoId: types.number(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema, + }) +); export function getDeploymentGitSource13FromJSON( jsonString: string, @@ -1989,8 +2019,10 @@ export function getDeploymentGitSource13FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type, + ) ); /** @internal */ @@ -1998,13 +2030,15 @@ export const GetDeploymentGitSource12$inboundSchema: z.ZodType< GetDeploymentGitSource12, z.ZodTypeDef, unknown -> = z.object({ - gitUrl: types.string(), - ref: types.string(), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitUrl: types.string(), + ref: types.string(), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema, + }) +); export function getDeploymentGitSource12FromJSON( jsonString: string, @@ -2020,8 +2054,10 @@ export function getDeploymentGitSource12FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type, + ) ); /** @internal */ @@ -2029,16 +2065,18 @@ export const GetDeploymentGitSource11$inboundSchema: z.ZodType< GetDeploymentGitSource11, z.ZodTypeDef, unknown -> = z.object({ - owner: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema, + }) +); export function getDeploymentGitSource11FromJSON( jsonString: string, @@ -2056,11 +2094,13 @@ export const GetDeploymentGitSourceDeploymentsResponseAuthor$inboundSchema: GetDeploymentGitSourceDeploymentsResponseAuthor, z.ZodTypeDef, unknown - > = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponseAuthorFromJSON( jsonString: string, @@ -2084,11 +2124,13 @@ export const GetDeploymentGitSourceDeploymentsResponseCommitter$inboundSchema: GetDeploymentGitSourceDeploymentsResponseCommitter, z.ZodTypeDef, unknown - > = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponseCommitterFromJSON( jsonString: string, @@ -2112,15 +2154,17 @@ export const GetDeploymentGitSourceDeploymentsResponseCommitMetadata$inboundSche GetDeploymentGitSourceDeploymentsResponseCommitMetadata, z.ZodTypeDef, unknown - > = z.object({ - author: z.lazy(() => - GetDeploymentGitSourceDeploymentsResponseAuthor$inboundSchema - ), - committer: z.lazy(() => - GetDeploymentGitSourceDeploymentsResponseCommitter$inboundSchema - ), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => + GetDeploymentGitSourceDeploymentsResponseAuthor$inboundSchema + ), + committer: z.lazy(() => + GetDeploymentGitSourceDeploymentsResponseCommitter$inboundSchema + ), + message: types.string(), + }) + ); export function getDeploymentGitSourceDeploymentsResponseCommitMetadataFromJSON( jsonString: string, @@ -2141,8 +2185,10 @@ export function getDeploymentGitSourceDeploymentsResponseCommitMetadataFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type, + ) ); /** @internal */ @@ -2150,22 +2196,22 @@ export const GetDeploymentGitSource10$inboundSchema: z.ZodType< GetDeploymentGitSource10, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional(z.lazy(() => GetDeploymentGitSourceDeploymentsResponseCommitMetadata$inboundSchema - ), - ), - org: types.optional(types.string()), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.optional(types.string()), - repoId: types.string(), - repoPushedAt: types.optional(types.number()), - sha: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema, -}); + )), + org: types.optional(types.string()), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.optional(types.string()), + repoId: types.string(), + repoPushedAt: types.optional(types.number()), + sha: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema, + }) +); export function getDeploymentGitSource10FromJSON( jsonString: string, @@ -2181,8 +2227,10 @@ export function getDeploymentGitSource10FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, + ) ); /** @internal */ @@ -2190,15 +2238,17 @@ export const GetDeploymentGitSource9$inboundSchema: z.ZodType< GetDeploymentGitSource9, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - slug: types.string(), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + slug: types.string(), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$inboundSchema, + }) +); export function getDeploymentGitSource9FromJSON( jsonString: string, @@ -2214,8 +2264,10 @@ export function getDeploymentGitSource9FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, + ) ); /** @internal */ @@ -2223,15 +2275,17 @@ export const GetDeploymentGitSource8$inboundSchema: z.ZodType< GetDeploymentGitSource8, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoUuid: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, - workspaceUuid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoUuid: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + workspaceUuid: types.optional(types.string()), + }) +); export function getDeploymentGitSource8FromJSON( jsonString: string, @@ -2248,7 +2302,9 @@ export const GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType< GetDeploymentGitSourceProjectId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentGitSourceProjectIdFromJSON( jsonString: string, @@ -2264,8 +2320,10 @@ export function getDeploymentGitSourceProjectIdFromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2273,14 +2331,16 @@ export const GetDeploymentGitSource7$inboundSchema: z.ZodType< GetDeploymentGitSource7, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - projectId: smartUnion([types.string(), types.number()]), - ref: z.nullable(types.string()).optional(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + projectId: smartUnion([types.string(), types.number()]), + ref: z.nullable(types.string()).optional(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) +); export function getDeploymentGitSource7FromJSON( jsonString: string, @@ -2296,8 +2356,10 @@ export function getDeploymentGitSource7FromJSON( export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -2305,15 +2367,17 @@ export const GetDeploymentGitSource6$inboundSchema: z.ZodType< GetDeploymentGitSource6, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema, + }) +); export function getDeploymentGitSource6FromJSON( jsonString: string, @@ -2330,7 +2394,9 @@ export const GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType< GetDeploymentGitSourceRepoId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentGitSourceRepoIdFromJSON( jsonString: string, @@ -2344,21 +2410,25 @@ export function getDeploymentGitSourceRepoIdFromJSON( /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitSourceDeploymentsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitSourceDeploymentsResponse200Type) + ); /** @internal */ export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments5, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: GetDeploymentGitSourceDeploymentsResponse200Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments5FromJSON( jsonString: string, @@ -2373,23 +2443,27 @@ export function getDeploymentGitSourceDeployments5FromJSON( /** @internal */ export const GetDeploymentGitSourceDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentGitSourceDeploymentsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitSourceDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments4, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: GetDeploymentGitSourceDeploymentsResponseType$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments4FromJSON( jsonString: string, @@ -2408,7 +2482,9 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoIdFromJSON( jsonString: string, @@ -2427,23 +2503,26 @@ export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo /** @internal */ export const GetDeploymentGitSourceDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentGitSourceDeploymentsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentGitSourceDeploymentsType) + ); /** @internal */ export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments3, z.ZodTypeDef, unknown -> = z.object({ - host: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: GetDeploymentGitSourceDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: GetDeploymentGitSourceDeploymentsType$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments3FromJSON( jsonString: string, @@ -2459,21 +2538,23 @@ export function getDeploymentGitSourceDeployments3FromJSON( /** @internal */ export const GetDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceType -> = z.nativeEnum(GetDeploymentGitSourceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentGitSourceType)); /** @internal */ export const GetDeploymentGitSourceDeployments2$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments2, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repo: types.string(), - sha: types.optional(types.string()), - type: GetDeploymentGitSourceType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repo: types.string(), + sha: types.optional(types.string()), + type: GetDeploymentGitSourceType$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments2FromJSON( jsonString: string, @@ -2492,7 +2573,9 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$i GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoIdFromJSON( jsonString: string, @@ -2513,8 +2596,10 @@ export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoI export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type - > = z.nativeEnum( - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type, + ) ); /** @internal */ @@ -2522,14 +2607,16 @@ export const GetDeploymentGitSourceDeployments1$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments1, z.ZodTypeDef, unknown -> = z.object({ - prId: z.nullable(types.number()).optional(), - ref: z.nullable(types.string()).optional(), - repoId: smartUnion([types.string(), types.number()]), - sha: types.optional(types.string()), - type: - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prId: z.nullable(types.number()).optional(), + ref: z.nullable(types.string()).optional(), + repoId: smartUnion([types.string(), types.number()]), + sha: types.optional(types.string()), + type: + GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody21Type$inboundSchema, + }) +); export function getDeploymentGitSourceDeployments1FromJSON( jsonString: string, @@ -2547,27 +2634,29 @@ export const GetDeploymentResponseBodyGitSource$inboundSchema: z.ZodType< GetDeploymentResponseBodyGitSource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentGitSource19$inboundSchema), - z.lazy(() => GetDeploymentGitSource14$inboundSchema), - z.lazy(() => GetDeploymentGitSource17$inboundSchema), - z.lazy(() => GetDeploymentGitSource18$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), - z.lazy(() => GetDeploymentGitSource12$inboundSchema), - z.lazy(() => GetDeploymentGitSource13$inboundSchema), - z.lazy(() => GetDeploymentGitSource15$inboundSchema), - z.lazy(() => GetDeploymentGitSource16$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), - z.lazy(() => GetDeploymentGitSource6$inboundSchema), - z.lazy(() => GetDeploymentGitSource9$inboundSchema), - z.lazy(() => GetDeploymentGitSource10$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), - z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), - z.lazy(() => GetDeploymentGitSource7$inboundSchema), - z.lazy(() => GetDeploymentGitSource8$inboundSchema), - z.lazy(() => GetDeploymentGitSource11$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentGitSource19$inboundSchema), + z.lazy(() => GetDeploymentGitSource14$inboundSchema), + z.lazy(() => GetDeploymentGitSource17$inboundSchema), + z.lazy(() => GetDeploymentGitSource18$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments4$inboundSchema), + z.lazy(() => GetDeploymentGitSource12$inboundSchema), + z.lazy(() => GetDeploymentGitSource13$inboundSchema), + z.lazy(() => GetDeploymentGitSource15$inboundSchema), + z.lazy(() => GetDeploymentGitSource16$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments2$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments3$inboundSchema), + z.lazy(() => GetDeploymentGitSource6$inboundSchema), + z.lazy(() => GetDeploymentGitSource9$inboundSchema), + z.lazy(() => GetDeploymentGitSource10$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments1$inboundSchema), + z.lazy(() => GetDeploymentGitSourceDeployments5$inboundSchema), + z.lazy(() => GetDeploymentGitSource7$inboundSchema), + z.lazy(() => GetDeploymentGitSource8$inboundSchema), + z.lazy(() => GetDeploymentGitSource11$inboundSchema), + ]) +); export function getDeploymentResponseBodyGitSourceFromJSON( jsonString: string, @@ -2582,23 +2671,29 @@ export function getDeploymentResponseBodyGitSourceFromJSON( /** @internal */ export const GetDeploymentResponseBodyContentDispositionType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyContentDispositionType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyContentDispositionType) + ); /** @internal */ export const GetDeploymentResponseBodyFormats$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyFormats -> = z.nativeEnum(GetDeploymentResponseBodyFormats); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyFormats) +); /** @internal */ export const GetDeploymentResponseBodyLocalPatterns$inboundSchema: z.ZodType< GetDeploymentResponseBodyLocalPatterns, z.ZodTypeDef, unknown -> = z.object({ - pathname: types.optional(types.string()), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pathname: types.optional(types.string()), + search: types.optional(types.string()), + }) +); export function getDeploymentResponseBodyLocalPatternsFromJSON( jsonString: string, @@ -2614,20 +2709,24 @@ export function getDeploymentResponseBodyLocalPatternsFromJSON( /** @internal */ export const GetDeploymentResponseBodyProtocol$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyProtocol -> = z.nativeEnum(GetDeploymentResponseBodyProtocol); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyProtocol) +); /** @internal */ export const GetDeploymentResponseBodyRemotePatterns$inboundSchema: z.ZodType< GetDeploymentResponseBodyRemotePatterns, z.ZodTypeDef, unknown -> = z.object({ - hostname: types.string(), - pathname: types.optional(types.string()), - port: types.optional(types.string()), - protocol: types.optional(GetDeploymentResponseBodyProtocol$inboundSchema), - search: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hostname: types.string(), + pathname: types.optional(types.string()), + port: types.optional(types.string()), + protocol: types.optional(GetDeploymentResponseBodyProtocol$inboundSchema), + search: types.optional(types.string()), + }) +); export function getDeploymentResponseBodyRemotePatternsFromJSON( jsonString: string, @@ -2650,28 +2749,32 @@ export const GetDeploymentResponseBodyImages$inboundSchema: z.ZodType< GetDeploymentResponseBodyImages, z.ZodTypeDef, unknown -> = z.object({ - contentDispositionType: types.optional( - GetDeploymentResponseBodyContentDispositionType$inboundSchema, - ), - contentSecurityPolicy: types.optional(types.string()), - dangerouslyAllowSVG: types.optional(types.boolean()), - domains: types.optional(z.array(types.string())), - formats: types.optional( - z.array(GetDeploymentResponseBodyFormats$inboundSchema), - ), - localPatterns: types.optional( - z.array(z.lazy(() => GetDeploymentResponseBodyLocalPatterns$inboundSchema)), - ), - minimumCacheTTL: types.optional(types.number()), - qualities: types.optional(z.array(types.number())), - remotePatterns: types.optional( - z.array( - z.lazy(() => GetDeploymentResponseBodyRemotePatterns$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + contentDispositionType: types.optional( + GetDeploymentResponseBodyContentDispositionType$inboundSchema, + ), + contentSecurityPolicy: types.optional(types.string()), + dangerouslyAllowSVG: types.optional(types.boolean()), + domains: types.optional(z.array(types.string())), + formats: types.optional( + z.array(GetDeploymentResponseBodyFormats$inboundSchema), + ), + localPatterns: types.optional( + z.array( + z.lazy(() => GetDeploymentResponseBodyLocalPatterns$inboundSchema), + ), + ), + minimumCacheTTL: types.optional(types.number()), + qualities: types.optional(z.array(types.number())), + remotePatterns: types.optional( + z.array( + z.lazy(() => GetDeploymentResponseBodyRemotePatterns$inboundSchema), + ), ), - ), - sizes: types.optional(z.array(types.number())), -}); + sizes: types.optional(z.array(types.number())), + }) +); export function getDeploymentResponseBodyImagesFromJSON( jsonString: string, @@ -2685,22 +2788,26 @@ export function getDeploymentResponseBodyImagesFromJSON( /** @internal */ export const GetDeploymentResponseBodyDeploymentsResponseStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsResponseStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseStatus) + ); /** @internal */ export const GetDeploymentResponseBodyIntegrations$inboundSchema: z.ZodType< GetDeploymentResponseBodyIntegrations, z.ZodTypeDef, unknown -> = z.object({ - claimedAt: types.optional(types.number()), - completedAt: types.optional(types.number()), - skippedAt: types.optional(types.number()), - skippedBy: types.optional(types.string()), - startedAt: types.number(), - status: GetDeploymentResponseBodyDeploymentsResponseStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claimedAt: types.optional(types.number()), + completedAt: types.optional(types.number()), + skippedAt: types.optional(types.number()), + skippedBy: types.optional(types.string()), + startedAt: types.number(), + status: GetDeploymentResponseBodyDeploymentsResponseStatus$inboundSchema, + }) +); export function getDeploymentResponseBodyIntegrationsFromJSON( jsonString: string, @@ -2717,17 +2824,21 @@ export function getDeploymentResponseBodyIntegrationsFromJSON( export const GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyDeploymentsResponseReadyState - > = z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseReadyState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseReadyState) + ); /** @internal */ export const ResponseBodyOutput$inboundSchema: z.ZodType< ResponseBodyOutput, z.ZodTypeDef, unknown -> = z.object({ - functionName: types.string(), - path: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionName: types.string(), + path: types.string(), + }) +); export function responseBodyOutputFromJSON( jsonString: string, @@ -2744,16 +2855,18 @@ export const GetDeploymentResponseBodyLambdas$inboundSchema: z.ZodType< GetDeploymentResponseBodyLambdas, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - entrypoint: z.nullable(types.string()).optional(), - id: types.string(), - readyState: types.optional( - GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema, - ), - readyStateAt: types.optional(types.number()), - output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + entrypoint: z.nullable(types.string()).optional(), + id: types.string(), + readyState: types.optional( + GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchema, + ), + readyStateAt: types.optional(types.number()), + output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)), + }) +); export function getDeploymentResponseBodyLambdasFromJSON( jsonString: string, @@ -2768,7 +2881,9 @@ export function getDeploymentResponseBodyLambdasFromJSON( /** @internal */ export const GetDeploymentResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyState -> = z.nativeEnum(GetDeploymentResponseBodyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyState) +); /** @internal */ export const GetDeploymentResponseBodyManualProvisioning$inboundSchema: @@ -2776,10 +2891,12 @@ export const GetDeploymentResponseBodyManualProvisioning$inboundSchema: GetDeploymentResponseBodyManualProvisioning, z.ZodTypeDef, unknown - > = z.object({ - completedAt: types.optional(types.number()), - state: GetDeploymentResponseBodyState$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + state: GetDeploymentResponseBodyState$inboundSchema, + }) + ); export function getDeploymentResponseBodyManualProvisioningFromJSON( jsonString: string, @@ -2799,23 +2916,27 @@ export function getDeploymentResponseBodyManualProvisioningFromJSON( /** @internal */ export const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentMicrofrontendsMfeConfigUploadState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentMicrofrontendsMfeConfigUploadState) + ); /** @internal */ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType< GetDeploymentMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - mfeConfigUploadState: types.optional( - GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + mfeConfigUploadState: types.optional( + GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema, + ), + }) +); export function getDeploymentMicrofrontends2FromJSON( jsonString: string, @@ -2832,12 +2953,14 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType< GetDeploymentMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultAppProjectName: types.string(), - defaultRoute: types.optional(types.string()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultAppProjectName: types.string(), + defaultRoute: types.optional(types.string()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + }) +); export function getDeploymentMicrofrontends1FromJSON( jsonString: string, @@ -2854,10 +2977,12 @@ export const GetDeploymentResponseBodyMicrofrontends$inboundSchema: z.ZodType< GetDeploymentResponseBodyMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), - z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), + z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), + ]) +); export function getDeploymentResponseBodyMicrofrontendsFromJSON( jsonString: string, @@ -2877,38 +3002,41 @@ export function getDeploymentResponseBodyMicrofrontendsFromJSON( /** @internal */ export const GetDeploymentResponseBodyNodeVersion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyNodeVersion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyNodeVersion) + ); /** @internal */ export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< GetDeploymentResponseBodyOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getDeploymentResponseBodyOidcTokenClaimsFromJSON( jsonString: string, @@ -2929,12 +3057,16 @@ export function getDeploymentResponseBodyOidcTokenClaimsFromJSON( /** @internal */ export const GetDeploymentResponseBodyOomReport$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyOomReport -> = z.nativeEnum(GetDeploymentResponseBodyOomReport); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyOomReport) +); /** @internal */ export const GetDeploymentResponseBodyPlan$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyPlan -> = z.nativeEnum(GetDeploymentResponseBodyPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyPlan) +); /** @internal */ export const GetDeploymentResponseBodyDeploymentsCreator$inboundSchema: @@ -2942,10 +3074,12 @@ export const GetDeploymentResponseBodyDeploymentsCreator$inboundSchema: GetDeploymentResponseBodyDeploymentsCreator, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + name: types.string(), + }) + ); export function getDeploymentResponseBodyDeploymentsCreatorFromJSON( jsonString: string, @@ -2967,8 +3101,10 @@ export function getDeploymentResponseBodyDeploymentsCreatorFromJSON( export const GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType - > = z.nativeEnum( - GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -2976,11 +3112,13 @@ export const GetDeploymentResponseBodyOrigin$inboundSchema: z.ZodType< GetDeploymentResponseBodyOrigin, z.ZodTypeDef, unknown -> = z.object({ - type: - GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: + GetDeploymentResponseBodyDeploymentsResponse200ApplicationJSONType$inboundSchema, + value: types.string(), + }) +); export function getDeploymentResponseBodyOriginFromJSON( jsonString: string, @@ -2998,9 +3136,11 @@ export const GetDeploymentResponseBodyDeploymentsResponseSource$inboundSchema: GetDeploymentResponseBodyDeploymentsResponseSource, z.ZodTypeDef, unknown - > = z.object({ - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) + ); export function getDeploymentResponseBodyDeploymentsResponseSourceFromJSON( jsonString: string, @@ -3023,16 +3163,18 @@ export const GetDeploymentResponseBodyPlatform$inboundSchema: z.ZodType< GetDeploymentResponseBodyPlatform, z.ZodTypeDef, unknown -> = z.object({ - creator: z.lazy(() => - GetDeploymentResponseBodyDeploymentsCreator$inboundSchema - ), - meta: types.optional(z.record(types.string())), - origin: z.lazy(() => GetDeploymentResponseBodyOrigin$inboundSchema), - source: z.lazy(() => - GetDeploymentResponseBodyDeploymentsResponseSource$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: z.lazy(() => + GetDeploymentResponseBodyDeploymentsCreator$inboundSchema + ), + meta: types.optional(z.record(types.string())), + origin: z.lazy(() => GetDeploymentResponseBodyOrigin$inboundSchema), + source: z.lazy(() => + GetDeploymentResponseBodyDeploymentsResponseSource$inboundSchema + ), + }) +); export function getDeploymentResponseBodyPlatformFromJSON( jsonString: string, @@ -3049,11 +3191,13 @@ export const ResponseBodyProject$inboundSchema: z.ZodType< ResponseBodyProject, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(types.string()).optional(), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(types.string()).optional(), + id: types.string(), + name: types.string(), + }) +); export function responseBodyProjectFromJSON( jsonString: string, @@ -3068,27 +3212,33 @@ export function responseBodyProjectFromJSON( /** @internal */ export const GetDeploymentResponseBodyFramework$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyFramework -> = z.nativeEnum(GetDeploymentResponseBodyFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyFramework) +); /** @internal */ export const GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentResponseBodyDeploymentsNodeVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyDeploymentsNodeVersion) + ); /** @internal */ export const GetDeploymentResponseBodySpeedInsights$inboundSchema: z.ZodType< GetDeploymentResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function getDeploymentResponseBodySpeedInsightsFromJSON( jsonString: string, @@ -3106,9 +3256,11 @@ export const GetDeploymentResponseBodyVercelFlags$inboundSchema: z.ZodType< GetDeploymentResponseBodyVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getDeploymentResponseBodyVercelFlagsFromJSON( jsonString: string, @@ -3126,13 +3278,15 @@ export const GetDeploymentResponseBodyWebAnalytics$inboundSchema: z.ZodType< GetDeploymentResponseBodyWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function getDeploymentResponseBodyWebAnalyticsFromJSON( jsonString: string, @@ -3150,27 +3304,29 @@ export const ResponseBodyProjectSettings$inboundSchema: z.ZodType< ResponseBodyProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - devCommand: z.nullable(types.string()).optional(), - framework: z.nullable(GetDeploymentResponseBodyFramework$inboundSchema) - .optional(), - installCommand: z.nullable(types.string()).optional(), - nodeVersion: types.optional( - GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema, - ), - outputDirectory: z.nullable(types.string()).optional(), - speedInsights: types.optional( - z.lazy(() => GetDeploymentResponseBodySpeedInsights$inboundSchema), - ), - vercelFlags: types.optional( - z.lazy(() => GetDeploymentResponseBodyVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => GetDeploymentResponseBodyWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + devCommand: z.nullable(types.string()).optional(), + framework: z.nullable(GetDeploymentResponseBodyFramework$inboundSchema) + .optional(), + installCommand: z.nullable(types.string()).optional(), + nodeVersion: types.optional( + GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema, + ), + outputDirectory: z.nullable(types.string()).optional(), + speedInsights: types.optional( + z.lazy(() => GetDeploymentResponseBodySpeedInsights$inboundSchema), + ), + vercelFlags: types.optional( + z.lazy(() => GetDeploymentResponseBodyVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => GetDeploymentResponseBodyWebAnalytics$inboundSchema), + ), + }) +); export function responseBodyProjectSettingsFromJSON( jsonString: string, @@ -3185,58 +3341,68 @@ export function responseBodyProjectSettingsFromJSON( /** @internal */ export const ResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyReadyState -> = z.nativeEnum(ResponseBodyReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyReadyState)); /** @internal */ export const GetDeploymentResponseBodyReadySubstate$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyReadySubstate, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyReadySubstate) + ); /** @internal */ export const GetDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentBuildMachineDeploymentsMachineSelectionType - > = z.nativeEnum(GetDeploymentBuildMachineDeploymentsMachineSelectionType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineDeploymentsMachineSelectionType) + ); /** @internal */ export const GetDeploymentBuildMachinePurchaseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentBuildMachinePurchaseType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachinePurchaseType) + ); /** @internal */ export const GetDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentBuildMachineDeploymentsDefaultPurchaseType - > = z.nativeEnum(GetDeploymentBuildMachineDeploymentsDefaultPurchaseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineDeploymentsDefaultPurchaseType) + ); /** @internal */ export const GetDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDeploymentBuildMachineDeploymentsSelectionSource); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineDeploymentsSelectionSource) + ); /** @internal */ export const GetDeploymentBuildMachine2$inboundSchema: z.ZodType< GetDeploymentBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: types.optional( - GetDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema, - ), - purchaseType: types.optional( - GetDeploymentBuildMachinePurchaseType$inboundSchema, - ), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional( - GetDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema, - ), - memory: types.optional(types.number()), - selectionSource: types.optional( - GetDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: types.optional( + GetDeploymentBuildMachineDeploymentsMachineSelectionType$inboundSchema, + ), + purchaseType: types.optional( + GetDeploymentBuildMachinePurchaseType$inboundSchema, + ), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional( + GetDeploymentBuildMachineDeploymentsDefaultPurchaseType$inboundSchema, + ), + memory: types.optional(types.number()), + selectionSource: types.optional( + GetDeploymentBuildMachineDeploymentsSelectionSource$inboundSchema, + ), + }) +); export function getDeploymentBuildMachine2FromJSON( jsonString: string, @@ -3250,44 +3416,54 @@ export function getDeploymentBuildMachine2FromJSON( /** @internal */ export const GetDeploymentBuildMachineMachineSelectionType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentBuildMachineMachineSelectionType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineMachineSelectionType) + ); /** @internal */ export const GetDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentBuildMachineDeploymentsPurchaseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineDeploymentsPurchaseType) + ); /** @internal */ export const GetDeploymentBuildMachineDefaultPurchaseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentBuildMachineDefaultPurchaseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineDefaultPurchaseType) + ); /** @internal */ export const GetDeploymentBuildMachineSelectionSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentBuildMachineSelectionSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentBuildMachineSelectionSource) + ); /** @internal */ export const GetDeploymentBuildMachine1$inboundSchema: z.ZodType< GetDeploymentBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - machineSelectionType: - GetDeploymentBuildMachineMachineSelectionType$inboundSchema, - purchaseType: types.optional( - GetDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema, - ), - cores: types.optional(types.number()), - defaultPurchaseType: types.optional( - GetDeploymentBuildMachineDefaultPurchaseType$inboundSchema, - ), - memory: types.optional(types.number()), - selectionSource: types.optional( - GetDeploymentBuildMachineSelectionSource$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + machineSelectionType: + GetDeploymentBuildMachineMachineSelectionType$inboundSchema, + purchaseType: types.optional( + GetDeploymentBuildMachineDeploymentsPurchaseType$inboundSchema, + ), + cores: types.optional(types.number()), + defaultPurchaseType: types.optional( + GetDeploymentBuildMachineDefaultPurchaseType$inboundSchema, + ), + memory: types.optional(types.number()), + selectionSource: types.optional( + GetDeploymentBuildMachineSelectionSource$inboundSchema, + ), + }) +); export function getDeploymentBuildMachine1FromJSON( jsonString: string, @@ -3304,10 +3480,12 @@ export const ResponseBodyBuildMachine$inboundSchema: z.ZodType< ResponseBodyBuildMachine, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentBuildMachine1$inboundSchema), - z.lazy(() => GetDeploymentBuildMachine2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentBuildMachine1$inboundSchema), + z.lazy(() => GetDeploymentBuildMachine2$inboundSchema), + ]) +); export function responseBodyBuildMachineFromJSON( jsonString: string, @@ -3324,14 +3502,14 @@ export const GetDeploymentResponseBodyResourceConfig$inboundSchema: z.ZodType< GetDeploymentResponseBodyResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachine: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachine: types.optional(smartUnion([ z.lazy(() => GetDeploymentBuildMachine1$inboundSchema), z.lazy(() => GetDeploymentBuildMachine2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getDeploymentResponseBodyResourceConfigFromJSON( jsonString: string, @@ -3354,11 +3532,13 @@ export const GetDeploymentRoutes3$inboundSchema: z.ZodType< GetDeploymentRoutes3, z.ZodTypeDef, unknown -> = z.object({ - continue: types.boolean(), - middleware: types.number(), - src: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + continue: types.boolean(), + middleware: types.number(), + src: types.string(), + }) +); export function getDeploymentRoutes3FromJSON( jsonString: string, @@ -3373,19 +3553,21 @@ export function getDeploymentRoutes3FromJSON( /** @internal */ export const GetDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesHandle -> = z.nativeEnum(GetDeploymentRoutesHandle); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentRoutesHandle)); /** @internal */ export const GetDeploymentRoutes2$inboundSchema: z.ZodType< GetDeploymentRoutes2, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: GetDeploymentRoutesHandle$inboundSchema, - src: types.optional(types.string()), - status: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: GetDeploymentRoutesHandle$inboundSchema, + src: types.optional(types.string()), + status: types.optional(types.number()), + }) +); export function getDeploymentRoutes2FromJSON( jsonString: string, @@ -3400,18 +3582,22 @@ export function getDeploymentRoutes2FromJSON( /** @internal */ export const GetDeploymentDestinationType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentDestinationType -> = z.nativeEnum(GetDeploymentDestinationType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentDestinationType) +); /** @internal */ export const GetDeploymentDestination2$inboundSchema: z.ZodType< GetDeploymentDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(GetDeploymentDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(GetDeploymentDestinationType$inboundSchema), + }) +); export function getDeploymentDestination2FromJSON( jsonString: string, @@ -3428,10 +3614,12 @@ export const GetDeploymentRoutesDestination$inboundSchema: z.ZodType< GetDeploymentRoutesDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentDestination2$inboundSchema), + types.string(), + ]) +); export function getDeploymentRoutesDestinationFromJSON( jsonString: string, @@ -3446,12 +3634,14 @@ export function getDeploymentRoutesDestinationFromJSON( /** @internal */ export const GetDeploymentHasType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentHasType -> = z.nativeEnum(GetDeploymentHasType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentHasType)); /** @internal */ export const GetDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getDeploymentValueDeploymentsResponse200EqFromJSON( jsonString: string, @@ -3474,19 +3664,21 @@ export const GetDeploymentValue2$inboundSchema: z.ZodType< GetDeploymentValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentValue2FromJSON( jsonString: string, @@ -3503,10 +3695,9 @@ export const GetDeploymentHasValue$inboundSchema: z.ZodType< GetDeploymentHasValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValue2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)]) +); export function getDeploymentHasValueFromJSON( jsonString: string, @@ -3523,16 +3714,16 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType< GetDeploymentHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetDeploymentHasType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetDeploymentHasType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValue2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getDeploymentHas2FromJSON( jsonString: string, @@ -3549,7 +3740,9 @@ export const GetDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsResponseEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentValueDeploymentsResponseEqFromJSON( jsonString: string, @@ -3572,19 +3765,21 @@ export const GetDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, @@ -3607,10 +3802,12 @@ export const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< GetDeploymentHasDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), + ]) +); export function getDeploymentHasDeploymentsValueFromJSON( jsonString: string, @@ -3627,13 +3824,15 @@ export const GetDeploymentHas1$inboundSchema: z.ZodType< GetDeploymentHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), + ]), + }) +); export function getDeploymentHas1FromJSON( jsonString: string, @@ -3650,18 +3849,20 @@ export const GetDeploymentRoutesHas$inboundSchema: z.ZodType< GetDeploymentRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentHas1$inboundSchema), - z.lazy(() => GetDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentHas1$inboundSchema), + z.lazy(() => GetDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentRoutesHasFromJSON( jsonString: string, @@ -3678,10 +3879,12 @@ export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType< GetDeploymentRoutesLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function getDeploymentRoutesLocaleFromJSON( jsonString: string, @@ -3696,14 +3899,16 @@ export function getDeploymentRoutesLocaleFromJSON( /** @internal */ export const GetDeploymentMissingType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentMissingType -> = z.nativeEnum(GetDeploymentMissingType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentMissingType)); /** @internal */ export const GetDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentValueDeploymentsEqFromJSON( jsonString: string, @@ -3720,19 +3925,21 @@ export const GetDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, @@ -3750,10 +3957,12 @@ export const GetDeploymentMissingValue$inboundSchema: z.ZodType< GetDeploymentMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema), + ]) +); export function getDeploymentMissingValueFromJSON( jsonString: string, @@ -3770,16 +3979,16 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType< GetDeploymentMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetDeploymentMissingType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetDeploymentMissingType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getDeploymentMissing2FromJSON( jsonString: string, @@ -3796,7 +4005,9 @@ export const GetDeploymentValueEq$inboundSchema: z.ZodType< GetDeploymentValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentValueEqFromJSON( jsonString: string, @@ -3813,19 +4024,21 @@ export const GetDeploymentValueDeployments2$inboundSchema: z.ZodType< GetDeploymentValueDeployments2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentValueDeployments2FromJSON( jsonString: string, @@ -3842,10 +4055,12 @@ export const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType< GetDeploymentMissingDeploymentsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), + ]) +); export function getDeploymentMissingDeploymentsValueFromJSON( jsonString: string, @@ -3863,13 +4078,15 @@ export const GetDeploymentMissing1$inboundSchema: z.ZodType< GetDeploymentMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), + ]), + }) +); export function getDeploymentMissing1FromJSON( jsonString: string, @@ -3886,18 +4103,20 @@ export const GetDeploymentRoutesMissing$inboundSchema: z.ZodType< GetDeploymentRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentMissing1$inboundSchema), - z.lazy(() => GetDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetDeploymentMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentMissing1$inboundSchema), + z.lazy(() => GetDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetDeploymentMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getDeploymentRoutesMissingFromJSON( jsonString: string, @@ -3912,16 +4131,18 @@ export function getDeploymentRoutesMissingFromJSON( /** @internal */ export const GetDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesAction -> = z.nativeEnum(GetDeploymentRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentRoutesAction)); /** @internal */ export const GetDeploymentRoutesMitigate$inboundSchema: z.ZodType< GetDeploymentRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetDeploymentRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetDeploymentRoutesAction$inboundSchema, + }) +); export function getDeploymentRoutesMitigateFromJSON( jsonString: string, @@ -3935,22 +4156,25 @@ export function getDeploymentRoutesMitigateFromJSON( /** @internal */ export const GetDeploymentTransformsDeploymentsOp$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentTransformsDeploymentsOp, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentTransformsDeploymentsOp) + ); /** @internal */ export const GetDeploymentTransforms2$inboundSchema: z.ZodType< GetDeploymentTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: GetDeploymentTransformsDeploymentsOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: GetDeploymentTransformsDeploymentsOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function getDeploymentTransforms2FromJSON( jsonString: string, @@ -3967,7 +4191,9 @@ export const GetDeploymentTransformsArgs$inboundSchema: z.ZodType< GetDeploymentTransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getDeploymentTransformsArgsFromJSON( jsonString: string, @@ -3982,14 +4208,16 @@ export function getDeploymentTransformsArgsFromJSON( /** @internal */ export const GetDeploymentTransformsOp$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentTransformsOp -> = z.nativeEnum(GetDeploymentTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentTransformsOp)); /** @internal */ export const GetDeploymentKeyEq$inboundSchema: z.ZodType< GetDeploymentKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentKeyEqFromJSON( jsonString: string, @@ -4006,18 +4234,20 @@ export const GetDeploymentKey2$inboundSchema: z.ZodType< GetDeploymentKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getDeploymentKey2FromJSON( jsonString: string, @@ -4034,7 +4264,9 @@ export const GetDeploymentTransformsKey$inboundSchema: z.ZodType< GetDeploymentTransformsKey, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]) +); export function getDeploymentTransformsKeyFromJSON( jsonString: string, @@ -4051,12 +4283,14 @@ export const GetDeploymentTransformsTarget$inboundSchema: z.ZodType< GetDeploymentTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => GetDeploymentKey2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => GetDeploymentKey2$inboundSchema), + ]), + }) +); export function getDeploymentTransformsTargetFromJSON( jsonString: string, @@ -4070,22 +4304,25 @@ export function getDeploymentTransformsTargetFromJSON( /** @internal */ export const GetDeploymentTransformsDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentTransformsDeploymentsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentTransformsDeploymentsType) + ); /** @internal */ export const GetDeploymentTransforms1$inboundSchema: z.ZodType< GetDeploymentTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: GetDeploymentTransformsOp$inboundSchema, - target: z.lazy(() => GetDeploymentTransformsTarget$inboundSchema), - type: GetDeploymentTransformsDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: GetDeploymentTransformsOp$inboundSchema, + target: z.lazy(() => GetDeploymentTransformsTarget$inboundSchema), + type: GetDeploymentTransformsDeploymentsType$inboundSchema, + }) +); export function getDeploymentTransforms1FromJSON( jsonString: string, @@ -4102,18 +4339,20 @@ export const GetDeploymentRoutesTransforms$inboundSchema: z.ZodType< GetDeploymentRoutesTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => GetDeploymentTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => GetDeploymentTransforms2$inboundSchema), + ]) +); export function getDeploymentRoutesTransformsFromJSON( jsonString: string, @@ -4130,20 +4369,18 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType< GetDeploymentRoutes1, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => GetDeploymentDestination2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentHas1$inboundSchema), z.lazy(() => GetDeploymentHas2$inboundSchema @@ -4154,17 +4391,17 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => GetDeploymentRoutesLocale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + GetDeploymentRoutesLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentMissing1$inboundSchema), z.lazy(() => GetDeploymentMissing2$inboundSchema @@ -4175,19 +4412,17 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional( - z.lazy(() => GetDeploymentRoutesMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + GetDeploymentRoutesMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => GetDeploymentTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -4198,9 +4433,9 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => GetDeploymentTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function getDeploymentRoutes1FromJSON( jsonString: string, @@ -4217,11 +4452,13 @@ export const GetDeploymentResponseBodyRoutes$inboundSchema: z.ZodType< GetDeploymentResponseBodyRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDeploymentRoutes3$inboundSchema), - z.lazy(() => GetDeploymentRoutes1$inboundSchema), - z.lazy(() => GetDeploymentRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDeploymentRoutes3$inboundSchema), + z.lazy(() => GetDeploymentRoutes1$inboundSchema), + z.lazy(() => GetDeploymentRoutes2$inboundSchema), + ]) +); export function getDeploymentResponseBodyRoutesFromJSON( jsonString: string, @@ -4236,20 +4473,25 @@ export function getDeploymentResponseBodyRoutesFromJSON( /** @internal */ export const GetDeploymentResponseBodyBlockCode$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyBlockCode -> = z.nativeEnum(GetDeploymentResponseBodyBlockCode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyBlockCode) +); /** @internal */ export const GetDeploymentResponseBodyGitProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentResponseBodyGitProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentResponseBodyGitProvider) + ); /** @internal */ export const GetDeploymentResponseBodyGitUserId$inboundSchema: z.ZodType< GetDeploymentResponseBodyGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentResponseBodyGitUserIdFromJSON( jsonString: string, @@ -4267,15 +4509,17 @@ export const GetDeploymentResponseBodySeatBlock$inboundSchema: z.ZodType< GetDeploymentResponseBodySeatBlock, z.ZodTypeDef, unknown -> = z.object({ - blockCode: GetDeploymentResponseBodyBlockCode$inboundSchema, - gitProvider: types.optional( - GetDeploymentResponseBodyGitProvider$inboundSchema, - ), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - isVerified: types.optional(types.boolean()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockCode: GetDeploymentResponseBodyBlockCode$inboundSchema, + gitProvider: types.optional( + GetDeploymentResponseBodyGitProvider$inboundSchema, + ), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + isVerified: types.optional(types.boolean()), + userId: types.optional(types.string()), + }) +); export function getDeploymentResponseBodySeatBlockFromJSON( jsonString: string, @@ -4291,25 +4535,30 @@ export function getDeploymentResponseBodySeatBlockFromJSON( /** @internal */ export const GetDeploymentServicesFormat$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesFormat -> = z.nativeEnum(GetDeploymentServicesFormat); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesFormat) +); /** @internal */ export const GetDeploymentServicesDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentServicesDeploymentsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsType) + ); /** @internal */ export const GetDeploymentServicesBindings$inboundSchema: z.ZodType< GetDeploymentServicesBindings, z.ZodTypeDef, unknown -> = z.object({ - env: types.string(), - format: GetDeploymentServicesFormat$inboundSchema, - service: types.string(), - type: types.optional(GetDeploymentServicesDeploymentsType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: GetDeploymentServicesFormat$inboundSchema, + service: types.string(), + type: types.optional(GetDeploymentServicesDeploymentsType$inboundSchema), + }) +); export function getDeploymentServicesBindingsFromJSON( jsonString: string, @@ -4323,15 +4572,19 @@ export function getDeploymentServicesBindingsFromJSON( /** @internal */ export const GetDeploymentServicesDeploymentsResponseFormat$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDeploymentServicesDeploymentsResponseFormat); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesDeploymentsResponseFormat) + ); /** @internal */ export const GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -4340,14 +4593,16 @@ export const GetDeploymentServicesDeploymentsResponseBindings$inboundSchema: GetDeploymentServicesDeploymentsResponseBindings, z.ZodTypeDef, unknown - > = z.object({ - env: types.string(), - format: GetDeploymentServicesDeploymentsResponseFormat$inboundSchema, - service: types.string(), - type: types.optional( - GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.string(), + format: GetDeploymentServicesDeploymentsResponseFormat$inboundSchema, + service: types.string(), + type: types.optional( + GetDeploymentServicesDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema, + ), + }) + ); export function getDeploymentServicesDeploymentsResponseBindingsFromJSON( jsonString: string, @@ -4370,10 +4625,12 @@ export const GetDeploymentServicesHttpHeaders$inboundSchema: z.ZodType< GetDeploymentServicesHttpHeaders, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) +); export function getDeploymentServicesHttpHeadersFromJSON( jsonString: string, @@ -4388,22 +4645,26 @@ export function getDeploymentServicesHttpHeadersFromJSON( /** @internal */ export const GetDeploymentServicesScheme$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentServicesScheme -> = z.nativeEnum(GetDeploymentServicesScheme); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentServicesScheme) +); /** @internal */ export const GetDeploymentServicesHttpGet$inboundSchema: z.ZodType< GetDeploymentServicesHttpGet, z.ZodTypeDef, unknown -> = z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => GetDeploymentServicesHttpHeaders$inboundSchema)), - ), - path: types.optional(types.string()), - port: types.number(), - scheme: types.optional(GetDeploymentServicesScheme$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(z.lazy(() => GetDeploymentServicesHttpHeaders$inboundSchema)), + ), + path: types.optional(types.string()), + port: types.number(), + scheme: types.optional(GetDeploymentServicesScheme$inboundSchema), + }) +); export function getDeploymentServicesHttpGetFromJSON( jsonString: string, diff --git a/src/models/getdeploymentsop.ts b/src/models/getdeploymentsop.ts index c6b240c243..be6b3096f6 100644 --- a/src/models/getdeploymentsop.ts +++ b/src/models/getdeploymentsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -886,24 +886,26 @@ export const GetDeploymentsRequest$outboundSchema: z.ZodType< GetDeploymentsRequest$Outbound, z.ZodTypeDef, GetDeploymentsRequest -> = z.object({ - app: z.string().optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - projectIds: z.array(z.string()).optional(), - target: z.string().optional(), - to: z.number().optional(), - users: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - state: z.string().optional(), - rollbackCandidate: z.boolean().optional(), - branch: z.string().optional(), - sha: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.string().optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + projectIds: z.array(z.string()).optional(), + target: z.string().optional(), + to: z.number().optional(), + users: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + state: z.string().optional(), + rollbackCandidate: z.boolean().optional(), + branch: z.string().optional(), + sha: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDeploymentsRequestToJSON( getDeploymentsRequest: GetDeploymentsRequest, @@ -918,7 +920,9 @@ export const GetDeploymentsAliasAssigned$inboundSchema: z.ZodType< GetDeploymentsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getDeploymentsAliasAssignedFromJSON( jsonString: string, @@ -935,10 +939,12 @@ export const GetDeploymentsAliasError$inboundSchema: z.ZodType< GetDeploymentsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getDeploymentsAliasErrorFromJSON( jsonString: string, @@ -955,11 +961,13 @@ export const GetDeploymentsCommitMeta$inboundSchema: z.ZodType< GetDeploymentsCommitMeta, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - isVerified: types.optional(types.boolean()), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + isVerified: types.optional(types.boolean()), + name: types.optional(types.string()), + }) +); export function getDeploymentsCommitMetaFromJSON( jsonString: string, @@ -976,7 +984,9 @@ export const GetDeploymentsId$inboundSchema: z.ZodType< GetDeploymentsId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentsIdFromJSON( jsonString: string, @@ -993,12 +1003,14 @@ export const GetDeploymentsGitUser$inboundSchema: z.ZodType< GetDeploymentsGitUser, z.ZodTypeDef, unknown -> = z.object({ - id: smartUnion([types.string(), types.number()]), - login: types.string(), - provider: types.optional(types.string()), - type: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + login: types.string(), + provider: types.optional(types.string()), + type: types.optional(types.string()), + }) +); export function getDeploymentsGitUserFromJSON( jsonString: string, @@ -1015,11 +1027,13 @@ export const GetDeploymentsVercelUser$inboundSchema: z.ZodType< GetDeploymentsVercelUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - teamRoles: types.optional(z.array(types.string())), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + teamRoles: types.optional(z.array(types.string())), + username: types.string(), + }) +); export function getDeploymentsVercelUserFromJSON( jsonString: string, @@ -1036,15 +1050,17 @@ export const GetDeploymentsAttribution$inboundSchema: z.ZodType< GetDeploymentsAttribution, z.ZodTypeDef, unknown -> = z.object({ - commitMeta: types.optional( - z.lazy(() => GetDeploymentsCommitMeta$inboundSchema), - ), - gitUser: types.optional(z.lazy(() => GetDeploymentsGitUser$inboundSchema)), - vercelUser: types.optional( - z.lazy(() => GetDeploymentsVercelUser$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMeta: types.optional( + z.lazy(() => GetDeploymentsCommitMeta$inboundSchema), + ), + gitUser: types.optional(z.lazy(() => GetDeploymentsGitUser$inboundSchema)), + vercelUser: types.optional( + z.lazy(() => GetDeploymentsVercelUser$inboundSchema), + ), + }) +); export function getDeploymentsAttributionFromJSON( jsonString: string, @@ -1058,20 +1074,23 @@ export function getDeploymentsAttributionFromJSON( /** @internal */ export const GetDeploymentsDeploymentsResponseState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentsDeploymentsResponseState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsDeploymentsResponseState) + ); /** @internal */ export const GetDeploymentsDeploymentAlias$inboundSchema: z.ZodType< GetDeploymentsDeploymentAlias, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - startedAt: types.number(), - state: GetDeploymentsDeploymentsResponseState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + startedAt: types.number(), + state: GetDeploymentsDeploymentsResponseState$inboundSchema, + }) +); export function getDeploymentsDeploymentAliasFromJSON( jsonString: string, @@ -1088,13 +1107,17 @@ export const GetDeploymentsChecks$inboundSchema: z.ZodType< GetDeploymentsChecks, z.ZodTypeDef, unknown -> = z.object({ - "deployment-alias": z.lazy(() => GetDeploymentsDeploymentAlias$inboundSchema), -}).transform((v) => { - return remap$(v, { - "deployment-alias": "deploymentAlias", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "deployment-alias": z.lazy(() => + GetDeploymentsDeploymentAlias$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "deployment-alias": "deploymentAlias", + }); + }) +); export function getDeploymentsChecksFromJSON( jsonString: string, @@ -1109,31 +1132,37 @@ export function getDeploymentsChecksFromJSON( /** @internal */ export const GetDeploymentsChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsChecksConclusion -> = z.nativeEnum(GetDeploymentsChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsChecksConclusion) +); /** @internal */ export const GetDeploymentsChecksState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsChecksState -> = z.nativeEnum(GetDeploymentsChecksState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsChecksState)); /** @internal */ export const GetDeploymentsDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsDeploymentsType -> = z.nativeEnum(GetDeploymentsDeploymentsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsDeploymentsType) +); /** @internal */ export const GetDeploymentsCreator$inboundSchema: z.ZodType< GetDeploymentsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - type: types.optional(GetDeploymentsDeploymentsType$inboundSchema), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + type: types.optional(GetDeploymentsDeploymentsType$inboundSchema), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function getDeploymentsCreatorFromJSON( jsonString: string, @@ -1150,10 +1179,12 @@ export const GetDeploymentsCustomEnvironment$inboundSchema: z.ZodType< GetDeploymentsCustomEnvironment, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.optional(types.string()), + }) +); export function getDeploymentsCustomEnvironmentFromJSON( jsonString: string, @@ -1168,17 +1199,21 @@ export function getDeploymentsCustomEnvironmentFromJSON( /** @internal */ export const GetDeploymentsDeploymentsState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsDeploymentsState -> = z.nativeEnum(GetDeploymentsDeploymentsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsDeploymentsState) +); /** @internal */ export const GetDeploymentsManualProvisioning$inboundSchema: z.ZodType< GetDeploymentsManualProvisioning, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.optional(types.number()), - state: GetDeploymentsDeploymentsState$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.optional(types.number()), + state: GetDeploymentsDeploymentsState$inboundSchema, + }) +); export function getDeploymentsManualProvisioningFromJSON( jsonString: string, @@ -1193,17 +1228,19 @@ export function getDeploymentsManualProvisioningFromJSON( /** @internal */ export const GetDeploymentsOomReport$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsOomReport -> = z.nativeEnum(GetDeploymentsOomReport); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsOomReport)); /** @internal */ export const GetDeploymentsDeploymentsCreator$inboundSchema: z.ZodType< GetDeploymentsDeploymentsCreator, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + name: types.string(), + }) +); export function getDeploymentsDeploymentsCreatorFromJSON( jsonString: string, @@ -1217,19 +1254,22 @@ export function getDeploymentsDeploymentsCreatorFromJSON( /** @internal */ export const GetDeploymentsDeploymentsResponseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDeploymentsDeploymentsResponseType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsDeploymentsResponseType) + ); /** @internal */ export const GetDeploymentsOrigin$inboundSchema: z.ZodType< GetDeploymentsOrigin, z.ZodTypeDef, unknown -> = z.object({ - type: GetDeploymentsDeploymentsResponseType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: GetDeploymentsDeploymentsResponseType$inboundSchema, + value: types.string(), + }) +); export function getDeploymentsOriginFromJSON( jsonString: string, @@ -1246,9 +1286,11 @@ export const GetDeploymentsDeploymentsSource$inboundSchema: z.ZodType< GetDeploymentsDeploymentsSource, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function getDeploymentsDeploymentsSourceFromJSON( jsonString: string, @@ -1265,12 +1307,14 @@ export const GetDeploymentsPlatform$inboundSchema: z.ZodType< GetDeploymentsPlatform, z.ZodTypeDef, unknown -> = z.object({ - creator: z.lazy(() => GetDeploymentsDeploymentsCreator$inboundSchema), - meta: types.optional(z.record(types.string())), - origin: z.lazy(() => GetDeploymentsOrigin$inboundSchema), - source: z.lazy(() => GetDeploymentsDeploymentsSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: z.lazy(() => GetDeploymentsDeploymentsCreator$inboundSchema), + meta: types.optional(z.record(types.string())), + origin: z.lazy(() => GetDeploymentsOrigin$inboundSchema), + source: z.lazy(() => GetDeploymentsDeploymentsSource$inboundSchema), + }) +); export function getDeploymentsPlatformFromJSON( jsonString: string, @@ -1285,17 +1329,19 @@ export function getDeploymentsPlatformFromJSON( /** @internal */ export const GetDeploymentsFramework$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsFramework -> = z.nativeEnum(GetDeploymentsFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsFramework)); /** @internal */ export const GetDeploymentsGitComments$inboundSchema: z.ZodType< GetDeploymentsGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function getDeploymentsGitCommentsFromJSON( jsonString: string, @@ -1310,22 +1356,24 @@ export function getDeploymentsGitCommentsFromJSON( /** @internal */ export const GetDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsNodeVersion -> = z.nativeEnum(GetDeploymentsNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsNodeVersion)); /** @internal */ export const GetDeploymentsSpeedInsights$inboundSchema: z.ZodType< GetDeploymentsSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function getDeploymentsSpeedInsightsFromJSON( jsonString: string, @@ -1342,9 +1390,11 @@ export const GetDeploymentsVercelFlags$inboundSchema: z.ZodType< GetDeploymentsVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getDeploymentsVercelFlagsFromJSON( jsonString: string, @@ -1361,13 +1411,15 @@ export const GetDeploymentsWebAnalytics$inboundSchema: z.ZodType< GetDeploymentsWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function getDeploymentsWebAnalyticsFromJSON( jsonString: string, @@ -1384,34 +1436,36 @@ export const GetDeploymentsProjectSettings$inboundSchema: z.ZodType< GetDeploymentsProjectSettings, z.ZodTypeDef, unknown -> = z.object({ - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - customerSupportCodeVisibility: types.optional(types.boolean()), - devCommand: z.nullable(types.string()).optional(), - framework: z.nullable(GetDeploymentsFramework$inboundSchema).optional(), - gitComments: types.optional( - z.lazy(() => GetDeploymentsGitComments$inboundSchema), - ), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - installCommand: z.nullable(types.string()).optional(), - nodeVersion: types.optional(GetDeploymentsNodeVersion$inboundSchema), - outputDirectory: z.nullable(types.string()).optional(), - rootDirectory: z.nullable(types.string()).optional(), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - z.lazy(() => GetDeploymentsSpeedInsights$inboundSchema), - ), - vercelFlags: types.optional( - z.lazy(() => GetDeploymentsVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => GetDeploymentsWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + customerSupportCodeVisibility: types.optional(types.boolean()), + devCommand: z.nullable(types.string()).optional(), + framework: z.nullable(GetDeploymentsFramework$inboundSchema).optional(), + gitComments: types.optional( + z.lazy(() => GetDeploymentsGitComments$inboundSchema), + ), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + installCommand: z.nullable(types.string()).optional(), + nodeVersion: types.optional(GetDeploymentsNodeVersion$inboundSchema), + outputDirectory: z.nullable(types.string()).optional(), + rootDirectory: z.nullable(types.string()).optional(), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + z.lazy(() => GetDeploymentsSpeedInsights$inboundSchema), + ), + vercelFlags: types.optional( + z.lazy(() => GetDeploymentsVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => GetDeploymentsWebAnalytics$inboundSchema), + ), + }) +); export function getDeploymentsProjectSettingsFromJSON( jsonString: string, @@ -1426,29 +1480,33 @@ export function getDeploymentsProjectSettingsFromJSON( /** @internal */ export const GetDeploymentsReadyState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsReadyState -> = z.nativeEnum(GetDeploymentsReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsReadyState)); /** @internal */ export const GetDeploymentsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsReadySubstate -> = z.nativeEnum(GetDeploymentsReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDeploymentsReadySubstate) +); /** @internal */ export const GetDeploymentsBlockCode$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsBlockCode -> = z.nativeEnum(GetDeploymentsBlockCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsBlockCode)); /** @internal */ export const GetDeploymentsGitProvider$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsGitProvider -> = z.nativeEnum(GetDeploymentsGitProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsGitProvider)); /** @internal */ export const GetDeploymentsGitUserId$inboundSchema: z.ZodType< GetDeploymentsGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getDeploymentsGitUserIdFromJSON( jsonString: string, @@ -1465,13 +1523,15 @@ export const GetDeploymentsSeatBlock$inboundSchema: z.ZodType< GetDeploymentsSeatBlock, z.ZodTypeDef, unknown -> = z.object({ - blockCode: GetDeploymentsBlockCode$inboundSchema, - gitProvider: types.optional(GetDeploymentsGitProvider$inboundSchema), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - isVerified: types.optional(types.boolean()), - userId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockCode: GetDeploymentsBlockCode$inboundSchema, + gitProvider: types.optional(GetDeploymentsGitProvider$inboundSchema), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + isVerified: types.optional(types.boolean()), + userId: types.optional(types.string()), + }) +); export function getDeploymentsSeatBlockFromJSON( jsonString: string, @@ -1486,86 +1546,90 @@ export function getDeploymentsSeatBlockFromJSON( /** @internal */ export const GetDeploymentsSource$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsSource -> = z.nativeEnum(GetDeploymentsSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsSource)); /** @internal */ export const GetDeploymentsState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsState -> = z.nativeEnum(GetDeploymentsState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsState)); /** @internal */ export const GetDeploymentsTarget$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsTarget -> = z.nativeEnum(GetDeploymentsTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsTarget)); /** @internal */ export const GetDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsType -> = z.nativeEnum(GetDeploymentsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDeploymentsType)); /** @internal */ export const Deployments$inboundSchema: z.ZodType< Deployments, z.ZodTypeDef, unknown -> = z.object({ - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$inboundSchema)) - .optional(), - attribution: types.optional( - z.lazy(() => GetDeploymentsAttribution$inboundSchema), - ), - buildingAt: types.optional(types.number()), - checks: types.optional(z.lazy(() => GetDeploymentsChecks$inboundSchema)), - checksConclusion: types.optional( - GetDeploymentsChecksConclusion$inboundSchema, - ), - checksState: types.optional(GetDeploymentsChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - created: types.number(), - createdAt: types.number(), - creator: z.lazy(() => GetDeploymentsCreator$inboundSchema), - customEnvironment: types.optional( - z.lazy(() => GetDeploymentsCustomEnvironment$inboundSchema), - ), - defaultRoute: types.optional(types.string()), - deleted: types.optional(types.number()), - errorCode: types.optional(types.string()), - errorMessage: z.nullable(types.string()).optional(), - expiration: types.optional(types.number()), - inspectorUrl: types.nullable(types.string()), - isRollbackCandidate: z.nullable(types.boolean()).optional(), - manualProvisioning: types.optional( - z.lazy(() => GetDeploymentsManualProvisioning$inboundSchema), - ), - meta: types.optional(z.record(types.string())), - name: types.string(), - oomReport: types.optional(GetDeploymentsOomReport$inboundSchema), - passiveConnectConfigurationId: types.optional(types.string()), - platform: types.optional(z.lazy(() => GetDeploymentsPlatform$inboundSchema)), - prebuilt: types.optional(types.boolean()), - projectId: types.string(), - projectSettings: types.optional( - z.lazy(() => GetDeploymentsProjectSettings$inboundSchema), - ), - proposedExpiration: types.optional(types.number()), - ready: types.optional(types.number()), - readyState: GetDeploymentsReadyState$inboundSchema, - readySubstate: types.optional(GetDeploymentsReadySubstate$inboundSchema), - seatBlock: types.optional( - z.lazy(() => GetDeploymentsSeatBlock$inboundSchema), - ), - softDeletedByRetention: types.optional(types.boolean()), - source: types.optional(GetDeploymentsSource$inboundSchema), - state: types.optional(GetDeploymentsState$inboundSchema), - target: z.nullable(GetDeploymentsTarget$inboundSchema).optional(), - type: GetDeploymentsType$inboundSchema, - uid: types.string(), - undeleted: types.optional(types.number()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetDeploymentsAliasError$inboundSchema)) + .optional(), + attribution: types.optional( + z.lazy(() => GetDeploymentsAttribution$inboundSchema), + ), + buildingAt: types.optional(types.number()), + checks: types.optional(z.lazy(() => GetDeploymentsChecks$inboundSchema)), + checksConclusion: types.optional( + GetDeploymentsChecksConclusion$inboundSchema, + ), + checksState: types.optional(GetDeploymentsChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + created: types.number(), + createdAt: types.number(), + creator: z.lazy(() => GetDeploymentsCreator$inboundSchema), + customEnvironment: types.optional( + z.lazy(() => GetDeploymentsCustomEnvironment$inboundSchema), + ), + defaultRoute: types.optional(types.string()), + deleted: types.optional(types.number()), + errorCode: types.optional(types.string()), + errorMessage: z.nullable(types.string()).optional(), + expiration: types.optional(types.number()), + inspectorUrl: types.nullable(types.string()), + isRollbackCandidate: z.nullable(types.boolean()).optional(), + manualProvisioning: types.optional( + z.lazy(() => GetDeploymentsManualProvisioning$inboundSchema), + ), + meta: types.optional(z.record(types.string())), + name: types.string(), + oomReport: types.optional(GetDeploymentsOomReport$inboundSchema), + passiveConnectConfigurationId: types.optional(types.string()), + platform: types.optional( + z.lazy(() => GetDeploymentsPlatform$inboundSchema), + ), + prebuilt: types.optional(types.boolean()), + projectId: types.string(), + projectSettings: types.optional( + z.lazy(() => GetDeploymentsProjectSettings$inboundSchema), + ), + proposedExpiration: types.optional(types.number()), + ready: types.optional(types.number()), + readyState: GetDeploymentsReadyState$inboundSchema, + readySubstate: types.optional(GetDeploymentsReadySubstate$inboundSchema), + seatBlock: types.optional( + z.lazy(() => GetDeploymentsSeatBlock$inboundSchema), + ), + softDeletedByRetention: types.optional(types.boolean()), + source: types.optional(GetDeploymentsSource$inboundSchema), + state: types.optional(GetDeploymentsState$inboundSchema), + target: z.nullable(GetDeploymentsTarget$inboundSchema).optional(), + type: GetDeploymentsType$inboundSchema, + uid: types.string(), + undeleted: types.optional(types.number()), + url: types.string(), + }) +); export function deploymentsFromJSON( jsonString: string, @@ -1582,10 +1646,12 @@ export const GetDeploymentsResponseBody$inboundSchema: z.ZodType< GetDeploymentsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - deployments: z.array(z.lazy(() => Deployments$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployments: z.array(z.lazy(() => Deployments$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function getDeploymentsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainauthcodeop.ts b/src/models/getdomainauthcodeop.ts index d52a1771a2..04824d228b 100644 --- a/src/models/getdomainauthcodeop.ts +++ b/src/models/getdomainauthcodeop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -59,10 +59,12 @@ export const GetDomainAuthCodeRequest$outboundSchema: z.ZodType< GetDomainAuthCodeRequest$Outbound, z.ZodTypeDef, GetDomainAuthCodeRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + }) +); export function getDomainAuthCodeRequestToJSON( getDomainAuthCodeRequest: GetDomainAuthCodeRequest, @@ -78,12 +80,14 @@ export const GetDomainAuthCodeDomainsRegistrarResponseResponseBody$inboundSchema GetDomainAuthCodeDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function getDomainAuthCodeDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -107,10 +111,12 @@ export const GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema: GetDomainAuthCodeDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = smartUnion([ - DomainNotRegistered$inboundSchema, - HttpApiDecodeError$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + DomainNotRegistered$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) + ); export function getDomainAuthCodeDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -133,9 +139,11 @@ export const GetDomainAuthCodeResponseBody$inboundSchema: z.ZodType< GetDomainAuthCodeResponseBody, z.ZodTypeDef, unknown -> = z.object({ - authCode: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authCode: types.string(), + }) +); export function getDomainAuthCodeResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainavailabilityop.ts b/src/models/getdomainavailabilityop.ts index 1689a7d5ad..9d8bd7b05a 100644 --- a/src/models/getdomainavailabilityop.ts +++ b/src/models/getdomainavailabilityop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,10 +31,12 @@ export const GetDomainAvailabilityRequest$outboundSchema: z.ZodType< GetDomainAvailabilityRequest$Outbound, z.ZodTypeDef, GetDomainAvailabilityRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + }) +); export function getDomainAvailabilityRequestToJSON( getDomainAvailabilityRequest: GetDomainAvailabilityRequest, @@ -51,9 +53,11 @@ export const GetDomainAvailabilityResponseBody$inboundSchema: z.ZodType< GetDomainAvailabilityResponseBody, z.ZodTypeDef, unknown -> = z.object({ - available: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + available: types.boolean(), + }) +); export function getDomainAvailabilityResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainconfigop.ts b/src/models/getdomainconfigop.ts index 3a3e4804ae..6a2804dd09 100644 --- a/src/models/getdomainconfigop.ts +++ b/src/models/getdomainconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -110,8 +110,8 @@ export type GetDomainConfigResponseBody = { }; /** @internal */ -export const Strict$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Strict); +export const Strict$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Strict)); /** @internal */ export type GetDomainConfigRequest$Outbound = { @@ -127,13 +127,15 @@ export const GetDomainConfigRequest$outboundSchema: z.ZodType< GetDomainConfigRequest$Outbound, z.ZodTypeDef, GetDomainConfigRequest -> = z.object({ - domain: z.string(), - projectIdOrName: z.string().optional(), - strict: Strict$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + projectIdOrName: z.string().optional(), + strict: Strict$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainConfigRequestToJSON( getDomainConfigRequest: GetDomainConfigRequest, @@ -146,21 +148,23 @@ export function getDomainConfigRequestToJSON( /** @internal */ export const AcceptedChallenges$inboundSchema: z.ZodNativeEnum< typeof AcceptedChallenges -> = z.nativeEnum(AcceptedChallenges); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AcceptedChallenges)); /** @internal */ export const ConfiguredBy$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ConfiguredBy); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ConfiguredBy)); /** @internal */ export const RecommendedCNAME$inboundSchema: z.ZodType< RecommendedCNAME, z.ZodTypeDef, unknown -> = z.object({ - rank: types.number(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rank: types.number(), + value: types.string(), + }) +); export function recommendedCNAMEFromJSON( jsonString: string, @@ -177,10 +181,12 @@ export const RecommendedIPv4$inboundSchema: z.ZodType< RecommendedIPv4, z.ZodTypeDef, unknown -> = z.object({ - rank: types.number(), - value: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rank: types.number(), + value: z.array(types.string()), + }) +); export function recommendedIPv4FromJSON( jsonString: string, @@ -197,13 +203,15 @@ export const GetDomainConfigResponseBody$inboundSchema: z.ZodType< GetDomainConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - acceptedChallenges: z.array(AcceptedChallenges$inboundSchema), - configuredBy: types.nullable(ConfiguredBy$inboundSchema), - recommendedCNAME: z.array(z.lazy(() => RecommendedCNAME$inboundSchema)), - recommendedIPv4: z.array(z.lazy(() => RecommendedIPv4$inboundSchema)), - misconfigured: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedChallenges: z.array(AcceptedChallenges$inboundSchema), + configuredBy: types.nullable(ConfiguredBy$inboundSchema), + recommendedCNAME: z.array(z.lazy(() => RecommendedCNAME$inboundSchema)), + recommendedIPv4: z.array(z.lazy(() => RecommendedIPv4$inboundSchema)), + misconfigured: types.boolean(), + }) +); export function getDomainConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomaincontactverificationop.ts b/src/models/getdomaincontactverificationop.ts index 562e7d143c..505f2a2c94 100644 --- a/src/models/getdomaincontactverificationop.ts +++ b/src/models/getdomaincontactverificationop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { @@ -71,10 +71,12 @@ export const GetDomainContactVerificationRequest$outboundSchema: z.ZodType< GetDomainContactVerificationRequest$Outbound, z.ZodTypeDef, GetDomainContactVerificationRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + }) +); export function getDomainContactVerificationRequestToJSON( getDomainContactVerificationRequest: GetDomainContactVerificationRequest, @@ -92,12 +94,14 @@ export const GetDomainContactVerificationDomainsRegistrarResponseResponseBody$in GetDomainContactVerificationDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function getDomainContactVerificationDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -120,11 +124,13 @@ export const GetDomainContactVerificationDomainsRegistrarResponseBody$inboundSch GetDomainContactVerificationDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = smartUnion([ - BoughtTooRecently$inboundSchema, - DomainNotRegistered$inboundSchema, - HttpApiDecodeError$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + BoughtTooRecently$inboundSchema, + DomainNotRegistered$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) + ); export function getDomainContactVerificationDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -146,10 +152,12 @@ export const GetDomainContactVerificationResponseBody$inboundSchema: z.ZodType< GetDomainContactVerificationResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - ContactPendingVerification$inboundSchema, - ContactVerified$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + ContactPendingVerification$inboundSchema, + ContactVerified$inboundSchema, + ]) +); export function getDomainContactVerificationResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainop.ts b/src/models/getdomainop.ts index 9c5eb74749..8919d1ae69 100644 --- a/src/models/getdomainop.ts +++ b/src/models/getdomainop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -146,11 +146,13 @@ export const GetDomainRequest$outboundSchema: z.ZodType< GetDomainRequest$Outbound, z.ZodTypeDef, GetDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainRequestToJSON( getDomainRequest: GetDomainRequest, @@ -165,13 +167,15 @@ export const GetDomainCreator$inboundSchema: z.ZodType< GetDomainCreator, z.ZodTypeDef, unknown -> = z.object({ - customerId: z.nullable(types.string()).optional(), - email: types.string(), - id: types.string(), - isDomainReseller: types.optional(types.boolean()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customerId: z.nullable(types.string()).optional(), + email: types.string(), + id: types.string(), + isDomainReseller: types.optional(types.boolean()), + username: types.string(), + }) +); export function getDomainCreatorFromJSON( jsonString: string, @@ -186,38 +190,40 @@ export function getDomainCreatorFromJSON( /** @internal */ export const GetDomainEchMode$inboundSchema: z.ZodNativeEnum< typeof GetDomainEchMode -> = z.nativeEnum(GetDomainEchMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDomainEchMode)); /** @internal */ export const GetDomainServiceType$inboundSchema: z.ZodNativeEnum< typeof GetDomainServiceType -> = z.nativeEnum(GetDomainServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDomainServiceType)); /** @internal */ export const GetDomainDomain$inboundSchema: z.ZodType< GetDomainDomain, z.ZodTypeDef, unknown -> = z.object({ - boughtAt: types.nullable(types.number()), - createdAt: types.number(), - creator: z.lazy(() => GetDomainCreator$inboundSchema), - customNameservers: types.optional(z.array(types.string())), - echMode: GetDomainEchMode$inboundSchema, - expiresAt: types.nullable(types.number()), - id: types.string(), - intendedNameservers: z.array(types.string()), - name: types.string(), - nameservers: z.array(types.string()), - renew: types.optional(types.boolean()), - serviceType: GetDomainServiceType$inboundSchema, - suffix: types.boolean(), - teamId: types.nullable(types.string()), - transferredAt: z.nullable(types.number()).optional(), - transferStartedAt: types.optional(types.number()), - userId: types.string(), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boughtAt: types.nullable(types.number()), + createdAt: types.number(), + creator: z.lazy(() => GetDomainCreator$inboundSchema), + customNameservers: types.optional(z.array(types.string())), + echMode: GetDomainEchMode$inboundSchema, + expiresAt: types.nullable(types.number()), + id: types.string(), + intendedNameservers: z.array(types.string()), + name: types.string(), + nameservers: z.array(types.string()), + renew: types.optional(types.boolean()), + serviceType: GetDomainServiceType$inboundSchema, + suffix: types.boolean(), + teamId: types.nullable(types.string()), + transferredAt: z.nullable(types.number()).optional(), + transferStartedAt: types.optional(types.number()), + userId: types.string(), + verified: types.boolean(), + }) +); export function getDomainDomainFromJSON( jsonString: string, @@ -234,9 +240,11 @@ export const GetDomainResponseBody$inboundSchema: z.ZodType< GetDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - domain: z.lazy(() => GetDomainDomain$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.lazy(() => GetDomainDomain$inboundSchema), + }) +); export function getDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainpriceop.ts b/src/models/getdomainpriceop.ts index d6872a6583..53d18c193d 100644 --- a/src/models/getdomainpriceop.ts +++ b/src/models/getdomainpriceop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -68,11 +68,13 @@ export const GetDomainPriceRequest$outboundSchema: z.ZodType< GetDomainPriceRequest$Outbound, z.ZodTypeDef, GetDomainPriceRequest -> = z.object({ - domain: z.string(), - years: z.string().optional(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), + }) +); export function getDomainPriceRequestToJSON( getDomainPriceRequest: GetDomainPriceRequest, @@ -85,12 +87,14 @@ export function getDomainPriceRequestToJSON( /** @internal */ export const GetDomainPriceDomainsRegistrarResponseBody$inboundSchema: z.ZodType = - smartUnion([ - BadRequest$inboundSchema, - DomainTooShort$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + BadRequest$inboundSchema, + DomainTooShort$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) + ); export function getDomainPriceDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -113,7 +117,9 @@ export const GetDomainPricePurchasePrice$inboundSchema: z.ZodType< GetDomainPricePurchasePrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getDomainPricePurchasePriceFromJSON( jsonString: string, @@ -130,7 +136,9 @@ export const GetDomainPriceRenewalPrice$inboundSchema: z.ZodType< GetDomainPriceRenewalPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getDomainPriceRenewalPriceFromJSON( jsonString: string, @@ -147,7 +155,9 @@ export const GetDomainPriceTransferPrice$inboundSchema: z.ZodType< GetDomainPriceTransferPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function getDomainPriceTransferPriceFromJSON( jsonString: string, @@ -164,12 +174,14 @@ export const GetDomainPriceResponseBody$inboundSchema: z.ZodType< GetDomainPriceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - years: types.number(), - purchasePrice: smartUnion([types.number(), types.string()]), - renewalPrice: smartUnion([types.number(), types.string()]), - transferPrice: smartUnion([types.number(), types.string()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + years: types.number(), + purchasePrice: smartUnion([types.number(), types.string()]), + renewalPrice: smartUnion([types.number(), types.string()]), + transferPrice: smartUnion([types.number(), types.string()]), + }) +); export function getDomainPriceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainprojectdomainsop.ts b/src/models/getdomainprojectdomainsop.ts index 6a6c091527..3f750b00fb 100644 --- a/src/models/getdomainprojectdomainsop.ts +++ b/src/models/getdomainprojectdomainsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { Pagination, Pagination$inboundSchema } from "./pagination.js"; @@ -92,14 +92,16 @@ export const GetDomainProjectDomainsRequest$outboundSchema: z.ZodType< GetDomainProjectDomainsRequest$Outbound, z.ZodTypeDef, GetDomainProjectDomainsRequest -> = z.object({ - domain: z.string(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainProjectDomainsRequestToJSON( getDomainProjectDomainsRequest: GetDomainProjectDomainsRequest, @@ -116,12 +118,14 @@ export const GetDomainProjectDomainsVerification$inboundSchema: z.ZodType< GetDomainProjectDomainsVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getDomainProjectDomainsVerificationFromJSON( jsonString: string, @@ -139,21 +143,23 @@ export const ProjectDomains$inboundSchema: z.ZodType< ProjectDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => GetDomainProjectDomainsVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => GetDomainProjectDomainsVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function projectDomainsFromJSON( jsonString: string, @@ -170,10 +176,12 @@ export const GetDomainProjectDomainsResponseBody$inboundSchema: z.ZodType< GetDomainProjectDomainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: Pagination$inboundSchema, - projectDomains: z.array(z.lazy(() => ProjectDomains$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: Pagination$inboundSchema, + projectDomains: z.array(z.lazy(() => ProjectDomains$inboundSchema)), + }) +); export function getDomainProjectDomainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainsop.ts b/src/models/getdomainsop.ts index 1432db828c..2dc74ab6cf 100644 --- a/src/models/getdomainsop.ts +++ b/src/models/getdomainsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -160,13 +160,15 @@ export const GetDomainsRequest$outboundSchema: z.ZodType< GetDomainsRequest$Outbound, z.ZodTypeDef, GetDomainsRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainsRequestToJSON( getDomainsRequest: GetDomainsRequest, @@ -181,13 +183,15 @@ export const GetDomainsCreator$inboundSchema: z.ZodType< GetDomainsCreator, z.ZodTypeDef, unknown -> = z.object({ - customerId: z.nullable(types.string()).optional(), - email: types.string(), - id: types.string(), - isDomainReseller: types.optional(types.boolean()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customerId: z.nullable(types.string()).optional(), + email: types.string(), + id: types.string(), + isDomainReseller: types.optional(types.boolean()), + username: types.string(), + }) +); export function getDomainsCreatorFromJSON( jsonString: string, @@ -202,37 +206,39 @@ export function getDomainsCreatorFromJSON( /** @internal */ export const GetDomainsEchMode$inboundSchema: z.ZodNativeEnum< typeof GetDomainsEchMode -> = z.nativeEnum(GetDomainsEchMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDomainsEchMode)); /** @internal */ export const GetDomainsServiceType$inboundSchema: z.ZodNativeEnum< typeof GetDomainsServiceType -> = z.nativeEnum(GetDomainsServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDomainsServiceType)); /** @internal */ export const GetDomainsDomains$inboundSchema: z.ZodType< GetDomainsDomains, z.ZodTypeDef, unknown -> = z.object({ - boughtAt: types.nullable(types.number()), - createdAt: types.number(), - creator: z.lazy(() => GetDomainsCreator$inboundSchema), - customNameservers: types.optional(z.array(types.string())), - echMode: GetDomainsEchMode$inboundSchema, - expiresAt: types.nullable(types.number()), - id: types.string(), - intendedNameservers: z.array(types.string()), - name: types.string(), - nameservers: z.array(types.string()), - renew: types.optional(types.boolean()), - serviceType: GetDomainsServiceType$inboundSchema, - teamId: types.nullable(types.string()), - transferredAt: z.nullable(types.number()).optional(), - transferStartedAt: types.optional(types.number()), - userId: types.string(), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boughtAt: types.nullable(types.number()), + createdAt: types.number(), + creator: z.lazy(() => GetDomainsCreator$inboundSchema), + customNameservers: types.optional(z.array(types.string())), + echMode: GetDomainsEchMode$inboundSchema, + expiresAt: types.nullable(types.number()), + id: types.string(), + intendedNameservers: z.array(types.string()), + name: types.string(), + nameservers: z.array(types.string()), + renew: types.optional(types.boolean()), + serviceType: GetDomainsServiceType$inboundSchema, + teamId: types.nullable(types.string()), + transferredAt: z.nullable(types.number()).optional(), + transferStartedAt: types.optional(types.number()), + userId: types.string(), + verified: types.boolean(), + }) +); export function getDomainsDomainsFromJSON( jsonString: string, @@ -249,10 +255,12 @@ export const GetDomainsResponseBody$inboundSchema: z.ZodType< GetDomainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - domains: z.array(z.lazy(() => GetDomainsDomains$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.lazy(() => GetDomainsDomains$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function getDomainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainsrecordsbyrecordidop.ts b/src/models/getdomainsrecordsbyrecordidop.ts index 93a452e46d..95d5486b9c 100644 --- a/src/models/getdomainsrecordsbyrecordidop.ts +++ b/src/models/getdomainsrecordsbyrecordidop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -79,11 +79,13 @@ export const GetDomainsRecordsByRecordIdRequest$outboundSchema: z.ZodType< GetDomainsRecordsByRecordIdRequest$Outbound, z.ZodTypeDef, GetDomainsRecordsByRecordIdRequest -> = z.object({ - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainsRecordsByRecordIdRequestToJSON( getDomainsRecordsByRecordIdRequest: GetDomainsRecordsByRecordIdRequest, @@ -96,31 +98,35 @@ export function getDomainsRecordsByRecordIdRequestToJSON( } /** @internal */ -export const RecordType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RecordType); +export const RecordType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RecordType)); /** @internal */ export const GetDomainsRecordsByRecordIdType$inboundSchema: z.ZodNativeEnum< typeof GetDomainsRecordsByRecordIdType -> = z.nativeEnum(GetDomainsRecordsByRecordIdType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDomainsRecordsByRecordIdType) +); /** @internal */ export const GetDomainsRecordsByRecordIdResponseBody$inboundSchema: z.ZodType< GetDomainsRecordsByRecordIdResponseBody, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - createdAt: z.nullable(types.number()).optional(), - creator: types.string(), - domain: types.string(), - id: types.string(), - name: types.string(), - recordType: RecordType$inboundSchema, - ttl: types.optional(types.number()), - type: GetDomainsRecordsByRecordIdType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + createdAt: z.nullable(types.number()).optional(), + creator: types.string(), + domain: types.string(), + id: types.string(), + name: types.string(), + recordType: RecordType$inboundSchema, + ttl: types.optional(types.number()), + type: GetDomainsRecordsByRecordIdType$inboundSchema, + value: types.string(), + }) +); export function getDomainsRecordsByRecordIdResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomaintransferinop.ts b/src/models/getdomaintransferinop.ts index 2c44e4d726..77b2834481 100644 --- a/src/models/getdomaintransferinop.ts +++ b/src/models/getdomaintransferinop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Forbidden, Forbidden$inboundSchema } from "./forbidden.js"; @@ -62,10 +62,12 @@ export const GetDomainTransferInRequest$outboundSchema: z.ZodType< GetDomainTransferInRequest$Outbound, z.ZodTypeDef, GetDomainTransferInRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + }) +); export function getDomainTransferInRequestToJSON( getDomainTransferInRequest: GetDomainTransferInRequest, @@ -81,12 +83,14 @@ export const GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema: GetDomainTransferInDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function getDomainTransferInDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -107,16 +111,18 @@ export function getDomainTransferInDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const GetDomainTransferInStatus$inboundSchema: z.ZodNativeEnum< typeof GetDomainTransferInStatus -> = z.nativeEnum(GetDomainTransferInStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDomainTransferInStatus)); /** @internal */ export const GetDomainTransferInResponseBody$inboundSchema: z.ZodType< GetDomainTransferInResponseBody, z.ZodTypeDef, unknown -> = z.object({ - status: GetDomainTransferInStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: GetDomainTransferInStatus$inboundSchema, + }) +); export function getDomainTransferInResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdomainverificationrecordop.ts b/src/models/getdomainverificationrecordop.ts index 54c5d99557..368577ccfa 100644 --- a/src/models/getdomainverificationrecordop.ts +++ b/src/models/getdomainverificationrecordop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -44,11 +44,13 @@ export const GetDomainVerificationRecordRequest$outboundSchema: z.ZodType< GetDomainVerificationRecordRequest$Outbound, z.ZodTypeDef, GetDomainVerificationRecordRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDomainVerificationRecordRequestToJSON( getDomainVerificationRecordRequest: GetDomainVerificationRecordRequest, @@ -65,11 +67,13 @@ export const GetDomainVerificationRecordResponseBody$inboundSchema: z.ZodType< GetDomainVerificationRecordResponseBody, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), - txtRecord: types.string(), - verificationDomain: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + txtRecord: types.string(), + verificationDomain: types.string(), + }) +); export function getDomainVerificationRecordResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdrainop.ts b/src/models/getdrainop.ts index 677051d8f8..4a8afda280 100644 --- a/src/models/getdrainop.ts +++ b/src/models/getdrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -401,12 +401,14 @@ export const GetDrainRequest$outboundSchema: z.ZodType< GetDrainRequest$Outbound, z.ZodTypeDef, GetDrainRequest -> = z.object({ - id: z.string(), - includeDeliveryStats: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + includeDeliveryStats: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDrainRequestToJSON( getDrainRequest: GetDrainRequest, @@ -417,17 +419,19 @@ export function getDrainRequestToJSON( /** @internal */ export const DeliveryTarget$inboundSchema: z.ZodNativeEnum< typeof DeliveryTarget -> = z.nativeEnum(DeliveryTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryTarget)); /** @internal */ export const Delivery5$inboundSchema: z.ZodType< Delivery5, z.ZodTypeDef, unknown -> = z.object({ - target: DeliveryTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: DeliveryTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function delivery5FromJSON( jsonString: string, @@ -442,49 +446,57 @@ export function delivery5FromJSON( /** @internal */ export const GetDrainDeliveryDrainsCompression$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryDrainsCompression -> = z.nativeEnum(GetDrainDeliveryDrainsCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryDrainsCompression) +); /** @internal */ export const GetDrainDeliveryDrainsResponseEncoding$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainDeliveryDrainsResponseEncoding, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryDrainsResponseEncoding) + ); /** @internal */ export const GetDrainDeliveryFileStructure$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryFileStructure -> = z.nativeEnum(GetDrainDeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryFileStructure) +); /** @internal */ export const GetDrainDeliveryObjectAcl$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryObjectAcl -> = z.nativeEnum(GetDrainDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainDeliveryObjectAcl)); /** @internal */ export const GetDrainDeliveryServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainDeliveryServerSideEncryption, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryServerSideEncryption) + ); /** @internal */ export const Delivery4$inboundSchema: z.ZodType< Delivery4, z.ZodTypeDef, unknown -> = z.object({ - compression: GetDrainDeliveryDrainsCompression$inboundSchema, - encoding: GetDrainDeliveryDrainsResponseEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: GetDrainDeliveryFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(GetDrainDeliveryObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - GetDrainDeliveryServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: GetDrainDeliveryDrainsCompression$inboundSchema, + encoding: GetDrainDeliveryDrainsResponseEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: GetDrainDeliveryFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(GetDrainDeliveryObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + GetDrainDeliveryServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function delivery4FromJSON( jsonString: string, @@ -501,11 +513,13 @@ export const GetDrainDelivery3$inboundSchema: z.ZodType< GetDrainDelivery3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function getDrainDelivery3FromJSON( jsonString: string, @@ -520,16 +534,20 @@ export function getDrainDelivery3FromJSON( /** @internal */ export const GetDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryDrainsEncoding -> = z.nativeEnum(GetDrainDeliveryDrainsEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryDrainsEncoding) +); /** @internal */ export const GetDrainDeliveryEndpoint$inboundSchema: z.ZodType< GetDrainDeliveryEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function getDrainDeliveryEndpointFromJSON( jsonString: string, @@ -544,16 +562,18 @@ export function getDrainDeliveryEndpointFromJSON( /** @internal */ export const GetDrainSecretKind$inboundSchema: z.ZodNativeEnum< typeof GetDrainSecretKind -> = z.nativeEnum(GetDrainSecretKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainSecretKind)); /** @internal */ export const GetDrainSecret2$inboundSchema: z.ZodType< GetDrainSecret2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDrainSecretKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDrainSecretKind$inboundSchema, + }) +); export function getDrainSecret2FromJSON( jsonString: string, @@ -570,7 +590,9 @@ export const DeliverySecret$inboundSchema: z.ZodType< DeliverySecret, z.ZodTypeDef, unknown -> = smartUnion([z.lazy(() => GetDrainSecret2$inboundSchema), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => GetDrainSecret2$inboundSchema), types.string()]) +); export function deliverySecretFromJSON( jsonString: string, @@ -587,15 +609,17 @@ export const GetDrainDelivery2$inboundSchema: z.ZodType< GetDrainDelivery2, z.ZodTypeDef, unknown -> = z.object({ - encoding: GetDrainDeliveryDrainsEncoding$inboundSchema, - endpoint: z.lazy(() => GetDrainDeliveryEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([z.lazy(() => GetDrainSecret2$inboundSchema), types.string()]), - ), - type: types.literal("otlphttp"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: GetDrainDeliveryDrainsEncoding$inboundSchema, + endpoint: z.lazy(() => GetDrainDeliveryEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional( + smartUnion([z.lazy(() => GetDrainSecret2$inboundSchema), types.string()]), + ), + type: types.literal("otlphttp"), + }) +); export function getDrainDelivery2FromJSON( jsonString: string, @@ -610,22 +634,26 @@ export function getDrainDelivery2FromJSON( /** @internal */ export const GetDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryCompression -> = z.nativeEnum(GetDrainDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainDeliveryCompression) +); /** @internal */ export const GetDrainDeliveryEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainDeliveryEncoding -> = z.nativeEnum(GetDrainDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainDeliveryEncoding)); /** @internal */ -export const SecretKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SecretKind); +export const SecretKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SecretKind)); /** @internal */ export const Secret2$inboundSchema: z.ZodType = - z.object({ - kind: SecretKind$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: SecretKind$inboundSchema, + }) + ); export function secret2FromJSON( jsonString: string, @@ -639,7 +667,9 @@ export function secret2FromJSON( /** @internal */ export const Secret$inboundSchema: z.ZodType = - smartUnion([z.lazy(() => Secret2$inboundSchema), types.string()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Secret2$inboundSchema), types.string()]) + ); export function secretFromJSON( jsonString: string, @@ -656,16 +686,18 @@ export const GetDrainDelivery1$inboundSchema: z.ZodType< GetDrainDelivery1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional(GetDrainDeliveryCompression$inboundSchema), - encoding: GetDrainDeliveryEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([z.lazy(() => Secret2$inboundSchema), types.string()]), - ), - type: types.literal("http"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional(GetDrainDeliveryCompression$inboundSchema), + encoding: GetDrainDeliveryEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional( + smartUnion([z.lazy(() => Secret2$inboundSchema), types.string()]), + ), + type: types.literal("http"), + }) +); export function getDrainDelivery1FromJSON( jsonString: string, @@ -682,13 +714,15 @@ export const GetDrainDelivery$inboundSchema: z.ZodType< GetDrainDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainDelivery1$inboundSchema), - z.lazy(() => GetDrainDelivery2$inboundSchema), - z.lazy(() => GetDrainDelivery3$inboundSchema), - z.lazy(() => Delivery4$inboundSchema), - z.lazy(() => Delivery5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainDelivery1$inboundSchema), + z.lazy(() => GetDrainDelivery2$inboundSchema), + z.lazy(() => GetDrainDelivery3$inboundSchema), + z.lazy(() => Delivery4$inboundSchema), + z.lazy(() => Delivery5$inboundSchema), + ]) +); export function getDrainDeliveryFromJSON( jsonString: string, @@ -703,27 +737,29 @@ export function getDrainDeliveryFromJSON( /** @internal */ export const DisabledReason$inboundSchema: z.ZodNativeEnum< typeof DisabledReason -> = z.nativeEnum(DisabledReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DisabledReason)); /** @internal */ -export const GetDrainEnv$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GetDrainEnv); +export const GetDrainEnv$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainEnv)); /** @internal */ export const GetDrainType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetDrainType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainType)); /** @internal */ export const GetDrainSampling$inboundSchema: z.ZodType< GetDrainSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(GetDrainEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: GetDrainType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(GetDrainEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: GetDrainType$inboundSchema, + }) +); export function getDrainSamplingFromJSON( jsonString: string, @@ -740,7 +776,7 @@ export const AiGateway$inboundSchema: z.ZodType< AiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function aiGatewayFromJSON( jsonString: string, @@ -757,7 +793,7 @@ export const GetDrainAnalytics$inboundSchema: z.ZodType< GetDrainAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainAnalyticsFromJSON( jsonString: string, @@ -774,7 +810,7 @@ export const AuditLog$inboundSchema: z.ZodType< AuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function auditLogFromJSON( jsonString: string, @@ -791,7 +827,7 @@ export const GetDrainConnect$inboundSchema: z.ZodType< GetDrainConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainConnectFromJSON( jsonString: string, @@ -808,7 +844,7 @@ export const GetDrainLog$inboundSchema: z.ZodType< GetDrainLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainLogFromJSON( jsonString: string, @@ -825,7 +861,7 @@ export const GetDrainSpeedInsights$inboundSchema: z.ZodType< GetDrainSpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainSpeedInsightsFromJSON( jsonString: string, @@ -842,7 +878,7 @@ export const GetDrainTrace$inboundSchema: z.ZodType< GetDrainTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainTraceFromJSON( jsonString: string, @@ -859,23 +895,25 @@ export const GetDrainSchemas$inboundSchema: z.ZodType< GetDrainSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional(z.lazy(() => AiGateway$inboundSchema)), - analytics: types.optional(z.lazy(() => GetDrainAnalytics$inboundSchema)), - audit_log: types.optional(z.lazy(() => AuditLog$inboundSchema)), - connect: types.optional(z.lazy(() => GetDrainConnect$inboundSchema)), - log: types.optional(z.lazy(() => GetDrainLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => GetDrainSpeedInsights$inboundSchema), - ), - trace: types.optional(z.lazy(() => GetDrainTrace$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional(z.lazy(() => AiGateway$inboundSchema)), + analytics: types.optional(z.lazy(() => GetDrainAnalytics$inboundSchema)), + audit_log: types.optional(z.lazy(() => AuditLog$inboundSchema)), + connect: types.optional(z.lazy(() => GetDrainConnect$inboundSchema)), + log: types.optional(z.lazy(() => GetDrainLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => GetDrainSpeedInsights$inboundSchema), + ), + trace: types.optional(z.lazy(() => GetDrainTrace$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function getDrainSchemasFromJSON( jsonString: string, @@ -892,13 +930,15 @@ export const GetDrainSource2$inboundSchema: z.ZodType< GetDrainSource2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getDrainSource2FromJSON( jsonString: string, @@ -911,18 +951,20 @@ export function getDrainSource2FromJSON( } /** @internal */ -export const DefaultFor$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DefaultFor); +export const DefaultFor$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DefaultFor)); /** @internal */ export const GetDrainSource1$inboundSchema: z.ZodType< GetDrainSource1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(DefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(DefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function getDrainSource1FromJSON( jsonString: string, @@ -939,10 +981,12 @@ export const GetDrainSource$inboundSchema: z.ZodType< GetDrainSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainSource1$inboundSchema), - z.lazy(() => GetDrainSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainSource1$inboundSchema), + z.lazy(() => GetDrainSource2$inboundSchema), + ]) +); export function getDrainSourceFromJSON( jsonString: string, @@ -957,31 +1001,33 @@ export function getDrainSourceFromJSON( /** @internal */ export const GetDrainStatus$inboundSchema: z.ZodNativeEnum< typeof GetDrainStatus -> = z.nativeEnum(GetDrainStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainStatus)); /** @internal */ export const GetDrainState$inboundSchema: z.ZodNativeEnum< typeof GetDrainState -> = z.nativeEnum(GetDrainState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainState)); /** @internal */ -export const Window$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Window); +export const Window$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Window)); /** @internal */ export const DeliveryStats$inboundSchema: z.ZodType< DeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: GetDrainState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: Window$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: GetDrainState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: Window$inboundSchema, + }) +); export function deliveryStatsFromJSON( jsonString: string, @@ -998,10 +1044,12 @@ export const GetDrainFilter2$inboundSchema: z.ZodType< GetDrainFilter2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function getDrainFilter2FromJSON( jsonString: string, @@ -1016,18 +1064,20 @@ export function getDrainFilter2FromJSON( /** @internal */ export const GetDrainFilterEnvironments$inboundSchema: z.ZodNativeEnum< typeof GetDrainFilterEnvironments -> = z.nativeEnum(GetDrainFilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainFilterEnvironments)); /** @internal */ export const GetDrainFilterDeployment$inboundSchema: z.ZodType< GetDrainFilterDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(GetDrainFilterEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(GetDrainFilterEnvironments$inboundSchema), + ), + }) +); export function getDrainFilterDeploymentFromJSON( jsonString: string, @@ -1042,21 +1092,24 @@ export function getDrainFilterDeploymentFromJSON( /** @internal */ export const GetDrainFilterSources$inboundSchema: z.ZodNativeEnum< typeof GetDrainFilterSources -> = z.nativeEnum(GetDrainFilterSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainFilterSources)); /** @internal */ export const GetDrainFilterLog$inboundSchema: z.ZodType< GetDrainFilterLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional(z.array(GetDrainFilterSources$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional(z.array(GetDrainFilterSources$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function getDrainFilterLogFromJSON( jsonString: string, @@ -1073,9 +1126,11 @@ export const GetDrainFilterProject$inboundSchema: z.ZodType< GetDrainFilterProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function getDrainFilterProjectFromJSON( jsonString: string, @@ -1092,14 +1147,16 @@ export const GetDrainFilter1$inboundSchema: z.ZodType< GetDrainFilter1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => GetDrainFilterDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => GetDrainFilterLog$inboundSchema)), - project: types.optional(z.lazy(() => GetDrainFilterProject$inboundSchema)), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => GetDrainFilterDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => GetDrainFilterLog$inboundSchema)), + project: types.optional(z.lazy(() => GetDrainFilterProject$inboundSchema)), + type: types.literal("basic"), + }) +); export function getDrainFilter1FromJSON( jsonString: string, @@ -1116,10 +1173,12 @@ export const GetDrainFilter$inboundSchema: z.ZodType< GetDrainFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainFilter1$inboundSchema), - z.lazy(() => GetDrainFilter2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainFilter1$inboundSchema), + z.lazy(() => GetDrainFilter2$inboundSchema), + ]) +); export function getDrainFilterFromJSON( jsonString: string, @@ -1134,20 +1193,22 @@ export function getDrainFilterFromJSON( /** @internal */ export const GetDrainVersion$inboundSchema: z.ZodNativeEnum< typeof GetDrainVersion -> = z.nativeEnum(GetDrainVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainVersion)); /** @internal */ export const FilterV2$inboundSchema: z.ZodType< FilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => GetDrainFilter1$inboundSchema), - z.lazy(() => GetDrainFilter2$inboundSchema), - ]), - version: GetDrainVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => GetDrainFilter1$inboundSchema), + z.lazy(() => GetDrainFilter2$inboundSchema), + ]), + version: GetDrainVersion$inboundSchema, + }) +); export function filterV2FromJSON( jsonString: string, @@ -1164,37 +1225,39 @@ export const GetDrainResponseBody$inboundSchema: z.ZodType< GetDrainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => GetDrainDelivery1$inboundSchema), - z.lazy(() => GetDrainDelivery2$inboundSchema), - z.lazy(() => GetDrainDelivery3$inboundSchema), - z.lazy(() => Delivery4$inboundSchema), - z.lazy(() => Delivery5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional(DisabledReason$inboundSchema), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => GetDrainSampling$inboundSchema)), - ), - schemas: z.lazy(() => GetDrainSchemas$inboundSchema), - source: z.union([ - z.lazy(() => GetDrainSource1$inboundSchema), - z.lazy(() => GetDrainSource2$inboundSchema), - ]), - status: types.optional(GetDrainStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional(z.lazy(() => DeliveryStats$inboundSchema)), - filterV2: types.optional(z.lazy(() => FilterV2$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => GetDrainDelivery1$inboundSchema), + z.lazy(() => GetDrainDelivery2$inboundSchema), + z.lazy(() => GetDrainDelivery3$inboundSchema), + z.lazy(() => Delivery4$inboundSchema), + z.lazy(() => Delivery5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional(DisabledReason$inboundSchema), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => GetDrainSampling$inboundSchema)), + ), + schemas: z.lazy(() => GetDrainSchemas$inboundSchema), + source: z.union([ + z.lazy(() => GetDrainSource1$inboundSchema), + z.lazy(() => GetDrainSource2$inboundSchema), + ]), + status: types.optional(GetDrainStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional(z.lazy(() => DeliveryStats$inboundSchema)), + filterV2: types.optional(z.lazy(() => FilterV2$inboundSchema)), + }) +); export function getDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdrainsop.ts b/src/models/getdrainsop.ts index 729692adfe..272b38939f 100644 --- a/src/models/getdrainsop.ts +++ b/src/models/getdrainsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -835,13 +835,15 @@ export const GetDrainsRequest$outboundSchema: z.ZodType< GetDrainsRequest$Outbound, z.ZodTypeDef, GetDrainsRequest -> = z.object({ - projectId: z.string().optional(), - includeMetadata: z.boolean().default(false), - includeDeliveryStats: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + includeMetadata: z.boolean().default(false), + includeDeliveryStats: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDrainsRequestToJSON( getDrainsRequest: GetDrainsRequest, @@ -854,17 +856,21 @@ export function getDrainsRequestToJSON( /** @internal */ export const GetDrainsDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsTarget -> = z.nativeEnum(GetDrainsDeliveryDrainsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsTarget) +); /** @internal */ export const GetDrainsDeliveryDrains5$inboundSchema: z.ZodType< GetDrainsDeliveryDrains5, z.ZodTypeDef, unknown -> = z.object({ - target: GetDrainsDeliveryDrainsTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetDrainsDeliveryDrainsTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function getDrainsDeliveryDrains5FromJSON( jsonString: string, @@ -878,53 +884,64 @@ export function getDrainsDeliveryDrains5FromJSON( /** @internal */ export const GetDrainsDeliveryDrainsResponse200Compression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDrainsDeliveryDrainsResponse200Compression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsResponse200Compression) + ); /** @internal */ export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding - > = z.nativeEnum( - GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + ) ); /** @internal */ export const GetDrainsDeliveryDrainsFileStructure$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainsDeliveryDrainsFileStructure, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsFileStructure) + ); /** @internal */ export const GetDrainsDeliveryDrainsObjectAcl$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsObjectAcl -> = z.nativeEnum(GetDrainsDeliveryDrainsObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsObjectAcl) +); /** @internal */ export const GetDrainsDeliveryDrainsServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDrainsDeliveryDrainsServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsServerSideEncryption) + ); /** @internal */ export const GetDrainsDeliveryDrains4$inboundSchema: z.ZodType< GetDrainsDeliveryDrains4, z.ZodTypeDef, unknown -> = z.object({ - compression: GetDrainsDeliveryDrainsResponse200Compression$inboundSchema, - encoding: - GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: GetDrainsDeliveryDrainsFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(GetDrainsDeliveryDrainsObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - GetDrainsDeliveryDrainsServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: GetDrainsDeliveryDrainsResponse200Compression$inboundSchema, + encoding: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: GetDrainsDeliveryDrainsFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(GetDrainsDeliveryDrainsObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + GetDrainsDeliveryDrainsServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function getDrainsDeliveryDrains4FromJSON( jsonString: string, @@ -941,11 +958,13 @@ export const GetDrainsDeliveryDrains3$inboundSchema: z.ZodType< GetDrainsDeliveryDrains3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function getDrainsDeliveryDrains3FromJSON( jsonString: string, @@ -961,16 +980,20 @@ export function getDrainsDeliveryDrains3FromJSON( export const GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding - > = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding) + ); /** @internal */ export const GetDrainsDeliveryDrainsEndpoint$inboundSchema: z.ZodType< GetDrainsDeliveryDrainsEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function getDrainsDeliveryDrainsEndpointFromJSON( jsonString: string, @@ -984,18 +1007,21 @@ export function getDrainsDeliveryDrainsEndpointFromJSON( /** @internal */ export const GetDrainsSecretDrainsResponse200Kind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainsSecretDrainsResponse200Kind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsSecretDrainsResponse200Kind) + ); /** @internal */ export const GetDrainsSecretDrainsResponse2002$inboundSchema: z.ZodType< GetDrainsSecretDrainsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDrainsSecretDrainsResponse200Kind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDrainsSecretDrainsResponse200Kind$inboundSchema, + }) +); export function getDrainsSecretDrainsResponse2002FromJSON( jsonString: string, @@ -1012,10 +1038,12 @@ export const GetDrainsDeliveryDrainsResponse200Secret$inboundSchema: z.ZodType< GetDrainsDeliveryDrainsResponse200Secret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDrainsSecretDrainsResponse2002$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDrainsSecretDrainsResponse2002$inboundSchema), + types.string(), + ]) +); export function getDrainsDeliveryDrainsResponse200SecretFromJSON( jsonString: string, @@ -1038,19 +1066,19 @@ export const GetDrainsDeliveryDrains2$inboundSchema: z.ZodType< GetDrainsDeliveryDrains2, z.ZodTypeDef, unknown -> = z.object({ - encoding: - GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, - endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: + GetDrainsDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetDrainsSecretDrainsResponse2002$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function getDrainsDeliveryDrains2FromJSON( jsonString: string, @@ -1064,27 +1092,35 @@ export function getDrainsDeliveryDrains2FromJSON( /** @internal */ export const GetDrainsDeliveryDrainsResponseCompression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDrainsDeliveryDrainsResponseCompression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsResponseCompression) + ); /** @internal */ export const GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDrainsDeliveryDrainsResponse200Encoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsResponse200Encoding) + ); /** @internal */ export const GetDrainsSecretDrainsResponseKind$inboundSchema: z.ZodNativeEnum< typeof GetDrainsSecretDrainsResponseKind -> = z.nativeEnum(GetDrainsSecretDrainsResponseKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsSecretDrainsResponseKind) +); /** @internal */ export const GetDrainsSecretDrainsResponse2$inboundSchema: z.ZodType< GetDrainsSecretDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDrainsSecretDrainsResponseKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDrainsSecretDrainsResponseKind$inboundSchema, + }) +); export function getDrainsSecretDrainsResponse2FromJSON( jsonString: string, @@ -1101,10 +1137,12 @@ export const GetDrainsDeliveryDrainsResponseSecret$inboundSchema: z.ZodType< GetDrainsDeliveryDrainsResponseSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDrainsSecretDrainsResponse2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDrainsSecretDrainsResponse2$inboundSchema), + types.string(), + ]) +); export function getDrainsDeliveryDrainsResponseSecretFromJSON( jsonString: string, @@ -1122,21 +1160,21 @@ export const GetDrainsDeliveryDrains1$inboundSchema: z.ZodType< GetDrainsDeliveryDrains1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional( - GetDrainsDeliveryDrainsResponseCompression$inboundSchema, - ), - encoding: GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + GetDrainsDeliveryDrainsResponseCompression$inboundSchema, + ), + encoding: GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetDrainsSecretDrainsResponse2$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function getDrainsDeliveryDrains1FromJSON( jsonString: string, @@ -1153,13 +1191,15 @@ export const GetDrainsDrainsDelivery$inboundSchema: z.ZodType< GetDrainsDrainsDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains5$inboundSchema), + ]) +); export function getDrainsDrainsDeliveryFromJSON( jsonString: string, @@ -1174,29 +1214,33 @@ export function getDrainsDrainsDeliveryFromJSON( /** @internal */ export const GetDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsDisabledReason -> = z.nativeEnum(GetDrainsDrainsDisabledReason); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDrainsDisabledReason) +); /** @internal */ export const GetDrainsDrainsEnv$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsEnv -> = z.nativeEnum(GetDrainsDrainsEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsEnv)); /** @internal */ export const GetDrainsDrainsType$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsType -> = z.nativeEnum(GetDrainsDrainsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsType)); /** @internal */ export const GetDrainsDrainsSampling$inboundSchema: z.ZodType< GetDrainsDrainsSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(GetDrainsDrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: GetDrainsDrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(GetDrainsDrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: GetDrainsDrainsType$inboundSchema, + }) +); export function getDrainsDrainsSamplingFromJSON( jsonString: string, @@ -1213,7 +1257,7 @@ export const GetDrainsDrainsAiGateway$inboundSchema: z.ZodType< GetDrainsDrainsAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsAiGatewayFromJSON( jsonString: string, @@ -1230,7 +1274,7 @@ export const GetDrainsDrainsAnalytics$inboundSchema: z.ZodType< GetDrainsDrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsAnalyticsFromJSON( jsonString: string, @@ -1247,7 +1291,7 @@ export const GetDrainsDrainsAuditLog$inboundSchema: z.ZodType< GetDrainsDrainsAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsAuditLogFromJSON( jsonString: string, @@ -1264,7 +1308,7 @@ export const GetDrainsDrainsConnect$inboundSchema: z.ZodType< GetDrainsDrainsConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsConnectFromJSON( jsonString: string, @@ -1281,7 +1325,7 @@ export const GetDrainsDrainsLog$inboundSchema: z.ZodType< GetDrainsDrainsLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsLogFromJSON( jsonString: string, @@ -1298,7 +1342,7 @@ export const GetDrainsDrainsSpeedInsights$inboundSchema: z.ZodType< GetDrainsDrainsSpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsSpeedInsightsFromJSON( jsonString: string, @@ -1315,7 +1359,7 @@ export const GetDrainsDrainsTrace$inboundSchema: z.ZodType< GetDrainsDrainsTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getDrainsDrainsTraceFromJSON( jsonString: string, @@ -1332,29 +1376,31 @@ export const GetDrainsDrainsSchemas$inboundSchema: z.ZodType< GetDrainsDrainsSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => GetDrainsDrainsAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => GetDrainsDrainsAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => GetDrainsDrainsAuditLog$inboundSchema), - ), - connect: types.optional(z.lazy(() => GetDrainsDrainsConnect$inboundSchema)), - log: types.optional(z.lazy(() => GetDrainsDrainsLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => GetDrainsDrainsSpeedInsights$inboundSchema), - ), - trace: types.optional(z.lazy(() => GetDrainsDrainsTrace$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => GetDrainsDrainsAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => GetDrainsDrainsAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => GetDrainsDrainsAuditLog$inboundSchema), + ), + connect: types.optional(z.lazy(() => GetDrainsDrainsConnect$inboundSchema)), + log: types.optional(z.lazy(() => GetDrainsDrainsLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => GetDrainsDrainsSpeedInsights$inboundSchema), + ), + trace: types.optional(z.lazy(() => GetDrainsDrainsTrace$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function getDrainsDrainsSchemasFromJSON( jsonString: string, @@ -1371,13 +1417,15 @@ export const GetDrainsSourceDrains2$inboundSchema: z.ZodType< GetDrainsSourceDrains2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getDrainsSourceDrains2FromJSON( jsonString: string, @@ -1392,17 +1440,21 @@ export function getDrainsSourceDrains2FromJSON( /** @internal */ export const GetDrainsSourceDrainsDefaultFor$inboundSchema: z.ZodNativeEnum< typeof GetDrainsSourceDrainsDefaultFor -> = z.nativeEnum(GetDrainsSourceDrainsDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsSourceDrainsDefaultFor) +); /** @internal */ export const GetDrainsSourceDrains1$inboundSchema: z.ZodType< GetDrainsSourceDrains1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(GetDrainsSourceDrainsDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(GetDrainsSourceDrainsDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function getDrainsSourceDrains1FromJSON( jsonString: string, @@ -1419,10 +1471,12 @@ export const GetDrainsDrainsSource$inboundSchema: z.ZodType< GetDrainsDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsSourceDrains1$inboundSchema), - z.lazy(() => GetDrainsSourceDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsSourceDrains1$inboundSchema), + z.lazy(() => GetDrainsSourceDrains2$inboundSchema), + ]) +); export function getDrainsDrainsSourceFromJSON( jsonString: string, @@ -1437,32 +1491,34 @@ export function getDrainsDrainsSourceFromJSON( /** @internal */ export const GetDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsStatus -> = z.nativeEnum(GetDrainsDrainsStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsStatus)); /** @internal */ export const GetDrainsDrainsState$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsState -> = z.nativeEnum(GetDrainsDrainsState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsState)); /** @internal */ export const GetDrainsDrainsWindow$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsWindow -> = z.nativeEnum(GetDrainsDrainsWindow); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsWindow)); /** @internal */ export const GetDrainsDrainsDeliveryStats$inboundSchema: z.ZodType< GetDrainsDrainsDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: GetDrainsDrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: GetDrainsDrainsWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: GetDrainsDrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: GetDrainsDrainsWindow$inboundSchema, + }) +); export function getDrainsDrainsDeliveryStatsFromJSON( jsonString: string, @@ -1479,10 +1535,12 @@ export const GetDrainsFilterDrains2$inboundSchema: z.ZodType< GetDrainsFilterDrains2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function getDrainsFilterDrains2FromJSON( jsonString: string, @@ -1497,18 +1555,22 @@ export function getDrainsFilterDrains2FromJSON( /** @internal */ export const GetDrainsFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< typeof GetDrainsFilterDrainsEnvironments -> = z.nativeEnum(GetDrainsFilterDrainsEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsFilterDrainsEnvironments) +); /** @internal */ export const GetDrainsFilterDrainsDeployment$inboundSchema: z.ZodType< GetDrainsFilterDrainsDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(GetDrainsFilterDrainsEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(GetDrainsFilterDrainsEnvironments$inboundSchema), + ), + }) +); export function getDrainsFilterDrainsDeploymentFromJSON( jsonString: string, @@ -1523,21 +1585,28 @@ export function getDrainsFilterDrainsDeploymentFromJSON( /** @internal */ export const GetDrainsFilterDrainsSources$inboundSchema: z.ZodNativeEnum< typeof GetDrainsFilterDrainsSources -> = z.nativeEnum(GetDrainsFilterDrainsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsFilterDrainsSources) +); /** @internal */ export const GetDrainsFilterDrainsLog$inboundSchema: z.ZodType< GetDrainsFilterDrainsLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional(z.array(GetDrainsFilterDrainsSources$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(GetDrainsFilterDrainsSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function getDrainsFilterDrainsLogFromJSON( jsonString: string, @@ -1554,9 +1623,11 @@ export const GetDrainsFilterDrainsProject$inboundSchema: z.ZodType< GetDrainsFilterDrainsProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function getDrainsFilterDrainsProjectFromJSON( jsonString: string, @@ -1573,16 +1644,18 @@ export const GetDrainsFilterDrains1$inboundSchema: z.ZodType< GetDrainsFilterDrains1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => GetDrainsFilterDrainsDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => GetDrainsFilterDrainsLog$inboundSchema)), - project: types.optional( - z.lazy(() => GetDrainsFilterDrainsProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => GetDrainsFilterDrainsDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => GetDrainsFilterDrainsLog$inboundSchema)), + project: types.optional( + z.lazy(() => GetDrainsFilterDrainsProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function getDrainsFilterDrains1FromJSON( jsonString: string, @@ -1599,10 +1672,12 @@ export const GetDrainsDrainsFilter$inboundSchema: z.ZodType< GetDrainsDrainsFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsFilterDrains1$inboundSchema), - z.lazy(() => GetDrainsFilterDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsFilterDrains1$inboundSchema), + z.lazy(() => GetDrainsFilterDrains2$inboundSchema), + ]) +); export function getDrainsDrainsFilterFromJSON( jsonString: string, @@ -1617,20 +1692,22 @@ export function getDrainsDrainsFilterFromJSON( /** @internal */ export const GetDrainsDrainsVersion$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDrainsVersion -> = z.nativeEnum(GetDrainsDrainsVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDrainsVersion)); /** @internal */ export const GetDrainsDrainsFilterV2$inboundSchema: z.ZodType< GetDrainsDrainsFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => GetDrainsFilterDrains1$inboundSchema), - z.lazy(() => GetDrainsFilterDrains2$inboundSchema), - ]), - version: GetDrainsDrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => GetDrainsFilterDrains1$inboundSchema), + z.lazy(() => GetDrainsFilterDrains2$inboundSchema), + ]), + version: GetDrainsDrainsVersion$inboundSchema, + }) +); export function getDrainsDrainsFilterV2FromJSON( jsonString: string, @@ -1644,20 +1721,23 @@ export function getDrainsDrainsFilterV2FromJSON( /** @internal */ export const GetDrainsProjectAccessDrainsManagedBy$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainsProjectAccessDrainsManagedBy, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsProjectAccessDrainsManagedBy) + ); /** @internal */ export const GetDrainsProjectAccess2$inboundSchema: z.ZodType< GetDrainsProjectAccess2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("some"), - projectIds: z.array(types.string()), - managedBy: GetDrainsProjectAccessDrainsManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("some"), + projectIds: z.array(types.string()), + managedBy: GetDrainsProjectAccessDrainsManagedBy$inboundSchema, + }) +); export function getDrainsProjectAccess2FromJSON( jsonString: string, @@ -1672,17 +1752,21 @@ export function getDrainsProjectAccess2FromJSON( /** @internal */ export const GetDrainsProjectAccessManagedBy$inboundSchema: z.ZodNativeEnum< typeof GetDrainsProjectAccessManagedBy -> = z.nativeEnum(GetDrainsProjectAccessManagedBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsProjectAccessManagedBy) +); /** @internal */ export const GetDrainsProjectAccess1$inboundSchema: z.ZodType< GetDrainsProjectAccess1, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("all"), - managedBy: GetDrainsProjectAccessManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("all"), + managedBy: GetDrainsProjectAccessManagedBy$inboundSchema, + }) +); export function getDrainsProjectAccess1FromJSON( jsonString: string, @@ -1699,10 +1783,12 @@ export const DrainsProjectAccess$inboundSchema: z.ZodType< DrainsProjectAccess, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsProjectAccess1$inboundSchema), - z.lazy(() => GetDrainsProjectAccess2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsProjectAccess1$inboundSchema), + z.lazy(() => GetDrainsProjectAccess2$inboundSchema), + ]) +); export function drainsProjectAccessFromJSON( jsonString: string, @@ -1716,50 +1802,54 @@ export function drainsProjectAccessFromJSON( /** @internal */ export const Drains2$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), - z.lazy(() => GetDrainsDeliveryDrains5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional(GetDrainsDrainsDisabledReason$inboundSchema), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => GetDrainsDrainsSampling$inboundSchema)), - ), - schemas: z.lazy(() => GetDrainsDrainsSchemas$inboundSchema), - source: z.union([ - z.lazy(() => GetDrainsSourceDrains1$inboundSchema), - z.lazy(() => GetDrainsSourceDrains2$inboundSchema), - ]), - status: types.optional(GetDrainsDrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => GetDrainsDrainsDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => GetDrainsDrainsFilterV2$inboundSchema), - ), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectAccess: types.optional( - z.union([ - z.lazy(() => GetDrainsProjectAccess1$inboundSchema), - z.lazy(() => GetDrainsProjectAccess2$inboundSchema), + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains5$inboundSchema), ]), - ), - }); + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + GetDrainsDrainsDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => GetDrainsDrainsSampling$inboundSchema)), + ), + schemas: z.lazy(() => GetDrainsDrainsSchemas$inboundSchema), + source: z.union([ + z.lazy(() => GetDrainsSourceDrains1$inboundSchema), + z.lazy(() => GetDrainsSourceDrains2$inboundSchema), + ]), + status: types.optional(GetDrainsDrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => GetDrainsDrainsDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => GetDrainsDrainsFilterV2$inboundSchema), + ), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectAccess: types.optional( + z.union([ + z.lazy(() => GetDrainsProjectAccess1$inboundSchema), + z.lazy(() => GetDrainsProjectAccess2$inboundSchema), + ]), + ), + }) + ); export function drains2FromJSON( jsonString: string, @@ -1774,17 +1864,19 @@ export function drains2FromJSON( /** @internal */ export const GetDrainsDeliveryTarget$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryTarget -> = z.nativeEnum(GetDrainsDeliveryTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDeliveryTarget)); /** @internal */ export const GetDrainsDelivery5$inboundSchema: z.ZodType< GetDrainsDelivery5, z.ZodTypeDef, unknown -> = z.object({ - target: GetDrainsDeliveryTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetDrainsDeliveryTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function getDrainsDelivery5FromJSON( jsonString: string, @@ -1799,48 +1891,57 @@ export function getDrainsDelivery5FromJSON( /** @internal */ export const GetDrainsDeliveryDrainsCompression$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsCompression -> = z.nativeEnum(GetDrainsDeliveryDrainsCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsCompression) +); /** @internal */ export const GetDrainsDeliveryDrainsResponseEncoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetDrainsDeliveryDrainsResponseEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsResponseEncoding) + ); /** @internal */ export const GetDrainsDeliveryFileStructure$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryFileStructure -> = z.nativeEnum(GetDrainsDeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryFileStructure) +); /** @internal */ export const GetDrainsDeliveryObjectAcl$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryObjectAcl -> = z.nativeEnum(GetDrainsDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDeliveryObjectAcl)); /** @internal */ export const GetDrainsDeliveryServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetDrainsDeliveryServerSideEncryption, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryServerSideEncryption) + ); /** @internal */ export const GetDrainsDelivery4$inboundSchema: z.ZodType< GetDrainsDelivery4, z.ZodTypeDef, unknown -> = z.object({ - compression: GetDrainsDeliveryDrainsCompression$inboundSchema, - encoding: GetDrainsDeliveryDrainsResponseEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: GetDrainsDeliveryFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(GetDrainsDeliveryObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - GetDrainsDeliveryServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: GetDrainsDeliveryDrainsCompression$inboundSchema, + encoding: GetDrainsDeliveryDrainsResponseEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: GetDrainsDeliveryFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(GetDrainsDeliveryObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + GetDrainsDeliveryServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function getDrainsDelivery4FromJSON( jsonString: string, @@ -1857,11 +1958,13 @@ export const GetDrainsDelivery3$inboundSchema: z.ZodType< GetDrainsDelivery3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function getDrainsDelivery3FromJSON( jsonString: string, @@ -1876,16 +1979,20 @@ export function getDrainsDelivery3FromJSON( /** @internal */ export const GetDrainsDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryDrainsEncoding -> = z.nativeEnum(GetDrainsDeliveryDrainsEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryDrainsEncoding) +); /** @internal */ export const GetDrainsDeliveryEndpoint$inboundSchema: z.ZodType< GetDrainsDeliveryEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function getDrainsDeliveryEndpointFromJSON( jsonString: string, @@ -1900,16 +2007,18 @@ export function getDrainsDeliveryEndpointFromJSON( /** @internal */ export const GetDrainsSecretDrainsKind$inboundSchema: z.ZodNativeEnum< typeof GetDrainsSecretDrainsKind -> = z.nativeEnum(GetDrainsSecretDrainsKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsSecretDrainsKind)); /** @internal */ export const GetDrainsSecretDrains2$inboundSchema: z.ZodType< GetDrainsSecretDrains2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDrainsSecretDrainsKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDrainsSecretDrainsKind$inboundSchema, + }) +); export function getDrainsSecretDrains2FromJSON( jsonString: string, @@ -1926,10 +2035,12 @@ export const GetDrainsDeliveryDrainsSecret$inboundSchema: z.ZodType< GetDrainsDeliveryDrainsSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetDrainsSecretDrains2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetDrainsSecretDrains2$inboundSchema), + types.string(), + ]) +); export function getDrainsDeliveryDrainsSecretFromJSON( jsonString: string, @@ -1946,18 +2057,18 @@ export const GetDrainsDelivery2$inboundSchema: z.ZodType< GetDrainsDelivery2, z.ZodTypeDef, unknown -> = z.object({ - encoding: GetDrainsDeliveryDrainsEncoding$inboundSchema, - endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: GetDrainsDeliveryDrainsEncoding$inboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => GetDrainsSecretDrains2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function getDrainsDelivery2FromJSON( jsonString: string, @@ -1972,26 +2083,30 @@ export function getDrainsDelivery2FromJSON( /** @internal */ export const GetDrainsDeliveryCompression$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryCompression -> = z.nativeEnum(GetDrainsDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsDeliveryCompression) +); /** @internal */ export const GetDrainsDeliveryEncoding$inboundSchema: z.ZodNativeEnum< typeof GetDrainsDeliveryEncoding -> = z.nativeEnum(GetDrainsDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsDeliveryEncoding)); /** @internal */ export const GetDrainsSecretKind$inboundSchema: z.ZodNativeEnum< typeof GetDrainsSecretKind -> = z.nativeEnum(GetDrainsSecretKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsSecretKind)); /** @internal */ export const GetDrainsSecret2$inboundSchema: z.ZodType< GetDrainsSecret2, z.ZodTypeDef, unknown -> = z.object({ - kind: GetDrainsSecretKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: GetDrainsSecretKind$inboundSchema, + }) +); export function getDrainsSecret2FromJSON( jsonString: string, @@ -2008,7 +2123,9 @@ export const GetDrainsDeliverySecret$inboundSchema: z.ZodType< GetDrainsDeliverySecret, z.ZodTypeDef, unknown -> = smartUnion([z.lazy(() => GetDrainsSecret2$inboundSchema), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => GetDrainsSecret2$inboundSchema), types.string()]) +); export function getDrainsDeliverySecretFromJSON( jsonString: string, @@ -2025,16 +2142,21 @@ export const GetDrainsDelivery1$inboundSchema: z.ZodType< GetDrainsDelivery1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional(GetDrainsDeliveryCompression$inboundSchema), - encoding: GetDrainsDeliveryEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([z.lazy(() => GetDrainsSecret2$inboundSchema), types.string()]), - ), - type: types.literal("http"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional(GetDrainsDeliveryCompression$inboundSchema), + encoding: GetDrainsDeliveryEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional( + smartUnion([ + z.lazy(() => GetDrainsSecret2$inboundSchema), + types.string(), + ]), + ), + type: types.literal("http"), + }) +); export function getDrainsDelivery1FromJSON( jsonString: string, @@ -2051,13 +2173,15 @@ export const DrainsDelivery$inboundSchema: z.ZodType< DrainsDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsDelivery1$inboundSchema), - z.lazy(() => GetDrainsDelivery2$inboundSchema), - z.lazy(() => GetDrainsDelivery3$inboundSchema), - z.lazy(() => GetDrainsDelivery4$inboundSchema), - z.lazy(() => GetDrainsDelivery5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsDelivery1$inboundSchema), + z.lazy(() => GetDrainsDelivery2$inboundSchema), + z.lazy(() => GetDrainsDelivery3$inboundSchema), + z.lazy(() => GetDrainsDelivery4$inboundSchema), + z.lazy(() => GetDrainsDelivery5$inboundSchema), + ]) +); export function drainsDeliveryFromJSON( jsonString: string, @@ -2072,27 +2196,29 @@ export function drainsDeliveryFromJSON( /** @internal */ export const DrainsDisabledReason$inboundSchema: z.ZodNativeEnum< typeof DrainsDisabledReason -> = z.nativeEnum(DrainsDisabledReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsDisabledReason)); /** @internal */ -export const DrainsEnv$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DrainsEnv); +export const DrainsEnv$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsEnv)); /** @internal */ -export const DrainsType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DrainsType); +export const DrainsType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsType)); /** @internal */ export const DrainsSampling$inboundSchema: z.ZodType< DrainsSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(DrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: DrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(DrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: DrainsType$inboundSchema, + }) +); export function drainsSamplingFromJSON( jsonString: string, @@ -2109,7 +2235,7 @@ export const DrainsAiGateway$inboundSchema: z.ZodType< DrainsAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsAiGatewayFromJSON( jsonString: string, @@ -2126,7 +2252,7 @@ export const DrainsAnalytics$inboundSchema: z.ZodType< DrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsAnalyticsFromJSON( jsonString: string, @@ -2143,7 +2269,7 @@ export const DrainsAuditLog$inboundSchema: z.ZodType< DrainsAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsAuditLogFromJSON( jsonString: string, @@ -2160,7 +2286,7 @@ export const DrainsConnect$inboundSchema: z.ZodType< DrainsConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsConnectFromJSON( jsonString: string, @@ -2177,7 +2303,7 @@ export const DrainsLog$inboundSchema: z.ZodType< DrainsLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsLogFromJSON( jsonString: string, @@ -2194,7 +2320,7 @@ export const DrainsSpeedInsights$inboundSchema: z.ZodType< DrainsSpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsSpeedInsightsFromJSON( jsonString: string, @@ -2211,7 +2337,7 @@ export const DrainsTrace$inboundSchema: z.ZodType< DrainsTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function drainsTraceFromJSON( jsonString: string, @@ -2228,23 +2354,25 @@ export const DrainsSchemas$inboundSchema: z.ZodType< DrainsSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional(z.lazy(() => DrainsAiGateway$inboundSchema)), - analytics: types.optional(z.lazy(() => DrainsAnalytics$inboundSchema)), - audit_log: types.optional(z.lazy(() => DrainsAuditLog$inboundSchema)), - connect: types.optional(z.lazy(() => DrainsConnect$inboundSchema)), - log: types.optional(z.lazy(() => DrainsLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => DrainsSpeedInsights$inboundSchema), - ), - trace: types.optional(z.lazy(() => DrainsTrace$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional(z.lazy(() => DrainsAiGateway$inboundSchema)), + analytics: types.optional(z.lazy(() => DrainsAnalytics$inboundSchema)), + audit_log: types.optional(z.lazy(() => DrainsAuditLog$inboundSchema)), + connect: types.optional(z.lazy(() => DrainsConnect$inboundSchema)), + log: types.optional(z.lazy(() => DrainsLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => DrainsSpeedInsights$inboundSchema), + ), + trace: types.optional(z.lazy(() => DrainsTrace$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function drainsSchemasFromJSON( jsonString: string, @@ -2261,13 +2389,15 @@ export const GetDrainsSource2$inboundSchema: z.ZodType< GetDrainsSource2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getDrainsSource2FromJSON( jsonString: string, @@ -2282,17 +2412,19 @@ export function getDrainsSource2FromJSON( /** @internal */ export const GetDrainsSourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof GetDrainsSourceDefaultFor -> = z.nativeEnum(GetDrainsSourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsSourceDefaultFor)); /** @internal */ export const GetDrainsSource1$inboundSchema: z.ZodType< GetDrainsSource1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(GetDrainsSourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(GetDrainsSourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function getDrainsSource1FromJSON( jsonString: string, @@ -2309,10 +2441,12 @@ export const DrainsSource$inboundSchema: z.ZodType< DrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsSource1$inboundSchema), - z.lazy(() => GetDrainsSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsSource1$inboundSchema), + z.lazy(() => GetDrainsSource2$inboundSchema), + ]) +); export function drainsSourceFromJSON( jsonString: string, @@ -2326,30 +2460,32 @@ export function drainsSourceFromJSON( /** @internal */ export const DrainsStatus$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DrainsStatus); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsStatus)); /** @internal */ -export const DrainsState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DrainsState); +export const DrainsState$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsState)); /** @internal */ export const DrainsWindow$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(DrainsWindow); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsWindow)); /** @internal */ export const DrainsDeliveryStats$inboundSchema: z.ZodType< DrainsDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: DrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: DrainsWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: DrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: DrainsWindow$inboundSchema, + }) +); export function drainsDeliveryStatsFromJSON( jsonString: string, @@ -2366,10 +2502,12 @@ export const GetDrainsFilter2$inboundSchema: z.ZodType< GetDrainsFilter2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function getDrainsFilter2FromJSON( jsonString: string, @@ -2384,18 +2522,22 @@ export function getDrainsFilter2FromJSON( /** @internal */ export const GetDrainsFilterEnvironments$inboundSchema: z.ZodNativeEnum< typeof GetDrainsFilterEnvironments -> = z.nativeEnum(GetDrainsFilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetDrainsFilterEnvironments) +); /** @internal */ export const GetDrainsFilterDeployment$inboundSchema: z.ZodType< GetDrainsFilterDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(GetDrainsFilterEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(GetDrainsFilterEnvironments$inboundSchema), + ), + }) +); export function getDrainsFilterDeploymentFromJSON( jsonString: string, @@ -2410,21 +2552,24 @@ export function getDrainsFilterDeploymentFromJSON( /** @internal */ export const GetDrainsFilterSources$inboundSchema: z.ZodNativeEnum< typeof GetDrainsFilterSources -> = z.nativeEnum(GetDrainsFilterSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetDrainsFilterSources)); /** @internal */ export const GetDrainsFilterLog$inboundSchema: z.ZodType< GetDrainsFilterLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional(z.array(GetDrainsFilterSources$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional(z.array(GetDrainsFilterSources$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function getDrainsFilterLogFromJSON( jsonString: string, @@ -2441,9 +2586,11 @@ export const GetDrainsFilterProject$inboundSchema: z.ZodType< GetDrainsFilterProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function getDrainsFilterProjectFromJSON( jsonString: string, @@ -2460,14 +2607,16 @@ export const GetDrainsFilter1$inboundSchema: z.ZodType< GetDrainsFilter1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => GetDrainsFilterDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => GetDrainsFilterLog$inboundSchema)), - project: types.optional(z.lazy(() => GetDrainsFilterProject$inboundSchema)), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => GetDrainsFilterDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => GetDrainsFilterLog$inboundSchema)), + project: types.optional(z.lazy(() => GetDrainsFilterProject$inboundSchema)), + type: types.literal("basic"), + }) +); export function getDrainsFilter1FromJSON( jsonString: string, @@ -2484,10 +2633,12 @@ export const DrainsFilter$inboundSchema: z.ZodType< DrainsFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetDrainsFilter1$inboundSchema), - z.lazy(() => GetDrainsFilter2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetDrainsFilter1$inboundSchema), + z.lazy(() => GetDrainsFilter2$inboundSchema), + ]) +); export function drainsFilterFromJSON( jsonString: string, @@ -2502,20 +2653,22 @@ export function drainsFilterFromJSON( /** @internal */ export const DrainsVersion$inboundSchema: z.ZodNativeEnum< typeof DrainsVersion -> = z.nativeEnum(DrainsVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DrainsVersion)); /** @internal */ export const DrainsFilterV2$inboundSchema: z.ZodType< DrainsFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => GetDrainsFilter1$inboundSchema), - z.lazy(() => GetDrainsFilter2$inboundSchema), - ]), - version: DrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => GetDrainsFilter1$inboundSchema), + z.lazy(() => GetDrainsFilter2$inboundSchema), + ]), + version: DrainsVersion$inboundSchema, + }) +); export function drainsFilterV2FromJSON( jsonString: string, @@ -2529,39 +2682,41 @@ export function drainsFilterV2FromJSON( /** @internal */ export const Drains1$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => GetDrainsDelivery1$inboundSchema), - z.lazy(() => GetDrainsDelivery2$inboundSchema), - z.lazy(() => GetDrainsDelivery3$inboundSchema), - z.lazy(() => GetDrainsDelivery4$inboundSchema), - z.lazy(() => GetDrainsDelivery5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional(DrainsDisabledReason$inboundSchema), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => DrainsSampling$inboundSchema)), - ), - schemas: z.lazy(() => DrainsSchemas$inboundSchema), - source: z.union([ - z.lazy(() => GetDrainsSource1$inboundSchema), - z.lazy(() => GetDrainsSource2$inboundSchema), - ]), - status: types.optional(DrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => DrainsDeliveryStats$inboundSchema), - ), - filterV2: types.optional(z.lazy(() => DrainsFilterV2$inboundSchema)), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => GetDrainsDelivery1$inboundSchema), + z.lazy(() => GetDrainsDelivery2$inboundSchema), + z.lazy(() => GetDrainsDelivery3$inboundSchema), + z.lazy(() => GetDrainsDelivery4$inboundSchema), + z.lazy(() => GetDrainsDelivery5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional(DrainsDisabledReason$inboundSchema), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => DrainsSampling$inboundSchema)), + ), + schemas: z.lazy(() => DrainsSchemas$inboundSchema), + source: z.union([ + z.lazy(() => GetDrainsSource1$inboundSchema), + z.lazy(() => GetDrainsSource2$inboundSchema), + ]), + status: types.optional(DrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => DrainsDeliveryStats$inboundSchema), + ), + filterV2: types.optional(z.lazy(() => DrainsFilterV2$inboundSchema)), + }) + ); export function drains1FromJSON( jsonString: string, @@ -2575,10 +2730,12 @@ export function drains1FromJSON( /** @internal */ export const Drains$inboundSchema: z.ZodType = - smartUnion([ - z.array(z.lazy(() => Drains1$inboundSchema)), - z.array(z.lazy(() => Drains2$inboundSchema)), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => Drains1$inboundSchema)), + z.array(z.lazy(() => Drains2$inboundSchema)), + ]) + ); export function drainsFromJSON( jsonString: string, @@ -2595,12 +2752,14 @@ export const GetDrainsResponseBody$inboundSchema: z.ZodType< GetDrainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drains: smartUnion([ - z.array(z.lazy(() => Drains1$inboundSchema)), - z.array(z.lazy(() => Drains2$inboundSchema)), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drains: smartUnion([ + z.array(z.lazy(() => Drains1$inboundSchema)), + z.array(z.lazy(() => Drains2$inboundSchema)), + ]), + }) +); export function getDrainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdriveop.ts b/src/models/getdriveop.ts index 2387bb24c0..06c3a91d5c 100644 --- a/src/models/getdriveop.ts +++ b/src/models/getdriveop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,12 +51,18 @@ export const GetDriveRequest$outboundSchema: z.ZodType< GetDriveRequest$Outbound, z.ZodTypeDef, GetDriveRequest -> = z.object({ - nameOrId: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nameOrId: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDriveRequestToJSON( getDriveRequest: GetDriveRequest, @@ -65,9 +75,11 @@ export const GetDriveResponseBody$inboundSchema: z.ZodType< GetDriveResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getDriveResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getdrivev1op.ts b/src/models/getdrivev1op.ts index 6541783fb7..ed79e2495a 100644 --- a/src/models/getdrivev1op.ts +++ b/src/models/getdrivev1op.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive, Drive$inboundSchema } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -47,12 +51,18 @@ export const GetDriveV1Request$outboundSchema: z.ZodType< GetDriveV1Request$Outbound, z.ZodTypeDef, GetDriveV1Request -> = z.object({ - nameOrId: z.string(), - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nameOrId: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getDriveV1RequestToJSON( getDriveV1Request: GetDriveV1Request, @@ -67,9 +77,11 @@ export const GetDriveV1ResponseBody$inboundSchema: z.ZodType< GetDriveV1ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getDriveV1ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigbackupop.ts b/src/models/getedgeconfigbackupop.ts index 992eb29a89..7233cd82f5 100644 --- a/src/models/getedgeconfigbackupop.ts +++ b/src/models/getedgeconfigbackupop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -132,12 +132,14 @@ export const GetEdgeConfigBackupRequest$outboundSchema: z.ZodType< GetEdgeConfigBackupRequest$Outbound, z.ZodTypeDef, GetEdgeConfigBackupRequest -> = z.object({ - edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + edgeConfigBackupVersionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigBackupRequestToJSON( getEdgeConfigBackupRequest: GetEdgeConfigBackupRequest, @@ -152,12 +154,14 @@ export const GetEdgeConfigBackupResponseBodyItems$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBodyItems, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.optional(types.string()), - updatedAt: types.number(), - value: types.nullable(GlobalConfigItemValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.optional(types.string()), + updatedAt: types.number(), + value: types.nullable(GlobalConfigItemValue$inboundSchema), + }) +); export function getEdgeConfigBackupResponseBodyItemsFromJSON( jsonString: string, @@ -175,14 +179,16 @@ export const ResponseBodyBackup$inboundSchema: z.ZodType< ResponseBodyBackup, z.ZodTypeDef, unknown -> = z.object({ - digest: types.string(), - items: z.record( - z.lazy(() => GetEdgeConfigBackupResponseBodyItems$inboundSchema), - ), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + items: z.record( + z.lazy(() => GetEdgeConfigBackupResponseBodyItems$inboundSchema), + ), + slug: types.string(), + updatedAt: types.number(), + }) +); export function responseBodyBackupFromJSON( jsonString: string, @@ -199,12 +205,14 @@ export const ResponseBodyMetadata$inboundSchema: z.ZodType< ResponseBodyMetadata, z.ZodTypeDef, unknown -> = z.object({ - itemsBytes: types.optional(types.number()), - itemsCount: types.optional(types.number()), - updatedAt: types.optional(types.string()), - updatedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + itemsBytes: types.optional(types.number()), + itemsCount: types.optional(types.number()), + updatedAt: types.optional(types.string()), + updatedBy: types.optional(types.string()), + }) +); export function responseBodyMetadataFromJSON( jsonString: string, @@ -221,13 +229,15 @@ export const ResponseBodyUser$inboundSchema: z.ZodType< ResponseBodyUser, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - email: types.string(), - id: types.string(), - name: types.optional(types.string()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + email: types.string(), + id: types.string(), + name: types.optional(types.string()), + username: types.string(), + }) +); export function responseBodyUserFromJSON( jsonString: string, @@ -244,13 +254,15 @@ export const GetEdgeConfigBackupResponseBody2$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - backup: z.lazy(() => ResponseBodyBackup$inboundSchema), - id: types.string(), - lastModified: types.number(), - metadata: z.lazy(() => ResponseBodyMetadata$inboundSchema), - user: z.lazy(() => ResponseBodyUser$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + backup: z.lazy(() => ResponseBodyBackup$inboundSchema), + id: types.string(), + lastModified: types.number(), + metadata: z.lazy(() => ResponseBodyMetadata$inboundSchema), + user: z.lazy(() => ResponseBodyUser$inboundSchema), + }) +); export function getEdgeConfigBackupResponseBody2FromJSON( jsonString: string, @@ -267,12 +279,14 @@ export const ResponseBodyItems$inboundSchema: z.ZodType< ResponseBodyItems, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.optional(types.string()), - updatedAt: types.number(), - value: types.nullable(GlobalConfigItemValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.optional(types.string()), + updatedAt: types.number(), + value: types.nullable(GlobalConfigItemValue$inboundSchema), + }) +); export function responseBodyItemsFromJSON( jsonString: string, @@ -285,13 +299,15 @@ export function responseBodyItemsFromJSON( } /** @internal */ -export const Backup$inboundSchema: z.ZodType = z - .object({ - digest: types.string(), - items: z.record(z.lazy(() => ResponseBodyItems$inboundSchema)), - slug: types.string(), - updatedAt: types.number(), - }); +export const Backup$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + items: z.record(z.lazy(() => ResponseBodyItems$inboundSchema)), + slug: types.string(), + updatedAt: types.number(), + }) + ); export function backupFromJSON( jsonString: string, @@ -308,12 +324,14 @@ export const GetEdgeConfigBackupResponseBodyMetadata$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBodyMetadata, z.ZodTypeDef, unknown -> = z.object({ - itemsBytes: types.optional(types.number()), - itemsCount: types.optional(types.number()), - updatedAt: types.optional(types.string()), - updatedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + itemsBytes: types.optional(types.number()), + itemsCount: types.optional(types.number()), + updatedAt: types.optional(types.string()), + updatedBy: types.optional(types.string()), + }) +); export function getEdgeConfigBackupResponseBodyMetadataFromJSON( jsonString: string, @@ -336,13 +354,15 @@ export const GetEdgeConfigBackupResponseBodyUser$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBodyUser, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - email: types.string(), - id: types.string(), - name: types.optional(types.string()), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + email: types.string(), + id: types.string(), + name: types.optional(types.string()), + username: types.string(), + }) +); export function getEdgeConfigBackupResponseBodyUserFromJSON( jsonString: string, @@ -360,15 +380,19 @@ export const GetEdgeConfigBackupResponseBody1$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - backup: z.lazy(() => Backup$inboundSchema), - id: types.string(), - lastModified: types.number(), - metadata: z.lazy(() => GetEdgeConfigBackupResponseBodyMetadata$inboundSchema), - user: types.optional( - z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + backup: z.lazy(() => Backup$inboundSchema), + id: types.string(), + lastModified: types.number(), + metadata: z.lazy(() => + GetEdgeConfigBackupResponseBodyMetadata$inboundSchema + ), + user: types.optional( + z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema), + ), + }) +); export function getEdgeConfigBackupResponseBody1FromJSON( jsonString: string, @@ -385,10 +409,12 @@ export const GetEdgeConfigBackupResponseBody$inboundSchema: z.ZodType< GetEdgeConfigBackupResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetEdgeConfigBackupResponseBody2$inboundSchema), - z.lazy(() => GetEdgeConfigBackupResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetEdgeConfigBackupResponseBody2$inboundSchema), + z.lazy(() => GetEdgeConfigBackupResponseBody1$inboundSchema), + ]) +); export function getEdgeConfigBackupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigbackupsop.ts b/src/models/getedgeconfigbackupsop.ts index 4f077d047f..21d3586e89 100644 --- a/src/models/getedgeconfigbackupsop.ts +++ b/src/models/getedgeconfigbackupsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -61,14 +61,16 @@ export const GetEdgeConfigBackupsRequest$outboundSchema: z.ZodType< GetEdgeConfigBackupsRequest$Outbound, z.ZodTypeDef, GetEdgeConfigBackupsRequest -> = z.object({ - edgeConfigId: z.string(), - next: z.string().optional(), - limit: z.number().optional(), - metadata: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + next: z.string().optional(), + limit: z.number().optional(), + metadata: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigBackupsRequestToJSON( getEdgeConfigBackupsRequest: GetEdgeConfigBackupsRequest, @@ -85,12 +87,14 @@ export const GetEdgeConfigBackupsMetadata$inboundSchema: z.ZodType< GetEdgeConfigBackupsMetadata, z.ZodTypeDef, unknown -> = z.object({ - itemsBytes: types.optional(types.number()), - itemsCount: types.optional(types.number()), - updatedAt: types.optional(types.string()), - updatedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + itemsBytes: types.optional(types.number()), + itemsCount: types.optional(types.number()), + updatedAt: types.optional(types.string()), + updatedBy: types.optional(types.string()), + }) +); export function getEdgeConfigBackupsMetadataFromJSON( jsonString: string, @@ -104,13 +108,15 @@ export function getEdgeConfigBackupsMetadataFromJSON( /** @internal */ export const Backups$inboundSchema: z.ZodType = - z.object({ - metadata: types.optional( - z.lazy(() => GetEdgeConfigBackupsMetadata$inboundSchema), - ), - id: types.string(), - lastModified: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + metadata: types.optional( + z.lazy(() => GetEdgeConfigBackupsMetadata$inboundSchema), + ), + id: types.string(), + lastModified: types.number(), + }) + ); export function backupsFromJSON( jsonString: string, @@ -127,10 +133,12 @@ export const GetEdgeConfigBackupsPagination$inboundSchema: z.ZodType< GetEdgeConfigBackupsPagination, z.ZodTypeDef, unknown -> = z.object({ - hasNext: types.boolean(), - next: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hasNext: types.boolean(), + next: types.optional(types.string()), + }) +); export function getEdgeConfigBackupsPaginationFromJSON( jsonString: string, @@ -147,10 +155,12 @@ export const GetEdgeConfigBackupsResponseBody$inboundSchema: z.ZodType< GetEdgeConfigBackupsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - backups: z.array(z.lazy(() => Backups$inboundSchema)), - pagination: z.lazy(() => GetEdgeConfigBackupsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + backups: z.array(z.lazy(() => Backups$inboundSchema)), + pagination: z.lazy(() => GetEdgeConfigBackupsPagination$inboundSchema), + }) +); export function getEdgeConfigBackupsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigitemop.ts b/src/models/getedgeconfigitemop.ts index 1622d1ae70..417c1f7a97 100644 --- a/src/models/getedgeconfigitemop.ts +++ b/src/models/getedgeconfigitemop.ts @@ -3,6 +3,8 @@ */ import * as z from "zod/v3"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetEdgeConfigItemRequest = { edgeConfigId: string; @@ -30,12 +32,16 @@ export const GetEdgeConfigItemRequest$outboundSchema: z.ZodType< GetEdgeConfigItemRequest$Outbound, z.ZodTypeDef, GetEdgeConfigItemRequest -> = z.object({ - edgeConfigId: z.string(), - edgeConfigItemKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + edgeConfigItemKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigItemRequestToJSON( getEdgeConfigItemRequest: GetEdgeConfigItemRequest, diff --git a/src/models/getedgeconfigitemsop.ts b/src/models/getedgeconfigitemsop.ts index 3e6383751a..716238c104 100644 --- a/src/models/getedgeconfigitemsop.ts +++ b/src/models/getedgeconfigitemsop.ts @@ -3,6 +3,8 @@ */ import * as z from "zod/v3"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetEdgeConfigItemsRequest = { edgeConfigId: string; @@ -28,11 +30,15 @@ export const GetEdgeConfigItemsRequest$outboundSchema: z.ZodType< GetEdgeConfigItemsRequest$Outbound, z.ZodTypeDef, GetEdgeConfigItemsRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigItemsRequestToJSON( getEdgeConfigItemsRequest: GetEdgeConfigItemsRequest, diff --git a/src/models/getedgeconfigop.ts b/src/models/getedgeconfigop.ts index e76cf3182e..23861a52d0 100644 --- a/src/models/getedgeconfigop.ts +++ b/src/models/getedgeconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,11 +53,13 @@ export const GetEdgeConfigRequest$outboundSchema: z.ZodType< GetEdgeConfigRequest$Outbound, z.ZodTypeDef, GetEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigRequestToJSON( getEdgeConfigRequest: GetEdgeConfigRequest, @@ -72,17 +74,19 @@ export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType< GetEdgeConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - digest: types.string(), - id: types.string(), - itemCount: types.number(), - ownerId: types.string(), - sizeInBytes: types.number(), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + digest: types.string(), + id: types.string(), + itemCount: types.number(), + ownerId: types.string(), + sizeInBytes: types.number(), + slug: types.string(), + updatedAt: types.number(), + }) +); export function getEdgeConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigschemaop.ts b/src/models/getedgeconfigschemaop.ts index 697e4dd11b..d8b52c54c5 100644 --- a/src/models/getedgeconfigschemaop.ts +++ b/src/models/getedgeconfigschemaop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -36,11 +36,13 @@ export const GetEdgeConfigSchemaRequest$outboundSchema: z.ZodType< GetEdgeConfigSchemaRequest$Outbound, z.ZodTypeDef, GetEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigSchemaRequestToJSON( getEdgeConfigSchemaRequest: GetEdgeConfigSchemaRequest, @@ -55,7 +57,7 @@ export const GetEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< GetEdgeConfigSchemaResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getEdgeConfigSchemaResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigsop.ts b/src/models/getedgeconfigsop.ts index 322293e02d..05e7159dd7 100644 --- a/src/models/getedgeconfigsop.ts +++ b/src/models/getedgeconfigsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -51,10 +51,12 @@ export const GetEdgeConfigsRequest$outboundSchema: z.ZodType< GetEdgeConfigsRequest$Outbound, z.ZodTypeDef, GetEdgeConfigsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigsRequestToJSON( getEdgeConfigsRequest: GetEdgeConfigsRequest, @@ -69,17 +71,19 @@ export const GetEdgeConfigsResponseBody$inboundSchema: z.ZodType< GetEdgeConfigsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - digest: types.string(), - id: types.string(), - itemCount: types.number(), - ownerId: types.string(), - sizeInBytes: types.number(), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + digest: types.string(), + id: types.string(), + itemCount: types.number(), + ownerId: types.string(), + sizeInBytes: types.number(), + slug: types.string(), + updatedAt: types.number(), + }) +); export function getEdgeConfigsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getedgeconfigtokenop.ts b/src/models/getedgeconfigtokenop.ts index 78ce00dd31..5bb7e7901a 100644 --- a/src/models/getedgeconfigtokenop.ts +++ b/src/models/getedgeconfigtokenop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetEdgeConfigTokenRequest = { edgeConfigId: string; @@ -30,12 +31,14 @@ export const GetEdgeConfigTokenRequest$outboundSchema: z.ZodType< GetEdgeConfigTokenRequest$Outbound, z.ZodTypeDef, GetEdgeConfigTokenRequest -> = z.object({ - edgeConfigId: z.string(), - token: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + token: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigTokenRequestToJSON( getEdgeConfigTokenRequest: GetEdgeConfigTokenRequest, diff --git a/src/models/getedgeconfigtokensop.ts b/src/models/getedgeconfigtokensop.ts index b82618b644..020da8f755 100644 --- a/src/models/getedgeconfigtokensop.ts +++ b/src/models/getedgeconfigtokensop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetEdgeConfigTokensRequest = { edgeConfigId: string; @@ -28,11 +29,13 @@ export const GetEdgeConfigTokensRequest$outboundSchema: z.ZodType< GetEdgeConfigTokensRequest$Outbound, z.ZodTypeDef, GetEdgeConfigTokensRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getEdgeConfigTokensRequestToJSON( getEdgeConfigTokensRequest: GetEdgeConfigTokensRequest, diff --git a/src/models/getfirewallconfigop.ts b/src/models/getfirewallconfigop.ts index b9bdbc04ef..c72735f7e4 100644 --- a/src/models/getfirewallconfigop.ts +++ b/src/models/getfirewallconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1069,12 +1069,14 @@ export const GetFirewallConfigRequest$outboundSchema: z.ZodType< GetFirewallConfigRequest$Outbound, z.ZodTypeDef, GetFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - configVersion: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + configVersion: z.string(), + }) +); export function getFirewallConfigRequestToJSON( getFirewallConfigRequest: GetFirewallConfigRequest, @@ -1089,7 +1091,7 @@ export const GetFirewallConfigChanges$inboundSchema: z.ZodType< GetFirewallConfigChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getFirewallConfigChangesFromJSON( jsonString: string, @@ -1104,19 +1106,21 @@ export function getFirewallConfigChangesFromJSON( /** @internal */ export const GetFirewallConfigOp$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigOp -> = z.nativeEnum(GetFirewallConfigOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigOp)); /** @internal */ export const GetFirewallConfigType$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigType -> = z.nativeEnum(GetFirewallConfigType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigType)); /** @internal */ export const GetFirewallConfigValue$inboundSchema: z.ZodType< GetFirewallConfigValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getFirewallConfigValueFromJSON( jsonString: string, @@ -1133,15 +1137,17 @@ export const GetFirewallConfigSecurityConditions$inboundSchema: z.ZodType< GetFirewallConfigSecurityConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetFirewallConfigOp$inboundSchema, - type: GetFirewallConfigType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetFirewallConfigOp$inboundSchema, + type: GetFirewallConfigType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function getFirewallConfigSecurityConditionsFromJSON( jsonString: string, @@ -1159,11 +1165,13 @@ export const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType< GetFirewallConfigConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => GetFirewallConfigSecurityConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetFirewallConfigSecurityConditions$inboundSchema), + ), + }) +); export function getFirewallConfigConditionGroupFromJSON( jsonString: string, @@ -1180,15 +1188,17 @@ export const GetFirewallConfigConditions$inboundSchema: z.ZodType< GetFirewallConfigConditions, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetFirewallConfigConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => GetFirewallConfigConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) +); export function getFirewallConfigConditionsFromJSON( jsonString: string, @@ -1204,8 +1214,10 @@ export function getFirewallConfigConditionsFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction, + ) ); /** @internal */ @@ -1213,11 +1225,13 @@ export const GetFirewallConfigGen$inboundSchema: z.ZodType< GetFirewallConfigGen, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsGenAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigGenFromJSON( jsonString: string, @@ -1232,17 +1246,21 @@ export function getFirewallConfigGenFromJSON( /** @internal */ export const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityAction -> = z.nativeEnum(GetFirewallConfigSecurityAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigSecurityAction) +); /** @internal */ export const GetFirewallConfigJava$inboundSchema: z.ZodType< GetFirewallConfigJava, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigSecurityAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigSecurityAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigJavaFromJSON( jsonString: string, @@ -1256,18 +1274,22 @@ export function getFirewallConfigJavaFromJSON( /** @internal */ export const GetFirewallConfigSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigSecurityResponseAction) + ); /** @internal */ export const GetFirewallConfigLfi$inboundSchema: z.ZodType< GetFirewallConfigLfi, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigSecurityResponseAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigSecurityResponseAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigLfiFromJSON( jsonString: string, @@ -1281,18 +1303,22 @@ export function getFirewallConfigLfiFromJSON( /** @internal */ export const GetFirewallConfigSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigSecurityResponse200Action) + ); /** @internal */ export const GetFirewallConfigMa$inboundSchema: z.ZodType< GetFirewallConfigMa, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigSecurityResponse200Action$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigSecurityResponse200Action$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigMaFromJSON( jsonString: string, @@ -1308,18 +1334,22 @@ export function getFirewallConfigMaFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction - > = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction) + ); /** @internal */ export const GetFirewallConfigPhp$inboundSchema: z.ZodType< GetFirewallConfigPhp, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigPhpFromJSON( jsonString: string, @@ -1335,8 +1365,10 @@ export function getFirewallConfigPhpFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -1344,11 +1376,13 @@ export const GetFirewallConfigRce$inboundSchema: z.ZodType< GetFirewallConfigRce, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigRceFromJSON( jsonString: string, @@ -1364,8 +1398,10 @@ export function getFirewallConfigRceFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction, + ) ); /** @internal */ @@ -1373,11 +1409,13 @@ export const GetFirewallConfigRfi$inboundSchema: z.ZodType< GetFirewallConfigRfi, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigRfiFromJSON( jsonString: string, @@ -1393,8 +1431,10 @@ export function getFirewallConfigRfiFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, + ) ); /** @internal */ @@ -1402,11 +1442,13 @@ export const GetFirewallConfigSd$inboundSchema: z.ZodType< GetFirewallConfigSd, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigSdFromJSON( jsonString: string, @@ -1422,8 +1464,10 @@ export function getFirewallConfigSdFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, + ) ); /** @internal */ @@ -1431,11 +1475,13 @@ export const GetFirewallConfigSf$inboundSchema: z.ZodType< GetFirewallConfigSf, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigSfFromJSON( jsonString: string, @@ -1451,8 +1497,10 @@ export function getFirewallConfigSfFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, + ) ); /** @internal */ @@ -1460,11 +1508,13 @@ export const GetFirewallConfigSqli$inboundSchema: z.ZodType< GetFirewallConfigSqli, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigSqliFromJSON( jsonString: string, @@ -1480,8 +1530,10 @@ export function getFirewallConfigSqliFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, + ) ); /** @internal */ @@ -1489,11 +1541,13 @@ export const GetFirewallConfigXss$inboundSchema: z.ZodType< GetFirewallConfigXss, z.ZodTypeDef, unknown -> = z.object({ - action: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, + active: types.boolean(), + }) +); export function getFirewallConfigXssFromJSON( jsonString: string, @@ -1510,19 +1564,21 @@ export const GetFirewallConfigCrs$inboundSchema: z.ZodType< GetFirewallConfigCrs, z.ZodTypeDef, unknown -> = z.object({ - gen: z.lazy(() => GetFirewallConfigGen$inboundSchema), - java: z.lazy(() => GetFirewallConfigJava$inboundSchema), - lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema), - ma: z.lazy(() => GetFirewallConfigMa$inboundSchema), - php: z.lazy(() => GetFirewallConfigPhp$inboundSchema), - rce: z.lazy(() => GetFirewallConfigRce$inboundSchema), - rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema), - sd: z.lazy(() => GetFirewallConfigSd$inboundSchema), - sf: z.lazy(() => GetFirewallConfigSf$inboundSchema), - sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema), - xss: z.lazy(() => GetFirewallConfigXss$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => GetFirewallConfigGen$inboundSchema), + java: z.lazy(() => GetFirewallConfigJava$inboundSchema), + lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema), + ma: z.lazy(() => GetFirewallConfigMa$inboundSchema), + php: z.lazy(() => GetFirewallConfigPhp$inboundSchema), + rce: z.lazy(() => GetFirewallConfigRce$inboundSchema), + rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema), + sd: z.lazy(() => GetFirewallConfigSd$inboundSchema), + sf: z.lazy(() => GetFirewallConfigSf$inboundSchema), + sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema), + xss: z.lazy(() => GetFirewallConfigXss$inboundSchema), + }) +); export function getFirewallConfigCrsFromJSON( jsonString: string, @@ -1537,20 +1593,22 @@ export function getFirewallConfigCrsFromJSON( /** @internal */ export const GetFirewallConfigAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigAction -> = z.nativeEnum(GetFirewallConfigAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigAction)); /** @internal */ export const GetFirewallConfigIps$inboundSchema: z.ZodType< GetFirewallConfigIps, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) +); export function getFirewallConfigIpsFromJSON( jsonString: string, @@ -1563,15 +1621,17 @@ export function getFirewallConfigIpsFromJSON( } /** @internal */ -export const LogHeaders2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(LogHeaders2); +export const LogHeaders2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(LogHeaders2)); /** @internal */ export const GetFirewallConfigLogHeaders$inboundSchema: z.ZodType< GetFirewallConfigLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([z.array(types.string()), LogHeaders2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), LogHeaders2$inboundSchema]) +); export function getFirewallConfigLogHeadersFromJSON( jsonString: string, @@ -1587,21 +1647,25 @@ export function getFirewallConfigLogHeadersFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction, + ) ); /** @internal */ -export const AiBots$inboundSchema: z.ZodType = z - .object({ - action: types.optional( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); +export const AiBots$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function aiBotsFromJSON( jsonString: string, @@ -1617,8 +1681,10 @@ export function aiBotsFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -1626,15 +1692,17 @@ export const BotProtection$inboundSchema: z.ZodType< BotProtection, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function botProtectionFromJSON( jsonString: string, @@ -1650,21 +1718,25 @@ export function botProtectionFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction, + ) ); /** @internal */ -export const Owasp$inboundSchema: z.ZodType = z - .object({ - action: types.optional( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); +export const Owasp$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function owaspFromJSON( jsonString: string, @@ -1680,8 +1752,10 @@ export function owaspFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -1689,15 +1763,17 @@ export const TrafficSources$inboundSchema: z.ZodType< TrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function trafficSourcesFromJSON( jsonString: string, @@ -1713,8 +1789,10 @@ export function trafficSourcesFromJSON( export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -1722,15 +1800,17 @@ export const VercelRuleset$inboundSchema: z.ZodType< VercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function vercelRulesetFromJSON( jsonString: string, @@ -1747,20 +1827,22 @@ export const GetFirewallConfigManagedRules$inboundSchema: z.ZodType< GetFirewallConfigManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: types.optional(z.lazy(() => AiBots$inboundSchema)), - bot_protection: types.optional(z.lazy(() => BotProtection$inboundSchema)), - owasp: types.optional(z.lazy(() => Owasp$inboundSchema)), - traffic_sources: types.optional(z.lazy(() => TrafficSources$inboundSchema)), - vercel_ruleset: types.optional(z.lazy(() => VercelRuleset$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional(z.lazy(() => AiBots$inboundSchema)), + bot_protection: types.optional(z.lazy(() => BotProtection$inboundSchema)), + owasp: types.optional(z.lazy(() => Owasp$inboundSchema)), + traffic_sources: types.optional(z.lazy(() => TrafficSources$inboundSchema)), + vercel_ruleset: types.optional(z.lazy(() => VercelRuleset$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function getFirewallConfigManagedRulesFromJSON( jsonString: string, @@ -1774,25 +1856,29 @@ export function getFirewallConfigManagedRulesFromJSON( /** @internal */ export const GetFirewallConfigRulesSecurityAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetFirewallConfigRulesSecurityAction, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesSecurityAction) + ); /** @internal */ export const GetFirewallConfigLogHeadersSecurity2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetFirewallConfigLogHeadersSecurity2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigLogHeadersSecurity2) + ); /** @internal */ export const GetFirewallConfigRulesLogHeaders$inboundSchema: z.ZodType< GetFirewallConfigRulesLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurity2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurity2$inboundSchema, + ]) +); export function getFirewallConfigRulesLogHeadersFromJSON( jsonString: string, @@ -1806,28 +1892,32 @@ export function getFirewallConfigRulesLogHeadersFromJSON( /** @internal */ export const GetFirewallConfigRulesSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigRulesSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesSecurityResponse200Action) + ); /** @internal */ export const GetFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesAlgo -> = z.nativeEnum(GetFirewallConfigRulesAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigRulesAlgo)); /** @internal */ export const GetFirewallConfigRulesRateLimit$inboundSchema: z.ZodType< GetFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetFirewallConfigRulesSecurityResponse200Action$inboundSchema, - ).optional(), - algo: GetFirewallConfigRulesAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetFirewallConfigRulesSecurityResponse200Action$inboundSchema, + ).optional(), + algo: GetFirewallConfigRulesAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getFirewallConfigRulesRateLimitFromJSON( jsonString: string, @@ -1844,10 +1934,12 @@ export const GetFirewallConfigRulesRedirect$inboundSchema: z.ZodType< GetFirewallConfigRulesRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getFirewallConfigRulesRedirectFromJSON( jsonString: string, @@ -1864,23 +1956,25 @@ export const GetFirewallConfigRulesMitigate$inboundSchema: z.ZodType< GetFirewallConfigRulesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigRulesSecurityAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurity2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetFirewallConfigRulesRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetFirewallConfigRulesRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigRulesSecurityAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurity2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetFirewallConfigRulesRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetFirewallConfigRulesRedirect$inboundSchema), + ).optional(), + }) +); export function getFirewallConfigRulesMitigateFromJSON( jsonString: string, @@ -1897,11 +1991,13 @@ export const GetFirewallConfigRulesAction$inboundSchema: z.ZodType< GetFirewallConfigRulesAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => GetFirewallConfigRulesMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => GetFirewallConfigRulesMitigate$inboundSchema), + ), + }) +); export function getFirewallConfigRulesActionFromJSON( jsonString: string, @@ -1916,19 +2012,21 @@ export function getFirewallConfigRulesActionFromJSON( /** @internal */ export const GetFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesOp -> = z.nativeEnum(GetFirewallConfigRulesOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigRulesOp)); /** @internal */ export const GetFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesType -> = z.nativeEnum(GetFirewallConfigRulesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFirewallConfigRulesType)); /** @internal */ export const GetFirewallConfigRulesValue$inboundSchema: z.ZodType< GetFirewallConfigRulesValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getFirewallConfigRulesValueFromJSON( jsonString: string, @@ -1945,15 +2043,17 @@ export const GetFirewallConfigRulesConditions$inboundSchema: z.ZodType< GetFirewallConfigRulesConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetFirewallConfigRulesOp$inboundSchema, - type: GetFirewallConfigRulesType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetFirewallConfigRulesOp$inboundSchema, + type: GetFirewallConfigRulesType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function getFirewallConfigRulesConditionsFromJSON( jsonString: string, @@ -1970,11 +2070,13 @@ export const GetFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType< GetFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => GetFirewallConfigRulesConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetFirewallConfigRulesConditions$inboundSchema), + ), + }) +); export function getFirewallConfigRulesConditionGroupFromJSON( jsonString: string, @@ -1988,19 +2090,21 @@ export function getFirewallConfigRulesConditionGroupFromJSON( } /** @internal */ -export const Rules2$inboundSchema: z.ZodType = z - .object({ - action: z.lazy(() => GetFirewallConfigRulesAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetFirewallConfigRulesConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), - }); +export const Rules2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => GetFirewallConfigRulesAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => GetFirewallConfigRulesConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) + ); export function rules2FromJSON( jsonString: string, @@ -2014,23 +2118,29 @@ export function rules2FromJSON( /** @internal */ export const GetFirewallConfigRulesSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigRulesSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesSecurityResponseAction) + ); /** @internal */ export const GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigLogHeadersSecurityResponse2002); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigLogHeadersSecurityResponse2002) + ); /** @internal */ export const RulesLogHeaders$inboundSchema: z.ZodType< RulesLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]) +); export function rulesLogHeadersFromJSON( jsonString: string, @@ -2046,28 +2156,30 @@ export function rulesLogHeadersFromJSON( export const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction) ); /** @internal */ -export const RulesAlgo$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RulesAlgo); +export const RulesAlgo$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesAlgo)); /** @internal */ export const RulesRateLimit$inboundSchema: z.ZodType< RulesRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: RulesAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: RulesAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function rulesRateLimitFromJSON( jsonString: string, @@ -2084,10 +2196,12 @@ export const RulesRedirect$inboundSchema: z.ZodType< RulesRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function rulesRedirectFromJSON( jsonString: string, @@ -2104,19 +2218,22 @@ export const RulesMitigate$inboundSchema: z.ZodType< RulesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigRulesSecurityResponseAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => RulesRateLimit$inboundSchema)).optional(), - redirect: z.nullable(z.lazy(() => RulesRedirect$inboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigRulesSecurityResponseAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => RulesRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => RulesRedirect$inboundSchema)).optional(), + }) +); export function rulesMitigateFromJSON( jsonString: string, @@ -2133,9 +2250,11 @@ export const RulesAction$inboundSchema: z.ZodType< RulesAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional(z.lazy(() => RulesMitigate$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => RulesMitigate$inboundSchema)), + }) +); export function rulesActionFromJSON( jsonString: string, @@ -2148,19 +2267,21 @@ export function rulesActionFromJSON( } /** @internal */ -export const RulesOp$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RulesOp); +export const RulesOp$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesOp)); /** @internal */ -export const RulesType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RulesType); +export const RulesType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesType)); /** @internal */ export const RulesValue$inboundSchema: z.ZodType< RulesValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function rulesValueFromJSON( jsonString: string, @@ -2177,15 +2298,17 @@ export const RulesConditions$inboundSchema: z.ZodType< RulesConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: RulesOp$inboundSchema, - type: RulesType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: RulesOp$inboundSchema, + type: RulesType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function rulesConditionsFromJSON( jsonString: string, @@ -2202,9 +2325,11 @@ export const RulesConditionGroup$inboundSchema: z.ZodType< RulesConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array(z.lazy(() => RulesConditions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => RulesConditions$inboundSchema)), + }) +); export function rulesConditionGroupFromJSON( jsonString: string, @@ -2217,17 +2342,19 @@ export function rulesConditionGroupFromJSON( } /** @internal */ -export const Rules1$inboundSchema: z.ZodType = z - .object({ - action: z.lazy(() => RulesAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array(z.lazy(() => RulesConditionGroup$inboundSchema)), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), - }); +export const Rules1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => RulesAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => RulesConditionGroup$inboundSchema)), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) + ); export function rules1FromJSON( jsonString: string, @@ -2244,10 +2371,12 @@ export const GetFirewallConfigRules$inboundSchema: z.ZodType< GetFirewallConfigRules, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Rules1$inboundSchema), - z.lazy(() => Rules2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Rules1$inboundSchema), + z.lazy(() => Rules2$inboundSchema), + ]) +); export function getFirewallConfigRulesFromJSON( jsonString: string, @@ -2261,23 +2390,29 @@ export function getFirewallConfigRulesFromJSON( /** @internal */ export const GetFirewallConfigRulesetsSecurityAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigRulesetsSecurityAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsSecurityAction) + ); /** @internal */ export const GetFirewallConfigLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigLogHeaders2 -> = z.nativeEnum(GetFirewallConfigLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigLogHeaders2) +); /** @internal */ export const RulesetsLogHeaders$inboundSchema: z.ZodType< RulesetsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeaders2$inboundSchema, + ]) +); export function rulesetsLogHeadersFromJSON( jsonString: string, @@ -2291,27 +2426,31 @@ export function rulesetsLogHeadersFromJSON( /** @internal */ export const GetFirewallConfigRulesetsSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigRulesetsSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsSecurityResponseAction) + ); /** @internal */ export const RulesetsAlgo$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RulesetsAlgo); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesetsAlgo)); /** @internal */ export const RulesetsRateLimit$inboundSchema: z.ZodType< RulesetsRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetFirewallConfigRulesetsSecurityResponseAction$inboundSchema, - ).optional(), - algo: RulesetsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetFirewallConfigRulesetsSecurityResponseAction$inboundSchema, + ).optional(), + algo: RulesetsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function rulesetsRateLimitFromJSON( jsonString: string, @@ -2328,10 +2467,12 @@ export const RulesetsRedirect$inboundSchema: z.ZodType< RulesetsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function rulesetsRedirectFromJSON( jsonString: string, @@ -2348,20 +2489,23 @@ export const GetFirewallConfigRulesets2$inboundSchema: z.ZodType< GetFirewallConfigRulesets2, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigRulesetsSecurityAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeaders2$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => RulesetsRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => RulesetsRedirect$inboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigRulesetsSecurityAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeaders2$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => RulesetsRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => RulesetsRedirect$inboundSchema)) + .optional(), + }) +); export function getFirewallConfigRulesets2FromJSON( jsonString: string, @@ -2376,19 +2520,25 @@ export function getFirewallConfigRulesets2FromJSON( /** @internal */ export const GetFirewallConfigRulesetsOp$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesetsOp -> = z.nativeEnum(GetFirewallConfigRulesetsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsOp) +); /** @internal */ export const GetFirewallConfigRulesetsType$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesetsType -> = z.nativeEnum(GetFirewallConfigRulesetsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsType) +); /** @internal */ export const GetFirewallConfigRulesetsValue$inboundSchema: z.ZodType< GetFirewallConfigRulesetsValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getFirewallConfigRulesetsValueFromJSON( jsonString: string, @@ -2405,15 +2555,17 @@ export const GetFirewallConfigRulesetsConditions$inboundSchema: z.ZodType< GetFirewallConfigRulesetsConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetFirewallConfigRulesetsOp$inboundSchema, - type: GetFirewallConfigRulesetsType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetFirewallConfigRulesetsOp$inboundSchema, + type: GetFirewallConfigRulesetsType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function getFirewallConfigRulesetsConditionsFromJSON( jsonString: string, @@ -2431,11 +2583,13 @@ export const GetFirewallConfigRulesetsConditionGroup$inboundSchema: z.ZodType< GetFirewallConfigRulesetsConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => GetFirewallConfigRulesetsConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetFirewallConfigRulesetsConditions$inboundSchema), + ), + }) +); export function getFirewallConfigRulesetsConditionGroupFromJSON( jsonString: string, @@ -2455,23 +2609,29 @@ export function getFirewallConfigRulesetsConditionGroupFromJSON( /** @internal */ export const GetFirewallConfigRulesetsSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigRulesetsSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsSecurityResponse200Action) + ); /** @internal */ export const GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetFirewallConfigLogHeadersSecurityResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigLogHeadersSecurityResponse2) + ); /** @internal */ export const GetFirewallConfigRulesetsLogHeaders$inboundSchema: z.ZodType< GetFirewallConfigRulesetsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema, + ]) +); export function getFirewallConfigRulesetsLogHeadersFromJSON( jsonString: string, @@ -2488,29 +2648,35 @@ export function getFirewallConfigRulesetsLogHeadersFromJSON( export const GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ export const GetFirewallConfigRulesetsAlgo$inboundSchema: z.ZodNativeEnum< typeof GetFirewallConfigRulesetsAlgo -> = z.nativeEnum(GetFirewallConfigRulesetsAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetFirewallConfigRulesetsAlgo) +); /** @internal */ export const GetFirewallConfigRulesetsRateLimit$inboundSchema: z.ZodType< GetFirewallConfigRulesetsRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: GetFirewallConfigRulesetsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: GetFirewallConfigRulesetsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getFirewallConfigRulesetsRateLimitFromJSON( jsonString: string, @@ -2528,10 +2694,12 @@ export const GetFirewallConfigRulesetsRedirect$inboundSchema: z.ZodType< GetFirewallConfigRulesetsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getFirewallConfigRulesetsRedirectFromJSON( jsonString: string, @@ -2548,23 +2716,25 @@ export const GetFirewallConfigRulesetsMitigate$inboundSchema: z.ZodType< GetFirewallConfigRulesetsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetFirewallConfigRulesetsRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetFirewallConfigRulesetsRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetFirewallConfigRulesetsRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetFirewallConfigRulesetsRedirect$inboundSchema), + ).optional(), + }) +); export function getFirewallConfigRulesetsMitigateFromJSON( jsonString: string, @@ -2581,11 +2751,13 @@ export const GetFirewallConfigRulesetsAction$inboundSchema: z.ZodType< GetFirewallConfigRulesetsAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => GetFirewallConfigRulesetsMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => GetFirewallConfigRulesetsMitigate$inboundSchema), + ), + }) +); export function getFirewallConfigRulesetsActionFromJSON( jsonString: string, @@ -2602,18 +2774,20 @@ export const GetFirewallConfigRulesets1$inboundSchema: z.ZodType< GetFirewallConfigRulesets1, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetFirewallConfigRulesetsConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - z.lazy(() => GetFirewallConfigRulesetsAction$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => GetFirewallConfigRulesetsConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional( + z.lazy(() => GetFirewallConfigRulesetsAction$inboundSchema), + ), + }) +); export function getFirewallConfigRulesets1FromJSON( jsonString: string, @@ -2630,10 +2804,12 @@ export const GetFirewallConfigRulesets$inboundSchema: z.ZodType< GetFirewallConfigRulesets, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetFirewallConfigRulesets1$inboundSchema)), - z.record(z.lazy(() => GetFirewallConfigRulesets2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetFirewallConfigRulesets1$inboundSchema)), + z.record(z.lazy(() => GetFirewallConfigRulesets2$inboundSchema)), + ]) +); export function getFirewallConfigRulesetsFromJSON( jsonString: string, @@ -2650,39 +2826,39 @@ export const GetFirewallConfigResponseBody$inboundSchema: z.ZodType< GetFirewallConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array(z.lazy(() => GetFirewallConfigChanges$inboundSchema)), - conditions: types.optional( - z.array(z.lazy(() => GetFirewallConfigConditions$inboundSchema)), - ), - crs: types.optional(z.lazy(() => GetFirewallConfigCrs$inboundSchema)), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)), - logHeaders: types.optional( - smartUnion([z.array(types.string()), LogHeaders2$inboundSchema]), - ), - managedRules: types.optional( - z.lazy(() => GetFirewallConfigManagedRules$inboundSchema), - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array(z.lazy(() => GetFirewallConfigChanges$inboundSchema)), + conditions: types.optional( + z.array(z.lazy(() => GetFirewallConfigConditions$inboundSchema)), + ), + crs: types.optional(z.lazy(() => GetFirewallConfigCrs$inboundSchema)), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)), + logHeaders: types.optional( + smartUnion([z.array(types.string()), LogHeaders2$inboundSchema]), + ), + managedRules: types.optional( + z.lazy(() => GetFirewallConfigManagedRules$inboundSchema), + ), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array(smartUnion([ z.lazy(() => Rules1$inboundSchema), z.lazy(() => Rules2$inboundSchema), - ]), - ), - rulesets: types.optional( - smartUnion([ + ])), + rulesets: types.optional(smartUnion([ z.array(z.lazy(() => GetFirewallConfigRulesets1$inboundSchema)), - z.record(z.lazy(() => GetFirewallConfigRulesets2$inboundSchema)), - ]), - ), - updatedAt: types.string(), - version: types.number(), -}); + z.record(z.lazy(() => + GetFirewallConfigRulesets2$inboundSchema + )), + ])), + updatedAt: types.string(), + version: types.number(), + }) +); export function getFirewallConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getflagop.ts b/src/models/getflagop.ts index 0e8b386e3d..c947080ccb 100644 --- a/src/models/getflagop.ts +++ b/src/models/getflagop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetFlagRequest = { /** @@ -46,14 +47,16 @@ export const GetFlagRequest$outboundSchema: z.ZodType< GetFlagRequest$Outbound, z.ZodTypeDef, GetFlagRequest -> = z.object({ - projectIdOrName: z.string(), - flagIdOrSlug: z.string(), - ifMatch: z.string().optional(), - withMetadata: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + flagIdOrSlug: z.string(), + ifMatch: z.string().optional(), + withMetadata: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getFlagRequestToJSON(getFlagRequest: GetFlagRequest): string { return JSON.stringify(GetFlagRequest$outboundSchema.parse(getFlagRequest)); diff --git a/src/models/getflagsegmentop.ts b/src/models/getflagsegmentop.ts index 14e0676ef1..b42df35b92 100644 --- a/src/models/getflagsegmentop.ts +++ b/src/models/getflagsegmentop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetFlagSegmentRequest = { /** @@ -41,13 +42,15 @@ export const GetFlagSegmentRequest$outboundSchema: z.ZodType< GetFlagSegmentRequest$Outbound, z.ZodTypeDef, GetFlagSegmentRequest -> = z.object({ - projectIdOrName: z.string(), - segmentIdOrSlug: z.string(), - withMetadata: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + segmentIdOrSlug: z.string(), + withMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getFlagSegmentRequestToJSON( getFlagSegmentRequest: GetFlagSegmentRequest, diff --git a/src/models/getflagsettingsop.ts b/src/models/getflagsettingsop.ts index cf5bea0514..cbee12a6ab 100644 --- a/src/models/getflagsettingsop.ts +++ b/src/models/getflagsettingsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -81,11 +81,13 @@ export const GetFlagSettingsRequest$outboundSchema: z.ZodType< GetFlagSettingsRequest$Outbound, z.ZodTypeDef, GetFlagSettingsRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getFlagSettingsRequestToJSON( getFlagSettingsRequest: GetFlagSettingsRequest, @@ -100,10 +102,12 @@ export const GetFlagSettingsLabels$inboundSchema: z.ZodType< GetFlagSettingsLabels, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.string(), + }) +); export function getFlagSettingsLabelsFromJSON( jsonString: string, @@ -120,13 +124,15 @@ export const GetFlagSettingsAttributes$inboundSchema: z.ZodType< GetFlagSettingsAttributes, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - labels: types.optional( - z.array(z.lazy(() => GetFlagSettingsLabels$inboundSchema)), - ), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + labels: types.optional( + z.array(z.lazy(() => GetFlagSettingsLabels$inboundSchema)), + ), + type: types.string(), + }) +); export function getFlagSettingsAttributesFromJSON( jsonString: string, @@ -143,11 +149,13 @@ export const GetFlagSettingsEntities$inboundSchema: z.ZodType< GetFlagSettingsEntities, z.ZodTypeDef, unknown -> = z.object({ - attributes: z.array(z.lazy(() => GetFlagSettingsAttributes$inboundSchema)), - kind: types.string(), - label: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.array(z.lazy(() => GetFlagSettingsAttributes$inboundSchema)), + kind: types.string(), + label: types.string(), + }) +); export function getFlagSettingsEntitiesFromJSON( jsonString: string, @@ -164,14 +172,16 @@ export const GetFlagSettingsMetadata$inboundSchema: z.ZodType< GetFlagSettingsMetadata, z.ZodTypeDef, unknown -> = z.object({ - activeFlagCount: types.number(), - archivedFlagCount: types.number(), - configUpdatedAt: types.optional(types.number()), - packRevision: types.optional(types.number()), - packSizeInBytes: types.number(), - segmentCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeFlagCount: types.number(), + archivedFlagCount: types.number(), + configUpdatedAt: types.optional(types.number()), + packRevision: types.optional(types.number()), + packSizeInBytes: types.number(), + segmentCount: types.number(), + }) +); export function getFlagSettingsMetadataFromJSON( jsonString: string, @@ -186,24 +196,26 @@ export function getFlagSettingsMetadataFromJSON( /** @internal */ export const GetFlagSettingsTypeName$inboundSchema: z.ZodNativeEnum< typeof GetFlagSettingsTypeName -> = z.nativeEnum(GetFlagSettingsTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetFlagSettingsTypeName)); /** @internal */ export const GetFlagSettingsResponseBody$inboundSchema: z.ZodType< GetFlagSettingsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - enabled: types.boolean(), - entities: z.array(z.lazy(() => GetFlagSettingsEntities$inboundSchema)), - environments: z.array(types.string()), - metadata: z.lazy(() => GetFlagSettingsMetadata$inboundSchema), - ownerId: types.optional(types.string()), - projectId: types.string(), - typeName: GetFlagSettingsTypeName$inboundSchema, - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + enabled: types.boolean(), + entities: z.array(z.lazy(() => GetFlagSettingsEntities$inboundSchema)), + environments: z.array(types.string()), + metadata: z.lazy(() => GetFlagSettingsMetadata$inboundSchema), + ownerId: types.optional(types.string()), + projectId: types.string(), + typeName: GetFlagSettingsTypeName$inboundSchema, + updatedAt: types.optional(types.number()), + }) +); export function getFlagSettingsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getflagsprojectconnectionsop.ts b/src/models/getflagsprojectconnectionsop.ts index bfbf25cea8..5030936fb0 100644 --- a/src/models/getflagsprojectconnectionsop.ts +++ b/src/models/getflagsprojectconnectionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -63,7 +63,7 @@ export type GetFlagsProjectConnectionsResponseBody = /** @internal */ export const QueryParamRole$outboundSchema: z.ZodNativeEnum< typeof QueryParamRole -> = z.nativeEnum(QueryParamRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamRole)); /** @internal */ export type GetFlagsProjectConnectionsRequest$Outbound = { @@ -78,12 +78,14 @@ export const GetFlagsProjectConnectionsRequest$outboundSchema: z.ZodType< GetFlagsProjectConnectionsRequest$Outbound, z.ZodTypeDef, GetFlagsProjectConnectionsRequest -> = z.object({ - projectIdOrName: z.string(), - role: QueryParamRole$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + role: QueryParamRole$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getFlagsProjectConnectionsRequestToJSON( getFlagsProjectConnectionsRequest: GetFlagsProjectConnectionsRequest, @@ -98,14 +100,16 @@ export function getFlagsProjectConnectionsRequestToJSON( /** @internal */ export const GetFlagsProjectConnectionsResponseBodyData$inboundSchema: z.ZodType = - z.object({ - consumerProjectId: types.string(), - consumerProjectName: types.optional(types.string()), - createdAt: types.number(), - createdBy: types.string(), - sourceProjectId: types.string(), - sourceProjectName: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + consumerProjectId: types.string(), + consumerProjectName: types.optional(types.string()), + createdAt: types.number(), + createdBy: types.string(), + sourceProjectId: types.string(), + sourceProjectName: types.optional(types.string()), + }) + ); export function getFlagsProjectConnectionsResponseBodyDataFromJSON( jsonString: string, @@ -128,11 +132,13 @@ export const GetFlagsProjectConnectionsResponseBody2$inboundSchema: z.ZodType< GetFlagsProjectConnectionsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - data: z.array( - z.lazy(() => GetFlagsProjectConnectionsResponseBodyData$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array( + z.lazy(() => GetFlagsProjectConnectionsResponseBodyData$inboundSchema), + ), + }) +); export function getFlagsProjectConnectionsResponseBody2FromJSON( jsonString: string, @@ -155,7 +161,7 @@ export const GetFlagsProjectConnectionsResponseBody1$inboundSchema: z.ZodType< GetFlagsProjectConnectionsResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getFlagsProjectConnectionsResponseBody1FromJSON( jsonString: string, @@ -178,10 +184,12 @@ export const GetFlagsProjectConnectionsResponseBody$inboundSchema: z.ZodType< GetFlagsProjectConnectionsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetFlagsProjectConnectionsResponseBody2$inboundSchema), - z.lazy(() => GetFlagsProjectConnectionsResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetFlagsProjectConnectionsResponseBody2$inboundSchema), + z.lazy(() => GetFlagsProjectConnectionsResponseBody1$inboundSchema), + ]) +); export function getFlagsProjectConnectionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts b/src/models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts index 070e14a505..3a1410bc53 100644 --- a/src/models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts +++ b/src/models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -55,10 +55,12 @@ export const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdEx GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest$Outbound, z.ZodTypeDef, GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + }) + ); export function getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestToJSON( getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: @@ -76,8 +78,10 @@ export function getInstallationsByIntegrationConfigurationIdResourcesByResourceI export const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema: z.ZodNativeEnum< typeof GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose - > = z.nativeEnum( - GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose, + ) ); /** @internal */ @@ -86,14 +90,16 @@ export const GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdEx GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, z.ZodTypeDef, unknown - > = z.object({ - digest: types.string(), - items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), - purpose: types.optional( - GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema, - ), - updatedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), + purpose: types.optional( + GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema, + ), + updatedAt: types.number(), + }) + ); export function getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getintegrationlogdrainsop.ts b/src/models/getintegrationlogdrainsop.ts index 5991007dc4..327f566c8c 100644 --- a/src/models/getintegrationlogdrainsop.ts +++ b/src/models/getintegrationlogdrainsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -188,10 +188,12 @@ export const GetIntegrationLogDrainsRequest$outboundSchema: z.ZodType< GetIntegrationLogDrainsRequest$Outbound, z.ZodTypeDef, GetIntegrationLogDrainsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getIntegrationLogDrainsRequestToJSON( getIntegrationLogDrainsRequest: GetIntegrationLogDrainsRequest, @@ -204,32 +206,37 @@ export function getIntegrationLogDrainsRequestToJSON( } /** @internal */ -export const CreatedFrom$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CreatedFrom); +export const CreatedFrom$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreatedFrom)); /** @internal */ export const GetIntegrationLogDrainsDeliveryFormat$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetIntegrationLogDrainsDeliveryFormat, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationLogDrainsDeliveryFormat) + ); /** @internal */ export const GetIntegrationLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationLogDrainsEnvironments -> = z.nativeEnum(GetIntegrationLogDrainsEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationLogDrainsEnvironments) +); /** @internal */ export const GetIntegrationLogDrainsSource2$inboundSchema: z.ZodType< GetIntegrationLogDrainsSource2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getIntegrationLogDrainsSource2FromJSON( jsonString: string, @@ -244,17 +251,19 @@ export function getIntegrationLogDrainsSource2FromJSON( /** @internal */ export const SourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof SourceDefaultFor -> = z.nativeEnum(SourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourceDefaultFor)); /** @internal */ export const GetIntegrationLogDrainsSource1$inboundSchema: z.ZodType< GetIntegrationLogDrainsSource1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(SourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(SourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function getIntegrationLogDrainsSource1FromJSON( jsonString: string, @@ -271,10 +280,12 @@ export const GetIntegrationLogDrainsSource$inboundSchema: z.ZodType< GetIntegrationLogDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), - z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), + ]) +); export function getIntegrationLogDrainsSourceFromJSON( jsonString: string, @@ -289,41 +300,45 @@ export function getIntegrationLogDrainsSourceFromJSON( /** @internal */ export const GetIntegrationLogDrainsSources$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationLogDrainsSources -> = z.nativeEnum(GetIntegrationLogDrainsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationLogDrainsSources) +); /** @internal */ export const GetIntegrationLogDrainsResponseBody$inboundSchema: z.ZodType< GetIntegrationLogDrainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branch: types.optional(types.string()), - clientId: types.optional(types.string()), - configurationId: types.optional(types.string()), - createdAt: types.number(), - createdFrom: types.optional(CreatedFrom$inboundSchema), - deliveryFormat: types.optional( - GetIntegrationLogDrainsDeliveryFormat$inboundSchema, - ), - environments: types.optional( - z.array(GetIntegrationLogDrainsEnvironments$inboundSchema), - ), - headers: types.optional(z.record(types.string())), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectId: z.nullable(types.string()).optional(), - projectIds: types.optional(z.array(types.string())), - samplingRate: types.optional(types.number()), - source: z.union([ - z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), - z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), - ]), - sources: types.optional( - z.array(GetIntegrationLogDrainsSources$inboundSchema), - ), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branch: types.optional(types.string()), + clientId: types.optional(types.string()), + configurationId: types.optional(types.string()), + createdAt: types.number(), + createdFrom: types.optional(CreatedFrom$inboundSchema), + deliveryFormat: types.optional( + GetIntegrationLogDrainsDeliveryFormat$inboundSchema, + ), + environments: types.optional( + z.array(GetIntegrationLogDrainsEnvironments$inboundSchema), + ), + headers: types.optional(z.record(types.string())), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectId: z.nullable(types.string()).optional(), + projectIds: types.optional(z.array(types.string())), + samplingRate: types.optional(types.number()), + source: z.union([ + z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), + ]), + sources: types.optional( + z.array(GetIntegrationLogDrainsSources$inboundSchema), + ), + url: types.string(), + }) +); export function getIntegrationLogDrainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getintegrationresourceop.ts b/src/models/getintegrationresourceop.ts index 98ad433a01..fca12bd12e 100644 --- a/src/models/getintegrationresourceop.ts +++ b/src/models/getintegrationresourceop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -178,10 +178,12 @@ export const GetIntegrationResourceRequest$outboundSchema: z.ZodType< GetIntegrationResourceRequest$Outbound, z.ZodTypeDef, GetIntegrationResourceRequest -> = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + }) +); export function getIntegrationResourceRequestToJSON( getIntegrationResourceRequest: GetIntegrationResourceRequest, @@ -198,12 +200,14 @@ export const GetIntegrationResourceClaims$inboundSchema: z.ZodType< GetIntegrationResourceClaims, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + types.boolean(), + ]) +); export function getIntegrationResourceClaimsFromJSON( jsonString: string, @@ -220,10 +224,12 @@ export const GetIntegrationResourceWhen$inboundSchema: z.ZodType< GetIntegrationResourceWhen, z.ZodTypeDef, unknown -> = z.object({ - environment: types.optional(z.array(types.string())), - role: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environment: types.optional(z.array(types.string())), + role: types.optional(z.array(types.string())), + }) +); export function getIntegrationResourceWhenFromJSON( jsonString: string, @@ -240,19 +246,23 @@ export const GetIntegrationResourceClaimRules$inboundSchema: z.ZodType< GetIntegrationResourceClaimRules, z.ZodTypeDef, unknown -> = z.object({ - claims: z.record( - types.nullable( - smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - types.boolean(), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claims: z.record( + types.nullable( + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + types.boolean(), + ]), + ), ), - ), - when: types.optional(z.lazy(() => GetIntegrationResourceWhen$inboundSchema)), -}); + when: types.optional( + z.lazy(() => GetIntegrationResourceWhen$inboundSchema), + ), + }) +); export function getIntegrationResourceClaimRulesFromJSON( jsonString: string, @@ -269,13 +279,15 @@ export const GetIntegrationResourceCustomClaims$inboundSchema: z.ZodType< GetIntegrationResourceCustomClaims, z.ZodTypeDef, unknown -> = z.object({ - claimRules: types.optional( - z.array(z.lazy(() => GetIntegrationResourceClaimRules$inboundSchema)), - ), - defaultRole: types.optional(types.string()), - roles: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claimRules: types.optional( + z.array(z.lazy(() => GetIntegrationResourceClaimRules$inboundSchema)), + ), + defaultRole: types.optional(types.string()), + roles: types.optional(z.array(types.string())), + }) +); export function getIntegrationResourceCustomClaimsFromJSON( jsonString: string, @@ -293,13 +305,15 @@ export const GetIntegrationResourceMetadata$inboundSchema: z.ZodType< GetIntegrationResourceMetadata, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - z.array(types.number()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + z.array(types.number()), + types.boolean(), + ]) +); export function getIntegrationResourceMetadataFromJSON( jsonString: string, @@ -314,19 +328,23 @@ export function getIntegrationResourceMetadataFromJSON( /** @internal */ export const GetIntegrationResourceLevel$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceLevel -> = z.nativeEnum(GetIntegrationResourceLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourceLevel) +); /** @internal */ export const GetIntegrationResourceNotification$inboundSchema: z.ZodType< GetIntegrationResourceNotification, z.ZodTypeDef, unknown -> = z.object({ - href: types.optional(types.string()), - level: GetIntegrationResourceLevel$inboundSchema, - message: types.optional(types.string()), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.optional(types.string()), + level: GetIntegrationResourceLevel$inboundSchema, + message: types.optional(types.string()), + title: types.string(), + }) +); export function getIntegrationResourceNotificationFromJSON( jsonString: string, @@ -342,14 +360,18 @@ export function getIntegrationResourceNotificationFromJSON( /** @internal */ export const GetIntegrationResourceTarget$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceTarget -> = z.nativeEnum(GetIntegrationResourceTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourceTarget) +); /** @internal */ export const AppUrls$inboundSchema: z.ZodType = - z.object({ - target: GetIntegrationResourceTarget$inboundSchema, - url: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetIntegrationResourceTarget$inboundSchema, + url: types.string(), + }) + ); export function appUrlsFromJSON( jsonString: string, @@ -366,9 +388,11 @@ export const Authentication$inboundSchema: z.ZodType< Authentication, z.ZodTypeDef, unknown -> = z.object({ - appUrls: types.optional(z.array(z.lazy(() => AppUrls$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appUrls: types.optional(z.array(z.lazy(() => AppUrls$inboundSchema))), + }) +); export function authenticationFromJSON( jsonString: string, @@ -385,10 +409,12 @@ export const Experimentation$inboundSchema: z.ZodType< Experimentation, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigId: types.optional(types.string()), - globalConfigId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.optional(types.string()), + globalConfigId: types.optional(types.string()), + }) +); export function experimentationFromJSON( jsonString: string, @@ -405,10 +431,14 @@ export const ProtocolSettings$inboundSchema: z.ZodType< ProtocolSettings, z.ZodTypeDef, unknown -> = z.object({ - authentication: types.optional(z.lazy(() => Authentication$inboundSchema)), - experimentation: types.optional(z.lazy(() => Experimentation$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authentication: types.optional(z.lazy(() => Authentication$inboundSchema)), + experimentation: types.optional( + z.lazy(() => Experimentation$inboundSchema), + ), + }) +); export function protocolSettingsFromJSON( jsonString: string, @@ -423,41 +453,45 @@ export function protocolSettingsFromJSON( /** @internal */ export const GetIntegrationResourceStatus$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceStatus -> = z.nativeEnum(GetIntegrationResourceStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourceStatus) +); /** @internal */ export const GetIntegrationResourceResponseBody$inboundSchema: z.ZodType< GetIntegrationResourceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - billingPlanId: types.optional(types.string()), - customClaims: types.optional( - z.lazy(() => GetIntegrationResourceCustomClaims$inboundSchema), - ), - id: types.string(), - internalId: types.string(), - metadata: types.optional( - z.record( - smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - z.array(types.number()), - types.boolean(), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingPlanId: types.optional(types.string()), + customClaims: types.optional( + z.lazy(() => GetIntegrationResourceCustomClaims$inboundSchema), + ), + id: types.string(), + internalId: types.string(), + metadata: types.optional( + z.record( + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + z.array(types.number()), + types.boolean(), + ]), + ), + ), + name: types.string(), + notification: types.optional( + z.lazy(() => GetIntegrationResourceNotification$inboundSchema), + ), + productId: types.string(), + protocolSettings: types.optional( + z.lazy(() => ProtocolSettings$inboundSchema), ), - ), - name: types.string(), - notification: types.optional( - z.lazy(() => GetIntegrationResourceNotification$inboundSchema), - ), - productId: types.string(), - protocolSettings: types.optional( - z.lazy(() => ProtocolSettings$inboundSchema), - ), - status: types.optional(GetIntegrationResourceStatus$inboundSchema), -}); + status: types.optional(GetIntegrationResourceStatus$inboundSchema), + }) +); export function getIntegrationResourceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getintegrationresourcesop.ts b/src/models/getintegrationresourcesop.ts index 6cac46906d..601207bb4a 100644 --- a/src/models/getintegrationresourcesop.ts +++ b/src/models/getintegrationresourcesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -148,9 +148,11 @@ export const GetIntegrationResourcesRequest$outboundSchema: z.ZodType< GetIntegrationResourcesRequest$Outbound, z.ZodTypeDef, GetIntegrationResourcesRequest -> = z.object({ - integrationConfigurationId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + }) +); export function getIntegrationResourcesRequestToJSON( getIntegrationResourcesRequest: GetIntegrationResourcesRequest, @@ -167,13 +169,15 @@ export const GetIntegrationResourcesMetadata$inboundSchema: z.ZodType< GetIntegrationResourcesMetadata, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - z.array(types.number()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + z.array(types.number()), + types.boolean(), + ]) +); export function getIntegrationResourcesMetadataFromJSON( jsonString: string, @@ -188,19 +192,23 @@ export function getIntegrationResourcesMetadataFromJSON( /** @internal */ export const GetIntegrationResourcesLevel$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesLevel -> = z.nativeEnum(GetIntegrationResourcesLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourcesLevel) +); /** @internal */ export const GetIntegrationResourcesNotification$inboundSchema: z.ZodType< GetIntegrationResourcesNotification, z.ZodTypeDef, unknown -> = z.object({ - href: types.optional(types.string()), - level: GetIntegrationResourcesLevel$inboundSchema, - message: types.optional(types.string()), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.optional(types.string()), + level: GetIntegrationResourcesLevel$inboundSchema, + message: types.optional(types.string()), + title: types.string(), + }) +); export function getIntegrationResourcesNotificationFromJSON( jsonString: string, @@ -216,17 +224,21 @@ export function getIntegrationResourcesNotificationFromJSON( /** @internal */ export const GetIntegrationResourcesTarget$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesTarget -> = z.nativeEnum(GetIntegrationResourcesTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourcesTarget) +); /** @internal */ export const GetIntegrationResourcesAppUrls$inboundSchema: z.ZodType< GetIntegrationResourcesAppUrls, z.ZodTypeDef, unknown -> = z.object({ - target: GetIntegrationResourcesTarget$inboundSchema, - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetIntegrationResourcesTarget$inboundSchema, + url: types.string(), + }) +); export function getIntegrationResourcesAppUrlsFromJSON( jsonString: string, @@ -243,11 +255,13 @@ export const GetIntegrationResourcesAuthentication$inboundSchema: z.ZodType< GetIntegrationResourcesAuthentication, z.ZodTypeDef, unknown -> = z.object({ - appUrls: types.optional( - z.array(z.lazy(() => GetIntegrationResourcesAppUrls$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appUrls: types.optional( + z.array(z.lazy(() => GetIntegrationResourcesAppUrls$inboundSchema)), + ), + }) +); export function getIntegrationResourcesAuthenticationFromJSON( jsonString: string, @@ -265,13 +279,15 @@ export const GetIntegrationResourcesExperimentation$inboundSchema: z.ZodType< GetIntegrationResourcesExperimentation, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigId: types.optional(types.string()), - edgeConfigSyncingEnabled: types.optional(types.boolean()), - edgeConfigTokenId: types.optional(types.string()), - globalConfigId: types.optional(types.string()), - globalConfigSyncingEnabled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.optional(types.string()), + edgeConfigSyncingEnabled: types.optional(types.boolean()), + edgeConfigTokenId: types.optional(types.string()), + globalConfigId: types.optional(types.string()), + globalConfigSyncingEnabled: types.optional(types.boolean()), + }) +); export function getIntegrationResourcesExperimentationFromJSON( jsonString: string, @@ -289,14 +305,16 @@ export const GetIntegrationResourcesProtocolSettings$inboundSchema: z.ZodType< GetIntegrationResourcesProtocolSettings, z.ZodTypeDef, unknown -> = z.object({ - authentication: types.optional( - z.lazy(() => GetIntegrationResourcesAuthentication$inboundSchema), - ), - experimentation: types.optional( - z.lazy(() => GetIntegrationResourcesExperimentation$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authentication: types.optional( + z.lazy(() => GetIntegrationResourcesAuthentication$inboundSchema), + ), + experimentation: types.optional( + z.lazy(() => GetIntegrationResourcesExperimentation$inboundSchema), + ), + }) +); export function getIntegrationResourcesProtocolSettingsFromJSON( jsonString: string, @@ -317,38 +335,42 @@ export function getIntegrationResourcesProtocolSettingsFromJSON( /** @internal */ export const GetIntegrationResourcesStatus$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesStatus -> = z.nativeEnum(GetIntegrationResourcesStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetIntegrationResourcesStatus) +); /** @internal */ export const GetIntegrationResourcesResources$inboundSchema: z.ZodType< GetIntegrationResourcesResources, z.ZodTypeDef, unknown -> = z.object({ - billingPlanId: types.optional(types.string()), - internalId: types.string(), - metadata: types.optional( - z.record( - smartUnion([ - types.string(), - types.number(), - z.array(types.string()), - z.array(types.number()), - types.boolean(), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingPlanId: types.optional(types.string()), + internalId: types.string(), + metadata: types.optional( + z.record( + smartUnion([ + types.string(), + types.number(), + z.array(types.string()), + z.array(types.number()), + types.boolean(), + ]), + ), ), - ), - name: types.string(), - notification: types.optional( - z.lazy(() => GetIntegrationResourcesNotification$inboundSchema), - ), - partnerId: types.string(), - productId: types.string(), - protocolSettings: types.optional( - z.lazy(() => GetIntegrationResourcesProtocolSettings$inboundSchema), - ), - status: types.optional(GetIntegrationResourcesStatus$inboundSchema), -}); + name: types.string(), + notification: types.optional( + z.lazy(() => GetIntegrationResourcesNotification$inboundSchema), + ), + partnerId: types.string(), + productId: types.string(), + protocolSettings: types.optional( + z.lazy(() => GetIntegrationResourcesProtocolSettings$inboundSchema), + ), + status: types.optional(GetIntegrationResourcesStatus$inboundSchema), + }) +); export function getIntegrationResourcesResourcesFromJSON( jsonString: string, @@ -365,11 +387,13 @@ export const GetIntegrationResourcesResponseBody$inboundSchema: z.ZodType< GetIntegrationResourcesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - resources: z.array( - z.lazy(() => GetIntegrationResourcesResources$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + resources: z.array( + z.lazy(() => GetIntegrationResourcesResources$inboundSchema), + ), + }) +); export function getIntegrationResourcesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getinvoiceop.ts b/src/models/getinvoiceop.ts index 7023f88eb9..5fc41b4dc7 100644 --- a/src/models/getinvoiceop.ts +++ b/src/models/getinvoiceop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -219,10 +219,12 @@ export const GetInvoiceRequest$outboundSchema: z.ZodType< GetInvoiceRequest$Outbound, z.ZodTypeDef, GetInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + }) +); export function getInvoiceRequestToJSON( getInvoiceRequest: GetInvoiceRequest, @@ -237,15 +239,17 @@ export const GetInvoiceDiscounts$inboundSchema: z.ZodType< GetInvoiceDiscounts, z.ZodTypeDef, unknown -> = z.object({ - amount: types.string(), - billingPlanId: types.string(), - details: types.optional(types.string()), - end: types.optional(types.string()), - name: types.string(), - resourceId: types.optional(types.string()), - start: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + billingPlanId: types.string(), + details: types.optional(types.string()), + end: types.optional(types.string()), + name: types.string(), + resourceId: types.optional(types.string()), + start: types.optional(types.string()), + }) +); export function getInvoiceDiscountsFromJSON( jsonString: string, @@ -262,18 +266,20 @@ export const GetInvoiceItems$inboundSchema: z.ZodType< GetInvoiceItems, z.ZodTypeDef, unknown -> = z.object({ - billingPlanId: types.string(), - details: types.optional(types.string()), - end: types.optional(types.string()), - name: types.string(), - price: types.string(), - quantity: types.number(), - resourceId: types.optional(types.string()), - start: types.optional(types.string()), - total: types.string(), - units: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingPlanId: types.string(), + details: types.optional(types.string()), + end: types.optional(types.string()), + name: types.string(), + price: types.string(), + quantity: types.number(), + resourceId: types.optional(types.string()), + start: types.optional(types.string()), + total: types.string(), + units: types.string(), + }) +); export function getInvoiceItemsFromJSON( jsonString: string, @@ -290,10 +296,12 @@ export const GetInvoicePeriod$inboundSchema: z.ZodType< GetInvoicePeriod, z.ZodTypeDef, unknown -> = z.object({ - end: types.string(), - start: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + end: types.string(), + start: types.string(), + }) +); export function getInvoicePeriodFromJSON( jsonString: string, @@ -308,38 +316,40 @@ export function getInvoicePeriodFromJSON( /** @internal */ export const GetInvoiceState$inboundSchema: z.ZodNativeEnum< typeof GetInvoiceState -> = z.nativeEnum(GetInvoiceState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetInvoiceState)); /** @internal */ export const GetInvoiceResponseBody$inboundSchema: z.ZodType< GetInvoiceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - created: types.string(), - discounts: types.optional( - z.array(z.lazy(() => GetInvoiceDiscounts$inboundSchema)), - ), - externalId: types.optional(types.string()), - invoiceDate: types.string(), - invoiceId: types.string(), - invoiceNumber: types.optional(types.string()), - items: z.array(z.lazy(() => GetInvoiceItems$inboundSchema)), - memo: types.optional(types.string()), - outstandingTotal: types.optional(types.string()), - paidAt: types.optional(types.string()), - paidTotal: types.optional(types.string()), - pendingRefundTotal: types.optional(types.string()), - period: z.lazy(() => GetInvoicePeriod$inboundSchema), - refundedAt: types.optional(types.string()), - refundedTotal: types.optional(types.string()), - refundReason: types.optional(types.string()), - refundTotal: types.optional(types.string()), - state: GetInvoiceState$inboundSchema, - test: types.optional(types.boolean()), - total: types.string(), - updated: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + created: types.string(), + discounts: types.optional( + z.array(z.lazy(() => GetInvoiceDiscounts$inboundSchema)), + ), + externalId: types.optional(types.string()), + invoiceDate: types.string(), + invoiceId: types.string(), + invoiceNumber: types.optional(types.string()), + items: z.array(z.lazy(() => GetInvoiceItems$inboundSchema)), + memo: types.optional(types.string()), + outstandingTotal: types.optional(types.string()), + paidAt: types.optional(types.string()), + paidTotal: types.optional(types.string()), + pendingRefundTotal: types.optional(types.string()), + period: z.lazy(() => GetInvoicePeriod$inboundSchema), + refundedAt: types.optional(types.string()), + refundedTotal: types.optional(types.string()), + refundReason: types.optional(types.string()), + refundTotal: types.optional(types.string()), + state: GetInvoiceState$inboundSchema, + test: types.optional(types.boolean()), + total: types.string(), + updated: types.string(), + }) +); export function getInvoiceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getkmsissuerop.ts b/src/models/getkmsissuerop.ts index afdf58c79f..fd5fb3adb4 100644 --- a/src/models/getkmsissuerop.ts +++ b/src/models/getkmsissuerop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -174,11 +174,13 @@ export const GetKmsIssuerRequest$outboundSchema: z.ZodType< GetKmsIssuerRequest$Outbound, z.ZodTypeDef, GetKmsIssuerRequest -> = z.object({ - issuerId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getKmsIssuerRequestToJSON( getKmsIssuerRequest: GetKmsIssuerRequest, @@ -191,30 +193,34 @@ export function getKmsIssuerRequestToJSON( /** @internal */ export const GetKmsIssuerAlgorithm$inboundSchema: z.ZodNativeEnum< typeof GetKmsIssuerAlgorithm -> = z.nativeEnum(GetKmsIssuerAlgorithm); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetKmsIssuerAlgorithm)); /** @internal */ export const GetKmsIssuerDiscoveryLayout$inboundSchema: z.ZodNativeEnum< typeof GetKmsIssuerDiscoveryLayout -> = z.nativeEnum(GetKmsIssuerDiscoveryLayout); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetKmsIssuerDiscoveryLayout) +); /** @internal */ export const GetKmsIssuerOrigin$inboundSchema: z.ZodNativeEnum< typeof GetKmsIssuerOrigin -> = z.nativeEnum(GetKmsIssuerOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetKmsIssuerOrigin)); /** @internal */ export const GetKmsIssuerPolicies3$inboundSchema: z.ZodType< GetKmsIssuerPolicies3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function getKmsIssuerPolicies3FromJSON( jsonString: string, @@ -231,13 +237,15 @@ export const GetKmsIssuerPolicies2$inboundSchema: z.ZodType< GetKmsIssuerPolicies2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function getKmsIssuerPolicies2FromJSON( jsonString: string, @@ -254,15 +262,17 @@ export const GetKmsIssuerPolicies1$inboundSchema: z.ZodType< GetKmsIssuerPolicies1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function getKmsIssuerPolicies1FromJSON( jsonString: string, @@ -279,11 +289,13 @@ export const GetKmsIssuerPolicies$inboundSchema: z.ZodType< GetKmsIssuerPolicies, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetKmsIssuerPolicies1$inboundSchema), - z.lazy(() => GetKmsIssuerPolicies2$inboundSchema), - z.lazy(() => GetKmsIssuerPolicies3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetKmsIssuerPolicies1$inboundSchema), + z.lazy(() => GetKmsIssuerPolicies2$inboundSchema), + z.lazy(() => GetKmsIssuerPolicies3$inboundSchema), + ]) +); export function getKmsIssuerPoliciesFromJSON( jsonString: string, @@ -300,20 +312,22 @@ export const GetKmsIssuerPublicKey$inboundSchema: z.ZodType< GetKmsIssuerPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function getKmsIssuerPublicKeyFromJSON( jsonString: string, @@ -328,29 +342,33 @@ export function getKmsIssuerPublicKeyFromJSON( /** @internal */ export const GetKmsIssuerStatus$inboundSchema: z.ZodNativeEnum< typeof GetKmsIssuerStatus -> = z.nativeEnum(GetKmsIssuerStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetKmsIssuerStatus)); /** @internal */ export const GetKmsIssuerSigningKeys$inboundSchema: z.ZodType< GetKmsIssuerSigningKeys, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional(z.lazy(() => GetKmsIssuerPublicKey$inboundSchema)), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: GetKmsIssuerStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => GetKmsIssuerPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: GetKmsIssuerStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function getKmsIssuerSigningKeysFromJSON( jsonString: string, @@ -367,26 +385,28 @@ export const GetKmsIssuerResponseBody$inboundSchema: z.ZodType< GetKmsIssuerResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: GetKmsIssuerAlgorithm$inboundSchema, - claimsSchema: types.optional(z.record(z.any())), - createdAt: types.string(), - discoveryLayout: GetKmsIssuerDiscoveryLayout$inboundSchema, - id: types.string(), - managedBy: types.optional(types.string()), - name: types.string(), - origin: GetKmsIssuerOrigin$inboundSchema, - ownerId: types.string(), - policies: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: GetKmsIssuerAlgorithm$inboundSchema, + claimsSchema: types.optional(z.record(z.any())), + createdAt: types.string(), + discoveryLayout: GetKmsIssuerDiscoveryLayout$inboundSchema, + id: types.string(), + managedBy: types.optional(types.string()), + name: types.string(), + origin: GetKmsIssuerOrigin$inboundSchema, + ownerId: types.string(), + policies: z.array(z.union([ z.lazy(() => GetKmsIssuerPolicies1$inboundSchema), z.lazy(() => GetKmsIssuerPolicies2$inboundSchema), z.lazy(() => GetKmsIssuerPolicies3$inboundSchema), - ]), - ), - signingKeys: z.array(z.lazy(() => GetKmsIssuerSigningKeys$inboundSchema)), - updatedAt: types.string(), -}); + ])), + signingKeys: z.array(z.lazy(() => + GetKmsIssuerSigningKeys$inboundSchema + )), + updatedAt: types.string(), + }) +); export function getKmsIssuerResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmemberop.ts b/src/models/getmemberop.ts index 62d46fcc93..ba08a9ad19 100644 --- a/src/models/getmemberop.ts +++ b/src/models/getmemberop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -47,10 +47,12 @@ export const GetMemberRequest$outboundSchema: z.ZodType< GetMemberRequest$Outbound, z.ZodTypeDef, GetMemberRequest -> = z.object({ - integrationConfigurationId: z.string(), - memberId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + memberId: z.string(), + }) +); export function getMemberRequestToJSON( getMemberRequest: GetMemberRequest, @@ -63,19 +65,21 @@ export function getMemberRequestToJSON( /** @internal */ export const GetMemberRole$inboundSchema: z.ZodNativeEnum< typeof GetMemberRole -> = z.nativeEnum(GetMemberRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetMemberRole)); /** @internal */ export const GetMemberResponseBody$inboundSchema: z.ZodType< GetMemberResponseBody, z.ZodTypeDef, unknown -> = z.object({ - globalUserId: types.optional(types.string()), - id: types.string(), - role: GetMemberRole$inboundSchema, - userEmail: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + globalUserId: types.optional(types.string()), + id: types.string(), + role: GetMemberRole$inboundSchema, + userEmail: types.optional(types.string()), + }) +); export function getMemberResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmicrofrontendsconfigforprojectop.ts b/src/models/getmicrofrontendsconfigforprojectop.ts index 0c420f94b9..66d5e49e76 100644 --- a/src/models/getmicrofrontendsconfigforprojectop.ts +++ b/src/models/getmicrofrontendsconfigforprojectop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -190,11 +190,13 @@ export const GetMicrofrontendsConfigForProjectRequest$outboundSchema: z.ZodType< GetMicrofrontendsConfigForProjectRequest$Outbound, z.ZodTypeDef, GetMicrofrontendsConfigForProjectRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getMicrofrontendsConfigForProjectRequestToJSON( getMicrofrontendsConfigForProjectRequest: @@ -213,7 +215,9 @@ export const GetMicrofrontendsConfigForProjectApplicationsMicrofrontendsLocal$in GetMicrofrontendsConfigForProjectApplicationsMicrofrontendsLocal, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getMicrofrontendsConfigForProjectApplicationsMicrofrontendsLocalFromJSON( jsonString: string, @@ -236,11 +240,13 @@ export const GetMicrofrontendsConfigForProjectApplicationsMicrofrontendsDevelopm GetMicrofrontendsConfigForProjectApplicationsMicrofrontendsDevelopment, z.ZodTypeDef, unknown - > = z.object({ - fallback: types.optional(types.string()), - local: types.optional(smartUnion([types.string(), types.number()])), - task: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallback: types.optional(types.string()), + local: types.optional(smartUnion([types.string(), types.number()])), + task: types.optional(types.string()), + }) + ); export function getMicrofrontendsConfigForProjectApplicationsMicrofrontendsDevelopmentFromJSON( jsonString: string, @@ -262,11 +268,13 @@ export const ApplicationsRouting$inboundSchema: z.ZodType< ApplicationsRouting, z.ZodTypeDef, unknown -> = z.object({ - flag: types.optional(types.string()), - group: types.optional(types.string()), - paths: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flag: types.optional(types.string()), + group: types.optional(types.string()), + paths: z.array(types.string()), + }) +); export function applicationsRoutingFromJSON( jsonString: string, @@ -284,17 +292,19 @@ export const GetMicrofrontendsConfigForProjectApplications2$inboundSchema: GetMicrofrontendsConfigForProjectApplications2, z.ZodTypeDef, unknown - > = z.object({ - assetPrefix: types.optional(types.string()), - development: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + assetPrefix: types.optional(types.string()), + development: types.optional(z.lazy(() => GetMicrofrontendsConfigForProjectApplicationsMicrofrontendsDevelopment$inboundSchema - ), - ), - packageName: types.optional(types.string()), - routing: z.array(z.lazy(() => ApplicationsRouting$inboundSchema)), - projectId: types.string(), - }); + )), + packageName: types.optional(types.string()), + routing: z.array(z.lazy(() => + ApplicationsRouting$inboundSchema + )), + projectId: types.string(), + }) + ); export function getMicrofrontendsConfigForProjectApplications2FromJSON( jsonString: string, @@ -318,7 +328,9 @@ export const GetMicrofrontendsConfigForProjectApplicationsLocal$inboundSchema: GetMicrofrontendsConfigForProjectApplicationsLocal, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getMicrofrontendsConfigForProjectApplicationsLocalFromJSON( jsonString: string, @@ -342,11 +354,13 @@ export const GetMicrofrontendsConfigForProjectApplicationsDevelopment$inboundSch GetMicrofrontendsConfigForProjectApplicationsDevelopment, z.ZodTypeDef, unknown - > = z.object({ - fallback: types.string(), - local: types.optional(smartUnion([types.string(), types.number()])), - task: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallback: types.string(), + local: types.optional(smartUnion([types.string(), types.number()])), + task: types.optional(types.string()), + }) + ); export function getMicrofrontendsConfigForProjectApplicationsDevelopmentFromJSON( jsonString: string, @@ -369,13 +383,15 @@ export const GetMicrofrontendsConfigForProjectApplications1$inboundSchema: GetMicrofrontendsConfigForProjectApplications1, z.ZodTypeDef, unknown - > = z.object({ - development: z.lazy(() => - GetMicrofrontendsConfigForProjectApplicationsDevelopment$inboundSchema - ), - packageName: types.optional(types.string()), - projectId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.lazy(() => + GetMicrofrontendsConfigForProjectApplicationsDevelopment$inboundSchema + ), + packageName: types.optional(types.string()), + projectId: types.string(), + }) + ); export function getMicrofrontendsConfigForProjectApplications1FromJSON( jsonString: string, @@ -399,10 +415,16 @@ export const GetMicrofrontendsConfigForProjectApplications$inboundSchema: GetMicrofrontendsConfigForProjectApplications, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetMicrofrontendsConfigForProjectApplications1$inboundSchema), - z.lazy(() => GetMicrofrontendsConfigForProjectApplications2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetMicrofrontendsConfigForProjectApplications1$inboundSchema + ), + z.lazy(() => + GetMicrofrontendsConfigForProjectApplications2$inboundSchema + ), + ]) + ); export function getMicrofrontendsConfigForProjectApplicationsFromJSON( jsonString: string, @@ -425,10 +447,12 @@ export const GetMicrofrontendsConfigForProjectOptions$inboundSchema: z.ZodType< GetMicrofrontendsConfigForProjectOptions, z.ZodTypeDef, unknown -> = z.object({ - disableOverrides: types.optional(types.boolean()), - localProxyPort: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + disableOverrides: types.optional(types.boolean()), + localProxyPort: types.optional(types.number()), + }) +); export function getMicrofrontendsConfigForProjectOptionsFromJSON( jsonString: string, @@ -448,37 +472,39 @@ export function getMicrofrontendsConfigForProjectOptionsFromJSON( /** @internal */ export const GetMicrofrontendsConfigForProjectVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsConfigForProjectVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsConfigForProjectVersion) + ); /** @internal */ export const GetMicrofrontendsConfigForProjectConfig$inboundSchema: z.ZodType< GetMicrofrontendsConfigForProjectConfig, z.ZodTypeDef, unknown -> = z.object({ - $schema: types.optional(types.string()), - applications: z.record( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + $schema: types.optional(types.string()), + applications: z.record(smartUnion([ z.lazy(() => GetMicrofrontendsConfigForProjectApplications1$inboundSchema ), z.lazy(() => GetMicrofrontendsConfigForProjectApplications2$inboundSchema ), - ]), - ), - options: types.optional( - z.lazy(() => GetMicrofrontendsConfigForProjectOptions$inboundSchema), - ), - version: types.optional( - GetMicrofrontendsConfigForProjectVersion$inboundSchema, - ), -}).transform((v) => { - return remap$(v, { - "$schema": "dollarSchema", - }); -}); + ])), + options: types.optional(z.lazy(() => + GetMicrofrontendsConfigForProjectOptions$inboundSchema + )), + version: types.optional( + GetMicrofrontendsConfigForProjectVersion$inboundSchema, + ), + }).transform((v) => { + return remap$(v, { + "$schema": "dollarSchema", + }); + }) +); export function getMicrofrontendsConfigForProjectConfigFromJSON( jsonString: string, @@ -502,11 +528,13 @@ export const GetMicrofrontendsConfigForProjectResponseBody$inboundSchema: GetMicrofrontendsConfigForProjectResponseBody, z.ZodTypeDef, unknown - > = z.object({ - config: types.nullable( - z.lazy(() => GetMicrofrontendsConfigForProjectConfig$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.nullable( + z.lazy(() => GetMicrofrontendsConfigForProjectConfig$inboundSchema), + ), + }) + ); export function getMicrofrontendsConfigForProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmicrofrontendsconfigop.ts b/src/models/getmicrofrontendsconfigop.ts index f68e016d9d..10f2e018d4 100644 --- a/src/models/getmicrofrontendsconfigop.ts +++ b/src/models/getmicrofrontendsconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -177,11 +177,13 @@ export const GetMicrofrontendsConfigRequest$outboundSchema: z.ZodType< GetMicrofrontendsConfigRequest$Outbound, z.ZodTypeDef, GetMicrofrontendsConfigRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getMicrofrontendsConfigRequestToJSON( getMicrofrontendsConfigRequest: GetMicrofrontendsConfigRequest, @@ -198,7 +200,9 @@ export const ApplicationsLocal$inboundSchema: z.ZodType< ApplicationsLocal, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function applicationsLocalFromJSON( jsonString: string, @@ -215,11 +219,13 @@ export const ApplicationsDevelopment$inboundSchema: z.ZodType< ApplicationsDevelopment, z.ZodTypeDef, unknown -> = z.object({ - fallback: types.optional(types.string()), - local: types.optional(smartUnion([types.string(), types.number()])), - task: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallback: types.optional(types.string()), + local: types.optional(smartUnion([types.string(), types.number()])), + task: types.optional(types.string()), + }) +); export function applicationsDevelopmentFromJSON( jsonString: string, @@ -233,11 +239,13 @@ export function applicationsDevelopmentFromJSON( /** @internal */ export const Routing$inboundSchema: z.ZodType = - z.object({ - flag: types.optional(types.string()), - group: types.optional(types.string()), - paths: z.array(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + flag: types.optional(types.string()), + group: types.optional(types.string()), + paths: z.array(types.string()), + }) + ); export function routingFromJSON( jsonString: string, @@ -254,15 +262,17 @@ export const Applications2$inboundSchema: z.ZodType< Applications2, z.ZodTypeDef, unknown -> = z.object({ - assetPrefix: types.optional(types.string()), - development: types.optional( - z.lazy(() => ApplicationsDevelopment$inboundSchema), - ), - packageName: types.optional(types.string()), - routing: z.array(z.lazy(() => Routing$inboundSchema)), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + assetPrefix: types.optional(types.string()), + development: types.optional( + z.lazy(() => ApplicationsDevelopment$inboundSchema), + ), + packageName: types.optional(types.string()), + routing: z.array(z.lazy(() => Routing$inboundSchema)), + projectId: types.string(), + }) +); export function applications2FromJSON( jsonString: string, @@ -276,7 +286,9 @@ export function applications2FromJSON( /** @internal */ export const Local$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function localFromJSON( jsonString: string, @@ -293,11 +305,13 @@ export const Development$inboundSchema: z.ZodType< Development, z.ZodTypeDef, unknown -> = z.object({ - fallback: types.string(), - local: types.optional(smartUnion([types.string(), types.number()])), - task: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallback: types.string(), + local: types.optional(smartUnion([types.string(), types.number()])), + task: types.optional(types.string()), + }) +); export function developmentFromJSON( jsonString: string, @@ -314,11 +328,13 @@ export const Applications1$inboundSchema: z.ZodType< Applications1, z.ZodTypeDef, unknown -> = z.object({ - development: z.lazy(() => Development$inboundSchema), - packageName: types.optional(types.string()), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.lazy(() => Development$inboundSchema), + packageName: types.optional(types.string()), + projectId: types.string(), + }) +); export function applications1FromJSON( jsonString: string, @@ -335,10 +351,12 @@ export const Applications$inboundSchema: z.ZodType< Applications, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Applications1$inboundSchema), - z.lazy(() => Applications2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Applications1$inboundSchema), + z.lazy(() => Applications2$inboundSchema), + ]) +); export function applicationsFromJSON( jsonString: string, @@ -352,10 +370,12 @@ export function applicationsFromJSON( /** @internal */ export const Options$inboundSchema: z.ZodType = - z.object({ - disableOverrides: types.optional(types.boolean()), - localProxyPort: types.optional(types.number()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + disableOverrides: types.optional(types.boolean()), + localProxyPort: types.optional(types.number()), + }) + ); export function optionsFromJSON( jsonString: string, @@ -370,28 +390,32 @@ export function optionsFromJSON( /** @internal */ export const GetMicrofrontendsConfigVersion$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsConfigVersion -> = z.nativeEnum(GetMicrofrontendsConfigVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsConfigVersion) +); /** @internal */ export const GetMicrofrontendsConfigConfig$inboundSchema: z.ZodType< GetMicrofrontendsConfigConfig, z.ZodTypeDef, unknown -> = z.object({ - $schema: types.optional(types.string()), - applications: z.record( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + $schema: types.optional(types.string()), + applications: z.record(smartUnion([ z.lazy(() => Applications1$inboundSchema), z.lazy(() => Applications2$inboundSchema), - ]), - ), - options: types.optional(z.lazy(() => Options$inboundSchema)), - version: types.optional(GetMicrofrontendsConfigVersion$inboundSchema), -}).transform((v) => { - return remap$(v, { - "$schema": "dollarSchema", - }); -}); + ])), + options: types.optional(z.lazy(() => + Options$inboundSchema + )), + version: types.optional(GetMicrofrontendsConfigVersion$inboundSchema), + }).transform((v) => { + return remap$(v, { + "$schema": "dollarSchema", + }); + }) +); export function getMicrofrontendsConfigConfigFromJSON( jsonString: string, @@ -408,11 +432,13 @@ export const GetMicrofrontendsConfigResponseBody$inboundSchema: z.ZodType< GetMicrofrontendsConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - config: types.nullable( - z.lazy(() => GetMicrofrontendsConfigConfig$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + config: types.nullable( + z.lazy(() => GetMicrofrontendsConfigConfig$inboundSchema), + ), + }) +); export function getMicrofrontendsConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmicrofrontendsgroupsop.ts b/src/models/getmicrofrontendsgroupsop.ts index d075ff7e3e..50c3e875b3 100644 --- a/src/models/getmicrofrontendsgroupsop.ts +++ b/src/models/getmicrofrontendsgroupsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,10 +31,12 @@ export const GetMicrofrontendsGroupsRequest$outboundSchema: z.ZodType< GetMicrofrontendsGroupsRequest$Outbound, z.ZodTypeDef, GetMicrofrontendsGroupsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getMicrofrontendsGroupsRequestToJSON( getMicrofrontendsGroupsRequest: GetMicrofrontendsGroupsRequest, @@ -51,7 +53,7 @@ export const GetMicrofrontendsGroupsResponseBody$inboundSchema: z.ZodType< GetMicrofrontendsGroupsResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getMicrofrontendsGroupsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmicrofrontendsingroupchecksconclusion.ts b/src/models/getmicrofrontendsingroupchecksconclusion.ts index 52ae7949c9..8e937f0e6a 100644 --- a/src/models/getmicrofrontendsingroupchecksconclusion.ts +++ b/src/models/getmicrofrontendsingroupchecksconclusion.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1522,11 +1522,13 @@ export const GetMicrofrontendsInGroupRequest$outboundSchema: z.ZodType< GetMicrofrontendsInGroupRequest$Outbound, z.ZodTypeDef, GetMicrofrontendsInGroupRequest -> = z.object({ - groupId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + groupId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getMicrofrontendsInGroupRequestToJSON( getMicrofrontendsInGroupRequest: GetMicrofrontendsInGroupRequest, @@ -1540,9 +1542,10 @@ export function getMicrofrontendsInGroupRequestToJSON( /** @internal */ export const GetMicrofrontendsInGroupConfiguredBy$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetMicrofrontendsInGroupConfiguredBy, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupConfiguredBy) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseAliasAssigned$inboundSchema: @@ -1550,7 +1553,9 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseAliasAssigned$inbound GetMicrofrontendsInGroupMicrofrontendsResponseAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseAliasAssignedFromJSON( jsonString: string, @@ -1573,10 +1578,12 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseAliasError$inboundSch GetMicrofrontendsInGroupMicrofrontendsResponseAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseAliasErrorFromJSON( jsonString: string, @@ -1597,8 +1604,10 @@ export function getMicrofrontendsInGroupMicrofrontendsResponseAliasErrorFromJSON export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType, + ) ); /** @internal */ @@ -1607,11 +1616,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponse200BranchMatcher$inbo GetMicrofrontendsInGroupMicrofrontendsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAliasType$inboundSchema, + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponse200BranchMatcherFromJSON( jsonString: string, @@ -1634,11 +1645,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseBuilds$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsResponseBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseBuildsFromJSON( jsonString: string, @@ -1660,15 +1673,17 @@ export function getMicrofrontendsInGroupMicrofrontendsResponseBuildsFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion) ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseChecksState$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponseChecksState - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseChecksState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseChecksState) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponse200Creator$inboundSchema: @@ -1676,13 +1691,15 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponse200Creator$inboundSch GetMicrofrontendsInGroupMicrofrontendsResponse200Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponse200CreatorFromJSON( jsonString: string, @@ -1705,29 +1722,31 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseOidcTokenClaims$inbou GetMicrofrontendsInGroupMicrofrontendsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -1746,27 +1765,35 @@ export function getMicrofrontendsInGroupMicrofrontendsResponseOidcTokenClaimsFro /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponsePlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponsePlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponsePlan) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseReadyState$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponseReadyState - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseReadyState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseReadyState) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1774,73 +1801,65 @@ export const GetMicrofrontendsInGroupDeployment$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsResponseAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsResponse200BranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetMicrofrontendsInGroupMicrofrontendsResponseBuilds$inboundSchema )), - ), - checksConclusion: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetMicrofrontendsInGroupMicrofrontendsResponse200Creator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetMicrofrontendsInGroupMicrofrontendsResponseBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponseChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetMicrofrontendsInGroupMicrofrontendsResponse200Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsResponseOidcTokenClaims$inboundSchema + )), + plan: GetMicrofrontendsInGroupMicrofrontendsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetMicrofrontendsInGroupMicrofrontendsResponseReadyState$inboundSchema, + readySubstate: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate$inboundSchema, ), - ), - plan: GetMicrofrontendsInGroupMicrofrontendsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetMicrofrontendsInGroupMicrofrontendsResponseReadyState$inboundSchema, - readySubstate: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupDeploymentFromJSON( jsonString: string, @@ -1856,33 +1875,39 @@ export function getMicrofrontendsInGroupDeploymentFromJSON( /** @internal */ export const GetMicrofrontendsInGroupEnvironment$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupEnvironment -> = z.nativeEnum(GetMicrofrontendsInGroupEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupEnvironment) +); /** @internal */ export const GetMicrofrontendsInGroupTarget$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupTarget -> = z.nativeEnum(GetMicrofrontendsInGroupTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTarget) +); /** @internal */ export const GetMicrofrontendsInGroupAlias$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(GetMicrofrontendsInGroupConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => GetMicrofrontendsInGroupDeployment$inboundSchema), - ), - domain: types.string(), - environment: GetMicrofrontendsInGroupEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: GetMicrofrontendsInGroupTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(GetMicrofrontendsInGroupConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => GetMicrofrontendsInGroupDeployment$inboundSchema), + ), + domain: types.string(), + environment: GetMicrofrontendsInGroupEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: GetMicrofrontendsInGroupTarget$inboundSchema, + }) +); export function getMicrofrontendsInGroupAliasFromJSON( jsonString: string, @@ -1899,15 +1924,17 @@ export const GetMicrofrontendsInGroupAnalytics$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function getMicrofrontendsInGroupAnalyticsFromJSON( jsonString: string, @@ -1924,9 +1951,11 @@ export const GetMicrofrontendsInGroupBlobs$inboundSchema: z.ZodType< GetMicrofrontendsInGroupBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupBlobsFromJSON( jsonString: string, @@ -1943,10 +1972,12 @@ export const GetMicrofrontendsInGroupAws$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupAwsFromJSON( jsonString: string, @@ -1961,14 +1992,18 @@ export function getMicrofrontendsInGroupAwsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupEnvId2$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupEnvId2 -> = z.nativeEnum(GetMicrofrontendsInGroupEnvId2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupEnvId2) +); /** @internal */ export const GetMicrofrontendsInGroupEnvId$inboundSchema: z.ZodType< GetMicrofrontendsInGroupEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), GetMicrofrontendsInGroupEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), GetMicrofrontendsInGroupEnvId2$inboundSchema]) +); export function getMicrofrontendsInGroupEnvIdFromJSON( jsonString: string, @@ -1986,21 +2021,23 @@ export const GetMicrofrontendsInGroupConnectConfigurations$inboundSchema: GetMicrofrontendsInGroupConnectConfigurations, z.ZodTypeDef, unknown - > = z.object({ - aws: types.optional( - z.lazy(() => GetMicrofrontendsInGroupAws$inboundSchema), - ), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([ - types.string(), - GetMicrofrontendsInGroupEnvId2$inboundSchema, - ]), - passive: types.boolean(), - updatedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional( + z.lazy(() => GetMicrofrontendsInGroupAws$inboundSchema), + ), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([ + types.string(), + GetMicrofrontendsInGroupEnvId2$inboundSchema, + ]), + passive: types.boolean(), + updatedAt: types.number(), + }) + ); export function getMicrofrontendsInGroupConnectConfigurationsFromJSON( jsonString: string, @@ -2023,9 +2060,11 @@ export const GetMicrofrontendsInGroupCreator5$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getMicrofrontendsInGroupCreator5FromJSON( jsonString: string, @@ -2040,10 +2079,12 @@ export function getMicrofrontendsInGroupCreator5FromJSON( /** @internal */ export const GetMicrofrontendsInGroupCreatorIntegration$inboundSchema: z.ZodType = - z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function getMicrofrontendsInGroupCreatorIntegrationFromJSON( jsonString: string, @@ -2066,12 +2107,14 @@ export const GetMicrofrontendsInGroupCreator4$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetMicrofrontendsInGroupCreatorIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetMicrofrontendsInGroupCreatorIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getMicrofrontendsInGroupCreator4FromJSON( jsonString: string, @@ -2088,10 +2131,12 @@ export const GetMicrofrontendsInGroupCreatorApp$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getMicrofrontendsInGroupCreatorAppFromJSON( jsonString: string, @@ -2109,10 +2154,12 @@ export const GetMicrofrontendsInGroupCreator3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetMicrofrontendsInGroupCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetMicrofrontendsInGroupCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function getMicrofrontendsInGroupCreator3FromJSON( jsonString: string, @@ -2129,9 +2176,11 @@ export const GetMicrofrontendsInGroupCreatorProject$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getMicrofrontendsInGroupCreatorProjectFromJSON( jsonString: string, @@ -2149,10 +2198,12 @@ export const GetMicrofrontendsInGroupCreator2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetMicrofrontendsInGroupCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetMicrofrontendsInGroupCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function getMicrofrontendsInGroupCreator2FromJSON( jsonString: string, @@ -2169,10 +2220,12 @@ export const GetMicrofrontendsInGroupViaIntegration$inboundSchema: z.ZodType< GetMicrofrontendsInGroupViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getMicrofrontendsInGroupViaIntegrationFromJSON( jsonString: string, @@ -2190,12 +2243,14 @@ export const GetMicrofrontendsInGroupVia2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetMicrofrontendsInGroupViaIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetMicrofrontendsInGroupViaIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getMicrofrontendsInGroupVia2FromJSON( jsonString: string, @@ -2212,10 +2267,12 @@ export const GetMicrofrontendsInGroupViaApp$inboundSchema: z.ZodType< GetMicrofrontendsInGroupViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getMicrofrontendsInGroupViaAppFromJSON( jsonString: string, @@ -2232,10 +2289,12 @@ export const GetMicrofrontendsInGroupVia1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetMicrofrontendsInGroupViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetMicrofrontendsInGroupViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function getMicrofrontendsInGroupVia1FromJSON( jsonString: string, @@ -2252,10 +2311,12 @@ export const GetMicrofrontendsInGroupCreatorVia$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupVia1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupVia1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupVia2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupCreatorViaFromJSON( jsonString: string, @@ -2273,9 +2334,11 @@ export const GetMicrofrontendsInGroupCreatorUser$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getMicrofrontendsInGroupCreatorUserFromJSON( jsonString: string, @@ -2293,16 +2356,18 @@ export const GetMicrofrontendsInGroupCreator1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetMicrofrontendsInGroupVia1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupVia2$inboundSchema), - ]), - ), - user: z.lazy(() => GetMicrofrontendsInGroupCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetMicrofrontendsInGroupCreatorUser$inboundSchema + ), + }) +); export function getMicrofrontendsInGroupCreator1FromJSON( jsonString: string, @@ -2319,13 +2384,15 @@ export const GetMicrofrontendsInGroupCreator$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupCreator1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupCreator2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupCreator3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupCreator4$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupCreator1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupCreator2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupCreator3$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupCreator4$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupCreator5$inboundSchema), + ]) +); export function getMicrofrontendsInGroupCreatorFromJSON( jsonString: string, @@ -2340,21 +2407,25 @@ export function getMicrofrontendsInGroupCreatorFromJSON( /** @internal */ export const GetMicrofrontendsInGroupSource$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupSource -> = z.nativeEnum(GetMicrofrontendsInGroupSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupSource) +); /** @internal */ export const GetMicrofrontendsInGroupDefinitions$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(GetMicrofrontendsInGroupSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(GetMicrofrontendsInGroupSource$inboundSchema), + }) +); export function getMicrofrontendsInGroupDefinitionsFromJSON( jsonString: string, @@ -2372,15 +2443,17 @@ export const GetMicrofrontendsInGroupCrons$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array( - z.lazy(() => GetMicrofrontendsInGroupDefinitions$inboundSchema), - ), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array( + z.lazy(() => GetMicrofrontendsInGroupDefinitions$inboundSchema), + ), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function getMicrofrontendsInGroupCronsFromJSON( jsonString: string, @@ -2396,8 +2469,10 @@ export function getMicrofrontendsInGroupCronsFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType, + ) ); /** @internal */ @@ -2405,11 +2480,13 @@ export const GetMicrofrontendsInGroupBranchMatcher$inboundSchema: z.ZodType< GetMicrofrontendsInGroupBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema, + }) +); export function getMicrofrontendsInGroupBranchMatcherFromJSON( jsonString: string, @@ -2427,12 +2504,14 @@ export const GetMicrofrontendsInGroupVerification$inboundSchema: z.ZodType< GetMicrofrontendsInGroupVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getMicrofrontendsInGroupVerificationFromJSON( jsonString: string, @@ -2450,21 +2529,23 @@ export const GetMicrofrontendsInGroupDomains$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => GetMicrofrontendsInGroupVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => GetMicrofrontendsInGroupVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function getMicrofrontendsInGroupDomainsFromJSON( jsonString: string, @@ -2479,26 +2560,30 @@ export function getMicrofrontendsInGroupDomainsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupType -> = z.nativeEnum(GetMicrofrontendsInGroupType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupType) +); /** @internal */ export const GetMicrofrontendsInGroupCustomEnvironments$inboundSchema: z.ZodType = - z.object({ - branchMatcher: types.optional( - z.lazy(() => GetMicrofrontendsInGroupBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => GetMicrofrontendsInGroupDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: GetMicrofrontendsInGroupType$inboundSchema, - updatedAt: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => GetMicrofrontendsInGroupBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => GetMicrofrontendsInGroupDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: GetMicrofrontendsInGroupType$inboundSchema, + updatedAt: types.number(), + }) + ); export function getMicrofrontendsInGroupCustomEnvironmentsFromJSON( jsonString: string, @@ -2521,11 +2606,13 @@ export const GetMicrofrontendsInGroupDataCache$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function getMicrofrontendsInGroupDataCacheFromJSON( jsonString: string, @@ -2541,14 +2628,18 @@ export function getMicrofrontendsInGroupDataCacheFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason, + ) ); /** @internal */ export const GetMicrofrontendsInGroupDirection$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupDirection -> = z.nativeEnum(GetMicrofrontendsInGroupDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupDirection) +); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransition$inboundSchema: @@ -2556,11 +2647,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransition GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetMicrofrontendsInGroupDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetMicrofrontendsInGroupDirection$inboundSchema, + }) + ); export function getMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2581,30 +2674,37 @@ export function getMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransit export const GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsBuildMachineType - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsBuildMachineType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsBuildMachineType) + ); /** @internal */ export const GetMicrofrontendsInGroupConfiguration$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetMicrofrontendsInGroupConfiguration, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupConfiguration) + ); /** @internal */ export const GetMicrofrontendsInGroupBuildQueue$inboundSchema: z.ZodType< GetMicrofrontendsInGroupBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - GetMicrofrontendsInGroupConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetMicrofrontendsInGroupConfiguration$inboundSchema, + ), + }) +); export function getMicrofrontendsInGroupBuildQueueFromJSON( jsonString: string, @@ -2621,8 +2721,10 @@ export function getMicrofrontendsInGroupBuildQueueFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType, + ) ); /** @internal */ @@ -2631,11 +2733,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends4$inboundS GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachineMicrofrontends4FromJSON( jsonString: string, @@ -2658,11 +2762,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends3$inboundS GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachineMicrofrontends3FromJSON( jsonString: string, @@ -2685,11 +2791,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends2$inboundS GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachineMicrofrontends2FromJSON( jsonString: string, @@ -2712,11 +2820,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends1$inboundS GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachineMicrofrontends1FromJSON( jsonString: string, @@ -2739,20 +2849,22 @@ export const GetMicrofrontendsInGroupMicrofrontendsElasticBuildMachine$inboundSc GetMicrofrontendsInGroupMicrofrontendsElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends1$inboundSchema - ), - z.lazy(() => - GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends2$inboundSchema - ), - z.lazy(() => - GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends3$inboundSchema - ), - z.lazy(() => - GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends4$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends1$inboundSchema + ), + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends2$inboundSchema + ), + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends3$inboundSchema + ), + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends4$inboundSchema + ), + ]) + ); export function getMicrofrontendsInGroupMicrofrontendsElasticBuildMachineFromJSON( jsonString: string, @@ -2775,37 +2887,35 @@ export const GetMicrofrontendsInGroupDefaultResourceConfig$inboundSchema: GetMicrofrontendsInGroupDefaultResourceConfig, z.ZodTypeDef, unknown - > = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - GetMicrofrontendsInGroupMicrofrontendsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetMicrofrontendsInGroupMicrofrontendsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => GetMicrofrontendsInGroupBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + GetMicrofrontendsInGroupMicrofrontendsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + GetMicrofrontendsInGroupBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetMicrofrontendsInGroupMicrofrontendsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends1$inboundSchema ), @@ -2818,9 +2928,9 @@ export const GetMicrofrontendsInGroupDefaultResourceConfig$inboundSchema: z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachineMicrofrontends4$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function getMicrofrontendsInGroupDefaultResourceConfigFromJSON( jsonString: string, @@ -2844,13 +2954,15 @@ export const GetMicrofrontendsInGroupDeploymentExpiration$inboundSchema: GetMicrofrontendsInGroupDeploymentExpiration, z.ZodTypeDef, unknown - > = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) + ); export function getMicrofrontendsInGroupDeploymentExpirationFromJSON( jsonString: string, @@ -2874,10 +2986,12 @@ export const GetMicrofrontendsInGroupEnvironmentsMicrofrontends2$inboundSchema: GetMicrofrontendsInGroupEnvironmentsMicrofrontends2, z.ZodTypeDef, unknown - > = z.object({ - environmentId: types.string(), - type: types.literal("custom"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) + ); export function getMicrofrontendsInGroupEnvironmentsMicrofrontends2FromJSON( jsonString: string, @@ -2899,18 +3013,22 @@ export function getMicrofrontendsInGroupEnvironmentsMicrofrontends2FromJSON( export const GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget - > = z.nativeEnum(GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget) + ); /** @internal */ export const GetMicrofrontendsInGroupEnvironments1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: - GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: + GetMicrofrontendsInGroupEnvironmentsMicrofrontendsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function getMicrofrontendsInGroupEnvironments1FromJSON( jsonString: string, @@ -2928,12 +3046,14 @@ export const GetMicrofrontendsInGroupEnvironments$inboundSchema: z.ZodType< GetMicrofrontendsInGroupEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupEnvironments1$inboundSchema), - z.lazy(() => - GetMicrofrontendsInGroupEnvironmentsMicrofrontends2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupEnvironments1$inboundSchema), + z.lazy(() => + GetMicrofrontendsInGroupEnvironmentsMicrofrontends2$inboundSchema + ), + ]) +); export function getMicrofrontendsInGroupEnvironmentsFromJSON( jsonString: string, @@ -2949,25 +3069,27 @@ export function getMicrofrontendsInGroupEnvironmentsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupSources$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupSources -> = z.nativeEnum(GetMicrofrontendsInGroupSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupSources) +); /** @internal */ export const GetMicrofrontendsInGroupDeploymentSources$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetMicrofrontendsInGroupEnvironments1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupEnvironmentsMicrofrontends2$inboundSchema ), - ]), - ), - sources: z.array(GetMicrofrontendsInGroupSources$inboundSchema), -}); + ])), + sources: z.array(GetMicrofrontendsInGroupSources$inboundSchema), + }) +); export function getMicrofrontendsInGroupDeploymentSourcesFromJSON( jsonString: string, @@ -2990,10 +3112,12 @@ export const GetMicrofrontendsInGroupEnvironments2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function getMicrofrontendsInGroupEnvironments2FromJSON( jsonString: string, @@ -3008,8 +3132,10 @@ export function getMicrofrontendsInGroupEnvironments2FromJSON( /** @internal */ export const GetMicrofrontendsInGroupEnvironmentsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupEnvironmentsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupEnvironmentsTarget) + ); /** @internal */ export const GetMicrofrontendsInGroupEnvironmentsMicrofrontends1$inboundSchema: @@ -3017,10 +3143,12 @@ export const GetMicrofrontendsInGroupEnvironmentsMicrofrontends1$inboundSchema: GetMicrofrontendsInGroupEnvironmentsMicrofrontends1, z.ZodTypeDef, unknown - > = z.object({ - target: GetMicrofrontendsInGroupEnvironmentsTarget$inboundSchema, - type: types.literal("system"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetMicrofrontendsInGroupEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) + ); export function getMicrofrontendsInGroupEnvironmentsMicrofrontends1FromJSON( jsonString: string, @@ -3044,12 +3172,14 @@ export const GetMicrofrontendsInGroupMicrofrontendsEnvironments$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsEnvironments, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - GetMicrofrontendsInGroupEnvironmentsMicrofrontends1$inboundSchema - ), - z.lazy(() => GetMicrofrontendsInGroupEnvironments2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetMicrofrontendsInGroupEnvironmentsMicrofrontends1$inboundSchema + ), + z.lazy(() => GetMicrofrontendsInGroupEnvironments2$inboundSchema), + ]) + ); export function getMicrofrontendsInGroupMicrofrontendsEnvironmentsFromJSON( jsonString: string, @@ -3072,11 +3202,13 @@ export const GetMicrofrontendsInGroupSources2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function getMicrofrontendsInGroupSources2FromJSON( jsonString: string, @@ -3092,18 +3224,23 @@ export function getMicrofrontendsInGroupSources2FromJSON( export const GetMicrofrontendsInGroupSourcesMicrofrontendsProvider$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupSourcesMicrofrontendsProvider - > = z.nativeEnum(GetMicrofrontendsInGroupSourcesMicrofrontendsProvider); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupSourcesMicrofrontendsProvider) + ); /** @internal */ export const GetMicrofrontendsInGroupSources1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: GetMicrofrontendsInGroupSourcesMicrofrontendsProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: + GetMicrofrontendsInGroupSourcesMicrofrontendsProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function getMicrofrontendsInGroupSources1FromJSON( jsonString: string, @@ -3121,15 +3258,17 @@ export const GetMicrofrontendsInGroupMicrofrontendsSources$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsSources, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetMicrofrontendsInGroupSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => GetMicrofrontendsInGroupSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => GetMicrofrontendsInGroupSources2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => GetMicrofrontendsInGroupSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => GetMicrofrontendsInGroupSources2$inboundSchema), + ]) + ); export function getMicrofrontendsInGroupMicrofrontendsSourcesFromJSON( jsonString: string, @@ -3152,18 +3291,16 @@ export const GetMicrofrontendsInGroupGitSources$inboundSchema: z.ZodType< GetMicrofrontendsInGroupGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetMicrofrontendsInGroupEnvironmentsMicrofrontends1$inboundSchema ), z.lazy(() => GetMicrofrontendsInGroupEnvironments2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => GetMicrofrontendsInGroupSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3171,9 +3308,9 @@ export const GetMicrofrontendsInGroupGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => GetMicrofrontendsInGroupSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getMicrofrontendsInGroupGitSourcesFromJSON( jsonString: string, @@ -3191,16 +3328,16 @@ export const GetMicrofrontendsInGroupDeploymentPolicy$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array( - z.lazy(() => GetMicrofrontendsInGroupDeploymentSources$inboundSchema), - ), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => GetMicrofrontendsInGroupGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable(z.array(z.lazy(() => + GetMicrofrontendsInGroupDeploymentSources$inboundSchema + ))).optional(), + gitSources: z.nullable(z.array(z.lazy(() => + GetMicrofrontendsInGroupGitSources$inboundSchema + ))).optional(), + }) +); export function getMicrofrontendsInGroupDeploymentPolicyFromJSON( jsonString: string, @@ -3221,14 +3358,18 @@ export function getMicrofrontendsInGroupDeploymentPolicyFromJSON( /** @internal */ export const GetMicrofrontendsInGroupAction$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupAction -> = z.nativeEnum(GetMicrofrontendsInGroupAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupAction) +); /** @internal */ export const GetMicrofrontendsInGroupValueCurrentValue$inboundSchema: z.ZodType< GetMicrofrontendsInGroupValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function getMicrofrontendsInGroupValueCurrentValueFromJSON( jsonString: string, @@ -3249,7 +3390,9 @@ export function getMicrofrontendsInGroupValueCurrentValueFromJSON( /** @internal */ export const GetMicrofrontendsInGroupValuePreviousValue$inboundSchema: z.ZodType = - smartUnion([types.string(), types.number(), types.boolean()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) + ); export function getMicrofrontendsInGroupValuePreviousValueFromJSON( jsonString: string, @@ -3272,10 +3415,16 @@ export const GetMicrofrontendsInGroupValue3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function getMicrofrontendsInGroupValue3FromJSON( jsonString: string, @@ -3292,12 +3441,14 @@ export const GetMicrofrontendsInGroupValue$inboundSchema: z.ZodType< GetMicrofrontendsInGroupValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function getMicrofrontendsInGroupValueFromJSON( jsonString: string, @@ -3314,19 +3465,19 @@ export const GetMicrofrontendsInGroupDismissedToasts$inboundSchema: z.ZodType< GetMicrofrontendsInGroupDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: GetMicrofrontendsInGroupAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetMicrofrontendsInGroupAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => GetMicrofrontendsInGroupValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function getMicrofrontendsInGroupDismissedToastsFromJSON( jsonString: string, @@ -3349,10 +3500,12 @@ export const GetMicrofrontendsInGroupContentHint17$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getMicrofrontendsInGroupContentHint17FromJSON( jsonString: string, @@ -3370,13 +3523,15 @@ export const GetMicrofrontendsInGroupContentHint16$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getMicrofrontendsInGroupContentHint16FromJSON( jsonString: string, @@ -3394,10 +3549,12 @@ export const GetMicrofrontendsInGroupContentHint15$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getMicrofrontendsInGroupContentHint15FromJSON( jsonString: string, @@ -3415,10 +3572,12 @@ export const GetMicrofrontendsInGroupContentHint14$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getMicrofrontendsInGroupContentHint14FromJSON( jsonString: string, @@ -3436,10 +3595,12 @@ export const GetMicrofrontendsInGroupContentHint13$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getMicrofrontendsInGroupContentHint13FromJSON( jsonString: string, @@ -3457,10 +3618,12 @@ export const GetMicrofrontendsInGroupContentHint12$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getMicrofrontendsInGroupContentHint12FromJSON( jsonString: string, @@ -3478,10 +3641,12 @@ export const GetMicrofrontendsInGroupContentHint11$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getMicrofrontendsInGroupContentHint11FromJSON( jsonString: string, @@ -3499,10 +3664,12 @@ export const GetMicrofrontendsInGroupContentHint10$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getMicrofrontendsInGroupContentHint10FromJSON( jsonString: string, @@ -3520,10 +3687,12 @@ export const GetMicrofrontendsInGroupContentHint9$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getMicrofrontendsInGroupContentHint9FromJSON( jsonString: string, @@ -3541,10 +3710,12 @@ export const GetMicrofrontendsInGroupContentHint8$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getMicrofrontendsInGroupContentHint8FromJSON( jsonString: string, @@ -3562,10 +3733,12 @@ export const GetMicrofrontendsInGroupContentHint7$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getMicrofrontendsInGroupContentHint7FromJSON( jsonString: string, @@ -3583,10 +3756,12 @@ export const GetMicrofrontendsInGroupContentHint6$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getMicrofrontendsInGroupContentHint6FromJSON( jsonString: string, @@ -3604,10 +3779,12 @@ export const GetMicrofrontendsInGroupContentHint5$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getMicrofrontendsInGroupContentHint5FromJSON( jsonString: string, @@ -3625,10 +3802,12 @@ export const GetMicrofrontendsInGroupContentHint4$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getMicrofrontendsInGroupContentHint4FromJSON( jsonString: string, @@ -3646,10 +3825,12 @@ export const GetMicrofrontendsInGroupContentHint3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getMicrofrontendsInGroupContentHint3FromJSON( jsonString: string, @@ -3667,10 +3848,12 @@ export const GetMicrofrontendsInGroupContentHint2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getMicrofrontendsInGroupContentHint2FromJSON( jsonString: string, @@ -3688,10 +3871,12 @@ export const GetMicrofrontendsInGroupContentHint1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getMicrofrontendsInGroupContentHint1FromJSON( jsonString: string, @@ -3709,25 +3894,27 @@ export const GetMicrofrontendsInGroupContentHint$inboundSchema: z.ZodType< GetMicrofrontendsInGroupContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupContentHint1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint4$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint5$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint6$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint7$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint8$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint9$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint10$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint11$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint12$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint13$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint14$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint15$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint16$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupContentHint1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint3$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint4$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint5$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint6$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint7$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint8$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint9$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint10$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint11$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint12$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint13$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint14$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint15$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint16$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupContentHint17$inboundSchema), + ]) +); export function getMicrofrontendsInGroupContentHintFromJSON( jsonString: string, @@ -3744,8 +3931,10 @@ export function getMicrofrontendsInGroupContentHintFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType, + ) ); /** @internal */ @@ -3754,11 +3943,13 @@ export const GetMicrofrontendsInGroupInternalContentHint$inboundSchema: GetMicrofrontendsInGroupInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema, + }) + ); export function getMicrofrontendsInGroupInternalContentHintFromJSON( jsonString: string, @@ -3779,12 +3970,16 @@ export function getMicrofrontendsInGroupInternalContentHintFromJSON( /** @internal */ export const GetMicrofrontendsInGroupTarget2$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupTarget2 -> = z.nativeEnum(GetMicrofrontendsInGroupTarget2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTarget2) +); /** @internal */ export const GetMicrofrontendsInGroupTarget1$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupTarget1 -> = z.nativeEnum(GetMicrofrontendsInGroupTarget1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTarget1) +); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsTarget$inboundSchema: @@ -3792,10 +3987,12 @@ export const GetMicrofrontendsInGroupMicrofrontendsTarget$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(GetMicrofrontendsInGroupTarget1$inboundSchema), - GetMicrofrontendsInGroupTarget2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetMicrofrontendsInGroupTarget1$inboundSchema), + GetMicrofrontendsInGroupTarget2$inboundSchema, + ]) + ); export function getMicrofrontendsInGroupMicrofrontendsTargetFromJSON( jsonString: string, @@ -3815,24 +4012,28 @@ export function getMicrofrontendsInGroupMicrofrontendsTargetFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsType) + ); /** @internal */ export const GetMicrofrontendsInGroupVisibility$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupVisibility -> = z.nativeEnum(GetMicrofrontendsInGroupVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupVisibility) +); /** @internal */ export const GetMicrofrontendsInGroupEnv$inboundSchema: z.ZodType< GetMicrofrontendsInGroupEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetMicrofrontendsInGroupContentHint1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupContentHint2$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupContentHint3$inboundSchema), @@ -3850,35 +4051,37 @@ export const GetMicrofrontendsInGroupEnv$inboundSchema: z.ZodType< z.lazy(() => GetMicrofrontendsInGroupContentHint15$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupContentHint16$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => GetMicrofrontendsInGroupInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetMicrofrontendsInGroupTarget1$inboundSchema), - GetMicrofrontendsInGroupTarget2$inboundSchema, - ]), - ), - type: GetMicrofrontendsInGroupMicrofrontendsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(GetMicrofrontendsInGroupVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + GetMicrofrontendsInGroupInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetMicrofrontendsInGroupTarget1$inboundSchema), + GetMicrofrontendsInGroupTarget2$inboundSchema, + ]), + ), + type: GetMicrofrontendsInGroupMicrofrontendsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + GetMicrofrontendsInGroupVisibility$inboundSchema, + ), + vsmValue: types.optional(types.string()), + }) +); export function getMicrofrontendsInGroupEnvFromJSON( jsonString: string, @@ -3895,10 +4098,12 @@ export const GetMicrofrontendsInGroupExpiration2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function getMicrofrontendsInGroupExpiration2FromJSON( jsonString: string, @@ -3916,9 +4121,11 @@ export const GetMicrofrontendsInGroupExpiration1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function getMicrofrontendsInGroupExpiration1FromJSON( jsonString: string, @@ -3936,10 +4143,12 @@ export const GetMicrofrontendsInGroupExpiration$inboundSchema: z.ZodType< GetMicrofrontendsInGroupExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupExpiration2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupExpiration2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupExpiration1$inboundSchema), + ]) +); export function getMicrofrontendsInGroupExpirationFromJSON( jsonString: string, @@ -3957,9 +4166,11 @@ export const GetMicrofrontendsInGroupFeatures$inboundSchema: z.ZodType< GetMicrofrontendsInGroupFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupFeaturesFromJSON( jsonString: string, @@ -3974,17 +4185,21 @@ export function getMicrofrontendsInGroupFeaturesFromJSON( /** @internal */ export const GetMicrofrontendsInGroupFramework$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupFramework -> = z.nativeEnum(GetMicrofrontendsInGroupFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupFramework) +); /** @internal */ export const GetMicrofrontendsInGroupGitComments$inboundSchema: z.ZodType< GetMicrofrontendsInGroupGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function getMicrofrontendsInGroupGitCommentsFromJSON( jsonString: string, @@ -4003,10 +4218,12 @@ export const GetMicrofrontendsInGroupConsolidatedGitCommitStatus$inboundSchema: GetMicrofrontendsInGroupConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function getMicrofrontendsInGroupConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -4026,24 +4243,26 @@ export function getMicrofrontendsInGroupConsolidatedGitCommitStatusFromJSON( /** @internal */ export const GetMicrofrontendsInGroupCreateDeployments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupCreateDeployments); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupCreateDeployments) + ); /** @internal */ export const GetMicrofrontendsInGroupGitProviderOptions$inboundSchema: z.ZodType = - z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => + /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional(z.lazy(() => GetMicrofrontendsInGroupConsolidatedGitCommitStatus$inboundSchema - ), - ), - createDeployments: - GetMicrofrontendsInGroupCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), - }); + )), + createDeployments: + GetMicrofrontendsInGroupCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) + ); export function getMicrofrontendsInGroupGitProviderOptionsFromJSON( jsonString: string, @@ -4067,9 +4286,11 @@ export const GetMicrofrontendsInGroupHasMicrofrontendsValue$inboundSchema: GetMicrofrontendsInGroupHasMicrofrontendsValue, z.ZodTypeDef, unknown - > = z.object({ - eq: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) + ); export function getMicrofrontendsInGroupHasMicrofrontendsValueFromJSON( jsonString: string, @@ -4092,12 +4313,14 @@ export const GetMicrofrontendsInGroupHas2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => - GetMicrofrontendsInGroupHasMicrofrontendsValue$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => + GetMicrofrontendsInGroupHasMicrofrontendsValue$inboundSchema + ), + }) +); export function getMicrofrontendsInGroupHas2FromJSON( jsonString: string, @@ -4112,16 +4335,20 @@ export function getMicrofrontendsInGroupHas2FromJSON( /** @internal */ export const GetMicrofrontendsInGroupHasKey$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupHasKey -> = z.nativeEnum(GetMicrofrontendsInGroupHasKey); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupHasKey) +); /** @internal */ export const GetMicrofrontendsInGroupHasValue$inboundSchema: z.ZodType< GetMicrofrontendsInGroupHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getMicrofrontendsInGroupHasValueFromJSON( jsonString: string, @@ -4138,11 +4365,13 @@ export const GetMicrofrontendsInGroupHas1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupHas1, z.ZodTypeDef, unknown -> = z.object({ - key: GetMicrofrontendsInGroupHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => GetMicrofrontendsInGroupHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: GetMicrofrontendsInGroupHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => GetMicrofrontendsInGroupHasValue$inboundSchema), + }) +); export function getMicrofrontendsInGroupHas1FromJSON( jsonString: string, @@ -4159,10 +4388,12 @@ export const GetMicrofrontendsInGroupInternalRoutesHas$inboundSchema: z.ZodType< GetMicrofrontendsInGroupInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupHas1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupHas1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupHas2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupInternalRoutesHasFromJSON( jsonString: string, @@ -4182,8 +4413,10 @@ export function getMicrofrontendsInGroupInternalRoutesHasFromJSON( /** @internal */ export const GetMicrofrontendsInGroupInternalRoutesAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupInternalRoutesAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupInternalRoutesAction) + ); /** @internal */ export const GetMicrofrontendsInGroupInternalRoutesMitigate$inboundSchema: @@ -4191,9 +4424,11 @@ export const GetMicrofrontendsInGroupInternalRoutesMitigate$inboundSchema: GetMicrofrontendsInGroupInternalRoutesMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: GetMicrofrontendsInGroupInternalRoutesAction$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetMicrofrontendsInGroupInternalRoutesAction$inboundSchema, + }) + ); export function getMicrofrontendsInGroupInternalRoutesMitigateFromJSON( jsonString: string, @@ -4216,18 +4451,18 @@ export const GetMicrofrontendsInGroupInternalRoutes2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => GetMicrofrontendsInGroupHas1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - GetMicrofrontendsInGroupInternalRoutesMitigate$inboundSchema - ), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + GetMicrofrontendsInGroupInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function getMicrofrontendsInGroupInternalRoutes2FromJSON( jsonString: string, @@ -4250,11 +4485,13 @@ export const GetMicrofrontendsInGroupInternalRoutes1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function getMicrofrontendsInGroupInternalRoutes1FromJSON( jsonString: string, @@ -4277,10 +4514,12 @@ export const GetMicrofrontendsInGroupInternalRoutes$inboundSchema: z.ZodType< GetMicrofrontendsInGroupInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupInternalRoutes1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupInternalRoutes1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupInternalRoutes2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupInternalRoutesFromJSON( jsonString: string, @@ -4298,11 +4537,13 @@ export const GetMicrofrontendsInGroupIpBuckets$inboundSchema: z.ZodType< GetMicrofrontendsInGroupIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupIpBucketsFromJSON( jsonString: string, @@ -4320,9 +4561,11 @@ export const GetMicrofrontendsInGroupFlagDefinitionsPresent$inboundSchema: GetMicrofrontendsInGroupFlagDefinitionsPresent, z.ZodTypeDef, unknown - > = z.object({ - targets: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) + ); export function getMicrofrontendsInGroupFlagDefinitionsPresentFromJSON( jsonString: string, @@ -4345,9 +4588,11 @@ export const GetMicrofrontendsInGroupHealthCheck$inboundSchema: z.ZodType< GetMicrofrontendsInGroupHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupHealthCheckFromJSON( jsonString: string, @@ -4365,9 +4610,11 @@ export const GetMicrofrontendsInGroupLint$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupLintFromJSON( jsonString: string, @@ -4384,9 +4631,11 @@ export const GetMicrofrontendsInGroupMfeConfigPresent$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupMfeConfigPresentFromJSON( jsonString: string, @@ -4409,9 +4658,11 @@ export const GetMicrofrontendsInGroupTypecheck$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupTypecheckFromJSON( jsonString: string, @@ -4428,29 +4679,33 @@ export const GetMicrofrontendsInGroupJobs$inboundSchema: z.ZodType< GetMicrofrontendsInGroupJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => GetMicrofrontendsInGroupFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => GetMicrofrontendsInGroupHealthCheck$inboundSchema), - ), - lint: types.optional( - z.lazy(() => GetMicrofrontendsInGroupLint$inboundSchema), - ), - "mfe-config-present": types.optional( - z.lazy(() => GetMicrofrontendsInGroupMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional( - z.lazy(() => GetMicrofrontendsInGroupTypecheck$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => + GetMicrofrontendsInGroupFlagDefinitionsPresent$inboundSchema + ), + ), + "health-check": types.optional( + z.lazy(() => GetMicrofrontendsInGroupHealthCheck$inboundSchema), + ), + lint: types.optional( + z.lazy(() => GetMicrofrontendsInGroupLint$inboundSchema), + ), + "mfe-config-present": types.optional( + z.lazy(() => GetMicrofrontendsInGroupMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => GetMicrofrontendsInGroupTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function getMicrofrontendsInGroupJobsFromJSON( jsonString: string, @@ -4465,26 +4720,32 @@ export function getMicrofrontendsInGroupJobsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupJobStatus$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupJobStatus -> = z.nativeEnum(GetMicrofrontendsInGroupJobStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupJobStatus) +); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseType) + ); /** @internal */ export const GetMicrofrontendsInGroupLastAliasRequest$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: GetMicrofrontendsInGroupJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: GetMicrofrontendsInGroupMicrofrontendsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: GetMicrofrontendsInGroupJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: GetMicrofrontendsInGroupMicrofrontendsResponseType$inboundSchema, + }) +); export function getMicrofrontendsInGroupLastAliasRequestFromJSON( jsonString: string, @@ -4505,7 +4766,7 @@ export function getMicrofrontendsInGroupLastAliasRequestFromJSON( /** @internal */ export const GetMicrofrontendsInGroupLastRollbackTarget$inboundSchema: z.ZodType = - z.object({}); + /* @__PURE__ */ lazySchema$(() => z.object({})); export function getMicrofrontendsInGroupLastRollbackTargetFromJSON( jsonString: string, @@ -4529,7 +4790,9 @@ export const GetMicrofrontendsInGroupMicrofrontendsAliasAssigned$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getMicrofrontendsInGroupMicrofrontendsAliasAssignedFromJSON( jsonString: string, @@ -4552,10 +4815,12 @@ export const GetMicrofrontendsInGroupAliasError$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getMicrofrontendsInGroupAliasErrorFromJSON( jsonString: string, @@ -4572,8 +4837,10 @@ export function getMicrofrontendsInGroupAliasErrorFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType, + ) ); /** @internal */ @@ -4582,11 +4849,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsBranchMatcher$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, + }) + ); export function getMicrofrontendsInGroupMicrofrontendsBranchMatcherFromJSON( jsonString: string, @@ -4609,11 +4878,13 @@ export const GetMicrofrontendsInGroupBuilds$inboundSchema: z.ZodType< GetMicrofrontendsInGroupBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getMicrofrontendsInGroupBuildsFromJSON( jsonString: string, @@ -4627,5 +4898,7 @@ export function getMicrofrontendsInGroupBuildsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupChecksConclusion) + ); diff --git a/src/models/getmicrofrontendsingroupresponsebody.ts b/src/models/getmicrofrontendsingroupresponsebody.ts index b8db384337..bca974c6ed 100644 --- a/src/models/getmicrofrontendsingroupresponsebody.ts +++ b/src/models/getmicrofrontendsingroupresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -371,12 +371,14 @@ export const GetMicrofrontendsInGroupToMicrofrontends1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupToMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - GetMicrofrontendsInGroupToMicrofrontendsResponsePreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetMicrofrontendsInGroupToMicrofrontendsResponsePreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupToMicrofrontends1FromJSON( jsonString: string, @@ -399,10 +401,12 @@ export const GetMicrofrontendsInGroupMicrofrontendsTo$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMicrofrontendsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupToMicrofrontends1$inboundSchema), - GetMicrofrontendsInGroupToMicrofrontends2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupToMicrofrontends1$inboundSchema), + GetMicrofrontendsInGroupToMicrofrontends2$inboundSchema, + ]) +); export function getMicrofrontendsInGroupMicrofrontendsToFromJSON( jsonString: string, @@ -425,13 +429,15 @@ export const GetMicrofrontendsInGroupCustomAllow$inboundSchema: z.ZodType< GetMicrofrontendsInGroupCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: GetMicrofrontendsInGroupFrom$inboundSchema, - to: smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupToMicrofrontends1$inboundSchema), - GetMicrofrontendsInGroupToMicrofrontends2$inboundSchema, - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: GetMicrofrontendsInGroupFrom$inboundSchema, + to: smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupToMicrofrontends1$inboundSchema), + GetMicrofrontendsInGroupToMicrofrontends2$inboundSchema, + ]), + }) +); export function getMicrofrontendsInGroupCustomAllowFromJSON( jsonString: string, @@ -450,12 +456,16 @@ export const GetMicrofrontendsInGroupMicrofrontendsProjects$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsProjects, z.ZodTypeDef, unknown - > = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => GetMicrofrontendsInGroupCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array( + z.lazy(() => GetMicrofrontendsInGroupCustomAllow$inboundSchema), + ), + ), + label: types.optional(types.string()), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsProjectsFromJSON( jsonString: string, @@ -478,17 +488,17 @@ export const GetMicrofrontendsInGroupTrustedSources$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(GetMicrofrontendsInGroupOidcProviders$inboundSchema)), - ), - projects: types.optional( - z.record(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(GetMicrofrontendsInGroupOidcProviders$inboundSchema)), + ), + projects: types.optional(z.record(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsProjects$inboundSchema - )), - ), -}); + ))), + }) +); export function getMicrofrontendsInGroupTrustedSourcesFromJSON( jsonString: string, @@ -504,20 +514,24 @@ export function getMicrofrontendsInGroupTrustedSourcesFromJSON( /** @internal */ export const GetMicrofrontendsInGroupKind$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupKind -> = z.nativeEnum(GetMicrofrontendsInGroupKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupKind) +); /** @internal */ export const GetMicrofrontendsInGroupUsageStatus$inboundSchema: z.ZodType< GetMicrofrontendsInGroupUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: GetMicrofrontendsInGroupKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: GetMicrofrontendsInGroupKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupUsageStatusFromJSON( jsonString: string, @@ -535,9 +549,11 @@ export const GetMicrofrontendsInGroupVercelFlags$inboundSchema: z.ZodType< GetMicrofrontendsInGroupVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupVercelFlagsFromJSON( jsonString: string, @@ -555,13 +571,15 @@ export const GetMicrofrontendsInGroupWebAnalytics$inboundSchema: z.ZodType< GetMicrofrontendsInGroupWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function getMicrofrontendsInGroupWebAnalyticsFromJSON( jsonString: string, @@ -579,166 +597,171 @@ export const GetMicrofrontendsInGroupProjects$inboundSchema: z.ZodType< GetMicrofrontendsInGroupProjects, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(GetMicrofrontendsInGroupAlias$inboundSchema), - analytics: types.optional(GetMicrofrontendsInGroupAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(GetMicrofrontendsInGroupBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(GetMicrofrontendsInGroupConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(GetMicrofrontendsInGroupCreator$inboundSchema), - crons: types.optional(GetMicrofrontendsInGroupCrons$inboundSchema), - customEnvironments: types.optional( - z.array(GetMicrofrontendsInGroupCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(GetMicrofrontendsInGroupDataCache$inboundSchema), - defaultResourceConfig: - GetMicrofrontendsInGroupDefaultResourceConfig$inboundSchema, - deploymentExpiration: - GetMicrofrontendsInGroupDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable( - GetMicrofrontendsInGroupDeploymentPolicy$inboundSchema, - ).optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(GetMicrofrontendsInGroupDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(GetMicrofrontendsInGroupEnv$inboundSchema)), - expiration: types.optional(GetMicrofrontendsInGroupExpiration$inboundSchema), - features: types.optional(GetMicrofrontendsInGroupFeatures$inboundSchema), - framework: z.nullable(GetMicrofrontendsInGroupFramework$inboundSchema) - .optional(), - gitComments: types.optional( - GetMicrofrontendsInGroupGitComments$inboundSchema, - ), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - GetMicrofrontendsInGroupGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(GetMicrofrontendsInGroupInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(GetMicrofrontendsInGroupIpBuckets$inboundSchema), - ), - jobs: types.optional(GetMicrofrontendsInGroupJobs$inboundSchema), - lastAliasRequest: z.nullable( - GetMicrofrontendsInGroupLastAliasRequest$inboundSchema, - ).optional(), - lastRollbackTarget: z.nullable( - GetMicrofrontendsInGroupLastRollbackTarget$inboundSchema, - ).optional(), - latestDeployments: types.optional( - z.array(GetMicrofrontendsInGroupLatestDeployments$inboundSchema), - ), - link: types.optional(GetMicrofrontendsInGroupLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional( - GetMicrofrontendsInGroupMicrofrontends$inboundSchema, - ), - name: types.string(), - nodeVersion: GetMicrofrontendsInGroupNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - GetMicrofrontendsInGroupOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable( - GetMicrofrontendsInGroupOptionsAllowlist$inboundSchema, - ).optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(GetMicrofrontendsInGroupPassport$inboundSchema) - .optional(), - passwordProtection: z.nullable( - GetMicrofrontendsInGroupPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional( - GetMicrofrontendsInGroupPermissions$inboundSchema, - ), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(GetMicrofrontendsInGroupProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional( - GetMicrofrontendsInGroupProtectionConfig$inboundSchema, - ), - resourceConfig: GetMicrofrontendsInGroupResourceConfig$inboundSchema, - rollbackDescription: types.optional( - GetMicrofrontendsInGroupRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable( - GetMicrofrontendsInGroupRollingRelease$inboundSchema, - ).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(GetMicrofrontendsInGroupSandbox$inboundSchema), - security: types.optional(GetMicrofrontendsInGroupSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional( - z.array(GetMicrofrontendsInGroupServices$inboundSchema), - ), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - GetMicrofrontendsInGroupSpeedInsights$inboundSchema, - ), - ssoProtection: z.nullable(GetMicrofrontendsInGroupSsoProtection$inboundSchema) - .optional(), - staticIps: types.optional(GetMicrofrontendsInGroupStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(GetMicrofrontendsInGroupTargets$inboundSchema)), - ), - tier: types.optional(GetMicrofrontendsInGroupTier$inboundSchema), - tracing: types.optional(GetMicrofrontendsInGroupTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(GetMicrofrontendsInGroupTrustedIps$inboundSchema) - .optional(), - trustedSources: z.nullable( - z.lazy(() => GetMicrofrontendsInGroupTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => GetMicrofrontendsInGroupUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => GetMicrofrontendsInGroupVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => GetMicrofrontendsInGroupWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(GetMicrofrontendsInGroupAlias$inboundSchema), + analytics: types.optional(GetMicrofrontendsInGroupAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(GetMicrofrontendsInGroupBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(GetMicrofrontendsInGroupConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(GetMicrofrontendsInGroupCreator$inboundSchema), + crons: types.optional(GetMicrofrontendsInGroupCrons$inboundSchema), + customEnvironments: types.optional( + z.array(GetMicrofrontendsInGroupCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(GetMicrofrontendsInGroupDataCache$inboundSchema), + defaultResourceConfig: + GetMicrofrontendsInGroupDefaultResourceConfig$inboundSchema, + deploymentExpiration: + GetMicrofrontendsInGroupDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable( + GetMicrofrontendsInGroupDeploymentPolicy$inboundSchema, + ).optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(GetMicrofrontendsInGroupDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(GetMicrofrontendsInGroupEnv$inboundSchema)), + expiration: types.optional( + GetMicrofrontendsInGroupExpiration$inboundSchema, + ), + features: types.optional(GetMicrofrontendsInGroupFeatures$inboundSchema), + framework: z.nullable(GetMicrofrontendsInGroupFramework$inboundSchema) + .optional(), + gitComments: types.optional( + GetMicrofrontendsInGroupGitComments$inboundSchema, + ), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + GetMicrofrontendsInGroupGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(GetMicrofrontendsInGroupInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(GetMicrofrontendsInGroupIpBuckets$inboundSchema), + ), + jobs: types.optional(GetMicrofrontendsInGroupJobs$inboundSchema), + lastAliasRequest: z.nullable( + GetMicrofrontendsInGroupLastAliasRequest$inboundSchema, + ).optional(), + lastRollbackTarget: z.nullable( + GetMicrofrontendsInGroupLastRollbackTarget$inboundSchema, + ).optional(), + latestDeployments: types.optional( + z.array(GetMicrofrontendsInGroupLatestDeployments$inboundSchema), + ), + link: types.optional(GetMicrofrontendsInGroupLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional( + GetMicrofrontendsInGroupMicrofrontends$inboundSchema, + ), + name: types.string(), + nodeVersion: GetMicrofrontendsInGroupNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + GetMicrofrontendsInGroupOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable( + GetMicrofrontendsInGroupOptionsAllowlist$inboundSchema, + ).optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(GetMicrofrontendsInGroupPassport$inboundSchema) + .optional(), + passwordProtection: z.nullable( + GetMicrofrontendsInGroupPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional( + GetMicrofrontendsInGroupPermissions$inboundSchema, + ), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(GetMicrofrontendsInGroupProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + GetMicrofrontendsInGroupProtectionConfig$inboundSchema, + ), + resourceConfig: GetMicrofrontendsInGroupResourceConfig$inboundSchema, + rollbackDescription: types.optional( + GetMicrofrontendsInGroupRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable( + GetMicrofrontendsInGroupRollingRelease$inboundSchema, + ).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(GetMicrofrontendsInGroupSandbox$inboundSchema), + security: types.optional(GetMicrofrontendsInGroupSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(GetMicrofrontendsInGroupServices$inboundSchema), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + GetMicrofrontendsInGroupSpeedInsights$inboundSchema, + ), + ssoProtection: z.nullable( + GetMicrofrontendsInGroupSsoProtection$inboundSchema, + ).optional(), + staticIps: types.optional(GetMicrofrontendsInGroupStaticIps$inboundSchema), + targets: types.optional( + z.record(types.nullable(GetMicrofrontendsInGroupTargets$inboundSchema)), + ), + tier: types.optional(GetMicrofrontendsInGroupTier$inboundSchema), + tracing: types.optional(GetMicrofrontendsInGroupTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(GetMicrofrontendsInGroupTrustedIps$inboundSchema) + .optional(), + trustedSources: z.nullable( + z.lazy(() => GetMicrofrontendsInGroupTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => GetMicrofrontendsInGroupUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => GetMicrofrontendsInGroupVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => GetMicrofrontendsInGroupWebAnalytics$inboundSchema), + ), + }) +); export function getMicrofrontendsInGroupProjectsFromJSON( jsonString: string, @@ -755,11 +778,13 @@ export const GetMicrofrontendsInGroupResponseBody$inboundSchema: z.ZodType< GetMicrofrontendsInGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - projects: z.array( - z.lazy(() => GetMicrofrontendsInGroupProjects$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projects: z.array( + z.lazy(() => GetMicrofrontendsInGroupProjects$inboundSchema), + ), + }) +); export function getMicrofrontendsInGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getmicrofrontendsingrouptomicrofrontendsresponsepreset.ts b/src/models/getmicrofrontendsingrouptomicrofrontendsresponsepreset.ts index 8cee4e0a00..784c7632c6 100644 --- a/src/models/getmicrofrontendsingrouptomicrofrontendsresponsepreset.ts +++ b/src/models/getmicrofrontendsingrouptomicrofrontendsresponsepreset.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2936,7 +2936,9 @@ export type GetMicrofrontendsInGroupToMicrofrontendsResponsePreset = ClosedEnum< /** @internal */ export const GetMicrofrontendsInGroupChecksState$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupChecksState -> = z.nativeEnum(GetMicrofrontendsInGroupChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupChecksState) +); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsCreator$inboundSchema: @@ -2944,13 +2946,15 @@ export const GetMicrofrontendsInGroupMicrofrontendsCreator$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsCreatorFromJSON( jsonString: string, @@ -2973,29 +2977,31 @@ export const GetMicrofrontendsInGroupOidcTokenClaims$inboundSchema: z.ZodType< GetMicrofrontendsInGroupOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getMicrofrontendsInGroupOidcTokenClaimsFromJSON( jsonString: string, @@ -3016,83 +3022,94 @@ export function getMicrofrontendsInGroupOidcTokenClaimsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupPlan$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupPlan -> = z.nativeEnum(GetMicrofrontendsInGroupPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupPlan) +); /** @internal */ export const GetMicrofrontendsInGroupReadyState$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupReadyState -> = z.nativeEnum(GetMicrofrontendsInGroupReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupReadyState) +); /** @internal */ export const GetMicrofrontendsInGroupReadySubstate$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetMicrofrontendsInGroupReadySubstate, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupReadySubstate) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200Type - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponse200Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponse200Type) + ); /** @internal */ export const GetMicrofrontendsInGroupLatestDeployments$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable( - GetMicrofrontendsInGroupMicrofrontendsAliasAssigned$inboundSchema, - ).optional(), - aliasError: z.nullable(GetMicrofrontendsInGroupAliasError$inboundSchema) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - GetMicrofrontendsInGroupMicrofrontendsBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(GetMicrofrontendsInGroupBuilds$inboundSchema)), - checksConclusion: types.optional( - GetMicrofrontendsInGroupChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetMicrofrontendsInGroupChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => GetMicrofrontendsInGroupOidcTokenClaims$inboundSchema), - ), - plan: GetMicrofrontendsInGroupPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetMicrofrontendsInGroupReadyState$inboundSchema, - readySubstate: types.optional( - GetMicrofrontendsInGroupReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: GetMicrofrontendsInGroupMicrofrontendsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable( + GetMicrofrontendsInGroupMicrofrontendsAliasAssigned$inboundSchema, + ).optional(), + aliasError: z.nullable(GetMicrofrontendsInGroupAliasError$inboundSchema) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + GetMicrofrontendsInGroupMicrofrontendsBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(GetMicrofrontendsInGroupBuilds$inboundSchema), + ), + checksConclusion: types.optional( + GetMicrofrontendsInGroupChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetMicrofrontendsInGroupChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => GetMicrofrontendsInGroupOidcTokenClaims$inboundSchema), + ), + plan: GetMicrofrontendsInGroupPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetMicrofrontendsInGroupReadyState$inboundSchema, + readySubstate: types.optional( + GetMicrofrontendsInGroupReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: GetMicrofrontendsInGroupMicrofrontendsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupLatestDeploymentsFromJSON( jsonString: string, @@ -3116,13 +3133,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSO GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3144,23 +3163,23 @@ export const GetMicrofrontendsInGroupLink8$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink8FromJSON( jsonString: string, @@ -3178,13 +3197,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSO GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3206,22 +3227,22 @@ export const GetMicrofrontendsInGroupLink7$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink7FromJSON( jsonString: string, @@ -3239,13 +3260,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponse200DeployHooks$in GetMicrofrontendsInGroupLinkMicrofrontendsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponse200DeployHooksFromJSON( jsonString: string, @@ -3267,22 +3290,22 @@ export const GetMicrofrontendsInGroupLink6$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponse200DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink6FromJSON( jsonString: string, @@ -3300,13 +3323,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponseDeployHooks$inbou GetMicrofrontendsInGroupLinkMicrofrontendsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponseDeployHooksFromJSON( jsonString: string, @@ -3328,24 +3353,24 @@ export const GetMicrofrontendsInGroupLink5$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponseDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function getMicrofrontendsInGroupLink5FromJSON( jsonString: string, @@ -3363,13 +3388,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsDeployHooks$inboundSchema GetMicrofrontendsInGroupLinkMicrofrontendsDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsDeployHooksFromJSON( jsonString: string, @@ -3392,25 +3419,25 @@ export const GetMicrofrontendsInGroupLink4$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink4FromJSON( jsonString: string, @@ -3427,13 +3454,15 @@ export const GetMicrofrontendsInGroupLinkDeployHooks$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getMicrofrontendsInGroupLinkDeployHooksFromJSON( jsonString: string, @@ -3456,22 +3485,24 @@ export const GetMicrofrontendsInGroupLink3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetMicrofrontendsInGroupLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetMicrofrontendsInGroupLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink3FromJSON( jsonString: string, @@ -3489,13 +3520,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSO GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjects2DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjects2DeployHooksFromJSON( jsonString: string, @@ -3517,23 +3550,23 @@ export const GetMicrofrontendsInGroupLink2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjects2DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink2FromJSON( jsonString: string, @@ -3551,13 +3584,15 @@ export const GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSO GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsDeployHooksFromJSON( jsonString: string, @@ -3579,23 +3614,23 @@ export const GetMicrofrontendsInGroupLink1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetMicrofrontendsInGroupLinkMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupLink1FromJSON( jsonString: string, @@ -3612,16 +3647,18 @@ export const GetMicrofrontendsInGroupLink$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupLink1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink4$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink5$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink6$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink7$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupLink1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink3$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink4$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink5$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink6$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink7$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupLink8$inboundSchema), + ]) +); export function getMicrofrontendsInGroupLinkFromJSON( jsonString: string, @@ -3638,12 +3675,14 @@ export const GetMicrofrontendsInGroupMicrofrontends3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function getMicrofrontendsInGroupMicrofrontends3FromJSON( jsonString: string, @@ -3666,16 +3705,18 @@ export const GetMicrofrontendsInGroupMicrofrontends2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function getMicrofrontendsInGroupMicrofrontends2FromJSON( jsonString: string, @@ -3698,14 +3739,16 @@ export const GetMicrofrontendsInGroupMicrofrontends1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function getMicrofrontendsInGroupMicrofrontends1FromJSON( jsonString: string, @@ -3728,11 +3771,13 @@ export const GetMicrofrontendsInGroupMicrofrontends$inboundSchema: z.ZodType< GetMicrofrontendsInGroupMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupMicrofrontends1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupMicrofrontends2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupMicrofrontends1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupMicrofrontends2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupMicrofrontends3$inboundSchema), + ]) +); export function getMicrofrontendsInGroupMicrofrontendsFromJSON( jsonString: string, @@ -3748,22 +3793,30 @@ export function getMicrofrontendsInGroupMicrofrontendsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupNodeVersion$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupNodeVersion -> = z.nativeEnum(GetMicrofrontendsInGroupNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupNodeVersion) +); /** @internal */ export const GetMicrofrontendsInGroupIssuerMode$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupIssuerMode -> = z.nativeEnum(GetMicrofrontendsInGroupIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupIssuerMode) +); /** @internal */ export const GetMicrofrontendsInGroupOidcTokenConfig$inboundSchema: z.ZodType< GetMicrofrontendsInGroupOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(GetMicrofrontendsInGroupIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional( + GetMicrofrontendsInGroupIssuerMode$inboundSchema, + ), + }) +); export function getMicrofrontendsInGroupOidcTokenConfigFromJSON( jsonString: string, @@ -3786,9 +3839,11 @@ export const GetMicrofrontendsInGroupPaths$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function getMicrofrontendsInGroupPathsFromJSON( jsonString: string, @@ -3805,9 +3860,11 @@ export const GetMicrofrontendsInGroupOptionsAllowlist$inboundSchema: z.ZodType< GetMicrofrontendsInGroupOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => GetMicrofrontendsInGroupPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => GetMicrofrontendsInGroupPaths$inboundSchema)), + }) +); export function getMicrofrontendsInGroupOptionsAllowlistFromJSON( jsonString: string, @@ -3827,19 +3884,22 @@ export function getMicrofrontendsInGroupOptionsAllowlistFromJSON( /** @internal */ export const GetMicrofrontendsInGroupDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetMicrofrontendsInGroupDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupDeploymentType) + ); /** @internal */ export const GetMicrofrontendsInGroupPassport$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: GetMicrofrontendsInGroupDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: GetMicrofrontendsInGroupDeploymentType$inboundSchema, + }) +); export function getMicrofrontendsInGroupPassportFromJSON( jsonString: string, @@ -3854,15 +3914,19 @@ export function getMicrofrontendsInGroupPassportFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsDeploymentType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsDeploymentType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsDeploymentType) + ); /** @internal */ export const GetMicrofrontendsInGroupPasswordProtection$inboundSchema: z.ZodType = - z.object({ - deploymentType: - GetMicrofrontendsInGroupMicrofrontendsDeploymentType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + GetMicrofrontendsInGroupMicrofrontendsDeploymentType$inboundSchema, + }) + ); export function getMicrofrontendsInGroupPasswordProtectionFromJSON( jsonString: string, @@ -3885,376 +3949,402 @@ export const GetMicrofrontendsInGroupPermissions$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function getMicrofrontendsInGroupPermissionsFromJSON( jsonString: string, @@ -4272,13 +4362,15 @@ export const GetMicrofrontendsInGroupProtectionBypass2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function getMicrofrontendsInGroupProtectionBypass2FromJSON( jsonString: string, @@ -4301,13 +4393,15 @@ export const GetMicrofrontendsInGroupProtectionBypass1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function getMicrofrontendsInGroupProtectionBypass1FromJSON( jsonString: string, @@ -4330,10 +4424,12 @@ export const GetMicrofrontendsInGroupProtectionBypass$inboundSchema: z.ZodType< GetMicrofrontendsInGroupProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupProtectionBypass1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupProtectionBypass1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupProtectionBypass2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupProtectionBypassFromJSON( jsonString: string, @@ -4356,9 +4452,11 @@ export const GetMicrofrontendsInGroupSandboxUrls$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupSandboxUrlsFromJSON( jsonString: string, @@ -4376,11 +4474,13 @@ export const GetMicrofrontendsInGroupProtectionConfig$inboundSchema: z.ZodType< GetMicrofrontendsInGroupProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => GetMicrofrontendsInGroupSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => GetMicrofrontendsInGroupSandboxUrls$inboundSchema), + ), + }) +); export function getMicrofrontendsInGroupProtectionConfigFromJSON( jsonString: string, @@ -4400,13 +4500,17 @@ export function getMicrofrontendsInGroupProtectionConfigFromJSON( /** @internal */ export const GetMicrofrontendsInGroupBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupBuildMachineElasticReason) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsDirection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsDirection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsDirection) + ); /** @internal */ export const GetMicrofrontendsInGroupBuildMachineElasticTransition$inboundSchema: @@ -4414,11 +4518,13 @@ export const GetMicrofrontendsInGroupBuildMachineElasticTransition$inboundSchema GetMicrofrontendsInGroupBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetMicrofrontendsInGroupMicrofrontendsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetMicrofrontendsInGroupMicrofrontendsDirection$inboundSchema, + }) + ); export function getMicrofrontendsInGroupBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4438,18 +4544,24 @@ export function getMicrofrontendsInGroupBuildMachineElasticTransitionFromJSON( /** @internal */ export const GetMicrofrontendsInGroupBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupBuildMachineSelection) + ); /** @internal */ export const GetMicrofrontendsInGroupBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupBuildMachineType) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsConfiguration$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsConfiguration); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsConfiguration) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsBuildQueue$inboundSchema: @@ -4457,11 +4569,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsBuildQueue$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsBuildQueue, z.ZodTypeDef, unknown - > = z.object({ - configuration: types.optional( - GetMicrofrontendsInGroupMicrofrontendsConfiguration$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetMicrofrontendsInGroupMicrofrontendsConfiguration$inboundSchema, + ), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsBuildQueueFromJSON( jsonString: string, @@ -4481,8 +4595,10 @@ export function getMicrofrontendsInGroupMicrofrontendsBuildQueueFromJSON( /** @internal */ export const GetMicrofrontendsInGroupFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupFunctionDefaultMemoryType) + ); /** @internal */ export const GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema: @@ -4490,11 +4606,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema: GetMicrofrontendsInGroupElasticBuildMachine4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachine4FromJSON( jsonString: string, @@ -4518,11 +4636,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachine3$inboundSchema: GetMicrofrontendsInGroupElasticBuildMachine3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachine3FromJSON( jsonString: string, @@ -4546,11 +4666,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachine2$inboundSchema: GetMicrofrontendsInGroupElasticBuildMachine2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachine2FromJSON( jsonString: string, @@ -4574,11 +4696,13 @@ export const GetMicrofrontendsInGroupElasticBuildMachine1$inboundSchema: GetMicrofrontendsInGroupElasticBuildMachine1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function getMicrofrontendsInGroupElasticBuildMachine1FromJSON( jsonString: string, @@ -4602,12 +4726,14 @@ export const GetMicrofrontendsInGroupElasticBuildMachine$inboundSchema: GetMicrofrontendsInGroupElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine3$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema), + ]) + ); export function getMicrofrontendsInGroupElasticBuildMachineFromJSON( jsonString: string, @@ -4630,46 +4756,46 @@ export const GetMicrofrontendsInGroupResourceConfig$inboundSchema: z.ZodType< GetMicrofrontendsInGroupResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetMicrofrontendsInGroupBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetMicrofrontendsInGroupBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => GetMicrofrontendsInGroupBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + GetMicrofrontendsInGroupBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + GetMicrofrontendsInGroupBuildMachineType$inboundSchema, ), - ), - buildMachineSelection: types.optional( - GetMicrofrontendsInGroupBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetMicrofrontendsInGroupBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => + buildQueue: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetMicrofrontendsInGroupFunctionDefaultMemoryType$inboundSchema, ), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetMicrofrontendsInGroupFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine2$inboundSchema), + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachine2$inboundSchema + ), z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema), - ]), - ), -}); + z.lazy(() => + GetMicrofrontendsInGroupElasticBuildMachine4$inboundSchema + ), + ])), + }) +); export function getMicrofrontendsInGroupResourceConfigFromJSON( jsonString: string, @@ -4687,9 +4813,11 @@ export const GetMicrofrontendsInGroupPrincipal5$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getMicrofrontendsInGroupPrincipal5FromJSON( jsonString: string, @@ -4708,10 +4836,12 @@ export const GetMicrofrontendsInGroupPrincipalIntegration$inboundSchema: GetMicrofrontendsInGroupPrincipalIntegration, z.ZodTypeDef, unknown - > = z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function getMicrofrontendsInGroupPrincipalIntegrationFromJSON( jsonString: string, @@ -4734,12 +4864,14 @@ export const GetMicrofrontendsInGroupPrincipal4$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetMicrofrontendsInGroupPrincipalIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetMicrofrontendsInGroupPrincipalIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getMicrofrontendsInGroupPrincipal4FromJSON( jsonString: string, @@ -4757,10 +4889,12 @@ export const GetMicrofrontendsInGroupPrincipalApp$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getMicrofrontendsInGroupPrincipalAppFromJSON( jsonString: string, @@ -4778,10 +4912,12 @@ export const GetMicrofrontendsInGroupPrincipal3$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetMicrofrontendsInGroupPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetMicrofrontendsInGroupPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function getMicrofrontendsInGroupPrincipal3FromJSON( jsonString: string, @@ -4799,9 +4935,11 @@ export const GetMicrofrontendsInGroupPrincipalProject$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getMicrofrontendsInGroupPrincipalProjectFromJSON( jsonString: string, @@ -4824,10 +4962,14 @@ export const GetMicrofrontendsInGroupPrincipal2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetMicrofrontendsInGroupPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => + GetMicrofrontendsInGroupPrincipalProject$inboundSchema + ), + type: types.literal("project"), + }) +); export function getMicrofrontendsInGroupPrincipal2FromJSON( jsonString: string, @@ -4846,10 +4988,12 @@ export const GetMicrofrontendsInGroupViaMicrofrontendsIntegration$inboundSchema: GetMicrofrontendsInGroupViaMicrofrontendsIntegration, z.ZodTypeDef, unknown - > = z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function getMicrofrontendsInGroupViaMicrofrontendsIntegrationFromJSON( jsonString: string, @@ -4870,12 +5014,14 @@ export function getMicrofrontendsInGroupViaMicrofrontendsIntegrationFromJSON( /** @internal */ export const GetMicrofrontendsInGroupViaMicrofrontends2$inboundSchema: z.ZodType = - z.object({ - integration: z.lazy(() => - GetMicrofrontendsInGroupViaMicrofrontendsIntegration$inboundSchema - ), - type: types.literal("integration"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetMicrofrontendsInGroupViaMicrofrontendsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) + ); export function getMicrofrontendsInGroupViaMicrofrontends2FromJSON( jsonString: string, @@ -4899,10 +5045,12 @@ export const GetMicrofrontendsInGroupViaMicrofrontendsApp$inboundSchema: GetMicrofrontendsInGroupViaMicrofrontendsApp, z.ZodTypeDef, unknown - > = z.object({ - clientId: types.optional(types.string()), - id: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) + ); export function getMicrofrontendsInGroupViaMicrofrontendsAppFromJSON( jsonString: string, @@ -4923,12 +5071,14 @@ export function getMicrofrontendsInGroupViaMicrofrontendsAppFromJSON( /** @internal */ export const GetMicrofrontendsInGroupViaMicrofrontends1$inboundSchema: z.ZodType = - z.object({ - app: z.lazy(() => - GetMicrofrontendsInGroupViaMicrofrontendsApp$inboundSchema - ), - type: types.literal("app"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => + GetMicrofrontendsInGroupViaMicrofrontendsApp$inboundSchema + ), + type: types.literal("app"), + }) + ); export function getMicrofrontendsInGroupViaMicrofrontends1FromJSON( jsonString: string, @@ -4951,10 +5101,12 @@ export const GetMicrofrontendsInGroupPrincipalVia$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupPrincipalViaFromJSON( jsonString: string, @@ -4972,9 +5124,11 @@ export const GetMicrofrontendsInGroupPrincipalUser$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getMicrofrontendsInGroupPrincipalUserFromJSON( jsonString: string, @@ -4992,16 +5146,18 @@ export const GetMicrofrontendsInGroupPrincipal1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupViaMicrofrontends2$inboundSchema), - ]), - ), - user: z.lazy(() => GetMicrofrontendsInGroupPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetMicrofrontendsInGroupPrincipalUser$inboundSchema + ), + }) +); export function getMicrofrontendsInGroupPrincipal1FromJSON( jsonString: string, @@ -5019,13 +5175,15 @@ export const GetMicrofrontendsInGroupPrincipal$inboundSchema: z.ZodType< GetMicrofrontendsInGroupPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetMicrofrontendsInGroupPrincipal1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupPrincipal2$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupPrincipal3$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupPrincipal4$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetMicrofrontendsInGroupPrincipal1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupPrincipal2$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupPrincipal3$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupPrincipal4$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupPrincipal5$inboundSchema), + ]) +); export function getMicrofrontendsInGroupPrincipalFromJSON( jsonString: string, @@ -5043,21 +5201,21 @@ export const GetMicrofrontendsInGroupRollbackDescription$inboundSchema: GetMicrofrontendsInGroupRollbackDescription, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => GetMicrofrontendsInGroupPrincipal1$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupPrincipal2$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupPrincipal3$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupPrincipal4$inboundSchema), z.lazy(() => GetMicrofrontendsInGroupPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getMicrofrontendsInGroupRollbackDescriptionFromJSON( jsonString: string, @@ -5080,12 +5238,14 @@ export const GetMicrofrontendsInGroupStages$inboundSchema: z.ZodType< GetMicrofrontendsInGroupStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function getMicrofrontendsInGroupStagesFromJSON( jsonString: string, @@ -5102,13 +5262,15 @@ export const GetMicrofrontendsInGroupRollingRelease$inboundSchema: z.ZodType< GetMicrofrontendsInGroupRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => GetMicrofrontendsInGroupStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => GetMicrofrontendsInGroupStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function getMicrofrontendsInGroupRollingReleaseFromJSON( jsonString: string, @@ -5123,25 +5285,31 @@ export function getMicrofrontendsInGroupRollingReleaseFromJSON( /** @internal */ export const GetMicrofrontendsInGroupFailoverRegions$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupFailoverRegions); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupFailoverRegions) + ); /** @internal */ export const GetMicrofrontendsInGroupRegion$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupRegion -> = z.nativeEnum(GetMicrofrontendsInGroupRegion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupRegion) +); /** @internal */ export const GetMicrofrontendsInGroupSandbox$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(GetMicrofrontendsInGroupFailoverRegions$inboundSchema), - ), - region: types.optional(GetMicrofrontendsInGroupRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(GetMicrofrontendsInGroupFailoverRegions$inboundSchema), + ), + region: types.optional(GetMicrofrontendsInGroupRegion$inboundSchema), + }) +); export function getMicrofrontendsInGroupSandboxFromJSON( jsonString: string, @@ -5156,17 +5324,21 @@ export function getMicrofrontendsInGroupSandboxFromJSON( /** @internal */ export const GetMicrofrontendsInGroupLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupLogHeaders2 -> = z.nativeEnum(GetMicrofrontendsInGroupLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupLogHeaders2) +); /** @internal */ export const GetMicrofrontendsInGroupLogHeaders$inboundSchema: z.ZodType< GetMicrofrontendsInGroupLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetMicrofrontendsInGroupLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetMicrofrontendsInGroupLogHeaders2$inboundSchema, + ]) +); export function getMicrofrontendsInGroupLogHeadersFromJSON( jsonString: string, @@ -5183,8 +5355,10 @@ export function getMicrofrontendsInGroupLogHeadersFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction, + ) ); /** @internal */ @@ -5192,12 +5366,14 @@ export const GetMicrofrontendsInGroupAiBots$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getMicrofrontendsInGroupAiBotsFromJSON( jsonString: string, @@ -5212,19 +5388,23 @@ export function getMicrofrontendsInGroupAiBotsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseAction$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseAction); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseAction) + ); /** @internal */ export const GetMicrofrontendsInGroupBotFilter$inboundSchema: z.ZodType< GetMicrofrontendsInGroupBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponseAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponseAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getMicrofrontendsInGroupBotFilterFromJSON( jsonString: string, @@ -5240,19 +5420,23 @@ export function getMicrofrontendsInGroupBotFilterFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200Action$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200Action - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponse200Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponse200Action) + ); /** @internal */ export const GetMicrofrontendsInGroupOwasp$inboundSchema: z.ZodType< GetMicrofrontendsInGroupOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponse200Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function getMicrofrontendsInGroupOwaspFromJSON( jsonString: string, @@ -5268,8 +5452,10 @@ export function getMicrofrontendsInGroupOwaspFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction, + ) ); /** @internal */ @@ -5277,12 +5463,14 @@ export const GetMicrofrontendsInGroupTrafficSources$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getMicrofrontendsInGroupTrafficSourcesFromJSON( jsonString: string, @@ -5299,8 +5487,10 @@ export function getMicrofrontendsInGroupTrafficSourcesFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -5308,12 +5498,14 @@ export const GetMicrofrontendsInGroupVercelRuleset$inboundSchema: z.ZodType< GetMicrofrontendsInGroupVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getMicrofrontendsInGroupVercelRulesetFromJSON( jsonString: string, @@ -5331,24 +5523,26 @@ export const GetMicrofrontendsInGroupManagedRules$inboundSchema: z.ZodType< GetMicrofrontendsInGroupManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => GetMicrofrontendsInGroupAiBots$inboundSchema), - bot_filter: z.lazy(() => GetMicrofrontendsInGroupBotFilter$inboundSchema), - owasp: z.lazy(() => GetMicrofrontendsInGroupOwasp$inboundSchema), - traffic_sources: z.lazy(() => - GetMicrofrontendsInGroupTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => - GetMicrofrontendsInGroupVercelRuleset$inboundSchema - ), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => GetMicrofrontendsInGroupAiBots$inboundSchema), + bot_filter: z.lazy(() => GetMicrofrontendsInGroupBotFilter$inboundSchema), + owasp: z.lazy(() => GetMicrofrontendsInGroupOwasp$inboundSchema), + traffic_sources: z.lazy(() => + GetMicrofrontendsInGroupTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + GetMicrofrontendsInGroupVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function getMicrofrontendsInGroupManagedRulesFromJSON( jsonString: string, @@ -5363,13 +5557,17 @@ export function getMicrofrontendsInGroupManagedRulesFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsAction) + ); /** @internal */ export const GetMicrofrontendsInGroupLogHeadersMicrofrontends2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupLogHeadersMicrofrontends2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupLogHeadersMicrofrontends2) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsLogHeaders$inboundSchema: @@ -5377,10 +5575,12 @@ export const GetMicrofrontendsInGroupMicrofrontendsLogHeaders$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetMicrofrontendsInGroupLogHeadersMicrofrontends2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetMicrofrontendsInGroupLogHeadersMicrofrontends2$inboundSchema, + ]) + ); export function getMicrofrontendsInGroupMicrofrontendsLogHeadersFromJSON( jsonString: string, @@ -5402,29 +5602,35 @@ export function getMicrofrontendsInGroupMicrofrontendsLogHeadersFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction, + ) ); /** @internal */ export const GetMicrofrontendsInGroupAlgo$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupAlgo -> = z.nativeEnum(GetMicrofrontendsInGroupAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupAlgo) +); /** @internal */ export const GetMicrofrontendsInGroupRateLimit$inboundSchema: z.ZodType< GetMicrofrontendsInGroupRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction$inboundSchema, - ).optional(), - algo: GetMicrofrontendsInGroupAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsSecurityAction$inboundSchema, + ).optional(), + algo: GetMicrofrontendsInGroupAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getMicrofrontendsInGroupRateLimitFromJSON( jsonString: string, @@ -5441,10 +5647,12 @@ export const GetMicrofrontendsInGroupRedirect$inboundSchema: z.ZodType< GetMicrofrontendsInGroupRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getMicrofrontendsInGroupRedirectFromJSON( jsonString: string, @@ -5461,23 +5669,25 @@ export const GetMicrofrontendsInGroupRulesets$inboundSchema: z.ZodType< GetMicrofrontendsInGroupRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: GetMicrofrontendsInGroupMicrofrontendsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetMicrofrontendsInGroupLogHeadersMicrofrontends2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetMicrofrontendsInGroupRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetMicrofrontendsInGroupRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetMicrofrontendsInGroupMicrofrontendsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetMicrofrontendsInGroupLogHeadersMicrofrontends2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetMicrofrontendsInGroupRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetMicrofrontendsInGroupRedirect$inboundSchema), + ).optional(), + }) +); export function getMicrofrontendsInGroupRulesetsFromJSON( jsonString: string, @@ -5494,36 +5704,38 @@ export const GetMicrofrontendsInGroupSecurity$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - GetMicrofrontendsInGroupLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => GetMicrofrontendsInGroupManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => GetMicrofrontendsInGroupRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetMicrofrontendsInGroupLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => GetMicrofrontendsInGroupManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => GetMicrofrontendsInGroupRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function getMicrofrontendsInGroupSecurityFromJSON( jsonString: string, @@ -5537,29 +5749,35 @@ export function getMicrofrontendsInGroupSecurityFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsFramework$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsFramework); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsFramework) + ); /** @internal */ export const GetMicrofrontendsInGroupServiceType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupServiceType -> = z.nativeEnum(GetMicrofrontendsInGroupServiceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupServiceType) +); /** @internal */ export const GetMicrofrontendsInGroupServices$inboundSchema: z.ZodType< GetMicrofrontendsInGroupServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional( - GetMicrofrontendsInGroupMicrofrontendsFramework$inboundSchema, - ), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional( - GetMicrofrontendsInGroupServiceType$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + GetMicrofrontendsInGroupMicrofrontendsFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional( + GetMicrofrontendsInGroupServiceType$inboundSchema, + ), + }) +); export function getMicrofrontendsInGroupServicesFromJSON( jsonString: string, @@ -5576,15 +5794,17 @@ export const GetMicrofrontendsInGroupSpeedInsights$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function getMicrofrontendsInGroupSpeedInsightsFromJSON( jsonString: string, @@ -5601,21 +5821,25 @@ export function getMicrofrontendsInGroupSpeedInsightsFromJSON( export const GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const GetMicrofrontendsInGroupCve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetMicrofrontendsInGroupCve55182MigrationAppliedFrom); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupCve55182MigrationAppliedFrom) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType) ); /** @internal */ @@ -5623,16 +5847,18 @@ export const GetMicrofrontendsInGroupSsoProtection$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - GetMicrofrontendsInGroupCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + GetMicrofrontendsInGroupApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + GetMicrofrontendsInGroupCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + GetMicrofrontendsInGroupMicrofrontendsResponseDeploymentType$inboundSchema, + }) +); export function getMicrofrontendsInGroupSsoProtectionFromJSON( jsonString: string, @@ -5650,11 +5876,13 @@ export const GetMicrofrontendsInGroupStaticIps$inboundSchema: z.ZodType< GetMicrofrontendsInGroupStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupStaticIpsFromJSON( jsonString: string, @@ -5671,7 +5899,9 @@ export const GetMicrofrontendsInGroupAliasAssigned$inboundSchema: z.ZodType< GetMicrofrontendsInGroupAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getMicrofrontendsInGroupAliasAssignedFromJSON( jsonString: string, @@ -5690,10 +5920,12 @@ export const GetMicrofrontendsInGroupMicrofrontendsAliasError$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsAliasErrorFromJSON( jsonString: string, @@ -5715,8 +5947,10 @@ export function getMicrofrontendsInGroupMicrofrontendsAliasErrorFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType, + ) ); /** @internal */ @@ -5725,11 +5959,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseBranchMatcher$inbound GetMicrofrontendsInGroupMicrofrontendsResponseBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONResponseBodyProjectsTargetsType$inboundSchema, + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseBranchMatcherFromJSON( jsonString: string, @@ -5752,11 +5988,13 @@ export const GetMicrofrontendsInGroupMicrofrontendsBuilds$inboundSchema: GetMicrofrontendsInGroupMicrofrontendsBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsBuildsFromJSON( jsonString: string, @@ -5778,12 +6016,16 @@ export function getMicrofrontendsInGroupMicrofrontendsBuildsFromJSON( export const GetMicrofrontendsInGroupMicrofrontendsChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsChecksConclusion - > = z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsChecksConclusion); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsChecksConclusion) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsChecksState) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponseCreator$inboundSchema: @@ -5791,13 +6033,15 @@ export const GetMicrofrontendsInGroupMicrofrontendsResponseCreator$inboundSchema GetMicrofrontendsInGroupMicrofrontendsResponseCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getMicrofrontendsInGroupMicrofrontendsResponseCreatorFromJSON( jsonString: string, @@ -5821,29 +6065,31 @@ export const GetMicrofrontendsInGroupMicrofrontendsOidcTokenClaims$inboundSchema GetMicrofrontendsInGroupMicrofrontendsOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getMicrofrontendsInGroupMicrofrontendsOidcTokenClaimsFromJSON( jsonString: string, @@ -5863,25 +6109,33 @@ export function getMicrofrontendsInGroupMicrofrontendsOidcTokenClaimsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsPlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsPlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsPlan) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsReadyState) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsReadySubstate$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsReadySubstate); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsReadySubstate) + ); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType - > = z.nativeEnum( - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -5889,72 +6143,64 @@ export const GetMicrofrontendsInGroupTargets$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsResponseBranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetMicrofrontendsInGroupMicrofrontendsBuilds$inboundSchema )), - ), - checksConclusion: types.optional( - GetMicrofrontendsInGroupMicrofrontendsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetMicrofrontendsInGroupMicrofrontendsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetMicrofrontendsInGroupMicrofrontendsResponseCreator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetMicrofrontendsInGroupMicrofrontendsBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetMicrofrontendsInGroupMicrofrontendsChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetMicrofrontendsInGroupMicrofrontendsChecksState$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetMicrofrontendsInGroupMicrofrontendsResponseCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetMicrofrontendsInGroupMicrofrontendsOidcTokenClaims$inboundSchema + )), + plan: GetMicrofrontendsInGroupMicrofrontendsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetMicrofrontendsInGroupMicrofrontendsReadyState$inboundSchema, + readySubstate: types.optional( + GetMicrofrontendsInGroupMicrofrontendsReadySubstate$inboundSchema, ), - ), - plan: GetMicrofrontendsInGroupMicrofrontendsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetMicrofrontendsInGroupMicrofrontendsReadyState$inboundSchema, - readySubstate: types.optional( - GetMicrofrontendsInGroupMicrofrontendsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetMicrofrontendsInGroupMicrofrontendsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getMicrofrontendsInGroupTargetsFromJSON( jsonString: string, @@ -5969,31 +6215,41 @@ export function getMicrofrontendsInGroupTargetsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupTier$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupTier -> = z.nativeEnum(GetMicrofrontendsInGroupTier); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTier) +); /** @internal */ export const GetMicrofrontendsInGroupDestination$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupDestination -> = z.nativeEnum(GetMicrofrontendsInGroupDestination); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupDestination) +); /** @internal */ export const GetMicrofrontendsInGroupMicrofrontendsEnv$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupMicrofrontendsEnv); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupMicrofrontendsEnv) + ); /** @internal */ export const GetMicrofrontendsInGroupSamplingRules$inboundSchema: z.ZodType< GetMicrofrontendsInGroupSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional( - GetMicrofrontendsInGroupDestination$inboundSchema, - ), - env: types.optional(GetMicrofrontendsInGroupMicrofrontendsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional( + GetMicrofrontendsInGroupDestination$inboundSchema, + ), + env: types.optional( + GetMicrofrontendsInGroupMicrofrontendsEnv$inboundSchema, + ), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function getMicrofrontendsInGroupSamplingRulesFromJSON( jsonString: string, @@ -6011,13 +6267,17 @@ export const GetMicrofrontendsInGroupTracing$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => GetMicrofrontendsInGroupSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array( + z.lazy(() => GetMicrofrontendsInGroupSamplingRules$inboundSchema), + ), + ), + }) +); export function getMicrofrontendsInGroupTracingFromJSON( jsonString: string, @@ -6031,18 +6291,22 @@ export function getMicrofrontendsInGroupTracingFromJSON( /** @internal */ export const GetMicrofrontendsInGroupTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupTrustedIpsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTrustedIpsDeploymentType) + ); /** @internal */ export const GetMicrofrontendsInGroupTrustedIps2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: - GetMicrofrontendsInGroupTrustedIpsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + GetMicrofrontendsInGroupTrustedIpsDeploymentType$inboundSchema, + }) +); export function getMicrofrontendsInGroupTrustedIps2FromJSON( jsonString: string, @@ -6061,10 +6325,12 @@ export const GetMicrofrontendsInGroupTrustedIpsAddresses$inboundSchema: GetMicrofrontendsInGroupTrustedIpsAddresses, z.ZodTypeDef, unknown - > = z.object({ - note: types.optional(types.string()), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) + ); export function getMicrofrontendsInGroupTrustedIpsAddressesFromJSON( jsonString: string, @@ -6086,29 +6352,33 @@ export function getMicrofrontendsInGroupTrustedIpsAddressesFromJSON( export const GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType - > = z.nativeEnum( - GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType) ); /** @internal */ export const GetMicrofrontendsInGroupTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupTrustedIpsProtectionMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupTrustedIpsProtectionMode) + ); /** @internal */ export const GetMicrofrontendsInGroupTrustedIps1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => GetMicrofrontendsInGroupTrustedIpsAddresses$inboundSchema), - ), - deploymentType: - GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType$inboundSchema, - protectionMode: - GetMicrofrontendsInGroupTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => GetMicrofrontendsInGroupTrustedIpsAddresses$inboundSchema), + ), + deploymentType: + GetMicrofrontendsInGroupTrustedIpsMicrofrontendsDeploymentType$inboundSchema, + protectionMode: + GetMicrofrontendsInGroupTrustedIpsProtectionMode$inboundSchema, + }) +); export function getMicrofrontendsInGroupTrustedIps1FromJSON( jsonString: string, @@ -6126,10 +6396,12 @@ export const GetMicrofrontendsInGroupTrustedIps$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupTrustedIps1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupTrustedIps1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupTrustedIps2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupTrustedIpsFromJSON( jsonString: string, @@ -6144,18 +6416,22 @@ export function getMicrofrontendsInGroupTrustedIpsFromJSON( /** @internal */ export const GetMicrofrontendsInGroupToMicrofrontendsPreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsPreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsPreset) + ); /** @internal */ export const GetMicrofrontendsInGroupTo2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetMicrofrontendsInGroupToMicrofrontendsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetMicrofrontendsInGroupToMicrofrontendsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getMicrofrontendsInGroupTo2FromJSON( jsonString: string, @@ -6170,17 +6446,21 @@ export function getMicrofrontendsInGroupTo2FromJSON( /** @internal */ export const GetMicrofrontendsInGroupToPreset$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupToPreset -> = z.nativeEnum(GetMicrofrontendsInGroupToPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupToPreset) +); /** @internal */ export const GetMicrofrontendsInGroupTo1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetMicrofrontendsInGroupToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetMicrofrontendsInGroupToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupTo1FromJSON( jsonString: string, @@ -6197,10 +6477,12 @@ export const GetMicrofrontendsInGroupTo$inboundSchema: z.ZodType< GetMicrofrontendsInGroupTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupTo1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupTo1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupTo2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupToFromJSON( jsonString: string, @@ -6217,14 +6499,16 @@ export const GetMicrofrontendsInGroupOidcProviders$inboundSchema: z.ZodType< GetMicrofrontendsInGroupOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupTo1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupTo1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function getMicrofrontendsInGroupOidcProvidersFromJSON( jsonString: string, @@ -6240,17 +6524,21 @@ export function getMicrofrontendsInGroupOidcProvidersFromJSON( /** @internal */ export const GetMicrofrontendsInGroupFromPreset$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupFromPreset -> = z.nativeEnum(GetMicrofrontendsInGroupFromPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupFromPreset) +); /** @internal */ export const GetMicrofrontendsInGroupFrom2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetMicrofrontendsInGroupFromPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetMicrofrontendsInGroupFromPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getMicrofrontendsInGroupFrom2FromJSON( jsonString: string, @@ -6264,20 +6552,24 @@ export function getMicrofrontendsInGroupFrom2FromJSON( /** @internal */ export const GetMicrofrontendsInGroupFromMicrofrontendsPreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetMicrofrontendsInGroupFromMicrofrontendsPreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupFromMicrofrontendsPreset) + ); /** @internal */ export const GetMicrofrontendsInGroupFrom1$inboundSchema: z.ZodType< GetMicrofrontendsInGroupFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - GetMicrofrontendsInGroupFromMicrofrontendsPreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetMicrofrontendsInGroupFromMicrofrontendsPreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function getMicrofrontendsInGroupFrom1FromJSON( jsonString: string, @@ -6294,10 +6586,12 @@ export const GetMicrofrontendsInGroupFrom$inboundSchema: z.ZodType< GetMicrofrontendsInGroupFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetMicrofrontendsInGroupFrom1$inboundSchema), - z.lazy(() => GetMicrofrontendsInGroupFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetMicrofrontendsInGroupFrom1$inboundSchema), + z.lazy(() => GetMicrofrontendsInGroupFrom2$inboundSchema), + ]) +); export function getMicrofrontendsInGroupFromFromJSON( jsonString: string, @@ -6313,18 +6607,22 @@ export function getMicrofrontendsInGroupFromFromJSON( export const GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset - > = z.nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset) + ); /** @internal */ export const GetMicrofrontendsInGroupToMicrofrontends2$inboundSchema: z.ZodType< GetMicrofrontendsInGroupToMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - preset: - GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetMicrofrontendsInGroupToMicrofrontendsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getMicrofrontendsInGroupToMicrofrontends2FromJSON( jsonString: string, @@ -6346,4 +6644,6 @@ export function getMicrofrontendsInGroupToMicrofrontends2FromJSON( export const GetMicrofrontendsInGroupToMicrofrontendsResponsePreset$inboundSchema: z.ZodNativeEnum< typeof GetMicrofrontendsInGroupToMicrofrontendsResponsePreset - > = z.nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsResponsePreset); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetMicrofrontendsInGroupToMicrofrontendsResponsePreset) + ); diff --git a/src/models/getnamedsandboxop.ts b/src/models/getnamedsandboxop.ts index bedbaabaca..2fb71ff9b1 100644 --- a/src/models/getnamedsandboxop.ts +++ b/src/models/getnamedsandboxop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { NamedSandbox, NamedSandbox$inboundSchema } from "./namedsandbox.js"; @@ -64,13 +68,19 @@ export const GetNamedSandboxRequest$outboundSchema: z.ZodType< GetNamedSandboxRequest$Outbound, z.ZodTypeDef, GetNamedSandboxRequest -> = z.object({ - name: z.string(), - projectId: z.string().optional(), - resume: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(128), { + message: "Value must be at most 128 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 128), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + projectId: z.string().optional(), + resume: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getNamedSandboxRequestToJSON( getNamedSandboxRequest: GetNamedSandboxRequest, @@ -85,12 +95,14 @@ export const GetNamedSandboxResponseBody$inboundSchema: z.ZodType< GetNamedSandboxResponseBody, z.ZodTypeDef, unknown -> = z.object({ - resumed: types.boolean(), - routes: z.array(SandboxPublicRoute$inboundSchema), - sandbox: NamedSandbox$inboundSchema, - session: Session$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + resumed: types.boolean(), + routes: z.array(SandboxPublicRoute$inboundSchema), + sandbox: NamedSandbox$inboundSchema, + session: Session$inboundSchema, + }) +); export function getNamedSandboxResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getobservabilityconfigurationprojectsop.ts b/src/models/getobservabilityconfigurationprojectsop.ts index f308c19319..4cca3b8976 100644 --- a/src/models/getobservabilityconfigurationprojectsop.ts +++ b/src/models/getobservabilityconfigurationprojectsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -41,10 +41,12 @@ export const GetObservabilityConfigurationProjectsRequest$outboundSchema: GetObservabilityConfigurationProjectsRequest$Outbound, z.ZodTypeDef, GetObservabilityConfigurationProjectsRequest - > = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) + ); export function getObservabilityConfigurationProjectsRequestToJSON( getObservabilityConfigurationProjectsRequest: @@ -62,11 +64,13 @@ export const DisabledProjects$inboundSchema: z.ZodType< DisabledProjects, z.ZodTypeDef, unknown -> = z.object({ - disabledAt: types.number(), - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + disabledAt: types.number(), + id: types.string(), + name: types.optional(types.string()), + }) +); export function disabledProjectsFromJSON( jsonString: string, @@ -84,9 +88,11 @@ export const GetObservabilityConfigurationProjectsResponseBody$inboundSchema: GetObservabilityConfigurationProjectsResponseBody, z.ZodTypeDef, unknown - > = z.object({ - disabledProjects: z.array(z.lazy(() => DisabledProjects$inboundSchema)), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + disabledProjects: z.array(z.lazy(() => DisabledProjects$inboundSchema)), + }) + ); export function getObservabilityConfigurationProjectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getobservabilityschemabymetricidop.ts b/src/models/getobservabilityschemabymetricidop.ts index 1499f4b642..39a11a7fce 100644 --- a/src/models/getobservabilityschemabymetricidop.ts +++ b/src/models/getobservabilityschemabymetricidop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -37,9 +37,11 @@ export const GetObservabilitySchemaByMetricIdRequest$outboundSchema: z.ZodType< GetObservabilitySchemaByMetricIdRequest$Outbound, z.ZodTypeDef, GetObservabilitySchemaByMetricIdRequest -> = z.object({ - metricId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metricId: z.string(), + }) +); export function getObservabilitySchemaByMetricIdRequestToJSON( getObservabilitySchemaByMetricIdRequest: @@ -57,11 +59,13 @@ export const Dimensions$inboundSchema: z.ZodType< Dimensions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - label: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + label: types.string(), + name: types.string(), + }) +); export function dimensionsFromJSON( jsonString: string, @@ -78,14 +82,16 @@ export const ResponseBody$inboundSchema: z.ZodType< ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - aggregations: z.array(types.string()), - defaultAggregation: types.string(), - description: types.string(), - dimensions: z.array(z.lazy(() => Dimensions$inboundSchema)), - id: types.string(), - unit: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aggregations: z.array(types.string()), + defaultAggregation: types.string(), + description: types.string(), + dimensions: z.array(z.lazy(() => Dimensions$inboundSchema)), + id: types.string(), + unit: types.string(), + }) +); export function responseBodyFromJSON( jsonString: string, diff --git a/src/models/getobservabilityschemaop.ts b/src/models/getobservabilityschemaop.ts index 2447dc4664..8c1a6bec5a 100644 --- a/src/models/getobservabilityschemaop.ts +++ b/src/models/getobservabilityschemaop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -22,10 +22,12 @@ export const GetObservabilitySchemaMetrics$inboundSchema: z.ZodType< GetObservabilitySchemaMetrics, z.ZodTypeDef, unknown -> = z.object({ - description: types.string(), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.string(), + id: types.string(), + }) +); export function getObservabilitySchemaMetricsFromJSON( jsonString: string, @@ -42,9 +44,11 @@ export const GetObservabilitySchemaResponseBody$inboundSchema: z.ZodType< GetObservabilitySchemaResponseBody, z.ZodTypeDef, unknown -> = z.object({ - metrics: z.array(z.lazy(() => GetObservabilitySchemaMetrics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: z.array(z.lazy(() => GetObservabilitySchemaMetrics$inboundSchema)), + }) +); export function getObservabilitySchemaResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getorcreatedriveop.ts b/src/models/getorcreatedriveop.ts index 6dfc89af13..4454d995c4 100644 --- a/src/models/getorcreatedriveop.ts +++ b/src/models/getorcreatedriveop.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -92,7 +96,7 @@ export type GetOrCreateDriveResponse = /** @internal */ export const GetOrCreateDriveRegion$outboundSchema: z.ZodNativeEnum< typeof GetOrCreateDriveRegion -> = z.nativeEnum(GetOrCreateDriveRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetOrCreateDriveRegion)); /** @internal */ export type GetOrCreateDriveRequestBody$Outbound = { @@ -106,11 +110,13 @@ export const GetOrCreateDriveRequestBody$outboundSchema: z.ZodType< GetOrCreateDriveRequestBody$Outbound, z.ZodTypeDef, GetOrCreateDriveRequestBody -> = z.object({ - projectId: z.string().optional(), - maxSizeBytes: z.number().int().optional(), - region: GetOrCreateDriveRegion$outboundSchema.default("iad1"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + maxSizeBytes: z.number().int().optional(), + region: GetOrCreateDriveRegion$outboundSchema.default("iad1"), + }) +); export function getOrCreateDriveRequestBodyToJSON( getOrCreateDriveRequestBody: GetOrCreateDriveRequestBody, @@ -135,17 +141,23 @@ export const GetOrCreateDriveRequest$outboundSchema: z.ZodType< GetOrCreateDriveRequest$Outbound, z.ZodTypeDef, GetOrCreateDriveRequest -> = z.object({ - name: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => GetOrCreateDriveRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => GetOrCreateDriveRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function getOrCreateDriveRequestToJSON( getOrCreateDriveRequest: GetOrCreateDriveRequest, @@ -160,9 +172,11 @@ export const GetOrCreateDriveSandboxesResponseBody$inboundSchema: z.ZodType< GetOrCreateDriveSandboxesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getOrCreateDriveSandboxesResponseBodyFromJSON( jsonString: string, @@ -180,9 +194,11 @@ export const GetOrCreateDriveResponseBody$inboundSchema: z.ZodType< GetOrCreateDriveResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getOrCreateDriveResponseBodyFromJSON( jsonString: string, @@ -199,10 +215,12 @@ export const GetOrCreateDriveResponse$inboundSchema: z.ZodType< GetOrCreateDriveResponse, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetOrCreateDriveResponseBody$inboundSchema), - z.lazy(() => GetOrCreateDriveSandboxesResponseBody$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetOrCreateDriveResponseBody$inboundSchema), + z.lazy(() => GetOrCreateDriveSandboxesResponseBody$inboundSchema), + ]) +); export function getOrCreateDriveResponseFromJSON( jsonString: string, diff --git a/src/models/getorcreatedrivev1op.ts b/src/models/getorcreatedrivev1op.ts index 1593e247e6..bfc2e2d5e4 100644 --- a/src/models/getorcreatedrivev1op.ts +++ b/src/models/getorcreatedrivev1op.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -90,8 +94,8 @@ export type GetOrCreateDriveV1Response = | GetOrCreateDriveV1DrivesResponseBody; /** @internal */ -export const Region$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Region); +export const Region$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Region)); /** @internal */ export type GetOrCreateDriveV1RequestBody$Outbound = { @@ -105,11 +109,13 @@ export const GetOrCreateDriveV1RequestBody$outboundSchema: z.ZodType< GetOrCreateDriveV1RequestBody$Outbound, z.ZodTypeDef, GetOrCreateDriveV1RequestBody -> = z.object({ - projectId: z.string().optional(), - maxSizeBytes: z.number().int().optional(), - region: Region$outboundSchema.default("iad1"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + maxSizeBytes: z.number().int().optional(), + region: Region$outboundSchema.default("iad1"), + }) +); export function getOrCreateDriveV1RequestBodyToJSON( getOrCreateDriveV1RequestBody: GetOrCreateDriveV1RequestBody, @@ -134,17 +140,23 @@ export const GetOrCreateDriveV1Request$outboundSchema: z.ZodType< GetOrCreateDriveV1Request$Outbound, z.ZodTypeDef, GetOrCreateDriveV1Request -> = z.object({ - name: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => GetOrCreateDriveV1RequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().refine(withinMaxLength$(64), { + message: "Value must be at most 64 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 64), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => GetOrCreateDriveV1RequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function getOrCreateDriveV1RequestToJSON( getOrCreateDriveV1Request: GetOrCreateDriveV1Request, @@ -159,9 +171,11 @@ export const GetOrCreateDriveV1DrivesResponseBody$inboundSchema: z.ZodType< GetOrCreateDriveV1DrivesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getOrCreateDriveV1DrivesResponseBodyFromJSON( jsonString: string, @@ -179,9 +193,11 @@ export const GetOrCreateDriveV1ResponseBody$inboundSchema: z.ZodType< GetOrCreateDriveV1ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drive: Drive$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: Drive$inboundSchema, + }) +); export function getOrCreateDriveV1ResponseBodyFromJSON( jsonString: string, @@ -198,10 +214,12 @@ export const GetOrCreateDriveV1Response$inboundSchema: z.ZodType< GetOrCreateDriveV1Response, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetOrCreateDriveV1ResponseBody$inboundSchema), - z.lazy(() => GetOrCreateDriveV1DrivesResponseBody$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetOrCreateDriveV1ResponseBody$inboundSchema), + z.lazy(() => GetOrCreateDriveV1DrivesResponseBody$inboundSchema), + ]) +); export function getOrCreateDriveV1ResponseFromJSON( jsonString: string, diff --git a/src/models/getorderop.ts b/src/models/getorderop.ts index 537eb2b5e9..c2d892fd19 100644 --- a/src/models/getorderop.ts +++ b/src/models/getorderop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -597,10 +597,12 @@ export const GetOrderRequest$outboundSchema: z.ZodType< GetOrderRequest$Outbound, z.ZodTypeDef, GetOrderRequest -> = z.object({ - orderId: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: z.string(), + teamId: z.string().optional(), + }) +); export function getOrderRequestToJSON( getOrderRequest: GetOrderRequest, @@ -613,12 +615,14 @@ export const GetOrderDomainsRegistrarResponseBody$inboundSchema: z.ZodType< GetOrderDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = z.union([ - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - Forbidden$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + Forbidden$inboundSchema, + ]) +); export function getOrderDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -633,19 +637,22 @@ export function getOrderDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const GetOrderDomainsDomainsRegistrarStatus$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetOrderDomainsDomainsRegistrarStatus, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetOrderDomainsDomainsRegistrarStatus) + ); /** @internal */ export const GetOrderErrorDomainsRegistrar2$inboundSchema: z.ZodType< GetOrderErrorDomainsRegistrar2, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - details: types.optional(z.any()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + details: types.optional(z.any()), + }) +); export function getOrderErrorDomainsRegistrar2FromJSON( jsonString: string, @@ -660,7 +667,7 @@ export function getOrderErrorDomainsRegistrar2FromJSON( /** @internal */ export const GetOrder1InvalidField$inboundSchema: z.ZodNativeEnum< typeof GetOrder1InvalidField -> = z.nativeEnum(GetOrder1InvalidField); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetOrder1InvalidField)); /** @internal */ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Error10Details$inboundSchema: @@ -668,9 +675,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Error10Details, z.ZodTypeDef, unknown - > = z.object({ - invalidField: types.optional(GetOrder1InvalidField$inboundSchema), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invalidField: types.optional(GetOrder1InvalidField$inboundSchema), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Error10DetailsFromJSON( jsonString: string, @@ -692,12 +701,14 @@ export const GetOrder1DomainsRegistrar10$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar10, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("invalid-contact"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Error10Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("invalid-contact"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Error10Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrar10FromJSON( jsonString: string, @@ -714,9 +725,11 @@ export const GetOrder1DomainsRegistrar9$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar9, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unavailable-legal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unavailable-legal"), + }) +); export function getOrder1DomainsRegistrar9FromJSON( jsonString: string, @@ -733,9 +746,11 @@ export const GetOrder1DomainsRegistrar8$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar8, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("price-change"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("price-change"), + }) +); export function getOrder1DomainsRegistrar8FromJSON( jsonString: string, @@ -752,9 +767,11 @@ export const GetOrder1DomainsRegistrar7$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar7, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("account-transfer-required"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("account-transfer-required"), + }) +); export function getOrder1DomainsRegistrar7FromJSON( jsonString: string, @@ -772,9 +789,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3ErrorDetails, z.ZodTypeDef, unknown - > = z.object({ - numDaysUntilTransferrable: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + numDaysUntilTransferrable: types.number(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3ErrorDetailsFromJSON( jsonString: string, @@ -796,12 +815,14 @@ export const GetOrder1DomainsRegistrar6$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar6, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("cannot-transfer-in-until"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3ErrorDetails$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("cannot-transfer-in-until"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3ErrorDetails$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrar6FromJSON( jsonString: string, @@ -818,9 +839,11 @@ export const GetOrder1DomainsRegistrar5$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar5, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("claims-notice-required"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("claims-notice-required"), + }) +); export function getOrder1DomainsRegistrar5FromJSON( jsonString: string, @@ -837,9 +860,11 @@ export const GetOrder1DomainsRegistrar4$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar4, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-auth-code"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-auth-code"), + }) +); export function getOrder1DomainsRegistrar4FromJSON( jsonString: string, @@ -856,9 +881,11 @@ export const GetOrder1DomainsRegistrar3$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar3, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("client-transfer-prohibited"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("client-transfer-prohibited"), + }) +); export function getOrder1DomainsRegistrar3FromJSON( jsonString: string, @@ -876,9 +903,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Details, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3DetailsFromJSON( jsonString: string, @@ -900,12 +929,14 @@ export const GetOrder1DomainsRegistrar2$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar2, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrar2FromJSON( jsonString: string, @@ -923,9 +954,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsDetails, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsDetailsFromJSON( jsonString: string, @@ -947,12 +980,14 @@ export const GetOrder1DomainsRegistrar1$inboundSchema: z.ZodType< GetOrder1DomainsRegistrar1, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unsupported-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsDetails$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unsupported-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsDetails$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrar1FromJSON( jsonString: string, @@ -969,18 +1004,20 @@ export const GetOrderErrorDomainsRegistrar1$inboundSchema: z.ZodType< GetOrderErrorDomainsRegistrar1, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar4$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar5$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar6$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar7$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar8$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar9$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar10$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar4$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar5$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar6$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar7$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar8$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar9$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar10$inboundSchema), + ]) +); export function getOrderErrorDomainsRegistrar1FromJSON( jsonString: string, @@ -997,21 +1034,23 @@ export const GetOrderDomainsDomainsRegistrarError$inboundSchema: z.ZodType< GetOrderDomainsDomainsRegistrarError, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetOrderErrorDomainsRegistrar2$inboundSchema), - z.union([ - z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar4$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar5$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar6$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar7$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar8$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar9$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrar10$inboundSchema), - ]), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetOrderErrorDomainsRegistrar2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar4$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar5$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar6$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar7$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar8$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar9$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar10$inboundSchema), + ]), + ]) +); export function getOrderDomainsDomainsRegistrarErrorFromJSON( jsonString: string, @@ -1029,15 +1068,15 @@ export const Domains3$inboundSchema: z.ZodType< Domains3, z.ZodTypeDef, unknown -> = z.object({ - purchaseType: types.literal("transfer"), - autoRenew: types.boolean(), - years: types.number(), - domainName: types.string(), - status: GetOrderDomainsDomainsRegistrarStatus$inboundSchema, - price: types.number(), - error: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: types.literal("transfer"), + autoRenew: types.boolean(), + years: types.number(), + domainName: types.string(), + status: GetOrderDomainsDomainsRegistrarStatus$inboundSchema, + price: types.number(), + error: types.optional(smartUnion([ z.lazy(() => GetOrderErrorDomainsRegistrar2$inboundSchema), z.union([ z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), @@ -1051,9 +1090,9 @@ export const Domains3$inboundSchema: z.ZodType< z.lazy(() => GetOrder1DomainsRegistrar9$inboundSchema), z.lazy(() => GetOrder1DomainsRegistrar10$inboundSchema), ]), - ]), - ), -}); + ])), + }) +); export function domains3FromJSON( jsonString: string, @@ -1068,17 +1107,19 @@ export function domains3FromJSON( /** @internal */ export const GetOrderDomainsStatus$inboundSchema: z.ZodNativeEnum< typeof GetOrderDomainsStatus -> = z.nativeEnum(GetOrderDomainsStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetOrderDomainsStatus)); /** @internal */ export const GetOrderError2$inboundSchema: z.ZodType< GetOrderError2, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - details: types.optional(z.any()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + details: types.optional(z.any()), + }) +); export function getOrderError2FromJSON( jsonString: string, @@ -1093,7 +1134,7 @@ export function getOrderError2FromJSON( /** @internal */ export const OneInvalidField$inboundSchema: z.ZodNativeEnum< typeof OneInvalidField -> = z.nativeEnum(OneInvalidField); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OneInvalidField)); /** @internal */ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDetails$inboundSchema: @@ -1101,9 +1142,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDeta GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDetails, z.ZodTypeDef, unknown - > = z.object({ - invalidField: types.optional(OneInvalidField$inboundSchema), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invalidField: types.optional(OneInvalidField$inboundSchema), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDetailsFromJSON( jsonString: string, @@ -1125,12 +1168,14 @@ export const GetOrder110$inboundSchema: z.ZodType< GetOrder110, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("invalid-contact"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDetails$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("invalid-contact"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDetails$inboundSchema + ), + }) +); export function getOrder110FromJSON( jsonString: string, @@ -1147,9 +1192,11 @@ export const GetOrder19$inboundSchema: z.ZodType< GetOrder19, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unavailable-legal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unavailable-legal"), + }) +); export function getOrder19FromJSON( jsonString: string, @@ -1166,9 +1213,11 @@ export const GetOrder18$inboundSchema: z.ZodType< GetOrder18, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("price-change"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("price-change"), + }) +); export function getOrder18FromJSON( jsonString: string, @@ -1185,9 +1234,11 @@ export const GetOrder17$inboundSchema: z.ZodType< GetOrder17, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("account-transfer-required"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("account-transfer-required"), + }) +); export function getOrder17FromJSON( jsonString: string, @@ -1205,9 +1256,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONDetails$inboundS GetOrder1DomainsRegistrarResponse200ApplicationJSONDetails, z.ZodTypeDef, unknown - > = z.object({ - numDaysUntilTransferrable: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + numDaysUntilTransferrable: types.number(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONDetailsFromJSON( jsonString: string, @@ -1229,12 +1282,14 @@ export const GetOrder16$inboundSchema: z.ZodType< GetOrder16, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("cannot-transfer-in-until"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONDetails$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("cannot-transfer-in-until"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONDetails$inboundSchema + ), + }) +); export function getOrder16FromJSON( jsonString: string, @@ -1251,9 +1306,11 @@ export const GetOrder15$inboundSchema: z.ZodType< GetOrder15, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("claims-notice-required"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("claims-notice-required"), + }) +); export function getOrder15FromJSON( jsonString: string, @@ -1270,9 +1327,11 @@ export const GetOrder1DomainsRegistrarResponse2004$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse2004, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-auth-code"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-auth-code"), + }) +); export function getOrder1DomainsRegistrarResponse2004FromJSON( jsonString: string, @@ -1290,9 +1349,11 @@ export const GetOrder1DomainsRegistrarResponse2003$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse2003, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("client-transfer-prohibited"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("client-transfer-prohibited"), + }) +); export function getOrder1DomainsRegistrarResponse2003FromJSON( jsonString: string, @@ -1311,9 +1372,11 @@ export const GetOrder1DomainsRegistrarResponse200Details$inboundSchema: GetOrder1DomainsRegistrarResponse200Details, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200DetailsFromJSON( jsonString: string, @@ -1336,12 +1399,14 @@ export const GetOrder1DomainsRegistrarResponse2002$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse2002, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrarResponse2002FromJSON( jsonString: string, @@ -1360,9 +1425,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Details, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2DetailsFromJSON( jsonString: string, @@ -1384,12 +1451,14 @@ export const GetOrder1DomainsRegistrarResponse2001$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse2001, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unsupported-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unsupported-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrarResponse2001FromJSON( jsonString: string, @@ -1407,18 +1476,20 @@ export const GetOrderError1$inboundSchema: z.ZodType< GetOrderError1, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2004$inboundSchema), - z.lazy(() => GetOrder15$inboundSchema), - z.lazy(() => GetOrder16$inboundSchema), - z.lazy(() => GetOrder17$inboundSchema), - z.lazy(() => GetOrder18$inboundSchema), - z.lazy(() => GetOrder19$inboundSchema), - z.lazy(() => GetOrder110$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2004$inboundSchema), + z.lazy(() => GetOrder15$inboundSchema), + z.lazy(() => GetOrder16$inboundSchema), + z.lazy(() => GetOrder17$inboundSchema), + z.lazy(() => GetOrder18$inboundSchema), + z.lazy(() => GetOrder19$inboundSchema), + z.lazy(() => GetOrder110$inboundSchema), + ]) +); export function getOrderError1FromJSON( jsonString: string, @@ -1435,21 +1506,23 @@ export const GetOrderDomainsError$inboundSchema: z.ZodType< GetOrderDomainsError, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetOrderError2$inboundSchema), - z.union([ - z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2004$inboundSchema), - z.lazy(() => GetOrder15$inboundSchema), - z.lazy(() => GetOrder16$inboundSchema), - z.lazy(() => GetOrder17$inboundSchema), - z.lazy(() => GetOrder18$inboundSchema), - z.lazy(() => GetOrder19$inboundSchema), - z.lazy(() => GetOrder110$inboundSchema), - ]), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetOrderError2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2004$inboundSchema), + z.lazy(() => GetOrder15$inboundSchema), + z.lazy(() => GetOrder16$inboundSchema), + z.lazy(() => GetOrder17$inboundSchema), + z.lazy(() => GetOrder18$inboundSchema), + z.lazy(() => GetOrder19$inboundSchema), + z.lazy(() => GetOrder110$inboundSchema), + ]), + ]) +); export function getOrderDomainsErrorFromJSON( jsonString: string, @@ -1466,14 +1539,14 @@ export const Domains2$inboundSchema: z.ZodType< Domains2, z.ZodTypeDef, unknown -> = z.object({ - purchaseType: types.literal("renewal"), - years: types.number(), - domainName: types.string(), - status: GetOrderDomainsStatus$inboundSchema, - price: types.number(), - error: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: types.literal("renewal"), + years: types.number(), + domainName: types.string(), + status: GetOrderDomainsStatus$inboundSchema, + price: types.number(), + error: types.optional(smartUnion([ z.lazy(() => GetOrderError2$inboundSchema), z.union([ z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), @@ -1487,9 +1560,9 @@ export const Domains2$inboundSchema: z.ZodType< z.lazy(() => GetOrder19$inboundSchema), z.lazy(() => GetOrder110$inboundSchema), ]), - ]), - ), -}); + ])), + }) +); export function domains2FromJSON( jsonString: string, @@ -1504,17 +1577,19 @@ export function domains2FromJSON( /** @internal */ export const DomainsStatus$inboundSchema: z.ZodNativeEnum< typeof DomainsStatus -> = z.nativeEnum(DomainsStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DomainsStatus)); /** @internal */ export const GetOrderErrorDomainsRegistrarResponse2$inboundSchema: z.ZodType< GetOrderErrorDomainsRegistrarResponse2, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - details: types.optional(z.any()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + details: types.optional(z.any()), + }) +); export function getOrderErrorDomainsRegistrarResponse2FromJSON( jsonString: string, @@ -1529,7 +1604,7 @@ export function getOrderErrorDomainsRegistrarResponse2FromJSON( /** @internal */ export const InvalidField$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(InvalidField); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InvalidField)); /** @internal */ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error10Details$inboundSchema: @@ -1537,9 +1612,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error10Details, z.ZodTypeDef, unknown - > = z.object({ - invalidField: types.optional(InvalidField$inboundSchema), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invalidField: types.optional(InvalidField$inboundSchema), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error10DetailsFromJSON( jsonString: string, @@ -1557,13 +1634,15 @@ export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyD } /** @internal */ -export const One10$inboundSchema: z.ZodType = z - .object({ - code: types.literal("invalid-contact"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error10Details$inboundSchema - ), - }); +export const One10$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("invalid-contact"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error10Details$inboundSchema + ), + }) + ); export function one10FromJSON( jsonString: string, @@ -1576,10 +1655,12 @@ export function one10FromJSON( } /** @internal */ -export const One9$inboundSchema: z.ZodType = z - .object({ - code: types.literal("unavailable-legal"), - }); +export const One9$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unavailable-legal"), + }) + ); export function one9FromJSON( jsonString: string, @@ -1592,10 +1673,12 @@ export function one9FromJSON( } /** @internal */ -export const One8$inboundSchema: z.ZodType = z - .object({ - code: types.literal("price-change"), - }); +export const One8$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("price-change"), + }) + ); export function one8FromJSON( jsonString: string, @@ -1608,10 +1691,12 @@ export function one8FromJSON( } /** @internal */ -export const One7$inboundSchema: z.ZodType = z - .object({ - code: types.literal("account-transfer-required"), - }); +export const One7$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("account-transfer-required"), + }) + ); export function one7FromJSON( jsonString: string, @@ -1629,9 +1714,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error6Details, z.ZodTypeDef, unknown - > = z.object({ - numDaysUntilTransferrable: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + numDaysUntilTransferrable: types.number(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error6DetailsFromJSON( jsonString: string, @@ -1653,12 +1740,14 @@ export const GetOrder1DomainsRegistrarResponse6$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse6, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("cannot-transfer-in-until"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error6Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("cannot-transfer-in-until"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error6Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrarResponse6FromJSON( jsonString: string, @@ -1676,9 +1765,11 @@ export const GetOrder1DomainsRegistrarResponse5$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse5, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("claims-notice-required"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("claims-notice-required"), + }) +); export function getOrder1DomainsRegistrarResponse5FromJSON( jsonString: string, @@ -1696,9 +1787,11 @@ export const GetOrder1DomainsRegistrarResponse4$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse4, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-auth-code"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-auth-code"), + }) +); export function getOrder1DomainsRegistrarResponse4FromJSON( jsonString: string, @@ -1716,9 +1809,11 @@ export const GetOrder1DomainsRegistrarResponse3$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse3, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("client-transfer-prohibited"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("client-transfer-prohibited"), + }) +); export function getOrder1DomainsRegistrarResponse3FromJSON( jsonString: string, @@ -1737,9 +1832,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorDetails, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorDetailsFromJSON( jsonString: string, @@ -1761,12 +1858,14 @@ export const GetOrder1DomainsRegistrarResponse2$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse2, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("incorrect-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorDetails$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("incorrect-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorDetails$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrarResponse2FromJSON( jsonString: string, @@ -1785,9 +1884,11 @@ export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDoma GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Details, z.ZodTypeDef, unknown - > = z.object({ - detectedLanguageCode: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + detectedLanguageCode: types.string(), + }) + ); export function getOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1DetailsFromJSON( jsonString: string, @@ -1809,12 +1910,14 @@ export const GetOrder1DomainsRegistrarResponse1$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponse1, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unsupported-language-code"), - details: z.lazy(() => - GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Details$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unsupported-language-code"), + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Details$inboundSchema + ), + }) +); export function getOrder1DomainsRegistrarResponse1FromJSON( jsonString: string, @@ -1832,18 +1935,20 @@ export const GetOrderErrorDomainsRegistrarResponse1$inboundSchema: z.ZodType< GetOrderErrorDomainsRegistrarResponse1, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse4$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse5$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse6$inboundSchema), - z.lazy(() => One7$inboundSchema), - z.lazy(() => One8$inboundSchema), - z.lazy(() => One9$inboundSchema), - z.lazy(() => One10$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse4$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse5$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse6$inboundSchema), + z.lazy(() => One7$inboundSchema), + z.lazy(() => One8$inboundSchema), + z.lazy(() => One9$inboundSchema), + z.lazy(() => One10$inboundSchema), + ]) +); export function getOrderErrorDomainsRegistrarResponse1FromJSON( jsonString: string, @@ -1861,21 +1966,23 @@ export const DomainsError$inboundSchema: z.ZodType< DomainsError, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$inboundSchema), - z.union([ - z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse4$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse5$inboundSchema), - z.lazy(() => GetOrder1DomainsRegistrarResponse6$inboundSchema), - z.lazy(() => One7$inboundSchema), - z.lazy(() => One8$inboundSchema), - z.lazy(() => One9$inboundSchema), - z.lazy(() => One10$inboundSchema), - ]), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse4$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse5$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse6$inboundSchema), + z.lazy(() => One7$inboundSchema), + z.lazy(() => One8$inboundSchema), + z.lazy(() => One9$inboundSchema), + z.lazy(() => One10$inboundSchema), + ]), + ]) +); export function domainsErrorFromJSON( jsonString: string, @@ -1892,15 +1999,15 @@ export const Domains1$inboundSchema: z.ZodType< Domains1, z.ZodTypeDef, unknown -> = z.object({ - purchaseType: types.literal("purchase"), - autoRenew: types.boolean(), - years: types.number(), - domainName: types.string(), - status: DomainsStatus$inboundSchema, - price: types.number(), - error: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + purchaseType: types.literal("purchase"), + autoRenew: types.boolean(), + years: types.number(), + domainName: types.string(), + status: DomainsStatus$inboundSchema, + price: types.number(), + error: types.optional(smartUnion([ z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$inboundSchema), z.union([ z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), @@ -1914,9 +2021,9 @@ export const Domains1$inboundSchema: z.ZodType< z.lazy(() => One9$inboundSchema), z.lazy(() => One10$inboundSchema), ]), - ]), - ), -}); + ])), + }) +); export function domains1FromJSON( jsonString: string, @@ -1933,11 +2040,13 @@ export const GetOrderDomains$inboundSchema: z.ZodType< GetOrderDomains, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Domains1$inboundSchema), - z.lazy(() => Domains2$inboundSchema), - z.lazy(() => Domains3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Domains1$inboundSchema), + z.lazy(() => Domains2$inboundSchema), + z.lazy(() => Domains3$inboundSchema), + ]) +); export function getOrderDomainsFromJSON( jsonString: string, @@ -1952,14 +2061,16 @@ export function getOrderDomainsFromJSON( /** @internal */ export const GetOrderStatus$inboundSchema: z.ZodNativeEnum< typeof GetOrderStatus -> = z.nativeEnum(GetOrderStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetOrderStatus)); /** @internal */ -export const Error2$inboundSchema: z.ZodType = z - .object({ - code: types.string(), - details: types.optional(z.any()), - }); +export const Error2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + details: types.optional(z.any()), + }) + ); export function error2FromJSON( jsonString: string, @@ -1972,10 +2083,12 @@ export function error2FromJSON( } /** @internal */ -export const One6$inboundSchema: z.ZodType = z - .object({ - code: types.literal("domain-mismatch"), - }); +export const One6$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("domain-mismatch"), + }) + ); export function one6FromJSON( jsonString: string, @@ -1992,10 +2105,12 @@ export const GetOrder1DomainsRegistrarDetails$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarDetails, z.ZodTypeDef, unknown -> = z.object({ - message: types.string(), - domainNames: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + message: types.string(), + domainNames: z.array(types.string()), + }) +); export function getOrder1DomainsRegistrarDetailsFromJSON( jsonString: string, @@ -2008,11 +2123,13 @@ export function getOrder1DomainsRegistrarDetailsFromJSON( } /** @internal */ -export const One5$inboundSchema: z.ZodType = z - .object({ - code: types.literal("claims-required"), - details: z.lazy(() => GetOrder1DomainsRegistrarDetails$inboundSchema), - }); +export const One5$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("claims-required"), + details: z.lazy(() => GetOrder1DomainsRegistrarDetails$inboundSchema), + }) + ); export function one5FromJSON( jsonString: string, @@ -2029,9 +2146,11 @@ export const GetOrder14$inboundSchema: z.ZodType< GetOrder14, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("unexpected-error"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("unexpected-error"), + }) +); export function getOrder14FromJSON( jsonString: string, @@ -2048,10 +2167,12 @@ export const GetOrder1Details$inboundSchema: z.ZodType< GetOrder1Details, z.ZodTypeDef, unknown -> = z.object({ - expectedPrice: types.number(), - actualPrice: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expectedPrice: types.number(), + actualPrice: types.optional(types.number()), + }) +); export function getOrder1DetailsFromJSON( jsonString: string, @@ -2068,10 +2189,12 @@ export const GetOrder13$inboundSchema: z.ZodType< GetOrder13, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("price-mismatch"), - details: z.lazy(() => GetOrder1Details$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("price-mismatch"), + details: z.lazy(() => GetOrder1Details$inboundSchema), + }) +); export function getOrder13FromJSON( jsonString: string, @@ -2084,11 +2207,13 @@ export function getOrder13FromJSON( } /** @internal */ -export const Tlds$inboundSchema: z.ZodType = z - .object({ - tldName: types.string(), - endsAt: types.string(), - }); +export const Tlds$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + tldName: types.string(), + endsAt: types.string(), + }) + ); export function tldsFromJSON( jsonString: string, @@ -2105,9 +2230,11 @@ export const OneDetails$inboundSchema: z.ZodType< OneDetails, z.ZodTypeDef, unknown -> = z.object({ - tlds: z.array(z.lazy(() => Tlds$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tlds: z.array(z.lazy(() => Tlds$inboundSchema)), + }) +); export function oneDetailsFromJSON( jsonString: string, @@ -2124,10 +2251,12 @@ export const GetOrder12$inboundSchema: z.ZodType< GetOrder12, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("tld-outage"), - details: z.lazy(() => OneDetails$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("tld-outage"), + details: z.lazy(() => OneDetails$inboundSchema), + }) +); export function getOrder12FromJSON( jsonString: string, @@ -2140,17 +2269,19 @@ export function getOrder12FromJSON( } /** @internal */ -export const OneReason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OneReason); +export const OneReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OneReason)); /** @internal */ export const GetOrder1DomainsRegistrarResponseDetails$inboundSchema: z.ZodType< GetOrder1DomainsRegistrarResponseDetails, z.ZodTypeDef, unknown -> = z.object({ - reason: OneReason$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: OneReason$inboundSchema, + }) +); export function getOrder1DomainsRegistrarResponseDetailsFromJSON( jsonString: string, @@ -2173,12 +2304,14 @@ export const GetOrder11$inboundSchema: z.ZodType< GetOrder11, z.ZodTypeDef, unknown -> = z.object({ - code: types.literal("payment-failed"), - details: types.optional( - z.lazy(() => GetOrder1DomainsRegistrarResponseDetails$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.literal("payment-failed"), + details: types.optional( + z.lazy(() => GetOrder1DomainsRegistrarResponseDetails$inboundSchema), + ), + }) +); export function getOrder11FromJSON( jsonString: string, @@ -2191,15 +2324,17 @@ export function getOrder11FromJSON( } /** @internal */ -export const Error1$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => GetOrder11$inboundSchema), - z.lazy(() => GetOrder12$inboundSchema), - z.lazy(() => GetOrder13$inboundSchema), - z.lazy(() => GetOrder14$inboundSchema), - z.lazy(() => One5$inboundSchema), - z.lazy(() => One6$inboundSchema), - ]); +export const Error1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetOrder11$inboundSchema), + z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => GetOrder13$inboundSchema), + z.lazy(() => GetOrder14$inboundSchema), + z.lazy(() => One5$inboundSchema), + z.lazy(() => One6$inboundSchema), + ]) + ); export function error1FromJSON( jsonString: string, @@ -2216,17 +2351,19 @@ export const GetOrderError$inboundSchema: z.ZodType< GetOrderError, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Error2$inboundSchema), - z.union([ - z.lazy(() => GetOrder11$inboundSchema), - z.lazy(() => GetOrder12$inboundSchema), - z.lazy(() => GetOrder13$inboundSchema), - z.lazy(() => GetOrder14$inboundSchema), - z.lazy(() => One5$inboundSchema), - z.lazy(() => One6$inboundSchema), - ]), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Error2$inboundSchema), + z.union([ + z.lazy(() => GetOrder11$inboundSchema), + z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => GetOrder13$inboundSchema), + z.lazy(() => GetOrder14$inboundSchema), + z.lazy(() => One5$inboundSchema), + z.lazy(() => One6$inboundSchema), + ]), + ]) +); export function getOrderErrorFromJSON( jsonString: string, @@ -2243,30 +2380,30 @@ export const GetOrderResponseBody$inboundSchema: z.ZodType< GetOrderResponseBody, z.ZodTypeDef, unknown -> = z.object({ - orderId: types.string(), - domains: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: types.string(), + domains: z.array(z.union([ z.lazy(() => Domains1$inboundSchema), z.lazy(() => Domains2$inboundSchema), z.lazy(() => Domains3$inboundSchema), - ]), - ), - status: GetOrderStatus$inboundSchema, - error: types.optional( - smartUnion([ + ])), + status: GetOrderStatus$inboundSchema, + error: types.optional(smartUnion([ z.lazy(() => Error2$inboundSchema), z.union([ z.lazy(() => GetOrder11$inboundSchema), - z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => + GetOrder12$inboundSchema + ), z.lazy(() => GetOrder13$inboundSchema), z.lazy(() => GetOrder14$inboundSchema), z.lazy(() => One5$inboundSchema), z.lazy(() => One6$inboundSchema), ]), - ]), - ), -}); + ])), + }) +); export function getOrderResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getorganizationdsyncgroupop.ts b/src/models/getorganizationdsyncgroupop.ts index 8648761d8c..5c0c6db61e 100644 --- a/src/models/getorganizationdsyncgroupop.ts +++ b/src/models/getorganizationdsyncgroupop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetOrganizationDsyncGroupRequest = { organizationId: string; @@ -30,12 +31,14 @@ export const GetOrganizationDsyncGroupRequest$outboundSchema: z.ZodType< GetOrganizationDsyncGroupRequest$Outbound, z.ZodTypeDef, GetOrganizationDsyncGroupRequest -> = z.object({ - organizationId: z.string(), - groupId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + groupId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getOrganizationDsyncGroupRequestToJSON( getOrganizationDsyncGroupRequest: GetOrganizationDsyncGroupRequest, diff --git a/src/models/getorganizationop.ts b/src/models/getorganizationop.ts index 713449da3a..42cbbdbd51 100644 --- a/src/models/getorganizationop.ts +++ b/src/models/getorganizationop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetOrganizationRequest = { /** @@ -31,11 +32,13 @@ export const GetOrganizationRequest$outboundSchema: z.ZodType< GetOrganizationRequest$Outbound, z.ZodTypeDef, GetOrganizationRequest -> = z.object({ - organizationId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getOrganizationRequestToJSON( getOrganizationRequest: GetOrganizationRequest, diff --git a/src/models/getprojectboxesop.ts b/src/models/getprojectboxesop.ts index da49194075..27aa4b438a 100644 --- a/src/models/getprojectboxesop.ts +++ b/src/models/getprojectboxesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -207,7 +207,9 @@ export type GetProjectBoxesResponseBody = { /** @internal */ export const GetProjectBoxesQueryParamScopeType$outboundSchema: z.ZodNativeEnum< typeof GetProjectBoxesQueryParamScopeType -> = z.nativeEnum(GetProjectBoxesQueryParamScopeType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectBoxesQueryParamScopeType) +); /** @internal */ export type GetProjectBoxesRequest$Outbound = { @@ -225,15 +227,17 @@ export const GetProjectBoxesRequest$outboundSchema: z.ZodType< GetProjectBoxesRequest$Outbound, z.ZodTypeDef, GetProjectBoxesRequest -> = z.object({ - idOrName: z.string(), - limit: z.string().optional(), - cursor: z.string().optional(), - scopeType: GetProjectBoxesQueryParamScopeType$outboundSchema.optional(), - scopeValue: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + limit: z.string().optional(), + cursor: z.string().optional(), + scopeType: GetProjectBoxesQueryParamScopeType$outboundSchema.optional(), + scopeValue: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectBoxesRequestToJSON( getProjectBoxesRequest: GetProjectBoxesRequest, @@ -248,7 +252,9 @@ export const ConfiguredInstances$inboundSchema: z.ZodType< ConfiguredInstances, z.ZodTypeDef, unknown -> = smartUnion([types.number(), z.record(types.number())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), z.record(types.number())]) +); export function configuredInstancesFromJSON( jsonString: string, @@ -261,11 +267,13 @@ export function configuredInstancesFromJSON( } /** @internal */ -export const Image$inboundSchema: z.ZodType = z - .object({ - requested: types.string(), - resolved: types.string(), - }); +export const Image$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + requested: types.string(), + resolved: types.string(), + }) + ); export function imageFromJSON( jsonString: string, @@ -282,7 +290,9 @@ export const GetProjectBoxesInstances$inboundSchema: z.ZodType< GetProjectBoxesInstances, z.ZodTypeDef, unknown -> = smartUnion([types.number(), z.record(types.number())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), z.record(types.number())]) +); export function getProjectBoxesInstancesFromJSON( jsonString: string, @@ -299,10 +309,12 @@ export const HttpHeaders$inboundSchema: z.ZodType< HttpHeaders, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + value: types.string(), + }) +); export function httpHeadersFromJSON( jsonString: string, @@ -315,20 +327,22 @@ export function httpHeadersFromJSON( } /** @internal */ -export const Scheme$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Scheme); +export const Scheme$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Scheme)); /** @internal */ export const HttpGet$inboundSchema: z.ZodType = - z.object({ - host: types.optional(types.string()), - httpHeaders: types.optional( - z.array(z.lazy(() => HttpHeaders$inboundSchema)), - ), - path: types.string(), - port: types.number(), - scheme: Scheme$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + host: types.optional(types.string()), + httpHeaders: types.optional( + z.array(z.lazy(() => HttpHeaders$inboundSchema)), + ), + path: types.string(), + port: types.number(), + scheme: Scheme$inboundSchema, + }) + ); export function httpGetFromJSON( jsonString: string, @@ -345,14 +359,16 @@ export const LivenessProbe$inboundSchema: z.ZodType< LivenessProbe, z.ZodTypeDef, unknown -> = z.object({ - failureThreshold: types.optional(types.number()), - httpGet: z.lazy(() => HttpGet$inboundSchema), - initialDelaySeconds: types.optional(types.number()), - periodSeconds: types.optional(types.number()), - successThreshold: types.optional(types.number()), - timeoutSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureThreshold: types.optional(types.number()), + httpGet: z.lazy(() => HttpGet$inboundSchema), + initialDelaySeconds: types.optional(types.number()), + periodSeconds: types.optional(types.number()), + successThreshold: types.optional(types.number()), + timeoutSeconds: types.optional(types.number()), + }) +); export function livenessProbeFromJSON( jsonString: string, @@ -369,9 +385,11 @@ export const Requests$inboundSchema: z.ZodType< Requests, z.ZodTypeDef, unknown -> = z.object({ - memory: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + memory: types.string(), + }) +); export function requestsFromJSON( jsonString: string, @@ -388,9 +406,11 @@ export const GetProjectBoxesResources$inboundSchema: z.ZodType< GetProjectBoxesResources, z.ZodTypeDef, unknown -> = z.object({ - requests: z.lazy(() => Requests$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requests: z.lazy(() => Requests$inboundSchema), + }) +); export function getProjectBoxesResourcesFromJSON( jsonString: string, @@ -407,17 +427,19 @@ export const GetProjectBoxesConfig$inboundSchema: z.ZodType< GetProjectBoxesConfig, z.ZodTypeDef, unknown -> = z.object({ - command: types.optional(z.array(types.string())), - configuredInstances: types.optional( - smartUnion([types.number(), z.record(types.number())]), - ), - image: z.lazy(() => Image$inboundSchema), - instances: smartUnion([types.number(), z.record(types.number())]), - livenessProbe: types.optional(z.lazy(() => LivenessProbe$inboundSchema)), - resources: z.lazy(() => GetProjectBoxesResources$inboundSchema), - terminationGracePeriodSeconds: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + command: types.optional(z.array(types.string())), + configuredInstances: types.optional( + smartUnion([types.number(), z.record(types.number())]), + ), + image: z.lazy(() => Image$inboundSchema), + instances: smartUnion([types.number(), z.record(types.number())]), + livenessProbe: types.optional(z.lazy(() => LivenessProbe$inboundSchema)), + resources: z.lazy(() => GetProjectBoxesResources$inboundSchema), + terminationGracePeriodSeconds: types.optional(types.number()), + }) +); export function getProjectBoxesConfigFromJSON( jsonString: string, @@ -431,11 +453,13 @@ export function getProjectBoxesConfigFromJSON( /** @internal */ export const Process$inboundSchema: z.ZodType = - z.object({ - lastExitCode: types.optional(types.number()), - restarts: types.number(), - crashLooping: types.boolean(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + lastExitCode: types.optional(types.number()), + restarts: types.number(), + crashLooping: types.boolean(), + }) + ); export function processFromJSON( jsonString: string, @@ -452,17 +476,19 @@ export const GetProjectBoxesItems$inboundSchema: z.ZodType< GetProjectBoxesItems, z.ZodTypeDef, unknown -> = z.object({ - alive: types.optional(types.boolean()), - id: types.string(), - image: types.optional(types.string()), - lastCheckedAt: types.optional(types.string()), - memoryMiB: types.optional(types.number()), - process: types.optional(z.lazy(() => Process$inboundSchema)), - region: types.string(), - startedAt: types.string(), - stoppedAt: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alive: types.optional(types.boolean()), + id: types.string(), + image: types.optional(types.string()), + lastCheckedAt: types.optional(types.string()), + memoryMiB: types.optional(types.number()), + process: types.optional(z.lazy(() => Process$inboundSchema)), + region: types.string(), + startedAt: types.string(), + stoppedAt: types.optional(types.string()), + }) +); export function getProjectBoxesItemsFromJSON( jsonString: string, @@ -479,12 +505,14 @@ export const Instances$inboundSchema: z.ZodType< Instances, z.ZodTypeDef, unknown -> = z.object({ - desired: types.number(), - items: z.array(z.lazy(() => GetProjectBoxesItems$inboundSchema)), - ready: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + desired: types.number(), + items: z.array(z.lazy(() => GetProjectBoxesItems$inboundSchema)), + ready: types.number(), + total: types.number(), + }) +); export function instancesFromJSON( jsonString: string, @@ -497,11 +525,13 @@ export function instancesFromJSON( } /** @internal */ -export const Scope3$inboundSchema: z.ZodType = z - .object({ - type: types.literal("customEnvironment"), - value: types.string(), - }); +export const Scope3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("customEnvironment"), + value: types.string(), + }) + ); export function scope3FromJSON( jsonString: string, @@ -518,10 +548,12 @@ export const GetProjectBoxesScope2$inboundSchema: z.ZodType< GetProjectBoxesScope2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("branch"), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("branch"), + value: types.string(), + }) +); export function getProjectBoxesScope2FromJSON( jsonString: string, @@ -534,18 +566,20 @@ export function getProjectBoxesScope2FromJSON( } /** @internal */ -export const ScopeValue$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ScopeValue); +export const ScopeValue$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ScopeValue)); /** @internal */ export const GetProjectBoxesScope1$inboundSchema: z.ZodType< GetProjectBoxesScope1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("target"), - value: ScopeValue$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("target"), + value: ScopeValue$inboundSchema, + }) +); export function getProjectBoxesScope1FromJSON( jsonString: string, @@ -562,11 +596,13 @@ export const GetProjectBoxesScope$inboundSchema: z.ZodType< GetProjectBoxesScope, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectBoxesScope1$inboundSchema), - z.lazy(() => GetProjectBoxesScope2$inboundSchema), - z.lazy(() => Scope3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectBoxesScope1$inboundSchema), + z.lazy(() => GetProjectBoxesScope2$inboundSchema), + z.lazy(() => Scope3$inboundSchema), + ]) +); export function getProjectBoxesScopeFromJSON( jsonString: string, @@ -581,24 +617,26 @@ export function getProjectBoxesScopeFromJSON( /** @internal */ export const GetProjectBoxesStatus$inboundSchema: z.ZodNativeEnum< typeof GetProjectBoxesStatus -> = z.nativeEnum(GetProjectBoxesStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectBoxesStatus)); /** @internal */ export const Daemons$inboundSchema: z.ZodType = - z.object({ - config: z.lazy(() => GetProjectBoxesConfig$inboundSchema), - createdAt: types.string(), - deploymentId: types.optional(types.string()), - instances: z.lazy(() => Instances$inboundSchema), - name: types.string(), - scope: z.union([ - z.lazy(() => GetProjectBoxesScope1$inboundSchema), - z.lazy(() => GetProjectBoxesScope2$inboundSchema), - z.lazy(() => Scope3$inboundSchema), - ]), - status: GetProjectBoxesStatus$inboundSchema, - updatedAt: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + config: z.lazy(() => GetProjectBoxesConfig$inboundSchema), + createdAt: types.string(), + deploymentId: types.optional(types.string()), + instances: z.lazy(() => Instances$inboundSchema), + name: types.string(), + scope: z.union([ + z.lazy(() => GetProjectBoxesScope1$inboundSchema), + z.lazy(() => GetProjectBoxesScope2$inboundSchema), + z.lazy(() => Scope3$inboundSchema), + ]), + status: GetProjectBoxesStatus$inboundSchema, + updatedAt: types.string(), + }) + ); export function daemonsFromJSON( jsonString: string, @@ -615,10 +653,12 @@ export const GetProjectBoxesPagination$inboundSchema: z.ZodType< GetProjectBoxesPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.optional(types.string()), + }) +); export function getProjectBoxesPaginationFromJSON( jsonString: string, @@ -635,10 +675,12 @@ export const GetProjectBoxesResponseBody$inboundSchema: z.ZodType< GetProjectBoxesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - daemons: z.array(z.lazy(() => Daemons$inboundSchema)), - pagination: z.lazy(() => GetProjectBoxesPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + daemons: z.array(z.lazy(() => Daemons$inboundSchema)), + pagination: z.lazy(() => GetProjectBoxesPagination$inboundSchema), + }) +); export function getProjectBoxesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectcheckop.ts b/src/models/getprojectcheckop.ts index 070d9edbbc..3568c98091 100644 --- a/src/models/getprojectcheckop.ts +++ b/src/models/getprojectcheckop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -120,12 +120,14 @@ export const GetProjectCheckRequest$outboundSchema: z.ZodType< GetProjectCheckRequest$Outbound, z.ZodTypeDef, GetProjectCheckRequest -> = z.object({ - projectIdOrName: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectCheckRequestToJSON( getProjectCheckRequest: GetProjectCheckRequest, @@ -138,28 +140,32 @@ export function getProjectCheckRequestToJSON( /** @internal */ export const GetProjectCheckBlocks$inboundSchema: z.ZodNativeEnum< typeof GetProjectCheckBlocks -> = z.nativeEnum(GetProjectCheckBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectCheckBlocks)); /** @internal */ export const GetProjectCheckRequires$inboundSchema: z.ZodNativeEnum< typeof GetProjectCheckRequires -> = z.nativeEnum(GetProjectCheckRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectCheckRequires)); /** @internal */ export const GetProjectCheckSourceProvider$inboundSchema: z.ZodNativeEnum< typeof GetProjectCheckSourceProvider -> = z.nativeEnum(GetProjectCheckSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectCheckSourceProvider) +); /** @internal */ export const GetProjectCheckSource3$inboundSchema: z.ZodType< GetProjectCheckSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: types.literal("git-provider"), - provider: GetProjectCheckSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: types.literal("git-provider"), + provider: GetProjectCheckSourceProvider$inboundSchema, + }) +); export function getProjectCheckSource3FromJSON( jsonString: string, @@ -176,10 +182,12 @@ export const GetProjectCheckSource2$inboundSchema: z.ZodType< GetProjectCheckSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("webhook"), - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("webhook"), + webhookId: types.optional(types.string()), + }) +); export function getProjectCheckSource2FromJSON( jsonString: string, @@ -196,13 +204,15 @@ export const GetProjectCheckSource1$inboundSchema: z.ZodType< GetProjectCheckSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function getProjectCheckSource1FromJSON( jsonString: string, @@ -219,11 +229,13 @@ export const GetProjectCheckSource$inboundSchema: z.ZodType< GetProjectCheckSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectCheckSource1$inboundSchema), - z.lazy(() => GetProjectCheckSource2$inboundSchema), - z.lazy(() => GetProjectCheckSource3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectCheckSource1$inboundSchema), + z.lazy(() => GetProjectCheckSource2$inboundSchema), + z.lazy(() => GetProjectCheckSource3$inboundSchema), + ]) +); export function getProjectCheckSourceFromJSON( jsonString: string, @@ -238,34 +250,36 @@ export function getProjectCheckSourceFromJSON( /** @internal */ export const GetProjectCheckSourceKind$inboundSchema: z.ZodNativeEnum< typeof GetProjectCheckSourceKind -> = z.nativeEnum(GetProjectCheckSourceKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectCheckSourceKind)); /** @internal */ export const GetProjectCheckResponseBody$inboundSchema: z.ZodType< GetProjectCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocks: GetProjectCheckBlocks$inboundSchema, - createdAt: types.number(), - deletedAt: types.optional(types.number()), - id: types.string(), - isRerequestable: types.boolean(), - name: types.string(), - ownerId: types.string(), - projectId: types.string(), - requires: GetProjectCheckRequires$inboundSchema, - source: z.union([ - z.lazy(() => GetProjectCheckSource1$inboundSchema), - z.lazy(() => GetProjectCheckSource2$inboundSchema), - z.lazy(() => GetProjectCheckSource3$inboundSchema), - ]), - sourceIntegrationConfigurationId: types.optional(types.string()), - sourceKind: GetProjectCheckSourceKind$inboundSchema, - targets: z.array(types.string()), - timeout: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: GetProjectCheckBlocks$inboundSchema, + createdAt: types.number(), + deletedAt: types.optional(types.number()), + id: types.string(), + isRerequestable: types.boolean(), + name: types.string(), + ownerId: types.string(), + projectId: types.string(), + requires: GetProjectCheckRequires$inboundSchema, + source: z.union([ + z.lazy(() => GetProjectCheckSource1$inboundSchema), + z.lazy(() => GetProjectCheckSource2$inboundSchema), + z.lazy(() => GetProjectCheckSource3$inboundSchema), + ]), + sourceIntegrationConfigurationId: types.optional(types.string()), + sourceKind: GetProjectCheckSourceKind$inboundSchema, + targets: z.array(types.string()), + timeout: types.number(), + updatedAt: types.number(), + }) +); export function getProjectCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectdomainop.ts b/src/models/getprojectdomainop.ts index 8430d56815..72a5b4814b 100644 --- a/src/models/getprojectdomainop.ts +++ b/src/models/getprojectdomainop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -70,12 +70,14 @@ export const GetProjectDomainRequest$outboundSchema: z.ZodType< GetProjectDomainRequest$Outbound, z.ZodTypeDef, GetProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectDomainRequestToJSON( getProjectDomainRequest: GetProjectDomainRequest, @@ -90,12 +92,14 @@ export const Verification$inboundSchema: z.ZodType< Verification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function verificationFromJSON( jsonString: string, @@ -112,21 +116,23 @@ export const GetProjectDomainResponseBody$inboundSchema: z.ZodType< GetProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => Verification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => Verification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function getProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectdomainsop.ts b/src/models/getprojectdomainsop.ts index 8ce22f886f..f811ef07ef 100644 --- a/src/models/getprojectdomainsop.ts +++ b/src/models/getprojectdomainsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -219,27 +219,28 @@ export type GetProjectDomainsResponseBody = | GetProjectDomainsResponseBody2; /** @internal */ -export const Production$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Production); +export const Production$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Production)); /** @internal */ export const GetProjectDomainsQueryParamTarget$outboundSchema: z.ZodNativeEnum< typeof GetProjectDomainsQueryParamTarget -> = z.nativeEnum(GetProjectDomainsQueryParamTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectDomainsQueryParamTarget) +); /** @internal */ export const QueryParamRedirects$outboundSchema: z.ZodNativeEnum< typeof QueryParamRedirects -> = z.nativeEnum(QueryParamRedirects); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamRedirects)); /** @internal */ -export const Verified$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Verified); +export const Verified$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Verified)); /** @internal */ -export const Order$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Order, -); +export const Order$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Order)); /** @internal */ export type GetProjectDomainsRequest$Outbound = { @@ -264,22 +265,24 @@ export const GetProjectDomainsRequest$outboundSchema: z.ZodType< GetProjectDomainsRequest$Outbound, z.ZodTypeDef, GetProjectDomainsRequest -> = z.object({ - idOrName: z.string(), - production: Production$outboundSchema.default("false"), - target: GetProjectDomainsQueryParamTarget$outboundSchema.optional(), - customEnvironmentId: z.string().optional(), - gitBranch: z.string().optional(), - redirects: QueryParamRedirects$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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + production: Production$outboundSchema.default("false"), + target: GetProjectDomainsQueryParamTarget$outboundSchema.optional(), + customEnvironmentId: z.string().optional(), + gitBranch: z.string().optional(), + redirects: QueryParamRedirects$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(), + }) +); export function getProjectDomainsRequestToJSON( getProjectDomainsRequest: GetProjectDomainsRequest, @@ -294,12 +297,14 @@ export const GetProjectDomainsResponseBodyVerification$inboundSchema: z.ZodType< GetProjectDomainsResponseBodyVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getProjectDomainsResponseBodyVerificationFromJSON( jsonString: string, @@ -322,23 +327,23 @@ export const GetProjectDomainsResponseBodyDomains$inboundSchema: z.ZodType< GetProjectDomainsResponseBodyDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array( - z.lazy(() => GetProjectDomainsResponseBodyVerification$inboundSchema), - ), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional(z.array(z.lazy(() => + GetProjectDomainsResponseBodyVerification$inboundSchema + ))), + verified: types.boolean(), + }) +); export function getProjectDomainsResponseBodyDomainsFromJSON( jsonString: string, @@ -356,12 +361,14 @@ export const GetProjectDomainsResponseBody2$inboundSchema: z.ZodType< GetProjectDomainsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - domains: z.array( - z.lazy(() => GetProjectDomainsResponseBodyDomains$inboundSchema), - ), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array( + z.lazy(() => GetProjectDomainsResponseBodyDomains$inboundSchema), + ), + pagination: Pagination$inboundSchema, + }) +); export function getProjectDomainsResponseBody2FromJSON( jsonString: string, @@ -378,12 +385,14 @@ export const ResponseBodyVerification$inboundSchema: z.ZodType< ResponseBodyVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function responseBodyVerificationFromJSON( jsonString: string, @@ -400,21 +409,23 @@ export const ResponseBodyDomains$inboundSchema: z.ZodType< ResponseBodyDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => ResponseBodyVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => ResponseBodyVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function responseBodyDomainsFromJSON( jsonString: string, @@ -431,11 +442,13 @@ export const GetProjectDomainsResponseBodyPagination$inboundSchema: z.ZodType< GetProjectDomainsResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.number()), - prev: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.number()), + prev: types.nullable(types.number()), + }) +); export function getProjectDomainsResponseBodyPaginationFromJSON( jsonString: string, @@ -458,12 +471,14 @@ export const GetProjectDomainsResponseBody1$inboundSchema: z.ZodType< GetProjectDomainsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - domains: z.array(z.lazy(() => ResponseBodyDomains$inboundSchema)), - pagination: z.lazy(() => - GetProjectDomainsResponseBodyPagination$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.lazy(() => ResponseBodyDomains$inboundSchema)), + pagination: z.lazy(() => + GetProjectDomainsResponseBodyPagination$inboundSchema + ), + }) +); export function getProjectDomainsResponseBody1FromJSON( jsonString: string, @@ -480,10 +495,12 @@ export const GetProjectDomainsResponseBody$inboundSchema: z.ZodType< GetProjectDomainsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectDomainsResponseBody1$inboundSchema), - z.lazy(() => GetProjectDomainsResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectDomainsResponseBody1$inboundSchema), + z.lazy(() => GetProjectDomainsResponseBody2$inboundSchema), + ]) +); export function getProjectDomainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectenvop.ts b/src/models/getprojectenvop.ts index 95054d10e9..be92b8c32d 100644 --- a/src/models/getprojectenvop.ts +++ b/src/models/getprojectenvop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -665,12 +665,14 @@ export const GetProjectEnvRequest$outboundSchema: z.ZodType< GetProjectEnvRequest$Outbound, z.ZodTypeDef, GetProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectEnvRequestToJSON( getProjectEnvRequest: GetProjectEnvRequest, @@ -683,10 +685,12 @@ export function getProjectEnvRequestToJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse17$inboundSchema: z.ZodType = - z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) + ); export function getProjectEnvContentHintProjectsResponse17FromJSON( jsonString: string, @@ -707,13 +711,15 @@ export function getProjectEnvContentHintProjectsResponse17FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse16$inboundSchema: z.ZodType = - z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) + ); export function getProjectEnvContentHintProjectsResponse16FromJSON( jsonString: string, @@ -734,10 +740,12 @@ export function getProjectEnvContentHintProjectsResponse16FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse15$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) + ); export function getProjectEnvContentHintProjectsResponse15FromJSON( jsonString: string, @@ -758,10 +766,12 @@ export function getProjectEnvContentHintProjectsResponse15FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse14$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) + ); export function getProjectEnvContentHintProjectsResponse14FromJSON( jsonString: string, @@ -782,10 +792,12 @@ export function getProjectEnvContentHintProjectsResponse14FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse13$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) + ); export function getProjectEnvContentHintProjectsResponse13FromJSON( jsonString: string, @@ -806,10 +818,12 @@ export function getProjectEnvContentHintProjectsResponse13FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse12$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) + ); export function getProjectEnvContentHintProjectsResponse12FromJSON( jsonString: string, @@ -830,10 +844,12 @@ export function getProjectEnvContentHintProjectsResponse12FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse11$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) + ); export function getProjectEnvContentHintProjectsResponse11FromJSON( jsonString: string, @@ -854,10 +870,12 @@ export function getProjectEnvContentHintProjectsResponse11FromJSON( /** @internal */ export const GetProjectEnvContentHintProjectsResponse10$inboundSchema: z.ZodType = - z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) + ); export function getProjectEnvContentHintProjectsResponse10FromJSON( jsonString: string, @@ -880,10 +898,12 @@ export const GetProjectEnvContentHintProjectsResponse9$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectEnvContentHintProjectsResponse9FromJSON( jsonString: string, @@ -906,10 +926,12 @@ export const GetProjectEnvContentHintProjectsResponse8$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectEnvContentHintProjectsResponse8FromJSON( jsonString: string, @@ -932,10 +954,12 @@ export const GetProjectEnvContentHintProjectsResponse7$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectEnvContentHintProjectsResponse7FromJSON( jsonString: string, @@ -958,10 +982,12 @@ export const GetProjectEnvContentHintProjectsResponse6$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectEnvContentHintProjectsResponse6FromJSON( jsonString: string, @@ -984,10 +1010,12 @@ export const GetProjectEnvContentHintProjectsResponse5$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectEnvContentHintProjectsResponse5FromJSON( jsonString: string, @@ -1010,10 +1038,12 @@ export const GetProjectEnvContentHintProjectsResponse4$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectEnvContentHintProjectsResponse4FromJSON( jsonString: string, @@ -1036,10 +1066,12 @@ export const GetProjectEnvContentHintProjectsResponse3$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectEnvContentHintProjectsResponse3FromJSON( jsonString: string, @@ -1062,10 +1094,12 @@ export const GetProjectEnvContentHintProjectsResponse2$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectEnvContentHintProjectsResponse2FromJSON( jsonString: string, @@ -1088,10 +1122,12 @@ export const GetProjectEnvContentHintProjectsResponse1$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectEnvContentHintProjectsResponse1FromJSON( jsonString: string, @@ -1115,25 +1151,27 @@ export const GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: GetProjectEnvResponseBodyProjectsResponseContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse16$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjectsResponse17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse14$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse16$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjectsResponse17$inboundSchema), + ]) + ); export function getProjectEnvResponseBodyProjectsResponseContentHintFromJSON( jsonString: string, @@ -1153,18 +1191,22 @@ export function getProjectEnvResponseBodyProjectsResponseContentHintFromJSON( /** @internal */ export const GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvResponseBodyProjectsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyProjectsResponse200Type) + ); /** @internal */ export const ResponseBodyInternalContentHint$inboundSchema: z.ZodType< ResponseBodyInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, + }) +); export function responseBodyInternalContentHintFromJSON( jsonString: string, @@ -1178,9 +1220,10 @@ export function responseBodyInternalContentHintFromJSON( /** @internal */ export const GetProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvTargetProjectsResponse2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvTargetProjectsResponse2) + ); /** @internal */ export const GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: @@ -1188,10 +1231,12 @@ export const GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: GetProjectEnvResponseBodyProjectsResponseTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectEnvTargetProjectsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectEnvTargetProjectsResponse2$inboundSchema, + ]) + ); export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( jsonString: string, @@ -1211,24 +1256,28 @@ export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( /** @internal */ export const GetProjectEnvResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvResponseBodyProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyProjectsResponseType) + ); /** @internal */ export const GetProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectEnvResponseBodyProjectsResponseVisibility); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyProjectsResponseVisibility) + ); /** @internal */ export const GetProjectEnvResponseBody3$inboundSchema: z.ZodType< GetProjectEnvResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectEnvContentHintProjectsResponse1$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjectsResponse2$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjectsResponse3$inboundSchema), @@ -1246,36 +1295,36 @@ export const GetProjectEnvResponseBody3$inboundSchema: z.ZodType< z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjectsResponse16$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjectsResponse17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => ResponseBodyInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectEnvTargetProjectsResponse2$inboundSchema, - ]), - ), - type: GetProjectEnvResponseBodyProjectsResponseType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - GetProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema, - ), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + ResponseBodyInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectEnvTargetProjectsResponse2$inboundSchema, + ]), + ), + type: GetProjectEnvResponseBodyProjectsResponseType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + GetProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema, + ), + }) +); export function getProjectEnvResponseBody3FromJSON( jsonString: string, @@ -1292,10 +1341,12 @@ export const GetProjectEnvContentHintProjects17$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectEnvContentHintProjects17FromJSON( jsonString: string, @@ -1313,13 +1364,15 @@ export const GetProjectEnvContentHintProjects16$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectEnvContentHintProjects16FromJSON( jsonString: string, @@ -1337,10 +1390,12 @@ export const GetProjectEnvContentHintProjects15$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectEnvContentHintProjects15FromJSON( jsonString: string, @@ -1358,10 +1413,12 @@ export const GetProjectEnvContentHintProjects14$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectEnvContentHintProjects14FromJSON( jsonString: string, @@ -1379,10 +1436,12 @@ export const GetProjectEnvContentHintProjects13$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectEnvContentHintProjects13FromJSON( jsonString: string, @@ -1400,10 +1459,12 @@ export const GetProjectEnvContentHintProjects12$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectEnvContentHintProjects12FromJSON( jsonString: string, @@ -1421,10 +1482,12 @@ export const GetProjectEnvContentHintProjects11$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectEnvContentHintProjects11FromJSON( jsonString: string, @@ -1442,10 +1505,12 @@ export const GetProjectEnvContentHintProjects10$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectEnvContentHintProjects10FromJSON( jsonString: string, @@ -1463,10 +1528,12 @@ export const GetProjectEnvContentHintProjects9$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectEnvContentHintProjects9FromJSON( jsonString: string, @@ -1483,10 +1550,12 @@ export const GetProjectEnvContentHintProjects8$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectEnvContentHintProjects8FromJSON( jsonString: string, @@ -1503,10 +1572,12 @@ export const GetProjectEnvContentHintProjects7$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectEnvContentHintProjects7FromJSON( jsonString: string, @@ -1523,10 +1594,12 @@ export const GetProjectEnvContentHintProjects6$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectEnvContentHintProjects6FromJSON( jsonString: string, @@ -1543,10 +1616,12 @@ export const GetProjectEnvContentHintProjects5$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectEnvContentHintProjects5FromJSON( jsonString: string, @@ -1563,10 +1638,12 @@ export const GetProjectEnvContentHintProjects4$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectEnvContentHintProjects4FromJSON( jsonString: string, @@ -1583,10 +1660,12 @@ export const GetProjectEnvContentHintProjects3$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectEnvContentHintProjects3FromJSON( jsonString: string, @@ -1603,10 +1682,12 @@ export const GetProjectEnvContentHintProjects2$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectEnvContentHintProjects2FromJSON( jsonString: string, @@ -1623,10 +1704,12 @@ export const GetProjectEnvContentHintProjects1$inboundSchema: z.ZodType< GetProjectEnvContentHintProjects1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectEnvContentHintProjects1FromJSON( jsonString: string, @@ -1644,25 +1727,27 @@ export const GetProjectEnvResponseBodyProjectsContentHint$inboundSchema: GetProjectEnvResponseBodyProjectsContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects16$inboundSchema), - z.lazy(() => GetProjectEnvContentHintProjects17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects14$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects16$inboundSchema), + z.lazy(() => GetProjectEnvContentHintProjects17$inboundSchema), + ]) + ); export function getProjectEnvResponseBodyProjectsContentHintFromJSON( jsonString: string, @@ -1683,22 +1768,28 @@ export function getProjectEnvResponseBodyProjectsContentHintFromJSON( /** @internal */ export const GetProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvTargetProjects2 -> = z.nativeEnum(GetProjectEnvTargetProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvTargetProjects2) +); /** @internal */ export const GetProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvTargetProjects1 -> = z.nativeEnum(GetProjectEnvTargetProjects1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvTargetProjects1) +); /** @internal */ export const GetProjectEnvResponseBodyProjectsTarget$inboundSchema: z.ZodType< GetProjectEnvResponseBodyProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(GetProjectEnvTargetProjects1$inboundSchema), - GetProjectEnvTargetProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectEnvTargetProjects1$inboundSchema), + GetProjectEnvTargetProjects2$inboundSchema, + ]) +); export function getProjectEnvResponseBodyProjectsTargetFromJSON( jsonString: string, @@ -1718,25 +1809,28 @@ export function getProjectEnvResponseBodyProjectsTargetFromJSON( /** @internal */ export const GetProjectEnvResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvResponseBodyProjectsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyProjectsType) + ); /** @internal */ export const GetProjectEnvResponseBodyProjectsVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectEnvResponseBodyProjectsVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyProjectsVisibility) + ); /** @internal */ export const GetProjectEnvResponseBody2$inboundSchema: z.ZodType< GetProjectEnvResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectEnvContentHintProjects1$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjects2$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjects3$inboundSchema), @@ -1754,32 +1848,32 @@ export const GetProjectEnvResponseBody2$inboundSchema: z.ZodType< z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjects16$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjects17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.boolean(), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - key: types.string(), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectEnvTargetProjects1$inboundSchema), - GetProjectEnvTargetProjects2$inboundSchema, - ]), - ), - type: GetProjectEnvResponseBodyProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - GetProjectEnvResponseBodyProjectsVisibility$inboundSchema, - ), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.boolean(), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + key: types.string(), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectEnvTargetProjects1$inboundSchema), + GetProjectEnvTargetProjects2$inboundSchema, + ]), + ), + type: GetProjectEnvResponseBodyProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + GetProjectEnvResponseBodyProjectsVisibility$inboundSchema, + ), + }) +); export function getProjectEnvResponseBody2FromJSON( jsonString: string, @@ -1796,10 +1890,12 @@ export const GetProjectEnvContentHint17$inboundSchema: z.ZodType< GetProjectEnvContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectEnvContentHint17FromJSON( jsonString: string, @@ -1816,13 +1912,15 @@ export const GetProjectEnvContentHint16$inboundSchema: z.ZodType< GetProjectEnvContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectEnvContentHint16FromJSON( jsonString: string, @@ -1839,10 +1937,12 @@ export const GetProjectEnvContentHint15$inboundSchema: z.ZodType< GetProjectEnvContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectEnvContentHint15FromJSON( jsonString: string, @@ -1859,10 +1959,12 @@ export const GetProjectEnvContentHint14$inboundSchema: z.ZodType< GetProjectEnvContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectEnvContentHint14FromJSON( jsonString: string, @@ -1879,10 +1981,12 @@ export const GetProjectEnvContentHint13$inboundSchema: z.ZodType< GetProjectEnvContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectEnvContentHint13FromJSON( jsonString: string, @@ -1899,10 +2003,12 @@ export const GetProjectEnvContentHint12$inboundSchema: z.ZodType< GetProjectEnvContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectEnvContentHint12FromJSON( jsonString: string, @@ -1919,10 +2025,12 @@ export const GetProjectEnvContentHint11$inboundSchema: z.ZodType< GetProjectEnvContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectEnvContentHint11FromJSON( jsonString: string, @@ -1939,10 +2047,12 @@ export const GetProjectEnvContentHint10$inboundSchema: z.ZodType< GetProjectEnvContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectEnvContentHint10FromJSON( jsonString: string, @@ -1959,10 +2069,12 @@ export const GetProjectEnvContentHint9$inboundSchema: z.ZodType< GetProjectEnvContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectEnvContentHint9FromJSON( jsonString: string, @@ -1979,10 +2091,12 @@ export const GetProjectEnvContentHint8$inboundSchema: z.ZodType< GetProjectEnvContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectEnvContentHint8FromJSON( jsonString: string, @@ -1999,10 +2113,12 @@ export const GetProjectEnvContentHint7$inboundSchema: z.ZodType< GetProjectEnvContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectEnvContentHint7FromJSON( jsonString: string, @@ -2019,10 +2135,12 @@ export const GetProjectEnvContentHint6$inboundSchema: z.ZodType< GetProjectEnvContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectEnvContentHint6FromJSON( jsonString: string, @@ -2039,10 +2157,12 @@ export const GetProjectEnvContentHint5$inboundSchema: z.ZodType< GetProjectEnvContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectEnvContentHint5FromJSON( jsonString: string, @@ -2059,10 +2179,12 @@ export const GetProjectEnvContentHint4$inboundSchema: z.ZodType< GetProjectEnvContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectEnvContentHint4FromJSON( jsonString: string, @@ -2079,10 +2201,12 @@ export const GetProjectEnvContentHint3$inboundSchema: z.ZodType< GetProjectEnvContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectEnvContentHint3FromJSON( jsonString: string, @@ -2099,10 +2223,12 @@ export const GetProjectEnvContentHint2$inboundSchema: z.ZodType< GetProjectEnvContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectEnvContentHint2FromJSON( jsonString: string, @@ -2119,10 +2245,12 @@ export const GetProjectEnvContentHint1$inboundSchema: z.ZodType< GetProjectEnvContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectEnvContentHint1FromJSON( jsonString: string, @@ -2139,25 +2267,27 @@ export const GetProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< GetProjectEnvResponseBodyContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectEnvContentHint1$inboundSchema), - z.lazy(() => GetProjectEnvContentHint2$inboundSchema), - z.lazy(() => GetProjectEnvContentHint3$inboundSchema), - z.lazy(() => GetProjectEnvContentHint4$inboundSchema), - z.lazy(() => GetProjectEnvContentHint5$inboundSchema), - z.lazy(() => GetProjectEnvContentHint6$inboundSchema), - z.lazy(() => GetProjectEnvContentHint7$inboundSchema), - z.lazy(() => GetProjectEnvContentHint8$inboundSchema), - z.lazy(() => GetProjectEnvContentHint9$inboundSchema), - z.lazy(() => GetProjectEnvContentHint10$inboundSchema), - z.lazy(() => GetProjectEnvContentHint11$inboundSchema), - z.lazy(() => GetProjectEnvContentHint12$inboundSchema), - z.lazy(() => GetProjectEnvContentHint13$inboundSchema), - z.lazy(() => GetProjectEnvContentHint14$inboundSchema), - z.lazy(() => GetProjectEnvContentHint15$inboundSchema), - z.lazy(() => GetProjectEnvContentHint16$inboundSchema), - z.lazy(() => GetProjectEnvContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectEnvContentHint1$inboundSchema), + z.lazy(() => GetProjectEnvContentHint2$inboundSchema), + z.lazy(() => GetProjectEnvContentHint3$inboundSchema), + z.lazy(() => GetProjectEnvContentHint4$inboundSchema), + z.lazy(() => GetProjectEnvContentHint5$inboundSchema), + z.lazy(() => GetProjectEnvContentHint6$inboundSchema), + z.lazy(() => GetProjectEnvContentHint7$inboundSchema), + z.lazy(() => GetProjectEnvContentHint8$inboundSchema), + z.lazy(() => GetProjectEnvContentHint9$inboundSchema), + z.lazy(() => GetProjectEnvContentHint10$inboundSchema), + z.lazy(() => GetProjectEnvContentHint11$inboundSchema), + z.lazy(() => GetProjectEnvContentHint12$inboundSchema), + z.lazy(() => GetProjectEnvContentHint13$inboundSchema), + z.lazy(() => GetProjectEnvContentHint14$inboundSchema), + z.lazy(() => GetProjectEnvContentHint15$inboundSchema), + z.lazy(() => GetProjectEnvContentHint16$inboundSchema), + z.lazy(() => GetProjectEnvContentHint17$inboundSchema), + ]) +); export function getProjectEnvResponseBodyContentHintFromJSON( jsonString: string, @@ -2173,22 +2303,24 @@ export function getProjectEnvResponseBodyContentHintFromJSON( /** @internal */ export const GetProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvTarget2 -> = z.nativeEnum(GetProjectEnvTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectEnvTarget2)); /** @internal */ export const GetProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvTarget1 -> = z.nativeEnum(GetProjectEnvTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectEnvTarget1)); /** @internal */ export const GetProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< GetProjectEnvResponseBodyTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(GetProjectEnvTarget1$inboundSchema), - GetProjectEnvTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectEnvTarget1$inboundSchema), + GetProjectEnvTarget2$inboundSchema, + ]) +); export function getProjectEnvResponseBodyTargetFromJSON( jsonString: string, @@ -2203,23 +2335,27 @@ export function getProjectEnvResponseBodyTargetFromJSON( /** @internal */ export const GetProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvResponseBodyType -> = z.nativeEnum(GetProjectEnvResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyType) +); /** @internal */ export const GetProjectEnvResponseBodyVisibility$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvResponseBodyVisibility -> = z.nativeEnum(GetProjectEnvResponseBodyVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvResponseBodyVisibility) +); /** @internal */ export const GetProjectEnvResponseBody1$inboundSchema: z.ZodType< GetProjectEnvResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectEnvContentHint1$inboundSchema), z.lazy(() => GetProjectEnvContentHint2$inboundSchema), z.lazy(() => GetProjectEnvContentHint3$inboundSchema), @@ -2237,29 +2373,31 @@ export const GetProjectEnvResponseBody1$inboundSchema: z.ZodType< z.lazy(() => GetProjectEnvContentHint15$inboundSchema), z.lazy(() => GetProjectEnvContentHint16$inboundSchema), z.lazy(() => GetProjectEnvContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.boolean(), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - key: types.string(), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectEnvTarget1$inboundSchema), - GetProjectEnvTarget2$inboundSchema, - ]), - ), - type: GetProjectEnvResponseBodyType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - visibility: types.optional(GetProjectEnvResponseBodyVisibility$inboundSchema), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.boolean(), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + key: types.string(), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectEnvTarget1$inboundSchema), + GetProjectEnvTarget2$inboundSchema, + ]), + ), + type: GetProjectEnvResponseBodyType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + visibility: types.optional( + GetProjectEnvResponseBodyVisibility$inboundSchema, + ), + }) +); export function getProjectEnvResponseBody1FromJSON( jsonString: string, @@ -2276,11 +2414,13 @@ export const GetProjectEnvResponseBody$inboundSchema: z.ZodType< GetProjectEnvResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectEnvResponseBody2$inboundSchema), - z.lazy(() => GetProjectEnvResponseBody1$inboundSchema), - z.lazy(() => GetProjectEnvResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectEnvResponseBody2$inboundSchema), + z.lazy(() => GetProjectEnvResponseBody1$inboundSchema), + z.lazy(() => GetProjectEnvResponseBody3$inboundSchema), + ]) +); export function getProjectEnvResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectmembersop.ts b/src/models/getprojectmembersop.ts index cdf52f5e18..987f6daab0 100644 --- a/src/models/getprojectmembersop.ts +++ b/src/models/getprojectmembersop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -175,15 +175,17 @@ export const GetProjectMembersRequest$outboundSchema: z.ZodType< GetProjectMembersRequest$Outbound, z.ZodTypeDef, GetProjectMembersRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - since: z.number().int().optional(), - until: z.number().int().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + since: z.number().int().optional(), + until: z.number().int().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectMembersRequestToJSON( getProjectMembersRequest: GetProjectMembersRequest, @@ -196,34 +198,36 @@ export function getProjectMembersRequestToJSON( /** @internal */ export const ComputedProjectRole$inboundSchema: z.ZodNativeEnum< typeof ComputedProjectRole -> = z.nativeEnum(ComputedProjectRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ComputedProjectRole)); /** @internal */ export const ResponseBodyRole$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyRole -> = z.nativeEnum(ResponseBodyRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyRole)); /** @internal */ export const ResponseBodyTeamRole$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTeamRole -> = z.nativeEnum(ResponseBodyTeamRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyTeamRole)); /** @internal */ export const ResponseBodyMembers$inboundSchema: z.ZodType< ResponseBodyMembers, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - computedProjectRole: ComputedProjectRole$inboundSchema, - createdAt: types.number(), - email: types.string(), - name: types.optional(types.string()), - role: ResponseBodyRole$inboundSchema, - teamRole: ResponseBodyTeamRole$inboundSchema, - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + computedProjectRole: ComputedProjectRole$inboundSchema, + createdAt: types.number(), + email: types.string(), + name: types.optional(types.string()), + role: ResponseBodyRole$inboundSchema, + teamRole: ResponseBodyTeamRole$inboundSchema, + uid: types.string(), + username: types.string(), + }) +); export function responseBodyMembersFromJSON( jsonString: string, @@ -240,12 +244,14 @@ export const GetProjectMembersResponseBodyPagination$inboundSchema: z.ZodType< GetProjectMembersResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - hasNext: types.boolean(), - next: types.nullable(types.number()), - prev: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + hasNext: types.boolean(), + next: types.nullable(types.number()), + prev: types.nullable(types.number()), + }) +); export function getProjectMembersResponseBodyPaginationFromJSON( jsonString: string, @@ -268,12 +274,14 @@ export const GetProjectMembersResponseBody2$inboundSchema: z.ZodType< GetProjectMembersResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - members: z.array(z.lazy(() => ResponseBodyMembers$inboundSchema)), - pagination: z.lazy(() => - GetProjectMembersResponseBodyPagination$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + members: z.array(z.lazy(() => ResponseBodyMembers$inboundSchema)), + pagination: z.lazy(() => + GetProjectMembersResponseBodyPagination$inboundSchema + ), + }) +); export function getProjectMembersResponseBody2FromJSON( jsonString: string, @@ -290,7 +298,7 @@ export const GetProjectMembersResponseBody1$inboundSchema: z.ZodType< GetProjectMembersResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getProjectMembersResponseBody1FromJSON( jsonString: string, @@ -307,10 +315,12 @@ export const GetProjectMembersResponseBody$inboundSchema: z.ZodType< GetProjectMembersResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectMembersResponseBody2$inboundSchema), - z.lazy(() => GetProjectMembersResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectMembersResponseBody2$inboundSchema), + z.lazy(() => GetProjectMembersResponseBody1$inboundSchema), + ]) +); export function getProjectMembersResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectprojectsbranchmatcher.ts b/src/models/getprojectprojectsbranchmatcher.ts index 4ec73d0443..0bcb86d8cc 100644 --- a/src/models/getprojectprojectsbranchmatcher.ts +++ b/src/models/getprojectprojectsbranchmatcher.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1437,12 +1437,14 @@ export const GetProjectRequest$outboundSchema: z.ZodType< GetProjectRequest$Outbound, z.ZodTypeDef, GetProjectRequest -> = z.object({ - idOrName: z.string(), - rollbackInfo: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + rollbackInfo: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectRequestToJSON( getProjectRequest: GetProjectRequest, @@ -1455,14 +1457,16 @@ export function getProjectRequestToJSON( /** @internal */ export const GetProjectConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof GetProjectConfiguredBy -> = z.nativeEnum(GetProjectConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectConfiguredBy)); /** @internal */ export const GetProjectProjectsResponseAliasAssigned$inboundSchema: z.ZodType< GetProjectProjectsResponseAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getProjectProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -1485,10 +1489,12 @@ export const GetProjectProjectsResponseAliasError$inboundSchema: z.ZodType< GetProjectProjectsResponseAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getProjectProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -1505,18 +1511,22 @@ export function getProjectProjectsResponseAliasErrorFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ export const GetProjectProjectsResponse200BranchMatcher$inboundSchema: z.ZodType = - z.object({ - pattern: types.string(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + }) + ); export function getProjectProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -1539,11 +1549,13 @@ export const GetProjectProjectsResponseBuilds$inboundSchema: z.ZodType< GetProjectProjectsResponseBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getProjectProjectsResponseBuildsFromJSON( jsonString: string, @@ -1557,27 +1569,32 @@ export function getProjectProjectsResponseBuildsFromJSON( /** @internal */ export const GetProjectProjectsResponseChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsResponseChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseChecksConclusion) + ); /** @internal */ export const GetProjectProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectProjectsResponseChecksState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseChecksState) + ); /** @internal */ export const GetProjectProjectsResponse200Creator$inboundSchema: z.ZodType< GetProjectProjectsResponse200Creator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function getProjectProjectsResponse200CreatorFromJSON( jsonString: string, @@ -1595,29 +1612,31 @@ export const GetProjectProjectsResponseOidcTokenClaims$inboundSchema: z.ZodType< GetProjectProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getProjectProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -1638,25 +1657,30 @@ export function getProjectProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectProjectsResponsePlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponsePlan -> = z.nativeEnum(GetProjectProjectsResponsePlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponsePlan) +); /** @internal */ export const GetProjectProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectProjectsResponseReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseReadyState) + ); /** @internal */ export const GetProjectProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseReadySubstate) + ); /** @internal */ export const GetProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200ApplicationJSONResponseBodyType) ); /** @internal */ @@ -1664,62 +1688,64 @@ export const GetProjectDeployment$inboundSchema: z.ZodType< GetProjectDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => GetProjectProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => GetProjectProjectsResponse200BranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => GetProjectProjectsResponseBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - GetProjectProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => GetProjectProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => GetProjectProjectsResponseOidcTokenClaims$inboundSchema), - ), - plan: GetProjectProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => GetProjectProjectsResponseAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => GetProjectProjectsResponse200BranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => GetProjectProjectsResponseBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + GetProjectProjectsResponseChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetProjectProjectsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => GetProjectProjectsResponse200Creator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => GetProjectProjectsResponseOidcTokenClaims$inboundSchema), + ), + plan: GetProjectProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectProjectsResponseReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectDeploymentFromJSON( jsonString: string, @@ -1734,30 +1760,34 @@ export function getProjectDeploymentFromJSON( /** @internal */ export const GetProjectEnvironment$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvironment -> = z.nativeEnum(GetProjectEnvironment); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectEnvironment)); /** @internal */ export const GetProjectTarget$inboundSchema: z.ZodNativeEnum< typeof GetProjectTarget -> = z.nativeEnum(GetProjectTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectTarget)); /** @internal */ export const GetProjectAlias$inboundSchema: z.ZodType< GetProjectAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(GetProjectConfiguredBy$inboundSchema).optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable(z.lazy(() => GetProjectDeployment$inboundSchema)), - domain: types.string(), - environment: GetProjectEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: GetProjectTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(GetProjectConfiguredBy$inboundSchema).optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => GetProjectDeployment$inboundSchema), + ), + domain: types.string(), + environment: GetProjectEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: GetProjectTarget$inboundSchema, + }) +); export function getProjectAliasFromJSON( jsonString: string, @@ -1774,15 +1804,17 @@ export const GetProjectAnalytics$inboundSchema: z.ZodType< GetProjectAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function getProjectAnalyticsFromJSON( jsonString: string, @@ -1799,9 +1831,11 @@ export const GetProjectBlobs$inboundSchema: z.ZodType< GetProjectBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function getProjectBlobsFromJSON( jsonString: string, @@ -1818,10 +1852,12 @@ export const GetProjectAws$inboundSchema: z.ZodType< GetProjectAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function getProjectAwsFromJSON( jsonString: string, @@ -1836,14 +1872,16 @@ export function getProjectAwsFromJSON( /** @internal */ export const GetProjectEnvId2$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvId2 -> = z.nativeEnum(GetProjectEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectEnvId2)); /** @internal */ export const GetProjectEnvId$inboundSchema: z.ZodType< GetProjectEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), GetProjectEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), GetProjectEnvId2$inboundSchema]) +); export function getProjectEnvIdFromJSON( jsonString: string, @@ -1860,16 +1898,18 @@ export const GetProjectConnectConfigurations$inboundSchema: z.ZodType< GetProjectConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => GetProjectAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), GetProjectEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => GetProjectAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), GetProjectEnvId2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function getProjectConnectConfigurationsFromJSON( jsonString: string, @@ -1886,9 +1926,11 @@ export const GetProjectCreator5$inboundSchema: z.ZodType< GetProjectCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectCreator5FromJSON( jsonString: string, @@ -1905,10 +1947,12 @@ export const GetProjectCreatorIntegration$inboundSchema: z.ZodType< GetProjectCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectCreatorIntegrationFromJSON( jsonString: string, @@ -1925,10 +1969,12 @@ export const GetProjectCreator4$inboundSchema: z.ZodType< GetProjectCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectCreatorIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectCreatorIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectCreator4FromJSON( jsonString: string, @@ -1945,10 +1991,12 @@ export const GetProjectCreatorApp$inboundSchema: z.ZodType< GetProjectCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectCreatorAppFromJSON( jsonString: string, @@ -1965,10 +2013,12 @@ export const GetProjectCreator3$inboundSchema: z.ZodType< GetProjectCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectCreator3FromJSON( jsonString: string, @@ -1985,9 +2035,11 @@ export const GetProjectCreatorProject$inboundSchema: z.ZodType< GetProjectCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectCreatorProjectFromJSON( jsonString: string, @@ -2004,10 +2056,12 @@ export const GetProjectCreator2$inboundSchema: z.ZodType< GetProjectCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetProjectCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetProjectCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function getProjectCreator2FromJSON( jsonString: string, @@ -2024,10 +2078,12 @@ export const GetProjectViaIntegration$inboundSchema: z.ZodType< GetProjectViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectViaIntegrationFromJSON( jsonString: string, @@ -2044,10 +2100,12 @@ export const GetProjectVia2$inboundSchema: z.ZodType< GetProjectVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectVia2FromJSON( jsonString: string, @@ -2064,10 +2122,12 @@ export const GetProjectViaApp$inboundSchema: z.ZodType< GetProjectViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectViaAppFromJSON( jsonString: string, @@ -2084,10 +2144,12 @@ export const GetProjectVia1$inboundSchema: z.ZodType< GetProjectVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectVia1FromJSON( jsonString: string, @@ -2104,10 +2166,12 @@ export const GetProjectCreatorVia$inboundSchema: z.ZodType< GetProjectCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectVia1$inboundSchema), - z.lazy(() => GetProjectVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectVia1$inboundSchema), + z.lazy(() => GetProjectVia2$inboundSchema), + ]) +); export function getProjectCreatorViaFromJSON( jsonString: string, @@ -2124,9 +2188,11 @@ export const GetProjectCreatorUser$inboundSchema: z.ZodType< GetProjectCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectCreatorUserFromJSON( jsonString: string, @@ -2143,16 +2209,18 @@ export const GetProjectCreator1$inboundSchema: z.ZodType< GetProjectCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectVia1$inboundSchema), z.lazy(() => GetProjectVia2$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectCreatorUser$inboundSchema + ), + }) +); export function getProjectCreator1FromJSON( jsonString: string, @@ -2169,13 +2237,15 @@ export const GetProjectCreator$inboundSchema: z.ZodType< GetProjectCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectCreator1$inboundSchema), - z.lazy(() => GetProjectCreator2$inboundSchema), - z.lazy(() => GetProjectCreator3$inboundSchema), - z.lazy(() => GetProjectCreator4$inboundSchema), - z.lazy(() => GetProjectCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectCreator1$inboundSchema), + z.lazy(() => GetProjectCreator2$inboundSchema), + z.lazy(() => GetProjectCreator3$inboundSchema), + z.lazy(() => GetProjectCreator4$inboundSchema), + z.lazy(() => GetProjectCreator5$inboundSchema), + ]) +); export function getProjectCreatorFromJSON( jsonString: string, @@ -2190,21 +2260,23 @@ export function getProjectCreatorFromJSON( /** @internal */ export const GetProjectSource$inboundSchema: z.ZodNativeEnum< typeof GetProjectSource -> = z.nativeEnum(GetProjectSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectSource)); /** @internal */ export const GetProjectDefinitions$inboundSchema: z.ZodType< GetProjectDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(GetProjectSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(GetProjectSource$inboundSchema), + }) +); export function getProjectDefinitionsFromJSON( jsonString: string, @@ -2221,13 +2293,15 @@ export const GetProjectCrons$inboundSchema: z.ZodType< GetProjectCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array(z.lazy(() => GetProjectDefinitions$inboundSchema)), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array(z.lazy(() => GetProjectDefinitions$inboundSchema)), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function getProjectCronsFromJSON( jsonString: string, @@ -2243,8 +2317,10 @@ export function getProjectCronsFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -2252,11 +2328,13 @@ export const GetProjectBranchMatcher$inboundSchema: z.ZodType< GetProjectBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function getProjectBranchMatcherFromJSON( jsonString: string, @@ -2273,12 +2351,14 @@ export const GetProjectVerification$inboundSchema: z.ZodType< GetProjectVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getProjectVerificationFromJSON( jsonString: string, @@ -2295,21 +2375,23 @@ export const GetProjectDomains$inboundSchema: z.ZodType< GetProjectDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => GetProjectVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => GetProjectVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function getProjectDomainsFromJSON( jsonString: string, @@ -2324,28 +2406,30 @@ export function getProjectDomainsFromJSON( /** @internal */ export const GetProjectType$inboundSchema: z.ZodNativeEnum< typeof GetProjectType -> = z.nativeEnum(GetProjectType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectType)); /** @internal */ export const GetProjectCustomEnvironments$inboundSchema: z.ZodType< GetProjectCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => GetProjectBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => GetProjectDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: GetProjectType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => GetProjectBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => GetProjectDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: GetProjectType$inboundSchema, + updatedAt: types.number(), + }) +); export function getProjectCustomEnvironmentsFromJSON( jsonString: string, @@ -2362,11 +2446,13 @@ export const GetProjectDataCache$inboundSchema: z.ZodType< GetProjectDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function getProjectDataCacheFromJSON( jsonString: string, @@ -2381,23 +2467,27 @@ export function getProjectDataCacheFromJSON( /** @internal */ export const GetProjectBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof GetProjectBuildMachineElasticReason -> = z.nativeEnum(GetProjectBuildMachineElasticReason); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectBuildMachineElasticReason) +); /** @internal */ export const GetProjectDirection$inboundSchema: z.ZodNativeEnum< typeof GetProjectDirection -> = z.nativeEnum(GetProjectDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectDirection)); /** @internal */ export const GetProjectBuildMachineElasticTransition$inboundSchema: z.ZodType< GetProjectBuildMachineElasticTransition, z.ZodTypeDef, unknown -> = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetProjectDirection$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetProjectDirection$inboundSchema, + }) +); export function getProjectBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2418,26 +2508,30 @@ export function getProjectBuildMachineElasticTransitionFromJSON( /** @internal */ export const GetProjectBuildMachineSelection$inboundSchema: z.ZodNativeEnum< typeof GetProjectBuildMachineSelection -> = z.nativeEnum(GetProjectBuildMachineSelection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectBuildMachineSelection) +); /** @internal */ export const GetProjectBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetProjectBuildMachineType -> = z.nativeEnum(GetProjectBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectBuildMachineType)); /** @internal */ export const GetProjectConfiguration$inboundSchema: z.ZodNativeEnum< typeof GetProjectConfiguration -> = z.nativeEnum(GetProjectConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectConfiguration)); /** @internal */ export const GetProjectBuildQueue$inboundSchema: z.ZodType< GetProjectBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(GetProjectConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional(GetProjectConfiguration$inboundSchema), + }) +); export function getProjectBuildQueueFromJSON( jsonString: string, @@ -2452,18 +2546,22 @@ export function getProjectBuildQueueFromJSON( /** @internal */ export const GetProjectFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof GetProjectFunctionDefaultMemoryType -> = z.nativeEnum(GetProjectFunctionDefaultMemoryType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectFunctionDefaultMemoryType) +); /** @internal */ export const GetProjectElasticBuildMachine4$inboundSchema: z.ZodType< GetProjectElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachine4FromJSON( jsonString: string, @@ -2480,11 +2578,13 @@ export const GetProjectElasticBuildMachine3$inboundSchema: z.ZodType< GetProjectElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachine3FromJSON( jsonString: string, @@ -2501,11 +2601,13 @@ export const GetProjectElasticBuildMachine2$inboundSchema: z.ZodType< GetProjectElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachine2FromJSON( jsonString: string, @@ -2522,11 +2624,13 @@ export const GetProjectElasticBuildMachine1$inboundSchema: z.ZodType< GetProjectElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachine1FromJSON( jsonString: string, @@ -2543,12 +2647,14 @@ export const GetProjectElasticBuildMachine$inboundSchema: z.ZodType< GetProjectElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine2$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine3$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectElasticBuildMachine1$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine3$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine4$inboundSchema), + ]) +); export function getProjectElasticBuildMachineFromJSON( jsonString: string, @@ -2565,38 +2671,42 @@ export const GetProjectDefaultResourceConfig$inboundSchema: z.ZodType< GetProjectDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetProjectBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => GetProjectBuildMachineElasticTransition$inboundSchema), - ), - buildMachineSelection: types.optional( - GetProjectBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional(GetProjectBuildMachineType$inboundSchema), - buildQueue: types.optional(z.lazy(() => GetProjectBuildQueue$inboundSchema)), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetProjectFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ - z.lazy(() => GetProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine2$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine3$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachine4$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetProjectBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional( + z.lazy(() => GetProjectBuildMachineElasticTransition$inboundSchema), + ), + buildMachineSelection: types.optional( + GetProjectBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional(GetProjectBuildMachineType$inboundSchema), + buildQueue: types.optional( + z.lazy(() => GetProjectBuildQueue$inboundSchema), + ), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetProjectFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional( + z.union([ + z.lazy(() => GetProjectElasticBuildMachine1$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine3$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachine4$inboundSchema), + ]), + ), + }) +); export function getProjectDefaultResourceConfigFromJSON( jsonString: string, @@ -2613,13 +2723,15 @@ export const GetProjectDeploymentExpiration$inboundSchema: z.ZodType< GetProjectDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function getProjectDeploymentExpirationFromJSON( jsonString: string, @@ -2636,10 +2748,12 @@ export const GetProjectEnvironments2$inboundSchema: z.ZodType< GetProjectEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function getProjectEnvironments2FromJSON( jsonString: string, @@ -2654,17 +2768,21 @@ export function getProjectEnvironments2FromJSON( /** @internal */ export const GetProjectEnvironmentsTarget$inboundSchema: z.ZodNativeEnum< typeof GetProjectEnvironmentsTarget -> = z.nativeEnum(GetProjectEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvironmentsTarget) +); /** @internal */ export const GetProjectEnvironments1$inboundSchema: z.ZodType< GetProjectEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: GetProjectEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetProjectEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function getProjectEnvironments1FromJSON( jsonString: string, @@ -2681,10 +2799,12 @@ export const GetProjectEnvironments$inboundSchema: z.ZodType< GetProjectEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectEnvironments1$inboundSchema), - z.lazy(() => GetProjectEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectEnvironments1$inboundSchema), + z.lazy(() => GetProjectEnvironments2$inboundSchema), + ]) +); export function getProjectEnvironmentsFromJSON( jsonString: string, @@ -2699,23 +2819,23 @@ export function getProjectEnvironmentsFromJSON( /** @internal */ export const GetProjectSources$inboundSchema: z.ZodNativeEnum< typeof GetProjectSources -> = z.nativeEnum(GetProjectSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectSources)); /** @internal */ export const GetProjectDeploymentSources$inboundSchema: z.ZodType< GetProjectDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetProjectEnvironments1$inboundSchema), z.lazy(() => GetProjectEnvironments2$inboundSchema), - ]), - ), - sources: z.array(GetProjectSources$inboundSchema), -}); + ])), + sources: z.array(GetProjectSources$inboundSchema), + }) +); export function getProjectDeploymentSourcesFromJSON( jsonString: string, @@ -2732,10 +2852,12 @@ export const GetProjectEnvironmentsProjects2$inboundSchema: z.ZodType< GetProjectEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function getProjectEnvironmentsProjects2FromJSON( jsonString: string, @@ -2749,19 +2871,22 @@ export function getProjectEnvironmentsProjects2FromJSON( /** @internal */ export const GetProjectEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectEnvironmentsProjectsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectEnvironmentsProjectsTarget) + ); /** @internal */ export const GetProjectEnvironmentsProjects1$inboundSchema: z.ZodType< GetProjectEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: GetProjectEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetProjectEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function getProjectEnvironmentsProjects1FromJSON( jsonString: string, @@ -2778,10 +2903,12 @@ export const GetProjectProjectsEnvironments$inboundSchema: z.ZodType< GetProjectProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectEnvironmentsProjects1$inboundSchema), - z.lazy(() => GetProjectEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectEnvironmentsProjects1$inboundSchema), + z.lazy(() => GetProjectEnvironmentsProjects2$inboundSchema), + ]) +); export function getProjectProjectsEnvironmentsFromJSON( jsonString: string, @@ -2798,11 +2925,13 @@ export const GetProjectSources2$inboundSchema: z.ZodType< GetProjectSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function getProjectSources2FromJSON( jsonString: string, @@ -2817,18 +2946,20 @@ export function getProjectSources2FromJSON( /** @internal */ export const GetProjectSourcesProvider$inboundSchema: z.ZodNativeEnum< typeof GetProjectSourcesProvider -> = z.nativeEnum(GetProjectSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectSourcesProvider)); /** @internal */ export const GetProjectSources1$inboundSchema: z.ZodType< GetProjectSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: GetProjectSourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: GetProjectSourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function getProjectSources1FromJSON( jsonString: string, @@ -2845,15 +2976,17 @@ export const GetProjectProjectsSources$inboundSchema: z.ZodType< GetProjectProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => GetProjectSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => GetProjectSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => GetProjectSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => GetProjectSources2$inboundSchema), + ]) +); export function getProjectProjectsSourcesFromJSON( jsonString: string, @@ -2870,16 +3003,14 @@ export const GetProjectGitSources$inboundSchema: z.ZodType< GetProjectGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetProjectEnvironmentsProjects1$inboundSchema), z.lazy(() => GetProjectEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => GetProjectSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -2887,9 +3018,9 @@ export const GetProjectGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => GetProjectSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getProjectGitSourcesFromJSON( jsonString: string, @@ -2906,14 +3037,16 @@ export const GetProjectDeploymentPolicy$inboundSchema: z.ZodType< GetProjectDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => GetProjectDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => GetProjectGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => GetProjectDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => GetProjectGitSources$inboundSchema)), + ).optional(), + }) +); export function getProjectDeploymentPolicyFromJSON( jsonString: string, @@ -2928,14 +3061,16 @@ export function getProjectDeploymentPolicyFromJSON( /** @internal */ export const GetProjectAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectAction -> = z.nativeEnum(GetProjectAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectAction)); /** @internal */ export const ValueCurrentValue$inboundSchema: z.ZodType< ValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function valueCurrentValueFromJSON( jsonString: string, @@ -2952,7 +3087,9 @@ export const ValuePreviousValue$inboundSchema: z.ZodType< ValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function valuePreviousValueFromJSON( jsonString: string, @@ -2969,10 +3106,16 @@ export const GetProjectValue3$inboundSchema: z.ZodType< GetProjectValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function getProjectValue3FromJSON( jsonString: string, @@ -2989,12 +3132,14 @@ export const GetProjectValue$inboundSchema: z.ZodType< GetProjectValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function getProjectValueFromJSON( jsonString: string, @@ -3011,19 +3156,19 @@ export const GetProjectDismissedToasts$inboundSchema: z.ZodType< GetProjectDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => GetProjectValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function getProjectDismissedToastsFromJSON( jsonString: string, @@ -3040,10 +3185,12 @@ export const GetProjectContentHint17$inboundSchema: z.ZodType< GetProjectContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectContentHint17FromJSON( jsonString: string, @@ -3060,13 +3207,15 @@ export const GetProjectContentHint16$inboundSchema: z.ZodType< GetProjectContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectContentHint16FromJSON( jsonString: string, @@ -3083,10 +3232,12 @@ export const GetProjectContentHint15$inboundSchema: z.ZodType< GetProjectContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectContentHint15FromJSON( jsonString: string, @@ -3103,10 +3254,12 @@ export const GetProjectContentHint14$inboundSchema: z.ZodType< GetProjectContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectContentHint14FromJSON( jsonString: string, @@ -3123,10 +3276,12 @@ export const GetProjectContentHint13$inboundSchema: z.ZodType< GetProjectContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectContentHint13FromJSON( jsonString: string, @@ -3143,10 +3298,12 @@ export const GetProjectContentHint12$inboundSchema: z.ZodType< GetProjectContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectContentHint12FromJSON( jsonString: string, @@ -3163,10 +3320,12 @@ export const GetProjectContentHint11$inboundSchema: z.ZodType< GetProjectContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectContentHint11FromJSON( jsonString: string, @@ -3183,10 +3342,12 @@ export const GetProjectContentHint10$inboundSchema: z.ZodType< GetProjectContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectContentHint10FromJSON( jsonString: string, @@ -3203,10 +3364,12 @@ export const GetProjectContentHint9$inboundSchema: z.ZodType< GetProjectContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectContentHint9FromJSON( jsonString: string, @@ -3223,10 +3386,12 @@ export const GetProjectContentHint8$inboundSchema: z.ZodType< GetProjectContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectContentHint8FromJSON( jsonString: string, @@ -3243,10 +3408,12 @@ export const GetProjectContentHint7$inboundSchema: z.ZodType< GetProjectContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectContentHint7FromJSON( jsonString: string, @@ -3263,10 +3430,12 @@ export const GetProjectContentHint6$inboundSchema: z.ZodType< GetProjectContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectContentHint6FromJSON( jsonString: string, @@ -3283,10 +3452,12 @@ export const GetProjectContentHint5$inboundSchema: z.ZodType< GetProjectContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectContentHint5FromJSON( jsonString: string, @@ -3303,10 +3474,12 @@ export const GetProjectContentHint4$inboundSchema: z.ZodType< GetProjectContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectContentHint4FromJSON( jsonString: string, @@ -3323,10 +3496,12 @@ export const GetProjectContentHint3$inboundSchema: z.ZodType< GetProjectContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectContentHint3FromJSON( jsonString: string, @@ -3343,10 +3518,12 @@ export const GetProjectContentHint2$inboundSchema: z.ZodType< GetProjectContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectContentHint2FromJSON( jsonString: string, @@ -3363,10 +3540,12 @@ export const GetProjectContentHint1$inboundSchema: z.ZodType< GetProjectContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectContentHint1FromJSON( jsonString: string, @@ -3383,25 +3562,27 @@ export const GetProjectContentHint$inboundSchema: z.ZodType< GetProjectContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectContentHint1$inboundSchema), - z.lazy(() => GetProjectContentHint2$inboundSchema), - z.lazy(() => GetProjectContentHint3$inboundSchema), - z.lazy(() => GetProjectContentHint4$inboundSchema), - z.lazy(() => GetProjectContentHint5$inboundSchema), - z.lazy(() => GetProjectContentHint6$inboundSchema), - z.lazy(() => GetProjectContentHint7$inboundSchema), - z.lazy(() => GetProjectContentHint8$inboundSchema), - z.lazy(() => GetProjectContentHint9$inboundSchema), - z.lazy(() => GetProjectContentHint10$inboundSchema), - z.lazy(() => GetProjectContentHint11$inboundSchema), - z.lazy(() => GetProjectContentHint12$inboundSchema), - z.lazy(() => GetProjectContentHint13$inboundSchema), - z.lazy(() => GetProjectContentHint14$inboundSchema), - z.lazy(() => GetProjectContentHint15$inboundSchema), - z.lazy(() => GetProjectContentHint16$inboundSchema), - z.lazy(() => GetProjectContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectContentHint1$inboundSchema), + z.lazy(() => GetProjectContentHint2$inboundSchema), + z.lazy(() => GetProjectContentHint3$inboundSchema), + z.lazy(() => GetProjectContentHint4$inboundSchema), + z.lazy(() => GetProjectContentHint5$inboundSchema), + z.lazy(() => GetProjectContentHint6$inboundSchema), + z.lazy(() => GetProjectContentHint7$inboundSchema), + z.lazy(() => GetProjectContentHint8$inboundSchema), + z.lazy(() => GetProjectContentHint9$inboundSchema), + z.lazy(() => GetProjectContentHint10$inboundSchema), + z.lazy(() => GetProjectContentHint11$inboundSchema), + z.lazy(() => GetProjectContentHint12$inboundSchema), + z.lazy(() => GetProjectContentHint13$inboundSchema), + z.lazy(() => GetProjectContentHint14$inboundSchema), + z.lazy(() => GetProjectContentHint15$inboundSchema), + z.lazy(() => GetProjectContentHint16$inboundSchema), + z.lazy(() => GetProjectContentHint17$inboundSchema), + ]) +); export function getProjectContentHintFromJSON( jsonString: string, @@ -3417,8 +3598,10 @@ export function getProjectContentHintFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -3426,11 +3609,13 @@ export const GetProjectInternalContentHint$inboundSchema: z.ZodType< GetProjectInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function getProjectInternalContentHintFromJSON( jsonString: string, @@ -3445,22 +3630,24 @@ export function getProjectInternalContentHintFromJSON( /** @internal */ export const GetProjectTarget2$inboundSchema: z.ZodNativeEnum< typeof GetProjectTarget2 -> = z.nativeEnum(GetProjectTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectTarget2)); /** @internal */ export const GetProjectTarget1$inboundSchema: z.ZodNativeEnum< typeof GetProjectTarget1 -> = z.nativeEnum(GetProjectTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectTarget1)); /** @internal */ export const GetProjectProjectsTarget$inboundSchema: z.ZodType< GetProjectProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(GetProjectTarget1$inboundSchema), - GetProjectTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectTarget1$inboundSchema), + GetProjectTarget2$inboundSchema, + ]) +); export function getProjectProjectsTargetFromJSON( jsonString: string, @@ -3475,23 +3662,23 @@ export function getProjectProjectsTargetFromJSON( /** @internal */ export const GetProjectProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsType -> = z.nativeEnum(GetProjectProjectsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectProjectsType)); /** @internal */ export const GetProjectVisibility$inboundSchema: z.ZodNativeEnum< typeof GetProjectVisibility -> = z.nativeEnum(GetProjectVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectVisibility)); /** @internal */ export const GetProjectEnv$inboundSchema: z.ZodType< GetProjectEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectContentHint1$inboundSchema), z.lazy(() => GetProjectContentHint2$inboundSchema), z.lazy(() => GetProjectContentHint3$inboundSchema), @@ -3509,35 +3696,35 @@ export const GetProjectEnv$inboundSchema: z.ZodType< z.lazy(() => GetProjectContentHint15$inboundSchema), z.lazy(() => GetProjectContentHint16$inboundSchema), z.lazy(() => GetProjectContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => GetProjectInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectTarget1$inboundSchema), - GetProjectTarget2$inboundSchema, - ]), - ), - type: GetProjectProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(GetProjectVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + GetProjectInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectTarget1$inboundSchema), + GetProjectTarget2$inboundSchema, + ]), + ), + type: GetProjectProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(GetProjectVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function getProjectEnvFromJSON( jsonString: string, @@ -3554,10 +3741,12 @@ export const GetProjectExpiration2$inboundSchema: z.ZodType< GetProjectExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function getProjectExpiration2FromJSON( jsonString: string, @@ -3574,9 +3763,11 @@ export const GetProjectExpiration1$inboundSchema: z.ZodType< GetProjectExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function getProjectExpiration1FromJSON( jsonString: string, @@ -3593,10 +3784,12 @@ export const GetProjectExpiration$inboundSchema: z.ZodType< GetProjectExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectExpiration2$inboundSchema), - z.lazy(() => GetProjectExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectExpiration2$inboundSchema), + z.lazy(() => GetProjectExpiration1$inboundSchema), + ]) +); export function getProjectExpirationFromJSON( jsonString: string, @@ -3613,9 +3806,11 @@ export const GetProjectFeatures$inboundSchema: z.ZodType< GetProjectFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function getProjectFeaturesFromJSON( jsonString: string, @@ -3630,17 +3825,19 @@ export function getProjectFeaturesFromJSON( /** @internal */ export const GetProjectFramework$inboundSchema: z.ZodNativeEnum< typeof GetProjectFramework -> = z.nativeEnum(GetProjectFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectFramework)); /** @internal */ export const GetProjectGitComments$inboundSchema: z.ZodType< GetProjectGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function getProjectGitCommentsFromJSON( jsonString: string, @@ -3657,10 +3854,12 @@ export const GetProjectConsolidatedGitCommitStatus$inboundSchema: z.ZodType< GetProjectConsolidatedGitCommitStatus, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) +); export function getProjectConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3676,22 +3875,26 @@ export function getProjectConsolidatedGitCommitStatusFromJSON( /** @internal */ export const GetProjectCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof GetProjectCreateDeployments -> = z.nativeEnum(GetProjectCreateDeployments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectCreateDeployments) +); /** @internal */ export const GetProjectGitProviderOptions$inboundSchema: z.ZodType< GetProjectGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => GetProjectConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: GetProjectCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => GetProjectConsolidatedGitCommitStatus$inboundSchema), + ), + createDeployments: GetProjectCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function getProjectGitProviderOptionsFromJSON( jsonString: string, @@ -3708,9 +3911,11 @@ export const GetProjectResources$inboundSchema: z.ZodType< GetProjectResources, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.string(), + }) +); export function getProjectResourcesFromJSON( jsonString: string, @@ -3727,12 +3932,14 @@ export const GetProjectIntegrations$inboundSchema: z.ZodType< GetProjectIntegrations, z.ZodTypeDef, unknown -> = z.object({ - installationId: types.string(), - resources: types.optional( - z.array(z.lazy(() => GetProjectResources$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + installationId: types.string(), + resources: types.optional( + z.array(z.lazy(() => GetProjectResources$inboundSchema)), + ), + }) +); export function getProjectIntegrationsFromJSON( jsonString: string, @@ -3749,9 +3956,11 @@ export const GetProjectHasProjectsValue$inboundSchema: z.ZodType< GetProjectHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectHasProjectsValueFromJSON( jsonString: string, @@ -3768,10 +3977,12 @@ export const GetProjectHas2$inboundSchema: z.ZodType< GetProjectHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => GetProjectHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => GetProjectHasProjectsValue$inboundSchema), + }) +); export function getProjectHas2FromJSON( jsonString: string, @@ -3784,17 +3995,19 @@ export function getProjectHas2FromJSON( } /** @internal */ -export const HasKey$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(HasKey); +export const HasKey$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(HasKey)); /** @internal */ export const GetProjectHasValue$inboundSchema: z.ZodType< GetProjectHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectHasValueFromJSON( jsonString: string, @@ -3811,11 +4024,13 @@ export const GetProjectHas1$inboundSchema: z.ZodType< GetProjectHas1, z.ZodTypeDef, unknown -> = z.object({ - key: HasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => GetProjectHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: HasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => GetProjectHasValue$inboundSchema), + }) +); export function getProjectHas1FromJSON( jsonString: string, @@ -3832,10 +4047,12 @@ export const GetProjectInternalRoutesHas$inboundSchema: z.ZodType< GetProjectInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectHas1$inboundSchema), - z.lazy(() => GetProjectHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectHas1$inboundSchema), + z.lazy(() => GetProjectHas2$inboundSchema), + ]) +); export function getProjectInternalRoutesHasFromJSON( jsonString: string, @@ -3850,16 +4067,20 @@ export function getProjectInternalRoutesHasFromJSON( /** @internal */ export const GetProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectInternalRoutesAction -> = z.nativeEnum(GetProjectInternalRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectInternalRoutesAction) +); /** @internal */ export const GetProjectInternalRoutesMitigate$inboundSchema: z.ZodType< GetProjectInternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectInternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectInternalRoutesAction$inboundSchema, + }) +); export function getProjectInternalRoutesMitigateFromJSON( jsonString: string, @@ -3876,16 +4097,18 @@ export const GetProjectInternalRoutes2$inboundSchema: z.ZodType< GetProjectInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => GetProjectHas1$inboundSchema), z.lazy(() => GetProjectHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => GetProjectInternalRoutesMitigate$inboundSchema), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + GetProjectInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function getProjectInternalRoutes2FromJSON( jsonString: string, @@ -3902,11 +4125,13 @@ export const GetProjectInternalRoutes1$inboundSchema: z.ZodType< GetProjectInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function getProjectInternalRoutes1FromJSON( jsonString: string, @@ -3923,10 +4148,12 @@ export const GetProjectInternalRoutes$inboundSchema: z.ZodType< GetProjectInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectInternalRoutes1$inboundSchema), - z.lazy(() => GetProjectInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectInternalRoutes1$inboundSchema), + z.lazy(() => GetProjectInternalRoutes2$inboundSchema), + ]) +); export function getProjectInternalRoutesFromJSON( jsonString: string, @@ -3943,11 +4170,13 @@ export const GetProjectIpBuckets$inboundSchema: z.ZodType< GetProjectIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function getProjectIpBucketsFromJSON( jsonString: string, @@ -3964,9 +4193,11 @@ export const GetProjectFlagDefinitionsPresent$inboundSchema: z.ZodType< GetProjectFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getProjectFlagDefinitionsPresentFromJSON( jsonString: string, @@ -3983,9 +4214,11 @@ export const GetProjectHealthCheck$inboundSchema: z.ZodType< GetProjectHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getProjectHealthCheckFromJSON( jsonString: string, @@ -4002,9 +4235,11 @@ export const GetProjectLint$inboundSchema: z.ZodType< GetProjectLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getProjectLintFromJSON( jsonString: string, @@ -4021,9 +4256,11 @@ export const GetProjectMfeConfigPresent$inboundSchema: z.ZodType< GetProjectMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getProjectMfeConfigPresentFromJSON( jsonString: string, @@ -4040,9 +4277,11 @@ export const GetProjectTypecheck$inboundSchema: z.ZodType< GetProjectTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function getProjectTypecheckFromJSON( jsonString: string, @@ -4059,25 +4298,27 @@ export const GetProjectJobs$inboundSchema: z.ZodType< GetProjectJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => GetProjectFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => GetProjectHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => GetProjectLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => GetProjectMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional(z.lazy(() => GetProjectTypecheck$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => GetProjectFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => GetProjectHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => GetProjectLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => GetProjectMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional(z.lazy(() => GetProjectTypecheck$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function getProjectJobsFromJSON( jsonString: string, @@ -4092,26 +4333,30 @@ export function getProjectJobsFromJSON( /** @internal */ export const GetProjectJobStatus$inboundSchema: z.ZodNativeEnum< typeof GetProjectJobStatus -> = z.nativeEnum(GetProjectJobStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectJobStatus)); /** @internal */ export const GetProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponseType -> = z.nativeEnum(GetProjectProjectsResponseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseType) +); /** @internal */ export const GetProjectLastAliasRequest$inboundSchema: z.ZodType< GetProjectLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: GetProjectJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: GetProjectProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: GetProjectJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: GetProjectProjectsResponseType$inboundSchema, + }) +); export function getProjectLastAliasRequestFromJSON( jsonString: string, @@ -4128,7 +4373,7 @@ export const GetProjectLastRollbackTarget$inboundSchema: z.ZodType< GetProjectLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getProjectLastRollbackTargetFromJSON( jsonString: string, @@ -4145,7 +4390,9 @@ export const GetProjectAliasAssigned$inboundSchema: z.ZodType< GetProjectAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getProjectAliasAssignedFromJSON( jsonString: string, @@ -4162,10 +4409,12 @@ export const GetProjectAliasError$inboundSchema: z.ZodType< GetProjectAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getProjectAliasErrorFromJSON( jsonString: string, @@ -4181,8 +4430,10 @@ export function getProjectAliasErrorFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -4190,11 +4441,13 @@ export const GetProjectProjectsBranchMatcher$inboundSchema: z.ZodType< GetProjectProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function getProjectProjectsBranchMatcherFromJSON( jsonString: string, diff --git a/src/models/getprojectresponsebody.ts b/src/models/getprojectresponsebody.ts index dad1f8efa5..517055f8f3 100644 --- a/src/models/getprojectresponsebody.ts +++ b/src/models/getprojectresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -360,10 +360,12 @@ export const GetProjectToProjects2$inboundSchema: z.ZodType< GetProjectToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectToProjects2FromJSON( jsonString: string, @@ -378,17 +380,21 @@ export function getProjectToProjects2FromJSON( /** @internal */ export const GetProjectToProjectsResponsePreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectToProjectsResponsePreset -> = z.nativeEnum(GetProjectToProjectsResponsePreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectToProjectsResponsePreset) +); /** @internal */ export const GetProjectToProjects1$inboundSchema: z.ZodType< GetProjectToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectToProjectsResponsePreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectToProjectsResponsePreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectToProjects1FromJSON( jsonString: string, @@ -405,10 +411,12 @@ export const GetProjectProjectsTo$inboundSchema: z.ZodType< GetProjectProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectToProjects1$inboundSchema), - z.lazy(() => GetProjectToProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectToProjects1$inboundSchema), + z.lazy(() => GetProjectToProjects2$inboundSchema), + ]) +); export function getProjectProjectsToFromJSON( jsonString: string, @@ -425,13 +433,15 @@ export const GetProjectCustomAllow$inboundSchema: z.ZodType< GetProjectCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: GetProjectFrom$inboundSchema, - to: smartUnion([ - z.lazy(() => GetProjectToProjects1$inboundSchema), - z.lazy(() => GetProjectToProjects2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: GetProjectFrom$inboundSchema, + to: smartUnion([ + z.lazy(() => GetProjectToProjects1$inboundSchema), + z.lazy(() => GetProjectToProjects2$inboundSchema), + ]), + }) +); export function getProjectCustomAllowFromJSON( jsonString: string, @@ -448,12 +458,14 @@ export const GetProjectProjects$inboundSchema: z.ZodType< GetProjectProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => GetProjectCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => GetProjectCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function getProjectProjectsFromJSON( jsonString: string, @@ -470,15 +482,17 @@ export const GetProjectTrustedSources$inboundSchema: z.ZodType< GetProjectTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(GetProjectOidcProviders$inboundSchema)), - ), - projects: types.optional( - z.record(z.lazy(() => GetProjectProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(GetProjectOidcProviders$inboundSchema)), + ), + projects: types.optional( + z.record(z.lazy(() => GetProjectProjects$inboundSchema)), + ), + }) +); export function getProjectTrustedSourcesFromJSON( jsonString: string, @@ -493,20 +507,22 @@ export function getProjectTrustedSourcesFromJSON( /** @internal */ export const GetProjectKind$inboundSchema: z.ZodNativeEnum< typeof GetProjectKind -> = z.nativeEnum(GetProjectKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectKind)); /** @internal */ export const GetProjectUsageStatus$inboundSchema: z.ZodType< GetProjectUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: GetProjectKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: GetProjectKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function getProjectUsageStatusFromJSON( jsonString: string, @@ -523,9 +539,11 @@ export const GetProjectVercelFlags$inboundSchema: z.ZodType< GetProjectVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getProjectVercelFlagsFromJSON( jsonString: string, @@ -542,13 +560,15 @@ export const GetProjectWebAnalytics$inboundSchema: z.ZodType< GetProjectWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function getProjectWebAnalyticsFromJSON( jsonString: string, @@ -565,138 +585,141 @@ export const GetProjectResponseBody$inboundSchema: z.ZodType< GetProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(GetProjectAlias$inboundSchema), - analytics: types.optional(GetProjectAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(GetProjectBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(GetProjectConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(GetProjectCreator$inboundSchema), - crons: types.optional(GetProjectCrons$inboundSchema), - customEnvironments: types.optional( - z.array(GetProjectCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(GetProjectDataCache$inboundSchema), - defaultResourceConfig: GetProjectDefaultResourceConfig$inboundSchema, - deploymentExpiration: GetProjectDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable(GetProjectDeploymentPolicy$inboundSchema) - .optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(GetProjectDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(GetProjectEnv$inboundSchema)), - expiration: types.optional(GetProjectExpiration$inboundSchema), - features: types.optional(GetProjectFeatures$inboundSchema), - framework: z.nullable(GetProjectFramework$inboundSchema).optional(), - gitComments: types.optional(GetProjectGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - GetProjectGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - integrations: types.optional(z.array(GetProjectIntegrations$inboundSchema)), - internalRoutes: types.optional( - z.array(GetProjectInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional(z.array(GetProjectIpBuckets$inboundSchema)), - jobs: types.optional(GetProjectJobs$inboundSchema), - lastAliasRequest: z.nullable(GetProjectLastAliasRequest$inboundSchema) - .optional(), - lastRollbackTarget: z.nullable(GetProjectLastRollbackTarget$inboundSchema) - .optional(), - latestDeployments: types.optional( - z.array(GetProjectLatestDeployments$inboundSchema), - ), - link: types.optional(GetProjectLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional(GetProjectMicrofrontends$inboundSchema), - name: types.string(), - nodeVersion: GetProjectNodeVersion$inboundSchema, - oidcTokenConfig: types.optional(GetProjectOidcTokenConfig$inboundSchema), - optionsAllowlist: z.nullable(GetProjectOptionsAllowlist$inboundSchema) - .optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(GetProjectPassport$inboundSchema).optional(), - passwordProtection: z.nullable(GetProjectPasswordProtection$inboundSchema) - .optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(GetProjectPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(GetProjectProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional(GetProjectProtectionConfig$inboundSchema), - resourceConfig: GetProjectResourceConfig$inboundSchema, - rollbackDescription: types.optional( - GetProjectRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable(GetProjectRollingRelease$inboundSchema).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(GetProjectSandbox$inboundSchema), - security: types.optional(GetProjectSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional(z.array(GetProjectServices$inboundSchema)), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional(GetProjectSpeedInsights$inboundSchema), - ssoProtection: z.nullable(GetProjectSsoProtection$inboundSchema).optional(), - staticIps: types.optional(GetProjectStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(GetProjectTargets$inboundSchema)), - ), - tier: types.optional(GetProjectTier$inboundSchema), - tracing: types.optional(GetProjectTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(GetProjectTrustedIps$inboundSchema).optional(), - trustedSources: z.nullable( - z.lazy(() => GetProjectTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => GetProjectUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => GetProjectVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => GetProjectWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(GetProjectAlias$inboundSchema), + analytics: types.optional(GetProjectAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(GetProjectBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(GetProjectConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(GetProjectCreator$inboundSchema), + crons: types.optional(GetProjectCrons$inboundSchema), + customEnvironments: types.optional( + z.array(GetProjectCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(GetProjectDataCache$inboundSchema), + defaultResourceConfig: GetProjectDefaultResourceConfig$inboundSchema, + deploymentExpiration: GetProjectDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable(GetProjectDeploymentPolicy$inboundSchema) + .optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(GetProjectDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(GetProjectEnv$inboundSchema)), + expiration: types.optional(GetProjectExpiration$inboundSchema), + features: types.optional(GetProjectFeatures$inboundSchema), + framework: z.nullable(GetProjectFramework$inboundSchema).optional(), + gitComments: types.optional(GetProjectGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + GetProjectGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + integrations: types.optional(z.array(GetProjectIntegrations$inboundSchema)), + internalRoutes: types.optional( + z.array(GetProjectInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional(z.array(GetProjectIpBuckets$inboundSchema)), + jobs: types.optional(GetProjectJobs$inboundSchema), + lastAliasRequest: z.nullable(GetProjectLastAliasRequest$inboundSchema) + .optional(), + lastRollbackTarget: z.nullable(GetProjectLastRollbackTarget$inboundSchema) + .optional(), + latestDeployments: types.optional( + z.array(GetProjectLatestDeployments$inboundSchema), + ), + link: types.optional(GetProjectLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional(GetProjectMicrofrontends$inboundSchema), + name: types.string(), + nodeVersion: GetProjectNodeVersion$inboundSchema, + oidcTokenConfig: types.optional(GetProjectOidcTokenConfig$inboundSchema), + optionsAllowlist: z.nullable(GetProjectOptionsAllowlist$inboundSchema) + .optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(GetProjectPassport$inboundSchema).optional(), + passwordProtection: z.nullable(GetProjectPasswordProtection$inboundSchema) + .optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(GetProjectPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(GetProjectProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional(GetProjectProtectionConfig$inboundSchema), + resourceConfig: GetProjectResourceConfig$inboundSchema, + rollbackDescription: types.optional( + GetProjectRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable(GetProjectRollingRelease$inboundSchema) + .optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(GetProjectSandbox$inboundSchema), + security: types.optional(GetProjectSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional(z.array(GetProjectServices$inboundSchema)), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional(GetProjectSpeedInsights$inboundSchema), + ssoProtection: z.nullable(GetProjectSsoProtection$inboundSchema).optional(), + staticIps: types.optional(GetProjectStaticIps$inboundSchema), + targets: types.optional( + z.record(types.nullable(GetProjectTargets$inboundSchema)), + ), + tier: types.optional(GetProjectTier$inboundSchema), + tracing: types.optional(GetProjectTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(GetProjectTrustedIps$inboundSchema).optional(), + trustedSources: z.nullable( + z.lazy(() => GetProjectTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => GetProjectUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => GetProjectVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => GetProjectWebAnalytics$inboundSchema), + ), + }) +); export function getProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectsbyidornamecustomenvironmentsop.ts b/src/models/getprojectsbyidornamecustomenvironmentsop.ts index b5cc4b6ecd..25e46c63a8 100644 --- a/src/models/getprojectsbyidornamecustomenvironmentsop.ts +++ b/src/models/getprojectsbyidornamecustomenvironmentsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -177,12 +177,14 @@ export const GetProjectsByIdOrNameCustomEnvironmentsRequest$outboundSchema: GetProjectsByIdOrNameCustomEnvironmentsRequest$Outbound, z.ZodTypeDef, GetProjectsByIdOrNameCustomEnvironmentsRequest - > = z.object({ - idOrName: z.string(), - gitBranch: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + gitBranch: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsRequestToJSON( getProjectsByIdOrNameCustomEnvironmentsRequest: @@ -200,9 +202,11 @@ export const AccountLimit$inboundSchema: z.ZodType< AccountLimit, z.ZodTypeDef, unknown -> = z.object({ - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + total: types.number(), + }) +); export function accountLimitFromJSON( jsonString: string, @@ -218,7 +222,9 @@ export function accountLimitFromJSON( export const GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType - > = z.nativeEnum(GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType) + ); /** @internal */ export const GetProjectsByIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema: @@ -226,10 +232,13 @@ export const GetProjectsByIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema: GetProjectsByIdOrNameCustomEnvironmentsBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsByIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema, + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsBranchMatcherFromJSON( jsonString: string, @@ -253,12 +262,14 @@ export const GetProjectsByIdOrNameCustomEnvironmentsVerification$inboundSchema: GetProjectsByIdOrNameCustomEnvironmentsVerification, z.ZodTypeDef, unknown - > = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsVerificationFromJSON( jsonString: string, @@ -282,23 +293,23 @@ export const GetProjectsByIdOrNameCustomEnvironmentsDomains$inboundSchema: GetProjectsByIdOrNameCustomEnvironmentsDomains, z.ZodTypeDef, unknown - > = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional(z.array(z.lazy(() => GetProjectsByIdOrNameCustomEnvironmentsVerification$inboundSchema - )), - ), - verified: types.boolean(), - }); + ))), + verified: types.boolean(), + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsDomainsFromJSON( jsonString: string, @@ -318,8 +329,10 @@ export function getProjectsByIdOrNameCustomEnvironmentsDomainsFromJSON( /** @internal */ export const GetProjectsByIdOrNameCustomEnvironmentsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsByIdOrNameCustomEnvironmentsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsByIdOrNameCustomEnvironmentsType) + ); /** @internal */ export const GetProjectsByIdOrNameCustomEnvironmentsEnvironments$inboundSchema: @@ -327,25 +340,23 @@ export const GetProjectsByIdOrNameCustomEnvironmentsEnvironments$inboundSchema: GetProjectsByIdOrNameCustomEnvironmentsEnvironments, z.ZodTypeDef, unknown - > = z.object({ - branchMatcher: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional(z.lazy(() => GetProjectsByIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema - ), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => - GetProjectsByIdOrNameCustomEnvironmentsDomains$inboundSchema )), - ), - id: types.string(), - slug: types.string(), - type: GetProjectsByIdOrNameCustomEnvironmentsType$inboundSchema, - updatedAt: types.number(), - }); + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional(z.array(z.lazy(() => + GetProjectsByIdOrNameCustomEnvironmentsDomains$inboundSchema + ))), + id: types.string(), + slug: types.string(), + type: GetProjectsByIdOrNameCustomEnvironmentsType$inboundSchema, + updatedAt: types.number(), + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsEnvironmentsFromJSON( jsonString: string, @@ -369,14 +380,14 @@ export const GetProjectsByIdOrNameCustomEnvironmentsResponseBody$inboundSchema: GetProjectsByIdOrNameCustomEnvironmentsResponseBody, z.ZodTypeDef, unknown - > = z.object({ - accountLimit: z.lazy(() => AccountLimit$inboundSchema), - environments: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountLimit: z.lazy(() => AccountLimit$inboundSchema), + environments: z.array(z.lazy(() => GetProjectsByIdOrNameCustomEnvironmentsEnvironments$inboundSchema - ), - ), - }); + )), + }) + ); export function getProjectsByIdOrNameCustomEnvironmentsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectscontenthint1.ts b/src/models/getprojectscontenthint1.ts index ede7082498..4bd3b3c668 100644 --- a/src/models/getprojectscontenthint1.ts +++ b/src/models/getprojectscontenthint1.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1605,35 +1605,39 @@ export const GetProjectsResponseBodyProjectsResourceConfig$inboundSchema: GetProjectsResponseBodyProjectsResourceConfig, z.ZodTypeDef, unknown - > = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetProjectsResponseBodyBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - GetProjectsResponseBodyBuildMachineElasticTransition$inboundSchema, - ), - buildMachineSelection: types.optional( - GetProjectsResponseBodyBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetProjectsResponseBodyBuildMachineType$inboundSchema, - ), - buildQueue: types.optional(GetProjectsResponseBodyBuildQueue$inboundSchema), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetProjectsResponseBodyFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - GetProjectsResponseBodyElasticBuildMachine$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetProjectsResponseBodyBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional( + GetProjectsResponseBodyBuildMachineElasticTransition$inboundSchema, + ), + buildMachineSelection: types.optional( + GetProjectsResponseBodyBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + GetProjectsResponseBodyBuildMachineType$inboundSchema, + ), + buildQueue: types.optional( + GetProjectsResponseBodyBuildQueue$inboundSchema, + ), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetProjectsResponseBodyFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional( + GetProjectsResponseBodyElasticBuildMachine$inboundSchema, + ), + }) + ); export function getProjectsResponseBodyProjectsResourceConfigFromJSON( jsonString: string, @@ -1656,12 +1660,14 @@ export const GetProjectsResponseBodyStages$inboundSchema: z.ZodType< GetProjectsResponseBodyStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function getProjectsResponseBodyStagesFromJSON( jsonString: string, @@ -1678,13 +1684,15 @@ export const GetProjectsResponseBodyRollingRelease$inboundSchema: z.ZodType< GetProjectsResponseBodyRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => GetProjectsResponseBodyStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => GetProjectsResponseBodyStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function getProjectsResponseBodyRollingReleaseFromJSON( jsonString: string, @@ -1700,14 +1708,18 @@ export function getProjectsResponseBodyRollingReleaseFromJSON( /** @internal */ export const GetProjectsResponseBodyHandle$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyHandle -> = z.nativeEnum(GetProjectsResponseBodyHandle); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyHandle) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType, + ) ); /** @internal */ @@ -1716,20 +1728,22 @@ export const GetProjectsValueProjectsResponse200ApplicationJson2$inboundSchema: GetProjectsValueProjectsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getProjectsValueProjectsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -1753,12 +1767,14 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsS GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetProjectsValueProjectsResponse200ApplicationJson2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetProjectsValueProjectsResponse200ApplicationJson2$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2ProjectsSecurityValueFromJSON( jsonString: string, @@ -1780,19 +1796,19 @@ export const GetProjectsResponseBodyProjectsHas$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsHas, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse200ApplicationJson2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getProjectsResponseBodyProjectsHasFromJSON( jsonString: string, @@ -1809,8 +1825,10 @@ export function getProjectsResponseBodyProjectsHasFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType, + ) ); /** @internal */ @@ -1819,20 +1837,22 @@ export const GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2$inb GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getProjectsValueProjectsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -1855,12 +1875,14 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONValue$inbo GetProjectsResponseBodyProjectsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -1882,19 +1904,19 @@ export const GetProjectsResponseBodyProjectsMissing$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsMissing, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getProjectsResponseBodyProjectsMissingFromJSON( jsonString: string, @@ -1911,26 +1933,32 @@ export function getProjectsResponseBodyProjectsMissingFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Algo$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponse200Algo); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Algo) + ); /** @internal */ export const ResponseBodyErl$inboundSchema: z.ZodType< ResponseBodyErl, z.ZodTypeDef, unknown -> = z.object({ - algo: GetProjectsResponseBodyProjectsResponse200Algo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algo: GetProjectsResponseBodyProjectsResponse200Algo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function responseBodyErlFromJSON( jsonString: string, @@ -1946,8 +1974,10 @@ export function responseBodyErlFromJSON( export const GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22 - > = z.nativeEnum( - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22, + ) ); /** @internal */ @@ -1956,10 +1986,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2LogHeader GetProjectsResponseBodyProjectsResponse200ApplicationJson2LogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2LogHeadersFromJSON( jsonString: string, @@ -1981,24 +2013,26 @@ export const GetProjectsResponseBodyProjectsMitigate$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction$inboundSchema, - erl: types.optional(z.lazy(() => ResponseBodyErl$inboundSchema)), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22$inboundSchema, - ]), - ), - rule_id: types.string(), - ttl: types.optional(types.number()), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - "rule_id": "ruleId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesAction$inboundSchema, + erl: types.optional(z.lazy(() => ResponseBodyErl$inboundSchema)), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody22$inboundSchema, + ]), + ), + rule_id: types.string(), + ttl: types.optional(types.number()), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + "rule_id": "ruleId", + }); + }) +); export function getProjectsResponseBodyProjectsMitigateFromJSON( jsonString: string, @@ -2020,8 +2054,10 @@ export function getProjectsResponseBodyProjectsMitigateFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType, + ) ); /** @internal */ @@ -2030,20 +2066,22 @@ export const GetProjectsValueProjectsResponse200ApplicationJSONResponseBody22$in GetProjectsValueProjectsResponse200ApplicationJSONResponseBody22, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getProjectsValueProjectsResponse200ApplicationJSONResponseBody22FromJSON( jsonString: string, @@ -2066,12 +2104,14 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Value$inb GetProjectsResponseBodyProjectsResponse200ApplicationJson2Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetProjectsValueProjectsResponse200ApplicationJSONResponseBody22$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetProjectsValueProjectsResponse200ApplicationJSONResponseBody22$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2ValueFromJSON( jsonString: string, @@ -2093,19 +2133,19 @@ export const ResponseBodyResponseHas$inboundSchema: z.ZodType< ResponseBodyResponseHas, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseHasType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse200ApplicationJSONResponseBody22$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function responseBodyResponseHasFromJSON( jsonString: string, @@ -2121,8 +2161,10 @@ export function responseBodyResponseHasFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType, + ) ); /** @internal */ @@ -2131,20 +2173,22 @@ export const GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2Proj GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2Projects2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getProjectsValueProjectsResponse200ApplicationJSONResponseBody2Projects2FromJSON( jsonString: string, @@ -2167,12 +2211,14 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsV GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2Projects2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2Projects2$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2ProjectsValueFromJSON( jsonString: string, @@ -2194,19 +2240,19 @@ export const ResponseBodyResponseMissing$inboundSchema: z.ZodType< ResponseBodyResponseMissing, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesResponseMissingType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse200ApplicationJSONResponseBody2Projects2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function responseBodyResponseMissingFromJSON( jsonString: string, @@ -2223,20 +2269,22 @@ export const GetProjectsSrc2$inboundSchema: z.ZodType< GetProjectsSrc2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getProjectsSrc2FromJSON( jsonString: string, @@ -2253,7 +2301,9 @@ export const ResponseBodySrc$inboundSchema: z.ZodType< ResponseBodySrc, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => GetProjectsSrc2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetProjectsSrc2$inboundSchema)]) +); export function responseBodySrcFromJSON( jsonString: string, @@ -2268,12 +2318,16 @@ export function responseBodySrcFromJSON( /** @internal */ export const ResponseBodyTierRequirement$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTierRequirement -> = z.nativeEnum(ResponseBodyTierRequirement); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyTierRequirement) +); /** @internal */ export const GetProjectsResponseBodyProjectsOp$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsOp -> = z.nativeEnum(GetProjectsResponseBodyProjectsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsOp) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Target$inboundSchema: @@ -2281,9 +2335,11 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Target$in GetProjectsResponseBodyProjectsResponse200ApplicationJson2Target, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2TargetFromJSON( jsonString: string, @@ -2304,8 +2360,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2Target export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType, + ) ); /** @internal */ @@ -2313,15 +2371,17 @@ export const GetProjectsResponseBodyProjectsTransforms$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsTransforms, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - op: GetProjectsResponseBodyProjectsOp$inboundSchema, - target: z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Target$inboundSchema - ), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + op: GetProjectsResponseBodyProjectsOp$inboundSchema, + target: z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Target$inboundSchema + ), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityFirewallRoutesTransformsType$inboundSchema, + }) +); export function getProjectsResponseBodyProjectsTransformsFromJSON( jsonString: string, @@ -2344,40 +2404,44 @@ export const ResponseBodyFirewallRoutes$inboundSchema: z.ZodType< ResponseBodyFirewallRoutes, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: types.optional(GetProjectsResponseBodyHandle$inboundSchema), - has: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyProjectsHas$inboundSchema)), - ), - missing: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyProjectsMissing$inboundSchema)), - ), - mitigate: types.optional( - z.lazy(() => GetProjectsResponseBodyProjectsMitigate$inboundSchema), - ), - response_has: types.optional( - z.array(z.lazy(() => ResponseBodyResponseHas$inboundSchema)), - ), - response_missing: types.optional( - z.array(z.lazy(() => ResponseBodyResponseMissing$inboundSchema)), - ), - src: types.optional( - smartUnion([types.string(), z.lazy(() => GetProjectsSrc2$inboundSchema)]), - ), - status: types.optional(types.number()), - tierRequirement: types.optional(ResponseBodyTierRequirement$inboundSchema), - transforms: types.optional( - z.array( - z.lazy(() => GetProjectsResponseBodyProjectsTransforms$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: types.optional(GetProjectsResponseBodyHandle$inboundSchema), + has: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyProjectsHas$inboundSchema)), + ), + missing: types.optional( + z.array( + z.lazy(() => GetProjectsResponseBodyProjectsMissing$inboundSchema), + ), + ), + mitigate: types.optional( + z.lazy(() => GetProjectsResponseBodyProjectsMitigate$inboundSchema), + ), + response_has: types.optional( + z.array(z.lazy(() => ResponseBodyResponseHas$inboundSchema)), + ), + response_missing: types.optional( + z.array(z.lazy(() => ResponseBodyResponseMissing$inboundSchema)), + ), + src: types.optional( + smartUnion([types.string(), z.lazy(() => GetProjectsSrc2$inboundSchema)]), + ), + status: types.optional(types.number()), + tierRequirement: types.optional(ResponseBodyTierRequirement$inboundSchema), + transforms: types.optional( + z.array(z.lazy(() => + GetProjectsResponseBodyProjectsTransforms$inboundSchema + )), ), - ), -}).transform((v) => { - return remap$(v, { - "response_has": "responseHas", - "response_missing": "responseMissing", - }); -}); + }).transform((v) => { + return remap$(v, { + "response_has": "responseHas", + "response_missing": "responseMissing", + }); + }) +); export function responseBodyFirewallRoutesFromJSON( jsonString: string, @@ -2391,19 +2455,22 @@ export function responseBodyFirewallRoutesFromJSON( /** @internal */ export const GetProjectsLogHeadersProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsLogHeadersProjectsResponse2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsLogHeadersProjectsResponse2) + ); /** @internal */ export const GetProjectsResponseBodyProjectsLogHeaders$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse2$inboundSchema, + ]) +); export function getProjectsResponseBodyProjectsLogHeadersFromJSON( jsonString: string, @@ -2425,8 +2492,10 @@ export function getProjectsResponseBodyProjectsLogHeadersFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction, + ) ); /** @internal */ @@ -2434,12 +2503,14 @@ export const GetProjectsResponseBodyAiBots$inboundSchema: z.ZodType< GetProjectsResponseBodyAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyAiBotsFromJSON( jsonString: string, @@ -2455,8 +2526,10 @@ export function getProjectsResponseBodyAiBotsFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction, + ) ); /** @internal */ @@ -2464,12 +2537,14 @@ export const GetProjectsResponseBodyBotFilter$inboundSchema: z.ZodType< GetProjectsResponseBodyBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyBotFilterFromJSON( jsonString: string, @@ -2485,8 +2560,10 @@ export function getProjectsResponseBodyBotFilterFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction, + ) ); /** @internal */ @@ -2494,12 +2571,14 @@ export const GetProjectsResponseBodyOwasp$inboundSchema: z.ZodType< GetProjectsResponseBodyOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyOwaspFromJSON( jsonString: string, @@ -2515,8 +2594,10 @@ export function getProjectsResponseBodyOwaspFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -2524,12 +2605,14 @@ export const GetProjectsResponseBodyTrafficSources$inboundSchema: z.ZodType< GetProjectsResponseBodyTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyTrafficSourcesFromJSON( jsonString: string, @@ -2546,8 +2629,10 @@ export function getProjectsResponseBodyTrafficSourcesFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -2555,12 +2640,14 @@ export const GetProjectsResponseBodyVercelRuleset$inboundSchema: z.ZodType< GetProjectsResponseBodyVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyVercelRulesetFromJSON( jsonString: string, @@ -2578,24 +2665,26 @@ export const GetProjectsResponseBodyManagedRules$inboundSchema: z.ZodType< GetProjectsResponseBodyManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => GetProjectsResponseBodyAiBots$inboundSchema), - bot_filter: z.lazy(() => GetProjectsResponseBodyBotFilter$inboundSchema), - owasp: z.lazy(() => GetProjectsResponseBodyOwasp$inboundSchema), - traffic_sources: z.lazy(() => - GetProjectsResponseBodyTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => - GetProjectsResponseBodyVercelRuleset$inboundSchema - ), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => GetProjectsResponseBodyAiBots$inboundSchema), + bot_filter: z.lazy(() => GetProjectsResponseBodyBotFilter$inboundSchema), + owasp: z.lazy(() => GetProjectsResponseBodyOwasp$inboundSchema), + traffic_sources: z.lazy(() => + GetProjectsResponseBodyTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + GetProjectsResponseBodyVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function getProjectsResponseBodyManagedRulesFromJSON( jsonString: string, @@ -2612,15 +2701,19 @@ export function getProjectsResponseBodyManagedRulesFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action, + ) ); /** @internal */ export const GetProjectsLogHeadersProjectsResponse200ApplicationJson2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeadersProjectsResponse200ApplicationJson2 - > = z.nativeEnum(GetProjectsLogHeadersProjectsResponse200ApplicationJson2); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsLogHeadersProjectsResponse200ApplicationJson2) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200LogHeaders$inboundSchema: @@ -2628,10 +2721,12 @@ export const GetProjectsResponseBodyProjectsResponse200LogHeaders$inboundSchema: GetProjectsResponseBodyProjectsResponse200LogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJson2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJson2$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200LogHeadersFromJSON( jsonString: string, @@ -2653,29 +2748,35 @@ export function getProjectsResponseBodyProjectsResponse200LogHeadersFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsAlgo$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsAlgo -> = z.nativeEnum(GetProjectsResponseBodyProjectsAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsAlgo) +); /** @internal */ export const GetProjectsResponseBodyRateLimit$inboundSchema: z.ZodType< GetProjectsResponseBodyRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction$inboundSchema, - ).optional(), - algo: GetProjectsResponseBodyProjectsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsSecurityRulesetsAction$inboundSchema, + ).optional(), + algo: GetProjectsResponseBodyProjectsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getProjectsResponseBodyRateLimitFromJSON( jsonString: string, @@ -2692,10 +2793,12 @@ export const GetProjectsResponseBodyRedirect$inboundSchema: z.ZodType< GetProjectsResponseBodyRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getProjectsResponseBodyRedirectFromJSON( jsonString: string, @@ -2712,24 +2815,26 @@ export const GetProjectsResponseBodyRulesets$inboundSchema: z.ZodType< GetProjectsResponseBodyRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJson2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetProjectsResponseBodyRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetProjectsResponseBodyRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJson2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetProjectsResponseBodyRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetProjectsResponseBodyRedirect$inboundSchema), + ).optional(), + }) +); export function getProjectsResponseBodyRulesetsFromJSON( jsonString: string, @@ -2746,40 +2851,42 @@ export const GetProjectsResponseBodySecurity$inboundSchema: z.ZodType< GetProjectsResponseBodySecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallRoutes: types.optional( - z.array(z.lazy(() => ResponseBodyFirewallRoutes$inboundSchema)), - ), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => GetProjectsResponseBodyManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - requestLogsKey: types.optional(z.array(types.string())), - rulesets: types.optional( - z.record(z.lazy(() => GetProjectsResponseBodyRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallRoutes: types.optional( + z.array(z.lazy(() => ResponseBodyFirewallRoutes$inboundSchema)), + ), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => GetProjectsResponseBodyManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + requestLogsKey: types.optional(z.array(types.string())), + rulesets: types.optional( + z.record(z.lazy(() => GetProjectsResponseBodyRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function getProjectsResponseBodySecurityFromJSON( jsonString: string, @@ -2796,15 +2903,17 @@ export const GetProjectsResponseBodySpeedInsights$inboundSchema: z.ZodType< GetProjectsResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function getProjectsResponseBodySpeedInsightsFromJSON( jsonString: string, @@ -2821,36 +2930,44 @@ export function getProjectsResponseBodySpeedInsightsFromJSON( export const GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const GetProjectsResponseBodyCve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectsResponseBodyCve55182MigrationAppliedFrom); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyCve55182MigrationAppliedFrom) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseDeploymentType - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponseDeploymentType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseDeploymentType) + ); /** @internal */ export const GetProjectsResponseBodySsoProtection$inboundSchema: z.ZodType< GetProjectsResponseBodySsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - GetProjectsResponseBodyCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - GetProjectsResponseBodyProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + GetProjectsResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + GetProjectsResponseBodyCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + GetProjectsResponseBodyProjectsResponseDeploymentType$inboundSchema, + }) +); export function getProjectsResponseBodySsoProtectionFromJSON( jsonString: string, @@ -2869,7 +2986,9 @@ export const GetProjectsResponseBodyProjectsResponse200AliasAssigned$inboundSche GetProjectsResponseBodyProjectsResponse200AliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponse200AliasAssignedFromJSON( jsonString: string, @@ -2892,10 +3011,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONAliasError GetProjectsResponseBodyProjectsResponse200ApplicationJSONAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONAliasErrorFromJSON( jsonString: string, @@ -2916,8 +3037,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSONAliasEr export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType, + ) ); /** @internal */ @@ -2926,11 +3049,13 @@ export const GetProjectsResponseBodyProjectsResponse200BranchMatcher$inboundSche GetProjectsResponseBodyProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsBranchMatcherType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -2953,11 +3078,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONBuilds$inb GetProjectsResponseBodyProjectsResponse200ApplicationJSONBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONBuildsFromJSON( jsonString: string, @@ -2978,16 +3105,20 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSONBuildsF export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState, + ) ); /** @internal */ @@ -2996,13 +3127,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsC GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2ProjectsCreatorFromJSON( jsonString: string, @@ -3025,29 +3158,31 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONOidcTokenC GetProjectsResponseBodyProjectsResponse200ApplicationJSONOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONOidcTokenClaimsFromJSON( jsonString: string, @@ -3068,32 +3203,38 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSONOidcTok export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType, + ) ); /** @internal */ @@ -3101,74 +3242,66 @@ export const GetProjectsResponseBodyTargets$inboundSchema: z.ZodType< GetProjectsResponseBodyTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJSONAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200BranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJSONBuilds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsCreator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJSONBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONChecksState$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJSONOidcTokenClaims$inboundSchema + )), + plan: + GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate$inboundSchema, ), - ), - plan: - GetProjectsResponseBodyProjectsResponse200ApplicationJSONPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsTargetsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyTargetsFromJSON( jsonString: string, @@ -3183,14 +3316,18 @@ export function getProjectsResponseBodyTargetsFromJSON( /** @internal */ export const GetProjectsResponseBodyTier$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyTier -> = z.nativeEnum(GetProjectsResponseBodyTier); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyTier) +); /** @internal */ export const GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset, + ) ); /** @internal */ @@ -3198,11 +3335,13 @@ export const GetProjectsToProjectsResponse2$inboundSchema: z.ZodType< GetProjectsToProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - preset: - GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetProjectsToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsToProjectsResponse2FromJSON( jsonString: string, @@ -3218,19 +3357,23 @@ export function getProjectsToProjectsResponse2FromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONPreset - > = z.nativeEnum(GetProjectsToProjectsResponse200ApplicationJSONPreset); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsToProjectsResponse200ApplicationJSONPreset) + ); /** @internal */ export const GetProjectsToProjectsResponse1$inboundSchema: z.ZodType< GetProjectsToProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - GetProjectsToProjectsResponse200ApplicationJSONPreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetProjectsToProjectsResponse200ApplicationJSONPreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function getProjectsToProjectsResponse1FromJSON( jsonString: string, @@ -3247,10 +3390,12 @@ export const GetProjectsResponseBodyProjectsTo$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsToProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsToProjectsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsToProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsToProjectsResponse2$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsToFromJSON( jsonString: string, @@ -3267,14 +3412,16 @@ export const GetProjectsResponseBodyOidcProviders$inboundSchema: z.ZodType< GetProjectsResponseBodyOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => GetProjectsToProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsToProjectsResponse2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => GetProjectsToProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsToProjectsResponse2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function getProjectsResponseBodyOidcProvidersFromJSON( jsonString: string, @@ -3289,18 +3436,22 @@ export function getProjectsResponseBodyOidcProvidersFromJSON( /** @internal */ export const GetProjectsFromProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsFromProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsFromProjectsResponse200Preset) + ); /** @internal */ export const GetProjectsFromProjects2$inboundSchema: z.ZodType< GetProjectsFromProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectsFromProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectsFromProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsFromProjects2FromJSON( jsonString: string, @@ -3314,19 +3465,22 @@ export function getProjectsFromProjects2FromJSON( /** @internal */ export const GetProjectsFromProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsFromProjectsResponsePreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsFromProjectsResponsePreset) + ); /** @internal */ export const GetProjectsFromProjects1$inboundSchema: z.ZodType< GetProjectsFromProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectsFromProjectsResponsePreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectsFromProjectsResponsePreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectsFromProjects1FromJSON( jsonString: string, @@ -3343,10 +3497,12 @@ export const GetProjectsResponseBodyFrom$inboundSchema: z.ZodType< GetProjectsResponseBodyFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsFromProjects1$inboundSchema), - z.lazy(() => GetProjectsFromProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsFromProjects1$inboundSchema), + z.lazy(() => GetProjectsFromProjects2$inboundSchema), + ]) +); export function getProjectsResponseBodyFromFromJSON( jsonString: string, @@ -3362,8 +3518,10 @@ export function getProjectsResponseBodyFromFromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset, + ) ); /** @internal */ @@ -3372,11 +3530,13 @@ export const GetProjectsToProjectsResponse200ApplicationJson2$inboundSchema: GetProjectsToProjectsResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - preset: - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2ProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) + ); export function getProjectsToProjectsResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -3398,8 +3558,10 @@ export function getProjectsToProjectsResponse200ApplicationJSON2FromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset, + ) ); /** @internal */ @@ -3408,12 +3570,14 @@ export const GetProjectsToProjectsResponse200ApplicationJson1$inboundSchema: GetProjectsToProjectsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - preset: types.optional( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset$inboundSchema, - ), - slugs: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2Preset$inboundSchema, + ), + slugs: z.array(types.string()), + }) + ); export function getProjectsToProjectsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -3437,14 +3601,16 @@ export const GetProjectsResponseBodyProjectsResponse200To$inboundSchema: GetProjectsResponseBodyProjectsResponse200To, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJson2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJson2$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ToFromJSON( jsonString: string, @@ -3467,20 +3633,22 @@ export const GetProjectsResponseBodyCustomAllow$inboundSchema: z.ZodType< GetProjectsResponseBodyCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: smartUnion([ - z.lazy(() => GetProjectsFromProjects1$inboundSchema), - z.lazy(() => GetProjectsFromProjects2$inboundSchema), - ]), - to: smartUnion([ - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJson1$inboundSchema - ), - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJson2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: smartUnion([ + z.lazy(() => GetProjectsFromProjects1$inboundSchema), + z.lazy(() => GetProjectsFromProjects2$inboundSchema), + ]), + to: smartUnion([ + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJson1$inboundSchema + ), + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJson2$inboundSchema + ), + ]), + }) +); export function getProjectsResponseBodyCustomAllowFromJSON( jsonString: string, @@ -3499,12 +3667,14 @@ export const GetProjectsResponseBodyProjectsResponse200Projects$inboundSchema: GetProjectsResponseBodyProjectsResponse200Projects, z.ZodTypeDef, unknown - > = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) + ); export function getProjectsResponseBodyProjectsResponse200ProjectsFromJSON( jsonString: string, @@ -3527,19 +3697,17 @@ export const GetProjectsResponseBodyTrustedSources$inboundSchema: z.ZodType< GetProjectsResponseBodyTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional(z.record(z.array(z.lazy(() => GetProjectsResponseBodyOidcProviders$inboundSchema - ))), - ), - projects: types.optional( - z.record(z.lazy(() => + )))), + projects: types.optional(z.record(z.lazy(() => GetProjectsResponseBodyProjectsResponse200Projects$inboundSchema - )), - ), -}); + ))), + }) +); export function getProjectsResponseBodyTrustedSourcesFromJSON( jsonString: string, @@ -3557,13 +3725,15 @@ export const GetProjectsResponseBodyWebAnalytics$inboundSchema: z.ZodType< GetProjectsResponseBodyWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function getProjectsResponseBodyWebAnalyticsFromJSON( jsonString: string, @@ -3581,98 +3751,102 @@ export const ResponseBodyProjects$inboundSchema: z.ZodType< ResponseBodyProjects, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(GetProjectsResponseBodyAlias$inboundSchema), - analytics: types.optional(GetProjectsResponseBodyAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - creator: types.optional( - GetProjectsResponseBodyProjectsResponse200Creator$inboundSchema, - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - deploymentExpiration: - GetProjectsResponseBodyDeploymentExpiration$inboundSchema, - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - env: types.optional(z.array(GetProjectsResponseBodyEnv$inboundSchema)), - expiration: types.optional(GetProjectsResponseBodyExpiration$inboundSchema), - framework: z.nullable(GetProjectsResponseBodyFramework$inboundSchema) - .optional(), - gitComments: types.optional(GetProjectsResponseBodyGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitProviderOptions: types.optional( - GetProjectsResponseBodyGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(GetProjectsResponseBodyInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(GetProjectsResponseBodyIpBuckets$inboundSchema), - ), - latestDeployments: types.optional( - z.array(GetProjectsResponseBodyLatestDeployments$inboundSchema), - ), - link: types.optional(GetProjectsResponseBodyLink$inboundSchema), - live: types.optional(types.boolean()), - name: types.string(), - nodeVersion: GetProjectsResponseBodyProjectsNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - GetProjectsResponseBodyOidcTokenConfig$inboundSchema, - ), - outputDirectory: z.nullable(types.string()).optional(), - passport: z.nullable(GetProjectsResponseBodyPassport$inboundSchema) - .optional(), - passwordProtection: z.nullable( - GetProjectsResponseBodyPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - resourceConfig: z.lazy(() => - GetProjectsResponseBodyProjectsResourceConfig$inboundSchema - ), - rollingRelease: z.nullable( - z.lazy(() => GetProjectsResponseBodyRollingRelease$inboundSchema), - ).optional(), - rootDirectory: z.nullable(types.string()).optional(), - security: types.optional( - z.lazy(() => GetProjectsResponseBodySecurity$inboundSchema), - ), - serverlessFunctionRegion: types.string(), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - z.lazy(() => GetProjectsResponseBodySpeedInsights$inboundSchema), - ), - ssoProtection: z.nullable( - z.lazy(() => GetProjectsResponseBodySsoProtection$inboundSchema), - ).optional(), - targets: types.optional( - z.record(types.nullable(z.lazy(() => - GetProjectsResponseBodyTargets$inboundSchema - ))), - ), - tier: types.optional(GetProjectsResponseBodyTier$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedSources: z.nullable( - z.lazy(() => GetProjectsResponseBodyTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - webAnalytics: types.optional( - z.lazy(() => GetProjectsResponseBodyWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(GetProjectsResponseBodyAlias$inboundSchema), + analytics: types.optional(GetProjectsResponseBodyAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + creator: types.optional( + GetProjectsResponseBodyProjectsResponse200Creator$inboundSchema, + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + deploymentExpiration: + GetProjectsResponseBodyDeploymentExpiration$inboundSchema, + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + env: types.optional(z.array(GetProjectsResponseBodyEnv$inboundSchema)), + expiration: types.optional(GetProjectsResponseBodyExpiration$inboundSchema), + framework: z.nullable(GetProjectsResponseBodyFramework$inboundSchema) + .optional(), + gitComments: types.optional( + GetProjectsResponseBodyGitComments$inboundSchema, + ), + gitForkProtection: types.optional(types.boolean()), + gitProviderOptions: types.optional( + GetProjectsResponseBodyGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(GetProjectsResponseBodyInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(GetProjectsResponseBodyIpBuckets$inboundSchema), + ), + latestDeployments: types.optional( + z.array(GetProjectsResponseBodyLatestDeployments$inboundSchema), + ), + link: types.optional(GetProjectsResponseBodyLink$inboundSchema), + live: types.optional(types.boolean()), + name: types.string(), + nodeVersion: GetProjectsResponseBodyProjectsNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + GetProjectsResponseBodyOidcTokenConfig$inboundSchema, + ), + outputDirectory: z.nullable(types.string()).optional(), + passport: z.nullable(GetProjectsResponseBodyPassport$inboundSchema) + .optional(), + passwordProtection: z.nullable( + GetProjectsResponseBodyPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + resourceConfig: z.lazy(() => + GetProjectsResponseBodyProjectsResourceConfig$inboundSchema + ), + rollingRelease: z.nullable( + z.lazy(() => GetProjectsResponseBodyRollingRelease$inboundSchema), + ).optional(), + rootDirectory: z.nullable(types.string()).optional(), + security: types.optional( + z.lazy(() => GetProjectsResponseBodySecurity$inboundSchema), + ), + serverlessFunctionRegion: types.string(), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + z.lazy(() => GetProjectsResponseBodySpeedInsights$inboundSchema), + ), + ssoProtection: z.nullable( + z.lazy(() => GetProjectsResponseBodySsoProtection$inboundSchema), + ).optional(), + targets: types.optional( + z.record(types.nullable(z.lazy(() => + GetProjectsResponseBodyTargets$inboundSchema + ))), + ), + tier: types.optional(GetProjectsResponseBodyTier$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedSources: z.nullable( + z.lazy(() => GetProjectsResponseBodyTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + webAnalytics: types.optional( + z.lazy(() => GetProjectsResponseBodyWebAnalytics$inboundSchema), + ), + }) +); export function responseBodyProjectsFromJSON( jsonString: string, @@ -3689,10 +3863,12 @@ export const GetProjectsResponseBody2$inboundSchema: z.ZodType< GetProjectsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: GetProjectsResponseBodyPagination$inboundSchema, - projects: z.array(z.lazy(() => ResponseBodyProjects$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: GetProjectsResponseBodyPagination$inboundSchema, + projects: z.array(z.lazy(() => ResponseBodyProjects$inboundSchema)), + }) +); export function getProjectsResponseBody2FromJSON( jsonString: string, @@ -3707,7 +3883,7 @@ export function getProjectsResponseBody2FromJSON( /** @internal */ export const ResponseBodyConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyConfiguredBy -> = z.nativeEnum(ResponseBodyConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyConfiguredBy)); /** @internal */ export const GetProjectsResponseBodyProjectsAliasAssigned$inboundSchema: @@ -3715,7 +3891,9 @@ export const GetProjectsResponseBodyProjectsAliasAssigned$inboundSchema: GetProjectsResponseBodyProjectsAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsAliasAssignedFromJSON( jsonString: string, @@ -3739,10 +3917,12 @@ export const GetProjectsResponseBodyProjectsResponseAliasError$inboundSchema: GetProjectsResponseBodyProjectsResponseAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -3764,8 +3944,10 @@ export function getProjectsResponseBodyProjectsResponseAliasErrorFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType, + ) ); /** @internal */ @@ -3774,11 +3956,13 @@ export const GetProjectsResponseBodyProjectsBranchMatcher$inboundSchema: GetProjectsResponseBodyProjectsBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasDeploymentType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsBranchMatcherFromJSON( jsonString: string, @@ -3802,11 +3986,13 @@ export const GetProjectsResponseBodyProjectsResponseBuilds$inboundSchema: GetProjectsResponseBodyProjectsResponseBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponseBuildsFromJSON( jsonString: string, @@ -3828,12 +4014,16 @@ export function getProjectsResponseBodyProjectsResponseBuildsFromJSON( export const GetProjectsResponseBodyProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseChecksConclusion - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponseChecksConclusion); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseChecksConclusion) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseChecksState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Creator$inboundSchema: @@ -3841,13 +4031,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Creator$i GetProjectsResponseBodyProjectsResponse200ApplicationJson1Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON1CreatorFromJSON( jsonString: string, @@ -3870,29 +4062,31 @@ export const GetProjectsResponseBodyProjectsResponseOidcTokenClaims$inboundSchem GetProjectsResponseBodyProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -3911,25 +4105,33 @@ export function getProjectsResponseBodyProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponsePlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponsePlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponsePlan) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseReadyState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseReadySubstate$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectsResponseBodyProjectsResponseReadySubstate); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseReadySubstate) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType, + ) ); /** @internal */ @@ -3937,70 +4139,64 @@ export const ResponseBodyDeployment$inboundSchema: z.ZodType< ResponseBodyDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponseAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => GetProjectsResponseBodyProjectsBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponseBuilds$inboundSchema + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => + GetProjectsResponseBodyProjectsBranchMatcher$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Creator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponseBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponseChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson1Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponseOidcTokenClaims$inboundSchema + )), + plan: GetProjectsResponseBodyProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectsResponseBodyProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponseReadySubstate$inboundSchema, ), - ), - plan: GetProjectsResponseBodyProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectsResponseBodyProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1AliasType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function responseBodyDeploymentFromJSON( jsonString: string, @@ -4015,32 +4211,36 @@ export function responseBodyDeploymentFromJSON( /** @internal */ export const ResponseBodyEnvironment$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyEnvironment -> = z.nativeEnum(ResponseBodyEnvironment); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyEnvironment)); /** @internal */ export const GetProjectsResponseBodyTarget$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyTarget -> = z.nativeEnum(GetProjectsResponseBodyTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyTarget) +); /** @internal */ export const ResponseBodyAlias$inboundSchema: z.ZodType< ResponseBodyAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(ResponseBodyConfiguredBy$inboundSchema).optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => ResponseBodyDeployment$inboundSchema), - ), - domain: types.string(), - environment: ResponseBodyEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: GetProjectsResponseBodyTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(ResponseBodyConfiguredBy$inboundSchema).optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => ResponseBodyDeployment$inboundSchema), + ), + domain: types.string(), + environment: ResponseBodyEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: GetProjectsResponseBodyTarget$inboundSchema, + }) +); export function responseBodyAliasFromJSON( jsonString: string, @@ -4057,15 +4257,17 @@ export const ResponseBodyAnalytics$inboundSchema: z.ZodType< ResponseBodyAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function responseBodyAnalyticsFromJSON( jsonString: string, @@ -4082,9 +4284,11 @@ export const GetProjectsCreator5$inboundSchema: z.ZodType< GetProjectsCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectsCreator5FromJSON( jsonString: string, @@ -4101,10 +4305,12 @@ export const GetProjectsCreatorIntegration$inboundSchema: z.ZodType< GetProjectsCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsCreatorIntegrationFromJSON( jsonString: string, @@ -4121,10 +4327,12 @@ export const GetProjectsCreator4$inboundSchema: z.ZodType< GetProjectsCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectsCreatorIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectsCreatorIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectsCreator4FromJSON( jsonString: string, @@ -4141,10 +4349,12 @@ export const GetProjectsCreatorApp$inboundSchema: z.ZodType< GetProjectsCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsCreatorAppFromJSON( jsonString: string, @@ -4161,10 +4371,12 @@ export const GetProjectsCreator3$inboundSchema: z.ZodType< GetProjectsCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsCreator3FromJSON( jsonString: string, @@ -4181,9 +4393,11 @@ export const GetProjectsCreatorProject$inboundSchema: z.ZodType< GetProjectsCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorProjectFromJSON( jsonString: string, @@ -4200,10 +4414,12 @@ export const GetProjectsCreator2$inboundSchema: z.ZodType< GetProjectsCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetProjectsCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetProjectsCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function getProjectsCreator2FromJSON( jsonString: string, @@ -4220,10 +4436,12 @@ export const GetProjectsViaIntegration$inboundSchema: z.ZodType< GetProjectsViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsViaIntegrationFromJSON( jsonString: string, @@ -4240,10 +4458,12 @@ export const GetProjectsVia2$inboundSchema: z.ZodType< GetProjectsVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectsViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectsViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectsVia2FromJSON( jsonString: string, @@ -4260,10 +4480,12 @@ export const GetProjectsViaApp$inboundSchema: z.ZodType< GetProjectsViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsViaAppFromJSON( jsonString: string, @@ -4280,10 +4502,12 @@ export const GetProjectsVia1$inboundSchema: z.ZodType< GetProjectsVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsVia1FromJSON( jsonString: string, @@ -4300,10 +4524,12 @@ export const GetProjectsCreatorVia$inboundSchema: z.ZodType< GetProjectsCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsVia1$inboundSchema), - z.lazy(() => GetProjectsVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsVia1$inboundSchema), + z.lazy(() => GetProjectsVia2$inboundSchema), + ]) +); export function getProjectsCreatorViaFromJSON( jsonString: string, @@ -4320,9 +4546,11 @@ export const GetProjectsCreatorUser$inboundSchema: z.ZodType< GetProjectsCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorUserFromJSON( jsonString: string, @@ -4339,16 +4567,18 @@ export const GetProjectsCreator1$inboundSchema: z.ZodType< GetProjectsCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectsVia1$inboundSchema), z.lazy(() => GetProjectsVia2$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectsCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectsCreatorUser$inboundSchema + ), + }) +); export function getProjectsCreator1FromJSON( jsonString: string, @@ -4365,13 +4595,15 @@ export const GetProjectsResponseBodyCreator$inboundSchema: z.ZodType< GetProjectsResponseBodyCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsCreator1$inboundSchema), - z.lazy(() => GetProjectsCreator2$inboundSchema), - z.lazy(() => GetProjectsCreator3$inboundSchema), - z.lazy(() => GetProjectsCreator4$inboundSchema), - z.lazy(() => GetProjectsCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsCreator1$inboundSchema), + z.lazy(() => GetProjectsCreator2$inboundSchema), + z.lazy(() => GetProjectsCreator3$inboundSchema), + z.lazy(() => GetProjectsCreator4$inboundSchema), + z.lazy(() => GetProjectsCreator5$inboundSchema), + ]) +); export function getProjectsResponseBodyCreatorFromJSON( jsonString: string, @@ -4388,13 +4620,15 @@ export const ResponseBodyDeploymentExpiration$inboundSchema: z.ZodType< ResponseBodyDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function responseBodyDeploymentExpirationFromJSON( jsonString: string, @@ -4411,10 +4645,12 @@ export const GetProjectsContentHint17$inboundSchema: z.ZodType< GetProjectsContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectsContentHint17FromJSON( jsonString: string, @@ -4431,13 +4667,15 @@ export const GetProjectsContentHint16$inboundSchema: z.ZodType< GetProjectsContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectsContentHint16FromJSON( jsonString: string, @@ -4454,10 +4692,12 @@ export const GetProjectsContentHint15$inboundSchema: z.ZodType< GetProjectsContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectsContentHint15FromJSON( jsonString: string, @@ -4474,10 +4714,12 @@ export const GetProjectsContentHint14$inboundSchema: z.ZodType< GetProjectsContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectsContentHint14FromJSON( jsonString: string, @@ -4494,10 +4736,12 @@ export const GetProjectsContentHint13$inboundSchema: z.ZodType< GetProjectsContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectsContentHint13FromJSON( jsonString: string, @@ -4514,10 +4758,12 @@ export const GetProjectsContentHint12$inboundSchema: z.ZodType< GetProjectsContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectsContentHint12FromJSON( jsonString: string, @@ -4534,10 +4780,12 @@ export const GetProjectsContentHint11$inboundSchema: z.ZodType< GetProjectsContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectsContentHint11FromJSON( jsonString: string, @@ -4554,10 +4802,12 @@ export const GetProjectsContentHint10$inboundSchema: z.ZodType< GetProjectsContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectsContentHint10FromJSON( jsonString: string, @@ -4574,10 +4824,12 @@ export const GetProjectsContentHint9$inboundSchema: z.ZodType< GetProjectsContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectsContentHint9FromJSON( jsonString: string, @@ -4594,10 +4846,12 @@ export const GetProjectsContentHint8$inboundSchema: z.ZodType< GetProjectsContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectsContentHint8FromJSON( jsonString: string, @@ -4614,10 +4868,12 @@ export const GetProjectsContentHint7$inboundSchema: z.ZodType< GetProjectsContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectsContentHint7FromJSON( jsonString: string, @@ -4634,10 +4890,12 @@ export const GetProjectsContentHint6$inboundSchema: z.ZodType< GetProjectsContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectsContentHint6FromJSON( jsonString: string, @@ -4654,10 +4912,12 @@ export const GetProjectsContentHint5$inboundSchema: z.ZodType< GetProjectsContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectsContentHint5FromJSON( jsonString: string, @@ -4674,10 +4934,12 @@ export const GetProjectsContentHint4$inboundSchema: z.ZodType< GetProjectsContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectsContentHint4FromJSON( jsonString: string, @@ -4694,10 +4956,12 @@ export const GetProjectsContentHint3$inboundSchema: z.ZodType< GetProjectsContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectsContentHint3FromJSON( jsonString: string, @@ -4714,10 +4978,12 @@ export const GetProjectsContentHint2$inboundSchema: z.ZodType< GetProjectsContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectsContentHint2FromJSON( jsonString: string, @@ -4734,10 +5000,12 @@ export const GetProjectsContentHint1$inboundSchema: z.ZodType< GetProjectsContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectsContentHint1FromJSON( jsonString: string, diff --git a/src/models/getprojectsfromprojectsresponse2.ts b/src/models/getprojectsfromprojectsresponse2.ts index de2e97b10b..0b31de883c 100644 --- a/src/models/getprojectsfromprojectsresponse2.ts +++ b/src/models/getprojectsfromprojectsresponse2.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -3033,7 +3033,9 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONAliasAssig GetProjectsResponseBodyProjectsResponse200ApplicationJSONAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONAliasAssignedFromJSON( jsonString: string, @@ -3056,10 +3058,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3AliasErro GetProjectsResponseBodyProjectsResponse200ApplicationJson3AliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3AliasErrorFromJSON( jsonString: string, @@ -3080,8 +3084,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3AliasE export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType, + ) ); /** @internal */ @@ -3090,11 +3096,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3BranchMat GetProjectsResponseBodyProjectsResponse200ApplicationJson3BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsBranchMatcherType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3BranchMatcherFromJSON( jsonString: string, @@ -3117,11 +3125,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Builds$in GetProjectsResponseBodyProjectsResponse200ApplicationJson3Builds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3BuildsFromJSON( jsonString: string, @@ -3142,16 +3152,20 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Builds export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState, + ) ); /** @internal */ @@ -3160,13 +3174,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Creator$i GetProjectsResponseBodyProjectsResponse200ApplicationJson3Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3CreatorFromJSON( jsonString: string, @@ -3189,29 +3205,31 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3OidcToken GetProjectsResponseBodyProjectsResponse200ApplicationJson3OidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3OidcTokenClaimsFromJSON( jsonString: string, @@ -3232,32 +3250,38 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3OidcTo export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType, + ) ); /** @internal */ @@ -3266,74 +3290,66 @@ export const GetProjectsResponseBodyProjectsLatestDeployments$inboundSchema: GetProjectsResponseBodyProjectsLatestDeployments, z.ZodTypeDef, unknown - > = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3AliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3BranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Builds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Creator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Builds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3OidcTokenClaims$inboundSchema + )), + plan: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate$inboundSchema, ), - ), - plan: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Plan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), - }); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLatestDeploymentsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) + ); export function getProjectsResponseBodyProjectsLatestDeploymentsFromJSON( jsonString: string, @@ -3357,13 +3373,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects8DeployHooksFromJSON( jsonString: string, @@ -3385,23 +3403,23 @@ export const GetProjectsLinkProjectsResponse8$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse8FromJSON( jsonString: string, @@ -3419,13 +3437,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects7DeployHooksFromJSON( jsonString: string, @@ -3447,22 +3467,22 @@ export const GetProjectsLinkProjectsResponse7$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse7FromJSON( jsonString: string, @@ -3480,13 +3500,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects6DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects6DeployHooksFromJSON( jsonString: string, @@ -3508,22 +3530,22 @@ export const GetProjectsLinkProjectsResponse6$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects6DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse6FromJSON( jsonString: string, @@ -3541,13 +3563,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects5DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects5DeployHooksFromJSON( jsonString: string, @@ -3569,24 +3593,24 @@ export const GetProjectsLinkProjectsResponse5$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects5DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function getProjectsLinkProjectsResponse5FromJSON( jsonString: string, @@ -3604,13 +3628,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects4DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects4DeployHooksFromJSON( jsonString: string, @@ -3632,25 +3658,25 @@ export const GetProjectsLinkProjectsResponse4$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects4DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse4FromJSON( jsonString: string, @@ -3668,13 +3694,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects3DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects3DeployHooksFromJSON( jsonString: string, @@ -3696,24 +3724,24 @@ export const GetProjectsLinkProjectsResponse3$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Projects3DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse3FromJSON( jsonString: string, @@ -3731,13 +3759,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3ProjectsDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3ProjectsDeployHooksFromJSON( jsonString: string, @@ -3759,23 +3789,23 @@ export const GetProjectsLinkProjectsResponse2$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3ProjectsDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse2FromJSON( jsonString: string, @@ -3793,13 +3823,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3Deplo GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody3DeployHooksFromJSON( jsonString: string, @@ -3821,23 +3853,23 @@ export const GetProjectsLinkProjectsResponse1$inboundSchema: z.ZodType< GetProjectsLinkProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody3DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjectsResponse1FromJSON( jsonString: string, @@ -3854,16 +3886,18 @@ export const GetProjectsResponseBodyProjectsLink$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsLinkProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse5$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse6$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse7$inboundSchema), - z.lazy(() => GetProjectsLinkProjectsResponse8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsLinkProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse5$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse6$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse7$inboundSchema), + z.lazy(() => GetProjectsLinkProjectsResponse8$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsLinkFromJSON( jsonString: string, @@ -3881,12 +3915,14 @@ export const GetProjectsMicrofrontends3$inboundSchema: z.ZodType< GetProjectsMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function getProjectsMicrofrontends3FromJSON( jsonString: string, @@ -3903,16 +3939,18 @@ export const GetProjectsMicrofrontends2$inboundSchema: z.ZodType< GetProjectsMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function getProjectsMicrofrontends2FromJSON( jsonString: string, @@ -3929,14 +3967,16 @@ export const GetProjectsMicrofrontends1$inboundSchema: z.ZodType< GetProjectsMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function getProjectsMicrofrontends1FromJSON( jsonString: string, @@ -3953,11 +3993,13 @@ export const GetProjectsResponseBodyMicrofrontends$inboundSchema: z.ZodType< GetProjectsResponseBodyMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsMicrofrontends1$inboundSchema), - z.lazy(() => GetProjectsMicrofrontends2$inboundSchema), - z.lazy(() => GetProjectsMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsMicrofrontends1$inboundSchema), + z.lazy(() => GetProjectsMicrofrontends2$inboundSchema), + z.lazy(() => GetProjectsMicrofrontends3$inboundSchema), + ]) +); export function getProjectsResponseBodyMicrofrontendsFromJSON( jsonString: string, @@ -3972,13 +4014,17 @@ export function getProjectsResponseBodyMicrofrontendsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponseNodeVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseNodeVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseNodeVersion) + ); /** @internal */ export const GetProjectsResponseBodyProjectsIssuerMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsIssuerMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsIssuerMode) + ); /** @internal */ export const GetProjectsResponseBodyProjectsOidcTokenConfig$inboundSchema: @@ -3986,12 +4032,14 @@ export const GetProjectsResponseBodyProjectsOidcTokenConfig$inboundSchema: GetProjectsResponseBodyProjectsOidcTokenConfig, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional( - GetProjectsResponseBodyProjectsIssuerMode$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional( + GetProjectsResponseBodyProjectsIssuerMode$inboundSchema, + ), + }) + ); export function getProjectsResponseBodyProjectsOidcTokenConfigFromJSON( jsonString: string, @@ -4014,9 +4062,11 @@ export const ResponseBodyPaths$inboundSchema: z.ZodType< ResponseBodyPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function responseBodyPathsFromJSON( jsonString: string, @@ -4033,9 +4083,11 @@ export const ResponseBodyOptionsAllowlist$inboundSchema: z.ZodType< ResponseBodyOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => ResponseBodyPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => ResponseBodyPaths$inboundSchema)), + }) +); export function responseBodyOptionsAllowlistFromJSON( jsonString: string, @@ -4051,18 +4103,22 @@ export function responseBodyOptionsAllowlistFromJSON( export const GetProjectsResponseBodyProjectsResponse200DeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200DeploymentType - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponse200DeploymentType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200DeploymentType) + ); /** @internal */ export const GetProjectsResponseBodyProjectsPassport$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: - GetProjectsResponseBodyProjectsResponse200DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: + GetProjectsResponseBodyProjectsResponse200DeploymentType$inboundSchema, + }) +); export function getProjectsResponseBodyProjectsPassportFromJSON( jsonString: string, @@ -4084,8 +4140,10 @@ export function getProjectsResponseBodyProjectsPassportFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType, + ) ); /** @internal */ @@ -4094,10 +4152,12 @@ export const GetProjectsResponseBodyProjectsPasswordProtection$inboundSchema: GetProjectsResponseBodyProjectsPasswordProtection, z.ZodTypeDef, unknown - > = z.object({ - deploymentType: - GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + GetProjectsResponseBodyProjectsResponse200ApplicationJSONDeploymentType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsPasswordProtectionFromJSON( jsonString: string, @@ -4120,376 +4180,402 @@ export const ResponseBodyPermissions$inboundSchema: z.ZodType< ResponseBodyPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function responseBodyPermissionsFromJSON( jsonString: string, @@ -4506,13 +4592,15 @@ export const GetProjectsProtectionBypass2$inboundSchema: z.ZodType< GetProjectsProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function getProjectsProtectionBypass2FromJSON( jsonString: string, @@ -4529,13 +4617,15 @@ export const GetProjectsProtectionBypass1$inboundSchema: z.ZodType< GetProjectsProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function getProjectsProtectionBypass1FromJSON( jsonString: string, @@ -4552,10 +4642,12 @@ export const ResponseBodyProtectionBypass$inboundSchema: z.ZodType< ResponseBodyProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsProtectionBypass1$inboundSchema), - z.lazy(() => GetProjectsProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsProtectionBypass1$inboundSchema), + z.lazy(() => GetProjectsProtectionBypass2$inboundSchema), + ]) +); export function responseBodyProtectionBypassFromJSON( jsonString: string, @@ -4572,9 +4664,11 @@ export const ResponseBodySandboxUrls$inboundSchema: z.ZodType< ResponseBodySandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function responseBodySandboxUrlsFromJSON( jsonString: string, @@ -4591,11 +4685,13 @@ export const ResponseBodyProtectionConfig$inboundSchema: z.ZodType< ResponseBodyProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => ResponseBodySandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => ResponseBodySandboxUrls$inboundSchema), + ), + }) +); export function responseBodyProtectionConfigFromJSON( jsonString: string, @@ -4611,14 +4707,18 @@ export function responseBodyProtectionConfigFromJSON( export const GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseDirection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseDirection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseDirection) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseBuildMachineElasticTransition$inboundSchema: @@ -4626,11 +4726,13 @@ export const GetProjectsResponseBodyProjectsResponseBuildMachineElasticTransitio GetProjectsResponseBodyProjectsResponseBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetProjectsResponseBodyProjectsResponseDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetProjectsResponseBodyProjectsResponseDirection$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponseBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4651,21 +4753,25 @@ export function getProjectsResponseBodyProjectsResponseBuildMachineElasticTransi export const GetProjectsResponseBodyProjectsResponseBuildMachineSelection$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseBuildMachineSelection - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponseBuildMachineSelection, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseBuildMachineSelection) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseBuildMachineType - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponseBuildMachineType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseBuildMachineType) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Configuration$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200Configuration - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Configuration); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Configuration) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseBuildQueue$inboundSchema: @@ -4673,11 +4779,13 @@ export const GetProjectsResponseBodyProjectsResponseBuildQueue$inboundSchema: GetProjectsResponseBodyProjectsResponseBuildQueue, z.ZodTypeDef, unknown - > = z.object({ - configuration: types.optional( - GetProjectsResponseBodyProjectsResponse200Configuration$inboundSchema, - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetProjectsResponseBodyProjectsResponse200Configuration$inboundSchema, + ), + }) + ); export function getProjectsResponseBodyProjectsResponseBuildQueueFromJSON( jsonString: string, @@ -4699,8 +4807,10 @@ export function getProjectsResponseBodyProjectsResponseBuildQueueFromJSON( export const GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType, + ) ); /** @internal */ @@ -4709,11 +4819,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse2004$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse2004, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse2004FromJSON( jsonString: string, @@ -4737,11 +4849,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse2003$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse2003, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse2003FromJSON( jsonString: string, @@ -4765,11 +4879,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse2002$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse2002FromJSON( jsonString: string, @@ -4793,11 +4909,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse2001$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse2001FromJSON( jsonString: string, @@ -4821,20 +4939,22 @@ export const GetProjectsResponseBodyProjectsResponseElasticBuildMachine$inboundS GetProjectsResponseBodyProjectsResponseElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - GetProjectsElasticBuildMachineProjectsResponse2001$inboundSchema - ), - z.lazy(() => - GetProjectsElasticBuildMachineProjectsResponse2002$inboundSchema - ), - z.lazy(() => - GetProjectsElasticBuildMachineProjectsResponse2003$inboundSchema - ), - z.lazy(() => - GetProjectsElasticBuildMachineProjectsResponse2004$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse2001$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse2002$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse2003$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse2004$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponseElasticBuildMachineFromJSON( jsonString: string, @@ -4857,39 +4977,35 @@ export const GetProjectsResponseBodyProjectsResponseResourceConfig$inboundSchema GetProjectsResponseBodyProjectsResponseResourceConfig, z.ZodTypeDef, unknown - > = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetProjectsResponseBodyProjectsResponseBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponseBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + GetProjectsResponseBodyProjectsResponseBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - GetProjectsResponseBodyProjectsResponseBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetProjectsResponseBodyProjectsResponseBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => + buildMachineType: types.optional( + GetProjectsResponseBodyProjectsResponseBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponseBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType$inboundSchema, ), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetProjectsResponseBodyProjectsResponseFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse2001$inboundSchema ), @@ -4902,9 +5018,9 @@ export const GetProjectsResponseBodyProjectsResponseResourceConfig$inboundSchema z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse2004$inboundSchema ), - ]), - ), - }); + ])), + }) + ); export function getProjectsResponseBodyProjectsResponseResourceConfigFromJSON( jsonString: string, @@ -4927,9 +5043,11 @@ export const GetProjectsPrincipal5$inboundSchema: z.ZodType< GetProjectsPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectsPrincipal5FromJSON( jsonString: string, @@ -4946,10 +5064,12 @@ export const GetProjectsPrincipalIntegration$inboundSchema: z.ZodType< GetProjectsPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsPrincipalIntegrationFromJSON( jsonString: string, @@ -4966,10 +5086,12 @@ export const GetProjectsPrincipal4$inboundSchema: z.ZodType< GetProjectsPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectsPrincipalIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectsPrincipalIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectsPrincipal4FromJSON( jsonString: string, @@ -4986,10 +5108,12 @@ export const GetProjectsPrincipalApp$inboundSchema: z.ZodType< GetProjectsPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsPrincipalAppFromJSON( jsonString: string, @@ -5006,10 +5130,12 @@ export const GetProjectsPrincipal3$inboundSchema: z.ZodType< GetProjectsPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsPrincipal3FromJSON( jsonString: string, @@ -5026,9 +5152,11 @@ export const GetProjectsPrincipalProject$inboundSchema: z.ZodType< GetProjectsPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsPrincipalProjectFromJSON( jsonString: string, @@ -5045,10 +5173,12 @@ export const GetProjectsPrincipal2$inboundSchema: z.ZodType< GetProjectsPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetProjectsPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetProjectsPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function getProjectsPrincipal2FromJSON( jsonString: string, @@ -5066,10 +5196,12 @@ export const GetProjectsViaProjectsResponse200Integration$inboundSchema: GetProjectsViaProjectsResponse200Integration, z.ZodTypeDef, unknown - > = z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function getProjectsViaProjectsResponse200IntegrationFromJSON( jsonString: string, @@ -5092,12 +5224,14 @@ export const GetProjectsViaProjectsResponse2002$inboundSchema: z.ZodType< GetProjectsViaProjectsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetProjectsViaProjectsResponse200Integration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetProjectsViaProjectsResponse200Integration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getProjectsViaProjectsResponse2002FromJSON( jsonString: string, @@ -5115,10 +5249,12 @@ export const GetProjectsViaProjectsResponse200App$inboundSchema: z.ZodType< GetProjectsViaProjectsResponse200App, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsViaProjectsResponse200AppFromJSON( jsonString: string, @@ -5136,10 +5272,12 @@ export const GetProjectsViaProjectsResponse2001$inboundSchema: z.ZodType< GetProjectsViaProjectsResponse2001, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsViaProjectsResponse200App$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsViaProjectsResponse200App$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsViaProjectsResponse2001FromJSON( jsonString: string, @@ -5157,10 +5295,12 @@ export const GetProjectsPrincipalVia$inboundSchema: z.ZodType< GetProjectsPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsViaProjectsResponse2001$inboundSchema), - z.lazy(() => GetProjectsViaProjectsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsViaProjectsResponse2001$inboundSchema), + z.lazy(() => GetProjectsViaProjectsResponse2002$inboundSchema), + ]) +); export function getProjectsPrincipalViaFromJSON( jsonString: string, @@ -5177,9 +5317,11 @@ export const GetProjectsPrincipalUser$inboundSchema: z.ZodType< GetProjectsPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsPrincipalUserFromJSON( jsonString: string, @@ -5196,16 +5338,18 @@ export const GetProjectsPrincipal1$inboundSchema: z.ZodType< GetProjectsPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectsViaProjectsResponse2001$inboundSchema), z.lazy(() => GetProjectsViaProjectsResponse2002$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectsPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectsPrincipalUser$inboundSchema + ), + }) +); export function getProjectsPrincipal1FromJSON( jsonString: string, @@ -5222,13 +5366,15 @@ export const ResponseBodyPrincipal$inboundSchema: z.ZodType< ResponseBodyPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsPrincipal1$inboundSchema), - z.lazy(() => GetProjectsPrincipal2$inboundSchema), - z.lazy(() => GetProjectsPrincipal3$inboundSchema), - z.lazy(() => GetProjectsPrincipal4$inboundSchema), - z.lazy(() => GetProjectsPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsPrincipal1$inboundSchema), + z.lazy(() => GetProjectsPrincipal2$inboundSchema), + z.lazy(() => GetProjectsPrincipal3$inboundSchema), + z.lazy(() => GetProjectsPrincipal4$inboundSchema), + z.lazy(() => GetProjectsPrincipal5$inboundSchema), + ]) +); export function responseBodyPrincipalFromJSON( jsonString: string, @@ -5245,21 +5391,21 @@ export const ResponseBodyRollbackDescription$inboundSchema: z.ZodType< ResponseBodyRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => GetProjectsPrincipal1$inboundSchema), z.lazy(() => GetProjectsPrincipal2$inboundSchema), z.lazy(() => GetProjectsPrincipal3$inboundSchema), z.lazy(() => GetProjectsPrincipal4$inboundSchema), z.lazy(() => GetProjectsPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function responseBodyRollbackDescriptionFromJSON( jsonString: string, @@ -5276,12 +5422,14 @@ export const GetProjectsResponseBodyProjectsStages$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function getProjectsResponseBodyProjectsStagesFromJSON( jsonString: string, @@ -5300,15 +5448,15 @@ export const GetProjectsResponseBodyProjectsRollingRelease$inboundSchema: GetProjectsResponseBodyProjectsRollingRelease, z.ZodTypeDef, unknown - > = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array( - z.lazy(() => GetProjectsResponseBodyProjectsStages$inboundSchema), - ), - ).optional(), - target: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsStages$inboundSchema + ))).optional(), + target: types.string(), + }) + ); export function getProjectsResponseBodyProjectsRollingReleaseFromJSON( jsonString: string, @@ -5329,24 +5477,28 @@ export function getProjectsResponseBodyProjectsRollingReleaseFromJSON( /** @internal */ export const ResponseBodyFailoverRegions$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFailoverRegions -> = z.nativeEnum(ResponseBodyFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyFailoverRegions) +); /** @internal */ export const ResponseBodyRegion$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyRegion -> = z.nativeEnum(ResponseBodyRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyRegion)); /** @internal */ export const ResponseBodySandbox$inboundSchema: z.ZodType< ResponseBodySandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(ResponseBodyFailoverRegions$inboundSchema), - ), - region: types.optional(ResponseBodyRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(ResponseBodyFailoverRegions$inboundSchema), + ), + region: types.optional(ResponseBodyRegion$inboundSchema), + }) +); export function responseBodySandboxFromJSON( jsonString: string, @@ -5360,8 +5512,10 @@ export function responseBodySandboxFromJSON( /** @internal */ export const GetProjectsLogHeadersProjectsResponse2002$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsLogHeadersProjectsResponse2002); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsLogHeadersProjectsResponse2002) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseLogHeaders$inboundSchema: @@ -5369,10 +5523,12 @@ export const GetProjectsResponseBodyProjectsResponseLogHeaders$inboundSchema: GetProjectsResponseBodyProjectsResponseLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse2002$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponseLogHeadersFromJSON( jsonString: string, @@ -5394,8 +5550,10 @@ export function getProjectsResponseBodyProjectsResponseLogHeadersFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction, + ) ); /** @internal */ @@ -5403,12 +5561,14 @@ export const GetProjectsResponseBodyProjectsAiBots$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAiBotsAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyProjectsAiBotsFromJSON( jsonString: string, @@ -5425,8 +5585,10 @@ export function getProjectsResponseBodyProjectsAiBotsFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction, + ) ); /** @internal */ @@ -5434,12 +5596,14 @@ export const GetProjectsResponseBodyProjectsBotFilter$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyProjectsBotFilterFromJSON( jsonString: string, @@ -5461,8 +5625,10 @@ export function getProjectsResponseBodyProjectsBotFilterFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction, + ) ); /** @internal */ @@ -5470,12 +5636,14 @@ export const GetProjectsResponseBodyProjectsOwasp$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectsResponseBodyProjectsOwaspFromJSON( jsonString: string, @@ -5492,8 +5660,10 @@ export function getProjectsResponseBodyProjectsOwaspFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction, + ) ); /** @internal */ @@ -5502,12 +5672,14 @@ export const GetProjectsResponseBodyProjectsTrafficSources$inboundSchema: GetProjectsResponseBodyProjectsTrafficSources, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + }) + ); export function getProjectsResponseBodyProjectsTrafficSourcesFromJSON( jsonString: string, @@ -5529,8 +5701,10 @@ export function getProjectsResponseBodyProjectsTrafficSourcesFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -5539,12 +5713,14 @@ export const GetProjectsResponseBodyProjectsVercelRuleset$inboundSchema: GetProjectsResponseBodyProjectsVercelRuleset, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + }) + ); export function getProjectsResponseBodyProjectsVercelRulesetFromJSON( jsonString: string, @@ -5568,26 +5744,30 @@ export const GetProjectsResponseBodyProjectsManagedRules$inboundSchema: GetProjectsResponseBodyProjectsManagedRules, z.ZodTypeDef, unknown - > = z.object({ - ai_bots: z.lazy(() => GetProjectsResponseBodyProjectsAiBots$inboundSchema), - bot_filter: z.lazy(() => - GetProjectsResponseBodyProjectsBotFilter$inboundSchema - ), - owasp: z.lazy(() => GetProjectsResponseBodyProjectsOwasp$inboundSchema), - traffic_sources: z.lazy(() => - GetProjectsResponseBodyProjectsTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => - GetProjectsResponseBodyProjectsVercelRuleset$inboundSchema - ), - }).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => + GetProjectsResponseBodyProjectsAiBots$inboundSchema + ), + bot_filter: z.lazy(() => + GetProjectsResponseBodyProjectsBotFilter$inboundSchema + ), + owasp: z.lazy(() => GetProjectsResponseBodyProjectsOwasp$inboundSchema), + traffic_sources: z.lazy(() => + GetProjectsResponseBodyProjectsTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + GetProjectsResponseBodyProjectsVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) + ); export function getProjectsResponseBodyProjectsManagedRulesFromJSON( jsonString: string, @@ -5609,16 +5789,20 @@ export function getProjectsResponseBodyProjectsManagedRulesFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action, + ) ); /** @internal */ export const GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32 - > = z.nativeEnum( - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32, + ) ); /** @internal */ @@ -5627,10 +5811,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3LogHeader GetProjectsResponseBodyProjectsResponse200ApplicationJson3LogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3LogHeadersFromJSON( jsonString: string, @@ -5651,29 +5837,35 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3LogHea export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseAlgo$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseAlgo); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseAlgo) + ); /** @internal */ export const GetProjectsResponseBodyProjectsRateLimit$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction$inboundSchema, - ).optional(), - algo: GetProjectsResponseBodyProjectsResponseAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsSecurityRulesetsAction$inboundSchema, + ).optional(), + algo: GetProjectsResponseBodyProjectsResponseAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getProjectsResponseBodyProjectsRateLimitFromJSON( jsonString: string, @@ -5696,10 +5888,12 @@ export const GetProjectsResponseBodyProjectsRedirect$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getProjectsResponseBodyProjectsRedirectFromJSON( jsonString: string, @@ -5722,24 +5916,26 @@ export const GetProjectsResponseBodyProjectsRulesets$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody32$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsRedirect$inboundSchema), + ).optional(), + }) +); export function getProjectsResponseBodyProjectsRulesetsFromJSON( jsonString: string, @@ -5762,38 +5958,38 @@ export const GetProjectsResponseBodyProjectsSecurity$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse2002$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record( - z.lazy(() => GetProjectsResponseBodyProjectsRulesets$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse2002$inboundSchema, + ]), ), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); + managedRules: z.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional(z.record(z.lazy(() => + GetProjectsResponseBodyProjectsRulesets$inboundSchema + ))), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function getProjectsResponseBodyProjectsSecurityFromJSON( jsonString: string, @@ -5813,27 +6009,31 @@ export function getProjectsResponseBodyProjectsSecurityFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponseFramework$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseFramework); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseFramework) + ); /** @internal */ export const ResponseBodyServiceType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyServiceType -> = z.nativeEnum(ResponseBodyServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyServiceType)); /** @internal */ export const GetProjectsResponseBodyServices$inboundSchema: z.ZodType< GetProjectsResponseBodyServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional( - GetProjectsResponseBodyProjectsResponseFramework$inboundSchema, - ), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(ResponseBodyServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + GetProjectsResponseBodyProjectsResponseFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(ResponseBodyServiceType$inboundSchema), + }) +); export function getProjectsResponseBodyServicesFromJSON( jsonString: string, @@ -5851,15 +6051,17 @@ export const GetProjectsResponseBodyProjectsSpeedInsights$inboundSchema: GetProjectsResponseBodyProjectsSpeedInsights, z.ZodTypeDef, unknown - > = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) + ); export function getProjectsResponseBodyProjectsSpeedInsightsFromJSON( jsonString: string, @@ -5881,22 +6083,28 @@ export function getProjectsResponseBodyProjectsSpeedInsightsFromJSON( export const GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom - > = z.nativeEnum(GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType, + ) ); /** @internal */ @@ -5905,16 +6113,18 @@ export const GetProjectsResponseBodyProjectsSsoProtection$inboundSchema: GetProjectsResponseBodyProjectsSsoProtection, z.ZodTypeDef, unknown - > = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + GetProjectsResponseBodyProjectsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + GetProjectsResponseBodyProjectsCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3DeploymentType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsSsoProtectionFromJSON( jsonString: string, @@ -5937,11 +6147,13 @@ export const ResponseBodyStaticIps$inboundSchema: z.ZodType< ResponseBodyStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function responseBodyStaticIpsFromJSON( jsonString: string, @@ -5959,7 +6171,9 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3AliasAssi GetProjectsResponseBodyProjectsResponse200ApplicationJson3AliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3AliasAssignedFromJSON( jsonString: string, @@ -5982,10 +6196,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasErrorFromJSON( jsonString: string, @@ -6006,8 +6222,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType, + ) ); /** @internal */ @@ -6016,11 +6234,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsB GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsBranchMatcherType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsBranchMatcherFromJSON( jsonString: string, @@ -6043,11 +6263,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsB GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsBuildsFromJSON( jsonString: string, @@ -6068,16 +6290,20 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState, + ) ); /** @internal */ @@ -6086,13 +6312,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsC GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsCreatorFromJSON( jsonString: string, @@ -6115,29 +6343,31 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsO GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -6158,32 +6388,40 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType, + ) ); /** @internal */ @@ -6191,74 +6429,66 @@ export const GetProjectsResponseBodyProjectsTargets$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsBranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsBuilds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCreator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsOidcTokenClaims$inboundSchema + )), + plan: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate$inboundSchema, ), - ), - plan: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsTargetsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyProjectsTargetsFromJSON( jsonString: string, @@ -6274,29 +6504,41 @@ export function getProjectsResponseBodyProjectsTargetsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsTier$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsTier -> = z.nativeEnum(GetProjectsResponseBodyProjectsTier); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsTier) +); /** @internal */ export const GetProjectsResponseBodyDestination$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyDestination -> = z.nativeEnum(GetProjectsResponseBodyDestination); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyDestination) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponseEnv$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseEnv); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseEnv) + ); /** @internal */ export const ResponseBodySamplingRules$inboundSchema: z.ZodType< ResponseBodySamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(GetProjectsResponseBodyDestination$inboundSchema), - env: types.optional(GetProjectsResponseBodyProjectsResponseEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional( + GetProjectsResponseBodyDestination$inboundSchema, + ), + env: types.optional( + GetProjectsResponseBodyProjectsResponseEnv$inboundSchema, + ), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function responseBodySamplingRulesFromJSON( jsonString: string, @@ -6313,13 +6555,15 @@ export const ResponseBodyTracing$inboundSchema: z.ZodType< ResponseBodyTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => ResponseBodySamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => ResponseBodySamplingRules$inboundSchema)), + ), + }) +); export function responseBodyTracingFromJSON( jsonString: string, @@ -6333,17 +6577,21 @@ export function responseBodyTracingFromJSON( /** @internal */ export const GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsTrustedIpsProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const GetProjectsTrustedIps2$inboundSchema: z.ZodType< GetProjectsTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function getProjectsTrustedIps2FromJSON( jsonString: string, @@ -6360,10 +6608,12 @@ export const GetProjectsTrustedIpsAddresses$inboundSchema: z.ZodType< GetProjectsTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function getProjectsTrustedIpsAddressesFromJSON( jsonString: string, @@ -6378,25 +6628,31 @@ export function getProjectsTrustedIpsAddressesFromJSON( /** @internal */ export const GetProjectsTrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTrustedIpsDeploymentType -> = z.nativeEnum(GetProjectsTrustedIpsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsTrustedIpsDeploymentType) +); /** @internal */ export const GetProjectsTrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTrustedIpsProtectionMode -> = z.nativeEnum(GetProjectsTrustedIpsProtectionMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsTrustedIpsProtectionMode) +); /** @internal */ export const GetProjectsTrustedIps1$inboundSchema: z.ZodType< GetProjectsTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => GetProjectsTrustedIpsAddresses$inboundSchema), - ), - deploymentType: GetProjectsTrustedIpsDeploymentType$inboundSchema, - protectionMode: GetProjectsTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => GetProjectsTrustedIpsAddresses$inboundSchema), + ), + deploymentType: GetProjectsTrustedIpsDeploymentType$inboundSchema, + protectionMode: GetProjectsTrustedIpsProtectionMode$inboundSchema, + }) +); export function getProjectsTrustedIps1FromJSON( jsonString: string, @@ -6413,10 +6669,12 @@ export const ResponseBodyTrustedIps$inboundSchema: z.ZodType< ResponseBodyTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsTrustedIps1$inboundSchema), - z.lazy(() => GetProjectsTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsTrustedIps1$inboundSchema), + z.lazy(() => GetProjectsTrustedIps2$inboundSchema), + ]) +); export function responseBodyTrustedIpsFromJSON( jsonString: string, @@ -6432,8 +6690,10 @@ export function responseBodyTrustedIpsFromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset, + ) ); /** @internal */ @@ -6441,11 +6701,13 @@ export const GetProjectsToProjectsResponse2002$inboundSchema: z.ZodType< GetProjectsToProjectsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - preset: - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsToProjectsResponse2002FromJSON( jsonString: string, @@ -6461,8 +6723,10 @@ export function getProjectsToProjectsResponse2002FromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset, + ) ); /** @internal */ @@ -6470,12 +6734,14 @@ export const GetProjectsToProjectsResponse2001$inboundSchema: z.ZodType< GetProjectsToProjectsResponse2001, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3Preset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function getProjectsToProjectsResponse2001FromJSON( jsonString: string, @@ -6492,10 +6758,12 @@ export const GetProjectsResponseBodyProjectsResponseTo$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsResponseTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsToProjectsResponse2001$inboundSchema), - z.lazy(() => GetProjectsToProjectsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsToProjectsResponse2001$inboundSchema), + z.lazy(() => GetProjectsToProjectsResponse2002$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsResponseToFromJSON( jsonString: string, @@ -6519,14 +6787,16 @@ export const GetProjectsResponseBodyProjectsOidcProviders$inboundSchema: GetProjectsResponseBodyProjectsOidcProviders, z.ZodTypeDef, unknown - > = z.object({ - to: smartUnion([ - z.lazy(() => GetProjectsToProjectsResponse2001$inboundSchema), - z.lazy(() => GetProjectsToProjectsResponse2002$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => GetProjectsToProjectsResponse2001$inboundSchema), + z.lazy(() => GetProjectsToProjectsResponse2002$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) + ); export function getProjectsResponseBodyProjectsOidcProvidersFromJSON( jsonString: string, @@ -6548,8 +6818,10 @@ export function getProjectsResponseBodyProjectsOidcProvidersFromJSON( export const GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset - > = z.nativeEnum( - GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset, + ) ); /** @internal */ @@ -6557,11 +6829,13 @@ export const GetProjectsFromProjectsResponse2$inboundSchema: z.ZodType< GetProjectsFromProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - preset: - GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetProjectsFromProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsFromProjectsResponse2FromJSON( jsonString: string, diff --git a/src/models/getprojectsresponsebody.ts b/src/models/getprojectsresponsebody.ts index ab43d5e754..bc9f4edc26 100644 --- a/src/models/getprojectsresponsebody.ts +++ b/src/models/getprojectsresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -388,79 +388,88 @@ export type GetProjectsResponseBody = /** @internal */ export const GetProjectsResponseBodyProjectsReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsReadyState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsReadySubstate) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseType) + ); /** @internal */ export const ResponseBodyTargets$inboundSchema: z.ZodType< ResponseBodyTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(GetProjectsResponseBodyAliasAssigned$inboundSchema) - .optional(), - aliasError: z.nullable( - GetProjectsResponseBodyProjectsAliasError$inboundSchema, - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - GetProjectsResponseBodyBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(GetProjectsResponseBodyProjectsBuilds$inboundSchema), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - GetProjectsResponseBodyProjectsResponseCreator$inboundSchema, - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - GetProjectsResponseBodyProjectsOidcTokenClaims$inboundSchema, - ), - plan: GetProjectsResponseBodyProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectsResponseBodyProjectsReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: GetProjectsResponseBodyProjectsResponseType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable( + GetProjectsResponseBodyAliasAssigned$inboundSchema, + ).optional(), + aliasError: z.nullable( + GetProjectsResponseBodyProjectsAliasError$inboundSchema, + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + GetProjectsResponseBodyBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(GetProjectsResponseBodyProjectsBuilds$inboundSchema), + ), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetProjectsResponseBodyProjectsChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + GetProjectsResponseBodyProjectsResponseCreator$inboundSchema, + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + GetProjectsResponseBodyProjectsOidcTokenClaims$inboundSchema, + ), + plan: GetProjectsResponseBodyProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectsResponseBodyProjectsReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: GetProjectsResponseBodyProjectsResponseType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function responseBodyTargetsFromJSON( jsonString: string, @@ -475,22 +484,26 @@ export function responseBodyTargetsFromJSON( /** @internal */ export const ResponseBodyTier$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTier -> = z.nativeEnum(ResponseBodyTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyTier)); /** @internal */ export const GetProjectsToProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsPreset -> = z.nativeEnum(GetProjectsToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsToProjectsPreset) +); /** @internal */ export const GetProjectsTo2$inboundSchema: z.ZodType< GetProjectsTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectsToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectsToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsTo2FromJSON( jsonString: string, @@ -505,17 +518,19 @@ export function getProjectsTo2FromJSON( /** @internal */ export const GetProjectsToPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToPreset -> = z.nativeEnum(GetProjectsToPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsToPreset)); /** @internal */ export const GetProjectsTo1$inboundSchema: z.ZodType< GetProjectsTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectsToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectsToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectsTo1FromJSON( jsonString: string, @@ -532,10 +547,12 @@ export const ResponseBodyTo$inboundSchema: z.ZodType< ResponseBodyTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsTo1$inboundSchema), - z.lazy(() => GetProjectsTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsTo1$inboundSchema), + z.lazy(() => GetProjectsTo2$inboundSchema), + ]) +); export function responseBodyToFromJSON( jsonString: string, @@ -552,14 +569,16 @@ export const ResponseBodyOidcProviders$inboundSchema: z.ZodType< ResponseBodyOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => GetProjectsTo1$inboundSchema), - z.lazy(() => GetProjectsTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => GetProjectsTo1$inboundSchema), + z.lazy(() => GetProjectsTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function responseBodyOidcProvidersFromJSON( jsonString: string, @@ -574,17 +593,21 @@ export function responseBodyOidcProvidersFromJSON( /** @internal */ export const GetProjectsFromProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsFromProjectsPreset -> = z.nativeEnum(GetProjectsFromProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsFromProjectsPreset) +); /** @internal */ export const GetProjectsFrom2$inboundSchema: z.ZodType< GetProjectsFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectsFromProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectsFromProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsFrom2FromJSON( jsonString: string, @@ -599,17 +622,19 @@ export function getProjectsFrom2FromJSON( /** @internal */ export const GetProjectsFromPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsFromPreset -> = z.nativeEnum(GetProjectsFromPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsFromPreset)); /** @internal */ export const GetProjectsFrom1$inboundSchema: z.ZodType< GetProjectsFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectsFromPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectsFromPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectsFrom1FromJSON( jsonString: string, @@ -626,10 +651,12 @@ export const ResponseBodyFrom$inboundSchema: z.ZodType< ResponseBodyFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsFrom1$inboundSchema), - z.lazy(() => GetProjectsFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsFrom1$inboundSchema), + z.lazy(() => GetProjectsFrom2$inboundSchema), + ]) +); export function responseBodyFromFromJSON( jsonString: string, @@ -643,19 +670,22 @@ export function responseBodyFromFromJSON( /** @internal */ export const GetProjectsToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsToProjectsResponse200Preset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsToProjectsResponse200Preset) + ); /** @internal */ export const GetProjectsToProjects2$inboundSchema: z.ZodType< GetProjectsToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectsToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectsToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectsToProjects2FromJSON( jsonString: string, @@ -670,17 +700,21 @@ export function getProjectsToProjects2FromJSON( /** @internal */ export const GetProjectsToProjectsResponsePreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponsePreset -> = z.nativeEnum(GetProjectsToProjectsResponsePreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsToProjectsResponsePreset) +); /** @internal */ export const GetProjectsToProjects1$inboundSchema: z.ZodType< GetProjectsToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectsToProjectsResponsePreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectsToProjectsResponsePreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectsToProjects1FromJSON( jsonString: string, @@ -697,10 +731,12 @@ export const GetProjectsResponseBodyTo$inboundSchema: z.ZodType< GetProjectsResponseBodyTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsToProjects1$inboundSchema), - z.lazy(() => GetProjectsToProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsToProjects1$inboundSchema), + z.lazy(() => GetProjectsToProjects2$inboundSchema), + ]) +); export function getProjectsResponseBodyToFromJSON( jsonString: string, @@ -717,16 +753,18 @@ export const ResponseBodyCustomAllow$inboundSchema: z.ZodType< ResponseBodyCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: smartUnion([ - z.lazy(() => GetProjectsFrom1$inboundSchema), - z.lazy(() => GetProjectsFrom2$inboundSchema), - ]), - to: smartUnion([ - z.lazy(() => GetProjectsToProjects1$inboundSchema), - z.lazy(() => GetProjectsToProjects2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: smartUnion([ + z.lazy(() => GetProjectsFrom1$inboundSchema), + z.lazy(() => GetProjectsFrom2$inboundSchema), + ]), + to: smartUnion([ + z.lazy(() => GetProjectsToProjects1$inboundSchema), + z.lazy(() => GetProjectsToProjects2$inboundSchema), + ]), + }) +); export function responseBodyCustomAllowFromJSON( jsonString: string, @@ -743,12 +781,14 @@ export const GetProjectsResponseBodyProjectsProjects$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => ResponseBodyCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => ResponseBodyCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function getProjectsResponseBodyProjectsProjectsFromJSON( jsonString: string, @@ -771,17 +811,17 @@ export const ResponseBodyTrustedSources$inboundSchema: z.ZodType< ResponseBodyTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(z.lazy(() => ResponseBodyOidcProviders$inboundSchema))), - ), - projects: types.optional( - z.record( - z.lazy(() => GetProjectsResponseBodyProjectsProjects$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(z.lazy(() => ResponseBodyOidcProviders$inboundSchema))), ), - ), -}); + projects: types.optional(z.record(z.lazy(() => + GetProjectsResponseBodyProjectsProjects$inboundSchema + ))), + }) +); export function responseBodyTrustedSourcesFromJSON( jsonString: string, @@ -798,13 +838,15 @@ export const ResponseBodyWebAnalytics$inboundSchema: z.ZodType< ResponseBodyWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function responseBodyWebAnalyticsFromJSON( jsonString: string, @@ -821,77 +863,80 @@ export const GetProjectsResponseBody1$inboundSchema: z.ZodType< GetProjectsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(ResponseBodyAlias$inboundSchema), - analytics: types.optional(ResponseBodyAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(GetProjectsResponseBodyCreator$inboundSchema), - customerSupportCodeVisibility: types.optional(types.boolean()), - deploymentExpiration: ResponseBodyDeploymentExpiration$inboundSchema, - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - env: types.optional(z.array(ResponseBodyEnv$inboundSchema)), - expiration: types.optional(ResponseBodyExpiration$inboundSchema), - framework: z.nullable(ResponseBodyFramework$inboundSchema).optional(), - gitComments: types.optional(ResponseBodyGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitProviderOptions: types.optional( - ResponseBodyGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(ResponseBodyInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional(z.array(ResponseBodyIpBuckets$inboundSchema)), - latestDeployments: types.optional( - z.array(ResponseBodyLatestDeployments$inboundSchema), - ), - link: types.optional(ResponseBodyLink$inboundSchema), - live: types.optional(types.boolean()), - name: types.string(), - nodeVersion: GetProjectsResponseBodyNodeVersion$inboundSchema, - oidcTokenConfig: types.optional(ResponseBodyOidcTokenConfig$inboundSchema), - outputDirectory: z.nullable(types.string()).optional(), - passport: z.nullable(ResponseBodyPassport$inboundSchema).optional(), - passwordProtection: z.nullable(ResponseBodyPasswordProtection$inboundSchema) - .optional(), - paused: types.optional(types.boolean()), - resourceConfig: GetProjectsResponseBodyResourceConfig$inboundSchema, - rollingRelease: z.nullable(ResponseBodyRollingRelease$inboundSchema) - .optional(), - rootDirectory: z.nullable(types.string()).optional(), - security: types.optional(ResponseBodySecurity$inboundSchema), - serverlessFunctionRegion: types.string(), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional(ResponseBodySpeedInsights$inboundSchema), - ssoProtection: z.nullable(ResponseBodySsoProtection$inboundSchema).optional(), - targets: types.optional( - z.record(types.nullable(z.lazy(() => ResponseBodyTargets$inboundSchema))), - ), - tier: types.optional(ResponseBodyTier$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedSources: z.nullable( - z.lazy(() => ResponseBodyTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - webAnalytics: types.optional( - z.lazy(() => ResponseBodyWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(ResponseBodyAlias$inboundSchema), + analytics: types.optional(ResponseBodyAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(GetProjectsResponseBodyCreator$inboundSchema), + customerSupportCodeVisibility: types.optional(types.boolean()), + deploymentExpiration: ResponseBodyDeploymentExpiration$inboundSchema, + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + env: types.optional(z.array(ResponseBodyEnv$inboundSchema)), + expiration: types.optional(ResponseBodyExpiration$inboundSchema), + framework: z.nullable(ResponseBodyFramework$inboundSchema).optional(), + gitComments: types.optional(ResponseBodyGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitProviderOptions: types.optional( + ResponseBodyGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(ResponseBodyInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional(z.array(ResponseBodyIpBuckets$inboundSchema)), + latestDeployments: types.optional( + z.array(ResponseBodyLatestDeployments$inboundSchema), + ), + link: types.optional(ResponseBodyLink$inboundSchema), + live: types.optional(types.boolean()), + name: types.string(), + nodeVersion: GetProjectsResponseBodyNodeVersion$inboundSchema, + oidcTokenConfig: types.optional(ResponseBodyOidcTokenConfig$inboundSchema), + outputDirectory: z.nullable(types.string()).optional(), + passport: z.nullable(ResponseBodyPassport$inboundSchema).optional(), + passwordProtection: z.nullable(ResponseBodyPasswordProtection$inboundSchema) + .optional(), + paused: types.optional(types.boolean()), + resourceConfig: GetProjectsResponseBodyResourceConfig$inboundSchema, + rollingRelease: z.nullable(ResponseBodyRollingRelease$inboundSchema) + .optional(), + rootDirectory: z.nullable(types.string()).optional(), + security: types.optional(ResponseBodySecurity$inboundSchema), + serverlessFunctionRegion: types.string(), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional(ResponseBodySpeedInsights$inboundSchema), + ssoProtection: z.nullable(ResponseBodySsoProtection$inboundSchema) + .optional(), + targets: types.optional( + z.record(types.nullable(z.lazy(() => ResponseBodyTargets$inboundSchema))), + ), + tier: types.optional(ResponseBodyTier$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedSources: z.nullable( + z.lazy(() => ResponseBodyTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + webAnalytics: types.optional( + z.lazy(() => ResponseBodyWebAnalytics$inboundSchema), + ), + }) +); export function getProjectsResponseBody1FromJSON( jsonString: string, @@ -908,11 +953,13 @@ export const GetProjectsResponseBody$inboundSchema: z.ZodType< GetProjectsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - GetProjectsResponseBody2$inboundSchema, - GetProjectsResponseBody3$inboundSchema, - z.array(z.lazy(() => GetProjectsResponseBody1$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + GetProjectsResponseBody2$inboundSchema, + GetProjectsResponseBody3$inboundSchema, + z.array(z.lazy(() => GetProjectsResponseBody1$inboundSchema)), + ]) +); export function getProjectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojectsresponsebodyelasticbuildmachine.ts b/src/models/getprojectsresponsebodyelasticbuildmachine.ts index 978a6447e4..9a9253e57a 100644 --- a/src/models/getprojectsresponsebodyelasticbuildmachine.ts +++ b/src/models/getprojectsresponsebodyelasticbuildmachine.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1870,19 +1870,23 @@ export type GetProjectsResponseBodyElasticBuildMachine = export const GetProjectsFromProjectsResponse200ApplicationJSONPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsFromProjectsResponse200ApplicationJSONPreset - > = z.nativeEnum(GetProjectsFromProjectsResponse200ApplicationJSONPreset); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsFromProjectsResponse200ApplicationJSONPreset) + ); /** @internal */ export const GetProjectsFromProjectsResponse1$inboundSchema: z.ZodType< GetProjectsFromProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - GetProjectsFromProjectsResponse200ApplicationJSONPreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetProjectsFromProjectsResponse200ApplicationJSONPreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function getProjectsFromProjectsResponse1FromJSON( jsonString: string, @@ -1899,10 +1903,12 @@ export const GetProjectsResponseBodyProjectsFrom$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsFromProjectsResponse1$inboundSchema), - GetProjectsFromProjectsResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsFromProjectsResponse1$inboundSchema), + GetProjectsFromProjectsResponse2$inboundSchema, + ]) +); export function getProjectsResponseBodyProjectsFromFromJSON( jsonString: string, @@ -1919,8 +1925,10 @@ export function getProjectsResponseBodyProjectsFromFromJSON( export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset, + ) ); /** @internal */ @@ -1929,11 +1937,13 @@ export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody2$inboun GetProjectsToProjectsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - preset: - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) + ); export function getProjectsToProjectsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -1954,8 +1964,10 @@ export function getProjectsToProjectsResponse200ApplicationJSONResponseBody2From export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset - > = z.nativeEnum( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset, + ) ); /** @internal */ @@ -1964,12 +1976,14 @@ export const GetProjectsToProjectsResponse200ApplicationJSONResponseBody1$inboun GetProjectsToProjectsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - preset: types.optional( - GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset$inboundSchema, - ), - slugs: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + GetProjectsToProjectsResponse200ApplicationJSONResponseBody3ProjectsTrustedSourcesPreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) + ); export function getProjectsToProjectsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -1992,14 +2006,16 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONTo$inbound GetProjectsResponseBodyProjectsResponse200ApplicationJSONTo, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONToFromJSON( jsonString: string, @@ -2019,20 +2035,22 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSONToFromJ /** @internal */ export const GetProjectsResponseBodyProjectsCustomAllow$inboundSchema: z.ZodType = - z.object({ - from: smartUnion([ - z.lazy(() => GetProjectsFromProjectsResponse1$inboundSchema), - GetProjectsFromProjectsResponse2$inboundSchema, - ]), - to: smartUnion([ - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - z.lazy(() => - GetProjectsToProjectsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - ]), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + from: smartUnion([ + z.lazy(() => GetProjectsFromProjectsResponse1$inboundSchema), + GetProjectsFromProjectsResponse2$inboundSchema, + ]), + to: smartUnion([ + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + z.lazy(() => + GetProjectsToProjectsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]), + }) + ); export function getProjectsResponseBodyProjectsCustomAllowFromJSON( jsonString: string, @@ -2056,14 +2074,14 @@ export const GetProjectsResponseBodyProjectsResponseProjects$inboundSchema: GetProjectsResponseBodyProjectsResponseProjects, z.ZodTypeDef, unknown - > = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional(z.array(z.lazy(() => GetProjectsResponseBodyProjectsCustomAllow$inboundSchema - )), - ), - label: types.optional(types.string()), - }); + ))), + label: types.optional(types.string()), + }) + ); export function getProjectsResponseBodyProjectsResponseProjectsFromJSON( jsonString: string, @@ -2087,19 +2105,19 @@ export const GetProjectsResponseBodyProjectsTrustedSources$inboundSchema: GetProjectsResponseBodyProjectsTrustedSources, z.ZodTypeDef, unknown - > = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record( - z.array(GetProjectsResponseBodyProjectsOidcProviders$inboundSchema), + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record( + z.array(GetProjectsResponseBodyProjectsOidcProviders$inboundSchema), + ), ), - ), - projects: types.optional( - z.record(z.lazy(() => + projects: types.optional(z.record(z.lazy(() => GetProjectsResponseBodyProjectsResponseProjects$inboundSchema - )), - ), - }); + ))), + }) + ); export function getProjectsResponseBodyProjectsTrustedSourcesFromJSON( jsonString: string, @@ -2120,20 +2138,24 @@ export function getProjectsResponseBodyProjectsTrustedSourcesFromJSON( /** @internal */ export const GetProjectsResponseBodyKind$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyKind -> = z.nativeEnum(GetProjectsResponseBodyKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyKind) +); /** @internal */ export const ResponseBodyUsageStatus$inboundSchema: z.ZodType< ResponseBodyUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: GetProjectsResponseBodyKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: GetProjectsResponseBodyKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function responseBodyUsageStatusFromJSON( jsonString: string, @@ -2150,9 +2172,11 @@ export const GetProjectsResponseBodyVercelFlags$inboundSchema: z.ZodType< GetProjectsResponseBodyVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function getProjectsResponseBodyVercelFlagsFromJSON( jsonString: string, @@ -2171,13 +2195,15 @@ export const GetProjectsResponseBodyProjectsWebAnalytics$inboundSchema: GetProjectsResponseBodyProjectsWebAnalytics, z.ZodTypeDef, unknown - > = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) + ); export function getProjectsResponseBodyProjectsWebAnalyticsFromJSON( jsonString: string, @@ -2200,170 +2226,176 @@ export const GetProjectsResponseBodyProjects$inboundSchema: z.ZodType< GetProjectsResponseBodyProjects, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(GetProjectsResponseBodyProjectsAlias$inboundSchema), - analytics: types.optional( - GetProjectsResponseBodyProjectsAnalytics$inboundSchema, - ), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(ResponseBodyBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(ResponseBodyConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONCreator$inboundSchema, - ), - crons: types.optional(GetProjectsResponseBodyCrons$inboundSchema), - customEnvironments: types.optional( - z.array(ResponseBodyCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(ResponseBodyDataCache$inboundSchema), - defaultResourceConfig: ResponseBodyDefaultResourceConfig$inboundSchema, - deploymentExpiration: - GetProjectsResponseBodyProjectsDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable(ResponseBodyDeploymentPolicy$inboundSchema) - .optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(ResponseBodyDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional( - z.array(GetProjectsResponseBodyProjectsEnv$inboundSchema), - ), - expiration: types.optional( - GetProjectsResponseBodyProjectsExpiration$inboundSchema, - ), - features: types.optional(ResponseBodyFeatures$inboundSchema), - framework: z.nullable(GetProjectsResponseBodyProjectsFramework$inboundSchema) - .optional(), - gitComments: types.optional( - GetProjectsResponseBodyProjectsGitComments$inboundSchema, - ), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - GetProjectsResponseBodyProjectsGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(GetProjectsResponseBodyProjectsInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(GetProjectsResponseBodyProjectsIpBuckets$inboundSchema), - ), - jobs: types.optional(ResponseBodyJobs$inboundSchema), - lastAliasRequest: z.nullable(ResponseBodyLastAliasRequest$inboundSchema) - .optional(), - lastRollbackTarget: z.nullable(ResponseBodyLastRollbackTarget$inboundSchema) - .optional(), - latestDeployments: types.optional( - z.array(GetProjectsResponseBodyProjectsLatestDeployments$inboundSchema), - ), - link: types.optional(GetProjectsResponseBodyProjectsLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional( - GetProjectsResponseBodyMicrofrontends$inboundSchema, - ), - name: types.string(), - nodeVersion: GetProjectsResponseBodyProjectsResponseNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - GetProjectsResponseBodyProjectsOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable(ResponseBodyOptionsAllowlist$inboundSchema) - .optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(GetProjectsResponseBodyProjectsPassport$inboundSchema) - .optional(), - passwordProtection: z.nullable( - GetProjectsResponseBodyProjectsPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(ResponseBodyPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(ResponseBodyProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional(ResponseBodyProtectionConfig$inboundSchema), - resourceConfig: - GetProjectsResponseBodyProjectsResponseResourceConfig$inboundSchema, - rollbackDescription: types.optional( - ResponseBodyRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable( - GetProjectsResponseBodyProjectsRollingRelease$inboundSchema, - ).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(ResponseBodySandbox$inboundSchema), - security: types.optional( - GetProjectsResponseBodyProjectsSecurity$inboundSchema, - ), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional( - z.array(GetProjectsResponseBodyServices$inboundSchema), - ), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - GetProjectsResponseBodyProjectsSpeedInsights$inboundSchema, - ), - ssoProtection: z.nullable( - GetProjectsResponseBodyProjectsSsoProtection$inboundSchema, - ).optional(), - staticIps: types.optional(ResponseBodyStaticIps$inboundSchema), - targets: types.optional( - z.record( - types.nullable(GetProjectsResponseBodyProjectsTargets$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(GetProjectsResponseBodyProjectsAlias$inboundSchema), + analytics: types.optional( + GetProjectsResponseBodyProjectsAnalytics$inboundSchema, + ), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(ResponseBodyBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(ResponseBodyConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONCreator$inboundSchema, + ), + crons: types.optional(GetProjectsResponseBodyCrons$inboundSchema), + customEnvironments: types.optional( + z.array(ResponseBodyCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(ResponseBodyDataCache$inboundSchema), + defaultResourceConfig: ResponseBodyDefaultResourceConfig$inboundSchema, + deploymentExpiration: + GetProjectsResponseBodyProjectsDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable(ResponseBodyDeploymentPolicy$inboundSchema) + .optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(ResponseBodyDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional( + z.array(GetProjectsResponseBodyProjectsEnv$inboundSchema), + ), + expiration: types.optional( + GetProjectsResponseBodyProjectsExpiration$inboundSchema, + ), + features: types.optional(ResponseBodyFeatures$inboundSchema), + framework: z.nullable( + GetProjectsResponseBodyProjectsFramework$inboundSchema, + ).optional(), + gitComments: types.optional( + GetProjectsResponseBodyProjectsGitComments$inboundSchema, + ), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + GetProjectsResponseBodyProjectsGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(GetProjectsResponseBodyProjectsInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(GetProjectsResponseBodyProjectsIpBuckets$inboundSchema), + ), + jobs: types.optional(ResponseBodyJobs$inboundSchema), + lastAliasRequest: z.nullable(ResponseBodyLastAliasRequest$inboundSchema) + .optional(), + lastRollbackTarget: z.nullable(ResponseBodyLastRollbackTarget$inboundSchema) + .optional(), + latestDeployments: types.optional( + z.array(GetProjectsResponseBodyProjectsLatestDeployments$inboundSchema), + ), + link: types.optional(GetProjectsResponseBodyProjectsLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional( + GetProjectsResponseBodyMicrofrontends$inboundSchema, + ), + name: types.string(), + nodeVersion: + GetProjectsResponseBodyProjectsResponseNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + GetProjectsResponseBodyProjectsOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable(ResponseBodyOptionsAllowlist$inboundSchema) + .optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(GetProjectsResponseBodyProjectsPassport$inboundSchema) + .optional(), + passwordProtection: z.nullable( + GetProjectsResponseBodyProjectsPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(ResponseBodyPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(ResponseBodyProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + ResponseBodyProtectionConfig$inboundSchema, + ), + resourceConfig: + GetProjectsResponseBodyProjectsResponseResourceConfig$inboundSchema, + rollbackDescription: types.optional( + ResponseBodyRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable( + GetProjectsResponseBodyProjectsRollingRelease$inboundSchema, + ).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(ResponseBodySandbox$inboundSchema), + security: types.optional( + GetProjectsResponseBodyProjectsSecurity$inboundSchema, + ), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(GetProjectsResponseBodyServices$inboundSchema), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + GetProjectsResponseBodyProjectsSpeedInsights$inboundSchema, + ), + ssoProtection: z.nullable( + GetProjectsResponseBodyProjectsSsoProtection$inboundSchema, + ).optional(), + staticIps: types.optional(ResponseBodyStaticIps$inboundSchema), + targets: types.optional( + z.record( + types.nullable(GetProjectsResponseBodyProjectsTargets$inboundSchema), + ), + ), + tier: types.optional(GetProjectsResponseBodyProjectsTier$inboundSchema), + tracing: types.optional(ResponseBodyTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(ResponseBodyTrustedIps$inboundSchema).optional(), + trustedSources: z.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => ResponseBodyUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => GetProjectsResponseBodyVercelFlags$inboundSchema), ), - ), - tier: types.optional(GetProjectsResponseBodyProjectsTier$inboundSchema), - tracing: types.optional(ResponseBodyTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(ResponseBodyTrustedIps$inboundSchema).optional(), - trustedSources: z.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => ResponseBodyUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => GetProjectsResponseBodyVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => GetProjectsResponseBodyProjectsWebAnalytics$inboundSchema), - ), -}); + webAnalytics: types.optional( + z.lazy(() => GetProjectsResponseBodyProjectsWebAnalytics$inboundSchema), + ), + }) +); export function getProjectsResponseBodyProjectsFromJSON( jsonString: string, @@ -2380,12 +2412,14 @@ export const GetProjectsResponseBody3$inboundSchema: z.ZodType< GetProjectsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - pagination: GetProjectsResponseBodyProjectsPagination$inboundSchema, - projects: z.array( - z.lazy(() => GetProjectsResponseBodyProjects$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: GetProjectsResponseBodyProjectsPagination$inboundSchema, + projects: z.array( + z.lazy(() => GetProjectsResponseBodyProjects$inboundSchema), + ), + }) +); export function getProjectsResponseBody3FromJSON( jsonString: string, @@ -2402,10 +2436,12 @@ export const Pagination1$inboundSchema: z.ZodType< Pagination1, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function pagination1FromJSON( jsonString: string, @@ -2422,10 +2458,12 @@ export const GetProjectsResponseBodyPagination$inboundSchema: z.ZodType< GetProjectsResponseBodyPagination, z.ZodTypeDef, unknown -> = smartUnion([ - Pagination$inboundSchema, - z.lazy(() => Pagination1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + Pagination$inboundSchema, + z.lazy(() => Pagination1$inboundSchema), + ]) +); export function getProjectsResponseBodyPaginationFromJSON( jsonString: string, @@ -2440,7 +2478,9 @@ export function getProjectsResponseBodyPaginationFromJSON( /** @internal */ export const GetProjectsResponseBodyConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyConfiguredBy -> = z.nativeEnum(GetProjectsResponseBodyConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyConfiguredBy) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasAssigned$inboundSchema: @@ -2448,7 +2488,9 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasAssi GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2AliasAssignedFromJSON( jsonString: string, @@ -2471,10 +2513,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasErro GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2AliasErrorFromJSON( jsonString: string, @@ -2495,8 +2539,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2AliasE export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType, + ) ); /** @internal */ @@ -2505,11 +2551,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2BranchMat GetProjectsResponseBodyProjectsResponse200ApplicationJson2BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasDeploymentType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2BranchMatcherFromJSON( jsonString: string, @@ -2532,11 +2580,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Builds$in GetProjectsResponseBodyProjectsResponse200ApplicationJson2Builds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2BuildsFromJSON( jsonString: string, @@ -2557,16 +2607,20 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2Builds export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState, + ) ); /** @internal */ @@ -2575,13 +2629,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2ProjectsAliasCreatorFromJSON( jsonString: string, @@ -2604,29 +2660,31 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2OidcToken GetProjectsResponseBodyProjectsResponse200ApplicationJson2OidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2OidcTokenClaimsFromJSON( jsonString: string, @@ -2647,32 +2705,38 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2OidcTo export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType, + ) ); /** @internal */ @@ -2680,74 +2744,66 @@ export const GetProjectsResponseBodyDeployment$inboundSchema: z.ZodType< GetProjectsResponseBodyDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson2AliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson2BranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Builds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasCreator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Builds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson2OidcTokenClaims$inboundSchema + )), + plan: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate$inboundSchema, ), - ), - plan: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Plan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsAliasType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyDeploymentFromJSON( jsonString: string, @@ -2762,33 +2818,39 @@ export function getProjectsResponseBodyDeploymentFromJSON( /** @internal */ export const GetProjectsResponseBodyEnvironment$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyEnvironment -> = z.nativeEnum(GetProjectsResponseBodyEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyEnvironment) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponseTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseTarget) + ); /** @internal */ export const GetProjectsResponseBodyAlias$inboundSchema: z.ZodType< GetProjectsResponseBodyAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(GetProjectsResponseBodyConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => GetProjectsResponseBodyDeployment$inboundSchema), - ), - domain: types.string(), - environment: GetProjectsResponseBodyEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: GetProjectsResponseBodyProjectsResponseTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(GetProjectsResponseBodyConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => GetProjectsResponseBodyDeployment$inboundSchema), + ), + domain: types.string(), + environment: GetProjectsResponseBodyEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: GetProjectsResponseBodyProjectsResponseTarget$inboundSchema, + }) +); export function getProjectsResponseBodyAliasFromJSON( jsonString: string, @@ -2805,15 +2867,17 @@ export const GetProjectsResponseBodyAnalytics$inboundSchema: z.ZodType< GetProjectsResponseBodyAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function getProjectsResponseBodyAnalyticsFromJSON( jsonString: string, @@ -2830,9 +2894,11 @@ export const GetProjectsCreatorProjects5$inboundSchema: z.ZodType< GetProjectsCreatorProjects5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectsCreatorProjects5FromJSON( jsonString: string, @@ -2849,10 +2915,12 @@ export const GetProjectsCreatorProjectsIntegration$inboundSchema: z.ZodType< GetProjectsCreatorProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsCreatorProjectsIntegrationFromJSON( jsonString: string, @@ -2870,12 +2938,14 @@ export const GetProjectsCreatorProjects4$inboundSchema: z.ZodType< GetProjectsCreatorProjects4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetProjectsCreatorProjectsIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetProjectsCreatorProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getProjectsCreatorProjects4FromJSON( jsonString: string, @@ -2892,10 +2962,12 @@ export const GetProjectsCreatorProjectsApp$inboundSchema: z.ZodType< GetProjectsCreatorProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsCreatorProjectsAppFromJSON( jsonString: string, @@ -2912,10 +2984,12 @@ export const GetProjectsCreatorProjects3$inboundSchema: z.ZodType< GetProjectsCreatorProjects3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsCreatorProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsCreatorProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsCreatorProjects3FromJSON( jsonString: string, @@ -2932,9 +3006,11 @@ export const GetProjectsCreatorProjectsProject$inboundSchema: z.ZodType< GetProjectsCreatorProjectsProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorProjectsProjectFromJSON( jsonString: string, @@ -2951,10 +3027,12 @@ export const GetProjectsCreatorProjects2$inboundSchema: z.ZodType< GetProjectsCreatorProjects2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetProjectsCreatorProjectsProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetProjectsCreatorProjectsProject$inboundSchema), + type: types.literal("project"), + }) +); export function getProjectsCreatorProjects2FromJSON( jsonString: string, @@ -2971,10 +3049,12 @@ export const GetProjectsViaProjectsIntegration$inboundSchema: z.ZodType< GetProjectsViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsViaProjectsIntegrationFromJSON( jsonString: string, @@ -2991,10 +3071,12 @@ export const GetProjectsViaProjects2$inboundSchema: z.ZodType< GetProjectsViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectsViaProjectsIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectsViaProjectsIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectsViaProjects2FromJSON( jsonString: string, @@ -3011,10 +3093,12 @@ export const GetProjectsViaProjectsApp$inboundSchema: z.ZodType< GetProjectsViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsViaProjectsAppFromJSON( jsonString: string, @@ -3031,10 +3115,12 @@ export const GetProjectsViaProjects1$inboundSchema: z.ZodType< GetProjectsViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsViaProjects1FromJSON( jsonString: string, @@ -3051,10 +3137,12 @@ export const GetProjectsCreatorProjectsVia$inboundSchema: z.ZodType< GetProjectsCreatorProjectsVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsViaProjects1$inboundSchema), - z.lazy(() => GetProjectsViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsViaProjects1$inboundSchema), + z.lazy(() => GetProjectsViaProjects2$inboundSchema), + ]) +); export function getProjectsCreatorProjectsViaFromJSON( jsonString: string, @@ -3071,9 +3159,11 @@ export const GetProjectsCreatorProjectsUser$inboundSchema: z.ZodType< GetProjectsCreatorProjectsUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorProjectsUserFromJSON( jsonString: string, @@ -3090,16 +3180,18 @@ export const GetProjectsCreatorProjects1$inboundSchema: z.ZodType< GetProjectsCreatorProjects1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectsViaProjects1$inboundSchema), z.lazy(() => GetProjectsViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectsCreatorProjectsUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectsCreatorProjectsUser$inboundSchema + ), + }) +); export function getProjectsCreatorProjects1FromJSON( jsonString: string, @@ -3117,13 +3209,15 @@ export const GetProjectsResponseBodyProjectsResponse200Creator$inboundSchema: GetProjectsResponseBodyProjectsResponse200Creator, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectsCreatorProjects1$inboundSchema), - z.lazy(() => GetProjectsCreatorProjects2$inboundSchema), - z.lazy(() => GetProjectsCreatorProjects3$inboundSchema), - z.lazy(() => GetProjectsCreatorProjects4$inboundSchema), - z.lazy(() => GetProjectsCreatorProjects5$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsCreatorProjects1$inboundSchema), + z.lazy(() => GetProjectsCreatorProjects2$inboundSchema), + z.lazy(() => GetProjectsCreatorProjects3$inboundSchema), + z.lazy(() => GetProjectsCreatorProjects4$inboundSchema), + z.lazy(() => GetProjectsCreatorProjects5$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsResponse200CreatorFromJSON( jsonString: string, @@ -3147,13 +3241,15 @@ export const GetProjectsResponseBodyDeploymentExpiration$inboundSchema: GetProjectsResponseBodyDeploymentExpiration, z.ZodTypeDef, unknown - > = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) + ); export function getProjectsResponseBodyDeploymentExpirationFromJSON( jsonString: string, @@ -3176,10 +3272,12 @@ export const GetProjectsContentHintProjects17$inboundSchema: z.ZodType< GetProjectsContentHintProjects17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectsContentHintProjects17FromJSON( jsonString: string, @@ -3196,13 +3294,15 @@ export const GetProjectsContentHintProjects16$inboundSchema: z.ZodType< GetProjectsContentHintProjects16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectsContentHintProjects16FromJSON( jsonString: string, @@ -3219,10 +3319,12 @@ export const GetProjectsContentHintProjects15$inboundSchema: z.ZodType< GetProjectsContentHintProjects15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectsContentHintProjects15FromJSON( jsonString: string, @@ -3239,10 +3341,12 @@ export const GetProjectsContentHintProjects14$inboundSchema: z.ZodType< GetProjectsContentHintProjects14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectsContentHintProjects14FromJSON( jsonString: string, @@ -3259,10 +3363,12 @@ export const GetProjectsContentHintProjects13$inboundSchema: z.ZodType< GetProjectsContentHintProjects13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectsContentHintProjects13FromJSON( jsonString: string, @@ -3279,10 +3385,12 @@ export const GetProjectsContentHintProjects12$inboundSchema: z.ZodType< GetProjectsContentHintProjects12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectsContentHintProjects12FromJSON( jsonString: string, @@ -3299,10 +3407,12 @@ export const GetProjectsContentHintProjects11$inboundSchema: z.ZodType< GetProjectsContentHintProjects11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectsContentHintProjects11FromJSON( jsonString: string, @@ -3319,10 +3429,12 @@ export const GetProjectsContentHintProjects10$inboundSchema: z.ZodType< GetProjectsContentHintProjects10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectsContentHintProjects10FromJSON( jsonString: string, @@ -3339,10 +3451,12 @@ export const GetProjectsContentHintProjects9$inboundSchema: z.ZodType< GetProjectsContentHintProjects9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectsContentHintProjects9FromJSON( jsonString: string, @@ -3359,10 +3473,12 @@ export const GetProjectsContentHintProjects8$inboundSchema: z.ZodType< GetProjectsContentHintProjects8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectsContentHintProjects8FromJSON( jsonString: string, @@ -3379,10 +3495,12 @@ export const GetProjectsContentHintProjects7$inboundSchema: z.ZodType< GetProjectsContentHintProjects7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectsContentHintProjects7FromJSON( jsonString: string, @@ -3399,10 +3517,12 @@ export const GetProjectsContentHintProjects6$inboundSchema: z.ZodType< GetProjectsContentHintProjects6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectsContentHintProjects6FromJSON( jsonString: string, @@ -3419,10 +3539,12 @@ export const GetProjectsContentHintProjects5$inboundSchema: z.ZodType< GetProjectsContentHintProjects5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectsContentHintProjects5FromJSON( jsonString: string, @@ -3439,10 +3561,12 @@ export const GetProjectsContentHintProjects4$inboundSchema: z.ZodType< GetProjectsContentHintProjects4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectsContentHintProjects4FromJSON( jsonString: string, @@ -3459,10 +3583,12 @@ export const GetProjectsContentHintProjects3$inboundSchema: z.ZodType< GetProjectsContentHintProjects3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectsContentHintProjects3FromJSON( jsonString: string, @@ -3479,10 +3605,12 @@ export const GetProjectsContentHintProjects2$inboundSchema: z.ZodType< GetProjectsContentHintProjects2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectsContentHintProjects2FromJSON( jsonString: string, @@ -3499,10 +3627,12 @@ export const GetProjectsContentHintProjects1$inboundSchema: z.ZodType< GetProjectsContentHintProjects1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectsContentHintProjects1FromJSON( jsonString: string, @@ -3520,25 +3650,27 @@ export const GetProjectsResponseBodyProjectsResponseContentHint$inboundSchema: GetProjectsResponseBodyProjectsResponseContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectsContentHintProjects1$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects2$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects3$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects4$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects5$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects6$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects7$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects8$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects9$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects10$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects11$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects12$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects13$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects14$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects15$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects16$inboundSchema), - z.lazy(() => GetProjectsContentHintProjects17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsContentHintProjects1$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects2$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects3$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects4$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects5$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects6$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects7$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects8$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects9$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects10$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects11$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects12$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects13$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects14$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects15$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects16$inboundSchema), + z.lazy(() => GetProjectsContentHintProjects17$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsResponseContentHintFromJSON( jsonString: string, @@ -3560,8 +3692,10 @@ export function getProjectsResponseBodyProjectsResponseContentHintFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType, + ) ); /** @internal */ @@ -3570,11 +3704,13 @@ export const GetProjectsResponseBodyProjectsResponseInternalContentHint$inboundS GetProjectsResponseBodyProjectsResponseInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsEnvType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponseInternalContentHintFromJSON( jsonString: string, @@ -3594,12 +3730,12 @@ export function getProjectsResponseBodyProjectsResponseInternalContentHintFromJS /** @internal */ export const GetProjectsTargetProjects2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTargetProjects2 -> = z.nativeEnum(GetProjectsTargetProjects2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsTargetProjects2)); /** @internal */ export const GetProjectsTargetProjects1$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTargetProjects1 -> = z.nativeEnum(GetProjectsTargetProjects1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsTargetProjects1)); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Target$inboundSchema: @@ -3607,10 +3743,12 @@ export const GetProjectsResponseBodyProjectsResponse200Target$inboundSchema: GetProjectsResponseBodyProjectsResponse200Target, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(GetProjectsTargetProjects1$inboundSchema), - GetProjectsTargetProjects2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectsTargetProjects1$inboundSchema), + GetProjectsTargetProjects2$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200TargetFromJSON( jsonString: string, @@ -3632,25 +3770,27 @@ export function getProjectsResponseBodyProjectsResponse200TargetFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseVisibility) + ); /** @internal */ export const GetProjectsResponseBodyEnv$inboundSchema: z.ZodType< GetProjectsResponseBodyEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectsContentHintProjects1$inboundSchema), z.lazy(() => GetProjectsContentHintProjects2$inboundSchema), z.lazy(() => GetProjectsContentHintProjects3$inboundSchema), @@ -3668,40 +3808,38 @@ export const GetProjectsResponseBodyEnv$inboundSchema: z.ZodType< z.lazy(() => GetProjectsContentHintProjects15$inboundSchema), z.lazy(() => GetProjectsContentHintProjects16$inboundSchema), z.lazy(() => GetProjectsContentHintProjects17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponseInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectsTargetProjects1$inboundSchema), + GetProjectsTargetProjects2$inboundSchema, + ]), ), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectsTargetProjects1$inboundSchema), - GetProjectsTargetProjects2$inboundSchema, - ]), - ), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - GetProjectsResponseBodyProjectsResponseVisibility$inboundSchema, - ), - vsmValue: types.optional(types.string()), -}); + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + GetProjectsResponseBodyProjectsResponseVisibility$inboundSchema, + ), + vsmValue: types.optional(types.string()), + }) +); export function getProjectsResponseBodyEnvFromJSON( jsonString: string, @@ -3718,10 +3856,12 @@ export const GetProjectsExpirationProjects2$inboundSchema: z.ZodType< GetProjectsExpirationProjects2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function getProjectsExpirationProjects2FromJSON( jsonString: string, @@ -3738,9 +3878,11 @@ export const GetProjectsExpirationProjects1$inboundSchema: z.ZodType< GetProjectsExpirationProjects1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function getProjectsExpirationProjects1FromJSON( jsonString: string, @@ -3757,10 +3899,12 @@ export const GetProjectsResponseBodyExpiration$inboundSchema: z.ZodType< GetProjectsResponseBodyExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsExpirationProjects2$inboundSchema), - z.lazy(() => GetProjectsExpirationProjects1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsExpirationProjects2$inboundSchema), + z.lazy(() => GetProjectsExpirationProjects1$inboundSchema), + ]) +); export function getProjectsResponseBodyExpirationFromJSON( jsonString: string, @@ -3775,17 +3919,21 @@ export function getProjectsResponseBodyExpirationFromJSON( /** @internal */ export const GetProjectsResponseBodyFramework$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyFramework -> = z.nativeEnum(GetProjectsResponseBodyFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyFramework) +); /** @internal */ export const GetProjectsResponseBodyGitComments$inboundSchema: z.ZodType< GetProjectsResponseBodyGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function getProjectsResponseBodyGitCommentsFromJSON( jsonString: string, @@ -3804,10 +3952,12 @@ export const GetProjectsResponseBodyConsolidatedGitCommitStatus$inboundSchema: GetProjectsResponseBodyConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function getProjectsResponseBodyConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3827,25 +3977,27 @@ export function getProjectsResponseBodyConsolidatedGitCommitStatusFromJSON( /** @internal */ export const GetProjectsResponseBodyCreateDeployments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyCreateDeployments); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyCreateDeployments) + ); /** @internal */ export const GetProjectsResponseBodyGitProviderOptions$inboundSchema: z.ZodType< GetProjectsResponseBodyGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional(z.lazy(() => GetProjectsResponseBodyConsolidatedGitCommitStatus$inboundSchema - ), - ), - createDeployments: GetProjectsResponseBodyCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); + )), + createDeployments: GetProjectsResponseBodyCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyGitProviderOptionsFromJSON( jsonString: string, @@ -3868,9 +4020,11 @@ export const GetProjectsHasProjectsResponse200Value$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse200Value, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectsHasProjectsResponse200ValueFromJSON( jsonString: string, @@ -3888,10 +4042,12 @@ export const GetProjectsHasProjects2$inboundSchema: z.ZodType< GetProjectsHasProjects2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => GetProjectsHasProjectsResponse200Value$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => GetProjectsHasProjectsResponse200Value$inboundSchema), + }) +); export function getProjectsHasProjects2FromJSON( jsonString: string, @@ -3906,16 +4062,18 @@ export function getProjectsHasProjects2FromJSON( /** @internal */ export const GetProjectsHasProjectsKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsKey -> = z.nativeEnum(GetProjectsHasProjectsKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsHasProjectsKey)); /** @internal */ export const GetProjectsHasProjectsResponseValue$inboundSchema: z.ZodType< GetProjectsHasProjectsResponseValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectsHasProjectsResponseValueFromJSON( jsonString: string, @@ -3933,11 +4091,13 @@ export const GetProjectsHasProjects1$inboundSchema: z.ZodType< GetProjectsHasProjects1, z.ZodTypeDef, unknown -> = z.object({ - key: GetProjectsHasProjectsKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => GetProjectsHasProjectsResponseValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: GetProjectsHasProjectsKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => GetProjectsHasProjectsResponseValue$inboundSchema), + }) +); export function getProjectsHasProjects1FromJSON( jsonString: string, @@ -3954,10 +4114,12 @@ export const GetProjectsInternalRoutesProjectsHas$inboundSchema: z.ZodType< GetProjectsInternalRoutesProjectsHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsHasProjects1$inboundSchema), - z.lazy(() => GetProjectsHasProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsHasProjects1$inboundSchema), + z.lazy(() => GetProjectsHasProjects2$inboundSchema), + ]) +); export function getProjectsInternalRoutesProjectsHasFromJSON( jsonString: string, @@ -3972,17 +4134,21 @@ export function getProjectsInternalRoutesProjectsHasFromJSON( /** @internal */ export const GetProjectsInternalRoutesProjectsAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsInternalRoutesProjectsAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsInternalRoutesProjectsAction) + ); /** @internal */ export const GetProjectsInternalRoutesProjectsMitigate$inboundSchema: z.ZodType< GetProjectsInternalRoutesProjectsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectsInternalRoutesProjectsAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectsInternalRoutesProjectsAction$inboundSchema, + }) +); export function getProjectsInternalRoutesProjectsMitigateFromJSON( jsonString: string, @@ -4005,18 +4171,18 @@ export const GetProjectsInternalRoutesProjects2$inboundSchema: z.ZodType< GetProjectsInternalRoutesProjects2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => GetProjectsHasProjects1$inboundSchema), z.lazy(() => GetProjectsHasProjects2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - GetProjectsInternalRoutesProjectsMitigate$inboundSchema - ), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + GetProjectsInternalRoutesProjectsMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function getProjectsInternalRoutesProjects2FromJSON( jsonString: string, @@ -4034,11 +4200,13 @@ export const GetProjectsInternalRoutesProjects1$inboundSchema: z.ZodType< GetProjectsInternalRoutesProjects1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function getProjectsInternalRoutesProjects1FromJSON( jsonString: string, @@ -4056,10 +4224,12 @@ export const GetProjectsResponseBodyInternalRoutes$inboundSchema: z.ZodType< GetProjectsResponseBodyInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsInternalRoutesProjects1$inboundSchema), - z.lazy(() => GetProjectsInternalRoutesProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsInternalRoutesProjects1$inboundSchema), + z.lazy(() => GetProjectsInternalRoutesProjects2$inboundSchema), + ]) +); export function getProjectsResponseBodyInternalRoutesFromJSON( jsonString: string, @@ -4077,11 +4247,13 @@ export const GetProjectsResponseBodyIpBuckets$inboundSchema: z.ZodType< GetProjectsResponseBodyIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function getProjectsResponseBodyIpBucketsFromJSON( jsonString: string, @@ -4099,7 +4271,9 @@ export const GetProjectsResponseBodyProjectsResponseAliasAssigned$inboundSchema: GetProjectsResponseBodyProjectsResponseAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -4123,10 +4297,12 @@ export const GetProjectsResponseBodyProjectsResponse200AliasError$inboundSchema: GetProjectsResponseBodyProjectsResponse200AliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200AliasErrorFromJSON( jsonString: string, @@ -4148,8 +4324,10 @@ export function getProjectsResponseBodyProjectsResponse200AliasErrorFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType, + ) ); /** @internal */ @@ -4158,11 +4336,13 @@ export const GetProjectsResponseBodyProjectsResponseBranchMatcher$inboundSchema: GetProjectsResponseBodyProjectsResponseBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsLatestDeploymentsType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -4186,11 +4366,13 @@ export const GetProjectsResponseBodyProjectsResponse200Builds$inboundSchema: GetProjectsResponseBodyProjectsResponse200Builds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200BuildsFromJSON( jsonString: string, @@ -4212,13 +4394,17 @@ export function getProjectsResponseBodyProjectsResponse200BuildsFromJSON( export const GetProjectsResponseBodyProjectsResponse200ChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ChecksConclusion - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ChecksConclusion); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ChecksConclusion) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ChecksState - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ChecksState); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ChecksState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Creator$inboundSchema: @@ -4226,13 +4412,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2Creator$i GetProjectsResponseBodyProjectsResponse200ApplicationJson2Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON2CreatorFromJSON( jsonString: string, @@ -4255,29 +4443,31 @@ export const GetProjectsResponseBodyProjectsResponse200OidcTokenClaims$inboundSc GetProjectsResponseBodyProjectsResponse200OidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200OidcTokenClaimsFromJSON( jsonString: string, @@ -4296,26 +4486,34 @@ export function getProjectsResponseBodyProjectsResponse200OidcTokenClaimsFromJSO /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Plan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponse200Plan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Plan) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ReadyState$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ReadyState); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ReadyState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ReadySubstate - > = z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ReadySubstate); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ReadySubstate) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType, + ) ); /** @internal */ @@ -4323,73 +4521,65 @@ export const GetProjectsResponseBodyLatestDeployments$inboundSchema: z.ZodType< GetProjectsResponseBodyLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200AliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponseBranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200Builds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson2Creator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200Builds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson2Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200OidcTokenClaims$inboundSchema + )), + plan: GetProjectsResponseBodyProjectsResponse200Plan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ReadySubstate$inboundSchema, ), - ), - plan: GetProjectsResponseBodyProjectsResponse200Plan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson2ProjectsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyLatestDeploymentsFromJSON( jsonString: string, @@ -4413,13 +4603,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects8DeployHooksFromJSON( jsonString: string, @@ -4441,23 +4633,23 @@ export const GetProjectsLinkProjects8$inboundSchema: z.ZodType< GetProjectsLinkProjects8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects8FromJSON( jsonString: string, @@ -4475,13 +4667,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects7DeployHooksFromJSON( jsonString: string, @@ -4503,22 +4697,22 @@ export const GetProjectsLinkProjects7$inboundSchema: z.ZodType< GetProjectsLinkProjects7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects7FromJSON( jsonString: string, @@ -4536,13 +4730,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects6DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects6DeployHooksFromJSON( jsonString: string, @@ -4564,22 +4760,22 @@ export const GetProjectsLinkProjects6$inboundSchema: z.ZodType< GetProjectsLinkProjects6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects6DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects6FromJSON( jsonString: string, @@ -4597,13 +4793,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects5DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects5DeployHooksFromJSON( jsonString: string, @@ -4625,24 +4823,24 @@ export const GetProjectsLinkProjects5$inboundSchema: z.ZodType< GetProjectsLinkProjects5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects5DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function getProjectsLinkProjects5FromJSON( jsonString: string, @@ -4660,13 +4858,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects4DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects4DeployHooksFromJSON( jsonString: string, @@ -4688,25 +4888,25 @@ export const GetProjectsLinkProjects4$inboundSchema: z.ZodType< GetProjectsLinkProjects4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects4DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects4FromJSON( jsonString: string, @@ -4724,13 +4924,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects3DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects3DeployHooksFromJSON( jsonString: string, @@ -4752,24 +4954,24 @@ export const GetProjectsLinkProjects3$inboundSchema: z.ZodType< GetProjectsLinkProjects3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Projects3DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects3FromJSON( jsonString: string, @@ -4787,13 +4989,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Proje GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2ProjectsDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2ProjectsDeployHooksFromJSON( jsonString: string, @@ -4815,23 +5019,23 @@ export const GetProjectsLinkProjects2$inboundSchema: z.ZodType< GetProjectsLinkProjects2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2ProjectsDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects2FromJSON( jsonString: string, @@ -4849,13 +5053,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2Deplo GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody2DeployHooksFromJSON( jsonString: string, @@ -4877,23 +5083,23 @@ export const GetProjectsLinkProjects1$inboundSchema: z.ZodType< GetProjectsLinkProjects1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody2DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLinkProjects1FromJSON( jsonString: string, @@ -4910,16 +5116,18 @@ export const GetProjectsResponseBodyLink$inboundSchema: z.ZodType< GetProjectsResponseBodyLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsLinkProjects1$inboundSchema), - z.lazy(() => GetProjectsLinkProjects2$inboundSchema), - z.lazy(() => GetProjectsLinkProjects3$inboundSchema), - z.lazy(() => GetProjectsLinkProjects4$inboundSchema), - z.lazy(() => GetProjectsLinkProjects5$inboundSchema), - z.lazy(() => GetProjectsLinkProjects6$inboundSchema), - z.lazy(() => GetProjectsLinkProjects7$inboundSchema), - z.lazy(() => GetProjectsLinkProjects8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsLinkProjects1$inboundSchema), + z.lazy(() => GetProjectsLinkProjects2$inboundSchema), + z.lazy(() => GetProjectsLinkProjects3$inboundSchema), + z.lazy(() => GetProjectsLinkProjects4$inboundSchema), + z.lazy(() => GetProjectsLinkProjects5$inboundSchema), + z.lazy(() => GetProjectsLinkProjects6$inboundSchema), + z.lazy(() => GetProjectsLinkProjects7$inboundSchema), + z.lazy(() => GetProjectsLinkProjects8$inboundSchema), + ]) +); export function getProjectsResponseBodyLinkFromJSON( jsonString: string, @@ -4933,23 +5141,29 @@ export function getProjectsResponseBodyLinkFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsNodeVersion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsNodeVersion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsNodeVersion) + ); /** @internal */ export const GetProjectsResponseBodyIssuerMode$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyIssuerMode -> = z.nativeEnum(GetProjectsResponseBodyIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyIssuerMode) +); /** @internal */ export const GetProjectsResponseBodyOidcTokenConfig$inboundSchema: z.ZodType< GetProjectsResponseBodyOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(GetProjectsResponseBodyIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(GetProjectsResponseBodyIssuerMode$inboundSchema), + }) +); export function getProjectsResponseBodyOidcTokenConfigFromJSON( jsonString: string, @@ -4964,18 +5178,22 @@ export function getProjectsResponseBodyOidcTokenConfigFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsDeploymentType) + ); /** @internal */ export const GetProjectsResponseBodyPassport$inboundSchema: z.ZodType< GetProjectsResponseBodyPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: GetProjectsResponseBodyProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: GetProjectsResponseBodyProjectsDeploymentType$inboundSchema, + }) +); export function getProjectsResponseBodyPassportFromJSON( jsonString: string, @@ -4992,7 +5210,7 @@ export const GetProjectsResponseBodyPasswordProtection$inboundSchema: z.ZodType< GetProjectsResponseBodyPasswordProtection, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getProjectsResponseBodyPasswordProtectionFromJSON( jsonString: string, @@ -5012,13 +5230,17 @@ export function getProjectsResponseBodyPasswordProtectionFromJSON( /** @internal */ export const GetProjectsResponseBodyBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyBuildMachineElasticReason) + ); /** @internal */ export const GetProjectsResponseBodyDirection$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyDirection -> = z.nativeEnum(GetProjectsResponseBodyDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyDirection) +); /** @internal */ export const GetProjectsResponseBodyBuildMachineElasticTransition$inboundSchema: @@ -5026,11 +5248,13 @@ export const GetProjectsResponseBodyBuildMachineElasticTransition$inboundSchema: GetProjectsResponseBodyBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetProjectsResponseBodyDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetProjectsResponseBodyDirection$inboundSchema, + }) + ); export function getProjectsResponseBodyBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -5050,29 +5274,37 @@ export function getProjectsResponseBodyBuildMachineElasticTransitionFromJSON( /** @internal */ export const GetProjectsResponseBodyBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyBuildMachineSelection) + ); /** @internal */ export const GetProjectsResponseBodyBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyBuildMachineType) + ); /** @internal */ export const GetProjectsResponseBodyProjectsConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsConfiguration) + ); /** @internal */ export const GetProjectsResponseBodyBuildQueue$inboundSchema: z.ZodType< GetProjectsResponseBodyBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - GetProjectsResponseBodyProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetProjectsResponseBodyProjectsConfiguration$inboundSchema, + ), + }) +); export function getProjectsResponseBodyBuildQueueFromJSON( jsonString: string, @@ -5086,19 +5318,23 @@ export function getProjectsResponseBodyBuildQueueFromJSON( /** @internal */ export const GetProjectsResponseBodyFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyFunctionDefaultMemoryType) + ); /** @internal */ export const GetProjectsElasticBuildMachineProjects4$inboundSchema: z.ZodType< GetProjectsElasticBuildMachineProjects4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -5121,11 +5357,13 @@ export const GetProjectsElasticBuildMachineProjects3$inboundSchema: z.ZodType< GetProjectsElasticBuildMachineProjects3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -5148,11 +5386,13 @@ export const GetProjectsElasticBuildMachineProjects2$inboundSchema: z.ZodType< GetProjectsElasticBuildMachineProjects2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -5175,11 +5415,13 @@ export const GetProjectsElasticBuildMachineProjects1$inboundSchema: z.ZodType< GetProjectsElasticBuildMachineProjects1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -5200,12 +5442,14 @@ export function getProjectsElasticBuildMachineProjects1FromJSON( /** @internal */ export const GetProjectsResponseBodyElasticBuildMachine$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GetProjectsElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjects4$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsElasticBuildMachineProjects1$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachineProjects2$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachineProjects3$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachineProjects4$inboundSchema), + ]) + ); export function getProjectsResponseBodyElasticBuildMachineFromJSON( jsonString: string, diff --git a/src/models/getprojectsresponsebodyprojectsplan.ts b/src/models/getprojectsresponsebodyprojectsplan.ts index 20391b969a..059f4b09d9 100644 --- a/src/models/getprojectsresponsebodyprojectsplan.ts +++ b/src/models/getprojectsresponsebodyprojectsplan.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1655,25 +1655,27 @@ export const GetProjectsResponseBodyContentHint$inboundSchema: z.ZodType< GetProjectsResponseBodyContentHint, z.ZodTypeDef, unknown -> = z.union([ - GetProjectsContentHint1$inboundSchema, - GetProjectsContentHint2$inboundSchema, - GetProjectsContentHint3$inboundSchema, - GetProjectsContentHint4$inboundSchema, - GetProjectsContentHint5$inboundSchema, - GetProjectsContentHint6$inboundSchema, - GetProjectsContentHint7$inboundSchema, - GetProjectsContentHint8$inboundSchema, - GetProjectsContentHint9$inboundSchema, - GetProjectsContentHint10$inboundSchema, - GetProjectsContentHint11$inboundSchema, - GetProjectsContentHint12$inboundSchema, - GetProjectsContentHint13$inboundSchema, - GetProjectsContentHint14$inboundSchema, - GetProjectsContentHint15$inboundSchema, - GetProjectsContentHint16$inboundSchema, - GetProjectsContentHint17$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + GetProjectsContentHint1$inboundSchema, + GetProjectsContentHint2$inboundSchema, + GetProjectsContentHint3$inboundSchema, + GetProjectsContentHint4$inboundSchema, + GetProjectsContentHint5$inboundSchema, + GetProjectsContentHint6$inboundSchema, + GetProjectsContentHint7$inboundSchema, + GetProjectsContentHint8$inboundSchema, + GetProjectsContentHint9$inboundSchema, + GetProjectsContentHint10$inboundSchema, + GetProjectsContentHint11$inboundSchema, + GetProjectsContentHint12$inboundSchema, + GetProjectsContentHint13$inboundSchema, + GetProjectsContentHint14$inboundSchema, + GetProjectsContentHint15$inboundSchema, + GetProjectsContentHint16$inboundSchema, + GetProjectsContentHint17$inboundSchema, + ]) +); export function getProjectsResponseBodyContentHintFromJSON( jsonString: string, @@ -1690,18 +1692,20 @@ export function getProjectsResponseBodyContentHintFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJSONType) ); /** @internal */ export const GetProjectsResponseBodyInternalContentHint$inboundSchema: z.ZodType = - z.object({ - encryptedValue: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, + }) + ); export function getProjectsResponseBodyInternalContentHintFromJSON( jsonString: string, @@ -1722,22 +1726,24 @@ export function getProjectsResponseBodyInternalContentHintFromJSON( /** @internal */ export const GetProjectsTarget2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTarget2 -> = z.nativeEnum(GetProjectsTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsTarget2)); /** @internal */ export const GetProjectsTarget1$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTarget1 -> = z.nativeEnum(GetProjectsTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsTarget1)); /** @internal */ export const GetProjectsResponseBodyProjectsTarget$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(GetProjectsTarget1$inboundSchema), - GetProjectsTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectsTarget1$inboundSchema), + GetProjectsTarget2$inboundSchema, + ]) +); export function getProjectsResponseBodyProjectsTargetFromJSON( jsonString: string, @@ -1753,69 +1759,75 @@ export function getProjectsResponseBodyProjectsTargetFromJSON( /** @internal */ export const GetProjectsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyType -> = z.nativeEnum(GetProjectsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyType) +); /** @internal */ export const GetProjectsResponseBodyVisibility$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyVisibility -> = z.nativeEnum(GetProjectsResponseBodyVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyVisibility) +); /** @internal */ export const ResponseBodyEnv$inboundSchema: z.ZodType< ResponseBodyEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ - GetProjectsContentHint1$inboundSchema, - GetProjectsContentHint2$inboundSchema, - GetProjectsContentHint3$inboundSchema, - GetProjectsContentHint4$inboundSchema, - GetProjectsContentHint5$inboundSchema, - GetProjectsContentHint6$inboundSchema, - GetProjectsContentHint7$inboundSchema, - GetProjectsContentHint8$inboundSchema, - GetProjectsContentHint9$inboundSchema, - GetProjectsContentHint10$inboundSchema, - GetProjectsContentHint11$inboundSchema, - GetProjectsContentHint12$inboundSchema, - GetProjectsContentHint13$inboundSchema, - GetProjectsContentHint14$inboundSchema, - GetProjectsContentHint15$inboundSchema, - GetProjectsContentHint16$inboundSchema, - GetProjectsContentHint17$inboundSchema, - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => GetProjectsResponseBodyInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectsTarget1$inboundSchema), - GetProjectsTarget2$inboundSchema, - ]), - ), - type: GetProjectsResponseBodyType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(GetProjectsResponseBodyVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable( + z.union([ + GetProjectsContentHint1$inboundSchema, + GetProjectsContentHint2$inboundSchema, + GetProjectsContentHint3$inboundSchema, + GetProjectsContentHint4$inboundSchema, + GetProjectsContentHint5$inboundSchema, + GetProjectsContentHint6$inboundSchema, + GetProjectsContentHint7$inboundSchema, + GetProjectsContentHint8$inboundSchema, + GetProjectsContentHint9$inboundSchema, + GetProjectsContentHint10$inboundSchema, + GetProjectsContentHint11$inboundSchema, + GetProjectsContentHint12$inboundSchema, + GetProjectsContentHint13$inboundSchema, + GetProjectsContentHint14$inboundSchema, + GetProjectsContentHint15$inboundSchema, + GetProjectsContentHint16$inboundSchema, + GetProjectsContentHint17$inboundSchema, + ]), + ).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable( + z.lazy(() => GetProjectsResponseBodyInternalContentHint$inboundSchema), + ).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectsTarget1$inboundSchema), + GetProjectsTarget2$inboundSchema, + ]), + ), + type: GetProjectsResponseBodyType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(GetProjectsResponseBodyVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function responseBodyEnvFromJSON( jsonString: string, @@ -1832,10 +1844,12 @@ export const GetProjectsExpiration2$inboundSchema: z.ZodType< GetProjectsExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function getProjectsExpiration2FromJSON( jsonString: string, @@ -1852,9 +1866,11 @@ export const GetProjectsExpiration1$inboundSchema: z.ZodType< GetProjectsExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function getProjectsExpiration1FromJSON( jsonString: string, @@ -1871,10 +1887,12 @@ export const ResponseBodyExpiration$inboundSchema: z.ZodType< ResponseBodyExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsExpiration2$inboundSchema), - z.lazy(() => GetProjectsExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsExpiration2$inboundSchema), + z.lazy(() => GetProjectsExpiration1$inboundSchema), + ]) +); export function responseBodyExpirationFromJSON( jsonString: string, @@ -1889,17 +1907,19 @@ export function responseBodyExpirationFromJSON( /** @internal */ export const ResponseBodyFramework$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFramework -> = z.nativeEnum(ResponseBodyFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyFramework)); /** @internal */ export const ResponseBodyGitComments$inboundSchema: z.ZodType< ResponseBodyGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function responseBodyGitCommentsFromJSON( jsonString: string, @@ -1916,10 +1936,12 @@ export const ResponseBodyConsolidatedGitCommitStatus$inboundSchema: z.ZodType< ResponseBodyConsolidatedGitCommitStatus, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) +); export function responseBodyConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -1940,22 +1962,26 @@ export function responseBodyConsolidatedGitCommitStatusFromJSON( /** @internal */ export const ResponseBodyCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyCreateDeployments -> = z.nativeEnum(ResponseBodyCreateDeployments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyCreateDeployments) +); /** @internal */ export const ResponseBodyGitProviderOptions$inboundSchema: z.ZodType< ResponseBodyGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => ResponseBodyConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: ResponseBodyCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => ResponseBodyConsolidatedGitCommitStatus$inboundSchema), + ), + createDeployments: ResponseBodyCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function responseBodyGitProviderOptionsFromJSON( jsonString: string, @@ -1972,9 +1998,11 @@ export const GetProjectsHasProjectsValue$inboundSchema: z.ZodType< GetProjectsHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectsHasProjectsValueFromJSON( jsonString: string, @@ -1991,10 +2019,12 @@ export const GetProjectsHas2$inboundSchema: z.ZodType< GetProjectsHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => GetProjectsHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => GetProjectsHasProjectsValue$inboundSchema), + }) +); export function getProjectsHas2FromJSON( jsonString: string, @@ -2009,16 +2039,18 @@ export function getProjectsHas2FromJSON( /** @internal */ export const GetProjectsHasKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasKey -> = z.nativeEnum(GetProjectsHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsHasKey)); /** @internal */ export const GetProjectsHasValue$inboundSchema: z.ZodType< GetProjectsHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function getProjectsHasValueFromJSON( jsonString: string, @@ -2035,11 +2067,13 @@ export const GetProjectsHas1$inboundSchema: z.ZodType< GetProjectsHas1, z.ZodTypeDef, unknown -> = z.object({ - key: GetProjectsHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => GetProjectsHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: GetProjectsHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => GetProjectsHasValue$inboundSchema), + }) +); export function getProjectsHas1FromJSON( jsonString: string, @@ -2056,10 +2090,12 @@ export const GetProjectsInternalRoutesHas$inboundSchema: z.ZodType< GetProjectsInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsHas1$inboundSchema), - z.lazy(() => GetProjectsHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsHas1$inboundSchema), + z.lazy(() => GetProjectsHas2$inboundSchema), + ]) +); export function getProjectsInternalRoutesHasFromJSON( jsonString: string, @@ -2074,16 +2110,20 @@ export function getProjectsInternalRoutesHasFromJSON( /** @internal */ export const GetProjectsInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsInternalRoutesAction -> = z.nativeEnum(GetProjectsInternalRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsInternalRoutesAction) +); /** @internal */ export const GetProjectsInternalRoutesMitigate$inboundSchema: z.ZodType< GetProjectsInternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectsInternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectsInternalRoutesAction$inboundSchema, + }) +); export function getProjectsInternalRoutesMitigateFromJSON( jsonString: string, @@ -2100,16 +2140,18 @@ export const GetProjectsInternalRoutes2$inboundSchema: z.ZodType< GetProjectsInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => GetProjectsHas1$inboundSchema), z.lazy(() => GetProjectsHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => GetProjectsInternalRoutesMitigate$inboundSchema), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + GetProjectsInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function getProjectsInternalRoutes2FromJSON( jsonString: string, @@ -2126,11 +2168,13 @@ export const GetProjectsInternalRoutes1$inboundSchema: z.ZodType< GetProjectsInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function getProjectsInternalRoutes1FromJSON( jsonString: string, @@ -2147,10 +2191,12 @@ export const ResponseBodyInternalRoutes$inboundSchema: z.ZodType< ResponseBodyInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsInternalRoutes1$inboundSchema), - z.lazy(() => GetProjectsInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsInternalRoutes1$inboundSchema), + z.lazy(() => GetProjectsInternalRoutes2$inboundSchema), + ]) +); export function responseBodyInternalRoutesFromJSON( jsonString: string, @@ -2167,11 +2213,13 @@ export const ResponseBodyIpBuckets$inboundSchema: z.ZodType< ResponseBodyIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function responseBodyIpBucketsFromJSON( jsonString: string, @@ -2188,7 +2236,9 @@ export const ResponseBodyAliasAssigned$inboundSchema: z.ZodType< ResponseBodyAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function responseBodyAliasAssignedFromJSON( jsonString: string, @@ -2205,10 +2255,12 @@ export const GetProjectsResponseBodyAliasError$inboundSchema: z.ZodType< GetProjectsResponseBodyAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getProjectsResponseBodyAliasErrorFromJSON( jsonString: string, @@ -2222,18 +2274,22 @@ export function getProjectsResponseBodyAliasErrorFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Type) + ); /** @internal */ export const ResponseBodyBranchMatcher$inboundSchema: z.ZodType< ResponseBodyBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: GetProjectsResponseBodyProjectsResponse200Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: GetProjectsResponseBodyProjectsResponse200Type$inboundSchema, + }) +); export function responseBodyBranchMatcherFromJSON( jsonString: string, @@ -2250,11 +2306,13 @@ export const GetProjectsResponseBodyBuilds$inboundSchema: z.ZodType< GetProjectsResponseBodyBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getProjectsResponseBodyBuildsFromJSON( jsonString: string, @@ -2268,26 +2326,32 @@ export function getProjectsResponseBodyBuildsFromJSON( /** @internal */ export const GetProjectsResponseBodyChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyChecksConclusion) + ); /** @internal */ export const GetProjectsResponseBodyChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyChecksState -> = z.nativeEnum(GetProjectsResponseBodyChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyChecksState) +); /** @internal */ export const GetProjectsResponseBodyProjectsCreator$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function getProjectsResponseBodyProjectsCreatorFromJSON( jsonString: string, @@ -2305,29 +2369,31 @@ export const GetProjectsResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< GetProjectsResponseBodyOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getProjectsResponseBodyOidcTokenClaimsFromJSON( jsonString: string, @@ -2343,82 +2409,93 @@ export function getProjectsResponseBodyOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectsResponseBodyPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyPlan -> = z.nativeEnum(GetProjectsResponseBodyPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyPlan) +); /** @internal */ export const GetProjectsResponseBodyReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyReadyState -> = z.nativeEnum(GetProjectsResponseBodyReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyReadyState) +); /** @internal */ export const GetProjectsResponseBodyReadySubstate$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsResponseBodyReadySubstate, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyReadySubstate) + ); /** @internal */ export const GetProjectsResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsType -> = z.nativeEnum(GetProjectsResponseBodyProjectsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsType) +); /** @internal */ export const ResponseBodyLatestDeployments$inboundSchema: z.ZodType< ResponseBodyLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => GetProjectsResponseBodyAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => ResponseBodyBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyChecksConclusion$inboundSchema, - ), - checksState: types.optional(GetProjectsResponseBodyChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => GetProjectsResponseBodyOidcTokenClaims$inboundSchema), - ), - plan: GetProjectsResponseBodyPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectsResponseBodyReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: GetProjectsResponseBodyProjectsType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => GetProjectsResponseBodyAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => ResponseBodyBranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + GetProjectsResponseBodyChecksConclusion$inboundSchema, + ), + checksState: types.optional( + GetProjectsResponseBodyChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => GetProjectsResponseBodyOidcTokenClaims$inboundSchema), + ), + plan: GetProjectsResponseBodyPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectsResponseBodyReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: GetProjectsResponseBodyProjectsType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function responseBodyLatestDeploymentsFromJSON( jsonString: string, @@ -2436,13 +2513,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody18Depl GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody18DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody18DeployHooksFromJSON( jsonString: string, @@ -2464,23 +2543,23 @@ export const GetProjectsLink8$inboundSchema: z.ZodType< GetProjectsLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody18DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink8FromJSON( jsonString: string, @@ -2498,13 +2577,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody1Deplo GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody1DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBody1DeployHooksFromJSON( jsonString: string, @@ -2526,22 +2607,22 @@ export const GetProjectsLink7$inboundSchema: z.ZodType< GetProjectsLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBody1DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink7FromJSON( jsonString: string, @@ -2559,13 +2640,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONResponseBodyDeploy GetProjectsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -2587,22 +2670,22 @@ export const GetProjectsLink6$inboundSchema: z.ZodType< GetProjectsLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink6FromJSON( jsonString: string, @@ -2620,13 +2703,15 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboun GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -2648,24 +2733,24 @@ export const GetProjectsLink5$inboundSchema: z.ZodType< GetProjectsLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function getProjectsLink5FromJSON( jsonString: string, @@ -2683,13 +2768,15 @@ export const GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema: GetProjectsLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -2712,23 +2799,25 @@ export const GetProjectsLink4$inboundSchema: z.ZodType< GetProjectsLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink4FromJSON( jsonString: string, @@ -2743,13 +2832,15 @@ export function getProjectsLink4FromJSON( /** @internal */ export const GetProjectsLinkProjectsResponseDeployHooks$inboundSchema: z.ZodType = - z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectsLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -2772,22 +2863,24 @@ export const GetProjectsLink3$inboundSchema: z.ZodType< GetProjectsLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink3FromJSON( jsonString: string, @@ -2804,13 +2897,15 @@ export const GetProjectsLinkProjectsDeployHooks$inboundSchema: z.ZodType< GetProjectsLinkProjectsDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getProjectsLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -2828,21 +2923,23 @@ export const GetProjectsLink2$inboundSchema: z.ZodType< GetProjectsLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectsLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink2FromJSON( jsonString: string, @@ -2859,13 +2956,15 @@ export const GetProjectsLinkDeployHooks$inboundSchema: z.ZodType< GetProjectsLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getProjectsLinkDeployHooksFromJSON( jsonString: string, @@ -2882,19 +2981,23 @@ export const GetProjectsLink1$inboundSchema: z.ZodType< GetProjectsLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array(z.lazy(() => GetProjectsLinkDeployHooks$inboundSchema)), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectsLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectsLink1FromJSON( jsonString: string, @@ -2911,16 +3014,18 @@ export const ResponseBodyLink$inboundSchema: z.ZodType< ResponseBodyLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsLink1$inboundSchema), - z.lazy(() => GetProjectsLink2$inboundSchema), - z.lazy(() => GetProjectsLink3$inboundSchema), - z.lazy(() => GetProjectsLink4$inboundSchema), - z.lazy(() => GetProjectsLink5$inboundSchema), - z.lazy(() => GetProjectsLink6$inboundSchema), - z.lazy(() => GetProjectsLink7$inboundSchema), - z.lazy(() => GetProjectsLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsLink1$inboundSchema), + z.lazy(() => GetProjectsLink2$inboundSchema), + z.lazy(() => GetProjectsLink3$inboundSchema), + z.lazy(() => GetProjectsLink4$inboundSchema), + z.lazy(() => GetProjectsLink5$inboundSchema), + z.lazy(() => GetProjectsLink6$inboundSchema), + z.lazy(() => GetProjectsLink7$inboundSchema), + z.lazy(() => GetProjectsLink8$inboundSchema), + ]) +); export function responseBodyLinkFromJSON( jsonString: string, @@ -2935,22 +3040,26 @@ export function responseBodyLinkFromJSON( /** @internal */ export const GetProjectsResponseBodyNodeVersion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyNodeVersion -> = z.nativeEnum(GetProjectsResponseBodyNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyNodeVersion) +); /** @internal */ export const ResponseBodyIssuerMode$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyIssuerMode -> = z.nativeEnum(ResponseBodyIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyIssuerMode)); /** @internal */ export const ResponseBodyOidcTokenConfig$inboundSchema: z.ZodType< ResponseBodyOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(ResponseBodyIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(ResponseBodyIssuerMode$inboundSchema), + }) +); export function responseBodyOidcTokenConfigFromJSON( jsonString: string, @@ -2965,17 +3074,19 @@ export function responseBodyOidcTokenConfigFromJSON( /** @internal */ export const ResponseBodyDeploymentType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyDeploymentType -> = z.nativeEnum(ResponseBodyDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyDeploymentType)); /** @internal */ export const ResponseBodyPassport$inboundSchema: z.ZodType< ResponseBodyPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: ResponseBodyDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: ResponseBodyDeploymentType$inboundSchema, + }) +); export function responseBodyPassportFromJSON( jsonString: string, @@ -2992,7 +3103,7 @@ export const ResponseBodyPasswordProtection$inboundSchema: z.ZodType< ResponseBodyPasswordProtection, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyPasswordProtectionFromJSON( jsonString: string, @@ -3006,25 +3117,28 @@ export function responseBodyPasswordProtectionFromJSON( /** @internal */ export const ResponseBodyBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ResponseBodyBuildMachineElasticReason, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyBuildMachineElasticReason) + ); /** @internal */ export const ResponseBodyDirection$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyDirection -> = z.nativeEnum(ResponseBodyDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyDirection)); /** @internal */ export const ResponseBodyBuildMachineElasticTransition$inboundSchema: z.ZodType< ResponseBodyBuildMachineElasticTransition, z.ZodTypeDef, unknown -> = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: ResponseBodyDirection$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: ResponseBodyDirection$inboundSchema, + }) +); export function responseBodyBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -3045,29 +3159,36 @@ export function responseBodyBuildMachineElasticTransitionFromJSON( /** @internal */ export const ResponseBodyBuildMachineSelection$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyBuildMachineSelection -> = z.nativeEnum(ResponseBodyBuildMachineSelection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyBuildMachineSelection) +); /** @internal */ export const ResponseBodyBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyBuildMachineType -> = z.nativeEnum(ResponseBodyBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyBuildMachineType) +); /** @internal */ export const GetProjectsResponseBodyConfiguration$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsResponseBodyConfiguration, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyConfiguration) + ); /** @internal */ export const ResponseBodyBuildQueue$inboundSchema: z.ZodType< ResponseBodyBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - GetProjectsResponseBodyConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetProjectsResponseBodyConfiguration$inboundSchema, + ), + }) +); export function responseBodyBuildQueueFromJSON( jsonString: string, @@ -3081,20 +3202,23 @@ export function responseBodyBuildQueueFromJSON( /** @internal */ export const ResponseBodyFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ResponseBodyFunctionDefaultMemoryType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyFunctionDefaultMemoryType) + ); /** @internal */ export const GetProjectsElasticBuildMachine4$inboundSchema: z.ZodType< GetProjectsElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachine4FromJSON( jsonString: string, @@ -3111,11 +3235,13 @@ export const GetProjectsElasticBuildMachine3$inboundSchema: z.ZodType< GetProjectsElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachine3FromJSON( jsonString: string, @@ -3132,11 +3258,13 @@ export const GetProjectsElasticBuildMachine2$inboundSchema: z.ZodType< GetProjectsElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachine2FromJSON( jsonString: string, @@ -3153,11 +3281,13 @@ export const GetProjectsElasticBuildMachine1$inboundSchema: z.ZodType< GetProjectsElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function getProjectsElasticBuildMachine1FromJSON( jsonString: string, @@ -3174,12 +3304,14 @@ export const ResponseBodyElasticBuildMachine$inboundSchema: z.ZodType< ResponseBodyElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsElasticBuildMachine1$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine2$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine3$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsElasticBuildMachine1$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine2$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine3$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine4$inboundSchema), + ]) +); export function responseBodyElasticBuildMachineFromJSON( jsonString: string, @@ -3196,40 +3328,44 @@ export const GetProjectsResponseBodyResourceConfig$inboundSchema: z.ZodType< GetProjectsResponseBodyResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - ResponseBodyBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => ResponseBodyBuildMachineElasticTransition$inboundSchema), - ), - buildMachineSelection: types.optional( - ResponseBodyBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional(ResponseBodyBuildMachineType$inboundSchema), - buildQueue: types.optional( - z.lazy(() => ResponseBodyBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - ResponseBodyFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ - z.lazy(() => GetProjectsElasticBuildMachine1$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine2$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine3$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachine4$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + ResponseBodyBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional( + z.lazy(() => ResponseBodyBuildMachineElasticTransition$inboundSchema), + ), + buildMachineSelection: types.optional( + ResponseBodyBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + ResponseBodyBuildMachineType$inboundSchema, + ), + buildQueue: types.optional( + z.lazy(() => ResponseBodyBuildQueue$inboundSchema), + ), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + ResponseBodyFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional( + z.union([ + z.lazy(() => GetProjectsElasticBuildMachine1$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine2$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine3$inboundSchema), + z.lazy(() => GetProjectsElasticBuildMachine4$inboundSchema), + ]), + ), + }) +); export function getProjectsResponseBodyResourceConfigFromJSON( jsonString: string, @@ -3247,12 +3383,14 @@ export const ResponseBodyStages$inboundSchema: z.ZodType< ResponseBodyStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function responseBodyStagesFromJSON( jsonString: string, @@ -3269,12 +3407,14 @@ export const ResponseBodyRollingRelease$inboundSchema: z.ZodType< ResponseBodyRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable(z.array(z.lazy(() => ResponseBodyStages$inboundSchema))) - .optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable(z.array(z.lazy(() => ResponseBodyStages$inboundSchema))) + .optional(), + target: types.string(), + }) +); export function responseBodyRollingReleaseFromJSON( jsonString: string, @@ -3289,14 +3429,16 @@ export function responseBodyRollingReleaseFromJSON( /** @internal */ export const ResponseBodyHandle$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyHandle -> = z.nativeEnum(ResponseBodyHandle); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyHandle)); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType, + ) ); /** @internal */ @@ -3304,20 +3446,22 @@ export const GetProjectsValue2$inboundSchema: z.ZodType< GetProjectsValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getProjectsValue2FromJSON( jsonString: string, @@ -3335,10 +3479,9 @@ export const GetProjectsResponseBodyProjectsResponse200Value$inboundSchema: GetProjectsResponseBodyProjectsResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => GetProjectsValue2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetProjectsValue2$inboundSchema)]) + ); export function getProjectsResponseBodyProjectsResponse200ValueFromJSON( jsonString: string, @@ -3361,14 +3504,19 @@ export const GetProjectsResponseBodyHas$inboundSchema: z.ZodType< GetProjectsResponseBodyHas, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), z.lazy(() => GetProjectsValue2$inboundSchema)]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityType$inboundSchema, + value: types.optional( + smartUnion([ + types.string(), + z.lazy(() => GetProjectsValue2$inboundSchema), + ]), + ), + }) +); export function getProjectsResponseBodyHasFromJSON( jsonString: string, @@ -3384,8 +3532,10 @@ export function getProjectsResponseBodyHasFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType, + ) ); /** @internal */ @@ -3393,20 +3543,22 @@ export const GetProjectsValueProjects2$inboundSchema: z.ZodType< GetProjectsValueProjects2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getProjectsValueProjects2FromJSON( jsonString: string, @@ -3423,10 +3575,12 @@ export const GetProjectsResponseBodyValue$inboundSchema: z.ZodType< GetProjectsResponseBodyValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetProjectsValueProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetProjectsValueProjects2$inboundSchema), + ]) +); export function getProjectsResponseBodyValueFromJSON( jsonString: string, @@ -3443,17 +3597,17 @@ export const GetProjectsResponseBodyMissing$inboundSchema: z.ZodType< GetProjectsResponseBodyMissing, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjects2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getProjectsResponseBodyMissingFromJSON( jsonString: string, @@ -3469,23 +3623,29 @@ export function getProjectsResponseBodyMissingFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction, + ) ); /** @internal */ export const GetProjectsResponseBodyAlgo$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyAlgo -> = z.nativeEnum(GetProjectsResponseBodyAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyAlgo) +); /** @internal */ -export const Erl$inboundSchema: z.ZodType = z - .object({ - algo: GetProjectsResponseBodyAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); +export const Erl$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + algo: GetProjectsResponseBodyAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function erlFromJSON( jsonString: string, @@ -3501,8 +3661,10 @@ export function erlFromJSON( export const GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2 - > = z.nativeEnum( - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2, + ) ); /** @internal */ @@ -3511,10 +3673,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONLogHeaders GetProjectsResponseBodyProjectsResponse200ApplicationJSONLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONLogHeadersFromJSON( jsonString: string, @@ -3536,24 +3700,26 @@ export const GetProjectsResponseBodyMitigate$inboundSchema: z.ZodType< GetProjectsResponseBodyMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction$inboundSchema, - erl: types.optional(z.lazy(() => Erl$inboundSchema)), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2$inboundSchema, - ]), - ), - rule_id: types.string(), - ttl: types.optional(types.number()), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - "rule_id": "ruleId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesAction$inboundSchema, + erl: types.optional(z.lazy(() => Erl$inboundSchema)), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjectsResponse200ApplicationJSONResponseBody2$inboundSchema, + ]), + ), + rule_id: types.string(), + ttl: types.optional(types.number()), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + "rule_id": "ruleId", + }); + }) +); export function getProjectsResponseBodyMitigateFromJSON( jsonString: string, @@ -3569,8 +3735,10 @@ export function getProjectsResponseBodyMitigateFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType, + ) ); /** @internal */ @@ -3578,20 +3746,22 @@ export const GetProjectsValueProjectsResponse2$inboundSchema: z.ZodType< GetProjectsValueProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getProjectsValueProjectsResponse2FromJSON( jsonString: string, @@ -3608,10 +3778,12 @@ export const GetProjectsResponseBodyProjectsValue$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetProjectsValueProjectsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetProjectsValueProjectsResponse2$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsValueFromJSON( jsonString: string, @@ -3629,17 +3801,17 @@ export const ResponseHas$inboundSchema: z.ZodType< ResponseHas, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseHasType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function responseHasFromJSON( jsonString: string, @@ -3655,8 +3827,10 @@ export function responseHasFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType, + ) ); /** @internal */ @@ -3664,20 +3838,22 @@ export const GetProjectsValueProjectsResponse2002$inboundSchema: z.ZodType< GetProjectsValueProjectsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getProjectsValueProjectsResponse2002FromJSON( jsonString: string, @@ -3696,10 +3872,12 @@ export const GetProjectsResponseBodyProjectsResponseValue$inboundSchema: GetProjectsResponseBodyProjectsResponseValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => GetProjectsValueProjectsResponse2002$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetProjectsValueProjectsResponse2002$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsResponseValueFromJSON( jsonString: string, @@ -3722,17 +3900,17 @@ export const ResponseMissing$inboundSchema: z.ZodType< ResponseMissing, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesResponseMissingType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetProjectsValueProjectsResponse2002$inboundSchema), - ]), - ), -}); + ])), + }) +); export function responseMissingFromJSON( jsonString: string, @@ -3745,21 +3923,23 @@ export function responseMissingFromJSON( } /** @internal */ -export const Src2$inboundSchema: z.ZodType = z - .object({ - eq: types.optional(types.string()), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - list: types.optional(types.string()), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); +export const Src2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(types.string()), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + list: types.optional(types.string()), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function src2FromJSON( jsonString: string, @@ -3773,7 +3953,9 @@ export function src2FromJSON( /** @internal */ export const Src$inboundSchema: z.ZodType = - smartUnion([types.string(), z.lazy(() => Src2$inboundSchema)]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => Src2$inboundSchema)]) + ); export function srcFromJSON( jsonString: string, @@ -3788,12 +3970,12 @@ export function srcFromJSON( /** @internal */ export const TierRequirement$inboundSchema: z.ZodNativeEnum< typeof TierRequirement -> = z.nativeEnum(TierRequirement); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TierRequirement)); /** @internal */ export const GetProjectsResponseBodyOp$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyOp -> = z.nativeEnum(GetProjectsResponseBodyOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsResponseBodyOp)); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Target$inboundSchema: @@ -3801,9 +3983,11 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Target$in GetProjectsResponseBodyProjectsResponse200ApplicationJson1Target, z.ZodTypeDef, unknown - > = z.object({ - key: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON1TargetFromJSON( jsonString: string, @@ -3824,8 +4008,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON1Target export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType, + ) ); /** @internal */ @@ -3833,15 +4019,17 @@ export const GetProjectsResponseBodyTransforms$inboundSchema: z.ZodType< GetProjectsResponseBodyTransforms, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - op: GetProjectsResponseBodyOp$inboundSchema, - target: z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Target$inboundSchema - ), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + op: GetProjectsResponseBodyOp$inboundSchema, + target: z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson1Target$inboundSchema + ), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityFirewallRoutesTransformsType$inboundSchema, + }) +); export function getProjectsResponseBodyTransformsFromJSON( jsonString: string, @@ -3858,38 +4046,40 @@ export const FirewallRoutes$inboundSchema: z.ZodType< FirewallRoutes, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - handle: types.optional(ResponseBodyHandle$inboundSchema), - has: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyHas$inboundSchema)), - ), - missing: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyMissing$inboundSchema)), - ), - mitigate: types.optional( - z.lazy(() => GetProjectsResponseBodyMitigate$inboundSchema), - ), - response_has: types.optional( - z.array(z.lazy(() => ResponseHas$inboundSchema)), - ), - response_missing: types.optional( - z.array(z.lazy(() => ResponseMissing$inboundSchema)), - ), - src: types.optional( - smartUnion([types.string(), z.lazy(() => Src2$inboundSchema)]), - ), - status: types.optional(types.number()), - tierRequirement: types.optional(TierRequirement$inboundSchema), - transforms: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyTransforms$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "response_has": "responseHas", - "response_missing": "responseMissing", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + handle: types.optional(ResponseBodyHandle$inboundSchema), + has: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyHas$inboundSchema)), + ), + missing: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyMissing$inboundSchema)), + ), + mitigate: types.optional( + z.lazy(() => GetProjectsResponseBodyMitigate$inboundSchema), + ), + response_has: types.optional( + z.array(z.lazy(() => ResponseHas$inboundSchema)), + ), + response_missing: types.optional( + z.array(z.lazy(() => ResponseMissing$inboundSchema)), + ), + src: types.optional( + smartUnion([types.string(), z.lazy(() => Src2$inboundSchema)]), + ), + status: types.optional(types.number()), + tierRequirement: types.optional(TierRequirement$inboundSchema), + transforms: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyTransforms$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "response_has": "responseHas", + "response_missing": "responseMissing", + }); + }) +); export function firewallRoutesFromJSON( jsonString: string, @@ -3904,14 +4094,16 @@ export function firewallRoutesFromJSON( /** @internal */ export const GetProjectsLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeaders2 -> = z.nativeEnum(GetProjectsLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsLogHeaders2)); /** @internal */ export const ResponseBodyLogHeaders$inboundSchema: z.ZodType< ResponseBodyLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([z.array(types.string()), GetProjectsLogHeaders2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), GetProjectsLogHeaders2$inboundSchema]) +); export function responseBodyLogHeadersFromJSON( jsonString: string, @@ -3927,8 +4119,10 @@ export function responseBodyLogHeadersFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction, + ) ); /** @internal */ @@ -3936,12 +4130,14 @@ export const ResponseBodyAiBots$inboundSchema: z.ZodType< ResponseBodyAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function responseBodyAiBotsFromJSON( jsonString: string, @@ -3955,20 +4151,24 @@ export function responseBodyAiBotsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseAction) + ); /** @internal */ export const ResponseBodyBotFilter$inboundSchema: z.ZodType< ResponseBodyBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponseAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponseAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function responseBodyBotFilterFromJSON( jsonString: string, @@ -3982,20 +4182,24 @@ export function responseBodyBotFilterFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200Action) + ); /** @internal */ export const ResponseBodyOwasp$inboundSchema: z.ZodType< ResponseBodyOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function responseBodyOwaspFromJSON( jsonString: string, @@ -4011,8 +4215,10 @@ export function responseBodyOwaspFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction, + ) ); /** @internal */ @@ -4020,12 +4226,14 @@ export const ResponseBodyTrafficSources$inboundSchema: z.ZodType< ResponseBodyTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function responseBodyTrafficSourcesFromJSON( jsonString: string, @@ -4041,8 +4249,10 @@ export function responseBodyTrafficSourcesFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action, + ) ); /** @internal */ @@ -4050,12 +4260,14 @@ export const ResponseBodyVercelRuleset$inboundSchema: z.ZodType< ResponseBodyVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function responseBodyVercelRulesetFromJSON( jsonString: string, @@ -4072,20 +4284,22 @@ export const ResponseBodyManagedRules$inboundSchema: z.ZodType< ResponseBodyManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => ResponseBodyAiBots$inboundSchema), - bot_filter: z.lazy(() => ResponseBodyBotFilter$inboundSchema), - owasp: z.lazy(() => ResponseBodyOwasp$inboundSchema), - traffic_sources: z.lazy(() => ResponseBodyTrafficSources$inboundSchema), - vercel_ruleset: z.lazy(() => ResponseBodyVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => ResponseBodyAiBots$inboundSchema), + bot_filter: z.lazy(() => ResponseBodyBotFilter$inboundSchema), + owasp: z.lazy(() => ResponseBodyOwasp$inboundSchema), + traffic_sources: z.lazy(() => ResponseBodyTrafficSources$inboundSchema), + vercel_ruleset: z.lazy(() => ResponseBodyVercelRuleset$inboundSchema), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function responseBodyManagedRulesFromJSON( jsonString: string, @@ -4099,24 +4313,29 @@ export function responseBodyManagedRulesFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsResponseBodyProjectsAction, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsAction) + ); /** @internal */ export const GetProjectsLogHeadersProjects2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsLogHeadersProjects2 -> = z.nativeEnum(GetProjectsLogHeadersProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsLogHeadersProjects2) +); /** @internal */ export const GetProjectsResponseBodyLogHeaders$inboundSchema: z.ZodType< GetProjectsResponseBodyLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjects2$inboundSchema, + ]) +); export function getProjectsResponseBodyLogHeadersFromJSON( jsonString: string, @@ -4132,29 +4351,33 @@ export function getProjectsResponseBodyLogHeadersFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction, + ) ); /** @internal */ export const ResponseBodyAlgo$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyAlgo -> = z.nativeEnum(ResponseBodyAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyAlgo)); /** @internal */ export const ResponseBodyRateLimit$inboundSchema: z.ZodType< ResponseBodyRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction$inboundSchema, - ).optional(), - algo: ResponseBodyAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetProjectsResponseBodyProjectsResponse200ApplicationJson1SecurityAction$inboundSchema, + ).optional(), + algo: ResponseBodyAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function responseBodyRateLimitFromJSON( jsonString: string, @@ -4171,10 +4394,12 @@ export const ResponseBodyRedirect$inboundSchema: z.ZodType< ResponseBodyRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function responseBodyRedirectFromJSON( jsonString: string, @@ -4191,21 +4416,23 @@ export const ResponseBodyRulesets$inboundSchema: z.ZodType< ResponseBodyRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectsResponseBodyProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectsLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => ResponseBodyRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => ResponseBodyRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectsResponseBodyProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => ResponseBodyRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => ResponseBodyRedirect$inboundSchema)) + .optional(), + }) +); export function responseBodyRulesetsFromJSON( jsonString: string, @@ -4222,36 +4449,42 @@ export const ResponseBodySecurity$inboundSchema: z.ZodType< ResponseBodySecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallRoutes: types.optional( - z.array(z.lazy(() => FirewallRoutes$inboundSchema)), - ), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([z.array(types.string()), GetProjectsLogHeaders2$inboundSchema]), - ), - managedRules: z.nullable(z.lazy(() => ResponseBodyManagedRules$inboundSchema)) - .optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - requestLogsKey: types.optional(z.array(types.string())), - rulesets: types.optional( - z.record(z.lazy(() => ResponseBodyRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallRoutes: types.optional( + z.array(z.lazy(() => FirewallRoutes$inboundSchema)), + ), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectsLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => ResponseBodyManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + requestLogsKey: types.optional(z.array(types.string())), + rulesets: types.optional( + z.record(z.lazy(() => ResponseBodyRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function responseBodySecurityFromJSON( jsonString: string, @@ -4268,15 +4501,17 @@ export const ResponseBodySpeedInsights$inboundSchema: z.ZodType< ResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function responseBodySpeedInsightsFromJSON( jsonString: string, @@ -4292,33 +4527,40 @@ export function responseBodySpeedInsightsFromJSON( export const ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum(ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const ResponseBodyCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ResponseBodyCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ResponseBodyCve55182MigrationAppliedFrom) + ); /** @internal */ export const GetProjectsResponseBodyDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsResponseBodyDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyDeploymentType) + ); /** @internal */ export const ResponseBodySsoProtection$inboundSchema: z.ZodType< ResponseBodySsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - ResponseBodyCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: GetProjectsResponseBodyDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + ResponseBodyApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + ResponseBodyCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: GetProjectsResponseBodyDeploymentType$inboundSchema, + }) +); export function responseBodySsoProtectionFromJSON( jsonString: string, @@ -4335,7 +4577,9 @@ export const GetProjectsResponseBodyAliasAssigned$inboundSchema: z.ZodType< GetProjectsResponseBodyAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getProjectsResponseBodyAliasAssignedFromJSON( jsonString: string, @@ -4353,10 +4597,12 @@ export const GetProjectsResponseBodyProjectsAliasError$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getProjectsResponseBodyProjectsAliasErrorFromJSON( jsonString: string, @@ -4378,8 +4624,8 @@ export function getProjectsResponseBodyProjectsAliasErrorFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type) ); /** @internal */ @@ -4387,11 +4633,13 @@ export const GetProjectsResponseBodyBranchMatcher$inboundSchema: z.ZodType< GetProjectsResponseBodyBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson1Type$inboundSchema, + }) +); export function getProjectsResponseBodyBranchMatcherFromJSON( jsonString: string, @@ -4409,11 +4657,13 @@ export const GetProjectsResponseBodyProjectsBuilds$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getProjectsResponseBodyProjectsBuildsFromJSON( jsonString: string, @@ -4428,13 +4678,17 @@ export function getProjectsResponseBodyProjectsBuildsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsChecksConclusion) + ); /** @internal */ export const GetProjectsResponseBodyProjectsChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsChecksState) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseCreator$inboundSchema: @@ -4442,13 +4696,15 @@ export const GetProjectsResponseBodyProjectsResponseCreator$inboundSchema: GetProjectsResponseBodyProjectsResponseCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponseCreatorFromJSON( jsonString: string, @@ -4472,29 +4728,31 @@ export const GetProjectsResponseBodyProjectsOidcTokenClaims$inboundSchema: GetProjectsResponseBodyProjectsOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -4515,4 +4773,6 @@ export function getProjectsResponseBodyProjectsOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsPlan -> = z.nativeEnum(GetProjectsResponseBodyProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsPlan) +); diff --git a/src/models/getprojecttokenop.ts b/src/models/getprojecttokenop.ts index c7dbb0de9d..e35e3e0186 100644 --- a/src/models/getprojecttokenop.ts +++ b/src/models/getprojecttokenop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,9 +46,11 @@ export const GetProjectTokenRequestBody$outboundSchema: z.ZodType< GetProjectTokenRequestBody$Outbound, z.ZodTypeDef, GetProjectTokenRequestBody -> = z.object({ - source: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + source: z.string().optional(), + }) +); export function getProjectTokenRequestBodyToJSON( getProjectTokenRequestBody: GetProjectTokenRequestBody, @@ -71,17 +73,19 @@ export const GetProjectTokenRequest$outboundSchema: z.ZodType< GetProjectTokenRequest$Outbound, z.ZodTypeDef, GetProjectTokenRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => GetProjectTokenRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => GetProjectTokenRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function getProjectTokenRequestToJSON( getProjectTokenRequest: GetProjectTokenRequest, @@ -96,9 +100,11 @@ export const GetProjectTokenResponseBody$inboundSchema: z.ZodType< GetProjectTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - token: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + token: types.string(), + }) +); export function getProjectTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getprojecttoprojectsresponse200preset.ts b/src/models/getprojecttoprojectsresponse200preset.ts index 72bbcd4f42..1c6c3d9606 100644 --- a/src/models/getprojecttoprojectsresponse200preset.ts +++ b/src/models/getprojecttoprojectsresponse200preset.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2853,11 +2853,13 @@ export const GetProjectBuilds$inboundSchema: z.ZodType< GetProjectBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getProjectBuildsFromJSON( jsonString: string, @@ -2872,25 +2874,27 @@ export function getProjectBuildsFromJSON( /** @internal */ export const GetProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectChecksConclusion -> = z.nativeEnum(GetProjectChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectChecksConclusion)); /** @internal */ export const GetProjectChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectChecksState -> = z.nativeEnum(GetProjectChecksState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectChecksState)); /** @internal */ export const GetProjectProjectsCreator$inboundSchema: z.ZodType< GetProjectProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function getProjectProjectsCreatorFromJSON( jsonString: string, @@ -2907,29 +2911,31 @@ export const GetProjectOidcTokenClaims$inboundSchema: z.ZodType< GetProjectOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getProjectOidcTokenClaimsFromJSON( jsonString: string, @@ -2944,70 +2950,78 @@ export function getProjectOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectPlan -> = z.nativeEnum(GetProjectPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectPlan)); /** @internal */ export const GetProjectReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectReadyState -> = z.nativeEnum(GetProjectReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectReadyState)); /** @internal */ export const GetProjectReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectReadySubstate -> = z.nativeEnum(GetProjectReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectReadySubstate)); /** @internal */ export const GetProjectProjectsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200Type -> = z.nativeEnum(GetProjectProjectsResponse200Type); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200Type) +); /** @internal */ export const GetProjectLatestDeployments$inboundSchema: z.ZodType< GetProjectLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(GetProjectAliasAssigned$inboundSchema).optional(), - aliasError: z.nullable(GetProjectAliasError$inboundSchema).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional(GetProjectProjectsBranchMatcher$inboundSchema), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(z.lazy(() => GetProjectBuilds$inboundSchema))), - checksConclusion: types.optional(GetProjectChecksConclusion$inboundSchema), - checksState: types.optional(GetProjectChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => GetProjectProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => GetProjectOidcTokenClaims$inboundSchema), - ), - plan: GetProjectPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectReadyState$inboundSchema, - readySubstate: types.optional(GetProjectReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: GetProjectProjectsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(GetProjectAliasAssigned$inboundSchema).optional(), + aliasError: z.nullable(GetProjectAliasError$inboundSchema).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + GetProjectProjectsBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => GetProjectBuilds$inboundSchema)), + ), + checksConclusion: types.optional(GetProjectChecksConclusion$inboundSchema), + checksState: types.optional(GetProjectChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => GetProjectProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => GetProjectOidcTokenClaims$inboundSchema), + ), + plan: GetProjectPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectReadyState$inboundSchema, + readySubstate: types.optional(GetProjectReadySubstate$inboundSchema), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: GetProjectProjectsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectLatestDeploymentsFromJSON( jsonString: string, @@ -3025,13 +3039,15 @@ export const GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8Deploy GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON( jsonString: string, @@ -3053,23 +3069,23 @@ export const GetProjectLink8$inboundSchema: z.ZodType< GetProjectLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink8FromJSON( jsonString: string, @@ -3087,13 +3103,15 @@ export const GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7Deploy GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON( jsonString: string, @@ -3115,22 +3133,22 @@ export const GetProjectLink7$inboundSchema: z.ZodType< GetProjectLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink7FromJSON( jsonString: string, @@ -3148,13 +3166,15 @@ export const GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployH GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3176,22 +3196,22 @@ export const GetProjectLink6$inboundSchema: z.ZodType< GetProjectLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink6FromJSON( jsonString: string, @@ -3209,13 +3229,15 @@ export const GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inbound GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3237,24 +3259,24 @@ export const GetProjectLink5$inboundSchema: z.ZodType< GetProjectLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function getProjectLink5FromJSON( jsonString: string, @@ -3272,13 +3294,15 @@ export const GetProjectLinkProjectsResponse200DeployHooks$inboundSchema: GetProjectLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function getProjectLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -3301,23 +3325,25 @@ export const GetProjectLink4$inboundSchema: z.ZodType< GetProjectLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectLinkProjectsResponse200DeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectLinkProjectsResponse200DeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink4FromJSON( jsonString: string, @@ -3334,13 +3360,15 @@ export const GetProjectLinkProjectsResponseDeployHooks$inboundSchema: z.ZodType< GetProjectLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getProjectLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -3363,22 +3391,24 @@ export const GetProjectLink3$inboundSchema: z.ZodType< GetProjectLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink3FromJSON( jsonString: string, @@ -3395,13 +3425,15 @@ export const GetProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< GetProjectLinkProjectsDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getProjectLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -3418,21 +3450,23 @@ export const GetProjectLink2$inboundSchema: z.ZodType< GetProjectLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => GetProjectLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => GetProjectLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink2FromJSON( jsonString: string, @@ -3449,13 +3483,15 @@ export const GetProjectLinkDeployHooks$inboundSchema: z.ZodType< GetProjectLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function getProjectLinkDeployHooksFromJSON( jsonString: string, @@ -3472,19 +3508,21 @@ export const GetProjectLink1$inboundSchema: z.ZodType< GetProjectLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array(z.lazy(() => GetProjectLinkDeployHooks$inboundSchema)), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => GetProjectLinkDeployHooks$inboundSchema)), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function getProjectLink1FromJSON( jsonString: string, @@ -3501,16 +3539,18 @@ export const GetProjectLink$inboundSchema: z.ZodType< GetProjectLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectLink1$inboundSchema), - z.lazy(() => GetProjectLink2$inboundSchema), - z.lazy(() => GetProjectLink3$inboundSchema), - z.lazy(() => GetProjectLink4$inboundSchema), - z.lazy(() => GetProjectLink5$inboundSchema), - z.lazy(() => GetProjectLink6$inboundSchema), - z.lazy(() => GetProjectLink7$inboundSchema), - z.lazy(() => GetProjectLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectLink1$inboundSchema), + z.lazy(() => GetProjectLink2$inboundSchema), + z.lazy(() => GetProjectLink3$inboundSchema), + z.lazy(() => GetProjectLink4$inboundSchema), + z.lazy(() => GetProjectLink5$inboundSchema), + z.lazy(() => GetProjectLink6$inboundSchema), + z.lazy(() => GetProjectLink7$inboundSchema), + z.lazy(() => GetProjectLink8$inboundSchema), + ]) +); export function getProjectLinkFromJSON( jsonString: string, @@ -3527,12 +3567,14 @@ export const GetProjectMicrofrontends3$inboundSchema: z.ZodType< GetProjectMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function getProjectMicrofrontends3FromJSON( jsonString: string, @@ -3549,16 +3591,18 @@ export const GetProjectMicrofrontends2$inboundSchema: z.ZodType< GetProjectMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function getProjectMicrofrontends2FromJSON( jsonString: string, @@ -3575,14 +3619,16 @@ export const GetProjectMicrofrontends1$inboundSchema: z.ZodType< GetProjectMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function getProjectMicrofrontends1FromJSON( jsonString: string, @@ -3599,11 +3645,13 @@ export const GetProjectMicrofrontends$inboundSchema: z.ZodType< GetProjectMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectMicrofrontends1$inboundSchema), - z.lazy(() => GetProjectMicrofrontends2$inboundSchema), - z.lazy(() => GetProjectMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectMicrofrontends1$inboundSchema), + z.lazy(() => GetProjectMicrofrontends2$inboundSchema), + z.lazy(() => GetProjectMicrofrontends3$inboundSchema), + ]) +); export function getProjectMicrofrontendsFromJSON( jsonString: string, @@ -3618,22 +3666,24 @@ export function getProjectMicrofrontendsFromJSON( /** @internal */ export const GetProjectNodeVersion$inboundSchema: z.ZodNativeEnum< typeof GetProjectNodeVersion -> = z.nativeEnum(GetProjectNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectNodeVersion)); /** @internal */ export const GetProjectIssuerMode$inboundSchema: z.ZodNativeEnum< typeof GetProjectIssuerMode -> = z.nativeEnum(GetProjectIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectIssuerMode)); /** @internal */ export const GetProjectOidcTokenConfig$inboundSchema: z.ZodType< GetProjectOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(GetProjectIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(GetProjectIssuerMode$inboundSchema), + }) +); export function getProjectOidcTokenConfigFromJSON( jsonString: string, @@ -3650,9 +3700,11 @@ export const GetProjectPaths$inboundSchema: z.ZodType< GetProjectPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function getProjectPathsFromJSON( jsonString: string, @@ -3669,9 +3721,11 @@ export const GetProjectOptionsAllowlist$inboundSchema: z.ZodType< GetProjectOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => GetProjectPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => GetProjectPaths$inboundSchema)), + }) +); export function getProjectOptionsAllowlistFromJSON( jsonString: string, @@ -3686,17 +3740,19 @@ export function getProjectOptionsAllowlistFromJSON( /** @internal */ export const GetProjectDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectDeploymentType -> = z.nativeEnum(GetProjectDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectDeploymentType)); /** @internal */ export const GetProjectPassport$inboundSchema: z.ZodType< GetProjectPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: GetProjectDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: GetProjectDeploymentType$inboundSchema, + }) +); export function getProjectPassportFromJSON( jsonString: string, @@ -3711,16 +3767,20 @@ export function getProjectPassportFromJSON( /** @internal */ export const GetProjectProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsDeploymentType -> = z.nativeEnum(GetProjectProjectsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsDeploymentType) +); /** @internal */ export const GetProjectPasswordProtection$inboundSchema: z.ZodType< GetProjectPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: GetProjectProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: GetProjectProjectsDeploymentType$inboundSchema, + }) +); export function getProjectPasswordProtectionFromJSON( jsonString: string, @@ -3737,376 +3797,402 @@ export const GetProjectPermissions$inboundSchema: z.ZodType< GetProjectPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function getProjectPermissionsFromJSON( jsonString: string, @@ -4123,13 +4209,15 @@ export const GetProjectProtectionBypass2$inboundSchema: z.ZodType< GetProjectProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function getProjectProtectionBypass2FromJSON( jsonString: string, @@ -4146,13 +4234,15 @@ export const GetProjectProtectionBypass1$inboundSchema: z.ZodType< GetProjectProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function getProjectProtectionBypass1FromJSON( jsonString: string, @@ -4169,10 +4259,12 @@ export const GetProjectProtectionBypass$inboundSchema: z.ZodType< GetProjectProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectProtectionBypass1$inboundSchema), - z.lazy(() => GetProjectProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectProtectionBypass1$inboundSchema), + z.lazy(() => GetProjectProtectionBypass2$inboundSchema), + ]) +); export function getProjectProtectionBypassFromJSON( jsonString: string, @@ -4189,9 +4281,11 @@ export const GetProjectSandboxUrls$inboundSchema: z.ZodType< GetProjectSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function getProjectSandboxUrlsFromJSON( jsonString: string, @@ -4208,11 +4302,13 @@ export const GetProjectProtectionConfig$inboundSchema: z.ZodType< GetProjectProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => GetProjectSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => GetProjectSandboxUrls$inboundSchema), + ), + }) +); export function getProjectProtectionConfigFromJSON( jsonString: string, @@ -4226,13 +4322,17 @@ export function getProjectProtectionConfigFromJSON( /** @internal */ export const GetProjectProjectsBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsBuildMachineElasticReason) + ); /** @internal */ export const GetProjectProjectsDirection$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsDirection -> = z.nativeEnum(GetProjectProjectsDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsDirection) +); /** @internal */ export const GetProjectProjectsBuildMachineElasticTransition$inboundSchema: @@ -4240,11 +4340,13 @@ export const GetProjectProjectsBuildMachineElasticTransition$inboundSchema: GetProjectProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetProjectProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetProjectProjectsDirection$inboundSchema, + }) + ); export function getProjectProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4264,27 +4366,37 @@ export function getProjectProjectsBuildMachineElasticTransitionFromJSON( /** @internal */ export const GetProjectProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsBuildMachineSelection) + ); /** @internal */ export const GetProjectProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsBuildMachineType -> = z.nativeEnum(GetProjectProjectsBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsBuildMachineType) +); /** @internal */ export const GetProjectProjectsConfiguration$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsConfiguration -> = z.nativeEnum(GetProjectProjectsConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsConfiguration) +); /** @internal */ export const GetProjectProjectsBuildQueue$inboundSchema: z.ZodType< GetProjectProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(GetProjectProjectsConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetProjectProjectsConfiguration$inboundSchema, + ), + }) +); export function getProjectProjectsBuildQueueFromJSON( jsonString: string, @@ -4298,19 +4410,23 @@ export function getProjectProjectsBuildQueueFromJSON( /** @internal */ export const GetProjectProjectsFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const GetProjectElasticBuildMachineProjects4$inboundSchema: z.ZodType< GetProjectElasticBuildMachineProjects4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -4328,11 +4444,13 @@ export const GetProjectElasticBuildMachineProjects3$inboundSchema: z.ZodType< GetProjectElasticBuildMachineProjects3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -4350,11 +4468,13 @@ export const GetProjectElasticBuildMachineProjects2$inboundSchema: z.ZodType< GetProjectElasticBuildMachineProjects2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -4372,11 +4492,13 @@ export const GetProjectElasticBuildMachineProjects1$inboundSchema: z.ZodType< GetProjectElasticBuildMachineProjects1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function getProjectElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -4394,12 +4516,14 @@ export const GetProjectProjectsElasticBuildMachine$inboundSchema: z.ZodType< GetProjectProjectsElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectElasticBuildMachineProjects1$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects2$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects3$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects4$inboundSchema), + ]) +); export function getProjectProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -4417,42 +4541,46 @@ export const GetProjectResourceConfig$inboundSchema: z.ZodType< GetProjectResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetProjectProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => GetProjectProjectsBuildMachineElasticTransition$inboundSchema), - ), - buildMachineSelection: types.optional( - GetProjectProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetProjectProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => GetProjectProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetProjectProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ - z.lazy(() => GetProjectElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => GetProjectElasticBuildMachineProjects4$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetProjectProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional( + z.lazy(() => + GetProjectProjectsBuildMachineElasticTransition$inboundSchema + ), + ), + buildMachineSelection: types.optional( + GetProjectProjectsBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + GetProjectProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional( + z.lazy(() => GetProjectProjectsBuildQueue$inboundSchema), + ), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetProjectProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional( + z.union([ + z.lazy(() => GetProjectElasticBuildMachineProjects1$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects2$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects3$inboundSchema), + z.lazy(() => GetProjectElasticBuildMachineProjects4$inboundSchema), + ]), + ), + }) +); export function getProjectResourceConfigFromJSON( jsonString: string, @@ -4469,9 +4597,11 @@ export const GetProjectPrincipal5$inboundSchema: z.ZodType< GetProjectPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectPrincipal5FromJSON( jsonString: string, @@ -4488,10 +4618,12 @@ export const GetProjectPrincipalIntegration$inboundSchema: z.ZodType< GetProjectPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectPrincipalIntegrationFromJSON( jsonString: string, @@ -4508,10 +4640,12 @@ export const GetProjectPrincipal4$inboundSchema: z.ZodType< GetProjectPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectPrincipalIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectPrincipalIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectPrincipal4FromJSON( jsonString: string, @@ -4528,10 +4662,12 @@ export const GetProjectPrincipalApp$inboundSchema: z.ZodType< GetProjectPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectPrincipalAppFromJSON( jsonString: string, @@ -4548,10 +4684,12 @@ export const GetProjectPrincipal3$inboundSchema: z.ZodType< GetProjectPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectPrincipal3FromJSON( jsonString: string, @@ -4568,9 +4706,11 @@ export const GetProjectPrincipalProject$inboundSchema: z.ZodType< GetProjectPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectPrincipalProjectFromJSON( jsonString: string, @@ -4587,10 +4727,12 @@ export const GetProjectPrincipal2$inboundSchema: z.ZodType< GetProjectPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => GetProjectPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => GetProjectPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function getProjectPrincipal2FromJSON( jsonString: string, @@ -4607,10 +4749,12 @@ export const GetProjectViaProjectsIntegration$inboundSchema: z.ZodType< GetProjectViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectViaProjectsIntegrationFromJSON( jsonString: string, @@ -4627,10 +4771,12 @@ export const GetProjectViaProjects2$inboundSchema: z.ZodType< GetProjectViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => GetProjectViaProjectsIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => GetProjectViaProjectsIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function getProjectViaProjects2FromJSON( jsonString: string, @@ -4647,10 +4793,12 @@ export const GetProjectViaProjectsApp$inboundSchema: z.ZodType< GetProjectViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectViaProjectsAppFromJSON( jsonString: string, @@ -4667,10 +4815,12 @@ export const GetProjectViaProjects1$inboundSchema: z.ZodType< GetProjectViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectViaProjects1FromJSON( jsonString: string, @@ -4687,10 +4837,12 @@ export const GetProjectPrincipalVia$inboundSchema: z.ZodType< GetProjectPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectViaProjects1$inboundSchema), - z.lazy(() => GetProjectViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectViaProjects1$inboundSchema), + z.lazy(() => GetProjectViaProjects2$inboundSchema), + ]) +); export function getProjectPrincipalViaFromJSON( jsonString: string, @@ -4707,9 +4859,11 @@ export const GetProjectPrincipalUser$inboundSchema: z.ZodType< GetProjectPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectPrincipalUserFromJSON( jsonString: string, @@ -4726,16 +4880,18 @@ export const GetProjectPrincipal1$inboundSchema: z.ZodType< GetProjectPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectViaProjects1$inboundSchema), z.lazy(() => GetProjectViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectPrincipalUser$inboundSchema + ), + }) +); export function getProjectPrincipal1FromJSON( jsonString: string, @@ -4752,13 +4908,15 @@ export const GetProjectPrincipal$inboundSchema: z.ZodType< GetProjectPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectPrincipal1$inboundSchema), - z.lazy(() => GetProjectPrincipal2$inboundSchema), - z.lazy(() => GetProjectPrincipal3$inboundSchema), - z.lazy(() => GetProjectPrincipal4$inboundSchema), - z.lazy(() => GetProjectPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectPrincipal1$inboundSchema), + z.lazy(() => GetProjectPrincipal2$inboundSchema), + z.lazy(() => GetProjectPrincipal3$inboundSchema), + z.lazy(() => GetProjectPrincipal4$inboundSchema), + z.lazy(() => GetProjectPrincipal5$inboundSchema), + ]) +); export function getProjectPrincipalFromJSON( jsonString: string, @@ -4775,21 +4933,21 @@ export const GetProjectRollbackDescription$inboundSchema: z.ZodType< GetProjectRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => GetProjectPrincipal1$inboundSchema), z.lazy(() => GetProjectPrincipal2$inboundSchema), z.lazy(() => GetProjectPrincipal3$inboundSchema), z.lazy(() => GetProjectPrincipal4$inboundSchema), z.lazy(() => GetProjectPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getProjectRollbackDescriptionFromJSON( jsonString: string, @@ -4806,12 +4964,14 @@ export const GetProjectStages$inboundSchema: z.ZodType< GetProjectStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function getProjectStagesFromJSON( jsonString: string, @@ -4828,12 +4988,14 @@ export const GetProjectRollingRelease$inboundSchema: z.ZodType< GetProjectRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable(z.array(z.lazy(() => GetProjectStages$inboundSchema))) - .optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable(z.array(z.lazy(() => GetProjectStages$inboundSchema))) + .optional(), + target: types.string(), + }) +); export function getProjectRollingReleaseFromJSON( jsonString: string, @@ -4848,24 +5010,26 @@ export function getProjectRollingReleaseFromJSON( /** @internal */ export const GetProjectFailoverRegions$inboundSchema: z.ZodNativeEnum< typeof GetProjectFailoverRegions -> = z.nativeEnum(GetProjectFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectFailoverRegions)); /** @internal */ export const GetProjectRegion$inboundSchema: z.ZodNativeEnum< typeof GetProjectRegion -> = z.nativeEnum(GetProjectRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectRegion)); /** @internal */ export const GetProjectSandbox$inboundSchema: z.ZodType< GetProjectSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(GetProjectFailoverRegions$inboundSchema), - ), - region: types.optional(GetProjectRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(GetProjectFailoverRegions$inboundSchema), + ), + region: types.optional(GetProjectRegion$inboundSchema), + }) +); export function getProjectSandboxFromJSON( jsonString: string, @@ -4880,14 +5044,16 @@ export function getProjectSandboxFromJSON( /** @internal */ export const GetProjectLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof GetProjectLogHeaders2 -> = z.nativeEnum(GetProjectLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectLogHeaders2)); /** @internal */ export const GetProjectLogHeaders$inboundSchema: z.ZodType< GetProjectLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([z.array(types.string()), GetProjectLogHeaders2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), GetProjectLogHeaders2$inboundSchema]) +); export function getProjectLogHeadersFromJSON( jsonString: string, @@ -4903,8 +5069,10 @@ export function getProjectLogHeadersFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -4912,12 +5080,14 @@ export const GetProjectAiBots$inboundSchema: z.ZodType< GetProjectAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectAiBotsFromJSON( jsonString: string, @@ -4932,17 +5102,21 @@ export function getProjectAiBotsFromJSON( /** @internal */ export const GetProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponseAction -> = z.nativeEnum(GetProjectProjectsResponseAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseAction) +); /** @internal */ export const GetProjectBotFilter$inboundSchema: z.ZodType< GetProjectBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(GetProjectProjectsResponseAction$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(GetProjectProjectsResponseAction$inboundSchema), + active: types.boolean(), + }) +); export function getProjectBotFilterFromJSON( jsonString: string, @@ -4957,17 +5131,21 @@ export function getProjectBotFilterFromJSON( /** @internal */ export const GetProjectProjectsResponse200Action$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200Action -> = z.nativeEnum(GetProjectProjectsResponse200Action); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200Action) +); /** @internal */ export const GetProjectOwasp$inboundSchema: z.ZodType< GetProjectOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(GetProjectProjectsResponse200Action$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(GetProjectProjectsResponse200Action$inboundSchema), + active: types.boolean(), + }) +); export function getProjectOwaspFromJSON( jsonString: string, @@ -4981,20 +5159,24 @@ export function getProjectOwaspFromJSON( /** @internal */ export const GetProjectProjectsResponse200ApplicationJSONAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsResponse200ApplicationJSONAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200ApplicationJSONAction) + ); /** @internal */ export const GetProjectTrafficSources$inboundSchema: z.ZodType< GetProjectTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectTrafficSourcesFromJSON( jsonString: string, @@ -5010,8 +5192,8 @@ export function getProjectTrafficSourcesFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200ApplicationJSONResponseBodyAction) ); /** @internal */ @@ -5019,12 +5201,14 @@ export const GetProjectVercelRuleset$inboundSchema: z.ZodType< GetProjectVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function getProjectVercelRulesetFromJSON( jsonString: string, @@ -5041,20 +5225,22 @@ export const GetProjectManagedRules$inboundSchema: z.ZodType< GetProjectManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => GetProjectAiBots$inboundSchema), - bot_filter: z.lazy(() => GetProjectBotFilter$inboundSchema), - owasp: z.lazy(() => GetProjectOwasp$inboundSchema), - traffic_sources: z.lazy(() => GetProjectTrafficSources$inboundSchema), - vercel_ruleset: z.lazy(() => GetProjectVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => GetProjectAiBots$inboundSchema), + bot_filter: z.lazy(() => GetProjectBotFilter$inboundSchema), + owasp: z.lazy(() => GetProjectOwasp$inboundSchema), + traffic_sources: z.lazy(() => GetProjectTrafficSources$inboundSchema), + vercel_ruleset: z.lazy(() => GetProjectVercelRuleset$inboundSchema), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function getProjectManagedRulesFromJSON( jsonString: string, @@ -5069,22 +5255,26 @@ export function getProjectManagedRulesFromJSON( /** @internal */ export const GetProjectProjectsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsAction -> = z.nativeEnum(GetProjectProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectProjectsAction)); /** @internal */ export const GetProjectLogHeadersProjects2$inboundSchema: z.ZodNativeEnum< typeof GetProjectLogHeadersProjects2 -> = z.nativeEnum(GetProjectLogHeadersProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectLogHeadersProjects2) +); /** @internal */ export const GetProjectProjectsLogHeaders$inboundSchema: z.ZodType< GetProjectProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetProjectLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetProjectLogHeadersProjects2$inboundSchema, + ]) +); export function getProjectProjectsLogHeadersFromJSON( jsonString: string, @@ -5100,29 +5290,33 @@ export function getProjectProjectsLogHeadersFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const GetProjectAlgo$inboundSchema: z.ZodNativeEnum< typeof GetProjectAlgo -> = z.nativeEnum(GetProjectAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectAlgo)); /** @internal */ export const GetProjectRateLimit$inboundSchema: z.ZodType< GetProjectRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: GetProjectAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: GetProjectAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getProjectRateLimitFromJSON( jsonString: string, @@ -5139,10 +5333,12 @@ export const GetProjectRedirect$inboundSchema: z.ZodType< GetProjectRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getProjectRedirectFromJSON( jsonString: string, @@ -5159,21 +5355,23 @@ export const GetProjectRulesets$inboundSchema: z.ZodType< GetProjectRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetProjectLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => GetProjectRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => GetProjectRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => GetProjectRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => GetProjectRedirect$inboundSchema)) + .optional(), + }) +); export function getProjectRulesetsFromJSON( jsonString: string, @@ -5190,32 +5388,37 @@ export const GetProjectSecurity$inboundSchema: z.ZodType< GetProjectSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([z.array(types.string()), GetProjectLogHeaders2$inboundSchema]), - ), - managedRules: z.nullable(z.lazy(() => GetProjectManagedRules$inboundSchema)) - .optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => GetProjectRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + GetProjectLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable(z.lazy(() => GetProjectManagedRules$inboundSchema)) + .optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => GetProjectRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function getProjectSecurityFromJSON( jsonString: string, @@ -5230,24 +5433,28 @@ export function getProjectSecurityFromJSON( /** @internal */ export const GetProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsFramework -> = z.nativeEnum(GetProjectProjectsFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsFramework) +); /** @internal */ export const GetProjectServiceType$inboundSchema: z.ZodNativeEnum< typeof GetProjectServiceType -> = z.nativeEnum(GetProjectServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectServiceType)); /** @internal */ export const GetProjectServices$inboundSchema: z.ZodType< GetProjectServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional(GetProjectProjectsFramework$inboundSchema), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(GetProjectServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional(GetProjectProjectsFramework$inboundSchema), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(GetProjectServiceType$inboundSchema), + }) +); export function getProjectServicesFromJSON( jsonString: string, @@ -5264,15 +5471,17 @@ export const GetProjectSpeedInsights$inboundSchema: z.ZodType< GetProjectSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function getProjectSpeedInsightsFromJSON( jsonString: string, @@ -5288,33 +5497,40 @@ export function getProjectSpeedInsightsFromJSON( export const GetProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof GetProjectApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum(GetProjectApril2026SecurityIncidentMigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const GetProjectCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectCve55182MigrationAppliedFrom, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectCve55182MigrationAppliedFrom) + ); /** @internal */ export const GetProjectProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponseDeploymentType) + ); /** @internal */ export const GetProjectSsoProtection$inboundSchema: z.ZodType< GetProjectSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - GetProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - GetProjectCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: GetProjectProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + GetProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + GetProjectCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: GetProjectProjectsResponseDeploymentType$inboundSchema, + }) +); export function getProjectSsoProtectionFromJSON( jsonString: string, @@ -5331,11 +5547,13 @@ export const GetProjectStaticIps$inboundSchema: z.ZodType< GetProjectStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function getProjectStaticIpsFromJSON( jsonString: string, @@ -5352,7 +5570,9 @@ export const GetProjectProjectsAliasAssigned$inboundSchema: z.ZodType< GetProjectProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function getProjectProjectsAliasAssignedFromJSON( jsonString: string, @@ -5369,10 +5589,12 @@ export const GetProjectProjectsAliasError$inboundSchema: z.ZodType< GetProjectProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getProjectProjectsAliasErrorFromJSON( jsonString: string, @@ -5388,8 +5610,10 @@ export function getProjectProjectsAliasErrorFromJSON( export const GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); /** @internal */ @@ -5397,11 +5621,13 @@ export const GetProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType< GetProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + }) +); export function getProjectProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -5424,11 +5650,13 @@ export const GetProjectProjectsBuilds$inboundSchema: z.ZodType< GetProjectProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function getProjectProjectsBuildsFromJSON( jsonString: string, @@ -5443,25 +5671,31 @@ export function getProjectProjectsBuildsFromJSON( /** @internal */ export const GetProjectProjectsChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsChecksConclusion -> = z.nativeEnum(GetProjectProjectsChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsChecksConclusion) +); /** @internal */ export const GetProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsChecksState -> = z.nativeEnum(GetProjectProjectsChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsChecksState) +); /** @internal */ export const GetProjectProjectsResponseCreator$inboundSchema: z.ZodType< GetProjectProjectsResponseCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function getProjectProjectsResponseCreatorFromJSON( jsonString: string, @@ -5478,29 +5712,31 @@ export const GetProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< GetProjectProjectsOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function getProjectProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -5515,79 +5751,89 @@ export function getProjectProjectsOidcTokenClaimsFromJSON( /** @internal */ export const GetProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsPlan -> = z.nativeEnum(GetProjectProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectProjectsPlan)); /** @internal */ export const GetProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsReadyState -> = z.nativeEnum(GetProjectProjectsReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsReadyState) +); /** @internal */ export const GetProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsReadySubstate -> = z.nativeEnum(GetProjectProjectsReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsReadySubstate) +); /** @internal */ export const GetProjectProjectsResponse200ApplicationJSONType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectProjectsResponse200ApplicationJSONType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const GetProjectTargets$inboundSchema: z.ZodType< GetProjectTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => GetProjectProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => GetProjectProjectsResponseBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => GetProjectProjectsBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - GetProjectProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional(GetProjectProjectsChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => GetProjectProjectsResponseCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => GetProjectProjectsOidcTokenClaims$inboundSchema), - ), - plan: GetProjectProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: GetProjectProjectsReadyState$inboundSchema, - readySubstate: types.optional(GetProjectProjectsReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: GetProjectProjectsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => GetProjectProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => GetProjectProjectsResponseBranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => GetProjectProjectsBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + GetProjectProjectsChecksConclusion$inboundSchema, + ), + checksState: types.optional(GetProjectProjectsChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => GetProjectProjectsResponseCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => GetProjectProjectsOidcTokenClaims$inboundSchema), + ), + plan: GetProjectProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: GetProjectProjectsReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: GetProjectProjectsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectTargetsFromJSON( jsonString: string, @@ -5602,29 +5848,31 @@ export function getProjectTargetsFromJSON( /** @internal */ export const GetProjectTier$inboundSchema: z.ZodNativeEnum< typeof GetProjectTier -> = z.nativeEnum(GetProjectTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectTier)); /** @internal */ export const GetProjectDestination$inboundSchema: z.ZodNativeEnum< typeof GetProjectDestination -> = z.nativeEnum(GetProjectDestination); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectDestination)); /** @internal */ export const GetProjectProjectsEnv$inboundSchema: z.ZodNativeEnum< typeof GetProjectProjectsEnv -> = z.nativeEnum(GetProjectProjectsEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectProjectsEnv)); /** @internal */ export const GetProjectSamplingRules$inboundSchema: z.ZodType< GetProjectSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(GetProjectDestination$inboundSchema), - env: types.optional(GetProjectProjectsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(GetProjectDestination$inboundSchema), + env: types.optional(GetProjectProjectsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function getProjectSamplingRulesFromJSON( jsonString: string, @@ -5641,13 +5889,15 @@ export const GetProjectTracing$inboundSchema: z.ZodType< GetProjectTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => GetProjectSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => GetProjectSamplingRules$inboundSchema)), + ), + }) +); export function getProjectTracingFromJSON( jsonString: string, @@ -5661,17 +5911,21 @@ export function getProjectTracingFromJSON( /** @internal */ export const GetProjectTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectTrustedIpsProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const GetProjectTrustedIps2$inboundSchema: z.ZodType< GetProjectTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: GetProjectTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: GetProjectTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function getProjectTrustedIps2FromJSON( jsonString: string, @@ -5688,10 +5942,12 @@ export const TrustedIpsAddresses$inboundSchema: z.ZodType< TrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function trustedIpsAddressesFromJSON( jsonString: string, @@ -5706,23 +5962,27 @@ export function trustedIpsAddressesFromJSON( /** @internal */ export const GetProjectTrustedIpsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectTrustedIpsDeploymentType -> = z.nativeEnum(GetProjectTrustedIpsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectTrustedIpsDeploymentType) +); /** @internal */ export const TrustedIpsProtectionMode$inboundSchema: z.ZodNativeEnum< typeof TrustedIpsProtectionMode -> = z.nativeEnum(TrustedIpsProtectionMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TrustedIpsProtectionMode)); /** @internal */ export const GetProjectTrustedIps1$inboundSchema: z.ZodType< GetProjectTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array(z.lazy(() => TrustedIpsAddresses$inboundSchema)), - deploymentType: GetProjectTrustedIpsDeploymentType$inboundSchema, - protectionMode: TrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array(z.lazy(() => TrustedIpsAddresses$inboundSchema)), + deploymentType: GetProjectTrustedIpsDeploymentType$inboundSchema, + protectionMode: TrustedIpsProtectionMode$inboundSchema, + }) +); export function getProjectTrustedIps1FromJSON( jsonString: string, @@ -5739,10 +5999,12 @@ export const GetProjectTrustedIps$inboundSchema: z.ZodType< GetProjectTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectTrustedIps1$inboundSchema), - z.lazy(() => GetProjectTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectTrustedIps1$inboundSchema), + z.lazy(() => GetProjectTrustedIps2$inboundSchema), + ]) +); export function getProjectTrustedIpsFromJSON( jsonString: string, @@ -5757,17 +6019,19 @@ export function getProjectTrustedIpsFromJSON( /** @internal */ export const GetProjectToProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectToProjectsPreset -> = z.nativeEnum(GetProjectToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectToProjectsPreset)); /** @internal */ export const GetProjectTo2$inboundSchema: z.ZodType< GetProjectTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectTo2FromJSON( jsonString: string, @@ -5782,17 +6046,19 @@ export function getProjectTo2FromJSON( /** @internal */ export const GetProjectToPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectToPreset -> = z.nativeEnum(GetProjectToPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectToPreset)); /** @internal */ export const GetProjectTo1$inboundSchema: z.ZodType< GetProjectTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectTo1FromJSON( jsonString: string, @@ -5809,10 +6075,12 @@ export const GetProjectTo$inboundSchema: z.ZodType< GetProjectTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectTo1$inboundSchema), - z.lazy(() => GetProjectTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectTo1$inboundSchema), + z.lazy(() => GetProjectTo2$inboundSchema), + ]) +); export function getProjectToFromJSON( jsonString: string, @@ -5829,14 +6097,16 @@ export const GetProjectOidcProviders$inboundSchema: z.ZodType< GetProjectOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => GetProjectTo1$inboundSchema), - z.lazy(() => GetProjectTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => GetProjectTo1$inboundSchema), + z.lazy(() => GetProjectTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function getProjectOidcProvidersFromJSON( jsonString: string, @@ -5851,17 +6121,21 @@ export function getProjectOidcProvidersFromJSON( /** @internal */ export const GetProjectFromProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectFromProjectsPreset -> = z.nativeEnum(GetProjectFromProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectFromProjectsPreset) +); /** @internal */ export const GetProjectFrom2$inboundSchema: z.ZodType< GetProjectFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: GetProjectFromProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: GetProjectFromProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function getProjectFrom2FromJSON( jsonString: string, @@ -5876,17 +6150,19 @@ export function getProjectFrom2FromJSON( /** @internal */ export const GetProjectFromPreset$inboundSchema: z.ZodNativeEnum< typeof GetProjectFromPreset -> = z.nativeEnum(GetProjectFromPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectFromPreset)); /** @internal */ export const GetProjectFrom1$inboundSchema: z.ZodType< GetProjectFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(GetProjectFromPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(GetProjectFromPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function getProjectFrom1FromJSON( jsonString: string, @@ -5903,10 +6179,12 @@ export const GetProjectFrom$inboundSchema: z.ZodType< GetProjectFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectFrom1$inboundSchema), - z.lazy(() => GetProjectFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectFrom1$inboundSchema), + z.lazy(() => GetProjectFrom2$inboundSchema), + ]) +); export function getProjectFromFromJSON( jsonString: string, @@ -5920,6 +6198,7 @@ export function getProjectFromFromJSON( /** @internal */ export const GetProjectToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectToProjectsResponse200Preset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectToProjectsResponse200Preset) + ); diff --git a/src/models/getprojecttraceop.ts b/src/models/getprojecttraceop.ts index 692a04a2bb..d1272cccf3 100644 --- a/src/models/getprojecttraceop.ts +++ b/src/models/getprojecttraceop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -90,12 +90,14 @@ export const GetProjectTraceRequest$outboundSchema: z.ZodType< GetProjectTraceRequest$Outbound, z.ZodTypeDef, GetProjectTraceRequest -> = z.object({ - projectId: z.string(), - requestId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + requestId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectTraceRequestToJSON( getProjectTraceRequest: GetProjectTraceRequest, @@ -110,10 +112,12 @@ export const GetProjectTraceResources$inboundSchema: z.ZodType< GetProjectTraceResources, z.ZodTypeDef, unknown -> = z.object({ - attributes: z.record(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.record(types.string()), + name: types.string(), + }) +); export function getProjectTraceResourcesFromJSON( jsonString: string, @@ -130,11 +134,13 @@ export const GetProjectTraceEvents$inboundSchema: z.ZodType< GetProjectTraceEvents, z.ZodTypeDef, unknown -> = z.object({ - attributes: z.record(z.any()), - name: types.string(), - timestamp: z.array(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.record(z.any()), + name: types.string(), + timestamp: z.array(types.number()), + }) +); export function getProjectTraceEventsFromJSON( jsonString: string, @@ -148,10 +154,12 @@ export function getProjectTraceEventsFromJSON( /** @internal */ export const Library$inboundSchema: z.ZodType = - z.object({ - name: types.string(), - version: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + version: types.optional(types.string()), + }) + ); export function libraryFromJSON( jsonString: string, @@ -168,10 +176,12 @@ export const GetProjectTraceStatus$inboundSchema: z.ZodType< GetProjectTraceStatus, z.ZodTypeDef, unknown -> = z.object({ - code: types.number(), - message: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.number(), + message: types.optional(types.string()), + }) +); export function getProjectTraceStatusFromJSON( jsonString: string, @@ -184,24 +194,26 @@ export function getProjectTraceStatusFromJSON( } /** @internal */ -export const Spans$inboundSchema: z.ZodType = z - .object({ - attributes: z.record(z.any()), - duration: z.array(types.number()), - endTime: z.array(types.number()), - events: z.array(z.lazy(() => GetProjectTraceEvents$inboundSchema)), - kind: types.number(), - library: z.lazy(() => Library$inboundSchema), - links: z.array(z.record(z.any())), - name: types.string(), - parentSpanId: types.optional(types.string()), - resource: types.string(), - spanId: types.string(), - startTime: z.array(types.number()), - status: z.lazy(() => GetProjectTraceStatus$inboundSchema), - traceFlags: types.number(), - traceState: types.optional(types.string()), - }); +export const Spans$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.record(z.any()), + duration: z.array(types.number()), + endTime: z.array(types.number()), + events: z.array(z.lazy(() => GetProjectTraceEvents$inboundSchema)), + kind: types.number(), + library: z.lazy(() => Library$inboundSchema), + links: z.array(z.record(z.any())), + name: types.string(), + parentSpanId: types.optional(types.string()), + resource: types.string(), + spanId: types.string(), + startTime: z.array(types.number()), + status: z.lazy(() => GetProjectTraceStatus$inboundSchema), + traceFlags: types.number(), + traceState: types.optional(types.string()), + }) + ); export function spansFromJSON( jsonString: string, @@ -214,15 +226,17 @@ export function spansFromJSON( } /** @internal */ -export const Trace$inboundSchema: z.ZodType = z - .object({ - resources: types.optional( - z.array(z.lazy(() => GetProjectTraceResources$inboundSchema)), - ), - rootSpanId: types.optional(types.string()), - spans: z.array(z.lazy(() => Spans$inboundSchema)), - traceId: types.string(), - }); +export const Trace$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + resources: types.optional( + z.array(z.lazy(() => GetProjectTraceResources$inboundSchema)), + ), + rootSpanId: types.optional(types.string()), + spans: z.array(z.lazy(() => Spans$inboundSchema)), + traceId: types.string(), + }) + ); export function traceFromJSON( jsonString: string, @@ -239,9 +253,11 @@ export const GetProjectTraceResponseBody$inboundSchema: z.ZodType< GetProjectTraceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - trace: z.lazy(() => Trace$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + trace: z.lazy(() => Trace$inboundSchema), + }) +); export function getProjectTraceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrecordsop.ts b/src/models/getrecordsop.ts index 8fd49925cb..02f271f23c 100644 --- a/src/models/getrecordsop.ts +++ b/src/models/getrecordsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -139,14 +139,16 @@ export const GetRecordsRequest$outboundSchema: z.ZodType< GetRecordsRequest$Outbound, z.ZodTypeDef, GetRecordsRequest -> = z.object({ - domain: z.string(), - limit: z.string().optional(), - since: z.string().optional(), - until: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + limit: z.string().optional(), + since: z.string().optional(), + until: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRecordsRequestToJSON( getRecordsRequest: GetRecordsRequest, @@ -159,29 +161,33 @@ export function getRecordsRequestToJSON( /** @internal */ export const GetRecordsResponseBodyDnsType$inboundSchema: z.ZodNativeEnum< typeof GetRecordsResponseBodyDnsType -> = z.nativeEnum(GetRecordsResponseBodyDnsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRecordsResponseBodyDnsType) +); /** @internal */ export const ResponseBodyRecords$inboundSchema: z.ZodType< ResponseBodyRecords, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - created: types.nullable(types.number()), - createdAt: types.nullable(types.number()), - creator: types.string(), - id: types.string(), - mxPriority: types.optional(types.number()), - name: types.string(), - priority: types.optional(types.number()), - slug: types.string(), - ttl: types.optional(types.number()), - type: GetRecordsResponseBodyDnsType$inboundSchema, - updated: types.nullable(types.number()), - updatedAt: types.nullable(types.number()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + created: types.nullable(types.number()), + createdAt: types.nullable(types.number()), + creator: types.string(), + id: types.string(), + mxPriority: types.optional(types.number()), + name: types.string(), + priority: types.optional(types.number()), + slug: types.string(), + ttl: types.optional(types.number()), + type: GetRecordsResponseBodyDnsType$inboundSchema, + updated: types.nullable(types.number()), + updatedAt: types.nullable(types.number()), + value: types.string(), + }) +); export function responseBodyRecordsFromJSON( jsonString: string, @@ -198,10 +204,12 @@ export const GetRecordsResponseBody3$inboundSchema: z.ZodType< GetRecordsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - pagination: Pagination$inboundSchema, - records: z.array(z.lazy(() => ResponseBodyRecords$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: Pagination$inboundSchema, + records: z.array(z.lazy(() => ResponseBodyRecords$inboundSchema)), + }) +); export function getRecordsResponseBody3FromJSON( jsonString: string, @@ -216,26 +224,28 @@ export function getRecordsResponseBody3FromJSON( /** @internal */ export const GetRecordsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetRecordsResponseBodyType -> = z.nativeEnum(GetRecordsResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRecordsResponseBodyType)); /** @internal */ export const Records$inboundSchema: z.ZodType = - z.object({ - comment: types.optional(types.string()), - created: types.nullable(types.number()), - createdAt: types.nullable(types.number()), - creator: types.string(), - id: types.string(), - mxPriority: types.optional(types.number()), - name: types.string(), - priority: types.optional(types.number()), - slug: types.string(), - ttl: types.optional(types.number()), - type: GetRecordsResponseBodyType$inboundSchema, - updated: types.nullable(types.number()), - updatedAt: types.nullable(types.number()), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + created: types.nullable(types.number()), + createdAt: types.nullable(types.number()), + creator: types.string(), + id: types.string(), + mxPriority: types.optional(types.number()), + name: types.string(), + priority: types.optional(types.number()), + slug: types.string(), + ttl: types.optional(types.number()), + type: GetRecordsResponseBodyType$inboundSchema, + updated: types.nullable(types.number()), + updatedAt: types.nullable(types.number()), + value: types.string(), + }) + ); export function recordsFromJSON( jsonString: string, @@ -252,9 +262,11 @@ export const GetRecordsResponseBody2$inboundSchema: z.ZodType< GetRecordsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - records: z.array(z.lazy(() => Records$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + records: z.array(z.lazy(() => Records$inboundSchema)), + }) +); export function getRecordsResponseBody2FromJSON( jsonString: string, @@ -271,11 +283,13 @@ export const GetRecordsResponseBody$inboundSchema: z.ZodType< GetRecordsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetRecordsResponseBody3$inboundSchema), - z.lazy(() => GetRecordsResponseBody2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRecordsResponseBody3$inboundSchema), + z.lazy(() => GetRecordsResponseBody2$inboundSchema), + types.string(), + ]) +); export function getRecordsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getredirectsop.ts b/src/models/getredirectsop.ts index 87decde493..ad9b498eea 100644 --- a/src/models/getredirectsop.ts +++ b/src/models/getredirectsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -168,27 +168,29 @@ export type GetRedirectsResponseBody = | { [k: string]: any }; /** @internal */ -export const QueryParam2$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(QueryParam2); +export const QueryParam2$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParam2)); /** @internal */ export type Diff$Outbound = boolean | string; /** @internal */ export const Diff$outboundSchema: z.ZodType = - smartUnion([z.boolean(), QueryParam2$outboundSchema]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([z.boolean(), QueryParam2$outboundSchema]) + ); export function diffToJSON(diff: Diff): string { return JSON.stringify(Diff$outboundSchema.parse(diff)); } /** @internal */ -export const SortBy$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(SortBy); +export const SortBy$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SortBy)); /** @internal */ -export const SortOrder$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(SortOrder); +export const SortOrder$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SortOrder)); /** @internal */ export type GetRedirectsRequest$Outbound = { @@ -209,24 +211,26 @@ export const GetRedirectsRequest$outboundSchema: z.ZodType< GetRedirectsRequest$Outbound, z.ZodTypeDef, GetRedirectsRequest -> = z.object({ - projectId: z.string(), - versionId: z.string().optional(), - q: z.string().optional(), - diff: smartUnion([z.boolean(), QueryParam2$outboundSchema]).optional(), - page: z.number().int().optional(), - perPage: z.number().int().optional(), - sortBy: SortBy$outboundSchema.optional(), - sortOrder: SortOrder$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - perPage: "per_page", - sortBy: "sort_by", - sortOrder: "sort_order", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + versionId: z.string().optional(), + q: z.string().optional(), + diff: smartUnion([z.boolean(), QueryParam2$outboundSchema]).optional(), + page: z.number().int().optional(), + perPage: z.number().int().optional(), + sortBy: SortBy$outboundSchema.optional(), + sortOrder: SortOrder$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }).transform((v) => { + return remap$(v, { + perPage: "per_page", + sortBy: "sort_by", + sortOrder: "sort_order", + }); + }) +); export function getRedirectsRequestToJSON( getRedirectsRequest: GetRedirectsRequest, @@ -242,15 +246,17 @@ export const GetRedirectsResponseBodyBulkRedirectsPagination$inboundSchema: GetRedirectsResponseBodyBulkRedirectsPagination, z.ZodTypeDef, unknown - > = z.object({ - numPages: types.number(), - page: types.number(), - per_page: types.number(), - }).transform((v) => { - return remap$(v, { - "per_page": "perPage", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + numPages: types.number(), + page: types.number(), + per_page: types.number(), + }).transform((v) => { + return remap$(v, { + "per_page": "perPage", + }); + }) + ); export function getRedirectsResponseBodyBulkRedirectsPaginationFromJSON( jsonString: string, @@ -273,16 +279,18 @@ export const GetRedirectsResponseBodyRedirects$inboundSchema: z.ZodType< GetRedirectsResponseBodyRedirects, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - destination: types.string(), - permanent: types.optional(types.boolean()), - preserveQueryParams: types.optional(types.boolean()), - query: types.optional(types.boolean()), - sensitive: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + destination: types.string(), + permanent: types.optional(types.boolean()), + preserveQueryParams: types.optional(types.boolean()), + query: types.optional(types.boolean()), + sensitive: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + }) +); export function getRedirectsResponseBodyRedirectsFromJSON( jsonString: string, @@ -299,17 +307,19 @@ export const GetRedirectsResponseBodyVersion$inboundSchema: z.ZodType< GetRedirectsResponseBodyVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function getRedirectsResponseBodyVersionFromJSON( jsonString: string, @@ -326,15 +336,17 @@ export const GetRedirectsResponseBody3$inboundSchema: z.ZodType< GetRedirectsResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => - GetRedirectsResponseBodyBulkRedirectsPagination$inboundSchema - ), - redirects: z.array( - z.lazy(() => GetRedirectsResponseBodyRedirects$inboundSchema), - ), - version: z.lazy(() => GetRedirectsResponseBodyVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => + GetRedirectsResponseBodyBulkRedirectsPagination$inboundSchema + ), + redirects: z.array( + z.lazy(() => GetRedirectsResponseBodyRedirects$inboundSchema), + ), + version: z.lazy(() => GetRedirectsResponseBodyVersion$inboundSchema), + }) +); export function getRedirectsResponseBody3FromJSON( jsonString: string, @@ -351,15 +363,17 @@ export const GetRedirectsResponseBodyPagination$inboundSchema: z.ZodType< GetRedirectsResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - numPages: types.number(), - page: types.number(), - per_page: types.number(), -}).transform((v) => { - return remap$(v, { - "per_page": "perPage", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + numPages: types.number(), + page: types.number(), + per_page: types.number(), + }).transform((v) => { + return remap$(v, { + "per_page": "perPage", + }); + }) +); export function getRedirectsResponseBodyPaginationFromJSON( jsonString: string, @@ -377,16 +391,18 @@ export const ResponseBodyRedirects$inboundSchema: z.ZodType< ResponseBodyRedirects, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - destination: types.string(), - permanent: types.optional(types.boolean()), - preserveQueryParams: types.optional(types.boolean()), - query: types.optional(types.boolean()), - sensitive: types.optional(types.boolean()), - source: types.string(), - statusCode: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + destination: types.string(), + permanent: types.optional(types.boolean()), + preserveQueryParams: types.optional(types.boolean()), + query: types.optional(types.boolean()), + sensitive: types.optional(types.boolean()), + source: types.string(), + statusCode: types.optional(types.number()), + }) +); export function responseBodyRedirectsFromJSON( jsonString: string, @@ -403,17 +419,19 @@ export const ResponseBodyVersion$inboundSchema: z.ZodType< ResponseBodyVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function responseBodyVersionFromJSON( jsonString: string, @@ -430,11 +448,13 @@ export const GetRedirectsResponseBody2$inboundSchema: z.ZodType< GetRedirectsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => GetRedirectsResponseBodyPagination$inboundSchema), - redirects: z.array(z.lazy(() => ResponseBodyRedirects$inboundSchema)), - version: types.optional(z.lazy(() => ResponseBodyVersion$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => GetRedirectsResponseBodyPagination$inboundSchema), + redirects: z.array(z.lazy(() => ResponseBodyRedirects$inboundSchema)), + version: types.optional(z.lazy(() => ResponseBodyVersion$inboundSchema)), + }) +); export function getRedirectsResponseBody2FromJSON( jsonString: string, @@ -451,11 +471,13 @@ export const GetRedirectsResponseBody$inboundSchema: z.ZodType< GetRedirectsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetRedirectsResponseBody3$inboundSchema), - z.lazy(() => GetRedirectsResponseBody2$inboundSchema), - z.record(z.any()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRedirectsResponseBody3$inboundSchema), + z.lazy(() => GetRedirectsResponseBody2$inboundSchema), + z.record(z.any()), + ]) +); export function getRedirectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrepositoryimageop.ts b/src/models/getrepositoryimageop.ts index 8bed52122a..626e07f99c 100644 --- a/src/models/getrepositoryimageop.ts +++ b/src/models/getrepositoryimageop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { @@ -52,13 +52,15 @@ export const GetRepositoryImageRequest$outboundSchema: z.ZodType< GetRepositoryImageRequest$Outbound, z.ZodTypeDef, GetRepositoryImageRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - imageIdOrDigest: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + imageIdOrDigest: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRepositoryImageRequestToJSON( getRepositoryImageRequest: GetRepositoryImageRequest, @@ -73,9 +75,11 @@ export const GetRepositoryImageResponseBody$inboundSchema: z.ZodType< GetRepositoryImageResponseBody, z.ZodTypeDef, unknown -> = z.object({ - image: VcrImageDetail$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + image: VcrImageDetail$inboundSchema, + }) +); export function getRepositoryImageResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrepositoryop.ts b/src/models/getrepositoryop.ts index 2bd42a715c..9b623ae57c 100644 --- a/src/models/getrepositoryop.ts +++ b/src/models/getrepositoryop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { VcrRepository, VcrRepository$inboundSchema } from "./vcrrepository.js"; @@ -44,12 +44,14 @@ export const GetRepositoryRequest$outboundSchema: z.ZodType< GetRepositoryRequest$Outbound, z.ZodTypeDef, GetRepositoryRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRepositoryRequestToJSON( getRepositoryRequest: GetRepositoryRequest, @@ -64,9 +66,11 @@ export const GetRepositoryResponseBody$inboundSchema: z.ZodType< GetRepositoryResponseBody, z.ZodTypeDef, unknown -> = z.object({ - repository: VcrRepository$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + repository: VcrRepository$inboundSchema, + }) +); export function getRepositoryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrepositorytagop.ts b/src/models/getrepositorytagop.ts index 7c2d7b68fe..4313afa773 100644 --- a/src/models/getrepositorytagop.ts +++ b/src/models/getrepositorytagop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { VcrTag, VcrTag$inboundSchema } from "./vcrtag.js"; @@ -46,13 +46,15 @@ export const GetRepositoryTagRequest$outboundSchema: z.ZodType< GetRepositoryTagRequest$Outbound, z.ZodTypeDef, GetRepositoryTagRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - tag: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + tag: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRepositoryTagRequestToJSON( getRepositoryTagRequest: GetRepositoryTagRequest, @@ -67,9 +69,11 @@ export const GetRepositoryTagResponseBody$inboundSchema: z.ZodType< GetRepositoryTagResponseBody, z.ZodTypeDef, unknown -> = z.object({ - tag: VcrTag$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tag: VcrTag$inboundSchema, + }) +); export function getRepositoryTagResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrollingreleasebillingstatusop.ts b/src/models/getrollingreleasebillingstatusop.ts index a256860cf3..20c60a3c09 100644 --- a/src/models/getrollingreleasebillingstatusop.ts +++ b/src/models/getrollingreleasebillingstatusop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -72,11 +72,13 @@ export const GetRollingReleaseBillingStatusRequest$outboundSchema: z.ZodType< GetRollingReleaseBillingStatusRequest$Outbound, z.ZodTypeDef, GetRollingReleaseBillingStatusRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRollingReleaseBillingStatusRequestToJSON( getRollingReleaseBillingStatusRequest: GetRollingReleaseBillingStatusRequest, @@ -94,11 +96,13 @@ export const GetRollingReleaseBillingStatusResponseBody4$inboundSchema: GetRollingReleaseBillingStatusResponseBody4, z.ZodTypeDef, unknown - > = z.object({ - availableSlots: types.number(), - message: types.string(), - reason: types.literal("available_slots"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + availableSlots: types.number(), + message: types.string(), + reason: types.literal("available_slots"), + }) + ); export function getRollingReleaseBillingStatusResponseBody4FromJSON( jsonString: string, @@ -122,12 +126,14 @@ export const GetRollingReleaseBillingStatusResponseBody3$inboundSchema: GetRollingReleaseBillingStatusResponseBody3, z.ZodTypeDef, unknown - > = z.object({ - availableSlots: types.number(), - enabledProjects: z.array(types.string()), - message: types.string(), - reason: types.literal("no_available_slots"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + availableSlots: types.number(), + enabledProjects: z.array(types.string()), + message: types.string(), + reason: types.literal("no_available_slots"), + }) + ); export function getRollingReleaseBillingStatusResponseBody3FromJSON( jsonString: string, @@ -148,7 +154,7 @@ export function getRollingReleaseBillingStatusResponseBody3FromJSON( /** @internal */ export const AvailableSlots$inboundSchema: z.ZodNativeEnum< typeof AvailableSlots -> = z.nativeEnum(AvailableSlots); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AvailableSlots)); /** @internal */ export const GetRollingReleaseBillingStatusResponseBody2$inboundSchema: @@ -156,11 +162,13 @@ export const GetRollingReleaseBillingStatusResponseBody2$inboundSchema: GetRollingReleaseBillingStatusResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - availableSlots: AvailableSlots$inboundSchema, - message: types.string(), - reason: types.literal("unlimited_slots"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + availableSlots: AvailableSlots$inboundSchema, + message: types.string(), + reason: types.literal("unlimited_slots"), + }) + ); export function getRollingReleaseBillingStatusResponseBody2FromJSON( jsonString: string, @@ -184,11 +192,13 @@ export const GetRollingReleaseBillingStatusResponseBody1$inboundSchema: GetRollingReleaseBillingStatusResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - availableSlots: types.number(), - message: types.string(), - reason: types.literal("plan_not_supported"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + availableSlots: types.number(), + message: types.string(), + reason: types.literal("plan_not_supported"), + }) + ); export function getRollingReleaseBillingStatusResponseBody1FromJSON( jsonString: string, @@ -209,12 +219,14 @@ export function getRollingReleaseBillingStatusResponseBody1FromJSON( /** @internal */ export const GetRollingReleaseBillingStatusResponseBody$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GetRollingReleaseBillingStatusResponseBody1$inboundSchema), - z.lazy(() => GetRollingReleaseBillingStatusResponseBody2$inboundSchema), - z.lazy(() => GetRollingReleaseBillingStatusResponseBody3$inboundSchema), - z.lazy(() => GetRollingReleaseBillingStatusResponseBody4$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRollingReleaseBillingStatusResponseBody1$inboundSchema), + z.lazy(() => GetRollingReleaseBillingStatusResponseBody2$inboundSchema), + z.lazy(() => GetRollingReleaseBillingStatusResponseBody3$inboundSchema), + z.lazy(() => GetRollingReleaseBillingStatusResponseBody4$inboundSchema), + ]) + ); export function getRollingReleaseBillingStatusResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrollingreleaseconfigop.ts b/src/models/getrollingreleaseconfigop.ts index bfc19a8ea0..c6acf3c8b7 100644 --- a/src/models/getrollingreleaseconfigop.ts +++ b/src/models/getrollingreleaseconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -82,11 +82,13 @@ export const GetRollingReleaseConfigRequest$outboundSchema: z.ZodType< GetRollingReleaseConfigRequest$Outbound, z.ZodTypeDef, GetRollingReleaseConfigRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRollingReleaseConfigRequestToJSON( getRollingReleaseConfigRequest: GetRollingReleaseConfigRequest, @@ -103,12 +105,14 @@ export const GetRollingReleaseConfigStages$inboundSchema: z.ZodType< GetRollingReleaseConfigStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function getRollingReleaseConfigStagesFromJSON( jsonString: string, @@ -125,13 +129,15 @@ export const GetRollingReleaseConfigRollingRelease$inboundSchema: z.ZodType< GetRollingReleaseConfigRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => GetRollingReleaseConfigStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => GetRollingReleaseConfigStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function getRollingReleaseConfigRollingReleaseFromJSON( jsonString: string, @@ -149,11 +155,13 @@ export const GetRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< GetRollingReleaseConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => GetRollingReleaseConfigRollingRelease$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable( + z.lazy(() => GetRollingReleaseConfigRollingRelease$inboundSchema), + ), + }) +); export function getRollingReleaseConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrollingreleaseop.ts b/src/models/getrollingreleaseop.ts index eef3c9d6fd..5e360d0bda 100644 --- a/src/models/getrollingreleaseop.ts +++ b/src/models/getrollingreleaseop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -416,7 +416,9 @@ export type GetRollingReleaseResponseBody = { /** @internal */ export const GetRollingReleaseQueryParamState$outboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseQueryParamState -> = z.nativeEnum(GetRollingReleaseQueryParamState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRollingReleaseQueryParamState) +); /** @internal */ export type GetRollingReleaseRequest$Outbound = { @@ -431,12 +433,14 @@ export const GetRollingReleaseRequest$outboundSchema: z.ZodType< GetRollingReleaseRequest$Outbound, z.ZodTypeDef, GetRollingReleaseRequest -> = z.object({ - idOrName: z.string(), - state: GetRollingReleaseQueryParamState$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + state: GetRollingReleaseQueryParamState$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRollingReleaseRequestToJSON( getRollingReleaseRequest: GetRollingReleaseRequest, @@ -451,14 +455,16 @@ export const ActiveStage$inboundSchema: z.ZodType< ActiveStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function activeStageFromJSON( jsonString: string, @@ -473,38 +479,42 @@ export function activeStageFromJSON( /** @internal */ export const AdvancementType$inboundSchema: z.ZodNativeEnum< typeof AdvancementType -> = z.nativeEnum(AdvancementType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AdvancementType)); /** @internal */ export const GetRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseReadyState -> = z.nativeEnum(GetRollingReleaseReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRollingReleaseReadyState) +); /** @internal */ export const GetRollingReleaseSource$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseSource -> = z.nativeEnum(GetRollingReleaseSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRollingReleaseSource)); /** @internal */ export const GetRollingReleaseTarget$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseTarget -> = z.nativeEnum(GetRollingReleaseTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRollingReleaseTarget)); /** @internal */ export const CanaryDeployment$inboundSchema: z.ZodType< CanaryDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: GetRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(GetRollingReleaseSource$inboundSchema), - target: z.nullable(GetRollingReleaseTarget$inboundSchema).optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: GetRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional(GetRollingReleaseSource$inboundSchema), + target: z.nullable(GetRollingReleaseTarget$inboundSchema).optional(), + url: types.string(), + }) +); export function canaryDeploymentFromJSON( jsonString: string, @@ -518,37 +528,43 @@ export function canaryDeploymentFromJSON( /** @internal */ export const GetRollingReleaseRollingReleaseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRollingReleaseRollingReleaseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRollingReleaseRollingReleaseReadyState) + ); /** @internal */ export const GetRollingReleaseRollingReleaseSource$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetRollingReleaseRollingReleaseSource, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRollingReleaseRollingReleaseSource) + ); /** @internal */ export const GetRollingReleaseRollingReleaseTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetRollingReleaseRollingReleaseTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRollingReleaseRollingReleaseTarget) + ); /** @internal */ export const CurrentDeployment$inboundSchema: z.ZodType< CurrentDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: GetRollingReleaseRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(GetRollingReleaseRollingReleaseSource$inboundSchema), - target: z.nullable(GetRollingReleaseRollingReleaseTarget$inboundSchema) - .optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: GetRollingReleaseRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional(GetRollingReleaseRollingReleaseSource$inboundSchema), + target: z.nullable(GetRollingReleaseRollingReleaseTarget$inboundSchema) + .optional(), + url: types.string(), + }) +); export function currentDeploymentFromJSON( jsonString: string, @@ -565,14 +581,16 @@ export const NextStage$inboundSchema: z.ZodType< NextStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function nextStageFromJSON( jsonString: string, @@ -589,14 +607,16 @@ export const GetRollingReleaseStages$inboundSchema: z.ZodType< GetRollingReleaseStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function getRollingReleaseStagesFromJSON( jsonString: string, @@ -611,35 +631,37 @@ export function getRollingReleaseStagesFromJSON( /** @internal */ export const GetRollingReleaseState$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseState -> = z.nativeEnum(GetRollingReleaseState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRollingReleaseState)); /** @internal */ -export const Substate$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Substate); +export const Substate$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Substate)); /** @internal */ export const GetRollingReleaseRollingRelease$inboundSchema: z.ZodType< GetRollingReleaseRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - activeStage: types.nullable(z.lazy(() => ActiveStage$inboundSchema)), - advancementType: AdvancementType$inboundSchema, - canaryDeployment: types.nullable( - z.lazy(() => CanaryDeployment$inboundSchema), - ), - currentCanaryPercentage: types.optional(types.number()), - currentDeployment: types.nullable( - z.lazy(() => CurrentDeployment$inboundSchema), - ), - nextStage: types.nullable(z.lazy(() => NextStage$inboundSchema)), - queuedDeploymentId: types.nullable(types.string()), - stages: z.array(z.lazy(() => GetRollingReleaseStages$inboundSchema)), - startedAt: types.number(), - state: GetRollingReleaseState$inboundSchema, - substate: types.nullable(Substate$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeStage: types.nullable(z.lazy(() => ActiveStage$inboundSchema)), + advancementType: AdvancementType$inboundSchema, + canaryDeployment: types.nullable( + z.lazy(() => CanaryDeployment$inboundSchema), + ), + currentCanaryPercentage: types.optional(types.number()), + currentDeployment: types.nullable( + z.lazy(() => CurrentDeployment$inboundSchema), + ), + nextStage: types.nullable(z.lazy(() => NextStage$inboundSchema)), + queuedDeploymentId: types.nullable(types.string()), + stages: z.array(z.lazy(() => GetRollingReleaseStages$inboundSchema)), + startedAt: types.number(), + state: GetRollingReleaseState$inboundSchema, + substate: types.nullable(Substate$inboundSchema), + updatedAt: types.number(), + }) +); export function getRollingReleaseRollingReleaseFromJSON( jsonString: string, @@ -656,11 +678,13 @@ export const GetRollingReleaseResponseBody$inboundSchema: z.ZodType< GetRollingReleaseResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => GetRollingReleaseRollingRelease$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable( + z.lazy(() => GetRollingReleaseRollingRelease$inboundSchema), + ), + }) +); export function getRollingReleaseResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrootop.ts b/src/models/getrootop.ts index 28ac2283b1..0900f3e3d9 100644 --- a/src/models/getrootop.ts +++ b/src/models/getrootop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -14,7 +14,7 @@ export const GetRootResponseBody$inboundSchema: z.ZodType< GetRootResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getRootResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getroutesop.ts b/src/models/getroutesop.ts index 7d9a9bb8fa..2096caa78a 100644 --- a/src/models/getroutesop.ts +++ b/src/models/getroutesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1416,12 +1416,12 @@ export type GetRoutesResponseBody = /** @internal */ export const QueryParamFilter$outboundSchema: z.ZodNativeEnum< typeof QueryParamFilter -> = z.nativeEnum(QueryParamFilter); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamFilter)); /** @internal */ export const DiffQueryParam2$outboundSchema: z.ZodNativeEnum< typeof DiffQueryParam2 -> = z.nativeEnum(DiffQueryParam2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DiffQueryParam2)); /** @internal */ export type QueryParamDiff$Outbound = boolean | string; @@ -1431,7 +1431,9 @@ export const QueryParamDiff$outboundSchema: z.ZodType< QueryParamDiff$Outbound, z.ZodTypeDef, QueryParamDiff -> = smartUnion([z.boolean(), DiffQueryParam2$outboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.boolean(), DiffQueryParam2$outboundSchema]) +); export function queryParamDiffToJSON(queryParamDiff: QueryParamDiff): string { return JSON.stringify(QueryParamDiff$outboundSchema.parse(queryParamDiff)); @@ -1453,15 +1455,17 @@ export const GetRoutesRequest$outboundSchema: z.ZodType< GetRoutesRequest$Outbound, z.ZodTypeDef, GetRoutesRequest -> = z.object({ - projectId: z.string(), - versionId: z.string().optional(), - q: z.string().optional(), - filter: QueryParamFilter$outboundSchema.optional(), - diff: smartUnion([z.boolean(), DiffQueryParam2$outboundSchema]).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + versionId: z.string().optional(), + q: z.string().optional(), + filter: QueryParamFilter$outboundSchema.optional(), + diff: smartUnion([z.boolean(), DiffQueryParam2$outboundSchema]).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRoutesRequestToJSON( getRoutesRequest: GetRoutesRequest, @@ -1476,10 +1480,12 @@ export const ResponseBodyLimit$inboundSchema: z.ZodType< ResponseBodyLimit, z.ZodTypeDef, unknown -> = z.object({ - currentRoutes: types.number(), - maxRoutes: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentRoutes: types.number(), + maxRoutes: types.number(), + }) +); export function responseBodyLimitFromJSON( jsonString: string, @@ -1493,19 +1499,23 @@ export function responseBodyLimitFromJSON( /** @internal */ export const GetRoutesDestinationProjectRoutesResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesDestinationProjectRoutesResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesDestinationProjectRoutesResponseType) + ); /** @internal */ export const GetRoutesDestinationProjectRoutesResponse2$inboundSchema: z.ZodType = - z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional( - GetRoutesDestinationProjectRoutesResponseType$inboundSchema, - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional( + GetRoutesDestinationProjectRoutesResponseType$inboundSchema, + ), + }) + ); export function getRoutesDestinationProjectRoutesResponse2FromJSON( jsonString: string, @@ -1529,10 +1539,12 @@ export const GetRoutesResponseBodyProjectRoutesDestination$inboundSchema: GetRoutesResponseBodyProjectRoutesDestination, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetRoutesDestinationProjectRoutesResponse2$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRoutesDestinationProjectRoutesResponse2$inboundSchema), + types.string(), + ]) + ); export function getRoutesResponseBodyProjectRoutesDestinationFromJSON( jsonString: string, @@ -1554,8 +1566,10 @@ export function getRoutesResponseBodyProjectRoutesDestinationFromJSON( export const GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1564,7 +1578,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesEqFromJSON( jsonString: string, @@ -1587,19 +1603,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Routes2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Routes2FromJSON( jsonString: string, @@ -1622,12 +1640,14 @@ export const GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyValu GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Routes2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Routes2$inboundSchema + ), + ]) + ); export function getRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -1649,19 +1669,19 @@ export const GetRoutesHasProjectRoutesResponse2$inboundSchema: z.ZodType< GetRoutesHasProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetRoutesHasProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Routes2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getRoutesHasProjectRoutesResponse2FromJSON( jsonString: string, @@ -1680,7 +1700,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4E GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4EqFromJSON( jsonString: string, @@ -1703,19 +1725,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42 GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42FromJSON( jsonString: string, @@ -1738,12 +1762,14 @@ export const GetRoutesHasProjectRoutesResponse200ApplicationJSONValue$inboundSch GetRoutesHasProjectRoutesResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42$inboundSchema + ), + ]) + ); export function getRoutesHasProjectRoutesResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -1765,15 +1791,17 @@ export const GetRoutesHasProjectRoutesResponse1$inboundSchema: z.ZodType< GetRoutesHasProjectRoutesResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody42$inboundSchema + ), + ]), + }) +); export function getRoutesHasProjectRoutesResponse1FromJSON( jsonString: string, @@ -1791,18 +1819,20 @@ export const GetRoutesResponseBodyProjectRoutesHas$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesHasProjectRoutesResponse1$inboundSchema), - z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesHasProjectRoutesResponse1$inboundSchema), + z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getRoutesResponseBodyProjectRoutesHasFromJSON( jsonString: string, @@ -1820,10 +1850,12 @@ export const GetRoutesResponseBodyProjectRoutesLocale$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function getRoutesResponseBodyProjectRoutesLocaleFromJSON( jsonString: string, @@ -1845,8 +1877,10 @@ export function getRoutesResponseBodyProjectRoutesLocaleFromJSON( export const GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1855,7 +1889,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissingEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissingEqFromJSON( jsonString: string, @@ -1878,19 +1914,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissing2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissing2FromJSON( jsonString: string, @@ -1913,12 +1951,14 @@ export const GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBody GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissing2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissing2$inboundSchema + ), + ]) + ); export function getRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -1940,19 +1980,19 @@ export const GetRoutesMissingProjectRoutesResponse2$inboundSchema: z.ZodType< GetRoutesMissingProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: - GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: + GetRoutesMissingProjectRoutesResponse200ApplicationJSONResponseBodyType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteMissing2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getRoutesMissingProjectRoutesResponse2FromJSON( jsonString: string, @@ -1971,7 +2011,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRouteEqFromJSON( jsonString: string, @@ -1994,19 +2036,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2FromJSON( jsonString: string, @@ -2029,12 +2073,14 @@ export const GetRoutesMissingProjectRoutesResponse200ApplicationJSONValue$inboun GetRoutesMissingProjectRoutesResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2$inboundSchema + ), + ]) + ); export function getRoutesMissingProjectRoutesResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -2056,15 +2102,17 @@ export const GetRoutesMissingProjectRoutesResponse1$inboundSchema: z.ZodType< GetRoutesMissingProjectRoutesResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody4RoutesRoute2$inboundSchema + ), + ]), + }) +); export function getRoutesMissingProjectRoutesResponse1FromJSON( jsonString: string, @@ -2082,18 +2130,20 @@ export const GetRoutesResponseBodyProjectRoutesMissing$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesMissingProjectRoutesResponse1$inboundSchema), - z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesMissingProjectRoutesResponse1$inboundSchema), + z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getRoutesResponseBodyProjectRoutesMissingFromJSON( jsonString: string, @@ -2113,15 +2163,19 @@ export function getRoutesResponseBodyProjectRoutesMissingFromJSON( /** @internal */ export const GetRoutesResponseBodyProjectRoutesAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesResponseBodyProjectRoutesAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyProjectRoutesAction) + ); /** @internal */ export const GetRoutesResponseBodyProjectRoutesMitigate$inboundSchema: z.ZodType = - z.object({ - action: GetRoutesResponseBodyProjectRoutesAction$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetRoutesResponseBodyProjectRoutesAction$inboundSchema, + }) + ); export function getRoutesResponseBodyProjectRoutesMitigateFromJSON( jsonString: string, @@ -2143,8 +2197,10 @@ export function getRoutesResponseBodyProjectRoutesMitigateFromJSON( export const GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp - > = z.nativeEnum( - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp, + ) ); /** @internal */ @@ -2152,14 +2208,16 @@ export const GetRoutesTransformsProjectRoutesResponse2$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: + GetRoutesTransformsProjectRoutesResponse200ApplicationJSONResponseBodyOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function getRoutesTransformsProjectRoutesResponse2FromJSON( jsonString: string, @@ -2183,7 +2241,9 @@ export const GetRoutesTransformsProjectRoutesResponseArgs$inboundSchema: GetRoutesTransformsProjectRoutesResponseArgs, z.ZodTypeDef, unknown - > = smartUnion([types.string(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function getRoutesTransformsProjectRoutesResponseArgsFromJSON( jsonString: string, @@ -2205,8 +2265,8 @@ export function getRoutesTransformsProjectRoutesResponseArgsFromJSON( export const GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp - > = z.nativeEnum( - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp) ); /** @internal */ @@ -2214,7 +2274,9 @@ export const GetRoutesKeyProjectRoutesResponseEq$inboundSchema: z.ZodType< GetRoutesKeyProjectRoutesResponseEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesKeyProjectRoutesResponseEqFromJSON( jsonString: string, @@ -2232,18 +2294,20 @@ export const GetRoutesKeyProjectRoutesResponse2$inboundSchema: z.ZodType< GetRoutesKeyProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesKeyProjectRoutesResponse2FromJSON( jsonString: string, @@ -2262,10 +2326,12 @@ export const GetRoutesTransformsProjectRoutesResponseKey$inboundSchema: GetRoutesTransformsProjectRoutesResponseKey, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => GetRoutesKeyProjectRoutesResponse2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetRoutesKeyProjectRoutesResponse2$inboundSchema), + ]) + ); export function getRoutesTransformsProjectRoutesResponseKeyFromJSON( jsonString: string, @@ -2289,12 +2355,14 @@ export const GetRoutesTransformsProjectRoutesResponseTarget$inboundSchema: GetRoutesTransformsProjectRoutesResponseTarget, z.ZodTypeDef, unknown - > = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => GetRoutesKeyProjectRoutesResponse2$inboundSchema), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => GetRoutesKeyProjectRoutesResponse2$inboundSchema), + ]), + }) + ); export function getRoutesTransformsProjectRoutesResponseTargetFromJSON( jsonString: string, @@ -2316,8 +2384,8 @@ export function getRoutesTransformsProjectRoutesResponseTargetFromJSON( export const GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType - > = z.nativeEnum( - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType) ); /** @internal */ @@ -2325,17 +2393,19 @@ export const GetRoutesTransformsProjectRoutesResponse1$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutesResponse1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp$inboundSchema, - target: z.lazy(() => - GetRoutesTransformsProjectRoutesResponseTarget$inboundSchema - ), - type: - GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: + GetRoutesTransformsProjectRoutesResponse200ApplicationJSONOp$inboundSchema, + target: z.lazy(() => + GetRoutesTransformsProjectRoutesResponseTarget$inboundSchema + ), + type: + GetRoutesTransformsProjectRoutesResponse200ApplicationJSONType$inboundSchema, + }) +); export function getRoutesTransformsProjectRoutesResponse1FromJSON( jsonString: string, @@ -2359,18 +2429,20 @@ export const GetRoutesResponseBodyProjectRoutesTransforms$inboundSchema: GetRoutesResponseBodyProjectRoutesTransforms, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutesResponse2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutesResponse2$inboundSchema), + ]) + ); export function getRoutesResponseBodyProjectRoutesTransformsFromJSON( jsonString: string, @@ -2393,20 +2465,18 @@ export const GetRoutesResponseBodyRoute$inboundSchema: z.ZodType< GetRoutesResponseBodyRoute, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => GetRoutesDestinationProjectRoutesResponse2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetRoutesHasProjectRoutesResponse1$inboundSchema), z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema @@ -2417,19 +2487,17 @@ export const GetRoutesResponseBodyRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesHasProjectRoutesResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional( - z.lazy(() => GetRoutesResponseBodyProjectRoutesLocale$inboundSchema), - ), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + GetRoutesResponseBodyProjectRoutesLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => GetRoutesMissingProjectRoutesResponse1$inboundSchema), z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema @@ -2440,19 +2508,17 @@ export const GetRoutesResponseBodyRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesMissingProjectRoutesResponse2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional( - z.lazy(() => GetRoutesResponseBodyProjectRoutesMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + GetRoutesResponseBodyProjectRoutesMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => GetRoutesTransformsProjectRoutesResponse1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -2463,9 +2529,9 @@ export const GetRoutesResponseBodyRoute$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => GetRoutesTransformsProjectRoutesResponse2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function getRoutesResponseBodyRouteFromJSON( jsonString: string, @@ -2480,12 +2546,16 @@ export function getRoutesResponseBodyRouteFromJSON( /** @internal */ export const GetRoutesResponseBodyRouteType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesResponseBodyRouteType -> = z.nativeEnum(GetRoutesResponseBodyRouteType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyRouteType) +); /** @internal */ export const GetRoutesResponseBodySrcSyntax$inboundSchema: z.ZodNativeEnum< typeof GetRoutesResponseBodySrcSyntax -> = z.nativeEnum(GetRoutesResponseBodySrcSyntax); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodySrcSyntax) +); /** @internal */ export const GetRoutesResponseBodyProjectRoutesResponseRoutes$inboundSchema: @@ -2493,18 +2563,20 @@ export const GetRoutesResponseBodyProjectRoutesResponseRoutes$inboundSchema: GetRoutesResponseBodyProjectRoutesResponseRoutes, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - enabled: types.optional(types.boolean()), - id: types.string(), - name: types.string(), - rawDest: types.optional(types.string()), - rawSrc: types.optional(types.string()), - route: z.lazy(() => GetRoutesResponseBodyRoute$inboundSchema), - routeType: types.optional(GetRoutesResponseBodyRouteType$inboundSchema), - srcSyntax: types.optional(GetRoutesResponseBodySrcSyntax$inboundSchema), - staged: types.optional(types.boolean()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + enabled: types.optional(types.boolean()), + id: types.string(), + name: types.string(), + rawDest: types.optional(types.string()), + rawSrc: types.optional(types.string()), + route: z.lazy(() => GetRoutesResponseBodyRoute$inboundSchema), + routeType: types.optional(GetRoutesResponseBodyRouteType$inboundSchema), + srcSyntax: types.optional(GetRoutesResponseBodySrcSyntax$inboundSchema), + staged: types.optional(types.boolean()), + }) + ); export function getRoutesResponseBodyProjectRoutesResponseRoutesFromJSON( jsonString: string, @@ -2528,16 +2600,18 @@ export const GetRoutesResponseBodyProjectRoutesResponseVersion$inboundSchema: GetRoutesResponseBodyProjectRoutesResponseVersion, z.ZodTypeDef, unknown - > = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) + ); export function getRoutesResponseBodyProjectRoutesResponseVersionFromJSON( jsonString: string, @@ -2560,17 +2634,17 @@ export const GetRoutesResponseBody4$inboundSchema: z.ZodType< GetRoutesResponseBody4, z.ZodTypeDef, unknown -> = z.object({ - limit: z.lazy(() => ResponseBodyLimit$inboundSchema), - routes: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.lazy(() => ResponseBodyLimit$inboundSchema), + routes: z.array(z.lazy(() => GetRoutesResponseBodyProjectRoutesResponseRoutes$inboundSchema + )), + version: z.lazy(() => + GetRoutesResponseBodyProjectRoutesResponseVersion$inboundSchema ), - ), - version: z.lazy(() => - GetRoutesResponseBodyProjectRoutesResponseVersion$inboundSchema - ), -}); + }) +); export function getRoutesResponseBody4FromJSON( jsonString: string, @@ -2584,20 +2658,23 @@ export function getRoutesResponseBody4FromJSON( /** @internal */ export const GetRoutesDestinationProjectRoutesType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetRoutesDestinationProjectRoutesType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesDestinationProjectRoutesType) + ); /** @internal */ export const GetRoutesDestinationProjectRoutes2$inboundSchema: z.ZodType< GetRoutesDestinationProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(GetRoutesDestinationProjectRoutesType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(GetRoutesDestinationProjectRoutesType$inboundSchema), + }) +); export function getRoutesDestinationProjectRoutes2FromJSON( jsonString: string, @@ -2615,10 +2692,12 @@ export const GetRoutesResponseBodyDestination$inboundSchema: z.ZodType< GetRoutesResponseBodyDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetRoutesDestinationProjectRoutes2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRoutesDestinationProjectRoutes2$inboundSchema), + types.string(), + ]) +); export function getRoutesResponseBodyDestinationFromJSON( jsonString: string, @@ -2632,8 +2711,10 @@ export function getRoutesResponseBodyDestinationFromJSON( /** @internal */ export const GetRoutesHasProjectRoutesResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesHasProjectRoutesResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesHasProjectRoutesResponse200Type) + ); /** @internal */ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBodyEq$inboundSchema: @@ -2641,7 +2722,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBodyEq GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBodyEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBodyEqFromJSON( jsonString: string, @@ -2664,19 +2747,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2$ GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -2698,12 +2783,14 @@ export const GetRoutesHasProjectRoutesResponse200Value$inboundSchema: z.ZodType< GetRoutesHasProjectRoutesResponse200Value, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2$inboundSchema + ), + ]) +); export function getRoutesHasProjectRoutesResponse200ValueFromJSON( jsonString: string, @@ -2726,18 +2813,18 @@ export const GetRoutesHasProjectRoutes2$inboundSchema: z.ZodType< GetRoutesHasProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetRoutesHasProjectRoutesResponse200Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetRoutesHasProjectRoutesResponse200Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getRoutesHasProjectRoutes2FromJSON( jsonString: string, @@ -2755,7 +2842,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONEq$inboundSche GetRoutesValueProjectRoutesResponse200ApplicationJSONEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONEqFromJSON( jsonString: string, @@ -2778,19 +2867,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJson2$inboundSchem GetRoutesValueProjectRoutesResponse200ApplicationJson2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSON2FromJSON( jsonString: string, @@ -2812,12 +2903,14 @@ export const GetRoutesHasProjectRoutesResponseValue$inboundSchema: z.ZodType< GetRoutesHasProjectRoutesResponseValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJson2$inboundSchema - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJson2$inboundSchema + ), + ]) +); export function getRoutesHasProjectRoutesResponseValueFromJSON( jsonString: string, @@ -2835,15 +2928,17 @@ export const GetRoutesHasProjectRoutes1$inboundSchema: z.ZodType< GetRoutesHasProjectRoutes1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJson2$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJson2$inboundSchema + ), + ]), + }) +); export function getRoutesHasProjectRoutes1FromJSON( jsonString: string, @@ -2860,18 +2955,20 @@ export const GetRoutesResponseBodyHas$inboundSchema: z.ZodType< GetRoutesResponseBodyHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesHasProjectRoutes1$inboundSchema), - z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesHasProjectRoutes1$inboundSchema), + z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getRoutesResponseBodyHasFromJSON( jsonString: string, @@ -2888,10 +2985,12 @@ export const GetRoutesResponseBodyLocale$inboundSchema: z.ZodType< GetRoutesResponseBodyLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function getRoutesResponseBodyLocaleFromJSON( jsonString: string, @@ -2905,8 +3004,10 @@ export function getRoutesResponseBodyLocaleFromJSON( /** @internal */ export const GetRoutesMissingProjectRoutesResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesMissingProjectRoutesResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesMissingProjectRoutesResponse200Type) + ); /** @internal */ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3RoutesEq$inboundSchema: @@ -2914,7 +3015,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3RoutesEq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3RoutesEqFromJSON( jsonString: string, @@ -2937,19 +3040,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3R GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Routes2, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Routes2FromJSON( jsonString: string, @@ -2972,12 +3077,14 @@ export const GetRoutesMissingProjectRoutesResponse200Value$inboundSchema: GetRoutesMissingProjectRoutesResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Routes2$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Routes2$inboundSchema + ), + ]) + ); export function getRoutesMissingProjectRoutesResponse200ValueFromJSON( jsonString: string, @@ -3000,18 +3107,18 @@ export const GetRoutesMissingProjectRoutes2$inboundSchema: z.ZodType< GetRoutesMissingProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetRoutesMissingProjectRoutesResponse200Type$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetRoutesMissingProjectRoutesResponse200Type$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Routes2$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function getRoutesMissingProjectRoutes2FromJSON( jsonString: string, @@ -3029,7 +3136,9 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3E GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3Eq, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody3EqFromJSON( jsonString: string, @@ -3052,19 +3161,21 @@ export const GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32 GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32, z.ZodTypeDef, unknown - > = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) + ); export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32FromJSON( jsonString: string, @@ -3084,12 +3195,14 @@ export function getRoutesValueProjectRoutesResponse200ApplicationJSONResponseBod /** @internal */ export const GetRoutesMissingProjectRoutesResponseValue$inboundSchema: z.ZodType = - smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32$inboundSchema - ), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32$inboundSchema + ), + ]) + ); export function getRoutesMissingProjectRoutesResponseValueFromJSON( jsonString: string, @@ -3112,15 +3225,17 @@ export const GetRoutesMissingProjectRoutes1$inboundSchema: z.ZodType< GetRoutesMissingProjectRoutes1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => - GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32$inboundSchema - ), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => + GetRoutesValueProjectRoutesResponse200ApplicationJSONResponseBody32$inboundSchema + ), + ]), + }) +); export function getRoutesMissingProjectRoutes1FromJSON( jsonString: string, @@ -3137,18 +3252,20 @@ export const GetRoutesResponseBodyMissing$inboundSchema: z.ZodType< GetRoutesResponseBodyMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesMissingProjectRoutes1$inboundSchema), - z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesMissingProjectRoutes1$inboundSchema), + z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function getRoutesResponseBodyMissingFromJSON( jsonString: string, @@ -3163,16 +3280,20 @@ export function getRoutesResponseBodyMissingFromJSON( /** @internal */ export const GetRoutesResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetRoutesResponseBodyAction -> = z.nativeEnum(GetRoutesResponseBodyAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyAction) +); /** @internal */ export const GetRoutesResponseBodyMitigate$inboundSchema: z.ZodType< GetRoutesResponseBodyMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetRoutesResponseBodyAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetRoutesResponseBodyAction$inboundSchema, + }) +); export function getRoutesResponseBodyMitigateFromJSON( jsonString: string, @@ -3186,21 +3307,25 @@ export function getRoutesResponseBodyMitigateFromJSON( /** @internal */ export const GetRoutesTransformsProjectRoutesResponse200Op$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesTransformsProjectRoutesResponse200Op); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesResponse200Op) + ); /** @internal */ export const GetRoutesTransformsProjectRoutes2$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: GetRoutesTransformsProjectRoutesResponse200Op$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: GetRoutesTransformsProjectRoutesResponse200Op$inboundSchema, + type: types.literal("request.path"), + }) +); export function getRoutesTransformsProjectRoutes2FromJSON( jsonString: string, @@ -3217,7 +3342,9 @@ export const GetRoutesTransformsProjectRoutesArgs$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutesArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getRoutesTransformsProjectRoutesArgsFromJSON( jsonString: string, @@ -3232,15 +3359,19 @@ export function getRoutesTransformsProjectRoutesArgsFromJSON( /** @internal */ export const GetRoutesTransformsProjectRoutesResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesTransformsProjectRoutesResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesResponseOp) + ); /** @internal */ export const GetRoutesKeyProjectRoutesEq$inboundSchema: z.ZodType< GetRoutesKeyProjectRoutesEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesKeyProjectRoutesEqFromJSON( jsonString: string, @@ -3257,18 +3388,20 @@ export const GetRoutesKeyProjectRoutes2$inboundSchema: z.ZodType< GetRoutesKeyProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesKeyProjectRoutes2FromJSON( jsonString: string, @@ -3285,10 +3418,12 @@ export const GetRoutesTransformsProjectRoutesKey$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutesKey, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetRoutesKeyProjectRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetRoutesKeyProjectRoutes2$inboundSchema), + ]) +); export function getRoutesTransformsProjectRoutesKeyFromJSON( jsonString: string, @@ -3306,12 +3441,14 @@ export const GetRoutesTransformsProjectRoutesTarget$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutesTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([ - types.string(), - z.lazy(() => GetRoutesKeyProjectRoutes2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => GetRoutesKeyProjectRoutes2$inboundSchema), + ]), + }) +); export function getRoutesTransformsProjectRoutesTargetFromJSON( jsonString: string, @@ -3326,21 +3463,25 @@ export function getRoutesTransformsProjectRoutesTargetFromJSON( /** @internal */ export const GetRoutesTransformsProjectRoutesResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesTransformsProjectRoutesResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesResponseType) + ); /** @internal */ export const GetRoutesTransformsProjectRoutes1$inboundSchema: z.ZodType< GetRoutesTransformsProjectRoutes1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: GetRoutesTransformsProjectRoutesResponseOp$inboundSchema, - target: z.lazy(() => GetRoutesTransformsProjectRoutesTarget$inboundSchema), - type: GetRoutesTransformsProjectRoutesResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: GetRoutesTransformsProjectRoutesResponseOp$inboundSchema, + target: z.lazy(() => GetRoutesTransformsProjectRoutesTarget$inboundSchema), + type: GetRoutesTransformsProjectRoutesResponseType$inboundSchema, + }) +); export function getRoutesTransformsProjectRoutes1FromJSON( jsonString: string, @@ -3357,18 +3498,20 @@ export const GetRoutesResponseBodyTransforms$inboundSchema: z.ZodType< GetRoutesResponseBodyTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => GetRoutesTransformsProjectRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => GetRoutesTransformsProjectRoutes2$inboundSchema), + ]) +); export function getRoutesResponseBodyTransformsFromJSON( jsonString: string, @@ -3385,20 +3528,18 @@ export const ResponseBodyRoute$inboundSchema: z.ZodType< ResponseBodyRoute, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => GetRoutesDestinationProjectRoutes2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetRoutesHasProjectRoutes1$inboundSchema), z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema @@ -3409,19 +3550,17 @@ export const ResponseBodyRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesHasProjectRoutes2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional( - z.lazy(() => GetRoutesResponseBodyLocale$inboundSchema), - ), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + GetRoutesResponseBodyLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => GetRoutesMissingProjectRoutes1$inboundSchema), z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema @@ -3432,19 +3571,17 @@ export const ResponseBodyRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesMissingProjectRoutes2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional( - z.lazy(() => GetRoutesResponseBodyMitigate$inboundSchema), - ), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + GetRoutesResponseBodyMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => GetRoutesTransformsProjectRoutes1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -3455,9 +3592,9 @@ export const ResponseBodyRoute$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => GetRoutesTransformsProjectRoutes2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function responseBodyRouteFromJSON( jsonString: string, @@ -3472,30 +3609,32 @@ export function responseBodyRouteFromJSON( /** @internal */ export const ResponseBodyRouteType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyRouteType -> = z.nativeEnum(ResponseBodyRouteType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyRouteType)); /** @internal */ export const ResponseBodySrcSyntax$inboundSchema: z.ZodNativeEnum< typeof ResponseBodySrcSyntax -> = z.nativeEnum(ResponseBodySrcSyntax); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodySrcSyntax)); /** @internal */ export const GetRoutesResponseBodyProjectRoutesRoutes$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesRoutes, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - enabled: types.optional(types.boolean()), - id: types.string(), - name: types.string(), - rawDest: types.optional(types.string()), - rawSrc: types.optional(types.string()), - route: z.lazy(() => ResponseBodyRoute$inboundSchema), - routeType: types.optional(ResponseBodyRouteType$inboundSchema), - srcSyntax: types.optional(ResponseBodySrcSyntax$inboundSchema), - staged: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + enabled: types.optional(types.boolean()), + id: types.string(), + name: types.string(), + rawDest: types.optional(types.string()), + rawSrc: types.optional(types.string()), + route: z.lazy(() => ResponseBodyRoute$inboundSchema), + routeType: types.optional(ResponseBodyRouteType$inboundSchema), + srcSyntax: types.optional(ResponseBodySrcSyntax$inboundSchema), + staged: types.optional(types.boolean()), + }) +); export function getRoutesResponseBodyProjectRoutesRoutesFromJSON( jsonString: string, @@ -3518,16 +3657,18 @@ export const GetRoutesResponseBodyProjectRoutesVersion$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function getRoutesResponseBodyProjectRoutesVersionFromJSON( jsonString: string, @@ -3550,14 +3691,16 @@ export const GetRoutesResponseBody3$inboundSchema: z.ZodType< GetRoutesResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - routes: z.array( - z.lazy(() => GetRoutesResponseBodyProjectRoutesRoutes$inboundSchema), - ), - version: z.lazy(() => - GetRoutesResponseBodyProjectRoutesVersion$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + routes: z.array( + z.lazy(() => GetRoutesResponseBodyProjectRoutesRoutes$inboundSchema), + ), + version: z.lazy(() => + GetRoutesResponseBodyProjectRoutesVersion$inboundSchema + ), + }) +); export function getRoutesResponseBody3FromJSON( jsonString: string, @@ -3572,18 +3715,20 @@ export function getRoutesResponseBody3FromJSON( /** @internal */ export const GetRoutesDestinationType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesDestinationType -> = z.nativeEnum(GetRoutesDestinationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRoutesDestinationType)); /** @internal */ export const GetRoutesDestination2$inboundSchema: z.ZodType< GetRoutesDestination2, z.ZodTypeDef, unknown -> = z.object({ - path: types.optional(types.string()), - service: types.string(), - type: types.optional(GetRoutesDestinationType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.optional(types.string()), + service: types.string(), + type: types.optional(GetRoutesDestinationType$inboundSchema), + }) +); export function getRoutesDestination2FromJSON( jsonString: string, @@ -3600,10 +3745,12 @@ export const ResponseBodyDestination$inboundSchema: z.ZodType< ResponseBodyDestination, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetRoutesDestination2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRoutesDestination2$inboundSchema), + types.string(), + ]) +); export function responseBodyDestinationFromJSON( jsonString: string, @@ -3618,14 +3765,18 @@ export function responseBodyDestinationFromJSON( /** @internal */ export const GetRoutesHasProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesHasProjectRoutesType -> = z.nativeEnum(GetRoutesHasProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesHasProjectRoutesType) +); /** @internal */ export const GetRoutesValueProjectRoutesEq$inboundSchema: z.ZodType< GetRoutesValueProjectRoutesEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesValueProjectRoutesEqFromJSON( jsonString: string, @@ -3642,19 +3793,21 @@ export const GetRoutesValueProjectRoutes2$inboundSchema: z.ZodType< GetRoutesValueProjectRoutes2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesValueProjectRoutes2FromJSON( jsonString: string, @@ -3671,10 +3824,12 @@ export const GetRoutesHasProjectRoutesValue$inboundSchema: z.ZodType< GetRoutesHasProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetRoutesValueProjectRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetRoutesValueProjectRoutes2$inboundSchema), + ]) +); export function getRoutesHasProjectRoutesValueFromJSON( jsonString: string, @@ -3691,16 +3846,16 @@ export const GetRoutesHas2$inboundSchema: z.ZodType< GetRoutesHas2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetRoutesHasProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetRoutesHasProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutes2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getRoutesHas2FromJSON( jsonString: string, @@ -3717,7 +3872,9 @@ export const GetRoutesValueEq$inboundSchema: z.ZodType< GetRoutesValueEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesValueEqFromJSON( jsonString: string, @@ -3734,19 +3891,21 @@ export const GetRoutesValue2$inboundSchema: z.ZodType< GetRoutesValue2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesValue2FromJSON( jsonString: string, @@ -3763,7 +3922,9 @@ export const GetRoutesHasValue$inboundSchema: z.ZodType< GetRoutesHasValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => GetRoutesValue2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetRoutesValue2$inboundSchema)]) +); export function getRoutesHasValueFromJSON( jsonString: string, @@ -3780,13 +3941,15 @@ export const GetRoutesHas1$inboundSchema: z.ZodType< GetRoutesHas1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => GetRoutesValue2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => GetRoutesValue2$inboundSchema), + ]), + }) +); export function getRoutesHas1FromJSON( jsonString: string, @@ -3803,18 +3966,20 @@ export const ResponseBodyHas$inboundSchema: z.ZodType< ResponseBodyHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesHas1$inboundSchema), - z.lazy(() => GetRoutesHas2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesHas2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesHas2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesHas1$inboundSchema), + z.lazy(() => GetRoutesHas2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesHas2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesHas2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function responseBodyHasFromJSON( jsonString: string, @@ -3831,10 +3996,12 @@ export const ResponseBodyLocale$inboundSchema: z.ZodType< ResponseBodyLocale, z.ZodTypeDef, unknown -> = z.object({ - cookie: types.optional(types.string()), - redirect: types.optional(z.record(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cookie: types.optional(types.string()), + redirect: types.optional(z.record(types.string())), + }) +); export function responseBodyLocaleFromJSON( jsonString: string, @@ -3849,14 +4016,18 @@ export function responseBodyLocaleFromJSON( /** @internal */ export const GetRoutesMissingProjectRoutesType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesMissingProjectRoutesType -> = z.nativeEnum(GetRoutesMissingProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesMissingProjectRoutesType) +); /** @internal */ export const GetRoutesValueProjectRoutesResponse200Eq$inboundSchema: z.ZodType< GetRoutesValueProjectRoutesResponse200Eq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesValueProjectRoutesResponse200EqFromJSON( jsonString: string, @@ -3879,19 +4050,21 @@ export const GetRoutesValueProjectRoutesResponse2002$inboundSchema: z.ZodType< GetRoutesValueProjectRoutesResponse2002, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesValueProjectRoutesResponse2002FromJSON( jsonString: string, @@ -3914,10 +4087,12 @@ export const GetRoutesMissingProjectRoutesValue$inboundSchema: z.ZodType< GetRoutesMissingProjectRoutesValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetRoutesValueProjectRoutesResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetRoutesValueProjectRoutesResponse2002$inboundSchema), + ]) +); export function getRoutesMissingProjectRoutesValueFromJSON( jsonString: string, @@ -3935,16 +4110,16 @@ export const GetRoutesMissing2$inboundSchema: z.ZodType< GetRoutesMissing2, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - type: GetRoutesMissingProjectRoutesType$inboundSchema, - value: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + type: GetRoutesMissingProjectRoutesType$inboundSchema, + value: types.optional(smartUnion([ types.string(), z.lazy(() => GetRoutesValueProjectRoutesResponse2002$inboundSchema), - ]), - ), -}); + ])), + }) +); export function getRoutesMissing2FromJSON( jsonString: string, @@ -3961,7 +4136,9 @@ export const GetRoutesValueProjectRoutesResponseEq$inboundSchema: z.ZodType< GetRoutesValueProjectRoutesResponseEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesValueProjectRoutesResponseEqFromJSON( jsonString: string, @@ -3979,19 +4156,21 @@ export const GetRoutesValueProjectRoutesResponse2$inboundSchema: z.ZodType< GetRoutesValueProjectRoutesResponse2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - re: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + re: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesValueProjectRoutesResponse2FromJSON( jsonString: string, @@ -4009,10 +4188,12 @@ export const GetRoutesMissingValue$inboundSchema: z.ZodType< GetRoutesMissingValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.lazy(() => GetRoutesValueProjectRoutesResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.lazy(() => GetRoutesValueProjectRoutesResponse2$inboundSchema), + ]) +); export function getRoutesMissingValueFromJSON( jsonString: string, @@ -4029,13 +4210,15 @@ export const GetRoutesMissing1$inboundSchema: z.ZodType< GetRoutesMissing1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: smartUnion([ - types.string(), - z.lazy(() => GetRoutesValueProjectRoutesResponse2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: smartUnion([ + types.string(), + z.lazy(() => GetRoutesValueProjectRoutesResponse2$inboundSchema), + ]), + }) +); export function getRoutesMissing1FromJSON( jsonString: string, @@ -4052,18 +4235,20 @@ export const ResponseBodyMissing$inboundSchema: z.ZodType< ResponseBodyMissing, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesMissing1$inboundSchema), - z.lazy(() => GetRoutesMissing2$inboundSchema).and( - z.object({ type: z.literal("cookie") }), - ), - z.lazy(() => GetRoutesMissing2$inboundSchema).and( - z.object({ type: z.literal("header") }), - ), - z.lazy(() => GetRoutesMissing2$inboundSchema).and( - z.object({ type: z.literal("query") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesMissing1$inboundSchema), + z.lazy(() => GetRoutesMissing2$inboundSchema).and( + z.object({ type: z.literal("cookie") }), + ), + z.lazy(() => GetRoutesMissing2$inboundSchema).and( + z.object({ type: z.literal("header") }), + ), + z.lazy(() => GetRoutesMissing2$inboundSchema).and( + z.object({ type: z.literal("query") }), + ), + ]) +); export function responseBodyMissingFromJSON( jsonString: string, @@ -4077,17 +4262,21 @@ export function responseBodyMissingFromJSON( /** @internal */ export const GetRoutesResponseBodyProjectRoutesResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesResponseBodyProjectRoutesResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyProjectRoutesResponseAction) + ); /** @internal */ export const ResponseBodyMitigate$inboundSchema: z.ZodType< ResponseBodyMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: GetRoutesResponseBodyProjectRoutesResponseAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetRoutesResponseBodyProjectRoutesResponseAction$inboundSchema, + }) +); export function responseBodyMitigateFromJSON( jsonString: string, @@ -4102,20 +4291,24 @@ export function responseBodyMitigateFromJSON( /** @internal */ export const GetRoutesTransformsProjectRoutesOp$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsProjectRoutesOp -> = z.nativeEnum(GetRoutesTransformsProjectRoutesOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesTransformsProjectRoutesOp) +); /** @internal */ export const GetRoutesTransforms2$inboundSchema: z.ZodType< GetRoutesTransforms2, z.ZodTypeDef, unknown -> = z.object({ - args: types.string(), - env: types.optional(z.array(types.string())), - fallback: types.optional(types.boolean()), - op: GetRoutesTransformsProjectRoutesOp$inboundSchema, - type: types.literal("request.path"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.string(), + env: types.optional(z.array(types.string())), + fallback: types.optional(types.boolean()), + op: GetRoutesTransformsProjectRoutesOp$inboundSchema, + type: types.literal("request.path"), + }) +); export function getRoutesTransforms2FromJSON( jsonString: string, @@ -4132,7 +4325,9 @@ export const GetRoutesTransformsArgs$inboundSchema: z.ZodType< GetRoutesTransformsArgs, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function getRoutesTransformsArgsFromJSON( jsonString: string, @@ -4147,14 +4342,16 @@ export function getRoutesTransformsArgsFromJSON( /** @internal */ export const GetRoutesTransformsOp$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsOp -> = z.nativeEnum(GetRoutesTransformsOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRoutesTransformsOp)); /** @internal */ export const GetRoutesKeyEq$inboundSchema: z.ZodType< GetRoutesKeyEq, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getRoutesKeyEqFromJSON( jsonString: string, @@ -4171,18 +4368,20 @@ export const GetRoutesKey2$inboundSchema: z.ZodType< GetRoutesKey2, z.ZodTypeDef, unknown -> = z.object({ - eq: types.optional(smartUnion([types.string(), types.number()])), - gt: types.optional(types.number()), - gte: types.optional(types.number()), - inc: types.optional(z.array(types.string())), - lt: types.optional(types.number()), - lte: types.optional(types.number()), - neq: types.optional(types.string()), - ninc: types.optional(z.array(types.string())), - pre: types.optional(types.string()), - suf: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.optional(smartUnion([types.string(), types.number()])), + gt: types.optional(types.number()), + gte: types.optional(types.number()), + inc: types.optional(z.array(types.string())), + lt: types.optional(types.number()), + lte: types.optional(types.number()), + neq: types.optional(types.string()), + ninc: types.optional(z.array(types.string())), + pre: types.optional(types.string()), + suf: types.optional(types.string()), + }) +); export function getRoutesKey2FromJSON( jsonString: string, @@ -4199,7 +4398,9 @@ export const GetRoutesTransformsKey$inboundSchema: z.ZodType< GetRoutesTransformsKey, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.lazy(() => GetRoutesKey2$inboundSchema)]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.lazy(() => GetRoutesKey2$inboundSchema)]) +); export function getRoutesTransformsKeyFromJSON( jsonString: string, @@ -4216,9 +4417,14 @@ export const GetRoutesTransformsTarget$inboundSchema: z.ZodType< GetRoutesTransformsTarget, z.ZodTypeDef, unknown -> = z.object({ - key: smartUnion([types.string(), z.lazy(() => GetRoutesKey2$inboundSchema)]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: smartUnion([ + types.string(), + z.lazy(() => GetRoutesKey2$inboundSchema), + ]), + }) +); export function getRoutesTransformsTargetFromJSON( jsonString: string, @@ -4233,20 +4439,22 @@ export function getRoutesTransformsTargetFromJSON( /** @internal */ export const GetRoutesTransformsType$inboundSchema: z.ZodNativeEnum< typeof GetRoutesTransformsType -> = z.nativeEnum(GetRoutesTransformsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRoutesTransformsType)); /** @internal */ export const GetRoutesTransforms1$inboundSchema: z.ZodType< GetRoutesTransforms1, z.ZodTypeDef, unknown -> = z.object({ - args: types.optional(smartUnion([types.string(), z.array(types.string())])), - env: types.optional(z.array(types.string())), - op: GetRoutesTransformsOp$inboundSchema, - target: z.lazy(() => GetRoutesTransformsTarget$inboundSchema), - type: GetRoutesTransformsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: types.optional(smartUnion([types.string(), z.array(types.string())])), + env: types.optional(z.array(types.string())), + op: GetRoutesTransformsOp$inboundSchema, + target: z.lazy(() => GetRoutesTransformsTarget$inboundSchema), + type: GetRoutesTransformsType$inboundSchema, + }) +); export function getRoutesTransforms1FromJSON( jsonString: string, @@ -4263,18 +4471,20 @@ export const ResponseBodyTransforms$inboundSchema: z.ZodType< ResponseBodyTransforms, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetRoutesTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.headers") }), - ), - z.lazy(() => GetRoutesTransforms1$inboundSchema).and( - z.object({ type: z.literal("request.query") }), - ), - z.lazy(() => GetRoutesTransforms1$inboundSchema).and( - z.object({ type: z.literal("response.headers") }), - ), - z.lazy(() => GetRoutesTransforms2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetRoutesTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.headers") }), + ), + z.lazy(() => GetRoutesTransforms1$inboundSchema).and( + z.object({ type: z.literal("request.query") }), + ), + z.lazy(() => GetRoutesTransforms1$inboundSchema).and( + z.object({ type: z.literal("response.headers") }), + ), + z.lazy(() => GetRoutesTransforms2$inboundSchema), + ]) +); export function responseBodyTransformsFromJSON( jsonString: string, @@ -4291,20 +4501,18 @@ export const GetRoutesResponseBodyProjectRoutesRoute$inboundSchema: z.ZodType< GetRoutesResponseBodyProjectRoutesRoute, z.ZodTypeDef, unknown -> = z.object({ - caseSensitive: types.optional(types.boolean()), - check: types.optional(types.boolean()), - continue: types.optional(types.boolean()), - dest: types.optional(types.string()), - destination: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + caseSensitive: types.optional(types.boolean()), + check: types.optional(types.boolean()), + continue: types.optional(types.boolean()), + dest: types.optional(types.string()), + destination: types.optional(smartUnion([ z.lazy(() => GetRoutesDestination2$inboundSchema), types.string(), - ]), - ), - env: types.optional(z.array(types.string())), - has: types.optional( - z.array(z.union([ + ])), + env: types.optional(z.array(types.string())), + has: types.optional(z.array(z.union([ z.lazy(() => GetRoutesHas1$inboundSchema), z.lazy(() => GetRoutesHas2$inboundSchema @@ -4315,17 +4523,17 @@ export const GetRoutesResponseBodyProjectRoutesRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesHas2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - headers: types.optional(z.record(types.string())), - important: types.optional(types.boolean()), - locale: types.optional(z.lazy(() => ResponseBodyLocale$inboundSchema)), - methods: types.optional(z.array(types.string())), - middleware: types.optional(types.number()), - middlewarePath: types.optional(types.string()), - middlewareRawSrc: types.optional(z.array(types.string())), - missing: types.optional( - z.array(z.union([ + ]))), + headers: types.optional(z.record(types.string())), + important: types.optional(types.boolean()), + locale: types.optional(z.lazy(() => + ResponseBodyLocale$inboundSchema + )), + methods: types.optional(z.array(types.string())), + middleware: types.optional(types.number()), + middlewarePath: types.optional(types.string()), + middlewareRawSrc: types.optional(z.array(types.string())), + missing: types.optional(z.array(z.union([ z.lazy(() => GetRoutesMissing1$inboundSchema), z.lazy(() => GetRoutesMissing2$inboundSchema @@ -4336,17 +4544,17 @@ export const GetRoutesResponseBodyProjectRoutesRoute$inboundSchema: z.ZodType< z.lazy(() => GetRoutesMissing2$inboundSchema).and( z.object({ type: z.literal("query") }), ), - ])), - ), - mitigate: types.optional(z.lazy(() => ResponseBodyMitigate$inboundSchema)), - override: types.optional(types.boolean()), - respectOriginCacheControl: types.optional(types.boolean()), - source: types.optional(types.string()), - src: types.string(), - status: types.optional(types.number()), - statusCode: types.optional(types.number()), - transforms: types.optional( - z.array(z.union([ + ]))), + mitigate: types.optional(z.lazy(() => + ResponseBodyMitigate$inboundSchema + )), + override: types.optional(types.boolean()), + respectOriginCacheControl: types.optional(types.boolean()), + source: types.optional(types.string()), + src: types.string(), + status: types.optional(types.number()), + statusCode: types.optional(types.number()), + transforms: types.optional(z.array(z.union([ z.lazy(() => GetRoutesTransforms1$inboundSchema).and( z.object({ type: z.literal("request.headers") }), ), @@ -4357,9 +4565,9 @@ export const GetRoutesResponseBodyProjectRoutesRoute$inboundSchema: z.ZodType< z.object({ type: z.literal("response.headers") }), ), z.lazy(() => GetRoutesTransforms2$inboundSchema), - ])), - ), -}); + ]))), + }) +); export function getRoutesResponseBodyProjectRoutesRouteFromJSON( jsonString: string, @@ -4379,35 +4587,41 @@ export function getRoutesResponseBodyProjectRoutesRouteFromJSON( /** @internal */ export const GetRoutesResponseBodyProjectRoutesRouteType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesResponseBodyProjectRoutesRouteType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyProjectRoutesRouteType) + ); /** @internal */ export const GetRoutesResponseBodyProjectRoutesSrcSyntax$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetRoutesResponseBodyProjectRoutesSrcSyntax); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetRoutesResponseBodyProjectRoutesSrcSyntax) + ); /** @internal */ export const GetRoutesResponseBodyRoutes$inboundSchema: z.ZodType< GetRoutesResponseBodyRoutes, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - enabled: types.optional(types.boolean()), - id: types.string(), - name: types.string(), - rawDest: types.optional(types.string()), - rawSrc: types.optional(types.string()), - route: z.lazy(() => GetRoutesResponseBodyProjectRoutesRoute$inboundSchema), - routeType: types.optional( - GetRoutesResponseBodyProjectRoutesRouteType$inboundSchema, - ), - srcSyntax: types.optional( - GetRoutesResponseBodyProjectRoutesSrcSyntax$inboundSchema, - ), - staged: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + enabled: types.optional(types.boolean()), + id: types.string(), + name: types.string(), + rawDest: types.optional(types.string()), + rawSrc: types.optional(types.string()), + route: z.lazy(() => GetRoutesResponseBodyProjectRoutesRoute$inboundSchema), + routeType: types.optional( + GetRoutesResponseBodyProjectRoutesRouteType$inboundSchema, + ), + srcSyntax: types.optional( + GetRoutesResponseBodyProjectRoutesSrcSyntax$inboundSchema, + ), + staged: types.optional(types.boolean()), + }) +); export function getRoutesResponseBodyRoutesFromJSON( jsonString: string, @@ -4424,16 +4638,18 @@ export const GetRoutesResponseBodyVersion$inboundSchema: z.ZodType< GetRoutesResponseBodyVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function getRoutesResponseBodyVersionFromJSON( jsonString: string, @@ -4450,11 +4666,13 @@ export const GetRoutesResponseBody2$inboundSchema: z.ZodType< GetRoutesResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - diffCount: types.number(), - routes: z.array(z.lazy(() => GetRoutesResponseBodyRoutes$inboundSchema)), - version: z.lazy(() => GetRoutesResponseBodyVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + diffCount: types.number(), + routes: z.array(z.lazy(() => GetRoutesResponseBodyRoutes$inboundSchema)), + version: z.lazy(() => GetRoutesResponseBodyVersion$inboundSchema), + }) +); export function getRoutesResponseBody2FromJSON( jsonString: string, @@ -4471,7 +4689,7 @@ export const GetRoutesResponseBody1$inboundSchema: z.ZodType< GetRoutesResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getRoutesResponseBody1FromJSON( jsonString: string, @@ -4488,12 +4706,14 @@ export const GetRoutesResponseBody$inboundSchema: z.ZodType< GetRoutesResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetRoutesResponseBody2$inboundSchema), - z.lazy(() => GetRoutesResponseBody4$inboundSchema), - z.lazy(() => GetRoutesResponseBody3$inboundSchema), - z.lazy(() => GetRoutesResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetRoutesResponseBody2$inboundSchema), + z.lazy(() => GetRoutesResponseBody4$inboundSchema), + z.lazy(() => GetRoutesResponseBody3$inboundSchema), + z.lazy(() => GetRoutesResponseBody1$inboundSchema), + ]) +); export function getRoutesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getrouteversionsop.ts b/src/models/getrouteversionsop.ts index c97d991e61..8139ae8354 100644 --- a/src/models/getrouteversionsop.ts +++ b/src/models/getrouteversionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -74,11 +74,13 @@ export const GetRouteVersionsRequest$outboundSchema: z.ZodType< GetRouteVersionsRequest$Outbound, z.ZodTypeDef, GetRouteVersionsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRouteVersionsRequestToJSON( getRouteVersionsRequest: GetRouteVersionsRequest, @@ -93,16 +95,18 @@ export const GetRouteVersionsVersions$inboundSchema: z.ZodType< GetRouteVersionsVersions, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function getRouteVersionsVersionsFromJSON( jsonString: string, @@ -119,9 +123,11 @@ export const GetRouteVersionsResponseBody$inboundSchema: z.ZodType< GetRouteVersionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - versions: z.array(z.lazy(() => GetRouteVersionsVersions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + versions: z.array(z.lazy(() => GetRouteVersionsVersions$inboundSchema)), + }) +); export function getRouteVersionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getruntimelogsop.ts b/src/models/getruntimelogsop.ts index 841e40d204..ae9263c9f4 100644 --- a/src/models/getruntimelogsop.ts +++ b/src/models/getruntimelogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -73,12 +73,14 @@ export const GetRuntimeLogsRequest$outboundSchema: z.ZodType< GetRuntimeLogsRequest$Outbound, z.ZodTypeDef, GetRuntimeLogsRequest -> = z.object({ - projectId: z.string(), - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getRuntimeLogsRequestToJSON( getRuntimeLogsRequest: GetRuntimeLogsRequest, @@ -91,30 +93,32 @@ export function getRuntimeLogsRequestToJSON( /** @internal */ export const GetRuntimeLogsLevel$inboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsLevel -> = z.nativeEnum(GetRuntimeLogsLevel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRuntimeLogsLevel)); /** @internal */ export const GetRuntimeLogsSource$inboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsSource -> = z.nativeEnum(GetRuntimeLogsSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetRuntimeLogsSource)); /** @internal */ export const GetRuntimeLogsResponseBody$inboundSchema: z.ZodType< GetRuntimeLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - level: GetRuntimeLogsLevel$inboundSchema, - message: types.string(), - messageTruncated: types.boolean(), - requestMethod: types.string(), - requestPath: types.string(), - responseStatusCode: types.number(), - rowId: types.string(), - source: GetRuntimeLogsSource$inboundSchema, - timestampInMs: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + level: GetRuntimeLogsLevel$inboundSchema, + message: types.string(), + messageTruncated: types.boolean(), + requestMethod: types.string(), + requestPath: types.string(), + responseStatusCode: types.number(), + rowId: types.string(), + source: GetRuntimeLogsSource$inboundSchema, + timestampInMs: types.number(), + }) +); export function getRuntimeLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsdkkeysop.ts b/src/models/getsdkkeysop.ts index 2dc9e937f4..eeb6848505 100644 --- a/src/models/getsdkkeysop.ts +++ b/src/models/getsdkkeysop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -66,11 +66,13 @@ export const GetSDKKeysRequest$outboundSchema: z.ZodType< GetSDKKeysRequest$Outbound, z.ZodTypeDef, GetSDKKeysRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSDKKeysRequestToJSON( getSDKKeysRequest: GetSDKKeysRequest, @@ -83,25 +85,27 @@ export function getSDKKeysRequestToJSON( /** @internal */ export const GetSDKKeysType$inboundSchema: z.ZodNativeEnum< typeof GetSDKKeysType -> = z.nativeEnum(GetSDKKeysType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetSDKKeysType)); /** @internal */ export const GetSDKKeysData$inboundSchema: z.ZodType< GetSDKKeysData, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - deletedAt: types.optional(types.number()), - environment: types.string(), - hashKey: types.string(), - label: types.optional(types.string()), - partialKeyValue: types.string(), - projectId: types.string(), - type: GetSDKKeysType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + deletedAt: types.optional(types.number()), + environment: types.string(), + hashKey: types.string(), + label: types.optional(types.string()), + partialKeyValue: types.string(), + projectId: types.string(), + type: GetSDKKeysType$inboundSchema, + updatedAt: types.number(), + }) +); export function getSDKKeysDataFromJSON( jsonString: string, @@ -118,9 +122,11 @@ export const GetSDKKeysResponseBody$inboundSchema: z.ZodType< GetSDKKeysResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => GetSDKKeysData$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => GetSDKKeysData$inboundSchema)), + }) +); export function getSDKKeysResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsecurityfirewallconfigresponsebody.ts b/src/models/getsecurityfirewallconfigresponsebody.ts index a506566caa..b5bedc447c 100644 --- a/src/models/getsecurityfirewallconfigresponsebody.ts +++ b/src/models/getsecurityfirewallconfigresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -87,18 +87,20 @@ export type GetSecurityFirewallConfigResponseBody = { /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurity1$inboundSchema: z.ZodType = - z.object({ - active: types.boolean(), - conditionGroup: z.array( - GetSecurityFirewallConfigRulesetsSecurityConditionGroup$inboundSchema, - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - GetSecurityFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + GetSecurityFirewallConfigRulesetsSecurityConditionGroup$inboundSchema, + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional( + GetSecurityFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, + ), + }) + ); export function getSecurityFirewallConfigRulesetsSecurity1FromJSON( jsonString: string, @@ -122,12 +124,14 @@ export const GetSecurityFirewallConfigSecurityResponseRulesets$inboundSchema: GetSecurityFirewallConfigSecurityResponseRulesets, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurity1$inboundSchema - )), - z.record(GetSecurityFirewallConfigRulesetsSecurity2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurity1$inboundSchema + )), + z.record(GetSecurityFirewallConfigRulesetsSecurity2$inboundSchema), + ]) + ); export function getSecurityFirewallConfigSecurityResponseRulesetsFromJSON( jsonString: string, @@ -150,38 +154,46 @@ export const GetSecurityFirewallConfigVersions$inboundSchema: z.ZodType< GetSecurityFirewallConfigVersions, z.ZodTypeDef, unknown -> = z.object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array( - GetSecurityFirewallConfigSecurityResponseChanges$inboundSchema, - ), - conditions: types.optional( - z.array(GetSecurityFirewallConfigSecurityResponseConditions$inboundSchema), - ), - crs: types.optional(GetSecurityFirewallConfigSecurityCrs$inboundSchema), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array(GetSecurityFirewallConfigSecurityIps$inboundSchema), - logHeaders: types.optional( - GetSecurityFirewallConfigSecurityResponseLogHeaders$inboundSchema, - ), - managedRules: types.optional( - GetSecurityFirewallConfigSecurityResponseManagedRules$inboundSchema, - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array(GetSecurityFirewallConfigSecurityResponseRules$inboundSchema), - rulesets: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array( + GetSecurityFirewallConfigSecurityResponseChanges$inboundSchema, + ), + conditions: types.optional( z.array( - z.lazy(() => GetSecurityFirewallConfigRulesetsSecurity1$inboundSchema), + GetSecurityFirewallConfigSecurityResponseConditions$inboundSchema, ), - z.record(GetSecurityFirewallConfigRulesetsSecurity2$inboundSchema), - ]), - ), - updatedAt: types.string(), - version: types.number(), -}); + ), + crs: types.optional(GetSecurityFirewallConfigSecurityCrs$inboundSchema), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array(GetSecurityFirewallConfigSecurityIps$inboundSchema), + logHeaders: types.optional( + GetSecurityFirewallConfigSecurityResponseLogHeaders$inboundSchema, + ), + managedRules: types.optional( + GetSecurityFirewallConfigSecurityResponseManagedRules$inboundSchema, + ), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array( + GetSecurityFirewallConfigSecurityResponseRules$inboundSchema, + ), + rulesets: types.optional( + smartUnion([ + z.array( + z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurity1$inboundSchema + ), + ), + z.record(GetSecurityFirewallConfigRulesetsSecurity2$inboundSchema), + ]), + ), + updatedAt: types.string(), + version: types.number(), + }) +); export function getSecurityFirewallConfigVersionsFromJSON( jsonString: string, @@ -198,13 +210,15 @@ export const GetSecurityFirewallConfigResponseBody$inboundSchema: z.ZodType< GetSecurityFirewallConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - active: types.nullable(Active$inboundSchema), - draft: types.nullable(Draft$inboundSchema), - versions: z.array( - z.lazy(() => GetSecurityFirewallConfigVersions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.nullable(Active$inboundSchema), + draft: types.nullable(Draft$inboundSchema), + versions: z.array( + z.lazy(() => GetSecurityFirewallConfigVersions$inboundSchema), + ), + }) +); export function getSecurityFirewallConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsecurityfirewallconfigrulesetssecurityresponse200action.ts b/src/models/getsecurityfirewallconfigrulesetssecurityresponse200action.ts index 5869d61fdc..1340d05e9c 100644 --- a/src/models/getsecurityfirewallconfigrulesetssecurityresponse200action.ts +++ b/src/models/getsecurityfirewallconfigrulesetssecurityresponse200action.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1684,8 +1684,10 @@ export type GetSecurityFirewallConfigRulesetsSecurityResponse200Action = { /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponseAlgo$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseAlgo); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseAlgo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponseRateLimit$inboundSchema: @@ -1693,15 +1695,17 @@ export const GetSecurityFirewallConfigRulesSecurityResponseRateLimit$inboundSche GetSecurityFirewallConfigRulesSecurityResponseRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesSecurityResponseAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesSecurityResponseAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseRateLimitFromJSON( jsonString: string, @@ -1724,10 +1728,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponseRedirect$inboundSchem GetSecurityFirewallConfigRulesSecurityResponseRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseRedirectFromJSON( jsonString: string, @@ -1750,25 +1756,23 @@ export const GetSecurityFirewallConfigRulesSecurityResponseMitigate$inboundSchem GetSecurityFirewallConfigRulesSecurityResponseMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - GetSecurityFirewallConfigRulesSecurityResponseLogHeaders$inboundSchema, - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponseRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + GetSecurityFirewallConfigRulesSecurityResponseLogHeaders$inboundSchema, ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponseRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponseRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseMitigateFromJSON( jsonString: string, @@ -1791,13 +1795,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponseAction$inboundSchema: GetSecurityFirewallConfigRulesSecurityResponseAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponseMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseActionFromJSON( jsonString: string, @@ -1817,13 +1821,17 @@ export function getSecurityFirewallConfigRulesSecurityResponseActionFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseOp) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponseType) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponseValue$inboundSchema: @@ -1831,7 +1839,9 @@ export const GetSecurityFirewallConfigRulesSecurityResponseValue$inboundSchema: GetSecurityFirewallConfigRulesSecurityResponseValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesSecurityResponseValueFromJSON( jsonString: string, @@ -1855,15 +1865,17 @@ export const GetSecurityFirewallConfigRulesSecurityResponseConditions$inboundSch GetSecurityFirewallConfigRulesSecurityResponseConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesSecurityResponseOp$inboundSchema, - type: GetSecurityFirewallConfigRulesSecurityResponseType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesSecurityResponseOp$inboundSchema, + type: GetSecurityFirewallConfigRulesSecurityResponseType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseConditionsFromJSON( jsonString: string, @@ -1886,13 +1898,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponseConditionGroup$inboun GetSecurityFirewallConfigRulesSecurityResponseConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponseConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponseConditionGroupFromJSON( jsonString: string, @@ -1914,22 +1926,22 @@ export const GetSecurityFirewallConfigRules2$inboundSchema: z.ZodType< GetSecurityFirewallConfigRules2, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponseAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponseConditionGroup$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponseAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), -}); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponseConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) +); export function getSecurityFirewallConfigRules2FromJSON( jsonString: string, @@ -1945,16 +1957,20 @@ export function getSecurityFirewallConfigRules2FromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2, + ) ); /** @internal */ @@ -1963,10 +1979,12 @@ export const GetSecurityFirewallConfigRulesSecurityLogHeaders$inboundSchema: GetSecurityFirewallConfigRulesSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesSecurityLogHeadersFromJSON( jsonString: string, @@ -1988,14 +2006,18 @@ export function getSecurityFirewallConfigRulesSecurityLogHeadersFromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityAlgo$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityAlgo); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityAlgo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityRateLimit$inboundSchema: @@ -2003,15 +2025,17 @@ export const GetSecurityFirewallConfigRulesSecurityRateLimit$inboundSchema: GetSecurityFirewallConfigRulesSecurityRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesSecurityRateLimitFromJSON( jsonString: string, @@ -2035,10 +2059,12 @@ export const GetSecurityFirewallConfigRulesSecurityRedirect$inboundSchema: GetSecurityFirewallConfigRulesSecurityRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesSecurityRedirectFromJSON( jsonString: string, @@ -2062,28 +2088,26 @@ export const GetSecurityFirewallConfigRulesSecurityMitigate$inboundSchema: GetSecurityFirewallConfigRulesSecurityMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraft2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesSecurityRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityMitigateFromJSON( jsonString: string, @@ -2107,13 +2131,13 @@ export const GetSecurityFirewallConfigRulesSecurityAction$inboundSchema: GetSecurityFirewallConfigRulesSecurityAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesSecurityMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityActionFromJSON( jsonString: string, @@ -2133,13 +2157,17 @@ export function getSecurityFirewallConfigRulesSecurityActionFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesSecurityOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityOp) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesSecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityType) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityValue$inboundSchema: @@ -2147,7 +2175,9 @@ export const GetSecurityFirewallConfigRulesSecurityValue$inboundSchema: GetSecurityFirewallConfigRulesSecurityValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesSecurityValueFromJSON( jsonString: string, @@ -2171,15 +2201,17 @@ export const GetSecurityFirewallConfigRulesSecurityConditions$inboundSchema: GetSecurityFirewallConfigRulesSecurityConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesSecurityOp$inboundSchema, - type: GetSecurityFirewallConfigRulesSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesSecurityOp$inboundSchema, + type: GetSecurityFirewallConfigRulesSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesSecurityConditionsFromJSON( jsonString: string, @@ -2203,13 +2235,13 @@ export const GetSecurityFirewallConfigRulesSecurityConditionGroup$inboundSchema: GetSecurityFirewallConfigRulesSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesSecurityConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityConditionGroupFromJSON( jsonString: string, @@ -2232,22 +2264,22 @@ export const GetSecurityFirewallConfigRules1$inboundSchema: z.ZodType< GetSecurityFirewallConfigRules1, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => - GetSecurityFirewallConfigRulesSecurityAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityConditionGroup$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + GetSecurityFirewallConfigRulesSecurityAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), -}); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) +); export function getSecurityFirewallConfigRules1FromJSON( jsonString: string, @@ -2264,10 +2296,12 @@ export const GetSecurityFirewallConfigSecurityRules$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityRules, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetSecurityFirewallConfigRules1$inboundSchema), - z.lazy(() => GetSecurityFirewallConfigRules2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetSecurityFirewallConfigRules1$inboundSchema), + z.lazy(() => GetSecurityFirewallConfigRules2$inboundSchema), + ]) +); export function getSecurityFirewallConfigSecurityRulesFromJSON( jsonString: string, @@ -2284,13 +2318,17 @@ export function getSecurityFirewallConfigSecurityRulesFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponseAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponseAction - > = z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseAction) + ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse2002$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse2002 - > = z.nativeEnum(GetSecurityFirewallConfigLogHeadersSecurityResponse2002); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigLogHeadersSecurityResponse2002) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsLogHeaders$inboundSchema: @@ -2298,10 +2336,12 @@ export const GetSecurityFirewallConfigRulesetsLogHeaders$inboundSchema: GetSecurityFirewallConfigRulesetsLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsLogHeadersFromJSON( jsonString: string, @@ -2323,28 +2363,33 @@ export function getSecurityFirewallConfigRulesetsLogHeadersFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsAlgo$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetSecurityFirewallConfigRulesetsAlgo, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsAlgo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsRateLimit$inboundSchema: z.ZodType = - z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesetsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesetsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsRateLimitFromJSON( jsonString: string, @@ -2367,10 +2412,12 @@ export const GetSecurityFirewallConfigRulesetsRedirect$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesetsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getSecurityFirewallConfigRulesetsRedirectFromJSON( jsonString: string, @@ -2393,23 +2440,26 @@ export const GetSecurityFirewallConfigRulesets2$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesets2, z.ZodTypeDef, unknown -> = z.object({ - action: GetSecurityFirewallConfigRulesetsSecurityResponseAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetSecurityFirewallConfigRulesetsRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetSecurityFirewallConfigRulesetsRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesetsSecurityResponseAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetSecurityFirewallConfigRulesetsRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetSecurityFirewallConfigRulesetsRedirect$inboundSchema), + ).optional(), + }) +); export function getSecurityFirewallConfigRulesets2FromJSON( jsonString: string, @@ -2425,20 +2475,25 @@ export function getSecurityFirewallConfigRulesets2FromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesetsOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsOp -> = z.nativeEnum(GetSecurityFirewallConfigRulesetsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsOp) +); /** @internal */ export const GetSecurityFirewallConfigRulesetsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetSecurityFirewallConfigRulesetsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsType) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsValue$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesetsValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getSecurityFirewallConfigRulesetsValueFromJSON( jsonString: string, @@ -2457,15 +2512,17 @@ export const GetSecurityFirewallConfigRulesetsConditions$inboundSchema: GetSecurityFirewallConfigRulesetsConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesetsOp$inboundSchema, - type: GetSecurityFirewallConfigRulesetsType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesetsOp$inboundSchema, + type: GetSecurityFirewallConfigRulesetsType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesetsConditionsFromJSON( jsonString: string, @@ -2489,11 +2546,13 @@ export const GetSecurityFirewallConfigRulesetsConditionGroup$inboundSchema: GetSecurityFirewallConfigRulesetsConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => GetSecurityFirewallConfigRulesetsConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetSecurityFirewallConfigRulesetsConditions$inboundSchema), + ), + }) + ); export function getSecurityFirewallConfigRulesetsConditionGroupFromJSON( jsonString: string, @@ -2515,16 +2574,20 @@ export function getSecurityFirewallConfigRulesetsConditionGroupFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2, + ) ); /** @internal */ @@ -2533,10 +2596,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONLogHeadersFromJSON( jsonString: string, @@ -2557,16 +2622,20 @@ export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo, + ) ); /** @internal */ @@ -2575,16 +2644,18 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction$inboundSchema, - ).optional(), - algo: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1ActionAction$inboundSchema, + ).optional(), + algo: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRateLimitFromJSON( jsonString: string, @@ -2607,10 +2678,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRedirectFromJSON( jsonString: string, @@ -2632,28 +2705,26 @@ export const GetSecurityFirewallConfigRulesetsMitigate$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesetsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRateLimit$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyDraft1Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRulesets2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONRedirect$inboundSchema - ), - ).optional(), -}); + )).optional(), + }) +); export function getSecurityFirewallConfigRulesetsMitigateFromJSON( jsonString: string, @@ -2677,11 +2748,13 @@ export const GetSecurityFirewallConfigRulesetsSecurityAction$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => GetSecurityFirewallConfigRulesetsMitigate$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => GetSecurityFirewallConfigRulesetsMitigate$inboundSchema), + ), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityActionFromJSON( jsonString: string, @@ -2704,18 +2777,24 @@ export const GetSecurityFirewallConfigRulesets1$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesets1, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetSecurityFirewallConfigRulesetsConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityAction$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => + GetSecurityFirewallConfigRulesetsConditionGroup$inboundSchema + ), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional( + z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityAction$inboundSchema + ), + ), + }) +); export function getSecurityFirewallConfigRulesets1FromJSON( jsonString: string, @@ -2733,10 +2812,12 @@ export const GetSecurityFirewallConfigSecurityRulesets$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityRulesets, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetSecurityFirewallConfigRulesets1$inboundSchema)), - z.record(z.lazy(() => GetSecurityFirewallConfigRulesets2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetSecurityFirewallConfigRulesets1$inboundSchema)), + z.record(z.lazy(() => GetSecurityFirewallConfigRulesets2$inboundSchema)), + ]) +); export function getSecurityFirewallConfigSecurityRulesetsFromJSON( jsonString: string, @@ -2755,42 +2836,40 @@ export function getSecurityFirewallConfigSecurityRulesetsFromJSON( } /** @internal */ -export const Draft$inboundSchema: z.ZodType = z - .object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array(GetSecurityFirewallConfigSecurityChanges$inboundSchema), - conditions: types.optional( - z.array(GetSecurityFirewallConfigSecurityConditions$inboundSchema), - ), - crs: types.optional(GetSecurityFirewallConfigCrs$inboundSchema), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array(GetSecurityFirewallConfigIps$inboundSchema), - logHeaders: types.optional( - GetSecurityFirewallConfigSecurityLogHeaders$inboundSchema, - ), - managedRules: types.optional( - GetSecurityFirewallConfigSecurityManagedRules$inboundSchema, - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array( - smartUnion([ +export const Draft$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array(GetSecurityFirewallConfigSecurityChanges$inboundSchema), + conditions: types.optional( + z.array(GetSecurityFirewallConfigSecurityConditions$inboundSchema), + ), + crs: types.optional(GetSecurityFirewallConfigCrs$inboundSchema), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array(GetSecurityFirewallConfigIps$inboundSchema), + logHeaders: types.optional( + GetSecurityFirewallConfigSecurityLogHeaders$inboundSchema, + ), + managedRules: types.optional( + GetSecurityFirewallConfigSecurityManagedRules$inboundSchema, + ), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array(smartUnion([ z.lazy(() => GetSecurityFirewallConfigRules1$inboundSchema), z.lazy(() => GetSecurityFirewallConfigRules2$inboundSchema), - ]), - ), - rulesets: types.optional( - smartUnion([ + ])), + rulesets: types.optional(smartUnion([ z.array(z.lazy(() => GetSecurityFirewallConfigRulesets1$inboundSchema)), z.record(z.lazy(() => GetSecurityFirewallConfigRulesets2$inboundSchema )), - ]), - ), - updatedAt: types.string(), - version: types.number(), - }); + ])), + updatedAt: types.string(), + version: types.number(), + }) + ); export function draftFromJSON( jsonString: string, @@ -2808,7 +2887,7 @@ export const GetSecurityFirewallConfigSecurityResponseChanges$inboundSchema: GetSecurityFirewallConfigSecurityResponseChanges, z.ZodTypeDef, unknown - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getSecurityFirewallConfigSecurityResponseChangesFromJSON( jsonString: string, @@ -2828,13 +2907,17 @@ export function getSecurityFirewallConfigSecurityResponseChangesFromJSON( /** @internal */ export const GetSecurityFirewallConfigSecurityResponseOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigSecurityResponseOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityResponseOp) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigSecurityResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityResponseType) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityResponseValue$inboundSchema: @@ -2842,7 +2925,9 @@ export const GetSecurityFirewallConfigSecurityResponseValue$inboundSchema: GetSecurityFirewallConfigSecurityResponseValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigSecurityResponseValueFromJSON( jsonString: string, @@ -2866,15 +2951,17 @@ export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONConditio GetSecurityFirewallConfigSecurityResponse200ApplicationJSONConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigSecurityResponseOp$inboundSchema, - type: GetSecurityFirewallConfigSecurityResponseType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigSecurityResponseOp$inboundSchema, + type: GetSecurityFirewallConfigSecurityResponseType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigSecurityResponse200ApplicationJSONConditionsFromJSON( jsonString: string, @@ -2897,13 +2984,13 @@ export const GetSecurityFirewallConfigSecurityConditionGroup$inboundSchema: GetSecurityFirewallConfigSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigSecurityResponse200ApplicationJSONConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigSecurityConditionGroupFromJSON( jsonString: string, @@ -2927,17 +3014,17 @@ export const GetSecurityFirewallConfigSecurityResponseConditions$inboundSchema: GetSecurityFirewallConfigSecurityResponseConditions, z.ZodTypeDef, unknown - > = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => GetSecurityFirewallConfigSecurityConditionGroup$inboundSchema - ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - }); + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) + ); export function getSecurityFirewallConfigSecurityResponseConditionsFromJSON( jsonString: string, @@ -2959,8 +3046,10 @@ export function getSecurityFirewallConfigSecurityResponseConditionsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + ) ); /** @internal */ @@ -2968,11 +3057,13 @@ export const GetSecurityFirewallConfigSecurityGen$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityGen, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityGenFromJSON( jsonString: string, @@ -2989,8 +3080,10 @@ export function getSecurityFirewallConfigSecurityGenFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction, + ) ); /** @internal */ @@ -2998,11 +3091,13 @@ export const GetSecurityFirewallConfigSecurityJava$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityJava, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityJavaFromJSON( jsonString: string, @@ -3019,8 +3114,10 @@ export function getSecurityFirewallConfigSecurityJavaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction, + ) ); /** @internal */ @@ -3028,11 +3125,13 @@ export const GetSecurityFirewallConfigSecurityLfi$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityLfi, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsLfiAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityLfiFromJSON( jsonString: string, @@ -3049,8 +3148,10 @@ export function getSecurityFirewallConfigSecurityLfiFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction, + ) ); /** @internal */ @@ -3058,11 +3159,13 @@ export const GetSecurityFirewallConfigSecurityMa$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityMa, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsMaAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityMaFromJSON( jsonString: string, @@ -3079,8 +3182,10 @@ export function getSecurityFirewallConfigSecurityMaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction, + ) ); /** @internal */ @@ -3088,11 +3193,13 @@ export const GetSecurityFirewallConfigSecurityPhp$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityPhp, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsPhpAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityPhpFromJSON( jsonString: string, @@ -3109,8 +3216,10 @@ export function getSecurityFirewallConfigSecurityPhpFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction, + ) ); /** @internal */ @@ -3118,11 +3227,13 @@ export const GetSecurityFirewallConfigSecurityRce$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityRce, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRceAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityRceFromJSON( jsonString: string, @@ -3139,8 +3250,10 @@ export function getSecurityFirewallConfigSecurityRceFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction, + ) ); /** @internal */ @@ -3148,11 +3261,13 @@ export const GetSecurityFirewallConfigSecurityRfi$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityRfi, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsRfiAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityRfiFromJSON( jsonString: string, @@ -3169,8 +3284,10 @@ export function getSecurityFirewallConfigSecurityRfiFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction, + ) ); /** @internal */ @@ -3178,11 +3295,13 @@ export const GetSecurityFirewallConfigSecuritySd$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecuritySd, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSdAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecuritySdFromJSON( jsonString: string, @@ -3199,8 +3318,10 @@ export function getSecurityFirewallConfigSecuritySdFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction, + ) ); /** @internal */ @@ -3208,11 +3329,13 @@ export const GetSecurityFirewallConfigSecuritySf$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecuritySf, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSfAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecuritySfFromJSON( jsonString: string, @@ -3229,8 +3352,10 @@ export function getSecurityFirewallConfigSecuritySfFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction, + ) ); /** @internal */ @@ -3238,11 +3363,13 @@ export const GetSecurityFirewallConfigSecuritySqli$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecuritySqli, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsSqliAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecuritySqliFromJSON( jsonString: string, @@ -3259,8 +3386,10 @@ export function getSecurityFirewallConfigSecuritySqliFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction, + ) ); /** @internal */ @@ -3268,11 +3397,13 @@ export const GetSecurityFirewallConfigSecurityXss$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityXss, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsCrsXssAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSecurityXssFromJSON( jsonString: string, @@ -3290,19 +3421,21 @@ export const GetSecurityFirewallConfigSecurityCrs$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityCrs, z.ZodTypeDef, unknown -> = z.object({ - gen: z.lazy(() => GetSecurityFirewallConfigSecurityGen$inboundSchema), - java: z.lazy(() => GetSecurityFirewallConfigSecurityJava$inboundSchema), - lfi: z.lazy(() => GetSecurityFirewallConfigSecurityLfi$inboundSchema), - ma: z.lazy(() => GetSecurityFirewallConfigSecurityMa$inboundSchema), - php: z.lazy(() => GetSecurityFirewallConfigSecurityPhp$inboundSchema), - rce: z.lazy(() => GetSecurityFirewallConfigSecurityRce$inboundSchema), - rfi: z.lazy(() => GetSecurityFirewallConfigSecurityRfi$inboundSchema), - sd: z.lazy(() => GetSecurityFirewallConfigSecuritySd$inboundSchema), - sf: z.lazy(() => GetSecurityFirewallConfigSecuritySf$inboundSchema), - sqli: z.lazy(() => GetSecurityFirewallConfigSecuritySqli$inboundSchema), - xss: z.lazy(() => GetSecurityFirewallConfigSecurityXss$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => GetSecurityFirewallConfigSecurityGen$inboundSchema), + java: z.lazy(() => GetSecurityFirewallConfigSecurityJava$inboundSchema), + lfi: z.lazy(() => GetSecurityFirewallConfigSecurityLfi$inboundSchema), + ma: z.lazy(() => GetSecurityFirewallConfigSecurityMa$inboundSchema), + php: z.lazy(() => GetSecurityFirewallConfigSecurityPhp$inboundSchema), + rce: z.lazy(() => GetSecurityFirewallConfigSecurityRce$inboundSchema), + rfi: z.lazy(() => GetSecurityFirewallConfigSecurityRfi$inboundSchema), + sd: z.lazy(() => GetSecurityFirewallConfigSecuritySd$inboundSchema), + sf: z.lazy(() => GetSecurityFirewallConfigSecuritySf$inboundSchema), + sqli: z.lazy(() => GetSecurityFirewallConfigSecuritySqli$inboundSchema), + xss: z.lazy(() => GetSecurityFirewallConfigSecurityXss$inboundSchema), + }) +); export function getSecurityFirewallConfigSecurityCrsFromJSON( jsonString: string, @@ -3317,21 +3450,25 @@ export function getSecurityFirewallConfigSecurityCrsFromJSON( /** @internal */ export const GetSecurityFirewallConfigSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityResponseAction) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityIps$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityIps, z.ZodTypeDef, unknown -> = z.object({ - action: GetSecurityFirewallConfigSecurityResponseAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetSecurityFirewallConfigSecurityResponseAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigSecurityIpsFromJSON( jsonString: string, @@ -3347,7 +3484,9 @@ export function getSecurityFirewallConfigSecurityIpsFromJSON( /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse2$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetSecurityFirewallConfigLogHeadersSecurityResponse2); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigLogHeadersSecurityResponse2) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityResponseLogHeaders$inboundSchema: @@ -3355,10 +3494,12 @@ export const GetSecurityFirewallConfigSecurityResponseLogHeaders$inboundSchema: GetSecurityFirewallConfigSecurityResponseLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigSecurityResponseLogHeadersFromJSON( jsonString: string, @@ -3380,8 +3521,10 @@ export function getSecurityFirewallConfigSecurityResponseLogHeadersFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction, + ) ); /** @internal */ @@ -3390,15 +3533,17 @@ export const GetSecurityFirewallConfigSecurityResponseAiBots$inboundSchema: GetSecurityFirewallConfigSecurityResponseAiBots, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseAiBotsFromJSON( jsonString: string, @@ -3420,8 +3565,10 @@ export function getSecurityFirewallConfigSecurityResponseAiBotsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -3430,15 +3577,17 @@ export const GetSecurityFirewallConfigSecurityBotProtection$inboundSchema: GetSecurityFirewallConfigSecurityBotProtection, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityBotProtectionFromJSON( jsonString: string, @@ -3460,8 +3609,10 @@ export function getSecurityFirewallConfigSecurityBotProtectionFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction, + ) ); /** @internal */ @@ -3470,15 +3621,17 @@ export const GetSecurityFirewallConfigSecurityResponseOwasp$inboundSchema: GetSecurityFirewallConfigSecurityResponseOwasp, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseOwaspFromJSON( jsonString: string, @@ -3500,8 +3653,10 @@ export function getSecurityFirewallConfigSecurityResponseOwaspFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -3510,15 +3665,17 @@ export const GetSecurityFirewallConfigSecurityResponseTrafficSources$inboundSche GetSecurityFirewallConfigSecurityResponseTrafficSources, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseTrafficSourcesFromJSON( jsonString: string, @@ -3539,8 +3696,10 @@ export function getSecurityFirewallConfigSecurityResponseTrafficSourcesFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -3549,15 +3708,17 @@ export const GetSecurityFirewallConfigSecurityResponseVercelRuleset$inboundSchem GetSecurityFirewallConfigSecurityResponseVercelRuleset, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyVersionsManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseVercelRulesetFromJSON( jsonString: string, @@ -3580,40 +3741,32 @@ export const GetSecurityFirewallConfigSecurityResponseManagedRules$inboundSchema GetSecurityFirewallConfigSecurityResponseManagedRules, z.ZodTypeDef, unknown - > = z.object({ - ai_bots: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional(z.lazy(() => GetSecurityFirewallConfigSecurityResponseAiBots$inboundSchema - ), - ), - bot_protection: types.optional( - z.lazy(() => + )), + bot_protection: types.optional(z.lazy(() => GetSecurityFirewallConfigSecurityBotProtection$inboundSchema - ), - ), - owasp: types.optional( - z.lazy(() => + )), + owasp: types.optional(z.lazy(() => GetSecurityFirewallConfigSecurityResponseOwasp$inboundSchema - ), - ), - traffic_sources: types.optional( - z.lazy(() => + )), + traffic_sources: types.optional(z.lazy(() => GetSecurityFirewallConfigSecurityResponseTrafficSources$inboundSchema - ), - ), - vercel_ruleset: types.optional( - z.lazy(() => + )), + vercel_ruleset: types.optional(z.lazy(() => GetSecurityFirewallConfigSecurityResponseVercelRuleset$inboundSchema - ), - ), - }).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); - }); + )), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) + ); export function getSecurityFirewallConfigSecurityResponseManagedRulesFromJSON( jsonString: string, @@ -3635,16 +3788,20 @@ export function getSecurityFirewallConfigSecurityResponseManagedRulesFromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2, + ) ); /** @internal */ @@ -3653,10 +3810,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONLog GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONLogHeadersFromJSON( jsonString: string, @@ -3677,16 +3836,20 @@ export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSON export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo, + ) ); /** @internal */ @@ -3695,16 +3858,18 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRat GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction$inboundSchema, - ).optional(), - algo: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2ActionAction$inboundSchema, + ).optional(), + algo: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRateLimitFromJSON( jsonString: string, @@ -3727,10 +3892,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRed GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRedirectFromJSON( jsonString: string, @@ -3753,28 +3920,26 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONMit GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions2Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRules2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONMitigateFromJSON( jsonString: string, @@ -3797,13 +3962,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAct GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONActionFromJSON( jsonString: string, @@ -3824,16 +3989,20 @@ export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSON export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -3842,7 +4011,9 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONVal GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -3865,17 +4036,19 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONCon GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp$inboundSchema, - type: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONOp$inboundSchema, + type: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditionsFromJSON( jsonString: string, @@ -3898,13 +4071,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONCon GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditionGroupFromJSON( jsonString: string, @@ -3926,22 +4099,22 @@ export const GetSecurityFirewallConfigRulesSecurity2$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesSecurity2, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditionGroup$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), -}); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) +); export function getSecurityFirewallConfigRulesSecurity2FromJSON( jsonString: string, @@ -3963,16 +4136,20 @@ export function getSecurityFirewallConfigRulesSecurity2FromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2, + ) ); /** @internal */ @@ -3981,10 +4158,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200LogHeaders$inbound GetSecurityFirewallConfigRulesSecurityResponse200LogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200LogHeadersFromJSON( jsonString: string, @@ -4005,15 +4184,19 @@ export function getSecurityFirewallConfigRulesSecurityResponse200LogHeadersFromJ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200Algo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200Algo - > = z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Algo); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Algo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200RateLimit$inboundSchema: @@ -4021,15 +4204,17 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200RateLimit$inboundS GetSecurityFirewallConfigRulesSecurityResponse200RateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesSecurityResponse200Algo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesSecurityResponse200Algo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200RateLimitFromJSON( jsonString: string, @@ -4052,10 +4237,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200Redirect$inboundSc GetSecurityFirewallConfigRulesSecurityResponse200Redirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200RedirectFromJSON( jsonString: string, @@ -4078,28 +4265,26 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200Mitigate$inboundSc GetSecurityFirewallConfigRulesSecurityResponse200Mitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200RateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersions2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200RateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200Redirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200MitigateFromJSON( jsonString: string, @@ -4122,13 +4307,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200Action$inboundSche GetSecurityFirewallConfigRulesSecurityResponse200Action, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200Mitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ActionFromJSON( jsonString: string, @@ -4148,13 +4333,17 @@ export function getSecurityFirewallConfigRulesSecurityResponse200ActionFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200Op$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Op); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Op) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200Type - > = z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Type); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesSecurityResponse200Type) + ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200Value$inboundSchema: @@ -4162,7 +4351,9 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200Value$inboundSchem GetSecurityFirewallConfigRulesSecurityResponse200Value, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ValueFromJSON( jsonString: string, @@ -4185,15 +4376,17 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200Conditions$inbound GetSecurityFirewallConfigRulesSecurityResponse200Conditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesSecurityResponse200Op$inboundSchema, - type: GetSecurityFirewallConfigRulesSecurityResponse200Type$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesSecurityResponse200Op$inboundSchema, + type: GetSecurityFirewallConfigRulesSecurityResponse200Type$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ConditionsFromJSON( jsonString: string, @@ -4216,13 +4409,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ConditionGroup$inb GetSecurityFirewallConfigRulesSecurityResponse200ConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200Conditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ConditionGroupFromJSON( jsonString: string, @@ -4244,22 +4437,22 @@ export const GetSecurityFirewallConfigRulesSecurity1$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesSecurity1, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200Action$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ConditionGroup$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200Action$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), -}); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) +); export function getSecurityFirewallConfigRulesSecurity1FromJSON( jsonString: string, @@ -4283,10 +4476,12 @@ export const GetSecurityFirewallConfigSecurityResponseRules$inboundSchema: GetSecurityFirewallConfigSecurityResponseRules, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetSecurityFirewallConfigRulesSecurity1$inboundSchema), - z.lazy(() => GetSecurityFirewallConfigRulesSecurity2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetSecurityFirewallConfigRulesSecurity1$inboundSchema), + z.lazy(() => GetSecurityFirewallConfigRulesSecurity2$inboundSchema), + ]) + ); export function getSecurityFirewallConfigSecurityResponseRulesFromJSON( jsonString: string, @@ -4308,16 +4503,20 @@ export function getSecurityFirewallConfigSecurityResponseRulesFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2, + ) ); /** @internal */ @@ -4326,10 +4525,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityLogHeaders$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsSecurityLogHeadersFromJSON( jsonString: string, @@ -4351,14 +4552,18 @@ export function getSecurityFirewallConfigRulesetsSecurityLogHeadersFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityAlgo$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesetsSecurityAlgo); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityAlgo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityRateLimit$inboundSchema: @@ -4366,15 +4571,17 @@ export const GetSecurityFirewallConfigRulesetsSecurityRateLimit$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesetsSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersionsAction$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesetsSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityRateLimitFromJSON( jsonString: string, @@ -4398,10 +4605,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityRedirect$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityRedirectFromJSON( jsonString: string, @@ -4422,28 +4631,26 @@ export function getSecurityFirewallConfigRulesetsSecurityRedirectFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurity2$inboundSchema: z.ZodType = - z.object({ - action: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityRateLimit$inboundSchema + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBody2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurity2FromJSON( jsonString: string, @@ -4463,13 +4670,17 @@ export function getSecurityFirewallConfigRulesetsSecurity2FromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityOp$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesetsSecurityOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityOp) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesetsSecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityType) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityValue$inboundSchema: @@ -4477,7 +4688,9 @@ export const GetSecurityFirewallConfigRulesetsSecurityValue$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesetsSecurityValueFromJSON( jsonString: string, @@ -4501,15 +4714,17 @@ export const GetSecurityFirewallConfigRulesetsSecurityConditions$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesetsSecurityOp$inboundSchema, - type: GetSecurityFirewallConfigRulesetsSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesetsSecurityOp$inboundSchema, + type: GetSecurityFirewallConfigRulesetsSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityConditionsFromJSON( jsonString: string, @@ -4533,13 +4748,13 @@ export const GetSecurityFirewallConfigRulesetsSecurityConditionGroup$inboundSche GetSecurityFirewallConfigRulesetsSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityConditionGroupFromJSON( jsonString: string, @@ -4560,16 +4775,20 @@ export function getSecurityFirewallConfigRulesetsSecurityConditionGroupFromJSON( export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2, + ) ); /** @internal */ @@ -4578,10 +4797,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200LogHeaders$inbo GetSecurityFirewallConfigRulesetsSecurityResponse200LogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200LogHeadersFromJSON( jsonString: string, @@ -4602,15 +4823,19 @@ export function getSecurityFirewallConfigRulesetsSecurityResponse200LogHeadersFr export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponse200Algo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200Algo - > = z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponse200Algo); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponse200Algo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponse200RateLimit$inboundSchema: @@ -4618,16 +4843,18 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200RateLimit$inbou GetSecurityFirewallConfigRulesetsSecurityResponse200RateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction$inboundSchema, - ).optional(), - algo: - GetSecurityFirewallConfigRulesetsSecurityResponse200Algo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1ActionAction$inboundSchema, + ).optional(), + algo: + GetSecurityFirewallConfigRulesetsSecurityResponse200Algo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200RateLimitFromJSON( jsonString: string, @@ -4650,10 +4877,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200Redirect$inboun GetSecurityFirewallConfigRulesetsSecurityResponse200Redirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200RedirectFromJSON( jsonString: string, @@ -4676,28 +4905,26 @@ export const GetSecurityFirewallConfigRulesetsSecurityMitigate$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse200RateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyVersions1Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyVersionsRulesets2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse200RateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponse200Redirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityMitigateFromJSON( jsonString: string, @@ -4721,13 +4948,13 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200Action$inboundS GetSecurityFirewallConfigRulesetsSecurityResponse200Action, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ActionFromJSON( jsonString: string, diff --git a/src/models/getsecurityfirewallconfigrulessecurityresponse200applicationjsonresponsebodydraft2actionaction.ts b/src/models/getsecurityfirewallconfigrulessecurityresponse200applicationjsonresponsebodydraft2actionaction.ts index 92fe3a4e84..9c8c334828 100644 --- a/src/models/getsecurityfirewallconfigrulessecurityresponse200applicationjsonresponsebodydraft2actionaction.ts +++ b/src/models/getsecurityfirewallconfigrulessecurityresponse200applicationjsonresponsebodydraft2actionaction.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1568,7 +1568,7 @@ export const GetSecurityFirewallConfigChanges$inboundSchema: z.ZodType< GetSecurityFirewallConfigChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getSecurityFirewallConfigChangesFromJSON( jsonString: string, @@ -1583,19 +1583,25 @@ export function getSecurityFirewallConfigChangesFromJSON( /** @internal */ export const GetSecurityFirewallConfigOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigOp -> = z.nativeEnum(GetSecurityFirewallConfigOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigOp) +); /** @internal */ export const GetSecurityFirewallConfigType$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigType -> = z.nativeEnum(GetSecurityFirewallConfigType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigType) +); /** @internal */ export const GetSecurityFirewallConfigValue$inboundSchema: z.ZodType< GetSecurityFirewallConfigValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getSecurityFirewallConfigValueFromJSON( jsonString: string, @@ -1613,15 +1619,17 @@ export const GetSecurityFirewallConfigSecurityResponse200Conditions$inboundSchem GetSecurityFirewallConfigSecurityResponse200Conditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigOp$inboundSchema, - type: GetSecurityFirewallConfigType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigOp$inboundSchema, + type: GetSecurityFirewallConfigType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigSecurityResponse200ConditionsFromJSON( jsonString: string, @@ -1644,13 +1652,13 @@ export const GetSecurityFirewallConfigSecurityResponseConditionGroup$inboundSche GetSecurityFirewallConfigSecurityResponseConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigSecurityResponse200Conditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigSecurityResponseConditionGroupFromJSON( jsonString: string, @@ -1672,17 +1680,17 @@ export const GetSecurityFirewallConfigConditions$inboundSchema: z.ZodType< GetSecurityFirewallConfigConditions, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => GetSecurityFirewallConfigSecurityResponseConditionGroup$inboundSchema - ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), -}); + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) +); export function getSecurityFirewallConfigConditionsFromJSON( jsonString: string, @@ -1699,8 +1707,10 @@ export function getSecurityFirewallConfigConditionsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, + ) ); /** @internal */ @@ -1709,11 +1719,13 @@ export const GetSecurityFirewallConfigSecurityResponseGen$inboundSchema: GetSecurityFirewallConfigSecurityResponseGen, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseGenFromJSON( jsonString: string, @@ -1735,8 +1747,10 @@ export function getSecurityFirewallConfigSecurityResponseGenFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, + ) ); /** @internal */ @@ -1745,11 +1759,13 @@ export const GetSecurityFirewallConfigSecurityResponseJava$inboundSchema: GetSecurityFirewallConfigSecurityResponseJava, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseJavaFromJSON( jsonString: string, @@ -1771,8 +1787,10 @@ export function getSecurityFirewallConfigSecurityResponseJavaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction, + ) ); /** @internal */ @@ -1781,11 +1799,13 @@ export const GetSecurityFirewallConfigSecurityResponseLfi$inboundSchema: GetSecurityFirewallConfigSecurityResponseLfi, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsLfiAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseLfiFromJSON( jsonString: string, @@ -1805,8 +1825,10 @@ export function getSecurityFirewallConfigSecurityResponseLfiFromJSON( /** @internal */ export const GetSecurityFirewallConfigSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityResponse200Action) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityResponseMa$inboundSchema: @@ -1814,10 +1836,12 @@ export const GetSecurityFirewallConfigSecurityResponseMa$inboundSchema: GetSecurityFirewallConfigSecurityResponseMa, z.ZodTypeDef, unknown - > = z.object({ - action: GetSecurityFirewallConfigSecurityResponse200Action$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetSecurityFirewallConfigSecurityResponse200Action$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseMaFromJSON( jsonString: string, @@ -1839,8 +1863,10 @@ export function getSecurityFirewallConfigSecurityResponseMaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ @@ -1849,11 +1875,13 @@ export const GetSecurityFirewallConfigSecurityResponsePhp$inboundSchema: GetSecurityFirewallConfigSecurityResponsePhp, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponsePhpFromJSON( jsonString: string, @@ -1875,8 +1903,10 @@ export function getSecurityFirewallConfigSecurityResponsePhpFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -1885,11 +1915,13 @@ export const GetSecurityFirewallConfigSecurityResponseRce$inboundSchema: GetSecurityFirewallConfigSecurityResponseRce, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseRceFromJSON( jsonString: string, @@ -1911,8 +1943,10 @@ export function getSecurityFirewallConfigSecurityResponseRceFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ) ); /** @internal */ @@ -1921,11 +1955,13 @@ export const GetSecurityFirewallConfigSecurityResponseRfi$inboundSchema: GetSecurityFirewallConfigSecurityResponseRfi, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseRfiFromJSON( jsonString: string, @@ -1947,8 +1983,10 @@ export function getSecurityFirewallConfigSecurityResponseRfiFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, + ) ); /** @internal */ @@ -1957,11 +1995,13 @@ export const GetSecurityFirewallConfigSecurityResponseSd$inboundSchema: GetSecurityFirewallConfigSecurityResponseSd, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseSdFromJSON( jsonString: string, @@ -1983,8 +2023,10 @@ export function getSecurityFirewallConfigSecurityResponseSdFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, + ) ); /** @internal */ @@ -1993,11 +2035,13 @@ export const GetSecurityFirewallConfigSecurityResponseSf$inboundSchema: GetSecurityFirewallConfigSecurityResponseSf, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseSfFromJSON( jsonString: string, @@ -2019,8 +2063,10 @@ export function getSecurityFirewallConfigSecurityResponseSfFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, + ) ); /** @internal */ @@ -2029,11 +2075,13 @@ export const GetSecurityFirewallConfigSecurityResponseSqli$inboundSchema: GetSecurityFirewallConfigSecurityResponseSqli, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseSqliFromJSON( jsonString: string, @@ -2055,8 +2103,10 @@ export function getSecurityFirewallConfigSecurityResponseSqliFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, + ) ); /** @internal */ @@ -2065,11 +2115,13 @@ export const GetSecurityFirewallConfigSecurityResponseXss$inboundSchema: GetSecurityFirewallConfigSecurityResponseXss, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, - active: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, + active: types.boolean(), + }) + ); export function getSecurityFirewallConfigSecurityResponseXssFromJSON( jsonString: string, @@ -2093,35 +2145,43 @@ export const GetSecurityFirewallConfigSecurityResponseCrs$inboundSchema: GetSecurityFirewallConfigSecurityResponseCrs, z.ZodTypeDef, unknown - > = z.object({ - gen: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseGen$inboundSchema - ), - java: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseJava$inboundSchema - ), - lfi: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseLfi$inboundSchema - ), - ma: z.lazy(() => GetSecurityFirewallConfigSecurityResponseMa$inboundSchema), - php: z.lazy(() => - GetSecurityFirewallConfigSecurityResponsePhp$inboundSchema - ), - rce: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseRce$inboundSchema - ), - rfi: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseRfi$inboundSchema - ), - sd: z.lazy(() => GetSecurityFirewallConfigSecurityResponseSd$inboundSchema), - sf: z.lazy(() => GetSecurityFirewallConfigSecurityResponseSf$inboundSchema), - sqli: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseSqli$inboundSchema - ), - xss: z.lazy(() => - GetSecurityFirewallConfigSecurityResponseXss$inboundSchema - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseGen$inboundSchema + ), + java: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseJava$inboundSchema + ), + lfi: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseLfi$inboundSchema + ), + ma: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseMa$inboundSchema + ), + php: z.lazy(() => + GetSecurityFirewallConfigSecurityResponsePhp$inboundSchema + ), + rce: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseRce$inboundSchema + ), + rfi: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseRfi$inboundSchema + ), + sd: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseSd$inboundSchema + ), + sf: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseSf$inboundSchema + ), + sqli: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseSqli$inboundSchema + ), + xss: z.lazy(() => + GetSecurityFirewallConfigSecurityResponseXss$inboundSchema + ), + }) + ); export function getSecurityFirewallConfigSecurityResponseCrsFromJSON( jsonString: string, @@ -2142,7 +2202,9 @@ export function getSecurityFirewallConfigSecurityResponseCrsFromJSON( /** @internal */ export const GetSecurityFirewallConfigAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigAction -> = z.nativeEnum(GetSecurityFirewallConfigAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigAction) +); /** @internal */ export const GetSecurityFirewallConfigSecurityResponseIps$inboundSchema: @@ -2150,13 +2212,15 @@ export const GetSecurityFirewallConfigSecurityResponseIps$inboundSchema: GetSecurityFirewallConfigSecurityResponseIps, z.ZodTypeDef, unknown - > = z.object({ - action: GetSecurityFirewallConfigAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetSecurityFirewallConfigAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseIpsFromJSON( jsonString: string, @@ -2176,19 +2240,22 @@ export function getSecurityFirewallConfigSecurityResponseIpsFromJSON( /** @internal */ export const GetSecurityFirewallConfigLogHeaders2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetSecurityFirewallConfigLogHeaders2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigLogHeaders2) + ); /** @internal */ export const GetSecurityFirewallConfigLogHeaders$inboundSchema: z.ZodType< GetSecurityFirewallConfigLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeaders2$inboundSchema, + ]) +); export function getSecurityFirewallConfigLogHeadersFromJSON( jsonString: string, @@ -2205,8 +2272,10 @@ export function getSecurityFirewallConfigLogHeadersFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction, + ) ); /** @internal */ @@ -2214,15 +2283,17 @@ export const GetSecurityFirewallConfigAiBots$inboundSchema: z.ZodType< GetSecurityFirewallConfigAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigAiBotsFromJSON( jsonString: string, @@ -2238,8 +2309,10 @@ export function getSecurityFirewallConfigAiBotsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -2248,15 +2321,17 @@ export const GetSecurityFirewallConfigSecurityResponseBotProtection$inboundSchem GetSecurityFirewallConfigSecurityResponseBotProtection, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityResponseBotProtectionFromJSON( jsonString: string, @@ -2277,8 +2352,10 @@ export function getSecurityFirewallConfigSecurityResponseBotProtectionFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction, + ) ); /** @internal */ @@ -2286,15 +2363,17 @@ export const GetSecurityFirewallConfigOwasp$inboundSchema: z.ZodType< GetSecurityFirewallConfigOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigOwaspFromJSON( jsonString: string, @@ -2310,8 +2389,10 @@ export function getSecurityFirewallConfigOwaspFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -2319,15 +2400,17 @@ export const GetSecurityFirewallConfigTrafficSources$inboundSchema: z.ZodType< GetSecurityFirewallConfigTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigTrafficSourcesFromJSON( jsonString: string, @@ -2349,8 +2432,10 @@ export function getSecurityFirewallConfigTrafficSourcesFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -2358,15 +2443,17 @@ export const GetSecurityFirewallConfigVercelRuleset$inboundSchema: z.ZodType< GetSecurityFirewallConfigVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigVercelRulesetFromJSON( jsonString: string, @@ -2384,32 +2471,32 @@ export const GetSecurityFirewallConfigManagedRules$inboundSchema: z.ZodType< GetSecurityFirewallConfigManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: types.optional( - z.lazy(() => GetSecurityFirewallConfigAiBots$inboundSchema), - ), - bot_protection: types.optional( - z.lazy(() => - GetSecurityFirewallConfigSecurityResponseBotProtection$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional( + z.lazy(() => GetSecurityFirewallConfigAiBots$inboundSchema), ), - ), - owasp: types.optional( - z.lazy(() => GetSecurityFirewallConfigOwasp$inboundSchema), - ), - traffic_sources: types.optional( - z.lazy(() => GetSecurityFirewallConfigTrafficSources$inboundSchema), - ), - vercel_ruleset: types.optional( - z.lazy(() => GetSecurityFirewallConfigVercelRuleset$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); + bot_protection: types.optional(z.lazy(() => + GetSecurityFirewallConfigSecurityResponseBotProtection$inboundSchema + )), + owasp: types.optional(z.lazy(() => + GetSecurityFirewallConfigOwasp$inboundSchema + )), + traffic_sources: types.optional(z.lazy(() => + GetSecurityFirewallConfigTrafficSources$inboundSchema + )), + vercel_ruleset: types.optional(z.lazy(() => + GetSecurityFirewallConfigVercelRuleset$inboundSchema + )), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function getSecurityFirewallConfigManagedRulesFromJSON( jsonString: string, @@ -2426,16 +2513,20 @@ export function getSecurityFirewallConfigManagedRulesFromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22, + ) ); /** @internal */ @@ -2443,10 +2534,12 @@ export const GetSecurityFirewallConfigRulesLogHeaders$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22$inboundSchema, + ]) +); export function getSecurityFirewallConfigRulesLogHeadersFromJSON( jsonString: string, @@ -2468,29 +2561,35 @@ export function getSecurityFirewallConfigRulesLogHeadersFromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesAlgo -> = z.nativeEnum(GetSecurityFirewallConfigRulesAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesAlgo) +); /** @internal */ export const GetSecurityFirewallConfigRulesRateLimit$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2ActionAction$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function getSecurityFirewallConfigRulesRateLimitFromJSON( jsonString: string, @@ -2513,10 +2612,12 @@ export const GetSecurityFirewallConfigRulesRedirect$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function getSecurityFirewallConfigRulesRedirectFromJSON( jsonString: string, @@ -2534,24 +2635,26 @@ export const GetSecurityFirewallConfigRulesMitigate$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => GetSecurityFirewallConfigRulesRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => GetSecurityFirewallConfigRulesRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive2Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules22$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => GetSecurityFirewallConfigRulesRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => GetSecurityFirewallConfigRulesRedirect$inboundSchema), + ).optional(), + }) +); export function getSecurityFirewallConfigRulesMitigateFromJSON( jsonString: string, @@ -2569,11 +2672,13 @@ export const GetSecurityFirewallConfigRulesAction$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => GetSecurityFirewallConfigRulesMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => GetSecurityFirewallConfigRulesMitigate$inboundSchema), + ), + }) +); export function getSecurityFirewallConfigRulesActionFromJSON( jsonString: string, @@ -2589,19 +2694,25 @@ export function getSecurityFirewallConfigRulesActionFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesOp -> = z.nativeEnum(GetSecurityFirewallConfigRulesOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesOp) +); /** @internal */ export const GetSecurityFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesType -> = z.nativeEnum(GetSecurityFirewallConfigRulesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesType) +); /** @internal */ export const GetSecurityFirewallConfigRulesValue$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getSecurityFirewallConfigRulesValueFromJSON( jsonString: string, @@ -2619,15 +2730,17 @@ export const GetSecurityFirewallConfigRulesConditions$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesOp$inboundSchema, - type: GetSecurityFirewallConfigRulesType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesOp$inboundSchema, + type: GetSecurityFirewallConfigRulesType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function getSecurityFirewallConfigRulesConditionsFromJSON( jsonString: string, @@ -2651,11 +2764,13 @@ export const GetSecurityFirewallConfigRulesConditionGroup$inboundSchema: GetSecurityFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => GetSecurityFirewallConfigRulesConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => GetSecurityFirewallConfigRulesConditions$inboundSchema), + ), + }) + ); export function getSecurityFirewallConfigRulesConditionGroupFromJSON( jsonString: string, @@ -2679,18 +2794,22 @@ export const GetSecurityFirewallConfigRulesSecurityResponse2$inboundSchema: GetSecurityFirewallConfigRulesSecurityResponse2, z.ZodTypeDef, unknown - > = z.object({ - action: z.lazy(() => GetSecurityFirewallConfigRulesAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetSecurityFirewallConfigRulesConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => GetSecurityFirewallConfigRulesAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => + GetSecurityFirewallConfigRulesConditionGroup$inboundSchema + ), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse2FromJSON( jsonString: string, @@ -2712,16 +2831,20 @@ export function getSecurityFirewallConfigRulesSecurityResponse2FromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2, + ) ); /** @internal */ @@ -2730,10 +2853,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyLogHeadersFromJSON( jsonString: string, @@ -2754,16 +2879,20 @@ export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSON export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo, + ) ); /** @internal */ @@ -2772,16 +2901,18 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema, - ).optional(), - algo: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema, + ).optional(), + algo: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRateLimitFromJSON( jsonString: string, @@ -2804,10 +2935,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRedirectFromJSON( jsonString: string, @@ -2830,28 +2963,26 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActiveRules2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyMitigateFromJSON( jsonString: string, @@ -2874,13 +3005,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyActionFromJSON( jsonString: string, @@ -2901,16 +3032,20 @@ export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSON export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2919,7 +3054,9 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -2942,17 +3079,19 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp$inboundSchema, - type: - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyOp$inboundSchema, + type: + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditionsFromJSON( jsonString: string, @@ -2975,13 +3114,13 @@ export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONRes GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditionGroupFromJSON( jsonString: string, @@ -3004,22 +3143,22 @@ export const GetSecurityFirewallConfigRulesSecurityResponse1$inboundSchema: GetSecurityFirewallConfigRulesSecurityResponse1, z.ZodTypeDef, unknown - > = z.object({ - action: z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema - ), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditionGroup$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), - }); + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyConditionGroup$inboundSchema + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) + ); export function getSecurityFirewallConfigRulesSecurityResponse1FromJSON( jsonString: string, @@ -3042,10 +3181,12 @@ export const GetSecurityFirewallConfigRules$inboundSchema: z.ZodType< GetSecurityFirewallConfigRules, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse1$inboundSchema), - z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse1$inboundSchema), + z.lazy(() => GetSecurityFirewallConfigRulesSecurityResponse2$inboundSchema), + ]) +); export function getSecurityFirewallConfigRulesFromJSON( jsonString: string, @@ -3059,15 +3200,19 @@ export function getSecurityFirewallConfigRulesFromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesetsAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigRulesetsAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsAction) + ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2, + ) ); /** @internal */ @@ -3076,10 +3221,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseLogHeaders$inbound GetSecurityFirewallConfigRulesetsSecurityResponseLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseLogHeadersFromJSON( jsonString: string, @@ -3100,15 +3247,19 @@ export function getSecurityFirewallConfigRulesetsSecurityResponseLogHeadersFromJ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponseAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponseAlgo - > = z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseAlgo); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseAlgo) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponseRateLimit$inboundSchema: @@ -3116,15 +3267,17 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseRateLimit$inboundS GetSecurityFirewallConfigRulesetsSecurityResponseRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, - ).optional(), - algo: GetSecurityFirewallConfigRulesetsSecurityResponseAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, + ).optional(), + algo: GetSecurityFirewallConfigRulesetsSecurityResponseAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseRateLimitFromJSON( jsonString: string, @@ -3147,10 +3300,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseRedirect$inboundSc GetSecurityFirewallConfigRulesetsSecurityResponseRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseRedirectFromJSON( jsonString: string, @@ -3173,27 +3328,25 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse2$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityResponse2, z.ZodTypeDef, unknown - > = z.object({ - action: GetSecurityFirewallConfigRulesetsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponseRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetSecurityFirewallConfigRulesetsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponseRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponseRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse2FromJSON( jsonString: string, @@ -3214,13 +3367,17 @@ export function getSecurityFirewallConfigRulesetsSecurityResponse2FromJSON( /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponseOp$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseOp); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseOp) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponseType$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponseType - > = z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigRulesetsSecurityResponseType) + ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponseValue$inboundSchema: @@ -3228,7 +3385,9 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseValue$inboundSchem GetSecurityFirewallConfigRulesetsSecurityResponseValue, z.ZodTypeDef, unknown - > = smartUnion([types.string(), types.number(), z.array(types.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseValueFromJSON( jsonString: string, @@ -3251,15 +3410,17 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseConditions$inbound GetSecurityFirewallConfigRulesetsSecurityResponseConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigRulesetsSecurityResponseOp$inboundSchema, - type: GetSecurityFirewallConfigRulesetsSecurityResponseType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigRulesetsSecurityResponseOp$inboundSchema, + type: GetSecurityFirewallConfigRulesetsSecurityResponseType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseConditionsFromJSON( jsonString: string, @@ -3282,13 +3443,13 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseConditionGroup$inb GetSecurityFirewallConfigRulesetsSecurityResponseConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponseConditions$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseConditionGroupFromJSON( jsonString: string, @@ -3309,16 +3470,20 @@ export function getSecurityFirewallConfigRulesetsSecurityResponseConditionGroupF export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2, + ) ); /** @internal */ @@ -3327,10 +3492,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyLogHeadersFromJSON( jsonString: string, @@ -3351,16 +3518,20 @@ export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction, + ) ); /** @internal */ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo - > = z.nativeEnum( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo, + ) ); /** @internal */ @@ -3369,16 +3540,18 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRateLimit, z.ZodTypeDef, unknown - > = z.object({ - action: z.nullable( - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction$inboundSchema, - ).optional(), - algo: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1ActionAction$inboundSchema, + ).optional(), + algo: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRateLimitFromJSON( jsonString: string, @@ -3401,10 +3574,12 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRedirect, z.ZodTypeDef, unknown - > = z.object({ - location: types.string(), - permanent: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRedirectFromJSON( jsonString: string, @@ -3427,28 +3602,26 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponseMitigate$inboundSc GetSecurityFirewallConfigRulesetsSecurityResponseMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRateLimit$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActive1Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyActive2$inboundSchema, + ]), ), - ).optional(), - redirect: z.nullable( - z.lazy(() => + rateLimit: z.nullable(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRateLimit$inboundSchema + )).optional(), + redirect: z.nullable(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyRedirect$inboundSchema - ), - ).optional(), - }); + )).optional(), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponseMitigateFromJSON( jsonString: string, @@ -3471,13 +3644,13 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSON GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponseMitigate$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActionFromJSON( jsonString: string, @@ -3500,22 +3673,20 @@ export const GetSecurityFirewallConfigRulesetsSecurityResponse1$inboundSchema: GetSecurityFirewallConfigRulesetsSecurityResponse1, z.ZodTypeDef, unknown - > = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponseConditionGroup$inboundSchema - ), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - z.lazy(() => + )), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional(z.lazy(() => GetSecurityFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema - ), - ), - }); + )), + }) + ); export function getSecurityFirewallConfigRulesetsSecurityResponse1FromJSON( jsonString: string, @@ -3538,14 +3709,16 @@ export const GetSecurityFirewallConfigRulesets$inboundSchema: z.ZodType< GetSecurityFirewallConfigRulesets, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse1$inboundSchema - )), - z.record(z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse2$inboundSchema - )), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse1$inboundSchema + )), + z.record(z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse2$inboundSchema + )), + ]) +); export function getSecurityFirewallConfigRulesetsFromJSON( jsonString: string, @@ -3558,61 +3731,69 @@ export function getSecurityFirewallConfigRulesetsFromJSON( } /** @internal */ -export const Active$inboundSchema: z.ZodType = z - .object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array( - z.lazy(() => GetSecurityFirewallConfigChanges$inboundSchema), - ), - conditions: types.optional( - z.array(z.lazy(() => GetSecurityFirewallConfigConditions$inboundSchema)), - ), - crs: types.optional( - z.lazy(() => GetSecurityFirewallConfigSecurityResponseCrs$inboundSchema), - ), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array( - z.lazy(() => GetSecurityFirewallConfigSecurityResponseIps$inboundSchema), - ), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeaders2$inboundSchema, - ]), - ), - managedRules: types.optional( - z.lazy(() => GetSecurityFirewallConfigManagedRules$inboundSchema), - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array( - smartUnion([ +export const Active$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array( + z.lazy(() => GetSecurityFirewallConfigChanges$inboundSchema), + ), + conditions: types.optional( + z.array( + z.lazy(() => GetSecurityFirewallConfigConditions$inboundSchema), + ), + ), + crs: types.optional( z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse1$inboundSchema + GetSecurityFirewallConfigSecurityResponseCrs$inboundSchema ), + ), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array( z.lazy(() => - GetSecurityFirewallConfigRulesSecurityResponse2$inboundSchema + GetSecurityFirewallConfigSecurityResponseIps$inboundSchema ), - ]), - ), - rulesets: types.optional( - smartUnion([ - z.array( + ), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeaders2$inboundSchema, + ]), + ), + managedRules: types.optional( + z.lazy(() => GetSecurityFirewallConfigManagedRules$inboundSchema), + ), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array( + smartUnion([ z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse1$inboundSchema + GetSecurityFirewallConfigRulesSecurityResponse1$inboundSchema ), - ), - z.record( z.lazy(() => - GetSecurityFirewallConfigRulesetsSecurityResponse2$inboundSchema + GetSecurityFirewallConfigRulesSecurityResponse2$inboundSchema ), - ), - ]), - ), - updatedAt: types.string(), - version: types.number(), - }); + ]), + ), + rulesets: types.optional( + smartUnion([ + z.array( + z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse1$inboundSchema + ), + ), + z.record( + z.lazy(() => + GetSecurityFirewallConfigRulesetsSecurityResponse2$inboundSchema + ), + ), + ]), + ), + updatedAt: types.string(), + version: types.number(), + }) + ); export function activeFromJSON( jsonString: string, @@ -3629,7 +3810,7 @@ export const GetSecurityFirewallConfigSecurityChanges$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getSecurityFirewallConfigSecurityChangesFromJSON( jsonString: string, @@ -3650,20 +3831,25 @@ export function getSecurityFirewallConfigSecurityChangesFromJSON( /** @internal */ export const GetSecurityFirewallConfigSecurityOp$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityOp -> = z.nativeEnum(GetSecurityFirewallConfigSecurityOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityOp) +); /** @internal */ export const GetSecurityFirewallConfigSecurityType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetSecurityFirewallConfigSecurityType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityType) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityValue$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function getSecurityFirewallConfigSecurityValueFromJSON( jsonString: string, @@ -3682,15 +3868,17 @@ export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponse GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: GetSecurityFirewallConfigSecurityOp$inboundSchema, - type: GetSecurityFirewallConfigSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: GetSecurityFirewallConfigSecurityOp$inboundSchema, + type: GetSecurityFirewallConfigSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function getSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyConditionsFromJSON( jsonString: string, @@ -3712,13 +3900,13 @@ export const GetSecurityFirewallConfigConditionGroup$inboundSchema: z.ZodType< GetSecurityFirewallConfigConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyConditions$inboundSchema - ), - ), -}); + )), + }) +); export function getSecurityFirewallConfigConditionGroupFromJSON( jsonString: string, @@ -3742,15 +3930,17 @@ export const GetSecurityFirewallConfigSecurityConditions$inboundSchema: GetSecurityFirewallConfigSecurityConditions, z.ZodTypeDef, unknown - > = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => GetSecurityFirewallConfigConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => GetSecurityFirewallConfigConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) + ); export function getSecurityFirewallConfigSecurityConditionsFromJSON( jsonString: string, @@ -3772,8 +3962,10 @@ export function getSecurityFirewallConfigSecurityConditionsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction, + ) ); /** @internal */ @@ -3781,11 +3973,13 @@ export const GetSecurityFirewallConfigGen$inboundSchema: z.ZodType< GetSecurityFirewallConfigGen, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigGenFromJSON( jsonString: string, @@ -3801,8 +3995,10 @@ export function getSecurityFirewallConfigGenFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction, + ) ); /** @internal */ @@ -3810,11 +4006,13 @@ export const GetSecurityFirewallConfigJava$inboundSchema: z.ZodType< GetSecurityFirewallConfigJava, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigJavaFromJSON( jsonString: string, @@ -3830,8 +4028,10 @@ export function getSecurityFirewallConfigJavaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction, + ) ); /** @internal */ @@ -3839,11 +4039,13 @@ export const GetSecurityFirewallConfigLfi$inboundSchema: z.ZodType< GetSecurityFirewallConfigLfi, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsLfiAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigLfiFromJSON( jsonString: string, @@ -3859,8 +4061,10 @@ export function getSecurityFirewallConfigLfiFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction, + ) ); /** @internal */ @@ -3868,11 +4072,13 @@ export const GetSecurityFirewallConfigMa$inboundSchema: z.ZodType< GetSecurityFirewallConfigMa, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsMaAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigMaFromJSON( jsonString: string, @@ -3888,8 +4094,10 @@ export function getSecurityFirewallConfigMaFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction, + ) ); /** @internal */ @@ -3897,11 +4105,13 @@ export const GetSecurityFirewallConfigPhp$inboundSchema: z.ZodType< GetSecurityFirewallConfigPhp, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsPhpAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigPhpFromJSON( jsonString: string, @@ -3917,8 +4127,10 @@ export function getSecurityFirewallConfigPhpFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction, + ) ); /** @internal */ @@ -3926,11 +4138,13 @@ export const GetSecurityFirewallConfigRce$inboundSchema: z.ZodType< GetSecurityFirewallConfigRce, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRceAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigRceFromJSON( jsonString: string, @@ -3946,8 +4160,10 @@ export function getSecurityFirewallConfigRceFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction, + ) ); /** @internal */ @@ -3955,11 +4171,13 @@ export const GetSecurityFirewallConfigRfi$inboundSchema: z.ZodType< GetSecurityFirewallConfigRfi, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsRfiAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigRfiFromJSON( jsonString: string, @@ -3975,8 +4193,10 @@ export function getSecurityFirewallConfigRfiFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction, + ) ); /** @internal */ @@ -3984,11 +4204,13 @@ export const GetSecurityFirewallConfigSd$inboundSchema: z.ZodType< GetSecurityFirewallConfigSd, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSdAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSdFromJSON( jsonString: string, @@ -4004,8 +4226,10 @@ export function getSecurityFirewallConfigSdFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction, + ) ); /** @internal */ @@ -4013,11 +4237,13 @@ export const GetSecurityFirewallConfigSf$inboundSchema: z.ZodType< GetSecurityFirewallConfigSf, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSfAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSfFromJSON( jsonString: string, @@ -4033,8 +4259,10 @@ export function getSecurityFirewallConfigSfFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction, + ) ); /** @internal */ @@ -4042,11 +4270,13 @@ export const GetSecurityFirewallConfigSqli$inboundSchema: z.ZodType< GetSecurityFirewallConfigSqli, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsSqliAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigSqliFromJSON( jsonString: string, @@ -4062,8 +4292,10 @@ export function getSecurityFirewallConfigSqliFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction, + ) ); /** @internal */ @@ -4071,11 +4303,13 @@ export const GetSecurityFirewallConfigXss$inboundSchema: z.ZodType< GetSecurityFirewallConfigXss, z.ZodTypeDef, unknown -> = z.object({ - action: - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftCrsXssAction$inboundSchema, + active: types.boolean(), + }) +); export function getSecurityFirewallConfigXssFromJSON( jsonString: string, @@ -4092,19 +4326,21 @@ export const GetSecurityFirewallConfigCrs$inboundSchema: z.ZodType< GetSecurityFirewallConfigCrs, z.ZodTypeDef, unknown -> = z.object({ - gen: z.lazy(() => GetSecurityFirewallConfigGen$inboundSchema), - java: z.lazy(() => GetSecurityFirewallConfigJava$inboundSchema), - lfi: z.lazy(() => GetSecurityFirewallConfigLfi$inboundSchema), - ma: z.lazy(() => GetSecurityFirewallConfigMa$inboundSchema), - php: z.lazy(() => GetSecurityFirewallConfigPhp$inboundSchema), - rce: z.lazy(() => GetSecurityFirewallConfigRce$inboundSchema), - rfi: z.lazy(() => GetSecurityFirewallConfigRfi$inboundSchema), - sd: z.lazy(() => GetSecurityFirewallConfigSd$inboundSchema), - sf: z.lazy(() => GetSecurityFirewallConfigSf$inboundSchema), - sqli: z.lazy(() => GetSecurityFirewallConfigSqli$inboundSchema), - xss: z.lazy(() => GetSecurityFirewallConfigXss$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => GetSecurityFirewallConfigGen$inboundSchema), + java: z.lazy(() => GetSecurityFirewallConfigJava$inboundSchema), + lfi: z.lazy(() => GetSecurityFirewallConfigLfi$inboundSchema), + ma: z.lazy(() => GetSecurityFirewallConfigMa$inboundSchema), + php: z.lazy(() => GetSecurityFirewallConfigPhp$inboundSchema), + rce: z.lazy(() => GetSecurityFirewallConfigRce$inboundSchema), + rfi: z.lazy(() => GetSecurityFirewallConfigRfi$inboundSchema), + sd: z.lazy(() => GetSecurityFirewallConfigSd$inboundSchema), + sf: z.lazy(() => GetSecurityFirewallConfigSf$inboundSchema), + sqli: z.lazy(() => GetSecurityFirewallConfigSqli$inboundSchema), + xss: z.lazy(() => GetSecurityFirewallConfigXss$inboundSchema), + }) +); export function getSecurityFirewallConfigCrsFromJSON( jsonString: string, @@ -4118,21 +4354,25 @@ export function getSecurityFirewallConfigCrsFromJSON( /** @internal */ export const GetSecurityFirewallConfigSecurityAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigSecurityAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigSecurityAction) + ); /** @internal */ export const GetSecurityFirewallConfigIps$inboundSchema: z.ZodType< GetSecurityFirewallConfigIps, z.ZodTypeDef, unknown -> = z.object({ - action: GetSecurityFirewallConfigSecurityAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetSecurityFirewallConfigSecurityAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigIpsFromJSON( jsonString: string, @@ -4146,8 +4386,10 @@ export function getSecurityFirewallConfigIpsFromJSON( /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurity2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallConfigLogHeadersSecurity2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallConfigLogHeadersSecurity2) + ); /** @internal */ export const GetSecurityFirewallConfigSecurityLogHeaders$inboundSchema: @@ -4155,10 +4397,12 @@ export const GetSecurityFirewallConfigSecurityLogHeaders$inboundSchema: GetSecurityFirewallConfigSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurity2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurity2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigSecurityLogHeadersFromJSON( jsonString: string, @@ -4180,8 +4424,10 @@ export function getSecurityFirewallConfigSecurityLogHeadersFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction, + ) ); /** @internal */ @@ -4189,15 +4435,17 @@ export const GetSecurityFirewallConfigSecurityAiBots$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigSecurityAiBotsFromJSON( jsonString: string, @@ -4219,8 +4467,10 @@ export function getSecurityFirewallConfigSecurityAiBotsFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -4228,15 +4478,17 @@ export const GetSecurityFirewallConfigBotProtection$inboundSchema: z.ZodType< GetSecurityFirewallConfigBotProtection, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigBotProtectionFromJSON( jsonString: string, @@ -4253,8 +4505,10 @@ export function getSecurityFirewallConfigBotProtectionFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction, + ) ); /** @internal */ @@ -4262,15 +4516,17 @@ export const GetSecurityFirewallConfigSecurityOwasp$inboundSchema: z.ZodType< GetSecurityFirewallConfigSecurityOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function getSecurityFirewallConfigSecurityOwaspFromJSON( jsonString: string, @@ -4287,8 +4543,10 @@ export function getSecurityFirewallConfigSecurityOwaspFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -4297,15 +4555,17 @@ export const GetSecurityFirewallConfigSecurityTrafficSources$inboundSchema: GetSecurityFirewallConfigSecurityTrafficSources, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityTrafficSourcesFromJSON( jsonString: string, @@ -4327,8 +4587,10 @@ export function getSecurityFirewallConfigSecurityTrafficSourcesFromJSON( export const GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction - > = z.nativeEnum( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -4337,15 +4599,17 @@ export const GetSecurityFirewallConfigSecurityVercelRuleset$inboundSchema: GetSecurityFirewallConfigSecurityVercelRuleset, z.ZodTypeDef, unknown - > = z.object({ - action: types.optional( - GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + GetSecurityFirewallConfigSecurityResponse200ApplicationJSONResponseBodyDraftManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function getSecurityFirewallConfigSecurityVercelRulesetFromJSON( jsonString: string, @@ -4369,34 +4633,32 @@ export const GetSecurityFirewallConfigSecurityManagedRules$inboundSchema: GetSecurityFirewallConfigSecurityManagedRules, z.ZodTypeDef, unknown - > = z.object({ - ai_bots: types.optional( - z.lazy(() => GetSecurityFirewallConfigSecurityAiBots$inboundSchema), - ), - bot_protection: types.optional( - z.lazy(() => GetSecurityFirewallConfigBotProtection$inboundSchema), - ), - owasp: types.optional( - z.lazy(() => GetSecurityFirewallConfigSecurityOwasp$inboundSchema), - ), - traffic_sources: types.optional( - z.lazy(() => - GetSecurityFirewallConfigSecurityTrafficSources$inboundSchema + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional( + z.lazy(() => GetSecurityFirewallConfigSecurityAiBots$inboundSchema), ), - ), - vercel_ruleset: types.optional( - z.lazy(() => - GetSecurityFirewallConfigSecurityVercelRuleset$inboundSchema + bot_protection: types.optional( + z.lazy(() => GetSecurityFirewallConfigBotProtection$inboundSchema), ), - ), - }).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); - }); + owasp: types.optional( + z.lazy(() => GetSecurityFirewallConfigSecurityOwasp$inboundSchema), + ), + traffic_sources: types.optional(z.lazy(() => + GetSecurityFirewallConfigSecurityTrafficSources$inboundSchema + )), + vercel_ruleset: types.optional(z.lazy(() => + GetSecurityFirewallConfigSecurityVercelRuleset$inboundSchema + )), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) + ); export function getSecurityFirewallConfigSecurityManagedRulesFromJSON( jsonString: string, @@ -4418,16 +4680,20 @@ export function getSecurityFirewallConfigSecurityManagedRulesFromJSON( export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2Action, + ) ); /** @internal */ export const GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2 - > = z.nativeEnum( - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2, + ) ); /** @internal */ @@ -4436,10 +4702,12 @@ export const GetSecurityFirewallConfigRulesSecurityResponseLogHeaders$inboundSch GetSecurityFirewallConfigRulesSecurityResponseLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + GetSecurityFirewallConfigLogHeadersSecurityResponse200ApplicationJSONResponseBodyDraftRules2$inboundSchema, + ]) + ); export function getSecurityFirewallConfigRulesSecurityResponseLogHeadersFromJSON( jsonString: string, @@ -4460,6 +4728,8 @@ export function getSecurityFirewallConfigRulesSecurityResponseLogHeadersFromJSON export const GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction$inboundSchema: z.ZodNativeEnum< typeof GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction - > = z.nativeEnum( - GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetSecurityFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyDraft2ActionAction, + ) ); diff --git a/src/models/getsecurityfirewalleventsop.ts b/src/models/getsecurityfirewalleventsop.ts index 698c080c6e..22b57bdf6f 100644 --- a/src/models/getsecurityfirewalleventsop.ts +++ b/src/models/getsecurityfirewalleventsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -91,21 +91,23 @@ export type GetSecurityFirewallEventsResponseBody = { /** @internal */ export const GetSecurityFirewallEventsQueryParamSort$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallEventsQueryParamSort); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallEventsQueryParamSort) + ); /** @internal */ export const QueryParamAction$outboundSchema: z.ZodNativeEnum< typeof QueryParamAction -> = z.nativeEnum(QueryParamAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamAction)); /** @internal */ -export const ActionType$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(ActionType); +export const ActionType$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ActionType)); /** @internal */ -export const RuleKind$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(RuleKind); +export const RuleKind$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RuleKind)); /** @internal */ export type GetSecurityFirewallEventsRequest$Outbound = { @@ -131,23 +133,25 @@ export const GetSecurityFirewallEventsRequest$outboundSchema: z.ZodType< GetSecurityFirewallEventsRequest$Outbound, z.ZodTypeDef, GetSecurityFirewallEventsRequest -> = z.object({ - sort: GetSecurityFirewallEventsQueryParamSort$outboundSchema.optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - projectId: z.string(), - startTimestamp: z.number().int().optional(), - endTimestamp: z.number().int().optional(), - hosts: z.string().optional(), - ip: z.array(z.string()).optional(), - isActive: z.boolean().optional(), - action: z.array(QueryParamAction$outboundSchema).optional(), - actionType: z.array(ActionType$outboundSchema).optional(), - ruleKind: RuleKind$outboundSchema.optional(), - ruleId: z.array(z.string()).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sort: GetSecurityFirewallEventsQueryParamSort$outboundSchema.optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + projectId: z.string(), + startTimestamp: z.number().int().optional(), + endTimestamp: z.number().int().optional(), + hosts: z.string().optional(), + ip: z.array(z.string()).optional(), + isActive: z.boolean().optional(), + action: z.array(QueryParamAction$outboundSchema).optional(), + actionType: z.array(ActionType$outboundSchema).optional(), + ruleKind: RuleKind$outboundSchema.optional(), + ruleId: z.array(z.string()).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSecurityFirewallEventsRequestToJSON( getSecurityFirewallEventsRequest: GetSecurityFirewallEventsRequest, @@ -164,23 +168,25 @@ export const GetSecurityFirewallEventsActions$inboundSchema: z.ZodType< GetSecurityFirewallEventsActions, z.ZodTypeDef, unknown -> = z.object({ - action: types.string(), - action_type: types.string(), - count: types.number(), - endTime: types.string(), - host: types.string(), - isActive: types.boolean(), - public_ip: types.string(), - ruleId: types.nullable(types.string()), - ruleName: types.nullable(types.string()), - startTime: types.string(), -}).transform((v) => { - return remap$(v, { - "action_type": "actionType", - "public_ip": "publicIp", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.string(), + action_type: types.string(), + count: types.number(), + endTime: types.string(), + host: types.string(), + isActive: types.boolean(), + public_ip: types.string(), + ruleId: types.nullable(types.string()), + ruleName: types.nullable(types.string()), + startTime: types.string(), + }).transform((v) => { + return remap$(v, { + "action_type": "actionType", + "public_ip": "publicIp", + }); + }) +); export function getSecurityFirewallEventsActionsFromJSON( jsonString: string, @@ -197,10 +203,12 @@ export const GetSecurityFirewallEventsPagination$inboundSchema: z.ZodType< GetSecurityFirewallEventsPagination, z.ZodTypeDef, unknown -> = z.object({ - hasMore: types.boolean(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + hasMore: types.boolean(), + next: types.nullable(types.string()), + }) +); export function getSecurityFirewallEventsPaginationFromJSON( jsonString: string, @@ -218,12 +226,14 @@ export const GetSecurityFirewallEventsResponseBody$inboundSchema: z.ZodType< GetSecurityFirewallEventsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - actions: z.array( - z.lazy(() => GetSecurityFirewallEventsActions$inboundSchema), - ), - pagination: z.lazy(() => GetSecurityFirewallEventsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: z.array( + z.lazy(() => GetSecurityFirewallEventsActions$inboundSchema), + ), + pagination: z.lazy(() => GetSecurityFirewallEventsPagination$inboundSchema), + }) +); export function getSecurityFirewallEventsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsecurityfirewalleventssummaryop.ts b/src/models/getsecurityfirewalleventssummaryop.ts index 197443c831..54e4bd6858 100644 --- a/src/models/getsecurityfirewalleventssummaryop.ts +++ b/src/models/getsecurityfirewalleventssummaryop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -64,18 +64,20 @@ export type GetSecurityFirewallEventsSummaryResponseBody = { /** @internal */ export const GetSecurityFirewallEventsSummaryQueryParamAction$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetSecurityFirewallEventsSummaryQueryParamAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetSecurityFirewallEventsSummaryQueryParamAction) + ); /** @internal */ export const QueryParamActionType$outboundSchema: z.ZodNativeEnum< typeof QueryParamActionType -> = z.nativeEnum(QueryParamActionType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamActionType)); /** @internal */ export const QueryParamRuleKind$outboundSchema: z.ZodNativeEnum< typeof QueryParamRuleKind -> = z.nativeEnum(QueryParamRuleKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamRuleKind)); /** @internal */ export type GetSecurityFirewallEventsSummaryRequest$Outbound = { @@ -98,22 +100,24 @@ export const GetSecurityFirewallEventsSummaryRequest$outboundSchema: z.ZodType< GetSecurityFirewallEventsSummaryRequest$Outbound, z.ZodTypeDef, GetSecurityFirewallEventsSummaryRequest -> = z.object({ - projectId: z.string(), - startTimestamp: z.number().int().optional(), - endTimestamp: z.number().int().optional(), - hosts: z.string().optional(), - ip: z.array(z.string()).optional(), - isActive: z.boolean().optional(), - action: z.array( - GetSecurityFirewallEventsSummaryQueryParamAction$outboundSchema, - ).optional(), - actionType: z.array(QueryParamActionType$outboundSchema).optional(), - ruleKind: QueryParamRuleKind$outboundSchema.optional(), - ruleId: z.array(z.string()).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + startTimestamp: z.number().int().optional(), + endTimestamp: z.number().int().optional(), + hosts: z.string().optional(), + ip: z.array(z.string()).optional(), + isActive: z.boolean().optional(), + action: z.array( + GetSecurityFirewallEventsSummaryQueryParamAction$outboundSchema, + ).optional(), + actionType: z.array(QueryParamActionType$outboundSchema).optional(), + ruleKind: QueryParamRuleKind$outboundSchema.optional(), + ruleId: z.array(z.string()).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSecurityFirewallEventsSummaryRequestToJSON( getSecurityFirewallEventsSummaryRequest: @@ -132,14 +136,16 @@ export const GetSecurityFirewallEventsSummaryResponseBody$inboundSchema: GetSecurityFirewallEventsSummaryResponseBody, z.ZodTypeDef, unknown - > = z.object({ - blockingIps: types.number(), - byAction: z.record(types.number()), - byActionType: z.record(types.number()), - challengingIps: types.number(), - other: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockingIps: types.number(), + byAction: z.record(types.number()), + byActionType: z.record(types.number()), + challengingIps: types.number(), + other: types.number(), + total: types.number(), + }) + ); export function getSecurityFirewallEventsSummaryResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsessioncommandop.ts b/src/models/getsessioncommandop.ts index 403714054a..fa5b61b5d1 100644 --- a/src/models/getsessioncommandop.ts +++ b/src/models/getsessioncommandop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -58,9 +58,8 @@ export type GetSessionCommandResponseBody = { }; /** @internal */ -export const Wait$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Wait, -); +export const Wait$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Wait)); /** @internal */ export type GetSessionCommandRequest$Outbound = { @@ -76,13 +75,15 @@ export const GetSessionCommandRequest$outboundSchema: z.ZodType< GetSessionCommandRequest$Outbound, z.ZodTypeDef, GetSessionCommandRequest -> = z.object({ - sessionId: z.string(), - cmdId: z.string(), - wait: Wait$outboundSchema.default("false"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + cmdId: z.string(), + wait: Wait$outboundSchema.default("false"), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSessionCommandRequestToJSON( getSessionCommandRequest: GetSessionCommandRequest, @@ -97,9 +98,11 @@ export const GetSessionCommandResponseBody$inboundSchema: z.ZodType< GetSessionCommandResponseBody, z.ZodTypeDef, unknown -> = z.object({ - command: SessionCommand$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + command: SessionCommand$inboundSchema, + }) +); export function getSessionCommandResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsessionop.ts b/src/models/getsessionop.ts index 73c846c34e..5f2baec6b9 100644 --- a/src/models/getsessionop.ts +++ b/src/models/getsessionop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SandboxPublicRoute, @@ -50,11 +50,13 @@ export const GetSessionRequest$outboundSchema: z.ZodType< GetSessionRequest$Outbound, z.ZodTypeDef, GetSessionRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSessionRequestToJSON( getSessionRequest: GetSessionRequest, @@ -69,10 +71,12 @@ export const GetSessionResponseBody$inboundSchema: z.ZodType< GetSessionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - routes: z.array(SandboxPublicRoute$inboundSchema), - session: Session$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + routes: z.array(SandboxPublicRoute$inboundSchema), + session: Session$inboundSchema, + }) +); export function getSessionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsessionsnapshotop.ts b/src/models/getsessionsnapshotop.ts index d8d553530c..51cd6c8218 100644 --- a/src/models/getsessionsnapshotop.ts +++ b/src/models/getsessionsnapshotop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { Snapshot, Snapshot$inboundSchema } from "./snapshot.js"; @@ -42,11 +46,21 @@ export const GetSessionSnapshotRequest$outboundSchema: z.ZodType< GetSessionSnapshotRequest$Outbound, z.ZodTypeDef, GetSessionSnapshotRequest -> = z.object({ - snapshotId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + snapshotId: z.string().refine(withinMaxLength$(33), { + message: "Value must be at most 33 characters long", + }).refine( + matchesPattern$("^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$", 33), + { + message: + "Value must match pattern ^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$", + }, + ), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSessionSnapshotRequestToJSON( getSessionSnapshotRequest: GetSessionSnapshotRequest, @@ -61,9 +75,11 @@ export const GetSessionSnapshotResponseBody$inboundSchema: z.ZodType< GetSessionSnapshotResponseBody, z.ZodTypeDef, unknown -> = z.object({ - snapshot: Snapshot$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + snapshot: Snapshot$inboundSchema, + }) +); export function getSessionSnapshotResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsharedenvvarop.ts b/src/models/getsharedenvvarop.ts index 89dee3f633..879359f8d0 100644 --- a/src/models/getsharedenvvarop.ts +++ b/src/models/getsharedenvvarop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -171,11 +171,13 @@ export const GetSharedEnvVarRequest$outboundSchema: z.ZodType< GetSharedEnvVarRequest$Outbound, z.ZodTypeDef, GetSharedEnvVarRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getSharedEnvVarRequestToJSON( getSharedEnvVarRequest: GetSharedEnvVarRequest, @@ -190,12 +192,14 @@ export const GetSharedEnvVarLastEditedByPrincipal2$inboundSchema: z.ZodType< GetSharedEnvVarLastEditedByPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) +); export function getSharedEnvVarLastEditedByPrincipal2FromJSON( jsonString: string, @@ -213,13 +217,15 @@ export const GetSharedEnvVarLastEditedByPrincipal1$inboundSchema: z.ZodType< GetSharedEnvVarLastEditedByPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) +); export function getSharedEnvVarLastEditedByPrincipal1FromJSON( jsonString: string, @@ -237,10 +243,12 @@ export const GetSharedEnvVarLastEditedByPrincipal$inboundSchema: z.ZodType< GetSharedEnvVarLastEditedByPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetSharedEnvVarLastEditedByPrincipal1$inboundSchema), - z.lazy(() => GetSharedEnvVarLastEditedByPrincipal2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetSharedEnvVarLastEditedByPrincipal1$inboundSchema), + z.lazy(() => GetSharedEnvVarLastEditedByPrincipal2$inboundSchema), + ]) +); export function getSharedEnvVarLastEditedByPrincipalFromJSON( jsonString: string, @@ -256,45 +264,45 @@ export function getSharedEnvVarLastEditedByPrincipalFromJSON( /** @internal */ export const GetSharedEnvVarTarget$inboundSchema: z.ZodNativeEnum< typeof GetSharedEnvVarTarget -> = z.nativeEnum(GetSharedEnvVarTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetSharedEnvVarTarget)); /** @internal */ export const GetSharedEnvVarType$inboundSchema: z.ZodNativeEnum< typeof GetSharedEnvVarType -> = z.nativeEnum(GetSharedEnvVarType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetSharedEnvVarType)); /** @internal */ export const GetSharedEnvVarResponseBody$inboundSchema: z.ZodType< GetSharedEnvVarResponseBody, z.ZodTypeDef, unknown -> = z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => GetSharedEnvVarLastEditedByPrincipal1$inboundSchema), z.lazy(() => GetSharedEnvVarLastEditedByPrincipal2$inboundSchema), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional(z.array(GetSharedEnvVarTarget$inboundSchema)), - type: types.optional(GetSharedEnvVarType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), -}); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional(z.array(GetSharedEnvVarTarget$inboundSchema)), + type: types.optional(GetSharedEnvVarType$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) +); export function getSharedEnvVarResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getstoragestoresbyidop.ts b/src/models/getstoragestoresbyidop.ts index ee494fbbfb..55f0875fbe 100644 --- a/src/models/getstoragestoresbyidop.ts +++ b/src/models/getstoragestoresbyidop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -183,16 +183,18 @@ export const GetStorageStoresByIdRequest$outboundSchema: z.ZodType< GetStorageStoresByIdRequest$Outbound, z.ZodTypeDef, GetStorageStoresByIdRequest -> = z.object({ - id: z.string(), - skipMetadata: z.boolean().optional(), - includeGuides: z.boolean().optional(), -}).transform((v) => { - return remap$(v, { - skipMetadata: "skip-metadata", - includeGuides: "include-guides", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + skipMetadata: z.boolean().optional(), + includeGuides: z.boolean().optional(), + }).transform((v) => { + return remap$(v, { + skipMetadata: "skip-metadata", + includeGuides: "include-guides", + }); + }) +); export function getStorageStoresByIdRequestToJSON( getStorageStoresByIdRequest: GetStorageStoresByIdRequest, @@ -205,19 +207,21 @@ export function getStorageStoresByIdRequestToJSON( } /** @internal */ -export const Providers2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Providers2); +export const Providers2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Providers2)); /** @internal */ -export const Providers1$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Providers1); +export const Providers1$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Providers1)); /** @internal */ export const GetStorageStoresByIdProviders$inboundSchema: z.ZodType< GetStorageStoresByIdProviders, z.ZodTypeDef, unknown -> = smartUnion([z.array(Providers1$inboundSchema), Providers2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(Providers1$inboundSchema), Providers2$inboundSchema]) +); export function getStorageStoresByIdProvidersFromJSON( jsonString: string, @@ -230,15 +234,17 @@ export function getStorageStoresByIdProvidersFromJSON( } /** @internal */ -export const Git$inboundSchema: z.ZodType = z - .object({ - owners: types.optional(z.array(types.string())), - providers: smartUnion([ - z.array(Providers1$inboundSchema), - Providers2$inboundSchema, - ]), - repos: types.optional(z.array(types.string())), - }); +export const Git$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + owners: types.optional(z.array(types.string())), + providers: smartUnion([ + z.array(Providers1$inboundSchema), + Providers2$inboundSchema, + ]), + repos: types.optional(z.array(types.string())), + }) + ); export function gitFromJSON( jsonString: string, @@ -255,9 +261,11 @@ export const ProjectFilter$inboundSchema: z.ZodType< ProjectFilter, z.ZodTypeDef, unknown -> = z.object({ - git: types.optional(z.lazy(() => Git$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + git: types.optional(z.lazy(() => Git$inboundSchema)), + }) +); export function projectFilterFromJSON( jsonString: string, @@ -274,10 +282,12 @@ export const GetStorageStoresByIdActions$inboundSchema: z.ZodType< GetStorageStoresByIdActions, z.ZodTypeDef, unknown -> = z.object({ - environments: z.array(types.string()), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(types.string()), + slug: types.string(), + }) +); export function getStorageStoresByIdActionsFromJSON( jsonString: string, @@ -294,10 +304,12 @@ export const GetStorageStoresByIdDeployments$inboundSchema: z.ZodType< GetStorageStoresByIdDeployments, z.ZodTypeDef, unknown -> = z.object({ - actions: z.array(z.lazy(() => GetStorageStoresByIdActions$inboundSchema)), - required: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actions: z.array(z.lazy(() => GetStorageStoresByIdActions$inboundSchema)), + required: types.boolean(), + }) +); export function getStorageStoresByIdDeploymentsFromJSON( jsonString: string, @@ -312,28 +324,33 @@ export function getStorageStoresByIdDeploymentsFromJSON( /** @internal */ export const GetStorageStoresByIdFramework$inboundSchema: z.ZodNativeEnum< typeof GetStorageStoresByIdFramework -> = z.nativeEnum(GetStorageStoresByIdFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetStorageStoresByIdFramework) +); /** @internal */ export const GetStorageStoresByIdProjectsMetadata$inboundSchema: z.ZodType< GetStorageStoresByIdProjectsMetadata, z.ZodTypeDef, unknown -> = z.object({ - deployments: types.optional( - z.lazy(() => GetStorageStoresByIdDeployments$inboundSchema), - ), - environments: z.array(types.string()), - environmentVariables: z.array(types.string()), - envVarPrefix: types.nullable(types.string()), - framework: z.nullable(GetStorageStoresByIdFramework$inboundSchema).optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - makeEnvVarsSensitive: types.optional(types.boolean()), - name: types.string(), - projectId: types.string(), - secretsOutdated: types.optional(types.literal(true)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployments: types.optional( + z.lazy(() => GetStorageStoresByIdDeployments$inboundSchema), + ), + environments: z.array(types.string()), + environmentVariables: z.array(types.string()), + envVarPrefix: types.nullable(types.string()), + framework: z.nullable(GetStorageStoresByIdFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + makeEnvVarsSensitive: types.optional(types.boolean()), + name: types.string(), + projectId: types.string(), + secretsOutdated: types.optional(types.literal(true)), + }) +); export function getStorageStoresByIdProjectsMetadataFromJSON( jsonString: string, @@ -349,22 +366,24 @@ export function getStorageStoresByIdProjectsMetadataFromJSON( /** @internal */ export const GetStorageStoresByIdStatus$inboundSchema: z.ZodNativeEnum< typeof GetStorageStoresByIdStatus -> = z.nativeEnum(GetStorageStoresByIdStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetStorageStoresByIdStatus)); /** @internal */ export const GetStorageStoresByIdStore$inboundSchema: z.ZodType< GetStorageStoresByIdStore, z.ZodTypeDef, unknown -> = z.object({ - projectFilter: types.optional(z.lazy(() => ProjectFilter$inboundSchema)), - projectsMetadata: z.array( - z.lazy(() => GetStorageStoresByIdProjectsMetadata$inboundSchema), - ), - status: types.nullable(GetStorageStoresByIdStatus$inboundSchema), - totalConnectedProjects: types.optional(types.number()), - usageQuotaExceeded: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectFilter: types.optional(z.lazy(() => ProjectFilter$inboundSchema)), + projectsMetadata: z.array( + z.lazy(() => GetStorageStoresByIdProjectsMetadata$inboundSchema), + ), + status: types.nullable(GetStorageStoresByIdStatus$inboundSchema), + totalConnectedProjects: types.optional(types.number()), + usageQuotaExceeded: types.boolean(), + }) +); export function getStorageStoresByIdStoreFromJSON( jsonString: string, @@ -381,9 +400,11 @@ export const GetStorageStoresByIdResponseBody$inboundSchema: z.ZodType< GetStorageStoresByIdResponseBody, z.ZodTypeDef, unknown -> = z.object({ - store: z.lazy(() => GetStorageStoresByIdStore$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: z.lazy(() => GetStorageStoresByIdStore$inboundSchema), + }) +); export function getStorageStoresByIdResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getsupportedtldsop.ts b/src/models/getsupportedtldsop.ts index a7615ba5df..4e83e0187e 100644 --- a/src/models/getsupportedtldsop.ts +++ b/src/models/getsupportedtldsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetSupportedTldsRequest = { teamId?: string | undefined; @@ -18,9 +19,11 @@ export const GetSupportedTldsRequest$outboundSchema: z.ZodType< GetSupportedTldsRequest$Outbound, z.ZodTypeDef, GetSupportedTldsRequest -> = z.object({ - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + }) +); export function getSupportedTldsRequestToJSON( getSupportedTldsRequest: GetSupportedTldsRequest, diff --git a/src/models/getteamaccessrequestop.ts b/src/models/getteamaccessrequestop.ts index 11233d7d94..59443c7679 100644 --- a/src/models/getteamaccessrequestop.ts +++ b/src/models/getteamaccessrequestop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -78,6 +78,10 @@ export type GetTeamAccessRequestJoinedFrom = { repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; @@ -130,10 +134,12 @@ export const GetTeamAccessRequestRequest$outboundSchema: z.ZodType< GetTeamAccessRequestRequest$Outbound, z.ZodTypeDef, GetTeamAccessRequestRequest -> = z.object({ - userId: z.string(), - teamId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + userId: z.string(), + teamId: z.string(), + }) +); export function getTeamAccessRequestRequestToJSON( getTeamAccessRequestRequest: GetTeamAccessRequestRequest, @@ -150,9 +156,11 @@ export const GetTeamAccessRequestBitbucket$inboundSchema: z.ZodType< GetTeamAccessRequestBitbucket, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamAccessRequestBitbucketFromJSON( jsonString: string, @@ -169,9 +177,11 @@ export const GetTeamAccessRequestGithub$inboundSchema: z.ZodType< GetTeamAccessRequestGithub, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamAccessRequestGithubFromJSON( jsonString: string, @@ -188,9 +198,11 @@ export const GetTeamAccessRequestGitlab$inboundSchema: z.ZodType< GetTeamAccessRequestGitlab, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamAccessRequestGitlabFromJSON( jsonString: string, @@ -207,7 +219,9 @@ export const GetTeamAccessRequestGitUserId$inboundSchema: z.ZodType< GetTeamAccessRequestGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getTeamAccessRequestGitUserIdFromJSON( jsonString: string, @@ -222,26 +236,29 @@ export function getTeamAccessRequestGitUserIdFromJSON( /** @internal */ export const GetTeamAccessRequestOrigin$inboundSchema: z.ZodNativeEnum< typeof GetTeamAccessRequestOrigin -> = z.nativeEnum(GetTeamAccessRequestOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamAccessRequestOrigin)); /** @internal */ export const GetTeamAccessRequestJoinedFrom$inboundSchema: z.ZodType< GetTeamAccessRequestJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: GetTeamAccessRequestOrigin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: GetTeamAccessRequestOrigin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function getTeamAccessRequestJoinedFromFromJSON( jsonString: string, @@ -258,22 +275,24 @@ export const GetTeamAccessRequestResponseBody$inboundSchema: z.ZodType< GetTeamAccessRequestResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessRequestedAt: types.number(), - bitbucket: types.nullable( - z.lazy(() => GetTeamAccessRequestBitbucket$inboundSchema), - ), - confirmed: types.boolean(), - github: types.nullable( - z.lazy(() => GetTeamAccessRequestGithub$inboundSchema), - ), - gitlab: types.nullable( - z.lazy(() => GetTeamAccessRequestGitlab$inboundSchema), - ), - joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$inboundSchema), - teamName: types.string(), - teamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessRequestedAt: types.number(), + bitbucket: types.nullable( + z.lazy(() => GetTeamAccessRequestBitbucket$inboundSchema), + ), + confirmed: types.boolean(), + github: types.nullable( + z.lazy(() => GetTeamAccessRequestGithub$inboundSchema), + ), + gitlab: types.nullable( + z.lazy(() => GetTeamAccessRequestGitlab$inboundSchema), + ), + joinedFrom: z.lazy(() => GetTeamAccessRequestJoinedFrom$inboundSchema), + teamName: types.string(), + teamSlug: types.string(), + }) +); export function getTeamAccessRequestResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getteammembersop.ts b/src/models/getteammembersop.ts index 81cbcdd600..29f61e5cbf 100644 --- a/src/models/getteammembersop.ts +++ b/src/models/getteammembersop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -203,6 +203,10 @@ export type GetTeamMembersJoinedFrom = { repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; @@ -350,7 +354,9 @@ export type GetTeamMembersResponseBody = { /** @internal */ export const GetTeamMembersQueryParamRole$outboundSchema: z.ZodNativeEnum< typeof GetTeamMembersQueryParamRole -> = z.nativeEnum(GetTeamMembersQueryParamRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetTeamMembersQueryParamRole) +); /** @internal */ export type GetTeamMembersRequest$Outbound = { @@ -370,17 +376,19 @@ export const GetTeamMembersRequest$outboundSchema: z.ZodType< GetTeamMembersRequest$Outbound, z.ZodTypeDef, GetTeamMembersRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - search: z.string().optional(), - role: GetTeamMembersQueryParamRole$outboundSchema.optional(), - excludeProject: z.string().optional(), - eligibleMembersForProjectId: z.string().optional(), - teamId: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + search: z.string().optional(), + role: GetTeamMembersQueryParamRole$outboundSchema.optional(), + excludeProject: z.string().optional(), + eligibleMembersForProjectId: z.string().optional(), + teamId: z.string(), + slug: z.string().optional(), + }) +); export function getTeamMembersRequestToJSON( getTeamMembersRequest: GetTeamMembersRequest, @@ -393,43 +401,47 @@ export function getTeamMembersRequestToJSON( /** @internal */ export const GetTeamMembersProjects$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersProjects -> = z.nativeEnum(GetTeamMembersProjects); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamMembersProjects)); /** @internal */ export const GetTeamMembersRole$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersRole -> = z.nativeEnum(GetTeamMembersRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamMembersRole)); /** @internal */ export const GetTeamMembersTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamPermissions -> = z.nativeEnum(GetTeamMembersTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetTeamMembersTeamPermissions) +); /** @internal */ export const GetTeamMembersTeamRoles$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamRoles -> = z.nativeEnum(GetTeamMembersTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamMembersTeamRoles)); /** @internal */ export const EmailInviteCodes$inboundSchema: z.ZodType< EmailInviteCodes, z.ZodTypeDef, unknown -> = z.object({ - accessGroups: types.optional(z.array(types.string())), - createdAt: types.optional(types.number()), - email: types.optional(types.string()), - entitlements: types.optional(z.array(types.string())), - expired: types.optional(types.literal(true)), - id: types.string(), - isDSyncUser: types.boolean(), - projects: types.optional(z.record(GetTeamMembersProjects$inboundSchema)), - role: types.optional(GetTeamMembersRole$inboundSchema), - teamPermissions: types.optional( - z.array(GetTeamMembersTeamPermissions$inboundSchema), - ), - teamRoles: types.optional(z.array(GetTeamMembersTeamRoles$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroups: types.optional(z.array(types.string())), + createdAt: types.optional(types.number()), + email: types.optional(types.string()), + entitlements: types.optional(z.array(types.string())), + expired: types.optional(types.literal(true)), + id: types.string(), + isDSyncUser: types.boolean(), + projects: types.optional(z.record(GetTeamMembersProjects$inboundSchema)), + role: types.optional(GetTeamMembersRole$inboundSchema), + teamPermissions: types.optional( + z.array(GetTeamMembersTeamPermissions$inboundSchema), + ), + teamRoles: types.optional(z.array(GetTeamMembersTeamRoles$inboundSchema)), + }) +); export function emailInviteCodesFromJSON( jsonString: string, @@ -446,9 +458,11 @@ export const GetTeamMembersBitbucket$inboundSchema: z.ZodType< GetTeamMembersBitbucket, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamMembersBitbucketFromJSON( jsonString: string, @@ -465,9 +479,11 @@ export const GetTeamMembersGithub$inboundSchema: z.ZodType< GetTeamMembersGithub, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamMembersGithubFromJSON( jsonString: string, @@ -484,9 +500,11 @@ export const GetTeamMembersGitlab$inboundSchema: z.ZodType< GetTeamMembersGitlab, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function getTeamMembersGitlabFromJSON( jsonString: string, @@ -503,7 +521,9 @@ export const GetTeamMembersGitUserId$inboundSchema: z.ZodType< GetTeamMembersGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function getTeamMembersGitUserIdFromJSON( jsonString: string, @@ -518,26 +538,29 @@ export function getTeamMembersGitUserIdFromJSON( /** @internal */ export const GetTeamMembersOrigin$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersOrigin -> = z.nativeEnum(GetTeamMembersOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamMembersOrigin)); /** @internal */ export const GetTeamMembersJoinedFrom$inboundSchema: z.ZodType< GetTeamMembersJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: GetTeamMembersOrigin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: GetTeamMembersOrigin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function getTeamMembersJoinedFromFromJSON( jsonString: string, @@ -552,23 +575,27 @@ export function getTeamMembersJoinedFromFromJSON( /** @internal */ export const MembershipSource$inboundSchema: z.ZodNativeEnum< typeof MembershipSource -> = z.nativeEnum(MembershipSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MembershipSource)); /** @internal */ export const GetTeamMembersTeamsResponseRole$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamsResponseRole -> = z.nativeEnum(GetTeamMembersTeamsResponseRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetTeamMembersTeamsResponseRole) +); /** @internal */ export const GetTeamMembersTeamsProjects$inboundSchema: z.ZodType< GetTeamMembersTeamsProjects, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - role: types.optional(GetTeamMembersTeamsResponseRole$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + role: types.optional(GetTeamMembersTeamsResponseRole$inboundSchema), + }) +); export function getTeamMembersTeamsProjectsFromJSON( jsonString: string, @@ -583,37 +610,39 @@ export function getTeamMembersTeamsProjectsFromJSON( /** @internal */ export const GetTeamMembersTeamsRole$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamsRole -> = z.nativeEnum(GetTeamMembersTeamsRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetTeamMembersTeamsRole)); /** @internal */ export const GetTeamMembersMembers$inboundSchema: z.ZodType< GetTeamMembersMembers, z.ZodTypeDef, unknown -> = z.object({ - accessRequestedAt: types.optional(types.number()), - avatar: types.optional(types.string()), - bitbucket: types.optional( - z.lazy(() => GetTeamMembersBitbucket$inboundSchema), - ), - confirmed: types.boolean(), - createdAt: types.number(), - email: types.string(), - github: types.optional(z.lazy(() => GetTeamMembersGithub$inboundSchema)), - gitlab: types.optional(z.lazy(() => GetTeamMembersGitlab$inboundSchema)), - isEnterpriseManaged: types.optional(types.boolean()), - joinedFrom: types.optional( - z.lazy(() => GetTeamMembersJoinedFrom$inboundSchema), - ), - membershipSource: MembershipSource$inboundSchema, - name: types.optional(types.string()), - projects: types.optional( - z.array(z.lazy(() => GetTeamMembersTeamsProjects$inboundSchema)), - ), - role: GetTeamMembersTeamsRole$inboundSchema, - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessRequestedAt: types.optional(types.number()), + avatar: types.optional(types.string()), + bitbucket: types.optional( + z.lazy(() => GetTeamMembersBitbucket$inboundSchema), + ), + confirmed: types.boolean(), + createdAt: types.number(), + email: types.string(), + github: types.optional(z.lazy(() => GetTeamMembersGithub$inboundSchema)), + gitlab: types.optional(z.lazy(() => GetTeamMembersGitlab$inboundSchema)), + isEnterpriseManaged: types.optional(types.boolean()), + joinedFrom: types.optional( + z.lazy(() => GetTeamMembersJoinedFrom$inboundSchema), + ), + membershipSource: MembershipSource$inboundSchema, + name: types.optional(types.string()), + projects: types.optional( + z.array(z.lazy(() => GetTeamMembersTeamsProjects$inboundSchema)), + ), + role: GetTeamMembersTeamsRole$inboundSchema, + uid: types.string(), + username: types.string(), + }) +); export function getTeamMembersMembersFromJSON( jsonString: string, @@ -630,12 +659,14 @@ export const GetTeamMembersPagination$inboundSchema: z.ZodType< GetTeamMembersPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - hasNext: types.boolean(), - next: types.nullable(types.number()), - prev: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + hasNext: types.boolean(), + next: types.nullable(types.number()), + prev: types.nullable(types.number()), + }) +); export function getTeamMembersPaginationFromJSON( jsonString: string, @@ -652,13 +683,15 @@ export const GetTeamMembersResponseBody$inboundSchema: z.ZodType< GetTeamMembersResponseBody, z.ZodTypeDef, unknown -> = z.object({ - emailInviteCodes: types.optional( - z.array(z.lazy(() => EmailInviteCodes$inboundSchema)), - ), - members: z.array(z.lazy(() => GetTeamMembersMembers$inboundSchema)), - pagination: z.lazy(() => GetTeamMembersPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + emailInviteCodes: types.optional( + z.array(z.lazy(() => EmailInviteCodes$inboundSchema)), + ), + members: z.array(z.lazy(() => GetTeamMembersMembers$inboundSchema)), + pagination: z.lazy(() => GetTeamMembersPagination$inboundSchema), + }) +); export function getTeamMembersResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getteamop.ts b/src/models/getteamop.ts index e10855d7eb..e8ecb9741e 100644 --- a/src/models/getteamop.ts +++ b/src/models/getteamop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type GetTeamRequest = { slug?: string | undefined; @@ -23,10 +24,12 @@ export const GetTeamRequest$outboundSchema: z.ZodType< GetTeamRequest$Outbound, z.ZodTypeDef, GetTeamRequest -> = z.object({ - slug: z.string().optional(), - teamId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string().optional(), + teamId: z.string(), + }) +); export function getTeamRequestToJSON(getTeamRequest: GetTeamRequest): string { return JSON.stringify(GetTeamRequest$outboundSchema.parse(getTeamRequest)); diff --git a/src/models/getteamsop.ts b/src/models/getteamsop.ts index 024af41da6..1b4a238808 100644 --- a/src/models/getteamsop.ts +++ b/src/models/getteamsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { Pagination, Pagination$inboundSchema } from "./pagination.js"; @@ -66,11 +66,13 @@ export const GetTeamsRequest$outboundSchema: z.ZodType< GetTeamsRequest$Outbound, z.ZodTypeDef, GetTeamsRequest -> = z.object({ - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + }) +); export function getTeamsRequestToJSON( getTeamsRequest: GetTeamsRequest, @@ -83,7 +85,9 @@ export const ResponseBodyTeams$inboundSchema: z.ZodType< ResponseBodyTeams, z.ZodTypeDef, unknown -> = smartUnion([Team$inboundSchema, TeamLimited$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([Team$inboundSchema, TeamLimited$inboundSchema]) +); export function responseBodyTeamsFromJSON( jsonString: string, @@ -100,10 +104,12 @@ export const GetTeamsResponseBody2$inboundSchema: z.ZodType< GetTeamsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: Pagination$inboundSchema, - teams: z.array(smartUnion([Team$inboundSchema, TeamLimited$inboundSchema])), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: Pagination$inboundSchema, + teams: z.array(smartUnion([Team$inboundSchema, TeamLimited$inboundSchema])), + }) +); export function getTeamsResponseBody2FromJSON( jsonString: string, @@ -120,10 +126,12 @@ export const GetTeamsResponseBody1$inboundSchema: z.ZodType< GetTeamsResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - pagination: Pagination$inboundSchema, - teams: z.array(Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: Pagination$inboundSchema, + teams: z.array(Team$inboundSchema), + }) +); export function getTeamsResponseBody1FromJSON( jsonString: string, @@ -140,10 +148,12 @@ export const GetTeamsResponseBody$inboundSchema: z.ZodType< GetTeamsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetTeamsResponseBody1$inboundSchema), - z.lazy(() => GetTeamsResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetTeamsResponseBody1$inboundSchema), + z.lazy(() => GetTeamsResponseBody2$inboundSchema), + ]) +); export function getTeamsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/gettldop.ts b/src/models/gettldop.ts index 3274769bd5..ee51bfd25f 100644 --- a/src/models/gettldop.ts +++ b/src/models/gettldop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -50,10 +50,12 @@ export const GetTldRequest$outboundSchema: z.ZodType< GetTldRequest$Outbound, z.ZodTypeDef, GetTldRequest -> = z.object({ - tld: z.string(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tld: z.string(), + teamId: z.string().optional(), + }) +); export function getTldRequestToJSON(getTldRequest: GetTldRequest): string { return JSON.stringify(GetTldRequest$outboundSchema.parse(getTldRequest)); @@ -64,10 +66,9 @@ export const GetTldDomainsRegistrarResponseBody$inboundSchema: z.ZodType< GetTldDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([TldNotSupported$inboundSchema, HttpApiDecodeError$inboundSchema]) +); export function getTldDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -85,9 +86,11 @@ export const GetTldResponseBody$inboundSchema: z.ZodType< GetTldResponseBody, z.ZodTypeDef, unknown -> = z.object({ - supportedLanguageCodes: z.record(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + supportedLanguageCodes: z.record(types.string()), + }) +); export function getTldResponseBodyFromJSON( jsonString: string, diff --git a/src/models/gettldpriceop.ts b/src/models/gettldpriceop.ts index ce36bd65a4..fb28f28aa0 100644 --- a/src/models/gettldpriceop.ts +++ b/src/models/gettldpriceop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -64,11 +64,13 @@ export const GetTldPriceRequest$outboundSchema: z.ZodType< GetTldPriceRequest$Outbound, z.ZodTypeDef, GetTldPriceRequest -> = z.object({ - tld: z.string(), - years: z.string().optional(), - teamId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tld: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), + }) +); export function getTldPriceRequestToJSON( getTldPriceRequest: GetTldPriceRequest, @@ -83,10 +85,9 @@ export const GetTldPriceDomainsRegistrarResponseBody$inboundSchema: z.ZodType< GetTldPriceDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([TldNotSupported$inboundSchema, HttpApiDecodeError$inboundSchema]) +); export function getTldPriceDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -109,7 +110,9 @@ export const PurchasePrice$inboundSchema: z.ZodType< PurchasePrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function purchasePriceFromJSON( jsonString: string, @@ -126,7 +129,9 @@ export const RenewalPrice$inboundSchema: z.ZodType< RenewalPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function renewalPriceFromJSON( jsonString: string, @@ -143,7 +148,9 @@ export const TransferPrice$inboundSchema: z.ZodType< TransferPrice, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.string()]) +); export function transferPriceFromJSON( jsonString: string, @@ -160,12 +167,14 @@ export const GetTldPriceResponseBody$inboundSchema: z.ZodType< GetTldPriceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - years: types.number(), - purchasePrice: smartUnion([types.number(), types.string()]), - renewalPrice: smartUnion([types.number(), types.string()]), - transferPrice: smartUnion([types.number(), types.string()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + years: types.number(), + purchasePrice: smartUnion([types.number(), types.string()]), + renewalPrice: smartUnion([types.number(), types.string()]), + transferPrice: smartUnion([types.number(), types.string()]), + }) +); export function getTldPriceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelciinvocationlogsop.ts b/src/models/getvercelciinvocationlogsop.ts index a99d6349b5..4c26ebbf5b 100644 --- a/src/models/getvercelciinvocationlogsop.ts +++ b/src/models/getvercelciinvocationlogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -191,7 +191,7 @@ export type GetVercelCiInvocationLogsResponseBody = { /** @internal */ export const QueryParamLevel$outboundSchema: z.ZodNativeEnum< typeof QueryParamLevel -> = z.nativeEnum(QueryParamLevel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamLevel)); /** @internal */ export type GetVercelCiInvocationLogsRequest$Outbound = { @@ -207,13 +207,15 @@ export const GetVercelCiInvocationLogsRequest$outboundSchema: z.ZodType< GetVercelCiInvocationLogsRequest$Outbound, z.ZodTypeDef, GetVercelCiInvocationLogsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - level: z.array(QueryParamLevel$outboundSchema).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + level: z.array(QueryParamLevel$outboundSchema).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiInvocationLogsRequestToJSON( getVercelCiInvocationLogsRequest: GetVercelCiInvocationLogsRequest, @@ -231,10 +233,12 @@ export const GetVercelCiInvocationLogsVercelCiResponse500Error$inboundSchema: GetVercelCiInvocationLogsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiInvocationLogsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -258,21 +262,23 @@ export const GetVercelCiInvocationLogsVercelCiResponse500ResponseBody$inboundSch GetVercelCiInvocationLogsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationLogsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationLogsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationLogsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationLogsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationLogsVercelCiResponseError$inboundSchema: @@ -280,12 +286,14 @@ export const GetVercelCiInvocationLogsVercelCiResponseError$inboundSchema: GetVercelCiInvocationLogsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiInvocationLogsVercelCiResponseErrorFromJSON( jsonString: string, @@ -309,31 +317,35 @@ export const GetVercelCiInvocationLogsVercelCiResponse429ResponseBody$inboundSch GetVercelCiInvocationLogsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationLogsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationLogsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationLogsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationLogsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationLogsVercelCiError$inboundSchema: z.ZodType< GetVercelCiInvocationLogsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationLogsVercelCiErrorFromJSON( jsonString: string, @@ -352,29 +364,33 @@ export const GetVercelCiInvocationLogsVercelCiResponseResponseBody$inboundSchema GetVercelCiInvocationLogsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiInvocationLogsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationLogsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationLogsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationLogsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationLogsError$inboundSchema: z.ZodType< GetVercelCiInvocationLogsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationLogsErrorFromJSON( jsonString: string, @@ -392,27 +408,31 @@ export const GetVercelCiInvocationLogsVercelCiResponseBody$inboundSchema: GetVercelCiInvocationLogsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiInvocationLogsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationLogsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationLogsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationLogsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ -export const Lines$inboundSchema: z.ZodType = z - .object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), - }); +export const Lines$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) + ); export function linesFromJSON( jsonString: string, @@ -429,9 +449,11 @@ export const GetVercelCiInvocationLogsResponseBody$inboundSchema: z.ZodType< GetVercelCiInvocationLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - lines: z.array(z.lazy(() => Lines$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lines: z.array(z.lazy(() => Lines$inboundSchema)), + }) +); export function getVercelCiInvocationLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelciinvocationop.ts b/src/models/getvercelciinvocationop.ts index 8d6299cfb0..4493c689cc 100644 --- a/src/models/getvercelciinvocationop.ts +++ b/src/models/getvercelciinvocationop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -331,12 +331,14 @@ export const GetVercelCiInvocationRequest$outboundSchema: z.ZodType< GetVercelCiInvocationRequest$Outbound, z.ZodTypeDef, GetVercelCiInvocationRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiInvocationRequestToJSON( getVercelCiInvocationRequest: GetVercelCiInvocationRequest, @@ -354,10 +356,12 @@ export const GetVercelCiInvocationVercelCiResponse500Error$inboundSchema: GetVercelCiInvocationVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiInvocationVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -381,31 +385,35 @@ export const GetVercelCiInvocationVercelCiResponse500ResponseBody$inboundSchema: GetVercelCiInvocationVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationVercelCiResponseError$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiInvocationVercelCiResponseErrorFromJSON( jsonString: string, @@ -429,31 +437,35 @@ export const GetVercelCiInvocationVercelCiResponse429ResponseBody$inboundSchema: GetVercelCiInvocationVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationVercelCiError$inboundSchema: z.ZodType< GetVercelCiInvocationVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationVercelCiErrorFromJSON( jsonString: string, @@ -472,29 +484,33 @@ export const GetVercelCiInvocationVercelCiResponseResponseBody$inboundSchema: GetVercelCiInvocationVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiInvocationVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationError$inboundSchema: z.ZodType< GetVercelCiInvocationError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationErrorFromJSON( jsonString: string, @@ -511,31 +527,35 @@ export const GetVercelCiInvocationVercelCiResponseBody$inboundSchema: z.ZodType< GetVercelCiInvocationVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => GetVercelCiInvocationError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new GetVercelCiInvocationVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const GetVercelCiInvocationSource2$inboundSchema: z.ZodType< GetVercelCiInvocationSource2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-native-checks"), - deploymentId: types.string(), - projectId: types.string(), - deploymentTargetSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-native-checks"), + deploymentId: types.string(), + projectId: types.string(), + deploymentTargetSlug: types.string(), + }) +); export function getVercelCiInvocationSource2FromJSON( jsonString: string, @@ -552,9 +572,11 @@ export const GetVercelCiInvocationSource1$inboundSchema: z.ZodType< GetVercelCiInvocationSource1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-ci"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-ci"), + }) +); export function getVercelCiInvocationSource1FromJSON( jsonString: string, @@ -571,10 +593,12 @@ export const GetVercelCiInvocationSource$inboundSchema: z.ZodType< GetVercelCiInvocationSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetVercelCiInvocationSource1$inboundSchema), - z.lazy(() => GetVercelCiInvocationSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiInvocationSource1$inboundSchema), + z.lazy(() => GetVercelCiInvocationSource2$inboundSchema), + ]) +); export function getVercelCiInvocationSourceFromJSON( jsonString: string, @@ -591,9 +615,11 @@ export const GetVercelCiInvocationSkipped$inboundSchema: z.ZodType< GetVercelCiInvocationSkipped, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) +); export function getVercelCiInvocationSkippedFromJSON( jsonString: string, @@ -610,9 +636,11 @@ export const GetVercelCiInvocationBootstrappingStarted$inboundSchema: z.ZodType< GetVercelCiInvocationBootstrappingStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function getVercelCiInvocationBootstrappingStartedFromJSON( jsonString: string, @@ -635,9 +663,11 @@ export const GetVercelCiInvocationBootstrappingFailed$inboundSchema: z.ZodType< GetVercelCiInvocationBootstrappingFailed, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) +); export function getVercelCiInvocationBootstrappingFailedFromJSON( jsonString: string, @@ -660,11 +690,13 @@ export const GetVercelCiInvocationSandboxSnapshotted$inboundSchema: z.ZodType< GetVercelCiInvocationSandboxSnapshotted, z.ZodTypeDef, unknown -> = z.object({ - sandboxSnapshotId: types.string(), - workingDirectory: types.string(), - snapshottedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxSnapshotId: types.string(), + workingDirectory: types.string(), + snapshottedAt: types.optional(types.number()), + }) +); export function getVercelCiInvocationSandboxSnapshottedFromJSON( jsonString: string, @@ -687,11 +719,13 @@ export const GetVercelCiInvocationSandboxNamed$inboundSchema: z.ZodType< GetVercelCiInvocationSandboxNamed, z.ZodTypeDef, unknown -> = z.object({ - sandboxName: types.string(), - workingDirectory: types.string(), - readyAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxName: types.string(), + workingDirectory: types.string(), + readyAt: types.optional(types.number()), + }) +); export function getVercelCiInvocationSandboxNamedFromJSON( jsonString: string, @@ -706,16 +740,22 @@ export function getVercelCiInvocationSandboxNamedFromJSON( /** @internal */ export const GetVercelCiInvocationVercelCiSource$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationVercelCiSource -> = z.nativeEnum(GetVercelCiInvocationVercelCiSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationVercelCiSource) +); /** @internal */ export const GetVercelCiInvocationJobDefinitionsCreated$inboundSchema: z.ZodType = - z.object({ - names: z.array(types.string()), - source: types.optional(GetVercelCiInvocationVercelCiSource$inboundSchema), - scheduledAt: types.optional(types.number()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.array(types.string()), + source: types.optional( + GetVercelCiInvocationVercelCiSource$inboundSchema, + ), + scheduledAt: types.optional(types.number()), + }) + ); export function getVercelCiInvocationJobDefinitionsCreatedFromJSON( jsonString: string, @@ -736,17 +776,21 @@ export function getVercelCiInvocationJobDefinitionsCreatedFromJSON( /** @internal */ export const GetVercelCiInvocationConclusion$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationConclusion -> = z.nativeEnum(GetVercelCiInvocationConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationConclusion) +); /** @internal */ export const GetVercelCiInvocationCompleted$inboundSchema: z.ZodType< GetVercelCiInvocationCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: types.optional(GetVercelCiInvocationConclusion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: types.optional(GetVercelCiInvocationConclusion$inboundSchema), + }) +); export function getVercelCiInvocationCompletedFromJSON( jsonString: string, @@ -761,16 +805,20 @@ export function getVercelCiInvocationCompletedFromJSON( /** @internal */ export const GetVercelCiInvocationResult$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationResult -> = z.nativeEnum(GetVercelCiInvocationResult); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationResult) +); /** @internal */ export const GetVercelCiInvocationSetupConclusion$inboundSchema: z.ZodType< GetVercelCiInvocationSetupConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: GetVercelCiInvocationResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: GetVercelCiInvocationResult$inboundSchema, + }) +); export function getVercelCiInvocationSetupConclusionFromJSON( jsonString: string, @@ -786,16 +834,20 @@ export function getVercelCiInvocationSetupConclusionFromJSON( /** @internal */ export const GetVercelCiInvocationVercelCiResult$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationVercelCiResult -> = z.nativeEnum(GetVercelCiInvocationVercelCiResult); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationVercelCiResult) +); /** @internal */ export const GetVercelCiInvocationRunConclusion$inboundSchema: z.ZodType< GetVercelCiInvocationRunConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: GetVercelCiInvocationVercelCiResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: GetVercelCiInvocationVercelCiResult$inboundSchema, + }) +); export function getVercelCiInvocationRunConclusionFromJSON( jsonString: string, @@ -811,54 +863,58 @@ export function getVercelCiInvocationRunConclusionFromJSON( /** @internal */ export const GetVercelCiInvocationStatus$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationStatus -> = z.nativeEnum(GetVercelCiInvocationStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationStatus) +); /** @internal */ export const GetVercelCiInvocationInvocation$inboundSchema: z.ZodType< GetVercelCiInvocationInvocation, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), - teamId: types.string(), - source: z.union([ - z.lazy(() => GetVercelCiInvocationSource1$inboundSchema), - z.lazy(() => GetVercelCiInvocationSource2$inboundSchema), - ]), - createdAt: types.number(), - repositoryKey: types.string(), - ref: types.string(), - commitSha: types.string(), - skipped: types.optional( - z.lazy(() => GetVercelCiInvocationSkipped$inboundSchema), - ), - bootstrappingStarted: types.optional( - z.lazy(() => GetVercelCiInvocationBootstrappingStarted$inboundSchema), - ), - bootstrappingFailed: types.optional( - z.lazy(() => GetVercelCiInvocationBootstrappingFailed$inboundSchema), - ), - sandboxSnapshotted: types.optional( - z.lazy(() => GetVercelCiInvocationSandboxSnapshotted$inboundSchema), - ), - sandboxNamed: types.optional( - z.lazy(() => GetVercelCiInvocationSandboxNamed$inboundSchema), - ), - jobDefinitionsCreated: types.optional( - z.lazy(() => GetVercelCiInvocationJobDefinitionsCreated$inboundSchema), - ), - completed: types.optional( - z.lazy(() => GetVercelCiInvocationCompleted$inboundSchema), - ), - setupConclusion: types.optional( - z.lazy(() => GetVercelCiInvocationSetupConclusion$inboundSchema), - ), - runConclusion: types.optional( - z.lazy(() => GetVercelCiInvocationRunConclusion$inboundSchema), - ), - status: GetVercelCiInvocationStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + teamId: types.string(), + source: z.union([ + z.lazy(() => GetVercelCiInvocationSource1$inboundSchema), + z.lazy(() => GetVercelCiInvocationSource2$inboundSchema), + ]), + createdAt: types.number(), + repositoryKey: types.string(), + ref: types.string(), + commitSha: types.string(), + skipped: types.optional( + z.lazy(() => GetVercelCiInvocationSkipped$inboundSchema), + ), + bootstrappingStarted: types.optional( + z.lazy(() => GetVercelCiInvocationBootstrappingStarted$inboundSchema), + ), + bootstrappingFailed: types.optional( + z.lazy(() => GetVercelCiInvocationBootstrappingFailed$inboundSchema), + ), + sandboxSnapshotted: types.optional( + z.lazy(() => GetVercelCiInvocationSandboxSnapshotted$inboundSchema), + ), + sandboxNamed: types.optional( + z.lazy(() => GetVercelCiInvocationSandboxNamed$inboundSchema), + ), + jobDefinitionsCreated: types.optional( + z.lazy(() => GetVercelCiInvocationJobDefinitionsCreated$inboundSchema), + ), + completed: types.optional( + z.lazy(() => GetVercelCiInvocationCompleted$inboundSchema), + ), + setupConclusion: types.optional( + z.lazy(() => GetVercelCiInvocationSetupConclusion$inboundSchema), + ), + runConclusion: types.optional( + z.lazy(() => GetVercelCiInvocationRunConclusion$inboundSchema), + ), + status: GetVercelCiInvocationStatus$inboundSchema, + }) +); export function getVercelCiInvocationInvocationFromJSON( jsonString: string, @@ -875,7 +931,7 @@ export const GetVercelCiInvocationRepositories$inboundSchema: z.ZodType< GetVercelCiInvocationRepositories, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getVercelCiInvocationRepositoriesFromJSON( jsonString: string, @@ -892,10 +948,12 @@ export const GetVercelCiInvocationResponseBody$inboundSchema: z.ZodType< GetVercelCiInvocationResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invocation: z.lazy(() => GetVercelCiInvocationInvocation$inboundSchema), - repositories: z.lazy(() => GetVercelCiInvocationRepositories$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocation: z.lazy(() => GetVercelCiInvocationInvocation$inboundSchema), + repositories: z.lazy(() => GetVercelCiInvocationRepositories$inboundSchema), + }) +); export function getVercelCiInvocationResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelciinvocationtreeop.ts b/src/models/getvercelciinvocationtreeop.ts index 9300d674ff..3671638057 100644 --- a/src/models/getvercelciinvocationtreeop.ts +++ b/src/models/getvercelciinvocationtreeop.ts @@ -3,7 +3,8 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -509,13 +510,17 @@ export const GetVercelCiInvocationTreeRequest$outboundSchema: z.ZodType< GetVercelCiInvocationTreeRequest$Outbound, z.ZodTypeDef, GetVercelCiInvocationTreeRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string().optional(), - follow: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string().refine(matchesPattern$("^[1-9][0-9]*$"), { + message: "Value must match pattern ^[1-9][0-9]*$", + }).optional(), + follow: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiInvocationTreeRequestToJSON( getVercelCiInvocationTreeRequest: GetVercelCiInvocationTreeRequest, @@ -533,10 +538,12 @@ export const GetVercelCiInvocationTreeVercelCiResponse500Error$inboundSchema: GetVercelCiInvocationTreeVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiInvocationTreeVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -560,21 +567,23 @@ export const GetVercelCiInvocationTreeVercelCiResponse500ResponseBody$inboundSch GetVercelCiInvocationTreeVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationTreeVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationTreeVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationTreeVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationTreeVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationTreeVercelCiResponseError$inboundSchema: @@ -582,12 +591,14 @@ export const GetVercelCiInvocationTreeVercelCiResponseError$inboundSchema: GetVercelCiInvocationTreeVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiInvocationTreeVercelCiResponseErrorFromJSON( jsonString: string, @@ -611,31 +622,35 @@ export const GetVercelCiInvocationTreeVercelCiResponse429ResponseBody$inboundSch GetVercelCiInvocationTreeVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiInvocationTreeVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationTreeVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiInvocationTreeVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationTreeVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationTreeVercelCiError$inboundSchema: z.ZodType< GetVercelCiInvocationTreeVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationTreeVercelCiErrorFromJSON( jsonString: string, @@ -654,29 +669,33 @@ export const GetVercelCiInvocationTreeVercelCiResponseResponseBody$inboundSchema GetVercelCiInvocationTreeVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiInvocationTreeVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationTreeVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationTreeVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationTreeVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationTreeError$inboundSchema: z.ZodType< GetVercelCiInvocationTreeError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiInvocationTreeErrorFromJSON( jsonString: string, @@ -694,31 +713,35 @@ export const GetVercelCiInvocationTreeVercelCiResponseBody$inboundSchema: GetVercelCiInvocationTreeVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiInvocationTreeError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiInvocationTreeVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiInvocationTreeError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiInvocationTreeVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiInvocationTreeSource2$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSource2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-native-checks"), - deploymentId: types.string(), - projectId: types.string(), - deploymentTargetSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-native-checks"), + deploymentId: types.string(), + projectId: types.string(), + deploymentTargetSlug: types.string(), + }) +); export function getVercelCiInvocationTreeSource2FromJSON( jsonString: string, @@ -735,9 +758,11 @@ export const GetVercelCiInvocationTreeSource1$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSource1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-ci"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-ci"), + }) +); export function getVercelCiInvocationTreeSource1FromJSON( jsonString: string, @@ -754,10 +779,12 @@ export const GetVercelCiInvocationTreeSource$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetVercelCiInvocationTreeSource1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiInvocationTreeSource1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeSource2$inboundSchema), + ]) +); export function getVercelCiInvocationTreeSourceFromJSON( jsonString: string, @@ -774,9 +801,11 @@ export const GetVercelCiInvocationTreeSkipped$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSkipped, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) +); export function getVercelCiInvocationTreeSkippedFromJSON( jsonString: string, @@ -794,9 +823,11 @@ export const GetVercelCiInvocationTreeBootstrappingStarted$inboundSchema: GetVercelCiInvocationTreeBootstrappingStarted, z.ZodTypeDef, unknown - > = z.object({ - startedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) + ); export function getVercelCiInvocationTreeBootstrappingStartedFromJSON( jsonString: string, @@ -820,9 +851,11 @@ export const GetVercelCiInvocationTreeBootstrappingFailed$inboundSchema: GetVercelCiInvocationTreeBootstrappingFailed, z.ZodTypeDef, unknown - > = z.object({ - reason: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) + ); export function getVercelCiInvocationTreeBootstrappingFailedFromJSON( jsonString: string, @@ -846,11 +879,13 @@ export const GetVercelCiInvocationTreeSandboxSnapshotted$inboundSchema: GetVercelCiInvocationTreeSandboxSnapshotted, z.ZodTypeDef, unknown - > = z.object({ - sandboxSnapshotId: types.string(), - workingDirectory: types.string(), - snapshottedAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxSnapshotId: types.string(), + workingDirectory: types.string(), + snapshottedAt: types.optional(types.number()), + }) + ); export function getVercelCiInvocationTreeSandboxSnapshottedFromJSON( jsonString: string, @@ -873,11 +908,13 @@ export const GetVercelCiInvocationTreeSandboxNamed$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSandboxNamed, z.ZodTypeDef, unknown -> = z.object({ - sandboxName: types.string(), - workingDirectory: types.string(), - readyAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxName: types.string(), + workingDirectory: types.string(), + readyAt: types.optional(types.number()), + }) +); export function getVercelCiInvocationTreeSandboxNamedFromJSON( jsonString: string, @@ -892,8 +929,10 @@ export function getVercelCiInvocationTreeSandboxNamedFromJSON( /** @internal */ export const GetVercelCiInvocationTreeVercelCiSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetVercelCiInvocationTreeVercelCiSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeVercelCiSource) + ); /** @internal */ export const GetVercelCiInvocationTreeJobDefinitionsCreated$inboundSchema: @@ -901,13 +940,15 @@ export const GetVercelCiInvocationTreeJobDefinitionsCreated$inboundSchema: GetVercelCiInvocationTreeJobDefinitionsCreated, z.ZodTypeDef, unknown - > = z.object({ - names: z.array(types.string()), - source: types.optional( - GetVercelCiInvocationTreeVercelCiSource$inboundSchema, - ), - scheduledAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.array(types.string()), + source: types.optional( + GetVercelCiInvocationTreeVercelCiSource$inboundSchema, + ), + scheduledAt: types.optional(types.number()), + }) + ); export function getVercelCiInvocationTreeJobDefinitionsCreatedFromJSON( jsonString: string, @@ -928,17 +969,23 @@ export function getVercelCiInvocationTreeJobDefinitionsCreatedFromJSON( /** @internal */ export const GetVercelCiInvocationTreeConclusion$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationTreeConclusion -> = z.nativeEnum(GetVercelCiInvocationTreeConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeConclusion) +); /** @internal */ export const GetVercelCiInvocationTreeCompleted$inboundSchema: z.ZodType< GetVercelCiInvocationTreeCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: types.optional(GetVercelCiInvocationTreeConclusion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: types.optional( + GetVercelCiInvocationTreeConclusion$inboundSchema, + ), + }) +); export function getVercelCiInvocationTreeCompletedFromJSON( jsonString: string, @@ -954,16 +1001,20 @@ export function getVercelCiInvocationTreeCompletedFromJSON( /** @internal */ export const GetVercelCiInvocationTreeResult$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationTreeResult -> = z.nativeEnum(GetVercelCiInvocationTreeResult); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeResult) +); /** @internal */ export const GetVercelCiInvocationTreeSetupConclusion$inboundSchema: z.ZodType< GetVercelCiInvocationTreeSetupConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: GetVercelCiInvocationTreeResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: GetVercelCiInvocationTreeResult$inboundSchema, + }) +); export function getVercelCiInvocationTreeSetupConclusionFromJSON( jsonString: string, @@ -983,17 +1034,21 @@ export function getVercelCiInvocationTreeSetupConclusionFromJSON( /** @internal */ export const GetVercelCiInvocationTreeVercelCiResult$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetVercelCiInvocationTreeVercelCiResult); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeVercelCiResult) + ); /** @internal */ export const GetVercelCiInvocationTreeRunConclusion$inboundSchema: z.ZodType< GetVercelCiInvocationTreeRunConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: GetVercelCiInvocationTreeVercelCiResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: GetVercelCiInvocationTreeVercelCiResult$inboundSchema, + }) +); export function getVercelCiInvocationTreeRunConclusionFromJSON( jsonString: string, @@ -1009,54 +1064,60 @@ export function getVercelCiInvocationTreeRunConclusionFromJSON( /** @internal */ export const GetVercelCiInvocationTreeStatus$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationTreeStatus -> = z.nativeEnum(GetVercelCiInvocationTreeStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeStatus) +); /** @internal */ export const Invocation$inboundSchema: z.ZodType< Invocation, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), - teamId: types.string(), - source: z.union([ - z.lazy(() => GetVercelCiInvocationTreeSource1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeSource2$inboundSchema), - ]), - createdAt: types.number(), - repositoryKey: types.string(), - ref: types.string(), - commitSha: types.string(), - skipped: types.optional( - z.lazy(() => GetVercelCiInvocationTreeSkipped$inboundSchema), - ), - bootstrappingStarted: types.optional( - z.lazy(() => GetVercelCiInvocationTreeBootstrappingStarted$inboundSchema), - ), - bootstrappingFailed: types.optional( - z.lazy(() => GetVercelCiInvocationTreeBootstrappingFailed$inboundSchema), - ), - sandboxSnapshotted: types.optional( - z.lazy(() => GetVercelCiInvocationTreeSandboxSnapshotted$inboundSchema), - ), - sandboxNamed: types.optional( - z.lazy(() => GetVercelCiInvocationTreeSandboxNamed$inboundSchema), - ), - jobDefinitionsCreated: types.optional( - z.lazy(() => GetVercelCiInvocationTreeJobDefinitionsCreated$inboundSchema), - ), - completed: types.optional( - z.lazy(() => GetVercelCiInvocationTreeCompleted$inboundSchema), - ), - setupConclusion: types.optional( - z.lazy(() => GetVercelCiInvocationTreeSetupConclusion$inboundSchema), - ), - runConclusion: types.optional( - z.lazy(() => GetVercelCiInvocationTreeRunConclusion$inboundSchema), - ), - status: GetVercelCiInvocationTreeStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + teamId: types.string(), + source: z.union([ + z.lazy(() => GetVercelCiInvocationTreeSource1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeSource2$inboundSchema), + ]), + createdAt: types.number(), + repositoryKey: types.string(), + ref: types.string(), + commitSha: types.string(), + skipped: types.optional( + z.lazy(() => GetVercelCiInvocationTreeSkipped$inboundSchema), + ), + bootstrappingStarted: types.optional( + z.lazy(() => GetVercelCiInvocationTreeBootstrappingStarted$inboundSchema), + ), + bootstrappingFailed: types.optional( + z.lazy(() => GetVercelCiInvocationTreeBootstrappingFailed$inboundSchema), + ), + sandboxSnapshotted: types.optional( + z.lazy(() => GetVercelCiInvocationTreeSandboxSnapshotted$inboundSchema), + ), + sandboxNamed: types.optional( + z.lazy(() => GetVercelCiInvocationTreeSandboxNamed$inboundSchema), + ), + jobDefinitionsCreated: types.optional( + z.lazy(() => + GetVercelCiInvocationTreeJobDefinitionsCreated$inboundSchema + ), + ), + completed: types.optional( + z.lazy(() => GetVercelCiInvocationTreeCompleted$inboundSchema), + ), + setupConclusion: types.optional( + z.lazy(() => GetVercelCiInvocationTreeSetupConclusion$inboundSchema), + ), + runConclusion: types.optional( + z.lazy(() => GetVercelCiInvocationTreeRunConclusion$inboundSchema), + ), + status: GetVercelCiInvocationTreeStatus$inboundSchema, + }) +); export function invocationFromJSON( jsonString: string, @@ -1073,7 +1134,7 @@ export const GetVercelCiInvocationTreeRepositories$inboundSchema: z.ZodType< GetVercelCiInvocationTreeRepositories, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function getVercelCiInvocationTreeRepositoriesFromJSON( jsonString: string, @@ -1089,22 +1150,26 @@ export function getVercelCiInvocationTreeRepositoriesFromJSON( /** @internal */ export const GetVercelCiInvocationTreeKind$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiInvocationTreeKind -> = z.nativeEnum(GetVercelCiInvocationTreeKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeKind) +); /** @internal */ export const Definition$inboundSchema: z.ZodType< Definition, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - kind: GetVercelCiInvocationTreeKind$inboundSchema, - name: types.string(), - command: types.string(), - createdAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + kind: GetVercelCiInvocationTreeKind$inboundSchema, + name: types.string(), + command: types.string(), + createdAt: types.number(), + }) +); export function definitionFromJSON( jsonString: string, @@ -1121,9 +1186,11 @@ export const GetVercelCiInvocationTreeStarted$inboundSchema: z.ZodType< GetVercelCiInvocationTreeStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function getVercelCiInvocationTreeStartedFromJSON( jsonString: string, @@ -1140,10 +1207,12 @@ export const GetVercelCiInvocationTreeConclusion3$inboundSchema: z.ZodType< GetVercelCiInvocationTreeConclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function getVercelCiInvocationTreeConclusion3FromJSON( jsonString: string, @@ -1161,10 +1230,12 @@ export const GetVercelCiInvocationTreeConclusion2$inboundSchema: z.ZodType< GetVercelCiInvocationTreeConclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function getVercelCiInvocationTreeConclusion2FromJSON( jsonString: string, @@ -1182,9 +1253,11 @@ export const GetVercelCiInvocationTreeConclusion1$inboundSchema: z.ZodType< GetVercelCiInvocationTreeConclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function getVercelCiInvocationTreeConclusion1FromJSON( jsonString: string, @@ -1203,11 +1276,13 @@ export const GetVercelCiInvocationTreeVercelCiConclusion$inboundSchema: GetVercelCiInvocationTreeVercelCiConclusion, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetVercelCiInvocationTreeConclusion1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion2$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion3$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiInvocationTreeConclusion1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusion2$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusion3$inboundSchema), + ]) + ); export function getVercelCiInvocationTreeVercelCiConclusionFromJSON( jsonString: string, @@ -1228,14 +1303,16 @@ export function getVercelCiInvocationTreeVercelCiConclusionFromJSON( /** @internal */ export const GetVercelCiInvocationTreeVercelCiCompleted$inboundSchema: z.ZodType = - z.object({ - completedAt: types.number(), - conclusion: z.union([ - z.lazy(() => GetVercelCiInvocationTreeConclusion1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion2$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion3$inboundSchema), - ]), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: z.union([ + z.lazy(() => GetVercelCiInvocationTreeConclusion1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusion2$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusion3$inboundSchema), + ]), + }) + ); export function getVercelCiInvocationTreeVercelCiCompletedFromJSON( jsonString: string, @@ -1254,20 +1331,22 @@ export function getVercelCiInvocationTreeVercelCiCompletedFromJSON( } /** @internal */ -export const Run$inboundSchema: z.ZodType = z - .object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - attempt: types.number(), - createdAt: types.number(), - started: types.optional( - z.lazy(() => GetVercelCiInvocationTreeStarted$inboundSchema), - ), - completed: types.optional( - z.lazy(() => GetVercelCiInvocationTreeVercelCiCompleted$inboundSchema), - ), - }); +export const Run$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + attempt: types.number(), + createdAt: types.number(), + started: types.optional( + z.lazy(() => GetVercelCiInvocationTreeStarted$inboundSchema), + ), + completed: types.optional( + z.lazy(() => GetVercelCiInvocationTreeVercelCiCompleted$inboundSchema), + ), + }) + ); export function runFromJSON( jsonString: string, @@ -1281,19 +1360,23 @@ export function runFromJSON( /** @internal */ export const GetVercelCiInvocationTreeOperationTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetVercelCiInvocationTreeOperationTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiInvocationTreeOperationTarget) + ); /** @internal */ export const GetVercelCiInvocationTreeOperation2$inboundSchema: z.ZodType< GetVercelCiInvocationTreeOperation2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), - projectId: types.string(), - target: GetVercelCiInvocationTreeOperationTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + projectId: types.string(), + target: GetVercelCiInvocationTreeOperationTarget$inboundSchema, + }) +); export function getVercelCiInvocationTreeOperation2FromJSON( jsonString: string, @@ -1311,10 +1394,12 @@ export const GetVercelCiInvocationTreeOperation1$inboundSchema: z.ZodType< GetVercelCiInvocationTreeOperation1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("command"), - command: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("command"), + command: types.string(), + }) +); export function getVercelCiInvocationTreeOperation1FromJSON( jsonString: string, @@ -1332,10 +1417,12 @@ export const GetVercelCiInvocationTreeOperation$inboundSchema: z.ZodType< GetVercelCiInvocationTreeOperation, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetVercelCiInvocationTreeOperation1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeOperation2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiInvocationTreeOperation1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeOperation2$inboundSchema), + ]) +); export function getVercelCiInvocationTreeOperationFromJSON( jsonString: string, @@ -1353,21 +1440,23 @@ export const GetVercelCiInvocationTreeDefinition$inboundSchema: z.ZodType< GetVercelCiInvocationTreeDefinition, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - name: types.string(), - packageDirectory: types.optional(types.string()), - operation: z.union([ - z.lazy(() => GetVercelCiInvocationTreeOperation1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeOperation2$inboundSchema), - ]), - dependencyTaskDefinitionIds: z.array(types.string()), - createdAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + name: types.string(), + packageDirectory: types.optional(types.string()), + operation: z.union([ + z.lazy(() => GetVercelCiInvocationTreeOperation1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeOperation2$inboundSchema), + ]), + dependencyTaskDefinitionIds: z.array(types.string()), + createdAt: types.number(), + }) +); export function getVercelCiInvocationTreeDefinitionFromJSON( jsonString: string, @@ -1385,9 +1474,11 @@ export const GetVercelCiInvocationTreeVercelCiStarted$inboundSchema: z.ZodType< GetVercelCiInvocationTreeVercelCiStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function getVercelCiInvocationTreeVercelCiStartedFromJSON( jsonString: string, @@ -1410,10 +1501,12 @@ export const GetVercelCiInvocationTreeConclusion4$inboundSchema: z.ZodType< GetVercelCiInvocationTreeConclusion4, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function getVercelCiInvocationTreeConclusion4FromJSON( jsonString: string, @@ -1432,10 +1525,12 @@ export const GetVercelCiInvocationTreeConclusionVercelCi3$inboundSchema: GetVercelCiInvocationTreeConclusionVercelCi3, z.ZodTypeDef, unknown - > = z.object({ - result: types.literal("failed"), - reason: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) + ); export function getVercelCiInvocationTreeConclusionVercelCi3FromJSON( jsonString: string, @@ -1459,9 +1554,11 @@ export const GetVercelCiInvocationTreeConclusionVercelCi2$inboundSchema: GetVercelCiInvocationTreeConclusionVercelCi2, z.ZodTypeDef, unknown - > = z.object({ - result: types.literal("cached"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("cached"), + }) + ); export function getVercelCiInvocationTreeConclusionVercelCi2FromJSON( jsonString: string, @@ -1485,9 +1582,11 @@ export const GetVercelCiInvocationTreeConclusionVercelCi1$inboundSchema: GetVercelCiInvocationTreeConclusionVercelCi1, z.ZodTypeDef, unknown - > = z.object({ - result: types.literal("succeeded"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) + ); export function getVercelCiInvocationTreeConclusionVercelCi1FromJSON( jsonString: string, @@ -1511,12 +1610,14 @@ export const GetVercelCiInvocationTreeVercelCiResponseConclusion$inboundSchema: GetVercelCiInvocationTreeVercelCiResponseConclusion, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi2$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi3$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion4$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi1$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi2$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi3$inboundSchema), + z.lazy(() => GetVercelCiInvocationTreeConclusion4$inboundSchema), + ]) + ); export function getVercelCiInvocationTreeVercelCiResponseConclusionFromJSON( jsonString: string, @@ -1540,15 +1641,23 @@ export const GetVercelCiInvocationTreeVercelCiResponseCompleted$inboundSchema: GetVercelCiInvocationTreeVercelCiResponseCompleted, z.ZodTypeDef, unknown - > = z.object({ - completedAt: types.number(), - conclusion: z.union([ - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi1$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi2$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusionVercelCi3$inboundSchema), - z.lazy(() => GetVercelCiInvocationTreeConclusion4$inboundSchema), - ]), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: z.union([ + z.lazy(() => + GetVercelCiInvocationTreeConclusionVercelCi1$inboundSchema + ), + z.lazy(() => + GetVercelCiInvocationTreeConclusionVercelCi2$inboundSchema + ), + z.lazy(() => + GetVercelCiInvocationTreeConclusionVercelCi3$inboundSchema + ), + z.lazy(() => GetVercelCiInvocationTreeConclusion4$inboundSchema), + ]), + }) + ); export function getVercelCiInvocationTreeVercelCiResponseCompletedFromJSON( jsonString: string, @@ -1569,12 +1678,14 @@ export function getVercelCiInvocationTreeVercelCiResponseCompletedFromJSON( /** @internal */ export const GetVercelCiInvocationTreeDeploymentBinding$inboundSchema: z.ZodType = - z.object({ - deploymentId: types.string(), - deploymentCreatedAt: types.number(), - eventAt: types.number(), - readyState: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.string(), + deploymentCreatedAt: types.number(), + eventAt: types.number(), + readyState: types.optional(types.string()), + }) + ); export function getVercelCiInvocationTreeDeploymentBindingFromJSON( jsonString: string, @@ -1597,26 +1708,26 @@ export const GetVercelCiInvocationTreeRun$inboundSchema: z.ZodType< GetVercelCiInvocationTreeRun, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - attempt: types.number(), - createdAt: types.number(), - started: types.optional( - z.lazy(() => GetVercelCiInvocationTreeVercelCiStarted$inboundSchema), - ), - completed: types.optional( - z.lazy(() => - GetVercelCiInvocationTreeVercelCiResponseCompleted$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + attempt: types.number(), + createdAt: types.number(), + started: types.optional( + z.lazy(() => GetVercelCiInvocationTreeVercelCiStarted$inboundSchema), ), - ), - deploymentBinding: types.optional( - z.lazy(() => GetVercelCiInvocationTreeDeploymentBinding$inboundSchema), - ), -}); + completed: types.optional(z.lazy(() => + GetVercelCiInvocationTreeVercelCiResponseCompleted$inboundSchema + )), + deploymentBinding: types.optional(z.lazy(() => + GetVercelCiInvocationTreeDeploymentBinding$inboundSchema + )), + }) +); export function getVercelCiInvocationTreeRunFromJSON( jsonString: string, @@ -1633,10 +1744,14 @@ export const GetVercelCiInvocationTreeTasks$inboundSchema: z.ZodType< GetVercelCiInvocationTreeTasks, z.ZodTypeDef, unknown -> = z.object({ - definition: z.lazy(() => GetVercelCiInvocationTreeDefinition$inboundSchema), - run: types.optional(z.lazy(() => GetVercelCiInvocationTreeRun$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definition: z.lazy(() => GetVercelCiInvocationTreeDefinition$inboundSchema), + run: types.optional( + z.lazy(() => GetVercelCiInvocationTreeRun$inboundSchema), + ), + }) +); export function getVercelCiInvocationTreeTasksFromJSON( jsonString: string, @@ -1653,11 +1768,13 @@ export const GetVercelCiInvocationTreeJobs$inboundSchema: z.ZodType< GetVercelCiInvocationTreeJobs, z.ZodTypeDef, unknown -> = z.object({ - definition: z.lazy(() => Definition$inboundSchema), - run: types.optional(z.lazy(() => Run$inboundSchema)), - tasks: z.array(z.lazy(() => GetVercelCiInvocationTreeTasks$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definition: z.lazy(() => Definition$inboundSchema), + run: types.optional(z.lazy(() => Run$inboundSchema)), + tasks: z.array(z.lazy(() => GetVercelCiInvocationTreeTasks$inboundSchema)), + }) +); export function getVercelCiInvocationTreeJobsFromJSON( jsonString: string, @@ -1674,13 +1791,15 @@ export const GetVercelCiInvocationTreeResponseBody$inboundSchema: z.ZodType< GetVercelCiInvocationTreeResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invocation: z.lazy(() => Invocation$inboundSchema), - repositories: z.lazy(() => - GetVercelCiInvocationTreeRepositories$inboundSchema - ), - jobs: z.array(z.lazy(() => GetVercelCiInvocationTreeJobs$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocation: z.lazy(() => Invocation$inboundSchema), + repositories: z.lazy(() => + GetVercelCiInvocationTreeRepositories$inboundSchema + ), + jobs: z.array(z.lazy(() => GetVercelCiInvocationTreeJobs$inboundSchema)), + }) +); export function getVercelCiInvocationTreeResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcijobdefinitionop.ts b/src/models/getvercelcijobdefinitionop.ts index 7d472ca7d9..5dbd1fac19 100644 --- a/src/models/getvercelcijobdefinitionop.ts +++ b/src/models/getvercelcijobdefinitionop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -199,13 +199,15 @@ export const GetVercelCiJobDefinitionRequest$outboundSchema: z.ZodType< GetVercelCiJobDefinitionRequest$Outbound, z.ZodTypeDef, GetVercelCiJobDefinitionRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiJobDefinitionRequestToJSON( getVercelCiJobDefinitionRequest: GetVercelCiJobDefinitionRequest, @@ -223,10 +225,12 @@ export const GetVercelCiJobDefinitionVercelCiResponse500Error$inboundSchema: GetVercelCiJobDefinitionVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiJobDefinitionVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -250,21 +254,23 @@ export const GetVercelCiJobDefinitionVercelCiResponse500ResponseBody$inboundSche GetVercelCiJobDefinitionVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiJobDefinitionVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobDefinitionVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiJobDefinitionVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobDefinitionVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobDefinitionVercelCiResponseError$inboundSchema: @@ -272,12 +278,14 @@ export const GetVercelCiJobDefinitionVercelCiResponseError$inboundSchema: GetVercelCiJobDefinitionVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiJobDefinitionVercelCiResponseErrorFromJSON( jsonString: string, @@ -301,31 +309,35 @@ export const GetVercelCiJobDefinitionVercelCiResponse429ResponseBody$inboundSche GetVercelCiJobDefinitionVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiJobDefinitionVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobDefinitionVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiJobDefinitionVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobDefinitionVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobDefinitionVercelCiError$inboundSchema: z.ZodType< GetVercelCiJobDefinitionVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobDefinitionVercelCiErrorFromJSON( jsonString: string, @@ -344,29 +356,33 @@ export const GetVercelCiJobDefinitionVercelCiResponseResponseBody$inboundSchema: GetVercelCiJobDefinitionVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiJobDefinitionVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobDefinitionVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobDefinitionVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobDefinitionVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobDefinitionError$inboundSchema: z.ZodType< GetVercelCiJobDefinitionError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobDefinitionErrorFromJSON( jsonString: string, @@ -384,39 +400,45 @@ export const GetVercelCiJobDefinitionVercelCiResponseBody$inboundSchema: GetVercelCiJobDefinitionVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiJobDefinitionError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobDefinitionVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobDefinitionError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobDefinitionVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobDefinitionKind$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiJobDefinitionKind -> = z.nativeEnum(GetVercelCiJobDefinitionKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiJobDefinitionKind) +); /** @internal */ export const JobDefinition$inboundSchema: z.ZodType< JobDefinition, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - kind: GetVercelCiJobDefinitionKind$inboundSchema, - name: types.string(), - command: types.string(), - createdAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + kind: GetVercelCiJobDefinitionKind$inboundSchema, + name: types.string(), + command: types.string(), + createdAt: types.number(), + }) +); export function jobDefinitionFromJSON( jsonString: string, @@ -433,9 +455,11 @@ export const GetVercelCiJobDefinitionResponseBody$inboundSchema: z.ZodType< GetVercelCiJobDefinitionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - jobDefinition: z.lazy(() => JobDefinition$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobDefinition: z.lazy(() => JobDefinition$inboundSchema), + }) +); export function getVercelCiJobDefinitionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcijobrunlogsop.ts b/src/models/getvercelcijobrunlogsop.ts index 3165056c9f..2fb802f6a0 100644 --- a/src/models/getvercelcijobrunlogsop.ts +++ b/src/models/getvercelcijobrunlogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -196,9 +196,10 @@ export type GetVercelCiJobRunLogsResponseBody = { /** @internal */ export const GetVercelCiJobRunLogsQueryParamLevel$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetVercelCiJobRunLogsQueryParamLevel, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiJobRunLogsQueryParamLevel) + ); /** @internal */ export type GetVercelCiJobRunLogsRequest$Outbound = { @@ -218,18 +219,20 @@ export const GetVercelCiJobRunLogsRequest$outboundSchema: z.ZodType< GetVercelCiJobRunLogsRequest$Outbound, z.ZodTypeDef, GetVercelCiJobRunLogsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - runAttempt: z.string(), - follow: z.number().optional(), - since: z.number().optional(), - level: z.array(GetVercelCiJobRunLogsQueryParamLevel$outboundSchema) - .optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + runAttempt: z.string(), + follow: z.number().optional(), + since: z.number().optional(), + level: z.array(GetVercelCiJobRunLogsQueryParamLevel$outboundSchema) + .optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiJobRunLogsRequestToJSON( getVercelCiJobRunLogsRequest: GetVercelCiJobRunLogsRequest, @@ -247,10 +250,12 @@ export const GetVercelCiJobRunLogsVercelCiResponse500Error$inboundSchema: GetVercelCiJobRunLogsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiJobRunLogsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -274,31 +279,35 @@ export const GetVercelCiJobRunLogsVercelCiResponse500ResponseBody$inboundSchema: GetVercelCiJobRunLogsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiJobRunLogsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunLogsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiJobRunLogsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunLogsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunLogsVercelCiResponseError$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiJobRunLogsVercelCiResponseErrorFromJSON( jsonString: string, @@ -322,31 +331,35 @@ export const GetVercelCiJobRunLogsVercelCiResponse429ResponseBody$inboundSchema: GetVercelCiJobRunLogsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiJobRunLogsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunLogsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiJobRunLogsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunLogsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunLogsVercelCiError$inboundSchema: z.ZodType< GetVercelCiJobRunLogsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobRunLogsVercelCiErrorFromJSON( jsonString: string, @@ -365,29 +378,33 @@ export const GetVercelCiJobRunLogsVercelCiResponseResponseBody$inboundSchema: GetVercelCiJobRunLogsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiJobRunLogsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunLogsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobRunLogsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunLogsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunLogsError$inboundSchema: z.ZodType< GetVercelCiJobRunLogsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobRunLogsErrorFromJSON( jsonString: string, @@ -404,30 +421,34 @@ export const GetVercelCiJobRunLogsVercelCiResponseBody$inboundSchema: z.ZodType< GetVercelCiJobRunLogsVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => GetVercelCiJobRunLogsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new GetVercelCiJobRunLogsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobRunLogsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunLogsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const GetVercelCiJobRunLogsLines$inboundSchema: z.ZodType< GetVercelCiJobRunLogsLines, z.ZodTypeDef, unknown -> = z.object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) +); export function getVercelCiJobRunLogsLinesFromJSON( jsonString: string, @@ -444,9 +465,11 @@ export const GetVercelCiJobRunLogsResponseBody$inboundSchema: z.ZodType< GetVercelCiJobRunLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - lines: z.array(z.lazy(() => GetVercelCiJobRunLogsLines$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lines: z.array(z.lazy(() => GetVercelCiJobRunLogsLines$inboundSchema)), + }) +); export function getVercelCiJobRunLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcijobrunop.ts b/src/models/getvercelcijobrunop.ts index fb59c81516..f74fb5ecdb 100644 --- a/src/models/getvercelcijobrunop.ts +++ b/src/models/getvercelcijobrunop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -221,14 +221,16 @@ export const GetVercelCiJobRunRequest$outboundSchema: z.ZodType< GetVercelCiJobRunRequest$Outbound, z.ZodTypeDef, GetVercelCiJobRunRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - runAttempt: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + runAttempt: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiJobRunRequestToJSON( getVercelCiJobRunRequest: GetVercelCiJobRunRequest, @@ -243,10 +245,12 @@ export const GetVercelCiJobRunVercelCiResponse500Error$inboundSchema: z.ZodType< GetVercelCiJobRunVercelCiResponse500Error, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobRunVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -270,33 +274,37 @@ export const GetVercelCiJobRunVercelCiResponse500ResponseBody$inboundSchema: GetVercelCiJobRunVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiJobRunVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiJobRunVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunVercelCiResponseError$inboundSchema: z.ZodType< GetVercelCiJobRunVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function getVercelCiJobRunVercelCiResponseErrorFromJSON( jsonString: string, @@ -315,29 +323,33 @@ export const GetVercelCiJobRunVercelCiResponse429ResponseBody$inboundSchema: GetVercelCiJobRunVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiJobRunVercelCiResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobRunVercelCiResponseError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunVercelCiError$inboundSchema: z.ZodType< GetVercelCiJobRunVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobRunVercelCiErrorFromJSON( jsonString: string, @@ -355,29 +367,33 @@ export const GetVercelCiJobRunVercelCiResponseResponseBody$inboundSchema: GetVercelCiJobRunVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiJobRunVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiJobRunVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobRunVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiJobRunError$inboundSchema: z.ZodType< GetVercelCiJobRunError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiJobRunErrorFromJSON( jsonString: string, @@ -394,28 +410,32 @@ export const GetVercelCiJobRunVercelCiResponseBody$inboundSchema: z.ZodType< GetVercelCiJobRunVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => GetVercelCiJobRunError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new GetVercelCiJobRunVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiJobRunError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiJobRunVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const GetVercelCiJobRunStarted$inboundSchema: z.ZodType< GetVercelCiJobRunStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function getVercelCiJobRunStartedFromJSON( jsonString: string, @@ -432,10 +452,12 @@ export const GetVercelCiJobRunConclusion3$inboundSchema: z.ZodType< GetVercelCiJobRunConclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function getVercelCiJobRunConclusion3FromJSON( jsonString: string, @@ -452,10 +474,12 @@ export const GetVercelCiJobRunConclusion2$inboundSchema: z.ZodType< GetVercelCiJobRunConclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function getVercelCiJobRunConclusion2FromJSON( jsonString: string, @@ -472,9 +496,11 @@ export const GetVercelCiJobRunConclusion1$inboundSchema: z.ZodType< GetVercelCiJobRunConclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function getVercelCiJobRunConclusion1FromJSON( jsonString: string, @@ -491,11 +517,13 @@ export const GetVercelCiJobRunConclusion$inboundSchema: z.ZodType< GetVercelCiJobRunConclusion, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetVercelCiJobRunConclusion1$inboundSchema), - z.lazy(() => GetVercelCiJobRunConclusion2$inboundSchema), - z.lazy(() => GetVercelCiJobRunConclusion3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetVercelCiJobRunConclusion1$inboundSchema), + z.lazy(() => GetVercelCiJobRunConclusion2$inboundSchema), + z.lazy(() => GetVercelCiJobRunConclusion3$inboundSchema), + ]) +); export function getVercelCiJobRunConclusionFromJSON( jsonString: string, @@ -512,14 +540,16 @@ export const GetVercelCiJobRunCompleted$inboundSchema: z.ZodType< GetVercelCiJobRunCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: z.union([ - z.lazy(() => GetVercelCiJobRunConclusion1$inboundSchema), - z.lazy(() => GetVercelCiJobRunConclusion2$inboundSchema), - z.lazy(() => GetVercelCiJobRunConclusion3$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: z.union([ + z.lazy(() => GetVercelCiJobRunConclusion1$inboundSchema), + z.lazy(() => GetVercelCiJobRunConclusion2$inboundSchema), + z.lazy(() => GetVercelCiJobRunConclusion3$inboundSchema), + ]), + }) +); export function getVercelCiJobRunCompletedFromJSON( jsonString: string, @@ -532,20 +562,22 @@ export function getVercelCiJobRunCompletedFromJSON( } /** @internal */ -export const JobRun$inboundSchema: z.ZodType = z - .object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - attempt: types.number(), - createdAt: types.number(), - started: types.optional( - z.lazy(() => GetVercelCiJobRunStarted$inboundSchema), - ), - completed: types.optional( - z.lazy(() => GetVercelCiJobRunCompleted$inboundSchema), - ), - }); +export const JobRun$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + attempt: types.number(), + createdAt: types.number(), + started: types.optional( + z.lazy(() => GetVercelCiJobRunStarted$inboundSchema), + ), + completed: types.optional( + z.lazy(() => GetVercelCiJobRunCompleted$inboundSchema), + ), + }) + ); export function jobRunFromJSON( jsonString: string, @@ -562,9 +594,11 @@ export const GetVercelCiJobRunResponseBody$inboundSchema: z.ZodType< GetVercelCiJobRunResponseBody, z.ZodTypeDef, unknown -> = z.object({ - jobRun: z.lazy(() => JobRun$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobRun: z.lazy(() => JobRun$inboundSchema), + }) +); export function getVercelCiJobRunResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcirepositorysettingsop.ts b/src/models/getvercelcirepositorysettingsop.ts index f27eb560e6..b74c6f23a0 100644 --- a/src/models/getvercelcirepositorysettingsop.ts +++ b/src/models/getvercelcirepositorysettingsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -198,8 +198,10 @@ export type GetVercelCiRepositorySettingsResponseBody = { /** @internal */ export const GetVercelCiRepositorySettingsQueryParamProvider$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetVercelCiRepositorySettingsQueryParamProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiRepositorySettingsQueryParamProvider) + ); /** @internal */ export type GetVercelCiRepositorySettingsRequest$Outbound = { @@ -215,13 +217,15 @@ export const GetVercelCiRepositorySettingsRequest$outboundSchema: z.ZodType< GetVercelCiRepositorySettingsRequest$Outbound, z.ZodTypeDef, GetVercelCiRepositorySettingsRequest -> = z.object({ - provider: GetVercelCiRepositorySettingsQueryParamProvider$outboundSchema, - organizationId: z.string(), - repository: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: GetVercelCiRepositorySettingsQueryParamProvider$outboundSchema, + organizationId: z.string(), + repository: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiRepositorySettingsRequestToJSON( getVercelCiRepositorySettingsRequest: GetVercelCiRepositorySettingsRequest, @@ -239,10 +243,12 @@ export const GetVercelCiRepositorySettingsVercelCiResponse500Error$inboundSchema GetVercelCiRepositorySettingsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiRepositorySettingsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -266,20 +272,22 @@ export const GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody$inboun GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiRepositorySettingsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiRepositorySettingsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiRepositorySettingsVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const GetVercelCiRepositorySettingsVercelCiResponseError$inboundSchema: @@ -287,12 +295,14 @@ export const GetVercelCiRepositorySettingsVercelCiResponseError$inboundSchema: GetVercelCiRepositorySettingsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiRepositorySettingsVercelCiResponseErrorFromJSON( jsonString: string, @@ -316,28 +326,32 @@ export const GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody$inboun GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiRepositorySettingsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiRepositorySettingsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiRepositorySettingsVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const GetVercelCiRepositorySettingsVercelCiError$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - message: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiRepositorySettingsVercelCiErrorFromJSON( jsonString: string, @@ -361,31 +375,34 @@ export const GetVercelCiRepositorySettingsVercelCiResponseResponseBody$inboundSc GetVercelCiRepositorySettingsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiRepositorySettingsVercelCiError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiRepositorySettingsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiRepositorySettingsVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiRepositorySettingsVercelCiResponseResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const GetVercelCiRepositorySettingsError$inboundSchema: z.ZodType< GetVercelCiRepositorySettingsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiRepositorySettingsErrorFromJSON( jsonString: string, @@ -404,39 +421,44 @@ export const GetVercelCiRepositorySettingsVercelCiResponseBody$inboundSchema: GetVercelCiRepositorySettingsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiRepositorySettingsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiRepositorySettingsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiRepositorySettingsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiRepositorySettingsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiRepositorySettingsProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetVercelCiRepositorySettingsProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiRepositorySettingsProvider) + ); /** @internal */ export const GetVercelCiRepositorySettingsResponseBody$inboundSchema: z.ZodType< GetVercelCiRepositorySettingsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - provider: GetVercelCiRepositorySettingsProvider$inboundSchema, - organizationId: types.string(), - repository: types.string(), - ciEnabled: types.boolean(), - ciEnabledAt: types.optional(types.number()), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: GetVercelCiRepositorySettingsProvider$inboundSchema, + organizationId: types.string(), + repository: types.string(), + ciEnabled: types.boolean(), + ciEnabledAt: types.optional(types.number()), + updatedAt: types.optional(types.number()), + }) +); export function getVercelCiRepositorySettingsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcitaskanalysisop.ts b/src/models/getvercelcitaskanalysisop.ts index c5938ca6b0..2062542157 100644 --- a/src/models/getvercelcitaskanalysisop.ts +++ b/src/models/getvercelcitaskanalysisop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -188,11 +188,13 @@ export const GetVercelCiTaskAnalysisRequest$outboundSchema: z.ZodType< GetVercelCiTaskAnalysisRequest$Outbound, z.ZodTypeDef, GetVercelCiTaskAnalysisRequest -> = z.object({ - analysisId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + analysisId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiTaskAnalysisRequestToJSON( getVercelCiTaskAnalysisRequest: GetVercelCiTaskAnalysisRequest, @@ -210,10 +212,12 @@ export const GetVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema: GetVercelCiTaskAnalysisVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiTaskAnalysisVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -237,21 +241,23 @@ export const GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody$inboundSchem GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskAnalysisVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskAnalysisVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskAnalysisVercelCiResponseError$inboundSchema: @@ -259,12 +265,14 @@ export const GetVercelCiTaskAnalysisVercelCiResponseError$inboundSchema: GetVercelCiTaskAnalysisVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiTaskAnalysisVercelCiResponseErrorFromJSON( jsonString: string, @@ -288,31 +296,35 @@ export const GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody$inboundSchem GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiTaskAnalysisVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskAnalysisVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskAnalysisVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskAnalysisVercelCiError$inboundSchema: z.ZodType< GetVercelCiTaskAnalysisVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskAnalysisVercelCiErrorFromJSON( jsonString: string, @@ -331,29 +343,33 @@ export const GetVercelCiTaskAnalysisVercelCiResponseResponseBody$inboundSchema: GetVercelCiTaskAnalysisVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiTaskAnalysisVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskAnalysisVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskAnalysisVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskAnalysisVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskAnalysisError$inboundSchema: z.ZodType< GetVercelCiTaskAnalysisError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskAnalysisErrorFromJSON( jsonString: string, @@ -371,35 +387,41 @@ export const GetVercelCiTaskAnalysisVercelCiResponseBody$inboundSchema: GetVercelCiTaskAnalysisVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiTaskAnalysisError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskAnalysisVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskAnalysisError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskAnalysisVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskAnalysisStatus$inboundSchema: z.ZodNativeEnum< typeof GetVercelCiTaskAnalysisStatus -> = z.nativeEnum(GetVercelCiTaskAnalysisStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiTaskAnalysisStatus) +); /** @internal */ export const GetVercelCiTaskAnalysisResponseBody$inboundSchema: z.ZodType< GetVercelCiTaskAnalysisResponseBody, z.ZodTypeDef, unknown -> = z.object({ - analysisId: types.string(), - status: GetVercelCiTaskAnalysisStatus$inboundSchema, - failureReason: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + analysisId: types.string(), + status: GetVercelCiTaskAnalysisStatus$inboundSchema, + failureReason: types.optional(types.string()), + }) +); export function getVercelCiTaskAnalysisResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcitasklogsop.ts b/src/models/getvercelcitasklogsop.ts index c98a642874..1f3282a35f 100644 --- a/src/models/getvercelcitasklogsop.ts +++ b/src/models/getvercelcitasklogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -262,13 +262,17 @@ export type GetVercelCiTaskLogsResponseBody = { /** @internal */ export const GetVercelCiTaskLogsQueryParamConclusion$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetVercelCiTaskLogsQueryParamConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiTaskLogsQueryParamConclusion) + ); /** @internal */ export const GetVercelCiTaskLogsQueryParamLevel$outboundSchema: z.ZodNativeEnum< typeof GetVercelCiTaskLogsQueryParamLevel -> = z.nativeEnum(GetVercelCiTaskLogsQueryParamLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiTaskLogsQueryParamLevel) +); /** @internal */ export type GetVercelCiTaskLogsRequest$Outbound = { @@ -288,18 +292,21 @@ export const GetVercelCiTaskLogsRequest$outboundSchema: z.ZodType< GetVercelCiTaskLogsRequest$Outbound, z.ZodTypeDef, GetVercelCiTaskLogsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - task: z.array(z.string()).optional(), - conclusion: z.array(GetVercelCiTaskLogsQueryParamConclusion$outboundSchema) - .optional(), - level: z.array(GetVercelCiTaskLogsQueryParamLevel$outboundSchema).optional(), - search: z.string().optional(), - limit: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + task: z.array(z.string()).optional(), + conclusion: z.array(GetVercelCiTaskLogsQueryParamConclusion$outboundSchema) + .optional(), + level: z.array(GetVercelCiTaskLogsQueryParamLevel$outboundSchema) + .optional(), + search: z.string().optional(), + limit: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiTaskLogsRequestToJSON( getVercelCiTaskLogsRequest: GetVercelCiTaskLogsRequest, @@ -315,10 +322,12 @@ export const GetVercelCiTaskLogsVercelCiResponse500Error$inboundSchema: GetVercelCiTaskLogsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiTaskLogsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -342,33 +351,37 @@ export const GetVercelCiTaskLogsVercelCiResponse500ResponseBody$inboundSchema: GetVercelCiTaskLogsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiTaskLogsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskLogsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskLogsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskLogsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskLogsVercelCiResponseError$inboundSchema: z.ZodType< GetVercelCiTaskLogsVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function getVercelCiTaskLogsVercelCiResponseErrorFromJSON( jsonString: string, @@ -392,29 +405,35 @@ export const GetVercelCiTaskLogsVercelCiResponse429ResponseBody$inboundSchema: GetVercelCiTaskLogsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiTaskLogsVercelCiResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskLogsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskLogsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskLogsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskLogsVercelCiError$inboundSchema: z.ZodType< GetVercelCiTaskLogsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskLogsVercelCiErrorFromJSON( jsonString: string, @@ -432,29 +451,33 @@ export const GetVercelCiTaskLogsVercelCiResponseResponseBody$inboundSchema: GetVercelCiTaskLogsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiTaskLogsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskLogsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskLogsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskLogsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskLogsError$inboundSchema: z.ZodType< GetVercelCiTaskLogsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskLogsErrorFromJSON( jsonString: string, @@ -471,29 +494,33 @@ export const GetVercelCiTaskLogsVercelCiResponseBody$inboundSchema: z.ZodType< GetVercelCiTaskLogsVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => GetVercelCiTaskLogsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new GetVercelCiTaskLogsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskLogsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskLogsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const Conclusion4$inboundSchema: z.ZodType< Conclusion4, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function conclusion4FromJSON( jsonString: string, @@ -510,10 +537,12 @@ export const Conclusion3$inboundSchema: z.ZodType< Conclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function conclusion3FromJSON( jsonString: string, @@ -530,9 +559,11 @@ export const Conclusion2$inboundSchema: z.ZodType< Conclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("cached"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("cached"), + }) +); export function conclusion2FromJSON( jsonString: string, @@ -549,9 +580,11 @@ export const Conclusion1$inboundSchema: z.ZodType< Conclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function conclusion1FromJSON( jsonString: string, @@ -568,12 +601,14 @@ export const GetVercelCiTaskLogsConclusion$inboundSchema: z.ZodType< GetVercelCiTaskLogsConclusion, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Conclusion1$inboundSchema), - z.lazy(() => Conclusion2$inboundSchema), - z.lazy(() => Conclusion3$inboundSchema), - z.lazy(() => Conclusion4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Conclusion1$inboundSchema), + z.lazy(() => Conclusion2$inboundSchema), + z.lazy(() => Conclusion3$inboundSchema), + z.lazy(() => Conclusion4$inboundSchema), + ]) +); export function getVercelCiTaskLogsConclusionFromJSON( jsonString: string, @@ -590,11 +625,13 @@ export const GetVercelCiTaskLogsLines$inboundSchema: z.ZodType< GetVercelCiTaskLogsLines, z.ZodTypeDef, unknown -> = z.object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) +); export function getVercelCiTaskLogsLinesFromJSON( jsonString: string, @@ -611,23 +648,25 @@ export const GetVercelCiTaskLogsTasks$inboundSchema: z.ZodType< GetVercelCiTaskLogsTasks, z.ZodTypeDef, unknown -> = z.object({ - jobDefinitionId: types.string(), - jobName: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - taskName: types.string(), - taskRunAttempt: types.optional(types.number()), - conclusion: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobDefinitionId: types.string(), + jobName: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + taskName: types.string(), + taskRunAttempt: types.optional(types.number()), + conclusion: types.optional(z.union([ z.lazy(() => Conclusion1$inboundSchema), z.lazy(() => Conclusion2$inboundSchema), z.lazy(() => Conclusion3$inboundSchema), z.lazy(() => Conclusion4$inboundSchema), - ]), - ), - lines: z.array(z.lazy(() => GetVercelCiTaskLogsLines$inboundSchema)), -}); + ])), + lines: z.array(z.lazy(() => + GetVercelCiTaskLogsLines$inboundSchema + )), + }) +); export function getVercelCiTaskLogsTasksFromJSON( jsonString: string, @@ -644,10 +683,12 @@ export const GetVercelCiTaskLogsResponseBody$inboundSchema: z.ZodType< GetVercelCiTaskLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - tasks: z.array(z.lazy(() => GetVercelCiTaskLogsTasks$inboundSchema)), - hasMore: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tasks: z.array(z.lazy(() => GetVercelCiTaskLogsTasks$inboundSchema)), + hasMore: types.boolean(), + }) +); export function getVercelCiTaskLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getvercelcitaskrunlogsop.ts b/src/models/getvercelcitaskrunlogsop.ts index c426b40a44..9a4e63319f 100644 --- a/src/models/getvercelcitaskrunlogsop.ts +++ b/src/models/getvercelcitaskrunlogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -201,9 +201,10 @@ export type GetVercelCiTaskRunLogsResponseBody = { /** @internal */ export const GetVercelCiTaskRunLogsQueryParamLevel$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetVercelCiTaskRunLogsQueryParamLevel, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetVercelCiTaskRunLogsQueryParamLevel) + ); /** @internal */ export type GetVercelCiTaskRunLogsRequest$Outbound = { @@ -225,20 +226,22 @@ export const GetVercelCiTaskRunLogsRequest$outboundSchema: z.ZodType< GetVercelCiTaskRunLogsRequest$Outbound, z.ZodTypeDef, GetVercelCiTaskRunLogsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - runAttempt: z.string(), - taskDefinitionId: z.string(), - taskRunAttempt: z.string(), - follow: z.number().optional(), - since: z.number().optional(), - level: z.array(GetVercelCiTaskRunLogsQueryParamLevel$outboundSchema) - .optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + runAttempt: z.string(), + taskDefinitionId: z.string(), + taskRunAttempt: z.string(), + follow: z.number().optional(), + since: z.number().optional(), + level: z.array(GetVercelCiTaskRunLogsQueryParamLevel$outboundSchema) + .optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVercelCiTaskRunLogsRequestToJSON( getVercelCiTaskRunLogsRequest: GetVercelCiTaskRunLogsRequest, @@ -256,10 +259,12 @@ export const GetVercelCiTaskRunLogsVercelCiResponse500Error$inboundSchema: GetVercelCiTaskRunLogsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getVercelCiTaskRunLogsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -283,21 +288,23 @@ export const GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody$inboundSchema GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiTaskRunLogsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskRunLogsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskRunLogsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskRunLogsVercelCiResponseError$inboundSchema: @@ -305,12 +312,14 @@ export const GetVercelCiTaskRunLogsVercelCiResponseError$inboundSchema: GetVercelCiTaskRunLogsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function getVercelCiTaskRunLogsVercelCiResponseErrorFromJSON( jsonString: string, @@ -334,31 +343,35 @@ export const GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody$inboundSchema GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - GetVercelCiTaskRunLogsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + GetVercelCiTaskRunLogsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskRunLogsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskRunLogsVercelCiError$inboundSchema: z.ZodType< GetVercelCiTaskRunLogsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskRunLogsVercelCiErrorFromJSON( jsonString: string, @@ -377,29 +390,33 @@ export const GetVercelCiTaskRunLogsVercelCiResponseResponseBody$inboundSchema: GetVercelCiTaskRunLogsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => GetVercelCiTaskRunLogsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskRunLogsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskRunLogsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskRunLogsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskRunLogsError$inboundSchema: z.ZodType< GetVercelCiTaskRunLogsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function getVercelCiTaskRunLogsErrorFromJSON( jsonString: string, @@ -414,30 +431,34 @@ export function getVercelCiTaskRunLogsErrorFromJSON( /** @internal */ export const GetVercelCiTaskRunLogsVercelCiResponseBody$inboundSchema: z.ZodType = - z.object({ - error: z.lazy(() => GetVercelCiTaskRunLogsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new GetVercelCiTaskRunLogsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => GetVercelCiTaskRunLogsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new GetVercelCiTaskRunLogsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const GetVercelCiTaskRunLogsLines$inboundSchema: z.ZodType< GetVercelCiTaskRunLogsLines, z.ZodTypeDef, unknown -> = z.object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) +); export function getVercelCiTaskRunLogsLinesFromJSON( jsonString: string, @@ -454,9 +475,11 @@ export const GetVercelCiTaskRunLogsResponseBody$inboundSchema: z.ZodType< GetVercelCiTaskRunLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - lines: z.array(z.lazy(() => GetVercelCiTaskRunLogsLines$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lines: z.array(z.lazy(() => GetVercelCiTaskRunLogsLines$inboundSchema)), + }) +); export function getVercelCiTaskRunLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getversionsop.ts b/src/models/getversionsop.ts index 6ae9865e9c..c7a1c3a1df 100644 --- a/src/models/getversionsop.ts +++ b/src/models/getversionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -69,11 +69,13 @@ export const GetVersionsRequest$outboundSchema: z.ZodType< GetVersionsRequest$Outbound, z.ZodTypeDef, GetVersionsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getVersionsRequestToJSON( getVersionsRequest: GetVersionsRequest, @@ -88,17 +90,19 @@ export const Versions$inboundSchema: z.ZodType< Versions, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function versionsFromJSON( jsonString: string, @@ -115,9 +119,11 @@ export const GetVersionsResponseBody$inboundSchema: z.ZodType< GetVersionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - versions: z.array(z.lazy(() => Versions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + versions: z.array(z.lazy(() => Versions$inboundSchema)), + }) +); export function getVersionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getwebhookop.ts b/src/models/getwebhookop.ts index b2562eb318..bca093c8f2 100644 --- a/src/models/getwebhookop.ts +++ b/src/models/getwebhookop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -146,6 +146,9 @@ export const GetWebhookEvents = { ProjectRollingReleaseApproved: "project.rolling-release.approved", ProjectRollingReleaseCompleted: "project.rolling-release.completed", ProjectRollingReleaseStarted: "project.rolling-release.started", + SandboxSessionExpiring: "sandbox.session.expiring", + SandboxSessionStarted: "sandbox.session.started", + SandboxSessionStopped: "sandbox.session.stopped", TestWebhook: "test-webhook", ThreadResolved: "thread.resolved", ThreadUnresolved: "thread.unresolved", @@ -199,11 +202,13 @@ export const GetWebhookRequest$outboundSchema: z.ZodType< GetWebhookRequest$Outbound, z.ZodTypeDef, GetWebhookRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getWebhookRequestToJSON( getWebhookRequest: GetWebhookRequest, @@ -216,23 +221,25 @@ export function getWebhookRequestToJSON( /** @internal */ export const GetWebhookEvents$inboundSchema: z.ZodNativeEnum< typeof GetWebhookEvents -> = z.nativeEnum(GetWebhookEvents); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetWebhookEvents)); /** @internal */ export const GetWebhookResponseBody$inboundSchema: z.ZodType< GetWebhookResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alertRuleIds: types.optional(z.array(types.string())), - createdAt: types.number(), - events: z.array(GetWebhookEvents$inboundSchema), - id: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - updatedAt: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertRuleIds: types.optional(z.array(types.string())), + createdAt: types.number(), + events: z.array(GetWebhookEvents$inboundSchema), + id: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + updatedAt: types.number(), + url: types.string(), + }) +); export function getWebhookResponseBodyFromJSON( jsonString: string, diff --git a/src/models/getwebhooksop.ts b/src/models/getwebhooksop.ts index 6202409f5a..2afd28629a 100644 --- a/src/models/getwebhooksop.ts +++ b/src/models/getwebhooksop.ts @@ -3,7 +3,8 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -147,6 +148,9 @@ export const GetWebhooksResponseBodyEvents = { ProjectRollingReleaseApproved: "project.rolling-release.approved", ProjectRollingReleaseCompleted: "project.rolling-release.completed", ProjectRollingReleaseStarted: "project.rolling-release.started", + SandboxSessionExpiring: "sandbox.session.expiring", + SandboxSessionStarted: "sandbox.session.started", + SandboxSessionStopped: "sandbox.session.stopped", TestWebhook: "test-webhook", ThreadResolved: "thread.resolved", ThreadUnresolved: "thread.unresolved", @@ -315,6 +319,9 @@ export const ResponseBodyEvents = { ProjectRollingReleaseApproved: "project.rolling-release.approved", ProjectRollingReleaseCompleted: "project.rolling-release.completed", ProjectRollingReleaseStarted: "project.rolling-release.started", + SandboxSessionExpiring: "sandbox.session.expiring", + SandboxSessionStarted: "sandbox.session.started", + SandboxSessionStopped: "sandbox.session.stopped", TestWebhook: "test-webhook", ThreadResolved: "thread.resolved", ThreadUnresolved: "thread.unresolved", @@ -460,11 +467,15 @@ export const GetWebhooksRequest$outboundSchema: z.ZodType< GetWebhooksRequest$Outbound, z.ZodTypeDef, GetWebhooksRequest -> = z.object({ - projectId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().refine(matchesPattern$("^[a-zA-z0-9_]+$"), { + message: "Value must match pattern ^[a-zA-z0-9_]+$", + }).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getWebhooksRequestToJSON( getWebhooksRequest: GetWebhooksRequest, @@ -477,23 +488,27 @@ export function getWebhooksRequestToJSON( /** @internal */ export const GetWebhooksResponseBodyEvents$inboundSchema: z.ZodNativeEnum< typeof GetWebhooksResponseBodyEvents -> = z.nativeEnum(GetWebhooksResponseBodyEvents); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetWebhooksResponseBodyEvents) +); /** @internal */ export const GetWebhooksResponseBody2$inboundSchema: z.ZodType< GetWebhooksResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - alertRuleIds: types.optional(z.array(types.string())), - createdAt: types.number(), - events: z.array(GetWebhooksResponseBodyEvents$inboundSchema), - id: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - updatedAt: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertRuleIds: types.optional(z.array(types.string())), + createdAt: types.number(), + events: z.array(GetWebhooksResponseBodyEvents$inboundSchema), + id: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + updatedAt: types.number(), + url: types.string(), + }) +); export function getWebhooksResponseBody2FromJSON( jsonString: string, @@ -508,25 +523,29 @@ export function getWebhooksResponseBody2FromJSON( /** @internal */ export const ResponseBodyEvents$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyEvents -> = z.nativeEnum(ResponseBodyEvents); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyEvents)); /** @internal */ export const GetWebhooksResponseBodyFramework$inboundSchema: z.ZodNativeEnum< typeof GetWebhooksResponseBodyFramework -> = z.nativeEnum(GetWebhooksResponseBodyFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetWebhooksResponseBodyFramework) +); /** @internal */ export const GetWebhooksResponseBodyProjectsMetadata$inboundSchema: z.ZodType< GetWebhooksResponseBodyProjectsMetadata, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(GetWebhooksResponseBodyFramework$inboundSchema) - .optional(), - id: types.string(), - latestDeployment: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(GetWebhooksResponseBodyFramework$inboundSchema) + .optional(), + id: types.string(), + latestDeployment: types.optional(types.string()), + name: types.string(), + }) +); export function getWebhooksResponseBodyProjectsMetadataFromJSON( jsonString: string, @@ -549,21 +568,21 @@ export const GetWebhooksResponseBody1$inboundSchema: z.ZodType< GetWebhooksResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - alertRuleIds: types.optional(z.array(types.string())), - createdAt: types.number(), - events: z.array(ResponseBodyEvents$inboundSchema), - id: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - projectsMetadata: types.nullable( - z.array( - z.lazy(() => GetWebhooksResponseBodyProjectsMetadata$inboundSchema), - ), - ), - updatedAt: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertRuleIds: types.optional(z.array(types.string())), + createdAt: types.number(), + events: z.array(ResponseBodyEvents$inboundSchema), + id: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + projectsMetadata: types.nullable(z.array(z.lazy(() => + GetWebhooksResponseBodyProjectsMetadata$inboundSchema + ))), + updatedAt: types.number(), + url: types.string(), + }) +); export function getWebhooksResponseBody1FromJSON( jsonString: string, @@ -580,10 +599,12 @@ export const GetWebhooksResponseBody$inboundSchema: z.ZodType< GetWebhooksResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => GetWebhooksResponseBody1$inboundSchema)), - z.array(z.lazy(() => GetWebhooksResponseBody2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => GetWebhooksResponseBody1$inboundSchema)), + z.array(z.lazy(() => GetWebhooksResponseBody2$inboundSchema)), + ]) +); export function getWebhooksResponseBodyFromJSON( jsonString: string, diff --git a/src/models/gitnamespacesop.ts b/src/models/gitnamespacesop.ts index f5e45e8298..45e2a1b9c9 100644 --- a/src/models/gitnamespacesop.ts +++ b/src/models/gitnamespacesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -55,7 +55,7 @@ export type GitNamespacesResponseBody = { /** @internal */ export const QueryParamProvider$outboundSchema: z.ZodNativeEnum< typeof QueryParamProvider -> = z.nativeEnum(QueryParamProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamProvider)); /** @internal */ export type GitNamespacesRequest$Outbound = { @@ -69,11 +69,13 @@ export const GitNamespacesRequest$outboundSchema: z.ZodType< GitNamespacesRequest$Outbound, z.ZodTypeDef, GitNamespacesRequest -> = z.object({ - host: z.string().optional(), - provider: QueryParamProvider$outboundSchema.optional(), - viewerMetadata: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + host: z.string().optional(), + provider: QueryParamProvider$outboundSchema.optional(), + viewerMetadata: z.boolean().optional(), + }) +); export function gitNamespacesRequestToJSON( gitNamespacesRequest: GitNamespacesRequest, @@ -88,7 +90,9 @@ export const GitNamespacesId$inboundSchema: z.ZodType< GitNamespacesId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function gitNamespacesIdFromJSON( jsonString: string, @@ -105,7 +109,9 @@ export const GitNamespacesRole$inboundSchema: z.ZodType< GitNamespacesRole, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function gitNamespacesRoleFromJSON( jsonString: string, @@ -118,11 +124,13 @@ export function gitNamespacesRoleFromJSON( } /** @internal */ -export const Viewer$inboundSchema: z.ZodType = z - .object({ - canCreateApp: types.optional(types.boolean()), - role: types.optional(smartUnion([types.string(), types.number()])), - }); +export const Viewer$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + canCreateApp: types.optional(types.boolean()), + role: types.optional(smartUnion([types.string(), types.number()])), + }) + ); export function viewerFromJSON( jsonString: string, @@ -139,17 +147,19 @@ export const GitNamespacesResponseBody$inboundSchema: z.ZodType< GitNamespacesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: smartUnion([types.string(), types.number()]), - installationId: types.optional(types.number()), - isAccessRestricted: types.optional(types.boolean()), - name: types.optional(types.string()), - ownerType: types.string(), - provider: types.string(), - requireReauth: types.optional(types.boolean()), - slug: types.string(), - viewer: types.optional(z.lazy(() => Viewer$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + installationId: types.optional(types.number()), + isAccessRestricted: types.optional(types.boolean()), + name: types.optional(types.string()), + ownerType: types.string(), + provider: types.string(), + requireReauth: types.optional(types.boolean()), + slug: types.string(), + viewer: types.optional(z.lazy(() => Viewer$inboundSchema)), + }) +); export function gitNamespacesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/globalconfigitem.ts b/src/models/globalconfigitem.ts index 3363292483..4566136c29 100644 --- a/src/models/globalconfigitem.ts +++ b/src/models/globalconfigitem.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -29,14 +29,16 @@ export const GlobalConfigItem$inboundSchema: z.ZodType< GlobalConfigItem, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.optional(types.string()), - edgeConfigId: types.string(), - key: types.string(), - updatedAt: types.number(), - value: types.nullable(GlobalConfigItemValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.optional(types.string()), + edgeConfigId: types.string(), + key: types.string(), + updatedAt: types.number(), + value: types.nullable(GlobalConfigItemValue$inboundSchema), + }) +); export function globalConfigItemFromJSON( jsonString: string, diff --git a/src/models/globalconfigitemvalue.ts b/src/models/globalconfigitemvalue.ts index 3c1aac7e69..a0756bb89a 100644 --- a/src/models/globalconfigitemvalue.ts +++ b/src/models/globalconfigitemvalue.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -21,13 +21,15 @@ export const GlobalConfigItemValue$inboundSchema: z.ZodType< GlobalConfigItemValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.record(types.nullable(z.lazy(() => GlobalConfigItemValue$inboundSchema))), - z.array(types.nullable(z.lazy(() => GlobalConfigItemValue$inboundSchema))), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.record(types.nullable(z.lazy(() => GlobalConfigItemValue$inboundSchema))), + z.array(types.nullable(z.lazy(() => GlobalConfigItemValue$inboundSchema))), + types.boolean(), + ]) +); export function globalConfigItemValueFromJSON( jsonString: string, diff --git a/src/models/globalconfigtoken.ts b/src/models/globalconfigtoken.ts index 531f34b4bb..f74f60a828 100644 --- a/src/models/globalconfigtoken.ts +++ b/src/models/globalconfigtoken.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -34,14 +34,16 @@ export const GlobalConfigToken$inboundSchema: z.ZodType< GlobalConfigToken, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - edgeConfigId: types.string(), - id: types.string(), - label: types.string(), - partialToken: types.string(), - token: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + edgeConfigId: types.string(), + id: types.string(), + label: types.string(), + partialToken: types.string(), + token: types.optional(types.string()), + }) +); export function globalConfigTokenFromJSON( jsonString: string, diff --git a/src/models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts b/src/models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts index efdbefe386..b2457d0003 100644 --- a/src/models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts +++ b/src/models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest = { /** @@ -38,12 +43,42 @@ export const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$out HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$Outbound, z.ZodTypeDef, HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - digest: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + digest: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }), + }) + ); export function headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequestToJSON( headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: diff --git a/src/models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts b/src/models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts index 564f5b26d3..3a724ce48b 100644 --- a/src/models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts +++ b/src/models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest = { @@ -39,12 +44,49 @@ export const HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequ HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$Outbound, z.ZodTypeDef, HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - reference: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + reference: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$( + "^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + 255, + ), + { + message: + "Value must match pattern ^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + }, + ), + }) + ); export function headByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequestToJSON( headByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: diff --git a/src/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts b/src/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts index 7dd87dfc8a..e9fe32d07a 100644 --- a/src/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts +++ b/src/models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -49,10 +49,12 @@ export const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdE HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest$Outbound, z.ZodTypeDef, HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + }) + ); export function headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestToJSON( headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: @@ -67,8 +69,8 @@ export function headInstallationsByIntegrationConfigurationIdResourcesByResource } /** @internal */ -export const Purpose$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Purpose); +export const Purpose$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Purpose)); /** @internal */ export const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody$inboundSchema: @@ -76,12 +78,14 @@ export const HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdE HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, z.ZodTypeDef, unknown - > = z.object({ - digest: types.string(), - items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), - purpose: types.optional(Purpose$inboundSchema), - updatedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), + purpose: types.optional(Purpose$inboundSchema), + updatedAt: types.number(), + }) + ); export function headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/httpapidecodeerror.ts b/src/models/httpapidecodeerror.ts index 11430d5dd7..c705f929ab 100644 --- a/src/models/httpapidecodeerror.ts +++ b/src/models/httpapidecodeerror.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import * as types from "../types/primitives.js"; import { Issue, Issue$inboundSchema } from "./issue.js"; import { VercelError } from "./vercelerror.js"; @@ -42,17 +43,19 @@ export const HttpApiDecodeError$inboundSchema: z.ZodType< HttpApiDecodeError, z.ZodTypeDef, unknown -> = z.object({ - issues: z.array(Issue$inboundSchema), - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new HttpApiDecodeError(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issues: z.array(Issue$inboundSchema), + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new HttpApiDecodeError(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/importresourceop.ts b/src/models/importresourceop.ts index e3add42f4c..9d91f9f96d 100644 --- a/src/models/importresourceop.ts +++ b/src/models/importresourceop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -168,18 +168,18 @@ export type ImportResourceResponseBody = { }; /** @internal */ -export const Ownership$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Ownership); +export const Ownership$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Ownership)); /** @internal */ export const ImportResourceStatus$outboundSchema: z.ZodNativeEnum< typeof ImportResourceStatus -> = z.nativeEnum(ImportResourceStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ImportResourceStatus)); /** @internal */ export const ImportResourceType$outboundSchema: z.ZodNativeEnum< typeof ImportResourceType -> = z.nativeEnum(ImportResourceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ImportResourceType)); /** @internal */ export type ImportResourceDetails$Outbound = { @@ -192,10 +192,12 @@ export const ImportResourceDetails$outboundSchema: z.ZodType< ImportResourceDetails$Outbound, z.ZodTypeDef, ImportResourceDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function importResourceDetailsToJSON( importResourceDetails: ImportResourceDetails, @@ -216,10 +218,12 @@ export const ImportResourceHighlightedDetails$outboundSchema: z.ZodType< ImportResourceHighlightedDetails$Outbound, z.ZodTypeDef, ImportResourceHighlightedDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function importResourceHighlightedDetailsToJSON( importResourceHighlightedDetails: ImportResourceHighlightedDetails, @@ -252,28 +256,30 @@ export const ImportResourceBillingPlan$outboundSchema: z.ZodType< ImportResourceBillingPlan$Outbound, z.ZodTypeDef, ImportResourceBillingPlan -> = z.object({ - id: z.string(), - type: ImportResourceType$outboundSchema, - name: z.string(), - description: z.string().optional(), - paymentMethodRequired: z.boolean().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => ImportResourceDetails$outboundSchema)) - .optional(), - highlightedDetails: z.array( - z.lazy(() => ImportResourceHighlightedDetails$outboundSchema), - ).optional(), - effectiveDate: z.string().optional(), - additionalProperties: z.record(z.any()).optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + type: ImportResourceType$outboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => ImportResourceDetails$outboundSchema)) + .optional(), + highlightedDetails: z.array( + z.lazy(() => ImportResourceHighlightedDetails$outboundSchema), + ).optional(), + effectiveDate: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) +); export function importResourceBillingPlanToJSON( importResourceBillingPlan: ImportResourceBillingPlan, @@ -286,7 +292,7 @@ export function importResourceBillingPlanToJSON( /** @internal */ export const ImportResourceLevel$outboundSchema: z.ZodNativeEnum< typeof ImportResourceLevel -> = z.nativeEnum(ImportResourceLevel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ImportResourceLevel)); /** @internal */ export type ImportResourceNotification$Outbound = { @@ -301,12 +307,14 @@ export const ImportResourceNotification$outboundSchema: z.ZodType< ImportResourceNotification$Outbound, z.ZodTypeDef, ImportResourceNotification -> = z.object({ - level: ImportResourceLevel$outboundSchema, - title: z.string(), - message: z.string().optional(), - href: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: ImportResourceLevel$outboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), + }) +); export function importResourceNotificationToJSON( importResourceNotification: ImportResourceNotification, @@ -328,11 +336,13 @@ export const EnvironmentOverrides$outboundSchema: z.ZodType< EnvironmentOverrides$Outbound, z.ZodTypeDef, EnvironmentOverrides -> = z.object({ - development: z.string().optional(), - preview: z.string().optional(), - production: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }) +); export function environmentOverridesToJSON( environmentOverrides: EnvironmentOverrides, @@ -355,13 +365,15 @@ export const ImportResourceSecrets$outboundSchema: z.ZodType< ImportResourceSecrets$Outbound, z.ZodTypeDef, ImportResourceSecrets -> = z.object({ - name: z.string(), - value: z.string(), - prefix: z.string().optional(), - environmentOverrides: z.lazy(() => EnvironmentOverrides$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => EnvironmentOverrides$outboundSchema) + .optional(), + }) +); export function importResourceSecretsToJSON( importResourceSecrets: ImportResourceSecrets, @@ -382,10 +394,12 @@ export const ImportResourceWhen$outboundSchema: z.ZodType< ImportResourceWhen$Outbound, z.ZodTypeDef, ImportResourceWhen -> = z.object({ - role: z.array(z.string()).optional(), - environment: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + role: z.array(z.string()).optional(), + environment: z.array(z.string()).optional(), + }) +); export function importResourceWhenToJSON( importResourceWhen: ImportResourceWhen, @@ -403,7 +417,9 @@ export const ImportResourceClaims1$outboundSchema: z.ZodType< ImportResourceClaims1$Outbound, z.ZodTypeDef, ImportResourceClaims1 -> = smartUnion([z.string(), z.number(), z.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.number(), z.boolean()]) +); export function importResourceClaims1ToJSON( importResourceClaims1: ImportResourceClaims1, @@ -425,10 +441,12 @@ export const ImportResourceClaims$outboundSchema: z.ZodType< ImportResourceClaims$Outbound, z.ZodTypeDef, ImportResourceClaims -> = smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]) +); export function importResourceClaimsToJSON( importResourceClaims: ImportResourceClaims, @@ -449,17 +467,19 @@ export const ImportResourceClaimRules$outboundSchema: z.ZodType< ImportResourceClaimRules$Outbound, z.ZodTypeDef, ImportResourceClaimRules -> = z.object({ - when: z.lazy(() => ImportResourceWhen$outboundSchema).optional(), - claims: z.record( - z.nullable( - smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + when: z.lazy(() => ImportResourceWhen$outboundSchema).optional(), + claims: z.record( + z.nullable( + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]), + ), ), - ), -}); + }) +); export function importResourceClaimRulesToJSON( importResourceClaimRules: ImportResourceClaimRules, @@ -481,12 +501,14 @@ export const CustomClaims$outboundSchema: z.ZodType< CustomClaims$Outbound, z.ZodTypeDef, CustomClaims -> = z.object({ - roles: z.array(z.string()).optional(), - defaultRole: z.string().optional(), - claimRules: z.array(z.lazy(() => ImportResourceClaimRules$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + roles: z.array(z.string()).optional(), + defaultRole: z.string().optional(), + claimRules: z.array(z.lazy(() => ImportResourceClaimRules$outboundSchema)) + .optional(), + }) +); export function customClaimsToJSON(customClaims: CustomClaims): string { return JSON.stringify(CustomClaims$outboundSchema.parse(customClaims)); @@ -511,21 +533,23 @@ export const ImportResourceRequestBody$outboundSchema: z.ZodType< ImportResourceRequestBody$Outbound, z.ZodTypeDef, ImportResourceRequestBody -> = z.object({ - ownership: Ownership$outboundSchema.optional(), - productId: z.string(), - name: z.string(), - status: ImportResourceStatus$outboundSchema, - metadata: z.record(z.any()).optional(), - billingPlan: z.lazy(() => ImportResourceBillingPlan$outboundSchema) - .optional(), - notification: z.lazy(() => ImportResourceNotification$outboundSchema) - .optional(), - extras: z.record(z.any()).optional(), - secrets: z.array(z.lazy(() => ImportResourceSecrets$outboundSchema)) - .optional(), - customClaims: z.lazy(() => CustomClaims$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownership: Ownership$outboundSchema.optional(), + productId: z.string(), + name: z.string(), + status: ImportResourceStatus$outboundSchema, + metadata: z.record(z.any()).optional(), + billingPlan: z.lazy(() => ImportResourceBillingPlan$outboundSchema) + .optional(), + notification: z.lazy(() => ImportResourceNotification$outboundSchema) + .optional(), + extras: z.record(z.any()).optional(), + secrets: z.array(z.lazy(() => ImportResourceSecrets$outboundSchema)) + .optional(), + customClaims: z.lazy(() => CustomClaims$outboundSchema).optional(), + }) +); export function importResourceRequestBodyToJSON( importResourceRequestBody: ImportResourceRequestBody, @@ -547,16 +571,18 @@ export const ImportResourceRequest$outboundSchema: z.ZodType< ImportResourceRequest$Outbound, z.ZodTypeDef, ImportResourceRequest -> = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => ImportResourceRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => ImportResourceRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function importResourceRequestToJSON( importResourceRequest: ImportResourceRequest, @@ -571,9 +597,11 @@ export const ImportResourceResponseBody$inboundSchema: z.ZodType< ImportResourceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function importResourceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/internalservererror.ts b/src/models/internalservererror.ts index 7e92488af4..f3a142c35f 100644 --- a/src/models/internalservererror.ts +++ b/src/models/internalservererror.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -44,25 +45,27 @@ export class InternalServerError extends VercelError { /** @internal */ export const InternalServerErrorCode$inboundSchema: z.ZodNativeEnum< typeof InternalServerErrorCode -> = z.nativeEnum(InternalServerErrorCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InternalServerErrorCode)); /** @internal */ export const InternalServerError$inboundSchema: z.ZodType< InternalServerError, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: InternalServerErrorCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new InternalServerError(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: InternalServerErrorCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new InternalServerError(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/invalidadditionalcontactinfo.ts b/src/models/invalidadditionalcontactinfo.ts index a47abda73f..32882ee232 100644 --- a/src/models/invalidadditionalcontactinfo.ts +++ b/src/models/invalidadditionalcontactinfo.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,29 @@ export class InvalidAdditionalContactInfo extends VercelError { /** @internal */ export const InvalidAdditionalContactInfoCode$inboundSchema: z.ZodNativeEnum< typeof InvalidAdditionalContactInfoCode -> = z.nativeEnum(InvalidAdditionalContactInfoCode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(InvalidAdditionalContactInfoCode) +); /** @internal */ export const InvalidAdditionalContactInfo$inboundSchema: z.ZodType< InvalidAdditionalContactInfo, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: InvalidAdditionalContactInfoCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new InvalidAdditionalContactInfo(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: InvalidAdditionalContactInfoCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new InvalidAdditionalContactInfo(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/invalidatebysrcimagesop.ts b/src/models/invalidatebysrcimagesop.ts index 0ce6eea235..71feac960c 100644 --- a/src/models/invalidatebysrcimagesop.ts +++ b/src/models/invalidatebysrcimagesop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type InvalidateBySrcImagesRequestBody = { srcImages: Array; @@ -32,9 +33,11 @@ export const InvalidateBySrcImagesRequestBody$outboundSchema: z.ZodType< InvalidateBySrcImagesRequestBody$Outbound, z.ZodTypeDef, InvalidateBySrcImagesRequestBody -> = z.object({ - srcImages: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + srcImages: z.array(z.string()), + }) +); export function invalidateBySrcImagesRequestBodyToJSON( invalidateBySrcImagesRequestBody: InvalidateBySrcImagesRequestBody, @@ -59,17 +62,19 @@ export const InvalidateBySrcImagesRequest$outboundSchema: z.ZodType< InvalidateBySrcImagesRequest$Outbound, z.ZodTypeDef, InvalidateBySrcImagesRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => InvalidateBySrcImagesRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => InvalidateBySrcImagesRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function invalidateBySrcImagesRequestToJSON( invalidateBySrcImagesRequest: InvalidateBySrcImagesRequest, diff --git a/src/models/invalidatebytagsop.ts b/src/models/invalidatebytagsop.ts index f35e4cc2aa..258b39ab90 100644 --- a/src/models/invalidatebytagsop.ts +++ b/src/models/invalidatebytagsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -38,7 +39,9 @@ export type Tags$Outbound = Array | string; /** @internal */ export const Tags$outboundSchema: z.ZodType = - smartUnion([z.array(z.string()), z.string()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function tagsToJSON(tags: Tags): string { return JSON.stringify(Tags$outboundSchema.parse(tags)); @@ -47,7 +50,7 @@ export function tagsToJSON(tags: Tags): string { /** @internal */ export const InvalidateByTagsTarget$outboundSchema: z.ZodNativeEnum< typeof InvalidateByTagsTarget -> = z.nativeEnum(InvalidateByTagsTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InvalidateByTagsTarget)); /** @internal */ export type InvalidateByTagsRequestBody$Outbound = { @@ -60,10 +63,12 @@ export const InvalidateByTagsRequestBody$outboundSchema: z.ZodType< InvalidateByTagsRequestBody$Outbound, z.ZodTypeDef, InvalidateByTagsRequestBody -> = z.object({ - tags: smartUnion([z.array(z.string()), z.string()]), - target: InvalidateByTagsTarget$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tags: smartUnion([z.array(z.string()), z.string()]), + target: InvalidateByTagsTarget$outboundSchema.optional(), + }) +); export function invalidateByTagsRequestBodyToJSON( invalidateByTagsRequestBody: InvalidateByTagsRequestBody, @@ -88,17 +93,19 @@ export const InvalidateByTagsRequest$outboundSchema: z.ZodType< InvalidateByTagsRequest$Outbound, z.ZodTypeDef, InvalidateByTagsRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => InvalidateByTagsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => InvalidateByTagsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function invalidateByTagsRequestToJSON( invalidateByTagsRequest: InvalidateByTagsRequest, diff --git a/src/models/invitedteammember.ts b/src/models/invitedteammember.ts index 0da4b45f2c..a0964c5b5f 100644 --- a/src/models/invitedteammember.ts +++ b/src/models/invitedteammember.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -105,32 +105,33 @@ export type InvitedTeamMember = { }; /** @internal */ -export const Role$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Role, -); +export const Role$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Role)); /** @internal */ export const TeamPermissions$inboundSchema: z.ZodNativeEnum< typeof TeamPermissions -> = z.nativeEnum(TeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamPermissions)); /** @internal */ -export const TeamRoles$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamRoles); +export const TeamRoles$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamRoles)); /** @internal */ export const InvitedTeamMember$inboundSchema: z.ZodType< InvitedTeamMember, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - role: Role$inboundSchema, - teamPermissions: types.optional(z.array(TeamPermissions$inboundSchema)), - teamRoles: types.optional(z.array(TeamRoles$inboundSchema)), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + role: Role$inboundSchema, + teamPermissions: types.optional(z.array(TeamPermissions$inboundSchema)), + teamRoles: types.optional(z.array(TeamRoles$inboundSchema)), + uid: types.string(), + username: types.string(), + }) +); export function invitedTeamMemberFromJSON( jsonString: string, diff --git a/src/models/inviteusertoteamop.ts b/src/models/inviteusertoteamop.ts index 87e5077284..8eaa0f4f7b 100644 --- a/src/models/inviteusertoteamop.ts +++ b/src/models/inviteusertoteamop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -78,12 +79,12 @@ export type InviteUserToTeamRequest = { /** @internal */ export const InviteUserToTeamRole$outboundSchema: z.ZodNativeEnum< typeof InviteUserToTeamRole -> = z.nativeEnum(InviteUserToTeamRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InviteUserToTeamRole)); /** @internal */ export const InviteUserToTeamTeamsRole$outboundSchema: z.ZodNativeEnum< typeof InviteUserToTeamTeamsRole -> = z.nativeEnum(InviteUserToTeamTeamsRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(InviteUserToTeamTeamsRole)); /** @internal */ export type InviteUserToTeamProjects$Outbound = { @@ -96,10 +97,12 @@ export const InviteUserToTeamProjects$outboundSchema: z.ZodType< InviteUserToTeamProjects$Outbound, z.ZodTypeDef, InviteUserToTeamProjects -> = z.object({ - projectId: z.string(), - role: InviteUserToTeamTeamsRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + role: InviteUserToTeamTeamsRole$outboundSchema, + }) +); export function inviteUserToTeamProjectsToJSON( inviteUserToTeamProjects: InviteUserToTeamProjects, @@ -121,12 +124,14 @@ export const InviteUserToTeamRequestBody$outboundSchema: z.ZodType< InviteUserToTeamRequestBody$Outbound, z.ZodTypeDef, InviteUserToTeamRequestBody -> = z.object({ - email: z.string(), - role: InviteUserToTeamRole$outboundSchema.default("VIEWER"), - projects: z.array(z.lazy(() => InviteUserToTeamProjects$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: z.string(), + role: InviteUserToTeamRole$outboundSchema.default("VIEWER"), + projects: z.array(z.lazy(() => InviteUserToTeamProjects$outboundSchema)) + .optional(), + }) +); export function inviteUserToTeamRequestBodyToJSON( inviteUserToTeamRequestBody: InviteUserToTeamRequestBody, @@ -150,16 +155,19 @@ export const InviteUserToTeamRequest$outboundSchema: z.ZodType< InviteUserToTeamRequest$Outbound, z.ZodTypeDef, InviteUserToTeamRequest -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.array(z.lazy(() => InviteUserToTeamRequestBody$outboundSchema)) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.array( + z.lazy(() => InviteUserToTeamRequestBody$outboundSchema), + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function inviteUserToTeamRequestToJSON( inviteUserToTeamRequest: InviteUserToTeamRequest, diff --git a/src/models/issue.ts b/src/models/issue.ts index 2bcc27329d..be161ead20 100644 --- a/src/models/issue.ts +++ b/src/models/issue.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { PropertyKey, PropertyKey$inboundSchema } from "./propertykey.js"; @@ -24,11 +24,13 @@ export type Issue = { }; /** @internal */ -export const Issue$inboundSchema: z.ZodType = z - .object({ - path: z.array(PropertyKey$inboundSchema), - message: types.string(), - }); +export const Issue$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + path: z.array(PropertyKey$inboundSchema), + message: types.string(), + }) + ); export function issueFromJSON( jsonString: string, diff --git a/src/models/issuecertop.ts b/src/models/issuecertop.ts index 7ece3599da..a67718eb6b 100644 --- a/src/models/issuecertop.ts +++ b/src/models/issuecertop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,9 +46,11 @@ export const IssueCertRequestBody$outboundSchema: z.ZodType< IssueCertRequestBody$Outbound, z.ZodTypeDef, IssueCertRequestBody -> = z.object({ - cns: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cns: z.array(z.string()).optional(), + }) +); export function issueCertRequestBodyToJSON( issueCertRequestBody: IssueCertRequestBody, @@ -70,15 +72,17 @@ export const IssueCertRequest$outboundSchema: z.ZodType< IssueCertRequest$Outbound, z.ZodTypeDef, IssueCertRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => IssueCertRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function issueCertRequestToJSON( issueCertRequest: IssueCertRequest, @@ -93,13 +97,15 @@ export const IssueCertResponseBody$inboundSchema: z.ZodType< IssueCertResponseBody, z.ZodTypeDef, unknown -> = z.object({ - autoRenew: types.boolean(), - cns: z.array(types.string()), - createdAt: types.number(), - expiresAt: types.number(), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: types.boolean(), + cns: z.array(types.string()), + createdAt: types.number(), + expiresAt: types.number(), + id: types.string(), + }) +); export function issueCertResponseBodyFromJSON( jsonString: string, diff --git a/src/models/jointeamop.ts b/src/models/jointeamop.ts index c35bbb8964..21584326ba 100644 --- a/src/models/jointeamop.ts +++ b/src/models/jointeamop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,9 +53,11 @@ export const JoinTeamRequestBody$outboundSchema: z.ZodType< JoinTeamRequestBody$Outbound, z.ZodTypeDef, JoinTeamRequestBody -> = z.object({ - inviteCode: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inviteCode: z.string().optional(), + }) +); export function joinTeamRequestBodyToJSON( joinTeamRequestBody: JoinTeamRequestBody, @@ -76,14 +78,16 @@ export const JoinTeamRequest$outboundSchema: z.ZodType< JoinTeamRequest$Outbound, z.ZodTypeDef, JoinTeamRequest -> = z.object({ - teamId: z.string(), - requestBody: z.lazy(() => JoinTeamRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string(), + requestBody: z.lazy(() => JoinTeamRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function joinTeamRequestToJSON( joinTeamRequest: JoinTeamRequest, @@ -96,12 +100,14 @@ export const JoinTeamResponseBody$inboundSchema: z.ZodType< JoinTeamResponseBody, z.ZodTypeDef, unknown -> = z.object({ - from: types.string(), - name: types.string(), - slug: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: types.string(), + name: types.string(), + slug: types.string(), + teamId: types.string(), + }) +); export function joinTeamResponseBodyFromJSON( jsonString: string, diff --git a/src/models/killsessioncommandop.ts b/src/models/killsessioncommandop.ts index 68cb14192c..06a278df37 100644 --- a/src/models/killsessioncommandop.ts +++ b/src/models/killsessioncommandop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { @@ -59,9 +59,11 @@ export const KillSessionCommandRequestBody$outboundSchema: z.ZodType< KillSessionCommandRequestBody$Outbound, z.ZodTypeDef, KillSessionCommandRequestBody -> = z.object({ - signal: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + signal: z.number(), + }) +); export function killSessionCommandRequestBodyToJSON( killSessionCommandRequestBody: KillSessionCommandRequestBody, @@ -87,18 +89,20 @@ export const KillSessionCommandRequest$outboundSchema: z.ZodType< KillSessionCommandRequest$Outbound, z.ZodTypeDef, KillSessionCommandRequest -> = z.object({ - cmdId: z.string(), - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => KillSessionCommandRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmdId: z.string(), + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => KillSessionCommandRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function killSessionCommandRequestToJSON( killSessionCommandRequest: KillSessionCommandRequest, @@ -113,9 +117,11 @@ export const KillSessionCommandResponseBody$inboundSchema: z.ZodType< KillSessionCommandResponseBody, z.ZodTypeDef, unknown -> = z.object({ - command: SessionCommand$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + command: SessionCommand$inboundSchema, + }) +); export function killSessionCommandResponseBodyFromJSON( jsonString: string, diff --git a/src/models/languagecoderequired.ts b/src/models/languagecoderequired.ts index c5c0f865d1..30a12f4198 100644 --- a/src/models/languagecoderequired.ts +++ b/src/models/languagecoderequired.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -50,25 +51,27 @@ export class LanguageCodeRequired extends VercelError { /** @internal */ export const LanguageCodeRequiredCode$inboundSchema: z.ZodNativeEnum< typeof LanguageCodeRequiredCode -> = z.nativeEnum(LanguageCodeRequiredCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(LanguageCodeRequiredCode)); /** @internal */ export const LanguageCodeRequired$inboundSchema: z.ZodType< LanguageCodeRequired, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: LanguageCodeRequiredCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new LanguageCodeRequired(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: LanguageCodeRequiredCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new LanguageCodeRequired(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/listaccessgroupmembersop.ts b/src/models/listaccessgroupmembersop.ts index 8fc234c9b2..abc1c4d2ae 100644 --- a/src/models/listaccessgroupmembersop.ts +++ b/src/models/listaccessgroupmembersop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -85,14 +85,16 @@ export const ListAccessGroupMembersRequest$outboundSchema: z.ZodType< ListAccessGroupMembersRequest$Outbound, z.ZodTypeDef, ListAccessGroupMembersRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAccessGroupMembersRequestToJSON( listAccessGroupMembersRequest: ListAccessGroupMembersRequest, @@ -107,19 +109,23 @@ export function listAccessGroupMembersRequestToJSON( /** @internal */ export const ListAccessGroupMembersTeamRole$inboundSchema: z.ZodNativeEnum< typeof ListAccessGroupMembersTeamRole -> = z.nativeEnum(ListAccessGroupMembersTeamRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListAccessGroupMembersTeamRole) +); /** @internal */ export const Members$inboundSchema: z.ZodType = - z.object({ - avatar: types.optional(types.string()), - createdAt: types.optional(types.string()), - email: types.string(), - name: types.optional(types.string()), - teamRole: ListAccessGroupMembersTeamRole$inboundSchema, - uid: types.string(), - username: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + createdAt: types.optional(types.string()), + email: types.string(), + name: types.optional(types.string()), + teamRole: ListAccessGroupMembersTeamRole$inboundSchema, + uid: types.string(), + username: types.string(), + }) + ); export function membersFromJSON( jsonString: string, @@ -136,10 +142,12 @@ export const ListAccessGroupMembersPagination$inboundSchema: z.ZodType< ListAccessGroupMembersPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listAccessGroupMembersPaginationFromJSON( jsonString: string, @@ -156,10 +164,12 @@ export const ListAccessGroupMembersResponseBody$inboundSchema: z.ZodType< ListAccessGroupMembersResponseBody, z.ZodTypeDef, unknown -> = z.object({ - members: z.array(z.lazy(() => Members$inboundSchema)), - pagination: z.lazy(() => ListAccessGroupMembersPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + members: z.array(z.lazy(() => Members$inboundSchema)), + pagination: z.lazy(() => ListAccessGroupMembersPagination$inboundSchema), + }) +); export function listAccessGroupMembersResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listaccessgroupprojectsop.ts b/src/models/listaccessgroupprojectsop.ts index 58113f171e..5314b81617 100644 --- a/src/models/listaccessgroupprojectsop.ts +++ b/src/models/listaccessgroupprojectsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -80,13 +80,15 @@ export const ListAccessGroupProjectsRequest$outboundSchema: z.ZodType< ListAccessGroupProjectsRequest$Outbound, z.ZodTypeDef, ListAccessGroupProjectsRequest -> = z.object({ - idOrName: z.string(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAccessGroupProjectsRequestToJSON( listAccessGroupProjectsRequest: ListAccessGroupProjectsRequest, @@ -103,10 +105,12 @@ export const ListAccessGroupProjectsPagination$inboundSchema: z.ZodType< ListAccessGroupProjectsPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listAccessGroupProjectsPaginationFromJSON( jsonString: string, @@ -123,11 +127,13 @@ export const ListAccessGroupProjectsProject$inboundSchema: z.ZodType< ListAccessGroupProjectsProject, z.ZodTypeDef, unknown -> = z.object({ - framework: z.nullable(types.string()).optional(), - latestDeploymentId: types.optional(types.string()), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: z.nullable(types.string()).optional(), + latestDeploymentId: types.optional(types.string()), + name: types.optional(types.string()), + }) +); export function listAccessGroupProjectsProjectFromJSON( jsonString: string, @@ -142,20 +148,24 @@ export function listAccessGroupProjectsProjectFromJSON( /** @internal */ export const ListAccessGroupProjectsRole$inboundSchema: z.ZodNativeEnum< typeof ListAccessGroupProjectsRole -> = z.nativeEnum(ListAccessGroupProjectsRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListAccessGroupProjectsRole) +); /** @internal */ export const ListAccessGroupProjectsProjects$inboundSchema: z.ZodType< ListAccessGroupProjectsProjects, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - project: z.lazy(() => ListAccessGroupProjectsProject$inboundSchema), - projectId: types.string(), - role: ListAccessGroupProjectsRole$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + project: z.lazy(() => ListAccessGroupProjectsProject$inboundSchema), + projectId: types.string(), + role: ListAccessGroupProjectsRole$inboundSchema, + updatedAt: types.string(), + }) +); export function listAccessGroupProjectsProjectsFromJSON( jsonString: string, @@ -172,12 +182,14 @@ export const ListAccessGroupProjectsResponseBody$inboundSchema: z.ZodType< ListAccessGroupProjectsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListAccessGroupProjectsPagination$inboundSchema), - projects: z.array( - z.lazy(() => ListAccessGroupProjectsProjects$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListAccessGroupProjectsPagination$inboundSchema), + projects: z.array( + z.lazy(() => ListAccessGroupProjectsProjects$inboundSchema), + ), + }) +); export function listAccessGroupProjectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listaccessgroupsop.ts b/src/models/listaccessgroupsop.ts index aa6ad18325..6e7ca2a160 100644 --- a/src/models/listaccessgroupsop.ts +++ b/src/models/listaccessgroupsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -115,16 +115,18 @@ export const ListAccessGroupsRequest$outboundSchema: z.ZodType< ListAccessGroupsRequest$Outbound, z.ZodTypeDef, ListAccessGroupsRequest -> = z.object({ - projectId: z.string().optional(), - search: z.string().optional(), - membersLimit: z.number().int().optional(), - projectsLimit: z.number().int().optional(), - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + search: z.string().optional(), + membersLimit: z.number().int().optional(), + projectsLimit: z.number().int().optional(), + limit: z.number().int().optional(), + next: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAccessGroupsRequestToJSON( listAccessGroupsRequest: ListAccessGroupsRequest, @@ -139,21 +141,23 @@ export const AccessGroups$inboundSchema: z.ZodType< AccessGroups, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - entitlements: types.optional(z.array(types.string())), - isDsyncManaged: types.boolean(), - members: types.optional(z.array(types.string())), - membersCount: types.number(), - name: types.string(), - projects: types.optional(z.array(types.string())), - projectsCount: types.number(), - teamId: types.string(), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + entitlements: types.optional(z.array(types.string())), + isDsyncManaged: types.boolean(), + members: types.optional(z.array(types.string())), + membersCount: types.number(), + name: types.string(), + projects: types.optional(z.array(types.string())), + projectsCount: types.number(), + teamId: types.string(), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + updatedAt: types.string(), + }) +); export function accessGroupsFromJSON( jsonString: string, @@ -170,10 +174,12 @@ export const ResponseBodyPagination$inboundSchema: z.ZodType< ResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function responseBodyPaginationFromJSON( jsonString: string, @@ -190,10 +196,12 @@ export const ResponseBody2$inboundSchema: z.ZodType< ResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - accessGroups: z.array(z.lazy(() => AccessGroups$inboundSchema)), - pagination: z.lazy(() => ResponseBodyPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroups: z.array(z.lazy(() => AccessGroups$inboundSchema)), + pagination: z.lazy(() => ResponseBodyPagination$inboundSchema), + }) +); export function responseBody2FromJSON( jsonString: string, @@ -210,7 +218,7 @@ export const ResponseBody1$inboundSchema: z.ZodType< ResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBody1FromJSON( jsonString: string, @@ -227,10 +235,12 @@ export const ListAccessGroupsResponseBody$inboundSchema: z.ZodType< ListAccessGroupsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ResponseBody2$inboundSchema), - z.lazy(() => ResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ResponseBody2$inboundSchema), + z.lazy(() => ResponseBody1$inboundSchema), + ]) +); export function listAccessGroupsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listaigatewaybudgetdefaultsop.ts b/src/models/listaigatewaybudgetdefaultsop.ts index 4eaab96991..afdb2367a2 100644 --- a/src/models/listaigatewaybudgetdefaultsop.ts +++ b/src/models/listaigatewaybudgetdefaultsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListAiGatewayBudgetDefaultsRequest = { /** @@ -26,10 +27,12 @@ export const ListAiGatewayBudgetDefaultsRequest$outboundSchema: z.ZodType< ListAiGatewayBudgetDefaultsRequest$Outbound, z.ZodTypeDef, ListAiGatewayBudgetDefaultsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayBudgetDefaultsRequestToJSON( listAiGatewayBudgetDefaultsRequest: ListAiGatewayBudgetDefaultsRequest, diff --git a/src/models/listaigatewaybudgetsop.ts b/src/models/listaigatewaybudgetsop.ts index a76c524d04..4895747b83 100644 --- a/src/models/listaigatewaybudgetsop.ts +++ b/src/models/listaigatewaybudgetsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -12,6 +13,7 @@ export const QueryParamScopeType = { Team: "team", Project: "project", User: "user", + App: "app", ApiKey: "api-key", } as const; /** @@ -61,12 +63,12 @@ export type ListAiGatewayBudgetsRequest = { /** @internal */ export const QueryParamScopeType$outboundSchema: z.ZodNativeEnum< typeof QueryParamScopeType -> = z.nativeEnum(QueryParamScopeType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamScopeType)); /** @internal */ export const IncludeDefaultCovered$outboundSchema: z.ZodNativeEnum< typeof IncludeDefaultCovered -> = z.nativeEnum(IncludeDefaultCovered); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IncludeDefaultCovered)); /** @internal */ export type ListAiGatewayBudgetsRequest$Outbound = { @@ -83,14 +85,16 @@ export const ListAiGatewayBudgetsRequest$outboundSchema: z.ZodType< ListAiGatewayBudgetsRequest$Outbound, z.ZodTypeDef, ListAiGatewayBudgetsRequest -> = z.object({ - scopeType: QueryParamScopeType$outboundSchema.optional(), - includeDefaultCovered: IncludeDefaultCovered$outboundSchema.optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scopeType: QueryParamScopeType$outboundSchema.optional(), + includeDefaultCovered: IncludeDefaultCovered$outboundSchema.optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayBudgetsRequestToJSON( listAiGatewayBudgetsRequest: ListAiGatewayBudgetsRequest, diff --git a/src/models/listaigatewaybyokcredentialsop.ts b/src/models/listaigatewaybyokcredentialsop.ts index 5d9482cd43..bdc65f65b8 100644 --- a/src/models/listaigatewaybyokcredentialsop.ts +++ b/src/models/listaigatewaybyokcredentialsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -104,16 +104,16 @@ export type ListAiGatewayByokCredentialsResponseBody = { /** @internal */ export const IncludeDeleted$outboundSchema: z.ZodNativeEnum< typeof IncludeDeleted -> = z.nativeEnum(IncludeDeleted); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IncludeDeleted)); /** @internal */ -export const Decrypt$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Decrypt); +export const Decrypt$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Decrypt)); /** @internal */ export const IncludeModelMappings$outboundSchema: z.ZodNativeEnum< typeof IncludeModelMappings -> = z.nativeEnum(IncludeModelMappings); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IncludeModelMappings)); /** @internal */ export type ListAiGatewayByokCredentialsRequest$Outbound = { @@ -131,15 +131,17 @@ export const ListAiGatewayByokCredentialsRequest$outboundSchema: z.ZodType< ListAiGatewayByokCredentialsRequest$Outbound, z.ZodTypeDef, ListAiGatewayByokCredentialsRequest -> = z.object({ - ownerId: z.string().optional(), - providerSlug: z.string().optional(), - includeDeleted: IncludeDeleted$outboundSchema.default("false"), - decrypt: Decrypt$outboundSchema.default("false"), - includeModelMappings: IncludeModelMappings$outboundSchema.default("false"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + providerSlug: z.string().optional(), + includeDeleted: IncludeDeleted$outboundSchema.default("false"), + decrypt: Decrypt$outboundSchema.default("false"), + includeModelMappings: IncludeModelMappings$outboundSchema.default("false"), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayByokCredentialsRequestToJSON( listAiGatewayByokCredentialsRequest: ListAiGatewayByokCredentialsRequest, @@ -156,10 +158,12 @@ export const ModelMappings$inboundSchema: z.ZodType< ModelMappings, z.ZodTypeDef, unknown -> = z.object({ - customModelId: types.string(), - gatewayModelSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customModelId: types.string(), + gatewayModelSlug: types.string(), + }) +); export function modelMappingsFromJSON( jsonString: string, @@ -176,21 +180,23 @@ export const Credentials$inboundSchema: z.ZodType< Credentials, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - createdAt: types.number(), - credential: types.nullable(types.string()), - credentialId: types.string(), - deleted: types.boolean(), - lastFourChars: types.string(), - modelMappings: z.array(z.lazy(() => ModelMappings$inboundSchema)), - name: types.string(), - ownerId: types.string(), - providerSlug: types.string(), - rotatedAt: types.nullable(types.number()), - updatedAt: types.number(), - zeroDataRetention: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + createdAt: types.number(), + credential: types.nullable(types.string()), + credentialId: types.string(), + deleted: types.boolean(), + lastFourChars: types.string(), + modelMappings: z.array(z.lazy(() => ModelMappings$inboundSchema)), + name: types.string(), + ownerId: types.string(), + providerSlug: types.string(), + rotatedAt: types.nullable(types.number()), + updatedAt: types.number(), + zeroDataRetention: types.boolean(), + }) +); export function credentialsFromJSON( jsonString: string, @@ -207,9 +213,11 @@ export const ListAiGatewayByokCredentialsResponseBody$inboundSchema: z.ZodType< ListAiGatewayByokCredentialsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - credentials: z.array(z.lazy(() => Credentials$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + credentials: z.array(z.lazy(() => Credentials$inboundSchema)), + }) +); export function listAiGatewayByokCredentialsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listaigatewayroutersop.ts b/src/models/listaigatewayroutersop.ts index 36c65870fa..d39f7ca511 100644 --- a/src/models/listaigatewayroutersop.ts +++ b/src/models/listaigatewayroutersop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListAiGatewayRoutersRequest = { /** @@ -31,11 +32,13 @@ export const ListAiGatewayRoutersRequest$outboundSchema: z.ZodType< ListAiGatewayRoutersRequest$Outbound, z.ZodTypeDef, ListAiGatewayRoutersRequest -> = z.object({ - ownerId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayRoutersRequestToJSON( listAiGatewayRoutersRequest: ListAiGatewayRoutersRequest, diff --git a/src/models/listaigatewayrulesop.ts b/src/models/listaigatewayrulesop.ts index 09f384966d..a265ddb5f5 100644 --- a/src/models/listaigatewayrulesop.ts +++ b/src/models/listaigatewayrulesop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const IncludeDisabled = { @@ -34,7 +35,7 @@ export type ListAiGatewayRulesRequest = { /** @internal */ export const IncludeDisabled$outboundSchema: z.ZodNativeEnum< typeof IncludeDisabled -> = z.nativeEnum(IncludeDisabled); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IncludeDisabled)); /** @internal */ export type ListAiGatewayRulesRequest$Outbound = { @@ -50,13 +51,15 @@ export const ListAiGatewayRulesRequest$outboundSchema: z.ZodType< ListAiGatewayRulesRequest$Outbound, z.ZodTypeDef, ListAiGatewayRulesRequest -> = z.object({ - includeDisabled: IncludeDisabled$outboundSchema.optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + includeDisabled: IncludeDisabled$outboundSchema.optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayRulesRequestToJSON( listAiGatewayRulesRequest: ListAiGatewayRulesRequest, diff --git a/src/models/listaigatewayvirtualmodelconfigsop.ts b/src/models/listaigatewayvirtualmodelconfigsop.ts index 7db9ab1555..9031147279 100644 --- a/src/models/listaigatewayvirtualmodelconfigsop.ts +++ b/src/models/listaigatewayvirtualmodelconfigsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const IncludeArchived = { @@ -29,7 +30,7 @@ export type ListAiGatewayVirtualModelConfigsRequest = { /** @internal */ export const IncludeArchived$outboundSchema: z.ZodNativeEnum< typeof IncludeArchived -> = z.nativeEnum(IncludeArchived); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IncludeArchived)); /** @internal */ export type ListAiGatewayVirtualModelConfigsRequest$Outbound = { @@ -46,14 +47,16 @@ export const ListAiGatewayVirtualModelConfigsRequest$outboundSchema: z.ZodType< ListAiGatewayVirtualModelConfigsRequest$Outbound, z.ZodTypeDef, ListAiGatewayVirtualModelConfigsRequest -> = z.object({ - ownerId: z.string().optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - includeArchived: IncludeArchived$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + includeArchived: IncludeArchived$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAiGatewayVirtualModelConfigsRequestToJSON( listAiGatewayVirtualModelConfigsRequest: diff --git a/src/models/listaliasesop.ts b/src/models/listaliasesop.ts index 3ec90a490b..1528a561ec 100644 --- a/src/models/listaliasesop.ts +++ b/src/models/listaliasesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -308,7 +308,9 @@ export const Domain$outboundSchema: z.ZodType< Domain$Outbound, z.ZodTypeDef, Domain -> = smartUnion([z.array(z.string()), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) +); export function domainToJSON(domain: Domain): string { return JSON.stringify(Domain$outboundSchema.parse(domain)); @@ -332,17 +334,19 @@ export const ListAliasesRequest$outboundSchema: z.ZodType< ListAliasesRequest$Outbound, z.ZodTypeDef, ListAliasesRequest -> = z.object({ - domain: smartUnion([z.array(z.string()), z.string()]).optional(), - from: z.number().optional(), - limit: z.number().optional(), - projectId: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - rollbackDeploymentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: smartUnion([z.array(z.string()), z.string()]).optional(), + from: z.number().optional(), + limit: z.number().optional(), + projectId: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + rollbackDeploymentId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listAliasesRequestToJSON( listAliasesRequest: ListAliasesRequest, @@ -357,11 +361,13 @@ export const ListAliasesCreator$inboundSchema: z.ZodType< ListAliasesCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + uid: types.string(), + username: types.optional(types.string()), + }) +); export function listAliasesCreatorFromJSON( jsonString: string, @@ -378,11 +384,13 @@ export const ListAliasesDeployment$inboundSchema: z.ZodType< ListAliasesDeployment, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - meta: types.optional(types.string()), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + meta: types.optional(types.string()), + url: types.optional(types.string()), + }) +); export function listAliasesDeploymentFromJSON( jsonString: string, @@ -399,14 +407,16 @@ export const ListAliasesApplications3$inboundSchema: z.ZodType< ListAliasesApplications3, z.ZodTypeDef, unknown -> = z.object({ - branchAlias: types.optional(types.string()), - branchDeploymentId: types.optional(types.string()), - deploymentId: types.optional(types.string()), - fallbackDeploymentId: types.optional(types.string()), - fallbackHost: types.optional(types.string()), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchAlias: types.optional(types.string()), + branchDeploymentId: types.optional(types.string()), + deploymentId: types.optional(types.string()), + fallbackDeploymentId: types.optional(types.string()), + fallbackHost: types.optional(types.string()), + projectId: types.string(), + }) +); export function listAliasesApplications3FromJSON( jsonString: string, @@ -423,11 +433,13 @@ export const ListAliasesApplications2$inboundSchema: z.ZodType< ListAliasesApplications2, z.ZodTypeDef, unknown -> = z.object({ - branchAlias: types.string(), - fallbackHost: types.string(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchAlias: types.string(), + fallbackHost: types.string(), + projectId: types.string(), + }) +); export function listAliasesApplications2FromJSON( jsonString: string, @@ -444,10 +456,12 @@ export const ListAliasesApplications1$inboundSchema: z.ZodType< ListAliasesApplications1, z.ZodTypeDef, unknown -> = z.object({ - fallbackHost: types.string(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fallbackHost: types.string(), + projectId: types.string(), + }) +); export function listAliasesApplications1FromJSON( jsonString: string, @@ -464,11 +478,13 @@ export const ListAliasesApplications$inboundSchema: z.ZodType< ListAliasesApplications, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)), - z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)), - z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)), + z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)), + z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), + ]) +); export function listAliasesApplicationsFromJSON( jsonString: string, @@ -485,9 +501,11 @@ export const ListAliasesDefaultApp$inboundSchema: z.ZodType< ListAliasesDefaultApp, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + }) +); export function listAliasesDefaultAppFromJSON( jsonString: string, @@ -504,14 +522,16 @@ export const ListAliasesMicrofrontends$inboundSchema: z.ZodType< ListAliasesMicrofrontends, z.ZodTypeDef, unknown -> = z.object({ - applications: smartUnion([ - z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)), - z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)), - z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), - ]), - defaultApp: z.lazy(() => ListAliasesDefaultApp$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applications: smartUnion([ + z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)), + z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)), + z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), + ]), + defaultApp: z.lazy(() => ListAliasesDefaultApp$inboundSchema), + }) +); export function listAliasesMicrofrontendsFromJSON( jsonString: string, @@ -528,12 +548,14 @@ export const ListAliasesProtectionBypass4$inboundSchema: z.ZodType< ListAliasesProtectionBypass4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("email_invite"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("email_invite"), + }) +); export function listAliasesProtectionBypass4FromJSON( jsonString: string, @@ -550,11 +572,13 @@ export const ListAliasesProtectionBypass3$inboundSchema: z.ZodType< ListAliasesProtectionBypass3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - scope: types.literal("alias-protection-override"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + scope: types.literal("alias-protection-override"), + }) +); export function listAliasesProtectionBypass3FromJSON( jsonString: string, @@ -569,20 +593,24 @@ export function listAliasesProtectionBypass3FromJSON( /** @internal */ export const ListAliasesProtectionBypassAccess$inboundSchema: z.ZodNativeEnum< typeof ListAliasesProtectionBypassAccess -> = z.nativeEnum(ListAliasesProtectionBypassAccess); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListAliasesProtectionBypassAccess) +); /** @internal */ export const ListAliasesProtectionBypass2$inboundSchema: z.ZodType< ListAliasesProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - access: ListAliasesProtectionBypassAccess$inboundSchema, - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: ListAliasesProtectionBypassAccess$inboundSchema, + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("user"), + }) +); export function listAliasesProtectionBypass2FromJSON( jsonString: string, @@ -599,12 +627,14 @@ export const ListAliasesProtectionBypass1$inboundSchema: z.ZodType< ListAliasesProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - expires: types.optional(types.number()), - scope: types.literal("shareable-link"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + expires: types.optional(types.number()), + scope: types.literal("shareable-link"), + }) +); export function listAliasesProtectionBypass1FromJSON( jsonString: string, @@ -621,12 +651,14 @@ export const ListAliasesProtectionBypass$inboundSchema: z.ZodType< ListAliasesProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass2$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), + ]) +); export function listAliasesProtectionBypassFromJSON( jsonString: string, @@ -643,33 +675,37 @@ export const ListAliasesAliases$inboundSchema: z.ZodType< ListAliasesAliases, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - created: types.date(), - createdAt: types.optional(types.number()), - creator: types.optional(z.lazy(() => ListAliasesCreator$inboundSchema)), - deletedAt: z.nullable(types.number()).optional(), - deployment: types.optional(z.lazy(() => ListAliasesDeployment$inboundSchema)), - deploymentId: types.nullable(types.string()), - microfrontends: types.optional( - z.lazy(() => ListAliasesMicrofrontends$inboundSchema), - ), - projectId: types.nullable(types.string()), - protectionBypass: types.optional( - z.record(z.union([ - z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), - z.lazy(() => - ListAliasesProtectionBypass2$inboundSchema - ), - z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), - ])), - ), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - uid: types.string(), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + created: types.date(), + createdAt: types.optional(types.number()), + creator: types.optional(z.lazy(() => ListAliasesCreator$inboundSchema)), + deletedAt: z.nullable(types.number()).optional(), + deployment: types.optional( + z.lazy(() => ListAliasesDeployment$inboundSchema), + ), + deploymentId: types.nullable(types.string()), + microfrontends: types.optional( + z.lazy(() => ListAliasesMicrofrontends$inboundSchema), + ), + projectId: types.nullable(types.string()), + protectionBypass: types.optional( + z.record(z.union([ + z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), + z.lazy(() => + ListAliasesProtectionBypass2$inboundSchema + ), + z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListAliasesProtectionBypass4$inboundSchema), + ])), + ), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + uid: types.string(), + updatedAt: types.optional(types.number()), + }) +); export function listAliasesAliasesFromJSON( jsonString: string, @@ -686,10 +722,12 @@ export const ListAliasesResponseBody$inboundSchema: z.ZodType< ListAliasesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - aliases: z.array(z.lazy(() => ListAliasesAliases$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliases: z.array(z.lazy(() => ListAliasesAliases$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function listAliasesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listauthtokensop.ts b/src/models/listauthtokensop.ts index b2a3af7f87..65dc443a03 100644 --- a/src/models/listauthtokensop.ts +++ b/src/models/listauthtokensop.ts @@ -3,7 +3,8 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -11,6 +12,49 @@ import { AuthToken, AuthToken$inboundSchema } from "./authtoken.js"; import { Pagination, Pagination$inboundSchema } from "./pagination.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; +/** + * Filter by token kind. Omit or use `all` to include every kind. + */ +export const ListAuthTokensQueryParamKind = { + AccessToken: "access-token", + All: "all", + App: "app", + SignInSession: "sign-in-session", +} as const; +/** + * Filter by token kind. Omit or use `all` to include every kind. + */ +export type ListAuthTokensQueryParamKind = ClosedEnum< + typeof ListAuthTokensQueryParamKind +>; + +/** + * Filter by token status. Omit or use `all` to include every status. + */ +export const ListAuthTokensQueryParamStatus = { + Active: "active", + All: "all", + Expired: "expired", + Revoked: "revoked", +} as const; +/** + * Filter by token status. Omit or use `all` to include every status. + */ +export type ListAuthTokensQueryParamStatus = ClosedEnum< + typeof ListAuthTokensQueryParamStatus +>; + +export type ListAuthTokensRequest = { + /** + * Filter by token kind. Omit or use `all` to include every kind. + */ + kind?: ListAuthTokensQueryParamKind | undefined; + /** + * Filter by token status. Omit or use `all` to include every status. + */ + status?: ListAuthTokensQueryParamStatus | undefined; +}; + export type ListAuthTokensResponseBody2 = { /** * 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. @@ -34,15 +78,57 @@ export type ListAuthTokensResponseBody = | ListAuthTokensResponseBody1 | ListAuthTokensResponseBody2; +/** @internal */ +export const ListAuthTokensQueryParamKind$outboundSchema: z.ZodNativeEnum< + typeof ListAuthTokensQueryParamKind +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListAuthTokensQueryParamKind) +); + +/** @internal */ +export const ListAuthTokensQueryParamStatus$outboundSchema: z.ZodNativeEnum< + typeof ListAuthTokensQueryParamStatus +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListAuthTokensQueryParamStatus) +); + +/** @internal */ +export type ListAuthTokensRequest$Outbound = { + kind?: string | undefined; + status?: string | undefined; +}; + +/** @internal */ +export const ListAuthTokensRequest$outboundSchema: z.ZodType< + ListAuthTokensRequest$Outbound, + z.ZodTypeDef, + ListAuthTokensRequest +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: ListAuthTokensQueryParamKind$outboundSchema.optional(), + status: ListAuthTokensQueryParamStatus$outboundSchema.optional(), + }) +); + +export function listAuthTokensRequestToJSON( + listAuthTokensRequest: ListAuthTokensRequest, +): string { + return JSON.stringify( + ListAuthTokensRequest$outboundSchema.parse(listAuthTokensRequest), + ); +} + /** @internal */ export const ListAuthTokensResponseBody2$inboundSchema: z.ZodType< ListAuthTokensResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: Pagination$inboundSchema, - tokens: z.array(AuthToken$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: Pagination$inboundSchema, + tokens: z.array(AuthToken$inboundSchema), + }) +); export function listAuthTokensResponseBody2FromJSON( jsonString: string, @@ -59,11 +145,13 @@ export const ListAuthTokensResponseBodyPagination$inboundSchema: z.ZodType< ListAuthTokensResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), - prev: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + prev: types.nullable(types.string()), + }) +); export function listAuthTokensResponseBodyPaginationFromJSON( jsonString: string, @@ -81,10 +169,14 @@ export const ListAuthTokensResponseBody1$inboundSchema: z.ZodType< ListAuthTokensResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListAuthTokensResponseBodyPagination$inboundSchema), - tokens: z.array(AuthToken$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => + ListAuthTokensResponseBodyPagination$inboundSchema + ), + tokens: z.array(AuthToken$inboundSchema), + }) +); export function listAuthTokensResponseBody1FromJSON( jsonString: string, @@ -101,10 +193,12 @@ export const ListAuthTokensResponseBody$inboundSchema: z.ZodType< ListAuthTokensResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListAuthTokensResponseBody1$inboundSchema), - z.lazy(() => ListAuthTokensResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListAuthTokensResponseBody1$inboundSchema), + z.lazy(() => ListAuthTokensResponseBody2$inboundSchema), + ]) +); export function listAuthTokensResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listcheckrunsop.ts b/src/models/listcheckrunsop.ts index b2091e68be..c7614acb19 100644 --- a/src/models/listcheckrunsop.ts +++ b/src/models/listcheckrunsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -387,12 +387,14 @@ export const ListCheckRunsRequest$outboundSchema: z.ZodType< ListCheckRunsRequest$Outbound, z.ZodTypeDef, ListCheckRunsRequest -> = z.object({ - projectIdOrName: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listCheckRunsRequestToJSON( listCheckRunsRequest: ListCheckRunsRequest, @@ -405,24 +407,26 @@ export function listCheckRunsRequestToJSON( /** @internal */ export const ListCheckRunsRunsBlocks$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsRunsBlocks -> = z.nativeEnum(ListCheckRunsRunsBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsRunsBlocks)); /** @internal */ export const RunsConclusion$inboundSchema: z.ZodNativeEnum< typeof RunsConclusion -> = z.nativeEnum(RunsConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RunsConclusion)); /** @internal */ export const RunsExpectationRef$inboundSchema: z.ZodType< RunsExpectationRef, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) +); export function runsExpectationRefFromJSON( jsonString: string, @@ -437,24 +441,26 @@ export function runsExpectationRefFromJSON( /** @internal */ export const ListCheckRunsRunsRequires$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsRunsRequires -> = z.nativeEnum(ListCheckRunsRunsRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsRunsRequires)); /** @internal */ export const ListCheckRunsRunsStatus$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsRunsStatus -> = z.nativeEnum(ListCheckRunsRunsStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsRunsStatus)); /** @internal */ export const RunsTaskSummary$inboundSchema: z.ZodType< RunsTaskSummary, z.ZodTypeDef, unknown -> = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) +); export function runsTaskSummaryFromJSON( jsonString: string, @@ -469,17 +475,21 @@ export function runsTaskSummaryFromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2SubKind$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSourceChecksV2SubKind -> = z.nativeEnum(ListCheckRunsSourceChecksV2SubKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2SubKind) +); /** @internal */ export const ListCheckRunsSourceChecksV22$inboundSchema: z.ZodType< ListCheckRunsSourceChecksV22, z.ZodTypeDef, unknown -> = z.object({ - origin: types.literal("platform"), - subKind: ListCheckRunsSourceChecksV2SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.literal("platform"), + subKind: ListCheckRunsSourceChecksV2SubKind$inboundSchema, + }) +); export function listCheckRunsSourceChecksV22FromJSON( jsonString: string, @@ -494,20 +504,22 @@ export function listCheckRunsSourceChecksV22FromJSON( /** @internal */ export const ListCheckRunsSourceSubKind$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSourceSubKind -> = z.nativeEnum(ListCheckRunsSourceSubKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsSourceSubKind)); /** @internal */ export const ListCheckRunsSourceChecksV21$inboundSchema: z.ZodType< ListCheckRunsSourceChecksV21, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.optional(types.number()), - invocationId: types.string(), - jobDefinitionId: types.string(), - origin: types.literal("config"), - subKind: ListCheckRunsSourceSubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.optional(types.number()), + invocationId: types.string(), + jobDefinitionId: types.string(), + origin: types.literal("config"), + subKind: ListCheckRunsSourceSubKind$inboundSchema, + }) +); export function listCheckRunsSourceChecksV21FromJSON( jsonString: string, @@ -524,10 +536,12 @@ export const ListCheckRunsRunsSource$inboundSchema: z.ZodType< ListCheckRunsRunsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListCheckRunsSourceChecksV21$inboundSchema), - z.lazy(() => ListCheckRunsSourceChecksV22$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListCheckRunsSourceChecksV21$inboundSchema), + z.lazy(() => ListCheckRunsSourceChecksV22$inboundSchema), + ]) +); export function listCheckRunsRunsSourceFromJSON( jsonString: string, @@ -540,37 +554,39 @@ export function listCheckRunsRunsSourceFromJSON( } /** @internal */ -export const Runs2$inboundSchema: z.ZodType = z - .object({ - blocks: types.optional(ListCheckRunsRunsBlocks$inboundSchema), - completedAt: types.optional(types.number()), - conclusion: types.optional(RunsConclusion$inboundSchema), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => RunsExpectationRef$inboundSchema), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional(ListCheckRunsRunsRequires$inboundSchema), - startedAt: types.optional(types.number()), - status: ListCheckRunsRunsStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional(z.lazy(() => RunsTaskSummary$inboundSchema)), - timeout: types.number(), - updatedAt: types.number(), - source: z.union([ - z.lazy(() => ListCheckRunsSourceChecksV21$inboundSchema), - z.lazy(() => ListCheckRunsSourceChecksV22$inboundSchema), - ]), - }); +export const Runs2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional(ListCheckRunsRunsBlocks$inboundSchema), + completedAt: types.optional(types.number()), + conclusion: types.optional(RunsConclusion$inboundSchema), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional( + z.lazy(() => RunsExpectationRef$inboundSchema), + ), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional(ListCheckRunsRunsRequires$inboundSchema), + startedAt: types.optional(types.number()), + status: ListCheckRunsRunsStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => RunsTaskSummary$inboundSchema)), + timeout: types.number(), + updatedAt: types.number(), + source: z.union([ + z.lazy(() => ListCheckRunsSourceChecksV21$inboundSchema), + z.lazy(() => ListCheckRunsSourceChecksV22$inboundSchema), + ]), + }) + ); export function runs2FromJSON( jsonString: string, @@ -583,25 +599,29 @@ export function runs2FromJSON( } /** @internal */ -export const RunsBlocks$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RunsBlocks); +export const RunsBlocks$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RunsBlocks)); /** @internal */ export const ListCheckRunsRunsConclusion$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsRunsConclusion -> = z.nativeEnum(ListCheckRunsRunsConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsRunsConclusion) +); /** @internal */ export const ListCheckRunsRunsExpectationRef$inboundSchema: z.ZodType< ListCheckRunsRunsExpectationRef, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) +); export function listCheckRunsRunsExpectationRefFromJSON( jsonString: string, @@ -615,23 +635,25 @@ export function listCheckRunsRunsExpectationRefFromJSON( /** @internal */ export const RunsRequires$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RunsRequires); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RunsRequires)); /** @internal */ -export const RunsStatus$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RunsStatus); +export const RunsStatus$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RunsStatus)); /** @internal */ export const ListCheckRunsRunsTaskSummary$inboundSchema: z.ZodType< ListCheckRunsRunsTaskSummary, z.ZodTypeDef, unknown -> = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) +); export function listCheckRunsRunsTaskSummaryFromJSON( jsonString: string, @@ -645,26 +667,30 @@ export function listCheckRunsRunsTaskSummaryFromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2Response200Origin$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListCheckRunsSourceChecksV2Response200Origin); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2Response200Origin) + ); /** @internal */ export const ListCheckRunsSelectionJob$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSelectionJob -> = z.nativeEnum(ListCheckRunsSelectionJob); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsSelectionJob)); /** @internal */ export const ListCheckRunsSelection3$inboundSchema: z.ZodType< ListCheckRunsSelection3, z.ZodTypeDef, unknown -> = z.object({ - failIfNoMatch: types.optional(types.boolean()), - filters: z.array(types.string()), - job: ListCheckRunsSelectionJob$inboundSchema, - kind: types.literal("turborepo"), - task: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failIfNoMatch: types.optional(types.boolean()), + filters: z.array(types.string()), + job: ListCheckRunsSelectionJob$inboundSchema, + kind: types.literal("turborepo"), + task: types.string(), + }) +); export function listCheckRunsSelection3FromJSON( jsonString: string, @@ -681,9 +707,11 @@ export const ListCheckRunsSelection2$inboundSchema: z.ZodType< ListCheckRunsSelection2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + }) +); export function listCheckRunsSelection2FromJSON( jsonString: string, @@ -700,9 +728,11 @@ export const ListCheckRunsSelection1$inboundSchema: z.ZodType< ListCheckRunsSelection1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("invocation"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("invocation"), + }) +); export function listCheckRunsSelection1FromJSON( jsonString: string, @@ -719,11 +749,13 @@ export const ListCheckRunsSourceSelection$inboundSchema: z.ZodType< ListCheckRunsSourceSelection, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListCheckRunsSelection1$inboundSchema), - z.lazy(() => ListCheckRunsSelection2$inboundSchema), - z.lazy(() => ListCheckRunsSelection3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListCheckRunsSelection1$inboundSchema), + z.lazy(() => ListCheckRunsSelection2$inboundSchema), + z.lazy(() => ListCheckRunsSelection3$inboundSchema), + ]) +); export function listCheckRunsSourceSelectionFromJSON( jsonString: string, @@ -737,23 +769,27 @@ export function listCheckRunsSourceSelectionFromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2Response200SubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListCheckRunsSourceChecksV2Response200SubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2Response200SubKind) + ); /** @internal */ export const ListCheckRunsSource5$inboundSchema: z.ZodType< ListCheckRunsSource5, z.ZodTypeDef, unknown -> = z.object({ - origin: ListCheckRunsSourceChecksV2Response200Origin$inboundSchema, - selection: z.union([ - z.lazy(() => ListCheckRunsSelection1$inboundSchema), - z.lazy(() => ListCheckRunsSelection2$inboundSchema), - z.lazy(() => ListCheckRunsSelection3$inboundSchema), - ]), - subKind: ListCheckRunsSourceChecksV2Response200SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: ListCheckRunsSourceChecksV2Response200Origin$inboundSchema, + selection: z.union([ + z.lazy(() => ListCheckRunsSelection1$inboundSchema), + z.lazy(() => ListCheckRunsSelection2$inboundSchema), + z.lazy(() => ListCheckRunsSelection3$inboundSchema), + ]), + subKind: ListCheckRunsSourceChecksV2Response200SubKind$inboundSchema, + }) +); export function listCheckRunsSource5FromJSON( jsonString: string, @@ -767,27 +803,33 @@ export function listCheckRunsSource5FromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2ResponseOrigin$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListCheckRunsSourceChecksV2ResponseOrigin); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2ResponseOrigin) + ); /** @internal */ export const ListCheckRunsSourceChecksV2ResponseSubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListCheckRunsSourceChecksV2ResponseSubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2ResponseSubKind) + ); /** @internal */ export const ListCheckRunsSource4$inboundSchema: z.ZodType< ListCheckRunsSource4, z.ZodTypeDef, unknown -> = z.object({ - origin: types.optional( - ListCheckRunsSourceChecksV2ResponseOrigin$inboundSchema, - ), - subKind: types.optional( - ListCheckRunsSourceChecksV2ResponseSubKind$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.optional( + ListCheckRunsSourceChecksV2ResponseOrigin$inboundSchema, + ), + subKind: types.optional( + ListCheckRunsSourceChecksV2ResponseSubKind$inboundSchema, + ), + }) +); export function listCheckRunsSource4FromJSON( jsonString: string, @@ -801,24 +843,30 @@ export function listCheckRunsSource4FromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2ResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListCheckRunsSourceChecksV2ResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2ResponseKind) + ); /** @internal */ export const ListCheckRunsSourceProvider$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSourceProvider -> = z.nativeEnum(ListCheckRunsSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceProvider) +); /** @internal */ export const ListCheckRunsSource3$inboundSchema: z.ZodType< ListCheckRunsSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: ListCheckRunsSourceChecksV2ResponseKind$inboundSchema, - provider: ListCheckRunsSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: ListCheckRunsSourceChecksV2ResponseKind$inboundSchema, + provider: ListCheckRunsSourceProvider$inboundSchema, + }) +); export function listCheckRunsSource3FromJSON( jsonString: string, @@ -833,17 +881,21 @@ export function listCheckRunsSource3FromJSON( /** @internal */ export const ListCheckRunsSourceChecksV2Kind$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSourceChecksV2Kind -> = z.nativeEnum(ListCheckRunsSourceChecksV2Kind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListCheckRunsSourceChecksV2Kind) +); /** @internal */ export const ListCheckRunsSource2$inboundSchema: z.ZodType< ListCheckRunsSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: ListCheckRunsSourceChecksV2Kind$inboundSchema, - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: ListCheckRunsSourceChecksV2Kind$inboundSchema, + webhookId: types.optional(types.string()), + }) +); export function listCheckRunsSource2FromJSON( jsonString: string, @@ -858,20 +910,22 @@ export function listCheckRunsSource2FromJSON( /** @internal */ export const ListCheckRunsSourceKind$inboundSchema: z.ZodNativeEnum< typeof ListCheckRunsSourceKind -> = z.nativeEnum(ListCheckRunsSourceKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListCheckRunsSourceKind)); /** @internal */ export const ListCheckRunsSource1$inboundSchema: z.ZodType< ListCheckRunsSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: ListCheckRunsSourceKind$inboundSchema, - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: ListCheckRunsSourceKind$inboundSchema, + resourceId: types.optional(types.string()), + }) +); export function listCheckRunsSource1FromJSON( jsonString: string, @@ -888,13 +942,15 @@ export const RunsSource$inboundSchema: z.ZodType< RunsSource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListCheckRunsSource1$inboundSchema), - z.lazy(() => ListCheckRunsSource3$inboundSchema), - z.lazy(() => ListCheckRunsSource5$inboundSchema), - z.lazy(() => ListCheckRunsSource2$inboundSchema), - z.lazy(() => ListCheckRunsSource4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListCheckRunsSource1$inboundSchema), + z.lazy(() => ListCheckRunsSource3$inboundSchema), + z.lazy(() => ListCheckRunsSource5$inboundSchema), + z.lazy(() => ListCheckRunsSource2$inboundSchema), + z.lazy(() => ListCheckRunsSource4$inboundSchema), + ]) +); export function runsSourceFromJSON( jsonString: string, @@ -907,43 +963,45 @@ export function runsSourceFromJSON( } /** @internal */ -export const Runs1$inboundSchema: z.ZodType = z - .object({ - blocks: types.optional(RunsBlocks$inboundSchema), - completedAt: types.optional(types.number()), - conclusion: types.optional(ListCheckRunsRunsConclusion$inboundSchema), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => ListCheckRunsRunsExpectationRef$inboundSchema), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional(RunsRequires$inboundSchema), - startedAt: types.optional(types.number()), - status: RunsStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => ListCheckRunsRunsTaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - checkId: types.string(), - source: smartUnion([ - z.lazy(() => ListCheckRunsSource1$inboundSchema), - z.lazy(() => ListCheckRunsSource3$inboundSchema), - z.lazy(() => ListCheckRunsSource5$inboundSchema), - z.lazy(() => ListCheckRunsSource2$inboundSchema), - z.lazy(() => ListCheckRunsSource4$inboundSchema), - ]), - }); +export const Runs1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional(RunsBlocks$inboundSchema), + completedAt: types.optional(types.number()), + conclusion: types.optional(ListCheckRunsRunsConclusion$inboundSchema), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional( + z.lazy(() => ListCheckRunsRunsExpectationRef$inboundSchema), + ), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional(RunsRequires$inboundSchema), + startedAt: types.optional(types.number()), + status: RunsStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional( + z.lazy(() => ListCheckRunsRunsTaskSummary$inboundSchema), + ), + timeout: types.number(), + updatedAt: types.number(), + checkId: types.string(), + source: smartUnion([ + z.lazy(() => ListCheckRunsSource1$inboundSchema), + z.lazy(() => ListCheckRunsSource3$inboundSchema), + z.lazy(() => ListCheckRunsSource5$inboundSchema), + z.lazy(() => ListCheckRunsSource2$inboundSchema), + z.lazy(() => ListCheckRunsSource4$inboundSchema), + ]), + }) + ); export function runs1FromJSON( jsonString: string, @@ -957,10 +1015,12 @@ export function runs1FromJSON( /** @internal */ export const Runs$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Runs1$inboundSchema), - z.lazy(() => Runs2$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Runs1$inboundSchema), + z.lazy(() => Runs2$inboundSchema), + ]) + ); export function runsFromJSON( jsonString: string, @@ -977,14 +1037,14 @@ export const ListCheckRunsResponseBody$inboundSchema: z.ZodType< ListCheckRunsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - runs: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + runs: z.array(smartUnion([ z.lazy(() => Runs1$inboundSchema), z.lazy(() => Runs2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function listCheckRunsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listconnectorprojectconnectionsop.ts b/src/models/listconnectorprojectconnectionsop.ts index 51db9a5b5a..a671f24891 100644 --- a/src/models/listconnectorprojectconnectionsop.ts +++ b/src/models/listconnectorprojectconnectionsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListConnectorProjectConnectionsRequest = { /** @@ -41,13 +42,15 @@ export const ListConnectorProjectConnectionsRequest$outboundSchema: z.ZodType< ListConnectorProjectConnectionsRequest$Outbound, z.ZodTypeDef, ListConnectorProjectConnectionsRequest -> = z.object({ - connector: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listConnectorProjectConnectionsRequestToJSON( listConnectorProjectConnectionsRequest: diff --git a/src/models/listconnectorsop.ts b/src/models/listconnectorsop.ts index 703237c829..a7d0f26333 100644 --- a/src/models/listconnectorsop.ts +++ b/src/models/listconnectorsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -60,7 +61,7 @@ export type ListConnectorsRequest = { /** @internal */ export const QueryParamSort$outboundSchema: z.ZodNativeEnum< typeof QueryParamSort -> = z.nativeEnum(QueryParamSort); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamSort)); /** @internal */ export type ListConnectorsRequest$Outbound = { @@ -80,17 +81,19 @@ export const ListConnectorsRequest$outboundSchema: z.ZodType< ListConnectorsRequest$Outbound, z.ZodTypeDef, ListConnectorsRequest -> = z.object({ - limit: z.number().int().optional(), - cursor: z.string().optional(), - projectId: z.string().optional(), - search: z.string().optional(), - type: z.string().optional(), - service: z.string().optional(), - sort: QueryParamSort$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().int().optional(), + cursor: z.string().optional(), + projectId: z.string().optional(), + search: z.string().optional(), + type: z.string().optional(), + service: z.string().optional(), + sort: QueryParamSort$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listConnectorsRequestToJSON( listConnectorsRequest: ListConnectorsRequest, diff --git a/src/models/listdeploymentaliasesop.ts b/src/models/listdeploymentaliasesop.ts index cbdada06f6..b5422a3813 100644 --- a/src/models/listdeploymentaliasesop.ts +++ b/src/models/listdeploymentaliasesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -132,11 +132,13 @@ export const ListDeploymentAliasesRequest$outboundSchema: z.ZodType< ListDeploymentAliasesRequest$Outbound, z.ZodTypeDef, ListDeploymentAliasesRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listDeploymentAliasesRequestToJSON( listDeploymentAliasesRequest: ListDeploymentAliasesRequest, @@ -153,12 +155,14 @@ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType< ListDeploymentAliasesProtectionBypass4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("email_invite"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("email_invite"), + }) +); export function listDeploymentAliasesProtectionBypass4FromJSON( jsonString: string, @@ -176,11 +180,13 @@ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType< ListDeploymentAliasesProtectionBypass3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - scope: types.literal("alias-protection-override"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + scope: types.literal("alias-protection-override"), + }) +); export function listDeploymentAliasesProtectionBypass3FromJSON( jsonString: string, @@ -195,21 +201,25 @@ export function listDeploymentAliasesProtectionBypass3FromJSON( /** @internal */ export const ListDeploymentAliasesProtectionBypassAccess$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentAliasesProtectionBypassAccess); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentAliasesProtectionBypassAccess) + ); /** @internal */ export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType< ListDeploymentAliasesProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema, - createdAt: types.number(), - lastUpdatedAt: types.number(), - lastUpdatedBy: types.string(), - scope: types.literal("user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema, + createdAt: types.number(), + lastUpdatedAt: types.number(), + lastUpdatedBy: types.string(), + scope: types.literal("user"), + }) +); export function listDeploymentAliasesProtectionBypass2FromJSON( jsonString: string, @@ -227,12 +237,14 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType< ListDeploymentAliasesProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - expires: types.optional(types.number()), - scope: types.literal("shareable-link"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + expires: types.optional(types.number()), + scope: types.literal("shareable-link"), + }) +); export function listDeploymentAliasesProtectionBypass1FromJSON( jsonString: string, @@ -250,12 +262,14 @@ export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType< ListDeploymentAliasesProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), - z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), + z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), + ]) +); export function listDeploymentAliasesProtectionBypassFromJSON( jsonString: string, @@ -270,22 +284,22 @@ export function listDeploymentAliasesProtectionBypassFromJSON( /** @internal */ export const Aliases$inboundSchema: z.ZodType = - z.object({ - alias: types.string(), - created: types.date(), - protectionBypass: types.optional( - z.record(z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + created: types.date(), + protectionBypass: types.optional(z.record(z.union([ z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema ), z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema), - ])), - ), - redirect: z.nullable(types.string()).optional(), - uid: types.string(), - }); + ]))), + redirect: z.nullable(types.string()).optional(), + uid: types.string(), + }) + ); export function aliasesFromJSON( jsonString: string, @@ -302,9 +316,11 @@ export const ListDeploymentAliasesResponseBody$inboundSchema: z.ZodType< ListDeploymentAliasesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - aliases: z.array(z.lazy(() => Aliases$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliases: z.array(z.lazy(() => Aliases$inboundSchema)), + }) +); export function listDeploymentAliasesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listdeploymentcheckrunsop.ts b/src/models/listdeploymentcheckrunsop.ts index 9f89c68565..3257f80718 100644 --- a/src/models/listdeploymentcheckrunsop.ts +++ b/src/models/listdeploymentcheckrunsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -395,11 +395,13 @@ export const ListDeploymentCheckRunsRequest$outboundSchema: z.ZodType< ListDeploymentCheckRunsRequest$Outbound, z.ZodTypeDef, ListDeploymentCheckRunsRequest -> = z.object({ - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listDeploymentCheckRunsRequestToJSON( listDeploymentCheckRunsRequest: ListDeploymentCheckRunsRequest, @@ -413,13 +415,17 @@ export function listDeploymentCheckRunsRequestToJSON( /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2Blocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsRunsChecksV2Blocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsChecksV2Blocks) + ); /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2Conclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsRunsChecksV2Conclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsChecksV2Conclusion) + ); /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2ExpectationRef$inboundSchema: @@ -427,12 +433,14 @@ export const ListDeploymentCheckRunsRunsChecksV2ExpectationRef$inboundSchema: ListDeploymentCheckRunsRunsChecksV2ExpectationRef, z.ZodTypeDef, unknown - > = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) + ); export function listDeploymentCheckRunsRunsChecksV2ExpectationRefFromJSON( jsonString: string, @@ -452,13 +460,17 @@ export function listDeploymentCheckRunsRunsChecksV2ExpectationRefFromJSON( /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2Requires$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsRunsChecksV2Requires); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsChecksV2Requires) + ); /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2Status$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsRunsChecksV2Status); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsChecksV2Status) + ); /** @internal */ export const ListDeploymentCheckRunsRunsChecksV2TaskSummary$inboundSchema: @@ -466,12 +478,14 @@ export const ListDeploymentCheckRunsRunsChecksV2TaskSummary$inboundSchema: ListDeploymentCheckRunsRunsChecksV2TaskSummary, z.ZodTypeDef, unknown - > = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) + ); export function listDeploymentCheckRunsRunsChecksV2TaskSummaryFromJSON( jsonString: string, @@ -493,18 +507,22 @@ export function listDeploymentCheckRunsRunsChecksV2TaskSummaryFromJSON( export const ListDeploymentCheckRunsSourceChecksV2Response200SubKind$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsSourceChecksV2Response200SubKind - > = z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2Response200SubKind); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2Response200SubKind) + ); /** @internal */ export const ListDeploymentCheckRunsSourceChecksV22$inboundSchema: z.ZodType< ListDeploymentCheckRunsSourceChecksV22, z.ZodTypeDef, unknown -> = z.object({ - origin: types.literal("platform"), - subKind: - ListDeploymentCheckRunsSourceChecksV2Response200SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.literal("platform"), + subKind: + ListDeploymentCheckRunsSourceChecksV2Response200SubKind$inboundSchema, + }) +); export function listDeploymentCheckRunsSourceChecksV22FromJSON( jsonString: string, @@ -520,20 +538,24 @@ export function listDeploymentCheckRunsSourceChecksV22FromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceChecksV2ResponseSubKind$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2ResponseSubKind); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2ResponseSubKind) + ); /** @internal */ export const ListDeploymentCheckRunsSourceChecksV21$inboundSchema: z.ZodType< ListDeploymentCheckRunsSourceChecksV21, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.optional(types.number()), - invocationId: types.string(), - jobDefinitionId: types.string(), - origin: types.literal("config"), - subKind: ListDeploymentCheckRunsSourceChecksV2ResponseSubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.optional(types.number()), + invocationId: types.string(), + jobDefinitionId: types.string(), + origin: types.literal("config"), + subKind: ListDeploymentCheckRunsSourceChecksV2ResponseSubKind$inboundSchema, + }) +); export function listDeploymentCheckRunsSourceChecksV21FromJSON( jsonString: string, @@ -551,10 +573,12 @@ export const ListDeploymentCheckRunsRunsChecksV2Source$inboundSchema: z.ZodType< ListDeploymentCheckRunsRunsChecksV2Source, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListDeploymentCheckRunsSourceChecksV21$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSourceChecksV22$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListDeploymentCheckRunsSourceChecksV21$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSourceChecksV22$inboundSchema), + ]) +); export function listDeploymentCheckRunsRunsChecksV2SourceFromJSON( jsonString: string, @@ -577,46 +601,48 @@ export const ListDeploymentCheckRunsRuns2$inboundSchema: z.ZodType< ListDeploymentCheckRunsRuns2, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional( - ListDeploymentCheckRunsRunsChecksV2Blocks$inboundSchema, - ), - completedAt: types.optional(types.number()), - conclusion: types.optional( - ListDeploymentCheckRunsRunsChecksV2Conclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + ListDeploymentCheckRunsRunsChecksV2Blocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional( + ListDeploymentCheckRunsRunsChecksV2Conclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional(z.lazy(() => ListDeploymentCheckRunsRunsChecksV2ExpectationRef$inboundSchema + )), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + ListDeploymentCheckRunsRunsChecksV2Requires$inboundSchema, ), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - ListDeploymentCheckRunsRunsChecksV2Requires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: ListDeploymentCheckRunsRunsChecksV2Status$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => ListDeploymentCheckRunsRunsChecksV2TaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - source: z.union([ - z.lazy(() => ListDeploymentCheckRunsSourceChecksV21$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSourceChecksV22$inboundSchema), - ]), -}); + startedAt: types.optional(types.number()), + status: ListDeploymentCheckRunsRunsChecksV2Status$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => + ListDeploymentCheckRunsRunsChecksV2TaskSummary$inboundSchema + )), + timeout: types.number(), + updatedAt: types.number(), + source: z.union([ + z.lazy(() => ListDeploymentCheckRunsSourceChecksV21$inboundSchema), + z.lazy(() => + ListDeploymentCheckRunsSourceChecksV22$inboundSchema + ), + ]), + }) +); export function listDeploymentCheckRunsRuns2FromJSON( jsonString: string, @@ -631,25 +657,30 @@ export function listDeploymentCheckRunsRuns2FromJSON( /** @internal */ export const ListDeploymentCheckRunsRunsBlocks$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsRunsBlocks -> = z.nativeEnum(ListDeploymentCheckRunsRunsBlocks); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsBlocks) +); /** @internal */ export const ListDeploymentCheckRunsRunsConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListDeploymentCheckRunsRunsConclusion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsConclusion) + ); /** @internal */ export const ListDeploymentCheckRunsRunsExpectationRef$inboundSchema: z.ZodType< ListDeploymentCheckRunsRunsExpectationRef, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) +); export function listDeploymentCheckRunsRunsExpectationRefFromJSON( jsonString: string, @@ -670,24 +701,30 @@ export function listDeploymentCheckRunsRunsExpectationRefFromJSON( /** @internal */ export const ListDeploymentCheckRunsRunsRequires$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsRunsRequires -> = z.nativeEnum(ListDeploymentCheckRunsRunsRequires); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsRequires) +); /** @internal */ export const ListDeploymentCheckRunsRunsStatus$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsRunsStatus -> = z.nativeEnum(ListDeploymentCheckRunsRunsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsRunsStatus) +); /** @internal */ export const ListDeploymentCheckRunsRunsTaskSummary$inboundSchema: z.ZodType< ListDeploymentCheckRunsRunsTaskSummary, z.ZodTypeDef, unknown -> = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) +); export function listDeploymentCheckRunsRunsTaskSummaryFromJSON( jsonString: string, @@ -702,26 +739,32 @@ export function listDeploymentCheckRunsRunsTaskSummaryFromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceChecksV2Origin$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsSourceChecksV2Origin); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2Origin) + ); /** @internal */ export const ListDeploymentCheckRunsSelectionJob$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsSelectionJob -> = z.nativeEnum(ListDeploymentCheckRunsSelectionJob); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSelectionJob) +); /** @internal */ export const ListDeploymentCheckRunsSelection3$inboundSchema: z.ZodType< ListDeploymentCheckRunsSelection3, z.ZodTypeDef, unknown -> = z.object({ - failIfNoMatch: types.optional(types.boolean()), - filters: z.array(types.string()), - job: ListDeploymentCheckRunsSelectionJob$inboundSchema, - kind: types.literal("turborepo"), - task: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failIfNoMatch: types.optional(types.boolean()), + filters: z.array(types.string()), + job: ListDeploymentCheckRunsSelectionJob$inboundSchema, + kind: types.literal("turborepo"), + task: types.string(), + }) +); export function listDeploymentCheckRunsSelection3FromJSON( jsonString: string, @@ -738,9 +781,11 @@ export const ListDeploymentCheckRunsSelection2$inboundSchema: z.ZodType< ListDeploymentCheckRunsSelection2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + }) +); export function listDeploymentCheckRunsSelection2FromJSON( jsonString: string, @@ -757,9 +802,11 @@ export const ListDeploymentCheckRunsSelection1$inboundSchema: z.ZodType< ListDeploymentCheckRunsSelection1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("invocation"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("invocation"), + }) +); export function listDeploymentCheckRunsSelection1FromJSON( jsonString: string, @@ -776,11 +823,13 @@ export const ListDeploymentCheckRunsSourceSelection$inboundSchema: z.ZodType< ListDeploymentCheckRunsSourceSelection, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListDeploymentCheckRunsSelection1$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSelection2$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSelection3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListDeploymentCheckRunsSelection1$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSelection2$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSelection3$inboundSchema), + ]) +); export function listDeploymentCheckRunsSourceSelectionFromJSON( jsonString: string, @@ -795,23 +844,27 @@ export function listDeploymentCheckRunsSourceSelectionFromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceChecksV2SubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsSourceChecksV2SubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2SubKind) + ); /** @internal */ export const ListDeploymentCheckRunsSource5$inboundSchema: z.ZodType< ListDeploymentCheckRunsSource5, z.ZodTypeDef, unknown -> = z.object({ - origin: ListDeploymentCheckRunsSourceChecksV2Origin$inboundSchema, - selection: z.union([ - z.lazy(() => ListDeploymentCheckRunsSelection1$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSelection2$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSelection3$inboundSchema), - ]), - subKind: ListDeploymentCheckRunsSourceChecksV2SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: ListDeploymentCheckRunsSourceChecksV2Origin$inboundSchema, + selection: z.union([ + z.lazy(() => ListDeploymentCheckRunsSelection1$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSelection2$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSelection3$inboundSchema), + ]), + subKind: ListDeploymentCheckRunsSourceChecksV2SubKind$inboundSchema, + }) +); export function listDeploymentCheckRunsSource5FromJSON( jsonString: string, @@ -826,23 +879,28 @@ export function listDeploymentCheckRunsSource5FromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceOrigin$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsSourceOrigin -> = z.nativeEnum(ListDeploymentCheckRunsSourceOrigin); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceOrigin) +); /** @internal */ export const ListDeploymentCheckRunsSourceSubKind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListDeploymentCheckRunsSourceSubKind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceSubKind) + ); /** @internal */ export const ListDeploymentCheckRunsSource4$inboundSchema: z.ZodType< ListDeploymentCheckRunsSource4, z.ZodTypeDef, unknown -> = z.object({ - origin: types.optional(ListDeploymentCheckRunsSourceOrigin$inboundSchema), - subKind: types.optional(ListDeploymentCheckRunsSourceSubKind$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.optional(ListDeploymentCheckRunsSourceOrigin$inboundSchema), + subKind: types.optional(ListDeploymentCheckRunsSourceSubKind$inboundSchema), + }) +); export function listDeploymentCheckRunsSource4FromJSON( jsonString: string, @@ -856,25 +914,30 @@ export function listDeploymentCheckRunsSource4FromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceChecksV2ResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsSourceChecksV2ResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2ResponseKind) + ); /** @internal */ export const ListDeploymentCheckRunsSourceProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListDeploymentCheckRunsSourceProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceProvider) + ); /** @internal */ export const ListDeploymentCheckRunsSource3$inboundSchema: z.ZodType< ListDeploymentCheckRunsSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: ListDeploymentCheckRunsSourceChecksV2ResponseKind$inboundSchema, - provider: ListDeploymentCheckRunsSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: ListDeploymentCheckRunsSourceChecksV2ResponseKind$inboundSchema, + provider: ListDeploymentCheckRunsSourceProvider$inboundSchema, + }) +); export function listDeploymentCheckRunsSource3FromJSON( jsonString: string, @@ -888,18 +951,22 @@ export function listDeploymentCheckRunsSource3FromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceChecksV2Kind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListDeploymentCheckRunsSourceChecksV2Kind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceChecksV2Kind) + ); /** @internal */ export const ListDeploymentCheckRunsSource2$inboundSchema: z.ZodType< ListDeploymentCheckRunsSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: ListDeploymentCheckRunsSourceChecksV2Kind$inboundSchema, - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: ListDeploymentCheckRunsSourceChecksV2Kind$inboundSchema, + webhookId: types.optional(types.string()), + }) +); export function listDeploymentCheckRunsSource2FromJSON( jsonString: string, @@ -914,20 +981,24 @@ export function listDeploymentCheckRunsSource2FromJSON( /** @internal */ export const ListDeploymentCheckRunsSourceKind$inboundSchema: z.ZodNativeEnum< typeof ListDeploymentCheckRunsSourceKind -> = z.nativeEnum(ListDeploymentCheckRunsSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDeploymentCheckRunsSourceKind) +); /** @internal */ export const ListDeploymentCheckRunsSource1$inboundSchema: z.ZodType< ListDeploymentCheckRunsSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: ListDeploymentCheckRunsSourceKind$inboundSchema, - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: ListDeploymentCheckRunsSourceKind$inboundSchema, + resourceId: types.optional(types.string()), + }) +); export function listDeploymentCheckRunsSource1FromJSON( jsonString: string, @@ -944,13 +1015,15 @@ export const ListDeploymentCheckRunsRunsSource$inboundSchema: z.ZodType< ListDeploymentCheckRunsRunsSource, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListDeploymentCheckRunsSource1$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource3$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource5$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource2$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListDeploymentCheckRunsSource1$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource3$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource5$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource2$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource4$inboundSchema), + ]) +); export function listDeploymentCheckRunsRunsSourceFromJSON( jsonString: string, @@ -967,44 +1040,46 @@ export const ListDeploymentCheckRunsRuns1$inboundSchema: z.ZodType< ListDeploymentCheckRunsRuns1, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional(ListDeploymentCheckRunsRunsBlocks$inboundSchema), - completedAt: types.optional(types.number()), - conclusion: types.optional( - ListDeploymentCheckRunsRunsConclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => ListDeploymentCheckRunsRunsExpectationRef$inboundSchema), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional(ListDeploymentCheckRunsRunsRequires$inboundSchema), - startedAt: types.optional(types.number()), - status: ListDeploymentCheckRunsRunsStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => ListDeploymentCheckRunsRunsTaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - checkId: types.string(), - source: smartUnion([ - z.lazy(() => ListDeploymentCheckRunsSource1$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource3$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource5$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource2$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsSource4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional(ListDeploymentCheckRunsRunsBlocks$inboundSchema), + completedAt: types.optional(types.number()), + conclusion: types.optional( + ListDeploymentCheckRunsRunsConclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional( + z.lazy(() => ListDeploymentCheckRunsRunsExpectationRef$inboundSchema), + ), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional(ListDeploymentCheckRunsRunsRequires$inboundSchema), + startedAt: types.optional(types.number()), + status: ListDeploymentCheckRunsRunsStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional( + z.lazy(() => ListDeploymentCheckRunsRunsTaskSummary$inboundSchema), + ), + timeout: types.number(), + updatedAt: types.number(), + checkId: types.string(), + source: smartUnion([ + z.lazy(() => ListDeploymentCheckRunsSource1$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource3$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource5$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource2$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsSource4$inboundSchema), + ]), + }) +); export function listDeploymentCheckRunsRuns1FromJSON( jsonString: string, @@ -1021,10 +1096,12 @@ export const ListDeploymentCheckRunsRuns$inboundSchema: z.ZodType< ListDeploymentCheckRunsRuns, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListDeploymentCheckRunsRuns1$inboundSchema), - z.lazy(() => ListDeploymentCheckRunsRuns2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListDeploymentCheckRunsRuns1$inboundSchema), + z.lazy(() => ListDeploymentCheckRunsRuns2$inboundSchema), + ]) +); export function listDeploymentCheckRunsRunsFromJSON( jsonString: string, @@ -1041,14 +1118,14 @@ export const ListDeploymentCheckRunsResponseBody$inboundSchema: z.ZodType< ListDeploymentCheckRunsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - runs: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + runs: z.array(smartUnion([ z.lazy(() => ListDeploymentCheckRunsRuns1$inboundSchema), z.lazy(() => ListDeploymentCheckRunsRuns2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function listDeploymentCheckRunsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listdeploymentfilesop.ts b/src/models/listdeploymentfilesop.ts index 4f1412fb63..92c432350e 100644 --- a/src/models/listdeploymentfilesop.ts +++ b/src/models/listdeploymentfilesop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListDeploymentFilesRequest = { /** @@ -31,11 +32,13 @@ export const ListDeploymentFilesRequest$outboundSchema: z.ZodType< ListDeploymentFilesRequest$Outbound, z.ZodTypeDef, ListDeploymentFilesRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listDeploymentFilesRequestToJSON( listDeploymentFilesRequest: ListDeploymentFilesRequest, diff --git a/src/models/listdrivesop.ts b/src/models/listdrivesop.ts index 52cdf6bd69..56b3cd8087 100644 --- a/src/models/listdrivesop.ts +++ b/src/models/listdrivesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -87,12 +87,14 @@ export type ListDrivesResponseBody = { /** @internal */ export const ListDrivesQueryParamSortBy$outboundSchema: z.ZodNativeEnum< typeof ListDrivesQueryParamSortBy -> = z.nativeEnum(ListDrivesQueryParamSortBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListDrivesQueryParamSortBy)); /** @internal */ export const ListDrivesQueryParamSortOrder$outboundSchema: z.ZodNativeEnum< typeof ListDrivesQueryParamSortOrder -> = z.nativeEnum(ListDrivesQueryParamSortOrder); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListDrivesQueryParamSortOrder) +); /** @internal */ export type ListDrivesRequest$Outbound = { @@ -111,16 +113,18 @@ export const ListDrivesRequest$outboundSchema: z.ZodType< ListDrivesRequest$Outbound, z.ZodTypeDef, ListDrivesRequest -> = z.object({ - projectId: z.string().optional(), - limit: z.number().default(20), - cursor: z.string().optional(), - sortBy: ListDrivesQueryParamSortBy$outboundSchema.default("createdAt"), - namePrefix: z.string().optional(), - sortOrder: ListDrivesQueryParamSortOrder$outboundSchema.default("desc"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + limit: z.number().default(20), + cursor: z.string().optional(), + sortBy: ListDrivesQueryParamSortBy$outboundSchema.default("createdAt"), + namePrefix: z.string().optional(), + sortOrder: ListDrivesQueryParamSortOrder$outboundSchema.default("desc"), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listDrivesRequestToJSON( listDrivesRequest: ListDrivesRequest, @@ -135,10 +139,12 @@ export const ListDrivesPagination$inboundSchema: z.ZodType< ListDrivesPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listDrivesPaginationFromJSON( jsonString: string, @@ -155,10 +161,12 @@ export const ListDrivesResponseBody$inboundSchema: z.ZodType< ListDrivesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drives: z.array(Drive$inboundSchema), - pagination: z.lazy(() => ListDrivesPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drives: z.array(Drive$inboundSchema), + pagination: z.lazy(() => ListDrivesPagination$inboundSchema), + }) +); export function listDrivesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listdrivesv1op.ts b/src/models/listdrivesv1op.ts index 9bd8cbe8ed..9e86b74e79 100644 --- a/src/models/listdrivesv1op.ts +++ b/src/models/listdrivesv1op.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -83,12 +83,12 @@ export type ListDrivesV1ResponseBody = { /** @internal */ export const QueryParamSortBy$outboundSchema: z.ZodNativeEnum< typeof QueryParamSortBy -> = z.nativeEnum(QueryParamSortBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamSortBy)); /** @internal */ export const QueryParamSortOrder$outboundSchema: z.ZodNativeEnum< typeof QueryParamSortOrder -> = z.nativeEnum(QueryParamSortOrder); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamSortOrder)); /** @internal */ export type ListDrivesV1Request$Outbound = { @@ -107,16 +107,18 @@ export const ListDrivesV1Request$outboundSchema: z.ZodType< ListDrivesV1Request$Outbound, z.ZodTypeDef, ListDrivesV1Request -> = z.object({ - projectId: z.string().optional(), - limit: z.number().default(20), - cursor: z.string().optional(), - sortBy: QueryParamSortBy$outboundSchema.default("createdAt"), - namePrefix: z.string().optional(), - sortOrder: QueryParamSortOrder$outboundSchema.default("desc"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string().optional(), + limit: z.number().default(20), + cursor: z.string().optional(), + sortBy: QueryParamSortBy$outboundSchema.default("createdAt"), + namePrefix: z.string().optional(), + sortOrder: QueryParamSortOrder$outboundSchema.default("desc"), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listDrivesV1RequestToJSON( listDrivesV1Request: ListDrivesV1Request, @@ -131,10 +133,12 @@ export const ListDrivesV1Pagination$inboundSchema: z.ZodType< ListDrivesV1Pagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listDrivesV1PaginationFromJSON( jsonString: string, @@ -151,10 +155,12 @@ export const ListDrivesV1ResponseBody$inboundSchema: z.ZodType< ListDrivesV1ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - drives: z.array(Drive$inboundSchema), - pagination: z.lazy(() => ListDrivesV1Pagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drives: z.array(Drive$inboundSchema), + pagination: z.lazy(() => ListDrivesV1Pagination$inboundSchema), + }) +); export function listDrivesV1ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listeventtype.ts b/src/models/listeventtype.ts index 99bb325f9f..98141ae53b 100644 --- a/src/models/listeventtype.ts +++ b/src/models/listeventtype.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -106,6 +106,8 @@ export const Name = { "ai-gateway-inference-hooks-headers-cleared", AiGatewayInferenceHooksHeadersUpdated: "ai-gateway-inference-hooks-headers-updated", + AiGatewayInferenceHooksPreviousSigningSecretRetired: + "ai-gateway-inference-hooks-previous-signing-secret-retired", AiGatewayInferenceHooksRemoved: "ai-gateway-inference-hooks-removed", AiGatewayInferenceHooksSettingsUpdated: "ai-gateway-inference-hooks-settings-updated", @@ -496,6 +498,8 @@ export const Name = { OidcPolicyDeleted: "oidc-policy-deleted", OidcPolicyUpdated: "oidc-policy-updated", OidcPolicyUsedToObtainAppToken: "oidc-policy-used-to-obtain-app-token", + OrganizationAdminInviteRevoked: "organization-admin-invite-revoked", + OrganizationAdminRemoved: "organization-admin-removed", OrganizationAvatarUpdate: "organization-avatar-update", OrganizationCreate: "organization-create", OrganizationDelete: "organization-delete", @@ -721,12 +725,17 @@ export const Name = { SamlIdpMaterialSet: "saml-idp-material-set", SamlIdpMaterialSystemDeleted: "saml-idp-material-system-deleted", SamlIdpMaterialSystemSet: "saml-idp-material-system-set", + SamlLoginProviderChanged: "saml-login-provider-changed", + SandboxAiGatewayCredentialsConfigured: + "sandbox-ai-gateway-credentials-configured", SandboxAliasAssigned: "sandbox-alias-assigned", SandboxAliasDelete: "sandbox-alias-delete", SandboxDriveCreated: "sandbox-drive-created", SandboxDriveDeleted: "sandbox-drive-deleted", SandboxDriveSnapshotCreated: "sandbox-drive-snapshot-created", SandboxDriveSnapshotDeleted: "sandbox-drive-snapshot-deleted", + SandboxExpiryNotificationLeadTimeUpdated: + "sandbox-expiry-notification-lead-time-updated", SandboxNpmCredentialsConfigured: "sandbox-npm-credentials-configured", SandboxSignedCommitIdentityConfigured: "sandbox-signed-commit-identity-configured", @@ -1021,6 +1030,8 @@ export const ReplacedBy = { "ai-gateway-inference-hooks-headers-cleared", AiGatewayInferenceHooksHeadersUpdated: "ai-gateway-inference-hooks-headers-updated", + AiGatewayInferenceHooksPreviousSigningSecretRetired: + "ai-gateway-inference-hooks-previous-signing-secret-retired", AiGatewayInferenceHooksRemoved: "ai-gateway-inference-hooks-removed", AiGatewayInferenceHooksSettingsUpdated: "ai-gateway-inference-hooks-settings-updated", @@ -1411,6 +1422,8 @@ export const ReplacedBy = { OidcPolicyDeleted: "oidc-policy-deleted", OidcPolicyUpdated: "oidc-policy-updated", OidcPolicyUsedToObtainAppToken: "oidc-policy-used-to-obtain-app-token", + OrganizationAdminInviteRevoked: "organization-admin-invite-revoked", + OrganizationAdminRemoved: "organization-admin-removed", OrganizationAvatarUpdate: "organization-avatar-update", OrganizationCreate: "organization-create", OrganizationDelete: "organization-delete", @@ -1636,12 +1649,17 @@ export const ReplacedBy = { SamlIdpMaterialSet: "saml-idp-material-set", SamlIdpMaterialSystemDeleted: "saml-idp-material-system-deleted", SamlIdpMaterialSystemSet: "saml-idp-material-system-set", + SamlLoginProviderChanged: "saml-login-provider-changed", + SandboxAiGatewayCredentialsConfigured: + "sandbox-ai-gateway-credentials-configured", SandboxAliasAssigned: "sandbox-alias-assigned", SandboxAliasDelete: "sandbox-alias-delete", SandboxDriveCreated: "sandbox-drive-created", SandboxDriveDeleted: "sandbox-drive-deleted", SandboxDriveSnapshotCreated: "sandbox-drive-snapshot-created", SandboxDriveSnapshotDeleted: "sandbox-drive-snapshot-deleted", + SandboxExpiryNotificationLeadTimeUpdated: + "sandbox-expiry-notification-lead-time-updated", SandboxNpmCredentialsConfigured: "sandbox-npm-credentials-configured", SandboxSignedCommitIdentityConfigured: "sandbox-signed-commit-identity-configured", @@ -1903,29 +1921,30 @@ export type ListEventType = { /** @internal */ export const ListEventTypeCategories$inboundSchema: z.ZodNativeEnum< typeof ListEventTypeCategories -> = z.nativeEnum(ListEventTypeCategories); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListEventTypeCategories)); /** @internal */ -export const Name$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Name, -); +export const Name$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Name)); /** @internal */ -export const ReplacedBy$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ReplacedBy); +export const ReplacedBy$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ReplacedBy)); /** @internal */ export const ListEventType$inboundSchema: z.ZodType< ListEventType, z.ZodTypeDef, unknown -> = z.object({ - categories: z.array(ListEventTypeCategories$inboundSchema), - deprecated: types.optional(types.boolean()), - description: types.string(), - name: Name$inboundSchema, - replacedBy: types.optional(z.array(ReplacedBy$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + categories: z.array(ListEventTypeCategories$inboundSchema), + deprecated: types.optional(types.boolean()), + description: types.string(), + name: Name$inboundSchema, + replacedBy: types.optional(z.array(ReplacedBy$inboundSchema)), + }) +); export function listEventTypeFromJSON( jsonString: string, diff --git a/src/models/listeventtypesop.ts b/src/models/listeventtypesop.ts index 5a9d579c9a..acff84cb2f 100644 --- a/src/models/listeventtypesop.ts +++ b/src/models/listeventtypesop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListEventTypesRequest = { /** @@ -26,10 +27,12 @@ export const ListEventTypesRequest$outboundSchema: z.ZodType< ListEventTypesRequest$Outbound, z.ZodTypeDef, ListEventTypesRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listEventTypesRequestToJSON( listEventTypesRequest: ListEventTypesRequest, diff --git a/src/models/listeventtypesresponse.ts b/src/models/listeventtypesresponse.ts index 41a435f16c..b3f5926b45 100644 --- a/src/models/listeventtypesresponse.ts +++ b/src/models/listeventtypesresponse.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -55,17 +55,19 @@ export type ListEventTypesResponse = { /** @internal */ export const ListEventTypesResponseName$inboundSchema: z.ZodNativeEnum< typeof ListEventTypesResponseName -> = z.nativeEnum(ListEventTypesResponseName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListEventTypesResponseName)); /** @internal */ export const ListEventTypesResponseCategories$inboundSchema: z.ZodType< ListEventTypesResponseCategories, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - name: ListEventTypesResponseName$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + name: ListEventTypesResponseName$inboundSchema, + }) +); export function listEventTypesResponseCategoriesFromJSON( jsonString: string, @@ -82,12 +84,14 @@ export const ListEventTypesResponse$inboundSchema: z.ZodType< ListEventTypesResponse, z.ZodTypeDef, unknown -> = z.object({ - categories: z.array( - z.lazy(() => ListEventTypesResponseCategories$inboundSchema), - ), - types: z.array(ListEventType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + categories: z.array( + z.lazy(() => ListEventTypesResponseCategories$inboundSchema), + ), + types: z.array(ListEventType$inboundSchema), + }) +); export function listEventTypesResponseFromJSON( jsonString: string, diff --git a/src/models/listflaglabelcountsop.ts b/src/models/listflaglabelcountsop.ts index c245bc3c4b..4dbd93bc5c 100644 --- a/src/models/listflaglabelcountsop.ts +++ b/src/models/listflaglabelcountsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -56,14 +56,16 @@ export const ListFlagLabelCountsRequest$outboundSchema: z.ZodType< ListFlagLabelCountsRequest$Outbound, z.ZodTypeDef, ListFlagLabelCountsRequest -> = z.object({ - entityKind: z.string().optional(), - limit: z.number().int().default(20), - cursor: z.string().optional(), - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entityKind: z.string().optional(), + limit: z.number().int().default(20), + cursor: z.string().optional(), + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagLabelCountsRequestToJSON( listFlagLabelCountsRequest: ListFlagLabelCountsRequest, @@ -78,11 +80,13 @@ export const ListFlagLabelCountsData$inboundSchema: z.ZodType< ListFlagLabelCountsData, z.ZodTypeDef, unknown -> = z.object({ - attributeKey: types.string(), - entityKind: types.string(), - count: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributeKey: types.string(), + entityKind: types.string(), + count: types.number(), + }) +); export function listFlagLabelCountsDataFromJSON( jsonString: string, @@ -99,9 +103,11 @@ export const ListFlagLabelCountsPagination$inboundSchema: z.ZodType< ListFlagLabelCountsPagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listFlagLabelCountsPaginationFromJSON( jsonString: string, @@ -118,10 +124,12 @@ export const ListFlagLabelCountsResponseBody$inboundSchema: z.ZodType< ListFlagLabelCountsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => ListFlagLabelCountsData$inboundSchema)), - pagination: z.lazy(() => ListFlagLabelCountsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => ListFlagLabelCountsData$inboundSchema)), + pagination: z.lazy(() => ListFlagLabelCountsPagination$inboundSchema), + }) +); export function listFlagLabelCountsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listflaglabelsop.ts b/src/models/listflaglabelsop.ts index 20a48ccab8..77517d242d 100644 --- a/src/models/listflaglabelsop.ts +++ b/src/models/listflaglabelsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -64,16 +64,18 @@ export const ListFlagLabelsRequest$outboundSchema: z.ZodType< ListFlagLabelsRequest$Outbound, z.ZodTypeDef, ListFlagLabelsRequest -> = z.object({ - limit: z.number().int().default(20), - cursor: z.string().optional(), - search: z.string().optional(), - entityKind: z.string(), - attributeKey: z.string(), - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().int().default(20), + cursor: z.string().optional(), + search: z.string().optional(), + entityKind: z.string(), + attributeKey: z.string(), + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagLabelsRequestToJSON( listFlagLabelsRequest: ListFlagLabelsRequest, @@ -88,12 +90,14 @@ export const ListFlagLabelsData$inboundSchema: z.ZodType< ListFlagLabelsData, z.ZodTypeDef, unknown -> = z.object({ - attributeKey: types.string(), - entityKind: types.string(), - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributeKey: types.string(), + entityKind: types.string(), + label: types.string(), + value: types.string(), + }) +); export function listFlagLabelsDataFromJSON( jsonString: string, @@ -110,9 +114,11 @@ export const ListFlagLabelsPagination$inboundSchema: z.ZodType< ListFlagLabelsPagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listFlagLabelsPaginationFromJSON( jsonString: string, @@ -129,10 +135,12 @@ export const ListFlagLabelsResponseBody$inboundSchema: z.ZodType< ListFlagLabelsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => ListFlagLabelsData$inboundSchema)), - pagination: z.lazy(() => ListFlagLabelsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => ListFlagLabelsData$inboundSchema)), + pagination: z.lazy(() => ListFlagLabelsPagination$inboundSchema), + }) +); export function listFlagLabelsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listflagsegmentsop.ts b/src/models/listflagsegmentsop.ts index bce011b881..77e6a9cab2 100644 --- a/src/models/listflagsegmentsop.ts +++ b/src/models/listflagsegmentsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { Segment, Segment$inboundSchema } from "./segment.js"; @@ -44,12 +44,14 @@ export const ListFlagSegmentsRequest$outboundSchema: z.ZodType< ListFlagSegmentsRequest$Outbound, z.ZodTypeDef, ListFlagSegmentsRequest -> = z.object({ - projectIdOrName: z.string(), - withMetadata: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + withMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagSegmentsRequestToJSON( listFlagSegmentsRequest: ListFlagSegmentsRequest, @@ -64,9 +66,11 @@ export const ListFlagSegmentsResponseBody$inboundSchema: z.ZodType< ListFlagSegmentsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(Segment$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(Segment$inboundSchema), + }) +); export function listFlagSegmentsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listflagsop.ts b/src/models/listflagsop.ts index 3bb47deb42..203a76f3b6 100644 --- a/src/models/listflagsop.ts +++ b/src/models/listflagsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -75,7 +75,7 @@ export type ListFlagsResponseBody = { /** @internal */ export const ListFlagsQueryParamState$outboundSchema: z.ZodNativeEnum< typeof ListFlagsQueryParamState -> = z.nativeEnum(ListFlagsQueryParamState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListFlagsQueryParamState)); /** @internal */ export type ListFlagsRequest$Outbound = { @@ -95,17 +95,19 @@ export const ListFlagsRequest$outboundSchema: z.ZodType< ListFlagsRequest$Outbound, z.ZodTypeDef, ListFlagsRequest -> = z.object({ - projectIdOrName: z.string(), - state: ListFlagsQueryParamState$outboundSchema.optional(), - withMetadata: z.boolean().optional(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - search: z.string().optional(), - tags: z.array(z.string()).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + state: ListFlagsQueryParamState$outboundSchema.optional(), + withMetadata: z.boolean().optional(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + search: z.string().optional(), + tags: z.array(z.string()).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagsRequestToJSON( listFlagsRequest: ListFlagsRequest, @@ -120,9 +122,11 @@ export const ListFlagsPagination$inboundSchema: z.ZodType< ListFlagsPagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listFlagsPaginationFromJSON( jsonString: string, @@ -139,10 +143,12 @@ export const ListFlagsResponseBody$inboundSchema: z.ZodType< ListFlagsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(Flag$inboundSchema), - pagination: z.lazy(() => ListFlagsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(Flag$inboundSchema), + pagination: z.lazy(() => ListFlagsPagination$inboundSchema), + }) +); export function listFlagsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listflagsv2op.ts b/src/models/listflagsv2op.ts index 52bf16ebf6..5f4159d081 100644 --- a/src/models/listflagsv2op.ts +++ b/src/models/listflagsv2op.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -87,7 +87,7 @@ export type ListFlagsV2ResponseBody = { /** @internal */ export const QueryParamState$outboundSchema: z.ZodNativeEnum< typeof QueryParamState -> = z.nativeEnum(QueryParamState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamState)); /** @internal */ export type ListFlagsV2Request$Outbound = { @@ -109,19 +109,21 @@ export const ListFlagsV2Request$outboundSchema: z.ZodType< ListFlagsV2Request$Outbound, z.ZodTypeDef, ListFlagsV2Request -> = z.object({ - projectIdOrName: z.string(), - state: QueryParamState$outboundSchema.optional(), - limit: z.number().int().default(25), - cursor: z.string().optional(), - search: z.string().optional(), - tags: z.array(z.string()).optional(), - createdBy: z.string().optional(), - maintainerIds: z.array(z.string()).optional(), - includeMarketplaceFlags: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + state: QueryParamState$outboundSchema.optional(), + limit: z.number().int().default(25), + cursor: z.string().optional(), + search: z.string().optional(), + tags: z.array(z.string()).optional(), + createdBy: z.string().optional(), + maintainerIds: z.array(z.string()).optional(), + includeMarketplaceFlags: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagsV2RequestToJSON( listFlagsV2Request: ListFlagsV2Request, @@ -136,9 +138,11 @@ export const ListFlagsV2Pagination$inboundSchema: z.ZodType< ListFlagsV2Pagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listFlagsV2PaginationFromJSON( jsonString: string, @@ -155,10 +159,12 @@ export const ListFlagsV2Data$inboundSchema: z.ZodType< ListFlagsV2Data, z.ZodTypeDef, unknown -> = z.union([ - Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), - MarketplaceFlag$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), + MarketplaceFlag$inboundSchema, + ]) +); export function listFlagsV2DataFromJSON( jsonString: string, @@ -175,15 +181,17 @@ export const ListFlagsV2ResponseBody$inboundSchema: z.ZodType< ListFlagsV2ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListFlagsV2Pagination$inboundSchema), - data: z.array( - z.union([ - Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), - MarketplaceFlag$inboundSchema, - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListFlagsV2Pagination$inboundSchema), + data: z.array( + z.union([ + Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), + MarketplaceFlag$inboundSchema, + ]), + ), + }) +); export function listFlagsV2ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listflagversionsop.ts b/src/models/listflagversionsop.ts index c37acd95fc..d88f588709 100644 --- a/src/models/listflagversionsop.ts +++ b/src/models/listflagversionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -403,16 +403,18 @@ export const ListFlagVersionsRequest$outboundSchema: z.ZodType< ListFlagVersionsRequest$Outbound, z.ZodTypeDef, ListFlagVersionsRequest -> = z.object({ - projectIdOrName: z.string(), - flagIdOrSlug: z.string(), - limit: z.number().default(20), - cursor: z.string().optional(), - environment: z.string().optional(), - withMetadata: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + flagIdOrSlug: z.string(), + limit: z.number().default(20), + cursor: z.string().optional(), + environment: z.string().optional(), + withMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listFlagVersionsRequestToJSON( listFlagVersionsRequest: ListFlagVersionsRequest, @@ -427,7 +429,7 @@ export const ListFlagVersionsPagination$inboundSchema: z.ZodType< ListFlagVersionsPagination, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function listFlagVersionsPaginationFromJSON( jsonString: string, @@ -444,9 +446,11 @@ export const ListFlagVersionsFallthrough4$inboundSchema: z.ZodType< ListFlagVersionsFallthrough4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function listFlagVersionsFallthrough4FromJSON( jsonString: string, @@ -462,8 +466,10 @@ export function listFlagVersionsFallthrough4FromJSON( export const ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -472,12 +478,14 @@ export const ListFlagVersionsFallthroughFeatureFlagsBase$inboundSchema: ListFlagVersionsFallthroughFeatureFlagsBase, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) + ); export function listFlagVersionsFallthroughFeatureFlagsBaseFromJSON( jsonString: string, @@ -500,10 +508,12 @@ export const ListFlagVersionsFallthroughSlots$inboundSchema: z.ZodType< ListFlagVersionsFallthroughSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function listFlagVersionsFallthroughSlotsFromJSON( jsonString: string, @@ -520,16 +530,22 @@ export const ListFlagVersionsFallthrough3$inboundSchema: z.ZodType< ListFlagVersionsFallthrough3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => ListFlagVersionsFallthroughFeatureFlagsBase$inboundSchema), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array(z.lazy(() => ListFlagVersionsFallthroughSlots$inboundSchema)), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + ListFlagVersionsFallthroughFeatureFlagsBase$inboundSchema + ), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array( + z.lazy(() => ListFlagVersionsFallthroughSlots$inboundSchema), + ), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function listFlagVersionsFallthrough3FromJSON( jsonString: string, @@ -545,8 +561,10 @@ export function listFlagVersionsFallthrough3FromJSON( export const ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType - > = z.nativeEnum( - ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -554,12 +572,14 @@ export const ListFlagVersionsFallthroughBase$inboundSchema: z.ZodType< ListFlagVersionsFallthroughBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: - ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + ListFlagVersionsFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema, + }) +); export function listFlagVersionsFallthroughBaseFromJSON( jsonString: string, @@ -576,12 +596,14 @@ export const ListFlagVersionsFallthrough2$inboundSchema: z.ZodType< ListFlagVersionsFallthrough2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => ListFlagVersionsFallthroughBase$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => ListFlagVersionsFallthroughBase$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function listFlagVersionsFallthrough2FromJSON( jsonString: string, @@ -598,10 +620,12 @@ export const ListFlagVersionsFallthrough1$inboundSchema: z.ZodType< ListFlagVersionsFallthrough1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function listFlagVersionsFallthrough1FromJSON( jsonString: string, @@ -618,12 +642,14 @@ export const ListFlagVersionsFallthrough$inboundSchema: z.ZodType< ListFlagVersionsFallthrough, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListFlagVersionsFallthrough1$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough2$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough3$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListFlagVersionsFallthrough1$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough2$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough3$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough4$inboundSchema), + ]) +); export function listFlagVersionsFallthroughFromJSON( jsonString: string, @@ -638,17 +664,19 @@ export function listFlagVersionsFallthroughFromJSON( /** @internal */ export const ListFlagVersionsType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsType -> = z.nativeEnum(ListFlagVersionsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListFlagVersionsType)); /** @internal */ export const ListFlagVersionsPausedOutcome$inboundSchema: z.ZodType< ListFlagVersionsPausedOutcome, z.ZodTypeDef, unknown -> = z.object({ - type: ListFlagVersionsType$inboundSchema, - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: ListFlagVersionsType$inboundSchema, + variantId: types.string(), + }) +); export function listFlagVersionsPausedOutcomeFromJSON( jsonString: string, @@ -665,10 +693,12 @@ export const ListFlagVersionsReuse$inboundSchema: z.ZodType< ListFlagVersionsReuse, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - environment: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + environment: types.string(), + }) +); export function listFlagVersionsReuseFromJSON( jsonString: string, @@ -683,16 +713,18 @@ export function listFlagVersionsReuseFromJSON( /** @internal */ export const ListFlagVersionsCmp$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsCmp -> = z.nativeEnum(ListFlagVersionsCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListFlagVersionsCmp)); /** @internal */ export const ListFlagVersionsCmpOptions$inboundSchema: z.ZodType< ListFlagVersionsCmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function listFlagVersionsCmpOptionsFromJSON( jsonString: string, @@ -709,11 +741,13 @@ export const ListFlagVersionsLhs2$inboundSchema: z.ZodType< ListFlagVersionsLhs2, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) +); export function listFlagVersionsLhs2FromJSON( jsonString: string, @@ -730,9 +764,11 @@ export const ListFlagVersionsLhs1$inboundSchema: z.ZodType< ListFlagVersionsLhs1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("segment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) +); export function listFlagVersionsLhs1FromJSON( jsonString: string, @@ -749,10 +785,12 @@ export const ListFlagVersionsLhs$inboundSchema: z.ZodType< ListFlagVersionsLhs, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListFlagVersionsLhs1$inboundSchema), - z.lazy(() => ListFlagVersionsLhs2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListFlagVersionsLhs1$inboundSchema), + z.lazy(() => ListFlagVersionsLhs2$inboundSchema), + ]) +); export function listFlagVersionsLhsFromJSON( jsonString: string, @@ -767,18 +805,22 @@ export function listFlagVersionsLhsFromJSON( /** @internal */ export const ListFlagVersionsRhsFeatureFlagsType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsRhsFeatureFlagsType -> = z.nativeEnum(ListFlagVersionsRhsFeatureFlagsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListFlagVersionsRhsFeatureFlagsType) +); /** @internal */ export const ListFlagVersionsRhs4$inboundSchema: z.ZodType< ListFlagVersionsRhs4, z.ZodTypeDef, unknown -> = z.object({ - flags: types.string(), - pattern: types.string(), - type: ListFlagVersionsRhsFeatureFlagsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: ListFlagVersionsRhsFeatureFlagsType$inboundSchema, + }) +); export function listFlagVersionsRhs4FromJSON( jsonString: string, @@ -795,11 +837,13 @@ export const ListFlagVersionsItems2$inboundSchema: z.ZodType< ListFlagVersionsItems2, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) +); export function listFlagVersionsItems2FromJSON( jsonString: string, @@ -816,11 +860,13 @@ export const ListFlagVersionsItems1$inboundSchema: z.ZodType< ListFlagVersionsItems1, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) +); export function listFlagVersionsItems1FromJSON( jsonString: string, @@ -837,10 +883,12 @@ export const ListFlagVersionsRhsItems$inboundSchema: z.ZodType< ListFlagVersionsRhsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListFlagVersionsItems1$inboundSchema), - z.lazy(() => ListFlagVersionsItems2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListFlagVersionsItems1$inboundSchema), + z.lazy(() => ListFlagVersionsItems2$inboundSchema), + ]) +); export function listFlagVersionsRhsItemsFromJSON( jsonString: string, @@ -855,22 +903,22 @@ export function listFlagVersionsRhsItemsFromJSON( /** @internal */ export const ListFlagVersionsRhsType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsRhsType -> = z.nativeEnum(ListFlagVersionsRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListFlagVersionsRhsType)); /** @internal */ export const ListFlagVersionsRhs3$inboundSchema: z.ZodType< ListFlagVersionsRhs3, z.ZodTypeDef, unknown -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => ListFlagVersionsItems1$inboundSchema), z.lazy(() => ListFlagVersionsItems2$inboundSchema), - ]), - ), - type: ListFlagVersionsRhsType$inboundSchema, -}); + ])), + type: ListFlagVersionsRhsType$inboundSchema, + }) +); export function listFlagVersionsRhs3FromJSON( jsonString: string, @@ -887,13 +935,15 @@ export const ListFlagVersionsRhs$inboundSchema: z.ZodType< ListFlagVersionsRhs, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListFlagVersionsRhs4$inboundSchema), - z.lazy(() => ListFlagVersionsRhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListFlagVersionsRhs4$inboundSchema), + z.lazy(() => ListFlagVersionsRhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function listFlagVersionsRhsFromJSON( jsonString: string, @@ -910,25 +960,25 @@ export const ListFlagVersionsConditions$inboundSchema: z.ZodType< ListFlagVersionsConditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: ListFlagVersionsCmp$inboundSchema, - cmpOptions: types.optional( - z.lazy(() => ListFlagVersionsCmpOptions$inboundSchema), - ), - lhs: z.union([ - z.lazy(() => ListFlagVersionsLhs1$inboundSchema), - z.lazy(() => ListFlagVersionsLhs2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: ListFlagVersionsCmp$inboundSchema, + cmpOptions: types.optional( + z.lazy(() => ListFlagVersionsCmpOptions$inboundSchema), + ), + lhs: z.union([ + z.lazy(() => ListFlagVersionsLhs1$inboundSchema), + z.lazy(() => ListFlagVersionsLhs2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => ListFlagVersionsRhs4$inboundSchema), z.lazy(() => ListFlagVersionsRhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function listFlagVersionsConditionsFromJSON( jsonString: string, @@ -945,9 +995,11 @@ export const ListFlagVersionsOutcome4$inboundSchema: z.ZodType< ListFlagVersionsOutcome4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function listFlagVersionsOutcome4FromJSON( jsonString: string, @@ -963,8 +1015,10 @@ export function listFlagVersionsOutcome4FromJSON( export const ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -972,12 +1026,14 @@ export const ListFlagVersionsOutcomeFeatureFlagsBase$inboundSchema: z.ZodType< ListFlagVersionsOutcomeFeatureFlagsBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: - ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) +); export function listFlagVersionsOutcomeFeatureFlagsBaseFromJSON( jsonString: string, @@ -1000,10 +1056,12 @@ export const ListFlagVersionsOutcomeSlots$inboundSchema: z.ZodType< ListFlagVersionsOutcomeSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function listFlagVersionsOutcomeSlotsFromJSON( jsonString: string, @@ -1020,16 +1078,18 @@ export const ListFlagVersionsOutcome3$inboundSchema: z.ZodType< ListFlagVersionsOutcome3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => ListFlagVersionsOutcomeFeatureFlagsBase$inboundSchema), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array(z.lazy(() => ListFlagVersionsOutcomeSlots$inboundSchema)), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => ListFlagVersionsOutcomeFeatureFlagsBase$inboundSchema), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array(z.lazy(() => ListFlagVersionsOutcomeSlots$inboundSchema)), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function listFlagVersionsOutcome3FromJSON( jsonString: string, @@ -1045,8 +1105,10 @@ export function listFlagVersionsOutcome3FromJSON( export const ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType - > = z.nativeEnum( - ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -1054,12 +1116,14 @@ export const ListFlagVersionsOutcomeBase$inboundSchema: z.ZodType< ListFlagVersionsOutcomeBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: - ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + ListFlagVersionsOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema, + }) +); export function listFlagVersionsOutcomeBaseFromJSON( jsonString: string, @@ -1076,12 +1140,14 @@ export const ListFlagVersionsOutcome2$inboundSchema: z.ZodType< ListFlagVersionsOutcome2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => ListFlagVersionsOutcomeBase$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => ListFlagVersionsOutcomeBase$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function listFlagVersionsOutcome2FromJSON( jsonString: string, @@ -1098,10 +1164,12 @@ export const ListFlagVersionsOutcome1$inboundSchema: z.ZodType< ListFlagVersionsOutcome1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function listFlagVersionsOutcome1FromJSON( jsonString: string, @@ -1118,12 +1186,14 @@ export const ListFlagVersionsOutcome$inboundSchema: z.ZodType< ListFlagVersionsOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListFlagVersionsOutcome1$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome2$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome3$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListFlagVersionsOutcome1$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome2$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome3$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome4$inboundSchema), + ]) +); export function listFlagVersionsOutcomeFromJSON( jsonString: string, @@ -1140,16 +1210,18 @@ export const ListFlagVersionsRules$inboundSchema: z.ZodType< ListFlagVersionsRules, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array(z.lazy(() => ListFlagVersionsConditions$inboundSchema)), - id: types.string(), - outcome: z.union([ - z.lazy(() => ListFlagVersionsOutcome1$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome2$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome3$inboundSchema), - z.lazy(() => ListFlagVersionsOutcome4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => ListFlagVersionsConditions$inboundSchema)), + id: types.string(), + outcome: z.union([ + z.lazy(() => ListFlagVersionsOutcome1$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome2$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome3$inboundSchema), + z.lazy(() => ListFlagVersionsOutcome4$inboundSchema), + ]), + }) +); export function listFlagVersionsRulesFromJSON( jsonString: string, @@ -1166,10 +1238,12 @@ export const ListFlagVersionsTargets$inboundSchema: z.ZodType< ListFlagVersionsTargets, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function listFlagVersionsTargetsFromJSON( jsonString: string, @@ -1186,24 +1260,24 @@ export const ListFlagVersionsEnvironments$inboundSchema: z.ZodType< ListFlagVersionsEnvironments, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - fallthrough: z.union([ - z.lazy(() => ListFlagVersionsFallthrough1$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough2$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough3$inboundSchema), - z.lazy(() => ListFlagVersionsFallthrough4$inboundSchema), - ]), - pausedOutcome: z.lazy(() => ListFlagVersionsPausedOutcome$inboundSchema), - reuse: types.optional(z.lazy(() => ListFlagVersionsReuse$inboundSchema)), - revision: types.optional(types.number()), - rules: z.array(z.lazy(() => ListFlagVersionsRules$inboundSchema)), - targets: types.optional( - z.record(z.record(z.record(z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + fallthrough: z.union([ + z.lazy(() => ListFlagVersionsFallthrough1$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough2$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough3$inboundSchema), + z.lazy(() => ListFlagVersionsFallthrough4$inboundSchema), + ]), + pausedOutcome: z.lazy(() => ListFlagVersionsPausedOutcome$inboundSchema), + reuse: types.optional(z.lazy(() => ListFlagVersionsReuse$inboundSchema)), + revision: types.optional(types.number()), + rules: z.array(z.lazy(() => ListFlagVersionsRules$inboundSchema)), + targets: types.optional(z.record(z.record(z.record(z.array(z.lazy(() => ListFlagVersionsTargets$inboundSchema - ))))), - ), -}); + )))))), + }) +); export function listFlagVersionsEnvironmentsFromJSON( jsonString: string, @@ -1218,20 +1292,22 @@ export function listFlagVersionsEnvironmentsFromJSON( /** @internal */ export const ListFlagVersionsState$inboundSchema: z.ZodNativeEnum< typeof ListFlagVersionsState -> = z.nativeEnum(ListFlagVersionsState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListFlagVersionsState)); /** @internal */ export const ListFlagVersionsValue$inboundSchema: z.ZodType< ListFlagVersionsValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]) +); export function listFlagVersionsValueFromJSON( jsonString: string, @@ -1248,20 +1324,22 @@ export const ListFlagVersionsVariants$inboundSchema: z.ZodType< ListFlagVersionsVariants, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - id: types.string(), - label: types.optional(types.string()), - value: types.nullable( - smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + id: types.string(), + label: types.optional(types.string()), + value: types.nullable( + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]), + ), + }) +); export function listFlagVersionsVariantsFromJSON( jsonString: string, @@ -1278,18 +1356,20 @@ export const ListFlagVersionsData$inboundSchema: z.ZodType< ListFlagVersionsData, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - environments: z.record( - z.lazy(() => ListFlagVersionsEnvironments$inboundSchema), - ), - maintainerIds: types.optional(z.array(types.string())), - permanent: types.optional(types.boolean()), - seed: types.number(), - state: ListFlagVersionsState$inboundSchema, - tags: types.optional(z.array(types.string())), - variants: z.array(z.lazy(() => ListFlagVersionsVariants$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + environments: z.record( + z.lazy(() => ListFlagVersionsEnvironments$inboundSchema), + ), + maintainerIds: types.optional(z.array(types.string())), + permanent: types.optional(types.boolean()), + seed: types.number(), + state: ListFlagVersionsState$inboundSchema, + tags: types.optional(z.array(types.string())), + variants: z.array(z.lazy(() => ListFlagVersionsVariants$inboundSchema)), + }) +); export function listFlagVersionsDataFromJSON( jsonString: string, @@ -1306,10 +1386,12 @@ export const ListFlagVersionsCreator$inboundSchema: z.ZodType< ListFlagVersionsCreator, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function listFlagVersionsCreatorFromJSON( jsonString: string, @@ -1326,9 +1408,13 @@ export const ListFlagVersionsMetadata$inboundSchema: z.ZodType< ListFlagVersionsMetadata, z.ZodTypeDef, unknown -> = z.object({ - creator: types.optional(z.lazy(() => ListFlagVersionsCreator$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: types.optional( + z.lazy(() => ListFlagVersionsCreator$inboundSchema), + ), + }) +); export function listFlagVersionsMetadataFromJSON( jsonString: string, @@ -1345,19 +1431,21 @@ export const ListFlagVersionsVersions$inboundSchema: z.ZodType< ListFlagVersionsVersions, z.ZodTypeDef, unknown -> = z.object({ - changedEnvironments: z.array(types.string()), - createdAt: types.number(), - createdBy: types.optional(types.string()), - flagId: types.string(), - id: types.string(), - message: types.optional(types.string()), - revision: types.number(), - data: z.lazy(() => ListFlagVersionsData$inboundSchema), - metadata: types.optional( - z.lazy(() => ListFlagVersionsMetadata$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedEnvironments: z.array(types.string()), + createdAt: types.number(), + createdBy: types.optional(types.string()), + flagId: types.string(), + id: types.string(), + message: types.optional(types.string()), + revision: types.number(), + data: z.lazy(() => ListFlagVersionsData$inboundSchema), + metadata: types.optional( + z.lazy(() => ListFlagVersionsMetadata$inboundSchema), + ), + }) +); export function listFlagVersionsVersionsFromJSON( jsonString: string, @@ -1374,10 +1462,12 @@ export const ListFlagVersionsResponseBody$inboundSchema: z.ZodType< ListFlagVersionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListFlagVersionsPagination$inboundSchema), - versions: z.array(z.lazy(() => ListFlagVersionsVersions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListFlagVersionsPagination$inboundSchema), + versions: z.array(z.lazy(() => ListFlagVersionsVersions$inboundSchema)), + }) +); export function listFlagVersionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listkmsissuersop.ts b/src/models/listkmsissuersop.ts index ac48ce22df..60f13041ec 100644 --- a/src/models/listkmsissuersop.ts +++ b/src/models/listkmsissuersop.ts @@ -3,8 +3,12 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -191,12 +195,18 @@ export const ListKmsIssuersRequest$outboundSchema: z.ZodType< ListKmsIssuersRequest$Outbound, z.ZodTypeDef, ListKmsIssuersRequest -> = z.object({ - limit: z.number().int().optional(), - next: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().int().optional(), + next: z.string().refine(withinMaxLength$(1024), { + message: "Value must be at most 1024 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_-]+$", 1024), { + message: "Value must match pattern ^[A-Za-z0-9_-]+$", + }).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listKmsIssuersRequestToJSON( listKmsIssuersRequest: ListKmsIssuersRequest, @@ -209,30 +219,34 @@ export function listKmsIssuersRequestToJSON( /** @internal */ export const ListKmsIssuersAlgorithm$inboundSchema: z.ZodNativeEnum< typeof ListKmsIssuersAlgorithm -> = z.nativeEnum(ListKmsIssuersAlgorithm); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListKmsIssuersAlgorithm)); /** @internal */ export const ListKmsIssuersDiscoveryLayout$inboundSchema: z.ZodNativeEnum< typeof ListKmsIssuersDiscoveryLayout -> = z.nativeEnum(ListKmsIssuersDiscoveryLayout); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListKmsIssuersDiscoveryLayout) +); /** @internal */ export const ListKmsIssuersOrigin$inboundSchema: z.ZodNativeEnum< typeof ListKmsIssuersOrigin -> = z.nativeEnum(ListKmsIssuersOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListKmsIssuersOrigin)); /** @internal */ export const ListKmsIssuersPolicies3$inboundSchema: z.ZodType< ListKmsIssuersPolicies3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function listKmsIssuersPolicies3FromJSON( jsonString: string, @@ -249,13 +263,15 @@ export const ListKmsIssuersPolicies2$inboundSchema: z.ZodType< ListKmsIssuersPolicies2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function listKmsIssuersPolicies2FromJSON( jsonString: string, @@ -272,15 +288,17 @@ export const ListKmsIssuersPolicies1$inboundSchema: z.ZodType< ListKmsIssuersPolicies1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function listKmsIssuersPolicies1FromJSON( jsonString: string, @@ -297,11 +315,13 @@ export const ListKmsIssuersPolicies$inboundSchema: z.ZodType< ListKmsIssuersPolicies, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListKmsIssuersPolicies1$inboundSchema), - z.lazy(() => ListKmsIssuersPolicies2$inboundSchema), - z.lazy(() => ListKmsIssuersPolicies3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListKmsIssuersPolicies1$inboundSchema), + z.lazy(() => ListKmsIssuersPolicies2$inboundSchema), + z.lazy(() => ListKmsIssuersPolicies3$inboundSchema), + ]) +); export function listKmsIssuersPoliciesFromJSON( jsonString: string, @@ -318,20 +338,22 @@ export const ListKmsIssuersPublicKey$inboundSchema: z.ZodType< ListKmsIssuersPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function listKmsIssuersPublicKeyFromJSON( jsonString: string, @@ -346,31 +368,33 @@ export function listKmsIssuersPublicKeyFromJSON( /** @internal */ export const ListKmsIssuersStatus$inboundSchema: z.ZodNativeEnum< typeof ListKmsIssuersStatus -> = z.nativeEnum(ListKmsIssuersStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListKmsIssuersStatus)); /** @internal */ export const ListKmsIssuersSigningKeys$inboundSchema: z.ZodType< ListKmsIssuersSigningKeys, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional( - z.lazy(() => ListKmsIssuersPublicKey$inboundSchema), - ), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: ListKmsIssuersStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => ListKmsIssuersPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: ListKmsIssuersStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function listKmsIssuersSigningKeysFromJSON( jsonString: string, @@ -384,26 +408,28 @@ export function listKmsIssuersSigningKeysFromJSON( /** @internal */ export const Issuers$inboundSchema: z.ZodType = - z.object({ - algorithm: ListKmsIssuersAlgorithm$inboundSchema, - claimsSchema: types.optional(z.record(z.any())), - createdAt: types.string(), - discoveryLayout: ListKmsIssuersDiscoveryLayout$inboundSchema, - id: types.string(), - managedBy: types.optional(types.string()), - name: types.string(), - origin: ListKmsIssuersOrigin$inboundSchema, - ownerId: types.string(), - policies: z.array( - z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: ListKmsIssuersAlgorithm$inboundSchema, + claimsSchema: types.optional(z.record(z.any())), + createdAt: types.string(), + discoveryLayout: ListKmsIssuersDiscoveryLayout$inboundSchema, + id: types.string(), + managedBy: types.optional(types.string()), + name: types.string(), + origin: ListKmsIssuersOrigin$inboundSchema, + ownerId: types.string(), + policies: z.array(z.union([ z.lazy(() => ListKmsIssuersPolicies1$inboundSchema), z.lazy(() => ListKmsIssuersPolicies2$inboundSchema), z.lazy(() => ListKmsIssuersPolicies3$inboundSchema), - ]), - ), - signingKeys: z.array(z.lazy(() => ListKmsIssuersSigningKeys$inboundSchema)), - updatedAt: types.string(), - }); + ])), + signingKeys: z.array(z.lazy(() => + ListKmsIssuersSigningKeys$inboundSchema + )), + updatedAt: types.string(), + }) + ); export function issuersFromJSON( jsonString: string, @@ -420,10 +446,12 @@ export const ListKmsIssuersPagination$inboundSchema: z.ZodType< ListKmsIssuersPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listKmsIssuersPaginationFromJSON( jsonString: string, @@ -440,10 +468,12 @@ export const ListKmsIssuersResponseBody$inboundSchema: z.ZodType< ListKmsIssuersResponseBody, z.ZodTypeDef, unknown -> = z.object({ - issuers: z.array(z.lazy(() => Issuers$inboundSchema)), - pagination: z.lazy(() => ListKmsIssuersPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuers: z.array(z.lazy(() => Issuers$inboundSchema)), + pagination: z.lazy(() => ListKmsIssuersPagination$inboundSchema), + }) +); export function listKmsIssuersResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listnamedsandboxesop.ts b/src/models/listnamedsandboxesop.ts index bc5092bfa4..ae07f15454 100644 --- a/src/models/listnamedsandboxesop.ts +++ b/src/models/listnamedsandboxesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -115,18 +115,21 @@ export type ListNamedSandboxesResponseBody = { /** @internal */ export const ListNamedSandboxesQueryParamSortBy$outboundSchema: z.ZodNativeEnum< typeof ListNamedSandboxesQueryParamSortBy -> = z.nativeEnum(ListNamedSandboxesQueryParamSortBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListNamedSandboxesQueryParamSortBy) +); /** @internal */ export const ListNamedSandboxesQueryParamSortOrder$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListNamedSandboxesQueryParamSortOrder, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListNamedSandboxesQueryParamSortOrder) + ); /** @internal */ export const QueryParamStatus$outboundSchema: z.ZodNativeEnum< typeof QueryParamStatus -> = z.nativeEnum(QueryParamStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamStatus)); /** @internal */ export type QueryParamTags$Outbound = string | Array; @@ -136,7 +139,9 @@ export const QueryParamTags$outboundSchema: z.ZodType< QueryParamTags$Outbound, z.ZodTypeDef, QueryParamTags -> = smartUnion([z.string(), z.array(z.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string())]) +); export function queryParamTagsToJSON(queryParamTags: QueryParamTags): string { return JSON.stringify(QueryParamTags$outboundSchema.parse(queryParamTags)); @@ -161,22 +166,24 @@ export const ListNamedSandboxesRequest$outboundSchema: z.ZodType< ListNamedSandboxesRequest$Outbound, z.ZodTypeDef, ListNamedSandboxesRequest -> = z.object({ - project: z.string().optional(), - limit: z.number().default(20), - sortBy: ListNamedSandboxesQueryParamSortBy$outboundSchema.default( - "createdAt", - ), - namePrefix: z.string().optional(), - cursor: z.string().optional(), - sortOrder: ListNamedSandboxesQueryParamSortOrder$outboundSchema.default( - "desc", - ), - status: QueryParamStatus$outboundSchema.optional(), - tags: smartUnion([z.string(), z.array(z.string())]).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.string().optional(), + limit: z.number().default(20), + sortBy: ListNamedSandboxesQueryParamSortBy$outboundSchema.default( + "createdAt", + ), + namePrefix: z.string().optional(), + cursor: z.string().optional(), + sortOrder: ListNamedSandboxesQueryParamSortOrder$outboundSchema.default( + "desc", + ), + status: QueryParamStatus$outboundSchema.optional(), + tags: smartUnion([z.string(), z.array(z.string())]).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listNamedSandboxesRequestToJSON( listNamedSandboxesRequest: ListNamedSandboxesRequest, @@ -191,10 +198,12 @@ export const ListNamedSandboxesPagination$inboundSchema: z.ZodType< ListNamedSandboxesPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listNamedSandboxesPaginationFromJSON( jsonString: string, @@ -211,10 +220,12 @@ export const ListNamedSandboxesResponseBody$inboundSchema: z.ZodType< ListNamedSandboxesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListNamedSandboxesPagination$inboundSchema), - sandboxes: z.array(NamedSandbox$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListNamedSandboxesPagination$inboundSchema), + sandboxes: z.array(NamedSandbox$inboundSchema), + }) +); export function listNamedSandboxesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listnetworksop.ts b/src/models/listnetworksop.ts index b6310a6b67..30a1499915 100644 --- a/src/models/listnetworksop.ts +++ b/src/models/listnetworksop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListNetworksRequest = { /** @@ -46,14 +47,16 @@ export const ListNetworksRequest$outboundSchema: z.ZodType< ListNetworksRequest$Outbound, z.ZodTypeDef, ListNetworksRequest -> = z.object({ - includeHostedZones: z.boolean().default(true), - includePeeringConnections: z.boolean().default(true), - includeProjects: z.boolean().default(true), - search: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + includeHostedZones: z.boolean().default(true), + includePeeringConnections: z.boolean().default(true), + includeProjects: z.boolean().default(true), + search: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listNetworksRequestToJSON( listNetworksRequest: ListNetworksRequest, diff --git a/src/models/listorganizationdsyncgroupsop.ts b/src/models/listorganizationdsyncgroupsop.ts index 295a27ac46..4f0d889dee 100644 --- a/src/models/listorganizationdsyncgroupsop.ts +++ b/src/models/listorganizationdsyncgroupsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -54,13 +54,15 @@ export const ListOrganizationDsyncGroupsRequest$outboundSchema: z.ZodType< ListOrganizationDsyncGroupsRequest$Outbound, z.ZodTypeDef, ListOrganizationDsyncGroupsRequest -> = z.object({ - organizationId: z.string(), - cursor: z.string().optional(), - limit: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + cursor: z.string().optional(), + limit: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listOrganizationDsyncGroupsRequestToJSON( listOrganizationDsyncGroupsRequest: ListOrganizationDsyncGroupsRequest, @@ -77,10 +79,12 @@ export const ListOrganizationDsyncGroupsResponseBody$inboundSchema: z.ZodType< ListOrganizationDsyncGroupsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - cursor: types.optional(types.string()), - groups: z.array(OrganizationDirectorySyncGroup$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cursor: types.optional(types.string()), + groups: z.array(OrganizationDirectorySyncGroup$inboundSchema), + }) +); export function listOrganizationDsyncGroupsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listorganizationsop.ts b/src/models/listorganizationsop.ts index 81c2f10dc1..c146874c55 100644 --- a/src/models/listorganizationsop.ts +++ b/src/models/listorganizationsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Organization, Organization$inboundSchema } from "./organization.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -17,9 +17,11 @@ export const ListOrganizationsResponseBody$inboundSchema: z.ZodType< ListOrganizationsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - organizations: z.array(Organization$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizations: z.array(Organization$inboundSchema), + }) +); export function listOrganizationsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listorganizationteamsop.ts b/src/models/listorganizationteamsop.ts index 3d70ab9469..f153fd0302 100644 --- a/src/models/listorganizationteamsop.ts +++ b/src/models/listorganizationteamsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { @@ -44,11 +44,13 @@ export const ListOrganizationTeamsRequest$outboundSchema: z.ZodType< ListOrganizationTeamsRequest$Outbound, z.ZodTypeDef, ListOrganizationTeamsRequest -> = z.object({ - organizationId: z.string(), - cursor: z.string().optional(), - includeMemberCount: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + cursor: z.string().optional(), + includeMemberCount: z.boolean().optional(), + }) +); export function listOrganizationTeamsRequestToJSON( listOrganizationTeamsRequest: ListOrganizationTeamsRequest, @@ -65,10 +67,12 @@ export const ListOrganizationTeamsResponseBody$inboundSchema: z.ZodType< ListOrganizationTeamsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - cursor: types.optional(types.string()), - teams: z.array(OrganizationTeamListItem$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cursor: types.optional(types.string()), + teams: z.array(OrganizationTeamListItem$inboundSchema), + }) +); export function listOrganizationTeamsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listprivatelinkendpointsop.ts b/src/models/listprivatelinkendpointsop.ts index 3734613d0b..5dee03b954 100644 --- a/src/models/listprivatelinkendpointsop.ts +++ b/src/models/listprivatelinkendpointsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListPrivateLinkEndpointsRequest = { /** @@ -31,11 +32,13 @@ export const ListPrivateLinkEndpointsRequest$outboundSchema: z.ZodType< ListPrivateLinkEndpointsRequest$Outbound, z.ZodTypeDef, ListPrivateLinkEndpointsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listPrivateLinkEndpointsRequestToJSON( listPrivateLinkEndpointsRequest: ListPrivateLinkEndpointsRequest, diff --git a/src/models/listprojectchecksop.ts b/src/models/listprojectchecksop.ts index fbcc22a0fd..c046134c27 100644 --- a/src/models/listprojectchecksop.ts +++ b/src/models/listprojectchecksop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -123,7 +123,7 @@ export type ListProjectChecksResponseBody = { /** @internal */ export const QueryParamBlocks$outboundSchema: z.ZodNativeEnum< typeof QueryParamBlocks -> = z.nativeEnum(QueryParamBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamBlocks)); /** @internal */ export type ListProjectChecksRequest$Outbound = { @@ -138,12 +138,14 @@ export const ListProjectChecksRequest$outboundSchema: z.ZodType< ListProjectChecksRequest$Outbound, z.ZodTypeDef, ListProjectChecksRequest -> = z.object({ - projectIdOrName: z.string(), - blocks: QueryParamBlocks$outboundSchema.optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + blocks: QueryParamBlocks$outboundSchema.optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listProjectChecksRequestToJSON( listProjectChecksRequest: ListProjectChecksRequest, @@ -156,28 +158,32 @@ export function listProjectChecksRequestToJSON( /** @internal */ export const ListProjectChecksBlocks$inboundSchema: z.ZodNativeEnum< typeof ListProjectChecksBlocks -> = z.nativeEnum(ListProjectChecksBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListProjectChecksBlocks)); /** @internal */ export const ListProjectChecksRequires$inboundSchema: z.ZodNativeEnum< typeof ListProjectChecksRequires -> = z.nativeEnum(ListProjectChecksRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListProjectChecksRequires)); /** @internal */ export const ListProjectChecksSourceProvider$inboundSchema: z.ZodNativeEnum< typeof ListProjectChecksSourceProvider -> = z.nativeEnum(ListProjectChecksSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListProjectChecksSourceProvider) +); /** @internal */ export const ListProjectChecksSource3$inboundSchema: z.ZodType< ListProjectChecksSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: types.literal("git-provider"), - provider: ListProjectChecksSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: types.literal("git-provider"), + provider: ListProjectChecksSourceProvider$inboundSchema, + }) +); export function listProjectChecksSource3FromJSON( jsonString: string, @@ -194,10 +200,12 @@ export const ListProjectChecksSource2$inboundSchema: z.ZodType< ListProjectChecksSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("webhook"), - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("webhook"), + webhookId: types.optional(types.string()), + }) +); export function listProjectChecksSource2FromJSON( jsonString: string, @@ -214,13 +222,15 @@ export const ListProjectChecksSource1$inboundSchema: z.ZodType< ListProjectChecksSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function listProjectChecksSource1FromJSON( jsonString: string, @@ -237,11 +247,13 @@ export const ListProjectChecksSource$inboundSchema: z.ZodType< ListProjectChecksSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListProjectChecksSource1$inboundSchema), - z.lazy(() => ListProjectChecksSource2$inboundSchema), - z.lazy(() => ListProjectChecksSource3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListProjectChecksSource1$inboundSchema), + z.lazy(() => ListProjectChecksSource2$inboundSchema), + z.lazy(() => ListProjectChecksSource3$inboundSchema), + ]) +); export function listProjectChecksSourceFromJSON( jsonString: string, @@ -256,31 +268,35 @@ export function listProjectChecksSourceFromJSON( /** @internal */ export const ListProjectChecksSourceKind$inboundSchema: z.ZodNativeEnum< typeof ListProjectChecksSourceKind -> = z.nativeEnum(ListProjectChecksSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListProjectChecksSourceKind) +); /** @internal */ -export const Checks$inboundSchema: z.ZodType = z - .object({ - blocks: ListProjectChecksBlocks$inboundSchema, - createdAt: types.number(), - deletedAt: types.optional(types.number()), - id: types.string(), - isRerequestable: types.boolean(), - name: types.string(), - ownerId: types.string(), - projectId: types.string(), - requires: ListProjectChecksRequires$inboundSchema, - source: z.union([ - z.lazy(() => ListProjectChecksSource1$inboundSchema), - z.lazy(() => ListProjectChecksSource2$inboundSchema), - z.lazy(() => ListProjectChecksSource3$inboundSchema), - ]), - sourceIntegrationConfigurationId: types.optional(types.string()), - sourceKind: ListProjectChecksSourceKind$inboundSchema, - targets: z.array(types.string()), - timeout: types.number(), - updatedAt: types.number(), - }); +export const Checks$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: ListProjectChecksBlocks$inboundSchema, + createdAt: types.number(), + deletedAt: types.optional(types.number()), + id: types.string(), + isRerequestable: types.boolean(), + name: types.string(), + ownerId: types.string(), + projectId: types.string(), + requires: ListProjectChecksRequires$inboundSchema, + source: z.union([ + z.lazy(() => ListProjectChecksSource1$inboundSchema), + z.lazy(() => ListProjectChecksSource2$inboundSchema), + z.lazy(() => ListProjectChecksSource3$inboundSchema), + ]), + sourceIntegrationConfigurationId: types.optional(types.string()), + sourceKind: ListProjectChecksSourceKind$inboundSchema, + targets: z.array(types.string()), + timeout: types.number(), + updatedAt: types.number(), + }) + ); export function checksFromJSON( jsonString: string, @@ -297,10 +313,12 @@ export const ListProjectChecksResponseBody$inboundSchema: z.ZodType< ListProjectChecksResponseBody, z.ZodTypeDef, unknown -> = z.object({ - availableNativeChecks: z.array(types.string()), - checks: z.array(z.lazy(() => Checks$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + availableNativeChecks: z.array(types.string()), + checks: z.array(z.lazy(() => Checks$inboundSchema)), + }) +); export function listProjectChecksResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listprojectconnectorconnectionsop.ts b/src/models/listprojectconnectorconnectionsop.ts index f79268be7c..15ce9a6af4 100644 --- a/src/models/listprojectconnectorconnectionsop.ts +++ b/src/models/listprojectconnectorconnectionsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListProjectConnectorConnectionsRequest = { /** @@ -41,13 +42,15 @@ export const ListProjectConnectorConnectionsRequest$outboundSchema: z.ZodType< ListProjectConnectorConnectionsRequest$Outbound, z.ZodTypeDef, ListProjectConnectorConnectionsRequest -> = z.object({ - projectId: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listProjectConnectorConnectionsRequestToJSON( listProjectConnectorConnectionsRequest: diff --git a/src/models/listpromotealiasesop.ts b/src/models/listpromotealiasesop.ts index f5c5cda748..dc302b67fe 100644 --- a/src/models/listpromotealiasesop.ts +++ b/src/models/listpromotealiasesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -102,15 +102,17 @@ export const ListPromoteAliasesRequest$outboundSchema: z.ZodType< ListPromoteAliasesRequest$Outbound, z.ZodTypeDef, ListPromoteAliasesRequest -> = z.object({ - projectId: z.string(), - limit: z.number().optional(), - since: z.number().optional(), - until: z.number().optional(), - failedOnly: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + failedOnly: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listPromoteAliasesRequestToJSON( listPromoteAliasesRequest: ListPromoteAliasesRequest, @@ -122,20 +124,23 @@ export function listPromoteAliasesRequestToJSON( /** @internal */ export const ListPromoteAliasesResponseBodyStatus$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListPromoteAliasesResponseBodyStatus, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListPromoteAliasesResponseBodyStatus) + ); /** @internal */ export const ResponseBodyAliases$inboundSchema: z.ZodType< ResponseBodyAliases, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - id: types.string(), - status: ListPromoteAliasesResponseBodyStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + id: types.string(), + status: ListPromoteAliasesResponseBodyStatus$inboundSchema, + }) +); export function responseBodyAliasesFromJSON( jsonString: string, @@ -152,10 +157,12 @@ export const ListPromoteAliasesResponseBody2$inboundSchema: z.ZodType< ListPromoteAliasesResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - aliases: z.array(z.lazy(() => ResponseBodyAliases$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliases: z.array(z.lazy(() => ResponseBodyAliases$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function listPromoteAliasesResponseBody2FromJSON( jsonString: string, @@ -172,7 +179,7 @@ export const ListPromoteAliasesResponseBody1$inboundSchema: z.ZodType< ListPromoteAliasesResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function listPromoteAliasesResponseBody1FromJSON( jsonString: string, @@ -189,10 +196,12 @@ export const ListPromoteAliasesResponseBody$inboundSchema: z.ZodType< ListPromoteAliasesResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListPromoteAliasesResponseBody2$inboundSchema), - z.lazy(() => ListPromoteAliasesResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListPromoteAliasesResponseBody2$inboundSchema), + z.lazy(() => ListPromoteAliasesResponseBody1$inboundSchema), + ]) +); export function listPromoteAliasesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listrepositoriesop.ts b/src/models/listrepositoriesop.ts index 7cfa06e914..3d76c02a07 100644 --- a/src/models/listrepositoriesop.ts +++ b/src/models/listrepositoriesop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListRepositoriesRequest = { /** @@ -38,13 +39,15 @@ export const ListRepositoriesRequest$outboundSchema: z.ZodType< ListRepositoriesRequest$Outbound, z.ZodTypeDef, ListRepositoriesRequest -> = z.object({ - projectId: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listRepositoriesRequestToJSON( listRepositoriesRequest: ListRepositoriesRequest, diff --git a/src/models/listrepositoryimagesop.ts b/src/models/listrepositoryimagesop.ts index 5df7eeb182..41e1d596e5 100644 --- a/src/models/listrepositoryimagesop.ts +++ b/src/models/listrepositoryimagesop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListRepositoryImagesRequest = { /** @@ -42,15 +43,17 @@ export const ListRepositoryImagesRequest$outboundSchema: z.ZodType< ListRepositoryImagesRequest$Outbound, z.ZodTypeDef, ListRepositoryImagesRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - untagged: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + untagged: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listRepositoryImagesRequestToJSON( listRepositoryImagesRequest: ListRepositoryImagesRequest, diff --git a/src/models/listrepositorypermissionsop.ts b/src/models/listrepositorypermissionsop.ts index 6995879d20..ee6f5af8c2 100644 --- a/src/models/listrepositorypermissionsop.ts +++ b/src/models/listrepositorypermissionsop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ListRepositoryPermissionsRequest = { /** @@ -40,14 +41,16 @@ export const ListRepositoryPermissionsRequest$outboundSchema: z.ZodType< ListRepositoryPermissionsRequest$Outbound, z.ZodTypeDef, ListRepositoryPermissionsRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listRepositoryPermissionsRequestToJSON( listRepositoryPermissionsRequest: ListRepositoryPermissionsRequest, diff --git a/src/models/listrepositorytagsop.ts b/src/models/listrepositorytagsop.ts index 360ee63594..3b5fd198be 100644 --- a/src/models/listrepositorytagsop.ts +++ b/src/models/listrepositorytagsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -102,13 +102,16 @@ export type ListRepositoryTagsResponseBody = { /** @internal */ export const ListRepositoryTagsQueryParamSortBy$outboundSchema: z.ZodNativeEnum< typeof ListRepositoryTagsQueryParamSortBy -> = z.nativeEnum(ListRepositoryTagsQueryParamSortBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListRepositoryTagsQueryParamSortBy) +); /** @internal */ export const ListRepositoryTagsQueryParamSortOrder$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListRepositoryTagsQueryParamSortOrder, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListRepositoryTagsQueryParamSortOrder) + ); /** @internal */ export type ListRepositoryTagsRequest$Outbound = { @@ -127,20 +130,22 @@ export const ListRepositoryTagsRequest$outboundSchema: z.ZodType< ListRepositoryTagsRequest$Outbound, z.ZodTypeDef, ListRepositoryTagsRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - limit: z.number().int().optional(), - cursor: z.string().optional(), - sortBy: ListRepositoryTagsQueryParamSortBy$outboundSchema.default( - "updatedAt", - ), - sortOrder: ListRepositoryTagsQueryParamSortOrder$outboundSchema.default( - "desc", - ), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + limit: z.number().int().optional(), + cursor: z.string().optional(), + sortBy: ListRepositoryTagsQueryParamSortBy$outboundSchema.default( + "updatedAt", + ), + sortOrder: ListRepositoryTagsQueryParamSortOrder$outboundSchema.default( + "desc", + ), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listRepositoryTagsRequestToJSON( listRepositoryTagsRequest: ListRepositoryTagsRequest, @@ -153,31 +158,33 @@ export function listRepositoryTagsRequestToJSON( /** @internal */ export const ListRepositoryTagsKind$inboundSchema: z.ZodNativeEnum< typeof ListRepositoryTagsKind -> = z.nativeEnum(ListRepositoryTagsKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListRepositoryTagsKind)); /** @internal */ export const ListRepositoryTagsStatus$inboundSchema: z.ZodNativeEnum< typeof ListRepositoryTagsStatus -> = z.nativeEnum(ListRepositoryTagsStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListRepositoryTagsStatus)); /** @internal */ export const ListRepositoryTagsTags$inboundSchema: z.ZodType< ListRepositoryTagsTags, z.ZodTypeDef, unknown -> = z.object({ - arch: types.optional(types.string()), - createdAt: types.string(), - imageId: types.string(), - kind: ListRepositoryTagsKind$inboundSchema, - manifestDigest: types.string(), - platform: types.optional(types.string()), - pushedBy: types.optional(types.string()), - sizeInBytes: types.number(), - status: types.nullable(ListRepositoryTagsStatus$inboundSchema), - tag: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + arch: types.optional(types.string()), + createdAt: types.string(), + imageId: types.string(), + kind: ListRepositoryTagsKind$inboundSchema, + manifestDigest: types.string(), + platform: types.optional(types.string()), + pushedBy: types.optional(types.string()), + sizeInBytes: types.number(), + status: types.nullable(ListRepositoryTagsStatus$inboundSchema), + tag: types.string(), + updatedAt: types.string(), + }) +); export function listRepositoryTagsTagsFromJSON( jsonString: string, @@ -194,10 +201,12 @@ export const ListRepositoryTagsResponseBody$inboundSchema: z.ZodType< ListRepositoryTagsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.optional(types.string()), - tags: z.array(z.lazy(() => ListRepositoryTagsTags$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.optional(types.string()), + tags: z.array(z.lazy(() => ListRepositoryTagsTags$inboundSchema)), + }) +); export function listRepositoryTagsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listsessioncommandsop.ts b/src/models/listsessioncommandsop.ts index fba39b5a61..58b3578f67 100644 --- a/src/models/listsessioncommandsop.ts +++ b/src/models/listsessioncommandsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { @@ -45,11 +45,13 @@ export const ListSessionCommandsRequest$outboundSchema: z.ZodType< ListSessionCommandsRequest$Outbound, z.ZodTypeDef, ListSessionCommandsRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listSessionCommandsRequestToJSON( listSessionCommandsRequest: ListSessionCommandsRequest, @@ -64,9 +66,11 @@ export const ListSessionCommandsResponseBody$inboundSchema: z.ZodType< ListSessionCommandsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - commands: z.array(SessionCommand$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commands: z.array(SessionCommand$inboundSchema), + }) +); export function listSessionCommandsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listsessionsnapshotsop.ts b/src/models/listsessionsnapshotsop.ts index f499ec60df..7f2db664b3 100644 --- a/src/models/listsessionsnapshotsop.ts +++ b/src/models/listsessionsnapshotsop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -74,8 +78,10 @@ export type ListSessionSnapshotsResponseBody = /** @internal */ export const ListSessionSnapshotsQueryParamSortOrder$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListSessionSnapshotsQueryParamSortOrder); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListSessionSnapshotsQueryParamSortOrder) + ); /** @internal */ export type ListSessionSnapshotsRequest$Outbound = { @@ -93,17 +99,23 @@ export const ListSessionSnapshotsRequest$outboundSchema: z.ZodType< ListSessionSnapshotsRequest$Outbound, z.ZodTypeDef, ListSessionSnapshotsRequest -> = z.object({ - project: z.string().optional(), - name: z.string().optional(), - limit: z.number().default(20), - cursor: z.string().optional(), - sortOrder: ListSessionSnapshotsQueryParamSortOrder$outboundSchema.default( - "desc", - ), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.string().optional(), + name: z.string().refine(withinMaxLength$(128), { + message: "Value must be at most 128 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 128), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }).optional(), + limit: z.number().default(20), + cursor: z.string().optional(), + sortOrder: ListSessionSnapshotsQueryParamSortOrder$outboundSchema.default( + "desc", + ), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listSessionSnapshotsRequestToJSON( listSessionSnapshotsRequest: ListSessionSnapshotsRequest, @@ -118,10 +130,12 @@ export function listSessionSnapshotsRequestToJSON( /** @internal */ export const ListSessionSnapshotsResponseBodyPagination$inboundSchema: z.ZodType = - z.object({ - count: types.number(), - next: types.nullable(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) + ); export function listSessionSnapshotsResponseBodyPaginationFromJSON( jsonString: string, @@ -144,12 +158,14 @@ export const ListSessionSnapshotsResponseBody2$inboundSchema: z.ZodType< ListSessionSnapshotsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => - ListSessionSnapshotsResponseBodyPagination$inboundSchema - ), - snapshots: z.array(Snapshot$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => + ListSessionSnapshotsResponseBodyPagination$inboundSchema + ), + snapshots: z.array(Snapshot$inboundSchema), + }) +); export function listSessionSnapshotsResponseBody2FromJSON( jsonString: string, @@ -166,7 +182,7 @@ export const ListSessionSnapshotsResponseBody1$inboundSchema: z.ZodType< ListSessionSnapshotsResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function listSessionSnapshotsResponseBody1FromJSON( jsonString: string, @@ -183,10 +199,12 @@ export const ListSessionSnapshotsResponseBody$inboundSchema: z.ZodType< ListSessionSnapshotsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListSessionSnapshotsResponseBody2$inboundSchema), - z.lazy(() => ListSessionSnapshotsResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListSessionSnapshotsResponseBody2$inboundSchema), + z.lazy(() => ListSessionSnapshotsResponseBody1$inboundSchema), + ]) +); export function listSessionSnapshotsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listsessionsop.ts b/src/models/listsessionsop.ts index 3a6b44f19b..c9bf945138 100644 --- a/src/models/listsessionsop.ts +++ b/src/models/listsessionsop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -78,7 +82,9 @@ export type ListSessionsResponseBody = /** @internal */ export const ListSessionsQueryParamSortOrder$outboundSchema: z.ZodNativeEnum< typeof ListSessionsQueryParamSortOrder -> = z.nativeEnum(ListSessionsQueryParamSortOrder); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListSessionsQueryParamSortOrder) +); /** @internal */ export type ListSessionsRequest$Outbound = { @@ -96,15 +102,21 @@ export const ListSessionsRequest$outboundSchema: z.ZodType< ListSessionsRequest$Outbound, z.ZodTypeDef, ListSessionsRequest -> = z.object({ - project: z.string().optional(), - name: z.string().optional(), - limit: z.number().default(20), - cursor: z.string().optional(), - sortOrder: ListSessionsQueryParamSortOrder$outboundSchema.default("desc"), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.string().optional(), + name: z.string().refine(withinMaxLength$(128), { + message: "Value must be at most 128 characters long", + }).refine(matchesPattern$("^[a-zA-Z0-9_-]+$", 128), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }).optional(), + limit: z.number().default(20), + cursor: z.string().optional(), + sortOrder: ListSessionsQueryParamSortOrder$outboundSchema.default("desc"), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listSessionsRequestToJSON( listSessionsRequest: ListSessionsRequest, @@ -119,10 +131,12 @@ export const ListSessionsResponseBodyPagination$inboundSchema: z.ZodType< ListSessionsResponseBodyPagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function listSessionsResponseBodyPaginationFromJSON( jsonString: string, @@ -140,10 +154,12 @@ export const ListSessionsResponseBody2$inboundSchema: z.ZodType< ListSessionsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListSessionsResponseBodyPagination$inboundSchema), - sessions: z.array(Session$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListSessionsResponseBodyPagination$inboundSchema), + sessions: z.array(Session$inboundSchema), + }) +); export function listSessionsResponseBody2FromJSON( jsonString: string, @@ -160,7 +176,7 @@ export const ListSessionsResponseBody1$inboundSchema: z.ZodType< ListSessionsResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function listSessionsResponseBody1FromJSON( jsonString: string, @@ -177,10 +193,12 @@ export const ListSessionsResponseBody$inboundSchema: z.ZodType< ListSessionsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListSessionsResponseBody2$inboundSchema), - z.lazy(() => ListSessionsResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListSessionsResponseBody2$inboundSchema), + z.lazy(() => ListSessionsResponseBody1$inboundSchema), + ]) +); export function listSessionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listsharedenvvariableop.ts b/src/models/listsharedenvvariableop.ts index 637f456a1b..1881d1a1e4 100644 --- a/src/models/listsharedenvvariableop.ts +++ b/src/models/listsharedenvvariableop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -219,24 +219,26 @@ export const ListSharedEnvVariableRequest$outboundSchema: z.ZodType< ListSharedEnvVariableRequest$Outbound, z.ZodTypeDef, ListSharedEnvVariableRequest -> = z.object({ - search: z.string().optional(), - projectId: z.string().optional(), - ids: z.string().optional(), - excludeIdsQueryParameter: z.string().optional(), - excludeIdsQueryParameter1: z.string().optional(), - excludeProjectIdQueryParameter: z.string().optional(), - excludeProjectIdQueryParameter1: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - excludeIdsQueryParameter: "exclude_idsQueryParameter", - excludeIdsQueryParameter1: "exclude-idsQueryParameter1", - excludeProjectIdQueryParameter: "exclude_projectIdQueryParameter", - excludeProjectIdQueryParameter1: "exclude-projectIdQueryParameter1", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + search: z.string().optional(), + projectId: z.string().optional(), + ids: z.string().optional(), + excludeIdsQueryParameter: z.string().optional(), + excludeIdsQueryParameter1: z.string().optional(), + excludeProjectIdQueryParameter: z.string().optional(), + excludeProjectIdQueryParameter1: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }).transform((v) => { + return remap$(v, { + excludeIdsQueryParameter: "exclude_idsQueryParameter", + excludeIdsQueryParameter1: "exclude-idsQueryParameter1", + excludeProjectIdQueryParameter: "exclude_projectIdQueryParameter", + excludeProjectIdQueryParameter1: "exclude-projectIdQueryParameter1", + }); + }) +); export function listSharedEnvVariableRequestToJSON( listSharedEnvVariableRequest: ListSharedEnvVariableRequest, @@ -254,12 +256,14 @@ export const ListSharedEnvVariableLastEditedByPrincipal2$inboundSchema: ListSharedEnvVariableLastEditedByPrincipal2, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) + ); export function listSharedEnvVariableLastEditedByPrincipal2FromJSON( jsonString: string, @@ -283,13 +287,15 @@ export const ListSharedEnvVariableLastEditedByPrincipal1$inboundSchema: ListSharedEnvVariableLastEditedByPrincipal1, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) + ); export function listSharedEnvVariableLastEditedByPrincipal1FromJSON( jsonString: string, @@ -310,10 +316,12 @@ export function listSharedEnvVariableLastEditedByPrincipal1FromJSON( /** @internal */ export const ListSharedEnvVariableLastEditedByPrincipal$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal1$inboundSchema), - z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal2$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal1$inboundSchema), + z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal2$inboundSchema), + ]) + ); export function listSharedEnvVariableLastEditedByPrincipalFromJSON( jsonString: string, @@ -334,51 +342,53 @@ export function listSharedEnvVariableLastEditedByPrincipalFromJSON( /** @internal */ export const SecurityIssues$inboundSchema: z.ZodNativeEnum< typeof SecurityIssues -> = z.nativeEnum(SecurityIssues); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SecurityIssues)); /** @internal */ export const ListSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum< typeof ListSharedEnvVariableTarget -> = z.nativeEnum(ListSharedEnvVariableTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListSharedEnvVariableTarget) +); /** @internal */ export const ListSharedEnvVariableType$inboundSchema: z.ZodNativeEnum< typeof ListSharedEnvVariableType -> = z.nativeEnum(ListSharedEnvVariableType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ListSharedEnvVariableType)); /** @internal */ export const ListSharedEnvVariableData$inboundSchema: z.ZodType< ListSharedEnvVariableData, z.ZodTypeDef, unknown -> = z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.date(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.boolean(), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.string(), - key: types.string(), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.date(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.boolean(), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.string(), + key: types.string(), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal1$inboundSchema), z.lazy(() => ListSharedEnvVariableLastEditedByPrincipal2$inboundSchema), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - securityIssues: z.array(SecurityIssues$inboundSchema), - target: types.optional(z.array(ListSharedEnvVariableTarget$inboundSchema)), - type: types.optional(ListSharedEnvVariableType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), -}); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + securityIssues: z.array(SecurityIssues$inboundSchema), + target: types.optional(z.array(ListSharedEnvVariableTarget$inboundSchema)), + type: types.optional(ListSharedEnvVariableType$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) +); export function listSharedEnvVariableDataFromJSON( jsonString: string, @@ -395,10 +405,12 @@ export const ListSharedEnvVariableResponseBody$inboundSchema: z.ZodType< ListSharedEnvVariableResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => ListSharedEnvVariableData$inboundSchema)), - pagination: Pagination$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => ListSharedEnvVariableData$inboundSchema)), + pagination: Pagination$inboundSchema, + }) +); export function listSharedEnvVariableResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listteamflagsettingsop.ts b/src/models/listteamflagsettingsop.ts index 10299344b2..c5edabd771 100644 --- a/src/models/listteamflagsettingsop.ts +++ b/src/models/listteamflagsettingsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -100,12 +100,14 @@ export const ListTeamFlagSettingsRequest$outboundSchema: z.ZodType< ListTeamFlagSettingsRequest$Outbound, z.ZodTypeDef, ListTeamFlagSettingsRequest -> = z.object({ - limit: z.number().int().default(20), - cursor: z.string().optional(), - teamId: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().int().default(20), + cursor: z.string().optional(), + teamId: z.string(), + slug: z.string().optional(), + }) +); export function listTeamFlagSettingsRequestToJSON( listTeamFlagSettingsRequest: ListTeamFlagSettingsRequest, @@ -122,10 +124,12 @@ export const ResponseBodyLabels$inboundSchema: z.ZodType< ResponseBodyLabels, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.string(), + }) +); export function responseBodyLabelsFromJSON( jsonString: string, @@ -142,13 +146,15 @@ export const ResponseBodyAttributes$inboundSchema: z.ZodType< ResponseBodyAttributes, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - labels: types.optional( - z.array(z.lazy(() => ResponseBodyLabels$inboundSchema)), - ), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + labels: types.optional( + z.array(z.lazy(() => ResponseBodyLabels$inboundSchema)), + ), + type: types.string(), + }) +); export function responseBodyAttributesFromJSON( jsonString: string, @@ -165,11 +171,13 @@ export const ResponseBodyEntities$inboundSchema: z.ZodType< ResponseBodyEntities, z.ZodTypeDef, unknown -> = z.object({ - attributes: z.array(z.lazy(() => ResponseBodyAttributes$inboundSchema)), - kind: types.string(), - label: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.array(z.lazy(() => ResponseBodyAttributes$inboundSchema)), + kind: types.string(), + label: types.string(), + }) +); export function responseBodyEntitiesFromJSON( jsonString: string, @@ -186,14 +194,16 @@ export const ListTeamFlagSettingsResponseBodyMetadata$inboundSchema: z.ZodType< ListTeamFlagSettingsResponseBodyMetadata, z.ZodTypeDef, unknown -> = z.object({ - activeFlagCount: types.number(), - archivedFlagCount: types.number(), - configUpdatedAt: types.optional(types.number()), - packRevision: types.optional(types.number()), - packSizeInBytes: types.number(), - segmentCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeFlagCount: types.number(), + archivedFlagCount: types.number(), + configUpdatedAt: types.optional(types.number()), + packRevision: types.optional(types.number()), + packSizeInBytes: types.number(), + segmentCount: types.number(), + }) +); export function listTeamFlagSettingsResponseBodyMetadataFromJSON( jsonString: string, @@ -214,26 +224,28 @@ export function listTeamFlagSettingsResponseBodyMetadataFromJSON( /** @internal */ export const ResponseBodyTypeName$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTypeName -> = z.nativeEnum(ResponseBodyTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyTypeName)); /** @internal */ export const ResponseBodyData$inboundSchema: z.ZodType< ResponseBodyData, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - enabled: types.boolean(), - entities: z.array(z.lazy(() => ResponseBodyEntities$inboundSchema)), - environments: z.array(types.string()), - metadata: z.lazy(() => - ListTeamFlagSettingsResponseBodyMetadata$inboundSchema - ), - ownerId: types.optional(types.string()), - projectId: types.string(), - typeName: ResponseBodyTypeName$inboundSchema, - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + enabled: types.boolean(), + entities: z.array(z.lazy(() => ResponseBodyEntities$inboundSchema)), + environments: z.array(types.string()), + metadata: z.lazy(() => + ListTeamFlagSettingsResponseBodyMetadata$inboundSchema + ), + ownerId: types.optional(types.string()), + projectId: types.string(), + typeName: ResponseBodyTypeName$inboundSchema, + updatedAt: types.optional(types.number()), + }) +); export function responseBodyDataFromJSON( jsonString: string, @@ -248,9 +260,11 @@ export function responseBodyDataFromJSON( /** @internal */ export const ListTeamFlagSettingsResponseBodyPagination$inboundSchema: z.ZodType = - z.object({ - next: types.nullable(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) + ); export function listTeamFlagSettingsResponseBodyPaginationFromJSON( jsonString: string, @@ -273,12 +287,14 @@ export const ListTeamFlagSettingsResponseBody2$inboundSchema: z.ZodType< ListTeamFlagSettingsResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => ResponseBodyData$inboundSchema)), - pagination: z.lazy(() => - ListTeamFlagSettingsResponseBodyPagination$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => ResponseBodyData$inboundSchema)), + pagination: z.lazy(() => + ListTeamFlagSettingsResponseBodyPagination$inboundSchema + ), + }) +); export function listTeamFlagSettingsResponseBody2FromJSON( jsonString: string, @@ -295,7 +311,7 @@ export const ListTeamFlagSettingsResponseBody1$inboundSchema: z.ZodType< ListTeamFlagSettingsResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function listTeamFlagSettingsResponseBody1FromJSON( jsonString: string, @@ -312,10 +328,12 @@ export const ListTeamFlagSettingsResponseBody$inboundSchema: z.ZodType< ListTeamFlagSettingsResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => ListTeamFlagSettingsResponseBody2$inboundSchema), - z.lazy(() => ListTeamFlagSettingsResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => ListTeamFlagSettingsResponseBody2$inboundSchema), + z.lazy(() => ListTeamFlagSettingsResponseBody1$inboundSchema), + ]) +); export function listTeamFlagSettingsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listteamflagsop.ts b/src/models/listteamflagsop.ts index 9c9e89af29..d08ae146bb 100644 --- a/src/models/listteamflagsop.ts +++ b/src/models/listteamflagsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -91,12 +91,16 @@ export type ListTeamFlagsResponseBody = { /** @internal */ export const ListTeamFlagsQueryParamState$outboundSchema: z.ZodNativeEnum< typeof ListTeamFlagsQueryParamState -> = z.nativeEnum(ListTeamFlagsQueryParamState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListTeamFlagsQueryParamState) +); /** @internal */ export const ListTeamFlagsQueryParamKind$outboundSchema: z.ZodNativeEnum< typeof ListTeamFlagsQueryParamKind -> = z.nativeEnum(ListTeamFlagsQueryParamKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListTeamFlagsQueryParamKind) +); /** @internal */ export type ListTeamFlagsRequest$Outbound = { @@ -116,17 +120,19 @@ export const ListTeamFlagsRequest$outboundSchema: z.ZodType< ListTeamFlagsRequest$Outbound, z.ZodTypeDef, ListTeamFlagsRequest -> = z.object({ - state: ListTeamFlagsQueryParamState$outboundSchema.optional(), - withMetadata: z.boolean().optional(), - limit: z.number().int().default(20), - cursor: z.string().optional(), - search: z.string().optional(), - kind: ListTeamFlagsQueryParamKind$outboundSchema.optional(), - tags: z.array(z.string()).optional(), - teamId: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + state: ListTeamFlagsQueryParamState$outboundSchema.optional(), + withMetadata: z.boolean().optional(), + limit: z.number().int().default(20), + cursor: z.string().optional(), + search: z.string().optional(), + kind: ListTeamFlagsQueryParamKind$outboundSchema.optional(), + tags: z.array(z.string()).optional(), + teamId: z.string(), + slug: z.string().optional(), + }) +); export function listTeamFlagsRequestToJSON( listTeamFlagsRequest: ListTeamFlagsRequest, @@ -141,9 +147,11 @@ export const ListTeamFlagsPagination$inboundSchema: z.ZodType< ListTeamFlagsPagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listTeamFlagsPaginationFromJSON( jsonString: string, @@ -160,10 +168,12 @@ export const ListTeamFlagsResponseBody$inboundSchema: z.ZodType< ListTeamFlagsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(Flag$inboundSchema), - pagination: z.lazy(() => ListTeamFlagsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(Flag$inboundSchema), + pagination: z.lazy(() => ListTeamFlagsPagination$inboundSchema), + }) +); export function listTeamFlagsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listteamflagsv2op.ts b/src/models/listteamflagsv2op.ts index 759e71d81f..ac0cad9d2d 100644 --- a/src/models/listteamflagsv2op.ts +++ b/src/models/listteamflagsv2op.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -105,12 +105,14 @@ export type ListTeamFlagsV2ResponseBody = { /** @internal */ export const ListTeamFlagsV2QueryParamState$outboundSchema: z.ZodNativeEnum< typeof ListTeamFlagsV2QueryParamState -> = z.nativeEnum(ListTeamFlagsV2QueryParamState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListTeamFlagsV2QueryParamState) +); /** @internal */ export const QueryParamKind$outboundSchema: z.ZodNativeEnum< typeof QueryParamKind -> = z.nativeEnum(QueryParamKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamKind)); /** @internal */ export type ListTeamFlagsV2Request$Outbound = { @@ -132,19 +134,21 @@ export const ListTeamFlagsV2Request$outboundSchema: z.ZodType< ListTeamFlagsV2Request$Outbound, z.ZodTypeDef, ListTeamFlagsV2Request -> = z.object({ - state: ListTeamFlagsV2QueryParamState$outboundSchema.optional(), - limit: z.number().int().default(25), - cursor: z.string().optional(), - search: z.string().optional(), - kind: QueryParamKind$outboundSchema.optional(), - tags: z.array(z.string()).optional(), - createdBy: z.string().optional(), - maintainerIds: z.array(z.string()).optional(), - includeMarketplaceFlags: z.boolean().optional(), - teamId: z.string(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + state: ListTeamFlagsV2QueryParamState$outboundSchema.optional(), + limit: z.number().int().default(25), + cursor: z.string().optional(), + search: z.string().optional(), + kind: QueryParamKind$outboundSchema.optional(), + tags: z.array(z.string()).optional(), + createdBy: z.string().optional(), + maintainerIds: z.array(z.string()).optional(), + includeMarketplaceFlags: z.boolean().optional(), + teamId: z.string(), + slug: z.string().optional(), + }) +); export function listTeamFlagsV2RequestToJSON( listTeamFlagsV2Request: ListTeamFlagsV2Request, @@ -159,9 +163,11 @@ export const ListTeamFlagsV2Pagination$inboundSchema: z.ZodType< ListTeamFlagsV2Pagination, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(types.string()), + }) +); export function listTeamFlagsV2PaginationFromJSON( jsonString: string, @@ -178,10 +184,12 @@ export const ListTeamFlagsV2Data$inboundSchema: z.ZodType< ListTeamFlagsV2Data, z.ZodTypeDef, unknown -> = z.union([ - Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), - MarketplaceFlag$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), + MarketplaceFlag$inboundSchema, + ]) +); export function listTeamFlagsV2DataFromJSON( jsonString: string, @@ -198,15 +206,17 @@ export const ListTeamFlagsV2ResponseBody$inboundSchema: z.ZodType< ListTeamFlagsV2ResponseBody, z.ZodTypeDef, unknown -> = z.object({ - pagination: z.lazy(() => ListTeamFlagsV2Pagination$inboundSchema), - data: z.array( - z.union([ - Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), - MarketplaceFlag$inboundSchema, - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pagination: z.lazy(() => ListTeamFlagsV2Pagination$inboundSchema), + data: z.array( + z.union([ + Flag$inboundSchema.and(z.object({ typeName: z.literal("flag") })), + MarketplaceFlag$inboundSchema, + ]), + ), + }) +); export function listTeamFlagsV2ResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listusereventsop.ts b/src/models/listusereventsop.ts index 1f55ba5e0e..352460afee 100644 --- a/src/models/listusereventsop.ts +++ b/src/models/listusereventsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { UserEvent, UserEvent$inboundSchema } from "./userevent.js"; @@ -85,19 +85,21 @@ export const ListUserEventsRequest$outboundSchema: z.ZodType< ListUserEventsRequest$Outbound, z.ZodTypeDef, ListUserEventsRequest -> = z.object({ - limit: z.number().optional(), - since: z.string().optional(), - until: z.string().optional(), - types: z.string().optional(), - userId: z.string().optional(), - principalId: z.string().optional(), - projectIds: z.string().optional(), - entityId: z.string().optional(), - withPayload: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limit: z.number().optional(), + since: z.string().optional(), + until: z.string().optional(), + types: z.string().optional(), + userId: z.string().optional(), + principalId: z.string().optional(), + projectIds: z.string().optional(), + entityId: z.string().optional(), + withPayload: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listUserEventsRequestToJSON( listUserEventsRequest: ListUserEventsRequest, @@ -112,9 +114,11 @@ export const ListUserEventsResponseBody$inboundSchema: z.ZodType< ListUserEventsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - events: z.array(UserEvent$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + events: z.array(UserEvent$inboundSchema), + }) +); export function listUserEventsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcibranchesop.ts b/src/models/listvercelcibranchesop.ts index da0e16bdc4..1163056ce5 100644 --- a/src/models/listvercelcibranchesop.ts +++ b/src/models/listvercelcibranchesop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -183,12 +183,14 @@ export const ListVercelCiBranchesRequest$outboundSchema: z.ZodType< ListVercelCiBranchesRequest$Outbound, z.ZodTypeDef, ListVercelCiBranchesRequest -> = z.object({ - query: z.string().optional(), - limit: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + query: z.string().optional(), + limit: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiBranchesRequestToJSON( listVercelCiBranchesRequest: ListVercelCiBranchesRequest, @@ -206,10 +208,12 @@ export const ListVercelCiBranchesVercelCiResponse500Error$inboundSchema: ListVercelCiBranchesVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiBranchesVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -233,33 +237,37 @@ export const ListVercelCiBranchesVercelCiResponse500ResponseBody$inboundSchema: ListVercelCiBranchesVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiBranchesVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiBranchesVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiBranchesVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiBranchesVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiBranchesVercelCiResponseError$inboundSchema: z.ZodType< ListVercelCiBranchesVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function listVercelCiBranchesVercelCiResponseErrorFromJSON( jsonString: string, @@ -283,31 +291,35 @@ export const ListVercelCiBranchesVercelCiResponse429ResponseBody$inboundSchema: ListVercelCiBranchesVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiBranchesVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiBranchesVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiBranchesVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiBranchesVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiBranchesVercelCiError$inboundSchema: z.ZodType< ListVercelCiBranchesVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiBranchesVercelCiErrorFromJSON( jsonString: string, @@ -325,29 +337,33 @@ export const ListVercelCiBranchesVercelCiResponseResponseBody$inboundSchema: ListVercelCiBranchesVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiBranchesVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiBranchesVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiBranchesVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiBranchesVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiBranchesError$inboundSchema: z.ZodType< ListVercelCiBranchesError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiBranchesErrorFromJSON( jsonString: string, @@ -364,29 +380,33 @@ export const ListVercelCiBranchesVercelCiResponseBody$inboundSchema: z.ZodType< ListVercelCiBranchesVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => ListVercelCiBranchesError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ListVercelCiBranchesVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiBranchesError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiBranchesVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const Branches$inboundSchema: z.ZodType< Branches, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - count: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + count: types.number(), + }) +); export function branchesFromJSON( jsonString: string, @@ -403,9 +423,11 @@ export const ListVercelCiBranchesResponseBody$inboundSchema: z.ZodType< ListVercelCiBranchesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branches: z.array(z.lazy(() => Branches$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branches: z.array(z.lazy(() => Branches$inboundSchema)), + }) +); export function listVercelCiBranchesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelciinvocationattemptsop.ts b/src/models/listvercelciinvocationattemptsop.ts index b1a41661dd..024c7cd7a8 100644 --- a/src/models/listvercelciinvocationattemptsop.ts +++ b/src/models/listvercelciinvocationattemptsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -341,11 +341,13 @@ export const ListVercelCiInvocationAttemptsRequest$outboundSchema: z.ZodType< ListVercelCiInvocationAttemptsRequest$Outbound, z.ZodTypeDef, ListVercelCiInvocationAttemptsRequest -> = z.object({ - invocationId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiInvocationAttemptsRequestToJSON( listVercelCiInvocationAttemptsRequest: ListVercelCiInvocationAttemptsRequest, @@ -363,10 +365,12 @@ export const ListVercelCiInvocationAttemptsVercelCiResponse500Error$inboundSchem ListVercelCiInvocationAttemptsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiInvocationAttemptsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -389,20 +393,22 @@ export const ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody$inbou ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiInvocationAttemptsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiInvocationAttemptsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationAttemptsVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiInvocationAttemptsVercelCiResponseError$inboundSchema: @@ -410,12 +416,14 @@ export const ListVercelCiInvocationAttemptsVercelCiResponseError$inboundSchema: ListVercelCiInvocationAttemptsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function listVercelCiInvocationAttemptsVercelCiResponseErrorFromJSON( jsonString: string, @@ -439,20 +447,22 @@ export const ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody$inbou ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiInvocationAttemptsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiInvocationAttemptsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationAttemptsVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiInvocationAttemptsVercelCiError$inboundSchema: @@ -460,10 +470,12 @@ export const ListVercelCiInvocationAttemptsVercelCiError$inboundSchema: ListVercelCiInvocationAttemptsVercelCiError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiInvocationAttemptsVercelCiErrorFromJSON( jsonString: string, @@ -487,31 +499,34 @@ export const ListVercelCiInvocationAttemptsVercelCiResponseResponseBody$inboundS ListVercelCiInvocationAttemptsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiInvocationAttemptsVercelCiError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationAttemptsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiInvocationAttemptsVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationAttemptsVercelCiResponseResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiInvocationAttemptsError$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiInvocationAttemptsErrorFromJSON( jsonString: string, @@ -530,31 +545,35 @@ export const ListVercelCiInvocationAttemptsVercelCiResponseBody$inboundSchema: ListVercelCiInvocationAttemptsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiInvocationAttemptsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationAttemptsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiInvocationAttemptsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationAttemptsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiInvocationAttemptsSource2$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsSource2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-native-checks"), - deploymentId: types.string(), - projectId: types.string(), - deploymentTargetSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-native-checks"), + deploymentId: types.string(), + projectId: types.string(), + deploymentTargetSlug: types.string(), + }) +); export function listVercelCiInvocationAttemptsSource2FromJSON( jsonString: string, @@ -572,9 +591,11 @@ export const ListVercelCiInvocationAttemptsSource1$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsSource1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-ci"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-ci"), + }) +); export function listVercelCiInvocationAttemptsSource1FromJSON( jsonString: string, @@ -592,10 +613,12 @@ export const ListVercelCiInvocationAttemptsSource$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListVercelCiInvocationAttemptsSource1$inboundSchema), - z.lazy(() => ListVercelCiInvocationAttemptsSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListVercelCiInvocationAttemptsSource1$inboundSchema), + z.lazy(() => ListVercelCiInvocationAttemptsSource2$inboundSchema), + ]) +); export function listVercelCiInvocationAttemptsSourceFromJSON( jsonString: string, @@ -613,9 +636,11 @@ export const ListVercelCiInvocationAttemptsSkipped$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsSkipped, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) +); export function listVercelCiInvocationAttemptsSkippedFromJSON( jsonString: string, @@ -634,9 +659,11 @@ export const ListVercelCiInvocationAttemptsBootstrappingStarted$inboundSchema: ListVercelCiInvocationAttemptsBootstrappingStarted, z.ZodTypeDef, unknown - > = z.object({ - startedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) + ); export function listVercelCiInvocationAttemptsBootstrappingStartedFromJSON( jsonString: string, @@ -660,9 +687,11 @@ export const ListVercelCiInvocationAttemptsBootstrappingFailed$inboundSchema: ListVercelCiInvocationAttemptsBootstrappingFailed, z.ZodTypeDef, unknown - > = z.object({ - reason: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) + ); export function listVercelCiInvocationAttemptsBootstrappingFailedFromJSON( jsonString: string, @@ -686,11 +715,13 @@ export const ListVercelCiInvocationAttemptsSandboxSnapshotted$inboundSchema: ListVercelCiInvocationAttemptsSandboxSnapshotted, z.ZodTypeDef, unknown - > = z.object({ - sandboxSnapshotId: types.string(), - workingDirectory: types.string(), - snapshottedAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxSnapshotId: types.string(), + workingDirectory: types.string(), + snapshottedAt: types.optional(types.number()), + }) + ); export function listVercelCiInvocationAttemptsSandboxSnapshottedFromJSON( jsonString: string, @@ -711,11 +742,13 @@ export function listVercelCiInvocationAttemptsSandboxSnapshottedFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsSandboxNamed$inboundSchema: z.ZodType = - z.object({ - sandboxName: types.string(), - workingDirectory: types.string(), - readyAt: types.optional(types.number()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxName: types.string(), + workingDirectory: types.string(), + readyAt: types.optional(types.number()), + }) + ); export function listVercelCiInvocationAttemptsSandboxNamedFromJSON( jsonString: string, @@ -735,8 +768,10 @@ export function listVercelCiInvocationAttemptsSandboxNamedFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsVercelCiSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationAttemptsVercelCiSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationAttemptsVercelCiSource) + ); /** @internal */ export const ListVercelCiInvocationAttemptsJobDefinitionsCreated$inboundSchema: @@ -744,13 +779,15 @@ export const ListVercelCiInvocationAttemptsJobDefinitionsCreated$inboundSchema: ListVercelCiInvocationAttemptsJobDefinitionsCreated, z.ZodTypeDef, unknown - > = z.object({ - names: z.array(types.string()), - source: types.optional( - ListVercelCiInvocationAttemptsVercelCiSource$inboundSchema, - ), - scheduledAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.array(types.string()), + source: types.optional( + ListVercelCiInvocationAttemptsVercelCiSource$inboundSchema, + ), + scheduledAt: types.optional(types.number()), + }) + ); export function listVercelCiInvocationAttemptsJobDefinitionsCreatedFromJSON( jsonString: string, @@ -770,20 +807,24 @@ export function listVercelCiInvocationAttemptsJobDefinitionsCreatedFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationAttemptsConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationAttemptsConclusion) + ); /** @internal */ export const ListVercelCiInvocationAttemptsCompleted$inboundSchema: z.ZodType< ListVercelCiInvocationAttemptsCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: types.optional( - ListVercelCiInvocationAttemptsConclusion$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: types.optional( + ListVercelCiInvocationAttemptsConclusion$inboundSchema, + ), + }) +); export function listVercelCiInvocationAttemptsCompletedFromJSON( jsonString: string, @@ -803,9 +844,10 @@ export function listVercelCiInvocationAttemptsCompletedFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsResult$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListVercelCiInvocationAttemptsResult, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationAttemptsResult) + ); /** @internal */ export const ListVercelCiInvocationAttemptsSetupConclusion$inboundSchema: @@ -813,9 +855,11 @@ export const ListVercelCiInvocationAttemptsSetupConclusion$inboundSchema: ListVercelCiInvocationAttemptsSetupConclusion, z.ZodTypeDef, unknown - > = z.object({ - result: ListVercelCiInvocationAttemptsResult$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: ListVercelCiInvocationAttemptsResult$inboundSchema, + }) + ); export function listVercelCiInvocationAttemptsSetupConclusionFromJSON( jsonString: string, @@ -835,8 +879,10 @@ export function listVercelCiInvocationAttemptsSetupConclusionFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsVercelCiResult$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationAttemptsVercelCiResult); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationAttemptsVercelCiResult) + ); /** @internal */ export const ListVercelCiInvocationAttemptsRunConclusion$inboundSchema: @@ -844,9 +890,11 @@ export const ListVercelCiInvocationAttemptsRunConclusion$inboundSchema: ListVercelCiInvocationAttemptsRunConclusion, z.ZodTypeDef, unknown - > = z.object({ - result: ListVercelCiInvocationAttemptsVercelCiResult$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: ListVercelCiInvocationAttemptsVercelCiResult$inboundSchema, + }) + ); export function listVercelCiInvocationAttemptsRunConclusionFromJSON( jsonString: string, @@ -866,64 +914,59 @@ export function listVercelCiInvocationAttemptsRunConclusionFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsStatus$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListVercelCiInvocationAttemptsStatus, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationAttemptsStatus) + ); /** @internal */ export const Attempts$inboundSchema: z.ZodType< Attempts, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), - teamId: types.string(), - source: z.union([ - z.lazy(() => ListVercelCiInvocationAttemptsSource1$inboundSchema), - z.lazy(() => ListVercelCiInvocationAttemptsSource2$inboundSchema), - ]), - createdAt: types.number(), - repositoryKey: types.string(), - ref: types.string(), - commitSha: types.string(), - skipped: types.optional( - z.lazy(() => ListVercelCiInvocationAttemptsSkipped$inboundSchema), - ), - bootstrappingStarted: types.optional( - z.lazy(() => - ListVercelCiInvocationAttemptsBootstrappingStarted$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + teamId: types.string(), + source: z.union([ + z.lazy(() => ListVercelCiInvocationAttemptsSource1$inboundSchema), + z.lazy(() => ListVercelCiInvocationAttemptsSource2$inboundSchema), + ]), + createdAt: types.number(), + repositoryKey: types.string(), + ref: types.string(), + commitSha: types.string(), + skipped: types.optional( + z.lazy(() => ListVercelCiInvocationAttemptsSkipped$inboundSchema), ), - ), - bootstrappingFailed: types.optional( - z.lazy(() => + bootstrappingStarted: types.optional(z.lazy(() => + ListVercelCiInvocationAttemptsBootstrappingStarted$inboundSchema + )), + bootstrappingFailed: types.optional(z.lazy(() => ListVercelCiInvocationAttemptsBootstrappingFailed$inboundSchema - ), - ), - sandboxSnapshotted: types.optional( - z.lazy(() => + )), + sandboxSnapshotted: types.optional(z.lazy(() => ListVercelCiInvocationAttemptsSandboxSnapshotted$inboundSchema - ), - ), - sandboxNamed: types.optional( - z.lazy(() => ListVercelCiInvocationAttemptsSandboxNamed$inboundSchema), - ), - jobDefinitionsCreated: types.optional( - z.lazy(() => + )), + sandboxNamed: types.optional(z.lazy(() => + ListVercelCiInvocationAttemptsSandboxNamed$inboundSchema + )), + jobDefinitionsCreated: types.optional(z.lazy(() => ListVercelCiInvocationAttemptsJobDefinitionsCreated$inboundSchema - ), - ), - completed: types.optional( - z.lazy(() => ListVercelCiInvocationAttemptsCompleted$inboundSchema), - ), - setupConclusion: types.optional( - z.lazy(() => ListVercelCiInvocationAttemptsSetupConclusion$inboundSchema), - ), - runConclusion: types.optional( - z.lazy(() => ListVercelCiInvocationAttemptsRunConclusion$inboundSchema), - ), - status: ListVercelCiInvocationAttemptsStatus$inboundSchema, -}); + )), + completed: types.optional(z.lazy(() => + ListVercelCiInvocationAttemptsCompleted$inboundSchema + )), + setupConclusion: types.optional(z.lazy(() => + ListVercelCiInvocationAttemptsSetupConclusion$inboundSchema + )), + runConclusion: types.optional(z.lazy(() => + ListVercelCiInvocationAttemptsRunConclusion$inboundSchema + )), + status: ListVercelCiInvocationAttemptsStatus$inboundSchema, + }) +); export function attemptsFromJSON( jsonString: string, @@ -938,7 +981,7 @@ export function attemptsFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsRepositories$inboundSchema: z.ZodType = - z.object({}); + /* @__PURE__ */ lazySchema$(() => z.object({})); export function listVercelCiInvocationAttemptsRepositoriesFromJSON( jsonString: string, @@ -959,12 +1002,14 @@ export function listVercelCiInvocationAttemptsRepositoriesFromJSON( /** @internal */ export const ListVercelCiInvocationAttemptsResponseBody$inboundSchema: z.ZodType = - z.object({ - attempts: z.array(z.lazy(() => Attempts$inboundSchema)), - repositories: z.lazy(() => - ListVercelCiInvocationAttemptsRepositories$inboundSchema - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: z.array(z.lazy(() => Attempts$inboundSchema)), + repositories: z.lazy(() => + ListVercelCiInvocationAttemptsRepositories$inboundSchema + ), + }) + ); export function listVercelCiInvocationAttemptsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelciinvocationsop.ts b/src/models/listvercelciinvocationsop.ts index 17a56a21c7..94593e1b2a 100644 --- a/src/models/listvercelciinvocationsop.ts +++ b/src/models/listvercelciinvocationsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -406,23 +406,29 @@ export type ListVercelCiInvocationsResponseBody = { /** @internal */ export const ListVercelCiInvocationsQueryParamProvider$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationsQueryParamProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsQueryParamProvider) + ); /** @internal */ export const ListVercelCiInvocationsQueryParamStatus$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationsQueryParamStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsQueryParamStatus) + ); /** @internal */ export const QueryParamConclusion$outboundSchema: z.ZodNativeEnum< typeof QueryParamConclusion -> = z.nativeEnum(QueryParamConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamConclusion)); /** @internal */ export const ListVercelCiInvocationsQueryParamSource$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(ListVercelCiInvocationsQueryParamSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsQueryParamSource) + ); /** @internal */ export type ListVercelCiInvocationsRequest$Outbound = { @@ -448,25 +454,28 @@ export const ListVercelCiInvocationsRequest$outboundSchema: z.ZodType< ListVercelCiInvocationsRequest$Outbound, z.ZodTypeDef, ListVercelCiInvocationsRequest -> = z.object({ - provider: ListVercelCiInvocationsQueryParamProvider$outboundSchema.optional(), - repository: z.string().optional(), - branchName: z.string().optional(), - snapshot: z.string().optional(), - status: z.array(ListVercelCiInvocationsQueryParamStatus$outboundSchema) - .optional(), - conclusion: z.array(QueryParamConclusion$outboundSchema).optional(), - source: z.array(ListVercelCiInvocationsQueryParamSource$outboundSchema) - .optional(), - authorGitHubId: z.string().optional(), - author: z.string().optional(), - createdAfter: z.number().optional(), - createdBefore: z.number().optional(), - limit: z.number().optional(), - cursor: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: ListVercelCiInvocationsQueryParamProvider$outboundSchema + .optional(), + repository: z.string().optional(), + branchName: z.string().optional(), + snapshot: z.string().optional(), + status: z.array(ListVercelCiInvocationsQueryParamStatus$outboundSchema) + .optional(), + conclusion: z.array(QueryParamConclusion$outboundSchema).optional(), + source: z.array(ListVercelCiInvocationsQueryParamSource$outboundSchema) + .optional(), + authorGitHubId: z.string().optional(), + author: z.string().optional(), + createdAfter: z.number().optional(), + createdBefore: z.number().optional(), + limit: z.number().optional(), + cursor: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiInvocationsRequestToJSON( listVercelCiInvocationsRequest: ListVercelCiInvocationsRequest, @@ -484,10 +493,12 @@ export const ListVercelCiInvocationsVercelCiResponse500Error$inboundSchema: ListVercelCiInvocationsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiInvocationsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -511,21 +522,23 @@ export const ListVercelCiInvocationsVercelCiResponse500ResponseBody$inboundSchem ListVercelCiInvocationsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiInvocationsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiInvocationsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiInvocationsVercelCiResponseError$inboundSchema: @@ -533,12 +546,14 @@ export const ListVercelCiInvocationsVercelCiResponseError$inboundSchema: ListVercelCiInvocationsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function listVercelCiInvocationsVercelCiResponseErrorFromJSON( jsonString: string, @@ -562,31 +577,35 @@ export const ListVercelCiInvocationsVercelCiResponse429ResponseBody$inboundSchem ListVercelCiInvocationsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiInvocationsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiInvocationsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiInvocationsVercelCiError$inboundSchema: z.ZodType< ListVercelCiInvocationsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiInvocationsVercelCiErrorFromJSON( jsonString: string, @@ -605,29 +624,33 @@ export const ListVercelCiInvocationsVercelCiResponseResponseBody$inboundSchema: ListVercelCiInvocationsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiInvocationsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiInvocationsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiInvocationsError$inboundSchema: z.ZodType< ListVercelCiInvocationsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiInvocationsErrorFromJSON( jsonString: string, @@ -645,31 +668,35 @@ export const ListVercelCiInvocationsVercelCiResponseBody$inboundSchema: ListVercelCiInvocationsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiInvocationsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiInvocationsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiInvocationsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiInvocationsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiInvocationsSource2$inboundSchema: z.ZodType< ListVercelCiInvocationsSource2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-native-checks"), - deploymentId: types.string(), - projectId: types.string(), - deploymentTargetSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-native-checks"), + deploymentId: types.string(), + projectId: types.string(), + deploymentTargetSlug: types.string(), + }) +); export function listVercelCiInvocationsSource2FromJSON( jsonString: string, @@ -686,9 +713,11 @@ export const ListVercelCiInvocationsSource1$inboundSchema: z.ZodType< ListVercelCiInvocationsSource1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("vercel-ci"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("vercel-ci"), + }) +); export function listVercelCiInvocationsSource1FromJSON( jsonString: string, @@ -705,10 +734,12 @@ export const ListVercelCiInvocationsSource$inboundSchema: z.ZodType< ListVercelCiInvocationsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListVercelCiInvocationsSource1$inboundSchema), - z.lazy(() => ListVercelCiInvocationsSource2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListVercelCiInvocationsSource1$inboundSchema), + z.lazy(() => ListVercelCiInvocationsSource2$inboundSchema), + ]) +); export function listVercelCiInvocationsSourceFromJSON( jsonString: string, @@ -722,9 +753,11 @@ export function listVercelCiInvocationsSourceFromJSON( /** @internal */ export const Skipped$inboundSchema: z.ZodType = - z.object({ - reason: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) + ); export function skippedFromJSON( jsonString: string, @@ -741,9 +774,11 @@ export const BootstrappingStarted$inboundSchema: z.ZodType< BootstrappingStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function bootstrappingStartedFromJSON( jsonString: string, @@ -760,9 +795,11 @@ export const BootstrappingFailed$inboundSchema: z.ZodType< BootstrappingFailed, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + }) +); export function bootstrappingFailedFromJSON( jsonString: string, @@ -779,11 +816,13 @@ export const SandboxSnapshotted$inboundSchema: z.ZodType< SandboxSnapshotted, z.ZodTypeDef, unknown -> = z.object({ - sandboxSnapshotId: types.string(), - workingDirectory: types.string(), - snapshottedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxSnapshotId: types.string(), + workingDirectory: types.string(), + snapshottedAt: types.optional(types.number()), + }) +); export function sandboxSnapshottedFromJSON( jsonString: string, @@ -800,11 +839,13 @@ export const SandboxNamed$inboundSchema: z.ZodType< SandboxNamed, z.ZodTypeDef, unknown -> = z.object({ - sandboxName: types.string(), - workingDirectory: types.string(), - readyAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxName: types.string(), + workingDirectory: types.string(), + readyAt: types.optional(types.number()), + }) +); export function sandboxNamedFromJSON( jsonString: string, @@ -818,20 +859,23 @@ export function sandboxNamedFromJSON( /** @internal */ export const ListVercelCiInvocationsVercelCiSource$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListVercelCiInvocationsVercelCiSource, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsVercelCiSource) + ); /** @internal */ export const JobDefinitionsCreated$inboundSchema: z.ZodType< JobDefinitionsCreated, z.ZodTypeDef, unknown -> = z.object({ - names: z.array(types.string()), - source: types.optional(ListVercelCiInvocationsVercelCiSource$inboundSchema), - scheduledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.array(types.string()), + source: types.optional(ListVercelCiInvocationsVercelCiSource$inboundSchema), + scheduledAt: types.optional(types.number()), + }) +); export function jobDefinitionsCreatedFromJSON( jsonString: string, @@ -846,17 +890,21 @@ export function jobDefinitionsCreatedFromJSON( /** @internal */ export const ListVercelCiInvocationsConclusion$inboundSchema: z.ZodNativeEnum< typeof ListVercelCiInvocationsConclusion -> = z.nativeEnum(ListVercelCiInvocationsConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsConclusion) +); /** @internal */ export const Completed$inboundSchema: z.ZodType< Completed, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: types.optional(ListVercelCiInvocationsConclusion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: types.optional(ListVercelCiInvocationsConclusion$inboundSchema), + }) +); export function completedFromJSON( jsonString: string, @@ -871,16 +919,20 @@ export function completedFromJSON( /** @internal */ export const ListVercelCiInvocationsResult$inboundSchema: z.ZodNativeEnum< typeof ListVercelCiInvocationsResult -> = z.nativeEnum(ListVercelCiInvocationsResult); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsResult) +); /** @internal */ export const SetupConclusion$inboundSchema: z.ZodType< SetupConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: ListVercelCiInvocationsResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: ListVercelCiInvocationsResult$inboundSchema, + }) +); export function setupConclusionFromJSON( jsonString: string, @@ -894,18 +946,21 @@ export function setupConclusionFromJSON( /** @internal */ export const ListVercelCiInvocationsVercelCiResult$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - ListVercelCiInvocationsVercelCiResult, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsVercelCiResult) + ); /** @internal */ export const RunConclusion$inboundSchema: z.ZodType< RunConclusion, z.ZodTypeDef, unknown -> = z.object({ - result: ListVercelCiInvocationsVercelCiResult$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: ListVercelCiInvocationsVercelCiResult$inboundSchema, + }) +); export function runConclusionFromJSON( jsonString: string, @@ -920,44 +975,50 @@ export function runConclusionFromJSON( /** @internal */ export const ListVercelCiInvocationsStatus$inboundSchema: z.ZodNativeEnum< typeof ListVercelCiInvocationsStatus -> = z.nativeEnum(ListVercelCiInvocationsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiInvocationsStatus) +); /** @internal */ export const Invocations$inboundSchema: z.ZodType< Invocations, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), - teamId: types.string(), - source: z.union([ - z.lazy(() => ListVercelCiInvocationsSource1$inboundSchema), - z.lazy(() => ListVercelCiInvocationsSource2$inboundSchema), - ]), - createdAt: types.number(), - repositoryKey: types.string(), - ref: types.string(), - commitSha: types.string(), - skipped: types.optional(z.lazy(() => Skipped$inboundSchema)), - bootstrappingStarted: types.optional( - z.lazy(() => BootstrappingStarted$inboundSchema), - ), - bootstrappingFailed: types.optional( - z.lazy(() => BootstrappingFailed$inboundSchema), - ), - sandboxSnapshotted: types.optional( - z.lazy(() => SandboxSnapshotted$inboundSchema), - ), - sandboxNamed: types.optional(z.lazy(() => SandboxNamed$inboundSchema)), - jobDefinitionsCreated: types.optional( - z.lazy(() => JobDefinitionsCreated$inboundSchema), - ), - completed: types.optional(z.lazy(() => Completed$inboundSchema)), - setupConclusion: types.optional(z.lazy(() => SetupConclusion$inboundSchema)), - runConclusion: types.optional(z.lazy(() => RunConclusion$inboundSchema)), - status: ListVercelCiInvocationsStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + teamId: types.string(), + source: z.union([ + z.lazy(() => ListVercelCiInvocationsSource1$inboundSchema), + z.lazy(() => ListVercelCiInvocationsSource2$inboundSchema), + ]), + createdAt: types.number(), + repositoryKey: types.string(), + ref: types.string(), + commitSha: types.string(), + skipped: types.optional(z.lazy(() => Skipped$inboundSchema)), + bootstrappingStarted: types.optional( + z.lazy(() => BootstrappingStarted$inboundSchema), + ), + bootstrappingFailed: types.optional( + z.lazy(() => BootstrappingFailed$inboundSchema), + ), + sandboxSnapshotted: types.optional( + z.lazy(() => SandboxSnapshotted$inboundSchema), + ), + sandboxNamed: types.optional(z.lazy(() => SandboxNamed$inboundSchema)), + jobDefinitionsCreated: types.optional( + z.lazy(() => JobDefinitionsCreated$inboundSchema), + ), + completed: types.optional(z.lazy(() => Completed$inboundSchema)), + setupConclusion: types.optional( + z.lazy(() => SetupConclusion$inboundSchema), + ), + runConclusion: types.optional(z.lazy(() => RunConclusion$inboundSchema)), + status: ListVercelCiInvocationsStatus$inboundSchema, + }) +); export function invocationsFromJSON( jsonString: string, @@ -974,7 +1035,7 @@ export const Repositories$inboundSchema: z.ZodType< Repositories, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function repositoriesFromJSON( jsonString: string, @@ -991,9 +1052,11 @@ export const ListVercelCiInvocationsPagination$inboundSchema: z.ZodType< ListVercelCiInvocationsPagination, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.optional(types.string()), + }) +); export function listVercelCiInvocationsPaginationFromJSON( jsonString: string, @@ -1010,11 +1073,13 @@ export const ListVercelCiInvocationsResponseBody$inboundSchema: z.ZodType< ListVercelCiInvocationsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invocations: z.array(z.lazy(() => Invocations$inboundSchema)), - repositories: z.lazy(() => Repositories$inboundSchema), - pagination: z.lazy(() => ListVercelCiInvocationsPagination$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocations: z.array(z.lazy(() => Invocations$inboundSchema)), + repositories: z.lazy(() => Repositories$inboundSchema), + pagination: z.lazy(() => ListVercelCiInvocationsPagination$inboundSchema), + }) +); export function listVercelCiInvocationsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcijobdefinitionsop.ts b/src/models/listvercelcijobdefinitionsop.ts index 00bf7b4f33..f15f69defd 100644 --- a/src/models/listvercelcijobdefinitionsop.ts +++ b/src/models/listvercelcijobdefinitionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -199,12 +199,14 @@ export const ListVercelCiJobDefinitionsRequest$outboundSchema: z.ZodType< ListVercelCiJobDefinitionsRequest$Outbound, z.ZodTypeDef, ListVercelCiJobDefinitionsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiJobDefinitionsRequestToJSON( listVercelCiJobDefinitionsRequest: ListVercelCiJobDefinitionsRequest, @@ -222,10 +224,12 @@ export const ListVercelCiJobDefinitionsVercelCiResponse500Error$inboundSchema: ListVercelCiJobDefinitionsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiJobDefinitionsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -249,21 +253,22 @@ export const ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody$inboundSc ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiJobDefinitionsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiJobDefinitionsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobDefinitionsVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiJobDefinitionsVercelCiResponseError$inboundSchema: @@ -271,12 +276,14 @@ export const ListVercelCiJobDefinitionsVercelCiResponseError$inboundSchema: ListVercelCiJobDefinitionsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function listVercelCiJobDefinitionsVercelCiResponseErrorFromJSON( jsonString: string, @@ -300,31 +307,34 @@ export const ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody$inboundSc ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiJobDefinitionsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiJobDefinitionsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobDefinitionsVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiJobDefinitionsVercelCiError$inboundSchema: z.ZodType< ListVercelCiJobDefinitionsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiJobDefinitionsVercelCiErrorFromJSON( jsonString: string, @@ -348,29 +358,35 @@ export const ListVercelCiJobDefinitionsVercelCiResponseResponseBody$inboundSchem ListVercelCiJobDefinitionsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiJobDefinitionsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobDefinitionsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiJobDefinitionsVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobDefinitionsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiJobDefinitionsError$inboundSchema: z.ZodType< ListVercelCiJobDefinitionsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiJobDefinitionsErrorFromJSON( jsonString: string, @@ -388,39 +404,45 @@ export const ListVercelCiJobDefinitionsVercelCiResponseBody$inboundSchema: ListVercelCiJobDefinitionsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiJobDefinitionsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobDefinitionsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiJobDefinitionsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobDefinitionsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiJobDefinitionsKind$inboundSchema: z.ZodNativeEnum< typeof ListVercelCiJobDefinitionsKind -> = z.nativeEnum(ListVercelCiJobDefinitionsKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ListVercelCiJobDefinitionsKind) +); /** @internal */ export const JobDefinitions$inboundSchema: z.ZodType< JobDefinitions, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - kind: ListVercelCiJobDefinitionsKind$inboundSchema, - name: types.string(), - command: types.string(), - createdAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + kind: ListVercelCiJobDefinitionsKind$inboundSchema, + name: types.string(), + command: types.string(), + createdAt: types.number(), + }) +); export function jobDefinitionsFromJSON( jsonString: string, @@ -437,9 +459,11 @@ export const ListVercelCiJobDefinitionsResponseBody$inboundSchema: z.ZodType< ListVercelCiJobDefinitionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - jobDefinitions: z.array(z.lazy(() => JobDefinitions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobDefinitions: z.array(z.lazy(() => JobDefinitions$inboundSchema)), + }) +); export function listVercelCiJobDefinitionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcijobrunsop.ts b/src/models/listvercelcijobrunsop.ts index 2969e3acc7..391eaa5b59 100644 --- a/src/models/listvercelcijobrunsop.ts +++ b/src/models/listvercelcijobrunsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -221,13 +221,15 @@ export const ListVercelCiJobRunsRequest$outboundSchema: z.ZodType< ListVercelCiJobRunsRequest$Outbound, z.ZodTypeDef, ListVercelCiJobRunsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiJobRunsRequestToJSON( listVercelCiJobRunsRequest: ListVercelCiJobRunsRequest, @@ -243,10 +245,12 @@ export const ListVercelCiJobRunsVercelCiResponse500Error$inboundSchema: ListVercelCiJobRunsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiJobRunsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -270,33 +274,37 @@ export const ListVercelCiJobRunsVercelCiResponse500ResponseBody$inboundSchema: ListVercelCiJobRunsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiJobRunsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobRunsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiJobRunsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobRunsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiJobRunsVercelCiResponseError$inboundSchema: z.ZodType< ListVercelCiJobRunsVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function listVercelCiJobRunsVercelCiResponseErrorFromJSON( jsonString: string, @@ -320,29 +328,35 @@ export const ListVercelCiJobRunsVercelCiResponse429ResponseBody$inboundSchema: ListVercelCiJobRunsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiJobRunsVercelCiResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobRunsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiJobRunsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobRunsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiJobRunsVercelCiError$inboundSchema: z.ZodType< ListVercelCiJobRunsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiJobRunsVercelCiErrorFromJSON( jsonString: string, @@ -360,29 +374,33 @@ export const ListVercelCiJobRunsVercelCiResponseResponseBody$inboundSchema: ListVercelCiJobRunsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiJobRunsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiJobRunsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiJobRunsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobRunsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiJobRunsError$inboundSchema: z.ZodType< ListVercelCiJobRunsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiJobRunsErrorFromJSON( jsonString: string, @@ -399,25 +417,29 @@ export const ListVercelCiJobRunsVercelCiResponseBody$inboundSchema: z.ZodType< ListVercelCiJobRunsVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => ListVercelCiJobRunsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ListVercelCiJobRunsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiJobRunsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiJobRunsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const Started$inboundSchema: z.ZodType = - z.object({ - startedAt: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) + ); export function startedFromJSON( jsonString: string, @@ -434,10 +456,12 @@ export const ListVercelCiJobRunsConclusion3$inboundSchema: z.ZodType< ListVercelCiJobRunsConclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function listVercelCiJobRunsConclusion3FromJSON( jsonString: string, @@ -454,10 +478,12 @@ export const ListVercelCiJobRunsConclusion2$inboundSchema: z.ZodType< ListVercelCiJobRunsConclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function listVercelCiJobRunsConclusion2FromJSON( jsonString: string, @@ -474,9 +500,11 @@ export const ListVercelCiJobRunsConclusion1$inboundSchema: z.ZodType< ListVercelCiJobRunsConclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function listVercelCiJobRunsConclusion1FromJSON( jsonString: string, @@ -493,11 +521,13 @@ export const ListVercelCiJobRunsConclusion$inboundSchema: z.ZodType< ListVercelCiJobRunsConclusion, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListVercelCiJobRunsConclusion1$inboundSchema), - z.lazy(() => ListVercelCiJobRunsConclusion2$inboundSchema), - z.lazy(() => ListVercelCiJobRunsConclusion3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListVercelCiJobRunsConclusion1$inboundSchema), + z.lazy(() => ListVercelCiJobRunsConclusion2$inboundSchema), + z.lazy(() => ListVercelCiJobRunsConclusion3$inboundSchema), + ]) +); export function listVercelCiJobRunsConclusionFromJSON( jsonString: string, @@ -514,14 +544,16 @@ export const ListVercelCiJobRunsCompleted$inboundSchema: z.ZodType< ListVercelCiJobRunsCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: z.union([ - z.lazy(() => ListVercelCiJobRunsConclusion1$inboundSchema), - z.lazy(() => ListVercelCiJobRunsConclusion2$inboundSchema), - z.lazy(() => ListVercelCiJobRunsConclusion3$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: z.union([ + z.lazy(() => ListVercelCiJobRunsConclusion1$inboundSchema), + z.lazy(() => ListVercelCiJobRunsConclusion2$inboundSchema), + z.lazy(() => ListVercelCiJobRunsConclusion3$inboundSchema), + ]), + }) +); export function listVercelCiJobRunsCompletedFromJSON( jsonString: string, @@ -535,17 +567,19 @@ export function listVercelCiJobRunsCompletedFromJSON( /** @internal */ export const JobRuns$inboundSchema: z.ZodType = - z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - attempt: types.number(), - createdAt: types.number(), - started: types.optional(z.lazy(() => Started$inboundSchema)), - completed: types.optional( - z.lazy(() => ListVercelCiJobRunsCompleted$inboundSchema), - ), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + attempt: types.number(), + createdAt: types.number(), + started: types.optional(z.lazy(() => Started$inboundSchema)), + completed: types.optional( + z.lazy(() => ListVercelCiJobRunsCompleted$inboundSchema), + ), + }) + ); export function jobRunsFromJSON( jsonString: string, @@ -562,9 +596,11 @@ export const ListVercelCiJobRunsResponseBody$inboundSchema: z.ZodType< ListVercelCiJobRunsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - jobRuns: z.array(z.lazy(() => JobRuns$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobRuns: z.array(z.lazy(() => JobRuns$inboundSchema)), + }) +); export function listVercelCiJobRunsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcitaskanalysistasksop.ts b/src/models/listvercelcitaskanalysistasksop.ts index ce17419592..ff4aa565e3 100644 --- a/src/models/listvercelcitaskanalysistasksop.ts +++ b/src/models/listvercelcitaskanalysistasksop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -193,13 +193,15 @@ export const ListVercelCiTaskAnalysisTasksRequest$outboundSchema: z.ZodType< ListVercelCiTaskAnalysisTasksRequest$Outbound, z.ZodTypeDef, ListVercelCiTaskAnalysisTasksRequest -> = z.object({ - analysisId: z.string(), - cursor: z.string().optional(), - limit: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + analysisId: z.string(), + cursor: z.string().optional(), + limit: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiTaskAnalysisTasksRequestToJSON( listVercelCiTaskAnalysisTasksRequest: ListVercelCiTaskAnalysisTasksRequest, @@ -217,10 +219,12 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponse500Error$inboundSchema ListVercelCiTaskAnalysisTasksVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiTaskAnalysisTasksVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -244,20 +248,22 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody$inboun ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskAnalysisTasksVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskAnalysisTasksVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskAnalysisTasksVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiTaskAnalysisTasksVercelCiResponseError$inboundSchema: @@ -265,12 +271,14 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponseError$inboundSchema: ListVercelCiTaskAnalysisTasksVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function listVercelCiTaskAnalysisTasksVercelCiResponseErrorFromJSON( jsonString: string, @@ -294,28 +302,32 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody$inboun ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskAnalysisTasksVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskAnalysisTasksVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskAnalysisTasksVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiTaskAnalysisTasksVercelCiError$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - message: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiTaskAnalysisTasksVercelCiErrorFromJSON( jsonString: string, @@ -339,31 +351,34 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody$inboundSc ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskAnalysisTasksVercelCiError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskAnalysisTasksVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskAnalysisTasksVercelCiResponseResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiTaskAnalysisTasksError$inboundSchema: z.ZodType< ListVercelCiTaskAnalysisTasksError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiTaskAnalysisTasksErrorFromJSON( jsonString: string, @@ -382,30 +397,34 @@ export const ListVercelCiTaskAnalysisTasksVercelCiResponseBody$inboundSchema: ListVercelCiTaskAnalysisTasksVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiTaskAnalysisTasksError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskAnalysisTasksVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiTaskAnalysisTasksError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskAnalysisTasksVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiTaskAnalysisTasksTasks$inboundSchema: z.ZodType< ListVercelCiTaskAnalysisTasksTasks, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - configPath: types.string(), - recommendationReasons: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + configPath: types.string(), + recommendationReasons: z.array(types.string()), + }) +); export function listVercelCiTaskAnalysisTasksTasksFromJSON( jsonString: string, @@ -423,9 +442,11 @@ export const ListVercelCiTaskAnalysisTasksPagination$inboundSchema: z.ZodType< ListVercelCiTaskAnalysisTasksPagination, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.optional(types.string()), + }) +); export function listVercelCiTaskAnalysisTasksPaginationFromJSON( jsonString: string, @@ -448,14 +469,16 @@ export const ListVercelCiTaskAnalysisTasksResponseBody$inboundSchema: z.ZodType< ListVercelCiTaskAnalysisTasksResponseBody, z.ZodTypeDef, unknown -> = z.object({ - tasks: z.array( - z.lazy(() => ListVercelCiTaskAnalysisTasksTasks$inboundSchema), - ), - pagination: z.lazy(() => - ListVercelCiTaskAnalysisTasksPagination$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tasks: z.array( + z.lazy(() => ListVercelCiTaskAnalysisTasksTasks$inboundSchema), + ), + pagination: z.lazy(() => + ListVercelCiTaskAnalysisTasksPagination$inboundSchema + ), + }) +); export function listVercelCiTaskAnalysisTasksResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcitaskdefinitionsop.ts b/src/models/listvercelcitaskdefinitionsop.ts index 609f5e7d82..432a185936 100644 --- a/src/models/listvercelcitaskdefinitionsop.ts +++ b/src/models/listvercelcitaskdefinitionsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -217,14 +217,16 @@ export const ListVercelCiTaskDefinitionsRequest$outboundSchema: z.ZodType< ListVercelCiTaskDefinitionsRequest$Outbound, z.ZodTypeDef, ListVercelCiTaskDefinitionsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - runAttempt: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + runAttempt: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiTaskDefinitionsRequestToJSON( listVercelCiTaskDefinitionsRequest: ListVercelCiTaskDefinitionsRequest, @@ -242,10 +244,12 @@ export const ListVercelCiTaskDefinitionsVercelCiResponse500Error$inboundSchema: ListVercelCiTaskDefinitionsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiTaskDefinitionsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -269,21 +273,22 @@ export const ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody$inboundS ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskDefinitionsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskDefinitionsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskDefinitionsVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiTaskDefinitionsVercelCiResponseError$inboundSchema: @@ -291,12 +296,14 @@ export const ListVercelCiTaskDefinitionsVercelCiResponseError$inboundSchema: ListVercelCiTaskDefinitionsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function listVercelCiTaskDefinitionsVercelCiResponseErrorFromJSON( jsonString: string, @@ -320,31 +327,34 @@ export const ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody$inboundS ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskDefinitionsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskDefinitionsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskDefinitionsVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const ListVercelCiTaskDefinitionsVercelCiError$inboundSchema: z.ZodType< ListVercelCiTaskDefinitionsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiTaskDefinitionsVercelCiErrorFromJSON( jsonString: string, @@ -368,29 +378,35 @@ export const ListVercelCiTaskDefinitionsVercelCiResponseResponseBody$inboundSche ListVercelCiTaskDefinitionsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiTaskDefinitionsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskDefinitionsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskDefinitionsVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskDefinitionsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiTaskDefinitionsError$inboundSchema: z.ZodType< ListVercelCiTaskDefinitionsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiTaskDefinitionsErrorFromJSON( jsonString: string, @@ -408,35 +424,39 @@ export const ListVercelCiTaskDefinitionsVercelCiResponseBody$inboundSchema: ListVercelCiTaskDefinitionsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiTaskDefinitionsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskDefinitionsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiTaskDefinitionsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskDefinitionsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const OperationTarget$inboundSchema: z.ZodNativeEnum< typeof OperationTarget -> = z.nativeEnum(OperationTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OperationTarget)); /** @internal */ export const Operation2$inboundSchema: z.ZodType< Operation2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), - projectId: types.string(), - target: OperationTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + projectId: types.string(), + target: OperationTarget$inboundSchema, + }) +); export function operation2FromJSON( jsonString: string, @@ -453,10 +473,12 @@ export const Operation1$inboundSchema: z.ZodType< Operation1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("command"), - command: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("command"), + command: types.string(), + }) +); export function operation1FromJSON( jsonString: string, @@ -473,10 +495,12 @@ export const ListVercelCiTaskDefinitionsOperation$inboundSchema: z.ZodType< ListVercelCiTaskDefinitionsOperation, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Operation1$inboundSchema), - z.lazy(() => Operation2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Operation1$inboundSchema), + z.lazy(() => Operation2$inboundSchema), + ]) +); export function listVercelCiTaskDefinitionsOperationFromJSON( jsonString: string, @@ -494,21 +518,23 @@ export const TaskDefinitions$inboundSchema: z.ZodType< TaskDefinitions, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - name: types.string(), - packageDirectory: types.optional(types.string()), - operation: z.union([ - z.lazy(() => Operation1$inboundSchema), - z.lazy(() => Operation2$inboundSchema), - ]), - dependencyTaskDefinitionIds: z.array(types.string()), - createdAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + name: types.string(), + packageDirectory: types.optional(types.string()), + operation: z.union([ + z.lazy(() => Operation1$inboundSchema), + z.lazy(() => Operation2$inboundSchema), + ]), + dependencyTaskDefinitionIds: z.array(types.string()), + createdAt: types.number(), + }) +); export function taskDefinitionsFromJSON( jsonString: string, @@ -525,9 +551,11 @@ export const ListVercelCiTaskDefinitionsResponseBody$inboundSchema: z.ZodType< ListVercelCiTaskDefinitionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - taskDefinitions: z.array(z.lazy(() => TaskDefinitions$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + taskDefinitions: z.array(z.lazy(() => TaskDefinitions$inboundSchema)), + }) +); export function listVercelCiTaskDefinitionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/listvercelcitaskrunsop.ts b/src/models/listvercelcitaskrunsop.ts index 94e27bb5d7..32e46fc834 100644 --- a/src/models/listvercelcitaskrunsop.ts +++ b/src/models/listvercelcitaskrunsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -241,15 +241,17 @@ export const ListVercelCiTaskRunsRequest$outboundSchema: z.ZodType< ListVercelCiTaskRunsRequest$Outbound, z.ZodTypeDef, ListVercelCiTaskRunsRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - jobDefinitionId: z.string(), - runAttempt: z.string(), - taskRunAttempt: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + jobDefinitionId: z.string(), + runAttempt: z.string(), + taskRunAttempt: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function listVercelCiTaskRunsRequestToJSON( listVercelCiTaskRunsRequest: ListVercelCiTaskRunsRequest, @@ -267,10 +269,12 @@ export const ListVercelCiTaskRunsVercelCiResponse500Error$inboundSchema: ListVercelCiTaskRunsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function listVercelCiTaskRunsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -294,33 +298,37 @@ export const ListVercelCiTaskRunsVercelCiResponse500ResponseBody$inboundSchema: ListVercelCiTaskRunsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskRunsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskRunsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskRunsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskRunsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiTaskRunsVercelCiResponseError$inboundSchema: z.ZodType< ListVercelCiTaskRunsVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function listVercelCiTaskRunsVercelCiResponseErrorFromJSON( jsonString: string, @@ -344,31 +352,35 @@ export const ListVercelCiTaskRunsVercelCiResponse429ResponseBody$inboundSchema: ListVercelCiTaskRunsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - ListVercelCiTaskRunsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskRunsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + ListVercelCiTaskRunsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskRunsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiTaskRunsVercelCiError$inboundSchema: z.ZodType< ListVercelCiTaskRunsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiTaskRunsVercelCiErrorFromJSON( jsonString: string, @@ -386,29 +398,33 @@ export const ListVercelCiTaskRunsVercelCiResponseResponseBody$inboundSchema: ListVercelCiTaskRunsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => ListVercelCiTaskRunsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new ListVercelCiTaskRunsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiTaskRunsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskRunsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const ListVercelCiTaskRunsError$inboundSchema: z.ZodType< ListVercelCiTaskRunsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function listVercelCiTaskRunsErrorFromJSON( jsonString: string, @@ -425,28 +441,32 @@ export const ListVercelCiTaskRunsVercelCiResponseBody$inboundSchema: z.ZodType< ListVercelCiTaskRunsVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => ListVercelCiTaskRunsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new ListVercelCiTaskRunsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => ListVercelCiTaskRunsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new ListVercelCiTaskRunsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const ListVercelCiTaskRunsStarted$inboundSchema: z.ZodType< ListVercelCiTaskRunsStarted, z.ZodTypeDef, unknown -> = z.object({ - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + startedAt: types.number(), + }) +); export function listVercelCiTaskRunsStartedFromJSON( jsonString: string, @@ -463,10 +483,12 @@ export const ListVercelCiTaskRunsConclusion4$inboundSchema: z.ZodType< ListVercelCiTaskRunsConclusion4, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function listVercelCiTaskRunsConclusion4FromJSON( jsonString: string, @@ -483,10 +505,12 @@ export const ListVercelCiTaskRunsConclusion3$inboundSchema: z.ZodType< ListVercelCiTaskRunsConclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function listVercelCiTaskRunsConclusion3FromJSON( jsonString: string, @@ -503,9 +527,11 @@ export const ListVercelCiTaskRunsConclusion2$inboundSchema: z.ZodType< ListVercelCiTaskRunsConclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("cached"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("cached"), + }) +); export function listVercelCiTaskRunsConclusion2FromJSON( jsonString: string, @@ -522,9 +548,11 @@ export const ListVercelCiTaskRunsConclusion1$inboundSchema: z.ZodType< ListVercelCiTaskRunsConclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function listVercelCiTaskRunsConclusion1FromJSON( jsonString: string, @@ -541,12 +569,14 @@ export const ListVercelCiTaskRunsConclusion$inboundSchema: z.ZodType< ListVercelCiTaskRunsConclusion, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => ListVercelCiTaskRunsConclusion1$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion2$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion3$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => ListVercelCiTaskRunsConclusion1$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion2$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion3$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion4$inboundSchema), + ]) +); export function listVercelCiTaskRunsConclusionFromJSON( jsonString: string, @@ -563,15 +593,17 @@ export const ListVercelCiTaskRunsCompleted$inboundSchema: z.ZodType< ListVercelCiTaskRunsCompleted, z.ZodTypeDef, unknown -> = z.object({ - completedAt: types.number(), - conclusion: z.union([ - z.lazy(() => ListVercelCiTaskRunsConclusion1$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion2$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion3$inboundSchema), - z.lazy(() => ListVercelCiTaskRunsConclusion4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + completedAt: types.number(), + conclusion: z.union([ + z.lazy(() => ListVercelCiTaskRunsConclusion1$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion2$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion3$inboundSchema), + z.lazy(() => ListVercelCiTaskRunsConclusion4$inboundSchema), + ]), + }) +); export function listVercelCiTaskRunsCompletedFromJSON( jsonString: string, @@ -588,12 +620,14 @@ export const DeploymentBinding$inboundSchema: z.ZodType< DeploymentBinding, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.string(), - deploymentCreatedAt: types.number(), - eventAt: types.number(), - readyState: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.string(), + deploymentCreatedAt: types.number(), + eventAt: types.number(), + readyState: types.optional(types.string()), + }) +); export function deploymentBindingFromJSON( jsonString: string, @@ -610,24 +644,26 @@ export const TaskRuns$inboundSchema: z.ZodType< TaskRuns, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - invocationAttempt: types.number(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - attempt: types.number(), - createdAt: types.number(), - started: types.optional( - z.lazy(() => ListVercelCiTaskRunsStarted$inboundSchema), - ), - completed: types.optional( - z.lazy(() => ListVercelCiTaskRunsCompleted$inboundSchema), - ), - deploymentBinding: types.optional( - z.lazy(() => DeploymentBinding$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + invocationAttempt: types.number(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + attempt: types.number(), + createdAt: types.number(), + started: types.optional( + z.lazy(() => ListVercelCiTaskRunsStarted$inboundSchema), + ), + completed: types.optional( + z.lazy(() => ListVercelCiTaskRunsCompleted$inboundSchema), + ), + deploymentBinding: types.optional( + z.lazy(() => DeploymentBinding$inboundSchema), + ), + }) +); export function taskRunsFromJSON( jsonString: string, @@ -644,9 +680,11 @@ export const ListVercelCiTaskRunsResponseBody$inboundSchema: z.ZodType< ListVercelCiTaskRunsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - taskRuns: z.array(z.lazy(() => TaskRuns$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + taskRuns: z.array(z.lazy(() => TaskRuns$inboundSchema)), + }) +); export function listVercelCiTaskRunsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/lookupflaglabelsop.ts b/src/models/lookupflaglabelsop.ts index 98256a98d8..0c4a9615ae 100644 --- a/src/models/lookupflaglabelsop.ts +++ b/src/models/lookupflaglabelsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -62,11 +62,13 @@ export const LookupFlagLabelsItems$outboundSchema: z.ZodType< LookupFlagLabelsItems$Outbound, z.ZodTypeDef, LookupFlagLabelsItems -> = z.object({ - value: z.string(), - entityKind: z.string(), - attributeKey: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.string(), + entityKind: z.string(), + attributeKey: z.string(), + }) +); export function lookupFlagLabelsItemsToJSON( lookupFlagLabelsItems: LookupFlagLabelsItems, @@ -86,9 +88,11 @@ export const LookupFlagLabelsRequestBody$outboundSchema: z.ZodType< LookupFlagLabelsRequestBody$Outbound, z.ZodTypeDef, LookupFlagLabelsRequestBody -> = z.object({ - items: z.array(z.lazy(() => LookupFlagLabelsItems$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(z.lazy(() => LookupFlagLabelsItems$outboundSchema)), + }) +); export function lookupFlagLabelsRequestBodyToJSON( lookupFlagLabelsRequestBody: LookupFlagLabelsRequestBody, @@ -113,17 +117,19 @@ export const LookupFlagLabelsRequest$outboundSchema: z.ZodType< LookupFlagLabelsRequest$Outbound, z.ZodTypeDef, LookupFlagLabelsRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => LookupFlagLabelsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => LookupFlagLabelsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function lookupFlagLabelsRequestToJSON( lookupFlagLabelsRequest: LookupFlagLabelsRequest, @@ -138,12 +144,14 @@ export const LookupFlagLabelsData$inboundSchema: z.ZodType< LookupFlagLabelsData, z.ZodTypeDef, unknown -> = z.object({ - attributeKey: types.string(), - entityKind: types.string(), - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributeKey: types.string(), + entityKind: types.string(), + label: types.string(), + value: types.string(), + }) +); export function lookupFlagLabelsDataFromJSON( jsonString: string, @@ -160,11 +168,13 @@ export const LookupFlagLabelsMissing$inboundSchema: z.ZodType< LookupFlagLabelsMissing, z.ZodTypeDef, unknown -> = z.object({ - attributeKey: types.string(), - entityKind: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributeKey: types.string(), + entityKind: types.string(), + value: types.string(), + }) +); export function lookupFlagLabelsMissingFromJSON( jsonString: string, @@ -181,10 +191,12 @@ export const LookupFlagLabelsResponseBody$inboundSchema: z.ZodType< LookupFlagLabelsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - data: z.array(z.lazy(() => LookupFlagLabelsData$inboundSchema)), - missing: z.array(z.lazy(() => LookupFlagLabelsMissing$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.array(z.lazy(() => LookupFlagLabelsData$inboundSchema)), + missing: z.array(z.lazy(() => LookupFlagLabelsMissing$inboundSchema)), + }) +); export function lookupFlagLabelsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/marketplaceflag.ts b/src/models/marketplaceflag.ts index 5b385f1483..9bfdf91e63 100644 --- a/src/models/marketplaceflag.ts +++ b/src/models/marketplaceflag.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -40,36 +40,38 @@ export type MarketplaceFlag = { }; /** @internal */ -export const Category$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Category); +export const Category$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Category)); /** @internal */ export const MarketplaceFlagState$inboundSchema: z.ZodNativeEnum< typeof MarketplaceFlagState -> = z.nativeEnum(MarketplaceFlagState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MarketplaceFlagState)); /** @internal */ export const MarketplaceFlag$inboundSchema: z.ZodType< MarketplaceFlag, z.ZodTypeDef, unknown -> = z.object({ - category: types.optional(Category$inboundSchema), - createdAt: types.optional(types.number()), - description: types.optional(types.string()), - externalId: types.string(), - id: types.string(), - integrationConfigurationId: types.string(), - name: types.optional(types.string()), - origin: types.string(), - ownerId: types.string(), - projectId: types.string(), - resourceId: types.string(), - slug: types.string(), - state: MarketplaceFlagState$inboundSchema, - typeName: types.literal("marketplaceFlag"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + category: types.optional(Category$inboundSchema), + createdAt: types.optional(types.number()), + description: types.optional(types.string()), + externalId: types.string(), + id: types.string(), + integrationConfigurationId: types.string(), + name: types.optional(types.string()), + origin: types.string(), + ownerId: types.string(), + projectId: types.string(), + resourceId: types.string(), + slug: types.string(), + state: MarketplaceFlagState$inboundSchema, + typeName: types.literal("marketplaceFlag"), + updatedAt: types.optional(types.number()), + }) +); export function marketplaceFlagFromJSON( jsonString: string, diff --git a/src/models/moveprojectdomainop.ts b/src/models/moveprojectdomainop.ts index f74aad00d6..db931ae0ab 100644 --- a/src/models/moveprojectdomainop.ts +++ b/src/models/moveprojectdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -100,9 +100,10 @@ export type MoveProjectDomainResponseBody = { /** @internal */ export const MoveProjectDomainRedirectStatusCode$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - MoveProjectDomainRedirectStatusCode, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(MoveProjectDomainRedirectStatusCode) + ); /** @internal */ export type MoveProjectDomainRequestBody$Outbound = { @@ -117,14 +118,16 @@ export const MoveProjectDomainRequestBody$outboundSchema: z.ZodType< MoveProjectDomainRequestBody$Outbound, z.ZodTypeDef, MoveProjectDomainRequestBody -> = z.object({ - projectId: z.string(), - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable( - MoveProjectDomainRedirectStatusCode$outboundSchema, - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable( + MoveProjectDomainRedirectStatusCode$outboundSchema, + ).optional(), + }) +); export function moveProjectDomainRequestBodyToJSON( moveProjectDomainRequestBody: MoveProjectDomainRequestBody, @@ -150,18 +153,20 @@ export const MoveProjectDomainRequest$outboundSchema: z.ZodType< MoveProjectDomainRequest$Outbound, z.ZodTypeDef, MoveProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => MoveProjectDomainRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => MoveProjectDomainRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function moveProjectDomainRequestToJSON( moveProjectDomainRequest: MoveProjectDomainRequest, @@ -176,12 +181,14 @@ export const MoveProjectDomainVerification$inboundSchema: z.ZodType< MoveProjectDomainVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function moveProjectDomainVerificationFromJSON( jsonString: string, @@ -198,21 +205,23 @@ export const MoveProjectDomainResponseBody$inboundSchema: z.ZodType< MoveProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => MoveProjectDomainVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => MoveProjectDomainVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function moveProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/namedsandbox.ts b/src/models/namedsandbox.ts index fc33946d59..c8696a29f5 100644 --- a/src/models/namedsandbox.ts +++ b/src/models/namedsandbox.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -159,6 +159,10 @@ export type NamedSandbox = { * The time at which the currently running sandbox will time out, in milliseconds since the epoch. Only present while a session is running. */ expiresAt?: number | undefined; + /** + * How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. + */ + expiryNotificationLeadTime: number; /** * The regions the sandbox fails over to. Empty when it does not fail over. */ @@ -255,23 +259,25 @@ export type NamedSandbox = { /** @internal */ export const Architecture$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(Architecture); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Architecture)); /** @internal */ export const FailoverRegions$inboundSchema: z.ZodNativeEnum< typeof FailoverRegions -> = z.nativeEnum(FailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FailoverRegions)); /** @internal */ export const KeepLastSnapshots$inboundSchema: z.ZodType< KeepLastSnapshots, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - deleteEvicted: types.boolean(), - expiration: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + deleteEvicted: types.boolean(), + expiration: types.optional(types.number()), + }) +); export function keepLastSnapshotsFromJSON( jsonString: string, @@ -286,15 +292,17 @@ export function keepLastSnapshotsFromJSON( /** @internal */ export const NamedSandboxMountsMode$inboundSchema: z.ZodNativeEnum< typeof NamedSandboxMountsMode -> = z.nativeEnum(NamedSandboxMountsMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NamedSandboxMountsMode)); /** @internal */ -export const Mounts$inboundSchema: z.ZodType = z - .object({ - drive: types.string(), - mode: types.optional(NamedSandboxMountsMode$inboundSchema), - snapshot: types.optional(types.string()), - }); +export const Mounts$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + drive: types.string(), + mode: types.optional(NamedSandboxMountsMode$inboundSchema), + snapshot: types.optional(types.string()), + }) + ); export function mountsFromJSON( jsonString: string, @@ -309,20 +317,22 @@ export function mountsFromJSON( /** @internal */ export const NamedSandboxMode$inboundSchema: z.ZodNativeEnum< typeof NamedSandboxMode -> = z.nativeEnum(NamedSandboxMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NamedSandboxMode)); /** @internal */ export const NetworkPolicy$inboundSchema: z.ZodType< NetworkPolicy, z.ZodTypeDef, unknown -> = z.object({ - allowedCIDRs: types.optional(z.array(types.string())), - allowedDomains: types.optional(z.array(types.string())), - deniedCIDRs: types.optional(z.array(types.string())), - mode: NamedSandboxMode$inboundSchema, - s3Key: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowedCIDRs: types.optional(z.array(types.string())), + allowedDomains: types.optional(z.array(types.string())), + deniedCIDRs: types.optional(z.array(types.string())), + mode: NamedSandboxMode$inboundSchema, + s3Key: types.optional(types.string()), + }) +); export function networkPolicyFromJSON( jsonString: string, @@ -337,51 +347,54 @@ export function networkPolicyFromJSON( /** @internal */ export const NamedSandboxStatus$inboundSchema: z.ZodNativeEnum< typeof NamedSandboxStatus -> = z.nativeEnum(NamedSandboxStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NamedSandboxStatus)); /** @internal */ export const NamedSandboxWorkloadType$inboundSchema: z.ZodNativeEnum< typeof NamedSandboxWorkloadType -> = z.nativeEnum(NamedSandboxWorkloadType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NamedSandboxWorkloadType)); /** @internal */ export const NamedSandbox$inboundSchema: z.ZodType< NamedSandbox, z.ZodTypeDef, unknown -> = z.object({ - architecture: types.optional(Architecture$inboundSchema), - createdAt: types.number(), - currentSessionId: types.string(), - currentSnapshotId: types.optional(types.string()), - cwd: types.optional(types.string()), - expiresAt: types.optional(types.number()), - failoverRegions: types.optional(z.array(FailoverRegions$inboundSchema)), - image: types.optional(types.string()), - keepLastSnapshots: types.optional( - z.lazy(() => KeepLastSnapshots$inboundSchema), - ), - memory: types.optional(types.number()), - mounts: types.optional(z.record(z.lazy(() => Mounts$inboundSchema))), - name: types.string(), - networkId: types.optional(types.string()), - networkPolicy: types.optional(z.lazy(() => NetworkPolicy$inboundSchema)), - persistent: types.boolean(), - region: types.optional(types.string()), - runtime: types.optional(types.string()), - snapshotExpiration: types.optional(types.number()), - status: NamedSandboxStatus$inboundSchema, - statusUpdatedAt: types.number(), - tags: types.optional(z.record(types.string())), - timeout: types.optional(types.number()), - totalActiveCpuDurationMs: types.optional(types.number()), - totalDurationMs: types.optional(types.number()), - totalEgressBytes: types.optional(types.number()), - totalIngressBytes: types.optional(types.number()), - updatedAt: types.number(), - vcpus: types.optional(types.number()), - workloadType: types.optional(NamedSandboxWorkloadType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + architecture: types.optional(Architecture$inboundSchema), + createdAt: types.number(), + currentSessionId: types.string(), + currentSnapshotId: types.optional(types.string()), + cwd: types.optional(types.string()), + expiresAt: types.optional(types.number()), + expiryNotificationLeadTime: types.number(), + failoverRegions: types.optional(z.array(FailoverRegions$inboundSchema)), + image: types.optional(types.string()), + keepLastSnapshots: types.optional( + z.lazy(() => KeepLastSnapshots$inboundSchema), + ), + memory: types.optional(types.number()), + mounts: types.optional(z.record(z.lazy(() => Mounts$inboundSchema))), + name: types.string(), + networkId: types.optional(types.string()), + networkPolicy: types.optional(z.lazy(() => NetworkPolicy$inboundSchema)), + persistent: types.boolean(), + region: types.optional(types.string()), + runtime: types.optional(types.string()), + snapshotExpiration: types.optional(types.number()), + status: NamedSandboxStatus$inboundSchema, + statusUpdatedAt: types.number(), + tags: types.optional(z.record(types.string())), + timeout: types.optional(types.number()), + totalActiveCpuDurationMs: types.optional(types.number()), + totalDurationMs: types.optional(types.number()), + totalEgressBytes: types.optional(types.number()), + totalIngressBytes: types.optional(types.number()), + updatedAt: types.number(), + vcpus: types.optional(types.number()), + workloadType: types.optional(NamedSandboxWorkloadType$inboundSchema), + }) +); export function namedSandboxFromJSON( jsonString: string, diff --git a/src/models/network.ts b/src/models/network.ts index c38db3b20e..a4db531722 100644 --- a/src/models/network.ts +++ b/src/models/network.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -138,9 +138,11 @@ export const ConnectionTesting$inboundSchema: z.ZodType< ConnectionTesting, z.ZodTypeDef, unknown -> = z.object({ - available: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + available: types.boolean(), + }) +); export function connectionTestingFromJSON( jsonString: string, @@ -157,9 +159,11 @@ export const HostedZones$inboundSchema: z.ZodType< HostedZones, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + }) +); export function hostedZonesFromJSON( jsonString: string, @@ -176,9 +180,11 @@ export const PeeringConnections$inboundSchema: z.ZodType< PeeringConnections, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + }) +); export function peeringConnectionsFromJSON( jsonString: string, @@ -195,9 +201,11 @@ export const PrivateLinks$inboundSchema: z.ZodType< PrivateLinks, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + }) +); export function privateLinksFromJSON( jsonString: string, @@ -214,10 +222,12 @@ export const Projects$inboundSchema: z.ZodType< Projects, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - ids: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + ids: z.array(types.string()), + }) +); export function projectsFromJSON( jsonString: string, @@ -230,34 +240,36 @@ export function projectsFromJSON( } /** @internal */ -export const Status$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Status); +export const Status$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Status)); /** @internal */ export const Network$inboundSchema: z.ZodType = - z.object({ - awsAccountId: types.string(), - awsAvailabilityZoneIds: types.optional(z.array(types.string())), - awsRegion: types.string(), - cidr: types.string(), - connectionTesting: types.optional( - z.lazy(() => ConnectionTesting$inboundSchema), - ), - createdAt: types.number(), - egressIpAddresses: types.optional(z.array(types.string())), - hostedZones: types.optional(z.lazy(() => HostedZones$inboundSchema)), - id: types.string(), - name: types.string(), - peeringConnections: types.optional( - z.lazy(() => PeeringConnections$inboundSchema), - ), - privateLinks: types.optional(z.lazy(() => PrivateLinks$inboundSchema)), - projects: types.optional(z.lazy(() => Projects$inboundSchema)), - region: types.optional(types.string()), - status: Status$inboundSchema, - teamId: types.string(), - vpcId: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + awsAccountId: types.string(), + awsAvailabilityZoneIds: types.optional(z.array(types.string())), + awsRegion: types.string(), + cidr: types.string(), + connectionTesting: types.optional( + z.lazy(() => ConnectionTesting$inboundSchema), + ), + createdAt: types.number(), + egressIpAddresses: types.optional(z.array(types.string())), + hostedZones: types.optional(z.lazy(() => HostedZones$inboundSchema)), + id: types.string(), + name: types.string(), + peeringConnections: types.optional( + z.lazy(() => PeeringConnections$inboundSchema), + ), + privateLinks: types.optional(z.lazy(() => PrivateLinks$inboundSchema)), + projects: types.optional(z.lazy(() => Projects$inboundSchema)), + region: types.optional(types.string()), + status: Status$inboundSchema, + teamId: types.string(), + vpcId: types.optional(types.string()), + }) + ); export function networkFromJSON( jsonString: string, diff --git a/src/models/notauthorizedforscope.ts b/src/models/notauthorizedforscope.ts index 72f93def11..03a1767e78 100644 --- a/src/models/notauthorizedforscope.ts +++ b/src/models/notauthorizedforscope.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -44,25 +45,27 @@ export class NotAuthorizedForScope extends VercelError { /** @internal */ export const NotAuthorizedForScopeCode$inboundSchema: z.ZodNativeEnum< typeof NotAuthorizedForScopeCode -> = z.nativeEnum(NotAuthorizedForScopeCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NotAuthorizedForScopeCode)); /** @internal */ export const NotAuthorizedForScope$inboundSchema: z.ZodType< NotAuthorizedForScope, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: NotAuthorizedForScopeCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new NotAuthorizedForScope(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: NotAuthorizedForScopeCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new NotAuthorizedForScope(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/notfound.ts b/src/models/notfound.ts index 95d2d3db69..3810348664 100644 --- a/src/models/notfound.ts +++ b/src/models/notfound.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -41,25 +42,27 @@ export class NotFound extends VercelError { /** @internal */ export const NotFoundCode$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(NotFoundCode); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NotFoundCode)); /** @internal */ export const NotFound$inboundSchema: z.ZodType< NotFound, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: NotFoundCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new NotFound(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: NotFoundCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new NotFound(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/ordertooexpensive.ts b/src/models/ordertooexpensive.ts index 3a4ea1d490..54b44709da 100644 --- a/src/models/ordertooexpensive.ts +++ b/src/models/ordertooexpensive.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class OrderTooExpensive extends VercelError { /** @internal */ export const OrderTooExpensiveCode$inboundSchema: z.ZodNativeEnum< typeof OrderTooExpensiveCode -> = z.nativeEnum(OrderTooExpensiveCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OrderTooExpensiveCode)); /** @internal */ export const OrderTooExpensive$inboundSchema: z.ZodType< OrderTooExpensive, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: OrderTooExpensiveCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new OrderTooExpensive(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: OrderTooExpensiveCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new OrderTooExpensive(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/organization.ts b/src/models/organization.ts index 0cfa94a311..bc90a6c4ff 100644 --- a/src/models/organization.ts +++ b/src/models/organization.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,17 +31,19 @@ export const Organization$inboundSchema: z.ZodType< Organization, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - createdAt: types.string(), - name: types.optional(types.string()), - organizationId: types.string(), - slug: types.string(), - teamCount: types.number(), - teamId: types.string(), - updatedAt: types.string(), - userRole: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + createdAt: types.string(), + name: types.optional(types.string()), + organizationId: types.string(), + slug: types.string(), + teamCount: types.number(), + teamId: types.string(), + updatedAt: types.string(), + userRole: types.optional(types.string()), + }) +); export function organizationFromJSON( jsonString: string, diff --git a/src/models/organizationdirectorysyncgroup.ts b/src/models/organizationdirectorysyncgroup.ts index df9a5d5ab8..c8364a104f 100644 --- a/src/models/organizationdirectorysyncgroup.ts +++ b/src/models/organizationdirectorysyncgroup.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -103,25 +103,31 @@ export type OrganizationDirectorySyncGroup = { /** @internal */ export const OrganizationPermissions$inboundSchema: z.ZodNativeEnum< typeof OrganizationPermissions -> = z.nativeEnum(OrganizationPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OrganizationPermissions)); /** @internal */ export const OrganizationDirectorySyncGroupTeamRoles$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(OrganizationDirectorySyncGroupTeamRoles); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OrganizationDirectorySyncGroupTeamRoles) + ); /** @internal */ export const OrganizationDirectorySyncGroupAssignmentsTeamRoles$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(OrganizationDirectorySyncGroupAssignmentsTeamRoles); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OrganizationDirectorySyncGroupAssignmentsTeamRoles) + ); /** @internal */ -export const Teams$inboundSchema: z.ZodType = z - .object({ - teamRoles: z.array( - OrganizationDirectorySyncGroupAssignmentsTeamRoles$inboundSchema, - ), - }); +export const Teams$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + teamRoles: z.array( + OrganizationDirectorySyncGroupAssignmentsTeamRoles$inboundSchema, + ), + }) + ); export function teamsFromJSON( jsonString: string, @@ -138,11 +144,13 @@ export const Assignments$inboundSchema: z.ZodType< Assignments, z.ZodTypeDef, unknown -> = z.object({ - organizationPermissions: z.array(OrganizationPermissions$inboundSchema), - teamRoles: z.array(OrganizationDirectorySyncGroupTeamRoles$inboundSchema), - teams: z.record(z.lazy(() => Teams$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationPermissions: z.array(OrganizationPermissions$inboundSchema), + teamRoles: z.array(OrganizationDirectorySyncGroupTeamRoles$inboundSchema), + teams: z.record(z.lazy(() => Teams$inboundSchema)), + }) +); export function assignmentsFromJSON( jsonString: string, @@ -159,15 +167,17 @@ export const OrganizationDirectorySyncGroup$inboundSchema: z.ZodType< OrganizationDirectorySyncGroup, z.ZodTypeDef, unknown -> = z.object({ - assignments: types.nullable(z.lazy(() => Assignments$inboundSchema)), - createdAt: types.nullable(types.string()), - directoryGroupId: types.string(), - directoryId: types.string(), - name: types.string(), - organizationId: types.string(), - updatedAt: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + assignments: types.nullable(z.lazy(() => Assignments$inboundSchema)), + createdAt: types.nullable(types.string()), + directoryGroupId: types.string(), + directoryId: types.string(), + name: types.string(), + organizationId: types.string(), + updatedAt: types.nullable(types.string()), + }) +); export function organizationDirectorySyncGroupFromJSON( jsonString: string, diff --git a/src/models/organizationteamlistitem.ts b/src/models/organizationteamlistitem.ts index 82d72605f5..632bb0d15b 100644 --- a/src/models/organizationteamlistitem.ts +++ b/src/models/organizationteamlistitem.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -87,35 +87,37 @@ export type OrganizationTeamListItem = { }; /** @internal */ -export const BillingPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(BillingPlan); +export const BillingPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BillingPlan)); /** @internal */ -export const DsyncMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DsyncMode); +export const DsyncMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DsyncMode)); /** @internal */ -export const SsoMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SsoMode); +export const SsoMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SsoMode)); /** @internal */ export const OrganizationTeamListItem$inboundSchema: z.ZodType< OrganizationTeamListItem, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - billingPlan: types.optional(BillingPlan$inboundSchema), - createdAt: types.string(), - dsyncMode: DsyncMode$inboundSchema, - memberCount: types.optional(types.number()), - name: types.nullable(types.string()), - organizationId: types.string(), - slug: types.string(), - ssoMode: SsoMode$inboundSchema, - teamId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + billingPlan: types.optional(BillingPlan$inboundSchema), + createdAt: types.string(), + dsyncMode: DsyncMode$inboundSchema, + memberCount: types.optional(types.number()), + name: types.nullable(types.string()), + organizationId: types.string(), + slug: types.string(), + ssoMode: SsoMode$inboundSchema, + teamId: types.string(), + updatedAt: types.string(), + }) +); export function organizationTeamListItemFromJSON( jsonString: string, diff --git a/src/models/pagination.ts b/src/models/pagination.ts index 4c75212cb9..113842c169 100644 --- a/src/models/pagination.ts +++ b/src/models/pagination.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,11 +31,13 @@ export const Pagination$inboundSchema: z.ZodType< Pagination, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.number()), - prev: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.number()), + prev: types.nullable(types.number()), + }) +); export function paginationFromJSON( jsonString: string, diff --git a/src/models/patchdomainop.ts b/src/models/patchdomainop.ts index 75536ed45f..160170ef40 100644 --- a/src/models/patchdomainop.ts +++ b/src/models/patchdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -117,10 +117,12 @@ export const PatchDomainRequestBody2$outboundSchema: z.ZodType< PatchDomainRequestBody2$Outbound, z.ZodTypeDef, PatchDomainRequestBody2 -> = z.object({ - op: z.string().optional(), - destination: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + op: z.string().optional(), + destination: z.string().optional(), + }) +); export function patchDomainRequestBody2ToJSON( patchDomainRequestBody2: PatchDomainRequestBody2, @@ -133,7 +135,7 @@ export function patchDomainRequestBody2ToJSON( /** @internal */ export const RequestBodyEchMode$outboundSchema: z.ZodNativeEnum< typeof RequestBodyEchMode -> = z.nativeEnum(RequestBodyEchMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyEchMode)); /** @internal */ export type PatchDomainRequestBody1$Outbound = { @@ -149,13 +151,15 @@ export const PatchDomainRequestBody1$outboundSchema: z.ZodType< PatchDomainRequestBody1$Outbound, z.ZodTypeDef, PatchDomainRequestBody1 -> = z.object({ - op: z.string().optional(), - renew: z.boolean().optional(), - customNameservers: z.array(z.string()).optional(), - zone: z.boolean().optional(), - echMode: RequestBodyEchMode$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + op: z.string().optional(), + renew: z.boolean().optional(), + customNameservers: z.array(z.string()).optional(), + zone: z.boolean().optional(), + echMode: RequestBodyEchMode$outboundSchema.optional(), + }) +); export function patchDomainRequestBody1ToJSON( patchDomainRequestBody1: PatchDomainRequestBody1, @@ -175,10 +179,12 @@ export const PatchDomainRequestBody$outboundSchema: z.ZodType< PatchDomainRequestBody$Outbound, z.ZodTypeDef, PatchDomainRequestBody -> = smartUnion([ - z.lazy(() => PatchDomainRequestBody1$outboundSchema), - z.lazy(() => PatchDomainRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchDomainRequestBody1$outboundSchema), + z.lazy(() => PatchDomainRequestBody2$outboundSchema), + ]) +); export function patchDomainRequestBodyToJSON( patchDomainRequestBody: PatchDomainRequestBody, @@ -203,19 +209,21 @@ export const PatchDomainRequest$outboundSchema: z.ZodType< PatchDomainRequest$Outbound, z.ZodTypeDef, PatchDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => PatchDomainRequestBody1$outboundSchema), - z.lazy(() => PatchDomainRequestBody2$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => PatchDomainRequestBody1$outboundSchema), + z.lazy(() => PatchDomainRequestBody2$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function patchDomainRequestToJSON( patchDomainRequest: PatchDomainRequest, @@ -228,19 +236,21 @@ export function patchDomainRequestToJSON( /** @internal */ export const ResponseBodyEchMode$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyEchMode -> = z.nativeEnum(ResponseBodyEchMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyEchMode)); /** @internal */ export const PatchDomainResponseBody3$inboundSchema: z.ZodType< PatchDomainResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - customNameservers: types.optional(z.array(types.string())), - echMode: ResponseBodyEchMode$inboundSchema, - renew: types.optional(types.boolean()), - zone: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customNameservers: types.optional(z.array(types.string())), + echMode: ResponseBodyEchMode$inboundSchema, + renew: types.optional(types.boolean()), + zone: types.optional(types.boolean()), + }) +); export function patchDomainResponseBody3FromJSON( jsonString: string, @@ -257,10 +267,12 @@ export const PatchDomainResponseBody2$inboundSchema: z.ZodType< PatchDomainResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - moved: types.boolean(), - token: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + moved: types.boolean(), + token: types.string(), + }) +); export function patchDomainResponseBody2FromJSON( jsonString: string, @@ -277,9 +289,11 @@ export const PatchDomainResponseBody1$inboundSchema: z.ZodType< PatchDomainResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - moved: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + moved: types.boolean(), + }) +); export function patchDomainResponseBody1FromJSON( jsonString: string, @@ -296,11 +310,13 @@ export const PatchDomainResponseBody$inboundSchema: z.ZodType< PatchDomainResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => PatchDomainResponseBody2$inboundSchema), - z.lazy(() => PatchDomainResponseBody1$inboundSchema), - z.lazy(() => PatchDomainResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchDomainResponseBody2$inboundSchema), + z.lazy(() => PatchDomainResponseBody1$inboundSchema), + z.lazy(() => PatchDomainResponseBody3$inboundSchema), + ]) +); export function patchDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/patchedgeconfigitemsop.ts b/src/models/patchedgeconfigitemsop.ts index dfd354c73e..640499942d 100644 --- a/src/models/patchedgeconfigitemsop.ts +++ b/src/models/patchedgeconfigitemsop.ts @@ -3,8 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -117,8 +120,10 @@ export type PatchEdgeConfigItemsResponseBody = { /** @internal */ export const PatchEdgeConfigItems1GlobalConfigOperation$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PatchEdgeConfigItems1GlobalConfigOperation); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchEdgeConfigItems1GlobalConfigOperation) + ); /** @internal */ export type One4$Outbound = { @@ -130,12 +135,14 @@ export type One4$Outbound = { /** @internal */ export const One4$outboundSchema: z.ZodType = - z.object({ - operation: PatchEdgeConfigItems1GlobalConfigOperation$outboundSchema, - key: z.string(), - value: z.any().optional(), - description: z.nullable(z.string()).optional(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + operation: PatchEdgeConfigItems1GlobalConfigOperation$outboundSchema, + key: z.string(), + value: z.any().optional(), + description: z.nullable(z.string()).optional(), + }) + ); export function one4ToJSON(one4: One4): string { return JSON.stringify(One4$outboundSchema.parse(one4)); @@ -144,7 +151,9 @@ export function one4ToJSON(one4: One4): string { /** @internal */ export const PatchEdgeConfigItems1Operation$outboundSchema: z.ZodNativeEnum< typeof PatchEdgeConfigItems1Operation -> = z.nativeEnum(PatchEdgeConfigItems1Operation); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchEdgeConfigItems1Operation) +); /** @internal */ export type PatchEdgeConfigItems13$Outbound = { @@ -159,12 +168,14 @@ export const PatchEdgeConfigItems13$outboundSchema: z.ZodType< PatchEdgeConfigItems13$Outbound, z.ZodTypeDef, PatchEdgeConfigItems13 -> = z.object({ - operation: PatchEdgeConfigItems1Operation$outboundSchema, - key: z.string(), - value: z.any().optional(), - description: z.nullable(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + operation: PatchEdgeConfigItems1Operation$outboundSchema, + key: z.string(), + value: z.any().optional(), + description: z.nullable(z.string()), + }) +); export function patchEdgeConfigItems13ToJSON( patchEdgeConfigItems13: PatchEdgeConfigItems13, @@ -176,7 +187,7 @@ export function patchEdgeConfigItems13ToJSON( /** @internal */ export const OneOperation$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(OneOperation); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OneOperation)); /** @internal */ export type PatchEdgeConfigItems12$Outbound = { @@ -191,12 +202,14 @@ export const PatchEdgeConfigItems12$outboundSchema: z.ZodType< PatchEdgeConfigItems12$Outbound, z.ZodTypeDef, PatchEdgeConfigItems12 -> = z.object({ - operation: OneOperation$outboundSchema, - key: z.string(), - value: z.any().optional(), - description: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + operation: OneOperation$outboundSchema, + key: z.string(), + value: z.any().optional(), + description: z.nullable(z.string()).optional(), + }) +); export function patchEdgeConfigItems12ToJSON( patchEdgeConfigItems12: PatchEdgeConfigItems12, @@ -208,8 +221,10 @@ export function patchEdgeConfigItems12ToJSON( /** @internal */ export const PatchEdgeConfigItems1GlobalConfigRequestOperation$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PatchEdgeConfigItems1GlobalConfigRequestOperation); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchEdgeConfigItems1GlobalConfigRequestOperation) + ); /** @internal */ export type PatchEdgeConfigItems11$Outbound = { @@ -224,12 +239,14 @@ export const PatchEdgeConfigItems11$outboundSchema: z.ZodType< PatchEdgeConfigItems11$Outbound, z.ZodTypeDef, PatchEdgeConfigItems11 -> = z.object({ - operation: PatchEdgeConfigItems1GlobalConfigRequestOperation$outboundSchema, - key: z.string(), - value: z.any().optional(), - description: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + operation: PatchEdgeConfigItems1GlobalConfigRequestOperation$outboundSchema, + key: z.string(), + value: z.any().optional(), + description: z.nullable(z.string()).optional(), + }) +); export function patchEdgeConfigItems11ToJSON( patchEdgeConfigItems11: PatchEdgeConfigItems11, @@ -251,12 +268,14 @@ export const PatchEdgeConfigItemsItems1$outboundSchema: z.ZodType< PatchEdgeConfigItemsItems1$Outbound, z.ZodTypeDef, PatchEdgeConfigItemsItems1 -> = smartUnion([ - z.lazy(() => PatchEdgeConfigItems11$outboundSchema), - z.lazy(() => PatchEdgeConfigItems12$outboundSchema), - z.lazy(() => PatchEdgeConfigItems13$outboundSchema), - z.lazy(() => One4$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchEdgeConfigItems11$outboundSchema), + z.lazy(() => PatchEdgeConfigItems12$outboundSchema), + z.lazy(() => PatchEdgeConfigItems13$outboundSchema), + z.lazy(() => One4$outboundSchema), + ]) +); export function patchEdgeConfigItemsItems1ToJSON( patchEdgeConfigItemsItems1: PatchEdgeConfigItemsItems1, @@ -278,12 +297,14 @@ export const PatchEdgeConfigItemsItems$outboundSchema: z.ZodType< PatchEdgeConfigItemsItems$Outbound, z.ZodTypeDef, PatchEdgeConfigItemsItems -> = smartUnion([ - z.lazy(() => PatchEdgeConfigItems11$outboundSchema), - z.lazy(() => PatchEdgeConfigItems12$outboundSchema), - z.lazy(() => PatchEdgeConfigItems13$outboundSchema), - z.lazy(() => One4$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchEdgeConfigItems11$outboundSchema), + z.lazy(() => PatchEdgeConfigItems12$outboundSchema), + z.lazy(() => PatchEdgeConfigItems13$outboundSchema), + z.lazy(() => One4$outboundSchema), + ]) +); export function patchEdgeConfigItemsItemsToJSON( patchEdgeConfigItemsItems: PatchEdgeConfigItemsItems, @@ -308,16 +329,16 @@ export const PatchEdgeConfigItemsRequestBody$outboundSchema: z.ZodType< PatchEdgeConfigItemsRequestBody$Outbound, z.ZodTypeDef, PatchEdgeConfigItemsRequestBody -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => PatchEdgeConfigItems11$outboundSchema), z.lazy(() => PatchEdgeConfigItems12$outboundSchema), z.lazy(() => PatchEdgeConfigItems13$outboundSchema), z.lazy(() => One4$outboundSchema), - ]), - ), -}); + ])), + }) +); export function patchEdgeConfigItemsRequestBodyToJSON( patchEdgeConfigItemsRequestBody: PatchEdgeConfigItemsRequestBody, @@ -342,17 +363,21 @@ export const PatchEdgeConfigItemsRequest$outboundSchema: z.ZodType< PatchEdgeConfigItemsRequest$Outbound, z.ZodTypeDef, PatchEdgeConfigItemsRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PatchEdgeConfigItemsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => PatchEdgeConfigItemsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function patchEdgeConfigItemsRequestToJSON( patchEdgeConfigItemsRequest: PatchEdgeConfigItemsRequest, @@ -369,9 +394,11 @@ export const PatchEdgeConfigItemsResponseBody$inboundSchema: z.ZodType< PatchEdgeConfigItemsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - status: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.string(), + }) +); export function patchEdgeConfigItemsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/patchedgeconfigschemaop.ts b/src/models/patchedgeconfigschemaop.ts index a88b0f475f..b5c4228ca4 100644 --- a/src/models/patchedgeconfigschemaop.ts +++ b/src/models/patchedgeconfigschemaop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -41,9 +41,11 @@ export const PatchEdgeConfigSchemaRequestBody$outboundSchema: z.ZodType< PatchEdgeConfigSchemaRequestBody$Outbound, z.ZodTypeDef, PatchEdgeConfigSchemaRequestBody -> = z.object({ - definition: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definition: z.any().optional(), + }) +); export function patchEdgeConfigSchemaRequestBodyToJSON( patchEdgeConfigSchemaRequestBody: PatchEdgeConfigSchemaRequestBody, @@ -69,17 +71,19 @@ export const PatchEdgeConfigSchemaRequest$outboundSchema: z.ZodType< PatchEdgeConfigSchemaRequest$Outbound, z.ZodTypeDef, PatchEdgeConfigSchemaRequest -> = z.object({ - edgeConfigId: z.string(), - dryRun: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + dryRun: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => PatchEdgeConfigSchemaRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function patchEdgeConfigSchemaRequestToJSON( patchEdgeConfigSchemaRequest: PatchEdgeConfigSchemaRequest, @@ -96,7 +100,7 @@ export const PatchEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< PatchEdgeConfigSchemaResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function patchEdgeConfigSchemaResponseBodyFromJSON( jsonString: string, diff --git a/src/models/patchteamop.ts b/src/models/patchteamop.ts index a98b9ca19c..392100cf81 100644 --- a/src/models/patchteamop.ts +++ b/src/models/patchteamop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -620,9 +621,11 @@ export const PatchTeamRoles2$outboundSchema: z.ZodType< PatchTeamRoles2$Outbound, z.ZodTypeDef, PatchTeamRoles2 -> = z.object({ - accessGroupId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: z.string(), + }) +); export function patchTeamRoles2ToJSON( patchTeamRoles2: PatchTeamRoles2, @@ -633,7 +636,7 @@ export function patchTeamRoles2ToJSON( /** @internal */ export const PatchTeamRoles1$outboundSchema: z.ZodNativeEnum< typeof PatchTeamRoles1 -> = z.nativeEnum(PatchTeamRoles1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PatchTeamRoles1)); /** @internal */ export type PatchTeamRoles$Outbound = PatchTeamRoles2$Outbound | string; @@ -643,10 +646,12 @@ export const PatchTeamRoles$outboundSchema: z.ZodType< PatchTeamRoles$Outbound, z.ZodTypeDef, PatchTeamRoles -> = smartUnion([ - z.lazy(() => PatchTeamRoles2$outboundSchema), - PatchTeamRoles1$outboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchTeamRoles2$outboundSchema), + PatchTeamRoles1$outboundSchema, + ]) +); export function patchTeamRolesToJSON(patchTeamRoles: PatchTeamRoles): string { return JSON.stringify(PatchTeamRoles$outboundSchema.parse(patchTeamRoles)); @@ -663,15 +668,15 @@ export const PatchTeamSaml$outboundSchema: z.ZodType< PatchTeamSaml$Outbound, z.ZodTypeDef, PatchTeamSaml -> = z.object({ - enforced: z.boolean().optional(), - roles: z.record( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enforced: z.boolean().optional(), + roles: z.record(smartUnion([ z.lazy(() => PatchTeamRoles2$outboundSchema), PatchTeamRoles1$outboundSchema, - ]), - ).optional(), -}); + ])).optional(), + }) +); export function patchTeamSamlToJSON(patchTeamSaml: PatchTeamSaml): string { return JSON.stringify(PatchTeamSaml$outboundSchema.parse(patchTeamSaml)); @@ -687,9 +692,11 @@ export const PatchTeamRemoteCaching$outboundSchema: z.ZodType< PatchTeamRemoteCaching$Outbound, z.ZodTypeDef, PatchTeamRemoteCaching -> = z.object({ - enabled: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean().optional(), + }) +); export function patchTeamRemoteCachingToJSON( patchTeamRemoteCaching: PatchTeamRemoteCaching, @@ -702,12 +709,14 @@ export function patchTeamRemoteCachingToJSON( /** @internal */ export const PatchTeamDpAccessRequestsMode$outboundSchema: z.ZodNativeEnum< typeof PatchTeamDpAccessRequestsMode -> = z.nativeEnum(PatchTeamDpAccessRequestsMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamDpAccessRequestsMode) +); /** @internal */ export const PatchTeamDeploymentType$outboundSchema: z.ZodNativeEnum< typeof PatchTeamDeploymentType -> = z.nativeEnum(PatchTeamDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PatchTeamDeploymentType)); /** @internal */ export type PatchTeamPasswordProtection$Outbound = { @@ -720,10 +729,12 @@ export const PatchTeamPasswordProtection$outboundSchema: z.ZodType< PatchTeamPasswordProtection$Outbound, z.ZodTypeDef, PatchTeamPasswordProtection -> = z.object({ - deploymentType: PatchTeamDeploymentType$outboundSchema, - password: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: PatchTeamDeploymentType$outboundSchema, + password: z.nullable(z.string()).optional(), + }) +); export function patchTeamPasswordProtectionToJSON( patchTeamPasswordProtection: PatchTeamPasswordProtection, @@ -738,7 +749,9 @@ export function patchTeamPasswordProtectionToJSON( /** @internal */ export const PatchTeamTeamsDeploymentType$outboundSchema: z.ZodNativeEnum< typeof PatchTeamTeamsDeploymentType -> = z.nativeEnum(PatchTeamTeamsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamTeamsDeploymentType) +); /** @internal */ export type PatchTeamSsoProtection$Outbound = { @@ -750,11 +763,13 @@ export const PatchTeamSsoProtection$outboundSchema: z.ZodType< PatchTeamSsoProtection$Outbound, z.ZodTypeDef, PatchTeamSsoProtection -> = z.object({ - deploymentType: PatchTeamTeamsDeploymentType$outboundSchema.default( - "preview", - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: PatchTeamTeamsDeploymentType$outboundSchema.default( + "preview", + ), + }) +); export function patchTeamSsoProtectionToJSON( patchTeamSsoProtection: PatchTeamSsoProtection, @@ -775,13 +790,16 @@ export const PatchTeamDefaultDeploymentProtection$outboundSchema: z.ZodType< PatchTeamDefaultDeploymentProtection$Outbound, z.ZodTypeDef, PatchTeamDefaultDeploymentProtection -> = z.object({ - passwordProtection: z.nullable( - z.lazy(() => PatchTeamPasswordProtection$outboundSchema), - ).optional(), - ssoProtection: z.nullable(z.lazy(() => PatchTeamSsoProtection$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passwordProtection: z.nullable( + z.lazy(() => PatchTeamPasswordProtection$outboundSchema), + ).optional(), + ssoProtection: z.nullable( + z.lazy(() => PatchTeamSsoProtection$outboundSchema), + ).optional(), + }) +); export function patchTeamDefaultDeploymentProtectionToJSON( patchTeamDefaultDeploymentProtection: PatchTeamDefaultDeploymentProtection, @@ -795,9 +813,10 @@ export function patchTeamDefaultDeploymentProtectionToJSON( /** @internal */ export const PatchTeamTeamsRequestDeploymentType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PatchTeamTeamsRequestDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamTeamsRequestDeploymentType) + ); /** @internal */ export type PatchTeamDefaultPassport$Outbound = { @@ -810,12 +829,14 @@ export const PatchTeamDefaultPassport$outboundSchema: z.ZodType< PatchTeamDefaultPassport$Outbound, z.ZodTypeDef, PatchTeamDefaultPassport -> = z.object({ - connectorId: z.string(), - deploymentType: PatchTeamTeamsRequestDeploymentType$outboundSchema.default( - "all", - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: z.string(), + deploymentType: PatchTeamTeamsRequestDeploymentType$outboundSchema.default( + "all", + ), + }) +); export function patchTeamDefaultPassportToJSON( patchTeamDefaultPassport: PatchTeamDefaultPassport, @@ -828,22 +849,22 @@ export function patchTeamDefaultPassportToJSON( /** @internal */ export const PatchTeamExpiration$outboundSchema: z.ZodNativeEnum< typeof PatchTeamExpiration -> = z.nativeEnum(PatchTeamExpiration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PatchTeamExpiration)); /** @internal */ export const ExpirationProduction$outboundSchema: z.ZodNativeEnum< typeof ExpirationProduction -> = z.nativeEnum(ExpirationProduction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ExpirationProduction)); /** @internal */ export const ExpirationCanceled$outboundSchema: z.ZodNativeEnum< typeof ExpirationCanceled -> = z.nativeEnum(ExpirationCanceled); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ExpirationCanceled)); /** @internal */ export const ExpirationErrored$outboundSchema: z.ZodNativeEnum< typeof ExpirationErrored -> = z.nativeEnum(ExpirationErrored); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ExpirationErrored)); /** @internal */ export type PatchTeamDefaultExpirationSettings$Outbound = { @@ -860,14 +881,16 @@ export const PatchTeamDefaultExpirationSettings$outboundSchema: z.ZodType< PatchTeamDefaultExpirationSettings$Outbound, z.ZodTypeDef, PatchTeamDefaultExpirationSettings -> = z.object({ - expiration: PatchTeamExpiration$outboundSchema.optional(), - expirationProduction: ExpirationProduction$outboundSchema.optional(), - expirationCanceled: ExpirationCanceled$outboundSchema.optional(), - expirationErrored: ExpirationErrored$outboundSchema.optional(), - keepCurrentRetention: z.boolean().optional(), - acknowledgeStorageBilling: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiration: PatchTeamExpiration$outboundSchema.optional(), + expirationProduction: ExpirationProduction$outboundSchema.optional(), + expirationCanceled: ExpirationCanceled$outboundSchema.optional(), + expirationErrored: ExpirationErrored$outboundSchema.optional(), + keepCurrentRetention: z.boolean().optional(), + acknowledgeStorageBilling: z.boolean().optional(), + }) +); export function patchTeamDefaultExpirationSettingsToJSON( patchTeamDefaultExpirationSettings: PatchTeamDefaultExpirationSettings, @@ -890,10 +913,12 @@ export const PatchTeamEnvironments2$outboundSchema: z.ZodType< PatchTeamEnvironments2$Outbound, z.ZodTypeDef, PatchTeamEnvironments2 -> = z.object({ - type: z.literal("custom"), - environmentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("custom"), + environmentId: z.string(), + }) +); export function patchTeamEnvironments2ToJSON( patchTeamEnvironments2: PatchTeamEnvironments2, @@ -906,7 +931,9 @@ export function patchTeamEnvironments2ToJSON( /** @internal */ export const PatchTeamEnvironmentsTarget$outboundSchema: z.ZodNativeEnum< typeof PatchTeamEnvironmentsTarget -> = z.nativeEnum(PatchTeamEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamEnvironmentsTarget) +); /** @internal */ export type PatchTeamEnvironments1$Outbound = { @@ -919,10 +946,12 @@ export const PatchTeamEnvironments1$outboundSchema: z.ZodType< PatchTeamEnvironments1$Outbound, z.ZodTypeDef, PatchTeamEnvironments1 -> = z.object({ - type: z.literal("system"), - target: PatchTeamEnvironmentsTarget$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("system"), + target: PatchTeamEnvironmentsTarget$outboundSchema, + }) +); export function patchTeamEnvironments1ToJSON( patchTeamEnvironments1: PatchTeamEnvironments1, @@ -942,10 +971,12 @@ export const PatchTeamGitSourcesEnvironments$outboundSchema: z.ZodType< PatchTeamGitSourcesEnvironments$Outbound, z.ZodTypeDef, PatchTeamGitSourcesEnvironments -> = z.union([ - z.lazy(() => PatchTeamEnvironments1$outboundSchema), - z.lazy(() => PatchTeamEnvironments2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => PatchTeamEnvironments1$outboundSchema), + z.lazy(() => PatchTeamEnvironments2$outboundSchema), + ]) +); export function patchTeamGitSourcesEnvironmentsToJSON( patchTeamGitSourcesEnvironments: PatchTeamGitSourcesEnvironments, @@ -969,11 +1000,13 @@ export const PatchTeamSources2$outboundSchema: z.ZodType< PatchTeamSources2$Outbound, z.ZodTypeDef, PatchTeamSources2 -> = z.object({ - provider: z.literal("gitlab"), - namespace: z.string(), - project: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: z.literal("gitlab"), + namespace: z.string(), + project: z.string().optional(), + }) +); export function patchTeamSources2ToJSON( patchTeamSources2: PatchTeamSources2, @@ -986,7 +1019,7 @@ export function patchTeamSources2ToJSON( /** @internal */ export const PatchTeamSourcesProvider$outboundSchema: z.ZodNativeEnum< typeof PatchTeamSourcesProvider -> = z.nativeEnum(PatchTeamSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PatchTeamSourcesProvider)); /** @internal */ export type PatchTeamSources1$Outbound = { @@ -1000,11 +1033,13 @@ export const PatchTeamSources1$outboundSchema: z.ZodType< PatchTeamSources1$Outbound, z.ZodTypeDef, PatchTeamSources1 -> = z.object({ - provider: PatchTeamSourcesProvider$outboundSchema, - org: z.string(), - repo: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: PatchTeamSourcesProvider$outboundSchema, + org: z.string(), + repo: z.string().optional(), + }) +); export function patchTeamSources1ToJSON( patchTeamSources1: PatchTeamSources1, @@ -1025,15 +1060,17 @@ export const PatchTeamGitSourcesSources$outboundSchema: z.ZodType< PatchTeamGitSourcesSources$Outbound, z.ZodTypeDef, PatchTeamGitSourcesSources -> = z.union([ - z.lazy(() => PatchTeamSources1$outboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => PatchTeamSources1$outboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => PatchTeamSources2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => PatchTeamSources1$outboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => PatchTeamSources1$outboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => PatchTeamSources2$outboundSchema), + ]) +); export function patchTeamGitSourcesSourcesToJSON( patchTeamGitSourcesSources: PatchTeamGitSourcesSources, @@ -1061,16 +1098,14 @@ export const PatchTeamGitSources1$outboundSchema: z.ZodType< PatchTeamGitSources1$Outbound, z.ZodTypeDef, PatchTeamGitSources1 -> = z.object({ - enabled: z.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + environments: z.array(z.union([ z.lazy(() => PatchTeamEnvironments1$outboundSchema), z.lazy(() => PatchTeamEnvironments2$outboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => PatchTeamSources1$outboundSchema).and( z.object({ provider: z.literal("github") }), ), @@ -1078,9 +1113,9 @@ export const PatchTeamGitSources1$outboundSchema: z.ZodType< z.object({ provider: z.literal("bitbucket") }), ), z.lazy(() => PatchTeamSources2$outboundSchema), - ]), - ), -}); + ])), + }) +); export function patchTeamGitSources1ToJSON( patchTeamGitSources1: PatchTeamGitSources1, @@ -1100,10 +1135,12 @@ export const PatchTeamDeploymentPolicyGitSources$outboundSchema: z.ZodType< PatchTeamDeploymentPolicyGitSources$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicyGitSources -> = smartUnion([ - z.array(z.lazy(() => PatchTeamGitSources1$outboundSchema)), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => PatchTeamGitSources1$outboundSchema)), + z.string(), + ]) +); export function patchTeamDeploymentPolicyGitSourcesToJSON( patchTeamDeploymentPolicyGitSources: PatchTeamDeploymentPolicyGitSources, @@ -1126,10 +1163,12 @@ export const PatchTeamEnvironmentsTeams2$outboundSchema: z.ZodType< PatchTeamEnvironmentsTeams2$Outbound, z.ZodTypeDef, PatchTeamEnvironmentsTeams2 -> = z.object({ - type: z.literal("custom"), - environmentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("custom"), + environmentId: z.string(), + }) +); export function patchTeamEnvironmentsTeams2ToJSON( patchTeamEnvironmentsTeams2: PatchTeamEnvironmentsTeams2, @@ -1144,7 +1183,9 @@ export function patchTeamEnvironmentsTeams2ToJSON( /** @internal */ export const PatchTeamEnvironmentsTeamsTarget$outboundSchema: z.ZodNativeEnum< typeof PatchTeamEnvironmentsTeamsTarget -> = z.nativeEnum(PatchTeamEnvironmentsTeamsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamEnvironmentsTeamsTarget) +); /** @internal */ export type PatchTeamEnvironmentsTeams1$Outbound = { @@ -1157,10 +1198,12 @@ export const PatchTeamEnvironmentsTeams1$outboundSchema: z.ZodType< PatchTeamEnvironmentsTeams1$Outbound, z.ZodTypeDef, PatchTeamEnvironmentsTeams1 -> = z.object({ - type: z.literal("system"), - target: PatchTeamEnvironmentsTeamsTarget$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("system"), + target: PatchTeamEnvironmentsTeamsTarget$outboundSchema, + }) +); export function patchTeamEnvironmentsTeams1ToJSON( patchTeamEnvironmentsTeams1: PatchTeamEnvironmentsTeams1, @@ -1182,10 +1225,12 @@ export const PatchTeamDeploymentSourcesEnvironments$outboundSchema: z.ZodType< PatchTeamDeploymentSourcesEnvironments$Outbound, z.ZodTypeDef, PatchTeamDeploymentSourcesEnvironments -> = z.union([ - z.lazy(() => PatchTeamEnvironmentsTeams1$outboundSchema), - z.lazy(() => PatchTeamEnvironmentsTeams2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => PatchTeamEnvironmentsTeams1$outboundSchema), + z.lazy(() => PatchTeamEnvironmentsTeams2$outboundSchema), + ]) +); export function patchTeamDeploymentSourcesEnvironmentsToJSON( patchTeamDeploymentSourcesEnvironments: @@ -1201,7 +1246,9 @@ export function patchTeamDeploymentSourcesEnvironmentsToJSON( /** @internal */ export const PatchTeamDeploymentSourcesSources$outboundSchema: z.ZodNativeEnum< typeof PatchTeamDeploymentSourcesSources -> = z.nativeEnum(PatchTeamDeploymentSourcesSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchTeamDeploymentSourcesSources) +); /** @internal */ export type PatchTeamDeploymentSources1$Outbound = { @@ -1217,16 +1264,16 @@ export const PatchTeamDeploymentSources1$outboundSchema: z.ZodType< PatchTeamDeploymentSources1$Outbound, z.ZodTypeDef, PatchTeamDeploymentSources1 -> = z.object({ - enabled: z.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + environments: z.array(z.union([ z.lazy(() => PatchTeamEnvironmentsTeams1$outboundSchema), z.lazy(() => PatchTeamEnvironmentsTeams2$outboundSchema), - ]), - ), - sources: z.array(PatchTeamDeploymentSourcesSources$outboundSchema), -}); + ])), + sources: z.array(PatchTeamDeploymentSourcesSources$outboundSchema), + }) +); export function patchTeamDeploymentSources1ToJSON( patchTeamDeploymentSources1: PatchTeamDeploymentSources1, @@ -1249,10 +1296,12 @@ export const PatchTeamDeploymentPolicyDeploymentSources$outboundSchema: PatchTeamDeploymentPolicyDeploymentSources$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicyDeploymentSources - > = smartUnion([ - z.array(z.lazy(() => PatchTeamDeploymentSources1$outboundSchema)), - z.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => PatchTeamDeploymentSources1$outboundSchema)), + z.string(), + ]) + ); export function patchTeamDeploymentPolicyDeploymentSourcesToJSON( patchTeamDeploymentPolicyDeploymentSources: @@ -1279,16 +1328,18 @@ export const PatchTeamDeploymentPolicy1$outboundSchema: z.ZodType< PatchTeamDeploymentPolicy1$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicy1 -> = z.object({ - gitSources: smartUnion([ - z.array(z.lazy(() => PatchTeamGitSources1$outboundSchema)), - z.string(), - ]).optional(), - deploymentSources: smartUnion([ - z.array(z.lazy(() => PatchTeamDeploymentSources1$outboundSchema)), - z.string(), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitSources: smartUnion([ + z.array(z.lazy(() => PatchTeamGitSources1$outboundSchema)), + z.string(), + ]).optional(), + deploymentSources: smartUnion([ + z.array(z.lazy(() => PatchTeamDeploymentSources1$outboundSchema)), + z.string(), + ]).optional(), + }) +); export function patchTeamDeploymentPolicy1ToJSON( patchTeamDeploymentPolicy1: PatchTeamDeploymentPolicy1, @@ -1308,10 +1359,12 @@ export const PatchTeamDeploymentPolicy$outboundSchema: z.ZodType< PatchTeamDeploymentPolicy$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicy -> = smartUnion([ - z.lazy(() => PatchTeamDeploymentPolicy1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchTeamDeploymentPolicy1$outboundSchema), + z.string(), + ]) +); export function patchTeamDeploymentPolicyToJSON( patchTeamDeploymentPolicy: PatchTeamDeploymentPolicy, @@ -1332,9 +1385,11 @@ export const PatchTeamStrictDeploymentProtectionSettings$outboundSchema: PatchTeamStrictDeploymentProtectionSettings$Outbound, z.ZodTypeDef, PatchTeamStrictDeploymentProtectionSettings - > = z.object({ - enabled: z.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) + ); export function patchTeamStrictDeploymentProtectionSettingsToJSON( patchTeamStrictDeploymentProtectionSettings: @@ -1357,9 +1412,11 @@ export const PatchTeamStrictShareableLinks$outboundSchema: z.ZodType< PatchTeamStrictShareableLinks$Outbound, z.ZodTypeDef, PatchTeamStrictShareableLinks -> = z.object({ - enabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) +); export function patchTeamStrictShareableLinksToJSON( patchTeamStrictShareableLinks: PatchTeamStrictShareableLinks, @@ -1382,9 +1439,11 @@ export const PatchTeamStrictPasswordProtectionSettings$outboundSchema: PatchTeamStrictPasswordProtectionSettings$Outbound, z.ZodTypeDef, PatchTeamStrictPasswordProtectionSettings - > = z.object({ - enabled: z.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) + ); export function patchTeamStrictPasswordProtectionSettingsToJSON( patchTeamStrictPasswordProtectionSettings: @@ -1407,9 +1466,11 @@ export const PatchTeamStrictConnectors$outboundSchema: z.ZodType< PatchTeamStrictConnectors$Outbound, z.ZodTypeDef, PatchTeamStrictConnectors -> = z.object({ - enabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) +); export function patchTeamStrictConnectorsToJSON( patchTeamStrictConnectors: PatchTeamStrictConnectors, @@ -1422,7 +1483,7 @@ export function patchTeamStrictConnectorsToJSON( /** @internal */ export const NsnbConfigPreference$outboundSchema: z.ZodNativeEnum< typeof NsnbConfigPreference -> = z.nativeEnum(NsnbConfigPreference); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NsnbConfigPreference)); /** @internal */ export type NsnbConfig1$Outbound = { @@ -1434,9 +1495,11 @@ export const NsnbConfig1$outboundSchema: z.ZodType< NsnbConfig1$Outbound, z.ZodTypeDef, NsnbConfig1 -> = z.object({ - preference: NsnbConfigPreference$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preference: NsnbConfigPreference$outboundSchema, + }) +); export function nsnbConfig1ToJSON(nsnbConfig1: NsnbConfig1): string { return JSON.stringify(NsnbConfig1$outboundSchema.parse(nsnbConfig1)); @@ -1450,7 +1513,9 @@ export const PatchTeamNsnbConfig$outboundSchema: z.ZodType< PatchTeamNsnbConfig$Outbound, z.ZodTypeDef, PatchTeamNsnbConfig -> = smartUnion([z.lazy(() => NsnbConfig1$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => NsnbConfig1$outboundSchema), z.string()]) +); export function patchTeamNsnbConfigToJSON( patchTeamNsnbConfig: PatchTeamNsnbConfig, @@ -1470,9 +1535,11 @@ export const DefaultProjectJobsLint$outboundSchema: z.ZodType< DefaultProjectJobsLint$Outbound, z.ZodTypeDef, DefaultProjectJobsLint -> = z.object({ - targets: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(z.string()), + }) +); export function defaultProjectJobsLintToJSON( defaultProjectJobsLint: DefaultProjectJobsLint, @@ -1492,9 +1559,11 @@ export const DefaultProjectJobsTypecheck$outboundSchema: z.ZodType< DefaultProjectJobsTypecheck$Outbound, z.ZodTypeDef, DefaultProjectJobsTypecheck -> = z.object({ - targets: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(z.string()), + }) +); export function defaultProjectJobsTypecheckToJSON( defaultProjectJobsTypecheck: DefaultProjectJobsTypecheck, @@ -1517,11 +1586,13 @@ export const DefaultProjectJobs1$outboundSchema: z.ZodType< DefaultProjectJobs1$Outbound, z.ZodTypeDef, DefaultProjectJobs1 -> = z.object({ - lint: z.lazy(() => DefaultProjectJobsLint$outboundSchema).optional(), - typecheck: z.lazy(() => DefaultProjectJobsTypecheck$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lint: z.lazy(() => DefaultProjectJobsLint$outboundSchema).optional(), + typecheck: z.lazy(() => DefaultProjectJobsTypecheck$outboundSchema) + .optional(), + }) +); export function defaultProjectJobs1ToJSON( defaultProjectJobs1: DefaultProjectJobs1, @@ -1541,7 +1612,9 @@ export const PatchTeamDefaultProjectJobs$outboundSchema: z.ZodType< PatchTeamDefaultProjectJobs$Outbound, z.ZodTypeDef, PatchTeamDefaultProjectJobs -> = smartUnion([z.lazy(() => DefaultProjectJobs1$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => DefaultProjectJobs1$outboundSchema), z.string()]) +); export function patchTeamDefaultProjectJobsToJSON( patchTeamDefaultProjectJobs: PatchTeamDefaultProjectJobs, @@ -1556,7 +1629,7 @@ export function patchTeamDefaultProjectJobsToJSON( /** @internal */ export const PatchTeamDefault$outboundSchema: z.ZodNativeEnum< typeof PatchTeamDefault -> = z.nativeEnum(PatchTeamDefault); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PatchTeamDefault)); /** @internal */ export type PatchTeamBuildMachine$Outbound = { @@ -1568,9 +1641,11 @@ export const PatchTeamBuildMachine$outboundSchema: z.ZodType< PatchTeamBuildMachine$Outbound, z.ZodTypeDef, PatchTeamBuildMachine -> = z.object({ - default: PatchTeamDefault$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: PatchTeamDefault$outboundSchema.optional(), + }) +); export function patchTeamBuildMachineToJSON( patchTeamBuildMachine: PatchTeamBuildMachine, @@ -1590,9 +1665,11 @@ export const PatchTeamResourceConfig$outboundSchema: z.ZodType< PatchTeamResourceConfig$Outbound, z.ZodTypeDef, PatchTeamResourceConfig -> = z.object({ - buildMachine: z.lazy(() => PatchTeamBuildMachine$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachine: z.lazy(() => PatchTeamBuildMachine$outboundSchema).optional(), + }) +); export function patchTeamResourceConfigToJSON( patchTeamResourceConfig: PatchTeamResourceConfig, @@ -1648,58 +1725,64 @@ export const PatchTeamRequestBody$outboundSchema: z.ZodType< PatchTeamRequestBody$Outbound, z.ZodTypeDef, PatchTeamRequestBody -> = z.object({ - avatar: z.nullable(z.string()).optional(), - description: z.string().optional(), - emailDomain: z.nullable(z.string()).optional(), - name: z.string().optional(), - previewDeploymentSuffix: z.nullable(z.string()).optional(), - regenerateInviteCode: z.boolean().optional(), - saml: z.lazy(() => PatchTeamSaml$outboundSchema).optional(), - slug: z.string().optional(), - enablePreviewFeedback: z.string().optional(), - enableProductionFeedback: z.string().optional(), - sensitiveEnvironmentVariablePolicy: z.string().optional(), - disjunctiveProductionSecretPolicy: z.string().optional(), - remoteCaching: z.lazy(() => PatchTeamRemoteCaching$outboundSchema).optional(), - hideIpAddresses: z.boolean().optional(), - hideIpAddressesInLogDrains: z.boolean().optional(), - dpAccessRequestsMode: PatchTeamDpAccessRequestsMode$outboundSchema.optional(), - requireVerifiedCommits: z.boolean().optional(), - disableRepositoryDispatchEvents: z.boolean().optional(), - defaultDeploymentProtection: z.lazy(() => - PatchTeamDefaultDeploymentProtection$outboundSchema - ).optional(), - defaultPassport: z.nullable( - z.lazy(() => PatchTeamDefaultPassport$outboundSchema), - ).optional(), - defaultExpirationSettings: z.lazy(() => - PatchTeamDefaultExpirationSettings$outboundSchema - ).optional(), - deploymentPolicy: smartUnion([ - z.lazy(() => PatchTeamDeploymentPolicy1$outboundSchema), - z.string(), - ]).optional(), - strictDeploymentProtectionSettings: z.lazy(() => - PatchTeamStrictDeploymentProtectionSettings$outboundSchema - ).optional(), - strictShareableLinks: z.lazy(() => - PatchTeamStrictShareableLinks$outboundSchema - ).optional(), - strictPasswordProtectionSettings: z.lazy(() => - PatchTeamStrictPasswordProtectionSettings$outboundSchema - ).optional(), - strictConnectors: z.lazy(() => PatchTeamStrictConnectors$outboundSchema) - .optional(), - nsnbConfig: smartUnion([z.lazy(() => NsnbConfig1$outboundSchema), z.string()]) - .optional(), - defaultProjectJobs: smartUnion([ - z.lazy(() => DefaultProjectJobs1$outboundSchema), - z.string(), - ]).optional(), - resourceConfig: z.lazy(() => PatchTeamResourceConfig$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: z.nullable(z.string()).optional(), + description: z.string().optional(), + emailDomain: z.nullable(z.string()).optional(), + name: z.string().optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + regenerateInviteCode: z.boolean().optional(), + saml: z.lazy(() => PatchTeamSaml$outboundSchema).optional(), + slug: z.string().optional(), + enablePreviewFeedback: z.string().optional(), + enableProductionFeedback: z.string().optional(), + sensitiveEnvironmentVariablePolicy: z.string().optional(), + disjunctiveProductionSecretPolicy: z.string().optional(), + remoteCaching: z.lazy(() => PatchTeamRemoteCaching$outboundSchema) + .optional(), + hideIpAddresses: z.boolean().optional(), + hideIpAddressesInLogDrains: z.boolean().optional(), + dpAccessRequestsMode: PatchTeamDpAccessRequestsMode$outboundSchema + .optional(), + requireVerifiedCommits: z.boolean().optional(), + disableRepositoryDispatchEvents: z.boolean().optional(), + defaultDeploymentProtection: z.lazy(() => + PatchTeamDefaultDeploymentProtection$outboundSchema + ).optional(), + defaultPassport: z.nullable( + z.lazy(() => PatchTeamDefaultPassport$outboundSchema), + ).optional(), + defaultExpirationSettings: z.lazy(() => + PatchTeamDefaultExpirationSettings$outboundSchema + ).optional(), + deploymentPolicy: smartUnion([ + z.lazy(() => PatchTeamDeploymentPolicy1$outboundSchema), + z.string(), + ]).optional(), + strictDeploymentProtectionSettings: z.lazy(() => + PatchTeamStrictDeploymentProtectionSettings$outboundSchema + ).optional(), + strictShareableLinks: z.lazy(() => + PatchTeamStrictShareableLinks$outboundSchema + ).optional(), + strictPasswordProtectionSettings: z.lazy(() => + PatchTeamStrictPasswordProtectionSettings$outboundSchema + ).optional(), + strictConnectors: z.lazy(() => PatchTeamStrictConnectors$outboundSchema) + .optional(), + nsnbConfig: smartUnion([ + z.lazy(() => NsnbConfig1$outboundSchema), + z.string(), + ]).optional(), + defaultProjectJobs: smartUnion([ + z.lazy(() => DefaultProjectJobs1$outboundSchema), + z.string(), + ]).optional(), + resourceConfig: z.lazy(() => PatchTeamResourceConfig$outboundSchema) + .optional(), + }) +); export function patchTeamRequestBodyToJSON( patchTeamRequestBody: PatchTeamRequestBody, @@ -1721,15 +1804,17 @@ export const PatchTeamRequest$outboundSchema: z.ZodType< PatchTeamRequest$Outbound, z.ZodTypeDef, PatchTeamRequest -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => PatchTeamRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => PatchTeamRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function patchTeamRequestToJSON( patchTeamRequest: PatchTeamRequest, diff --git a/src/models/patchurlprotectionbypassop.ts b/src/models/patchurlprotectionbypassop.ts index 182c0bb1f6..1a0a9719b3 100644 --- a/src/models/patchurlprotectionbypassop.ts +++ b/src/models/patchurlprotectionbypassop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -151,13 +152,17 @@ export type PatchUrlProtectionBypassRequest = { /** @internal */ export const PatchUrlProtectionBypassRequestBodyScope$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PatchUrlProtectionBypassRequestBodyScope); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchUrlProtectionBypassRequestBodyScope) + ); /** @internal */ export const PatchUrlProtectionBypassRequestBodyAction$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PatchUrlProtectionBypassRequestBodyAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchUrlProtectionBypassRequestBodyAction) + ); /** @internal */ export type Override$Outbound = { @@ -170,10 +175,12 @@ export const Override$outboundSchema: z.ZodType< Override$Outbound, z.ZodTypeDef, Override -> = z.object({ - scope: PatchUrlProtectionBypassRequestBodyScope$outboundSchema, - action: PatchUrlProtectionBypassRequestBodyAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: PatchUrlProtectionBypassRequestBodyScope$outboundSchema, + action: PatchUrlProtectionBypassRequestBodyAction$outboundSchema, + }) +); export function overrideToJSON(override: Override): string { return JSON.stringify(Override$outboundSchema.parse(override)); @@ -189,9 +196,11 @@ export const PatchUrlProtectionBypassRequestBody3$outboundSchema: z.ZodType< PatchUrlProtectionBypassRequestBody3$Outbound, z.ZodTypeDef, PatchUrlProtectionBypassRequestBody3 -> = z.object({ - override: z.lazy(() => Override$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + override: z.lazy(() => Override$outboundSchema), + }) +); export function patchUrlProtectionBypassRequestBody3ToJSON( patchUrlProtectionBypassRequestBody3: PatchUrlProtectionBypassRequestBody3, @@ -205,9 +214,10 @@ export function patchUrlProtectionBypassRequestBody3ToJSON( /** @internal */ export const PatchUrlProtectionBypassScopeAccess$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PatchUrlProtectionBypassScopeAccess, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PatchUrlProtectionBypassScopeAccess) + ); /** @internal */ export type Scope2$Outbound = { @@ -221,19 +231,21 @@ export const Scope2$outboundSchema: z.ZodType< Scope2$Outbound, z.ZodTypeDef, Scope2 -> = z.object({ - userId: z.string().optional(), - email: z.string(), - access: PatchUrlProtectionBypassScopeAccess$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + userId: z.string().optional(), + email: z.string(), + access: PatchUrlProtectionBypassScopeAccess$outboundSchema, + }) +); export function scope2ToJSON(scope2: Scope2): string { return JSON.stringify(Scope2$outboundSchema.parse(scope2)); } /** @internal */ -export const ScopeAccess$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(ScopeAccess); +export const ScopeAccess$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ScopeAccess)); /** @internal */ export type Scope1$Outbound = { @@ -247,11 +259,13 @@ export const Scope1$outboundSchema: z.ZodType< Scope1$Outbound, z.ZodTypeDef, Scope1 -> = z.object({ - userId: z.string(), - email: z.string().optional(), - access: ScopeAccess$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + userId: z.string(), + email: z.string().optional(), + access: ScopeAccess$outboundSchema, + }) +); export function scope1ToJSON(scope1: Scope1): string { return JSON.stringify(Scope1$outboundSchema.parse(scope1)); @@ -265,10 +279,12 @@ export const RequestBodyScope$outboundSchema: z.ZodType< RequestBodyScope$Outbound, z.ZodTypeDef, RequestBodyScope -> = smartUnion([ - z.lazy(() => Scope1$outboundSchema), - z.lazy(() => Scope2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Scope1$outboundSchema), + z.lazy(() => Scope2$outboundSchema), + ]) +); export function requestBodyScopeToJSON( requestBodyScope: RequestBodyScope, @@ -288,12 +304,14 @@ export const PatchUrlProtectionBypassRequestBody2$outboundSchema: z.ZodType< PatchUrlProtectionBypassRequestBody2$Outbound, z.ZodTypeDef, PatchUrlProtectionBypassRequestBody2 -> = z.object({ - scope: smartUnion([ - z.lazy(() => Scope1$outboundSchema), - z.lazy(() => Scope2$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: smartUnion([ + z.lazy(() => Scope1$outboundSchema), + z.lazy(() => Scope2$outboundSchema), + ]), + }) +); export function patchUrlProtectionBypassRequestBody2ToJSON( patchUrlProtectionBypassRequestBody2: PatchUrlProtectionBypassRequestBody2, @@ -316,10 +334,12 @@ export const RequestBodyRevoke$outboundSchema: z.ZodType< RequestBodyRevoke$Outbound, z.ZodTypeDef, RequestBodyRevoke -> = z.object({ - secret: z.string(), - regenerate: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secret: z.string(), + regenerate: z.boolean(), + }) +); export function requestBodyRevokeToJSON( requestBodyRevoke: RequestBodyRevoke, @@ -340,10 +360,12 @@ export const PatchUrlProtectionBypassRequestBody1$outboundSchema: z.ZodType< PatchUrlProtectionBypassRequestBody1$Outbound, z.ZodTypeDef, PatchUrlProtectionBypassRequestBody1 -> = z.object({ - ttl: z.number().optional(), - revoke: z.lazy(() => RequestBodyRevoke$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ttl: z.number().optional(), + revoke: z.lazy(() => RequestBodyRevoke$outboundSchema).optional(), + }) +); export function patchUrlProtectionBypassRequestBody1ToJSON( patchUrlProtectionBypassRequestBody1: PatchUrlProtectionBypassRequestBody1, @@ -366,11 +388,13 @@ export const PatchUrlProtectionBypassRequestBody$outboundSchema: z.ZodType< PatchUrlProtectionBypassRequestBody$Outbound, z.ZodTypeDef, PatchUrlProtectionBypassRequestBody -> = smartUnion([ - z.lazy(() => PatchUrlProtectionBypassRequestBody2$outboundSchema), - z.lazy(() => PatchUrlProtectionBypassRequestBody3$outboundSchema), - z.lazy(() => PatchUrlProtectionBypassRequestBody1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PatchUrlProtectionBypassRequestBody2$outboundSchema), + z.lazy(() => PatchUrlProtectionBypassRequestBody3$outboundSchema), + z.lazy(() => PatchUrlProtectionBypassRequestBody1$outboundSchema), + ]) +); export function patchUrlProtectionBypassRequestBodyToJSON( patchUrlProtectionBypassRequestBody: PatchUrlProtectionBypassRequestBody, @@ -399,20 +423,22 @@ export const PatchUrlProtectionBypassRequest$outboundSchema: z.ZodType< PatchUrlProtectionBypassRequest$Outbound, z.ZodTypeDef, PatchUrlProtectionBypassRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => PatchUrlProtectionBypassRequestBody2$outboundSchema), - z.lazy(() => PatchUrlProtectionBypassRequestBody3$outboundSchema), - z.lazy(() => PatchUrlProtectionBypassRequestBody1$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => PatchUrlProtectionBypassRequestBody2$outboundSchema), + z.lazy(() => PatchUrlProtectionBypassRequestBody3$outboundSchema), + z.lazy(() => PatchUrlProtectionBypassRequestBody1$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function patchUrlProtectionBypassRequestToJSON( patchUrlProtectionBypassRequest: PatchUrlProtectionBypassRequest, diff --git a/src/models/pauseprojectop.ts b/src/models/pauseprojectop.ts index 74d6f79051..c48ba150a2 100644 --- a/src/models/pauseprojectop.ts +++ b/src/models/pauseprojectop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type PauseProjectRequest = { /** @@ -31,11 +32,13 @@ export const PauseProjectRequest$outboundSchema: z.ZodType< PauseProjectRequest$Outbound, z.ZodTypeDef, PauseProjectRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function pauseProjectRequestToJSON( pauseProjectRequest: PauseProjectRequest, diff --git a/src/models/payloadoutcome.ts b/src/models/payloadoutcome.ts index e773223043..47a6af56a2 100644 --- a/src/models/payloadoutcome.ts +++ b/src/models/payloadoutcome.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -117,35 +117,35 @@ export type Entities = { type: UserEventEntitiesType; }; -export type UserEventPayload548Names = { +export type UserEventPayload553Names = { en: string; }; -export type UserEventPayload548City = { - names: UserEventPayload548Names; +export type UserEventPayload553City = { + names: UserEventPayload553Names; }; -export type UserEventPayload548GeolocationNames = { +export type UserEventPayload553GeolocationNames = { en: string; }; -export type UserEventPayload548Country = { - names: UserEventPayload548GeolocationNames; +export type UserEventPayload553Country = { + names: UserEventPayload553GeolocationNames; }; -export type UserEventPayload548GeolocationMostSpecificSubdivisionNames = { +export type UserEventPayload553GeolocationMostSpecificSubdivisionNames = { en: string; }; -export type UserEventPayload548MostSpecificSubdivision = { - names: UserEventPayload548GeolocationMostSpecificSubdivisionNames; +export type UserEventPayload553MostSpecificSubdivision = { + names: UserEventPayload553GeolocationMostSpecificSubdivisionNames; }; -export type UserEventPayload548Geolocation = { - city?: UserEventPayload548City | undefined; - country: UserEventPayload548Country; +export type UserEventPayload553Geolocation = { + city?: UserEventPayload553City | undefined; + country: UserEventPayload553Country; mostSpecificSubdivision?: - | UserEventPayload548MostSpecificSubdivision + | UserEventPayload553MostSpecificSubdivision | undefined; regionName?: string | undefined; }; @@ -153,48 +153,48 @@ export type UserEventPayload548Geolocation = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyEight = { +export type FiveHundredAndFiftyThree = { /** * The token's public ID. */ actorTokenId: string; deletedCount: number; - geolocation?: UserEventPayload548Geolocation | null | undefined; + geolocation?: UserEventPayload553Geolocation | null | undefined; ip?: string | null | undefined; reqId?: string | undefined; reqUrl?: string | undefined; userAgent?: string | undefined; }; -export type UserEventPayload547Names = { +export type UserEventPayload552Names = { en: string; }; -export type UserEventPayload547City = { - names: UserEventPayload547Names; +export type UserEventPayload552City = { + names: UserEventPayload552Names; }; -export type UserEventPayload547GeolocationNames = { +export type UserEventPayload552GeolocationNames = { en: string; }; -export type UserEventPayload547Country = { - names: UserEventPayload547GeolocationNames; +export type UserEventPayload552Country = { + names: UserEventPayload552GeolocationNames; }; -export type UserEventPayload547GeolocationMostSpecificSubdivisionNames = { +export type UserEventPayload552GeolocationMostSpecificSubdivisionNames = { en: string; }; -export type UserEventPayload547MostSpecificSubdivision = { - names: UserEventPayload547GeolocationMostSpecificSubdivisionNames; +export type UserEventPayload552MostSpecificSubdivision = { + names: UserEventPayload552GeolocationMostSpecificSubdivisionNames; }; -export type UserEventPayload547Geolocation = { - city?: UserEventPayload547City | undefined; - country: UserEventPayload547Country; +export type UserEventPayload552Geolocation = { + city?: UserEventPayload552City | undefined; + country: UserEventPayload552Country; mostSpecificSubdivision?: - | UserEventPayload547MostSpecificSubdivision + | UserEventPayload552MostSpecificSubdivision | undefined; regionName?: string | undefined; }; @@ -227,50 +227,50 @@ export const PayloadOrigin = { } as const; export type PayloadOrigin = ClosedEnum; -export const UserEventPayload547Reason = { +export const UserEventPayload552Reason = { Logout: "logout", } as const; -export type UserEventPayload547Reason = ClosedEnum< - typeof UserEventPayload547Reason +export type UserEventPayload552Reason = ClosedEnum< + typeof UserEventPayload552Reason >; -export const UserEventPayload547Scope = { +export const UserEventPayload552Scope = { Project: "project", Team: "team", User: "user", } as const; -export type UserEventPayload547Scope = ClosedEnum< - typeof UserEventPayload547Scope +export type UserEventPayload552Scope = ClosedEnum< + typeof UserEventPayload552Scope >; -export const UserEventPayload547Source = { +export const UserEventPayload552Source = { V0: "v0", } as const; -export type UserEventPayload547Source = ClosedEnum< - typeof UserEventPayload547Source +export type UserEventPayload552Source = ClosedEnum< + typeof UserEventPayload552Source >; /** * The payload of the event, if requested. */ -export type FiveHundredAndFortySeven = { +export type FiveHundredAndFiftyTwo = { /** * The token's public ID. */ actorTokenId: string; createdByParentTeamId?: string | undefined; expired?: boolean | undefined; - geolocation?: UserEventPayload547Geolocation | null | undefined; + geolocation?: UserEventPayload552Geolocation | null | undefined; ip?: string | null | undefined; leaked?: boolean | undefined; logoutSource?: LogoutSource | undefined; origin?: PayloadOrigin | undefined; - reason?: UserEventPayload547Reason | undefined; + reason?: UserEventPayload552Reason | undefined; reqId?: string | undefined; reqUrl?: string | undefined; revoked?: boolean | undefined; - scope?: UserEventPayload547Scope | undefined; - source?: UserEventPayload547Source | undefined; + scope?: UserEventPayload552Scope | undefined; + source?: UserEventPayload552Source | undefined; teamId?: string | undefined; tokenId: string; tokenName: string; @@ -278,35 +278,35 @@ export type FiveHundredAndFortySeven = { userAgent?: string | undefined; }; -export type UserEventPayload546Names = { +export type UserEventPayload551Names = { en: string; }; -export type UserEventPayload546City = { - names: UserEventPayload546Names; +export type UserEventPayload551City = { + names: UserEventPayload551Names; }; -export type UserEventPayload546GeolocationNames = { +export type UserEventPayload551GeolocationNames = { en: string; }; -export type UserEventPayload546Country = { - names: UserEventPayload546GeolocationNames; +export type UserEventPayload551Country = { + names: UserEventPayload551GeolocationNames; }; -export type UserEventPayload546GeolocationMostSpecificSubdivisionNames = { +export type UserEventPayload551GeolocationMostSpecificSubdivisionNames = { en: string; }; -export type UserEventPayload546MostSpecificSubdivision = { - names: UserEventPayload546GeolocationMostSpecificSubdivisionNames; +export type UserEventPayload551MostSpecificSubdivision = { + names: UserEventPayload551GeolocationMostSpecificSubdivisionNames; }; -export type UserEventPayload546Geolocation = { - city?: UserEventPayload546City | undefined; - country: UserEventPayload546Country; +export type UserEventPayload551Geolocation = { + city?: UserEventPayload551City | undefined; + country: UserEventPayload551Country; mostSpecificSubdivision?: - | UserEventPayload546MostSpecificSubdivision + | UserEventPayload551MostSpecificSubdivision | undefined; regionName?: string | undefined; }; @@ -354,7 +354,7 @@ export type ProjectScope = ClosedEnum; /** * Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. */ -export const UserEventPayload546Scope = { +export const UserEventPayload551Scope = { Project: "project", Team: "team", User: "user", @@ -362,15 +362,15 @@ export const UserEventPayload546Scope = { /** * Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. */ -export type UserEventPayload546Scope = ClosedEnum< - typeof UserEventPayload546Scope +export type UserEventPayload551Scope = ClosedEnum< + typeof UserEventPayload551Scope >; -export const UserEventPayload546Source = { +export const UserEventPayload551Source = { V0: "v0", } as const; -export type UserEventPayload546Source = ClosedEnum< - typeof UserEventPayload546Source +export type UserEventPayload551Source = ClosedEnum< + typeof UserEventPayload551Source >; /** @@ -387,13 +387,13 @@ export type PayloadTokenPrefix = ClosedEnum; /** * The payload of the event, if requested. */ -export type FiveHundredAndFortySix = { +export type FiveHundredAndFiftyOne = { createdByParentTeamId?: string | undefined; /** * Unix epoch milliseconds. Absent when the token never expires. */ expiresAt?: number | undefined; - geolocation?: UserEventPayload546Geolocation | null | undefined; + geolocation?: UserEventPayload551Geolocation | null | undefined; /** * Whether the token was issued with RFC 9396 authorization details. */ @@ -424,8 +424,8 @@ export type FiveHundredAndFortySix = { /** * Scope of the token: - `'user'`: full-account token (not tied to any team). - `'team'`: scoped to a single team. - `'project'`: scoped to a single project within a team. */ - scope: UserEventPayload546Scope; - source?: UserEventPayload546Source | undefined; + scope: UserEventPayload551Scope; + source?: UserEventPayload551Source | undefined; /** * Present when `scope` is `'team'` or `'project'`. */ @@ -469,7 +469,7 @@ export type PayloadClaims = { /** * Resource boundary, or `null` when the policy has none. */ -export type UserEventPayload545Resources = { +export type UserEventPayload550Resources = { projectIds: Array; }; @@ -499,7 +499,7 @@ export type PayloadAfter = { /** * Resource boundary, or `null` when the policy has none. */ - resources: UserEventPayload545Resources | null; + resources: UserEventPayload550Resources | null; teamId: string; /** * Last-update time (epoch ms). @@ -523,7 +523,7 @@ export type UserEventPayloadClaims = { /** * Resource boundary, or `null` when the policy has none. */ -export type UserEventPayload545BeforeResources = { +export type UserEventPayload550BeforeResources = { projectIds: Array; }; @@ -553,7 +553,7 @@ export type PayloadBefore = { /** * Resource boundary, or `null` when the policy has none. */ - resources: UserEventPayload545BeforeResources | null; + resources: UserEventPayload550BeforeResources | null; teamId: string; /** * Last-update time (epoch ms). @@ -564,7 +564,7 @@ export type PayloadBefore = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyFive = { +export type FiveHundredAndFifty = { /** * A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. */ @@ -592,7 +592,7 @@ export type Claims = { /** * Resource boundary, or `null` when the policy has none. */ -export type UserEventPayload544Resources = { +export type UserEventPayload549Resources = { projectIds: Array; }; @@ -622,7 +622,7 @@ export type Policy = { /** * Resource boundary, or `null` when the policy has none. */ - resources: UserEventPayload544Resources | null; + resources: UserEventPayload549Resources | null; teamId: string; /** * Last-update time (epoch ms). @@ -633,7 +633,7 @@ export type Policy = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyFour = { +export type FiveHundredAndFortyNine = { /** * A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape. */ @@ -644,7 +644,7 @@ export type FiveHundredAndFortyFour = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyThree = { +export type FiveHundredAndFortyEight = { domain: string; projectId: string; }; @@ -698,28 +698,28 @@ export const AuthMethod = { } as const; export type AuthMethod = ClosedEnum; -export type UserEventPayload542Names = { +export type UserEventPayload547Names = { en: string; }; export type UserEventPayloadCity = { - names: UserEventPayload542Names; + names: UserEventPayload547Names; }; -export type UserEventPayload542GeolocationNames = { +export type UserEventPayload547GeolocationNames = { en: string; }; export type UserEventPayloadCountry = { - names: UserEventPayload542GeolocationNames; + names: UserEventPayload547GeolocationNames; }; -export type UserEventPayload542GeolocationMostSpecificSubdivisionNames = { +export type UserEventPayload547GeolocationMostSpecificSubdivisionNames = { en: string; }; export type UserEventPayloadMostSpecificSubdivision = { - names: UserEventPayload542GeolocationMostSpecificSubdivisionNames; + names: UserEventPayload547GeolocationMostSpecificSubdivisionNames; }; /** @@ -766,7 +766,7 @@ export type TokenPrefix = ClosedEnum; /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyTwo = { +export type FiveHundredAndFortySeven = { /** * optional since entries prior to 2025-10-13 do not contain app information */ @@ -844,37 +844,37 @@ export type FiveHundredAndFortyTwo = { userAgent?: string | undefined; }; -export type UserEventPayload541Next = { +export type UserEventPayload546Next = { enabled: boolean; issuerUrls: Array; }; -export type UserEventPayload541Previous = { +export type UserEventPayload546Previous = { enabled: boolean; issuerUrls: Array; }; -export const UserEventPayload541Scope = { +export const UserEventPayload546Scope = { Organization: "organization", Team: "team", } as const; -export type UserEventPayload541Scope = ClosedEnum< - typeof UserEventPayload541Scope +export type UserEventPayload546Scope = ClosedEnum< + typeof UserEventPayload546Scope >; /** * The payload of the event, if requested. */ -export type FiveHundredAndFortyOne = { - next: UserEventPayload541Next; - previous: UserEventPayload541Previous; - scope: UserEventPayload541Scope; +export type FiveHundredAndFortySix = { + next: UserEventPayload546Next; + previous: UserEventPayload546Previous; + scope: UserEventPayload546Scope; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndForty = { +export type FiveHundredAndFortyFive = { deploymentId: string; projectId: string; projectName?: string | undefined; @@ -899,7 +899,7 @@ export type UserEventNextPayload1 = { access: UserEventNextPayloadAccess; }; -export type UserEventPayload539Next = +export type UserEventPayload544Next = | (UserEventNextPayload1 & { access: "default" }) | (UserEventNextPayload1 & { access: "none" }) | (UserEventNextPayload1 & { access: "unlimited" }) @@ -923,7 +923,7 @@ export type UserEventPreviousPayload1 = { access: UserEventPreviousPayloadAccess; }; -export type UserEventPayload539Previous = +export type UserEventPayload544Previous = | (UserEventPreviousPayload1 & { access: "default" }) | (UserEventPreviousPayload1 & { access: "none" }) | (UserEventPreviousPayload1 & { access: "unlimited" }) @@ -932,7 +932,7 @@ export type UserEventPayload539Previous = /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyNine = { +export type FiveHundredAndFortyFour = { next: | (UserEventNextPayload1 & { access: "default" }) | (UserEventNextPayload1 & { access: "none" }) @@ -961,7 +961,7 @@ export type UserEventNext1 = { access: NextAccess; }; -export type UserEventPayload538Next = +export type UserEventPayload543Next = | (UserEventNext1 & { access: "default" }) | (UserEventNext1 & { access: "none" }) | (UserEventNext1 & { access: "unlimited" }) @@ -983,7 +983,7 @@ export type UserEventPrevious1 = { access: PreviousAccess; }; -export type UserEventPayload538Previous = +export type UserEventPayload543Previous = | (UserEventPrevious1 & { access: "default" }) | (UserEventPrevious1 & { access: "none" }) | (UserEventPrevious1 & { access: "unlimited" }) @@ -992,7 +992,7 @@ export type UserEventPayload538Previous = /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyEight = { +export type FiveHundredAndFortyThree = { next: | (UserEventNext1 & { access: "default" }) | (UserEventNext1 & { access: "none" }) @@ -1010,7 +1010,7 @@ export type FiveHundredAndThirtyEight = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtySeven = { +export type FiveHundredAndFortyTwo = { chatId: string; chatTitle?: string | undefined; messageId: string; @@ -1030,7 +1030,7 @@ export type Events = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtySix = { +export type FiveHundredAndFortyOne = { chatId: string; events: Array; inputTokens: number; @@ -1044,7 +1044,7 @@ export type FiveHundredAndThirtySix = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyFive = { +export type FiveHundredAndForty = { chatId: string; chatTitle?: string | undefined; }; @@ -1052,7 +1052,7 @@ export type FiveHundredAndThirtyFive = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyFour = { +export type FiveHundredAndThirtyNine = { id: string; url: string; }; @@ -1066,7 +1066,7 @@ export type Tier = ClosedEnum; /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyThree = { +export type FiveHundredAndThirtyEight = { tier: Tier; }; @@ -1076,7 +1076,7 @@ export const Cadence = { } as const; export type Cadence = ClosedEnum; -export type UserEventPayload532Team = { +export type UserEventPayload537Team = { id: string; name?: string | undefined; }; @@ -1084,13 +1084,13 @@ export type UserEventPayload532Team = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyTwo = { +export type FiveHundredAndThirtySeven = { cadence: Cadence; projectIds: Array; - team: UserEventPayload532Team; + team: UserEventPayload537Team; }; -export type UserEventPayload531Configuration = { +export type UserEventPayload536Configuration = { id: string; name?: string | undefined; }; @@ -1100,7 +1100,7 @@ export type UserEventPayloadPeering = { name?: string | undefined; }; -export type UserEventPayload531Team = { +export type UserEventPayload536Team = { id: string; name: string; }; @@ -1108,14 +1108,14 @@ export type UserEventPayload531Team = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirtyOne = { - configuration: UserEventPayload531Configuration; +export type FiveHundredAndThirtySix = { + configuration: UserEventPayload536Configuration; newName?: string | undefined; peering: UserEventPayloadPeering; - team: UserEventPayload531Team; + team: UserEventPayload536Team; }; -export type UserEventPayload530Configuration = { +export type UserEventPayload535Configuration = { id: string; name?: string | undefined; }; @@ -1125,7 +1125,7 @@ export type PayloadPeering = { name?: string | undefined; }; -export type UserEventPayload530Team = { +export type UserEventPayload535Team = { id: string; name: string; }; @@ -1133,13 +1133,13 @@ export type UserEventPayload530Team = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirty = { - configuration: UserEventPayload530Configuration; +export type FiveHundredAndThirtyFive = { + configuration: UserEventPayload535Configuration; peering: PayloadPeering; - team: UserEventPayload530Team; + team: UserEventPayload535Team; }; -export type UserEventPayload529Configuration = { +export type UserEventPayload534Configuration = { id: string; name?: string | undefined; }; @@ -1151,7 +1151,7 @@ export type Peering = { vpcId: string; }; -export type UserEventPayload529Team = { +export type UserEventPayload534Team = { id: string; name: string; }; @@ -1159,16 +1159,16 @@ export type UserEventPayload529Team = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyNine = { - configuration: UserEventPayload529Configuration; +export type FiveHundredAndThirtyFour = { + configuration: UserEventPayload534Configuration; peering: Peering; - team: UserEventPayload529Team; + team: UserEventPayload534Team; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyEight = { +export type FiveHundredAndThirtyThree = { protectedProjectCount: number; protectionEnabled: boolean; vulnerabilities: Array; @@ -1177,7 +1177,7 @@ export type FiveHundredAndTwentyEight = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentySeven = { +export type FiveHundredAndThirtyTwo = { commitSha: string; invocationId: string; organizationId: string; @@ -1188,7 +1188,7 @@ export type FiveHundredAndTwentySeven = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentySix = { +export type FiveHundredAndThirtyOne = { ciEnabled: boolean; organizationId: string; repository: string; @@ -1197,7 +1197,7 @@ export type FiveHundredAndTwentySix = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyFive = { +export type FiveHundredAndThirty = { enabled: boolean; organizationId?: string | undefined; repository?: string | undefined; @@ -1207,7 +1207,7 @@ export type FiveHundredAndTwentyFive = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyFour = { +export type FiveHundredAndTwentyNine = { alertType: string; groupId: string; projectId: string; @@ -1247,7 +1247,7 @@ export type PayloadDestinations = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyThree = { +export type FiveHundredAndTwentyEight = { alertType: string; groupId: string; projectId: string; @@ -1285,7 +1285,7 @@ export type Destinations = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyTwo = { +export type FiveHundredAndTwentySeven = { alertType: string; groupId: string; projectId: string; @@ -1302,7 +1302,7 @@ export type Detections = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwentyOne = { +export type FiveHundredAndTwentySix = { alertType: string; groupId: string; projectId: string; @@ -1314,14 +1314,14 @@ export type FiveHundredAndTwentyOne = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwenty = { +export type FiveHundredAndTwentyFive = { customAlertTitle: string; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndNineteen = { +export type FiveHundredAndTwentyFour = { nextProjectCount: number | null; previousProjectCount: number | null; }; @@ -1329,14 +1329,14 @@ export type FiveHundredAndNineteen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndEighteen = { +export type FiveHundredAndTwentyThree = { ruleName: string; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndSeventeen = { +export type FiveHundredAndTwentyTwo = { projectId: string; projectName: string; removedTeamIds: Array; @@ -1346,7 +1346,7 @@ export type FiveHundredAndSeventeen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndSixteen = { +export type FiveHundredAndTwentyOne = { projectId: string; projectName: string; public: boolean; @@ -1356,7 +1356,7 @@ export type FiveHundredAndSixteen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFifteen = { +export type FiveHundredAndTwenty = { projectId: string; projectName: string; repositoryName: string; @@ -1366,7 +1366,7 @@ export type FiveHundredAndFifteen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndFourteen = { +export type FiveHundredAndNineteen = { projectId: string; projectName: string; repositoryName: string; @@ -1377,7 +1377,7 @@ export type FiveHundredAndFourteen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndThirteen = { +export type FiveHundredAndEighteen = { projectId: string; projectName: string; reference: string; @@ -1387,7 +1387,7 @@ export type FiveHundredAndThirteen = { /** * The payload of the event, if requested. */ -export type FiveHundredAndTwelve = { +export type FiveHundredAndSeventeen = { digest: string; projectId: string; projectName: string; @@ -1398,43 +1398,43 @@ export type FiveHundredAndTwelve = { /** * The payload of the event, if requested. */ -export type FiveHundredAndEleven = { +export type FiveHundredAndSixteen = { projectId: string; projectName: string; repositoryName: string; }; -export const UserEventPayload510ActorType = { +export const UserEventPayload515ActorType = { Admin: "admin", } as const; -export type UserEventPayload510ActorType = ClosedEnum< - typeof UserEventPayload510ActorType +export type UserEventPayload515ActorType = ClosedEnum< + typeof UserEventPayload515ActorType >; /** * The payload of the event, if requested. */ -export type FiveHundredAndTen = { +export type FiveHundredAndFifteen = { username: string; /** * Okta user id. */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload510ActorType; + actorType: UserEventPayload515ActorType; }; -export const UserEventPayload509ActorType = { +export const UserEventPayload514ActorType = { Admin: "admin", } as const; -export type UserEventPayload509ActorType = ClosedEnum< - typeof UserEventPayload509ActorType +export type UserEventPayload514ActorType = ClosedEnum< + typeof UserEventPayload514ActorType >; /** * The payload of the event, if requested. */ -export type FiveHundredAndNine = { +export type FiveHundredAndFourteen = { email: string; prevEmail: string; /** @@ -1442,13 +1442,13 @@ export type FiveHundredAndNine = { */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload509ActorType; + actorType: UserEventPayload514ActorType; }; /** * The payload of the event, if requested. */ -export type FiveHundredAndEight = { +export type FiveHundredAndThirteen = { email: string; prevEmail: string; }; @@ -1484,20 +1484,22 @@ export const PayloadOutcome = { export type PayloadOutcome = ClosedEnum; /** @internal */ -export const Categories$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Categories); +export const Categories$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Categories)); /** @internal */ -export const Display$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Display); +export const Display$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Display)); /** @internal */ export const Details$inboundSchema: z.ZodType = - z.object({ - display: types.optional(Display$inboundSchema), - label: types.string(), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + display: types.optional(Display$inboundSchema), + label: types.string(), + value: types.string(), + }) + ); export function detailsFromJSON( jsonString: string, @@ -1512,18 +1514,20 @@ export function detailsFromJSON( /** @internal */ export const UserEventEntitiesType$inboundSchema: z.ZodNativeEnum< typeof UserEventEntitiesType -> = z.nativeEnum(UserEventEntitiesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventEntitiesType)); /** @internal */ export const Entities$inboundSchema: z.ZodType< Entities, z.ZodTypeDef, unknown -> = z.object({ - end: types.number(), - start: types.number(), - type: UserEventEntitiesType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + end: types.number(), + start: types.number(), + type: UserEventEntitiesType$inboundSchema, + }) +); export function entitiesFromJSON( jsonString: string, @@ -1536,621 +1540,669 @@ export function entitiesFromJSON( } /** @internal */ -export const UserEventPayload548Names$inboundSchema: z.ZodType< - UserEventPayload548Names, +export const UserEventPayload553Names$inboundSchema: z.ZodType< + UserEventPayload553Names, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload548NamesFromJSON( +export function userEventPayload553NamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload548Names$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548Names' from JSON`, + (x) => UserEventPayload553Names$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload553Names' from JSON`, ); } /** @internal */ -export const UserEventPayload548City$inboundSchema: z.ZodType< - UserEventPayload548City, +export const UserEventPayload553City$inboundSchema: z.ZodType< + UserEventPayload553City, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload548Names$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload553Names$inboundSchema), + }) +); -export function userEventPayload548CityFromJSON( +export function userEventPayload553CityFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload548City$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548City' from JSON`, + (x) => UserEventPayload553City$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload553City' from JSON`, ); } /** @internal */ -export const UserEventPayload548GeolocationNames$inboundSchema: z.ZodType< - UserEventPayload548GeolocationNames, +export const UserEventPayload553GeolocationNames$inboundSchema: z.ZodType< + UserEventPayload553GeolocationNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload548GeolocationNamesFromJSON( +export function userEventPayload553GeolocationNamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventPayload548GeolocationNames$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548GeolocationNames' from JSON`, + UserEventPayload553GeolocationNames$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload553GeolocationNames' from JSON`, ); } /** @internal */ -export const UserEventPayload548Country$inboundSchema: z.ZodType< - UserEventPayload548Country, +export const UserEventPayload553Country$inboundSchema: z.ZodType< + UserEventPayload553Country, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload548GeolocationNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload553GeolocationNames$inboundSchema), + }) +); -export function userEventPayload548CountryFromJSON( +export function userEventPayload553CountryFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload548Country$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548Country' from JSON`, + (x) => UserEventPayload553Country$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload553Country' from JSON`, ); } /** @internal */ -export const UserEventPayload548GeolocationMostSpecificSubdivisionNames$inboundSchema: +export const UserEventPayload553GeolocationMostSpecificSubdivisionNames$inboundSchema: z.ZodType< - UserEventPayload548GeolocationMostSpecificSubdivisionNames, + UserEventPayload553GeolocationMostSpecificSubdivisionNames, z.ZodTypeDef, unknown - > = z.object({ - en: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); -export function userEventPayload548GeolocationMostSpecificSubdivisionNamesFromJSON( +export function userEventPayload553GeolocationMostSpecificSubdivisionNamesFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload548GeolocationMostSpecificSubdivisionNames, + UserEventPayload553GeolocationMostSpecificSubdivisionNames, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload548GeolocationMostSpecificSubdivisionNames$inboundSchema + UserEventPayload553GeolocationMostSpecificSubdivisionNames$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548GeolocationMostSpecificSubdivisionNames' from JSON`, + `Failed to parse 'UserEventPayload553GeolocationMostSpecificSubdivisionNames' from JSON`, ); } /** @internal */ -export const UserEventPayload548MostSpecificSubdivision$inboundSchema: - z.ZodType = - z.object({ - names: z.lazy(() => - UserEventPayload548GeolocationMostSpecificSubdivisionNames$inboundSchema - ), - }); +export const UserEventPayload553MostSpecificSubdivision$inboundSchema: + z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => + UserEventPayload553GeolocationMostSpecificSubdivisionNames$inboundSchema + ), + }) + ); -export function userEventPayload548MostSpecificSubdivisionFromJSON( +export function userEventPayload553MostSpecificSubdivisionFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload548MostSpecificSubdivision, + UserEventPayload553MostSpecificSubdivision, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload548MostSpecificSubdivision$inboundSchema.parse( + UserEventPayload553MostSpecificSubdivision$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'UserEventPayload548MostSpecificSubdivision' from JSON`, + `Failed to parse 'UserEventPayload553MostSpecificSubdivision' from JSON`, ); } /** @internal */ -export const UserEventPayload548Geolocation$inboundSchema: z.ZodType< - UserEventPayload548Geolocation, +export const UserEventPayload553Geolocation$inboundSchema: z.ZodType< + UserEventPayload553Geolocation, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => UserEventPayload548City$inboundSchema)), - country: z.lazy(() => UserEventPayload548Country$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => UserEventPayload548MostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); - -export function userEventPayload548GeolocationFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => UserEventPayload553City$inboundSchema)), + country: z.lazy(() => UserEventPayload553Country$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => UserEventPayload553MostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); + +export function userEventPayload553GeolocationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload548Geolocation$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload548Geolocation' from JSON`, + (x) => UserEventPayload553Geolocation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload553Geolocation' from JSON`, ); } /** @internal */ -export const FiveHundredAndFortyEight$inboundSchema: z.ZodType< - FiveHundredAndFortyEight, +export const FiveHundredAndFiftyThree$inboundSchema: z.ZodType< + FiveHundredAndFiftyThree, z.ZodTypeDef, unknown -> = z.object({ - actorTokenId: types.string(), - deletedCount: types.number(), - geolocation: z.nullable( - z.lazy(() => UserEventPayload548Geolocation$inboundSchema), - ).optional(), - ip: z.nullable(types.string()).optional(), - reqId: types.optional(types.string()), - reqUrl: types.optional(types.string()), - userAgent: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorTokenId: types.string(), + deletedCount: types.number(), + geolocation: z.nullable( + z.lazy(() => UserEventPayload553Geolocation$inboundSchema), + ).optional(), + ip: z.nullable(types.string()).optional(), + reqId: types.optional(types.string()), + reqUrl: types.optional(types.string()), + userAgent: types.optional(types.string()), + }) +); -export function fiveHundredAndFortyEightFromJSON( +export function fiveHundredAndFiftyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyEight' from JSON`, + (x) => FiveHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFiftyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload547Names$inboundSchema: z.ZodType< - UserEventPayload547Names, +export const UserEventPayload552Names$inboundSchema: z.ZodType< + UserEventPayload552Names, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload547NamesFromJSON( +export function userEventPayload552NamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload547Names$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547Names' from JSON`, + (x) => UserEventPayload552Names$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload552Names' from JSON`, ); } /** @internal */ -export const UserEventPayload547City$inboundSchema: z.ZodType< - UserEventPayload547City, +export const UserEventPayload552City$inboundSchema: z.ZodType< + UserEventPayload552City, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload547Names$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload552Names$inboundSchema), + }) +); -export function userEventPayload547CityFromJSON( +export function userEventPayload552CityFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload547City$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547City' from JSON`, + (x) => UserEventPayload552City$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload552City' from JSON`, ); } /** @internal */ -export const UserEventPayload547GeolocationNames$inboundSchema: z.ZodType< - UserEventPayload547GeolocationNames, +export const UserEventPayload552GeolocationNames$inboundSchema: z.ZodType< + UserEventPayload552GeolocationNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload547GeolocationNamesFromJSON( +export function userEventPayload552GeolocationNamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventPayload547GeolocationNames$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547GeolocationNames' from JSON`, + UserEventPayload552GeolocationNames$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload552GeolocationNames' from JSON`, ); } /** @internal */ -export const UserEventPayload547Country$inboundSchema: z.ZodType< - UserEventPayload547Country, +export const UserEventPayload552Country$inboundSchema: z.ZodType< + UserEventPayload552Country, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload547GeolocationNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload552GeolocationNames$inboundSchema), + }) +); -export function userEventPayload547CountryFromJSON( +export function userEventPayload552CountryFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload547Country$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547Country' from JSON`, + (x) => UserEventPayload552Country$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload552Country' from JSON`, ); } /** @internal */ -export const UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema: +export const UserEventPayload552GeolocationMostSpecificSubdivisionNames$inboundSchema: z.ZodType< - UserEventPayload547GeolocationMostSpecificSubdivisionNames, + UserEventPayload552GeolocationMostSpecificSubdivisionNames, z.ZodTypeDef, unknown - > = z.object({ - en: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); -export function userEventPayload547GeolocationMostSpecificSubdivisionNamesFromJSON( +export function userEventPayload552GeolocationMostSpecificSubdivisionNamesFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload547GeolocationMostSpecificSubdivisionNames, + UserEventPayload552GeolocationMostSpecificSubdivisionNames, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema + UserEventPayload552GeolocationMostSpecificSubdivisionNames$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547GeolocationMostSpecificSubdivisionNames' from JSON`, + `Failed to parse 'UserEventPayload552GeolocationMostSpecificSubdivisionNames' from JSON`, ); } /** @internal */ -export const UserEventPayload547MostSpecificSubdivision$inboundSchema: - z.ZodType = - z.object({ - names: z.lazy(() => - UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema - ), - }); +export const UserEventPayload552MostSpecificSubdivision$inboundSchema: + z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => + UserEventPayload552GeolocationMostSpecificSubdivisionNames$inboundSchema + ), + }) + ); -export function userEventPayload547MostSpecificSubdivisionFromJSON( +export function userEventPayload552MostSpecificSubdivisionFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload547MostSpecificSubdivision, + UserEventPayload552MostSpecificSubdivision, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload547MostSpecificSubdivision$inboundSchema.parse( + UserEventPayload552MostSpecificSubdivision$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'UserEventPayload547MostSpecificSubdivision' from JSON`, + `Failed to parse 'UserEventPayload552MostSpecificSubdivision' from JSON`, ); } /** @internal */ -export const UserEventPayload547Geolocation$inboundSchema: z.ZodType< - UserEventPayload547Geolocation, +export const UserEventPayload552Geolocation$inboundSchema: z.ZodType< + UserEventPayload552Geolocation, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => UserEventPayload547City$inboundSchema)), - country: z.lazy(() => UserEventPayload547Country$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => UserEventPayload547MostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); - -export function userEventPayload547GeolocationFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => UserEventPayload552City$inboundSchema)), + country: z.lazy(() => UserEventPayload552Country$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => UserEventPayload552MostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); + +export function userEventPayload552GeolocationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload547Geolocation$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload547Geolocation' from JSON`, + (x) => UserEventPayload552Geolocation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload552Geolocation' from JSON`, ); } /** @internal */ export const LogoutSource$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(LogoutSource); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(LogoutSource)); /** @internal */ export const PayloadOrigin$inboundSchema: z.ZodNativeEnum< typeof PayloadOrigin -> = z.nativeEnum(PayloadOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadOrigin)); /** @internal */ -export const UserEventPayload547Reason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload547Reason -> = z.nativeEnum(UserEventPayload547Reason); +export const UserEventPayload552Reason$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload552Reason +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload552Reason)); /** @internal */ -export const UserEventPayload547Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload547Scope -> = z.nativeEnum(UserEventPayload547Scope); +export const UserEventPayload552Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload552Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload552Scope)); /** @internal */ -export const UserEventPayload547Source$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload547Source -> = z.nativeEnum(UserEventPayload547Source); +export const UserEventPayload552Source$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload552Source +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload552Source)); /** @internal */ -export const FiveHundredAndFortySeven$inboundSchema: z.ZodType< - FiveHundredAndFortySeven, +export const FiveHundredAndFiftyTwo$inboundSchema: z.ZodType< + FiveHundredAndFiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - actorTokenId: types.string(), - createdByParentTeamId: types.optional(types.string()), - expired: types.optional(types.boolean()), - geolocation: z.nullable( - z.lazy(() => UserEventPayload547Geolocation$inboundSchema), - ).optional(), - ip: z.nullable(types.string()).optional(), - leaked: types.optional(types.boolean()), - logoutSource: types.optional(LogoutSource$inboundSchema), - origin: types.optional(PayloadOrigin$inboundSchema), - reason: types.optional(UserEventPayload547Reason$inboundSchema), - reqId: types.optional(types.string()), - reqUrl: types.optional(types.string()), - revoked: types.optional(types.boolean()), - scope: types.optional(UserEventPayload547Scope$inboundSchema), - source: types.optional(UserEventPayload547Source$inboundSchema), - teamId: types.optional(types.string()), - tokenId: types.string(), - tokenName: types.string(), - tokenType: types.string(), - userAgent: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorTokenId: types.string(), + createdByParentTeamId: types.optional(types.string()), + expired: types.optional(types.boolean()), + geolocation: z.nullable( + z.lazy(() => UserEventPayload552Geolocation$inboundSchema), + ).optional(), + ip: z.nullable(types.string()).optional(), + leaked: types.optional(types.boolean()), + logoutSource: types.optional(LogoutSource$inboundSchema), + origin: types.optional(PayloadOrigin$inboundSchema), + reason: types.optional(UserEventPayload552Reason$inboundSchema), + reqId: types.optional(types.string()), + reqUrl: types.optional(types.string()), + revoked: types.optional(types.boolean()), + scope: types.optional(UserEventPayload552Scope$inboundSchema), + source: types.optional(UserEventPayload552Source$inboundSchema), + teamId: types.optional(types.string()), + tokenId: types.string(), + tokenName: types.string(), + tokenType: types.string(), + userAgent: types.optional(types.string()), + }) +); -export function fiveHundredAndFortySevenFromJSON( +export function fiveHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortySeven' from JSON`, + (x) => FiveHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFiftyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload546Names$inboundSchema: z.ZodType< - UserEventPayload546Names, +export const UserEventPayload551Names$inboundSchema: z.ZodType< + UserEventPayload551Names, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload546NamesFromJSON( +export function userEventPayload551NamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload546Names$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546Names' from JSON`, + (x) => UserEventPayload551Names$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload551Names' from JSON`, ); } /** @internal */ -export const UserEventPayload546City$inboundSchema: z.ZodType< - UserEventPayload546City, +export const UserEventPayload551City$inboundSchema: z.ZodType< + UserEventPayload551City, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload546Names$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload551Names$inboundSchema), + }) +); -export function userEventPayload546CityFromJSON( +export function userEventPayload551CityFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload546City$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546City' from JSON`, + (x) => UserEventPayload551City$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload551City' from JSON`, ); } /** @internal */ -export const UserEventPayload546GeolocationNames$inboundSchema: z.ZodType< - UserEventPayload546GeolocationNames, +export const UserEventPayload551GeolocationNames$inboundSchema: z.ZodType< + UserEventPayload551GeolocationNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload546GeolocationNamesFromJSON( +export function userEventPayload551GeolocationNamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventPayload546GeolocationNames$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546GeolocationNames' from JSON`, + UserEventPayload551GeolocationNames$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload551GeolocationNames' from JSON`, ); } /** @internal */ -export const UserEventPayload546Country$inboundSchema: z.ZodType< - UserEventPayload546Country, +export const UserEventPayload551Country$inboundSchema: z.ZodType< + UserEventPayload551Country, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload546GeolocationNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload551GeolocationNames$inboundSchema), + }) +); -export function userEventPayload546CountryFromJSON( +export function userEventPayload551CountryFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload546Country$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546Country' from JSON`, + (x) => UserEventPayload551Country$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload551Country' from JSON`, ); } /** @internal */ -export const UserEventPayload546GeolocationMostSpecificSubdivisionNames$inboundSchema: +export const UserEventPayload551GeolocationMostSpecificSubdivisionNames$inboundSchema: z.ZodType< - UserEventPayload546GeolocationMostSpecificSubdivisionNames, + UserEventPayload551GeolocationMostSpecificSubdivisionNames, z.ZodTypeDef, unknown - > = z.object({ - en: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); -export function userEventPayload546GeolocationMostSpecificSubdivisionNamesFromJSON( +export function userEventPayload551GeolocationMostSpecificSubdivisionNamesFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload546GeolocationMostSpecificSubdivisionNames, + UserEventPayload551GeolocationMostSpecificSubdivisionNames, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload546GeolocationMostSpecificSubdivisionNames$inboundSchema + UserEventPayload551GeolocationMostSpecificSubdivisionNames$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546GeolocationMostSpecificSubdivisionNames' from JSON`, + `Failed to parse 'UserEventPayload551GeolocationMostSpecificSubdivisionNames' from JSON`, ); } /** @internal */ -export const UserEventPayload546MostSpecificSubdivision$inboundSchema: - z.ZodType = - z.object({ - names: z.lazy(() => - UserEventPayload546GeolocationMostSpecificSubdivisionNames$inboundSchema - ), - }); +export const UserEventPayload551MostSpecificSubdivision$inboundSchema: + z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => + UserEventPayload551GeolocationMostSpecificSubdivisionNames$inboundSchema + ), + }) + ); -export function userEventPayload546MostSpecificSubdivisionFromJSON( +export function userEventPayload551MostSpecificSubdivisionFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload546MostSpecificSubdivision, + UserEventPayload551MostSpecificSubdivision, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload546MostSpecificSubdivision$inboundSchema.parse( + UserEventPayload551MostSpecificSubdivision$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'UserEventPayload546MostSpecificSubdivision' from JSON`, + `Failed to parse 'UserEventPayload551MostSpecificSubdivision' from JSON`, ); } /** @internal */ -export const UserEventPayload546Geolocation$inboundSchema: z.ZodType< - UserEventPayload546Geolocation, +export const UserEventPayload551Geolocation$inboundSchema: z.ZodType< + UserEventPayload551Geolocation, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => UserEventPayload546City$inboundSchema)), - country: z.lazy(() => UserEventPayload546Country$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => UserEventPayload546MostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); - -export function userEventPayload546GeolocationFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => UserEventPayload551City$inboundSchema)), + country: z.lazy(() => UserEventPayload551Country$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => UserEventPayload551MostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); + +export function userEventPayload551GeolocationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload546Geolocation$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload546Geolocation' from JSON`, + (x) => UserEventPayload551Geolocation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload551Geolocation' from JSON`, ); } /** @internal */ -export const Origin$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Origin); +export const Origin$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Origin)); /** @internal */ export const ProjectScope$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(ProjectScope); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProjectScope)); /** @internal */ -export const UserEventPayload546Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload546Scope -> = z.nativeEnum(UserEventPayload546Scope); +export const UserEventPayload551Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload551Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload551Scope)); /** @internal */ -export const UserEventPayload546Source$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload546Source -> = z.nativeEnum(UserEventPayload546Source); +export const UserEventPayload551Source$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload551Source +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload551Source)); /** @internal */ export const PayloadTokenPrefix$inboundSchema: z.ZodNativeEnum< typeof PayloadTokenPrefix -> = z.nativeEnum(PayloadTokenPrefix); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadTokenPrefix)); /** @internal */ -export const FiveHundredAndFortySix$inboundSchema: z.ZodType< - FiveHundredAndFortySix, +export const FiveHundredAndFiftyOne$inboundSchema: z.ZodType< + FiveHundredAndFiftyOne, z.ZodTypeDef, unknown -> = z.object({ - createdByParentTeamId: types.optional(types.string()), - expiresAt: types.optional(types.number()), - geolocation: z.nullable( - z.lazy(() => UserEventPayload546Geolocation$inboundSchema), - ).optional(), - hasAuthorizationDetails: types.optional(types.boolean()), - ip: z.nullable(types.string()).optional(), - organizationScope: types.optional(types.boolean()), - origin: Origin$inboundSchema, - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - projectScope: types.optional(ProjectScope$inboundSchema), - reqId: types.optional(types.string()), - reqUrl: types.optional(types.string()), - scope: UserEventPayload546Scope$inboundSchema, - source: types.optional(UserEventPayload546Source$inboundSchema), - teamId: types.optional(types.string()), - teamSlug: types.optional(types.string()), - tokenId: types.string(), - tokenName: types.string(), - tokenPrefix: types.optional(PayloadTokenPrefix$inboundSchema), - tokenSuffix: types.optional(types.string()), - userAgent: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdByParentTeamId: types.optional(types.string()), + expiresAt: types.optional(types.number()), + geolocation: z.nullable( + z.lazy(() => UserEventPayload551Geolocation$inboundSchema), + ).optional(), + hasAuthorizationDetails: types.optional(types.boolean()), + ip: z.nullable(types.string()).optional(), + organizationScope: types.optional(types.boolean()), + origin: Origin$inboundSchema, + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + projectScope: types.optional(ProjectScope$inboundSchema), + reqId: types.optional(types.string()), + reqUrl: types.optional(types.string()), + scope: UserEventPayload551Scope$inboundSchema, + source: types.optional(UserEventPayload551Source$inboundSchema), + teamId: types.optional(types.string()), + teamSlug: types.optional(types.string()), + tokenId: types.string(), + tokenName: types.string(), + tokenPrefix: types.optional(PayloadTokenPrefix$inboundSchema), + tokenSuffix: types.optional(types.string()), + userAgent: types.optional(types.string()), + }) +); -export function fiveHundredAndFortySixFromJSON( +export function fiveHundredAndFiftyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortySix' from JSON`, + (x) => FiveHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFiftyOne' from JSON`, ); } @@ -2159,10 +2211,12 @@ export const PayloadValues$inboundSchema: z.ZodType< PayloadValues, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), - wildcards: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + wildcards: types.boolean(), + }) +); export function payloadValuesFromJSON( jsonString: string, @@ -2179,10 +2233,12 @@ export const PayloadClaims$inboundSchema: z.ZodType< PayloadClaims, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - values: z.array(z.lazy(() => PayloadValues$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + values: z.array(z.lazy(() => PayloadValues$inboundSchema)), + }) +); export function payloadClaimsFromJSON( jsonString: string, @@ -2195,21 +2251,23 @@ export function payloadClaimsFromJSON( } /** @internal */ -export const UserEventPayload545Resources$inboundSchema: z.ZodType< - UserEventPayload545Resources, +export const UserEventPayload550Resources$inboundSchema: z.ZodType< + UserEventPayload550Resources, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.array(types.string()), + }) +); -export function userEventPayload545ResourcesFromJSON( +export function userEventPayload550ResourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload545Resources$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload545Resources' from JSON`, + (x) => UserEventPayload550Resources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload550Resources' from JSON`, ); } @@ -2218,20 +2276,22 @@ export const PayloadAfter$inboundSchema: z.ZodType< PayloadAfter, z.ZodTypeDef, unknown -> = z.object({ - claims: z.array(z.lazy(() => PayloadClaims$inboundSchema)), - clientId: types.string(), - createdAt: types.number(), - issuerUrl: types.string(), - name: types.nullable(types.string()), - permissions: z.array(types.string()), - policyId: types.string(), - resources: types.nullable( - z.lazy(() => UserEventPayload545Resources$inboundSchema), - ), - teamId: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claims: z.array(z.lazy(() => PayloadClaims$inboundSchema)), + clientId: types.string(), + createdAt: types.number(), + issuerUrl: types.string(), + name: types.nullable(types.string()), + permissions: z.array(types.string()), + policyId: types.string(), + resources: types.nullable( + z.lazy(() => UserEventPayload550Resources$inboundSchema), + ), + teamId: types.string(), + updatedAt: types.number(), + }) +); export function payloadAfterFromJSON( jsonString: string, @@ -2248,10 +2308,12 @@ export const UserEventPayloadValues$inboundSchema: z.ZodType< UserEventPayloadValues, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), - wildcards: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + wildcards: types.boolean(), + }) +); export function userEventPayloadValuesFromJSON( jsonString: string, @@ -2268,10 +2330,12 @@ export const UserEventPayloadClaims$inboundSchema: z.ZodType< UserEventPayloadClaims, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - values: z.array(z.lazy(() => UserEventPayloadValues$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + values: z.array(z.lazy(() => UserEventPayloadValues$inboundSchema)), + }) +); export function userEventPayloadClaimsFromJSON( jsonString: string, @@ -2284,22 +2348,24 @@ export function userEventPayloadClaimsFromJSON( } /** @internal */ -export const UserEventPayload545BeforeResources$inboundSchema: z.ZodType< - UserEventPayload545BeforeResources, +export const UserEventPayload550BeforeResources$inboundSchema: z.ZodType< + UserEventPayload550BeforeResources, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.array(types.string()), + }) +); -export function userEventPayload545BeforeResourcesFromJSON( +export function userEventPayload550BeforeResourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventPayload545BeforeResources$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload545BeforeResources' from JSON`, + UserEventPayload550BeforeResources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload550BeforeResources' from JSON`, ); } @@ -2308,20 +2374,22 @@ export const PayloadBefore$inboundSchema: z.ZodType< PayloadBefore, z.ZodTypeDef, unknown -> = z.object({ - claims: z.array(z.lazy(() => UserEventPayloadClaims$inboundSchema)), - clientId: types.string(), - createdAt: types.number(), - issuerUrl: types.string(), - name: types.nullable(types.string()), - permissions: z.array(types.string()), - policyId: types.string(), - resources: types.nullable( - z.lazy(() => UserEventPayload545BeforeResources$inboundSchema), - ), - teamId: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claims: z.array(z.lazy(() => UserEventPayloadClaims$inboundSchema)), + clientId: types.string(), + createdAt: types.number(), + issuerUrl: types.string(), + name: types.nullable(types.string()), + permissions: z.array(types.string()), + policyId: types.string(), + resources: types.nullable( + z.lazy(() => UserEventPayload550BeforeResources$inboundSchema), + ), + teamId: types.string(), + updatedAt: types.number(), + }) +); export function payloadBeforeFromJSON( jsonString: string, @@ -2334,32 +2402,36 @@ export function payloadBeforeFromJSON( } /** @internal */ -export const FiveHundredAndFortyFive$inboundSchema: z.ZodType< - FiveHundredAndFortyFive, +export const FiveHundredAndFifty$inboundSchema: z.ZodType< + FiveHundredAndFifty, z.ZodTypeDef, unknown -> = z.object({ - after: z.lazy(() => PayloadAfter$inboundSchema), - before: z.lazy(() => PayloadBefore$inboundSchema), - appName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + after: z.lazy(() => PayloadAfter$inboundSchema), + before: z.lazy(() => PayloadBefore$inboundSchema), + appName: types.optional(types.string()), + }) +); -export function fiveHundredAndFortyFiveFromJSON( +export function fiveHundredAndFiftyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyFive' from JSON`, + (x) => FiveHundredAndFifty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFifty' from JSON`, ); } /** @internal */ -export const Values$inboundSchema: z.ZodType = z - .object({ - value: types.string(), - wildcards: types.boolean(), - }); +export const Values$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + wildcards: types.boolean(), + }) + ); export function valuesFromJSON( jsonString: string, @@ -2372,11 +2444,13 @@ export function valuesFromJSON( } /** @internal */ -export const Claims$inboundSchema: z.ZodType = z - .object({ - name: types.string(), - values: z.array(z.lazy(() => Values$inboundSchema)), - }); +export const Claims$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + values: z.array(z.lazy(() => Values$inboundSchema)), + }) + ); export function claimsFromJSON( jsonString: string, @@ -2389,40 +2463,44 @@ export function claimsFromJSON( } /** @internal */ -export const UserEventPayload544Resources$inboundSchema: z.ZodType< - UserEventPayload544Resources, +export const UserEventPayload549Resources$inboundSchema: z.ZodType< + UserEventPayload549Resources, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.array(types.string()), + }) +); -export function userEventPayload544ResourcesFromJSON( +export function userEventPayload549ResourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload544Resources$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload544Resources' from JSON`, + (x) => UserEventPayload549Resources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload549Resources' from JSON`, ); } /** @internal */ -export const Policy$inboundSchema: z.ZodType = z - .object({ - claims: z.array(z.lazy(() => Claims$inboundSchema)), - clientId: types.string(), - createdAt: types.number(), - issuerUrl: types.string(), - name: types.nullable(types.string()), - permissions: z.array(types.string()), - policyId: types.string(), - resources: types.nullable( - z.lazy(() => UserEventPayload544Resources$inboundSchema), - ), - teamId: types.string(), - updatedAt: types.number(), - }); +export const Policy$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + claims: z.array(z.lazy(() => Claims$inboundSchema)), + clientId: types.string(), + createdAt: types.number(), + issuerUrl: types.string(), + name: types.nullable(types.string()), + permissions: z.array(types.string()), + policyId: types.string(), + resources: types.nullable( + z.lazy(() => UserEventPayload549Resources$inboundSchema), + ), + teamId: types.string(), + updatedAt: types.number(), + }) + ); export function policyFromJSON( jsonString: string, @@ -2435,59 +2513,65 @@ export function policyFromJSON( } /** @internal */ -export const FiveHundredAndFortyFour$inboundSchema: z.ZodType< - FiveHundredAndFortyFour, +export const FiveHundredAndFortyNine$inboundSchema: z.ZodType< + FiveHundredAndFortyNine, z.ZodTypeDef, unknown -> = z.object({ - policy: z.lazy(() => Policy$inboundSchema), - appName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + policy: z.lazy(() => Policy$inboundSchema), + appName: types.optional(types.string()), + }) +); -export function fiveHundredAndFortyFourFromJSON( +export function fiveHundredAndFortyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyFour' from JSON`, + (x) => FiveHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyNine' from JSON`, ); } /** @internal */ -export const FiveHundredAndFortyThree$inboundSchema: z.ZodType< - FiveHundredAndFortyThree, +export const FiveHundredAndFortyEight$inboundSchema: z.ZodType< + FiveHundredAndFortyEight, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + projectId: types.string(), + }) +); -export function fiveHundredAndFortyThreeFromJSON( +export function fiveHundredAndFortyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyThree' from JSON`, + (x) => FiveHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyEight' from JSON`, ); } /** @internal */ export const UserEventPayloadMethod$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadMethod -> = z.nativeEnum(UserEventPayloadMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadMethod)); /** @internal */ export const ClientAuthenticationUsed$inboundSchema: z.ZodType< ClientAuthenticationUsed, z.ZodTypeDef, unknown -> = z.object({ - method: UserEventPayloadMethod$inboundSchema, - secretId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + method: UserEventPayloadMethod$inboundSchema, + secretId: types.optional(types.string()), + }) +); export function clientAuthenticationUsedFromJSON( jsonString: string, @@ -2504,13 +2588,15 @@ export const PayloadApp$inboundSchema: z.ZodType< PayloadApp, z.ZodTypeDef, unknown -> = z.object({ - clientAuthenticationUsed: z.lazy(() => - ClientAuthenticationUsed$inboundSchema - ), - clientId: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientAuthenticationUsed: z.lazy(() => + ClientAuthenticationUsed$inboundSchema + ), + clientId: types.string(), + name: types.string(), + }) +); export function payloadAppFromJSON( jsonString: string, @@ -2523,25 +2609,27 @@ export function payloadAppFromJSON( } /** @internal */ -export const AuthMethod$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(AuthMethod); +export const AuthMethod$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(AuthMethod)); /** @internal */ -export const UserEventPayload542Names$inboundSchema: z.ZodType< - UserEventPayload542Names, +export const UserEventPayload547Names$inboundSchema: z.ZodType< + UserEventPayload547Names, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload542NamesFromJSON( +export function userEventPayload547NamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload542Names$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload542Names' from JSON`, + (x) => UserEventPayload547Names$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload547Names' from JSON`, ); } @@ -2550,9 +2638,11 @@ export const UserEventPayloadCity$inboundSchema: z.ZodType< UserEventPayloadCity, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload542Names$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload547Names$inboundSchema), + }) +); export function userEventPayloadCityFromJSON( jsonString: string, @@ -2565,22 +2655,24 @@ export function userEventPayloadCityFromJSON( } /** @internal */ -export const UserEventPayload542GeolocationNames$inboundSchema: z.ZodType< - UserEventPayload542GeolocationNames, +export const UserEventPayload547GeolocationNames$inboundSchema: z.ZodType< + UserEventPayload547GeolocationNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload542GeolocationNamesFromJSON( +export function userEventPayload547GeolocationNamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventPayload542GeolocationNames$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload542GeolocationNames' from JSON`, + UserEventPayload547GeolocationNames$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload547GeolocationNames' from JSON`, ); } @@ -2589,9 +2681,11 @@ export const UserEventPayloadCountry$inboundSchema: z.ZodType< UserEventPayloadCountry, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload542GeolocationNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload547GeolocationNames$inboundSchema), + }) +); export function userEventPayloadCountryFromJSON( jsonString: string, @@ -2604,27 +2698,29 @@ export function userEventPayloadCountryFromJSON( } /** @internal */ -export const UserEventPayload542GeolocationMostSpecificSubdivisionNames$inboundSchema: +export const UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema: z.ZodType< - UserEventPayload542GeolocationMostSpecificSubdivisionNames, + UserEventPayload547GeolocationMostSpecificSubdivisionNames, z.ZodTypeDef, unknown - > = z.object({ - en: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); -export function userEventPayload542GeolocationMostSpecificSubdivisionNamesFromJSON( +export function userEventPayload547GeolocationMostSpecificSubdivisionNamesFromJSON( jsonString: string, ): SafeParseResult< - UserEventPayload542GeolocationMostSpecificSubdivisionNames, + UserEventPayload547GeolocationMostSpecificSubdivisionNames, SDKValidationError > { return safeParse( jsonString, (x) => - UserEventPayload542GeolocationMostSpecificSubdivisionNames$inboundSchema + UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload542GeolocationMostSpecificSubdivisionNames' from JSON`, + `Failed to parse 'UserEventPayload547GeolocationMostSpecificSubdivisionNames' from JSON`, ); } @@ -2633,11 +2729,13 @@ export const UserEventPayloadMostSpecificSubdivision$inboundSchema: z.ZodType< UserEventPayloadMostSpecificSubdivision, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => - UserEventPayload542GeolocationMostSpecificSubdivisionNames$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => + UserEventPayload547GeolocationMostSpecificSubdivisionNames$inboundSchema + ), + }) +); export function userEventPayloadMostSpecificSubdivisionFromJSON( jsonString: string, @@ -2660,18 +2758,20 @@ export const UserEventPayloadGeolocation$inboundSchema: z.ZodType< UserEventPayloadGeolocation, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => UserEventPayloadCity$inboundSchema)), - country: z.lazy(() => UserEventPayloadCountry$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => UserEventPayloadMostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => UserEventPayloadCity$inboundSchema)), + country: z.lazy(() => UserEventPayloadCountry$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => UserEventPayloadMostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); export function userEventPayloadGeolocationFromJSON( jsonString: string, @@ -2684,144 +2784,154 @@ export function userEventPayloadGeolocationFromJSON( } /** @internal */ -export const GrantType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GrantType); +export const GrantType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GrantType)); /** @internal */ export const RefreshTokenPrefix$inboundSchema: z.ZodNativeEnum< typeof RefreshTokenPrefix -> = z.nativeEnum(RefreshTokenPrefix); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RefreshTokenPrefix)); /** @internal */ -export const TokenPrefix$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TokenPrefix); +export const TokenPrefix$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TokenPrefix)); /** @internal */ -export const FiveHundredAndFortyTwo$inboundSchema: z.ZodType< - FiveHundredAndFortyTwo, +export const FiveHundredAndFortySeven$inboundSchema: z.ZodType< + FiveHundredAndFortySeven, z.ZodTypeDef, unknown -> = z.object({ - app: types.optional(z.lazy(() => PayloadApp$inboundSchema)), - appName: types.string(), - atTTL: types.number(), - authMethod: AuthMethod$inboundSchema, - geolocation: z.nullable( - z.lazy(() => UserEventPayloadGeolocation$inboundSchema), - ).optional(), - grantType: GrantType$inboundSchema, - includesRefreshToken: types.optional(types.boolean()), - ip: z.nullable(types.string()).optional(), - issuerUrl: types.optional(types.string()), - oidcSubject: types.optional(types.string()), - policyId: types.optional(types.string()), - publicId: types.optional(types.string()), - refreshTokenPrefix: types.optional(RefreshTokenPrefix$inboundSchema), - refreshTokenPublicId: types.optional(types.string()), - refreshTokenSuffix: types.optional(types.string()), - rtTTL: types.optional(types.number()), - scope: types.string(), - sessionId: types.optional(types.string()), - tokenPrefix: types.optional(TokenPrefix$inboundSchema), - tokenSuffix: types.optional(types.string()), - userAgent: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: types.optional(z.lazy(() => PayloadApp$inboundSchema)), + appName: types.string(), + atTTL: types.number(), + authMethod: AuthMethod$inboundSchema, + geolocation: z.nullable( + z.lazy(() => UserEventPayloadGeolocation$inboundSchema), + ).optional(), + grantType: GrantType$inboundSchema, + includesRefreshToken: types.optional(types.boolean()), + ip: z.nullable(types.string()).optional(), + issuerUrl: types.optional(types.string()), + oidcSubject: types.optional(types.string()), + policyId: types.optional(types.string()), + publicId: types.optional(types.string()), + refreshTokenPrefix: types.optional(RefreshTokenPrefix$inboundSchema), + refreshTokenPublicId: types.optional(types.string()), + refreshTokenSuffix: types.optional(types.string()), + rtTTL: types.optional(types.number()), + scope: types.string(), + sessionId: types.optional(types.string()), + tokenPrefix: types.optional(TokenPrefix$inboundSchema), + tokenSuffix: types.optional(types.string()), + userAgent: types.optional(types.string()), + }) +); -export function fiveHundredAndFortyTwoFromJSON( +export function fiveHundredAndFortySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyTwo' from JSON`, + (x) => FiveHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload541Next$inboundSchema: z.ZodType< - UserEventPayload541Next, +export const UserEventPayload546Next$inboundSchema: z.ZodType< + UserEventPayload546Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - issuerUrls: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + issuerUrls: z.array(types.string()), + }) +); -export function userEventPayload541NextFromJSON( +export function userEventPayload546NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload541Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload541Next' from JSON`, + (x) => UserEventPayload546Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload546Next' from JSON`, ); } /** @internal */ -export const UserEventPayload541Previous$inboundSchema: z.ZodType< - UserEventPayload541Previous, +export const UserEventPayload546Previous$inboundSchema: z.ZodType< + UserEventPayload546Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - issuerUrls: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + issuerUrls: z.array(types.string()), + }) +); -export function userEventPayload541PreviousFromJSON( +export function userEventPayload546PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload541Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload541Previous' from JSON`, + (x) => UserEventPayload546Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload546Previous' from JSON`, ); } /** @internal */ -export const UserEventPayload541Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload541Scope -> = z.nativeEnum(UserEventPayload541Scope); +export const UserEventPayload546Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload546Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload546Scope)); /** @internal */ -export const FiveHundredAndFortyOne$inboundSchema: z.ZodType< - FiveHundredAndFortyOne, +export const FiveHundredAndFortySix$inboundSchema: z.ZodType< + FiveHundredAndFortySix, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload541Next$inboundSchema), - previous: z.lazy(() => UserEventPayload541Previous$inboundSchema), - scope: UserEventPayload541Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload546Next$inboundSchema), + previous: z.lazy(() => UserEventPayload546Previous$inboundSchema), + scope: UserEventPayload546Scope$inboundSchema, + }) +); -export function fiveHundredAndFortyOneFromJSON( +export function fiveHundredAndFortySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndFortyOne' from JSON`, + (x) => FiveHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortySix' from JSON`, ); } /** @internal */ -export const FiveHundredAndForty$inboundSchema: z.ZodType< - FiveHundredAndForty, +export const FiveHundredAndFortyFive$inboundSchema: z.ZodType< + FiveHundredAndFortyFive, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.string(), - projectId: types.string(), - projectName: types.optional(types.string()), - runId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.string(), + projectId: types.string(), + projectName: types.optional(types.string()), + runId: types.string(), + }) +); -export function fiveHundredAndFortyFromJSON( +export function fiveHundredAndFortyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndForty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndForty' from JSON`, + (x) => FiveHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyFive' from JSON`, ); } @@ -2830,10 +2940,12 @@ export const UserEventNextPayload2$inboundSchema: z.ZodType< UserEventNextPayload2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("limited"), - limit: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("limited"), + limit: types.string(), + }) +); export function userEventNextPayload2FromJSON( jsonString: string, @@ -2848,16 +2960,18 @@ export function userEventNextPayload2FromJSON( /** @internal */ export const UserEventNextPayloadAccess$inboundSchema: z.ZodNativeEnum< typeof UserEventNextPayloadAccess -> = z.nativeEnum(UserEventNextPayloadAccess); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventNextPayloadAccess)); /** @internal */ export const UserEventNextPayload1$inboundSchema: z.ZodType< UserEventNextPayload1, z.ZodTypeDef, unknown -> = z.object({ - access: UserEventNextPayloadAccess$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: UserEventNextPayloadAccess$inboundSchema, + }) +); export function userEventNextPayload1FromJSON( jsonString: string, @@ -2870,30 +2984,32 @@ export function userEventNextPayload1FromJSON( } /** @internal */ -export const UserEventPayload539Next$inboundSchema: z.ZodType< - UserEventPayload539Next, +export const UserEventPayload544Next$inboundSchema: z.ZodType< + UserEventPayload544Next, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventNextPayload2$inboundSchema), -]); - -export function userEventPayload539NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventNextPayload2$inboundSchema), + ]) +); + +export function userEventPayload544NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload539Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload539Next' from JSON`, + (x) => UserEventPayload544Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload544Next' from JSON`, ); } @@ -2902,10 +3018,12 @@ export const UserEventPreviousPayload2$inboundSchema: z.ZodType< UserEventPreviousPayload2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("limited"), - limit: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("limited"), + limit: types.string(), + }) +); export function userEventPreviousPayload2FromJSON( jsonString: string, @@ -2920,16 +3038,20 @@ export function userEventPreviousPayload2FromJSON( /** @internal */ export const UserEventPreviousPayloadAccess$inboundSchema: z.ZodNativeEnum< typeof UserEventPreviousPayloadAccess -> = z.nativeEnum(UserEventPreviousPayloadAccess); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPreviousPayloadAccess) +); /** @internal */ export const UserEventPreviousPayload1$inboundSchema: z.ZodType< UserEventPreviousPayload1, z.ZodTypeDef, unknown -> = z.object({ - access: UserEventPreviousPayloadAccess$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: UserEventPreviousPayloadAccess$inboundSchema, + }) +); export function userEventPreviousPayload1FromJSON( jsonString: string, @@ -2942,52 +3064,12 @@ export function userEventPreviousPayload1FromJSON( } /** @internal */ -export const UserEventPayload539Previous$inboundSchema: z.ZodType< - UserEventPayload539Previous, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventPreviousPayload2$inboundSchema), -]); - -export function userEventPayload539PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload539Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload539Previous' from JSON`, - ); -} - -/** @internal */ -export const FiveHundredAndThirtyNine$inboundSchema: z.ZodType< - FiveHundredAndThirtyNine, +export const UserEventPayload544Previous$inboundSchema: z.ZodType< + UserEventPayload544Previous, z.ZodTypeDef, unknown -> = z.object({ - next: z.union([ - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventNextPayload1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventNextPayload2$inboundSchema), - ]), - previous: z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.union([ z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( z.object({ access: z.literal("default") }), ), @@ -2998,16 +3080,60 @@ export const FiveHundredAndThirtyNine$inboundSchema: z.ZodType< z.object({ access: z.literal("unlimited") }), ), z.lazy(() => UserEventPreviousPayload2$inboundSchema), - ]), -}); + ]) +); -export function fiveHundredAndThirtyNineFromJSON( +export function userEventPayload544PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyNine' from JSON`, + (x) => UserEventPayload544Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload544Previous' from JSON`, + ); +} + +/** @internal */ +export const FiveHundredAndFortyFour$inboundSchema: z.ZodType< + FiveHundredAndFortyFour, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.union([ + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventNextPayload1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventNextPayload2$inboundSchema), + ]), + previous: z.union([ + z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventPreviousPayload1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventPreviousPayload2$inboundSchema), + ]), + }) +); + +export function fiveHundredAndFortyFourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyFour' from JSON`, ); } @@ -3016,10 +3142,12 @@ export const UserEventNext2$inboundSchema: z.ZodType< UserEventNext2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("limited"), - limit: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("limited"), + limit: types.string(), + }) +); export function userEventNext2FromJSON( jsonString: string, @@ -3032,17 +3160,19 @@ export function userEventNext2FromJSON( } /** @internal */ -export const NextAccess$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NextAccess); +export const NextAccess$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextAccess)); /** @internal */ export const UserEventNext1$inboundSchema: z.ZodType< UserEventNext1, z.ZodTypeDef, unknown -> = z.object({ - access: NextAccess$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: NextAccess$inboundSchema, + }) +); export function userEventNext1FromJSON( jsonString: string, @@ -3055,30 +3185,32 @@ export function userEventNext1FromJSON( } /** @internal */ -export const UserEventPayload538Next$inboundSchema: z.ZodType< - UserEventPayload538Next, +export const UserEventPayload543Next$inboundSchema: z.ZodType< + UserEventPayload543Next, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventNext2$inboundSchema), -]); - -export function userEventPayload538NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventNext2$inboundSchema), + ]) +); + +export function userEventPayload543NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload538Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload538Next' from JSON`, + (x) => UserEventPayload543Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload543Next' from JSON`, ); } @@ -3087,10 +3219,12 @@ export const UserEventPrevious2$inboundSchema: z.ZodType< UserEventPrevious2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("limited"), - limit: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("limited"), + limit: types.string(), + }) +); export function userEventPrevious2FromJSON( jsonString: string, @@ -3105,16 +3239,18 @@ export function userEventPrevious2FromJSON( /** @internal */ export const PreviousAccess$inboundSchema: z.ZodNativeEnum< typeof PreviousAccess -> = z.nativeEnum(PreviousAccess); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousAccess)); /** @internal */ export const UserEventPrevious1$inboundSchema: z.ZodType< UserEventPrevious1, z.ZodTypeDef, unknown -> = z.object({ - access: PreviousAccess$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: PreviousAccess$inboundSchema, + }) +); export function userEventPrevious1FromJSON( jsonString: string, @@ -3127,52 +3263,12 @@ export function userEventPrevious1FromJSON( } /** @internal */ -export const UserEventPayload538Previous$inboundSchema: z.ZodType< - UserEventPayload538Previous, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => UserEventPrevious1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventPrevious1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventPrevious1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventPrevious2$inboundSchema), -]); - -export function userEventPayload538PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload538Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload538Previous' from JSON`, - ); -} - -/** @internal */ -export const FiveHundredAndThirtyEight$inboundSchema: z.ZodType< - FiveHundredAndThirtyEight, +export const UserEventPayload543Previous$inboundSchema: z.ZodType< + UserEventPayload543Previous, z.ZodTypeDef, unknown -> = z.object({ - next: z.union([ - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("default") }), - ), - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("none") }), - ), - z.lazy(() => UserEventNext1$inboundSchema).and( - z.object({ access: z.literal("unlimited") }), - ), - z.lazy(() => UserEventNext2$inboundSchema), - ]), - previous: z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.union([ z.lazy(() => UserEventPrevious1$inboundSchema).and( z.object({ access: z.literal("default") }), ), @@ -3183,54 +3279,102 @@ export const FiveHundredAndThirtyEight$inboundSchema: z.ZodType< z.object({ access: z.literal("unlimited") }), ), z.lazy(() => UserEventPrevious2$inboundSchema), - ]), - userId: types.string(), - userName: types.optional(types.string()), -}); + ]) +); -export function fiveHundredAndThirtyEightFromJSON( +export function userEventPayload543PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyEight' from JSON`, + (x) => UserEventPayload543Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload543Previous' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirtySeven$inboundSchema: z.ZodType< - FiveHundredAndThirtySeven, +export const FiveHundredAndFortyThree$inboundSchema: z.ZodType< + FiveHundredAndFortyThree, z.ZodTypeDef, unknown -> = z.object({ - chatId: types.string(), - chatTitle: types.optional(types.string()), - messageId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.union([ + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventNext1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventNext2$inboundSchema), + ]), + previous: z.union([ + z.lazy(() => UserEventPrevious1$inboundSchema).and( + z.object({ access: z.literal("default") }), + ), + z.lazy(() => UserEventPrevious1$inboundSchema).and( + z.object({ access: z.literal("none") }), + ), + z.lazy(() => UserEventPrevious1$inboundSchema).and( + z.object({ access: z.literal("unlimited") }), + ), + z.lazy(() => UserEventPrevious2$inboundSchema), + ]), + userId: types.string(), + userName: types.optional(types.string()), + }) +); -export function fiveHundredAndThirtySevenFromJSON( +export function fiveHundredAndFortyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtySeven' from JSON`, + (x) => FiveHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyThree' from JSON`, ); } /** @internal */ -export const Events$inboundSchema: z.ZodType = z - .object({ - cacheCreationInputTokens: types.number(), - cacheReadInputTokens: types.number(), - eventId: types.string(), - inputTokens: types.number(), - modelId: types.string(), - outputTokens: types.number(), - timestamp: types.string(), - totalTokens: types.number(), - }); +export const FiveHundredAndFortyTwo$inboundSchema: z.ZodType< + FiveHundredAndFortyTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + chatId: types.string(), + chatTitle: types.optional(types.string()), + messageId: types.string(), + }) +); + +export function fiveHundredAndFortyTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyTwo' from JSON`, + ); +} + +/** @internal */ +export const Events$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + cacheCreationInputTokens: types.number(), + cacheReadInputTokens: types.number(), + eventId: types.string(), + inputTokens: types.number(), + modelId: types.string(), + outputTokens: types.number(), + timestamp: types.string(), + totalTokens: types.number(), + }) + ); export function eventsFromJSON( jsonString: string, @@ -3243,157 +3387,170 @@ export function eventsFromJSON( } /** @internal */ -export const FiveHundredAndThirtySix$inboundSchema: z.ZodType< - FiveHundredAndThirtySix, +export const FiveHundredAndFortyOne$inboundSchema: z.ZodType< + FiveHundredAndFortyOne, z.ZodTypeDef, unknown -> = z.object({ - chatId: types.string(), - events: z.array(z.lazy(() => Events$inboundSchema)), - inputTokens: types.number(), - messageId: types.string(), - model: types.string(), - outputTokens: types.number(), - timestamp: types.number(), - useCase: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + chatId: types.string(), + events: z.array(z.lazy(() => Events$inboundSchema)), + inputTokens: types.number(), + messageId: types.string(), + model: types.string(), + outputTokens: types.number(), + timestamp: types.number(), + useCase: types.string(), + }) +); -export function fiveHundredAndThirtySixFromJSON( +export function fiveHundredAndFortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtySix' from JSON`, + (x) => FiveHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndFortyOne' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirtyFive$inboundSchema: z.ZodType< - FiveHundredAndThirtyFive, +export const FiveHundredAndForty$inboundSchema: z.ZodType< + FiveHundredAndForty, z.ZodTypeDef, unknown -> = z.object({ - chatId: types.string(), - chatTitle: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + chatId: types.string(), + chatTitle: types.optional(types.string()), + }) +); -export function fiveHundredAndThirtyFiveFromJSON( +export function fiveHundredAndFortyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyFive' from JSON`, + (x) => FiveHundredAndForty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndForty' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirtyFour$inboundSchema: z.ZodType< - FiveHundredAndThirtyFour, +export const FiveHundredAndThirtyNine$inboundSchema: z.ZodType< + FiveHundredAndThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + url: types.string(), + }) +); -export function fiveHundredAndThirtyFourFromJSON( +export function fiveHundredAndThirtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyFour' from JSON`, + (x) => FiveHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyNine' from JSON`, ); } /** @internal */ -export const Tier$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Tier, -); +export const Tier$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Tier)); /** @internal */ -export const FiveHundredAndThirtyThree$inboundSchema: z.ZodType< - FiveHundredAndThirtyThree, +export const FiveHundredAndThirtyEight$inboundSchema: z.ZodType< + FiveHundredAndThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - tier: Tier$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + tier: Tier$inboundSchema, + }) +); -export function fiveHundredAndThirtyThreeFromJSON( +export function fiveHundredAndThirtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyThree' from JSON`, + (x) => FiveHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyEight' from JSON`, ); } /** @internal */ -export const Cadence$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Cadence); +export const Cadence$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Cadence)); /** @internal */ -export const UserEventPayload532Team$inboundSchema: z.ZodType< - UserEventPayload532Team, +export const UserEventPayload537Team$inboundSchema: z.ZodType< + UserEventPayload537Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload532TeamFromJSON( +export function userEventPayload537TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload532Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload532Team' from JSON`, + (x) => UserEventPayload537Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload537Team' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirtyTwo$inboundSchema: z.ZodType< - FiveHundredAndThirtyTwo, +export const FiveHundredAndThirtySeven$inboundSchema: z.ZodType< + FiveHundredAndThirtySeven, z.ZodTypeDef, unknown -> = z.object({ - cadence: Cadence$inboundSchema, - projectIds: z.array(types.string()), - team: z.lazy(() => UserEventPayload532Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cadence: Cadence$inboundSchema, + projectIds: z.array(types.string()), + team: z.lazy(() => UserEventPayload537Team$inboundSchema), + }) +); -export function fiveHundredAndThirtyTwoFromJSON( +export function fiveHundredAndThirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyTwo' from JSON`, + (x) => FiveHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload531Configuration$inboundSchema: z.ZodType< - UserEventPayload531Configuration, +export const UserEventPayload536Configuration$inboundSchema: z.ZodType< + UserEventPayload536Configuration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload531ConfigurationFromJSON( +export function userEventPayload536ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload531Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload531Configuration' from JSON`, + (x) => UserEventPayload536Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload536Configuration' from JSON`, ); } @@ -3402,10 +3559,12 @@ export const UserEventPayloadPeering$inboundSchema: z.ZodType< UserEventPayloadPeering, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); export function userEventPayloadPeeringFromJSON( jsonString: string, @@ -3418,64 +3577,70 @@ export function userEventPayloadPeeringFromJSON( } /** @internal */ -export const UserEventPayload531Team$inboundSchema: z.ZodType< - UserEventPayload531Team, +export const UserEventPayload536Team$inboundSchema: z.ZodType< + UserEventPayload536Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload531TeamFromJSON( +export function userEventPayload536TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload531Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload531Team' from JSON`, + (x) => UserEventPayload536Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload536Team' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirtyOne$inboundSchema: z.ZodType< - FiveHundredAndThirtyOne, +export const FiveHundredAndThirtySix$inboundSchema: z.ZodType< + FiveHundredAndThirtySix, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => UserEventPayload531Configuration$inboundSchema), - newName: types.optional(types.string()), - peering: z.lazy(() => UserEventPayloadPeering$inboundSchema), - team: z.lazy(() => UserEventPayload531Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => UserEventPayload536Configuration$inboundSchema), + newName: types.optional(types.string()), + peering: z.lazy(() => UserEventPayloadPeering$inboundSchema), + team: z.lazy(() => UserEventPayload536Team$inboundSchema), + }) +); -export function fiveHundredAndThirtyOneFromJSON( +export function fiveHundredAndThirtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirtyOne' from JSON`, + (x) => FiveHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtySix' from JSON`, ); } /** @internal */ -export const UserEventPayload530Configuration$inboundSchema: z.ZodType< - UserEventPayload530Configuration, +export const UserEventPayload535Configuration$inboundSchema: z.ZodType< + UserEventPayload535Configuration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload530ConfigurationFromJSON( +export function userEventPayload535ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload530Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload530Configuration' from JSON`, + (x) => UserEventPayload535Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload535Configuration' from JSON`, ); } @@ -3484,10 +3649,12 @@ export const PayloadPeering$inboundSchema: z.ZodType< PayloadPeering, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); export function payloadPeeringFromJSON( jsonString: string, @@ -3500,74 +3667,82 @@ export function payloadPeeringFromJSON( } /** @internal */ -export const UserEventPayload530Team$inboundSchema: z.ZodType< - UserEventPayload530Team, +export const UserEventPayload535Team$inboundSchema: z.ZodType< + UserEventPayload535Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload530TeamFromJSON( +export function userEventPayload535TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload530Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload530Team' from JSON`, + (x) => UserEventPayload535Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload535Team' from JSON`, ); } /** @internal */ -export const FiveHundredAndThirty$inboundSchema: z.ZodType< - FiveHundredAndThirty, +export const FiveHundredAndThirtyFive$inboundSchema: z.ZodType< + FiveHundredAndThirtyFive, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => UserEventPayload530Configuration$inboundSchema), - peering: z.lazy(() => PayloadPeering$inboundSchema), - team: z.lazy(() => UserEventPayload530Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => UserEventPayload535Configuration$inboundSchema), + peering: z.lazy(() => PayloadPeering$inboundSchema), + team: z.lazy(() => UserEventPayload535Team$inboundSchema), + }) +); -export function fiveHundredAndThirtyFromJSON( +export function fiveHundredAndThirtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndThirty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndThirty' from JSON`, + (x) => FiveHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload529Configuration$inboundSchema: z.ZodType< - UserEventPayload529Configuration, +export const UserEventPayload534Configuration$inboundSchema: z.ZodType< + UserEventPayload534Configuration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload529ConfigurationFromJSON( +export function userEventPayload534ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload529Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload529Configuration' from JSON`, + (x) => UserEventPayload534Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload534Configuration' from JSON`, ); } /** @internal */ export const Peering$inboundSchema: z.ZodType = - z.object({ - accountId: types.string(), - id: types.string(), - region: types.string(), - vpcId: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + id: types.string(), + region: types.string(), + vpcId: types.string(), + }) + ); export function peeringFromJSON( jsonString: string, @@ -3580,156 +3755,170 @@ export function peeringFromJSON( } /** @internal */ -export const UserEventPayload529Team$inboundSchema: z.ZodType< - UserEventPayload529Team, +export const UserEventPayload534Team$inboundSchema: z.ZodType< + UserEventPayload534Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload529TeamFromJSON( +export function userEventPayload534TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload529Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload529Team' from JSON`, + (x) => UserEventPayload534Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload534Team' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentyNine$inboundSchema: z.ZodType< - FiveHundredAndTwentyNine, +export const FiveHundredAndThirtyFour$inboundSchema: z.ZodType< + FiveHundredAndThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - configuration: z.lazy(() => UserEventPayload529Configuration$inboundSchema), - peering: z.lazy(() => Peering$inboundSchema), - team: z.lazy(() => UserEventPayload529Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: z.lazy(() => UserEventPayload534Configuration$inboundSchema), + peering: z.lazy(() => Peering$inboundSchema), + team: z.lazy(() => UserEventPayload534Team$inboundSchema), + }) +); -export function fiveHundredAndTwentyNineFromJSON( +export function fiveHundredAndThirtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyNine' from JSON`, + (x) => FiveHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyFour' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentyEight$inboundSchema: z.ZodType< - FiveHundredAndTwentyEight, +export const FiveHundredAndThirtyThree$inboundSchema: z.ZodType< + FiveHundredAndThirtyThree, z.ZodTypeDef, unknown -> = z.object({ - protectedProjectCount: types.number(), - protectionEnabled: types.boolean(), - vulnerabilities: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + protectedProjectCount: types.number(), + protectionEnabled: types.boolean(), + vulnerabilities: z.array(types.string()), + }) +); -export function fiveHundredAndTwentyEightFromJSON( +export function fiveHundredAndThirtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyEight' from JSON`, + (x) => FiveHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyThree' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentySeven$inboundSchema: z.ZodType< - FiveHundredAndTwentySeven, +export const FiveHundredAndThirtyTwo$inboundSchema: z.ZodType< + FiveHundredAndThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - commitSha: types.string(), - invocationId: types.string(), - organizationId: types.string(), - pullRequestNumber: types.number(), - repository: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitSha: types.string(), + invocationId: types.string(), + organizationId: types.string(), + pullRequestNumber: types.number(), + repository: types.string(), + }) +); -export function fiveHundredAndTwentySevenFromJSON( +export function fiveHundredAndThirtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentySeven' from JSON`, + (x) => FiveHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyTwo' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentySix$inboundSchema: z.ZodType< - FiveHundredAndTwentySix, +export const FiveHundredAndThirtyOne$inboundSchema: z.ZodType< + FiveHundredAndThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - ciEnabled: types.boolean(), - organizationId: types.string(), - repository: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ciEnabled: types.boolean(), + organizationId: types.string(), + repository: types.string(), + }) +); -export function fiveHundredAndTwentySixFromJSON( +export function fiveHundredAndThirtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentySix' from JSON`, + (x) => FiveHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirtyOne' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentyFive$inboundSchema: z.ZodType< - FiveHundredAndTwentyFive, +export const FiveHundredAndThirty$inboundSchema: z.ZodType< + FiveHundredAndThirty, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - organizationId: types.optional(types.string()), - repository: types.optional(types.string()), - repositoryId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + organizationId: types.optional(types.string()), + repository: types.optional(types.string()), + repositoryId: types.string(), + }) +); -export function fiveHundredAndTwentyFiveFromJSON( +export function fiveHundredAndThirtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyFive' from JSON`, + (x) => FiveHundredAndThirty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndThirty' from JSON`, ); } /** @internal */ -export const FiveHundredAndTwentyFour$inboundSchema: z.ZodType< - FiveHundredAndTwentyFour, +export const FiveHundredAndTwentyNine$inboundSchema: z.ZodType< + FiveHundredAndTwentyNine, z.ZodTypeDef, unknown -> = z.object({ - alertType: types.string(), - groupId: types.string(), - projectId: types.string(), - severity: types.optional(types.string()), - alertId: types.string(), - resolvedAt: types.optional(types.number()), - startedAt: types.number(), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertType: types.string(), + groupId: types.string(), + projectId: types.string(), + severity: types.optional(types.string()), + alertId: types.string(), + resolvedAt: types.optional(types.number()), + startedAt: types.number(), + title: types.string(), + }) +); -export function fiveHundredAndTwentyFourFromJSON( +export function fiveHundredAndTwentyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyFour' from JSON`, + (x) => FiveHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyNine' from JSON`, ); } @@ -3738,11 +3927,13 @@ export const PayloadSlack$inboundSchema: z.ZodType< PayloadSlack, z.ZodTypeDef, unknown -> = z.object({ - channelId: types.string(), - configurationId: types.optional(types.string()), - slackWorkspaceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + channelId: types.string(), + configurationId: types.optional(types.string()), + slackWorkspaceId: types.string(), + }) +); export function payloadSlackFromJSON( jsonString: string, @@ -3757,17 +3948,19 @@ export function payloadSlackFromJSON( /** @internal */ export const PayloadUnavailable$inboundSchema: z.ZodNativeEnum< typeof PayloadUnavailable -> = z.nativeEnum(PayloadUnavailable); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadUnavailable)); /** @internal */ export const PayloadWebhooks$inboundSchema: z.ZodType< PayloadWebhooks, z.ZodTypeDef, unknown -> = z.object({ - integration: types.optional(types.string()), - webhookId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: types.optional(types.string()), + webhookId: types.string(), + }) +); export function payloadWebhooksFromJSON( jsonString: string, @@ -3784,16 +3977,18 @@ export const PayloadDestinations$inboundSchema: z.ZodType< PayloadDestinations, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.literal(true)), - inApp: types.optional(types.literal(true)), - push: types.optional(types.literal(true)), - slack: types.optional(z.array(z.lazy(() => PayloadSlack$inboundSchema))), - unavailable: types.optional(z.array(PayloadUnavailable$inboundSchema)), - webhooks: types.optional( - z.array(z.lazy(() => PayloadWebhooks$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.literal(true)), + inApp: types.optional(types.literal(true)), + push: types.optional(types.literal(true)), + slack: types.optional(z.array(z.lazy(() => PayloadSlack$inboundSchema))), + unavailable: types.optional(z.array(PayloadUnavailable$inboundSchema)), + webhooks: types.optional( + z.array(z.lazy(() => PayloadWebhooks$inboundSchema)), + ), + }) +); export function payloadDestinationsFromJSON( jsonString: string, @@ -3806,36 +4001,40 @@ export function payloadDestinationsFromJSON( } /** @internal */ -export const FiveHundredAndTwentyThree$inboundSchema: z.ZodType< - FiveHundredAndTwentyThree, +export const FiveHundredAndTwentyEight$inboundSchema: z.ZodType< + FiveHundredAndTwentyEight, z.ZodTypeDef, unknown -> = z.object({ - alertType: types.string(), - groupId: types.string(), - projectId: types.string(), - severity: types.optional(types.string()), - destinations: z.lazy(() => PayloadDestinations$inboundSchema), - title: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertType: types.string(), + groupId: types.string(), + projectId: types.string(), + severity: types.optional(types.string()), + destinations: z.lazy(() => PayloadDestinations$inboundSchema), + title: types.optional(types.string()), + }) +); -export function fiveHundredAndTwentyThreeFromJSON( +export function fiveHundredAndTwentyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyThree' from JSON`, + (x) => FiveHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyEight' from JSON`, ); } /** @internal */ -export const Slack$inboundSchema: z.ZodType = z - .object({ - channelId: types.string(), - configurationId: types.optional(types.string()), - slackWorkspaceId: types.string(), - }); +export const Slack$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + channelId: types.string(), + configurationId: types.optional(types.string()), + slackWorkspaceId: types.string(), + }) + ); export function slackFromJSON( jsonString: string, @@ -3848,18 +4047,20 @@ export function slackFromJSON( } /** @internal */ -export const Unavailable$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Unavailable); +export const Unavailable$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Unavailable)); /** @internal */ export const Webhooks$inboundSchema: z.ZodType< Webhooks, z.ZodTypeDef, unknown -> = z.object({ - integration: types.optional(types.string()), - webhookId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: types.optional(types.string()), + webhookId: types.string(), + }) +); export function webhooksFromJSON( jsonString: string, @@ -3876,14 +4077,16 @@ export const Destinations$inboundSchema: z.ZodType< Destinations, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.literal(true)), - inApp: types.optional(types.literal(true)), - push: types.optional(types.literal(true)), - slack: types.optional(z.array(z.lazy(() => Slack$inboundSchema))), - unavailable: types.optional(z.array(Unavailable$inboundSchema)), - webhooks: types.optional(z.array(z.lazy(() => Webhooks$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.literal(true)), + inApp: types.optional(types.literal(true)), + push: types.optional(types.literal(true)), + slack: types.optional(z.array(z.lazy(() => Slack$inboundSchema))), + unavailable: types.optional(z.array(Unavailable$inboundSchema)), + webhooks: types.optional(z.array(z.lazy(() => Webhooks$inboundSchema))), + }) +); export function destinationsFromJSON( jsonString: string, @@ -3896,25 +4099,27 @@ export function destinationsFromJSON( } /** @internal */ -export const FiveHundredAndTwentyTwo$inboundSchema: z.ZodType< - FiveHundredAndTwentyTwo, +export const FiveHundredAndTwentySeven$inboundSchema: z.ZodType< + FiveHundredAndTwentySeven, z.ZodTypeDef, unknown -> = z.object({ - alertType: types.string(), - groupId: types.string(), - projectId: types.string(), - severity: types.optional(types.string()), - destinations: z.lazy(() => Destinations$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertType: types.string(), + groupId: types.string(), + projectId: types.string(), + severity: types.optional(types.string()), + destinations: z.lazy(() => Destinations$inboundSchema), + }) +); -export function fiveHundredAndTwentyTwoFromJSON( +export function fiveHundredAndTwentySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiveHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwentyTwo' from JSON`, + (x) => FiveHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentySeven' from JSON`, ); } @@ -3923,11 +4128,13 @@ export const Detections$inboundSchema: z.ZodType< Detections, z.ZodTypeDef, unknown -> = z.object({ - alertId: types.string(), - startedAt: types.number(), - title: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertId: types.string(), + startedAt: types.number(), + title: types.string(), + }) +); export function detectionsFromJSON( jsonString: string, @@ -3939,19 +4146,133 @@ export function detectionsFromJSON( ); } +/** @internal */ +export const FiveHundredAndTwentySix$inboundSchema: z.ZodType< + FiveHundredAndTwentySix, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertType: types.string(), + groupId: types.string(), + projectId: types.string(), + severity: types.optional(types.string()), + detectionCount: types.number(), + detections: z.array(z.lazy(() => Detections$inboundSchema)), + }) +); + +export function fiveHundredAndTwentySixFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentySix' from JSON`, + ); +} + +/** @internal */ +export const FiveHundredAndTwentyFive$inboundSchema: z.ZodType< + FiveHundredAndTwentyFive, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAlertTitle: types.string(), + }) +); + +export function fiveHundredAndTwentyFiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyFive' from JSON`, + ); +} + +/** @internal */ +export const FiveHundredAndTwentyFour$inboundSchema: z.ZodType< + FiveHundredAndTwentyFour, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextProjectCount: types.nullable(types.number()), + previousProjectCount: types.nullable(types.number()), + }) +); + +export function fiveHundredAndTwentyFourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyFour' from JSON`, + ); +} + +/** @internal */ +export const FiveHundredAndTwentyThree$inboundSchema: z.ZodType< + FiveHundredAndTwentyThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ruleName: types.string(), + }) +); + +export function fiveHundredAndTwentyThreeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyThree' from JSON`, + ); +} + +/** @internal */ +export const FiveHundredAndTwentyTwo$inboundSchema: z.ZodType< + FiveHundredAndTwentyTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + removedTeamIds: z.array(types.string()), + repositoryName: types.string(), + }) +); + +export function fiveHundredAndTwentyTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiveHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiveHundredAndTwentyTwo' from JSON`, + ); +} + /** @internal */ export const FiveHundredAndTwentyOne$inboundSchema: z.ZodType< FiveHundredAndTwentyOne, z.ZodTypeDef, unknown -> = z.object({ - alertType: types.string(), - groupId: types.string(), - projectId: types.string(), - severity: types.optional(types.string()), - detectionCount: types.number(), - detections: z.array(z.lazy(() => Detections$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + public: types.boolean(), + repositoryName: types.string(), + }) +); export function fiveHundredAndTwentyOneFromJSON( jsonString: string, @@ -3968,9 +4289,14 @@ export const FiveHundredAndTwenty$inboundSchema: z.ZodType< FiveHundredAndTwenty, z.ZodTypeDef, unknown -> = z.object({ - customAlertTitle: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + repositoryName: types.string(), + sharedWithTeamId: types.string(), + }) +); export function fiveHundredAndTwentyFromJSON( jsonString: string, @@ -3987,10 +4313,15 @@ export const FiveHundredAndNineteen$inboundSchema: z.ZodType< FiveHundredAndNineteen, z.ZodTypeDef, unknown -> = z.object({ - nextProjectCount: types.nullable(types.number()), - previousProjectCount: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + repositoryName: types.string(), + sharedWithTeamId: types.string(), + sharedWithTeamSlug: types.string(), + }) +); export function fiveHundredAndNineteenFromJSON( jsonString: string, @@ -4007,9 +4338,14 @@ export const FiveHundredAndEighteen$inboundSchema: z.ZodType< FiveHundredAndEighteen, z.ZodTypeDef, unknown -> = z.object({ - ruleName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + reference: types.string(), + repositoryName: types.string(), + }) +); export function fiveHundredAndEighteenFromJSON( jsonString: string, @@ -4026,12 +4362,15 @@ export const FiveHundredAndSeventeen$inboundSchema: z.ZodType< FiveHundredAndSeventeen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - removedTeamIds: z.array(types.string()), - repositoryName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + projectId: types.string(), + projectName: types.string(), + reference: types.string(), + repositoryName: types.string(), + }) +); export function fiveHundredAndSeventeenFromJSON( jsonString: string, @@ -4048,12 +4387,13 @@ export const FiveHundredAndSixteen$inboundSchema: z.ZodType< FiveHundredAndSixteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - public: types.boolean(), - repositoryName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + repositoryName: types.string(), + }) +); export function fiveHundredAndSixteenFromJSON( jsonString: string, @@ -4065,17 +4405,26 @@ export function fiveHundredAndSixteenFromJSON( ); } +/** @internal */ +export const UserEventPayload515ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload515ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload515ActorType) +); + /** @internal */ export const FiveHundredAndFifteen$inboundSchema: z.ZodType< FiveHundredAndFifteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - repositoryName: types.string(), - sharedWithTeamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + username: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload515ActorType$inboundSchema, + }) +); export function fiveHundredAndFifteenFromJSON( jsonString: string, @@ -4087,18 +4436,27 @@ export function fiveHundredAndFifteenFromJSON( ); } +/** @internal */ +export const UserEventPayload514ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload514ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload514ActorType) +); + /** @internal */ export const FiveHundredAndFourteen$inboundSchema: z.ZodType< FiveHundredAndFourteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - repositoryName: types.string(), - sharedWithTeamId: types.string(), - sharedWithTeamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + prevEmail: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload514ActorType$inboundSchema, + }) +); export function fiveHundredAndFourteenFromJSON( jsonString: string, @@ -4115,12 +4473,12 @@ export const FiveHundredAndThirteen$inboundSchema: z.ZodType< FiveHundredAndThirteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - reference: types.string(), - repositoryName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + prevEmail: types.string(), + }) +); export function fiveHundredAndThirteenFromJSON( jsonString: string, @@ -4133,146 +4491,28 @@ export function fiveHundredAndThirteenFromJSON( } /** @internal */ -export const FiveHundredAndTwelve$inboundSchema: z.ZodType< - FiveHundredAndTwelve, - z.ZodTypeDef, - unknown -> = z.object({ - digest: types.string(), - projectId: types.string(), - projectName: types.string(), - reference: types.string(), - repositoryName: types.string(), -}); - -export function fiveHundredAndTwelveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FiveHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTwelve' from JSON`, - ); -} - -/** @internal */ -export const FiveHundredAndEleven$inboundSchema: z.ZodType< - FiveHundredAndEleven, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - repositoryName: types.string(), -}); - -export function fiveHundredAndElevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FiveHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndEleven' from JSON`, - ); -} +export const Basis$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Basis)); /** @internal */ -export const UserEventPayload510ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload510ActorType -> = z.nativeEnum(UserEventPayload510ActorType); - -/** @internal */ -export const FiveHundredAndTen$inboundSchema: z.ZodType< - FiveHundredAndTen, - z.ZodTypeDef, - unknown -> = z.object({ - username: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload510ActorType$inboundSchema, -}); - -export function fiveHundredAndTenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FiveHundredAndTen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndTen' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload509ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload509ActorType -> = z.nativeEnum(UserEventPayload509ActorType); - -/** @internal */ -export const FiveHundredAndNine$inboundSchema: z.ZodType< - FiveHundredAndNine, - z.ZodTypeDef, - unknown -> = z.object({ - email: types.string(), - prevEmail: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload509ActorType$inboundSchema, -}); - -export function fiveHundredAndNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FiveHundredAndNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndNine' from JSON`, - ); -} - -/** @internal */ -export const FiveHundredAndEight$inboundSchema: z.ZodType< - FiveHundredAndEight, - z.ZodTypeDef, - unknown -> = z.object({ - email: types.string(), - prevEmail: types.string(), -}); - -export function fiveHundredAndEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FiveHundredAndEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiveHundredAndEight' from JSON`, - ); -} - -/** @internal */ -export const Basis$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Basis, -); - -/** @internal */ -export const MxOutcome$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(MxOutcome); +export const MxOutcome$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MxOutcome)); /** @internal */ export const PayloadDecision$inboundSchema: z.ZodType< PayloadDecision, z.ZodTypeDef, unknown -> = z.object({ - authoritative: types.boolean(), - basis: Basis$inboundSchema, - emailDomain: types.string(), - emailVerified: types.boolean(), - hostedDomainMatch: types.boolean(), - mxOutcome: MxOutcome$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authoritative: types.boolean(), + basis: Basis$inboundSchema, + emailDomain: types.string(), + emailVerified: types.boolean(), + hostedDomainMatch: types.boolean(), + mxOutcome: MxOutcome$inboundSchema, + }) +); export function payloadDecisionFromJSON( jsonString: string, @@ -4287,4 +4527,4 @@ export function payloadDecisionFromJSON( /** @internal */ export const PayloadOutcome$inboundSchema: z.ZodNativeEnum< typeof PayloadOutcome -> = z.nativeEnum(PayloadOutcome); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadOutcome)); diff --git a/src/models/oldssoprotection2.ts b/src/models/payloadstaticips.ts similarity index 61% rename from src/models/oldssoprotection2.ts rename to src/models/payloadstaticips.ts index b0a6fd30a5..d856d436b1 100644 --- a/src/models/oldssoprotection2.ts +++ b/src/models/payloadstaticips.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -34,7 +34,7 @@ export type DismissalReason = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyFour = { +export type FourHundredAndThirtyNine = { eventId: string; occurredAt: number; sessionId: string; @@ -96,7 +96,7 @@ export type CloseReason = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyThree = { +export type FourHundredAndThirtyEight = { eventId: string; occurredAt: number; sessionId: string; @@ -151,7 +151,7 @@ export type TargetKind = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyTwo = { +export type FourHundredAndThirtySeven = { eventId: string; occurredAt: number; sessionId: string; @@ -193,7 +193,7 @@ export type FourHundredAndThirtyTwo = { /** * The payload of the event, if requested. */ -export type FourHundredAndThirtyOne = { +export type FourHundredAndThirtySix = { eventId: string; occurredAt: number; sessionId: string; @@ -231,7 +231,7 @@ export type FourHundredAndThirtyOne = { /** * The payload of the event, if requested. */ -export type FourHundredAndThirty = { +export type FourHundredAndThirtyFive = { eventId: string; occurredAt: number; sessionId: string; @@ -248,7 +248,7 @@ export type FourHundredAndThirty = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyNine = { +export type FourHundredAndThirtyFour = { amount: string; currency: string; expiresAt: string; @@ -264,31 +264,31 @@ export type UserEventPayloadRepositoryScope = ClosedEnum< typeof UserEventPayloadRepositoryScope >; -export type UserEventPayload428Next = { +export type UserEventPayload433Next = { enabled: boolean; repositoryScope?: UserEventPayloadRepositoryScope | undefined; }; -export const UserEventPayload428RepositoryScope = { +export const UserEventPayload433RepositoryScope = { All: "all", None: "none", Selected: "selected", } as const; -export type UserEventPayload428RepositoryScope = ClosedEnum< - typeof UserEventPayload428RepositoryScope +export type UserEventPayload433RepositoryScope = ClosedEnum< + typeof UserEventPayload433RepositoryScope >; -export type UserEventPayload428Previous = { +export type UserEventPayload433Previous = { enabled: boolean; - repositoryScope?: UserEventPayload428RepositoryScope | undefined; + repositoryScope?: UserEventPayload433RepositoryScope | undefined; }; /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyEight = { - next: UserEventPayload428Next; - previous: UserEventPayload428Previous; +export type FourHundredAndThirtyThree = { + next: UserEventPayload433Next; + previous: UserEventPayload433Previous; }; export const UserEventPayloadProjectScope = { @@ -310,7 +310,7 @@ export type RepositoryScope = ClosedEnum; /** * Mirrors the `security-review` setting value in `@api/api-settings`. */ -export type UserEventPayload427Next = { +export type UserEventPayload432Next = { enabled: boolean; projectIds?: Array | undefined; projectScope: UserEventPayloadProjectScope; @@ -334,7 +334,7 @@ export type PayloadRepositoryScope = ClosedEnum; /** * Mirrors the `security-review` setting value in `@api/api-settings`. */ -export type UserEventPayload427Previous = { +export type UserEventPayload432Previous = { enabled: boolean; projectIds?: Array | undefined; projectScope: PayloadProjectScope; @@ -344,24 +344,24 @@ export type UserEventPayload427Previous = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwentySeven = { +export type FourHundredAndThirtyTwo = { /** * Mirrors the `security-review` setting value in `@api/api-settings`. */ - next: UserEventPayload427Next; + next: UserEventPayload432Next; /** * Mirrors the `security-review` setting value in `@api/api-settings`. */ - previous: UserEventPayload427Previous; + previous: UserEventPayload432Previous; }; -export const UserEventPayload426Action = { +export const UserEventPayload431Action = { Disable: "disable", Enable: "enable", Update: "update", } as const; -export type UserEventPayload426Action = ClosedEnum< - typeof UserEventPayload426Action +export type UserEventPayload431Action = ClosedEnum< + typeof UserEventPayload431Action >; export type PayloadCodeReviewSelection = { @@ -369,18 +369,18 @@ export type PayloadCodeReviewSelection = { submitted: boolean; }; -export const UserEventPayload426Endpoint = { +export const UserEventPayload431Endpoint = { RootV1VadeCodeReviewConfigure: "/v1/vade/code-review/configure", RootV1VadeConfigure: "/v1/vade/configure", } as const; -export type UserEventPayload426Endpoint = ClosedEnum< - typeof UserEventPayload426Endpoint +export type UserEventPayload431Endpoint = ClosedEnum< + typeof UserEventPayload431Endpoint >; /** * Which repository visibilities get automatic reviews */ -export const UserEventPayload426Scope = { +export const UserEventPayload431Scope = { All: "all", Private: "private", Public: "public", @@ -389,14 +389,14 @@ export const UserEventPayload426Scope = { /** * Which repository visibilities get automatic reviews */ -export type UserEventPayload426Scope = ClosedEnum< - typeof UserEventPayload426Scope +export type UserEventPayload431Scope = ClosedEnum< + typeof UserEventPayload431Scope >; /** * Automatic code review settings */ -export type UserEventPayload426Next = { +export type UserEventPayload431Next = { /** * Whether automatic code reviews are enabled */ @@ -408,7 +408,7 @@ export type UserEventPayload426Next = { /** * Which repository visibilities get automatic reviews */ - scope: UserEventPayload426Scope; + scope: UserEventPayload431Scope; /** * GitHub repos to scope automatic reviews to. Format: "owner/repo" (lowercase). Only used when scope='selected_repos'. */ @@ -418,7 +418,7 @@ export type UserEventPayload426Next = { /** * Which repository visibilities get automatic reviews */ -export const UserEventPayload426PreviousScope = { +export const UserEventPayload431PreviousScope = { All: "all", Private: "private", Public: "public", @@ -427,14 +427,14 @@ export const UserEventPayload426PreviousScope = { /** * Which repository visibilities get automatic reviews */ -export type UserEventPayload426PreviousScope = ClosedEnum< - typeof UserEventPayload426PreviousScope +export type UserEventPayload431PreviousScope = ClosedEnum< + typeof UserEventPayload431PreviousScope >; /** * Automatic code review settings */ -export type UserEventPayload426Previous = { +export type UserEventPayload431Previous = { /** * Whether automatic code reviews are enabled */ @@ -446,7 +446,7 @@ export type UserEventPayload426Previous = { /** * Which repository visibilities get automatic reviews */ - scope: UserEventPayload426PreviousScope; + scope: UserEventPayload431PreviousScope; /** * GitHub repos to scope automatic reviews to. Format: "owner/repo" (lowercase). Only used when scope='selected_repos'. */ @@ -456,30 +456,30 @@ export type UserEventPayload426Previous = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwentySix = { - action?: UserEventPayload426Action | undefined; +export type FourHundredAndThirtyOne = { + action?: UserEventPayload431Action | undefined; codeReviewSelection?: PayloadCodeReviewSelection | undefined; - endpoint?: UserEventPayload426Endpoint | undefined; + endpoint?: UserEventPayload431Endpoint | undefined; /** * Automatic code review settings */ - next: UserEventPayload426Next; + next: UserEventPayload431Next; /** * Automatic code review settings */ - previous?: UserEventPayload426Previous | undefined; + previous?: UserEventPayload431Previous | undefined; /** * Caller-reported surface, not proof of a browser interaction or consent. */ source?: string | undefined; }; -export const UserEventPayload425Action = { +export const UserEventPayload430Action = { Enable: "enable", Update: "update", } as const; -export type UserEventPayload425Action = ClosedEnum< - typeof UserEventPayload425Action +export type UserEventPayload430Action = ClosedEnum< + typeof UserEventPayload430Action >; export type CodeReviewSelection = { @@ -494,12 +494,12 @@ export type UserEventPayloadEndpoint = ClosedEnum< typeof UserEventPayloadEndpoint >; -export type UserEventPayload425Next = { +export type UserEventPayload430Next = { enabled: boolean; maximumOverdraft: string | null; }; -export type UserEventPayload425Previous = { +export type UserEventPayload430Previous = { enabled: boolean; maximumOverdraft: string | null; }; @@ -507,15 +507,15 @@ export type UserEventPayload425Previous = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyFive = { - action: UserEventPayload425Action; +export type FourHundredAndThirty = { + action: UserEventPayload430Action; codeReviewEnabled: boolean; codeReviewSelection?: CodeReviewSelection | undefined; cumulativeBalance: string; endpoint: UserEventPayloadEndpoint; ledgerId: string; - next: UserEventPayload425Next; - previous: UserEventPayload425Previous; + next: UserEventPayload430Next; + previous: UserEventPayload430Previous; removedTopupIds: Array; source: string; topupCleanupCompleted: boolean; @@ -529,7 +529,7 @@ export type BillingConsent = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyFour = { +export type FourHundredAndTwentyNine = { billingConsent: BillingConsent; source: string; }; @@ -537,24 +537,24 @@ export type FourHundredAndTwentyFour = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyThree = { +export type FourHundredAndTwentyEight = { slug: string; }; -export const UserEventPayload422ActorType = { +export const UserEventPayload427ActorType = { Admin: "admin", User: "user", } as const; -export type UserEventPayload422ActorType = ClosedEnum< - typeof UserEventPayload422ActorType +export type UserEventPayload427ActorType = ClosedEnum< + typeof UserEventPayload427ActorType >; /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyTwo = { +export type FourHundredAndTwentySeven = { actorId?: string | undefined; - actorType?: UserEventPayload422ActorType | undefined; + actorType?: UserEventPayload427ActorType | undefined; caseNumber?: string | undefined; client?: string | undefined; reason?: string | undefined; @@ -566,32 +566,32 @@ export const PayloadAccess = { } as const; export type PayloadAccess = ClosedEnum; -export const UserEventPayload421Type = { +export const UserEventPayload426Type = { Blob: "blob", EdgeConfig: "edge-config", Integration: "integration", Postgres: "postgres", Redis: "redis", } as const; -export type UserEventPayload421Type = ClosedEnum< - typeof UserEventPayload421Type +export type UserEventPayload426Type = ClosedEnum< + typeof UserEventPayload426Type >; /** * The payload of the event, if requested. */ -export type FourHundredAndTwentyOne = { +export type FourHundredAndTwentySix = { access?: PayloadAccess | undefined; computeUnitsMax?: number | undefined; computeUnitsMin?: number | undefined; id: string; name?: string | undefined; suspendTimeoutSeconds?: number | undefined; - type: UserEventPayload421Type; + type: UserEventPayload426Type; locked: boolean; }; -export type UserEventPayload420Store = { +export type UserEventPayload425Store = { id: string; name: string; }; @@ -599,9 +599,9 @@ export type UserEventPayload420Store = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwenty = { +export type FourHundredAndTwentyFive = { ownerId?: string | undefined; - store: UserEventPayload420Store; + store: UserEventPayload425Store; }; export const Access = { @@ -610,103 +610,103 @@ export const Access = { } as const; export type Access = ClosedEnum; -export const UserEventPayload419Type = { +export const UserEventPayload424Type = { Blob: "blob", EdgeConfig: "edge-config", Integration: "integration", Postgres: "postgres", Redis: "redis", } as const; -export type UserEventPayload419Type = ClosedEnum< - typeof UserEventPayload419Type +export type UserEventPayload424Type = ClosedEnum< + typeof UserEventPayload424Type >; /** * The payload of the event, if requested. */ -export type FourHundredAndNineteen = { +export type FourHundredAndTwentyFour = { access?: Access | undefined; computeUnitsMax?: number | undefined; computeUnitsMin?: number | undefined; id: string; name?: string | undefined; suspendTimeoutSeconds?: number | undefined; - type: UserEventPayload419Type; + type: UserEventPayload424Type; }; -export const UserEventPayload418Type = { +export const UserEventPayload423Type = { Blob: "blob", EdgeConfig: "edge-config", Integration: "integration", Postgres: "postgres", Redis: "redis", } as const; -export type UserEventPayload418Type = ClosedEnum< - typeof UserEventPayload418Type +export type UserEventPayload423Type = ClosedEnum< + typeof UserEventPayload423Type >; export type UserEventPayloadStore = { id: string; name?: string | undefined; - type: UserEventPayload418Type; + type: UserEventPayload423Type; }; /** * The payload of the event, if requested. */ -export type FourHundredAndEighteen = { +export type FourHundredAndTwentyThree = { store: UserEventPayloadStore; originTeamId: string; originTeamName: string; }; -export const UserEventPayload417Type = { +export const UserEventPayload422Type = { Blob: "blob", EdgeConfig: "edge-config", Integration: "integration", Postgres: "postgres", Redis: "redis", } as const; -export type UserEventPayload417Type = ClosedEnum< - typeof UserEventPayload417Type +export type UserEventPayload422Type = ClosedEnum< + typeof UserEventPayload422Type >; export type PayloadStore = { id: string; name?: string | undefined; - type: UserEventPayload417Type; + type: UserEventPayload422Type; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSeventeen = { +export type FourHundredAndTwentyTwo = { store: PayloadStore; destinationTeamId: string; destinationTeamName: string; }; -export const UserEventPayload416Type = { +export const UserEventPayload421Type = { Blob: "blob", EdgeConfig: "edge-config", Integration: "integration", Postgres: "postgres", Redis: "redis", } as const; -export type UserEventPayload416Type = ClosedEnum< - typeof UserEventPayload416Type +export type UserEventPayload421Type = ClosedEnum< + typeof UserEventPayload421Type >; export type Store = { id: string; name?: string | undefined; - type: UserEventPayload416Type; + type: UserEventPayload421Type; }; /** * The payload of the event, if requested. */ -export type FourHundredAndSixteen = { +export type FourHundredAndTwentyOne = { store: Store; }; @@ -719,14 +719,14 @@ export type StoreType = ClosedEnum; /** * The payload of the event, if requested. */ -export type FourHundredAndFifteen = { +export type FourHundredAndTwenty = { storeType: StoreType; }; /** * The payload of the event, if requested. */ -export type FourHundredAndFourteen = { +export type FourHundredAndNineteen = { projectId?: string | undefined; projectName?: string | undefined; webhookUrl?: string | undefined; @@ -752,7 +752,7 @@ export type UserEventPayloadPricingPlan = ClosedEnum< /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export const UserEventPayload413Scope = { +export const UserEventPayload418Scope = { Organization: "organization", Product: "product", Project: "project", @@ -761,27 +761,27 @@ export const UserEventPayload413Scope = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export type UserEventPayload413Scope = ClosedEnum< - typeof UserEventPayload413Scope +export type UserEventPayload418Scope = ClosedEnum< + typeof UserEventPayload418Scope >; /** * The budget type */ -export const UserEventPayload413Type = { +export const UserEventPayload418Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload413Type = ClosedEnum< - typeof UserEventPayload413Type +export type UserEventPayload418Type = ClosedEnum< + typeof UserEventPayload418Type >; /** * Represents a budget for tracking and notifying teams on their spending. */ -export type UserEventPayload413Budget = { +export type UserEventPayload418Budget = { /** * Date time when budget is created */ @@ -817,7 +817,7 @@ export type UserEventPayload413Budget = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ - scope?: UserEventPayload413Scope | undefined; + scope?: UserEventPayload418Scope | undefined; /** * What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. */ @@ -829,7 +829,7 @@ export type UserEventPayload413Budget = { /** * The budget type */ - type: UserEventPayload413Type; + type: UserEventPayload418Type; /** * Date time when budget is updated last */ @@ -847,7 +847,7 @@ export type UserEventPayload413Budget = { /** * The acive pricing plan the team is billed with */ -export const UserEventPayload413PricingPlan = { +export const UserEventPayload418PricingPlan = { Flex: "flex", Legacy: "legacy", Platform: "platform", @@ -857,14 +857,14 @@ export const UserEventPayload413PricingPlan = { /** * The acive pricing plan the team is billed with */ -export type UserEventPayload413PricingPlan = ClosedEnum< - typeof UserEventPayload413PricingPlan +export type UserEventPayload418PricingPlan = ClosedEnum< + typeof UserEventPayload418PricingPlan >; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export const UserEventPayload413PrevBudgetScope = { +export const UserEventPayload418PrevBudgetScope = { Organization: "organization", Product: "product", Project: "project", @@ -873,21 +873,21 @@ export const UserEventPayload413PrevBudgetScope = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export type UserEventPayload413PrevBudgetScope = ClosedEnum< - typeof UserEventPayload413PrevBudgetScope +export type UserEventPayload418PrevBudgetScope = ClosedEnum< + typeof UserEventPayload418PrevBudgetScope >; /** * The budget type */ -export const UserEventPayload413PrevBudgetType = { +export const UserEventPayload418PrevBudgetType = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload413PrevBudgetType = ClosedEnum< - typeof UserEventPayload413PrevBudgetType +export type UserEventPayload418PrevBudgetType = ClosedEnum< + typeof UserEventPayload418PrevBudgetType >; /** @@ -925,11 +925,11 @@ export type PrevBudget = { /** * The acive pricing plan the team is billed with */ - pricingPlan?: UserEventPayload413PricingPlan | undefined; + pricingPlan?: UserEventPayload418PricingPlan | undefined; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ - scope?: UserEventPayload413PrevBudgetScope | undefined; + scope?: UserEventPayload418PrevBudgetScope | undefined; /** * What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. */ @@ -941,7 +941,7 @@ export type PrevBudget = { /** * The budget type */ - type: UserEventPayload413PrevBudgetType; + type: UserEventPayload418PrevBudgetType; /** * Date time when budget is updated last */ @@ -959,11 +959,11 @@ export type PrevBudget = { /** * The payload of the event, if requested. */ -export type FourHundredAndThirteen = { +export type FourHundredAndEighteen = { /** * Represents a budget for tracking and notifying teams on their spending. */ - budget: UserEventPayload413Budget; + budget: UserEventPayload418Budget; /** * Represents a budget for tracking and notifying teams on their spending. */ @@ -1002,7 +1002,7 @@ export type PayloadPricingPlan = ClosedEnum; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export const UserEventPayload412Scope = { +export const UserEventPayload417Scope = { Organization: "organization", Product: "product", Project: "project", @@ -1011,27 +1011,27 @@ export const UserEventPayload412Scope = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export type UserEventPayload412Scope = ClosedEnum< - typeof UserEventPayload412Scope +export type UserEventPayload417Scope = ClosedEnum< + typeof UserEventPayload417Scope >; /** * The budget type */ -export const UserEventPayload412Type = { +export const UserEventPayload417Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload412Type = ClosedEnum< - typeof UserEventPayload412Type +export type UserEventPayload417Type = ClosedEnum< + typeof UserEventPayload417Type >; /** * Represents a budget for tracking and notifying teams on their spending. */ -export type UserEventPayload412Budget = { +export type UserEventPayload417Budget = { /** * Date time when budget is created */ @@ -1067,7 +1067,7 @@ export type UserEventPayload412Budget = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ - scope?: UserEventPayload412Scope | undefined; + scope?: UserEventPayload417Scope | undefined; /** * What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. */ @@ -1079,7 +1079,7 @@ export type UserEventPayload412Budget = { /** * The budget type */ - type: UserEventPayload412Type; + type: UserEventPayload417Type; /** * Date time when budget is updated last */ @@ -1097,11 +1097,11 @@ export type UserEventPayload412Budget = { /** * The payload of the event, if requested. */ -export type FourHundredAndTwelve = { +export type FourHundredAndSeventeen = { /** * Represents a budget for tracking and notifying teams on their spending. */ - budget: UserEventPayload412Budget; + budget: UserEventPayload417Budget; /** * Stored for project budgets. Same value as `budget.scopeId`. */ @@ -1131,7 +1131,7 @@ export type PricingPlan = ClosedEnum; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export const UserEventPayload411Scope = { +export const UserEventPayload416Scope = { Organization: "organization", Product: "product", Project: "project", @@ -1140,27 +1140,27 @@ export const UserEventPayload411Scope = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export type UserEventPayload411Scope = ClosedEnum< - typeof UserEventPayload411Scope +export type UserEventPayload416Scope = ClosedEnum< + typeof UserEventPayload416Scope >; /** * The budget type */ -export const UserEventPayload411Type = { +export const UserEventPayload416Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload411Type = ClosedEnum< - typeof UserEventPayload411Type +export type UserEventPayload416Type = ClosedEnum< + typeof UserEventPayload416Type >; /** * Represents a budget for tracking and notifying teams on their spending. */ -export type UserEventPayload411Budget = { +export type UserEventPayload416Budget = { /** * Date time when budget is created */ @@ -1196,7 +1196,7 @@ export type UserEventPayload411Budget = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ - scope?: UserEventPayload411Scope | undefined; + scope?: UserEventPayload416Scope | undefined; /** * What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. */ @@ -1208,7 +1208,7 @@ export type UserEventPayload411Budget = { /** * The budget type */ - type: UserEventPayload411Type; + type: UserEventPayload416Type; /** * Date time when budget is updated last */ @@ -1226,11 +1226,11 @@ export type UserEventPayload411Budget = { /** * The payload of the event, if requested. */ -export type FourHundredAndEleven = { +export type FourHundredAndSixteen = { /** * Represents a budget for tracking and notifying teams on their spending. */ - budget: UserEventPayload411Budget; + budget: UserEventPayload416Budget; /** * Stored for project budgets. Same value as `budget.scopeId`. */ @@ -1246,7 +1246,7 @@ export type FourHundredAndEleven = { /** * The acive pricing plan the team is billed with */ -export const UserEventPayload410PricingPlan = { +export const UserEventPayload415PricingPlan = { Flex: "flex", Legacy: "legacy", Platform: "platform", @@ -1256,14 +1256,14 @@ export const UserEventPayload410PricingPlan = { /** * The acive pricing plan the team is billed with */ -export type UserEventPayload410PricingPlan = ClosedEnum< - typeof UserEventPayload410PricingPlan +export type UserEventPayload415PricingPlan = ClosedEnum< + typeof UserEventPayload415PricingPlan >; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export const UserEventPayload410Scope = { +export const UserEventPayload415Scope = { Organization: "organization", Product: "product", Project: "project", @@ -1272,21 +1272,21 @@ export const UserEventPayload410Scope = { /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ -export type UserEventPayload410Scope = ClosedEnum< - typeof UserEventPayload410Scope +export type UserEventPayload415Scope = ClosedEnum< + typeof UserEventPayload415Scope >; /** * The budget type */ -export const UserEventPayload410Type = { +export const UserEventPayload415Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload410Type = ClosedEnum< - typeof UserEventPayload410Type +export type UserEventPayload415Type = ClosedEnum< + typeof UserEventPayload415Type >; /** @@ -1324,11 +1324,11 @@ export type BudgetItem = { /** * The acive pricing plan the team is billed with */ - pricingPlan?: UserEventPayload410PricingPlan | undefined; + pricingPlan?: UserEventPayload415PricingPlan | undefined; /** * Which budget this is. Matches Copper SDK `BudgetScope`. Omitted on events published before team/org/project scopes existed (treat as team). */ - scope?: UserEventPayload410Scope | undefined; + scope?: UserEventPayload415Scope | undefined; /** * What the budget caps: team id for `team`, organization id for `organization`, project id for `project`, product id for `product`. */ @@ -1340,7 +1340,7 @@ export type BudgetItem = { /** * The budget type */ - type: UserEventPayload410Type; + type: UserEventPayload415Type; /** * Date time when budget is updated last */ @@ -1355,7 +1355,7 @@ export type BudgetItem = { webhookNotified?: boolean | undefined; }; -export type UserEventPayload410Budget = { +export type UserEventPayload415Budget = { /** * Represents a budget for tracking and notifying teams on their spending. */ @@ -1365,8 +1365,8 @@ export type UserEventPayload410Budget = { /** * The payload of the event, if requested. */ -export type FourHundredAndTen = { - budget: UserEventPayload410Budget; +export type FourHundredAndFifteen = { + budget: UserEventPayload415Budget; /** * Stored for project budgets. Same value as `budget.scopeId`. */ @@ -1374,7 +1374,7 @@ export type FourHundredAndTen = { projectName?: string | undefined; }; -export type UserEventPayload409Previous = { +export type UserEventPayload414Previous = { sampleRatePercent: number | null; spendLimitInDollars: number | null; }; @@ -1382,9 +1382,9 @@ export type UserEventPayload409Previous = { /** * The payload of the event, if requested. */ -export type FourHundredAndNine = { +export type FourHundredAndFourteen = { analyticsId?: string | undefined; - previous: UserEventPayload409Previous; + previous: UserEventPayload414Previous; projectId?: string | undefined; projectName?: string | undefined; sampleRatePercent: number | null; @@ -1394,7 +1394,7 @@ export type FourHundredAndNine = { /** * The payload of the event, if requested. */ -export type FourHundredAndEight = { +export type FourHundredAndThirteen = { email: string; gitlabEmail: string; gitlabLogin: string; @@ -1406,7 +1406,7 @@ export type FourHundredAndEight = { /** * The payload of the event, if requested. */ -export type FourHundredAndSeven = { +export type FourHundredAndTwelve = { email: string; githubLogin: string; zeitAccount: string; @@ -1416,7 +1416,7 @@ export type FourHundredAndSeven = { /** * The payload of the event, if requested. */ -export type FourHundredAndSix = { +export type FourHundredAndEleven = { bitbucketEmail: string; bitbucketLogin: string; bitbucketName: string; @@ -1447,28 +1447,28 @@ export type PayloadFactors = { username?: string | undefined; }; -export type UserEventPayload405Names = { +export type UserEventPayload410Names = { en: string; }; export type PayloadCity = { - names: UserEventPayload405Names; + names: UserEventPayload410Names; }; -export type UserEventPayload405GeolocationNames = { +export type UserEventPayload410GeolocationNames = { en: string; }; export type PayloadCountry = { - names: UserEventPayload405GeolocationNames; + names: UserEventPayload410GeolocationNames; }; -export type UserEventPayload405GeolocationMostSpecificSubdivisionNames = { +export type UserEventPayload410GeolocationMostSpecificSubdivisionNames = { en: string; }; export type PayloadMostSpecificSubdivision = { - names: UserEventPayload405GeolocationMostSpecificSubdivisionNames; + names: UserEventPayload410GeolocationMostSpecificSubdivisionNames; }; export type PayloadGeolocation = { @@ -1481,7 +1481,7 @@ export type PayloadGeolocation = { /** * The payload of the event, if requested. */ -export type FourHundredAndFive = { +export type FourHundredAndTen = { env?: string | undefined; factors?: Array | undefined; geolocation?: PayloadGeolocation | null | undefined; @@ -1507,7 +1507,7 @@ export type ScalingRules = { /** * The payload of the event, if requested. */ -export type FourHundredAndFour = { +export type FourHundredAndNine = { max: number; min: number; scalingRules: { [k: string]: ScalingRules }; @@ -1517,14 +1517,14 @@ export type FourHundredAndFour = { /** * The payload of the event, if requested. */ -export type FourHundredAndThree = { +export type FourHundredAndEight = { bio: string; }; /** * The payload of the event, if requested. */ -export type FourHundredAndTwo = { +export type FourHundredAndSeven = { enabled: boolean; firstEnabledAt?: number | undefined; projectId?: string | undefined; @@ -1535,7 +1535,7 @@ export type FourHundredAndTwo = { /** * The payload of the event, if requested. */ -export type FourHundredAndOne = { +export type FourHundredAndSix = { newName: string; oldName: string; uid?: string | undefined; @@ -1550,7 +1550,7 @@ export type PayloadName = Name2 | string; /** * The payload of the event, if requested. */ -export type FourHundred = { +export type FourHundredAndFive = { name: Name2 | string; uid: string; }; @@ -1558,21 +1558,21 @@ export type FourHundred = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyNine = { +export type FourHundredAndFour = { email: string; }; -export const UserEventPayload398ActorType = { +export const UserEventPayload403ActorType = { Admin: "admin", } as const; -export type UserEventPayload398ActorType = ClosedEnum< - typeof UserEventPayload398ActorType +export type UserEventPayload403ActorType = ClosedEnum< + typeof UserEventPayload403ActorType >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyEight = { +export type FourHundredAndThree = { email: string; verified: boolean; /** @@ -1580,13 +1580,13 @@ export type ThreeHundredAndNinetyEight = { */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload398ActorType; + actorType: UserEventPayload403ActorType; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetySeven = { +export type FourHundredAndTwo = { email: string; verified: boolean; }; @@ -1594,7 +1594,7 @@ export type ThreeHundredAndNinetySeven = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetySix = { +export type FourHundredAndOne = { instances: number; url: string; }; @@ -1602,7 +1602,7 @@ export type ThreeHundredAndNinetySix = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyFive = { +export type FourHundred = { email: string; name: string; projectId: string; @@ -1612,7 +1612,7 @@ export type ThreeHundredAndNinetyFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyFour = { +export type ThreeHundredAndNinetyNine = { projectId: string; projectName: string; snapshotId: string; @@ -1622,117 +1622,159 @@ export type ThreeHundredAndNinetyFour = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyThree = { +export type ThreeHundredAndNinetyEight = { + expiryNotificationLeadTime: number; projectId: string; - sandboxId: string; + projectName: string; + sandboxName: string; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyTwo = { +export type ThreeHundredAndNinetySeven = { alias: string; projectId?: string | undefined; sandboxId?: string | undefined; sandboxName: string; }; -export const UserEventPayload391ActorType = { +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndNinetySix = { + projectId: string; + sandboxId: string; +}; + +export const UserEventPayload395ActorType = { Admin: "admin", } as const; -export type UserEventPayload391ActorType = ClosedEnum< - typeof UserEventPayload391ActorType +export type UserEventPayload395ActorType = ClosedEnum< + typeof UserEventPayload395ActorType >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinetyOne = { - connectionId: string; +export type ThreeHundredAndNinetyFive = { + connectionId?: string | undefined; actorName?: string | undefined; - actorType: UserEventPayload391ActorType; + actorType?: UserEventPayload395ActorType | undefined; keyId: string; signingEnabled: boolean; signingKeyId: string | null; }; -export const UserEventPayload390ActorType = { +export const UserEventPayload394ActorType = { Admin: "admin", } as const; -export type UserEventPayload390ActorType = ClosedEnum< - typeof UserEventPayload390ActorType +export type UserEventPayload394ActorType = ClosedEnum< + typeof UserEventPayload394ActorType >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNinety = { - connectionId: string; +export type ThreeHundredAndNinetyFour = { + connectionId?: string | undefined; actorName?: string | undefined; - actorType: UserEventPayload390ActorType; + actorType?: UserEventPayload394ActorType | undefined; keyId: string; }; +export const To = { + Vercel: "vercel", + Workos: "workos", +} as const; +export type To = ClosedEnum; + +export const UserEventPayload393ActorType = { + Admin: "admin", +} as const; +export type UserEventPayload393ActorType = ClosedEnum< + typeof UserEventPayload393ActorType +>; + /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyNine = { +export type ThreeHundredAndNinetyThree = { + connectionId?: string | undefined; + to?: To | undefined; + certificateFingerprints?: Array | undefined; + actorName?: string | undefined; + actorType?: UserEventPayload393ActorType | undefined; +}; + +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndNinetyTwo = { certificateFingerprints: Array; connectionId: string; }; -export const UserEventPayload388ActorType = { +export const UserEventPayload391ActorType = { Admin: "admin", } as const; -export type UserEventPayload388ActorType = ClosedEnum< - typeof UserEventPayload388ActorType +export type UserEventPayload391ActorType = ClosedEnum< + typeof UserEventPayload391ActorType >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyEight = { +export type ThreeHundredAndNinetyOne = { connectionId?: string | undefined; actorName?: string | undefined; - actorType?: UserEventPayload388ActorType | undefined; + actorType?: UserEventPayload391ActorType | undefined; certificateFingerprints?: Array | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightySeven = { +export type ThreeHundredAndNinety = { attributeMappingChanged?: true | undefined; certificateFingerprints: Array; connectionId: string; created: boolean; previousCertificateFingerprints?: Array | undefined; + /** + * The IdP or the user id rule changed, so members re-bind by email once. + */ + rebind?: true | undefined; }; -export const UserEventPayload386ActorType = { +export const UserEventPayload389ActorType = { Admin: "admin", } as const; -export type UserEventPayload386ActorType = ClosedEnum< - typeof UserEventPayload386ActorType +export type UserEventPayload389ActorType = ClosedEnum< + typeof UserEventPayload389ActorType >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightySix = { +export type ThreeHundredAndEightyNine = { connectionId: string; actorName?: string | undefined; - actorType: UserEventPayload386ActorType; + actorType: UserEventPayload389ActorType; certificateFingerprints: Array; attributeMappingChanged?: true | undefined; created: boolean; previousCertificateFingerprints?: Array | undefined; + /** + * The IdP or the user id rule changed, so members re-bind by email once. + */ + rebind?: true | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyFive = { +export type ThreeHundredAndEightyEight = { connectionId: string; connectionType: string; }; @@ -1740,7 +1782,7 @@ export type ThreeHundredAndEightyFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyFour = { +export type ThreeHundredAndEightySeven = { gitProvider: string; gitProviderGroupDescriptor: string; gitScope: string; @@ -1765,7 +1807,7 @@ export type ProjectWebAnalytics = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyThree = { +export type ThreeHundredAndEightySix = { prevProjectWebAnalytics?: PrevProjectWebAnalytics | null | undefined; projectId: string; projectName: string; @@ -1781,7 +1823,7 @@ export type PayloadReasonCode = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyTwo = { +export type ThreeHundredAndEightyFive = { projectId: string; /** * Display name for Activity links. Optional for events stored before it was published. @@ -1803,7 +1845,7 @@ export type RemovedProjects = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndEightyOne = { +export type ThreeHundredAndEightyFour = { addedProjects: Array; addedProviders: Array; enableVercelCiSameRepository?: boolean | undefined; @@ -1834,7 +1876,7 @@ export type TrustedIps = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndEighty = { +export type ThreeHundredAndEightyThree = { addedAddresses?: Array | null | undefined; oldTrustedIps?: OldTrustedIps | null | undefined; projectId: string; @@ -1850,13 +1892,13 @@ export type StaticIps = { regions?: Array | undefined; }; -export type UserEventPayload379Project = { +export type UserEventPayload382Project = { id?: string | undefined; staticIps: StaticIps; }; -export type UserEventPayload379Next = { - project: UserEventPayload379Project; +export type UserEventPayload382Next = { + project: UserEventPayload382Project; }; export type PayloadStaticIps = { @@ -1866,415 +1908,420 @@ export type PayloadStaticIps = { regions?: Array | undefined; }; -export type UserEventPayload379PreviousProject = { - id?: string | undefined; - staticIps: PayloadStaticIps; -}; - -export type UserEventPayload379Previous = { - project: UserEventPayload379PreviousProject; -}; - -/** - * The payload of the event, if requested. - */ -export type ThreeHundredAndSeventyNine = { - next: UserEventPayload379Next; - previous: UserEventPayload379Previous; - projectId: string; - projectName: string; -}; - -export const OldSsoProtection2 = { - All: "all", - AllExceptCustomDomains: "all_except_custom_domains", - Preview: "preview", - ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", -} as const; -export type OldSsoProtection2 = ClosedEnum; - /** @internal */ export const UserEventPayloadTargetKind$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadTargetKind -> = z.nativeEnum(UserEventPayloadTargetKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadTargetKind)); /** @internal */ export const DismissalReason$inboundSchema: z.ZodNativeEnum< typeof DismissalReason -> = z.nativeEnum(DismissalReason); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DismissalReason)); /** @internal */ -export const FourHundredAndThirtyFour$inboundSchema: z.ZodType< - FourHundredAndThirtyFour, +export const FourHundredAndThirtyNine$inboundSchema: z.ZodType< + FourHundredAndThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - sessionId: types.string(), - sessionKind: types.string(), - surface: types.string(), - branchRef: types.nullable(types.string()), - commitSha: z.nullable(types.string()).optional(), - deploymentId: types.nullable(types.string()), - environment: types.nullable(types.string()), - findingId: types.string(), - findingNumber: types.number(), - pullRequestNumber: z.nullable(types.number()).optional(), - repository: z.nullable(types.string()).optional(), - severity: types.string(), - targetId: types.string(), - targetKind: UserEventPayloadTargetKind$inboundSchema, - targetName: types.string(), - vulnerabilityClass: types.string(), - dismissalReason: DismissalReason$inboundSchema, -}); - -export function fourHundredAndThirtyFourFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + sessionId: types.string(), + sessionKind: types.string(), + surface: types.string(), + branchRef: types.nullable(types.string()), + commitSha: z.nullable(types.string()).optional(), + deploymentId: types.nullable(types.string()), + environment: types.nullable(types.string()), + findingId: types.string(), + findingNumber: types.number(), + pullRequestNumber: z.nullable(types.number()).optional(), + repository: z.nullable(types.string()).optional(), + severity: types.string(), + targetId: types.string(), + targetKind: UserEventPayloadTargetKind$inboundSchema, + targetName: types.string(), + vulnerabilityClass: types.string(), + dismissalReason: DismissalReason$inboundSchema, + }) +); + +export function fourHundredAndThirtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyFour' from JSON`, + (x) => FourHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyNine' from JSON`, ); } /** @internal */ export const PayloadTargetKind$inboundSchema: z.ZodNativeEnum< typeof PayloadTargetKind -> = z.nativeEnum(PayloadTargetKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadTargetKind)); /** @internal */ -export const CloseReason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CloseReason); +export const CloseReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CloseReason)); /** @internal */ -export const FourHundredAndThirtyThree$inboundSchema: z.ZodType< - FourHundredAndThirtyThree, +export const FourHundredAndThirtyEight$inboundSchema: z.ZodType< + FourHundredAndThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - sessionId: types.string(), - sessionKind: types.string(), - surface: types.string(), - branchRef: types.nullable(types.string()), - commitSha: z.nullable(types.string()).optional(), - deploymentId: types.nullable(types.string()), - environment: types.nullable(types.string()), - findingId: types.string(), - findingNumber: types.number(), - pullRequestNumber: z.nullable(types.number()).optional(), - repository: z.nullable(types.string()).optional(), - severity: types.string(), - targetId: types.string(), - targetKind: PayloadTargetKind$inboundSchema, - targetName: types.string(), - vulnerabilityClass: types.string(), - closeReason: CloseReason$inboundSchema, -}); - -export function fourHundredAndThirtyThreeFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + sessionId: types.string(), + sessionKind: types.string(), + surface: types.string(), + branchRef: types.nullable(types.string()), + commitSha: z.nullable(types.string()).optional(), + deploymentId: types.nullable(types.string()), + environment: types.nullable(types.string()), + findingId: types.string(), + findingNumber: types.number(), + pullRequestNumber: z.nullable(types.number()).optional(), + repository: z.nullable(types.string()).optional(), + severity: types.string(), + targetId: types.string(), + targetKind: PayloadTargetKind$inboundSchema, + targetName: types.string(), + vulnerabilityClass: types.string(), + closeReason: CloseReason$inboundSchema, + }) +); + +export function fourHundredAndThirtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyThree' from JSON`, + (x) => FourHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyEight' from JSON`, ); } /** @internal */ -export const TargetKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TargetKind); +export const TargetKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TargetKind)); /** @internal */ -export const FourHundredAndThirtyTwo$inboundSchema: z.ZodType< - FourHundredAndThirtyTwo, +export const FourHundredAndThirtySeven$inboundSchema: z.ZodType< + FourHundredAndThirtySeven, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - sessionId: types.string(), - sessionKind: types.string(), - surface: types.string(), - branchRef: types.nullable(types.string()), - commitSha: z.nullable(types.string()).optional(), - deploymentId: types.nullable(types.string()), - environment: types.nullable(types.string()), - findingId: types.string(), - findingNumber: types.number(), - pullRequestNumber: z.nullable(types.number()).optional(), - repository: z.nullable(types.string()).optional(), - severity: types.string(), - targetId: types.string(), - targetKind: TargetKind$inboundSchema, - targetName: types.string(), - vulnerabilityClass: types.string(), -}); - -export function fourHundredAndThirtyTwoFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + sessionId: types.string(), + sessionKind: types.string(), + surface: types.string(), + branchRef: types.nullable(types.string()), + commitSha: z.nullable(types.string()).optional(), + deploymentId: types.nullable(types.string()), + environment: types.nullable(types.string()), + findingId: types.string(), + findingNumber: types.number(), + pullRequestNumber: z.nullable(types.number()).optional(), + repository: z.nullable(types.string()).optional(), + severity: types.string(), + targetId: types.string(), + targetKind: TargetKind$inboundSchema, + targetName: types.string(), + vulnerabilityClass: types.string(), + }) +); + +export function fourHundredAndThirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyTwo' from JSON`, + (x) => FourHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtySeven' from JSON`, ); } /** @internal */ -export const FourHundredAndThirtyOne$inboundSchema: z.ZodType< - FourHundredAndThirtyOne, +export const FourHundredAndThirtySix$inboundSchema: z.ZodType< + FourHundredAndThirtySix, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - sessionId: types.string(), - sessionKind: types.string(), - surface: types.string(), - elevatedScopeCount: types.number(), - elevatedScopes: z.array(types.string()), - githubScopeCount: types.number(), - githubScopes: z.array(types.string()), - mergedScopeCount: types.number(), - mergedScopes: z.array(types.string()), - planId: types.string(), - requestedScopeCount: types.number(), - requestedScopes: z.array(types.string()), -}); - -export function fourHundredAndThirtyOneFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + sessionId: types.string(), + sessionKind: types.string(), + surface: types.string(), + elevatedScopeCount: types.number(), + elevatedScopes: z.array(types.string()), + githubScopeCount: types.number(), + githubScopes: z.array(types.string()), + mergedScopeCount: types.number(), + mergedScopes: z.array(types.string()), + planId: types.string(), + requestedScopeCount: types.number(), + requestedScopes: z.array(types.string()), + }) +); + +export function fourHundredAndThirtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirtyOne' from JSON`, + (x) => FourHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtySix' from JSON`, ); } /** @internal */ -export const FourHundredAndThirty$inboundSchema: z.ZodType< - FourHundredAndThirty, +export const FourHundredAndThirtyFive$inboundSchema: z.ZodType< + FourHundredAndThirtyFive, z.ZodTypeDef, unknown -> = z.object({ - eventId: types.string(), - occurredAt: types.number(), - sessionId: types.string(), - sessionKind: types.string(), - surface: types.string(), -}); - -export function fourHundredAndThirtyFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eventId: types.string(), + occurredAt: types.number(), + sessionId: types.string(), + sessionKind: types.string(), + surface: types.string(), + }) +); + +export function fourHundredAndThirtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirty' from JSON`, + (x) => FourHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyFive' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentyNine$inboundSchema: z.ZodType< - FourHundredAndTwentyNine, +export const FourHundredAndThirtyFour$inboundSchema: z.ZodType< + FourHundredAndThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - amount: types.string(), - currency: types.string(), - expiresAt: types.string(), - trialCreditsIssuedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + currency: types.string(), + expiresAt: types.string(), + trialCreditsIssuedAt: types.number(), + }) +); -export function fourHundredAndTwentyNineFromJSON( +export function fourHundredAndThirtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyNine' from JSON`, + (x) => FourHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyFour' from JSON`, ); } /** @internal */ export const UserEventPayloadRepositoryScope$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadRepositoryScope -> = z.nativeEnum(UserEventPayloadRepositoryScope); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadRepositoryScope) +); /** @internal */ -export const UserEventPayload428Next$inboundSchema: z.ZodType< - UserEventPayload428Next, +export const UserEventPayload433Next$inboundSchema: z.ZodType< + UserEventPayload433Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - repositoryScope: types.optional( - UserEventPayloadRepositoryScope$inboundSchema, - ), -}); - -export function userEventPayload428NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + repositoryScope: types.optional( + UserEventPayloadRepositoryScope$inboundSchema, + ), + }) +); + +export function userEventPayload433NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload428Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload428Next' from JSON`, + (x) => UserEventPayload433Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload433Next' from JSON`, ); } /** @internal */ -export const UserEventPayload428RepositoryScope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload428RepositoryScope -> = z.nativeEnum(UserEventPayload428RepositoryScope); +export const UserEventPayload433RepositoryScope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload433RepositoryScope +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload433RepositoryScope) +); /** @internal */ -export const UserEventPayload428Previous$inboundSchema: z.ZodType< - UserEventPayload428Previous, +export const UserEventPayload433Previous$inboundSchema: z.ZodType< + UserEventPayload433Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - repositoryScope: types.optional( - UserEventPayload428RepositoryScope$inboundSchema, - ), -}); - -export function userEventPayload428PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + repositoryScope: types.optional( + UserEventPayload433RepositoryScope$inboundSchema, + ), + }) +); + +export function userEventPayload433PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload428Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload428Previous' from JSON`, + (x) => UserEventPayload433Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload433Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentyEight$inboundSchema: z.ZodType< - FourHundredAndTwentyEight, +export const FourHundredAndThirtyThree$inboundSchema: z.ZodType< + FourHundredAndThirtyThree, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload428Next$inboundSchema), - previous: z.lazy(() => UserEventPayload428Previous$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload433Next$inboundSchema), + previous: z.lazy(() => UserEventPayload433Previous$inboundSchema), + }) +); -export function fourHundredAndTwentyEightFromJSON( +export function fourHundredAndThirtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyEight' from JSON`, + (x) => FourHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyThree' from JSON`, ); } /** @internal */ export const UserEventPayloadProjectScope$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadProjectScope -> = z.nativeEnum(UserEventPayloadProjectScope); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadProjectScope) +); /** @internal */ export const RepositoryScope$inboundSchema: z.ZodNativeEnum< typeof RepositoryScope -> = z.nativeEnum(RepositoryScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RepositoryScope)); /** @internal */ -export const UserEventPayload427Next$inboundSchema: z.ZodType< - UserEventPayload427Next, +export const UserEventPayload432Next$inboundSchema: z.ZodType< + UserEventPayload432Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - projectIds: types.optional(z.array(types.string())), - projectScope: UserEventPayloadProjectScope$inboundSchema, - repositoryScope: types.optional(RepositoryScope$inboundSchema), -}); - -export function userEventPayload427NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + projectIds: types.optional(z.array(types.string())), + projectScope: UserEventPayloadProjectScope$inboundSchema, + repositoryScope: types.optional(RepositoryScope$inboundSchema), + }) +); + +export function userEventPayload432NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload427Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload427Next' from JSON`, + (x) => UserEventPayload432Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload432Next' from JSON`, ); } /** @internal */ export const PayloadProjectScope$inboundSchema: z.ZodNativeEnum< typeof PayloadProjectScope -> = z.nativeEnum(PayloadProjectScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadProjectScope)); /** @internal */ export const PayloadRepositoryScope$inboundSchema: z.ZodNativeEnum< typeof PayloadRepositoryScope -> = z.nativeEnum(PayloadRepositoryScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadRepositoryScope)); /** @internal */ -export const UserEventPayload427Previous$inboundSchema: z.ZodType< - UserEventPayload427Previous, +export const UserEventPayload432Previous$inboundSchema: z.ZodType< + UserEventPayload432Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - projectIds: types.optional(z.array(types.string())), - projectScope: PayloadProjectScope$inboundSchema, - repositoryScope: types.optional(PayloadRepositoryScope$inboundSchema), -}); - -export function userEventPayload427PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + projectIds: types.optional(z.array(types.string())), + projectScope: PayloadProjectScope$inboundSchema, + repositoryScope: types.optional(PayloadRepositoryScope$inboundSchema), + }) +); + +export function userEventPayload432PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload427Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload427Previous' from JSON`, + (x) => UserEventPayload432Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload432Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentySeven$inboundSchema: z.ZodType< - FourHundredAndTwentySeven, +export const FourHundredAndThirtyTwo$inboundSchema: z.ZodType< + FourHundredAndThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload427Next$inboundSchema), - previous: z.lazy(() => UserEventPayload427Previous$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload432Next$inboundSchema), + previous: z.lazy(() => UserEventPayload432Previous$inboundSchema), + }) +); -export function fourHundredAndTwentySevenFromJSON( +export function fourHundredAndThirtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentySeven' from JSON`, + (x) => FourHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload426Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload426Action -> = z.nativeEnum(UserEventPayload426Action); +export const UserEventPayload431Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload431Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload431Action)); /** @internal */ export const PayloadCodeReviewSelection$inboundSchema: z.ZodType< PayloadCodeReviewSelection, z.ZodTypeDef, unknown -> = z.object({ - initial: types.boolean(), - submitted: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initial: types.boolean(), + submitted: types.boolean(), + }) +); export function payloadCodeReviewSelectionFromJSON( jsonString: string, @@ -2287,106 +2334,118 @@ export function payloadCodeReviewSelectionFromJSON( } /** @internal */ -export const UserEventPayload426Endpoint$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload426Endpoint -> = z.nativeEnum(UserEventPayload426Endpoint); +export const UserEventPayload431Endpoint$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload431Endpoint +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload431Endpoint) +); /** @internal */ -export const UserEventPayload426Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload426Scope -> = z.nativeEnum(UserEventPayload426Scope); +export const UserEventPayload431Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload431Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload431Scope)); /** @internal */ -export const UserEventPayload426Next$inboundSchema: z.ZodType< - UserEventPayload426Next, +export const UserEventPayload431Next$inboundSchema: z.ZodType< + UserEventPayload431Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - includeDrafts: types.boolean(), - scope: UserEventPayload426Scope$inboundSchema, - selectedRepos: z.nullable(z.array(types.string())).optional(), -}); - -export function userEventPayload426NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + includeDrafts: types.boolean(), + scope: UserEventPayload431Scope$inboundSchema, + selectedRepos: z.nullable(z.array(types.string())).optional(), + }) +); + +export function userEventPayload431NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload426Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload426Next' from JSON`, + (x) => UserEventPayload431Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload431Next' from JSON`, ); } /** @internal */ -export const UserEventPayload426PreviousScope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload426PreviousScope -> = z.nativeEnum(UserEventPayload426PreviousScope); +export const UserEventPayload431PreviousScope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload431PreviousScope +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload431PreviousScope) +); /** @internal */ -export const UserEventPayload426Previous$inboundSchema: z.ZodType< - UserEventPayload426Previous, +export const UserEventPayload431Previous$inboundSchema: z.ZodType< + UserEventPayload431Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - includeDrafts: types.boolean(), - scope: UserEventPayload426PreviousScope$inboundSchema, - selectedRepos: z.nullable(z.array(types.string())).optional(), -}); - -export function userEventPayload426PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + includeDrafts: types.boolean(), + scope: UserEventPayload431PreviousScope$inboundSchema, + selectedRepos: z.nullable(z.array(types.string())).optional(), + }) +); + +export function userEventPayload431PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload426Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload426Previous' from JSON`, + (x) => UserEventPayload431Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload431Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentySix$inboundSchema: z.ZodType< - FourHundredAndTwentySix, +export const FourHundredAndThirtyOne$inboundSchema: z.ZodType< + FourHundredAndThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(UserEventPayload426Action$inboundSchema), - codeReviewSelection: types.optional( - z.lazy(() => PayloadCodeReviewSelection$inboundSchema), - ), - endpoint: types.optional(UserEventPayload426Endpoint$inboundSchema), - next: z.lazy(() => UserEventPayload426Next$inboundSchema), - previous: types.optional( - z.lazy(() => UserEventPayload426Previous$inboundSchema), - ), - source: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(UserEventPayload431Action$inboundSchema), + codeReviewSelection: types.optional( + z.lazy(() => PayloadCodeReviewSelection$inboundSchema), + ), + endpoint: types.optional(UserEventPayload431Endpoint$inboundSchema), + next: z.lazy(() => UserEventPayload431Next$inboundSchema), + previous: types.optional( + z.lazy(() => UserEventPayload431Previous$inboundSchema), + ), + source: types.optional(types.string()), + }) +); -export function fourHundredAndTwentySixFromJSON( +export function fourHundredAndThirtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentySix' from JSON`, + (x) => FourHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirtyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload425Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload425Action -> = z.nativeEnum(UserEventPayload425Action); +export const UserEventPayload430Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload430Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload430Action)); /** @internal */ export const CodeReviewSelection$inboundSchema: z.ZodType< CodeReviewSelection, z.ZodTypeDef, unknown -> = z.object({ - initial: types.boolean(), - submitted: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + initial: types.boolean(), + submitted: types.boolean(), + }) +); export function codeReviewSelectionFromJSON( jsonString: string, @@ -2401,276 +2460,300 @@ export function codeReviewSelectionFromJSON( /** @internal */ export const UserEventPayloadEndpoint$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadEndpoint -> = z.nativeEnum(UserEventPayloadEndpoint); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadEndpoint)); /** @internal */ -export const UserEventPayload425Next$inboundSchema: z.ZodType< - UserEventPayload425Next, +export const UserEventPayload430Next$inboundSchema: z.ZodType< + UserEventPayload430Next, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - maximumOverdraft: types.nullable(types.string()), -}); - -export function userEventPayload425NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + maximumOverdraft: types.nullable(types.string()), + }) +); + +export function userEventPayload430NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload425Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload425Next' from JSON`, + (x) => UserEventPayload430Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload430Next' from JSON`, ); } /** @internal */ -export const UserEventPayload425Previous$inboundSchema: z.ZodType< - UserEventPayload425Previous, +export const UserEventPayload430Previous$inboundSchema: z.ZodType< + UserEventPayload430Previous, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - maximumOverdraft: types.nullable(types.string()), -}); - -export function userEventPayload425PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + maximumOverdraft: types.nullable(types.string()), + }) +); + +export function userEventPayload430PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload425Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload425Previous' from JSON`, + (x) => UserEventPayload430Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload430Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentyFive$inboundSchema: z.ZodType< - FourHundredAndTwentyFive, +export const FourHundredAndThirty$inboundSchema: z.ZodType< + FourHundredAndThirty, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload425Action$inboundSchema, - codeReviewEnabled: types.boolean(), - codeReviewSelection: types.optional( - z.lazy(() => CodeReviewSelection$inboundSchema), - ), - cumulativeBalance: types.string(), - endpoint: UserEventPayloadEndpoint$inboundSchema, - ledgerId: types.string(), - next: z.lazy(() => UserEventPayload425Next$inboundSchema), - previous: z.lazy(() => UserEventPayload425Previous$inboundSchema), - removedTopupIds: z.array(types.string()), - source: types.string(), - topupCleanupCompleted: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload430Action$inboundSchema, + codeReviewEnabled: types.boolean(), + codeReviewSelection: types.optional( + z.lazy(() => CodeReviewSelection$inboundSchema), + ), + cumulativeBalance: types.string(), + endpoint: UserEventPayloadEndpoint$inboundSchema, + ledgerId: types.string(), + next: z.lazy(() => UserEventPayload430Next$inboundSchema), + previous: z.lazy(() => UserEventPayload430Previous$inboundSchema), + removedTopupIds: z.array(types.string()), + source: types.string(), + topupCleanupCompleted: types.boolean(), + }) +); -export function fourHundredAndTwentyFiveFromJSON( +export function fourHundredAndThirtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyFive' from JSON`, + (x) => FourHundredAndThirty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirty' from JSON`, ); } /** @internal */ export const BillingConsent$inboundSchema: z.ZodNativeEnum< typeof BillingConsent -> = z.nativeEnum(BillingConsent); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BillingConsent)); /** @internal */ -export const FourHundredAndTwentyFour$inboundSchema: z.ZodType< - FourHundredAndTwentyFour, +export const FourHundredAndTwentyNine$inboundSchema: z.ZodType< + FourHundredAndTwentyNine, z.ZodTypeDef, unknown -> = z.object({ - billingConsent: BillingConsent$inboundSchema, - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingConsent: BillingConsent$inboundSchema, + source: types.string(), + }) +); -export function fourHundredAndTwentyFourFromJSON( +export function fourHundredAndTwentyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyFour' from JSON`, + (x) => FourHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyNine' from JSON`, ); } /** @internal */ -export const FourHundredAndTwentyThree$inboundSchema: z.ZodType< - FourHundredAndTwentyThree, +export const FourHundredAndTwentyEight$inboundSchema: z.ZodType< + FourHundredAndTwentyEight, z.ZodTypeDef, unknown -> = z.object({ - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: types.string(), + }) +); -export function fourHundredAndTwentyThreeFromJSON( +export function fourHundredAndTwentyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyThree' from JSON`, + (x) => FourHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyEight' from JSON`, ); } /** @internal */ -export const UserEventPayload422ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload422ActorType -> = z.nativeEnum(UserEventPayload422ActorType); +export const UserEventPayload427ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload427ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload427ActorType) +); /** @internal */ -export const FourHundredAndTwentyTwo$inboundSchema: z.ZodType< - FourHundredAndTwentyTwo, +export const FourHundredAndTwentySeven$inboundSchema: z.ZodType< + FourHundredAndTwentySeven, z.ZodTypeDef, unknown -> = z.object({ - actorId: types.optional(types.string()), - actorType: types.optional(UserEventPayload422ActorType$inboundSchema), - caseNumber: types.optional(types.string()), - client: types.optional(types.string()), - reason: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorId: types.optional(types.string()), + actorType: types.optional(UserEventPayload427ActorType$inboundSchema), + caseNumber: types.optional(types.string()), + client: types.optional(types.string()), + reason: types.optional(types.string()), + }) +); -export function fourHundredAndTwentyTwoFromJSON( +export function fourHundredAndTwentySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyTwo' from JSON`, + (x) => FourHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentySeven' from JSON`, ); } /** @internal */ export const PayloadAccess$inboundSchema: z.ZodNativeEnum< typeof PayloadAccess -> = z.nativeEnum(PayloadAccess); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadAccess)); /** @internal */ -export const UserEventPayload421Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload421Type -> = z.nativeEnum(UserEventPayload421Type); +export const UserEventPayload426Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload426Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload426Type)); /** @internal */ -export const FourHundredAndTwentyOne$inboundSchema: z.ZodType< - FourHundredAndTwentyOne, +export const FourHundredAndTwentySix$inboundSchema: z.ZodType< + FourHundredAndTwentySix, z.ZodTypeDef, unknown -> = z.object({ - access: types.optional(PayloadAccess$inboundSchema), - computeUnitsMax: types.optional(types.number()), - computeUnitsMin: types.optional(types.number()), - id: types.string(), - name: types.optional(types.string()), - suspendTimeoutSeconds: types.optional(types.number()), - type: UserEventPayload421Type$inboundSchema, - locked: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.optional(PayloadAccess$inboundSchema), + computeUnitsMax: types.optional(types.number()), + computeUnitsMin: types.optional(types.number()), + id: types.string(), + name: types.optional(types.string()), + suspendTimeoutSeconds: types.optional(types.number()), + type: UserEventPayload426Type$inboundSchema, + locked: types.boolean(), + }) +); -export function fourHundredAndTwentyOneFromJSON( +export function fourHundredAndTwentySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwentyOne' from JSON`, + (x) => FourHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentySix' from JSON`, ); } /** @internal */ -export const UserEventPayload420Store$inboundSchema: z.ZodType< - UserEventPayload420Store, +export const UserEventPayload425Store$inboundSchema: z.ZodType< + UserEventPayload425Store, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload420StoreFromJSON( +export function userEventPayload425StoreFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload420Store$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload420Store' from JSON`, + (x) => UserEventPayload425Store$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload425Store' from JSON`, ); } /** @internal */ -export const FourHundredAndTwenty$inboundSchema: z.ZodType< - FourHundredAndTwenty, +export const FourHundredAndTwentyFive$inboundSchema: z.ZodType< + FourHundredAndTwentyFive, z.ZodTypeDef, unknown -> = z.object({ - ownerId: types.optional(types.string()), - store: z.lazy(() => UserEventPayload420Store$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: types.optional(types.string()), + store: z.lazy(() => UserEventPayload425Store$inboundSchema), + }) +); -export function fourHundredAndTwentyFromJSON( +export function fourHundredAndTwentyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwenty' from JSON`, + (x) => FourHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyFive' from JSON`, ); } /** @internal */ -export const Access$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Access); +export const Access$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Access)); /** @internal */ -export const UserEventPayload419Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload419Type -> = z.nativeEnum(UserEventPayload419Type); +export const UserEventPayload424Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload424Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload424Type)); /** @internal */ -export const FourHundredAndNineteen$inboundSchema: z.ZodType< - FourHundredAndNineteen, +export const FourHundredAndTwentyFour$inboundSchema: z.ZodType< + FourHundredAndTwentyFour, z.ZodTypeDef, unknown -> = z.object({ - access: types.optional(Access$inboundSchema), - computeUnitsMax: types.optional(types.number()), - computeUnitsMin: types.optional(types.number()), - id: types.string(), - name: types.optional(types.string()), - suspendTimeoutSeconds: types.optional(types.number()), - type: UserEventPayload419Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.optional(Access$inboundSchema), + computeUnitsMax: types.optional(types.number()), + computeUnitsMin: types.optional(types.number()), + id: types.string(), + name: types.optional(types.string()), + suspendTimeoutSeconds: types.optional(types.number()), + type: UserEventPayload424Type$inboundSchema, + }) +); -export function fourHundredAndNineteenFromJSON( +export function fourHundredAndTwentyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndNineteen' from JSON`, + (x) => FourHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyFour' from JSON`, ); } /** @internal */ -export const UserEventPayload418Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload418Type -> = z.nativeEnum(UserEventPayload418Type); +export const UserEventPayload423Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload423Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload423Type)); /** @internal */ export const UserEventPayloadStore$inboundSchema: z.ZodType< UserEventPayloadStore, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), - type: UserEventPayload418Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + type: UserEventPayload423Type$inboundSchema, + }) +); export function userEventPayloadStoreFromJSON( jsonString: string, @@ -2683,41 +2766,45 @@ export function userEventPayloadStoreFromJSON( } /** @internal */ -export const FourHundredAndEighteen$inboundSchema: z.ZodType< - FourHundredAndEighteen, +export const FourHundredAndTwentyThree$inboundSchema: z.ZodType< + FourHundredAndTwentyThree, z.ZodTypeDef, unknown -> = z.object({ - store: z.lazy(() => UserEventPayloadStore$inboundSchema), - originTeamId: types.string(), - originTeamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: z.lazy(() => UserEventPayloadStore$inboundSchema), + originTeamId: types.string(), + originTeamName: types.string(), + }) +); -export function fourHundredAndEighteenFromJSON( +export function fourHundredAndTwentyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndEighteen' from JSON`, + (x) => FourHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload417Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload417Type -> = z.nativeEnum(UserEventPayload417Type); +export const UserEventPayload422Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload422Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload422Type)); /** @internal */ export const PayloadStore$inboundSchema: z.ZodType< PayloadStore, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), - type: UserEventPayload417Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + type: UserEventPayload422Type$inboundSchema, + }) +); export function payloadStoreFromJSON( jsonString: string, @@ -2730,38 +2817,42 @@ export function payloadStoreFromJSON( } /** @internal */ -export const FourHundredAndSeventeen$inboundSchema: z.ZodType< - FourHundredAndSeventeen, +export const FourHundredAndTwentyTwo$inboundSchema: z.ZodType< + FourHundredAndTwentyTwo, z.ZodTypeDef, unknown -> = z.object({ - store: z.lazy(() => PayloadStore$inboundSchema), - destinationTeamId: types.string(), - destinationTeamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: z.lazy(() => PayloadStore$inboundSchema), + destinationTeamId: types.string(), + destinationTeamName: types.string(), + }) +); -export function fourHundredAndSeventeenFromJSON( +export function fourHundredAndTwentyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeventeen' from JSON`, + (x) => FourHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload416Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload416Type -> = z.nativeEnum(UserEventPayload416Type); +export const UserEventPayload421Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload421Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload421Type)); /** @internal */ -export const Store$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - name: types.optional(types.string()), - type: UserEventPayload416Type$inboundSchema, - }); +export const Store$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + type: UserEventPayload421Type$inboundSchema, + }) + ); export function storeFromJSON( jsonString: string, @@ -2774,153 +2865,171 @@ export function storeFromJSON( } /** @internal */ -export const FourHundredAndSixteen$inboundSchema: z.ZodType< - FourHundredAndSixteen, +export const FourHundredAndTwentyOne$inboundSchema: z.ZodType< + FourHundredAndTwentyOne, z.ZodTypeDef, unknown -> = z.object({ - store: z.lazy(() => Store$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + store: z.lazy(() => Store$inboundSchema), + }) +); -export function fourHundredAndSixteenFromJSON( +export function fourHundredAndTwentyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSixteen' from JSON`, + (x) => FourHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwentyOne' from JSON`, ); } /** @internal */ -export const StoreType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(StoreType); +export const StoreType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StoreType)); /** @internal */ -export const FourHundredAndFifteen$inboundSchema: z.ZodType< - FourHundredAndFifteen, +export const FourHundredAndTwenty$inboundSchema: z.ZodType< + FourHundredAndTwenty, z.ZodTypeDef, unknown -> = z.object({ - storeType: StoreType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeType: StoreType$inboundSchema, + }) +); -export function fourHundredAndFifteenFromJSON( +export function fourHundredAndTwentyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFifteen' from JSON`, + (x) => FourHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwenty' from JSON`, ); } /** @internal */ -export const FourHundredAndFourteen$inboundSchema: z.ZodType< - FourHundredAndFourteen, +export const FourHundredAndNineteen$inboundSchema: z.ZodType< + FourHundredAndNineteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - webhookUrl: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + webhookUrl: types.optional(types.string()), + }) +); -export function fourHundredAndFourteenFromJSON( +export function fourHundredAndNineteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndFourteen' from JSON`, + (x) => FourHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndNineteen' from JSON`, ); } /** @internal */ export const UserEventPayloadPricingPlan$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadPricingPlan -> = z.nativeEnum(UserEventPayloadPricingPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadPricingPlan) +); /** @internal */ -export const UserEventPayload413Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload413Scope -> = z.nativeEnum(UserEventPayload413Scope); +export const UserEventPayload418Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload418Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload418Scope)); /** @internal */ -export const UserEventPayload413Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload413Type -> = z.nativeEnum(UserEventPayload413Type); +export const UserEventPayload418Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload418Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload418Type)); /** @internal */ -export const UserEventPayload413Budget$inboundSchema: z.ZodType< - UserEventPayload413Budget, +export const UserEventPayload418Budget$inboundSchema: z.ZodType< + UserEventPayload418Budget, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - fixedBudget: types.number(), - id: types.string(), - isActive: types.boolean(), - notifiedAt: z.array(types.number()), - pauseProjects: types.optional(types.boolean()), - previousSpend: z.array(types.number()), - pricingPlan: types.optional(UserEventPayloadPricingPlan$inboundSchema), - scope: types.optional(UserEventPayload413Scope$inboundSchema), - scopeId: types.optional(types.string()), - teamId: types.string(), - type: UserEventPayload413Type$inboundSchema, - updatedAt: types.optional(types.number()), - webhookId: types.optional(types.string()), - webhookNotified: types.optional(types.boolean()), -}); - -export function userEventPayload413BudgetFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + fixedBudget: types.number(), + id: types.string(), + isActive: types.boolean(), + notifiedAt: z.array(types.number()), + pauseProjects: types.optional(types.boolean()), + previousSpend: z.array(types.number()), + pricingPlan: types.optional(UserEventPayloadPricingPlan$inboundSchema), + scope: types.optional(UserEventPayload418Scope$inboundSchema), + scopeId: types.optional(types.string()), + teamId: types.string(), + type: UserEventPayload418Type$inboundSchema, + updatedAt: types.optional(types.number()), + webhookId: types.optional(types.string()), + webhookNotified: types.optional(types.boolean()), + }) +); + +export function userEventPayload418BudgetFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload413Budget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload413Budget' from JSON`, + (x) => UserEventPayload418Budget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload418Budget' from JSON`, ); } /** @internal */ -export const UserEventPayload413PricingPlan$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload413PricingPlan -> = z.nativeEnum(UserEventPayload413PricingPlan); +export const UserEventPayload418PricingPlan$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload418PricingPlan +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload418PricingPlan) +); /** @internal */ -export const UserEventPayload413PrevBudgetScope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload413PrevBudgetScope -> = z.nativeEnum(UserEventPayload413PrevBudgetScope); +export const UserEventPayload418PrevBudgetScope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload418PrevBudgetScope +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload418PrevBudgetScope) +); /** @internal */ -export const UserEventPayload413PrevBudgetType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload413PrevBudgetType -> = z.nativeEnum(UserEventPayload413PrevBudgetType); +export const UserEventPayload418PrevBudgetType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload418PrevBudgetType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload418PrevBudgetType) +); /** @internal */ export const PrevBudget$inboundSchema: z.ZodType< PrevBudget, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - fixedBudget: types.number(), - id: types.string(), - isActive: types.boolean(), - notifiedAt: z.array(types.number()), - pauseProjects: types.optional(types.boolean()), - previousSpend: z.array(types.number()), - pricingPlan: types.optional(UserEventPayload413PricingPlan$inboundSchema), - scope: types.optional(UserEventPayload413PrevBudgetScope$inboundSchema), - scopeId: types.optional(types.string()), - teamId: types.string(), - type: UserEventPayload413PrevBudgetType$inboundSchema, - updatedAt: types.optional(types.number()), - webhookId: types.optional(types.string()), - webhookNotified: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + fixedBudget: types.number(), + id: types.string(), + isActive: types.boolean(), + notifiedAt: z.array(types.number()), + pauseProjects: types.optional(types.boolean()), + previousSpend: z.array(types.number()), + pricingPlan: types.optional(UserEventPayload418PricingPlan$inboundSchema), + scope: types.optional(UserEventPayload418PrevBudgetScope$inboundSchema), + scopeId: types.optional(types.string()), + teamId: types.string(), + type: UserEventPayload418PrevBudgetType$inboundSchema, + updatedAt: types.optional(types.number()), + webhookId: types.optional(types.string()), + webhookNotified: types.optional(types.boolean()), + }) +); export function prevBudgetFromJSON( jsonString: string, @@ -2933,207 +3042,221 @@ export function prevBudgetFromJSON( } /** @internal */ -export const FourHundredAndThirteen$inboundSchema: z.ZodType< - FourHundredAndThirteen, +export const FourHundredAndEighteen$inboundSchema: z.ZodType< + FourHundredAndEighteen, z.ZodTypeDef, unknown -> = z.object({ - budget: z.lazy(() => UserEventPayload413Budget$inboundSchema), - prevBudget: types.optional(z.lazy(() => PrevBudget$inboundSchema)), - prevWebhookUrl: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - scopeName: types.optional(types.string()), - webhookUrl: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budget: z.lazy(() => UserEventPayload418Budget$inboundSchema), + prevBudget: types.optional(z.lazy(() => PrevBudget$inboundSchema)), + prevWebhookUrl: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + scopeName: types.optional(types.string()), + webhookUrl: types.optional(types.string()), + }) +); -export function fourHundredAndThirteenFromJSON( +export function fourHundredAndEighteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndThirteen' from JSON`, + (x) => FourHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndEighteen' from JSON`, ); } /** @internal */ export const PayloadPricingPlan$inboundSchema: z.ZodNativeEnum< typeof PayloadPricingPlan -> = z.nativeEnum(PayloadPricingPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadPricingPlan)); /** @internal */ -export const UserEventPayload412Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload412Scope -> = z.nativeEnum(UserEventPayload412Scope); +export const UserEventPayload417Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload417Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload417Scope)); /** @internal */ -export const UserEventPayload412Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload412Type -> = z.nativeEnum(UserEventPayload412Type); +export const UserEventPayload417Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload417Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload417Type)); /** @internal */ -export const UserEventPayload412Budget$inboundSchema: z.ZodType< - UserEventPayload412Budget, +export const UserEventPayload417Budget$inboundSchema: z.ZodType< + UserEventPayload417Budget, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - fixedBudget: types.number(), - id: types.string(), - isActive: types.boolean(), - notifiedAt: z.array(types.number()), - pauseProjects: types.optional(types.boolean()), - previousSpend: z.array(types.number()), - pricingPlan: types.optional(PayloadPricingPlan$inboundSchema), - scope: types.optional(UserEventPayload412Scope$inboundSchema), - scopeId: types.optional(types.string()), - teamId: types.string(), - type: UserEventPayload412Type$inboundSchema, - updatedAt: types.optional(types.number()), - webhookId: types.optional(types.string()), - webhookNotified: types.optional(types.boolean()), -}); - -export function userEventPayload412BudgetFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + fixedBudget: types.number(), + id: types.string(), + isActive: types.boolean(), + notifiedAt: z.array(types.number()), + pauseProjects: types.optional(types.boolean()), + previousSpend: z.array(types.number()), + pricingPlan: types.optional(PayloadPricingPlan$inboundSchema), + scope: types.optional(UserEventPayload417Scope$inboundSchema), + scopeId: types.optional(types.string()), + teamId: types.string(), + type: UserEventPayload417Type$inboundSchema, + updatedAt: types.optional(types.number()), + webhookId: types.optional(types.string()), + webhookNotified: types.optional(types.boolean()), + }) +); + +export function userEventPayload417BudgetFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload412Budget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload412Budget' from JSON`, + (x) => UserEventPayload417Budget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload417Budget' from JSON`, ); } /** @internal */ -export const FourHundredAndTwelve$inboundSchema: z.ZodType< - FourHundredAndTwelve, +export const FourHundredAndSeventeen$inboundSchema: z.ZodType< + FourHundredAndSeventeen, z.ZodTypeDef, unknown -> = z.object({ - budget: z.lazy(() => UserEventPayload412Budget$inboundSchema), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - scopeName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budget: z.lazy(() => UserEventPayload417Budget$inboundSchema), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + scopeName: types.optional(types.string()), + }) +); -export function fourHundredAndTwelveFromJSON( +export function fourHundredAndSeventeenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTwelve' from JSON`, + (x) => FourHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeventeen' from JSON`, ); } /** @internal */ -export const PricingPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PricingPlan); +export const PricingPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PricingPlan)); /** @internal */ -export const UserEventPayload411Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload411Scope -> = z.nativeEnum(UserEventPayload411Scope); +export const UserEventPayload416Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload416Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload416Scope)); /** @internal */ -export const UserEventPayload411Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload411Type -> = z.nativeEnum(UserEventPayload411Type); +export const UserEventPayload416Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload416Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload416Type)); /** @internal */ -export const UserEventPayload411Budget$inboundSchema: z.ZodType< - UserEventPayload411Budget, +export const UserEventPayload416Budget$inboundSchema: z.ZodType< + UserEventPayload416Budget, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - fixedBudget: types.number(), - id: types.string(), - isActive: types.boolean(), - notifiedAt: z.array(types.number()), - pauseProjects: types.optional(types.boolean()), - previousSpend: z.array(types.number()), - pricingPlan: types.optional(PricingPlan$inboundSchema), - scope: types.optional(UserEventPayload411Scope$inboundSchema), - scopeId: types.optional(types.string()), - teamId: types.string(), - type: UserEventPayload411Type$inboundSchema, - updatedAt: types.optional(types.number()), - webhookId: types.optional(types.string()), - webhookNotified: types.optional(types.boolean()), -}); - -export function userEventPayload411BudgetFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + fixedBudget: types.number(), + id: types.string(), + isActive: types.boolean(), + notifiedAt: z.array(types.number()), + pauseProjects: types.optional(types.boolean()), + previousSpend: z.array(types.number()), + pricingPlan: types.optional(PricingPlan$inboundSchema), + scope: types.optional(UserEventPayload416Scope$inboundSchema), + scopeId: types.optional(types.string()), + teamId: types.string(), + type: UserEventPayload416Type$inboundSchema, + updatedAt: types.optional(types.number()), + webhookId: types.optional(types.string()), + webhookNotified: types.optional(types.boolean()), + }) +); + +export function userEventPayload416BudgetFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload411Budget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload411Budget' from JSON`, + (x) => UserEventPayload416Budget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload416Budget' from JSON`, ); } /** @internal */ -export const FourHundredAndEleven$inboundSchema: z.ZodType< - FourHundredAndEleven, +export const FourHundredAndSixteen$inboundSchema: z.ZodType< + FourHundredAndSixteen, z.ZodTypeDef, unknown -> = z.object({ - budget: z.lazy(() => UserEventPayload411Budget$inboundSchema), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - scopeName: types.optional(types.string()), - webhookUrl: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budget: z.lazy(() => UserEventPayload416Budget$inboundSchema), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + scopeName: types.optional(types.string()), + webhookUrl: types.optional(types.string()), + }) +); -export function fourHundredAndElevenFromJSON( +export function fourHundredAndSixteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndEleven' from JSON`, + (x) => FourHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSixteen' from JSON`, ); } /** @internal */ -export const UserEventPayload410PricingPlan$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload410PricingPlan -> = z.nativeEnum(UserEventPayload410PricingPlan); +export const UserEventPayload415PricingPlan$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload415PricingPlan +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload415PricingPlan) +); /** @internal */ -export const UserEventPayload410Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload410Scope -> = z.nativeEnum(UserEventPayload410Scope); +export const UserEventPayload415Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload415Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload415Scope)); /** @internal */ -export const UserEventPayload410Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload410Type -> = z.nativeEnum(UserEventPayload410Type); +export const UserEventPayload415Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload415Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload415Type)); /** @internal */ export const BudgetItem$inboundSchema: z.ZodType< BudgetItem, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - fixedBudget: types.number(), - id: types.string(), - isActive: types.boolean(), - notifiedAt: z.array(types.number()), - pauseProjects: types.optional(types.boolean()), - previousSpend: z.array(types.number()), - pricingPlan: types.optional(UserEventPayload410PricingPlan$inboundSchema), - scope: types.optional(UserEventPayload410Scope$inboundSchema), - scopeId: types.optional(types.string()), - teamId: types.string(), - type: UserEventPayload410Type$inboundSchema, - updatedAt: types.optional(types.number()), - webhookId: types.optional(types.string()), - webhookNotified: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + fixedBudget: types.number(), + id: types.string(), + isActive: types.boolean(), + notifiedAt: z.array(types.number()), + pauseProjects: types.optional(types.boolean()), + previousSpend: z.array(types.number()), + pricingPlan: types.optional(UserEventPayload415PricingPlan$inboundSchema), + scope: types.optional(UserEventPayload415Scope$inboundSchema), + scopeId: types.optional(types.string()), + teamId: types.string(), + type: UserEventPayload415Type$inboundSchema, + updatedAt: types.optional(types.number()), + webhookId: types.optional(types.string()), + webhookNotified: types.optional(types.boolean()), + }) +); export function budgetItemFromJSON( jsonString: string, @@ -3146,176 +3269,192 @@ export function budgetItemFromJSON( } /** @internal */ -export const UserEventPayload410Budget$inboundSchema: z.ZodType< - UserEventPayload410Budget, +export const UserEventPayload415Budget$inboundSchema: z.ZodType< + UserEventPayload415Budget, z.ZodTypeDef, unknown -> = z.object({ - budgetItem: z.lazy(() => BudgetItem$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budgetItem: z.lazy(() => BudgetItem$inboundSchema), + }) +); -export function userEventPayload410BudgetFromJSON( +export function userEventPayload415BudgetFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload410Budget$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload410Budget' from JSON`, + (x) => UserEventPayload415Budget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload415Budget' from JSON`, ); } /** @internal */ -export const FourHundredAndTen$inboundSchema: z.ZodType< - FourHundredAndTen, +export const FourHundredAndFifteen$inboundSchema: z.ZodType< + FourHundredAndFifteen, z.ZodTypeDef, unknown -> = z.object({ - budget: z.lazy(() => UserEventPayload410Budget$inboundSchema), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budget: z.lazy(() => UserEventPayload415Budget$inboundSchema), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) +); -export function fourHundredAndTenFromJSON( +export function fourHundredAndFifteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndTen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndTen' from JSON`, + (x) => FourHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFifteen' from JSON`, ); } /** @internal */ -export const UserEventPayload409Previous$inboundSchema: z.ZodType< - UserEventPayload409Previous, +export const UserEventPayload414Previous$inboundSchema: z.ZodType< + UserEventPayload414Previous, z.ZodTypeDef, unknown -> = z.object({ - sampleRatePercent: types.nullable(types.number()), - spendLimitInDollars: types.nullable(types.number()), -}); - -export function userEventPayload409PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sampleRatePercent: types.nullable(types.number()), + spendLimitInDollars: types.nullable(types.number()), + }) +); + +export function userEventPayload414PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload409Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload409Previous' from JSON`, + (x) => UserEventPayload414Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload414Previous' from JSON`, ); } /** @internal */ -export const FourHundredAndNine$inboundSchema: z.ZodType< - FourHundredAndNine, +export const FourHundredAndFourteen$inboundSchema: z.ZodType< + FourHundredAndFourteen, z.ZodTypeDef, unknown -> = z.object({ - analyticsId: types.optional(types.string()), - previous: z.lazy(() => UserEventPayload409Previous$inboundSchema), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - sampleRatePercent: types.nullable(types.number()), - spendLimitInDollars: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + analyticsId: types.optional(types.string()), + previous: z.lazy(() => UserEventPayload414Previous$inboundSchema), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + sampleRatePercent: types.nullable(types.number()), + spendLimitInDollars: types.nullable(types.number()), + }) +); -export function fourHundredAndNineFromJSON( +export function fourHundredAndFourteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndNine' from JSON`, + (x) => FourHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndFourteen' from JSON`, ); } /** @internal */ -export const FourHundredAndEight$inboundSchema: z.ZodType< - FourHundredAndEight, +export const FourHundredAndThirteen$inboundSchema: z.ZodType< + FourHundredAndThirteen, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - gitlabEmail: types.string(), - gitlabLogin: types.string(), - gitlabName: types.string(), - zeitAccount: types.string(), - zeitAccountType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + gitlabEmail: types.string(), + gitlabLogin: types.string(), + gitlabName: types.string(), + zeitAccount: types.string(), + zeitAccountType: types.string(), + }) +); -export function fourHundredAndEightFromJSON( +export function fourHundredAndThirteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndEight' from JSON`, + (x) => FourHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndThirteen' from JSON`, ); } /** @internal */ -export const FourHundredAndSeven$inboundSchema: z.ZodType< - FourHundredAndSeven, +export const FourHundredAndTwelve$inboundSchema: z.ZodType< + FourHundredAndTwelve, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.string(), - zeitAccount: types.string(), - zeitAccountType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.string(), + zeitAccount: types.string(), + zeitAccountType: types.string(), + }) +); -export function fourHundredAndSevenFromJSON( +export function fourHundredAndTwelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSeven' from JSON`, + (x) => FourHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTwelve' from JSON`, ); } /** @internal */ -export const FourHundredAndSix$inboundSchema: z.ZodType< - FourHundredAndSix, +export const FourHundredAndEleven$inboundSchema: z.ZodType< + FourHundredAndEleven, z.ZodTypeDef, unknown -> = z.object({ - bitbucketEmail: types.string(), - bitbucketLogin: types.string(), - bitbucketName: types.string(), - email: types.string(), - zeitAccount: types.string(), - zeitAccountType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bitbucketEmail: types.string(), + bitbucketLogin: types.string(), + bitbucketName: types.string(), + email: types.string(), + zeitAccount: types.string(), + zeitAccountType: types.string(), + }) +); -export function fourHundredAndSixFromJSON( +export function fourHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FourHundredAndSix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FourHundredAndSix' from JSON`, + (x) => FourHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndEleven' from JSON`, ); } /** @internal */ export const UserEventPayloadOrigin$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadOrigin -> = z.nativeEnum(UserEventPayloadOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadOrigin)); /** @internal */ export const PayloadFactors$inboundSchema: z.ZodType< PayloadFactors, z.ZodTypeDef, unknown -> = z.object({ - legacy: types.optional(types.boolean()), - origin: UserEventPayloadOrigin$inboundSchema, - ssoType: types.optional(types.string()), - teamId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy: types.optional(types.boolean()), + origin: UserEventPayloadOrigin$inboundSchema, + ssoType: types.optional(types.string()), + teamId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function payloadFactorsFromJSON( jsonString: string, @@ -3328,21 +3467,23 @@ export function payloadFactorsFromJSON( } /** @internal */ -export const UserEventPayload405Names$inboundSchema: z.ZodType< - UserEventPayload405Names, +export const UserEventPayload410Names$inboundSchema: z.ZodType< + UserEventPayload410Names, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); -export function userEventPayload405NamesFromJSON( +export function userEventPayload410NamesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload405Names$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload405Names' from JSON`, + (x) => UserEventPayload410Names$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload410Names' from JSON`, ); } @@ -3351,130 +3492,332 @@ export const PayloadCity$inboundSchema: z.ZodType< PayloadCity, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload405Names$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload410Names$inboundSchema), + }) +); + +export function payloadCityFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadCity$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadCity' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload410GeolocationNames$inboundSchema: z.ZodType< + UserEventPayload410GeolocationNames, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); + +export function userEventPayload410GeolocationNamesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UserEventPayload410GeolocationNames$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload410GeolocationNames' from JSON`, + ); +} + +/** @internal */ +export const PayloadCountry$inboundSchema: z.ZodType< + PayloadCountry, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayload410GeolocationNames$inboundSchema), + }) +); + +export function payloadCountryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadCountry$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadCountry' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload410GeolocationMostSpecificSubdivisionNames$inboundSchema: + z.ZodType< + UserEventPayload410GeolocationMostSpecificSubdivisionNames, + z.ZodTypeDef, + unknown + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); + +export function userEventPayload410GeolocationMostSpecificSubdivisionNamesFromJSON( + jsonString: string, +): SafeParseResult< + UserEventPayload410GeolocationMostSpecificSubdivisionNames, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UserEventPayload410GeolocationMostSpecificSubdivisionNames$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload410GeolocationMostSpecificSubdivisionNames' from JSON`, + ); +} + +/** @internal */ +export const PayloadMostSpecificSubdivision$inboundSchema: z.ZodType< + PayloadMostSpecificSubdivision, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => + UserEventPayload410GeolocationMostSpecificSubdivisionNames$inboundSchema + ), + }) +); + +export function payloadMostSpecificSubdivisionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadMostSpecificSubdivision$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadMostSpecificSubdivision' from JSON`, + ); +} + +/** @internal */ +export const PayloadGeolocation$inboundSchema: z.ZodType< + PayloadGeolocation, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => PayloadCity$inboundSchema)), + country: z.lazy(() => PayloadCountry$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => PayloadMostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); + +export function payloadGeolocationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadGeolocation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadGeolocation' from JSON`, + ); +} + +/** @internal */ +export const FourHundredAndTen$inboundSchema: z.ZodType< + FourHundredAndTen, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(types.string()), + factors: types.optional( + z.array(z.lazy(() => PayloadFactors$inboundSchema)), + ), + geolocation: z.nullable(z.lazy(() => PayloadGeolocation$inboundSchema)) + .optional(), + os: types.optional(types.string()), + ssoType: types.optional(types.string()), + userAgent: types.optional(types.string()), + username: types.optional(types.string()), + viaApple: types.optional(types.boolean()), + viaBitbucket: types.optional(types.boolean()), + viaGithub: types.optional(types.boolean()), + viaGitlab: types.optional(types.boolean()), + viaGoogle: types.optional(types.boolean()), + viaOTP: types.optional(types.boolean()), + viaPasskey: types.optional(types.boolean()), + viaSamlSso: types.optional(types.boolean()), + }) +); + +export function fourHundredAndTenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FourHundredAndTen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndTen' from JSON`, + ); +} + +/** @internal */ +export const ScalingRules$inboundSchema: z.ZodType< + ScalingRules, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + max: types.number(), + min: types.number(), + }) +); + +export function scalingRulesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ScalingRules$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ScalingRules' from JSON`, + ); +} + +/** @internal */ +export const FourHundredAndNine$inboundSchema: z.ZodType< + FourHundredAndNine, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + max: types.number(), + min: types.number(), + scalingRules: z.record(z.lazy(() => ScalingRules$inboundSchema)), + url: types.string(), + }) +); -export function payloadCityFromJSON( +export function fourHundredAndNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadCity$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadCity' from JSON`, + (x) => FourHundredAndNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndNine' from JSON`, ); } /** @internal */ -export const UserEventPayload405GeolocationNames$inboundSchema: z.ZodType< - UserEventPayload405GeolocationNames, +export const FourHundredAndEight$inboundSchema: z.ZodType< + FourHundredAndEight, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bio: types.string(), + }) +); -export function userEventPayload405GeolocationNamesFromJSON( +export function fourHundredAndEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => - UserEventPayload405GeolocationNames$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload405GeolocationNames' from JSON`, + (x) => FourHundredAndEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndEight' from JSON`, ); } /** @internal */ -export const PayloadCountry$inboundSchema: z.ZodType< - PayloadCountry, +export const FourHundredAndSeven$inboundSchema: z.ZodType< + FourHundredAndSeven, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayload405GeolocationNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + firstEnabledAt: types.optional(types.number()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + updatedAt: types.number(), + }) +); -export function payloadCountryFromJSON( +export function fourHundredAndSevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadCountry$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadCountry' from JSON`, + (x) => FourHundredAndSeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSeven' from JSON`, ); } /** @internal */ -export const UserEventPayload405GeolocationMostSpecificSubdivisionNames$inboundSchema: - z.ZodType< - UserEventPayload405GeolocationMostSpecificSubdivisionNames, - z.ZodTypeDef, - unknown - > = z.object({ - en: types.string(), - }); +export const FourHundredAndSix$inboundSchema: z.ZodType< + FourHundredAndSix, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newName: types.string(), + oldName: types.string(), + uid: types.optional(types.string()), + }) +); -export function userEventPayload405GeolocationMostSpecificSubdivisionNamesFromJSON( +export function fourHundredAndSixFromJSON( jsonString: string, -): SafeParseResult< - UserEventPayload405GeolocationMostSpecificSubdivisionNames, - SDKValidationError -> { +): SafeParseResult { return safeParse( jsonString, - (x) => - UserEventPayload405GeolocationMostSpecificSubdivisionNames$inboundSchema - .parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload405GeolocationMostSpecificSubdivisionNames' from JSON`, + (x) => FourHundredAndSix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FourHundredAndSix' from JSON`, ); } /** @internal */ -export const PayloadMostSpecificSubdivision$inboundSchema: z.ZodType< - PayloadMostSpecificSubdivision, - z.ZodTypeDef, - unknown -> = z.object({ - names: z.lazy(() => - UserEventPayload405GeolocationMostSpecificSubdivisionNames$inboundSchema - ), -}); +export const Name2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) + ); -export function payloadMostSpecificSubdivisionFromJSON( +export function name2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadMostSpecificSubdivision$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadMostSpecificSubdivision' from JSON`, + (x) => Name2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Name2' from JSON`, ); } /** @internal */ -export const PayloadGeolocation$inboundSchema: z.ZodType< - PayloadGeolocation, +export const PayloadName$inboundSchema: z.ZodType< + PayloadName, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => PayloadCity$inboundSchema)), - country: z.lazy(() => PayloadCountry$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => PayloadMostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Name2$inboundSchema), types.string()]) +); -export function payloadGeolocationFromJSON( +export function payloadNameFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadGeolocation$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadGeolocation' from JSON`, + (x) => PayloadName$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadName' from JSON`, ); } @@ -3483,24 +3826,12 @@ export const FourHundredAndFive$inboundSchema: z.ZodType< FourHundredAndFive, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(types.string()), - factors: types.optional(z.array(z.lazy(() => PayloadFactors$inboundSchema))), - geolocation: z.nullable(z.lazy(() => PayloadGeolocation$inboundSchema)) - .optional(), - os: types.optional(types.string()), - ssoType: types.optional(types.string()), - userAgent: types.optional(types.string()), - username: types.optional(types.string()), - viaApple: types.optional(types.boolean()), - viaBitbucket: types.optional(types.boolean()), - viaGithub: types.optional(types.boolean()), - viaGitlab: types.optional(types.boolean()), - viaGoogle: types.optional(types.boolean()), - viaOTP: types.optional(types.boolean()), - viaPasskey: types.optional(types.boolean()), - viaSamlSso: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: smartUnion([z.lazy(() => Name2$inboundSchema), types.string()]), + uid: types.string(), + }) +); export function fourHundredAndFiveFromJSON( jsonString: string, @@ -3512,37 +3843,16 @@ export function fourHundredAndFiveFromJSON( ); } -/** @internal */ -export const ScalingRules$inboundSchema: z.ZodType< - ScalingRules, - z.ZodTypeDef, - unknown -> = z.object({ - max: types.number(), - min: types.number(), -}); - -export function scalingRulesFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ScalingRules$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ScalingRules' from JSON`, - ); -} - /** @internal */ export const FourHundredAndFour$inboundSchema: z.ZodType< FourHundredAndFour, z.ZodTypeDef, unknown -> = z.object({ - max: types.number(), - min: types.number(), - scalingRules: z.record(z.lazy(() => ScalingRules$inboundSchema)), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + }) +); export function fourHundredAndFourFromJSON( jsonString: string, @@ -3554,14 +3864,27 @@ export function fourHundredAndFourFromJSON( ); } +/** @internal */ +export const UserEventPayload403ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload403ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload403ActorType) +); + /** @internal */ export const FourHundredAndThree$inboundSchema: z.ZodType< FourHundredAndThree, z.ZodTypeDef, unknown -> = z.object({ - bio: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + verified: types.boolean(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload403ActorType$inboundSchema, + }) +); export function fourHundredAndThreeFromJSON( jsonString: string, @@ -3578,13 +3901,12 @@ export const FourHundredAndTwo$inboundSchema: z.ZodType< FourHundredAndTwo, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - firstEnabledAt: types.optional(types.number()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + verified: types.boolean(), + }) +); export function fourHundredAndTwoFromJSON( jsonString: string, @@ -3601,11 +3923,12 @@ export const FourHundredAndOne$inboundSchema: z.ZodType< FourHundredAndOne, z.ZodTypeDef, unknown -> = z.object({ - newName: types.string(), - oldName: types.string(), - uid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + instances: types.number(), + url: types.string(), + }) +); export function fourHundredAndOneFromJSON( jsonString: string, @@ -3617,48 +3940,19 @@ export function fourHundredAndOneFromJSON( ); } -/** @internal */ -export const Name2$inboundSchema: z.ZodType = z - .object({ - name: types.string(), - }); - -export function name2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Name2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Name2' from JSON`, - ); -} - -/** @internal */ -export const PayloadName$inboundSchema: z.ZodType< - PayloadName, - z.ZodTypeDef, - unknown -> = smartUnion([z.lazy(() => Name2$inboundSchema), types.string()]); - -export function payloadNameFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PayloadName$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadName' from JSON`, - ); -} - /** @internal */ export const FourHundred$inboundSchema: z.ZodType< FourHundred, z.ZodTypeDef, unknown -> = z.object({ - name: smartUnion([z.lazy(() => Name2$inboundSchema), types.string()]), - uid: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + name: types.string(), + projectId: types.string(), + sandboxId: types.string(), + }) +); export function fourHundredFromJSON( jsonString: string, @@ -3675,9 +3969,14 @@ export const ThreeHundredAndNinetyNine$inboundSchema: z.ZodType< ThreeHundredAndNinetyNine, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + snapshotId: types.string(), + targetRegions: z.array(types.string()), + }) +); export function threeHundredAndNinetyNineFromJSON( jsonString: string, @@ -3689,23 +3988,19 @@ export function threeHundredAndNinetyNineFromJSON( ); } -/** @internal */ -export const UserEventPayload398ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload398ActorType -> = z.nativeEnum(UserEventPayload398ActorType); - /** @internal */ export const ThreeHundredAndNinetyEight$inboundSchema: z.ZodType< ThreeHundredAndNinetyEight, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - verified: types.boolean(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload398ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiryNotificationLeadTime: types.number(), + projectId: types.string(), + projectName: types.string(), + sandboxName: types.string(), + }) +); export function threeHundredAndNinetyEightFromJSON( jsonString: string, @@ -3722,10 +4017,14 @@ export const ThreeHundredAndNinetySeven$inboundSchema: z.ZodType< ThreeHundredAndNinetySeven, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + projectId: types.optional(types.string()), + sandboxId: types.optional(types.string()), + sandboxName: types.string(), + }) +); export function threeHundredAndNinetySevenFromJSON( jsonString: string, @@ -3742,10 +4041,12 @@ export const ThreeHundredAndNinetySix$inboundSchema: z.ZodType< ThreeHundredAndNinetySix, z.ZodTypeDef, unknown -> = z.object({ - instances: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + sandboxId: types.string(), + }) +); export function threeHundredAndNinetySixFromJSON( jsonString: string, @@ -3757,17 +4058,28 @@ export function threeHundredAndNinetySixFromJSON( ); } +/** @internal */ +export const UserEventPayload395ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload395ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload395ActorType) +); + /** @internal */ export const ThreeHundredAndNinetyFive$inboundSchema: z.ZodType< ThreeHundredAndNinetyFive, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - name: types.string(), - projectId: types.string(), - sandboxId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.optional(types.string()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload395ActorType$inboundSchema), + keyId: types.string(), + signingEnabled: types.boolean(), + signingKeyId: types.nullable(types.string()), + }) +); export function threeHundredAndNinetyFiveFromJSON( jsonString: string, @@ -3779,17 +4091,26 @@ export function threeHundredAndNinetyFiveFromJSON( ); } +/** @internal */ +export const UserEventPayload394ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload394ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload394ActorType) +); + /** @internal */ export const ThreeHundredAndNinetyFour$inboundSchema: z.ZodType< ThreeHundredAndNinetyFour, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - snapshotId: types.string(), - targetRegions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.optional(types.string()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload394ActorType$inboundSchema), + keyId: types.string(), + }) +); export function threeHundredAndNinetyFourFromJSON( jsonString: string, @@ -3801,15 +4122,31 @@ export function threeHundredAndNinetyFourFromJSON( ); } +/** @internal */ +export const To$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(To)); + +/** @internal */ +export const UserEventPayload393ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload393ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload393ActorType) +); + /** @internal */ export const ThreeHundredAndNinetyThree$inboundSchema: z.ZodType< ThreeHundredAndNinetyThree, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - sandboxId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.optional(types.string()), + to: types.optional(To$inboundSchema), + certificateFingerprints: types.optional(z.array(types.string())), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload393ActorType$inboundSchema), + }) +); export function threeHundredAndNinetyThreeFromJSON( jsonString: string, @@ -3826,12 +4163,12 @@ export const ThreeHundredAndNinetyTwo$inboundSchema: z.ZodType< ThreeHundredAndNinetyTwo, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - projectId: types.optional(types.string()), - sandboxId: types.optional(types.string()), - sandboxName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + certificateFingerprints: z.array(types.string()), + connectionId: types.string(), + }) +); export function threeHundredAndNinetyTwoFromJSON( jsonString: string, @@ -3846,21 +4183,23 @@ export function threeHundredAndNinetyTwoFromJSON( /** @internal */ export const UserEventPayload391ActorType$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload391ActorType -> = z.nativeEnum(UserEventPayload391ActorType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload391ActorType) +); /** @internal */ export const ThreeHundredAndNinetyOne$inboundSchema: z.ZodType< ThreeHundredAndNinetyOne, z.ZodTypeDef, unknown -> = z.object({ - connectionId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload391ActorType$inboundSchema, - keyId: types.string(), - signingEnabled: types.boolean(), - signingKeyId: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.optional(types.string()), + actorName: types.optional(types.string()), + actorType: types.optional(UserEventPayload391ActorType$inboundSchema), + certificateFingerprints: types.optional(z.array(types.string())), + }) +); export function threeHundredAndNinetyOneFromJSON( jsonString: string, @@ -3872,22 +4211,21 @@ export function threeHundredAndNinetyOneFromJSON( ); } -/** @internal */ -export const UserEventPayload390ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload390ActorType -> = z.nativeEnum(UserEventPayload390ActorType); - /** @internal */ export const ThreeHundredAndNinety$inboundSchema: z.ZodType< ThreeHundredAndNinety, z.ZodTypeDef, unknown -> = z.object({ - connectionId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload390ActorType$inboundSchema, - keyId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributeMappingChanged: types.optional(types.literal(true)), + certificateFingerprints: z.array(types.string()), + connectionId: types.string(), + created: types.boolean(), + previousCertificateFingerprints: types.optional(z.array(types.string())), + rebind: types.optional(types.literal(true)), + }) +); export function threeHundredAndNinetyFromJSON( jsonString: string, @@ -3899,15 +4237,30 @@ export function threeHundredAndNinetyFromJSON( ); } +/** @internal */ +export const UserEventPayload389ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload389ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload389ActorType) +); + /** @internal */ export const ThreeHundredAndEightyNine$inboundSchema: z.ZodType< ThreeHundredAndEightyNine, z.ZodTypeDef, unknown -> = z.object({ - certificateFingerprints: z.array(types.string()), - connectionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload389ActorType$inboundSchema, + certificateFingerprints: z.array(types.string()), + attributeMappingChanged: types.optional(types.literal(true)), + created: types.boolean(), + previousCertificateFingerprints: types.optional(z.array(types.string())), + rebind: types.optional(types.literal(true)), + }) +); export function threeHundredAndEightyNineFromJSON( jsonString: string, @@ -3919,22 +4272,17 @@ export function threeHundredAndEightyNineFromJSON( ); } -/** @internal */ -export const UserEventPayload388ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload388ActorType -> = z.nativeEnum(UserEventPayload388ActorType); - /** @internal */ export const ThreeHundredAndEightyEight$inboundSchema: z.ZodType< ThreeHundredAndEightyEight, z.ZodTypeDef, unknown -> = z.object({ - connectionId: types.optional(types.string()), - actorName: types.optional(types.string()), - actorType: types.optional(UserEventPayload388ActorType$inboundSchema), - certificateFingerprints: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionId: types.string(), + connectionType: types.string(), + }) +); export function threeHundredAndEightyEightFromJSON( jsonString: string, @@ -3951,13 +4299,13 @@ export const ThreeHundredAndEightySeven$inboundSchema: z.ZodType< ThreeHundredAndEightySeven, z.ZodTypeDef, unknown -> = z.object({ - attributeMappingChanged: types.optional(types.literal(true)), - certificateFingerprints: z.array(types.string()), - connectionId: types.string(), - created: types.boolean(), - previousCertificateFingerprints: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitProvider: types.string(), + gitProviderGroupDescriptor: types.string(), + gitScope: types.string(), + }) +); export function threeHundredAndEightySevenFromJSON( jsonString: string, @@ -3969,89 +4317,20 @@ export function threeHundredAndEightySevenFromJSON( ); } -/** @internal */ -export const UserEventPayload386ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload386ActorType -> = z.nativeEnum(UserEventPayload386ActorType); - -/** @internal */ -export const ThreeHundredAndEightySix$inboundSchema: z.ZodType< - ThreeHundredAndEightySix, - z.ZodTypeDef, - unknown -> = z.object({ - connectionId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload386ActorType$inboundSchema, - certificateFingerprints: z.array(types.string()), - attributeMappingChanged: types.optional(types.literal(true)), - created: types.boolean(), - previousCertificateFingerprints: types.optional(z.array(types.string())), -}); - -export function threeHundredAndEightySixFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightySix' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndEightyFive$inboundSchema: z.ZodType< - ThreeHundredAndEightyFive, - z.ZodTypeDef, - unknown -> = z.object({ - connectionId: types.string(), - connectionType: types.string(), -}); - -export function threeHundredAndEightyFiveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightyFive' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndEightyFour$inboundSchema: z.ZodType< - ThreeHundredAndEightyFour, - z.ZodTypeDef, - unknown -> = z.object({ - gitProvider: types.string(), - gitProviderGroupDescriptor: types.string(), - gitScope: types.string(), -}); - -export function threeHundredAndEightyFourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightyFour' from JSON`, - ); -} - /** @internal */ export const PrevProjectWebAnalytics$inboundSchema: z.ZodType< PrevProjectWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function prevProjectWebAnalyticsFromJSON( jsonString: string, @@ -4068,13 +4347,15 @@ export const ProjectWebAnalytics$inboundSchema: z.ZodType< ProjectWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function projectWebAnalyticsFromJSON( jsonString: string, @@ -4087,54 +4368,58 @@ export function projectWebAnalyticsFromJSON( } /** @internal */ -export const ThreeHundredAndEightyThree$inboundSchema: z.ZodType< - ThreeHundredAndEightyThree, +export const ThreeHundredAndEightySix$inboundSchema: z.ZodType< + ThreeHundredAndEightySix, z.ZodTypeDef, unknown -> = z.object({ - prevProjectWebAnalytics: z.nullable( - z.lazy(() => PrevProjectWebAnalytics$inboundSchema), - ).optional(), - projectId: types.string(), - projectName: types.string(), - projectWebAnalytics: types.optional( - z.lazy(() => ProjectWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prevProjectWebAnalytics: z.nullable( + z.lazy(() => PrevProjectWebAnalytics$inboundSchema), + ).optional(), + projectId: types.string(), + projectName: types.string(), + projectWebAnalytics: types.optional( + z.lazy(() => ProjectWebAnalytics$inboundSchema), + ), + }) +); -export function threeHundredAndEightyThreeFromJSON( +export function threeHundredAndEightySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightyThree' from JSON`, + (x) => ThreeHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightySix' from JSON`, ); } /** @internal */ export const PayloadReasonCode$inboundSchema: z.ZodNativeEnum< typeof PayloadReasonCode -> = z.nativeEnum(PayloadReasonCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadReasonCode)); /** @internal */ -export const ThreeHundredAndEightyTwo$inboundSchema: z.ZodType< - ThreeHundredAndEightyTwo, +export const ThreeHundredAndEightyFive$inboundSchema: z.ZodType< + ThreeHundredAndEightyFive, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.optional(types.string()), - reasonCode: types.optional(PayloadReasonCode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.optional(types.string()), + reasonCode: types.optional(PayloadReasonCode$inboundSchema), + }) +); -export function threeHundredAndEightyTwoFromJSON( +export function threeHundredAndEightyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEightyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightyTwo' from JSON`, + (x) => ThreeHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightyFive' from JSON`, ); } @@ -4143,10 +4428,12 @@ export const AddedProjects$inboundSchema: z.ZodType< AddedProjects, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function addedProjectsFromJSON( jsonString: string, @@ -4163,10 +4450,12 @@ export const RemovedProjects$inboundSchema: z.ZodType< RemovedProjects, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function removedProjectsFromJSON( jsonString: string, @@ -4179,60 +4468,64 @@ export function removedProjectsFromJSON( } /** @internal */ -export const ThreeHundredAndEightyOne$inboundSchema: z.ZodType< - ThreeHundredAndEightyOne, +export const ThreeHundredAndEightyFour$inboundSchema: z.ZodType< + ThreeHundredAndEightyFour, z.ZodTypeDef, unknown -> = z.object({ - addedProjects: z.array(z.lazy(() => AddedProjects$inboundSchema)), - addedProviders: z.array(types.string()), - enableVercelCiSameRepository: types.optional(types.boolean()), - projectId: types.string(), - projectName: types.string(), - removedProjects: z.array(z.lazy(() => RemovedProjects$inboundSchema)), - removedProviders: z.array(types.string()), -}); - -export function threeHundredAndEightyOneFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedProjects: z.array(z.lazy(() => AddedProjects$inboundSchema)), + addedProviders: z.array(types.string()), + enableVercelCiSameRepository: types.optional(types.boolean()), + projectId: types.string(), + projectName: types.string(), + removedProjects: z.array(z.lazy(() => RemovedProjects$inboundSchema)), + removedProviders: z.array(types.string()), + }) +); + +export function threeHundredAndEightyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEightyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEightyOne' from JSON`, + (x) => ThreeHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightyFour' from JSON`, ); } /** @internal */ export const OldTrustedIps$inboundSchema: z.ZodNativeEnum< typeof OldTrustedIps -> = z.nativeEnum(OldTrustedIps); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OldTrustedIps)); /** @internal */ -export const TrustedIps$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TrustedIps); +export const TrustedIps$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TrustedIps)); /** @internal */ -export const ThreeHundredAndEighty$inboundSchema: z.ZodType< - ThreeHundredAndEighty, +export const ThreeHundredAndEightyThree$inboundSchema: z.ZodType< + ThreeHundredAndEightyThree, z.ZodTypeDef, unknown -> = z.object({ - addedAddresses: z.nullable(z.array(types.string())).optional(), - oldTrustedIps: z.nullable(OldTrustedIps$inboundSchema).optional(), - projectId: types.string(), - projectName: types.string(), - removedAddresses: z.nullable(z.array(types.string())).optional(), - trustedIps: z.nullable(TrustedIps$inboundSchema).optional(), -}); - -export function threeHundredAndEightyFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addedAddresses: z.nullable(z.array(types.string())).optional(), + oldTrustedIps: z.nullable(OldTrustedIps$inboundSchema).optional(), + projectId: types.string(), + projectName: types.string(), + removedAddresses: z.nullable(z.array(types.string())).optional(), + trustedIps: z.nullable(TrustedIps$inboundSchema).optional(), + }) +); + +export function threeHundredAndEightyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEighty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEighty' from JSON`, + (x) => ThreeHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightyThree' from JSON`, ); } @@ -4241,12 +4534,14 @@ export const StaticIps$inboundSchema: z.ZodType< StaticIps, z.ZodTypeDef, unknown -> = z.object({ - buildRegion: types.optional(types.string()), - builds: types.optional(types.boolean()), - enabled: types.boolean(), - regions: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildRegion: types.optional(types.string()), + builds: types.optional(types.boolean()), + enabled: types.boolean(), + regions: types.optional(z.array(types.string())), + }) +); export function staticIpsFromJSON( jsonString: string, @@ -4259,41 +4554,45 @@ export function staticIpsFromJSON( } /** @internal */ -export const UserEventPayload379Project$inboundSchema: z.ZodType< - UserEventPayload379Project, +export const UserEventPayload382Project$inboundSchema: z.ZodType< + UserEventPayload382Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.optional(types.string()), - staticIps: z.lazy(() => StaticIps$inboundSchema), -}); - -export function userEventPayload379ProjectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.optional(types.string()), + staticIps: z.lazy(() => StaticIps$inboundSchema), + }) +); + +export function userEventPayload382ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload379Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload379Project' from JSON`, + (x) => UserEventPayload382Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload382Project' from JSON`, ); } /** @internal */ -export const UserEventPayload379Next$inboundSchema: z.ZodType< - UserEventPayload379Next, +export const UserEventPayload382Next$inboundSchema: z.ZodType< + UserEventPayload382Next, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload379Project$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload382Project$inboundSchema), + }) +); -export function userEventPayload379NextFromJSON( +export function userEventPayload382NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload379Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload379Next' from JSON`, + (x) => UserEventPayload382Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload382Next' from JSON`, ); } @@ -4302,12 +4601,14 @@ export const PayloadStaticIps$inboundSchema: z.ZodType< PayloadStaticIps, z.ZodTypeDef, unknown -> = z.object({ - buildRegion: types.optional(types.string()), - builds: types.optional(types.boolean()), - enabled: types.boolean(), - regions: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildRegion: types.optional(types.string()), + builds: types.optional(types.boolean()), + enabled: types.boolean(), + regions: types.optional(z.array(types.string())), + }) +); export function payloadStaticIpsFromJSON( jsonString: string, @@ -4318,70 +4619,3 @@ export function payloadStaticIpsFromJSON( `Failed to parse 'PayloadStaticIps' from JSON`, ); } - -/** @internal */ -export const UserEventPayload379PreviousProject$inboundSchema: z.ZodType< - UserEventPayload379PreviousProject, - z.ZodTypeDef, - unknown -> = z.object({ - id: types.optional(types.string()), - staticIps: z.lazy(() => PayloadStaticIps$inboundSchema), -}); - -export function userEventPayload379PreviousProjectFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => - UserEventPayload379PreviousProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload379PreviousProject' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload379Previous$inboundSchema: z.ZodType< - UserEventPayload379Previous, - z.ZodTypeDef, - unknown -> = z.object({ - project: z.lazy(() => UserEventPayload379PreviousProject$inboundSchema), -}); - -export function userEventPayload379PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload379Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload379Previous' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndSeventyNine$inboundSchema: z.ZodType< - ThreeHundredAndSeventyNine, - z.ZodTypeDef, - unknown -> = z.object({ - next: z.lazy(() => UserEventPayload379Next$inboundSchema), - previous: z.lazy(() => UserEventPayload379Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndSeventyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyNine' from JSON`, - ); -} - -/** @internal */ -export const OldSsoProtection2$inboundSchema: z.ZodNativeEnum< - typeof OldSsoProtection2 -> = z.nativeEnum(OldSsoProtection2); diff --git a/src/models/postteamdsyncrolesop.ts b/src/models/postteamdsyncrolesop.ts index 34bdff7a63..316f89111e 100644 --- a/src/models/postteamdsyncrolesop.ts +++ b/src/models/postteamdsyncrolesop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -66,9 +66,11 @@ export const PostTeamDsyncRolesRoles2$outboundSchema: z.ZodType< PostTeamDsyncRolesRoles2$Outbound, z.ZodTypeDef, PostTeamDsyncRolesRoles2 -> = z.object({ - accessGroupId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: z.string(), + }) +); export function postTeamDsyncRolesRoles2ToJSON( postTeamDsyncRolesRoles2: PostTeamDsyncRolesRoles2, @@ -81,7 +83,7 @@ export function postTeamDsyncRolesRoles2ToJSON( /** @internal */ export const PostTeamDsyncRolesRoles1$outboundSchema: z.ZodNativeEnum< typeof PostTeamDsyncRolesRoles1 -> = z.nativeEnum(PostTeamDsyncRolesRoles1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PostTeamDsyncRolesRoles1)); /** @internal */ export type PostTeamDsyncRolesRoles$Outbound = @@ -93,10 +95,12 @@ export const PostTeamDsyncRolesRoles$outboundSchema: z.ZodType< PostTeamDsyncRolesRoles$Outbound, z.ZodTypeDef, PostTeamDsyncRolesRoles -> = smartUnion([ - z.lazy(() => PostTeamDsyncRolesRoles2$outboundSchema), - PostTeamDsyncRolesRoles1$outboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PostTeamDsyncRolesRoles2$outboundSchema), + PostTeamDsyncRolesRoles1$outboundSchema, + ]) +); export function postTeamDsyncRolesRolesToJSON( postTeamDsyncRolesRoles: PostTeamDsyncRolesRoles, @@ -116,14 +120,14 @@ export const PostTeamDsyncRolesRequestBody$outboundSchema: z.ZodType< PostTeamDsyncRolesRequestBody$Outbound, z.ZodTypeDef, PostTeamDsyncRolesRequestBody -> = z.object({ - roles: z.record( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + roles: z.record(smartUnion([ z.lazy(() => PostTeamDsyncRolesRoles2$outboundSchema), PostTeamDsyncRolesRoles1$outboundSchema, - ]), - ), -}); + ])), + }) +); export function postTeamDsyncRolesRequestBodyToJSON( postTeamDsyncRolesRequestBody: PostTeamDsyncRolesRequestBody, @@ -147,16 +151,18 @@ export const PostTeamDsyncRolesRequest$outboundSchema: z.ZodType< PostTeamDsyncRolesRequest$Outbound, z.ZodTypeDef, PostTeamDsyncRolesRequest -> = z.object({ - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => PostTeamDsyncRolesRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => PostTeamDsyncRolesRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function postTeamDsyncRolesRequestToJSON( postTeamDsyncRolesRequest: PostTeamDsyncRolesRequest, @@ -171,9 +177,11 @@ export const PostTeamDsyncRolesResponseBody$inboundSchema: z.ZodType< PostTeamDsyncRolesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + }) +); export function postTeamDsyncRolesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/privatelinkendpoint.ts b/src/models/privatelinkendpoint.ts index c551d922db..9961a11850 100644 --- a/src/models/privatelinkendpoint.ts +++ b/src/models/privatelinkendpoint.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -89,28 +89,30 @@ export type PrivateLinkEndpoint = { /** @internal */ export const PrivateLinkEndpointStatus$inboundSchema: z.ZodNativeEnum< typeof PrivateLinkEndpointStatus -> = z.nativeEnum(PrivateLinkEndpointStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PrivateLinkEndpointStatus)); /** @internal */ export const PrivateLinkEndpoint$inboundSchema: z.ZodType< PrivateLinkEndpoint, z.ZodTypeDef, unknown -> = z.object({ - awsDnsEntries: types.optional(z.array(types.string())), - awsServiceName: types.string(), - createdAt: types.number(), - endpointId: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - projectId: types.string(), - status: PrivateLinkEndpointStatus$inboundSchema, - statusMessage: types.optional(types.string()), - teamId: types.string(), - updatedAt: types.number(), - vercelRegion: types.string(), - vpcEndpointId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsDnsEntries: types.optional(z.array(types.string())), + awsServiceName: types.string(), + createdAt: types.number(), + endpointId: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + projectId: types.string(), + status: PrivateLinkEndpointStatus$inboundSchema, + statusMessage: types.optional(types.string()), + teamId: types.string(), + updatedAt: types.number(), + vercelRegion: types.string(), + vpcEndpointId: types.optional(types.string()), + }) +); export function privateLinkEndpointFromJSON( jsonString: string, diff --git a/src/models/properties7.ts b/src/models/properties7.ts index 156e5b6d45..4afe6af317 100644 --- a/src/models/properties7.ts +++ b/src/models/properties7.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1268,11 +1268,13 @@ export const GetConfigurationProductsRequest$outboundSchema: z.ZodType< GetConfigurationProductsRequest$Outbound, z.ZodTypeDef, GetConfigurationProductsRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getConfigurationProductsRequestToJSON( getConfigurationProductsRequest: GetConfigurationProductsRequest, @@ -1289,9 +1291,11 @@ export const GetConfigurationProductsConfiguration$inboundSchema: z.ZodType< GetConfigurationProductsConfiguration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getConfigurationProductsConfigurationFromJSON( jsonString: string, @@ -1309,11 +1313,13 @@ export const GetConfigurationProductsIntegration$inboundSchema: z.ZodType< GetConfigurationProductsIntegration, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function getConfigurationProductsIntegrationFromJSON( jsonString: string, @@ -1328,22 +1334,26 @@ export function getConfigurationProductsIntegrationFromJSON( /** @internal */ export const GitProviders$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GitProviders); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitProviders)); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl, + ) ); /** @internal */ @@ -1352,9 +1362,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122FromJSON( jsonString: string, @@ -1377,12 +1389,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDescriptionFromJSON( jsonString: string, @@ -1403,8 +1417,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + ) ); /** @internal */ @@ -1413,9 +1429,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON( jsonString: string, @@ -1438,13 +1456,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiDisabledFromJSON( jsonString: string, @@ -1467,9 +1487,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValueFromJSON( jsonString: string, @@ -1490,8 +1512,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + ) ); /** @internal */ @@ -1500,9 +1524,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON( jsonString: string, @@ -1525,13 +1551,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiHiddenFromJSON( jsonString: string, @@ -1552,8 +1580,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123, + ) ); /** @internal */ @@ -1562,9 +1592,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121FromJSON( jsonString: string, @@ -1587,13 +1619,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiReadOnlyFromJSON( jsonString: string, @@ -1615,70 +1649,62 @@ export const Properties12$inboundSchema: z.ZodType< Properties12, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - "git:providers": types.optional(z.array(GitProviders$inboundSchema)), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + "git:providers": types.optional(z.array(GitProviders$inboundSchema)), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12Type$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties122$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema12UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties121$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties123$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "git:providers": "gitProviders", - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "git:providers": "gitProviders", + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties12FromJSON( jsonString: string, @@ -1694,16 +1720,20 @@ export function properties12FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl, + ) ); /** @internal */ @@ -1712,9 +1742,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112FromJSON( jsonString: string, @@ -1737,12 +1769,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDescriptionFromJSON( jsonString: string, @@ -1763,8 +1797,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + ) ); /** @internal */ @@ -1773,9 +1809,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON( jsonString: string, @@ -1798,13 +1836,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiDisabledFromJSON( jsonString: string, @@ -1827,9 +1867,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValueFromJSON( jsonString: string, @@ -1850,8 +1892,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + ) ); /** @internal */ @@ -1860,9 +1904,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON( jsonString: string, @@ -1885,13 +1931,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiHiddenFromJSON( jsonString: string, @@ -1912,8 +1960,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113, + ) ); /** @internal */ @@ -1922,9 +1972,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111FromJSON( jsonString: string, @@ -1947,13 +1999,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiReadOnlyFromJSON( jsonString: string, @@ -1975,73 +2029,65 @@ export const Properties11$inboundSchema: z.ZodType< Properties11, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11Type$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties112$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema11UiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties111$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties113$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties11FromJSON( jsonString: string, @@ -2057,16 +2103,20 @@ export function properties11FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl, + ) ); /** @internal */ @@ -2075,9 +2125,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2FromJSON( jsonString: string, @@ -2100,12 +2152,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDescriptionFromJSON( jsonString: string, @@ -2126,8 +2180,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + ) ); /** @internal */ @@ -2136,9 +2192,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON( jsonString: string, @@ -2161,13 +2219,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiDisabledFromJSON( jsonString: string, @@ -2190,9 +2250,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValueFromJSON( jsonString: string, @@ -2213,8 +2275,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + ) ); /** @internal */ @@ -2223,9 +2287,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON( jsonString: string, @@ -2248,13 +2314,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiHiddenFromJSON( jsonString: string, @@ -2275,8 +2343,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 - > = z.nativeEnum( - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + ) ); /** @internal */ @@ -2285,9 +2355,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON( jsonString: string, @@ -2310,13 +2382,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponse200Application GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONDisabledFromJSON( jsonString: string, @@ -2337,8 +2411,10 @@ export function getConfigurationProductsUiOptionsIntegrationsResponse200Applicat export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 - > = z.nativeEnum( - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + ) ); /** @internal */ @@ -2347,9 +2423,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON( jsonString: string, @@ -2372,13 +2450,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponse200Application GetConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponse200ApplicationJSONHiddenFromJSON( jsonString: string, @@ -2401,28 +2481,26 @@ export const GetConfigurationProductsUiOptionsIntegrations3$inboundSchema: GetConfigurationProductsUiOptionsIntegrations3, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]), - ), - value: types.string(), - }); + ])), + value: types.string(), + }) + ); export function getConfigurationProductsUiOptionsIntegrations3FromJSON( jsonString: string, @@ -2444,8 +2522,10 @@ export function getConfigurationProductsUiOptionsIntegrations3FromJSON( export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3 - > = z.nativeEnum( - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + ) ); /** @internal */ @@ -2454,9 +2534,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON( jsonString: string, @@ -2479,13 +2561,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponse200Disabled$in GetConfigurationProductsUiOptionsIntegrationsResponse200Disabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponse200DisabledFromJSON( jsonString: string, @@ -2506,8 +2590,10 @@ export function getConfigurationProductsUiOptionsIntegrationsResponse200Disabled export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3 - > = z.nativeEnum( - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + ) ); /** @internal */ @@ -2516,9 +2602,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON( jsonString: string, @@ -2541,13 +2629,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponse200Hidden$inbo GetConfigurationProductsUiOptionsIntegrationsResponse200Hidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponse200HiddenFromJSON( jsonString: string, @@ -2570,29 +2660,27 @@ export const GetConfigurationProductsUiOptionsIntegrations1$inboundSchema: GetConfigurationProductsUiOptionsIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function getConfigurationProductsUiOptionsIntegrations1FromJSON( jsonString: string, @@ -2616,11 +2704,17 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiOptions$ GetConfigurationProductsPropertiesIntegrationsResponse200UiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetConfigurationProductsUiOptionsIntegrations1$inboundSchema), - z.lazy(() => GetConfigurationProductsUiOptionsIntegrations3$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiOptionsIntegrations1$inboundSchema + ), + z.lazy(() => + GetConfigurationProductsUiOptionsIntegrations3$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200UiOptionsFromJSON( jsonString: string, @@ -2641,8 +2735,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiOptio export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3, + ) ); /** @internal */ @@ -2651,9 +2747,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1FromJSON( jsonString: string, @@ -2676,13 +2774,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiReadOnlyFromJSON( jsonString: string, @@ -2704,51 +2804,43 @@ export const Properties10$inboundSchema: z.ZodType< Properties10, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10Type$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => GetConfigurationProductsUiOptionsIntegrations1$inboundSchema ), @@ -2756,33 +2848,31 @@ export const Properties10$inboundSchema: z.ZodType< GetConfigurationProductsUiOptionsIntegrations3$inboundSchema ), types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaProperties3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties10FromJSON( jsonString: string, @@ -2798,8 +2888,10 @@ export function properties10FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type, + ) ); /** @internal */ @@ -2808,16 +2900,18 @@ export const GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema: GetConfigurationProductsPropertiesIntegrationsItems, z.ZodTypeDef, unknown - > = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9Type$inboundSchema, + }) + ); export function getConfigurationProductsPropertiesIntegrationsItemsFromJSON( jsonString: string, @@ -2839,16 +2933,20 @@ export function getConfigurationProductsPropertiesIntegrationsItemsFromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl, + ) ); /** @internal */ @@ -2857,9 +2955,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON( jsonString: string, @@ -2882,12 +2982,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescriptionFromJSON( jsonString: string, @@ -2908,8 +3010,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + ) ); /** @internal */ @@ -2918,9 +3022,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON( jsonString: string, @@ -2943,13 +3049,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabledFromJSON( jsonString: string, @@ -2972,9 +3080,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValueFromJSON( jsonString: string, @@ -2995,8 +3105,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + ) ); /** @internal */ @@ -3005,9 +3117,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON( jsonString: string, @@ -3030,13 +3144,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHiddenFromJSON( jsonString: string, @@ -3057,8 +3173,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -3067,9 +3185,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -3092,13 +3212,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inbou GetConfigurationProductsUiOptionsIntegrationsResponseDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledFromJSON( jsonString: string, @@ -3119,8 +3241,10 @@ export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledFro export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -3129,9 +3253,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -3152,15 +3278,17 @@ export function getConfigurationProductsHiddenIntegrationsResponse200Application export const GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inboundSchema: z.ZodType< GetConfigurationProductsUiOptionsIntegrationsResponseHidden, - z.ZodTypeDef, - unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + z.ZodTypeDef, + unknown + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsResponseHiddenFromJSON( jsonString: string, @@ -3182,28 +3310,26 @@ export const GetConfigurationProductsUiOptions3$inboundSchema: z.ZodType< GetConfigurationProductsUiOptions3, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - value: types.string(), -}); + ])), + value: types.string(), + }) +); export function getConfigurationProductsUiOptions3FromJSON( jsonString: string, @@ -3220,8 +3346,10 @@ export function getConfigurationProductsUiOptions3FromJSON( export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -3230,9 +3358,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -3255,13 +3385,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema GetConfigurationProductsUiOptionsIntegrationsDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsDisabledFromJSON( jsonString: string, @@ -3283,8 +3415,10 @@ export function getConfigurationProductsUiOptionsIntegrationsDisabledFromJSON( export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3 - > = z.nativeEnum( - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3, + ) ); /** @internal */ @@ -3293,9 +3427,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJso GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSON1FromJSON( jsonString: string, @@ -3318,13 +3454,15 @@ export const GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema: GetConfigurationProductsUiOptionsIntegrationsHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, + ]) + ); export function getConfigurationProductsUiOptionsIntegrationsHiddenFromJSON( jsonString: string, @@ -3347,29 +3485,27 @@ export const GetConfigurationProductsUiOptions1$inboundSchema: z.ZodType< GetConfigurationProductsUiOptions1, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson1$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), -}); + ])), + label: types.string(), + value: types.string(), + }) +); export function getConfigurationProductsUiOptions1FromJSON( jsonString: string, @@ -3388,11 +3524,13 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiOptions$inb GetConfigurationProductsPropertiesIntegrationsResponseUiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetConfigurationProductsUiOptions1$inboundSchema), - z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsUiOptions1$inboundSchema), + z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponseUiOptionsFromJSON( jsonString: string, @@ -3413,8 +3551,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiOptionsF export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, + ) ); /** @internal */ @@ -3423,9 +3563,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1FromJSON( jsonString: string, @@ -3448,13 +3590,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnlyFromJSON( jsonString: string, @@ -3476,83 +3620,75 @@ export const Properties9$inboundSchema: z.ZodType< Properties9, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.string())), - description: types.optional(types.string()), - example: types.optional(z.array(types.string())), - items: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema - ), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.string())), + description: types.optional(types.string()), + example: types.optional(z.array(types.string())), + items: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema + ), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => GetConfigurationProductsUiOptions1$inboundSchema), - z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema), + z.lazy(() => + GetConfigurationProductsUiOptions3$inboundSchema + ), types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties9FromJSON( jsonString: string, @@ -3568,16 +3704,20 @@ export function properties9FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, + ) ); /** @internal */ @@ -3586,9 +3726,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, @@ -3611,12 +3753,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionFromJSON( jsonString: string, @@ -3637,8 +3781,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + ) ); /** @internal */ @@ -3647,9 +3793,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON( jsonString: string, @@ -3672,13 +3820,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledFromJSON( jsonString: string, @@ -3701,9 +3851,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueFromJSON( jsonString: string, @@ -3724,8 +3876,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + ) ); /** @internal */ @@ -3734,9 +3888,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON( jsonString: string, @@ -3759,13 +3915,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenFromJSON( jsonString: string, @@ -3786,7 +3944,9 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse2003 - > = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse2003) + ); /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema: @@ -3794,9 +3954,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSch GetConfigurationProductsDisabledIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse2001FromJSON( jsonString: string, @@ -3818,13 +3980,15 @@ export const GetConfigurationProductsUiOptionsDisabled$inboundSchema: z.ZodType< GetConfigurationProductsUiOptionsDisabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema, + ]) +); export function getConfigurationProductsUiOptionsDisabledFromJSON( jsonString: string, @@ -3846,7 +4010,9 @@ export function getConfigurationProductsUiOptionsDisabledFromJSON( export const GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse2003 - > = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse2003); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse2003) + ); /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema: @@ -3854,9 +4020,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchem GetConfigurationProductsHiddenIntegrationsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse2001FromJSON( jsonString: string, @@ -3878,13 +4046,15 @@ export const GetConfigurationProductsUiOptionsHidden$inboundSchema: z.ZodType< GetConfigurationProductsUiOptionsHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema, + ]) +); export function getConfigurationProductsUiOptionsHiddenFromJSON( jsonString: string, @@ -3907,28 +4077,26 @@ export const UiOptions3$inboundSchema: z.ZodType< UiOptions3, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse2001$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse2001$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema, - ]), - ), - value: types.string(), -}); + ])), + value: types.string(), + }) +); export function uiOptions3FromJSON( jsonString: string, @@ -3944,7 +4112,9 @@ export function uiOptions3FromJSON( export const GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse3 - > = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse3); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse3) + ); /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema: @@ -3952,9 +4122,11 @@ export const GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema GetConfigurationProductsDisabledIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrationsResponse1FromJSON( jsonString: string, @@ -3977,13 +4149,15 @@ export const UiOptionsDisabled$inboundSchema: z.ZodType< UiOptionsDisabled, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => - GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema, + ]) +); export function uiOptionsDisabledFromJSON( jsonString: string, @@ -3998,7 +4172,9 @@ export function uiOptionsDisabledFromJSON( /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse3); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse3) + ); /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema: @@ -4006,9 +4182,11 @@ export const GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema: GetConfigurationProductsHiddenIntegrationsResponse1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrationsResponse1FromJSON( jsonString: string, @@ -4031,13 +4209,15 @@ export const UiOptionsHidden$inboundSchema: z.ZodType< UiOptionsHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => - GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema, + ]) +); export function uiOptionsHiddenFromJSON( jsonString: string, @@ -4054,29 +4234,27 @@ export const UiOptions1$inboundSchema: z.ZodType< UiOptions1, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrationsResponse1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrationsResponse1$inboundSchema ), types.boolean(), GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), -}); + ])), + label: types.string(), + value: types.string(), + }) +); export function uiOptions1FromJSON( jsonString: string, @@ -4094,11 +4272,13 @@ export const GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSche GetConfigurationProductsPropertiesIntegrationsUiOptions, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => UiOptions1$inboundSchema), - z.lazy(() => UiOptions3$inboundSchema), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UiOptions1$inboundSchema), + z.lazy(() => UiOptions3$inboundSchema), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsUiOptionsFromJSON( jsonString: string, @@ -4119,8 +4299,10 @@ export function getConfigurationProductsPropertiesIntegrationsUiOptionsFromJSON( export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3, + ) ); /** @internal */ @@ -4129,9 +4311,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1FromJSON( jsonString: string, @@ -4154,13 +4338,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyFromJSON( jsonString: string, @@ -4182,81 +4368,73 @@ export const Properties8$inboundSchema: z.ZodType< Properties8, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(smartUnion([ z.lazy(() => UiOptions1$inboundSchema), - z.lazy(() => UiOptions3$inboundSchema), + z.lazy(() => + UiOptions3$inboundSchema + ), types.string(), - ]), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties8FromJSON( jsonString: string, @@ -4272,8 +4450,10 @@ export function properties8FromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type, + ) ); /** @internal */ @@ -4281,16 +4461,18 @@ export const GetConfigurationProductsPropertiesItems$inboundSchema: z.ZodType< GetConfigurationProductsPropertiesItems, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(types.string()), - description: types.optional(types.string()), - enum: types.optional(z.array(types.string())), - maxLength: types.optional(types.number()), - minLength: types.optional(types.number()), - pattern: types.optional(types.string()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(types.string()), + description: types.optional(types.string()), + enum: types.optional(z.array(types.string())), + maxLength: types.optional(types.number()), + minLength: types.optional(types.number()), + pattern: types.optional(types.string()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema7Type$inboundSchema, + }) +); export function getConfigurationProductsPropertiesItemsFromJSON( jsonString: string, @@ -4312,16 +4494,20 @@ export function getConfigurationProductsPropertiesItemsFromJSON( export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl - > = z.nativeEnum( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl, + ) ); /** @internal */ @@ -4330,9 +4516,11 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, @@ -4355,12 +4543,14 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema - ), - types.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema + ), + types.string(), + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionFromJSON( jsonString: string, @@ -4381,8 +4571,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -4391,9 +4583,11 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -4416,13 +4610,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabledFromJSON( jsonString: string, @@ -4445,9 +4641,11 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueFromJSON( jsonString: string, @@ -4468,8 +4666,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -4478,9 +4678,11 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -4503,13 +4705,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHiddenFromJSON( jsonString: string, @@ -4528,8 +4732,10 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica /** @internal */ export const GetConfigurationProductsDisabledIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsDisabledIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsDisabledIntegrations3) + ); /** @internal */ export const GetConfigurationProductsDisabledIntegrations1$inboundSchema: @@ -4537,9 +4743,11 @@ export const GetConfigurationProductsDisabledIntegrations1$inboundSchema: GetConfigurationProductsDisabledIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsDisabledIntegrations1FromJSON( jsonString: string, @@ -4560,11 +4768,15 @@ export function getConfigurationProductsDisabledIntegrations1FromJSON( /** @internal */ export const GetConfigurationProductsPropertiesDisabled$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => GetConfigurationProductsDisabledIntegrations1$inboundSchema), - types.boolean(), - GetConfigurationProductsDisabledIntegrations3$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsDisabledIntegrations1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsDisabledIntegrations3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesDisabledFromJSON( jsonString: string, @@ -4584,8 +4796,10 @@ export function getConfigurationProductsPropertiesDisabledFromJSON( /** @internal */ export const GetConfigurationProductsHiddenIntegrations3$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetConfigurationProductsHiddenIntegrations3); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetConfigurationProductsHiddenIntegrations3) + ); /** @internal */ export const GetConfigurationProductsHiddenIntegrations1$inboundSchema: @@ -4593,9 +4807,11 @@ export const GetConfigurationProductsHiddenIntegrations1$inboundSchema: GetConfigurationProductsHiddenIntegrations1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsHiddenIntegrations1FromJSON( jsonString: string, @@ -4618,11 +4834,13 @@ export const GetConfigurationProductsPropertiesHidden$inboundSchema: z.ZodType< GetConfigurationProductsPropertiesHidden, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetConfigurationProductsHiddenIntegrations1$inboundSchema), - types.boolean(), - GetConfigurationProductsHiddenIntegrations3$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetConfigurationProductsHiddenIntegrations1$inboundSchema), + types.boolean(), + GetConfigurationProductsHiddenIntegrations3$inboundSchema, + ]) +); export function getConfigurationProductsPropertiesHiddenFromJSON( jsonString: string, @@ -4646,27 +4864,25 @@ export const GetConfigurationProductsPropertiesUiOptions$inboundSchema: GetConfigurationProductsPropertiesUiOptions, z.ZodTypeDef, unknown - > = z.object({ - description: types.optional(types.string()), - disabled: types.optional( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + disabled: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsDisabledIntegrations1$inboundSchema ), types.boolean(), GetConfigurationProductsDisabledIntegrations3$inboundSchema, - ]), - ), - hidden: types.optional( - smartUnion([ + ])), + hidden: types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsHiddenIntegrations1$inboundSchema), types.boolean(), GetConfigurationProductsHiddenIntegrations3$inboundSchema, - ]), - ), - label: types.string(), - value: types.string(), - }); + ])), + label: types.string(), + value: types.string(), + }) + ); export function getConfigurationProductsPropertiesUiOptionsFromJSON( jsonString: string, @@ -4688,8 +4904,10 @@ export function getConfigurationProductsPropertiesUiOptionsFromJSON( export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3 - > = z.nativeEnum( - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, + ) ); /** @internal */ @@ -4698,9 +4916,11 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1, z.ZodTypeDef, unknown - > = z.object({ - expr: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + expr: types.string(), + }) + ); export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1FromJSON( jsonString: string, @@ -4723,13 +4943,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema - ), - types.boolean(), - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema + ), + types.boolean(), + GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, + ]) + ); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyFromJSON( jsonString: string, @@ -4751,77 +4973,69 @@ export const Properties7$inboundSchema: z.ZodType< Properties7, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(z.array(types.string())), - description: types.optional(types.string()), - example: types.optional(z.array(types.string())), - items: z.lazy(() => GetConfigurationProductsPropertiesItems$inboundSchema), - maxItems: types.optional(types.number()), - minItems: types.optional(types.number()), - type: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema, - "ui:control": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema, - "ui:description": types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(z.array(types.string())), + description: types.optional(types.string()), + example: types.optional(z.array(types.string())), + items: z.lazy(() => GetConfigurationProductsPropertiesItems$inboundSchema), + maxItems: types.optional(types.number()), + minItems: types.optional(types.number()), + type: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema, + "ui:control": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema, + "ui:description": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema ), types.string(), - ]), - ), - "ui:disabled": types.optional( - smartUnion([ + ])), + "ui:disabled": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - "ui:formatted-value": types.optional( - z.lazy(() => + ])), + "ui:formatted-value": types.optional(z.lazy(() => GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema - ), - ), - "ui:hidden": types.optional( - smartUnion([ + )), + "ui:hidden": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), - "ui:label": types.optional(types.string()), - "ui:options": z.array( - z.lazy(() => GetConfigurationProductsPropertiesUiOptions$inboundSchema), - ), - "ui:paid-only": types.optional(types.boolean()), - "ui:placeholder": types.optional(types.string()), - "ui:read-only": types.optional( - smartUnion([ + ])), + "ui:label": types.optional(types.string()), + "ui:options": z.array(z.lazy(() => + GetConfigurationProductsPropertiesUiOptions$inboundSchema + )), + "ui:paid-only": types.optional(types.boolean()), + "ui:placeholder": types.optional(types.string()), + "ui:read-only": types.optional(smartUnion([ z.lazy(() => GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody1$inboundSchema ), types.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, - ]), - ), -}).transform((v) => { - return remap$(v, { - "ui:control": "uiControl", - "ui:description": "uiDescription", - "ui:disabled": "uiDisabled", - "ui:formatted-value": "uiFormattedValue", - "ui:hidden": "uiHidden", - "ui:label": "uiLabel", - "ui:options": "uiOptions", - "ui:paid-only": "uiPaidOnly", - "ui:placeholder": "uiPlaceholder", - "ui:read-only": "uiReadOnly", - }); -}); + ])), + }).transform((v) => { + return remap$(v, { + "ui:control": "uiControl", + "ui:description": "uiDescription", + "ui:disabled": "uiDisabled", + "ui:formatted-value": "uiFormattedValue", + "ui:hidden": "uiHidden", + "ui:label": "uiLabel", + "ui:options": "uiOptions", + "ui:paid-only": "uiPaidOnly", + "ui:placeholder": "uiPlaceholder", + "ui:read-only": "uiReadOnly", + }); + }) +); export function properties7FromJSON( jsonString: string, diff --git a/src/models/propertykey.ts b/src/models/propertykey.ts index 78140bfee3..28db936691 100644 --- a/src/models/propertykey.ts +++ b/src/models/propertykey.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -27,21 +27,24 @@ export type PropertyKey3 = { export type PropertyKey = PropertyKey3 | string | number; /** @internal */ -export const Tag$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Tag); +export const Tag$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Tag)); /** @internal */ export const PropertyKey3$inboundSchema: z.ZodType< PropertyKey3, z.ZodTypeDef, unknown -> = z.object({ - _tag: Tag$inboundSchema, - key: types.string(), -}).transform((v) => { - return remap$(v, { - "_tag": "tag", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + _tag: Tag$inboundSchema, + key: types.string(), + }).transform((v) => { + return remap$(v, { + "_tag": "tag", + }); + }) +); export function propertyKey3FromJSON( jsonString: string, @@ -58,11 +61,13 @@ export const PropertyKey$inboundSchema: z.ZodType< PropertyKey, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => PropertyKey3$inboundSchema), - types.string(), - types.number(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PropertyKey3$inboundSchema), + types.string(), + types.number(), + ]) +); export function propertyKeyFromJSON( jsonString: string, diff --git a/src/models/putfirewallconfigop.ts b/src/models/putfirewallconfigop.ts index 0905003453..c698fb0cd3 100644 --- a/src/models/putfirewallconfigop.ts +++ b/src/models/putfirewallconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1636,7 +1636,7 @@ export const ManagedRules$outboundSchema: z.ZodType< ManagedRules$Outbound, z.ZodTypeDef, ManagedRules -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function managedRulesToJSON(managedRules: ManagedRules): string { return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules)); @@ -1645,7 +1645,7 @@ export function managedRulesToJSON(managedRules: ManagedRules): string { /** @internal */ export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigAction -> = z.nativeEnum(PutFirewallConfigAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigAction)); /** @internal */ export type Sd$Outbound = { @@ -1654,11 +1654,13 @@ export type Sd$Outbound = { }; /** @internal */ -export const Sd$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigAction$outboundSchema, - }); +export const Sd$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: PutFirewallConfigAction$outboundSchema, + }) + ); export function sdToJSON(sd: Sd): string { return JSON.stringify(Sd$outboundSchema.parse(sd)); @@ -1667,7 +1669,9 @@ export function sdToJSON(sd: Sd): string { /** @internal */ export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityAction -> = z.nativeEnum(PutFirewallConfigSecurityAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityAction) +); /** @internal */ export type Ma$Outbound = { @@ -1676,11 +1680,13 @@ export type Ma$Outbound = { }; /** @internal */ -export const Ma$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityAction$outboundSchema, - }); +export const Ma$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: PutFirewallConfigSecurityAction$outboundSchema, + }) + ); export function maToJSON(ma: Ma): string { return JSON.stringify(Ma$outboundSchema.parse(ma)); @@ -1688,9 +1694,10 @@ export function maToJSON(ma: Ma): string { /** @internal */ export const PutFirewallConfigSecurityRequestAction$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PutFirewallConfigSecurityRequestAction, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestAction) + ); /** @internal */ export type Lfi$Outbound = { @@ -1699,11 +1706,13 @@ export type Lfi$Outbound = { }; /** @internal */ -export const Lfi$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestAction$outboundSchema, - }); +export const Lfi$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestAction$outboundSchema, + }) + ); export function lfiToJSON(lfi: Lfi): string { return JSON.stringify(Lfi$outboundSchema.parse(lfi)); @@ -1711,8 +1720,10 @@ export function lfiToJSON(lfi: Lfi): string { /** @internal */ export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction) + ); /** @internal */ export type Rfi$Outbound = { @@ -1721,11 +1732,13 @@ export type Rfi$Outbound = { }; /** @internal */ -export const Rfi$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, - }); +export const Rfi$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, + }) + ); export function rfiToJSON(rfi: Rfi): string { return JSON.stringify(Rfi$outboundSchema.parse(rfi)); @@ -1734,7 +1747,9 @@ export function rfiToJSON(rfi: Rfi): string { /** @internal */ export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction) + ); /** @internal */ export type Rce$Outbound = { @@ -1743,11 +1758,14 @@ export type Rce$Outbound = { }; /** @internal */ -export const Rce$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, - }); +export const Rce$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, + }) + ); export function rceToJSON(rce: Rce): string { return JSON.stringify(Rce$outboundSchema.parse(rce)); @@ -1757,7 +1775,9 @@ export function rceToJSON(rce: Rce): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction) + ); /** @internal */ export type Php$Outbound = { @@ -1766,12 +1786,14 @@ export type Php$Outbound = { }; /** @internal */ -export const Php$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema, - }); +export const Php$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema, + }) + ); export function phpToJSON(php: Php): string { return JSON.stringify(Php$outboundSchema.parse(php)); @@ -1781,7 +1803,9 @@ export function phpToJSON(php: Php): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsGenAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsGenAction) + ); /** @internal */ export type Gen$Outbound = { @@ -1790,12 +1814,14 @@ export type Gen$Outbound = { }; /** @internal */ -export const Gen$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema, - }); +export const Gen$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema, + }) + ); export function genToJSON(gen: Gen): string { return JSON.stringify(Gen$outboundSchema.parse(gen)); @@ -1805,7 +1831,9 @@ export function genToJSON(gen: Gen): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsXssAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsXssAction) + ); /** @internal */ export type Xss$Outbound = { @@ -1814,12 +1842,14 @@ export type Xss$Outbound = { }; /** @internal */ -export const Xss$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema, - }); +export const Xss$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema, + }) + ); export function xssToJSON(xss: Xss): string { return JSON.stringify(Xss$outboundSchema.parse(xss)); @@ -1829,7 +1859,9 @@ export function xssToJSON(xss: Xss): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction) + ); /** @internal */ export type Sqli$Outbound = { @@ -1839,11 +1871,13 @@ export type Sqli$Outbound = { /** @internal */ export const Sqli$outboundSchema: z.ZodType = - z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema, + }) + ); export function sqliToJSON(sqli: Sqli): string { return JSON.stringify(Sqli$outboundSchema.parse(sqli)); @@ -1853,7 +1887,9 @@ export function sqliToJSON(sqli: Sqli): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSfAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSfAction) + ); /** @internal */ export type Sf$Outbound = { @@ -1862,12 +1898,14 @@ export type Sf$Outbound = { }; /** @internal */ -export const Sf$outboundSchema: z.ZodType = z - .object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema, - }); +export const Sf$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema, + }) + ); export function sfToJSON(sf: Sf): string { return JSON.stringify(Sf$outboundSchema.parse(sf)); @@ -1877,7 +1915,9 @@ export function sfToJSON(sf: Sf): string { export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction - > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction) + ); /** @internal */ export type Java$Outbound = { @@ -1887,11 +1927,13 @@ export type Java$Outbound = { /** @internal */ export const Java$outboundSchema: z.ZodType = - z.object({ - active: z.boolean(), - action: - PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema, + }) + ); export function javaToJSON(java: Java): string { return JSON.stringify(Java$outboundSchema.parse(java)); @@ -1913,20 +1955,22 @@ export type Crs$Outbound = { }; /** @internal */ -export const Crs$outboundSchema: z.ZodType = z - .object({ - sd: z.lazy(() => Sd$outboundSchema).optional(), - ma: z.lazy(() => Ma$outboundSchema).optional(), - lfi: z.lazy(() => Lfi$outboundSchema).optional(), - rfi: z.lazy(() => Rfi$outboundSchema).optional(), - rce: z.lazy(() => Rce$outboundSchema).optional(), - php: z.lazy(() => Php$outboundSchema).optional(), - gen: z.lazy(() => Gen$outboundSchema).optional(), - xss: z.lazy(() => Xss$outboundSchema).optional(), - sqli: z.lazy(() => Sqli$outboundSchema).optional(), - sf: z.lazy(() => Sf$outboundSchema).optional(), - java: z.lazy(() => Java$outboundSchema).optional(), - }); +export const Crs$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + sd: z.lazy(() => Sd$outboundSchema).optional(), + ma: z.lazy(() => Ma$outboundSchema).optional(), + lfi: z.lazy(() => Lfi$outboundSchema).optional(), + rfi: z.lazy(() => Rfi$outboundSchema).optional(), + rce: z.lazy(() => Rce$outboundSchema).optional(), + php: z.lazy(() => Php$outboundSchema).optional(), + gen: z.lazy(() => Gen$outboundSchema).optional(), + xss: z.lazy(() => Xss$outboundSchema).optional(), + sqli: z.lazy(() => Sqli$outboundSchema).optional(), + sf: z.lazy(() => Sf$outboundSchema).optional(), + java: z.lazy(() => Java$outboundSchema).optional(), + }) + ); export function crsToJSON(crs: Crs): string { return JSON.stringify(Crs$outboundSchema.parse(crs)); @@ -1935,12 +1979,12 @@ export function crsToJSON(crs: Crs): string { /** @internal */ export const PutFirewallConfigType$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigType -> = z.nativeEnum(PutFirewallConfigType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigType)); /** @internal */ export const PutFirewallConfigOp$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigOp -> = z.nativeEnum(PutFirewallConfigOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigOp)); /** @internal */ export type PutFirewallConfigValue$Outbound = string | Array | number; @@ -1950,7 +1994,9 @@ export const PutFirewallConfigValue$outboundSchema: z.ZodType< PutFirewallConfigValue$Outbound, z.ZodTypeDef, PutFirewallConfigValue -> = smartUnion([z.string(), z.array(z.string()), z.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) +); export function putFirewallConfigValueToJSON( putFirewallConfigValue: PutFirewallConfigValue, @@ -1974,13 +2020,15 @@ export const PutFirewallConfigConditions$outboundSchema: z.ZodType< PutFirewallConfigConditions$Outbound, z.ZodTypeDef, PutFirewallConfigConditions -> = z.object({ - type: PutFirewallConfigType$outboundSchema, - op: PutFirewallConfigOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: PutFirewallConfigType$outboundSchema, + op: PutFirewallConfigOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), + }) +); export function putFirewallConfigConditionsToJSON( putFirewallConfigConditions: PutFirewallConfigConditions, @@ -2002,9 +2050,13 @@ export const ConditionGroup$outboundSchema: z.ZodType< ConditionGroup$Outbound, z.ZodTypeDef, ConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => PutFirewallConfigConditions$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => PutFirewallConfigConditions$outboundSchema), + ), + }) +); export function conditionGroupToJSON(conditionGroup: ConditionGroup): string { return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup)); @@ -2014,18 +2066,17 @@ export function conditionGroupToJSON(conditionGroup: ConditionGroup): string { export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction - > = z.nativeEnum( - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyRulesActionAction) ); /** @internal */ -export const Algo$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Algo, -); +export const Algo$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Algo)); /** @internal */ -export const Action1$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Action1); +export const Action1$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Action1)); /** @internal */ export type RateLimitAction$Outbound = string | any; @@ -2035,7 +2086,9 @@ export const RateLimitAction$outboundSchema: z.ZodType< RateLimitAction$Outbound, z.ZodTypeDef, RateLimitAction -> = smartUnion([Action1$outboundSchema, z.any()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([Action1$outboundSchema, z.any()]) +); export function rateLimitActionToJSON( rateLimitAction: RateLimitAction, @@ -2057,13 +2110,16 @@ export const RateLimit1$outboundSchema: z.ZodType< RateLimit1$Outbound, z.ZodTypeDef, RateLimit1 -> = z.object({ - algo: Algo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: z.nullable(smartUnion([Action1$outboundSchema, z.any()])).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algo: Algo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: z.nullable(smartUnion([Action1$outboundSchema, z.any()])) + .optional(), + }) +); export function rateLimit1ToJSON(rateLimit1: RateLimit1): string { return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1)); @@ -2077,7 +2133,9 @@ export const RateLimit$outboundSchema: z.ZodType< RateLimit$Outbound, z.ZodTypeDef, RateLimit -> = smartUnion([z.lazy(() => RateLimit1$outboundSchema), z.any()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => RateLimit1$outboundSchema), z.any()]) +); export function rateLimitToJSON(rateLimit: RateLimit): string { return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit)); @@ -2094,10 +2152,12 @@ export const Redirect1$outboundSchema: z.ZodType< Redirect1$Outbound, z.ZodTypeDef, Redirect1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: z.string(), + permanent: z.boolean(), + }) +); export function redirect1ToJSON(redirect1: Redirect1): string { return JSON.stringify(Redirect1$outboundSchema.parse(redirect1)); @@ -2111,7 +2171,9 @@ export const PutFirewallConfigRedirect$outboundSchema: z.ZodType< PutFirewallConfigRedirect$Outbound, z.ZodTypeDef, PutFirewallConfigRedirect -> = smartUnion([z.lazy(() => Redirect1$outboundSchema), z.any()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Redirect1$outboundSchema), z.any()]) +); export function putFirewallConfigRedirectToJSON( putFirewallConfigRedirect: PutFirewallConfigRedirect, @@ -2129,7 +2191,9 @@ export const LogHeaders$outboundSchema: z.ZodType< LogHeaders$Outbound, z.ZodTypeDef, LogHeaders -> = smartUnion([z.string(), z.array(z.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string())]) +); export function logHeadersToJSON(logHeaders: LogHeaders): string { return JSON.stringify(LogHeaders$outboundSchema.parse(logHeaders)); @@ -2150,19 +2214,21 @@ export const Mitigate$outboundSchema: z.ZodType< Mitigate$Outbound, z.ZodTypeDef, Mitigate -> = z.object({ - action: - PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema, - rateLimit: z.nullable( - smartUnion([z.lazy(() => RateLimit1$outboundSchema), z.any()]), - ).optional(), - redirect: z.nullable( - smartUnion([z.lazy(() => Redirect1$outboundSchema), z.any()]), - ).optional(), - actionDuration: z.nullable(z.string()).optional(), - bypassSystem: z.nullable(z.boolean()).optional(), - logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema, + rateLimit: z.nullable( + smartUnion([z.lazy(() => RateLimit1$outboundSchema), z.any()]), + ).optional(), + redirect: z.nullable( + smartUnion([z.lazy(() => Redirect1$outboundSchema), z.any()]), + ).optional(), + actionDuration: z.nullable(z.string()).optional(), + bypassSystem: z.nullable(z.boolean()).optional(), + logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), + }) +); export function mitigateToJSON(mitigate: Mitigate): string { return JSON.stringify(Mitigate$outboundSchema.parse(mitigate)); @@ -2179,9 +2245,11 @@ export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSche PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound, z.ZodTypeDef, PutFirewallConfigSecurityRequestRequestBodyRulesAction - > = z.object({ - mitigate: z.lazy(() => Mitigate$outboundSchema).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => Mitigate$outboundSchema).optional(), + }) + ); export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON( putFirewallConfigSecurityRequestRequestBodyRulesAction: @@ -2202,7 +2270,9 @@ export const ValidationErrors$outboundSchema: z.ZodType< ValidationErrors$Outbound, z.ZodTypeDef, ValidationErrors -> = smartUnion([z.array(z.string()), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) +); export function validationErrorsToJSON( validationErrors: ValidationErrors, @@ -2229,18 +2299,20 @@ export const PutFirewallConfigRules$outboundSchema: z.ZodType< PutFirewallConfigRules$Outbound, z.ZodTypeDef, PutFirewallConfigRules -> = z.object({ - id: z.string().optional(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)), - action: z.lazy(() => - PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema - ), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string().optional(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)), + action: z.lazy(() => + PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema + ), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), + }) +); export function putFirewallConfigRulesToJSON( putFirewallConfigRules: PutFirewallConfigRules, @@ -2252,8 +2324,10 @@ export function putFirewallConfigRulesToJSON( /** @internal */ export const PutFirewallConfigRulesetsSecurityAction$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigRulesetsSecurityAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsSecurityAction) + ); /** @internal */ export type Rulesets2$Outbound = { @@ -2265,9 +2339,11 @@ export const Rulesets2$outboundSchema: z.ZodType< Rulesets2$Outbound, z.ZodTypeDef, Rulesets2 -> = z.object({ - action: PutFirewallConfigRulesetsSecurityAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigRulesetsSecurityAction$outboundSchema, + }) +); export function rulesets2ToJSON(rulesets2: Rulesets2): string { return JSON.stringify(Rulesets2$outboundSchema.parse(rulesets2)); @@ -2275,11 +2351,11 @@ export function rulesets2ToJSON(rulesets2: Rulesets2): string { /** @internal */ export const RulesetsType$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(RulesetsType); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesetsType)); /** @internal */ -export const RulesetsOp$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(RulesetsOp); +export const RulesetsOp$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RulesetsOp)); /** @internal */ export type RulesetsValue$Outbound = string | Array | number; @@ -2289,7 +2365,9 @@ export const RulesetsValue$outboundSchema: z.ZodType< RulesetsValue$Outbound, z.ZodTypeDef, RulesetsValue -> = smartUnion([z.string(), z.array(z.string()), z.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) +); export function rulesetsValueToJSON(rulesetsValue: RulesetsValue): string { return JSON.stringify(RulesetsValue$outboundSchema.parse(rulesetsValue)); @@ -2309,13 +2387,15 @@ export const RulesetsConditions$outboundSchema: z.ZodType< RulesetsConditions$Outbound, z.ZodTypeDef, RulesetsConditions -> = z.object({ - type: RulesetsType$outboundSchema, - op: RulesetsOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: RulesetsType$outboundSchema, + op: RulesetsOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), + }) +); export function rulesetsConditionsToJSON( rulesetsConditions: RulesetsConditions, @@ -2335,9 +2415,11 @@ export const RulesetsConditionGroup$outboundSchema: z.ZodType< RulesetsConditionGroup$Outbound, z.ZodTypeDef, RulesetsConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => RulesetsConditions$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => RulesetsConditions$outboundSchema)), + }) +); export function rulesetsConditionGroupToJSON( rulesetsConditionGroup: RulesetsConditionGroup, @@ -2350,7 +2432,9 @@ export function rulesetsConditionGroupToJSON( /** @internal */ export const PutFirewallConfigRulesetsAction$outboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsAction -> = z.nativeEnum(PutFirewallConfigRulesetsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsAction) +); /** @internal */ export type RulesetsMitigate$Outbound = { @@ -2362,9 +2446,11 @@ export const RulesetsMitigate$outboundSchema: z.ZodType< RulesetsMitigate$Outbound, z.ZodTypeDef, RulesetsMitigate -> = z.object({ - action: PutFirewallConfigRulesetsAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigRulesetsAction$outboundSchema, + }) +); export function rulesetsMitigateToJSON( rulesetsMitigate: RulesetsMitigate, @@ -2384,9 +2470,11 @@ export const RulesetsAction$outboundSchema: z.ZodType< RulesetsAction$Outbound, z.ZodTypeDef, RulesetsAction -> = z.object({ - mitigate: z.lazy(() => RulesetsMitigate$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => RulesetsMitigate$outboundSchema).optional(), + }) +); export function rulesetsActionToJSON(rulesetsAction: RulesetsAction): string { return JSON.stringify(RulesetsAction$outboundSchema.parse(rulesetsAction)); @@ -2400,7 +2488,9 @@ export const RulesetsValidationErrors$outboundSchema: z.ZodType< RulesetsValidationErrors$Outbound, z.ZodTypeDef, RulesetsValidationErrors -> = smartUnion([z.array(z.string()), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) +); export function rulesetsValidationErrorsToJSON( rulesetsValidationErrors: RulesetsValidationErrors, @@ -2427,16 +2517,20 @@ export const Rulesets1$outboundSchema: z.ZodType< Rulesets1$Outbound, z.ZodTypeDef, Rulesets1 -> = z.object({ - id: z.string().optional(), - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array(z.lazy(() => RulesetsConditionGroup$outboundSchema)), - action: z.lazy(() => RulesetsAction$outboundSchema).optional(), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string().optional(), + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => RulesetsConditionGroup$outboundSchema), + ), + action: z.lazy(() => RulesetsAction$outboundSchema).optional(), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), + }) +); export function rulesets1ToJSON(rulesets1: Rulesets1): string { return JSON.stringify(Rulesets1$outboundSchema.parse(rulesets1)); @@ -2452,10 +2546,12 @@ export const Rulesets$outboundSchema: z.ZodType< Rulesets$Outbound, z.ZodTypeDef, Rulesets -> = smartUnion([ - z.array(z.lazy(() => Rulesets1$outboundSchema)), - z.record(z.lazy(() => Rulesets2$outboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => Rulesets1$outboundSchema)), + z.record(z.lazy(() => Rulesets2$outboundSchema)), + ]) +); export function rulesetsToJSON(rulesets: Rulesets): string { return JSON.stringify(Rulesets$outboundSchema.parse(rulesets)); @@ -2464,7 +2560,9 @@ export function rulesetsToJSON(rulesets: Rulesets): string { /** @internal */ export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyIpsAction); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyIpsAction) + ); /** @internal */ export type Ips$Outbound = { @@ -2476,14 +2574,17 @@ export type Ips$Outbound = { }; /** @internal */ -export const Ips$outboundSchema: z.ZodType = z - .object({ - id: z.string().optional(), - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema, - }); +export const Ips$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string().optional(), + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema, + }) + ); export function ipsToJSON(ips: Ips): string { return JSON.stringify(Ips$outboundSchema.parse(ips)); @@ -2497,7 +2598,9 @@ export const PutFirewallConfigLogHeaders$outboundSchema: z.ZodType< PutFirewallConfigLogHeaders$Outbound, z.ZodTypeDef, PutFirewallConfigLogHeaders -> = smartUnion([z.string(), z.array(z.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string())]) +); export function putFirewallConfigLogHeadersToJSON( putFirewallConfigLogHeaders: PutFirewallConfigLogHeaders, @@ -2529,20 +2632,22 @@ export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType< PutFirewallConfigRequestBody$Outbound, z.ZodTypeDef, PutFirewallConfigRequestBody -> = z.object({ - firewallEnabled: z.boolean(), - managedRules: z.lazy(() => ManagedRules$outboundSchema).optional(), - crs: z.lazy(() => Crs$outboundSchema).optional(), - rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema)) - .optional(), - rulesets: smartUnion([ - z.array(z.lazy(() => Rulesets1$outboundSchema)), - z.record(z.lazy(() => Rulesets2$outboundSchema)), - ]).optional(), - ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(), - botIdEnabled: z.boolean().optional(), - logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + firewallEnabled: z.boolean(), + managedRules: z.lazy(() => ManagedRules$outboundSchema).optional(), + crs: z.lazy(() => Crs$outboundSchema).optional(), + rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema)) + .optional(), + rulesets: smartUnion([ + z.array(z.lazy(() => Rulesets1$outboundSchema)), + z.record(z.lazy(() => Rulesets2$outboundSchema)), + ]).optional(), + ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(), + botIdEnabled: z.boolean().optional(), + logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), + }) +); export function putFirewallConfigRequestBodyToJSON( putFirewallConfigRequestBody: PutFirewallConfigRequestBody, @@ -2567,16 +2672,18 @@ export const PutFirewallConfigRequest$outboundSchema: z.ZodType< PutFirewallConfigRequest$Outbound, z.ZodTypeDef, PutFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PutFirewallConfigRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => PutFirewallConfigRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function putFirewallConfigRequestToJSON( putFirewallConfigRequest: PutFirewallConfigRequest, @@ -2591,7 +2698,7 @@ export const PutFirewallConfigChanges$inboundSchema: z.ZodType< PutFirewallConfigChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function putFirewallConfigChangesFromJSON( jsonString: string, @@ -2606,19 +2713,25 @@ export function putFirewallConfigChangesFromJSON( /** @internal */ export const PutFirewallConfigSecurityOp$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityOp -> = z.nativeEnum(PutFirewallConfigSecurityOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityOp) +); /** @internal */ export const PutFirewallConfigSecurityType$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityType -> = z.nativeEnum(PutFirewallConfigSecurityType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityType) +); /** @internal */ export const PutFirewallConfigSecurityValue$inboundSchema: z.ZodType< PutFirewallConfigSecurityValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function putFirewallConfigSecurityValueFromJSON( jsonString: string, @@ -2636,15 +2749,17 @@ export const PutFirewallConfigSecurityResponseConditions$inboundSchema: PutFirewallConfigSecurityResponseConditions, z.ZodTypeDef, unknown - > = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: PutFirewallConfigSecurityOp$inboundSchema, - type: PutFirewallConfigSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: PutFirewallConfigSecurityOp$inboundSchema, + type: PutFirewallConfigSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) + ); export function putFirewallConfigSecurityResponseConditionsFromJSON( jsonString: string, @@ -2667,11 +2782,13 @@ export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType< PutFirewallConfigConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => PutFirewallConfigSecurityResponseConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => PutFirewallConfigSecurityResponseConditions$inboundSchema), + ), + }) +); export function putFirewallConfigConditionGroupFromJSON( jsonString: string, @@ -2688,15 +2805,17 @@ export const PutFirewallConfigSecurityConditions$inboundSchema: z.ZodType< PutFirewallConfigSecurityConditions, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + }) +); export function putFirewallConfigSecurityConditionsFromJSON( jsonString: string, @@ -2713,8 +2832,10 @@ export function putFirewallConfigSecurityConditionsFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, + ) ); /** @internal */ @@ -2722,11 +2843,13 @@ export const PutFirewallConfigGen$inboundSchema: z.ZodType< PutFirewallConfigGen, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigGenFromJSON( jsonString: string, @@ -2740,18 +2863,22 @@ export function putFirewallConfigGenFromJSON( /** @internal */ export const PutFirewallConfigSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityResponse200Action) + ); /** @internal */ export const PutFirewallConfigJava$inboundSchema: z.ZodType< PutFirewallConfigJava, z.ZodTypeDef, unknown -> = z.object({ - action: PutFirewallConfigSecurityResponse200Action$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigSecurityResponse200Action$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigJavaFromJSON( jsonString: string, @@ -2767,18 +2894,22 @@ export function putFirewallConfigJavaFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction - > = z.nativeEnum(PutFirewallConfigSecurityResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityResponse200ApplicationJSONAction) + ); /** @internal */ export const PutFirewallConfigLfi$inboundSchema: z.ZodType< PutFirewallConfigLfi, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigLfiFromJSON( jsonString: string, @@ -2794,8 +2925,10 @@ export function putFirewallConfigLfiFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -2803,11 +2936,13 @@ export const PutFirewallConfigMa$inboundSchema: z.ZodType< PutFirewallConfigMa, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigMaFromJSON( jsonString: string, @@ -2823,8 +2958,10 @@ export function putFirewallConfigMaFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ) ); /** @internal */ @@ -2832,11 +2969,13 @@ export const PutFirewallConfigPhp$inboundSchema: z.ZodType< PutFirewallConfigPhp, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigPhpFromJSON( jsonString: string, @@ -2852,8 +2991,10 @@ export function putFirewallConfigPhpFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, + ) ); /** @internal */ @@ -2861,11 +3002,13 @@ export const PutFirewallConfigRce$inboundSchema: z.ZodType< PutFirewallConfigRce, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigRceFromJSON( jsonString: string, @@ -2881,8 +3024,10 @@ export function putFirewallConfigRceFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction, + ) ); /** @internal */ @@ -2890,11 +3035,13 @@ export const PutFirewallConfigRfi$inboundSchema: z.ZodType< PutFirewallConfigRfi, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsRfiAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigRfiFromJSON( jsonString: string, @@ -2910,8 +3057,10 @@ export function putFirewallConfigRfiFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction, + ) ); /** @internal */ @@ -2919,11 +3068,13 @@ export const PutFirewallConfigSd$inboundSchema: z.ZodType< PutFirewallConfigSd, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigSdFromJSON( jsonString: string, @@ -2939,8 +3090,10 @@ export function putFirewallConfigSdFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, + ) ); /** @internal */ @@ -2948,11 +3101,13 @@ export const PutFirewallConfigSf$inboundSchema: z.ZodType< PutFirewallConfigSf, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigSfFromJSON( jsonString: string, @@ -2968,8 +3123,10 @@ export function putFirewallConfigSfFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, + ) ); /** @internal */ @@ -2977,11 +3134,13 @@ export const PutFirewallConfigSqli$inboundSchema: z.ZodType< PutFirewallConfigSqli, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigSqliFromJSON( jsonString: string, @@ -2997,8 +3156,10 @@ export function putFirewallConfigSqliFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, + ) ); /** @internal */ @@ -3006,11 +3167,13 @@ export const PutFirewallConfigXss$inboundSchema: z.ZodType< PutFirewallConfigXss, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, + active: types.boolean(), + }) +); export function putFirewallConfigXssFromJSON( jsonString: string, @@ -3027,19 +3190,21 @@ export const PutFirewallConfigCrs$inboundSchema: z.ZodType< PutFirewallConfigCrs, z.ZodTypeDef, unknown -> = z.object({ - gen: z.lazy(() => PutFirewallConfigGen$inboundSchema), - java: z.lazy(() => PutFirewallConfigJava$inboundSchema), - lfi: z.lazy(() => PutFirewallConfigLfi$inboundSchema), - ma: z.lazy(() => PutFirewallConfigMa$inboundSchema), - php: z.lazy(() => PutFirewallConfigPhp$inboundSchema), - rce: z.lazy(() => PutFirewallConfigRce$inboundSchema), - rfi: z.lazy(() => PutFirewallConfigRfi$inboundSchema), - sd: z.lazy(() => PutFirewallConfigSd$inboundSchema), - sf: z.lazy(() => PutFirewallConfigSf$inboundSchema), - sqli: z.lazy(() => PutFirewallConfigSqli$inboundSchema), - xss: z.lazy(() => PutFirewallConfigXss$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gen: z.lazy(() => PutFirewallConfigGen$inboundSchema), + java: z.lazy(() => PutFirewallConfigJava$inboundSchema), + lfi: z.lazy(() => PutFirewallConfigLfi$inboundSchema), + ma: z.lazy(() => PutFirewallConfigMa$inboundSchema), + php: z.lazy(() => PutFirewallConfigPhp$inboundSchema), + rce: z.lazy(() => PutFirewallConfigRce$inboundSchema), + rfi: z.lazy(() => PutFirewallConfigRfi$inboundSchema), + sd: z.lazy(() => PutFirewallConfigSd$inboundSchema), + sf: z.lazy(() => PutFirewallConfigSf$inboundSchema), + sqli: z.lazy(() => PutFirewallConfigSqli$inboundSchema), + xss: z.lazy(() => PutFirewallConfigXss$inboundSchema), + }) +); export function putFirewallConfigCrsFromJSON( jsonString: string, @@ -3053,21 +3218,25 @@ export function putFirewallConfigCrsFromJSON( /** @internal */ export const PutFirewallConfigSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigSecurityResponseAction) + ); /** @internal */ export const PutFirewallConfigIps$inboundSchema: z.ZodType< PutFirewallConfigIps, z.ZodTypeDef, unknown -> = z.object({ - action: PutFirewallConfigSecurityResponseAction$inboundSchema, - hostname: types.string(), - id: types.string(), - ip: types.string(), - notes: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigSecurityResponseAction$inboundSchema, + hostname: types.string(), + id: types.string(), + ip: types.string(), + notes: types.optional(types.string()), + }) +); export function putFirewallConfigIpsFromJSON( jsonString: string, @@ -3082,17 +3251,21 @@ export function putFirewallConfigIpsFromJSON( /** @internal */ export const PutFirewallConfigLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigLogHeaders2 -> = z.nativeEnum(PutFirewallConfigLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigLogHeaders2) +); /** @internal */ export const PutFirewallConfigSecurityLogHeaders$inboundSchema: z.ZodType< PutFirewallConfigSecurityLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeaders2$inboundSchema, + ]) +); export function putFirewallConfigSecurityLogHeadersFromJSON( jsonString: string, @@ -3109,8 +3282,10 @@ export function putFirewallConfigSecurityLogHeadersFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction, + ) ); /** @internal */ @@ -3118,15 +3293,17 @@ export const PutFirewallConfigAiBots$inboundSchema: z.ZodType< PutFirewallConfigAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function putFirewallConfigAiBotsFromJSON( jsonString: string, @@ -3142,8 +3319,10 @@ export function putFirewallConfigAiBotsFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction, + ) ); /** @internal */ @@ -3151,15 +3330,17 @@ export const PutFirewallConfigBotProtection$inboundSchema: z.ZodType< PutFirewallConfigBotProtection, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesBotProtectionAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function putFirewallConfigBotProtectionFromJSON( jsonString: string, @@ -3175,8 +3356,10 @@ export function putFirewallConfigBotProtectionFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction, + ) ); /** @internal */ @@ -3184,15 +3367,17 @@ export const PutFirewallConfigOwasp$inboundSchema: z.ZodType< PutFirewallConfigOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function putFirewallConfigOwaspFromJSON( jsonString: string, @@ -3208,8 +3393,10 @@ export function putFirewallConfigOwaspFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction, + ) ); /** @internal */ @@ -3217,15 +3404,17 @@ export const PutFirewallConfigTrafficSources$inboundSchema: z.ZodType< PutFirewallConfigTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesTrafficSourcesAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function putFirewallConfigTrafficSourcesFromJSON( jsonString: string, @@ -3241,8 +3430,10 @@ export function putFirewallConfigTrafficSourcesFromJSON( export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction - > = z.nativeEnum( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction, + ) ); /** @internal */ @@ -3250,15 +3441,17 @@ export const PutFirewallConfigVercelRuleset$inboundSchema: z.ZodType< PutFirewallConfigVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema, - ), - active: types.boolean(), - updatedAt: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesVercelRulesetAction$inboundSchema, + ), + active: types.boolean(), + updatedAt: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function putFirewallConfigVercelRulesetFromJSON( jsonString: string, @@ -3275,26 +3468,30 @@ export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType< PutFirewallConfigManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: types.optional(z.lazy(() => PutFirewallConfigAiBots$inboundSchema)), - bot_protection: types.optional( - z.lazy(() => PutFirewallConfigBotProtection$inboundSchema), - ), - owasp: types.optional(z.lazy(() => PutFirewallConfigOwasp$inboundSchema)), - traffic_sources: types.optional( - z.lazy(() => PutFirewallConfigTrafficSources$inboundSchema), - ), - vercel_ruleset: types.optional( - z.lazy(() => PutFirewallConfigVercelRuleset$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_protection": "botProtection", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: types.optional( + z.lazy(() => PutFirewallConfigAiBots$inboundSchema), + ), + bot_protection: types.optional( + z.lazy(() => PutFirewallConfigBotProtection$inboundSchema), + ), + owasp: types.optional(z.lazy(() => PutFirewallConfigOwasp$inboundSchema)), + traffic_sources: types.optional( + z.lazy(() => PutFirewallConfigTrafficSources$inboundSchema), + ), + vercel_ruleset: types.optional( + z.lazy(() => PutFirewallConfigVercelRuleset$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_protection": "botProtection", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function putFirewallConfigManagedRulesFromJSON( jsonString: string, @@ -3308,23 +3505,29 @@ export function putFirewallConfigManagedRulesFromJSON( /** @internal */ export const PutFirewallConfigRulesSecurityResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigRulesSecurityResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityResponseAction) + ); /** @internal */ export const PutFirewallConfigLogHeadersSecurityResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigLogHeadersSecurityResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigLogHeadersSecurityResponse2) + ); /** @internal */ export const PutFirewallConfigRulesSecurityLogHeaders$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse2$inboundSchema, + ]) +); export function putFirewallConfigRulesSecurityLogHeadersFromJSON( jsonString: string, @@ -3346,29 +3549,33 @@ export function putFirewallConfigRulesSecurityLogHeadersFromJSON( export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction) ); /** @internal */ export const PutFirewallConfigRulesSecurityAlgo$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesSecurityAlgo -> = z.nativeEnum(PutFirewallConfigRulesSecurityAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityAlgo) +); /** @internal */ export const PutFirewallConfigRulesSecurityRateLimit$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: PutFirewallConfigRulesSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: PutFirewallConfigRulesSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function putFirewallConfigRulesSecurityRateLimitFromJSON( jsonString: string, @@ -3391,10 +3598,12 @@ export const PutFirewallConfigRulesSecurityRedirect$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function putFirewallConfigRulesSecurityRedirectFromJSON( jsonString: string, @@ -3412,23 +3621,25 @@ export const PutFirewallConfigRulesSecurityMitigate$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: PutFirewallConfigRulesSecurityResponseAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => PutFirewallConfigRulesSecurityRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => PutFirewallConfigRulesSecurityRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigRulesSecurityResponseAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => PutFirewallConfigRulesSecurityRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => PutFirewallConfigRulesSecurityRedirect$inboundSchema), + ).optional(), + }) +); export function putFirewallConfigRulesSecurityMitigateFromJSON( jsonString: string, @@ -3446,11 +3657,13 @@ export const PutFirewallConfigRulesSecurityAction$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => PutFirewallConfigRulesSecurityMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => PutFirewallConfigRulesSecurityMitigate$inboundSchema), + ), + }) +); export function putFirewallConfigRulesSecurityActionFromJSON( jsonString: string, @@ -3466,19 +3679,25 @@ export function putFirewallConfigRulesSecurityActionFromJSON( /** @internal */ export const PutFirewallConfigRulesSecurityOp$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesSecurityOp -> = z.nativeEnum(PutFirewallConfigRulesSecurityOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityOp) +); /** @internal */ export const PutFirewallConfigRulesSecurityType$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesSecurityType -> = z.nativeEnum(PutFirewallConfigRulesSecurityType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityType) +); /** @internal */ export const PutFirewallConfigRulesSecurityValue$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function putFirewallConfigRulesSecurityValueFromJSON( jsonString: string, @@ -3496,15 +3715,17 @@ export const PutFirewallConfigRulesSecurityConditions$inboundSchema: z.ZodType< PutFirewallConfigRulesSecurityConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: PutFirewallConfigRulesSecurityOp$inboundSchema, - type: PutFirewallConfigRulesSecurityType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: PutFirewallConfigRulesSecurityOp$inboundSchema, + type: PutFirewallConfigRulesSecurityType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function putFirewallConfigRulesSecurityConditionsFromJSON( jsonString: string, @@ -3528,11 +3749,13 @@ export const PutFirewallConfigRulesSecurityConditionGroup$inboundSchema: PutFirewallConfigRulesSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => PutFirewallConfigRulesSecurityConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => PutFirewallConfigRulesSecurityConditions$inboundSchema), + ), + }) + ); export function putFirewallConfigRulesSecurityConditionGroupFromJSON( jsonString: string, @@ -3555,18 +3778,20 @@ export const PutFirewallConfigRules2$inboundSchema: z.ZodType< PutFirewallConfigRules2, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => PutFirewallConfigRulesSecurityAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigRulesSecurityConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(false), - validationErrors: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => PutFirewallConfigRulesSecurityAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigRulesSecurityConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(false), + validationErrors: z.array(types.string()), + }) +); export function putFirewallConfigRules2FromJSON( jsonString: string, @@ -3580,15 +3805,17 @@ export function putFirewallConfigRules2FromJSON( /** @internal */ export const PutFirewallConfigRulesSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigRulesSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesSecurityResponse200Action) + ); /** @internal */ export const PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2 - > = z.nativeEnum( - PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2) ); /** @internal */ @@ -3596,10 +3823,12 @@ export const PutFirewallConfigRulesLogHeaders$inboundSchema: z.ZodType< PutFirewallConfigRulesLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]) +); export function putFirewallConfigRulesLogHeadersFromJSON( jsonString: string, @@ -3615,29 +3844,33 @@ export function putFirewallConfigRulesLogHeadersFromJSON( export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ export const PutFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesAlgo -> = z.nativeEnum(PutFirewallConfigRulesAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigRulesAlgo)); /** @internal */ export const PutFirewallConfigRulesRateLimit$inboundSchema: z.ZodType< PutFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ).optional(), - algo: PutFirewallConfigRulesAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ).optional(), + algo: PutFirewallConfigRulesAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function putFirewallConfigRulesRateLimitFromJSON( jsonString: string, @@ -3654,10 +3887,12 @@ export const PutFirewallConfigRulesRedirect$inboundSchema: z.ZodType< PutFirewallConfigRulesRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function putFirewallConfigRulesRedirectFromJSON( jsonString: string, @@ -3674,23 +3909,25 @@ export const PutFirewallConfigRulesMitigate$inboundSchema: z.ZodType< PutFirewallConfigRulesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: PutFirewallConfigRulesSecurityResponse200Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => PutFirewallConfigRulesRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => PutFirewallConfigRulesRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigRulesSecurityResponse200Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse200ApplicationJson2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => PutFirewallConfigRulesRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => PutFirewallConfigRulesRedirect$inboundSchema), + ).optional(), + }) +); export function putFirewallConfigRulesMitigateFromJSON( jsonString: string, @@ -3707,11 +3944,13 @@ export const PutFirewallConfigRulesAction$inboundSchema: z.ZodType< PutFirewallConfigRulesAction, z.ZodTypeDef, unknown -> = z.object({ - mitigate: types.optional( - z.lazy(() => PutFirewallConfigRulesMitigate$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => PutFirewallConfigRulesMitigate$inboundSchema), + ), + }) +); export function putFirewallConfigRulesActionFromJSON( jsonString: string, @@ -3726,19 +3965,21 @@ export function putFirewallConfigRulesActionFromJSON( /** @internal */ export const PutFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesOp -> = z.nativeEnum(PutFirewallConfigRulesOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigRulesOp)); /** @internal */ export const PutFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesType -> = z.nativeEnum(PutFirewallConfigRulesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PutFirewallConfigRulesType)); /** @internal */ export const PutFirewallConfigRulesValue$inboundSchema: z.ZodType< PutFirewallConfigRulesValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function putFirewallConfigRulesValueFromJSON( jsonString: string, @@ -3755,15 +3996,17 @@ export const PutFirewallConfigRulesConditions$inboundSchema: z.ZodType< PutFirewallConfigRulesConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: PutFirewallConfigRulesOp$inboundSchema, - type: PutFirewallConfigRulesType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: PutFirewallConfigRulesOp$inboundSchema, + type: PutFirewallConfigRulesType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function putFirewallConfigRulesConditionsFromJSON( jsonString: string, @@ -3780,11 +4023,13 @@ export const PutFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType< PutFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => PutFirewallConfigRulesConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => PutFirewallConfigRulesConditions$inboundSchema), + ), + }) +); export function putFirewallConfigRulesConditionGroupFromJSON( jsonString: string, @@ -3802,18 +4047,20 @@ export const PutFirewallConfigRules1$inboundSchema: z.ZodType< PutFirewallConfigRules1, z.ZodTypeDef, unknown -> = z.object({ - action: z.lazy(() => PutFirewallConfigRulesAction$inboundSchema), - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigRulesConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - valid: types.literal(true), - validationErrors: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.lazy(() => PutFirewallConfigRulesAction$inboundSchema), + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigRulesConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + valid: types.literal(true), + validationErrors: z.nullable(z.any()).optional(), + }) +); export function putFirewallConfigRules1FromJSON( jsonString: string, @@ -3830,10 +4077,12 @@ export const PutFirewallConfigSecurityRules$inboundSchema: z.ZodType< PutFirewallConfigSecurityRules, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => PutFirewallConfigRules1$inboundSchema), - z.lazy(() => PutFirewallConfigRules2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PutFirewallConfigRules1$inboundSchema), + z.lazy(() => PutFirewallConfigRules2$inboundSchema), + ]) +); export function putFirewallConfigSecurityRulesFromJSON( jsonString: string, @@ -3847,24 +4096,29 @@ export function putFirewallConfigSecurityRulesFromJSON( /** @internal */ export const PutFirewallConfigRulesetsSecurityResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigRulesetsSecurityResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsSecurityResponse200Action) + ); /** @internal */ export const PutFirewallConfigLogHeadersSecurity2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PutFirewallConfigLogHeadersSecurity2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigLogHeadersSecurity2) + ); /** @internal */ export const PutFirewallConfigRulesetsLogHeaders$inboundSchema: z.ZodType< PutFirewallConfigRulesetsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurity2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurity2$inboundSchema, + ]) +); export function putFirewallConfigRulesetsLogHeadersFromJSON( jsonString: string, @@ -3881,29 +4135,35 @@ export function putFirewallConfigRulesetsLogHeadersFromJSON( export const PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction - > = z.nativeEnum( - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction, + ) ); /** @internal */ export const PutFirewallConfigRulesetsAlgo$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsAlgo -> = z.nativeEnum(PutFirewallConfigRulesetsAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsAlgo) +); /** @internal */ export const PutFirewallConfigRulesetsRateLimit$inboundSchema: z.ZodType< PutFirewallConfigRulesetsRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, - ).optional(), - algo: PutFirewallConfigRulesetsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema, + ).optional(), + algo: PutFirewallConfigRulesetsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function putFirewallConfigRulesetsRateLimitFromJSON( jsonString: string, @@ -3921,10 +4181,12 @@ export const PutFirewallConfigRulesetsRedirect$inboundSchema: z.ZodType< PutFirewallConfigRulesetsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function putFirewallConfigRulesetsRedirectFromJSON( jsonString: string, @@ -3941,23 +4203,25 @@ export const PutFirewallConfigRulesets2$inboundSchema: z.ZodType< PutFirewallConfigRulesets2, z.ZodTypeDef, unknown -> = z.object({ - action: PutFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurity2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => PutFirewallConfigRulesetsRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => PutFirewallConfigRulesetsRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PutFirewallConfigRulesetsSecurityResponse200Action$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurity2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => PutFirewallConfigRulesetsRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => PutFirewallConfigRulesetsRedirect$inboundSchema), + ).optional(), + }) +); export function putFirewallConfigRulesets2FromJSON( jsonString: string, @@ -3972,19 +4236,25 @@ export function putFirewallConfigRulesets2FromJSON( /** @internal */ export const PutFirewallConfigRulesetsOp$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsOp -> = z.nativeEnum(PutFirewallConfigRulesetsOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsOp) +); /** @internal */ export const PutFirewallConfigRulesetsType$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsType -> = z.nativeEnum(PutFirewallConfigRulesetsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsType) +); /** @internal */ export const PutFirewallConfigRulesetsValue$inboundSchema: z.ZodType< PutFirewallConfigRulesetsValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function putFirewallConfigRulesetsValueFromJSON( jsonString: string, @@ -4001,15 +4271,17 @@ export const PutFirewallConfigRulesetsConditions$inboundSchema: z.ZodType< PutFirewallConfigRulesetsConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: PutFirewallConfigRulesetsOp$inboundSchema, - type: PutFirewallConfigRulesetsType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: PutFirewallConfigRulesetsOp$inboundSchema, + type: PutFirewallConfigRulesetsType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function putFirewallConfigRulesetsConditionsFromJSON( jsonString: string, @@ -4027,11 +4299,13 @@ export const PutFirewallConfigRulesetsConditionGroup$inboundSchema: z.ZodType< PutFirewallConfigRulesetsConditionGroup, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => PutFirewallConfigRulesetsConditions$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => PutFirewallConfigRulesetsConditions$inboundSchema), + ), + }) +); export function putFirewallConfigRulesetsConditionGroupFromJSON( jsonString: string, @@ -4053,14 +4327,18 @@ export function putFirewallConfigRulesetsConditionGroupFromJSON( export const PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ export const PutFirewallConfigLogHeadersSecurityResponse2002$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigLogHeadersSecurityResponse2002); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigLogHeadersSecurityResponse2002) + ); /** @internal */ export const PutFirewallConfigRulesetsSecurityLogHeaders$inboundSchema: @@ -4068,10 +4346,12 @@ export const PutFirewallConfigRulesetsSecurityLogHeaders$inboundSchema: PutFirewallConfigRulesetsSecurityLogHeaders, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]) + ); export function putFirewallConfigRulesetsSecurityLogHeadersFromJSON( jsonString: string, @@ -4093,28 +4373,33 @@ export function putFirewallConfigRulesetsSecurityLogHeadersFromJSON( export const PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema: z.ZodNativeEnum< typeof PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction - > = z.nativeEnum( - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction, + ) ); /** @internal */ export const PutFirewallConfigRulesetsSecurityAlgo$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PutFirewallConfigRulesetsSecurityAlgo, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutFirewallConfigRulesetsSecurityAlgo) + ); /** @internal */ export const PutFirewallConfigRulesetsSecurityRateLimit$inboundSchema: z.ZodType = - z.object({ - action: z.nullable( - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, - ).optional(), - algo: PutFirewallConfigRulesetsSecurityAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, + ).optional(), + algo: PutFirewallConfigRulesetsSecurityAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) + ); export function putFirewallConfigRulesetsSecurityRateLimitFromJSON( jsonString: string, @@ -4137,10 +4422,12 @@ export const PutFirewallConfigRulesetsSecurityRedirect$inboundSchema: z.ZodType< PutFirewallConfigRulesetsSecurityRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function putFirewallConfigRulesetsSecurityRedirectFromJSON( jsonString: string, @@ -4163,24 +4450,26 @@ export const PutFirewallConfigRulesetsMitigate$inboundSchema: z.ZodType< PutFirewallConfigRulesetsMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: - PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => PutFirewallConfigRulesetsSecurityRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable( - z.lazy(() => PutFirewallConfigRulesetsSecurityRedirect$inboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + PutFirewallConfigRulesetsSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeadersSecurityResponse2002$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => PutFirewallConfigRulesetsSecurityRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => PutFirewallConfigRulesetsSecurityRedirect$inboundSchema), + ).optional(), + }) +); export function putFirewallConfigRulesetsMitigateFromJSON( jsonString: string, @@ -4198,11 +4487,13 @@ export const PutFirewallConfigRulesetsSecurityResponseAction$inboundSchema: PutFirewallConfigRulesetsSecurityResponseAction, z.ZodTypeDef, unknown - > = z.object({ - mitigate: types.optional( - z.lazy(() => PutFirewallConfigRulesetsMitigate$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: types.optional( + z.lazy(() => PutFirewallConfigRulesetsMitigate$inboundSchema), + ), + }) + ); export function putFirewallConfigRulesetsSecurityResponseActionFromJSON( jsonString: string, @@ -4225,18 +4516,22 @@ export const PutFirewallConfigRulesets1$inboundSchema: z.ZodType< PutFirewallConfigRulesets1, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - conditionGroup: z.array( - z.lazy(() => PutFirewallConfigRulesetsConditionGroup$inboundSchema), - ), - description: types.optional(types.string()), - id: types.string(), - name: types.string(), - action: types.optional( - z.lazy(() => PutFirewallConfigRulesetsSecurityResponseAction$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + conditionGroup: z.array( + z.lazy(() => PutFirewallConfigRulesetsConditionGroup$inboundSchema), + ), + description: types.optional(types.string()), + id: types.string(), + name: types.string(), + action: types.optional( + z.lazy(() => + PutFirewallConfigRulesetsSecurityResponseAction$inboundSchema + ), + ), + }) +); export function putFirewallConfigRulesets1FromJSON( jsonString: string, @@ -4253,10 +4548,12 @@ export const PutFirewallConfigRulesets$inboundSchema: z.ZodType< PutFirewallConfigRulesets, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(z.lazy(() => PutFirewallConfigRulesets1$inboundSchema)), - z.record(z.lazy(() => PutFirewallConfigRulesets2$inboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => PutFirewallConfigRulesets1$inboundSchema)), + z.record(z.lazy(() => PutFirewallConfigRulesets2$inboundSchema)), + ]) +); export function putFirewallConfigRulesetsFromJSON( jsonString: string, @@ -4273,42 +4570,42 @@ export const PutFirewallConfigActive$inboundSchema: z.ZodType< PutFirewallConfigActive, z.ZodTypeDef, unknown -> = z.object({ - botIdEnabled: types.optional(types.boolean()), - changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)), - conditions: types.optional( - z.array(z.lazy(() => PutFirewallConfigSecurityConditions$inboundSchema)), - ), - crs: types.optional(z.lazy(() => PutFirewallConfigCrs$inboundSchema)), - firewallEnabled: types.boolean(), - id: types.string(), - ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - PutFirewallConfigLogHeaders2$inboundSchema, - ]), - ), - managedRules: types.optional( - z.lazy(() => PutFirewallConfigManagedRules$inboundSchema), - ), - ownerId: types.string(), - projectKey: types.string(), - rules: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + botIdEnabled: types.optional(types.boolean()), + changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)), + conditions: types.optional( + z.array(z.lazy(() => PutFirewallConfigSecurityConditions$inboundSchema)), + ), + crs: types.optional(z.lazy(() => PutFirewallConfigCrs$inboundSchema)), + firewallEnabled: types.boolean(), + id: types.string(), + ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + PutFirewallConfigLogHeaders2$inboundSchema, + ]), + ), + managedRules: types.optional( + z.lazy(() => PutFirewallConfigManagedRules$inboundSchema), + ), + ownerId: types.string(), + projectKey: types.string(), + rules: z.array(smartUnion([ z.lazy(() => PutFirewallConfigRules1$inboundSchema), z.lazy(() => PutFirewallConfigRules2$inboundSchema), - ]), - ), - rulesets: types.optional( - smartUnion([ + ])), + rulesets: types.optional(smartUnion([ z.array(z.lazy(() => PutFirewallConfigRulesets1$inboundSchema)), - z.record(z.lazy(() => PutFirewallConfigRulesets2$inboundSchema)), - ]), - ), - updatedAt: types.string(), - version: types.number(), -}); + z.record(z.lazy(() => + PutFirewallConfigRulesets2$inboundSchema + )), + ])), + updatedAt: types.string(), + version: types.number(), + }) +); export function putFirewallConfigActiveFromJSON( jsonString: string, @@ -4325,9 +4622,11 @@ export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType< PutFirewallConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - active: z.lazy(() => PutFirewallConfigActive$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.lazy(() => PutFirewallConfigActive$inboundSchema), + }) +); export function putFirewallConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/putorganizationdsyncgroupop.ts b/src/models/putorganizationdsyncgroupop.ts index 3828e2138b..5cd5f17da9 100644 --- a/src/models/putorganizationdsyncgroupop.ts +++ b/src/models/putorganizationdsyncgroupop.ts @@ -3,7 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const PutOrganizationDsyncGroupOrganizationPermissions = { @@ -75,18 +79,24 @@ export type PutOrganizationDsyncGroupRequest = { /** @internal */ export const PutOrganizationDsyncGroupOrganizationPermissions$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutOrganizationDsyncGroupOrganizationPermissions); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutOrganizationDsyncGroupOrganizationPermissions) + ); /** @internal */ export const PutOrganizationDsyncGroupTeamRoles$outboundSchema: z.ZodNativeEnum< typeof PutOrganizationDsyncGroupTeamRoles -> = z.nativeEnum(PutOrganizationDsyncGroupTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutOrganizationDsyncGroupTeamRoles) +); /** @internal */ export const PutOrganizationDsyncGroupOrganizationsTeamRoles$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutOrganizationDsyncGroupOrganizationsTeamRoles); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutOrganizationDsyncGroupOrganizationsTeamRoles) + ); /** @internal */ export type PutOrganizationDsyncGroupTeams$Outbound = { @@ -98,11 +108,13 @@ export const PutOrganizationDsyncGroupTeams$outboundSchema: z.ZodType< PutOrganizationDsyncGroupTeams$Outbound, z.ZodTypeDef, PutOrganizationDsyncGroupTeams -> = z.object({ - teamRoles: z.array( - PutOrganizationDsyncGroupOrganizationsTeamRoles$outboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamRoles: z.array( + PutOrganizationDsyncGroupOrganizationsTeamRoles$outboundSchema, + ), + }) +); export function putOrganizationDsyncGroupTeamsToJSON( putOrganizationDsyncGroupTeams: PutOrganizationDsyncGroupTeams, @@ -126,15 +138,17 @@ export const PutOrganizationDsyncGroupAssignments$outboundSchema: z.ZodType< PutOrganizationDsyncGroupAssignments$Outbound, z.ZodTypeDef, PutOrganizationDsyncGroupAssignments -> = z.object({ - organizationPermissions: z.array( - PutOrganizationDsyncGroupOrganizationPermissions$outboundSchema, - ).optional(), - teamRoles: z.array(PutOrganizationDsyncGroupTeamRoles$outboundSchema) - .optional(), - teams: z.record(z.lazy(() => PutOrganizationDsyncGroupTeams$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationPermissions: z.array( + PutOrganizationDsyncGroupOrganizationPermissions$outboundSchema, + ).optional(), + teamRoles: z.array(PutOrganizationDsyncGroupTeamRoles$outboundSchema) + .optional(), + teams: z.record(z.lazy(() => PutOrganizationDsyncGroupTeams$outboundSchema)) + .optional(), + }) +); export function putOrganizationDsyncGroupAssignmentsToJSON( putOrganizationDsyncGroupAssignments: PutOrganizationDsyncGroupAssignments, @@ -156,11 +170,13 @@ export const PutOrganizationDsyncGroupRequestBody$outboundSchema: z.ZodType< PutOrganizationDsyncGroupRequestBody$Outbound, z.ZodTypeDef, PutOrganizationDsyncGroupRequestBody -> = z.object({ - assignments: z.lazy(() => - PutOrganizationDsyncGroupAssignments$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + assignments: z.lazy(() => + PutOrganizationDsyncGroupAssignments$outboundSchema + ), + }) +); export function putOrganizationDsyncGroupRequestBodyToJSON( putOrganizationDsyncGroupRequestBody: PutOrganizationDsyncGroupRequestBody, @@ -188,22 +204,27 @@ export const PutOrganizationDsyncGroupRequest$outboundSchema: z.ZodType< PutOrganizationDsyncGroupRequest$Outbound, z.ZodTypeDef, PutOrganizationDsyncGroupRequest -> = z.object({ - ifMatch: z.string().optional(), - ifNoneMatch: z.literal("*").optional(), - organizationId: z.string(), - groupId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => PutOrganizationDsyncGroupRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - ifMatch: "If-Match", - ifNoneMatch: "If-None-Match", - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ifMatch: z.string().refine(matchesPattern$("^\"\\d+\"$"), { + message: "Value must match pattern ^\"\\d+\"$", + }).optional(), + ifNoneMatch: z.literal("*").optional(), + organizationId: z.string(), + groupId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + PutOrganizationDsyncGroupRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + ifMatch: "If-Match", + ifNoneMatch: "If-None-Match", + requestBody: "RequestBody", + }); + }) +); export function putOrganizationDsyncGroupRequestToJSON( putOrganizationDsyncGroupRequest: PutOrganizationDsyncGroupRequest, diff --git a/src/models/putorganizationteamdsyncop.ts b/src/models/putorganizationteamdsyncop.ts index c6e25a6e1d..6b0ba92c25 100644 --- a/src/models/putorganizationteamdsyncop.ts +++ b/src/models/putorganizationteamdsyncop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -59,7 +59,9 @@ export type PutOrganizationTeamDsyncResponseBody = { /** @internal */ export const PutOrganizationTeamDsyncDsyncMode$outboundSchema: z.ZodNativeEnum< typeof PutOrganizationTeamDsyncDsyncMode -> = z.nativeEnum(PutOrganizationTeamDsyncDsyncMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutOrganizationTeamDsyncDsyncMode) +); /** @internal */ export type PutOrganizationTeamDsyncRequestBody$Outbound = { @@ -71,9 +73,11 @@ export const PutOrganizationTeamDsyncRequestBody$outboundSchema: z.ZodType< PutOrganizationTeamDsyncRequestBody$Outbound, z.ZodTypeDef, PutOrganizationTeamDsyncRequestBody -> = z.object({ - dsyncMode: PutOrganizationTeamDsyncDsyncMode$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dsyncMode: PutOrganizationTeamDsyncDsyncMode$outboundSchema, + }) +); export function putOrganizationTeamDsyncRequestBodyToJSON( putOrganizationTeamDsyncRequestBody: PutOrganizationTeamDsyncRequestBody, @@ -99,18 +103,21 @@ export const PutOrganizationTeamDsyncRequest$outboundSchema: z.ZodType< PutOrganizationTeamDsyncRequest$Outbound, z.ZodTypeDef, PutOrganizationTeamDsyncRequest -> = z.object({ - organizationId: z.string(), - targetTeamId: z.string(), - slug: z.string().optional(), - teamId: z.string().optional(), - requestBody: z.lazy(() => PutOrganizationTeamDsyncRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + targetTeamId: z.string(), + slug: z.string().optional(), + teamId: z.string().optional(), + requestBody: z.lazy(() => + PutOrganizationTeamDsyncRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function putOrganizationTeamDsyncRequestToJSON( putOrganizationTeamDsyncRequest: PutOrganizationTeamDsyncRequest, @@ -124,19 +131,23 @@ export function putOrganizationTeamDsyncRequestToJSON( /** @internal */ export const PutOrganizationTeamDsyncOrganizationsDsyncMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutOrganizationTeamDsyncOrganizationsDsyncMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PutOrganizationTeamDsyncOrganizationsDsyncMode) + ); /** @internal */ export const PutOrganizationTeamDsyncResponseBody$inboundSchema: z.ZodType< PutOrganizationTeamDsyncResponseBody, z.ZodTypeDef, unknown -> = z.object({ - dsyncMode: PutOrganizationTeamDsyncOrganizationsDsyncMode$inboundSchema, - organizationId: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dsyncMode: PutOrganizationTeamDsyncOrganizationsDsyncMode$inboundSchema, + organizationId: types.string(), + teamId: types.string(), + }) +); export function putOrganizationTeamDsyncResponseBodyFromJSON( jsonString: string, diff --git a/src/models/putprojectdaemoninstancesop.ts b/src/models/putprojectdaemoninstancesop.ts index 6e226f1965..d2ca79453f 100644 --- a/src/models/putprojectdaemoninstancesop.ts +++ b/src/models/putprojectdaemoninstancesop.ts @@ -3,8 +3,11 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { + matchesPattern as matchesPattern$, + remap as remap$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -60,7 +63,7 @@ export type PutProjectDaemonInstancesResponseBody = { /** @internal */ export const QueryParamTarget$outboundSchema: z.ZodNativeEnum< typeof QueryParamTarget -> = z.nativeEnum(QueryParamTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryParamTarget)); /** @internal */ export type PutProjectDaemonInstancesRequest$Outbound = { @@ -78,19 +81,25 @@ export const PutProjectDaemonInstancesRequest$outboundSchema: z.ZodType< PutProjectDaemonInstancesRequest$Outbound, z.ZodTypeDef, PutProjectDaemonInstancesRequest -> = z.object({ - idOrName: z.string(), - daemonName: z.string(), - target: QueryParamTarget$outboundSchema.default("production"), - customEnvironmentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.record(z.nullable(z.number().int())).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + daemonName: z.string().refine(matchesPattern$("^[a-zA-Z0-9_-]+$"), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + target: QueryParamTarget$outboundSchema.default("production"), + customEnvironmentId: z.string().refine(matchesPattern$("^env_"), { + message: "Value must match pattern ^env_", + }).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.record(z.nullable(z.number().int())).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function putProjectDaemonInstancesRequestToJSON( putProjectDaemonInstancesRequest: PutProjectDaemonInstancesRequest, @@ -107,9 +116,11 @@ export const PutProjectDaemonInstancesResponseBody$inboundSchema: z.ZodType< PutProjectDaemonInstancesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + }) +); export function putProjectDaemonInstancesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/readaccessgroupop.ts b/src/models/readaccessgroupop.ts index 08babdd302..bedc198d9b 100644 --- a/src/models/readaccessgroupop.ts +++ b/src/models/readaccessgroupop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -103,11 +103,13 @@ export const ReadAccessGroupRequest$outboundSchema: z.ZodType< ReadAccessGroupRequest$Outbound, z.ZodTypeDef, ReadAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function readAccessGroupRequestToJSON( readAccessGroupRequest: ReadAccessGroupRequest, @@ -120,35 +122,41 @@ export function readAccessGroupRequestToJSON( /** @internal */ export const ReadAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< typeof ReadAccessGroupEntitlements -> = z.nativeEnum(ReadAccessGroupEntitlements); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ReadAccessGroupEntitlements) +); /** @internal */ export const ReadAccessGroupTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof ReadAccessGroupTeamPermissions -> = z.nativeEnum(ReadAccessGroupTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(ReadAccessGroupTeamPermissions) +); /** @internal */ export const ReadAccessGroupResponseBody$inboundSchema: z.ZodType< ReadAccessGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - entitlements: types.optional( - z.array(ReadAccessGroupEntitlements$inboundSchema), - ), - isDsyncManaged: types.boolean(), - membersCount: types.number(), - name: types.string(), - projectsCount: types.number(), - teamId: types.string(), - teamPermissions: types.optional( - z.array(ReadAccessGroupTeamPermissions$inboundSchema), - ), - teamRoles: types.optional(z.array(types.string())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + entitlements: types.optional( + z.array(ReadAccessGroupEntitlements$inboundSchema), + ), + isDsyncManaged: types.boolean(), + membersCount: types.number(), + name: types.string(), + projectsCount: types.number(), + teamId: types.string(), + teamPermissions: types.optional( + z.array(ReadAccessGroupTeamPermissions$inboundSchema), + ), + teamRoles: types.optional(z.array(types.string())), + updatedAt: types.string(), + }) +); export function readAccessGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/readaccessgroupprojectop.ts b/src/models/readaccessgroupprojectop.ts index 14215abfea..74481ff0d1 100644 --- a/src/models/readaccessgroupprojectop.ts +++ b/src/models/readaccessgroupprojectop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -54,12 +54,14 @@ export const ReadAccessGroupProjectRequest$outboundSchema: z.ZodType< ReadAccessGroupProjectRequest$Outbound, z.ZodTypeDef, ReadAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function readAccessGroupProjectRequestToJSON( readAccessGroupProjectRequest: ReadAccessGroupProjectRequest, @@ -74,21 +76,23 @@ export function readAccessGroupProjectRequestToJSON( /** @internal */ export const ReadAccessGroupProjectRole$inboundSchema: z.ZodNativeEnum< typeof ReadAccessGroupProjectRole -> = z.nativeEnum(ReadAccessGroupProjectRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ReadAccessGroupProjectRole)); /** @internal */ export const ReadAccessGroupProjectResponseBody$inboundSchema: z.ZodType< ReadAccessGroupProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - projectId: types.string(), - role: ReadAccessGroupProjectRole$inboundSchema, - teamId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + projectId: types.string(), + role: ReadAccessGroupProjectRole$inboundSchema, + teamId: types.string(), + updatedAt: types.string(), + }) +); export function readAccessGroupProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/readnetworkop.ts b/src/models/readnetworkop.ts index 2ff3a0796c..33ba8803e6 100644 --- a/src/models/readnetworkop.ts +++ b/src/models/readnetworkop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ReadNetworkRequest = { /** @@ -31,11 +32,13 @@ export const ReadNetworkRequest$outboundSchema: z.ZodType< ReadNetworkRequest$Outbound, z.ZodTypeDef, ReadNetworkRequest -> = z.object({ - networkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + networkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function readNetworkRequestToJSON( readNetworkRequest: ReadNetworkRequest, diff --git a/src/models/readprivatelinkendpointop.ts b/src/models/readprivatelinkendpointop.ts index 25d7053ae7..ae42d25cab 100644 --- a/src/models/readprivatelinkendpointop.ts +++ b/src/models/readprivatelinkendpointop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ReadPrivateLinkEndpointRequest = { /** @@ -36,12 +37,14 @@ export const ReadPrivateLinkEndpointRequest$outboundSchema: z.ZodType< ReadPrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, ReadPrivateLinkEndpointRequest -> = z.object({ - projectId: z.string(), - endpointId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + endpointId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function readPrivateLinkEndpointRequestToJSON( readPrivateLinkEndpointRequest: ReadPrivateLinkEndpointRequest, diff --git a/src/models/readsessionfileop.ts b/src/models/readsessionfileop.ts index 8b29b7d8cf..792ece3db5 100644 --- a/src/models/readsessionfileop.ts +++ b/src/models/readsessionfileop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ReadSessionFileRequestBody = { /** @@ -43,10 +44,12 @@ export const ReadSessionFileRequestBody$outboundSchema: z.ZodType< ReadSessionFileRequestBody$Outbound, z.ZodTypeDef, ReadSessionFileRequestBody -> = z.object({ - cwd: z.string().optional(), - path: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cwd: z.string().optional(), + path: z.string(), + }) +); export function readSessionFileRequestBodyToJSON( readSessionFileRequestBody: ReadSessionFileRequestBody, @@ -69,17 +72,19 @@ export const ReadSessionFileRequest$outboundSchema: z.ZodType< ReadSessionFileRequest$Outbound, z.ZodTypeDef, ReadSessionFileRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => ReadSessionFileRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => ReadSessionFileRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function readSessionFileRequestToJSON( readSessionFileRequest: ReadSessionFileRequest, diff --git a/src/models/recordeventsop.ts b/src/models/recordeventsop.ts index ec21b11e78..00d564e957 100644 --- a/src/models/recordeventsop.ts +++ b/src/models/recordeventsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; /** @@ -76,12 +77,11 @@ export type RecordEventsRequest = { /** @internal */ export const RecordEventsSource$outboundSchema: z.ZodNativeEnum< typeof RecordEventsSource -> = z.nativeEnum(RecordEventsSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RecordEventsSource)); /** @internal */ -export const Event$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Event, -); +export const Event$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Event)); /** @internal */ export type RequestBody$Outbound = { @@ -97,13 +97,15 @@ export const RequestBody$outboundSchema: z.ZodType< RequestBody$Outbound, z.ZodTypeDef, RequestBody -> = z.object({ - sessionId: z.string(), - source: RecordEventsSource$outboundSchema, - event: Event$outboundSchema, - hash: z.string(), - duration: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + source: RecordEventsSource$outboundSchema, + event: Event$outboundSchema, + hash: z.string(), + duration: z.number().optional(), + }) +); export function requestBodyToJSON(requestBody: RequestBody): string { return JSON.stringify(RequestBody$outboundSchema.parse(requestBody)); @@ -123,19 +125,21 @@ export const RecordEventsRequest$outboundSchema: z.ZodType< RecordEventsRequest$Outbound, z.ZodTypeDef, RecordEventsRequest -> = z.object({ - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.array(z.lazy(() => RequestBody$outboundSchema)), -}).transform((v) => { - return remap$(v, { - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.array(z.lazy(() => RequestBody$outboundSchema)), + }).transform((v) => { + return remap$(v, { + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + requestBody: "RequestBody", + }); + }) +); export function recordEventsRequestToJSON( recordEventsRequest: RecordEventsRequest, diff --git a/src/models/removebypassipop.ts b/src/models/removebypassipop.ts index d138ddf1a5..aa8890999d 100644 --- a/src/models/removebypassipop.ts +++ b/src/models/removebypassipop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -64,13 +64,15 @@ export const RemoveBypassIpRequestBody2$outboundSchema: z.ZodType< RemoveBypassIpRequestBody2$Outbound, z.ZodTypeDef, RemoveBypassIpRequestBody2 -> = z.object({ - domain: z.string().optional(), - projectScope: z.boolean(), - sourceIp: z.string().optional(), - allSources: z.boolean().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string().optional(), + projectScope: z.boolean(), + sourceIp: z.string().optional(), + allSources: z.boolean().optional(), + note: z.string().optional(), + }) +); export function removeBypassIpRequestBody2ToJSON( removeBypassIpRequestBody2: RemoveBypassIpRequestBody2, @@ -94,13 +96,15 @@ export const RemoveBypassIpRequestBody1$outboundSchema: z.ZodType< RemoveBypassIpRequestBody1$Outbound, z.ZodTypeDef, RemoveBypassIpRequestBody1 -> = z.object({ - domain: z.string(), - projectScope: z.boolean().optional(), - sourceIp: z.string().optional(), - allSources: z.boolean().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + projectScope: z.boolean().optional(), + sourceIp: z.string().optional(), + allSources: z.boolean().optional(), + note: z.string().optional(), + }) +); export function removeBypassIpRequestBody1ToJSON( removeBypassIpRequestBody1: RemoveBypassIpRequestBody1, @@ -120,10 +124,12 @@ export const RemoveBypassIpRequestBody$outboundSchema: z.ZodType< RemoveBypassIpRequestBody$Outbound, z.ZodTypeDef, RemoveBypassIpRequestBody -> = smartUnion([ - z.lazy(() => RemoveBypassIpRequestBody1$outboundSchema), - z.lazy(() => RemoveBypassIpRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => RemoveBypassIpRequestBody1$outboundSchema), + z.lazy(() => RemoveBypassIpRequestBody2$outboundSchema), + ]) +); export function removeBypassIpRequestBodyToJSON( removeBypassIpRequestBody: RemoveBypassIpRequestBody, @@ -149,19 +155,21 @@ export const RemoveBypassIpRequest$outboundSchema: z.ZodType< RemoveBypassIpRequest$Outbound, z.ZodTypeDef, RemoveBypassIpRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => RemoveBypassIpRequestBody1$outboundSchema), - z.lazy(() => RemoveBypassIpRequestBody2$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => RemoveBypassIpRequestBody1$outboundSchema), + z.lazy(() => RemoveBypassIpRequestBody2$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function removeBypassIpRequestToJSON( removeBypassIpRequest: RemoveBypassIpRequest, @@ -176,9 +184,11 @@ export const RemoveBypassIpResponseBody$inboundSchema: z.ZodType< RemoveBypassIpResponseBody, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + }) +); export function removeBypassIpResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removecertop.ts b/src/models/removecertop.ts index 4d2df65ac1..dded01e4e4 100644 --- a/src/models/removecertop.ts +++ b/src/models/removecertop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -36,11 +36,13 @@ export const RemoveCertRequest$outboundSchema: z.ZodType< RemoveCertRequest$Outbound, z.ZodTypeDef, RemoveCertRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function removeCertRequestToJSON( removeCertRequest: RemoveCertRequest, @@ -55,7 +57,7 @@ export const RemoveCertResponseBody$inboundSchema: z.ZodType< RemoveCertResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function removeCertResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removecustomenvironmentop.ts b/src/models/removecustomenvironmentop.ts index 99eca4986f..cad3627a16 100644 --- a/src/models/removecustomenvironmentop.ts +++ b/src/models/removecustomenvironmentop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -166,9 +166,11 @@ export const RemoveCustomEnvironmentRequestBody$outboundSchema: z.ZodType< RemoveCustomEnvironmentRequestBody$Outbound, z.ZodTypeDef, RemoveCustomEnvironmentRequestBody -> = z.object({ - deleteUnassignedEnvironmentVariables: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deleteUnassignedEnvironmentVariables: z.boolean().optional(), + }) +); export function removeCustomEnvironmentRequestBodyToJSON( removeCustomEnvironmentRequestBody: RemoveCustomEnvironmentRequestBody, @@ -194,18 +196,20 @@ export const RemoveCustomEnvironmentRequest$outboundSchema: z.ZodType< RemoveCustomEnvironmentRequest$Outbound, z.ZodTypeDef, RemoveCustomEnvironmentRequest -> = z.object({ - idOrName: z.string(), - environmentSlugOrId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => RemoveCustomEnvironmentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + environmentSlugOrId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => RemoveCustomEnvironmentRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function removeCustomEnvironmentRequestToJSON( removeCustomEnvironmentRequest: RemoveCustomEnvironmentRequest, @@ -219,19 +223,22 @@ export function removeCustomEnvironmentRequestToJSON( /** @internal */ export const RemoveCustomEnvironmentEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - RemoveCustomEnvironmentEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveCustomEnvironmentEnvironmentType) + ); /** @internal */ export const RemoveCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< RemoveCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: RemoveCustomEnvironmentEnvironmentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: RemoveCustomEnvironmentEnvironmentType$inboundSchema, + }) +); export function removeCustomEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -249,12 +256,14 @@ export const RemoveCustomEnvironmentVerification$inboundSchema: z.ZodType< RemoveCustomEnvironmentVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function removeCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -272,21 +281,23 @@ export const RemoveCustomEnvironmentDomains$inboundSchema: z.ZodType< RemoveCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => RemoveCustomEnvironmentVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => RemoveCustomEnvironmentVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function removeCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -301,28 +312,32 @@ export function removeCustomEnvironmentDomainsFromJSON( /** @internal */ export const RemoveCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof RemoveCustomEnvironmentType -> = z.nativeEnum(RemoveCustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveCustomEnvironmentType) +); /** @internal */ export const RemoveCustomEnvironmentResponseBody$inboundSchema: z.ZodType< RemoveCustomEnvironmentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => RemoveCustomEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => RemoveCustomEnvironmentDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: RemoveCustomEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => RemoveCustomEnvironmentBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => RemoveCustomEnvironmentDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: RemoveCustomEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function removeCustomEnvironmentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removeorganizationteamop.ts b/src/models/removeorganizationteamop.ts index 00fcce00ad..6328aed6e0 100644 --- a/src/models/removeorganizationteamop.ts +++ b/src/models/removeorganizationteamop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,10 +35,12 @@ export const RemoveOrganizationTeamRequest$outboundSchema: z.ZodType< RemoveOrganizationTeamRequest$Outbound, z.ZodTypeDef, RemoveOrganizationTeamRequest -> = z.object({ - organizationId: z.string(), - targetTeamId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + targetTeamId: z.string(), + }) +); export function removeOrganizationTeamRequestToJSON( removeOrganizationTeamRequest: RemoveOrganizationTeamRequest, @@ -55,10 +57,12 @@ export const RemoveOrganizationTeamResponseBody$inboundSchema: z.ZodType< RemoveOrganizationTeamResponseBody, z.ZodTypeDef, unknown -> = z.object({ - organizationId: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + teamId: types.string(), + }) +); export function removeOrganizationTeamResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removeprojectdomainop.ts b/src/models/removeprojectdomainop.ts index c90b7ae25a..9529480cdd 100644 --- a/src/models/removeprojectdomainop.ts +++ b/src/models/removeprojectdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -50,9 +50,11 @@ export const RemoveProjectDomainRequestBody$outboundSchema: z.ZodType< RemoveProjectDomainRequestBody$Outbound, z.ZodTypeDef, RemoveProjectDomainRequestBody -> = z.object({ - removeRedirects: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + removeRedirects: z.boolean().optional(), + }) +); export function removeProjectDomainRequestBodyToJSON( removeProjectDomainRequestBody: RemoveProjectDomainRequestBody, @@ -78,18 +80,20 @@ export const RemoveProjectDomainRequest$outboundSchema: z.ZodType< RemoveProjectDomainRequest$Outbound, z.ZodTypeDef, RemoveProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => RemoveProjectDomainRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => RemoveProjectDomainRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function removeProjectDomainRequestToJSON( removeProjectDomainRequest: RemoveProjectDomainRequest, @@ -104,7 +108,7 @@ export const RemoveProjectDomainResponseBody$inboundSchema: z.ZodType< RemoveProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function removeProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removeprojectenvop.ts b/src/models/removeprojectenvop.ts index 45c118ec0e..3f1962ff07 100644 --- a/src/models/removeprojectenvop.ts +++ b/src/models/removeprojectenvop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -758,13 +758,15 @@ export const RemoveProjectEnvRequest$outboundSchema: z.ZodType< RemoveProjectEnvRequest$Outbound, z.ZodTypeDef, RemoveProjectEnvRequest -> = z.object({ - idOrName: z.string(), - id: z.string(), - customEnvironmentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + id: z.string(), + customEnvironmentId: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function removeProjectEnvRequestToJSON( removeProjectEnvRequest: RemoveProjectEnvRequest, @@ -780,10 +782,12 @@ export const RemoveProjectEnvContentHintProjectsResponse17$inboundSchema: RemoveProjectEnvContentHintProjectsResponse17, z.ZodTypeDef, unknown - > = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) + ); export function removeProjectEnvContentHintProjectsResponse17FromJSON( jsonString: string, @@ -807,13 +811,15 @@ export const RemoveProjectEnvContentHintProjectsResponse16$inboundSchema: RemoveProjectEnvContentHintProjectsResponse16, z.ZodTypeDef, unknown - > = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) + ); export function removeProjectEnvContentHintProjectsResponse16FromJSON( jsonString: string, @@ -837,10 +843,12 @@ export const RemoveProjectEnvContentHintProjectsResponse15$inboundSchema: RemoveProjectEnvContentHintProjectsResponse15, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) + ); export function removeProjectEnvContentHintProjectsResponse15FromJSON( jsonString: string, @@ -864,10 +872,12 @@ export const RemoveProjectEnvContentHintProjectsResponse14$inboundSchema: RemoveProjectEnvContentHintProjectsResponse14, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) + ); export function removeProjectEnvContentHintProjectsResponse14FromJSON( jsonString: string, @@ -891,10 +901,12 @@ export const RemoveProjectEnvContentHintProjectsResponse13$inboundSchema: RemoveProjectEnvContentHintProjectsResponse13, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) + ); export function removeProjectEnvContentHintProjectsResponse13FromJSON( jsonString: string, @@ -918,10 +930,12 @@ export const RemoveProjectEnvContentHintProjectsResponse12$inboundSchema: RemoveProjectEnvContentHintProjectsResponse12, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) + ); export function removeProjectEnvContentHintProjectsResponse12FromJSON( jsonString: string, @@ -945,10 +959,12 @@ export const RemoveProjectEnvContentHintProjectsResponse11$inboundSchema: RemoveProjectEnvContentHintProjectsResponse11, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) + ); export function removeProjectEnvContentHintProjectsResponse11FromJSON( jsonString: string, @@ -972,10 +988,12 @@ export const RemoveProjectEnvContentHintProjectsResponse10$inboundSchema: RemoveProjectEnvContentHintProjectsResponse10, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) + ); export function removeProjectEnvContentHintProjectsResponse10FromJSON( jsonString: string, @@ -999,10 +1017,12 @@ export const RemoveProjectEnvContentHintProjectsResponse9$inboundSchema: RemoveProjectEnvContentHintProjectsResponse9, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) + ); export function removeProjectEnvContentHintProjectsResponse9FromJSON( jsonString: string, @@ -1026,10 +1046,12 @@ export const RemoveProjectEnvContentHintProjectsResponse8$inboundSchema: RemoveProjectEnvContentHintProjectsResponse8, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) + ); export function removeProjectEnvContentHintProjectsResponse8FromJSON( jsonString: string, @@ -1053,10 +1075,12 @@ export const RemoveProjectEnvContentHintProjectsResponse7$inboundSchema: RemoveProjectEnvContentHintProjectsResponse7, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) + ); export function removeProjectEnvContentHintProjectsResponse7FromJSON( jsonString: string, @@ -1080,10 +1104,12 @@ export const RemoveProjectEnvContentHintProjectsResponse6$inboundSchema: RemoveProjectEnvContentHintProjectsResponse6, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) + ); export function removeProjectEnvContentHintProjectsResponse6FromJSON( jsonString: string, @@ -1107,10 +1133,12 @@ export const RemoveProjectEnvContentHintProjectsResponse5$inboundSchema: RemoveProjectEnvContentHintProjectsResponse5, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) + ); export function removeProjectEnvContentHintProjectsResponse5FromJSON( jsonString: string, @@ -1134,10 +1162,12 @@ export const RemoveProjectEnvContentHintProjectsResponse4$inboundSchema: RemoveProjectEnvContentHintProjectsResponse4, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) + ); export function removeProjectEnvContentHintProjectsResponse4FromJSON( jsonString: string, @@ -1161,10 +1191,12 @@ export const RemoveProjectEnvContentHintProjectsResponse3$inboundSchema: RemoveProjectEnvContentHintProjectsResponse3, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) + ); export function removeProjectEnvContentHintProjectsResponse3FromJSON( jsonString: string, @@ -1188,10 +1220,12 @@ export const RemoveProjectEnvContentHintProjectsResponse2$inboundSchema: RemoveProjectEnvContentHintProjectsResponse2, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) + ); export function removeProjectEnvContentHintProjectsResponse2FromJSON( jsonString: string, @@ -1215,10 +1249,12 @@ export const RemoveProjectEnvContentHintProjectsResponse1$inboundSchema: RemoveProjectEnvContentHintProjectsResponse1, z.ZodTypeDef, unknown - > = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) + ); export function removeProjectEnvContentHintProjectsResponse1FromJSON( jsonString: string, @@ -1242,25 +1278,27 @@ export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSche RemoveProjectEnvResponseBodyProjectsResponseContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse16$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjectsResponse17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse14$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse16$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjectsResponse17$inboundSchema), + ]) + ); export function removeProjectEnvResponseBodyProjectsResponseContentHintFromJSON( jsonString: string, @@ -1281,8 +1319,10 @@ export function removeProjectEnvResponseBodyProjectsResponseContentHintFromJSON( export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType - > = z.nativeEnum( - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -1291,11 +1331,13 @@ export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inb RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, + }) + ); export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( jsonString: string, @@ -1314,13 +1356,17 @@ export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintF /** @internal */ export const RemoveProjectEnvTargetProjectsResponse2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvTargetProjectsResponse2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvTargetProjectsResponse2) + ); /** @internal */ export const RemoveProjectEnvTargetProjectsResponse1$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvTargetProjectsResponse1); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvTargetProjectsResponse1) + ); /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: @@ -1328,10 +1374,12 @@ export const RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: RemoveProjectEnvResponseBodyProjectsResponseTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), - RemoveProjectEnvTargetProjectsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), + RemoveProjectEnvTargetProjectsResponse2$inboundSchema, + ]) + ); export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( jsonString: string, @@ -1351,25 +1399,29 @@ export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseType) + ); /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvResponseBodyProjectsResponseVisibility - > = z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseVisibility); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponseVisibility) + ); /** @internal */ export const RemoveProjectEnvResponseBody3$inboundSchema: z.ZodType< RemoveProjectEnvResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => RemoveProjectEnvContentHintProjectsResponse1$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjectsResponse2$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjectsResponse3$inboundSchema), @@ -1387,38 +1439,36 @@ export const RemoveProjectEnvResponseBody3$inboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjectsResponse16$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjectsResponse17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), + RemoveProjectEnvTargetProjectsResponse2$inboundSchema, + ]), ), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), - RemoveProjectEnvTargetProjectsResponse2$inboundSchema, - ]), - ), - type: RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - RemoveProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema, - ), -}); + type: RemoveProjectEnvResponseBodyProjectsResponseType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + RemoveProjectEnvResponseBodyProjectsResponseVisibility$inboundSchema, + ), + }) +); export function removeProjectEnvResponseBody3FromJSON( jsonString: string, @@ -1435,10 +1485,12 @@ export const RemoveProjectEnvContentHintProjects17$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function removeProjectEnvContentHintProjects17FromJSON( jsonString: string, @@ -1456,13 +1508,15 @@ export const RemoveProjectEnvContentHintProjects16$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function removeProjectEnvContentHintProjects16FromJSON( jsonString: string, @@ -1480,10 +1534,12 @@ export const RemoveProjectEnvContentHintProjects15$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function removeProjectEnvContentHintProjects15FromJSON( jsonString: string, @@ -1501,10 +1557,12 @@ export const RemoveProjectEnvContentHintProjects14$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function removeProjectEnvContentHintProjects14FromJSON( jsonString: string, @@ -1522,10 +1580,12 @@ export const RemoveProjectEnvContentHintProjects13$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function removeProjectEnvContentHintProjects13FromJSON( jsonString: string, @@ -1543,10 +1603,12 @@ export const RemoveProjectEnvContentHintProjects12$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function removeProjectEnvContentHintProjects12FromJSON( jsonString: string, @@ -1564,10 +1626,12 @@ export const RemoveProjectEnvContentHintProjects11$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function removeProjectEnvContentHintProjects11FromJSON( jsonString: string, @@ -1585,10 +1649,12 @@ export const RemoveProjectEnvContentHintProjects10$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function removeProjectEnvContentHintProjects10FromJSON( jsonString: string, @@ -1606,10 +1672,12 @@ export const RemoveProjectEnvContentHintProjects9$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function removeProjectEnvContentHintProjects9FromJSON( jsonString: string, @@ -1627,10 +1695,12 @@ export const RemoveProjectEnvContentHintProjects8$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function removeProjectEnvContentHintProjects8FromJSON( jsonString: string, @@ -1648,10 +1718,12 @@ export const RemoveProjectEnvContentHintProjects7$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function removeProjectEnvContentHintProjects7FromJSON( jsonString: string, @@ -1669,10 +1741,12 @@ export const RemoveProjectEnvContentHintProjects6$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function removeProjectEnvContentHintProjects6FromJSON( jsonString: string, @@ -1690,10 +1764,12 @@ export const RemoveProjectEnvContentHintProjects5$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function removeProjectEnvContentHintProjects5FromJSON( jsonString: string, @@ -1711,10 +1787,12 @@ export const RemoveProjectEnvContentHintProjects4$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function removeProjectEnvContentHintProjects4FromJSON( jsonString: string, @@ -1732,10 +1810,12 @@ export const RemoveProjectEnvContentHintProjects3$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function removeProjectEnvContentHintProjects3FromJSON( jsonString: string, @@ -1753,10 +1833,12 @@ export const RemoveProjectEnvContentHintProjects2$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function removeProjectEnvContentHintProjects2FromJSON( jsonString: string, @@ -1774,10 +1856,12 @@ export const RemoveProjectEnvContentHintProjects1$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjects1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function removeProjectEnvContentHintProjects1FromJSON( jsonString: string, @@ -1796,25 +1880,27 @@ export const RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema: RemoveProjectEnvResponseBodyProjectsContentHint, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects16$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHintProjects17$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects14$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects16$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHintProjects17$inboundSchema), + ]) + ); export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( jsonString: string, @@ -1836,8 +1922,10 @@ export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type - > = z.nativeEnum( - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type, + ) ); /** @internal */ @@ -1846,11 +1934,13 @@ export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSche RemoveProjectEnvResponseBodyProjectsInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: - RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson2Type$inboundSchema, + }) + ); export function removeProjectEnvResponseBodyProjectsInternalContentHintFromJSON( jsonString: string, @@ -1870,20 +1960,26 @@ export function removeProjectEnvResponseBodyProjectsInternalContentHintFromJSON( /** @internal */ export const RemoveProjectEnvTargetProjects2$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvTargetProjects2 -> = z.nativeEnum(RemoveProjectEnvTargetProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvTargetProjects2) +); /** @internal */ export const RemoveProjectEnvTargetProjects1$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvTargetProjects1 -> = z.nativeEnum(RemoveProjectEnvTargetProjects1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvTargetProjects1) +); /** @internal */ export const RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema: z.ZodType = - smartUnion([ - z.array(RemoveProjectEnvTargetProjects1$inboundSchema), - RemoveProjectEnvTargetProjects2$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(RemoveProjectEnvTargetProjects1$inboundSchema), + RemoveProjectEnvTargetProjects2$inboundSchema, + ]) + ); export function removeProjectEnvResponseBodyProjectsTargetFromJSON( jsonString: string, @@ -1903,24 +1999,28 @@ export function removeProjectEnvResponseBodyProjectsTargetFromJSON( /** @internal */ export const RemoveProjectEnvResponseBodyProjectsType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvResponseBodyProjectsType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsType) + ); /** @internal */ export const RemoveProjectEnvResponseBodyProjectsVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(RemoveProjectEnvResponseBodyProjectsVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsVisibility) + ); /** @internal */ export const RemoveProjectEnvResponseBody2$inboundSchema: z.ZodType< RemoveProjectEnvResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => RemoveProjectEnvContentHintProjects1$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjects2$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjects3$inboundSchema), @@ -1938,39 +2038,37 @@ export const RemoveProjectEnvResponseBody2$inboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjects16$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjects17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + system: types.optional(types.boolean()), + target: types.optional( + smartUnion([ + z.array(RemoveProjectEnvTargetProjects1$inboundSchema), + RemoveProjectEnvTargetProjects2$inboundSchema, + ]), ), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - system: types.optional(types.boolean()), - target: types.optional( - smartUnion([ - z.array(RemoveProjectEnvTargetProjects1$inboundSchema), - RemoveProjectEnvTargetProjects2$inboundSchema, - ]), - ), - type: RemoveProjectEnvResponseBodyProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - RemoveProjectEnvResponseBodyProjectsVisibility$inboundSchema, - ), -}); + type: RemoveProjectEnvResponseBodyProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + RemoveProjectEnvResponseBodyProjectsVisibility$inboundSchema, + ), + }) +); export function removeProjectEnvResponseBody2FromJSON( jsonString: string, @@ -1987,10 +2085,12 @@ export const RemoveProjectEnvContentHint17$inboundSchema: z.ZodType< RemoveProjectEnvContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function removeProjectEnvContentHint17FromJSON( jsonString: string, @@ -2007,13 +2107,15 @@ export const RemoveProjectEnvContentHint16$inboundSchema: z.ZodType< RemoveProjectEnvContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function removeProjectEnvContentHint16FromJSON( jsonString: string, @@ -2030,10 +2132,12 @@ export const RemoveProjectEnvContentHint15$inboundSchema: z.ZodType< RemoveProjectEnvContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function removeProjectEnvContentHint15FromJSON( jsonString: string, @@ -2050,10 +2154,12 @@ export const RemoveProjectEnvContentHint14$inboundSchema: z.ZodType< RemoveProjectEnvContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function removeProjectEnvContentHint14FromJSON( jsonString: string, @@ -2070,10 +2176,12 @@ export const RemoveProjectEnvContentHint13$inboundSchema: z.ZodType< RemoveProjectEnvContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function removeProjectEnvContentHint13FromJSON( jsonString: string, @@ -2090,10 +2198,12 @@ export const RemoveProjectEnvContentHint12$inboundSchema: z.ZodType< RemoveProjectEnvContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function removeProjectEnvContentHint12FromJSON( jsonString: string, @@ -2110,10 +2220,12 @@ export const RemoveProjectEnvContentHint11$inboundSchema: z.ZodType< RemoveProjectEnvContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function removeProjectEnvContentHint11FromJSON( jsonString: string, @@ -2130,10 +2242,12 @@ export const RemoveProjectEnvContentHint10$inboundSchema: z.ZodType< RemoveProjectEnvContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function removeProjectEnvContentHint10FromJSON( jsonString: string, @@ -2150,10 +2264,12 @@ export const RemoveProjectEnvContentHint9$inboundSchema: z.ZodType< RemoveProjectEnvContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function removeProjectEnvContentHint9FromJSON( jsonString: string, @@ -2170,10 +2286,12 @@ export const RemoveProjectEnvContentHint8$inboundSchema: z.ZodType< RemoveProjectEnvContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function removeProjectEnvContentHint8FromJSON( jsonString: string, @@ -2190,10 +2308,12 @@ export const RemoveProjectEnvContentHint7$inboundSchema: z.ZodType< RemoveProjectEnvContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function removeProjectEnvContentHint7FromJSON( jsonString: string, @@ -2210,10 +2330,12 @@ export const RemoveProjectEnvContentHint6$inboundSchema: z.ZodType< RemoveProjectEnvContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function removeProjectEnvContentHint6FromJSON( jsonString: string, @@ -2230,10 +2352,12 @@ export const RemoveProjectEnvContentHint5$inboundSchema: z.ZodType< RemoveProjectEnvContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function removeProjectEnvContentHint5FromJSON( jsonString: string, @@ -2250,10 +2374,12 @@ export const RemoveProjectEnvContentHint4$inboundSchema: z.ZodType< RemoveProjectEnvContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function removeProjectEnvContentHint4FromJSON( jsonString: string, @@ -2270,10 +2396,12 @@ export const RemoveProjectEnvContentHint3$inboundSchema: z.ZodType< RemoveProjectEnvContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function removeProjectEnvContentHint3FromJSON( jsonString: string, @@ -2290,10 +2418,12 @@ export const RemoveProjectEnvContentHint2$inboundSchema: z.ZodType< RemoveProjectEnvContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function removeProjectEnvContentHint2FromJSON( jsonString: string, @@ -2310,10 +2440,12 @@ export const RemoveProjectEnvContentHint1$inboundSchema: z.ZodType< RemoveProjectEnvContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function removeProjectEnvContentHint1FromJSON( jsonString: string, @@ -2330,25 +2462,27 @@ export const RemoveProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< RemoveProjectEnvResponseBodyContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint16$inboundSchema), - z.lazy(() => RemoveProjectEnvContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint4$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint5$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint6$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint7$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint8$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint9$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint10$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint11$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint12$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint14$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint16$inboundSchema), + z.lazy(() => RemoveProjectEnvContentHint17$inboundSchema), + ]) +); export function removeProjectEnvResponseBodyContentHintFromJSON( jsonString: string, @@ -2369,7 +2503,9 @@ export function removeProjectEnvResponseBodyContentHintFromJSON( /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponse200Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyProjectsResponse200Type) + ); /** @internal */ export const RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema: @@ -2377,10 +2513,12 @@ export const RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema: RemoveProjectEnvResponseBodyInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, + }) + ); export function removeProjectEnvResponseBodyInternalContentHintFromJSON( jsonString: string, @@ -2401,22 +2539,24 @@ export function removeProjectEnvResponseBodyInternalContentHintFromJSON( /** @internal */ export const RemoveProjectEnvTarget2$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvTarget2 -> = z.nativeEnum(RemoveProjectEnvTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RemoveProjectEnvTarget2)); /** @internal */ export const RemoveProjectEnvTarget1$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvTarget1 -> = z.nativeEnum(RemoveProjectEnvTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RemoveProjectEnvTarget1)); /** @internal */ export const RemoveProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< RemoveProjectEnvResponseBodyTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(RemoveProjectEnvTarget1$inboundSchema), - RemoveProjectEnvTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(RemoveProjectEnvTarget1$inboundSchema), + RemoveProjectEnvTarget2$inboundSchema, + ]) +); export function removeProjectEnvResponseBodyTargetFromJSON( jsonString: string, @@ -2432,24 +2572,27 @@ export function removeProjectEnvResponseBodyTargetFromJSON( /** @internal */ export const RemoveProjectEnvResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof RemoveProjectEnvResponseBodyType -> = z.nativeEnum(RemoveProjectEnvResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyType) +); /** @internal */ export const RemoveProjectEnvResponseBodyVisibility$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - RemoveProjectEnvResponseBodyVisibility, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RemoveProjectEnvResponseBodyVisibility) + ); /** @internal */ export const RemoveProjectEnvResponseBody1$inboundSchema: z.ZodType< RemoveProjectEnvResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => RemoveProjectEnvContentHint1$inboundSchema), z.lazy(() => RemoveProjectEnvContentHint2$inboundSchema), z.lazy(() => RemoveProjectEnvContentHint3$inboundSchema), @@ -2467,36 +2610,36 @@ export const RemoveProjectEnvResponseBody1$inboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), z.lazy(() => RemoveProjectEnvContentHint16$inboundSchema), z.lazy(() => RemoveProjectEnvContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(RemoveProjectEnvTarget1$inboundSchema), - RemoveProjectEnvTarget2$inboundSchema, - ]), - ), - type: RemoveProjectEnvResponseBodyType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - RemoveProjectEnvResponseBodyVisibility$inboundSchema, - ), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(RemoveProjectEnvTarget1$inboundSchema), + RemoveProjectEnvTarget2$inboundSchema, + ]), + ), + type: RemoveProjectEnvResponseBodyType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + RemoveProjectEnvResponseBodyVisibility$inboundSchema, + ), + }) +); export function removeProjectEnvResponseBody1FromJSON( jsonString: string, @@ -2513,13 +2656,15 @@ export const RemoveProjectEnvResponseBody$inboundSchema: z.ZodType< RemoveProjectEnvResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => RemoveProjectEnvResponseBody2$inboundSchema), - z.lazy(() => RemoveProjectEnvResponseBody3$inboundSchema), - z.array( - types.nullable(z.lazy(() => RemoveProjectEnvResponseBody1$inboundSchema)), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => RemoveProjectEnvResponseBody2$inboundSchema), + z.lazy(() => RemoveProjectEnvResponseBody3$inboundSchema), + z.array( + types.nullable(z.lazy(() => RemoveProjectEnvResponseBody1$inboundSchema)), + ), + ]) +); export function removeProjectEnvResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removeprojectmemberop.ts b/src/models/removeprojectmemberop.ts index d8e03a9177..150beb4ee0 100644 --- a/src/models/removeprojectmemberop.ts +++ b/src/models/removeprojectmemberop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -44,12 +44,14 @@ export const RemoveProjectMemberRequest$outboundSchema: z.ZodType< RemoveProjectMemberRequest$Outbound, z.ZodTypeDef, RemoveProjectMemberRequest -> = z.object({ - idOrName: z.string(), - uid: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + uid: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function removeProjectMemberRequestToJSON( removeProjectMemberRequest: RemoveProjectMemberRequest, @@ -64,9 +66,11 @@ export const RemoveProjectMemberResponseBody$inboundSchema: z.ZodType< RemoveProjectMemberResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function removeProjectMemberResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removerecordop.ts b/src/models/removerecordop.ts index 5fee6adafc..351cc14ef2 100644 --- a/src/models/removerecordop.ts +++ b/src/models/removerecordop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -38,12 +38,14 @@ export const RemoveRecordRequest$outboundSchema: z.ZodType< RemoveRecordRequest$Outbound, z.ZodTypeDef, RemoveRecordRequest -> = z.object({ - domain: z.string(), - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function removeRecordRequestToJSON( removeRecordRequest: RemoveRecordRequest, @@ -58,7 +60,7 @@ export const RemoveRecordResponseBody$inboundSchema: z.ZodType< RemoveRecordResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function removeRecordResponseBodyFromJSON( jsonString: string, diff --git a/src/models/removerepositorypermissionop.ts b/src/models/removerepositorypermissionop.ts index f39f052a2e..71be240719 100644 --- a/src/models/removerepositorypermissionop.ts +++ b/src/models/removerepositorypermissionop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type RemoveRepositoryPermissionRequestBody = { /** @@ -44,10 +45,12 @@ export const RemoveRepositoryPermissionRequestBody$outboundSchema: z.ZodType< RemoveRepositoryPermissionRequestBody$Outbound, z.ZodTypeDef, RemoveRepositoryPermissionRequestBody -> = z.object({ - teamId: z.string().optional(), - teamSlug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + teamSlug: z.string().optional(), + }) +); export function removeRepositoryPermissionRequestBodyToJSON( removeRepositoryPermissionRequestBody: RemoveRepositoryPermissionRequestBody, @@ -73,19 +76,21 @@ export const RemoveRepositoryPermissionRequest$outboundSchema: z.ZodType< RemoveRepositoryPermissionRequest$Outbound, z.ZodTypeDef, RemoveRepositoryPermissionRequest -> = z.object({ - projectId: z.string(), - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - RemoveRepositoryPermissionRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + RemoveRepositoryPermissionRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function removeRepositoryPermissionRequestToJSON( removeRepositoryPermissionRequest: RemoveRepositoryPermissionRequest, diff --git a/src/models/removeteammemberop.ts b/src/models/removeteammemberop.ts index 5065e07a7c..cf76ac5539 100644 --- a/src/models/removeteammemberop.ts +++ b/src/models/removeteammemberop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -42,11 +42,13 @@ export const RemoveTeamMemberRequest$outboundSchema: z.ZodType< RemoveTeamMemberRequest$Outbound, z.ZodTypeDef, RemoveTeamMemberRequest -> = z.object({ - uid: z.string(), - newDefaultTeamId: z.string().optional(), - teamId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: z.string(), + newDefaultTeamId: z.string().optional(), + teamId: z.string(), + }) +); export function removeTeamMemberRequestToJSON( removeTeamMemberRequest: RemoveTeamMemberRequest, @@ -61,9 +63,11 @@ export const RemoveTeamMemberResponseBody$inboundSchema: z.ZodType< RemoveTeamMemberResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function removeTeamMemberResponseBodyFromJSON( jsonString: string, diff --git a/src/models/renewdomainop.ts b/src/models/renewdomainop.ts index c4ff2695e2..80c60ce773 100644 --- a/src/models/renewdomainop.ts +++ b/src/models/renewdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -172,20 +172,22 @@ export const RenewDomainContactInformation$outboundSchema: z.ZodType< RenewDomainContactInformation$Outbound, z.ZodTypeDef, RenewDomainContactInformation -> = z.object({ - firstName: z.string(), - lastName: z.string(), - email: z.string(), - phone: z.string(), - address1: z.string(), - address2: z.string().optional(), - city: z.string(), - state: z.string(), - zip: z.string(), - country: z.string(), - companyName: z.string().optional(), - fax: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + }) +); export function renewDomainContactInformationToJSON( renewDomainContactInformation: RenewDomainContactInformation, @@ -209,12 +211,15 @@ export const RenewDomainRequestBody$outboundSchema: z.ZodType< RenewDomainRequestBody$Outbound, z.ZodTypeDef, RenewDomainRequestBody -> = z.object({ - years: z.number(), - expectedPrice: z.number(), - contactInformation: z.lazy(() => RenewDomainContactInformation$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => + RenewDomainContactInformation$outboundSchema + ).optional(), + }) +); export function renewDomainRequestBodyToJSON( renewDomainRequestBody: RenewDomainRequestBody, @@ -236,15 +241,17 @@ export const RenewDomainRequest$outboundSchema: z.ZodType< RenewDomainRequest$Outbound, z.ZodTypeDef, RenewDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - requestBody: z.lazy(() => RenewDomainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => RenewDomainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function renewDomainRequestToJSON( renewDomainRequest: RenewDomainRequest, @@ -260,12 +267,14 @@ export const RenewDomainDomainsRegistrarResponseResponseBody$inboundSchema: RenewDomainDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function renewDomainDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -288,15 +297,17 @@ export const RenewDomainDomainsRegistrarResponseBody$inboundSchema: z.ZodType< RenewDomainDomainsRegistrarResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - BadRequest$inboundSchema, - DomainTooShort$inboundSchema, - DomainNotRegistered$inboundSchema, - ExpectedPriceMismatch$inboundSchema, - DomainNotAvailable$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + BadRequest$inboundSchema, + DomainTooShort$inboundSchema, + DomainNotRegistered$inboundSchema, + ExpectedPriceMismatch$inboundSchema, + DomainNotAvailable$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) +); export function renewDomainDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -317,17 +328,19 @@ export function renewDomainDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const RenewDomainMethod$inboundSchema: z.ZodNativeEnum< typeof RenewDomainMethod -> = z.nativeEnum(RenewDomainMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RenewDomainMethod)); /** @internal */ export const RenewDomainLinks$inboundSchema: z.ZodType< RenewDomainLinks, z.ZodTypeDef, unknown -> = z.object({ - href: types.string(), - method: RenewDomainMethod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.string(), + method: RenewDomainMethod$inboundSchema, + }) +); export function renewDomainLinksFromJSON( jsonString: string, @@ -344,14 +357,16 @@ export const RenewDomainResponseBody$inboundSchema: z.ZodType< RenewDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - orderId: types.string(), - _links: z.record(z.lazy(() => RenewDomainLinks$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: types.string(), + _links: z.record(z.lazy(() => RenewDomainLinks$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "_links": "links", + }); + }) +); export function renewDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts b/src/models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts index 42055ecd46..370151a268 100644 --- a/src/models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts +++ b/src/models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest = { @@ -44,13 +49,47 @@ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidReq ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$Outbound, z.ZodTypeDef, ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - uuid: z.string(), - digest: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + uuid: z.string().refine(withinMaxLength$(40), { + message: "Value must be at most 40 characters long", + }).refine(matchesPattern$("^[a-f0-9]{40}$", 40), { + message: "Value must match pattern ^[a-f0-9]{40}$", + }), + digest: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine(matchesPattern$("^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", 255), { + message: "Value must match pattern ^[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+$", + }), + }) + ); export function replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequestToJSON( replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: diff --git a/src/models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts b/src/models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts index dbe1f18db0..6e99dba084 100644 --- a/src/models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts +++ b/src/models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest = { @@ -39,12 +44,49 @@ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceR ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest$Outbound, z.ZodTypeDef, ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - reference: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + reference: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$( + "^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + 255, + ), + { + message: + "Value must match pattern ^(?:[a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}|[A-Za-z0-9_+.-]+:[A-Fa-f0-9]+)$", + }, + ), + }) + ); export function replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequestToJSON( replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: diff --git a/src/models/replaceconnectortriggerdestinationsop.ts b/src/models/replaceconnectortriggerdestinationsop.ts index e235a5e149..a2f43fc777 100644 --- a/src/models/replaceconnectortriggerdestinationsop.ts +++ b/src/models/replaceconnectortriggerdestinationsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ConnectReplaceTriggerDestinationsRequest, ConnectReplaceTriggerDestinationsRequest$Outbound, @@ -42,18 +43,20 @@ export const ReplaceConnectorTriggerDestinationsRequest$outboundSchema: ReplaceConnectorTriggerDestinationsRequest$Outbound, z.ZodTypeDef, ReplaceConnectorTriggerDestinationsRequest - > = z.object({ - connector: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - connectReplaceTriggerDestinationsRequest: - ConnectReplaceTriggerDestinationsRequest$outboundSchema, - }).transform((v) => { - return remap$(v, { + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), connectReplaceTriggerDestinationsRequest: - "ConnectReplaceTriggerDestinationsRequest", - }); - }); + ConnectReplaceTriggerDestinationsRequest$outboundSchema, + }).transform((v) => { + return remap$(v, { + connectReplaceTriggerDestinationsRequest: + "ConnectReplaceTriggerDestinationsRequest", + }); + }) + ); export function replaceConnectorTriggerDestinationsRequestToJSON( replaceConnectorTriggerDestinationsRequest: diff --git a/src/models/replacedomainsbydomainrecordsop.ts b/src/models/replacedomainsbydomainrecordsop.ts index dea04866da..324a8d12a7 100644 --- a/src/models/replacedomainsbydomainrecordsop.ts +++ b/src/models/replacedomainsbydomainrecordsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -39,11 +39,13 @@ export const ReplaceDomainsByDomainRecordsRequest$outboundSchema: z.ZodType< ReplaceDomainsByDomainRecordsRequest$Outbound, z.ZodTypeDef, ReplaceDomainsByDomainRecordsRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function replaceDomainsByDomainRecordsRequestToJSON( replaceDomainsByDomainRecordsRequest: ReplaceDomainsByDomainRecordsRequest, @@ -60,9 +62,11 @@ export const ReplaceDomainsByDomainRecordsResponseBody$inboundSchema: z.ZodType< ReplaceDomainsByDomainRecordsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - recordIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + recordIds: z.array(types.string()), + }) +); export function replaceDomainsByDomainRecordsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts b/src/models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts index 81d494c526..780ffb1990 100644 --- a/src/models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts +++ b/src/models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -63,9 +63,11 @@ export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResource ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBody$Outbound, z.ZodTypeDef, ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBody - > = z.object({ - data: z.record(z.any()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.record(z.any()), + }) + ); export function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBodyToJSON( replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBody: @@ -95,17 +97,19 @@ export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResource ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest$Outbound, z.ZodTypeDef, ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => - ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequestToJSON( replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest: @@ -123,8 +127,10 @@ export function replaceInstallationsByIntegrationConfigurationIdResourcesByResou export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema: z.ZodNativeEnum< typeof ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose - > = z.nativeEnum( - ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose, + ) ); /** @internal */ @@ -133,14 +139,16 @@ export const ReplaceInstallationsByIntegrationConfigurationIdResourcesByResource ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, z.ZodTypeDef, unknown - > = z.object({ - digest: types.string(), - items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), - purpose: types.optional( - ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema, - ), - updatedAt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + items: z.record(types.nullable(GlobalConfigItemValue$inboundSchema)), + purpose: types.optional( + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigPurpose$inboundSchema, + ), + updatedAt: types.number(), + }) + ); export function replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/requestaccesstoteamop.ts b/src/models/requestaccesstoteamop.ts index c50bef7049..4d4d60af06 100644 --- a/src/models/requestaccesstoteamop.ts +++ b/src/models/requestaccesstoteamop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -122,6 +122,10 @@ export type RequestAccessToTeamTeamsJoinedFrom = { repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; @@ -142,7 +146,7 @@ export type RequestAccessToTeamResponseBody = { /** @internal */ export const RequestAccessToTeamOrigin$outboundSchema: z.ZodNativeEnum< typeof RequestAccessToTeamOrigin -> = z.nativeEnum(RequestAccessToTeamOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestAccessToTeamOrigin)); /** @internal */ export type RequestAccessToTeamGitUserId$Outbound = string | number; @@ -152,7 +156,7 @@ export const RequestAccessToTeamGitUserId$outboundSchema: z.ZodType< RequestAccessToTeamGitUserId$Outbound, z.ZodTypeDef, RequestAccessToTeamGitUserId -> = smartUnion([z.string(), z.number()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.string(), z.number()])); export function requestAccessToTeamGitUserIdToJSON( requestAccessToTeamGitUserId: RequestAccessToTeamGitUserId, @@ -179,14 +183,16 @@ export const RequestAccessToTeamJoinedFrom$outboundSchema: z.ZodType< RequestAccessToTeamJoinedFrom$Outbound, z.ZodTypeDef, RequestAccessToTeamJoinedFrom -> = z.object({ - origin: RequestAccessToTeamOrigin$outboundSchema, - commitId: z.string().optional(), - repoId: z.string().optional(), - repoPath: z.string().optional(), - gitUserId: smartUnion([z.string(), z.number()]).optional(), - gitUserLogin: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: RequestAccessToTeamOrigin$outboundSchema, + commitId: z.string().optional(), + repoId: z.string().optional(), + repoPath: z.string().optional(), + gitUserId: smartUnion([z.string(), z.number()]).optional(), + gitUserLogin: z.string().optional(), + }) +); export function requestAccessToTeamJoinedFromToJSON( requestAccessToTeamJoinedFrom: RequestAccessToTeamJoinedFrom, @@ -208,9 +214,11 @@ export const RequestAccessToTeamRequestBody$outboundSchema: z.ZodType< RequestAccessToTeamRequestBody$Outbound, z.ZodTypeDef, RequestAccessToTeamRequestBody -> = z.object({ - joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$outboundSchema), + }) +); export function requestAccessToTeamRequestBodyToJSON( requestAccessToTeamRequestBody: RequestAccessToTeamRequestBody, @@ -233,14 +241,16 @@ export const RequestAccessToTeamRequest$outboundSchema: z.ZodType< RequestAccessToTeamRequest$Outbound, z.ZodTypeDef, RequestAccessToTeamRequest -> = z.object({ - teamId: z.string(), - requestBody: z.lazy(() => RequestAccessToTeamRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string(), + requestBody: z.lazy(() => RequestAccessToTeamRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function requestAccessToTeamRequestToJSON( requestAccessToTeamRequest: RequestAccessToTeamRequest, @@ -255,9 +265,11 @@ export const Bitbucket$inboundSchema: z.ZodType< Bitbucket, z.ZodTypeDef, unknown -> = z.object({ - login: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) +); export function bitbucketFromJSON( jsonString: string, @@ -270,10 +282,12 @@ export function bitbucketFromJSON( } /** @internal */ -export const Github$inboundSchema: z.ZodType = z - .object({ - login: types.optional(types.string()), - }); +export const Github$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) + ); export function githubFromJSON( jsonString: string, @@ -286,10 +300,12 @@ export function githubFromJSON( } /** @internal */ -export const Gitlab$inboundSchema: z.ZodType = z - .object({ - login: types.optional(types.string()), - }); +export const Gitlab$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.optional(types.string()), + }) + ); export function gitlabFromJSON( jsonString: string, @@ -306,7 +322,9 @@ export const RequestAccessToTeamTeamsGitUserId$inboundSchema: z.ZodType< RequestAccessToTeamTeamsGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function requestAccessToTeamTeamsGitUserIdFromJSON( jsonString: string, @@ -321,26 +339,31 @@ export function requestAccessToTeamTeamsGitUserIdFromJSON( /** @internal */ export const RequestAccessToTeamTeamsOrigin$inboundSchema: z.ZodNativeEnum< typeof RequestAccessToTeamTeamsOrigin -> = z.nativeEnum(RequestAccessToTeamTeamsOrigin); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RequestAccessToTeamTeamsOrigin) +); /** @internal */ export const RequestAccessToTeamTeamsJoinedFrom$inboundSchema: z.ZodType< RequestAccessToTeamTeamsJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: RequestAccessToTeamTeamsOrigin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: RequestAccessToTeamTeamsOrigin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function requestAccessToTeamTeamsJoinedFromFromJSON( jsonString: string, @@ -358,18 +381,20 @@ export const RequestAccessToTeamResponseBody$inboundSchema: z.ZodType< RequestAccessToTeamResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessRequestedAt: types.optional(types.number()), - bitbucket: types.nullable(z.lazy(() => Bitbucket$inboundSchema)), - confirmed: types.boolean(), - github: types.nullable(z.lazy(() => Github$inboundSchema)), - gitlab: types.nullable(z.lazy(() => Gitlab$inboundSchema)), - joinedFrom: types.optional( - z.lazy(() => RequestAccessToTeamTeamsJoinedFrom$inboundSchema), - ), - teamName: types.string(), - teamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessRequestedAt: types.optional(types.number()), + bitbucket: types.nullable(z.lazy(() => Bitbucket$inboundSchema)), + confirmed: types.boolean(), + github: types.nullable(z.lazy(() => Github$inboundSchema)), + gitlab: types.nullable(z.lazy(() => Gitlab$inboundSchema)), + joinedFrom: types.optional( + z.lazy(() => RequestAccessToTeamTeamsJoinedFrom$inboundSchema), + ), + teamName: types.string(), + teamSlug: types.string(), + }) +); export function requestAccessToTeamResponseBodyFromJSON( jsonString: string, diff --git a/src/models/requestdeleteop.ts b/src/models/requestdeleteop.ts index 54847548d9..cc3d4bcc00 100644 --- a/src/models/requestdeleteop.ts +++ b/src/models/requestdeleteop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -58,10 +58,12 @@ export const RequestDeleteReasons$outboundSchema: z.ZodType< RequestDeleteReasons$Outbound, z.ZodTypeDef, RequestDeleteReasons -> = z.object({ - slug: z.string(), - description: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + description: z.string(), + }) +); export function requestDeleteReasonsToJSON( requestDeleteReasons: RequestDeleteReasons, @@ -81,10 +83,12 @@ export const RequestDeleteRequestBody$outboundSchema: z.ZodType< RequestDeleteRequestBody$Outbound, z.ZodTypeDef, RequestDeleteRequestBody -> = z.object({ - reasons: z.array(z.lazy(() => RequestDeleteReasons$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reasons: z.array(z.lazy(() => RequestDeleteReasons$outboundSchema)) + .optional(), + }) +); export function requestDeleteRequestBodyToJSON( requestDeleteRequestBody: RequestDeleteRequestBody, @@ -99,11 +103,13 @@ export const RequestDeleteResponseBody$inboundSchema: z.ZodType< RequestDeleteResponseBody, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - id: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + id: types.string(), + message: types.string(), + }) +); export function requestDeleteResponseBodyFromJSON( jsonString: string, diff --git a/src/models/requestpromoteop.ts b/src/models/requestpromoteop.ts index df3c9b2be5..8d3d24c2b1 100644 --- a/src/models/requestpromoteop.ts +++ b/src/models/requestpromoteop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type RequestPromoteRequest = { projectId: string; @@ -30,12 +31,14 @@ export const RequestPromoteRequest$outboundSchema: z.ZodType< RequestPromoteRequest$Outbound, z.ZodTypeDef, RequestPromoteRequest -> = z.object({ - projectId: z.string(), - deploymentId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + deploymentId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function requestPromoteRequestToJSON( requestPromoteRequest: RequestPromoteRequest, diff --git a/src/models/requestrollbackop.ts b/src/models/requestrollbackop.ts index 6cc04bf3e7..7a2c06bad9 100644 --- a/src/models/requestrollbackop.ts +++ b/src/models/requestrollbackop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type RequestRollbackRequest = { projectId: string; @@ -38,13 +39,15 @@ export const RequestRollbackRequest$outboundSchema: z.ZodType< RequestRollbackRequest$Outbound, z.ZodTypeDef, RequestRollbackRequest -> = z.object({ - projectId: z.string(), - deploymentId: z.string(), - description: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + deploymentId: z.string(), + description: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function requestRollbackRequestToJSON( requestRollbackRequest: RequestRollbackRequest, diff --git a/src/models/rerequestcheckop.ts b/src/models/rerequestcheckop.ts index 42c422cfad..b155e26666 100644 --- a/src/models/rerequestcheckop.ts +++ b/src/models/rerequestcheckop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,13 +46,15 @@ export const RerequestCheckRequest$outboundSchema: z.ZodType< RerequestCheckRequest$Outbound, z.ZodTypeDef, RerequestCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - autoUpdate: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + checkId: z.string(), + autoUpdate: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function rerequestCheckRequestToJSON( rerequestCheckRequest: RerequestCheckRequest, @@ -67,7 +69,7 @@ export const RerequestCheckResponseBody$inboundSchema: z.ZodType< RerequestCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function rerequestCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/responsebodylastrollbacktarget.ts b/src/models/responsebodylastrollbacktarget.ts index 747976bb2c..134394b7eb 100644 --- a/src/models/responsebodylastrollbacktarget.ts +++ b/src/models/responsebodylastrollbacktarget.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1596,22 +1596,24 @@ export type ResponseBodyLastRollbackTarget = {}; /** @internal */ export const GitForkProtection$outboundSchema: z.ZodNativeEnum< typeof GitForkProtection -> = z.nativeEnum(GitForkProtection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitForkProtection)); /** @internal */ export const ElasticConcurrencyEnabled$outboundSchema: z.ZodNativeEnum< typeof ElasticConcurrencyEnabled -> = z.nativeEnum(ElasticConcurrencyEnabled); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ElasticConcurrencyEnabled)); /** @internal */ export const StaticIpsEnabled$outboundSchema: z.ZodNativeEnum< typeof StaticIpsEnabled -> = z.nativeEnum(StaticIpsEnabled); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StaticIpsEnabled)); /** @internal */ export const QueryParamBuildQueueConfiguration$outboundSchema: z.ZodNativeEnum< typeof QueryParamBuildQueueConfiguration -> = z.nativeEnum(QueryParamBuildQueueConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(QueryParamBuildQueueConfiguration) +); /** @internal */ export type GetProjectsRequest$Outbound = { @@ -1641,29 +1643,31 @@ export const GetProjectsRequest$outboundSchema: z.ZodType< GetProjectsRequest$Outbound, z.ZodTypeDef, GetProjectsRequest -> = z.object({ - from: z.string().optional(), - since: z.number().optional(), - until: z.number().optional(), - gitForkProtection: GitForkProtection$outboundSchema.optional(), - limit: z.string().optional(), - search: z.string().optional(), - repo: z.string().optional(), - repoId: z.string().optional(), - repoUrl: z.string().optional(), - excludeRepos: z.string().optional(), - edgeConfigId: z.string().optional(), - edgeConfigTokenId: z.string().optional(), - deprecated: z.boolean().optional(), - elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema - .optional(), - staticIpsEnabled: StaticIpsEnabled$outboundSchema.optional(), - buildMachineTypes: z.string().optional(), - buildQueueConfiguration: QueryParamBuildQueueConfiguration$outboundSchema - .optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: z.string().optional(), + since: z.number().optional(), + until: z.number().optional(), + gitForkProtection: GitForkProtection$outboundSchema.optional(), + limit: z.string().optional(), + search: z.string().optional(), + repo: z.string().optional(), + repoId: z.string().optional(), + repoUrl: z.string().optional(), + excludeRepos: z.string().optional(), + edgeConfigId: z.string().optional(), + edgeConfigTokenId: z.string().optional(), + deprecated: z.boolean().optional(), + elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema + .optional(), + staticIpsEnabled: StaticIpsEnabled$outboundSchema.optional(), + buildMachineTypes: z.string().optional(), + buildQueueConfiguration: QueryParamBuildQueueConfiguration$outboundSchema + .optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function getProjectsRequestToJSON( getProjectsRequest: GetProjectsRequest, @@ -1678,10 +1682,12 @@ export const GetProjectsPagination1$inboundSchema: z.ZodType< GetProjectsPagination1, z.ZodTypeDef, unknown -> = z.object({ - count: types.number(), - next: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: types.number(), + next: types.nullable(types.string()), + }) +); export function getProjectsPagination1FromJSON( jsonString: string, @@ -1698,10 +1704,12 @@ export const GetProjectsResponseBodyProjectsPagination$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsPagination, z.ZodTypeDef, unknown -> = smartUnion([ - Pagination$inboundSchema, - z.lazy(() => GetProjectsPagination1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + Pagination$inboundSchema, + z.lazy(() => GetProjectsPagination1$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsPaginationFromJSON( jsonString: string, @@ -1721,8 +1729,10 @@ export function getProjectsResponseBodyProjectsPaginationFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsConfiguredBy$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsConfiguredBy); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsConfiguredBy) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasAssigned$inboundSchema: @@ -1730,7 +1740,9 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasAssignedFromJSON( jsonString: string, @@ -1753,10 +1765,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasAliasErrorFromJSON( jsonString: string, @@ -1777,8 +1791,10 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType, + ) ); /** @internal */ @@ -1787,11 +1803,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasDeploymentType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasBranchMatcherFromJSON( jsonString: string, @@ -1814,11 +1832,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasBuilds, z.ZodTypeDef, unknown - > = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasBuildsFromJSON( jsonString: string, @@ -1839,16 +1859,20 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState, + ) ); /** @internal */ @@ -1857,13 +1881,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasCreatorFromJSON( jsonString: string, @@ -1886,29 +1912,31 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsA GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3ProjectsAliasOidcTokenClaimsFromJSON( jsonString: string, @@ -1929,32 +1957,40 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Projec export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType, + ) ); /** @internal */ @@ -1962,74 +1998,66 @@ export const GetProjectsResponseBodyProjectsDeployment$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasAliasError$inboundSchema - ), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => + )).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasBranchMatcher$inboundSchema - ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasBuilds$inboundSchema )), - ), - checksConclusion: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion$inboundSchema, - ), - checksState: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasCreator$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasBuilds$inboundSchema + ))), + checksConclusion: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksConclusion$inboundSchema, ), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + checksState: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasOidcTokenClaims$inboundSchema + )), + plan: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState$inboundSchema, + readySubstate: types.optional( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate$inboundSchema, ), - ), - plan: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadyState$inboundSchema, - readySubstate: types.optional( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsAliasType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function getProjectsResponseBodyProjectsDeploymentFromJSON( jsonString: string, @@ -2049,15 +2077,19 @@ export function getProjectsResponseBodyProjectsDeploymentFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsEnvironment$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsEnvironment); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsEnvironment) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget, + ) ); /** @internal */ @@ -2065,23 +2097,25 @@ export const GetProjectsResponseBodyProjectsAlias$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable( - GetProjectsResponseBodyProjectsConfiguredBy$inboundSchema, - ).optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => GetProjectsResponseBodyProjectsDeployment$inboundSchema), - ), - domain: types.string(), - environment: GetProjectsResponseBodyProjectsEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: - GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable( + GetProjectsResponseBodyProjectsConfiguredBy$inboundSchema, + ).optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => GetProjectsResponseBodyProjectsDeployment$inboundSchema), + ), + domain: types.string(), + environment: GetProjectsResponseBodyProjectsEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: + GetProjectsResponseBodyProjectsResponse200ApplicationJSONTarget$inboundSchema, + }) +); export function getProjectsResponseBodyProjectsAliasFromJSON( jsonString: string, @@ -2099,15 +2133,17 @@ export const GetProjectsResponseBodyProjectsAnalytics$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function getProjectsResponseBodyProjectsAnalyticsFromJSON( jsonString: string, @@ -2130,9 +2166,11 @@ export const ResponseBodyBlobs$inboundSchema: z.ZodType< ResponseBodyBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function responseBodyBlobsFromJSON( jsonString: string, @@ -2149,10 +2187,12 @@ export const ResponseBodyAws$inboundSchema: z.ZodType< ResponseBodyAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function responseBodyAwsFromJSON( jsonString: string, @@ -2167,14 +2207,16 @@ export function responseBodyAwsFromJSON( /** @internal */ export const GetProjectsEnvId2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsEnvId2 -> = z.nativeEnum(GetProjectsEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsEnvId2)); /** @internal */ export const ResponseBodyEnvId$inboundSchema: z.ZodType< ResponseBodyEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), GetProjectsEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), GetProjectsEnvId2$inboundSchema]) +); export function responseBodyEnvIdFromJSON( jsonString: string, @@ -2191,16 +2233,18 @@ export const ResponseBodyConnectConfigurations$inboundSchema: z.ZodType< ResponseBodyConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => ResponseBodyAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), GetProjectsEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => ResponseBodyAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), GetProjectsEnvId2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function responseBodyConnectConfigurationsFromJSON( jsonString: string, @@ -2217,9 +2261,11 @@ export const GetProjectsCreatorProjectsResponse5$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponse5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function getProjectsCreatorProjectsResponse5FromJSON( jsonString: string, @@ -2238,10 +2284,12 @@ export const GetProjectsCreatorProjectsResponseIntegration$inboundSchema: GetProjectsCreatorProjectsResponseIntegration, z.ZodTypeDef, unknown - > = z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function getProjectsCreatorProjectsResponseIntegrationFromJSON( jsonString: string, @@ -2264,12 +2312,14 @@ export const GetProjectsCreatorProjectsResponse4$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponse4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetProjectsCreatorProjectsResponseIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetProjectsCreatorProjectsResponseIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getProjectsCreatorProjectsResponse4FromJSON( jsonString: string, @@ -2287,10 +2337,12 @@ export const GetProjectsCreatorProjectsResponseApp$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponseApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsCreatorProjectsResponseAppFromJSON( jsonString: string, @@ -2308,10 +2360,12 @@ export const GetProjectsCreatorProjectsResponse3$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponse3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsCreatorProjectsResponseApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsCreatorProjectsResponseApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsCreatorProjectsResponse3FromJSON( jsonString: string, @@ -2329,9 +2383,11 @@ export const GetProjectsCreatorProjectsResponseProject$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponseProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorProjectsResponseProjectFromJSON( jsonString: string, @@ -2354,12 +2410,14 @@ export const GetProjectsCreatorProjectsResponse2$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => - GetProjectsCreatorProjectsResponseProject$inboundSchema - ), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => + GetProjectsCreatorProjectsResponseProject$inboundSchema + ), + type: types.literal("project"), + }) +); export function getProjectsCreatorProjectsResponse2FromJSON( jsonString: string, @@ -2377,10 +2435,12 @@ export const GetProjectsViaProjectsResponseIntegration$inboundSchema: z.ZodType< GetProjectsViaProjectsResponseIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function getProjectsViaProjectsResponseIntegrationFromJSON( jsonString: string, @@ -2403,12 +2463,14 @@ export const GetProjectsViaProjectsResponse2$inboundSchema: z.ZodType< GetProjectsViaProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - GetProjectsViaProjectsResponseIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + GetProjectsViaProjectsResponseIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function getProjectsViaProjectsResponse2FromJSON( jsonString: string, @@ -2425,10 +2487,12 @@ export const GetProjectsViaProjectsResponseApp$inboundSchema: z.ZodType< GetProjectsViaProjectsResponseApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function getProjectsViaProjectsResponseAppFromJSON( jsonString: string, @@ -2445,10 +2509,12 @@ export const GetProjectsViaProjectsResponse1$inboundSchema: z.ZodType< GetProjectsViaProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => GetProjectsViaProjectsResponseApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => GetProjectsViaProjectsResponseApp$inboundSchema), + type: types.literal("app"), + }) +); export function getProjectsViaProjectsResponse1FromJSON( jsonString: string, @@ -2465,10 +2531,12 @@ export const GetProjectsCreatorProjectsResponseVia$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponseVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsViaProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsViaProjectsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsViaProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsViaProjectsResponse2$inboundSchema), + ]) +); export function getProjectsCreatorProjectsResponseViaFromJSON( jsonString: string, @@ -2486,9 +2554,11 @@ export const GetProjectsCreatorProjectsResponseUser$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponseUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function getProjectsCreatorProjectsResponseUserFromJSON( jsonString: string, @@ -2506,16 +2576,18 @@ export const GetProjectsCreatorProjectsResponse1$inboundSchema: z.ZodType< GetProjectsCreatorProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => GetProjectsViaProjectsResponse1$inboundSchema), z.lazy(() => GetProjectsViaProjectsResponse2$inboundSchema), - ]), - ), - user: z.lazy(() => GetProjectsCreatorProjectsResponseUser$inboundSchema), -}); + ])), + user: z.lazy(() => + GetProjectsCreatorProjectsResponseUser$inboundSchema + ), + }) +); export function getProjectsCreatorProjectsResponse1FromJSON( jsonString: string, @@ -2534,13 +2606,15 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONCreator$in GetProjectsResponseBodyProjectsResponse200ApplicationJSONCreator, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectsCreatorProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsCreatorProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectsCreatorProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectsCreatorProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectsCreatorProjectsResponse5$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsCreatorProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsCreatorProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectsCreatorProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectsCreatorProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectsCreatorProjectsResponse5$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONCreatorFromJSON( jsonString: string, @@ -2560,21 +2634,25 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSONCreator /** @internal */ export const GetProjectsResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodySource -> = z.nativeEnum(GetProjectsResponseBodySource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodySource) +); /** @internal */ export const ResponseBodyDefinitions$inboundSchema: z.ZodType< ResponseBodyDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(GetProjectsResponseBodySource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(GetProjectsResponseBodySource$inboundSchema), + }) +); export function responseBodyDefinitionsFromJSON( jsonString: string, @@ -2591,13 +2669,15 @@ export const GetProjectsResponseBodyCrons$inboundSchema: z.ZodType< GetProjectsResponseBodyCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array(z.lazy(() => ResponseBodyDefinitions$inboundSchema)), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array(z.lazy(() => ResponseBodyDefinitions$inboundSchema)), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function getProjectsResponseBodyCronsFromJSON( jsonString: string, @@ -2613,8 +2693,10 @@ export function getProjectsResponseBodyCronsFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType, + ) ); /** @internal */ @@ -2623,11 +2705,13 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJSONBranchMatc GetProjectsResponseBodyProjectsResponse200ApplicationJSONBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsCustomEnvironmentsType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSONBranchMatcherFromJSON( jsonString: string, @@ -2649,12 +2733,14 @@ export const GetProjectsResponseBodyVerification$inboundSchema: z.ZodType< GetProjectsResponseBodyVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function getProjectsResponseBodyVerificationFromJSON( jsonString: string, @@ -2672,21 +2758,23 @@ export const GetProjectsResponseBodyDomains$inboundSchema: z.ZodType< GetProjectsResponseBodyDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => GetProjectsResponseBodyVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function getProjectsResponseBodyDomainsFromJSON( jsonString: string, @@ -2702,8 +2790,8 @@ export function getProjectsResponseBodyDomainsFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type) ); /** @internal */ @@ -2711,24 +2799,24 @@ export const ResponseBodyCustomEnvironments$inboundSchema: z.ZodType< ResponseBodyCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsResponse200ApplicationJSONBranchMatcher$inboundSchema - ), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => GetProjectsResponseBodyDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, - updatedAt: types.number(), -}); + )), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional(z.array(z.lazy(() => + GetProjectsResponseBodyDomains$inboundSchema + ))), + id: types.string(), + slug: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, + updatedAt: types.number(), + }) +); export function responseBodyCustomEnvironmentsFromJSON( jsonString: string, @@ -2745,11 +2833,13 @@ export const ResponseBodyDataCache$inboundSchema: z.ZodType< ResponseBodyDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function responseBodyDataCacheFromJSON( jsonString: string, @@ -2765,12 +2855,16 @@ export function responseBodyDataCacheFromJSON( export const GetProjectsResponseBodyProjectsBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsBuildMachineElasticReason - > = z.nativeEnum(GetProjectsResponseBodyProjectsBuildMachineElasticReason); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsBuildMachineElasticReason) + ); /** @internal */ export const GetProjectsResponseBodyProjectsDirection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsDirection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsDirection) + ); /** @internal */ export const GetProjectsResponseBodyProjectsBuildMachineElasticTransition$inboundSchema: @@ -2778,11 +2872,13 @@ export const GetProjectsResponseBodyProjectsBuildMachineElasticTransition$inboun GetProjectsResponseBodyProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: GetProjectsResponseBodyProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: GetProjectsResponseBodyProjectsDirection$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2802,28 +2898,36 @@ export function getProjectsResponseBodyProjectsBuildMachineElasticTransitionFrom /** @internal */ export const GetProjectsResponseBodyProjectsBuildMachineSelection$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectsResponseBodyProjectsBuildMachineSelection); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsBuildMachineSelection) + ); /** @internal */ export const GetProjectsResponseBodyProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsBuildMachineType) + ); /** @internal */ export const GetProjectsResponseBodyProjectsResponseConfiguration$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(GetProjectsResponseBodyProjectsResponseConfiguration); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsResponseConfiguration) + ); /** @internal */ export const GetProjectsResponseBodyProjectsBuildQueue$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - GetProjectsResponseBodyProjectsResponseConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + GetProjectsResponseBodyProjectsResponseConfiguration$inboundSchema, + ), + }) +); export function getProjectsResponseBodyProjectsBuildQueueFromJSON( jsonString: string, @@ -2845,7 +2949,9 @@ export function getProjectsResponseBodyProjectsBuildQueueFromJSON( export const GetProjectsResponseBodyProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsFunctionDefaultMemoryType - > = z.nativeEnum(GetProjectsResponseBodyProjectsFunctionDefaultMemoryType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const GetProjectsElasticBuildMachineProjectsResponse4$inboundSchema: @@ -2853,11 +2959,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse4$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse4FromJSON( jsonString: string, @@ -2881,11 +2989,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse3$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse3FromJSON( jsonString: string, @@ -2909,11 +3019,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse2$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse2FromJSON( jsonString: string, @@ -2937,11 +3049,13 @@ export const GetProjectsElasticBuildMachineProjectsResponse1$inboundSchema: GetProjectsElasticBuildMachineProjectsResponse1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function getProjectsElasticBuildMachineProjectsResponse1FromJSON( jsonString: string, @@ -2965,12 +3079,22 @@ export const GetProjectsResponseBodyProjectsElasticBuildMachine$inboundSchema: GetProjectsResponseBodyProjectsElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse4$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse1$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse2$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse3$inboundSchema + ), + z.lazy(() => + GetProjectsElasticBuildMachineProjectsResponse4$inboundSchema + ), + ]) + ); export function getProjectsResponseBodyProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -2993,37 +3117,35 @@ export const ResponseBodyDefaultResourceConfig$inboundSchema: z.ZodType< ResponseBodyDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - GetProjectsResponseBodyProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + GetProjectsResponseBodyProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + GetProjectsResponseBodyProjectsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - GetProjectsResponseBodyProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - GetProjectsResponseBodyProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => GetProjectsResponseBodyProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - GetProjectsResponseBodyProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + GetProjectsResponseBodyProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + GetProjectsResponseBodyProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + GetProjectsResponseBodyProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse1$inboundSchema ), @@ -3036,9 +3158,9 @@ export const ResponseBodyDefaultResourceConfig$inboundSchema: z.ZodType< z.lazy(() => GetProjectsElasticBuildMachineProjectsResponse4$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function responseBodyDefaultResourceConfigFromJSON( jsonString: string, @@ -3056,13 +3178,15 @@ export const GetProjectsResponseBodyProjectsDeploymentExpiration$inboundSchema: GetProjectsResponseBodyProjectsDeploymentExpiration, z.ZodTypeDef, unknown - > = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) + ); export function getProjectsResponseBodyProjectsDeploymentExpirationFromJSON( jsonString: string, @@ -3085,10 +3209,12 @@ export const GetProjectsEnvironments2$inboundSchema: z.ZodType< GetProjectsEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function getProjectsEnvironments2FromJSON( jsonString: string, @@ -3103,17 +3229,21 @@ export function getProjectsEnvironments2FromJSON( /** @internal */ export const GetProjectsEnvironmentsTarget$inboundSchema: z.ZodNativeEnum< typeof GetProjectsEnvironmentsTarget -> = z.nativeEnum(GetProjectsEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsEnvironmentsTarget) +); /** @internal */ export const GetProjectsEnvironments1$inboundSchema: z.ZodType< GetProjectsEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: GetProjectsEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetProjectsEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function getProjectsEnvironments1FromJSON( jsonString: string, @@ -3130,10 +3260,12 @@ export const ResponseBodyEnvironments$inboundSchema: z.ZodType< ResponseBodyEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsEnvironments1$inboundSchema), - z.lazy(() => GetProjectsEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsEnvironments1$inboundSchema), + z.lazy(() => GetProjectsEnvironments2$inboundSchema), + ]) +); export function responseBodyEnvironmentsFromJSON( jsonString: string, @@ -3148,23 +3280,23 @@ export function responseBodyEnvironmentsFromJSON( /** @internal */ export const ResponseBodySources$inboundSchema: z.ZodNativeEnum< typeof ResponseBodySources -> = z.nativeEnum(ResponseBodySources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodySources)); /** @internal */ export const ResponseBodyDeploymentSources$inboundSchema: z.ZodType< ResponseBodyDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetProjectsEnvironments1$inboundSchema), z.lazy(() => GetProjectsEnvironments2$inboundSchema), - ]), - ), - sources: z.array(ResponseBodySources$inboundSchema), -}); + ])), + sources: z.array(ResponseBodySources$inboundSchema), + }) +); export function responseBodyDeploymentSourcesFromJSON( jsonString: string, @@ -3181,10 +3313,12 @@ export const GetProjectsEnvironmentsProjects2$inboundSchema: z.ZodType< GetProjectsEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function getProjectsEnvironmentsProjects2FromJSON( jsonString: string, @@ -3198,19 +3332,22 @@ export function getProjectsEnvironmentsProjects2FromJSON( /** @internal */ export const GetProjectsEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - GetProjectsEnvironmentsProjectsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsEnvironmentsProjectsTarget) + ); /** @internal */ export const GetProjectsEnvironmentsProjects1$inboundSchema: z.ZodType< GetProjectsEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: GetProjectsEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: GetProjectsEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function getProjectsEnvironmentsProjects1FromJSON( jsonString: string, @@ -3227,10 +3364,12 @@ export const GetProjectsResponseBodyEnvironments$inboundSchema: z.ZodType< GetProjectsResponseBodyEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsEnvironmentsProjects1$inboundSchema), - z.lazy(() => GetProjectsEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsEnvironmentsProjects1$inboundSchema), + z.lazy(() => GetProjectsEnvironmentsProjects2$inboundSchema), + ]) +); export function getProjectsResponseBodyEnvironmentsFromJSON( jsonString: string, @@ -3248,11 +3387,13 @@ export const GetProjectsSources2$inboundSchema: z.ZodType< GetProjectsSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function getProjectsSources2FromJSON( jsonString: string, @@ -3267,18 +3408,20 @@ export function getProjectsSources2FromJSON( /** @internal */ export const GetProjectsSourcesProvider$inboundSchema: z.ZodNativeEnum< typeof GetProjectsSourcesProvider -> = z.nativeEnum(GetProjectsSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GetProjectsSourcesProvider)); /** @internal */ export const GetProjectsSources1$inboundSchema: z.ZodType< GetProjectsSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: GetProjectsSourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: GetProjectsSourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function getProjectsSources1FromJSON( jsonString: string, @@ -3295,15 +3438,17 @@ export const GetProjectsResponseBodySources$inboundSchema: z.ZodType< GetProjectsResponseBodySources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => GetProjectsSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => GetProjectsSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => GetProjectsSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => GetProjectsSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => GetProjectsSources2$inboundSchema), + ]) +); export function getProjectsResponseBodySourcesFromJSON( jsonString: string, @@ -3320,16 +3465,14 @@ export const ResponseBodyGitSources$inboundSchema: z.ZodType< ResponseBodyGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => GetProjectsEnvironmentsProjects1$inboundSchema), z.lazy(() => GetProjectsEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => GetProjectsSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3337,9 +3480,9 @@ export const ResponseBodyGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => GetProjectsSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function responseBodyGitSourcesFromJSON( jsonString: string, @@ -3356,14 +3499,16 @@ export const ResponseBodyDeploymentPolicy$inboundSchema: z.ZodType< ResponseBodyDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => ResponseBodyDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => ResponseBodyGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => ResponseBodyDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => ResponseBodyGitSources$inboundSchema)), + ).optional(), + }) +); export function responseBodyDeploymentPolicyFromJSON( jsonString: string, @@ -3378,14 +3523,18 @@ export function responseBodyDeploymentPolicyFromJSON( /** @internal */ export const GetProjectsResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyAction -> = z.nativeEnum(GetProjectsResponseBodyAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyAction) +); /** @internal */ export const GetProjectsValueCurrentValue$inboundSchema: z.ZodType< GetProjectsValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function getProjectsValueCurrentValueFromJSON( jsonString: string, @@ -3402,7 +3551,9 @@ export const GetProjectsValuePreviousValue$inboundSchema: z.ZodType< GetProjectsValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function getProjectsValuePreviousValueFromJSON( jsonString: string, @@ -3419,10 +3570,16 @@ export const GetProjectsValue3$inboundSchema: z.ZodType< GetProjectsValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function getProjectsValue3FromJSON( jsonString: string, @@ -3439,12 +3596,14 @@ export const ResponseBodyValue$inboundSchema: z.ZodType< ResponseBodyValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function responseBodyValueFromJSON( jsonString: string, @@ -3461,19 +3620,19 @@ export const ResponseBodyDismissedToasts$inboundSchema: z.ZodType< ResponseBodyDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: GetProjectsResponseBodyAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectsResponseBodyAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => GetProjectsValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function responseBodyDismissedToastsFromJSON( jsonString: string, @@ -3490,10 +3649,12 @@ export const GetProjectsContentHintProjectsResponse17$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function getProjectsContentHintProjectsResponse17FromJSON( jsonString: string, @@ -3516,13 +3677,15 @@ export const GetProjectsContentHintProjectsResponse16$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function getProjectsContentHintProjectsResponse16FromJSON( jsonString: string, @@ -3545,10 +3708,12 @@ export const GetProjectsContentHintProjectsResponse15$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function getProjectsContentHintProjectsResponse15FromJSON( jsonString: string, @@ -3571,10 +3736,12 @@ export const GetProjectsContentHintProjectsResponse14$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function getProjectsContentHintProjectsResponse14FromJSON( jsonString: string, @@ -3597,10 +3764,12 @@ export const GetProjectsContentHintProjectsResponse13$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function getProjectsContentHintProjectsResponse13FromJSON( jsonString: string, @@ -3623,10 +3792,12 @@ export const GetProjectsContentHintProjectsResponse12$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function getProjectsContentHintProjectsResponse12FromJSON( jsonString: string, @@ -3649,10 +3820,12 @@ export const GetProjectsContentHintProjectsResponse11$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function getProjectsContentHintProjectsResponse11FromJSON( jsonString: string, @@ -3675,10 +3848,12 @@ export const GetProjectsContentHintProjectsResponse10$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function getProjectsContentHintProjectsResponse10FromJSON( jsonString: string, @@ -3701,10 +3876,12 @@ export const GetProjectsContentHintProjectsResponse9$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function getProjectsContentHintProjectsResponse9FromJSON( jsonString: string, @@ -3727,10 +3904,12 @@ export const GetProjectsContentHintProjectsResponse8$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function getProjectsContentHintProjectsResponse8FromJSON( jsonString: string, @@ -3753,10 +3932,12 @@ export const GetProjectsContentHintProjectsResponse7$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function getProjectsContentHintProjectsResponse7FromJSON( jsonString: string, @@ -3779,10 +3960,12 @@ export const GetProjectsContentHintProjectsResponse6$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function getProjectsContentHintProjectsResponse6FromJSON( jsonString: string, @@ -3805,10 +3988,12 @@ export const GetProjectsContentHintProjectsResponse5$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function getProjectsContentHintProjectsResponse5FromJSON( jsonString: string, @@ -3831,10 +4016,12 @@ export const GetProjectsContentHintProjectsResponse4$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function getProjectsContentHintProjectsResponse4FromJSON( jsonString: string, @@ -3857,10 +4044,12 @@ export const GetProjectsContentHintProjectsResponse3$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function getProjectsContentHintProjectsResponse3FromJSON( jsonString: string, @@ -3883,10 +4072,12 @@ export const GetProjectsContentHintProjectsResponse2$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function getProjectsContentHintProjectsResponse2FromJSON( jsonString: string, @@ -3909,10 +4100,12 @@ export const GetProjectsContentHintProjectsResponse1$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function getProjectsContentHintProjectsResponse1FromJSON( jsonString: string, @@ -3933,25 +4126,27 @@ export function getProjectsContentHintProjectsResponse1FromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsContentHint$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GetProjectsContentHintProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse3$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse4$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse5$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse6$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse7$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse8$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse9$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse10$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse11$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse12$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse13$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse14$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse15$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse16$inboundSchema), - z.lazy(() => GetProjectsContentHintProjectsResponse17$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsContentHintProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse3$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse4$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse5$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse6$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse7$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse8$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse9$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse10$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse11$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse12$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse13$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse14$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse15$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse16$inboundSchema), + z.lazy(() => GetProjectsContentHintProjectsResponse17$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsContentHintFromJSON( jsonString: string, @@ -3973,8 +4168,10 @@ export function getProjectsResponseBodyProjectsContentHintFromJSON( export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType, + ) ); /** @internal */ @@ -3983,11 +4180,13 @@ export const GetProjectsResponseBodyProjectsInternalContentHint$inboundSchema: GetProjectsResponseBodyProjectsInternalContentHint, z.ZodTypeDef, unknown - > = z.object({ - encryptedValue: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsEnvType$inboundSchema, + }) + ); export function getProjectsResponseBodyProjectsInternalContentHintFromJSON( jsonString: string, @@ -4008,12 +4207,16 @@ export function getProjectsResponseBodyProjectsInternalContentHintFromJSON( /** @internal */ export const GetProjectsTargetProjectsResponse2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTargetProjectsResponse2 -> = z.nativeEnum(GetProjectsTargetProjectsResponse2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsTargetProjectsResponse2) +); /** @internal */ export const GetProjectsTargetProjectsResponse1$inboundSchema: z.ZodNativeEnum< typeof GetProjectsTargetProjectsResponse1 -> = z.nativeEnum(GetProjectsTargetProjectsResponse1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsTargetProjectsResponse1) +); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Target$inboundSchema: @@ -4021,10 +4224,12 @@ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3Target$in GetProjectsResponseBodyProjectsResponse200ApplicationJson3Target, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(GetProjectsTargetProjectsResponse1$inboundSchema), - GetProjectsTargetProjectsResponse2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(GetProjectsTargetProjectsResponse1$inboundSchema), + GetProjectsTargetProjectsResponse2$inboundSchema, + ]) + ); export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3TargetFromJSON( jsonString: string, @@ -4045,25 +4250,29 @@ export function getProjectsResponseBodyProjectsResponse200ApplicationJSON3Target export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType, + ) ); /** @internal */ export const GetProjectsResponseBodyProjectsVisibility$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsVisibility); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsVisibility) + ); /** @internal */ export const GetProjectsResponseBodyProjectsEnv$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => GetProjectsContentHintProjectsResponse1$inboundSchema), z.lazy(() => GetProjectsContentHintProjectsResponse2$inboundSchema), z.lazy(() => GetProjectsContentHintProjectsResponse3$inboundSchema), @@ -4081,40 +4290,38 @@ export const GetProjectsResponseBodyProjectsEnv$inboundSchema: z.ZodType< z.lazy(() => GetProjectsContentHintProjectsResponse15$inboundSchema), z.lazy(() => GetProjectsContentHintProjectsResponse16$inboundSchema), z.lazy(() => GetProjectsContentHintProjectsResponse17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => GetProjectsResponseBodyProjectsInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(GetProjectsTargetProjectsResponse1$inboundSchema), + GetProjectsTargetProjectsResponse2$inboundSchema, + ]), ), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(GetProjectsTargetProjectsResponse1$inboundSchema), - GetProjectsTargetProjectsResponse2$inboundSchema, - ]), - ), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional( - GetProjectsResponseBodyProjectsVisibility$inboundSchema, - ), - vsmValue: types.optional(types.string()), -}); + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional( + GetProjectsResponseBodyProjectsVisibility$inboundSchema, + ), + vsmValue: types.optional(types.string()), + }) +); export function getProjectsResponseBodyProjectsEnvFromJSON( jsonString: string, @@ -4132,10 +4339,12 @@ export const GetProjectsExpirationProjectsResponse2$inboundSchema: z.ZodType< GetProjectsExpirationProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function getProjectsExpirationProjectsResponse2FromJSON( jsonString: string, @@ -4153,9 +4362,11 @@ export const GetProjectsExpirationProjectsResponse1$inboundSchema: z.ZodType< GetProjectsExpirationProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function getProjectsExpirationProjectsResponse1FromJSON( jsonString: string, @@ -4173,10 +4384,12 @@ export const GetProjectsResponseBodyProjectsExpiration$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => GetProjectsExpirationProjectsResponse2$inboundSchema), - z.lazy(() => GetProjectsExpirationProjectsResponse1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsExpirationProjectsResponse2$inboundSchema), + z.lazy(() => GetProjectsExpirationProjectsResponse1$inboundSchema), + ]) +); export function getProjectsResponseBodyProjectsExpirationFromJSON( jsonString: string, @@ -4199,9 +4412,11 @@ export const ResponseBodyFeatures$inboundSchema: z.ZodType< ResponseBodyFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function responseBodyFeaturesFromJSON( jsonString: string, @@ -4215,16 +4430,20 @@ export function responseBodyFeaturesFromJSON( /** @internal */ export const GetProjectsResponseBodyProjectsFramework$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsFramework); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsFramework) + ); /** @internal */ export const GetProjectsResponseBodyProjectsGitComments$inboundSchema: z.ZodType = - z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) + ); export function getProjectsResponseBodyProjectsGitCommentsFromJSON( jsonString: string, @@ -4248,10 +4467,12 @@ export const GetProjectsResponseBodyProjectsConsolidatedGitCommitStatus$inboundS GetProjectsResponseBodyProjectsConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function getProjectsResponseBodyProjectsConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -4270,8 +4491,10 @@ export function getProjectsResponseBodyProjectsConsolidatedGitCommitStatusFromJS /** @internal */ export const GetProjectsResponseBodyProjectsCreateDeployments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsResponseBodyProjectsCreateDeployments); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsResponseBodyProjectsCreateDeployments) + ); /** @internal */ export const GetProjectsResponseBodyProjectsGitProviderOptions$inboundSchema: @@ -4279,18 +4502,18 @@ export const GetProjectsResponseBodyProjectsGitProviderOptions$inboundSchema: GetProjectsResponseBodyProjectsGitProviderOptions, z.ZodTypeDef, unknown - > = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional(z.lazy(() => GetProjectsResponseBodyProjectsConsolidatedGitCommitStatus$inboundSchema - ), - ), - createDeployments: - GetProjectsResponseBodyProjectsCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), - }); + )), + createDeployments: + GetProjectsResponseBodyProjectsCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) + ); export function getProjectsResponseBodyProjectsGitProviderOptionsFromJSON( jsonString: string, @@ -4314,9 +4537,11 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$i GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown - > = z.object({ - eq: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) + ); export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, @@ -4338,12 +4563,14 @@ export const GetProjectsHasProjectsResponse2$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => + GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema + ), + }) +); export function getProjectsHasProjectsResponse2FromJSON( jsonString: string, @@ -4358,7 +4585,9 @@ export function getProjectsHasProjectsResponse2FromJSON( /** @internal */ export const GetProjectsHasProjectsResponseKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsResponseKey -> = z.nativeEnum(GetProjectsHasProjectsResponseKey); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsHasProjectsResponseKey) +); /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema: @@ -4366,9 +4595,11 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema GetProjectsHasProjectsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown - > = z.object({ - eq: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) + ); export function getProjectsHasProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, @@ -4391,13 +4622,15 @@ export const GetProjectsHasProjectsResponse1$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - key: GetProjectsHasProjectsResponseKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => - GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: GetProjectsHasProjectsResponseKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => + GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema + ), + }) +); export function getProjectsHasProjectsResponse1FromJSON( jsonString: string, @@ -4415,10 +4648,12 @@ export const GetProjectsInternalRoutesProjectsResponseHas$inboundSchema: GetProjectsInternalRoutesProjectsResponseHas, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema), + ]) + ); export function getProjectsInternalRoutesProjectsResponseHasFromJSON( jsonString: string, @@ -4438,8 +4673,10 @@ export function getProjectsInternalRoutesProjectsResponseHasFromJSON( /** @internal */ export const GetProjectsInternalRoutesProjectsResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(GetProjectsInternalRoutesProjectsResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(GetProjectsInternalRoutesProjectsResponseAction) + ); /** @internal */ export const GetProjectsInternalRoutesProjectsResponseMitigate$inboundSchema: @@ -4447,9 +4684,11 @@ export const GetProjectsInternalRoutesProjectsResponseMitigate$inboundSchema: GetProjectsInternalRoutesProjectsResponseMitigate, z.ZodTypeDef, unknown - > = z.object({ - action: GetProjectsInternalRoutesProjectsResponseAction$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: GetProjectsInternalRoutesProjectsResponseAction$inboundSchema, + }) + ); export function getProjectsInternalRoutesProjectsResponseMitigateFromJSON( jsonString: string, @@ -4470,18 +4709,18 @@ export function getProjectsInternalRoutesProjectsResponseMitigateFromJSON( /** @internal */ export const GetProjectsInternalRoutesProjectsResponse2$inboundSchema: z.ZodType = - z.object({ - has: z.array( - z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema), z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - GetProjectsInternalRoutesProjectsResponseMitigate$inboundSchema - ), - src: types.optional(types.string()), - }); + ])), + mitigate: z.lazy(() => + GetProjectsInternalRoutesProjectsResponseMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) + ); export function getProjectsInternalRoutesProjectsResponse2FromJSON( jsonString: string, @@ -4502,11 +4741,13 @@ export function getProjectsInternalRoutesProjectsResponse2FromJSON( /** @internal */ export const GetProjectsInternalRoutesProjectsResponse1$inboundSchema: z.ZodType = - z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) + ); export function getProjectsInternalRoutesProjectsResponse1FromJSON( jsonString: string, @@ -4530,10 +4771,12 @@ export const GetProjectsResponseBodyProjectsInternalRoutes$inboundSchema: GetProjectsResponseBodyProjectsInternalRoutes, z.ZodTypeDef, unknown - > = smartUnion([ - z.lazy(() => GetProjectsInternalRoutesProjectsResponse1$inboundSchema), - z.lazy(() => GetProjectsInternalRoutesProjectsResponse2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => GetProjectsInternalRoutesProjectsResponse1$inboundSchema), + z.lazy(() => GetProjectsInternalRoutesProjectsResponse2$inboundSchema), + ]) + ); export function getProjectsResponseBodyProjectsInternalRoutesFromJSON( jsonString: string, @@ -4556,11 +4799,13 @@ export const GetProjectsResponseBodyProjectsIpBuckets$inboundSchema: z.ZodType< GetProjectsResponseBodyProjectsIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function getProjectsResponseBodyProjectsIpBucketsFromJSON( jsonString: string, @@ -4583,9 +4828,11 @@ export const ResponseBodyFlagDefinitionsPresent$inboundSchema: z.ZodType< ResponseBodyFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function responseBodyFlagDefinitionsPresentFromJSON( jsonString: string, @@ -4603,9 +4850,11 @@ export const ResponseBodyHealthCheck$inboundSchema: z.ZodType< ResponseBodyHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function responseBodyHealthCheckFromJSON( jsonString: string, @@ -4622,9 +4871,11 @@ export const ResponseBodyLint$inboundSchema: z.ZodType< ResponseBodyLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function responseBodyLintFromJSON( jsonString: string, @@ -4641,9 +4892,11 @@ export const ResponseBodyMfeConfigPresent$inboundSchema: z.ZodType< ResponseBodyMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function responseBodyMfeConfigPresentFromJSON( jsonString: string, @@ -4660,9 +4913,11 @@ export const ResponseBodyTypecheck$inboundSchema: z.ZodType< ResponseBodyTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function responseBodyTypecheckFromJSON( jsonString: string, @@ -4679,25 +4934,29 @@ export const ResponseBodyJobs$inboundSchema: z.ZodType< ResponseBodyJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => ResponseBodyFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => ResponseBodyHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => ResponseBodyLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => ResponseBodyMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional(z.lazy(() => ResponseBodyTypecheck$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => ResponseBodyFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => ResponseBodyHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => ResponseBodyLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => ResponseBodyMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => ResponseBodyTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function responseBodyJobsFromJSON( jsonString: string, @@ -4712,14 +4971,16 @@ export function responseBodyJobsFromJSON( /** @internal */ export const ResponseBodyJobStatus$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyJobStatus -> = z.nativeEnum(ResponseBodyJobStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyJobStatus)); /** @internal */ export const GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType - > = z.nativeEnum( - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType, + ) ); /** @internal */ @@ -4727,15 +4988,17 @@ export const ResponseBodyLastAliasRequest$inboundSchema: z.ZodType< ResponseBodyLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: ResponseBodyJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: - GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: ResponseBodyJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: + GetProjectsResponseBodyProjectsResponse200ApplicationJson3ProjectsLastAliasRequestType$inboundSchema, + }) +); export function responseBodyLastAliasRequestFromJSON( jsonString: string, @@ -4752,7 +5015,7 @@ export const ResponseBodyLastRollbackTarget$inboundSchema: z.ZodType< ResponseBodyLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function responseBodyLastRollbackTargetFromJSON( jsonString: string, diff --git a/src/models/restartprojectdaemoninstanceop.ts b/src/models/restartprojectdaemoninstanceop.ts index 14325647ab..aee4f98537 100644 --- a/src/models/restartprojectdaemoninstanceop.ts +++ b/src/models/restartprojectdaemoninstanceop.ts @@ -3,7 +3,8 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -57,14 +58,23 @@ export const RestartProjectDaemonInstanceRequest$outboundSchema: z.ZodType< RestartProjectDaemonInstanceRequest$Outbound, z.ZodTypeDef, RestartProjectDaemonInstanceRequest -> = z.object({ - idOrName: z.string(), - daemonName: z.string(), - instanceId: z.string(), - customEnvironmentId: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + daemonName: z.string().refine(matchesPattern$("^[a-zA-Z0-9_-]+$"), { + message: "Value must match pattern ^[a-zA-Z0-9_-]+$", + }), + instanceId: z.string().refine( + matchesPattern$("^dmni_[0-9a-hjkmnp-tv-z]{26}$"), + { message: "Value must match pattern ^dmni_[0-9a-hjkmnp-tv-z]{26}$" }, + ), + customEnvironmentId: z.string().refine(matchesPattern$("^env_"), { + message: "Value must match pattern ^env_", + }).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function restartProjectDaemonInstanceRequestToJSON( restartProjectDaemonInstanceRequest: RestartProjectDaemonInstanceRequest, @@ -81,9 +91,11 @@ export const RestartProjectDaemonInstanceResponseBody$inboundSchema: z.ZodType< RestartProjectDaemonInstanceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - ok: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ok: types.boolean(), + }) +); export function restartProjectDaemonInstanceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/restoreedgeconfigbackupop.ts b/src/models/restoreedgeconfigbackupop.ts index da2d78b55f..187fe230dd 100644 --- a/src/models/restoreedgeconfigbackupop.ts +++ b/src/models/restoreedgeconfigbackupop.ts @@ -3,7 +3,8 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { matchesPattern as matchesPattern$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -49,12 +50,16 @@ export const RestoreEdgeConfigBackupRequest$outboundSchema: z.ZodType< RestoreEdgeConfigBackupRequest$Outbound, z.ZodTypeDef, RestoreEdgeConfigBackupRequest -> = z.object({ - edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string().refine(matchesPattern$("^ecfg_"), { + message: "Value must match pattern ^ecfg_", + }), + edgeConfigBackupVersionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function restoreEdgeConfigBackupRequestToJSON( restoreEdgeConfigBackupRequest: RestoreEdgeConfigBackupRequest, @@ -69,19 +74,23 @@ export function restoreEdgeConfigBackupRequestToJSON( /** @internal */ export const RestoreEdgeConfigBackupStatus$inboundSchema: z.ZodNativeEnum< typeof RestoreEdgeConfigBackupStatus -> = z.nativeEnum(RestoreEdgeConfigBackupStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RestoreEdgeConfigBackupStatus) +); /** @internal */ export const RestoreEdgeConfigBackupResponseBody$inboundSchema: z.ZodType< RestoreEdgeConfigBackupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - digest: types.string(), - previousDigest: types.string(), - restoredFrom: types.string(), - status: RestoreEdgeConfigBackupStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + digest: types.string(), + previousDigest: types.string(), + restoredFrom: types.string(), + status: RestoreEdgeConfigBackupStatus$inboundSchema, + }) +); export function restoreEdgeConfigBackupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/restoreredirectsop.ts b/src/models/restoreredirectsop.ts index c1bf7cea81..ce29c58aea 100644 --- a/src/models/restoreredirectsop.ts +++ b/src/models/restoreredirectsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -80,10 +80,12 @@ export const RestoreRedirectsRequestBody$outboundSchema: z.ZodType< RestoreRedirectsRequestBody$Outbound, z.ZodTypeDef, RestoreRedirectsRequestBody -> = z.object({ - name: z.string().optional(), - redirects: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + redirects: z.array(z.string()), + }) +); export function restoreRedirectsRequestBodyToJSON( restoreRedirectsRequestBody: RestoreRedirectsRequestBody, @@ -108,17 +110,19 @@ export const RestoreRedirectsRequest$outboundSchema: z.ZodType< RestoreRedirectsRequest$Outbound, z.ZodTypeDef, RestoreRedirectsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => RestoreRedirectsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => RestoreRedirectsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function restoreRedirectsRequestToJSON( restoreRedirectsRequest: RestoreRedirectsRequest, @@ -133,17 +137,19 @@ export const RestoreRedirectsVersion$inboundSchema: z.ZodType< RestoreRedirectsVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function restoreRedirectsVersionFromJSON( jsonString: string, @@ -160,11 +166,13 @@ export const RestoreRedirectsResponseBody$inboundSchema: z.ZodType< RestoreRedirectsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - failedToRestore: z.array(types.string()), - restored: z.array(types.string()), - version: z.lazy(() => RestoreRedirectsVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failedToRestore: z.array(types.string()), + restored: z.array(types.string()), + version: z.lazy(() => RestoreRedirectsVersion$inboundSchema), + }) +); export function restoreRedirectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/retryvercelciinvocationop.ts b/src/models/retryvercelciinvocationop.ts index 453b1800b4..66ba61f900 100644 --- a/src/models/retryvercelciinvocationop.ts +++ b/src/models/retryvercelciinvocationop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -179,12 +179,14 @@ export const RetryVercelCiInvocationRequest$outboundSchema: z.ZodType< RetryVercelCiInvocationRequest$Outbound, z.ZodTypeDef, RetryVercelCiInvocationRequest -> = z.object({ - invocationId: z.string(), - attempt: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: z.string(), + attempt: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function retryVercelCiInvocationRequestToJSON( retryVercelCiInvocationRequest: RetryVercelCiInvocationRequest, @@ -202,10 +204,12 @@ export const RetryVercelCiInvocationVercelCiResponse500Error$inboundSchema: RetryVercelCiInvocationVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function retryVercelCiInvocationVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -229,21 +233,23 @@ export const RetryVercelCiInvocationVercelCiResponse500ResponseBody$inboundSchem RetryVercelCiInvocationVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - RetryVercelCiInvocationVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new RetryVercelCiInvocationVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + RetryVercelCiInvocationVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new RetryVercelCiInvocationVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const RetryVercelCiInvocationVercelCiResponseError$inboundSchema: @@ -251,12 +257,14 @@ export const RetryVercelCiInvocationVercelCiResponseError$inboundSchema: RetryVercelCiInvocationVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function retryVercelCiInvocationVercelCiResponseErrorFromJSON( jsonString: string, @@ -280,31 +288,35 @@ export const RetryVercelCiInvocationVercelCiResponse429ResponseBody$inboundSchem RetryVercelCiInvocationVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - RetryVercelCiInvocationVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new RetryVercelCiInvocationVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + RetryVercelCiInvocationVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new RetryVercelCiInvocationVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const RetryVercelCiInvocationVercelCiError$inboundSchema: z.ZodType< RetryVercelCiInvocationVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function retryVercelCiInvocationVercelCiErrorFromJSON( jsonString: string, @@ -323,29 +335,33 @@ export const RetryVercelCiInvocationVercelCiResponseResponseBody$inboundSchema: RetryVercelCiInvocationVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => RetryVercelCiInvocationVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new RetryVercelCiInvocationVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => RetryVercelCiInvocationVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new RetryVercelCiInvocationVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const RetryVercelCiInvocationError$inboundSchema: z.ZodType< RetryVercelCiInvocationError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function retryVercelCiInvocationErrorFromJSON( jsonString: string, @@ -363,29 +379,33 @@ export const RetryVercelCiInvocationVercelCiResponseBody$inboundSchema: RetryVercelCiInvocationVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => RetryVercelCiInvocationError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new RetryVercelCiInvocationVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => RetryVercelCiInvocationError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new RetryVercelCiInvocationVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const RetryVercelCiInvocationResponseBody$inboundSchema: z.ZodType< RetryVercelCiInvocationResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + }) +); export function retryVercelCiInvocationResponseBodyFromJSON( jsonString: string, diff --git a/src/models/revokeinstallationcredentialop.ts b/src/models/revokeinstallationcredentialop.ts index c1f3b7145c..5c47002159 100644 --- a/src/models/revokeinstallationcredentialop.ts +++ b/src/models/revokeinstallationcredentialop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -37,16 +37,18 @@ export const RevokeInstallationCredentialRequestBody$outboundSchema: z.ZodType< RevokeInstallationCredentialRequestBody$Outbound, z.ZodTypeDef, RevokeInstallationCredentialRequestBody -> = z.object({ - token: z.string(), - clientSecret: z.string(), - clientId: z.string().optional(), -}).transform((v) => { - return remap$(v, { - clientSecret: "client_secret", - clientId: "client_id", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + token: z.string(), + clientSecret: z.string(), + clientId: z.string().optional(), + }).transform((v) => { + return remap$(v, { + clientSecret: "client_secret", + clientId: "client_id", + }); + }) +); export function revokeInstallationCredentialRequestBodyToJSON( revokeInstallationCredentialRequestBody: @@ -70,16 +72,18 @@ export const RevokeInstallationCredentialRequest$outboundSchema: z.ZodType< RevokeInstallationCredentialRequest$Outbound, z.ZodTypeDef, RevokeInstallationCredentialRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => - RevokeInstallationCredentialRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => + RevokeInstallationCredentialRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function revokeInstallationCredentialRequestToJSON( revokeInstallationCredentialRequest: RevokeInstallationCredentialRequest, @@ -96,14 +100,16 @@ export const RevokeInstallationCredentialResponseBody$inboundSchema: z.ZodType< RevokeInstallationCredentialResponseBody, z.ZodTypeDef, unknown -> = z.object({ - already_revoked: types.boolean(), - revoked: types.boolean(), -}).transform((v) => { - return remap$(v, { - "already_revoked": "alreadyRevoked", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + already_revoked: types.boolean(), + revoked: types.boolean(), + }).transform((v) => { + return remap$(v, { + "already_revoked": "alreadyRevoked", + }); + }) +); export function revokeInstallationCredentialResponseBodyFromJSON( jsonString: string, diff --git a/src/models/revokekmssigningkeyop.ts b/src/models/revokekmssigningkeyop.ts index db59bf3a41..cc6c59886a 100644 --- a/src/models/revokekmssigningkeyop.ts +++ b/src/models/revokekmssigningkeyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -187,12 +187,14 @@ export const RevokeKmsSigningKeyRequest$outboundSchema: z.ZodType< RevokeKmsSigningKeyRequest$Outbound, z.ZodTypeDef, RevokeKmsSigningKeyRequest -> = z.object({ - issuerId: z.string(), - keyId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + keyId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function revokeKmsSigningKeyRequestToJSON( revokeKmsSigningKeyRequest: RevokeKmsSigningKeyRequest, @@ -205,30 +207,36 @@ export function revokeKmsSigningKeyRequestToJSON( /** @internal */ export const RevokeKmsSigningKeyAlgorithm$inboundSchema: z.ZodNativeEnum< typeof RevokeKmsSigningKeyAlgorithm -> = z.nativeEnum(RevokeKmsSigningKeyAlgorithm); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RevokeKmsSigningKeyAlgorithm) +); /** @internal */ export const RevokeKmsSigningKeyDiscoveryLayout$inboundSchema: z.ZodNativeEnum< typeof RevokeKmsSigningKeyDiscoveryLayout -> = z.nativeEnum(RevokeKmsSigningKeyDiscoveryLayout); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(RevokeKmsSigningKeyDiscoveryLayout) +); /** @internal */ export const RevokeKmsSigningKeyOrigin$inboundSchema: z.ZodNativeEnum< typeof RevokeKmsSigningKeyOrigin -> = z.nativeEnum(RevokeKmsSigningKeyOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RevokeKmsSigningKeyOrigin)); /** @internal */ export const RevokeKmsSigningKeyPolicies3$inboundSchema: z.ZodType< RevokeKmsSigningKeyPolicies3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function revokeKmsSigningKeyPolicies3FromJSON( jsonString: string, @@ -245,13 +253,15 @@ export const RevokeKmsSigningKeyPolicies2$inboundSchema: z.ZodType< RevokeKmsSigningKeyPolicies2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function revokeKmsSigningKeyPolicies2FromJSON( jsonString: string, @@ -268,15 +278,17 @@ export const RevokeKmsSigningKeyPolicies1$inboundSchema: z.ZodType< RevokeKmsSigningKeyPolicies1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function revokeKmsSigningKeyPolicies1FromJSON( jsonString: string, @@ -293,11 +305,13 @@ export const RevokeKmsSigningKeyPolicies$inboundSchema: z.ZodType< RevokeKmsSigningKeyPolicies, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => RevokeKmsSigningKeyPolicies1$inboundSchema), - z.lazy(() => RevokeKmsSigningKeyPolicies2$inboundSchema), - z.lazy(() => RevokeKmsSigningKeyPolicies3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => RevokeKmsSigningKeyPolicies1$inboundSchema), + z.lazy(() => RevokeKmsSigningKeyPolicies2$inboundSchema), + z.lazy(() => RevokeKmsSigningKeyPolicies3$inboundSchema), + ]) +); export function revokeKmsSigningKeyPoliciesFromJSON( jsonString: string, @@ -314,20 +328,22 @@ export const RevokeKmsSigningKeyPublicKey$inboundSchema: z.ZodType< RevokeKmsSigningKeyPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function revokeKmsSigningKeyPublicKeyFromJSON( jsonString: string, @@ -342,31 +358,33 @@ export function revokeKmsSigningKeyPublicKeyFromJSON( /** @internal */ export const RevokeKmsSigningKeyStatus$inboundSchema: z.ZodNativeEnum< typeof RevokeKmsSigningKeyStatus -> = z.nativeEnum(RevokeKmsSigningKeyStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RevokeKmsSigningKeyStatus)); /** @internal */ export const RevokeKmsSigningKeySigningKeys$inboundSchema: z.ZodType< RevokeKmsSigningKeySigningKeys, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional( - z.lazy(() => RevokeKmsSigningKeyPublicKey$inboundSchema), - ), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: RevokeKmsSigningKeyStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => RevokeKmsSigningKeyPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: RevokeKmsSigningKeyStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function revokeKmsSigningKeySigningKeysFromJSON( jsonString: string, @@ -383,28 +401,28 @@ export const RevokeKmsSigningKeyResponseBody$inboundSchema: z.ZodType< RevokeKmsSigningKeyResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: RevokeKmsSigningKeyAlgorithm$inboundSchema, - claimsSchema: types.optional(z.record(z.any())), - createdAt: types.string(), - discoveryLayout: RevokeKmsSigningKeyDiscoveryLayout$inboundSchema, - id: types.string(), - managedBy: types.optional(types.string()), - name: types.string(), - origin: RevokeKmsSigningKeyOrigin$inboundSchema, - ownerId: types.string(), - policies: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: RevokeKmsSigningKeyAlgorithm$inboundSchema, + claimsSchema: types.optional(z.record(z.any())), + createdAt: types.string(), + discoveryLayout: RevokeKmsSigningKeyDiscoveryLayout$inboundSchema, + id: types.string(), + managedBy: types.optional(types.string()), + name: types.string(), + origin: RevokeKmsSigningKeyOrigin$inboundSchema, + ownerId: types.string(), + policies: z.array(z.union([ z.lazy(() => RevokeKmsSigningKeyPolicies1$inboundSchema), z.lazy(() => RevokeKmsSigningKeyPolicies2$inboundSchema), z.lazy(() => RevokeKmsSigningKeyPolicies3$inboundSchema), - ]), - ), - signingKeys: z.array( - z.lazy(() => RevokeKmsSigningKeySigningKeys$inboundSchema), - ), - updatedAt: types.string(), -}); + ])), + signingKeys: z.array(z.lazy(() => + RevokeKmsSigningKeySigningKeys$inboundSchema + )), + updatedAt: types.string(), + }) +); export function revokeKmsSigningKeyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/rotateinstallationcredentialop.ts b/src/models/rotateinstallationcredentialop.ts index ffe4693bcf..3bec14633f 100644 --- a/src/models/rotateinstallationcredentialop.ts +++ b/src/models/rotateinstallationcredentialop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -43,15 +43,17 @@ export const RotateInstallationCredentialRequestBody$outboundSchema: z.ZodType< RotateInstallationCredentialRequestBody$Outbound, z.ZodTypeDef, RotateInstallationCredentialRequestBody -> = z.object({ - clientSecret: z.string(), - clientId: z.string().optional(), -}).transform((v) => { - return remap$(v, { - clientSecret: "client_secret", - clientId: "client_id", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientSecret: z.string(), + clientId: z.string().optional(), + }).transform((v) => { + return remap$(v, { + clientSecret: "client_secret", + clientId: "client_id", + }); + }) +); export function rotateInstallationCredentialRequestBodyToJSON( rotateInstallationCredentialRequestBody: @@ -75,16 +77,18 @@ export const RotateInstallationCredentialRequest$outboundSchema: z.ZodType< RotateInstallationCredentialRequest$Outbound, z.ZodTypeDef, RotateInstallationCredentialRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => - RotateInstallationCredentialRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => + RotateInstallationCredentialRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function rotateInstallationCredentialRequestToJSON( rotateInstallationCredentialRequest: RotateInstallationCredentialRequest, @@ -97,26 +101,28 @@ export function rotateInstallationCredentialRequestToJSON( } /** @internal */ -export const TokenType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TokenType); +export const TokenType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TokenType)); /** @internal */ export const RotateInstallationCredentialResponseBody$inboundSchema: z.ZodType< RotateInstallationCredentialResponseBody, z.ZodTypeDef, unknown -> = z.object({ - access_token: types.string(), - expires_in: types.number(), - scope: types.string(), - token_type: TokenType$inboundSchema, -}).transform((v) => { - return remap$(v, { - "access_token": "accessToken", - "expires_in": "expiresIn", - "token_type": "tokenType", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access_token: types.string(), + expires_in: types.number(), + scope: types.string(), + token_type: TokenType$inboundSchema, + }).transform((v) => { + return remap$(v, { + "access_token": "accessToken", + "expires_in": "expiresIn", + "token_type": "tokenType", + }); + }) +); export function rotateInstallationCredentialResponseBodyFromJSON( jsonString: string, diff --git a/src/models/sandboxforwardrule.ts b/src/models/sandboxforwardrule.ts index 84904d2399..2aed8e61ea 100644 --- a/src/models/sandboxforwardrule.ts +++ b/src/models/sandboxforwardrule.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,11 +31,13 @@ export const SandboxForwardRule$inboundSchema: z.ZodType< SandboxForwardRule, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - forwardURL: types.string(), - matchDimensions: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + forwardURL: types.string(), + matchDimensions: types.optional(z.array(types.string())), + }) +); export function sandboxForwardRuleFromJSON( jsonString: string, diff --git a/src/models/sandboxinjectionrule.ts b/src/models/sandboxinjectionrule.ts index fe85309daa..5696d02399 100644 --- a/src/models/sandboxinjectionrule.ts +++ b/src/models/sandboxinjectionrule.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,11 +31,13 @@ export const SandboxInjectionRule$inboundSchema: z.ZodType< SandboxInjectionRule, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - headerNames: types.optional(z.array(types.string())), - matchDimensions: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + headerNames: types.optional(z.array(types.string())), + matchDimensions: types.optional(z.array(types.string())), + }) +); export function sandboxInjectionRuleFromJSON( jsonString: string, diff --git a/src/models/sandboxnetworkpolicy.ts b/src/models/sandboxnetworkpolicy.ts index 4dca2c0a42..cd97e68eea 100644 --- a/src/models/sandboxnetworkpolicy.ts +++ b/src/models/sandboxnetworkpolicy.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -69,24 +69,25 @@ export type SandboxNetworkPolicy = { }; /** @internal */ -export const Mode$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Mode, -); +export const Mode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Mode)); /** @internal */ export const SandboxNetworkPolicy$inboundSchema: z.ZodType< SandboxNetworkPolicy, z.ZodTypeDef, unknown -> = z.object({ - allowedCIDRs: types.optional(z.array(types.string())), - allowedDomains: types.optional(z.array(types.string())), - deniedCIDRs: types.optional(z.array(types.string())), - forwardRules: types.optional(z.array(SandboxForwardRule$inboundSchema)), - injectionRules: types.optional(z.array(SandboxInjectionRule$inboundSchema)), - mode: Mode$inboundSchema, - responseRules: types.optional(z.array(SandboxResponseRule$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowedCIDRs: types.optional(z.array(types.string())), + allowedDomains: types.optional(z.array(types.string())), + deniedCIDRs: types.optional(z.array(types.string())), + forwardRules: types.optional(z.array(SandboxForwardRule$inboundSchema)), + injectionRules: types.optional(z.array(SandboxInjectionRule$inboundSchema)), + mode: Mode$inboundSchema, + responseRules: types.optional(z.array(SandboxResponseRule$inboundSchema)), + }) +); export function sandboxNetworkPolicyFromJSON( jsonString: string, diff --git a/src/models/sandboxpublicroute.ts b/src/models/sandboxpublicroute.ts index d21da56e6c..e13f4bb009 100644 --- a/src/models/sandboxpublicroute.ts +++ b/src/models/sandboxpublicroute.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,12 +35,14 @@ export const SandboxPublicRoute$inboundSchema: z.ZodType< SandboxPublicRoute, z.ZodTypeDef, unknown -> = z.object({ - port: types.number(), - subdomain: types.string(), - system: types.optional(types.literal(true)), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + port: types.number(), + subdomain: types.string(), + system: types.optional(types.literal(true)), + url: types.string(), + }) +); export function sandboxPublicRouteFromJSON( jsonString: string, diff --git a/src/models/sandboxresponserule.ts b/src/models/sandboxresponserule.ts index 3fb0bb2ac7..a6a8cf8b9d 100644 --- a/src/models/sandboxresponserule.ts +++ b/src/models/sandboxresponserule.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,11 +31,13 @@ export const SandboxResponseRule$inboundSchema: z.ZodType< SandboxResponseRule, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - matchDimensions: types.optional(z.array(types.string())), - statusCode: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + matchDimensions: types.optional(z.array(types.string())), + statusCode: types.number(), + }) +); export function sandboxResponseRuleFromJSON( jsonString: string, diff --git a/src/models/searchdomainsop.ts b/src/models/searchdomainsop.ts index 10191943f1..29af9aff43 100644 --- a/src/models/searchdomainsop.ts +++ b/src/models/searchdomainsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -64,9 +64,11 @@ export const SearchDomainsRequestBody$outboundSchema: z.ZodType< SearchDomainsRequestBody$Outbound, z.ZodTypeDef, SearchDomainsRequestBody -> = z.object({ - domains: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.array(z.string()), + }) +); export function searchDomainsRequestBodyToJSON( searchDomainsRequestBody: SearchDomainsRequestBody, @@ -87,14 +89,16 @@ export const SearchDomainsRequest$outboundSchema: z.ZodType< SearchDomainsRequest$Outbound, z.ZodTypeDef, SearchDomainsRequest -> = z.object({ - teamId: z.string().optional(), - requestBody: z.lazy(() => SearchDomainsRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => SearchDomainsRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function searchDomainsRequestToJSON( searchDomainsRequest: SearchDomainsRequest, @@ -109,14 +113,16 @@ export const Results2$inboundSchema: z.ZodType< Results2, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - available: types.literal(true), - years: types.number(), - price: types.number(), - renewalPrice: types.number(), - premium: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + available: types.literal(true), + years: types.number(), + price: types.number(), + renewalPrice: types.number(), + premium: types.boolean(), + }) +); export function results2FromJSON( jsonString: string, @@ -133,10 +139,12 @@ export const Results1$inboundSchema: z.ZodType< Results1, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - available: types.literal(false), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + available: types.literal(false), + }) +); export function results1FromJSON( jsonString: string, @@ -150,10 +158,12 @@ export function results1FromJSON( /** @internal */ export const Results$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Results2$inboundSchema), - z.lazy(() => Results1$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Results2$inboundSchema), + z.lazy(() => Results1$inboundSchema), + ]) + ); export function resultsFromJSON( jsonString: string, @@ -170,14 +180,14 @@ export const SearchDomainsResponseBody$inboundSchema: z.ZodType< SearchDomainsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - results: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + results: z.array(smartUnion([ z.lazy(() => Results2$inboundSchema), z.lazy(() => Results1$inboundSchema), - ]), - ), -}); + ])), + }) +); export function searchDomainsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/searchrepoop.ts b/src/models/searchrepoop.ts index 7b57988bf3..a9d5e5f801 100644 --- a/src/models/searchrepoop.ts +++ b/src/models/searchrepoop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -177,7 +177,9 @@ export type SearchRepoResponseBody = /** @internal */ export const SearchRepoQueryParamProvider$outboundSchema: z.ZodNativeEnum< typeof SearchRepoQueryParamProvider -> = z.nativeEnum(SearchRepoQueryParamProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchRepoQueryParamProvider) +); /** @internal */ export type SearchRepoRequest$Outbound = { @@ -195,15 +197,17 @@ export const SearchRepoRequest$outboundSchema: z.ZodType< SearchRepoRequest$Outbound, z.ZodTypeDef, SearchRepoRequest -> = z.object({ - query: z.string().optional(), - namespaceId: z.nullable(z.any()).optional(), - provider: SearchRepoQueryParamProvider$outboundSchema.optional(), - installationId: z.string().optional(), - host: z.string().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + query: z.string().optional(), + namespaceId: z.nullable(z.any()).optional(), + provider: SearchRepoQueryParamProvider$outboundSchema.optional(), + installationId: z.string().optional(), + host: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function searchRepoRequestToJSON( searchRepoRequest: SearchRepoRequest, @@ -218,7 +222,9 @@ export const NamespaceId$inboundSchema: z.ZodType< NamespaceId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function namespaceIdFromJSON( jsonString: string, @@ -232,18 +238,22 @@ export function namespaceIdFromJSON( /** @internal */ export const SearchRepoResponseBodyIntegrationsProvider$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(SearchRepoResponseBodyIntegrationsProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchRepoResponseBodyIntegrationsProvider) + ); /** @internal */ export const ResponseBodyGitAccount$inboundSchema: z.ZodType< ResponseBodyGitAccount, z.ZodTypeDef, unknown -> = z.object({ - namespaceId: types.nullable(smartUnion([types.string(), types.number()])), - provider: SearchRepoResponseBodyIntegrationsProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespaceId: types.nullable(smartUnion([types.string(), types.number()])), + provider: SearchRepoResponseBodyIntegrationsProvider$inboundSchema, + }) +); export function responseBodyGitAccountFromJSON( jsonString: string, @@ -260,7 +270,9 @@ export const ResponseBodyId$inboundSchema: z.ZodType< ResponseBodyId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function responseBodyIdFromJSON( jsonString: string, @@ -277,7 +289,9 @@ export const SearchRepoResponseBodyId$inboundSchema: z.ZodType< SearchRepoResponseBodyId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function searchRepoResponseBodyIdFromJSON( jsonString: string, @@ -294,10 +308,12 @@ export const SearchRepoResponseBodyOwner$inboundSchema: z.ZodType< SearchRepoResponseBodyOwner, z.ZodTypeDef, unknown -> = z.object({ - id: smartUnion([types.string(), types.number()]), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: smartUnion([types.string(), types.number()]), + name: types.string(), + }) +); export function searchRepoResponseBodyOwnerFromJSON( jsonString: string, @@ -312,31 +328,37 @@ export function searchRepoResponseBodyOwnerFromJSON( /** @internal */ export const SearchRepoResponseBodyOwnerType$inboundSchema: z.ZodNativeEnum< typeof SearchRepoResponseBodyOwnerType -> = z.nativeEnum(SearchRepoResponseBodyOwnerType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchRepoResponseBodyOwnerType) +); /** @internal */ export const SearchRepoResponseBodyIntegrationsResponseProvider$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(SearchRepoResponseBodyIntegrationsResponseProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchRepoResponseBodyIntegrationsResponseProvider) + ); /** @internal */ export const ResponseBodyRepos$inboundSchema: z.ZodType< ResponseBodyRepos, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: types.string(), - id: smartUnion([types.string(), types.number()]), - name: types.string(), - namespace: types.string(), - owner: z.lazy(() => SearchRepoResponseBodyOwner$inboundSchema), - ownerType: SearchRepoResponseBodyOwnerType$inboundSchema, - private: types.boolean(), - provider: SearchRepoResponseBodyIntegrationsResponseProvider$inboundSchema, - slug: types.string(), - updatedAt: types.number(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + id: smartUnion([types.string(), types.number()]), + name: types.string(), + namespace: types.string(), + owner: z.lazy(() => SearchRepoResponseBodyOwner$inboundSchema), + ownerType: SearchRepoResponseBodyOwnerType$inboundSchema, + private: types.boolean(), + provider: SearchRepoResponseBodyIntegrationsResponseProvider$inboundSchema, + slug: types.string(), + updatedAt: types.number(), + url: types.string(), + }) +); export function responseBodyReposFromJSON( jsonString: string, @@ -353,10 +375,12 @@ export const ResponseBody4$inboundSchema: z.ZodType< ResponseBody4, z.ZodTypeDef, unknown -> = z.object({ - gitAccount: z.lazy(() => ResponseBodyGitAccount$inboundSchema), - repos: z.array(z.lazy(() => ResponseBodyRepos$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitAccount: z.lazy(() => ResponseBodyGitAccount$inboundSchema), + repos: z.array(z.lazy(() => ResponseBodyRepos$inboundSchema)), + }) +); export function responseBody4FromJSON( jsonString: string, @@ -373,10 +397,12 @@ export const GitAccount$inboundSchema: z.ZodType< GitAccount, z.ZodTypeDef, unknown -> = z.object({ - namespaceId: types.nullable(types.string()), - provider: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespaceId: types.nullable(types.string()), + provider: types.string(), + }) +); export function gitAccountFromJSON( jsonString: string, @@ -393,10 +419,12 @@ export const ResponseBodyOwner$inboundSchema: z.ZodType< ResponseBodyOwner, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function responseBodyOwnerFromJSON( jsonString: string, @@ -411,28 +439,32 @@ export function responseBodyOwnerFromJSON( /** @internal */ export const ResponseBodyOwnerType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyOwnerType -> = z.nativeEnum(ResponseBodyOwnerType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyOwnerType)); /** @internal */ export const SearchRepoResponseBodyProvider$inboundSchema: z.ZodNativeEnum< typeof SearchRepoResponseBodyProvider -> = z.nativeEnum(SearchRepoResponseBodyProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchRepoResponseBodyProvider) +); /** @internal */ -export const Repos$inboundSchema: z.ZodType = z - .object({ - defaultBranch: types.string(), - id: types.string(), - name: types.string(), - namespace: types.string(), - owner: z.lazy(() => ResponseBodyOwner$inboundSchema), - ownerType: ResponseBodyOwnerType$inboundSchema, - private: types.boolean(), - provider: SearchRepoResponseBodyProvider$inboundSchema, - slug: types.string(), - updatedAt: types.number(), - url: types.string(), - }); +export const Repos$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: types.string(), + id: types.string(), + name: types.string(), + namespace: types.string(), + owner: z.lazy(() => ResponseBodyOwner$inboundSchema), + ownerType: ResponseBodyOwnerType$inboundSchema, + private: types.boolean(), + provider: SearchRepoResponseBodyProvider$inboundSchema, + slug: types.string(), + updatedAt: types.number(), + url: types.string(), + }) + ); export function reposFromJSON( jsonString: string, @@ -449,10 +481,12 @@ export const SearchRepoResponseBody3$inboundSchema: z.ZodType< SearchRepoResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - gitAccount: z.lazy(() => GitAccount$inboundSchema), - repos: z.array(z.lazy(() => Repos$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitAccount: z.lazy(() => GitAccount$inboundSchema), + repos: z.array(z.lazy(() => Repos$inboundSchema)), + }) +); export function searchRepoResponseBody3FromJSON( jsonString: string, @@ -467,17 +501,19 @@ export function searchRepoResponseBody3FromJSON( /** @internal */ export const ResponseBodyCode$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyCode -> = z.nativeEnum(ResponseBodyCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyCode)); /** @internal */ export const SearchRepoResponseBodyError$inboundSchema: z.ZodType< SearchRepoResponseBodyError, z.ZodTypeDef, unknown -> = z.object({ - code: ResponseBodyCode$inboundSchema, - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: ResponseBodyCode$inboundSchema, + message: types.string(), + }) +); export function searchRepoResponseBodyErrorFromJSON( jsonString: string, @@ -494,9 +530,11 @@ export const SearchRepoResponseBody2$inboundSchema: z.ZodType< SearchRepoResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => SearchRepoResponseBodyError$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => SearchRepoResponseBodyError$inboundSchema), + }) +); export function searchRepoResponseBody2FromJSON( jsonString: string, @@ -513,7 +551,7 @@ export const SearchRepoResponseBody1$inboundSchema: z.ZodType< SearchRepoResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function searchRepoResponseBody1FromJSON( jsonString: string, @@ -530,12 +568,14 @@ export const SearchRepoResponseBody$inboundSchema: z.ZodType< SearchRepoResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => SearchRepoResponseBody3$inboundSchema), - z.lazy(() => ResponseBody4$inboundSchema), - z.lazy(() => SearchRepoResponseBody2$inboundSchema), - z.lazy(() => SearchRepoResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => SearchRepoResponseBody3$inboundSchema), + z.lazy(() => ResponseBody4$inboundSchema), + z.lazy(() => SearchRepoResponseBody2$inboundSchema), + z.lazy(() => SearchRepoResponseBody1$inboundSchema), + ]) +); export function searchRepoResponseBodyFromJSON( jsonString: string, diff --git a/src/models/searchvercelcilogsop.ts b/src/models/searchvercelcilogsop.ts index 7a6a26b391..a080f57e3f 100644 --- a/src/models/searchvercelcilogsop.ts +++ b/src/models/searchvercelcilogsop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -266,7 +266,9 @@ export type SearchVercelCiLogsResponseBody = { /** @internal */ export const SearchVercelCiLogsQueryParamLevel$outboundSchema: z.ZodNativeEnum< typeof SearchVercelCiLogsQueryParamLevel -> = z.nativeEnum(SearchVercelCiLogsQueryParamLevel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SearchVercelCiLogsQueryParamLevel) +); /** @internal */ export type SearchVercelCiLogsRequest$Outbound = { @@ -282,13 +284,15 @@ export const SearchVercelCiLogsRequest$outboundSchema: z.ZodType< SearchVercelCiLogsRequest$Outbound, z.ZodTypeDef, SearchVercelCiLogsRequest -> = z.object({ - invocation: z.array(z.string()), - search: z.string(), - level: z.array(SearchVercelCiLogsQueryParamLevel$outboundSchema).optional(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocation: z.array(z.string()), + search: z.string(), + level: z.array(SearchVercelCiLogsQueryParamLevel$outboundSchema).optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function searchVercelCiLogsRequestToJSON( searchVercelCiLogsRequest: SearchVercelCiLogsRequest, @@ -301,10 +305,12 @@ export function searchVercelCiLogsRequestToJSON( /** @internal */ export const SearchVercelCiLogsVercelCiResponse500Error$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - message: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function searchVercelCiLogsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -328,33 +334,37 @@ export const SearchVercelCiLogsVercelCiResponse500ResponseBody$inboundSchema: SearchVercelCiLogsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - SearchVercelCiLogsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new SearchVercelCiLogsVercelCiResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + SearchVercelCiLogsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new SearchVercelCiLogsVercelCiResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const SearchVercelCiLogsVercelCiResponseError$inboundSchema: z.ZodType< SearchVercelCiLogsVercelCiResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function searchVercelCiLogsVercelCiResponseErrorFromJSON( jsonString: string, @@ -378,29 +388,35 @@ export const SearchVercelCiLogsVercelCiResponse429ResponseBody$inboundSchema: SearchVercelCiLogsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => SearchVercelCiLogsVercelCiResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new SearchVercelCiLogsVercelCiResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + SearchVercelCiLogsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new SearchVercelCiLogsVercelCiResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const SearchVercelCiLogsVercelCiError$inboundSchema: z.ZodType< SearchVercelCiLogsVercelCiError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function searchVercelCiLogsVercelCiErrorFromJSON( jsonString: string, @@ -418,29 +434,33 @@ export const SearchVercelCiLogsVercelCiResponseResponseBody$inboundSchema: SearchVercelCiLogsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => SearchVercelCiLogsVercelCiError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new SearchVercelCiLogsVercelCiResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => SearchVercelCiLogsVercelCiError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new SearchVercelCiLogsVercelCiResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const SearchVercelCiLogsError$inboundSchema: z.ZodType< SearchVercelCiLogsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function searchVercelCiLogsErrorFromJSON( jsonString: string, @@ -457,29 +477,33 @@ export const SearchVercelCiLogsVercelCiResponseBody$inboundSchema: z.ZodType< SearchVercelCiLogsVercelCiResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => SearchVercelCiLogsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new SearchVercelCiLogsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => SearchVercelCiLogsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new SearchVercelCiLogsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const SearchVercelCiLogsConclusion4$inboundSchema: z.ZodType< SearchVercelCiLogsConclusion4, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("skipped"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("skipped"), + reason: types.string(), + }) +); export function searchVercelCiLogsConclusion4FromJSON( jsonString: string, @@ -496,10 +520,12 @@ export const SearchVercelCiLogsConclusion3$inboundSchema: z.ZodType< SearchVercelCiLogsConclusion3, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("failed"), - reason: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("failed"), + reason: types.string(), + }) +); export function searchVercelCiLogsConclusion3FromJSON( jsonString: string, @@ -516,9 +542,11 @@ export const SearchVercelCiLogsConclusion2$inboundSchema: z.ZodType< SearchVercelCiLogsConclusion2, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("cached"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("cached"), + }) +); export function searchVercelCiLogsConclusion2FromJSON( jsonString: string, @@ -535,9 +563,11 @@ export const SearchVercelCiLogsConclusion1$inboundSchema: z.ZodType< SearchVercelCiLogsConclusion1, z.ZodTypeDef, unknown -> = z.object({ - result: types.literal("succeeded"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + result: types.literal("succeeded"), + }) +); export function searchVercelCiLogsConclusion1FromJSON( jsonString: string, @@ -554,12 +584,14 @@ export const SearchVercelCiLogsConclusion$inboundSchema: z.ZodType< SearchVercelCiLogsConclusion, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => SearchVercelCiLogsConclusion1$inboundSchema), - z.lazy(() => SearchVercelCiLogsConclusion2$inboundSchema), - z.lazy(() => SearchVercelCiLogsConclusion3$inboundSchema), - z.lazy(() => SearchVercelCiLogsConclusion4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => SearchVercelCiLogsConclusion1$inboundSchema), + z.lazy(() => SearchVercelCiLogsConclusion2$inboundSchema), + z.lazy(() => SearchVercelCiLogsConclusion3$inboundSchema), + z.lazy(() => SearchVercelCiLogsConclusion4$inboundSchema), + ]) +); export function searchVercelCiLogsConclusionFromJSON( jsonString: string, @@ -576,11 +608,13 @@ export const SearchVercelCiLogsLines$inboundSchema: z.ZodType< SearchVercelCiLogsLines, z.ZodTypeDef, unknown -> = z.object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) +); export function searchVercelCiLogsLinesFromJSON( jsonString: string, @@ -597,23 +631,25 @@ export const SearchVercelCiLogsTasks$inboundSchema: z.ZodType< SearchVercelCiLogsTasks, z.ZodTypeDef, unknown -> = z.object({ - jobDefinitionId: types.string(), - jobName: types.string(), - jobRunAttempt: types.number(), - taskDefinitionId: types.string(), - taskName: types.string(), - taskRunAttempt: types.optional(types.number()), - conclusion: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + jobDefinitionId: types.string(), + jobName: types.string(), + jobRunAttempt: types.number(), + taskDefinitionId: types.string(), + taskName: types.string(), + taskRunAttempt: types.optional(types.number()), + conclusion: types.optional(z.union([ z.lazy(() => SearchVercelCiLogsConclusion1$inboundSchema), z.lazy(() => SearchVercelCiLogsConclusion2$inboundSchema), z.lazy(() => SearchVercelCiLogsConclusion3$inboundSchema), z.lazy(() => SearchVercelCiLogsConclusion4$inboundSchema), - ]), - ), - lines: z.array(z.lazy(() => SearchVercelCiLogsLines$inboundSchema)), -}); + ])), + lines: z.array(z.lazy(() => + SearchVercelCiLogsLines$inboundSchema + )), + }) +); export function searchVercelCiLogsTasksFromJSON( jsonString: string, @@ -630,11 +666,13 @@ export const SearchVercelCiLogsVercelCiLines$inboundSchema: z.ZodType< SearchVercelCiLogsVercelCiLines, z.ZodTypeDef, unknown -> = z.object({ - level: types.string(), - timestamp: types.number(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: types.string(), + timestamp: types.number(), + message: types.string(), + }) +); export function searchVercelCiLogsVercelCiLinesFromJSON( jsonString: string, @@ -647,10 +685,14 @@ export function searchVercelCiLogsVercelCiLinesFromJSON( } /** @internal */ -export const Setup$inboundSchema: z.ZodType = z - .object({ - lines: z.array(z.lazy(() => SearchVercelCiLogsVercelCiLines$inboundSchema)), - }); +export const Setup$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + lines: z.array( + z.lazy(() => SearchVercelCiLogsVercelCiLines$inboundSchema), + ), + }) + ); export function setupFromJSON( jsonString: string, @@ -667,12 +709,14 @@ export const SearchVercelCiLogsInvocations$inboundSchema: z.ZodType< SearchVercelCiLogsInvocations, z.ZodTypeDef, unknown -> = z.object({ - invocationId: types.string(), - attempt: types.number(), - tasks: z.array(z.lazy(() => SearchVercelCiLogsTasks$inboundSchema)), - setup: types.optional(z.lazy(() => Setup$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationId: types.string(), + attempt: types.number(), + tasks: z.array(z.lazy(() => SearchVercelCiLogsTasks$inboundSchema)), + setup: types.optional(z.lazy(() => Setup$inboundSchema)), + }) +); export function searchVercelCiLogsInvocationsFromJSON( jsonString: string, @@ -689,12 +733,14 @@ export const SearchVercelCiLogsResponseBody$inboundSchema: z.ZodType< SearchVercelCiLogsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invocations: z.array( - z.lazy(() => SearchVercelCiLogsInvocations$inboundSchema), - ), - hasMore: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocations: z.array( + z.lazy(() => SearchVercelCiLogsInvocations$inboundSchema), + ), + hasMore: types.boolean(), + }) +); export function searchVercelCiLogsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/security.ts b/src/models/security.ts index 379f17c51f..b881d6b9e4 100644 --- a/src/models/security.ts +++ b/src/models/security.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type Security = { bearerToken?: string | undefined; @@ -18,9 +19,11 @@ export const Security$outboundSchema: z.ZodType< Security$Outbound, z.ZodTypeDef, Security -> = z.object({ - bearerToken: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bearerToken: z.string().optional(), + }) +); export function securityToJSON(security: Security): string { return JSON.stringify(Security$outboundSchema.parse(security)); diff --git a/src/models/segment.ts b/src/models/segment.ts index 6ae40266fe..50f5c8d5b1 100644 --- a/src/models/segment.ts +++ b/src/models/segment.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -181,10 +181,12 @@ export const ExcludeT$inboundSchema: z.ZodType< ExcludeT, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function excludeFromJSON( jsonString: string, @@ -198,10 +200,12 @@ export function excludeFromJSON( /** @internal */ export const Include$inboundSchema: z.ZodType = - z.object({ - note: types.optional(types.string()), - value: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) + ); export function includeFromJSON( jsonString: string, @@ -214,17 +218,19 @@ export function includeFromJSON( } /** @internal */ -export const SegmentCmp$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SegmentCmp); +export const SegmentCmp$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SegmentCmp)); /** @internal */ export const SegmentCmpOptions$inboundSchema: z.ZodType< SegmentCmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function segmentCmpOptionsFromJSON( jsonString: string, @@ -241,11 +247,13 @@ export const SegmentLhs2$inboundSchema: z.ZodType< SegmentLhs2, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) +); export function segmentLhs2FromJSON( jsonString: string, @@ -262,9 +270,11 @@ export const SegmentLhs1$inboundSchema: z.ZodType< SegmentLhs1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("segment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) +); export function segmentLhs1FromJSON( jsonString: string, @@ -281,10 +291,12 @@ export const SegmentLhs$inboundSchema: z.ZodType< SegmentLhs, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => SegmentLhs1$inboundSchema), - z.lazy(() => SegmentLhs2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => SegmentLhs1$inboundSchema), + z.lazy(() => SegmentLhs2$inboundSchema), + ]) +); export function segmentLhsFromJSON( jsonString: string, @@ -299,18 +311,20 @@ export function segmentLhsFromJSON( /** @internal */ export const SegmentRhsDataType$inboundSchema: z.ZodNativeEnum< typeof SegmentRhsDataType -> = z.nativeEnum(SegmentRhsDataType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SegmentRhsDataType)); /** @internal */ export const SegmentRhs4$inboundSchema: z.ZodType< SegmentRhs4, z.ZodTypeDef, unknown -> = z.object({ - flags: types.string(), - pattern: types.string(), - type: SegmentRhsDataType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: SegmentRhsDataType$inboundSchema, + }) +); export function segmentRhs4FromJSON( jsonString: string, @@ -327,11 +341,13 @@ export const SegmentItems2$inboundSchema: z.ZodType< SegmentItems2, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) +); export function segmentItems2FromJSON( jsonString: string, @@ -348,11 +364,13 @@ export const SegmentItems1$inboundSchema: z.ZodType< SegmentItems1, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) +); export function segmentItems1FromJSON( jsonString: string, @@ -369,10 +387,12 @@ export const SegmentRhsItems$inboundSchema: z.ZodType< SegmentRhsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => SegmentItems1$inboundSchema), - z.lazy(() => SegmentItems2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => SegmentItems1$inboundSchema), + z.lazy(() => SegmentItems2$inboundSchema), + ]) +); export function segmentRhsItemsFromJSON( jsonString: string, @@ -387,22 +407,22 @@ export function segmentRhsItemsFromJSON( /** @internal */ export const SegmentRhsType$inboundSchema: z.ZodNativeEnum< typeof SegmentRhsType -> = z.nativeEnum(SegmentRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SegmentRhsType)); /** @internal */ export const SegmentRhs3$inboundSchema: z.ZodType< SegmentRhs3, z.ZodTypeDef, unknown -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => SegmentItems1$inboundSchema), z.lazy(() => SegmentItems2$inboundSchema), - ]), - ), - type: SegmentRhsType$inboundSchema, -}); + ])), + type: SegmentRhsType$inboundSchema, + }) +); export function segmentRhs3FromJSON( jsonString: string, @@ -419,13 +439,15 @@ export const SegmentRhs$inboundSchema: z.ZodType< SegmentRhs, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => SegmentRhs4$inboundSchema), - z.lazy(() => SegmentRhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => SegmentRhs4$inboundSchema), + z.lazy(() => SegmentRhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function segmentRhsFromJSON( jsonString: string, @@ -442,23 +464,23 @@ export const SegmentConditions$inboundSchema: z.ZodType< SegmentConditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: SegmentCmp$inboundSchema, - cmpOptions: types.optional(z.lazy(() => SegmentCmpOptions$inboundSchema)), - lhs: z.union([ - z.lazy(() => SegmentLhs1$inboundSchema), - z.lazy(() => SegmentLhs2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: SegmentCmp$inboundSchema, + cmpOptions: types.optional(z.lazy(() => SegmentCmpOptions$inboundSchema)), + lhs: z.union([ + z.lazy(() => SegmentLhs1$inboundSchema), + z.lazy(() => SegmentLhs2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => SegmentRhs4$inboundSchema), z.lazy(() => SegmentRhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function segmentConditionsFromJSON( jsonString: string, @@ -473,18 +495,22 @@ export function segmentConditionsFromJSON( /** @internal */ export const SegmentOutcomeDataRulesType$inboundSchema: z.ZodNativeEnum< typeof SegmentOutcomeDataRulesType -> = z.nativeEnum(SegmentOutcomeDataRulesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SegmentOutcomeDataRulesType) +); /** @internal */ export const SegmentOutcomeBase$inboundSchema: z.ZodType< SegmentOutcomeBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: SegmentOutcomeDataRulesType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: SegmentOutcomeDataRulesType$inboundSchema, + }) +); export function segmentOutcomeBaseFromJSON( jsonString: string, @@ -501,11 +527,13 @@ export const SegmentOutcome2$inboundSchema: z.ZodType< SegmentOutcome2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => SegmentOutcomeBase$inboundSchema), - passPromille: types.number(), - type: types.literal("split"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => SegmentOutcomeBase$inboundSchema), + passPromille: types.number(), + type: types.literal("split"), + }) +); export function segmentOutcome2FromJSON( jsonString: string, @@ -522,9 +550,11 @@ export const SegmentOutcome1$inboundSchema: z.ZodType< SegmentOutcome1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("all"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("all"), + }) +); export function segmentOutcome1FromJSON( jsonString: string, @@ -541,10 +571,12 @@ export const SegmentOutcome$inboundSchema: z.ZodType< SegmentOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => SegmentOutcome1$inboundSchema), - z.lazy(() => SegmentOutcome2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => SegmentOutcome1$inboundSchema), + z.lazy(() => SegmentOutcome2$inboundSchema), + ]) +); export function segmentOutcomeFromJSON( jsonString: string, @@ -561,14 +593,16 @@ export const SegmentRules$inboundSchema: z.ZodType< SegmentRules, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array(z.lazy(() => SegmentConditions$inboundSchema)), - id: types.string(), - outcome: z.union([ - z.lazy(() => SegmentOutcome1$inboundSchema), - z.lazy(() => SegmentOutcome2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => SegmentConditions$inboundSchema)), + id: types.string(), + outcome: z.union([ + z.lazy(() => SegmentOutcome1$inboundSchema), + z.lazy(() => SegmentOutcome2$inboundSchema), + ]), + }) +); export function segmentRulesFromJSON( jsonString: string, @@ -581,16 +615,18 @@ export function segmentRulesFromJSON( } /** @internal */ -export const Data$inboundSchema: z.ZodType = z - .object({ - exclude: types.optional( - z.record(z.record(z.array(z.lazy(() => ExcludeT$inboundSchema)))), - ), - include: types.optional( - z.record(z.record(z.array(z.lazy(() => Include$inboundSchema)))), - ), - rules: types.optional(z.array(z.lazy(() => SegmentRules$inboundSchema))), - }); +export const Data$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + exclude: types.optional( + z.record(z.record(z.array(z.lazy(() => ExcludeT$inboundSchema)))), + ), + include: types.optional( + z.record(z.record(z.array(z.lazy(() => Include$inboundSchema)))), + ), + rules: types.optional(z.array(z.lazy(() => SegmentRules$inboundSchema))), + }) + ); export function dataFromJSON( jsonString: string, @@ -605,17 +641,19 @@ export function dataFromJSON( /** @internal */ export const SegmentTypeName$inboundSchema: z.ZodNativeEnum< typeof SegmentTypeName -> = z.nativeEnum(SegmentTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SegmentTypeName)); /** @internal */ export const SegmentCreator$inboundSchema: z.ZodType< SegmentCreator, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function segmentCreatorFromJSON( jsonString: string, @@ -632,9 +670,11 @@ export const SegmentMetadata$inboundSchema: z.ZodType< SegmentMetadata, z.ZodTypeDef, unknown -> = z.object({ - creator: types.optional(z.lazy(() => SegmentCreator$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + creator: types.optional(z.lazy(() => SegmentCreator$inboundSchema)), + }) +); export function segmentMetadataFromJSON( jsonString: string, @@ -648,22 +688,24 @@ export function segmentMetadataFromJSON( /** @internal */ export const Segment$inboundSchema: z.ZodType = - z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - data: z.lazy(() => Data$inboundSchema), - description: types.optional(types.string()), - hint: types.string(), - id: types.string(), - label: types.string(), - projectId: types.string(), - slug: types.string(), - typeName: SegmentTypeName$inboundSchema, - updatedAt: types.number(), - usedByFlags: types.optional(z.array(types.string())), - usedBySegments: types.optional(z.array(types.string())), - metadata: types.optional(z.lazy(() => SegmentMetadata$inboundSchema)), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + data: z.lazy(() => Data$inboundSchema), + description: types.optional(types.string()), + hint: types.string(), + id: types.string(), + label: types.string(), + projectId: types.string(), + slug: types.string(), + typeName: SegmentTypeName$inboundSchema, + updatedAt: types.number(), + usedByFlags: types.optional(z.array(types.string())), + usedBySegments: types.optional(z.array(types.string())), + metadata: types.optional(z.lazy(() => SegmentMetadata$inboundSchema)), + }) + ); export function segmentFromJSON( jsonString: string, diff --git a/src/models/session.ts b/src/models/session.ts index e8a1578115..bd8b4f207c 100644 --- a/src/models/session.ts +++ b/src/models/session.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -50,6 +50,21 @@ export const SessionStatus = { */ export type SessionStatus = ClosedEnum; +/** + * Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform. + */ +export const StopReason = { + Error: "error", + Exited: "exited", + Requested: "requested", + Snapshot: "snapshot", + Timeout: "timeout", +} as const; +/** + * Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform. + */ +export type StopReason = ClosedEnum; + /** * The workload type of this sandbox. */ @@ -150,6 +165,10 @@ export type Session = { * The time when the sandbox was stopped, in milliseconds since the epoch. */ stoppedAt?: number | undefined; + /** + * Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform. + */ + stopReason?: StopReason | undefined; /** * The maximum amount of time the sandbox will run for in milliseconds. */ @@ -171,17 +190,19 @@ export type Session = { /** @internal */ export const SessionArchitecture$inboundSchema: z.ZodNativeEnum< typeof SessionArchitecture -> = z.nativeEnum(SessionArchitecture); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SessionArchitecture)); /** @internal */ export const NetworkTransfer$inboundSchema: z.ZodType< NetworkTransfer, z.ZodTypeDef, unknown -> = z.object({ - egress: types.number(), - ingress: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + egress: types.number(), + ingress: types.number(), + }) +); export function networkTransferFromJSON( jsonString: string, @@ -196,44 +217,51 @@ export function networkTransferFromJSON( /** @internal */ export const SessionStatus$inboundSchema: z.ZodNativeEnum< typeof SessionStatus -> = z.nativeEnum(SessionStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SessionStatus)); + +/** @internal */ +export const StopReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StopReason)); /** @internal */ export const SessionWorkloadType$inboundSchema: z.ZodNativeEnum< typeof SessionWorkloadType -> = z.nativeEnum(SessionWorkloadType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SessionWorkloadType)); /** @internal */ export const Session$inboundSchema: z.ZodType = - z.object({ - abortedAt: types.optional(types.number()), - activeCpuDurationMs: types.optional(types.number()), - architecture: types.optional(SessionArchitecture$inboundSchema), - createdAt: types.number(), - cwd: types.string(), - duration: types.optional(types.number()), - id: types.string(), - memory: types.number(), - networkPolicy: types.optional(SandboxNetworkPolicy$inboundSchema), - networkTransfer: types.optional( - z.lazy(() => NetworkTransfer$inboundSchema), - ), - projectId: types.string(), - region: types.string(), - requestedAt: types.number(), - requestedStopAt: types.optional(types.number()), - runtime: types.string(), - snapshottedAt: types.optional(types.number()), - sourceSandboxName: types.string(), - sourceSnapshotId: types.optional(types.string()), - startedAt: types.optional(types.number()), - status: SessionStatus$inboundSchema, - stoppedAt: types.optional(types.number()), - timeout: types.number(), - updatedAt: types.number(), - vcpus: types.number(), - workloadType: types.optional(SessionWorkloadType$inboundSchema), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + abortedAt: types.optional(types.number()), + activeCpuDurationMs: types.optional(types.number()), + architecture: types.optional(SessionArchitecture$inboundSchema), + createdAt: types.number(), + cwd: types.string(), + duration: types.optional(types.number()), + id: types.string(), + memory: types.number(), + networkPolicy: types.optional(SandboxNetworkPolicy$inboundSchema), + networkTransfer: types.optional( + z.lazy(() => NetworkTransfer$inboundSchema), + ), + projectId: types.string(), + region: types.string(), + requestedAt: types.number(), + requestedStopAt: types.optional(types.number()), + runtime: types.string(), + snapshottedAt: types.optional(types.number()), + sourceSandboxName: types.string(), + sourceSnapshotId: types.optional(types.string()), + startedAt: types.optional(types.number()), + status: SessionStatus$inboundSchema, + stoppedAt: types.optional(types.number()), + stopReason: types.optional(StopReason$inboundSchema), + timeout: types.number(), + updatedAt: types.number(), + vcpus: types.number(), + workloadType: types.optional(SessionWorkloadType$inboundSchema), + }) + ); export function sessionFromJSON( jsonString: string, diff --git a/src/models/sessioncommand.ts b/src/models/sessioncommand.ts index 0dd176cf78..f4ab136f80 100644 --- a/src/models/sessioncommand.ts +++ b/src/models/sessioncommand.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -51,16 +51,18 @@ export const SessionCommand$inboundSchema: z.ZodType< SessionCommand, z.ZodTypeDef, unknown -> = z.object({ - args: z.array(types.string()), - cwd: types.string(), - durationMs: types.optional(types.number()), - exitCode: types.nullable(types.number()), - id: types.string(), - name: types.string(), - sessionId: types.string(), - startedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + args: z.array(types.string()), + cwd: types.string(), + durationMs: types.optional(types.number()), + exitCode: types.nullable(types.number()), + id: types.string(), + name: types.string(), + sessionId: types.string(), + startedAt: types.number(), + }) +); export function sessionCommandFromJSON( jsonString: string, diff --git a/src/models/signflagoverridesop.ts b/src/models/signflagoverridesop.ts new file mode 100644 index 0000000000..9c0c5126fb --- /dev/null +++ b/src/models/signflagoverridesop.ts @@ -0,0 +1,152 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import * as types from "../types/primitives.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +/** + * The value of each overridden flag, by flag key + */ +export type Overrides = {}; + +export type SignFlagOverridesRequestBody = { + /** + * The value of each overridden flag, by flag key + */ + overrides: Overrides; + /** + * production, preview, development or the slug of a custom environment. Defaults to the environment of a Vercel OIDC token. + */ + environment?: string | undefined; + /** + * Seconds until the overrides expire. Defaults to one hour, at most one day. + */ + ttl?: number | undefined; +}; + +export type SignFlagOverridesRequest = { + /** + * The project id or name + */ + projectIdOrName: string; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; + requestBody?: SignFlagOverridesRequestBody | undefined; +}; + +export type SignFlagOverridesResponseBody = { + expiresIn: number; + token: string; +}; + +/** @internal */ +export type Overrides$Outbound = {}; + +/** @internal */ +export const Overrides$outboundSchema: z.ZodType< + Overrides$Outbound, + z.ZodTypeDef, + Overrides +> = /* @__PURE__ */ lazySchema$(() => z.object({})); + +export function overridesToJSON(overrides: Overrides): string { + return JSON.stringify(Overrides$outboundSchema.parse(overrides)); +} + +/** @internal */ +export type SignFlagOverridesRequestBody$Outbound = { + overrides: Overrides$Outbound; + environment?: string | undefined; + ttl?: number | undefined; +}; + +/** @internal */ +export const SignFlagOverridesRequestBody$outboundSchema: z.ZodType< + SignFlagOverridesRequestBody$Outbound, + z.ZodTypeDef, + SignFlagOverridesRequestBody +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + overrides: z.lazy(() => Overrides$outboundSchema), + environment: z.string().optional(), + ttl: z.number().int().optional(), + }) +); + +export function signFlagOverridesRequestBodyToJSON( + signFlagOverridesRequestBody: SignFlagOverridesRequestBody, +): string { + return JSON.stringify( + SignFlagOverridesRequestBody$outboundSchema.parse( + signFlagOverridesRequestBody, + ), + ); +} + +/** @internal */ +export type SignFlagOverridesRequest$Outbound = { + projectIdOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: SignFlagOverridesRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const SignFlagOverridesRequest$outboundSchema: z.ZodType< + SignFlagOverridesRequest$Outbound, + z.ZodTypeDef, + SignFlagOverridesRequest +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => SignFlagOverridesRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); + +export function signFlagOverridesRequestToJSON( + signFlagOverridesRequest: SignFlagOverridesRequest, +): string { + return JSON.stringify( + SignFlagOverridesRequest$outboundSchema.parse(signFlagOverridesRequest), + ); +} + +/** @internal */ +export const SignFlagOverridesResponseBody$inboundSchema: z.ZodType< + SignFlagOverridesResponseBody, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresIn: types.number(), + token: types.string(), + }) +); + +export function signFlagOverridesResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SignFlagOverridesResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SignFlagOverridesResponseBody' from JSON`, + ); +} diff --git a/src/models/signkmsmessageop.ts b/src/models/signkmsmessageop.ts index 80fcd92e64..53b1a5eb83 100644 --- a/src/models/signkmsmessageop.ts +++ b/src/models/signkmsmessageop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -53,9 +53,11 @@ export const SignKmsMessageRequestBody$outboundSchema: z.ZodType< SignKmsMessageRequestBody$Outbound, z.ZodTypeDef, SignKmsMessageRequestBody -> = z.object({ - message: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + message: z.string(), + }) +); export function signKmsMessageRequestBodyToJSON( signKmsMessageRequestBody: SignKmsMessageRequestBody, @@ -76,15 +78,17 @@ export const SignKmsMessageRequest$outboundSchema: z.ZodType< SignKmsMessageRequest$Outbound, z.ZodTypeDef, SignKmsMessageRequest -> = z.object({ - issuerId: z.string(), - requestBody: z.lazy(() => SignKmsMessageRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + requestBody: z.lazy(() => SignKmsMessageRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function signKmsMessageRequestToJSON( signKmsMessageRequest: SignKmsMessageRequest, @@ -99,12 +103,14 @@ export const SignKmsMessageResponseBody$inboundSchema: z.ZodType< SignKmsMessageResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: types.string(), - fingerprint: types.string(), - keyId: types.string(), - signature: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: types.string(), + fingerprint: types.string(), + keyId: types.string(), + signature: types.string(), + }) +); export function signKmsMessageResponseBodyFromJSON( jsonString: string, diff --git a/src/models/signkmstokenop.ts b/src/models/signkmstokenop.ts index 2d180c9144..a79346cc09 100644 --- a/src/models/signkmstokenop.ts +++ b/src/models/signkmstokenop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -69,7 +69,7 @@ export const SignKmsTokenClaims$outboundSchema: z.ZodType< SignKmsTokenClaims$Outbound, z.ZodTypeDef, SignKmsTokenClaims -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function signKmsTokenClaimsToJSON( signKmsTokenClaims: SignKmsTokenClaims, @@ -87,7 +87,7 @@ export const Headers$outboundSchema: z.ZodType< Headers$Outbound, z.ZodTypeDef, Headers -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function headersToJSON(headers: Headers): string { return JSON.stringify(Headers$outboundSchema.parse(headers)); @@ -105,11 +105,13 @@ export const SignKmsTokenRequestBody$outboundSchema: z.ZodType< SignKmsTokenRequestBody$Outbound, z.ZodTypeDef, SignKmsTokenRequestBody -> = z.object({ - claims: z.lazy(() => SignKmsTokenClaims$outboundSchema).optional(), - headers: z.lazy(() => Headers$outboundSchema).optional(), - ttl: z.nullable(z.number().default(300)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + claims: z.lazy(() => SignKmsTokenClaims$outboundSchema).optional(), + headers: z.lazy(() => Headers$outboundSchema).optional(), + ttl: z.nullable(z.number().default(300)), + }) +); export function signKmsTokenRequestBodyToJSON( signKmsTokenRequestBody: SignKmsTokenRequestBody, @@ -130,14 +132,17 @@ export const SignKmsTokenRequest$outboundSchema: z.ZodType< SignKmsTokenRequest$Outbound, z.ZodTypeDef, SignKmsTokenRequest -> = z.object({ - issuerId: z.string(), - requestBody: z.lazy(() => SignKmsTokenRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + requestBody: z.lazy(() => SignKmsTokenRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function signKmsTokenRequestToJSON( signKmsTokenRequest: SignKmsTokenRequest, @@ -152,12 +157,14 @@ export const SignKmsTokenResponseBody$inboundSchema: z.ZodType< SignKmsTokenResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: types.string(), - fingerprint: types.string(), - keyId: types.string(), - token: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: types.string(), + fingerprint: types.string(), + keyId: types.string(), + token: types.string(), + }) +); export function signKmsTokenResponseBodyFromJSON( jsonString: string, diff --git a/src/models/snapshot.ts b/src/models/snapshot.ts index 5926ebf354..52d1126720 100644 --- a/src/models/snapshot.ts +++ b/src/models/snapshot.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -123,44 +123,46 @@ export type Snapshot = { /** @internal */ export const SnapshotArchitecture$inboundSchema: z.ZodNativeEnum< typeof SnapshotArchitecture -> = z.nativeEnum(SnapshotArchitecture); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SnapshotArchitecture)); /** @internal */ export const CreationMethod$inboundSchema: z.ZodNativeEnum< typeof CreationMethod -> = z.nativeEnum(CreationMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreationMethod)); /** @internal */ export const SnapshotStatus$inboundSchema: z.ZodNativeEnum< typeof SnapshotStatus -> = z.nativeEnum(SnapshotStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SnapshotStatus)); /** @internal */ export const SnapshotWorkloadType$inboundSchema: z.ZodNativeEnum< typeof SnapshotWorkloadType -> = z.nativeEnum(SnapshotWorkloadType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SnapshotWorkloadType)); /** @internal */ export const Snapshot$inboundSchema: z.ZodType< Snapshot, z.ZodTypeDef, unknown -> = z.object({ - architecture: types.optional(SnapshotArchitecture$inboundSchema), - createdAt: types.number(), - creationMethod: types.optional(CreationMethod$inboundSchema), - expiresAt: types.optional(types.number()), - id: types.string(), - lastUsedAt: types.number(), - parentId: types.optional(types.string()), - region: types.optional(types.string()), - regions: types.optional(z.array(types.string())), - sizeBytes: types.number(), - sourceSessionId: types.string(), - status: SnapshotStatus$inboundSchema, - updatedAt: types.number(), - workloadType: types.optional(SnapshotWorkloadType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + architecture: types.optional(SnapshotArchitecture$inboundSchema), + createdAt: types.number(), + creationMethod: types.optional(CreationMethod$inboundSchema), + expiresAt: types.optional(types.number()), + id: types.string(), + lastUsedAt: types.number(), + parentId: types.optional(types.string()), + region: types.optional(types.string()), + regions: types.optional(z.array(types.string())), + sizeBytes: types.number(), + sourceSessionId: types.string(), + status: SnapshotStatus$inboundSchema, + updatedAt: types.number(), + workloadType: types.optional(SnapshotWorkloadType$inboundSchema), + }) +); export function snapshotFromJSON( jsonString: string, diff --git a/src/models/stageredirectsop.ts b/src/models/stageredirectsop.ts index 6571b62976..8c40d06014 100644 --- a/src/models/stageredirectsop.ts +++ b/src/models/stageredirectsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -88,7 +88,7 @@ export const StatusCode$outboundSchema: z.ZodType< StatusCode$Outbound, z.ZodTypeDef, StatusCode -> = smartUnion([z.number(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => smartUnion([z.number(), z.string()])); export function statusCodeToJSON(statusCode: StatusCode): string { return JSON.stringify(StatusCode$outboundSchema.parse(statusCode)); @@ -110,15 +110,17 @@ export const Redirects$outboundSchema: z.ZodType< Redirects$Outbound, z.ZodTypeDef, Redirects -> = z.object({ - source: z.string(), - destination: z.string(), - statusCode: smartUnion([z.number(), z.string()]).optional(), - permanent: z.boolean().optional(), - caseSensitive: z.boolean().optional(), - query: z.boolean().optional(), - preserveQueryParams: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + source: z.string(), + destination: z.string(), + statusCode: smartUnion([z.number(), z.string()]).optional(), + permanent: z.boolean().optional(), + caseSensitive: z.boolean().optional(), + query: z.boolean().optional(), + preserveQueryParams: z.boolean().optional(), + }) +); export function redirectsToJSON(redirects: Redirects): string { return JSON.stringify(Redirects$outboundSchema.parse(redirects)); @@ -138,13 +140,15 @@ export const StageRedirectsRequestBody$outboundSchema: z.ZodType< StageRedirectsRequestBody$Outbound, z.ZodTypeDef, StageRedirectsRequestBody -> = z.object({ - projectId: z.string(), - teamId: z.string(), - overwrite: z.boolean().optional(), - name: z.string().optional(), - redirects: z.array(z.lazy(() => Redirects$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string(), + overwrite: z.boolean().optional(), + name: z.string().optional(), + redirects: z.array(z.lazy(() => Redirects$outboundSchema)).optional(), + }) +); export function stageRedirectsRequestBodyToJSON( stageRedirectsRequestBody: StageRedirectsRequestBody, @@ -166,16 +170,18 @@ export const StageRedirectsRequest$outboundSchema: z.ZodType< StageRedirectsRequest$Outbound, z.ZodTypeDef, StageRedirectsRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => StageRedirectsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => StageRedirectsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function stageRedirectsRequestToJSON( stageRedirectsRequest: StageRedirectsRequest, @@ -187,17 +193,19 @@ export function stageRedirectsRequestToJSON( /** @internal */ export const Version$inboundSchema: z.ZodType = - z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) + ); export function versionFromJSON( jsonString: string, @@ -214,10 +222,12 @@ export const StageRedirectsResponseBody$inboundSchema: z.ZodType< StageRedirectsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - alias: types.nullable(types.string()), - version: z.lazy(() => Version$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.nullable(types.string()), + version: z.lazy(() => Version$inboundSchema), + }) +); export function stageRedirectsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/stageroutesop.ts b/src/models/stageroutesop.ts index 8daf19b433..fc6309c94d 100644 --- a/src/models/stageroutesop.ts +++ b/src/models/stageroutesop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -159,7 +159,7 @@ export const StageRoutesHeaders$outboundSchema: z.ZodType< StageRoutesHeaders$Outbound, z.ZodTypeDef, StageRoutesHeaders -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function stageRoutesHeadersToJSON( stageRoutesHeaders: StageRoutesHeaders, @@ -172,7 +172,7 @@ export function stageRoutesHeadersToJSON( /** @internal */ export const StageRoutesType$outboundSchema: z.ZodNativeEnum< typeof StageRoutesType -> = z.nativeEnum(StageRoutesType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StageRoutesType)); /** @internal */ export type StageRoutesHas$Outbound = { @@ -186,11 +186,13 @@ export const StageRoutesHas$outboundSchema: z.ZodType< StageRoutesHas$Outbound, z.ZodTypeDef, StageRoutesHas -> = z.object({ - type: StageRoutesType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: StageRoutesType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function stageRoutesHasToJSON(stageRoutesHas: StageRoutesHas): string { return JSON.stringify(StageRoutesHas$outboundSchema.parse(stageRoutesHas)); @@ -199,7 +201,9 @@ export function stageRoutesHasToJSON(stageRoutesHas: StageRoutesHas): string { /** @internal */ export const StageRoutesProjectRoutesType$outboundSchema: z.ZodNativeEnum< typeof StageRoutesProjectRoutesType -> = z.nativeEnum(StageRoutesProjectRoutesType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StageRoutesProjectRoutesType) +); /** @internal */ export type Missing$Outbound = { @@ -213,11 +217,13 @@ export const Missing$outboundSchema: z.ZodType< Missing$Outbound, z.ZodTypeDef, Missing -> = z.object({ - type: StageRoutesProjectRoutesType$outboundSchema.optional(), - key: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: StageRoutesProjectRoutesType$outboundSchema.optional(), + key: z.string().optional(), + value: z.string().optional(), + }) +); export function missingToJSON(missing: Missing): string { return JSON.stringify(Missing$outboundSchema.parse(missing)); @@ -225,12 +231,14 @@ export function missingToJSON(missing: Missing): string { /** @internal */ export const StageRoutesProjectRoutesRequestType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - StageRoutesProjectRoutesRequestType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StageRoutesProjectRoutesRequestType) + ); /** @internal */ -export const Op$outboundSchema: z.ZodNativeEnum = z.nativeEnum(Op); +export const Op$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Op)); /** @internal */ export type StageRoutesTarget$Outbound = {}; @@ -240,7 +248,7 @@ export const StageRoutesTarget$outboundSchema: z.ZodType< StageRoutesTarget$Outbound, z.ZodTypeDef, StageRoutesTarget -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function stageRoutesTargetToJSON( stageRoutesTarget: StageRoutesTarget, @@ -264,13 +272,15 @@ export const StageRoutesTransforms$outboundSchema: z.ZodType< StageRoutesTransforms$Outbound, z.ZodTypeDef, StageRoutesTransforms -> = z.object({ - type: StageRoutesProjectRoutesRequestType$outboundSchema.optional(), - op: Op$outboundSchema.optional(), - target: z.lazy(() => StageRoutesTarget$outboundSchema).optional(), - args: z.any().optional(), - env: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: StageRoutesProjectRoutesRequestType$outboundSchema.optional(), + op: Op$outboundSchema.optional(), + target: z.lazy(() => StageRoutesTarget$outboundSchema).optional(), + args: z.any().optional(), + env: z.array(z.string()).optional(), + }) +); export function stageRoutesTransformsToJSON( stageRoutesTransforms: StageRoutesTransforms, @@ -298,18 +308,20 @@ export const Route$outboundSchema: z.ZodType< Route$Outbound, z.ZodTypeDef, Route -> = z.object({ - src: z.string(), - dest: z.string().optional(), - headers: z.lazy(() => StageRoutesHeaders$outboundSchema).optional(), - caseSensitive: z.boolean().optional(), - status: z.number().int().optional(), - has: z.array(z.lazy(() => StageRoutesHas$outboundSchema)).optional(), - missing: z.array(z.lazy(() => Missing$outboundSchema)).optional(), - transforms: z.array(z.lazy(() => StageRoutesTransforms$outboundSchema)) - .optional(), - respectOriginCacheControl: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + src: z.string(), + dest: z.string().optional(), + headers: z.lazy(() => StageRoutesHeaders$outboundSchema).optional(), + caseSensitive: z.boolean().optional(), + status: z.number().int().optional(), + has: z.array(z.lazy(() => StageRoutesHas$outboundSchema)).optional(), + missing: z.array(z.lazy(() => Missing$outboundSchema)).optional(), + transforms: z.array(z.lazy(() => StageRoutesTransforms$outboundSchema)) + .optional(), + respectOriginCacheControl: z.boolean().optional(), + }) +); export function routeToJSON(route: Route): string { return JSON.stringify(Route$outboundSchema.parse(route)); @@ -329,13 +341,15 @@ export const Routes$outboundSchema: z.ZodType< Routes$Outbound, z.ZodTypeDef, Routes -> = z.object({ - id: z.string(), - name: z.string(), - description: z.string().optional(), - enabled: z.boolean().optional(), - route: z.lazy(() => Route$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + name: z.string(), + description: z.string().optional(), + enabled: z.boolean().optional(), + route: z.lazy(() => Route$outboundSchema), + }) +); export function routesToJSON(routes: Routes): string { return JSON.stringify(Routes$outboundSchema.parse(routes)); @@ -352,10 +366,12 @@ export const StageRoutesRequestBody$outboundSchema: z.ZodType< StageRoutesRequestBody$Outbound, z.ZodTypeDef, StageRoutesRequestBody -> = z.object({ - overwrite: z.boolean().optional(), - routes: z.array(z.lazy(() => Routes$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + overwrite: z.boolean().optional(), + routes: z.array(z.lazy(() => Routes$outboundSchema)).optional(), + }) +); export function stageRoutesRequestBodyToJSON( stageRoutesRequestBody: StageRoutesRequestBody, @@ -378,16 +394,18 @@ export const StageRoutesRequest$outboundSchema: z.ZodType< StageRoutesRequest$Outbound, z.ZodTypeDef, StageRoutesRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => StageRoutesRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => StageRoutesRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function stageRoutesRequestToJSON( stageRoutesRequest: StageRoutesRequest, @@ -402,16 +420,18 @@ export const StageRoutesVersion$inboundSchema: z.ZodType< StageRoutesVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function stageRoutesVersionFromJSON( jsonString: string, @@ -428,9 +448,11 @@ export const StageRoutesResponseBody$inboundSchema: z.ZodType< StageRoutesResponseBody, z.ZodTypeDef, unknown -> = z.object({ - version: z.lazy(() => StageRoutesVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.lazy(() => StageRoutesVersion$inboundSchema), + }) +); export function stageRoutesResponseBodyFromJSON( jsonString: string, diff --git a/src/models/startrollingreleaseop.ts b/src/models/startrollingreleaseop.ts index e88cf41616..14590f781f 100644 --- a/src/models/startrollingreleaseop.ts +++ b/src/models/startrollingreleaseop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -419,9 +419,11 @@ export const StartRollingReleaseRequestBody$outboundSchema: z.ZodType< StartRollingReleaseRequestBody$Outbound, z.ZodTypeDef, StartRollingReleaseRequestBody -> = z.object({ - canaryDeploymentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryDeploymentId: z.string(), + }) +); export function startRollingReleaseRequestBodyToJSON( startRollingReleaseRequestBody: StartRollingReleaseRequestBody, @@ -446,17 +448,19 @@ export const StartRollingReleaseRequest$outboundSchema: z.ZodType< StartRollingReleaseRequest$Outbound, z.ZodTypeDef, StartRollingReleaseRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => StartRollingReleaseRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => StartRollingReleaseRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function startRollingReleaseRequestToJSON( startRollingReleaseRequest: StartRollingReleaseRequest, @@ -471,14 +475,16 @@ export const StartRollingReleaseActiveStage$inboundSchema: z.ZodType< StartRollingReleaseActiveStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function startRollingReleaseActiveStageFromJSON( jsonString: string, @@ -493,38 +499,44 @@ export function startRollingReleaseActiveStageFromJSON( /** @internal */ export const StartRollingReleaseAdvancementType$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseAdvancementType -> = z.nativeEnum(StartRollingReleaseAdvancementType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseAdvancementType) +); /** @internal */ export const StartRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseReadyState -> = z.nativeEnum(StartRollingReleaseReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseReadyState) +); /** @internal */ export const StartRollingReleaseSource$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseSource -> = z.nativeEnum(StartRollingReleaseSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StartRollingReleaseSource)); /** @internal */ export const StartRollingReleaseTarget$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseTarget -> = z.nativeEnum(StartRollingReleaseTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StartRollingReleaseTarget)); /** @internal */ export const StartRollingReleaseCanaryDeployment$inboundSchema: z.ZodType< StartRollingReleaseCanaryDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: StartRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(StartRollingReleaseSource$inboundSchema), - target: z.nullable(StartRollingReleaseTarget$inboundSchema).optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: StartRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional(StartRollingReleaseSource$inboundSchema), + target: z.nullable(StartRollingReleaseTarget$inboundSchema).optional(), + url: types.string(), + }) +); export function startRollingReleaseCanaryDeploymentFromJSON( jsonString: string, @@ -539,35 +551,45 @@ export function startRollingReleaseCanaryDeploymentFromJSON( /** @internal */ export const StartRollingReleaseRollingReleaseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(StartRollingReleaseRollingReleaseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseRollingReleaseReadyState) + ); /** @internal */ export const StartRollingReleaseRollingReleaseSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(StartRollingReleaseRollingReleaseSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseRollingReleaseSource) + ); /** @internal */ export const StartRollingReleaseRollingReleaseTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(StartRollingReleaseRollingReleaseTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseRollingReleaseTarget) + ); /** @internal */ export const StartRollingReleaseCurrentDeployment$inboundSchema: z.ZodType< StartRollingReleaseCurrentDeployment, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - readyState: StartRollingReleaseRollingReleaseReadyState$inboundSchema, - readyStateAt: types.optional(types.number()), - source: types.optional(StartRollingReleaseRollingReleaseSource$inboundSchema), - target: z.nullable(StartRollingReleaseRollingReleaseTarget$inboundSchema) - .optional(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + readyState: StartRollingReleaseRollingReleaseReadyState$inboundSchema, + readyStateAt: types.optional(types.number()), + source: types.optional( + StartRollingReleaseRollingReleaseSource$inboundSchema, + ), + target: z.nullable(StartRollingReleaseRollingReleaseTarget$inboundSchema) + .optional(), + url: types.string(), + }) +); export function startRollingReleaseCurrentDeploymentFromJSON( jsonString: string, @@ -585,14 +607,16 @@ export const StartRollingReleaseNextStage$inboundSchema: z.ZodType< StartRollingReleaseNextStage, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function startRollingReleaseNextStageFromJSON( jsonString: string, @@ -609,14 +633,16 @@ export const StartRollingReleaseStages$inboundSchema: z.ZodType< StartRollingReleaseStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.nullable(types.number()), - index: types.number(), - isFinalStage: types.boolean(), - linearShift: types.optional(types.boolean()), - requireApproval: types.boolean(), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.nullable(types.number()), + index: types.number(), + isFinalStage: types.boolean(), + linearShift: types.optional(types.boolean()), + requireApproval: types.boolean(), + targetPercentage: types.number(), + }) +); export function startRollingReleaseStagesFromJSON( jsonString: string, @@ -631,40 +657,44 @@ export function startRollingReleaseStagesFromJSON( /** @internal */ export const StartRollingReleaseState$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseState -> = z.nativeEnum(StartRollingReleaseState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StartRollingReleaseState)); /** @internal */ export const StartRollingReleaseSubstate$inboundSchema: z.ZodNativeEnum< typeof StartRollingReleaseSubstate -> = z.nativeEnum(StartRollingReleaseSubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(StartRollingReleaseSubstate) +); /** @internal */ export const StartRollingReleaseRollingRelease$inboundSchema: z.ZodType< StartRollingReleaseRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - activeStage: types.nullable( - z.lazy(() => StartRollingReleaseActiveStage$inboundSchema), - ), - advancementType: StartRollingReleaseAdvancementType$inboundSchema, - canaryDeployment: types.nullable( - z.lazy(() => StartRollingReleaseCanaryDeployment$inboundSchema), - ), - currentCanaryPercentage: types.optional(types.number()), - currentDeployment: types.nullable( - z.lazy(() => StartRollingReleaseCurrentDeployment$inboundSchema), - ), - nextStage: types.nullable( - z.lazy(() => StartRollingReleaseNextStage$inboundSchema), - ), - queuedDeploymentId: types.nullable(types.string()), - stages: z.array(z.lazy(() => StartRollingReleaseStages$inboundSchema)), - startedAt: types.number(), - state: StartRollingReleaseState$inboundSchema, - substate: types.nullable(StartRollingReleaseSubstate$inboundSchema), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeStage: types.nullable( + z.lazy(() => StartRollingReleaseActiveStage$inboundSchema), + ), + advancementType: StartRollingReleaseAdvancementType$inboundSchema, + canaryDeployment: types.nullable( + z.lazy(() => StartRollingReleaseCanaryDeployment$inboundSchema), + ), + currentCanaryPercentage: types.optional(types.number()), + currentDeployment: types.nullable( + z.lazy(() => StartRollingReleaseCurrentDeployment$inboundSchema), + ), + nextStage: types.nullable( + z.lazy(() => StartRollingReleaseNextStage$inboundSchema), + ), + queuedDeploymentId: types.nullable(types.string()), + stages: z.array(z.lazy(() => StartRollingReleaseStages$inboundSchema)), + startedAt: types.number(), + state: StartRollingReleaseState$inboundSchema, + substate: types.nullable(StartRollingReleaseSubstate$inboundSchema), + updatedAt: types.number(), + }) +); export function startRollingReleaseRollingReleaseFromJSON( jsonString: string, @@ -681,11 +711,13 @@ export const StartRollingReleaseResponseBody$inboundSchema: z.ZodType< StartRollingReleaseResponseBody, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => StartRollingReleaseRollingRelease$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable( + z.lazy(() => StartRollingReleaseRollingRelease$inboundSchema), + ), + }) +); export function startRollingReleaseResponseBodyFromJSON( jsonString: string, diff --git a/src/models/statusop.ts b/src/models/statusop.ts index 2e28347440..b109dcafb9 100644 --- a/src/models/statusop.ts +++ b/src/models/statusop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -71,10 +71,12 @@ export const StatusRequest$outboundSchema: z.ZodType< StatusRequest$Outbound, z.ZodTypeDef, StatusRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function statusRequestToJSON(statusRequest: StatusRequest): string { return JSON.stringify(StatusRequest$outboundSchema.parse(statusRequest)); @@ -83,17 +85,19 @@ export function statusRequestToJSON(statusRequest: StatusRequest): string { /** @internal */ export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyStatus -> = z.nativeEnum(ResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ResponseBodyStatus)); /** @internal */ export const ResponseBody3$inboundSchema: z.ZodType< ResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - readOnly: types.optional(types.boolean()), - status: ResponseBodyStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + readOnly: types.optional(types.boolean()), + status: ResponseBodyStatus$inboundSchema, + }) +); export function responseBody3FromJSON( jsonString: string, @@ -108,16 +112,18 @@ export function responseBody3FromJSON( /** @internal */ export const StatusResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof StatusResponseBodyStatus -> = z.nativeEnum(StatusResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(StatusResponseBodyStatus)); /** @internal */ export const StatusResponseBody2$inboundSchema: z.ZodType< StatusResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - status: StatusResponseBodyStatus$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: StatusResponseBodyStatus$inboundSchema, + }) +); export function statusResponseBody2FromJSON( jsonString: string, @@ -134,9 +140,11 @@ export const StatusResponseBody1$inboundSchema: z.ZodType< StatusResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - status: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.string(), + }) +); export function statusResponseBody1FromJSON( jsonString: string, @@ -153,11 +161,13 @@ export const StatusResponseBody$inboundSchema: z.ZodType< StatusResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => StatusResponseBody1$inboundSchema), - z.lazy(() => StatusResponseBody2$inboundSchema), - z.lazy(() => ResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => StatusResponseBody1$inboundSchema), + z.lazy(() => StatusResponseBody2$inboundSchema), + z.lazy(() => ResponseBody3$inboundSchema), + ]) +); export function statusResponseBodyFromJSON( jsonString: string, diff --git a/src/models/stopsessionop.ts b/src/models/stopsessionop.ts index 485614a5a4..e8b0cbdfec 100644 --- a/src/models/stopsessionop.ts +++ b/src/models/stopsessionop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { NamedSandbox, NamedSandbox$inboundSchema } from "./namedsandbox.js"; @@ -67,11 +67,13 @@ export const StopSessionRequest$outboundSchema: z.ZodType< StopSessionRequest$Outbound, z.ZodTypeDef, StopSessionRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function stopSessionRequestToJSON( stopSessionRequest: StopSessionRequest, @@ -86,11 +88,13 @@ export const StopSessionResponseBody2$inboundSchema: z.ZodType< StopSessionResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - sandbox: NamedSandbox$inboundSchema, - session: Session$inboundSchema, - snapshot: Snapshot$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandbox: NamedSandbox$inboundSchema, + session: Session$inboundSchema, + snapshot: Snapshot$inboundSchema, + }) +); export function stopSessionResponseBody2FromJSON( jsonString: string, @@ -107,9 +111,11 @@ export const StopSessionResponseBody1$inboundSchema: z.ZodType< StopSessionResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - session: Session$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + session: Session$inboundSchema, + }) +); export function stopSessionResponseBody1FromJSON( jsonString: string, @@ -126,10 +132,12 @@ export const StopSessionResponseBody$inboundSchema: z.ZodType< StopSessionResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => StopSessionResponseBody2$inboundSchema), - z.lazy(() => StopSessionResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => StopSessionResponseBody2$inboundSchema), + z.lazy(() => StopSessionResponseBody1$inboundSchema), + ]) +); export function stopSessionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/submitbillingdataop.ts b/src/models/submitbillingdataop.ts index 34ec1d70f9..045706a49b 100644 --- a/src/models/submitbillingdataop.ts +++ b/src/models/submitbillingdataop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -234,10 +235,12 @@ 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()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), + }) +); export function periodToJSON(period: Period): string { return JSON.stringify(Period$outboundSchema.parse(period)); @@ -262,18 +265,20 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + }) +); export function billingItemsToJSON(billingItems: BillingItems): string { return JSON.stringify(BillingItems$outboundSchema.parse(billingItems)); @@ -295,15 +300,17 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + }) +); export function discountsToJSON(discounts: Discounts): string { return JSON.stringify(Discounts$outboundSchema.parse(discounts)); @@ -320,10 +327,12 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(z.lazy(() => BillingItems$outboundSchema)), + discounts: z.array(z.lazy(() => Discounts$outboundSchema)).optional(), + }) +); export function billing2ToJSON(billing2: Billing2): string { return JSON.stringify(Billing2$outboundSchema.parse(billing2)); @@ -348,18 +357,20 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + }) +); export function billing1ToJSON(billing1: Billing1): string { return JSON.stringify(Billing1$outboundSchema.parse(billing1)); @@ -375,10 +386,12 @@ export const SubmitBillingDataBilling$outboundSchema: z.ZodType< SubmitBillingDataBilling$Outbound, z.ZodTypeDef, SubmitBillingDataBilling -> = smartUnion([ - z.lazy(() => Billing2$outboundSchema), - z.array(z.lazy(() => Billing1$outboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), + ]) +); export function submitBillingDataBillingToJSON( submitBillingDataBilling: SubmitBillingDataBilling, @@ -391,7 +404,7 @@ export function submitBillingDataBillingToJSON( /** @internal */ export const SubmitBillingDataType$outboundSchema: z.ZodNativeEnum< typeof SubmitBillingDataType -> = z.nativeEnum(SubmitBillingDataType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SubmitBillingDataType)); /** @internal */ export type Usage$Outbound = { @@ -409,15 +422,17 @@ export const Usage$outboundSchema: z.ZodType< Usage$Outbound, z.ZodTypeDef, Usage -> = z.object({ - resourceId: z.string().optional(), - name: z.string(), - type: SubmitBillingDataType$outboundSchema, - units: z.string(), - dayValue: z.number(), - periodValue: z.number(), - planValue: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + resourceId: z.string().optional(), + name: z.string(), + type: SubmitBillingDataType$outboundSchema, + units: z.string(), + dayValue: z.number(), + periodValue: z.number(), + planValue: z.number().optional(), + }) +); export function usageToJSON(usage: Usage): string { return JSON.stringify(Usage$outboundSchema.parse(usage)); @@ -437,16 +452,18 @@ 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: smartUnion([ - z.lazy(() => Billing2$outboundSchema), - z.array(z.lazy(() => Billing1$outboundSchema)), - ]), - usage: z.array(z.lazy(() => Usage$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + timestamp: z.date().transform(v => v.toISOString()), + eod: z.date().transform(v => v.toISOString()), + period: z.lazy(() => Period$outboundSchema), + billing: smartUnion([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), + ]), + usage: z.array(z.lazy(() => Usage$outboundSchema)), + }) +); export function submitBillingDataRequestBodyToJSON( submitBillingDataRequestBody: SubmitBillingDataRequestBody, @@ -469,14 +486,16 @@ export const SubmitBillingDataRequest$outboundSchema: z.ZodType< SubmitBillingDataRequest$Outbound, z.ZodTypeDef, SubmitBillingDataRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => SubmitBillingDataRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitBillingDataRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function submitBillingDataRequestToJSON( submitBillingDataRequest: SubmitBillingDataRequest, diff --git a/src/models/submitinvoiceop.ts b/src/models/submitinvoiceop.ts index 923c24fd33..962d0ceffe 100644 --- a/src/models/submitinvoiceop.ts +++ b/src/models/submitinvoiceop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -140,10 +140,12 @@ 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()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), + }) +); export function submitInvoicePeriodToJSON( submitInvoicePeriod: SubmitInvoicePeriod, @@ -172,18 +174,20 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + }) +); export function submitInvoiceItemsToJSON( submitInvoiceItems: SubmitInvoiceItems, @@ -209,15 +213,17 @@ 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(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + }) +); export function submitInvoiceDiscountsToJSON( submitInvoiceDiscounts: SubmitInvoiceDiscounts, @@ -228,8 +234,8 @@ export function submitInvoiceDiscountsToJSON( } /** @internal */ -export const Result$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Result); +export const Result$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Result)); /** @internal */ export type Test$Outbound = { @@ -239,10 +245,12 @@ export type Test$Outbound = { /** @internal */ export const Test$outboundSchema: z.ZodType = - z.object({ - validate: z.boolean().optional(), - result: Result$outboundSchema.optional(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + validate: z.boolean().optional(), + result: Result$outboundSchema.optional(), + }) + ); export function testToJSON(test: Test): string { return JSON.stringify(Test$outboundSchema.parse(test)); @@ -265,17 +273,19 @@ 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(), - final: z.boolean().optional(), - test: z.lazy(() => Test$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + 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(), + final: z.boolean().optional(), + test: z.lazy(() => Test$outboundSchema).optional(), + }) +); export function submitInvoiceRequestBodyToJSON( submitInvoiceRequestBody: SubmitInvoiceRequestBody, @@ -296,14 +306,16 @@ export const SubmitInvoiceRequest$outboundSchema: z.ZodType< SubmitInvoiceRequest$Outbound, z.ZodTypeDef, SubmitInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => SubmitInvoiceRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitInvoiceRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function submitInvoiceRequestToJSON( submitInvoiceRequest: SubmitInvoiceRequest, @@ -318,11 +330,13 @@ export const SubmitInvoiceResponseBody$inboundSchema: z.ZodType< SubmitInvoiceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - invoiceId: types.optional(types.string()), - test: types.optional(types.boolean()), - validationErrors: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invoiceId: types.optional(types.string()), + test: types.optional(types.boolean()), + validationErrors: types.optional(z.array(types.string())), + }) +); export function submitInvoiceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/submitprepaymentbalancesop.ts b/src/models/submitprepaymentbalancesop.ts index 626ac35a0d..20c39861c0 100644 --- a/src/models/submitprepaymentbalancesop.ts +++ b/src/models/submitprepaymentbalancesop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; /** * A credit balance for a particular token type @@ -53,12 +54,14 @@ export const Balances$outboundSchema: z.ZodType< Balances$Outbound, z.ZodTypeDef, Balances -> = z.object({ - resourceId: z.string().optional(), - credit: z.string().optional(), - nameLabel: z.string().optional(), - currencyValueInCents: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + resourceId: z.string().optional(), + credit: z.string().optional(), + nameLabel: z.string().optional(), + currencyValueInCents: z.number(), + }) +); export function balancesToJSON(balances: Balances): string { return JSON.stringify(Balances$outboundSchema.parse(balances)); @@ -75,10 +78,12 @@ export const SubmitPrepaymentBalancesRequestBody$outboundSchema: z.ZodType< SubmitPrepaymentBalancesRequestBody$Outbound, z.ZodTypeDef, SubmitPrepaymentBalancesRequestBody -> = z.object({ - timestamp: z.date().transform(v => v.toISOString()), - balances: z.array(z.lazy(() => Balances$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + timestamp: z.date().transform(v => v.toISOString()), + balances: z.array(z.lazy(() => Balances$outboundSchema)), + }) +); export function submitPrepaymentBalancesRequestBodyToJSON( submitPrepaymentBalancesRequestBody: SubmitPrepaymentBalancesRequestBody, @@ -101,15 +106,18 @@ export const SubmitPrepaymentBalancesRequest$outboundSchema: z.ZodType< SubmitPrepaymentBalancesRequest$Outbound, z.ZodTypeDef, SubmitPrepaymentBalancesRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => SubmitPrepaymentBalancesRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => + SubmitPrepaymentBalancesRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function submitPrepaymentBalancesRequestToJSON( submitPrepaymentBalancesRequest: SubmitPrepaymentBalancesRequest, diff --git a/src/models/team.ts b/src/models/team.ts index 702f664a21..76a0fb27c7 100644 --- a/src/models/team.ts +++ b/src/models/team.ts @@ -6,6 +6,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -508,6 +509,10 @@ export type JoinedFrom = { repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; @@ -1123,15 +1128,16 @@ export type Team = { }; /** @internal */ -export const Plan$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Plan, -); +export const Plan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Plan)); /** @internal */ export const Billing$inboundSchema: z.ZodType = - z.object({ - plan: Plan$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + plan: Plan$inboundSchema, + }) + ); export function billingFromJSON( jsonString: string, @@ -1145,9 +1151,11 @@ export function billingFromJSON( /** @internal */ export const Connect$inboundSchema: z.ZodType = - z.object({ - enabled: types.optional(types.boolean()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + }) + ); export function connectFromJSON( jsonString: string, @@ -1162,16 +1170,18 @@ export function connectFromJSON( /** @internal */ export const DefaultContinuousUsageKind$inboundSchema: z.ZodNativeEnum< typeof DefaultContinuousUsageKind -> = z.nativeEnum(DefaultContinuousUsageKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DefaultContinuousUsageKind)); /** @internal */ export const PasswordProtection$inboundSchema: z.ZodType< PasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: types.string(), + }) +); export function passwordProtectionFromJSON( jsonString: string, @@ -1188,9 +1198,11 @@ export const SsoProtection$inboundSchema: z.ZodType< SsoProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: types.string(), + }) +); export function ssoProtectionFromJSON( jsonString: string, @@ -1207,12 +1219,15 @@ export const DefaultDeploymentProtection$inboundSchema: z.ZodType< DefaultDeploymentProtection, z.ZodTypeDef, unknown -> = z.object({ - passwordProtection: z.nullable(z.lazy(() => PasswordProtection$inboundSchema)) - .optional(), - ssoProtection: z.nullable(z.lazy(() => SsoProtection$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passwordProtection: z.nullable( + z.lazy(() => PasswordProtection$inboundSchema), + ).optional(), + ssoProtection: z.nullable(z.lazy(() => SsoProtection$inboundSchema)) + .optional(), + }) +); export function defaultDeploymentProtectionFromJSON( jsonString: string, @@ -1229,13 +1244,15 @@ export const DefaultExpirationSettings$inboundSchema: z.ZodType< DefaultExpirationSettings, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function defaultExpirationSettingsFromJSON( jsonString: string, @@ -1250,17 +1267,19 @@ export function defaultExpirationSettingsFromJSON( /** @internal */ export const DeploymentType$inboundSchema: z.ZodNativeEnum< typeof DeploymentType -> = z.nativeEnum(DeploymentType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeploymentType)); /** @internal */ export const DefaultPassport$inboundSchema: z.ZodType< DefaultPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: DeploymentType$inboundSchema, + }) +); export function defaultPassportFromJSON( jsonString: string, @@ -1277,9 +1296,11 @@ export const FlagDefinitionsPresent$inboundSchema: z.ZodType< FlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function flagDefinitionsPresentFromJSON( jsonString: string, @@ -1296,9 +1317,11 @@ export const HealthCheck$inboundSchema: z.ZodType< HealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function healthCheckFromJSON( jsonString: string, @@ -1311,10 +1334,12 @@ export function healthCheckFromJSON( } /** @internal */ -export const Lint$inboundSchema: z.ZodType = z - .object({ - targets: z.array(types.string()), - }); +export const Lint$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) + ); export function lintFromJSON( jsonString: string, @@ -1331,9 +1356,11 @@ export const MfeConfigPresent$inboundSchema: z.ZodType< MfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function mfeConfigPresentFromJSON( jsonString: string, @@ -1350,9 +1377,11 @@ export const Typecheck$inboundSchema: z.ZodType< Typecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function typecheckFromJSON( jsonString: string, @@ -1369,23 +1398,25 @@ export const DefaultProjectJobs$inboundSchema: z.ZodType< DefaultProjectJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => FlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional(z.lazy(() => HealthCheck$inboundSchema)), - lint: types.optional(z.lazy(() => Lint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => MfeConfigPresent$inboundSchema), - ), - typecheck: types.optional(z.lazy(() => Typecheck$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => FlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional(z.lazy(() => HealthCheck$inboundSchema)), + lint: types.optional(z.lazy(() => Lint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => MfeConfigPresent$inboundSchema), + ), + typecheck: types.optional(z.lazy(() => Typecheck$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function defaultProjectJobsFromJSON( jsonString: string, @@ -1400,22 +1431,24 @@ export function defaultProjectJobsFromJSON( /** @internal */ export const TeamTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof TeamTeamPermissions -> = z.nativeEnum(TeamTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamTeamPermissions)); /** @internal */ export const TeamTeamRoles$inboundSchema: z.ZodNativeEnum< typeof TeamTeamRoles -> = z.nativeEnum(TeamTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamTeamRoles)); /** @internal */ export const DefaultRoles$inboundSchema: z.ZodType< DefaultRoles, z.ZodTypeDef, unknown -> = z.object({ - teamPermissions: types.optional(z.array(TeamTeamPermissions$inboundSchema)), - teamRoles: types.optional(z.array(TeamTeamRoles$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamPermissions: types.optional(z.array(TeamTeamPermissions$inboundSchema)), + teamRoles: types.optional(z.array(TeamTeamRoles$inboundSchema)), + }) +); export function defaultRolesFromJSON( jsonString: string, @@ -1432,10 +1465,12 @@ export const Environments2$inboundSchema: z.ZodType< Environments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function environments2FromJSON( jsonString: string, @@ -1450,17 +1485,19 @@ export function environments2FromJSON( /** @internal */ export const EnvironmentsTarget$inboundSchema: z.ZodNativeEnum< typeof EnvironmentsTarget -> = z.nativeEnum(EnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnvironmentsTarget)); /** @internal */ export const TeamEnvironments1$inboundSchema: z.ZodType< TeamEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: EnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: EnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function teamEnvironments1FromJSON( jsonString: string, @@ -1477,10 +1514,12 @@ export const TeamEnvironments$inboundSchema: z.ZodType< TeamEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => TeamEnvironments1$inboundSchema), - z.lazy(() => Environments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => TeamEnvironments1$inboundSchema), + z.lazy(() => Environments2$inboundSchema), + ]) +); export function teamEnvironmentsFromJSON( jsonString: string, @@ -1493,24 +1532,24 @@ export function teamEnvironmentsFromJSON( } /** @internal */ -export const Sources$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Sources); +export const Sources$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Sources)); /** @internal */ export const DeploymentSources$inboundSchema: z.ZodType< DeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => TeamEnvironments1$inboundSchema), z.lazy(() => Environments2$inboundSchema), - ]), - ), - sources: z.array(Sources$inboundSchema), -}); + ])), + sources: z.array(Sources$inboundSchema), + }) +); export function deploymentSourcesFromJSON( jsonString: string, @@ -1527,10 +1566,12 @@ export const TeamEnvironments2$inboundSchema: z.ZodType< TeamEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function teamEnvironments2FromJSON( jsonString: string, @@ -1545,17 +1586,19 @@ export function teamEnvironments2FromJSON( /** @internal */ export const TeamEnvironmentsTarget$inboundSchema: z.ZodNativeEnum< typeof TeamEnvironmentsTarget -> = z.nativeEnum(TeamEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamEnvironmentsTarget)); /** @internal */ export const TeamEnvironmentsDeploymentPolicy1$inboundSchema: z.ZodType< TeamEnvironmentsDeploymentPolicy1, z.ZodTypeDef, unknown -> = z.object({ - target: TeamEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: TeamEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function teamEnvironmentsDeploymentPolicy1FromJSON( jsonString: string, @@ -1572,10 +1615,12 @@ export const TeamDeploymentPolicyEnvironments$inboundSchema: z.ZodType< TeamDeploymentPolicyEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => TeamEnvironmentsDeploymentPolicy1$inboundSchema), - z.lazy(() => TeamEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => TeamEnvironmentsDeploymentPolicy1$inboundSchema), + z.lazy(() => TeamEnvironments2$inboundSchema), + ]) +); export function teamDeploymentPolicyEnvironmentsFromJSON( jsonString: string, @@ -1592,11 +1637,13 @@ export const Sources2$inboundSchema: z.ZodType< Sources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function sources2FromJSON( jsonString: string, @@ -1611,18 +1658,20 @@ export function sources2FromJSON( /** @internal */ export const SourcesProvider$inboundSchema: z.ZodNativeEnum< typeof SourcesProvider -> = z.nativeEnum(SourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SourcesProvider)); /** @internal */ export const Sources1$inboundSchema: z.ZodType< Sources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: SourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: SourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function sources1FromJSON( jsonString: string, @@ -1639,15 +1688,17 @@ export const TeamSources$inboundSchema: z.ZodType< TeamSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Sources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => Sources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => Sources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => Sources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => Sources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => Sources2$inboundSchema), + ]) +); export function teamSourcesFromJSON( jsonString: string, @@ -1664,16 +1715,14 @@ export const GitSources$inboundSchema: z.ZodType< GitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => TeamEnvironmentsDeploymentPolicy1$inboundSchema), z.lazy(() => TeamEnvironments2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => Sources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -1681,9 +1730,9 @@ export const GitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => Sources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function gitSourcesFromJSON( jsonString: string, @@ -1700,12 +1749,14 @@ export const DeploymentPolicy$inboundSchema: z.ZodType< DeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: types.optional( - z.array(z.lazy(() => DeploymentSources$inboundSchema)), - ), - gitSources: types.optional(z.array(z.lazy(() => GitSources$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: types.optional( + z.array(z.lazy(() => DeploymentSources$inboundSchema)), + ), + gitSources: types.optional(z.array(z.lazy(() => GitSources$inboundSchema))), + }) +); export function deploymentPolicyFromJSON( jsonString: string, @@ -1718,25 +1769,27 @@ export function deploymentPolicyFromJSON( } /** @internal */ -export const Cohort$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Cohort); +export const Cohort$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Cohort)); /** @internal */ -export const MeterReason$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(MeterReason); +export const MeterReason$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(MeterReason)); /** @internal */ export const DeploymentStorageRollout$inboundSchema: z.ZodType< DeploymentStorageRollout, z.ZodTypeDef, unknown -> = z.object({ - cohort: Cohort$inboundSchema, - meteredAt: types.optional(types.number()), - meterReason: types.optional(MeterReason$inboundSchema), - retentionAppliedAt: types.optional(types.number()), - retentionOptOutAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cohort: Cohort$inboundSchema, + meteredAt: types.optional(types.number()), + meterReason: types.optional(MeterReason$inboundSchema), + retentionAppliedAt: types.optional(types.number()), + retentionOptOutAt: types.optional(types.number()), + }) +); export function deploymentStorageRolloutFromJSON( jsonString: string, @@ -1751,38 +1804,42 @@ export function deploymentStorageRolloutFromJSON( /** @internal */ export const DirectorySyncSource$inboundSchema: z.ZodNativeEnum< typeof DirectorySyncSource -> = z.nativeEnum(DirectorySyncSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DirectorySyncSource)); /** @internal */ export const DisjunctiveProductionSecretPolicy$inboundSchema: z.ZodNativeEnum< typeof DisjunctiveProductionSecretPolicy -> = z.nativeEnum(DisjunctiveProductionSecretPolicy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DisjunctiveProductionSecretPolicy) +); /** @internal */ export const DpAccessRequestsMode$inboundSchema: z.ZodNativeEnum< typeof DpAccessRequestsMode -> = z.nativeEnum(DpAccessRequestsMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DpAccessRequestsMode)); /** @internal */ export const EnablePreviewFeedback$inboundSchema: z.ZodNativeEnum< typeof EnablePreviewFeedback -> = z.nativeEnum(EnablePreviewFeedback); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnablePreviewFeedback)); /** @internal */ export const EnableProductionFeedback$inboundSchema: z.ZodNativeEnum< typeof EnableProductionFeedback -> = z.nativeEnum(EnableProductionFeedback); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnableProductionFeedback)); /** @internal */ export const IpBuckets$inboundSchema: z.ZodType< IpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function ipBucketsFromJSON( jsonString: string, @@ -1799,9 +1856,11 @@ export const Entitlements$inboundSchema: z.ZodType< Entitlements, z.ZodTypeDef, unknown -> = z.object({ - entitlement: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entitlement: types.string(), + }) +); export function entitlementsFromJSON( jsonString: string, @@ -1818,7 +1877,9 @@ export const GitUserId$inboundSchema: z.ZodType< GitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function gitUserIdFromJSON( jsonString: string, @@ -1831,27 +1892,30 @@ export function gitUserIdFromJSON( } /** @internal */ -export const TeamOrigin$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamOrigin); +export const TeamOrigin$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamOrigin)); /** @internal */ export const JoinedFrom$inboundSchema: z.ZodType< JoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: TeamOrigin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: TeamOrigin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function joinedFromFromJSON( jsonString: string, @@ -1864,43 +1928,47 @@ export function joinedFromFromJSON( } /** @internal */ -export const TeamRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamRole); +export const TeamRole$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamRole)); /** @internal */ export const TeamMembershipTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof TeamMembershipTeamPermissions -> = z.nativeEnum(TeamMembershipTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TeamMembershipTeamPermissions) +); /** @internal */ export const TeamMembershipTeamRoles$inboundSchema: z.ZodNativeEnum< typeof TeamMembershipTeamRoles -> = z.nativeEnum(TeamMembershipTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamMembershipTeamRoles)); /** @internal */ export const Membership$inboundSchema: z.ZodType< Membership, z.ZodTypeDef, unknown -> = z.object({ - accessRequestedAt: types.optional(types.number()), - confirmed: types.literal(true), - created: types.number(), - createdAt: types.number(), - entitlements: types.optional( - z.array(z.lazy(() => Entitlements$inboundSchema)), - ), - isOrgBackingTeamMembership: types.optional(types.boolean()), - joinedFrom: types.optional(z.lazy(() => JoinedFrom$inboundSchema)), - organizationId: types.optional(types.string()), - role: TeamRole$inboundSchema, - teamId: types.optional(types.string()), - teamPermissions: types.optional( - z.array(TeamMembershipTeamPermissions$inboundSchema), - ), - teamRoles: types.optional(z.array(TeamMembershipTeamRoles$inboundSchema)), - uid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessRequestedAt: types.optional(types.number()), + confirmed: types.literal(true), + created: types.number(), + createdAt: types.number(), + entitlements: types.optional( + z.array(z.lazy(() => Entitlements$inboundSchema)), + ), + isOrgBackingTeamMembership: types.optional(types.boolean()), + joinedFrom: types.optional(z.lazy(() => JoinedFrom$inboundSchema)), + organizationId: types.optional(types.string()), + role: TeamRole$inboundSchema, + teamId: types.optional(types.string()), + teamPermissions: types.optional( + z.array(TeamMembershipTeamPermissions$inboundSchema), + ), + teamRoles: types.optional(z.array(TeamMembershipTeamRoles$inboundSchema)), + uid: types.optional(types.string()), + }) +); export function membershipFromJSON( jsonString: string, @@ -1913,17 +1981,19 @@ export function membershipFromJSON( } /** @internal */ -export const Preference$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Preference); +export const Preference$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Preference)); /** @internal */ export const NsnbConfig$inboundSchema: z.ZodType< NsnbConfig, z.ZodTypeDef, unknown -> = z.object({ - preference: Preference$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preference: Preference$inboundSchema, + }) +); export function nsnbConfigFromJSON( jsonString: string, @@ -1940,9 +2010,11 @@ export const RemoteCaching$inboundSchema: z.ZodType< RemoteCaching, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + }) +); export function remoteCachingFromJSON( jsonString: string, @@ -1959,9 +2031,11 @@ export const BuildEntitlements$inboundSchema: z.ZodType< BuildEntitlements, z.ZodTypeDef, unknown -> = z.object({ - enhancedBuilds: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enhancedBuilds: types.optional(types.boolean()), + }) +); export function buildEntitlementsFromJSON( jsonString: string, @@ -1974,17 +2048,19 @@ export function buildEntitlementsFromJSON( } /** @internal */ -export const Default$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Default); +export const Default$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Default)); /** @internal */ export const BuildMachine$inboundSchema: z.ZodType< BuildMachine, z.ZodTypeDef, unknown -> = z.object({ - default: types.optional(Default$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + default: types.optional(Default$inboundSchema), + }) +); export function buildMachineFromJSON( jsonString: string, @@ -2001,21 +2077,23 @@ export const ResourceConfig$inboundSchema: z.ZodType< ResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - blobStores: types.optional(types.number()), - buildEntitlements: types.optional( - z.lazy(() => BuildEntitlements$inboundSchema), - ), - buildMachine: types.optional(z.lazy(() => BuildMachine$inboundSchema)), - concurrentBuilds: types.optional(types.number()), - customEnvironmentsPerProject: types.optional(types.number()), - edgeConfigs: types.optional(types.number()), - edgeConfigSize: types.optional(types.number()), - elasticConcurrencyEnabled: types.optional(types.boolean()), - kvDatabases: types.optional(types.number()), - postgresDatabases: types.optional(types.number()), - serverlessFunctionMaxMemorySize: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blobStores: types.optional(types.number()), + buildEntitlements: types.optional( + z.lazy(() => BuildEntitlements$inboundSchema), + ), + buildMachine: types.optional(z.lazy(() => BuildMachine$inboundSchema)), + concurrentBuilds: types.optional(types.number()), + customEnvironmentsPerProject: types.optional(types.number()), + edgeConfigs: types.optional(types.number()), + edgeConfigSize: types.optional(types.number()), + elasticConcurrencyEnabled: types.optional(types.boolean()), + kvDatabases: types.optional(types.number()), + postgresDatabases: types.optional(types.number()), + serverlessFunctionMaxMemorySize: types.optional(types.number()), + }) +); export function resourceConfigFromJSON( jsonString: string, @@ -2028,23 +2106,25 @@ export function resourceConfigFromJSON( } /** @internal */ -export const SyncState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SyncState); +export const SyncState$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SyncState)); /** @internal */ export const Connection$inboundSchema: z.ZodType< Connection, z.ZodTypeDef, unknown -> = z.object({ - connectedAt: types.number(), - lastReceivedWebhookEvent: types.optional(types.number()), - lastSyncedAt: types.optional(types.number()), - state: types.string(), - syncState: types.optional(SyncState$inboundSchema), - type: types.string(), - status: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectedAt: types.number(), + lastReceivedWebhookEvent: types.optional(types.number()), + lastSyncedAt: types.optional(types.number()), + state: types.string(), + syncState: types.optional(SyncState$inboundSchema), + type: types.string(), + status: types.string(), + }) +); export function connectionFromJSON( jsonString: string, @@ -2059,26 +2139,28 @@ export function connectionFromJSON( /** @internal */ export const DefaultRedirectUri$inboundSchema: z.ZodNativeEnum< typeof DefaultRedirectUri -> = z.nativeEnum(DefaultRedirectUri); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DefaultRedirectUri)); /** @internal */ export const TeamSyncState$inboundSchema: z.ZodNativeEnum< typeof TeamSyncState -> = z.nativeEnum(TeamSyncState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamSyncState)); /** @internal */ export const Directory$inboundSchema: z.ZodType< Directory, z.ZodTypeDef, unknown -> = z.object({ - connectedAt: types.number(), - lastReceivedWebhookEvent: types.optional(types.number()), - lastSyncedAt: types.optional(types.number()), - state: types.string(), - syncState: types.optional(TeamSyncState$inboundSchema), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectedAt: types.number(), + lastReceivedWebhookEvent: types.optional(types.number()), + lastSyncedAt: types.optional(types.number()), + state: types.string(), + syncState: types.optional(TeamSyncState$inboundSchema), + type: types.string(), + }) +); export function directoryFromJSON( jsonString: string, @@ -2091,27 +2173,29 @@ export function directoryFromJSON( } /** @internal */ -export const Roles3$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Roles3); +export const Roles3$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Roles3)); /** @internal */ export const RolesTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof RolesTeamPermissions -> = z.nativeEnum(RolesTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RolesTeamPermissions)); /** @internal */ export const RolesTeamRoles$inboundSchema: z.ZodNativeEnum< typeof RolesTeamRoles -> = z.nativeEnum(RolesTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RolesTeamRoles)); /** @internal */ -export const Roles2$inboundSchema: z.ZodType = z - .object({ - teamPermissions: types.optional( - z.array(RolesTeamPermissions$inboundSchema), - ), - teamRoles: z.array(RolesTeamRoles$inboundSchema), - }); +export const Roles2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + teamPermissions: types.optional( + z.array(RolesTeamPermissions$inboundSchema), + ), + teamRoles: z.array(RolesTeamRoles$inboundSchema), + }) + ); export function roles2FromJSON( jsonString: string, @@ -2124,10 +2208,12 @@ export function roles2FromJSON( } /** @internal */ -export const Roles1$inboundSchema: z.ZodType = z - .object({ - accessGroupId: types.string(), - }); +export const Roles1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + }) + ); export function roles1FromJSON( jsonString: string, @@ -2141,11 +2227,13 @@ export function roles1FromJSON( /** @internal */ export const Roles$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Roles1$inboundSchema), - z.lazy(() => Roles2$inboundSchema), - Roles3$inboundSchema, - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Roles1$inboundSchema), + z.lazy(() => Roles2$inboundSchema), + Roles3$inboundSchema, + ]) + ); export function rolesFromJSON( jsonString: string, @@ -2158,22 +2246,22 @@ export function rolesFromJSON( } /** @internal */ -export const Saml$inboundSchema: z.ZodType = z - .object({ - connection: types.optional(z.lazy(() => Connection$inboundSchema)), - defaultRedirectUri: types.optional(DefaultRedirectUri$inboundSchema), - directory: types.optional(z.lazy(() => Directory$inboundSchema)), - enforced: types.boolean(), - roles: types.optional( - z.record(smartUnion([ +export const Saml$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + connection: types.optional(z.lazy(() => Connection$inboundSchema)), + defaultRedirectUri: types.optional(DefaultRedirectUri$inboundSchema), + directory: types.optional(z.lazy(() => Directory$inboundSchema)), + enforced: types.boolean(), + roles: types.optional(z.record(smartUnion([ z.lazy(() => Roles1$inboundSchema), z.lazy(() => Roles2$inboundSchema ), Roles3$inboundSchema, - ])), - ), - }); + ]))), + }) + ); export function samlFromJSON( jsonString: string, @@ -2188,17 +2276,21 @@ export function samlFromJSON( /** @internal */ export const SensitiveEnvironmentVariablePolicy$inboundSchema: z.ZodNativeEnum< typeof SensitiveEnvironmentVariablePolicy -> = z.nativeEnum(SensitiveEnvironmentVariablePolicy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SensitiveEnvironmentVariablePolicy) +); /** @internal */ export const StrictConnectors$inboundSchema: z.ZodType< StrictConnectors, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + updatedAt: types.number(), + }) +); export function strictConnectorsFromJSON( jsonString: string, @@ -2215,10 +2307,12 @@ export const StrictDeploymentProtectionSettings$inboundSchema: z.ZodType< StrictDeploymentProtectionSettings, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + updatedAt: types.number(), + }) +); export function strictDeploymentProtectionSettingsFromJSON( jsonString: string, @@ -2236,10 +2330,12 @@ export const StrictPasswordProtectionSettings$inboundSchema: z.ZodType< StrictPasswordProtectionSettings, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + updatedAt: types.number(), + }) +); export function strictPasswordProtectionSettingsFromJSON( jsonString: string, @@ -2256,10 +2352,12 @@ export const StrictShareableLinks$inboundSchema: z.ZodType< StrictShareableLinks, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + updatedAt: types.number(), + }) +); export function strictShareableLinksFromJSON( jsonString: string, @@ -2273,92 +2371,100 @@ export function strictShareableLinksFromJSON( /** @internal */ export const Team$inboundSchema: z.ZodType = - collectExtraKeys$( - z.object({ - apiKeysInvalidatedAt: types.optional(types.number()), - appTokensInvalidatedAt: types.optional(types.number()), - avatar: types.nullable(types.string()), - billing: types.nullable(z.lazy(() => Billing$inboundSchema)), - connect: types.optional(z.lazy(() => Connect$inboundSchema)), - createdAt: types.number(), - creatorId: types.string(), - defaultContinuousUsageKind: types.optional( - DefaultContinuousUsageKind$inboundSchema, - ), - defaultDeploymentProtection: z.lazy(() => - DefaultDeploymentProtection$inboundSchema - ), - defaultExpirationSettings: types.optional( - z.lazy(() => DefaultExpirationSettings$inboundSchema), - ), - defaultPassport: z.nullable(z.lazy(() => DefaultPassport$inboundSchema)) - .optional(), - defaultProjectJobs: types.optional( - z.lazy(() => DefaultProjectJobs$inboundSchema), - ), - defaultRoles: types.optional(z.lazy(() => DefaultRoles$inboundSchema)), - deploymentPolicy: types.optional( - z.lazy(() => DeploymentPolicy$inboundSchema), - ), - deploymentStorageRollout: types.optional( - z.lazy(() => DeploymentStorageRollout$inboundSchema), - ), - description: types.nullable(types.string()), - directorySyncSource: DirectorySyncSource$inboundSchema, - directorySyncType: types.optional(types.string()), - disableRepositoryDispatchEvents: types.optional(types.boolean()), - disjunctiveProductionSecretPolicy: z.nullable( - DisjunctiveProductionSecretPolicy$inboundSchema, - ).optional(), - dpAccessRequestsMode: types.optional(DpAccessRequestsMode$inboundSchema), - emailDomain: z.nullable(types.string()).optional(), - enablePreviewFeedback: z.nullable(EnablePreviewFeedback$inboundSchema) - .optional(), - enableProductionFeedback: z.nullable( - EnableProductionFeedback$inboundSchema, - ).optional(), - hideIpAddresses: z.nullable(types.boolean()).optional(), - hideIpAddressesInLogDrains: z.nullable(types.boolean()).optional(), - id: types.string(), - integrationTokensInvalidatedAt: types.optional(types.number()), - inviteCode: types.optional(types.string()), - ipBuckets: types.optional(z.array(z.lazy(() => IpBuckets$inboundSchema))), - limited: types.literal(false), - membership: types.optional(z.lazy(() => Membership$inboundSchema)), - name: types.nullable(types.string()), - nsnbConfig: types.optional(z.lazy(() => NsnbConfig$inboundSchema)), - orgRootTeamId: types.optional(types.string()), - parentId: types.optional(types.string()), - personalAccessTokensInvalidatedAt: types.optional(types.number()), - platform: types.optional(types.boolean()), - previewDeploymentSuffix: z.nullable(types.string()).optional(), - remoteCaching: types.optional(z.lazy(() => RemoteCaching$inboundSchema)), - requireVerifiedCommits: types.optional(types.boolean()), - resourceConfig: types.optional( - z.lazy(() => ResourceConfig$inboundSchema), - ), - saml: types.optional(z.lazy(() => Saml$inboundSchema)), - sensitiveEnvironmentVariablePolicy: z.nullable( - SensitiveEnvironmentVariablePolicy$inboundSchema, - ).optional(), - slug: types.string(), - stagingPrefix: types.string(), - strictConnectors: types.optional( - z.lazy(() => StrictConnectors$inboundSchema), - ), - strictDeploymentProtectionSettings: types.optional( - z.lazy(() => StrictDeploymentProtectionSettings$inboundSchema), - ), - strictPasswordProtectionSettings: types.optional( - z.lazy(() => StrictPasswordProtectionSettings$inboundSchema), - ), - strictShareableLinks: types.optional( - z.lazy(() => StrictShareableLinks$inboundSchema), - ), - updatedAt: types.number(), - }).catchall(z.any()), - "additionalProperties", - true, + /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + apiKeysInvalidatedAt: types.optional(types.number()), + appTokensInvalidatedAt: types.optional(types.number()), + avatar: types.nullable(types.string()), + billing: types.nullable(z.lazy(() => Billing$inboundSchema)), + connect: types.optional(z.lazy(() => Connect$inboundSchema)), + createdAt: types.number(), + creatorId: types.string(), + defaultContinuousUsageKind: types.optional( + DefaultContinuousUsageKind$inboundSchema, + ), + defaultDeploymentProtection: z.lazy(() => + DefaultDeploymentProtection$inboundSchema + ), + defaultExpirationSettings: types.optional( + z.lazy(() => DefaultExpirationSettings$inboundSchema), + ), + defaultPassport: z.nullable(z.lazy(() => DefaultPassport$inboundSchema)) + .optional(), + defaultProjectJobs: types.optional( + z.lazy(() => DefaultProjectJobs$inboundSchema), + ), + defaultRoles: types.optional(z.lazy(() => DefaultRoles$inboundSchema)), + deploymentPolicy: types.optional( + z.lazy(() => DeploymentPolicy$inboundSchema), + ), + deploymentStorageRollout: types.optional( + z.lazy(() => DeploymentStorageRollout$inboundSchema), + ), + description: types.nullable(types.string()), + directorySyncSource: DirectorySyncSource$inboundSchema, + directorySyncType: types.optional(types.string()), + disableRepositoryDispatchEvents: types.optional(types.boolean()), + disjunctiveProductionSecretPolicy: z.nullable( + DisjunctiveProductionSecretPolicy$inboundSchema, + ).optional(), + dpAccessRequestsMode: types.optional( + DpAccessRequestsMode$inboundSchema, + ), + emailDomain: z.nullable(types.string()).optional(), + enablePreviewFeedback: z.nullable(EnablePreviewFeedback$inboundSchema) + .optional(), + enableProductionFeedback: z.nullable( + EnableProductionFeedback$inboundSchema, + ).optional(), + hideIpAddresses: z.nullable(types.boolean()).optional(), + hideIpAddressesInLogDrains: z.nullable(types.boolean()).optional(), + id: types.string(), + integrationTokensInvalidatedAt: types.optional(types.number()), + inviteCode: types.optional(types.string()), + ipBuckets: types.optional( + z.array(z.lazy(() => IpBuckets$inboundSchema)), + ), + limited: types.literal(false), + membership: types.optional(z.lazy(() => Membership$inboundSchema)), + name: types.nullable(types.string()), + nsnbConfig: types.optional(z.lazy(() => NsnbConfig$inboundSchema)), + orgRootTeamId: types.optional(types.string()), + parentId: types.optional(types.string()), + personalAccessTokensInvalidatedAt: types.optional(types.number()), + platform: types.optional(types.boolean()), + previewDeploymentSuffix: z.nullable(types.string()).optional(), + remoteCaching: types.optional( + z.lazy(() => RemoteCaching$inboundSchema), + ), + requireVerifiedCommits: types.optional(types.boolean()), + resourceConfig: types.optional( + z.lazy(() => ResourceConfig$inboundSchema), + ), + saml: types.optional(z.lazy(() => Saml$inboundSchema)), + sensitiveEnvironmentVariablePolicy: z.nullable( + SensitiveEnvironmentVariablePolicy$inboundSchema, + ).optional(), + slug: types.string(), + stagingPrefix: types.string(), + strictConnectors: types.optional( + z.lazy(() => StrictConnectors$inboundSchema), + ), + strictDeploymentProtectionSettings: types.optional( + z.lazy(() => StrictDeploymentProtectionSettings$inboundSchema), + ), + strictPasswordProtectionSettings: types.optional( + z.lazy(() => StrictPasswordProtectionSettings$inboundSchema), + ), + strictShareableLinks: types.optional( + z.lazy(() => StrictShareableLinks$inboundSchema), + ), + updatedAt: types.number(), + }).catchall(z.any()), + "additionalProperties", + true, + ) ); export function teamFromJSON( diff --git a/src/models/teamlimited.ts b/src/models/teamlimited.ts index fd37cf094c..f109c46b57 100644 --- a/src/models/teamlimited.ts +++ b/src/models/teamlimited.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -73,6 +73,10 @@ export type TeamLimitedJoinedFrom = { repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; @@ -307,20 +311,24 @@ export type TeamLimited = { /** @internal */ export const TeamLimitedDirectorySyncSource$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedDirectorySyncSource -> = z.nativeEnum(TeamLimitedDirectorySyncSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TeamLimitedDirectorySyncSource) +); /** @internal */ -export const LimitedBy$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(LimitedBy); +export const LimitedBy$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(LimitedBy)); /** @internal */ export const TeamLimitedEntitlements$inboundSchema: z.ZodType< TeamLimitedEntitlements, z.ZodTypeDef, unknown -> = z.object({ - entitlement: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entitlement: types.string(), + }) +); export function teamLimitedEntitlementsFromJSON( jsonString: string, @@ -337,7 +345,9 @@ export const TeamLimitedGitUserId$inboundSchema: z.ZodType< TeamLimitedGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function teamLimitedGitUserIdFromJSON( jsonString: string, @@ -352,26 +362,29 @@ export function teamLimitedGitUserIdFromJSON( /** @internal */ export const TeamLimitedOrigin$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedOrigin -> = z.nativeEnum(TeamLimitedOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedOrigin)); /** @internal */ export const TeamLimitedJoinedFrom$inboundSchema: z.ZodType< TeamLimitedJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: TeamLimitedOrigin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: TeamLimitedOrigin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function teamLimitedJoinedFromFromJSON( jsonString: string, @@ -386,42 +399,46 @@ export function teamLimitedJoinedFromFromJSON( /** @internal */ export const TeamLimitedRole$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedRole -> = z.nativeEnum(TeamLimitedRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedRole)); /** @internal */ export const TeamLimitedTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamPermissions -> = z.nativeEnum(TeamLimitedTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedTeamPermissions)); /** @internal */ export const TeamLimitedTeamRoles$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamRoles -> = z.nativeEnum(TeamLimitedTeamRoles); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedTeamRoles)); /** @internal */ export const TeamLimitedMembership$inboundSchema: z.ZodType< TeamLimitedMembership, z.ZodTypeDef, unknown -> = z.object({ - accessRequestedAt: types.optional(types.number()), - confirmed: types.literal(true), - created: types.number(), - createdAt: types.number(), - entitlements: types.optional( - z.array(z.lazy(() => TeamLimitedEntitlements$inboundSchema)), - ), - isOrgBackingTeamMembership: types.optional(types.boolean()), - joinedFrom: types.optional(z.lazy(() => TeamLimitedJoinedFrom$inboundSchema)), - organizationId: types.optional(types.string()), - role: TeamLimitedRole$inboundSchema, - teamId: types.optional(types.string()), - teamPermissions: types.optional( - z.array(TeamLimitedTeamPermissions$inboundSchema), - ), - teamRoles: types.optional(z.array(TeamLimitedTeamRoles$inboundSchema)), - uid: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessRequestedAt: types.optional(types.number()), + confirmed: types.literal(true), + created: types.number(), + createdAt: types.number(), + entitlements: types.optional( + z.array(z.lazy(() => TeamLimitedEntitlements$inboundSchema)), + ), + isOrgBackingTeamMembership: types.optional(types.boolean()), + joinedFrom: types.optional( + z.lazy(() => TeamLimitedJoinedFrom$inboundSchema), + ), + organizationId: types.optional(types.string()), + role: TeamLimitedRole$inboundSchema, + teamId: types.optional(types.string()), + teamPermissions: types.optional( + z.array(TeamLimitedTeamPermissions$inboundSchema), + ), + teamRoles: types.optional(z.array(TeamLimitedTeamRoles$inboundSchema)), + uid: types.optional(types.string()), + }) +); export function teamLimitedMembershipFromJSON( jsonString: string, @@ -436,22 +453,24 @@ export function teamLimitedMembershipFromJSON( /** @internal */ export const TeamLimitedSyncState$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedSyncState -> = z.nativeEnum(TeamLimitedSyncState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedSyncState)); /** @internal */ export const TeamLimitedConnection$inboundSchema: z.ZodType< TeamLimitedConnection, z.ZodTypeDef, unknown -> = z.object({ - connectedAt: types.number(), - lastReceivedWebhookEvent: types.optional(types.number()), - lastSyncedAt: types.optional(types.number()), - state: types.string(), - syncState: types.optional(TeamLimitedSyncState$inboundSchema), - type: types.string(), - status: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectedAt: types.number(), + lastReceivedWebhookEvent: types.optional(types.number()), + lastSyncedAt: types.optional(types.number()), + state: types.string(), + syncState: types.optional(TeamLimitedSyncState$inboundSchema), + type: types.string(), + status: types.string(), + }) +); export function teamLimitedConnectionFromJSON( jsonString: string, @@ -466,21 +485,23 @@ export function teamLimitedConnectionFromJSON( /** @internal */ export const TeamLimitedSamlSyncState$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedSamlSyncState -> = z.nativeEnum(TeamLimitedSamlSyncState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TeamLimitedSamlSyncState)); /** @internal */ export const TeamLimitedDirectory$inboundSchema: z.ZodType< TeamLimitedDirectory, z.ZodTypeDef, unknown -> = z.object({ - connectedAt: types.number(), - lastReceivedWebhookEvent: types.optional(types.number()), - lastSyncedAt: types.optional(types.number()), - state: types.string(), - syncState: types.optional(TeamLimitedSamlSyncState$inboundSchema), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectedAt: types.number(), + lastReceivedWebhookEvent: types.optional(types.number()), + lastSyncedAt: types.optional(types.number()), + state: types.string(), + syncState: types.optional(TeamLimitedSamlSyncState$inboundSchema), + type: types.string(), + }) +); export function teamLimitedDirectoryFromJSON( jsonString: string, @@ -497,11 +518,15 @@ export const TeamLimitedSaml$inboundSchema: z.ZodType< TeamLimitedSaml, z.ZodTypeDef, unknown -> = z.object({ - connection: types.optional(z.lazy(() => TeamLimitedConnection$inboundSchema)), - directory: types.optional(z.lazy(() => TeamLimitedDirectory$inboundSchema)), - enforced: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connection: types.optional( + z.lazy(() => TeamLimitedConnection$inboundSchema), + ), + directory: types.optional(z.lazy(() => TeamLimitedDirectory$inboundSchema)), + enforced: types.boolean(), + }) +); export function teamLimitedSamlFromJSON( jsonString: string, @@ -518,21 +543,25 @@ export const TeamLimited$inboundSchema: z.ZodType< TeamLimited, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - createdAt: types.number(), - directorySyncSource: TeamLimitedDirectorySyncSource$inboundSchema, - directorySyncType: types.optional(types.string()), - id: types.string(), - limited: types.literal(true), - limitedBy: z.array(LimitedBy$inboundSchema), - membership: types.optional(z.lazy(() => TeamLimitedMembership$inboundSchema)), - name: types.nullable(types.string()), - orgRootTeamId: types.optional(types.string()), - parentId: types.optional(types.string()), - saml: types.optional(z.lazy(() => TeamLimitedSaml$inboundSchema)), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + createdAt: types.number(), + directorySyncSource: TeamLimitedDirectorySyncSource$inboundSchema, + directorySyncType: types.optional(types.string()), + id: types.string(), + limited: types.literal(true), + limitedBy: z.array(LimitedBy$inboundSchema), + membership: types.optional( + z.lazy(() => TeamLimitedMembership$inboundSchema), + ), + name: types.nullable(types.string()), + orgRootTeamId: types.optional(types.string()), + parentId: types.optional(types.string()), + saml: types.optional(z.lazy(() => TeamLimitedSaml$inboundSchema)), + slug: types.string(), + }) +); export function teamLimitedFromJSON( jsonString: string, diff --git a/src/models/testdrainop.ts b/src/models/testdrainop.ts index 5feca1bdf9..8c970688c9 100644 --- a/src/models/testdrainop.ts +++ b/src/models/testdrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -160,9 +160,11 @@ export const TestDrainSchemas$outboundSchema: z.ZodType< TestDrainSchemas$Outbound, z.ZodTypeDef, TestDrainSchemas -> = z.object({ - version: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.string(), + }) +); export function testDrainSchemasToJSON( testDrainSchemas: TestDrainSchemas, @@ -174,30 +176,36 @@ export function testDrainSchemasToJSON( /** @internal */ export const TestDrainDeliveryDrainsRequestEncoding$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - TestDrainDeliveryDrainsRequestEncoding, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryDrainsRequestEncoding) + ); /** @internal */ export const TestDrainDeliveryDrainsCompression$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryDrainsCompression -> = z.nativeEnum(TestDrainDeliveryDrainsCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryDrainsCompression) +); /** @internal */ export const TestDrainDeliveryFileStructure$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryFileStructure -> = z.nativeEnum(TestDrainDeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryFileStructure) +); /** @internal */ export const TestDrainDeliveryServerSideEncryption$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - TestDrainDeliveryServerSideEncryption, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryServerSideEncryption) + ); /** @internal */ export const TestDrainDeliveryObjectAcl$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryObjectAcl -> = z.nativeEnum(TestDrainDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TestDrainDeliveryObjectAcl)); /** @internal */ export type TestDrainDelivery3$Outbound = { @@ -218,19 +226,21 @@ export const TestDrainDelivery3$outboundSchema: z.ZodType< TestDrainDelivery3$Outbound, z.ZodTypeDef, TestDrainDelivery3 -> = z.object({ - type: z.string(), - endpoint: z.string(), - encoding: TestDrainDeliveryDrainsRequestEncoding$outboundSchema, - compression: TestDrainDeliveryDrainsCompression$outboundSchema, - fileStructure: TestDrainDeliveryFileStructure$outboundSchema, - roleArn: z.string(), - region: z.string(), - serverSideEncryption: TestDrainDeliveryServerSideEncryption$outboundSchema - .default("AES256"), - kmsKeyId: z.string().optional(), - objectAcl: TestDrainDeliveryObjectAcl$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + encoding: TestDrainDeliveryDrainsRequestEncoding$outboundSchema, + compression: TestDrainDeliveryDrainsCompression$outboundSchema, + fileStructure: TestDrainDeliveryFileStructure$outboundSchema, + roleArn: z.string(), + region: z.string(), + serverSideEncryption: TestDrainDeliveryServerSideEncryption$outboundSchema + .default("AES256"), + kmsKeyId: z.string().optional(), + objectAcl: TestDrainDeliveryObjectAcl$outboundSchema.optional(), + }) +); export function testDrainDelivery3ToJSON( testDrainDelivery3: TestDrainDelivery3, @@ -250,9 +260,11 @@ export const TestDrainEndpoint1$outboundSchema: z.ZodType< TestDrainEndpoint1$Outbound, z.ZodTypeDef, TestDrainEndpoint1 -> = z.object({ - traces: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: z.string(), + }) +); export function testDrainEndpoint1ToJSON( testDrainEndpoint1: TestDrainEndpoint1, @@ -270,7 +282,9 @@ export const TestDrainDeliveryEndpoint$outboundSchema: z.ZodType< TestDrainDeliveryEndpoint$Outbound, z.ZodTypeDef, TestDrainDeliveryEndpoint -> = z.lazy(() => TestDrainEndpoint1$outboundSchema); +> = /* @__PURE__ */ lazySchema$(() => + z.lazy(() => TestDrainEndpoint1$outboundSchema) +); export function testDrainDeliveryEndpointToJSON( testDrainDeliveryEndpoint: TestDrainDeliveryEndpoint, @@ -283,7 +297,9 @@ export function testDrainDeliveryEndpointToJSON( /** @internal */ export const TestDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryDrainsEncoding -> = z.nativeEnum(TestDrainDeliveryDrainsEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryDrainsEncoding) +); /** @internal */ export type TestDrainDelivery2$Outbound = { @@ -299,13 +315,15 @@ export const TestDrainDelivery2$outboundSchema: z.ZodType< TestDrainDelivery2$Outbound, z.ZodTypeDef, TestDrainDelivery2 -> = z.object({ - type: z.string(), - endpoint: z.lazy(() => TestDrainEndpoint1$outboundSchema), - encoding: TestDrainDeliveryDrainsEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.lazy(() => TestDrainEndpoint1$outboundSchema), + encoding: TestDrainDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function testDrainDelivery2ToJSON( testDrainDelivery2: TestDrainDelivery2, @@ -318,12 +336,14 @@ export function testDrainDelivery2ToJSON( /** @internal */ export const TestDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryCompression -> = z.nativeEnum(TestDrainDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(TestDrainDeliveryCompression) +); /** @internal */ export const TestDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< typeof TestDrainDeliveryEncoding -> = z.nativeEnum(TestDrainDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TestDrainDeliveryEncoding)); /** @internal */ export type TestDrainDelivery1$Outbound = { @@ -340,14 +360,16 @@ export const TestDrainDelivery1$outboundSchema: z.ZodType< TestDrainDelivery1$Outbound, z.ZodTypeDef, TestDrainDelivery1 -> = z.object({ - type: z.string(), - endpoint: z.string(), - compression: TestDrainDeliveryCompression$outboundSchema.optional(), - encoding: TestDrainDeliveryEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + compression: TestDrainDeliveryCompression$outboundSchema.optional(), + encoding: TestDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function testDrainDelivery1ToJSON( testDrainDelivery1: TestDrainDelivery1, @@ -368,11 +390,13 @@ export const TestDrainDelivery$outboundSchema: z.ZodType< TestDrainDelivery$Outbound, z.ZodTypeDef, TestDrainDelivery -> = smartUnion([ - z.lazy(() => TestDrainDelivery3$outboundSchema), - z.lazy(() => TestDrainDelivery1$outboundSchema), - z.lazy(() => TestDrainDelivery2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => TestDrainDelivery3$outboundSchema), + z.lazy(() => TestDrainDelivery1$outboundSchema), + z.lazy(() => TestDrainDelivery2$outboundSchema), + ]) +); export function testDrainDeliveryToJSON( testDrainDelivery: TestDrainDelivery, @@ -396,14 +420,16 @@ export const TestDrainRequestBody$outboundSchema: z.ZodType< TestDrainRequestBody$Outbound, z.ZodTypeDef, TestDrainRequestBody -> = z.object({ - schemas: z.record(z.lazy(() => TestDrainSchemas$outboundSchema)), - delivery: smartUnion([ - z.lazy(() => TestDrainDelivery3$outboundSchema), - z.lazy(() => TestDrainDelivery1$outboundSchema), - z.lazy(() => TestDrainDelivery2$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + schemas: z.record(z.lazy(() => TestDrainSchemas$outboundSchema)), + delivery: smartUnion([ + z.lazy(() => TestDrainDelivery3$outboundSchema), + z.lazy(() => TestDrainDelivery1$outboundSchema), + z.lazy(() => TestDrainDelivery2$outboundSchema), + ]), + }) +); export function testDrainRequestBodyToJSON( testDrainRequestBody: TestDrainRequestBody, @@ -425,15 +451,17 @@ export const TestDrainRequest$outboundSchema: z.ZodType< TestDrainRequest$Outbound, z.ZodTypeDef, TestDrainRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => TestDrainRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => TestDrainRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function testDrainRequestToJSON( testDrainRequest: TestDrainRequest, @@ -448,11 +476,13 @@ export const TestDrainResponseBody2$inboundSchema: z.ZodType< TestDrainResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - error: types.string(), - status: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + error: types.string(), + status: types.string(), + }) +); export function testDrainResponseBody2FromJSON( jsonString: string, @@ -469,7 +499,7 @@ export const TestDrainResponseBody1$inboundSchema: z.ZodType< TestDrainResponseBody1, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function testDrainResponseBody1FromJSON( jsonString: string, @@ -486,10 +516,12 @@ export const TestDrainResponseBody$inboundSchema: z.ZodType< TestDrainResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => TestDrainResponseBody2$inboundSchema), - z.lazy(() => TestDrainResponseBody1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => TestDrainResponseBody2$inboundSchema), + z.lazy(() => TestDrainResponseBody1$inboundSchema), + ]) +); export function testDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/usereventpayload317type.ts b/src/models/threehundredandtwentyfour.ts similarity index 66% rename from src/models/usereventpayload317type.ts rename to src/models/threehundredandtwentyfour.ts index be627094c7..773b427a81 100644 --- a/src/models/usereventpayload317type.ts +++ b/src/models/threehundredandtwentyfour.ts @@ -3,17 +3,46 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; import { - OldSsoProtection2, - OldSsoProtection2$inboundSchema, -} from "./oldssoprotection2.js"; + PayloadStaticIps, + PayloadStaticIps$inboundSchema, + UserEventPayload382Next, + UserEventPayload382Next$inboundSchema, +} from "./payloadstaticips.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; +export type UserEventPayload382PreviousProject = { + id?: string | undefined; + staticIps: PayloadStaticIps; +}; + +export type UserEventPayload382Previous = { + project: UserEventPayload382PreviousProject; +}; + +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndEightyTwo = { + next: UserEventPayload382Next; + previous: UserEventPayload382Previous; + projectId: string; + projectName: string; +}; + +export const OldSsoProtection2 = { + All: "all", + AllExceptCustomDomains: "all_except_custom_domains", + Preview: "preview", + ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", +} as const; +export type OldSsoProtection2 = ClosedEnum; + export const OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", @@ -113,75 +142,75 @@ export type PayloadSsoProtection = SsoProtection1 | SsoProtection2; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyEight = { +export type ThreeHundredAndEightyOne = { oldSsoProtection: OldSsoProtection1 | OldSsoProtection2 | null; projectId?: string | undefined; projectName?: string | undefined; ssoProtection: SsoProtection1 | SsoProtection2 | null; }; -export type UserEventPayload377Next = { +export type UserEventPayload380Next = { skewProtectionAllowedDomains: Array; }; -export type UserEventPayload377Previous = { +export type UserEventPayload380Previous = { skewProtectionAllowedDomains?: Array | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventySeven = { - next: UserEventPayload377Next; - previous: UserEventPayload377Previous; +export type ThreeHundredAndEighty = { + next: UserEventPayload380Next; + previous: UserEventPayload380Previous; projectId: string; projectName: string; }; -export type UserEventPayload376Next = { +export type UserEventPayload379Next = { skewProtectionMaxAge: number; }; -export type UserEventPayload376Previous = { +export type UserEventPayload379Previous = { skewProtectionMaxAge?: number | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventySix = { - next: UserEventPayload376Next; - previous: UserEventPayload376Previous; +export type ThreeHundredAndSeventyNine = { + next: UserEventPayload379Next; + previous: UserEventPayload379Previous; projectId: string; projectName: string; }; -export type UserEventPayload375Next = { +export type UserEventPayload378Next = { skewProtectionBoundaryAt: number; }; -export type UserEventPayload375Previous = { +export type UserEventPayload378Previous = { skewProtectionBoundaryAt?: number | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyFive = { - next: UserEventPayload375Next; - previous: UserEventPayload375Previous; +export type ThreeHundredAndSeventyEight = { + next: UserEventPayload378Next; + previous: UserEventPayload378Previous; projectId: string; projectName: string; }; -export type UserEventPayload374Next = { +export type UserEventPayload377Next = { expiration?: string | undefined; expirationCanceled?: string | undefined; expirationErrored?: string | undefined; expirationProduction?: string | undefined; }; -export type UserEventPayload374Previous = { +export type UserEventPayload377Previous = { expiration?: string | undefined; expirationCanceled?: string | undefined; expirationErrored?: string | undefined; @@ -191,9 +220,9 @@ export type UserEventPayload374Previous = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyFour = { - next: UserEventPayload374Next; - previous: UserEventPayload374Previous; +export type ThreeHundredAndSeventySeven = { + next: UserEventPayload377Next; + previous: UserEventPayload377Previous; projectId?: string | undefined; projectName?: string | undefined; }; @@ -201,7 +230,7 @@ export type ThreeHundredAndSeventyFour = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyThree = { +export type ThreeHundredAndSeventySix = { projectId: string; projectName: string; publicSource: boolean; @@ -210,7 +239,7 @@ export type ThreeHundredAndSeventyThree = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyTwo = { +export type ThreeHundredAndSeventyFive = { inheritDeploymentProtection: boolean; projectId: string; projectName: string; @@ -219,7 +248,7 @@ export type ThreeHundredAndSeventyTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventyOne = { +export type ThreeHundredAndSeventyFour = { projectId: string; projectName: string; protectedSourcemaps: boolean; @@ -228,7 +257,7 @@ export type ThreeHundredAndSeventyOne = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventy = { +export type ThreeHundredAndSeventyThree = { gitForkProtection: boolean; projectId: string; projectName: string; @@ -237,7 +266,7 @@ export type ThreeHundredAndSeventy = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyNine = { +export type ThreeHundredAndSeventyTwo = { customerSupportCodeVisibility: boolean; projectId: string; projectName: string; @@ -249,7 +278,7 @@ export const IssuerMode = { } as const; export type IssuerMode = ClosedEnum; -export type UserEventPayload368Next = { +export type UserEventPayload371Next = { issuerMode: IssuerMode; }; @@ -259,16 +288,16 @@ export const PayloadIssuerMode = { } as const; export type PayloadIssuerMode = ClosedEnum; -export type UserEventPayload368Previous = { +export type UserEventPayload371Previous = { issuerMode?: PayloadIssuerMode | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyEight = { - next: UserEventPayload368Next; - previous: UserEventPayload368Previous; +export type ThreeHundredAndSeventyOne = { + next: UserEventPayload371Next; + previous: UserEventPayload371Previous; projectId: string; projectName: string; }; @@ -276,19 +305,19 @@ export type ThreeHundredAndSixtyEight = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtySeven = { +export type ThreeHundredAndSeventy = { failoverRegions?: Array | undefined; projectId: string; projectName: string; region?: string | undefined; }; -export type UserEventPayload366Next = { +export type UserEventPayload369Next = { deploymentSources?: Array | null | undefined; gitSources?: Array | null | undefined; }; -export type UserEventPayload366Previous = { +export type UserEventPayload369Previous = { deploymentSources?: Array | null | undefined; gitSources?: Array | null | undefined; }; @@ -296,9 +325,9 @@ export type UserEventPayload366Previous = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtySix = { - next: UserEventPayload366Next | null; - previous: UserEventPayload366Previous | null; +export type ThreeHundredAndSixtyNine = { + next: UserEventPayload369Next | null; + previous: UserEventPayload369Previous | null; projectId: string; projectName: string; }; @@ -306,7 +335,7 @@ export type ThreeHundredAndSixtySix = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyFive = { +export type ThreeHundredAndSixtyEight = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; @@ -316,7 +345,7 @@ export type ThreeHundredAndSixtyFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyFour = { +export type ThreeHundredAndSixtySeven = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; @@ -459,7 +488,7 @@ export type RollbackDescription = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyThree = { +export type ThreeHundredAndSixtySix = { deploymentId: string; projectAccountId: string; projectId: string; @@ -479,7 +508,7 @@ export type Consent = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyTwo = { +export type ThreeHundredAndSixtyFive = { consent: Consent; projectId?: string | undefined; projectName: string; @@ -503,7 +532,7 @@ export type ReasonCode = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixtyOne = { +export type ThreeHundredAndSixtyFour = { /** * The budget that paused the project, for `BUDGET_REACHED`. Absent on older events. */ @@ -520,7 +549,7 @@ export type ThreeHundredAndSixtyOne = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixty = { +export type ThreeHundredAndSixtyThree = { expiresAt: number; projectId: string; }; @@ -528,7 +557,7 @@ export type ThreeHundredAndSixty = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyNine = { +export type ThreeHundredAndSixtyTwo = { projectId: string; }; @@ -587,7 +616,7 @@ export type PayloadPasswordProtection = /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyEight = { +export type ThreeHundredAndSixtyOne = { oldPasswordProtection: OldPasswordProtection1 | OldPasswordProtection2 | null; passwordChanged?: boolean | undefined; passwordProtection: PasswordProtection1 | PasswordProtection2 | null; @@ -598,7 +627,7 @@ export type ThreeHundredAndFiftyEight = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftySeven = { +export type ThreeHundredAndSixty = { projectId: string; projectName: string; removeVercelRequestHeaders: boolean; @@ -623,7 +652,7 @@ export type OptionsAllowlist = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftySix = { +export type ThreeHundredAndFiftyNine = { oldOptionsAllowlist?: OldOptionsAllowlist | null | undefined; optionsAllowlist?: OptionsAllowlist | null | undefined; projectId: string; @@ -633,7 +662,7 @@ export type ThreeHundredAndFiftySix = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyFive = { +export type ThreeHundredAndFiftyEight = { projectId: string; projectName: string; source: string; @@ -642,7 +671,7 @@ export type ThreeHundredAndFiftyFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyFour = { +export type ThreeHundredAndFiftySeven = { destinationAccountName: string; newProjectId?: string | undefined; newProjectName: string; @@ -654,7 +683,7 @@ export type ThreeHundredAndFiftyFour = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyThree = { +export type ThreeHundredAndFiftySix = { destinationAccountId: string; destinationAccountName: string; originAccountName: string; @@ -666,7 +695,7 @@ export type ThreeHundredAndFiftyThree = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyTwo = { +export type ThreeHundredAndFiftyFive = { destinationAccountName: string | null; previousProjectId?: string | undefined; projectName: string; @@ -676,7 +705,7 @@ export type ThreeHundredAndFiftyTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFiftyOne = { +export type ThreeHundredAndFiftyFour = { newProjectId?: string | undefined; newProjectName: string; originAccountName: string; @@ -685,19 +714,19 @@ export type ThreeHundredAndFiftyOne = { transferId?: string | undefined; }; -export type UserEventPayload350Project = { +export type UserEventPayload353Project = { id: string; name: string; }; -export const UserEventPayload350Role = { +export const UserEventPayload353Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectGuest: "PROJECT_GUEST", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload350Role = ClosedEnum< - typeof UserEventPayload350Role +export type UserEventPayload353Role = ClosedEnum< + typeof UserEventPayload353Role >; export const PayloadPreviousRole = { @@ -710,7 +739,7 @@ export type PayloadPreviousRole = ClosedEnum; export type PayloadProjectMembership = { createdAt?: number | undefined; - role?: UserEventPayload350Role | undefined; + role?: UserEventPayload353Role | undefined; uid?: string | undefined; previousRole?: PayloadPreviousRole | undefined; username?: string | undefined; @@ -719,29 +748,29 @@ export type PayloadProjectMembership = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFifty = { - project: UserEventPayload350Project; +export type ThreeHundredAndFiftyThree = { + project: UserEventPayload353Project; projectMembership: PayloadProjectMembership; }; -export type UserEventPayload349Project = { +export type UserEventPayload352Project = { id?: string | undefined; name: string; }; -export const UserEventPayload349Role = { +export const UserEventPayload352Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectGuest: "PROJECT_GUEST", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload349Role = ClosedEnum< - typeof UserEventPayload349Role +export type UserEventPayload352Role = ClosedEnum< + typeof UserEventPayload352Role >; export type RemovedMembership = { createdAt: number; - role: UserEventPayload349Role; + role: UserEventPayload352Role; uid: string; username?: string | undefined; }; @@ -749,54 +778,54 @@ export type RemovedMembership = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyNine = { - project: UserEventPayload349Project; +export type ThreeHundredAndFiftyTwo = { + project: UserEventPayload352Project; removedMembership: RemovedMembership; }; -export const UserEventPayload348Role = { +export const UserEventPayload351Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectGuest: "PROJECT_GUEST", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload348Role = ClosedEnum< - typeof UserEventPayload348Role +export type UserEventPayload351Role = ClosedEnum< + typeof UserEventPayload351Role >; -export type UserEventPayload348Project = { +export type UserEventPayload351Project = { id?: string | undefined; invitedUserId?: string | undefined; invitedUserName: string; name: string; - role: UserEventPayload348Role; + role: UserEventPayload351Role; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyEight = { - project: UserEventPayload348Project; +export type ThreeHundredAndFiftyOne = { + project: UserEventPayload351Project; }; -export type UserEventPayload347Project = { +export type UserEventPayload350Project = { id?: string | undefined; name: string; }; -export const UserEventPayload347Role = { +export const UserEventPayload350Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectGuest: "PROJECT_GUEST", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload347Role = ClosedEnum< - typeof UserEventPayload347Role +export type UserEventPayload350Role = ClosedEnum< + typeof UserEventPayload350Role >; export type ProjectMembership = { createdAt: number; - role: UserEventPayload347Role; + role: UserEventPayload350Role; uid: string; username?: string | undefined; }; @@ -804,15 +833,15 @@ export type ProjectMembership = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortySeven = { - project: UserEventPayload347Project; +export type ThreeHundredAndFifty = { + project: UserEventPayload350Project; projectMembership: ProjectMembership | null; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortySix = { +export type ThreeHundredAndFortyNine = { configuredBy?: string | null | undefined; domain: string; prevConfiguredBy?: string | null | undefined; @@ -843,7 +872,7 @@ export type TeamMembership = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyFive = { +export type ThreeHundredAndFortyEight = { directoryType?: string | undefined; projects: Array; teamMembership?: TeamMembership | undefined; @@ -852,7 +881,7 @@ export type ThreeHundredAndFortyFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyFour = { +export type ThreeHundredAndFortySeven = { domain: string; projectId: string; projectName: string; @@ -863,7 +892,7 @@ export type ThreeHundredAndFortyFour = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyThree = { +export type ThreeHundredAndFortySix = { domain: string; newProjectId: string; newProjectName: string; @@ -874,7 +903,7 @@ export type ThreeHundredAndFortyThree = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyTwo = { +export type ThreeHundredAndFortyFive = { domain: string; projectId: string; projectName: string; @@ -886,7 +915,7 @@ export type ThreeHundredAndFortyTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFortyOne = { +export type ThreeHundredAndFortyFour = { configuredBy?: string | undefined; domain: string; gitBranch: string | null; @@ -897,20 +926,20 @@ export type ThreeHundredAndFortyOne = { target: string; }; -export type UserEventPayload340Next = { +export type UserEventPayload343Next = { commandForIgnoringBuildStep?: string | undefined; }; -export type UserEventPayload340Previous = { +export type UserEventPayload343Previous = { commandForIgnoringBuildStep?: string | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndForty = { - next: UserEventPayload340Next; - previous: UserEventPayload340Previous; +export type ThreeHundredAndFortyThree = { + next: UserEventPayload343Next; + previous: UserEventPayload343Previous; projectId: string; projectName: string; }; @@ -923,7 +952,7 @@ export type ConsolidatedGitCommitStatus = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyNine = { +export type ThreeHundredAndFortyTwo = { consolidatedGitCommitStatus: ConsolidatedGitCommitStatus | null; projectId: string; projectName: string; @@ -932,7 +961,7 @@ export type ThreeHundredAndThirtyNine = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyEight = { +export type ThreeHundredAndFortyOne = { gitLFS: boolean; projectId: string; projectName: string; @@ -941,7 +970,7 @@ export type ThreeHundredAndThirtyEight = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtySeven = { +export type ThreeHundredAndForty = { gitCommitStatus: boolean; projectId: string; projectName: string; @@ -950,21 +979,21 @@ export type ThreeHundredAndThirtySeven = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtySix = { +export type ThreeHundredAndThirtyNine = { disableRepositoryDispatchEvents: boolean; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyFive = { +export type ThreeHundredAndThirtyEight = { requireVerifiedCommits: boolean; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyFour = { +export type ThreeHundredAndThirtySeven = { projectId: string; projectName: string; requireVerifiedCommits: boolean | null; @@ -979,7 +1008,7 @@ export type CreateDeployments = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyThree = { +export type ThreeHundredAndThirtySix = { createDeployments: CreateDeployments; projectId: string; projectName: string; @@ -988,7 +1017,7 @@ export type ThreeHundredAndThirtyThree = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyTwo = { +export type ThreeHundredAndThirtyFive = { disableRepositoryDispatchEvents: boolean; projectId: string; projectName: string; @@ -997,7 +1026,7 @@ export type ThreeHundredAndThirtyTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirtyOne = { +export type ThreeHundredAndThirtyFour = { onCommit: boolean; projectId: string; projectName: string; @@ -1006,7 +1035,7 @@ export type ThreeHundredAndThirtyOne = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirty = { +export type ThreeHundredAndThirtyThree = { onPullRequest: boolean; projectId: string; projectName: string; @@ -1027,7 +1056,7 @@ export type GitProvider = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyNine = { +export type ThreeHundredAndThirtyTwo = { gitProvider: GitProvider; gitRepoId: string; gitRepositoryName: string; @@ -1049,7 +1078,7 @@ export type UserEventPayloadGitProvider = ClosedEnum< typeof UserEventPayloadGitProvider >; -export type UserEventPayload328Next = { +export type UserEventPayload331Next = { gitProvider: UserEventPayloadGitProvider; gitRepoId: string; gitRepositoryName: string; @@ -1067,7 +1096,7 @@ export const PayloadGitProvider = { } as const; export type PayloadGitProvider = ClosedEnum; -export type UserEventPayload328Previous = { +export type UserEventPayload331Previous = { gitProvider: PayloadGitProvider; gitRepoId: string; gitRepositoryName: string; @@ -1076,9 +1105,9 @@ export type UserEventPayload328Previous = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyEight = { - next: UserEventPayload328Next; - previous?: UserEventPayload328Previous | undefined; +export type ThreeHundredAndThirtyOne = { + next: UserEventPayload331Next; + previous?: UserEventPayload331Previous | undefined; projectId: string; projectName: string; }; @@ -1086,7 +1115,7 @@ export type ThreeHundredAndTwentyEight = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentySeven = { +export type ThreeHundredAndThirty = { newProjectName: string; projectId: string; projectName: string; @@ -1095,80 +1124,80 @@ export type ThreeHundredAndTwentySeven = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentySix = { +export type ThreeHundredAndTwentyNine = { previewDeploymentSuffix: string | null; projectId: string; projectName: string; }; -export type UserEventPayload325Next = { +export type UserEventPayload328Next = { functionZeroConfigFailover: boolean; }; -export type UserEventPayload325Previous = { +export type UserEventPayload328Previous = { functionZeroConfigFailover: boolean | null; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyFive = { - next: UserEventPayload325Next; - previous: UserEventPayload325Previous; +export type ThreeHundredAndTwentyEight = { + next: UserEventPayload328Next; + previous: UserEventPayload328Previous; projectId: string; projectName: string; }; -export type UserEventPayload324Next = { +export type UserEventPayload327Next = { functionDefaultRegions: Array; }; -export type UserEventPayload324Previous = { +export type UserEventPayload327Previous = { functionDefaultRegions: Array | null; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyFour = { - next: UserEventPayload324Next; - previous: UserEventPayload324Previous; +export type ThreeHundredAndTwentySeven = { + next: UserEventPayload327Next; + previous: UserEventPayload327Previous; projectId: string; projectName: string; }; -export type UserEventPayload323Next = { +export type UserEventPayload326Next = { functionDefaultMemoryType: string; }; -export type UserEventPayload323Previous = { +export type UserEventPayload326Previous = { functionDefaultMemoryType: string | null; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyThree = { - next: UserEventPayload323Next; - previous: UserEventPayload323Previous; +export type ThreeHundredAndTwentySix = { + next: UserEventPayload326Next; + previous: UserEventPayload326Previous; projectId: string; projectName: string; }; -export type UserEventPayload322Next = { +export type UserEventPayload325Next = { functionDefaultTimeout: number; }; -export type UserEventPayload322Previous = { +export type UserEventPayload325Previous = { functionDefaultTimeout: number | null; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyTwo = { - next: UserEventPayload322Next; - previous: UserEventPayload322Previous; +export type ThreeHundredAndTwentyFive = { + next: UserEventPayload325Next; + previous: UserEventPayload325Previous; projectId: string; projectName: string; }; @@ -1176,91 +1205,123 @@ export type ThreeHundredAndTwentyTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwentyOne = { +export type ThreeHundredAndTwentyFour = { enableFunctionsBeta: boolean; projectId: string; projectName?: string | undefined; }; -/** - * The payload of the event, if requested. - */ -export type ThreeHundredAndTwenty = { - customEnvironmentId: string; - customEnvironmentSlug: string; - projectId: string; - projectName: string; -}; +/** @internal */ +export const UserEventPayload382PreviousProject$inboundSchema: z.ZodType< + UserEventPayload382PreviousProject, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.optional(types.string()), + staticIps: PayloadStaticIps$inboundSchema, + }) +); + +export function userEventPayload382PreviousProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UserEventPayload382PreviousProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload382PreviousProject' from JSON`, + ); +} -/** - * The payload of the event, if requested. - */ -export type ThreeHundredAndNineteen = { - customEnvironmentId: string; - customEnvironmentSlug: string; - enableSchedulesByDefault?: boolean | undefined; - projectId: string; - projectName: string; -}; +/** @internal */ +export const UserEventPayload382Previous$inboundSchema: z.ZodType< + UserEventPayload382Previous, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload382PreviousProject$inboundSchema), + }) +); -/** - * The payload of the event, if requested. - */ -export type ThreeHundredAndEighteen = { - customEnvironmentId: string; - customEnvironmentSlug: string; - enableSchedulesByDefault: boolean; - projectId: string; - projectName: string; -}; +export function userEventPayload382PreviousFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload382Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload382Previous' from JSON`, + ); +} -/** - * The type of matching to perform - */ -export const UserEventPayload317Type = { - EndsWith: "endsWith", - Equals: "equals", - StartsWith: "startsWith", -} as const; -/** - * The type of matching to perform - */ -export type UserEventPayload317Type = ClosedEnum< - typeof UserEventPayload317Type ->; +/** @internal */ +export const ThreeHundredAndEightyTwo$inboundSchema: z.ZodType< + ThreeHundredAndEightyTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: UserEventPayload382Next$inboundSchema, + previous: z.lazy(() => UserEventPayload382Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function threeHundredAndEightyTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndEightyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightyTwo' from JSON`, + ); +} + +/** @internal */ +export const OldSsoProtection2$inboundSchema: z.ZodNativeEnum< + typeof OldSsoProtection2 +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OldSsoProtection2)); /** @internal */ export const OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom) ); /** @internal */ export const OldSsoProtectionCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(OldSsoProtectionCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OldSsoProtectionCve55182MigrationAppliedFrom) + ); /** @internal */ export const OldSsoProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof OldSsoProtectionDeploymentType -> = z.nativeEnum(OldSsoProtectionDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OldSsoProtectionDeploymentType) +); /** @internal */ export const OldSsoProtection1$inboundSchema: z.ZodType< OldSsoProtection1, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - OldSsoProtectionCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: OldSsoProtectionDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + OldSsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + OldSsoProtectionCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: OldSsoProtectionDeploymentType$inboundSchema, + }) +); export function oldSsoProtection1FromJSON( jsonString: string, @@ -1277,10 +1338,12 @@ export const PayloadOldSsoProtection$inboundSchema: z.ZodType< PayloadOldSsoProtection, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => OldSsoProtection1$inboundSchema), - OldSsoProtection2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => OldSsoProtection1$inboundSchema), + OldSsoProtection2$inboundSchema, + ]) +); export function payloadOldSsoProtectionFromJSON( jsonString: string, @@ -1295,38 +1358,46 @@ export function payloadOldSsoProtectionFromJSON( /** @internal */ export const SsoProtection2$inboundSchema: z.ZodNativeEnum< typeof SsoProtection2 -> = z.nativeEnum(SsoProtection2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SsoProtection2)); /** @internal */ export const SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum(SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const SsoProtectionCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(SsoProtectionCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SsoProtectionCve55182MigrationAppliedFrom) + ); /** @internal */ export const SsoProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof SsoProtectionDeploymentType -> = z.nativeEnum(SsoProtectionDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(SsoProtectionDeploymentType) +); /** @internal */ export const SsoProtection1$inboundSchema: z.ZodType< SsoProtection1, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - SsoProtectionCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: SsoProtectionDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + SsoProtectionApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + SsoProtectionCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: SsoProtectionDeploymentType$inboundSchema, + }) +); export function ssoProtection1FromJSON( jsonString: string, @@ -1343,10 +1414,12 @@ export const PayloadSsoProtection$inboundSchema: z.ZodType< PayloadSsoProtection, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => SsoProtection1$inboundSchema), - SsoProtection2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => SsoProtection1$inboundSchema), + SsoProtection2$inboundSchema, + ]) +); export function payloadSsoProtectionFromJSON( jsonString: string, @@ -1359,583 +1432,633 @@ export function payloadSsoProtectionFromJSON( } /** @internal */ -export const ThreeHundredAndSeventyEight$inboundSchema: z.ZodType< - ThreeHundredAndSeventyEight, +export const ThreeHundredAndEightyOne$inboundSchema: z.ZodType< + ThreeHundredAndEightyOne, z.ZodTypeDef, unknown -> = z.object({ - oldSsoProtection: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + oldSsoProtection: types.nullable(smartUnion([ z.lazy(() => OldSsoProtection1$inboundSchema), OldSsoProtection2$inboundSchema, - ]), - ), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - ssoProtection: types.nullable( - smartUnion([ + ])), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + ssoProtection: types.nullable(smartUnion([ z.lazy(() => SsoProtection1$inboundSchema), SsoProtection2$inboundSchema, - ]), - ), -}); + ])), + }) +); -export function threeHundredAndSeventyEightFromJSON( +export function threeHundredAndEightyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyEight' from JSON`, + (x) => ThreeHundredAndEightyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEightyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload377Next$inboundSchema: z.ZodType< - UserEventPayload377Next, +export const UserEventPayload380Next$inboundSchema: z.ZodType< + UserEventPayload380Next, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionAllowedDomains: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionAllowedDomains: z.array(types.string()), + }) +); -export function userEventPayload377NextFromJSON( +export function userEventPayload380NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload377Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload377Next' from JSON`, + (x) => UserEventPayload380Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload380Next' from JSON`, ); } /** @internal */ -export const UserEventPayload377Previous$inboundSchema: z.ZodType< - UserEventPayload377Previous, +export const UserEventPayload380Previous$inboundSchema: z.ZodType< + UserEventPayload380Previous, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionAllowedDomains: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + }) +); -export function userEventPayload377PreviousFromJSON( +export function userEventPayload380PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload377Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload377Previous' from JSON`, + (x) => UserEventPayload380Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload380Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventySeven$inboundSchema: z.ZodType< - ThreeHundredAndSeventySeven, +export const ThreeHundredAndEighty$inboundSchema: z.ZodType< + ThreeHundredAndEighty, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload377Next$inboundSchema), - previous: z.lazy(() => UserEventPayload377Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndSeventySevenFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload380Next$inboundSchema), + previous: z.lazy(() => UserEventPayload380Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function threeHundredAndEightyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventySeven' from JSON`, + (x) => ThreeHundredAndEighty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEighty' from JSON`, ); } /** @internal */ -export const UserEventPayload376Next$inboundSchema: z.ZodType< - UserEventPayload376Next, +export const UserEventPayload379Next$inboundSchema: z.ZodType< + UserEventPayload379Next, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionMaxAge: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionMaxAge: types.number(), + }) +); -export function userEventPayload376NextFromJSON( +export function userEventPayload379NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload376Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload376Next' from JSON`, + (x) => UserEventPayload379Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload379Next' from JSON`, ); } /** @internal */ -export const UserEventPayload376Previous$inboundSchema: z.ZodType< - UserEventPayload376Previous, +export const UserEventPayload379Previous$inboundSchema: z.ZodType< + UserEventPayload379Previous, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionMaxAge: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionMaxAge: types.optional(types.number()), + }) +); -export function userEventPayload376PreviousFromJSON( +export function userEventPayload379PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload376Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload376Previous' from JSON`, + (x) => UserEventPayload379Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload379Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventySix$inboundSchema: z.ZodType< - ThreeHundredAndSeventySix, +export const ThreeHundredAndSeventyNine$inboundSchema: z.ZodType< + ThreeHundredAndSeventyNine, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload376Next$inboundSchema), - previous: z.lazy(() => UserEventPayload376Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndSeventySixFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload379Next$inboundSchema), + previous: z.lazy(() => UserEventPayload379Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function threeHundredAndSeventyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventySix' from JSON`, + (x) => ThreeHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload375Next$inboundSchema: z.ZodType< - UserEventPayload375Next, +export const UserEventPayload378Next$inboundSchema: z.ZodType< + UserEventPayload378Next, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionBoundaryAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionBoundaryAt: types.number(), + }) +); -export function userEventPayload375NextFromJSON( +export function userEventPayload378NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload375Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload375Next' from JSON`, + (x) => UserEventPayload378Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload378Next' from JSON`, ); } /** @internal */ -export const UserEventPayload375Previous$inboundSchema: z.ZodType< - UserEventPayload375Previous, +export const UserEventPayload378Previous$inboundSchema: z.ZodType< + UserEventPayload378Previous, z.ZodTypeDef, unknown -> = z.object({ - skewProtectionBoundaryAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + skewProtectionBoundaryAt: types.optional(types.number()), + }) +); -export function userEventPayload375PreviousFromJSON( +export function userEventPayload378PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload375Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload375Previous' from JSON`, + (x) => UserEventPayload378Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload378Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventyFive$inboundSchema: z.ZodType< - ThreeHundredAndSeventyFive, +export const ThreeHundredAndSeventyEight$inboundSchema: z.ZodType< + ThreeHundredAndSeventyEight, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload375Next$inboundSchema), - previous: z.lazy(() => UserEventPayload375Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload378Next$inboundSchema), + previous: z.lazy(() => UserEventPayload378Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSeventyFiveFromJSON( +export function threeHundredAndSeventyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyFive' from JSON`, + (x) => ThreeHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyEight' from JSON`, ); } /** @internal */ -export const UserEventPayload374Next$inboundSchema: z.ZodType< - UserEventPayload374Next, - z.ZodTypeDef, +export const UserEventPayload377Next$inboundSchema: z.ZodType< + UserEventPayload377Next, + z.ZodTypeDef, unknown -> = z.object({ - expiration: types.optional(types.string()), - expirationCanceled: types.optional(types.string()), - expirationErrored: types.optional(types.string()), - expirationProduction: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiration: types.optional(types.string()), + expirationCanceled: types.optional(types.string()), + expirationErrored: types.optional(types.string()), + expirationProduction: types.optional(types.string()), + }) +); -export function userEventPayload374NextFromJSON( +export function userEventPayload377NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload374Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload374Next' from JSON`, + (x) => UserEventPayload377Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload377Next' from JSON`, ); } /** @internal */ -export const UserEventPayload374Previous$inboundSchema: z.ZodType< - UserEventPayload374Previous, +export const UserEventPayload377Previous$inboundSchema: z.ZodType< + UserEventPayload377Previous, z.ZodTypeDef, unknown -> = z.object({ - expiration: types.optional(types.string()), - expirationCanceled: types.optional(types.string()), - expirationErrored: types.optional(types.string()), - expirationProduction: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiration: types.optional(types.string()), + expirationCanceled: types.optional(types.string()), + expirationErrored: types.optional(types.string()), + expirationProduction: types.optional(types.string()), + }) +); -export function userEventPayload374PreviousFromJSON( +export function userEventPayload377PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload374Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload374Previous' from JSON`, + (x) => UserEventPayload377Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload377Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventyFour$inboundSchema: z.ZodType< - ThreeHundredAndSeventyFour, +export const ThreeHundredAndSeventySeven$inboundSchema: z.ZodType< + ThreeHundredAndSeventySeven, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload374Next$inboundSchema), - previous: z.lazy(() => UserEventPayload374Previous$inboundSchema), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload377Next$inboundSchema), + previous: z.lazy(() => UserEventPayload377Previous$inboundSchema), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) +); -export function threeHundredAndSeventyFourFromJSON( +export function threeHundredAndSeventySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyFour' from JSON`, + (x) => ThreeHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventySeven' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventyThree$inboundSchema: z.ZodType< - ThreeHundredAndSeventyThree, +export const ThreeHundredAndSeventySix$inboundSchema: z.ZodType< + ThreeHundredAndSeventySix, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - publicSource: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + publicSource: types.boolean(), + }) +); -export function threeHundredAndSeventyThreeFromJSON( +export function threeHundredAndSeventySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyThree' from JSON`, + (x) => ThreeHundredAndSeventySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventySix' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventyTwo$inboundSchema: z.ZodType< - ThreeHundredAndSeventyTwo, +export const ThreeHundredAndSeventyFive$inboundSchema: z.ZodType< + ThreeHundredAndSeventyFive, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSeventyTwoFromJSON( +export function threeHundredAndSeventyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyTwo' from JSON`, + (x) => ThreeHundredAndSeventyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyFive' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventyOne$inboundSchema: z.ZodType< - ThreeHundredAndSeventyOne, +export const ThreeHundredAndSeventyFour$inboundSchema: z.ZodType< + ThreeHundredAndSeventyFour, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - protectedSourcemaps: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + protectedSourcemaps: types.boolean(), + }) +); -export function threeHundredAndSeventyOneFromJSON( +export function threeHundredAndSeventyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventyOne' from JSON`, + (x) => ThreeHundredAndSeventyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyFour' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventy$inboundSchema: z.ZodType< - ThreeHundredAndSeventy, +export const ThreeHundredAndSeventyThree$inboundSchema: z.ZodType< + ThreeHundredAndSeventyThree, z.ZodTypeDef, unknown -> = z.object({ - gitForkProtection: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitForkProtection: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSeventyFromJSON( +export function threeHundredAndSeventyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventy$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventy' from JSON`, + (x) => ThreeHundredAndSeventyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyThree' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtyNine$inboundSchema: z.ZodType< - ThreeHundredAndSixtyNine, +export const ThreeHundredAndSeventyTwo$inboundSchema: z.ZodType< + ThreeHundredAndSeventyTwo, z.ZodTypeDef, unknown -> = z.object({ - customerSupportCodeVisibility: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customerSupportCodeVisibility: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSixtyNineFromJSON( +export function threeHundredAndSeventyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyNine' from JSON`, + (x) => ThreeHundredAndSeventyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyTwo' from JSON`, ); } /** @internal */ -export const IssuerMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(IssuerMode); +export const IssuerMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(IssuerMode)); /** @internal */ -export const UserEventPayload368Next$inboundSchema: z.ZodType< - UserEventPayload368Next, +export const UserEventPayload371Next$inboundSchema: z.ZodType< + UserEventPayload371Next, z.ZodTypeDef, unknown -> = z.object({ - issuerMode: IssuerMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerMode: IssuerMode$inboundSchema, + }) +); -export function userEventPayload368NextFromJSON( +export function userEventPayload371NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload368Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload368Next' from JSON`, + (x) => UserEventPayload371Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload371Next' from JSON`, ); } /** @internal */ export const PayloadIssuerMode$inboundSchema: z.ZodNativeEnum< typeof PayloadIssuerMode -> = z.nativeEnum(PayloadIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadIssuerMode)); /** @internal */ -export const UserEventPayload368Previous$inboundSchema: z.ZodType< - UserEventPayload368Previous, +export const UserEventPayload371Previous$inboundSchema: z.ZodType< + UserEventPayload371Previous, z.ZodTypeDef, unknown -> = z.object({ - issuerMode: types.optional(PayloadIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerMode: types.optional(PayloadIssuerMode$inboundSchema), + }) +); -export function userEventPayload368PreviousFromJSON( +export function userEventPayload371PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload368Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload368Previous' from JSON`, + (x) => UserEventPayload371Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload371Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtyEight$inboundSchema: z.ZodType< - ThreeHundredAndSixtyEight, +export const ThreeHundredAndSeventyOne$inboundSchema: z.ZodType< + ThreeHundredAndSeventyOne, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload368Next$inboundSchema), - previous: z.lazy(() => UserEventPayload368Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload371Next$inboundSchema), + previous: z.lazy(() => UserEventPayload371Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSixtyEightFromJSON( +export function threeHundredAndSeventyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyEight' from JSON`, + (x) => ThreeHundredAndSeventyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventyOne' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtySeven$inboundSchema: z.ZodType< - ThreeHundredAndSixtySeven, +export const ThreeHundredAndSeventy$inboundSchema: z.ZodType< + ThreeHundredAndSeventy, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional(z.array(types.string())), - projectId: types.string(), - projectName: types.string(), - region: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional(z.array(types.string())), + projectId: types.string(), + projectName: types.string(), + region: types.optional(types.string()), + }) +); -export function threeHundredAndSixtySevenFromJSON( +export function threeHundredAndSeventyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtySeven' from JSON`, + (x) => ThreeHundredAndSeventy$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventy' from JSON`, ); } /** @internal */ -export const UserEventPayload366Next$inboundSchema: z.ZodType< - UserEventPayload366Next, +export const UserEventPayload369Next$inboundSchema: z.ZodType< + UserEventPayload369Next, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable(z.array(z.any())).optional(), - gitSources: z.nullable(z.array(z.any())).optional(), -}); - -export function userEventPayload366NextFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable(z.array(z.any())).optional(), + gitSources: z.nullable(z.array(z.any())).optional(), + }) +); + +export function userEventPayload369NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload366Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload366Next' from JSON`, + (x) => UserEventPayload369Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload369Next' from JSON`, ); } /** @internal */ -export const UserEventPayload366Previous$inboundSchema: z.ZodType< - UserEventPayload366Previous, +export const UserEventPayload369Previous$inboundSchema: z.ZodType< + UserEventPayload369Previous, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable(z.array(z.any())).optional(), - gitSources: z.nullable(z.array(z.any())).optional(), -}); - -export function userEventPayload366PreviousFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable(z.array(z.any())).optional(), + gitSources: z.nullable(z.array(z.any())).optional(), + }) +); + +export function userEventPayload369PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload366Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload366Previous' from JSON`, + (x) => UserEventPayload369Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload369Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtySix$inboundSchema: z.ZodType< - ThreeHundredAndSixtySix, +export const ThreeHundredAndSixtyNine$inboundSchema: z.ZodType< + ThreeHundredAndSixtyNine, z.ZodTypeDef, unknown -> = z.object({ - next: types.nullable(z.lazy(() => UserEventPayload366Next$inboundSchema)), - previous: types.nullable( - z.lazy(() => UserEventPayload366Previous$inboundSchema), - ), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: types.nullable(z.lazy(() => UserEventPayload369Next$inboundSchema)), + previous: types.nullable( + z.lazy(() => UserEventPayload369Previous$inboundSchema), + ), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSixtySixFromJSON( +export function threeHundredAndSixtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtySix' from JSON`, + (x) => ThreeHundredAndSixtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyNine' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtyFive$inboundSchema: z.ZodType< - ThreeHundredAndSixtyFive, +export const ThreeHundredAndSixtyEight$inboundSchema: z.ZodType< + ThreeHundredAndSixtyEight, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - targetDeploymentId: types.optional(types.string()), - newTargetPercentage: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + targetDeploymentId: types.optional(types.string()), + newTargetPercentage: types.optional(types.number()), + }) +); -export function threeHundredAndSixtyFiveFromJSON( +export function threeHundredAndSixtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyFive' from JSON`, + (x) => ThreeHundredAndSixtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyEight' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixtyFour$inboundSchema: z.ZodType< - ThreeHundredAndSixtyFour, +export const ThreeHundredAndSixtySeven$inboundSchema: z.ZodType< + ThreeHundredAndSixtySeven, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - targetDeploymentId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + targetDeploymentId: types.optional(types.string()), + }) +); -export function threeHundredAndSixtyFourFromJSON( +export function threeHundredAndSixtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyFour' from JSON`, + (x) => ThreeHundredAndSixtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtySeven' from JSON`, ); } @@ -1944,10 +2067,12 @@ export const ViaIntegration$inboundSchema: z.ZodType< ViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function viaIntegrationFromJSON( jsonString: string, @@ -1964,10 +2089,12 @@ export const UserEventVia2$inboundSchema: z.ZodType< UserEventVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => ViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => ViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function userEventVia2FromJSON( jsonString: string, @@ -1980,11 +2107,13 @@ export function userEventVia2FromJSON( } /** @internal */ -export const ViaApp$inboundSchema: z.ZodType = z - .object({ - clientId: types.optional(types.string()), - id: types.string(), - }); +export const ViaApp$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) + ); export function viaAppFromJSON( jsonString: string, @@ -2001,10 +2130,12 @@ export const UserEventVia1$inboundSchema: z.ZodType< UserEventVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => ViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => ViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function userEventVia1FromJSON( jsonString: string, @@ -2021,10 +2152,12 @@ export const PrincipalVia$inboundSchema: z.ZodType< PrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventVia1$inboundSchema), - z.lazy(() => UserEventVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventVia1$inboundSchema), + z.lazy(() => UserEventVia2$inboundSchema), + ]) +); export function principalViaFromJSON( jsonString: string, @@ -2041,9 +2174,11 @@ export const PrincipalUser$inboundSchema: z.ZodType< PrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function principalUserFromJSON( jsonString: string, @@ -2060,16 +2195,18 @@ export const UserEventPrincipal5$inboundSchema: z.ZodType< UserEventPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UserEventVia1$inboundSchema), z.lazy(() => UserEventVia2$inboundSchema), - ]), - ), - user: z.lazy(() => PrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + PrincipalUser$inboundSchema + ), + }) +); export function userEventPrincipal5FromJSON( jsonString: string, @@ -2086,9 +2223,11 @@ export const UserEventPrincipal4$inboundSchema: z.ZodType< UserEventPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function userEventPrincipal4FromJSON( jsonString: string, @@ -2105,10 +2244,12 @@ export const PrincipalIntegration$inboundSchema: z.ZodType< PrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function principalIntegrationFromJSON( jsonString: string, @@ -2125,10 +2266,12 @@ export const UserEventPrincipal3$inboundSchema: z.ZodType< UserEventPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => PrincipalIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => PrincipalIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function userEventPrincipal3FromJSON( jsonString: string, @@ -2145,10 +2288,12 @@ export const PrincipalApp$inboundSchema: z.ZodType< PrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function principalAppFromJSON( jsonString: string, @@ -2165,10 +2310,12 @@ export const UserEventPrincipal2$inboundSchema: z.ZodType< UserEventPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => PrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => PrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function userEventPrincipal2FromJSON( jsonString: string, @@ -2185,9 +2332,11 @@ export const PrincipalProject$inboundSchema: z.ZodType< PrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function principalProjectFromJSON( jsonString: string, @@ -2204,10 +2353,12 @@ export const UserEventPrincipal1$inboundSchema: z.ZodType< UserEventPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => PrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => PrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function userEventPrincipal1FromJSON( jsonString: string, @@ -2224,13 +2375,15 @@ export const PayloadPrincipal$inboundSchema: z.ZodType< PayloadPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventPrincipal1$inboundSchema), - z.lazy(() => UserEventPrincipal2$inboundSchema), - z.lazy(() => UserEventPrincipal3$inboundSchema), - z.lazy(() => UserEventPrincipal4$inboundSchema), - z.lazy(() => UserEventPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventPrincipal1$inboundSchema), + z.lazy(() => UserEventPrincipal2$inboundSchema), + z.lazy(() => UserEventPrincipal3$inboundSchema), + z.lazy(() => UserEventPrincipal4$inboundSchema), + z.lazy(() => UserEventPrincipal5$inboundSchema), + ]) +); export function payloadPrincipalFromJSON( jsonString: string, @@ -2247,21 +2400,21 @@ export const RollbackDescription$inboundSchema: z.ZodType< RollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => UserEventPrincipal1$inboundSchema), z.lazy(() => UserEventPrincipal2$inboundSchema), z.lazy(() => UserEventPrincipal3$inboundSchema), z.lazy(() => UserEventPrincipal4$inboundSchema), z.lazy(() => UserEventPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function rollbackDescriptionFromJSON( jsonString: string, @@ -2274,143 +2427,157 @@ export function rollbackDescriptionFromJSON( } /** @internal */ -export const ThreeHundredAndSixtyThree$inboundSchema: z.ZodType< - ThreeHundredAndSixtyThree, +export const ThreeHundredAndSixtySix$inboundSchema: z.ZodType< + ThreeHundredAndSixtySix, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.string(), - projectAccountId: types.string(), - projectId: types.string(), - projectName: types.string(), - rollbackDescription: types.optional( - z.lazy(() => RollbackDescription$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.string(), + projectAccountId: types.string(), + projectId: types.string(), + projectName: types.string(), + rollbackDescription: types.optional( + z.lazy(() => RollbackDescription$inboundSchema), + ), + }) +); -export function threeHundredAndSixtyThreeFromJSON( +export function threeHundredAndSixtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyThree' from JSON`, + (x) => ThreeHundredAndSixtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtySix' from JSON`, ); } /** @internal */ -export const Consent$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Consent); +export const Consent$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Consent)); /** @internal */ -export const ThreeHundredAndSixtyTwo$inboundSchema: z.ZodType< - ThreeHundredAndSixtyTwo, +export const ThreeHundredAndSixtyFive$inboundSchema: z.ZodType< + ThreeHundredAndSixtyFive, z.ZodTypeDef, unknown -> = z.object({ - consent: Consent$inboundSchema, - projectId: types.optional(types.string()), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consent: Consent$inboundSchema, + projectId: types.optional(types.string()), + projectName: types.string(), + }) +); -export function threeHundredAndSixtyTwoFromJSON( +export function threeHundredAndSixtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyTwo' from JSON`, + (x) => ThreeHundredAndSixtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyFive' from JSON`, ); } /** @internal */ -export const BudgetScope$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(BudgetScope); +export const BudgetScope$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BudgetScope)); /** @internal */ -export const ReasonCode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ReasonCode); +export const ReasonCode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ReasonCode)); /** @internal */ -export const ThreeHundredAndSixtyOne$inboundSchema: z.ZodType< - ThreeHundredAndSixtyOne, +export const ThreeHundredAndSixtyFour$inboundSchema: z.ZodType< + ThreeHundredAndSixtyFour, z.ZodTypeDef, unknown -> = z.object({ - budgetId: types.optional(types.string()), - budgetScope: types.optional(BudgetScope$inboundSchema), - projectId: types.string(), - projectName: types.optional(types.string()), - reasonCode: types.optional(ReasonCode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budgetId: types.optional(types.string()), + budgetScope: types.optional(BudgetScope$inboundSchema), + projectId: types.string(), + projectName: types.optional(types.string()), + reasonCode: types.optional(ReasonCode$inboundSchema), + }) +); -export function threeHundredAndSixtyOneFromJSON( +export function threeHundredAndSixtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixtyOne' from JSON`, + (x) => ThreeHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyFour' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixty$inboundSchema: z.ZodType< - ThreeHundredAndSixty, +export const ThreeHundredAndSixtyThree$inboundSchema: z.ZodType< + ThreeHundredAndSixtyThree, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + projectId: types.string(), + }) +); -export function threeHundredAndSixtyFromJSON( +export function threeHundredAndSixtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixty' from JSON`, + (x) => ThreeHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyThree' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyNine$inboundSchema: z.ZodType< - ThreeHundredAndFiftyNine, +export const ThreeHundredAndSixtyTwo$inboundSchema: z.ZodType< + ThreeHundredAndSixtyTwo, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + }) +); -export function threeHundredAndFiftyNineFromJSON( +export function threeHundredAndSixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyNine' from JSON`, + (x) => ThreeHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyTwo' from JSON`, ); } /** @internal */ export const OldPasswordProtection2$inboundSchema: z.ZodNativeEnum< typeof OldPasswordProtection2 -> = z.nativeEnum(OldPasswordProtection2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OldPasswordProtection2)); /** @internal */ export const OldPasswordProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof OldPasswordProtectionDeploymentType -> = z.nativeEnum(OldPasswordProtectionDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(OldPasswordProtectionDeploymentType) +); /** @internal */ export const OldPasswordProtection1$inboundSchema: z.ZodType< OldPasswordProtection1, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: OldPasswordProtectionDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: OldPasswordProtectionDeploymentType$inboundSchema, + }) +); export function oldPasswordProtection1FromJSON( jsonString: string, @@ -2427,10 +2594,12 @@ export const PayloadOldPasswordProtection$inboundSchema: z.ZodType< PayloadOldPasswordProtection, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => OldPasswordProtection1$inboundSchema), - OldPasswordProtection2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => OldPasswordProtection1$inboundSchema), + OldPasswordProtection2$inboundSchema, + ]) +); export function payloadOldPasswordProtectionFromJSON( jsonString: string, @@ -2445,21 +2614,25 @@ export function payloadOldPasswordProtectionFromJSON( /** @internal */ export const PasswordProtection2$inboundSchema: z.ZodNativeEnum< typeof PasswordProtection2 -> = z.nativeEnum(PasswordProtection2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PasswordProtection2)); /** @internal */ export const PasswordProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof PasswordProtectionDeploymentType -> = z.nativeEnum(PasswordProtectionDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PasswordProtectionDeploymentType) +); /** @internal */ export const PasswordProtection1$inboundSchema: z.ZodType< PasswordProtection1, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: PasswordProtectionDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: PasswordProtectionDeploymentType$inboundSchema, + }) +); export function passwordProtection1FromJSON( jsonString: string, @@ -2476,10 +2649,12 @@ export const PayloadPasswordProtection$inboundSchema: z.ZodType< PayloadPasswordProtection, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => PasswordProtection1$inboundSchema), - PasswordProtection2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => PasswordProtection1$inboundSchema), + PasswordProtection2$inboundSchema, + ]) +); export function payloadPasswordProtectionFromJSON( jsonString: string, @@ -2492,64 +2667,66 @@ export function payloadPasswordProtectionFromJSON( } /** @internal */ -export const ThreeHundredAndFiftyEight$inboundSchema: z.ZodType< - ThreeHundredAndFiftyEight, +export const ThreeHundredAndSixtyOne$inboundSchema: z.ZodType< + ThreeHundredAndSixtyOne, z.ZodTypeDef, unknown -> = z.object({ - oldPasswordProtection: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + oldPasswordProtection: types.nullable(smartUnion([ z.lazy(() => OldPasswordProtection1$inboundSchema), OldPasswordProtection2$inboundSchema, - ]), - ), - passwordChanged: types.optional(types.boolean()), - passwordProtection: types.nullable( - smartUnion([ + ])), + passwordChanged: types.optional(types.boolean()), + passwordProtection: types.nullable(smartUnion([ z.lazy(() => PasswordProtection1$inboundSchema), PasswordProtection2$inboundSchema, - ]), - ), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), -}); + ])), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) +); -export function threeHundredAndFiftyEightFromJSON( +export function threeHundredAndSixtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyEight' from JSON`, + (x) => ThreeHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixtyOne' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftySeven$inboundSchema: z.ZodType< - ThreeHundredAndFiftySeven, +export const ThreeHundredAndSixty$inboundSchema: z.ZodType< + ThreeHundredAndSixty, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - removeVercelRequestHeaders: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + removeVercelRequestHeaders: types.boolean(), + }) +); -export function threeHundredAndFiftySevenFromJSON( +export function threeHundredAndSixtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftySeven' from JSON`, + (x) => ThreeHundredAndSixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixty' from JSON`, ); } /** @internal */ -export const Paths$inboundSchema: z.ZodType = z - .object({ - value: types.string(), - }); +export const Paths$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) + ); export function pathsFromJSON( jsonString: string, @@ -2566,9 +2743,11 @@ export const OldOptionsAllowlist$inboundSchema: z.ZodType< OldOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => Paths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => Paths$inboundSchema)), + }) +); export function oldOptionsAllowlistFromJSON( jsonString: string, @@ -2585,9 +2764,11 @@ export const PayloadPaths$inboundSchema: z.ZodType< PayloadPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function payloadPathsFromJSON( jsonString: string, @@ -2604,9 +2785,11 @@ export const OptionsAllowlist$inboundSchema: z.ZodType< OptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => PayloadPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => PayloadPaths$inboundSchema)), + }) +); export function optionsAllowlistFromJSON( jsonString: string, @@ -2619,187 +2802,203 @@ export function optionsAllowlistFromJSON( } /** @internal */ -export const ThreeHundredAndFiftySix$inboundSchema: z.ZodType< - ThreeHundredAndFiftySix, +export const ThreeHundredAndFiftyNine$inboundSchema: z.ZodType< + ThreeHundredAndFiftyNine, z.ZodTypeDef, unknown -> = z.object({ - oldOptionsAllowlist: z.nullable( - z.lazy(() => OldOptionsAllowlist$inboundSchema), - ).optional(), - optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$inboundSchema)) - .optional(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + oldOptionsAllowlist: z.nullable( + z.lazy(() => OldOptionsAllowlist$inboundSchema), + ).optional(), + optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$inboundSchema)) + .optional(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFiftySixFromJSON( +export function threeHundredAndFiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftySix' from JSON`, + (x) => ThreeHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyNine' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyFive$inboundSchema: z.ZodType< - ThreeHundredAndFiftyFive, - z.ZodTypeDef, +export const ThreeHundredAndFiftyEight$inboundSchema: z.ZodType< + ThreeHundredAndFiftyEight, + z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + source: types.string(), + }) +); -export function threeHundredAndFiftyFiveFromJSON( +export function threeHundredAndFiftyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyFive' from JSON`, + (x) => ThreeHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyEight' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyFour$inboundSchema: z.ZodType< - ThreeHundredAndFiftyFour, +export const ThreeHundredAndFiftySeven$inboundSchema: z.ZodType< + ThreeHundredAndFiftySeven, z.ZodTypeDef, unknown -> = z.object({ - destinationAccountName: types.string(), - newProjectId: types.optional(types.string()), - newProjectName: types.string(), - previousProjectId: types.optional(types.string()), - previousProjectName: types.string(), - transferId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinationAccountName: types.string(), + newProjectId: types.optional(types.string()), + newProjectName: types.string(), + previousProjectId: types.optional(types.string()), + previousProjectName: types.string(), + transferId: types.optional(types.string()), + }) +); -export function threeHundredAndFiftyFourFromJSON( +export function threeHundredAndFiftySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyFour' from JSON`, + (x) => ThreeHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftySeven' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyThree$inboundSchema: z.ZodType< - ThreeHundredAndFiftyThree, +export const ThreeHundredAndFiftySix$inboundSchema: z.ZodType< + ThreeHundredAndFiftySix, z.ZodTypeDef, unknown -> = z.object({ - destinationAccountId: types.string(), - destinationAccountName: types.string(), - originAccountName: types.string(), - projectId: types.string(), - projectName: types.string(), - transferId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinationAccountId: types.string(), + destinationAccountName: types.string(), + originAccountName: types.string(), + projectId: types.string(), + projectName: types.string(), + transferId: types.optional(types.string()), + }) +); -export function threeHundredAndFiftyThreeFromJSON( +export function threeHundredAndFiftySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyThree' from JSON`, + (x) => ThreeHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftySix' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyTwo$inboundSchema: z.ZodType< - ThreeHundredAndFiftyTwo, +export const ThreeHundredAndFiftyFive$inboundSchema: z.ZodType< + ThreeHundredAndFiftyFive, z.ZodTypeDef, unknown -> = z.object({ - destinationAccountName: types.nullable(types.string()), - previousProjectId: types.optional(types.string()), - projectName: types.string(), - transferId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinationAccountName: types.nullable(types.string()), + previousProjectId: types.optional(types.string()), + projectName: types.string(), + transferId: types.optional(types.string()), + }) +); -export function threeHundredAndFiftyTwoFromJSON( +export function threeHundredAndFiftyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyTwo' from JSON`, + (x) => ThreeHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyFive' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFiftyOne$inboundSchema: z.ZodType< - ThreeHundredAndFiftyOne, +export const ThreeHundredAndFiftyFour$inboundSchema: z.ZodType< + ThreeHundredAndFiftyFour, z.ZodTypeDef, unknown -> = z.object({ - newProjectId: types.optional(types.string()), - newProjectName: types.string(), - originAccountName: types.string(), - previousProjectId: types.optional(types.string()), - previousProjectName: types.string(), - transferId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newProjectId: types.optional(types.string()), + newProjectName: types.string(), + originAccountName: types.string(), + previousProjectId: types.optional(types.string()), + previousProjectName: types.string(), + transferId: types.optional(types.string()), + }) +); -export function threeHundredAndFiftyOneFromJSON( +export function threeHundredAndFiftyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFiftyOne' from JSON`, + (x) => ThreeHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyFour' from JSON`, ); } /** @internal */ -export const UserEventPayload350Project$inboundSchema: z.ZodType< - UserEventPayload350Project, +export const UserEventPayload353Project$inboundSchema: z.ZodType< + UserEventPayload353Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload350ProjectFromJSON( +export function userEventPayload353ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload350Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload350Project' from JSON`, + (x) => UserEventPayload353Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload353Project' from JSON`, ); } /** @internal */ -export const UserEventPayload350Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload350Role -> = z.nativeEnum(UserEventPayload350Role); +export const UserEventPayload353Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload353Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload353Role)); /** @internal */ export const PayloadPreviousRole$inboundSchema: z.ZodNativeEnum< typeof PayloadPreviousRole -> = z.nativeEnum(PayloadPreviousRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadPreviousRole)); /** @internal */ export const PayloadProjectMembership$inboundSchema: z.ZodType< PayloadProjectMembership, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - role: types.optional(UserEventPayload350Role$inboundSchema), - uid: types.optional(types.string()), - previousRole: types.optional(PayloadPreviousRole$inboundSchema), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + role: types.optional(UserEventPayload353Role$inboundSchema), + uid: types.optional(types.string()), + previousRole: types.optional(PayloadPreviousRole$inboundSchema), + username: types.optional(types.string()), + }) +); export function payloadProjectMembershipFromJSON( jsonString: string, @@ -2812,61 +3011,67 @@ export function payloadProjectMembershipFromJSON( } /** @internal */ -export const ThreeHundredAndFifty$inboundSchema: z.ZodType< - ThreeHundredAndFifty, +export const ThreeHundredAndFiftyThree$inboundSchema: z.ZodType< + ThreeHundredAndFiftyThree, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload350Project$inboundSchema), - projectMembership: z.lazy(() => PayloadProjectMembership$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload353Project$inboundSchema), + projectMembership: z.lazy(() => PayloadProjectMembership$inboundSchema), + }) +); -export function threeHundredAndFiftyFromJSON( +export function threeHundredAndFiftyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFifty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFifty' from JSON`, + (x) => ThreeHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload349Project$inboundSchema: z.ZodType< - UserEventPayload349Project, +export const UserEventPayload352Project$inboundSchema: z.ZodType< + UserEventPayload352Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.optional(types.string()), - name: types.string(), -}); - -export function userEventPayload349ProjectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.optional(types.string()), + name: types.string(), + }) +); + +export function userEventPayload352ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload349Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload349Project' from JSON`, + (x) => UserEventPayload352Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload352Project' from JSON`, ); } /** @internal */ -export const UserEventPayload349Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload349Role -> = z.nativeEnum(UserEventPayload349Role); +export const UserEventPayload352Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload352Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload352Role)); /** @internal */ export const RemovedMembership$inboundSchema: z.ZodType< RemovedMembership, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - role: UserEventPayload349Role$inboundSchema, - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + role: UserEventPayload352Role$inboundSchema, + uid: types.string(), + username: types.optional(types.string()), + }) +); export function removedMembershipFromJSON( jsonString: string, @@ -2879,108 +3084,118 @@ export function removedMembershipFromJSON( } /** @internal */ -export const ThreeHundredAndFortyNine$inboundSchema: z.ZodType< - ThreeHundredAndFortyNine, +export const ThreeHundredAndFiftyTwo$inboundSchema: z.ZodType< + ThreeHundredAndFiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload349Project$inboundSchema), - removedMembership: z.lazy(() => RemovedMembership$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload352Project$inboundSchema), + removedMembership: z.lazy(() => RemovedMembership$inboundSchema), + }) +); -export function threeHundredAndFortyNineFromJSON( +export function threeHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortyNine' from JSON`, + (x) => ThreeHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload348Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload348Role -> = z.nativeEnum(UserEventPayload348Role); +export const UserEventPayload351Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload351Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload351Role)); /** @internal */ -export const UserEventPayload348Project$inboundSchema: z.ZodType< - UserEventPayload348Project, +export const UserEventPayload351Project$inboundSchema: z.ZodType< + UserEventPayload351Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.optional(types.string()), - invitedUserId: types.optional(types.string()), - invitedUserName: types.string(), - name: types.string(), - role: UserEventPayload348Role$inboundSchema, -}); - -export function userEventPayload348ProjectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.optional(types.string()), + invitedUserId: types.optional(types.string()), + invitedUserName: types.string(), + name: types.string(), + role: UserEventPayload351Role$inboundSchema, + }) +); + +export function userEventPayload351ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload348Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload348Project' from JSON`, + (x) => UserEventPayload351Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload351Project' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFortyEight$inboundSchema: z.ZodType< - ThreeHundredAndFortyEight, +export const ThreeHundredAndFiftyOne$inboundSchema: z.ZodType< + ThreeHundredAndFiftyOne, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload348Project$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload351Project$inboundSchema), + }) +); -export function threeHundredAndFortyEightFromJSON( +export function threeHundredAndFiftyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortyEight' from JSON`, + (x) => ThreeHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFiftyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload347Project$inboundSchema: z.ZodType< - UserEventPayload347Project, +export const UserEventPayload350Project$inboundSchema: z.ZodType< + UserEventPayload350Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.optional(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.optional(types.string()), + name: types.string(), + }) +); -export function userEventPayload347ProjectFromJSON( +export function userEventPayload350ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload347Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload347Project' from JSON`, + (x) => UserEventPayload350Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload350Project' from JSON`, ); } /** @internal */ -export const UserEventPayload347Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload347Role -> = z.nativeEnum(UserEventPayload347Role); +export const UserEventPayload350Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload350Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload350Role)); /** @internal */ export const ProjectMembership$inboundSchema: z.ZodType< ProjectMembership, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - role: UserEventPayload347Role$inboundSchema, - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + role: UserEventPayload350Role$inboundSchema, + uid: types.string(), + username: types.optional(types.string()), + }) +); export function projectMembershipFromJSON( jsonString: string, @@ -2993,66 +3208,72 @@ export function projectMembershipFromJSON( } /** @internal */ -export const ThreeHundredAndFortySeven$inboundSchema: z.ZodType< - ThreeHundredAndFortySeven, +export const ThreeHundredAndFifty$inboundSchema: z.ZodType< + ThreeHundredAndFifty, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload347Project$inboundSchema), - projectMembership: types.nullable( - z.lazy(() => ProjectMembership$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload350Project$inboundSchema), + projectMembership: types.nullable( + z.lazy(() => ProjectMembership$inboundSchema), + ), + }) +); -export function threeHundredAndFortySevenFromJSON( +export function threeHundredAndFiftyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortySeven' from JSON`, + (x) => ThreeHundredAndFifty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFifty' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFortySix$inboundSchema: z.ZodType< - ThreeHundredAndFortySix, +export const ThreeHundredAndFortyNine$inboundSchema: z.ZodType< + ThreeHundredAndFortyNine, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(types.string()).optional(), - domain: types.string(), - prevConfiguredBy: z.nullable(types.string()).optional(), - projectId: types.string(), - projectName: types.string(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(types.string()).optional(), + domain: types.string(), + prevConfiguredBy: z.nullable(types.string()).optional(), + projectId: types.string(), + projectName: types.string(), + target: types.string(), + }) +); -export function threeHundredAndFortySixFromJSON( +export function threeHundredAndFortyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortySix' from JSON`, + (x) => ThreeHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortyNine' from JSON`, ); } /** @internal */ export const UserEventPayloadRole$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadRole -> = z.nativeEnum(UserEventPayloadRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadRole)); /** @internal */ export const PayloadProjects$inboundSchema: z.ZodType< PayloadProjects, z.ZodTypeDef, unknown -> = z.object({ - membershipCreatedAt: types.number(), - projectId: types.string(), - role: UserEventPayloadRole$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + membershipCreatedAt: types.number(), + projectId: types.string(), + role: UserEventPayloadRole$inboundSchema, + }) +); export function payloadProjectsFromJSON( jsonString: string, @@ -3069,10 +3290,12 @@ export const TeamMembership$inboundSchema: z.ZodType< TeamMembership, z.ZodTypeDef, unknown -> = z.object({ - uid: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: types.string(), + username: types.optional(types.string()), + }) +); export function teamMembershipFromJSON( jsonString: string, @@ -3084,16 +3307,94 @@ export function teamMembershipFromJSON( ); } +/** @internal */ +export const ThreeHundredAndFortyEight$inboundSchema: z.ZodType< + ThreeHundredAndFortyEight, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryType: types.optional(types.string()), + projects: z.array(z.lazy(() => PayloadProjects$inboundSchema)), + teamMembership: types.optional(z.lazy(() => TeamMembership$inboundSchema)), + }) +); + +export function threeHundredAndFortyEightFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortyEight' from JSON`, + ); +} + +/** @internal */ +export const ThreeHundredAndFortySeven$inboundSchema: z.ZodType< + ThreeHundredAndFortySeven, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + projectId: types.string(), + projectName: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + }) +); + +export function threeHundredAndFortySevenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortySeven' from JSON`, + ); +} + +/** @internal */ +export const ThreeHundredAndFortySix$inboundSchema: z.ZodType< + ThreeHundredAndFortySix, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + newProjectId: types.string(), + newProjectName: types.string(), + oldProjectId: types.string(), + oldProjectName: types.string(), + }) +); + +export function threeHundredAndFortySixFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortySix' from JSON`, + ); +} + /** @internal */ export const ThreeHundredAndFortyFive$inboundSchema: z.ZodType< ThreeHundredAndFortyFive, z.ZodTypeDef, unknown -> = z.object({ - directoryType: types.optional(types.string()), - projects: z.array(z.lazy(() => PayloadProjects$inboundSchema)), - teamMembership: types.optional(z.lazy(() => TeamMembership$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + projectId: types.string(), + projectName: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: types.string(), + }) +); export function threeHundredAndFortyFiveFromJSON( jsonString: string, @@ -3110,13 +3411,18 @@ export const ThreeHundredAndFortyFour$inboundSchema: z.ZodType< ThreeHundredAndFortyFour, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - projectId: types.string(), - projectName: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: types.optional(types.string()), + domain: types.string(), + gitBranch: types.nullable(types.string()), + projectId: types.string(), + projectName: types.string(), + redirect: types.nullable(types.string()), + redirectStatusCode: types.nullable(types.number()), + target: types.string(), + }) +); export function threeHundredAndFortyFourFromJSON( jsonString: string, @@ -3129,155 +3435,161 @@ export function threeHundredAndFortyFourFromJSON( } /** @internal */ -export const ThreeHundredAndFortyThree$inboundSchema: z.ZodType< - ThreeHundredAndFortyThree, +export const UserEventPayload343Next$inboundSchema: z.ZodType< + UserEventPayload343Next, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - newProjectId: types.string(), - newProjectName: types.string(), - oldProjectId: types.string(), - oldProjectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commandForIgnoringBuildStep: types.optional(types.string()), + }) +); -export function threeHundredAndFortyThreeFromJSON( +export function userEventPayload343NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortyThree' from JSON`, + (x) => UserEventPayload343Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload343Next' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFortyTwo$inboundSchema: z.ZodType< - ThreeHundredAndFortyTwo, +export const UserEventPayload343Previous$inboundSchema: z.ZodType< + UserEventPayload343Previous, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - projectId: types.string(), - projectName: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commandForIgnoringBuildStep: types.optional(types.string()), + }) +); -export function threeHundredAndFortyTwoFromJSON( +export function userEventPayload343PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortyTwo' from JSON`, + (x) => UserEventPayload343Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload343Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFortyOne$inboundSchema: z.ZodType< - ThreeHundredAndFortyOne, +export const ThreeHundredAndFortyThree$inboundSchema: z.ZodType< + ThreeHundredAndFortyThree, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: types.optional(types.string()), - domain: types.string(), - gitBranch: types.nullable(types.string()), - projectId: types.string(), - projectName: types.string(), - redirect: types.nullable(types.string()), - redirectStatusCode: types.nullable(types.number()), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload343Next$inboundSchema), + previous: z.lazy(() => UserEventPayload343Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFortyOneFromJSON( +export function threeHundredAndFortyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFortyOne' from JSON`, + (x) => ThreeHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload340Next$inboundSchema: z.ZodType< - UserEventPayload340Next, +export const ConsolidatedGitCommitStatus$inboundSchema: z.ZodType< + ConsolidatedGitCommitStatus, z.ZodTypeDef, unknown -> = z.object({ - commandForIgnoringBuildStep: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) +); -export function userEventPayload340NextFromJSON( +export function consolidatedGitCommitStatusFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload340Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload340Next' from JSON`, + (x) => ConsolidatedGitCommitStatus$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ConsolidatedGitCommitStatus' from JSON`, ); } /** @internal */ -export const UserEventPayload340Previous$inboundSchema: z.ZodType< - UserEventPayload340Previous, +export const ThreeHundredAndFortyTwo$inboundSchema: z.ZodType< + ThreeHundredAndFortyTwo, z.ZodTypeDef, unknown -> = z.object({ - commandForIgnoringBuildStep: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.nullable( + z.lazy(() => ConsolidatedGitCommitStatus$inboundSchema), + ), + projectId: types.string(), + projectName: types.string(), + }) +); -export function userEventPayload340PreviousFromJSON( +export function threeHundredAndFortyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload340Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload340Previous' from JSON`, + (x) => ThreeHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortyTwo' from JSON`, ); } /** @internal */ -export const ThreeHundredAndForty$inboundSchema: z.ZodType< - ThreeHundredAndForty, +export const ThreeHundredAndFortyOne$inboundSchema: z.ZodType< + ThreeHundredAndFortyOne, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload340Next$inboundSchema), - previous: z.lazy(() => UserEventPayload340Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitLFS: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFortyFromJSON( +export function threeHundredAndFortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndForty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndForty' from JSON`, + (x) => ThreeHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFortyOne' from JSON`, ); } /** @internal */ -export const ConsolidatedGitCommitStatus$inboundSchema: z.ZodType< - ConsolidatedGitCommitStatus, +export const ThreeHundredAndForty$inboundSchema: z.ZodType< + ThreeHundredAndForty, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitCommitStatus: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function consolidatedGitCommitStatusFromJSON( +export function threeHundredAndFortyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ConsolidatedGitCommitStatus$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ConsolidatedGitCommitStatus' from JSON`, + (x) => ThreeHundredAndForty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndForty' from JSON`, ); } @@ -3286,13 +3598,11 @@ export const ThreeHundredAndThirtyNine$inboundSchema: z.ZodType< ThreeHundredAndThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.nullable( - z.lazy(() => ConsolidatedGitCommitStatus$inboundSchema), - ), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + disableRepositoryDispatchEvents: types.boolean(), + }) +); export function threeHundredAndThirtyNineFromJSON( jsonString: string, @@ -3309,11 +3619,11 @@ export const ThreeHundredAndThirtyEight$inboundSchema: z.ZodType< ThreeHundredAndThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - gitLFS: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + requireVerifiedCommits: types.boolean(), + }) +); export function threeHundredAndThirtyEightFromJSON( jsonString: string, @@ -3330,11 +3640,13 @@ export const ThreeHundredAndThirtySeven$inboundSchema: z.ZodType< ThreeHundredAndThirtySeven, z.ZodTypeDef, unknown -> = z.object({ - gitCommitStatus: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + requireVerifiedCommits: types.nullable(types.boolean()), + }) +); export function threeHundredAndThirtySevenFromJSON( jsonString: string, @@ -3346,14 +3658,23 @@ export function threeHundredAndThirtySevenFromJSON( ); } +/** @internal */ +export const CreateDeployments$inboundSchema: z.ZodNativeEnum< + typeof CreateDeployments +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CreateDeployments)); + /** @internal */ export const ThreeHundredAndThirtySix$inboundSchema: z.ZodType< ThreeHundredAndThirtySix, z.ZodTypeDef, unknown -> = z.object({ - disableRepositoryDispatchEvents: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createDeployments: CreateDeployments$inboundSchema, + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtySixFromJSON( jsonString: string, @@ -3370,9 +3691,13 @@ export const ThreeHundredAndThirtyFive$inboundSchema: z.ZodType< ThreeHundredAndThirtyFive, z.ZodTypeDef, unknown -> = z.object({ - requireVerifiedCommits: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + disableRepositoryDispatchEvents: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyFiveFromJSON( jsonString: string, @@ -3389,11 +3714,13 @@ export const ThreeHundredAndThirtyFour$inboundSchema: z.ZodType< ThreeHundredAndThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - requireVerifiedCommits: types.nullable(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyFourFromJSON( jsonString: string, @@ -3405,21 +3732,18 @@ export function threeHundredAndThirtyFourFromJSON( ); } -/** @internal */ -export const CreateDeployments$inboundSchema: z.ZodNativeEnum< - typeof CreateDeployments -> = z.nativeEnum(CreateDeployments); - /** @internal */ export const ThreeHundredAndThirtyThree$inboundSchema: z.ZodType< ThreeHundredAndThirtyThree, z.ZodTypeDef, unknown -> = z.object({ - createDeployments: CreateDeployments$inboundSchema, - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onPullRequest: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyThreeFromJSON( jsonString: string, @@ -3431,16 +3755,24 @@ export function threeHundredAndThirtyThreeFromJSON( ); } +/** @internal */ +export const GitProvider$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(GitProvider)); + /** @internal */ export const ThreeHundredAndThirtyTwo$inboundSchema: z.ZodType< ThreeHundredAndThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - disableRepositoryDispatchEvents: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitProvider: GitProvider$inboundSchema, + gitRepoId: types.string(), + gitRepositoryName: types.string(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyTwoFromJSON( jsonString: string, @@ -3452,16 +3784,79 @@ export function threeHundredAndThirtyTwoFromJSON( ); } +/** @internal */ +export const UserEventPayloadGitProvider$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadGitProvider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadGitProvider) +); + +/** @internal */ +export const UserEventPayload331Next$inboundSchema: z.ZodType< + UserEventPayload331Next, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitProvider: UserEventPayloadGitProvider$inboundSchema, + gitRepoId: types.string(), + gitRepositoryName: types.string(), + }) +); + +export function userEventPayload331NextFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload331Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload331Next' from JSON`, + ); +} + +/** @internal */ +export const PayloadGitProvider$inboundSchema: z.ZodNativeEnum< + typeof PayloadGitProvider +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadGitProvider)); + +/** @internal */ +export const UserEventPayload331Previous$inboundSchema: z.ZodType< + UserEventPayload331Previous, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitProvider: PayloadGitProvider$inboundSchema, + gitRepoId: types.string(), + gitRepositoryName: types.string(), + }) +); + +export function userEventPayload331PreviousFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload331Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload331Previous' from JSON`, + ); +} + /** @internal */ export const ThreeHundredAndThirtyOne$inboundSchema: z.ZodType< ThreeHundredAndThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload331Next$inboundSchema), + previous: types.optional( + z.lazy(() => UserEventPayload331Previous$inboundSchema), + ), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyOneFromJSON( jsonString: string, @@ -3478,11 +3873,13 @@ export const ThreeHundredAndThirty$inboundSchema: z.ZodType< ThreeHundredAndThirty, z.ZodTypeDef, unknown -> = z.object({ - onPullRequest: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newProjectName: types.string(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThirtyFromJSON( jsonString: string, @@ -3494,22 +3891,18 @@ export function threeHundredAndThirtyFromJSON( ); } -/** @internal */ -export const GitProvider$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(GitProvider); - /** @internal */ export const ThreeHundredAndTwentyNine$inboundSchema: z.ZodType< ThreeHundredAndTwentyNine, z.ZodTypeDef, unknown -> = z.object({ - gitProvider: GitProvider$inboundSchema, - gitRepoId: types.string(), - gitRepositoryName: types.string(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previewDeploymentSuffix: types.nullable(types.string()), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndTwentyNineFromJSON( jsonString: string, @@ -3521,21 +3914,16 @@ export function threeHundredAndTwentyNineFromJSON( ); } -/** @internal */ -export const UserEventPayloadGitProvider$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadGitProvider -> = z.nativeEnum(UserEventPayloadGitProvider); - /** @internal */ export const UserEventPayload328Next$inboundSchema: z.ZodType< UserEventPayload328Next, z.ZodTypeDef, unknown -> = z.object({ - gitProvider: UserEventPayloadGitProvider$inboundSchema, - gitRepoId: types.string(), - gitRepositoryName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionZeroConfigFailover: types.boolean(), + }) +); export function userEventPayload328NextFromJSON( jsonString: string, @@ -3547,21 +3935,16 @@ export function userEventPayload328NextFromJSON( ); } -/** @internal */ -export const PayloadGitProvider$inboundSchema: z.ZodNativeEnum< - typeof PayloadGitProvider -> = z.nativeEnum(PayloadGitProvider); - /** @internal */ export const UserEventPayload328Previous$inboundSchema: z.ZodType< UserEventPayload328Previous, z.ZodTypeDef, unknown -> = z.object({ - gitProvider: PayloadGitProvider$inboundSchema, - gitRepoId: types.string(), - gitRepositoryName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionZeroConfigFailover: types.nullable(types.boolean()), + }) +); export function userEventPayload328PreviousFromJSON( jsonString: string, @@ -3578,14 +3961,14 @@ export const ThreeHundredAndTwentyEight$inboundSchema: z.ZodType< ThreeHundredAndTwentyEight, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload328Next$inboundSchema), - previous: types.optional( - z.lazy(() => UserEventPayload328Previous$inboundSchema), - ), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload328Next$inboundSchema), + previous: z.lazy(() => UserEventPayload328Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndTwentyEightFromJSON( jsonString: string, @@ -3598,377 +3981,222 @@ export function threeHundredAndTwentyEightFromJSON( } /** @internal */ -export const ThreeHundredAndTwentySeven$inboundSchema: z.ZodType< - ThreeHundredAndTwentySeven, - z.ZodTypeDef, - unknown -> = z.object({ - newProjectName: types.string(), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndTwentySevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentySeven' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndTwentySix$inboundSchema: z.ZodType< - ThreeHundredAndTwentySix, +export const UserEventPayload327Next$inboundSchema: z.ZodType< + UserEventPayload327Next, z.ZodTypeDef, unknown -> = z.object({ - previewDeploymentSuffix: types.nullable(types.string()), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultRegions: z.array(types.string()), + }) +); -export function threeHundredAndTwentySixFromJSON( +export function userEventPayload327NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentySix' from JSON`, + (x) => UserEventPayload327Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload327Next' from JSON`, ); } /** @internal */ -export const UserEventPayload325Next$inboundSchema: z.ZodType< - UserEventPayload325Next, +export const UserEventPayload327Previous$inboundSchema: z.ZodType< + UserEventPayload327Previous, z.ZodTypeDef, unknown -> = z.object({ - functionZeroConfigFailover: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultRegions: types.nullable(z.array(types.string())), + }) +); -export function userEventPayload325NextFromJSON( +export function userEventPayload327PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload325Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload325Next' from JSON`, + (x) => UserEventPayload327Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload327Previous' from JSON`, ); } /** @internal */ -export const UserEventPayload325Previous$inboundSchema: z.ZodType< - UserEventPayload325Previous, - z.ZodTypeDef, - unknown -> = z.object({ - functionZeroConfigFailover: types.nullable(types.boolean()), -}); - -export function userEventPayload325PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload325Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload325Previous' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndTwentyFive$inboundSchema: z.ZodType< - ThreeHundredAndTwentyFive, - z.ZodTypeDef, - unknown -> = z.object({ - next: z.lazy(() => UserEventPayload325Next$inboundSchema), - previous: z.lazy(() => UserEventPayload325Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndTwentyFiveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentyFive' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload324Next$inboundSchema: z.ZodType< - UserEventPayload324Next, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultRegions: z.array(types.string()), -}); - -export function userEventPayload324NextFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload324Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload324Next' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload324Previous$inboundSchema: z.ZodType< - UserEventPayload324Previous, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultRegions: types.nullable(z.array(types.string())), -}); - -export function userEventPayload324PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload324Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload324Previous' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndTwentyFour$inboundSchema: z.ZodType< - ThreeHundredAndTwentyFour, - z.ZodTypeDef, - unknown -> = z.object({ - next: z.lazy(() => UserEventPayload324Next$inboundSchema), - previous: z.lazy(() => UserEventPayload324Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); - -export function threeHundredAndTwentyFourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ThreeHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentyFour' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload323Next$inboundSchema: z.ZodType< - UserEventPayload323Next, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultMemoryType: types.string(), -}); - -export function userEventPayload323NextFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload323Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload323Next' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload323Previous$inboundSchema: z.ZodType< - UserEventPayload323Previous, - z.ZodTypeDef, - unknown -> = z.object({ - functionDefaultMemoryType: types.nullable(types.string()), -}); - -export function userEventPayload323PreviousFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload323Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload323Previous' from JSON`, - ); -} - -/** @internal */ -export const ThreeHundredAndTwentyThree$inboundSchema: z.ZodType< - ThreeHundredAndTwentyThree, +export const ThreeHundredAndTwentySeven$inboundSchema: z.ZodType< + ThreeHundredAndTwentySeven, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload323Next$inboundSchema), - previous: z.lazy(() => UserEventPayload323Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload327Next$inboundSchema), + previous: z.lazy(() => UserEventPayload327Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndTwentyThreeFromJSON( +export function threeHundredAndTwentySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentyThree' from JSON`, + (x) => ThreeHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload322Next$inboundSchema: z.ZodType< - UserEventPayload322Next, +export const UserEventPayload326Next$inboundSchema: z.ZodType< + UserEventPayload326Next, z.ZodTypeDef, unknown -> = z.object({ - functionDefaultTimeout: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultMemoryType: types.string(), + }) +); -export function userEventPayload322NextFromJSON( +export function userEventPayload326NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload322Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload322Next' from JSON`, + (x) => UserEventPayload326Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload326Next' from JSON`, ); } /** @internal */ -export const UserEventPayload322Previous$inboundSchema: z.ZodType< - UserEventPayload322Previous, +export const UserEventPayload326Previous$inboundSchema: z.ZodType< + UserEventPayload326Previous, z.ZodTypeDef, unknown -> = z.object({ - functionDefaultTimeout: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultMemoryType: types.nullable(types.string()), + }) +); -export function userEventPayload322PreviousFromJSON( +export function userEventPayload326PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload322Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload322Previous' from JSON`, + (x) => UserEventPayload326Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload326Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndTwentyTwo$inboundSchema: z.ZodType< - ThreeHundredAndTwentyTwo, +export const ThreeHundredAndTwentySix$inboundSchema: z.ZodType< + ThreeHundredAndTwentySix, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload322Next$inboundSchema), - previous: z.lazy(() => UserEventPayload322Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload326Next$inboundSchema), + previous: z.lazy(() => UserEventPayload326Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndTwentyTwoFromJSON( +export function threeHundredAndTwentySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentyTwo' from JSON`, + (x) => ThreeHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentySix' from JSON`, ); } /** @internal */ -export const ThreeHundredAndTwentyOne$inboundSchema: z.ZodType< - ThreeHundredAndTwentyOne, +export const UserEventPayload325Next$inboundSchema: z.ZodType< + UserEventPayload325Next, z.ZodTypeDef, unknown -> = z.object({ - enableFunctionsBeta: types.boolean(), - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultTimeout: types.number(), + }) +); -export function threeHundredAndTwentyOneFromJSON( +export function userEventPayload325NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwentyOne' from JSON`, + (x) => UserEventPayload325Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload325Next' from JSON`, ); } /** @internal */ -export const ThreeHundredAndTwenty$inboundSchema: z.ZodType< - ThreeHundredAndTwenty, +export const UserEventPayload325Previous$inboundSchema: z.ZodType< + UserEventPayload325Previous, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentId: types.string(), - customEnvironmentSlug: types.string(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + functionDefaultTimeout: types.nullable(types.number()), + }) +); -export function threeHundredAndTwentyFromJSON( +export function userEventPayload325PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwenty' from JSON`, + (x) => UserEventPayload325Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload325Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndNineteen$inboundSchema: z.ZodType< - ThreeHundredAndNineteen, +export const ThreeHundredAndTwentyFive$inboundSchema: z.ZodType< + ThreeHundredAndTwentyFive, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentId: types.string(), - customEnvironmentSlug: types.string(), - enableSchedulesByDefault: types.optional(types.boolean()), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload325Next$inboundSchema), + previous: z.lazy(() => UserEventPayload325Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndNineteenFromJSON( +export function threeHundredAndTwentyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndNineteen' from JSON`, + (x) => ThreeHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentyFive' from JSON`, ); } /** @internal */ -export const ThreeHundredAndEighteen$inboundSchema: z.ZodType< - ThreeHundredAndEighteen, +export const ThreeHundredAndTwentyFour$inboundSchema: z.ZodType< + ThreeHundredAndTwentyFour, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentId: types.string(), - customEnvironmentSlug: types.string(), - enableSchedulesByDefault: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableFunctionsBeta: types.boolean(), + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); -export function threeHundredAndEighteenFromJSON( +export function threeHundredAndTwentyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEighteen' from JSON`, + (x) => ThreeHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentyFour' from JSON`, ); } - -/** @internal */ -export const UserEventPayload317Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload317Type -> = z.nativeEnum(UserEventPayload317Type); diff --git a/src/models/tldnotsupported.ts b/src/models/tldnotsupported.ts index 9cec3b68c3..2733e0d4a6 100644 --- a/src/models/tldnotsupported.ts +++ b/src/models/tldnotsupported.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class TldNotSupported extends VercelError { /** @internal */ export const TldNotSupportedCode$inboundSchema: z.ZodNativeEnum< typeof TldNotSupportedCode -> = z.nativeEnum(TldNotSupportedCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TldNotSupportedCode)); /** @internal */ export const TldNotSupported$inboundSchema: z.ZodType< TldNotSupported, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: TldNotSupportedCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new TldNotSupported(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: TldNotSupportedCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new TldNotSupported(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/toomanydomains.ts b/src/models/toomanydomains.ts index cf128a19ab..b028eebc7d 100644 --- a/src/models/toomanydomains.ts +++ b/src/models/toomanydomains.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -48,25 +49,27 @@ export class TooManyDomains extends VercelError { /** @internal */ export const TooManyDomainsCode$inboundSchema: z.ZodNativeEnum< typeof TooManyDomainsCode -> = z.nativeEnum(TooManyDomainsCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TooManyDomainsCode)); /** @internal */ export const TooManyDomains$inboundSchema: z.ZodType< TooManyDomains, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: TooManyDomainsCode$inboundSchema, - message: types.string(), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new TooManyDomains(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: TooManyDomainsCode$inboundSchema, + message: types.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new TooManyDomains(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/toomanyrequests.ts b/src/models/toomanyrequests.ts index dc081e2f83..569ff3b6e1 100644 --- a/src/models/toomanyrequests.ts +++ b/src/models/toomanyrequests.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -62,17 +62,19 @@ export class TooManyRequests extends VercelError { /** @internal */ export const TooManyRequestsCode$inboundSchema: z.ZodNativeEnum< typeof TooManyRequestsCode -> = z.nativeEnum(TooManyRequestsCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TooManyRequestsCode)); /** @internal */ export const RetryAfter$inboundSchema: z.ZodType< RetryAfter, z.ZodTypeDef, unknown -> = z.object({ - value: types.number(), - str: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.number(), + str: types.string(), + }) +); export function retryAfterFromJSON( jsonString: string, @@ -85,12 +87,14 @@ export function retryAfterFromJSON( } /** @internal */ -export const Limit$inboundSchema: z.ZodType = z - .object({ - total: types.number(), - remaining: types.number(), - reset: types.number(), - }); +export const Limit$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + total: types.number(), + remaining: types.number(), + reset: types.number(), + }) + ); export function limitFromJSON( jsonString: string, @@ -107,20 +111,22 @@ export const TooManyRequests$inboundSchema: z.ZodType< TooManyRequests, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: TooManyRequestsCode$inboundSchema, - message: types.string(), - retryAfter: z.lazy(() => RetryAfter$inboundSchema), - limit: z.lazy(() => Limit$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new TooManyRequests(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: TooManyRequestsCode$inboundSchema, + message: types.string(), + retryAfter: z.lazy(() => RetryAfter$inboundSchema), + limit: z.lazy(() => Limit$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new TooManyRequests(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/transferindomainop.ts b/src/models/transferindomainop.ts index e66b96a349..cc3591ed61 100644 --- a/src/models/transferindomainop.ts +++ b/src/models/transferindomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -182,20 +182,22 @@ export const TransferInDomainContactInformation$outboundSchema: z.ZodType< TransferInDomainContactInformation$Outbound, z.ZodTypeDef, TransferInDomainContactInformation -> = z.object({ - firstName: z.string(), - lastName: z.string(), - email: z.string(), - phone: z.string(), - address1: z.string(), - address2: z.string().optional(), - city: z.string(), - state: z.string(), - zip: z.string(), - country: z.string(), - companyName: z.string().optional(), - fax: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + }) +); export function transferInDomainContactInformationToJSON( transferInDomainContactInformation: TransferInDomainContactInformation, @@ -221,15 +223,17 @@ export const TransferInDomainRequestBody$outboundSchema: z.ZodType< TransferInDomainRequestBody$Outbound, z.ZodTypeDef, TransferInDomainRequestBody -> = z.object({ - authCode: z.string(), - autoRenew: z.boolean(), - years: z.number(), - expectedPrice: z.number(), - contactInformation: z.lazy(() => - TransferInDomainContactInformation$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + authCode: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => + TransferInDomainContactInformation$outboundSchema + ), + }) +); export function transferInDomainRequestBodyToJSON( transferInDomainRequestBody: TransferInDomainRequestBody, @@ -253,15 +257,17 @@ export const TransferInDomainRequest$outboundSchema: z.ZodType< TransferInDomainRequest$Outbound, z.ZodTypeDef, TransferInDomainRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - requestBody: z.lazy(() => TransferInDomainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => TransferInDomainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function transferInDomainRequestToJSON( transferInDomainRequest: TransferInDomainRequest, @@ -277,12 +283,14 @@ export const TransferInDomainDomainsRegistrarResponseResponseBody$inboundSchema: TransferInDomainDomainsRegistrarResponseResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function transferInDomainDomainsRegistrarResponseResponseBodyFromJSON( jsonString: string, @@ -306,16 +314,18 @@ export const TransferInDomainDomainsRegistrarResponseBody$inboundSchema: TransferInDomainDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = smartUnion([ - BadRequest$inboundSchema, - DomainAlreadyOwned$inboundSchema, - DomainTooShort$inboundSchema, - DNSSECEnabled$inboundSchema, - ExpectedPriceMismatch$inboundSchema, - DomainNotAvailable$inboundSchema, - TldNotSupported$inboundSchema, - HttpApiDecodeError$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + BadRequest$inboundSchema, + DomainAlreadyOwned$inboundSchema, + DomainTooShort$inboundSchema, + DNSSECEnabled$inboundSchema, + ExpectedPriceMismatch$inboundSchema, + DomainNotAvailable$inboundSchema, + TldNotSupported$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) + ); export function transferInDomainDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -336,17 +346,19 @@ export function transferInDomainDomainsRegistrarResponseBodyFromJSON( /** @internal */ export const TransferInDomainMethod$inboundSchema: z.ZodNativeEnum< typeof TransferInDomainMethod -> = z.nativeEnum(TransferInDomainMethod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TransferInDomainMethod)); /** @internal */ export const TransferInDomainLinks$inboundSchema: z.ZodType< TransferInDomainLinks, z.ZodTypeDef, unknown -> = z.object({ - href: types.string(), - method: TransferInDomainMethod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + href: types.string(), + method: TransferInDomainMethod$inboundSchema, + }) +); export function transferInDomainLinksFromJSON( jsonString: string, @@ -363,14 +375,16 @@ export const TransferInDomainResponseBody$inboundSchema: z.ZodType< TransferInDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - orderId: types.string(), - _links: z.record(z.lazy(() => TransferInDomainLinks$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "_links": "links", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + orderId: types.string(), + _links: z.record(z.lazy(() => TransferInDomainLinks$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "_links": "links", + }); + }) +); export function transferInDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/payloaddsyncmode.ts b/src/models/twohundredandsixtytwo.ts similarity index 61% rename from src/models/payloaddsyncmode.ts rename to src/models/twohundredandsixtytwo.ts index 236bd8249b..f156e5d198 100644 --- a/src/models/payloaddsyncmode.ts +++ b/src/models/twohundredandsixtytwo.ts @@ -5,6 +5,7 @@ import * as z from "zod/v3"; import { collectExtraKeys as collectExtraKeys$, + lazySchema as lazySchema$, safeParse, } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -12,10 +13,53 @@ import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; -import { - UserEventPayload317Type, - UserEventPayload317Type$inboundSchema, -} from "./usereventpayload317type.js"; + +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndTwentyThree = { + customEnvironmentId: string; + customEnvironmentSlug: string; + projectId: string; + projectName: string; +}; + +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndTwentyTwo = { + customEnvironmentId: string; + customEnvironmentSlug: string; + enableSchedulesByDefault?: boolean | undefined; + projectId: string; + projectName: string; +}; + +/** + * The payload of the event, if requested. + */ +export type ThreeHundredAndTwentyOne = { + customEnvironmentId: string; + customEnvironmentSlug: string; + enableSchedulesByDefault: boolean; + projectId: string; + projectName: string; +}; + +/** + * The type of matching to perform + */ +export const UserEventPayload320Type = { + EndsWith: "endsWith", + Equals: "equals", + StartsWith: "startsWith", +} as const; +/** + * The type of matching to perform + */ +export type UserEventPayload320Type = ClosedEnum< + typeof UserEventPayload320Type +>; export type BranchMatcher = { /** @@ -25,17 +69,17 @@ export type BranchMatcher = { /** * The type of matching to perform */ - type: UserEventPayload317Type; + type: UserEventPayload320Type; }; -export type UserEventPayload317Next = { +export type UserEventPayload320Next = { branchMatcher?: BranchMatcher | undefined; }; /** * The type of matching to perform */ -export const UserEventPayload317PreviousType = { +export const UserEventPayload320PreviousType = { EndsWith: "endsWith", Equals: "equals", StartsWith: "startsWith", @@ -43,8 +87,8 @@ export const UserEventPayload317PreviousType = { /** * The type of matching to perform */ -export type UserEventPayload317PreviousType = ClosedEnum< - typeof UserEventPayload317PreviousType +export type UserEventPayload320PreviousType = ClosedEnum< + typeof UserEventPayload320PreviousType >; export type PayloadBranchMatcher = { @@ -55,21 +99,21 @@ export type PayloadBranchMatcher = { /** * The type of matching to perform */ - type: UserEventPayload317PreviousType; + type: UserEventPayload320PreviousType; }; -export type UserEventPayload317Previous = { +export type UserEventPayload320Previous = { branchMatcher?: PayloadBranchMatcher | undefined; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeventeen = { +export type ThreeHundredAndTwenty = { customEnvironmentId: string; customEnvironmentSlug: string; - next: UserEventPayload317Next; - previous: UserEventPayload317Previous; + next: UserEventPayload320Next; + previous: UserEventPayload320Previous; projectId: string; projectName: string; }; @@ -77,7 +121,7 @@ export type ThreeHundredAndSeventeen = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSixteen = { +export type ThreeHundredAndNineteen = { previewDeploymentsEnabled: boolean; projectId: string; projectName: string; @@ -86,7 +130,7 @@ export type ThreeHundredAndSixteen = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFifteen = { +export type ThreeHundredAndEighteen = { autoAssignCustomDomains: boolean; projectId: string; projectName: string; @@ -111,7 +155,7 @@ export type OldBuildQueueConfiguration = ClosedEnum< /** * The payload of the event, if requested. */ -export type ThreeHundredAndFourteen = { +export type ThreeHundredAndSeventeen = { buildQueueConfiguration?: BuildQueueConfiguration | undefined; elasticConcurrencyEnabled: boolean; oldBuildQueueConfiguration?: OldBuildQueueConfiguration | undefined; @@ -123,24 +167,24 @@ export type ThreeHundredAndFourteen = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndThirteen = { +export type ThreeHundredAndSixteen = { name: string; ownerId: string; }; -export const UserEventPayload312Action = { +export const UserEventPayload315Action = { Disabled: "disabled", Enabled: "enabled", } as const; -export type UserEventPayload312Action = ClosedEnum< - typeof UserEventPayload312Action +export type UserEventPayload315Action = ClosedEnum< + typeof UserEventPayload315Action >; /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwelve = { - action: UserEventPayload312Action; +export type ThreeHundredAndFifteen = { + action: UserEventPayload315Action; projectId: string; projectName: string; }; @@ -148,7 +192,7 @@ export type ThreeHundredAndTwelve = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndEleven = { +export type ThreeHundredAndFourteen = { projectId: string; projectName?: string | undefined; }; @@ -182,15 +226,15 @@ export type PayloadAws = { subnetIds: Array; }; -export const UserEventEnvIdPayload3102 = { +export const UserEventEnvIdPayload3132 = { Preview: "preview", Production: "production", } as const; -export type UserEventEnvIdPayload3102 = ClosedEnum< - typeof UserEventEnvIdPayload3102 +export type UserEventEnvIdPayload3132 = ClosedEnum< + typeof UserEventEnvIdPayload3132 >; -export type UserEventPayload310EnvId = string | UserEventEnvIdPayload3102; +export type UserEventPayload313EnvId = string | UserEventEnvIdPayload3132; export type OldConnectConfigurations = { aws?: PayloadAws | undefined; @@ -198,19 +242,19 @@ export type OldConnectConfigurations = { connectConfigurationId: string; createdAt: number; dc?: string | undefined; - envId: string | UserEventEnvIdPayload3102; + envId: string | UserEventEnvIdPayload3132; passive: boolean; updatedAt: number; }; -export type UserEventPayload310Project = { +export type UserEventPayload313Project = { id: string; name?: string | undefined; newConnectConfigurations: Array | null; oldConnectConfigurations: Array | null; }; -export type UserEventPayload310Team = { +export type UserEventPayload313Team = { id: string; name: string; }; @@ -218,15 +262,15 @@ export type UserEventPayload310Team = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTen = { - project: UserEventPayload310Project; - team: UserEventPayload310Team; +export type ThreeHundredAndThirteen = { + project: UserEventPayload313Project; + team: UserEventPayload313Team; }; /** * The payload of the event, if requested. */ -export type ThreeHundredAndNine = { +export type ThreeHundredAndTwelve = { projectId?: string | undefined; projectName?: string | undefined; target?: Array | undefined; @@ -236,7 +280,7 @@ export type ThreeHundredAndNine = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndEight = { +export type ThreeHundredAndEleven = { certId?: string | undefined; origin?: string | undefined; projectId?: string | undefined; @@ -266,7 +310,7 @@ export type Widget = ClosedEnum; /** * The payload of the event, if requested. */ -export type ThreeHundredAndSeven = { +export type ThreeHundredAndTen = { projectId: string; projectName: string; widget: Widget | null; @@ -275,7 +319,7 @@ export type ThreeHundredAndSeven = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndSix = { +export type ThreeHundredAndNine = { /** * Deployment whose outcome caused a system-initiated elastic resize. */ @@ -296,7 +340,7 @@ export type ThreeHundredAndSix = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFive = { +export type ThreeHundredAndEight = { projectId: string; projectName: string; sourceFilesOutsideRootDirectory: boolean; @@ -305,22 +349,22 @@ export type ThreeHundredAndFive = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndFour = { +export type ThreeHundredAndSeven = { productionDeploymentsFastLane: boolean; projectId: string; projectName: string; }; -export type UserEventPayload303Next = {}; +export type UserEventPayload306Next = {}; -export type UserEventPayload303Previous = {}; +export type UserEventPayload306Previous = {}; /** * The payload of the event, if requested. */ -export type ThreeHundredAndThree = { - next: UserEventPayload303Next; - previous: UserEventPayload303Previous; +export type ThreeHundredAndSix = { + next: UserEventPayload306Next; + previous: UserEventPayload306Previous; projectId: string; projectName: string; }; @@ -328,7 +372,7 @@ export type ThreeHundredAndThree = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndTwo = { +export type ThreeHundredAndFive = { enableExternalRewriteCaching: boolean; projectId: string; projectName: string; @@ -337,7 +381,7 @@ export type ThreeHundredAndTwo = { /** * The payload of the event, if requested. */ -export type ThreeHundredAndOne = { +export type ThreeHundredAndFour = { enableAffectedProjectsDeployments: boolean; projectId: string; projectName: string; @@ -346,7 +390,7 @@ export type ThreeHundredAndOne = { /** * The payload of the event, if requested. */ -export type ThreeHundred = { +export type ThreeHundredAndThree = { avatarDarkMode?: string | null | undefined; projectId: string; projectName: string; @@ -355,27 +399,27 @@ export type ThreeHundred = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyNine = { +export type ThreeHundredAndTwo = { avatar?: string | null | undefined; projectId: string; projectName: string; }; -export const UserEventPayload298Action = { +export const UserEventPayload301Action = { Disabled: "disabled", Enabled: "enabled", Regenerated: "regenerated", Updated: "updated", } as const; -export type UserEventPayload298Action = ClosedEnum< - typeof UserEventPayload298Action +export type UserEventPayload301Action = ClosedEnum< + typeof UserEventPayload301Action >; /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyEight = { - action: UserEventPayload298Action; +export type ThreeHundredAndOne = { + action: UserEventPayload301Action; isEnvVar?: boolean | undefined; note?: string | undefined; projectId: string; @@ -385,7 +429,7 @@ export type TwoHundredAndNinetyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetySeven = { +export type ThreeHundred = { prevProjectAnalytics?: { [k: string]: any } | null | undefined; projectAnalytics?: { [k: string]: any } | undefined; projectId: string; @@ -415,7 +459,7 @@ export type ProjectAnalytics = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetySix = { +export type TwoHundredAndNinetyNine = { prevProjectAnalytics: PrevProjectAnalytics | null; projectAnalytics: ProjectAnalytics | null; projectId: string; @@ -425,7 +469,7 @@ export type TwoHundredAndNinetySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyFive = { +export type TwoHundredAndNinetyEight = { directoryListing: boolean; projectId: string; projectName: string; @@ -434,7 +478,7 @@ export type TwoHundredAndNinetyFive = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyFour = { +export type TwoHundredAndNinetySeven = { branch: string; projectId?: string | undefined; projectName: string; @@ -453,22 +497,22 @@ export type UserEventPayloadPrivateLinkEndpoint = { privateDnsNames?: Array | undefined; }; -export const UserEventPayload293Scope = { +export const UserEventPayload296Scope = { Project: "project", } as const; -export type UserEventPayload293Scope = ClosedEnum< - typeof UserEventPayload293Scope +export type UserEventPayload296Scope = ClosedEnum< + typeof UserEventPayload296Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyThree = { +export type TwoHundredAndNinetySix = { previousEndpoint: PreviousEndpoint; privateLinkEndpoint: UserEventPayloadPrivateLinkEndpoint; projectId: string; projectName?: string | undefined; - scope?: UserEventPayload293Scope | undefined; + scope?: UserEventPayload296Scope | undefined; }; export type PayloadCurrent = { @@ -480,7 +524,7 @@ export type PayloadCurrent = { vercelRegion: string; }; -export type UserEventPayload292Prev = { +export type UserEventPayload295Prev = { awsServiceName: string; id: string; name: string; @@ -489,21 +533,21 @@ export type UserEventPayload292Prev = { vercelRegion: string; }; -export const UserEventPayload292Scope = { +export const UserEventPayload295Scope = { Project: "project", } as const; -export type UserEventPayload292Scope = ClosedEnum< - typeof UserEventPayload292Scope +export type UserEventPayload295Scope = ClosedEnum< + typeof UserEventPayload295Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyTwo = { +export type TwoHundredAndNinetyFive = { current: PayloadCurrent; - prev: UserEventPayload292Prev; + prev: UserEventPayload295Prev; projectName?: string | undefined; - scope?: UserEventPayload292Scope | undefined; + scope?: UserEventPayload295Scope | undefined; }; export type Current = { @@ -524,21 +568,21 @@ export type UserEventPayloadPrev = { vercelRegion: string; }; -export const UserEventPayload291Scope = { +export const UserEventPayload294Scope = { Network: "network", } as const; -export type UserEventPayload291Scope = ClosedEnum< - typeof UserEventPayload291Scope +export type UserEventPayload294Scope = ClosedEnum< + typeof UserEventPayload294Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndNinetyOne = { +export type TwoHundredAndNinetyFour = { current: Current; networkName?: string | undefined; prev: UserEventPayloadPrev; - scope: UserEventPayload291Scope; + scope: UserEventPayload294Scope; }; export type PayloadPrivateLinkEndpoint = { @@ -546,21 +590,21 @@ export type PayloadPrivateLinkEndpoint = { name: string; }; -export const UserEventPayload290Scope = { +export const UserEventPayload293Scope = { Project: "project", } as const; -export type UserEventPayload290Scope = ClosedEnum< - typeof UserEventPayload290Scope +export type UserEventPayload293Scope = ClosedEnum< + typeof UserEventPayload293Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndNinety = { +export type TwoHundredAndNinetyThree = { privateLinkEndpoint: PayloadPrivateLinkEndpoint; projectId: string; projectName?: string | undefined; - scope?: UserEventPayload290Scope | undefined; + scope?: UserEventPayload293Scope | undefined; }; export type PayloadEndpoint = { @@ -572,20 +616,20 @@ export type PayloadEndpoint = { vercelRegion: string; }; -export const UserEventPayload289Scope = { +export const UserEventPayload292Scope = { Project: "project", } as const; -export type UserEventPayload289Scope = ClosedEnum< - typeof UserEventPayload289Scope +export type UserEventPayload292Scope = ClosedEnum< + typeof UserEventPayload292Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyNine = { +export type TwoHundredAndNinetyTwo = { endpoint: PayloadEndpoint; projectName?: string | undefined; - scope?: UserEventPayload289Scope | undefined; + scope?: UserEventPayload292Scope | undefined; }; export type Endpoint = { @@ -597,33 +641,33 @@ export type Endpoint = { vercelRegion: string; }; -export const UserEventPayload288Scope = { +export const UserEventPayload291Scope = { Network: "network", } as const; -export type UserEventPayload288Scope = ClosedEnum< - typeof UserEventPayload288Scope +export type UserEventPayload291Scope = ClosedEnum< + typeof UserEventPayload291Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyEight = { +export type TwoHundredAndNinetyOne = { endpoint: Endpoint; networkName?: string | undefined; - scope: UserEventPayload288Scope; + scope: UserEventPayload291Scope; }; -export const UserEventPayload287ActorType = { +export const UserEventPayload290ActorType = { Admin: "admin", } as const; -export type UserEventPayload287ActorType = ClosedEnum< - typeof UserEventPayload287ActorType +export type UserEventPayload290ActorType = ClosedEnum< + typeof UserEventPayload290ActorType >; /** * The payload of the event, if requested. */ -export type TwoHundredAndEightySeven = { +export type TwoHundredAndNinety = { previousTeamSuffix: string | null; projectCount: number; reason: string; @@ -632,13 +676,13 @@ export type TwoHundredAndEightySeven = { */ actorId: string; actorName?: string | undefined; - actorType: UserEventPayload287ActorType; + actorType: UserEventPayload290ActorType; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndEightySix = { +export type TwoHundredAndEightyNine = { previewDeploymentSuffix?: string | null | undefined; previousPreviewDeploymentSuffix?: string | null | undefined; }; @@ -646,7 +690,7 @@ export type TwoHundredAndEightySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyFive = { +export type TwoHundredAndEightyEight = { currency?: string | undefined; enabled?: boolean | undefined; price?: number | undefined; @@ -654,7 +698,7 @@ export type TwoHundredAndEightyFive = { export type PayloadGitUserId = string | number; -export const UserEventPayload284Origin = { +export const UserEventPayload287Origin = { AccountUpdate: "account-update", Bitbucket: "bitbucket", Dsync: "dsync", @@ -676,8 +720,8 @@ export const UserEventPayload284Origin = { Saml: "saml", Teams: "teams", } as const; -export type UserEventPayload284Origin = ClosedEnum< - typeof UserEventPayload284Origin +export type UserEventPayload287Origin = ClosedEnum< + typeof UserEventPayload287Origin >; export type PayloadJoinedFrom = { @@ -687,14 +731,18 @@ export type PayloadJoinedFrom = { gitUserId?: string | number | undefined; gitUserLogin?: string | undefined; idpUserId?: string | undefined; - origin: UserEventPayload284Origin; + origin: UserEventPayload287Origin; repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; -export const UserEventPayload284Role = { +export const UserEventPayload287Role = { Billing: "BILLING", Contributor: "CONTRIBUTOR", Developer: "DEVELOPER", @@ -704,15 +752,15 @@ export const UserEventPayload284Role = { Viewer: "VIEWER", ViewerForPlus: "VIEWER_FOR_PLUS", } as const; -export type UserEventPayload284Role = ClosedEnum< - typeof UserEventPayload284Role +export type UserEventPayload287Role = ClosedEnum< + typeof UserEventPayload287Role >; export type PayloadRemovedUsers = { confirmed: boolean; confirmedAt?: number | undefined; joinedFrom?: PayloadJoinedFrom | undefined; - role: UserEventPayload284Role; + role: UserEventPayload287Role; }; export const UserEventPayloadActorType = { @@ -725,7 +773,7 @@ export type UserEventPayloadActorType = ClosedEnum< /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyFour = { +export type TwoHundredAndEightySeven = { /** * Whether the plan change was system-initiated rather than human-initiated. */ @@ -754,7 +802,7 @@ export type TwoHundredAndEightyFour = { export type UserEventPayloadGitUserId = string | number; -export const UserEventPayload283Origin = { +export const UserEventPayload286Origin = { AccountUpdate: "account-update", Bitbucket: "bitbucket", Dsync: "dsync", @@ -776,8 +824,8 @@ export const UserEventPayload283Origin = { Saml: "saml", Teams: "teams", } as const; -export type UserEventPayload283Origin = ClosedEnum< - typeof UserEventPayload283Origin +export type UserEventPayload286Origin = ClosedEnum< + typeof UserEventPayload286Origin >; export type UserEventPayloadJoinedFrom = { @@ -787,14 +835,18 @@ export type UserEventPayloadJoinedFrom = { gitUserId?: string | number | undefined; gitUserLogin?: string | undefined; idpUserId?: string | undefined; - origin: UserEventPayload283Origin; + origin: UserEventPayload286Origin; repoId?: string | undefined; repoPath?: string | undefined; ssoConnectedAt?: number | undefined; + /** + * How `ssoUserId` and `idpUserId` were made; absent when unknown. + */ + ssoIdFingerprint?: string | undefined; ssoUserId?: string | undefined; }; -export const UserEventPayload283Role = { +export const UserEventPayload286Role = { Billing: "BILLING", Contributor: "CONTRIBUTOR", Developer: "DEVELOPER", @@ -804,21 +856,21 @@ export const UserEventPayload283Role = { Viewer: "VIEWER", ViewerForPlus: "VIEWER_FOR_PLUS", } as const; -export type UserEventPayload283Role = ClosedEnum< - typeof UserEventPayload283Role +export type UserEventPayload286Role = ClosedEnum< + typeof UserEventPayload286Role >; export type RemovedUsers = { confirmed: boolean; confirmedAt?: number | undefined; joinedFrom?: UserEventPayloadJoinedFrom | undefined; - role: UserEventPayload283Role; + role: UserEventPayload286Role; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyThree = { +export type TwoHundredAndEightySix = { /** * Whether the plan change was system-initiated rather than human-initiated. */ @@ -847,7 +899,7 @@ export type EnvId2 = ClosedEnum; export type EnvId = string | EnvId2; -export type UserEventPayload282Next = { +export type UserEventPayload285Next = { /** * Explicit opt-in; missing values are false. */ @@ -868,7 +920,7 @@ export type UserEventEnvId2 = ClosedEnum; export type PayloadEnvId = string | UserEventEnvId2; -export type UserEventPayload282Previous = { +export type UserEventPayload285Previous = { /** * Explicit opt-in; missing values are false. */ @@ -884,9 +936,9 @@ export type UserEventPayload282Previous = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyTwo = { - next: Array; - previous: Array; +export type TwoHundredAndEightyFive = { + next: Array; + previous: Array; projectId: string; projectName: string; }; @@ -900,7 +952,7 @@ export type PayloadPerimeter = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEightyOne = { +export type TwoHundredAndEightyFour = { perimeter: PayloadPerimeter; sourceVersion: number; }; @@ -914,108 +966,108 @@ export type Perimeter = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEighty = { +export type TwoHundredAndEightyThree = { perimeter: Perimeter; }; -export const UserEventPayload279DeploymentType = { +export const UserEventPayload282DeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload279DeploymentType = ClosedEnum< - typeof UserEventPayload279DeploymentType +export type UserEventPayload282DeploymentType = ClosedEnum< + typeof UserEventPayload282DeploymentType >; export type UserEventPayloadPassport = { connectorId: string; - deploymentType: UserEventPayload279DeploymentType; + deploymentType: UserEventPayload282DeploymentType; }; -export type UserEventPayload279Next = { +export type UserEventPayload282Next = { passport?: UserEventPayloadPassport | null | undefined; }; -export const UserEventPayload279PreviousDeploymentType = { +export const UserEventPayload282PreviousDeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload279PreviousDeploymentType = ClosedEnum< - typeof UserEventPayload279PreviousDeploymentType +export type UserEventPayload282PreviousDeploymentType = ClosedEnum< + typeof UserEventPayload282PreviousDeploymentType >; -export type UserEventPayload279Passport = { +export type UserEventPayload282Passport = { connectorId: string; - deploymentType: UserEventPayload279PreviousDeploymentType; + deploymentType: UserEventPayload282PreviousDeploymentType; }; -export type UserEventPayload279Previous = { - passport?: UserEventPayload279Passport | null | undefined; +export type UserEventPayload282Previous = { + passport?: UserEventPayload282Passport | null | undefined; }; -export const UserEventPayload279Scope = { +export const UserEventPayload282Scope = { Organization: "organization", } as const; -export type UserEventPayload279Scope = ClosedEnum< - typeof UserEventPayload279Scope +export type UserEventPayload282Scope = ClosedEnum< + typeof UserEventPayload282Scope >; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyNine = { - next: UserEventPayload279Next; - previous: UserEventPayload279Previous; - scope?: UserEventPayload279Scope | undefined; +export type TwoHundredAndEightyTwo = { + next: UserEventPayload282Next; + previous: UserEventPayload282Previous; + scope?: UserEventPayload282Scope | undefined; }; -export const UserEventPayload278DeploymentType = { +export const UserEventPayload281DeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload278DeploymentType = ClosedEnum< - typeof UserEventPayload278DeploymentType +export type UserEventPayload281DeploymentType = ClosedEnum< + typeof UserEventPayload281DeploymentType >; export type Passport = { connectorId: string; - deploymentType: UserEventPayload278DeploymentType; + deploymentType: UserEventPayload281DeploymentType; }; -export type UserEventPayload278Next = { +export type UserEventPayload281Next = { passport?: Passport | null | undefined; }; -export const UserEventPayload278PreviousDeploymentType = { +export const UserEventPayload281PreviousDeploymentType = { All: "all", AllExceptCustomDomains: "all_except_custom_domains", Preview: "preview", ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews", } as const; -export type UserEventPayload278PreviousDeploymentType = ClosedEnum< - typeof UserEventPayload278PreviousDeploymentType +export type UserEventPayload281PreviousDeploymentType = ClosedEnum< + typeof UserEventPayload281PreviousDeploymentType >; export type PayloadPassport = { connectorId: string; - deploymentType: UserEventPayload278PreviousDeploymentType; + deploymentType: UserEventPayload281PreviousDeploymentType; }; -export type UserEventPayload278Previous = { +export type UserEventPayload281Previous = { passport?: PayloadPassport | null | undefined; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyEight = { - next: UserEventPayload278Next; - previous: UserEventPayload278Previous; +export type TwoHundredAndEightyOne = { + next: UserEventPayload281Next; + previous: UserEventPayload281Previous; projectId: string; projectName: string; }; @@ -1023,7 +1075,7 @@ export type TwoHundredAndSeventyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventySeven = { +export type TwoHundredAndEighty = { connectorId: string; connectorService: string; connectorType: string; @@ -1041,7 +1093,7 @@ export type TwoHundredAndSeventySeven = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventySix = { +export type TwoHundredAndSeventyNine = { newName: string; oldName: string; }; @@ -1049,7 +1101,7 @@ export type TwoHundredAndSeventySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyFive = { +export type TwoHundredAndSeventyEight = { justification: string; pattern: string; projectId: string; @@ -1066,7 +1118,7 @@ export type PayloadKind = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyFour = { +export type TwoHundredAndSeventySeven = { headerName?: string | undefined; justification: string | null; kind?: PayloadKind | undefined; @@ -1075,36 +1127,36 @@ export type TwoHundredAndSeventyFour = { url?: string | undefined; }; -export const UserEventPayload273Type = { +export const UserEventPayload276Type = { ConnectSrc: "connectSrc", } as const; -export type UserEventPayload273Type = ClosedEnum< - typeof UserEventPayload273Type +export type UserEventPayload276Type = ClosedEnum< + typeof UserEventPayload276Type >; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyThree = { +export type TwoHundredAndSeventySix = { projectId: string; resourceUrl: string; - type: UserEventPayload273Type; + type: UserEventPayload276Type; }; -export const UserEventPayload272Type = { +export const UserEventPayload275Type = { Header: "header", } as const; -export type UserEventPayload272Type = ClosedEnum< - typeof UserEventPayload272Type +export type UserEventPayload275Type = ClosedEnum< + typeof UserEventPayload275Type >; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyTwo = { +export type TwoHundredAndSeventyFive = { headerName: string; projectId: string; - type: UserEventPayload272Type; + type: UserEventPayload275Type; }; export const UserEventPayloadType = { @@ -1115,7 +1167,7 @@ export type UserEventPayloadType = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventyOne = { +export type TwoHundredAndSeventyFour = { projectId: string; resourceUrl: string; type: UserEventPayloadType; @@ -1136,7 +1188,7 @@ export type UserEventPayloadKind = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventy = { +export type TwoHundredAndSeventyThree = { approvalScope?: ApprovalScope | undefined; justification: string; kind?: UserEventPayloadKind | undefined; @@ -1148,7 +1200,7 @@ export type TwoHundredAndSeventy = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyNine = { +export type TwoHundredAndSeventyTwo = { connectSrcCount: number; connectSrcNormalizationRulesCleared?: boolean | undefined; connectSrcOriginCount: number; @@ -1163,7 +1215,7 @@ export type TwoHundredAndSixtyNine = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyEight = { +export type TwoHundredAndSeventyOne = { headerName: string; justification: string | null; previousStatus: string; @@ -1173,7 +1225,7 @@ export type TwoHundredAndSixtyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtySeven = { +export type TwoHundredAndSeventy = { headerName: string; justification: string; previousStatus: string; @@ -1194,7 +1246,7 @@ export type NewResourceBlockingPolicy = ClosedEnum< typeof NewResourceBlockingPolicy >; -export type UserEventPayload266Next = { +export type UserEventPayload269Next = { allowUnsafeScriptSrcKeywords: boolean; computedConnectSrc?: string | undefined; computedConnectSrcPreview?: string | undefined; @@ -1225,7 +1277,7 @@ export type PayloadNewResourceBlockingPolicy = ClosedEnum< typeof PayloadNewResourceBlockingPolicy >; -export type UserEventPayload266Previous = { +export type UserEventPayload269Previous = { allowUnsafeScriptSrcKeywords: boolean; computedConnectSrc?: string | undefined; computedConnectSrcPreview?: string | undefined; @@ -1243,16 +1295,16 @@ export type UserEventPayload266Previous = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtySix = { - next: UserEventPayload266Next; - previous: UserEventPayload266Previous | null; +export type TwoHundredAndSixtyNine = { + next: UserEventPayload269Next; + previous: UserEventPayload269Previous | null; projectId: string; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyFive = { +export type TwoHundredAndSixtyEight = { cause: string; ownerId: string; source: string; @@ -1261,7 +1313,7 @@ export type TwoHundredAndSixtyFive = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyFour = { +export type TwoHundredAndSixtySeven = { blockReason?: string | undefined; cause: string; ownerId: string; @@ -1271,7 +1323,7 @@ export type TwoHundredAndSixtyFour = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyThree = { +export type TwoHundredAndSixtySix = { cause: string; ownerId: string; reason?: string | null | undefined; @@ -1285,7 +1337,7 @@ export type SiftRoute = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyTwo = { +export type TwoHundredAndSixtyFive = { blockReason?: string | undefined; cause: string; ownerId: string; @@ -1293,12 +1345,12 @@ export type TwoHundredAndSixtyTwo = { source: string; }; -export const UserEventPayload261Mode = { +export const UserEventPayload264Mode = { Organization: "organization", Team: "team", } as const; -export type UserEventPayload261Mode = ClosedEnum< - typeof UserEventPayload261Mode +export type UserEventPayload264Mode = ClosedEnum< + typeof UserEventPayload264Mode >; export const UserEventPayloadPreviousMode = { @@ -1312,8 +1364,8 @@ export type UserEventPayloadPreviousMode = ClosedEnum< /** * The payload of the event, if requested. */ -export type TwoHundredAndSixtyOne = { - mode: UserEventPayload261Mode; +export type TwoHundredAndSixtyFour = { + mode: UserEventPayload264Mode; organizationId: string; previousMode: UserEventPayloadPreviousMode; teamId: string; @@ -1323,7 +1375,7 @@ export type TwoHundredAndSixtyOne = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixty = { +export type TwoHundredAndSixtyThree = { enabled: boolean; organizationId: string; organizationSlug: string; @@ -1333,49 +1385,103 @@ export type TwoHundredAndSixty = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyNine = { +export type TwoHundredAndSixtyTwo = { enforced: boolean; organizationId: string; organizationSlug: string; previousEnforced: boolean; }; -/** - * The payload of the event, if requested. - */ -export type TwoHundredAndFiftyEight = { - connectionType: string; - organizationId: string; - organizationSlug: string; -}; +/** @internal */ +export const ThreeHundredAndTwentyThree$inboundSchema: z.ZodType< + ThreeHundredAndTwentyThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentId: types.string(), + customEnvironmentSlug: types.string(), + projectId: types.string(), + projectName: types.string(), + }) +); -export const UserEventPayloadDsyncMode = { - Organization: "organization", - Team: "team", -} as const; -export type UserEventPayloadDsyncMode = ClosedEnum< - typeof UserEventPayloadDsyncMode ->; +export function threeHundredAndTwentyThreeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentyThree' from JSON`, + ); +} -export type UserEventPayload257Next = { - dsyncMode: UserEventPayloadDsyncMode; -}; +/** @internal */ +export const ThreeHundredAndTwentyTwo$inboundSchema: z.ZodType< + ThreeHundredAndTwentyTwo, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentId: types.string(), + customEnvironmentSlug: types.string(), + enableSchedulesByDefault: types.optional(types.boolean()), + projectId: types.string(), + projectName: types.string(), + }) +); -export const PayloadDsyncMode = { - Organization: "organization", - Team: "team", -} as const; -export type PayloadDsyncMode = ClosedEnum; +export function threeHundredAndTwentyTwoFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentyTwo' from JSON`, + ); +} + +/** @internal */ +export const ThreeHundredAndTwentyOne$inboundSchema: z.ZodType< + ThreeHundredAndTwentyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentId: types.string(), + customEnvironmentSlug: types.string(), + enableSchedulesByDefault: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function threeHundredAndTwentyOneFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwentyOne' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload320Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload320Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload320Type)); /** @internal */ export const BranchMatcher$inboundSchema: z.ZodType< BranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: UserEventPayload317Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: UserEventPayload320Type$inboundSchema, + }) +); export function branchMatcherFromJSON( jsonString: string, @@ -1388,38 +1494,44 @@ export function branchMatcherFromJSON( } /** @internal */ -export const UserEventPayload317Next$inboundSchema: z.ZodType< - UserEventPayload317Next, +export const UserEventPayload320Next$inboundSchema: z.ZodType< + UserEventPayload320Next, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional(z.lazy(() => BranchMatcher$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional(z.lazy(() => BranchMatcher$inboundSchema)), + }) +); -export function userEventPayload317NextFromJSON( +export function userEventPayload320NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload317Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload317Next' from JSON`, + (x) => UserEventPayload320Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload320Next' from JSON`, ); } /** @internal */ -export const UserEventPayload317PreviousType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload317PreviousType -> = z.nativeEnum(UserEventPayload317PreviousType); +export const UserEventPayload320PreviousType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload320PreviousType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload320PreviousType) +); /** @internal */ export const PayloadBranchMatcher$inboundSchema: z.ZodType< PayloadBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: UserEventPayload317PreviousType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: UserEventPayload320PreviousType$inboundSchema, + }) +); export function payloadBranchMatcherFromJSON( jsonString: string, @@ -1432,202 +1544,220 @@ export function payloadBranchMatcherFromJSON( } /** @internal */ -export const UserEventPayload317Previous$inboundSchema: z.ZodType< - UserEventPayload317Previous, +export const UserEventPayload320Previous$inboundSchema: z.ZodType< + UserEventPayload320Previous, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => PayloadBranchMatcher$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => PayloadBranchMatcher$inboundSchema), + ), + }) +); -export function userEventPayload317PreviousFromJSON( +export function userEventPayload320PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload317Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload317Previous' from JSON`, + (x) => UserEventPayload320Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload320Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSeventeen$inboundSchema: z.ZodType< - ThreeHundredAndSeventeen, +export const ThreeHundredAndTwenty$inboundSchema: z.ZodType< + ThreeHundredAndTwenty, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentId: types.string(), - customEnvironmentSlug: types.string(), - next: z.lazy(() => UserEventPayload317Next$inboundSchema), - previous: z.lazy(() => UserEventPayload317Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentId: types.string(), + customEnvironmentSlug: types.string(), + next: z.lazy(() => UserEventPayload320Next$inboundSchema), + previous: z.lazy(() => UserEventPayload320Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSeventeenFromJSON( +export function threeHundredAndTwentyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSeventeen' from JSON`, + (x) => ThreeHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwenty' from JSON`, ); } /** @internal */ -export const ThreeHundredAndSixteen$inboundSchema: z.ZodType< - ThreeHundredAndSixteen, +export const ThreeHundredAndNineteen$inboundSchema: z.ZodType< + ThreeHundredAndNineteen, z.ZodTypeDef, unknown -> = z.object({ - previewDeploymentsEnabled: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previewDeploymentsEnabled: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndSixteenFromJSON( +export function threeHundredAndNineteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSixteen' from JSON`, + (x) => ThreeHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndNineteen' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFifteen$inboundSchema: z.ZodType< - ThreeHundredAndFifteen, +export const ThreeHundredAndEighteen$inboundSchema: z.ZodType< + ThreeHundredAndEighteen, z.ZodTypeDef, unknown -> = z.object({ - autoAssignCustomDomains: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoAssignCustomDomains: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFifteenFromJSON( +export function threeHundredAndEighteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFifteen' from JSON`, + (x) => ThreeHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEighteen' from JSON`, ); } /** @internal */ export const BuildQueueConfiguration$inboundSchema: z.ZodNativeEnum< typeof BuildQueueConfiguration -> = z.nativeEnum(BuildQueueConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(BuildQueueConfiguration)); /** @internal */ export const OldBuildQueueConfiguration$inboundSchema: z.ZodNativeEnum< typeof OldBuildQueueConfiguration -> = z.nativeEnum(OldBuildQueueConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OldBuildQueueConfiguration)); /** @internal */ -export const ThreeHundredAndFourteen$inboundSchema: z.ZodType< - ThreeHundredAndFourteen, +export const ThreeHundredAndSeventeen$inboundSchema: z.ZodType< + ThreeHundredAndSeventeen, z.ZodTypeDef, unknown -> = z.object({ - buildQueueConfiguration: types.optional( - BuildQueueConfiguration$inboundSchema, - ), - elasticConcurrencyEnabled: types.boolean(), - oldBuildQueueConfiguration: types.optional( - OldBuildQueueConfiguration$inboundSchema, - ), - oldElasticConcurrencyEnabled: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildQueueConfiguration: types.optional( + BuildQueueConfiguration$inboundSchema, + ), + elasticConcurrencyEnabled: types.boolean(), + oldBuildQueueConfiguration: types.optional( + OldBuildQueueConfiguration$inboundSchema, + ), + oldElasticConcurrencyEnabled: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFourteenFromJSON( +export function threeHundredAndSeventeenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFourteen' from JSON`, + (x) => ThreeHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSeventeen' from JSON`, ); } /** @internal */ -export const ThreeHundredAndThirteen$inboundSchema: z.ZodType< - ThreeHundredAndThirteen, +export const ThreeHundredAndSixteen$inboundSchema: z.ZodType< + ThreeHundredAndSixteen, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - ownerId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + ownerId: types.string(), + }) +); -export function threeHundredAndThirteenFromJSON( +export function threeHundredAndSixteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndThirteen' from JSON`, + (x) => ThreeHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSixteen' from JSON`, ); } /** @internal */ -export const UserEventPayload312Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload312Action -> = z.nativeEnum(UserEventPayload312Action); +export const UserEventPayload315Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload315Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload315Action)); /** @internal */ -export const ThreeHundredAndTwelve$inboundSchema: z.ZodType< - ThreeHundredAndTwelve, +export const ThreeHundredAndFifteen$inboundSchema: z.ZodType< + ThreeHundredAndFifteen, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload312Action$inboundSchema, - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload315Action$inboundSchema, + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndTwelveFromJSON( +export function threeHundredAndFifteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndTwelve' from JSON`, + (x) => ThreeHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFifteen' from JSON`, ); } /** @internal */ -export const ThreeHundredAndEleven$inboundSchema: z.ZodType< - ThreeHundredAndEleven, +export const ThreeHundredAndFourteen$inboundSchema: z.ZodType< + ThreeHundredAndFourteen, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); -export function threeHundredAndElevenFromJSON( +export function threeHundredAndFourteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndEleven' from JSON`, + (x) => ThreeHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFourteen' from JSON`, ); } /** @internal */ -export const Aws$inboundSchema: z.ZodType = z - .object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), - }); +export const Aws$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) + ); export function awsFromJSON( jsonString: string, @@ -1642,14 +1772,16 @@ export function awsFromJSON( /** @internal */ export const UserEventEnvIdPayload2$inboundSchema: z.ZodNativeEnum< typeof UserEventEnvIdPayload2 -> = z.nativeEnum(UserEventEnvIdPayload2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventEnvIdPayload2)); /** @internal */ export const UserEventPayloadEnvId$inboundSchema: z.ZodType< UserEventPayloadEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UserEventEnvIdPayload2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UserEventEnvIdPayload2$inboundSchema]) +); export function userEventPayloadEnvIdFromJSON( jsonString: string, @@ -1666,16 +1798,18 @@ export const NewConnectConfigurations$inboundSchema: z.ZodType< NewConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => Aws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UserEventEnvIdPayload2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => Aws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), UserEventEnvIdPayload2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function newConnectConfigurationsFromJSON( jsonString: string, @@ -1692,10 +1826,12 @@ export const PayloadAws$inboundSchema: z.ZodType< PayloadAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function payloadAwsFromJSON( jsonString: string, @@ -1708,24 +1844,26 @@ export function payloadAwsFromJSON( } /** @internal */ -export const UserEventEnvIdPayload3102$inboundSchema: z.ZodNativeEnum< - typeof UserEventEnvIdPayload3102 -> = z.nativeEnum(UserEventEnvIdPayload3102); +export const UserEventEnvIdPayload3132$inboundSchema: z.ZodNativeEnum< + typeof UserEventEnvIdPayload3132 +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventEnvIdPayload3132)); /** @internal */ -export const UserEventPayload310EnvId$inboundSchema: z.ZodType< - UserEventPayload310EnvId, +export const UserEventPayload313EnvId$inboundSchema: z.ZodType< + UserEventPayload313EnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UserEventEnvIdPayload3102$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UserEventEnvIdPayload3132$inboundSchema]) +); -export function userEventPayload310EnvIdFromJSON( +export function userEventPayload313EnvIdFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload310EnvId$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload310EnvId' from JSON`, + (x) => UserEventPayload313EnvId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload313EnvId' from JSON`, ); } @@ -1734,16 +1872,21 @@ export const OldConnectConfigurations$inboundSchema: z.ZodType< OldConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => PayloadAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UserEventEnvIdPayload3102$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => PayloadAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([ + types.string(), + UserEventEnvIdPayload3132$inboundSchema, + ]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function oldConnectConfigurationsFromJSON( jsonString: string, @@ -1756,60 +1899,141 @@ export function oldConnectConfigurationsFromJSON( } /** @internal */ -export const UserEventPayload310Project$inboundSchema: z.ZodType< - UserEventPayload310Project, +export const UserEventPayload313Project$inboundSchema: z.ZodType< + UserEventPayload313Project, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + newConnectConfigurations: types.nullable( + z.array(z.lazy(() => NewConnectConfigurations$inboundSchema)), + ), + oldConnectConfigurations: types.nullable( + z.array(z.lazy(() => OldConnectConfigurations$inboundSchema)), + ), + }) +); + +export function userEventPayload313ProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload313Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload313Project' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload313Team$inboundSchema: z.ZodType< + UserEventPayload313Team, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); + +export function userEventPayload313TeamFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload313Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload313Team' from JSON`, + ); +} + +/** @internal */ +export const ThreeHundredAndThirteen$inboundSchema: z.ZodType< + ThreeHundredAndThirteen, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload313Project$inboundSchema), + team: z.lazy(() => UserEventPayload313Team$inboundSchema), + }) +); + +export function threeHundredAndThirteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThreeHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndThirteen' from JSON`, + ); +} + +/** @internal */ +export const ThreeHundredAndTwelve$inboundSchema: z.ZodType< + ThreeHundredAndTwelve, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), - newConnectConfigurations: types.nullable( - z.array(z.lazy(() => NewConnectConfigurations$inboundSchema)), - ), - oldConnectConfigurations: types.nullable( - z.array(z.lazy(() => OldConnectConfigurations$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + target: types.optional(z.array(types.string())), + updated: types.optional(types.boolean()), + }) +); -export function userEventPayload310ProjectFromJSON( +export function threeHundredAndTwelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload310Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload310Project' from JSON`, + (x) => ThreeHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndTwelve' from JSON`, ); } /** @internal */ -export const UserEventPayload310Team$inboundSchema: z.ZodType< - UserEventPayload310Team, +export const ThreeHundredAndEleven$inboundSchema: z.ZodType< + ThreeHundredAndEleven, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + certId: types.optional(types.string()), + origin: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) +); -export function userEventPayload310TeamFromJSON( +export function threeHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload310Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload310Team' from JSON`, + (x) => ThreeHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndEleven' from JSON`, ); } +/** @internal */ +export const Widget$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Widget)); + /** @internal */ export const ThreeHundredAndTen$inboundSchema: z.ZodType< ThreeHundredAndTen, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload310Project$inboundSchema), - team: z.lazy(() => UserEventPayload310Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + widget: types.nullable(Widget$inboundSchema), + }) +); export function threeHundredAndTenFromJSON( jsonString: string, @@ -1826,12 +2050,19 @@ export const ThreeHundredAndNine$inboundSchema: z.ZodType< ThreeHundredAndNine, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - target: types.optional(z.array(types.string())), - updated: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.optional(types.string()), + isSystemInitiated: types.optional(types.boolean()), + nextBuildMachineSelection: types.string(), + nextBuildMachineType: types.string(), + previousBuildMachineSelection: types.string(), + previousBuildMachineType: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.string(), + reason: types.optional(types.string()), + }) +); export function threeHundredAndNineFromJSON( jsonString: string, @@ -1848,12 +2079,13 @@ export const ThreeHundredAndEight$inboundSchema: z.ZodType< ThreeHundredAndEight, z.ZodTypeDef, unknown -> = z.object({ - certId: types.optional(types.string()), - origin: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + sourceFilesOutsideRootDirectory: types.boolean(), + }) +); export function threeHundredAndEightFromJSON( jsonString: string, @@ -1865,20 +2097,18 @@ export function threeHundredAndEightFromJSON( ); } -/** @internal */ -export const Widget$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Widget); - /** @internal */ export const ThreeHundredAndSeven$inboundSchema: z.ZodType< ThreeHundredAndSeven, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - widget: types.nullable(Widget$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + productionDeploymentsFastLane: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndSevenFromJSON( jsonString: string, @@ -1891,105 +2121,106 @@ export function threeHundredAndSevenFromJSON( } /** @internal */ -export const ThreeHundredAndSix$inboundSchema: z.ZodType< - ThreeHundredAndSix, +export const UserEventPayload306Next$inboundSchema: z.ZodType< + UserEventPayload306Next, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.optional(types.string()), - isSystemInitiated: types.optional(types.boolean()), - nextBuildMachineSelection: types.string(), - nextBuildMachineType: types.string(), - previousBuildMachineSelection: types.string(), - previousBuildMachineType: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.string(), - reason: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); -export function threeHundredAndSixFromJSON( +export function userEventPayload306NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndSix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndSix' from JSON`, + (x) => UserEventPayload306Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload306Next' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFive$inboundSchema: z.ZodType< - ThreeHundredAndFive, +export const UserEventPayload306Previous$inboundSchema: z.ZodType< + UserEventPayload306Previous, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - sourceFilesOutsideRootDirectory: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); -export function threeHundredAndFiveFromJSON( +export function userEventPayload306PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFive' from JSON`, + (x) => UserEventPayload306Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload306Previous' from JSON`, ); } /** @internal */ -export const ThreeHundredAndFour$inboundSchema: z.ZodType< - ThreeHundredAndFour, +export const ThreeHundredAndSix$inboundSchema: z.ZodType< + ThreeHundredAndSix, z.ZodTypeDef, unknown -> = z.object({ - productionDeploymentsFastLane: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload306Next$inboundSchema), + previous: z.lazy(() => UserEventPayload306Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); -export function threeHundredAndFourFromJSON( +export function threeHundredAndSixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThreeHundredAndFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThreeHundredAndFour' from JSON`, + (x) => ThreeHundredAndSix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndSix' from JSON`, ); } /** @internal */ -export const UserEventPayload303Next$inboundSchema: z.ZodType< - UserEventPayload303Next, +export const ThreeHundredAndFive$inboundSchema: z.ZodType< + ThreeHundredAndFive, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableExternalRewriteCaching: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function userEventPayload303NextFromJSON( +export function threeHundredAndFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload303Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload303Next' from JSON`, + (x) => ThreeHundredAndFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFive' from JSON`, ); } /** @internal */ -export const UserEventPayload303Previous$inboundSchema: z.ZodType< - UserEventPayload303Previous, +export const ThreeHundredAndFour$inboundSchema: z.ZodType< + ThreeHundredAndFour, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableAffectedProjectsDeployments: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function userEventPayload303PreviousFromJSON( +export function threeHundredAndFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload303Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload303Previous' from JSON`, + (x) => ThreeHundredAndFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThreeHundredAndFour' from JSON`, ); } @@ -1998,12 +2229,13 @@ export const ThreeHundredAndThree$inboundSchema: z.ZodType< ThreeHundredAndThree, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload303Next$inboundSchema), - previous: z.lazy(() => UserEventPayload303Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatarDarkMode: z.nullable(types.string()).optional(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndThreeFromJSON( jsonString: string, @@ -2020,11 +2252,13 @@ export const ThreeHundredAndTwo$inboundSchema: z.ZodType< ThreeHundredAndTwo, z.ZodTypeDef, unknown -> = z.object({ - enableExternalRewriteCaching: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: z.nullable(types.string()).optional(), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndTwoFromJSON( jsonString: string, @@ -2036,16 +2270,25 @@ export function threeHundredAndTwoFromJSON( ); } +/** @internal */ +export const UserEventPayload301Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload301Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload301Action)); + /** @internal */ export const ThreeHundredAndOne$inboundSchema: z.ZodType< ThreeHundredAndOne, z.ZodTypeDef, unknown -> = z.object({ - enableAffectedProjectsDeployments: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload301Action$inboundSchema, + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + projectId: types.string(), + projectName: types.string(), + }) +); export function threeHundredAndOneFromJSON( jsonString: string, @@ -2062,11 +2305,14 @@ export const ThreeHundred$inboundSchema: z.ZodType< ThreeHundred, z.ZodTypeDef, unknown -> = z.object({ - avatarDarkMode: z.nullable(types.string()).optional(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prevProjectAnalytics: z.nullable(z.record(z.any())).optional(), + projectAnalytics: types.optional(z.record(z.any())), + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); export function threeHundredFromJSON( jsonString: string, @@ -2079,94 +2325,25 @@ export function threeHundredFromJSON( } /** @internal */ -export const TwoHundredAndNinetyNine$inboundSchema: z.ZodType< - TwoHundredAndNinetyNine, +export const PrevProjectAnalytics$inboundSchema: z.ZodType< + PrevProjectAnalytics, z.ZodTypeDef, unknown -> = z.object({ - avatar: z.nullable(types.string()).optional(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); -export function twoHundredAndNinetyNineFromJSON( +export function prevProjectAnalyticsFromJSON( jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndNinetyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyNine' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload298Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload298Action -> = z.nativeEnum(UserEventPayload298Action); - -/** @internal */ -export const TwoHundredAndNinetyEight$inboundSchema: z.ZodType< - TwoHundredAndNinetyEight, - z.ZodTypeDef, - unknown -> = z.object({ - action: UserEventPayload298Action$inboundSchema, - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - projectId: types.string(), - projectName: types.string(), -}); - -export function twoHundredAndNinetyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndNinetyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyEight' from JSON`, - ); -} - -/** @internal */ -export const TwoHundredAndNinetySeven$inboundSchema: z.ZodType< - TwoHundredAndNinetySeven, - z.ZodTypeDef, - unknown -> = z.object({ - prevProjectAnalytics: z.nullable(z.record(z.any())).optional(), - projectAnalytics: types.optional(z.record(z.any())), - projectId: types.string(), - projectName: types.optional(types.string()), -}); - -export function twoHundredAndNinetySevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndNinetySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetySeven' from JSON`, - ); -} - -/** @internal */ -export const PrevProjectAnalytics$inboundSchema: z.ZodType< - PrevProjectAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); - -export function prevProjectAnalyticsFromJSON( - jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => PrevProjectAnalytics$inboundSchema.parse(JSON.parse(x)), @@ -2179,15 +2356,17 @@ export const ProjectAnalytics$inboundSchema: z.ZodType< ProjectAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function projectAnalyticsFromJSON( jsonString: string, @@ -2200,70 +2379,76 @@ export function projectAnalyticsFromJSON( } /** @internal */ -export const TwoHundredAndNinetySix$inboundSchema: z.ZodType< - TwoHundredAndNinetySix, +export const TwoHundredAndNinetyNine$inboundSchema: z.ZodType< + TwoHundredAndNinetyNine, z.ZodTypeDef, unknown -> = z.object({ - prevProjectAnalytics: types.nullable( - z.lazy(() => PrevProjectAnalytics$inboundSchema), - ), - projectAnalytics: types.nullable( - z.lazy(() => ProjectAnalytics$inboundSchema), - ), - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + prevProjectAnalytics: types.nullable( + z.lazy(() => PrevProjectAnalytics$inboundSchema), + ), + projectAnalytics: types.nullable( + z.lazy(() => ProjectAnalytics$inboundSchema), + ), + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); -export function twoHundredAndNinetySixFromJSON( +export function twoHundredAndNinetyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetySix' from JSON`, + (x) => TwoHundredAndNinetyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyNine' from JSON`, ); } /** @internal */ -export const TwoHundredAndNinetyFive$inboundSchema: z.ZodType< - TwoHundredAndNinetyFive, +export const TwoHundredAndNinetyEight$inboundSchema: z.ZodType< + TwoHundredAndNinetyEight, z.ZodTypeDef, unknown -> = z.object({ - directoryListing: types.boolean(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryListing: types.boolean(), + projectId: types.string(), + projectName: types.string(), + }) +); -export function twoHundredAndNinetyFiveFromJSON( +export function twoHundredAndNinetyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyFive' from JSON`, + (x) => TwoHundredAndNinetyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyEight' from JSON`, ); } /** @internal */ -export const TwoHundredAndNinetyFour$inboundSchema: z.ZodType< - TwoHundredAndNinetyFour, +export const TwoHundredAndNinetySeven$inboundSchema: z.ZodType< + TwoHundredAndNinetySeven, z.ZodTypeDef, unknown -> = z.object({ - branch: types.string(), - projectId: types.optional(types.string()), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branch: types.string(), + projectId: types.optional(types.string()), + projectName: types.string(), + }) +); -export function twoHundredAndNinetyFourFromJSON( +export function twoHundredAndNinetySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyFour' from JSON`, + (x) => TwoHundredAndNinetySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetySeven' from JSON`, ); } @@ -2272,11 +2457,13 @@ export const PreviousEndpoint$inboundSchema: z.ZodType< PreviousEndpoint, z.ZodTypeDef, unknown -> = z.object({ - environmentIds: types.optional(z.array(types.string())), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentIds: types.optional(z.array(types.string())), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + }) +); export function previousEndpointFromJSON( jsonString: string, @@ -2293,12 +2480,14 @@ export const UserEventPayloadPrivateLinkEndpoint$inboundSchema: z.ZodType< UserEventPayloadPrivateLinkEndpoint, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - environmentIds: types.optional(z.array(types.string())), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + environmentIds: types.optional(z.array(types.string())), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + }) +); export function userEventPayloadPrivateLinkEndpointFromJSON( jsonString: string, @@ -2312,32 +2501,34 @@ export function userEventPayloadPrivateLinkEndpointFromJSON( } /** @internal */ -export const UserEventPayload293Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload293Scope -> = z.nativeEnum(UserEventPayload293Scope); +export const UserEventPayload296Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload296Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload296Scope)); /** @internal */ -export const TwoHundredAndNinetyThree$inboundSchema: z.ZodType< - TwoHundredAndNinetyThree, +export const TwoHundredAndNinetySix$inboundSchema: z.ZodType< + TwoHundredAndNinetySix, z.ZodTypeDef, unknown -> = z.object({ - previousEndpoint: z.lazy(() => PreviousEndpoint$inboundSchema), - privateLinkEndpoint: z.lazy(() => - UserEventPayloadPrivateLinkEndpoint$inboundSchema - ), - projectId: types.string(), - projectName: types.optional(types.string()), - scope: types.optional(UserEventPayload293Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousEndpoint: z.lazy(() => PreviousEndpoint$inboundSchema), + privateLinkEndpoint: z.lazy(() => + UserEventPayloadPrivateLinkEndpoint$inboundSchema + ), + projectId: types.string(), + projectName: types.optional(types.string()), + scope: types.optional(UserEventPayload296Scope$inboundSchema), + }) +); -export function twoHundredAndNinetyThreeFromJSON( +export function twoHundredAndNinetySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyThree' from JSON`, + (x) => TwoHundredAndNinetySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetySix' from JSON`, ); } @@ -2346,14 +2537,16 @@ export const PayloadCurrent$inboundSchema: z.ZodType< PayloadCurrent, z.ZodTypeDef, unknown -> = z.object({ - awsServiceName: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - projectId: types.string(), - vercelRegion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + projectId: types.string(), + vercelRegion: types.string(), + }) +); export function payloadCurrentFromJSON( jsonString: string, @@ -2366,66 +2559,72 @@ export function payloadCurrentFromJSON( } /** @internal */ -export const UserEventPayload292Prev$inboundSchema: z.ZodType< - UserEventPayload292Prev, +export const UserEventPayload295Prev$inboundSchema: z.ZodType< + UserEventPayload295Prev, z.ZodTypeDef, unknown -> = z.object({ - awsServiceName: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - projectId: types.string(), - vercelRegion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + projectId: types.string(), + vercelRegion: types.string(), + }) +); -export function userEventPayload292PrevFromJSON( +export function userEventPayload295PrevFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload292Prev$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload292Prev' from JSON`, + (x) => UserEventPayload295Prev$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload295Prev' from JSON`, ); } /** @internal */ -export const UserEventPayload292Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload292Scope -> = z.nativeEnum(UserEventPayload292Scope); +export const UserEventPayload295Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload295Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload295Scope)); /** @internal */ -export const TwoHundredAndNinetyTwo$inboundSchema: z.ZodType< - TwoHundredAndNinetyTwo, +export const TwoHundredAndNinetyFive$inboundSchema: z.ZodType< + TwoHundredAndNinetyFive, z.ZodTypeDef, unknown -> = z.object({ - current: z.lazy(() => PayloadCurrent$inboundSchema), - prev: z.lazy(() => UserEventPayload292Prev$inboundSchema), - projectName: types.optional(types.string()), - scope: types.optional(UserEventPayload292Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + current: z.lazy(() => PayloadCurrent$inboundSchema), + prev: z.lazy(() => UserEventPayload295Prev$inboundSchema), + projectName: types.optional(types.string()), + scope: types.optional(UserEventPayload295Scope$inboundSchema), + }) +); -export function twoHundredAndNinetyTwoFromJSON( +export function twoHundredAndNinetyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyTwo' from JSON`, + (x) => TwoHundredAndNinetyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyFive' from JSON`, ); } /** @internal */ export const Current$inboundSchema: z.ZodType = - z.object({ - awsServiceName: types.string(), - configurationId: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - vercelRegion: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + configurationId: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + vercelRegion: types.string(), + }) + ); export function currentFromJSON( jsonString: string, @@ -2442,14 +2641,16 @@ export const UserEventPayloadPrev$inboundSchema: z.ZodType< UserEventPayloadPrev, z.ZodTypeDef, unknown -> = z.object({ - awsServiceName: types.string(), - configurationId: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - vercelRegion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + configurationId: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + vercelRegion: types.string(), + }) +); export function userEventPayloadPrevFromJSON( jsonString: string, @@ -2462,29 +2663,31 @@ export function userEventPayloadPrevFromJSON( } /** @internal */ -export const UserEventPayload291Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload291Scope -> = z.nativeEnum(UserEventPayload291Scope); +export const UserEventPayload294Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload294Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload294Scope)); /** @internal */ -export const TwoHundredAndNinetyOne$inboundSchema: z.ZodType< - TwoHundredAndNinetyOne, +export const TwoHundredAndNinetyFour$inboundSchema: z.ZodType< + TwoHundredAndNinetyFour, z.ZodTypeDef, unknown -> = z.object({ - current: z.lazy(() => Current$inboundSchema), - networkName: types.optional(types.string()), - prev: z.lazy(() => UserEventPayloadPrev$inboundSchema), - scope: UserEventPayload291Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + current: z.lazy(() => Current$inboundSchema), + networkName: types.optional(types.string()), + prev: z.lazy(() => UserEventPayloadPrev$inboundSchema), + scope: UserEventPayload294Scope$inboundSchema, + }) +); -export function twoHundredAndNinetyOneFromJSON( +export function twoHundredAndNinetyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinetyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinetyOne' from JSON`, + (x) => TwoHundredAndNinetyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyFour' from JSON`, ); } @@ -2493,10 +2696,12 @@ export const PayloadPrivateLinkEndpoint$inboundSchema: z.ZodType< PayloadPrivateLinkEndpoint, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function payloadPrivateLinkEndpointFromJSON( jsonString: string, @@ -2509,29 +2714,31 @@ export function payloadPrivateLinkEndpointFromJSON( } /** @internal */ -export const UserEventPayload290Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload290Scope -> = z.nativeEnum(UserEventPayload290Scope); +export const UserEventPayload293Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload293Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload293Scope)); /** @internal */ -export const TwoHundredAndNinety$inboundSchema: z.ZodType< - TwoHundredAndNinety, +export const TwoHundredAndNinetyThree$inboundSchema: z.ZodType< + TwoHundredAndNinetyThree, z.ZodTypeDef, unknown -> = z.object({ - privateLinkEndpoint: z.lazy(() => PayloadPrivateLinkEndpoint$inboundSchema), - projectId: types.string(), - projectName: types.optional(types.string()), - scope: types.optional(UserEventPayload290Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + privateLinkEndpoint: z.lazy(() => PayloadPrivateLinkEndpoint$inboundSchema), + projectId: types.string(), + projectName: types.optional(types.string()), + scope: types.optional(UserEventPayload293Scope$inboundSchema), + }) +); -export function twoHundredAndNinetyFromJSON( +export function twoHundredAndNinetyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndNinety$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNinety' from JSON`, + (x) => TwoHundredAndNinetyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyThree' from JSON`, ); } @@ -2540,14 +2747,16 @@ export const PayloadEndpoint$inboundSchema: z.ZodType< PayloadEndpoint, z.ZodTypeDef, unknown -> = z.object({ - awsServiceName: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - projectId: types.string(), - vercelRegion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + projectId: types.string(), + vercelRegion: types.string(), + }) +); export function payloadEndpointFromJSON( jsonString: string, @@ -2560,28 +2769,30 @@ export function payloadEndpointFromJSON( } /** @internal */ -export const UserEventPayload289Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload289Scope -> = z.nativeEnum(UserEventPayload289Scope); +export const UserEventPayload292Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload292Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload292Scope)); /** @internal */ -export const TwoHundredAndEightyNine$inboundSchema: z.ZodType< - TwoHundredAndEightyNine, +export const TwoHundredAndNinetyTwo$inboundSchema: z.ZodType< + TwoHundredAndNinetyTwo, z.ZodTypeDef, unknown -> = z.object({ - endpoint: z.lazy(() => PayloadEndpoint$inboundSchema), - projectName: types.optional(types.string()), - scope: types.optional(UserEventPayload289Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: z.lazy(() => PayloadEndpoint$inboundSchema), + projectName: types.optional(types.string()), + scope: types.optional(UserEventPayload292Scope$inboundSchema), + }) +); -export function twoHundredAndEightyNineFromJSON( +export function twoHundredAndNinetyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyNine' from JSON`, + (x) => TwoHundredAndNinetyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyTwo' from JSON`, ); } @@ -2590,14 +2801,16 @@ export const Endpoint$inboundSchema: z.ZodType< Endpoint, z.ZodTypeDef, unknown -> = z.object({ - awsServiceName: types.string(), - configurationId: types.string(), - id: types.string(), - name: types.string(), - privateDnsNames: types.optional(z.array(types.string())), - vercelRegion: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + awsServiceName: types.string(), + configurationId: types.string(), + id: types.string(), + name: types.string(), + privateDnsNames: types.optional(z.array(types.string())), + vercelRegion: types.string(), + }) +); export function endpointFromJSON( jsonString: string, @@ -2610,98 +2823,108 @@ export function endpointFromJSON( } /** @internal */ -export const UserEventPayload288Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload288Scope -> = z.nativeEnum(UserEventPayload288Scope); +export const UserEventPayload291Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload291Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload291Scope)); /** @internal */ -export const TwoHundredAndEightyEight$inboundSchema: z.ZodType< - TwoHundredAndEightyEight, +export const TwoHundredAndNinetyOne$inboundSchema: z.ZodType< + TwoHundredAndNinetyOne, z.ZodTypeDef, unknown -> = z.object({ - endpoint: z.lazy(() => Endpoint$inboundSchema), - networkName: types.optional(types.string()), - scope: UserEventPayload288Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: z.lazy(() => Endpoint$inboundSchema), + networkName: types.optional(types.string()), + scope: UserEventPayload291Scope$inboundSchema, + }) +); -export function twoHundredAndEightyEightFromJSON( +export function twoHundredAndNinetyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyEight' from JSON`, + (x) => TwoHundredAndNinetyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinetyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload287ActorType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload287ActorType -> = z.nativeEnum(UserEventPayload287ActorType); +export const UserEventPayload290ActorType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload290ActorType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload290ActorType) +); /** @internal */ -export const TwoHundredAndEightySeven$inboundSchema: z.ZodType< - TwoHundredAndEightySeven, +export const TwoHundredAndNinety$inboundSchema: z.ZodType< + TwoHundredAndNinety, z.ZodTypeDef, unknown -> = z.object({ - previousTeamSuffix: types.nullable(types.string()), - projectCount: types.number(), - reason: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayload287ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousTeamSuffix: types.nullable(types.string()), + projectCount: types.number(), + reason: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayload290ActorType$inboundSchema, + }) +); -export function twoHundredAndEightySevenFromJSON( +export function twoHundredAndNinetyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightySeven' from JSON`, + (x) => TwoHundredAndNinety$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNinety' from JSON`, ); } /** @internal */ -export const TwoHundredAndEightySix$inboundSchema: z.ZodType< - TwoHundredAndEightySix, +export const TwoHundredAndEightyNine$inboundSchema: z.ZodType< + TwoHundredAndEightyNine, z.ZodTypeDef, unknown -> = z.object({ - previewDeploymentSuffix: z.nullable(types.string()).optional(), - previousPreviewDeploymentSuffix: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previewDeploymentSuffix: z.nullable(types.string()).optional(), + previousPreviewDeploymentSuffix: z.nullable(types.string()).optional(), + }) +); -export function twoHundredAndEightySixFromJSON( +export function twoHundredAndEightyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightySix' from JSON`, + (x) => TwoHundredAndEightyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyNine' from JSON`, ); } /** @internal */ -export const TwoHundredAndEightyFive$inboundSchema: z.ZodType< - TwoHundredAndEightyFive, +export const TwoHundredAndEightyEight$inboundSchema: z.ZodType< + TwoHundredAndEightyEight, z.ZodTypeDef, unknown -> = z.object({ - currency: types.optional(types.string()), - enabled: types.optional(types.boolean()), - price: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currency: types.optional(types.string()), + enabled: types.optional(types.boolean()), + price: types.optional(types.number()), + }) +); -export function twoHundredAndEightyFiveFromJSON( +export function twoHundredAndEightyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyFive' from JSON`, + (x) => TwoHundredAndEightyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyEight' from JSON`, ); } @@ -2710,7 +2933,9 @@ export const PayloadGitUserId$inboundSchema: z.ZodType< PayloadGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function payloadGitUserIdFromJSON( jsonString: string, @@ -2723,28 +2948,31 @@ export function payloadGitUserIdFromJSON( } /** @internal */ -export const UserEventPayload284Origin$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload284Origin -> = z.nativeEnum(UserEventPayload284Origin); +export const UserEventPayload287Origin$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload287Origin +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload287Origin)); /** @internal */ export const PayloadJoinedFrom$inboundSchema: z.ZodType< PayloadJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: UserEventPayload284Origin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: UserEventPayload287Origin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function payloadJoinedFromFromJSON( jsonString: string, @@ -2757,21 +2985,23 @@ export function payloadJoinedFromFromJSON( } /** @internal */ -export const UserEventPayload284Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload284Role -> = z.nativeEnum(UserEventPayload284Role); +export const UserEventPayload287Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload287Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload287Role)); /** @internal */ export const PayloadRemovedUsers$inboundSchema: z.ZodType< PayloadRemovedUsers, z.ZodTypeDef, unknown -> = z.object({ - confirmed: types.boolean(), - confirmedAt: types.optional(types.number()), - joinedFrom: types.optional(z.lazy(() => PayloadJoinedFrom$inboundSchema)), - role: UserEventPayload284Role$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + confirmed: types.boolean(), + confirmedAt: types.optional(types.number()), + joinedFrom: types.optional(z.lazy(() => PayloadJoinedFrom$inboundSchema)), + role: UserEventPayload287Role$inboundSchema, + }) +); export function payloadRemovedUsersFromJSON( jsonString: string, @@ -2786,40 +3016,42 @@ export function payloadRemovedUsersFromJSON( /** @internal */ export const UserEventPayloadActorType$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadActorType -> = z.nativeEnum(UserEventPayloadActorType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadActorType)); /** @internal */ -export const TwoHundredAndEightyFour$inboundSchema: z.ZodType< - TwoHundredAndEightyFour, +export const TwoHundredAndEightySeven$inboundSchema: z.ZodType< + TwoHundredAndEightySeven, z.ZodTypeDef, unknown -> = z.object({ - automated: types.optional(types.boolean()), - isDowngrade: types.optional(types.boolean()), - isReactivate: types.optional(types.boolean()), - isTrialUpgrade: types.optional(types.boolean()), - plan: types.string(), - prevPlan: types.optional(types.string()), - priorPlan: types.optional(types.string()), - reason: types.optional(types.string()), - removedMemberCount: types.optional(types.number()), - removedUsers: types.optional( - z.record(z.lazy(() => PayloadRemovedUsers$inboundSchema)), - ), - timestamp: types.optional(types.number()), - userAgent: types.optional(types.string()), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: UserEventPayloadActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + automated: types.optional(types.boolean()), + isDowngrade: types.optional(types.boolean()), + isReactivate: types.optional(types.boolean()), + isTrialUpgrade: types.optional(types.boolean()), + plan: types.string(), + prevPlan: types.optional(types.string()), + priorPlan: types.optional(types.string()), + reason: types.optional(types.string()), + removedMemberCount: types.optional(types.number()), + removedUsers: types.optional( + z.record(z.lazy(() => PayloadRemovedUsers$inboundSchema)), + ), + timestamp: types.optional(types.number()), + userAgent: types.optional(types.string()), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: UserEventPayloadActorType$inboundSchema, + }) +); -export function twoHundredAndEightyFourFromJSON( +export function twoHundredAndEightySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyFour' from JSON`, + (x) => TwoHundredAndEightySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightySeven' from JSON`, ); } @@ -2828,7 +3060,9 @@ export const UserEventPayloadGitUserId$inboundSchema: z.ZodType< UserEventPayloadGitUserId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function userEventPayloadGitUserIdFromJSON( jsonString: string, @@ -2841,28 +3075,31 @@ export function userEventPayloadGitUserIdFromJSON( } /** @internal */ -export const UserEventPayload283Origin$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload283Origin -> = z.nativeEnum(UserEventPayload283Origin); +export const UserEventPayload286Origin$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload286Origin +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload286Origin)); /** @internal */ export const UserEventPayloadJoinedFrom$inboundSchema: z.ZodType< UserEventPayloadJoinedFrom, z.ZodTypeDef, unknown -> = z.object({ - commitId: types.optional(types.string()), - dsyncConnectedAt: types.optional(types.number()), - dsyncUserId: types.optional(types.string()), - gitUserId: types.optional(smartUnion([types.string(), types.number()])), - gitUserLogin: types.optional(types.string()), - idpUserId: types.optional(types.string()), - origin: UserEventPayload283Origin$inboundSchema, - repoId: types.optional(types.string()), - repoPath: types.optional(types.string()), - ssoConnectedAt: types.optional(types.number()), - ssoUserId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitId: types.optional(types.string()), + dsyncConnectedAt: types.optional(types.number()), + dsyncUserId: types.optional(types.string()), + gitUserId: types.optional(smartUnion([types.string(), types.number()])), + gitUserLogin: types.optional(types.string()), + idpUserId: types.optional(types.string()), + origin: UserEventPayload286Origin$inboundSchema, + repoId: types.optional(types.string()), + repoPath: types.optional(types.string()), + ssoConnectedAt: types.optional(types.number()), + ssoIdFingerprint: types.optional(types.string()), + ssoUserId: types.optional(types.string()), + }) +); export function userEventPayloadJoinedFromFromJSON( jsonString: string, @@ -2875,23 +3112,25 @@ export function userEventPayloadJoinedFromFromJSON( } /** @internal */ -export const UserEventPayload283Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload283Role -> = z.nativeEnum(UserEventPayload283Role); +export const UserEventPayload286Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload286Role +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload286Role)); /** @internal */ export const RemovedUsers$inboundSchema: z.ZodType< RemovedUsers, z.ZodTypeDef, unknown -> = z.object({ - confirmed: types.boolean(), - confirmedAt: types.optional(types.number()), - joinedFrom: types.optional( - z.lazy(() => UserEventPayloadJoinedFrom$inboundSchema), - ), - role: UserEventPayload283Role$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + confirmed: types.boolean(), + confirmedAt: types.optional(types.number()), + joinedFrom: types.optional( + z.lazy(() => UserEventPayloadJoinedFrom$inboundSchema), + ), + role: UserEventPayload286Role$inboundSchema, + }) +); export function removedUsersFromJSON( jsonString: string, @@ -2904,44 +3143,48 @@ export function removedUsersFromJSON( } /** @internal */ -export const TwoHundredAndEightyThree$inboundSchema: z.ZodType< - TwoHundredAndEightyThree, +export const TwoHundredAndEightySix$inboundSchema: z.ZodType< + TwoHundredAndEightySix, z.ZodTypeDef, unknown -> = z.object({ - automated: types.optional(types.boolean()), - isDowngrade: types.optional(types.boolean()), - isReactivate: types.optional(types.boolean()), - isTrialUpgrade: types.optional(types.boolean()), - plan: types.string(), - prevPlan: types.optional(types.string()), - priorPlan: types.optional(types.string()), - reason: types.optional(types.string()), - removedMemberCount: types.optional(types.number()), - removedUsers: types.optional( - z.record(z.lazy(() => RemovedUsers$inboundSchema)), - ), - timestamp: types.optional(types.number()), - userAgent: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + automated: types.optional(types.boolean()), + isDowngrade: types.optional(types.boolean()), + isReactivate: types.optional(types.boolean()), + isTrialUpgrade: types.optional(types.boolean()), + plan: types.string(), + prevPlan: types.optional(types.string()), + priorPlan: types.optional(types.string()), + reason: types.optional(types.string()), + removedMemberCount: types.optional(types.number()), + removedUsers: types.optional( + z.record(z.lazy(() => RemovedUsers$inboundSchema)), + ), + timestamp: types.optional(types.number()), + userAgent: types.optional(types.string()), + }) +); -export function twoHundredAndEightyThreeFromJSON( +export function twoHundredAndEightySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyThree' from JSON`, + (x) => TwoHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightySix' from JSON`, ); } /** @internal */ -export const EnvId2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(EnvId2); +export const EnvId2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnvId2)); /** @internal */ export const EnvId$inboundSchema: z.ZodType = - smartUnion([types.string(), EnvId2$inboundSchema]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), EnvId2$inboundSchema]) + ); export function envIdFromJSON( jsonString: string, @@ -2954,38 +3197,42 @@ export function envIdFromJSON( } /** @internal */ -export const UserEventPayload282Next$inboundSchema: z.ZodType< - UserEventPayload282Next, +export const UserEventPayload285Next$inboundSchema: z.ZodType< + UserEventPayload285Next, z.ZodTypeDef, unknown -> = z.object({ - enableBuilds: types.optional(types.boolean()), - enableFunctions: types.optional(types.boolean()), - envId: smartUnion([types.string(), EnvId2$inboundSchema]), - perimeterId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableBuilds: types.optional(types.boolean()), + enableFunctions: types.optional(types.boolean()), + envId: smartUnion([types.string(), EnvId2$inboundSchema]), + perimeterId: types.string(), + }) +); -export function userEventPayload282NextFromJSON( +export function userEventPayload285NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload282Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload282Next' from JSON`, + (x) => UserEventPayload285Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload285Next' from JSON`, ); } /** @internal */ export const UserEventEnvId2$inboundSchema: z.ZodNativeEnum< typeof UserEventEnvId2 -> = z.nativeEnum(UserEventEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventEnvId2)); /** @internal */ export const PayloadEnvId$inboundSchema: z.ZodType< PayloadEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UserEventEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UserEventEnvId2$inboundSchema]) +); export function payloadEnvIdFromJSON( jsonString: string, @@ -2998,46 +3245,50 @@ export function payloadEnvIdFromJSON( } /** @internal */ -export const UserEventPayload282Previous$inboundSchema: z.ZodType< - UserEventPayload282Previous, +export const UserEventPayload285Previous$inboundSchema: z.ZodType< + UserEventPayload285Previous, z.ZodTypeDef, unknown -> = z.object({ - enableBuilds: types.optional(types.boolean()), - enableFunctions: types.optional(types.boolean()), - envId: smartUnion([types.string(), UserEventEnvId2$inboundSchema]), - perimeterId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableBuilds: types.optional(types.boolean()), + enableFunctions: types.optional(types.boolean()), + envId: smartUnion([types.string(), UserEventEnvId2$inboundSchema]), + perimeterId: types.string(), + }) +); -export function userEventPayload282PreviousFromJSON( +export function userEventPayload285PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload282Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload282Previous' from JSON`, + (x) => UserEventPayload285Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload285Previous' from JSON`, ); } /** @internal */ -export const TwoHundredAndEightyTwo$inboundSchema: z.ZodType< - TwoHundredAndEightyTwo, +export const TwoHundredAndEightyFive$inboundSchema: z.ZodType< + TwoHundredAndEightyFive, z.ZodTypeDef, unknown -> = z.object({ - next: z.array(z.lazy(() => UserEventPayload282Next$inboundSchema)), - previous: z.array(z.lazy(() => UserEventPayload282Previous$inboundSchema)), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.array(z.lazy(() => UserEventPayload285Next$inboundSchema)), + previous: z.array(z.lazy(() => UserEventPayload285Previous$inboundSchema)), + projectId: types.string(), + projectName: types.string(), + }) +); -export function twoHundredAndEightyTwoFromJSON( +export function twoHundredAndEightyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyTwo' from JSON`, + (x) => TwoHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyFive' from JSON`, ); } @@ -3046,11 +3297,13 @@ export const PayloadPerimeter$inboundSchema: z.ZodType< PayloadPerimeter, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + version: types.number(), + }) +); export function payloadPerimeterFromJSON( jsonString: string, @@ -3063,22 +3316,24 @@ export function payloadPerimeterFromJSON( } /** @internal */ -export const TwoHundredAndEightyOne$inboundSchema: z.ZodType< - TwoHundredAndEightyOne, +export const TwoHundredAndEightyFour$inboundSchema: z.ZodType< + TwoHundredAndEightyFour, z.ZodTypeDef, unknown -> = z.object({ - perimeter: z.lazy(() => PayloadPerimeter$inboundSchema), - sourceVersion: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + perimeter: z.lazy(() => PayloadPerimeter$inboundSchema), + sourceVersion: types.number(), + }) +); -export function twoHundredAndEightyOneFromJSON( +export function twoHundredAndEightyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEightyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEightyOne' from JSON`, + (x) => TwoHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyFour' from JSON`, ); } @@ -3087,11 +3342,13 @@ export const Perimeter$inboundSchema: z.ZodType< Perimeter, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - version: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + version: types.number(), + }) +); export function perimeterFromJSON( jsonString: string, @@ -3104,38 +3361,44 @@ export function perimeterFromJSON( } /** @internal */ -export const TwoHundredAndEighty$inboundSchema: z.ZodType< - TwoHundredAndEighty, +export const TwoHundredAndEightyThree$inboundSchema: z.ZodType< + TwoHundredAndEightyThree, z.ZodTypeDef, unknown -> = z.object({ - perimeter: z.lazy(() => Perimeter$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + perimeter: z.lazy(() => Perimeter$inboundSchema), + }) +); -export function twoHundredAndEightyFromJSON( +export function twoHundredAndEightyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEighty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEighty' from JSON`, + (x) => TwoHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload279DeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload279DeploymentType -> = z.nativeEnum(UserEventPayload279DeploymentType); +export const UserEventPayload282DeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload282DeploymentType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload282DeploymentType) +); /** @internal */ export const UserEventPayloadPassport$inboundSchema: z.ZodType< UserEventPayloadPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UserEventPayload279DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UserEventPayload282DeploymentType$inboundSchema, + }) +); export function userEventPayloadPassportFromJSON( jsonString: string, @@ -3148,110 +3411,125 @@ export function userEventPayloadPassportFromJSON( } /** @internal */ -export const UserEventPayload279Next$inboundSchema: z.ZodType< - UserEventPayload279Next, +export const UserEventPayload282Next$inboundSchema: z.ZodType< + UserEventPayload282Next, z.ZodTypeDef, unknown -> = z.object({ - passport: z.nullable(z.lazy(() => UserEventPayloadPassport$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passport: z.nullable(z.lazy(() => UserEventPayloadPassport$inboundSchema)) + .optional(), + }) +); -export function userEventPayload279NextFromJSON( +export function userEventPayload282NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload279Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload279Next' from JSON`, + (x) => UserEventPayload282Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload282Next' from JSON`, ); } /** @internal */ -export const UserEventPayload279PreviousDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventPayload279PreviousDeploymentType); +export const UserEventPayload282PreviousDeploymentType$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload282PreviousDeploymentType) + ); /** @internal */ -export const UserEventPayload279Passport$inboundSchema: z.ZodType< - UserEventPayload279Passport, +export const UserEventPayload282Passport$inboundSchema: z.ZodType< + UserEventPayload282Passport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UserEventPayload279PreviousDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UserEventPayload282PreviousDeploymentType$inboundSchema, + }) +); -export function userEventPayload279PassportFromJSON( +export function userEventPayload282PassportFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload279Passport$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload279Passport' from JSON`, + (x) => UserEventPayload282Passport$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload282Passport' from JSON`, ); } /** @internal */ -export const UserEventPayload279Previous$inboundSchema: z.ZodType< - UserEventPayload279Previous, +export const UserEventPayload282Previous$inboundSchema: z.ZodType< + UserEventPayload282Previous, z.ZodTypeDef, unknown -> = z.object({ - passport: z.nullable(z.lazy(() => UserEventPayload279Passport$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passport: z.nullable( + z.lazy(() => UserEventPayload282Passport$inboundSchema), + ).optional(), + }) +); -export function userEventPayload279PreviousFromJSON( +export function userEventPayload282PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload279Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload279Previous' from JSON`, + (x) => UserEventPayload282Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload282Previous' from JSON`, ); } /** @internal */ -export const UserEventPayload279Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload279Scope -> = z.nativeEnum(UserEventPayload279Scope); +export const UserEventPayload282Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload282Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload282Scope)); /** @internal */ -export const TwoHundredAndSeventyNine$inboundSchema: z.ZodType< - TwoHundredAndSeventyNine, +export const TwoHundredAndEightyTwo$inboundSchema: z.ZodType< + TwoHundredAndEightyTwo, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload279Next$inboundSchema), - previous: z.lazy(() => UserEventPayload279Previous$inboundSchema), - scope: types.optional(UserEventPayload279Scope$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload282Next$inboundSchema), + previous: z.lazy(() => UserEventPayload282Previous$inboundSchema), + scope: types.optional(UserEventPayload282Scope$inboundSchema), + }) +); -export function twoHundredAndSeventyNineFromJSON( +export function twoHundredAndEightyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSeventyNine' from JSON`, + (x) => TwoHundredAndEightyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload278DeploymentType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload278DeploymentType -> = z.nativeEnum(UserEventPayload278DeploymentType); +export const UserEventPayload281DeploymentType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload281DeploymentType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload281DeploymentType) +); /** @internal */ export const Passport$inboundSchema: z.ZodType< Passport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UserEventPayload278DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UserEventPayload281DeploymentType$inboundSchema, + }) +); export function passportFromJSON( jsonString: string, @@ -3264,65 +3542,152 @@ export function passportFromJSON( } /** @internal */ -export const UserEventPayload278Next$inboundSchema: z.ZodType< - UserEventPayload278Next, +export const UserEventPayload281Next$inboundSchema: z.ZodType< + UserEventPayload281Next, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passport: z.nullable(z.lazy(() => Passport$inboundSchema)).optional(), + }) +); + +export function userEventPayload281NextFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload281Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload281Next' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload281PreviousDeploymentType$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload281PreviousDeploymentType) + ); + +/** @internal */ +export const PayloadPassport$inboundSchema: z.ZodType< + PayloadPassport, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UserEventPayload281PreviousDeploymentType$inboundSchema, + }) +); + +export function payloadPassportFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadPassport$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadPassport' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload281Previous$inboundSchema: z.ZodType< + UserEventPayload281Previous, z.ZodTypeDef, unknown -> = z.object({ - passport: z.nullable(z.lazy(() => Passport$inboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + passport: z.nullable(z.lazy(() => PayloadPassport$inboundSchema)) + .optional(), + }) +); -export function userEventPayload278NextFromJSON( +export function userEventPayload281PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload278Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload278Next' from JSON`, + (x) => UserEventPayload281Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload281Previous' from JSON`, ); } /** @internal */ -export const UserEventPayload278PreviousDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventPayload278PreviousDeploymentType); +export const TwoHundredAndEightyOne$inboundSchema: z.ZodType< + TwoHundredAndEightyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload281Next$inboundSchema), + previous: z.lazy(() => UserEventPayload281Previous$inboundSchema), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function twoHundredAndEightyOneFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndEightyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEightyOne' from JSON`, + ); +} /** @internal */ -export const PayloadPassport$inboundSchema: z.ZodType< - PayloadPassport, +export const TwoHundredAndEighty$inboundSchema: z.ZodType< + TwoHundredAndEighty, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UserEventPayload278PreviousDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + connectorService: types.string(), + connectorType: types.string(), + emailVerified: types.optional(types.boolean()), + environment: types.string(), + externalIssuer: types.string(), + externalSubject: types.string(), + host: types.string(), + installationId: types.optional(types.string()), + projectId: types.string(), + sessionId: types.string(), + tenantId: types.optional(types.string()), + }) +); -export function payloadPassportFromJSON( +export function twoHundredAndEightyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadPassport$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadPassport' from JSON`, + (x) => TwoHundredAndEighty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEighty' from JSON`, ); } /** @internal */ -export const UserEventPayload278Previous$inboundSchema: z.ZodType< - UserEventPayload278Previous, +export const TwoHundredAndSeventyNine$inboundSchema: z.ZodType< + TwoHundredAndSeventyNine, z.ZodTypeDef, unknown -> = z.object({ - passport: z.nullable(z.lazy(() => PayloadPassport$inboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newName: types.string(), + oldName: types.string(), + }) +); -export function userEventPayload278PreviousFromJSON( +export function twoHundredAndSeventyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload278Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload278Previous' from JSON`, + (x) => TwoHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSeventyNine' from JSON`, ); } @@ -3331,12 +3696,18 @@ export const TwoHundredAndSeventyEight$inboundSchema: z.ZodType< TwoHundredAndSeventyEight, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload278Next$inboundSchema), - previous: z.lazy(() => UserEventPayload278Previous$inboundSchema), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + collectExtraKeys$( + z.object({ + justification: types.string(), + pattern: types.string(), + projectId: types.string(), + projectName: types.string(), + }).catchall(z.any()), + "additionalProperties", + true, + ) +); export function twoHundredAndSeventyEightFromJSON( jsonString: string, @@ -3348,25 +3719,25 @@ export function twoHundredAndSeventyEightFromJSON( ); } +/** @internal */ +export const PayloadKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadKind)); + /** @internal */ export const TwoHundredAndSeventySeven$inboundSchema: z.ZodType< TwoHundredAndSeventySeven, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - connectorService: types.string(), - connectorType: types.string(), - emailVerified: types.optional(types.boolean()), - environment: types.string(), - externalIssuer: types.string(), - externalSubject: types.string(), - host: types.string(), - installationId: types.optional(types.string()), - projectId: types.string(), - sessionId: types.string(), - tenantId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + headerName: types.optional(types.string()), + justification: types.nullable(types.string()), + kind: types.optional(PayloadKind$inboundSchema), + previousStatus: types.string(), + projectId: types.string(), + url: types.optional(types.string()), + }) +); export function twoHundredAndSeventySevenFromJSON( jsonString: string, @@ -3378,15 +3749,23 @@ export function twoHundredAndSeventySevenFromJSON( ); } +/** @internal */ +export const UserEventPayload276Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload276Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload276Type)); + /** @internal */ export const TwoHundredAndSeventySix$inboundSchema: z.ZodType< TwoHundredAndSeventySix, z.ZodTypeDef, unknown -> = z.object({ - newName: types.string(), - oldName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + resourceUrl: types.string(), + type: UserEventPayload276Type$inboundSchema, + }) +); export function twoHundredAndSeventySixFromJSON( jsonString: string, @@ -3398,20 +3777,22 @@ export function twoHundredAndSeventySixFromJSON( ); } +/** @internal */ +export const UserEventPayload275Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload275Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload275Type)); + /** @internal */ export const TwoHundredAndSeventyFive$inboundSchema: z.ZodType< TwoHundredAndSeventyFive, z.ZodTypeDef, unknown -> = collectExtraKeys$( +> = /* @__PURE__ */ lazySchema$(() => z.object({ - justification: types.string(), - pattern: types.string(), + headerName: types.string(), projectId: types.string(), - projectName: types.string(), - }).catchall(z.any()), - "additionalProperties", - true, + type: UserEventPayload275Type$inboundSchema, + }) ); export function twoHundredAndSeventyFiveFromJSON( @@ -3425,22 +3806,22 @@ export function twoHundredAndSeventyFiveFromJSON( } /** @internal */ -export const PayloadKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadKind); +export const UserEventPayloadType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadType)); /** @internal */ export const TwoHundredAndSeventyFour$inboundSchema: z.ZodType< TwoHundredAndSeventyFour, z.ZodTypeDef, unknown -> = z.object({ - headerName: types.optional(types.string()), - justification: types.nullable(types.string()), - kind: types.optional(PayloadKind$inboundSchema), - previousStatus: types.string(), - projectId: types.string(), - url: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + resourceUrl: types.string(), + type: UserEventPayloadType$inboundSchema, + }) +); export function twoHundredAndSeventyFourFromJSON( jsonString: string, @@ -3453,20 +3834,30 @@ export function twoHundredAndSeventyFourFromJSON( } /** @internal */ -export const UserEventPayload273Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload273Type -> = z.nativeEnum(UserEventPayload273Type); +export const ApprovalScope$inboundSchema: z.ZodNativeEnum< + typeof ApprovalScope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ApprovalScope)); + +/** @internal */ +export const UserEventPayloadKind$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadKind +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadKind)); /** @internal */ export const TwoHundredAndSeventyThree$inboundSchema: z.ZodType< TwoHundredAndSeventyThree, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - resourceUrl: types.string(), - type: UserEventPayload273Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + approvalScope: types.optional(ApprovalScope$inboundSchema), + justification: types.string(), + kind: types.optional(UserEventPayloadKind$inboundSchema), + previousStatus: types.string(), + projectId: types.string(), + url: types.string(), + }) +); export function twoHundredAndSeventyThreeFromJSON( jsonString: string, @@ -3478,21 +3869,24 @@ export function twoHundredAndSeventyThreeFromJSON( ); } -/** @internal */ -export const UserEventPayload272Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload272Type -> = z.nativeEnum(UserEventPayload272Type); - /** @internal */ export const TwoHundredAndSeventyTwo$inboundSchema: z.ZodType< TwoHundredAndSeventyTwo, z.ZodTypeDef, unknown -> = z.object({ - headerName: types.string(), - projectId: types.string(), - type: UserEventPayload272Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectSrcCount: types.number(), + connectSrcNormalizationRulesCleared: types.optional(types.boolean()), + connectSrcOriginCount: types.number(), + connectSrcUserNormalizationRuleCount: types.optional(types.number()), + deletedCount: types.number(), + headerCount: types.number(), + projectId: types.string(), + projectName: types.string(), + scriptCount: types.number(), + }) +); export function twoHundredAndSeventyTwoFromJSON( jsonString: string, @@ -3504,21 +3898,19 @@ export function twoHundredAndSeventyTwoFromJSON( ); } -/** @internal */ -export const UserEventPayloadType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadType -> = z.nativeEnum(UserEventPayloadType); - /** @internal */ export const TwoHundredAndSeventyOne$inboundSchema: z.ZodType< TwoHundredAndSeventyOne, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - resourceUrl: types.string(), - type: UserEventPayloadType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + headerName: types.string(), + justification: types.nullable(types.string()), + previousStatus: types.string(), + projectId: types.string(), + }) +); export function twoHundredAndSeventyOneFromJSON( jsonString: string, @@ -3530,29 +3922,19 @@ export function twoHundredAndSeventyOneFromJSON( ); } -/** @internal */ -export const ApprovalScope$inboundSchema: z.ZodNativeEnum< - typeof ApprovalScope -> = z.nativeEnum(ApprovalScope); - -/** @internal */ -export const UserEventPayloadKind$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadKind -> = z.nativeEnum(UserEventPayloadKind); - /** @internal */ export const TwoHundredAndSeventy$inboundSchema: z.ZodType< TwoHundredAndSeventy, z.ZodTypeDef, unknown -> = z.object({ - approvalScope: types.optional(ApprovalScope$inboundSchema), - justification: types.string(), - kind: types.optional(UserEventPayloadKind$inboundSchema), - previousStatus: types.string(), - projectId: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + headerName: types.string(), + justification: types.string(), + previousStatus: types.string(), + projectId: types.string(), + }) +); export function twoHundredAndSeventyFromJSON( jsonString: string, @@ -3564,242 +3946,185 @@ export function twoHundredAndSeventyFromJSON( ); } -/** @internal */ -export const TwoHundredAndSixtyNine$inboundSchema: z.ZodType< - TwoHundredAndSixtyNine, - z.ZodTypeDef, - unknown -> = z.object({ - connectSrcCount: types.number(), - connectSrcNormalizationRulesCleared: types.optional(types.boolean()), - connectSrcOriginCount: types.number(), - connectSrcUserNormalizationRuleCount: types.optional(types.number()), - deletedCount: types.number(), - headerCount: types.number(), - projectId: types.string(), - projectName: types.string(), - scriptCount: types.number(), -}); - -export function twoHundredAndSixtyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndSixtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyNine' from JSON`, - ); -} - -/** @internal */ -export const TwoHundredAndSixtyEight$inboundSchema: z.ZodType< - TwoHundredAndSixtyEight, - z.ZodTypeDef, - unknown -> = z.object({ - headerName: types.string(), - justification: types.nullable(types.string()), - previousStatus: types.string(), - projectId: types.string(), -}); - -export function twoHundredAndSixtyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndSixtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyEight' from JSON`, - ); -} - -/** @internal */ -export const TwoHundredAndSixtySeven$inboundSchema: z.ZodType< - TwoHundredAndSixtySeven, - z.ZodTypeDef, - unknown -> = z.object({ - headerName: types.string(), - justification: types.string(), - previousStatus: types.string(), - projectId: types.string(), -}); - -export function twoHundredAndSixtySevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndSixtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtySeven' from JSON`, - ); -} - /** @internal */ export const EnforcementScope$inboundSchema: z.ZodNativeEnum< typeof EnforcementScope -> = z.nativeEnum(EnforcementScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EnforcementScope)); /** @internal */ export const NewResourceBlockingPolicy$inboundSchema: z.ZodNativeEnum< typeof NewResourceBlockingPolicy -> = z.nativeEnum(NewResourceBlockingPolicy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NewResourceBlockingPolicy)); /** @internal */ -export const UserEventPayload266Next$inboundSchema: z.ZodType< - UserEventPayload266Next, +export const UserEventPayload269Next$inboundSchema: z.ZodType< + UserEventPayload269Next, z.ZodTypeDef, unknown -> = z.object({ - allowUnsafeScriptSrcKeywords: types.boolean(), - computedConnectSrc: types.optional(types.string()), - computedConnectSrcPreview: types.optional(types.string()), - computedScriptSrc: types.optional(types.string()), - computedScriptSrcPreview: types.optional(types.string()), - connectSrcNotificationsEnabled: types.optional(types.boolean()), - enabled: types.boolean(), - enforcementScope: types.optional(EnforcementScope$inboundSchema), - enforcePercentage: types.number(), - mode: types.string(), - newResourceBlockingPolicy: NewResourceBlockingPolicy$inboundSchema, - omitScriptNonce: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowUnsafeScriptSrcKeywords: types.boolean(), + computedConnectSrc: types.optional(types.string()), + computedConnectSrcPreview: types.optional(types.string()), + computedScriptSrc: types.optional(types.string()), + computedScriptSrcPreview: types.optional(types.string()), + connectSrcNotificationsEnabled: types.optional(types.boolean()), + enabled: types.boolean(), + enforcementScope: types.optional(EnforcementScope$inboundSchema), + enforcePercentage: types.number(), + mode: types.string(), + newResourceBlockingPolicy: NewResourceBlockingPolicy$inboundSchema, + omitScriptNonce: types.optional(types.boolean()), + }) +); -export function userEventPayload266NextFromJSON( +export function userEventPayload269NextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload266Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload266Next' from JSON`, + (x) => UserEventPayload269Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload269Next' from JSON`, ); } /** @internal */ export const PayloadEnforcementScope$inboundSchema: z.ZodNativeEnum< typeof PayloadEnforcementScope -> = z.nativeEnum(PayloadEnforcementScope); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadEnforcementScope)); /** @internal */ export const PayloadNewResourceBlockingPolicy$inboundSchema: z.ZodNativeEnum< typeof PayloadNewResourceBlockingPolicy -> = z.nativeEnum(PayloadNewResourceBlockingPolicy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PayloadNewResourceBlockingPolicy) +); /** @internal */ -export const UserEventPayload266Previous$inboundSchema: z.ZodType< - UserEventPayload266Previous, +export const UserEventPayload269Previous$inboundSchema: z.ZodType< + UserEventPayload269Previous, z.ZodTypeDef, unknown -> = z.object({ - allowUnsafeScriptSrcKeywords: types.boolean(), - computedConnectSrc: types.optional(types.string()), - computedConnectSrcPreview: types.optional(types.string()), - computedScriptSrc: types.optional(types.string()), - computedScriptSrcPreview: types.optional(types.string()), - connectSrcNotificationsEnabled: types.optional(types.boolean()), - enabled: types.boolean(), - enforcementScope: types.optional(PayloadEnforcementScope$inboundSchema), - enforcePercentage: types.number(), - mode: types.string(), - newResourceBlockingPolicy: PayloadNewResourceBlockingPolicy$inboundSchema, - omitScriptNonce: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowUnsafeScriptSrcKeywords: types.boolean(), + computedConnectSrc: types.optional(types.string()), + computedConnectSrcPreview: types.optional(types.string()), + computedScriptSrc: types.optional(types.string()), + computedScriptSrcPreview: types.optional(types.string()), + connectSrcNotificationsEnabled: types.optional(types.boolean()), + enabled: types.boolean(), + enforcementScope: types.optional(PayloadEnforcementScope$inboundSchema), + enforcePercentage: types.number(), + mode: types.string(), + newResourceBlockingPolicy: PayloadNewResourceBlockingPolicy$inboundSchema, + omitScriptNonce: types.optional(types.boolean()), + }) +); -export function userEventPayload266PreviousFromJSON( +export function userEventPayload269PreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload266Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload266Previous' from JSON`, + (x) => UserEventPayload269Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload269Previous' from JSON`, ); } /** @internal */ -export const TwoHundredAndSixtySix$inboundSchema: z.ZodType< - TwoHundredAndSixtySix, +export const TwoHundredAndSixtyNine$inboundSchema: z.ZodType< + TwoHundredAndSixtyNine, z.ZodTypeDef, unknown -> = z.object({ - next: z.lazy(() => UserEventPayload266Next$inboundSchema), - previous: types.nullable( - z.lazy(() => UserEventPayload266Previous$inboundSchema), - ), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload269Next$inboundSchema), + previous: types.nullable( + z.lazy(() => UserEventPayload269Previous$inboundSchema), + ), + projectId: types.string(), + }) +); -export function twoHundredAndSixtySixFromJSON( +export function twoHundredAndSixtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtySix' from JSON`, + (x) => TwoHundredAndSixtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyNine' from JSON`, ); } /** @internal */ -export const TwoHundredAndSixtyFive$inboundSchema: z.ZodType< - TwoHundredAndSixtyFive, +export const TwoHundredAndSixtyEight$inboundSchema: z.ZodType< + TwoHundredAndSixtyEight, z.ZodTypeDef, unknown -> = z.object({ - cause: types.string(), - ownerId: types.string(), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cause: types.string(), + ownerId: types.string(), + source: types.string(), + }) +); -export function twoHundredAndSixtyFiveFromJSON( +export function twoHundredAndSixtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyFive' from JSON`, + (x) => TwoHundredAndSixtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyEight' from JSON`, ); } /** @internal */ -export const TwoHundredAndSixtyFour$inboundSchema: z.ZodType< - TwoHundredAndSixtyFour, +export const TwoHundredAndSixtySeven$inboundSchema: z.ZodType< + TwoHundredAndSixtySeven, z.ZodTypeDef, unknown -> = z.object({ - blockReason: types.optional(types.string()), - cause: types.string(), - ownerId: types.string(), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockReason: types.optional(types.string()), + cause: types.string(), + ownerId: types.string(), + source: types.string(), + }) +); -export function twoHundredAndSixtyFourFromJSON( +export function twoHundredAndSixtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyFour' from JSON`, + (x) => TwoHundredAndSixtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtySeven' from JSON`, ); } /** @internal */ -export const TwoHundredAndSixtyThree$inboundSchema: z.ZodType< - TwoHundredAndSixtyThree, +export const TwoHundredAndSixtySix$inboundSchema: z.ZodType< + TwoHundredAndSixtySix, z.ZodTypeDef, unknown -> = z.object({ - cause: types.string(), - ownerId: types.string(), - reason: z.nullable(types.string()).optional(), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cause: types.string(), + ownerId: types.string(), + reason: z.nullable(types.string()).optional(), + source: types.string(), + }) +); -export function twoHundredAndSixtyThreeFromJSON( +export function twoHundredAndSixtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyThree' from JSON`, + (x) => TwoHundredAndSixtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtySix' from JSON`, ); } @@ -3808,9 +4133,11 @@ export const SiftRoute$inboundSchema: z.ZodType< SiftRoute, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function siftRouteFromJSON( jsonString: string, @@ -3823,151 +4150,111 @@ export function siftRouteFromJSON( } /** @internal */ -export const TwoHundredAndSixtyTwo$inboundSchema: z.ZodType< - TwoHundredAndSixtyTwo, +export const TwoHundredAndSixtyFive$inboundSchema: z.ZodType< + TwoHundredAndSixtyFive, z.ZodTypeDef, unknown -> = z.object({ - blockReason: types.optional(types.string()), - cause: types.string(), - ownerId: types.string(), - siftRoute: types.optional(z.lazy(() => SiftRoute$inboundSchema)), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blockReason: types.optional(types.string()), + cause: types.string(), + ownerId: types.string(), + siftRoute: types.optional(z.lazy(() => SiftRoute$inboundSchema)), + source: types.string(), + }) +); -export function twoHundredAndSixtyTwoFromJSON( +export function twoHundredAndSixtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyTwo' from JSON`, + (x) => TwoHundredAndSixtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload261Mode$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload261Mode -> = z.nativeEnum(UserEventPayload261Mode); +export const UserEventPayload264Mode$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload264Mode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload264Mode)); /** @internal */ export const UserEventPayloadPreviousMode$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadPreviousMode -> = z.nativeEnum(UserEventPayloadPreviousMode); - -/** @internal */ -export const TwoHundredAndSixtyOne$inboundSchema: z.ZodType< - TwoHundredAndSixtyOne, - z.ZodTypeDef, - unknown -> = z.object({ - mode: UserEventPayload261Mode$inboundSchema, - organizationId: types.string(), - previousMode: UserEventPayloadPreviousMode$inboundSchema, - teamId: types.string(), - teamName: types.string(), -}); - -export function twoHundredAndSixtyOneFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixtyOne' from JSON`, - ); -} - -/** @internal */ -export const TwoHundredAndSixty$inboundSchema: z.ZodType< - TwoHundredAndSixty, - z.ZodTypeDef, - unknown -> = z.object({ - enabled: types.boolean(), - organizationId: types.string(), - organizationSlug: types.string(), - previousEnabled: types.boolean(), -}); - -export function twoHundredAndSixtyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndSixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixty' from JSON`, - ); -} +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadPreviousMode) +); /** @internal */ -export const TwoHundredAndFiftyNine$inboundSchema: z.ZodType< - TwoHundredAndFiftyNine, +export const TwoHundredAndSixtyFour$inboundSchema: z.ZodType< + TwoHundredAndSixtyFour, z.ZodTypeDef, unknown -> = z.object({ - enforced: types.boolean(), - organizationId: types.string(), - organizationSlug: types.string(), - previousEnforced: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: UserEventPayload264Mode$inboundSchema, + organizationId: types.string(), + previousMode: UserEventPayloadPreviousMode$inboundSchema, + teamId: types.string(), + teamName: types.string(), + }) +); -export function twoHundredAndFiftyNineFromJSON( +export function twoHundredAndSixtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFiftyNine' from JSON`, + (x) => TwoHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyFour' from JSON`, ); } /** @internal */ -export const TwoHundredAndFiftyEight$inboundSchema: z.ZodType< - TwoHundredAndFiftyEight, +export const TwoHundredAndSixtyThree$inboundSchema: z.ZodType< + TwoHundredAndSixtyThree, z.ZodTypeDef, unknown -> = z.object({ - connectionType: types.string(), - organizationId: types.string(), - organizationSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + organizationId: types.string(), + organizationSlug: types.string(), + previousEnabled: types.boolean(), + }) +); -export function twoHundredAndFiftyEightFromJSON( +export function twoHundredAndSixtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFiftyEight' from JSON`, + (x) => TwoHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyThree' from JSON`, ); } /** @internal */ -export const UserEventPayloadDsyncMode$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadDsyncMode -> = z.nativeEnum(UserEventPayloadDsyncMode); - -/** @internal */ -export const UserEventPayload257Next$inboundSchema: z.ZodType< - UserEventPayload257Next, +export const TwoHundredAndSixtyTwo$inboundSchema: z.ZodType< + TwoHundredAndSixtyTwo, z.ZodTypeDef, unknown -> = z.object({ - dsyncMode: UserEventPayloadDsyncMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enforced: types.boolean(), + organizationId: types.string(), + organizationSlug: types.string(), + previousEnforced: types.boolean(), + }) +); -export function userEventPayload257NextFromJSON( +export function twoHundredAndSixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload257Next$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload257Next' from JSON`, + (x) => TwoHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyTwo' from JSON`, ); } - -/** @internal */ -export const PayloadDsyncMode$inboundSchema: z.ZodNativeEnum< - typeof PayloadDsyncMode -> = z.nativeEnum(PayloadDsyncMode); diff --git a/src/models/unauthorized.ts b/src/models/unauthorized.ts index 6e660e09d9..e0560d7ea0 100644 --- a/src/models/unauthorized.ts +++ b/src/models/unauthorized.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import * as types from "../types/primitives.js"; import { VercelError } from "./vercelerror.js"; @@ -43,28 +44,29 @@ export class Unauthorized extends VercelError { } /** @internal */ -export const Code$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Code, -); +export const Code$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Code)); /** @internal */ export const Unauthorized$inboundSchema: z.ZodType< Unauthorized, z.ZodTypeDef, unknown -> = z.object({ - status: types.number(), - code: Code$inboundSchema, - message: types.string(), - reason: types.optional(types.string()), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new Unauthorized(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: types.number(), + code: Code$inboundSchema, + message: types.string(), + reason: types.optional(types.string()), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new Unauthorized(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); diff --git a/src/models/unlinksharedenvvariableop.ts b/src/models/unlinksharedenvvariableop.ts index bdec381cd8..c9a4033624 100644 --- a/src/models/unlinksharedenvvariableop.ts +++ b/src/models/unlinksharedenvvariableop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -41,12 +41,14 @@ export const UnlinkSharedEnvVariableRequest$outboundSchema: z.ZodType< UnlinkSharedEnvVariableRequest$Outbound, z.ZodTypeDef, UnlinkSharedEnvVariableRequest -> = z.object({ - id: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function unlinkSharedEnvVariableRequestToJSON( unlinkSharedEnvVariableRequest: UnlinkSharedEnvVariableRequest, @@ -63,9 +65,11 @@ export const UnlinkSharedEnvVariableResponseBody$inboundSchema: z.ZodType< UnlinkSharedEnvVariableResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function unlinkSharedEnvVariableResponseBodyFromJSON( jsonString: string, diff --git a/src/models/unpauseprojectop.ts b/src/models/unpauseprojectop.ts index 86f4f580b8..c45aee814c 100644 --- a/src/models/unpauseprojectop.ts +++ b/src/models/unpauseprojectop.ts @@ -3,6 +3,7 @@ */ import * as z from "zod/v3"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UnpauseProjectRequest = { /** @@ -31,11 +32,13 @@ export const UnpauseProjectRequest$outboundSchema: z.ZodType< UnpauseProjectRequest$Outbound, z.ZodTypeDef, UnpauseProjectRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function unpauseProjectRequestToJSON( unpauseProjectRequest: UnpauseProjectRequest, diff --git a/src/models/updateaccessgroupop.ts b/src/models/updateaccessgroupop.ts index a18a75869d..34f4ae8842 100644 --- a/src/models/updateaccessgroupop.ts +++ b/src/models/updateaccessgroupop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -113,7 +113,7 @@ export type UpdateAccessGroupResponseBody = { /** @internal */ export const UpdateAccessGroupRole$outboundSchema: z.ZodNativeEnum< typeof UpdateAccessGroupRole -> = z.nativeEnum(UpdateAccessGroupRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateAccessGroupRole)); /** @internal */ export type UpdateAccessGroupProjects$Outbound = { @@ -126,10 +126,12 @@ export const UpdateAccessGroupProjects$outboundSchema: z.ZodType< UpdateAccessGroupProjects$Outbound, z.ZodTypeDef, UpdateAccessGroupProjects -> = z.object({ - projectId: z.string(), - role: z.nullable(UpdateAccessGroupRole$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + role: z.nullable(UpdateAccessGroupRole$outboundSchema), + }) +); export function updateAccessGroupProjectsToJSON( updateAccessGroupProjects: UpdateAccessGroupProjects, @@ -152,13 +154,15 @@ export const UpdateAccessGroupRequestBody$outboundSchema: z.ZodType< UpdateAccessGroupRequestBody$Outbound, z.ZodTypeDef, UpdateAccessGroupRequestBody -> = z.object({ - name: z.string().optional(), - projects: z.array(z.lazy(() => UpdateAccessGroupProjects$outboundSchema)) - .optional(), - membersToAdd: z.array(z.string()).optional(), - membersToRemove: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + projects: z.array(z.lazy(() => UpdateAccessGroupProjects$outboundSchema)) + .optional(), + membersToAdd: z.array(z.string()).optional(), + membersToRemove: z.array(z.string()).optional(), + }) +); export function updateAccessGroupRequestBodyToJSON( updateAccessGroupRequestBody: UpdateAccessGroupRequestBody, @@ -183,16 +187,18 @@ export const UpdateAccessGroupRequest$outboundSchema: z.ZodType< UpdateAccessGroupRequest$Outbound, z.ZodTypeDef, UpdateAccessGroupRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAccessGroupRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateAccessGroupRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAccessGroupRequestToJSON( updateAccessGroupRequest: UpdateAccessGroupRequest, @@ -205,25 +211,29 @@ export function updateAccessGroupRequestToJSON( /** @internal */ export const UpdateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< typeof UpdateAccessGroupEntitlements -> = z.nativeEnum(UpdateAccessGroupEntitlements); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAccessGroupEntitlements) +); /** @internal */ export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType< UpdateAccessGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema), - membersCount: types.number(), - name: types.string(), - projectsCount: types.number(), - teamId: types.string(), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema), + membersCount: types.number(), + name: types.string(), + projectsCount: types.number(), + teamId: types.string(), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + updatedAt: types.string(), + }) +); export function updateAccessGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateaccessgroupprojectop.ts b/src/models/updateaccessgroupprojectop.ts index f6a7ee83c4..979a418ffc 100644 --- a/src/models/updateaccessgroupprojectop.ts +++ b/src/models/updateaccessgroupprojectop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -68,7 +68,9 @@ export type UpdateAccessGroupProjectResponseBody = { /** @internal */ export const UpdateAccessGroupProjectRole$outboundSchema: z.ZodNativeEnum< typeof UpdateAccessGroupProjectRole -> = z.nativeEnum(UpdateAccessGroupProjectRole); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAccessGroupProjectRole) +); /** @internal */ export type UpdateAccessGroupProjectRequestBody$Outbound = { @@ -80,9 +82,11 @@ export const UpdateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< UpdateAccessGroupProjectRequestBody$Outbound, z.ZodTypeDef, UpdateAccessGroupProjectRequestBody -> = z.object({ - role: UpdateAccessGroupProjectRole$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + role: UpdateAccessGroupProjectRole$outboundSchema, + }) +); export function updateAccessGroupProjectRequestBodyToJSON( updateAccessGroupProjectRequestBody: UpdateAccessGroupProjectRequestBody, @@ -108,17 +112,21 @@ export const UpdateAccessGroupProjectRequest$outboundSchema: z.ZodType< UpdateAccessGroupProjectRequest$Outbound, z.ZodTypeDef, UpdateAccessGroupProjectRequest -> = z.object({ - accessGroupIdOrName: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAccessGroupProjectRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupIdOrName: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateAccessGroupProjectRequestBody$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAccessGroupProjectRequestToJSON( updateAccessGroupProjectRequest: UpdateAccessGroupProjectRequest, @@ -132,22 +140,26 @@ export function updateAccessGroupProjectRequestToJSON( /** @internal */ export const UpdateAccessGroupProjectAccessGroupsRole$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAccessGroupProjectAccessGroupsRole); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAccessGroupProjectAccessGroupsRole) + ); /** @internal */ export const UpdateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< UpdateAccessGroupProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accessGroupId: types.string(), - createdAt: types.string(), - projectId: types.string(), - role: UpdateAccessGroupProjectAccessGroupsRole$inboundSchema, - teamId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroupId: types.string(), + createdAt: types.string(), + projectId: types.string(), + role: UpdateAccessGroupProjectAccessGroupsRole$inboundSchema, + teamId: types.string(), + updatedAt: types.string(), + }) +); export function updateAccessGroupProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateaigatewaybyokcredentialop.ts b/src/models/updateaigatewaybyokcredentialop.ts index 21ae9c440d..d666a41ab3 100644 --- a/src/models/updateaigatewaybyokcredentialop.ts +++ b/src/models/updateaigatewaybyokcredentialop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -71,12 +71,14 @@ export const UpdateAiGatewayByokCredentialRequestBody$outboundSchema: z.ZodType< UpdateAiGatewayByokCredentialRequestBody$Outbound, z.ZodTypeDef, UpdateAiGatewayByokCredentialRequestBody -> = z.object({ - name: z.string().optional(), - active: z.boolean().optional(), - zeroDataRetention: z.boolean().optional(), - userId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + active: z.boolean().optional(), + zeroDataRetention: z.boolean().optional(), + userId: z.string().optional(), + }) +); export function updateAiGatewayByokCredentialRequestBodyToJSON( updateAiGatewayByokCredentialRequestBody: @@ -103,19 +105,21 @@ export const UpdateAiGatewayByokCredentialRequest$outboundSchema: z.ZodType< UpdateAiGatewayByokCredentialRequest$Outbound, z.ZodTypeDef, UpdateAiGatewayByokCredentialRequest -> = z.object({ - ownerId: z.string().optional(), - credentialId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateAiGatewayByokCredentialRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownerId: z.string().optional(), + credentialId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateAiGatewayByokCredentialRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAiGatewayByokCredentialRequestToJSON( updateAiGatewayByokCredentialRequest: UpdateAiGatewayByokCredentialRequest, @@ -132,18 +136,20 @@ export const UpdateAiGatewayByokCredentialResponseBody$inboundSchema: z.ZodType< UpdateAiGatewayByokCredentialResponseBody, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - createdAt: types.number(), - credentialId: types.string(), - lastFourChars: types.string(), - name: types.string(), - ownerId: types.string(), - providerSlug: types.string(), - rotatedAt: types.nullable(types.number()), - updatedAt: types.number(), - zeroDataRetention: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + createdAt: types.number(), + credentialId: types.string(), + lastFourChars: types.string(), + name: types.string(), + ownerId: types.string(), + providerSlug: types.string(), + rotatedAt: types.nullable(types.number()), + updatedAt: types.number(), + zeroDataRetention: types.boolean(), + }) +); export function updateAiGatewayByokCredentialResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateaigatewayruleop.ts b/src/models/updateaigatewayruleop.ts index 7275177ba3..05eaba6cc9 100644 --- a/src/models/updateaigatewayruleop.ts +++ b/src/models/updateaigatewayruleop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; /** * Replaces the stored action. For a rewrite rule it must contain `rewriteModel`. @@ -61,10 +62,12 @@ export const UpdateAiGatewayRuleAction$outboundSchema: z.ZodType< UpdateAiGatewayRuleAction$Outbound, z.ZodTypeDef, UpdateAiGatewayRuleAction -> = z.object({ - rewriteModel: z.string().optional(), - reason: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rewriteModel: z.string().optional(), + reason: z.string().optional(), + }) +); export function updateAiGatewayRuleActionToJSON( updateAiGatewayRuleAction: UpdateAiGatewayRuleAction, @@ -87,12 +90,14 @@ export const UpdateAiGatewayRuleRequestBody$outboundSchema: z.ZodType< UpdateAiGatewayRuleRequestBody$Outbound, z.ZodTypeDef, UpdateAiGatewayRuleRequestBody -> = z.object({ - ruleId: z.string(), - enabled: z.boolean().optional(), - description: z.string().optional(), - action: z.lazy(() => UpdateAiGatewayRuleAction$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ruleId: z.string(), + enabled: z.boolean().optional(), + description: z.string().optional(), + action: z.lazy(() => UpdateAiGatewayRuleAction$outboundSchema).optional(), + }) +); export function updateAiGatewayRuleRequestBodyToJSON( updateAiGatewayRuleRequestBody: UpdateAiGatewayRuleRequestBody, @@ -116,16 +121,18 @@ export const UpdateAiGatewayRuleRequest$outboundSchema: z.ZodType< UpdateAiGatewayRuleRequest$Outbound, z.ZodTypeDef, UpdateAiGatewayRuleRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateAiGatewayRuleRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateAiGatewayRuleRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAiGatewayRuleRequestToJSON( updateAiGatewayRuleRequest: UpdateAiGatewayRuleRequest, diff --git a/src/models/updateaigatewayvirtualmodelconfigbyslugop.ts b/src/models/updateaigatewayvirtualmodelconfigbyslugop.ts index 9f71f12b5e..6621429258 100644 --- a/src/models/updateaigatewayvirtualmodelconfigbyslugop.ts +++ b/src/models/updateaigatewayvirtualmodelconfigbyslugop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -340,7 +341,7 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModelsAny$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugModelsAny$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModelsAny - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateAiGatewayVirtualModelConfigBySlugModelsAnyToJSON( updateAiGatewayVirtualModelConfigBySlugModelsAny: @@ -362,7 +363,7 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModelsAll$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugModelsAll$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModelsAll - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateAiGatewayVirtualModelConfigBySlugModelsAllToJSON( updateAiGatewayVirtualModelConfigBySlugModelsAll: @@ -385,7 +386,7 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModelsConditions$outboundSch UpdateAiGatewayVirtualModelConfigBySlugModelsConditions$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModelsConditions - > = z.object({}); + > = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateAiGatewayVirtualModelConfigBySlugModelsConditionsToJSON( updateAiGatewayVirtualModelConfigBySlugModelsConditions: @@ -411,14 +412,14 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModelsAtLeast$outboundSchema UpdateAiGatewayVirtualModelConfigBySlugModelsAtLeast$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModelsAtLeast - > = z.object({ - count: z.number().int(), - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: z.number().int(), + conditions: z.array(z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugModelsConditions$outboundSchema - ), - ), - }); + )), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugModelsAtLeastToJSON( updateAiGatewayVirtualModelConfigBySlugModelsAtLeast: @@ -453,24 +454,22 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModelsWhen$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugModelsWhen$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModelsWhen - > = z.object({ - question: z.string().optional(), - confidenceBelow: z.number().optional(), - probabilityBetween: z.array(z.number()).optional(), - any: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + question: z.string().optional(), + confidenceBelow: z.number().optional(), + probabilityBetween: z.array(z.number()).optional(), + any: z.array(z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugModelsAny$outboundSchema - ), - ).optional(), - all: z.array( - z.lazy(() => + )).optional(), + all: z.array(z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugModelsAll$outboundSchema - ), - ).optional(), - atLeast: z.lazy(() => - UpdateAiGatewayVirtualModelConfigBySlugModelsAtLeast$outboundSchema - ).optional(), - }); + )).optional(), + atLeast: z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugModelsAtLeast$outboundSchema + ).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugModelsWhenToJSON( updateAiGatewayVirtualModelConfigBySlugModelsWhen: @@ -495,12 +494,14 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModels2$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugModels2$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModels2 - > = z.object({ - model: z.string(), - when: z.lazy(() => - UpdateAiGatewayVirtualModelConfigBySlugModelsWhen$outboundSchema - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: z.string(), + when: z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugModelsWhen$outboundSchema + ), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugModels2ToJSON( updateAiGatewayVirtualModelConfigBySlugModels2: @@ -524,10 +525,14 @@ export const UpdateAiGatewayVirtualModelConfigBySlugModels$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugModels$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugModels - > = smartUnion([ - z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugModels2$outboundSchema), - z.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugModels2$outboundSchema + ), + z.string(), + ]) + ); export function updateAiGatewayVirtualModelConfigBySlugModelsToJSON( updateAiGatewayVirtualModelConfigBySlugModels: @@ -542,14 +547,18 @@ export function updateAiGatewayVirtualModelConfigBySlugModelsToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugScope$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugScope); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugScope) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope$outboundSchema: z.ZodNativeEnum< typeof UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope - > = z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigBySlugProviders$Outbound = { @@ -563,11 +572,14 @@ export const UpdateAiGatewayVirtualModelConfigBySlugProviders$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugProviders$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugProviders - > = z.object({ - scope: UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope$outboundSchema - .optional(), - geoRegion: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: + UpdateAiGatewayVirtualModelConfigBySlugAiGatewayScope$outboundSchema + .optional(), + geoRegion: z.string().optional(), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugProvidersToJSON( updateAiGatewayVirtualModelConfigBySlugProviders: @@ -597,16 +609,16 @@ export const UpdateAiGatewayVirtualModelConfigBySlugInferenceRegion$outboundSche UpdateAiGatewayVirtualModelConfigBySlugInferenceRegion$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugInferenceRegion - > = z.object({ - scope: UpdateAiGatewayVirtualModelConfigBySlugScope$outboundSchema - .optional(), - geoRegion: z.string().optional(), - providers: z.record( - z.nullable(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: UpdateAiGatewayVirtualModelConfigBySlugScope$outboundSchema + .optional(), + geoRegion: z.string().optional(), + providers: z.record(z.nullable(z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugProviders$outboundSchema - )), - ).optional(), - }); + ))).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugInferenceRegionToJSON( updateAiGatewayVirtualModelConfigBySlugInferenceRegion: @@ -621,23 +633,31 @@ export function updateAiGatewayVirtualModelConfigBySlugInferenceRegionToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugSort$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugSort); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugSort) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugHas$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugHas); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugHas) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugCaching$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugCaching); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugCaching) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugServiceTier$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugServiceTier); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugServiceTier) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$Outbound = @@ -651,9 +671,11 @@ export const UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$outboundSc UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2 - > = z.object({ - byok: z.record(z.number().int()).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + byok: z.record(z.number().int()).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugProviderTimeouts2ToJSON( updateAiGatewayVirtualModelConfigBySlugProviderTimeouts2: @@ -669,7 +691,9 @@ export function updateAiGatewayVirtualModelConfigBySlugProviderTimeouts2ToJSON( export const UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1$outboundSchema: z.ZodNativeEnum< typeof UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1 - > = z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts$Outbound = @@ -682,12 +706,14 @@ export const UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts$outboundSch UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts - > = smartUnion([ - UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1$outboundSchema, - z.lazy(() => - UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$outboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1$outboundSchema, + z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$outboundSchema + ), + ]) + ); export function updateAiGatewayVirtualModelConfigBySlugProviderTimeoutsToJSON( updateAiGatewayVirtualModelConfigBySlugProviderTimeouts: @@ -701,8 +727,10 @@ export function updateAiGatewayVirtualModelConfigBySlugProviderTimeoutsToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigBySlugSpeed$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugSpeed); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigBySlugSpeed) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigBySlugRequestBody$Outbound = { @@ -745,57 +773,56 @@ export const UpdateAiGatewayVirtualModelConfigBySlugRequestBody$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugRequestBody$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugRequestBody - > = z.object({ - displayName: z.string().optional(), - description: z.string().optional(), - status: z.string().optional(), - modelSlug: z.string().optional(), - models: z.array( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + displayName: z.string().optional(), + description: z.string().optional(), + status: z.string().optional(), + modelSlug: z.string().optional(), + models: z.array(smartUnion([ z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugModels2$outboundSchema ), z.string(), - ]), - ).optional(), - providerOrder: z.array(z.string()).optional(), - providerOnly: z.array(z.string()).optional(), - observabilityTags: z.array(z.string()).optional(), - deleted: z.literal(false).optional(), - providerOptions: z.nullable(z.record(z.record(z.any()))).optional(), - byokCredentialIds: z.nullable(z.array(z.string())).optional(), - inferenceRegion: z.nullable( - z.lazy(() => + ])).optional(), + providerOrder: z.array(z.string()).optional(), + providerOnly: z.array(z.string()).optional(), + observabilityTags: z.array(z.string()).optional(), + deleted: z.literal(false).optional(), + providerOptions: z.nullable(z.record(z.record(z.any()))).optional(), + byokCredentialIds: z.nullable(z.array(z.string())).optional(), + inferenceRegion: z.nullable(z.lazy(() => UpdateAiGatewayVirtualModelConfigBySlugInferenceRegion$outboundSchema - ), - ).optional(), - sort: z.nullable(UpdateAiGatewayVirtualModelConfigBySlugSort$outboundSchema) - .optional(), - has: z.nullable( - z.array(UpdateAiGatewayVirtualModelConfigBySlugHas$outboundSchema), - ).optional(), - caching: z.nullable( - UpdateAiGatewayVirtualModelConfigBySlugCaching$outboundSchema, - ).optional(), - serviceTier: z.nullable( - UpdateAiGatewayVirtualModelConfigBySlugServiceTier$outboundSchema, - ).optional(), - providerTimeouts: z.nullable( - smartUnion([ - UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1$outboundSchema, - z.lazy(() => - UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$outboundSchema - ), - ]), - ).optional(), - zeroDataRetention: z.nullable(z.boolean()).optional(), - hipaaCompliant: z.nullable(z.boolean()).optional(), - disallowPromptTraining: z.nullable(z.boolean()).optional(), - speed: z.nullable( - UpdateAiGatewayVirtualModelConfigBySlugSpeed$outboundSchema, - ).optional(), - allowFallbackFromFast: z.nullable(z.boolean()).optional(), - }); + )).optional(), + sort: z.nullable( + UpdateAiGatewayVirtualModelConfigBySlugSort$outboundSchema, + ).optional(), + has: z.nullable( + z.array(UpdateAiGatewayVirtualModelConfigBySlugHas$outboundSchema), + ).optional(), + caching: z.nullable( + UpdateAiGatewayVirtualModelConfigBySlugCaching$outboundSchema, + ).optional(), + serviceTier: z.nullable( + UpdateAiGatewayVirtualModelConfigBySlugServiceTier$outboundSchema, + ).optional(), + providerTimeouts: z.nullable( + smartUnion([ + UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts1$outboundSchema, + z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugProviderTimeouts2$outboundSchema + ), + ]), + ).optional(), + zeroDataRetention: z.nullable(z.boolean()).optional(), + hipaaCompliant: z.nullable(z.boolean()).optional(), + disallowPromptTraining: z.nullable(z.boolean()).optional(), + speed: z.nullable( + UpdateAiGatewayVirtualModelConfigBySlugSpeed$outboundSchema, + ).optional(), + allowFallbackFromFast: z.nullable(z.boolean()).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigBySlugRequestBodyToJSON( updateAiGatewayVirtualModelConfigBySlugRequestBody: @@ -824,18 +851,20 @@ export const UpdateAiGatewayVirtualModelConfigBySlugRequest$outboundSchema: UpdateAiGatewayVirtualModelConfigBySlugRequest$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigBySlugRequest - > = z.object({ - vmcSlug: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateAiGatewayVirtualModelConfigBySlugRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + vmcSlug: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateAiGatewayVirtualModelConfigBySlugRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function updateAiGatewayVirtualModelConfigBySlugRequestToJSON( updateAiGatewayVirtualModelConfigBySlugRequest: diff --git a/src/models/updateaigatewayvirtualmodelconfigop.ts b/src/models/updateaigatewayvirtualmodelconfigop.ts index 655254f2f8..0777706034 100644 --- a/src/models/updateaigatewayvirtualmodelconfigop.ts +++ b/src/models/updateaigatewayvirtualmodelconfigop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -338,7 +339,7 @@ export const ModelsAny$outboundSchema: z.ZodType< ModelsAny$Outbound, z.ZodTypeDef, ModelsAny -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function modelsAnyToJSON(modelsAny: ModelsAny): string { return JSON.stringify(ModelsAny$outboundSchema.parse(modelsAny)); @@ -352,7 +353,7 @@ export const ModelsAll$outboundSchema: z.ZodType< ModelsAll$Outbound, z.ZodTypeDef, ModelsAll -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function modelsAllToJSON(modelsAll: ModelsAll): string { return JSON.stringify(ModelsAll$outboundSchema.parse(modelsAll)); @@ -366,7 +367,7 @@ export const ModelsConditions$outboundSchema: z.ZodType< ModelsConditions$Outbound, z.ZodTypeDef, ModelsConditions -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function modelsConditionsToJSON( modelsConditions: ModelsConditions, @@ -388,10 +389,12 @@ export const UpdateAiGatewayVirtualModelConfigModelsAtLeast$outboundSchema: UpdateAiGatewayVirtualModelConfigModelsAtLeast$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigModelsAtLeast - > = z.object({ - count: z.number().int(), - conditions: z.array(z.lazy(() => ModelsConditions$outboundSchema)), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + count: z.number().int(), + conditions: z.array(z.lazy(() => ModelsConditions$outboundSchema)), + }) + ); export function updateAiGatewayVirtualModelConfigModelsAtLeastToJSON( updateAiGatewayVirtualModelConfigModelsAtLeast: @@ -419,16 +422,18 @@ export const ModelsWhen$outboundSchema: z.ZodType< ModelsWhen$Outbound, z.ZodTypeDef, ModelsWhen -> = z.object({ - question: z.string().optional(), - confidenceBelow: z.number().optional(), - probabilityBetween: z.array(z.number()).optional(), - any: z.array(z.lazy(() => ModelsAny$outboundSchema)).optional(), - all: z.array(z.lazy(() => ModelsAll$outboundSchema)).optional(), - atLeast: z.lazy(() => - UpdateAiGatewayVirtualModelConfigModelsAtLeast$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + question: z.string().optional(), + confidenceBelow: z.number().optional(), + probabilityBetween: z.array(z.number()).optional(), + any: z.array(z.lazy(() => ModelsAny$outboundSchema)).optional(), + all: z.array(z.lazy(() => ModelsAll$outboundSchema)).optional(), + atLeast: z.lazy(() => + UpdateAiGatewayVirtualModelConfigModelsAtLeast$outboundSchema + ).optional(), + }) +); export function modelsWhenToJSON(modelsWhen: ModelsWhen): string { return JSON.stringify(ModelsWhen$outboundSchema.parse(modelsWhen)); @@ -445,10 +450,12 @@ export const UpdateAiGatewayVirtualModelConfigModels2$outboundSchema: z.ZodType< UpdateAiGatewayVirtualModelConfigModels2$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigModels2 -> = z.object({ - model: z.string(), - when: z.lazy(() => ModelsWhen$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + model: z.string(), + when: z.lazy(() => ModelsWhen$outboundSchema), + }) +); export function updateAiGatewayVirtualModelConfigModels2ToJSON( updateAiGatewayVirtualModelConfigModels2: @@ -471,10 +478,12 @@ export const UpdateAiGatewayVirtualModelConfigModels$outboundSchema: z.ZodType< UpdateAiGatewayVirtualModelConfigModels$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigModels -> = smartUnion([ - z.lazy(() => UpdateAiGatewayVirtualModelConfigModels2$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateAiGatewayVirtualModelConfigModels2$outboundSchema), + z.string(), + ]) +); export function updateAiGatewayVirtualModelConfigModelsToJSON( updateAiGatewayVirtualModelConfigModels: @@ -489,14 +498,17 @@ export function updateAiGatewayVirtualModelConfigModelsToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigScope$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateAiGatewayVirtualModelConfigScope, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigScope) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigAiGatewayScope); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigAiGatewayScope) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigProviders$Outbound = { @@ -510,11 +522,13 @@ export const UpdateAiGatewayVirtualModelConfigProviders$outboundSchema: UpdateAiGatewayVirtualModelConfigProviders$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigProviders - > = z.object({ - scope: UpdateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema - .optional(), - geoRegion: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: UpdateAiGatewayVirtualModelConfigAiGatewayScope$outboundSchema + .optional(), + geoRegion: z.string().optional(), + }) + ); export function updateAiGatewayVirtualModelConfigProvidersToJSON( updateAiGatewayVirtualModelConfigProviders: @@ -542,15 +556,15 @@ export const UpdateAiGatewayVirtualModelConfigInferenceRegion$outboundSchema: UpdateAiGatewayVirtualModelConfigInferenceRegion$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigInferenceRegion - > = z.object({ - scope: UpdateAiGatewayVirtualModelConfigScope$outboundSchema.optional(), - geoRegion: z.string().optional(), - providers: z.record( - z.nullable(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + scope: UpdateAiGatewayVirtualModelConfigScope$outboundSchema.optional(), + geoRegion: z.string().optional(), + providers: z.record(z.nullable(z.lazy(() => UpdateAiGatewayVirtualModelConfigProviders$outboundSchema - )), - ).optional(), - }); + ))).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigInferenceRegionToJSON( updateAiGatewayVirtualModelConfigInferenceRegion: @@ -565,25 +579,31 @@ export function updateAiGatewayVirtualModelConfigInferenceRegionToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigSort$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateAiGatewayVirtualModelConfigSort, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigSort) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigHas$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateAiGatewayVirtualModelConfigHas, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigHas) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigCaching$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigCaching); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigCaching) + ); /** @internal */ export const UpdateAiGatewayVirtualModelConfigServiceTier$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigServiceTier); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigServiceTier) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigProviderTimeouts2$Outbound = { @@ -596,9 +616,11 @@ export const UpdateAiGatewayVirtualModelConfigProviderTimeouts2$outboundSchema: UpdateAiGatewayVirtualModelConfigProviderTimeouts2$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigProviderTimeouts2 - > = z.object({ - byok: z.record(z.number().int()).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + byok: z.record(z.number().int()).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigProviderTimeouts2ToJSON( updateAiGatewayVirtualModelConfigProviderTimeouts2: @@ -613,8 +635,10 @@ export function updateAiGatewayVirtualModelConfigProviderTimeouts2ToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigProviderTimeouts1$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateAiGatewayVirtualModelConfigProviderTimeouts1); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigProviderTimeouts1) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigProviderTimeouts$Outbound = @@ -627,12 +651,14 @@ export const UpdateAiGatewayVirtualModelConfigProviderTimeouts$outboundSchema: UpdateAiGatewayVirtualModelConfigProviderTimeouts$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigProviderTimeouts - > = smartUnion([ - UpdateAiGatewayVirtualModelConfigProviderTimeouts1$outboundSchema, - z.lazy(() => - UpdateAiGatewayVirtualModelConfigProviderTimeouts2$outboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + UpdateAiGatewayVirtualModelConfigProviderTimeouts1$outboundSchema, + z.lazy(() => + UpdateAiGatewayVirtualModelConfigProviderTimeouts2$outboundSchema + ), + ]) + ); export function updateAiGatewayVirtualModelConfigProviderTimeoutsToJSON( updateAiGatewayVirtualModelConfigProviderTimeouts: @@ -647,9 +673,10 @@ export function updateAiGatewayVirtualModelConfigProviderTimeoutsToJSON( /** @internal */ export const UpdateAiGatewayVirtualModelConfigSpeed$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateAiGatewayVirtualModelConfigSpeed, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateAiGatewayVirtualModelConfigSpeed) + ); /** @internal */ export type UpdateAiGatewayVirtualModelConfigRequestBody$Outbound = { @@ -693,54 +720,53 @@ export const UpdateAiGatewayVirtualModelConfigRequestBody$outboundSchema: UpdateAiGatewayVirtualModelConfigRequestBody$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigRequestBody - > = z.object({ - virtualModelSlug: z.string(), - displayName: z.string().optional(), - description: z.string().optional(), - status: z.string().optional(), - modelSlug: z.string().optional(), - models: z.array( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + virtualModelSlug: z.string(), + displayName: z.string().optional(), + description: z.string().optional(), + status: z.string().optional(), + modelSlug: z.string().optional(), + models: z.array(smartUnion([ z.lazy(() => UpdateAiGatewayVirtualModelConfigModels2$outboundSchema), z.string(), - ]), - ).optional(), - providerOrder: z.array(z.string()).optional(), - providerOnly: z.array(z.string()).optional(), - observabilityTags: z.array(z.string()).optional(), - deleted: z.literal(false).optional(), - providerOptions: z.nullable(z.record(z.record(z.any()))).optional(), - byokCredentialIds: z.nullable(z.array(z.string())).optional(), - inferenceRegion: z.nullable( - z.lazy(() => + ])).optional(), + providerOrder: z.array(z.string()).optional(), + providerOnly: z.array(z.string()).optional(), + observabilityTags: z.array(z.string()).optional(), + deleted: z.literal(false).optional(), + providerOptions: z.nullable(z.record(z.record(z.any()))).optional(), + byokCredentialIds: z.nullable(z.array(z.string())).optional(), + inferenceRegion: z.nullable(z.lazy(() => UpdateAiGatewayVirtualModelConfigInferenceRegion$outboundSchema - ), - ).optional(), - sort: z.nullable(UpdateAiGatewayVirtualModelConfigSort$outboundSchema) - .optional(), - has: z.nullable( - z.array(UpdateAiGatewayVirtualModelConfigHas$outboundSchema), - ).optional(), - caching: z.nullable(UpdateAiGatewayVirtualModelConfigCaching$outboundSchema) - .optional(), - serviceTier: z.nullable( - UpdateAiGatewayVirtualModelConfigServiceTier$outboundSchema, - ).optional(), - providerTimeouts: z.nullable( - smartUnion([ - UpdateAiGatewayVirtualModelConfigProviderTimeouts1$outboundSchema, - z.lazy(() => - UpdateAiGatewayVirtualModelConfigProviderTimeouts2$outboundSchema - ), - ]), - ).optional(), - zeroDataRetention: z.nullable(z.boolean()).optional(), - hipaaCompliant: z.nullable(z.boolean()).optional(), - disallowPromptTraining: z.nullable(z.boolean()).optional(), - speed: z.nullable(UpdateAiGatewayVirtualModelConfigSpeed$outboundSchema) - .optional(), - allowFallbackFromFast: z.nullable(z.boolean()).optional(), - }); + )).optional(), + sort: z.nullable(UpdateAiGatewayVirtualModelConfigSort$outboundSchema) + .optional(), + has: z.nullable( + z.array(UpdateAiGatewayVirtualModelConfigHas$outboundSchema), + ).optional(), + caching: z.nullable( + UpdateAiGatewayVirtualModelConfigCaching$outboundSchema, + ).optional(), + serviceTier: z.nullable( + UpdateAiGatewayVirtualModelConfigServiceTier$outboundSchema, + ).optional(), + providerTimeouts: z.nullable( + smartUnion([ + UpdateAiGatewayVirtualModelConfigProviderTimeouts1$outboundSchema, + z.lazy(() => + UpdateAiGatewayVirtualModelConfigProviderTimeouts2$outboundSchema + ), + ]), + ).optional(), + zeroDataRetention: z.nullable(z.boolean()).optional(), + hipaaCompliant: z.nullable(z.boolean()).optional(), + disallowPromptTraining: z.nullable(z.boolean()).optional(), + speed: z.nullable(UpdateAiGatewayVirtualModelConfigSpeed$outboundSchema) + .optional(), + allowFallbackFromFast: z.nullable(z.boolean()).optional(), + }) + ); export function updateAiGatewayVirtualModelConfigRequestBodyToJSON( updateAiGatewayVirtualModelConfigRequestBody: @@ -767,17 +793,19 @@ export const UpdateAiGatewayVirtualModelConfigRequest$outboundSchema: z.ZodType< UpdateAiGatewayVirtualModelConfigRequest$Outbound, z.ZodTypeDef, UpdateAiGatewayVirtualModelConfigRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateAiGatewayVirtualModelConfigRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateAiGatewayVirtualModelConfigRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAiGatewayVirtualModelConfigRequestToJSON( updateAiGatewayVirtualModelConfigRequest: diff --git a/src/models/updateapikeyquotaop.ts b/src/models/updateapikeyquotaop.ts index 5e41d8a6ed..1f23546fc1 100644 --- a/src/models/updateapikeyquotaop.ts +++ b/src/models/updateapikeyquotaop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -221,7 +221,9 @@ export type UpdateApiKeyQuotaResponseBody = { /** @internal */ export const UpdateApiKeyQuotaRefreshPeriod$outboundSchema: z.ZodNativeEnum< typeof UpdateApiKeyQuotaRefreshPeriod -> = z.nativeEnum(UpdateApiKeyQuotaRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateApiKeyQuotaRefreshPeriod) +); /** @internal */ export type UpdateApiKeyQuotaRequestBody$Outbound = { @@ -239,15 +241,17 @@ export const UpdateApiKeyQuotaRequestBody$outboundSchema: z.ZodType< UpdateApiKeyQuotaRequestBody$Outbound, z.ZodTypeDef, UpdateApiKeyQuotaRequestBody -> = z.object({ - limitAmount: z.number().optional(), - includeByokInQuota: z.boolean().optional(), - refreshPeriod: UpdateApiKeyQuotaRefreshPeriod$outboundSchema.optional(), - active: z.boolean().optional(), - archived: z.boolean().optional(), - alertThresholds: z.array(z.number()).optional(), - justification: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + limitAmount: z.number().optional(), + includeByokInQuota: z.boolean().optional(), + refreshPeriod: UpdateApiKeyQuotaRefreshPeriod$outboundSchema.optional(), + active: z.boolean().optional(), + archived: z.boolean().optional(), + alertThresholds: z.array(z.number()).optional(), + justification: z.string().optional(), + }) +); export function updateApiKeyQuotaRequestBodyToJSON( updateApiKeyQuotaRequestBody: UpdateApiKeyQuotaRequestBody, @@ -270,15 +274,17 @@ export const UpdateApiKeyQuotaRequest$outboundSchema: z.ZodType< UpdateApiKeyQuotaRequest$Outbound, z.ZodTypeDef, UpdateApiKeyQuotaRequest -> = z.object({ - apiKeyID: z.string(), - requestBody: z.lazy(() => UpdateApiKeyQuotaRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKeyID: z.string(), + requestBody: z.lazy(() => UpdateApiKeyQuotaRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateApiKeyQuotaRequestToJSON( updateApiKeyQuotaRequest: UpdateApiKeyQuotaRequest, @@ -291,10 +297,12 @@ export function updateApiKeyQuotaRequestToJSON( /** @internal */ export const UpdateApiKeyQuotaAiGatewayResponse500Error$inboundSchema: z.ZodType = - z.object({ - code: types.string(), - message: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function updateApiKeyQuotaAiGatewayResponse500ErrorFromJSON( jsonString: string, @@ -318,33 +326,37 @@ export const UpdateApiKeyQuotaAiGatewayResponse500ResponseBody$inboundSchema: UpdateApiKeyQuotaAiGatewayResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - UpdateApiKeyQuotaAiGatewayResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateApiKeyQuotaAiGatewayResponse500ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + UpdateApiKeyQuotaAiGatewayResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateApiKeyQuotaAiGatewayResponse500ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const UpdateApiKeyQuotaAiGatewayResponseError$inboundSchema: z.ZodType< UpdateApiKeyQuotaAiGatewayResponseError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) +); export function updateApiKeyQuotaAiGatewayResponseErrorFromJSON( jsonString: string, @@ -368,29 +380,35 @@ export const UpdateApiKeyQuotaAiGatewayResponse429ResponseBody$inboundSchema: UpdateApiKeyQuotaAiGatewayResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => UpdateApiKeyQuotaAiGatewayResponseError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateApiKeyQuotaAiGatewayResponse429ResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + UpdateApiKeyQuotaAiGatewayResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateApiKeyQuotaAiGatewayResponse429ResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const UpdateApiKeyQuotaAiGatewayError$inboundSchema: z.ZodType< UpdateApiKeyQuotaAiGatewayError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateApiKeyQuotaAiGatewayErrorFromJSON( jsonString: string, @@ -408,29 +426,33 @@ export const UpdateApiKeyQuotaAiGatewayResponseResponseBody$inboundSchema: UpdateApiKeyQuotaAiGatewayResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => UpdateApiKeyQuotaAiGatewayError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateApiKeyQuotaAiGatewayResponseResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => UpdateApiKeyQuotaAiGatewayError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateApiKeyQuotaAiGatewayResponseResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const UpdateApiKeyQuotaError$inboundSchema: z.ZodType< UpdateApiKeyQuotaError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateApiKeyQuotaErrorFromJSON( jsonString: string, @@ -447,29 +469,33 @@ export const UpdateApiKeyQuotaAiGatewayResponseBody$inboundSchema: z.ZodType< UpdateApiKeyQuotaAiGatewayResponseBody, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => UpdateApiKeyQuotaError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), -}) - .transform((v) => { - return new UpdateApiKeyQuotaAiGatewayResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => UpdateApiKeyQuotaError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateApiKeyQuotaAiGatewayResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) +); /** @internal */ export const UpdateApiKeyQuotaResponseBody$inboundSchema: z.ZodType< UpdateApiKeyQuotaResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apiKey: APIKey$inboundSchema, - quota: APIKeyQuota$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKey: APIKey$inboundSchema, + quota: APIKeyQuota$inboundSchema, + }) +); export function updateApiKeyQuotaResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateattackchallengemodeop.ts b/src/models/updateattackchallengemodeop.ts index 2ef3a932c7..4d54567b37 100644 --- a/src/models/updateattackchallengemodeop.ts +++ b/src/models/updateattackchallengemodeop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -55,10 +55,12 @@ export const UpdateAttackChallengeModeRequestBody2$outboundSchema: z.ZodType< UpdateAttackChallengeModeRequestBody2$Outbound, z.ZodTypeDef, UpdateAttackChallengeModeRequestBody2 -> = z.object({ - projectId: z.string(), - attackModeEnabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + attackModeEnabled: z.boolean(), + }) +); export function updateAttackChallengeModeRequestBody2ToJSON( updateAttackChallengeModeRequestBody2: UpdateAttackChallengeModeRequestBody2, @@ -82,11 +84,13 @@ export const UpdateAttackChallengeModeRequestBody1$outboundSchema: z.ZodType< UpdateAttackChallengeModeRequestBody1$Outbound, z.ZodTypeDef, UpdateAttackChallengeModeRequestBody1 -> = z.object({ - projectId: z.string(), - attackModeEnabled: z.boolean(), - attackModeActiveUntil: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + attackModeEnabled: z.boolean(), + attackModeActiveUntil: z.number(), + }) +); export function updateAttackChallengeModeRequestBody1ToJSON( updateAttackChallengeModeRequestBody1: UpdateAttackChallengeModeRequestBody1, @@ -108,10 +112,12 @@ export const UpdateAttackChallengeModeRequestBody$outboundSchema: z.ZodType< UpdateAttackChallengeModeRequestBody$Outbound, z.ZodTypeDef, UpdateAttackChallengeModeRequestBody -> = smartUnion([ - z.lazy(() => UpdateAttackChallengeModeRequestBody1$outboundSchema), - z.lazy(() => UpdateAttackChallengeModeRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateAttackChallengeModeRequestBody1$outboundSchema), + z.lazy(() => UpdateAttackChallengeModeRequestBody2$outboundSchema), + ]) +); export function updateAttackChallengeModeRequestBodyToJSON( updateAttackChallengeModeRequestBody: UpdateAttackChallengeModeRequestBody, @@ -137,18 +143,20 @@ export const UpdateAttackChallengeModeRequest$outboundSchema: z.ZodType< UpdateAttackChallengeModeRequest$Outbound, z.ZodTypeDef, UpdateAttackChallengeModeRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => UpdateAttackChallengeModeRequestBody1$outboundSchema), - z.lazy(() => UpdateAttackChallengeModeRequestBody2$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => UpdateAttackChallengeModeRequestBody1$outboundSchema), + z.lazy(() => UpdateAttackChallengeModeRequestBody2$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateAttackChallengeModeRequestToJSON( updateAttackChallengeModeRequest: UpdateAttackChallengeModeRequest, @@ -165,10 +173,12 @@ export const UpdateAttackChallengeModeResponseBody$inboundSchema: z.ZodType< UpdateAttackChallengeModeResponseBody, z.ZodTypeDef, unknown -> = z.object({ - attackModeEnabled: types.boolean(), - attackModeUpdatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeEnabled: types.boolean(), + attackModeUpdatedAt: types.number(), + }) +); export function updateAttackChallengeModeResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts b/src/models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts index c5cebfcdff..264d50a755 100644 --- a/src/models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts +++ b/src/models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.ts @@ -3,6 +3,11 @@ */ import * as z from "zod/v3"; +import { + matchesPattern as matchesPattern$, + withinMaxLength as withinMaxLength$, +} from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest = { @@ -39,12 +44,42 @@ export const UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequ UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest$Outbound, z.ZodTypeDef, UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest - > = z.object({ - teamSlug: z.string(), - projectSlug: z.string(), - repositoryName: z.string(), - uuid: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9_-]{0,46}[a-z0-9])?$", + }, + ), + projectSlug: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", 255), + { + message: + "Value must match pattern ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$", + }, + ), + repositoryName: z.string().refine(withinMaxLength$(255), { + message: "Value must be at most 255 characters long", + }).refine( + matchesPattern$("^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", 255), + { + message: + "Value must match pattern ^[a-z0-9]+(?:(?:\\\\.|_|__|-+)[a-z0-9]+)*$", + }, + ), + uuid: z.string().refine(withinMaxLength$(40), { + message: "Value must be at most 40 characters long", + }).refine(matchesPattern$("^[a-f0-9]{40}$", 40), { + message: "Value must match pattern ^[a-f0-9]{40}$", + }), + }) + ); export function updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequestToJSON( updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: diff --git a/src/models/updatecheckop.ts b/src/models/updatecheckop.ts index ad93425175..0360824bc5 100644 --- a/src/models/updatecheckop.ts +++ b/src/models/updatecheckop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -325,17 +325,17 @@ export type UpdateCheckResponseBody = { /** @internal */ export const UpdateCheckStatus$outboundSchema: z.ZodNativeEnum< typeof UpdateCheckStatus -> = z.nativeEnum(UpdateCheckStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateCheckStatus)); /** @internal */ export const UpdateCheckConclusion$outboundSchema: z.ZodNativeEnum< typeof UpdateCheckConclusion -> = z.nativeEnum(UpdateCheckConclusion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateCheckConclusion)); /** @internal */ export const UpdateCheckSource$outboundSchema: z.ZodNativeEnum< typeof UpdateCheckSource -> = z.nativeEnum(UpdateCheckSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateCheckSource)); /** @internal */ export type Fcp$Outbound = { @@ -345,12 +345,14 @@ export type Fcp$Outbound = { }; /** @internal */ -export const Fcp$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckSource$outboundSchema, - }); +export const Fcp$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckSource$outboundSchema, + }) + ); export function fcpToJSON(fcp: Fcp): string { return JSON.stringify(Fcp$outboundSchema.parse(fcp)); @@ -359,7 +361,7 @@ export function fcpToJSON(fcp: Fcp): string { /** @internal */ export const UpdateCheckChecksSource$outboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksSource -> = z.nativeEnum(UpdateCheckChecksSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateCheckChecksSource)); /** @internal */ export type Lcp$Outbound = { @@ -369,12 +371,14 @@ export type Lcp$Outbound = { }; /** @internal */ -export const Lcp$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksSource$outboundSchema, - }); +export const Lcp$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksSource$outboundSchema, + }) + ); export function lcpToJSON(lcp: Lcp): string { return JSON.stringify(Lcp$outboundSchema.parse(lcp)); @@ -383,7 +387,9 @@ export function lcpToJSON(lcp: Lcp): string { /** @internal */ export const UpdateCheckChecksRequestSource$outboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksRequestSource -> = z.nativeEnum(UpdateCheckChecksRequestSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksRequestSource) +); /** @internal */ export type Cls$Outbound = { @@ -393,12 +399,14 @@ export type Cls$Outbound = { }; /** @internal */ -export const Cls$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestSource$outboundSchema, - }); +export const Cls$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestSource$outboundSchema, + }) + ); export function clsToJSON(cls: Cls): string { return JSON.stringify(Cls$outboundSchema.parse(cls)); @@ -406,8 +414,10 @@ export function clsToJSON(cls: Cls): string { /** @internal */ export const UpdateCheckChecksRequestRequestBodySource$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksRequestRequestBodySource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksRequestRequestBodySource) + ); /** @internal */ export type Tbt$Outbound = { @@ -417,12 +427,14 @@ export type Tbt$Outbound = { }; /** @internal */ -export const Tbt$outboundSchema: z.ZodType = z - .object({ - value: z.nullable(z.number()), - previousValue: z.number().optional(), - source: UpdateCheckChecksRequestRequestBodySource$outboundSchema, - }); +export const Tbt$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.nullable(z.number()), + previousValue: z.number().optional(), + source: UpdateCheckChecksRequestRequestBodySource$outboundSchema, + }) + ); export function tbtToJSON(tbt: Tbt): string { return JSON.stringify(Tbt$outboundSchema.parse(tbt)); @@ -430,8 +442,10 @@ export function tbtToJSON(tbt: Tbt): string { /** @internal */ export const UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksRequestRequestBodyOutputSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksRequestRequestBodyOutputSource) + ); /** @internal */ export type VirtualExperienceScore$Outbound = { @@ -445,11 +459,13 @@ export const VirtualExperienceScore$outboundSchema: z.ZodType< VirtualExperienceScore$Outbound, z.ZodTypeDef, VirtualExperienceScore -> = z.object({ - value: z.nullable(z.number().int()), - previousValue: z.number().int().optional(), - source: UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.nullable(z.number().int()), + previousValue: z.number().int().optional(), + source: UpdateCheckChecksRequestRequestBodyOutputSource$outboundSchema, + }) +); export function virtualExperienceScoreToJSON( virtualExperienceScore: VirtualExperienceScore, @@ -473,21 +489,23 @@ export const Metrics$outboundSchema: z.ZodType< Metrics$Outbound, z.ZodTypeDef, Metrics -> = z.object({ - fcp: z.lazy(() => Fcp$outboundSchema), - lcp: z.lazy(() => Lcp$outboundSchema), - cls: z.lazy(() => Cls$outboundSchema), - tbt: z.lazy(() => Tbt$outboundSchema), - virtualExperienceScore: z.lazy(() => VirtualExperienceScore$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - fcp: "FCP", - lcp: "LCP", - cls: "CLS", - tbt: "TBT", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fcp: z.lazy(() => Fcp$outboundSchema), + lcp: z.lazy(() => Lcp$outboundSchema), + cls: z.lazy(() => Cls$outboundSchema), + tbt: z.lazy(() => Tbt$outboundSchema), + virtualExperienceScore: z.lazy(() => VirtualExperienceScore$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + fcp: "FCP", + lcp: "LCP", + cls: "CLS", + tbt: "TBT", + }); + }) +); export function metricsToJSON(metrics: Metrics): string { return JSON.stringify(Metrics$outboundSchema.parse(metrics)); @@ -503,9 +521,11 @@ export const UpdateCheckOutput$outboundSchema: z.ZodType< UpdateCheckOutput$Outbound, z.ZodTypeDef, UpdateCheckOutput -> = z.object({ - metrics: z.lazy(() => Metrics$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: z.lazy(() => Metrics$outboundSchema).optional(), + }) +); export function updateCheckOutputToJSON( updateCheckOutput: UpdateCheckOutput, @@ -531,15 +551,17 @@ export const UpdateCheckRequestBody$outboundSchema: z.ZodType< UpdateCheckRequestBody$Outbound, z.ZodTypeDef, UpdateCheckRequestBody -> = z.object({ - name: z.string().optional(), - path: z.string().optional(), - status: UpdateCheckStatus$outboundSchema.optional(), - conclusion: UpdateCheckConclusion$outboundSchema.optional(), - detailsUrl: z.string().optional(), - output: z.lazy(() => UpdateCheckOutput$outboundSchema).optional(), - externalId: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + path: z.string().optional(), + status: UpdateCheckStatus$outboundSchema.optional(), + conclusion: UpdateCheckConclusion$outboundSchema.optional(), + detailsUrl: z.string().optional(), + output: z.lazy(() => UpdateCheckOutput$outboundSchema).optional(), + externalId: z.string().optional(), + }) +); export function updateCheckRequestBodyToJSON( updateCheckRequestBody: UpdateCheckRequestBody, @@ -563,17 +585,19 @@ export const UpdateCheckRequest$outboundSchema: z.ZodType< UpdateCheckRequest$Outbound, z.ZodTypeDef, UpdateCheckRequest -> = z.object({ - deploymentId: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateCheckRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateCheckRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateCheckRequestToJSON( updateCheckRequest: UpdateCheckRequest, @@ -586,23 +610,29 @@ export function updateCheckRequestToJSON( /** @internal */ export const UpdateCheckChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksConclusion -> = z.nativeEnum(UpdateCheckChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksConclusion) +); /** @internal */ export const UpdateCheckChecksResponseSource$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksResponseSource -> = z.nativeEnum(UpdateCheckChecksResponseSource); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksResponseSource) +); /** @internal */ export const UpdateCheckCLS$inboundSchema: z.ZodType< UpdateCheckCLS, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: UpdateCheckChecksResponseSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: UpdateCheckChecksResponseSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function updateCheckCLSFromJSON( jsonString: string, @@ -617,18 +647,22 @@ export function updateCheckCLSFromJSON( /** @internal */ export const UpdateCheckChecksResponse200Source$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksResponse200Source -> = z.nativeEnum(UpdateCheckChecksResponse200Source); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksResponse200Source) +); /** @internal */ export const UpdateCheckFCP$inboundSchema: z.ZodType< UpdateCheckFCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: UpdateCheckChecksResponse200Source$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: UpdateCheckChecksResponse200Source$inboundSchema, + value: types.nullable(types.number()), + }) +); export function updateCheckFCPFromJSON( jsonString: string, @@ -642,19 +676,23 @@ export function updateCheckFCPFromJSON( /** @internal */ export const UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCheckChecksResponse200ApplicationJSONSource); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksResponse200ApplicationJSONSource) + ); /** @internal */ export const UpdateCheckLCP$inboundSchema: z.ZodType< UpdateCheckLCP, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function updateCheckLCPFromJSON( jsonString: string, @@ -670,8 +708,8 @@ export function updateCheckLCPFromJSON( export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodySource - > = z.nativeEnum( - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCheckChecksResponse200ApplicationJSONResponseBodySource) ); /** @internal */ @@ -679,12 +717,14 @@ export const UpdateCheckTBT$inboundSchema: z.ZodType< UpdateCheckTBT, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function updateCheckTBTFromJSON( jsonString: string, @@ -700,8 +740,10 @@ export function updateCheckTBTFromJSON( export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource - > = z.nativeEnum( - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource, + ) ); /** @internal */ @@ -709,12 +751,14 @@ export const UpdateCheckVirtualExperienceScore$inboundSchema: z.ZodType< UpdateCheckVirtualExperienceScore, z.ZodTypeDef, unknown -> = z.object({ - previousValue: types.optional(types.number()), - source: - UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema, - value: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: types.optional(types.number()), + source: + UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema, + value: types.nullable(types.number()), + }) +); export function updateCheckVirtualExperienceScoreFromJSON( jsonString: string, @@ -731,22 +775,24 @@ export const UpdateCheckMetrics$inboundSchema: z.ZodType< UpdateCheckMetrics, z.ZodTypeDef, unknown -> = z.object({ - CLS: z.lazy(() => UpdateCheckCLS$inboundSchema), - FCP: z.lazy(() => UpdateCheckFCP$inboundSchema), - LCP: z.lazy(() => UpdateCheckLCP$inboundSchema), - TBT: z.lazy(() => UpdateCheckTBT$inboundSchema), - virtualExperienceScore: types.optional( - z.lazy(() => UpdateCheckVirtualExperienceScore$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "CLS": "cls", - "FCP": "fcp", - "LCP": "lcp", - "TBT": "tbt", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + CLS: z.lazy(() => UpdateCheckCLS$inboundSchema), + FCP: z.lazy(() => UpdateCheckFCP$inboundSchema), + LCP: z.lazy(() => UpdateCheckLCP$inboundSchema), + TBT: z.lazy(() => UpdateCheckTBT$inboundSchema), + virtualExperienceScore: types.optional( + z.lazy(() => UpdateCheckVirtualExperienceScore$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "CLS": "cls", + "FCP": "fcp", + "LCP": "lcp", + "TBT": "tbt", + }); + }) +); export function updateCheckMetricsFromJSON( jsonString: string, @@ -763,9 +809,11 @@ export const UpdateCheckChecksOutput$inboundSchema: z.ZodType< UpdateCheckChecksOutput, z.ZodTypeDef, unknown -> = z.object({ - metrics: types.optional(z.lazy(() => UpdateCheckMetrics$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + metrics: types.optional(z.lazy(() => UpdateCheckMetrics$inboundSchema)), + }) +); export function updateCheckChecksOutputFromJSON( jsonString: string, @@ -780,31 +828,33 @@ export function updateCheckChecksOutputFromJSON( /** @internal */ export const UpdateCheckChecksStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateCheckChecksStatus -> = z.nativeEnum(UpdateCheckChecksStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateCheckChecksStatus)); /** @internal */ export const UpdateCheckResponseBody$inboundSchema: z.ZodType< UpdateCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocking: types.boolean(), - completedAt: types.optional(types.number()), - conclusion: types.optional(UpdateCheckChecksConclusion$inboundSchema), - createdAt: types.number(), - deploymentId: types.string(), - detailsUrl: types.optional(types.string()), - externalId: types.optional(types.string()), - id: types.string(), - integrationId: types.string(), - name: types.string(), - output: types.optional(z.lazy(() => UpdateCheckChecksOutput$inboundSchema)), - path: types.optional(types.string()), - rerequestable: types.optional(types.boolean()), - startedAt: types.optional(types.number()), - status: UpdateCheckChecksStatus$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocking: types.boolean(), + completedAt: types.optional(types.number()), + conclusion: types.optional(UpdateCheckChecksConclusion$inboundSchema), + createdAt: types.number(), + deploymentId: types.string(), + detailsUrl: types.optional(types.string()), + externalId: types.optional(types.string()), + id: types.string(), + integrationId: types.string(), + name: types.string(), + output: types.optional(z.lazy(() => UpdateCheckChecksOutput$inboundSchema)), + path: types.optional(types.string()), + rerequestable: types.optional(types.boolean()), + startedAt: types.optional(types.number()), + status: UpdateCheckChecksStatus$inboundSchema, + updatedAt: types.number(), + }) +); export function updateCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateconditionalbypassop.ts b/src/models/updateconditionalbypassop.ts index 221bd65502..ebb9b33cc8 100644 --- a/src/models/updateconditionalbypassop.ts +++ b/src/models/updateconditionalbypassop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -233,16 +233,18 @@ export type UpdateConditionalBypassResponseBody = { export const UpdateConditionalBypassConditionsSecurityRequestRequestBodyType$outboundSchema: z.ZodNativeEnum< typeof UpdateConditionalBypassConditionsSecurityRequestRequestBodyType - > = z.nativeEnum( - UpdateConditionalBypassConditionsSecurityRequestRequestBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateConditionalBypassConditionsSecurityRequestRequestBodyType, + ) ); /** @internal */ export const UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp$outboundSchema: z.ZodNativeEnum< typeof UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp - > = z.nativeEnum( - UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp) ); /** @internal */ @@ -257,13 +259,15 @@ export const UpdateConditionalBypassConditions4$outboundSchema: z.ZodType< UpdateConditionalBypassConditions4$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditions4 -> = z.object({ - type: - UpdateConditionalBypassConditionsSecurityRequestRequestBodyType$outboundSchema, - op: - UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp$outboundSchema, - key: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: + UpdateConditionalBypassConditionsSecurityRequestRequestBodyType$outboundSchema, + op: + UpdateConditionalBypassConditionsSecurityRequestRequestBodyOp$outboundSchema, + key: z.string(), + }) +); export function updateConditionalBypassConditions4ToJSON( updateConditionalBypassConditions4: UpdateConditionalBypassConditions4, @@ -278,12 +282,16 @@ export function updateConditionalBypassConditions4ToJSON( /** @internal */ export const UpdateConditionalBypassConditionsSecurityRequestType$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateConditionalBypassConditionsSecurityRequestType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsSecurityRequestType) + ); /** @internal */ export const UpdateConditionalBypassConditionsSecurityRequestOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateConditionalBypassConditionsSecurityRequestOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsSecurityRequestOp) + ); /** @internal */ export type UpdateConditionalBypassConditions3$Outbound = { @@ -298,12 +306,14 @@ export const UpdateConditionalBypassConditions3$outboundSchema: z.ZodType< UpdateConditionalBypassConditions3$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditions3 -> = z.object({ - type: UpdateConditionalBypassConditionsSecurityRequestType$outboundSchema, - op: UpdateConditionalBypassConditionsSecurityRequestOp$outboundSchema, - key: z.string(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateConditionalBypassConditionsSecurityRequestType$outboundSchema, + op: UpdateConditionalBypassConditionsSecurityRequestOp$outboundSchema, + key: z.string(), + value: z.string(), + }) +); export function updateConditionalBypassConditions3ToJSON( updateConditionalBypassConditions3: UpdateConditionalBypassConditions3, @@ -317,13 +327,17 @@ export function updateConditionalBypassConditions3ToJSON( /** @internal */ export const UpdateConditionalBypassConditionsSecurityType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateConditionalBypassConditionsSecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsSecurityType) + ); /** @internal */ export const UpdateConditionalBypassConditionsSecurityOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateConditionalBypassConditionsSecurityOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsSecurityOp) + ); /** @internal */ export type UpdateConditionalBypassConditions2$Outbound = { @@ -337,11 +351,13 @@ export const UpdateConditionalBypassConditions2$outboundSchema: z.ZodType< UpdateConditionalBypassConditions2$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditions2 -> = z.object({ - type: UpdateConditionalBypassConditionsSecurityType$outboundSchema, - op: UpdateConditionalBypassConditionsSecurityOp$outboundSchema, - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateConditionalBypassConditionsSecurityType$outboundSchema, + op: UpdateConditionalBypassConditionsSecurityOp$outboundSchema, + value: z.string(), + }) +); export function updateConditionalBypassConditions2ToJSON( updateConditionalBypassConditions2: UpdateConditionalBypassConditions2, @@ -355,21 +371,24 @@ export function updateConditionalBypassConditions2ToJSON( /** @internal */ export const UpdateConditionalBypassConditionsType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateConditionalBypassConditionsType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsType) + ); /** @internal */ export const UpdateConditionalBypassConditionsOp$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateConditionalBypassConditionsOp, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsOp) + ); /** @internal */ export const UpdateConditionalBypassConditionsKey$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateConditionalBypassConditionsKey, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassConditionsKey) + ); /** @internal */ export type UpdateConditionalBypassConditions1$Outbound = { @@ -384,12 +403,14 @@ export const UpdateConditionalBypassConditions1$outboundSchema: z.ZodType< UpdateConditionalBypassConditions1$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditions1 -> = z.object({ - type: UpdateConditionalBypassConditionsType$outboundSchema, - op: UpdateConditionalBypassConditionsOp$outboundSchema, - value: z.string(), - key: UpdateConditionalBypassConditionsKey$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateConditionalBypassConditionsType$outboundSchema, + op: UpdateConditionalBypassConditionsOp$outboundSchema, + value: z.string(), + key: UpdateConditionalBypassConditionsKey$outboundSchema.optional(), + }) +); export function updateConditionalBypassConditions1ToJSON( updateConditionalBypassConditions1: UpdateConditionalBypassConditions1, @@ -413,12 +434,14 @@ export const UpdateConditionalBypassConditions$outboundSchema: z.ZodType< UpdateConditionalBypassConditions$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditions -> = smartUnion([ - z.lazy(() => UpdateConditionalBypassConditions3$outboundSchema), - z.lazy(() => UpdateConditionalBypassConditions1$outboundSchema), - z.lazy(() => UpdateConditionalBypassConditions2$outboundSchema), - z.lazy(() => UpdateConditionalBypassConditions4$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateConditionalBypassConditions3$outboundSchema), + z.lazy(() => UpdateConditionalBypassConditions1$outboundSchema), + z.lazy(() => UpdateConditionalBypassConditions2$outboundSchema), + z.lazy(() => UpdateConditionalBypassConditions4$outboundSchema), + ]) +); export function updateConditionalBypassConditionsToJSON( updateConditionalBypassConditions: UpdateConditionalBypassConditions, @@ -445,16 +468,16 @@ export const UpdateConditionalBypassConditionGroup$outboundSchema: z.ZodType< UpdateConditionalBypassConditionGroup$Outbound, z.ZodTypeDef, UpdateConditionalBypassConditionGroup -> = z.object({ - conditions: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(smartUnion([ z.lazy(() => UpdateConditionalBypassConditions3$outboundSchema), z.lazy(() => UpdateConditionalBypassConditions1$outboundSchema), z.lazy(() => UpdateConditionalBypassConditions2$outboundSchema), z.lazy(() => UpdateConditionalBypassConditions4$outboundSchema), - ]), - ), -}); + ])), + }) +); export function updateConditionalBypassConditionGroupToJSON( updateConditionalBypassConditionGroup: UpdateConditionalBypassConditionGroup, @@ -478,13 +501,15 @@ export const UpdateConditionalBypassRequestBody$outboundSchema: z.ZodType< UpdateConditionalBypassRequestBody$Outbound, z.ZodTypeDef, UpdateConditionalBypassRequestBody -> = z.object({ - domain: z.string(), - conditionGroup: z.array( - z.lazy(() => UpdateConditionalBypassConditionGroup$outboundSchema), - ), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + conditionGroup: z.array( + z.lazy(() => UpdateConditionalBypassConditionGroup$outboundSchema), + ), + note: z.string().optional(), + }) +); export function updateConditionalBypassRequestBodyToJSON( updateConditionalBypassRequestBody: UpdateConditionalBypassRequestBody, @@ -509,17 +534,19 @@ export const UpdateConditionalBypassRequest$outboundSchema: z.ZodType< UpdateConditionalBypassRequest$Outbound, z.ZodTypeDef, UpdateConditionalBypassRequest -> = z.object({ - projectId: z.string(), - slug: z.string().optional(), - teamId: z.string().optional(), - requestBody: z.lazy(() => UpdateConditionalBypassRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + slug: z.string().optional(), + teamId: z.string().optional(), + requestBody: z.lazy(() => UpdateConditionalBypassRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateConditionalBypassRequestToJSON( updateConditionalBypassRequest: UpdateConditionalBypassRequest, @@ -534,19 +561,23 @@ export function updateConditionalBypassRequestToJSON( /** @internal */ export const UpdateConditionalBypassOp$inboundSchema: z.ZodNativeEnum< typeof UpdateConditionalBypassOp -> = z.nativeEnum(UpdateConditionalBypassOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateConditionalBypassOp)); /** @internal */ export const UpdateConditionalBypassType$inboundSchema: z.ZodNativeEnum< typeof UpdateConditionalBypassType -> = z.nativeEnum(UpdateConditionalBypassType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateConditionalBypassType) +); /** @internal */ export const UpdateConditionalBypassValue$inboundSchema: z.ZodType< UpdateConditionalBypassValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), z.array(types.string())]) +); export function updateConditionalBypassValueFromJSON( jsonString: string, @@ -563,15 +594,17 @@ export const UpdateConditionalBypassSecurityConditions$inboundSchema: z.ZodType< UpdateConditionalBypassSecurityConditions, z.ZodTypeDef, unknown -> = z.object({ - key: types.optional(types.string()), - neg: types.optional(types.boolean()), - op: UpdateConditionalBypassOp$inboundSchema, - type: UpdateConditionalBypassType$inboundSchema, - value: types.optional( - smartUnion([types.string(), types.number(), z.array(types.string())]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.optional(types.string()), + neg: types.optional(types.boolean()), + op: UpdateConditionalBypassOp$inboundSchema, + type: UpdateConditionalBypassType$inboundSchema, + value: types.optional( + smartUnion([types.string(), types.number(), z.array(types.string())]), + ), + }) +); export function updateConditionalBypassSecurityConditionsFromJSON( jsonString: string, @@ -595,11 +628,13 @@ export const UpdateConditionalBypassSecurityConditionGroup$inboundSchema: UpdateConditionalBypassSecurityConditionGroup, z.ZodTypeDef, unknown - > = z.object({ - conditions: z.array( - z.lazy(() => UpdateConditionalBypassSecurityConditions$inboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => UpdateConditionalBypassSecurityConditions$inboundSchema), + ), + }) + ); export function updateConditionalBypassSecurityConditionGroupFromJSON( jsonString: string, @@ -622,18 +657,20 @@ export const UpdateConditionalBypassResponseBody$inboundSchema: z.ZodType< UpdateConditionalBypassResponseBody, z.ZodTypeDef, unknown -> = z.object({ - condition: types.string(), - conditionGroup: z.array( - z.lazy(() => UpdateConditionalBypassSecurityConditionGroup$inboundSchema), - ), - createdAt: types.string(), - domain: types.string(), - id: types.string(), - note: types.optional(types.string()), - projectId: types.string(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + condition: types.string(), + conditionGroup: z.array( + z.lazy(() => UpdateConditionalBypassSecurityConditionGroup$inboundSchema), + ), + createdAt: types.string(), + domain: types.string(), + id: types.string(), + note: types.optional(types.string()), + projectId: types.string(), + updatedAt: types.string(), + }) +); export function updateConditionalBypassResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateconnectorop.ts b/src/models/updateconnectorop.ts index 633c33f547..b7838cc72d 100644 --- a/src/models/updateconnectorop.ts +++ b/src/models/updateconnectorop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ConnectUpdateConnectorRequest, ConnectUpdateConnectorRequest$Outbound, @@ -12,7 +13,7 @@ import { export type UpdateConnectorRequest = { /** - * Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`. + * Stable connector ID or URL-encoded team- or organization-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`. */ connector: string; /** @@ -39,16 +40,18 @@ export const UpdateConnectorRequest$outboundSchema: z.ZodType< UpdateConnectorRequest$Outbound, z.ZodTypeDef, UpdateConnectorRequest -> = z.object({ - connector: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - connectUpdateConnectorRequest: ConnectUpdateConnectorRequest$outboundSchema, -}).transform((v) => { - return remap$(v, { - connectUpdateConnectorRequest: "ConnectUpdateConnectorRequest", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + connectUpdateConnectorRequest: ConnectUpdateConnectorRequest$outboundSchema, + }).transform((v) => { + return remap$(v, { + connectUpdateConnectorRequest: "ConnectUpdateConnectorRequest", + }); + }) +); export function updateConnectorRequestToJSON( updateConnectorRequest: UpdateConnectorRequest, diff --git a/src/models/updatecustomenvironmentop.ts b/src/models/updatecustomenvironmentop.ts index 083d60d380..edc5c9c08b 100644 --- a/src/models/updatecustomenvironmentop.ts +++ b/src/models/updatecustomenvironmentop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -196,7 +196,9 @@ export type UpdateCustomEnvironmentResponseBody = { /** @internal */ export const UpdateCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof UpdateCustomEnvironmentType -> = z.nativeEnum(UpdateCustomEnvironmentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCustomEnvironmentType) +); /** @internal */ export type UpdateCustomEnvironmentBranchMatcher$Outbound = { @@ -209,10 +211,12 @@ export const UpdateCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< UpdateCustomEnvironmentBranchMatcher$Outbound, z.ZodTypeDef, UpdateCustomEnvironmentBranchMatcher -> = z.object({ - type: UpdateCustomEnvironmentType$outboundSchema, - pattern: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateCustomEnvironmentType$outboundSchema, + pattern: z.string(), + }) +); export function updateCustomEnvironmentBranchMatcherToJSON( updateCustomEnvironmentBranchMatcher: UpdateCustomEnvironmentBranchMatcher, @@ -239,13 +243,15 @@ export const UpdateCustomEnvironmentRequestBody$outboundSchema: z.ZodType< UpdateCustomEnvironmentRequestBody$Outbound, z.ZodTypeDef, UpdateCustomEnvironmentRequestBody -> = z.object({ - slug: z.string().optional(), - description: z.string().optional(), - branchMatcher: z.nullable( - z.lazy(() => UpdateCustomEnvironmentBranchMatcher$outboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string().optional(), + description: z.string().optional(), + branchMatcher: z.nullable( + z.lazy(() => UpdateCustomEnvironmentBranchMatcher$outboundSchema), + ).optional(), + }) +); export function updateCustomEnvironmentRequestBodyToJSON( updateCustomEnvironmentRequestBody: UpdateCustomEnvironmentRequestBody, @@ -271,18 +277,20 @@ export const UpdateCustomEnvironmentRequest$outboundSchema: z.ZodType< UpdateCustomEnvironmentRequest$Outbound, z.ZodTypeDef, UpdateCustomEnvironmentRequest -> = z.object({ - idOrName: z.string(), - environmentSlugOrId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateCustomEnvironmentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + environmentSlugOrId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateCustomEnvironmentRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateCustomEnvironmentRequestToJSON( updateCustomEnvironmentRequest: UpdateCustomEnvironmentRequest, @@ -296,8 +304,10 @@ export function updateCustomEnvironmentRequestToJSON( /** @internal */ export const UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateCustomEnvironmentEnvironmentResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCustomEnvironmentEnvironmentResponseType) + ); /** @internal */ export const UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: @@ -305,10 +315,12 @@ export const UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: UpdateCustomEnvironmentEnvironmentBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema, + }) + ); export function updateCustomEnvironmentEnvironmentBranchMatcherFromJSON( jsonString: string, @@ -331,12 +343,14 @@ export const UpdateCustomEnvironmentVerification$inboundSchema: z.ZodType< UpdateCustomEnvironmentVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function updateCustomEnvironmentVerificationFromJSON( jsonString: string, @@ -354,21 +368,23 @@ export const UpdateCustomEnvironmentDomains$inboundSchema: z.ZodType< UpdateCustomEnvironmentDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => UpdateCustomEnvironmentVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => UpdateCustomEnvironmentVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function updateCustomEnvironmentDomainsFromJSON( jsonString: string, @@ -382,30 +398,35 @@ export function updateCustomEnvironmentDomainsFromJSON( /** @internal */ export const UpdateCustomEnvironmentEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateCustomEnvironmentEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateCustomEnvironmentEnvironmentType) + ); /** @internal */ export const UpdateCustomEnvironmentResponseBody$inboundSchema: z.ZodType< UpdateCustomEnvironmentResponseBody, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => UpdateCustomEnvironmentDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: UpdateCustomEnvironmentEnvironmentType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => + UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema + ), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => UpdateCustomEnvironmentDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: UpdateCustomEnvironmentEnvironmentType$inboundSchema, + updatedAt: types.number(), + }) +); export function updateCustomEnvironmentResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatedeploymentcheckrunop.ts b/src/models/updatedeploymentcheckrunop.ts index 13fa26c4c6..2cc67b7ad1 100644 --- a/src/models/updatedeploymentcheckrunop.ts +++ b/src/models/updatedeploymentcheckrunop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -422,7 +422,9 @@ export type UpdateDeploymentCheckRunResponseBody = /** @internal */ export const UpdateDeploymentCheckRunStatus$outboundSchema: z.ZodNativeEnum< typeof UpdateDeploymentCheckRunStatus -> = z.nativeEnum(UpdateDeploymentCheckRunStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunStatus) +); /** @internal */ export type Output$Outbound = {}; @@ -432,15 +434,15 @@ export const Output$outboundSchema: z.ZodType< Output$Outbound, z.ZodTypeDef, Output -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function outputToJSON(output: Output): string { return JSON.stringify(Output$outboundSchema.parse(output)); } /** @internal */ -export const Conclusion$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Conclusion); +export const Conclusion$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Conclusion)); /** @internal */ export type UpdateDeploymentCheckRunRequestBody$Outbound = { @@ -458,15 +460,17 @@ export const UpdateDeploymentCheckRunRequestBody$outboundSchema: z.ZodType< UpdateDeploymentCheckRunRequestBody$Outbound, z.ZodTypeDef, UpdateDeploymentCheckRunRequestBody -> = z.object({ - externalId: z.string().optional(), - externalUrl: z.string().optional(), - status: UpdateDeploymentCheckRunStatus$outboundSchema.optional(), - output: z.lazy(() => Output$outboundSchema).optional(), - completedAt: z.number().optional(), - conclusion: Conclusion$outboundSchema.optional(), - conclusionText: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalId: z.string().optional(), + externalUrl: z.string().optional(), + status: UpdateDeploymentCheckRunStatus$outboundSchema.optional(), + output: z.lazy(() => Output$outboundSchema).optional(), + completedAt: z.number().optional(), + conclusion: Conclusion$outboundSchema.optional(), + conclusionText: z.string().optional(), + }) +); export function updateDeploymentCheckRunRequestBodyToJSON( updateDeploymentCheckRunRequestBody: UpdateDeploymentCheckRunRequestBody, @@ -492,18 +496,21 @@ export const UpdateDeploymentCheckRunRequest$outboundSchema: z.ZodType< UpdateDeploymentCheckRunRequest$Outbound, z.ZodTypeDef, UpdateDeploymentCheckRunRequest -> = z.object({ - deploymentId: z.string(), - checkRunId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateDeploymentCheckRunRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + checkRunId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateDeploymentCheckRunRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateDeploymentCheckRunRequestToJSON( updateDeploymentCheckRunRequest: UpdateDeploymentCheckRunRequest, @@ -517,14 +524,18 @@ export function updateDeploymentCheckRunRequestToJSON( /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Blocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Blocks) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema: z.ZodNativeEnum< typeof UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion - > = z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundSchema: @@ -532,12 +543,14 @@ export const UpdateDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundS UpdateDeploymentCheckRunResponseBodyChecksV2ExpectationRef, z.ZodTypeDef, unknown - > = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) + ); export function updateDeploymentCheckRunResponseBodyChecksV2ExpectationRefFromJSON( jsonString: string, @@ -557,12 +570,16 @@ export function updateDeploymentCheckRunResponseBodyChecksV2ExpectationRefFromJS /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Requires); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Requires) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Status); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyChecksV2Status) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSchema: @@ -570,12 +587,14 @@ export const UpdateDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSche UpdateDeploymentCheckRunResponseBodyChecksV2TaskSummary, z.ZodTypeDef, unknown - > = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) + ); export function updateDeploymentCheckRunResponseBodyChecksV2TaskSummaryFromJSON( jsonString: string, @@ -596,18 +615,22 @@ export function updateDeploymentCheckRunResponseBodyChecksV2TaskSummaryFromJSON( export const UpdateDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDeploymentCheckRunSourceChecksV2Response200SubKind - > = z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Response200SubKind); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Response200SubKind) + ); /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV22$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSourceChecksV22, z.ZodTypeDef, unknown -> = z.object({ - origin: types.literal("platform"), - subKind: - UpdateDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.literal("platform"), + subKind: + UpdateDeploymentCheckRunSourceChecksV2Response200SubKind$inboundSchema, + }) +); export function updateDeploymentCheckRunSourceChecksV22FromJSON( jsonString: string, @@ -629,20 +652,25 @@ export function updateDeploymentCheckRunSourceChecksV22FromJSON( export const UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind - > = z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind) + ); /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV21$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSourceChecksV21, z.ZodTypeDef, unknown -> = z.object({ - invocationAttempt: types.optional(types.number()), - invocationId: types.string(), - jobDefinitionId: types.string(), - origin: types.literal("config"), - subKind: UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.optional(types.number()), + invocationId: types.string(), + jobDefinitionId: types.string(), + origin: types.literal("config"), + subKind: + UpdateDeploymentCheckRunSourceChecksV2ResponseSubKind$inboundSchema, + }) +); export function updateDeploymentCheckRunSourceChecksV21FromJSON( jsonString: string, @@ -666,10 +694,12 @@ export const UpdateDeploymentCheckRunResponseBodyChecksV2Source$inboundSchema: UpdateDeploymentCheckRunResponseBodyChecksV2Source, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => UpdateDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSourceChecksV22$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSourceChecksV22$inboundSchema), + ]) + ); export function updateDeploymentCheckRunResponseBodyChecksV2SourceFromJSON( jsonString: string, @@ -692,48 +722,48 @@ export const UpdateDeploymentCheckRunResponseBody2$inboundSchema: z.ZodType< UpdateDeploymentCheckRunResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional( - UpdateDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema, - ), - completedAt: types.optional(types.number()), - conclusion: types.optional( - UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + UpdateDeploymentCheckRunResponseBodyChecksV2Blocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional( + UpdateDeploymentCheckRunResponseBodyChecksV2Conclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional(z.lazy(() => UpdateDeploymentCheckRunResponseBodyChecksV2ExpectationRef$inboundSchema + )), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + UpdateDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema, ), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - UpdateDeploymentCheckRunResponseBodyChecksV2Requires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: UpdateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => + startedAt: types.optional(types.number()), + status: UpdateDeploymentCheckRunResponseBodyChecksV2Status$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => UpdateDeploymentCheckRunResponseBodyChecksV2TaskSummary$inboundSchema - ), - ), - timeout: types.number(), - updatedAt: types.number(), - source: z.union([ - z.lazy(() => UpdateDeploymentCheckRunSourceChecksV21$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSourceChecksV22$inboundSchema), - ]), -}); + )), + timeout: types.number(), + updatedAt: types.number(), + source: z.union([ + z.lazy(() => UpdateDeploymentCheckRunSourceChecksV21$inboundSchema), + z.lazy(() => + UpdateDeploymentCheckRunSourceChecksV22$inboundSchema + ), + ]), + }) +); export function updateDeploymentCheckRunResponseBody2FromJSON( jsonString: string, @@ -748,13 +778,17 @@ export function updateDeploymentCheckRunResponseBody2FromJSON( /** @internal */ export const UpdateDeploymentCheckRunResponseBodyBlocks$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyBlocks); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyBlocks) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyConclusion) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyExpectationRef$inboundSchema: @@ -762,12 +796,14 @@ export const UpdateDeploymentCheckRunResponseBodyExpectationRef$inboundSchema: UpdateDeploymentCheckRunResponseBodyExpectationRef, z.ZodTypeDef, unknown - > = z.object({ - invocationAttempt: types.number(), - invocationId: types.string(), - jobDefinitionId: types.string(), - jobRunAttempt: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + invocationAttempt: types.number(), + invocationId: types.string(), + jobDefinitionId: types.string(), + jobRunAttempt: types.number(), + }) + ); export function updateDeploymentCheckRunResponseBodyExpectationRefFromJSON( jsonString: string, @@ -787,13 +823,17 @@ export function updateDeploymentCheckRunResponseBodyExpectationRefFromJSON( /** @internal */ export const UpdateDeploymentCheckRunResponseBodyRequires$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyRequires); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyRequires) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyStatus$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunResponseBodyStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunResponseBodyStatus) + ); /** @internal */ export const UpdateDeploymentCheckRunResponseBodyTaskSummary$inboundSchema: @@ -801,12 +841,14 @@ export const UpdateDeploymentCheckRunResponseBodyTaskSummary$inboundSchema: UpdateDeploymentCheckRunResponseBodyTaskSummary, z.ZodTypeDef, unknown - > = z.object({ - failed: types.number(), - pending: types.number(), - succeeded: types.number(), - total: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: types.number(), + pending: types.number(), + succeeded: types.number(), + total: types.number(), + }) + ); export function updateDeploymentCheckRunResponseBodyTaskSummaryFromJSON( jsonString: string, @@ -826,27 +868,32 @@ export function updateDeploymentCheckRunResponseBodyTaskSummaryFromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV2Origin$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Origin); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Origin) + ); /** @internal */ export const UpdateDeploymentCheckRunSelectionJob$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDeploymentCheckRunSelectionJob, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSelectionJob) + ); /** @internal */ export const UpdateDeploymentCheckRunSelection3$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSelection3, z.ZodTypeDef, unknown -> = z.object({ - failIfNoMatch: types.optional(types.boolean()), - filters: z.array(types.string()), - job: UpdateDeploymentCheckRunSelectionJob$inboundSchema, - kind: types.literal("turborepo"), - task: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failIfNoMatch: types.optional(types.boolean()), + filters: z.array(types.string()), + job: UpdateDeploymentCheckRunSelectionJob$inboundSchema, + kind: types.literal("turborepo"), + task: types.string(), + }) +); export function updateDeploymentCheckRunSelection3FromJSON( jsonString: string, @@ -864,9 +911,11 @@ export const UpdateDeploymentCheckRunSelection2$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSelection2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("deployment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("deployment"), + }) +); export function updateDeploymentCheckRunSelection2FromJSON( jsonString: string, @@ -884,9 +933,11 @@ export const UpdateDeploymentCheckRunSelection1$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSelection1, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("invocation"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("invocation"), + }) +); export function updateDeploymentCheckRunSelection1FromJSON( jsonString: string, @@ -904,11 +955,13 @@ export const UpdateDeploymentCheckRunSourceSelection$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSourceSelection, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDeploymentCheckRunSelection1$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSelection2$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSelection3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDeploymentCheckRunSelection1$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSelection2$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSelection3$inboundSchema), + ]) +); export function updateDeploymentCheckRunSourceSelectionFromJSON( jsonString: string, @@ -928,23 +981,27 @@ export function updateDeploymentCheckRunSourceSelectionFromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunSourceChecksV2SubKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2SubKind) + ); /** @internal */ export const UpdateDeploymentCheckRunSource5$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSource5, z.ZodTypeDef, unknown -> = z.object({ - origin: UpdateDeploymentCheckRunSourceChecksV2Origin$inboundSchema, - selection: z.union([ - z.lazy(() => UpdateDeploymentCheckRunSelection1$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSelection2$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSelection3$inboundSchema), - ]), - subKind: UpdateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: UpdateDeploymentCheckRunSourceChecksV2Origin$inboundSchema, + selection: z.union([ + z.lazy(() => UpdateDeploymentCheckRunSelection1$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSelection2$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSelection3$inboundSchema), + ]), + subKind: UpdateDeploymentCheckRunSourceChecksV2SubKind$inboundSchema, + }) +); export function updateDeploymentCheckRunSource5FromJSON( jsonString: string, @@ -958,25 +1015,31 @@ export function updateDeploymentCheckRunSource5FromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceOrigin$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDeploymentCheckRunSourceOrigin, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceOrigin) + ); /** @internal */ export const UpdateDeploymentCheckRunSourceSubKind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDeploymentCheckRunSourceSubKind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceSubKind) + ); /** @internal */ export const UpdateDeploymentCheckRunSource4$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSource4, z.ZodTypeDef, unknown -> = z.object({ - origin: types.optional(UpdateDeploymentCheckRunSourceOrigin$inboundSchema), - subKind: types.optional(UpdateDeploymentCheckRunSourceSubKind$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: types.optional(UpdateDeploymentCheckRunSourceOrigin$inboundSchema), + subKind: types.optional( + UpdateDeploymentCheckRunSourceSubKind$inboundSchema, + ), + }) +); export function updateDeploymentCheckRunSource4FromJSON( jsonString: string, @@ -990,25 +1053,30 @@ export function updateDeploymentCheckRunSource4FromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunSourceChecksV2ResponseKind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2ResponseKind) + ); /** @internal */ export const UpdateDeploymentCheckRunSourceProvider$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDeploymentCheckRunSourceProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceProvider) + ); /** @internal */ export const UpdateDeploymentCheckRunSource3$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: UpdateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, - provider: UpdateDeploymentCheckRunSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: UpdateDeploymentCheckRunSourceChecksV2ResponseKind$inboundSchema, + provider: UpdateDeploymentCheckRunSourceProvider$inboundSchema, + }) +); export function updateDeploymentCheckRunSource3FromJSON( jsonString: string, @@ -1022,18 +1090,22 @@ export function updateDeploymentCheckRunSource3FromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceChecksV2Kind$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Kind); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceChecksV2Kind) + ); /** @internal */ export const UpdateDeploymentCheckRunSource2$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: UpdateDeploymentCheckRunSourceChecksV2Kind$inboundSchema, - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: UpdateDeploymentCheckRunSourceChecksV2Kind$inboundSchema, + webhookId: types.optional(types.string()), + }) +); export function updateDeploymentCheckRunSource2FromJSON( jsonString: string, @@ -1048,20 +1120,24 @@ export function updateDeploymentCheckRunSource2FromJSON( /** @internal */ export const UpdateDeploymentCheckRunSourceKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDeploymentCheckRunSourceKind -> = z.nativeEnum(UpdateDeploymentCheckRunSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDeploymentCheckRunSourceKind) +); /** @internal */ export const UpdateDeploymentCheckRunSource1$inboundSchema: z.ZodType< UpdateDeploymentCheckRunSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: UpdateDeploymentCheckRunSourceKind$inboundSchema, - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: UpdateDeploymentCheckRunSourceKind$inboundSchema, + resourceId: types.optional(types.string()), + }) +); export function updateDeploymentCheckRunSource1FromJSON( jsonString: string, @@ -1076,13 +1152,15 @@ export function updateDeploymentCheckRunSource1FromJSON( /** @internal */ export const UpdateDeploymentCheckRunResponseBodySource$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => UpdateDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource5$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource4$inboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource3$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource5$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource4$inboundSchema), + ]) + ); export function updateDeploymentCheckRunResponseBodySourceFromJSON( jsonString: string, @@ -1105,50 +1183,52 @@ export const UpdateDeploymentCheckRunResponseBody1$inboundSchema: z.ZodType< UpdateDeploymentCheckRunResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - blocks: types.optional( - UpdateDeploymentCheckRunResponseBodyBlocks$inboundSchema, - ), - completedAt: types.optional(types.number()), - conclusion: types.optional( - UpdateDeploymentCheckRunResponseBodyConclusion$inboundSchema, - ), - conclusionText: types.optional(types.string()), - createdAt: types.number(), - deploymentId: types.string(), - expectationRef: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: types.optional( + UpdateDeploymentCheckRunResponseBodyBlocks$inboundSchema, + ), + completedAt: types.optional(types.number()), + conclusion: types.optional( + UpdateDeploymentCheckRunResponseBodyConclusion$inboundSchema, + ), + conclusionText: types.optional(types.string()), + createdAt: types.number(), + deploymentId: types.string(), + expectationRef: types.optional(z.lazy(() => UpdateDeploymentCheckRunResponseBodyExpectationRef$inboundSchema + )), + expectationRevision: types.optional(types.number()), + externalId: types.optional(types.string()), + externalUrl: types.optional(types.string()), + id: types.string(), + name: types.string(), + output: types.optional(z.record(z.any())), + ownerId: types.string(), + projectId: types.optional(types.string()), + requires: types.optional( + UpdateDeploymentCheckRunResponseBodyRequires$inboundSchema, ), - ), - expectationRevision: types.optional(types.number()), - externalId: types.optional(types.string()), - externalUrl: types.optional(types.string()), - id: types.string(), - name: types.string(), - output: types.optional(z.record(z.any())), - ownerId: types.string(), - projectId: types.optional(types.string()), - requires: types.optional( - UpdateDeploymentCheckRunResponseBodyRequires$inboundSchema, - ), - startedAt: types.optional(types.number()), - status: UpdateDeploymentCheckRunResponseBodyStatus$inboundSchema, - targets: types.optional(z.array(types.string())), - taskSummary: types.optional( - z.lazy(() => UpdateDeploymentCheckRunResponseBodyTaskSummary$inboundSchema), - ), - timeout: types.number(), - updatedAt: types.number(), - checkId: types.string(), - source: smartUnion([ - z.lazy(() => UpdateDeploymentCheckRunSource1$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource3$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource5$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource2$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunSource4$inboundSchema), - ]), -}); + startedAt: types.optional(types.number()), + status: UpdateDeploymentCheckRunResponseBodyStatus$inboundSchema, + targets: types.optional(z.array(types.string())), + taskSummary: types.optional(z.lazy(() => + UpdateDeploymentCheckRunResponseBodyTaskSummary$inboundSchema + )), + timeout: types.number(), + updatedAt: types.number(), + checkId: types.string(), + source: smartUnion([ + z.lazy(() => UpdateDeploymentCheckRunSource1$inboundSchema), + z.lazy(() => + UpdateDeploymentCheckRunSource3$inboundSchema + ), + z.lazy(() => UpdateDeploymentCheckRunSource5$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource2$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunSource4$inboundSchema), + ]), + }) +); export function updateDeploymentCheckRunResponseBody1FromJSON( jsonString: string, @@ -1166,10 +1246,12 @@ export const UpdateDeploymentCheckRunResponseBody$inboundSchema: z.ZodType< UpdateDeploymentCheckRunResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateDeploymentCheckRunResponseBody1$inboundSchema), - z.lazy(() => UpdateDeploymentCheckRunResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDeploymentCheckRunResponseBody1$inboundSchema), + z.lazy(() => UpdateDeploymentCheckRunResponseBody2$inboundSchema), + ]) +); export function updateDeploymentCheckRunResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatedomainautorenewop.ts b/src/models/updatedomainautorenewop.ts index 5b99f0d5f3..7717d3ec3f 100644 --- a/src/models/updatedomainautorenewop.ts +++ b/src/models/updatedomainautorenewop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { @@ -66,9 +66,11 @@ export const UpdateDomainAutoRenewRequestBody$outboundSchema: z.ZodType< UpdateDomainAutoRenewRequestBody$Outbound, z.ZodTypeDef, UpdateDomainAutoRenewRequestBody -> = z.object({ - autoRenew: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: z.boolean(), + }) +); export function updateDomainAutoRenewRequestBodyToJSON( updateDomainAutoRenewRequestBody: UpdateDomainAutoRenewRequestBody, @@ -92,15 +94,17 @@ export const UpdateDomainAutoRenewRequest$outboundSchema: z.ZodType< UpdateDomainAutoRenewRequest$Outbound, z.ZodTypeDef, UpdateDomainAutoRenewRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - requestBody: z.lazy(() => UpdateDomainAutoRenewRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => UpdateDomainAutoRenewRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateDomainAutoRenewRequestToJSON( updateDomainAutoRenewRequest: UpdateDomainAutoRenewRequest, @@ -118,12 +122,14 @@ export const UpdateDomainAutoRenewDomainsRegistrarResponseBody$inboundSchema: UpdateDomainAutoRenewDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function updateDomainAutoRenewDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -146,12 +152,14 @@ export const UpdateDomainAutoRenewResponseBody$inboundSchema: z.ZodType< UpdateDomainAutoRenewResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - DomainAlreadyRenewing$inboundSchema, - DomainNotRenewable$inboundSchema, - DomainNotRegistered$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + DomainAlreadyRenewing$inboundSchema, + DomainNotRenewable$inboundSchema, + DomainNotRegistered$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) +); export function updateDomainAutoRenewResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatedomainnameserversop.ts b/src/models/updatedomainnameserversop.ts index 01910ea8f8..511a0201ee 100644 --- a/src/models/updatedomainnameserversop.ts +++ b/src/models/updatedomainnameserversop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; import { @@ -56,9 +56,11 @@ export const UpdateDomainNameserversRequestBody$outboundSchema: z.ZodType< UpdateDomainNameserversRequestBody$Outbound, z.ZodTypeDef, UpdateDomainNameserversRequestBody -> = z.object({ - nameservers: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nameservers: z.array(z.string()), + }) +); export function updateDomainNameserversRequestBodyToJSON( updateDomainNameserversRequestBody: UpdateDomainNameserversRequestBody, @@ -82,15 +84,19 @@ export const UpdateDomainNameserversRequest$outboundSchema: z.ZodType< UpdateDomainNameserversRequest$Outbound, z.ZodTypeDef, UpdateDomainNameserversRequest -> = z.object({ - domain: z.string(), - teamId: z.string().optional(), - requestBody: z.lazy(() => UpdateDomainNameserversRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => + UpdateDomainNameserversRequestBody$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateDomainNameserversRequestToJSON( updateDomainNameserversRequest: UpdateDomainNameserversRequest, @@ -108,12 +114,14 @@ export const UpdateDomainNameserversDomainsRegistrarResponseBody$inboundSchema: UpdateDomainNameserversDomainsRegistrarResponseBody, z.ZodTypeDef, unknown - > = z.union([ - Forbidden$inboundSchema, - NotAuthorizedForScope$inboundSchema.and( - z.object({ code: z.literal("not_authorized_for_scope") }), - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + Forbidden$inboundSchema, + NotAuthorizedForScope$inboundSchema.and( + z.object({ code: z.literal("not_authorized_for_scope") }), + ), + ]) + ); export function updateDomainNameserversDomainsRegistrarResponseBodyFromJSON( jsonString: string, @@ -136,10 +144,12 @@ export const UpdateDomainNameserversResponseBody$inboundSchema: z.ZodType< UpdateDomainNameserversResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - DomainNotRegistered$inboundSchema, - HttpApiDecodeError$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + DomainNotRegistered$inboundSchema, + HttpApiDecodeError$inboundSchema, + ]) +); export function updateDomainNameserversResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatedrainop.ts b/src/models/updatedrainop.ts index d3a00e9597..b46d8d3096 100644 --- a/src/models/updatedrainop.ts +++ b/src/models/updatedrainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1121,7 +1121,7 @@ export type UpdateDrainResponseBody = /** @internal */ export const UpdateDrainProjects$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainProjects -> = z.nativeEnum(UpdateDrainProjects); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainProjects)); /** @internal */ export type UpdateDrainFilterDrains2$Outbound = { @@ -1134,10 +1134,12 @@ export const UpdateDrainFilterDrains2$outboundSchema: z.ZodType< UpdateDrainFilterDrains2$Outbound, z.ZodTypeDef, UpdateDrainFilterDrains2 -> = z.object({ - type: z.string(), - text: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + text: z.string(), + }) +); export function updateDrainFilterDrains2ToJSON( updateDrainFilterDrains2: UpdateDrainFilterDrains2, @@ -1157,9 +1159,11 @@ export const UpdateDrainFilterProject$outboundSchema: z.ZodType< UpdateDrainFilterProject$Outbound, z.ZodTypeDef, UpdateDrainFilterProject -> = z.object({ - ids: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: z.array(z.string()).optional(), + }) +); export function updateDrainFilterProjectToJSON( updateDrainFilterProject: UpdateDrainFilterProject, @@ -1172,7 +1176,7 @@ export function updateDrainFilterProjectToJSON( /** @internal */ export const UpdateDrainFilterSources$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainFilterSources -> = z.nativeEnum(UpdateDrainFilterSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainFilterSources)); /** @internal */ export type FilterLog$Outbound = { @@ -1184,9 +1188,11 @@ export const FilterLog$outboundSchema: z.ZodType< FilterLog$Outbound, z.ZodTypeDef, FilterLog -> = z.object({ - sources: z.array(UpdateDrainFilterSources$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sources: z.array(UpdateDrainFilterSources$outboundSchema).optional(), + }) +); export function filterLogToJSON(filterLog: FilterLog): string { return JSON.stringify(FilterLog$outboundSchema.parse(filterLog)); @@ -1195,7 +1201,9 @@ export function filterLogToJSON(filterLog: FilterLog): string { /** @internal */ export const UpdateDrainFilterEnvironments$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainFilterEnvironments -> = z.nativeEnum(UpdateDrainFilterEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainFilterEnvironments) +); /** @internal */ export type FilterDeployment$Outbound = { @@ -1207,10 +1215,12 @@ export const FilterDeployment$outboundSchema: z.ZodType< FilterDeployment$Outbound, z.ZodTypeDef, FilterDeployment -> = z.object({ - environments: z.array(UpdateDrainFilterEnvironments$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(UpdateDrainFilterEnvironments$outboundSchema) + .optional(), + }) +); export function filterDeploymentToJSON( filterDeployment: FilterDeployment, @@ -1233,12 +1243,14 @@ export const UpdateDrainFilter1$outboundSchema: z.ZodType< UpdateDrainFilter1$Outbound, z.ZodTypeDef, UpdateDrainFilter1 -> = z.object({ - type: z.string(), - project: z.lazy(() => UpdateDrainFilterProject$outboundSchema).optional(), - log: z.lazy(() => FilterLog$outboundSchema).optional(), - deployment: z.lazy(() => FilterDeployment$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + project: z.lazy(() => UpdateDrainFilterProject$outboundSchema).optional(), + log: z.lazy(() => FilterLog$outboundSchema).optional(), + deployment: z.lazy(() => FilterDeployment$outboundSchema).optional(), + }) +); export function updateDrainFilter1ToJSON( updateDrainFilter1: UpdateDrainFilter1, @@ -1258,10 +1270,12 @@ export const FilterFilter$outboundSchema: z.ZodType< FilterFilter$Outbound, z.ZodTypeDef, FilterFilter -> = smartUnion([ - z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), - z.lazy(() => UpdateDrainFilter1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), + z.lazy(() => UpdateDrainFilter1$outboundSchema), + ]) +); export function filterFilterToJSON(filterFilter: FilterFilter): string { return JSON.stringify(FilterFilter$outboundSchema.parse(filterFilter)); @@ -1278,13 +1292,15 @@ export const UpdateDrainFilter2$outboundSchema: z.ZodType< UpdateDrainFilter2$Outbound, z.ZodTypeDef, UpdateDrainFilter2 -> = z.object({ - version: z.string(), - filter: smartUnion([ - z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), - z.lazy(() => UpdateDrainFilter1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.string(), + filter: smartUnion([ + z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), + z.lazy(() => UpdateDrainFilter1$outboundSchema), + ]), + }) +); export function updateDrainFilter2ToJSON( updateDrainFilter2: UpdateDrainFilter2, @@ -1302,7 +1318,9 @@ export const UpdateDrainFilter$outboundSchema: z.ZodType< UpdateDrainFilter$Outbound, z.ZodTypeDef, UpdateDrainFilter -> = smartUnion([z.lazy(() => UpdateDrainFilter2$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => UpdateDrainFilter2$outboundSchema), z.string()]) +); export function updateDrainFilterToJSON( updateDrainFilter: UpdateDrainFilter, @@ -1322,9 +1340,11 @@ export const UpdateDrainSchemas$outboundSchema: z.ZodType< UpdateDrainSchemas$Outbound, z.ZodTypeDef, UpdateDrainSchemas -> = z.object({ - version: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.string(), + }) +); export function updateDrainSchemasToJSON( updateDrainSchemas: UpdateDrainSchemas, @@ -1336,29 +1356,34 @@ export function updateDrainSchemasToJSON( /** @internal */ export const UpdateDrainDeliveryDrainsRequestEncoding$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsRequestEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsRequestEncoding) + ); /** @internal */ export const UpdateDrainDeliveryDrainsCompression$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainDeliveryDrainsCompression, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsCompression) + ); /** @internal */ export const DeliveryFileStructure$outboundSchema: z.ZodNativeEnum< typeof DeliveryFileStructure -> = z.nativeEnum(DeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryFileStructure)); /** @internal */ export const DeliveryServerSideEncryption$outboundSchema: z.ZodNativeEnum< typeof DeliveryServerSideEncryption -> = z.nativeEnum(DeliveryServerSideEncryption); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(DeliveryServerSideEncryption) +); /** @internal */ export const DeliveryObjectAcl$outboundSchema: z.ZodNativeEnum< typeof DeliveryObjectAcl -> = z.nativeEnum(DeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeliveryObjectAcl)); /** @internal */ export type UpdateDrainDelivery3$Outbound = { @@ -1379,20 +1404,22 @@ export const UpdateDrainDelivery3$outboundSchema: z.ZodType< UpdateDrainDelivery3$Outbound, z.ZodTypeDef, UpdateDrainDelivery3 -> = z.object({ - type: z.string(), - endpoint: z.string(), - encoding: UpdateDrainDeliveryDrainsRequestEncoding$outboundSchema, - compression: UpdateDrainDeliveryDrainsCompression$outboundSchema, - fileStructure: DeliveryFileStructure$outboundSchema, - roleArn: z.string(), - region: z.string(), - serverSideEncryption: DeliveryServerSideEncryption$outboundSchema.default( - "AES256", - ), - kmsKeyId: z.string().optional(), - objectAcl: DeliveryObjectAcl$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + encoding: UpdateDrainDeliveryDrainsRequestEncoding$outboundSchema, + compression: UpdateDrainDeliveryDrainsCompression$outboundSchema, + fileStructure: DeliveryFileStructure$outboundSchema, + roleArn: z.string(), + region: z.string(), + serverSideEncryption: DeliveryServerSideEncryption$outboundSchema.default( + "AES256", + ), + kmsKeyId: z.string().optional(), + objectAcl: DeliveryObjectAcl$outboundSchema.optional(), + }) +); export function updateDrainDelivery3ToJSON( updateDrainDelivery3: UpdateDrainDelivery3, @@ -1412,9 +1439,11 @@ export const UpdateDrainEndpoint1$outboundSchema: z.ZodType< UpdateDrainEndpoint1$Outbound, z.ZodTypeDef, UpdateDrainEndpoint1 -> = z.object({ - traces: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: z.string(), + }) +); export function updateDrainEndpoint1ToJSON( updateDrainEndpoint1: UpdateDrainEndpoint1, @@ -1432,7 +1461,9 @@ export const DeliveryEndpoint$outboundSchema: z.ZodType< DeliveryEndpoint$Outbound, z.ZodTypeDef, DeliveryEndpoint -> = z.lazy(() => UpdateDrainEndpoint1$outboundSchema); +> = /* @__PURE__ */ lazySchema$(() => + z.lazy(() => UpdateDrainEndpoint1$outboundSchema) +); export function deliveryEndpointToJSON( deliveryEndpoint: DeliveryEndpoint, @@ -1445,7 +1476,9 @@ export function deliveryEndpointToJSON( /** @internal */ export const UpdateDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsEncoding -> = z.nativeEnum(UpdateDrainDeliveryDrainsEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsEncoding) +); /** @internal */ export type UpdateDrainDelivery2$Outbound = { @@ -1461,13 +1494,15 @@ export const UpdateDrainDelivery2$outboundSchema: z.ZodType< UpdateDrainDelivery2$Outbound, z.ZodTypeDef, UpdateDrainDelivery2 -> = z.object({ - type: z.string(), - endpoint: z.lazy(() => UpdateDrainEndpoint1$outboundSchema), - encoding: UpdateDrainDeliveryDrainsEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.lazy(() => UpdateDrainEndpoint1$outboundSchema), + encoding: UpdateDrainDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function updateDrainDelivery2ToJSON( updateDrainDelivery2: UpdateDrainDelivery2, @@ -1480,12 +1515,16 @@ export function updateDrainDelivery2ToJSON( /** @internal */ export const UpdateDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryCompression -> = z.nativeEnum(UpdateDrainDeliveryCompression); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryCompression) +); /** @internal */ export const UpdateDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryEncoding -> = z.nativeEnum(UpdateDrainDeliveryEncoding); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryEncoding) +); /** @internal */ export type UpdateDrainDelivery1$Outbound = { @@ -1502,14 +1541,16 @@ export const UpdateDrainDelivery1$outboundSchema: z.ZodType< UpdateDrainDelivery1$Outbound, z.ZodTypeDef, UpdateDrainDelivery1 -> = z.object({ - type: z.string(), - endpoint: z.string(), - compression: UpdateDrainDeliveryCompression$outboundSchema.optional(), - encoding: UpdateDrainDeliveryEncoding$outboundSchema, - headers: z.record(z.string()), - secret: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + endpoint: z.string(), + compression: UpdateDrainDeliveryCompression$outboundSchema.optional(), + encoding: UpdateDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), + }) +); export function updateDrainDelivery1ToJSON( updateDrainDelivery1: UpdateDrainDelivery1, @@ -1530,11 +1571,13 @@ export const UpdateDrainDelivery$outboundSchema: z.ZodType< UpdateDrainDelivery$Outbound, z.ZodTypeDef, UpdateDrainDelivery -> = smartUnion([ - z.lazy(() => UpdateDrainDelivery3$outboundSchema), - z.lazy(() => UpdateDrainDelivery1$outboundSchema), - z.lazy(() => UpdateDrainDelivery2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainDelivery3$outboundSchema), + z.lazy(() => UpdateDrainDelivery1$outboundSchema), + z.lazy(() => UpdateDrainDelivery2$outboundSchema), + ]) +); export function updateDrainDeliveryToJSON( updateDrainDelivery: UpdateDrainDelivery, @@ -1547,7 +1590,7 @@ export function updateDrainDeliveryToJSON( /** @internal */ export const UpdateDrainEnv$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainEnv -> = z.nativeEnum(UpdateDrainEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainEnv)); /** @internal */ export type UpdateDrainSampling$Outbound = { @@ -1562,12 +1605,14 @@ export const UpdateDrainSampling$outboundSchema: z.ZodType< UpdateDrainSampling$Outbound, z.ZodTypeDef, UpdateDrainSampling -> = z.object({ - type: z.string(), - rate: z.number(), - env: UpdateDrainEnv$outboundSchema.optional(), - requestPath: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.string(), + rate: z.number(), + env: UpdateDrainEnv$outboundSchema.optional(), + requestPath: z.string().optional(), + }) +); export function updateDrainSamplingToJSON( updateDrainSampling: UpdateDrainSampling, @@ -1587,9 +1632,11 @@ export const UpdateDrainTransforms$outboundSchema: z.ZodType< UpdateDrainTransforms$Outbound, z.ZodTypeDef, UpdateDrainTransforms -> = z.object({ - id: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + }) +); export function updateDrainTransformsToJSON( updateDrainTransforms: UpdateDrainTransforms, @@ -1602,7 +1649,7 @@ export function updateDrainTransformsToJSON( /** @internal */ export const UpdateDrainStatus$outboundSchema: z.ZodNativeEnum< typeof UpdateDrainStatus -> = z.nativeEnum(UpdateDrainStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainStatus)); /** @internal */ export type UpdateDrainSource2$Outbound = { @@ -1614,9 +1661,11 @@ export const UpdateDrainSource2$outboundSchema: z.ZodType< UpdateDrainSource2$Outbound, z.ZodTypeDef, UpdateDrainSource2 -> = z.object({ - kind: z.string().default("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("self-served"), + }) +); export function updateDrainSource2ToJSON( updateDrainSource2: UpdateDrainSource2, @@ -1636,9 +1685,11 @@ export const UpdateDrain13$outboundSchema: z.ZodType< UpdateDrain13$Outbound, z.ZodTypeDef, UpdateDrain13 -> = z.object({ - kind: z.string().default("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + }) +); export function updateDrain13ToJSON(updateDrain13: UpdateDrain13): string { return JSON.stringify(UpdateDrain13$outboundSchema.parse(updateDrain13)); @@ -1655,10 +1706,12 @@ export const UpdateDrain12$outboundSchema: z.ZodType< UpdateDrain12$Outbound, z.ZodTypeDef, UpdateDrain12 -> = z.object({ - kind: z.string().default("integration"), - resourceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + resourceId: z.string(), + }) +); export function updateDrain12ToJSON(updateDrain12: UpdateDrain12): string { return JSON.stringify(UpdateDrain12$outboundSchema.parse(updateDrain12)); @@ -1675,10 +1728,12 @@ export const UpdateDrain11$outboundSchema: z.ZodType< UpdateDrain11$Outbound, z.ZodTypeDef, UpdateDrain11 -> = z.object({ - kind: z.string().default("integration"), - externalResourceId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), + }) +); export function updateDrain11ToJSON(updateDrain11: UpdateDrain11): string { return JSON.stringify(UpdateDrain11$outboundSchema.parse(updateDrain11)); @@ -1695,11 +1750,13 @@ export const UpdateDrainSource1$outboundSchema: z.ZodType< UpdateDrainSource1$Outbound, z.ZodTypeDef, UpdateDrainSource1 -> = smartUnion([ - z.lazy(() => UpdateDrain11$outboundSchema), - z.lazy(() => UpdateDrain12$outboundSchema), - z.lazy(() => UpdateDrain13$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), + ]) +); export function updateDrainSource1ToJSON( updateDrainSource1: UpdateDrainSource1, @@ -1721,14 +1778,16 @@ export const UpdateDrainSource$outboundSchema: z.ZodType< UpdateDrainSource$Outbound, z.ZodTypeDef, UpdateDrainSource -> = smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ - z.lazy(() => UpdateDrain11$outboundSchema), - z.lazy(() => UpdateDrain12$outboundSchema), - z.lazy(() => UpdateDrain13$outboundSchema), - ]), - z.lazy(() => UpdateDrainSource2$outboundSchema), -]); + smartUnion([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$outboundSchema), + ]) +); export function updateDrainSourceToJSON( updateDrainSource: UpdateDrainSource, @@ -1766,36 +1825,39 @@ export const UpdateDrainRequestBody$outboundSchema: z.ZodType< UpdateDrainRequestBody$Outbound, z.ZodTypeDef, UpdateDrainRequestBody -> = z.object({ - name: z.string().optional(), - projects: UpdateDrainProjects$outboundSchema.optional(), - projectIds: z.nullable(z.array(z.string())).optional(), - filter: smartUnion([ - z.lazy(() => UpdateDrainFilter2$outboundSchema), - z.string(), - ]).optional(), - schemas: z.record(z.lazy(() => UpdateDrainSchemas$outboundSchema)).optional(), - delivery: smartUnion([ - z.lazy(() => UpdateDrainDelivery3$outboundSchema), - z.lazy(() => UpdateDrainDelivery1$outboundSchema), - z.lazy(() => UpdateDrainDelivery2$outboundSchema), - ]).optional(), - sampling: z.nullable( - z.array(z.lazy(() => UpdateDrainSampling$outboundSchema)), - ).optional(), - transforms: z.nullable( - z.array(z.lazy(() => UpdateDrainTransforms$outboundSchema)), - ).optional(), - status: UpdateDrainStatus$outboundSchema.optional(), - source: smartUnion([ - smartUnion([ - z.lazy(() => UpdateDrain11$outboundSchema), - z.lazy(() => UpdateDrain12$outboundSchema), - z.lazy(() => UpdateDrain13$outboundSchema), - ]), - z.lazy(() => UpdateDrainSource2$outboundSchema), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + projects: UpdateDrainProjects$outboundSchema.optional(), + projectIds: z.nullable(z.array(z.string())).optional(), + filter: smartUnion([ + z.lazy(() => UpdateDrainFilter2$outboundSchema), + z.string(), + ]).optional(), + schemas: z.record(z.lazy(() => UpdateDrainSchemas$outboundSchema)) + .optional(), + delivery: smartUnion([ + z.lazy(() => UpdateDrainDelivery3$outboundSchema), + z.lazy(() => UpdateDrainDelivery1$outboundSchema), + z.lazy(() => UpdateDrainDelivery2$outboundSchema), + ]).optional(), + sampling: z.nullable( + z.array(z.lazy(() => UpdateDrainSampling$outboundSchema)), + ).optional(), + transforms: z.nullable( + z.array(z.lazy(() => UpdateDrainTransforms$outboundSchema)), + ).optional(), + status: UpdateDrainStatus$outboundSchema.optional(), + source: smartUnion([ + smartUnion([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$outboundSchema), + ]).optional(), + }) +); export function updateDrainRequestBodyToJSON( updateDrainRequestBody: UpdateDrainRequestBody, @@ -1818,16 +1880,18 @@ export const UpdateDrainRequest$outboundSchema: z.ZodType< UpdateDrainRequest$Outbound, z.ZodTypeDef, UpdateDrainRequest -> = z.object({ - id: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateDrainRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateDrainRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateDrainRequestToJSON( updateDrainRequest: UpdateDrainRequest, @@ -1840,17 +1904,21 @@ export function updateDrainRequestToJSON( /** @internal */ export const UpdateDrainDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsTarget -> = z.nativeEnum(UpdateDrainDeliveryDrainsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsTarget) +); /** @internal */ export const UpdateDrainDeliveryDrains5$inboundSchema: z.ZodType< UpdateDrainDeliveryDrains5, z.ZodTypeDef, unknown -> = z.object({ - target: UpdateDrainDeliveryDrainsTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UpdateDrainDeliveryDrainsTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function updateDrainDeliveryDrains5FromJSON( jsonString: string, @@ -1866,55 +1934,66 @@ export function updateDrainDeliveryDrains5FromJSON( export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression - > = z.nativeEnum( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression, + ) ); /** @internal */ export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding - > = z.nativeEnum( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding, + ) ); /** @internal */ export const UpdateDrainDeliveryDrainsFileStructure$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainDeliveryDrainsFileStructure, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsFileStructure) + ); /** @internal */ export const UpdateDrainDeliveryDrainsObjectAcl$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsObjectAcl -> = z.nativeEnum(UpdateDrainDeliveryDrainsObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsObjectAcl) +); /** @internal */ export const UpdateDrainDeliveryDrainsServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsServerSideEncryption) + ); /** @internal */ export const UpdateDrainDeliveryDrains4$inboundSchema: z.ZodType< UpdateDrainDeliveryDrains4, z.ZodTypeDef, unknown -> = z.object({ - compression: - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression$inboundSchema, - encoding: - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema, - endpoint: types.string(), - fileStructure: UpdateDrainDeliveryDrainsFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(UpdateDrainDeliveryDrainsObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - UpdateDrainDeliveryDrainsServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyCompression$inboundSchema, + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Encoding$inboundSchema, + endpoint: types.string(), + fileStructure: UpdateDrainDeliveryDrainsFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(UpdateDrainDeliveryDrainsObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + UpdateDrainDeliveryDrainsServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function updateDrainDeliveryDrains4FromJSON( jsonString: string, @@ -1931,11 +2010,13 @@ export const UpdateDrainDeliveryDrainsResponse3$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsResponse3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function updateDrainDeliveryDrainsResponse3FromJSON( jsonString: string, @@ -1952,8 +2033,10 @@ export function updateDrainDeliveryDrainsResponse3FromJSON( export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding - > = z.nativeEnum( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding, + ) ); /** @internal */ @@ -1961,9 +2044,11 @@ export const UpdateDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function updateDrainDeliveryDrainsEndpointFromJSON( jsonString: string, @@ -1977,18 +2062,21 @@ export function updateDrainDeliveryDrainsEndpointFromJSON( /** @internal */ export const UpdateDrainSecretDrainsResponse200Kind$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainSecretDrainsResponse200Kind, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainSecretDrainsResponse200Kind) + ); /** @internal */ export const UpdateDrainSecretDrainsResponse2002$inboundSchema: z.ZodType< UpdateDrainSecretDrainsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - kind: UpdateDrainSecretDrainsResponse200Kind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: UpdateDrainSecretDrainsResponse200Kind$inboundSchema, + }) +); export function updateDrainSecretDrainsResponse2002FromJSON( jsonString: string, @@ -2004,10 +2092,12 @@ export function updateDrainSecretDrainsResponse2002FromJSON( /** @internal */ export const UpdateDrainDeliveryDrainsResponse200Secret$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => UpdateDrainSecretDrainsResponse2002$inboundSchema), - types.string(), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainSecretDrainsResponse2002$inboundSchema), + types.string(), + ]) + ); export function updateDrainDeliveryDrainsResponse200SecretFromJSON( jsonString: string, @@ -2030,19 +2120,19 @@ export const UpdateDrainDeliveryDrainsResponse2$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - encoding: - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema, - endpoint: z.lazy(() => UpdateDrainDeliveryDrainsEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Encoding$inboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryDrainsEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => UpdateDrainSecretDrainsResponse2002$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function updateDrainDeliveryDrainsResponse2FromJSON( jsonString: string, @@ -2059,31 +2149,37 @@ export function updateDrainDeliveryDrainsResponse2FromJSON( export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression - > = z.nativeEnum( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression) ); /** @internal */ export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding - > = z.nativeEnum( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + ) ); /** @internal */ export const UpdateDrainSecretDrainsResponseKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainSecretDrainsResponseKind -> = z.nativeEnum(UpdateDrainSecretDrainsResponseKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainSecretDrainsResponseKind) +); /** @internal */ export const UpdateDrainSecretDrainsResponse2$inboundSchema: z.ZodType< UpdateDrainSecretDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - kind: UpdateDrainSecretDrainsResponseKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: UpdateDrainSecretDrainsResponseKind$inboundSchema, + }) +); export function updateDrainSecretDrainsResponse2FromJSON( jsonString: string, @@ -2100,10 +2196,12 @@ export const UpdateDrainDeliveryDrainsResponseSecret$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsResponseSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateDrainSecretDrainsResponse2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainSecretDrainsResponse2$inboundSchema), + types.string(), + ]) +); export function updateDrainDeliveryDrainsResponseSecretFromJSON( jsonString: string, @@ -2126,22 +2224,22 @@ export const UpdateDrainDeliveryDrainsResponse1$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsResponse1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional( - UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression$inboundSchema, - ), - encoding: - UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONCompression$inboundSchema, + ), + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => UpdateDrainSecretDrainsResponse2$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function updateDrainDeliveryDrainsResponse1FromJSON( jsonString: string, @@ -2159,13 +2257,15 @@ export const UpdateDrainResponseBodyDrainsDelivery$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrainsResponse3$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse3$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains5$inboundSchema), + ]) +); export function updateDrainResponseBodyDrainsDeliveryFromJSON( jsonString: string, @@ -2180,30 +2280,38 @@ export function updateDrainResponseBodyDrainsDeliveryFromJSON( /** @internal */ export const UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainResponseBodyDrainsDisabledReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsDisabledReason) + ); /** @internal */ export const UpdateDrainResponseBodyDrainsEnv$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyDrainsEnv -> = z.nativeEnum(UpdateDrainResponseBodyDrainsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsEnv) +); /** @internal */ export const UpdateDrainResponseBodyDrainsType$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyDrainsType -> = z.nativeEnum(UpdateDrainResponseBodyDrainsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsType) +); /** @internal */ export const UpdateDrainResponseBodyDrainsSampling$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsSampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(UpdateDrainResponseBodyDrainsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: UpdateDrainResponseBodyDrainsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(UpdateDrainResponseBodyDrainsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: UpdateDrainResponseBodyDrainsType$inboundSchema, + }) +); export function updateDrainResponseBodyDrainsSamplingFromJSON( jsonString: string, @@ -2221,7 +2329,7 @@ export const UpdateDrainResponseBodyDrainsAiGateway$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsAiGatewayFromJSON( jsonString: string, @@ -2239,7 +2347,7 @@ export const UpdateDrainResponseBodyDrainsAnalytics$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsAnalyticsFromJSON( jsonString: string, @@ -2257,7 +2365,7 @@ export const UpdateDrainResponseBodyDrainsAuditLog$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsAuditLogFromJSON( jsonString: string, @@ -2275,7 +2383,7 @@ export const UpdateDrainResponseBodyDrainsConnect$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsConnectFromJSON( jsonString: string, @@ -2293,7 +2401,7 @@ export const UpdateDrainResponseBodyDrainsLog$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsLogFromJSON( jsonString: string, @@ -2308,7 +2416,7 @@ export function updateDrainResponseBodyDrainsLogFromJSON( /** @internal */ export const UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema: z.ZodType = - z.object({}); + /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsSpeedInsightsFromJSON( jsonString: string, @@ -2331,7 +2439,7 @@ export const UpdateDrainResponseBodyDrainsTrace$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyDrainsTraceFromJSON( jsonString: string, @@ -2349,35 +2457,37 @@ export const UpdateDrainResponseBodyDrainsSchemas$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsSchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsAuditLog$inboundSchema), - ), - connect: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsConnect$inboundSchema), - ), - log: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsLog$inboundSchema), - ), - speed_insights: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema), - ), - trace: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsTrace$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsAuditLog$inboundSchema), + ), + connect: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsConnect$inboundSchema), + ), + log: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsLog$inboundSchema), + ), + speed_insights: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema), + ), + trace: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsTrace$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function updateDrainResponseBodyDrainsSchemasFromJSON( jsonString: string, @@ -2395,13 +2505,15 @@ export const UpdateDrainSourceDrainsResponse2$inboundSchema: z.ZodType< UpdateDrainSourceDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function updateDrainSourceDrainsResponse2FromJSON( jsonString: string, @@ -2416,17 +2528,21 @@ export function updateDrainSourceDrainsResponse2FromJSON( /** @internal */ export const UpdateDrainSourceDrainsDefaultFor$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainSourceDrainsDefaultFor -> = z.nativeEnum(UpdateDrainSourceDrainsDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainSourceDrainsDefaultFor) +); /** @internal */ export const UpdateDrainSourceDrainsResponse1$inboundSchema: z.ZodType< UpdateDrainSourceDrainsResponse1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(UpdateDrainSourceDrainsDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(UpdateDrainSourceDrainsDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function updateDrainSourceDrainsResponse1FromJSON( jsonString: string, @@ -2443,10 +2559,12 @@ export const UpdateDrainResponseBodyDrainsSource$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), + ]) +); export function updateDrainResponseBodyDrainsSourceFromJSON( jsonString: string, @@ -2462,30 +2580,38 @@ export function updateDrainResponseBodyDrainsSourceFromJSON( /** @internal */ export const UpdateDrainResponseBodyDrainsStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyDrainsStatus -> = z.nativeEnum(UpdateDrainResponseBodyDrainsStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsStatus) +); /** @internal */ export const UpdateDrainResponseBodyDrainsState$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyDrainsState -> = z.nativeEnum(UpdateDrainResponseBodyDrainsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsState) +); /** @internal */ export const UpdateDrainResponseBodyDrainsWindow$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyDrainsWindow -> = z.nativeEnum(UpdateDrainResponseBodyDrainsWindow); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsWindow) +); /** @internal */ export const UpdateDrainResponseBodyDrainsDeliveryStats$inboundSchema: z.ZodType = - z.object({ - attempts: types.number(), - failures: types.number(), - state: UpdateDrainResponseBodyDrainsState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: UpdateDrainResponseBodyDrainsWindow$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: UpdateDrainResponseBodyDrainsState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: UpdateDrainResponseBodyDrainsWindow$inboundSchema, + }) + ); export function updateDrainResponseBodyDrainsDeliveryStatsFromJSON( jsonString: string, @@ -2508,10 +2634,12 @@ export const UpdateDrainFilterDrainsResponse2002$inboundSchema: z.ZodType< UpdateDrainFilterDrainsResponse2002, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function updateDrainFilterDrainsResponse2002FromJSON( jsonString: string, @@ -2526,19 +2654,23 @@ export function updateDrainFilterDrainsResponse2002FromJSON( /** @internal */ export const UpdateDrainFilterDrainsResponseEnvironments$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainFilterDrainsResponseEnvironments); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainFilterDrainsResponseEnvironments) + ); /** @internal */ export const UpdateDrainFilterDrainsDeployment$inboundSchema: z.ZodType< UpdateDrainFilterDrainsDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(UpdateDrainFilterDrainsResponseEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(UpdateDrainFilterDrainsResponseEnvironments$inboundSchema), + ), + }) +); export function updateDrainFilterDrainsDeploymentFromJSON( jsonString: string, @@ -2552,25 +2684,29 @@ export function updateDrainFilterDrainsDeploymentFromJSON( /** @internal */ export const UpdateDrainFilterDrainsResponseSources$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainFilterDrainsResponseSources, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainFilterDrainsResponseSources) + ); /** @internal */ export const UpdateDrainFilterDrainsLog$inboundSchema: z.ZodType< UpdateDrainFilterDrainsLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional( - z.array(UpdateDrainFilterDrainsResponseSources$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(UpdateDrainFilterDrainsResponseSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function updateDrainFilterDrainsLogFromJSON( jsonString: string, @@ -2587,9 +2723,11 @@ export const UpdateDrainFilterDrainsResponseProject$inboundSchema: z.ZodType< UpdateDrainFilterDrainsResponseProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function updateDrainFilterDrainsResponseProjectFromJSON( jsonString: string, @@ -2607,16 +2745,18 @@ export const UpdateDrainFilterDrainsResponse1$inboundSchema: z.ZodType< UpdateDrainFilterDrainsResponse1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => UpdateDrainFilterDrainsDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => UpdateDrainFilterDrainsLog$inboundSchema)), - project: types.optional( - z.lazy(() => UpdateDrainFilterDrainsResponseProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => UpdateDrainFilterDrainsDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => UpdateDrainFilterDrainsLog$inboundSchema)), + project: types.optional( + z.lazy(() => UpdateDrainFilterDrainsResponseProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function updateDrainFilterDrainsResponse1FromJSON( jsonString: string, @@ -2633,10 +2773,12 @@ export const UpdateDrainResponseBodyDrainsFilter$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), + ]) +); export function updateDrainResponseBodyDrainsFilterFromJSON( jsonString: string, @@ -2651,22 +2793,25 @@ export function updateDrainResponseBodyDrainsFilterFromJSON( /** @internal */ export const UpdateDrainResponseBodyDrainsVersion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainResponseBodyDrainsVersion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDrainsVersion) + ); /** @internal */ export const UpdateDrainResponseBodyDrainsFilterV2$inboundSchema: z.ZodType< UpdateDrainResponseBodyDrainsFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), - ]), - version: UpdateDrainResponseBodyDrainsVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), + ]), + version: UpdateDrainResponseBodyDrainsVersion$inboundSchema, + }) +); export function updateDrainResponseBodyDrainsFilterV2FromJSON( jsonString: string, @@ -2681,19 +2826,23 @@ export function updateDrainResponseBodyDrainsFilterV2FromJSON( /** @internal */ export const UpdateDrainProjectAccessDrainsManagedBy$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainProjectAccessDrainsManagedBy); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainProjectAccessDrainsManagedBy) + ); /** @internal */ export const UpdateDrainProjectAccess2$inboundSchema: z.ZodType< UpdateDrainProjectAccess2, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("some"), - projectIds: z.array(types.string()), - managedBy: UpdateDrainProjectAccessDrainsManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("some"), + projectIds: z.array(types.string()), + managedBy: UpdateDrainProjectAccessDrainsManagedBy$inboundSchema, + }) +); export function updateDrainProjectAccess2FromJSON( jsonString: string, @@ -2708,17 +2857,21 @@ export function updateDrainProjectAccess2FromJSON( /** @internal */ export const UpdateDrainProjectAccessManagedBy$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainProjectAccessManagedBy -> = z.nativeEnum(UpdateDrainProjectAccessManagedBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainProjectAccessManagedBy) +); /** @internal */ export const UpdateDrainProjectAccess1$inboundSchema: z.ZodType< UpdateDrainProjectAccess1, z.ZodTypeDef, unknown -> = z.object({ - access: types.literal("all"), - managedBy: UpdateDrainProjectAccessManagedBy$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + access: types.literal("all"), + managedBy: UpdateDrainProjectAccessManagedBy$inboundSchema, + }) +); export function updateDrainProjectAccess1FromJSON( jsonString: string, @@ -2735,10 +2888,12 @@ export const ResponseBodyProjectAccess$inboundSchema: z.ZodType< ResponseBodyProjectAccess, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainProjectAccess1$inboundSchema), - z.lazy(() => UpdateDrainProjectAccess2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainProjectAccess1$inboundSchema), + z.lazy(() => UpdateDrainProjectAccess2$inboundSchema), + ]) +); export function responseBodyProjectAccessFromJSON( jsonString: string, @@ -2755,52 +2910,56 @@ export const UpdateDrainResponseBody2$inboundSchema: z.ZodType< UpdateDrainResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrainsResponse3$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional( - UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema, - ), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => UpdateDrainResponseBodyDrainsSampling$inboundSchema)), - ), - schemas: z.lazy(() => UpdateDrainResponseBodyDrainsSchemas$inboundSchema), - source: z.union([ - z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), - z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), - ]), - status: types.optional(UpdateDrainResponseBodyDrainsStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => UpdateDrainResponseBodyDrainsFilterV2$inboundSchema), - ), - integrationConfigurationUri: types.optional(types.string()), - integrationIcon: types.optional(types.string()), - integrationWebsite: types.optional(types.string()), - projectAccess: types.optional( - z.union([ - z.lazy(() => UpdateDrainProjectAccess1$inboundSchema), - z.lazy(() => UpdateDrainProjectAccess2$inboundSchema), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse3$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array( + z.lazy(() => UpdateDrainResponseBodyDrainsSampling$inboundSchema), + ), + ), + schemas: z.lazy(() => UpdateDrainResponseBodyDrainsSchemas$inboundSchema), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), ]), - ), -}); + status: types.optional(UpdateDrainResponseBodyDrainsStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => UpdateDrainResponseBodyDrainsFilterV2$inboundSchema), + ), + integrationConfigurationUri: types.optional(types.string()), + integrationIcon: types.optional(types.string()), + integrationWebsite: types.optional(types.string()), + projectAccess: types.optional( + z.union([ + z.lazy(() => UpdateDrainProjectAccess1$inboundSchema), + z.lazy(() => UpdateDrainProjectAccess2$inboundSchema), + ]), + ), + }) +); export function updateDrainResponseBody2FromJSON( jsonString: string, @@ -2815,17 +2974,19 @@ export function updateDrainResponseBody2FromJSON( /** @internal */ export const UpdateDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryTarget -> = z.nativeEnum(UpdateDrainDeliveryTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainDeliveryTarget)); /** @internal */ export const UpdateDrainDelivery5$inboundSchema: z.ZodType< UpdateDrainDelivery5, z.ZodTypeDef, unknown -> = z.object({ - target: UpdateDrainDeliveryTarget$inboundSchema, - type: types.literal("internal"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UpdateDrainDeliveryTarget$inboundSchema, + type: types.literal("internal"), + }) +); export function updateDrainDelivery5FromJSON( jsonString: string, @@ -2839,50 +3000,62 @@ export function updateDrainDelivery5FromJSON( /** @internal */ export const UpdateDrainDeliveryDrainsResponse200Compression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsResponse200Compression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponse200Compression) + ); /** @internal */ export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding - > = z.nativeEnum(UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding) + ); /** @internal */ export const UpdateDrainDeliveryFileStructure$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryFileStructure -> = z.nativeEnum(UpdateDrainDeliveryFileStructure); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryFileStructure) +); /** @internal */ export const UpdateDrainDeliveryObjectAcl$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainDeliveryObjectAcl -> = z.nativeEnum(UpdateDrainDeliveryObjectAcl); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryObjectAcl) +); /** @internal */ export const UpdateDrainDeliveryServerSideEncryption$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryServerSideEncryption); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryServerSideEncryption) + ); /** @internal */ export const UpdateDrainDelivery4$inboundSchema: z.ZodType< UpdateDrainDelivery4, z.ZodTypeDef, unknown -> = z.object({ - compression: UpdateDrainDeliveryDrainsResponse200Compression$inboundSchema, - encoding: - UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, - endpoint: types.string(), - fileStructure: UpdateDrainDeliveryFileStructure$inboundSchema, - kmsKeyId: types.optional(types.string()), - objectAcl: types.optional(UpdateDrainDeliveryObjectAcl$inboundSchema), - region: types.string(), - roleArn: types.string(), - serverSideEncryption: types.optional( - UpdateDrainDeliveryServerSideEncryption$inboundSchema, - ), - type: types.literal("s3"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: UpdateDrainDeliveryDrainsResponse200Compression$inboundSchema, + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, + endpoint: types.string(), + fileStructure: UpdateDrainDeliveryFileStructure$inboundSchema, + kmsKeyId: types.optional(types.string()), + objectAcl: types.optional(UpdateDrainDeliveryObjectAcl$inboundSchema), + region: types.string(), + roleArn: types.string(), + serverSideEncryption: types.optional( + UpdateDrainDeliveryServerSideEncryption$inboundSchema, + ), + type: types.literal("s3"), + }) +); export function updateDrainDelivery4FromJSON( jsonString: string, @@ -2899,11 +3072,13 @@ export const UpdateDrainDeliveryDrains3$inboundSchema: z.ZodType< UpdateDrainDeliveryDrains3, z.ZodTypeDef, unknown -> = z.object({ - endpoint: types.string(), - table: types.string(), - type: types.literal("clickhouse"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpoint: types.string(), + table: types.string(), + type: types.literal("clickhouse"), + }) +); export function updateDrainDeliveryDrains3FromJSON( jsonString: string, @@ -2917,17 +3092,21 @@ export function updateDrainDeliveryDrains3FromJSON( /** @internal */ export const UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsResponse200Encoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponse200Encoding) + ); /** @internal */ export const UpdateDrainDeliveryEndpoint$inboundSchema: z.ZodType< UpdateDrainDeliveryEndpoint, z.ZodTypeDef, unknown -> = z.object({ - traces: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + traces: types.string(), + }) +); export function updateDrainDeliveryEndpointFromJSON( jsonString: string, @@ -2942,16 +3121,20 @@ export function updateDrainDeliveryEndpointFromJSON( /** @internal */ export const UpdateDrainSecretDrainsKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainSecretDrainsKind -> = z.nativeEnum(UpdateDrainSecretDrainsKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainSecretDrainsKind) +); /** @internal */ export const UpdateDrainSecretDrains2$inboundSchema: z.ZodType< UpdateDrainSecretDrains2, z.ZodTypeDef, unknown -> = z.object({ - kind: UpdateDrainSecretDrainsKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: UpdateDrainSecretDrainsKind$inboundSchema, + }) +); export function updateDrainSecretDrains2FromJSON( jsonString: string, @@ -2968,10 +3151,12 @@ export const UpdateDrainDeliveryDrainsSecret$inboundSchema: z.ZodType< UpdateDrainDeliveryDrainsSecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateDrainSecretDrains2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainSecretDrains2$inboundSchema), + types.string(), + ]) +); export function updateDrainDeliveryDrainsSecretFromJSON( jsonString: string, @@ -2988,18 +3173,18 @@ export const UpdateDrainDeliveryDrains2$inboundSchema: z.ZodType< UpdateDrainDeliveryDrains2, z.ZodTypeDef, unknown -> = z.object({ - encoding: UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema, - endpoint: z.lazy(() => UpdateDrainDeliveryEndpoint$inboundSchema), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encoding: UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryEndpoint$inboundSchema), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => UpdateDrainSecretDrains2$inboundSchema), types.string(), - ]), - ), - type: types.literal("otlphttp"), -}); + ])), + type: types.literal("otlphttp"), + }) +); export function updateDrainDeliveryDrains2FromJSON( jsonString: string, @@ -3013,27 +3198,33 @@ export function updateDrainDeliveryDrains2FromJSON( /** @internal */ export const UpdateDrainDeliveryDrainsResponseCompression$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsResponseCompression); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponseCompression) + ); /** @internal */ export const UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateDrainDeliveryDrainsResponseEncoding); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainDeliveryDrainsResponseEncoding) + ); /** @internal */ export const UpdateDrainSecretKind$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainSecretKind -> = z.nativeEnum(UpdateDrainSecretKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainSecretKind)); /** @internal */ export const UpdateDrainSecret2$inboundSchema: z.ZodType< UpdateDrainSecret2, z.ZodTypeDef, unknown -> = z.object({ - kind: UpdateDrainSecretKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: UpdateDrainSecretKind$inboundSchema, + }) +); export function updateDrainSecret2FromJSON( jsonString: string, @@ -3050,10 +3241,9 @@ export const UpdateDrainDeliverySecret$inboundSchema: z.ZodType< UpdateDrainDeliverySecret, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateDrainSecret2$inboundSchema), - types.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => UpdateDrainSecret2$inboundSchema), types.string()]) +); export function updateDrainDeliverySecretFromJSON( jsonString: string, @@ -3070,21 +3260,21 @@ export const UpdateDrainDeliveryDrains1$inboundSchema: z.ZodType< UpdateDrainDeliveryDrains1, z.ZodTypeDef, unknown -> = z.object({ - compression: types.optional( - UpdateDrainDeliveryDrainsResponseCompression$inboundSchema, - ), - encoding: UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema, - endpoint: types.string(), - headers: z.record(types.string()), - secret: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + compression: types.optional( + UpdateDrainDeliveryDrainsResponseCompression$inboundSchema, + ), + encoding: UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema, + endpoint: types.string(), + headers: z.record(types.string()), + secret: types.optional(smartUnion([ z.lazy(() => UpdateDrainSecret2$inboundSchema), types.string(), - ]), - ), - type: types.literal("http"), -}); + ])), + type: types.literal("http"), + }) +); export function updateDrainDeliveryDrains1FromJSON( jsonString: string, @@ -3101,13 +3291,15 @@ export const UpdateDrainResponseBodyDelivery$inboundSchema: z.ZodType< UpdateDrainResponseBodyDelivery, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), - z.lazy(() => UpdateDrainDelivery4$inboundSchema), - z.lazy(() => UpdateDrainDelivery5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => UpdateDrainDelivery4$inboundSchema), + z.lazy(() => UpdateDrainDelivery5$inboundSchema), + ]) +); export function updateDrainResponseBodyDeliveryFromJSON( jsonString: string, @@ -3121,31 +3313,36 @@ export function updateDrainResponseBodyDeliveryFromJSON( /** @internal */ export const UpdateDrainResponseBodyDisabledReason$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateDrainResponseBodyDisabledReason, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyDisabledReason) + ); /** @internal */ export const UpdateDrainResponseBodyEnv$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyEnv -> = z.nativeEnum(UpdateDrainResponseBodyEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateDrainResponseBodyEnv)); /** @internal */ export const UpdateDrainResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyType -> = z.nativeEnum(UpdateDrainResponseBodyType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyType) +); /** @internal */ export const UpdateDrainResponseBodySampling$inboundSchema: z.ZodType< UpdateDrainResponseBodySampling, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(UpdateDrainResponseBodyEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), - type: UpdateDrainResponseBodyType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(UpdateDrainResponseBodyEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + type: UpdateDrainResponseBodyType$inboundSchema, + }) +); export function updateDrainResponseBodySamplingFromJSON( jsonString: string, @@ -3162,7 +3359,7 @@ export const UpdateDrainResponseBodyAiGateway$inboundSchema: z.ZodType< UpdateDrainResponseBodyAiGateway, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyAiGatewayFromJSON( jsonString: string, @@ -3179,7 +3376,7 @@ export const UpdateDrainResponseBodyAnalytics$inboundSchema: z.ZodType< UpdateDrainResponseBodyAnalytics, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyAnalyticsFromJSON( jsonString: string, @@ -3196,7 +3393,7 @@ export const UpdateDrainResponseBodyAuditLog$inboundSchema: z.ZodType< UpdateDrainResponseBodyAuditLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyAuditLogFromJSON( jsonString: string, @@ -3213,7 +3410,7 @@ export const UpdateDrainResponseBodyConnect$inboundSchema: z.ZodType< UpdateDrainResponseBodyConnect, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyConnectFromJSON( jsonString: string, @@ -3230,7 +3427,7 @@ export const UpdateDrainResponseBodyLog$inboundSchema: z.ZodType< UpdateDrainResponseBodyLog, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyLogFromJSON( jsonString: string, @@ -3247,7 +3444,7 @@ export const UpdateDrainResponseBodySpeedInsights$inboundSchema: z.ZodType< UpdateDrainResponseBodySpeedInsights, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodySpeedInsightsFromJSON( jsonString: string, @@ -3265,7 +3462,7 @@ export const UpdateDrainResponseBodyTrace$inboundSchema: z.ZodType< UpdateDrainResponseBodyTrace, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateDrainResponseBodyTraceFromJSON( jsonString: string, @@ -3282,33 +3479,35 @@ export const UpdateDrainResponseBodySchemas$inboundSchema: z.ZodType< UpdateDrainResponseBodySchemas, z.ZodTypeDef, unknown -> = z.object({ - ai_gateway: types.optional( - z.lazy(() => UpdateDrainResponseBodyAiGateway$inboundSchema), - ), - analytics: types.optional( - z.lazy(() => UpdateDrainResponseBodyAnalytics$inboundSchema), - ), - audit_log: types.optional( - z.lazy(() => UpdateDrainResponseBodyAuditLog$inboundSchema), - ), - connect: types.optional( - z.lazy(() => UpdateDrainResponseBodyConnect$inboundSchema), - ), - log: types.optional(z.lazy(() => UpdateDrainResponseBodyLog$inboundSchema)), - speed_insights: types.optional( - z.lazy(() => UpdateDrainResponseBodySpeedInsights$inboundSchema), - ), - trace: types.optional( - z.lazy(() => UpdateDrainResponseBodyTrace$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "ai_gateway": "aiGateway", - "audit_log": "auditLog", - "speed_insights": "speedInsights", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_gateway: types.optional( + z.lazy(() => UpdateDrainResponseBodyAiGateway$inboundSchema), + ), + analytics: types.optional( + z.lazy(() => UpdateDrainResponseBodyAnalytics$inboundSchema), + ), + audit_log: types.optional( + z.lazy(() => UpdateDrainResponseBodyAuditLog$inboundSchema), + ), + connect: types.optional( + z.lazy(() => UpdateDrainResponseBodyConnect$inboundSchema), + ), + log: types.optional(z.lazy(() => UpdateDrainResponseBodyLog$inboundSchema)), + speed_insights: types.optional( + z.lazy(() => UpdateDrainResponseBodySpeedInsights$inboundSchema), + ), + trace: types.optional( + z.lazy(() => UpdateDrainResponseBodyTrace$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "ai_gateway": "aiGateway", + "audit_log": "auditLog", + "speed_insights": "speedInsights", + }); + }) +); export function updateDrainResponseBodySchemasFromJSON( jsonString: string, @@ -3325,13 +3524,15 @@ export const UpdateDrainSourceDrains2$inboundSchema: z.ZodType< UpdateDrainSourceDrains2, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function updateDrainSourceDrains2FromJSON( jsonString: string, @@ -3346,17 +3547,21 @@ export function updateDrainSourceDrains2FromJSON( /** @internal */ export const UpdateDrainSourceDefaultFor$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainSourceDefaultFor -> = z.nativeEnum(UpdateDrainSourceDefaultFor); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainSourceDefaultFor) +); /** @internal */ export const UpdateDrainSourceDrains1$inboundSchema: z.ZodType< UpdateDrainSourceDrains1, z.ZodTypeDef, unknown -> = z.object({ - defaultFor: types.optional(UpdateDrainSourceDefaultFor$inboundSchema), - kind: types.literal("self-served"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultFor: types.optional(UpdateDrainSourceDefaultFor$inboundSchema), + kind: types.literal("self-served"), + }) +); export function updateDrainSourceDrains1FromJSON( jsonString: string, @@ -3373,10 +3578,12 @@ export const UpdateDrainResponseBodySource$inboundSchema: z.ZodType< UpdateDrainResponseBodySource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), - z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), + z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), + ]) +); export function updateDrainResponseBodySourceFromJSON( jsonString: string, @@ -3391,32 +3598,40 @@ export function updateDrainResponseBodySourceFromJSON( /** @internal */ export const UpdateDrainResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyStatus -> = z.nativeEnum(UpdateDrainResponseBodyStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyStatus) +); /** @internal */ export const UpdateDrainResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyState -> = z.nativeEnum(UpdateDrainResponseBodyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyState) +); /** @internal */ export const UpdateDrainResponseBodyWindow$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyWindow -> = z.nativeEnum(UpdateDrainResponseBodyWindow); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyWindow) +); /** @internal */ export const UpdateDrainResponseBodyDeliveryStats$inboundSchema: z.ZodType< UpdateDrainResponseBodyDeliveryStats, z.ZodTypeDef, unknown -> = z.object({ - attempts: types.number(), - failures: types.number(), - state: UpdateDrainResponseBodyState$inboundSchema, - totalFailedDeliveries: types.number(), - totalRetriedDeliveries: types.number(), - totalSuccessfulDeliveries: types.number(), - window: UpdateDrainResponseBodyWindow$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attempts: types.number(), + failures: types.number(), + state: UpdateDrainResponseBodyState$inboundSchema, + totalFailedDeliveries: types.number(), + totalRetriedDeliveries: types.number(), + totalSuccessfulDeliveries: types.number(), + window: UpdateDrainResponseBodyWindow$inboundSchema, + }) +); export function updateDrainResponseBodyDeliveryStatsFromJSON( jsonString: string, @@ -3434,10 +3649,12 @@ export const UpdateDrainFilterDrainsResponse2$inboundSchema: z.ZodType< UpdateDrainFilterDrainsResponse2, z.ZodTypeDef, unknown -> = z.object({ - text: types.string(), - type: types.literal("odata"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + text: types.string(), + type: types.literal("odata"), + }) +); export function updateDrainFilterDrainsResponse2FromJSON( jsonString: string, @@ -3452,18 +3669,22 @@ export function updateDrainFilterDrainsResponse2FromJSON( /** @internal */ export const UpdateDrainFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainFilterDrainsEnvironments -> = z.nativeEnum(UpdateDrainFilterDrainsEnvironments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainFilterDrainsEnvironments) +); /** @internal */ export const UpdateDrainFilterDeployment$inboundSchema: z.ZodType< UpdateDrainFilterDeployment, z.ZodTypeDef, unknown -> = z.object({ - environments: types.optional( - z.array(UpdateDrainFilterDrainsEnvironments$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: types.optional( + z.array(UpdateDrainFilterDrainsEnvironments$inboundSchema), + ), + }) +); export function updateDrainFilterDeploymentFromJSON( jsonString: string, @@ -3478,23 +3699,28 @@ export function updateDrainFilterDeploymentFromJSON( /** @internal */ export const UpdateDrainFilterDrainsSources$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainFilterDrainsSources -> = z.nativeEnum(UpdateDrainFilterDrainsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainFilterDrainsSources) +); /** @internal */ export const UpdateDrainFilterLog$inboundSchema: z.ZodType< UpdateDrainFilterLog, z.ZodTypeDef, unknown -> = z.object({ - legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), - sources: types.optional( - z.array(UpdateDrainFilterDrainsSources$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy_excludeCachedStaticAssetLogs: types.optional(types.boolean()), + sources: types.optional( + z.array(UpdateDrainFilterDrainsSources$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": + "legacyExcludeCachedStaticAssetLogs", + }); + }) +); export function updateDrainFilterLogFromJSON( jsonString: string, @@ -3511,9 +3737,11 @@ export const UpdateDrainFilterDrainsProject$inboundSchema: z.ZodType< UpdateDrainFilterDrainsProject, z.ZodTypeDef, unknown -> = z.object({ - ids: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ids: types.optional(z.array(types.string())), + }) +); export function updateDrainFilterDrainsProjectFromJSON( jsonString: string, @@ -3530,16 +3758,18 @@ export const UpdateDrainFilterDrains1$inboundSchema: z.ZodType< UpdateDrainFilterDrains1, z.ZodTypeDef, unknown -> = z.object({ - deployment: types.optional( - z.lazy(() => UpdateDrainFilterDeployment$inboundSchema), - ), - log: types.optional(z.lazy(() => UpdateDrainFilterLog$inboundSchema)), - project: types.optional( - z.lazy(() => UpdateDrainFilterDrainsProject$inboundSchema), - ), - type: types.literal("basic"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: types.optional( + z.lazy(() => UpdateDrainFilterDeployment$inboundSchema), + ), + log: types.optional(z.lazy(() => UpdateDrainFilterLog$inboundSchema)), + project: types.optional( + z.lazy(() => UpdateDrainFilterDrainsProject$inboundSchema), + ), + type: types.literal("basic"), + }) +); export function updateDrainFilterDrains1FromJSON( jsonString: string, @@ -3556,10 +3786,12 @@ export const UpdateDrainResponseBodyFilter$inboundSchema: z.ZodType< UpdateDrainResponseBodyFilter, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), - z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), + ]) +); export function updateDrainResponseBodyFilterFromJSON( jsonString: string, @@ -3574,20 +3806,24 @@ export function updateDrainResponseBodyFilterFromJSON( /** @internal */ export const UpdateDrainResponseBodyVersion$inboundSchema: z.ZodNativeEnum< typeof UpdateDrainResponseBodyVersion -> = z.nativeEnum(UpdateDrainResponseBodyVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateDrainResponseBodyVersion) +); /** @internal */ export const UpdateDrainResponseBodyFilterV2$inboundSchema: z.ZodType< UpdateDrainResponseBodyFilterV2, z.ZodTypeDef, unknown -> = z.object({ - filter: z.union([ - z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), - z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), - ]), - version: UpdateDrainResponseBodyVersion$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), + ]), + version: UpdateDrainResponseBodyVersion$inboundSchema, + }) +); export function updateDrainResponseBodyFilterV2FromJSON( jsonString: string, @@ -3604,43 +3840,45 @@ export const UpdateDrainResponseBody1$inboundSchema: z.ZodType< UpdateDrainResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - delivery: z.union([ - z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), - z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), - z.lazy(() => UpdateDrainDelivery4$inboundSchema), - z.lazy(() => UpdateDrainDelivery5$inboundSchema), - ]), - disabledAt: types.optional(types.number()), - disabledBy: types.optional(types.string()), - disabledReason: types.optional( - UpdateDrainResponseBodyDisabledReason$inboundSchema, - ), - firstErrorTimestamp: types.optional(types.number()), - id: types.string(), - name: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), - sampling: types.optional( - z.array(z.lazy(() => UpdateDrainResponseBodySampling$inboundSchema)), - ), - schemas: z.lazy(() => UpdateDrainResponseBodySchemas$inboundSchema), - source: z.union([ - z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), - z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), - ]), - status: types.optional(UpdateDrainResponseBodyStatus$inboundSchema), - teamId: z.nullable(types.string()).optional(), - updatedAt: types.number(), - deliveryStats: types.optional( - z.lazy(() => UpdateDrainResponseBodyDeliveryStats$inboundSchema), - ), - filterV2: types.optional( - z.lazy(() => UpdateDrainResponseBodyFilterV2$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => UpdateDrainDelivery4$inboundSchema), + z.lazy(() => UpdateDrainDelivery5$inboundSchema), + ]), + disabledAt: types.optional(types.number()), + disabledBy: types.optional(types.string()), + disabledReason: types.optional( + UpdateDrainResponseBodyDisabledReason$inboundSchema, + ), + firstErrorTimestamp: types.optional(types.number()), + id: types.string(), + name: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + sampling: types.optional( + z.array(z.lazy(() => UpdateDrainResponseBodySampling$inboundSchema)), + ), + schemas: z.lazy(() => UpdateDrainResponseBodySchemas$inboundSchema), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), + z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), + ]), + status: types.optional(UpdateDrainResponseBodyStatus$inboundSchema), + teamId: z.nullable(types.string()).optional(), + updatedAt: types.number(), + deliveryStats: types.optional( + z.lazy(() => UpdateDrainResponseBodyDeliveryStats$inboundSchema), + ), + filterV2: types.optional( + z.lazy(() => UpdateDrainResponseBodyFilterV2$inboundSchema), + ), + }) +); export function updateDrainResponseBody1FromJSON( jsonString: string, @@ -3657,10 +3895,12 @@ export const UpdateDrainResponseBody$inboundSchema: z.ZodType< UpdateDrainResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateDrainResponseBody1$inboundSchema), - z.lazy(() => UpdateDrainResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateDrainResponseBody1$inboundSchema), + z.lazy(() => UpdateDrainResponseBody2$inboundSchema), + ]) +); export function updateDrainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateedgeconfigop.ts b/src/models/updateedgeconfigop.ts index 73fd432eb7..46a7012a5e 100644 --- a/src/models/updateedgeconfigop.ts +++ b/src/models/updateedgeconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -57,9 +57,11 @@ export const UpdateEdgeConfigRequestBody$outboundSchema: z.ZodType< UpdateEdgeConfigRequestBody$Outbound, z.ZodTypeDef, UpdateEdgeConfigRequestBody -> = z.object({ - slug: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + }) +); export function updateEdgeConfigRequestBodyToJSON( updateEdgeConfigRequestBody: UpdateEdgeConfigRequestBody, @@ -84,16 +86,18 @@ export const UpdateEdgeConfigRequest$outboundSchema: z.ZodType< UpdateEdgeConfigRequest$Outbound, z.ZodTypeDef, UpdateEdgeConfigRequest -> = z.object({ - edgeConfigId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateEdgeConfigRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateEdgeConfigRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateEdgeConfigRequestToJSON( updateEdgeConfigRequest: UpdateEdgeConfigRequest, @@ -108,17 +112,19 @@ export const UpdateEdgeConfigResponseBody$inboundSchema: z.ZodType< UpdateEdgeConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.optional(types.string()), - digest: types.string(), - id: types.string(), - itemCount: types.number(), - ownerId: types.string(), - sizeInBytes: types.number(), - slug: types.string(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.optional(types.string()), + digest: types.string(), + id: types.string(), + itemCount: types.number(), + ownerId: types.string(), + sizeInBytes: types.number(), + slug: types.string(), + updatedAt: types.number(), + }) +); export function updateEdgeConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatefirewallconfigop.ts b/src/models/updatefirewallconfigop.ts index 0af8113c07..024ebc601c 100644 --- a/src/models/updatefirewallconfigop.ts +++ b/src/models/updatefirewallconfigop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -1215,11 +1215,13 @@ export const RequestBody23$outboundSchema: z.ZodType< RequestBody23$Outbound, z.ZodTypeDef, RequestBody23 -> = z.object({ - action: z.string(), - id: z.string().optional(), - value: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string().optional(), + value: z.any().optional(), + }) +); export function requestBody23ToJSON(requestBody23: RequestBody23): string { return JSON.stringify(RequestBody23$outboundSchema.parse(requestBody23)); @@ -1237,11 +1239,13 @@ export const RequestBody22$outboundSchema: z.ZodType< RequestBody22$Outbound, z.ZodTypeDef, RequestBody22 -> = z.object({ - action: z.string(), - id: z.string().optional(), - value: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string().optional(), + value: z.boolean(), + }) +); export function requestBody22ToJSON(requestBody22: RequestBody22): string { return JSON.stringify(RequestBody22$outboundSchema.parse(requestBody22)); @@ -1250,13 +1254,17 @@ export function requestBody22ToJSON(requestBody22: RequestBody22): string { /** @internal */ export const UpdateFirewallConfigRequestBodyId$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodyId -> = z.nativeEnum(UpdateFirewallConfigRequestBodyId); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodyId) +); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest21Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest21Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest21Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest21Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest21Value$Outbound = { @@ -1270,12 +1278,14 @@ export const UpdateFirewallConfigRequestBodySecurityRequest21Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest21Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest21Value - > = z.object({ - active: z.boolean(), - action: - UpdateFirewallConfigRequestBodySecurityRequest21Action$outboundSchema - .optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + UpdateFirewallConfigRequestBodySecurityRequest21Action$outboundSchema + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest21ValueToJSON( updateFirewallConfigRequestBodySecurityRequest21Value: @@ -1302,15 +1312,15 @@ export const RequestBody21$outboundSchema: z.ZodType< RequestBody21$Outbound, z.ZodTypeDef, RequestBody21 -> = z.object({ - action: z.string(), - id: UpdateFirewallConfigRequestBodyId$outboundSchema, - value: z.record( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: UpdateFirewallConfigRequestBodyId$outboundSchema, + value: z.record(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequest21Value$outboundSchema - ), - ), -}); + )), + }) +); export function requestBody21ToJSON(requestBody21: RequestBody21): string { return JSON.stringify(RequestBody21$outboundSchema.parse(requestBody21)); @@ -1319,13 +1329,15 @@ export function requestBody21ToJSON(requestBody21: RequestBody21): string { /** @internal */ export const RequestBodyId$outboundSchema: z.ZodNativeEnum< typeof RequestBodyId -> = z.nativeEnum(RequestBodyId); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyId)); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest20Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest20Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest20Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest20Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest20Value$Outbound = { @@ -1339,12 +1351,14 @@ export const UpdateFirewallConfigRequestBodySecurityRequest20Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest20Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest20Value - > = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest20Action$outboundSchema - .optional(), - active: z.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest20Action$outboundSchema + .optional(), + active: z.boolean(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest20ValueToJSON( updateFirewallConfigRequestBodySecurityRequest20Value: @@ -1369,13 +1383,15 @@ export const RequestBody20$outboundSchema: z.ZodType< RequestBody20$Outbound, z.ZodTypeDef, RequestBody20 -> = z.object({ - action: z.string(), - id: RequestBodyId$outboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest20Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: RequestBodyId$outboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest20Value$outboundSchema + ), + }) +); export function requestBody20ToJSON(requestBody20: RequestBody20): string { return JSON.stringify(RequestBody20$outboundSchema.parse(requestBody20)); @@ -1393,11 +1409,13 @@ export const RequestBody19$outboundSchema: z.ZodType< RequestBody19$Outbound, z.ZodTypeDef, RequestBody19 -> = z.object({ - action: z.string(), - id: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string(), + value: z.string().optional(), + }) +); export function requestBody19ToJSON(requestBody19: RequestBody19): string { return JSON.stringify(RequestBody19$outboundSchema.parse(requestBody19)); @@ -1407,7 +1425,9 @@ export function requestBody19ToJSON(requestBody19: RequestBody19): string { export const UpdateFirewallConfigRequestBodySecurityRequest18Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest18Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest18Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest18Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest18Value$Outbound = { @@ -1423,13 +1443,15 @@ export const UpdateFirewallConfigRequestBodySecurityRequest18Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest18Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest18Value - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest18Action$outboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest18Action$outboundSchema, + }) + ); export function updateFirewallConfigRequestBodySecurityRequest18ValueToJSON( updateFirewallConfigRequestBodySecurityRequest18Value: @@ -1454,13 +1476,15 @@ export const RequestBody18$outboundSchema: z.ZodType< RequestBody18$Outbound, z.ZodTypeDef, RequestBody18 -> = z.object({ - action: z.string(), - id: z.string(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest18Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest18Value$outboundSchema + ), + }) +); export function requestBody18ToJSON(requestBody18: RequestBody18): string { return JSON.stringify(RequestBody18$outboundSchema.parse(requestBody18)); @@ -1470,7 +1494,9 @@ export function requestBody18ToJSON(requestBody18: RequestBody18): string { export const UpdateFirewallConfigRequestBodySecurityRequest17Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest17Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest17Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest17Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest17Value$Outbound = { @@ -1486,13 +1512,15 @@ export const UpdateFirewallConfigRequestBodySecurityRequest17Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest17Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest17Value - > = z.object({ - hostname: z.string(), - ip: z.string(), - notes: z.string().optional(), - action: - UpdateFirewallConfigRequestBodySecurityRequest17Action$outboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + hostname: z.string(), + ip: z.string(), + notes: z.string().optional(), + action: + UpdateFirewallConfigRequestBodySecurityRequest17Action$outboundSchema, + }) + ); export function updateFirewallConfigRequestBodySecurityRequest17ValueToJSON( updateFirewallConfigRequestBodySecurityRequest17Value: @@ -1517,13 +1545,15 @@ export const RequestBody17$outboundSchema: z.ZodType< RequestBody17$Outbound, z.ZodTypeDef, RequestBody17 -> = z.object({ - action: z.string(), - id: z.string().optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest17Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string().optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest17Value$outboundSchema + ), + }) +); export function requestBody17ToJSON(requestBody17: RequestBody17): string { return JSON.stringify(RequestBody17$outboundSchema.parse(requestBody17)); @@ -1541,24 +1571,29 @@ export const RequestBody16$outboundSchema: z.ZodType< RequestBody16$Outbound, z.ZodTypeDef, RequestBody16 -> = z.object({ - action: z.string(), - id: z.string().optional(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string().optional(), + value: z.string().optional(), + }) +); export function requestBody16ToJSON(requestBody16: RequestBody16): string { return JSON.stringify(RequestBody16$outboundSchema.parse(requestBody16)); } /** @internal */ -export const Id$outboundSchema: z.ZodNativeEnum = z.nativeEnum(Id); +export const Id$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Id)); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest15Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest15Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest15Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest15Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest15Value$Outbound = { @@ -1572,11 +1607,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest15Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest15Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest15Value - > = z.object({ - active: z.boolean(), - action: - UpdateFirewallConfigRequestBodySecurityRequest15Action$outboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + action: + UpdateFirewallConfigRequestBodySecurityRequest15Action$outboundSchema, + }) + ); export function updateFirewallConfigRequestBodySecurityRequest15ValueToJSON( updateFirewallConfigRequestBodySecurityRequest15Value: @@ -1601,13 +1638,15 @@ export const RequestBody15$outboundSchema: z.ZodType< RequestBody15$Outbound, z.ZodTypeDef, RequestBody15 -> = z.object({ - action: z.string(), - id: Id$outboundSchema, - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest15Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: Id$outboundSchema, + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest15Value$outboundSchema + ), + }) +); export function requestBody15ToJSON(requestBody15: RequestBody15): string { return JSON.stringify(RequestBody15$outboundSchema.parse(requestBody15)); @@ -1625,11 +1664,13 @@ export const RequestBody14$outboundSchema: z.ZodType< RequestBody14$Outbound, z.ZodTypeDef, RequestBody14 -> = z.object({ - action: z.string(), - id: z.string(), - value: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string(), + value: z.number(), + }) +); export function requestBody14ToJSON(requestBody14: RequestBody14): string { return JSON.stringify(RequestBody14$outboundSchema.parse(requestBody14)); @@ -1647,11 +1688,13 @@ export const RequestBody13$outboundSchema: z.ZodType< RequestBody13$Outbound, z.ZodTypeDef, RequestBody13 -> = z.object({ - action: z.string(), - id: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string(), + value: z.string().optional(), + }) +); export function requestBody13ToJSON(requestBody13: RequestBody13): string { return JSON.stringify(RequestBody13$outboundSchema.parse(requestBody13)); @@ -1660,12 +1703,16 @@ export function requestBody13ToJSON(requestBody13: RequestBody13): string { /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest12Type$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12Type) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest12Op$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12Op); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12Op) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$Outbound = @@ -1679,7 +1726,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$outbound UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ValueValue - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest12ValueValueToJSON( updateFirewallConfigRequestBodySecurityRequest12ValueValue: @@ -1707,13 +1756,16 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12Conditions$outbound UpdateFirewallConfigRequestBodySecurityRequest12Conditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Conditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityRequest12Type$outboundSchema, - op: UpdateFirewallConfigRequestBodySecurityRequest12Op$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodySecurityRequest12Type$outboundSchema, + op: UpdateFirewallConfigRequestBodySecurityRequest12Op$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest12ConditionsToJSON( updateFirewallConfigRequestBodySecurityRequest12Conditions: @@ -1739,13 +1791,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$outb UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequest12Conditions$outboundSchema - ), - ), - }); + )), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest12ConditionGroupToJSON( updateFirewallConfigRequestBodySecurityRequest12ConditionGroup: @@ -1761,18 +1813,23 @@ export function updateFirewallConfigRequestBodySecurityRequest12ConditionGroupTo export const UpdateFirewallConfigRequestBodySecurityRequest12ValueAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest12ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12ValueAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12ValueAction) + ); /** @internal */ export const UpdateFirewallConfigRateLimitAlgo$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRateLimitAlgo -> = z.nativeEnum(UpdateFirewallConfigRateLimitAlgo); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRateLimitAlgo) +); /** @internal */ export const UpdateFirewallConfigActionSecurity1$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFirewallConfigActionSecurity1, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigActionSecurity1) + ); /** @internal */ export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = @@ -1785,10 +1842,9 @@ export const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema: UpdateFirewallConfigRateLimitSecurityAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitSecurityAction - > = smartUnion([ - UpdateFirewallConfigActionSecurity1$outboundSchema, - z.string(), - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([UpdateFirewallConfigActionSecurity1$outboundSchema, z.string()]) + ); export function updateFirewallConfigRateLimitSecurityActionToJSON( updateFirewallConfigRateLimitSecurityAction: @@ -1815,16 +1871,18 @@ export const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType< UpdateFirewallConfigRateLimitSecurity1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitSecurity1 -> = z.object({ - algo: UpdateFirewallConfigRateLimitAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: smartUnion([ - UpdateFirewallConfigActionSecurity1$outboundSchema, - z.string(), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algo: UpdateFirewallConfigRateLimitAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: smartUnion([ + UpdateFirewallConfigActionSecurity1$outboundSchema, + z.string(), + ]).optional(), + }) +); export function updateFirewallConfigRateLimitSecurity1ToJSON( updateFirewallConfigRateLimitSecurity1: @@ -1847,10 +1905,12 @@ export const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBodyRateLimit$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyRateLimit -> = smartUnion([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), + z.string(), + ]) +); export function updateFirewallConfigRequestBodyRateLimitToJSON( updateFirewallConfigRequestBodyRateLimit: @@ -1874,10 +1934,12 @@ export const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType< UpdateFirewallConfigRedirectSecurity1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRedirectSecurity1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: z.string(), + permanent: z.boolean(), + }) +); export function updateFirewallConfigRedirectSecurity1ToJSON( updateFirewallConfigRedirectSecurity1: UpdateFirewallConfigRedirectSecurity1, @@ -1899,10 +1961,12 @@ export const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBodyRedirect$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyRedirect -> = smartUnion([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), + z.string(), + ]) +); export function updateFirewallConfigRequestBodyRedirectToJSON( updateFirewallConfigRequestBodyRedirect: @@ -1926,7 +1990,9 @@ export const UpdateFirewallConfigRequestBodyLogHeaders$outboundSchema: UpdateFirewallConfigRequestBodyLogHeaders$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyLogHeaders - > = smartUnion([z.string(), z.array(z.string())]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string())]) + ); export function updateFirewallConfigRequestBodyLogHeadersToJSON( updateFirewallConfigRequestBodyLogHeaders: @@ -1961,21 +2027,23 @@ export const UpdateFirewallConfigRequestBodySecurityRequestMitigate$outboundSche UpdateFirewallConfigRequestBodySecurityRequestMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestMitigate - > = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest12ValueAction$outboundSchema, - rateLimit: smartUnion([ - z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), - z.string(), - ]).optional(), - redirect: smartUnion([ - z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), - z.string(), - ]).optional(), - actionDuration: z.nullable(z.string()).optional(), - bypassSystem: z.nullable(z.boolean()).optional(), - logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest12ValueAction$outboundSchema, + rateLimit: smartUnion([ + z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema), + z.string(), + ]).optional(), + redirect: smartUnion([ + z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema), + z.string(), + ]).optional(), + actionDuration: z.nullable(z.string()).optional(), + bypassSystem: z.nullable(z.boolean()).optional(), + logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequestMitigateToJSON( updateFirewallConfigRequestBodySecurityRequestMitigate: @@ -2001,11 +2069,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSche UpdateFirewallConfigRequestBodySecurityRequest12Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Action - > = z.object({ - mitigate: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequestMitigate$outboundSchema - ).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequestMitigate$outboundSchema + ).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest12ActionToJSON( updateFirewallConfigRequestBodySecurityRequest12Action: @@ -2029,7 +2099,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors$ou UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors - > = smartUnion([z.array(z.string()), z.string()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function updateFirewallConfigRequestBodySecurityRequest12ValidationErrorsToJSON( updateFirewallConfigRequestBodySecurityRequest12ValidationErrors: @@ -2060,21 +2132,22 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Value - > = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$outboundSchema + )), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema ), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema - ), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), - }); + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest12ValueToJSON( updateFirewallConfigRequestBodySecurityRequest12Value: @@ -2099,13 +2172,15 @@ export const RequestBody12$outboundSchema: z.ZodType< RequestBody12$Outbound, z.ZodTypeDef, RequestBody12 -> = z.object({ - action: z.string(), - id: z.string(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.string(), + id: z.string(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchema + ), + }) +); export function requestBody12ToJSON(requestBody12: RequestBody12): string { return JSON.stringify(RequestBody12$outboundSchema.parse(requestBody12)); @@ -2115,17 +2190,23 @@ export function requestBody12ToJSON(requestBody12: RequestBody12): string { export const UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest11Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Action) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest11Type$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Type) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest11Op$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Op); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11Op) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$Outbound = @@ -2139,7 +2220,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$outbound UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValueValue - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest11ValueValueToJSON( updateFirewallConfigRequestBodySecurityRequest11ValueValue: @@ -2167,13 +2250,16 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11Conditions$outbound UpdateFirewallConfigRequestBodySecurityRequest11Conditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11Conditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityRequest11Type$outboundSchema, - op: UpdateFirewallConfigRequestBodySecurityRequest11Op$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodySecurityRequest11Type$outboundSchema, + op: UpdateFirewallConfigRequestBodySecurityRequest11Op$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest11ConditionsToJSON( updateFirewallConfigRequestBodySecurityRequest11Conditions: @@ -2199,13 +2285,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$outb UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequest11Conditions$outboundSchema - ), - ), - }); + )), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest11ConditionGroupToJSON( updateFirewallConfigRequestBodySecurityRequest11ConditionGroup: @@ -2221,19 +2307,23 @@ export function updateFirewallConfigRequestBodySecurityRequest11ConditionGroupTo export const UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction - > = z.nativeEnum( - UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction, + ) ); /** @internal */ export const RateLimitAlgo$outboundSchema: z.ZodNativeEnum< typeof RateLimitAlgo -> = z.nativeEnum(RateLimitAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RateLimitAlgo)); /** @internal */ export const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigAction1 -> = z.nativeEnum(UpdateFirewallConfigAction1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigAction1) +); /** @internal */ export type UpdateFirewallConfigRateLimitAction$Outbound = string | string; @@ -2243,7 +2333,9 @@ export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType< UpdateFirewallConfigRateLimitAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitAction -> = smartUnion([UpdateFirewallConfigAction1$outboundSchema, z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([UpdateFirewallConfigAction1$outboundSchema, z.string()]) +); export function updateFirewallConfigRateLimitActionToJSON( updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction, @@ -2269,14 +2361,16 @@ export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType< UpdateFirewallConfigRateLimit1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimit1 -> = z.object({ - algo: RateLimitAlgo$outboundSchema, - window: z.number(), - limit: z.number(), - keys: z.array(z.string()), - action: smartUnion([UpdateFirewallConfigAction1$outboundSchema, z.string()]) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algo: RateLimitAlgo$outboundSchema, + window: z.number(), + limit: z.number(), + keys: z.array(z.string()), + action: smartUnion([UpdateFirewallConfigAction1$outboundSchema, z.string()]) + .optional(), + }) +); export function updateFirewallConfigRateLimit1ToJSON( updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1, @@ -2298,10 +2392,12 @@ export const RequestBodyRateLimit$outboundSchema: z.ZodType< RequestBodyRateLimit$Outbound, z.ZodTypeDef, RequestBodyRateLimit -> = smartUnion([ - z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), + z.string(), + ]) +); export function requestBodyRateLimitToJSON( requestBodyRateLimit: RequestBodyRateLimit, @@ -2322,10 +2418,12 @@ export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType< UpdateFirewallConfigRedirect1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRedirect1 -> = z.object({ - location: z.string(), - permanent: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: z.string(), + permanent: z.boolean(), + }) +); export function updateFirewallConfigRedirect1ToJSON( updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1, @@ -2347,10 +2445,12 @@ export const RequestBodyRedirect$outboundSchema: z.ZodType< RequestBodyRedirect$Outbound, z.ZodTypeDef, RequestBodyRedirect -> = smartUnion([ - z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), + z.string(), + ]) +); export function requestBodyRedirectToJSON( requestBodyRedirect: RequestBodyRedirect, @@ -2368,7 +2468,9 @@ export const RequestBodyLogHeaders$outboundSchema: z.ZodType< RequestBodyLogHeaders$Outbound, z.ZodTypeDef, RequestBodyLogHeaders -> = smartUnion([z.string(), z.array(z.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string())]) +); export function requestBodyLogHeadersToJSON( requestBodyLogHeaders: RequestBodyLogHeaders, @@ -2394,21 +2496,23 @@ export const UpdateFirewallConfigRequestBodySecurityMitigate$outboundSchema: UpdateFirewallConfigRequestBodySecurityMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityMitigate - > = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction$outboundSchema, - rateLimit: smartUnion([ - z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), - z.string(), - ]).optional(), - redirect: smartUnion([ - z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), - z.string(), - ]).optional(), - actionDuration: z.nullable(z.string()).optional(), - bypassSystem: z.nullable(z.boolean()).optional(), - logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction$outboundSchema, + rateLimit: smartUnion([ + z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema), + z.string(), + ]).optional(), + redirect: smartUnion([ + z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema), + z.string(), + ]).optional(), + actionDuration: z.nullable(z.string()).optional(), + bypassSystem: z.nullable(z.boolean()).optional(), + logHeaders: smartUnion([z.string(), z.array(z.string())]).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityMitigateToJSON( updateFirewallConfigRequestBodySecurityMitigate: @@ -2435,11 +2539,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboun UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValueAction - > = z.object({ - mitigate: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityMitigate$outboundSchema - ).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityMitigate$outboundSchema + ).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest11ValueActionToJSON( updateFirewallConfigRequestBodySecurityRequest11ValueAction: @@ -2462,7 +2568,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors$ou UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors - > = smartUnion([z.array(z.string()), z.string()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function updateFirewallConfigRequestBodySecurityRequest11ValidationErrorsToJSON( updateFirewallConfigRequestBodySecurityRequest11ValidationErrors: @@ -2493,21 +2601,22 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11Value - > = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$outboundSchema + )), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema ), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema - ), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), - }); + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest11ValueToJSON( updateFirewallConfigRequestBodySecurityRequest11Value: @@ -2532,13 +2641,16 @@ export const RequestBody11$outboundSchema: z.ZodType< RequestBody11$Outbound, z.ZodTypeDef, RequestBody11 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema, - id: z.string().optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema, + id: z.string().optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema + ), + }) +); export function requestBody11ToJSON(requestBody11: RequestBody11): string { return JSON.stringify(RequestBody11$outboundSchema.parse(requestBody11)); @@ -2548,7 +2660,9 @@ export function requestBody11ToJSON(requestBody11: RequestBody11): string { export const UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest10Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest10Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest10Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBody10$Outbound = { @@ -2562,11 +2676,14 @@ export const UpdateFirewallConfigRequestBody10$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody10$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody10 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema, - id: z.string().optional(), - value: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema, + id: z.string().optional(), + value: z.nullable(z.any()).optional(), + }) +); export function updateFirewallConfigRequestBody10ToJSON( updateFirewallConfigRequestBody10: UpdateFirewallConfigRequestBody10, @@ -2582,7 +2699,9 @@ export function updateFirewallConfigRequestBody10ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest9Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest9Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBody9$Outbound = { @@ -2596,11 +2715,14 @@ export const UpdateFirewallConfigRequestBody9$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody9$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody9 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema, - id: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema, + id: z.string(), + value: z.string().optional(), + }) +); export function updateFirewallConfigRequestBody9ToJSON( updateFirewallConfigRequestBody9: UpdateFirewallConfigRequestBody9, @@ -2616,13 +2738,17 @@ export function updateFirewallConfigRequestBody9ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest8Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8Action) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8ValueAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest8ValueAction) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest8Value$Outbound = { @@ -2635,10 +2761,12 @@ export const UpdateFirewallConfigRequestBodySecurityRequest8Value$outboundSchema UpdateFirewallConfigRequestBodySecurityRequest8Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest8Value - > = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema, + }) + ); export function updateFirewallConfigRequestBodySecurityRequest8ValueToJSON( updateFirewallConfigRequestBodySecurityRequest8Value: @@ -2663,13 +2791,16 @@ export const UpdateFirewallConfigRequestBody8$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody8$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody8 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest8Value$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest8Value$outboundSchema + ), + }) +); export function updateFirewallConfigRequestBody8ToJSON( updateFirewallConfigRequestBody8: UpdateFirewallConfigRequestBody8, @@ -2685,7 +2816,9 @@ export function updateFirewallConfigRequestBody8ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest7Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest7Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest7Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBody7$Outbound = { @@ -2699,11 +2832,14 @@ export const UpdateFirewallConfigRequestBody7$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody7$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody7 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.nullable(z.any()).optional(), + }) +); export function updateFirewallConfigRequestBody7ToJSON( updateFirewallConfigRequestBody7: UpdateFirewallConfigRequestBody7, @@ -2719,17 +2855,23 @@ export function updateFirewallConfigRequestBody7ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest6Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Action) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest6Type$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Type); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest6Type) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequestOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestOp) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest6Value$Outbound = @@ -2743,7 +2885,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest6Value$outboundSchema UpdateFirewallConfigRequestBodySecurityRequest6Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest6Value - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest6ValueToJSON( updateFirewallConfigRequestBodySecurityRequest6Value: @@ -2772,13 +2916,16 @@ export const UpdateFirewallConfigRequestBodySecurityRequestConditions$outboundSc UpdateFirewallConfigRequestBodySecurityRequestConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestConditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityRequest6Type$outboundSchema, - op: UpdateFirewallConfigRequestBodySecurityRequestOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodySecurityRequest6Type$outboundSchema, + op: UpdateFirewallConfigRequestBodySecurityRequestOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequestConditionsToJSON( updateFirewallConfigRequestBodySecurityRequestConditions: @@ -2804,13 +2951,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$outbou UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequestConditions$outboundSchema - ), - ), - }); + )), + }) + ); export function updateFirewallConfigRequestBodySecurityRequestConditionGroupToJSON( updateFirewallConfigRequestBodySecurityRequestConditionGroup: @@ -2833,7 +2980,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValidationErrors$outb UpdateFirewallConfigRequestBodySecurityRequestValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestValidationErrors - > = smartUnion([z.array(z.string()), z.string()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function updateFirewallConfigRequestBodySecurityRequestValidationErrorsToJSON( updateFirewallConfigRequestBodySecurityRequestValidationErrors: @@ -2863,18 +3012,19 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestValue - > = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$outboundSchema - ), - ), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), - }); + )), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequestValueToJSON( updateFirewallConfigRequestBodySecurityRequestValue: @@ -2899,13 +3049,16 @@ export const UpdateFirewallConfigRequestBody6$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody6$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody6 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema, - id: z.string(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema, + id: z.string(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema + ), + }) +); export function updateFirewallConfigRequestBody6ToJSON( updateFirewallConfigRequestBody6: UpdateFirewallConfigRequestBody6, @@ -2921,17 +3074,23 @@ export function updateFirewallConfigRequestBody6ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest5Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest5Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest5Action) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequestType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestType) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityOp$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityOp); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityOp) + ); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest5Value$Outbound = @@ -2945,7 +3104,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest5Value$outboundSchema UpdateFirewallConfigRequestBodySecurityRequest5Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest5Value - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest5ValueToJSON( updateFirewallConfigRequestBodySecurityRequest5Value: @@ -2973,13 +3134,16 @@ export const UpdateFirewallConfigRequestBodySecurityConditions$outboundSchema: UpdateFirewallConfigRequestBodySecurityConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityConditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityRequestType$outboundSchema, - op: UpdateFirewallConfigRequestBodySecurityOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodySecurityRequestType$outboundSchema, + op: UpdateFirewallConfigRequestBodySecurityOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityConditionsToJSON( updateFirewallConfigRequestBodySecurityConditions: @@ -3003,13 +3167,13 @@ export const UpdateFirewallConfigRequestBodySecurityConditionGroup$outboundSchem UpdateFirewallConfigRequestBodySecurityConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityConditions$outboundSchema - ), - ), - }); + )), + }) + ); export function updateFirewallConfigRequestBodySecurityConditionGroupToJSON( updateFirewallConfigRequestBodySecurityConditionGroup: @@ -3033,7 +3197,9 @@ export const UpdateFirewallConfigRequestBodySecurityValidationErrors$outboundSch UpdateFirewallConfigRequestBodySecurityValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityValidationErrors - > = smartUnion([z.array(z.string()), z.string()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function updateFirewallConfigRequestBodySecurityValidationErrorsToJSON( updateFirewallConfigRequestBodySecurityValidationErrors: @@ -3063,18 +3229,19 @@ export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema: UpdateFirewallConfigRequestBodySecurityValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityValue - > = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array(z.lazy(() => UpdateFirewallConfigRequestBodySecurityConditionGroup$outboundSchema - ), - ), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), - }); + )), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityValueToJSON( updateFirewallConfigRequestBodySecurityValue: @@ -3099,13 +3266,16 @@ export const UpdateFirewallConfigRequestBody5$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody5$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody5 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema, - id: z.string().optional(), - value: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityValue$outboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema, + id: z.string().optional(), + value: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityValue$outboundSchema + ), + }) +); export function updateFirewallConfigRequestBody5ToJSON( updateFirewallConfigRequestBody5: UpdateFirewallConfigRequestBody5, @@ -3121,7 +3291,9 @@ export function updateFirewallConfigRequestBody5ToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest4Action - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest4Action); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest4Action) + ); /** @internal */ export type UpdateFirewallConfigRequestBody4$Outbound = { @@ -3135,11 +3307,14 @@ export const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody4$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody4 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema, - id: z.string(), - value: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema, + id: z.string(), + value: z.nullable(z.any()).optional(), + }) +); export function updateFirewallConfigRequestBody4ToJSON( updateFirewallConfigRequestBody4: UpdateFirewallConfigRequestBody4, @@ -3154,7 +3329,9 @@ export function updateFirewallConfigRequestBody4ToJSON( /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestAction); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestAction) + ); /** @internal */ export type UpdateFirewallConfigRequestBody3$Outbound = { @@ -3168,11 +3345,13 @@ export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody3$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody3 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema, - id: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema, + id: z.string(), + value: z.string().optional(), + }) +); export function updateFirewallConfigRequestBody3ToJSON( updateFirewallConfigRequestBody3: UpdateFirewallConfigRequestBody3, @@ -3186,18 +3365,24 @@ export function updateFirewallConfigRequestBody3ToJSON( /** @internal */ export const UpdateFirewallConfigRequestBodySecurityAction$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityAction) + ); /** @internal */ export const UpdateFirewallConfigRequestBodySecurityType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateFirewallConfigRequestBodySecurityType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityType) + ); /** @internal */ export const UpdateFirewallConfigRequestBodyOp$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodyOp -> = z.nativeEnum(UpdateFirewallConfigRequestBodyOp); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodyOp) +); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound = @@ -3211,7 +3396,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest2Value - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest2ValueToJSON( updateFirewallConfigRequestBodySecurityRequest2Value: @@ -3239,13 +3426,16 @@ export const UpdateFirewallConfigRequestBodyConditions$outboundSchema: UpdateFirewallConfigRequestBodyConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyConditions - > = z.object({ - type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema, - op: UpdateFirewallConfigRequestBodyOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema, + op: UpdateFirewallConfigRequestBodyOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]) + .optional(), + }) + ); export function updateFirewallConfigRequestBodyConditionsToJSON( updateFirewallConfigRequestBodyConditions: @@ -3269,11 +3459,13 @@ export const UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema: UpdateFirewallConfigRequestBodyConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyConditionGroup - > = z.object({ - conditions: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditions$outboundSchema), - ), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => UpdateFirewallConfigRequestBodyConditions$outboundSchema), + ), + }) + ); export function updateFirewallConfigRequestBodyConditionGroupToJSON( updateFirewallConfigRequestBodyConditionGroup: @@ -3290,7 +3482,9 @@ export function updateFirewallConfigRequestBodyConditionGroupToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest2ValueAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest2ValueAction) + ); /** @internal */ export type UpdateFirewallConfigRequestBodyMitigate$Outbound = { @@ -3302,10 +3496,12 @@ export const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBodyMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyMitigate -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema, + }) +); export function updateFirewallConfigRequestBodyMitigateToJSON( updateFirewallConfigRequestBodyMitigate: @@ -3329,11 +3525,13 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest2Action - > = z.object({ - mitigate: z.lazy(() => - UpdateFirewallConfigRequestBodyMitigate$outboundSchema - ).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => + UpdateFirewallConfigRequestBodyMitigate$outboundSchema + ).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest2ActionToJSON( updateFirewallConfigRequestBodySecurityRequest2Action: @@ -3357,7 +3555,9 @@ export const UpdateFirewallConfigRequestBodyValidationErrors$outboundSchema: UpdateFirewallConfigRequestBodyValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyValidationErrors - > = smartUnion([z.array(z.string()), z.string()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) + ); export function updateFirewallConfigRequestBodyValidationErrorsToJSON( updateFirewallConfigRequestBodyValidationErrors: @@ -3388,19 +3588,23 @@ export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBodyValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyValue -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema - ).optional(), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => + UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema + ), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema + ).optional(), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), + }) +); export function updateFirewallConfigRequestBodyValueToJSON( updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue, @@ -3424,11 +3628,13 @@ export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody2$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody2 -> = z.object({ - action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema), + }) +); export function updateFirewallConfigRequestBody2ToJSON( updateFirewallConfigRequestBody2: UpdateFirewallConfigRequestBody2, @@ -3442,20 +3648,22 @@ export function updateFirewallConfigRequestBody2ToJSON( /** @internal */ export const UpdateFirewallConfigRequestBodyAction$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFirewallConfigRequestBodyAction, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodyAction) + ); /** @internal */ export const UpdateFirewallConfigRequestBodyType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFirewallConfigRequestBodyType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodyType) + ); /** @internal */ export const RequestBodyOp$outboundSchema: z.ZodNativeEnum< typeof RequestBodyOp -> = z.nativeEnum(RequestBodyOp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyOp)); /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest1Value$Outbound = @@ -3469,7 +3677,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest1Value$outboundSchema UpdateFirewallConfigRequestBodySecurityRequest1Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest1Value - > = smartUnion([z.string(), z.array(z.string()), z.number()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.array(z.string()), z.number()]) + ); export function updateFirewallConfigRequestBodySecurityRequest1ValueToJSON( updateFirewallConfigRequestBodySecurityRequest1Value: @@ -3496,13 +3706,15 @@ export const RequestBodyConditions$outboundSchema: z.ZodType< RequestBodyConditions$Outbound, z.ZodTypeDef, RequestBodyConditions -> = z.object({ - type: UpdateFirewallConfigRequestBodyType$outboundSchema, - op: RequestBodyOp$outboundSchema, - neg: z.boolean().optional(), - key: z.string().optional(), - value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFirewallConfigRequestBodyType$outboundSchema, + op: RequestBodyOp$outboundSchema, + neg: z.boolean().optional(), + key: z.string().optional(), + value: smartUnion([z.string(), z.array(z.string()), z.number()]).optional(), + }) +); export function requestBodyConditionsToJSON( requestBodyConditions: RequestBodyConditions, @@ -3522,9 +3734,11 @@ export const RequestBodyConditionGroup$outboundSchema: z.ZodType< RequestBodyConditionGroup$Outbound, z.ZodTypeDef, RequestBodyConditionGroup -> = z.object({ - conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)), + }) +); export function requestBodyConditionGroupToJSON( requestBodyConditionGroup: RequestBodyConditionGroup, @@ -3538,7 +3752,9 @@ export function requestBodyConditionGroupToJSON( export const UpdateFirewallConfigRequestBodySecurityRequest1ValueAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest1ValueAction - > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest1ValueAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest1ValueAction) + ); /** @internal */ export type RequestBodyMitigate$Outbound = { @@ -3550,10 +3766,12 @@ export const RequestBodyMitigate$outboundSchema: z.ZodType< RequestBodyMitigate$Outbound, z.ZodTypeDef, RequestBodyMitigate -> = z.object({ - action: - UpdateFirewallConfigRequestBodySecurityRequest1ValueAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: + UpdateFirewallConfigRequestBodySecurityRequest1ValueAction$outboundSchema, + }) +); export function requestBodyMitigateToJSON( requestBodyMitigate: RequestBodyMitigate, @@ -3574,9 +3792,11 @@ export const UpdateFirewallConfigRequestBodySecurityRequest1Action$outboundSchem UpdateFirewallConfigRequestBodySecurityRequest1Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest1Action - > = z.object({ - mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(), + }) + ); export function updateFirewallConfigRequestBodySecurityRequest1ActionToJSON( updateFirewallConfigRequestBodySecurityRequest1Action: @@ -3597,7 +3817,9 @@ export const RequestBodyValidationErrors$outboundSchema: z.ZodType< RequestBodyValidationErrors$Outbound, z.ZodTypeDef, RequestBodyValidationErrors -> = smartUnion([z.array(z.string()), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.string()), z.string()]) +); export function requestBodyValidationErrorsToJSON( requestBodyValidationErrors: RequestBodyValidationErrors, @@ -3627,19 +3849,21 @@ export const RequestBodyValue$outboundSchema: z.ZodType< RequestBodyValue$Outbound, z.ZodTypeDef, RequestBodyValue -> = z.object({ - name: z.string(), - description: z.string().optional(), - active: z.boolean(), - conditionGroup: z.array( - z.lazy(() => RequestBodyConditionGroup$outboundSchema), - ), - action: z.lazy(() => - UpdateFirewallConfigRequestBodySecurityRequest1Action$outboundSchema - ).optional(), - valid: z.boolean().optional(), - validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + description: z.string().optional(), + active: z.boolean(), + conditionGroup: z.array( + z.lazy(() => RequestBodyConditionGroup$outboundSchema), + ), + action: z.lazy(() => + UpdateFirewallConfigRequestBodySecurityRequest1Action$outboundSchema + ).optional(), + valid: z.boolean().optional(), + validationErrors: smartUnion([z.array(z.string()), z.string()]).optional(), + }) +); export function requestBodyValueToJSON( requestBodyValue: RequestBodyValue, @@ -3661,11 +3885,13 @@ export const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody1 -> = z.object({ - action: UpdateFirewallConfigRequestBodyAction$outboundSchema, - id: z.nullable(z.any()).optional(), - value: z.lazy(() => RequestBodyValue$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateFirewallConfigRequestBodyAction$outboundSchema, + id: z.nullable(z.any()).optional(), + value: z.lazy(() => RequestBodyValue$outboundSchema), + }) +); export function updateFirewallConfigRequestBody1ToJSON( updateFirewallConfigRequestBody1: UpdateFirewallConfigRequestBody1, @@ -3708,31 +3934,33 @@ export const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType< UpdateFirewallConfigRequestBody$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody -> = smartUnion([ - z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody6$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema), - z.lazy(() => RequestBody12$outboundSchema), - z.lazy(() => RequestBody14$outboundSchema), - z.lazy(() => RequestBody15$outboundSchema), - z.lazy(() => RequestBody18$outboundSchema), - z.lazy(() => RequestBody20$outboundSchema), - z.lazy(() => RequestBody21$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody9$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema), - z.lazy(() => RequestBody11$outboundSchema), - z.lazy(() => RequestBody13$outboundSchema), - z.lazy(() => RequestBody17$outboundSchema), - z.lazy(() => RequestBody19$outboundSchema), - z.lazy(() => RequestBody22$outboundSchema), - z.lazy(() => RequestBody23$outboundSchema), - z.lazy(() => RequestBody16$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody6$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema), + z.lazy(() => RequestBody12$outboundSchema), + z.lazy(() => RequestBody14$outboundSchema), + z.lazy(() => RequestBody15$outboundSchema), + z.lazy(() => RequestBody18$outboundSchema), + z.lazy(() => RequestBody20$outboundSchema), + z.lazy(() => RequestBody21$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody9$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema), + z.lazy(() => RequestBody11$outboundSchema), + z.lazy(() => RequestBody13$outboundSchema), + z.lazy(() => RequestBody17$outboundSchema), + z.lazy(() => RequestBody19$outboundSchema), + z.lazy(() => RequestBody22$outboundSchema), + z.lazy(() => RequestBody23$outboundSchema), + z.lazy(() => RequestBody16$outboundSchema), + ]) +); export function updateFirewallConfigRequestBodyToJSON( updateFirewallConfigRequestBody: UpdateFirewallConfigRequestBody, @@ -3780,40 +4008,42 @@ export const UpdateFirewallConfigRequest$outboundSchema: z.ZodType< UpdateFirewallConfigRequest$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody6$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema), - z.lazy(() => RequestBody12$outboundSchema), - z.lazy(() => RequestBody14$outboundSchema), - z.lazy(() => RequestBody15$outboundSchema), - z.lazy(() => RequestBody18$outboundSchema), - z.lazy(() => RequestBody20$outboundSchema), - z.lazy(() => RequestBody21$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody9$outboundSchema), - z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema), - z.lazy(() => RequestBody11$outboundSchema), - z.lazy(() => RequestBody13$outboundSchema), - z.lazy(() => RequestBody17$outboundSchema), - z.lazy(() => RequestBody19$outboundSchema), - z.lazy(() => RequestBody22$outboundSchema), - z.lazy(() => RequestBody23$outboundSchema), - z.lazy(() => RequestBody16$outboundSchema), - ]), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => UpdateFirewallConfigRequestBody2$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody6$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema), + z.lazy(() => RequestBody12$outboundSchema), + z.lazy(() => RequestBody14$outboundSchema), + z.lazy(() => RequestBody15$outboundSchema), + z.lazy(() => RequestBody18$outboundSchema), + z.lazy(() => RequestBody20$outboundSchema), + z.lazy(() => RequestBody21$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody1$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody3$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody5$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody9$outboundSchema), + z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema), + z.lazy(() => RequestBody11$outboundSchema), + z.lazy(() => RequestBody13$outboundSchema), + z.lazy(() => RequestBody17$outboundSchema), + z.lazy(() => RequestBody19$outboundSchema), + z.lazy(() => RequestBody22$outboundSchema), + z.lazy(() => RequestBody23$outboundSchema), + z.lazy(() => RequestBody16$outboundSchema), + ]), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateFirewallConfigRequestToJSON( updateFirewallConfigRequest: UpdateFirewallConfigRequest, @@ -3830,7 +4060,7 @@ export const UpdateFirewallConfigResponseBody$inboundSchema: z.ZodType< UpdateFirewallConfigResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateFirewallConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateflagop.ts b/src/models/updateflagop.ts index 3bdac291e7..7adfab8d84 100644 --- a/src/models/updateflagop.ts +++ b/src/models/updateflagop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -747,7 +747,7 @@ export const UpdateFlagValue4$outboundSchema: z.ZodType< UpdateFlagValue4$Outbound, z.ZodTypeDef, UpdateFlagValue4 -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateFlagValue4ToJSON( updateFlagValue4: UpdateFlagValue4, @@ -770,12 +770,14 @@ export const UpdateFlagVariants$outboundSchema: z.ZodType< UpdateFlagVariants$Outbound, z.ZodTypeDef, UpdateFlagVariants -> = z.object({ - id: z.string(), - label: z.string().optional(), - description: z.string().optional(), - value: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + label: z.string().optional(), + description: z.string().optional(), + value: z.any().optional(), + }) +); export function updateFlagVariantsToJSON( updateFlagVariants: UpdateFlagVariants, @@ -796,10 +798,12 @@ export const UpdateFlagReuse$outboundSchema: z.ZodType< UpdateFlagReuse$Outbound, z.ZodTypeDef, UpdateFlagReuse -> = z.object({ - active: z.boolean(), - environment: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + environment: z.string(), + }) +); export function updateFlagReuseToJSON( updateFlagReuse: UpdateFlagReuse, @@ -818,10 +822,12 @@ export const UpdateFlagTargets$outboundSchema: z.ZodType< UpdateFlagTargets$Outbound, z.ZodTypeDef, UpdateFlagTargets -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagTargetsToJSON( updateFlagTargets: UpdateFlagTargets, @@ -842,10 +848,12 @@ export const UpdateFlagPausedOutcome$outboundSchema: z.ZodType< UpdateFlagPausedOutcome$Outbound, z.ZodTypeDef, UpdateFlagPausedOutcome -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function updateFlagPausedOutcomeToJSON( updateFlagPausedOutcome: UpdateFlagPausedOutcome, @@ -867,11 +875,13 @@ export const UpdateFlagLhs2$outboundSchema: z.ZodType< UpdateFlagLhs2$Outbound, z.ZodTypeDef, UpdateFlagLhs2 -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagLhs2ToJSON(updateFlagLhs2: UpdateFlagLhs2): string { return JSON.stringify(UpdateFlagLhs2$outboundSchema.parse(updateFlagLhs2)); @@ -887,9 +897,11 @@ export const UpdateFlagLhs1$outboundSchema: z.ZodType< UpdateFlagLhs1$Outbound, z.ZodTypeDef, UpdateFlagLhs1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function updateFlagLhs1ToJSON(updateFlagLhs1: UpdateFlagLhs1): string { return JSON.stringify(UpdateFlagLhs1$outboundSchema.parse(updateFlagLhs1)); @@ -905,10 +917,12 @@ export const UpdateFlagLhs$outboundSchema: z.ZodType< UpdateFlagLhs$Outbound, z.ZodTypeDef, UpdateFlagLhs -> = smartUnion([ - z.lazy(() => UpdateFlagLhs2$outboundSchema), - z.lazy(() => UpdateFlagLhs1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagLhs2$outboundSchema), + z.lazy(() => UpdateFlagLhs1$outboundSchema), + ]) +); export function updateFlagLhsToJSON(updateFlagLhs: UpdateFlagLhs): string { return JSON.stringify(UpdateFlagLhs$outboundSchema.parse(updateFlagLhs)); @@ -917,7 +931,7 @@ export function updateFlagLhsToJSON(updateFlagLhs: UpdateFlagLhs): string { /** @internal */ export const UpdateFlagCmp$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagCmp -> = z.nativeEnum(UpdateFlagCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagCmp)); /** @internal */ export type UpdateFlagRhs2$Outbound = { @@ -931,11 +945,13 @@ export const UpdateFlagRhs2$outboundSchema: z.ZodType< UpdateFlagRhs2$Outbound, z.ZodTypeDef, UpdateFlagRhs2 -> = z.object({ - type: z.any().optional(), - pattern: z.string(), - flags: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + pattern: z.string(), + flags: z.string(), + }) +); export function updateFlagRhs2ToJSON(updateFlagRhs2: UpdateFlagRhs2): string { return JSON.stringify(UpdateFlagRhs2$outboundSchema.parse(updateFlagRhs2)); @@ -944,7 +960,7 @@ export function updateFlagRhs2ToJSON(updateFlagRhs2: UpdateFlagRhs2): string { /** @internal */ export const UpdateFlagRhsType$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagRhsType -> = z.nativeEnum(UpdateFlagRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagRhsType)); /** @internal */ export type UpdateFlagItems2$Outbound = { @@ -958,11 +974,13 @@ export const UpdateFlagItems2$outboundSchema: z.ZodType< UpdateFlagItems2$Outbound, z.ZodTypeDef, UpdateFlagItems2 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagItems2ToJSON( updateFlagItems2: UpdateFlagItems2, @@ -984,11 +1002,13 @@ export const UpdateFlagItems1$outboundSchema: z.ZodType< UpdateFlagItems1$Outbound, z.ZodTypeDef, UpdateFlagItems1 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.number(), + }) +); export function updateFlagItems1ToJSON( updateFlagItems1: UpdateFlagItems1, @@ -1008,10 +1028,12 @@ export const UpdateFlagRhsItems$outboundSchema: z.ZodType< UpdateFlagRhsItems$Outbound, z.ZodTypeDef, UpdateFlagRhsItems -> = smartUnion([ - z.lazy(() => UpdateFlagItems1$outboundSchema), - z.lazy(() => UpdateFlagItems2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagItems1$outboundSchema), + z.lazy(() => UpdateFlagItems2$outboundSchema), + ]) +); export function updateFlagRhsItemsToJSON( updateFlagRhsItems: UpdateFlagRhsItems, @@ -1032,15 +1054,15 @@ export const UpdateFlagRhs1$outboundSchema: z.ZodType< UpdateFlagRhs1$Outbound, z.ZodTypeDef, UpdateFlagRhs1 -> = z.object({ - type: UpdateFlagRhsType$outboundSchema, - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFlagRhsType$outboundSchema, + items: z.array(smartUnion([ z.lazy(() => UpdateFlagItems1$outboundSchema), z.lazy(() => UpdateFlagItems2$outboundSchema), - ]), - ), -}); + ])), + }) +); export function updateFlagRhs1ToJSON(updateFlagRhs1: UpdateFlagRhs1): string { return JSON.stringify(UpdateFlagRhs1$outboundSchema.parse(updateFlagRhs1)); @@ -1059,13 +1081,15 @@ export const UpdateFlagRhs$outboundSchema: z.ZodType< UpdateFlagRhs$Outbound, z.ZodTypeDef, UpdateFlagRhs -> = smartUnion([ - z.lazy(() => UpdateFlagRhs2$outboundSchema), - z.lazy(() => UpdateFlagRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagRhs2$outboundSchema), + z.lazy(() => UpdateFlagRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]) +); export function updateFlagRhsToJSON(updateFlagRhs: UpdateFlagRhs): string { return JSON.stringify(UpdateFlagRhs$outboundSchema.parse(updateFlagRhs)); @@ -1081,9 +1105,11 @@ export const UpdateFlagCmpOptions$outboundSchema: z.ZodType< UpdateFlagCmpOptions$Outbound, z.ZodTypeDef, UpdateFlagCmpOptions -> = z.object({ - ignoreCase: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: z.boolean().optional(), + }) +); export function updateFlagCmpOptionsToJSON( updateFlagCmpOptions: UpdateFlagCmpOptions, @@ -1112,21 +1138,23 @@ export const UpdateFlagConditions$outboundSchema: z.ZodType< UpdateFlagConditions$Outbound, z.ZodTypeDef, UpdateFlagConditions -> = z.object({ - lhs: smartUnion([ - z.lazy(() => UpdateFlagLhs2$outboundSchema), - z.lazy(() => UpdateFlagLhs1$outboundSchema), - ]), - cmp: UpdateFlagCmp$outboundSchema, - rhs: smartUnion([ - z.lazy(() => UpdateFlagRhs2$outboundSchema), - z.lazy(() => UpdateFlagRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), - ]).optional(), - cmpOptions: z.lazy(() => UpdateFlagCmpOptions$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lhs: smartUnion([ + z.lazy(() => UpdateFlagLhs2$outboundSchema), + z.lazy(() => UpdateFlagLhs1$outboundSchema), + ]), + cmp: UpdateFlagCmp$outboundSchema, + rhs: smartUnion([ + z.lazy(() => UpdateFlagRhs2$outboundSchema), + z.lazy(() => UpdateFlagRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]).optional(), + cmpOptions: z.lazy(() => UpdateFlagCmpOptions$outboundSchema).optional(), + }) +); export function updateFlagConditionsToJSON( updateFlagConditions: UpdateFlagConditions, @@ -1148,11 +1176,13 @@ export const UpdateFlagOutcomeFeatureFlagsBase$outboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlagsBase$Outbound, z.ZodTypeDef, UpdateFlagOutcomeFeatureFlagsBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagOutcomeFeatureFlagsBaseToJSON( updateFlagOutcomeFeatureFlagsBase: UpdateFlagOutcomeFeatureFlagsBase, @@ -1175,10 +1205,12 @@ export const UpdateFlagOutcomeSlots$outboundSchema: z.ZodType< UpdateFlagOutcomeSlots$Outbound, z.ZodTypeDef, UpdateFlagOutcomeSlots -> = z.object({ - promille: z.number(), - durationMs: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + promille: z.number(), + durationMs: z.number(), + }) +); export function updateFlagOutcomeSlotsToJSON( updateFlagOutcomeSlots: UpdateFlagOutcomeSlots, @@ -1205,16 +1237,18 @@ export const UpdateFlagOutcome3$outboundSchema: z.ZodType< UpdateFlagOutcome3$Outbound, z.ZodTypeDef, UpdateFlagOutcome3 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => UpdateFlagOutcomeFeatureFlagsBase$outboundSchema), - startTimestamp: z.number(), - rollFromVariantId: z.string(), - rollToVariantId: z.string(), - defaultVariantId: z.string(), - slots: z.array(z.lazy(() => UpdateFlagOutcomeSlots$outboundSchema)), - finalPromille: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => UpdateFlagOutcomeFeatureFlagsBase$outboundSchema), + startTimestamp: z.number(), + rollFromVariantId: z.string(), + rollToVariantId: z.string(), + defaultVariantId: z.string(), + slots: z.array(z.lazy(() => UpdateFlagOutcomeSlots$outboundSchema)), + finalPromille: z.number().optional(), + }) +); export function updateFlagOutcome3ToJSON( updateFlagOutcome3: UpdateFlagOutcome3, @@ -1236,11 +1270,13 @@ export const UpdateFlagOutcomeBase$outboundSchema: z.ZodType< UpdateFlagOutcomeBase$Outbound, z.ZodTypeDef, UpdateFlagOutcomeBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagOutcomeBaseToJSON( updateFlagOutcomeBase: UpdateFlagOutcomeBase, @@ -1263,12 +1299,14 @@ export const UpdateFlagOutcome2$outboundSchema: z.ZodType< UpdateFlagOutcome2$Outbound, z.ZodTypeDef, UpdateFlagOutcome2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => UpdateFlagOutcomeBase$outboundSchema), - weights: z.record(z.number()), - defaultVariantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => UpdateFlagOutcomeBase$outboundSchema), + weights: z.record(z.number()), + defaultVariantId: z.string(), + }) +); export function updateFlagOutcome2ToJSON( updateFlagOutcome2: UpdateFlagOutcome2, @@ -1289,10 +1327,12 @@ export const UpdateFlagOutcome1$outboundSchema: z.ZodType< UpdateFlagOutcome1$Outbound, z.ZodTypeDef, UpdateFlagOutcome1 -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function updateFlagOutcome1ToJSON( updateFlagOutcome1: UpdateFlagOutcome1, @@ -1313,11 +1353,13 @@ export const UpdateFlagOutcome$outboundSchema: z.ZodType< UpdateFlagOutcome$Outbound, z.ZodTypeDef, UpdateFlagOutcome -> = smartUnion([ - z.lazy(() => UpdateFlagOutcome3$outboundSchema), - z.lazy(() => UpdateFlagOutcome2$outboundSchema), - z.lazy(() => UpdateFlagOutcome1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagOutcome3$outboundSchema), + z.lazy(() => UpdateFlagOutcome2$outboundSchema), + z.lazy(() => UpdateFlagOutcome1$outboundSchema), + ]) +); export function updateFlagOutcomeToJSON( updateFlagOutcome: UpdateFlagOutcome, @@ -1342,15 +1384,17 @@ export const UpdateFlagRules$outboundSchema: z.ZodType< UpdateFlagRules$Outbound, z.ZodTypeDef, UpdateFlagRules -> = z.object({ - id: z.string(), - conditions: z.array(z.lazy(() => UpdateFlagConditions$outboundSchema)), - outcome: smartUnion([ - z.lazy(() => UpdateFlagOutcome3$outboundSchema), - z.lazy(() => UpdateFlagOutcome2$outboundSchema), - z.lazy(() => UpdateFlagOutcome1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + conditions: z.array(z.lazy(() => UpdateFlagConditions$outboundSchema)), + outcome: smartUnion([ + z.lazy(() => UpdateFlagOutcome3$outboundSchema), + z.lazy(() => UpdateFlagOutcome2$outboundSchema), + z.lazy(() => UpdateFlagOutcome1$outboundSchema), + ]), + }) +); export function updateFlagRulesToJSON( updateFlagRules: UpdateFlagRules, @@ -1370,11 +1414,13 @@ export const UpdateFlagFallthroughFeatureFlagsBase$outboundSchema: z.ZodType< UpdateFlagFallthroughFeatureFlagsBase$Outbound, z.ZodTypeDef, UpdateFlagFallthroughFeatureFlagsBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagFallthroughFeatureFlagsBaseToJSON( updateFlagFallthroughFeatureFlagsBase: UpdateFlagFallthroughFeatureFlagsBase, @@ -1397,10 +1443,12 @@ export const UpdateFlagFallthroughSlots$outboundSchema: z.ZodType< UpdateFlagFallthroughSlots$Outbound, z.ZodTypeDef, UpdateFlagFallthroughSlots -> = z.object({ - promille: z.number(), - durationMs: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + promille: z.number(), + durationMs: z.number(), + }) +); export function updateFlagFallthroughSlotsToJSON( updateFlagFallthroughSlots: UpdateFlagFallthroughSlots, @@ -1427,16 +1475,18 @@ export const UpdateFlagFallthrough3$outboundSchema: z.ZodType< UpdateFlagFallthrough3$Outbound, z.ZodTypeDef, UpdateFlagFallthrough3 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => UpdateFlagFallthroughFeatureFlagsBase$outboundSchema), - startTimestamp: z.number(), - rollFromVariantId: z.string(), - rollToVariantId: z.string(), - defaultVariantId: z.string(), - slots: z.array(z.lazy(() => UpdateFlagFallthroughSlots$outboundSchema)), - finalPromille: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => UpdateFlagFallthroughFeatureFlagsBase$outboundSchema), + startTimestamp: z.number(), + rollFromVariantId: z.string(), + rollToVariantId: z.string(), + defaultVariantId: z.string(), + slots: z.array(z.lazy(() => UpdateFlagFallthroughSlots$outboundSchema)), + finalPromille: z.number().optional(), + }) +); export function updateFlagFallthrough3ToJSON( updateFlagFallthrough3: UpdateFlagFallthrough3, @@ -1458,11 +1508,13 @@ export const UpdateFlagFallthroughBase$outboundSchema: z.ZodType< UpdateFlagFallthroughBase$Outbound, z.ZodTypeDef, UpdateFlagFallthroughBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagFallthroughBaseToJSON( updateFlagFallthroughBase: UpdateFlagFallthroughBase, @@ -1485,12 +1537,14 @@ export const UpdateFlagFallthrough2$outboundSchema: z.ZodType< UpdateFlagFallthrough2$Outbound, z.ZodTypeDef, UpdateFlagFallthrough2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => UpdateFlagFallthroughBase$outboundSchema), - weights: z.record(z.number()), - defaultVariantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => UpdateFlagFallthroughBase$outboundSchema), + weights: z.record(z.number()), + defaultVariantId: z.string(), + }) +); export function updateFlagFallthrough2ToJSON( updateFlagFallthrough2: UpdateFlagFallthrough2, @@ -1511,10 +1565,12 @@ export const UpdateFlagFallthrough1$outboundSchema: z.ZodType< UpdateFlagFallthrough1$Outbound, z.ZodTypeDef, UpdateFlagFallthrough1 -> = z.object({ - type: z.any().optional(), - variantId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + variantId: z.string(), + }) +); export function updateFlagFallthrough1ToJSON( updateFlagFallthrough1: UpdateFlagFallthrough1, @@ -1535,11 +1591,13 @@ export const UpdateFlagFallthrough$outboundSchema: z.ZodType< UpdateFlagFallthrough$Outbound, z.ZodTypeDef, UpdateFlagFallthrough -> = smartUnion([ - z.lazy(() => UpdateFlagFallthrough3$outboundSchema), - z.lazy(() => UpdateFlagFallthrough2$outboundSchema), - z.lazy(() => UpdateFlagFallthrough1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagFallthrough3$outboundSchema), + z.lazy(() => UpdateFlagFallthrough2$outboundSchema), + z.lazy(() => UpdateFlagFallthrough1$outboundSchema), + ]) +); export function updateFlagFallthroughToJSON( updateFlagFallthrough: UpdateFlagFallthrough, @@ -1572,21 +1630,25 @@ export const UpdateFlagEnvironments$outboundSchema: z.ZodType< UpdateFlagEnvironments$Outbound, z.ZodTypeDef, UpdateFlagEnvironments -> = z.object({ - active: z.boolean(), - reuse: z.lazy(() => UpdateFlagReuse$outboundSchema).optional(), - targets: z.record( - z.record(z.record(z.array(z.lazy(() => UpdateFlagTargets$outboundSchema)))), - ).optional(), - pausedOutcome: z.lazy(() => UpdateFlagPausedOutcome$outboundSchema), - rules: z.array(z.lazy(() => UpdateFlagRules$outboundSchema)), - fallthrough: smartUnion([ - z.lazy(() => UpdateFlagFallthrough3$outboundSchema), - z.lazy(() => UpdateFlagFallthrough2$outboundSchema), - z.lazy(() => UpdateFlagFallthrough1$outboundSchema), - ]), - revision: z.number().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: z.boolean(), + reuse: z.lazy(() => UpdateFlagReuse$outboundSchema).optional(), + targets: z.record( + z.record( + z.record(z.array(z.lazy(() => UpdateFlagTargets$outboundSchema))), + ), + ).optional(), + pausedOutcome: z.lazy(() => UpdateFlagPausedOutcome$outboundSchema), + rules: z.array(z.lazy(() => UpdateFlagRules$outboundSchema)), + fallthrough: smartUnion([ + z.lazy(() => UpdateFlagFallthrough3$outboundSchema), + z.lazy(() => UpdateFlagFallthrough2$outboundSchema), + z.lazy(() => UpdateFlagFallthrough1$outboundSchema), + ]), + revision: z.number().optional(), + }) +); export function updateFlagEnvironmentsToJSON( updateFlagEnvironments: UpdateFlagEnvironments, @@ -1599,7 +1661,7 @@ export function updateFlagEnvironmentsToJSON( /** @internal */ export const UpdateFlagState$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagState -> = z.nativeEnum(UpdateFlagState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagState)); /** @internal */ export type UpdateFlagRequestBody$Outbound = { @@ -1620,19 +1682,22 @@ export const UpdateFlagRequestBody$outboundSchema: z.ZodType< UpdateFlagRequestBody$Outbound, z.ZodTypeDef, UpdateFlagRequestBody -> = z.object({ - createdBy: z.string().optional(), - message: z.string().optional(), - variants: z.array(z.lazy(() => UpdateFlagVariants$outboundSchema)).optional(), - environments: z.record(z.lazy(() => UpdateFlagEnvironments$outboundSchema)) - .optional(), - seed: z.number().optional(), - description: z.string().optional(), - state: UpdateFlagState$outboundSchema.optional(), - maintainerIds: z.array(z.string()).optional(), - permanent: z.boolean().optional(), - tags: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdBy: z.string().optional(), + message: z.string().optional(), + variants: z.array(z.lazy(() => UpdateFlagVariants$outboundSchema)) + .optional(), + environments: z.record(z.lazy(() => UpdateFlagEnvironments$outboundSchema)) + .optional(), + seed: z.number().optional(), + description: z.string().optional(), + state: UpdateFlagState$outboundSchema.optional(), + maintainerIds: z.array(z.string()).optional(), + permanent: z.boolean().optional(), + tags: z.array(z.string()).optional(), + }) +); export function updateFlagRequestBodyToJSON( updateFlagRequestBody: UpdateFlagRequestBody, @@ -1658,19 +1723,21 @@ export const UpdateFlagRequest$outboundSchema: z.ZodType< UpdateFlagRequest$Outbound, z.ZodTypeDef, UpdateFlagRequest -> = z.object({ - projectIdOrName: z.string(), - flagIdOrSlug: z.string(), - ifMatch: z.string().optional(), - withMetadata: z.boolean().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateFlagRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + flagIdOrSlug: z.string(), + ifMatch: z.string().optional(), + withMetadata: z.boolean().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateFlagRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateFlagRequestToJSON( updateFlagRequest: UpdateFlagRequest, @@ -1685,9 +1752,11 @@ export const UpdateFlagFallthrough4$inboundSchema: z.ZodType< UpdateFlagFallthrough4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function updateFlagFallthrough4FromJSON( jsonString: string, @@ -1703,8 +1772,10 @@ export function updateFlagFallthrough4FromJSON( export const UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1713,12 +1784,14 @@ export const UpdateFlagFallthroughFeatureFlagsResponse200Base$inboundSchema: UpdateFlagFallthroughFeatureFlagsResponse200Base, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) + ); export function updateFlagFallthroughFeatureFlagsResponse200BaseFromJSON( jsonString: string, @@ -1741,10 +1814,12 @@ export const UpdateFlagFallthroughFeatureFlagsSlots$inboundSchema: z.ZodType< UpdateFlagFallthroughFeatureFlagsSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function updateFlagFallthroughFeatureFlagsSlotsFromJSON( jsonString: string, @@ -1762,20 +1837,22 @@ export const UpdateFlagFallthroughFeatureFlags3$inboundSchema: z.ZodType< UpdateFlagFallthroughFeatureFlags3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - UpdateFlagFallthroughFeatureFlagsResponse200Base$inboundSchema - ), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array( - z.lazy(() => UpdateFlagFallthroughFeatureFlagsSlots$inboundSchema), - ), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + UpdateFlagFallthroughFeatureFlagsResponse200Base$inboundSchema + ), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array( + z.lazy(() => UpdateFlagFallthroughFeatureFlagsSlots$inboundSchema), + ), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function updateFlagFallthroughFeatureFlags3FromJSON( jsonString: string, @@ -1792,8 +1869,10 @@ export function updateFlagFallthroughFeatureFlags3FromJSON( export const UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType - > = z.nativeEnum( - UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType, + ) ); /** @internal */ @@ -1802,12 +1881,14 @@ export const UpdateFlagFallthroughFeatureFlagsResponseBase$inboundSchema: UpdateFlagFallthroughFeatureFlagsResponseBase, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + UpdateFlagFallthroughFeatureFlagsResponse200ApplicationJSONType$inboundSchema, + }) + ); export function updateFlagFallthroughFeatureFlagsResponseBaseFromJSON( jsonString: string, @@ -1830,14 +1911,16 @@ export const UpdateFlagFallthroughFeatureFlags2$inboundSchema: z.ZodType< UpdateFlagFallthroughFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - UpdateFlagFallthroughFeatureFlagsResponseBase$inboundSchema - ), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + UpdateFlagFallthroughFeatureFlagsResponseBase$inboundSchema + ), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function updateFlagFallthroughFeatureFlags2FromJSON( jsonString: string, @@ -1855,10 +1938,12 @@ export const UpdateFlagFallthroughFeatureFlags1$inboundSchema: z.ZodType< UpdateFlagFallthroughFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function updateFlagFallthroughFeatureFlags1FromJSON( jsonString: string, @@ -1876,12 +1961,14 @@ export const UpdateFlagFeatureFlagsFallthrough$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsFallthrough, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateFlagFallthroughFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagFallthroughFeatureFlags2$inboundSchema), - z.lazy(() => UpdateFlagFallthroughFeatureFlags3$inboundSchema), - z.lazy(() => UpdateFlagFallthrough4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateFlagFallthroughFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagFallthroughFeatureFlags2$inboundSchema), + z.lazy(() => UpdateFlagFallthroughFeatureFlags3$inboundSchema), + z.lazy(() => UpdateFlagFallthrough4$inboundSchema), + ]) +); export function updateFlagFeatureFlagsFallthroughFromJSON( jsonString: string, @@ -1896,17 +1983,19 @@ export function updateFlagFeatureFlagsFallthroughFromJSON( /** @internal */ export const UpdateFlagType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagType -> = z.nativeEnum(UpdateFlagType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagType)); /** @internal */ export const UpdateFlagFeatureFlagsPausedOutcome$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsPausedOutcome, z.ZodTypeDef, unknown -> = z.object({ - type: UpdateFlagType$inboundSchema, - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFlagType$inboundSchema, + variantId: types.string(), + }) +); export function updateFlagFeatureFlagsPausedOutcomeFromJSON( jsonString: string, @@ -1924,10 +2013,12 @@ export const UpdateFlagFeatureFlagsReuse$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsReuse, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - environment: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + environment: types.string(), + }) +); export function updateFlagFeatureFlagsReuseFromJSON( jsonString: string, @@ -1942,16 +2033,18 @@ export function updateFlagFeatureFlagsReuseFromJSON( /** @internal */ export const UpdateFlagFeatureFlagsCmp$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagFeatureFlagsCmp -> = z.nativeEnum(UpdateFlagFeatureFlagsCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagFeatureFlagsCmp)); /** @internal */ export const UpdateFlagFeatureFlagsCmpOptions$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsCmpOptions, z.ZodTypeDef, unknown -> = z.object({ - ignoreCase: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: types.optional(types.boolean()), + }) +); export function updateFlagFeatureFlagsCmpOptionsFromJSON( jsonString: string, @@ -1968,11 +2061,13 @@ export const UpdateFlagLhsFeatureFlags2$inboundSchema: z.ZodType< UpdateFlagLhsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: types.literal("entity"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: types.literal("entity"), + }) +); export function updateFlagLhsFeatureFlags2FromJSON( jsonString: string, @@ -1989,9 +2084,11 @@ export const UpdateFlagLhsFeatureFlags1$inboundSchema: z.ZodType< UpdateFlagLhsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("segment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("segment"), + }) +); export function updateFlagLhsFeatureFlags1FromJSON( jsonString: string, @@ -2008,10 +2105,12 @@ export const UpdateFlagFeatureFlagsLhs$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsLhs, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateFlagLhsFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagLhsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateFlagLhsFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagLhsFeatureFlags2$inboundSchema), + ]) +); export function updateFlagFeatureFlagsLhsFromJSON( jsonString: string, @@ -2025,20 +2124,23 @@ export function updateFlagFeatureFlagsLhsFromJSON( /** @internal */ export const UpdateFlagRhsFeatureFlagsResponseType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFlagRhsFeatureFlagsResponseType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFlagRhsFeatureFlagsResponseType) + ); /** @internal */ export const UpdateFlagRhs4$inboundSchema: z.ZodType< UpdateFlagRhs4, z.ZodTypeDef, unknown -> = z.object({ - flags: types.string(), - pattern: types.string(), - type: UpdateFlagRhsFeatureFlagsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + flags: types.string(), + pattern: types.string(), + type: UpdateFlagRhsFeatureFlagsResponseType$inboundSchema, + }) +); export function updateFlagRhs4FromJSON( jsonString: string, @@ -2055,11 +2157,13 @@ export const UpdateFlagItemsFeatureFlags2$inboundSchema: z.ZodType< UpdateFlagItemsFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.string(), + }) +); export function updateFlagItemsFeatureFlags2FromJSON( jsonString: string, @@ -2076,11 +2180,13 @@ export const UpdateFlagItemsFeatureFlags1$inboundSchema: z.ZodType< UpdateFlagItemsFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - label: types.optional(types.string()), - note: types.optional(types.string()), - value: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.optional(types.string()), + note: types.optional(types.string()), + value: types.number(), + }) +); export function updateFlagItemsFeatureFlags1FromJSON( jsonString: string, @@ -2097,10 +2203,12 @@ export const UpdateFlagRhsFeatureFlagsItems$inboundSchema: z.ZodType< UpdateFlagRhsFeatureFlagsItems, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateFlagItemsFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagItemsFeatureFlags2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagItemsFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagItemsFeatureFlags2$inboundSchema), + ]) +); export function updateFlagRhsFeatureFlagsItemsFromJSON( jsonString: string, @@ -2115,22 +2223,24 @@ export function updateFlagRhsFeatureFlagsItemsFromJSON( /** @internal */ export const UpdateFlagRhsFeatureFlagsType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagRhsFeatureFlagsType -> = z.nativeEnum(UpdateFlagRhsFeatureFlagsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFlagRhsFeatureFlagsType) +); /** @internal */ export const UpdateFlagRhs3$inboundSchema: z.ZodType< UpdateFlagRhs3, z.ZodTypeDef, unknown -> = z.object({ - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.array(smartUnion([ z.lazy(() => UpdateFlagItemsFeatureFlags1$inboundSchema), z.lazy(() => UpdateFlagItemsFeatureFlags2$inboundSchema), - ]), - ), - type: UpdateFlagRhsFeatureFlagsType$inboundSchema, -}); + ])), + type: UpdateFlagRhsFeatureFlagsType$inboundSchema, + }) +); export function updateFlagRhs3FromJSON( jsonString: string, @@ -2147,13 +2257,15 @@ export const UpdateFlagFeatureFlagsRhs$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsRhs, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateFlagRhs4$inboundSchema), - z.lazy(() => UpdateFlagRhs3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagRhs4$inboundSchema), + z.lazy(() => UpdateFlagRhs3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function updateFlagFeatureFlagsRhsFromJSON( jsonString: string, @@ -2170,25 +2282,25 @@ export const UpdateFlagFeatureFlagsConditions$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsConditions, z.ZodTypeDef, unknown -> = z.object({ - cmp: UpdateFlagFeatureFlagsCmp$inboundSchema, - cmpOptions: types.optional( - z.lazy(() => UpdateFlagFeatureFlagsCmpOptions$inboundSchema), - ), - lhs: z.union([ - z.lazy(() => UpdateFlagLhsFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagLhsFeatureFlags2$inboundSchema), - ]), - rhs: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmp: UpdateFlagFeatureFlagsCmp$inboundSchema, + cmpOptions: types.optional( + z.lazy(() => UpdateFlagFeatureFlagsCmpOptions$inboundSchema), + ), + lhs: z.union([ + z.lazy(() => UpdateFlagLhsFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagLhsFeatureFlags2$inboundSchema), + ]), + rhs: types.optional(smartUnion([ z.lazy(() => UpdateFlagRhs4$inboundSchema), z.lazy(() => UpdateFlagRhs3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function updateFlagFeatureFlagsConditionsFromJSON( jsonString: string, @@ -2205,9 +2317,11 @@ export const UpdateFlagOutcome4$inboundSchema: z.ZodType< UpdateFlagOutcome4, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("experiment"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("experiment"), + }) +); export function updateFlagOutcome4FromJSON( jsonString: string, @@ -2223,8 +2337,10 @@ export function updateFlagOutcome4FromJSON( export const UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -2233,12 +2349,14 @@ export const UpdateFlagOutcomeFeatureFlagsResponse200Base$inboundSchema: UpdateFlagOutcomeFeatureFlagsResponse200Base, z.ZodTypeDef, unknown - > = z.object({ - attribute: types.string(), - kind: types.string(), - type: - UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONResponseBodyType$inboundSchema, + }) + ); export function updateFlagOutcomeFeatureFlagsResponse200BaseFromJSON( jsonString: string, @@ -2261,10 +2379,12 @@ export const UpdateFlagOutcomeFeatureFlagsSlots$inboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlagsSlots, z.ZodTypeDef, unknown -> = z.object({ - durationMs: types.number(), - promille: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + durationMs: types.number(), + promille: types.number(), + }) +); export function updateFlagOutcomeFeatureFlagsSlotsFromJSON( jsonString: string, @@ -2282,20 +2402,22 @@ export const UpdateFlagOutcomeFeatureFlags3$inboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlags3, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => - UpdateFlagOutcomeFeatureFlagsResponse200Base$inboundSchema - ), - defaultVariantId: types.string(), - finalPromille: types.optional(types.number()), - rollFromVariantId: types.string(), - rollToVariantId: types.string(), - slots: z.array( - z.lazy(() => UpdateFlagOutcomeFeatureFlagsSlots$inboundSchema), - ), - startTimestamp: types.number(), - type: types.literal("rollout"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => + UpdateFlagOutcomeFeatureFlagsResponse200Base$inboundSchema + ), + defaultVariantId: types.string(), + finalPromille: types.optional(types.number()), + rollFromVariantId: types.string(), + rollToVariantId: types.string(), + slots: z.array( + z.lazy(() => UpdateFlagOutcomeFeatureFlagsSlots$inboundSchema), + ), + startTimestamp: types.number(), + type: types.literal("rollout"), + }) +); export function updateFlagOutcomeFeatureFlags3FromJSON( jsonString: string, @@ -2311,19 +2433,23 @@ export function updateFlagOutcomeFeatureFlags3FromJSON( export const UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType - > = z.nativeEnum(UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType) + ); /** @internal */ export const UpdateFlagOutcomeFeatureFlagsResponseBase$inboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlagsResponseBase, z.ZodTypeDef, unknown -> = z.object({ - attribute: types.string(), - kind: types.string(), - type: - UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attribute: types.string(), + kind: types.string(), + type: + UpdateFlagOutcomeFeatureFlagsResponse200ApplicationJSONType$inboundSchema, + }) +); export function updateFlagOutcomeFeatureFlagsResponseBaseFromJSON( jsonString: string, @@ -2346,12 +2472,14 @@ export const UpdateFlagOutcomeFeatureFlags2$inboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlags2, z.ZodTypeDef, unknown -> = z.object({ - base: z.lazy(() => UpdateFlagOutcomeFeatureFlagsResponseBase$inboundSchema), - defaultVariantId: types.string(), - type: types.literal("split"), - weights: z.record(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + base: z.lazy(() => UpdateFlagOutcomeFeatureFlagsResponseBase$inboundSchema), + defaultVariantId: types.string(), + type: types.literal("split"), + weights: z.record(types.number()), + }) +); export function updateFlagOutcomeFeatureFlags2FromJSON( jsonString: string, @@ -2368,10 +2496,12 @@ export const UpdateFlagOutcomeFeatureFlags1$inboundSchema: z.ZodType< UpdateFlagOutcomeFeatureFlags1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("variant"), - variantId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("variant"), + variantId: types.string(), + }) +); export function updateFlagOutcomeFeatureFlags1FromJSON( jsonString: string, @@ -2388,12 +2518,14 @@ export const UpdateFlagFeatureFlagsOutcome$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsOutcome, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateFlagOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagOutcomeFeatureFlags2$inboundSchema), - z.lazy(() => UpdateFlagOutcomeFeatureFlags3$inboundSchema), - z.lazy(() => UpdateFlagOutcome4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateFlagOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagOutcomeFeatureFlags2$inboundSchema), + z.lazy(() => UpdateFlagOutcomeFeatureFlags3$inboundSchema), + z.lazy(() => UpdateFlagOutcome4$inboundSchema), + ]) +); export function updateFlagFeatureFlagsOutcomeFromJSON( jsonString: string, @@ -2410,18 +2542,20 @@ export const UpdateFlagFeatureFlagsRules$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsRules, z.ZodTypeDef, unknown -> = z.object({ - conditions: z.array( - z.lazy(() => UpdateFlagFeatureFlagsConditions$inboundSchema), - ), - id: types.string(), - outcome: z.union([ - z.lazy(() => UpdateFlagOutcomeFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagOutcomeFeatureFlags2$inboundSchema), - z.lazy(() => UpdateFlagOutcomeFeatureFlags3$inboundSchema), - z.lazy(() => UpdateFlagOutcome4$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + conditions: z.array( + z.lazy(() => UpdateFlagFeatureFlagsConditions$inboundSchema), + ), + id: types.string(), + outcome: z.union([ + z.lazy(() => UpdateFlagOutcomeFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagOutcomeFeatureFlags2$inboundSchema), + z.lazy(() => UpdateFlagOutcomeFeatureFlags3$inboundSchema), + z.lazy(() => UpdateFlagOutcome4$inboundSchema), + ]), + }) +); export function updateFlagFeatureFlagsRulesFromJSON( jsonString: string, @@ -2438,10 +2572,12 @@ export const UpdateFlagFeatureFlagsTargets$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsTargets, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function updateFlagFeatureFlagsTargetsFromJSON( jsonString: string, @@ -2458,28 +2594,28 @@ export const UpdateFlagFeatureFlagsEnvironments$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsEnvironments, z.ZodTypeDef, unknown -> = z.object({ - active: types.boolean(), - fallthrough: z.union([ - z.lazy(() => UpdateFlagFallthroughFeatureFlags1$inboundSchema), - z.lazy(() => UpdateFlagFallthroughFeatureFlags2$inboundSchema), - z.lazy(() => UpdateFlagFallthroughFeatureFlags3$inboundSchema), - z.lazy(() => UpdateFlagFallthrough4$inboundSchema), - ]), - pausedOutcome: z.lazy(() => - UpdateFlagFeatureFlagsPausedOutcome$inboundSchema - ), - reuse: types.optional( - z.lazy(() => UpdateFlagFeatureFlagsReuse$inboundSchema), - ), - revision: types.optional(types.number()), - rules: z.array(z.lazy(() => UpdateFlagFeatureFlagsRules$inboundSchema)), - targets: types.optional( - z.record(z.record(z.record(z.array(z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.boolean(), + fallthrough: z.union([ + z.lazy(() => UpdateFlagFallthroughFeatureFlags1$inboundSchema), + z.lazy(() => UpdateFlagFallthroughFeatureFlags2$inboundSchema), + z.lazy(() => UpdateFlagFallthroughFeatureFlags3$inboundSchema), + z.lazy(() => UpdateFlagFallthrough4$inboundSchema), + ]), + pausedOutcome: z.lazy(() => + UpdateFlagFeatureFlagsPausedOutcome$inboundSchema + ), + reuse: types.optional( + z.lazy(() => UpdateFlagFeatureFlagsReuse$inboundSchema), + ), + revision: types.optional(types.number()), + rules: z.array(z.lazy(() => UpdateFlagFeatureFlagsRules$inboundSchema)), + targets: types.optional(z.record(z.record(z.record(z.array(z.lazy(() => UpdateFlagFeatureFlagsTargets$inboundSchema - ))))), - ), -}); + )))))), + }) +); export function updateFlagFeatureFlagsEnvironmentsFromJSON( jsonString: string, @@ -2495,30 +2631,34 @@ export function updateFlagFeatureFlagsEnvironmentsFromJSON( /** @internal */ export const UpdateFlagKind$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagKind -> = z.nativeEnum(UpdateFlagKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagKind)); /** @internal */ export const UpdateFlagFeatureFlagsState$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagFeatureFlagsState -> = z.nativeEnum(UpdateFlagFeatureFlagsState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFlagFeatureFlagsState) +); /** @internal */ export const UpdateFlagTypeName$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagTypeName -> = z.nativeEnum(UpdateFlagTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagTypeName)); /** @internal */ export const UpdateFlagValue$inboundSchema: z.ZodType< UpdateFlagValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]) +); export function updateFlagValueFromJSON( jsonString: string, @@ -2535,20 +2675,22 @@ export const UpdateFlagFeatureFlagsVariants$inboundSchema: z.ZodType< UpdateFlagFeatureFlagsVariants, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - id: types.string(), - label: types.optional(types.string()), - value: types.nullable( - smartUnion([ - types.string(), - types.number(), - z.record(z.any()), - z.array(z.any()), - types.boolean(), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + id: types.string(), + label: types.optional(types.string()), + value: types.nullable( + smartUnion([ + types.string(), + types.number(), + z.record(z.any()), + z.array(z.any()), + types.boolean(), + ]), + ), + }) +); export function updateFlagFeatureFlagsVariantsFromJSON( jsonString: string, @@ -2565,30 +2707,34 @@ export const UpdateFlagResponseBody$inboundSchema: z.ZodType< UpdateFlagResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - description: types.optional(types.string()), - environments: z.record( - z.lazy(() => UpdateFlagFeatureFlagsEnvironments$inboundSchema), - ), - id: types.string(), - kind: UpdateFlagKind$inboundSchema, - maintainerIds: types.optional(z.array(types.string())), - ownerId: types.string(), - permanent: types.optional(types.boolean()), - projectId: types.string(), - revision: types.number(), - seed: types.number(), - seenInProduction: types.optional(types.boolean()), - slug: types.string(), - state: UpdateFlagFeatureFlagsState$inboundSchema, - tags: types.optional(z.array(types.string())), - typeName: UpdateFlagTypeName$inboundSchema, - updatedAt: types.number(), - updatedBy: types.optional(types.string()), - variants: z.array(z.lazy(() => UpdateFlagFeatureFlagsVariants$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + description: types.optional(types.string()), + environments: z.record( + z.lazy(() => UpdateFlagFeatureFlagsEnvironments$inboundSchema), + ), + id: types.string(), + kind: UpdateFlagKind$inboundSchema, + maintainerIds: types.optional(z.array(types.string())), + ownerId: types.string(), + permanent: types.optional(types.boolean()), + projectId: types.string(), + revision: types.number(), + seed: types.number(), + seenInProduction: types.optional(types.boolean()), + slug: types.string(), + state: UpdateFlagFeatureFlagsState$inboundSchema, + tags: types.optional(z.array(types.string())), + typeName: UpdateFlagTypeName$inboundSchema, + updatedAt: types.number(), + updatedBy: types.optional(types.string()), + variants: z.array( + z.lazy(() => UpdateFlagFeatureFlagsVariants$inboundSchema), + ), + }) +); export function updateFlagResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateflagsegmentop.ts b/src/models/updateflagsegmentop.ts index 4946589c55..610280a0b7 100644 --- a/src/models/updateflagsegmentop.ts +++ b/src/models/updateflagsegmentop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -221,12 +222,11 @@ export type UpdateFlagSegmentRequest = { /** @internal */ export const UpdateFlagSegmentAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagSegmentAction -> = z.nativeEnum(UpdateFlagSegmentAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagSegmentAction)); /** @internal */ -export const Field$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Field, -); +export const Field$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Field)); /** @internal */ export type UpdateFlagSegmentValue$Outbound = { @@ -239,10 +239,12 @@ export const UpdateFlagSegmentValue$outboundSchema: z.ZodType< UpdateFlagSegmentValue$Outbound, z.ZodTypeDef, UpdateFlagSegmentValue -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagSegmentValueToJSON( updateFlagSegmentValue: UpdateFlagSegmentValue, @@ -266,13 +268,15 @@ export const Operations$outboundSchema: z.ZodType< Operations$Outbound, z.ZodTypeDef, Operations -> = z.object({ - action: UpdateFlagSegmentAction$outboundSchema, - field: Field$outboundSchema, - entity: z.string(), - attribute: z.string(), - value: z.lazy(() => UpdateFlagSegmentValue$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateFlagSegmentAction$outboundSchema, + field: Field$outboundSchema, + entity: z.string(), + attribute: z.string(), + value: z.lazy(() => UpdateFlagSegmentValue$outboundSchema), + }) +); export function operationsToJSON(operations: Operations): string { return JSON.stringify(Operations$outboundSchema.parse(operations)); @@ -290,11 +294,13 @@ export const UpdateFlagSegmentLhs2$outboundSchema: z.ZodType< UpdateFlagSegmentLhs2$Outbound, z.ZodTypeDef, UpdateFlagSegmentLhs2 -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagSegmentLhs2ToJSON( updateFlagSegmentLhs2: UpdateFlagSegmentLhs2, @@ -314,9 +320,11 @@ export const UpdateFlagSegmentLhs1$outboundSchema: z.ZodType< UpdateFlagSegmentLhs1$Outbound, z.ZodTypeDef, UpdateFlagSegmentLhs1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function updateFlagSegmentLhs1ToJSON( updateFlagSegmentLhs1: UpdateFlagSegmentLhs1, @@ -336,10 +344,12 @@ export const UpdateFlagSegmentLhs$outboundSchema: z.ZodType< UpdateFlagSegmentLhs$Outbound, z.ZodTypeDef, UpdateFlagSegmentLhs -> = smartUnion([ - z.lazy(() => UpdateFlagSegmentLhs2$outboundSchema), - z.lazy(() => UpdateFlagSegmentLhs1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagSegmentLhs2$outboundSchema), + z.lazy(() => UpdateFlagSegmentLhs1$outboundSchema), + ]) +); export function updateFlagSegmentLhsToJSON( updateFlagSegmentLhs: UpdateFlagSegmentLhs, @@ -352,7 +362,7 @@ export function updateFlagSegmentLhsToJSON( /** @internal */ export const UpdateFlagSegmentCmp$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagSegmentCmp -> = z.nativeEnum(UpdateFlagSegmentCmp); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagSegmentCmp)); /** @internal */ export type UpdateFlagSegmentRhs2$Outbound = { @@ -366,11 +376,13 @@ export const UpdateFlagSegmentRhs2$outboundSchema: z.ZodType< UpdateFlagSegmentRhs2$Outbound, z.ZodTypeDef, UpdateFlagSegmentRhs2 -> = z.object({ - type: z.any().optional(), - pattern: z.string(), - flags: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + pattern: z.string(), + flags: z.string(), + }) +); export function updateFlagSegmentRhs2ToJSON( updateFlagSegmentRhs2: UpdateFlagSegmentRhs2, @@ -383,7 +395,7 @@ export function updateFlagSegmentRhs2ToJSON( /** @internal */ export const UpdateFlagSegmentRhsType$outboundSchema: z.ZodNativeEnum< typeof UpdateFlagSegmentRhsType -> = z.nativeEnum(UpdateFlagSegmentRhsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagSegmentRhsType)); /** @internal */ export type UpdateFlagSegmentItems2$Outbound = { @@ -397,11 +409,13 @@ export const UpdateFlagSegmentItems2$outboundSchema: z.ZodType< UpdateFlagSegmentItems2$Outbound, z.ZodTypeDef, UpdateFlagSegmentItems2 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagSegmentItems2ToJSON( updateFlagSegmentItems2: UpdateFlagSegmentItems2, @@ -423,11 +437,13 @@ export const UpdateFlagSegmentItems1$outboundSchema: z.ZodType< UpdateFlagSegmentItems1$Outbound, z.ZodTypeDef, UpdateFlagSegmentItems1 -> = z.object({ - label: z.string().optional(), - note: z.string().optional(), - value: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + note: z.string().optional(), + value: z.number(), + }) +); export function updateFlagSegmentItems1ToJSON( updateFlagSegmentItems1: UpdateFlagSegmentItems1, @@ -447,10 +463,12 @@ export const UpdateFlagSegmentRhsItems$outboundSchema: z.ZodType< UpdateFlagSegmentRhsItems$Outbound, z.ZodTypeDef, UpdateFlagSegmentRhsItems -> = smartUnion([ - z.lazy(() => UpdateFlagSegmentItems1$outboundSchema), - z.lazy(() => UpdateFlagSegmentItems2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagSegmentItems1$outboundSchema), + z.lazy(() => UpdateFlagSegmentItems2$outboundSchema), + ]) +); export function updateFlagSegmentRhsItemsToJSON( updateFlagSegmentRhsItems: UpdateFlagSegmentRhsItems, @@ -473,15 +491,15 @@ export const UpdateFlagSegmentRhs1$outboundSchema: z.ZodType< UpdateFlagSegmentRhs1$Outbound, z.ZodTypeDef, UpdateFlagSegmentRhs1 -> = z.object({ - type: UpdateFlagSegmentRhsType$outboundSchema, - items: z.array( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UpdateFlagSegmentRhsType$outboundSchema, + items: z.array(smartUnion([ z.lazy(() => UpdateFlagSegmentItems1$outboundSchema), z.lazy(() => UpdateFlagSegmentItems2$outboundSchema), - ]), - ), -}); + ])), + }) +); export function updateFlagSegmentRhs1ToJSON( updateFlagSegmentRhs1: UpdateFlagSegmentRhs1, @@ -504,13 +522,15 @@ export const UpdateFlagSegmentRhs$outboundSchema: z.ZodType< UpdateFlagSegmentRhs$Outbound, z.ZodTypeDef, UpdateFlagSegmentRhs -> = smartUnion([ - z.lazy(() => UpdateFlagSegmentRhs2$outboundSchema), - z.lazy(() => UpdateFlagSegmentRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagSegmentRhs2$outboundSchema), + z.lazy(() => UpdateFlagSegmentRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]) +); export function updateFlagSegmentRhsToJSON( updateFlagSegmentRhs: UpdateFlagSegmentRhs, @@ -530,9 +550,11 @@ export const UpdateFlagSegmentCmpOptions$outboundSchema: z.ZodType< UpdateFlagSegmentCmpOptions$Outbound, z.ZodTypeDef, UpdateFlagSegmentCmpOptions -> = z.object({ - ignoreCase: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ignoreCase: z.boolean().optional(), + }) +); export function updateFlagSegmentCmpOptionsToJSON( updateFlagSegmentCmpOptions: UpdateFlagSegmentCmpOptions, @@ -563,22 +585,24 @@ export const UpdateFlagSegmentConditions$outboundSchema: z.ZodType< UpdateFlagSegmentConditions$Outbound, z.ZodTypeDef, UpdateFlagSegmentConditions -> = z.object({ - lhs: smartUnion([ - z.lazy(() => UpdateFlagSegmentLhs2$outboundSchema), - z.lazy(() => UpdateFlagSegmentLhs1$outboundSchema), - ]), - cmp: UpdateFlagSegmentCmp$outboundSchema, - rhs: smartUnion([ - z.lazy(() => UpdateFlagSegmentRhs2$outboundSchema), - z.lazy(() => UpdateFlagSegmentRhs1$outboundSchema), - z.string(), - z.number(), - z.boolean(), - ]).optional(), - cmpOptions: z.lazy(() => UpdateFlagSegmentCmpOptions$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lhs: smartUnion([ + z.lazy(() => UpdateFlagSegmentLhs2$outboundSchema), + z.lazy(() => UpdateFlagSegmentLhs1$outboundSchema), + ]), + cmp: UpdateFlagSegmentCmp$outboundSchema, + rhs: smartUnion([ + z.lazy(() => UpdateFlagSegmentRhs2$outboundSchema), + z.lazy(() => UpdateFlagSegmentRhs1$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]).optional(), + cmpOptions: z.lazy(() => UpdateFlagSegmentCmpOptions$outboundSchema) + .optional(), + }) +); export function updateFlagSegmentConditionsToJSON( updateFlagSegmentConditions: UpdateFlagSegmentConditions, @@ -602,11 +626,13 @@ export const UpdateFlagSegmentOutcomeBase$outboundSchema: z.ZodType< UpdateFlagSegmentOutcomeBase$Outbound, z.ZodTypeDef, UpdateFlagSegmentOutcomeBase -> = z.object({ - type: z.any().optional(), - kind: z.string(), - attribute: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + kind: z.string(), + attribute: z.string(), + }) +); export function updateFlagSegmentOutcomeBaseToJSON( updateFlagSegmentOutcomeBase: UpdateFlagSegmentOutcomeBase, @@ -630,11 +656,13 @@ export const UpdateFlagSegmentOutcome2$outboundSchema: z.ZodType< UpdateFlagSegmentOutcome2$Outbound, z.ZodTypeDef, UpdateFlagSegmentOutcome2 -> = z.object({ - type: z.any().optional(), - base: z.lazy(() => UpdateFlagSegmentOutcomeBase$outboundSchema), - passPromille: z.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + base: z.lazy(() => UpdateFlagSegmentOutcomeBase$outboundSchema), + passPromille: z.number(), + }) +); export function updateFlagSegmentOutcome2ToJSON( updateFlagSegmentOutcome2: UpdateFlagSegmentOutcome2, @@ -654,9 +682,11 @@ export const UpdateFlagSegmentOutcome1$outboundSchema: z.ZodType< UpdateFlagSegmentOutcome1$Outbound, z.ZodTypeDef, UpdateFlagSegmentOutcome1 -> = z.object({ - type: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.any().optional(), + }) +); export function updateFlagSegmentOutcome1ToJSON( updateFlagSegmentOutcome1: UpdateFlagSegmentOutcome1, @@ -676,10 +706,12 @@ export const UpdateFlagSegmentOutcome$outboundSchema: z.ZodType< UpdateFlagSegmentOutcome$Outbound, z.ZodTypeDef, UpdateFlagSegmentOutcome -> = smartUnion([ - z.lazy(() => UpdateFlagSegmentOutcome2$outboundSchema), - z.lazy(() => UpdateFlagSegmentOutcome1$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagSegmentOutcome2$outboundSchema), + z.lazy(() => UpdateFlagSegmentOutcome1$outboundSchema), + ]) +); export function updateFlagSegmentOutcomeToJSON( updateFlagSegmentOutcome: UpdateFlagSegmentOutcome, @@ -703,14 +735,18 @@ export const UpdateFlagSegmentRules$outboundSchema: z.ZodType< UpdateFlagSegmentRules$Outbound, z.ZodTypeDef, UpdateFlagSegmentRules -> = z.object({ - id: z.string(), - conditions: z.array(z.lazy(() => UpdateFlagSegmentConditions$outboundSchema)), - outcome: smartUnion([ - z.lazy(() => UpdateFlagSegmentOutcome2$outboundSchema), - z.lazy(() => UpdateFlagSegmentOutcome1$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + conditions: z.array( + z.lazy(() => UpdateFlagSegmentConditions$outboundSchema), + ), + outcome: smartUnion([ + z.lazy(() => UpdateFlagSegmentOutcome2$outboundSchema), + z.lazy(() => UpdateFlagSegmentOutcome1$outboundSchema), + ]), + }) +); export function updateFlagSegmentRulesToJSON( updateFlagSegmentRules: UpdateFlagSegmentRules, @@ -731,10 +767,12 @@ export const UpdateFlagSegmentInclude$outboundSchema: z.ZodType< UpdateFlagSegmentInclude$Outbound, z.ZodTypeDef, UpdateFlagSegmentInclude -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagSegmentIncludeToJSON( updateFlagSegmentInclude: UpdateFlagSegmentInclude, @@ -755,10 +793,12 @@ export const UpdateFlagSegmentExclude$outboundSchema: z.ZodType< UpdateFlagSegmentExclude$Outbound, z.ZodTypeDef, UpdateFlagSegmentExclude -> = z.object({ - note: z.string().optional(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: z.string().optional(), + value: z.string(), + }) +); export function updateFlagSegmentExcludeToJSON( updateFlagSegmentExclude: UpdateFlagSegmentExclude, @@ -784,16 +824,18 @@ export const UpdateFlagSegmentData$outboundSchema: z.ZodType< UpdateFlagSegmentData$Outbound, z.ZodTypeDef, UpdateFlagSegmentData -> = z.object({ - rules: z.array(z.lazy(() => UpdateFlagSegmentRules$outboundSchema)) - .optional(), - include: z.record( - z.record(z.array(z.lazy(() => UpdateFlagSegmentInclude$outboundSchema))), - ).optional(), - exclude: z.record( - z.record(z.array(z.lazy(() => UpdateFlagSegmentExclude$outboundSchema))), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rules: z.array(z.lazy(() => UpdateFlagSegmentRules$outboundSchema)) + .optional(), + include: z.record( + z.record(z.array(z.lazy(() => UpdateFlagSegmentInclude$outboundSchema))), + ).optional(), + exclude: z.record( + z.record(z.array(z.lazy(() => UpdateFlagSegmentExclude$outboundSchema))), + ).optional(), + }) +); export function updateFlagSegmentDataToJSON( updateFlagSegmentData: UpdateFlagSegmentData, @@ -817,13 +859,15 @@ export const UpdateFlagSegmentRequestBody$outboundSchema: z.ZodType< UpdateFlagSegmentRequestBody$Outbound, z.ZodTypeDef, UpdateFlagSegmentRequestBody -> = z.object({ - operations: z.array(z.lazy(() => Operations$outboundSchema)).optional(), - label: z.string().optional(), - description: z.string().optional(), - data: z.lazy(() => UpdateFlagSegmentData$outboundSchema).optional(), - hint: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + operations: z.array(z.lazy(() => Operations$outboundSchema)).optional(), + label: z.string().optional(), + description: z.string().optional(), + data: z.lazy(() => UpdateFlagSegmentData$outboundSchema).optional(), + hint: z.string().optional(), + }) +); export function updateFlagSegmentRequestBodyToJSON( updateFlagSegmentRequestBody: UpdateFlagSegmentRequestBody, @@ -850,19 +894,21 @@ export const UpdateFlagSegmentRequest$outboundSchema: z.ZodType< UpdateFlagSegmentRequest$Outbound, z.ZodTypeDef, UpdateFlagSegmentRequest -> = z.object({ - projectIdOrName: z.string(), - segmentIdOrSlug: z.string(), - withMetadata: z.boolean().default(false), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateFlagSegmentRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + segmentIdOrSlug: z.string(), + withMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateFlagSegmentRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateFlagSegmentRequestToJSON( updateFlagSegmentRequest: UpdateFlagSegmentRequest, diff --git a/src/models/updateflagsettingsop.ts b/src/models/updateflagsettingsop.ts index e52c50b945..54da9e0831 100644 --- a/src/models/updateflagsettingsop.ts +++ b/src/models/updateflagsettingsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -157,10 +157,12 @@ export const Labels$outboundSchema: z.ZodType< Labels$Outbound, z.ZodTypeDef, Labels -> = z.object({ - label: z.string(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string(), + }) +); export function labelsToJSON(labels: Labels): string { return JSON.stringify(Labels$outboundSchema.parse(labels)); @@ -178,11 +180,13 @@ export const Attributes$outboundSchema: z.ZodType< Attributes$Outbound, z.ZodTypeDef, Attributes -> = z.object({ - key: z.string(), - type: z.string(), - labels: z.array(z.lazy(() => Labels$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + type: z.string(), + labels: z.array(z.lazy(() => Labels$outboundSchema)).optional(), + }) +); export function attributesToJSON(attributes: Attributes): string { return JSON.stringify(Attributes$outboundSchema.parse(attributes)); @@ -200,11 +204,13 @@ export const UpdateFlagSettingsEntities$outboundSchema: z.ZodType< UpdateFlagSettingsEntities$Outbound, z.ZodTypeDef, UpdateFlagSettingsEntities -> = z.object({ - kind: z.string(), - label: z.string(), - attributes: z.array(z.lazy(() => Attributes$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string(), + label: z.string(), + attributes: z.array(z.lazy(() => Attributes$outboundSchema)), + }) +); export function updateFlagSettingsEntitiesToJSON( updateFlagSettingsEntities: UpdateFlagSettingsEntities, @@ -225,11 +231,13 @@ export const UpdateFlagSettingsRequestBody$outboundSchema: z.ZodType< UpdateFlagSettingsRequestBody$Outbound, z.ZodTypeDef, UpdateFlagSettingsRequestBody -> = z.object({ - entities: z.array(z.lazy(() => UpdateFlagSettingsEntities$outboundSchema)) - .optional(), - environments: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + entities: z.array(z.lazy(() => UpdateFlagSettingsEntities$outboundSchema)) + .optional(), + environments: z.array(z.string()).optional(), + }) +); export function updateFlagSettingsRequestBodyToJSON( updateFlagSettingsRequestBody: UpdateFlagSettingsRequestBody, @@ -254,17 +262,19 @@ export const UpdateFlagSettingsRequest$outboundSchema: z.ZodType< UpdateFlagSettingsRequest$Outbound, z.ZodTypeDef, UpdateFlagSettingsRequest -> = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateFlagSettingsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateFlagSettingsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateFlagSettingsRequestToJSON( updateFlagSettingsRequest: UpdateFlagSettingsRequest, @@ -279,10 +289,12 @@ export const UpdateFlagSettingsFeatureFlagsLabels$inboundSchema: z.ZodType< UpdateFlagSettingsFeatureFlagsLabels, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.string(), + }) +); export function updateFlagSettingsFeatureFlagsLabelsFromJSON( jsonString: string, @@ -300,13 +312,15 @@ export const UpdateFlagSettingsFeatureFlagsAttributes$inboundSchema: z.ZodType< UpdateFlagSettingsFeatureFlagsAttributes, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - labels: types.optional( - z.array(z.lazy(() => UpdateFlagSettingsFeatureFlagsLabels$inboundSchema)), - ), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + labels: types.optional( + z.array(z.lazy(() => UpdateFlagSettingsFeatureFlagsLabels$inboundSchema)), + ), + type: types.string(), + }) +); export function updateFlagSettingsFeatureFlagsAttributesFromJSON( jsonString: string, @@ -330,13 +344,15 @@ export const UpdateFlagSettingsFeatureFlagsResponseEntities$inboundSchema: UpdateFlagSettingsFeatureFlagsResponseEntities, z.ZodTypeDef, unknown - > = z.object({ - attributes: z.array( - z.lazy(() => UpdateFlagSettingsFeatureFlagsAttributes$inboundSchema), - ), - kind: types.string(), - label: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.array( + z.lazy(() => UpdateFlagSettingsFeatureFlagsAttributes$inboundSchema), + ), + kind: types.string(), + label: types.string(), + }) + ); export function updateFlagSettingsFeatureFlagsResponseEntitiesFromJSON( jsonString: string, @@ -359,14 +375,16 @@ export const UpdateFlagSettingsFeatureFlagsMetadata$inboundSchema: z.ZodType< UpdateFlagSettingsFeatureFlagsMetadata, z.ZodTypeDef, unknown -> = z.object({ - activeFlagCount: types.number(), - archivedFlagCount: types.number(), - configUpdatedAt: types.optional(types.number()), - packRevision: types.optional(types.number()), - packSizeInBytes: types.number(), - segmentCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeFlagCount: types.number(), + archivedFlagCount: types.number(), + configUpdatedAt: types.optional(types.number()), + packRevision: types.optional(types.number()), + packSizeInBytes: types.number(), + segmentCount: types.number(), + }) +); export function updateFlagSettingsFeatureFlagsMetadataFromJSON( jsonString: string, @@ -381,30 +399,31 @@ export function updateFlagSettingsFeatureFlagsMetadataFromJSON( /** @internal */ export const UpdateFlagSettingsFeatureFlagsTypeName$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateFlagSettingsFeatureFlagsTypeName, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateFlagSettingsFeatureFlagsTypeName) + ); /** @internal */ export const UpdateFlagSettingsFeatureFlagsResponseBody$inboundSchema: z.ZodType = - z.object({ - createdAt: types.optional(types.number()), - enabled: types.boolean(), - entities: z.array( - z.lazy(() => + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + enabled: types.boolean(), + entities: z.array(z.lazy(() => UpdateFlagSettingsFeatureFlagsResponseEntities$inboundSchema + )), + environments: z.array(types.string()), + metadata: z.lazy(() => + UpdateFlagSettingsFeatureFlagsMetadata$inboundSchema ), - ), - environments: z.array(types.string()), - metadata: z.lazy(() => - UpdateFlagSettingsFeatureFlagsMetadata$inboundSchema - ), - ownerId: types.optional(types.string()), - projectId: types.string(), - typeName: UpdateFlagSettingsFeatureFlagsTypeName$inboundSchema, - updatedAt: types.optional(types.number()), - }); + ownerId: types.optional(types.string()), + projectId: types.string(), + typeName: UpdateFlagSettingsFeatureFlagsTypeName$inboundSchema, + updatedAt: types.optional(types.number()), + }) + ); export function updateFlagSettingsFeatureFlagsResponseBodyFromJSON( jsonString: string, @@ -427,10 +446,12 @@ export const UpdateFlagSettingsLabels$inboundSchema: z.ZodType< UpdateFlagSettingsLabels, z.ZodTypeDef, unknown -> = z.object({ - label: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: types.string(), + value: types.string(), + }) +); export function updateFlagSettingsLabelsFromJSON( jsonString: string, @@ -447,13 +468,15 @@ export const UpdateFlagSettingsAttributes$inboundSchema: z.ZodType< UpdateFlagSettingsAttributes, z.ZodTypeDef, unknown -> = z.object({ - key: types.string(), - labels: types.optional( - z.array(z.lazy(() => UpdateFlagSettingsLabels$inboundSchema)), - ), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: types.string(), + labels: types.optional( + z.array(z.lazy(() => UpdateFlagSettingsLabels$inboundSchema)), + ), + type: types.string(), + }) +); export function updateFlagSettingsAttributesFromJSON( jsonString: string, @@ -470,11 +493,15 @@ export const UpdateFlagSettingsFeatureFlagsEntities$inboundSchema: z.ZodType< UpdateFlagSettingsFeatureFlagsEntities, z.ZodTypeDef, unknown -> = z.object({ - attributes: z.array(z.lazy(() => UpdateFlagSettingsAttributes$inboundSchema)), - kind: types.string(), - label: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attributes: z.array( + z.lazy(() => UpdateFlagSettingsAttributes$inboundSchema), + ), + kind: types.string(), + label: types.string(), + }) +); export function updateFlagSettingsFeatureFlagsEntitiesFromJSON( jsonString: string, @@ -492,14 +519,16 @@ export const UpdateFlagSettingsMetadata$inboundSchema: z.ZodType< UpdateFlagSettingsMetadata, z.ZodTypeDef, unknown -> = z.object({ - activeFlagCount: types.number(), - archivedFlagCount: types.number(), - configUpdatedAt: types.optional(types.number()), - packRevision: types.optional(types.number()), - packSizeInBytes: types.number(), - segmentCount: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activeFlagCount: types.number(), + archivedFlagCount: types.number(), + configUpdatedAt: types.optional(types.number()), + packRevision: types.optional(types.number()), + packSizeInBytes: types.number(), + segmentCount: types.number(), + }) +); export function updateFlagSettingsMetadataFromJSON( jsonString: string, @@ -514,26 +543,28 @@ export function updateFlagSettingsMetadataFromJSON( /** @internal */ export const UpdateFlagSettingsTypeName$inboundSchema: z.ZodNativeEnum< typeof UpdateFlagSettingsTypeName -> = z.nativeEnum(UpdateFlagSettingsTypeName); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateFlagSettingsTypeName)); /** @internal */ export const UpdateFlagSettingsResponseBody$inboundSchema: z.ZodType< UpdateFlagSettingsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - enabled: types.boolean(), - entities: z.array( - z.lazy(() => UpdateFlagSettingsFeatureFlagsEntities$inboundSchema), - ), - environments: z.array(types.string()), - metadata: z.lazy(() => UpdateFlagSettingsMetadata$inboundSchema), - ownerId: types.optional(types.string()), - projectId: types.string(), - typeName: UpdateFlagSettingsTypeName$inboundSchema, - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + enabled: types.boolean(), + entities: z.array( + z.lazy(() => UpdateFlagSettingsFeatureFlagsEntities$inboundSchema), + ), + environments: z.array(types.string()), + metadata: z.lazy(() => UpdateFlagSettingsMetadata$inboundSchema), + ownerId: types.optional(types.string()), + projectId: types.string(), + typeName: UpdateFlagSettingsTypeName$inboundSchema, + updatedAt: types.optional(types.number()), + }) +); export function updateFlagSettingsResponseBodyFromJSON( jsonString: string, @@ -550,10 +581,12 @@ export const UpdateFlagSettingsResponse$inboundSchema: z.ZodType< UpdateFlagSettingsResponse, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateFlagSettingsResponseBody$inboundSchema), - z.lazy(() => UpdateFlagSettingsFeatureFlagsResponseBody$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateFlagSettingsResponseBody$inboundSchema), + z.lazy(() => UpdateFlagSettingsFeatureFlagsResponseBody$inboundSchema), + ]) +); export function updateFlagSettingsResponseFromJSON( jsonString: string, diff --git a/src/models/updateinstallationop.ts b/src/models/updateinstallationop.ts index e994a0cfef..fd839c207b 100644 --- a/src/models/updateinstallationop.ts +++ b/src/models/updateinstallationop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -86,12 +87,12 @@ export type UpdateInstallationRequest = { /** @internal */ export const UpdateInstallationStatus$outboundSchema: z.ZodNativeEnum< typeof UpdateInstallationStatus -> = z.nativeEnum(UpdateInstallationStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateInstallationStatus)); /** @internal */ export const UpdateInstallationType$outboundSchema: z.ZodNativeEnum< typeof UpdateInstallationType -> = z.nativeEnum(UpdateInstallationType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateInstallationType)); /** @internal */ export type UpdateInstallationDetails$Outbound = { @@ -104,10 +105,12 @@ export const UpdateInstallationDetails$outboundSchema: z.ZodType< UpdateInstallationDetails$Outbound, z.ZodTypeDef, UpdateInstallationDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function updateInstallationDetailsToJSON( updateInstallationDetails: UpdateInstallationDetails, @@ -128,10 +131,12 @@ export const HighlightedDetails$outboundSchema: z.ZodType< HighlightedDetails$Outbound, z.ZodTypeDef, HighlightedDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function highlightedDetailsToJSON( highlightedDetails: HighlightedDetails, @@ -160,27 +165,29 @@ export const UpdateInstallationBillingPlan$outboundSchema: z.ZodType< UpdateInstallationBillingPlan$Outbound, z.ZodTypeDef, UpdateInstallationBillingPlan -> = z.object({ - id: z.string(), - type: UpdateInstallationType$outboundSchema, - name: z.string(), - description: z.string().optional(), - paymentMethodRequired: z.boolean().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => UpdateInstallationDetails$outboundSchema)) - .optional(), - highlightedDetails: z.array(z.lazy(() => HighlightedDetails$outboundSchema)) - .optional(), - effectiveDate: z.string().optional(), - additionalProperties: z.record(z.any()).optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + type: UpdateInstallationType$outboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => UpdateInstallationDetails$outboundSchema)) + .optional(), + highlightedDetails: z.array(z.lazy(() => HighlightedDetails$outboundSchema)) + .optional(), + effectiveDate: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) +); export function updateInstallationBillingPlanToJSON( updateInstallationBillingPlan: UpdateInstallationBillingPlan, @@ -193,9 +200,8 @@ export function updateInstallationBillingPlanToJSON( } /** @internal */ -export const Level$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Level, -); +export const Level$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Level)); /** @internal */ export type Notification1$Outbound = { @@ -210,12 +216,14 @@ export const Notification1$outboundSchema: z.ZodType< Notification1$Outbound, z.ZodTypeDef, Notification1 -> = z.object({ - level: Level$outboundSchema, - title: z.string(), - message: z.string().optional(), - href: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: Level$outboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), + }) +); export function notification1ToJSON(notification1: Notification1): string { return JSON.stringify(Notification1$outboundSchema.parse(notification1)); @@ -229,7 +237,9 @@ export const Notification$outboundSchema: z.ZodType< Notification$Outbound, z.ZodTypeDef, Notification -> = smartUnion([z.lazy(() => Notification1$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => Notification1$outboundSchema), z.string()]) +); export function notificationToJSON(notification: Notification): string { return JSON.stringify(Notification$outboundSchema.parse(notification)); @@ -248,16 +258,18 @@ export const UpdateInstallationRequestBody$outboundSchema: z.ZodType< UpdateInstallationRequestBody$Outbound, z.ZodTypeDef, UpdateInstallationRequestBody -> = z.object({ - status: UpdateInstallationStatus$outboundSchema.optional(), - externalId: z.string().optional(), - billingPlan: z.lazy(() => UpdateInstallationBillingPlan$outboundSchema) - .optional(), - notification: smartUnion([ - z.lazy(() => Notification1$outboundSchema), - z.string(), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: UpdateInstallationStatus$outboundSchema.optional(), + externalId: z.string().optional(), + billingPlan: z.lazy(() => UpdateInstallationBillingPlan$outboundSchema) + .optional(), + notification: smartUnion([ + z.lazy(() => Notification1$outboundSchema), + z.string(), + ]).optional(), + }) +); export function updateInstallationRequestBodyToJSON( updateInstallationRequestBody: UpdateInstallationRequestBody, @@ -280,15 +292,17 @@ export const UpdateInstallationRequest$outboundSchema: z.ZodType< UpdateInstallationRequest$Outbound, z.ZodTypeDef, UpdateInstallationRequest -> = z.object({ - integrationConfigurationId: z.string(), - requestBody: z.lazy(() => UpdateInstallationRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => UpdateInstallationRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateInstallationRequestToJSON( updateInstallationRequest: UpdateInstallationRequest, diff --git a/src/models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts b/src/models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts index c8fdbec9e3..9c2458cd04 100644 --- a/src/models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts +++ b/src/models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory = @@ -44,8 +45,10 @@ export type UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceId export const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory$outboundSchema: z.ZodNativeEnum< typeof UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory - > = z.nativeEnum( - UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory, + ) ); /** @internal */ @@ -67,18 +70,20 @@ export const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceI UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBody$Outbound, z.ZodTypeDef, UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBody - > = z.object({ - slug: z.string(), - origin: z.string(), - name: z.string().optional(), - category: - UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory$outboundSchema - .optional(), - description: z.string().optional(), - isArchived: z.boolean().optional(), - createdAt: z.number().optional(), - updatedAt: z.number().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: z.string(), + origin: z.string(), + name: z.string().optional(), + category: + UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdCategory$outboundSchema + .optional(), + description: z.string().optional(), + isArchived: z.boolean().optional(), + createdAt: z.number().optional(), + updatedAt: z.number().optional(), + }) + ); export function updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBodyToJSON( updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBody: @@ -109,18 +114,20 @@ export const UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceI UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest$Outbound, z.ZodTypeDef, UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest - > = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - itemId: z.string(), - requestBody: z.lazy(() => - UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + itemId: z.string(), + requestBody: z.lazy(() => + UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequestToJSON( updateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest: diff --git a/src/models/updateintegrationdeploymentactionop.ts b/src/models/updateintegrationdeploymentactionop.ts index 6547099a3b..7212dcf223 100644 --- a/src/models/updateintegrationdeploymentactionop.ts +++ b/src/models/updateintegrationdeploymentactionop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -79,8 +80,10 @@ export type UpdateIntegrationDeploymentActionRequest = { /** @internal */ export const UpdateIntegrationDeploymentActionStatus$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateIntegrationDeploymentActionStatus); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateIntegrationDeploymentActionStatus) + ); /** @internal */ export type OutcomesWhen$Outbound = { @@ -93,10 +96,12 @@ export const OutcomesWhen$outboundSchema: z.ZodType< OutcomesWhen$Outbound, z.ZodTypeDef, OutcomesWhen -> = z.object({ - role: z.array(z.string()).optional(), - environment: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + role: z.array(z.string()).optional(), + environment: z.array(z.string()).optional(), + }) +); export function outcomesWhenToJSON(outcomesWhen: OutcomesWhen): string { return JSON.stringify(OutcomesWhen$outboundSchema.parse(outcomesWhen)); @@ -110,7 +115,9 @@ export const Claims1$outboundSchema: z.ZodType< Claims1$Outbound, z.ZodTypeDef, Claims1 -> = smartUnion([z.string(), z.number(), z.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.number(), z.boolean()]) +); export function claims1ToJSON(claims1: Claims1): string { return JSON.stringify(Claims1$outboundSchema.parse(claims1)); @@ -124,10 +131,12 @@ export const OutcomesClaims$outboundSchema: z.ZodType< OutcomesClaims$Outbound, z.ZodTypeDef, OutcomesClaims -> = smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]) +); export function outcomesClaimsToJSON(outcomesClaims: OutcomesClaims): string { return JSON.stringify(OutcomesClaims$outboundSchema.parse(outcomesClaims)); @@ -144,17 +153,19 @@ export const ClaimRules$outboundSchema: z.ZodType< ClaimRules$Outbound, z.ZodTypeDef, ClaimRules -> = z.object({ - when: z.lazy(() => OutcomesWhen$outboundSchema).optional(), - claims: z.record( - z.nullable( - smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + when: z.lazy(() => OutcomesWhen$outboundSchema).optional(), + claims: z.record( + z.nullable( + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]), + ), ), - ), -}); + }) +); export function claimRulesToJSON(claimRules: ClaimRules): string { return JSON.stringify(ClaimRules$outboundSchema.parse(claimRules)); @@ -171,10 +182,12 @@ export const Outcomes2$outboundSchema: z.ZodType< Outcomes2$Outbound, z.ZodTypeDef, Outcomes2 -> = z.object({ - kind: z.string(), - claimRules: z.array(z.lazy(() => ClaimRules$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string(), + claimRules: z.array(z.lazy(() => ClaimRules$outboundSchema)), + }) +); export function outcomes2ToJSON(outcomes2: Outcomes2): string { return JSON.stringify(Outcomes2$outboundSchema.parse(outcomes2)); @@ -191,10 +204,12 @@ export const Secrets$outboundSchema: z.ZodType< Secrets$Outbound, z.ZodTypeDef, Secrets -> = z.object({ - name: z.string(), - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + }) +); export function secretsToJSON(secrets: Secrets): string { return JSON.stringify(Secrets$outboundSchema.parse(secrets)); @@ -211,10 +226,12 @@ export const Outcomes1$outboundSchema: z.ZodType< Outcomes1$Outbound, z.ZodTypeDef, Outcomes1 -> = z.object({ - kind: z.string(), - secrets: z.array(z.lazy(() => Secrets$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: z.string(), + secrets: z.array(z.lazy(() => Secrets$outboundSchema)), + }) +); export function outcomes1ToJSON(outcomes1: Outcomes1): string { return JSON.stringify(Outcomes1$outboundSchema.parse(outcomes1)); @@ -228,10 +245,12 @@ export const Outcomes$outboundSchema: z.ZodType< Outcomes$Outbound, z.ZodTypeDef, Outcomes -> = smartUnion([ - z.lazy(() => Outcomes1$outboundSchema), - z.lazy(() => Outcomes2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Outcomes1$outboundSchema), + z.lazy(() => Outcomes2$outboundSchema), + ]) +); export function outcomesToJSON(outcomes: Outcomes): string { return JSON.stringify(Outcomes$outboundSchema.parse(outcomes)); @@ -251,17 +270,17 @@ export const UpdateIntegrationDeploymentActionRequestBody$outboundSchema: UpdateIntegrationDeploymentActionRequestBody$Outbound, z.ZodTypeDef, UpdateIntegrationDeploymentActionRequestBody - > = z.object({ - status: UpdateIntegrationDeploymentActionStatus$outboundSchema.optional(), - statusText: z.string().optional(), - statusUrl: z.string().optional(), - outcomes: z.array( - smartUnion([ + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + status: UpdateIntegrationDeploymentActionStatus$outboundSchema.optional(), + statusText: z.string().optional(), + statusUrl: z.string().optional(), + outcomes: z.array(smartUnion([ z.lazy(() => Outcomes1$outboundSchema), z.lazy(() => Outcomes2$outboundSchema), - ]), - ).optional(), - }); + ])).optional(), + }) + ); export function updateIntegrationDeploymentActionRequestBodyToJSON( updateIntegrationDeploymentActionRequestBody: @@ -290,19 +309,21 @@ export const UpdateIntegrationDeploymentActionRequest$outboundSchema: z.ZodType< UpdateIntegrationDeploymentActionRequest$Outbound, z.ZodTypeDef, UpdateIntegrationDeploymentActionRequest -> = z.object({ - deploymentId: z.string(), - integrationConfigurationId: z.string(), - resourceId: z.string(), - action: z.string(), - requestBody: z.lazy(() => - UpdateIntegrationDeploymentActionRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: z.string(), + integrationConfigurationId: z.string(), + resourceId: z.string(), + action: z.string(), + requestBody: z.lazy(() => + UpdateIntegrationDeploymentActionRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateIntegrationDeploymentActionRequestToJSON( updateIntegrationDeploymentActionRequest: diff --git a/src/models/updateinvoiceop.ts b/src/models/updateinvoiceop.ts index c600db1c49..66f260ff5b 100644 --- a/src/models/updateinvoiceop.ts +++ b/src/models/updateinvoiceop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const RequestBodyAction = { @@ -34,7 +35,7 @@ export type UpdateInvoiceRequest = { /** @internal */ export const RequestBodyAction$outboundSchema: z.ZodNativeEnum< typeof RequestBodyAction -> = z.nativeEnum(RequestBodyAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestBodyAction)); /** @internal */ export type UpdateInvoiceRequestBody1$Outbound = { @@ -48,11 +49,13 @@ export const UpdateInvoiceRequestBody1$outboundSchema: z.ZodType< UpdateInvoiceRequestBody1$Outbound, z.ZodTypeDef, UpdateInvoiceRequestBody1 -> = z.object({ - action: RequestBodyAction$outboundSchema, - reason: z.string(), - total: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: RequestBodyAction$outboundSchema, + reason: z.string(), + total: z.string(), + }) +); export function updateInvoiceRequestBody1ToJSON( updateInvoiceRequestBody1: UpdateInvoiceRequestBody1, @@ -71,7 +74,9 @@ export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType< UpdateInvoiceRequestBody$Outbound, z.ZodTypeDef, UpdateInvoiceRequestBody -> = z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema); +> = /* @__PURE__ */ lazySchema$(() => + z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema) +); export function updateInvoiceRequestBodyToJSON( updateInvoiceRequestBody: UpdateInvoiceRequestBody, @@ -93,15 +98,17 @@ export const UpdateInvoiceRequest$outboundSchema: z.ZodType< UpdateInvoiceRequest$Outbound, z.ZodTypeDef, UpdateInvoiceRequest -> = z.object({ - integrationConfigurationId: z.string(), - invoiceId: z.string(), - requestBody: z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + requestBody: z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateInvoiceRequestToJSON( updateInvoiceRequest: UpdateInvoiceRequest, diff --git a/src/models/updatekmsissuerop.ts b/src/models/updatekmsissuerop.ts index e787baca89..aa54c58d93 100644 --- a/src/models/updatekmsissuerop.ts +++ b/src/models/updatekmsissuerop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -189,10 +189,12 @@ export const UpdateKmsIssuerRequestBody$outboundSchema: z.ZodType< UpdateKmsIssuerRequestBody$Outbound, z.ZodTypeDef, UpdateKmsIssuerRequestBody -> = z.object({ - name: z.string().optional(), - claimsSchema: z.nullable(z.record(z.any())).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + claimsSchema: z.nullable(z.record(z.any())).optional(), + }) +); export function updateKmsIssuerRequestBodyToJSON( updateKmsIssuerRequestBody: UpdateKmsIssuerRequestBody, @@ -215,17 +217,19 @@ export const UpdateKmsIssuerRequest$outboundSchema: z.ZodType< UpdateKmsIssuerRequest$Outbound, z.ZodTypeDef, UpdateKmsIssuerRequest -> = z.object({ - issuerId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateKmsIssuerRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateKmsIssuerRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateKmsIssuerRequestToJSON( updateKmsIssuerRequest: UpdateKmsIssuerRequest, @@ -238,30 +242,34 @@ export function updateKmsIssuerRequestToJSON( /** @internal */ export const UpdateKmsIssuerAlgorithm$inboundSchema: z.ZodNativeEnum< typeof UpdateKmsIssuerAlgorithm -> = z.nativeEnum(UpdateKmsIssuerAlgorithm); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateKmsIssuerAlgorithm)); /** @internal */ export const UpdateKmsIssuerDiscoveryLayout$inboundSchema: z.ZodNativeEnum< typeof UpdateKmsIssuerDiscoveryLayout -> = z.nativeEnum(UpdateKmsIssuerDiscoveryLayout); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateKmsIssuerDiscoveryLayout) +); /** @internal */ export const UpdateKmsIssuerOrigin$inboundSchema: z.ZodNativeEnum< typeof UpdateKmsIssuerOrigin -> = z.nativeEnum(UpdateKmsIssuerOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateKmsIssuerOrigin)); /** @internal */ export const UpdateKmsIssuerPolicies3$inboundSchema: z.ZodType< UpdateKmsIssuerPolicies3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicies3FromJSON( jsonString: string, @@ -278,13 +286,15 @@ export const UpdateKmsIssuerPolicies2$inboundSchema: z.ZodType< UpdateKmsIssuerPolicies2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicies2FromJSON( jsonString: string, @@ -301,15 +311,17 @@ export const UpdateKmsIssuerPolicies1$inboundSchema: z.ZodType< UpdateKmsIssuerPolicies1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicies1FromJSON( jsonString: string, @@ -326,11 +338,13 @@ export const UpdateKmsIssuerPolicies$inboundSchema: z.ZodType< UpdateKmsIssuerPolicies, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateKmsIssuerPolicies1$inboundSchema), - z.lazy(() => UpdateKmsIssuerPolicies2$inboundSchema), - z.lazy(() => UpdateKmsIssuerPolicies3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateKmsIssuerPolicies1$inboundSchema), + z.lazy(() => UpdateKmsIssuerPolicies2$inboundSchema), + z.lazy(() => UpdateKmsIssuerPolicies3$inboundSchema), + ]) +); export function updateKmsIssuerPoliciesFromJSON( jsonString: string, @@ -347,20 +361,22 @@ export const UpdateKmsIssuerPublicKey$inboundSchema: z.ZodType< UpdateKmsIssuerPublicKey, z.ZodTypeDef, unknown -> = z.object({ - alg: types.optional(types.string()), - key_ops: types.optional(z.array(types.string())), - kid: types.optional(types.string()), - kty: types.optional(types.string()), - use: types.optional(types.string()), - x5c: types.optional(z.array(types.string())), - "x5t#S256": types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "key_ops": "keyOps", - "x5t#S256": "x5tNumberS256", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alg: types.optional(types.string()), + key_ops: types.optional(z.array(types.string())), + kid: types.optional(types.string()), + kty: types.optional(types.string()), + use: types.optional(types.string()), + x5c: types.optional(z.array(types.string())), + "x5t#S256": types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "key_ops": "keyOps", + "x5t#S256": "x5tNumberS256", + }); + }) +); export function updateKmsIssuerPublicKeyFromJSON( jsonString: string, @@ -375,31 +391,33 @@ export function updateKmsIssuerPublicKeyFromJSON( /** @internal */ export const UpdateKmsIssuerStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateKmsIssuerStatus -> = z.nativeEnum(UpdateKmsIssuerStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateKmsIssuerStatus)); /** @internal */ export const UpdateKmsIssuerSigningKeys$inboundSchema: z.ZodType< UpdateKmsIssuerSigningKeys, z.ZodTypeDef, unknown -> = z.object({ - activateAt: types.optional(types.string()), - activatedAt: types.optional(types.string()), - algorithm: types.string(), - certificatePem: types.optional(types.string()), - createdAt: types.string(), - importKeyId: types.optional(types.string()), - issuerId: types.string(), - keyId: types.string(), - publicKey: types.optional( - z.lazy(() => UpdateKmsIssuerPublicKey$inboundSchema), - ), - publicKeyFingerprint: types.string(), - publicKeyPem: types.optional(types.string()), - revokeAt: types.optional(types.string()), - status: UpdateKmsIssuerStatus$inboundSchema, - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + activateAt: types.optional(types.string()), + activatedAt: types.optional(types.string()), + algorithm: types.string(), + certificatePem: types.optional(types.string()), + createdAt: types.string(), + importKeyId: types.optional(types.string()), + issuerId: types.string(), + keyId: types.string(), + publicKey: types.optional( + z.lazy(() => UpdateKmsIssuerPublicKey$inboundSchema), + ), + publicKeyFingerprint: types.string(), + publicKeyPem: types.optional(types.string()), + revokeAt: types.optional(types.string()), + status: UpdateKmsIssuerStatus$inboundSchema, + updatedAt: types.string(), + }) +); export function updateKmsIssuerSigningKeysFromJSON( jsonString: string, @@ -416,26 +434,28 @@ export const UpdateKmsIssuerResponseBody$inboundSchema: z.ZodType< UpdateKmsIssuerResponseBody, z.ZodTypeDef, unknown -> = z.object({ - algorithm: UpdateKmsIssuerAlgorithm$inboundSchema, - claimsSchema: types.optional(z.record(z.any())), - createdAt: types.string(), - discoveryLayout: UpdateKmsIssuerDiscoveryLayout$inboundSchema, - id: types.string(), - managedBy: types.optional(types.string()), - name: types.string(), - origin: UpdateKmsIssuerOrigin$inboundSchema, - ownerId: types.string(), - policies: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: UpdateKmsIssuerAlgorithm$inboundSchema, + claimsSchema: types.optional(z.record(z.any())), + createdAt: types.string(), + discoveryLayout: UpdateKmsIssuerDiscoveryLayout$inboundSchema, + id: types.string(), + managedBy: types.optional(types.string()), + name: types.string(), + origin: UpdateKmsIssuerOrigin$inboundSchema, + ownerId: types.string(), + policies: z.array(z.union([ z.lazy(() => UpdateKmsIssuerPolicies1$inboundSchema), z.lazy(() => UpdateKmsIssuerPolicies2$inboundSchema), z.lazy(() => UpdateKmsIssuerPolicies3$inboundSchema), - ]), - ), - signingKeys: z.array(z.lazy(() => UpdateKmsIssuerSigningKeys$inboundSchema)), - updatedAt: types.string(), -}); + ])), + signingKeys: z.array(z.lazy(() => + UpdateKmsIssuerSigningKeys$inboundSchema + )), + updatedAt: types.string(), + }) +); export function updateKmsIssuerResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatekmsissuerpolicyop.ts b/src/models/updatekmsissuerpolicyop.ts index f29c839ee5..0234e7184c 100644 --- a/src/models/updatekmsissuerpolicyop.ts +++ b/src/models/updatekmsissuerpolicyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -96,7 +96,7 @@ export type UpdateKmsIssuerPolicyResponseBody = /** @internal */ export const PathParamKind$outboundSchema: z.ZodNativeEnum< typeof PathParamKind -> = z.nativeEnum(PathParamKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PathParamKind)); /** @internal */ export type UpdateKmsIssuerPolicyRequestBody$Outbound = { @@ -109,10 +109,12 @@ export const UpdateKmsIssuerPolicyRequestBody$outboundSchema: z.ZodType< UpdateKmsIssuerPolicyRequestBody$Outbound, z.ZodTypeDef, UpdateKmsIssuerPolicyRequestBody -> = z.object({ - environments: z.array(z.string()).optional(), - tokenClaims: z.nullable(z.record(z.any())).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environments: z.array(z.string()).optional(), + tokenClaims: z.nullable(z.record(z.any())).optional(), + }) +); export function updateKmsIssuerPolicyRequestBodyToJSON( updateKmsIssuerPolicyRequestBody: UpdateKmsIssuerPolicyRequestBody, @@ -139,19 +141,21 @@ export const UpdateKmsIssuerPolicyRequest$outboundSchema: z.ZodType< UpdateKmsIssuerPolicyRequest$Outbound, z.ZodTypeDef, UpdateKmsIssuerPolicyRequest -> = z.object({ - issuerId: z.string(), - kind: PathParamKind$outboundSchema, - policyKey: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateKmsIssuerPolicyRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: z.string(), + kind: PathParamKind$outboundSchema, + policyKey: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateKmsIssuerPolicyRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateKmsIssuerPolicyRequestToJSON( updateKmsIssuerPolicyRequest: UpdateKmsIssuerPolicyRequest, @@ -168,13 +172,15 @@ export const UpdateKmsIssuerPolicyResponseBody3$inboundSchema: z.ZodType< UpdateKmsIssuerPolicyResponseBody3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - integrationId: types.string(), - kind: types.literal("integration-tokens-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + integrationId: types.string(), + kind: types.literal("integration-tokens-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicyResponseBody3FromJSON( jsonString: string, @@ -192,13 +198,15 @@ export const UpdateKmsIssuerPolicyResponseBody2$inboundSchema: z.ZodType< UpdateKmsIssuerPolicyResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.string(), - createdAt: types.string(), - kind: types.literal("connex-grant"), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + createdAt: types.string(), + kind: types.literal("connex-grant"), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicyResponseBody2FromJSON( jsonString: string, @@ -216,15 +224,17 @@ export const UpdateKmsIssuerPolicyResponseBody1$inboundSchema: z.ZodType< UpdateKmsIssuerPolicyResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - environments: z.array(types.string()), - kind: types.literal("project-grant"), - projectId: types.string(), - teamId: types.string(), - tokenClaims: types.optional(z.record(z.any())), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + environments: z.array(types.string()), + kind: types.literal("project-grant"), + projectId: types.string(), + teamId: types.string(), + tokenClaims: types.optional(z.record(z.any())), + updatedAt: types.string(), + }) +); export function updateKmsIssuerPolicyResponseBody1FromJSON( jsonString: string, @@ -242,11 +252,13 @@ export const UpdateKmsIssuerPolicyResponseBody$inboundSchema: z.ZodType< UpdateKmsIssuerPolicyResponseBody, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateKmsIssuerPolicyResponseBody1$inboundSchema), - z.lazy(() => UpdateKmsIssuerPolicyResponseBody2$inboundSchema), - z.lazy(() => UpdateKmsIssuerPolicyResponseBody3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateKmsIssuerPolicyResponseBody1$inboundSchema), + z.lazy(() => UpdateKmsIssuerPolicyResponseBody2$inboundSchema), + z.lazy(() => UpdateKmsIssuerPolicyResponseBody3$inboundSchema), + ]) +); export function updateKmsIssuerPolicyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatemicrofrontendsbuilds.ts b/src/models/updatemicrofrontendsbuilds.ts index 55df44daaf..3ca3f8e419 100644 --- a/src/models/updatemicrofrontendsbuilds.ts +++ b/src/models/updatemicrofrontendsbuilds.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1521,14 +1521,16 @@ export const UpdateMicrofrontendsRequestBody$outboundSchema: z.ZodType< UpdateMicrofrontendsRequestBody$Outbound, z.ZodTypeDef, UpdateMicrofrontendsRequestBody -> = z.object({ - microfrontendsGroupId: z.string().optional(), - enabled: z.boolean().optional(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), - doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + microfrontendsGroupId: z.string().optional(), + enabled: z.boolean().optional(), + isDefaultApp: z.boolean().optional(), + defaultRoute: z.string().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + }) +); export function updateMicrofrontendsRequestBodyToJSON( updateMicrofrontendsRequestBody: UpdateMicrofrontendsRequestBody, @@ -1553,17 +1555,19 @@ export const UpdateMicrofrontendsRequest$outboundSchema: z.ZodType< UpdateMicrofrontendsRequest$Outbound, z.ZodTypeDef, UpdateMicrofrontendsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateMicrofrontendsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateMicrofrontendsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateMicrofrontendsRequestToJSON( updateMicrofrontendsRequest: UpdateMicrofrontendsRequest, @@ -1578,7 +1582,9 @@ export function updateMicrofrontendsRequestToJSON( /** @internal */ export const UpdateMicrofrontendsConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsConfiguredBy -> = z.nativeEnum(UpdateMicrofrontendsConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsConfiguredBy) +); /** @internal */ export const UpdateMicrofrontendsProjectsResponseAliasAssigned$inboundSchema: @@ -1586,7 +1592,9 @@ export const UpdateMicrofrontendsProjectsResponseAliasAssigned$inboundSchema: UpdateMicrofrontendsProjectsResponseAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function updateMicrofrontendsProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -1610,10 +1618,12 @@ export const UpdateMicrofrontendsProjectsResponseAliasError$inboundSchema: UpdateMicrofrontendsProjectsResponseAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function updateMicrofrontendsProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -1635,8 +1645,10 @@ export function updateMicrofrontendsProjectsResponseAliasErrorFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ @@ -1645,11 +1657,13 @@ export const UpdateMicrofrontendsProjectsResponse200BranchMatcher$inboundSchema: UpdateMicrofrontendsProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + }) + ); export function updateMicrofrontendsProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -1670,11 +1684,13 @@ export function updateMicrofrontendsProjectsResponse200BranchMatcherFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsResponseBuilds$inboundSchema: z.ZodType = - z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) + ); export function updateMicrofrontendsProjectsResponseBuildsFromJSON( jsonString: string, @@ -1695,12 +1711,16 @@ export function updateMicrofrontendsProjectsResponseBuildsFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateMicrofrontendsProjectsResponseChecksConclusion); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseChecksConclusion) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseChecksState) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponse200Creator$inboundSchema: @@ -1708,13 +1728,15 @@ export const UpdateMicrofrontendsProjectsResponse200Creator$inboundSchema: UpdateMicrofrontendsProjectsResponse200Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function updateMicrofrontendsProjectsResponse200CreatorFromJSON( jsonString: string, @@ -1738,29 +1760,31 @@ export const UpdateMicrofrontendsProjectsResponseOidcTokenClaims$inboundSchema: UpdateMicrofrontendsProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function updateMicrofrontendsProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -1780,25 +1804,33 @@ export function updateMicrofrontendsProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsResponsePlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponsePlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponsePlan) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseReadyState) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseReadySubstate) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1806,68 +1838,74 @@ export const UpdateMicrofrontendsDeployment$inboundSchema: z.ZodType< UpdateMicrofrontendsDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UpdateMicrofrontendsProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => - UpdateMicrofrontendsProjectsResponse200BranchMatcher$inboundSchema +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => + UpdateMicrofrontendsProjectsResponseAliasError$inboundSchema + ), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => + UpdateMicrofrontendsProjectsResponse200BranchMatcher$inboundSchema + ), ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => - UpdateMicrofrontendsProjectsResponseBuilds$inboundSchema - )), - ), - checksConclusion: types.optional( - UpdateMicrofrontendsProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - UpdateMicrofrontendsProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateMicrofrontendsProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => - UpdateMicrofrontendsProjectsResponseOidcTokenClaims$inboundSchema + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => + UpdateMicrofrontendsProjectsResponseBuilds$inboundSchema + )), ), - ), - plan: UpdateMicrofrontendsProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateMicrofrontendsProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - UpdateMicrofrontendsProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + checksConclusion: types.optional( + UpdateMicrofrontendsProjectsResponseChecksConclusion$inboundSchema, + ), + checksState: types.optional( + UpdateMicrofrontendsProjectsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => + UpdateMicrofrontendsProjectsResponse200Creator$inboundSchema + ), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => + UpdateMicrofrontendsProjectsResponseOidcTokenClaims$inboundSchema + ), + ), + plan: UpdateMicrofrontendsProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateMicrofrontendsProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + UpdateMicrofrontendsProjectsResponseReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsDeploymentFromJSON( jsonString: string, @@ -1882,33 +1920,37 @@ export function updateMicrofrontendsDeploymentFromJSON( /** @internal */ export const UpdateMicrofrontendsEnvironment$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsEnvironment -> = z.nativeEnum(UpdateMicrofrontendsEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsEnvironment) +); /** @internal */ export const UpdateMicrofrontendsTarget$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsTarget -> = z.nativeEnum(UpdateMicrofrontendsTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsTarget)); /** @internal */ export const UpdateMicrofrontendsAlias$inboundSchema: z.ZodType< UpdateMicrofrontendsAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(UpdateMicrofrontendsConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => UpdateMicrofrontendsDeployment$inboundSchema), - ), - domain: types.string(), - environment: UpdateMicrofrontendsEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: UpdateMicrofrontendsTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(UpdateMicrofrontendsConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => UpdateMicrofrontendsDeployment$inboundSchema), + ), + domain: types.string(), + environment: UpdateMicrofrontendsEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: UpdateMicrofrontendsTarget$inboundSchema, + }) +); export function updateMicrofrontendsAliasFromJSON( jsonString: string, @@ -1925,15 +1967,17 @@ export const UpdateMicrofrontendsAnalytics$inboundSchema: z.ZodType< UpdateMicrofrontendsAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function updateMicrofrontendsAnalyticsFromJSON( jsonString: string, @@ -1950,9 +1994,11 @@ export const UpdateMicrofrontendsBlobs$inboundSchema: z.ZodType< UpdateMicrofrontendsBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsBlobsFromJSON( jsonString: string, @@ -1969,10 +2015,12 @@ export const UpdateMicrofrontendsAws$inboundSchema: z.ZodType< UpdateMicrofrontendsAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function updateMicrofrontendsAwsFromJSON( jsonString: string, @@ -1987,14 +2035,16 @@ export function updateMicrofrontendsAwsFromJSON( /** @internal */ export const UpdateMicrofrontendsEnvId2$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsEnvId2 -> = z.nativeEnum(UpdateMicrofrontendsEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsEnvId2)); /** @internal */ export const UpdateMicrofrontendsEnvId$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UpdateMicrofrontendsEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UpdateMicrofrontendsEnvId2$inboundSchema]) +); export function updateMicrofrontendsEnvIdFromJSON( jsonString: string, @@ -2011,16 +2061,21 @@ export const UpdateMicrofrontendsConnectConfigurations$inboundSchema: z.ZodType< UpdateMicrofrontendsConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => UpdateMicrofrontendsAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UpdateMicrofrontendsEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => UpdateMicrofrontendsAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([ + types.string(), + UpdateMicrofrontendsEnvId2$inboundSchema, + ]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function updateMicrofrontendsConnectConfigurationsFromJSON( jsonString: string, @@ -2043,9 +2098,11 @@ export const UpdateMicrofrontendsCreator5$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function updateMicrofrontendsCreator5FromJSON( jsonString: string, @@ -2062,10 +2119,12 @@ export const UpdateMicrofrontendsCreatorIntegration$inboundSchema: z.ZodType< UpdateMicrofrontendsCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateMicrofrontendsCreatorIntegrationFromJSON( jsonString: string, @@ -2083,12 +2142,14 @@ export const UpdateMicrofrontendsCreator4$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UpdateMicrofrontendsCreatorIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UpdateMicrofrontendsCreatorIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function updateMicrofrontendsCreator4FromJSON( jsonString: string, @@ -2105,10 +2166,12 @@ export const UpdateMicrofrontendsCreatorApp$inboundSchema: z.ZodType< UpdateMicrofrontendsCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateMicrofrontendsCreatorAppFromJSON( jsonString: string, @@ -2125,10 +2188,12 @@ export const UpdateMicrofrontendsCreator3$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateMicrofrontendsCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateMicrofrontendsCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateMicrofrontendsCreator3FromJSON( jsonString: string, @@ -2145,9 +2210,11 @@ export const UpdateMicrofrontendsCreatorProject$inboundSchema: z.ZodType< UpdateMicrofrontendsCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateMicrofrontendsCreatorProjectFromJSON( jsonString: string, @@ -2165,10 +2232,12 @@ export const UpdateMicrofrontendsCreator2$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UpdateMicrofrontendsCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UpdateMicrofrontendsCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function updateMicrofrontendsCreator2FromJSON( jsonString: string, @@ -2185,10 +2254,12 @@ export const UpdateMicrofrontendsViaIntegration$inboundSchema: z.ZodType< UpdateMicrofrontendsViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateMicrofrontendsViaIntegrationFromJSON( jsonString: string, @@ -2206,10 +2277,12 @@ export const UpdateMicrofrontendsVia2$inboundSchema: z.ZodType< UpdateMicrofrontendsVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UpdateMicrofrontendsViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => UpdateMicrofrontendsViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function updateMicrofrontendsVia2FromJSON( jsonString: string, @@ -2226,10 +2299,12 @@ export const UpdateMicrofrontendsViaApp$inboundSchema: z.ZodType< UpdateMicrofrontendsViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateMicrofrontendsViaAppFromJSON( jsonString: string, @@ -2246,10 +2321,12 @@ export const UpdateMicrofrontendsVia1$inboundSchema: z.ZodType< UpdateMicrofrontendsVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateMicrofrontendsViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateMicrofrontendsViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateMicrofrontendsVia1FromJSON( jsonString: string, @@ -2266,10 +2343,12 @@ export const UpdateMicrofrontendsCreatorVia$inboundSchema: z.ZodType< UpdateMicrofrontendsCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsVia1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsVia1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsVia2$inboundSchema), + ]) +); export function updateMicrofrontendsCreatorViaFromJSON( jsonString: string, @@ -2286,9 +2365,11 @@ export const UpdateMicrofrontendsCreatorUser$inboundSchema: z.ZodType< UpdateMicrofrontendsCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateMicrofrontendsCreatorUserFromJSON( jsonString: string, @@ -2305,16 +2386,18 @@ export const UpdateMicrofrontendsCreator1$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UpdateMicrofrontendsVia1$inboundSchema), z.lazy(() => UpdateMicrofrontendsVia2$inboundSchema), - ]), - ), - user: z.lazy(() => UpdateMicrofrontendsCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + UpdateMicrofrontendsCreatorUser$inboundSchema + ), + }) +); export function updateMicrofrontendsCreator1FromJSON( jsonString: string, @@ -2331,13 +2414,15 @@ export const UpdateMicrofrontendsCreator$inboundSchema: z.ZodType< UpdateMicrofrontendsCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsCreator1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsCreator2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsCreator3$inboundSchema), - z.lazy(() => UpdateMicrofrontendsCreator4$inboundSchema), - z.lazy(() => UpdateMicrofrontendsCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsCreator1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsCreator2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsCreator3$inboundSchema), + z.lazy(() => UpdateMicrofrontendsCreator4$inboundSchema), + z.lazy(() => UpdateMicrofrontendsCreator5$inboundSchema), + ]) +); export function updateMicrofrontendsCreatorFromJSON( jsonString: string, @@ -2352,21 +2437,23 @@ export function updateMicrofrontendsCreatorFromJSON( /** @internal */ export const UpdateMicrofrontendsSource$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsSource -> = z.nativeEnum(UpdateMicrofrontendsSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsSource)); /** @internal */ export const UpdateMicrofrontendsDefinitions$inboundSchema: z.ZodType< UpdateMicrofrontendsDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(UpdateMicrofrontendsSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(UpdateMicrofrontendsSource$inboundSchema), + }) +); export function updateMicrofrontendsDefinitionsFromJSON( jsonString: string, @@ -2383,15 +2470,17 @@ export const UpdateMicrofrontendsCrons$inboundSchema: z.ZodType< UpdateMicrofrontendsCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array( - z.lazy(() => UpdateMicrofrontendsDefinitions$inboundSchema), - ), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array( + z.lazy(() => UpdateMicrofrontendsDefinitions$inboundSchema), + ), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function updateMicrofrontendsCronsFromJSON( jsonString: string, @@ -2407,8 +2496,10 @@ export function updateMicrofrontendsCronsFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -2416,11 +2507,13 @@ export const UpdateMicrofrontendsBranchMatcher$inboundSchema: z.ZodType< UpdateMicrofrontendsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function updateMicrofrontendsBranchMatcherFromJSON( jsonString: string, @@ -2437,12 +2530,14 @@ export const UpdateMicrofrontendsVerification$inboundSchema: z.ZodType< UpdateMicrofrontendsVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function updateMicrofrontendsVerificationFromJSON( jsonString: string, @@ -2459,21 +2554,23 @@ export const UpdateMicrofrontendsDomains$inboundSchema: z.ZodType< UpdateMicrofrontendsDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => UpdateMicrofrontendsVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => UpdateMicrofrontendsVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function updateMicrofrontendsDomainsFromJSON( jsonString: string, @@ -2488,28 +2585,30 @@ export function updateMicrofrontendsDomainsFromJSON( /** @internal */ export const UpdateMicrofrontendsType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsType -> = z.nativeEnum(UpdateMicrofrontendsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsType)); /** @internal */ export const UpdateMicrofrontendsCustomEnvironments$inboundSchema: z.ZodType< UpdateMicrofrontendsCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => UpdateMicrofrontendsBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => UpdateMicrofrontendsDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: UpdateMicrofrontendsType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => UpdateMicrofrontendsBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => UpdateMicrofrontendsDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: UpdateMicrofrontendsType$inboundSchema, + updatedAt: types.number(), + }) +); export function updateMicrofrontendsCustomEnvironmentsFromJSON( jsonString: string, @@ -2527,11 +2626,13 @@ export const UpdateMicrofrontendsDataCache$inboundSchema: z.ZodType< UpdateMicrofrontendsDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function updateMicrofrontendsDataCacheFromJSON( jsonString: string, @@ -2545,13 +2646,17 @@ export function updateMicrofrontendsDataCacheFromJSON( /** @internal */ export const UpdateMicrofrontendsBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsBuildMachineElasticReason) + ); /** @internal */ export const UpdateMicrofrontendsDirection$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsDirection -> = z.nativeEnum(UpdateMicrofrontendsDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsDirection) +); /** @internal */ export const UpdateMicrofrontendsBuildMachineElasticTransition$inboundSchema: @@ -2559,11 +2664,13 @@ export const UpdateMicrofrontendsBuildMachineElasticTransition$inboundSchema: UpdateMicrofrontendsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UpdateMicrofrontendsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UpdateMicrofrontendsDirection$inboundSchema, + }) + ); export function updateMicrofrontendsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2583,30 +2690,37 @@ export function updateMicrofrontendsBuildMachineElasticTransitionFromJSON( /** @internal */ export const UpdateMicrofrontendsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsBuildMachineSelection) + ); /** @internal */ export const UpdateMicrofrontendsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsBuildMachineType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsBuildMachineType) + ); /** @internal */ export const UpdateMicrofrontendsConfiguration$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsConfiguration -> = z.nativeEnum(UpdateMicrofrontendsConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsConfiguration) +); /** @internal */ export const UpdateMicrofrontendsBuildQueue$inboundSchema: z.ZodType< UpdateMicrofrontendsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - UpdateMicrofrontendsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UpdateMicrofrontendsConfiguration$inboundSchema, + ), + }) +); export function updateMicrofrontendsBuildQueueFromJSON( jsonString: string, @@ -2620,19 +2734,23 @@ export function updateMicrofrontendsBuildQueueFromJSON( /** @internal */ export const UpdateMicrofrontendsFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsFunctionDefaultMemoryType) + ); /** @internal */ export const UpdateMicrofrontendsElasticBuildMachine4$inboundSchema: z.ZodType< UpdateMicrofrontendsElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function updateMicrofrontendsElasticBuildMachine4FromJSON( jsonString: string, @@ -2655,11 +2773,13 @@ export const UpdateMicrofrontendsElasticBuildMachine3$inboundSchema: z.ZodType< UpdateMicrofrontendsElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function updateMicrofrontendsElasticBuildMachine3FromJSON( jsonString: string, @@ -2682,11 +2802,13 @@ export const UpdateMicrofrontendsElasticBuildMachine2$inboundSchema: z.ZodType< UpdateMicrofrontendsElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function updateMicrofrontendsElasticBuildMachine2FromJSON( jsonString: string, @@ -2709,11 +2831,13 @@ export const UpdateMicrofrontendsElasticBuildMachine1$inboundSchema: z.ZodType< UpdateMicrofrontendsElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function updateMicrofrontendsElasticBuildMachine1FromJSON( jsonString: string, @@ -2736,12 +2860,14 @@ export const UpdateMicrofrontendsElasticBuildMachine$inboundSchema: z.ZodType< UpdateMicrofrontendsElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsElasticBuildMachine1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsElasticBuildMachine2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsElasticBuildMachine3$inboundSchema), - z.lazy(() => UpdateMicrofrontendsElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsElasticBuildMachine1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsElasticBuildMachine2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsElasticBuildMachine3$inboundSchema), + z.lazy(() => UpdateMicrofrontendsElasticBuildMachine4$inboundSchema), + ]) +); export function updateMicrofrontendsElasticBuildMachineFromJSON( jsonString: string, @@ -2764,44 +2890,44 @@ export const UpdateMicrofrontendsDefaultResourceConfig$inboundSchema: z.ZodType< UpdateMicrofrontendsDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UpdateMicrofrontendsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UpdateMicrofrontendsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UpdateMicrofrontendsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UpdateMicrofrontendsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UpdateMicrofrontendsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UpdateMicrofrontendsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UpdateMicrofrontendsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UpdateMicrofrontendsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + UpdateMicrofrontendsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UpdateMicrofrontendsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UpdateMicrofrontendsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UpdateMicrofrontendsElasticBuildMachine1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsElasticBuildMachine2$inboundSchema), + z.lazy(() => + UpdateMicrofrontendsElasticBuildMachine2$inboundSchema + ), z.lazy(() => UpdateMicrofrontendsElasticBuildMachine3$inboundSchema), z.lazy(() => UpdateMicrofrontendsElasticBuildMachine4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function updateMicrofrontendsDefaultResourceConfigFromJSON( jsonString: string, @@ -2824,13 +2950,15 @@ export const UpdateMicrofrontendsDeploymentExpiration$inboundSchema: z.ZodType< UpdateMicrofrontendsDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function updateMicrofrontendsDeploymentExpirationFromJSON( jsonString: string, @@ -2853,10 +2981,12 @@ export const UpdateMicrofrontendsEnvironments2$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function updateMicrofrontendsEnvironments2FromJSON( jsonString: string, @@ -2870,19 +3000,22 @@ export function updateMicrofrontendsEnvironments2FromJSON( /** @internal */ export const UpdateMicrofrontendsEnvironmentsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsEnvironmentsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsEnvironmentsTarget) + ); /** @internal */ export const UpdateMicrofrontendsEnvironments1$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: UpdateMicrofrontendsEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UpdateMicrofrontendsEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function updateMicrofrontendsEnvironments1FromJSON( jsonString: string, @@ -2899,10 +3032,12 @@ export const UpdateMicrofrontendsEnvironments$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsEnvironments1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsEnvironments1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsEnvironments2$inboundSchema), + ]) +); export function updateMicrofrontendsEnvironmentsFromJSON( jsonString: string, @@ -2917,23 +3052,25 @@ export function updateMicrofrontendsEnvironmentsFromJSON( /** @internal */ export const UpdateMicrofrontendsSources$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsSources -> = z.nativeEnum(UpdateMicrofrontendsSources); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsSources) +); /** @internal */ export const UpdateMicrofrontendsDeploymentSources$inboundSchema: z.ZodType< UpdateMicrofrontendsDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => UpdateMicrofrontendsEnvironments1$inboundSchema), z.lazy(() => UpdateMicrofrontendsEnvironments2$inboundSchema), - ]), - ), - sources: z.array(UpdateMicrofrontendsSources$inboundSchema), -}); + ])), + sources: z.array(UpdateMicrofrontendsSources$inboundSchema), + }) +); export function updateMicrofrontendsDeploymentSourcesFromJSON( jsonString: string, @@ -2951,10 +3088,12 @@ export const UpdateMicrofrontendsEnvironmentsProjects2$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function updateMicrofrontendsEnvironmentsProjects2FromJSON( jsonString: string, @@ -2974,18 +3113,22 @@ export function updateMicrofrontendsEnvironmentsProjects2FromJSON( /** @internal */ export const UpdateMicrofrontendsEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsEnvironmentsProjectsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsEnvironmentsProjectsTarget) + ); /** @internal */ export const UpdateMicrofrontendsEnvironmentsProjects1$inboundSchema: z.ZodType< UpdateMicrofrontendsEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: UpdateMicrofrontendsEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UpdateMicrofrontendsEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function updateMicrofrontendsEnvironmentsProjects1FromJSON( jsonString: string, @@ -3008,10 +3151,12 @@ export const UpdateMicrofrontendsProjectsEnvironments$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects2$inboundSchema), + ]) +); export function updateMicrofrontendsProjectsEnvironmentsFromJSON( jsonString: string, @@ -3034,11 +3179,13 @@ export const UpdateMicrofrontendsSources2$inboundSchema: z.ZodType< UpdateMicrofrontendsSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function updateMicrofrontendsSources2FromJSON( jsonString: string, @@ -3053,18 +3200,22 @@ export function updateMicrofrontendsSources2FromJSON( /** @internal */ export const UpdateMicrofrontendsSourcesProvider$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsSourcesProvider -> = z.nativeEnum(UpdateMicrofrontendsSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsSourcesProvider) +); /** @internal */ export const UpdateMicrofrontendsSources1$inboundSchema: z.ZodType< UpdateMicrofrontendsSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: UpdateMicrofrontendsSourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: UpdateMicrofrontendsSourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function updateMicrofrontendsSources1FromJSON( jsonString: string, @@ -3081,15 +3232,17 @@ export const UpdateMicrofrontendsProjectsSources$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => UpdateMicrofrontendsSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => UpdateMicrofrontendsSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => UpdateMicrofrontendsSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => UpdateMicrofrontendsSources2$inboundSchema), + ]) +); export function updateMicrofrontendsProjectsSourcesFromJSON( jsonString: string, @@ -3107,16 +3260,14 @@ export const UpdateMicrofrontendsGitSources$inboundSchema: z.ZodType< UpdateMicrofrontendsGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects1$inboundSchema), z.lazy(() => UpdateMicrofrontendsEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => UpdateMicrofrontendsSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3124,9 +3275,9 @@ export const UpdateMicrofrontendsGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => UpdateMicrofrontendsSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function updateMicrofrontendsGitSourcesFromJSON( jsonString: string, @@ -3143,14 +3294,18 @@ export const UpdateMicrofrontendsDeploymentPolicy$inboundSchema: z.ZodType< UpdateMicrofrontendsDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => UpdateMicrofrontendsDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => UpdateMicrofrontendsGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array( + z.lazy(() => UpdateMicrofrontendsDeploymentSources$inboundSchema), + ), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => UpdateMicrofrontendsGitSources$inboundSchema)), + ).optional(), + }) +); export function updateMicrofrontendsDeploymentPolicyFromJSON( jsonString: string, @@ -3166,14 +3321,16 @@ export function updateMicrofrontendsDeploymentPolicyFromJSON( /** @internal */ export const UpdateMicrofrontendsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsAction -> = z.nativeEnum(UpdateMicrofrontendsAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsAction)); /** @internal */ export const UpdateMicrofrontendsValueCurrentValue$inboundSchema: z.ZodType< UpdateMicrofrontendsValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function updateMicrofrontendsValueCurrentValueFromJSON( jsonString: string, @@ -3191,7 +3348,9 @@ export const UpdateMicrofrontendsValuePreviousValue$inboundSchema: z.ZodType< UpdateMicrofrontendsValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function updateMicrofrontendsValuePreviousValueFromJSON( jsonString: string, @@ -3209,10 +3368,16 @@ export const UpdateMicrofrontendsValue3$inboundSchema: z.ZodType< UpdateMicrofrontendsValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function updateMicrofrontendsValue3FromJSON( jsonString: string, @@ -3229,12 +3394,14 @@ export const UpdateMicrofrontendsValue$inboundSchema: z.ZodType< UpdateMicrofrontendsValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function updateMicrofrontendsValueFromJSON( jsonString: string, @@ -3251,19 +3418,19 @@ export const UpdateMicrofrontendsDismissedToasts$inboundSchema: z.ZodType< UpdateMicrofrontendsDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: UpdateMicrofrontendsAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateMicrofrontendsAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => UpdateMicrofrontendsValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function updateMicrofrontendsDismissedToastsFromJSON( jsonString: string, @@ -3281,10 +3448,12 @@ export const UpdateMicrofrontendsContentHint17$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function updateMicrofrontendsContentHint17FromJSON( jsonString: string, @@ -3301,13 +3470,15 @@ export const UpdateMicrofrontendsContentHint16$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function updateMicrofrontendsContentHint16FromJSON( jsonString: string, @@ -3324,10 +3495,12 @@ export const UpdateMicrofrontendsContentHint15$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function updateMicrofrontendsContentHint15FromJSON( jsonString: string, @@ -3344,10 +3517,12 @@ export const UpdateMicrofrontendsContentHint14$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function updateMicrofrontendsContentHint14FromJSON( jsonString: string, @@ -3364,10 +3539,12 @@ export const UpdateMicrofrontendsContentHint13$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function updateMicrofrontendsContentHint13FromJSON( jsonString: string, @@ -3384,10 +3561,12 @@ export const UpdateMicrofrontendsContentHint12$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function updateMicrofrontendsContentHint12FromJSON( jsonString: string, @@ -3404,10 +3583,12 @@ export const UpdateMicrofrontendsContentHint11$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function updateMicrofrontendsContentHint11FromJSON( jsonString: string, @@ -3424,10 +3605,12 @@ export const UpdateMicrofrontendsContentHint10$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function updateMicrofrontendsContentHint10FromJSON( jsonString: string, @@ -3444,10 +3627,12 @@ export const UpdateMicrofrontendsContentHint9$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function updateMicrofrontendsContentHint9FromJSON( jsonString: string, @@ -3464,10 +3649,12 @@ export const UpdateMicrofrontendsContentHint8$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function updateMicrofrontendsContentHint8FromJSON( jsonString: string, @@ -3484,10 +3671,12 @@ export const UpdateMicrofrontendsContentHint7$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function updateMicrofrontendsContentHint7FromJSON( jsonString: string, @@ -3504,10 +3693,12 @@ export const UpdateMicrofrontendsContentHint6$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function updateMicrofrontendsContentHint6FromJSON( jsonString: string, @@ -3524,10 +3715,12 @@ export const UpdateMicrofrontendsContentHint5$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function updateMicrofrontendsContentHint5FromJSON( jsonString: string, @@ -3544,10 +3737,12 @@ export const UpdateMicrofrontendsContentHint4$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function updateMicrofrontendsContentHint4FromJSON( jsonString: string, @@ -3564,10 +3759,12 @@ export const UpdateMicrofrontendsContentHint3$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function updateMicrofrontendsContentHint3FromJSON( jsonString: string, @@ -3584,10 +3781,12 @@ export const UpdateMicrofrontendsContentHint2$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function updateMicrofrontendsContentHint2FromJSON( jsonString: string, @@ -3604,10 +3803,12 @@ export const UpdateMicrofrontendsContentHint1$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function updateMicrofrontendsContentHint1FromJSON( jsonString: string, @@ -3624,25 +3825,27 @@ export const UpdateMicrofrontendsContentHint$inboundSchema: z.ZodType< UpdateMicrofrontendsContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsContentHint1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint3$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint4$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint5$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint6$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint7$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint8$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint9$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint10$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint11$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint12$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint13$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint14$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint15$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint16$inboundSchema), - z.lazy(() => UpdateMicrofrontendsContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsContentHint1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint3$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint4$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint5$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint6$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint7$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint8$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint9$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint10$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint11$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint12$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint13$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint14$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint15$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint16$inboundSchema), + z.lazy(() => UpdateMicrofrontendsContentHint17$inboundSchema), + ]) +); export function updateMicrofrontendsContentHintFromJSON( jsonString: string, @@ -3658,8 +3861,10 @@ export function updateMicrofrontendsContentHintFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -3667,11 +3872,13 @@ export const UpdateMicrofrontendsInternalContentHint$inboundSchema: z.ZodType< UpdateMicrofrontendsInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function updateMicrofrontendsInternalContentHintFromJSON( jsonString: string, @@ -3692,22 +3899,28 @@ export function updateMicrofrontendsInternalContentHintFromJSON( /** @internal */ export const UpdateMicrofrontendsTarget2$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsTarget2 -> = z.nativeEnum(UpdateMicrofrontendsTarget2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsTarget2) +); /** @internal */ export const UpdateMicrofrontendsTarget1$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsTarget1 -> = z.nativeEnum(UpdateMicrofrontendsTarget1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsTarget1) +); /** @internal */ export const UpdateMicrofrontendsProjectsTarget$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(UpdateMicrofrontendsTarget1$inboundSchema), - UpdateMicrofrontendsTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(UpdateMicrofrontendsTarget1$inboundSchema), + UpdateMicrofrontendsTarget2$inboundSchema, + ]) +); export function updateMicrofrontendsProjectsTargetFromJSON( jsonString: string, @@ -3723,23 +3936,27 @@ export function updateMicrofrontendsProjectsTargetFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsType -> = z.nativeEnum(UpdateMicrofrontendsProjectsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsType) +); /** @internal */ export const UpdateMicrofrontendsVisibility$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsVisibility -> = z.nativeEnum(UpdateMicrofrontendsVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsVisibility) +); /** @internal */ export const UpdateMicrofrontendsEnv$inboundSchema: z.ZodType< UpdateMicrofrontendsEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => UpdateMicrofrontendsContentHint1$inboundSchema), z.lazy(() => UpdateMicrofrontendsContentHint2$inboundSchema), z.lazy(() => UpdateMicrofrontendsContentHint3$inboundSchema), @@ -3757,35 +3974,35 @@ export const UpdateMicrofrontendsEnv$inboundSchema: z.ZodType< z.lazy(() => UpdateMicrofrontendsContentHint15$inboundSchema), z.lazy(() => UpdateMicrofrontendsContentHint16$inboundSchema), z.lazy(() => UpdateMicrofrontendsContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => UpdateMicrofrontendsInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(UpdateMicrofrontendsTarget1$inboundSchema), - UpdateMicrofrontendsTarget2$inboundSchema, - ]), - ), - type: UpdateMicrofrontendsProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(UpdateMicrofrontendsVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + UpdateMicrofrontendsInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(UpdateMicrofrontendsTarget1$inboundSchema), + UpdateMicrofrontendsTarget2$inboundSchema, + ]), + ), + type: UpdateMicrofrontendsProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(UpdateMicrofrontendsVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function updateMicrofrontendsEnvFromJSON( jsonString: string, @@ -3802,10 +4019,12 @@ export const UpdateMicrofrontendsExpiration2$inboundSchema: z.ZodType< UpdateMicrofrontendsExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function updateMicrofrontendsExpiration2FromJSON( jsonString: string, @@ -3822,9 +4041,11 @@ export const UpdateMicrofrontendsExpiration1$inboundSchema: z.ZodType< UpdateMicrofrontendsExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function updateMicrofrontendsExpiration1FromJSON( jsonString: string, @@ -3841,10 +4062,12 @@ export const UpdateMicrofrontendsExpiration$inboundSchema: z.ZodType< UpdateMicrofrontendsExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsExpiration2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsExpiration2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsExpiration1$inboundSchema), + ]) +); export function updateMicrofrontendsExpirationFromJSON( jsonString: string, @@ -3861,9 +4084,11 @@ export const UpdateMicrofrontendsFeatures$inboundSchema: z.ZodType< UpdateMicrofrontendsFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsFeaturesFromJSON( jsonString: string, @@ -3878,17 +4103,21 @@ export function updateMicrofrontendsFeaturesFromJSON( /** @internal */ export const UpdateMicrofrontendsFramework$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsFramework -> = z.nativeEnum(UpdateMicrofrontendsFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsFramework) +); /** @internal */ export const UpdateMicrofrontendsGitComments$inboundSchema: z.ZodType< UpdateMicrofrontendsGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function updateMicrofrontendsGitCommentsFromJSON( jsonString: string, @@ -3906,10 +4135,12 @@ export const UpdateMicrofrontendsConsolidatedGitCommitStatus$inboundSchema: UpdateMicrofrontendsConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function updateMicrofrontendsConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3929,24 +4160,29 @@ export function updateMicrofrontendsConsolidatedGitCommitStatusFromJSON( /** @internal */ export const UpdateMicrofrontendsCreateDeployments$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsCreateDeployments, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsCreateDeployments) + ); /** @internal */ export const UpdateMicrofrontendsGitProviderOptions$inboundSchema: z.ZodType< UpdateMicrofrontendsGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => UpdateMicrofrontendsConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: UpdateMicrofrontendsCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => + UpdateMicrofrontendsConsolidatedGitCommitStatus$inboundSchema + ), + ), + createDeployments: UpdateMicrofrontendsCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsGitProviderOptionsFromJSON( jsonString: string, @@ -3964,9 +4200,11 @@ export const UpdateMicrofrontendsHasProjectsValue$inboundSchema: z.ZodType< UpdateMicrofrontendsHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function updateMicrofrontendsHasProjectsValueFromJSON( jsonString: string, @@ -3984,10 +4222,12 @@ export const UpdateMicrofrontendsHas2$inboundSchema: z.ZodType< UpdateMicrofrontendsHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => UpdateMicrofrontendsHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => UpdateMicrofrontendsHasProjectsValue$inboundSchema), + }) +); export function updateMicrofrontendsHas2FromJSON( jsonString: string, @@ -4002,16 +4242,18 @@ export function updateMicrofrontendsHas2FromJSON( /** @internal */ export const UpdateMicrofrontendsHasKey$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsHasKey -> = z.nativeEnum(UpdateMicrofrontendsHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsHasKey)); /** @internal */ export const UpdateMicrofrontendsHasValue$inboundSchema: z.ZodType< UpdateMicrofrontendsHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function updateMicrofrontendsHasValueFromJSON( jsonString: string, @@ -4028,11 +4270,13 @@ export const UpdateMicrofrontendsHas1$inboundSchema: z.ZodType< UpdateMicrofrontendsHas1, z.ZodTypeDef, unknown -> = z.object({ - key: UpdateMicrofrontendsHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => UpdateMicrofrontendsHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: UpdateMicrofrontendsHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => UpdateMicrofrontendsHasValue$inboundSchema), + }) +); export function updateMicrofrontendsHas1FromJSON( jsonString: string, @@ -4049,10 +4293,12 @@ export const UpdateMicrofrontendsInternalRoutesHas$inboundSchema: z.ZodType< UpdateMicrofrontendsInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsHas1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsHas1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsHas2$inboundSchema), + ]) +); export function updateMicrofrontendsInternalRoutesHasFromJSON( jsonString: string, @@ -4067,15 +4313,19 @@ export function updateMicrofrontendsInternalRoutesHasFromJSON( /** @internal */ export const UpdateMicrofrontendsInternalRoutesAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsInternalRoutesAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsInternalRoutesAction) + ); /** @internal */ export const UpdateMicrofrontendsInternalRoutesMitigate$inboundSchema: z.ZodType = - z.object({ - action: UpdateMicrofrontendsInternalRoutesAction$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateMicrofrontendsInternalRoutesAction$inboundSchema, + }) + ); export function updateMicrofrontendsInternalRoutesMitigateFromJSON( jsonString: string, @@ -4098,18 +4348,18 @@ export const UpdateMicrofrontendsInternalRoutes2$inboundSchema: z.ZodType< UpdateMicrofrontendsInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => UpdateMicrofrontendsHas1$inboundSchema), z.lazy(() => UpdateMicrofrontendsHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - UpdateMicrofrontendsInternalRoutesMitigate$inboundSchema - ), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + UpdateMicrofrontendsInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function updateMicrofrontendsInternalRoutes2FromJSON( jsonString: string, @@ -4127,11 +4377,13 @@ export const UpdateMicrofrontendsInternalRoutes1$inboundSchema: z.ZodType< UpdateMicrofrontendsInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function updateMicrofrontendsInternalRoutes1FromJSON( jsonString: string, @@ -4149,10 +4401,12 @@ export const UpdateMicrofrontendsInternalRoutes$inboundSchema: z.ZodType< UpdateMicrofrontendsInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsInternalRoutes1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsInternalRoutes1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsInternalRoutes2$inboundSchema), + ]) +); export function updateMicrofrontendsInternalRoutesFromJSON( jsonString: string, @@ -4170,11 +4424,13 @@ export const UpdateMicrofrontendsIpBuckets$inboundSchema: z.ZodType< UpdateMicrofrontendsIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function updateMicrofrontendsIpBucketsFromJSON( jsonString: string, @@ -4189,9 +4445,11 @@ export function updateMicrofrontendsIpBucketsFromJSON( /** @internal */ export const UpdateMicrofrontendsFlagDefinitionsPresent$inboundSchema: z.ZodType = - z.object({ - targets: z.array(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) + ); export function updateMicrofrontendsFlagDefinitionsPresentFromJSON( jsonString: string, @@ -4214,9 +4472,11 @@ export const UpdateMicrofrontendsHealthCheck$inboundSchema: z.ZodType< UpdateMicrofrontendsHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateMicrofrontendsHealthCheckFromJSON( jsonString: string, @@ -4233,9 +4493,11 @@ export const UpdateMicrofrontendsLint$inboundSchema: z.ZodType< UpdateMicrofrontendsLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateMicrofrontendsLintFromJSON( jsonString: string, @@ -4252,9 +4514,11 @@ export const UpdateMicrofrontendsMfeConfigPresent$inboundSchema: z.ZodType< UpdateMicrofrontendsMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateMicrofrontendsMfeConfigPresentFromJSON( jsonString: string, @@ -4272,9 +4536,11 @@ export const UpdateMicrofrontendsTypecheck$inboundSchema: z.ZodType< UpdateMicrofrontendsTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateMicrofrontendsTypecheckFromJSON( jsonString: string, @@ -4291,27 +4557,29 @@ export const UpdateMicrofrontendsJobs$inboundSchema: z.ZodType< UpdateMicrofrontendsJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => UpdateMicrofrontendsFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => UpdateMicrofrontendsHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => UpdateMicrofrontendsLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => UpdateMicrofrontendsMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional( - z.lazy(() => UpdateMicrofrontendsTypecheck$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => UpdateMicrofrontendsFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => UpdateMicrofrontendsHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => UpdateMicrofrontendsLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => UpdateMicrofrontendsMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => UpdateMicrofrontendsTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function updateMicrofrontendsJobsFromJSON( jsonString: string, @@ -4326,26 +4594,32 @@ export function updateMicrofrontendsJobsFromJSON( /** @internal */ export const UpdateMicrofrontendsJobStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsJobStatus -> = z.nativeEnum(UpdateMicrofrontendsJobStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsJobStatus) +); /** @internal */ export const UpdateMicrofrontendsProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseType) + ); /** @internal */ export const UpdateMicrofrontendsLastAliasRequest$inboundSchema: z.ZodType< UpdateMicrofrontendsLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: UpdateMicrofrontendsJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: UpdateMicrofrontendsProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: UpdateMicrofrontendsJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: UpdateMicrofrontendsProjectsResponseType$inboundSchema, + }) +); export function updateMicrofrontendsLastAliasRequestFromJSON( jsonString: string, @@ -4363,7 +4637,7 @@ export const UpdateMicrofrontendsLastRollbackTarget$inboundSchema: z.ZodType< UpdateMicrofrontendsLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateMicrofrontendsLastRollbackTargetFromJSON( jsonString: string, @@ -4381,7 +4655,9 @@ export const UpdateMicrofrontendsAliasAssigned$inboundSchema: z.ZodType< UpdateMicrofrontendsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function updateMicrofrontendsAliasAssignedFromJSON( jsonString: string, @@ -4398,10 +4674,12 @@ export const UpdateMicrofrontendsAliasError$inboundSchema: z.ZodType< UpdateMicrofrontendsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateMicrofrontendsAliasErrorFromJSON( jsonString: string, @@ -4417,8 +4695,10 @@ export function updateMicrofrontendsAliasErrorFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -4426,11 +4706,13 @@ export const UpdateMicrofrontendsProjectsBranchMatcher$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function updateMicrofrontendsProjectsBranchMatcherFromJSON( jsonString: string, @@ -4453,11 +4735,13 @@ export const UpdateMicrofrontendsBuilds$inboundSchema: z.ZodType< UpdateMicrofrontendsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function updateMicrofrontendsBuildsFromJSON( jsonString: string, diff --git a/src/models/updatemicrofrontendsgroupop.ts b/src/models/updatemicrofrontendsgroupop.ts index a7fe15efa6..43caf2e2fc 100644 --- a/src/models/updatemicrofrontendsgroupop.ts +++ b/src/models/updatemicrofrontendsgroupop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -61,11 +61,13 @@ export const UpdateMicrofrontendsGroupRequestBody$outboundSchema: z.ZodType< UpdateMicrofrontendsGroupRequestBody$Outbound, z.ZodTypeDef, UpdateMicrofrontendsGroupRequestBody -> = z.object({ - name: z.string().optional(), - fallbackEnvironment: z.string().optional(), - enablePolyrepoBranchRouting: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + fallbackEnvironment: z.string().optional(), + enablePolyrepoBranchRouting: z.boolean().optional(), + }) +); export function updateMicrofrontendsGroupRequestBodyToJSON( updateMicrofrontendsGroupRequestBody: UpdateMicrofrontendsGroupRequestBody, @@ -90,17 +92,20 @@ export const UpdateMicrofrontendsGroupRequest$outboundSchema: z.ZodType< UpdateMicrofrontendsGroupRequest$Outbound, z.ZodTypeDef, UpdateMicrofrontendsGroupRequest -> = z.object({ - groupId: z.string(), - teamId: z.string(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateMicrofrontendsGroupRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + groupId: z.string(), + teamId: z.string(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateMicrofrontendsGroupRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateMicrofrontendsGroupRequestToJSON( updateMicrofrontendsGroupRequest: UpdateMicrofrontendsGroupRequest, @@ -117,13 +122,15 @@ export const UpdatedMicrofrontendsGroup$inboundSchema: z.ZodType< UpdatedMicrofrontendsGroup, z.ZodTypeDef, unknown -> = z.object({ - enablePolyrepoBranchRouting: types.optional(types.boolean()), - fallbackEnvironment: types.optional(types.string()), - id: types.string(), - name: types.optional(types.string()), - slug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enablePolyrepoBranchRouting: types.optional(types.boolean()), + fallbackEnvironment: types.optional(types.string()), + id: types.string(), + name: types.optional(types.string()), + slug: types.optional(types.string()), + }) +); export function updatedMicrofrontendsGroupFromJSON( jsonString: string, @@ -140,11 +147,13 @@ export const UpdateMicrofrontendsGroupResponseBody$inboundSchema: z.ZodType< UpdateMicrofrontendsGroupResponseBody, z.ZodTypeDef, unknown -> = z.object({ - updatedMicrofrontendsGroup: z.lazy(() => - UpdatedMicrofrontendsGroup$inboundSchema - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + updatedMicrofrontendsGroup: z.lazy(() => + UpdatedMicrofrontendsGroup$inboundSchema + ), + }) +); export function updateMicrofrontendsGroupResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatemicrofrontendsresponsebody.ts b/src/models/updatemicrofrontendsresponsebody.ts index b041924816..831e0dbc62 100644 --- a/src/models/updatemicrofrontendsresponsebody.ts +++ b/src/models/updatemicrofrontendsresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -354,20 +354,24 @@ export type UpdateMicrofrontendsResponseBody = { /** @internal */ export const UpdateMicrofrontendsToProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsToProjectsResponsePreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsToProjectsResponsePreset) + ); /** @internal */ export const UpdateMicrofrontendsToProjects1$inboundSchema: z.ZodType< UpdateMicrofrontendsToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - UpdateMicrofrontendsToProjectsResponsePreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + UpdateMicrofrontendsToProjectsResponsePreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function updateMicrofrontendsToProjects1FromJSON( jsonString: string, @@ -384,10 +388,12 @@ export const UpdateMicrofrontendsProjectsTo$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsToProjects1$inboundSchema), - UpdateMicrofrontendsToProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsToProjects1$inboundSchema), + UpdateMicrofrontendsToProjects2$inboundSchema, + ]) +); export function updateMicrofrontendsProjectsToFromJSON( jsonString: string, @@ -404,13 +410,15 @@ export const UpdateMicrofrontendsCustomAllow$inboundSchema: z.ZodType< UpdateMicrofrontendsCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: UpdateMicrofrontendsFrom$inboundSchema, - to: smartUnion([ - z.lazy(() => UpdateMicrofrontendsToProjects1$inboundSchema), - UpdateMicrofrontendsToProjects2$inboundSchema, - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: UpdateMicrofrontendsFrom$inboundSchema, + to: smartUnion([ + z.lazy(() => UpdateMicrofrontendsToProjects1$inboundSchema), + UpdateMicrofrontendsToProjects2$inboundSchema, + ]), + }) +); export function updateMicrofrontendsCustomAllowFromJSON( jsonString: string, @@ -427,12 +435,14 @@ export const UpdateMicrofrontendsProjects$inboundSchema: z.ZodType< UpdateMicrofrontendsProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => UpdateMicrofrontendsCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => UpdateMicrofrontendsCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function updateMicrofrontendsProjectsFromJSON( jsonString: string, @@ -449,15 +459,17 @@ export const UpdateMicrofrontendsTrustedSources$inboundSchema: z.ZodType< UpdateMicrofrontendsTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(UpdateMicrofrontendsOidcProviders$inboundSchema)), - ), - projects: types.optional( - z.record(z.lazy(() => UpdateMicrofrontendsProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(UpdateMicrofrontendsOidcProviders$inboundSchema)), + ), + projects: types.optional( + z.record(z.lazy(() => UpdateMicrofrontendsProjects$inboundSchema)), + ), + }) +); export function updateMicrofrontendsTrustedSourcesFromJSON( jsonString: string, @@ -473,20 +485,22 @@ export function updateMicrofrontendsTrustedSourcesFromJSON( /** @internal */ export const UpdateMicrofrontendsKind$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsKind -> = z.nativeEnum(UpdateMicrofrontendsKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsKind)); /** @internal */ export const UpdateMicrofrontendsUsageStatus$inboundSchema: z.ZodType< UpdateMicrofrontendsUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: UpdateMicrofrontendsKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: UpdateMicrofrontendsKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsUsageStatusFromJSON( jsonString: string, @@ -503,9 +517,11 @@ export const UpdateMicrofrontendsVercelFlags$inboundSchema: z.ZodType< UpdateMicrofrontendsVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsVercelFlagsFromJSON( jsonString: string, @@ -522,13 +538,15 @@ export const UpdateMicrofrontendsWebAnalytics$inboundSchema: z.ZodType< UpdateMicrofrontendsWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function updateMicrofrontendsWebAnalyticsFromJSON( jsonString: string, @@ -545,156 +563,162 @@ export const UpdateMicrofrontendsResponseBody$inboundSchema: z.ZodType< UpdateMicrofrontendsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(UpdateMicrofrontendsAlias$inboundSchema), - analytics: types.optional(UpdateMicrofrontendsAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(UpdateMicrofrontendsBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(UpdateMicrofrontendsConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(UpdateMicrofrontendsCreator$inboundSchema), - crons: types.optional(UpdateMicrofrontendsCrons$inboundSchema), - customEnvironments: types.optional( - z.array(UpdateMicrofrontendsCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(UpdateMicrofrontendsDataCache$inboundSchema), - defaultResourceConfig: - UpdateMicrofrontendsDefaultResourceConfig$inboundSchema, - deploymentExpiration: UpdateMicrofrontendsDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable( - UpdateMicrofrontendsDeploymentPolicy$inboundSchema, - ).optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(UpdateMicrofrontendsDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(UpdateMicrofrontendsEnv$inboundSchema)), - expiration: types.optional(UpdateMicrofrontendsExpiration$inboundSchema), - features: types.optional(UpdateMicrofrontendsFeatures$inboundSchema), - framework: z.nullable(UpdateMicrofrontendsFramework$inboundSchema).optional(), - gitComments: types.optional(UpdateMicrofrontendsGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - UpdateMicrofrontendsGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(UpdateMicrofrontendsInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(UpdateMicrofrontendsIpBuckets$inboundSchema), - ), - jobs: types.optional(UpdateMicrofrontendsJobs$inboundSchema), - lastAliasRequest: z.nullable( - UpdateMicrofrontendsLastAliasRequest$inboundSchema, - ).optional(), - lastRollbackTarget: z.nullable( - UpdateMicrofrontendsLastRollbackTarget$inboundSchema, - ).optional(), - latestDeployments: types.optional( - z.array(UpdateMicrofrontendsLatestDeployments$inboundSchema), - ), - link: types.optional(UpdateMicrofrontendsLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional( - UpdateMicrofrontendsMicrofrontends$inboundSchema, - ), - name: types.string(), - nodeVersion: UpdateMicrofrontendsNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - UpdateMicrofrontendsOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable( - UpdateMicrofrontendsOptionsAllowlist$inboundSchema, - ).optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(UpdateMicrofrontendsPassport$inboundSchema).optional(), - passwordProtection: z.nullable( - UpdateMicrofrontendsPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(UpdateMicrofrontendsPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(UpdateMicrofrontendsProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional( - UpdateMicrofrontendsProtectionConfig$inboundSchema, - ), - resourceConfig: UpdateMicrofrontendsResourceConfig$inboundSchema, - rollbackDescription: types.optional( - UpdateMicrofrontendsRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable(UpdateMicrofrontendsRollingRelease$inboundSchema) - .optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(UpdateMicrofrontendsSandbox$inboundSchema), - security: types.optional(UpdateMicrofrontendsSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional(z.array(UpdateMicrofrontendsServices$inboundSchema)), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - UpdateMicrofrontendsSpeedInsights$inboundSchema, - ), - ssoProtection: z.nullable(UpdateMicrofrontendsSsoProtection$inboundSchema) - .optional(), - staticIps: types.optional(UpdateMicrofrontendsStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(UpdateMicrofrontendsTargets$inboundSchema)), - ), - tier: types.optional(UpdateMicrofrontendsTier$inboundSchema), - tracing: types.optional(UpdateMicrofrontendsTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(UpdateMicrofrontendsTrustedIps$inboundSchema) - .optional(), - trustedSources: z.nullable( - z.lazy(() => UpdateMicrofrontendsTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => UpdateMicrofrontendsUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => UpdateMicrofrontendsVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => UpdateMicrofrontendsWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(UpdateMicrofrontendsAlias$inboundSchema), + analytics: types.optional(UpdateMicrofrontendsAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(UpdateMicrofrontendsBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(UpdateMicrofrontendsConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(UpdateMicrofrontendsCreator$inboundSchema), + crons: types.optional(UpdateMicrofrontendsCrons$inboundSchema), + customEnvironments: types.optional( + z.array(UpdateMicrofrontendsCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(UpdateMicrofrontendsDataCache$inboundSchema), + defaultResourceConfig: + UpdateMicrofrontendsDefaultResourceConfig$inboundSchema, + deploymentExpiration: + UpdateMicrofrontendsDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable( + UpdateMicrofrontendsDeploymentPolicy$inboundSchema, + ).optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(UpdateMicrofrontendsDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(UpdateMicrofrontendsEnv$inboundSchema)), + expiration: types.optional(UpdateMicrofrontendsExpiration$inboundSchema), + features: types.optional(UpdateMicrofrontendsFeatures$inboundSchema), + framework: z.nullable(UpdateMicrofrontendsFramework$inboundSchema) + .optional(), + gitComments: types.optional(UpdateMicrofrontendsGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + UpdateMicrofrontendsGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(UpdateMicrofrontendsInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(UpdateMicrofrontendsIpBuckets$inboundSchema), + ), + jobs: types.optional(UpdateMicrofrontendsJobs$inboundSchema), + lastAliasRequest: z.nullable( + UpdateMicrofrontendsLastAliasRequest$inboundSchema, + ).optional(), + lastRollbackTarget: z.nullable( + UpdateMicrofrontendsLastRollbackTarget$inboundSchema, + ).optional(), + latestDeployments: types.optional( + z.array(UpdateMicrofrontendsLatestDeployments$inboundSchema), + ), + link: types.optional(UpdateMicrofrontendsLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional( + UpdateMicrofrontendsMicrofrontends$inboundSchema, + ), + name: types.string(), + nodeVersion: UpdateMicrofrontendsNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + UpdateMicrofrontendsOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable( + UpdateMicrofrontendsOptionsAllowlist$inboundSchema, + ).optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(UpdateMicrofrontendsPassport$inboundSchema).optional(), + passwordProtection: z.nullable( + UpdateMicrofrontendsPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(UpdateMicrofrontendsPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(UpdateMicrofrontendsProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + UpdateMicrofrontendsProtectionConfig$inboundSchema, + ), + resourceConfig: UpdateMicrofrontendsResourceConfig$inboundSchema, + rollbackDescription: types.optional( + UpdateMicrofrontendsRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable(UpdateMicrofrontendsRollingRelease$inboundSchema) + .optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(UpdateMicrofrontendsSandbox$inboundSchema), + security: types.optional(UpdateMicrofrontendsSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(UpdateMicrofrontendsServices$inboundSchema), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + UpdateMicrofrontendsSpeedInsights$inboundSchema, + ), + ssoProtection: z.nullable(UpdateMicrofrontendsSsoProtection$inboundSchema) + .optional(), + staticIps: types.optional(UpdateMicrofrontendsStaticIps$inboundSchema), + targets: types.optional( + z.record(types.nullable(UpdateMicrofrontendsTargets$inboundSchema)), + ), + tier: types.optional(UpdateMicrofrontendsTier$inboundSchema), + tracing: types.optional(UpdateMicrofrontendsTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(UpdateMicrofrontendsTrustedIps$inboundSchema) + .optional(), + trustedSources: z.nullable( + z.lazy(() => UpdateMicrofrontendsTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => UpdateMicrofrontendsUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => UpdateMicrofrontendsVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => UpdateMicrofrontendsWebAnalytics$inboundSchema), + ), + }) +); export function updateMicrofrontendsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatemicrofrontendstoprojects2.ts b/src/models/updatemicrofrontendstoprojects2.ts index 258a4abf74..3dd71112cf 100644 --- a/src/models/updatemicrofrontendstoprojects2.ts +++ b/src/models/updatemicrofrontendstoprojects2.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2909,27 +2909,32 @@ export type UpdateMicrofrontendsToProjects2 = { /** @internal */ export const UpdateMicrofrontendsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsChecksConclusion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsChecksConclusion) + ); /** @internal */ export const UpdateMicrofrontendsChecksState$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsChecksState -> = z.nativeEnum(UpdateMicrofrontendsChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsChecksState) +); /** @internal */ export const UpdateMicrofrontendsProjectsCreator$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function updateMicrofrontendsProjectsCreatorFromJSON( jsonString: string, @@ -2947,29 +2952,31 @@ export const UpdateMicrofrontendsOidcTokenClaims$inboundSchema: z.ZodType< UpdateMicrofrontendsOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function updateMicrofrontendsOidcTokenClaimsFromJSON( jsonString: string, @@ -2985,78 +2992,86 @@ export function updateMicrofrontendsOidcTokenClaimsFromJSON( /** @internal */ export const UpdateMicrofrontendsPlan$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsPlan -> = z.nativeEnum(UpdateMicrofrontendsPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsPlan)); /** @internal */ export const UpdateMicrofrontendsReadyState$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsReadyState -> = z.nativeEnum(UpdateMicrofrontendsReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsReadyState) +); /** @internal */ export const UpdateMicrofrontendsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsReadySubstate -> = z.nativeEnum(UpdateMicrofrontendsReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsReadySubstate) +); /** @internal */ export const UpdateMicrofrontendsProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponse200Type) + ); /** @internal */ export const UpdateMicrofrontendsLatestDeployments$inboundSchema: z.ZodType< UpdateMicrofrontendsLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(UpdateMicrofrontendsAliasAssigned$inboundSchema) - .optional(), - aliasError: z.nullable(UpdateMicrofrontendsAliasError$inboundSchema) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - UpdateMicrofrontendsProjectsBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(UpdateMicrofrontendsBuilds$inboundSchema)), - checksConclusion: types.optional( - UpdateMicrofrontendsChecksConclusion$inboundSchema, - ), - checksState: types.optional(UpdateMicrofrontendsChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateMicrofrontendsProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UpdateMicrofrontendsOidcTokenClaims$inboundSchema), - ), - plan: UpdateMicrofrontendsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateMicrofrontendsReadyState$inboundSchema, - readySubstate: types.optional( - UpdateMicrofrontendsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: UpdateMicrofrontendsProjectsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(UpdateMicrofrontendsAliasAssigned$inboundSchema) + .optional(), + aliasError: z.nullable(UpdateMicrofrontendsAliasError$inboundSchema) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + UpdateMicrofrontendsProjectsBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(UpdateMicrofrontendsBuilds$inboundSchema)), + checksConclusion: types.optional( + UpdateMicrofrontendsChecksConclusion$inboundSchema, + ), + checksState: types.optional(UpdateMicrofrontendsChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => UpdateMicrofrontendsProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => UpdateMicrofrontendsOidcTokenClaims$inboundSchema), + ), + plan: UpdateMicrofrontendsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateMicrofrontendsReadyState$inboundSchema, + readySubstate: types.optional( + UpdateMicrofrontendsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: UpdateMicrofrontendsProjectsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsLatestDeploymentsFromJSON( jsonString: string, @@ -3075,13 +3090,15 @@ export const UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseB UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON( jsonString: string, @@ -3103,23 +3120,23 @@ export const UpdateMicrofrontendsLink8$inboundSchema: z.ZodType< UpdateMicrofrontendsLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink8FromJSON( jsonString: string, @@ -3137,13 +3154,15 @@ export const UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseB UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON( jsonString: string, @@ -3165,22 +3184,22 @@ export const UpdateMicrofrontendsLink7$inboundSchema: z.ZodType< UpdateMicrofrontendsLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink7FromJSON( jsonString: string, @@ -3198,13 +3217,15 @@ export const UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseB UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3226,22 +3247,22 @@ export const UpdateMicrofrontendsLink6$inboundSchema: z.ZodType< UpdateMicrofrontendsLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink6FromJSON( jsonString: string, @@ -3259,13 +3280,15 @@ export const UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONDeployHoo UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3287,24 +3310,24 @@ export const UpdateMicrofrontendsLink5$inboundSchema: z.ZodType< UpdateMicrofrontendsLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function updateMicrofrontendsLink5FromJSON( jsonString: string, @@ -3322,13 +3345,15 @@ export const UpdateMicrofrontendsLinkProjectsResponse200DeployHooks$inboundSchem UpdateMicrofrontendsLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -3350,25 +3375,25 @@ export const UpdateMicrofrontendsLink4$inboundSchema: z.ZodType< UpdateMicrofrontendsLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponse200DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink4FromJSON( jsonString: string, @@ -3386,13 +3411,15 @@ export const UpdateMicrofrontendsLinkProjectsResponseDeployHooks$inboundSchema: UpdateMicrofrontendsLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -3415,24 +3442,24 @@ export const UpdateMicrofrontendsLink3$inboundSchema: z.ZodType< UpdateMicrofrontendsLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateMicrofrontendsLinkProjectsResponseDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink3FromJSON( jsonString: string, @@ -3450,13 +3477,15 @@ export const UpdateMicrofrontendsLinkProjectsDeployHooks$inboundSchema: UpdateMicrofrontendsLinkProjectsDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateMicrofrontendsLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -3479,21 +3508,23 @@ export const UpdateMicrofrontendsLink2$inboundSchema: z.ZodType< UpdateMicrofrontendsLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateMicrofrontendsLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UpdateMicrofrontendsLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink2FromJSON( jsonString: string, @@ -3510,13 +3541,15 @@ export const UpdateMicrofrontendsLinkDeployHooks$inboundSchema: z.ZodType< UpdateMicrofrontendsLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function updateMicrofrontendsLinkDeployHooksFromJSON( jsonString: string, @@ -3534,21 +3567,23 @@ export const UpdateMicrofrontendsLink1$inboundSchema: z.ZodType< UpdateMicrofrontendsLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateMicrofrontendsLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UpdateMicrofrontendsLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsLink1FromJSON( jsonString: string, @@ -3565,16 +3600,18 @@ export const UpdateMicrofrontendsLink$inboundSchema: z.ZodType< UpdateMicrofrontendsLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsLink1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink3$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink4$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink5$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink6$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink7$inboundSchema), - z.lazy(() => UpdateMicrofrontendsLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsLink1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink3$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink4$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink5$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink6$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink7$inboundSchema), + z.lazy(() => UpdateMicrofrontendsLink8$inboundSchema), + ]) +); export function updateMicrofrontendsLinkFromJSON( jsonString: string, @@ -3591,12 +3628,14 @@ export const UpdateMicrofrontendsMicrofrontends3$inboundSchema: z.ZodType< UpdateMicrofrontendsMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function updateMicrofrontendsMicrofrontends3FromJSON( jsonString: string, @@ -3614,16 +3653,18 @@ export const UpdateMicrofrontendsMicrofrontends2$inboundSchema: z.ZodType< UpdateMicrofrontendsMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function updateMicrofrontendsMicrofrontends2FromJSON( jsonString: string, @@ -3641,14 +3682,16 @@ export const UpdateMicrofrontendsMicrofrontends1$inboundSchema: z.ZodType< UpdateMicrofrontendsMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function updateMicrofrontendsMicrofrontends1FromJSON( jsonString: string, @@ -3666,11 +3709,13 @@ export const UpdateMicrofrontendsMicrofrontends$inboundSchema: z.ZodType< UpdateMicrofrontendsMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsMicrofrontends1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsMicrofrontends2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsMicrofrontends1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsMicrofrontends2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsMicrofrontends3$inboundSchema), + ]) +); export function updateMicrofrontendsMicrofrontendsFromJSON( jsonString: string, @@ -3686,22 +3731,28 @@ export function updateMicrofrontendsMicrofrontendsFromJSON( /** @internal */ export const UpdateMicrofrontendsNodeVersion$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsNodeVersion -> = z.nativeEnum(UpdateMicrofrontendsNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsNodeVersion) +); /** @internal */ export const UpdateMicrofrontendsIssuerMode$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsIssuerMode -> = z.nativeEnum(UpdateMicrofrontendsIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsIssuerMode) +); /** @internal */ export const UpdateMicrofrontendsOidcTokenConfig$inboundSchema: z.ZodType< UpdateMicrofrontendsOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(UpdateMicrofrontendsIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(UpdateMicrofrontendsIssuerMode$inboundSchema), + }) +); export function updateMicrofrontendsOidcTokenConfigFromJSON( jsonString: string, @@ -3719,9 +3770,11 @@ export const UpdateMicrofrontendsPaths$inboundSchema: z.ZodType< UpdateMicrofrontendsPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function updateMicrofrontendsPathsFromJSON( jsonString: string, @@ -3738,9 +3791,11 @@ export const UpdateMicrofrontendsOptionsAllowlist$inboundSchema: z.ZodType< UpdateMicrofrontendsOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => UpdateMicrofrontendsPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => UpdateMicrofrontendsPaths$inboundSchema)), + }) +); export function updateMicrofrontendsOptionsAllowlistFromJSON( jsonString: string, @@ -3756,17 +3811,21 @@ export function updateMicrofrontendsOptionsAllowlistFromJSON( /** @internal */ export const UpdateMicrofrontendsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsDeploymentType -> = z.nativeEnum(UpdateMicrofrontendsDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsDeploymentType) +); /** @internal */ export const UpdateMicrofrontendsPassport$inboundSchema: z.ZodType< UpdateMicrofrontendsPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UpdateMicrofrontendsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UpdateMicrofrontendsDeploymentType$inboundSchema, + }) +); export function updateMicrofrontendsPassportFromJSON( jsonString: string, @@ -3780,17 +3839,21 @@ export function updateMicrofrontendsPassportFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsDeploymentType) + ); /** @internal */ export const UpdateMicrofrontendsPasswordProtection$inboundSchema: z.ZodType< UpdateMicrofrontendsPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: UpdateMicrofrontendsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UpdateMicrofrontendsProjectsDeploymentType$inboundSchema, + }) +); export function updateMicrofrontendsPasswordProtectionFromJSON( jsonString: string, @@ -3808,376 +3871,402 @@ export const UpdateMicrofrontendsPermissions$inboundSchema: z.ZodType< UpdateMicrofrontendsPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function updateMicrofrontendsPermissionsFromJSON( jsonString: string, @@ -4194,13 +4283,15 @@ export const UpdateMicrofrontendsProtectionBypass2$inboundSchema: z.ZodType< UpdateMicrofrontendsProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function updateMicrofrontendsProtectionBypass2FromJSON( jsonString: string, @@ -4218,13 +4309,15 @@ export const UpdateMicrofrontendsProtectionBypass1$inboundSchema: z.ZodType< UpdateMicrofrontendsProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function updateMicrofrontendsProtectionBypass1FromJSON( jsonString: string, @@ -4242,10 +4335,12 @@ export const UpdateMicrofrontendsProtectionBypass$inboundSchema: z.ZodType< UpdateMicrofrontendsProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsProtectionBypass1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsProtectionBypass1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsProtectionBypass2$inboundSchema), + ]) +); export function updateMicrofrontendsProtectionBypassFromJSON( jsonString: string, @@ -4263,9 +4358,11 @@ export const UpdateMicrofrontendsSandboxUrls$inboundSchema: z.ZodType< UpdateMicrofrontendsSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsSandboxUrlsFromJSON( jsonString: string, @@ -4282,11 +4379,13 @@ export const UpdateMicrofrontendsProtectionConfig$inboundSchema: z.ZodType< UpdateMicrofrontendsProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => UpdateMicrofrontendsSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => UpdateMicrofrontendsSandboxUrls$inboundSchema), + ), + }) +); export function updateMicrofrontendsProtectionConfigFromJSON( jsonString: string, @@ -4303,13 +4402,16 @@ export function updateMicrofrontendsProtectionConfigFromJSON( export const UpdateMicrofrontendsProjectsBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsBuildMachineElasticReason - > = z.nativeEnum(UpdateMicrofrontendsProjectsBuildMachineElasticReason); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsBuildMachineElasticReason) + ); /** @internal */ export const UpdateMicrofrontendsProjectsDirection$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsProjectsDirection, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsDirection) + ); /** @internal */ export const UpdateMicrofrontendsProjectsBuildMachineElasticTransition$inboundSchema: @@ -4317,11 +4419,13 @@ export const UpdateMicrofrontendsProjectsBuildMachineElasticTransition$inboundSc UpdateMicrofrontendsProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UpdateMicrofrontendsProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UpdateMicrofrontendsProjectsDirection$inboundSchema, + }) + ); export function updateMicrofrontendsProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4340,29 +4444,37 @@ export function updateMicrofrontendsProjectsBuildMachineElasticTransitionFromJSO /** @internal */ export const UpdateMicrofrontendsProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsBuildMachineSelection) + ); /** @internal */ export const UpdateMicrofrontendsProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsBuildMachineType) + ); /** @internal */ export const UpdateMicrofrontendsProjectsConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsConfiguration) + ); /** @internal */ export const UpdateMicrofrontendsProjectsBuildQueue$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - UpdateMicrofrontendsProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UpdateMicrofrontendsProjectsConfiguration$inboundSchema, + ), + }) +); export function updateMicrofrontendsProjectsBuildQueueFromJSON( jsonString: string, @@ -4379,7 +4491,9 @@ export function updateMicrofrontendsProjectsBuildQueueFromJSON( export const UpdateMicrofrontendsProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsFunctionDefaultMemoryType - > = z.nativeEnum(UpdateMicrofrontendsProjectsFunctionDefaultMemoryType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const UpdateMicrofrontendsElasticBuildMachineProjects4$inboundSchema: @@ -4387,11 +4501,13 @@ export const UpdateMicrofrontendsElasticBuildMachineProjects4$inboundSchema: UpdateMicrofrontendsElasticBuildMachineProjects4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function updateMicrofrontendsElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -4415,11 +4531,13 @@ export const UpdateMicrofrontendsElasticBuildMachineProjects3$inboundSchema: UpdateMicrofrontendsElasticBuildMachineProjects3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function updateMicrofrontendsElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -4443,11 +4561,13 @@ export const UpdateMicrofrontendsElasticBuildMachineProjects2$inboundSchema: UpdateMicrofrontendsElasticBuildMachineProjects2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function updateMicrofrontendsElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -4471,11 +4591,13 @@ export const UpdateMicrofrontendsElasticBuildMachineProjects1$inboundSchema: UpdateMicrofrontendsElasticBuildMachineProjects1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function updateMicrofrontendsElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -4499,20 +4621,22 @@ export const UpdateMicrofrontendsProjectsElasticBuildMachine$inboundSchema: UpdateMicrofrontendsProjectsElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => - UpdateMicrofrontendsElasticBuildMachineProjects1$inboundSchema - ), - z.lazy(() => - UpdateMicrofrontendsElasticBuildMachineProjects2$inboundSchema - ), - z.lazy(() => - UpdateMicrofrontendsElasticBuildMachineProjects3$inboundSchema - ), - z.lazy(() => - UpdateMicrofrontendsElasticBuildMachineProjects4$inboundSchema - ), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + UpdateMicrofrontendsElasticBuildMachineProjects1$inboundSchema + ), + z.lazy(() => + UpdateMicrofrontendsElasticBuildMachineProjects2$inboundSchema + ), + z.lazy(() => + UpdateMicrofrontendsElasticBuildMachineProjects3$inboundSchema + ), + z.lazy(() => + UpdateMicrofrontendsElasticBuildMachineProjects4$inboundSchema + ), + ]) + ); export function updateMicrofrontendsProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -4535,37 +4659,35 @@ export const UpdateMicrofrontendsResourceConfig$inboundSchema: z.ZodType< UpdateMicrofrontendsResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UpdateMicrofrontendsProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UpdateMicrofrontendsProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UpdateMicrofrontendsProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UpdateMicrofrontendsProjectsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UpdateMicrofrontendsProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UpdateMicrofrontendsProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UpdateMicrofrontendsProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UpdateMicrofrontendsProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + UpdateMicrofrontendsProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UpdateMicrofrontendsProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UpdateMicrofrontendsProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UpdateMicrofrontendsElasticBuildMachineProjects1$inboundSchema ), @@ -4578,9 +4700,9 @@ export const UpdateMicrofrontendsResourceConfig$inboundSchema: z.ZodType< z.lazy(() => UpdateMicrofrontendsElasticBuildMachineProjects4$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function updateMicrofrontendsResourceConfigFromJSON( jsonString: string, @@ -4598,9 +4720,11 @@ export const UpdateMicrofrontendsPrincipal5$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function updateMicrofrontendsPrincipal5FromJSON( jsonString: string, @@ -4617,10 +4741,12 @@ export const UpdateMicrofrontendsPrincipalIntegration$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateMicrofrontendsPrincipalIntegrationFromJSON( jsonString: string, @@ -4643,12 +4769,14 @@ export const UpdateMicrofrontendsPrincipal4$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UpdateMicrofrontendsPrincipalIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UpdateMicrofrontendsPrincipalIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function updateMicrofrontendsPrincipal4FromJSON( jsonString: string, @@ -4665,10 +4793,12 @@ export const UpdateMicrofrontendsPrincipalApp$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateMicrofrontendsPrincipalAppFromJSON( jsonString: string, @@ -4685,10 +4815,12 @@ export const UpdateMicrofrontendsPrincipal3$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateMicrofrontendsPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateMicrofrontendsPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateMicrofrontendsPrincipal3FromJSON( jsonString: string, @@ -4705,9 +4837,11 @@ export const UpdateMicrofrontendsPrincipalProject$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateMicrofrontendsPrincipalProjectFromJSON( jsonString: string, @@ -4725,10 +4859,12 @@ export const UpdateMicrofrontendsPrincipal2$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UpdateMicrofrontendsPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UpdateMicrofrontendsPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function updateMicrofrontendsPrincipal2FromJSON( jsonString: string, @@ -4743,10 +4879,12 @@ export function updateMicrofrontendsPrincipal2FromJSON( /** @internal */ export const UpdateMicrofrontendsViaProjectsIntegration$inboundSchema: z.ZodType = - z.object({ - configurationId: types.string(), - integrationId: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) + ); export function updateMicrofrontendsViaProjectsIntegrationFromJSON( jsonString: string, @@ -4769,12 +4907,14 @@ export const UpdateMicrofrontendsViaProjects2$inboundSchema: z.ZodType< UpdateMicrofrontendsViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UpdateMicrofrontendsViaProjectsIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UpdateMicrofrontendsViaProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function updateMicrofrontendsViaProjects2FromJSON( jsonString: string, @@ -4791,10 +4931,12 @@ export const UpdateMicrofrontendsViaProjectsApp$inboundSchema: z.ZodType< UpdateMicrofrontendsViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateMicrofrontendsViaProjectsAppFromJSON( jsonString: string, @@ -4812,10 +4954,12 @@ export const UpdateMicrofrontendsViaProjects1$inboundSchema: z.ZodType< UpdateMicrofrontendsViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateMicrofrontendsViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateMicrofrontendsViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateMicrofrontendsViaProjects1FromJSON( jsonString: string, @@ -4832,10 +4976,12 @@ export const UpdateMicrofrontendsPrincipalVia$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsViaProjects1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsViaProjects1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsViaProjects2$inboundSchema), + ]) +); export function updateMicrofrontendsPrincipalViaFromJSON( jsonString: string, @@ -4852,9 +4998,11 @@ export const UpdateMicrofrontendsPrincipalUser$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateMicrofrontendsPrincipalUserFromJSON( jsonString: string, @@ -4871,16 +5019,18 @@ export const UpdateMicrofrontendsPrincipal1$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UpdateMicrofrontendsViaProjects1$inboundSchema), z.lazy(() => UpdateMicrofrontendsViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => UpdateMicrofrontendsPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + UpdateMicrofrontendsPrincipalUser$inboundSchema + ), + }) +); export function updateMicrofrontendsPrincipal1FromJSON( jsonString: string, @@ -4897,13 +5047,15 @@ export const UpdateMicrofrontendsPrincipal$inboundSchema: z.ZodType< UpdateMicrofrontendsPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateMicrofrontendsPrincipal1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsPrincipal2$inboundSchema), - z.lazy(() => UpdateMicrofrontendsPrincipal3$inboundSchema), - z.lazy(() => UpdateMicrofrontendsPrincipal4$inboundSchema), - z.lazy(() => UpdateMicrofrontendsPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateMicrofrontendsPrincipal1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsPrincipal2$inboundSchema), + z.lazy(() => UpdateMicrofrontendsPrincipal3$inboundSchema), + z.lazy(() => UpdateMicrofrontendsPrincipal4$inboundSchema), + z.lazy(() => UpdateMicrofrontendsPrincipal5$inboundSchema), + ]) +); export function updateMicrofrontendsPrincipalFromJSON( jsonString: string, @@ -4920,21 +5072,21 @@ export const UpdateMicrofrontendsRollbackDescription$inboundSchema: z.ZodType< UpdateMicrofrontendsRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => UpdateMicrofrontendsPrincipal1$inboundSchema), z.lazy(() => UpdateMicrofrontendsPrincipal2$inboundSchema), z.lazy(() => UpdateMicrofrontendsPrincipal3$inboundSchema), z.lazy(() => UpdateMicrofrontendsPrincipal4$inboundSchema), z.lazy(() => UpdateMicrofrontendsPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function updateMicrofrontendsRollbackDescriptionFromJSON( jsonString: string, @@ -4957,12 +5109,14 @@ export const UpdateMicrofrontendsStages$inboundSchema: z.ZodType< UpdateMicrofrontendsStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function updateMicrofrontendsStagesFromJSON( jsonString: string, @@ -4979,13 +5133,15 @@ export const UpdateMicrofrontendsRollingRelease$inboundSchema: z.ZodType< UpdateMicrofrontendsRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => UpdateMicrofrontendsStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => UpdateMicrofrontendsStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function updateMicrofrontendsRollingReleaseFromJSON( jsonString: string, @@ -5001,24 +5157,28 @@ export function updateMicrofrontendsRollingReleaseFromJSON( /** @internal */ export const UpdateMicrofrontendsFailoverRegions$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsFailoverRegions -> = z.nativeEnum(UpdateMicrofrontendsFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsFailoverRegions) +); /** @internal */ export const UpdateMicrofrontendsRegion$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsRegion -> = z.nativeEnum(UpdateMicrofrontendsRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsRegion)); /** @internal */ export const UpdateMicrofrontendsSandbox$inboundSchema: z.ZodType< UpdateMicrofrontendsSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(UpdateMicrofrontendsFailoverRegions$inboundSchema), - ), - region: types.optional(UpdateMicrofrontendsRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(UpdateMicrofrontendsFailoverRegions$inboundSchema), + ), + region: types.optional(UpdateMicrofrontendsRegion$inboundSchema), + }) +); export function updateMicrofrontendsSandboxFromJSON( jsonString: string, @@ -5033,17 +5193,21 @@ export function updateMicrofrontendsSandboxFromJSON( /** @internal */ export const UpdateMicrofrontendsLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsLogHeaders2 -> = z.nativeEnum(UpdateMicrofrontendsLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsLogHeaders2) +); /** @internal */ export const UpdateMicrofrontendsLogHeaders$inboundSchema: z.ZodType< UpdateMicrofrontendsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UpdateMicrofrontendsLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + UpdateMicrofrontendsLogHeaders2$inboundSchema, + ]) +); export function updateMicrofrontendsLogHeadersFromJSON( jsonString: string, @@ -5059,8 +5223,10 @@ export function updateMicrofrontendsLogHeadersFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -5068,12 +5234,14 @@ export const UpdateMicrofrontendsAiBots$inboundSchema: z.ZodType< UpdateMicrofrontendsAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateMicrofrontendsAiBotsFromJSON( jsonString: string, @@ -5087,20 +5255,24 @@ export function updateMicrofrontendsAiBotsFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseAction) + ); /** @internal */ export const UpdateMicrofrontendsBotFilter$inboundSchema: z.ZodType< UpdateMicrofrontendsBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateMicrofrontendsProjectsResponseAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateMicrofrontendsProjectsResponseAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateMicrofrontendsBotFilterFromJSON( jsonString: string, @@ -5114,20 +5286,24 @@ export function updateMicrofrontendsBotFilterFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponse200Action) + ); /** @internal */ export const UpdateMicrofrontendsOwasp$inboundSchema: z.ZodType< UpdateMicrofrontendsOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateMicrofrontendsProjectsResponse200Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateMicrofrontendsProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateMicrofrontendsOwaspFromJSON( jsonString: string, @@ -5143,8 +5319,8 @@ export function updateMicrofrontendsOwaspFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction) ); /** @internal */ @@ -5152,12 +5328,14 @@ export const UpdateMicrofrontendsTrafficSources$inboundSchema: z.ZodType< UpdateMicrofrontendsTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateMicrofrontendsTrafficSourcesFromJSON( jsonString: string, @@ -5174,8 +5352,10 @@ export function updateMicrofrontendsTrafficSourcesFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -5183,12 +5363,14 @@ export const UpdateMicrofrontendsVercelRuleset$inboundSchema: z.ZodType< UpdateMicrofrontendsVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateMicrofrontendsVercelRulesetFromJSON( jsonString: string, @@ -5205,22 +5387,26 @@ export const UpdateMicrofrontendsManagedRules$inboundSchema: z.ZodType< UpdateMicrofrontendsManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => UpdateMicrofrontendsAiBots$inboundSchema), - bot_filter: z.lazy(() => UpdateMicrofrontendsBotFilter$inboundSchema), - owasp: z.lazy(() => UpdateMicrofrontendsOwasp$inboundSchema), - traffic_sources: z.lazy(() => - UpdateMicrofrontendsTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => UpdateMicrofrontendsVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => UpdateMicrofrontendsAiBots$inboundSchema), + bot_filter: z.lazy(() => UpdateMicrofrontendsBotFilter$inboundSchema), + owasp: z.lazy(() => UpdateMicrofrontendsOwasp$inboundSchema), + traffic_sources: z.lazy(() => + UpdateMicrofrontendsTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + UpdateMicrofrontendsVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function updateMicrofrontendsManagedRulesFromJSON( jsonString: string, @@ -5235,22 +5421,28 @@ export function updateMicrofrontendsManagedRulesFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsAction -> = z.nativeEnum(UpdateMicrofrontendsProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsAction) +); /** @internal */ export const UpdateMicrofrontendsLogHeadersProjects2$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsLogHeadersProjects2); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsLogHeadersProjects2) + ); /** @internal */ export const UpdateMicrofrontendsProjectsLogHeaders$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UpdateMicrofrontendsLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + UpdateMicrofrontendsLogHeadersProjects2$inboundSchema, + ]) +); export function updateMicrofrontendsProjectsLogHeadersFromJSON( jsonString: string, @@ -5267,29 +5459,33 @@ export function updateMicrofrontendsProjectsLogHeadersFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const UpdateMicrofrontendsAlgo$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsAlgo -> = z.nativeEnum(UpdateMicrofrontendsAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsAlgo)); /** @internal */ export const UpdateMicrofrontendsRateLimit$inboundSchema: z.ZodType< UpdateMicrofrontendsRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: UpdateMicrofrontendsAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: UpdateMicrofrontendsAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function updateMicrofrontendsRateLimitFromJSON( jsonString: string, @@ -5306,10 +5502,12 @@ export const UpdateMicrofrontendsRedirect$inboundSchema: z.ZodType< UpdateMicrofrontendsRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function updateMicrofrontendsRedirectFromJSON( jsonString: string, @@ -5326,22 +5524,25 @@ export const UpdateMicrofrontendsRulesets$inboundSchema: z.ZodType< UpdateMicrofrontendsRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: UpdateMicrofrontendsProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - UpdateMicrofrontendsLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => UpdateMicrofrontendsRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable(z.lazy(() => UpdateMicrofrontendsRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateMicrofrontendsProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + UpdateMicrofrontendsLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => UpdateMicrofrontendsRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => UpdateMicrofrontendsRedirect$inboundSchema), + ).optional(), + }) +); export function updateMicrofrontendsRulesetsFromJSON( jsonString: string, @@ -5358,36 +5559,38 @@ export const UpdateMicrofrontendsSecurity$inboundSchema: z.ZodType< UpdateMicrofrontendsSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - UpdateMicrofrontendsLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => UpdateMicrofrontendsManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => UpdateMicrofrontendsRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + UpdateMicrofrontendsLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => UpdateMicrofrontendsManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => UpdateMicrofrontendsRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function updateMicrofrontendsSecurityFromJSON( jsonString: string, @@ -5401,28 +5604,33 @@ export function updateMicrofrontendsSecurityFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsProjectsFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsFramework) + ); /** @internal */ export const UpdateMicrofrontendsServiceType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsServiceType -> = z.nativeEnum(UpdateMicrofrontendsServiceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsServiceType) +); /** @internal */ export const UpdateMicrofrontendsServices$inboundSchema: z.ZodType< UpdateMicrofrontendsServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional( - UpdateMicrofrontendsProjectsFramework$inboundSchema, - ), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(UpdateMicrofrontendsServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + UpdateMicrofrontendsProjectsFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(UpdateMicrofrontendsServiceType$inboundSchema), + }) +); export function updateMicrofrontendsServicesFromJSON( jsonString: string, @@ -5439,15 +5647,17 @@ export const UpdateMicrofrontendsSpeedInsights$inboundSchema: z.ZodType< UpdateMicrofrontendsSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function updateMicrofrontendsSpeedInsightsFromJSON( jsonString: string, @@ -5463,35 +5673,43 @@ export function updateMicrofrontendsSpeedInsightsFromJSON( export const UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const UpdateMicrofrontendsCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsCve55182MigrationAppliedFrom) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponseDeploymentType) + ); /** @internal */ export const UpdateMicrofrontendsSsoProtection$inboundSchema: z.ZodType< UpdateMicrofrontendsSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - UpdateMicrofrontendsCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - UpdateMicrofrontendsProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + UpdateMicrofrontendsApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + UpdateMicrofrontendsCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + UpdateMicrofrontendsProjectsResponseDeploymentType$inboundSchema, + }) +); export function updateMicrofrontendsSsoProtectionFromJSON( jsonString: string, @@ -5508,11 +5726,13 @@ export const UpdateMicrofrontendsStaticIps$inboundSchema: z.ZodType< UpdateMicrofrontendsStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function updateMicrofrontendsStaticIpsFromJSON( jsonString: string, @@ -5529,7 +5749,9 @@ export const UpdateMicrofrontendsProjectsAliasAssigned$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function updateMicrofrontendsProjectsAliasAssignedFromJSON( jsonString: string, @@ -5552,10 +5774,12 @@ export const UpdateMicrofrontendsProjectsAliasError$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateMicrofrontendsProjectsAliasErrorFromJSON( jsonString: string, @@ -5572,8 +5796,10 @@ export function updateMicrofrontendsProjectsAliasErrorFromJSON( export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); /** @internal */ @@ -5582,11 +5808,13 @@ export const UpdateMicrofrontendsProjectsResponseBranchMatcher$inboundSchema: UpdateMicrofrontendsProjectsResponseBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + }) + ); export function updateMicrofrontendsProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -5609,11 +5837,13 @@ export const UpdateMicrofrontendsProjectsBuilds$inboundSchema: z.ZodType< UpdateMicrofrontendsProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function updateMicrofrontendsProjectsBuildsFromJSON( jsonString: string, @@ -5628,13 +5858,17 @@ export function updateMicrofrontendsProjectsBuildsFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsChecksConclusion) + ); /** @internal */ export const UpdateMicrofrontendsProjectsChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsChecksState) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponseCreator$inboundSchema: @@ -5642,13 +5876,15 @@ export const UpdateMicrofrontendsProjectsResponseCreator$inboundSchema: UpdateMicrofrontendsProjectsResponseCreator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function updateMicrofrontendsProjectsResponseCreatorFromJSON( jsonString: string, @@ -5672,29 +5908,31 @@ export const UpdateMicrofrontendsProjectsOidcTokenClaims$inboundSchema: UpdateMicrofrontendsProjectsOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function updateMicrofrontendsProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -5715,88 +5953,95 @@ export function updateMicrofrontendsProjectsOidcTokenClaimsFromJSON( /** @internal */ export const UpdateMicrofrontendsProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsPlan -> = z.nativeEnum(UpdateMicrofrontendsProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsPlan) +); /** @internal */ export const UpdateMicrofrontendsProjectsReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsProjectsReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsReadyState) + ); /** @internal */ export const UpdateMicrofrontendsProjectsReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsProjectsReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsReadySubstate) + ); /** @internal */ export const UpdateMicrofrontendsProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsResponse200ApplicationJSONType - > = z.nativeEnum(UpdateMicrofrontendsProjectsResponse200ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const UpdateMicrofrontendsTargets$inboundSchema: z.ZodType< UpdateMicrofrontendsTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UpdateMicrofrontendsProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => UpdateMicrofrontendsProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => UpdateMicrofrontendsProjectsResponseBranchMatcher$inboundSchema + )), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + UpdateMicrofrontendsProjectsBuilds$inboundSchema + ))), + checksConclusion: types.optional( + UpdateMicrofrontendsProjectsChecksConclusion$inboundSchema, ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => UpdateMicrofrontendsProjectsBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - UpdateMicrofrontendsProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - UpdateMicrofrontendsProjectsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateMicrofrontendsProjectsResponseCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UpdateMicrofrontendsProjectsOidcTokenClaims$inboundSchema), - ), - plan: UpdateMicrofrontendsProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateMicrofrontendsProjectsReadyState$inboundSchema, - readySubstate: types.optional( - UpdateMicrofrontendsProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - UpdateMicrofrontendsProjectsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + checksState: types.optional( + UpdateMicrofrontendsProjectsChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + UpdateMicrofrontendsProjectsResponseCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => + UpdateMicrofrontendsProjectsOidcTokenClaims$inboundSchema + )), + plan: UpdateMicrofrontendsProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateMicrofrontendsProjectsReadyState$inboundSchema, + readySubstate: types.optional( + UpdateMicrofrontendsProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + UpdateMicrofrontendsProjectsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateMicrofrontendsTargetsFromJSON( jsonString: string, @@ -5811,29 +6056,35 @@ export function updateMicrofrontendsTargetsFromJSON( /** @internal */ export const UpdateMicrofrontendsTier$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsTier -> = z.nativeEnum(UpdateMicrofrontendsTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateMicrofrontendsTier)); /** @internal */ export const UpdateMicrofrontendsDestination$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsDestination -> = z.nativeEnum(UpdateMicrofrontendsDestination); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsDestination) +); /** @internal */ export const UpdateMicrofrontendsProjectsEnv$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsProjectsEnv -> = z.nativeEnum(UpdateMicrofrontendsProjectsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsProjectsEnv) +); /** @internal */ export const UpdateMicrofrontendsSamplingRules$inboundSchema: z.ZodType< UpdateMicrofrontendsSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(UpdateMicrofrontendsDestination$inboundSchema), - env: types.optional(UpdateMicrofrontendsProjectsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(UpdateMicrofrontendsDestination$inboundSchema), + env: types.optional(UpdateMicrofrontendsProjectsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function updateMicrofrontendsSamplingRulesFromJSON( jsonString: string, @@ -5850,13 +6101,15 @@ export const UpdateMicrofrontendsTracing$inboundSchema: z.ZodType< UpdateMicrofrontendsTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => UpdateMicrofrontendsSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => UpdateMicrofrontendsSamplingRules$inboundSchema)), + ), + }) +); export function updateMicrofrontendsTracingFromJSON( jsonString: string, @@ -5871,17 +6124,21 @@ export function updateMicrofrontendsTracingFromJSON( /** @internal */ export const UpdateMicrofrontendsTrustedIpsProjectsDeploymentType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateMicrofrontendsTrustedIpsProjectsDeploymentType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const UpdateMicrofrontendsTrustedIps2$inboundSchema: z.ZodType< UpdateMicrofrontendsTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: - UpdateMicrofrontendsTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + UpdateMicrofrontendsTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function updateMicrofrontendsTrustedIps2FromJSON( jsonString: string, @@ -5898,10 +6155,12 @@ export const UpdateMicrofrontendsTrustedIpsAddresses$inboundSchema: z.ZodType< UpdateMicrofrontendsTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function updateMicrofrontendsTrustedIpsAddressesFromJSON( jsonString: string, @@ -5921,26 +6180,32 @@ export function updateMicrofrontendsTrustedIpsAddressesFromJSON( /** @internal */ export const UpdateMicrofrontendsTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsTrustedIpsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsTrustedIpsDeploymentType) + ); /** @internal */ export const UpdateMicrofrontendsTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsTrustedIpsProtectionMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsTrustedIpsProtectionMode) + ); /** @internal */ export const UpdateMicrofrontendsTrustedIps1$inboundSchema: z.ZodType< UpdateMicrofrontendsTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => UpdateMicrofrontendsTrustedIpsAddresses$inboundSchema), - ), - deploymentType: UpdateMicrofrontendsTrustedIpsDeploymentType$inboundSchema, - protectionMode: UpdateMicrofrontendsTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => UpdateMicrofrontendsTrustedIpsAddresses$inboundSchema), + ), + deploymentType: UpdateMicrofrontendsTrustedIpsDeploymentType$inboundSchema, + protectionMode: UpdateMicrofrontendsTrustedIpsProtectionMode$inboundSchema, + }) +); export function updateMicrofrontendsTrustedIps1FromJSON( jsonString: string, @@ -5957,10 +6222,12 @@ export const UpdateMicrofrontendsTrustedIps$inboundSchema: z.ZodType< UpdateMicrofrontendsTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsTrustedIps1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsTrustedIps1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsTrustedIps2$inboundSchema), + ]) +); export function updateMicrofrontendsTrustedIpsFromJSON( jsonString: string, @@ -5974,19 +6241,22 @@ export function updateMicrofrontendsTrustedIpsFromJSON( /** @internal */ export const UpdateMicrofrontendsToProjectsPreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsToProjectsPreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsToProjectsPreset) + ); /** @internal */ export const UpdateMicrofrontendsTo2$inboundSchema: z.ZodType< UpdateMicrofrontendsTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: UpdateMicrofrontendsToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UpdateMicrofrontendsToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateMicrofrontendsTo2FromJSON( jsonString: string, @@ -6001,17 +6271,21 @@ export function updateMicrofrontendsTo2FromJSON( /** @internal */ export const UpdateMicrofrontendsToPreset$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsToPreset -> = z.nativeEnum(UpdateMicrofrontendsToPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsToPreset) +); /** @internal */ export const UpdateMicrofrontendsTo1$inboundSchema: z.ZodType< UpdateMicrofrontendsTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UpdateMicrofrontendsToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UpdateMicrofrontendsToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function updateMicrofrontendsTo1FromJSON( jsonString: string, @@ -6028,10 +6302,12 @@ export const UpdateMicrofrontendsTo$inboundSchema: z.ZodType< UpdateMicrofrontendsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsTo1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsTo1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsTo2$inboundSchema), + ]) +); export function updateMicrofrontendsToFromJSON( jsonString: string, @@ -6048,14 +6324,16 @@ export const UpdateMicrofrontendsOidcProviders$inboundSchema: z.ZodType< UpdateMicrofrontendsOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => UpdateMicrofrontendsTo1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => UpdateMicrofrontendsTo1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function updateMicrofrontendsOidcProvidersFromJSON( jsonString: string, @@ -6069,19 +6347,22 @@ export function updateMicrofrontendsOidcProvidersFromJSON( /** @internal */ export const UpdateMicrofrontendsFromProjectsPreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateMicrofrontendsFromProjectsPreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsFromProjectsPreset) + ); /** @internal */ export const UpdateMicrofrontendsFrom2$inboundSchema: z.ZodType< UpdateMicrofrontendsFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: UpdateMicrofrontendsFromProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UpdateMicrofrontendsFromProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateMicrofrontendsFrom2FromJSON( jsonString: string, @@ -6096,17 +6377,21 @@ export function updateMicrofrontendsFrom2FromJSON( /** @internal */ export const UpdateMicrofrontendsFromPreset$inboundSchema: z.ZodNativeEnum< typeof UpdateMicrofrontendsFromPreset -> = z.nativeEnum(UpdateMicrofrontendsFromPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsFromPreset) +); /** @internal */ export const UpdateMicrofrontendsFrom1$inboundSchema: z.ZodType< UpdateMicrofrontendsFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UpdateMicrofrontendsFromPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UpdateMicrofrontendsFromPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function updateMicrofrontendsFrom1FromJSON( jsonString: string, @@ -6123,10 +6408,12 @@ export const UpdateMicrofrontendsFrom$inboundSchema: z.ZodType< UpdateMicrofrontendsFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateMicrofrontendsFrom1$inboundSchema), - z.lazy(() => UpdateMicrofrontendsFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateMicrofrontendsFrom1$inboundSchema), + z.lazy(() => UpdateMicrofrontendsFrom2$inboundSchema), + ]) +); export function updateMicrofrontendsFromFromJSON( jsonString: string, @@ -6140,18 +6427,22 @@ export function updateMicrofrontendsFromFromJSON( /** @internal */ export const UpdateMicrofrontendsToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateMicrofrontendsToProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateMicrofrontendsToProjectsResponse200Preset) + ); /** @internal */ export const UpdateMicrofrontendsToProjects2$inboundSchema: z.ZodType< UpdateMicrofrontendsToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: UpdateMicrofrontendsToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UpdateMicrofrontendsToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateMicrofrontendsToProjects2FromJSON( jsonString: string, diff --git a/src/models/updatenetworkop.ts b/src/models/updatenetworkop.ts index 5246b20068..f5c289a703 100644 --- a/src/models/updatenetworkop.ts +++ b/src/models/updatenetworkop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UpdateNetworkRequestBody = { /** @@ -38,9 +39,11 @@ export const UpdateNetworkRequestBody$outboundSchema: z.ZodType< UpdateNetworkRequestBody$Outbound, z.ZodTypeDef, UpdateNetworkRequestBody -> = z.object({ - name: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + }) +); export function updateNetworkRequestBodyToJSON( updateNetworkRequestBody: UpdateNetworkRequestBody, @@ -63,16 +66,19 @@ export const UpdateNetworkRequest$outboundSchema: z.ZodType< UpdateNetworkRequest$Outbound, z.ZodTypeDef, UpdateNetworkRequest -> = z.object({ - networkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateNetworkRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + networkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateNetworkRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateNetworkRequestToJSON( updateNetworkRequest: UpdateNetworkRequest, diff --git a/src/models/updateobservabilityconfigurationprojectop.ts b/src/models/updateobservabilityconfigurationprojectop.ts index c97a02a81b..ffe86ddc82 100644 --- a/src/models/updateobservabilityconfigurationprojectop.ts +++ b/src/models/updateobservabilityconfigurationprojectop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -48,9 +48,11 @@ export const UpdateObservabilityConfigurationProjectRequestBody$outboundSchema: UpdateObservabilityConfigurationProjectRequestBody$Outbound, z.ZodTypeDef, UpdateObservabilityConfigurationProjectRequestBody - > = z.object({ - disabled: z.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + disabled: z.boolean(), + }) + ); export function updateObservabilityConfigurationProjectRequestBodyToJSON( updateObservabilityConfigurationProjectRequestBody: @@ -79,18 +81,20 @@ export const UpdateObservabilityConfigurationProjectRequest$outboundSchema: UpdateObservabilityConfigurationProjectRequest$Outbound, z.ZodTypeDef, UpdateObservabilityConfigurationProjectRequest - > = z.object({ - projectIdOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateObservabilityConfigurationProjectRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateObservabilityConfigurationProjectRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function updateObservabilityConfigurationProjectRequestToJSON( updateObservabilityConfigurationProjectRequest: @@ -109,10 +113,12 @@ export const UpdateObservabilityConfigurationProjectResponseBody$inboundSchema: UpdateObservabilityConfigurationProjectResponseBody, z.ZodTypeDef, unknown - > = z.object({ - disabledAt: types.optional(types.number()), - id: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + disabledAt: types.optional(types.number()), + id: types.string(), + }) + ); export function updateObservabilityConfigurationProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateorganizationop.ts b/src/models/updateorganizationop.ts index df68937d92..6480fcecc3 100644 --- a/src/models/updateorganizationop.ts +++ b/src/models/updateorganizationop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UpdateOrganizationRequestBody = { /** @@ -40,11 +41,13 @@ export const UpdateOrganizationRequestBody$outboundSchema: z.ZodType< UpdateOrganizationRequestBody$Outbound, z.ZodTypeDef, UpdateOrganizationRequestBody -> = z.object({ - avatar: z.nullable(z.string()).optional(), - name: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: z.nullable(z.string()).optional(), + name: z.string().optional(), + slug: z.string().optional(), + }) +); export function updateOrganizationRequestBodyToJSON( updateOrganizationRequestBody: UpdateOrganizationRequestBody, @@ -67,15 +70,17 @@ export const UpdateOrganizationRequest$outboundSchema: z.ZodType< UpdateOrganizationRequest$Outbound, z.ZodTypeDef, UpdateOrganizationRequest -> = z.object({ - organizationId: z.string(), - requestBody: z.lazy(() => UpdateOrganizationRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: z.string(), + requestBody: z.lazy(() => UpdateOrganizationRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateOrganizationRequestToJSON( updateOrganizationRequest: UpdateOrganizationRequest, diff --git a/src/models/updateprivatelinkendpointop.ts b/src/models/updateprivatelinkendpointop.ts index ce3ba8be21..7f48e9afe4 100644 --- a/src/models/updateprivatelinkendpointop.ts +++ b/src/models/updateprivatelinkendpointop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UpdatePrivateLinkEndpointRequestBody = { /** @@ -47,10 +48,12 @@ export const UpdatePrivateLinkEndpointRequestBody$outboundSchema: z.ZodType< UpdatePrivateLinkEndpointRequestBody$Outbound, z.ZodTypeDef, UpdatePrivateLinkEndpointRequestBody -> = z.object({ - name: z.string().optional(), - enablePrivateDns: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + enablePrivateDns: z.boolean().optional(), + }) +); export function updatePrivateLinkEndpointRequestBodyToJSON( updatePrivateLinkEndpointRequestBody: UpdatePrivateLinkEndpointRequestBody, @@ -76,18 +79,21 @@ export const UpdatePrivateLinkEndpointRequest$outboundSchema: z.ZodType< UpdatePrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, UpdatePrivateLinkEndpointRequest -> = z.object({ - projectId: z.string(), - endpointId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdatePrivateLinkEndpointRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + endpointId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdatePrivateLinkEndpointRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updatePrivateLinkEndpointRequestToJSON( updatePrivateLinkEndpointRequest: UpdatePrivateLinkEndpointRequest, diff --git a/src/models/updateprojectcheckop.ts b/src/models/updateprojectcheckop.ts index 4efe0923a1..952a59cfb3 100644 --- a/src/models/updateprojectcheckop.ts +++ b/src/models/updateprojectcheckop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -146,12 +146,12 @@ export type UpdateProjectCheckResponseBody = { /** @internal */ export const UpdateProjectCheckRequires$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckRequires -> = z.nativeEnum(UpdateProjectCheckRequires); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectCheckRequires)); /** @internal */ export const UpdateProjectCheckBlocks$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckBlocks -> = z.nativeEnum(UpdateProjectCheckBlocks); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectCheckBlocks)); /** @internal */ export type UpdateProjectCheckRequestBody$Outbound = { @@ -168,14 +168,18 @@ export const UpdateProjectCheckRequestBody$outboundSchema: z.ZodType< UpdateProjectCheckRequestBody$Outbound, z.ZodTypeDef, UpdateProjectCheckRequestBody -> = z.object({ - name: z.string().optional(), - isRerequestable: z.boolean().optional(), - requires: UpdateProjectCheckRequires$outboundSchema.default("deployment-url"), - targets: z.array(z.string()).optional(), - blocks: UpdateProjectCheckBlocks$outboundSchema.default("deployment-alias"), - timeout: z.number().default(300), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string().optional(), + isRerequestable: z.boolean().optional(), + requires: UpdateProjectCheckRequires$outboundSchema.default( + "deployment-url", + ), + targets: z.array(z.string()).optional(), + blocks: UpdateProjectCheckBlocks$outboundSchema.default("deployment-alias"), + timeout: z.number().default(300), + }) +); export function updateProjectCheckRequestBodyToJSON( updateProjectCheckRequestBody: UpdateProjectCheckRequestBody, @@ -201,18 +205,20 @@ export const UpdateProjectCheckRequest$outboundSchema: z.ZodType< UpdateProjectCheckRequest$Outbound, z.ZodTypeDef, UpdateProjectCheckRequest -> = z.object({ - projectIdOrName: z.string(), - checkId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectCheckRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIdOrName: z.string(), + checkId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectCheckRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateProjectCheckRequestToJSON( updateProjectCheckRequest: UpdateProjectCheckRequest, @@ -225,28 +231,36 @@ export function updateProjectCheckRequestToJSON( /** @internal */ export const UpdateProjectCheckChecksV2Blocks$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckChecksV2Blocks -> = z.nativeEnum(UpdateProjectCheckChecksV2Blocks); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCheckChecksV2Blocks) +); /** @internal */ export const UpdateProjectCheckChecksV2Requires$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckChecksV2Requires -> = z.nativeEnum(UpdateProjectCheckChecksV2Requires); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCheckChecksV2Requires) +); /** @internal */ export const UpdateProjectCheckSourceProvider$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckSourceProvider -> = z.nativeEnum(UpdateProjectCheckSourceProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCheckSourceProvider) +); /** @internal */ export const UpdateProjectCheckSource3$inboundSchema: z.ZodType< UpdateProjectCheckSource3, z.ZodTypeDef, unknown -> = z.object({ - externalCheckName: types.string(), - kind: types.literal("git-provider"), - provider: UpdateProjectCheckSourceProvider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalCheckName: types.string(), + kind: types.literal("git-provider"), + provider: UpdateProjectCheckSourceProvider$inboundSchema, + }) +); export function updateProjectCheckSource3FromJSON( jsonString: string, @@ -263,10 +277,12 @@ export const UpdateProjectCheckSource2$inboundSchema: z.ZodType< UpdateProjectCheckSource2, z.ZodTypeDef, unknown -> = z.object({ - kind: types.literal("webhook"), - webhookId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + kind: types.literal("webhook"), + webhookId: types.optional(types.string()), + }) +); export function updateProjectCheckSource2FromJSON( jsonString: string, @@ -283,13 +299,15 @@ export const UpdateProjectCheckSource1$inboundSchema: z.ZodType< UpdateProjectCheckSource1, z.ZodTypeDef, unknown -> = z.object({ - externalResourceId: types.optional(types.string()), - integrationConfigurationId: types.string(), - integrationId: types.string(), - kind: types.literal("integration"), - resourceId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + externalResourceId: types.optional(types.string()), + integrationConfigurationId: types.string(), + integrationId: types.string(), + kind: types.literal("integration"), + resourceId: types.optional(types.string()), + }) +); export function updateProjectCheckSource1FromJSON( jsonString: string, @@ -306,11 +324,13 @@ export const UpdateProjectCheckSource$inboundSchema: z.ZodType< UpdateProjectCheckSource, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectCheckSource1$inboundSchema), - z.lazy(() => UpdateProjectCheckSource2$inboundSchema), - z.lazy(() => UpdateProjectCheckSource3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectCheckSource1$inboundSchema), + z.lazy(() => UpdateProjectCheckSource2$inboundSchema), + z.lazy(() => UpdateProjectCheckSource3$inboundSchema), + ]) +); export function updateProjectCheckSourceFromJSON( jsonString: string, @@ -325,34 +345,38 @@ export function updateProjectCheckSourceFromJSON( /** @internal */ export const UpdateProjectCheckSourceKind$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectCheckSourceKind -> = z.nativeEnum(UpdateProjectCheckSourceKind); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCheckSourceKind) +); /** @internal */ export const UpdateProjectCheckResponseBody$inboundSchema: z.ZodType< UpdateProjectCheckResponseBody, z.ZodTypeDef, unknown -> = z.object({ - blocks: UpdateProjectCheckChecksV2Blocks$inboundSchema, - createdAt: types.number(), - deletedAt: types.optional(types.number()), - id: types.string(), - isRerequestable: types.boolean(), - name: types.string(), - ownerId: types.string(), - projectId: types.string(), - requires: UpdateProjectCheckChecksV2Requires$inboundSchema, - source: z.union([ - z.lazy(() => UpdateProjectCheckSource1$inboundSchema), - z.lazy(() => UpdateProjectCheckSource2$inboundSchema), - z.lazy(() => UpdateProjectCheckSource3$inboundSchema), - ]), - sourceIntegrationConfigurationId: types.optional(types.string()), - sourceKind: UpdateProjectCheckSourceKind$inboundSchema, - targets: z.array(types.string()), - timeout: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + blocks: UpdateProjectCheckChecksV2Blocks$inboundSchema, + createdAt: types.number(), + deletedAt: types.optional(types.number()), + id: types.string(), + isRerequestable: types.boolean(), + name: types.string(), + ownerId: types.string(), + projectId: types.string(), + requires: UpdateProjectCheckChecksV2Requires$inboundSchema, + source: z.union([ + z.lazy(() => UpdateProjectCheckSource1$inboundSchema), + z.lazy(() => UpdateProjectCheckSource2$inboundSchema), + z.lazy(() => UpdateProjectCheckSource3$inboundSchema), + ]), + sourceIntegrationConfigurationId: types.optional(types.string()), + sourceKind: UpdateProjectCheckSourceKind$inboundSchema, + targets: z.array(types.string()), + timeout: types.number(), + updatedAt: types.number(), + }) +); export function updateProjectCheckResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateprojectdomainop.ts b/src/models/updateprojectdomainop.ts index 0a2e1163d5..dc85ad2227 100644 --- a/src/models/updateprojectdomainop.ts +++ b/src/models/updateprojectdomainop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -95,7 +95,7 @@ export type UpdateProjectDomainResponseBody = { /** @internal */ export const RedirectStatusCode$outboundSchema: z.ZodNativeEnum< typeof RedirectStatusCode -> = z.nativeEnum(RedirectStatusCode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RedirectStatusCode)); /** @internal */ export type UpdateProjectDomainRequestBody$Outbound = { @@ -109,11 +109,14 @@ export const UpdateProjectDomainRequestBody$outboundSchema: z.ZodType< UpdateProjectDomainRequestBody$Outbound, z.ZodTypeDef, UpdateProjectDomainRequestBody -> = z.object({ - gitBranch: z.nullable(z.string()).optional(), - redirect: z.nullable(z.string()).optional(), - redirectStatusCode: z.nullable(RedirectStatusCode$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitBranch: z.nullable(z.string()).optional(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(RedirectStatusCode$outboundSchema) + .optional(), + }) +); export function updateProjectDomainRequestBodyToJSON( updateProjectDomainRequestBody: UpdateProjectDomainRequestBody, @@ -139,17 +142,19 @@ export const UpdateProjectDomainRequest$outboundSchema: z.ZodType< UpdateProjectDomainRequest$Outbound, z.ZodTypeDef, UpdateProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectDomainRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectDomainRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateProjectDomainRequestToJSON( updateProjectDomainRequest: UpdateProjectDomainRequest, @@ -164,12 +169,14 @@ export const UpdateProjectDomainVerification$inboundSchema: z.ZodType< UpdateProjectDomainVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function updateProjectDomainVerificationFromJSON( jsonString: string, @@ -186,21 +193,23 @@ export const UpdateProjectDomainResponseBody$inboundSchema: z.ZodType< UpdateProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => UpdateProjectDomainVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => UpdateProjectDomainVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function updateProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateprojectenvironments.ts b/src/models/updateprojectenvironments.ts index bacadd17ee..c57802385a 100644 --- a/src/models/updateprojectenvironments.ts +++ b/src/models/updateprojectenvironments.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -566,7 +566,7 @@ export type To1 = { /** * A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. */ -export type To = To1 | To2; +export type UpdateProjectTo = To1 | To2; export const UpdateProjectFromPreset = { AllCustom: "all-custom", @@ -642,7 +642,7 @@ export type UpdateProjectTo1 = { /** * A set of environments, expressed as explicit slugs, a named preset, or both. At least one of `slugs` or `preset` must be set. */ -export type UpdateProjectTo = UpdateProjectTo1 | UpdateProjectTo2; +export type UpdateProjectProjectsTo = UpdateProjectTo1 | UpdateProjectTo2; export type OidcProviders = { /** @@ -1761,27 +1761,31 @@ export type UpdateProjectEnvironments = /** @internal */ export const UpdateProjectFramework$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectFramework -> = z.nativeEnum(UpdateProjectFramework); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectFramework)); /** @internal */ export const UpdateProjectNodeVersion$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectNodeVersion -> = z.nativeEnum(UpdateProjectNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectNodeVersion)); /** @internal */ export const UpdateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectBuildMachineType -> = z.nativeEnum(UpdateProjectBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectBuildMachineType) +); /** @internal */ export const UpdateProjectBuildMachineSelection$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectBuildMachineSelection -> = z.nativeEnum(UpdateProjectBuildMachineSelection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectBuildMachineSelection) +); /** @internal */ export const UpdateProjectConfiguration$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectConfiguration -> = z.nativeEnum(UpdateProjectConfiguration); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectConfiguration)); /** @internal */ export type UpdateProjectBuildQueue$Outbound = { @@ -1793,9 +1797,11 @@ export const UpdateProjectBuildQueue$outboundSchema: z.ZodType< UpdateProjectBuildQueue$Outbound, z.ZodTypeDef, UpdateProjectBuildQueue -> = z.object({ - configuration: UpdateProjectConfiguration$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: UpdateProjectConfiguration$outboundSchema.optional(), + }) +); export function updateProjectBuildQueueToJSON( updateProjectBuildQueue: UpdateProjectBuildQueue, @@ -1807,20 +1813,22 @@ export function updateProjectBuildQueueToJSON( /** @internal */ export const UpdateProjectFunctionDefaultMemoryType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectFunctionDefaultMemoryType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectFunctionDefaultMemoryType) + ); /** @internal */ export const UpdateProjectBuildMachineElasticReason$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectBuildMachineElasticReason, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectBuildMachineElasticReason) + ); /** @internal */ export const UpdateProjectDirection$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDirection -> = z.nativeEnum(UpdateProjectDirection); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectDirection)); /** @internal */ export type UpdateProjectBuildMachineElasticTransition$Outbound = { @@ -1835,11 +1843,13 @@ export const UpdateProjectBuildMachineElasticTransition$outboundSchema: UpdateProjectBuildMachineElasticTransition$Outbound, z.ZodTypeDef, UpdateProjectBuildMachineElasticTransition - > = z.object({ - at: z.number(), - direction: UpdateProjectDirection$outboundSchema, - algorithmVersion: z.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + at: z.number(), + direction: UpdateProjectDirection$outboundSchema, + algorithmVersion: z.string(), + }) + ); export function updateProjectBuildMachineElasticTransitionToJSON( updateProjectBuildMachineElasticTransition: @@ -1877,27 +1887,29 @@ export const UpdateProjectResourceConfig$outboundSchema: z.ZodType< UpdateProjectResourceConfig$Outbound, z.ZodTypeDef, UpdateProjectResourceConfig -> = z.object({ - buildMachineType: UpdateProjectBuildMachineType$outboundSchema.optional(), - buildMachineSelection: UpdateProjectBuildMachineSelection$outboundSchema - .optional(), - buildQueue: z.lazy(() => UpdateProjectBuildQueue$outboundSchema).optional(), - fluid: z.boolean().optional(), - functionDefaultRegions: z.array(z.string()).optional(), - functionDefaultTimeout: z.number().optional(), - functionDefaultMemoryType: - UpdateProjectFunctionDefaultMemoryType$outboundSchema.optional(), - functionZeroConfigFailover: z.boolean().optional(), - elasticConcurrencyEnabled: z.boolean().optional(), - buildMachineElasticLastUpdated: z.number().optional(), - buildMachineElasticReason: - UpdateProjectBuildMachineElasticReason$outboundSchema.optional(), - buildMachineElasticTransition: z.lazy(() => - UpdateProjectBuildMachineElasticTransition$outboundSchema - ).optional(), - isNSNBDisabled: z.boolean().optional(), - enableFunctionsBeta: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineType: UpdateProjectBuildMachineType$outboundSchema.optional(), + buildMachineSelection: UpdateProjectBuildMachineSelection$outboundSchema + .optional(), + buildQueue: z.lazy(() => UpdateProjectBuildQueue$outboundSchema).optional(), + fluid: z.boolean().optional(), + functionDefaultRegions: z.array(z.string()).optional(), + functionDefaultTimeout: z.number().optional(), + functionDefaultMemoryType: + UpdateProjectFunctionDefaultMemoryType$outboundSchema.optional(), + functionZeroConfigFailover: z.boolean().optional(), + elasticConcurrencyEnabled: z.boolean().optional(), + buildMachineElasticLastUpdated: z.number().optional(), + buildMachineElasticReason: + UpdateProjectBuildMachineElasticReason$outboundSchema.optional(), + buildMachineElasticTransition: z.lazy(() => + UpdateProjectBuildMachineElasticTransition$outboundSchema + ).optional(), + isNSNBDisabled: z.boolean().optional(), + enableFunctionsBeta: z.boolean().optional(), + }) +); export function updateProjectResourceConfigToJSON( updateProjectResourceConfig: UpdateProjectResourceConfig, @@ -1919,9 +1931,11 @@ export const UpdateProjectStaticIps$outboundSchema: z.ZodType< UpdateProjectStaticIps$Outbound, z.ZodTypeDef, UpdateProjectStaticIps -> = z.object({ - enabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + }) +); export function updateProjectStaticIpsToJSON( updateProjectStaticIps: UpdateProjectStaticIps, @@ -1934,11 +1948,11 @@ export function updateProjectStaticIpsToJSON( /** @internal */ export const UpdateProjectEnv$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnv -> = z.nativeEnum(UpdateProjectEnv); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectEnv)); /** @internal */ -export const Destination$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Destination); +export const Destination$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Destination)); /** @internal */ export type SamplingRules$Outbound = { @@ -1953,12 +1967,14 @@ export const SamplingRules$outboundSchema: z.ZodType< SamplingRules$Outbound, z.ZodTypeDef, SamplingRules -> = z.object({ - rate: z.number(), - env: UpdateProjectEnv$outboundSchema.optional(), - requestPath: z.string().optional(), - destination: Destination$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rate: z.number(), + env: UpdateProjectEnv$outboundSchema.optional(), + requestPath: z.string().optional(), + destination: Destination$outboundSchema.optional(), + }) +); export function samplingRulesToJSON(samplingRules: SamplingRules): string { return JSON.stringify(SamplingRules$outboundSchema.parse(samplingRules)); @@ -1976,11 +1992,14 @@ export const Tracing$outboundSchema: z.ZodType< Tracing$Outbound, z.ZodTypeDef, Tracing -> = z.object({ - domains: z.string().optional(), - ignorePaths: z.array(z.string()).optional(), - samplingRules: z.array(z.lazy(() => SamplingRules$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: z.string().optional(), + ignorePaths: z.array(z.string()).optional(), + samplingRules: z.array(z.lazy(() => SamplingRules$outboundSchema)) + .optional(), + }) +); export function tracingToJSON(tracing: Tracing): string { return JSON.stringify(Tracing$outboundSchema.parse(tracing)); @@ -1997,10 +2016,12 @@ export const UpdateProjectGitComments$outboundSchema: z.ZodType< UpdateProjectGitComments$Outbound, z.ZodTypeDef, UpdateProjectGitComments -> = z.object({ - onPullRequest: z.boolean(), - onCommit: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onPullRequest: z.boolean(), + onCommit: z.boolean(), + }) +); export function updateProjectGitCommentsToJSON( updateProjectGitComments: UpdateProjectGitComments, @@ -2013,7 +2034,9 @@ export function updateProjectGitCommentsToJSON( /** @internal */ export const UpdateProjectCreateDeployments$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectCreateDeployments -> = z.nativeEnum(UpdateProjectCreateDeployments); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCreateDeployments) +); /** @internal */ export type GitProviderOptions$Outbound = { @@ -2028,12 +2051,14 @@ export const GitProviderOptions$outboundSchema: z.ZodType< GitProviderOptions$Outbound, z.ZodTypeDef, GitProviderOptions -> = z.object({ - createDeployments: UpdateProjectCreateDeployments$outboundSchema.optional(), - disableRepositoryDispatchEvents: z.boolean().optional(), - requireVerifiedCommits: z.nullable(z.boolean()).optional(), - gitCommitStatus: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createDeployments: UpdateProjectCreateDeployments$outboundSchema.optional(), + disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: z.nullable(z.boolean()).optional(), + gitCommitStatus: z.boolean().optional(), + }) +); export function gitProviderOptionsToJSON( gitProviderOptions: GitProviderOptions, @@ -2046,7 +2071,7 @@ export function gitProviderOptionsToJSON( /** @internal */ export const UpdateProjectIssuerMode$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectIssuerMode -> = z.nativeEnum(UpdateProjectIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectIssuerMode)); /** @internal */ export type UpdateProjectOidcTokenConfig$Outbound = { @@ -2059,10 +2084,12 @@ export const UpdateProjectOidcTokenConfig$outboundSchema: z.ZodType< UpdateProjectOidcTokenConfig$Outbound, z.ZodTypeDef, UpdateProjectOidcTokenConfig -> = z.object({ - enabled: z.boolean().default(true), - issuerMode: UpdateProjectIssuerMode$outboundSchema.default("team"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean().default(true), + issuerMode: UpdateProjectIssuerMode$outboundSchema.default("team"), + }) +); export function updateProjectOidcTokenConfigToJSON( updateProjectOidcTokenConfig: UpdateProjectOidcTokenConfig, @@ -2077,7 +2104,9 @@ export function updateProjectOidcTokenConfigToJSON( /** @internal */ export const UpdateProjectDeploymentType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDeploymentType -> = z.nativeEnum(UpdateProjectDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectDeploymentType) +); /** @internal */ export type UpdateProjectPasswordProtection$Outbound = { @@ -2090,10 +2119,12 @@ export const UpdateProjectPasswordProtection$outboundSchema: z.ZodType< UpdateProjectPasswordProtection$Outbound, z.ZodTypeDef, UpdateProjectPasswordProtection -> = z.object({ - deploymentType: UpdateProjectDeploymentType$outboundSchema, - password: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UpdateProjectDeploymentType$outboundSchema, + password: z.nullable(z.string()).optional(), + }) +); export function updateProjectPasswordProtectionToJSON( updateProjectPasswordProtection: UpdateProjectPasswordProtection, @@ -2107,9 +2138,10 @@ export function updateProjectPasswordProtectionToJSON( /** @internal */ export const UpdateProjectProjectsDeploymentType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsDeploymentType) + ); /** @internal */ export type UpdateProjectPassport$Outbound = { @@ -2122,12 +2154,14 @@ export const UpdateProjectPassport$outboundSchema: z.ZodType< UpdateProjectPassport$Outbound, z.ZodTypeDef, UpdateProjectPassport -> = z.object({ - connectorId: z.string(), - deploymentType: UpdateProjectProjectsDeploymentType$outboundSchema.default( - "all", - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: z.string(), + deploymentType: UpdateProjectProjectsDeploymentType$outboundSchema.default( + "all", + ), + }) +); export function updateProjectPassportToJSON( updateProjectPassport: UpdateProjectPassport, @@ -2140,12 +2174,14 @@ export function updateProjectPassportToJSON( /** @internal */ export const UpdateProjectRegion$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectRegion -> = z.nativeEnum(UpdateProjectRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectRegion)); /** @internal */ export const UpdateProjectFailoverRegions$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectFailoverRegions -> = z.nativeEnum(UpdateProjectFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectFailoverRegions) +); /** @internal */ export type UpdateProjectSandbox$Outbound = { @@ -2158,11 +2194,13 @@ export const UpdateProjectSandbox$outboundSchema: z.ZodType< UpdateProjectSandbox$Outbound, z.ZodTypeDef, UpdateProjectSandbox -> = z.object({ - region: UpdateProjectRegion$outboundSchema.optional(), - failoverRegions: z.array(UpdateProjectFailoverRegions$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + region: UpdateProjectRegion$outboundSchema.optional(), + failoverRegions: z.array(UpdateProjectFailoverRegions$outboundSchema) + .optional(), + }) +); export function updateProjectSandboxToJSON( updateProjectSandbox: UpdateProjectSandbox, @@ -2174,8 +2212,10 @@ export function updateProjectSandboxToJSON( /** @internal */ export const UpdateProjectProjectsRequestDeploymentType$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsRequestDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsRequestDeploymentType) + ); /** @internal */ export type UpdateProjectSsoProtection$Outbound = { @@ -2187,10 +2227,12 @@ export const UpdateProjectSsoProtection$outboundSchema: z.ZodType< UpdateProjectSsoProtection$Outbound, z.ZodTypeDef, UpdateProjectSsoProtection -> = z.object({ - deploymentType: UpdateProjectProjectsRequestDeploymentType$outboundSchema - .default("preview"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UpdateProjectProjectsRequestDeploymentType$outboundSchema + .default("preview"), + }) +); export function updateProjectSsoProtectionToJSON( updateProjectSsoProtection: UpdateProjectSsoProtection, @@ -2204,7 +2246,9 @@ export function updateProjectSsoProtectionToJSON( export const UpdateProjectProjectsRequestRequestBodyDeploymentType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsRequestRequestBodyDeploymentType - > = z.nativeEnum(UpdateProjectProjectsRequestRequestBodyDeploymentType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsRequestRequestBodyDeploymentType) + ); /** @internal */ export type Addresses$Outbound = { @@ -2217,10 +2261,12 @@ export const Addresses$outboundSchema: z.ZodType< Addresses$Outbound, z.ZodTypeDef, Addresses -> = z.object({ - value: z.string(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.string(), + note: z.string().optional(), + }) +); export function addressesToJSON(addresses: Addresses): string { return JSON.stringify(Addresses$outboundSchema.parse(addresses)); @@ -2237,11 +2283,13 @@ export const UpdateProjectTrustedIps$outboundSchema: z.ZodType< UpdateProjectTrustedIps$Outbound, z.ZodTypeDef, UpdateProjectTrustedIps -> = z.object({ - deploymentType: - UpdateProjectProjectsRequestRequestBodyDeploymentType$outboundSchema, - addresses: z.array(z.lazy(() => Addresses$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + UpdateProjectProjectsRequestRequestBodyDeploymentType$outboundSchema, + addresses: z.array(z.lazy(() => Addresses$outboundSchema)), + }) +); export function updateProjectTrustedIpsToJSON( updateProjectTrustedIps: UpdateProjectTrustedIps, @@ -2252,8 +2300,8 @@ export function updateProjectTrustedIpsToJSON( } /** @internal */ -export const ToPreset$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(ToPreset); +export const ToPreset$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ToPreset)); /** @internal */ export type To2$Outbound = { @@ -2262,19 +2310,21 @@ export type To2$Outbound = { }; /** @internal */ -export const To2$outboundSchema: z.ZodType = z - .object({ - slugs: z.array(z.string()).optional(), - preset: ToPreset$outboundSchema, - }); +export const To2$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()).optional(), + preset: ToPreset$outboundSchema, + }) + ); export function to2ToJSON(to2: To2): string { return JSON.stringify(To2$outboundSchema.parse(to2)); } /** @internal */ -export const Preset$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(Preset); +export const Preset$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Preset)); /** @internal */ export type To1$Outbound = { @@ -2283,34 +2333,43 @@ export type To1$Outbound = { }; /** @internal */ -export const To1$outboundSchema: z.ZodType = z - .object({ - slugs: z.array(z.string()), - preset: Preset$outboundSchema.optional(), - }); +export const To1$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()), + preset: Preset$outboundSchema.optional(), + }) + ); export function to1ToJSON(to1: To1): string { return JSON.stringify(To1$outboundSchema.parse(to1)); } /** @internal */ -export type To$Outbound = To1$Outbound | To2$Outbound; +export type UpdateProjectTo$Outbound = To1$Outbound | To2$Outbound; /** @internal */ -export const To$outboundSchema: z.ZodType = +export const UpdateProjectTo$outboundSchema: z.ZodType< + UpdateProjectTo$Outbound, + z.ZodTypeDef, + UpdateProjectTo +> = /* @__PURE__ */ lazySchema$(() => smartUnion([ z.lazy(() => To1$outboundSchema), z.lazy(() => To2$outboundSchema), - ]); + ]) +); -export function toToJSON(to: To): string { - return JSON.stringify(To$outboundSchema.parse(to)); +export function updateProjectToToJSON( + updateProjectTo: UpdateProjectTo, +): string { + return JSON.stringify(UpdateProjectTo$outboundSchema.parse(updateProjectTo)); } /** @internal */ export const UpdateProjectFromPreset$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectFromPreset -> = z.nativeEnum(UpdateProjectFromPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectFromPreset)); /** @internal */ export type From2$Outbound = { @@ -2323,18 +2382,20 @@ export const From2$outboundSchema: z.ZodType< From2$Outbound, z.ZodTypeDef, From2 -> = z.object({ - slugs: z.array(z.string()).optional(), - preset: UpdateProjectFromPreset$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()).optional(), + preset: UpdateProjectFromPreset$outboundSchema, + }) +); export function from2ToJSON(from2: From2): string { return JSON.stringify(From2$outboundSchema.parse(from2)); } /** @internal */ -export const FromPreset$outboundSchema: z.ZodNativeEnum = z - .nativeEnum(FromPreset); +export const FromPreset$outboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FromPreset)); /** @internal */ export type From1$Outbound = { @@ -2347,10 +2408,12 @@ export const From1$outboundSchema: z.ZodType< From1$Outbound, z.ZodTypeDef, From1 -> = z.object({ - slugs: z.array(z.string()), - preset: FromPreset$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()), + preset: FromPreset$outboundSchema.optional(), + }) +); export function from1ToJSON(from1: From1): string { return JSON.stringify(From1$outboundSchema.parse(from1)); @@ -2361,10 +2424,12 @@ export type From$Outbound = From1$Outbound | From2$Outbound; /** @internal */ export const From$outboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => From1$outboundSchema), - z.lazy(() => From2$outboundSchema), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => From1$outboundSchema), + z.lazy(() => From2$outboundSchema), + ]) + ); export function fromToJSON(from: From): string { return JSON.stringify(From$outboundSchema.parse(from)); @@ -2381,16 +2446,18 @@ export const CustomAllow$outboundSchema: z.ZodType< CustomAllow$Outbound, z.ZodTypeDef, CustomAllow -> = z.object({ - to: smartUnion([ - z.lazy(() => To1$outboundSchema), - z.lazy(() => To2$outboundSchema), - ]), - from: smartUnion([ - z.lazy(() => From1$outboundSchema), - z.lazy(() => From2$outboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => To1$outboundSchema), + z.lazy(() => To2$outboundSchema), + ]), + from: smartUnion([ + z.lazy(() => From1$outboundSchema), + z.lazy(() => From2$outboundSchema), + ]), + }) +); export function customAllowToJSON(customAllow: CustomAllow): string { return JSON.stringify(CustomAllow$outboundSchema.parse(customAllow)); @@ -2407,10 +2474,12 @@ export const UpdateProjectProjects$outboundSchema: z.ZodType< UpdateProjectProjects$Outbound, z.ZodTypeDef, UpdateProjectProjects -> = z.object({ - label: z.string().optional(), - customAllow: z.array(z.lazy(() => CustomAllow$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + customAllow: z.array(z.lazy(() => CustomAllow$outboundSchema)).optional(), + }) +); export function updateProjectProjectsToJSON( updateProjectProjects: UpdateProjectProjects, @@ -2423,7 +2492,9 @@ export function updateProjectProjectsToJSON( /** @internal */ export const UpdateProjectToProjectsPreset$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectToProjectsPreset -> = z.nativeEnum(UpdateProjectToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectToProjectsPreset) +); /** @internal */ export type UpdateProjectTo2$Outbound = { @@ -2436,10 +2507,12 @@ export const UpdateProjectTo2$outboundSchema: z.ZodType< UpdateProjectTo2$Outbound, z.ZodTypeDef, UpdateProjectTo2 -> = z.object({ - slugs: z.array(z.string()).optional(), - preset: UpdateProjectToProjectsPreset$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()).optional(), + preset: UpdateProjectToProjectsPreset$outboundSchema, + }) +); export function updateProjectTo2ToJSON( updateProjectTo2: UpdateProjectTo2, @@ -2452,7 +2525,7 @@ export function updateProjectTo2ToJSON( /** @internal */ export const UpdateProjectToPreset$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectToPreset -> = z.nativeEnum(UpdateProjectToPreset); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectToPreset)); /** @internal */ export type UpdateProjectTo1$Outbound = { @@ -2465,10 +2538,12 @@ export const UpdateProjectTo1$outboundSchema: z.ZodType< UpdateProjectTo1$Outbound, z.ZodTypeDef, UpdateProjectTo1 -> = z.object({ - slugs: z.array(z.string()), - preset: UpdateProjectToPreset$outboundSchema.optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slugs: z.array(z.string()), + preset: UpdateProjectToPreset$outboundSchema.optional(), + }) +); export function updateProjectTo1ToJSON( updateProjectTo1: UpdateProjectTo1, @@ -2479,24 +2554,28 @@ export function updateProjectTo1ToJSON( } /** @internal */ -export type UpdateProjectTo$Outbound = +export type UpdateProjectProjectsTo$Outbound = | UpdateProjectTo1$Outbound | UpdateProjectTo2$Outbound; /** @internal */ -export const UpdateProjectTo$outboundSchema: z.ZodType< - UpdateProjectTo$Outbound, +export const UpdateProjectProjectsTo$outboundSchema: z.ZodType< + UpdateProjectProjectsTo$Outbound, z.ZodTypeDef, - UpdateProjectTo -> = smartUnion([ - z.lazy(() => UpdateProjectTo1$outboundSchema), - z.lazy(() => UpdateProjectTo2$outboundSchema), -]); + UpdateProjectProjectsTo +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectTo1$outboundSchema), + z.lazy(() => UpdateProjectTo2$outboundSchema), + ]) +); -export function updateProjectToToJSON( - updateProjectTo: UpdateProjectTo, +export function updateProjectProjectsToToJSON( + updateProjectProjectsTo: UpdateProjectProjectsTo, ): string { - return JSON.stringify(UpdateProjectTo$outboundSchema.parse(updateProjectTo)); + return JSON.stringify( + UpdateProjectProjectsTo$outboundSchema.parse(updateProjectProjectsTo), + ); } /** @internal */ @@ -2511,14 +2590,16 @@ export const OidcProviders$outboundSchema: z.ZodType< OidcProviders$Outbound, z.ZodTypeDef, OidcProviders -> = z.object({ - label: z.string().optional(), - to: smartUnion([ - z.lazy(() => UpdateProjectTo1$outboundSchema), - z.lazy(() => UpdateProjectTo2$outboundSchema), - ]), - claims: z.record(z.array(z.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string().optional(), + to: smartUnion([ + z.lazy(() => UpdateProjectTo1$outboundSchema), + z.lazy(() => UpdateProjectTo2$outboundSchema), + ]), + claims: z.record(z.array(z.string())), + }) +); export function oidcProvidersToJSON(oidcProviders: OidcProviders): string { return JSON.stringify(OidcProviders$outboundSchema.parse(oidcProviders)); @@ -2536,13 +2617,15 @@ export const TrustedSources$outboundSchema: z.ZodType< TrustedSources$Outbound, z.ZodTypeDef, TrustedSources -> = z.object({ - enableVercelCiSameRepository: z.boolean().optional(), - projects: z.record(z.lazy(() => UpdateProjectProjects$outboundSchema)) - .optional(), - oidcProviders: z.record(z.array(z.lazy(() => OidcProviders$outboundSchema))) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: z.boolean().optional(), + projects: z.record(z.lazy(() => UpdateProjectProjects$outboundSchema)) + .optional(), + oidcProviders: z.record(z.array(z.lazy(() => OidcProviders$outboundSchema))) + .optional(), + }) +); export function trustedSourcesToJSON(trustedSources: TrustedSources): string { return JSON.stringify(TrustedSources$outboundSchema.parse(trustedSources)); @@ -2559,10 +2642,12 @@ export const UpdateProjectEnvironmentsProjects2$outboundSchema: z.ZodType< UpdateProjectEnvironmentsProjects2$Outbound, z.ZodTypeDef, UpdateProjectEnvironmentsProjects2 -> = z.object({ - type: z.literal("custom"), - environmentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("custom"), + environmentId: z.string(), + }) +); export function updateProjectEnvironmentsProjects2ToJSON( updateProjectEnvironmentsProjects2: UpdateProjectEnvironmentsProjects2, @@ -2576,8 +2661,10 @@ export function updateProjectEnvironmentsProjects2ToJSON( /** @internal */ export const UpdateProjectEnvironmentsProjectsTarget$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectEnvironmentsProjectsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectEnvironmentsProjectsTarget) + ); /** @internal */ export type UpdateProjectEnvironments1$Outbound = { @@ -2590,10 +2677,12 @@ export const UpdateProjectEnvironments1$outboundSchema: z.ZodType< UpdateProjectEnvironments1$Outbound, z.ZodTypeDef, UpdateProjectEnvironments1 -> = z.object({ - type: z.literal("system"), - target: UpdateProjectEnvironmentsProjectsTarget$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("system"), + target: UpdateProjectEnvironmentsProjectsTarget$outboundSchema, + }) +); export function updateProjectEnvironments1ToJSON( updateProjectEnvironments1: UpdateProjectEnvironments1, @@ -2613,10 +2702,12 @@ export const GitSourcesEnvironments$outboundSchema: z.ZodType< GitSourcesEnvironments$Outbound, z.ZodTypeDef, GitSourcesEnvironments -> = z.union([ - z.lazy(() => UpdateProjectEnvironments1$outboundSchema), - z.lazy(() => UpdateProjectEnvironmentsProjects2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectEnvironments1$outboundSchema), + z.lazy(() => UpdateProjectEnvironmentsProjects2$outboundSchema), + ]) +); export function gitSourcesEnvironmentsToJSON( gitSourcesEnvironments: GitSourcesEnvironments, @@ -2638,11 +2729,13 @@ export const UpdateProjectSources2$outboundSchema: z.ZodType< UpdateProjectSources2$Outbound, z.ZodTypeDef, UpdateProjectSources2 -> = z.object({ - provider: z.literal("gitlab"), - namespace: z.string(), - project: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: z.literal("gitlab"), + namespace: z.string(), + project: z.string().optional(), + }) +); export function updateProjectSources2ToJSON( updateProjectSources2: UpdateProjectSources2, @@ -2654,9 +2747,10 @@ export function updateProjectSources2ToJSON( /** @internal */ export const UpdateProjectSourcesProjectsProvider$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectSourcesProjectsProvider, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectSourcesProjectsProvider) + ); /** @internal */ export type UpdateProjectSources1$Outbound = { @@ -2670,11 +2764,13 @@ export const UpdateProjectSources1$outboundSchema: z.ZodType< UpdateProjectSources1$Outbound, z.ZodTypeDef, UpdateProjectSources1 -> = z.object({ - provider: UpdateProjectSourcesProjectsProvider$outboundSchema, - org: z.string(), - repo: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: UpdateProjectSourcesProjectsProvider$outboundSchema, + org: z.string(), + repo: z.string().optional(), + }) +); export function updateProjectSources1ToJSON( updateProjectSources1: UpdateProjectSources1, @@ -2695,15 +2791,17 @@ export const GitSourcesSources$outboundSchema: z.ZodType< GitSourcesSources$Outbound, z.ZodTypeDef, GitSourcesSources -> = z.union([ - z.lazy(() => UpdateProjectSources1$outboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => UpdateProjectSources1$outboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => UpdateProjectSources2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectSources1$outboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => UpdateProjectSources1$outboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => UpdateProjectSources2$outboundSchema), + ]) +); export function gitSourcesSourcesToJSON( gitSourcesSources: GitSourcesSources, @@ -2732,16 +2830,14 @@ export const GitSources1$outboundSchema: z.ZodType< GitSources1$Outbound, z.ZodTypeDef, GitSources1 -> = z.object({ - enabled: z.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + environments: z.array(z.union([ z.lazy(() => UpdateProjectEnvironments1$outboundSchema), z.lazy(() => UpdateProjectEnvironmentsProjects2$outboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => UpdateProjectSources1$outboundSchema).and( z.object({ provider: z.literal("github") }), ), @@ -2749,9 +2845,9 @@ export const GitSources1$outboundSchema: z.ZodType< z.object({ provider: z.literal("bitbucket") }), ), z.lazy(() => UpdateProjectSources2$outboundSchema), - ]), - ), -}); + ])), + }) +); export function gitSources1ToJSON(gitSources1: GitSources1): string { return JSON.stringify(GitSources1$outboundSchema.parse(gitSources1)); @@ -2767,7 +2863,9 @@ export const DeploymentPolicyGitSources$outboundSchema: z.ZodType< DeploymentPolicyGitSources$Outbound, z.ZodTypeDef, DeploymentPolicyGitSources -> = smartUnion([z.array(z.lazy(() => GitSources1$outboundSchema)), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(z.lazy(() => GitSources1$outboundSchema)), z.string()]) +); export function deploymentPolicyGitSourcesToJSON( deploymentPolicyGitSources: DeploymentPolicyGitSources, @@ -2788,10 +2886,12 @@ export const UpdateProjectEnvironments2$outboundSchema: z.ZodType< UpdateProjectEnvironments2$Outbound, z.ZodTypeDef, UpdateProjectEnvironments2 -> = z.object({ - type: z.literal("custom"), - environmentId: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("custom"), + environmentId: z.string(), + }) +); export function updateProjectEnvironments2ToJSON( updateProjectEnvironments2: UpdateProjectEnvironments2, @@ -2804,7 +2904,9 @@ export function updateProjectEnvironments2ToJSON( /** @internal */ export const UpdateProjectEnvironmentsTarget$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnvironmentsTarget -> = z.nativeEnum(UpdateProjectEnvironmentsTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectEnvironmentsTarget) +); /** @internal */ export type UpdateProjectEnvironmentsProjects1$Outbound = { @@ -2817,10 +2919,12 @@ export const UpdateProjectEnvironmentsProjects1$outboundSchema: z.ZodType< UpdateProjectEnvironmentsProjects1$Outbound, z.ZodTypeDef, UpdateProjectEnvironmentsProjects1 -> = z.object({ - type: z.literal("system"), - target: UpdateProjectEnvironmentsTarget$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: z.literal("system"), + target: UpdateProjectEnvironmentsTarget$outboundSchema, + }) +); export function updateProjectEnvironmentsProjects1ToJSON( updateProjectEnvironmentsProjects1: UpdateProjectEnvironmentsProjects1, @@ -2842,10 +2946,12 @@ export const DeploymentSourcesEnvironments$outboundSchema: z.ZodType< DeploymentSourcesEnvironments$Outbound, z.ZodTypeDef, DeploymentSourcesEnvironments -> = z.union([ - z.lazy(() => UpdateProjectEnvironmentsProjects1$outboundSchema), - z.lazy(() => UpdateProjectEnvironments2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectEnvironmentsProjects1$outboundSchema), + z.lazy(() => UpdateProjectEnvironments2$outboundSchema), + ]) +); export function deploymentSourcesEnvironmentsToJSON( deploymentSourcesEnvironments: DeploymentSourcesEnvironments, @@ -2860,7 +2966,7 @@ export function deploymentSourcesEnvironmentsToJSON( /** @internal */ export const DeploymentSourcesSources$outboundSchema: z.ZodNativeEnum< typeof DeploymentSourcesSources -> = z.nativeEnum(DeploymentSourcesSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DeploymentSourcesSources)); /** @internal */ export type DeploymentSources1$Outbound = { @@ -2877,16 +2983,16 @@ export const DeploymentSources1$outboundSchema: z.ZodType< DeploymentSources1$Outbound, z.ZodTypeDef, DeploymentSources1 -> = z.object({ - enabled: z.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: z.boolean(), + environments: z.array(z.union([ z.lazy(() => UpdateProjectEnvironmentsProjects1$outboundSchema), z.lazy(() => UpdateProjectEnvironments2$outboundSchema), - ]), - ), - sources: z.array(DeploymentSourcesSources$outboundSchema), -}); + ])), + sources: z.array(DeploymentSourcesSources$outboundSchema), + }) +); export function deploymentSources1ToJSON( deploymentSources1: DeploymentSources1, @@ -2906,10 +3012,12 @@ export const DeploymentPolicyDeploymentSources$outboundSchema: z.ZodType< DeploymentPolicyDeploymentSources$Outbound, z.ZodTypeDef, DeploymentPolicyDeploymentSources -> = smartUnion([ - z.array(z.lazy(() => DeploymentSources1$outboundSchema)), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => DeploymentSources1$outboundSchema)), + z.string(), + ]) +); export function deploymentPolicyDeploymentSourcesToJSON( deploymentPolicyDeploymentSources: DeploymentPolicyDeploymentSources, @@ -2932,16 +3040,18 @@ export const DeploymentPolicy1$outboundSchema: z.ZodType< DeploymentPolicy1$Outbound, z.ZodTypeDef, DeploymentPolicy1 -> = z.object({ - gitSources: smartUnion([ - z.array(z.lazy(() => GitSources1$outboundSchema)), - z.string(), - ]).optional(), - deploymentSources: smartUnion([ - z.array(z.lazy(() => DeploymentSources1$outboundSchema)), - z.string(), - ]).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitSources: smartUnion([ + z.array(z.lazy(() => GitSources1$outboundSchema)), + z.string(), + ]).optional(), + deploymentSources: smartUnion([ + z.array(z.lazy(() => DeploymentSources1$outboundSchema)), + z.string(), + ]).optional(), + }) +); export function deploymentPolicy1ToJSON( deploymentPolicy1: DeploymentPolicy1, @@ -2961,7 +3071,9 @@ export const UpdateProjectDeploymentPolicy$outboundSchema: z.ZodType< UpdateProjectDeploymentPolicy$Outbound, z.ZodTypeDef, UpdateProjectDeploymentPolicy -> = smartUnion([z.lazy(() => DeploymentPolicy1$outboundSchema), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.lazy(() => DeploymentPolicy1$outboundSchema), z.string()]) +); export function updateProjectDeploymentPolicyToJSON( updateProjectDeploymentPolicy: UpdateProjectDeploymentPolicy, @@ -2983,9 +3095,11 @@ export const UpdateProjectPaths$outboundSchema: z.ZodType< UpdateProjectPaths$Outbound, z.ZodTypeDef, UpdateProjectPaths -> = z.object({ - value: z.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: z.string(), + }) +); export function updateProjectPathsToJSON( updateProjectPaths: UpdateProjectPaths, @@ -3005,9 +3119,11 @@ export const UpdateProjectOptionsAllowlist$outboundSchema: z.ZodType< UpdateProjectOptionsAllowlist$Outbound, z.ZodTypeDef, UpdateProjectOptionsAllowlist -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectPaths$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => UpdateProjectPaths$outboundSchema)), + }) +); export function updateProjectOptionsAllowlistToJSON( updateProjectOptionsAllowlist: UpdateProjectOptionsAllowlist, @@ -3032,12 +3148,14 @@ export const ConnectConfigurations1$outboundSchema: z.ZodType< ConnectConfigurations1$Outbound, z.ZodTypeDef, ConnectConfigurations1 -> = z.object({ - envId: z.string(), - connectConfigurationId: z.string(), - passive: z.boolean(), - buildsEnabled: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + envId: z.string(), + connectConfigurationId: z.string(), + passive: z.boolean(), + buildsEnabled: z.boolean(), + }) +); export function connectConfigurations1ToJSON( connectConfigurations1: ConnectConfigurations1, @@ -3055,7 +3173,9 @@ export const ConnectConfigurations$outboundSchema: z.ZodType< ConnectConfigurations$Outbound, z.ZodTypeDef, ConnectConfigurations -> = z.lazy(() => ConnectConfigurations1$outboundSchema); +> = /* @__PURE__ */ lazySchema$(() => + z.lazy(() => ConnectConfigurations1$outboundSchema) +); export function connectConfigurationsToJSON( connectConfigurations: ConnectConfigurations, @@ -3068,7 +3188,7 @@ export function connectConfigurationsToJSON( /** @internal */ export const UpdateProjectAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectAction -> = z.nativeEnum(UpdateProjectAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectAction)); /** @internal */ export type PreviousValue$Outbound = number | boolean | string; @@ -3078,7 +3198,9 @@ export const PreviousValue$outboundSchema: z.ZodType< PreviousValue$Outbound, z.ZodTypeDef, PreviousValue -> = smartUnion([z.number(), z.boolean(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.number(), z.boolean(), z.string()]) +); export function previousValueToJSON(previousValue: PreviousValue): string { return JSON.stringify(PreviousValue$outboundSchema.parse(previousValue)); @@ -3092,7 +3214,9 @@ export const CurrentValue$outboundSchema: z.ZodType< CurrentValue$Outbound, z.ZodTypeDef, CurrentValue -> = smartUnion([z.number(), z.boolean(), z.string()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.number(), z.boolean(), z.string()]) +); export function currentValueToJSON(currentValue: CurrentValue): string { return JSON.stringify(CurrentValue$outboundSchema.parse(currentValue)); @@ -3109,10 +3233,12 @@ export const Value5$outboundSchema: z.ZodType< Value5$Outbound, z.ZodTypeDef, Value5 -> = z.object({ - previousValue: smartUnion([z.number(), z.boolean(), z.string()]), - currentValue: smartUnion([z.number(), z.boolean(), z.string()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousValue: smartUnion([z.number(), z.boolean(), z.string()]), + currentValue: smartUnion([z.number(), z.boolean(), z.string()]), + }) +); export function value5ToJSON(value5: Value5): string { return JSON.stringify(Value5$outboundSchema.parse(value5)); @@ -3131,12 +3257,14 @@ export const UpdateProjectDismissedToasts$outboundSchema: z.ZodType< UpdateProjectDismissedToasts$Outbound, z.ZodTypeDef, UpdateProjectDismissedToasts -> = z.object({ - key: z.string(), - dismissedAt: z.number(), - action: UpdateProjectAction$outboundSchema, - value: z.any().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectAction$outboundSchema, + value: z.any().optional(), + }) +); export function updateProjectDismissedToastsToJSON( updateProjectDismissedToasts: UpdateProjectDismissedToasts, @@ -3210,76 +3338,79 @@ export const UpdateProjectRequestBody$outboundSchema: z.ZodType< UpdateProjectRequestBody$Outbound, z.ZodTypeDef, UpdateProjectRequestBody -> = z.object({ - autoExposeSystemEnvs: z.boolean().optional(), - autoAssignCustomDomains: z.boolean().optional(), - autoAssignCustomDomainsUpdatedBy: z.string().optional(), - buildCommand: z.nullable(z.string()).optional(), - commandForIgnoringBuildStep: z.nullable(z.string()).optional(), - customerSupportCodeVisibility: z.boolean().optional(), - devCommand: z.nullable(z.string()).optional(), - directoryListing: z.boolean().optional(), - framework: z.nullable(UpdateProjectFramework$outboundSchema).optional(), - gitForkProtection: z.boolean().optional(), - gitLFS: z.boolean().optional(), - protectedSourcemaps: z.boolean().optional(), - installCommand: z.nullable(z.string()).optional(), - name: z.string().optional(), - nodeVersion: UpdateProjectNodeVersion$outboundSchema.optional(), - outputDirectory: z.nullable(z.string()).optional(), - previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), - previewDeploymentSuffix: z.nullable(z.string()).optional(), - resourceConfig: z.lazy(() => UpdateProjectResourceConfig$outboundSchema) - .optional(), - publicSource: z.nullable(z.boolean()).optional(), - rootDirectory: z.nullable(z.string()).optional(), - serverlessFunctionRegion: z.nullable(z.string()).optional(), - serverlessFunctionZeroConfigFailover: z.boolean().optional(), - skewProtectionBoundaryAt: z.number().int().optional(), - skewProtectionMaxAge: z.number().int().optional(), - skewProtectionAllowedDomains: z.array(z.string()).optional(), - skipGitConnectDuringLink: z.boolean().optional(), - sourceFilesOutsideRootDirectory: z.boolean().optional(), - enablePreviewFeedback: z.nullable(z.boolean()).optional(), - enableProductionFeedback: z.nullable(z.boolean()).optional(), - enableAffectedProjectsDeployments: z.boolean().optional(), - enableExternalRewriteCaching: z.boolean().optional(), - staticIps: z.lazy(() => UpdateProjectStaticIps$outboundSchema).optional(), - tracing: z.nullable(z.lazy(() => Tracing$outboundSchema)).optional(), - gitComments: z.nullable(z.lazy(() => UpdateProjectGitComments$outboundSchema)) - .optional(), - gitProviderOptions: z.nullable( - z.lazy(() => GitProviderOptions$outboundSchema), - ).optional(), - oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$outboundSchema) - .optional(), - passwordProtection: z.nullable( - z.lazy(() => UpdateProjectPasswordProtection$outboundSchema), - ).optional(), - passport: z.nullable(z.lazy(() => UpdateProjectPassport$outboundSchema)) - .optional(), - sandbox: z.lazy(() => UpdateProjectSandbox$outboundSchema).optional(), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectSsoProtection$outboundSchema), - ).optional(), - trustedIps: z.nullable(z.lazy(() => UpdateProjectTrustedIps$outboundSchema)) - .optional(), - trustedSources: z.nullable(z.lazy(() => TrustedSources$outboundSchema)) - .optional(), - deploymentPolicy: smartUnion([ - z.lazy(() => DeploymentPolicy1$outboundSchema), - z.string(), - ]).optional(), - optionsAllowlist: z.nullable( - z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema), - ).optional(), - connectConfigurations: z.nullable( - z.array(z.lazy(() => ConnectConfigurations1$outboundSchema)), - ).optional(), - dismissedToasts: z.array( - z.lazy(() => UpdateProjectDismissedToasts$outboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoExposeSystemEnvs: z.boolean().optional(), + autoAssignCustomDomains: z.boolean().optional(), + autoAssignCustomDomainsUpdatedBy: z.string().optional(), + buildCommand: z.nullable(z.string()).optional(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), + customerSupportCodeVisibility: z.boolean().optional(), + devCommand: z.nullable(z.string()).optional(), + directoryListing: z.boolean().optional(), + framework: z.nullable(UpdateProjectFramework$outboundSchema).optional(), + gitForkProtection: z.boolean().optional(), + gitLFS: z.boolean().optional(), + protectedSourcemaps: z.boolean().optional(), + installCommand: z.nullable(z.string()).optional(), + name: z.string().optional(), + nodeVersion: UpdateProjectNodeVersion$outboundSchema.optional(), + outputDirectory: z.nullable(z.string()).optional(), + previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + resourceConfig: z.lazy(() => UpdateProjectResourceConfig$outboundSchema) + .optional(), + publicSource: z.nullable(z.boolean()).optional(), + rootDirectory: z.nullable(z.string()).optional(), + serverlessFunctionRegion: z.nullable(z.string()).optional(), + serverlessFunctionZeroConfigFailover: z.boolean().optional(), + skewProtectionBoundaryAt: z.number().int().optional(), + skewProtectionMaxAge: z.number().int().optional(), + skewProtectionAllowedDomains: z.array(z.string()).optional(), + skipGitConnectDuringLink: z.boolean().optional(), + sourceFilesOutsideRootDirectory: z.boolean().optional(), + enablePreviewFeedback: z.nullable(z.boolean()).optional(), + enableProductionFeedback: z.nullable(z.boolean()).optional(), + enableAffectedProjectsDeployments: z.boolean().optional(), + enableExternalRewriteCaching: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectStaticIps$outboundSchema).optional(), + tracing: z.nullable(z.lazy(() => Tracing$outboundSchema)).optional(), + gitComments: z.nullable( + z.lazy(() => UpdateProjectGitComments$outboundSchema), + ).optional(), + gitProviderOptions: z.nullable( + z.lazy(() => GitProviderOptions$outboundSchema), + ).optional(), + oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$outboundSchema) + .optional(), + passwordProtection: z.nullable( + z.lazy(() => UpdateProjectPasswordProtection$outboundSchema), + ).optional(), + passport: z.nullable(z.lazy(() => UpdateProjectPassport$outboundSchema)) + .optional(), + sandbox: z.lazy(() => UpdateProjectSandbox$outboundSchema).optional(), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectSsoProtection$outboundSchema), + ).optional(), + trustedIps: z.nullable(z.lazy(() => UpdateProjectTrustedIps$outboundSchema)) + .optional(), + trustedSources: z.nullable(z.lazy(() => TrustedSources$outboundSchema)) + .optional(), + deploymentPolicy: smartUnion([ + z.lazy(() => DeploymentPolicy1$outboundSchema), + z.string(), + ]).optional(), + optionsAllowlist: z.nullable( + z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema), + ).optional(), + connectConfigurations: z.nullable( + z.array(z.lazy(() => ConnectConfigurations1$outboundSchema)), + ).optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectDismissedToasts$outboundSchema), + ).optional(), + }) +); export function updateProjectRequestBodyToJSON( updateProjectRequestBody: UpdateProjectRequestBody, @@ -3302,16 +3433,18 @@ export const UpdateProjectRequest$outboundSchema: z.ZodType< UpdateProjectRequest$Outbound, z.ZodTypeDef, UpdateProjectRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateProjectRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateProjectRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateProjectRequestToJSON( updateProjectRequest: UpdateProjectRequest, @@ -3324,12 +3457,14 @@ export function updateProjectRequestToJSON( /** @internal */ export const UpdateProjectConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectConfiguredBy -> = z.nativeEnum(UpdateProjectConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectConfiguredBy)); /** @internal */ export const UpdateProjectProjectsResponseAliasAssigned$inboundSchema: z.ZodType = - smartUnion([types.number(), types.boolean()]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function updateProjectProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -3352,10 +3487,12 @@ export const UpdateProjectProjectsResponseAliasError$inboundSchema: z.ZodType< UpdateProjectProjectsResponseAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateProjectProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -3377,8 +3514,10 @@ export function updateProjectProjectsResponseAliasErrorFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ @@ -3387,11 +3526,13 @@ export const UpdateProjectProjectsResponse200BranchMatcher$inboundSchema: UpdateProjectProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + }) + ); export function updateProjectProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -3414,11 +3555,13 @@ export const UpdateProjectProjectsResponseBuilds$inboundSchema: z.ZodType< UpdateProjectProjectsResponseBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function updateProjectProjectsResponseBuildsFromJSON( jsonString: string, @@ -3433,26 +3576,32 @@ export function updateProjectProjectsResponseBuildsFromJSON( /** @internal */ export const UpdateProjectProjectsResponseChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseChecksConclusion) + ); /** @internal */ export const UpdateProjectProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseChecksState) + ); /** @internal */ export const UpdateProjectProjectsResponse200Creator$inboundSchema: z.ZodType< UpdateProjectProjectsResponse200Creator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function updateProjectProjectsResponse200CreatorFromJSON( jsonString: string, @@ -3476,29 +3625,31 @@ export const UpdateProjectProjectsResponseOidcTokenClaims$inboundSchema: UpdateProjectProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function updateProjectProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -3519,24 +3670,32 @@ export function updateProjectProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const UpdateProjectProjectsResponsePlan$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponsePlan -> = z.nativeEnum(UpdateProjectProjectsResponsePlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponsePlan) +); /** @internal */ export const UpdateProjectProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseReadyState) + ); /** @internal */ export const UpdateProjectProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseReadySubstate) + ); /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -3544,62 +3703,64 @@ export const UpdateProjectDeployment$inboundSchema: z.ZodType< UpdateProjectDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => UpdateProjectProjectsResponse200BranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => UpdateProjectProjectsResponseBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - UpdateProjectProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - UpdateProjectProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateProjectProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UpdateProjectProjectsResponseOidcTokenClaims$inboundSchema), - ), - plan: UpdateProjectProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateProjectProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - UpdateProjectProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectProjectsResponseAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => UpdateProjectProjectsResponse200BranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => UpdateProjectProjectsResponseBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + UpdateProjectProjectsResponseChecksConclusion$inboundSchema, + ), + checksState: types.optional( + UpdateProjectProjectsResponseChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => UpdateProjectProjectsResponse200Creator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => UpdateProjectProjectsResponseOidcTokenClaims$inboundSchema), + ), + plan: UpdateProjectProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateProjectProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + UpdateProjectProjectsResponseReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateProjectDeploymentFromJSON( jsonString: string, @@ -3614,32 +3775,35 @@ export function updateProjectDeploymentFromJSON( /** @internal */ export const UpdateProjectEnvironment$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnvironment -> = z.nativeEnum(UpdateProjectEnvironment); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectEnvironment)); /** @internal */ export const UpdateProjectTarget$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectTarget -> = z.nativeEnum(UpdateProjectTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectTarget)); /** @internal */ export const UpdateProjectAlias$inboundSchema: z.ZodType< UpdateProjectAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(UpdateProjectConfiguredBy$inboundSchema).optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => UpdateProjectDeployment$inboundSchema), - ), - domain: types.string(), - environment: UpdateProjectEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: UpdateProjectTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(UpdateProjectConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => UpdateProjectDeployment$inboundSchema), + ), + domain: types.string(), + environment: UpdateProjectEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: UpdateProjectTarget$inboundSchema, + }) +); export function updateProjectAliasFromJSON( jsonString: string, @@ -3656,15 +3820,17 @@ export const UpdateProjectAnalytics$inboundSchema: z.ZodType< UpdateProjectAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function updateProjectAnalyticsFromJSON( jsonString: string, @@ -3681,9 +3847,11 @@ export const UpdateProjectBlobs$inboundSchema: z.ZodType< UpdateProjectBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function updateProjectBlobsFromJSON( jsonString: string, @@ -3700,10 +3868,12 @@ export const UpdateProjectAws$inboundSchema: z.ZodType< UpdateProjectAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function updateProjectAwsFromJSON( jsonString: string, @@ -3718,14 +3888,16 @@ export function updateProjectAwsFromJSON( /** @internal */ export const UpdateProjectEnvId2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnvId2 -> = z.nativeEnum(UpdateProjectEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectEnvId2)); /** @internal */ export const UpdateProjectEnvId$inboundSchema: z.ZodType< UpdateProjectEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UpdateProjectEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UpdateProjectEnvId2$inboundSchema]) +); export function updateProjectEnvIdFromJSON( jsonString: string, @@ -3742,16 +3914,18 @@ export const UpdateProjectConnectConfigurations$inboundSchema: z.ZodType< UpdateProjectConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => UpdateProjectAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UpdateProjectEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => UpdateProjectAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), UpdateProjectEnvId2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function updateProjectConnectConfigurationsFromJSON( jsonString: string, @@ -3769,9 +3943,11 @@ export const UpdateProjectCreator5$inboundSchema: z.ZodType< UpdateProjectCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function updateProjectCreator5FromJSON( jsonString: string, @@ -3788,10 +3964,12 @@ export const UpdateProjectCreatorIntegration$inboundSchema: z.ZodType< UpdateProjectCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateProjectCreatorIntegrationFromJSON( jsonString: string, @@ -3808,10 +3986,12 @@ export const UpdateProjectCreator4$inboundSchema: z.ZodType< UpdateProjectCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UpdateProjectCreatorIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => UpdateProjectCreatorIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function updateProjectCreator4FromJSON( jsonString: string, @@ -3828,10 +4008,12 @@ export const UpdateProjectCreatorApp$inboundSchema: z.ZodType< UpdateProjectCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateProjectCreatorAppFromJSON( jsonString: string, @@ -3848,10 +4030,12 @@ export const UpdateProjectCreator3$inboundSchema: z.ZodType< UpdateProjectCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateProjectCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateProjectCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateProjectCreator3FromJSON( jsonString: string, @@ -3868,9 +4052,11 @@ export const UpdateProjectCreatorProject$inboundSchema: z.ZodType< UpdateProjectCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateProjectCreatorProjectFromJSON( jsonString: string, @@ -3887,10 +4073,12 @@ export const UpdateProjectCreator2$inboundSchema: z.ZodType< UpdateProjectCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UpdateProjectCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UpdateProjectCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function updateProjectCreator2FromJSON( jsonString: string, @@ -3907,10 +4095,12 @@ export const UpdateProjectViaIntegration$inboundSchema: z.ZodType< UpdateProjectViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateProjectViaIntegrationFromJSON( jsonString: string, @@ -3927,10 +4117,12 @@ export const UpdateProjectVia2$inboundSchema: z.ZodType< UpdateProjectVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UpdateProjectViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => UpdateProjectViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function updateProjectVia2FromJSON( jsonString: string, @@ -3947,10 +4139,12 @@ export const UpdateProjectViaApp$inboundSchema: z.ZodType< UpdateProjectViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateProjectViaAppFromJSON( jsonString: string, @@ -3967,10 +4161,12 @@ export const UpdateProjectVia1$inboundSchema: z.ZodType< UpdateProjectVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateProjectViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateProjectViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateProjectVia1FromJSON( jsonString: string, @@ -3987,10 +4183,12 @@ export const UpdateProjectCreatorVia$inboundSchema: z.ZodType< UpdateProjectCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectVia1$inboundSchema), - z.lazy(() => UpdateProjectVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectVia1$inboundSchema), + z.lazy(() => UpdateProjectVia2$inboundSchema), + ]) +); export function updateProjectCreatorViaFromJSON( jsonString: string, @@ -4007,9 +4205,11 @@ export const UpdateProjectCreatorUser$inboundSchema: z.ZodType< UpdateProjectCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateProjectCreatorUserFromJSON( jsonString: string, @@ -4026,16 +4226,18 @@ export const UpdateProjectCreator1$inboundSchema: z.ZodType< UpdateProjectCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UpdateProjectVia1$inboundSchema), z.lazy(() => UpdateProjectVia2$inboundSchema), - ]), - ), - user: z.lazy(() => UpdateProjectCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + UpdateProjectCreatorUser$inboundSchema + ), + }) +); export function updateProjectCreator1FromJSON( jsonString: string, @@ -4052,13 +4254,15 @@ export const UpdateProjectCreator$inboundSchema: z.ZodType< UpdateProjectCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectCreator1$inboundSchema), - z.lazy(() => UpdateProjectCreator2$inboundSchema), - z.lazy(() => UpdateProjectCreator3$inboundSchema), - z.lazy(() => UpdateProjectCreator4$inboundSchema), - z.lazy(() => UpdateProjectCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectCreator1$inboundSchema), + z.lazy(() => UpdateProjectCreator2$inboundSchema), + z.lazy(() => UpdateProjectCreator3$inboundSchema), + z.lazy(() => UpdateProjectCreator4$inboundSchema), + z.lazy(() => UpdateProjectCreator5$inboundSchema), + ]) +); export function updateProjectCreatorFromJSON( jsonString: string, @@ -4073,21 +4277,23 @@ export function updateProjectCreatorFromJSON( /** @internal */ export const UpdateProjectSource$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectSource -> = z.nativeEnum(UpdateProjectSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectSource)); /** @internal */ export const UpdateProjectDefinitions$inboundSchema: z.ZodType< UpdateProjectDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(UpdateProjectSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(UpdateProjectSource$inboundSchema), + }) +); export function updateProjectDefinitionsFromJSON( jsonString: string, @@ -4104,13 +4310,15 @@ export const UpdateProjectCrons$inboundSchema: z.ZodType< UpdateProjectCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array(z.lazy(() => UpdateProjectDefinitions$inboundSchema)), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array(z.lazy(() => UpdateProjectDefinitions$inboundSchema)), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function updateProjectCronsFromJSON( jsonString: string, @@ -4126,8 +4334,10 @@ export function updateProjectCronsFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -4135,11 +4345,13 @@ export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType< UpdateProjectBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function updateProjectBranchMatcherFromJSON( jsonString: string, @@ -4156,12 +4368,14 @@ export const UpdateProjectVerification$inboundSchema: z.ZodType< UpdateProjectVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function updateProjectVerificationFromJSON( jsonString: string, @@ -4178,21 +4392,23 @@ export const UpdateProjectDomains$inboundSchema: z.ZodType< UpdateProjectDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => UpdateProjectVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => UpdateProjectVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function updateProjectDomainsFromJSON( jsonString: string, @@ -4207,28 +4423,30 @@ export function updateProjectDomainsFromJSON( /** @internal */ export const UpdateProjectType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectType -> = z.nativeEnum(UpdateProjectType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectType)); /** @internal */ export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType< UpdateProjectCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => UpdateProjectBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: UpdateProjectType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => UpdateProjectBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: UpdateProjectType$inboundSchema, + updatedAt: types.number(), + }) +); export function updateProjectCustomEnvironmentsFromJSON( jsonString: string, @@ -4245,11 +4463,13 @@ export const UpdateProjectDataCache$inboundSchema: z.ZodType< UpdateProjectDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function updateProjectDataCacheFromJSON( jsonString: string, @@ -4263,13 +4483,17 @@ export function updateProjectDataCacheFromJSON( /** @internal */ export const UpdateProjectProjectsBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsBuildMachineElasticReason) + ); /** @internal */ export const UpdateProjectProjectsDirection$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsDirection -> = z.nativeEnum(UpdateProjectProjectsDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsDirection) +); /** @internal */ export const UpdateProjectProjectsBuildMachineElasticTransition$inboundSchema: @@ -4277,11 +4501,13 @@ export const UpdateProjectProjectsBuildMachineElasticTransition$inboundSchema: UpdateProjectProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UpdateProjectProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UpdateProjectProjectsDirection$inboundSchema, + }) + ); export function updateProjectProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4301,30 +4527,37 @@ export function updateProjectProjectsBuildMachineElasticTransitionFromJSON( /** @internal */ export const UpdateProjectProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsBuildMachineSelection) + ); /** @internal */ export const UpdateProjectProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsBuildMachineType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsBuildMachineType) + ); /** @internal */ export const UpdateProjectProjectsConfiguration$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsConfiguration -> = z.nativeEnum(UpdateProjectProjectsConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsConfiguration) +); /** @internal */ export const UpdateProjectProjectsBuildQueue$inboundSchema: z.ZodType< UpdateProjectProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - UpdateProjectProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UpdateProjectProjectsConfiguration$inboundSchema, + ), + }) +); export function updateProjectProjectsBuildQueueFromJSON( jsonString: string, @@ -4338,19 +4571,23 @@ export function updateProjectProjectsBuildQueueFromJSON( /** @internal */ export const UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const UpdateProjectElasticBuildMachine4$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachine4FromJSON( jsonString: string, @@ -4367,11 +4604,13 @@ export const UpdateProjectElasticBuildMachine3$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachine3FromJSON( jsonString: string, @@ -4388,11 +4627,13 @@ export const UpdateProjectElasticBuildMachine2$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachine2FromJSON( jsonString: string, @@ -4409,11 +4650,13 @@ export const UpdateProjectElasticBuildMachine1$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachine1FromJSON( jsonString: string, @@ -4430,12 +4673,14 @@ export const UpdateProjectElasticBuildMachine$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachine2$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachine3$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectElasticBuildMachine1$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachine3$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachine4$inboundSchema), + ]) +); export function updateProjectElasticBuildMachineFromJSON( jsonString: string, @@ -4452,44 +4697,44 @@ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType< UpdateProjectDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UpdateProjectProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UpdateProjectProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UpdateProjectProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UpdateProjectProjectsBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + UpdateProjectProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UpdateProjectProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UpdateProjectProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UpdateProjectProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UpdateProjectProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UpdateProjectElasticBuildMachine1$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachine2$inboundSchema), + z.lazy(() => + UpdateProjectElasticBuildMachine2$inboundSchema + ), z.lazy(() => UpdateProjectElasticBuildMachine3$inboundSchema), z.lazy(() => UpdateProjectElasticBuildMachine4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function updateProjectDefaultResourceConfigFromJSON( jsonString: string, @@ -4507,13 +4752,15 @@ export const UpdateProjectDeploymentExpiration$inboundSchema: z.ZodType< UpdateProjectDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function updateProjectDeploymentExpirationFromJSON( jsonString: string, @@ -4531,10 +4778,12 @@ export const UpdateProjectEnvironmentsProjectsResponse2002$inboundSchema: UpdateProjectEnvironmentsProjectsResponse2002, z.ZodTypeDef, unknown - > = z.object({ - environmentId: types.string(), - type: types.literal("custom"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) + ); export function updateProjectEnvironmentsProjectsResponse2002FromJSON( jsonString: string, @@ -4554,16 +4803,21 @@ export function updateProjectEnvironmentsProjectsResponse2002FromJSON( /** @internal */ export const UpdateProjectEnvironmentsProjectsResponse200Target$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectEnvironmentsProjectsResponse200Target); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectEnvironmentsProjectsResponse200Target) + ); /** @internal */ export const UpdateProjectEnvironmentsProjectsResponse1$inboundSchema: z.ZodType = - z.object({ - target: UpdateProjectEnvironmentsProjectsResponse200Target$inboundSchema, - type: types.literal("system"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + target: + UpdateProjectEnvironmentsProjectsResponse200Target$inboundSchema, + type: types.literal("system"), + }) + ); export function updateProjectEnvironmentsProjectsResponse1FromJSON( jsonString: string, @@ -4586,10 +4840,12 @@ export const UpdateProjectEnvironments$inboundSchema: z.ZodType< UpdateProjectEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectEnvironmentsProjectsResponse1$inboundSchema), - z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2002$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectEnvironmentsProjectsResponse1$inboundSchema), + z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2002$inboundSchema), + ]) +); export function updateProjectEnvironmentsFromJSON( jsonString: string, diff --git a/src/models/updateprojectprincipalvia.ts b/src/models/updateprojectprincipalvia.ts index e61321f64f..48da740c39 100644 --- a/src/models/updateprojectprincipalvia.ts +++ b/src/models/updateprojectprincipalvia.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2699,18 +2699,20 @@ export type UpdateProjectPrincipalVia = /** @internal */ export const UpdateProjectSources$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectSources -> = z.nativeEnum(UpdateProjectSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectSources)); /** @internal */ export const UpdateProjectDeploymentSources$inboundSchema: z.ZodType< UpdateProjectDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array(UpdateProjectEnvironments$inboundSchema), - sources: z.array(UpdateProjectSources$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(UpdateProjectEnvironments$inboundSchema), + sources: z.array(UpdateProjectSources$inboundSchema), + }) +); export function updateProjectDeploymentSourcesFromJSON( jsonString: string, @@ -2725,10 +2727,12 @@ export function updateProjectDeploymentSourcesFromJSON( /** @internal */ export const UpdateProjectEnvironmentsProjectsResponse2$inboundSchema: z.ZodType = - z.object({ - environmentId: types.string(), - type: types.literal("custom"), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) + ); export function updateProjectEnvironmentsProjectsResponse2FromJSON( jsonString: string, @@ -2748,8 +2752,10 @@ export function updateProjectEnvironmentsProjectsResponse2FromJSON( /** @internal */ export const UpdateProjectEnvironmentsProjectsResponseTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectEnvironmentsProjectsResponseTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectEnvironmentsProjectsResponseTarget) + ); /** @internal */ export const UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema: @@ -2757,10 +2763,12 @@ export const UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema: UpdateProjectEnvironmentsProjectsResponse2001, z.ZodTypeDef, unknown - > = z.object({ - target: UpdateProjectEnvironmentsProjectsResponseTarget$inboundSchema, - type: types.literal("system"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UpdateProjectEnvironmentsProjectsResponseTarget$inboundSchema, + type: types.literal("system"), + }) + ); export function updateProjectEnvironmentsProjectsResponse2001FromJSON( jsonString: string, @@ -2783,10 +2791,12 @@ export const UpdateProjectProjectsEnvironments$inboundSchema: z.ZodType< UpdateProjectProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema), - z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema), + z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2$inboundSchema), + ]) +); export function updateProjectProjectsEnvironmentsFromJSON( jsonString: string, @@ -2803,11 +2813,13 @@ export const UpdateProjectSourcesProjects2$inboundSchema: z.ZodType< UpdateProjectSourcesProjects2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function updateProjectSourcesProjects2FromJSON( jsonString: string, @@ -2821,19 +2833,23 @@ export function updateProjectSourcesProjects2FromJSON( /** @internal */ export const UpdateProjectSourcesProjectsResponse200Provider$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectSourcesProjectsResponse200Provider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectSourcesProjectsResponse200Provider) + ); /** @internal */ export const UpdateProjectSourcesProjects1$inboundSchema: z.ZodType< UpdateProjectSourcesProjects1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: UpdateProjectSourcesProjectsResponse200Provider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: UpdateProjectSourcesProjectsResponse200Provider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function updateProjectSourcesProjects1FromJSON( jsonString: string, @@ -2850,15 +2866,17 @@ export const UpdateProjectProjectsSources$inboundSchema: z.ZodType< UpdateProjectProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectSourcesProjects1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => UpdateProjectSourcesProjects1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => UpdateProjectSourcesProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectSourcesProjects1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => UpdateProjectSourcesProjects1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => UpdateProjectSourcesProjects2$inboundSchema), + ]) +); export function updateProjectProjectsSourcesFromJSON( jsonString: string, @@ -2875,16 +2893,14 @@ export const UpdateProjectGitSources$inboundSchema: z.ZodType< UpdateProjectGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema), z.lazy(() => UpdateProjectEnvironmentsProjectsResponse2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => UpdateProjectSourcesProjects1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -2892,9 +2908,9 @@ export const UpdateProjectGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => UpdateProjectSourcesProjects2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function updateProjectGitSourcesFromJSON( jsonString: string, @@ -2911,14 +2927,16 @@ export const UpdateProjectProjectsDeploymentPolicy$inboundSchema: z.ZodType< UpdateProjectProjectsDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => UpdateProjectDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => UpdateProjectGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => UpdateProjectDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => UpdateProjectGitSources$inboundSchema)), + ).optional(), + }) +); export function updateProjectProjectsDeploymentPolicyFromJSON( jsonString: string, @@ -2934,14 +2952,18 @@ export function updateProjectProjectsDeploymentPolicyFromJSON( /** @internal */ export const UpdateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsAction -> = z.nativeEnum(UpdateProjectProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsAction) +); /** @internal */ export const UpdateProjectValueCurrentValue$inboundSchema: z.ZodType< UpdateProjectValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function updateProjectValueCurrentValueFromJSON( jsonString: string, @@ -2958,7 +2980,9 @@ export const UpdateProjectValuePreviousValue$inboundSchema: z.ZodType< UpdateProjectValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function updateProjectValuePreviousValueFromJSON( jsonString: string, @@ -2975,10 +2999,16 @@ export const UpdateProjectValue3$inboundSchema: z.ZodType< UpdateProjectValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function updateProjectValue3FromJSON( jsonString: string, @@ -2995,12 +3025,14 @@ export const UpdateProjectValue$inboundSchema: z.ZodType< UpdateProjectValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function updateProjectValueFromJSON( jsonString: string, @@ -3017,19 +3049,19 @@ export const UpdateProjectProjectsDismissedToasts$inboundSchema: z.ZodType< UpdateProjectProjectsDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: UpdateProjectProjectsAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateProjectProjectsAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => UpdateProjectValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function updateProjectProjectsDismissedToastsFromJSON( jsonString: string, @@ -3047,10 +3079,12 @@ export const UpdateProjectContentHint17$inboundSchema: z.ZodType< UpdateProjectContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function updateProjectContentHint17FromJSON( jsonString: string, @@ -3067,13 +3101,15 @@ export const UpdateProjectContentHint16$inboundSchema: z.ZodType< UpdateProjectContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function updateProjectContentHint16FromJSON( jsonString: string, @@ -3090,10 +3126,12 @@ export const UpdateProjectContentHint15$inboundSchema: z.ZodType< UpdateProjectContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function updateProjectContentHint15FromJSON( jsonString: string, @@ -3110,10 +3148,12 @@ export const UpdateProjectContentHint14$inboundSchema: z.ZodType< UpdateProjectContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function updateProjectContentHint14FromJSON( jsonString: string, @@ -3130,10 +3170,12 @@ export const UpdateProjectContentHint13$inboundSchema: z.ZodType< UpdateProjectContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function updateProjectContentHint13FromJSON( jsonString: string, @@ -3150,10 +3192,12 @@ export const UpdateProjectContentHint12$inboundSchema: z.ZodType< UpdateProjectContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function updateProjectContentHint12FromJSON( jsonString: string, @@ -3170,10 +3214,12 @@ export const UpdateProjectContentHint11$inboundSchema: z.ZodType< UpdateProjectContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function updateProjectContentHint11FromJSON( jsonString: string, @@ -3190,10 +3236,12 @@ export const UpdateProjectContentHint10$inboundSchema: z.ZodType< UpdateProjectContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function updateProjectContentHint10FromJSON( jsonString: string, @@ -3210,10 +3258,12 @@ export const UpdateProjectContentHint9$inboundSchema: z.ZodType< UpdateProjectContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function updateProjectContentHint9FromJSON( jsonString: string, @@ -3230,10 +3280,12 @@ export const UpdateProjectContentHint8$inboundSchema: z.ZodType< UpdateProjectContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function updateProjectContentHint8FromJSON( jsonString: string, @@ -3250,10 +3302,12 @@ export const UpdateProjectContentHint7$inboundSchema: z.ZodType< UpdateProjectContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function updateProjectContentHint7FromJSON( jsonString: string, @@ -3270,10 +3324,12 @@ export const UpdateProjectContentHint6$inboundSchema: z.ZodType< UpdateProjectContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function updateProjectContentHint6FromJSON( jsonString: string, @@ -3290,10 +3346,12 @@ export const UpdateProjectContentHint5$inboundSchema: z.ZodType< UpdateProjectContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function updateProjectContentHint5FromJSON( jsonString: string, @@ -3310,10 +3368,12 @@ export const UpdateProjectContentHint4$inboundSchema: z.ZodType< UpdateProjectContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function updateProjectContentHint4FromJSON( jsonString: string, @@ -3330,10 +3390,12 @@ export const UpdateProjectContentHint3$inboundSchema: z.ZodType< UpdateProjectContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function updateProjectContentHint3FromJSON( jsonString: string, @@ -3350,10 +3412,12 @@ export const UpdateProjectContentHint2$inboundSchema: z.ZodType< UpdateProjectContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function updateProjectContentHint2FromJSON( jsonString: string, @@ -3370,10 +3434,12 @@ export const UpdateProjectContentHint1$inboundSchema: z.ZodType< UpdateProjectContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function updateProjectContentHint1FromJSON( jsonString: string, @@ -3390,25 +3456,27 @@ export const UpdateProjectContentHint$inboundSchema: z.ZodType< UpdateProjectContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectContentHint1$inboundSchema), - z.lazy(() => UpdateProjectContentHint2$inboundSchema), - z.lazy(() => UpdateProjectContentHint3$inboundSchema), - z.lazy(() => UpdateProjectContentHint4$inboundSchema), - z.lazy(() => UpdateProjectContentHint5$inboundSchema), - z.lazy(() => UpdateProjectContentHint6$inboundSchema), - z.lazy(() => UpdateProjectContentHint7$inboundSchema), - z.lazy(() => UpdateProjectContentHint8$inboundSchema), - z.lazy(() => UpdateProjectContentHint9$inboundSchema), - z.lazy(() => UpdateProjectContentHint10$inboundSchema), - z.lazy(() => UpdateProjectContentHint11$inboundSchema), - z.lazy(() => UpdateProjectContentHint12$inboundSchema), - z.lazy(() => UpdateProjectContentHint13$inboundSchema), - z.lazy(() => UpdateProjectContentHint14$inboundSchema), - z.lazy(() => UpdateProjectContentHint15$inboundSchema), - z.lazy(() => UpdateProjectContentHint16$inboundSchema), - z.lazy(() => UpdateProjectContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectContentHint1$inboundSchema), + z.lazy(() => UpdateProjectContentHint2$inboundSchema), + z.lazy(() => UpdateProjectContentHint3$inboundSchema), + z.lazy(() => UpdateProjectContentHint4$inboundSchema), + z.lazy(() => UpdateProjectContentHint5$inboundSchema), + z.lazy(() => UpdateProjectContentHint6$inboundSchema), + z.lazy(() => UpdateProjectContentHint7$inboundSchema), + z.lazy(() => UpdateProjectContentHint8$inboundSchema), + z.lazy(() => UpdateProjectContentHint9$inboundSchema), + z.lazy(() => UpdateProjectContentHint10$inboundSchema), + z.lazy(() => UpdateProjectContentHint11$inboundSchema), + z.lazy(() => UpdateProjectContentHint12$inboundSchema), + z.lazy(() => UpdateProjectContentHint13$inboundSchema), + z.lazy(() => UpdateProjectContentHint14$inboundSchema), + z.lazy(() => UpdateProjectContentHint15$inboundSchema), + z.lazy(() => UpdateProjectContentHint16$inboundSchema), + z.lazy(() => UpdateProjectContentHint17$inboundSchema), + ]) +); export function updateProjectContentHintFromJSON( jsonString: string, @@ -3424,8 +3492,10 @@ export function updateProjectContentHintFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -3433,11 +3503,13 @@ export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType< UpdateProjectInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function updateProjectInternalContentHintFromJSON( jsonString: string, @@ -3452,14 +3524,16 @@ export function updateProjectInternalContentHintFromJSON( /** @internal */ export const UpdateProjectTarget2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectTarget2 -> = z.nativeEnum(UpdateProjectTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectTarget2)); /** @internal */ export const UpdateProjectProjectsTarget$inboundSchema: z.ZodType< UpdateProjectProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([z.array(types.string()), UpdateProjectTarget2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), UpdateProjectTarget2$inboundSchema]) +); export function updateProjectProjectsTargetFromJSON( jsonString: string, @@ -3474,23 +3548,23 @@ export function updateProjectProjectsTargetFromJSON( /** @internal */ export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsType -> = z.nativeEnum(UpdateProjectProjectsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectProjectsType)); /** @internal */ export const UpdateProjectVisibility$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectVisibility -> = z.nativeEnum(UpdateProjectVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectVisibility)); /** @internal */ export const UpdateProjectProjectsEnv$inboundSchema: z.ZodType< UpdateProjectProjectsEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => UpdateProjectContentHint1$inboundSchema), z.lazy(() => UpdateProjectContentHint2$inboundSchema), z.lazy(() => UpdateProjectContentHint3$inboundSchema), @@ -3508,32 +3582,32 @@ export const UpdateProjectProjectsEnv$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectContentHint15$inboundSchema), z.lazy(() => UpdateProjectContentHint16$inboundSchema), z.lazy(() => UpdateProjectContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => UpdateProjectInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([z.array(types.string()), UpdateProjectTarget2$inboundSchema]), - ), - type: UpdateProjectProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(UpdateProjectVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + UpdateProjectInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([z.array(types.string()), UpdateProjectTarget2$inboundSchema]), + ), + type: UpdateProjectProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(UpdateProjectVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function updateProjectProjectsEnvFromJSON( jsonString: string, @@ -3550,10 +3624,12 @@ export const UpdateProjectExpiration2$inboundSchema: z.ZodType< UpdateProjectExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function updateProjectExpiration2FromJSON( jsonString: string, @@ -3570,9 +3646,11 @@ export const UpdateProjectExpiration1$inboundSchema: z.ZodType< UpdateProjectExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function updateProjectExpiration1FromJSON( jsonString: string, @@ -3589,10 +3667,12 @@ export const UpdateProjectExpiration$inboundSchema: z.ZodType< UpdateProjectExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectExpiration2$inboundSchema), - z.lazy(() => UpdateProjectExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectExpiration2$inboundSchema), + z.lazy(() => UpdateProjectExpiration1$inboundSchema), + ]) +); export function updateProjectExpirationFromJSON( jsonString: string, @@ -3609,9 +3689,11 @@ export const UpdateProjectFeatures$inboundSchema: z.ZodType< UpdateProjectFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function updateProjectFeaturesFromJSON( jsonString: string, @@ -3626,17 +3708,21 @@ export function updateProjectFeaturesFromJSON( /** @internal */ export const UpdateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsFramework -> = z.nativeEnum(UpdateProjectProjectsFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsFramework) +); /** @internal */ export const UpdateProjectProjectsGitComments$inboundSchema: z.ZodType< UpdateProjectProjectsGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function updateProjectProjectsGitCommentsFromJSON( jsonString: string, @@ -3653,10 +3739,12 @@ export const UpdateProjectConsolidatedGitCommitStatus$inboundSchema: z.ZodType< UpdateProjectConsolidatedGitCommitStatus, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) +); export function updateProjectConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3676,24 +3764,27 @@ export function updateProjectConsolidatedGitCommitStatusFromJSON( /** @internal */ export const UpdateProjectProjectsCreateDeployments$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsCreateDeployments, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsCreateDeployments) + ); /** @internal */ export const UpdateProjectGitProviderOptions$inboundSchema: z.ZodType< UpdateProjectGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => UpdateProjectConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: UpdateProjectProjectsCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => UpdateProjectConsolidatedGitCommitStatus$inboundSchema), + ), + createDeployments: UpdateProjectProjectsCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function updateProjectGitProviderOptionsFromJSON( jsonString: string, @@ -3710,9 +3801,11 @@ export const UpdateProjectHasProjectsValue$inboundSchema: z.ZodType< UpdateProjectHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function updateProjectHasProjectsValueFromJSON( jsonString: string, @@ -3729,10 +3822,12 @@ export const UpdateProjectHas2$inboundSchema: z.ZodType< UpdateProjectHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => UpdateProjectHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => UpdateProjectHasProjectsValue$inboundSchema), + }) +); export function updateProjectHas2FromJSON( jsonString: string, @@ -3747,16 +3842,18 @@ export function updateProjectHas2FromJSON( /** @internal */ export const UpdateProjectHasKey$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasKey -> = z.nativeEnum(UpdateProjectHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectHasKey)); /** @internal */ export const UpdateProjectHasValue$inboundSchema: z.ZodType< UpdateProjectHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function updateProjectHasValueFromJSON( jsonString: string, @@ -3773,11 +3870,13 @@ export const UpdateProjectHas1$inboundSchema: z.ZodType< UpdateProjectHas1, z.ZodTypeDef, unknown -> = z.object({ - key: UpdateProjectHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => UpdateProjectHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: UpdateProjectHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => UpdateProjectHasValue$inboundSchema), + }) +); export function updateProjectHas1FromJSON( jsonString: string, @@ -3794,10 +3893,12 @@ export const UpdateProjectInternalRoutesHas$inboundSchema: z.ZodType< UpdateProjectInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectHas1$inboundSchema), - z.lazy(() => UpdateProjectHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectHas1$inboundSchema), + z.lazy(() => UpdateProjectHas2$inboundSchema), + ]) +); export function updateProjectInternalRoutesHasFromJSON( jsonString: string, @@ -3812,16 +3913,20 @@ export function updateProjectInternalRoutesHasFromJSON( /** @internal */ export const UpdateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectInternalRoutesAction -> = z.nativeEnum(UpdateProjectInternalRoutesAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectInternalRoutesAction) +); /** @internal */ export const UpdateProjectInternalRoutesMitigate$inboundSchema: z.ZodType< UpdateProjectInternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: UpdateProjectInternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateProjectInternalRoutesAction$inboundSchema, + }) +); export function updateProjectInternalRoutesMitigateFromJSON( jsonString: string, @@ -3839,16 +3944,18 @@ export const UpdateProjectInternalRoutes2$inboundSchema: z.ZodType< UpdateProjectInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => UpdateProjectHas1$inboundSchema), z.lazy(() => UpdateProjectHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => UpdateProjectInternalRoutesMitigate$inboundSchema), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + UpdateProjectInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function updateProjectInternalRoutes2FromJSON( jsonString: string, @@ -3865,11 +3972,13 @@ export const UpdateProjectInternalRoutes1$inboundSchema: z.ZodType< UpdateProjectInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function updateProjectInternalRoutes1FromJSON( jsonString: string, @@ -3886,10 +3995,12 @@ export const UpdateProjectInternalRoutes$inboundSchema: z.ZodType< UpdateProjectInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectInternalRoutes1$inboundSchema), - z.lazy(() => UpdateProjectInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectInternalRoutes1$inboundSchema), + z.lazy(() => UpdateProjectInternalRoutes2$inboundSchema), + ]) +); export function updateProjectInternalRoutesFromJSON( jsonString: string, @@ -3906,11 +4017,13 @@ export const UpdateProjectIpBuckets$inboundSchema: z.ZodType< UpdateProjectIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function updateProjectIpBucketsFromJSON( jsonString: string, @@ -3927,9 +4040,11 @@ export const UpdateProjectFlagDefinitionsPresent$inboundSchema: z.ZodType< UpdateProjectFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateProjectFlagDefinitionsPresentFromJSON( jsonString: string, @@ -3947,9 +4062,11 @@ export const UpdateProjectHealthCheck$inboundSchema: z.ZodType< UpdateProjectHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateProjectHealthCheckFromJSON( jsonString: string, @@ -3966,9 +4083,11 @@ export const UpdateProjectLint$inboundSchema: z.ZodType< UpdateProjectLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateProjectLintFromJSON( jsonString: string, @@ -3985,9 +4104,11 @@ export const UpdateProjectMfeConfigPresent$inboundSchema: z.ZodType< UpdateProjectMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateProjectMfeConfigPresentFromJSON( jsonString: string, @@ -4004,9 +4125,11 @@ export const UpdateProjectTypecheck$inboundSchema: z.ZodType< UpdateProjectTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function updateProjectTypecheckFromJSON( jsonString: string, @@ -4023,25 +4146,29 @@ export const UpdateProjectJobs$inboundSchema: z.ZodType< UpdateProjectJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => UpdateProjectFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => UpdateProjectHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => UpdateProjectLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => UpdateProjectMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional(z.lazy(() => UpdateProjectTypecheck$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => UpdateProjectFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => UpdateProjectHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => UpdateProjectLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => UpdateProjectMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => UpdateProjectTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function updateProjectJobsFromJSON( jsonString: string, @@ -4056,26 +4183,30 @@ export function updateProjectJobsFromJSON( /** @internal */ export const UpdateProjectJobStatus$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectJobStatus -> = z.nativeEnum(UpdateProjectJobStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectJobStatus)); /** @internal */ export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseType -> = z.nativeEnum(UpdateProjectProjectsResponseType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseType) +); /** @internal */ export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType< UpdateProjectLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: UpdateProjectJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: UpdateProjectProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: UpdateProjectJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: UpdateProjectProjectsResponseType$inboundSchema, + }) +); export function updateProjectLastAliasRequestFromJSON( jsonString: string, @@ -4092,7 +4223,7 @@ export const UpdateProjectLastRollbackTarget$inboundSchema: z.ZodType< UpdateProjectLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function updateProjectLastRollbackTargetFromJSON( jsonString: string, @@ -4109,7 +4240,9 @@ export const UpdateProjectAliasAssigned$inboundSchema: z.ZodType< UpdateProjectAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function updateProjectAliasAssignedFromJSON( jsonString: string, @@ -4126,10 +4259,12 @@ export const UpdateProjectAliasError$inboundSchema: z.ZodType< UpdateProjectAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateProjectAliasErrorFromJSON( jsonString: string, @@ -4145,8 +4280,10 @@ export function updateProjectAliasErrorFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -4154,11 +4291,13 @@ export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< UpdateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function updateProjectProjectsBranchMatcherFromJSON( jsonString: string, @@ -4176,11 +4315,13 @@ export const UpdateProjectBuilds$inboundSchema: z.ZodType< UpdateProjectBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function updateProjectBuildsFromJSON( jsonString: string, @@ -4195,25 +4336,29 @@ export function updateProjectBuildsFromJSON( /** @internal */ export const UpdateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectChecksConclusion -> = z.nativeEnum(UpdateProjectChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectChecksConclusion) +); /** @internal */ export const UpdateProjectChecksState$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectChecksState -> = z.nativeEnum(UpdateProjectChecksState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectChecksState)); /** @internal */ export const UpdateProjectProjectsCreator$inboundSchema: z.ZodType< UpdateProjectProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function updateProjectProjectsCreatorFromJSON( jsonString: string, @@ -4230,29 +4375,31 @@ export const UpdateProjectOidcTokenClaims$inboundSchema: z.ZodType< UpdateProjectOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function updateProjectOidcTokenClaimsFromJSON( jsonString: string, @@ -4267,77 +4414,82 @@ export function updateProjectOidcTokenClaimsFromJSON( /** @internal */ export const UpdateProjectPlan$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectPlan -> = z.nativeEnum(UpdateProjectPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectPlan)); /** @internal */ export const UpdateProjectReadyState$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectReadyState -> = z.nativeEnum(UpdateProjectReadyState); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectReadyState)); /** @internal */ export const UpdateProjectReadySubstate$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectReadySubstate -> = z.nativeEnum(UpdateProjectReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectReadySubstate)); /** @internal */ export const UpdateProjectProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponse200Type, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200Type) + ); /** @internal */ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType< UpdateProjectLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$inboundSchema)) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)), - ), - checksConclusion: types.optional(UpdateProjectChecksConclusion$inboundSchema), - checksState: types.optional(UpdateProjectChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateProjectProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UpdateProjectOidcTokenClaims$inboundSchema), - ), - plan: UpdateProjectPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateProjectReadyState$inboundSchema, - readySubstate: types.optional(UpdateProjectReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: UpdateProjectProjectsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable(z.lazy(() => UpdateProjectAliasError$inboundSchema)) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + UpdateProjectChecksConclusion$inboundSchema, + ), + checksState: types.optional(UpdateProjectChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => UpdateProjectProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => UpdateProjectOidcTokenClaims$inboundSchema), + ), + plan: UpdateProjectPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateProjectReadyState$inboundSchema, + readySubstate: types.optional(UpdateProjectReadySubstate$inboundSchema), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: UpdateProjectProjectsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateProjectLatestDeploymentsFromJSON( jsonString: string, @@ -4355,13 +4507,15 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody8Dep UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON( jsonString: string, @@ -4383,23 +4537,23 @@ export const UpdateProjectLink8$inboundSchema: z.ZodType< UpdateProjectLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink8FromJSON( jsonString: string, @@ -4417,13 +4571,15 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody7Dep UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON( jsonString: string, @@ -4445,22 +4601,22 @@ export const UpdateProjectLink7$inboundSchema: z.ZodType< UpdateProjectLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink7FromJSON( jsonString: string, @@ -4478,13 +4634,15 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDepl UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -4506,22 +4664,22 @@ export const UpdateProjectLink6$inboundSchema: z.ZodType< UpdateProjectLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink6FromJSON( jsonString: string, @@ -4539,13 +4697,15 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inbo UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -4567,24 +4727,24 @@ export const UpdateProjectLink5$inboundSchema: z.ZodType< UpdateProjectLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function updateProjectLink5FromJSON( jsonString: string, @@ -4602,13 +4762,15 @@ export const UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema: UpdateProjectLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -4631,23 +4793,27 @@ export const UpdateProjectLink4$inboundSchema: z.ZodType< UpdateProjectLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => + UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema + ), + ), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink4FromJSON( jsonString: string, @@ -4665,13 +4831,15 @@ export const UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema: UpdateProjectLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function updateProjectLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -4694,22 +4862,24 @@ export const UpdateProjectLink3$inboundSchema: z.ZodType< UpdateProjectLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink3FromJSON( jsonString: string, @@ -4726,13 +4896,15 @@ export const UpdateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< UpdateProjectLinkProjectsDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function updateProjectLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -4750,21 +4922,23 @@ export const UpdateProjectLink2$inboundSchema: z.ZodType< UpdateProjectLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink2FromJSON( jsonString: string, @@ -4781,13 +4955,15 @@ export const UpdateProjectLinkDeployHooks$inboundSchema: z.ZodType< UpdateProjectLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function updateProjectLinkDeployHooksFromJSON( jsonString: string, @@ -4804,21 +4980,23 @@ export const UpdateProjectLink1$inboundSchema: z.ZodType< UpdateProjectLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UpdateProjectLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UpdateProjectLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function updateProjectLink1FromJSON( jsonString: string, @@ -4835,16 +5013,18 @@ export const UpdateProjectLink$inboundSchema: z.ZodType< UpdateProjectLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectLink1$inboundSchema), - z.lazy(() => UpdateProjectLink2$inboundSchema), - z.lazy(() => UpdateProjectLink3$inboundSchema), - z.lazy(() => UpdateProjectLink4$inboundSchema), - z.lazy(() => UpdateProjectLink5$inboundSchema), - z.lazy(() => UpdateProjectLink6$inboundSchema), - z.lazy(() => UpdateProjectLink7$inboundSchema), - z.lazy(() => UpdateProjectLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectLink1$inboundSchema), + z.lazy(() => UpdateProjectLink2$inboundSchema), + z.lazy(() => UpdateProjectLink3$inboundSchema), + z.lazy(() => UpdateProjectLink4$inboundSchema), + z.lazy(() => UpdateProjectLink5$inboundSchema), + z.lazy(() => UpdateProjectLink6$inboundSchema), + z.lazy(() => UpdateProjectLink7$inboundSchema), + z.lazy(() => UpdateProjectLink8$inboundSchema), + ]) +); export function updateProjectLinkFromJSON( jsonString: string, @@ -4861,12 +5041,14 @@ export const UpdateProjectMicrofrontends3$inboundSchema: z.ZodType< UpdateProjectMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function updateProjectMicrofrontends3FromJSON( jsonString: string, @@ -4883,16 +5065,18 @@ export const UpdateProjectMicrofrontends2$inboundSchema: z.ZodType< UpdateProjectMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function updateProjectMicrofrontends2FromJSON( jsonString: string, @@ -4909,14 +5093,16 @@ export const UpdateProjectMicrofrontends1$inboundSchema: z.ZodType< UpdateProjectMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function updateProjectMicrofrontends1FromJSON( jsonString: string, @@ -4933,11 +5119,13 @@ export const UpdateProjectMicrofrontends$inboundSchema: z.ZodType< UpdateProjectMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectMicrofrontends1$inboundSchema), - z.lazy(() => UpdateProjectMicrofrontends2$inboundSchema), - z.lazy(() => UpdateProjectMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectMicrofrontends1$inboundSchema), + z.lazy(() => UpdateProjectMicrofrontends2$inboundSchema), + z.lazy(() => UpdateProjectMicrofrontends3$inboundSchema), + ]) +); export function updateProjectMicrofrontendsFromJSON( jsonString: string, @@ -4952,22 +5140,28 @@ export function updateProjectMicrofrontendsFromJSON( /** @internal */ export const UpdateProjectProjectsNodeVersion$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsNodeVersion -> = z.nativeEnum(UpdateProjectProjectsNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsNodeVersion) +); /** @internal */ export const UpdateProjectProjectsIssuerMode$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsIssuerMode -> = z.nativeEnum(UpdateProjectProjectsIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsIssuerMode) +); /** @internal */ export const UpdateProjectProjectsOidcTokenConfig$inboundSchema: z.ZodType< UpdateProjectProjectsOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(UpdateProjectProjectsIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(UpdateProjectProjectsIssuerMode$inboundSchema), + }) +); export function updateProjectProjectsOidcTokenConfigFromJSON( jsonString: string, @@ -4985,9 +5179,11 @@ export const UpdateProjectProjectsPaths$inboundSchema: z.ZodType< UpdateProjectProjectsPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function updateProjectProjectsPathsFromJSON( jsonString: string, @@ -5004,9 +5200,11 @@ export const UpdateProjectProjectsOptionsAllowlist$inboundSchema: z.ZodType< UpdateProjectProjectsOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => UpdateProjectProjectsPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => UpdateProjectProjectsPaths$inboundSchema)), + }) +); export function updateProjectProjectsOptionsAllowlistFromJSON( jsonString: string, @@ -5021,18 +5219,22 @@ export function updateProjectProjectsOptionsAllowlistFromJSON( /** @internal */ export const UpdateProjectProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseDeploymentType) + ); /** @internal */ export const UpdateProjectProjectsPassport$inboundSchema: z.ZodType< UpdateProjectProjectsPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UpdateProjectProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UpdateProjectProjectsResponseDeploymentType$inboundSchema, + }) +); export function updateProjectProjectsPassportFromJSON( jsonString: string, @@ -5046,17 +5248,22 @@ export function updateProjectProjectsPassportFromJSON( /** @internal */ export const UpdateProjectProjectsResponse200DeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponse200DeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200DeploymentType) + ); /** @internal */ export const UpdateProjectProjectsPasswordProtection$inboundSchema: z.ZodType< UpdateProjectProjectsPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: UpdateProjectProjectsResponse200DeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + UpdateProjectProjectsResponse200DeploymentType$inboundSchema, + }) +); export function updateProjectProjectsPasswordProtectionFromJSON( jsonString: string, @@ -5079,376 +5286,402 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< UpdateProjectPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function updateProjectPermissionsFromJSON( jsonString: string, @@ -5465,13 +5698,15 @@ export const UpdateProjectProtectionBypass2$inboundSchema: z.ZodType< UpdateProjectProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function updateProjectProtectionBypass2FromJSON( jsonString: string, @@ -5488,13 +5723,15 @@ export const UpdateProjectProtectionBypass1$inboundSchema: z.ZodType< UpdateProjectProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function updateProjectProtectionBypass1FromJSON( jsonString: string, @@ -5511,10 +5748,12 @@ export const UpdateProjectProtectionBypass$inboundSchema: z.ZodType< UpdateProjectProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectProtectionBypass1$inboundSchema), - z.lazy(() => UpdateProjectProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectProtectionBypass1$inboundSchema), + z.lazy(() => UpdateProjectProtectionBypass2$inboundSchema), + ]) +); export function updateProjectProtectionBypassFromJSON( jsonString: string, @@ -5531,9 +5770,11 @@ export const UpdateProjectSandboxUrls$inboundSchema: z.ZodType< UpdateProjectSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function updateProjectSandboxUrlsFromJSON( jsonString: string, @@ -5550,11 +5791,13 @@ export const UpdateProjectProtectionConfig$inboundSchema: z.ZodType< UpdateProjectProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => UpdateProjectSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => UpdateProjectSandboxUrls$inboundSchema), + ), + }) +); export function updateProjectProtectionConfigFromJSON( jsonString: string, @@ -5570,13 +5813,16 @@ export function updateProjectProtectionConfigFromJSON( export const UpdateProjectProjectsResponseBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseBuildMachineElasticReason - > = z.nativeEnum(UpdateProjectProjectsResponseBuildMachineElasticReason); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseBuildMachineElasticReason) + ); /** @internal */ export const UpdateProjectProjectsResponseDirection$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponseDirection, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseDirection) + ); /** @internal */ export const UpdateProjectProjectsResponseBuildMachineElasticTransition$inboundSchema: @@ -5584,11 +5830,13 @@ export const UpdateProjectProjectsResponseBuildMachineElasticTransition$inboundS UpdateProjectProjectsResponseBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UpdateProjectProjectsResponseDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UpdateProjectProjectsResponseDirection$inboundSchema, + }) + ); export function updateProjectProjectsResponseBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -5607,29 +5855,37 @@ export function updateProjectProjectsResponseBuildMachineElasticTransitionFromJS /** @internal */ export const UpdateProjectProjectsResponseBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseBuildMachineSelection) + ); /** @internal */ export const UpdateProjectProjectsResponseBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseBuildMachineType) + ); /** @internal */ export const UpdateProjectProjectsResponseConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectProjectsResponseConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseConfiguration) + ); /** @internal */ export const UpdateProjectProjectsResponseBuildQueue$inboundSchema: z.ZodType< UpdateProjectProjectsResponseBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - UpdateProjectProjectsResponseConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UpdateProjectProjectsResponseConfiguration$inboundSchema, + ), + }) +); export function updateProjectProjectsResponseBuildQueueFromJSON( jsonString: string, @@ -5651,18 +5907,22 @@ export function updateProjectProjectsResponseBuildQueueFromJSON( export const UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType - > = z.nativeEnum(UpdateProjectProjectsResponseFunctionDefaultMemoryType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseFunctionDefaultMemoryType) + ); /** @internal */ export const UpdateProjectElasticBuildMachineProjects4$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachineProjects4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -5685,11 +5945,13 @@ export const UpdateProjectElasticBuildMachineProjects3$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachineProjects3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -5712,11 +5974,13 @@ export const UpdateProjectElasticBuildMachineProjects2$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachineProjects2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -5739,11 +6003,13 @@ export const UpdateProjectElasticBuildMachineProjects1$inboundSchema: z.ZodType< UpdateProjectElasticBuildMachineProjects1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function updateProjectElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -5766,12 +6032,14 @@ export const UpdateProjectProjectsElasticBuildMachine$inboundSchema: z.ZodType< UpdateProjectProjectsElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachineProjects4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectElasticBuildMachineProjects1$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachineProjects2$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachineProjects3$inboundSchema), + z.lazy(() => UpdateProjectElasticBuildMachineProjects4$inboundSchema), + ]) +); export function updateProjectProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -5794,44 +6062,44 @@ export const UpdateProjectProjectsResourceConfig$inboundSchema: z.ZodType< UpdateProjectProjectsResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UpdateProjectProjectsResponseBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UpdateProjectProjectsResponseBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UpdateProjectProjectsResponseBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UpdateProjectProjectsResponseBuildMachineSelection$inboundSchema, + ), + buildMachineType: types.optional( + UpdateProjectProjectsResponseBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UpdateProjectProjectsResponseBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UpdateProjectProjectsResponseBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UpdateProjectProjectsResponseBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UpdateProjectProjectsResponseBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UpdateProjectElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => UpdateProjectElasticBuildMachineProjects2$inboundSchema), + z.lazy(() => + UpdateProjectElasticBuildMachineProjects2$inboundSchema + ), z.lazy(() => UpdateProjectElasticBuildMachineProjects3$inboundSchema), z.lazy(() => UpdateProjectElasticBuildMachineProjects4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function updateProjectProjectsResourceConfigFromJSON( jsonString: string, @@ -5849,9 +6117,11 @@ export const UpdateProjectPrincipal5$inboundSchema: z.ZodType< UpdateProjectPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function updateProjectPrincipal5FromJSON( jsonString: string, @@ -5868,10 +6138,12 @@ export const UpdateProjectPrincipalIntegration$inboundSchema: z.ZodType< UpdateProjectPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateProjectPrincipalIntegrationFromJSON( jsonString: string, @@ -5888,10 +6160,12 @@ export const UpdateProjectPrincipal4$inboundSchema: z.ZodType< UpdateProjectPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UpdateProjectPrincipalIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => UpdateProjectPrincipalIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function updateProjectPrincipal4FromJSON( jsonString: string, @@ -5908,10 +6182,12 @@ export const UpdateProjectPrincipalApp$inboundSchema: z.ZodType< UpdateProjectPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateProjectPrincipalAppFromJSON( jsonString: string, @@ -5928,10 +6204,12 @@ export const UpdateProjectPrincipal3$inboundSchema: z.ZodType< UpdateProjectPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateProjectPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateProjectPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateProjectPrincipal3FromJSON( jsonString: string, @@ -5948,9 +6226,11 @@ export const UpdateProjectPrincipalProject$inboundSchema: z.ZodType< UpdateProjectPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateProjectPrincipalProjectFromJSON( jsonString: string, @@ -5967,10 +6247,12 @@ export const UpdateProjectPrincipal2$inboundSchema: z.ZodType< UpdateProjectPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UpdateProjectPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UpdateProjectPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function updateProjectPrincipal2FromJSON( jsonString: string, @@ -5987,10 +6269,12 @@ export const UpdateProjectViaProjectsIntegration$inboundSchema: z.ZodType< UpdateProjectViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function updateProjectViaProjectsIntegrationFromJSON( jsonString: string, @@ -6008,10 +6292,14 @@ export const UpdateProjectViaProjects2$inboundSchema: z.ZodType< UpdateProjectViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UpdateProjectViaProjectsIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UpdateProjectViaProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function updateProjectViaProjects2FromJSON( jsonString: string, @@ -6028,10 +6316,12 @@ export const UpdateProjectViaProjectsApp$inboundSchema: z.ZodType< UpdateProjectViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function updateProjectViaProjectsAppFromJSON( jsonString: string, @@ -6048,10 +6338,12 @@ export const UpdateProjectViaProjects1$inboundSchema: z.ZodType< UpdateProjectViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UpdateProjectViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UpdateProjectViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function updateProjectViaProjects1FromJSON( jsonString: string, @@ -6068,10 +6360,12 @@ export const UpdateProjectPrincipalVia$inboundSchema: z.ZodType< UpdateProjectPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectViaProjects1$inboundSchema), - z.lazy(() => UpdateProjectViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectViaProjects1$inboundSchema), + z.lazy(() => UpdateProjectViaProjects2$inboundSchema), + ]) +); export function updateProjectPrincipalViaFromJSON( jsonString: string, diff --git a/src/models/updateprojectprotectionbypassop.ts b/src/models/updateprojectprotectionbypassop.ts index 3b87ae87db..2fc7c1940a 100644 --- a/src/models/updateprojectprotectionbypassop.ts +++ b/src/models/updateprojectprotectionbypassop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -131,10 +131,12 @@ export const Revoke$outboundSchema: z.ZodType< Revoke$Outbound, z.ZodTypeDef, Revoke -> = z.object({ - secret: z.string(), - regenerate: z.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secret: z.string(), + regenerate: z.boolean(), + }) +); export function revokeToJSON(revoke: Revoke): string { return JSON.stringify(Revoke$outboundSchema.parse(revoke)); @@ -151,10 +153,12 @@ export const Generate$outboundSchema: z.ZodType< Generate$Outbound, z.ZodTypeDef, Generate -> = z.object({ - secret: z.string().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secret: z.string().optional(), + note: z.string().optional(), + }) +); export function generateToJSON(generate: Generate): string { return JSON.stringify(Generate$outboundSchema.parse(generate)); @@ -172,11 +176,13 @@ export const Update$outboundSchema: z.ZodType< Update$Outbound, z.ZodTypeDef, Update -> = z.object({ - secret: z.string(), - isEnvVar: z.boolean().optional(), - note: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secret: z.string(), + isEnvVar: z.boolean().optional(), + note: z.string().optional(), + }) +); export function updateToJSON(update: Update): string { return JSON.stringify(Update$outboundSchema.parse(update)); @@ -194,11 +200,13 @@ export const UpdateProjectProtectionBypassRequestBody$outboundSchema: z.ZodType< UpdateProjectProtectionBypassRequestBody$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypassRequestBody -> = z.object({ - revoke: z.lazy(() => Revoke$outboundSchema).optional(), - generate: z.lazy(() => Generate$outboundSchema).optional(), - update: z.lazy(() => Update$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + revoke: z.lazy(() => Revoke$outboundSchema).optional(), + generate: z.lazy(() => Generate$outboundSchema).optional(), + update: z.lazy(() => Update$outboundSchema).optional(), + }) +); export function updateProjectProtectionBypassRequestBodyToJSON( updateProjectProtectionBypassRequestBody: @@ -224,18 +232,20 @@ export const UpdateProjectProtectionBypassRequest$outboundSchema: z.ZodType< UpdateProjectProtectionBypassRequest$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypassRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateProjectProtectionBypassRequestBody$outboundSchema - ), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateProjectProtectionBypassRequestBody$outboundSchema + ), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateProjectProtectionBypassRequestToJSON( updateProjectProtectionBypassRequest: UpdateProjectProtectionBypassRequest, @@ -253,13 +263,15 @@ export const UpdateProjectProtectionBypassProtectionBypass2$inboundSchema: UpdateProjectProtectionBypassProtectionBypass2, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) + ); export function updateProjectProtectionBypassProtectionBypass2FromJSON( jsonString: string, @@ -283,13 +295,15 @@ export const UpdateProjectProtectionBypassProtectionBypass1$inboundSchema: UpdateProjectProtectionBypassProtectionBypass1, z.ZodTypeDef, unknown - > = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) + ); export function updateProjectProtectionBypassProtectionBypass1FromJSON( jsonString: string, @@ -313,10 +327,16 @@ export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema: UpdateProjectProtectionBypassProtectionBypass, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => UpdateProjectProtectionBypassProtectionBypass1$inboundSchema), - z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + UpdateProjectProtectionBypassProtectionBypass1$inboundSchema + ), + z.lazy(() => + UpdateProjectProtectionBypassProtectionBypass2$inboundSchema + ), + ]) + ); export function updateProjectProtectionBypassProtectionBypassFromJSON( jsonString: string, @@ -339,18 +359,18 @@ export const UpdateProjectProtectionBypassResponseBody$inboundSchema: z.ZodType< UpdateProjectProtectionBypassResponseBody, z.ZodTypeDef, unknown -> = z.object({ - protectionBypass: types.optional( - z.record(z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + protectionBypass: types.optional(z.record(z.union([ z.lazy(() => UpdateProjectProtectionBypassProtectionBypass1$inboundSchema ), z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$inboundSchema ), - ])), - ), -}); + ]))), + }) +); export function updateProjectProtectionBypassResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateprojectresponsebody.ts b/src/models/updateprojectresponsebody.ts index b5acfcbcfc..18851e7da6 100644 --- a/src/models/updateprojectresponsebody.ts +++ b/src/models/updateprojectresponsebody.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -904,7 +904,7 @@ export type UpdateProjectToProjects1 = { slugs: Array; }; -export type UpdateProjectProjectsTo = +export type UpdateProjectProjectsResponseTo = | UpdateProjectToProjects1 | UpdateProjectToProjects2; @@ -989,7 +989,7 @@ export type UpdateProjectToProjectsResponse1 = { slugs: Array; }; -export type UpdateProjectProjectsResponseTo = +export type UpdateProjectProjectsResponse200To = | UpdateProjectToProjectsResponse1 | UpdateProjectToProjectsResponse2; @@ -1212,9 +1212,11 @@ export const UpdateProjectPrincipalUser$inboundSchema: z.ZodType< UpdateProjectPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateProjectPrincipalUserFromJSON( jsonString: string, @@ -1231,11 +1233,13 @@ export const UpdateProjectPrincipal1$inboundSchema: z.ZodType< UpdateProjectPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable(UpdateProjectPrincipalVia$inboundSchema), - user: z.lazy(() => UpdateProjectPrincipalUser$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(UpdateProjectPrincipalVia$inboundSchema), + user: z.lazy(() => UpdateProjectPrincipalUser$inboundSchema), + }) +); export function updateProjectPrincipal1FromJSON( jsonString: string, @@ -1252,13 +1256,15 @@ export const UpdateProjectPrincipal$inboundSchema: z.ZodType< UpdateProjectPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UpdateProjectPrincipal1$inboundSchema), - UpdateProjectPrincipal2$inboundSchema, - UpdateProjectPrincipal3$inboundSchema, - UpdateProjectPrincipal4$inboundSchema, - UpdateProjectPrincipal5$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateProjectPrincipal1$inboundSchema), + UpdateProjectPrincipal2$inboundSchema, + UpdateProjectPrincipal3$inboundSchema, + UpdateProjectPrincipal4$inboundSchema, + UpdateProjectPrincipal5$inboundSchema, + ]) +); export function updateProjectPrincipalFromJSON( jsonString: string, @@ -1275,21 +1281,21 @@ export const UpdateProjectRollbackDescription$inboundSchema: z.ZodType< UpdateProjectRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => UpdateProjectPrincipal1$inboundSchema), UpdateProjectPrincipal2$inboundSchema, UpdateProjectPrincipal3$inboundSchema, UpdateProjectPrincipal4$inboundSchema, UpdateProjectPrincipal5$inboundSchema, - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function updateProjectRollbackDescriptionFromJSON( jsonString: string, @@ -1306,12 +1312,14 @@ export const UpdateProjectStages$inboundSchema: z.ZodType< UpdateProjectStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function updateProjectStagesFromJSON( jsonString: string, @@ -1328,12 +1336,14 @@ export const UpdateProjectRollingRelease$inboundSchema: z.ZodType< UpdateProjectRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable(z.array(z.lazy(() => UpdateProjectStages$inboundSchema))) - .optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable(z.array(z.lazy(() => UpdateProjectStages$inboundSchema))) + .optional(), + target: types.string(), + }) +); export function updateProjectRollingReleaseFromJSON( jsonString: string, @@ -1347,26 +1357,31 @@ export function updateProjectRollingReleaseFromJSON( /** @internal */ export const UpdateProjectProjectsFailoverRegions$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsFailoverRegions, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsFailoverRegions) + ); /** @internal */ export const UpdateProjectProjectsRegion$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsRegion -> = z.nativeEnum(UpdateProjectProjectsRegion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsRegion) +); /** @internal */ export const UpdateProjectProjectsSandbox$inboundSchema: z.ZodType< UpdateProjectProjectsSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(UpdateProjectProjectsFailoverRegions$inboundSchema), - ), - region: types.optional(UpdateProjectProjectsRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(UpdateProjectProjectsFailoverRegions$inboundSchema), + ), + region: types.optional(UpdateProjectProjectsRegion$inboundSchema), + }) +); export function updateProjectProjectsSandboxFromJSON( jsonString: string, @@ -1381,17 +1396,16 @@ export function updateProjectProjectsSandboxFromJSON( /** @internal */ export const UpdateProjectLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectLogHeaders2 -> = z.nativeEnum(UpdateProjectLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectLogHeaders2)); /** @internal */ export const UpdateProjectLogHeaders$inboundSchema: z.ZodType< UpdateProjectLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UpdateProjectLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), UpdateProjectLogHeaders2$inboundSchema]) +); export function updateProjectLogHeadersFromJSON( jsonString: string, @@ -1407,8 +1421,10 @@ export function updateProjectLogHeadersFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction, + ) ); /** @internal */ @@ -1416,12 +1432,14 @@ export const UpdateProjectAiBots$inboundSchema: z.ZodType< UpdateProjectAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateProjectAiBotsFromJSON( jsonString: string, @@ -1435,19 +1453,24 @@ export function updateProjectAiBotsFromJSON( /** @internal */ export const UpdateProjectProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponse200Action, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200Action) + ); /** @internal */ export const UpdateProjectBotFilter$inboundSchema: z.ZodType< UpdateProjectBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(UpdateProjectProjectsResponse200Action$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateProjectProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateProjectBotFilterFromJSON( jsonString: string, @@ -1463,19 +1486,23 @@ export function updateProjectBotFilterFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONAction - > = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONAction) + ); /** @internal */ export const UpdateProjectOwasp$inboundSchema: z.ZodType< UpdateProjectOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateProjectOwaspFromJSON( jsonString: string, @@ -1491,8 +1518,10 @@ export function updateProjectOwaspFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -1500,12 +1529,14 @@ export const UpdateProjectTrafficSources$inboundSchema: z.ZodType< UpdateProjectTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateProjectTrafficSourcesFromJSON( jsonString: string, @@ -1521,8 +1552,10 @@ export function updateProjectTrafficSourcesFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -1530,12 +1563,14 @@ export const UpdateProjectVercelRuleset$inboundSchema: z.ZodType< UpdateProjectVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function updateProjectVercelRulesetFromJSON( jsonString: string, @@ -1552,20 +1587,22 @@ export const UpdateProjectManagedRules$inboundSchema: z.ZodType< UpdateProjectManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => UpdateProjectAiBots$inboundSchema), - bot_filter: z.lazy(() => UpdateProjectBotFilter$inboundSchema), - owasp: z.lazy(() => UpdateProjectOwasp$inboundSchema), - traffic_sources: z.lazy(() => UpdateProjectTrafficSources$inboundSchema), - vercel_ruleset: z.lazy(() => UpdateProjectVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => UpdateProjectAiBots$inboundSchema), + bot_filter: z.lazy(() => UpdateProjectBotFilter$inboundSchema), + owasp: z.lazy(() => UpdateProjectOwasp$inboundSchema), + traffic_sources: z.lazy(() => UpdateProjectTrafficSources$inboundSchema), + vercel_ruleset: z.lazy(() => UpdateProjectVercelRuleset$inboundSchema), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function updateProjectManagedRulesFromJSON( jsonString: string, @@ -1580,22 +1617,28 @@ export function updateProjectManagedRulesFromJSON( /** @internal */ export const UpdateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseAction -> = z.nativeEnum(UpdateProjectProjectsResponseAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseAction) +); /** @internal */ export const UpdateProjectLogHeadersProjects2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectLogHeadersProjects2 -> = z.nativeEnum(UpdateProjectLogHeadersProjects2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectLogHeadersProjects2) +); /** @internal */ export const UpdateProjectProjectsLogHeaders$inboundSchema: z.ZodType< UpdateProjectProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UpdateProjectLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + UpdateProjectLogHeadersProjects2$inboundSchema, + ]) +); export function updateProjectProjectsLogHeadersFromJSON( jsonString: string, @@ -1611,29 +1654,33 @@ export function updateProjectProjectsLogHeadersFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const UpdateProjectAlgo$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectAlgo -> = z.nativeEnum(UpdateProjectAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectAlgo)); /** @internal */ export const UpdateProjectRateLimit$inboundSchema: z.ZodType< UpdateProjectRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: UpdateProjectAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: UpdateProjectAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function updateProjectRateLimitFromJSON( jsonString: string, @@ -1650,10 +1697,12 @@ export const UpdateProjectRedirect$inboundSchema: z.ZodType< UpdateProjectRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function updateProjectRedirectFromJSON( jsonString: string, @@ -1670,21 +1719,23 @@ export const UpdateProjectRulesets$inboundSchema: z.ZodType< UpdateProjectRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: UpdateProjectProjectsResponseAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - UpdateProjectLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable(z.lazy(() => UpdateProjectRateLimit$inboundSchema)) - .optional(), - redirect: z.nullable(z.lazy(() => UpdateProjectRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UpdateProjectProjectsResponseAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + UpdateProjectLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable(z.lazy(() => UpdateProjectRateLimit$inboundSchema)) + .optional(), + redirect: z.nullable(z.lazy(() => UpdateProjectRedirect$inboundSchema)) + .optional(), + }) +); export function updateProjectRulesetsFromJSON( jsonString: string, @@ -1701,36 +1752,38 @@ export const UpdateProjectSecurity$inboundSchema: z.ZodType< UpdateProjectSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - UpdateProjectLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => UpdateProjectManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => UpdateProjectRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + UpdateProjectLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => UpdateProjectManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => UpdateProjectRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function updateProjectSecurityFromJSON( jsonString: string, @@ -1744,28 +1797,31 @@ export function updateProjectSecurityFromJSON( /** @internal */ export const UpdateProjectProjectsResponseFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponseFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseFramework) + ); /** @internal */ export const UpdateProjectServiceType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectServiceType -> = z.nativeEnum(UpdateProjectServiceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectServiceType)); /** @internal */ export const UpdateProjectServices$inboundSchema: z.ZodType< UpdateProjectServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional( - UpdateProjectProjectsResponseFramework$inboundSchema, - ), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(UpdateProjectServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + UpdateProjectProjectsResponseFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(UpdateProjectServiceType$inboundSchema), + }) +); export function updateProjectServicesFromJSON( jsonString: string, @@ -1782,15 +1838,17 @@ export const UpdateProjectSpeedInsights$inboundSchema: z.ZodType< UpdateProjectSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function updateProjectSpeedInsightsFromJSON( jsonString: string, @@ -1806,19 +1864,23 @@ export function updateProjectSpeedInsightsFromJSON( export const UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum(UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom) + ); /** @internal */ export const UpdateProjectCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectCve55182MigrationAppliedFrom) + ); /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONDeploymentType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONDeploymentType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONDeploymentType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONDeploymentType) ); /** @internal */ @@ -1826,16 +1888,18 @@ export const UpdateProjectProjectsSsoProtection$inboundSchema: z.ZodType< UpdateProjectProjectsSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - UpdateProjectCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - UpdateProjectProjectsResponse200ApplicationJSONDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + UpdateProjectApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + UpdateProjectCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + UpdateProjectProjectsResponse200ApplicationJSONDeploymentType$inboundSchema, + }) +); export function updateProjectProjectsSsoProtectionFromJSON( jsonString: string, @@ -1853,11 +1917,13 @@ export const UpdateProjectProjectsStaticIps$inboundSchema: z.ZodType< UpdateProjectProjectsStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function updateProjectProjectsStaticIpsFromJSON( jsonString: string, @@ -1874,7 +1940,9 @@ export const UpdateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< UpdateProjectProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function updateProjectProjectsAliasAssignedFromJSON( jsonString: string, @@ -1892,10 +1960,12 @@ export const UpdateProjectProjectsAliasError$inboundSchema: z.ZodType< UpdateProjectProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateProjectProjectsAliasErrorFromJSON( jsonString: string, @@ -1911,18 +1981,22 @@ export function updateProjectProjectsAliasErrorFromJSON( export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); /** @internal */ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType = - z.object({ - pattern: types.string(), - type: - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + }) + ); export function updateProjectProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -1945,11 +2019,13 @@ export const UpdateProjectProjectsBuilds$inboundSchema: z.ZodType< UpdateProjectProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function updateProjectProjectsBuildsFromJSON( jsonString: string, @@ -1963,27 +2039,32 @@ export function updateProjectProjectsBuildsFromJSON( /** @internal */ export const UpdateProjectProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsChecksConclusion, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsChecksConclusion) + ); /** @internal */ export const UpdateProjectProjectsChecksState$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsChecksState -> = z.nativeEnum(UpdateProjectProjectsChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsChecksState) +); /** @internal */ export const UpdateProjectProjectsResponseCreator$inboundSchema: z.ZodType< UpdateProjectProjectsResponseCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function updateProjectProjectsResponseCreatorFromJSON( jsonString: string, @@ -2001,29 +2082,31 @@ export const UpdateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< UpdateProjectProjectsOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function updateProjectProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -2039,81 +2122,89 @@ export function updateProjectProjectsOidcTokenClaimsFromJSON( /** @internal */ export const UpdateProjectProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsPlan -> = z.nativeEnum(UpdateProjectProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectProjectsPlan)); /** @internal */ export const UpdateProjectProjectsReadyState$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsReadyState -> = z.nativeEnum(UpdateProjectProjectsReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsReadyState) +); /** @internal */ export const UpdateProjectProjectsReadySubstate$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsReadySubstate -> = z.nativeEnum(UpdateProjectProjectsReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsReadySubstate) +); /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const UpdateProjectTargets$inboundSchema: z.ZodType< UpdateProjectTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$inboundSchema), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - UpdateProjectProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional(UpdateProjectProjectsChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UpdateProjectProjectsResponseCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UpdateProjectProjectsOidcTokenClaims$inboundSchema), - ), - plan: UpdateProjectProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UpdateProjectProjectsReadyState$inboundSchema, - readySubstate: types.optional( - UpdateProjectProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$inboundSchema), + ), + buildingAt: types.optional(types.number()), + builds: types.optional( + z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema)), + ), + checksConclusion: types.optional( + UpdateProjectProjectsChecksConclusion$inboundSchema, + ), + checksState: types.optional(UpdateProjectProjectsChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => UpdateProjectProjectsResponseCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => UpdateProjectProjectsOidcTokenClaims$inboundSchema), + ), + plan: UpdateProjectProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UpdateProjectProjectsReadyState$inboundSchema, + readySubstate: types.optional( + UpdateProjectProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function updateProjectTargetsFromJSON( jsonString: string, @@ -2128,29 +2219,33 @@ export function updateProjectTargetsFromJSON( /** @internal */ export const UpdateProjectTier$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectTier -> = z.nativeEnum(UpdateProjectTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectTier)); /** @internal */ export const UpdateProjectDestination$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDestination -> = z.nativeEnum(UpdateProjectDestination); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectDestination)); /** @internal */ export const UpdateProjectProjectsResponseEnv$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseEnv -> = z.nativeEnum(UpdateProjectProjectsResponseEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectProjectsResponseEnv) +); /** @internal */ export const UpdateProjectSamplingRules$inboundSchema: z.ZodType< UpdateProjectSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(UpdateProjectDestination$inboundSchema), - env: types.optional(UpdateProjectProjectsResponseEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(UpdateProjectDestination$inboundSchema), + env: types.optional(UpdateProjectProjectsResponseEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function updateProjectSamplingRulesFromJSON( jsonString: string, @@ -2167,13 +2262,15 @@ export const UpdateProjectTracing$inboundSchema: z.ZodType< UpdateProjectTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => UpdateProjectSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => UpdateProjectSamplingRules$inboundSchema)), + ), + }) +); export function updateProjectTracingFromJSON( jsonString: string, @@ -2187,17 +2284,21 @@ export function updateProjectTracingFromJSON( /** @internal */ export const UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectTrustedIpsProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const UpdateProjectTrustedIps2$inboundSchema: z.ZodType< UpdateProjectTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function updateProjectTrustedIps2FromJSON( jsonString: string, @@ -2214,10 +2315,12 @@ export const UpdateProjectTrustedIpsAddresses$inboundSchema: z.ZodType< UpdateProjectTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function updateProjectTrustedIpsAddressesFromJSON( jsonString: string, @@ -2231,28 +2334,32 @@ export function updateProjectTrustedIpsAddressesFromJSON( /** @internal */ export const UpdateProjectTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectTrustedIpsDeploymentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectTrustedIpsDeploymentType) + ); /** @internal */ export const UpdateProjectTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectTrustedIpsProtectionMode, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectTrustedIpsProtectionMode) + ); /** @internal */ export const UpdateProjectTrustedIps1$inboundSchema: z.ZodType< UpdateProjectTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => UpdateProjectTrustedIpsAddresses$inboundSchema), - ), - deploymentType: UpdateProjectTrustedIpsDeploymentType$inboundSchema, - protectionMode: UpdateProjectTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => UpdateProjectTrustedIpsAddresses$inboundSchema), + ), + deploymentType: UpdateProjectTrustedIpsDeploymentType$inboundSchema, + protectionMode: UpdateProjectTrustedIpsProtectionMode$inboundSchema, + }) +); export function updateProjectTrustedIps1FromJSON( jsonString: string, @@ -2269,10 +2376,12 @@ export const UpdateProjectProjectsTrustedIps$inboundSchema: z.ZodType< UpdateProjectProjectsTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), - z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), + z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), + ]) +); export function updateProjectProjectsTrustedIpsFromJSON( jsonString: string, @@ -2286,18 +2395,22 @@ export function updateProjectProjectsTrustedIpsFromJSON( /** @internal */ export const UpdateProjectToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectToProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectToProjectsResponse200Preset) + ); /** @internal */ export const UpdateProjectToProjects2$inboundSchema: z.ZodType< UpdateProjectToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: UpdateProjectToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UpdateProjectToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateProjectToProjects2FromJSON( jsonString: string, @@ -2311,19 +2424,22 @@ export function updateProjectToProjects2FromJSON( /** @internal */ export const UpdateProjectToProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectToProjectsResponsePreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectToProjectsResponsePreset) + ); /** @internal */ export const UpdateProjectToProjects1$inboundSchema: z.ZodType< UpdateProjectToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UpdateProjectToProjectsResponsePreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UpdateProjectToProjectsResponsePreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function updateProjectToProjects1FromJSON( jsonString: string, @@ -2336,22 +2452,24 @@ export function updateProjectToProjects1FromJSON( } /** @internal */ -export const UpdateProjectProjectsTo$inboundSchema: z.ZodType< - UpdateProjectProjectsTo, +export const UpdateProjectProjectsResponseTo$inboundSchema: z.ZodType< + UpdateProjectProjectsResponseTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectToProjects1$inboundSchema), - z.lazy(() => UpdateProjectToProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectToProjects1$inboundSchema), + z.lazy(() => UpdateProjectToProjects2$inboundSchema), + ]) +); -export function updateProjectProjectsToFromJSON( +export function updateProjectProjectsResponseToFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UpdateProjectProjectsTo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsTo' from JSON`, + (x) => UpdateProjectProjectsResponseTo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsResponseTo' from JSON`, ); } @@ -2360,14 +2478,16 @@ export const UpdateProjectOidcProviders$inboundSchema: z.ZodType< UpdateProjectOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => UpdateProjectToProjects1$inboundSchema), - z.lazy(() => UpdateProjectToProjects2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => UpdateProjectToProjects1$inboundSchema), + z.lazy(() => UpdateProjectToProjects2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function updateProjectOidcProvidersFromJSON( jsonString: string, @@ -2381,18 +2501,22 @@ export function updateProjectOidcProvidersFromJSON( /** @internal */ export const UpdateProjectFromProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateProjectFromProjectsResponsePreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectFromProjectsResponsePreset) + ); /** @internal */ export const UpdateProjectFrom2$inboundSchema: z.ZodType< UpdateProjectFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: UpdateProjectFromProjectsResponsePreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UpdateProjectFromProjectsResponsePreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateProjectFrom2FromJSON( jsonString: string, @@ -2407,17 +2531,21 @@ export function updateProjectFrom2FromJSON( /** @internal */ export const UpdateProjectFromProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectFromProjectsPreset -> = z.nativeEnum(UpdateProjectFromProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectFromProjectsPreset) +); /** @internal */ export const UpdateProjectFrom1$inboundSchema: z.ZodType< UpdateProjectFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UpdateProjectFromProjectsPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UpdateProjectFromProjectsPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function updateProjectFrom1FromJSON( jsonString: string, @@ -2434,10 +2562,12 @@ export const UpdateProjectFrom$inboundSchema: z.ZodType< UpdateProjectFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectFrom1$inboundSchema), - z.lazy(() => UpdateProjectFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectFrom1$inboundSchema), + z.lazy(() => UpdateProjectFrom2$inboundSchema), + ]) +); export function updateProjectFromFromJSON( jsonString: string, @@ -2453,8 +2583,10 @@ export function updateProjectFromFromJSON( export const UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset - > = z.nativeEnum( - UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset, + ) ); /** @internal */ @@ -2462,11 +2594,13 @@ export const UpdateProjectToProjectsResponse2$inboundSchema: z.ZodType< UpdateProjectToProjectsResponse2, z.ZodTypeDef, unknown -> = z.object({ - preset: - UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: + UpdateProjectToProjectsResponse200ApplicationJSONResponseBodyPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function updateProjectToProjectsResponse2FromJSON( jsonString: string, @@ -2482,19 +2616,23 @@ export function updateProjectToProjectsResponse2FromJSON( export const UpdateProjectToProjectsResponse200ApplicationJSONPreset$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectToProjectsResponse200ApplicationJSONPreset - > = z.nativeEnum(UpdateProjectToProjectsResponse200ApplicationJSONPreset); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateProjectToProjectsResponse200ApplicationJSONPreset) + ); /** @internal */ export const UpdateProjectToProjectsResponse1$inboundSchema: z.ZodType< UpdateProjectToProjectsResponse1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - UpdateProjectToProjectsResponse200ApplicationJSONPreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + UpdateProjectToProjectsResponse200ApplicationJSONPreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function updateProjectToProjectsResponse1FromJSON( jsonString: string, @@ -2507,22 +2645,25 @@ export function updateProjectToProjectsResponse1FromJSON( } /** @internal */ -export const UpdateProjectProjectsResponseTo$inboundSchema: z.ZodType< - UpdateProjectProjectsResponseTo, +export const UpdateProjectProjectsResponse200To$inboundSchema: z.ZodType< + UpdateProjectProjectsResponse200To, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateProjectToProjectsResponse1$inboundSchema), - z.lazy(() => UpdateProjectToProjectsResponse2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateProjectToProjectsResponse1$inboundSchema), + z.lazy(() => UpdateProjectToProjectsResponse2$inboundSchema), + ]) +); -export function updateProjectProjectsResponseToFromJSON( +export function updateProjectProjectsResponse200ToFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UpdateProjectProjectsResponseTo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectProjectsResponseTo' from JSON`, + (x) => + UpdateProjectProjectsResponse200To$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsResponse200To' from JSON`, ); } @@ -2531,16 +2672,18 @@ export const UpdateProjectCustomAllow$inboundSchema: z.ZodType< UpdateProjectCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: smartUnion([ - z.lazy(() => UpdateProjectFrom1$inboundSchema), - z.lazy(() => UpdateProjectFrom2$inboundSchema), - ]), - to: smartUnion([ - z.lazy(() => UpdateProjectToProjectsResponse1$inboundSchema), - z.lazy(() => UpdateProjectToProjectsResponse2$inboundSchema), - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: smartUnion([ + z.lazy(() => UpdateProjectFrom1$inboundSchema), + z.lazy(() => UpdateProjectFrom2$inboundSchema), + ]), + to: smartUnion([ + z.lazy(() => UpdateProjectToProjectsResponse1$inboundSchema), + z.lazy(() => UpdateProjectToProjectsResponse2$inboundSchema), + ]), + }) +); export function updateProjectCustomAllowFromJSON( jsonString: string, @@ -2557,12 +2700,14 @@ export const UpdateProjectProjectsProjects$inboundSchema: z.ZodType< UpdateProjectProjectsProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => UpdateProjectCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => UpdateProjectCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function updateProjectProjectsProjectsFromJSON( jsonString: string, @@ -2579,15 +2724,17 @@ export const UpdateProjectTrustedSources$inboundSchema: z.ZodType< UpdateProjectTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(z.lazy(() => UpdateProjectOidcProviders$inboundSchema))), - ), - projects: types.optional( - z.record(z.lazy(() => UpdateProjectProjectsProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(z.lazy(() => UpdateProjectOidcProviders$inboundSchema))), + ), + projects: types.optional( + z.record(z.lazy(() => UpdateProjectProjectsProjects$inboundSchema)), + ), + }) +); export function updateProjectTrustedSourcesFromJSON( jsonString: string, @@ -2602,20 +2749,22 @@ export function updateProjectTrustedSourcesFromJSON( /** @internal */ export const UpdateProjectKind$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectKind -> = z.nativeEnum(UpdateProjectKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateProjectKind)); /** @internal */ export const UpdateProjectUsageStatus$inboundSchema: z.ZodType< UpdateProjectUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: UpdateProjectKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: UpdateProjectKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function updateProjectUsageStatusFromJSON( jsonString: string, @@ -2632,9 +2781,11 @@ export const UpdateProjectVercelFlags$inboundSchema: z.ZodType< UpdateProjectVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function updateProjectVercelFlagsFromJSON( jsonString: string, @@ -2651,13 +2802,15 @@ export const UpdateProjectWebAnalytics$inboundSchema: z.ZodType< UpdateProjectWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function updateProjectWebAnalyticsFromJSON( jsonString: string, @@ -2674,160 +2827,168 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType< UpdateProjectResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(UpdateProjectAlias$inboundSchema), - analytics: types.optional(UpdateProjectAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(UpdateProjectBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(UpdateProjectConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(UpdateProjectCreator$inboundSchema), - crons: types.optional(UpdateProjectCrons$inboundSchema), - customEnvironments: types.optional( - z.array(UpdateProjectCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(UpdateProjectDataCache$inboundSchema), - defaultResourceConfig: UpdateProjectDefaultResourceConfig$inboundSchema, - deploymentExpiration: UpdateProjectDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable( - UpdateProjectProjectsDeploymentPolicy$inboundSchema, - ).optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(UpdateProjectProjectsDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(UpdateProjectProjectsEnv$inboundSchema)), - expiration: types.optional(UpdateProjectExpiration$inboundSchema), - features: types.optional(UpdateProjectFeatures$inboundSchema), - framework: z.nullable(UpdateProjectProjectsFramework$inboundSchema) - .optional(), - gitComments: types.optional(UpdateProjectProjectsGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - UpdateProjectGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(UpdateProjectInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional(z.array(UpdateProjectIpBuckets$inboundSchema)), - jobs: types.optional(UpdateProjectJobs$inboundSchema), - lastAliasRequest: z.nullable(UpdateProjectLastAliasRequest$inboundSchema) - .optional(), - lastRollbackTarget: z.nullable(UpdateProjectLastRollbackTarget$inboundSchema) - .optional(), - latestDeployments: types.optional( - z.array(UpdateProjectLatestDeployments$inboundSchema), - ), - link: types.optional(UpdateProjectLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional(UpdateProjectMicrofrontends$inboundSchema), - name: types.string(), - nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - UpdateProjectProjectsOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable( - UpdateProjectProjectsOptionsAllowlist$inboundSchema, - ).optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(UpdateProjectProjectsPassport$inboundSchema).optional(), - passwordProtection: z.nullable( - UpdateProjectProjectsPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(UpdateProjectPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(UpdateProjectProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional(UpdateProjectProtectionConfig$inboundSchema), - resourceConfig: UpdateProjectProjectsResourceConfig$inboundSchema, - rollbackDescription: types.optional( - z.lazy(() => UpdateProjectRollbackDescription$inboundSchema), - ), - rollingRelease: z.nullable( - z.lazy(() => UpdateProjectRollingRelease$inboundSchema), - ).optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional( - z.lazy(() => UpdateProjectProjectsSandbox$inboundSchema), - ), - security: types.optional(z.lazy(() => UpdateProjectSecurity$inboundSchema)), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional( - z.array(z.lazy(() => UpdateProjectServices$inboundSchema)), - ), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional( - z.lazy(() => UpdateProjectSpeedInsights$inboundSchema), - ), - ssoProtection: z.nullable( - z.lazy(() => UpdateProjectProjectsSsoProtection$inboundSchema), - ).optional(), - staticIps: types.optional( - z.lazy(() => UpdateProjectProjectsStaticIps$inboundSchema), - ), - targets: types.optional( - z.record(types.nullable(z.lazy(() => UpdateProjectTargets$inboundSchema))), - ), - tier: types.optional(UpdateProjectTier$inboundSchema), - tracing: types.optional(z.lazy(() => UpdateProjectTracing$inboundSchema)), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable( - smartUnion([ - z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), - z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), - ]), - ).optional(), - trustedSources: z.nullable( - z.lazy(() => UpdateProjectTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => UpdateProjectUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => UpdateProjectVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => UpdateProjectWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(UpdateProjectAlias$inboundSchema), + analytics: types.optional(UpdateProjectAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(UpdateProjectBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(UpdateProjectConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(UpdateProjectCreator$inboundSchema), + crons: types.optional(UpdateProjectCrons$inboundSchema), + customEnvironments: types.optional( + z.array(UpdateProjectCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(UpdateProjectDataCache$inboundSchema), + defaultResourceConfig: UpdateProjectDefaultResourceConfig$inboundSchema, + deploymentExpiration: UpdateProjectDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable( + UpdateProjectProjectsDeploymentPolicy$inboundSchema, + ).optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(UpdateProjectProjectsDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(UpdateProjectProjectsEnv$inboundSchema)), + expiration: types.optional(UpdateProjectExpiration$inboundSchema), + features: types.optional(UpdateProjectFeatures$inboundSchema), + framework: z.nullable(UpdateProjectProjectsFramework$inboundSchema) + .optional(), + gitComments: types.optional(UpdateProjectProjectsGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + UpdateProjectGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(UpdateProjectInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional(z.array(UpdateProjectIpBuckets$inboundSchema)), + jobs: types.optional(UpdateProjectJobs$inboundSchema), + lastAliasRequest: z.nullable(UpdateProjectLastAliasRequest$inboundSchema) + .optional(), + lastRollbackTarget: z.nullable( + UpdateProjectLastRollbackTarget$inboundSchema, + ).optional(), + latestDeployments: types.optional( + z.array(UpdateProjectLatestDeployments$inboundSchema), + ), + link: types.optional(UpdateProjectLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional(UpdateProjectMicrofrontends$inboundSchema), + name: types.string(), + nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + UpdateProjectProjectsOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable( + UpdateProjectProjectsOptionsAllowlist$inboundSchema, + ).optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(UpdateProjectProjectsPassport$inboundSchema) + .optional(), + passwordProtection: z.nullable( + UpdateProjectProjectsPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(UpdateProjectPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(UpdateProjectProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + UpdateProjectProtectionConfig$inboundSchema, + ), + resourceConfig: UpdateProjectProjectsResourceConfig$inboundSchema, + rollbackDescription: types.optional( + z.lazy(() => UpdateProjectRollbackDescription$inboundSchema), + ), + rollingRelease: z.nullable( + z.lazy(() => UpdateProjectRollingRelease$inboundSchema), + ).optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional( + z.lazy(() => UpdateProjectProjectsSandbox$inboundSchema), + ), + security: types.optional(z.lazy(() => UpdateProjectSecurity$inboundSchema)), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(z.lazy(() => UpdateProjectServices$inboundSchema)), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + z.lazy(() => UpdateProjectSpeedInsights$inboundSchema), + ), + ssoProtection: z.nullable( + z.lazy(() => UpdateProjectProjectsSsoProtection$inboundSchema), + ).optional(), + staticIps: types.optional( + z.lazy(() => UpdateProjectProjectsStaticIps$inboundSchema), + ), + targets: types.optional( + z.record( + types.nullable(z.lazy(() => UpdateProjectTargets$inboundSchema)), + ), + ), + tier: types.optional(UpdateProjectTier$inboundSchema), + tracing: types.optional(z.lazy(() => UpdateProjectTracing$inboundSchema)), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable( + smartUnion([ + z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), + z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), + ]), + ).optional(), + trustedSources: z.nullable( + z.lazy(() => UpdateProjectTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => UpdateProjectUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => UpdateProjectVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => UpdateProjectWebAnalytics$inboundSchema), + ), + }) +); export function updateProjectResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.ts b/src/models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.ts index bacbfa4cd5..77fd31ea8a 100644 --- a/src/models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.ts +++ b/src/models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; export type UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody = { @@ -34,9 +35,11 @@ export const UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionReq UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody$Outbound, z.ZodTypeDef, UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody - > = z.object({ - description: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: z.string().optional(), + }) + ); export function updateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBodyToJSON( updateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody: @@ -66,17 +69,19 @@ export const UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionReq UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequest$Outbound, z.ZodTypeDef, UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequest - > = z.object({ - projectId: z.string(), - deploymentId: z.string(), - requestBody: z.lazy(() => - UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody$outboundSchema - ).optional(), - }).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + deploymentId: z.string(), + requestBody: z.lazy(() => + UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) + ); export function updateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequestToJSON( updateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequest: diff --git a/src/models/updaterecordop.ts b/src/models/updaterecordop.ts index fb038bd4cb..d2c527ad3b 100644 --- a/src/models/updaterecordop.ts +++ b/src/models/updaterecordop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -124,7 +124,7 @@ export type UpdateRecordResponseBody = { /** @internal */ export const UpdateRecordType$outboundSchema: z.ZodNativeEnum< typeof UpdateRecordType -> = z.nativeEnum(UpdateRecordType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateRecordType)); /** @internal */ export type Srv$Outbound = { @@ -135,13 +135,15 @@ export type Srv$Outbound = { }; /** @internal */ -export const Srv$outboundSchema: z.ZodType = z - .object({ - target: z.nullable(z.string()), - weight: z.nullable(z.number().int()), - port: z.nullable(z.number().int()), - priority: z.nullable(z.number().int()), - }); +export const Srv$outboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + target: z.nullable(z.string()), + weight: z.nullable(z.number().int()), + port: z.nullable(z.number().int()), + priority: z.nullable(z.number().int()), + }) + ); export function srvToJSON(srv: Srv): string { return JSON.stringify(Srv$outboundSchema.parse(srv)); @@ -159,11 +161,13 @@ export const Https$outboundSchema: z.ZodType< Https$Outbound, z.ZodTypeDef, Https -> = z.object({ - priority: z.nullable(z.number().int()), - target: z.nullable(z.string()), - params: z.nullable(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + priority: z.nullable(z.number().int()), + target: z.nullable(z.string()), + params: z.nullable(z.string()).optional(), + }) +); export function httpsToJSON(https: Https): string { return JSON.stringify(Https$outboundSchema.parse(https)); @@ -186,16 +190,18 @@ export const UpdateRecordRequestBody$outboundSchema: z.ZodType< UpdateRecordRequestBody$Outbound, z.ZodTypeDef, UpdateRecordRequestBody -> = z.object({ - name: z.nullable(z.string()).optional(), - value: z.nullable(z.string()).optional(), - type: z.nullable(UpdateRecordType$outboundSchema).optional(), - ttl: z.nullable(z.number().int()).optional(), - mxPriority: z.nullable(z.number().int()).optional(), - srv: z.nullable(z.lazy(() => Srv$outboundSchema)).optional(), - https: z.nullable(z.lazy(() => Https$outboundSchema)).optional(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.nullable(z.string()).optional(), + value: z.nullable(z.string()).optional(), + type: z.nullable(UpdateRecordType$outboundSchema).optional(), + ttl: z.nullable(z.number().int()).optional(), + mxPriority: z.nullable(z.number().int()).optional(), + srv: z.nullable(z.lazy(() => Srv$outboundSchema)).optional(), + https: z.nullable(z.lazy(() => Https$outboundSchema)).optional(), + comment: z.string().optional(), + }) +); export function updateRecordRequestBodyToJSON( updateRecordRequestBody: UpdateRecordRequestBody, @@ -218,16 +224,18 @@ export const UpdateRecordRequest$outboundSchema: z.ZodType< UpdateRecordRequest$Outbound, z.ZodTypeDef, UpdateRecordRequest -> = z.object({ - recordId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateRecordRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + recordId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateRecordRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateRecordRequestToJSON( updateRecordRequest: UpdateRecordRequest, @@ -240,30 +248,32 @@ export function updateRecordRequestToJSON( /** @internal */ export const UpdateRecordRecordType$inboundSchema: z.ZodNativeEnum< typeof UpdateRecordRecordType -> = z.nativeEnum(UpdateRecordRecordType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateRecordRecordType)); /** @internal */ export const UpdateRecordDnsType$inboundSchema: z.ZodNativeEnum< typeof UpdateRecordDnsType -> = z.nativeEnum(UpdateRecordDnsType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateRecordDnsType)); /** @internal */ export const UpdateRecordResponseBody$inboundSchema: z.ZodType< UpdateRecordResponseBody, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - createdAt: z.nullable(types.number()).optional(), - creator: types.string(), - domain: types.string(), - id: types.string(), - name: types.string(), - recordType: UpdateRecordRecordType$inboundSchema, - ttl: types.optional(types.number()), - type: UpdateRecordDnsType$inboundSchema, - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + createdAt: z.nullable(types.number()).optional(), + creator: types.string(), + domain: types.string(), + id: types.string(), + name: types.string(), + recordType: UpdateRecordRecordType$inboundSchema, + ttl: types.optional(types.number()), + type: UpdateRecordDnsType$inboundSchema, + value: types.string(), + }) +); export function updateRecordResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateresourceop.ts b/src/models/updateresourceop.ts index 57107a9c1d..52607276e9 100644 --- a/src/models/updateresourceop.ts +++ b/src/models/updateresourceop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -223,17 +223,17 @@ export type UpdateResourceResponseBody = { /** @internal */ export const UpdateResourceOwnership$outboundSchema: z.ZodNativeEnum< typeof UpdateResourceOwnership -> = z.nativeEnum(UpdateResourceOwnership); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateResourceOwnership)); /** @internal */ export const UpdateResourceStatus$outboundSchema: z.ZodNativeEnum< typeof UpdateResourceStatus -> = z.nativeEnum(UpdateResourceStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateResourceStatus)); /** @internal */ export const UpdateResourceType$outboundSchema: z.ZodNativeEnum< typeof UpdateResourceType -> = z.nativeEnum(UpdateResourceType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateResourceType)); /** @internal */ export type UpdateResourceDetails$Outbound = { @@ -246,10 +246,12 @@ export const UpdateResourceDetails$outboundSchema: z.ZodType< UpdateResourceDetails$Outbound, z.ZodTypeDef, UpdateResourceDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function updateResourceDetailsToJSON( updateResourceDetails: UpdateResourceDetails, @@ -270,10 +272,12 @@ export const UpdateResourceHighlightedDetails$outboundSchema: z.ZodType< UpdateResourceHighlightedDetails$Outbound, z.ZodTypeDef, UpdateResourceHighlightedDetails -> = z.object({ - label: z.string(), - value: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + label: z.string(), + value: z.string().optional(), + }) +); export function updateResourceHighlightedDetailsToJSON( updateResourceHighlightedDetails: UpdateResourceHighlightedDetails, @@ -306,28 +310,30 @@ export const UpdateResourceBillingPlan$outboundSchema: z.ZodType< UpdateResourceBillingPlan$Outbound, z.ZodTypeDef, UpdateResourceBillingPlan -> = z.object({ - id: z.string(), - type: UpdateResourceType$outboundSchema, - name: z.string(), - description: z.string().optional(), - paymentMethodRequired: z.boolean().optional(), - cost: z.string().optional(), - details: z.array(z.lazy(() => UpdateResourceDetails$outboundSchema)) - .optional(), - highlightedDetails: z.array( - z.lazy(() => UpdateResourceHighlightedDetails$outboundSchema), - ).optional(), - effectiveDate: z.string().optional(), - additionalProperties: z.record(z.any()).optional(), -}).transform((v) => { - return { - ...v.additionalProperties, - ...remap$(v, { - additionalProperties: null, - }), - }; -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + type: UpdateResourceType$outboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => UpdateResourceDetails$outboundSchema)) + .optional(), + highlightedDetails: z.array( + z.lazy(() => UpdateResourceHighlightedDetails$outboundSchema), + ).optional(), + effectiveDate: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), + }).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; + }) +); export function updateResourceBillingPlanToJSON( updateResourceBillingPlan: UpdateResourceBillingPlan, @@ -340,7 +346,7 @@ export function updateResourceBillingPlanToJSON( /** @internal */ export const NotificationLevel$outboundSchema: z.ZodNativeEnum< typeof NotificationLevel -> = z.nativeEnum(NotificationLevel); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NotificationLevel)); /** @internal */ export type UpdateResourceNotification1$Outbound = { @@ -355,12 +361,14 @@ export const UpdateResourceNotification1$outboundSchema: z.ZodType< UpdateResourceNotification1$Outbound, z.ZodTypeDef, UpdateResourceNotification1 -> = z.object({ - level: NotificationLevel$outboundSchema, - title: z.string(), - message: z.string().optional(), - href: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + level: NotificationLevel$outboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), + }) +); export function updateResourceNotification1ToJSON( updateResourceNotification1: UpdateResourceNotification1, @@ -382,10 +390,12 @@ export const UpdateResourceNotification$outboundSchema: z.ZodType< UpdateResourceNotification$Outbound, z.ZodTypeDef, UpdateResourceNotification -> = smartUnion([ - z.lazy(() => UpdateResourceNotification1$outboundSchema), - z.string(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateResourceNotification1$outboundSchema), + z.string(), + ]) +); export function updateResourceNotificationToJSON( updateResourceNotification: UpdateResourceNotification, @@ -408,11 +418,13 @@ export const UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema UpdateResourceSecretsMarketplaceEnvironmentOverrides$Outbound, z.ZodTypeDef, UpdateResourceSecretsMarketplaceEnvironmentOverrides - > = z.object({ - development: z.string().optional(), - preview: z.string().optional(), - production: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }) + ); export function updateResourceSecretsMarketplaceEnvironmentOverridesToJSON( updateResourceSecretsMarketplaceEnvironmentOverrides: @@ -440,14 +452,16 @@ export const SecretsSecrets$outboundSchema: z.ZodType< SecretsSecrets$Outbound, z.ZodTypeDef, SecretsSecrets -> = z.object({ - name: z.string(), - value: z.string(), - prefix: z.string().optional(), - environmentOverrides: z.lazy(() => - UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema + ).optional(), + }) +); export function secretsSecretsToJSON(secretsSecrets: SecretsSecrets): string { return JSON.stringify(SecretsSecrets$outboundSchema.parse(secretsSecrets)); @@ -464,10 +478,12 @@ export const Secrets2$outboundSchema: z.ZodType< Secrets2$Outbound, z.ZodTypeDef, Secrets2 -> = z.object({ - secrets: z.array(z.lazy(() => SecretsSecrets$outboundSchema)), - partial: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secrets: z.array(z.lazy(() => SecretsSecrets$outboundSchema)), + partial: z.boolean().optional(), + }) +); export function secrets2ToJSON(secrets2: Secrets2): string { return JSON.stringify(Secrets2$outboundSchema.parse(secrets2)); @@ -485,11 +501,13 @@ export const SecretsEnvironmentOverrides$outboundSchema: z.ZodType< SecretsEnvironmentOverrides$Outbound, z.ZodTypeDef, SecretsEnvironmentOverrides -> = z.object({ - development: z.string().optional(), - preview: z.string().optional(), - production: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }) +); export function secretsEnvironmentOverridesToJSON( secretsEnvironmentOverrides: SecretsEnvironmentOverrides, @@ -514,13 +532,16 @@ export const Secrets1$outboundSchema: z.ZodType< Secrets1$Outbound, z.ZodTypeDef, Secrets1 -> = z.object({ - name: z.string(), - value: z.string(), - prefix: z.string().optional(), - environmentOverrides: z.lazy(() => SecretsEnvironmentOverrides$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + SecretsEnvironmentOverrides$outboundSchema + ).optional(), + }) +); export function secrets1ToJSON(secrets1: Secrets1): string { return JSON.stringify(Secrets1$outboundSchema.parse(secrets1)); @@ -536,10 +557,12 @@ export const UpdateResourceSecrets$outboundSchema: z.ZodType< UpdateResourceSecrets$Outbound, z.ZodTypeDef, UpdateResourceSecrets -> = smartUnion([ - z.lazy(() => Secrets2$outboundSchema), - z.array(z.lazy(() => Secrets1$outboundSchema)), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Secrets2$outboundSchema), + z.array(z.lazy(() => Secrets1$outboundSchema)), + ]) +); export function updateResourceSecretsToJSON( updateResourceSecrets: UpdateResourceSecrets, @@ -560,10 +583,12 @@ export const UpdateResourceWhen$outboundSchema: z.ZodType< UpdateResourceWhen$Outbound, z.ZodTypeDef, UpdateResourceWhen -> = z.object({ - role: z.array(z.string()).optional(), - environment: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + role: z.array(z.string()).optional(), + environment: z.array(z.string()).optional(), + }) +); export function updateResourceWhenToJSON( updateResourceWhen: UpdateResourceWhen, @@ -581,7 +606,9 @@ export const UpdateResourceClaims1$outboundSchema: z.ZodType< UpdateResourceClaims1$Outbound, z.ZodTypeDef, UpdateResourceClaims1 -> = smartUnion([z.string(), z.number(), z.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.string(), z.number(), z.boolean()]) +); export function updateResourceClaims1ToJSON( updateResourceClaims1: UpdateResourceClaims1, @@ -603,10 +630,12 @@ export const UpdateResourceClaims$outboundSchema: z.ZodType< UpdateResourceClaims$Outbound, z.ZodTypeDef, UpdateResourceClaims -> = smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]) +); export function updateResourceClaimsToJSON( updateResourceClaims: UpdateResourceClaims, @@ -627,17 +656,19 @@ export const UpdateResourceClaimRules$outboundSchema: z.ZodType< UpdateResourceClaimRules$Outbound, z.ZodTypeDef, UpdateResourceClaimRules -> = z.object({ - when: z.lazy(() => UpdateResourceWhen$outboundSchema).optional(), - claims: z.record( - z.nullable( - smartUnion([ - smartUnion([z.string(), z.number(), z.boolean()]), - z.array(z.string()), - ]), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + when: z.lazy(() => UpdateResourceWhen$outboundSchema).optional(), + claims: z.record( + z.nullable( + smartUnion([ + smartUnion([z.string(), z.number(), z.boolean()]), + z.array(z.string()), + ]), + ), ), - ), -}); + }) +); export function updateResourceClaimRulesToJSON( updateResourceClaimRules: UpdateResourceClaimRules, @@ -659,12 +690,14 @@ export const UpdateResourceCustomClaims$outboundSchema: z.ZodType< UpdateResourceCustomClaims$Outbound, z.ZodTypeDef, UpdateResourceCustomClaims -> = z.object({ - roles: z.array(z.string()).optional(), - defaultRole: z.string().optional(), - claimRules: z.array(z.lazy(() => UpdateResourceClaimRules$outboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + roles: z.array(z.string()).optional(), + defaultRole: z.string().optional(), + claimRules: z.array(z.lazy(() => UpdateResourceClaimRules$outboundSchema)) + .optional(), + }) +); export function updateResourceCustomClaimsToJSON( updateResourceCustomClaims: UpdateResourceCustomClaims, @@ -677,7 +710,7 @@ export function updateResourceCustomClaimsToJSON( /** @internal */ export const CredentialTypes$outboundSchema: z.ZodNativeEnum< typeof CredentialTypes -> = z.nativeEnum(CredentialTypes); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CredentialTypes)); /** @internal */ export type UpdateResourceRequestBody$Outbound = { @@ -698,26 +731,28 @@ export const UpdateResourceRequestBody$outboundSchema: z.ZodType< UpdateResourceRequestBody$Outbound, z.ZodTypeDef, UpdateResourceRequestBody -> = z.object({ - ownership: UpdateResourceOwnership$outboundSchema.optional(), - name: z.string().optional(), - status: UpdateResourceStatus$outboundSchema.optional(), - metadata: z.record(z.any()).optional(), - billingPlan: z.lazy(() => UpdateResourceBillingPlan$outboundSchema) - .optional(), - notification: smartUnion([ - z.lazy(() => UpdateResourceNotification1$outboundSchema), - z.string(), - ]).optional(), - extras: z.record(z.any()).optional(), - secrets: smartUnion([ - z.lazy(() => Secrets2$outboundSchema), - z.array(z.lazy(() => Secrets1$outboundSchema)), - ]).optional(), - customClaims: z.lazy(() => UpdateResourceCustomClaims$outboundSchema) - .optional(), - credentialTypes: z.array(CredentialTypes$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ownership: UpdateResourceOwnership$outboundSchema.optional(), + name: z.string().optional(), + status: UpdateResourceStatus$outboundSchema.optional(), + metadata: z.record(z.any()).optional(), + billingPlan: z.lazy(() => UpdateResourceBillingPlan$outboundSchema) + .optional(), + notification: smartUnion([ + z.lazy(() => UpdateResourceNotification1$outboundSchema), + z.string(), + ]).optional(), + extras: z.record(z.any()).optional(), + secrets: smartUnion([ + z.lazy(() => Secrets2$outboundSchema), + z.array(z.lazy(() => Secrets1$outboundSchema)), + ]).optional(), + customClaims: z.lazy(() => UpdateResourceCustomClaims$outboundSchema) + .optional(), + credentialTypes: z.array(CredentialTypes$outboundSchema).optional(), + }) +); export function updateResourceRequestBodyToJSON( updateResourceRequestBody: UpdateResourceRequestBody, @@ -739,16 +774,18 @@ export const UpdateResourceRequest$outboundSchema: z.ZodType< UpdateResourceRequest$Outbound, z.ZodTypeDef, UpdateResourceRequest -> = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => UpdateResourceRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => UpdateResourceRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateResourceRequestToJSON( updateResourceRequest: UpdateResourceRequest, @@ -763,9 +800,11 @@ export const UpdateResourceResponseBody$inboundSchema: z.ZodType< UpdateResourceResponseBody, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function updateResourceResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateresourcesecretsbyidop.ts b/src/models/updateresourcesecretsbyidop.ts index 8fd50389ab..61fefeecd4 100644 --- a/src/models/updateresourcesecretsbyidop.ts +++ b/src/models/updateresourcesecretsbyidop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; /** * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. @@ -62,11 +63,13 @@ export const UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema: UpdateResourceSecretsByIdEnvironmentOverrides$Outbound, z.ZodTypeDef, UpdateResourceSecretsByIdEnvironmentOverrides - > = z.object({ - development: z.string().optional(), - preview: z.string().optional(), - production: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }) + ); export function updateResourceSecretsByIdEnvironmentOverridesToJSON( updateResourceSecretsByIdEnvironmentOverrides: @@ -94,14 +97,16 @@ export const UpdateResourceSecretsByIdSecrets$outboundSchema: z.ZodType< UpdateResourceSecretsByIdSecrets$Outbound, z.ZodTypeDef, UpdateResourceSecretsByIdSecrets -> = z.object({ - name: z.string(), - value: z.string(), - prefix: z.string().optional(), - environmentOverrides: z.lazy(() => - UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema + ).optional(), + }) +); export function updateResourceSecretsByIdSecretsToJSON( updateResourceSecretsByIdSecrets: UpdateResourceSecretsByIdSecrets, @@ -124,12 +129,14 @@ export const UpdateResourceSecretsByIdRequestBody$outboundSchema: z.ZodType< UpdateResourceSecretsByIdRequestBody$Outbound, z.ZodTypeDef, UpdateResourceSecretsByIdRequestBody -> = z.object({ - secrets: z.array( - z.lazy(() => UpdateResourceSecretsByIdSecrets$outboundSchema), - ), - partial: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secrets: z.array( + z.lazy(() => UpdateResourceSecretsByIdSecrets$outboundSchema), + ), + partial: z.boolean().optional(), + }) +); export function updateResourceSecretsByIdRequestBodyToJSON( updateResourceSecretsByIdRequestBody: UpdateResourceSecretsByIdRequestBody, @@ -153,16 +160,19 @@ export const UpdateResourceSecretsByIdRequest$outboundSchema: z.ZodType< UpdateResourceSecretsByIdRequest$Outbound, z.ZodTypeDef, UpdateResourceSecretsByIdRequest -> = z.object({ - integrationConfigurationId: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => UpdateResourceSecretsByIdRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => + UpdateResourceSecretsByIdRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateResourceSecretsByIdRequestToJSON( updateResourceSecretsByIdRequest: UpdateResourceSecretsByIdRequest, diff --git a/src/models/updateresourcesecretsop.ts b/src/models/updateresourcesecretsop.ts index 943f417699..ae38d21efb 100644 --- a/src/models/updateresourcesecretsop.ts +++ b/src/models/updateresourcesecretsop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; /** * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. @@ -61,11 +62,13 @@ export const UpdateResourceSecretsEnvironmentOverrides$outboundSchema: UpdateResourceSecretsEnvironmentOverrides$Outbound, z.ZodTypeDef, UpdateResourceSecretsEnvironmentOverrides - > = z.object({ - development: z.string().optional(), - preview: z.string().optional(), - production: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }) + ); export function updateResourceSecretsEnvironmentOverridesToJSON( updateResourceSecretsEnvironmentOverrides: @@ -93,14 +96,16 @@ export const UpdateResourceSecretsSecrets$outboundSchema: z.ZodType< UpdateResourceSecretsSecrets$Outbound, z.ZodTypeDef, UpdateResourceSecretsSecrets -> = z.object({ - name: z.string(), - value: z.string(), - prefix: z.string().optional(), - environmentOverrides: z.lazy(() => - UpdateResourceSecretsEnvironmentOverrides$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + UpdateResourceSecretsEnvironmentOverrides$outboundSchema + ).optional(), + }) +); export function updateResourceSecretsSecretsToJSON( updateResourceSecretsSecrets: UpdateResourceSecretsSecrets, @@ -123,10 +128,12 @@ export const UpdateResourceSecretsRequestBody$outboundSchema: z.ZodType< UpdateResourceSecretsRequestBody$Outbound, z.ZodTypeDef, UpdateResourceSecretsRequestBody -> = z.object({ - secrets: z.array(z.lazy(() => UpdateResourceSecretsSecrets$outboundSchema)), - partial: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + secrets: z.array(z.lazy(() => UpdateResourceSecretsSecrets$outboundSchema)), + partial: z.boolean().optional(), + }) +); export function updateResourceSecretsRequestBodyToJSON( updateResourceSecretsRequestBody: UpdateResourceSecretsRequestBody, @@ -151,16 +158,18 @@ export const UpdateResourceSecretsRequest$outboundSchema: z.ZodType< UpdateResourceSecretsRequest$Outbound, z.ZodTypeDef, UpdateResourceSecretsRequest -> = z.object({ - integrationConfigurationId: z.string(), - integrationProductIdOrSlug: z.string(), - resourceId: z.string(), - requestBody: z.lazy(() => UpdateResourceSecretsRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => UpdateResourceSecretsRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateResourceSecretsRequestToJSON( updateResourceSecretsRequest: UpdateResourceSecretsRequest, diff --git a/src/models/updaterollingreleaseconfigop.ts b/src/models/updaterollingreleaseconfigop.ts index 50a4ceb25d..507d931fe4 100644 --- a/src/models/updaterollingreleaseconfigop.ts +++ b/src/models/updaterollingreleaseconfigop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -77,11 +77,13 @@ export const UpdateRollingReleaseConfigRequest$outboundSchema: z.ZodType< UpdateRollingReleaseConfigRequest$Outbound, z.ZodTypeDef, UpdateRollingReleaseConfigRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function updateRollingReleaseConfigRequestToJSON( updateRollingReleaseConfigRequest: UpdateRollingReleaseConfigRequest, @@ -99,12 +101,14 @@ export const UpdateRollingReleaseConfigResponseBodyStages$inboundSchema: UpdateRollingReleaseConfigResponseBodyStages, z.ZodTypeDef, unknown - > = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) + ); export function updateRollingReleaseConfigResponseBodyStagesFromJSON( jsonString: string, @@ -128,13 +132,13 @@ export const UpdateRollingReleaseConfigResponseBodyRollingRelease$inboundSchema: UpdateRollingReleaseConfigResponseBodyRollingRelease, z.ZodTypeDef, unknown - > = z.object({ - stages: z.nullable( - z.array(z.lazy(() => + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + stages: z.nullable(z.array(z.lazy(() => UpdateRollingReleaseConfigResponseBodyStages$inboundSchema - )), - ).optional(), - }); + ))).optional(), + }) + ); export function updateRollingReleaseConfigResponseBodyRollingReleaseFromJSON( jsonString: string, @@ -157,13 +161,13 @@ export const UpdateRollingReleaseConfigResponseBody2$inboundSchema: z.ZodType< UpdateRollingReleaseConfigResponseBody2, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: types.nullable( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: types.nullable(z.lazy(() => UpdateRollingReleaseConfigResponseBodyRollingRelease$inboundSchema - ), - ), -}); + )), + }) +); export function updateRollingReleaseConfigResponseBody2FromJSON( jsonString: string, @@ -186,9 +190,11 @@ export const UpdateRollingReleaseConfigResponseBody1$inboundSchema: z.ZodType< UpdateRollingReleaseConfigResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - rollingRelease: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rollingRelease: z.nullable(z.any()).optional(), + }) +); export function updateRollingReleaseConfigResponseBody1FromJSON( jsonString: string, @@ -211,10 +217,12 @@ export const UpdateRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< UpdateRollingReleaseConfigResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UpdateRollingReleaseConfigResponseBody1$inboundSchema), - z.lazy(() => UpdateRollingReleaseConfigResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateRollingReleaseConfigResponseBody1$inboundSchema), + z.lazy(() => UpdateRollingReleaseConfigResponseBody2$inboundSchema), + ]) +); export function updateRollingReleaseConfigResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updaterouteversionsop.ts b/src/models/updaterouteversionsop.ts index 480fa872f0..bddf42f9a0 100644 --- a/src/models/updaterouteversionsop.ts +++ b/src/models/updaterouteversionsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -85,7 +85,7 @@ export type UpdateRouteVersionsResponseBody = { /** @internal */ export const UpdateRouteVersionsAction$outboundSchema: z.ZodNativeEnum< typeof UpdateRouteVersionsAction -> = z.nativeEnum(UpdateRouteVersionsAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateRouteVersionsAction)); /** @internal */ export type UpdateRouteVersionsRequestBody$Outbound = { @@ -98,10 +98,12 @@ export const UpdateRouteVersionsRequestBody$outboundSchema: z.ZodType< UpdateRouteVersionsRequestBody$Outbound, z.ZodTypeDef, UpdateRouteVersionsRequestBody -> = z.object({ - id: z.string(), - action: UpdateRouteVersionsAction$outboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + action: UpdateRouteVersionsAction$outboundSchema, + }) +); export function updateRouteVersionsRequestBodyToJSON( updateRouteVersionsRequestBody: UpdateRouteVersionsRequestBody, @@ -126,17 +128,19 @@ export const UpdateRouteVersionsRequest$outboundSchema: z.ZodType< UpdateRouteVersionsRequest$Outbound, z.ZodTypeDef, UpdateRouteVersionsRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateRouteVersionsRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateRouteVersionsRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateRouteVersionsRequestToJSON( updateRouteVersionsRequest: UpdateRouteVersionsRequest, @@ -151,16 +155,18 @@ export const UpdateRouteVersionsVersion$inboundSchema: z.ZodType< UpdateRouteVersionsVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - lastModified: types.number(), - ruleCount: types.optional(types.number()), - s3Key: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + lastModified: types.number(), + ruleCount: types.optional(types.number()), + s3Key: types.string(), + }) +); export function updateRouteVersionsVersionFromJSON( jsonString: string, @@ -177,9 +183,11 @@ export const UpdateRouteVersionsResponseBody$inboundSchema: z.ZodType< UpdateRouteVersionsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - version: z.lazy(() => UpdateRouteVersionsVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.lazy(() => UpdateRouteVersionsVersion$inboundSchema), + }) +); export function updateRouteVersionsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatesessionnetworkpolicyop.ts b/src/models/updatesessionnetworkpolicyop.ts index 58ebd238a8..477746f8de 100644 --- a/src/models/updatesessionnetworkpolicyop.ts +++ b/src/models/updatesessionnetworkpolicyop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -399,10 +399,12 @@ export const UpdateSessionNetworkPolicyAllowPath$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowPath$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowPath -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function updateSessionNetworkPolicyAllowPathToJSON( updateSessionNetworkPolicyAllowPath: UpdateSessionNetworkPolicyAllowPath, @@ -425,10 +427,12 @@ export const UpdateSessionNetworkPolicyAllowKey$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowKey$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowKey -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function updateSessionNetworkPolicyAllowKeyToJSON( updateSessionNetworkPolicyAllowKey: UpdateSessionNetworkPolicyAllowKey, @@ -451,10 +455,12 @@ export const UpdateSessionNetworkPolicyAllowValue$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowValue$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowValue -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function updateSessionNetworkPolicyAllowValueToJSON( updateSessionNetworkPolicyAllowValue: UpdateSessionNetworkPolicyAllowValue, @@ -478,12 +484,14 @@ export const UpdateSessionNetworkPolicyAllowQueryString$outboundSchema: UpdateSessionNetworkPolicyAllowQueryString$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowQueryString - > = z.object({ - key: z.lazy(() => UpdateSessionNetworkPolicyAllowKey$outboundSchema) - .optional(), - value: z.lazy(() => UpdateSessionNetworkPolicyAllowValue$outboundSchema) - .optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.lazy(() => UpdateSessionNetworkPolicyAllowKey$outboundSchema) + .optional(), + value: z.lazy(() => UpdateSessionNetworkPolicyAllowValue$outboundSchema) + .optional(), + }) + ); export function updateSessionNetworkPolicyAllowQueryStringToJSON( updateSessionNetworkPolicyAllowQueryString: @@ -508,10 +516,12 @@ export const UpdateSessionNetworkPolicyAllowSandboxesKey$outboundSchema: UpdateSessionNetworkPolicyAllowSandboxesKey$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowSandboxesKey - > = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) + ); export function updateSessionNetworkPolicyAllowSandboxesKeyToJSON( updateSessionNetworkPolicyAllowSandboxesKey: @@ -536,10 +546,12 @@ export const UpdateSessionNetworkPolicyAllowSandboxesValue$outboundSchema: UpdateSessionNetworkPolicyAllowSandboxesValue$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowSandboxesValue - > = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) + ); export function updateSessionNetworkPolicyAllowSandboxesValueToJSON( updateSessionNetworkPolicyAllowSandboxesValue: @@ -563,13 +575,16 @@ export const UpdateSessionNetworkPolicyAllowHeaders$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowHeaders$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowHeaders -> = z.object({ - key: z.lazy(() => UpdateSessionNetworkPolicyAllowSandboxesKey$outboundSchema) - .optional(), - value: z.lazy(() => - UpdateSessionNetworkPolicyAllowSandboxesValue$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.lazy(() => + UpdateSessionNetworkPolicyAllowSandboxesKey$outboundSchema + ).optional(), + value: z.lazy(() => + UpdateSessionNetworkPolicyAllowSandboxesValue$outboundSchema + ).optional(), + }) +); export function updateSessionNetworkPolicyAllowHeadersToJSON( updateSessionNetworkPolicyAllowHeaders: @@ -597,17 +612,19 @@ export const UpdateSessionNetworkPolicyAllowMatch$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowMatch$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowMatch -> = z.object({ - path: z.lazy(() => UpdateSessionNetworkPolicyAllowPath$outboundSchema) - .optional(), - method: z.array(z.string()).optional(), - queryString: z.array( - z.lazy(() => UpdateSessionNetworkPolicyAllowQueryString$outboundSchema), - ).optional(), - headers: z.array( - z.lazy(() => UpdateSessionNetworkPolicyAllowHeaders$outboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: z.lazy(() => UpdateSessionNetworkPolicyAllowPath$outboundSchema) + .optional(), + method: z.array(z.string()).optional(), + queryString: z.array( + z.lazy(() => UpdateSessionNetworkPolicyAllowQueryString$outboundSchema), + ).optional(), + headers: z.array( + z.lazy(() => UpdateSessionNetworkPolicyAllowHeaders$outboundSchema), + ).optional(), + }) +); export function updateSessionNetworkPolicyAllowMatchToJSON( updateSessionNetworkPolicyAllowMatch: UpdateSessionNetworkPolicyAllowMatch, @@ -629,9 +646,11 @@ export const UpdateSessionNetworkPolicyAllowTransform$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowTransform$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowTransform -> = z.object({ - headers: z.record(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + headers: z.record(z.string()).optional(), + }) +); export function updateSessionNetworkPolicyAllowTransformToJSON( updateSessionNetworkPolicyAllowTransform: @@ -657,12 +676,14 @@ export const UpdateSessionNetworkPolicyAllowResponse$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllowResponse$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllowResponse -> = z.object({ - statusCode: z.number().int(), - headers: z.record(z.string()).optional(), - body: z.string().optional(), - contentType: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + statusCode: z.number().int(), + headers: z.record(z.string()).optional(), + body: z.string().optional(), + contentType: z.string().optional(), + }) +); export function updateSessionNetworkPolicyAllowResponseToJSON( updateSessionNetworkPolicyAllowResponse: @@ -690,16 +711,19 @@ export const UpdateSessionNetworkPolicyAllow2$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyAllow2$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyAllow2 -> = z.object({ - match: z.lazy(() => UpdateSessionNetworkPolicyAllowMatch$outboundSchema) - .optional(), - transform: z.array( - z.lazy(() => UpdateSessionNetworkPolicyAllowTransform$outboundSchema), - ).optional(), - forwardURL: z.string().optional(), - response: z.lazy(() => UpdateSessionNetworkPolicyAllowResponse$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + match: z.lazy(() => UpdateSessionNetworkPolicyAllowMatch$outboundSchema) + .optional(), + transform: z.array( + z.lazy(() => UpdateSessionNetworkPolicyAllowTransform$outboundSchema), + ).optional(), + forwardURL: z.string().optional(), + response: z.lazy(() => + UpdateSessionNetworkPolicyAllowResponse$outboundSchema + ).optional(), + }) +); export function updateSessionNetworkPolicyAllow2ToJSON( updateSessionNetworkPolicyAllow2: UpdateSessionNetworkPolicyAllow2, @@ -721,12 +745,14 @@ export const RequestBodyAllow$outboundSchema: z.ZodType< RequestBodyAllow$Outbound, z.ZodTypeDef, RequestBodyAllow -> = smartUnion([ - z.array(z.string()), - z.record( - z.array(z.lazy(() => UpdateSessionNetworkPolicyAllow2$outboundSchema)), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.string()), + z.record( + z.array(z.lazy(() => UpdateSessionNetworkPolicyAllow2$outboundSchema)), + ), + ]) +); export function requestBodyAllowToJSON( requestBodyAllow: RequestBodyAllow, @@ -747,10 +773,12 @@ export const RequestBodySubnets$outboundSchema: z.ZodType< RequestBodySubnets$Outbound, z.ZodTypeDef, RequestBodySubnets -> = z.object({ - allow: z.array(z.string()).optional(), - deny: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allow: z.array(z.string()).optional(), + deny: z.array(z.string()).optional(), + }) +); export function requestBodySubnetsToJSON( requestBodySubnets: RequestBodySubnets, @@ -773,15 +801,17 @@ export const UpdateSessionNetworkPolicyRequestBody2$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyRequestBody2$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBody2 -> = z.object({ - allow: smartUnion([ - z.array(z.string()), - z.record( - z.array(z.lazy(() => UpdateSessionNetworkPolicyAllow2$outboundSchema)), - ), - ]).optional(), - subnets: z.lazy(() => RequestBodySubnets$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allow: smartUnion([ + z.array(z.string()), + z.record( + z.array(z.lazy(() => UpdateSessionNetworkPolicyAllow2$outboundSchema)), + ), + ]).optional(), + subnets: z.lazy(() => RequestBodySubnets$outboundSchema).optional(), + }) +); export function updateSessionNetworkPolicyRequestBody2ToJSON( updateSessionNetworkPolicyRequestBody2: @@ -796,8 +826,10 @@ export function updateSessionNetworkPolicyRequestBody2ToJSON( /** @internal */ export const UpdateSessionNetworkPolicyRequestBodyMode$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateSessionNetworkPolicyRequestBodyMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSessionNetworkPolicyRequestBodyMode) + ); /** @internal */ export type RequestBodyPath$Outbound = { @@ -810,10 +842,12 @@ export const RequestBodyPath$outboundSchema: z.ZodType< RequestBodyPath$Outbound, z.ZodTypeDef, RequestBodyPath -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function requestBodyPathToJSON( requestBodyPath: RequestBodyPath, @@ -832,10 +866,12 @@ export const RequestBodyKey$outboundSchema: z.ZodType< RequestBodyKey$Outbound, z.ZodTypeDef, RequestBodyKey -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function requestBodyKeyToJSON(requestBodyKey: RequestBodyKey): string { return JSON.stringify(RequestBodyKey$outboundSchema.parse(requestBodyKey)); @@ -853,10 +889,12 @@ export const UpdateSessionNetworkPolicyRequestBodySandboxesValue$outboundSchema: UpdateSessionNetworkPolicyRequestBodySandboxesValue$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBodySandboxesValue - > = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) + ); export function updateSessionNetworkPolicyRequestBodySandboxesValueToJSON( updateSessionNetworkPolicyRequestBodySandboxesValue: @@ -882,12 +920,14 @@ export const RequestBodyQueryString$outboundSchema: z.ZodType< RequestBodyQueryString$Outbound, z.ZodTypeDef, RequestBodyQueryString -> = z.object({ - key: z.lazy(() => RequestBodyKey$outboundSchema).optional(), - value: z.lazy(() => - UpdateSessionNetworkPolicyRequestBodySandboxesValue$outboundSchema - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.lazy(() => RequestBodyKey$outboundSchema).optional(), + value: z.lazy(() => + UpdateSessionNetworkPolicyRequestBodySandboxesValue$outboundSchema + ).optional(), + }) +); export function requestBodyQueryStringToJSON( requestBodyQueryString: RequestBodyQueryString, @@ -908,10 +948,12 @@ export const UpdateSessionNetworkPolicyRequestBodyKey$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyRequestBodyKey$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBodyKey -> = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) +); export function updateSessionNetworkPolicyRequestBodyKeyToJSON( updateSessionNetworkPolicyRequestBodyKey: @@ -936,10 +978,12 @@ export const UpdateSessionNetworkPolicyRequestBodyValue$outboundSchema: UpdateSessionNetworkPolicyRequestBodyValue$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBodyValue - > = z.object({ - exact: z.string().optional(), - startsWith: z.string().optional(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + exact: z.string().optional(), + startsWith: z.string().optional(), + }) + ); export function updateSessionNetworkPolicyRequestBodyValueToJSON( updateSessionNetworkPolicyRequestBodyValue: @@ -963,12 +1007,15 @@ export const RequestBodyHeaders$outboundSchema: z.ZodType< RequestBodyHeaders$Outbound, z.ZodTypeDef, RequestBodyHeaders -> = z.object({ - key: z.lazy(() => UpdateSessionNetworkPolicyRequestBodyKey$outboundSchema) - .optional(), - value: z.lazy(() => UpdateSessionNetworkPolicyRequestBodyValue$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.lazy(() => UpdateSessionNetworkPolicyRequestBodyKey$outboundSchema) + .optional(), + value: z.lazy(() => + UpdateSessionNetworkPolicyRequestBodyValue$outboundSchema + ).optional(), + }) +); export function requestBodyHeadersToJSON( requestBodyHeaders: RequestBodyHeaders, @@ -991,13 +1038,16 @@ export const RequestBodyMatch$outboundSchema: z.ZodType< RequestBodyMatch$Outbound, z.ZodTypeDef, RequestBodyMatch -> = z.object({ - path: z.lazy(() => RequestBodyPath$outboundSchema).optional(), - method: z.array(z.string()).optional(), - queryString: z.array(z.lazy(() => RequestBodyQueryString$outboundSchema)) - .optional(), - headers: z.array(z.lazy(() => RequestBodyHeaders$outboundSchema)).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: z.lazy(() => RequestBodyPath$outboundSchema).optional(), + method: z.array(z.string()).optional(), + queryString: z.array(z.lazy(() => RequestBodyQueryString$outboundSchema)) + .optional(), + headers: z.array(z.lazy(() => RequestBodyHeaders$outboundSchema)) + .optional(), + }) +); export function requestBodyMatchToJSON( requestBodyMatch: RequestBodyMatch, @@ -1019,11 +1069,13 @@ export const RequestBodyInjectionRules$outboundSchema: z.ZodType< RequestBodyInjectionRules$Outbound, z.ZodTypeDef, RequestBodyInjectionRules -> = z.object({ - domain: z.string(), - headers: z.record(z.string()), - match: z.lazy(() => RequestBodyMatch$outboundSchema).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: z.string(), + headers: z.record(z.string()), + match: z.lazy(() => RequestBodyMatch$outboundSchema).optional(), + }) +); export function requestBodyInjectionRulesToJSON( requestBodyInjectionRules: RequestBodyInjectionRules, @@ -1047,15 +1099,17 @@ export const UpdateSessionNetworkPolicyRequestBody1$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyRequestBody1$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBody1 -> = z.object({ - mode: UpdateSessionNetworkPolicyRequestBodyMode$outboundSchema, - allowedDomains: z.array(z.string()).optional(), - allowedCIDRs: z.array(z.string()).optional(), - deniedCIDRs: z.array(z.string()).optional(), - injectionRules: z.array( - z.lazy(() => RequestBodyInjectionRules$outboundSchema), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: UpdateSessionNetworkPolicyRequestBodyMode$outboundSchema, + allowedDomains: z.array(z.string()).optional(), + allowedCIDRs: z.array(z.string()).optional(), + deniedCIDRs: z.array(z.string()).optional(), + injectionRules: z.array( + z.lazy(() => RequestBodyInjectionRules$outboundSchema), + ).optional(), + }) +); export function updateSessionNetworkPolicyRequestBody1ToJSON( updateSessionNetworkPolicyRequestBody1: @@ -1078,10 +1132,12 @@ export const UpdateSessionNetworkPolicyRequestBody$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyRequestBody$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequestBody -> = smartUnion([ - z.lazy(() => UpdateSessionNetworkPolicyRequestBody1$outboundSchema), - z.lazy(() => UpdateSessionNetworkPolicyRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateSessionNetworkPolicyRequestBody1$outboundSchema), + z.lazy(() => UpdateSessionNetworkPolicyRequestBody2$outboundSchema), + ]) +); export function updateSessionNetworkPolicyRequestBodyToJSON( updateSessionNetworkPolicyRequestBody: UpdateSessionNetworkPolicyRequestBody, @@ -1109,19 +1165,21 @@ export const UpdateSessionNetworkPolicyRequest$outboundSchema: z.ZodType< UpdateSessionNetworkPolicyRequest$Outbound, z.ZodTypeDef, UpdateSessionNetworkPolicyRequest -> = z.object({ - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => UpdateSessionNetworkPolicyRequestBody1$outboundSchema), - z.lazy(() => UpdateSessionNetworkPolicyRequestBody2$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => UpdateSessionNetworkPolicyRequestBody1$outboundSchema), + z.lazy(() => UpdateSessionNetworkPolicyRequestBody2$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateSessionNetworkPolicyRequestToJSON( updateSessionNetworkPolicyRequest: UpdateSessionNetworkPolicyRequest, @@ -1138,9 +1196,11 @@ export const UpdateSessionNetworkPolicyResponseBody$inboundSchema: z.ZodType< UpdateSessionNetworkPolicyResponseBody, z.ZodTypeDef, unknown -> = z.object({ - session: Session$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + session: Session$inboundSchema, + }) +); export function updateSessionNetworkPolicyResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatesharedenvvariableop.ts b/src/models/updatesharedenvvariableop.ts index eb9d219045..2ff436b6fb 100644 --- a/src/models/updatesharedenvvariableop.ts +++ b/src/models/updatesharedenvvariableop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -301,7 +301,9 @@ export type UpdateSharedEnvVariableResponseBody = { /** @internal */ export const UpdateSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum< typeof UpdateSharedEnvVariableTarget -> = z.nativeEnum(UpdateSharedEnvVariableTarget); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableTarget) +); /** @internal */ export type ProjectIdUpdates$Outbound = { @@ -314,10 +316,12 @@ export const ProjectIdUpdates$outboundSchema: z.ZodType< ProjectIdUpdates$Outbound, z.ZodTypeDef, ProjectIdUpdates -> = z.object({ - link: z.array(z.string()).optional(), - unlink: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + link: z.array(z.string()).optional(), + unlink: z.array(z.string()).optional(), + }) +); export function projectIdUpdatesToJSON( projectIdUpdates: ProjectIdUpdates, @@ -330,7 +334,9 @@ export function projectIdUpdatesToJSON( /** @internal */ export const UpdateSharedEnvVariableType$outboundSchema: z.ZodNativeEnum< typeof UpdateSharedEnvVariableType -> = z.nativeEnum(UpdateSharedEnvVariableType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableType) +); /** @internal */ export type Updates$Outbound = { @@ -348,15 +354,17 @@ export const Updates$outboundSchema: z.ZodType< Updates$Outbound, z.ZodTypeDef, Updates -> = z.object({ - key: z.string().optional(), - value: z.string().optional(), - target: z.array(UpdateSharedEnvVariableTarget$outboundSchema).optional(), - projectId: z.array(z.string()).optional(), - projectIdUpdates: z.lazy(() => ProjectIdUpdates$outboundSchema).optional(), - type: UpdateSharedEnvVariableType$outboundSchema.optional(), - comment: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: z.string().optional(), + value: z.string().optional(), + target: z.array(UpdateSharedEnvVariableTarget$outboundSchema).optional(), + projectId: z.array(z.string()).optional(), + projectIdUpdates: z.lazy(() => ProjectIdUpdates$outboundSchema).optional(), + type: UpdateSharedEnvVariableType$outboundSchema.optional(), + comment: z.string().optional(), + }) +); export function updatesToJSON(updates: Updates): string { return JSON.stringify(Updates$outboundSchema.parse(updates)); @@ -372,9 +380,11 @@ export const UpdateSharedEnvVariableRequestBody$outboundSchema: z.ZodType< UpdateSharedEnvVariableRequestBody$Outbound, z.ZodTypeDef, UpdateSharedEnvVariableRequestBody -> = z.object({ - updates: z.record(z.lazy(() => Updates$outboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + updates: z.record(z.lazy(() => Updates$outboundSchema)), + }) +); export function updateSharedEnvVariableRequestBodyToJSON( updateSharedEnvVariableRequestBody: UpdateSharedEnvVariableRequestBody, @@ -398,16 +408,18 @@ export const UpdateSharedEnvVariableRequest$outboundSchema: z.ZodType< UpdateSharedEnvVariableRequest$Outbound, z.ZodTypeDef, UpdateSharedEnvVariableRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateSharedEnvVariableRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateSharedEnvVariableRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateSharedEnvVariableRequestToJSON( updateSharedEnvVariableRequest: UpdateSharedEnvVariableRequest, @@ -422,12 +434,16 @@ export function updateSharedEnvVariableRequestToJSON( /** @internal */ export const UpdateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< typeof UpdateSharedEnvVariableTarget2 -> = z.nativeEnum(UpdateSharedEnvVariableTarget2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableTarget2) +); /** @internal */ export const UpdateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< typeof UpdateSharedEnvVariableTarget1 -> = z.nativeEnum(UpdateSharedEnvVariableTarget1); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableTarget1) +); /** @internal */ export const UpdateSharedEnvVariableEnvironmentResponseTarget$inboundSchema: @@ -435,10 +451,12 @@ export const UpdateSharedEnvVariableEnvironmentResponseTarget$inboundSchema: UpdateSharedEnvVariableEnvironmentResponseTarget, z.ZodTypeDef, unknown - > = smartUnion([ - z.array(UpdateSharedEnvVariableTarget1$inboundSchema), - UpdateSharedEnvVariableTarget2$inboundSchema, - ]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(UpdateSharedEnvVariableTarget1$inboundSchema), + UpdateSharedEnvVariableTarget2$inboundSchema, + ]) + ); export function updateSharedEnvVariableEnvironmentResponseTargetFromJSON( jsonString: string, @@ -459,17 +477,21 @@ export function updateSharedEnvVariableEnvironmentResponseTargetFromJSON( /** @internal */ export const UpdateSharedEnvVariableValue2$inboundSchema: z.ZodNativeEnum< typeof UpdateSharedEnvVariableValue2 -> = z.nativeEnum(UpdateSharedEnvVariableValue2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableValue2) +); /** @internal */ export const UpdateSharedEnvVariableValue$inboundSchema: z.ZodType< UpdateSharedEnvVariableValue, z.ZodTypeDef, unknown -> = smartUnion([ - types.string(), - z.array(UpdateSharedEnvVariableValue2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + types.string(), + z.array(UpdateSharedEnvVariableValue2$inboundSchema), + ]) +); export function updateSharedEnvVariableValueFromJSON( jsonString: string, @@ -486,29 +508,31 @@ export const UpdateSharedEnvVariableError$inboundSchema: z.ZodType< UpdateSharedEnvVariableError, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(types.string()), - code: types.string(), - envVarId: types.optional(types.string()), - envVarKey: types.optional(types.string()), - gitBranch: types.optional(types.string()), - key: types.optional(types.string()), - link: types.optional(types.string()), - message: types.string(), - project: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(UpdateSharedEnvVariableTarget1$inboundSchema), - UpdateSharedEnvVariableTarget2$inboundSchema, - ]), - ), - value: types.optional( - smartUnion([ - types.string(), - z.array(UpdateSharedEnvVariableValue2$inboundSchema), - ]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(types.string()), + code: types.string(), + envVarId: types.optional(types.string()), + envVarKey: types.optional(types.string()), + gitBranch: types.optional(types.string()), + key: types.optional(types.string()), + link: types.optional(types.string()), + message: types.string(), + project: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(UpdateSharedEnvVariableTarget1$inboundSchema), + UpdateSharedEnvVariableTarget2$inboundSchema, + ]), + ), + value: types.optional( + smartUnion([ + types.string(), + z.array(UpdateSharedEnvVariableValue2$inboundSchema), + ]), + ), + }) +); export function updateSharedEnvVariableErrorFromJSON( jsonString: string, @@ -525,9 +549,11 @@ export const UpdateSharedEnvVariableFailed$inboundSchema: z.ZodType< UpdateSharedEnvVariableFailed, z.ZodTypeDef, unknown -> = z.object({ - error: z.lazy(() => UpdateSharedEnvVariableError$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => UpdateSharedEnvVariableError$inboundSchema), + }) +); export function updateSharedEnvVariableFailedFromJSON( jsonString: string, @@ -545,12 +571,14 @@ export const UpdateSharedEnvVariableLastEditedByPrincipal2$inboundSchema: UpdateSharedEnvVariableLastEditedByPrincipal2, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) + ); export function updateSharedEnvVariableLastEditedByPrincipal2FromJSON( jsonString: string, @@ -574,13 +602,15 @@ export const UpdateSharedEnvVariableLastEditedByPrincipal1$inboundSchema: UpdateSharedEnvVariableLastEditedByPrincipal1, z.ZodTypeDef, unknown - > = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) + ); export function updateSharedEnvVariableLastEditedByPrincipal1FromJSON( jsonString: string, @@ -604,10 +634,12 @@ export const UpdateSharedEnvVariableLastEditedByPrincipal$inboundSchema: UpdateSharedEnvVariableLastEditedByPrincipal, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal1$inboundSchema), - z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal2$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal1$inboundSchema), + z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal2$inboundSchema), + ]) + ); export function updateSharedEnvVariableLastEditedByPrincipalFromJSON( jsonString: string, @@ -627,50 +659,55 @@ export function updateSharedEnvVariableLastEditedByPrincipalFromJSON( /** @internal */ export const UpdateSharedEnvVariableEnvironmentTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateSharedEnvVariableEnvironmentTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableEnvironmentTarget) + ); /** @internal */ export const UpdateSharedEnvVariableEnvironmentType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateSharedEnvVariableEnvironmentType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateSharedEnvVariableEnvironmentType) + ); /** @internal */ export const Updated$inboundSchema: z.ZodType = - z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ + /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal1$inboundSchema ), z.lazy(() => UpdateSharedEnvVariableLastEditedByPrincipal2$inboundSchema ), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional( - z.array(UpdateSharedEnvVariableEnvironmentTarget$inboundSchema), - ), - type: types.optional(UpdateSharedEnvVariableEnvironmentType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), - }); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional( + z.array(UpdateSharedEnvVariableEnvironmentTarget$inboundSchema), + ), + type: types.optional( + UpdateSharedEnvVariableEnvironmentType$inboundSchema, + ), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) + ); export function updatedFromJSON( jsonString: string, @@ -687,10 +724,12 @@ export const UpdateSharedEnvVariableResponseBody$inboundSchema: z.ZodType< UpdateSharedEnvVariableResponseBody, z.ZodTypeDef, unknown -> = z.object({ - failed: z.array(z.lazy(() => UpdateSharedEnvVariableFailed$inboundSchema)), - updated: z.array(z.lazy(() => Updated$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failed: z.array(z.lazy(() => UpdateSharedEnvVariableFailed$inboundSchema)), + updated: z.array(z.lazy(() => Updated$inboundSchema)), + }) +); export function updateSharedEnvVariableResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatestaticipsop.ts b/src/models/updatestaticipsop.ts index 44ac57a278..2de62a285e 100644 --- a/src/models/updatestaticipsop.ts +++ b/src/models/updatestaticipsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -85,10 +85,12 @@ export const UpdateStaticIpsRequestBody2$outboundSchema: z.ZodType< UpdateStaticIpsRequestBody2$Outbound, z.ZodTypeDef, UpdateStaticIpsRequestBody2 -> = z.object({ - builds: z.boolean().optional(), - regions: z.array(z.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: z.boolean().optional(), + regions: z.array(z.string()), + }) +); export function updateStaticIpsRequestBody2ToJSON( updateStaticIpsRequestBody2: UpdateStaticIpsRequestBody2, @@ -111,10 +113,12 @@ export const UpdateStaticIpsRequestBody1$outboundSchema: z.ZodType< UpdateStaticIpsRequestBody1$Outbound, z.ZodTypeDef, UpdateStaticIpsRequestBody1 -> = z.object({ - builds: z.boolean(), - regions: z.array(z.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: z.boolean(), + regions: z.array(z.string()).optional(), + }) +); export function updateStaticIpsRequestBody1ToJSON( updateStaticIpsRequestBody1: UpdateStaticIpsRequestBody1, @@ -136,10 +140,12 @@ export const UpdateStaticIpsRequestBody$outboundSchema: z.ZodType< UpdateStaticIpsRequestBody$Outbound, z.ZodTypeDef, UpdateStaticIpsRequestBody -> = smartUnion([ - z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), - z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), + ]) +); export function updateStaticIpsRequestBodyToJSON( updateStaticIpsRequestBody: UpdateStaticIpsRequestBody, @@ -165,19 +171,21 @@ export const UpdateStaticIpsRequest$outboundSchema: z.ZodType< UpdateStaticIpsRequest$Outbound, z.ZodTypeDef, UpdateStaticIpsRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: smartUnion([ - z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), - z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: smartUnion([ + z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateStaticIpsRequestToJSON( updateStaticIpsRequest: UpdateStaticIpsRequest, @@ -192,10 +200,12 @@ export const UpdateStaticIpsAws$inboundSchema: z.ZodType< UpdateStaticIpsAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function updateStaticIpsAwsFromJSON( jsonString: string, @@ -210,14 +220,16 @@ export function updateStaticIpsAwsFromJSON( /** @internal */ export const UpdateStaticIpsEnvId2$inboundSchema: z.ZodNativeEnum< typeof UpdateStaticIpsEnvId2 -> = z.nativeEnum(UpdateStaticIpsEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateStaticIpsEnvId2)); /** @internal */ export const UpdateStaticIpsEnvId$inboundSchema: z.ZodType< UpdateStaticIpsEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UpdateStaticIpsEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UpdateStaticIpsEnvId2$inboundSchema]) +); export function updateStaticIpsEnvIdFromJSON( jsonString: string, @@ -234,16 +246,18 @@ export const UpdateStaticIpsResponseBody$inboundSchema: z.ZodType< UpdateStaticIpsResponseBody, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => UpdateStaticIpsAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UpdateStaticIpsEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => UpdateStaticIpsAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([types.string(), UpdateStaticIpsEnvId2$inboundSchema]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function updateStaticIpsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateteammemberop.ts b/src/models/updateteammemberop.ts index b9ae2cf1a9..1dd2962b44 100644 --- a/src/models/updateteammemberop.ts +++ b/src/models/updateteammemberop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -102,12 +102,14 @@ export type UpdateTeamMemberResponseBody = { /** @internal */ export const UpdateTeamMemberTeamPermissions$outboundSchema: z.ZodNativeEnum< typeof UpdateTeamMemberTeamPermissions -> = z.nativeEnum(UpdateTeamMemberTeamPermissions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateTeamMemberTeamPermissions) +); /** @internal */ export const UpdateTeamMemberRole$outboundSchema: z.ZodNativeEnum< typeof UpdateTeamMemberRole -> = z.nativeEnum(UpdateTeamMemberRole); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateTeamMemberRole)); /** @internal */ export type UpdateTeamMemberProjects$Outbound = { @@ -120,10 +122,12 @@ export const UpdateTeamMemberProjects$outboundSchema: z.ZodType< UpdateTeamMemberProjects$Outbound, z.ZodTypeDef, UpdateTeamMemberProjects -> = z.object({ - projectId: z.string(), - role: z.nullable(UpdateTeamMemberRole$outboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + role: z.nullable(UpdateTeamMemberRole$outboundSchema), + }) +); export function updateTeamMemberProjectsToJSON( updateTeamMemberProjects: UpdateTeamMemberProjects, @@ -143,9 +147,11 @@ export const UpdateTeamMemberJoinedFrom$outboundSchema: z.ZodType< UpdateTeamMemberJoinedFrom$Outbound, z.ZodTypeDef, UpdateTeamMemberJoinedFrom -> = z.object({ - ssoUserId: z.nullable(z.any()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ssoUserId: z.nullable(z.any()).optional(), + }) +); export function updateTeamMemberJoinedFromToJSON( updateTeamMemberJoinedFrom: UpdateTeamMemberJoinedFrom, @@ -169,16 +175,18 @@ export const UpdateTeamMemberRequestBody$outboundSchema: z.ZodType< UpdateTeamMemberRequestBody$Outbound, z.ZodTypeDef, UpdateTeamMemberRequestBody -> = z.object({ - confirmed: z.literal(true).optional(), - role: z.string().default("MEMBER"), - teamPermissions: z.array(UpdateTeamMemberTeamPermissions$outboundSchema) - .optional(), - projects: z.array(z.lazy(() => UpdateTeamMemberProjects$outboundSchema)) - .optional(), - joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$outboundSchema) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + confirmed: z.literal(true).optional(), + role: z.string().default("MEMBER"), + teamPermissions: z.array(UpdateTeamMemberTeamPermissions$outboundSchema) + .optional(), + projects: z.array(z.lazy(() => UpdateTeamMemberProjects$outboundSchema)) + .optional(), + joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$outboundSchema) + .optional(), + }) +); export function updateTeamMemberRequestBodyToJSON( updateTeamMemberRequestBody: UpdateTeamMemberRequestBody, @@ -202,15 +210,17 @@ export const UpdateTeamMemberRequest$outboundSchema: z.ZodType< UpdateTeamMemberRequest$Outbound, z.ZodTypeDef, UpdateTeamMemberRequest -> = z.object({ - uid: z.string(), - teamId: z.string(), - requestBody: z.lazy(() => UpdateTeamMemberRequestBody$outboundSchema), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + uid: z.string(), + teamId: z.string(), + requestBody: z.lazy(() => UpdateTeamMemberRequestBody$outboundSchema), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateTeamMemberRequestToJSON( updateTeamMemberRequest: UpdateTeamMemberRequest, @@ -225,9 +235,11 @@ export const UpdateTeamMemberResponseBody$inboundSchema: z.ZodType< UpdateTeamMemberResponseBody, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function updateTeamMemberResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updatevercelcirepositorysettingsop.ts b/src/models/updatevercelcirepositorysettingsop.ts index a4bf8525df..aff7005244 100644 --- a/src/models/updatevercelcirepositorysettingsop.ts +++ b/src/models/updatevercelcirepositorysettingsop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -208,8 +208,10 @@ export type UpdateVercelCiRepositorySettingsResponseBody = { /** @internal */ export const UpdateVercelCiRepositorySettingsQueryParamProvider$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateVercelCiRepositorySettingsQueryParamProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateVercelCiRepositorySettingsQueryParamProvider) + ); /** @internal */ export type UpdateVercelCiRepositorySettingsRequestBody$Outbound = { @@ -222,9 +224,11 @@ export const UpdateVercelCiRepositorySettingsRequestBody$outboundSchema: UpdateVercelCiRepositorySettingsRequestBody$Outbound, z.ZodTypeDef, UpdateVercelCiRepositorySettingsRequestBody - > = z.object({ - ciEnabled: z.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + ciEnabled: z.boolean(), + }) + ); export function updateVercelCiRepositorySettingsRequestBodyToJSON( updateVercelCiRepositorySettingsRequestBody: @@ -254,20 +258,22 @@ export const UpdateVercelCiRepositorySettingsRequest$outboundSchema: z.ZodType< UpdateVercelCiRepositorySettingsRequest$Outbound, z.ZodTypeDef, UpdateVercelCiRepositorySettingsRequest -> = z.object({ - provider: UpdateVercelCiRepositorySettingsQueryParamProvider$outboundSchema, - organizationId: z.string(), - repository: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpdateVercelCiRepositorySettingsRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: UpdateVercelCiRepositorySettingsQueryParamProvider$outboundSchema, + organizationId: z.string(), + repository: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpdateVercelCiRepositorySettingsRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateVercelCiRepositorySettingsRequestToJSON( updateVercelCiRepositorySettingsRequest: @@ -286,10 +292,12 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponse500Error$inboundSch UpdateVercelCiRepositorySettingsVercelCiResponse500Error, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function updateVercelCiRepositorySettingsVercelCiResponse500ErrorFromJSON( jsonString: string, @@ -312,20 +320,22 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody$inb UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - UpdateVercelCiRepositorySettingsVercelCiResponse500Error$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + UpdateVercelCiRepositorySettingsVercelCiResponse500Error$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateVercelCiRepositorySettingsVercelCiResponse500ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const UpdateVercelCiRepositorySettingsVercelCiResponseError$inboundSchema: @@ -333,12 +343,14 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponseError$inboundSchema UpdateVercelCiRepositorySettingsVercelCiResponseError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - name: types.string(), - message: types.string(), - limit: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + name: types.string(), + message: types.string(), + limit: types.number(), + }) + ); export function updateVercelCiRepositorySettingsVercelCiResponseErrorFromJSON( jsonString: string, @@ -362,20 +374,22 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody$inb UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - UpdateVercelCiRepositorySettingsVercelCiResponseError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + UpdateVercelCiRepositorySettingsVercelCiResponseError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateVercelCiRepositorySettingsVercelCiResponse429ResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const UpdateVercelCiRepositorySettingsVercelCiError$inboundSchema: @@ -383,10 +397,12 @@ export const UpdateVercelCiRepositorySettingsVercelCiError$inboundSchema: UpdateVercelCiRepositorySettingsVercelCiError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function updateVercelCiRepositorySettingsVercelCiErrorFromJSON( jsonString: string, @@ -410,30 +426,34 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody$inboun UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => - UpdateVercelCiRepositorySettingsVercelCiError$inboundSchema - ), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody( - v, - { request: v.request$, response: v.response$, body: v.body$ }, - ); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => + UpdateVercelCiRepositorySettingsVercelCiError$inboundSchema + ), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateVercelCiRepositorySettingsVercelCiResponseResponseBody( + v, + { request: v.request$, response: v.response$, body: v.body$ }, + ); + }) + ); /** @internal */ export const UpdateVercelCiRepositorySettingsError$inboundSchema: z.ZodType< UpdateVercelCiRepositorySettingsError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function updateVercelCiRepositorySettingsErrorFromJSON( jsonString: string, @@ -452,24 +472,28 @@ export const UpdateVercelCiRepositorySettingsVercelCiResponseBody$inboundSchema: UpdateVercelCiRepositorySettingsVercelCiResponseBody, z.ZodTypeDef, unknown - > = z.object({ - error: z.lazy(() => UpdateVercelCiRepositorySettingsError$inboundSchema), - request$: z.instanceof(Request), - response$: z.instanceof(Response), - body$: z.string(), - }) - .transform((v) => { - return new UpdateVercelCiRepositorySettingsVercelCiResponseBody(v, { - request: v.request$, - response: v.response$, - body: v.body$, - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + error: z.lazy(() => UpdateVercelCiRepositorySettingsError$inboundSchema), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), + }) + .transform((v) => { + return new UpdateVercelCiRepositorySettingsVercelCiResponseBody(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }) + ); /** @internal */ export const UpdateVercelCiRepositorySettingsProvider$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpdateVercelCiRepositorySettingsProvider); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpdateVercelCiRepositorySettingsProvider) + ); /** @internal */ export const UpdateVercelCiRepositorySettingsResponseBody$inboundSchema: @@ -477,14 +501,16 @@ export const UpdateVercelCiRepositorySettingsResponseBody$inboundSchema: UpdateVercelCiRepositorySettingsResponseBody, z.ZodTypeDef, unknown - > = z.object({ - provider: UpdateVercelCiRepositorySettingsProvider$inboundSchema, - organizationId: types.string(), - repository: types.string(), - ciEnabled: types.boolean(), - ciEnabledAt: types.optional(types.number()), - updatedAt: types.optional(types.number()), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: UpdateVercelCiRepositorySettingsProvider$inboundSchema, + organizationId: types.string(), + repository: types.string(), + ciEnabled: types.boolean(), + ciEnabledAt: types.optional(types.number()), + updatedAt: types.optional(types.number()), + }) + ); export function updateVercelCiRepositorySettingsResponseBodyFromJSON( jsonString: string, diff --git a/src/models/updateversionop.ts b/src/models/updateversionop.ts index deba8dbf08..8dc3e978ff 100644 --- a/src/models/updateversionop.ts +++ b/src/models/updateversionop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -76,7 +76,7 @@ export type UpdateVersionResponseBody = { /** @internal */ export const UpdateVersionAction$outboundSchema: z.ZodNativeEnum< typeof UpdateVersionAction -> = z.nativeEnum(UpdateVersionAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdateVersionAction)); /** @internal */ export type UpdateVersionRequestBody$Outbound = { @@ -90,11 +90,13 @@ export const UpdateVersionRequestBody$outboundSchema: z.ZodType< UpdateVersionRequestBody$Outbound, z.ZodTypeDef, UpdateVersionRequestBody -> = z.object({ - id: z.string(), - action: UpdateVersionAction$outboundSchema, - name: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: z.string(), + action: UpdateVersionAction$outboundSchema, + name: z.string().optional(), + }) +); export function updateVersionRequestBodyToJSON( updateVersionRequestBody: UpdateVersionRequestBody, @@ -117,16 +119,19 @@ export const UpdateVersionRequest$outboundSchema: z.ZodType< UpdateVersionRequest$Outbound, z.ZodTypeDef, UpdateVersionRequest -> = z.object({ - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpdateVersionRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateVersionRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function updateVersionRequestToJSON( updateVersionRequest: UpdateVersionRequest, @@ -141,17 +146,19 @@ export const UpdateVersionVersion$inboundSchema: z.ZodType< UpdateVersionVersion, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - createdBy: types.string(), - id: types.string(), - isLive: types.optional(types.boolean()), - isStaging: types.optional(types.boolean()), - key: types.string(), - lastModified: types.number(), - name: types.optional(types.string()), - redirectCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + createdBy: types.string(), + id: types.string(), + isLive: types.optional(types.boolean()), + isStaging: types.optional(types.boolean()), + key: types.string(), + lastModified: types.number(), + name: types.optional(types.string()), + redirectCount: types.optional(types.number()), + }) +); export function updateVersionVersionFromJSON( jsonString: string, @@ -168,9 +175,11 @@ export const UpdateVersionResponseBody$inboundSchema: z.ZodType< UpdateVersionResponseBody, z.ZodTypeDef, unknown -> = z.object({ - version: z.lazy(() => UpdateVersionVersion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + version: z.lazy(() => UpdateVersionVersion$inboundSchema), + }) +); export function updateVersionResponseBodyFromJSON( jsonString: string, diff --git a/src/models/uploadartifactop.ts b/src/models/uploadartifactop.ts index dbfd7ec008..b16137b746 100644 --- a/src/models/uploadartifactop.ts +++ b/src/models/uploadartifactop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -80,35 +80,37 @@ export const UploadArtifactRequest$outboundSchema: z.ZodType< UploadArtifactRequest$Outbound, z.ZodTypeDef, UploadArtifactRequest -> = z.object({ - contentLength: z.number(), - xArtifactDuration: z.number().optional(), - xArtifactClientCi: z.string().optional(), - xArtifactClientInteractive: z.number().int().optional(), - xArtifactTag: z.string().optional(), - xArtifactSha: z.string().optional(), - xArtifactDirtyHash: z.string().optional(), - hash: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.instanceof(ReadableStream), - z.instanceof(Blob), - z.instanceof(ArrayBuffer), - z.instanceof(Uint8Array), - ]), -}).transform((v) => { - return remap$(v, { - contentLength: "Content-Length", - xArtifactDuration: "x-artifact-duration", - xArtifactClientCi: "x-artifact-client-ci", - xArtifactClientInteractive: "x-artifact-client-interactive", - xArtifactTag: "x-artifact-tag", - xArtifactSha: "x-artifact-sha", - xArtifactDirtyHash: "x-artifact-dirty-hash", - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + contentLength: z.number(), + xArtifactDuration: z.number().optional(), + xArtifactClientCi: z.string().optional(), + xArtifactClientInteractive: z.number().int().optional(), + xArtifactTag: z.string().optional(), + xArtifactSha: z.string().optional(), + xArtifactDirtyHash: z.string().optional(), + hash: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.instanceof(ReadableStream), + z.instanceof(Blob), + z.instanceof(ArrayBuffer), + z.instanceof(Uint8Array), + ]), + }).transform((v) => { + return remap$(v, { + contentLength: "Content-Length", + xArtifactDuration: "x-artifact-duration", + xArtifactClientCi: "x-artifact-client-ci", + xArtifactClientInteractive: "x-artifact-client-interactive", + xArtifactTag: "x-artifact-tag", + xArtifactSha: "x-artifact-sha", + xArtifactDirtyHash: "x-artifact-dirty-hash", + requestBody: "RequestBody", + }); + }) +); export function uploadArtifactRequestToJSON( uploadArtifactRequest: UploadArtifactRequest, @@ -123,9 +125,11 @@ export const UploadArtifactResponseBody$inboundSchema: z.ZodType< UploadArtifactResponseBody, z.ZodTypeDef, unknown -> = z.object({ - urls: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + urls: z.array(types.string()), + }) +); export function uploadArtifactResponseBodyFromJSON( jsonString: string, diff --git a/src/models/uploadcertop.ts b/src/models/uploadcertop.ts index c60b8fabf7..8b3aba940d 100644 --- a/src/models/uploadcertop.ts +++ b/src/models/uploadcertop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -61,12 +61,14 @@ export const UploadCertRequestBody$outboundSchema: z.ZodType< UploadCertRequestBody$Outbound, z.ZodTypeDef, UploadCertRequestBody -> = z.object({ - ca: z.string(), - key: z.string(), - cert: z.string(), - skipValidation: z.boolean().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ca: z.string(), + key: z.string(), + cert: z.string(), + skipValidation: z.boolean().optional(), + }) +); export function uploadCertRequestBodyToJSON( uploadCertRequestBody: UploadCertRequestBody, @@ -88,15 +90,17 @@ export const UploadCertRequest$outboundSchema: z.ZodType< UploadCertRequest$Outbound, z.ZodTypeDef, UploadCertRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UploadCertRequestBody$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UploadCertRequestBody$outboundSchema).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function uploadCertRequestToJSON( uploadCertRequest: UploadCertRequest, @@ -111,13 +115,15 @@ export const UploadCertResponseBody$inboundSchema: z.ZodType< UploadCertResponseBody, z.ZodTypeDef, unknown -> = z.object({ - autoRenew: types.boolean(), - cns: z.array(types.string()), - createdAt: types.number(), - expiresAt: types.number(), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + autoRenew: types.boolean(), + cns: z.array(types.string()), + createdAt: types.number(), + expiresAt: types.number(), + id: types.string(), + }) +); export function uploadCertResponseBodyFromJSON( jsonString: string, diff --git a/src/models/uploadfileop.ts b/src/models/uploadfileop.ts index 28e6209a49..2425945538 100644 --- a/src/models/uploadfileop.ts +++ b/src/models/uploadfileop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; @@ -83,28 +83,30 @@ export const UploadFileRequest$outboundSchema: z.ZodType< UploadFileRequest$Outbound, z.ZodTypeDef, UploadFileRequest -> = z.object({ - contentLength: z.number().optional(), - xVercelDigest: z.string().optional(), - xNowDigest: z.string().optional(), - xNowSize: z.number().optional(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.instanceof(ReadableStream), - z.instanceof(Blob), - z.instanceof(ArrayBuffer), - z.instanceof(Uint8Array), - ]).optional(), -}).transform((v) => { - return remap$(v, { - contentLength: "Content-Length", - xVercelDigest: "x-vercel-digest", - xNowDigest: "x-now-digest", - xNowSize: "x-now-size", - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + contentLength: z.number().optional(), + xVercelDigest: z.string().optional(), + xNowDigest: z.string().optional(), + xNowSize: z.number().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.instanceof(ReadableStream), + z.instanceof(Blob), + z.instanceof(ArrayBuffer), + z.instanceof(Uint8Array), + ]).optional(), + }).transform((v) => { + return remap$(v, { + contentLength: "Content-Length", + xVercelDigest: "x-vercel-digest", + xNowDigest: "x-now-digest", + xNowSize: "x-now-size", + requestBody: "RequestBody", + }); + }) +); export function uploadFileRequestToJSON( uploadFileRequest: UploadFileRequest, @@ -119,7 +121,7 @@ export const UploadFileResponseBody2$inboundSchema: z.ZodType< UploadFileResponseBody2, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function uploadFileResponseBody2FromJSON( jsonString: string, @@ -136,9 +138,11 @@ export const UploadFileResponseBody1$inboundSchema: z.ZodType< UploadFileResponseBody1, z.ZodTypeDef, unknown -> = z.object({ - urls: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + urls: z.array(types.string()), + }) +); export function uploadFileResponseBody1FromJSON( jsonString: string, @@ -155,10 +159,12 @@ export const UploadFileResponseBody$inboundSchema: z.ZodType< UploadFileResponseBody, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadFileResponseBody1$inboundSchema), - z.lazy(() => UploadFileResponseBody2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadFileResponseBody1$inboundSchema), + z.lazy(() => UploadFileResponseBody2$inboundSchema), + ]) +); export function uploadFileResponseBodyFromJSON( jsonString: string, diff --git a/src/models/uploadprojectavatarchecksconclusion.ts b/src/models/uploadprojectavatarchecksconclusion.ts index bfcd0d07b1..1f85ac04cc 100644 --- a/src/models/uploadprojectavatarchecksconclusion.ts +++ b/src/models/uploadprojectavatarchecksconclusion.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -1507,21 +1507,23 @@ export const UploadProjectAvatarRequest$outboundSchema: z.ZodType< UploadProjectAvatarRequest$Outbound, z.ZodTypeDef, UploadProjectAvatarRequest -> = z.object({ - idOrName: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.union([ - z.instanceof(ReadableStream), - z.instanceof(Blob), - z.instanceof(ArrayBuffer), - z.instanceof(Uint8Array), - ]).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.instanceof(ReadableStream), + z.instanceof(Blob), + z.instanceof(ArrayBuffer), + z.instanceof(Uint8Array), + ]).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function uploadProjectAvatarRequestToJSON( uploadProjectAvatarRequest: UploadProjectAvatarRequest, @@ -1534,7 +1536,9 @@ export function uploadProjectAvatarRequestToJSON( /** @internal */ export const UploadProjectAvatarConfiguredBy$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarConfiguredBy -> = z.nativeEnum(UploadProjectAvatarConfiguredBy); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarConfiguredBy) +); /** @internal */ export const UploadProjectAvatarProjectsResponseAliasAssigned$inboundSchema: @@ -1542,7 +1546,9 @@ export const UploadProjectAvatarProjectsResponseAliasAssigned$inboundSchema: UploadProjectAvatarProjectsResponseAliasAssigned, z.ZodTypeDef, unknown - > = smartUnion([types.number(), types.boolean()]); + > = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) + ); export function uploadProjectAvatarProjectsResponseAliasAssignedFromJSON( jsonString: string, @@ -1566,10 +1572,12 @@ export const UploadProjectAvatarProjectsResponseAliasError$inboundSchema: UploadProjectAvatarProjectsResponseAliasError, z.ZodTypeDef, unknown - > = z.object({ - code: types.string(), - message: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) + ); export function uploadProjectAvatarProjectsResponseAliasErrorFromJSON( jsonString: string, @@ -1591,8 +1599,10 @@ export function uploadProjectAvatarProjectsResponseAliasErrorFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType, + ) ); /** @internal */ @@ -1601,11 +1611,13 @@ export const UploadProjectAvatarProjectsResponse200BranchMatcher$inboundSchema: UploadProjectAvatarProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema, + }) + ); export function uploadProjectAvatarProjectsResponse200BranchMatcherFromJSON( jsonString: string, @@ -1628,11 +1640,13 @@ export const UploadProjectAvatarProjectsResponseBuilds$inboundSchema: z.ZodType< UploadProjectAvatarProjectsResponseBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function uploadProjectAvatarProjectsResponseBuildsFromJSON( jsonString: string, @@ -1653,12 +1667,16 @@ export function uploadProjectAvatarProjectsResponseBuildsFromJSON( /** @internal */ export const UploadProjectAvatarProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UploadProjectAvatarProjectsResponseChecksConclusion); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseChecksConclusion) + ); /** @internal */ export const UploadProjectAvatarProjectsResponseChecksState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseChecksState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseChecksState) + ); /** @internal */ export const UploadProjectAvatarProjectsResponse200Creator$inboundSchema: @@ -1666,13 +1684,15 @@ export const UploadProjectAvatarProjectsResponse200Creator$inboundSchema: UploadProjectAvatarProjectsResponse200Creator, z.ZodTypeDef, unknown - > = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function uploadProjectAvatarProjectsResponse200CreatorFromJSON( jsonString: string, @@ -1696,29 +1716,31 @@ export const UploadProjectAvatarProjectsResponseOidcTokenClaims$inboundSchema: UploadProjectAvatarProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown - > = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function uploadProjectAvatarProjectsResponseOidcTokenClaimsFromJSON( jsonString: string, @@ -1738,25 +1760,33 @@ export function uploadProjectAvatarProjectsResponseOidcTokenClaimsFromJSON( /** @internal */ export const UploadProjectAvatarProjectsResponsePlan$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponsePlan); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponsePlan) + ); /** @internal */ export const UploadProjectAvatarProjectsResponseReadyState$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseReadyState); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseReadyState) + ); /** @internal */ export const UploadProjectAvatarProjectsResponseReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseReadySubstate) + ); /** @internal */ export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType, + ) ); /** @internal */ @@ -1764,68 +1794,64 @@ export const UploadProjectAvatarDeployment$inboundSchema: z.ZodType< UploadProjectAvatarDeployment, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UploadProjectAvatarProjectsResponseAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => UploadProjectAvatarProjectsResponseAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => UploadProjectAvatarProjectsResponse200BranchMatcher$inboundSchema + )), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + UploadProjectAvatarProjectsResponseBuilds$inboundSchema + ))), + checksConclusion: types.optional( + UploadProjectAvatarProjectsResponseChecksConclusion$inboundSchema, ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array( - z.lazy(() => UploadProjectAvatarProjectsResponseBuilds$inboundSchema), + checksState: types.optional( + UploadProjectAvatarProjectsResponseChecksState$inboundSchema, ), - ), - checksConclusion: types.optional( - UploadProjectAvatarProjectsResponseChecksConclusion$inboundSchema, - ), - checksState: types.optional( - UploadProjectAvatarProjectsResponseChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UploadProjectAvatarProjectsResponse200Creator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + UploadProjectAvatarProjectsResponse200Creator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => UploadProjectAvatarProjectsResponseOidcTokenClaims$inboundSchema + )), + plan: UploadProjectAvatarProjectsResponsePlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UploadProjectAvatarProjectsResponseReadyState$inboundSchema, + readySubstate: types.optional( + UploadProjectAvatarProjectsResponseReadySubstate$inboundSchema, ), - ), - plan: UploadProjectAvatarProjectsResponsePlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UploadProjectAvatarProjectsResponseReadyState$inboundSchema, - readySubstate: types.optional( - UploadProjectAvatarProjectsResponseReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarDeploymentFromJSON( jsonString: string, @@ -1840,33 +1866,37 @@ export function uploadProjectAvatarDeploymentFromJSON( /** @internal */ export const UploadProjectAvatarEnvironment$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarEnvironment -> = z.nativeEnum(UploadProjectAvatarEnvironment); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarEnvironment) +); /** @internal */ export const UploadProjectAvatarTarget$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarTarget -> = z.nativeEnum(UploadProjectAvatarTarget); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarTarget)); /** @internal */ export const UploadProjectAvatarAlias$inboundSchema: z.ZodType< UploadProjectAvatarAlias, z.ZodTypeDef, unknown -> = z.object({ - configuredBy: z.nullable(UploadProjectAvatarConfiguredBy$inboundSchema) - .optional(), - configuredChangedAt: z.nullable(types.number()).optional(), - createdAt: z.nullable(types.number()).optional(), - deployment: types.nullable( - z.lazy(() => UploadProjectAvatarDeployment$inboundSchema), - ), - domain: types.string(), - environment: UploadProjectAvatarEnvironment$inboundSchema, - gitBranch: z.nullable(types.string()).optional(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - target: UploadProjectAvatarTarget$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuredBy: z.nullable(UploadProjectAvatarConfiguredBy$inboundSchema) + .optional(), + configuredChangedAt: z.nullable(types.number()).optional(), + createdAt: z.nullable(types.number()).optional(), + deployment: types.nullable( + z.lazy(() => UploadProjectAvatarDeployment$inboundSchema), + ), + domain: types.string(), + environment: UploadProjectAvatarEnvironment$inboundSchema, + gitBranch: z.nullable(types.string()).optional(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + target: UploadProjectAvatarTarget$inboundSchema, + }) +); export function uploadProjectAvatarAliasFromJSON( jsonString: string, @@ -1883,15 +1913,17 @@ export const UploadProjectAvatarAnalytics$inboundSchema: z.ZodType< UploadProjectAvatarAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: z.nullable(types.number()).optional(), - disabledAt: types.number(), - enabledAt: types.number(), - id: types.string(), - paidAt: types.optional(types.number()), - sampleRatePercent: z.nullable(types.number()).optional(), - spendLimitInDollars: z.nullable(types.number()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: z.nullable(types.number()).optional(), + disabledAt: types.number(), + enabledAt: types.number(), + id: types.string(), + paidAt: types.optional(types.number()), + sampleRatePercent: z.nullable(types.number()).optional(), + spendLimitInDollars: z.nullable(types.number()).optional(), + }) +); export function uploadProjectAvatarAnalyticsFromJSON( jsonString: string, @@ -1908,9 +1940,11 @@ export const UploadProjectAvatarBlobs$inboundSchema: z.ZodType< UploadProjectAvatarBlobs, z.ZodTypeDef, unknown -> = z.object({ - isDefaultApp: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + isDefaultApp: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarBlobsFromJSON( jsonString: string, @@ -1927,10 +1961,12 @@ export const UploadProjectAvatarAws$inboundSchema: z.ZodType< UploadProjectAvatarAws, z.ZodTypeDef, unknown -> = z.object({ - securityGroupId: types.optional(types.string()), - subnetIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + securityGroupId: types.optional(types.string()), + subnetIds: z.array(types.string()), + }) +); export function uploadProjectAvatarAwsFromJSON( jsonString: string, @@ -1945,14 +1981,16 @@ export function uploadProjectAvatarAwsFromJSON( /** @internal */ export const UploadProjectAvatarEnvId2$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarEnvId2 -> = z.nativeEnum(UploadProjectAvatarEnvId2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarEnvId2)); /** @internal */ export const UploadProjectAvatarEnvId$inboundSchema: z.ZodType< UploadProjectAvatarEnvId, z.ZodTypeDef, unknown -> = smartUnion([types.string(), UploadProjectAvatarEnvId2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), UploadProjectAvatarEnvId2$inboundSchema]) +); export function uploadProjectAvatarEnvIdFromJSON( jsonString: string, @@ -1969,16 +2007,21 @@ export const UploadProjectAvatarConnectConfigurations$inboundSchema: z.ZodType< UploadProjectAvatarConnectConfigurations, z.ZodTypeDef, unknown -> = z.object({ - aws: types.optional(z.lazy(() => UploadProjectAvatarAws$inboundSchema)), - buildsEnabled: types.boolean(), - connectConfigurationId: types.string(), - createdAt: types.number(), - dc: types.optional(types.string()), - envId: smartUnion([types.string(), UploadProjectAvatarEnvId2$inboundSchema]), - passive: types.boolean(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aws: types.optional(z.lazy(() => UploadProjectAvatarAws$inboundSchema)), + buildsEnabled: types.boolean(), + connectConfigurationId: types.string(), + createdAt: types.number(), + dc: types.optional(types.string()), + envId: smartUnion([ + types.string(), + UploadProjectAvatarEnvId2$inboundSchema, + ]), + passive: types.boolean(), + updatedAt: types.number(), + }) +); export function uploadProjectAvatarConnectConfigurationsFromJSON( jsonString: string, @@ -2001,9 +2044,11 @@ export const UploadProjectAvatarCreator5$inboundSchema: z.ZodType< UploadProjectAvatarCreator5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function uploadProjectAvatarCreator5FromJSON( jsonString: string, @@ -2020,10 +2065,12 @@ export const UploadProjectAvatarCreatorIntegration$inboundSchema: z.ZodType< UploadProjectAvatarCreatorIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function uploadProjectAvatarCreatorIntegrationFromJSON( jsonString: string, @@ -2041,12 +2088,14 @@ export const UploadProjectAvatarCreator4$inboundSchema: z.ZodType< UploadProjectAvatarCreator4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UploadProjectAvatarCreatorIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UploadProjectAvatarCreatorIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function uploadProjectAvatarCreator4FromJSON( jsonString: string, @@ -2063,10 +2112,12 @@ export const UploadProjectAvatarCreatorApp$inboundSchema: z.ZodType< UploadProjectAvatarCreatorApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function uploadProjectAvatarCreatorAppFromJSON( jsonString: string, @@ -2083,10 +2134,12 @@ export const UploadProjectAvatarCreator3$inboundSchema: z.ZodType< UploadProjectAvatarCreator3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UploadProjectAvatarCreatorApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UploadProjectAvatarCreatorApp$inboundSchema), + type: types.literal("app"), + }) +); export function uploadProjectAvatarCreator3FromJSON( jsonString: string, @@ -2103,9 +2156,11 @@ export const UploadProjectAvatarCreatorProject$inboundSchema: z.ZodType< UploadProjectAvatarCreatorProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function uploadProjectAvatarCreatorProjectFromJSON( jsonString: string, @@ -2122,10 +2177,12 @@ export const UploadProjectAvatarCreator2$inboundSchema: z.ZodType< UploadProjectAvatarCreator2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UploadProjectAvatarCreatorProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UploadProjectAvatarCreatorProject$inboundSchema), + type: types.literal("project"), + }) +); export function uploadProjectAvatarCreator2FromJSON( jsonString: string, @@ -2142,10 +2199,12 @@ export const UploadProjectAvatarViaIntegration$inboundSchema: z.ZodType< UploadProjectAvatarViaIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function uploadProjectAvatarViaIntegrationFromJSON( jsonString: string, @@ -2162,10 +2221,12 @@ export const UploadProjectAvatarVia2$inboundSchema: z.ZodType< UploadProjectAvatarVia2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => UploadProjectAvatarViaIntegration$inboundSchema), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => UploadProjectAvatarViaIntegration$inboundSchema), + type: types.literal("integration"), + }) +); export function uploadProjectAvatarVia2FromJSON( jsonString: string, @@ -2182,10 +2243,12 @@ export const UploadProjectAvatarViaApp$inboundSchema: z.ZodType< UploadProjectAvatarViaApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function uploadProjectAvatarViaAppFromJSON( jsonString: string, @@ -2202,10 +2265,12 @@ export const UploadProjectAvatarVia1$inboundSchema: z.ZodType< UploadProjectAvatarVia1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UploadProjectAvatarViaApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UploadProjectAvatarViaApp$inboundSchema), + type: types.literal("app"), + }) +); export function uploadProjectAvatarVia1FromJSON( jsonString: string, @@ -2222,10 +2287,12 @@ export const UploadProjectAvatarCreatorVia$inboundSchema: z.ZodType< UploadProjectAvatarCreatorVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarVia1$inboundSchema), - z.lazy(() => UploadProjectAvatarVia2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarVia1$inboundSchema), + z.lazy(() => UploadProjectAvatarVia2$inboundSchema), + ]) +); export function uploadProjectAvatarCreatorViaFromJSON( jsonString: string, @@ -2242,9 +2309,11 @@ export const UploadProjectAvatarCreatorUser$inboundSchema: z.ZodType< UploadProjectAvatarCreatorUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function uploadProjectAvatarCreatorUserFromJSON( jsonString: string, @@ -2261,16 +2330,18 @@ export const UploadProjectAvatarCreator1$inboundSchema: z.ZodType< UploadProjectAvatarCreator1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UploadProjectAvatarVia1$inboundSchema), z.lazy(() => UploadProjectAvatarVia2$inboundSchema), - ]), - ), - user: z.lazy(() => UploadProjectAvatarCreatorUser$inboundSchema), -}); + ])), + user: z.lazy(() => + UploadProjectAvatarCreatorUser$inboundSchema + ), + }) +); export function uploadProjectAvatarCreator1FromJSON( jsonString: string, @@ -2287,13 +2358,15 @@ export const UploadProjectAvatarCreator$inboundSchema: z.ZodType< UploadProjectAvatarCreator, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarCreator1$inboundSchema), - z.lazy(() => UploadProjectAvatarCreator2$inboundSchema), - z.lazy(() => UploadProjectAvatarCreator3$inboundSchema), - z.lazy(() => UploadProjectAvatarCreator4$inboundSchema), - z.lazy(() => UploadProjectAvatarCreator5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarCreator1$inboundSchema), + z.lazy(() => UploadProjectAvatarCreator2$inboundSchema), + z.lazy(() => UploadProjectAvatarCreator3$inboundSchema), + z.lazy(() => UploadProjectAvatarCreator4$inboundSchema), + z.lazy(() => UploadProjectAvatarCreator5$inboundSchema), + ]) +); export function uploadProjectAvatarCreatorFromJSON( jsonString: string, @@ -2308,21 +2381,23 @@ export function uploadProjectAvatarCreatorFromJSON( /** @internal */ export const UploadProjectAvatarSource$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarSource -> = z.nativeEnum(UploadProjectAvatarSource); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarSource)); /** @internal */ export const UploadProjectAvatarDefinitions$inboundSchema: z.ZodType< UploadProjectAvatarDefinitions, z.ZodTypeDef, unknown -> = z.object({ - description: types.optional(types.string()), - host: types.string(), - hostInferred: types.optional(types.boolean()), - path: types.string(), - schedule: types.string(), - source: types.optional(UploadProjectAvatarSource$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + description: types.optional(types.string()), + host: types.string(), + hostInferred: types.optional(types.boolean()), + path: types.string(), + schedule: types.string(), + source: types.optional(UploadProjectAvatarSource$inboundSchema), + }) +); export function uploadProjectAvatarDefinitionsFromJSON( jsonString: string, @@ -2339,15 +2414,17 @@ export const UploadProjectAvatarCrons$inboundSchema: z.ZodType< UploadProjectAvatarCrons, z.ZodTypeDef, unknown -> = z.object({ - definitions: z.array( - z.lazy(() => UploadProjectAvatarDefinitions$inboundSchema), - ), - deploymentId: types.nullable(types.string()), - disabledAt: types.nullable(types.number()), - enabledAt: types.number(), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + definitions: z.array( + z.lazy(() => UploadProjectAvatarDefinitions$inboundSchema), + ), + deploymentId: types.nullable(types.string()), + disabledAt: types.nullable(types.number()), + enabledAt: types.number(), + updatedAt: types.number(), + }) +); export function uploadProjectAvatarCronsFromJSON( jsonString: string, @@ -2363,8 +2440,10 @@ export function uploadProjectAvatarCronsFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, + ) ); /** @internal */ @@ -2372,11 +2451,13 @@ export const UploadProjectAvatarBranchMatcher$inboundSchema: z.ZodType< UploadProjectAvatarBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, + }) +); export function uploadProjectAvatarBranchMatcherFromJSON( jsonString: string, @@ -2393,12 +2474,14 @@ export const UploadProjectAvatarVerification$inboundSchema: z.ZodType< UploadProjectAvatarVerification, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - reason: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + reason: types.string(), + type: types.string(), + value: types.string(), + }) +); export function uploadProjectAvatarVerificationFromJSON( jsonString: string, @@ -2415,21 +2498,23 @@ export const UploadProjectAvatarDomains$inboundSchema: z.ZodType< UploadProjectAvatarDomains, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verification: types.optional( - z.array(z.lazy(() => UploadProjectAvatarVerification$inboundSchema)), - ), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verification: types.optional( + z.array(z.lazy(() => UploadProjectAvatarVerification$inboundSchema)), + ), + verified: types.boolean(), + }) +); export function uploadProjectAvatarDomainsFromJSON( jsonString: string, @@ -2444,28 +2529,30 @@ export function uploadProjectAvatarDomainsFromJSON( /** @internal */ export const UploadProjectAvatarType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarType -> = z.nativeEnum(UploadProjectAvatarType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarType)); /** @internal */ export const UploadProjectAvatarCustomEnvironments$inboundSchema: z.ZodType< UploadProjectAvatarCustomEnvironments, z.ZodTypeDef, unknown -> = z.object({ - branchMatcher: types.optional( - z.lazy(() => UploadProjectAvatarBranchMatcher$inboundSchema), - ), - createdAt: types.number(), - currentDeploymentAliases: types.optional(z.array(types.string())), - description: types.optional(types.string()), - domains: types.optional( - z.array(z.lazy(() => UploadProjectAvatarDomains$inboundSchema)), - ), - id: types.string(), - slug: types.string(), - type: UploadProjectAvatarType$inboundSchema, - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + branchMatcher: types.optional( + z.lazy(() => UploadProjectAvatarBranchMatcher$inboundSchema), + ), + createdAt: types.number(), + currentDeploymentAliases: types.optional(z.array(types.string())), + description: types.optional(types.string()), + domains: types.optional( + z.array(z.lazy(() => UploadProjectAvatarDomains$inboundSchema)), + ), + id: types.string(), + slug: types.string(), + type: UploadProjectAvatarType$inboundSchema, + updatedAt: types.number(), + }) +); export function uploadProjectAvatarCustomEnvironmentsFromJSON( jsonString: string, @@ -2483,11 +2570,13 @@ export const UploadProjectAvatarDataCache$inboundSchema: z.ZodType< UploadProjectAvatarDataCache, z.ZodTypeDef, unknown -> = z.object({ - storageSizeBytes: z.nullable(types.number()).optional(), - unlimited: types.optional(types.boolean()), - userDisabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storageSizeBytes: z.nullable(types.number()).optional(), + unlimited: types.optional(types.boolean()), + userDisabled: types.boolean(), + }) +); export function uploadProjectAvatarDataCacheFromJSON( jsonString: string, @@ -2501,13 +2590,17 @@ export function uploadProjectAvatarDataCacheFromJSON( /** @internal */ export const UploadProjectAvatarBuildMachineElasticReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarBuildMachineElasticReason); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarBuildMachineElasticReason) + ); /** @internal */ export const UploadProjectAvatarDirection$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarDirection -> = z.nativeEnum(UploadProjectAvatarDirection); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarDirection) +); /** @internal */ export const UploadProjectAvatarBuildMachineElasticTransition$inboundSchema: @@ -2515,11 +2608,13 @@ export const UploadProjectAvatarBuildMachineElasticTransition$inboundSchema: UploadProjectAvatarBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UploadProjectAvatarDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UploadProjectAvatarDirection$inboundSchema, + }) + ); export function uploadProjectAvatarBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -2539,27 +2634,37 @@ export function uploadProjectAvatarBuildMachineElasticTransitionFromJSON( /** @internal */ export const UploadProjectAvatarBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarBuildMachineSelection) + ); /** @internal */ export const UploadProjectAvatarBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarBuildMachineType -> = z.nativeEnum(UploadProjectAvatarBuildMachineType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarBuildMachineType) +); /** @internal */ export const UploadProjectAvatarConfiguration$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarConfiguration -> = z.nativeEnum(UploadProjectAvatarConfiguration); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarConfiguration) +); /** @internal */ export const UploadProjectAvatarBuildQueue$inboundSchema: z.ZodType< UploadProjectAvatarBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional(UploadProjectAvatarConfiguration$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UploadProjectAvatarConfiguration$inboundSchema, + ), + }) +); export function uploadProjectAvatarBuildQueueFromJSON( jsonString: string, @@ -2573,19 +2678,23 @@ export function uploadProjectAvatarBuildQueueFromJSON( /** @internal */ export const UploadProjectAvatarFunctionDefaultMemoryType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarFunctionDefaultMemoryType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarFunctionDefaultMemoryType) + ); /** @internal */ export const UploadProjectAvatarElasticBuildMachine4$inboundSchema: z.ZodType< UploadProjectAvatarElasticBuildMachine4, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) +); export function uploadProjectAvatarElasticBuildMachine4FromJSON( jsonString: string, @@ -2608,11 +2717,13 @@ export const UploadProjectAvatarElasticBuildMachine3$inboundSchema: z.ZodType< UploadProjectAvatarElasticBuildMachine3, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) +); export function uploadProjectAvatarElasticBuildMachine3FromJSON( jsonString: string, @@ -2635,11 +2746,13 @@ export const UploadProjectAvatarElasticBuildMachine2$inboundSchema: z.ZodType< UploadProjectAvatarElasticBuildMachine2, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) +); export function uploadProjectAvatarElasticBuildMachine2FromJSON( jsonString: string, @@ -2662,11 +2775,13 @@ export const UploadProjectAvatarElasticBuildMachine1$inboundSchema: z.ZodType< UploadProjectAvatarElasticBuildMachine1, z.ZodTypeDef, unknown -> = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) +); export function uploadProjectAvatarElasticBuildMachine1FromJSON( jsonString: string, @@ -2689,12 +2804,14 @@ export const UploadProjectAvatarElasticBuildMachine$inboundSchema: z.ZodType< UploadProjectAvatarElasticBuildMachine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarElasticBuildMachine1$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachine2$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachine3$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachine4$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarElasticBuildMachine1$inboundSchema), + z.lazy(() => UploadProjectAvatarElasticBuildMachine2$inboundSchema), + z.lazy(() => UploadProjectAvatarElasticBuildMachine3$inboundSchema), + z.lazy(() => UploadProjectAvatarElasticBuildMachine4$inboundSchema), + ]) +); export function uploadProjectAvatarElasticBuildMachineFromJSON( jsonString: string, @@ -2712,44 +2829,44 @@ export const UploadProjectAvatarDefaultResourceConfig$inboundSchema: z.ZodType< UploadProjectAvatarDefaultResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UploadProjectAvatarBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UploadProjectAvatarBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UploadProjectAvatarBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UploadProjectAvatarBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UploadProjectAvatarBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UploadProjectAvatarBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UploadProjectAvatarBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UploadProjectAvatarFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + UploadProjectAvatarBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UploadProjectAvatarBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UploadProjectAvatarFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UploadProjectAvatarElasticBuildMachine1$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachine2$inboundSchema), + z.lazy(() => + UploadProjectAvatarElasticBuildMachine2$inboundSchema + ), z.lazy(() => UploadProjectAvatarElasticBuildMachine3$inboundSchema), z.lazy(() => UploadProjectAvatarElasticBuildMachine4$inboundSchema), - ]), - ), -}); + ])), + }) +); export function uploadProjectAvatarDefaultResourceConfigFromJSON( jsonString: string, @@ -2772,13 +2889,15 @@ export const UploadProjectAvatarDeploymentExpiration$inboundSchema: z.ZodType< UploadProjectAvatarDeploymentExpiration, z.ZodTypeDef, unknown -> = z.object({ - deploymentsToKeep: types.optional(types.number()), - expirationDays: types.optional(types.number()), - expirationDaysCanceled: types.optional(types.number()), - expirationDaysErrored: types.optional(types.number()), - expirationDaysProduction: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentsToKeep: types.optional(types.number()), + expirationDays: types.optional(types.number()), + expirationDaysCanceled: types.optional(types.number()), + expirationDaysErrored: types.optional(types.number()), + expirationDaysProduction: types.optional(types.number()), + }) +); export function uploadProjectAvatarDeploymentExpirationFromJSON( jsonString: string, @@ -2801,10 +2920,12 @@ export const UploadProjectAvatarEnvironments2$inboundSchema: z.ZodType< UploadProjectAvatarEnvironments2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function uploadProjectAvatarEnvironments2FromJSON( jsonString: string, @@ -2818,19 +2939,22 @@ export function uploadProjectAvatarEnvironments2FromJSON( /** @internal */ export const UploadProjectAvatarEnvironmentsTarget$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarEnvironmentsTarget, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarEnvironmentsTarget) + ); /** @internal */ export const UploadProjectAvatarEnvironments1$inboundSchema: z.ZodType< UploadProjectAvatarEnvironments1, z.ZodTypeDef, unknown -> = z.object({ - target: UploadProjectAvatarEnvironmentsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UploadProjectAvatarEnvironmentsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function uploadProjectAvatarEnvironments1FromJSON( jsonString: string, @@ -2847,10 +2971,12 @@ export const UploadProjectAvatarEnvironments$inboundSchema: z.ZodType< UploadProjectAvatarEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarEnvironments1$inboundSchema), - z.lazy(() => UploadProjectAvatarEnvironments2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarEnvironments1$inboundSchema), + z.lazy(() => UploadProjectAvatarEnvironments2$inboundSchema), + ]) +); export function uploadProjectAvatarEnvironmentsFromJSON( jsonString: string, @@ -2865,23 +2991,23 @@ export function uploadProjectAvatarEnvironmentsFromJSON( /** @internal */ export const UploadProjectAvatarSources$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarSources -> = z.nativeEnum(UploadProjectAvatarSources); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarSources)); /** @internal */ export const UploadProjectAvatarDeploymentSources$inboundSchema: z.ZodType< UploadProjectAvatarDeploymentSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => UploadProjectAvatarEnvironments1$inboundSchema), z.lazy(() => UploadProjectAvatarEnvironments2$inboundSchema), - ]), - ), - sources: z.array(UploadProjectAvatarSources$inboundSchema), -}); + ])), + sources: z.array(UploadProjectAvatarSources$inboundSchema), + }) +); export function uploadProjectAvatarDeploymentSourcesFromJSON( jsonString: string, @@ -2899,10 +3025,12 @@ export const UploadProjectAvatarEnvironmentsProjects2$inboundSchema: z.ZodType< UploadProjectAvatarEnvironmentsProjects2, z.ZodTypeDef, unknown -> = z.object({ - environmentId: types.string(), - type: types.literal("custom"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environmentId: types.string(), + type: types.literal("custom"), + }) +); export function uploadProjectAvatarEnvironmentsProjects2FromJSON( jsonString: string, @@ -2922,18 +3050,22 @@ export function uploadProjectAvatarEnvironmentsProjects2FromJSON( /** @internal */ export const UploadProjectAvatarEnvironmentsProjectsTarget$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarEnvironmentsProjectsTarget); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarEnvironmentsProjectsTarget) + ); /** @internal */ export const UploadProjectAvatarEnvironmentsProjects1$inboundSchema: z.ZodType< UploadProjectAvatarEnvironmentsProjects1, z.ZodTypeDef, unknown -> = z.object({ - target: UploadProjectAvatarEnvironmentsProjectsTarget$inboundSchema, - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + target: UploadProjectAvatarEnvironmentsProjectsTarget$inboundSchema, + type: types.literal("system"), + }) +); export function uploadProjectAvatarEnvironmentsProjects1FromJSON( jsonString: string, @@ -2956,10 +3088,12 @@ export const UploadProjectAvatarProjectsEnvironments$inboundSchema: z.ZodType< UploadProjectAvatarProjectsEnvironments, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarEnvironmentsProjects1$inboundSchema), - z.lazy(() => UploadProjectAvatarEnvironmentsProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarEnvironmentsProjects1$inboundSchema), + z.lazy(() => UploadProjectAvatarEnvironmentsProjects2$inboundSchema), + ]) +); export function uploadProjectAvatarProjectsEnvironmentsFromJSON( jsonString: string, @@ -2982,11 +3116,13 @@ export const UploadProjectAvatarSources2$inboundSchema: z.ZodType< UploadProjectAvatarSources2, z.ZodTypeDef, unknown -> = z.object({ - namespace: types.string(), - project: types.optional(types.string()), - provider: types.literal("gitlab"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + project: types.optional(types.string()), + provider: types.literal("gitlab"), + }) +); export function uploadProjectAvatarSources2FromJSON( jsonString: string, @@ -3001,18 +3137,22 @@ export function uploadProjectAvatarSources2FromJSON( /** @internal */ export const UploadProjectAvatarSourcesProvider$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarSourcesProvider -> = z.nativeEnum(UploadProjectAvatarSourcesProvider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarSourcesProvider) +); /** @internal */ export const UploadProjectAvatarSources1$inboundSchema: z.ZodType< UploadProjectAvatarSources1, z.ZodTypeDef, unknown -> = z.object({ - org: types.string(), - provider: UploadProjectAvatarSourcesProvider$inboundSchema, - repo: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + org: types.string(), + provider: UploadProjectAvatarSourcesProvider$inboundSchema, + repo: types.optional(types.string()), + }) +); export function uploadProjectAvatarSources1FromJSON( jsonString: string, @@ -3029,15 +3169,17 @@ export const UploadProjectAvatarProjectsSources$inboundSchema: z.ZodType< UploadProjectAvatarProjectsSources, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarSources1$inboundSchema).and( - z.object({ provider: z.literal("bitbucket") }), - ), - z.lazy(() => UploadProjectAvatarSources1$inboundSchema).and( - z.object({ provider: z.literal("github") }), - ), - z.lazy(() => UploadProjectAvatarSources2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarSources1$inboundSchema).and( + z.object({ provider: z.literal("bitbucket") }), + ), + z.lazy(() => UploadProjectAvatarSources1$inboundSchema).and( + z.object({ provider: z.literal("github") }), + ), + z.lazy(() => UploadProjectAvatarSources2$inboundSchema), + ]) +); export function uploadProjectAvatarProjectsSourcesFromJSON( jsonString: string, @@ -3055,16 +3197,14 @@ export const UploadProjectAvatarGitSources$inboundSchema: z.ZodType< UploadProjectAvatarGitSources, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - environments: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + environments: z.array(z.union([ z.lazy(() => UploadProjectAvatarEnvironmentsProjects1$inboundSchema), z.lazy(() => UploadProjectAvatarEnvironmentsProjects2$inboundSchema), - ]), - ), - sources: z.array( - z.union([ + ])), + sources: z.array(z.union([ z.lazy(() => UploadProjectAvatarSources1$inboundSchema).and( z.object({ provider: z.literal("bitbucket") }), ), @@ -3072,9 +3212,9 @@ export const UploadProjectAvatarGitSources$inboundSchema: z.ZodType< z.object({ provider: z.literal("github") }), ), z.lazy(() => UploadProjectAvatarSources2$inboundSchema), - ]), - ), -}); + ])), + }) +); export function uploadProjectAvatarGitSourcesFromJSON( jsonString: string, @@ -3091,14 +3231,16 @@ export const UploadProjectAvatarDeploymentPolicy$inboundSchema: z.ZodType< UploadProjectAvatarDeploymentPolicy, z.ZodTypeDef, unknown -> = z.object({ - deploymentSources: z.nullable( - z.array(z.lazy(() => UploadProjectAvatarDeploymentSources$inboundSchema)), - ).optional(), - gitSources: z.nullable( - z.array(z.lazy(() => UploadProjectAvatarGitSources$inboundSchema)), - ).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentSources: z.nullable( + z.array(z.lazy(() => UploadProjectAvatarDeploymentSources$inboundSchema)), + ).optional(), + gitSources: z.nullable( + z.array(z.lazy(() => UploadProjectAvatarGitSources$inboundSchema)), + ).optional(), + }) +); export function uploadProjectAvatarDeploymentPolicyFromJSON( jsonString: string, @@ -3114,14 +3256,16 @@ export function uploadProjectAvatarDeploymentPolicyFromJSON( /** @internal */ export const UploadProjectAvatarAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarAction -> = z.nativeEnum(UploadProjectAvatarAction); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarAction)); /** @internal */ export const UploadProjectAvatarValueCurrentValue$inboundSchema: z.ZodType< UploadProjectAvatarValueCurrentValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function uploadProjectAvatarValueCurrentValueFromJSON( jsonString: string, @@ -3139,7 +3283,9 @@ export const UploadProjectAvatarValuePreviousValue$inboundSchema: z.ZodType< UploadProjectAvatarValuePreviousValue, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number(), types.boolean()]) +); export function uploadProjectAvatarValuePreviousValueFromJSON( jsonString: string, @@ -3157,10 +3303,16 @@ export const UploadProjectAvatarValue3$inboundSchema: z.ZodType< UploadProjectAvatarValue3, z.ZodTypeDef, unknown -> = z.object({ - currentValue: smartUnion([types.string(), types.number(), types.boolean()]), - previousValue: smartUnion([types.string(), types.number(), types.boolean()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currentValue: smartUnion([types.string(), types.number(), types.boolean()]), + previousValue: smartUnion([ + types.string(), + types.number(), + types.boolean(), + ]), + }) +); export function uploadProjectAvatarValue3FromJSON( jsonString: string, @@ -3177,12 +3329,14 @@ export const UploadProjectAvatarValue$inboundSchema: z.ZodType< UploadProjectAvatarValue, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarValue3$inboundSchema), - types.string(), - types.number(), - types.boolean(), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarValue3$inboundSchema), + types.string(), + types.number(), + types.boolean(), + ]) +); export function uploadProjectAvatarValueFromJSON( jsonString: string, @@ -3199,19 +3353,19 @@ export const UploadProjectAvatarDismissedToasts$inboundSchema: z.ZodType< UploadProjectAvatarDismissedToasts, z.ZodTypeDef, unknown -> = z.object({ - action: UploadProjectAvatarAction$inboundSchema, - dismissedAt: types.number(), - key: types.string(), - value: types.nullable( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UploadProjectAvatarAction$inboundSchema, + dismissedAt: types.number(), + key: types.string(), + value: types.nullable(smartUnion([ z.lazy(() => UploadProjectAvatarValue3$inboundSchema), types.string(), types.number(), types.boolean(), - ]), - ), -}); + ])), + }) +); export function uploadProjectAvatarDismissedToastsFromJSON( jsonString: string, @@ -3229,10 +3383,12 @@ export const UploadProjectAvatarContentHint17$inboundSchema: z.ZodType< UploadProjectAvatarContentHint17, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - type: types.literal("flags-connection-string"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + type: types.literal("flags-connection-string"), + }) +); export function uploadProjectAvatarContentHint17FromJSON( jsonString: string, @@ -3249,13 +3405,15 @@ export const UploadProjectAvatarContentHint16$inboundSchema: z.ZodType< UploadProjectAvatarContentHint16, z.ZodTypeDef, unknown -> = z.object({ - integrationConfigurationId: types.string(), - integrationId: types.string(), - integrationProductId: types.string(), - storeId: types.string(), - type: types.literal("integration-store-secret"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationConfigurationId: types.string(), + integrationId: types.string(), + integrationProductId: types.string(), + storeId: types.string(), + type: types.literal("integration-store-secret"), + }) +); export function uploadProjectAvatarContentHint16FromJSON( jsonString: string, @@ -3272,10 +3430,12 @@ export const UploadProjectAvatarContentHint15$inboundSchema: z.ZodType< UploadProjectAvatarContentHint15, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-no-ssl"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-no-ssl"), + }) +); export function uploadProjectAvatarContentHint15FromJSON( jsonString: string, @@ -3292,10 +3452,12 @@ export const UploadProjectAvatarContentHint14$inboundSchema: z.ZodType< UploadProjectAvatarContentHint14, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-database"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-database"), + }) +); export function uploadProjectAvatarContentHint14FromJSON( jsonString: string, @@ -3312,10 +3474,12 @@ export const UploadProjectAvatarContentHint13$inboundSchema: z.ZodType< UploadProjectAvatarContentHint13, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-password"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-password"), + }) +); export function uploadProjectAvatarContentHint13FromJSON( jsonString: string, @@ -3332,10 +3496,12 @@ export const UploadProjectAvatarContentHint12$inboundSchema: z.ZodType< UploadProjectAvatarContentHint12, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-host"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-host"), + }) +); export function uploadProjectAvatarContentHint12FromJSON( jsonString: string, @@ -3352,10 +3518,12 @@ export const UploadProjectAvatarContentHint11$inboundSchema: z.ZodType< UploadProjectAvatarContentHint11, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-user"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-user"), + }) +); export function uploadProjectAvatarContentHint11FromJSON( jsonString: string, @@ -3372,10 +3540,12 @@ export const UploadProjectAvatarContentHint10$inboundSchema: z.ZodType< UploadProjectAvatarContentHint10, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-prisma-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-prisma-url"), + }) +); export function uploadProjectAvatarContentHint10FromJSON( jsonString: string, @@ -3392,10 +3562,12 @@ export const UploadProjectAvatarContentHint9$inboundSchema: z.ZodType< UploadProjectAvatarContentHint9, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url-non-pooling"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url-non-pooling"), + }) +); export function uploadProjectAvatarContentHint9FromJSON( jsonString: string, @@ -3412,10 +3584,12 @@ export const UploadProjectAvatarContentHint8$inboundSchema: z.ZodType< UploadProjectAvatarContentHint8, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("postgres-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("postgres-url"), + }) +); export function uploadProjectAvatarContentHint8FromJSON( jsonString: string, @@ -3432,10 +3606,12 @@ export const UploadProjectAvatarContentHint7$inboundSchema: z.ZodType< UploadProjectAvatarContentHint7, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-webhook-public-key"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-webhook-public-key"), + }) +); export function uploadProjectAvatarContentHint7FromJSON( jsonString: string, @@ -3452,10 +3628,12 @@ export const UploadProjectAvatarContentHint6$inboundSchema: z.ZodType< UploadProjectAvatarContentHint6, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-store-id"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-store-id"), + }) +); export function uploadProjectAvatarContentHint6FromJSON( jsonString: string, @@ -3472,10 +3650,12 @@ export const UploadProjectAvatarContentHint5$inboundSchema: z.ZodType< UploadProjectAvatarContentHint5, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("blob-read-write-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("blob-read-write-token"), + }) +); export function uploadProjectAvatarContentHint5FromJSON( jsonString: string, @@ -3492,10 +3672,12 @@ export const UploadProjectAvatarContentHint4$inboundSchema: z.ZodType< UploadProjectAvatarContentHint4, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-read-only-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-read-only-token"), + }) +); export function uploadProjectAvatarContentHint4FromJSON( jsonString: string, @@ -3512,10 +3694,12 @@ export const UploadProjectAvatarContentHint3$inboundSchema: z.ZodType< UploadProjectAvatarContentHint3, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-token"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-token"), + }) +); export function uploadProjectAvatarContentHint3FromJSON( jsonString: string, @@ -3532,10 +3716,12 @@ export const UploadProjectAvatarContentHint2$inboundSchema: z.ZodType< UploadProjectAvatarContentHint2, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-rest-api-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-rest-api-url"), + }) +); export function uploadProjectAvatarContentHint2FromJSON( jsonString: string, @@ -3552,10 +3738,12 @@ export const UploadProjectAvatarContentHint1$inboundSchema: z.ZodType< UploadProjectAvatarContentHint1, z.ZodTypeDef, unknown -> = z.object({ - storeId: types.string(), - type: types.literal("redis-url"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + storeId: types.string(), + type: types.literal("redis-url"), + }) +); export function uploadProjectAvatarContentHint1FromJSON( jsonString: string, @@ -3572,25 +3760,27 @@ export const UploadProjectAvatarContentHint$inboundSchema: z.ZodType< UploadProjectAvatarContentHint, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarContentHint1$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint2$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint3$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint4$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint5$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint6$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint7$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint8$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint9$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint10$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint11$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint12$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint13$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint14$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint15$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint16$inboundSchema), - z.lazy(() => UploadProjectAvatarContentHint17$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarContentHint1$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint2$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint3$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint4$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint5$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint6$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint7$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint8$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint9$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint10$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint11$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint12$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint13$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint14$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint15$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint16$inboundSchema), + z.lazy(() => UploadProjectAvatarContentHint17$inboundSchema), + ]) +); export function uploadProjectAvatarContentHintFromJSON( jsonString: string, @@ -3606,8 +3796,10 @@ export function uploadProjectAvatarContentHintFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType, + ) ); /** @internal */ @@ -3615,11 +3807,13 @@ export const UploadProjectAvatarInternalContentHint$inboundSchema: z.ZodType< UploadProjectAvatarInternalContentHint, z.ZodTypeDef, unknown -> = z.object({ - encryptedValue: types.string(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + encryptedValue: types.string(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, + }) +); export function uploadProjectAvatarInternalContentHintFromJSON( jsonString: string, @@ -3635,22 +3829,24 @@ export function uploadProjectAvatarInternalContentHintFromJSON( /** @internal */ export const UploadProjectAvatarTarget2$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarTarget2 -> = z.nativeEnum(UploadProjectAvatarTarget2); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarTarget2)); /** @internal */ export const UploadProjectAvatarTarget1$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarTarget1 -> = z.nativeEnum(UploadProjectAvatarTarget1); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarTarget1)); /** @internal */ export const UploadProjectAvatarProjectsTarget$inboundSchema: z.ZodType< UploadProjectAvatarProjectsTarget, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(UploadProjectAvatarTarget1$inboundSchema), - UploadProjectAvatarTarget2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(UploadProjectAvatarTarget1$inboundSchema), + UploadProjectAvatarTarget2$inboundSchema, + ]) +); export function uploadProjectAvatarProjectsTargetFromJSON( jsonString: string, @@ -3665,23 +3861,27 @@ export function uploadProjectAvatarProjectsTargetFromJSON( /** @internal */ export const UploadProjectAvatarProjectsType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsType -> = z.nativeEnum(UploadProjectAvatarProjectsType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsType) +); /** @internal */ export const UploadProjectAvatarVisibility$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarVisibility -> = z.nativeEnum(UploadProjectAvatarVisibility); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarVisibility) +); /** @internal */ export const UploadProjectAvatarEnv$inboundSchema: z.ZodType< UploadProjectAvatarEnv, z.ZodTypeDef, unknown -> = z.object({ - comment: types.optional(types.string()), - configurationId: z.nullable(types.string()).optional(), - contentHint: z.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + comment: types.optional(types.string()), + configurationId: z.nullable(types.string()).optional(), + contentHint: z.nullable(z.union([ z.lazy(() => UploadProjectAvatarContentHint1$inboundSchema), z.lazy(() => UploadProjectAvatarContentHint2$inboundSchema), z.lazy(() => UploadProjectAvatarContentHint3$inboundSchema), @@ -3699,35 +3899,35 @@ export const UploadProjectAvatarEnv$inboundSchema: z.ZodType< z.lazy(() => UploadProjectAvatarContentHint15$inboundSchema), z.lazy(() => UploadProjectAvatarContentHint16$inboundSchema), z.lazy(() => UploadProjectAvatarContentHint17$inboundSchema), - ]), - ).optional(), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - internalContentHint: z.nullable( - z.lazy(() => UploadProjectAvatarInternalContentHint$inboundSchema), - ).optional(), - key: types.string(), - legacyValue: types.optional(types.string()), - sunsetSecretId: types.optional(types.string()), - target: types.optional( - smartUnion([ - z.array(UploadProjectAvatarTarget1$inboundSchema), - UploadProjectAvatarTarget2$inboundSchema, - ]), - ), - type: UploadProjectAvatarProjectsType$inboundSchema, - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.string(), - visibility: types.optional(UploadProjectAvatarVisibility$inboundSchema), - vsmValue: types.optional(types.string()), -}); + ])).optional(), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + internalContentHint: z.nullable(z.lazy(() => + UploadProjectAvatarInternalContentHint$inboundSchema + )).optional(), + key: types.string(), + legacyValue: types.optional(types.string()), + sunsetSecretId: types.optional(types.string()), + target: types.optional( + smartUnion([ + z.array(UploadProjectAvatarTarget1$inboundSchema), + UploadProjectAvatarTarget2$inboundSchema, + ]), + ), + type: UploadProjectAvatarProjectsType$inboundSchema, + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.string(), + visibility: types.optional(UploadProjectAvatarVisibility$inboundSchema), + vsmValue: types.optional(types.string()), + }) +); export function uploadProjectAvatarEnvFromJSON( jsonString: string, @@ -3744,10 +3944,12 @@ export const UploadProjectAvatarExpiration2$inboundSchema: z.ZodType< UploadProjectAvatarExpiration2, z.ZodTypeDef, unknown -> = z.object({ - lockedAt: types.number(), - lockedBy: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + lockedAt: types.number(), + lockedBy: types.string(), + }) +); export function uploadProjectAvatarExpiration2FromJSON( jsonString: string, @@ -3764,9 +3966,11 @@ export const UploadProjectAvatarExpiration1$inboundSchema: z.ZodType< UploadProjectAvatarExpiration1, z.ZodTypeDef, unknown -> = z.object({ - expiresAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.number(), + }) +); export function uploadProjectAvatarExpiration1FromJSON( jsonString: string, @@ -3783,10 +3987,12 @@ export const UploadProjectAvatarExpiration$inboundSchema: z.ZodType< UploadProjectAvatarExpiration, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarExpiration2$inboundSchema), - z.lazy(() => UploadProjectAvatarExpiration1$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarExpiration2$inboundSchema), + z.lazy(() => UploadProjectAvatarExpiration1$inboundSchema), + ]) +); export function uploadProjectAvatarExpirationFromJSON( jsonString: string, @@ -3803,9 +4009,11 @@ export const UploadProjectAvatarFeatures$inboundSchema: z.ZodType< UploadProjectAvatarFeatures, z.ZodTypeDef, unknown -> = z.object({ - webAnalytics: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + webAnalytics: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarFeaturesFromJSON( jsonString: string, @@ -3820,17 +4028,21 @@ export function uploadProjectAvatarFeaturesFromJSON( /** @internal */ export const UploadProjectAvatarFramework$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarFramework -> = z.nativeEnum(UploadProjectAvatarFramework); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarFramework) +); /** @internal */ export const UploadProjectAvatarGitComments$inboundSchema: z.ZodType< UploadProjectAvatarGitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); export function uploadProjectAvatarGitCommentsFromJSON( jsonString: string, @@ -3848,10 +4060,12 @@ export const UploadProjectAvatarConsolidatedGitCommitStatus$inboundSchema: UploadProjectAvatarConsolidatedGitCommitStatus, z.ZodTypeDef, unknown - > = z.object({ - enabled: types.boolean(), - propagateFailures: types.boolean(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + propagateFailures: types.boolean(), + }) + ); export function uploadProjectAvatarConsolidatedGitCommitStatusFromJSON( jsonString: string, @@ -3871,24 +4085,29 @@ export function uploadProjectAvatarConsolidatedGitCommitStatusFromJSON( /** @internal */ export const UploadProjectAvatarCreateDeployments$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarCreateDeployments, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarCreateDeployments) + ); /** @internal */ export const UploadProjectAvatarGitProviderOptions$inboundSchema: z.ZodType< UploadProjectAvatarGitProviderOptions, z.ZodTypeDef, unknown -> = z.object({ - consolidatedGitCommitStatus: types.optional( - z.lazy(() => UploadProjectAvatarConsolidatedGitCommitStatus$inboundSchema), - ), - createDeployments: UploadProjectAvatarCreateDeployments$inboundSchema, - disableRepositoryDispatchEvents: types.optional(types.boolean()), - gitCommitStatus: types.optional(types.boolean()), - requireVerifiedCommits: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consolidatedGitCommitStatus: types.optional( + z.lazy(() => + UploadProjectAvatarConsolidatedGitCommitStatus$inboundSchema + ), + ), + createDeployments: UploadProjectAvatarCreateDeployments$inboundSchema, + disableRepositoryDispatchEvents: types.optional(types.boolean()), + gitCommitStatus: types.optional(types.boolean()), + requireVerifiedCommits: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarGitProviderOptionsFromJSON( jsonString: string, @@ -3906,9 +4125,11 @@ export const UploadProjectAvatarHasProjectsValue$inboundSchema: z.ZodType< UploadProjectAvatarHasProjectsValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function uploadProjectAvatarHasProjectsValueFromJSON( jsonString: string, @@ -3926,10 +4147,12 @@ export const UploadProjectAvatarHas2$inboundSchema: z.ZodType< UploadProjectAvatarHas2, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("host"), - value: z.lazy(() => UploadProjectAvatarHasProjectsValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("host"), + value: z.lazy(() => UploadProjectAvatarHasProjectsValue$inboundSchema), + }) +); export function uploadProjectAvatarHas2FromJSON( jsonString: string, @@ -3944,16 +4167,18 @@ export function uploadProjectAvatarHas2FromJSON( /** @internal */ export const UploadProjectAvatarHasKey$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarHasKey -> = z.nativeEnum(UploadProjectAvatarHasKey); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarHasKey)); /** @internal */ export const UploadProjectAvatarHasValue$inboundSchema: z.ZodType< UploadProjectAvatarHasValue, z.ZodTypeDef, unknown -> = z.object({ - eq: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + eq: types.string(), + }) +); export function uploadProjectAvatarHasValueFromJSON( jsonString: string, @@ -3970,11 +4195,13 @@ export const UploadProjectAvatarHas1$inboundSchema: z.ZodType< UploadProjectAvatarHas1, z.ZodTypeDef, unknown -> = z.object({ - key: UploadProjectAvatarHasKey$inboundSchema, - type: types.literal("header"), - value: z.lazy(() => UploadProjectAvatarHasValue$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + key: UploadProjectAvatarHasKey$inboundSchema, + type: types.literal("header"), + value: z.lazy(() => UploadProjectAvatarHasValue$inboundSchema), + }) +); export function uploadProjectAvatarHas1FromJSON( jsonString: string, @@ -3991,10 +4218,12 @@ export const UploadProjectAvatarInternalRoutesHas$inboundSchema: z.ZodType< UploadProjectAvatarInternalRoutesHas, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarHas1$inboundSchema), - z.lazy(() => UploadProjectAvatarHas2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarHas1$inboundSchema), + z.lazy(() => UploadProjectAvatarHas2$inboundSchema), + ]) +); export function uploadProjectAvatarInternalRoutesHasFromJSON( jsonString: string, @@ -4009,17 +4238,21 @@ export function uploadProjectAvatarInternalRoutesHasFromJSON( /** @internal */ export const UploadProjectAvatarInternalRoutesAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarInternalRoutesAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarInternalRoutesAction) + ); /** @internal */ export const UploadProjectAvatarInternalRoutesMitigate$inboundSchema: z.ZodType< UploadProjectAvatarInternalRoutesMitigate, z.ZodTypeDef, unknown -> = z.object({ - action: UploadProjectAvatarInternalRoutesAction$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UploadProjectAvatarInternalRoutesAction$inboundSchema, + }) +); export function uploadProjectAvatarInternalRoutesMitigateFromJSON( jsonString: string, @@ -4042,18 +4275,18 @@ export const UploadProjectAvatarInternalRoutes2$inboundSchema: z.ZodType< UploadProjectAvatarInternalRoutes2, z.ZodTypeDef, unknown -> = z.object({ - has: z.array( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + has: z.array(z.union([ z.lazy(() => UploadProjectAvatarHas1$inboundSchema), z.lazy(() => UploadProjectAvatarHas2$inboundSchema), - ]), - ), - mitigate: z.lazy(() => - UploadProjectAvatarInternalRoutesMitigate$inboundSchema - ), - src: types.optional(types.string()), -}); + ])), + mitigate: z.lazy(() => + UploadProjectAvatarInternalRoutesMitigate$inboundSchema + ), + src: types.optional(types.string()), + }) +); export function uploadProjectAvatarInternalRoutes2FromJSON( jsonString: string, @@ -4071,11 +4304,13 @@ export const UploadProjectAvatarInternalRoutes1$inboundSchema: z.ZodType< UploadProjectAvatarInternalRoutes1, z.ZodTypeDef, unknown -> = z.object({ - expiry: types.optional(types.number()), - src: types.string(), - status: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiry: types.optional(types.number()), + src: types.string(), + status: types.number(), + }) +); export function uploadProjectAvatarInternalRoutes1FromJSON( jsonString: string, @@ -4093,10 +4328,12 @@ export const UploadProjectAvatarInternalRoutes$inboundSchema: z.ZodType< UploadProjectAvatarInternalRoutes, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarInternalRoutes1$inboundSchema), - z.lazy(() => UploadProjectAvatarInternalRoutes2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarInternalRoutes1$inboundSchema), + z.lazy(() => UploadProjectAvatarInternalRoutes2$inboundSchema), + ]) +); export function uploadProjectAvatarInternalRoutesFromJSON( jsonString: string, @@ -4113,11 +4350,13 @@ export const UploadProjectAvatarIpBuckets$inboundSchema: z.ZodType< UploadProjectAvatarIpBuckets, z.ZodTypeDef, unknown -> = z.object({ - bucket: types.string(), - default: types.optional(types.boolean()), - supportUntil: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bucket: types.string(), + default: types.optional(types.boolean()), + supportUntil: types.optional(types.number()), + }) +); export function uploadProjectAvatarIpBucketsFromJSON( jsonString: string, @@ -4134,9 +4373,11 @@ export const UploadProjectAvatarFlagDefinitionsPresent$inboundSchema: z.ZodType< UploadProjectAvatarFlagDefinitionsPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function uploadProjectAvatarFlagDefinitionsPresentFromJSON( jsonString: string, @@ -4159,9 +4400,11 @@ export const UploadProjectAvatarHealthCheck$inboundSchema: z.ZodType< UploadProjectAvatarHealthCheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function uploadProjectAvatarHealthCheckFromJSON( jsonString: string, @@ -4178,9 +4421,11 @@ export const UploadProjectAvatarLint$inboundSchema: z.ZodType< UploadProjectAvatarLint, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function uploadProjectAvatarLintFromJSON( jsonString: string, @@ -4197,9 +4442,11 @@ export const UploadProjectAvatarMfeConfigPresent$inboundSchema: z.ZodType< UploadProjectAvatarMfeConfigPresent, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function uploadProjectAvatarMfeConfigPresentFromJSON( jsonString: string, @@ -4217,9 +4464,11 @@ export const UploadProjectAvatarTypecheck$inboundSchema: z.ZodType< UploadProjectAvatarTypecheck, z.ZodTypeDef, unknown -> = z.object({ - targets: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + targets: z.array(types.string()), + }) +); export function uploadProjectAvatarTypecheckFromJSON( jsonString: string, @@ -4236,27 +4485,29 @@ export const UploadProjectAvatarJobs$inboundSchema: z.ZodType< UploadProjectAvatarJobs, z.ZodTypeDef, unknown -> = z.object({ - "flag-definitions-present": types.optional( - z.lazy(() => UploadProjectAvatarFlagDefinitionsPresent$inboundSchema), - ), - "health-check": types.optional( - z.lazy(() => UploadProjectAvatarHealthCheck$inboundSchema), - ), - lint: types.optional(z.lazy(() => UploadProjectAvatarLint$inboundSchema)), - "mfe-config-present": types.optional( - z.lazy(() => UploadProjectAvatarMfeConfigPresent$inboundSchema), - ), - typecheck: types.optional( - z.lazy(() => UploadProjectAvatarTypecheck$inboundSchema), - ), -}).transform((v) => { - return remap$(v, { - "flag-definitions-present": "flagDefinitionsPresent", - "health-check": "healthCheck", - "mfe-config-present": "mfeConfigPresent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + "flag-definitions-present": types.optional( + z.lazy(() => UploadProjectAvatarFlagDefinitionsPresent$inboundSchema), + ), + "health-check": types.optional( + z.lazy(() => UploadProjectAvatarHealthCheck$inboundSchema), + ), + lint: types.optional(z.lazy(() => UploadProjectAvatarLint$inboundSchema)), + "mfe-config-present": types.optional( + z.lazy(() => UploadProjectAvatarMfeConfigPresent$inboundSchema), + ), + typecheck: types.optional( + z.lazy(() => UploadProjectAvatarTypecheck$inboundSchema), + ), + }).transform((v) => { + return remap$(v, { + "flag-definitions-present": "flagDefinitionsPresent", + "health-check": "healthCheck", + "mfe-config-present": "mfeConfigPresent", + }); + }) +); export function uploadProjectAvatarJobsFromJSON( jsonString: string, @@ -4271,26 +4522,32 @@ export function uploadProjectAvatarJobsFromJSON( /** @internal */ export const UploadProjectAvatarJobStatus$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarJobStatus -> = z.nativeEnum(UploadProjectAvatarJobStatus); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarJobStatus) +); /** @internal */ export const UploadProjectAvatarProjectsResponseType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseType) + ); /** @internal */ export const UploadProjectAvatarLastAliasRequest$inboundSchema: z.ZodType< UploadProjectAvatarLastAliasRequest, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.nullable(types.string()), - fromRollingReleaseId: types.optional(types.string()), - jobStatus: UploadProjectAvatarJobStatus$inboundSchema, - requestedAt: types.number(), - toDeploymentId: types.string(), - type: UploadProjectAvatarProjectsResponseType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.nullable(types.string()), + fromRollingReleaseId: types.optional(types.string()), + jobStatus: UploadProjectAvatarJobStatus$inboundSchema, + requestedAt: types.number(), + toDeploymentId: types.string(), + type: UploadProjectAvatarProjectsResponseType$inboundSchema, + }) +); export function uploadProjectAvatarLastAliasRequestFromJSON( jsonString: string, @@ -4308,7 +4565,7 @@ export const UploadProjectAvatarLastRollbackTarget$inboundSchema: z.ZodType< UploadProjectAvatarLastRollbackTarget, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function uploadProjectAvatarLastRollbackTargetFromJSON( jsonString: string, @@ -4326,7 +4583,9 @@ export const UploadProjectAvatarAliasAssigned$inboundSchema: z.ZodType< UploadProjectAvatarAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function uploadProjectAvatarAliasAssignedFromJSON( jsonString: string, @@ -4343,10 +4602,12 @@ export const UploadProjectAvatarAliasError$inboundSchema: z.ZodType< UploadProjectAvatarAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function uploadProjectAvatarAliasErrorFromJSON( jsonString: string, @@ -4362,8 +4623,10 @@ export function uploadProjectAvatarAliasErrorFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, + ) ); /** @internal */ @@ -4371,11 +4634,13 @@ export const UploadProjectAvatarProjectsBranchMatcher$inboundSchema: z.ZodType< UploadProjectAvatarProjectsBranchMatcher, z.ZodTypeDef, unknown -> = z.object({ - pattern: types.string(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, + }) +); export function uploadProjectAvatarProjectsBranchMatcherFromJSON( jsonString: string, @@ -4398,11 +4663,13 @@ export const UploadProjectAvatarBuilds$inboundSchema: z.ZodType< UploadProjectAvatarBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function uploadProjectAvatarBuildsFromJSON( jsonString: string, @@ -4417,4 +4684,6 @@ export function uploadProjectAvatarBuildsFromJSON( /** @internal */ export const UploadProjectAvatarChecksConclusion$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarChecksConclusion -> = z.nativeEnum(UploadProjectAvatarChecksConclusion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarChecksConclusion) +); diff --git a/src/models/uploadprojectavatarresponsebody.ts b/src/models/uploadprojectavatarresponsebody.ts index c508c97950..45cea44ce4 100644 --- a/src/models/uploadprojectavatarresponsebody.ts +++ b/src/models/uploadprojectavatarresponsebody.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -344,12 +344,14 @@ export const UploadProjectAvatarToProjects1$inboundSchema: z.ZodType< UploadProjectAvatarToProjects1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional( - UploadProjectAvatarToProjectsResponsePreset$inboundSchema, - ), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional( + UploadProjectAvatarToProjectsResponsePreset$inboundSchema, + ), + slugs: z.array(types.string()), + }) +); export function uploadProjectAvatarToProjects1FromJSON( jsonString: string, @@ -366,10 +368,12 @@ export const UploadProjectAvatarProjectsTo$inboundSchema: z.ZodType< UploadProjectAvatarProjectsTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarToProjects1$inboundSchema), - UploadProjectAvatarToProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarToProjects1$inboundSchema), + UploadProjectAvatarToProjects2$inboundSchema, + ]) +); export function uploadProjectAvatarProjectsToFromJSON( jsonString: string, @@ -386,13 +390,15 @@ export const UploadProjectAvatarCustomAllow$inboundSchema: z.ZodType< UploadProjectAvatarCustomAllow, z.ZodTypeDef, unknown -> = z.object({ - from: UploadProjectAvatarFrom$inboundSchema, - to: smartUnion([ - z.lazy(() => UploadProjectAvatarToProjects1$inboundSchema), - UploadProjectAvatarToProjects2$inboundSchema, - ]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: UploadProjectAvatarFrom$inboundSchema, + to: smartUnion([ + z.lazy(() => UploadProjectAvatarToProjects1$inboundSchema), + UploadProjectAvatarToProjects2$inboundSchema, + ]), + }) +); export function uploadProjectAvatarCustomAllowFromJSON( jsonString: string, @@ -409,12 +415,14 @@ export const UploadProjectAvatarProjects$inboundSchema: z.ZodType< UploadProjectAvatarProjects, z.ZodTypeDef, unknown -> = z.object({ - customAllow: types.optional( - z.array(z.lazy(() => UploadProjectAvatarCustomAllow$inboundSchema)), - ), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customAllow: types.optional( + z.array(z.lazy(() => UploadProjectAvatarCustomAllow$inboundSchema)), + ), + label: types.optional(types.string()), + }) +); export function uploadProjectAvatarProjectsFromJSON( jsonString: string, @@ -431,15 +439,17 @@ export const UploadProjectAvatarTrustedSources$inboundSchema: z.ZodType< UploadProjectAvatarTrustedSources, z.ZodTypeDef, unknown -> = z.object({ - enableVercelCiSameRepository: types.optional(types.boolean()), - oidcProviders: types.optional( - z.record(z.array(UploadProjectAvatarOidcProviders$inboundSchema)), - ), - projects: types.optional( - z.record(z.lazy(() => UploadProjectAvatarProjects$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enableVercelCiSameRepository: types.optional(types.boolean()), + oidcProviders: types.optional( + z.record(z.array(UploadProjectAvatarOidcProviders$inboundSchema)), + ), + projects: types.optional( + z.record(z.lazy(() => UploadProjectAvatarProjects$inboundSchema)), + ), + }) +); export function uploadProjectAvatarTrustedSourcesFromJSON( jsonString: string, @@ -454,20 +464,22 @@ export function uploadProjectAvatarTrustedSourcesFromJSON( /** @internal */ export const UploadProjectAvatarKind$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarKind -> = z.nativeEnum(UploadProjectAvatarKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarKind)); /** @internal */ export const UploadProjectAvatarUsageStatus$inboundSchema: z.ZodType< UploadProjectAvatarUsageStatus, z.ZodTypeDef, unknown -> = z.object({ - bypassThrottleUntil: types.optional(types.number()), - exceededAllowanceUntil: types.optional(types.number()), - kind: UploadProjectAvatarKind$inboundSchema, - teamThrottled: types.optional(types.boolean()), - throttled: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bypassThrottleUntil: types.optional(types.number()), + exceededAllowanceUntil: types.optional(types.number()), + kind: UploadProjectAvatarKind$inboundSchema, + teamThrottled: types.optional(types.boolean()), + throttled: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarUsageStatusFromJSON( jsonString: string, @@ -484,9 +496,11 @@ export const UploadProjectAvatarVercelFlags$inboundSchema: z.ZodType< UploadProjectAvatarVercelFlags, z.ZodTypeDef, unknown -> = z.object({ - enabledAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabledAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarVercelFlagsFromJSON( jsonString: string, @@ -503,13 +517,15 @@ export const UploadProjectAvatarWebAnalytics$inboundSchema: z.ZodType< UploadProjectAvatarWebAnalytics, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.literal(true)), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.literal(true)), + id: types.string(), + }) +); export function uploadProjectAvatarWebAnalyticsFromJSON( jsonString: string, @@ -526,153 +542,161 @@ export const UploadProjectAvatarResponseBody$inboundSchema: z.ZodType< UploadProjectAvatarResponseBody, z.ZodTypeDef, unknown -> = z.object({ - accountId: types.string(), - alias: z.array(UploadProjectAvatarAlias$inboundSchema), - analytics: types.optional(UploadProjectAvatarAnalytics$inboundSchema), - appliedCve55182Migration: types.optional(types.boolean()), - autoAssignCustomDomains: types.optional(types.boolean()), - autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), - autoExposeSystemEnvs: types.optional(types.boolean()), - avatar: z.nullable(types.string()).optional(), - avatarDarkMode: z.nullable(types.string()).optional(), - blobs: types.optional(UploadProjectAvatarBlobs$inboundSchema), - buildCommand: z.nullable(types.string()).optional(), - commandForIgnoringBuildStep: z.nullable(types.string()).optional(), - concurrencyBucketName: types.optional(types.string()), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: z.nullable(types.string()).optional(), - connectConfigurations: z.nullable( - z.array(UploadProjectAvatarConnectConfigurations$inboundSchema), - ).optional(), - createdAt: types.optional(types.number()), - creator: types.optional(UploadProjectAvatarCreator$inboundSchema), - crons: types.optional(UploadProjectAvatarCrons$inboundSchema), - customEnvironments: types.optional( - z.array(UploadProjectAvatarCustomEnvironments$inboundSchema), - ), - customerSupportCodeVisibility: types.optional(types.boolean()), - dataCache: types.optional(UploadProjectAvatarDataCache$inboundSchema), - defaultResourceConfig: UploadProjectAvatarDefaultResourceConfig$inboundSchema, - deploymentExpiration: UploadProjectAvatarDeploymentExpiration$inboundSchema, - deploymentPolicy: z.nullable( - UploadProjectAvatarDeploymentPolicy$inboundSchema, - ).optional(), - devCommand: z.nullable(types.string()).optional(), - directoryListing: types.boolean(), - dismissedToasts: types.optional( - z.array(UploadProjectAvatarDismissedToasts$inboundSchema), - ), - enableAffectedProjectsDeployments: types.optional(types.boolean()), - enableExternalRewriteCaching: types.optional(types.boolean()), - enablePreviewFeedback: z.nullable(types.boolean()).optional(), - enableProductionFeedback: z.nullable(types.boolean()).optional(), - env: types.optional(z.array(UploadProjectAvatarEnv$inboundSchema)), - expiration: types.optional(UploadProjectAvatarExpiration$inboundSchema), - features: types.optional(UploadProjectAvatarFeatures$inboundSchema), - framework: z.nullable(UploadProjectAvatarFramework$inboundSchema).optional(), - gitComments: types.optional(UploadProjectAvatarGitComments$inboundSchema), - gitForkProtection: types.optional(types.boolean()), - gitLFS: types.optional(types.boolean()), - gitProviderOptions: types.optional( - UploadProjectAvatarGitProviderOptions$inboundSchema, - ), - hasActiveBranches: types.optional(types.boolean()), - hasDeployments: types.optional(types.boolean()), - id: types.string(), - installCommand: z.nullable(types.string()).optional(), - internalRoutes: types.optional( - z.array(UploadProjectAvatarInternalRoutes$inboundSchema), - ), - ipBuckets: types.optional( - z.array(UploadProjectAvatarIpBuckets$inboundSchema), - ), - jobs: types.optional(UploadProjectAvatarJobs$inboundSchema), - lastAliasRequest: z.nullable( - UploadProjectAvatarLastAliasRequest$inboundSchema, - ).optional(), - lastRollbackTarget: z.nullable( - UploadProjectAvatarLastRollbackTarget$inboundSchema, - ).optional(), - latestDeployments: types.optional( - z.array(UploadProjectAvatarLatestDeployments$inboundSchema), - ), - link: types.optional(UploadProjectAvatarLink$inboundSchema), - live: types.optional(types.boolean()), - microfrontends: types.optional( - UploadProjectAvatarMicrofrontends$inboundSchema, - ), - name: types.string(), - nodeVersion: UploadProjectAvatarNodeVersion$inboundSchema, - oidcTokenConfig: types.optional( - UploadProjectAvatarOidcTokenConfig$inboundSchema, - ), - optionsAllowlist: z.nullable( - UploadProjectAvatarOptionsAllowlist$inboundSchema, - ).optional(), - outputDirectory: z.nullable(types.string()).optional(), - passiveConnectConfigurationId: z.nullable(types.string()).optional(), - passport: z.nullable(UploadProjectAvatarPassport$inboundSchema).optional(), - passwordProtection: z.nullable( - UploadProjectAvatarPasswordProtection$inboundSchema, - ).optional(), - paused: types.optional(types.boolean()), - permissions: types.optional(UploadProjectAvatarPermissions$inboundSchema), - productionDeploymentsFastLane: types.optional(types.boolean()), - protectedSourcemaps: types.optional(types.boolean()), - protectionBypass: types.optional( - z.record(UploadProjectAvatarProtectionBypass$inboundSchema), - ), - protectionConfig: types.optional( - UploadProjectAvatarProtectionConfig$inboundSchema, - ), - resourceConfig: UploadProjectAvatarResourceConfig$inboundSchema, - rollbackDescription: types.optional( - UploadProjectAvatarRollbackDescription$inboundSchema, - ), - rollingRelease: z.nullable(UploadProjectAvatarRollingRelease$inboundSchema) - .optional(), - rootDirectory: z.nullable(types.string()).optional(), - sandbox: types.optional(UploadProjectAvatarSandbox$inboundSchema), - security: types.optional(UploadProjectAvatarSecurity$inboundSchema), - serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), - services: types.optional(z.array(UploadProjectAvatarServices$inboundSchema)), - skewProtectionAllowedDomains: types.optional(z.array(types.string())), - skewProtectionBoundaryAt: types.optional(types.number()), - skewProtectionMaxAge: types.optional(types.number()), - skipGitConnectDuringLink: types.optional(types.boolean()), - sourceFilesOutsideRootDirectory: types.optional(types.boolean()), - speedInsights: types.optional(UploadProjectAvatarSpeedInsights$inboundSchema), - ssoProtection: z.nullable(UploadProjectAvatarSsoProtection$inboundSchema) - .optional(), - staticIps: types.optional(UploadProjectAvatarStaticIps$inboundSchema), - targets: types.optional( - z.record(types.nullable(UploadProjectAvatarTargets$inboundSchema)), - ), - tier: types.optional(UploadProjectAvatarTier$inboundSchema), - tracing: types.optional(UploadProjectAvatarTracing$inboundSchema), - transferCompletedAt: types.optional(types.number()), - transferredFromAccountId: types.optional(types.string()), - transferStartedAt: types.optional(types.number()), - transferToAccountId: types.optional(types.string()), - trustedIps: z.nullable(UploadProjectAvatarTrustedIps$inboundSchema) - .optional(), - trustedSources: z.nullable( - z.lazy(() => UploadProjectAvatarTrustedSources$inboundSchema), - ).optional(), - updatedAt: types.optional(types.number()), - usageStatus: types.optional( - z.lazy(() => UploadProjectAvatarUsageStatus$inboundSchema), - ), - v0: types.optional(types.boolean()), - v0Created: types.optional(types.boolean()), - vercelFlags: types.optional( - z.lazy(() => UploadProjectAvatarVercelFlags$inboundSchema), - ), - webAnalytics: types.optional( - z.lazy(() => UploadProjectAvatarWebAnalytics$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accountId: types.string(), + alias: z.array(UploadProjectAvatarAlias$inboundSchema), + analytics: types.optional(UploadProjectAvatarAnalytics$inboundSchema), + appliedCve55182Migration: types.optional(types.boolean()), + autoAssignCustomDomains: types.optional(types.boolean()), + autoAssignCustomDomainsUpdatedBy: types.optional(types.string()), + autoExposeSystemEnvs: types.optional(types.boolean()), + avatar: z.nullable(types.string()).optional(), + avatarDarkMode: z.nullable(types.string()).optional(), + blobs: types.optional(UploadProjectAvatarBlobs$inboundSchema), + buildCommand: z.nullable(types.string()).optional(), + commandForIgnoringBuildStep: z.nullable(types.string()).optional(), + concurrencyBucketName: types.optional(types.string()), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: z.nullable(types.string()).optional(), + connectConfigurations: z.nullable( + z.array(UploadProjectAvatarConnectConfigurations$inboundSchema), + ).optional(), + createdAt: types.optional(types.number()), + creator: types.optional(UploadProjectAvatarCreator$inboundSchema), + crons: types.optional(UploadProjectAvatarCrons$inboundSchema), + customEnvironments: types.optional( + z.array(UploadProjectAvatarCustomEnvironments$inboundSchema), + ), + customerSupportCodeVisibility: types.optional(types.boolean()), + dataCache: types.optional(UploadProjectAvatarDataCache$inboundSchema), + defaultResourceConfig: + UploadProjectAvatarDefaultResourceConfig$inboundSchema, + deploymentExpiration: UploadProjectAvatarDeploymentExpiration$inboundSchema, + deploymentPolicy: z.nullable( + UploadProjectAvatarDeploymentPolicy$inboundSchema, + ).optional(), + devCommand: z.nullable(types.string()).optional(), + directoryListing: types.boolean(), + dismissedToasts: types.optional( + z.array(UploadProjectAvatarDismissedToasts$inboundSchema), + ), + enableAffectedProjectsDeployments: types.optional(types.boolean()), + enableExternalRewriteCaching: types.optional(types.boolean()), + enablePreviewFeedback: z.nullable(types.boolean()).optional(), + enableProductionFeedback: z.nullable(types.boolean()).optional(), + env: types.optional(z.array(UploadProjectAvatarEnv$inboundSchema)), + expiration: types.optional(UploadProjectAvatarExpiration$inboundSchema), + features: types.optional(UploadProjectAvatarFeatures$inboundSchema), + framework: z.nullable(UploadProjectAvatarFramework$inboundSchema) + .optional(), + gitComments: types.optional(UploadProjectAvatarGitComments$inboundSchema), + gitForkProtection: types.optional(types.boolean()), + gitLFS: types.optional(types.boolean()), + gitProviderOptions: types.optional( + UploadProjectAvatarGitProviderOptions$inboundSchema, + ), + hasActiveBranches: types.optional(types.boolean()), + hasDeployments: types.optional(types.boolean()), + id: types.string(), + installCommand: z.nullable(types.string()).optional(), + internalRoutes: types.optional( + z.array(UploadProjectAvatarInternalRoutes$inboundSchema), + ), + ipBuckets: types.optional( + z.array(UploadProjectAvatarIpBuckets$inboundSchema), + ), + jobs: types.optional(UploadProjectAvatarJobs$inboundSchema), + lastAliasRequest: z.nullable( + UploadProjectAvatarLastAliasRequest$inboundSchema, + ).optional(), + lastRollbackTarget: z.nullable( + UploadProjectAvatarLastRollbackTarget$inboundSchema, + ).optional(), + latestDeployments: types.optional( + z.array(UploadProjectAvatarLatestDeployments$inboundSchema), + ), + link: types.optional(UploadProjectAvatarLink$inboundSchema), + live: types.optional(types.boolean()), + microfrontends: types.optional( + UploadProjectAvatarMicrofrontends$inboundSchema, + ), + name: types.string(), + nodeVersion: UploadProjectAvatarNodeVersion$inboundSchema, + oidcTokenConfig: types.optional( + UploadProjectAvatarOidcTokenConfig$inboundSchema, + ), + optionsAllowlist: z.nullable( + UploadProjectAvatarOptionsAllowlist$inboundSchema, + ).optional(), + outputDirectory: z.nullable(types.string()).optional(), + passiveConnectConfigurationId: z.nullable(types.string()).optional(), + passport: z.nullable(UploadProjectAvatarPassport$inboundSchema).optional(), + passwordProtection: z.nullable( + UploadProjectAvatarPasswordProtection$inboundSchema, + ).optional(), + paused: types.optional(types.boolean()), + permissions: types.optional(UploadProjectAvatarPermissions$inboundSchema), + productionDeploymentsFastLane: types.optional(types.boolean()), + protectedSourcemaps: types.optional(types.boolean()), + protectionBypass: types.optional( + z.record(UploadProjectAvatarProtectionBypass$inboundSchema), + ), + protectionConfig: types.optional( + UploadProjectAvatarProtectionConfig$inboundSchema, + ), + resourceConfig: UploadProjectAvatarResourceConfig$inboundSchema, + rollbackDescription: types.optional( + UploadProjectAvatarRollbackDescription$inboundSchema, + ), + rollingRelease: z.nullable(UploadProjectAvatarRollingRelease$inboundSchema) + .optional(), + rootDirectory: z.nullable(types.string()).optional(), + sandbox: types.optional(UploadProjectAvatarSandbox$inboundSchema), + security: types.optional(UploadProjectAvatarSecurity$inboundSchema), + serverlessFunctionZeroConfigFailover: types.optional(types.boolean()), + services: types.optional( + z.array(UploadProjectAvatarServices$inboundSchema), + ), + skewProtectionAllowedDomains: types.optional(z.array(types.string())), + skewProtectionBoundaryAt: types.optional(types.number()), + skewProtectionMaxAge: types.optional(types.number()), + skipGitConnectDuringLink: types.optional(types.boolean()), + sourceFilesOutsideRootDirectory: types.optional(types.boolean()), + speedInsights: types.optional( + UploadProjectAvatarSpeedInsights$inboundSchema, + ), + ssoProtection: z.nullable(UploadProjectAvatarSsoProtection$inboundSchema) + .optional(), + staticIps: types.optional(UploadProjectAvatarStaticIps$inboundSchema), + targets: types.optional( + z.record(types.nullable(UploadProjectAvatarTargets$inboundSchema)), + ), + tier: types.optional(UploadProjectAvatarTier$inboundSchema), + tracing: types.optional(UploadProjectAvatarTracing$inboundSchema), + transferCompletedAt: types.optional(types.number()), + transferredFromAccountId: types.optional(types.string()), + transferStartedAt: types.optional(types.number()), + transferToAccountId: types.optional(types.string()), + trustedIps: z.nullable(UploadProjectAvatarTrustedIps$inboundSchema) + .optional(), + trustedSources: z.nullable( + z.lazy(() => UploadProjectAvatarTrustedSources$inboundSchema), + ).optional(), + updatedAt: types.optional(types.number()), + usageStatus: types.optional( + z.lazy(() => UploadProjectAvatarUsageStatus$inboundSchema), + ), + v0: types.optional(types.boolean()), + v0Created: types.optional(types.boolean()), + vercelFlags: types.optional( + z.lazy(() => UploadProjectAvatarVercelFlags$inboundSchema), + ), + webAnalytics: types.optional( + z.lazy(() => UploadProjectAvatarWebAnalytics$inboundSchema), + ), + }) +); export function uploadProjectAvatarResponseBodyFromJSON( jsonString: string, diff --git a/src/models/uploadprojectavatartoprojectsresponsepreset.ts b/src/models/uploadprojectavatartoprojectsresponsepreset.ts index 7a71f26035..f7ed32de4f 100644 --- a/src/models/uploadprojectavatartoprojectsresponsepreset.ts +++ b/src/models/uploadprojectavatartoprojectsresponsepreset.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -2906,20 +2906,24 @@ export type UploadProjectAvatarToProjectsResponsePreset = ClosedEnum< /** @internal */ export const UploadProjectAvatarChecksState$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarChecksState -> = z.nativeEnum(UploadProjectAvatarChecksState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarChecksState) +); /** @internal */ export const UploadProjectAvatarProjectsCreator$inboundSchema: z.ZodType< UploadProjectAvatarProjectsCreator, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) +); export function uploadProjectAvatarProjectsCreatorFromJSON( jsonString: string, @@ -2937,29 +2941,31 @@ export const UploadProjectAvatarOidcTokenClaims$inboundSchema: z.ZodType< UploadProjectAvatarOidcTokenClaims, z.ZodTypeDef, unknown -> = z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), -}).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) +); export function uploadProjectAvatarOidcTokenClaimsFromJSON( jsonString: string, @@ -2975,76 +2981,86 @@ export function uploadProjectAvatarOidcTokenClaimsFromJSON( /** @internal */ export const UploadProjectAvatarPlan$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarPlan -> = z.nativeEnum(UploadProjectAvatarPlan); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarPlan)); /** @internal */ export const UploadProjectAvatarReadyState$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarReadyState -> = z.nativeEnum(UploadProjectAvatarReadyState); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarReadyState) +); /** @internal */ export const UploadProjectAvatarReadySubstate$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarReadySubstate -> = z.nativeEnum(UploadProjectAvatarReadySubstate); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarReadySubstate) +); /** @internal */ export const UploadProjectAvatarProjectsResponse200Type$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponse200Type); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponse200Type) + ); /** @internal */ export const UploadProjectAvatarLatestDeployments$inboundSchema: z.ZodType< UploadProjectAvatarLatestDeployments, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(UploadProjectAvatarAliasAssigned$inboundSchema) - .optional(), - aliasError: z.nullable(UploadProjectAvatarAliasError$inboundSchema) - .optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - UploadProjectAvatarProjectsBranchMatcher$inboundSchema, - ), - buildingAt: types.optional(types.number()), - builds: types.optional(z.array(UploadProjectAvatarBuilds$inboundSchema)), - checksConclusion: types.optional( - UploadProjectAvatarChecksConclusion$inboundSchema, - ), - checksState: types.optional(UploadProjectAvatarChecksState$inboundSchema), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UploadProjectAvatarProjectsCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UploadProjectAvatarOidcTokenClaims$inboundSchema), - ), - plan: UploadProjectAvatarPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UploadProjectAvatarReadyState$inboundSchema, - readySubstate: types.optional(UploadProjectAvatarReadySubstate$inboundSchema), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: UploadProjectAvatarProjectsResponse200Type$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(UploadProjectAvatarAliasAssigned$inboundSchema) + .optional(), + aliasError: z.nullable(UploadProjectAvatarAliasError$inboundSchema) + .optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional( + UploadProjectAvatarProjectsBranchMatcher$inboundSchema, + ), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(UploadProjectAvatarBuilds$inboundSchema)), + checksConclusion: types.optional( + UploadProjectAvatarChecksConclusion$inboundSchema, + ), + checksState: types.optional(UploadProjectAvatarChecksState$inboundSchema), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable( + z.lazy(() => UploadProjectAvatarProjectsCreator$inboundSchema), + ), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional( + z.lazy(() => UploadProjectAvatarOidcTokenClaims$inboundSchema), + ), + plan: UploadProjectAvatarPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UploadProjectAvatarReadyState$inboundSchema, + readySubstate: types.optional( + UploadProjectAvatarReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: UploadProjectAvatarProjectsResponse200Type$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarLatestDeploymentsFromJSON( jsonString: string, @@ -3063,13 +3079,15 @@ export const UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON( jsonString: string, @@ -3091,23 +3109,23 @@ export const UploadProjectAvatarLink8$inboundSchema: z.ZodType< UploadProjectAvatarLink8, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - owner: types.string(), - ownerId: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("cursor-origin"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + owner: types.string(), + ownerId: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("cursor-origin"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink8FromJSON( jsonString: string, @@ -3125,13 +3143,15 @@ export const UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON( jsonString: string, @@ -3153,22 +3173,22 @@ export const UploadProjectAvatarLink7$inboundSchema: z.ZodType< UploadProjectAvatarLink7, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("v0"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("v0"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink7FromJSON( jsonString: string, @@ -3186,13 +3206,15 @@ export const UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBo UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON( jsonString: string, @@ -3214,22 +3236,22 @@ export const UploadProjectAvatarLink6$inboundSchema: z.ZodType< UploadProjectAvatarLink6, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.string(), - repoId: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("vercel"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.string(), + repoId: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("vercel"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink6FromJSON( jsonString: string, @@ -3247,13 +3269,15 @@ export const UploadProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHook UploadProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, @@ -3275,24 +3299,24 @@ export const UploadProjectAvatarLink5$inboundSchema: z.ZodType< UploadProjectAvatarLink5, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - name: types.string(), - owner: types.string(), - productionBranch: types.string(), - slug: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("bitbucket"), - updatedAt: types.optional(types.number()), - uuid: types.string(), - workspaceUuid: types.string(), -}); + )), + gitCredentialId: types.string(), + name: types.string(), + owner: types.string(), + productionBranch: types.string(), + slug: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("bitbucket"), + updatedAt: types.optional(types.number()), + uuid: types.string(), + workspaceUuid: types.string(), + }) +); export function uploadProjectAvatarLink5FromJSON( jsonString: string, @@ -3310,13 +3334,15 @@ export const UploadProjectAvatarLinkProjectsResponse200DeployHooks$inboundSchema UploadProjectAvatarLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, @@ -3339,25 +3365,25 @@ export const UploadProjectAvatarLink4$inboundSchema: z.ZodType< UploadProjectAvatarLink4, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponse200DeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - productionBranch: types.string(), - projectId: types.string(), - projectName: types.string(), - projectNamespace: types.string(), - projectNameWithNamespace: types.string(), - projectOwnerId: types.optional(types.number()), - projectUrl: types.string(), - sourceless: types.optional(types.boolean()), - type: types.literal("gitlab"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + productionBranch: types.string(), + projectId: types.string(), + projectName: types.string(), + projectNamespace: types.string(), + projectNameWithNamespace: types.string(), + projectOwnerId: types.optional(types.number()), + projectUrl: types.string(), + sourceless: types.optional(types.boolean()), + type: types.literal("gitlab"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink4FromJSON( jsonString: string, @@ -3375,13 +3401,15 @@ export const UploadProjectAvatarLinkProjectsResponseDeployHooks$inboundSchema: UploadProjectAvatarLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown - > = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsResponseDeployHooksFromJSON( jsonString: string, @@ -3404,24 +3432,24 @@ export const UploadProjectAvatarLink3$inboundSchema: z.ZodType< UploadProjectAvatarLink3, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array(z.lazy(() => UploadProjectAvatarLinkProjectsResponseDeployHooks$inboundSchema - ), - ), - gitCredentialId: types.string(), - host: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-custom-host"), - updatedAt: types.optional(types.number()), -}); + )), + gitCredentialId: types.string(), + host: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-custom-host"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink3FromJSON( jsonString: string, @@ -3436,13 +3464,15 @@ export function uploadProjectAvatarLink3FromJSON( /** @internal */ export const UploadProjectAvatarLinkProjectsDeployHooks$inboundSchema: z.ZodType = - z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) + ); export function uploadProjectAvatarLinkProjectsDeployHooksFromJSON( jsonString: string, @@ -3465,21 +3495,23 @@ export const UploadProjectAvatarLink2$inboundSchema: z.ZodType< UploadProjectAvatarLink2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UploadProjectAvatarLinkProjectsDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github-limited"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UploadProjectAvatarLinkProjectsDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github-limited"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink2FromJSON( jsonString: string, @@ -3496,13 +3528,15 @@ export const UploadProjectAvatarLinkDeployHooks$inboundSchema: z.ZodType< UploadProjectAvatarLinkDeployHooks, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - id: types.string(), - name: types.string(), - ref: types.string(), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + id: types.string(), + name: types.string(), + ref: types.string(), + url: types.string(), + }) +); export function uploadProjectAvatarLinkDeployHooksFromJSON( jsonString: string, @@ -3520,21 +3554,23 @@ export const UploadProjectAvatarLink1$inboundSchema: z.ZodType< UploadProjectAvatarLink1, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.optional(types.number()), - deployHooks: z.array( - z.lazy(() => UploadProjectAvatarLinkDeployHooks$inboundSchema), - ), - gitCredentialId: types.string(), - org: types.string(), - productionBranch: types.string(), - repo: types.optional(types.string()), - repoId: types.optional(types.number()), - repoOwnerId: types.optional(types.number()), - sourceless: types.optional(types.boolean()), - type: types.literal("github"), - updatedAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + deployHooks: z.array( + z.lazy(() => UploadProjectAvatarLinkDeployHooks$inboundSchema), + ), + gitCredentialId: types.string(), + org: types.string(), + productionBranch: types.string(), + repo: types.optional(types.string()), + repoId: types.optional(types.number()), + repoOwnerId: types.optional(types.number()), + sourceless: types.optional(types.boolean()), + type: types.literal("github"), + updatedAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarLink1FromJSON( jsonString: string, @@ -3551,16 +3587,18 @@ export const UploadProjectAvatarLink$inboundSchema: z.ZodType< UploadProjectAvatarLink, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarLink1$inboundSchema), - z.lazy(() => UploadProjectAvatarLink2$inboundSchema), - z.lazy(() => UploadProjectAvatarLink3$inboundSchema), - z.lazy(() => UploadProjectAvatarLink4$inboundSchema), - z.lazy(() => UploadProjectAvatarLink5$inboundSchema), - z.lazy(() => UploadProjectAvatarLink6$inboundSchema), - z.lazy(() => UploadProjectAvatarLink7$inboundSchema), - z.lazy(() => UploadProjectAvatarLink8$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarLink1$inboundSchema), + z.lazy(() => UploadProjectAvatarLink2$inboundSchema), + z.lazy(() => UploadProjectAvatarLink3$inboundSchema), + z.lazy(() => UploadProjectAvatarLink4$inboundSchema), + z.lazy(() => UploadProjectAvatarLink5$inboundSchema), + z.lazy(() => UploadProjectAvatarLink6$inboundSchema), + z.lazy(() => UploadProjectAvatarLink7$inboundSchema), + z.lazy(() => UploadProjectAvatarLink8$inboundSchema), + ]) +); export function uploadProjectAvatarLinkFromJSON( jsonString: string, @@ -3577,12 +3615,14 @@ export const UploadProjectAvatarMicrofrontends3$inboundSchema: z.ZodType< UploadProjectAvatarMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function uploadProjectAvatarMicrofrontends3FromJSON( jsonString: string, @@ -3600,16 +3640,18 @@ export const UploadProjectAvatarMicrofrontends2$inboundSchema: z.ZodType< UploadProjectAvatarMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function uploadProjectAvatarMicrofrontends2FromJSON( jsonString: string, @@ -3627,14 +3669,16 @@ export const UploadProjectAvatarMicrofrontends1$inboundSchema: z.ZodType< UploadProjectAvatarMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function uploadProjectAvatarMicrofrontends1FromJSON( jsonString: string, @@ -3652,11 +3696,13 @@ export const UploadProjectAvatarMicrofrontends$inboundSchema: z.ZodType< UploadProjectAvatarMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarMicrofrontends1$inboundSchema), - z.lazy(() => UploadProjectAvatarMicrofrontends2$inboundSchema), - z.lazy(() => UploadProjectAvatarMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarMicrofrontends1$inboundSchema), + z.lazy(() => UploadProjectAvatarMicrofrontends2$inboundSchema), + z.lazy(() => UploadProjectAvatarMicrofrontends3$inboundSchema), + ]) +); export function uploadProjectAvatarMicrofrontendsFromJSON( jsonString: string, @@ -3671,22 +3717,28 @@ export function uploadProjectAvatarMicrofrontendsFromJSON( /** @internal */ export const UploadProjectAvatarNodeVersion$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarNodeVersion -> = z.nativeEnum(UploadProjectAvatarNodeVersion); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarNodeVersion) +); /** @internal */ export const UploadProjectAvatarIssuerMode$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarIssuerMode -> = z.nativeEnum(UploadProjectAvatarIssuerMode); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarIssuerMode) +); /** @internal */ export const UploadProjectAvatarOidcTokenConfig$inboundSchema: z.ZodType< UploadProjectAvatarOidcTokenConfig, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.optional(types.boolean()), - issuerMode: types.optional(UploadProjectAvatarIssuerMode$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.optional(types.boolean()), + issuerMode: types.optional(UploadProjectAvatarIssuerMode$inboundSchema), + }) +); export function uploadProjectAvatarOidcTokenConfigFromJSON( jsonString: string, @@ -3704,9 +3756,11 @@ export const UploadProjectAvatarPaths$inboundSchema: z.ZodType< UploadProjectAvatarPaths, z.ZodTypeDef, unknown -> = z.object({ - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + value: types.string(), + }) +); export function uploadProjectAvatarPathsFromJSON( jsonString: string, @@ -3723,9 +3777,11 @@ export const UploadProjectAvatarOptionsAllowlist$inboundSchema: z.ZodType< UploadProjectAvatarOptionsAllowlist, z.ZodTypeDef, unknown -> = z.object({ - paths: z.array(z.lazy(() => UploadProjectAvatarPaths$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + paths: z.array(z.lazy(() => UploadProjectAvatarPaths$inboundSchema)), + }) +); export function uploadProjectAvatarOptionsAllowlistFromJSON( jsonString: string, @@ -3741,17 +3797,21 @@ export function uploadProjectAvatarOptionsAllowlistFromJSON( /** @internal */ export const UploadProjectAvatarDeploymentType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarDeploymentType -> = z.nativeEnum(UploadProjectAvatarDeploymentType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarDeploymentType) +); /** @internal */ export const UploadProjectAvatarPassport$inboundSchema: z.ZodType< UploadProjectAvatarPassport, z.ZodTypeDef, unknown -> = z.object({ - connectorId: types.string(), - deploymentType: UploadProjectAvatarDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectorId: types.string(), + deploymentType: UploadProjectAvatarDeploymentType$inboundSchema, + }) +); export function uploadProjectAvatarPassportFromJSON( jsonString: string, @@ -3765,17 +3825,21 @@ export function uploadProjectAvatarPassportFromJSON( /** @internal */ export const UploadProjectAvatarProjectsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsDeploymentType) + ); /** @internal */ export const UploadProjectAvatarPasswordProtection$inboundSchema: z.ZodType< UploadProjectAvatarPasswordProtection, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: UploadProjectAvatarProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: UploadProjectAvatarProjectsDeploymentType$inboundSchema, + }) +); export function uploadProjectAvatarPasswordProtectionFromJSON( jsonString: string, @@ -3793,376 +3857,402 @@ export const UploadProjectAvatarPermissions$inboundSchema: z.ZodType< UploadProjectAvatarPermissions, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: types.optional(z.array(ACLAction$inboundSchema)), - agent: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayApiKeySpendAttribution: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayApiKeyZdrExemption: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayBudgetOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayTranscriptsSettings: types.optional( - z.array(ACLAction$inboundSchema), - ), - aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), - aiGatewayVirtualModelConfigs: types.optional( - z.array(ACLAction$inboundSchema), - ), - alertRules: types.optional(z.array(ACLAction$inboundSchema)), - alerts: types.optional(z.array(ACLAction$inboundSchema)), - aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), - aliasProject: types.optional(z.array(ACLAction$inboundSchema)), - aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - analytics: types.optional(z.array(ACLAction$inboundSchema)), - analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - apiKey: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), - apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), - auditLog: types.optional(z.array(ACLAction$inboundSchema)), - automation: types.optional(z.array(ACLAction$inboundSchema)), - billingAddress: types.optional(z.array(ACLAction$inboundSchema)), - billingInformation: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), - billingInvoiceEmailRecipient: types.optional( - z.array(ACLAction$inboundSchema), - ), - billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), - billingPlan: types.optional(z.array(ACLAction$inboundSchema)), - billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), - billingRefund: types.optional(z.array(ACLAction$inboundSchema)), - billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), - blob: types.optional(z.array(ACLAction$inboundSchema)), - blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - budget: types.optional(z.array(ACLAction$inboundSchema)), - buildMachine: types.optional(z.array(ACLAction$inboundSchema)), - buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), - bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), - cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), - ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), - ciLogs: types.optional(z.array(ACLAction$inboundSchema)), - codeChecks: types.optional(z.array(ACLAction$inboundSchema)), - codeOwners: types.optional(z.array(ACLAction$inboundSchema)), - concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), - connect: types.optional(z.array(ACLAction$inboundSchema)), - connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), - connectLogs: types.optional(z.array(ACLAction$inboundSchema)), - connexClient: types.optional(z.array(ACLAction$inboundSchema)), - connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), - connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), - connexContact: types.optional(z.array(ACLAction$inboundSchema)), - connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), - connexToken: types.optional(z.array(ACLAction$inboundSchema)), - cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), - dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - defaultDeploymentProtection: types.optional(z.array(ACLAction$inboundSchema)), - deployment: types.optional(z.array(ACLAction$inboundSchema)), - deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentCheckReRunFromProductionBranch: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), - deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), - deploymentProtectionException: types.optional( - z.array(ACLAction$inboundSchema), - ), - deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), - deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), - desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), - domain: types.optional(z.array(ACLAction$inboundSchema)), - domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), - domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), - domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), - domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - domainMove: types.optional(z.array(ACLAction$inboundSchema)), - domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - domainRecord: types.optional(z.array(ACLAction$inboundSchema)), - domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - drain: types.optional(z.array(ACLAction$inboundSchema)), - drive: types.optional(z.array(ACLAction$inboundSchema)), - edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), - edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), - emaSetup: types.optional(z.array(ACLAction$inboundSchema)), - endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), - environments: types.optional(z.array(ACLAction$inboundSchema)), - event: types.optional(z.array(ACLAction$inboundSchema)), - fileUpload: types.optional(z.array(ACLAction$inboundSchema)), - flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), - gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), - githubUsage: types.optional(z.array(ACLAction$inboundSchema)), - gitRepository: types.optional(z.array(ACLAction$inboundSchema)), - imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), - integration: types.optional(z.array(ACLAction$inboundSchema)), - integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - integrationConfigurationProjects: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationRole: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationConfigurationTransfer: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationDeploymentAction: types.optional(z.array(ACLAction$inboundSchema)), - integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), - integrationLog: types.optional(z.array(ACLAction$inboundSchema)), - integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), - integrationResource: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), - integrationResourceReplCommand: types.optional( - z.array(ACLAction$inboundSchema), - ), - integrationResourceSecrets: types.optional(z.array(ACLAction$inboundSchema)), - integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), - integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), - integrationVercelConfigurationOverride: types.optional( - z.array(ACLAction$inboundSchema), - ), - ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), - job: types.optional(z.array(ACLAction$inboundSchema)), - jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), - kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), - kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), - logDrain: types.optional(z.array(ACLAction$inboundSchema)), - logs: types.optional(z.array(ACLAction$inboundSchema)), - logsPreset: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceExperimentationEdgeConfigData: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceExperimentationItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceInstallationMember: types.optional( - z.array(ACLAction$inboundSchema), - ), - marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), - marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), - messageboard: types.optional(z.array(ACLAction$inboundSchema)), - messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), - messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), - messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), - messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), - messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), - Monitoring: types.optional(z.array(ACLAction$inboundSchema)), - monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), - monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), - monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), - notificationCustomerBudget: types.optional(z.array(ACLAction$inboundSchema)), - notificationDeploymentFailed: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainPurchase: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainTransfer: types.optional(z.array(ACLAction$inboundSchema)), - notificationDomainUnverified: types.optional( - z.array(ACLAction$inboundSchema), - ), - NotificationMonitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), - notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), - notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), - notificationStatementOfReasons: types.optional( - z.array(ACLAction$inboundSchema), - ), - notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), - oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), - observabilityConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - observabilityData: types.optional(z.array(ACLAction$inboundSchema)), - observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), - observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), - oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), - onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), - onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), - openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), - organization: types.optional(z.array(ACLAction$inboundSchema)), - organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), - organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), - organizationMember: types.optional(z.array(ACLAction$inboundSchema)), - organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), - ownEvent: types.optional(z.array(ACLAction$inboundSchema)), - pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), - passwordProtectionInvoiceItem: types.optional( - z.array(ACLAction$inboundSchema), - ), - paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), - perimeter: types.optional(z.array(ACLAction$inboundSchema)), - perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), - permissions: types.optional(z.array(ACLAction$inboundSchema)), - postgres: types.optional(z.array(ACLAction$inboundSchema)), - postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), - privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), - privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), - privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), - productionAliasProtectionBypass: types.optional( - z.array(ACLAction$inboundSchema), - ), - productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), - project: types.optional(z.array(ACLAction$inboundSchema)), - projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), - projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), - projectCheck: types.optional(z.array(ACLAction$inboundSchema)), - projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentExpiration: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), - projectDeploymentProtectionStrict: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectDomain: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), - projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectEnvVarsUnownedByIntegration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectEvent: types.optional(z.array(ACLAction$inboundSchema)), - projectFlags: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsOverrideProduction: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), - projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), - projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), - projectId: types.optional(z.array(ACLAction$inboundSchema)), - projectIntegrationConfiguration: types.optional( - z.array(ACLAction$inboundSchema), - ), - projectLink: types.optional(z.array(ACLAction$inboundSchema)), - projectMember: types.optional(z.array(ACLAction$inboundSchema)), - projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), - projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), - projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), - projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), - projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), - projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), - projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), - projectSetting: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), - projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - projectTier: types.optional(z.array(ACLAction$inboundSchema)), - projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), - projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), - projectUsage: types.optional(z.array(ACLAction$inboundSchema)), - proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), - rateLimit: types.optional(z.array(ACLAction$inboundSchema)), - redis: types.optional(z.array(ACLAction$inboundSchema)), - redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), - remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), - repository: types.optional(z.array(ACLAction$inboundSchema)), - samlConfig: types.optional(z.array(ACLAction$inboundSchema)), - schedule: types.optional(z.array(ACLAction$inboundSchema)), - schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), - seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), - secret: types.optional(z.array(ACLAction$inboundSchema)), - securityConfig: types.optional(z.array(ACLAction$inboundSchema)), - securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - sensitiveEnvironmentVariablePolicy: types.optional( - z.array(ACLAction$inboundSchema), - ), - setting: types.optional(z.array(ACLAction$inboundSchema)), - shareableLink: types.optional(z.array(ACLAction$inboundSchema)), - shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), - sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), - skewProtection: types.optional(z.array(ACLAction$inboundSchema)), - space: types.optional(z.array(ACLAction$inboundSchema)), - spaceRun: types.optional(z.array(ACLAction$inboundSchema)), - storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), - storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), - storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), - supportCase: types.optional(z.array(ACLAction$inboundSchema)), - supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), - team: types.optional(z.array(ACLAction$inboundSchema)), - teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), - teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), - teamInvite: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), - teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), - teamJoin: types.optional(z.array(ACLAction$inboundSchema)), - teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), - teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), - teamOwnMembershipDisconnectSAML: types.optional( - z.array(ACLAction$inboundSchema), - ), - teamSudo: types.optional(z.array(ACLAction$inboundSchema)), - teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), - token: types.optional(z.array(ACLAction$inboundSchema)), - toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), - trustedIps: types.optional(z.array(ACLAction$inboundSchema)), - trustedSources: types.optional(z.array(ACLAction$inboundSchema)), - usage: types.optional(z.array(ACLAction$inboundSchema)), - usageCycle: types.optional(z.array(ACLAction$inboundSchema)), - user: types.optional(z.array(ACLAction$inboundSchema)), - userConnection: types.optional(z.array(ACLAction$inboundSchema)), - userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), - userPreference: types.optional(z.array(ACLAction$inboundSchema)), - userSudo: types.optional(z.array(ACLAction$inboundSchema)), - v0Chat: types.optional(z.array(ACLAction$inboundSchema)), - vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), - vercelAppInstallationRequest: types.optional( - z.array(ACLAction$inboundSchema), - ), - vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), - vercelRun: types.optional(z.array(ACLAction$inboundSchema)), - vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), - webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), - webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), - webAuthn: types.optional(z.array(ACLAction$inboundSchema)), - webhook: types.optional(z.array(ACLAction$inboundSchema)), - "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), - workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), -}).transform((v) => { - return remap$(v, { - "Monitoring": "monitoring", - "NotificationMonitoringAlert": "notificationMonitoringAlert", - "projectFlagsSdkKey": "projectFlagsSDKKey", - "webhook-event": "webhookEvent", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: types.optional(z.array(ACLAction$inboundSchema)), + agent: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKey: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyBypassAll: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayApiKeyOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeySpendAttribution: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayApiKeyZdrExemption: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayBudget: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayBudgetOwnedBySelf: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayByokCredentials: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayCredits: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayGuardrails: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayPrivateModels: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayRules: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewaySettings: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscripts: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayTranscriptsSettings: types.optional( + z.array(ACLAction$inboundSchema), + ), + aiGatewayUsage: types.optional(z.array(ACLAction$inboundSchema)), + aiGatewayVirtualModelConfigs: types.optional( + z.array(ACLAction$inboundSchema), + ), + alertRules: types.optional(z.array(ACLAction$inboundSchema)), + alerts: types.optional(z.array(ACLAction$inboundSchema)), + aliasGlobal: types.optional(z.array(ACLAction$inboundSchema)), + aliasProject: types.optional(z.array(ACLAction$inboundSchema)), + aliasProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + analytics: types.optional(z.array(ACLAction$inboundSchema)), + analyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + analyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + apiKey: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyAiGateway: types.optional(z.array(ACLAction$inboundSchema)), + apiKeyOwnedBySelf: types.optional(z.array(ACLAction$inboundSchema)), + auditLog: types.optional(z.array(ACLAction$inboundSchema)), + automation: types.optional(z.array(ACLAction$inboundSchema)), + billingAddress: types.optional(z.array(ACLAction$inboundSchema)), + billingInformation: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoice: types.optional(z.array(ACLAction$inboundSchema)), + billingInvoiceEmailRecipient: types.optional( + z.array(ACLAction$inboundSchema), + ), + billingInvoiceLanguage: types.optional(z.array(ACLAction$inboundSchema)), + billingPlan: types.optional(z.array(ACLAction$inboundSchema)), + billingPurchaseOrder: types.optional(z.array(ACLAction$inboundSchema)), + billingRefund: types.optional(z.array(ACLAction$inboundSchema)), + billingTaxId: types.optional(z.array(ACLAction$inboundSchema)), + blob: types.optional(z.array(ACLAction$inboundSchema)), + blobStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + budget: types.optional(z.array(ACLAction$inboundSchema)), + buildMachine: types.optional(z.array(ACLAction$inboundSchema)), + buildMachineDefault: types.optional(z.array(ACLAction$inboundSchema)), + bulkRedirects: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifact: types.optional(z.array(ACLAction$inboundSchema)), + cacheArtifactUsageEvent: types.optional(z.array(ACLAction$inboundSchema)), + ciInvocations: types.optional(z.array(ACLAction$inboundSchema)), + ciLogs: types.optional(z.array(ACLAction$inboundSchema)), + codeChecks: types.optional(z.array(ACLAction$inboundSchema)), + codeOwners: types.optional(z.array(ACLAction$inboundSchema)), + concurrentBuilds: types.optional(z.array(ACLAction$inboundSchema)), + connect: types.optional(z.array(ACLAction$inboundSchema)), + connectConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + connectConfigurationLink: types.optional(z.array(ACLAction$inboundSchema)), + connectLogs: types.optional(z.array(ACLAction$inboundSchema)), + connexClient: types.optional(z.array(ACLAction$inboundSchema)), + connexClientAccess: types.optional(z.array(ACLAction$inboundSchema)), + connexClientProject: types.optional(z.array(ACLAction$inboundSchema)), + connexContact: types.optional(z.array(ACLAction$inboundSchema)), + connexInstallation: types.optional(z.array(ACLAction$inboundSchema)), + connexToken: types.optional(z.array(ACLAction$inboundSchema)), + cursorOriginInstallation: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheBillingSettings: types.optional(z.array(ACLAction$inboundSchema)), + dataCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + defaultDeploymentProtection: types.optional( + z.array(ACLAction$inboundSchema), + ), + deployment: types.optional(z.array(ACLAction$inboundSchema)), + deploymentBuildLogs: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheck: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentCheckReRunFromProductionBranch: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentPolicy: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPreview: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPrivate: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProductionGit: types.optional(z.array(ACLAction$inboundSchema)), + deploymentPromote: types.optional(z.array(ACLAction$inboundSchema)), + deploymentProtectionException: types.optional( + z.array(ACLAction$inboundSchema), + ), + deploymentRollback: types.optional(z.array(ACLAction$inboundSchema)), + deploymentV0: types.optional(z.array(ACLAction$inboundSchema)), + desktopDevice: types.optional(z.array(ACLAction$inboundSchema)), + domain: types.optional(z.array(ACLAction$inboundSchema)), + domainAcceptDelegation: types.optional(z.array(ACLAction$inboundSchema)), + domainAuthCodes: types.optional(z.array(ACLAction$inboundSchema)), + domainCertificate: types.optional(z.array(ACLAction$inboundSchema)), + domainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + domainMove: types.optional(z.array(ACLAction$inboundSchema)), + domainPurchase: types.optional(z.array(ACLAction$inboundSchema)), + domainRecord: types.optional(z.array(ACLAction$inboundSchema)), + domainTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + drain: types.optional(z.array(ACLAction$inboundSchema)), + drive: types.optional(z.array(ACLAction$inboundSchema)), + edgeCacheNamespace: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfig: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigItem: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigSchema: types.optional(z.array(ACLAction$inboundSchema)), + edgeConfigToken: types.optional(z.array(ACLAction$inboundSchema)), + emaSetup: types.optional(z.array(ACLAction$inboundSchema)), + endpointVerification: types.optional(z.array(ACLAction$inboundSchema)), + environments: types.optional(z.array(ACLAction$inboundSchema)), + event: types.optional(z.array(ACLAction$inboundSchema)), + fileUpload: types.optional(z.array(ACLAction$inboundSchema)), + flagsExplorerSubscription: types.optional(z.array(ACLAction$inboundSchema)), + gitCredentialGrant: types.optional(z.array(ACLAction$inboundSchema)), + githubUsage: types.optional(z.array(ACLAction$inboundSchema)), + gitRepository: types.optional(z.array(ACLAction$inboundSchema)), + imageOptimizationNewPrice: types.optional(z.array(ACLAction$inboundSchema)), + integration: types.optional(z.array(ACLAction$inboundSchema)), + integrationAccount: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + integrationConfigurationProjects: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationRole: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationConfigurationTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationDeploymentAction: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationEvent: types.optional(z.array(ACLAction$inboundSchema)), + integrationLog: types.optional(z.array(ACLAction$inboundSchema)), + integrationPullRequest: types.optional(z.array(ACLAction$inboundSchema)), + integrationResource: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceData: types.optional(z.array(ACLAction$inboundSchema)), + integrationResourceReplCommand: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationResourceSecrets: types.optional( + z.array(ACLAction$inboundSchema), + ), + integrationSSOSession: types.optional(z.array(ACLAction$inboundSchema)), + integrationStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + integrationStrict: types.optional(z.array(ACLAction$inboundSchema)), + integrationVercelConfigurationOverride: types.optional( + z.array(ACLAction$inboundSchema), + ), + ipBlocking: types.optional(z.array(ACLAction$inboundSchema)), + job: types.optional(z.array(ACLAction$inboundSchema)), + jobGlobal: types.optional(z.array(ACLAction$inboundSchema)), + kmsIssuer: types.optional(z.array(ACLAction$inboundSchema)), + kmsProjectGrant: types.optional(z.array(ACLAction$inboundSchema)), + logDrain: types.optional(z.array(ACLAction$inboundSchema)), + logs: types.optional(z.array(ACLAction$inboundSchema)), + logsPreset: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceBillingData: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceExperimentationEdgeConfigData: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceExperimentationItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceFlexCommit: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceInstallationMember: types.optional( + z.array(ACLAction$inboundSchema), + ), + marketplaceInvoice: types.optional(z.array(ACLAction$inboundSchema)), + marketplaceSettings: types.optional(z.array(ACLAction$inboundSchema)), + messageboard: types.optional(z.array(ACLAction$inboundSchema)), + messageboardChannel: types.optional(z.array(ACLAction$inboundSchema)), + messageboardMessage: types.optional(z.array(ACLAction$inboundSchema)), + messageboardModeration: types.optional(z.array(ACLAction$inboundSchema)), + messageboardReaction: types.optional(z.array(ACLAction$inboundSchema)), + messageboardTask: types.optional(z.array(ACLAction$inboundSchema)), + Monitoring: types.optional(z.array(ACLAction$inboundSchema)), + monitoringAlert: types.optional(z.array(ACLAction$inboundSchema)), + monitoringChart: types.optional(z.array(ACLAction$inboundSchema)), + monitoringQuery: types.optional(z.array(ACLAction$inboundSchema)), + monitoringSettings: types.optional(z.array(ACLAction$inboundSchema)), + notificationCustomerBudget: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDeploymentFailed: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainExpire: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainMoved: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainPurchase: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainRenewal: types.optional(z.array(ACLAction$inboundSchema)), + notificationDomainTransfer: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationDomainUnverified: types.optional( + z.array(ACLAction$inboundSchema), + ), + NotificationMonitoringAlert: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationPaymentFailed: types.optional(z.array(ACLAction$inboundSchema)), + notificationPreferences: types.optional(z.array(ACLAction$inboundSchema)), + notificationStatementOfReasons: types.optional( + z.array(ACLAction$inboundSchema), + ), + notificationUsageAlert: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Application: types.optional(z.array(ACLAction$inboundSchema)), + oauth2Connection: types.optional(z.array(ACLAction$inboundSchema)), + observabilityConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + observabilityData: types.optional(z.array(ACLAction$inboundSchema)), + observabilityFunnel: types.optional(z.array(ACLAction$inboundSchema)), + observabilityNotebook: types.optional(z.array(ACLAction$inboundSchema)), + oidcFederationPolicy: types.optional(z.array(ACLAction$inboundSchema)), + onDemandBuild: types.optional(z.array(ACLAction$inboundSchema)), + onDemandConcurrency: types.optional(z.array(ACLAction$inboundSchema)), + openTelemetryEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + optionsAllowlist: types.optional(z.array(ACLAction$inboundSchema)), + organization: types.optional(z.array(ACLAction$inboundSchema)), + organizationAdmin: types.optional(z.array(ACLAction$inboundSchema)), + organizationDomain: types.optional(z.array(ACLAction$inboundSchema)), + organizationMember: types.optional(z.array(ACLAction$inboundSchema)), + organizationTeam: types.optional(z.array(ACLAction$inboundSchema)), + ownEvent: types.optional(z.array(ACLAction$inboundSchema)), + pageIntegrity: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtection: types.optional(z.array(ACLAction$inboundSchema)), + passwordProtectionInvoiceItem: types.optional( + z.array(ACLAction$inboundSchema), + ), + paymentMethod: types.optional(z.array(ACLAction$inboundSchema)), + perimeter: types.optional(z.array(ACLAction$inboundSchema)), + perimeterLink: types.optional(z.array(ACLAction$inboundSchema)), + permissions: types.optional(z.array(ACLAction$inboundSchema)), + postgres: types.optional(z.array(ACLAction$inboundSchema)), + postgresStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + previewDeploymentSuffix: types.optional(z.array(ACLAction$inboundSchema)), + privateCloudAccount: types.optional(z.array(ACLAction$inboundSchema)), + privateLinkEndpoint: types.optional(z.array(ACLAction$inboundSchema)), + privateNpmUsage: types.optional(z.array(ACLAction$inboundSchema)), + productionAliasProtectionBypass: types.optional( + z.array(ACLAction$inboundSchema), + ), + productionShareableLink: types.optional(z.array(ACLAction$inboundSchema)), + project: types.optional(z.array(ACLAction$inboundSchema)), + projectAccessGroup: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsSampling: types.optional(z.array(ACLAction$inboundSchema)), + projectAnalyticsUsage: types.optional(z.array(ACLAction$inboundSchema)), + projectCheck: types.optional(z.array(ACLAction$inboundSchema)), + projectCheckRun: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentExpiration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDeploymentHook: types.optional(z.array(ACLAction$inboundSchema)), + projectDeploymentProtectionStrict: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectDomain: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainCheckConfig: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainMove: types.optional(z.array(ACLAction$inboundSchema)), + projectDomainVerify: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectEnvVarsUnownedByIntegration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectEvent: types.optional(z.array(ACLAction$inboundSchema)), + projectFlags: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverride: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsOverrideProduction: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectFlagsProduction: types.optional(z.array(ACLAction$inboundSchema)), + projectFlagsSdkKey: types.optional(z.array(ACLAction$inboundSchema)), + projectFromV0: types.optional(z.array(ACLAction$inboundSchema)), + projectId: types.optional(z.array(ACLAction$inboundSchema)), + projectIntegrationConfiguration: types.optional( + z.array(ACLAction$inboundSchema), + ), + projectLink: types.optional(z.array(ACLAction$inboundSchema)), + projectMember: types.optional(z.array(ACLAction$inboundSchema)), + projectMonitoring: types.optional(z.array(ACLAction$inboundSchema)), + projectOIDCToken: types.optional(z.array(ACLAction$inboundSchema)), + projectPermissions: types.optional(z.array(ACLAction$inboundSchema)), + projectProductionBranch: types.optional(z.array(ACLAction$inboundSchema)), + projectProtectionBypass: types.optional(z.array(ACLAction$inboundSchema)), + projectRollingRelease: types.optional(z.array(ACLAction$inboundSchema)), + projectRoutes: types.optional(z.array(ACLAction$inboundSchema)), + projectSetting: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCase: types.optional(z.array(ACLAction$inboundSchema)), + projectSupportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + projectTier: types.optional(z.array(ACLAction$inboundSchema)), + projectTransfer: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferIn: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferOut: types.optional(z.array(ACLAction$inboundSchema)), + projectTransferRequest: types.optional(z.array(ACLAction$inboundSchema)), + projectUsage: types.optional(z.array(ACLAction$inboundSchema)), + proTrialOnboarding: types.optional(z.array(ACLAction$inboundSchema)), + rateLimit: types.optional(z.array(ACLAction$inboundSchema)), + redis: types.optional(z.array(ACLAction$inboundSchema)), + redisStoreTokenSet: types.optional(z.array(ACLAction$inboundSchema)), + remoteCaching: types.optional(z.array(ACLAction$inboundSchema)), + repository: types.optional(z.array(ACLAction$inboundSchema)), + samlConfig: types.optional(z.array(ACLAction$inboundSchema)), + schedule: types.optional(z.array(ACLAction$inboundSchema)), + schedulePreview: types.optional(z.array(ACLAction$inboundSchema)), + seawallConfig: types.optional(z.array(ACLAction$inboundSchema)), + secret: types.optional(z.array(ACLAction$inboundSchema)), + securityConfig: types.optional(z.array(ACLAction$inboundSchema)), + securityPlusConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + sensitiveEnvironmentVariablePolicy: types.optional( + z.array(ACLAction$inboundSchema), + ), + setting: types.optional(z.array(ACLAction$inboundSchema)), + shareableLink: types.optional(z.array(ACLAction$inboundSchema)), + shareableLinkStrict: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarConnection: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVars: types.optional(z.array(ACLAction$inboundSchema)), + sharedEnvVarsProduction: types.optional(z.array(ACLAction$inboundSchema)), + skewProtection: types.optional(z.array(ACLAction$inboundSchema)), + space: types.optional(z.array(ACLAction$inboundSchema)), + spaceRun: types.optional(z.array(ACLAction$inboundSchema)), + storeIsLocked: types.optional(z.array(ACLAction$inboundSchema)), + storeTokenSetSensitive: types.optional(z.array(ACLAction$inboundSchema)), + storeTransfer: types.optional(z.array(ACLAction$inboundSchema)), + supportCase: types.optional(z.array(ACLAction$inboundSchema)), + supportCaseComment: types.optional(z.array(ACLAction$inboundSchema)), + team: types.optional(z.array(ACLAction$inboundSchema)), + teamAccessRequest: types.optional(z.array(ACLAction$inboundSchema)), + teamFellowMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamGitExclusivity: types.optional(z.array(ACLAction$inboundSchema)), + teamInvite: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteCode: types.optional(z.array(ACLAction$inboundSchema)), + teamInviteLink: types.optional(z.array(ACLAction$inboundSchema)), + teamJoin: types.optional(z.array(ACLAction$inboundSchema)), + teamMemberMfaStatus: types.optional(z.array(ACLAction$inboundSchema)), + teamMicrofrontends: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembership: types.optional(z.array(ACLAction$inboundSchema)), + teamOwnMembershipDisconnectSAML: types.optional( + z.array(ACLAction$inboundSchema), + ), + teamSudo: types.optional(z.array(ACLAction$inboundSchema)), + teamTokenInvalidation: types.optional(z.array(ACLAction$inboundSchema)), + token: types.optional(z.array(ACLAction$inboundSchema)), + toolbarComment: types.optional(z.array(ACLAction$inboundSchema)), + trustedIps: types.optional(z.array(ACLAction$inboundSchema)), + trustedSources: types.optional(z.array(ACLAction$inboundSchema)), + usage: types.optional(z.array(ACLAction$inboundSchema)), + usageCycle: types.optional(z.array(ACLAction$inboundSchema)), + user: types.optional(z.array(ACLAction$inboundSchema)), + userConnection: types.optional(z.array(ACLAction$inboundSchema)), + userMfaConfiguration: types.optional(z.array(ACLAction$inboundSchema)), + userPreference: types.optional(z.array(ACLAction$inboundSchema)), + userSudo: types.optional(z.array(ACLAction$inboundSchema)), + v0Chat: types.optional(z.array(ACLAction$inboundSchema)), + vcrRepository: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallation: types.optional(z.array(ACLAction$inboundSchema)), + vercelAppInstallationRequest: types.optional( + z.array(ACLAction$inboundSchema), + ), + vercelAuth: types.optional(z.array(ACLAction$inboundSchema)), + vercelRun: types.optional(z.array(ACLAction$inboundSchema)), + vpcPeeringConnection: types.optional(z.array(ACLAction$inboundSchema)), + webAnalytics: types.optional(z.array(ACLAction$inboundSchema)), + webAnalyticsPlan: types.optional(z.array(ACLAction$inboundSchema)), + webAuthn: types.optional(z.array(ACLAction$inboundSchema)), + webhook: types.optional(z.array(ACLAction$inboundSchema)), + "webhook-event": types.optional(z.array(ACLAction$inboundSchema)), + workflowRunData: types.optional(z.array(ACLAction$inboundSchema)), + }).transform((v) => { + return remap$(v, { + "Monitoring": "monitoring", + "NotificationMonitoringAlert": "notificationMonitoringAlert", + "projectFlagsSdkKey": "projectFlagsSDKKey", + "webhook-event": "webhookEvent", + }); + }) +); export function uploadProjectAvatarPermissionsFromJSON( jsonString: string, @@ -4179,13 +4269,15 @@ export const UploadProjectAvatarProtectionBypass2$inboundSchema: z.ZodType< UploadProjectAvatarProtectionBypass2, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - createdBy: types.string(), - isEnvVar: types.optional(types.boolean()), - note: types.optional(types.string()), - scope: types.literal("automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + createdBy: types.string(), + isEnvVar: types.optional(types.boolean()), + note: types.optional(types.string()), + scope: types.literal("automation-bypass"), + }) +); export function uploadProjectAvatarProtectionBypass2FromJSON( jsonString: string, @@ -4203,13 +4295,15 @@ export const UploadProjectAvatarProtectionBypass1$inboundSchema: z.ZodType< UploadProjectAvatarProtectionBypass1, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - createdAt: types.number(), - createdBy: types.string(), - integrationId: types.string(), - scope: types.literal("integration-automation-bypass"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + createdAt: types.number(), + createdBy: types.string(), + integrationId: types.string(), + scope: types.literal("integration-automation-bypass"), + }) +); export function uploadProjectAvatarProtectionBypass1FromJSON( jsonString: string, @@ -4227,10 +4321,12 @@ export const UploadProjectAvatarProtectionBypass$inboundSchema: z.ZodType< UploadProjectAvatarProtectionBypass, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarProtectionBypass1$inboundSchema), - z.lazy(() => UploadProjectAvatarProtectionBypass2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarProtectionBypass1$inboundSchema), + z.lazy(() => UploadProjectAvatarProtectionBypass2$inboundSchema), + ]) +); export function uploadProjectAvatarProtectionBypassFromJSON( jsonString: string, @@ -4248,9 +4344,11 @@ export const UploadProjectAvatarSandboxUrls$inboundSchema: z.ZodType< UploadProjectAvatarSandboxUrls, z.ZodTypeDef, unknown -> = z.object({ - inheritDeploymentProtection: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + inheritDeploymentProtection: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarSandboxUrlsFromJSON( jsonString: string, @@ -4267,11 +4365,13 @@ export const UploadProjectAvatarProtectionConfig$inboundSchema: z.ZodType< UploadProjectAvatarProtectionConfig, z.ZodTypeDef, unknown -> = z.object({ - sandboxUrls: types.optional( - z.lazy(() => UploadProjectAvatarSandboxUrls$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + sandboxUrls: types.optional( + z.lazy(() => UploadProjectAvatarSandboxUrls$inboundSchema), + ), + }) +); export function uploadProjectAvatarProtectionConfigFromJSON( jsonString: string, @@ -4287,13 +4387,16 @@ export function uploadProjectAvatarProtectionConfigFromJSON( /** @internal */ export const UploadProjectAvatarProjectsBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UploadProjectAvatarProjectsBuildMachineElasticReason); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsBuildMachineElasticReason) + ); /** @internal */ export const UploadProjectAvatarProjectsDirection$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarProjectsDirection, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsDirection) + ); /** @internal */ export const UploadProjectAvatarProjectsBuildMachineElasticTransition$inboundSchema: @@ -4301,11 +4404,13 @@ export const UploadProjectAvatarProjectsBuildMachineElasticTransition$inboundSch UploadProjectAvatarProjectsBuildMachineElasticTransition, z.ZodTypeDef, unknown - > = z.object({ - algorithmVersion: types.string(), - at: types.number(), - direction: UploadProjectAvatarProjectsDirection$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithmVersion: types.string(), + at: types.number(), + direction: UploadProjectAvatarProjectsDirection$inboundSchema, + }) + ); export function uploadProjectAvatarProjectsBuildMachineElasticTransitionFromJSON( jsonString: string, @@ -4324,29 +4429,37 @@ export function uploadProjectAvatarProjectsBuildMachineElasticTransitionFromJSON /** @internal */ export const UploadProjectAvatarProjectsBuildMachineSelection$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsBuildMachineSelection); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsBuildMachineSelection) + ); /** @internal */ export const UploadProjectAvatarProjectsBuildMachineType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsBuildMachineType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsBuildMachineType) + ); /** @internal */ export const UploadProjectAvatarProjectsConfiguration$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsConfiguration); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsConfiguration) + ); /** @internal */ export const UploadProjectAvatarProjectsBuildQueue$inboundSchema: z.ZodType< UploadProjectAvatarProjectsBuildQueue, z.ZodTypeDef, unknown -> = z.object({ - configuration: types.optional( - UploadProjectAvatarProjectsConfiguration$inboundSchema, - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configuration: types.optional( + UploadProjectAvatarProjectsConfiguration$inboundSchema, + ), + }) +); export function uploadProjectAvatarProjectsBuildQueueFromJSON( jsonString: string, @@ -4362,7 +4475,9 @@ export function uploadProjectAvatarProjectsBuildQueueFromJSON( /** @internal */ export const UploadProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UploadProjectAvatarProjectsFunctionDefaultMemoryType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsFunctionDefaultMemoryType) + ); /** @internal */ export const UploadProjectAvatarElasticBuildMachineProjects4$inboundSchema: @@ -4370,11 +4485,13 @@ export const UploadProjectAvatarElasticBuildMachineProjects4$inboundSchema: UploadProjectAvatarElasticBuildMachineProjects4, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("turbo"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("turbo"), + memory: types.number(), + }) + ); export function uploadProjectAvatarElasticBuildMachineProjects4FromJSON( jsonString: string, @@ -4398,11 +4515,13 @@ export const UploadProjectAvatarElasticBuildMachineProjects3$inboundSchema: UploadProjectAvatarElasticBuildMachineProjects3, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("14cpu-28gb"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("14cpu-28gb"), + memory: types.number(), + }) + ); export function uploadProjectAvatarElasticBuildMachineProjects3FromJSON( jsonString: string, @@ -4426,11 +4545,13 @@ export const UploadProjectAvatarElasticBuildMachineProjects2$inboundSchema: UploadProjectAvatarElasticBuildMachineProjects2, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("enhanced"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("enhanced"), + memory: types.number(), + }) + ); export function uploadProjectAvatarElasticBuildMachineProjects2FromJSON( jsonString: string, @@ -4454,11 +4575,13 @@ export const UploadProjectAvatarElasticBuildMachineProjects1$inboundSchema: UploadProjectAvatarElasticBuildMachineProjects1, z.ZodTypeDef, unknown - > = z.object({ - cores: types.number(), - label: types.literal("standard"), - memory: types.number(), - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + cores: types.number(), + label: types.literal("standard"), + memory: types.number(), + }) + ); export function uploadProjectAvatarElasticBuildMachineProjects1FromJSON( jsonString: string, @@ -4482,12 +4605,22 @@ export const UploadProjectAvatarProjectsElasticBuildMachine$inboundSchema: UploadProjectAvatarProjectsElasticBuildMachine, z.ZodTypeDef, unknown - > = z.union([ - z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects1$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects2$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects3$inboundSchema), - z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects4$inboundSchema), - ]); + > = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => + UploadProjectAvatarElasticBuildMachineProjects1$inboundSchema + ), + z.lazy(() => + UploadProjectAvatarElasticBuildMachineProjects2$inboundSchema + ), + z.lazy(() => + UploadProjectAvatarElasticBuildMachineProjects3$inboundSchema + ), + z.lazy(() => + UploadProjectAvatarElasticBuildMachineProjects4$inboundSchema + ), + ]) + ); export function uploadProjectAvatarProjectsElasticBuildMachineFromJSON( jsonString: string, @@ -4510,37 +4643,35 @@ export const UploadProjectAvatarResourceConfig$inboundSchema: z.ZodType< UploadProjectAvatarResourceConfig, z.ZodTypeDef, unknown -> = z.object({ - buildMachineElasticLastUpdated: types.optional(types.number()), - buildMachineElasticReason: types.optional( - UploadProjectAvatarProjectsBuildMachineElasticReason$inboundSchema, - ), - buildMachineElasticTransition: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + buildMachineElasticLastUpdated: types.optional(types.number()), + buildMachineElasticReason: types.optional( + UploadProjectAvatarProjectsBuildMachineElasticReason$inboundSchema, + ), + buildMachineElasticTransition: types.optional(z.lazy(() => UploadProjectAvatarProjectsBuildMachineElasticTransition$inboundSchema + )), + buildMachineSelection: types.optional( + UploadProjectAvatarProjectsBuildMachineSelection$inboundSchema, ), - ), - buildMachineSelection: types.optional( - UploadProjectAvatarProjectsBuildMachineSelection$inboundSchema, - ), - buildMachineType: types.optional( - UploadProjectAvatarProjectsBuildMachineType$inboundSchema, - ), - buildQueue: types.optional( - z.lazy(() => UploadProjectAvatarProjectsBuildQueue$inboundSchema), - ), - elasticConcurrencyEnabled: types.optional(types.boolean()), - enableFunctionsBeta: types.optional(types.boolean()), - fluid: types.optional(types.boolean()), - functionDefaultMemoryType: types.optional( - UploadProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema, - ), - functionDefaultRegions: z.array(types.string()), - functionDefaultTimeout: types.optional(types.number()), - functionZeroConfigFailover: types.optional(types.boolean()), - isNSNBDisabled: types.optional(types.boolean()), - elasticBuildMachine: types.optional( - z.union([ + buildMachineType: types.optional( + UploadProjectAvatarProjectsBuildMachineType$inboundSchema, + ), + buildQueue: types.optional(z.lazy(() => + UploadProjectAvatarProjectsBuildQueue$inboundSchema + )), + elasticConcurrencyEnabled: types.optional(types.boolean()), + enableFunctionsBeta: types.optional(types.boolean()), + fluid: types.optional(types.boolean()), + functionDefaultMemoryType: types.optional( + UploadProjectAvatarProjectsFunctionDefaultMemoryType$inboundSchema, + ), + functionDefaultRegions: z.array(types.string()), + functionDefaultTimeout: types.optional(types.number()), + functionZeroConfigFailover: types.optional(types.boolean()), + isNSNBDisabled: types.optional(types.boolean()), + elasticBuildMachine: types.optional(z.union([ z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects1$inboundSchema ), @@ -4553,9 +4684,9 @@ export const UploadProjectAvatarResourceConfig$inboundSchema: z.ZodType< z.lazy(() => UploadProjectAvatarElasticBuildMachineProjects4$inboundSchema ), - ]), - ), -}); + ])), + }) +); export function uploadProjectAvatarResourceConfigFromJSON( jsonString: string, @@ -4572,9 +4703,11 @@ export const UploadProjectAvatarPrincipal5$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal5, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("system"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("system"), + }) +); export function uploadProjectAvatarPrincipal5FromJSON( jsonString: string, @@ -4591,10 +4724,12 @@ export const UploadProjectAvatarPrincipalIntegration$inboundSchema: z.ZodType< UploadProjectAvatarPrincipalIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function uploadProjectAvatarPrincipalIntegrationFromJSON( jsonString: string, @@ -4617,12 +4752,14 @@ export const UploadProjectAvatarPrincipal4$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal4, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UploadProjectAvatarPrincipalIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UploadProjectAvatarPrincipalIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function uploadProjectAvatarPrincipal4FromJSON( jsonString: string, @@ -4639,10 +4776,12 @@ export const UploadProjectAvatarPrincipalApp$inboundSchema: z.ZodType< UploadProjectAvatarPrincipalApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function uploadProjectAvatarPrincipalAppFromJSON( jsonString: string, @@ -4659,10 +4798,12 @@ export const UploadProjectAvatarPrincipal3$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal3, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UploadProjectAvatarPrincipalApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UploadProjectAvatarPrincipalApp$inboundSchema), + type: types.literal("app"), + }) +); export function uploadProjectAvatarPrincipal3FromJSON( jsonString: string, @@ -4679,9 +4820,11 @@ export const UploadProjectAvatarPrincipalProject$inboundSchema: z.ZodType< UploadProjectAvatarPrincipalProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function uploadProjectAvatarPrincipalProjectFromJSON( jsonString: string, @@ -4699,10 +4842,12 @@ export const UploadProjectAvatarPrincipal2$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UploadProjectAvatarPrincipalProject$inboundSchema), - type: types.literal("project"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UploadProjectAvatarPrincipalProject$inboundSchema), + type: types.literal("project"), + }) +); export function uploadProjectAvatarPrincipal2FromJSON( jsonString: string, @@ -4719,10 +4864,12 @@ export const UploadProjectAvatarViaProjectsIntegration$inboundSchema: z.ZodType< UploadProjectAvatarViaProjectsIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + }) +); export function uploadProjectAvatarViaProjectsIntegrationFromJSON( jsonString: string, @@ -4745,12 +4892,14 @@ export const UploadProjectAvatarViaProjects2$inboundSchema: z.ZodType< UploadProjectAvatarViaProjects2, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => - UploadProjectAvatarViaProjectsIntegration$inboundSchema - ), - type: types.literal("integration"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => + UploadProjectAvatarViaProjectsIntegration$inboundSchema + ), + type: types.literal("integration"), + }) +); export function uploadProjectAvatarViaProjects2FromJSON( jsonString: string, @@ -4767,10 +4916,12 @@ export const UploadProjectAvatarViaProjectsApp$inboundSchema: z.ZodType< UploadProjectAvatarViaProjectsApp, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + id: types.string(), + }) +); export function uploadProjectAvatarViaProjectsAppFromJSON( jsonString: string, @@ -4787,10 +4938,12 @@ export const UploadProjectAvatarViaProjects1$inboundSchema: z.ZodType< UploadProjectAvatarViaProjects1, z.ZodTypeDef, unknown -> = z.object({ - app: z.lazy(() => UploadProjectAvatarViaProjectsApp$inboundSchema), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + app: z.lazy(() => UploadProjectAvatarViaProjectsApp$inboundSchema), + type: types.literal("app"), + }) +); export function uploadProjectAvatarViaProjects1FromJSON( jsonString: string, @@ -4807,10 +4960,12 @@ export const UploadProjectAvatarPrincipalVia$inboundSchema: z.ZodType< UploadProjectAvatarPrincipalVia, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarViaProjects1$inboundSchema), - z.lazy(() => UploadProjectAvatarViaProjects2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarViaProjects1$inboundSchema), + z.lazy(() => UploadProjectAvatarViaProjects2$inboundSchema), + ]) +); export function uploadProjectAvatarPrincipalViaFromJSON( jsonString: string, @@ -4827,9 +4982,11 @@ export const UploadProjectAvatarPrincipalUser$inboundSchema: z.ZodType< UploadProjectAvatarPrincipalUser, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + }) +); export function uploadProjectAvatarPrincipalUserFromJSON( jsonString: string, @@ -4846,16 +5003,18 @@ export const UploadProjectAvatarPrincipal1$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - type: types.literal("user"), - via: types.nullable( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: types.literal("user"), + via: types.nullable(z.union([ z.lazy(() => UploadProjectAvatarViaProjects1$inboundSchema), z.lazy(() => UploadProjectAvatarViaProjects2$inboundSchema), - ]), - ), - user: z.lazy(() => UploadProjectAvatarPrincipalUser$inboundSchema), -}); + ])), + user: z.lazy(() => + UploadProjectAvatarPrincipalUser$inboundSchema + ), + }) +); export function uploadProjectAvatarPrincipal1FromJSON( jsonString: string, @@ -4872,13 +5031,15 @@ export const UploadProjectAvatarPrincipal$inboundSchema: z.ZodType< UploadProjectAvatarPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UploadProjectAvatarPrincipal1$inboundSchema), - z.lazy(() => UploadProjectAvatarPrincipal2$inboundSchema), - z.lazy(() => UploadProjectAvatarPrincipal3$inboundSchema), - z.lazy(() => UploadProjectAvatarPrincipal4$inboundSchema), - z.lazy(() => UploadProjectAvatarPrincipal5$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UploadProjectAvatarPrincipal1$inboundSchema), + z.lazy(() => UploadProjectAvatarPrincipal2$inboundSchema), + z.lazy(() => UploadProjectAvatarPrincipal3$inboundSchema), + z.lazy(() => UploadProjectAvatarPrincipal4$inboundSchema), + z.lazy(() => UploadProjectAvatarPrincipal5$inboundSchema), + ]) +); export function uploadProjectAvatarPrincipalFromJSON( jsonString: string, @@ -4895,21 +5056,21 @@ export const UploadProjectAvatarRollbackDescription$inboundSchema: z.ZodType< UploadProjectAvatarRollbackDescription, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - description: types.string(), - principal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + description: types.string(), + principal: types.optional(z.union([ z.lazy(() => UploadProjectAvatarPrincipal1$inboundSchema), z.lazy(() => UploadProjectAvatarPrincipal2$inboundSchema), z.lazy(() => UploadProjectAvatarPrincipal3$inboundSchema), z.lazy(() => UploadProjectAvatarPrincipal4$inboundSchema), z.lazy(() => UploadProjectAvatarPrincipal5$inboundSchema), - ]), - ), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); + ])), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function uploadProjectAvatarRollbackDescriptionFromJSON( jsonString: string, @@ -4927,12 +5088,14 @@ export const UploadProjectAvatarStages$inboundSchema: z.ZodType< UploadProjectAvatarStages, z.ZodTypeDef, unknown -> = z.object({ - duration: types.optional(types.number()), - linearShift: types.optional(types.boolean()), - requireApproval: types.optional(types.boolean()), - targetPercentage: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + duration: types.optional(types.number()), + linearShift: types.optional(types.boolean()), + requireApproval: types.optional(types.boolean()), + targetPercentage: types.number(), + }) +); export function uploadProjectAvatarStagesFromJSON( jsonString: string, @@ -4949,13 +5112,15 @@ export const UploadProjectAvatarRollingRelease$inboundSchema: z.ZodType< UploadProjectAvatarRollingRelease, z.ZodTypeDef, unknown -> = z.object({ - canaryResponseHeader: types.optional(types.boolean()), - stages: z.nullable( - z.array(z.lazy(() => UploadProjectAvatarStages$inboundSchema)), - ).optional(), - target: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canaryResponseHeader: types.optional(types.boolean()), + stages: z.nullable( + z.array(z.lazy(() => UploadProjectAvatarStages$inboundSchema)), + ).optional(), + target: types.string(), + }) +); export function uploadProjectAvatarRollingReleaseFromJSON( jsonString: string, @@ -4970,24 +5135,28 @@ export function uploadProjectAvatarRollingReleaseFromJSON( /** @internal */ export const UploadProjectAvatarFailoverRegions$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarFailoverRegions -> = z.nativeEnum(UploadProjectAvatarFailoverRegions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarFailoverRegions) +); /** @internal */ export const UploadProjectAvatarRegion$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarRegion -> = z.nativeEnum(UploadProjectAvatarRegion); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarRegion)); /** @internal */ export const UploadProjectAvatarSandbox$inboundSchema: z.ZodType< UploadProjectAvatarSandbox, z.ZodTypeDef, unknown -> = z.object({ - failoverRegions: types.optional( - z.array(UploadProjectAvatarFailoverRegions$inboundSchema), - ), - region: types.optional(UploadProjectAvatarRegion$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failoverRegions: types.optional( + z.array(UploadProjectAvatarFailoverRegions$inboundSchema), + ), + region: types.optional(UploadProjectAvatarRegion$inboundSchema), + }) +); export function uploadProjectAvatarSandboxFromJSON( jsonString: string, @@ -5002,17 +5171,21 @@ export function uploadProjectAvatarSandboxFromJSON( /** @internal */ export const UploadProjectAvatarLogHeaders2$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarLogHeaders2 -> = z.nativeEnum(UploadProjectAvatarLogHeaders2); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarLogHeaders2) +); /** @internal */ export const UploadProjectAvatarLogHeaders$inboundSchema: z.ZodType< UploadProjectAvatarLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UploadProjectAvatarLogHeaders2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + UploadProjectAvatarLogHeaders2$inboundSchema, + ]) +); export function uploadProjectAvatarLogHeadersFromJSON( jsonString: string, @@ -5028,8 +5201,10 @@ export function uploadProjectAvatarLogHeadersFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction, + ) ); /** @internal */ @@ -5037,12 +5212,14 @@ export const UploadProjectAvatarAiBots$inboundSchema: z.ZodType< UploadProjectAvatarAiBots, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function uploadProjectAvatarAiBotsFromJSON( jsonString: string, @@ -5056,20 +5233,24 @@ export function uploadProjectAvatarAiBotsFromJSON( /** @internal */ export const UploadProjectAvatarProjectsResponseAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseAction); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseAction) + ); /** @internal */ export const UploadProjectAvatarBotFilter$inboundSchema: z.ZodType< UploadProjectAvatarBotFilter, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UploadProjectAvatarProjectsResponseAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UploadProjectAvatarProjectsResponseAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function uploadProjectAvatarBotFilterFromJSON( jsonString: string, @@ -5083,20 +5264,24 @@ export function uploadProjectAvatarBotFilterFromJSON( /** @internal */ export const UploadProjectAvatarProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponse200Action); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponse200Action) + ); /** @internal */ export const UploadProjectAvatarOwasp$inboundSchema: z.ZodType< UploadProjectAvatarOwasp, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UploadProjectAvatarProjectsResponse200Action$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UploadProjectAvatarProjectsResponse200Action$inboundSchema, + ), + active: types.boolean(), + }) +); export function uploadProjectAvatarOwaspFromJSON( jsonString: string, @@ -5112,19 +5297,23 @@ export function uploadProjectAvatarOwaspFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONAction - > = z.nativeEnum(UploadProjectAvatarProjectsResponse200ApplicationJSONAction); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponse200ApplicationJSONAction) + ); /** @internal */ export const UploadProjectAvatarTrafficSources$inboundSchema: z.ZodType< UploadProjectAvatarTrafficSources, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UploadProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UploadProjectAvatarProjectsResponse200ApplicationJSONAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function uploadProjectAvatarTrafficSourcesFromJSON( jsonString: string, @@ -5140,8 +5329,10 @@ export function uploadProjectAvatarTrafficSourcesFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction, + ) ); /** @internal */ @@ -5149,12 +5340,14 @@ export const UploadProjectAvatarVercelRuleset$inboundSchema: z.ZodType< UploadProjectAvatarVercelRuleset, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, - ), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema, + ), + active: types.boolean(), + }) +); export function uploadProjectAvatarVercelRulesetFromJSON( jsonString: string, @@ -5171,22 +5364,26 @@ export const UploadProjectAvatarManagedRules$inboundSchema: z.ZodType< UploadProjectAvatarManagedRules, z.ZodTypeDef, unknown -> = z.object({ - ai_bots: z.lazy(() => UploadProjectAvatarAiBots$inboundSchema), - bot_filter: z.lazy(() => UploadProjectAvatarBotFilter$inboundSchema), - owasp: z.lazy(() => UploadProjectAvatarOwasp$inboundSchema), - traffic_sources: z.lazy(() => - UploadProjectAvatarTrafficSources$inboundSchema - ), - vercel_ruleset: z.lazy(() => UploadProjectAvatarVercelRuleset$inboundSchema), -}).transform((v) => { - return remap$(v, { - "ai_bots": "aiBots", - "bot_filter": "botFilter", - "traffic_sources": "trafficSources", - "vercel_ruleset": "vercelRuleset", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ai_bots: z.lazy(() => UploadProjectAvatarAiBots$inboundSchema), + bot_filter: z.lazy(() => UploadProjectAvatarBotFilter$inboundSchema), + owasp: z.lazy(() => UploadProjectAvatarOwasp$inboundSchema), + traffic_sources: z.lazy(() => + UploadProjectAvatarTrafficSources$inboundSchema + ), + vercel_ruleset: z.lazy(() => + UploadProjectAvatarVercelRuleset$inboundSchema + ), + }).transform((v) => { + return remap$(v, { + "ai_bots": "aiBots", + "bot_filter": "botFilter", + "traffic_sources": "trafficSources", + "vercel_ruleset": "vercelRuleset", + }); + }) +); export function uploadProjectAvatarManagedRulesFromJSON( jsonString: string, @@ -5201,23 +5398,28 @@ export function uploadProjectAvatarManagedRulesFromJSON( /** @internal */ export const UploadProjectAvatarProjectsAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsAction -> = z.nativeEnum(UploadProjectAvatarProjectsAction); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsAction) +); /** @internal */ export const UploadProjectAvatarLogHeadersProjects2$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarLogHeadersProjects2, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarLogHeadersProjects2) + ); /** @internal */ export const UploadProjectAvatarProjectsLogHeaders$inboundSchema: z.ZodType< UploadProjectAvatarProjectsLogHeaders, z.ZodTypeDef, unknown -> = smartUnion([ - z.array(types.string()), - UploadProjectAvatarLogHeadersProjects2$inboundSchema, -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(types.string()), + UploadProjectAvatarLogHeadersProjects2$inboundSchema, + ]) +); export function uploadProjectAvatarProjectsLogHeadersFromJSON( jsonString: string, @@ -5234,29 +5436,33 @@ export function uploadProjectAvatarProjectsLogHeadersFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction, + ) ); /** @internal */ export const UploadProjectAvatarAlgo$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarAlgo -> = z.nativeEnum(UploadProjectAvatarAlgo); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarAlgo)); /** @internal */ export const UploadProjectAvatarRateLimit$inboundSchema: z.ZodType< UploadProjectAvatarRateLimit, z.ZodTypeDef, unknown -> = z.object({ - action: z.nullable( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, - ).optional(), - algo: UploadProjectAvatarAlgo$inboundSchema, - keys: z.array(types.string()), - limit: types.number(), - window: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: z.nullable( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodySecurityRulesetsAction$inboundSchema, + ).optional(), + algo: UploadProjectAvatarAlgo$inboundSchema, + keys: z.array(types.string()), + limit: types.number(), + window: types.number(), + }) +); export function uploadProjectAvatarRateLimitFromJSON( jsonString: string, @@ -5273,10 +5479,12 @@ export const UploadProjectAvatarRedirect$inboundSchema: z.ZodType< UploadProjectAvatarRedirect, z.ZodTypeDef, unknown -> = z.object({ - location: types.string(), - permanent: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + location: types.string(), + permanent: types.boolean(), + }) +); export function uploadProjectAvatarRedirectFromJSON( jsonString: string, @@ -5293,22 +5501,25 @@ export const UploadProjectAvatarRulesets$inboundSchema: z.ZodType< UploadProjectAvatarRulesets, z.ZodTypeDef, unknown -> = z.object({ - action: UploadProjectAvatarProjectsAction$inboundSchema, - actionDuration: z.nullable(types.string()).optional(), - bypassSystem: z.nullable(types.boolean()).optional(), - logHeaders: types.optional( - smartUnion([ - z.array(types.string()), - UploadProjectAvatarLogHeadersProjects2$inboundSchema, - ]), - ), - rateLimit: z.nullable( - z.lazy(() => UploadProjectAvatarRateLimit$inboundSchema), - ).optional(), - redirect: z.nullable(z.lazy(() => UploadProjectAvatarRedirect$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UploadProjectAvatarProjectsAction$inboundSchema, + actionDuration: z.nullable(types.string()).optional(), + bypassSystem: z.nullable(types.boolean()).optional(), + logHeaders: types.optional( + smartUnion([ + z.array(types.string()), + UploadProjectAvatarLogHeadersProjects2$inboundSchema, + ]), + ), + rateLimit: z.nullable( + z.lazy(() => UploadProjectAvatarRateLimit$inboundSchema), + ).optional(), + redirect: z.nullable( + z.lazy(() => UploadProjectAvatarRedirect$inboundSchema), + ).optional(), + }) +); export function uploadProjectAvatarRulesetsFromJSON( jsonString: string, @@ -5325,36 +5536,38 @@ export const UploadProjectAvatarSecurity$inboundSchema: z.ZodType< UploadProjectAvatarSecurity, z.ZodTypeDef, unknown -> = z.object({ - attackModeActiveUntil: z.nullable(types.number()).optional(), - attackModeEnabled: types.optional(types.boolean()), - attackModeUpdatedAt: types.optional(types.number()), - botIdEnabled: types.optional(types.boolean()), - firewallBypassIps: types.optional(z.array(types.string())), - firewallConfigVersion: types.optional(types.number()), - firewallEnabled: types.optional(types.boolean()), - firewallSeawallEnabled: types.optional(types.boolean()), - firewallUpdatedAt: types.optional(types.number()), - ja3Enabled: types.optional(types.boolean()), - ja4Enabled: types.optional(types.boolean()), - log_headers: types.optional( - smartUnion([ - z.array(types.string()), - UploadProjectAvatarLogHeaders2$inboundSchema, - ]), - ), - managedRules: z.nullable( - z.lazy(() => UploadProjectAvatarManagedRules$inboundSchema), - ).optional(), - pageIntegrityEnabled: types.optional(types.boolean()), - rulesets: types.optional( - z.record(z.lazy(() => UploadProjectAvatarRulesets$inboundSchema)), - ), -}).transform((v) => { - return remap$(v, { - "log_headers": "logHeaders", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + attackModeActiveUntil: z.nullable(types.number()).optional(), + attackModeEnabled: types.optional(types.boolean()), + attackModeUpdatedAt: types.optional(types.number()), + botIdEnabled: types.optional(types.boolean()), + firewallBypassIps: types.optional(z.array(types.string())), + firewallConfigVersion: types.optional(types.number()), + firewallEnabled: types.optional(types.boolean()), + firewallSeawallEnabled: types.optional(types.boolean()), + firewallUpdatedAt: types.optional(types.number()), + ja3Enabled: types.optional(types.boolean()), + ja4Enabled: types.optional(types.boolean()), + log_headers: types.optional( + smartUnion([ + z.array(types.string()), + UploadProjectAvatarLogHeaders2$inboundSchema, + ]), + ), + managedRules: z.nullable( + z.lazy(() => UploadProjectAvatarManagedRules$inboundSchema), + ).optional(), + pageIntegrityEnabled: types.optional(types.boolean()), + rulesets: types.optional( + z.record(z.lazy(() => UploadProjectAvatarRulesets$inboundSchema)), + ), + }).transform((v) => { + return remap$(v, { + "log_headers": "logHeaders", + }); + }) +); export function uploadProjectAvatarSecurityFromJSON( jsonString: string, @@ -5368,26 +5581,33 @@ export function uploadProjectAvatarSecurityFromJSON( /** @internal */ export const UploadProjectAvatarProjectsFramework$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarProjectsFramework, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsFramework) + ); /** @internal */ export const UploadProjectAvatarServiceType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarServiceType -> = z.nativeEnum(UploadProjectAvatarServiceType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarServiceType) +); /** @internal */ export const UploadProjectAvatarServices$inboundSchema: z.ZodType< UploadProjectAvatarServices, z.ZodTypeDef, unknown -> = z.object({ - framework: types.optional(UploadProjectAvatarProjectsFramework$inboundSchema), - runtime: types.optional(types.string()), - serviceName: types.string(), - serviceType: types.optional(UploadProjectAvatarServiceType$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + framework: types.optional( + UploadProjectAvatarProjectsFramework$inboundSchema, + ), + runtime: types.optional(types.string()), + serviceName: types.string(), + serviceType: types.optional(UploadProjectAvatarServiceType$inboundSchema), + }) +); export function uploadProjectAvatarServicesFromJSON( jsonString: string, @@ -5404,15 +5624,17 @@ export const UploadProjectAvatarSpeedInsights$inboundSchema: z.ZodType< UploadProjectAvatarSpeedInsights, z.ZodTypeDef, unknown -> = z.object({ - canceledAt: types.optional(types.number()), - dataReceivedAt: types.optional(types.number()), - disabledAt: types.optional(types.number()), - enabledAt: types.optional(types.number()), - hasData: types.optional(types.boolean()), - id: types.string(), - paidAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + canceledAt: types.optional(types.number()), + dataReceivedAt: types.optional(types.number()), + disabledAt: types.optional(types.number()), + enabledAt: types.optional(types.number()), + hasData: types.optional(types.boolean()), + id: types.string(), + paidAt: types.optional(types.number()), + }) +); export function uploadProjectAvatarSpeedInsightsFromJSON( jsonString: string, @@ -5428,35 +5650,43 @@ export function uploadProjectAvatarSpeedInsightsFromJSON( export const UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom - > = z.nativeEnum( - UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom, + ) ); /** @internal */ export const UploadProjectAvatarCve55182MigrationAppliedFrom$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarCve55182MigrationAppliedFrom); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarCve55182MigrationAppliedFrom) + ); /** @internal */ export const UploadProjectAvatarProjectsResponseDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsResponseDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponseDeploymentType) + ); /** @internal */ export const UploadProjectAvatarSsoProtection$inboundSchema: z.ZodType< UploadProjectAvatarSsoProtection, z.ZodTypeDef, unknown -> = z.object({ - april2026SecurityIncidentMigrationAppliedFrom: z.nullable( - UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, - ).optional(), - cve55182MigrationAppliedFrom: z.nullable( - UploadProjectAvatarCve55182MigrationAppliedFrom$inboundSchema, - ).optional(), - deploymentType: - UploadProjectAvatarProjectsResponseDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + april2026SecurityIncidentMigrationAppliedFrom: z.nullable( + UploadProjectAvatarApril2026SecurityIncidentMigrationAppliedFrom$inboundSchema, + ).optional(), + cve55182MigrationAppliedFrom: z.nullable( + UploadProjectAvatarCve55182MigrationAppliedFrom$inboundSchema, + ).optional(), + deploymentType: + UploadProjectAvatarProjectsResponseDeploymentType$inboundSchema, + }) +); export function uploadProjectAvatarSsoProtectionFromJSON( jsonString: string, @@ -5473,11 +5703,13 @@ export const UploadProjectAvatarStaticIps$inboundSchema: z.ZodType< UploadProjectAvatarStaticIps, z.ZodTypeDef, unknown -> = z.object({ - builds: types.boolean(), - enabled: types.boolean(), - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + builds: types.boolean(), + enabled: types.boolean(), + regions: z.array(types.string()), + }) +); export function uploadProjectAvatarStaticIpsFromJSON( jsonString: string, @@ -5494,7 +5726,9 @@ export const UploadProjectAvatarProjectsAliasAssigned$inboundSchema: z.ZodType< UploadProjectAvatarProjectsAliasAssigned, z.ZodTypeDef, unknown -> = smartUnion([types.number(), types.boolean()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.number(), types.boolean()]) +); export function uploadProjectAvatarProjectsAliasAssignedFromJSON( jsonString: string, @@ -5517,10 +5751,12 @@ export const UploadProjectAvatarProjectsAliasError$inboundSchema: z.ZodType< UploadProjectAvatarProjectsAliasError, z.ZodTypeDef, unknown -> = z.object({ - code: types.string(), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + code: types.string(), + message: types.string(), + }) +); export function uploadProjectAvatarProjectsAliasErrorFromJSON( jsonString: string, @@ -5537,8 +5773,10 @@ export function uploadProjectAvatarProjectsAliasErrorFromJSON( export const UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType - > = z.nativeEnum( - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType, + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum( + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType, + ) ); /** @internal */ @@ -5547,11 +5785,13 @@ export const UploadProjectAvatarProjectsResponseBranchMatcher$inboundSchema: UploadProjectAvatarProjectsResponseBranchMatcher, z.ZodTypeDef, unknown - > = z.object({ - pattern: types.string(), - type: - UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, - }); + > = /* @__PURE__ */ lazySchema$(() => + z.object({ + pattern: types.string(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, + }) + ); export function uploadProjectAvatarProjectsResponseBranchMatcherFromJSON( jsonString: string, @@ -5574,11 +5814,13 @@ export const UploadProjectAvatarProjectsBuilds$inboundSchema: z.ZodType< UploadProjectAvatarProjectsBuilds, z.ZodTypeDef, unknown -> = z.object({ - dest: types.optional(types.string()), - src: types.optional(types.string()), - use: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dest: types.optional(types.string()), + src: types.optional(types.string()), + use: types.string(), + }) +); export function uploadProjectAvatarProjectsBuildsFromJSON( jsonString: string, @@ -5592,25 +5834,30 @@ export function uploadProjectAvatarProjectsBuildsFromJSON( /** @internal */ export const UploadProjectAvatarProjectsChecksConclusion$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsChecksConclusion); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsChecksConclusion) + ); /** @internal */ export const UploadProjectAvatarProjectsChecksState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarProjectsChecksState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsChecksState) + ); /** @internal */ export const UploadProjectAvatarProjectsResponseCreator$inboundSchema: z.ZodType = - z.object({ - email: types.string(), - githubLogin: types.optional(types.string()), - gitlabLogin: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + githubLogin: types.optional(types.string()), + gitlabLogin: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); export function uploadProjectAvatarProjectsResponseCreatorFromJSON( jsonString: string, @@ -5631,29 +5878,31 @@ export function uploadProjectAvatarProjectsResponseCreatorFromJSON( /** @internal */ export const UploadProjectAvatarProjectsOidcTokenClaims$inboundSchema: z.ZodType = - z.object({ - aud: types.string(), - custom_environment_id: types.optional(types.string()), - deployment_id: types.optional(types.string()), - environment: types.string(), - iss: types.string(), - mfe_group_ids: types.optional(z.array(types.string())), - owner: types.string(), - owner_id: types.string(), - plan: types.optional(types.string()), - project: types.string(), - project_id: types.string(), - scope: types.string(), - sub: types.string(), - }).transform((v) => { - return remap$(v, { - "custom_environment_id": "customEnvironmentId", - "deployment_id": "deploymentId", - "mfe_group_ids": "mfeGroupIds", - "owner_id": "ownerId", - "project_id": "projectId", - }); - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + aud: types.string(), + custom_environment_id: types.optional(types.string()), + deployment_id: types.optional(types.string()), + environment: types.string(), + iss: types.string(), + mfe_group_ids: types.optional(z.array(types.string())), + owner: types.string(), + owner_id: types.string(), + plan: types.optional(types.string()), + project: types.string(), + project_id: types.string(), + scope: types.string(), + sub: types.string(), + }).transform((v) => { + return remap$(v, { + "custom_environment_id": "customEnvironmentId", + "deployment_id": "deploymentId", + "mfe_group_ids": "mfeGroupIds", + "owner_id": "ownerId", + "project_id": "projectId", + }); + }) + ); export function uploadProjectAvatarProjectsOidcTokenClaimsFromJSON( jsonString: string, @@ -5674,87 +5923,95 @@ export function uploadProjectAvatarProjectsOidcTokenClaimsFromJSON( /** @internal */ export const UploadProjectAvatarProjectsPlan$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsPlan -> = z.nativeEnum(UploadProjectAvatarProjectsPlan); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsPlan) +); /** @internal */ export const UploadProjectAvatarProjectsReadyState$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarProjectsReadyState, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsReadyState) + ); /** @internal */ export const UploadProjectAvatarProjectsReadySubstate$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarProjectsReadySubstate); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsReadySubstate) + ); /** @internal */ export const UploadProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsResponse200ApplicationJSONType - > = z.nativeEnum(UploadProjectAvatarProjectsResponse200ApplicationJSONType); + > = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsResponse200ApplicationJSONType) + ); /** @internal */ export const UploadProjectAvatarTargets$inboundSchema: z.ZodType< UploadProjectAvatarTargets, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(z.array(types.string())), - aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) - .optional(), - aliasError: z.nullable( - z.lazy(() => UploadProjectAvatarProjectsAliasError$inboundSchema), - ).optional(), - aliasFinal: z.nullable(types.string()).optional(), - automaticAliases: types.optional(z.array(types.string())), - branchMatcher: types.optional( - z.lazy(() => +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(z.array(types.string())), + aliasAssigned: z.nullable(smartUnion([types.number(), types.boolean()])) + .optional(), + aliasError: z.nullable( + z.lazy(() => UploadProjectAvatarProjectsAliasError$inboundSchema), + ).optional(), + aliasFinal: z.nullable(types.string()).optional(), + automaticAliases: types.optional(z.array(types.string())), + branchMatcher: types.optional(z.lazy(() => UploadProjectAvatarProjectsResponseBranchMatcher$inboundSchema + )), + buildingAt: types.optional(types.number()), + builds: types.optional(z.array(z.lazy(() => + UploadProjectAvatarProjectsBuilds$inboundSchema + ))), + checksConclusion: types.optional( + UploadProjectAvatarProjectsChecksConclusion$inboundSchema, ), - ), - buildingAt: types.optional(types.number()), - builds: types.optional( - z.array(z.lazy(() => UploadProjectAvatarProjectsBuilds$inboundSchema)), - ), - checksConclusion: types.optional( - UploadProjectAvatarProjectsChecksConclusion$inboundSchema, - ), - checksState: types.optional( - UploadProjectAvatarProjectsChecksState$inboundSchema, - ), - connectBuildsEnabled: types.optional(types.boolean()), - connectConfigurationId: types.optional(types.string()), - createdAt: types.number(), - createdIn: types.string(), - creator: types.nullable( - z.lazy(() => UploadProjectAvatarProjectsResponseCreator$inboundSchema), - ), - deletedAt: types.optional(types.number()), - deploymentHostname: types.string(), - forced: types.optional(types.boolean()), - id: types.string(), - meta: types.optional(z.record(types.string())), - monorepoManager: z.nullable(types.string()).optional(), - name: types.string(), - oidcTokenClaims: types.optional( - z.lazy(() => UploadProjectAvatarProjectsOidcTokenClaims$inboundSchema), - ), - plan: UploadProjectAvatarProjectsPlan$inboundSchema, - previewCommentsEnabled: types.optional(types.boolean()), - private: types.boolean(), - readyAt: types.optional(types.number()), - readyState: UploadProjectAvatarProjectsReadyState$inboundSchema, - readySubstate: types.optional( - UploadProjectAvatarProjectsReadySubstate$inboundSchema, - ), - requestedAt: types.optional(types.number()), - target: z.nullable(types.string()).optional(), - teamId: z.nullable(types.string()).optional(), - type: UploadProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema, - url: types.string(), - userId: types.optional(types.string()), - withCache: types.optional(types.boolean()), -}); + checksState: types.optional( + UploadProjectAvatarProjectsChecksState$inboundSchema, + ), + connectBuildsEnabled: types.optional(types.boolean()), + connectConfigurationId: types.optional(types.string()), + createdAt: types.number(), + createdIn: types.string(), + creator: types.nullable(z.lazy(() => + UploadProjectAvatarProjectsResponseCreator$inboundSchema + )), + deletedAt: types.optional(types.number()), + deploymentHostname: types.string(), + forced: types.optional(types.boolean()), + id: types.string(), + meta: types.optional(z.record(types.string())), + monorepoManager: z.nullable(types.string()).optional(), + name: types.string(), + oidcTokenClaims: types.optional(z.lazy(() => + UploadProjectAvatarProjectsOidcTokenClaims$inboundSchema + )), + plan: UploadProjectAvatarProjectsPlan$inboundSchema, + previewCommentsEnabled: types.optional(types.boolean()), + private: types.boolean(), + readyAt: types.optional(types.number()), + readyState: UploadProjectAvatarProjectsReadyState$inboundSchema, + readySubstate: types.optional( + UploadProjectAvatarProjectsReadySubstate$inboundSchema, + ), + requestedAt: types.optional(types.number()), + target: z.nullable(types.string()).optional(), + teamId: z.nullable(types.string()).optional(), + type: + UploadProjectAvatarProjectsResponse200ApplicationJSONType$inboundSchema, + url: types.string(), + userId: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) +); export function uploadProjectAvatarTargetsFromJSON( jsonString: string, @@ -5769,29 +6026,35 @@ export function uploadProjectAvatarTargetsFromJSON( /** @internal */ export const UploadProjectAvatarTier$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarTier -> = z.nativeEnum(UploadProjectAvatarTier); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UploadProjectAvatarTier)); /** @internal */ export const UploadProjectAvatarDestination$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarDestination -> = z.nativeEnum(UploadProjectAvatarDestination); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarDestination) +); /** @internal */ export const UploadProjectAvatarProjectsEnv$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarProjectsEnv -> = z.nativeEnum(UploadProjectAvatarProjectsEnv); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarProjectsEnv) +); /** @internal */ export const UploadProjectAvatarSamplingRules$inboundSchema: z.ZodType< UploadProjectAvatarSamplingRules, z.ZodTypeDef, unknown -> = z.object({ - destination: types.optional(UploadProjectAvatarDestination$inboundSchema), - env: types.optional(UploadProjectAvatarProjectsEnv$inboundSchema), - rate: types.number(), - requestPath: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destination: types.optional(UploadProjectAvatarDestination$inboundSchema), + env: types.optional(UploadProjectAvatarProjectsEnv$inboundSchema), + rate: types.number(), + requestPath: types.optional(types.string()), + }) +); export function uploadProjectAvatarSamplingRulesFromJSON( jsonString: string, @@ -5808,13 +6071,15 @@ export const UploadProjectAvatarTracing$inboundSchema: z.ZodType< UploadProjectAvatarTracing, z.ZodTypeDef, unknown -> = z.object({ - domains: types.optional(types.string()), - ignorePaths: types.optional(z.array(types.string())), - samplingRules: types.optional( - z.array(z.lazy(() => UploadProjectAvatarSamplingRules$inboundSchema)), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domains: types.optional(types.string()), + ignorePaths: types.optional(z.array(types.string())), + samplingRules: types.optional( + z.array(z.lazy(() => UploadProjectAvatarSamplingRules$inboundSchema)), + ), + }) +); export function uploadProjectAvatarTracingFromJSON( jsonString: string, @@ -5829,17 +6094,21 @@ export function uploadProjectAvatarTracingFromJSON( /** @internal */ export const UploadProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(UploadProjectAvatarTrustedIpsProjectsDeploymentType); + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarTrustedIpsProjectsDeploymentType) + ); /** @internal */ export const UploadProjectAvatarTrustedIps2$inboundSchema: z.ZodType< UploadProjectAvatarTrustedIps2, z.ZodTypeDef, unknown -> = z.object({ - deploymentType: - UploadProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentType: + UploadProjectAvatarTrustedIpsProjectsDeploymentType$inboundSchema, + }) +); export function uploadProjectAvatarTrustedIps2FromJSON( jsonString: string, @@ -5856,10 +6125,12 @@ export const UploadProjectAvatarTrustedIpsAddresses$inboundSchema: z.ZodType< UploadProjectAvatarTrustedIpsAddresses, z.ZodTypeDef, unknown -> = z.object({ - note: types.optional(types.string()), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + note: types.optional(types.string()), + value: types.string(), + }) +); export function uploadProjectAvatarTrustedIpsAddressesFromJSON( jsonString: string, @@ -5874,26 +6145,32 @@ export function uploadProjectAvatarTrustedIpsAddressesFromJSON( /** @internal */ export const UploadProjectAvatarTrustedIpsDeploymentType$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarTrustedIpsDeploymentType); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarTrustedIpsDeploymentType) + ); /** @internal */ export const UploadProjectAvatarTrustedIpsProtectionMode$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarTrustedIpsProtectionMode); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarTrustedIpsProtectionMode) + ); /** @internal */ export const UploadProjectAvatarTrustedIps1$inboundSchema: z.ZodType< UploadProjectAvatarTrustedIps1, z.ZodTypeDef, unknown -> = z.object({ - addresses: z.array( - z.lazy(() => UploadProjectAvatarTrustedIpsAddresses$inboundSchema), - ), - deploymentType: UploadProjectAvatarTrustedIpsDeploymentType$inboundSchema, - protectionMode: UploadProjectAvatarTrustedIpsProtectionMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + addresses: z.array( + z.lazy(() => UploadProjectAvatarTrustedIpsAddresses$inboundSchema), + ), + deploymentType: UploadProjectAvatarTrustedIpsDeploymentType$inboundSchema, + protectionMode: UploadProjectAvatarTrustedIpsProtectionMode$inboundSchema, + }) +); export function uploadProjectAvatarTrustedIps1FromJSON( jsonString: string, @@ -5910,10 +6187,12 @@ export const UploadProjectAvatarTrustedIps$inboundSchema: z.ZodType< UploadProjectAvatarTrustedIps, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarTrustedIps1$inboundSchema), - z.lazy(() => UploadProjectAvatarTrustedIps2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarTrustedIps1$inboundSchema), + z.lazy(() => UploadProjectAvatarTrustedIps2$inboundSchema), + ]) +); export function uploadProjectAvatarTrustedIpsFromJSON( jsonString: string, @@ -5928,17 +6207,21 @@ export function uploadProjectAvatarTrustedIpsFromJSON( /** @internal */ export const UploadProjectAvatarToProjectsPreset$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarToProjectsPreset -> = z.nativeEnum(UploadProjectAvatarToProjectsPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarToProjectsPreset) +); /** @internal */ export const UploadProjectAvatarTo2$inboundSchema: z.ZodType< UploadProjectAvatarTo2, z.ZodTypeDef, unknown -> = z.object({ - preset: UploadProjectAvatarToProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UploadProjectAvatarToProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function uploadProjectAvatarTo2FromJSON( jsonString: string, @@ -5953,17 +6236,21 @@ export function uploadProjectAvatarTo2FromJSON( /** @internal */ export const UploadProjectAvatarToPreset$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarToPreset -> = z.nativeEnum(UploadProjectAvatarToPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarToPreset) +); /** @internal */ export const UploadProjectAvatarTo1$inboundSchema: z.ZodType< UploadProjectAvatarTo1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UploadProjectAvatarToPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UploadProjectAvatarToPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function uploadProjectAvatarTo1FromJSON( jsonString: string, @@ -5980,10 +6267,12 @@ export const UploadProjectAvatarTo$inboundSchema: z.ZodType< UploadProjectAvatarTo, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarTo1$inboundSchema), - z.lazy(() => UploadProjectAvatarTo2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarTo1$inboundSchema), + z.lazy(() => UploadProjectAvatarTo2$inboundSchema), + ]) +); export function uploadProjectAvatarToFromJSON( jsonString: string, @@ -6000,14 +6289,16 @@ export const UploadProjectAvatarOidcProviders$inboundSchema: z.ZodType< UploadProjectAvatarOidcProviders, z.ZodTypeDef, unknown -> = z.object({ - to: smartUnion([ - z.lazy(() => UploadProjectAvatarTo1$inboundSchema), - z.lazy(() => UploadProjectAvatarTo2$inboundSchema), - ]), - claims: z.record(z.array(types.string())), - label: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + to: smartUnion([ + z.lazy(() => UploadProjectAvatarTo1$inboundSchema), + z.lazy(() => UploadProjectAvatarTo2$inboundSchema), + ]), + claims: z.record(z.array(types.string())), + label: types.optional(types.string()), + }) +); export function uploadProjectAvatarOidcProvidersFromJSON( jsonString: string, @@ -6021,19 +6312,22 @@ export function uploadProjectAvatarOidcProvidersFromJSON( /** @internal */ export const UploadProjectAvatarFromProjectsPreset$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UploadProjectAvatarFromProjectsPreset, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarFromProjectsPreset) + ); /** @internal */ export const UploadProjectAvatarFrom2$inboundSchema: z.ZodType< UploadProjectAvatarFrom2, z.ZodTypeDef, unknown -> = z.object({ - preset: UploadProjectAvatarFromProjectsPreset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UploadProjectAvatarFromProjectsPreset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function uploadProjectAvatarFrom2FromJSON( jsonString: string, @@ -6048,17 +6342,21 @@ export function uploadProjectAvatarFrom2FromJSON( /** @internal */ export const UploadProjectAvatarFromPreset$inboundSchema: z.ZodNativeEnum< typeof UploadProjectAvatarFromPreset -> = z.nativeEnum(UploadProjectAvatarFromPreset); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarFromPreset) +); /** @internal */ export const UploadProjectAvatarFrom1$inboundSchema: z.ZodType< UploadProjectAvatarFrom1, z.ZodTypeDef, unknown -> = z.object({ - preset: types.optional(UploadProjectAvatarFromPreset$inboundSchema), - slugs: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: types.optional(UploadProjectAvatarFromPreset$inboundSchema), + slugs: z.array(types.string()), + }) +); export function uploadProjectAvatarFrom1FromJSON( jsonString: string, @@ -6075,10 +6373,12 @@ export const UploadProjectAvatarFrom$inboundSchema: z.ZodType< UploadProjectAvatarFrom, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UploadProjectAvatarFrom1$inboundSchema), - z.lazy(() => UploadProjectAvatarFrom2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UploadProjectAvatarFrom1$inboundSchema), + z.lazy(() => UploadProjectAvatarFrom2$inboundSchema), + ]) +); export function uploadProjectAvatarFromFromJSON( jsonString: string, @@ -6092,18 +6392,22 @@ export function uploadProjectAvatarFromFromJSON( /** @internal */ export const UploadProjectAvatarToProjectsResponse200Preset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarToProjectsResponse200Preset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarToProjectsResponse200Preset) + ); /** @internal */ export const UploadProjectAvatarToProjects2$inboundSchema: z.ZodType< UploadProjectAvatarToProjects2, z.ZodTypeDef, unknown -> = z.object({ - preset: UploadProjectAvatarToProjectsResponse200Preset$inboundSchema, - slugs: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + preset: UploadProjectAvatarToProjectsResponse200Preset$inboundSchema, + slugs: types.optional(z.array(types.string())), + }) +); export function uploadProjectAvatarToProjects2FromJSON( jsonString: string, @@ -6117,5 +6421,7 @@ export function uploadProjectAvatarToProjects2FromJSON( /** @internal */ export const UploadProjectAvatarToProjectsResponsePreset$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UploadProjectAvatarToProjectsResponsePreset); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UploadProjectAvatarToProjectsResponsePreset) + ); diff --git a/src/models/upsertaigatewaybudgetdefaultop.ts b/src/models/upsertaigatewaybudgetdefaultop.ts index 86eb9aa774..bc89905988 100644 --- a/src/models/upsertaigatewaybudgetdefaultop.ts +++ b/src/models/upsertaigatewaybudgetdefaultop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const UpsertAiGatewayBudgetDefaultScopeType = { @@ -11,6 +12,7 @@ export const UpsertAiGatewayBudgetDefaultScopeType = { Project: "project", ApiKey: "api-key", User: "user", + App: "app", } as const; export type UpsertAiGatewayBudgetDefaultScopeType = ClosedEnum< typeof UpsertAiGatewayBudgetDefaultScopeType @@ -26,6 +28,14 @@ export type UpsertAiGatewayBudgetDefaultRefreshPeriod = ClosedEnum< typeof UpsertAiGatewayBudgetDefaultRefreshPeriod >; +export const UpsertAiGatewayBudgetDefaultAppliesTo = { + Team: "team", + User: "user", +} as const; +export type UpsertAiGatewayBudgetDefaultAppliesTo = ClosedEnum< + typeof UpsertAiGatewayBudgetDefaultAppliesTo +>; + export type UpsertAiGatewayBudgetDefaultRequestBody = { scopeType: UpsertAiGatewayBudgetDefaultScopeType; /** @@ -34,6 +44,10 @@ export type UpsertAiGatewayBudgetDefaultRequestBody = { limitAmount: number; refreshPeriod?: UpsertAiGatewayBudgetDefaultRefreshPeriod | undefined; alertThresholds?: Array | undefined; + /** + * Key spend attributions the api-key default covers. Only valid when scopeType is api-key. Omit to keep the stored value; unset means both. + */ + appliesTo?: Array | undefined; /** * Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook. */ @@ -54,14 +68,24 @@ export type UpsertAiGatewayBudgetDefaultRequest = { /** @internal */ export const UpsertAiGatewayBudgetDefaultScopeType$outboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpsertAiGatewayBudgetDefaultScopeType, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpsertAiGatewayBudgetDefaultScopeType) + ); /** @internal */ export const UpsertAiGatewayBudgetDefaultRefreshPeriod$outboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UpsertAiGatewayBudgetDefaultRefreshPeriod); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpsertAiGatewayBudgetDefaultRefreshPeriod) + ); + +/** @internal */ +export const UpsertAiGatewayBudgetDefaultAppliesTo$outboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpsertAiGatewayBudgetDefaultAppliesTo) + ); /** @internal */ export type UpsertAiGatewayBudgetDefaultRequestBody$Outbound = { @@ -69,6 +93,7 @@ export type UpsertAiGatewayBudgetDefaultRequestBody$Outbound = { limitAmount: number; refreshPeriod?: string | undefined; alertThresholds?: Array | undefined; + appliesTo?: Array | undefined; justification?: string | undefined; }; @@ -77,14 +102,18 @@ export const UpsertAiGatewayBudgetDefaultRequestBody$outboundSchema: z.ZodType< UpsertAiGatewayBudgetDefaultRequestBody$Outbound, z.ZodTypeDef, UpsertAiGatewayBudgetDefaultRequestBody -> = z.object({ - scopeType: UpsertAiGatewayBudgetDefaultScopeType$outboundSchema, - limitAmount: z.number(), - refreshPeriod: UpsertAiGatewayBudgetDefaultRefreshPeriod$outboundSchema - .optional(), - alertThresholds: z.array(z.number()).optional(), - justification: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scopeType: UpsertAiGatewayBudgetDefaultScopeType$outboundSchema, + limitAmount: z.number(), + refreshPeriod: UpsertAiGatewayBudgetDefaultRefreshPeriod$outboundSchema + .optional(), + alertThresholds: z.array(z.number()).optional(), + appliesTo: z.array(UpsertAiGatewayBudgetDefaultAppliesTo$outboundSchema) + .optional(), + justification: z.string().optional(), + }) +); export function upsertAiGatewayBudgetDefaultRequestBodyToJSON( upsertAiGatewayBudgetDefaultRequestBody: @@ -109,17 +138,19 @@ export const UpsertAiGatewayBudgetDefaultRequest$outboundSchema: z.ZodType< UpsertAiGatewayBudgetDefaultRequest$Outbound, z.ZodTypeDef, UpsertAiGatewayBudgetDefaultRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => - UpsertAiGatewayBudgetDefaultRequestBody$outboundSchema - ).optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + UpsertAiGatewayBudgetDefaultRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function upsertAiGatewayBudgetDefaultRequestToJSON( upsertAiGatewayBudgetDefaultRequest: UpsertAiGatewayBudgetDefaultRequest, diff --git a/src/models/upsertaigatewaybudgetop.ts b/src/models/upsertaigatewaybudgetop.ts index 9b942a6909..f895dcac30 100644 --- a/src/models/upsertaigatewaybudgetop.ts +++ b/src/models/upsertaigatewaybudgetop.ts @@ -4,23 +4,31 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; export const UpsertAiGatewayBudgetScopeType = { Team: "team", Project: "project", User: "user", + App: "app", } as const; export type UpsertAiGatewayBudgetScopeType = ClosedEnum< typeof UpsertAiGatewayBudgetScopeType >; +/** + * Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period. + */ export const UpsertAiGatewayBudgetRefreshPeriod = { Daily: "daily", Weekly: "weekly", Monthly: "monthly", None: "none", } as const; +/** + * Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period. + */ export type UpsertAiGatewayBudgetRefreshPeriod = ClosedEnum< typeof UpsertAiGatewayBudgetRefreshPeriod >; @@ -36,9 +44,20 @@ export type UpsertAiGatewayBudgetRequestBody = { */ userId?: string | undefined; /** - * Budget limit in dollars. + * Required when scopeType is \"app\". The id of a Vercel App (`cl_…`). + */ + appId?: string | undefined; + /** + * Budget limit in dollars. Provide this or `increaseBy`, not both. + */ + limitAmount?: number | undefined; + /** + * Dollars to add to the current budget, or to the scope's default when it has no budget of its own. Provide this or `limitAmount`, not both. Keeps the current refresh period and BYOK setting unless they are given. + */ + increaseBy?: number | undefined; + /** + * Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period. */ - limitAmount: number; refreshPeriod?: UpsertAiGatewayBudgetRefreshPeriod | undefined; /** * Whether BYOK usage counts toward this budget. @@ -66,20 +85,26 @@ export type UpsertAiGatewayBudgetRequest = { /** @internal */ export const UpsertAiGatewayBudgetScopeType$outboundSchema: z.ZodNativeEnum< typeof UpsertAiGatewayBudgetScopeType -> = z.nativeEnum(UpsertAiGatewayBudgetScopeType); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpsertAiGatewayBudgetScopeType) +); /** @internal */ export const UpsertAiGatewayBudgetRefreshPeriod$outboundSchema: z.ZodNativeEnum< typeof UpsertAiGatewayBudgetRefreshPeriod -> = z.nativeEnum(UpsertAiGatewayBudgetRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UpsertAiGatewayBudgetRefreshPeriod) +); /** @internal */ export type UpsertAiGatewayBudgetRequestBody$Outbound = { scopeType: string; projectId?: string | undefined; userId?: string | undefined; - limitAmount: number; - refreshPeriod: string; + appId?: string | undefined; + limitAmount?: number | undefined; + increaseBy?: number | undefined; + refreshPeriod?: string | undefined; includeByokInQuota?: boolean | undefined; alertThresholds?: Array | undefined; justification?: string | undefined; @@ -90,18 +115,20 @@ export const UpsertAiGatewayBudgetRequestBody$outboundSchema: z.ZodType< UpsertAiGatewayBudgetRequestBody$Outbound, z.ZodTypeDef, UpsertAiGatewayBudgetRequestBody -> = z.object({ - scopeType: UpsertAiGatewayBudgetScopeType$outboundSchema, - projectId: z.string().optional(), - userId: z.string().optional(), - limitAmount: z.number(), - refreshPeriod: UpsertAiGatewayBudgetRefreshPeriod$outboundSchema.default( - "monthly", - ), - includeByokInQuota: z.boolean().optional(), - alertThresholds: z.array(z.number()).optional(), - justification: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + scopeType: UpsertAiGatewayBudgetScopeType$outboundSchema, + projectId: z.string().optional(), + userId: z.string().optional(), + appId: z.string().optional(), + limitAmount: z.number().optional(), + increaseBy: z.number().optional(), + refreshPeriod: UpsertAiGatewayBudgetRefreshPeriod$outboundSchema.optional(), + includeByokInQuota: z.boolean().optional(), + alertThresholds: z.array(z.number()).optional(), + justification: z.string().optional(), + }) +); export function upsertAiGatewayBudgetRequestBodyToJSON( upsertAiGatewayBudgetRequestBody: UpsertAiGatewayBudgetRequestBody, @@ -125,16 +152,18 @@ export const UpsertAiGatewayBudgetRequest$outboundSchema: z.ZodType< UpsertAiGatewayBudgetRequest$Outbound, z.ZodTypeDef, UpsertAiGatewayBudgetRequest -> = z.object({ - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => UpsertAiGatewayBudgetRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpsertAiGatewayBudgetRequestBody$outboundSchema) + .optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function upsertAiGatewayBudgetRequestToJSON( upsertAiGatewayBudgetRequest: UpsertAiGatewayBudgetRequest, diff --git a/src/models/upsertconnectorprojectconnectionop.ts b/src/models/upsertconnectorprojectconnectionop.ts index b4751fe0cf..5f8cbbbf51 100644 --- a/src/models/upsertconnectorprojectconnectionop.ts +++ b/src/models/upsertconnectorprojectconnectionop.ts @@ -4,6 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; +import { lazySchema as lazySchema$ } from "../lib/schemas.js"; import { ConnectUpsertProjectConnectionRequest, ConnectUpsertProjectConnectionRequest$Outbound, @@ -45,19 +46,21 @@ export const UpsertConnectorProjectConnectionRequest$outboundSchema: z.ZodType< UpsertConnectorProjectConnectionRequest$Outbound, z.ZodTypeDef, UpsertConnectorProjectConnectionRequest -> = z.object({ - connector: z.string(), - projectId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - connectUpsertProjectConnectionRequest: - ConnectUpsertProjectConnectionRequest$outboundSchema, -}).transform((v) => { - return remap$(v, { +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connector: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), connectUpsertProjectConnectionRequest: - "ConnectUpsertProjectConnectionRequest", - }); -}); + ConnectUpsertProjectConnectionRequest$outboundSchema, + }).transform((v) => { + return remap$(v, { + connectUpsertProjectConnectionRequest: + "ConnectUpsertProjectConnectionRequest", + }); + }) +); export function upsertConnectorProjectConnectionRequestToJSON( upsertConnectorProjectConnectionRequest: diff --git a/src/models/userevent.ts b/src/models/userevent.ts index f8d4134483..c4dff80aaf 100644 --- a/src/models/userevent.ts +++ b/src/models/userevent.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -12,21 +12,143 @@ import { DeploymentCheckUpdatedPayload, DeploymentCheckUpdatedPayload$inboundSchema, } from "./deploymentcheckupdatedpayload.js"; +import { + EightyEight, + EightyEight$inboundSchema, + EightyFive, + EightyFive$inboundSchema, + EightyFour, + EightyFour$inboundSchema, + EightyNine, + EightyNine$inboundSchema, + EightySeven, + EightySeven$inboundSchema, + EightySix, + EightySix$inboundSchema, + EightyThree, + EightyThree$inboundSchema, + EightyTwo, + EightyTwo$inboundSchema, + Ninety, + Ninety$inboundSchema, + NinetyEight, + NinetyEight$inboundSchema, + NinetyFive, + NinetyFive$inboundSchema, + NinetyFour, + NinetyFour$inboundSchema, + NinetyNine, + NinetyNine$inboundSchema, + NinetyOne, + NinetyOne$inboundSchema, + NinetySeven, + NinetySeven$inboundSchema, + NinetySix, + NinetySix$inboundSchema, + NinetyThree, + NinetyThree$inboundSchema, + NinetyTwo, + NinetyTwo$inboundSchema, + OneHundred, + OneHundred$inboundSchema, + OneHundredAndEight, + OneHundredAndEight$inboundSchema, + OneHundredAndEighteen, + OneHundredAndEighteen$inboundSchema, + OneHundredAndEleven, + OneHundredAndEleven$inboundSchema, + OneHundredAndFifteen, + OneHundredAndFifteen$inboundSchema, + OneHundredAndFive, + OneHundredAndFive$inboundSchema, + OneHundredAndFour, + OneHundredAndFour$inboundSchema, + OneHundredAndFourteen, + OneHundredAndFourteen$inboundSchema, + OneHundredAndNine, + OneHundredAndNine$inboundSchema, + OneHundredAndNineteen, + OneHundredAndNineteen$inboundSchema, + OneHundredAndOne, + OneHundredAndOne$inboundSchema, + OneHundredAndSeven, + OneHundredAndSeven$inboundSchema, + OneHundredAndSeventeen, + OneHundredAndSeventeen$inboundSchema, + OneHundredAndSix, + OneHundredAndSix$inboundSchema, + OneHundredAndSixteen, + OneHundredAndSixteen$inboundSchema, + OneHundredAndTen, + OneHundredAndTen$inboundSchema, + OneHundredAndThirteen, + OneHundredAndThirteen$inboundSchema, + OneHundredAndThirty, + OneHundredAndThirty$inboundSchema, + OneHundredAndThirtyFour, + OneHundredAndThirtyFour$inboundSchema, + OneHundredAndThirtyOne, + OneHundredAndThirtyOne$inboundSchema, + OneHundredAndThirtySeven, + OneHundredAndThirtySeven$inboundSchema, + OneHundredAndThirtySix, + OneHundredAndThirtySix$inboundSchema, + OneHundredAndThirtyThree, + OneHundredAndThirtyThree$inboundSchema, + OneHundredAndThirtyTwo, + OneHundredAndThirtyTwo$inboundSchema, + OneHundredAndThree, + OneHundredAndThree$inboundSchema, + OneHundredAndTwelve, + OneHundredAndTwelve$inboundSchema, + OneHundredAndTwenty, + OneHundredAndTwenty$inboundSchema, + OneHundredAndTwentyEight, + OneHundredAndTwentyEight$inboundSchema, + OneHundredAndTwentyFive, + OneHundredAndTwentyFive$inboundSchema, + OneHundredAndTwentyFour, + OneHundredAndTwentyFour$inboundSchema, + OneHundredAndTwentyNine, + OneHundredAndTwentyNine$inboundSchema, + OneHundredAndTwentyOne, + OneHundredAndTwentyOne$inboundSchema, + OneHundredAndTwentySeven, + OneHundredAndTwentySeven$inboundSchema, + OneHundredAndTwentySix, + OneHundredAndTwentySix$inboundSchema, + OneHundredAndTwentyThree, + OneHundredAndTwentyThree$inboundSchema, + OneHundredAndTwentyTwo, + OneHundredAndTwentyTwo$inboundSchema, + OneHundredAndTwo, + OneHundredAndTwo$inboundSchema, +} from "./eightytwo.js"; import { FiveHundred, FiveHundred$inboundSchema, + FiveHundredAndEight, + FiveHundredAndEight$inboundSchema, + FiveHundredAndEleven, + FiveHundredAndEleven$inboundSchema, FiveHundredAndFive, FiveHundredAndFive$inboundSchema, FiveHundredAndFour, FiveHundredAndFour$inboundSchema, + FiveHundredAndNine, + FiveHundredAndNine$inboundSchema, FiveHundredAndOne, FiveHundredAndOne$inboundSchema, FiveHundredAndSeven, FiveHundredAndSeven$inboundSchema, FiveHundredAndSix, FiveHundredAndSix$inboundSchema, + FiveHundredAndTen, + FiveHundredAndTen$inboundSchema, FiveHundredAndThree, FiveHundredAndThree$inboundSchema, + FiveHundredAndTwelve, + FiveHundredAndTwelve$inboundSchema, FiveHundredAndTwo, FiveHundredAndTwo$inboundSchema, FourHundredAndEighty, @@ -149,192 +271,148 @@ import { FourHundredAndSixtyThree$inboundSchema, FourHundredAndSixtyTwo, FourHundredAndSixtyTwo$inboundSchema, +} from "./fourhundredandforty.js"; +import { + Categories, + Categories$inboundSchema, + Details, + Details$inboundSchema, + Entities, + Entities$inboundSchema, + FiveHundredAndEighteen, + FiveHundredAndEighteen$inboundSchema, + FiveHundredAndFifteen, + FiveHundredAndFifteen$inboundSchema, + FiveHundredAndFifty, + FiveHundredAndFifty$inboundSchema, + FiveHundredAndFiftyOne, + FiveHundredAndFiftyOne$inboundSchema, + FiveHundredAndFiftyThree, + FiveHundredAndFiftyThree$inboundSchema, + FiveHundredAndFiftyTwo, + FiveHundredAndFiftyTwo$inboundSchema, + FiveHundredAndForty, + FiveHundredAndForty$inboundSchema, + FiveHundredAndFortyEight, + FiveHundredAndFortyEight$inboundSchema, + FiveHundredAndFortyFive, + FiveHundredAndFortyFive$inboundSchema, + FiveHundredAndFortyFour, + FiveHundredAndFortyFour$inboundSchema, + FiveHundredAndFortyNine, + FiveHundredAndFortyNine$inboundSchema, + FiveHundredAndFortyOne, + FiveHundredAndFortyOne$inboundSchema, + FiveHundredAndFortySeven, + FiveHundredAndFortySeven$inboundSchema, + FiveHundredAndFortySix, + FiveHundredAndFortySix$inboundSchema, + FiveHundredAndFortyThree, + FiveHundredAndFortyThree$inboundSchema, + FiveHundredAndFortyTwo, + FiveHundredAndFortyTwo$inboundSchema, + FiveHundredAndFourteen, + FiveHundredAndFourteen$inboundSchema, + FiveHundredAndNineteen, + FiveHundredAndNineteen$inboundSchema, + FiveHundredAndSeventeen, + FiveHundredAndSeventeen$inboundSchema, + FiveHundredAndSixteen, + FiveHundredAndSixteen$inboundSchema, + FiveHundredAndThirteen, + FiveHundredAndThirteen$inboundSchema, + FiveHundredAndThirty, + FiveHundredAndThirty$inboundSchema, + FiveHundredAndThirtyEight, + FiveHundredAndThirtyEight$inboundSchema, + FiveHundredAndThirtyFive, + FiveHundredAndThirtyFive$inboundSchema, + FiveHundredAndThirtyFour, + FiveHundredAndThirtyFour$inboundSchema, + FiveHundredAndThirtyNine, + FiveHundredAndThirtyNine$inboundSchema, + FiveHundredAndThirtyOne, + FiveHundredAndThirtyOne$inboundSchema, + FiveHundredAndThirtySeven, + FiveHundredAndThirtySeven$inboundSchema, + FiveHundredAndThirtySix, + FiveHundredAndThirtySix$inboundSchema, + FiveHundredAndThirtyThree, + FiveHundredAndThirtyThree$inboundSchema, + FiveHundredAndThirtyTwo, + FiveHundredAndThirtyTwo$inboundSchema, + FiveHundredAndTwenty, + FiveHundredAndTwenty$inboundSchema, + FiveHundredAndTwentyEight, + FiveHundredAndTwentyEight$inboundSchema, + FiveHundredAndTwentyFive, + FiveHundredAndTwentyFive$inboundSchema, + FiveHundredAndTwentyFour, + FiveHundredAndTwentyFour$inboundSchema, + FiveHundredAndTwentyNine, + FiveHundredAndTwentyNine$inboundSchema, + FiveHundredAndTwentyOne, + FiveHundredAndTwentyOne$inboundSchema, + FiveHundredAndTwentySeven, + FiveHundredAndTwentySeven$inboundSchema, + FiveHundredAndTwentySix, + FiveHundredAndTwentySix$inboundSchema, + FiveHundredAndTwentyThree, + FiveHundredAndTwentyThree$inboundSchema, + FiveHundredAndTwentyTwo, + FiveHundredAndTwentyTwo$inboundSchema, +} from "./payloadoutcome.js"; +import { + FourHundred, + FourHundred$inboundSchema, + FourHundredAndEight, + FourHundredAndEight$inboundSchema, + FourHundredAndEighteen, + FourHundredAndEighteen$inboundSchema, + FourHundredAndEleven, + FourHundredAndEleven$inboundSchema, + FourHundredAndFifteen, + FourHundredAndFifteen$inboundSchema, + FourHundredAndFive, + FourHundredAndFive$inboundSchema, + FourHundredAndFour, + FourHundredAndFour$inboundSchema, + FourHundredAndFourteen, + FourHundredAndFourteen$inboundSchema, + FourHundredAndNine, + FourHundredAndNine$inboundSchema, + FourHundredAndNineteen, + FourHundredAndNineteen$inboundSchema, + FourHundredAndOne, + FourHundredAndOne$inboundSchema, + FourHundredAndSeven, + FourHundredAndSeven$inboundSchema, + FourHundredAndSeventeen, + FourHundredAndSeventeen$inboundSchema, + FourHundredAndSix, + FourHundredAndSix$inboundSchema, + FourHundredAndSixteen, + FourHundredAndSixteen$inboundSchema, + FourHundredAndTen, + FourHundredAndTen$inboundSchema, + FourHundredAndThirteen, + FourHundredAndThirteen$inboundSchema, + FourHundredAndThirty, + FourHundredAndThirty$inboundSchema, FourHundredAndThirtyEight, FourHundredAndThirtyEight$inboundSchema, FourHundredAndThirtyFive, FourHundredAndThirtyFive$inboundSchema, + FourHundredAndThirtyFour, + FourHundredAndThirtyFour$inboundSchema, FourHundredAndThirtyNine, FourHundredAndThirtyNine$inboundSchema, + FourHundredAndThirtyOne, + FourHundredAndThirtyOne$inboundSchema, FourHundredAndThirtySeven, FourHundredAndThirtySeven$inboundSchema, FourHundredAndThirtySix, FourHundredAndThirtySix$inboundSchema, -} from "./fourhundredandthirtyfive.js"; -import { - OneHundredAndNinetyEight, - OneHundredAndNinetyEight$inboundSchema, - OneHundredAndNinetyFive, - OneHundredAndNinetyFive$inboundSchema, - OneHundredAndNinetyFour, - OneHundredAndNinetyFour$inboundSchema, - OneHundredAndNinetyNine, - OneHundredAndNinetyNine$inboundSchema, - OneHundredAndNinetySeven, - OneHundredAndNinetySeven$inboundSchema, - OneHundredAndNinetySix, - OneHundredAndNinetySix$inboundSchema, - OneHundredAndNinetyThree, - OneHundredAndNinetyThree$inboundSchema, - OneHundredAndNinetyTwo, - OneHundredAndNinetyTwo$inboundSchema, - TwoHundred, - TwoHundred$inboundSchema, - TwoHundredAndEight, - TwoHundredAndEight$inboundSchema, - TwoHundredAndEighteen, - TwoHundredAndEighteen$inboundSchema, - TwoHundredAndEleven, - TwoHundredAndEleven$inboundSchema, - TwoHundredAndFifteen, - TwoHundredAndFifteen$inboundSchema, - TwoHundredAndFifty, - TwoHundredAndFifty$inboundSchema, - TwoHundredAndFiftyFive, - TwoHundredAndFiftyFive$inboundSchema, - TwoHundredAndFiftyFour, - TwoHundredAndFiftyFour$inboundSchema, - TwoHundredAndFiftyOne, - TwoHundredAndFiftyOne$inboundSchema, - TwoHundredAndFiftySeven, - TwoHundredAndFiftySeven$inboundSchema, - TwoHundredAndFiftySix, - TwoHundredAndFiftySix$inboundSchema, - TwoHundredAndFiftyThree, - TwoHundredAndFiftyThree$inboundSchema, - TwoHundredAndFiftyTwo, - TwoHundredAndFiftyTwo$inboundSchema, - TwoHundredAndFive, - TwoHundredAndFive$inboundSchema, - TwoHundredAndForty, - TwoHundredAndForty$inboundSchema, - TwoHundredAndFortyEight, - TwoHundredAndFortyEight$inboundSchema, - TwoHundredAndFortyFive, - TwoHundredAndFortyFive$inboundSchema, - TwoHundredAndFortyFour, - TwoHundredAndFortyFour$inboundSchema, - TwoHundredAndFortyNine, - TwoHundredAndFortyNine$inboundSchema, - TwoHundredAndFortyOne, - TwoHundredAndFortyOne$inboundSchema, - TwoHundredAndFortySeven, - TwoHundredAndFortySeven$inboundSchema, - TwoHundredAndFortySix, - TwoHundredAndFortySix$inboundSchema, - TwoHundredAndFortyThree, - TwoHundredAndFortyThree$inboundSchema, - TwoHundredAndFortyTwo, - TwoHundredAndFortyTwo$inboundSchema, - TwoHundredAndFour, - TwoHundredAndFour$inboundSchema, - TwoHundredAndFourteen, - TwoHundredAndFourteen$inboundSchema, - TwoHundredAndNine, - TwoHundredAndNine$inboundSchema, - TwoHundredAndNineteen, - TwoHundredAndNineteen$inboundSchema, - TwoHundredAndOne, - TwoHundredAndOne$inboundSchema, - TwoHundredAndSeven, - TwoHundredAndSeven$inboundSchema, - TwoHundredAndSeventeen, - TwoHundredAndSeventeen$inboundSchema, - TwoHundredAndSix, - TwoHundredAndSix$inboundSchema, - TwoHundredAndSixteen, - TwoHundredAndSixteen$inboundSchema, - TwoHundredAndTen, - TwoHundredAndTen$inboundSchema, - TwoHundredAndThirteen, - TwoHundredAndThirteen$inboundSchema, - TwoHundredAndThirty, - TwoHundredAndThirty$inboundSchema, - TwoHundredAndThirtyEight, - TwoHundredAndThirtyEight$inboundSchema, - TwoHundredAndThirtyFive, - TwoHundredAndThirtyFive$inboundSchema, - TwoHundredAndThirtyFour, - TwoHundredAndThirtyFour$inboundSchema, - TwoHundredAndThirtyNine, - TwoHundredAndThirtyNine$inboundSchema, - TwoHundredAndThirtyOne, - TwoHundredAndThirtyOne$inboundSchema, - TwoHundredAndThirtySeven, - TwoHundredAndThirtySeven$inboundSchema, - TwoHundredAndThirtySix, - TwoHundredAndThirtySix$inboundSchema, - TwoHundredAndThirtyThree, - TwoHundredAndThirtyThree$inboundSchema, - TwoHundredAndThirtyTwo, - TwoHundredAndThirtyTwo$inboundSchema, - TwoHundredAndThree, - TwoHundredAndThree$inboundSchema, - TwoHundredAndTwelve, - TwoHundredAndTwelve$inboundSchema, - TwoHundredAndTwenty, - TwoHundredAndTwenty$inboundSchema, - TwoHundredAndTwentyEight, - TwoHundredAndTwentyEight$inboundSchema, - TwoHundredAndTwentyFive, - TwoHundredAndTwentyFive$inboundSchema, - TwoHundredAndTwentyFour, - TwoHundredAndTwentyFour$inboundSchema, - TwoHundredAndTwentyNine, - TwoHundredAndTwentyNine$inboundSchema, - TwoHundredAndTwentyOne, - TwoHundredAndTwentyOne$inboundSchema, - TwoHundredAndTwentySeven, - TwoHundredAndTwentySeven$inboundSchema, - TwoHundredAndTwentySix, - TwoHundredAndTwentySix$inboundSchema, - TwoHundredAndTwentyThree, - TwoHundredAndTwentyThree$inboundSchema, - TwoHundredAndTwentyTwo, - TwoHundredAndTwentyTwo$inboundSchema, - TwoHundredAndTwo, - TwoHundredAndTwo$inboundSchema, -} from "./newprojects.js"; -import { - FourHundred, - FourHundred$inboundSchema, - FourHundredAndEight, - FourHundredAndEight$inboundSchema, - FourHundredAndEighteen, - FourHundredAndEighteen$inboundSchema, - FourHundredAndEleven, - FourHundredAndEleven$inboundSchema, - FourHundredAndFifteen, - FourHundredAndFifteen$inboundSchema, - FourHundredAndFive, - FourHundredAndFive$inboundSchema, - FourHundredAndFour, - FourHundredAndFour$inboundSchema, - FourHundredAndFourteen, - FourHundredAndFourteen$inboundSchema, - FourHundredAndNine, - FourHundredAndNine$inboundSchema, - FourHundredAndNineteen, - FourHundredAndNineteen$inboundSchema, - FourHundredAndOne, - FourHundredAndOne$inboundSchema, - FourHundredAndSeven, - FourHundredAndSeven$inboundSchema, - FourHundredAndSeventeen, - FourHundredAndSeventeen$inboundSchema, - FourHundredAndSix, - FourHundredAndSix$inboundSchema, - FourHundredAndSixteen, - FourHundredAndSixteen$inboundSchema, - FourHundredAndTen, - FourHundredAndTen$inboundSchema, - FourHundredAndThirteen, - FourHundredAndThirteen$inboundSchema, - FourHundredAndThirty, - FourHundredAndThirty$inboundSchema, - FourHundredAndThirtyFour, - FourHundredAndThirtyFour$inboundSchema, - FourHundredAndThirtyOne, - FourHundredAndThirtyOne$inboundSchema, FourHundredAndThirtyThree, FourHundredAndThirtyThree$inboundSchema, FourHundredAndThirtyTwo, @@ -365,8 +443,6 @@ import { FourHundredAndTwentyTwo$inboundSchema, FourHundredAndTwo, FourHundredAndTwo$inboundSchema, - ThreeHundredAndEighty, - ThreeHundredAndEighty$inboundSchema, ThreeHundredAndEightyEight, ThreeHundredAndEightyEight$inboundSchema, ThreeHundredAndEightyFive, @@ -375,16 +451,12 @@ import { ThreeHundredAndEightyFour$inboundSchema, ThreeHundredAndEightyNine, ThreeHundredAndEightyNine$inboundSchema, - ThreeHundredAndEightyOne, - ThreeHundredAndEightyOne$inboundSchema, ThreeHundredAndEightySeven, ThreeHundredAndEightySeven$inboundSchema, ThreeHundredAndEightySix, ThreeHundredAndEightySix$inboundSchema, ThreeHundredAndEightyThree, ThreeHundredAndEightyThree$inboundSchema, - ThreeHundredAndEightyTwo, - ThreeHundredAndEightyTwo$inboundSchema, ThreeHundredAndNinety, ThreeHundredAndNinety$inboundSchema, ThreeHundredAndNinetyEight, @@ -405,45 +477,176 @@ import { ThreeHundredAndNinetyThree$inboundSchema, ThreeHundredAndNinetyTwo, ThreeHundredAndNinetyTwo$inboundSchema, +} from "./payloadstaticips.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; +import { + ThreeHundredAndEighty, + ThreeHundredAndEighty$inboundSchema, + ThreeHundredAndEightyOne, + ThreeHundredAndEightyOne$inboundSchema, + ThreeHundredAndEightyTwo, + ThreeHundredAndEightyTwo$inboundSchema, + ThreeHundredAndFifty, + ThreeHundredAndFifty$inboundSchema, + ThreeHundredAndFiftyEight, + ThreeHundredAndFiftyEight$inboundSchema, + ThreeHundredAndFiftyFive, + ThreeHundredAndFiftyFive$inboundSchema, + ThreeHundredAndFiftyFour, + ThreeHundredAndFiftyFour$inboundSchema, + ThreeHundredAndFiftyNine, + ThreeHundredAndFiftyNine$inboundSchema, + ThreeHundredAndFiftyOne, + ThreeHundredAndFiftyOne$inboundSchema, + ThreeHundredAndFiftySeven, + ThreeHundredAndFiftySeven$inboundSchema, + ThreeHundredAndFiftySix, + ThreeHundredAndFiftySix$inboundSchema, + ThreeHundredAndFiftyThree, + ThreeHundredAndFiftyThree$inboundSchema, + ThreeHundredAndFiftyTwo, + ThreeHundredAndFiftyTwo$inboundSchema, + ThreeHundredAndForty, + ThreeHundredAndForty$inboundSchema, + ThreeHundredAndFortyEight, + ThreeHundredAndFortyEight$inboundSchema, + ThreeHundredAndFortyFive, + ThreeHundredAndFortyFive$inboundSchema, + ThreeHundredAndFortyFour, + ThreeHundredAndFortyFour$inboundSchema, + ThreeHundredAndFortyNine, + ThreeHundredAndFortyNine$inboundSchema, + ThreeHundredAndFortyOne, + ThreeHundredAndFortyOne$inboundSchema, + ThreeHundredAndFortySeven, + ThreeHundredAndFortySeven$inboundSchema, + ThreeHundredAndFortySix, + ThreeHundredAndFortySix$inboundSchema, + ThreeHundredAndFortyThree, + ThreeHundredAndFortyThree$inboundSchema, + ThreeHundredAndFortyTwo, + ThreeHundredAndFortyTwo$inboundSchema, + ThreeHundredAndSeventy, + ThreeHundredAndSeventy$inboundSchema, + ThreeHundredAndSeventyEight, + ThreeHundredAndSeventyEight$inboundSchema, + ThreeHundredAndSeventyFive, + ThreeHundredAndSeventyFive$inboundSchema, + ThreeHundredAndSeventyFour, + ThreeHundredAndSeventyFour$inboundSchema, ThreeHundredAndSeventyNine, ThreeHundredAndSeventyNine$inboundSchema, -} from "./oldssoprotection2.js"; -import { - ThreeHundred, - ThreeHundred$inboundSchema, - ThreeHundredAndEight, - ThreeHundredAndEight$inboundSchema, - ThreeHundredAndEleven, - ThreeHundredAndEleven$inboundSchema, - ThreeHundredAndFifteen, - ThreeHundredAndFifteen$inboundSchema, - ThreeHundredAndFive, - ThreeHundredAndFive$inboundSchema, - ThreeHundredAndFour, - ThreeHundredAndFour$inboundSchema, - ThreeHundredAndFourteen, - ThreeHundredAndFourteen$inboundSchema, - ThreeHundredAndNine, - ThreeHundredAndNine$inboundSchema, - ThreeHundredAndOne, - ThreeHundredAndOne$inboundSchema, - ThreeHundredAndSeven, - ThreeHundredAndSeven$inboundSchema, - ThreeHundredAndSeventeen, - ThreeHundredAndSeventeen$inboundSchema, - ThreeHundredAndSix, - ThreeHundredAndSix$inboundSchema, - ThreeHundredAndSixteen, - ThreeHundredAndSixteen$inboundSchema, - ThreeHundredAndTen, - ThreeHundredAndTen$inboundSchema, - ThreeHundredAndThirteen, - ThreeHundredAndThirteen$inboundSchema, - ThreeHundredAndThree, - ThreeHundredAndThree$inboundSchema, - ThreeHundredAndTwelve, - ThreeHundredAndTwelve$inboundSchema, - ThreeHundredAndTwo, + ThreeHundredAndSeventyOne, + ThreeHundredAndSeventyOne$inboundSchema, + ThreeHundredAndSeventySeven, + ThreeHundredAndSeventySeven$inboundSchema, + ThreeHundredAndSeventySix, + ThreeHundredAndSeventySix$inboundSchema, + ThreeHundredAndSeventyThree, + ThreeHundredAndSeventyThree$inboundSchema, + ThreeHundredAndSeventyTwo, + ThreeHundredAndSeventyTwo$inboundSchema, + ThreeHundredAndSixty, + ThreeHundredAndSixty$inboundSchema, + ThreeHundredAndSixtyEight, + ThreeHundredAndSixtyEight$inboundSchema, + ThreeHundredAndSixtyFive, + ThreeHundredAndSixtyFive$inboundSchema, + ThreeHundredAndSixtyFour, + ThreeHundredAndSixtyFour$inboundSchema, + ThreeHundredAndSixtyNine, + ThreeHundredAndSixtyNine$inboundSchema, + ThreeHundredAndSixtyOne, + ThreeHundredAndSixtyOne$inboundSchema, + ThreeHundredAndSixtySeven, + ThreeHundredAndSixtySeven$inboundSchema, + ThreeHundredAndSixtySix, + ThreeHundredAndSixtySix$inboundSchema, + ThreeHundredAndSixtyThree, + ThreeHundredAndSixtyThree$inboundSchema, + ThreeHundredAndSixtyTwo, + ThreeHundredAndSixtyTwo$inboundSchema, + ThreeHundredAndThirty, + ThreeHundredAndThirty$inboundSchema, + ThreeHundredAndThirtyEight, + ThreeHundredAndThirtyEight$inboundSchema, + ThreeHundredAndThirtyFive, + ThreeHundredAndThirtyFive$inboundSchema, + ThreeHundredAndThirtyFour, + ThreeHundredAndThirtyFour$inboundSchema, + ThreeHundredAndThirtyNine, + ThreeHundredAndThirtyNine$inboundSchema, + ThreeHundredAndThirtyOne, + ThreeHundredAndThirtyOne$inboundSchema, + ThreeHundredAndThirtySeven, + ThreeHundredAndThirtySeven$inboundSchema, + ThreeHundredAndThirtySix, + ThreeHundredAndThirtySix$inboundSchema, + ThreeHundredAndThirtyThree, + ThreeHundredAndThirtyThree$inboundSchema, + ThreeHundredAndThirtyTwo, + ThreeHundredAndThirtyTwo$inboundSchema, + ThreeHundredAndTwentyEight, + ThreeHundredAndTwentyEight$inboundSchema, + ThreeHundredAndTwentyFive, + ThreeHundredAndTwentyFive$inboundSchema, + ThreeHundredAndTwentyFour, + ThreeHundredAndTwentyFour$inboundSchema, + ThreeHundredAndTwentyNine, + ThreeHundredAndTwentyNine$inboundSchema, + ThreeHundredAndTwentySeven, + ThreeHundredAndTwentySeven$inboundSchema, + ThreeHundredAndTwentySix, + ThreeHundredAndTwentySix$inboundSchema, +} from "./threehundredandtwentyfour.js"; +import { + ThreeHundred, + ThreeHundred$inboundSchema, + ThreeHundredAndEight, + ThreeHundredAndEight$inboundSchema, + ThreeHundredAndEighteen, + ThreeHundredAndEighteen$inboundSchema, + ThreeHundredAndEleven, + ThreeHundredAndEleven$inboundSchema, + ThreeHundredAndFifteen, + ThreeHundredAndFifteen$inboundSchema, + ThreeHundredAndFive, + ThreeHundredAndFive$inboundSchema, + ThreeHundredAndFour, + ThreeHundredAndFour$inboundSchema, + ThreeHundredAndFourteen, + ThreeHundredAndFourteen$inboundSchema, + ThreeHundredAndNine, + ThreeHundredAndNine$inboundSchema, + ThreeHundredAndNineteen, + ThreeHundredAndNineteen$inboundSchema, + ThreeHundredAndOne, + ThreeHundredAndOne$inboundSchema, + ThreeHundredAndSeven, + ThreeHundredAndSeven$inboundSchema, + ThreeHundredAndSeventeen, + ThreeHundredAndSeventeen$inboundSchema, + ThreeHundredAndSix, + ThreeHundredAndSix$inboundSchema, + ThreeHundredAndSixteen, + ThreeHundredAndSixteen$inboundSchema, + ThreeHundredAndTen, + ThreeHundredAndTen$inboundSchema, + ThreeHundredAndThirteen, + ThreeHundredAndThirteen$inboundSchema, + ThreeHundredAndThree, + ThreeHundredAndThree$inboundSchema, + ThreeHundredAndTwelve, + ThreeHundredAndTwelve$inboundSchema, + ThreeHundredAndTwenty, + ThreeHundredAndTwenty$inboundSchema, + ThreeHundredAndTwentyOne, + ThreeHundredAndTwentyOne$inboundSchema, + ThreeHundredAndTwentyThree, + ThreeHundredAndTwentyThree$inboundSchema, + ThreeHundredAndTwentyTwo, + ThreeHundredAndTwentyTwo$inboundSchema, + ThreeHundredAndTwo, ThreeHundredAndTwo$inboundSchema, TwoHundredAndEighty, TwoHundredAndEighty$inboundSchema, @@ -465,10 +668,6 @@ import { TwoHundredAndEightyThree$inboundSchema, TwoHundredAndEightyTwo, TwoHundredAndEightyTwo$inboundSchema, - TwoHundredAndFiftyEight, - TwoHundredAndFiftyEight$inboundSchema, - TwoHundredAndFiftyNine, - TwoHundredAndFiftyNine$inboundSchema, TwoHundredAndNinety, TwoHundredAndNinety$inboundSchema, TwoHundredAndNinetyEight, @@ -509,8 +708,6 @@ import { TwoHundredAndSeventyThree$inboundSchema, TwoHundredAndSeventyTwo, TwoHundredAndSeventyTwo$inboundSchema, - TwoHundredAndSixty, - TwoHundredAndSixty$inboundSchema, TwoHundredAndSixtyEight, TwoHundredAndSixtyEight$inboundSchema, TwoHundredAndSixtyFive, @@ -519,8 +716,6 @@ import { TwoHundredAndSixtyFour$inboundSchema, TwoHundredAndSixtyNine, TwoHundredAndSixtyNine$inboundSchema, - TwoHundredAndSixtyOne, - TwoHundredAndSixtyOne$inboundSchema, TwoHundredAndSixtySeven, TwoHundredAndSixtySeven$inboundSchema, TwoHundredAndSixtySix, @@ -529,222 +724,7 @@ import { TwoHundredAndSixtyThree$inboundSchema, TwoHundredAndSixtyTwo, TwoHundredAndSixtyTwo$inboundSchema, -} from "./payloaddsyncmode.js"; -import { - Categories, - Categories$inboundSchema, - Details, - Details$inboundSchema, - Entities, - Entities$inboundSchema, - FiveHundredAndEight, - FiveHundredAndEight$inboundSchema, - FiveHundredAndEighteen, - FiveHundredAndEighteen$inboundSchema, - FiveHundredAndEleven, - FiveHundredAndEleven$inboundSchema, - FiveHundredAndFifteen, - FiveHundredAndFifteen$inboundSchema, - FiveHundredAndForty, - FiveHundredAndForty$inboundSchema, - FiveHundredAndFortyEight, - FiveHundredAndFortyEight$inboundSchema, - FiveHundredAndFortyFive, - FiveHundredAndFortyFive$inboundSchema, - FiveHundredAndFortyFour, - FiveHundredAndFortyFour$inboundSchema, - FiveHundredAndFortyOne, - FiveHundredAndFortyOne$inboundSchema, - FiveHundredAndFortySeven, - FiveHundredAndFortySeven$inboundSchema, - FiveHundredAndFortySix, - FiveHundredAndFortySix$inboundSchema, - FiveHundredAndFortyThree, - FiveHundredAndFortyThree$inboundSchema, - FiveHundredAndFortyTwo, - FiveHundredAndFortyTwo$inboundSchema, - FiveHundredAndFourteen, - FiveHundredAndFourteen$inboundSchema, - FiveHundredAndNine, - FiveHundredAndNine$inboundSchema, - FiveHundredAndNineteen, - FiveHundredAndNineteen$inboundSchema, - FiveHundredAndSeventeen, - FiveHundredAndSeventeen$inboundSchema, - FiveHundredAndSixteen, - FiveHundredAndSixteen$inboundSchema, - FiveHundredAndTen, - FiveHundredAndTen$inboundSchema, - FiveHundredAndThirteen, - FiveHundredAndThirteen$inboundSchema, - FiveHundredAndThirty, - FiveHundredAndThirty$inboundSchema, - FiveHundredAndThirtyEight, - FiveHundredAndThirtyEight$inboundSchema, - FiveHundredAndThirtyFive, - FiveHundredAndThirtyFive$inboundSchema, - FiveHundredAndThirtyFour, - FiveHundredAndThirtyFour$inboundSchema, - FiveHundredAndThirtyNine, - FiveHundredAndThirtyNine$inboundSchema, - FiveHundredAndThirtyOne, - FiveHundredAndThirtyOne$inboundSchema, - FiveHundredAndThirtySeven, - FiveHundredAndThirtySeven$inboundSchema, - FiveHundredAndThirtySix, - FiveHundredAndThirtySix$inboundSchema, - FiveHundredAndThirtyThree, - FiveHundredAndThirtyThree$inboundSchema, - FiveHundredAndThirtyTwo, - FiveHundredAndThirtyTwo$inboundSchema, - FiveHundredAndTwelve, - FiveHundredAndTwelve$inboundSchema, - FiveHundredAndTwenty, - FiveHundredAndTwenty$inboundSchema, - FiveHundredAndTwentyEight, - FiveHundredAndTwentyEight$inboundSchema, - FiveHundredAndTwentyFive, - FiveHundredAndTwentyFive$inboundSchema, - FiveHundredAndTwentyFour, - FiveHundredAndTwentyFour$inboundSchema, - FiveHundredAndTwentyNine, - FiveHundredAndTwentyNine$inboundSchema, - FiveHundredAndTwentyOne, - FiveHundredAndTwentyOne$inboundSchema, - FiveHundredAndTwentySeven, - FiveHundredAndTwentySeven$inboundSchema, - FiveHundredAndTwentySix, - FiveHundredAndTwentySix$inboundSchema, - FiveHundredAndTwentyThree, - FiveHundredAndTwentyThree$inboundSchema, - FiveHundredAndTwentyTwo, - FiveHundredAndTwentyTwo$inboundSchema, -} from "./payloadoutcome.js"; -import { SDKValidationError } from "./sdkvalidationerror.js"; -import { - Eighty, - Eighty$inboundSchema, - Fifty, - Fifty$inboundSchema, - FiftyEight, - FiftyEight$inboundSchema, - FiftyFive, - FiftyFive$inboundSchema, - FiftyFour, - FiftyFour$inboundSchema, - FiftyNine, - FiftyNine$inboundSchema, - FiftyOne, - FiftyOne$inboundSchema, - FiftySeven, - FiftySeven$inboundSchema, - FiftySix, - FiftySix$inboundSchema, - FiftyThree, - FiftyThree$inboundSchema, - FiftyTwo, - FiftyTwo$inboundSchema, - Forty, - Forty$inboundSchema, - FortyEight, - FortyEight$inboundSchema, - FortyFive, - FortyFive$inboundSchema, - FortyFour, - FortyFour$inboundSchema, - FortyNine, - FortyNine$inboundSchema, - FortyOne, - FortyOne$inboundSchema, - FortySeven, - FortySeven$inboundSchema, - FortySix, - FortySix$inboundSchema, - FortyThree, - FortyThree$inboundSchema, - FortyTwo, - FortyTwo$inboundSchema, - Seventy, - Seventy$inboundSchema, - SeventyEight, - SeventyEight$inboundSchema, - SeventyFive, - SeventyFive$inboundSchema, - SeventyFour, - SeventyFour$inboundSchema, - SeventyNine, - SeventyNine$inboundSchema, - SeventyOne, - SeventyOne$inboundSchema, - SeventySeven, - SeventySeven$inboundSchema, - SeventySix, - SeventySix$inboundSchema, - SeventyThree, - SeventyThree$inboundSchema, - SeventyTwo, - SeventyTwo$inboundSchema, - Sixty, - Sixty$inboundSchema, - SixtyEight, - SixtyEight$inboundSchema, - SixtyFive, - SixtyFive$inboundSchema, - SixtyFour, - SixtyFour$inboundSchema, - SixtyNine, - SixtyNine$inboundSchema, - SixtyOne, - SixtyOne$inboundSchema, - SixtySeven, - SixtySeven$inboundSchema, - SixtySix, - SixtySix$inboundSchema, - SixtyThree, - SixtyThree$inboundSchema, - SixtyTwo, - SixtyTwo$inboundSchema, - Thirty, - Thirty$inboundSchema, - ThirtyEight, - ThirtyEight$inboundSchema, - ThirtyFive, - ThirtyFive$inboundSchema, - ThirtyFour, - ThirtyFour$inboundSchema, - ThirtyNine, - ThirtyNine$inboundSchema, - ThirtyOne, - ThirtyOne$inboundSchema, - ThirtySeven, - ThirtySeven$inboundSchema, - ThirtySix, - ThirtySix$inboundSchema, - ThirtyThree, - ThirtyThree$inboundSchema, - ThirtyTwo, - ThirtyTwo$inboundSchema, - Twenty, - Twenty$inboundSchema, - TwentyEight, - TwentyEight$inboundSchema, - TwentyFive, - TwentyFive$inboundSchema, - TwentyFour, - TwentyFour$inboundSchema, - TwentyNine, - TwentyNine$inboundSchema, - TwentyOne, - TwentyOne$inboundSchema, - TwentySeven, - TwentySeven$inboundSchema, - TwentySix, - TwentySix$inboundSchema, - TwentyThree, - TwentyThree$inboundSchema, - TwentyTwo, - TwentyTwo$inboundSchema, -} from "./twenty.js"; +} from "./twohundredandsixtytwo.js"; import { OneHundredAndEighty, OneHundredAndEighty$inboundSchema, @@ -810,6 +790,8 @@ import { OneHundredAndNinety$inboundSchema, OneHundredAndNinetyOne, OneHundredAndNinetyOne$inboundSchema, + OneHundredAndNinetyTwo, + OneHundredAndNinetyTwo$inboundSchema, OneHundredAndSeventy, OneHundredAndSeventy$inboundSchema, OneHundredAndSeventyEight, @@ -854,245 +836,413 @@ import { OneHundredAndThirtyEight$inboundSchema, OneHundredAndThirtyNine, OneHundredAndThirtyNine$inboundSchema, - OneHundredAndThirtySeven, - OneHundredAndThirtySeven$inboundSchema, -} from "./usereventjobpayloaddeployhook.js"; -import { - ThreeHundredAndEighteen, - ThreeHundredAndEighteen$inboundSchema, - ThreeHundredAndFifty, - ThreeHundredAndFifty$inboundSchema, - ThreeHundredAndFiftyEight, - ThreeHundredAndFiftyEight$inboundSchema, - ThreeHundredAndFiftyFive, - ThreeHundredAndFiftyFive$inboundSchema, - ThreeHundredAndFiftyFour, - ThreeHundredAndFiftyFour$inboundSchema, - ThreeHundredAndFiftyNine, - ThreeHundredAndFiftyNine$inboundSchema, - ThreeHundredAndFiftyOne, - ThreeHundredAndFiftyOne$inboundSchema, - ThreeHundredAndFiftySeven, - ThreeHundredAndFiftySeven$inboundSchema, - ThreeHundredAndFiftySix, - ThreeHundredAndFiftySix$inboundSchema, - ThreeHundredAndFiftyThree, - ThreeHundredAndFiftyThree$inboundSchema, - ThreeHundredAndFiftyTwo, - ThreeHundredAndFiftyTwo$inboundSchema, - ThreeHundredAndForty, - ThreeHundredAndForty$inboundSchema, - ThreeHundredAndFortyEight, - ThreeHundredAndFortyEight$inboundSchema, - ThreeHundredAndFortyFive, - ThreeHundredAndFortyFive$inboundSchema, - ThreeHundredAndFortyFour, - ThreeHundredAndFortyFour$inboundSchema, - ThreeHundredAndFortyNine, - ThreeHundredAndFortyNine$inboundSchema, - ThreeHundredAndFortyOne, - ThreeHundredAndFortyOne$inboundSchema, - ThreeHundredAndFortySeven, - ThreeHundredAndFortySeven$inboundSchema, - ThreeHundredAndFortySix, - ThreeHundredAndFortySix$inboundSchema, - ThreeHundredAndFortyThree, - ThreeHundredAndFortyThree$inboundSchema, - ThreeHundredAndFortyTwo, - ThreeHundredAndFortyTwo$inboundSchema, - ThreeHundredAndNineteen, - ThreeHundredAndNineteen$inboundSchema, - ThreeHundredAndSeventy, - ThreeHundredAndSeventy$inboundSchema, - ThreeHundredAndSeventyEight, - ThreeHundredAndSeventyEight$inboundSchema, - ThreeHundredAndSeventyFive, - ThreeHundredAndSeventyFive$inboundSchema, - ThreeHundredAndSeventyFour, - ThreeHundredAndSeventyFour$inboundSchema, - ThreeHundredAndSeventyOne, - ThreeHundredAndSeventyOne$inboundSchema, - ThreeHundredAndSeventySeven, - ThreeHundredAndSeventySeven$inboundSchema, - ThreeHundredAndSeventySix, - ThreeHundredAndSeventySix$inboundSchema, - ThreeHundredAndSeventyThree, - ThreeHundredAndSeventyThree$inboundSchema, - ThreeHundredAndSeventyTwo, - ThreeHundredAndSeventyTwo$inboundSchema, - ThreeHundredAndSixty, - ThreeHundredAndSixty$inboundSchema, - ThreeHundredAndSixtyEight, - ThreeHundredAndSixtyEight$inboundSchema, - ThreeHundredAndSixtyFive, - ThreeHundredAndSixtyFive$inboundSchema, - ThreeHundredAndSixtyFour, - ThreeHundredAndSixtyFour$inboundSchema, - ThreeHundredAndSixtyNine, - ThreeHundredAndSixtyNine$inboundSchema, - ThreeHundredAndSixtyOne, - ThreeHundredAndSixtyOne$inboundSchema, - ThreeHundredAndSixtySeven, - ThreeHundredAndSixtySeven$inboundSchema, - ThreeHundredAndSixtySix, - ThreeHundredAndSixtySix$inboundSchema, - ThreeHundredAndSixtyThree, - ThreeHundredAndSixtyThree$inboundSchema, - ThreeHundredAndSixtyTwo, - ThreeHundredAndSixtyTwo$inboundSchema, - ThreeHundredAndThirty, - ThreeHundredAndThirty$inboundSchema, - ThreeHundredAndThirtyEight, - ThreeHundredAndThirtyEight$inboundSchema, - ThreeHundredAndThirtyFive, - ThreeHundredAndThirtyFive$inboundSchema, - ThreeHundredAndThirtyFour, - ThreeHundredAndThirtyFour$inboundSchema, - ThreeHundredAndThirtyNine, - ThreeHundredAndThirtyNine$inboundSchema, - ThreeHundredAndThirtyOne, - ThreeHundredAndThirtyOne$inboundSchema, - ThreeHundredAndThirtySeven, - ThreeHundredAndThirtySeven$inboundSchema, - ThreeHundredAndThirtySix, - ThreeHundredAndThirtySix$inboundSchema, - ThreeHundredAndThirtyThree, - ThreeHundredAndThirtyThree$inboundSchema, - ThreeHundredAndThirtyTwo, - ThreeHundredAndThirtyTwo$inboundSchema, - ThreeHundredAndTwenty, - ThreeHundredAndTwenty$inboundSchema, - ThreeHundredAndTwentyEight, - ThreeHundredAndTwentyEight$inboundSchema, - ThreeHundredAndTwentyFive, - ThreeHundredAndTwentyFive$inboundSchema, - ThreeHundredAndTwentyFour, - ThreeHundredAndTwentyFour$inboundSchema, - ThreeHundredAndTwentyNine, - ThreeHundredAndTwentyNine$inboundSchema, - ThreeHundredAndTwentyOne, - ThreeHundredAndTwentyOne$inboundSchema, - ThreeHundredAndTwentySeven, - ThreeHundredAndTwentySeven$inboundSchema, - ThreeHundredAndTwentySix, - ThreeHundredAndTwentySix$inboundSchema, - ThreeHundredAndTwentyThree, - ThreeHundredAndTwentyThree$inboundSchema, - ThreeHundredAndTwentyTwo, - ThreeHundredAndTwentyTwo$inboundSchema, -} from "./usereventpayload317type.js"; +} from "./usereventjobpayload137gitcomments.js"; import { - EightyEight, - EightyEight$inboundSchema, - EightyFive, - EightyFive$inboundSchema, - EightyFour, - EightyFour$inboundSchema, - EightyNine, - EightyNine$inboundSchema, + Eighty, + Eighty$inboundSchema, EightyOne, EightyOne$inboundSchema, - EightySeven, - EightySeven$inboundSchema, - EightySix, - EightySix$inboundSchema, - EightyThree, - EightyThree$inboundSchema, - EightyTwo, - EightyTwo$inboundSchema, - Ninety, - Ninety$inboundSchema, - NinetyEight, - NinetyEight$inboundSchema, - NinetyFive, - NinetyFive$inboundSchema, - NinetyFour, - NinetyFour$inboundSchema, - NinetyNine, - NinetyNine$inboundSchema, - NinetyOne, - NinetyOne$inboundSchema, - NinetySeven, - NinetySeven$inboundSchema, - NinetySix, - NinetySix$inboundSchema, - NinetyThree, - NinetyThree$inboundSchema, - NinetyTwo, - NinetyTwo$inboundSchema, - OneHundred, - OneHundred$inboundSchema, - OneHundredAndEight, - OneHundredAndEight$inboundSchema, - OneHundredAndEighteen, - OneHundredAndEighteen$inboundSchema, - OneHundredAndEleven, - OneHundredAndEleven$inboundSchema, - OneHundredAndFifteen, - OneHundredAndFifteen$inboundSchema, - OneHundredAndFive, - OneHundredAndFive$inboundSchema, - OneHundredAndFour, - OneHundredAndFour$inboundSchema, - OneHundredAndFourteen, - OneHundredAndFourteen$inboundSchema, - OneHundredAndNine, - OneHundredAndNine$inboundSchema, - OneHundredAndNineteen, - OneHundredAndNineteen$inboundSchema, - OneHundredAndOne, - OneHundredAndOne$inboundSchema, - OneHundredAndSeven, - OneHundredAndSeven$inboundSchema, - OneHundredAndSeventeen, - OneHundredAndSeventeen$inboundSchema, - OneHundredAndSix, - OneHundredAndSix$inboundSchema, - OneHundredAndSixteen, - OneHundredAndSixteen$inboundSchema, - OneHundredAndTen, - OneHundredAndTen$inboundSchema, - OneHundredAndThirteen, - OneHundredAndThirteen$inboundSchema, - OneHundredAndThirty, - OneHundredAndThirty$inboundSchema, - OneHundredAndThirtyFive, - OneHundredAndThirtyFive$inboundSchema, - OneHundredAndThirtyOne, - OneHundredAndThirtyOne$inboundSchema, - OneHundredAndThirtySix, - OneHundredAndThirtySix$inboundSchema, - OneHundredAndThirtyThree, - OneHundredAndThirtyThree$inboundSchema, - OneHundredAndThirtyTwo, - OneHundredAndThirtyTwo$inboundSchema, - OneHundredAndThree, - OneHundredAndThree$inboundSchema, - OneHundredAndTwelve, - OneHundredAndTwelve$inboundSchema, - OneHundredAndTwenty, - OneHundredAndTwenty$inboundSchema, - OneHundredAndTwentyEight, - OneHundredAndTwentyEight$inboundSchema, - OneHundredAndTwentyFive, - OneHundredAndTwentyFive$inboundSchema, - OneHundredAndTwentyFour, - OneHundredAndTwentyFour$inboundSchema, - OneHundredAndTwentyNine, - OneHundredAndTwentyNine$inboundSchema, - OneHundredAndTwentyOne, - OneHundredAndTwentyOne$inboundSchema, - OneHundredAndTwentySeven, - OneHundredAndTwentySeven$inboundSchema, - OneHundredAndTwentySix, - OneHundredAndTwentySix$inboundSchema, - OneHundredAndTwentyThree, - OneHundredAndTwentyThree$inboundSchema, - OneHundredAndTwentyTwo, - OneHundredAndTwentyTwo$inboundSchema, - OneHundredAndTwo, - OneHundredAndTwo$inboundSchema, -} from "./usereventpayloadresources.js"; + Fifty, + Fifty$inboundSchema, + FiftyEight, + FiftyEight$inboundSchema, + FiftyFive, + FiftyFive$inboundSchema, + FiftyFour, + FiftyFour$inboundSchema, + FiftyNine, + FiftyNine$inboundSchema, + FiftyOne, + FiftyOne$inboundSchema, + FiftySeven, + FiftySeven$inboundSchema, + FiftySix, + FiftySix$inboundSchema, + FiftyThree, + FiftyThree$inboundSchema, + FiftyTwo, + FiftyTwo$inboundSchema, + Forty, + Forty$inboundSchema, + FortyEight, + FortyEight$inboundSchema, + FortyFive, + FortyFive$inboundSchema, + FortyFour, + FortyFour$inboundSchema, + FortyNine, + FortyNine$inboundSchema, + FortyOne, + FortyOne$inboundSchema, + FortySeven, + FortySeven$inboundSchema, + FortySix, + FortySix$inboundSchema, + FortyThree, + FortyThree$inboundSchema, + FortyTwo, + FortyTwo$inboundSchema, + Seventy, + Seventy$inboundSchema, + SeventyEight, + SeventyEight$inboundSchema, + SeventyFive, + SeventyFive$inboundSchema, + SeventyFour, + SeventyFour$inboundSchema, + SeventyNine, + SeventyNine$inboundSchema, + SeventyOne, + SeventyOne$inboundSchema, + SeventySeven, + SeventySeven$inboundSchema, + SeventySix, + SeventySix$inboundSchema, + SeventyThree, + SeventyThree$inboundSchema, + SeventyTwo, + SeventyTwo$inboundSchema, + Sixty, + Sixty$inboundSchema, + SixtyEight, + SixtyEight$inboundSchema, + SixtyFive, + SixtyFive$inboundSchema, + SixtyFour, + SixtyFour$inboundSchema, + SixtyNine, + SixtyNine$inboundSchema, + SixtyOne, + SixtyOne$inboundSchema, + SixtySeven, + SixtySeven$inboundSchema, + SixtySix, + SixtySix$inboundSchema, + SixtyThree, + SixtyThree$inboundSchema, + SixtyTwo, + SixtyTwo$inboundSchema, + Thirty, + Thirty$inboundSchema, + ThirtyEight, + ThirtyEight$inboundSchema, + ThirtyFive, + ThirtyFive$inboundSchema, + ThirtyFour, + ThirtyFour$inboundSchema, + ThirtyNine, + ThirtyNine$inboundSchema, + ThirtyOne, + ThirtyOne$inboundSchema, + ThirtySeven, + ThirtySeven$inboundSchema, + ThirtySix, + ThirtySix$inboundSchema, + ThirtyThree, + ThirtyThree$inboundSchema, + ThirtyTwo, + ThirtyTwo$inboundSchema, + TwentyEight, + TwentyEight$inboundSchema, + TwentyNine, + TwentyNine$inboundSchema, + TwentySeven, + TwentySeven$inboundSchema, + TwentySix, + TwentySix$inboundSchema, + UserEventPayload25Provider, + UserEventPayload25Provider$inboundSchema, +} from "./usereventpayload25provider.js"; +import { + OneHundredAndNinetyEight, + OneHundredAndNinetyEight$inboundSchema, + OneHundredAndNinetyFive, + OneHundredAndNinetyFive$inboundSchema, + OneHundredAndNinetyFour, + OneHundredAndNinetyFour$inboundSchema, + OneHundredAndNinetyNine, + OneHundredAndNinetyNine$inboundSchema, + OneHundredAndNinetySeven, + OneHundredAndNinetySeven$inboundSchema, + OneHundredAndNinetySix, + OneHundredAndNinetySix$inboundSchema, + OneHundredAndNinetyThree, + OneHundredAndNinetyThree$inboundSchema, + TwoHundred, + TwoHundred$inboundSchema, + TwoHundredAndEight, + TwoHundredAndEight$inboundSchema, + TwoHundredAndEighteen, + TwoHundredAndEighteen$inboundSchema, + TwoHundredAndEleven, + TwoHundredAndEleven$inboundSchema, + TwoHundredAndFifteen, + TwoHundredAndFifteen$inboundSchema, + TwoHundredAndFifty, + TwoHundredAndFifty$inboundSchema, + TwoHundredAndFiftyEight, + TwoHundredAndFiftyEight$inboundSchema, + TwoHundredAndFiftyFive, + TwoHundredAndFiftyFive$inboundSchema, + TwoHundredAndFiftyFour, + TwoHundredAndFiftyFour$inboundSchema, + TwoHundredAndFiftyNine, + TwoHundredAndFiftyNine$inboundSchema, + TwoHundredAndFiftyOne, + TwoHundredAndFiftyOne$inboundSchema, + TwoHundredAndFiftySeven, + TwoHundredAndFiftySeven$inboundSchema, + TwoHundredAndFiftySix, + TwoHundredAndFiftySix$inboundSchema, + TwoHundredAndFiftyThree, + TwoHundredAndFiftyThree$inboundSchema, + TwoHundredAndFiftyTwo, + TwoHundredAndFiftyTwo$inboundSchema, + TwoHundredAndFive, + TwoHundredAndFive$inboundSchema, + TwoHundredAndForty, + TwoHundredAndForty$inboundSchema, + TwoHundredAndFortyEight, + TwoHundredAndFortyEight$inboundSchema, + TwoHundredAndFortyFive, + TwoHundredAndFortyFive$inboundSchema, + TwoHundredAndFortyFour, + TwoHundredAndFortyFour$inboundSchema, + TwoHundredAndFortyNine, + TwoHundredAndFortyNine$inboundSchema, + TwoHundredAndFortyOne, + TwoHundredAndFortyOne$inboundSchema, + TwoHundredAndFortySeven, + TwoHundredAndFortySeven$inboundSchema, + TwoHundredAndFortySix, + TwoHundredAndFortySix$inboundSchema, + TwoHundredAndFortyThree, + TwoHundredAndFortyThree$inboundSchema, + TwoHundredAndFortyTwo, + TwoHundredAndFortyTwo$inboundSchema, + TwoHundredAndFour, + TwoHundredAndFour$inboundSchema, + TwoHundredAndFourteen, + TwoHundredAndFourteen$inboundSchema, + TwoHundredAndNine, + TwoHundredAndNine$inboundSchema, + TwoHundredAndNineteen, + TwoHundredAndNineteen$inboundSchema, + TwoHundredAndOne, + TwoHundredAndOne$inboundSchema, + TwoHundredAndSeven, + TwoHundredAndSeven$inboundSchema, + TwoHundredAndSeventeen, + TwoHundredAndSeventeen$inboundSchema, + TwoHundredAndSix, + TwoHundredAndSix$inboundSchema, + TwoHundredAndSixteen, + TwoHundredAndSixteen$inboundSchema, + TwoHundredAndSixty, + TwoHundredAndSixty$inboundSchema, + TwoHundredAndSixtyOne, + TwoHundredAndSixtyOne$inboundSchema, + TwoHundredAndTen, + TwoHundredAndTen$inboundSchema, + TwoHundredAndThirteen, + TwoHundredAndThirteen$inboundSchema, + TwoHundredAndThirty, + TwoHundredAndThirty$inboundSchema, + TwoHundredAndThirtyEight, + TwoHundredAndThirtyEight$inboundSchema, + TwoHundredAndThirtyFive, + TwoHundredAndThirtyFive$inboundSchema, + TwoHundredAndThirtyFour, + TwoHundredAndThirtyFour$inboundSchema, + TwoHundredAndThirtyNine, + TwoHundredAndThirtyNine$inboundSchema, + TwoHundredAndThirtyOne, + TwoHundredAndThirtyOne$inboundSchema, + TwoHundredAndThirtySeven, + TwoHundredAndThirtySeven$inboundSchema, + TwoHundredAndThirtySix, + TwoHundredAndThirtySix$inboundSchema, + TwoHundredAndThirtyThree, + TwoHundredAndThirtyThree$inboundSchema, + TwoHundredAndThirtyTwo, + TwoHundredAndThirtyTwo$inboundSchema, + TwoHundredAndThree, + TwoHundredAndThree$inboundSchema, + TwoHundredAndTwelve, + TwoHundredAndTwelve$inboundSchema, + TwoHundredAndTwenty, + TwoHundredAndTwenty$inboundSchema, + TwoHundredAndTwentyEight, + TwoHundredAndTwentyEight$inboundSchema, + TwoHundredAndTwentyFive, + TwoHundredAndTwentyFive$inboundSchema, + TwoHundredAndTwentyFour, + TwoHundredAndTwentyFour$inboundSchema, + TwoHundredAndTwentyNine, + TwoHundredAndTwentyNine$inboundSchema, + TwoHundredAndTwentyOne, + TwoHundredAndTwentyOne$inboundSchema, + TwoHundredAndTwentySeven, + TwoHundredAndTwentySeven$inboundSchema, + TwoHundredAndTwentySix, + TwoHundredAndTwentySix$inboundSchema, + TwoHundredAndTwentyThree, + TwoHundredAndTwentyThree$inboundSchema, + TwoHundredAndTwentyTwo, + TwoHundredAndTwentyTwo$inboundSchema, + TwoHundredAndTwo, + TwoHundredAndTwo$inboundSchema, +} from "./usereventpayloadlasteditedbyprincipal.js"; + +/** + * The payload of the event, if requested. + */ +export type TwentyFive = { + /** + * Present on new events only. Equivalent to "stripe" when absent. + */ + provider?: UserEventPayload25Provider | undefined; + /** + * Present on new events only. Equivalent to `stripeAccount` when absent. + */ + providerAccount?: string | undefined; + /** + * Present when `provider` is "stripe". Equivalent to `providerAccount`. + */ + stripeAccount?: string | undefined; + /** + * Present when `provider` is "stripe". + */ + stripeOrganisation?: string | undefined; + blockCode: string; + reason: string; +}; + +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export const UserEventPayloadProvider = { + Chatgpt: "chatgpt", + Stripe: "stripe", +} as const; +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export type UserEventPayloadProvider = ClosedEnum< + typeof UserEventPayloadProvider +>; + +/** + * The payload of the event, if requested. + */ +export type TwentyFour = { + /** + * Present on new events only. Equivalent to "stripe" when absent. + */ + provider?: UserEventPayloadProvider | undefined; + /** + * Present on new events only. Equivalent to `stripeAccount` when absent. + */ + providerAccount?: string | undefined; + /** + * Present when `provider` is "stripe". Equivalent to `providerAccount`. + */ + stripeAccount?: string | undefined; + /** + * Present when `provider` is "stripe". + */ + stripeOrganisation?: string | undefined; + teamId: string; + teamSlug: string; +}; + +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export const PayloadProvider = { + Chatgpt: "chatgpt", + Stripe: "stripe", +} as const; +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export type PayloadProvider = ClosedEnum; + +/** + * The payload of the event, if requested. + */ +export type TwentyThree = { + /** + * Present on new events only. Equivalent to "stripe" when absent. + */ + provider?: PayloadProvider | undefined; + /** + * Present on new events only. Equivalent to `stripeAccount` when absent. + */ + providerAccount?: string | undefined; + /** + * Present when `provider` is "stripe". Equivalent to `providerAccount`. + */ + stripeAccount?: string | undefined; + /** + * Present when `provider` is "stripe". + */ + stripeOrganisation?: string | undefined; + teamId: string; +}; + +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export const Provider = { + Chatgpt: "chatgpt", + Stripe: "stripe", +} as const; +/** + * Present on new events only. Equivalent to "stripe" when absent. + */ +export type Provider = ClosedEnum; + +/** + * The payload of the event, if requested. + */ +export type TwentyTwo = { + /** + * Present on new events only. Equivalent to "stripe" when absent. + */ + provider?: Provider | undefined; + /** + * Present on new events only. Equivalent to `stripeAccount` when absent. + */ + providerAccount?: string | undefined; + /** + * Present when `provider` is "stripe". Equivalent to `providerAccount`. + */ + stripeAccount?: string | undefined; + /** + * Present when `provider` is "stripe". + */ + stripeOrganisation?: string | undefined; + accountRequestId: string; + teamId: string; +}; + +/** + * The payload of the event, if requested. + */ +export type TwentyOne = { + operationId: string; + schemaId: string; +}; + +/** + * The payload of the event, if requested. + */ +export type Twenty = { + boardId: string; + operationId: string; + projectId: string; +}; /** * The payload of the event, if requested. @@ -1360,256 +1510,257 @@ export type Payload2 = { export type Payload1 = {}; export type Payload = - | FourHundredAndThirtyThree - | FourHundredAndThirtyFour - | FourHundredAndThirtyTwo - | FourHundredAndThirtyOne - | TwoHundredAndSeventeen - | TwoHundredAndSix - | FourHundredAndTwentyFive - | TwoHundredAndSeventySeven - | OneHundredAndEight + | FourHundredAndThirtyEight + | FourHundredAndThirtyNine + | FourHundredAndThirtySeven + | FourHundredAndThirtySix | TwoHundredAndEighteen - | FiveHundredAndThirtySix + | TwoHundredAndSeven + | FourHundredAndThirty + | TwoHundredAndEighty + | OneHundredAndNine + | TwoHundredAndNineteen + | FiveHundredAndFortyOne | Nine - | OneHundredAndFortySix - | TwoHundredAndTwenty + | OneHundredAndFortySeven | TwoHundredAndTwentyOne - | TwoHundredAndSixtyNine - | ThreeHundredAndFortyOne + | TwoHundredAndTwentyTwo + | TwoHundredAndSeventyTwo + | ThreeHundredAndFortyFour | Five | Eleven - | OneHundredAndSixtyNine - | OneHundredAndNinety - | TwoHundredAndTen - | TwoHundredAndFourteen - | TwoHundredAndNineteen - | TwoHundredAndFiftyOne - | TwoHundredAndFiftyTwo - | ThreeHundredAndSeventeen - | ThreeHundredAndEightyOne - | FourHundredAndSix - | FourHundredAndEight - | FiveHundredAndTwentyFour + | OneHundredAndSeventy + | OneHundredAndNinetyOne + | TwoHundredAndEleven + | TwoHundredAndFifteen + | TwoHundredAndTwenty + | TwoHundredAndFiftyFour + | TwoHundredAndFiftyFive + | ThreeHundredAndTwenty + | ThreeHundredAndEightyFour + | FourHundredAndEleven + | FourHundredAndThirteen + | FiveHundredAndTwentyNine | Ten | Fourteen | Sixteen | FortySeven - | OneHundredAndThirtyEight - | OneHundredAndFortyThree + | OneHundredAndThirtyNine | OneHundredAndFortyFour | OneHundredAndFortyFive - | OneHundredAndFortySeven - | OneHundredAndFiftyFour - | OneHundredAndEightyEight - | OneHundredAndNinetySeven - | TwoHundredAndThree - | TwoHundredAndNine - | TwoHundredAndFifteen - | TwoHundredAndFortyNine - | TwoHundredAndFiftySeven - | TwoHundredAndSixtyOne - | TwoHundredAndEightySeven - | ThreeHundredAndEighteen - | ThreeHundredAndTwentyNine - | ThreeHundredAndFortyThree - | ThreeHundredAndFiftyThree - | ThreeHundredAndNinetyOne - | FourHundredAndThirty - | FiveHundredAndTwelve - | FiveHundredAndFourteen - | FiveHundredAndTwentyOne - | FiveHundredAndTwentySeven - | FiveHundredAndFortyTwo + | OneHundredAndFortySix + | OneHundredAndFortyEight + | OneHundredAndFiftyFive + | OneHundredAndEightyNine + | OneHundredAndNinetyEight + | TwoHundredAndFour + | TwoHundredAndTen + | TwoHundredAndSixteen + | TwoHundredAndFiftyTwo + | TwoHundredAndSixty + | TwoHundredAndSixtyFour + | TwoHundredAndNinety + | ThreeHundredAndTwentyOne + | ThreeHundredAndThirtyTwo + | ThreeHundredAndFortySix + | ThreeHundredAndFiftySix + | FourHundredAndThirtyFive + | FiveHundredAndSeventeen + | FiveHundredAndNineteen + | FiveHundredAndTwentySix + | FiveHundredAndThirtyTwo + | FiveHundredAndFortySeven | Four | Seventeen | Nineteen | TwentyEight | FortyOne - | EightyEight | EightyNine - | OneHundredAndNine + | Ninety | OneHundredAndTen - | OneHundredAndThirtyOne - | OneHundredAndThirtyThree + | OneHundredAndEleven + | OneHundredAndThirtyTwo + | OneHundredAndThirtyFour | DeploymentCheckUpdatedPayload - | OneHundredAndForty - | OneHundredAndFiftyTwo - | OneHundredAndSixtyEight - | OneHundredAndSeventyFive - | OneHundredAndSeventyNine - | TwoHundredAndSeven + | OneHundredAndFortyOne + | OneHundredAndFiftyThree + | OneHundredAndSixtyNine + | OneHundredAndSeventySix + | OneHundredAndEighty | TwoHundredAndEight - | TwoHundredAndTwentyTwo + | TwoHundredAndNine | TwoHundredAndTwentyThree | TwoHundredAndTwentyFour - | TwoHundredAndTwentyEight - | TwoHundredAndFortySix - | TwoHundredAndFiftyThree - | TwoHundredAndFiftyNine - | TwoHundredAndSixty - | TwoHundredAndSixtySeven - | TwoHundredAndSixtyEight + | TwoHundredAndTwentyFive + | TwoHundredAndTwentyNine + | TwoHundredAndFortyNine + | TwoHundredAndFiftySix + | TwoHundredAndSixtyTwo + | TwoHundredAndSixtyThree | TwoHundredAndSeventy - | TwoHundredAndSeventyFive + | TwoHundredAndSeventyOne + | TwoHundredAndSeventyThree | TwoHundredAndSeventyEight - | TwoHundredAndEightyTwo - | ThreeHundredAndThree + | TwoHundredAndEightyOne + | TwoHundredAndEightyFive | ThreeHundredAndSix - | ThreeHundredAndFourteen - | ThreeHundredAndNineteen - | ThreeHundredAndTwenty + | ThreeHundredAndNine + | ThreeHundredAndSeventeen | ThreeHundredAndTwentyTwo | ThreeHundredAndTwentyThree - | ThreeHundredAndTwentyFour | ThreeHundredAndTwentyFive - | ThreeHundredAndForty - | ThreeHundredAndFortyTwo - | ThreeHundredAndFortySix - | ThreeHundredAndSixtyThree + | ThreeHundredAndTwentySix + | ThreeHundredAndTwentySeven + | ThreeHundredAndTwentyEight + | ThreeHundredAndFortyThree + | ThreeHundredAndFortyFive + | ThreeHundredAndFortyNine | ThreeHundredAndSixtySix - | ThreeHundredAndSixtyEight - | ThreeHundredAndSeventyFive - | ThreeHundredAndSeventySix - | ThreeHundredAndSeventySeven + | ThreeHundredAndSixtyNine + | ThreeHundredAndSeventyOne + | ThreeHundredAndSeventyEight | ThreeHundredAndSeventyNine - | ThreeHundredAndEightySix - | ThreeHundredAndNinetyFour - | ThreeHundredAndNinetyFive + | ThreeHundredAndEighty + | ThreeHundredAndEightyTwo + | ThreeHundredAndEightyNine | ThreeHundredAndNinetyEight - | FourHundredAndFour - | FourHundredAndSeven - | FourHundredAndTwentyNine - | FourHundredAndFortyFive - | FourHundredAndSixty - | FourHundredAndSeventyEight - | FiveHundredAndSeven - | FiveHundredAndNine - | FiveHundredAndThirteen - | FiveHundredAndFifteen - | FiveHundredAndSixteen - | FiveHundredAndSeventeen + | ThreeHundredAndNinetyNine + | FourHundred + | FourHundredAndThree + | FourHundredAndNine + | FourHundredAndTwelve + | FourHundredAndThirtyFour + | FourHundredAndFifty + | FourHundredAndSixtyFive + | FourHundredAndEightyThree + | FiveHundredAndTwelve + | FiveHundredAndFourteen + | FiveHundredAndEighteen + | FiveHundredAndTwenty + | FiveHundredAndTwentyOne | FiveHundredAndTwentyTwo - | FiveHundredAndTwentyThree - | FiveHundredAndFortySix - | FiveHundredAndFortySeven + | FiveHundredAndTwentySeven + | FiveHundredAndTwentyEight + | FiveHundredAndFiftyOne + | FiveHundredAndFiftyTwo | Eight | Twelve | Fifteen | Eighteen | Twenty | TwentySeven - | SixtyEight - | SeventyThree - | NinetyNine - | OneHundredAndTwo - | OneHundredAndThirteen + | SixtyNine + | SeventyFour + | OneHundred + | OneHundredAndThree | OneHundredAndFourteen | OneHundredAndFifteen | OneHundredAndSixteen - | OneHundredAndTwentyFour - | OneHundredAndTwentyNine + | OneHundredAndSeventeen + | OneHundredAndTwentyFive | OneHundredAndThirty - | OneHundredAndThirtyNine - | OneHundredAndFortyOne - | OneHundredAndFiftyFive - | OneHundredAndFiftySeven - | OneHundredAndFiftyNine + | OneHundredAndThirtyOne + | OneHundredAndForty + | OneHundredAndFortyTwo + | OneHundredAndFiftySix + | OneHundredAndFiftyEight | OneHundredAndSixty | OneHundredAndSixtyOne | OneHundredAndSixtyTwo - | OneHundredAndSeventy + | OneHundredAndSixtyThree | OneHundredAndSeventyOne | OneHundredAndSeventyTwo - | OneHundredAndSeventyFour - | OneHundredAndSeventyEight - | OneHundredAndEighty - | OneHundredAndNinetyTwo + | OneHundredAndSeventyThree + | OneHundredAndSeventyFive + | OneHundredAndSeventyNine + | OneHundredAndEightyOne | OneHundredAndNinetyThree | OneHundredAndNinetyFour - | OneHundredAndNinetyEight + | OneHundredAndNinetyFive | OneHundredAndNinetyNine - | TwoHundredAndOne - | TwoHundredAndEleven + | TwoHundred + | TwoHundredAndTwo | TwoHundredAndTwelve - | TwoHundredAndSixteen - | TwoHundredAndTwentySeven - | TwoHundredAndThirtyFour - | TwoHundredAndThirtyEight - | TwoHundredAndFortyOne - | TwoHundredAndFortyThree - | TwoHundredAndFifty - | TwoHundredAndFiftySix - | TwoHundredAndFiftyEight - | TwoHundredAndSixtyTwo - | TwoHundredAndSixtyThree - | TwoHundredAndSixtyFour + | TwoHundredAndThirteen + | TwoHundredAndSeventeen + | TwoHundredAndTwentyEight + | TwoHundredAndThirtyFive + | TwoHundredAndThirtyNine + | TwoHundredAndFortyTwo + | TwoHundredAndFortyFour + | TwoHundredAndFortySix + | TwoHundredAndFiftyThree + | TwoHundredAndFiftyNine + | TwoHundredAndSixtyOne | TwoHundredAndSixtyFive | TwoHundredAndSixtySix - | TwoHundredAndSeventyOne - | TwoHundredAndSeventyTwo - | TwoHundredAndSeventyThree + | TwoHundredAndSixtySeven + | TwoHundredAndSixtyEight + | TwoHundredAndSixtyNine | TwoHundredAndSeventyFour - | TwoHundredAndEightyFour - | TwoHundredAndNinetyOne - | TwoHundredAndNinetyThree - | TwoHundredAndNinetyFive + | TwoHundredAndSeventyFive + | TwoHundredAndSeventySix + | TwoHundredAndSeventySeven + | TwoHundredAndEightySeven + | TwoHundredAndNinetyFour | TwoHundredAndNinetySix | TwoHundredAndNinetyEight + | TwoHundredAndNinetyNine | ThreeHundredAndOne - | ThreeHundredAndTwo | ThreeHundredAndFour | ThreeHundredAndFive | ThreeHundredAndSeven - | ThreeHundredAndTwelve + | ThreeHundredAndEight + | ThreeHundredAndTen | ThreeHundredAndFifteen - | ThreeHundredAndSixteen - | ThreeHundredAndTwentySix - | ThreeHundredAndTwentySeven - | ThreeHundredAndTwentyEight + | ThreeHundredAndEighteen + | ThreeHundredAndNineteen + | ThreeHundredAndTwentyNine | ThreeHundredAndThirty | ThreeHundredAndThirtyOne - | ThreeHundredAndThirtyTwo | ThreeHundredAndThirtyThree | ThreeHundredAndThirtyFour + | ThreeHundredAndThirtyFive + | ThreeHundredAndThirtySix | ThreeHundredAndThirtySeven - | ThreeHundredAndThirtyEight - | ThreeHundredAndThirtyNine - | ThreeHundredAndFortyFour - | ThreeHundredAndFiftyOne + | ThreeHundredAndForty + | ThreeHundredAndFortyOne + | ThreeHundredAndFortyTwo + | ThreeHundredAndFortySeven | ThreeHundredAndFiftyFour - | ThreeHundredAndFiftyFive | ThreeHundredAndFiftySeven - | ThreeHundredAndSixtyNine - | ThreeHundredAndSeventy - | ThreeHundredAndSeventyOne + | ThreeHundredAndFiftyEight + | ThreeHundredAndSixty | ThreeHundredAndSeventyTwo | ThreeHundredAndSeventyThree - | ThreeHundredAndEightyFour + | ThreeHundredAndSeventyFour + | ThreeHundredAndSeventyFive + | ThreeHundredAndSeventySix | ThreeHundredAndEightySeven | ThreeHundredAndNinety - | FourHundredAndNine - | FourHundredAndSeventeen - | FourHundredAndEighteen - | FourHundredAndTwentyOne - | FourHundredAndThirtyFive + | ThreeHundredAndNinetyFive + | FourHundredAndFourteen + | FourHundredAndTwentyTwo + | FourHundredAndTwentyThree + | FourHundredAndTwentySix | FourHundredAndForty - | FourHundredAndSixtyFour - | FourHundredAndEightyNine - | FourHundredAndNinetyFive - | FourHundredAndNinetySix - | FourHundredAndNinetyNine - | FiveHundredAndTen - | FiveHundredAndEleven - | FiveHundredAndTwentySix - | FiveHundredAndTwentyEight - | FiveHundredAndTwentyNine - | FiveHundredAndThirty + | FourHundredAndFortyFive + | FourHundredAndSixtyNine + | FourHundredAndNinetyFour + | FiveHundred + | FiveHundredAndOne + | FiveHundredAndFour + | FiveHundredAndFifteen + | FiveHundredAndSixteen | FiveHundredAndThirtyOne - | FiveHundredAndThirtyTwo - | FiveHundredAndThirtyEight - | FiveHundredAndForty - | FiveHundredAndFortyOne + | FiveHundredAndThirtyThree + | FiveHundredAndThirtyFour + | FiveHundredAndThirtyFive + | FiveHundredAndThirtySix + | FiveHundredAndThirtySeven + | FiveHundredAndFortyThree + | FiveHundredAndFortyFive + | FiveHundredAndFortySix | Payload2 | Six | Seven @@ -1626,127 +1777,128 @@ export type Payload = | FortyTwo | FortyThree | Fifty - | SixtyOne - | SixtyThree - | SixtySix - | SeventyFour - | SeventySeven - | SeventyNine - | EightyFive + | SixtyTwo + | SixtyFour + | SixtySeven + | SeventyFive + | SeventyEight + | Eighty | EightySix - | NinetyOne - | NinetyFive + | EightySeven + | NinetyTwo | NinetySix | NinetySeven - | OneHundred - | OneHundredAndFive - | OneHundredAndEleven - | OneHundredAndNineteen + | NinetyEight + | OneHundredAndOne + | OneHundredAndSix + | OneHundredAndTwelve | OneHundredAndTwenty | OneHundredAndTwentyOne | OneHundredAndTwentyTwo | OneHundredAndTwentyThree - | OneHundredAndTwentySeven - | OneHundredAndThirtyTwo - | OneHundredAndFortyTwo - | OneHundredAndFortyNine + | OneHundredAndTwentyFour + | OneHundredAndTwentyEight + | OneHundredAndThirtyThree + | OneHundredAndFortyThree | OneHundredAndFifty - | OneHundredAndFiftyThree - | OneHundredAndFiftyEight - | OneHundredAndSixtySix - | OneHundredAndSeventyThree - | OneHundredAndSeventySix + | OneHundredAndFiftyOne + | OneHundredAndFiftyFour + | OneHundredAndFiftyNine + | OneHundredAndSixtySeven + | OneHundredAndSeventyFour | OneHundredAndSeventySeven - | OneHundredAndEightyOne + | OneHundredAndSeventyEight | OneHundredAndEightyTwo - | OneHundredAndEightySeven - | TwoHundred - | TwoHundredAndThirteen - | TwoHundredAndTwentyFive + | OneHundredAndEightyThree + | OneHundredAndEightyEight + | TwoHundredAndOne + | TwoHundredAndFourteen | TwoHundredAndTwentySix - | TwoHundredAndThirtyOne - | TwoHundredAndThirtyNine + | TwoHundredAndTwentySeven + | TwoHundredAndThirtyTwo | TwoHundredAndForty - | TwoHundredAndFortyTwo - | TwoHundredAndFortyFive + | TwoHundredAndFortyOne + | TwoHundredAndFortyThree | TwoHundredAndFortySeven | TwoHundredAndFortyEight - | TwoHundredAndFiftyFour - | TwoHundredAndFiftyFive - | TwoHundredAndSeventySix + | TwoHundredAndFifty + | TwoHundredAndFiftyOne + | TwoHundredAndFiftySeven + | TwoHundredAndFiftyEight | TwoHundredAndSeventyNine - | TwoHundredAndEightyOne - | TwoHundredAndEightyEight - | TwoHundredAndNinety - | TwoHundredAndNinetyTwo - | TwoHundredAndNinetyFour - | TwoHundredAndNinetyNine - | ThreeHundred - | ThreeHundredAndTen + | TwoHundredAndEightyTwo + | TwoHundredAndEightyFour + | TwoHundredAndNinetyOne + | TwoHundredAndNinetyThree + | TwoHundredAndNinetyFive + | TwoHundredAndNinetySeven + | ThreeHundredAndTwo + | ThreeHundredAndThree | ThreeHundredAndThirteen - | ThreeHundredAndTwentyOne - | ThreeHundredAndFortySeven - | ThreeHundredAndFortyNine + | ThreeHundredAndSixteen + | ThreeHundredAndTwentyFour | ThreeHundredAndFifty | ThreeHundredAndFiftyTwo - | ThreeHundredAndFiftySix - | ThreeHundredAndFiftyEight - | ThreeHundredAndSixty - | ThreeHundredAndSixtyTwo - | ThreeHundredAndSixtyFour + | ThreeHundredAndFiftyThree + | ThreeHundredAndFiftyFive + | ThreeHundredAndFiftyNine + | ThreeHundredAndSixtyOne + | ThreeHundredAndSixtyThree | ThreeHundredAndSixtyFive | ThreeHundredAndSixtySeven - | ThreeHundredAndSeventyFour - | ThreeHundredAndSeventyEight - | ThreeHundredAndEighty + | ThreeHundredAndSixtyEight + | ThreeHundredAndSeventy + | ThreeHundredAndSeventySeven + | ThreeHundredAndEightyOne | ThreeHundredAndEightyThree - | ThreeHundredAndEightyFive - | ThreeHundredAndEightyNine + | ThreeHundredAndEightySix + | ThreeHundredAndEightyEight | ThreeHundredAndNinetyTwo - | ThreeHundredAndNinetyThree | ThreeHundredAndNinetySix | ThreeHundredAndNinetySeven - | FourHundred | FourHundredAndOne | FourHundredAndTwo - | FourHundredAndNineteen + | FourHundredAndFive + | FourHundredAndSix + | FourHundredAndSeven | FourHundredAndTwentyFour - | FourHundredAndTwentySeven - | FourHundredAndTwentyEight - | FourHundredAndThirtySix - | FourHundredAndFortyTwo - | FourHundredAndFortyThree - | FourHundredAndFortySix + | FourHundredAndTwentyNine + | FourHundredAndThirtyTwo + | FourHundredAndThirtyThree + | FourHundredAndFortyOne + | FourHundredAndFortySeven | FourHundredAndFortyEight + | FourHundredAndFiftyOne | FourHundredAndFiftyThree - | FourHundredAndFiftyFour - | FourHundredAndSixtyTwo + | FourHundredAndFiftyEight + | FourHundredAndFiftyNine | FourHundredAndSixtySeven - | FourHundredAndSixtyEight - | FourHundredAndSixtyNine + | FourHundredAndSeventyTwo + | FourHundredAndSeventyThree | FourHundredAndSeventyFour - | FourHundredAndSeventySix + | FourHundredAndSeventyNine | FourHundredAndEightyOne - | FourHundredAndEightyTwo - | FourHundredAndEightyFive + | FourHundredAndEightySix | FourHundredAndEightySeven + | FourHundredAndNinety | FourHundredAndNinetyTwo - | FourHundredAndNinetyThree - | FourHundredAndNinetyFour + | FourHundredAndNinetySeven | FourHundredAndNinetyEight - | FiveHundred - | FiveHundredAndOne + | FourHundredAndNinetyNine + | FiveHundredAndThree | FiveHundredAndFive | FiveHundredAndSix - | FiveHundredAndEight - | FiveHundredAndNineteen - | FiveHundredAndTwentyFive - | FiveHundredAndThirtyFour - | FiveHundredAndThirtySeven + | FiveHundredAndTen + | FiveHundredAndEleven + | FiveHundredAndThirteen + | FiveHundredAndTwentyFour + | FiveHundredAndThirty | FiveHundredAndThirtyNine - | FiveHundredAndFortyThree - | FiveHundredAndFortyFive + | FiveHundredAndFortyTwo + | FiveHundredAndFortyFour | FiveHundredAndFortyEight + | FiveHundredAndFifty + | FiveHundredAndFiftyThree | TwentyThree | TwentyNine | Thirty @@ -1762,7 +1914,6 @@ export type Payload = | FortyEight | FortyNine | FiftyOne - | FiftyThree | FiftyFour | FiftyFive | FiftySix @@ -1770,144 +1921,148 @@ export type Payload = | FiftyEight | FiftyNine | Sixty - | SixtyTwo - | SixtySeven - | SeventyEight - | Eighty + | SixtyOne + | SixtyThree + | SixtyEight + | SeventyNine | EightyOne | EightyTwo | EightyThree | EightyFour - | Ninety - | NinetyTwo + | EightyFive + | NinetyOne | NinetyThree | NinetyFour - | NinetyEight - | OneHundredAndOne - | OneHundredAndFour - | OneHundredAndSix - | OneHundredAndTwelve - | OneHundredAndSeventeen + | NinetyFive + | NinetyNine + | OneHundredAndTwo + | OneHundredAndFive + | OneHundredAndSeven + | OneHundredAndThirteen | OneHundredAndEighteen - | OneHundredAndTwentyFive + | OneHundredAndNineteen | OneHundredAndTwentySix - | OneHundredAndTwentyEight - | OneHundredAndThirtyFive + | OneHundredAndTwentySeven + | OneHundredAndTwentyNine | OneHundredAndThirtySix | OneHundredAndThirtySeven - | OneHundredAndFortyEight - | OneHundredAndFiftyOne - | OneHundredAndFiftySix - | OneHundredAndSixtyThree + | OneHundredAndThirtyEight + | OneHundredAndFortyNine + | OneHundredAndFiftyTwo + | OneHundredAndFiftySeven | OneHundredAndSixtyFour | OneHundredAndSixtyFive - | OneHundredAndSixtySeven - | OneHundredAndEightyThree - | OneHundredAndNinetyFive + | OneHundredAndSixtySix + | OneHundredAndSixtyEight + | OneHundredAndEightyFour | OneHundredAndNinetySix - | TwoHundredAndTwo - | TwoHundredAndFour + | OneHundredAndNinetySeven + | TwoHundredAndThree | TwoHundredAndFive - | TwoHundredAndTwentyNine + | TwoHundredAndSix | TwoHundredAndThirty - | TwoHundredAndThirtyTwo - | TwoHundredAndThirtyFive + | TwoHundredAndThirtyOne + | TwoHundredAndThirtyThree | TwoHundredAndThirtySix | TwoHundredAndThirtySeven - | TwoHundredAndFortyFour - | TwoHundredAndEighty + | TwoHundredAndThirtyEight + | TwoHundredAndFortyFive | TwoHundredAndEightyThree - | TwoHundredAndEightyNine - | TwoHundredAndNinetySeven - | ThreeHundredAndEleven - | ThreeHundredAndThirtyFive - | ThreeHundredAndThirtySix - | ThreeHundredAndFortyFive + | TwoHundredAndEightySix + | TwoHundredAndNinetyTwo + | ThreeHundred + | ThreeHundredAndFourteen + | ThreeHundredAndThirtyEight + | ThreeHundredAndThirtyNine | ThreeHundredAndFortyEight - | ThreeHundredAndFiftyNine - | ThreeHundredAndSixtyOne - | ThreeHundredAndEightyTwo - | ThreeHundredAndNinetyNine - | FourHundredAndThree - | FourHundredAndTen - | FourHundredAndEleven - | FourHundredAndTwelve - | FourHundredAndThirteen + | ThreeHundredAndFiftyOne + | ThreeHundredAndSixtyTwo + | ThreeHundredAndSixtyFour + | ThreeHundredAndEightyFive + | ThreeHundredAndNinetyFour + | FourHundredAndFour + | FourHundredAndEight | FourHundredAndFifteen | FourHundredAndSixteen + | FourHundredAndSeventeen + | FourHundredAndEighteen | FourHundredAndTwenty - | FourHundredAndTwentyThree - | FourHundredAndTwentySix - | FourHundredAndFortyOne - | FourHundredAndFortyFour - | FourHundredAndFifty - | FourHundredAndFiftyOne + | FourHundredAndTwentyOne + | FourHundredAndTwentyFive + | FourHundredAndTwentyEight + | FourHundredAndThirtyOne + | FourHundredAndFortySix + | FourHundredAndFortyNine + | FourHundredAndFiftyFive | FourHundredAndFiftySix - | FourHundredAndFiftySeven - | FourHundredAndFiftyEight - | FourHundredAndFiftyNine | FourHundredAndSixtyOne + | FourHundredAndSixtyTwo | FourHundredAndSixtyThree - | FourHundredAndSeventy - | FourHundredAndSeventyTwo - | FourHundredAndSeventyThree - | FourHundredAndSeventySeven - | FourHundredAndSeventyNine - | FourHundredAndEightyThree + | FourHundredAndSixtyFour + | FourHundredAndSixtySix + | FourHundredAndSixtyEight + | FourHundredAndSeventyFive + | FourHundredAndSeventySeven + | FourHundredAndSeventyEight + | FourHundredAndEightyTwo | FourHundredAndEightyFour | FourHundredAndEightyEight - | FourHundredAndNinety - | FourHundredAndNinetyOne - | FourHundredAndNinetySeven + | FourHundredAndEightyNine + | FourHundredAndNinetyThree + | FourHundredAndNinetyFive + | FourHundredAndNinetySix | FiveHundredAndTwo - | FiveHundredAndThree - | FiveHundredAndFour - | FiveHundredAndEighteen - | FiveHundredAndTwenty - | FiveHundredAndThirtyThree - | FiveHundredAndThirtyFive - | FiveHundredAndFortyFour + | FiveHundredAndSeven + | FiveHundredAndEight + | FiveHundredAndNine + | FiveHundredAndTwentyThree + | FiveHundredAndTwentyFive + | FiveHundredAndThirtyEight + | FiveHundredAndForty + | FiveHundredAndFortyNine | Payload1 | Payload3 | FiftyTwo - | SixtyFour + | FiftyThree | SixtyFive - | SixtyNine + | SixtySix | Seventy | SeventyOne | SeventyTwo - | SeventyFive + | SeventyThree | SeventySix - | EightySeven - | OneHundredAndThree - | OneHundredAndSeven - | OneHundredAndEightyFour + | SeventySeven + | EightyEight + | OneHundredAndFour + | OneHundredAndEight | OneHundredAndEightyFive | OneHundredAndEightySix - | OneHundredAndEightyNine - | OneHundredAndNinetyOne - | TwoHundredAndThirtyThree - | TwoHundredAndEightyFive - | TwoHundredAndEightySix - | ThreeHundredAndEight - | ThreeHundredAndNine - | ThreeHundredAndEightyEight - | FourHundredAndFive - | FourHundredAndFourteen - | FourHundredAndTwentyTwo - | FourHundredAndThirtySeven - | FourHundredAndThirtyEight - | FourHundredAndThirtyNine - | FourHundredAndFortySeven - | FourHundredAndFortyNine + | OneHundredAndEightySeven + | OneHundredAndNinety + | OneHundredAndNinetyTwo + | TwoHundredAndThirtyFour + | TwoHundredAndEightyEight + | TwoHundredAndEightyNine + | ThreeHundredAndEleven + | ThreeHundredAndTwelve + | ThreeHundredAndNinetyOne + | ThreeHundredAndNinetyThree + | FourHundredAndTen + | FourHundredAndNineteen + | FourHundredAndTwentySeven + | FourHundredAndFortyTwo + | FourHundredAndFortyThree + | FourHundredAndFortyFour | FourHundredAndFiftyTwo - | FourHundredAndFiftyFive - | FourHundredAndSixtyFive - | FourHundredAndSixtySix + | FourHundredAndFiftyFour + | FourHundredAndFiftySeven + | FourHundredAndSixty + | FourHundredAndSeventy | FourHundredAndSeventyOne - | FourHundredAndSeventyFive + | FourHundredAndSeventySix | FourHundredAndEighty - | FourHundredAndEightySix; + | FourHundredAndEightyFive + | FourHundredAndNinetyOne; export const UserEventPrincipal5Type = { System: "system", @@ -2068,6 +2223,8 @@ export const UserEventType = { "ai-gateway-inference-hooks-headers-cleared", AiGatewayInferenceHooksHeadersUpdated: "ai-gateway-inference-hooks-headers-updated", + AiGatewayInferenceHooksPreviousSigningSecretRetired: + "ai-gateway-inference-hooks-previous-signing-secret-retired", AiGatewayInferenceHooksRemoved: "ai-gateway-inference-hooks-removed", AiGatewayInferenceHooksSettingsUpdated: "ai-gateway-inference-hooks-settings-updated", @@ -2458,6 +2615,8 @@ export const UserEventType = { OidcPolicyDeleted: "oidc-policy-deleted", OidcPolicyUpdated: "oidc-policy-updated", OidcPolicyUsedToObtainAppToken: "oidc-policy-used-to-obtain-app-token", + OrganizationAdminInviteRevoked: "organization-admin-invite-revoked", + OrganizationAdminRemoved: "organization-admin-removed", OrganizationAvatarUpdate: "organization-avatar-update", OrganizationCreate: "organization-create", OrganizationDelete: "organization-delete", @@ -2683,12 +2842,17 @@ export const UserEventType = { SamlIdpMaterialSet: "saml-idp-material-set", SamlIdpMaterialSystemDeleted: "saml-idp-material-system-deleted", SamlIdpMaterialSystemSet: "saml-idp-material-system-set", + SamlLoginProviderChanged: "saml-login-provider-changed", + SandboxAiGatewayCredentialsConfigured: + "sandbox-ai-gateway-credentials-configured", SandboxAliasAssigned: "sandbox-alias-assigned", SandboxAliasDelete: "sandbox-alias-delete", SandboxDriveCreated: "sandbox-drive-created", SandboxDriveDeleted: "sandbox-drive-deleted", SandboxDriveSnapshotCreated: "sandbox-drive-snapshot-created", SandboxDriveSnapshotDeleted: "sandbox-drive-snapshot-deleted", + SandboxExpiryNotificationLeadTimeUpdated: + "sandbox-expiry-notification-lead-time-updated", SandboxNpmCredentialsConfigured: "sandbox-npm-credentials-configured", SandboxSignedCommitIdentityConfigured: "sandbox-signed-commit-identity-configured", @@ -3043,256 +3207,257 @@ export type UserEvent = { */ id: string; payload?: - | FourHundredAndThirtyThree - | FourHundredAndThirtyFour - | FourHundredAndThirtyTwo - | FourHundredAndThirtyOne - | TwoHundredAndSeventeen - | TwoHundredAndSix - | FourHundredAndTwentyFive - | TwoHundredAndSeventySeven - | OneHundredAndEight + | FourHundredAndThirtyEight + | FourHundredAndThirtyNine + | FourHundredAndThirtySeven + | FourHundredAndThirtySix | TwoHundredAndEighteen - | FiveHundredAndThirtySix + | TwoHundredAndSeven + | FourHundredAndThirty + | TwoHundredAndEighty + | OneHundredAndNine + | TwoHundredAndNineteen + | FiveHundredAndFortyOne | Nine - | OneHundredAndFortySix - | TwoHundredAndTwenty + | OneHundredAndFortySeven | TwoHundredAndTwentyOne - | TwoHundredAndSixtyNine - | ThreeHundredAndFortyOne + | TwoHundredAndTwentyTwo + | TwoHundredAndSeventyTwo + | ThreeHundredAndFortyFour | Five | Eleven - | OneHundredAndSixtyNine - | OneHundredAndNinety - | TwoHundredAndTen - | TwoHundredAndFourteen - | TwoHundredAndNineteen - | TwoHundredAndFiftyOne - | TwoHundredAndFiftyTwo - | ThreeHundredAndSeventeen - | ThreeHundredAndEightyOne - | FourHundredAndSix - | FourHundredAndEight - | FiveHundredAndTwentyFour + | OneHundredAndSeventy + | OneHundredAndNinetyOne + | TwoHundredAndEleven + | TwoHundredAndFifteen + | TwoHundredAndTwenty + | TwoHundredAndFiftyFour + | TwoHundredAndFiftyFive + | ThreeHundredAndTwenty + | ThreeHundredAndEightyFour + | FourHundredAndEleven + | FourHundredAndThirteen + | FiveHundredAndTwentyNine | Ten | Fourteen | Sixteen | FortySeven - | OneHundredAndThirtyEight - | OneHundredAndFortyThree + | OneHundredAndThirtyNine | OneHundredAndFortyFour | OneHundredAndFortyFive - | OneHundredAndFortySeven - | OneHundredAndFiftyFour - | OneHundredAndEightyEight - | OneHundredAndNinetySeven - | TwoHundredAndThree - | TwoHundredAndNine - | TwoHundredAndFifteen - | TwoHundredAndFortyNine - | TwoHundredAndFiftySeven - | TwoHundredAndSixtyOne - | TwoHundredAndEightySeven - | ThreeHundredAndEighteen - | ThreeHundredAndTwentyNine - | ThreeHundredAndFortyThree - | ThreeHundredAndFiftyThree - | ThreeHundredAndNinetyOne - | FourHundredAndThirty - | FiveHundredAndTwelve - | FiveHundredAndFourteen - | FiveHundredAndTwentyOne - | FiveHundredAndTwentySeven - | FiveHundredAndFortyTwo + | OneHundredAndFortySix + | OneHundredAndFortyEight + | OneHundredAndFiftyFive + | OneHundredAndEightyNine + | OneHundredAndNinetyEight + | TwoHundredAndFour + | TwoHundredAndTen + | TwoHundredAndSixteen + | TwoHundredAndFiftyTwo + | TwoHundredAndSixty + | TwoHundredAndSixtyFour + | TwoHundredAndNinety + | ThreeHundredAndTwentyOne + | ThreeHundredAndThirtyTwo + | ThreeHundredAndFortySix + | ThreeHundredAndFiftySix + | FourHundredAndThirtyFive + | FiveHundredAndSeventeen + | FiveHundredAndNineteen + | FiveHundredAndTwentySix + | FiveHundredAndThirtyTwo + | FiveHundredAndFortySeven | Four | Seventeen | Nineteen | TwentyEight | FortyOne - | EightyEight | EightyNine - | OneHundredAndNine + | Ninety | OneHundredAndTen - | OneHundredAndThirtyOne - | OneHundredAndThirtyThree + | OneHundredAndEleven + | OneHundredAndThirtyTwo + | OneHundredAndThirtyFour | DeploymentCheckUpdatedPayload - | OneHundredAndForty - | OneHundredAndFiftyTwo - | OneHundredAndSixtyEight - | OneHundredAndSeventyFive - | OneHundredAndSeventyNine - | TwoHundredAndSeven + | OneHundredAndFortyOne + | OneHundredAndFiftyThree + | OneHundredAndSixtyNine + | OneHundredAndSeventySix + | OneHundredAndEighty | TwoHundredAndEight - | TwoHundredAndTwentyTwo + | TwoHundredAndNine | TwoHundredAndTwentyThree | TwoHundredAndTwentyFour - | TwoHundredAndTwentyEight - | TwoHundredAndFortySix - | TwoHundredAndFiftyThree - | TwoHundredAndFiftyNine - | TwoHundredAndSixty - | TwoHundredAndSixtySeven - | TwoHundredAndSixtyEight + | TwoHundredAndTwentyFive + | TwoHundredAndTwentyNine + | TwoHundredAndFortyNine + | TwoHundredAndFiftySix + | TwoHundredAndSixtyTwo + | TwoHundredAndSixtyThree | TwoHundredAndSeventy - | TwoHundredAndSeventyFive + | TwoHundredAndSeventyOne + | TwoHundredAndSeventyThree | TwoHundredAndSeventyEight - | TwoHundredAndEightyTwo - | ThreeHundredAndThree + | TwoHundredAndEightyOne + | TwoHundredAndEightyFive | ThreeHundredAndSix - | ThreeHundredAndFourteen - | ThreeHundredAndNineteen - | ThreeHundredAndTwenty + | ThreeHundredAndNine + | ThreeHundredAndSeventeen | ThreeHundredAndTwentyTwo | ThreeHundredAndTwentyThree - | ThreeHundredAndTwentyFour | ThreeHundredAndTwentyFive - | ThreeHundredAndForty - | ThreeHundredAndFortyTwo - | ThreeHundredAndFortySix - | ThreeHundredAndSixtyThree - | ThreeHundredAndSixtySix - | ThreeHundredAndSixtyEight - | ThreeHundredAndSeventyFive - | ThreeHundredAndSeventySix - | ThreeHundredAndSeventySeven - | ThreeHundredAndSeventyNine - | ThreeHundredAndEightySix - | ThreeHundredAndNinetyFour - | ThreeHundredAndNinetyFive - | ThreeHundredAndNinetyEight - | FourHundredAndFour - | FourHundredAndSeven - | FourHundredAndTwentyNine - | FourHundredAndFortyFive - | FourHundredAndSixty - | FourHundredAndSeventyEight - | FiveHundredAndSeven - | FiveHundredAndNine - | FiveHundredAndThirteen - | FiveHundredAndFifteen - | FiveHundredAndSixteen - | FiveHundredAndSeventeen + | ThreeHundredAndTwentySix + | ThreeHundredAndTwentySeven + | ThreeHundredAndTwentyEight + | ThreeHundredAndFortyThree + | ThreeHundredAndFortyFive + | ThreeHundredAndFortyNine + | ThreeHundredAndSixtySix + | ThreeHundredAndSixtyNine + | ThreeHundredAndSeventyOne + | ThreeHundredAndSeventyEight + | ThreeHundredAndSeventyNine + | ThreeHundredAndEighty + | ThreeHundredAndEightyTwo + | ThreeHundredAndEightyNine + | ThreeHundredAndNinetyEight + | ThreeHundredAndNinetyNine + | FourHundred + | FourHundredAndThree + | FourHundredAndNine + | FourHundredAndTwelve + | FourHundredAndThirtyFour + | FourHundredAndFifty + | FourHundredAndSixtyFive + | FourHundredAndEightyThree + | FiveHundredAndTwelve + | FiveHundredAndFourteen + | FiveHundredAndEighteen + | FiveHundredAndTwenty + | FiveHundredAndTwentyOne | FiveHundredAndTwentyTwo - | FiveHundredAndTwentyThree - | FiveHundredAndFortySix - | FiveHundredAndFortySeven + | FiveHundredAndTwentySeven + | FiveHundredAndTwentyEight + | FiveHundredAndFiftyOne + | FiveHundredAndFiftyTwo | Eight | Twelve | Fifteen | Eighteen | Twenty | TwentySeven - | SixtyEight - | SeventyThree - | NinetyNine - | OneHundredAndTwo - | OneHundredAndThirteen + | SixtyNine + | SeventyFour + | OneHundred + | OneHundredAndThree | OneHundredAndFourteen | OneHundredAndFifteen | OneHundredAndSixteen - | OneHundredAndTwentyFour - | OneHundredAndTwentyNine + | OneHundredAndSeventeen + | OneHundredAndTwentyFive | OneHundredAndThirty - | OneHundredAndThirtyNine - | OneHundredAndFortyOne - | OneHundredAndFiftyFive - | OneHundredAndFiftySeven - | OneHundredAndFiftyNine + | OneHundredAndThirtyOne + | OneHundredAndForty + | OneHundredAndFortyTwo + | OneHundredAndFiftySix + | OneHundredAndFiftyEight | OneHundredAndSixty | OneHundredAndSixtyOne | OneHundredAndSixtyTwo - | OneHundredAndSeventy + | OneHundredAndSixtyThree | OneHundredAndSeventyOne | OneHundredAndSeventyTwo - | OneHundredAndSeventyFour - | OneHundredAndSeventyEight - | OneHundredAndEighty - | OneHundredAndNinetyTwo + | OneHundredAndSeventyThree + | OneHundredAndSeventyFive + | OneHundredAndSeventyNine + | OneHundredAndEightyOne | OneHundredAndNinetyThree | OneHundredAndNinetyFour - | OneHundredAndNinetyEight + | OneHundredAndNinetyFive | OneHundredAndNinetyNine - | TwoHundredAndOne - | TwoHundredAndEleven + | TwoHundred + | TwoHundredAndTwo | TwoHundredAndTwelve - | TwoHundredAndSixteen - | TwoHundredAndTwentySeven - | TwoHundredAndThirtyFour - | TwoHundredAndThirtyEight - | TwoHundredAndFortyOne - | TwoHundredAndFortyThree - | TwoHundredAndFifty - | TwoHundredAndFiftySix - | TwoHundredAndFiftyEight - | TwoHundredAndSixtyTwo - | TwoHundredAndSixtyThree - | TwoHundredAndSixtyFour + | TwoHundredAndThirteen + | TwoHundredAndSeventeen + | TwoHundredAndTwentyEight + | TwoHundredAndThirtyFive + | TwoHundredAndThirtyNine + | TwoHundredAndFortyTwo + | TwoHundredAndFortyFour + | TwoHundredAndFortySix + | TwoHundredAndFiftyThree + | TwoHundredAndFiftyNine + | TwoHundredAndSixtyOne | TwoHundredAndSixtyFive | TwoHundredAndSixtySix - | TwoHundredAndSeventyOne - | TwoHundredAndSeventyTwo - | TwoHundredAndSeventyThree + | TwoHundredAndSixtySeven + | TwoHundredAndSixtyEight + | TwoHundredAndSixtyNine | TwoHundredAndSeventyFour - | TwoHundredAndEightyFour - | TwoHundredAndNinetyOne - | TwoHundredAndNinetyThree - | TwoHundredAndNinetyFive + | TwoHundredAndSeventyFive + | TwoHundredAndSeventySix + | TwoHundredAndSeventySeven + | TwoHundredAndEightySeven + | TwoHundredAndNinetyFour | TwoHundredAndNinetySix | TwoHundredAndNinetyEight + | TwoHundredAndNinetyNine | ThreeHundredAndOne - | ThreeHundredAndTwo | ThreeHundredAndFour | ThreeHundredAndFive | ThreeHundredAndSeven - | ThreeHundredAndTwelve + | ThreeHundredAndEight + | ThreeHundredAndTen | ThreeHundredAndFifteen - | ThreeHundredAndSixteen - | ThreeHundredAndTwentySix - | ThreeHundredAndTwentySeven - | ThreeHundredAndTwentyEight + | ThreeHundredAndEighteen + | ThreeHundredAndNineteen + | ThreeHundredAndTwentyNine | ThreeHundredAndThirty | ThreeHundredAndThirtyOne - | ThreeHundredAndThirtyTwo | ThreeHundredAndThirtyThree | ThreeHundredAndThirtyFour + | ThreeHundredAndThirtyFive + | ThreeHundredAndThirtySix | ThreeHundredAndThirtySeven - | ThreeHundredAndThirtyEight - | ThreeHundredAndThirtyNine - | ThreeHundredAndFortyFour - | ThreeHundredAndFiftyOne + | ThreeHundredAndForty + | ThreeHundredAndFortyOne + | ThreeHundredAndFortyTwo + | ThreeHundredAndFortySeven | ThreeHundredAndFiftyFour - | ThreeHundredAndFiftyFive | ThreeHundredAndFiftySeven - | ThreeHundredAndSixtyNine - | ThreeHundredAndSeventy - | ThreeHundredAndSeventyOne + | ThreeHundredAndFiftyEight + | ThreeHundredAndSixty | ThreeHundredAndSeventyTwo | ThreeHundredAndSeventyThree - | ThreeHundredAndEightyFour + | ThreeHundredAndSeventyFour + | ThreeHundredAndSeventyFive + | ThreeHundredAndSeventySix | ThreeHundredAndEightySeven | ThreeHundredAndNinety - | FourHundredAndNine - | FourHundredAndSeventeen - | FourHundredAndEighteen - | FourHundredAndTwentyOne - | FourHundredAndThirtyFive + | ThreeHundredAndNinetyFive + | FourHundredAndFourteen + | FourHundredAndTwentyTwo + | FourHundredAndTwentyThree + | FourHundredAndTwentySix | FourHundredAndForty - | FourHundredAndSixtyFour - | FourHundredAndEightyNine - | FourHundredAndNinetyFive - | FourHundredAndNinetySix - | FourHundredAndNinetyNine - | FiveHundredAndTen - | FiveHundredAndEleven - | FiveHundredAndTwentySix - | FiveHundredAndTwentyEight - | FiveHundredAndTwentyNine - | FiveHundredAndThirty + | FourHundredAndFortyFive + | FourHundredAndSixtyNine + | FourHundredAndNinetyFour + | FiveHundred + | FiveHundredAndOne + | FiveHundredAndFour + | FiveHundredAndFifteen + | FiveHundredAndSixteen | FiveHundredAndThirtyOne - | FiveHundredAndThirtyTwo - | FiveHundredAndThirtyEight - | FiveHundredAndForty - | FiveHundredAndFortyOne + | FiveHundredAndThirtyThree + | FiveHundredAndThirtyFour + | FiveHundredAndThirtyFive + | FiveHundredAndThirtySix + | FiveHundredAndThirtySeven + | FiveHundredAndFortyThree + | FiveHundredAndFortyFive + | FiveHundredAndFortySix | Payload2 | Six | Seven @@ -3309,127 +3474,128 @@ export type UserEvent = { | FortyTwo | FortyThree | Fifty - | SixtyOne - | SixtyThree - | SixtySix - | SeventyFour - | SeventySeven - | SeventyNine - | EightyFive + | SixtyTwo + | SixtyFour + | SixtySeven + | SeventyFive + | SeventyEight + | Eighty | EightySix - | NinetyOne - | NinetyFive + | EightySeven + | NinetyTwo | NinetySix | NinetySeven - | OneHundred - | OneHundredAndFive - | OneHundredAndEleven - | OneHundredAndNineteen + | NinetyEight + | OneHundredAndOne + | OneHundredAndSix + | OneHundredAndTwelve | OneHundredAndTwenty | OneHundredAndTwentyOne | OneHundredAndTwentyTwo | OneHundredAndTwentyThree - | OneHundredAndTwentySeven - | OneHundredAndThirtyTwo - | OneHundredAndFortyTwo - | OneHundredAndFortyNine + | OneHundredAndTwentyFour + | OneHundredAndTwentyEight + | OneHundredAndThirtyThree + | OneHundredAndFortyThree | OneHundredAndFifty - | OneHundredAndFiftyThree - | OneHundredAndFiftyEight - | OneHundredAndSixtySix - | OneHundredAndSeventyThree - | OneHundredAndSeventySix + | OneHundredAndFiftyOne + | OneHundredAndFiftyFour + | OneHundredAndFiftyNine + | OneHundredAndSixtySeven + | OneHundredAndSeventyFour | OneHundredAndSeventySeven - | OneHundredAndEightyOne + | OneHundredAndSeventyEight | OneHundredAndEightyTwo - | OneHundredAndEightySeven - | TwoHundred - | TwoHundredAndThirteen - | TwoHundredAndTwentyFive + | OneHundredAndEightyThree + | OneHundredAndEightyEight + | TwoHundredAndOne + | TwoHundredAndFourteen | TwoHundredAndTwentySix - | TwoHundredAndThirtyOne - | TwoHundredAndThirtyNine + | TwoHundredAndTwentySeven + | TwoHundredAndThirtyTwo | TwoHundredAndForty - | TwoHundredAndFortyTwo - | TwoHundredAndFortyFive + | TwoHundredAndFortyOne + | TwoHundredAndFortyThree | TwoHundredAndFortySeven | TwoHundredAndFortyEight - | TwoHundredAndFiftyFour - | TwoHundredAndFiftyFive - | TwoHundredAndSeventySix - | TwoHundredAndSeventyNine - | TwoHundredAndEightyOne - | TwoHundredAndEightyEight - | TwoHundredAndNinety - | TwoHundredAndNinetyTwo - | TwoHundredAndNinetyFour - | TwoHundredAndNinetyNine - | ThreeHundred - | ThreeHundredAndTen + | TwoHundredAndFifty + | TwoHundredAndFiftyOne + | TwoHundredAndFiftySeven + | TwoHundredAndFiftyEight + | TwoHundredAndSeventyNine + | TwoHundredAndEightyTwo + | TwoHundredAndEightyFour + | TwoHundredAndNinetyOne + | TwoHundredAndNinetyThree + | TwoHundredAndNinetyFive + | TwoHundredAndNinetySeven + | ThreeHundredAndTwo + | ThreeHundredAndThree | ThreeHundredAndThirteen - | ThreeHundredAndTwentyOne - | ThreeHundredAndFortySeven - | ThreeHundredAndFortyNine + | ThreeHundredAndSixteen + | ThreeHundredAndTwentyFour | ThreeHundredAndFifty | ThreeHundredAndFiftyTwo - | ThreeHundredAndFiftySix - | ThreeHundredAndFiftyEight - | ThreeHundredAndSixty - | ThreeHundredAndSixtyTwo - | ThreeHundredAndSixtyFour + | ThreeHundredAndFiftyThree + | ThreeHundredAndFiftyFive + | ThreeHundredAndFiftyNine + | ThreeHundredAndSixtyOne + | ThreeHundredAndSixtyThree | ThreeHundredAndSixtyFive | ThreeHundredAndSixtySeven - | ThreeHundredAndSeventyFour - | ThreeHundredAndSeventyEight - | ThreeHundredAndEighty + | ThreeHundredAndSixtyEight + | ThreeHundredAndSeventy + | ThreeHundredAndSeventySeven + | ThreeHundredAndEightyOne | ThreeHundredAndEightyThree - | ThreeHundredAndEightyFive - | ThreeHundredAndEightyNine + | ThreeHundredAndEightySix + | ThreeHundredAndEightyEight | ThreeHundredAndNinetyTwo - | ThreeHundredAndNinetyThree | ThreeHundredAndNinetySix | ThreeHundredAndNinetySeven - | FourHundred | FourHundredAndOne | FourHundredAndTwo - | FourHundredAndNineteen + | FourHundredAndFive + | FourHundredAndSix + | FourHundredAndSeven | FourHundredAndTwentyFour - | FourHundredAndTwentySeven - | FourHundredAndTwentyEight - | FourHundredAndThirtySix - | FourHundredAndFortyTwo - | FourHundredAndFortyThree - | FourHundredAndFortySix + | FourHundredAndTwentyNine + | FourHundredAndThirtyTwo + | FourHundredAndThirtyThree + | FourHundredAndFortyOne + | FourHundredAndFortySeven | FourHundredAndFortyEight + | FourHundredAndFiftyOne | FourHundredAndFiftyThree - | FourHundredAndFiftyFour - | FourHundredAndSixtyTwo + | FourHundredAndFiftyEight + | FourHundredAndFiftyNine | FourHundredAndSixtySeven - | FourHundredAndSixtyEight - | FourHundredAndSixtyNine + | FourHundredAndSeventyTwo + | FourHundredAndSeventyThree | FourHundredAndSeventyFour - | FourHundredAndSeventySix + | FourHundredAndSeventyNine | FourHundredAndEightyOne - | FourHundredAndEightyTwo - | FourHundredAndEightyFive + | FourHundredAndEightySix | FourHundredAndEightySeven + | FourHundredAndNinety | FourHundredAndNinetyTwo - | FourHundredAndNinetyThree - | FourHundredAndNinetyFour + | FourHundredAndNinetySeven | FourHundredAndNinetyEight - | FiveHundred - | FiveHundredAndOne + | FourHundredAndNinetyNine + | FiveHundredAndThree | FiveHundredAndFive | FiveHundredAndSix - | FiveHundredAndEight - | FiveHundredAndNineteen - | FiveHundredAndTwentyFive - | FiveHundredAndThirtyFour - | FiveHundredAndThirtySeven + | FiveHundredAndTen + | FiveHundredAndEleven + | FiveHundredAndThirteen + | FiveHundredAndTwentyFour + | FiveHundredAndThirty | FiveHundredAndThirtyNine - | FiveHundredAndFortyThree - | FiveHundredAndFortyFive + | FiveHundredAndFortyTwo + | FiveHundredAndFortyFour | FiveHundredAndFortyEight + | FiveHundredAndFifty + | FiveHundredAndFiftyThree | TwentyThree | TwentyNine | Thirty @@ -3445,7 +3611,6 @@ export type UserEvent = { | FortyEight | FortyNine | FiftyOne - | FiftyThree | FiftyFour | FiftyFive | FiftySix @@ -3453,144 +3618,148 @@ export type UserEvent = { | FiftyEight | FiftyNine | Sixty - | SixtyTwo - | SixtySeven - | SeventyEight - | Eighty + | SixtyOne + | SixtyThree + | SixtyEight + | SeventyNine | EightyOne | EightyTwo | EightyThree | EightyFour - | Ninety - | NinetyTwo + | EightyFive + | NinetyOne | NinetyThree | NinetyFour - | NinetyEight - | OneHundredAndOne - | OneHundredAndFour - | OneHundredAndSix - | OneHundredAndTwelve - | OneHundredAndSeventeen + | NinetyFive + | NinetyNine + | OneHundredAndTwo + | OneHundredAndFive + | OneHundredAndSeven + | OneHundredAndThirteen | OneHundredAndEighteen - | OneHundredAndTwentyFive + | OneHundredAndNineteen | OneHundredAndTwentySix - | OneHundredAndTwentyEight - | OneHundredAndThirtyFive + | OneHundredAndTwentySeven + | OneHundredAndTwentyNine | OneHundredAndThirtySix | OneHundredAndThirtySeven - | OneHundredAndFortyEight - | OneHundredAndFiftyOne - | OneHundredAndFiftySix - | OneHundredAndSixtyThree + | OneHundredAndThirtyEight + | OneHundredAndFortyNine + | OneHundredAndFiftyTwo + | OneHundredAndFiftySeven | OneHundredAndSixtyFour | OneHundredAndSixtyFive - | OneHundredAndSixtySeven - | OneHundredAndEightyThree - | OneHundredAndNinetyFive + | OneHundredAndSixtySix + | OneHundredAndSixtyEight + | OneHundredAndEightyFour | OneHundredAndNinetySix - | TwoHundredAndTwo - | TwoHundredAndFour + | OneHundredAndNinetySeven + | TwoHundredAndThree | TwoHundredAndFive - | TwoHundredAndTwentyNine + | TwoHundredAndSix | TwoHundredAndThirty - | TwoHundredAndThirtyTwo - | TwoHundredAndThirtyFive + | TwoHundredAndThirtyOne + | TwoHundredAndThirtyThree | TwoHundredAndThirtySix | TwoHundredAndThirtySeven - | TwoHundredAndFortyFour - | TwoHundredAndEighty + | TwoHundredAndThirtyEight + | TwoHundredAndFortyFive | TwoHundredAndEightyThree - | TwoHundredAndEightyNine - | TwoHundredAndNinetySeven - | ThreeHundredAndEleven - | ThreeHundredAndThirtyFive - | ThreeHundredAndThirtySix - | ThreeHundredAndFortyFive + | TwoHundredAndEightySix + | TwoHundredAndNinetyTwo + | ThreeHundred + | ThreeHundredAndFourteen + | ThreeHundredAndThirtyEight + | ThreeHundredAndThirtyNine | ThreeHundredAndFortyEight - | ThreeHundredAndFiftyNine - | ThreeHundredAndSixtyOne - | ThreeHundredAndEightyTwo - | ThreeHundredAndNinetyNine - | FourHundredAndThree - | FourHundredAndTen - | FourHundredAndEleven - | FourHundredAndTwelve - | FourHundredAndThirteen + | ThreeHundredAndFiftyOne + | ThreeHundredAndSixtyTwo + | ThreeHundredAndSixtyFour + | ThreeHundredAndEightyFive + | ThreeHundredAndNinetyFour + | FourHundredAndFour + | FourHundredAndEight | FourHundredAndFifteen | FourHundredAndSixteen + | FourHundredAndSeventeen + | FourHundredAndEighteen | FourHundredAndTwenty - | FourHundredAndTwentyThree - | FourHundredAndTwentySix - | FourHundredAndFortyOne - | FourHundredAndFortyFour - | FourHundredAndFifty - | FourHundredAndFiftyOne + | FourHundredAndTwentyOne + | FourHundredAndTwentyFive + | FourHundredAndTwentyEight + | FourHundredAndThirtyOne + | FourHundredAndFortySix + | FourHundredAndFortyNine + | FourHundredAndFiftyFive | FourHundredAndFiftySix - | FourHundredAndFiftySeven - | FourHundredAndFiftyEight - | FourHundredAndFiftyNine | FourHundredAndSixtyOne + | FourHundredAndSixtyTwo | FourHundredAndSixtyThree - | FourHundredAndSeventy - | FourHundredAndSeventyTwo - | FourHundredAndSeventyThree + | FourHundredAndSixtyFour + | FourHundredAndSixtySix + | FourHundredAndSixtyEight + | FourHundredAndSeventyFive | FourHundredAndSeventySeven - | FourHundredAndSeventyNine - | FourHundredAndEightyThree + | FourHundredAndSeventyEight + | FourHundredAndEightyTwo | FourHundredAndEightyFour | FourHundredAndEightyEight - | FourHundredAndNinety - | FourHundredAndNinetyOne - | FourHundredAndNinetySeven + | FourHundredAndEightyNine + | FourHundredAndNinetyThree + | FourHundredAndNinetyFive + | FourHundredAndNinetySix | FiveHundredAndTwo - | FiveHundredAndThree - | FiveHundredAndFour - | FiveHundredAndEighteen - | FiveHundredAndTwenty - | FiveHundredAndThirtyThree - | FiveHundredAndThirtyFive - | FiveHundredAndFortyFour + | FiveHundredAndSeven + | FiveHundredAndEight + | FiveHundredAndNine + | FiveHundredAndTwentyThree + | FiveHundredAndTwentyFive + | FiveHundredAndThirtyEight + | FiveHundredAndForty + | FiveHundredAndFortyNine | Payload1 | Payload3 | FiftyTwo - | SixtyFour + | FiftyThree | SixtyFive - | SixtyNine - | Seventy - | SeventyOne - | SeventyTwo - | SeventyFive - | SeventySix - | EightySeven - | OneHundredAndThree - | OneHundredAndSeven - | OneHundredAndEightyFour - | OneHundredAndEightyFive - | OneHundredAndEightySix - | OneHundredAndEightyNine - | OneHundredAndNinetyOne - | TwoHundredAndThirtyThree - | TwoHundredAndEightyFive - | TwoHundredAndEightySix - | ThreeHundredAndEight - | ThreeHundredAndNine - | ThreeHundredAndEightyEight - | FourHundredAndFive - | FourHundredAndFourteen - | FourHundredAndTwentyTwo - | FourHundredAndThirtySeven - | FourHundredAndThirtyEight - | FourHundredAndThirtyNine - | FourHundredAndFortySeven - | FourHundredAndFortyNine + | SixtySix + | Seventy + | SeventyOne + | SeventyTwo + | SeventyThree + | SeventySix + | SeventySeven + | EightyEight + | OneHundredAndFour + | OneHundredAndEight + | OneHundredAndEightyFive + | OneHundredAndEightySix + | OneHundredAndEightySeven + | OneHundredAndNinety + | OneHundredAndNinetyTwo + | TwoHundredAndThirtyFour + | TwoHundredAndEightyEight + | TwoHundredAndEightyNine + | ThreeHundredAndEleven + | ThreeHundredAndTwelve + | ThreeHundredAndNinetyOne + | ThreeHundredAndNinetyThree + | FourHundredAndTen + | FourHundredAndNineteen + | FourHundredAndTwentySeven + | FourHundredAndFortyTwo + | FourHundredAndFortyThree + | FourHundredAndFortyFour | FourHundredAndFiftyTwo - | FourHundredAndFiftyFive - | FourHundredAndSixtyFive - | FourHundredAndSixtySix + | FourHundredAndFiftyFour + | FourHundredAndFiftySeven + | FourHundredAndSixty + | FourHundredAndSeventy | FourHundredAndSeventyOne - | FourHundredAndSeventyFive + | FourHundredAndSeventySix | FourHundredAndEighty - | FourHundredAndEightySix + | FourHundredAndEightyFive + | FourHundredAndNinetyOne | undefined; principal?: | Principal1 @@ -3643,1597 +3812,899 @@ export type UserEvent = { }; /** @internal */ -export const Nineteen$inboundSchema: z.ZodType< - Nineteen, +export const TwentyFive$inboundSchema: z.ZodType< + TwentyFive, z.ZodTypeDef, unknown -> = z.object({ - boardId: types.string(), - environments: z.array(types.string()), - operationId: types.string(), - projectId: types.string(), -}); - -export function nineteenFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(UserEventPayload25Provider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + blockCode: types.string(), + reason: types.string(), + }) +); + +export function twentyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Nineteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Nineteen' from JSON`, + (x) => TwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwentyFive' from JSON`, ); } /** @internal */ -export const Visibility$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Visibility); +export const UserEventPayloadProvider$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadProvider +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadProvider)); /** @internal */ -export const Eighteen$inboundSchema: z.ZodType< - Eighteen, +export const TwentyFour$inboundSchema: z.ZodType< + TwentyFour, z.ZodTypeDef, unknown -> = z.object({ - boardId: types.string(), - operationId: types.string(), - visibility: Visibility$inboundSchema, -}); - -export function eighteenFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(UserEventPayloadProvider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + teamId: types.string(), + teamSlug: types.string(), + }) +); + +export function twentyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Eighteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eighteen' from JSON`, + (x) => TwentyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwentyFour' from JSON`, ); } /** @internal */ -export const Seventeen$inboundSchema: z.ZodType< - Seventeen, - z.ZodTypeDef, - unknown -> = z.object({ - boardId: types.string(), - channelId: types.string(), - fields: z.array(types.string()), - operationId: types.string(), -}); - -export function seventeenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Seventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Seventeen' from JSON`, - ); -} +export const PayloadProvider$inboundSchema: z.ZodNativeEnum< + typeof PayloadProvider +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadProvider)); /** @internal */ -export const Sixteen$inboundSchema: z.ZodType = +export const TwentyThree$inboundSchema: z.ZodType< + TwentyThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => z.object({ - boardId: types.string(), - channelId: types.string(), - environment: types.string(), - name: types.optional(types.string()), - operationId: types.string(), - projectId: types.string(), - userId: types.optional(types.string()), - }); - -export function sixteenFromJSON( + provider: types.optional(PayloadProvider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + teamId: types.string(), + }) +); + +export function twentyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Sixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sixteen' from JSON`, + (x) => TwentyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwentyThree' from JSON`, ); } /** @internal */ -export const Fifteen$inboundSchema: z.ZodType = - z.object({ - boardId: types.string(), - channelId: types.string(), - operationId: types.string(), - }); - -export function fifteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Fifteen' from JSON`, - ); -} +export const Provider$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Provider)); /** @internal */ -export const Fourteen$inboundSchema: z.ZodType< - Fourteen, +export const TwentyTwo$inboundSchema: z.ZodType< + TwentyTwo, z.ZodTypeDef, unknown -> = z.object({ - boardId: types.string(), - environment: types.string(), - name: types.string(), - operationId: types.string(), - projectId: types.string(), - userId: types.optional(types.string()), -}); - -export function fourteenFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(Provider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + accountRequestId: types.string(), + teamId: types.string(), + }) +); + +export function twentyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Fourteen' from JSON`, + (x) => TwentyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwentyTwo' from JSON`, ); } /** @internal */ -export const Thirteen$inboundSchema: z.ZodType< - Thirteen, +export const TwentyOne$inboundSchema: z.ZodType< + TwentyOne, z.ZodTypeDef, unknown -> = z.object({ - boardId: types.string(), - operationId: types.string(), -}); - -export function thirteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Thirteen' from JSON`, - ); -} - -/** @internal */ -export const Twelve$inboundSchema: z.ZodType = z - .object({ - boardId: types.string(), - grantId: types.string(), +> = /* @__PURE__ */ lazySchema$(() => + z.object({ operationId: types.string(), - }); - -export function twelveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Twelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Twelve' from JSON`, - ); -} - -/** @internal */ -export const UpdatedFields$inboundSchema: z.ZodNativeEnum< - typeof UpdatedFields -> = z.nativeEnum(UpdatedFields); - -/** @internal */ -export const Eleven$inboundSchema: z.ZodType = z - .object({ - namespace: types.string(), - projectId: types.string(), - projectName: types.string(), - scheduleId: types.string(), - scheduleName: types.string(), - updatedFields: z.array(UpdatedFields$inboundSchema), - }); - -export function elevenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Eleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eleven' from JSON`, - ); -} - -/** @internal */ -export const Ten$inboundSchema: z.ZodType = z - .object({ - namespace: types.string(), - projectId: types.string(), - projectName: types.string(), - scheduleId: types.string(), - scheduleName: types.string(), - }); - -export function tenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Ten$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Ten' from JSON`, - ); -} - -/** @internal */ -export const Nine$inboundSchema: z.ZodType = z - .object({ - expiresAt: types.nullable(types.string()), - grantId: types.nullable(types.string()), - namedSandboxId: types.string(), - permission: types.nullable(types.string()), - projectId: types.string(), - repositoryId: types.string(), - sandboxId: types.string(), - }); - -export function nineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Nine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Nine' from JSON`, - ); -} - -/** @internal */ -export const Eight$inboundSchema: z.ZodType = z - .object({ - policyId: types.string(), - projectId: types.string(), - projectName: types.string(), - }); - -export function eightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Eight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eight' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload7Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload7Action -> = z.nativeEnum(UserEventPayload7Action); - -/** @internal */ -export const Seven$inboundSchema: z.ZodType = z - .object({ - action: UserEventPayload7Action$inboundSchema, - environment: z.array(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - }); + schemaId: types.string(), + }) +); -export function sevenFromJSON( +export function twentyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Seven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Seven' from JSON`, + (x) => TwentyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwentyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload6Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload6Action -> = z.nativeEnum(UserEventPayload6Action); - -/** @internal */ -export const Six$inboundSchema: z.ZodType = z - .object({ - action: UserEventPayload6Action$inboundSchema, - environment: types.string(), - label: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - }); - -export function sixFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Six$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Six' from JSON`, +export const Twenty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + operationId: types.string(), + projectId: types.string(), + }) ); -} - -/** @internal */ -export const UserEventPayloadAction$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadAction -> = z.nativeEnum(UserEventPayloadAction); - -/** @internal */ -export const Five$inboundSchema: z.ZodType = z - .object({ - action: UserEventPayloadAction$inboundSchema, - id: types.string(), - name: types.string(), - projectId: types.string(), - projectName: types.optional(types.string()), - slug: types.string(), - state: types.string(), - }); -export function fiveFromJSON( +export function twentyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Five$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Five' from JSON`, + (x) => Twenty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Twenty' from JSON`, ); } /** @internal */ -export const PayloadAction$inboundSchema: z.ZodNativeEnum< - typeof PayloadAction -> = z.nativeEnum(PayloadAction); - -/** @internal */ -export const Four$inboundSchema: z.ZodType = z - .object({ - action: PayloadAction$inboundSchema, - id: types.string(), +export const Nineteen$inboundSchema: z.ZodType< + Nineteen, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + environments: z.array(types.string()), + operationId: types.string(), projectId: types.string(), - projectName: types.optional(types.string()), - slug: types.string(), - }); + }) +); -export function fourFromJSON( +export function nineteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Four$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Four' from JSON`, + (x) => Nineteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Nineteen' from JSON`, ); } /** @internal */ -export const SubjectType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(SubjectType); +export const Visibility$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Visibility)); /** @internal */ -export const Payload3$inboundSchema: z.ZodType< - Payload3, +export const Eighteen$inboundSchema: z.ZodType< + Eighteen, z.ZodTypeDef, unknown -> = z.object({ - acceptedTokenCount: types.optional(types.number()), - clientId: types.optional(types.string()), - clientName: types.optional(types.string()), - clientUid: types.optional(types.string()), - environments: types.optional(z.array(types.string())), - eventName: types.optional(types.string()), - fields: types.optional(z.array(types.string())), - importedTokenCount: types.optional(types.number()), - installationId: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - requestId: types.optional(types.string()), - requestName: types.optional(types.string()), - result: types.optional(types.string()), - subjectType: types.optional(SubjectType$inboundSchema), - subscriptionId: types.optional(types.string()), - tokenCount: types.optional(types.number()), - tokensDeleted: types.optional(types.number()), - triggerDestinationCount: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + operationId: types.string(), + visibility: Visibility$inboundSchema, + }) +); -export function payload3FromJSON( +export function eighteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Payload3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Payload3' from JSON`, + (x) => Eighteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eighteen' from JSON`, ); } /** @internal */ -export const Payload2$inboundSchema: z.ZodType< - Payload2, +export const Seventeen$inboundSchema: z.ZodType< + Seventeen, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - slackConfigured: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + channelId: types.string(), + fields: z.array(types.string()), + operationId: types.string(), + }) +); -export function payload2FromJSON( +export function seventeenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Payload2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Payload2' from JSON`, + (x) => Seventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Seventeen' from JSON`, ); } /** @internal */ -export const Payload1$inboundSchema: z.ZodType< - Payload1, - z.ZodTypeDef, - unknown -> = z.object({}); +export const Sixteen$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + channelId: types.string(), + environment: types.string(), + name: types.optional(types.string()), + operationId: types.string(), + projectId: types.string(), + userId: types.optional(types.string()), + }) + ); -export function payload1FromJSON( +export function sixteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Payload1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Payload1' from JSON`, + (x) => Sixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sixteen' from JSON`, ); } /** @internal */ -export const Payload$inboundSchema: z.ZodType = - smartUnion([ - FourHundredAndThirtyThree$inboundSchema, - FourHundredAndThirtyFour$inboundSchema, - FourHundredAndThirtyTwo$inboundSchema, - FourHundredAndThirtyOne$inboundSchema, - TwoHundredAndSeventeen$inboundSchema, - TwoHundredAndSix$inboundSchema, - FourHundredAndTwentyFive$inboundSchema, - TwoHundredAndSeventySeven$inboundSchema, - OneHundredAndEight$inboundSchema, - TwoHundredAndEighteen$inboundSchema, - FiveHundredAndThirtySix$inboundSchema, - z.lazy(() => Nine$inboundSchema), - OneHundredAndFortySix$inboundSchema, - TwoHundredAndTwenty$inboundSchema, - TwoHundredAndTwentyOne$inboundSchema, - TwoHundredAndSixtyNine$inboundSchema, - ThreeHundredAndFortyOne$inboundSchema, - z.lazy(() => Five$inboundSchema), - z.lazy(() => Eleven$inboundSchema), - OneHundredAndSixtyNine$inboundSchema, - OneHundredAndNinety$inboundSchema, - TwoHundredAndTen$inboundSchema, - TwoHundredAndFourteen$inboundSchema, - TwoHundredAndNineteen$inboundSchema, - TwoHundredAndFiftyOne$inboundSchema, - TwoHundredAndFiftyTwo$inboundSchema, - ThreeHundredAndSeventeen$inboundSchema, - ThreeHundredAndEightyOne$inboundSchema, - FourHundredAndSix$inboundSchema, - FourHundredAndEight$inboundSchema, - FiveHundredAndTwentyFour$inboundSchema, - z.lazy(() => Ten$inboundSchema), - z.lazy(() => Fourteen$inboundSchema), - z.lazy(() => Sixteen$inboundSchema), - FortySeven$inboundSchema, - OneHundredAndThirtyEight$inboundSchema, - OneHundredAndFortyThree$inboundSchema, - OneHundredAndFortyFour$inboundSchema, - OneHundredAndFortyFive$inboundSchema, - OneHundredAndFortySeven$inboundSchema, - OneHundredAndFiftyFour$inboundSchema, - OneHundredAndEightyEight$inboundSchema, - OneHundredAndNinetySeven$inboundSchema, - TwoHundredAndThree$inboundSchema, - TwoHundredAndNine$inboundSchema, - TwoHundredAndFifteen$inboundSchema, - TwoHundredAndFortyNine$inboundSchema, - TwoHundredAndFiftySeven$inboundSchema, - TwoHundredAndSixtyOne$inboundSchema, - TwoHundredAndEightySeven$inboundSchema, - ThreeHundredAndEighteen$inboundSchema, - ThreeHundredAndTwentyNine$inboundSchema, - ThreeHundredAndFortyThree$inboundSchema, - ThreeHundredAndFiftyThree$inboundSchema, - ThreeHundredAndNinetyOne$inboundSchema, - FourHundredAndThirty$inboundSchema, - FiveHundredAndTwelve$inboundSchema, - FiveHundredAndFourteen$inboundSchema, - FiveHundredAndTwentyOne$inboundSchema, - FiveHundredAndTwentySeven$inboundSchema, - FiveHundredAndFortyTwo$inboundSchema, - z.lazy(() => Four$inboundSchema), - z.lazy(() => Seventeen$inboundSchema), - z.lazy(() => Nineteen$inboundSchema), - TwentyEight$inboundSchema, - FortyOne$inboundSchema, - EightyEight$inboundSchema, - EightyNine$inboundSchema, - OneHundredAndNine$inboundSchema, - OneHundredAndTen$inboundSchema, - OneHundredAndThirtyOne$inboundSchema, - OneHundredAndThirtyThree$inboundSchema, - DeploymentCheckUpdatedPayload$inboundSchema, - OneHundredAndForty$inboundSchema, - OneHundredAndFiftyTwo$inboundSchema, - OneHundredAndSixtyEight$inboundSchema, - OneHundredAndSeventyFive$inboundSchema, - OneHundredAndSeventyNine$inboundSchema, - TwoHundredAndSeven$inboundSchema, - TwoHundredAndEight$inboundSchema, - TwoHundredAndTwentyTwo$inboundSchema, - TwoHundredAndTwentyThree$inboundSchema, - TwoHundredAndTwentyFour$inboundSchema, - TwoHundredAndTwentyEight$inboundSchema, - TwoHundredAndFortySix$inboundSchema, - TwoHundredAndFiftyThree$inboundSchema, - TwoHundredAndFiftyNine$inboundSchema, - TwoHundredAndSixty$inboundSchema, - TwoHundredAndSixtySeven$inboundSchema, - TwoHundredAndSixtyEight$inboundSchema, - TwoHundredAndSeventy$inboundSchema, - TwoHundredAndSeventyFive$inboundSchema, - TwoHundredAndSeventyEight$inboundSchema, - TwoHundredAndEightyTwo$inboundSchema, - ThreeHundredAndThree$inboundSchema, - ThreeHundredAndSix$inboundSchema, - ThreeHundredAndFourteen$inboundSchema, - ThreeHundredAndNineteen$inboundSchema, - ThreeHundredAndTwenty$inboundSchema, - ThreeHundredAndTwentyTwo$inboundSchema, - ThreeHundredAndTwentyThree$inboundSchema, - ThreeHundredAndTwentyFour$inboundSchema, - ThreeHundredAndTwentyFive$inboundSchema, - ThreeHundredAndForty$inboundSchema, - ThreeHundredAndFortyTwo$inboundSchema, - ThreeHundredAndFortySix$inboundSchema, - ThreeHundredAndSixtyThree$inboundSchema, - ThreeHundredAndSixtySix$inboundSchema, - ThreeHundredAndSixtyEight$inboundSchema, - ThreeHundredAndSeventyFive$inboundSchema, - ThreeHundredAndSeventySix$inboundSchema, - ThreeHundredAndSeventySeven$inboundSchema, - ThreeHundredAndSeventyNine$inboundSchema, - ThreeHundredAndEightySix$inboundSchema, - ThreeHundredAndNinetyFour$inboundSchema, - ThreeHundredAndNinetyFive$inboundSchema, - ThreeHundredAndNinetyEight$inboundSchema, - FourHundredAndFour$inboundSchema, - FourHundredAndSeven$inboundSchema, - FourHundredAndTwentyNine$inboundSchema, - FourHundredAndFortyFive$inboundSchema, - FourHundredAndSixty$inboundSchema, - FourHundredAndSeventyEight$inboundSchema, - FiveHundredAndSeven$inboundSchema, - FiveHundredAndNine$inboundSchema, - FiveHundredAndThirteen$inboundSchema, - FiveHundredAndFifteen$inboundSchema, - FiveHundredAndSixteen$inboundSchema, - FiveHundredAndSeventeen$inboundSchema, - FiveHundredAndTwentyTwo$inboundSchema, - FiveHundredAndTwentyThree$inboundSchema, - FiveHundredAndFortySix$inboundSchema, - FiveHundredAndFortySeven$inboundSchema, - z.lazy(() => Eight$inboundSchema), - z.lazy(() => Twelve$inboundSchema), - z.lazy(() => Fifteen$inboundSchema), - z.lazy(() => Eighteen$inboundSchema), - Twenty$inboundSchema, - TwentySeven$inboundSchema, - SixtyEight$inboundSchema, - SeventyThree$inboundSchema, - NinetyNine$inboundSchema, - OneHundredAndTwo$inboundSchema, - OneHundredAndThirteen$inboundSchema, - OneHundredAndFourteen$inboundSchema, - OneHundredAndFifteen$inboundSchema, - OneHundredAndSixteen$inboundSchema, - OneHundredAndTwentyFour$inboundSchema, - OneHundredAndTwentyNine$inboundSchema, - OneHundredAndThirty$inboundSchema, - OneHundredAndThirtyNine$inboundSchema, - OneHundredAndFortyOne$inboundSchema, - OneHundredAndFiftyFive$inboundSchema, - OneHundredAndFiftySeven$inboundSchema, - OneHundredAndFiftyNine$inboundSchema, - OneHundredAndSixty$inboundSchema, - OneHundredAndSixtyOne$inboundSchema, - OneHundredAndSixtyTwo$inboundSchema, - OneHundredAndSeventy$inboundSchema, - OneHundredAndSeventyOne$inboundSchema, - OneHundredAndSeventyTwo$inboundSchema, - OneHundredAndSeventyFour$inboundSchema, - OneHundredAndSeventyEight$inboundSchema, - OneHundredAndEighty$inboundSchema, - OneHundredAndNinetyTwo$inboundSchema, - OneHundredAndNinetyThree$inboundSchema, - OneHundredAndNinetyFour$inboundSchema, - OneHundredAndNinetyEight$inboundSchema, - OneHundredAndNinetyNine$inboundSchema, - TwoHundredAndOne$inboundSchema, - TwoHundredAndEleven$inboundSchema, - TwoHundredAndTwelve$inboundSchema, - TwoHundredAndSixteen$inboundSchema, - TwoHundredAndTwentySeven$inboundSchema, - TwoHundredAndThirtyFour$inboundSchema, - TwoHundredAndThirtyEight$inboundSchema, - TwoHundredAndFortyOne$inboundSchema, - TwoHundredAndFortyThree$inboundSchema, - TwoHundredAndFifty$inboundSchema, - TwoHundredAndFiftySix$inboundSchema, - TwoHundredAndFiftyEight$inboundSchema, - TwoHundredAndSixtyTwo$inboundSchema, - TwoHundredAndSixtyThree$inboundSchema, - TwoHundredAndSixtyFour$inboundSchema, - TwoHundredAndSixtyFive$inboundSchema, - TwoHundredAndSixtySix$inboundSchema, - TwoHundredAndSeventyOne$inboundSchema, - TwoHundredAndSeventyTwo$inboundSchema, - TwoHundredAndSeventyThree$inboundSchema, - TwoHundredAndSeventyFour$inboundSchema, - TwoHundredAndEightyFour$inboundSchema, - TwoHundredAndNinetyOne$inboundSchema, - TwoHundredAndNinetyThree$inboundSchema, - TwoHundredAndNinetyFive$inboundSchema, - TwoHundredAndNinetySix$inboundSchema, - TwoHundredAndNinetyEight$inboundSchema, - ThreeHundredAndOne$inboundSchema, - ThreeHundredAndTwo$inboundSchema, - ThreeHundredAndFour$inboundSchema, - ThreeHundredAndFive$inboundSchema, - ThreeHundredAndSeven$inboundSchema, - ThreeHundredAndTwelve$inboundSchema, - ThreeHundredAndFifteen$inboundSchema, - ThreeHundredAndSixteen$inboundSchema, - ThreeHundredAndTwentySix$inboundSchema, - ThreeHundredAndTwentySeven$inboundSchema, - ThreeHundredAndTwentyEight$inboundSchema, - ThreeHundredAndThirty$inboundSchema, - ThreeHundredAndThirtyOne$inboundSchema, - ThreeHundredAndThirtyTwo$inboundSchema, - ThreeHundredAndThirtyThree$inboundSchema, - ThreeHundredAndThirtyFour$inboundSchema, - ThreeHundredAndThirtySeven$inboundSchema, - ThreeHundredAndThirtyEight$inboundSchema, - ThreeHundredAndThirtyNine$inboundSchema, - ThreeHundredAndFortyFour$inboundSchema, - ThreeHundredAndFiftyOne$inboundSchema, - ThreeHundredAndFiftyFour$inboundSchema, - ThreeHundredAndFiftyFive$inboundSchema, - ThreeHundredAndFiftySeven$inboundSchema, - ThreeHundredAndSixtyNine$inboundSchema, - ThreeHundredAndSeventy$inboundSchema, - ThreeHundredAndSeventyOne$inboundSchema, - ThreeHundredAndSeventyTwo$inboundSchema, - ThreeHundredAndSeventyThree$inboundSchema, - ThreeHundredAndEightyFour$inboundSchema, - ThreeHundredAndEightySeven$inboundSchema, - ThreeHundredAndNinety$inboundSchema, - FourHundredAndNine$inboundSchema, - FourHundredAndSeventeen$inboundSchema, - FourHundredAndEighteen$inboundSchema, - FourHundredAndTwentyOne$inboundSchema, - FourHundredAndThirtyFive$inboundSchema, - FourHundredAndForty$inboundSchema, - FourHundredAndSixtyFour$inboundSchema, - FourHundredAndEightyNine$inboundSchema, - FourHundredAndNinetyFive$inboundSchema, - FourHundredAndNinetySix$inboundSchema, - FourHundredAndNinetyNine$inboundSchema, - FiveHundredAndTen$inboundSchema, - FiveHundredAndEleven$inboundSchema, - FiveHundredAndTwentySix$inboundSchema, - FiveHundredAndTwentyEight$inboundSchema, - FiveHundredAndTwentyNine$inboundSchema, - FiveHundredAndThirty$inboundSchema, - FiveHundredAndThirtyOne$inboundSchema, - FiveHundredAndThirtyTwo$inboundSchema, - FiveHundredAndThirtyEight$inboundSchema, - FiveHundredAndForty$inboundSchema, - FiveHundredAndFortyOne$inboundSchema, - z.lazy(() => Payload2$inboundSchema), - z.lazy(() => Six$inboundSchema), - z.lazy(() => Seven$inboundSchema), - z.lazy(() => Thirteen$inboundSchema), - TwentyOne$inboundSchema, - TwentyTwo$inboundSchema, - TwentyFour$inboundSchema, - TwentyFive$inboundSchema, - TwentySix$inboundSchema, - ThirtyOne$inboundSchema, - ThirtyFour$inboundSchema, - ThirtySix$inboundSchema, - ThirtySeven$inboundSchema, - FortyTwo$inboundSchema, - FortyThree$inboundSchema, - Fifty$inboundSchema, - SixtyOne$inboundSchema, - SixtyThree$inboundSchema, - SixtySix$inboundSchema, - SeventyFour$inboundSchema, - SeventySeven$inboundSchema, - SeventyNine$inboundSchema, - EightyFive$inboundSchema, - EightySix$inboundSchema, - NinetyOne$inboundSchema, - NinetyFive$inboundSchema, - NinetySix$inboundSchema, - NinetySeven$inboundSchema, - OneHundred$inboundSchema, - OneHundredAndFive$inboundSchema, - OneHundredAndEleven$inboundSchema, - OneHundredAndNineteen$inboundSchema, - OneHundredAndTwenty$inboundSchema, - OneHundredAndTwentyOne$inboundSchema, - OneHundredAndTwentyTwo$inboundSchema, - OneHundredAndTwentyThree$inboundSchema, - OneHundredAndTwentySeven$inboundSchema, - OneHundredAndThirtyTwo$inboundSchema, - OneHundredAndFortyTwo$inboundSchema, - OneHundredAndFortyNine$inboundSchema, - OneHundredAndFifty$inboundSchema, - OneHundredAndFiftyThree$inboundSchema, - OneHundredAndFiftyEight$inboundSchema, - OneHundredAndSixtySix$inboundSchema, - OneHundredAndSeventyThree$inboundSchema, - OneHundredAndSeventySix$inboundSchema, - OneHundredAndSeventySeven$inboundSchema, - OneHundredAndEightyOne$inboundSchema, - OneHundredAndEightyTwo$inboundSchema, - OneHundredAndEightySeven$inboundSchema, - TwoHundred$inboundSchema, - TwoHundredAndThirteen$inboundSchema, - TwoHundredAndTwentyFive$inboundSchema, - TwoHundredAndTwentySix$inboundSchema, - TwoHundredAndThirtyOne$inboundSchema, - TwoHundredAndThirtyNine$inboundSchema, - TwoHundredAndForty$inboundSchema, - TwoHundredAndFortyTwo$inboundSchema, - TwoHundredAndFortyFive$inboundSchema, - TwoHundredAndFortySeven$inboundSchema, - TwoHundredAndFortyEight$inboundSchema, - TwoHundredAndFiftyFour$inboundSchema, - TwoHundredAndFiftyFive$inboundSchema, - TwoHundredAndSeventySix$inboundSchema, - TwoHundredAndSeventyNine$inboundSchema, - TwoHundredAndEightyOne$inboundSchema, - TwoHundredAndEightyEight$inboundSchema, - TwoHundredAndNinety$inboundSchema, - TwoHundredAndNinetyTwo$inboundSchema, - TwoHundredAndNinetyFour$inboundSchema, - TwoHundredAndNinetyNine$inboundSchema, - ThreeHundred$inboundSchema, - ThreeHundredAndTen$inboundSchema, - ThreeHundredAndThirteen$inboundSchema, - ThreeHundredAndTwentyOne$inboundSchema, - ThreeHundredAndFortySeven$inboundSchema, - ThreeHundredAndFortyNine$inboundSchema, - ThreeHundredAndFifty$inboundSchema, - ThreeHundredAndFiftyTwo$inboundSchema, - ThreeHundredAndFiftySix$inboundSchema, - ThreeHundredAndFiftyEight$inboundSchema, - ThreeHundredAndSixty$inboundSchema, - ThreeHundredAndSixtyTwo$inboundSchema, - ThreeHundredAndSixtyFour$inboundSchema, - ThreeHundredAndSixtyFive$inboundSchema, - ThreeHundredAndSixtySeven$inboundSchema, - ThreeHundredAndSeventyFour$inboundSchema, - ThreeHundredAndSeventyEight$inboundSchema, - ThreeHundredAndEighty$inboundSchema, - ThreeHundredAndEightyThree$inboundSchema, - ThreeHundredAndEightyFive$inboundSchema, - ThreeHundredAndEightyNine$inboundSchema, - ThreeHundredAndNinetyTwo$inboundSchema, - ThreeHundredAndNinetyThree$inboundSchema, - ThreeHundredAndNinetySix$inboundSchema, - ThreeHundredAndNinetySeven$inboundSchema, - FourHundred$inboundSchema, - FourHundredAndOne$inboundSchema, - FourHundredAndTwo$inboundSchema, - FourHundredAndNineteen$inboundSchema, - FourHundredAndTwentyFour$inboundSchema, - FourHundredAndTwentySeven$inboundSchema, - FourHundredAndTwentyEight$inboundSchema, - FourHundredAndThirtySix$inboundSchema, - FourHundredAndFortyTwo$inboundSchema, - FourHundredAndFortyThree$inboundSchema, - FourHundredAndFortySix$inboundSchema, - FourHundredAndFortyEight$inboundSchema, - FourHundredAndFiftyThree$inboundSchema, - FourHundredAndFiftyFour$inboundSchema, - FourHundredAndSixtyTwo$inboundSchema, - FourHundredAndSixtySeven$inboundSchema, - FourHundredAndSixtyEight$inboundSchema, - FourHundredAndSixtyNine$inboundSchema, - FourHundredAndSeventyFour$inboundSchema, - FourHundredAndSeventySix$inboundSchema, - FourHundredAndEightyOne$inboundSchema, - FourHundredAndEightyTwo$inboundSchema, - FourHundredAndEightyFive$inboundSchema, - FourHundredAndEightySeven$inboundSchema, - FourHundredAndNinetyTwo$inboundSchema, - FourHundredAndNinetyThree$inboundSchema, - FourHundredAndNinetyFour$inboundSchema, - FourHundredAndNinetyEight$inboundSchema, - FiveHundred$inboundSchema, - FiveHundredAndOne$inboundSchema, - FiveHundredAndFive$inboundSchema, - FiveHundredAndSix$inboundSchema, - FiveHundredAndEight$inboundSchema, - FiveHundredAndNineteen$inboundSchema, - FiveHundredAndTwentyFive$inboundSchema, - FiveHundredAndThirtyFour$inboundSchema, - FiveHundredAndThirtySeven$inboundSchema, - FiveHundredAndThirtyNine$inboundSchema, - FiveHundredAndFortyThree$inboundSchema, - FiveHundredAndFortyFive$inboundSchema, - FiveHundredAndFortyEight$inboundSchema, - TwentyThree$inboundSchema, - TwentyNine$inboundSchema, - Thirty$inboundSchema, - ThirtyTwo$inboundSchema, - ThirtyThree$inboundSchema, - ThirtyFive$inboundSchema, - ThirtyEight$inboundSchema, - ThirtyNine$inboundSchema, - Forty$inboundSchema, - FortyFour$inboundSchema, - FortyFive$inboundSchema, - FortySix$inboundSchema, - FortyEight$inboundSchema, - FortyNine$inboundSchema, - FiftyOne$inboundSchema, - FiftyThree$inboundSchema, - FiftyFour$inboundSchema, - FiftyFive$inboundSchema, - FiftySix$inboundSchema, - FiftySeven$inboundSchema, - FiftyEight$inboundSchema, - FiftyNine$inboundSchema, - Sixty$inboundSchema, - SixtyTwo$inboundSchema, - SixtySeven$inboundSchema, - SeventyEight$inboundSchema, - Eighty$inboundSchema, - EightyOne$inboundSchema, - EightyTwo$inboundSchema, - EightyThree$inboundSchema, - EightyFour$inboundSchema, - Ninety$inboundSchema, - NinetyTwo$inboundSchema, - NinetyThree$inboundSchema, - NinetyFour$inboundSchema, - NinetyEight$inboundSchema, - OneHundredAndOne$inboundSchema, - OneHundredAndFour$inboundSchema, - OneHundredAndSix$inboundSchema, - OneHundredAndTwelve$inboundSchema, - OneHundredAndSeventeen$inboundSchema, - OneHundredAndEighteen$inboundSchema, - OneHundredAndTwentyFive$inboundSchema, - OneHundredAndTwentySix$inboundSchema, - OneHundredAndTwentyEight$inboundSchema, - OneHundredAndThirtyFive$inboundSchema, - OneHundredAndThirtySix$inboundSchema, - OneHundredAndThirtySeven$inboundSchema, - OneHundredAndFortyEight$inboundSchema, - OneHundredAndFiftyOne$inboundSchema, - OneHundredAndFiftySix$inboundSchema, - OneHundredAndSixtyThree$inboundSchema, - OneHundredAndSixtyFour$inboundSchema, - OneHundredAndSixtyFive$inboundSchema, - OneHundredAndSixtySeven$inboundSchema, - OneHundredAndEightyThree$inboundSchema, - OneHundredAndNinetyFive$inboundSchema, - OneHundredAndNinetySix$inboundSchema, - TwoHundredAndTwo$inboundSchema, - TwoHundredAndFour$inboundSchema, - TwoHundredAndFive$inboundSchema, - TwoHundredAndTwentyNine$inboundSchema, - TwoHundredAndThirty$inboundSchema, - TwoHundredAndThirtyTwo$inboundSchema, - TwoHundredAndThirtyFive$inboundSchema, - TwoHundredAndThirtySix$inboundSchema, - TwoHundredAndThirtySeven$inboundSchema, - TwoHundredAndFortyFour$inboundSchema, - TwoHundredAndEighty$inboundSchema, - TwoHundredAndEightyThree$inboundSchema, - TwoHundredAndEightyNine$inboundSchema, - TwoHundredAndNinetySeven$inboundSchema, - ThreeHundredAndEleven$inboundSchema, - ThreeHundredAndThirtyFive$inboundSchema, - ThreeHundredAndThirtySix$inboundSchema, - ThreeHundredAndFortyFive$inboundSchema, - ThreeHundredAndFortyEight$inboundSchema, - ThreeHundredAndFiftyNine$inboundSchema, - ThreeHundredAndSixtyOne$inboundSchema, - ThreeHundredAndEightyTwo$inboundSchema, - ThreeHundredAndNinetyNine$inboundSchema, - FourHundredAndThree$inboundSchema, - FourHundredAndTen$inboundSchema, - FourHundredAndEleven$inboundSchema, - FourHundredAndTwelve$inboundSchema, - FourHundredAndThirteen$inboundSchema, - FourHundredAndFifteen$inboundSchema, - FourHundredAndSixteen$inboundSchema, - FourHundredAndTwenty$inboundSchema, - FourHundredAndTwentyThree$inboundSchema, - FourHundredAndTwentySix$inboundSchema, - FourHundredAndFortyOne$inboundSchema, - FourHundredAndFortyFour$inboundSchema, - FourHundredAndFifty$inboundSchema, - FourHundredAndFiftyOne$inboundSchema, - FourHundredAndFiftySix$inboundSchema, - FourHundredAndFiftySeven$inboundSchema, - FourHundredAndFiftyEight$inboundSchema, - FourHundredAndFiftyNine$inboundSchema, - FourHundredAndSixtyOne$inboundSchema, - FourHundredAndSixtyThree$inboundSchema, - FourHundredAndSeventy$inboundSchema, - FourHundredAndSeventyTwo$inboundSchema, - FourHundredAndSeventyThree$inboundSchema, - FourHundredAndSeventySeven$inboundSchema, - FourHundredAndSeventyNine$inboundSchema, - FourHundredAndEightyThree$inboundSchema, - FourHundredAndEightyFour$inboundSchema, - FourHundredAndEightyEight$inboundSchema, - FourHundredAndNinety$inboundSchema, - FourHundredAndNinetyOne$inboundSchema, - FourHundredAndNinetySeven$inboundSchema, - FiveHundredAndTwo$inboundSchema, - FiveHundredAndThree$inboundSchema, - FiveHundredAndFour$inboundSchema, - FiveHundredAndEighteen$inboundSchema, - FiveHundredAndTwenty$inboundSchema, - FiveHundredAndThirtyThree$inboundSchema, - FiveHundredAndThirtyFive$inboundSchema, - FiveHundredAndFortyFour$inboundSchema, - z.lazy(() => Payload1$inboundSchema), - z.lazy(() => Payload3$inboundSchema), - FiftyTwo$inboundSchema, - SixtyFour$inboundSchema, - SixtyFive$inboundSchema, - SixtyNine$inboundSchema, - Seventy$inboundSchema, - SeventyOne$inboundSchema, - SeventyTwo$inboundSchema, - SeventyFive$inboundSchema, - SeventySix$inboundSchema, - EightySeven$inboundSchema, - OneHundredAndThree$inboundSchema, - OneHundredAndSeven$inboundSchema, - OneHundredAndEightyFour$inboundSchema, - OneHundredAndEightyFive$inboundSchema, - OneHundredAndEightySix$inboundSchema, - OneHundredAndEightyNine$inboundSchema, - OneHundredAndNinetyOne$inboundSchema, - TwoHundredAndThirtyThree$inboundSchema, - TwoHundredAndEightyFive$inboundSchema, - TwoHundredAndEightySix$inboundSchema, - ThreeHundredAndEight$inboundSchema, - ThreeHundredAndNine$inboundSchema, - ThreeHundredAndEightyEight$inboundSchema, - FourHundredAndFive$inboundSchema, - FourHundredAndFourteen$inboundSchema, - FourHundredAndTwentyTwo$inboundSchema, - FourHundredAndThirtySeven$inboundSchema, - FourHundredAndThirtyEight$inboundSchema, - FourHundredAndThirtyNine$inboundSchema, - FourHundredAndFortySeven$inboundSchema, - FourHundredAndFortyNine$inboundSchema, - FourHundredAndFiftyTwo$inboundSchema, - FourHundredAndFiftyFive$inboundSchema, - FourHundredAndSixtyFive$inboundSchema, - FourHundredAndSixtySix$inboundSchema, - FourHundredAndSeventyOne$inboundSchema, - FourHundredAndSeventyFive$inboundSchema, - FourHundredAndEighty$inboundSchema, - FourHundredAndEightySix$inboundSchema, - ]); +export const Fifteen$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + channelId: types.string(), + operationId: types.string(), + }) + ); -export function payloadFromJSON( +export function fifteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Payload$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Payload' from JSON`, + (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Fifteen' from JSON`, ); } /** @internal */ -export const UserEventPrincipal5Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPrincipal5Type -> = z.nativeEnum(UserEventPrincipal5Type); - -/** @internal */ -export const Principal5$inboundSchema: z.ZodType< - Principal5, +export const Fourteen$inboundSchema: z.ZodType< + Fourteen, z.ZodTypeDef, unknown -> = z.object({ - type: UserEventPrincipal5Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + environment: types.string(), + name: types.string(), + operationId: types.string(), + projectId: types.string(), + userId: types.optional(types.string()), + }) +); -export function principal5FromJSON( +export function fourteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal5' from JSON`, + (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Fourteen' from JSON`, ); } /** @internal */ -export const UserEventPrincipal4Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPrincipal4Type -> = z.nativeEnum(UserEventPrincipal4Type); - -/** @internal */ -export const Principal4$inboundSchema: z.ZodType< - Principal4, +export const Thirteen$inboundSchema: z.ZodType< + Thirteen, z.ZodTypeDef, unknown -> = z.object({ - email: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: UserEventPrincipal4Type$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + operationId: types.string(), + }) +); -export function principal4FromJSON( +export function thirteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal4' from JSON`, + (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Thirteen' from JSON`, ); } /** @internal */ -export const UserEventPrincipal3Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPrincipal3Type -> = z.nativeEnum(UserEventPrincipal3Type); - -/** @internal */ -export const Principal3$inboundSchema: z.ZodType< - Principal3, - z.ZodTypeDef, - unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.optional(types.string()), - type: UserEventPrincipal3Type$inboundSchema, -}); +export const Twelve$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + boardId: types.string(), + grantId: types.string(), + operationId: types.string(), + }) + ); -export function principal3FromJSON( +export function twelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal3' from JSON`, + (x) => Twelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Twelve' from JSON`, ); } /** @internal */ -export const UserEventPrincipalType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPrincipalType -> = z.nativeEnum(UserEventPrincipalType); +export const UpdatedFields$inboundSchema: z.ZodNativeEnum< + typeof UpdatedFields +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UpdatedFields)); /** @internal */ -export const Principal2$inboundSchema: z.ZodType< - Principal2, - z.ZodTypeDef, - unknown -> = z.object({ - clientId: types.string(), - id: types.optional(types.string()), - name: types.string(), - type: UserEventPrincipalType$inboundSchema, -}); +export const Eleven$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + projectId: types.string(), + projectName: types.string(), + scheduleId: types.string(), + scheduleName: types.string(), + updatedFields: z.array(UpdatedFields$inboundSchema), + }) + ); -export function principal2FromJSON( +export function elevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal2' from JSON`, + (x) => Eleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eleven' from JSON`, ); } /** @internal */ -export const PrincipalType$inboundSchema: z.ZodNativeEnum< - typeof PrincipalType -> = z.nativeEnum(PrincipalType); +export const Ten$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + namespace: types.string(), + projectId: types.string(), + projectName: types.string(), + scheduleId: types.string(), + scheduleName: types.string(), + }) + ); + +export function tenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Ten$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Ten' from JSON`, + ); +} /** @internal */ -export const Principal1$inboundSchema: z.ZodType< - Principal1, - z.ZodTypeDef, - unknown -> = z.object({ - avatar: types.string(), - email: types.string(), - slug: types.optional(types.string()), - type: types.optional(PrincipalType$inboundSchema), - uid: types.string(), - username: types.string(), -}); +export const Nine$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: types.nullable(types.string()), + grantId: types.nullable(types.string()), + namedSandboxId: types.string(), + permission: types.nullable(types.string()), + projectId: types.string(), + repositoryId: types.string(), + sandboxId: types.string(), + }) + ); -export function principal1FromJSON( +export function nineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal1' from JSON`, + (x) => Nine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Nine' from JSON`, ); } /** @internal */ -export const Principal$inboundSchema: z.ZodType< - Principal, - z.ZodTypeDef, - unknown -> = smartUnion([ - z.lazy(() => Principal1$inboundSchema), - z.lazy(() => Principal2$inboundSchema), - z.lazy(() => Principal3$inboundSchema), - z.lazy(() => Principal4$inboundSchema), - z.lazy(() => Principal5$inboundSchema), -]); +export const Eight$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + policyId: types.string(), + projectId: types.string(), + projectName: types.string(), + }) + ); -export function principalFromJSON( +export function eightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Principal$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Principal' from JSON`, + (x) => Eight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eight' from JSON`, ); } /** @internal */ -export const UserEventType$inboundSchema: z.ZodNativeEnum< - typeof UserEventType -> = z.nativeEnum(UserEventType); +export const UserEventPayload7Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload7Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload7Action)); /** @internal */ -export const User$inboundSchema: z.ZodType = z - .object({ - avatar: types.string(), - email: types.string(), - slug: types.optional(types.string()), - uid: types.string(), - username: types.string(), - }); +export const Seven$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload7Action$inboundSchema, + environment: z.array(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) + ); -export function userFromJSON( +export function sevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => User$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'User' from JSON`, + (x) => Seven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Seven' from JSON`, ); } /** @internal */ -export const UserEventVia5Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventVia5Type -> = z.nativeEnum(UserEventVia5Type); +export const UserEventPayload6Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload6Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload6Action)); /** @internal */ -export const Via5$inboundSchema: z.ZodType = z - .object({ - type: UserEventVia5Type$inboundSchema, - }); +export const Six$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload6Action$inboundSchema, + environment: types.string(), + label: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) + ); -export function via5FromJSON( +export function sixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via5' from JSON`, + (x) => Six$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Six' from JSON`, ); } /** @internal */ -export const UserEventVia4Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventVia4Type -> = z.nativeEnum(UserEventVia4Type); +export const UserEventPayloadAction$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadAction +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadAction)); /** @internal */ -export const Via4$inboundSchema: z.ZodType = z - .object({ - email: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: UserEventVia4Type$inboundSchema, - }); +export const Five$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayloadAction$inboundSchema, + id: types.string(), + name: types.string(), + projectId: types.string(), + projectName: types.optional(types.string()), + slug: types.string(), + state: types.string(), + }) + ); -export function via4FromJSON( +export function fiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via4$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via4' from JSON`, + (x) => Five$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Five' from JSON`, ); } /** @internal */ -export const UserEventVia3Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventVia3Type -> = z.nativeEnum(UserEventVia3Type); +export const PayloadAction$inboundSchema: z.ZodNativeEnum< + typeof PayloadAction +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadAction)); /** @internal */ -export const Via3$inboundSchema: z.ZodType = z - .object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - slug: types.optional(types.string()), - type: UserEventVia3Type$inboundSchema, - }); +export const Four$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + action: PayloadAction$inboundSchema, + id: types.string(), + projectId: types.string(), + projectName: types.optional(types.string()), + slug: types.string(), + }) + ); -export function via3FromJSON( +export function fourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via3' from JSON`, + (x) => Four$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Four' from JSON`, ); } /** @internal */ -export const UserEventViaType$inboundSchema: z.ZodNativeEnum< - typeof UserEventViaType -> = z.nativeEnum(UserEventViaType); +export const SubjectType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(SubjectType)); /** @internal */ -export const Via2$inboundSchema: z.ZodType = z - .object({ - clientId: types.string(), - id: types.optional(types.string()), - name: types.string(), - type: UserEventViaType$inboundSchema, - }); +export const Payload3$inboundSchema: z.ZodType< + Payload3, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + acceptedTokenCount: types.optional(types.number()), + clientId: types.optional(types.string()), + clientName: types.optional(types.string()), + clientUid: types.optional(types.string()), + environments: types.optional(z.array(types.string())), + eventName: types.optional(types.string()), + fields: types.optional(z.array(types.string())), + importedTokenCount: types.optional(types.number()), + installationId: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + requestId: types.optional(types.string()), + requestName: types.optional(types.string()), + result: types.optional(types.string()), + subjectType: types.optional(SubjectType$inboundSchema), + subscriptionId: types.optional(types.string()), + tokenCount: types.optional(types.number()), + tokensDeleted: types.optional(types.number()), + triggerDestinationCount: types.optional(types.number()), + }) +); -export function via2FromJSON( +export function payload3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via2' from JSON`, + (x) => Payload3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Payload3' from JSON`, ); } /** @internal */ -export const ViaType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ViaType); - -/** @internal */ -export const Via1$inboundSchema: z.ZodType = z - .object({ - avatar: types.string(), - email: types.string(), - slug: types.optional(types.string()), - type: types.optional(ViaType$inboundSchema), - uid: types.string(), - username: types.string(), - }); +export const Payload2$inboundSchema: z.ZodType< + Payload2, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + slackConfigured: types.boolean(), + }) +); -export function via1FromJSON( +export function payload2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via1' from JSON`, + (x) => Payload2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Payload2' from JSON`, ); } /** @internal */ -export const Via$inboundSchema: z.ZodType = - smartUnion([ - z.lazy(() => Via1$inboundSchema), - z.lazy(() => Via2$inboundSchema), - z.lazy(() => Via3$inboundSchema), - z.lazy(() => Via4$inboundSchema), - z.lazy(() => Via5$inboundSchema), - ]); +export const Payload1$inboundSchema: z.ZodType< + Payload1, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => z.object({})); -export function viaFromJSON( +export function payload1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Via$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Via' from JSON`, + (x) => Payload1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Payload1' from JSON`, ); } /** @internal */ -export const UserEvent$inboundSchema: z.ZodType< - UserEvent, - z.ZodTypeDef, - unknown -> = z.object({ - categories: types.optional(z.array(Categories$inboundSchema)), - createdAt: types.number(), - details: types.optional(z.array(Details$inboundSchema)), - entities: z.array(Entities$inboundSchema), - id: types.string(), - payload: types.optional( +export const Payload$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => smartUnion([ - FourHundredAndThirtyThree$inboundSchema, - FourHundredAndThirtyFour$inboundSchema, - FourHundredAndThirtyTwo$inboundSchema, - FourHundredAndThirtyOne$inboundSchema, - TwoHundredAndSeventeen$inboundSchema, - TwoHundredAndSix$inboundSchema, - FourHundredAndTwentyFive$inboundSchema, - TwoHundredAndSeventySeven$inboundSchema, - OneHundredAndEight$inboundSchema, + FourHundredAndThirtyEight$inboundSchema, + FourHundredAndThirtyNine$inboundSchema, + FourHundredAndThirtySeven$inboundSchema, + FourHundredAndThirtySix$inboundSchema, TwoHundredAndEighteen$inboundSchema, - FiveHundredAndThirtySix$inboundSchema, + TwoHundredAndSeven$inboundSchema, + FourHundredAndThirty$inboundSchema, + TwoHundredAndEighty$inboundSchema, + OneHundredAndNine$inboundSchema, + TwoHundredAndNineteen$inboundSchema, + FiveHundredAndFortyOne$inboundSchema, z.lazy(() => Nine$inboundSchema), - OneHundredAndFortySix$inboundSchema, - TwoHundredAndTwenty$inboundSchema, + OneHundredAndFortySeven$inboundSchema, TwoHundredAndTwentyOne$inboundSchema, - TwoHundredAndSixtyNine$inboundSchema, - ThreeHundredAndFortyOne$inboundSchema, + TwoHundredAndTwentyTwo$inboundSchema, + TwoHundredAndSeventyTwo$inboundSchema, + ThreeHundredAndFortyFour$inboundSchema, z.lazy(() => Five$inboundSchema), z.lazy(() => Eleven$inboundSchema), - OneHundredAndSixtyNine$inboundSchema, - OneHundredAndNinety$inboundSchema, - TwoHundredAndTen$inboundSchema, - TwoHundredAndFourteen$inboundSchema, - TwoHundredAndNineteen$inboundSchema, - TwoHundredAndFiftyOne$inboundSchema, - TwoHundredAndFiftyTwo$inboundSchema, - ThreeHundredAndSeventeen$inboundSchema, - ThreeHundredAndEightyOne$inboundSchema, - FourHundredAndSix$inboundSchema, - FourHundredAndEight$inboundSchema, - FiveHundredAndTwentyFour$inboundSchema, + OneHundredAndSeventy$inboundSchema, + OneHundredAndNinetyOne$inboundSchema, + TwoHundredAndEleven$inboundSchema, + TwoHundredAndFifteen$inboundSchema, + TwoHundredAndTwenty$inboundSchema, + TwoHundredAndFiftyFour$inboundSchema, + TwoHundredAndFiftyFive$inboundSchema, + ThreeHundredAndTwenty$inboundSchema, + ThreeHundredAndEightyFour$inboundSchema, + FourHundredAndEleven$inboundSchema, + FourHundredAndThirteen$inboundSchema, + FiveHundredAndTwentyNine$inboundSchema, z.lazy(() => Ten$inboundSchema), z.lazy(() => Fourteen$inboundSchema), z.lazy(() => Sixteen$inboundSchema), FortySeven$inboundSchema, - OneHundredAndThirtyEight$inboundSchema, - OneHundredAndFortyThree$inboundSchema, + OneHundredAndThirtyNine$inboundSchema, OneHundredAndFortyFour$inboundSchema, OneHundredAndFortyFive$inboundSchema, - OneHundredAndFortySeven$inboundSchema, - OneHundredAndFiftyFour$inboundSchema, - OneHundredAndEightyEight$inboundSchema, - OneHundredAndNinetySeven$inboundSchema, - TwoHundredAndThree$inboundSchema, - TwoHundredAndNine$inboundSchema, - TwoHundredAndFifteen$inboundSchema, - TwoHundredAndFortyNine$inboundSchema, - TwoHundredAndFiftySeven$inboundSchema, - TwoHundredAndSixtyOne$inboundSchema, - TwoHundredAndEightySeven$inboundSchema, - ThreeHundredAndEighteen$inboundSchema, - ThreeHundredAndTwentyNine$inboundSchema, - ThreeHundredAndFortyThree$inboundSchema, - ThreeHundredAndFiftyThree$inboundSchema, - ThreeHundredAndNinetyOne$inboundSchema, - FourHundredAndThirty$inboundSchema, - FiveHundredAndTwelve$inboundSchema, - FiveHundredAndFourteen$inboundSchema, - FiveHundredAndTwentyOne$inboundSchema, - FiveHundredAndTwentySeven$inboundSchema, - FiveHundredAndFortyTwo$inboundSchema, + OneHundredAndFortySix$inboundSchema, + OneHundredAndFortyEight$inboundSchema, + OneHundredAndFiftyFive$inboundSchema, + OneHundredAndEightyNine$inboundSchema, + OneHundredAndNinetyEight$inboundSchema, + TwoHundredAndFour$inboundSchema, + TwoHundredAndTen$inboundSchema, + TwoHundredAndSixteen$inboundSchema, + TwoHundredAndFiftyTwo$inboundSchema, + TwoHundredAndSixty$inboundSchema, + TwoHundredAndSixtyFour$inboundSchema, + TwoHundredAndNinety$inboundSchema, + ThreeHundredAndTwentyOne$inboundSchema, + ThreeHundredAndThirtyTwo$inboundSchema, + ThreeHundredAndFortySix$inboundSchema, + ThreeHundredAndFiftySix$inboundSchema, + FourHundredAndThirtyFive$inboundSchema, + FiveHundredAndSeventeen$inboundSchema, + FiveHundredAndNineteen$inboundSchema, + FiveHundredAndTwentySix$inboundSchema, + FiveHundredAndThirtyTwo$inboundSchema, + FiveHundredAndFortySeven$inboundSchema, z.lazy(() => Four$inboundSchema), z.lazy(() => Seventeen$inboundSchema), z.lazy(() => Nineteen$inboundSchema), TwentyEight$inboundSchema, FortyOne$inboundSchema, - EightyEight$inboundSchema, EightyNine$inboundSchema, - OneHundredAndNine$inboundSchema, + Ninety$inboundSchema, OneHundredAndTen$inboundSchema, - OneHundredAndThirtyOne$inboundSchema, - OneHundredAndThirtyThree$inboundSchema, + OneHundredAndEleven$inboundSchema, + OneHundredAndThirtyTwo$inboundSchema, + OneHundredAndThirtyFour$inboundSchema, DeploymentCheckUpdatedPayload$inboundSchema, - OneHundredAndForty$inboundSchema, - OneHundredAndFiftyTwo$inboundSchema, - OneHundredAndSixtyEight$inboundSchema, - OneHundredAndSeventyFive$inboundSchema, - OneHundredAndSeventyNine$inboundSchema, - TwoHundredAndSeven$inboundSchema, + OneHundredAndFortyOne$inboundSchema, + OneHundredAndFiftyThree$inboundSchema, + OneHundredAndSixtyNine$inboundSchema, + OneHundredAndSeventySix$inboundSchema, + OneHundredAndEighty$inboundSchema, TwoHundredAndEight$inboundSchema, - TwoHundredAndTwentyTwo$inboundSchema, + TwoHundredAndNine$inboundSchema, TwoHundredAndTwentyThree$inboundSchema, TwoHundredAndTwentyFour$inboundSchema, - TwoHundredAndTwentyEight$inboundSchema, - TwoHundredAndFortySix$inboundSchema, - TwoHundredAndFiftyThree$inboundSchema, - TwoHundredAndFiftyNine$inboundSchema, - TwoHundredAndSixty$inboundSchema, - TwoHundredAndSixtySeven$inboundSchema, - TwoHundredAndSixtyEight$inboundSchema, + TwoHundredAndTwentyFive$inboundSchema, + TwoHundredAndTwentyNine$inboundSchema, + TwoHundredAndFortyNine$inboundSchema, + TwoHundredAndFiftySix$inboundSchema, + TwoHundredAndSixtyTwo$inboundSchema, + TwoHundredAndSixtyThree$inboundSchema, TwoHundredAndSeventy$inboundSchema, - TwoHundredAndSeventyFive$inboundSchema, + TwoHundredAndSeventyOne$inboundSchema, + TwoHundredAndSeventyThree$inboundSchema, TwoHundredAndSeventyEight$inboundSchema, - TwoHundredAndEightyTwo$inboundSchema, - ThreeHundredAndThree$inboundSchema, + TwoHundredAndEightyOne$inboundSchema, + TwoHundredAndEightyFive$inboundSchema, ThreeHundredAndSix$inboundSchema, - ThreeHundredAndFourteen$inboundSchema, - ThreeHundredAndNineteen$inboundSchema, - ThreeHundredAndTwenty$inboundSchema, + ThreeHundredAndNine$inboundSchema, + ThreeHundredAndSeventeen$inboundSchema, ThreeHundredAndTwentyTwo$inboundSchema, ThreeHundredAndTwentyThree$inboundSchema, - ThreeHundredAndTwentyFour$inboundSchema, ThreeHundredAndTwentyFive$inboundSchema, - ThreeHundredAndForty$inboundSchema, - ThreeHundredAndFortyTwo$inboundSchema, - ThreeHundredAndFortySix$inboundSchema, - ThreeHundredAndSixtyThree$inboundSchema, + ThreeHundredAndTwentySix$inboundSchema, + ThreeHundredAndTwentySeven$inboundSchema, + ThreeHundredAndTwentyEight$inboundSchema, + ThreeHundredAndFortyThree$inboundSchema, + ThreeHundredAndFortyFive$inboundSchema, + ThreeHundredAndFortyNine$inboundSchema, ThreeHundredAndSixtySix$inboundSchema, - ThreeHundredAndSixtyEight$inboundSchema, - ThreeHundredAndSeventyFive$inboundSchema, - ThreeHundredAndSeventySix$inboundSchema, - ThreeHundredAndSeventySeven$inboundSchema, + ThreeHundredAndSixtyNine$inboundSchema, + ThreeHundredAndSeventyOne$inboundSchema, + ThreeHundredAndSeventyEight$inboundSchema, ThreeHundredAndSeventyNine$inboundSchema, - ThreeHundredAndEightySix$inboundSchema, - ThreeHundredAndNinetyFour$inboundSchema, - ThreeHundredAndNinetyFive$inboundSchema, + ThreeHundredAndEighty$inboundSchema, + ThreeHundredAndEightyTwo$inboundSchema, + ThreeHundredAndEightyNine$inboundSchema, ThreeHundredAndNinetyEight$inboundSchema, - FourHundredAndFour$inboundSchema, - FourHundredAndSeven$inboundSchema, - FourHundredAndTwentyNine$inboundSchema, - FourHundredAndFortyFive$inboundSchema, - FourHundredAndSixty$inboundSchema, - FourHundredAndSeventyEight$inboundSchema, - FiveHundredAndSeven$inboundSchema, - FiveHundredAndNine$inboundSchema, - FiveHundredAndThirteen$inboundSchema, - FiveHundredAndFifteen$inboundSchema, - FiveHundredAndSixteen$inboundSchema, - FiveHundredAndSeventeen$inboundSchema, + ThreeHundredAndNinetyNine$inboundSchema, + FourHundred$inboundSchema, + FourHundredAndThree$inboundSchema, + FourHundredAndNine$inboundSchema, + FourHundredAndTwelve$inboundSchema, + FourHundredAndThirtyFour$inboundSchema, + FourHundredAndFifty$inboundSchema, + FourHundredAndSixtyFive$inboundSchema, + FourHundredAndEightyThree$inboundSchema, + FiveHundredAndTwelve$inboundSchema, + FiveHundredAndFourteen$inboundSchema, + FiveHundredAndEighteen$inboundSchema, + FiveHundredAndTwenty$inboundSchema, + FiveHundredAndTwentyOne$inboundSchema, FiveHundredAndTwentyTwo$inboundSchema, - FiveHundredAndTwentyThree$inboundSchema, - FiveHundredAndFortySix$inboundSchema, - FiveHundredAndFortySeven$inboundSchema, + FiveHundredAndTwentySeven$inboundSchema, + FiveHundredAndTwentyEight$inboundSchema, + FiveHundredAndFiftyOne$inboundSchema, + FiveHundredAndFiftyTwo$inboundSchema, z.lazy(() => Eight$inboundSchema), z.lazy(() => Twelve$inboundSchema), z.lazy(() => Fifteen$inboundSchema), z.lazy(() => Eighteen$inboundSchema), - Twenty$inboundSchema, + z.lazy(() => Twenty$inboundSchema), TwentySeven$inboundSchema, - SixtyEight$inboundSchema, - SeventyThree$inboundSchema, - NinetyNine$inboundSchema, - OneHundredAndTwo$inboundSchema, - OneHundredAndThirteen$inboundSchema, + SixtyNine$inboundSchema, + SeventyFour$inboundSchema, + OneHundred$inboundSchema, + OneHundredAndThree$inboundSchema, OneHundredAndFourteen$inboundSchema, OneHundredAndFifteen$inboundSchema, OneHundredAndSixteen$inboundSchema, - OneHundredAndTwentyFour$inboundSchema, - OneHundredAndTwentyNine$inboundSchema, + OneHundredAndSeventeen$inboundSchema, + OneHundredAndTwentyFive$inboundSchema, OneHundredAndThirty$inboundSchema, - OneHundredAndThirtyNine$inboundSchema, - OneHundredAndFortyOne$inboundSchema, - OneHundredAndFiftyFive$inboundSchema, - OneHundredAndFiftySeven$inboundSchema, - OneHundredAndFiftyNine$inboundSchema, + OneHundredAndThirtyOne$inboundSchema, + OneHundredAndForty$inboundSchema, + OneHundredAndFortyTwo$inboundSchema, + OneHundredAndFiftySix$inboundSchema, + OneHundredAndFiftyEight$inboundSchema, OneHundredAndSixty$inboundSchema, OneHundredAndSixtyOne$inboundSchema, OneHundredAndSixtyTwo$inboundSchema, - OneHundredAndSeventy$inboundSchema, + OneHundredAndSixtyThree$inboundSchema, OneHundredAndSeventyOne$inboundSchema, OneHundredAndSeventyTwo$inboundSchema, - OneHundredAndSeventyFour$inboundSchema, - OneHundredAndSeventyEight$inboundSchema, - OneHundredAndEighty$inboundSchema, - OneHundredAndNinetyTwo$inboundSchema, + OneHundredAndSeventyThree$inboundSchema, + OneHundredAndSeventyFive$inboundSchema, + OneHundredAndSeventyNine$inboundSchema, + OneHundredAndEightyOne$inboundSchema, OneHundredAndNinetyThree$inboundSchema, OneHundredAndNinetyFour$inboundSchema, - OneHundredAndNinetyEight$inboundSchema, + OneHundredAndNinetyFive$inboundSchema, OneHundredAndNinetyNine$inboundSchema, - TwoHundredAndOne$inboundSchema, - TwoHundredAndEleven$inboundSchema, + TwoHundred$inboundSchema, + TwoHundredAndTwo$inboundSchema, TwoHundredAndTwelve$inboundSchema, - TwoHundredAndSixteen$inboundSchema, - TwoHundredAndTwentySeven$inboundSchema, - TwoHundredAndThirtyFour$inboundSchema, - TwoHundredAndThirtyEight$inboundSchema, - TwoHundredAndFortyOne$inboundSchema, - TwoHundredAndFortyThree$inboundSchema, - TwoHundredAndFifty$inboundSchema, - TwoHundredAndFiftySix$inboundSchema, - TwoHundredAndFiftyEight$inboundSchema, - TwoHundredAndSixtyTwo$inboundSchema, - TwoHundredAndSixtyThree$inboundSchema, - TwoHundredAndSixtyFour$inboundSchema, + TwoHundredAndThirteen$inboundSchema, + TwoHundredAndSeventeen$inboundSchema, + TwoHundredAndTwentyEight$inboundSchema, + TwoHundredAndThirtyFive$inboundSchema, + TwoHundredAndThirtyNine$inboundSchema, + TwoHundredAndFortyTwo$inboundSchema, + TwoHundredAndFortyFour$inboundSchema, + TwoHundredAndFortySix$inboundSchema, + TwoHundredAndFiftyThree$inboundSchema, + TwoHundredAndFiftyNine$inboundSchema, + TwoHundredAndSixtyOne$inboundSchema, TwoHundredAndSixtyFive$inboundSchema, TwoHundredAndSixtySix$inboundSchema, - TwoHundredAndSeventyOne$inboundSchema, - TwoHundredAndSeventyTwo$inboundSchema, - TwoHundredAndSeventyThree$inboundSchema, + TwoHundredAndSixtySeven$inboundSchema, + TwoHundredAndSixtyEight$inboundSchema, + TwoHundredAndSixtyNine$inboundSchema, TwoHundredAndSeventyFour$inboundSchema, - TwoHundredAndEightyFour$inboundSchema, - TwoHundredAndNinetyOne$inboundSchema, - TwoHundredAndNinetyThree$inboundSchema, - TwoHundredAndNinetyFive$inboundSchema, + TwoHundredAndSeventyFive$inboundSchema, + TwoHundredAndSeventySix$inboundSchema, + TwoHundredAndSeventySeven$inboundSchema, + TwoHundredAndEightySeven$inboundSchema, + TwoHundredAndNinetyFour$inboundSchema, TwoHundredAndNinetySix$inboundSchema, TwoHundredAndNinetyEight$inboundSchema, + TwoHundredAndNinetyNine$inboundSchema, ThreeHundredAndOne$inboundSchema, - ThreeHundredAndTwo$inboundSchema, ThreeHundredAndFour$inboundSchema, ThreeHundredAndFive$inboundSchema, ThreeHundredAndSeven$inboundSchema, - ThreeHundredAndTwelve$inboundSchema, + ThreeHundredAndEight$inboundSchema, + ThreeHundredAndTen$inboundSchema, ThreeHundredAndFifteen$inboundSchema, - ThreeHundredAndSixteen$inboundSchema, - ThreeHundredAndTwentySix$inboundSchema, - ThreeHundredAndTwentySeven$inboundSchema, - ThreeHundredAndTwentyEight$inboundSchema, + ThreeHundredAndEighteen$inboundSchema, + ThreeHundredAndNineteen$inboundSchema, + ThreeHundredAndTwentyNine$inboundSchema, ThreeHundredAndThirty$inboundSchema, ThreeHundredAndThirtyOne$inboundSchema, - ThreeHundredAndThirtyTwo$inboundSchema, ThreeHundredAndThirtyThree$inboundSchema, ThreeHundredAndThirtyFour$inboundSchema, + ThreeHundredAndThirtyFive$inboundSchema, + ThreeHundredAndThirtySix$inboundSchema, ThreeHundredAndThirtySeven$inboundSchema, - ThreeHundredAndThirtyEight$inboundSchema, - ThreeHundredAndThirtyNine$inboundSchema, - ThreeHundredAndFortyFour$inboundSchema, - ThreeHundredAndFiftyOne$inboundSchema, + ThreeHundredAndForty$inboundSchema, + ThreeHundredAndFortyOne$inboundSchema, + ThreeHundredAndFortyTwo$inboundSchema, + ThreeHundredAndFortySeven$inboundSchema, ThreeHundredAndFiftyFour$inboundSchema, - ThreeHundredAndFiftyFive$inboundSchema, ThreeHundredAndFiftySeven$inboundSchema, - ThreeHundredAndSixtyNine$inboundSchema, - ThreeHundredAndSeventy$inboundSchema, - ThreeHundredAndSeventyOne$inboundSchema, + ThreeHundredAndFiftyEight$inboundSchema, + ThreeHundredAndSixty$inboundSchema, ThreeHundredAndSeventyTwo$inboundSchema, ThreeHundredAndSeventyThree$inboundSchema, - ThreeHundredAndEightyFour$inboundSchema, + ThreeHundredAndSeventyFour$inboundSchema, + ThreeHundredAndSeventyFive$inboundSchema, + ThreeHundredAndSeventySix$inboundSchema, ThreeHundredAndEightySeven$inboundSchema, ThreeHundredAndNinety$inboundSchema, - FourHundredAndNine$inboundSchema, - FourHundredAndSeventeen$inboundSchema, - FourHundredAndEighteen$inboundSchema, - FourHundredAndTwentyOne$inboundSchema, - FourHundredAndThirtyFive$inboundSchema, + ThreeHundredAndNinetyFive$inboundSchema, + FourHundredAndFourteen$inboundSchema, + FourHundredAndTwentyTwo$inboundSchema, + FourHundredAndTwentyThree$inboundSchema, + FourHundredAndTwentySix$inboundSchema, FourHundredAndForty$inboundSchema, - FourHundredAndSixtyFour$inboundSchema, - FourHundredAndEightyNine$inboundSchema, - FourHundredAndNinetyFive$inboundSchema, - FourHundredAndNinetySix$inboundSchema, - FourHundredAndNinetyNine$inboundSchema, - FiveHundredAndTen$inboundSchema, - FiveHundredAndEleven$inboundSchema, - FiveHundredAndTwentySix$inboundSchema, - FiveHundredAndTwentyEight$inboundSchema, - FiveHundredAndTwentyNine$inboundSchema, - FiveHundredAndThirty$inboundSchema, + FourHundredAndFortyFive$inboundSchema, + FourHundredAndSixtyNine$inboundSchema, + FourHundredAndNinetyFour$inboundSchema, + FiveHundred$inboundSchema, + FiveHundredAndOne$inboundSchema, + FiveHundredAndFour$inboundSchema, + FiveHundredAndFifteen$inboundSchema, + FiveHundredAndSixteen$inboundSchema, FiveHundredAndThirtyOne$inboundSchema, - FiveHundredAndThirtyTwo$inboundSchema, - FiveHundredAndThirtyEight$inboundSchema, - FiveHundredAndForty$inboundSchema, - FiveHundredAndFortyOne$inboundSchema, + FiveHundredAndThirtyThree$inboundSchema, + FiveHundredAndThirtyFour$inboundSchema, + FiveHundredAndThirtyFive$inboundSchema, + FiveHundredAndThirtySix$inboundSchema, + FiveHundredAndThirtySeven$inboundSchema, + FiveHundredAndFortyThree$inboundSchema, + FiveHundredAndFortyFive$inboundSchema, + FiveHundredAndFortySix$inboundSchema, z.lazy(() => Payload2$inboundSchema), z.lazy(() => Six$inboundSchema), z.lazy(() => Seven$inboundSchema), z.lazy(() => Thirteen$inboundSchema), - TwentyOne$inboundSchema, - TwentyTwo$inboundSchema, - TwentyFour$inboundSchema, - TwentyFive$inboundSchema, + z.lazy(() => TwentyOne$inboundSchema), + z.lazy(() => TwentyTwo$inboundSchema), + z.lazy(() => TwentyFour$inboundSchema), + z.lazy(() => TwentyFive$inboundSchema), TwentySix$inboundSchema, ThirtyOne$inboundSchema, ThirtyFour$inboundSchema, @@ -5242,128 +4713,129 @@ export const UserEvent$inboundSchema: z.ZodType< FortyTwo$inboundSchema, FortyThree$inboundSchema, Fifty$inboundSchema, - SixtyOne$inboundSchema, - SixtyThree$inboundSchema, - SixtySix$inboundSchema, - SeventyFour$inboundSchema, - SeventySeven$inboundSchema, - SeventyNine$inboundSchema, - EightyFive$inboundSchema, + SixtyTwo$inboundSchema, + SixtyFour$inboundSchema, + SixtySeven$inboundSchema, + SeventyFive$inboundSchema, + SeventyEight$inboundSchema, + Eighty$inboundSchema, EightySix$inboundSchema, - NinetyOne$inboundSchema, - NinetyFive$inboundSchema, + EightySeven$inboundSchema, + NinetyTwo$inboundSchema, NinetySix$inboundSchema, NinetySeven$inboundSchema, - OneHundred$inboundSchema, - OneHundredAndFive$inboundSchema, - OneHundredAndEleven$inboundSchema, - OneHundredAndNineteen$inboundSchema, + NinetyEight$inboundSchema, + OneHundredAndOne$inboundSchema, + OneHundredAndSix$inboundSchema, + OneHundredAndTwelve$inboundSchema, OneHundredAndTwenty$inboundSchema, OneHundredAndTwentyOne$inboundSchema, OneHundredAndTwentyTwo$inboundSchema, OneHundredAndTwentyThree$inboundSchema, - OneHundredAndTwentySeven$inboundSchema, - OneHundredAndThirtyTwo$inboundSchema, - OneHundredAndFortyTwo$inboundSchema, - OneHundredAndFortyNine$inboundSchema, + OneHundredAndTwentyFour$inboundSchema, + OneHundredAndTwentyEight$inboundSchema, + OneHundredAndThirtyThree$inboundSchema, + OneHundredAndFortyThree$inboundSchema, OneHundredAndFifty$inboundSchema, - OneHundredAndFiftyThree$inboundSchema, - OneHundredAndFiftyEight$inboundSchema, - OneHundredAndSixtySix$inboundSchema, - OneHundredAndSeventyThree$inboundSchema, - OneHundredAndSeventySix$inboundSchema, + OneHundredAndFiftyOne$inboundSchema, + OneHundredAndFiftyFour$inboundSchema, + OneHundredAndFiftyNine$inboundSchema, + OneHundredAndSixtySeven$inboundSchema, + OneHundredAndSeventyFour$inboundSchema, OneHundredAndSeventySeven$inboundSchema, - OneHundredAndEightyOne$inboundSchema, + OneHundredAndSeventyEight$inboundSchema, OneHundredAndEightyTwo$inboundSchema, - OneHundredAndEightySeven$inboundSchema, - TwoHundred$inboundSchema, - TwoHundredAndThirteen$inboundSchema, - TwoHundredAndTwentyFive$inboundSchema, + OneHundredAndEightyThree$inboundSchema, + OneHundredAndEightyEight$inboundSchema, + TwoHundredAndOne$inboundSchema, + TwoHundredAndFourteen$inboundSchema, TwoHundredAndTwentySix$inboundSchema, - TwoHundredAndThirtyOne$inboundSchema, - TwoHundredAndThirtyNine$inboundSchema, + TwoHundredAndTwentySeven$inboundSchema, + TwoHundredAndThirtyTwo$inboundSchema, TwoHundredAndForty$inboundSchema, - TwoHundredAndFortyTwo$inboundSchema, - TwoHundredAndFortyFive$inboundSchema, + TwoHundredAndFortyOne$inboundSchema, + TwoHundredAndFortyThree$inboundSchema, TwoHundredAndFortySeven$inboundSchema, TwoHundredAndFortyEight$inboundSchema, - TwoHundredAndFiftyFour$inboundSchema, - TwoHundredAndFiftyFive$inboundSchema, - TwoHundredAndSeventySix$inboundSchema, + TwoHundredAndFifty$inboundSchema, + TwoHundredAndFiftyOne$inboundSchema, + TwoHundredAndFiftySeven$inboundSchema, + TwoHundredAndFiftyEight$inboundSchema, TwoHundredAndSeventyNine$inboundSchema, - TwoHundredAndEightyOne$inboundSchema, - TwoHundredAndEightyEight$inboundSchema, - TwoHundredAndNinety$inboundSchema, - TwoHundredAndNinetyTwo$inboundSchema, - TwoHundredAndNinetyFour$inboundSchema, - TwoHundredAndNinetyNine$inboundSchema, - ThreeHundred$inboundSchema, - ThreeHundredAndTen$inboundSchema, + TwoHundredAndEightyTwo$inboundSchema, + TwoHundredAndEightyFour$inboundSchema, + TwoHundredAndNinetyOne$inboundSchema, + TwoHundredAndNinetyThree$inboundSchema, + TwoHundredAndNinetyFive$inboundSchema, + TwoHundredAndNinetySeven$inboundSchema, + ThreeHundredAndTwo$inboundSchema, + ThreeHundredAndThree$inboundSchema, ThreeHundredAndThirteen$inboundSchema, - ThreeHundredAndTwentyOne$inboundSchema, - ThreeHundredAndFortySeven$inboundSchema, - ThreeHundredAndFortyNine$inboundSchema, + ThreeHundredAndSixteen$inboundSchema, + ThreeHundredAndTwentyFour$inboundSchema, ThreeHundredAndFifty$inboundSchema, ThreeHundredAndFiftyTwo$inboundSchema, - ThreeHundredAndFiftySix$inboundSchema, - ThreeHundredAndFiftyEight$inboundSchema, - ThreeHundredAndSixty$inboundSchema, - ThreeHundredAndSixtyTwo$inboundSchema, - ThreeHundredAndSixtyFour$inboundSchema, + ThreeHundredAndFiftyThree$inboundSchema, + ThreeHundredAndFiftyFive$inboundSchema, + ThreeHundredAndFiftyNine$inboundSchema, + ThreeHundredAndSixtyOne$inboundSchema, + ThreeHundredAndSixtyThree$inboundSchema, ThreeHundredAndSixtyFive$inboundSchema, ThreeHundredAndSixtySeven$inboundSchema, - ThreeHundredAndSeventyFour$inboundSchema, - ThreeHundredAndSeventyEight$inboundSchema, - ThreeHundredAndEighty$inboundSchema, + ThreeHundredAndSixtyEight$inboundSchema, + ThreeHundredAndSeventy$inboundSchema, + ThreeHundredAndSeventySeven$inboundSchema, + ThreeHundredAndEightyOne$inboundSchema, ThreeHundredAndEightyThree$inboundSchema, - ThreeHundredAndEightyFive$inboundSchema, - ThreeHundredAndEightyNine$inboundSchema, + ThreeHundredAndEightySix$inboundSchema, + ThreeHundredAndEightyEight$inboundSchema, ThreeHundredAndNinetyTwo$inboundSchema, - ThreeHundredAndNinetyThree$inboundSchema, ThreeHundredAndNinetySix$inboundSchema, ThreeHundredAndNinetySeven$inboundSchema, - FourHundred$inboundSchema, FourHundredAndOne$inboundSchema, FourHundredAndTwo$inboundSchema, - FourHundredAndNineteen$inboundSchema, + FourHundredAndFive$inboundSchema, + FourHundredAndSix$inboundSchema, + FourHundredAndSeven$inboundSchema, FourHundredAndTwentyFour$inboundSchema, - FourHundredAndTwentySeven$inboundSchema, - FourHundredAndTwentyEight$inboundSchema, - FourHundredAndThirtySix$inboundSchema, - FourHundredAndFortyTwo$inboundSchema, - FourHundredAndFortyThree$inboundSchema, - FourHundredAndFortySix$inboundSchema, + FourHundredAndTwentyNine$inboundSchema, + FourHundredAndThirtyTwo$inboundSchema, + FourHundredAndThirtyThree$inboundSchema, + FourHundredAndFortyOne$inboundSchema, + FourHundredAndFortySeven$inboundSchema, FourHundredAndFortyEight$inboundSchema, + FourHundredAndFiftyOne$inboundSchema, FourHundredAndFiftyThree$inboundSchema, - FourHundredAndFiftyFour$inboundSchema, - FourHundredAndSixtyTwo$inboundSchema, + FourHundredAndFiftyEight$inboundSchema, + FourHundredAndFiftyNine$inboundSchema, FourHundredAndSixtySeven$inboundSchema, - FourHundredAndSixtyEight$inboundSchema, - FourHundredAndSixtyNine$inboundSchema, + FourHundredAndSeventyTwo$inboundSchema, + FourHundredAndSeventyThree$inboundSchema, FourHundredAndSeventyFour$inboundSchema, - FourHundredAndSeventySix$inboundSchema, + FourHundredAndSeventyNine$inboundSchema, FourHundredAndEightyOne$inboundSchema, - FourHundredAndEightyTwo$inboundSchema, - FourHundredAndEightyFive$inboundSchema, + FourHundredAndEightySix$inboundSchema, FourHundredAndEightySeven$inboundSchema, + FourHundredAndNinety$inboundSchema, FourHundredAndNinetyTwo$inboundSchema, - FourHundredAndNinetyThree$inboundSchema, - FourHundredAndNinetyFour$inboundSchema, + FourHundredAndNinetySeven$inboundSchema, FourHundredAndNinetyEight$inboundSchema, - FiveHundred$inboundSchema, - FiveHundredAndOne$inboundSchema, + FourHundredAndNinetyNine$inboundSchema, + FiveHundredAndThree$inboundSchema, FiveHundredAndFive$inboundSchema, FiveHundredAndSix$inboundSchema, - FiveHundredAndEight$inboundSchema, - FiveHundredAndNineteen$inboundSchema, - FiveHundredAndTwentyFive$inboundSchema, - FiveHundredAndThirtyFour$inboundSchema, - FiveHundredAndThirtySeven$inboundSchema, + FiveHundredAndTen$inboundSchema, + FiveHundredAndEleven$inboundSchema, + FiveHundredAndThirteen$inboundSchema, + FiveHundredAndTwentyFour$inboundSchema, + FiveHundredAndThirty$inboundSchema, FiveHundredAndThirtyNine$inboundSchema, - FiveHundredAndFortyThree$inboundSchema, - FiveHundredAndFortyFive$inboundSchema, + FiveHundredAndFortyTwo$inboundSchema, + FiveHundredAndFortyFour$inboundSchema, FiveHundredAndFortyEight$inboundSchema, - TwentyThree$inboundSchema, + FiveHundredAndFifty$inboundSchema, + FiveHundredAndFiftyThree$inboundSchema, + z.lazy(() => TwentyThree$inboundSchema), TwentyNine$inboundSchema, Thirty$inboundSchema, ThirtyTwo$inboundSchema, @@ -5378,7 +4850,6 @@ export const UserEvent$inboundSchema: z.ZodType< FortyEight$inboundSchema, FortyNine$inboundSchema, FiftyOne$inboundSchema, - FiftyThree$inboundSchema, FiftyFour$inboundSchema, FiftyFive$inboundSchema, FiftySix$inboundSchema, @@ -5386,166 +4857,1097 @@ export const UserEvent$inboundSchema: z.ZodType< FiftyEight$inboundSchema, FiftyNine$inboundSchema, Sixty$inboundSchema, - SixtyTwo$inboundSchema, - SixtySeven$inboundSchema, - SeventyEight$inboundSchema, - Eighty$inboundSchema, + SixtyOne$inboundSchema, + SixtyThree$inboundSchema, + SixtyEight$inboundSchema, + SeventyNine$inboundSchema, EightyOne$inboundSchema, EightyTwo$inboundSchema, EightyThree$inboundSchema, EightyFour$inboundSchema, - Ninety$inboundSchema, - NinetyTwo$inboundSchema, + EightyFive$inboundSchema, + NinetyOne$inboundSchema, NinetyThree$inboundSchema, NinetyFour$inboundSchema, - NinetyEight$inboundSchema, - OneHundredAndOne$inboundSchema, - OneHundredAndFour$inboundSchema, - OneHundredAndSix$inboundSchema, - OneHundredAndTwelve$inboundSchema, - OneHundredAndSeventeen$inboundSchema, + NinetyFive$inboundSchema, + NinetyNine$inboundSchema, + OneHundredAndTwo$inboundSchema, + OneHundredAndFive$inboundSchema, + OneHundredAndSeven$inboundSchema, + OneHundredAndThirteen$inboundSchema, OneHundredAndEighteen$inboundSchema, - OneHundredAndTwentyFive$inboundSchema, + OneHundredAndNineteen$inboundSchema, OneHundredAndTwentySix$inboundSchema, - OneHundredAndTwentyEight$inboundSchema, - OneHundredAndThirtyFive$inboundSchema, + OneHundredAndTwentySeven$inboundSchema, + OneHundredAndTwentyNine$inboundSchema, OneHundredAndThirtySix$inboundSchema, OneHundredAndThirtySeven$inboundSchema, - OneHundredAndFortyEight$inboundSchema, - OneHundredAndFiftyOne$inboundSchema, - OneHundredAndFiftySix$inboundSchema, - OneHundredAndSixtyThree$inboundSchema, + OneHundredAndThirtyEight$inboundSchema, + OneHundredAndFortyNine$inboundSchema, + OneHundredAndFiftyTwo$inboundSchema, + OneHundredAndFiftySeven$inboundSchema, OneHundredAndSixtyFour$inboundSchema, OneHundredAndSixtyFive$inboundSchema, - OneHundredAndSixtySeven$inboundSchema, - OneHundredAndEightyThree$inboundSchema, - OneHundredAndNinetyFive$inboundSchema, + OneHundredAndSixtySix$inboundSchema, + OneHundredAndSixtyEight$inboundSchema, + OneHundredAndEightyFour$inboundSchema, OneHundredAndNinetySix$inboundSchema, - TwoHundredAndTwo$inboundSchema, - TwoHundredAndFour$inboundSchema, + OneHundredAndNinetySeven$inboundSchema, + TwoHundredAndThree$inboundSchema, TwoHundredAndFive$inboundSchema, - TwoHundredAndTwentyNine$inboundSchema, + TwoHundredAndSix$inboundSchema, TwoHundredAndThirty$inboundSchema, - TwoHundredAndThirtyTwo$inboundSchema, - TwoHundredAndThirtyFive$inboundSchema, + TwoHundredAndThirtyOne$inboundSchema, + TwoHundredAndThirtyThree$inboundSchema, TwoHundredAndThirtySix$inboundSchema, TwoHundredAndThirtySeven$inboundSchema, - TwoHundredAndFortyFour$inboundSchema, - TwoHundredAndEighty$inboundSchema, + TwoHundredAndThirtyEight$inboundSchema, + TwoHundredAndFortyFive$inboundSchema, TwoHundredAndEightyThree$inboundSchema, - TwoHundredAndEightyNine$inboundSchema, - TwoHundredAndNinetySeven$inboundSchema, - ThreeHundredAndEleven$inboundSchema, - ThreeHundredAndThirtyFive$inboundSchema, - ThreeHundredAndThirtySix$inboundSchema, - ThreeHundredAndFortyFive$inboundSchema, + TwoHundredAndEightySix$inboundSchema, + TwoHundredAndNinetyTwo$inboundSchema, + ThreeHundred$inboundSchema, + ThreeHundredAndFourteen$inboundSchema, + ThreeHundredAndThirtyEight$inboundSchema, + ThreeHundredAndThirtyNine$inboundSchema, ThreeHundredAndFortyEight$inboundSchema, - ThreeHundredAndFiftyNine$inboundSchema, - ThreeHundredAndSixtyOne$inboundSchema, - ThreeHundredAndEightyTwo$inboundSchema, - ThreeHundredAndNinetyNine$inboundSchema, - FourHundredAndThree$inboundSchema, - FourHundredAndTen$inboundSchema, - FourHundredAndEleven$inboundSchema, - FourHundredAndTwelve$inboundSchema, - FourHundredAndThirteen$inboundSchema, + ThreeHundredAndFiftyOne$inboundSchema, + ThreeHundredAndSixtyTwo$inboundSchema, + ThreeHundredAndSixtyFour$inboundSchema, + ThreeHundredAndEightyFive$inboundSchema, + ThreeHundredAndNinetyFour$inboundSchema, + FourHundredAndFour$inboundSchema, + FourHundredAndEight$inboundSchema, FourHundredAndFifteen$inboundSchema, FourHundredAndSixteen$inboundSchema, + FourHundredAndSeventeen$inboundSchema, + FourHundredAndEighteen$inboundSchema, FourHundredAndTwenty$inboundSchema, - FourHundredAndTwentyThree$inboundSchema, - FourHundredAndTwentySix$inboundSchema, - FourHundredAndFortyOne$inboundSchema, - FourHundredAndFortyFour$inboundSchema, - FourHundredAndFifty$inboundSchema, - FourHundredAndFiftyOne$inboundSchema, + FourHundredAndTwentyOne$inboundSchema, + FourHundredAndTwentyFive$inboundSchema, + FourHundredAndTwentyEight$inboundSchema, + FourHundredAndThirtyOne$inboundSchema, + FourHundredAndFortySix$inboundSchema, + FourHundredAndFortyNine$inboundSchema, + FourHundredAndFiftyFive$inboundSchema, FourHundredAndFiftySix$inboundSchema, - FourHundredAndFiftySeven$inboundSchema, - FourHundredAndFiftyEight$inboundSchema, - FourHundredAndFiftyNine$inboundSchema, FourHundredAndSixtyOne$inboundSchema, + FourHundredAndSixtyTwo$inboundSchema, FourHundredAndSixtyThree$inboundSchema, - FourHundredAndSeventy$inboundSchema, - FourHundredAndSeventyTwo$inboundSchema, - FourHundredAndSeventyThree$inboundSchema, + FourHundredAndSixtyFour$inboundSchema, + FourHundredAndSixtySix$inboundSchema, + FourHundredAndSixtyEight$inboundSchema, + FourHundredAndSeventyFive$inboundSchema, FourHundredAndSeventySeven$inboundSchema, - FourHundredAndSeventyNine$inboundSchema, - FourHundredAndEightyThree$inboundSchema, + FourHundredAndSeventyEight$inboundSchema, + FourHundredAndEightyTwo$inboundSchema, FourHundredAndEightyFour$inboundSchema, FourHundredAndEightyEight$inboundSchema, - FourHundredAndNinety$inboundSchema, - FourHundredAndNinetyOne$inboundSchema, - FourHundredAndNinetySeven$inboundSchema, + FourHundredAndEightyNine$inboundSchema, + FourHundredAndNinetyThree$inboundSchema, + FourHundredAndNinetyFive$inboundSchema, + FourHundredAndNinetySix$inboundSchema, FiveHundredAndTwo$inboundSchema, - FiveHundredAndThree$inboundSchema, - FiveHundredAndFour$inboundSchema, - FiveHundredAndEighteen$inboundSchema, - FiveHundredAndTwenty$inboundSchema, - FiveHundredAndThirtyThree$inboundSchema, - FiveHundredAndThirtyFive$inboundSchema, - FiveHundredAndFortyFour$inboundSchema, + FiveHundredAndSeven$inboundSchema, + FiveHundredAndEight$inboundSchema, + FiveHundredAndNine$inboundSchema, + FiveHundredAndTwentyThree$inboundSchema, + FiveHundredAndTwentyFive$inboundSchema, + FiveHundredAndThirtyEight$inboundSchema, + FiveHundredAndForty$inboundSchema, + FiveHundredAndFortyNine$inboundSchema, z.lazy(() => Payload1$inboundSchema), z.lazy(() => Payload3$inboundSchema), FiftyTwo$inboundSchema, - SixtyFour$inboundSchema, + FiftyThree$inboundSchema, SixtyFive$inboundSchema, - SixtyNine$inboundSchema, + SixtySix$inboundSchema, Seventy$inboundSchema, SeventyOne$inboundSchema, SeventyTwo$inboundSchema, - SeventyFive$inboundSchema, + SeventyThree$inboundSchema, SeventySix$inboundSchema, - EightySeven$inboundSchema, - OneHundredAndThree$inboundSchema, - OneHundredAndSeven$inboundSchema, - OneHundredAndEightyFour$inboundSchema, + SeventySeven$inboundSchema, + EightyEight$inboundSchema, + OneHundredAndFour$inboundSchema, + OneHundredAndEight$inboundSchema, OneHundredAndEightyFive$inboundSchema, OneHundredAndEightySix$inboundSchema, - OneHundredAndEightyNine$inboundSchema, - OneHundredAndNinetyOne$inboundSchema, - TwoHundredAndThirtyThree$inboundSchema, - TwoHundredAndEightyFive$inboundSchema, - TwoHundredAndEightySix$inboundSchema, - ThreeHundredAndEight$inboundSchema, - ThreeHundredAndNine$inboundSchema, - ThreeHundredAndEightyEight$inboundSchema, - FourHundredAndFive$inboundSchema, - FourHundredAndFourteen$inboundSchema, - FourHundredAndTwentyTwo$inboundSchema, - FourHundredAndThirtySeven$inboundSchema, - FourHundredAndThirtyEight$inboundSchema, - FourHundredAndThirtyNine$inboundSchema, - FourHundredAndFortySeven$inboundSchema, - FourHundredAndFortyNine$inboundSchema, + OneHundredAndEightySeven$inboundSchema, + OneHundredAndNinety$inboundSchema, + OneHundredAndNinetyTwo$inboundSchema, + TwoHundredAndThirtyFour$inboundSchema, + TwoHundredAndEightyEight$inboundSchema, + TwoHundredAndEightyNine$inboundSchema, + ThreeHundredAndEleven$inboundSchema, + ThreeHundredAndTwelve$inboundSchema, + ThreeHundredAndNinetyOne$inboundSchema, + ThreeHundredAndNinetyThree$inboundSchema, + FourHundredAndTen$inboundSchema, + FourHundredAndNineteen$inboundSchema, + FourHundredAndTwentySeven$inboundSchema, + FourHundredAndFortyTwo$inboundSchema, + FourHundredAndFortyThree$inboundSchema, + FourHundredAndFortyFour$inboundSchema, FourHundredAndFiftyTwo$inboundSchema, - FourHundredAndFiftyFive$inboundSchema, - FourHundredAndSixtyFive$inboundSchema, - FourHundredAndSixtySix$inboundSchema, + FourHundredAndFiftyFour$inboundSchema, + FourHundredAndFiftySeven$inboundSchema, + FourHundredAndSixty$inboundSchema, + FourHundredAndSeventy$inboundSchema, FourHundredAndSeventyOne$inboundSchema, - FourHundredAndSeventyFive$inboundSchema, + FourHundredAndSeventySix$inboundSchema, FourHundredAndEighty$inboundSchema, - FourHundredAndEightySix$inboundSchema, - ]), - ), - principal: types.optional( + FourHundredAndEightyFive$inboundSchema, + FourHundredAndNinetyOne$inboundSchema, + ]) + ); + +export function payloadFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Payload$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Payload' from JSON`, + ); +} + +/** @internal */ +export const UserEventPrincipal5Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPrincipal5Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPrincipal5Type)); + +/** @internal */ +export const Principal5$inboundSchema: z.ZodType< + Principal5, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UserEventPrincipal5Type$inboundSchema, + }) +); + +export function principal5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal5' from JSON`, + ); +} + +/** @internal */ +export const UserEventPrincipal4Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPrincipal4Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPrincipal4Type)); + +/** @internal */ +export const Principal4$inboundSchema: z.ZodType< + Principal4, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: UserEventPrincipal4Type$inboundSchema, + }) +); + +export function principal4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal4' from JSON`, + ); +} + +/** @internal */ +export const UserEventPrincipal3Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPrincipal3Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPrincipal3Type)); + +/** @internal */ +export const Principal3$inboundSchema: z.ZodType< + Principal3, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.optional(types.string()), + type: UserEventPrincipal3Type$inboundSchema, + }) +); + +export function principal3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal3' from JSON`, + ); +} + +/** @internal */ +export const UserEventPrincipalType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPrincipalType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPrincipalType)); + +/** @internal */ +export const Principal2$inboundSchema: z.ZodType< + Principal2, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + id: types.optional(types.string()), + name: types.string(), + type: UserEventPrincipalType$inboundSchema, + }) +); + +export function principal2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal2' from JSON`, + ); +} + +/** @internal */ +export const PrincipalType$inboundSchema: z.ZodNativeEnum< + typeof PrincipalType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PrincipalType)); + +/** @internal */ +export const Principal1$inboundSchema: z.ZodType< + Principal1, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.string(), + email: types.string(), + slug: types.optional(types.string()), + type: types.optional(PrincipalType$inboundSchema), + uid: types.string(), + username: types.string(), + }) +); + +export function principal1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal1' from JSON`, + ); +} + +/** @internal */ +export const Principal$inboundSchema: z.ZodType< + Principal, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Principal1$inboundSchema), + z.lazy(() => Principal2$inboundSchema), + z.lazy(() => Principal3$inboundSchema), + z.lazy(() => Principal4$inboundSchema), + z.lazy(() => Principal5$inboundSchema), + ]) +); + +export function principalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Principal$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Principal' from JSON`, + ); +} + +/** @internal */ +export const UserEventType$inboundSchema: z.ZodNativeEnum< + typeof UserEventType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventType)); + +/** @internal */ +export const User$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.string(), + email: types.string(), + slug: types.optional(types.string()), + uid: types.string(), + username: types.string(), + }) + ); + +export function userFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => User$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'User' from JSON`, + ); +} + +/** @internal */ +export const UserEventVia5Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventVia5Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventVia5Type)); + +/** @internal */ +export const Via5$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UserEventVia5Type$inboundSchema, + }) + ); + +export function via5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via5' from JSON`, + ); +} + +/** @internal */ +export const UserEventVia4Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventVia4Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventVia4Type)); + +/** @internal */ +export const Via4$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: UserEventVia4Type$inboundSchema, + }) + ); + +export function via4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via4' from JSON`, + ); +} + +/** @internal */ +export const UserEventVia3Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventVia3Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventVia3Type)); + +/** @internal */ +export const Via3$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + slug: types.optional(types.string()), + type: UserEventVia3Type$inboundSchema, + }) + ); + +export function via3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via3' from JSON`, + ); +} + +/** @internal */ +export const UserEventViaType$inboundSchema: z.ZodNativeEnum< + typeof UserEventViaType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventViaType)); + +/** @internal */ +export const Via2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.string(), + id: types.optional(types.string()), + name: types.string(), + type: UserEventViaType$inboundSchema, + }) + ); + +export function via2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via2' from JSON`, + ); +} + +/** @internal */ +export const ViaType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ViaType)); + +/** @internal */ +export const Via1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.string(), + email: types.string(), + slug: types.optional(types.string()), + type: types.optional(ViaType$inboundSchema), + uid: types.string(), + username: types.string(), + }) + ); + +export function via1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via1' from JSON`, + ); +} + +/** @internal */ +export const Via$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => smartUnion([ + z.lazy(() => Via1$inboundSchema), + z.lazy(() => Via2$inboundSchema), + z.lazy(() => Via3$inboundSchema), + z.lazy(() => Via4$inboundSchema), + z.lazy(() => Via5$inboundSchema), + ]) + ); + +export function viaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Via$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Via' from JSON`, + ); +} + +/** @internal */ +export const UserEvent$inboundSchema: z.ZodType< + UserEvent, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + categories: types.optional(z.array(Categories$inboundSchema)), + createdAt: types.number(), + details: types.optional(z.array(Details$inboundSchema)), + entities: z.array(Entities$inboundSchema), + id: types.string(), + payload: types.optional( + smartUnion([ + FourHundredAndThirtyEight$inboundSchema, + FourHundredAndThirtyNine$inboundSchema, + FourHundredAndThirtySeven$inboundSchema, + FourHundredAndThirtySix$inboundSchema, + TwoHundredAndEighteen$inboundSchema, + TwoHundredAndSeven$inboundSchema, + FourHundredAndThirty$inboundSchema, + TwoHundredAndEighty$inboundSchema, + OneHundredAndNine$inboundSchema, + TwoHundredAndNineteen$inboundSchema, + FiveHundredAndFortyOne$inboundSchema, + z.lazy(() => Nine$inboundSchema), + OneHundredAndFortySeven$inboundSchema, + TwoHundredAndTwentyOne$inboundSchema, + TwoHundredAndTwentyTwo$inboundSchema, + TwoHundredAndSeventyTwo$inboundSchema, + ThreeHundredAndFortyFour$inboundSchema, + z.lazy(() => Five$inboundSchema), + z.lazy(() => Eleven$inboundSchema), + OneHundredAndSeventy$inboundSchema, + OneHundredAndNinetyOne$inboundSchema, + TwoHundredAndEleven$inboundSchema, + TwoHundredAndFifteen$inboundSchema, + TwoHundredAndTwenty$inboundSchema, + TwoHundredAndFiftyFour$inboundSchema, + TwoHundredAndFiftyFive$inboundSchema, + ThreeHundredAndTwenty$inboundSchema, + ThreeHundredAndEightyFour$inboundSchema, + FourHundredAndEleven$inboundSchema, + FourHundredAndThirteen$inboundSchema, + FiveHundredAndTwentyNine$inboundSchema, + z.lazy(() => Ten$inboundSchema), + z.lazy(() => Fourteen$inboundSchema), + z.lazy(() => Sixteen$inboundSchema), + FortySeven$inboundSchema, + OneHundredAndThirtyNine$inboundSchema, + OneHundredAndFortyFour$inboundSchema, + OneHundredAndFortyFive$inboundSchema, + OneHundredAndFortySix$inboundSchema, + OneHundredAndFortyEight$inboundSchema, + OneHundredAndFiftyFive$inboundSchema, + OneHundredAndEightyNine$inboundSchema, + OneHundredAndNinetyEight$inboundSchema, + TwoHundredAndFour$inboundSchema, + TwoHundredAndTen$inboundSchema, + TwoHundredAndSixteen$inboundSchema, + TwoHundredAndFiftyTwo$inboundSchema, + TwoHundredAndSixty$inboundSchema, + TwoHundredAndSixtyFour$inboundSchema, + TwoHundredAndNinety$inboundSchema, + ThreeHundredAndTwentyOne$inboundSchema, + ThreeHundredAndThirtyTwo$inboundSchema, + ThreeHundredAndFortySix$inboundSchema, + ThreeHundredAndFiftySix$inboundSchema, + FourHundredAndThirtyFive$inboundSchema, + FiveHundredAndSeventeen$inboundSchema, + FiveHundredAndNineteen$inboundSchema, + FiveHundredAndTwentySix$inboundSchema, + FiveHundredAndThirtyTwo$inboundSchema, + FiveHundredAndFortySeven$inboundSchema, + z.lazy(() => Four$inboundSchema), + z.lazy(() => Seventeen$inboundSchema), + z.lazy(() => Nineteen$inboundSchema), + TwentyEight$inboundSchema, + FortyOne$inboundSchema, + EightyNine$inboundSchema, + Ninety$inboundSchema, + OneHundredAndTen$inboundSchema, + OneHundredAndEleven$inboundSchema, + OneHundredAndThirtyTwo$inboundSchema, + OneHundredAndThirtyFour$inboundSchema, + DeploymentCheckUpdatedPayload$inboundSchema, + OneHundredAndFortyOne$inboundSchema, + OneHundredAndFiftyThree$inboundSchema, + OneHundredAndSixtyNine$inboundSchema, + OneHundredAndSeventySix$inboundSchema, + OneHundredAndEighty$inboundSchema, + TwoHundredAndEight$inboundSchema, + TwoHundredAndNine$inboundSchema, + TwoHundredAndTwentyThree$inboundSchema, + TwoHundredAndTwentyFour$inboundSchema, + TwoHundredAndTwentyFive$inboundSchema, + TwoHundredAndTwentyNine$inboundSchema, + TwoHundredAndFortyNine$inboundSchema, + TwoHundredAndFiftySix$inboundSchema, + TwoHundredAndSixtyTwo$inboundSchema, + TwoHundredAndSixtyThree$inboundSchema, + TwoHundredAndSeventy$inboundSchema, + TwoHundredAndSeventyOne$inboundSchema, + TwoHundredAndSeventyThree$inboundSchema, + TwoHundredAndSeventyEight$inboundSchema, + TwoHundredAndEightyOne$inboundSchema, + TwoHundredAndEightyFive$inboundSchema, + ThreeHundredAndSix$inboundSchema, + ThreeHundredAndNine$inboundSchema, + ThreeHundredAndSeventeen$inboundSchema, + ThreeHundredAndTwentyTwo$inboundSchema, + ThreeHundredAndTwentyThree$inboundSchema, + ThreeHundredAndTwentyFive$inboundSchema, + ThreeHundredAndTwentySix$inboundSchema, + ThreeHundredAndTwentySeven$inboundSchema, + ThreeHundredAndTwentyEight$inboundSchema, + ThreeHundredAndFortyThree$inboundSchema, + ThreeHundredAndFortyFive$inboundSchema, + ThreeHundredAndFortyNine$inboundSchema, + ThreeHundredAndSixtySix$inboundSchema, + ThreeHundredAndSixtyNine$inboundSchema, + ThreeHundredAndSeventyOne$inboundSchema, + ThreeHundredAndSeventyEight$inboundSchema, + ThreeHundredAndSeventyNine$inboundSchema, + ThreeHundredAndEighty$inboundSchema, + ThreeHundredAndEightyTwo$inboundSchema, + ThreeHundredAndEightyNine$inboundSchema, + ThreeHundredAndNinetyEight$inboundSchema, + ThreeHundredAndNinetyNine$inboundSchema, + FourHundred$inboundSchema, + FourHundredAndThree$inboundSchema, + FourHundredAndNine$inboundSchema, + FourHundredAndTwelve$inboundSchema, + FourHundredAndThirtyFour$inboundSchema, + FourHundredAndFifty$inboundSchema, + FourHundredAndSixtyFive$inboundSchema, + FourHundredAndEightyThree$inboundSchema, + FiveHundredAndTwelve$inboundSchema, + FiveHundredAndFourteen$inboundSchema, + FiveHundredAndEighteen$inboundSchema, + FiveHundredAndTwenty$inboundSchema, + FiveHundredAndTwentyOne$inboundSchema, + FiveHundredAndTwentyTwo$inboundSchema, + FiveHundredAndTwentySeven$inboundSchema, + FiveHundredAndTwentyEight$inboundSchema, + FiveHundredAndFiftyOne$inboundSchema, + FiveHundredAndFiftyTwo$inboundSchema, + z.lazy(() => Eight$inboundSchema), + z.lazy(() => Twelve$inboundSchema), + z.lazy(() => Fifteen$inboundSchema), + z.lazy(() => Eighteen$inboundSchema), + z.lazy(() => Twenty$inboundSchema), + TwentySeven$inboundSchema, + SixtyNine$inboundSchema, + SeventyFour$inboundSchema, + OneHundred$inboundSchema, + OneHundredAndThree$inboundSchema, + OneHundredAndFourteen$inboundSchema, + OneHundredAndFifteen$inboundSchema, + OneHundredAndSixteen$inboundSchema, + OneHundredAndSeventeen$inboundSchema, + OneHundredAndTwentyFive$inboundSchema, + OneHundredAndThirty$inboundSchema, + OneHundredAndThirtyOne$inboundSchema, + OneHundredAndForty$inboundSchema, + OneHundredAndFortyTwo$inboundSchema, + OneHundredAndFiftySix$inboundSchema, + OneHundredAndFiftyEight$inboundSchema, + OneHundredAndSixty$inboundSchema, + OneHundredAndSixtyOne$inboundSchema, + OneHundredAndSixtyTwo$inboundSchema, + OneHundredAndSixtyThree$inboundSchema, + OneHundredAndSeventyOne$inboundSchema, + OneHundredAndSeventyTwo$inboundSchema, + OneHundredAndSeventyThree$inboundSchema, + OneHundredAndSeventyFive$inboundSchema, + OneHundredAndSeventyNine$inboundSchema, + OneHundredAndEightyOne$inboundSchema, + OneHundredAndNinetyThree$inboundSchema, + OneHundredAndNinetyFour$inboundSchema, + OneHundredAndNinetyFive$inboundSchema, + OneHundredAndNinetyNine$inboundSchema, + TwoHundred$inboundSchema, + TwoHundredAndTwo$inboundSchema, + TwoHundredAndTwelve$inboundSchema, + TwoHundredAndThirteen$inboundSchema, + TwoHundredAndSeventeen$inboundSchema, + TwoHundredAndTwentyEight$inboundSchema, + TwoHundredAndThirtyFive$inboundSchema, + TwoHundredAndThirtyNine$inboundSchema, + TwoHundredAndFortyTwo$inboundSchema, + TwoHundredAndFortyFour$inboundSchema, + TwoHundredAndFortySix$inboundSchema, + TwoHundredAndFiftyThree$inboundSchema, + TwoHundredAndFiftyNine$inboundSchema, + TwoHundredAndSixtyOne$inboundSchema, + TwoHundredAndSixtyFive$inboundSchema, + TwoHundredAndSixtySix$inboundSchema, + TwoHundredAndSixtySeven$inboundSchema, + TwoHundredAndSixtyEight$inboundSchema, + TwoHundredAndSixtyNine$inboundSchema, + TwoHundredAndSeventyFour$inboundSchema, + TwoHundredAndSeventyFive$inboundSchema, + TwoHundredAndSeventySix$inboundSchema, + TwoHundredAndSeventySeven$inboundSchema, + TwoHundredAndEightySeven$inboundSchema, + TwoHundredAndNinetyFour$inboundSchema, + TwoHundredAndNinetySix$inboundSchema, + TwoHundredAndNinetyEight$inboundSchema, + TwoHundredAndNinetyNine$inboundSchema, + ThreeHundredAndOne$inboundSchema, + ThreeHundredAndFour$inboundSchema, + ThreeHundredAndFive$inboundSchema, + ThreeHundredAndSeven$inboundSchema, + ThreeHundredAndEight$inboundSchema, + ThreeHundredAndTen$inboundSchema, + ThreeHundredAndFifteen$inboundSchema, + ThreeHundredAndEighteen$inboundSchema, + ThreeHundredAndNineteen$inboundSchema, + ThreeHundredAndTwentyNine$inboundSchema, + ThreeHundredAndThirty$inboundSchema, + ThreeHundredAndThirtyOne$inboundSchema, + ThreeHundredAndThirtyThree$inboundSchema, + ThreeHundredAndThirtyFour$inboundSchema, + ThreeHundredAndThirtyFive$inboundSchema, + ThreeHundredAndThirtySix$inboundSchema, + ThreeHundredAndThirtySeven$inboundSchema, + ThreeHundredAndForty$inboundSchema, + ThreeHundredAndFortyOne$inboundSchema, + ThreeHundredAndFortyTwo$inboundSchema, + ThreeHundredAndFortySeven$inboundSchema, + ThreeHundredAndFiftyFour$inboundSchema, + ThreeHundredAndFiftySeven$inboundSchema, + ThreeHundredAndFiftyEight$inboundSchema, + ThreeHundredAndSixty$inboundSchema, + ThreeHundredAndSeventyTwo$inboundSchema, + ThreeHundredAndSeventyThree$inboundSchema, + ThreeHundredAndSeventyFour$inboundSchema, + ThreeHundredAndSeventyFive$inboundSchema, + ThreeHundredAndSeventySix$inboundSchema, + ThreeHundredAndEightySeven$inboundSchema, + ThreeHundredAndNinety$inboundSchema, + ThreeHundredAndNinetyFive$inboundSchema, + FourHundredAndFourteen$inboundSchema, + FourHundredAndTwentyTwo$inboundSchema, + FourHundredAndTwentyThree$inboundSchema, + FourHundredAndTwentySix$inboundSchema, + FourHundredAndForty$inboundSchema, + FourHundredAndFortyFive$inboundSchema, + FourHundredAndSixtyNine$inboundSchema, + FourHundredAndNinetyFour$inboundSchema, + FiveHundred$inboundSchema, + FiveHundredAndOne$inboundSchema, + FiveHundredAndFour$inboundSchema, + FiveHundredAndFifteen$inboundSchema, + FiveHundredAndSixteen$inboundSchema, + FiveHundredAndThirtyOne$inboundSchema, + FiveHundredAndThirtyThree$inboundSchema, + FiveHundredAndThirtyFour$inboundSchema, + FiveHundredAndThirtyFive$inboundSchema, + FiveHundredAndThirtySix$inboundSchema, + FiveHundredAndThirtySeven$inboundSchema, + FiveHundredAndFortyThree$inboundSchema, + FiveHundredAndFortyFive$inboundSchema, + FiveHundredAndFortySix$inboundSchema, + z.lazy(() => Payload2$inboundSchema), + z.lazy(() => Six$inboundSchema), + z.lazy(() => Seven$inboundSchema), + z.lazy(() => Thirteen$inboundSchema), + z.lazy(() => TwentyOne$inboundSchema), + z.lazy(() => TwentyTwo$inboundSchema), + z.lazy(() => TwentyFour$inboundSchema), + z.lazy(() => TwentyFive$inboundSchema), + TwentySix$inboundSchema, + ThirtyOne$inboundSchema, + ThirtyFour$inboundSchema, + ThirtySix$inboundSchema, + ThirtySeven$inboundSchema, + FortyTwo$inboundSchema, + FortyThree$inboundSchema, + Fifty$inboundSchema, + SixtyTwo$inboundSchema, + SixtyFour$inboundSchema, + SixtySeven$inboundSchema, + SeventyFive$inboundSchema, + SeventyEight$inboundSchema, + Eighty$inboundSchema, + EightySix$inboundSchema, + EightySeven$inboundSchema, + NinetyTwo$inboundSchema, + NinetySix$inboundSchema, + NinetySeven$inboundSchema, + NinetyEight$inboundSchema, + OneHundredAndOne$inboundSchema, + OneHundredAndSix$inboundSchema, + OneHundredAndTwelve$inboundSchema, + OneHundredAndTwenty$inboundSchema, + OneHundredAndTwentyOne$inboundSchema, + OneHundredAndTwentyTwo$inboundSchema, + OneHundredAndTwentyThree$inboundSchema, + OneHundredAndTwentyFour$inboundSchema, + OneHundredAndTwentyEight$inboundSchema, + OneHundredAndThirtyThree$inboundSchema, + OneHundredAndFortyThree$inboundSchema, + OneHundredAndFifty$inboundSchema, + OneHundredAndFiftyOne$inboundSchema, + OneHundredAndFiftyFour$inboundSchema, + OneHundredAndFiftyNine$inboundSchema, + OneHundredAndSixtySeven$inboundSchema, + OneHundredAndSeventyFour$inboundSchema, + OneHundredAndSeventySeven$inboundSchema, + OneHundredAndSeventyEight$inboundSchema, + OneHundredAndEightyTwo$inboundSchema, + OneHundredAndEightyThree$inboundSchema, + OneHundredAndEightyEight$inboundSchema, + TwoHundredAndOne$inboundSchema, + TwoHundredAndFourteen$inboundSchema, + TwoHundredAndTwentySix$inboundSchema, + TwoHundredAndTwentySeven$inboundSchema, + TwoHundredAndThirtyTwo$inboundSchema, + TwoHundredAndForty$inboundSchema, + TwoHundredAndFortyOne$inboundSchema, + TwoHundredAndFortyThree$inboundSchema, + TwoHundredAndFortySeven$inboundSchema, + TwoHundredAndFortyEight$inboundSchema, + TwoHundredAndFifty$inboundSchema, + TwoHundredAndFiftyOne$inboundSchema, + TwoHundredAndFiftySeven$inboundSchema, + TwoHundredAndFiftyEight$inboundSchema, + TwoHundredAndSeventyNine$inboundSchema, + TwoHundredAndEightyTwo$inboundSchema, + TwoHundredAndEightyFour$inboundSchema, + TwoHundredAndNinetyOne$inboundSchema, + TwoHundredAndNinetyThree$inboundSchema, + TwoHundredAndNinetyFive$inboundSchema, + TwoHundredAndNinetySeven$inboundSchema, + ThreeHundredAndTwo$inboundSchema, + ThreeHundredAndThree$inboundSchema, + ThreeHundredAndThirteen$inboundSchema, + ThreeHundredAndSixteen$inboundSchema, + ThreeHundredAndTwentyFour$inboundSchema, + ThreeHundredAndFifty$inboundSchema, + ThreeHundredAndFiftyTwo$inboundSchema, + ThreeHundredAndFiftyThree$inboundSchema, + ThreeHundredAndFiftyFive$inboundSchema, + ThreeHundredAndFiftyNine$inboundSchema, + ThreeHundredAndSixtyOne$inboundSchema, + ThreeHundredAndSixtyThree$inboundSchema, + ThreeHundredAndSixtyFive$inboundSchema, + ThreeHundredAndSixtySeven$inboundSchema, + ThreeHundredAndSixtyEight$inboundSchema, + ThreeHundredAndSeventy$inboundSchema, + ThreeHundredAndSeventySeven$inboundSchema, + ThreeHundredAndEightyOne$inboundSchema, + ThreeHundredAndEightyThree$inboundSchema, + ThreeHundredAndEightySix$inboundSchema, + ThreeHundredAndEightyEight$inboundSchema, + ThreeHundredAndNinetyTwo$inboundSchema, + ThreeHundredAndNinetySix$inboundSchema, + ThreeHundredAndNinetySeven$inboundSchema, + FourHundredAndOne$inboundSchema, + FourHundredAndTwo$inboundSchema, + FourHundredAndFive$inboundSchema, + FourHundredAndSix$inboundSchema, + FourHundredAndSeven$inboundSchema, + FourHundredAndTwentyFour$inboundSchema, + FourHundredAndTwentyNine$inboundSchema, + FourHundredAndThirtyTwo$inboundSchema, + FourHundredAndThirtyThree$inboundSchema, + FourHundredAndFortyOne$inboundSchema, + FourHundredAndFortySeven$inboundSchema, + FourHundredAndFortyEight$inboundSchema, + FourHundredAndFiftyOne$inboundSchema, + FourHundredAndFiftyThree$inboundSchema, + FourHundredAndFiftyEight$inboundSchema, + FourHundredAndFiftyNine$inboundSchema, + FourHundredAndSixtySeven$inboundSchema, + FourHundredAndSeventyTwo$inboundSchema, + FourHundredAndSeventyThree$inboundSchema, + FourHundredAndSeventyFour$inboundSchema, + FourHundredAndSeventyNine$inboundSchema, + FourHundredAndEightyOne$inboundSchema, + FourHundredAndEightySix$inboundSchema, + FourHundredAndEightySeven$inboundSchema, + FourHundredAndNinety$inboundSchema, + FourHundredAndNinetyTwo$inboundSchema, + FourHundredAndNinetySeven$inboundSchema, + FourHundredAndNinetyEight$inboundSchema, + FourHundredAndNinetyNine$inboundSchema, + FiveHundredAndThree$inboundSchema, + FiveHundredAndFive$inboundSchema, + FiveHundredAndSix$inboundSchema, + FiveHundredAndTen$inboundSchema, + FiveHundredAndEleven$inboundSchema, + FiveHundredAndThirteen$inboundSchema, + FiveHundredAndTwentyFour$inboundSchema, + FiveHundredAndThirty$inboundSchema, + FiveHundredAndThirtyNine$inboundSchema, + FiveHundredAndFortyTwo$inboundSchema, + FiveHundredAndFortyFour$inboundSchema, + FiveHundredAndFortyEight$inboundSchema, + FiveHundredAndFifty$inboundSchema, + FiveHundredAndFiftyThree$inboundSchema, + z.lazy(() => TwentyThree$inboundSchema), + TwentyNine$inboundSchema, + Thirty$inboundSchema, + ThirtyTwo$inboundSchema, + ThirtyThree$inboundSchema, + ThirtyFive$inboundSchema, + ThirtyEight$inboundSchema, + ThirtyNine$inboundSchema, + Forty$inboundSchema, + FortyFour$inboundSchema, + FortyFive$inboundSchema, + FortySix$inboundSchema, + FortyEight$inboundSchema, + FortyNine$inboundSchema, + FiftyOne$inboundSchema, + FiftyFour$inboundSchema, + FiftyFive$inboundSchema, + FiftySix$inboundSchema, + FiftySeven$inboundSchema, + FiftyEight$inboundSchema, + FiftyNine$inboundSchema, + Sixty$inboundSchema, + SixtyOne$inboundSchema, + SixtyThree$inboundSchema, + SixtyEight$inboundSchema, + SeventyNine$inboundSchema, + EightyOne$inboundSchema, + EightyTwo$inboundSchema, + EightyThree$inboundSchema, + EightyFour$inboundSchema, + EightyFive$inboundSchema, + NinetyOne$inboundSchema, + NinetyThree$inboundSchema, + NinetyFour$inboundSchema, + NinetyFive$inboundSchema, + NinetyNine$inboundSchema, + OneHundredAndTwo$inboundSchema, + OneHundredAndFive$inboundSchema, + OneHundredAndSeven$inboundSchema, + OneHundredAndThirteen$inboundSchema, + OneHundredAndEighteen$inboundSchema, + OneHundredAndNineteen$inboundSchema, + OneHundredAndTwentySix$inboundSchema, + OneHundredAndTwentySeven$inboundSchema, + OneHundredAndTwentyNine$inboundSchema, + OneHundredAndThirtySix$inboundSchema, + OneHundredAndThirtySeven$inboundSchema, + OneHundredAndThirtyEight$inboundSchema, + OneHundredAndFortyNine$inboundSchema, + OneHundredAndFiftyTwo$inboundSchema, + OneHundredAndFiftySeven$inboundSchema, + OneHundredAndSixtyFour$inboundSchema, + OneHundredAndSixtyFive$inboundSchema, + OneHundredAndSixtySix$inboundSchema, + OneHundredAndSixtyEight$inboundSchema, + OneHundredAndEightyFour$inboundSchema, + OneHundredAndNinetySix$inboundSchema, + OneHundredAndNinetySeven$inboundSchema, + TwoHundredAndThree$inboundSchema, + TwoHundredAndFive$inboundSchema, + TwoHundredAndSix$inboundSchema, + TwoHundredAndThirty$inboundSchema, + TwoHundredAndThirtyOne$inboundSchema, + TwoHundredAndThirtyThree$inboundSchema, + TwoHundredAndThirtySix$inboundSchema, + TwoHundredAndThirtySeven$inboundSchema, + TwoHundredAndThirtyEight$inboundSchema, + TwoHundredAndFortyFive$inboundSchema, + TwoHundredAndEightyThree$inboundSchema, + TwoHundredAndEightySix$inboundSchema, + TwoHundredAndNinetyTwo$inboundSchema, + ThreeHundred$inboundSchema, + ThreeHundredAndFourteen$inboundSchema, + ThreeHundredAndThirtyEight$inboundSchema, + ThreeHundredAndThirtyNine$inboundSchema, + ThreeHundredAndFortyEight$inboundSchema, + ThreeHundredAndFiftyOne$inboundSchema, + ThreeHundredAndSixtyTwo$inboundSchema, + ThreeHundredAndSixtyFour$inboundSchema, + ThreeHundredAndEightyFive$inboundSchema, + ThreeHundredAndNinetyFour$inboundSchema, + FourHundredAndFour$inboundSchema, + FourHundredAndEight$inboundSchema, + FourHundredAndFifteen$inboundSchema, + FourHundredAndSixteen$inboundSchema, + FourHundredAndSeventeen$inboundSchema, + FourHundredAndEighteen$inboundSchema, + FourHundredAndTwenty$inboundSchema, + FourHundredAndTwentyOne$inboundSchema, + FourHundredAndTwentyFive$inboundSchema, + FourHundredAndTwentyEight$inboundSchema, + FourHundredAndThirtyOne$inboundSchema, + FourHundredAndFortySix$inboundSchema, + FourHundredAndFortyNine$inboundSchema, + FourHundredAndFiftyFive$inboundSchema, + FourHundredAndFiftySix$inboundSchema, + FourHundredAndSixtyOne$inboundSchema, + FourHundredAndSixtyTwo$inboundSchema, + FourHundredAndSixtyThree$inboundSchema, + FourHundredAndSixtyFour$inboundSchema, + FourHundredAndSixtySix$inboundSchema, + FourHundredAndSixtyEight$inboundSchema, + FourHundredAndSeventyFive$inboundSchema, + FourHundredAndSeventySeven$inboundSchema, + FourHundredAndSeventyEight$inboundSchema, + FourHundredAndEightyTwo$inboundSchema, + FourHundredAndEightyFour$inboundSchema, + FourHundredAndEightyEight$inboundSchema, + FourHundredAndEightyNine$inboundSchema, + FourHundredAndNinetyThree$inboundSchema, + FourHundredAndNinetyFive$inboundSchema, + FourHundredAndNinetySix$inboundSchema, + FiveHundredAndTwo$inboundSchema, + FiveHundredAndSeven$inboundSchema, + FiveHundredAndEight$inboundSchema, + FiveHundredAndNine$inboundSchema, + FiveHundredAndTwentyThree$inboundSchema, + FiveHundredAndTwentyFive$inboundSchema, + FiveHundredAndThirtyEight$inboundSchema, + FiveHundredAndForty$inboundSchema, + FiveHundredAndFortyNine$inboundSchema, + z.lazy(() => Payload1$inboundSchema), + z.lazy(() => Payload3$inboundSchema), + FiftyTwo$inboundSchema, + FiftyThree$inboundSchema, + SixtyFive$inboundSchema, + SixtySix$inboundSchema, + Seventy$inboundSchema, + SeventyOne$inboundSchema, + SeventyTwo$inboundSchema, + SeventyThree$inboundSchema, + SeventySix$inboundSchema, + SeventySeven$inboundSchema, + EightyEight$inboundSchema, + OneHundredAndFour$inboundSchema, + OneHundredAndEight$inboundSchema, + OneHundredAndEightyFive$inboundSchema, + OneHundredAndEightySix$inboundSchema, + OneHundredAndEightySeven$inboundSchema, + OneHundredAndNinety$inboundSchema, + OneHundredAndNinetyTwo$inboundSchema, + TwoHundredAndThirtyFour$inboundSchema, + TwoHundredAndEightyEight$inboundSchema, + TwoHundredAndEightyNine$inboundSchema, + ThreeHundredAndEleven$inboundSchema, + ThreeHundredAndTwelve$inboundSchema, + ThreeHundredAndNinetyOne$inboundSchema, + ThreeHundredAndNinetyThree$inboundSchema, + FourHundredAndTen$inboundSchema, + FourHundredAndNineteen$inboundSchema, + FourHundredAndTwentySeven$inboundSchema, + FourHundredAndFortyTwo$inboundSchema, + FourHundredAndFortyThree$inboundSchema, + FourHundredAndFortyFour$inboundSchema, + FourHundredAndFiftyTwo$inboundSchema, + FourHundredAndFiftyFour$inboundSchema, + FourHundredAndFiftySeven$inboundSchema, + FourHundredAndSixty$inboundSchema, + FourHundredAndSeventy$inboundSchema, + FourHundredAndSeventyOne$inboundSchema, + FourHundredAndSeventySix$inboundSchema, + FourHundredAndEighty$inboundSchema, + FourHundredAndEightyFive$inboundSchema, + FourHundredAndNinetyOne$inboundSchema, + ]), + ), + principal: types.optional(smartUnion([ z.lazy(() => Principal1$inboundSchema), z.lazy(() => Principal2$inboundSchema), z.lazy(() => Principal3$inboundSchema), z.lazy(() => Principal4$inboundSchema), z.lazy(() => Principal5$inboundSchema), - ]), - ), - principalId: types.string(), - requestId: types.optional(types.string()), - sessionId: types.optional(types.string()), - summary: types.optional(types.string()), - text: types.string(), - tokenId: types.optional(types.string()), - type: types.optional(UserEventType$inboundSchema), - user: types.optional(z.lazy(() => User$inboundSchema)), - userId: types.optional(types.string()), - via: types.optional( - z.array(smartUnion([ + ])), + principalId: types.string(), + requestId: types.optional(types.string()), + sessionId: types.optional(types.string()), + summary: types.optional(types.string()), + text: types.string(), + tokenId: types.optional(types.string()), + type: types.optional(UserEventType$inboundSchema), + user: types.optional(z.lazy(() => + User$inboundSchema + )), + userId: types.optional(types.string()), + via: types.optional(z.array(smartUnion([ z.lazy(() => Via1$inboundSchema), z.lazy(() => Via2$inboundSchema @@ -5553,10 +5955,10 @@ export const UserEvent$inboundSchema: z.ZodType< z.lazy(() => Via3$inboundSchema), z.lazy(() => Via4$inboundSchema), z.lazy(() => Via5$inboundSchema), - ])), - ), - viaIds: types.optional(z.array(types.string())), -}); + ]))), + viaIds: types.optional(z.array(types.string())), + }) +); export function userEventFromJSON( jsonString: string, diff --git a/src/models/usereventjobpayloaddeployhook.ts b/src/models/usereventjobpayload137gitcomments.ts similarity index 60% rename from src/models/usereventjobpayloaddeployhook.ts rename to src/models/usereventjobpayload137gitcomments.ts index 34f6b5eb98..7531dc4368 100644 --- a/src/models/usereventjobpayloaddeployhook.ts +++ b/src/models/usereventjobpayload137gitcomments.ts @@ -3,24 +3,148 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; import { NewEnvVar, NewEnvVar$inboundSchema, - NewProjects, - NewProjects$inboundSchema, - OldEnvVar, - OldEnvVar$inboundSchema, - PayloadNewTarget, - PayloadNewTarget$inboundSchema, - PayloadOldTarget, - PayloadOldTarget$inboundSchema, -} from "./newprojects.js"; -import { SDKValidationError } from "./sdkvalidationerror.js"; + UserEventPayloadLastEditedByPrincipal, + UserEventPayloadLastEditedByPrincipal$inboundSchema, +} from "./usereventpayloadlasteditedbyprincipal.js"; + +/** + * environments this env variable targets + */ +export const UserEventPayload192OldEnvVarTarget = { + Development: "development", + Preview: "preview", + Production: "production", +} as const; +/** + * environments this env variable targets + */ +export type UserEventPayload192OldEnvVarTarget = ClosedEnum< + typeof UserEventPayload192OldEnvVarTarget +>; + +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export const UserEventPayload192OldEnvVarType = { + Encrypted: "encrypted", + Plain: "plain", + Sensitive: "sensitive", + System: "system", +} as const; +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export type UserEventPayload192OldEnvVarType = ClosedEnum< + typeof UserEventPayload192OldEnvVarType +>; + +export type OldEnvVar = { + /** + * whether or not this env varible applies to custom environments + */ + applyToAllCustomEnvironments?: boolean | undefined; + /** + * A user provided comment that describes what this Shared Env Var is for. + */ + comment?: string | undefined; + /** + * The date when the Shared Env Var was created. + */ + created?: Date | undefined; + /** + * Timestamp for when the Shared Env Var was created. + */ + createdAt?: number | undefined; + /** + * The unique identifier of the user who created the Shared Env Var. + */ + createdBy?: string | null | undefined; + /** + * The custom environment IDs that this Shared Env Var is scoped to. + */ + customEnvironmentIds?: Array | undefined; + /** + * whether or not this env variable is decrypted + */ + decrypted?: boolean | undefined; + /** + * Timestamp for when the Shared Env Var was (soft) deleted. + */ + deletedAt?: number | undefined; + /** + * The unique identifier of the user who deleted the Shared Env Var. + */ + deletedBy?: string | null | undefined; + /** + * The unique identifier of the Shared Env Var. + */ + id?: string | undefined; + /** + * The name of the Shared Env Var. + */ + key?: string | undefined; + /** + * The last editor full name or username. + */ + lastEditedByDisplayName?: string | undefined; + lastEditedByPrincipal?: UserEventPayloadLastEditedByPrincipal | undefined; + /** + * The unique identifier of the owner (team) the Shared Env Var was created for. + */ + ownerId?: string | null | undefined; + /** + * The unique identifiers of the projects which the Shared Env Var is linked to. + */ + projectId?: Array | undefined; + /** + * environments this env variable targets + */ + target?: Array | undefined; + /** + * The type of this cosmos doc instance, if blank, assume secret. + */ + type?: UserEventPayload192OldEnvVarType | undefined; + /** + * Timestamp for when the Shared Env Var was last updated. + */ + updatedAt?: number | undefined; + /** + * The unique identifier of the user who last updated the Shared Env Var. + */ + updatedBy?: string | null | undefined; + /** + * The value of the Shared Env Var. + */ + value?: string | undefined; +}; + +export const PayloadNewTarget = { + Development: "development", + Preview: "preview", + Production: "production", +} as const; +export type PayloadNewTarget = ClosedEnum; + +export const PayloadOldTarget = { + Development: "development", + Preview: "preview", + Production: "production", +} as const; +export type PayloadOldTarget = ClosedEnum; + +export type NewProjects = { + projectId: string; + projectName?: string | undefined; +}; export type OldProjects = { projectId: string; @@ -34,6 +158,7 @@ export type PayloadUpdateDiff = { * Indicates a value was submitted, not whether its plaintext changed. */ changedValue: boolean; + customEnvironmentSlugsById?: { [k: string]: string } | undefined; key?: string | undefined; newCustomEnvironmentIds?: Array | undefined; newKey?: string | undefined; @@ -50,31 +175,31 @@ export type PayloadUpdateDiff = { /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyOne = { +export type OneHundredAndNinetyTwo = { newEnvVar?: NewEnvVar | undefined; oldEnvVar?: OldEnvVar | undefined; updateDiff?: PayloadUpdateDiff | undefined; }; -export const UserEventPayload190Target = { +export const UserEventPayload191Target = { Development: "development", Preview: "preview", Production: "production", } as const; -export type UserEventPayload190Target = ClosedEnum< - typeof UserEventPayload190Target +export type UserEventPayload191Target = ClosedEnum< + typeof UserEventPayload191Target >; /** * The payload of the event, if requested. */ -export type OneHundredAndNinety = { +export type OneHundredAndNinetyOne = { envId: string; envKey: string; organizationId: string; provider: string; repository: string; - target: Array; + target: Array; }; /** @@ -105,7 +230,7 @@ export type LastEditedByPrincipal = /** * environments this env variable targets */ -export const UserEventPayload189Target = { +export const UserEventPayload190Target = { Development: "development", Preview: "preview", Production: "production", @@ -113,8 +238,8 @@ export const UserEventPayload189Target = { /** * environments this env variable targets */ -export type UserEventPayload189Target = ClosedEnum< - typeof UserEventPayload189Target +export type UserEventPayload190Target = ClosedEnum< + typeof UserEventPayload190Target >; /** @@ -134,7 +259,7 @@ export type PayloadType = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndEightyNine = { +export type OneHundredAndNinety = { /** * whether or not this env varible applies to custom environments */ @@ -198,7 +323,7 @@ export type OneHundredAndEightyNine = { /** * environments this env variable targets */ - target?: Array | undefined; + target?: Array | undefined; /** * The type of this cosmos doc instance, if blank, assume secret. */ @@ -228,7 +353,7 @@ export type PayloadVisibility = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndEightyEight = { +export type OneHundredAndEightyNine = { changedFields?: Array | undefined; key: string; organizationId: string; @@ -242,7 +367,7 @@ export type UserEventPayloadTarget = string | Array; /** * The payload of the event, if requested. */ -export type OneHundredAndEightySeven = { +export type OneHundredAndEightyEight = { customEnvironmentSlugs?: Array | undefined; edgeConfigId?: string | null | undefined; edgeConfigTokenId?: string | null | undefined; @@ -281,6 +406,7 @@ export type UpdateDiff = { * Indicates a value was submitted, not whether its plaintext changed. */ changedValue: boolean; + customEnvironmentSlugsById?: { [k: string]: string } | undefined; key?: string | undefined; newCustomEnvironmentIds?: Array | undefined; newKey?: string | undefined; @@ -294,7 +420,7 @@ export type UpdateDiff = { /** * The payload of the event, if requested. */ -export type OneHundredAndEightySix = { +export type OneHundredAndEightySeven = { customEnvironmentSlugs?: Array | undefined; edgeConfigId?: string | null | undefined; edgeConfigTokenId?: string | null | undefined; @@ -314,7 +440,7 @@ export type Target = string | Array; /** * The payload of the event, if requested. */ -export type OneHundredAndEightyFive = { +export type OneHundredAndEightySix = { customEnvironmentSlugs?: Array | undefined; edgeConfigId?: string | null | undefined; edgeConfigTokenId?: string | null | undefined; @@ -336,7 +462,7 @@ export type DeletedUser = { /** * The payload of the event, if requested. */ -export type OneHundredAndEightyFour = { +export type OneHundredAndEightyFive = { deletedUid?: string | undefined; deletedUser?: DeletedUser | undefined; emailDomain?: string | undefined; @@ -350,7 +476,7 @@ export type PayloadPreviousRule = { email: string; }; -export type UserEventPayload183Team = { +export type UserEventPayload184Team = { id: string; name?: string | undefined; }; @@ -358,17 +484,17 @@ export type UserEventPayload183Team = { /** * The payload of the event, if requested. */ -export type OneHundredAndEightyThree = { +export type OneHundredAndEightyFour = { nextRule?: NextRule | undefined; previousRule?: PayloadPreviousRule | undefined; - team: UserEventPayload183Team; + team: UserEventPayload184Team; }; export type PreviousRule = { email: string; }; -export type UserEventPayload182Team = { +export type UserEventPayload183Team = { id: string; name?: string | undefined; }; @@ -376,15 +502,15 @@ export type UserEventPayload182Team = { /** * The payload of the event, if requested. */ -export type OneHundredAndEightyTwo = { +export type OneHundredAndEightyThree = { previousRule: PreviousRule; - team: UserEventPayload182Team; + team: UserEventPayload183Team; }; /** * The payload of the event, if requested. */ -export type OneHundredAndEightyOne = { +export type OneHundredAndEightyTwo = { email: string; name: string; }; @@ -392,7 +518,7 @@ export type OneHundredAndEightyOne = { /** * The payload of the event, if requested. */ -export type OneHundredAndEighty = { +export type OneHundredAndEightyOne = { edgeConfigId: string; edgeConfigSlug: string; /** @@ -404,7 +530,7 @@ export type OneHundredAndEighty = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyNine = { +export type OneHundredAndEighty = { edgeConfigId: string; edgeConfigSlug: string; edgeConfigTokenId: string; @@ -416,40 +542,40 @@ export type EdgeConfig = { slug: string; }; -export const UserEventPayload178Type = { +export const UserEventPayload179Type = { Team: "team", User: "user", } as const; -export type UserEventPayload178Type = ClosedEnum< - typeof UserEventPayload178Type +export type UserEventPayload179Type = ClosedEnum< + typeof UserEventPayload179Type >; export type FromAccount = { id: string; slug?: string | undefined; - type: UserEventPayload178Type; + type: UserEventPayload179Type; username?: string | undefined; }; -export const UserEventPayload178ToAccountType = { +export const UserEventPayload179ToAccountType = { Team: "team", User: "user", } as const; -export type UserEventPayload178ToAccountType = ClosedEnum< - typeof UserEventPayload178ToAccountType +export type UserEventPayload179ToAccountType = ClosedEnum< + typeof UserEventPayload179ToAccountType >; export type ToAccount = { id: string; slug?: string | undefined; - type: UserEventPayload178ToAccountType; + type: UserEventPayload179ToAccountType; username?: string | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyEight = { +export type OneHundredAndSeventyNine = { edgeConfig: EdgeConfig; fromAccount: FromAccount; toAccount: ToAccount; @@ -458,7 +584,7 @@ export type OneHundredAndSeventyEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventySeven = { +export type OneHundredAndSeventyEight = { edgeConfigDigest?: string | undefined; edgeConfigId: string; edgeConfigSlug: string; @@ -469,7 +595,7 @@ export type EdgeConfigSchema = {}; /** * The payload of the event, if requested. */ -export type OneHundredAndSeventySix = { +export type OneHundredAndSeventySeven = { edgeConfigId: string; edgeConfigSchema?: EdgeConfigSchema | undefined; edgeConfigSlug: string; @@ -478,7 +604,7 @@ export type OneHundredAndSeventySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyFive = { +export type OneHundredAndSeventySix = { edgeConfigDigest: string; edgeConfigId: string; edgeConfigSlug: string; @@ -488,7 +614,7 @@ export type OneHundredAndSeventyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyFour = { +export type OneHundredAndSeventyFive = { edgeConfigDigest: string; edgeConfigId: string; edgeConfigSlug: string; @@ -497,7 +623,7 @@ export type OneHundredAndSeventyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyThree = { +export type OneHundredAndSeventyFour = { projectId: string; projectName: string; }; @@ -505,7 +631,7 @@ export type OneHundredAndSeventyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyTwo = { +export type OneHundredAndSeventyThree = { path: string; projectId: string; projectName: string; @@ -514,7 +640,7 @@ export type OneHundredAndSeventyTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventyOne = { +export type OneHundredAndSeventyTwo = { projectId: string; projectName: string; tags: Array; @@ -524,7 +650,7 @@ export type OneHundredAndSeventyOne = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventy = { +export type OneHundredAndSeventyOne = { projectId: string; projectName: string; srcImages: Array; @@ -533,7 +659,7 @@ export type OneHundredAndSeventy = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyNine = { +export type OneHundredAndSeventy = { driveName: string; projectId: string; projectName: string; @@ -545,7 +671,7 @@ export type OneHundredAndSixtyNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyEight = { +export type OneHundredAndSixtyNine = { driveName: string; projectId: string; projectName: string; @@ -555,7 +681,7 @@ export type OneHundredAndSixtyEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtySeven = { +export type OneHundredAndSixtyEight = { drainUrl: string | null; integrationName?: string | undefined; }; @@ -563,7 +689,7 @@ export type OneHundredAndSixtySeven = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtySix = { +export type OneHundredAndSixtySeven = { drainName: string | null; drainUrl: string | null; id?: string | undefined; @@ -573,14 +699,14 @@ export type OneHundredAndSixtySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyFive = { +export type OneHundredAndSixtySix = { name: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyFour = { +export type OneHundredAndSixtyFive = { currency?: string | undefined; name: string; price?: number | undefined; @@ -589,7 +715,7 @@ export type OneHundredAndSixtyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyThree = { +export type OneHundredAndSixtyFour = { domain: string; renew?: boolean | undefined; }; @@ -597,7 +723,7 @@ export type OneHundredAndSixtyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyTwo = { +export type OneHundredAndSixtyThree = { destinationId: string; destinationName: string; name: string; @@ -606,7 +732,7 @@ export type OneHundredAndSixtyTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyOne = { +export type OneHundredAndSixtyTwo = { destinationId: string | null; destinationName: string | null; name: string; @@ -615,7 +741,7 @@ export type OneHundredAndSixtyOne = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixty = { +export type OneHundredAndSixtyOne = { fromId: string | null; fromName: string | null; name: string; @@ -630,7 +756,7 @@ export type PayloadInitiator = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyNine = { +export type OneHundredAndSixty = { domain: string; initiator: PayloadInitiator; previousZone?: boolean | undefined; @@ -641,7 +767,7 @@ export type OneHundredAndFiftyNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyEight = { +export type OneHundredAndFiftyNine = { domain: string; zone: boolean; }; @@ -663,7 +789,7 @@ export type PreviousEchMode = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftySeven = { +export type OneHundredAndFiftyEight = { domain: string; echMode: EchMode; previousEchMode: PreviousEchMode; @@ -672,14 +798,14 @@ export type OneHundredAndFiftySeven = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftySix = { +export type OneHundredAndFiftySeven = { domain: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyFive = { +export type OneHundredAndFiftySix = { customNameservers: Array | null; domain: string; prevCustomNameservers: Array | null; @@ -688,7 +814,7 @@ export type OneHundredAndFiftyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyFour = { +export type OneHundredAndFiftyFive = { id: string; name: string; nameservers: Array; @@ -699,7 +825,7 @@ export type OneHundredAndFiftyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyThree = { +export type OneHundredAndFiftyFour = { domainId: string; name: string; }; @@ -707,34 +833,34 @@ export type OneHundredAndFiftyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyTwo = { +export type OneHundredAndFiftyThree = { name: string; ownerName: string; teamId: string; userId: string; }; -export type UserEventPayload151NewTeam = { +export type UserEventPayload152NewTeam = { name: string; }; -export type UserEventPayload151OldTeam = { +export type UserEventPayload152OldTeam = { name: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyOne = { +export type OneHundredAndFiftyTwo = { name: string; - newTeam?: UserEventPayload151NewTeam | undefined; - oldTeam?: UserEventPayload151OldTeam | undefined; + newTeam?: UserEventPayload152NewTeam | undefined; + oldTeam?: UserEventPayload152OldTeam | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFifty = { +export type OneHundredAndFiftyOne = { cdnEnabled: boolean; name: string; }; @@ -742,7 +868,7 @@ export type OneHundredAndFifty = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyNine = { +export type OneHundredAndFifty = { currency?: string | undefined; name: string; price: number; @@ -751,7 +877,7 @@ export type OneHundredAndFortyNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyEight = { +export type OneHundredAndFortyNine = { name: string; zone?: boolean | undefined; }; @@ -759,7 +885,7 @@ export type OneHundredAndFortyEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortySeven = { +export type OneHundredAndFortyEight = { domain: string; id: string; name: string; @@ -767,13 +893,13 @@ export type OneHundredAndFortySeven = { value: string; }; -export const UserEventPayload146Action = { +export const UserEventPayload147Action = { Add: "add", Delete: "delete", Update: "update", } as const; -export type UserEventPayload146Action = ClosedEnum< - typeof UserEventPayload146Action +export type UserEventPayload147Action = ClosedEnum< + typeof UserEventPayload147Action >; export const Initiator = { @@ -785,8 +911,8 @@ export type Initiator = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndFortySix = { - action: UserEventPayload146Action; +export type OneHundredAndFortySeven = { + action: UserEventPayload147Action; domain: string; id: string; initiator: Initiator; @@ -801,7 +927,7 @@ export type OneHundredAndFortySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyFive = { +export type OneHundredAndFortySix = { domain: string; id: string; mxPriority?: number | undefined; @@ -813,7 +939,7 @@ export type OneHundredAndFortyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyFour = { +export type OneHundredAndFortyFive = { configurationId: string; integrationId: string; integrationName: string; @@ -825,7 +951,7 @@ export type OneHundredAndFortyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyThree = { +export type OneHundredAndFortyFour = { deploymentId: string; deploymentName: string | null; deploymentUrl: string | null; @@ -833,13 +959,13 @@ export type OneHundredAndFortyThree = { projectName: string; }; -export const UserEventPayload142Mode = { +export const UserEventPayload143Mode = { All: "all", EmailDomain: "email-domain", None: "none", } as const; -export type UserEventPayload142Mode = ClosedEnum< - typeof UserEventPayload142Mode +export type UserEventPayload143Mode = ClosedEnum< + typeof UserEventPayload143Mode >; export const PayloadPreviousMode = { @@ -852,8 +978,8 @@ export type PayloadPreviousMode = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndFortyTwo = { - mode: UserEventPayload142Mode; +export type OneHundredAndFortyThree = { + mode: UserEventPayload143Mode; previousMode: PayloadPreviousMode; }; @@ -867,20 +993,20 @@ export const PreviousMode = { } as const; export type PreviousMode = ClosedEnum; -export const UserEventPayload141Scope = { +export const UserEventPayload142Scope = { Organization: "organization", } as const; -export type UserEventPayload141Scope = ClosedEnum< - typeof UserEventPayload141Scope +export type UserEventPayload142Scope = ClosedEnum< + typeof UserEventPayload142Scope >; /** * The payload of the event, if requested. */ -export type OneHundredAndFortyOne = { +export type OneHundredAndFortyTwo = { mode: UserEventPayloadMode | null; previousMode: PreviousMode | null; - scope: UserEventPayload141Scope; + scope: UserEventPayload142Scope; }; /** @@ -911,7 +1037,7 @@ export type RuleProvenance = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndForty = { +export type OneHundredAndFortyOne = { /** * The blocked deployment's id (e.g. `dpl_…`). When present, the message links it to the deployment details (inspector) page. Optional so events emitted before this field was added still render. */ @@ -932,7 +1058,7 @@ export type OneHundredAndForty = { source: string; }; -export type UserEventPayload139Deployment = { +export type UserEventPayload140Deployment = { id: string; meta: { [k: string]: string }; name: string; @@ -942,29 +1068,29 @@ export type UserEventPayload139Deployment = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyNine = { - deployment: UserEventPayload139Deployment; +export type OneHundredAndForty = { + deployment: UserEventPayload140Deployment; deploymentId: string; projectId?: string | undefined; url: string; }; -export const UserEventPayload138Reason = { +export const UserEventPayload139Reason = { IpAllowList: "ip_allow_list", } as const; -export type UserEventPayload138Reason = ClosedEnum< - typeof UserEventPayload138Reason +export type UserEventPayload139Reason = ClosedEnum< + typeof UserEventPayload139Reason >; /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyEight = { +export type OneHundredAndThirtyNine = { gitCommitterName: string; gitUserPlatform: string; projectId?: string | undefined; projectName: string; - reason?: UserEventPayload138Reason | undefined; + reason?: UserEventPayload139Reason | undefined; sha: string; source: string; }; @@ -980,13 +1106,13 @@ export type UserEventPayloadOldTeam = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtySeven = { +export type OneHundredAndThirtyEight = { newTeam?: UserEventPayloadNewTeam | undefined; oldTeam?: UserEventPayloadOldTeam | undefined; url: string; }; -export type UserEventJobPayload13610GitComments = { +export type UserEventJobPayload13710GitComments = { onCommit: boolean; onPullRequest: boolean; }; @@ -994,7 +1120,7 @@ export type UserEventJobPayload13610GitComments = { /** * Cursor Origin */ -export type UserEventJobPayload13610HeadInfo = { +export type UserEventJobPayload13710HeadInfo = { /** * Owner (namespace) slug, e.g. `acme`. */ @@ -1015,22 +1141,22 @@ export type UserEventJobPayload13610HeadInfo = { sha: string; }; -export const UserEventJobPayload13610Provider = { +export const UserEventJobPayload13710Provider = { CursorOrigin: "cursor-origin", } as const; -export type UserEventJobPayload13610Provider = ClosedEnum< - typeof UserEventJobPayload13610Provider +export type UserEventJobPayload13710Provider = ClosedEnum< + typeof UserEventJobPayload13710Provider >; export type Job10 = { createdAt?: number | undefined; customEnvId?: any | null | undefined; eventful?: boolean | undefined; - gitComments?: UserEventJobPayload13610GitComments | undefined; + gitComments?: UserEventJobPayload13710GitComments | undefined; /** * Cursor Origin */ - headInfo: UserEventJobPayload13610HeadInfo; + headInfo: UserEventJobPayload13710HeadInfo; /** * Origin installation id (`i_…`) used to resolve the credential. */ @@ -1039,7 +1165,7 @@ export type Job10 = { owner: string; prId: number; projectId?: any | null | undefined; - provider: UserEventJobPayload13610Provider; + provider: UserEventJobPayload13710Provider; repo: string; repoId: string; type: "cursor-origin-now-comment"; @@ -1048,7 +1174,7 @@ export type Job10 = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ -export const UserEventJobPayload1369CommitVerification = { +export const UserEventJobPayload1379CommitVerification = { Unknown: "unknown", Unverified: "unverified", Verified: "verified", @@ -1056,11 +1182,11 @@ export const UserEventJobPayload1369CommitVerification = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ -export type UserEventJobPayload1369CommitVerification = ClosedEnum< - typeof UserEventJobPayload1369CommitVerification +export type UserEventJobPayload1379CommitVerification = ClosedEnum< + typeof UserEventJobPayload1379CommitVerification >; -export type UserEventJobPayload1369DeployHook = { +export type UserEventJobPayload1379DeployHook = { createdAt: number; id: string; name: string; @@ -1070,7 +1196,7 @@ export type UserEventJobPayload1369DeployHook = { /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ -export type UserEventJobPayload1369GitComments = { +export type UserEventJobPayload1379GitComments = { onCommit: boolean; onPullRequest: boolean; }; @@ -1078,7 +1204,7 @@ export type UserEventJobPayload1369GitComments = { /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ -export const UserEventJobPayload1369GitHashtagVercel = { +export const UserEventJobPayload1379GitHashtagVercel = { NumberVERCELBUILDMACHINEEqualTURBO: "#VERCEL_BUILD_MACHINE=TURBO", NumberVERCELBUILDPRIO1: "#VERCEL_BUILD_PRIO_1", NumberVERCELBUILDPRIO10: "#VERCEL_BUILD_PRIO_10", @@ -1107,14 +1233,14 @@ export const UserEventJobPayload1369GitHashtagVercel = { /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ -export type UserEventJobPayload1369GitHashtagVercel = ClosedEnum< - typeof UserEventJobPayload1369GitHashtagVercel +export type UserEventJobPayload1379GitHashtagVercel = ClosedEnum< + typeof UserEventJobPayload1379GitHashtagVercel >; /** * Cursor Origin */ -export type UserEventJobPayload1369HeadInfo = { +export type UserEventJobPayload1379HeadInfo = { /** * Owner (namespace) slug, e.g. `acme`. */ @@ -1135,27 +1261,27 @@ export type UserEventJobPayload1369HeadInfo = { sha: string; }; -export const UserEventJobPayload1369Action = { +export const UserEventJobPayload1379Action = { AutoApprovedMember: "auto-approved-member", AutoApprovedPendingInvite: "auto-approved-pending-invite", } as const; -export type UserEventJobPayload1369Action = ClosedEnum< - typeof UserEventJobPayload1369Action +export type UserEventJobPayload1379Action = ClosedEnum< + typeof UserEventJobPayload1379Action >; /** * Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. */ -export type UserEventJobPayload1369NsnbSideEffect = { - action: UserEventJobPayload1369Action; +export type UserEventJobPayload1379NsnbSideEffect = { + action: UserEventJobPayload1379Action; gitUserLogin: string; }; -export const UserEventJobPayload1369Provider = { +export const UserEventJobPayload1379Provider = { CursorOrigin: "cursor-origin", } as const; -export type UserEventJobPayload1369Provider = ClosedEnum< - typeof UserEventJobPayload1369Provider +export type UserEventJobPayload1379Provider = ClosedEnum< + typeof UserEventJobPayload1379Provider >; export type Job9 = { @@ -1165,7 +1291,7 @@ export type Job9 = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ - commitVerification?: UserEventJobPayload1369CommitVerification | undefined; + commitVerification?: UserEventJobPayload1379CommitVerification | undefined; /** * Since April 2023 Cached count of how many projects are connected to the repo. Saves a few Cosmos queries down the road in the main flow. */ @@ -1173,7 +1299,7 @@ export type Job9 = { createdAt?: number | undefined; customEnvId?: string | null | undefined; defaultBranch?: string | undefined; - deployHook?: UserEventJobPayload1369DeployHook | undefined; + deployHook?: UserEventJobPayload1379DeployHook | undefined; deploymentId?: string | undefined; eventful?: boolean | undefined; forced?: boolean | undefined; @@ -1181,15 +1307,15 @@ export type Job9 = { /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ - gitComments?: UserEventJobPayload1369GitComments | undefined; + gitComments?: UserEventJobPayload1379GitComments | undefined; /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ - gitHashtagVercel?: Array | undefined; + gitHashtagVercel?: Array | undefined; /** * Cursor Origin */ - headInfo: UserEventJobPayload1369HeadInfo; + headInfo: UserEventJobPayload1379HeadInfo; /** * Origin installation id (`i_…`) used to resolve the credential. */ @@ -1210,7 +1336,7 @@ export type Job9 = { /** * Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. */ - nsnbSideEffect?: UserEventJobPayload1369NsnbSideEffect | undefined; + nsnbSideEffect?: UserEventJobPayload1379NsnbSideEffect | undefined; owner: string; prId?: number | null | undefined; /** @@ -1218,7 +1344,7 @@ export type Job9 = { */ prIdOrZero?: number | undefined; projectId?: string | undefined; - provider: UserEventJobPayload1369Provider; + provider: UserEventJobPayload1379Provider; ref: string; repo: string; repoId: string; @@ -1236,7 +1362,7 @@ export type Job9 = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ -export const UserEventJobPayload136CommitVerification = { +export const UserEventJobPayload137CommitVerification = { Unknown: "unknown", Unverified: "unverified", Verified: "verified", @@ -1244,11 +1370,11 @@ export const UserEventJobPayload136CommitVerification = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ -export type UserEventJobPayload136CommitVerification = ClosedEnum< - typeof UserEventJobPayload136CommitVerification +export type UserEventJobPayload137CommitVerification = ClosedEnum< + typeof UserEventJobPayload137CommitVerification >; -export type UserEventJobPayload1368DeployHook = { +export type UserEventJobPayload1378DeployHook = { createdAt: number; id: string; name: string; @@ -1258,7 +1384,7 @@ export type UserEventJobPayload1368DeployHook = { /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ -export type UserEventJobPayload1368GitComments = { +export type UserEventJobPayload1378GitComments = { onCommit: boolean; onPullRequest: boolean; }; @@ -1266,7 +1392,7 @@ export type UserEventJobPayload1368GitComments = { /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ -export const UserEventJobPayload136GitHashtagVercel = { +export const UserEventJobPayload137GitHashtagVercel = { NumberVERCELBUILDMACHINEEqualTURBO: "#VERCEL_BUILD_MACHINE=TURBO", NumberVERCELBUILDPRIO1: "#VERCEL_BUILD_PRIO_1", NumberVERCELBUILDPRIO10: "#VERCEL_BUILD_PRIO_10", @@ -1295,8 +1421,8 @@ export const UserEventJobPayload136GitHashtagVercel = { /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ -export type UserEventJobPayload136GitHashtagVercel = ClosedEnum< - typeof UserEventJobPayload136GitHashtagVercel +export type UserEventJobPayload137GitHashtagVercel = ClosedEnum< + typeof UserEventJobPayload137GitHashtagVercel >; export type Author = { @@ -1320,7 +1446,7 @@ export type CommitMetadata = { /** * Vercel */ -export type UserEventJobPayload1368HeadInfo = { +export type UserEventJobPayload1378HeadInfo = { commitMetadata?: CommitMetadata | undefined; org: string; ref: string; @@ -1328,27 +1454,27 @@ export type UserEventJobPayload1368HeadInfo = { sha: string; }; -export const UserEventJobPayload1368Action = { +export const UserEventJobPayload1378Action = { AutoApprovedMember: "auto-approved-member", AutoApprovedPendingInvite: "auto-approved-pending-invite", } as const; -export type UserEventJobPayload1368Action = ClosedEnum< - typeof UserEventJobPayload1368Action +export type UserEventJobPayload1378Action = ClosedEnum< + typeof UserEventJobPayload1378Action >; /** * Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. */ -export type UserEventJobPayload136NsnbSideEffect = { - action: UserEventJobPayload1368Action; +export type UserEventJobPayload137NsnbSideEffect = { + action: UserEventJobPayload1378Action; gitUserLogin: string; }; -export const UserEventJobPayload1368Provider = { +export const UserEventJobPayload1378Provider = { Vercel: "vercel", } as const; -export type UserEventJobPayload1368Provider = ClosedEnum< - typeof UserEventJobPayload1368Provider +export type UserEventJobPayload1378Provider = ClosedEnum< + typeof UserEventJobPayload1378Provider >; export type Job8 = { @@ -1357,26 +1483,26 @@ export type Job8 = { /** * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported */ - commitVerification?: UserEventJobPayload136CommitVerification | undefined; + commitVerification?: UserEventJobPayload137CommitVerification | undefined; /** * Since April 2023 Cached count of how many projects are connected to the repo. Saves a few Cosmos queries down the road in the main flow. */ connectedProjectCount?: number | undefined; customEnvId?: string | null | undefined; - deployHook?: UserEventJobPayload1368DeployHook | undefined; + deployHook?: UserEventJobPayload1378DeployHook | undefined; deploymentId?: string | undefined; /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ - gitComments?: UserEventJobPayload1368GitComments | undefined; + gitComments?: UserEventJobPayload1378GitComments | undefined; /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ - gitHashtagVercel?: Array | undefined; + gitHashtagVercel?: Array | undefined; /** * Vercel */ - headInfo: UserEventJobPayload1368HeadInfo; + headInfo: UserEventJobPayload1378HeadInfo; /** * Since 28 Feb 2024 If set to true, identifies that the git job was created for a manual git deployment */ @@ -1393,7 +1519,7 @@ export type Job8 = { /** * Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. */ - nsnbSideEffect?: UserEventJobPayload136NsnbSideEffect | undefined; + nsnbSideEffect?: UserEventJobPayload137NsnbSideEffect | undefined; org: string; prId?: number | null | undefined; /** @@ -1401,7 +1527,7 @@ export type Job8 = { */ prIdOrZero?: number | undefined; projectId?: string | undefined; - provider: UserEventJobPayload1368Provider; + provider: UserEventJobPayload1378Provider; ref: string; repo: string; repoId: string; @@ -1416,7 +1542,7 @@ export type Job8 = { url?: string | undefined; }; -export type UserEventJobPayload1367GitComments = { +export type UserEventJobPayload1377GitComments = { onCommit: boolean; onPullRequest: boolean; }; @@ -1433,7 +1559,7 @@ export type UserEventJobPayloadProject = { /** * GitLab */ -export type UserEventJobPayload1367HeadInfo = { +export type UserEventJobPayload1377HeadInfo = { project: UserEventJobPayloadProject; ref: string; sha: string; @@ -1448,27 +1574,27 @@ export type UserEventJobProject = { url?: string | null | undefined; }; -export const UserEventJobPayload1367Provider = { +export const UserEventJobPayload1377Provider = { Gitlab: "gitlab", } as const; -export type UserEventJobPayload1367Provider = ClosedEnum< - typeof UserEventJobPayload1367Provider +export type UserEventJobPayload1377Provider = ClosedEnum< + typeof UserEventJobPayload1377Provider >; export type Job7 = { createdAt?: number | undefined; customEnvId?: string | null | undefined; eventful?: boolean | undefined; - gitComments?: UserEventJobPayload1367GitComments | undefined; + gitComments?: UserEventJobPayload1377GitComments | undefined; /** * GitLab */ - headInfo: UserEventJobPayload1367HeadInfo; + headInfo: UserEventJobPayload1377HeadInfo; linkedProjectId?: string | undefined; prId: number; project: UserEventJobProject; projectId?: string | undefined; - provider: UserEventJobPayload1367Provider; + provider: UserEventJobPayload1377Provider; ref: string; sha: string; type: "gitlab-now-comment"; @@ -1498,7 +1624,7 @@ export type UserEventJobPayloadCommitVerification = ClosedEnum< typeof UserEventJobPayloadCommitVerification >; -export type UserEventJobPayload136DeployHook = { +export type UserEventJobPayload137DeployHook = { createdAt: number; id: string; name: string; @@ -1508,7 +1634,7 @@ export type UserEventJobPayload136DeployHook = { /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ -export type UserEventJobPayload1366GitComments = { +export type UserEventJobPayload1376GitComments = { onCommit: boolean; onPullRequest: boolean; }; @@ -1549,7 +1675,7 @@ export type UserEventJobPayloadGitHashtagVercel = ClosedEnum< typeof UserEventJobPayloadGitHashtagVercel >; -export type UserEventJobPayload136Project = { +export type UserEventJobPayload137Project = { defaultBranch?: string | null | undefined; id: string; name?: string | null | undefined; @@ -1561,25 +1687,25 @@ export type UserEventJobPayload136Project = { /** * GitLab */ -export type UserEventJobPayload1366HeadInfo = { - project: UserEventJobPayload136Project; +export type UserEventJobPayload1376HeadInfo = { + project: UserEventJobPayload137Project; ref: string; sha: string; }; -export const UserEventJobPayload136Action = { +export const UserEventJobPayload137Action = { AutoApprovedMember: "auto-approved-member", AutoApprovedPendingInvite: "auto-approved-pending-invite", } as const; -export type UserEventJobPayload136Action = ClosedEnum< - typeof UserEventJobPayload136Action +export type UserEventJobPayload137Action = ClosedEnum< + typeof UserEventJobPayload137Action >; /** * Since March 2026 Records a successful NSNB auto-add result so later GitHub PR comments can deterministically explain why this SHA was allowed to deploy. */ export type UserEventJobPayloadNsnbSideEffect = { - action: UserEventJobPayload136Action; + action: UserEventJobPayload137Action; gitUserLogin: string; }; @@ -1592,11 +1718,11 @@ export type JobProject = { url?: string | null | undefined; }; -export const UserEventJobPayload1366Provider = { +export const UserEventJobPayload1376Provider = { Gitlab: "gitlab", } as const; -export type UserEventJobPayload1366Provider = ClosedEnum< - typeof UserEventJobPayload1366Provider +export type UserEventJobPayload1376Provider = ClosedEnum< + typeof UserEventJobPayload1376Provider >; export type Job6 = { @@ -1613,14 +1739,14 @@ export type Job6 = { connectedProjectCount?: number | undefined; createdAt?: number | undefined; customEnvId?: string | null | undefined; - deployHook?: UserEventJobPayload136DeployHook | undefined; + deployHook?: UserEventJobPayload137DeployHook | undefined; deploymentId?: string | undefined; eventful?: boolean | undefined; forceNew?: boolean | undefined; /** * Since June 2023 Determines if comments should be posted to the git host. Replaces `github.silent` in the vercel.json. */ - gitComments?: UserEventJobPayload1366GitComments | undefined; + gitComments?: UserEventJobPayload1376GitComments | undefined; /** * Since February 2022 All the hashtag-vercel tags found in the commit message triggering the deploy. For example, #VERCEL_DO_SOMETHING */ @@ -1628,7 +1754,7 @@ export type Job6 = { /** * GitLab */ - headInfo: UserEventJobPayload1366HeadInfo; + headInfo: UserEventJobPayload1376HeadInfo; /** * Since 28 Feb 2024 If set to true, identifies that the git job was created for a manual git deployment */ @@ -1653,7 +1779,7 @@ export type Job6 = { prIdOrZero?: number | undefined; project: JobProject; projectId?: string | undefined; - provider: UserEventJobPayload1366Provider; + provider: UserEventJobPayload1376Provider; ref: string; repoPushedAt?: number | null | undefined; sha: string; @@ -1668,90 +1794,112 @@ export type Job6 = { withCache?: boolean | undefined; }; -export type UserEventJobPayload136GitComments = { +export type UserEventJobPayload137GitComments = { onCommit: boolean; onPullRequest: boolean; }; -/** - * Information about the head commit/branch for a GitHub repository - */ -export type UserEventJobPayload136HeadInfo = { - org: string; - ref: string; - repo: string; - repoId: number; - sha: string; -}; +/** @internal */ +export const UserEventPayload192OldEnvVarTarget$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload192OldEnvVarTarget +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload192OldEnvVarTarget) +); -export const UserEventJobPayload1365Provider = { - Github: "github", - GithubCustomHost: "github-custom-host", - GithubLimited: "github-limited", -} as const; -export type UserEventJobPayload1365Provider = ClosedEnum< - typeof UserEventJobPayload1365Provider ->; +/** @internal */ +export const UserEventPayload192OldEnvVarType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload192OldEnvVarType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload192OldEnvVarType) +); -export type Job5 = { - beforeSha?: string | undefined; - createdAt?: number | undefined; - customEnvId?: any | null | undefined; - customHost?: string | undefined; - eventful?: boolean | undefined; - gitComments?: UserEventJobPayload136GitComments | undefined; - /** - * Information about the head commit/branch for a GitHub repository - */ - headInfo: UserEventJobPayload136HeadInfo; - installationId: number; - isPrivate: boolean; - linkedProjectId?: string | undefined; - org: string; - prId: number; - projectId?: any | null | undefined; - provider: UserEventJobPayload1365Provider; - repo: string; - repoId: number; - type: "now-comment"; -}; +/** @internal */ +export const OldEnvVar$inboundSchema: z.ZodType< + OldEnvVar, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional( + UserEventPayloadLastEditedByPrincipal$inboundSchema, + ), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional( + z.array(UserEventPayload192OldEnvVarTarget$inboundSchema), + ), + type: types.optional(UserEventPayload192OldEnvVarType$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) +); + +export function oldEnvVarFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OldEnvVar$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OldEnvVar' from JSON`, + ); +} -export type CommitInfo = { - earliestSha?: string | undefined; - total: number; -}; +/** @internal */ +export const PayloadNewTarget$inboundSchema: z.ZodNativeEnum< + typeof PayloadNewTarget +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadNewTarget)); -/** - * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported - */ -export const UserEventJobCommitVerification = { - Unknown: "unknown", - Unverified: "unverified", - Verified: "verified", -} as const; -/** - * Since 6 Nov 2025 The verification status of the commit. - 'verified' if the commit is verified - 'unverified' if the commit is not verified - 'unknown' if the commit verification status is unknown or not supported - */ -export type UserEventJobCommitVerification = ClosedEnum< - typeof UserEventJobCommitVerification ->; +/** @internal */ +export const PayloadOldTarget$inboundSchema: z.ZodNativeEnum< + typeof PayloadOldTarget +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadOldTarget)); -export type UserEventJobPayloadDeployHook = { - createdAt: number; - id: string; - name: string; - ref: string; -}; +/** @internal */ +export const NewProjects$inboundSchema: z.ZodType< + NewProjects, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); + +export function newProjectsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => NewProjects$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NewProjects' from JSON`, + ); +} /** @internal */ export const OldProjects$inboundSchema: z.ZodType< OldProjects, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); export function oldProjectsFromJSON( jsonString: string, @@ -1768,22 +1916,29 @@ export const PayloadUpdateDiff$inboundSchema: z.ZodType< PayloadUpdateDiff, z.ZodTypeDef, unknown -> = z.object({ - changedComment: types.optional(types.boolean()), - changedGitBranch: types.optional(types.boolean()), - changedValue: types.boolean(), - key: types.optional(types.string()), - newCustomEnvironmentIds: types.optional(z.array(types.string())), - newKey: types.optional(types.string()), - newTarget: types.optional(z.array(PayloadNewTarget$inboundSchema)), - newType: types.optional(types.string()), - oldCustomEnvironmentIds: types.optional(z.array(types.string())), - oldTarget: types.optional(z.array(PayloadOldTarget$inboundSchema)), - oldType: types.optional(types.string()), - id: types.string(), - newProjects: types.optional(z.array(NewProjects$inboundSchema)), - oldProjects: types.optional(z.array(z.lazy(() => OldProjects$inboundSchema))), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedComment: types.optional(types.boolean()), + changedGitBranch: types.optional(types.boolean()), + changedValue: types.boolean(), + customEnvironmentSlugsById: types.optional(z.record(types.string())), + key: types.optional(types.string()), + newCustomEnvironmentIds: types.optional(z.array(types.string())), + newKey: types.optional(types.string()), + newTarget: types.optional(z.array(PayloadNewTarget$inboundSchema)), + newType: types.optional(types.string()), + oldCustomEnvironmentIds: types.optional(z.array(types.string())), + oldTarget: types.optional(z.array(PayloadOldTarget$inboundSchema)), + oldType: types.optional(types.string()), + id: types.string(), + newProjects: types.optional( + z.array(z.lazy(() => NewProjects$inboundSchema)), + ), + oldProjects: types.optional( + z.array(z.lazy(() => OldProjects$inboundSchema)), + ), + }) +); export function payloadUpdateDiffFromJSON( jsonString: string, @@ -1796,52 +1951,56 @@ export function payloadUpdateDiffFromJSON( } /** @internal */ -export const OneHundredAndNinetyOne$inboundSchema: z.ZodType< - OneHundredAndNinetyOne, +export const OneHundredAndNinetyTwo$inboundSchema: z.ZodType< + OneHundredAndNinetyTwo, z.ZodTypeDef, unknown -> = z.object({ - newEnvVar: types.optional(NewEnvVar$inboundSchema), - oldEnvVar: types.optional(OldEnvVar$inboundSchema), - updateDiff: types.optional(z.lazy(() => PayloadUpdateDiff$inboundSchema)), -}); - -export function oneHundredAndNinetyOneFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newEnvVar: types.optional(NewEnvVar$inboundSchema), + oldEnvVar: types.optional(z.lazy(() => OldEnvVar$inboundSchema)), + updateDiff: types.optional(z.lazy(() => PayloadUpdateDiff$inboundSchema)), + }) +); + +export function oneHundredAndNinetyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinetyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetyOne' from JSON`, + (x) => OneHundredAndNinetyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload190Target$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload190Target -> = z.nativeEnum(UserEventPayload190Target); +export const UserEventPayload191Target$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload191Target +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload191Target)); /** @internal */ -export const OneHundredAndNinety$inboundSchema: z.ZodType< - OneHundredAndNinety, +export const OneHundredAndNinetyOne$inboundSchema: z.ZodType< + OneHundredAndNinetyOne, z.ZodTypeDef, unknown -> = z.object({ - envId: types.string(), - envKey: types.string(), - organizationId: types.string(), - provider: types.string(), - repository: types.string(), - target: z.array(UserEventPayload190Target$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + envId: types.string(), + envKey: types.string(), + organizationId: types.string(), + provider: types.string(), + repository: types.string(), + target: z.array(UserEventPayload191Target$inboundSchema), + }) +); -export function oneHundredAndNinetyFromJSON( +export function oneHundredAndNinetyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinety$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinety' from JSON`, + (x) => OneHundredAndNinetyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetyOne' from JSON`, ); } @@ -1850,12 +2009,14 @@ export const LastEditedByPrincipal2$inboundSchema: z.ZodType< LastEditedByPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) +); export function lastEditedByPrincipal2FromJSON( jsonString: string, @@ -1872,13 +2033,15 @@ export const LastEditedByPrincipal1$inboundSchema: z.ZodType< LastEditedByPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) +); export function lastEditedByPrincipal1FromJSON( jsonString: string, @@ -1895,10 +2058,12 @@ export const LastEditedByPrincipal$inboundSchema: z.ZodType< LastEditedByPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => LastEditedByPrincipal1$inboundSchema), - z.lazy(() => LastEditedByPrincipal2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => LastEditedByPrincipal1$inboundSchema), + z.lazy(() => LastEditedByPrincipal2$inboundSchema), + ]) +); export function lastEditedByPrincipalFromJSON( jsonString: string, @@ -1911,85 +2076,87 @@ export function lastEditedByPrincipalFromJSON( } /** @internal */ -export const UserEventPayload189Target$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload189Target -> = z.nativeEnum(UserEventPayload189Target); +export const UserEventPayload190Target$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload190Target +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload190Target)); /** @internal */ -export const PayloadType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadType); +export const PayloadType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadType)); /** @internal */ -export const OneHundredAndEightyNine$inboundSchema: z.ZodType< - OneHundredAndEightyNine, +export const OneHundredAndNinety$inboundSchema: z.ZodType< + OneHundredAndNinety, z.ZodTypeDef, unknown -> = z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => LastEditedByPrincipal1$inboundSchema), z.lazy(() => LastEditedByPrincipal2$inboundSchema), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional(z.array(UserEventPayload189Target$inboundSchema)), - type: types.optional(PayloadType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), - ipAddress: types.optional(types.string()), - projectNames: types.optional(z.array(types.string())), -}); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional(z.array(UserEventPayload190Target$inboundSchema)), + type: types.optional(PayloadType$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + ipAddress: types.optional(types.string()), + projectNames: types.optional(z.array(types.string())), + }) +); -export function oneHundredAndEightyNineFromJSON( +export function oneHundredAndNinetyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightyNine' from JSON`, + (x) => OneHundredAndNinety$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinety' from JSON`, ); } /** @internal */ export const PayloadVisibility$inboundSchema: z.ZodNativeEnum< typeof PayloadVisibility -> = z.nativeEnum(PayloadVisibility); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadVisibility)); /** @internal */ -export const OneHundredAndEightyEight$inboundSchema: z.ZodType< - OneHundredAndEightyEight, +export const OneHundredAndEightyNine$inboundSchema: z.ZodType< + OneHundredAndEightyNine, z.ZodTypeDef, unknown -> = z.object({ - changedFields: types.optional(z.array(types.string())), - key: types.string(), - organizationId: types.string(), - provider: types.string(), - repository: types.string(), - visibility: PayloadVisibility$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedFields: types.optional(z.array(types.string())), + key: types.string(), + organizationId: types.string(), + provider: types.string(), + repository: types.string(), + visibility: PayloadVisibility$inboundSchema, + }) +); -export function oneHundredAndEightyEightFromJSON( +export function oneHundredAndEightyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightyEight' from JSON`, + (x) => OneHundredAndEightyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightyNine' from JSON`, ); } @@ -1998,7 +2165,9 @@ export const UserEventPayloadTarget$inboundSchema: z.ZodType< UserEventPayloadTarget, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function userEventPayloadTargetFromJSON( jsonString: string, @@ -2011,33 +2180,37 @@ export function userEventPayloadTargetFromJSON( } /** @internal */ -export const OneHundredAndEightySeven$inboundSchema: z.ZodType< - OneHundredAndEightySeven, +export const OneHundredAndEightyEight$inboundSchema: z.ZodType< + OneHundredAndEightyEight, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentSlugs: types.optional(z.array(types.string())), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - ipAddress: types.optional(types.string()), - key: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - source: types.optional(types.string()), - target: types.optional(smartUnion([types.string(), z.array(types.string())])), - deploymentId: types.string(), - deploymentUrl: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentSlugs: types.optional(z.array(types.string())), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + ipAddress: types.optional(types.string()), + key: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + source: types.optional(types.string()), + target: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + deploymentId: types.string(), + deploymentUrl: types.string(), + }) +); -export function oneHundredAndEightySevenFromJSON( +export function oneHundredAndEightyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightySeven' from JSON`, + (x) => OneHundredAndEightyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightyEight' from JSON`, ); } @@ -2046,7 +2219,9 @@ export const PayloadTarget$inboundSchema: z.ZodType< PayloadTarget, z.ZodTypeDef, unknown -> = smartUnion([types.string(), z.array(types.string())]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) +); export function payloadTargetFromJSON( jsonString: string, @@ -2059,31 +2234,34 @@ export function payloadTargetFromJSON( } /** @internal */ -export const NewTarget$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NewTarget); +export const NewTarget$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NewTarget)); /** @internal */ -export const OldTarget$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(OldTarget); +export const OldTarget$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(OldTarget)); /** @internal */ export const UpdateDiff$inboundSchema: z.ZodType< UpdateDiff, z.ZodTypeDef, unknown -> = z.object({ - changedComment: types.optional(types.boolean()), - changedGitBranch: types.optional(types.boolean()), - changedValue: types.boolean(), - key: types.optional(types.string()), - newCustomEnvironmentIds: types.optional(z.array(types.string())), - newKey: types.optional(types.string()), - newTarget: types.optional(z.array(NewTarget$inboundSchema)), - newType: types.optional(types.string()), - oldCustomEnvironmentIds: types.optional(z.array(types.string())), - oldTarget: types.optional(z.array(OldTarget$inboundSchema)), - oldType: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedComment: types.optional(types.boolean()), + changedGitBranch: types.optional(types.boolean()), + changedValue: types.boolean(), + customEnvironmentSlugsById: types.optional(z.record(types.string())), + key: types.optional(types.string()), + newCustomEnvironmentIds: types.optional(z.array(types.string())), + newKey: types.optional(types.string()), + newTarget: types.optional(z.array(NewTarget$inboundSchema)), + newType: types.optional(types.string()), + oldCustomEnvironmentIds: types.optional(z.array(types.string())), + oldTarget: types.optional(z.array(OldTarget$inboundSchema)), + oldType: types.optional(types.string()), + }) +); export function updateDiffFromJSON( jsonString: string, @@ -2096,38 +2274,44 @@ export function updateDiffFromJSON( } /** @internal */ -export const OneHundredAndEightySix$inboundSchema: z.ZodType< - OneHundredAndEightySix, +export const OneHundredAndEightySeven$inboundSchema: z.ZodType< + OneHundredAndEightySeven, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentSlugs: types.optional(z.array(types.string())), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - ipAddress: types.optional(types.string()), - key: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - source: types.optional(types.string()), - target: types.optional(smartUnion([types.string(), z.array(types.string())])), - updateDiff: types.optional(z.lazy(() => UpdateDiff$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentSlugs: types.optional(z.array(types.string())), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + ipAddress: types.optional(types.string()), + key: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + source: types.optional(types.string()), + target: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + updateDiff: types.optional(z.lazy(() => UpdateDiff$inboundSchema)), + }) +); -export function oneHundredAndEightySixFromJSON( +export function oneHundredAndEightySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightySix' from JSON`, + (x) => OneHundredAndEightySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightySeven' from JSON`, ); } /** @internal */ export const Target$inboundSchema: z.ZodType = - smartUnion([types.string(), z.array(types.string())]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), z.array(types.string())]) + ); export function targetFromJSON( jsonString: string, @@ -2140,31 +2324,35 @@ export function targetFromJSON( } /** @internal */ -export const OneHundredAndEightyFive$inboundSchema: z.ZodType< - OneHundredAndEightyFive, +export const OneHundredAndEightySix$inboundSchema: z.ZodType< + OneHundredAndEightySix, z.ZodTypeDef, unknown -> = z.object({ - customEnvironmentSlugs: types.optional(z.array(types.string())), - edgeConfigId: z.nullable(types.string()).optional(), - edgeConfigTokenId: z.nullable(types.string()).optional(), - gitBranch: types.optional(types.string()), - id: types.optional(types.string()), - ipAddress: types.optional(types.string()), - key: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - source: types.optional(types.string()), - target: types.optional(smartUnion([types.string(), z.array(types.string())])), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customEnvironmentSlugs: types.optional(z.array(types.string())), + edgeConfigId: z.nullable(types.string()).optional(), + edgeConfigTokenId: z.nullable(types.string()).optional(), + gitBranch: types.optional(types.string()), + id: types.optional(types.string()), + ipAddress: types.optional(types.string()), + key: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + source: types.optional(types.string()), + target: types.optional( + smartUnion([types.string(), z.array(types.string())]), + ), + }) +); -export function oneHundredAndEightyFiveFromJSON( +export function oneHundredAndEightySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightyFive' from JSON`, + (x) => OneHundredAndEightySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightySix' from JSON`, ); } @@ -2173,10 +2361,12 @@ export const DeletedUser$inboundSchema: z.ZodType< DeletedUser, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + username: types.string(), + }) +); export function deletedUserFromJSON( jsonString: string, @@ -2189,23 +2379,25 @@ export function deletedUserFromJSON( } /** @internal */ -export const OneHundredAndEightyFour$inboundSchema: z.ZodType< - OneHundredAndEightyFour, +export const OneHundredAndEightyFive$inboundSchema: z.ZodType< + OneHundredAndEightyFive, z.ZodTypeDef, unknown -> = z.object({ - deletedUid: types.optional(types.string()), - deletedUser: types.optional(z.lazy(() => DeletedUser$inboundSchema)), - emailDomain: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deletedUid: types.optional(types.string()), + deletedUser: types.optional(z.lazy(() => DeletedUser$inboundSchema)), + emailDomain: types.optional(types.string()), + }) +); -export function oneHundredAndEightyFourFromJSON( +export function oneHundredAndEightyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightyFour' from JSON`, + (x) => OneHundredAndEightyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightyFive' from JSON`, ); } @@ -2214,9 +2406,11 @@ export const NextRule$inboundSchema: z.ZodType< NextRule, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + }) +); export function nextRuleFromJSON( jsonString: string, @@ -2233,9 +2427,11 @@ export const PayloadPreviousRule$inboundSchema: z.ZodType< PayloadPreviousRule, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + }) +); export function payloadPreviousRuleFromJSON( jsonString: string, @@ -2248,43 +2444,49 @@ export function payloadPreviousRuleFromJSON( } /** @internal */ -export const UserEventPayload183Team$inboundSchema: z.ZodType< - UserEventPayload183Team, +export const UserEventPayload184Team$inboundSchema: z.ZodType< + UserEventPayload184Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload183TeamFromJSON( +export function userEventPayload184TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload183Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload183Team' from JSON`, + (x) => UserEventPayload184Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload184Team' from JSON`, ); } /** @internal */ -export const OneHundredAndEightyThree$inboundSchema: z.ZodType< - OneHundredAndEightyThree, +export const OneHundredAndEightyFour$inboundSchema: z.ZodType< + OneHundredAndEightyFour, z.ZodTypeDef, unknown -> = z.object({ - nextRule: types.optional(z.lazy(() => NextRule$inboundSchema)), - previousRule: types.optional(z.lazy(() => PayloadPreviousRule$inboundSchema)), - team: z.lazy(() => UserEventPayload183Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextRule: types.optional(z.lazy(() => NextRule$inboundSchema)), + previousRule: types.optional( + z.lazy(() => PayloadPreviousRule$inboundSchema), + ), + team: z.lazy(() => UserEventPayload184Team$inboundSchema), + }) +); -export function oneHundredAndEightyThreeFromJSON( +export function oneHundredAndEightyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEightyThree' from JSON`, + (x) => OneHundredAndEightyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightyFour' from JSON`, ); } @@ -2293,9 +2495,11 @@ export const PreviousRule$inboundSchema: z.ZodType< PreviousRule, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + }) +); export function previousRuleFromJSON( jsonString: string, @@ -2308,22 +2512,46 @@ export function previousRuleFromJSON( } /** @internal */ -export const UserEventPayload182Team$inboundSchema: z.ZodType< - UserEventPayload182Team, +export const UserEventPayload183Team$inboundSchema: z.ZodType< + UserEventPayload183Team, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload182TeamFromJSON( +export function userEventPayload183TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload182Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload182Team' from JSON`, + (x) => UserEventPayload183Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload183Team' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndEightyThree$inboundSchema: z.ZodType< + OneHundredAndEightyThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousRule: z.lazy(() => PreviousRule$inboundSchema), + team: z.lazy(() => UserEventPayload183Team$inboundSchema), + }) +); + +export function oneHundredAndEightyThreeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndEightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEightyThree' from JSON`, ); } @@ -2332,10 +2560,12 @@ export const OneHundredAndEightyTwo$inboundSchema: z.ZodType< OneHundredAndEightyTwo, z.ZodTypeDef, unknown -> = z.object({ - previousRule: z.lazy(() => PreviousRule$inboundSchema), - team: z.lazy(() => UserEventPayload182Team$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + email: types.string(), + name: types.string(), + }) +); export function oneHundredAndEightyTwoFromJSON( jsonString: string, @@ -2352,10 +2582,13 @@ export const OneHundredAndEightyOne$inboundSchema: z.ZodType< OneHundredAndEightyOne, z.ZodTypeDef, unknown -> = z.object({ - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.string(), + edgeConfigSlug: types.string(), + edgeConfigTokenIds: z.array(types.string()), + }) +); export function oneHundredAndEightyOneFromJSON( jsonString: string, @@ -2372,11 +2605,14 @@ export const OneHundredAndEighty$inboundSchema: z.ZodType< OneHundredAndEighty, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigId: types.string(), - edgeConfigSlug: types.string(), - edgeConfigTokenIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.string(), + edgeConfigSlug: types.string(), + edgeConfigTokenId: types.string(), + label: types.string(), + }) +); export function oneHundredAndEightyFromJSON( jsonString: string, @@ -2388,37 +2624,17 @@ export function oneHundredAndEightyFromJSON( ); } -/** @internal */ -export const OneHundredAndSeventyNine$inboundSchema: z.ZodType< - OneHundredAndSeventyNine, - z.ZodTypeDef, - unknown -> = z.object({ - edgeConfigId: types.string(), - edgeConfigSlug: types.string(), - edgeConfigTokenId: types.string(), - label: types.string(), -}); - -export function oneHundredAndSeventyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeventyNine' from JSON`, - ); -} - /** @internal */ export const EdgeConfig$inboundSchema: z.ZodType< EdgeConfig, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.string(), + }) +); export function edgeConfigFromJSON( jsonString: string, @@ -2431,21 +2647,23 @@ export function edgeConfigFromJSON( } /** @internal */ -export const UserEventPayload178Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload178Type -> = z.nativeEnum(UserEventPayload178Type); +export const UserEventPayload179Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload179Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload179Type)); /** @internal */ export const FromAccount$inboundSchema: z.ZodType< FromAccount, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.optional(types.string()), - type: UserEventPayload178Type$inboundSchema, - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.optional(types.string()), + type: UserEventPayload179Type$inboundSchema, + username: types.optional(types.string()), + }) +); export function fromAccountFromJSON( jsonString: string, @@ -2458,21 +2676,25 @@ export function fromAccountFromJSON( } /** @internal */ -export const UserEventPayload178ToAccountType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload178ToAccountType -> = z.nativeEnum(UserEventPayload178ToAccountType); +export const UserEventPayload179ToAccountType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload179ToAccountType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload179ToAccountType) +); /** @internal */ export const ToAccount$inboundSchema: z.ZodType< ToAccount, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - slug: types.optional(types.string()), - type: UserEventPayload178ToAccountType$inboundSchema, - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + slug: types.optional(types.string()), + type: UserEventPayload179ToAccountType$inboundSchema, + username: types.optional(types.string()), + }) +); export function toAccountFromJSON( jsonString: string, @@ -2485,44 +2707,48 @@ export function toAccountFromJSON( } /** @internal */ -export const OneHundredAndSeventyEight$inboundSchema: z.ZodType< - OneHundredAndSeventyEight, +export const OneHundredAndSeventyNine$inboundSchema: z.ZodType< + OneHundredAndSeventyNine, z.ZodTypeDef, unknown -> = z.object({ - edgeConfig: z.lazy(() => EdgeConfig$inboundSchema), - fromAccount: z.lazy(() => FromAccount$inboundSchema), - toAccount: z.lazy(() => ToAccount$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfig: z.lazy(() => EdgeConfig$inboundSchema), + fromAccount: z.lazy(() => FromAccount$inboundSchema), + toAccount: z.lazy(() => ToAccount$inboundSchema), + }) +); -export function oneHundredAndSeventyEightFromJSON( +export function oneHundredAndSeventyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeventyEight' from JSON`, + (x) => OneHundredAndSeventyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeventyNine' from JSON`, ); } /** @internal */ -export const OneHundredAndSeventySeven$inboundSchema: z.ZodType< - OneHundredAndSeventySeven, +export const OneHundredAndSeventyEight$inboundSchema: z.ZodType< + OneHundredAndSeventyEight, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigDigest: types.optional(types.string()), - edgeConfigId: types.string(), - edgeConfigSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigDigest: types.optional(types.string()), + edgeConfigId: types.string(), + edgeConfigSlug: types.string(), + }) +); -export function oneHundredAndSeventySevenFromJSON( +export function oneHundredAndSeventyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeventySeven' from JSON`, + (x) => OneHundredAndSeventyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeventyEight' from JSON`, ); } @@ -2531,7 +2757,7 @@ export const EdgeConfigSchema$inboundSchema: z.ZodType< EdgeConfigSchema, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function edgeConfigSchemaFromJSON( jsonString: string, @@ -2543,18 +2769,44 @@ export function edgeConfigSchemaFromJSON( ); } +/** @internal */ +export const OneHundredAndSeventySeven$inboundSchema: z.ZodType< + OneHundredAndSeventySeven, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigId: types.string(), + edgeConfigSchema: types.optional( + z.lazy(() => EdgeConfigSchema$inboundSchema), + ), + edgeConfigSlug: types.string(), + }) +); + +export function oneHundredAndSeventySevenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndSeventySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeventySeven' from JSON`, + ); +} + /** @internal */ export const OneHundredAndSeventySix$inboundSchema: z.ZodType< OneHundredAndSeventySix, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigId: types.string(), - edgeConfigSchema: types.optional( - z.lazy(() => EdgeConfigSchema$inboundSchema), - ), - edgeConfigSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigDigest: types.string(), + edgeConfigId: types.string(), + edgeConfigSlug: types.string(), + edgeConfigBackupVersionId: types.string(), + }) +); export function oneHundredAndSeventySixFromJSON( jsonString: string, @@ -2571,12 +2823,13 @@ export const OneHundredAndSeventyFive$inboundSchema: z.ZodType< OneHundredAndSeventyFive, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigDigest: types.string(), - edgeConfigId: types.string(), - edgeConfigSlug: types.string(), - edgeConfigBackupVersionId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + edgeConfigDigest: types.string(), + edgeConfigId: types.string(), + edgeConfigSlug: types.string(), + }) +); export function oneHundredAndSeventyFiveFromJSON( jsonString: string, @@ -2593,11 +2846,12 @@ export const OneHundredAndSeventyFour$inboundSchema: z.ZodType< OneHundredAndSeventyFour, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigDigest: types.string(), - edgeConfigId: types.string(), - edgeConfigSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + }) +); export function oneHundredAndSeventyFourFromJSON( jsonString: string, @@ -2614,10 +2868,13 @@ export const OneHundredAndSeventyThree$inboundSchema: z.ZodType< OneHundredAndSeventyThree, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + path: types.string(), + projectId: types.string(), + projectName: types.string(), + }) +); export function oneHundredAndSeventyThreeFromJSON( jsonString: string, @@ -2634,11 +2891,14 @@ export const OneHundredAndSeventyTwo$inboundSchema: z.ZodType< OneHundredAndSeventyTwo, z.ZodTypeDef, unknown -> = z.object({ - path: types.string(), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + tags: z.array(types.string()), + target: types.optional(types.string()), + }) +); export function oneHundredAndSeventyTwoFromJSON( jsonString: string, @@ -2655,12 +2915,13 @@ export const OneHundredAndSeventyOne$inboundSchema: z.ZodType< OneHundredAndSeventyOne, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - tags: z.array(types.string()), - target: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + srcImages: z.array(types.string()), + }) +); export function oneHundredAndSeventyOneFromJSON( jsonString: string, @@ -2677,11 +2938,16 @@ export const OneHundredAndSeventy$inboundSchema: z.ZodType< OneHundredAndSeventy, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - srcImages: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + driveName: types.string(), + projectId: types.string(), + projectName: types.string(), + region: types.string(), + snapshotId: types.string(), + snapshotName: types.string(), + }) +); export function oneHundredAndSeventyFromJSON( jsonString: string, @@ -2698,14 +2964,14 @@ export const OneHundredAndSixtyNine$inboundSchema: z.ZodType< OneHundredAndSixtyNine, z.ZodTypeDef, unknown -> = z.object({ - driveName: types.string(), - projectId: types.string(), - projectName: types.string(), - region: types.string(), - snapshotId: types.string(), - snapshotName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + driveName: types.string(), + projectId: types.string(), + projectName: types.string(), + region: types.string(), + }) +); export function oneHundredAndSixtyNineFromJSON( jsonString: string, @@ -2722,12 +2988,12 @@ export const OneHundredAndSixtyEight$inboundSchema: z.ZodType< OneHundredAndSixtyEight, z.ZodTypeDef, unknown -> = z.object({ - driveName: types.string(), - projectId: types.string(), - projectName: types.string(), - region: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drainUrl: types.nullable(types.string()), + integrationName: types.optional(types.string()), + }) +); export function oneHundredAndSixtyEightFromJSON( jsonString: string, @@ -2744,10 +3010,14 @@ export const OneHundredAndSixtySeven$inboundSchema: z.ZodType< OneHundredAndSixtySeven, z.ZodTypeDef, unknown -> = z.object({ - drainUrl: types.nullable(types.string()), - integrationName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + drainName: types.nullable(types.string()), + drainUrl: types.nullable(types.string()), + id: types.optional(types.string()), + integrationName: types.optional(types.string()), + }) +); export function oneHundredAndSixtySevenFromJSON( jsonString: string, @@ -2764,12 +3034,11 @@ export const OneHundredAndSixtySix$inboundSchema: z.ZodType< OneHundredAndSixtySix, z.ZodTypeDef, unknown -> = z.object({ - drainName: types.nullable(types.string()), - drainUrl: types.nullable(types.string()), - id: types.optional(types.string()), - integrationName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function oneHundredAndSixtySixFromJSON( jsonString: string, @@ -2786,9 +3055,13 @@ export const OneHundredAndSixtyFive$inboundSchema: z.ZodType< OneHundredAndSixtyFive, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currency: types.optional(types.string()), + name: types.string(), + price: types.optional(types.number()), + }) +); export function oneHundredAndSixtyFiveFromJSON( jsonString: string, @@ -2805,11 +3078,12 @@ export const OneHundredAndSixtyFour$inboundSchema: z.ZodType< OneHundredAndSixtyFour, z.ZodTypeDef, unknown -> = z.object({ - currency: types.optional(types.string()), - name: types.string(), - price: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + renew: types.optional(types.boolean()), + }) +); export function oneHundredAndSixtyFourFromJSON( jsonString: string, @@ -2826,10 +3100,13 @@ export const OneHundredAndSixtyThree$inboundSchema: z.ZodType< OneHundredAndSixtyThree, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - renew: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinationId: types.string(), + destinationName: types.string(), + name: types.string(), + }) +); export function oneHundredAndSixtyThreeFromJSON( jsonString: string, @@ -2846,11 +3123,13 @@ export const OneHundredAndSixtyTwo$inboundSchema: z.ZodType< OneHundredAndSixtyTwo, z.ZodTypeDef, unknown -> = z.object({ - destinationId: types.string(), - destinationName: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + destinationId: types.nullable(types.string()), + destinationName: types.nullable(types.string()), + name: types.string(), + }) +); export function oneHundredAndSixtyTwoFromJSON( jsonString: string, @@ -2867,11 +3146,13 @@ export const OneHundredAndSixtyOne$inboundSchema: z.ZodType< OneHundredAndSixtyOne, z.ZodTypeDef, unknown -> = z.object({ - destinationId: types.nullable(types.string()), - destinationName: types.nullable(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromId: types.nullable(types.string()), + fromName: types.nullable(types.string()), + name: types.string(), + }) +); export function oneHundredAndSixtyOneFromJSON( jsonString: string, @@ -2883,16 +3164,25 @@ export function oneHundredAndSixtyOneFromJSON( ); } +/** @internal */ +export const PayloadInitiator$inboundSchema: z.ZodNativeEnum< + typeof PayloadInitiator +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadInitiator)); + /** @internal */ export const OneHundredAndSixty$inboundSchema: z.ZodType< OneHundredAndSixty, z.ZodTypeDef, unknown -> = z.object({ - fromId: types.nullable(types.string()), - fromName: types.nullable(types.string()), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + initiator: PayloadInitiator$inboundSchema, + previousZone: types.optional(types.boolean()), + source: types.optional(types.string()), + zone: types.boolean(), + }) +); export function oneHundredAndSixtyFromJSON( jsonString: string, @@ -2904,23 +3194,17 @@ export function oneHundredAndSixtyFromJSON( ); } -/** @internal */ -export const PayloadInitiator$inboundSchema: z.ZodNativeEnum< - typeof PayloadInitiator -> = z.nativeEnum(PayloadInitiator); - /** @internal */ export const OneHundredAndFiftyNine$inboundSchema: z.ZodType< OneHundredAndFiftyNine, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - initiator: PayloadInitiator$inboundSchema, - previousZone: types.optional(types.boolean()), - source: types.optional(types.string()), - zone: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + zone: types.boolean(), + }) +); export function oneHundredAndFiftyNineFromJSON( jsonString: string, @@ -2932,15 +3216,27 @@ export function oneHundredAndFiftyNineFromJSON( ); } +/** @internal */ +export const EchMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(EchMode)); + +/** @internal */ +export const PreviousEchMode$inboundSchema: z.ZodNativeEnum< + typeof PreviousEchMode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousEchMode)); + /** @internal */ export const OneHundredAndFiftyEight$inboundSchema: z.ZodType< OneHundredAndFiftyEight, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - zone: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + echMode: EchMode$inboundSchema, + previousEchMode: PreviousEchMode$inboundSchema, + }) +); export function oneHundredAndFiftyEightFromJSON( jsonString: string, @@ -2952,25 +3248,16 @@ export function oneHundredAndFiftyEightFromJSON( ); } -/** @internal */ -export const EchMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(EchMode); - -/** @internal */ -export const PreviousEchMode$inboundSchema: z.ZodNativeEnum< - typeof PreviousEchMode -> = z.nativeEnum(PreviousEchMode); - /** @internal */ export const OneHundredAndFiftySeven$inboundSchema: z.ZodType< OneHundredAndFiftySeven, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - echMode: EchMode$inboundSchema, - previousEchMode: PreviousEchMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + }) +); export function oneHundredAndFiftySevenFromJSON( jsonString: string, @@ -2987,9 +3274,13 @@ export const OneHundredAndFiftySix$inboundSchema: z.ZodType< OneHundredAndFiftySix, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + customNameservers: types.nullable(z.array(types.string())), + domain: types.string(), + prevCustomNameservers: types.nullable(z.array(types.string())), + }) +); export function oneHundredAndFiftySixFromJSON( jsonString: string, @@ -3006,11 +3297,15 @@ export const OneHundredAndFiftyFive$inboundSchema: z.ZodType< OneHundredAndFiftyFive, z.ZodTypeDef, unknown -> = z.object({ - customNameservers: types.nullable(z.array(types.string())), - domain: types.string(), - prevCustomNameservers: types.nullable(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + nameservers: z.array(types.string()), + previousServiceType: types.string(), + serviceType: types.string(), + }) +); export function oneHundredAndFiftyFiveFromJSON( jsonString: string, @@ -3027,13 +3322,12 @@ export const OneHundredAndFiftyFour$inboundSchema: z.ZodType< OneHundredAndFiftyFour, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - nameservers: z.array(types.string()), - previousServiceType: types.string(), - serviceType: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domainId: types.string(), + name: types.string(), + }) +); export function oneHundredAndFiftyFourFromJSON( jsonString: string, @@ -3050,10 +3344,14 @@ export const OneHundredAndFiftyThree$inboundSchema: z.ZodType< OneHundredAndFiftyThree, z.ZodTypeDef, unknown -> = z.object({ - domainId: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + ownerName: types.string(), + teamId: types.string(), + userId: types.string(), + }) +); export function oneHundredAndFiftyThreeFromJSON( jsonString: string, @@ -3066,62 +3364,71 @@ export function oneHundredAndFiftyThreeFromJSON( } /** @internal */ -export const OneHundredAndFiftyTwo$inboundSchema: z.ZodType< - OneHundredAndFiftyTwo, +export const UserEventPayload152NewTeam$inboundSchema: z.ZodType< + UserEventPayload152NewTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - ownerName: types.string(), - teamId: types.string(), - userId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); -export function oneHundredAndFiftyTwoFromJSON( +export function userEventPayload152NewTeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyTwo' from JSON`, + (x) => UserEventPayload152NewTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload152NewTeam' from JSON`, ); } /** @internal */ -export const UserEventPayload151NewTeam$inboundSchema: z.ZodType< - UserEventPayload151NewTeam, +export const UserEventPayload152OldTeam$inboundSchema: z.ZodType< + UserEventPayload152OldTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); -export function userEventPayload151NewTeamFromJSON( +export function userEventPayload152OldTeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload151NewTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload151NewTeam' from JSON`, + (x) => UserEventPayload152OldTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload152OldTeam' from JSON`, ); } /** @internal */ -export const UserEventPayload151OldTeam$inboundSchema: z.ZodType< - UserEventPayload151OldTeam, +export const OneHundredAndFiftyTwo$inboundSchema: z.ZodType< + OneHundredAndFiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + newTeam: types.optional( + z.lazy(() => UserEventPayload152NewTeam$inboundSchema), + ), + oldTeam: types.optional( + z.lazy(() => UserEventPayload152OldTeam$inboundSchema), + ), + }) +); -export function userEventPayload151OldTeamFromJSON( +export function oneHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload151OldTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload151OldTeam' from JSON`, + (x) => OneHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyTwo' from JSON`, ); } @@ -3130,15 +3437,12 @@ export const OneHundredAndFiftyOne$inboundSchema: z.ZodType< OneHundredAndFiftyOne, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - newTeam: types.optional( - z.lazy(() => UserEventPayload151NewTeam$inboundSchema), - ), - oldTeam: types.optional( - z.lazy(() => UserEventPayload151OldTeam$inboundSchema), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cdnEnabled: types.boolean(), + name: types.string(), + }) +); export function oneHundredAndFiftyOneFromJSON( jsonString: string, @@ -3155,10 +3459,13 @@ export const OneHundredAndFifty$inboundSchema: z.ZodType< OneHundredAndFifty, z.ZodTypeDef, unknown -> = z.object({ - cdnEnabled: types.boolean(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currency: types.optional(types.string()), + name: types.string(), + price: types.number(), + }) +); export function oneHundredAndFiftyFromJSON( jsonString: string, @@ -3175,11 +3482,12 @@ export const OneHundredAndFortyNine$inboundSchema: z.ZodType< OneHundredAndFortyNine, z.ZodTypeDef, unknown -> = z.object({ - currency: types.optional(types.string()), - name: types.string(), - price: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + zone: types.optional(types.boolean()), + }) +); export function oneHundredAndFortyNineFromJSON( jsonString: string, @@ -3196,10 +3504,15 @@ export const OneHundredAndFortyEight$inboundSchema: z.ZodType< OneHundredAndFortyEight, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - zone: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + id: types.string(), + name: types.string(), + type: types.string(), + value: types.string(), + }) +); export function oneHundredAndFortyEightFromJSON( jsonString: string, @@ -3211,18 +3524,34 @@ export function oneHundredAndFortyEightFromJSON( ); } +/** @internal */ +export const UserEventPayload147Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload147Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload147Action)); + +/** @internal */ +export const Initiator$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Initiator)); + /** @internal */ export const OneHundredAndFortySeven$inboundSchema: z.ZodType< OneHundredAndFortySeven, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - id: types.string(), - name: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload147Action$inboundSchema, + domain: types.string(), + id: types.string(), + initiator: Initiator$inboundSchema, + mxPriority: types.optional(types.number()), + name: types.string(), + previousValue: types.optional(types.string()), + source: types.optional(types.string()), + type: types.string(), + value: types.string(), + }) +); export function oneHundredAndFortySevenFromJSON( jsonString: string, @@ -3234,32 +3563,21 @@ export function oneHundredAndFortySevenFromJSON( ); } -/** @internal */ -export const UserEventPayload146Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload146Action -> = z.nativeEnum(UserEventPayload146Action); - -/** @internal */ -export const Initiator$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Initiator); - /** @internal */ export const OneHundredAndFortySix$inboundSchema: z.ZodType< OneHundredAndFortySix, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload146Action$inboundSchema, - domain: types.string(), - id: types.string(), - initiator: Initiator$inboundSchema, - mxPriority: types.optional(types.number()), - name: types.string(), - previousValue: types.optional(types.string()), - source: types.optional(types.string()), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + id: types.string(), + mxPriority: types.optional(types.number()), + name: types.string(), + type: types.string(), + value: types.string(), + }) +); export function oneHundredAndFortySixFromJSON( jsonString: string, @@ -3276,14 +3594,16 @@ export const OneHundredAndFortyFive$inboundSchema: z.ZodType< OneHundredAndFortyFive, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - id: types.string(), - mxPriority: types.optional(types.number()), - name: types.string(), - type: types.string(), - value: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + }) +); export function oneHundredAndFortyFiveFromJSON( jsonString: string, @@ -3300,14 +3620,15 @@ export const OneHundredAndFortyFour$inboundSchema: z.ZodType< OneHundredAndFortyFour, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.string(), + deploymentName: types.nullable(types.string()), + deploymentUrl: types.nullable(types.string()), + projectId: types.string(), + projectName: types.string(), + }) +); export function oneHundredAndFortyFourFromJSON( jsonString: string, @@ -3319,18 +3640,27 @@ export function oneHundredAndFortyFourFromJSON( ); } +/** @internal */ +export const UserEventPayload143Mode$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload143Mode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload143Mode)); + +/** @internal */ +export const PayloadPreviousMode$inboundSchema: z.ZodNativeEnum< + typeof PayloadPreviousMode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadPreviousMode)); + /** @internal */ export const OneHundredAndFortyThree$inboundSchema: z.ZodType< OneHundredAndFortyThree, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.string(), - deploymentName: types.nullable(types.string()), - deploymentUrl: types.nullable(types.string()), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: UserEventPayload143Mode$inboundSchema, + previousMode: PayloadPreviousMode$inboundSchema, + }) +); export function oneHundredAndFortyThreeFromJSON( jsonString: string, @@ -3343,24 +3673,31 @@ export function oneHundredAndFortyThreeFromJSON( } /** @internal */ -export const UserEventPayload142Mode$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload142Mode -> = z.nativeEnum(UserEventPayload142Mode); +export const UserEventPayloadMode$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadMode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadMode)); + +/** @internal */ +export const PreviousMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousMode)); /** @internal */ -export const PayloadPreviousMode$inboundSchema: z.ZodNativeEnum< - typeof PayloadPreviousMode -> = z.nativeEnum(PayloadPreviousMode); +export const UserEventPayload142Scope$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload142Scope +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload142Scope)); /** @internal */ export const OneHundredAndFortyTwo$inboundSchema: z.ZodType< OneHundredAndFortyTwo, z.ZodTypeDef, unknown -> = z.object({ - mode: UserEventPayload142Mode$inboundSchema, - previousMode: PayloadPreviousMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + mode: types.nullable(UserEventPayloadMode$inboundSchema), + previousMode: types.nullable(PreviousMode$inboundSchema), + scope: UserEventPayload142Scope$inboundSchema, + }) +); export function oneHundredAndFortyTwoFromJSON( jsonString: string, @@ -3373,29 +3710,29 @@ export function oneHundredAndFortyTwoFromJSON( } /** @internal */ -export const UserEventPayloadMode$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadMode -> = z.nativeEnum(UserEventPayloadMode); - -/** @internal */ -export const PreviousMode$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(PreviousMode); +export const RuleName$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RuleName)); /** @internal */ -export const UserEventPayload141Scope$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload141Scope -> = z.nativeEnum(UserEventPayload141Scope); +export const RuleProvenance$inboundSchema: z.ZodNativeEnum< + typeof RuleProvenance +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RuleProvenance)); /** @internal */ export const OneHundredAndFortyOne$inboundSchema: z.ZodType< OneHundredAndFortyOne, z.ZodTypeDef, unknown -> = z.object({ - mode: types.nullable(UserEventPayloadMode$inboundSchema), - previousMode: types.nullable(PreviousMode$inboundSchema), - scope: UserEventPayload141Scope$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deploymentId: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.string(), + ruleName: RuleName$inboundSchema, + ruleProvenance: RuleProvenance$inboundSchema, + source: types.string(), + }) +); export function oneHundredAndFortyOneFromJSON( jsonString: string, @@ -3408,27 +3745,42 @@ export function oneHundredAndFortyOneFromJSON( } /** @internal */ -export const RuleName$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RuleName); +export const UserEventPayload140Deployment$inboundSchema: z.ZodType< + UserEventPayload140Deployment, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + meta: z.record(types.string()), + name: types.string(), + url: types.string(), + }) +); -/** @internal */ -export const RuleProvenance$inboundSchema: z.ZodNativeEnum< - typeof RuleProvenance -> = z.nativeEnum(RuleProvenance); +export function userEventPayload140DeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload140Deployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload140Deployment' from JSON`, + ); +} /** @internal */ export const OneHundredAndForty$inboundSchema: z.ZodType< OneHundredAndForty, z.ZodTypeDef, unknown -> = z.object({ - deploymentId: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.string(), - ruleName: RuleName$inboundSchema, - ruleProvenance: RuleProvenance$inboundSchema, - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deployment: z.lazy(() => UserEventPayload140Deployment$inboundSchema), + deploymentId: types.string(), + projectId: types.optional(types.string()), + url: types.string(), + }) +); export function oneHundredAndFortyFromJSON( jsonString: string, @@ -3441,38 +3793,26 @@ export function oneHundredAndFortyFromJSON( } /** @internal */ -export const UserEventPayload139Deployment$inboundSchema: z.ZodType< - UserEventPayload139Deployment, - z.ZodTypeDef, - unknown -> = z.object({ - id: types.string(), - meta: z.record(types.string()), - name: types.string(), - url: types.string(), -}); - -export function userEventPayload139DeploymentFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventPayload139Deployment$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload139Deployment' from JSON`, - ); -} +export const UserEventPayload139Reason$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload139Reason +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload139Reason)); /** @internal */ export const OneHundredAndThirtyNine$inboundSchema: z.ZodType< OneHundredAndThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - deployment: z.lazy(() => UserEventPayload139Deployment$inboundSchema), - deploymentId: types.string(), - projectId: types.optional(types.string()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + gitCommitterName: types.string(), + gitUserPlatform: types.string(), + projectId: types.optional(types.string()), + projectName: types.string(), + reason: types.optional(UserEventPayload139Reason$inboundSchema), + sha: types.string(), + source: types.string(), + }) +); export function oneHundredAndThirtyNineFromJSON( jsonString: string, @@ -3484,44 +3824,16 @@ export function oneHundredAndThirtyNineFromJSON( ); } -/** @internal */ -export const UserEventPayload138Reason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload138Reason -> = z.nativeEnum(UserEventPayload138Reason); - -/** @internal */ -export const OneHundredAndThirtyEight$inboundSchema: z.ZodType< - OneHundredAndThirtyEight, - z.ZodTypeDef, - unknown -> = z.object({ - gitCommitterName: types.string(), - gitUserPlatform: types.string(), - projectId: types.optional(types.string()), - projectName: types.string(), - reason: types.optional(UserEventPayload138Reason$inboundSchema), - sha: types.string(), - source: types.string(), -}); - -export function oneHundredAndThirtyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyEight' from JSON`, - ); -} - /** @internal */ export const UserEventPayloadNewTeam$inboundSchema: z.ZodType< UserEventPayloadNewTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function userEventPayloadNewTeamFromJSON( jsonString: string, @@ -3538,9 +3850,11 @@ export const UserEventPayloadOldTeam$inboundSchema: z.ZodType< UserEventPayloadOldTeam, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) +); export function userEventPayloadOldTeamFromJSON( jsonString: string, @@ -3553,96 +3867,110 @@ export function userEventPayloadOldTeamFromJSON( } /** @internal */ -export const OneHundredAndThirtySeven$inboundSchema: z.ZodType< - OneHundredAndThirtySeven, +export const OneHundredAndThirtyEight$inboundSchema: z.ZodType< + OneHundredAndThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - newTeam: types.optional(z.lazy(() => UserEventPayloadNewTeam$inboundSchema)), - oldTeam: types.optional(z.lazy(() => UserEventPayloadOldTeam$inboundSchema)), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newTeam: types.optional( + z.lazy(() => UserEventPayloadNewTeam$inboundSchema), + ), + oldTeam: types.optional( + z.lazy(() => UserEventPayloadOldTeam$inboundSchema), + ), + url: types.string(), + }) +); -export function oneHundredAndThirtySevenFromJSON( +export function oneHundredAndThirtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtySeven' from JSON`, + (x) => OneHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyEight' from JSON`, ); } /** @internal */ -export const UserEventJobPayload13610GitComments$inboundSchema: z.ZodType< - UserEventJobPayload13610GitComments, +export const UserEventJobPayload13710GitComments$inboundSchema: z.ZodType< + UserEventJobPayload13710GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload13610GitCommentsFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload13710GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload13610GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload13610GitComments' from JSON`, + UserEventJobPayload13710GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload13710GitComments' from JSON`, ); } /** @internal */ -export const UserEventJobPayload13610HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload13610HeadInfo, +export const UserEventJobPayload13710HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload13710HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ownerId: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), -}); - -export function userEventJobPayload13610HeadInfoFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ownerId: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + }) +); + +export function userEventJobPayload13710HeadInfoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload13610HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload13610HeadInfo' from JSON`, + (x) => UserEventJobPayload13710HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload13710HeadInfo' from JSON`, ); } /** @internal */ -export const UserEventJobPayload13610Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload13610Provider -> = z.nativeEnum(UserEventJobPayload13610Provider); - -/** @internal */ -export const Job10$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - customEnvId: z.nullable(z.any()).optional(), - eventful: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload13610GitComments$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload13610HeadInfo$inboundSchema), - installationId: types.string(), - linkedProjectId: types.optional(types.string()), - owner: types.string(), - prId: types.number(), - projectId: z.nullable(z.any()).optional(), - provider: UserEventJobPayload13610Provider$inboundSchema, - repo: types.string(), - repoId: types.string(), - type: types.literal("cursor-origin-now-comment"), - }); +export const UserEventJobPayload13710Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload13710Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload13710Provider) +); + +/** @internal */ +export const Job10$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + customEnvId: z.nullable(z.any()).optional(), + eventful: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayload13710GitComments$inboundSchema), + ), + headInfo: z.lazy(() => UserEventJobPayload13710HeadInfo$inboundSchema), + installationId: types.string(), + linkedProjectId: types.optional(types.string()), + owner: types.string(), + prId: types.number(), + projectId: z.nullable(z.any()).optional(), + provider: UserEventJobPayload13710Provider$inboundSchema, + repo: types.string(), + repoId: types.string(), + type: types.literal("cursor-origin-now-comment"), + }) + ); export function job10FromJSON( jsonString: string, @@ -3655,163 +3983,181 @@ export function job10FromJSON( } /** @internal */ -export const UserEventJobPayload1369CommitVerification$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventJobPayload1369CommitVerification); +export const UserEventJobPayload1379CommitVerification$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1379CommitVerification) + ); /** @internal */ -export const UserEventJobPayload1369DeployHook$inboundSchema: z.ZodType< - UserEventJobPayload1369DeployHook, +export const UserEventJobPayload1379DeployHook$inboundSchema: z.ZodType< + UserEventJobPayload1379DeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); - -export function userEventJobPayload1369DeployHookFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); + +export function userEventJobPayload1379DeployHookFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1369DeployHook$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1369DeployHook' from JSON`, + (x) => UserEventJobPayload1379DeployHook$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1379DeployHook' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1369GitComments$inboundSchema: z.ZodType< - UserEventJobPayload1369GitComments, +export const UserEventJobPayload1379GitComments$inboundSchema: z.ZodType< + UserEventJobPayload1379GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload1369GitCommentsFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload1379GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload1369GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1369GitComments' from JSON`, + UserEventJobPayload1379GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1379GitComments' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1369GitHashtagVercel$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventJobPayload1369GitHashtagVercel); +export const UserEventJobPayload1379GitHashtagVercel$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1379GitHashtagVercel) + ); /** @internal */ -export const UserEventJobPayload1369HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload1369HeadInfo, +export const UserEventJobPayload1379HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload1379HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - owner: types.string(), - ownerId: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.string(), - sha: types.string(), -}); - -export function userEventJobPayload1369HeadInfoFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + owner: types.string(), + ownerId: types.string(), + ref: types.string(), + repo: types.string(), + repoId: types.string(), + sha: types.string(), + }) +); + +export function userEventJobPayload1379HeadInfoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1369HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1369HeadInfo' from JSON`, + (x) => UserEventJobPayload1379HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1379HeadInfo' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1369Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1369Action -> = z.nativeEnum(UserEventJobPayload1369Action); +export const UserEventJobPayload1379Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1379Action +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1379Action) +); /** @internal */ -export const UserEventJobPayload1369NsnbSideEffect$inboundSchema: z.ZodType< - UserEventJobPayload1369NsnbSideEffect, +export const UserEventJobPayload1379NsnbSideEffect$inboundSchema: z.ZodType< + UserEventJobPayload1379NsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventJobPayload1369Action$inboundSchema, - gitUserLogin: types.string(), -}); - -export function userEventJobPayload1369NsnbSideEffectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventJobPayload1379Action$inboundSchema, + gitUserLogin: types.string(), + }) +); + +export function userEventJobPayload1379NsnbSideEffectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload1369NsnbSideEffect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1369NsnbSideEffect' from JSON`, + UserEventJobPayload1379NsnbSideEffect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1379NsnbSideEffect' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1369Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1369Provider -> = z.nativeEnum(UserEventJobPayload1369Provider); - -/** @internal */ -export const Job9$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - beforeSha: types.optional(types.string()), - commitVerification: types.optional( - UserEventJobPayload1369CommitVerification$inboundSchema, - ), - connectedProjectCount: types.optional(types.number()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - defaultBranch: types.optional(types.string()), - deployHook: types.optional( - z.lazy(() => UserEventJobPayload1369DeployHook$inboundSchema), - ), - deploymentId: types.optional(types.string()), - eventful: types.optional(types.boolean()), - forced: types.optional(types.boolean()), - forceNew: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload1369GitComments$inboundSchema), - ), - gitHashtagVercel: types.optional( - z.array(UserEventJobPayload1369GitHashtagVercel$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload1369HeadInfo$inboundSchema), - installationId: types.string(), - isManualGitDeploy: types.optional(types.boolean()), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - nsnbSideEffect: types.optional( - z.lazy(() => UserEventJobPayload1369NsnbSideEffect$inboundSchema), - ), - owner: types.string(), - prId: z.nullable(types.number()).optional(), - prIdOrZero: types.optional(types.number()), - projectId: types.optional(types.string()), - provider: UserEventJobPayload1369Provider$inboundSchema, - ref: types.string(), - repo: types.string(), - repoId: types.string(), - repoPushedAt: z.nullable(types.number()).optional(), - sha: types.string(), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - target: z.nullable(types.string()).optional(), - type: types.literal("cursor-origin-push"), - url: types.optional(types.string()), - }); +export const UserEventJobPayload1379Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1379Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1379Provider) +); + +/** @internal */ +export const Job9$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + beforeSha: types.optional(types.string()), + commitVerification: types.optional( + UserEventJobPayload1379CommitVerification$inboundSchema, + ), + connectedProjectCount: types.optional(types.number()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + defaultBranch: types.optional(types.string()), + deployHook: types.optional( + z.lazy(() => UserEventJobPayload1379DeployHook$inboundSchema), + ), + deploymentId: types.optional(types.string()), + eventful: types.optional(types.boolean()), + forced: types.optional(types.boolean()), + forceNew: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayload1379GitComments$inboundSchema), + ), + gitHashtagVercel: types.optional( + z.array(UserEventJobPayload1379GitHashtagVercel$inboundSchema), + ), + headInfo: z.lazy(() => UserEventJobPayload1379HeadInfo$inboundSchema), + installationId: types.string(), + isManualGitDeploy: types.optional(types.boolean()), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + nsnbSideEffect: types.optional( + z.lazy(() => UserEventJobPayload1379NsnbSideEffect$inboundSchema), + ), + owner: types.string(), + prId: z.nullable(types.number()).optional(), + prIdOrZero: types.optional(types.number()), + projectId: types.optional(types.string()), + provider: UserEventJobPayload1379Provider$inboundSchema, + ref: types.string(), + repo: types.string(), + repoId: types.string(), + repoPushedAt: z.nullable(types.number()).optional(), + sha: types.string(), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + target: z.nullable(types.string()).optional(), + type: types.literal("cursor-origin-push"), + url: types.optional(types.string()), + }) + ); export function job9FromJSON( jsonString: string, @@ -3824,66 +4170,75 @@ export function job9FromJSON( } /** @internal */ -export const UserEventJobPayload136CommitVerification$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventJobPayload136CommitVerification); +export const UserEventJobPayload137CommitVerification$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload137CommitVerification) + ); /** @internal */ -export const UserEventJobPayload1368DeployHook$inboundSchema: z.ZodType< - UserEventJobPayload1368DeployHook, +export const UserEventJobPayload1378DeployHook$inboundSchema: z.ZodType< + UserEventJobPayload1378DeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); - -export function userEventJobPayload1368DeployHookFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); + +export function userEventJobPayload1378DeployHookFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1368DeployHook$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1368DeployHook' from JSON`, + (x) => UserEventJobPayload1378DeployHook$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1378DeployHook' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1368GitComments$inboundSchema: z.ZodType< - UserEventJobPayload1368GitComments, +export const UserEventJobPayload1378GitComments$inboundSchema: z.ZodType< + UserEventJobPayload1378GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload1368GitCommentsFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload1378GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload1368GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1368GitComments' from JSON`, + UserEventJobPayload1378GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1378GitComments' from JSON`, ); } /** @internal */ -export const UserEventJobPayload136GitHashtagVercel$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UserEventJobPayload136GitHashtagVercel, - ); +export const UserEventJobPayload137GitHashtagVercel$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload137GitHashtagVercel) + ); /** @internal */ -export const Author$inboundSchema: z.ZodType = z - .object({ - date: types.string(), - email: types.string(), - name: types.string(), - }); +export const Author$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) + ); export function authorFromJSON( jsonString: string, @@ -3900,11 +4255,13 @@ export const Committer$inboundSchema: z.ZodType< Committer, z.ZodTypeDef, unknown -> = z.object({ - date: types.string(), - email: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + date: types.string(), + email: types.string(), + name: types.string(), + }) +); export function committerFromJSON( jsonString: string, @@ -3921,11 +4278,13 @@ export const CommitMetadata$inboundSchema: z.ZodType< CommitMetadata, z.ZodTypeDef, unknown -> = z.object({ - author: z.lazy(() => Author$inboundSchema), - committer: z.lazy(() => Committer$inboundSchema), - message: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + author: z.lazy(() => Author$inboundSchema), + committer: z.lazy(() => Committer$inboundSchema), + message: types.string(), + }) +); export function commitMetadataFromJSON( jsonString: string, @@ -3938,102 +4297,112 @@ export function commitMetadataFromJSON( } /** @internal */ -export const UserEventJobPayload1368HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload1368HeadInfo, +export const UserEventJobPayload1378HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload1378HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - commitMetadata: types.optional(z.lazy(() => CommitMetadata$inboundSchema)), - org: types.string(), - ref: types.string(), - repo: types.string(), - sha: types.string(), -}); - -export function userEventJobPayload1368HeadInfoFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + commitMetadata: types.optional(z.lazy(() => CommitMetadata$inboundSchema)), + org: types.string(), + ref: types.string(), + repo: types.string(), + sha: types.string(), + }) +); + +export function userEventJobPayload1378HeadInfoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1368HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1368HeadInfo' from JSON`, + (x) => UserEventJobPayload1378HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1378HeadInfo' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1368Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1368Action -> = z.nativeEnum(UserEventJobPayload1368Action); +export const UserEventJobPayload1378Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1378Action +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1378Action) +); /** @internal */ -export const UserEventJobPayload136NsnbSideEffect$inboundSchema: z.ZodType< - UserEventJobPayload136NsnbSideEffect, +export const UserEventJobPayload137NsnbSideEffect$inboundSchema: z.ZodType< + UserEventJobPayload137NsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventJobPayload1368Action$inboundSchema, - gitUserLogin: types.string(), -}); - -export function userEventJobPayload136NsnbSideEffectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventJobPayload1378Action$inboundSchema, + gitUserLogin: types.string(), + }) +); + +export function userEventJobPayload137NsnbSideEffectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload136NsnbSideEffect$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload136NsnbSideEffect' from JSON`, + UserEventJobPayload137NsnbSideEffect$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload137NsnbSideEffect' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1368Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1368Provider -> = z.nativeEnum(UserEventJobPayload1368Provider); - -/** @internal */ -export const Job8$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - commitVerification: types.optional( - UserEventJobPayload136CommitVerification$inboundSchema, - ), - connectedProjectCount: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - deployHook: types.optional( - z.lazy(() => UserEventJobPayload1368DeployHook$inboundSchema), - ), - deploymentId: types.optional(types.string()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload1368GitComments$inboundSchema), - ), - gitHashtagVercel: types.optional( - z.array(UserEventJobPayload136GitHashtagVercel$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload1368HeadInfo$inboundSchema), - isManualGitDeploy: types.optional(types.boolean()), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - nsnbSideEffect: types.optional( - z.lazy(() => UserEventJobPayload136NsnbSideEffect$inboundSchema), - ), - org: types.string(), - prId: z.nullable(types.number()).optional(), - prIdOrZero: types.optional(types.number()), - projectId: types.optional(types.string()), - provider: UserEventJobPayload1368Provider$inboundSchema, - ref: types.string(), - repo: types.string(), - repoId: types.string(), - repoPushedAt: z.nullable(types.number()).optional(), - sha: types.string(), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - target: z.nullable(types.string()).optional(), - type: types.literal("vercel-push"), - url: types.optional(types.string()), - }); +export const UserEventJobPayload1378Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1378Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1378Provider) +); + +/** @internal */ +export const Job8$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + commitVerification: types.optional( + UserEventJobPayload137CommitVerification$inboundSchema, + ), + connectedProjectCount: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + deployHook: types.optional( + z.lazy(() => UserEventJobPayload1378DeployHook$inboundSchema), + ), + deploymentId: types.optional(types.string()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayload1378GitComments$inboundSchema), + ), + gitHashtagVercel: types.optional( + z.array(UserEventJobPayload137GitHashtagVercel$inboundSchema), + ), + headInfo: z.lazy(() => UserEventJobPayload1378HeadInfo$inboundSchema), + isManualGitDeploy: types.optional(types.boolean()), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + nsnbSideEffect: types.optional( + z.lazy(() => UserEventJobPayload137NsnbSideEffect$inboundSchema), + ), + org: types.string(), + prId: z.nullable(types.number()).optional(), + prIdOrZero: types.optional(types.number()), + projectId: types.optional(types.string()), + provider: UserEventJobPayload1378Provider$inboundSchema, + ref: types.string(), + repo: types.string(), + repoId: types.string(), + repoPushedAt: z.nullable(types.number()).optional(), + sha: types.string(), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + target: z.nullable(types.string()).optional(), + type: types.literal("vercel-push"), + url: types.optional(types.string()), + }) + ); export function job8FromJSON( jsonString: string, @@ -4046,23 +4415,25 @@ export function job8FromJSON( } /** @internal */ -export const UserEventJobPayload1367GitComments$inboundSchema: z.ZodType< - UserEventJobPayload1367GitComments, +export const UserEventJobPayload1377GitComments$inboundSchema: z.ZodType< + UserEventJobPayload1377GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload1367GitCommentsFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload1377GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload1367GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1367GitComments' from JSON`, + UserEventJobPayload1377GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1377GitComments' from JSON`, ); } @@ -4071,14 +4442,16 @@ export const UserEventJobPayloadProject$inboundSchema: z.ZodType< UserEventJobPayloadProject, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: z.nullable(types.string()).optional(), - id: types.string(), - name: z.nullable(types.string()).optional(), - namespace: z.nullable(types.string()).optional(), - path: z.nullable(types.string()).optional(), - url: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: z.nullable(types.string()).optional(), + id: types.string(), + name: z.nullable(types.string()).optional(), + namespace: z.nullable(types.string()).optional(), + path: z.nullable(types.string()).optional(), + url: z.nullable(types.string()).optional(), + }) +); export function userEventJobPayloadProjectFromJSON( jsonString: string, @@ -4091,23 +4464,25 @@ export function userEventJobPayloadProjectFromJSON( } /** @internal */ -export const UserEventJobPayload1367HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload1367HeadInfo, +export const UserEventJobPayload1377HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload1377HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventJobPayloadProject$inboundSchema), - ref: types.string(), - sha: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventJobPayloadProject$inboundSchema), + ref: types.string(), + sha: types.string(), + }) +); -export function userEventJobPayload1367HeadInfoFromJSON( +export function userEventJobPayload1377HeadInfoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1367HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1367HeadInfo' from JSON`, + (x) => UserEventJobPayload1377HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1377HeadInfo' from JSON`, ); } @@ -4116,14 +4491,16 @@ export const UserEventJobProject$inboundSchema: z.ZodType< UserEventJobProject, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: z.nullable(types.string()).optional(), - id: types.string(), - name: z.nullable(types.string()).optional(), - namespace: z.nullable(types.string()).optional(), - path: z.nullable(types.string()).optional(), - url: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: z.nullable(types.string()).optional(), + id: types.string(), + name: z.nullable(types.string()).optional(), + namespace: z.nullable(types.string()).optional(), + path: z.nullable(types.string()).optional(), + url: z.nullable(types.string()).optional(), + }) +); export function userEventJobProjectFromJSON( jsonString: string, @@ -4136,29 +4513,33 @@ export function userEventJobProjectFromJSON( } /** @internal */ -export const UserEventJobPayload1367Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1367Provider -> = z.nativeEnum(UserEventJobPayload1367Provider); - -/** @internal */ -export const Job7$inboundSchema: z.ZodType = z - .object({ - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - eventful: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload1367GitComments$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload1367HeadInfo$inboundSchema), - linkedProjectId: types.optional(types.string()), - prId: types.number(), - project: z.lazy(() => UserEventJobProject$inboundSchema), - projectId: types.optional(types.string()), - provider: UserEventJobPayload1367Provider$inboundSchema, - ref: types.string(), - sha: types.string(), - type: types.literal("gitlab-now-comment"), - }); +export const UserEventJobPayload1377Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1377Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1377Provider) +); + +/** @internal */ +export const Job7$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + eventful: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayload1377GitComments$inboundSchema), + ), + headInfo: z.lazy(() => UserEventJobPayload1377HeadInfo$inboundSchema), + linkedProjectId: types.optional(types.string()), + prId: types.number(), + project: z.lazy(() => UserEventJobProject$inboundSchema), + projectId: types.optional(types.string()), + provider: UserEventJobPayload1377Provider$inboundSchema, + ref: types.string(), + sha: types.string(), + type: types.literal("gitlab-now-comment"), + }) + ); export function job7FromJSON( jsonString: string, @@ -4171,15 +4552,17 @@ export function job7FromJSON( } /** @internal */ -export const Commit$inboundSchema: z.ZodType = z - .object({ - authorAvatar: z.nullable(types.string()).optional(), - authorEmail: z.nullable(types.string()).optional(), - authorId: z.nullable(types.number()).optional(), - authorLogin: z.nullable(types.string()).optional(), - authorName: z.nullable(types.string()).optional(), - id: types.string(), - }); +export const Commit$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorAvatar: z.nullable(types.string()).optional(), + authorEmail: z.nullable(types.string()).optional(), + authorId: z.nullable(types.number()).optional(), + authorLogin: z.nullable(types.string()).optional(), + authorName: z.nullable(types.string()).optional(), + id: types.string(), + }) + ); export function commitFromJSON( jsonString: string, @@ -4193,117 +4576,132 @@ export function commitFromJSON( /** @internal */ export const UserEventJobPayloadCommitVerification$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UserEventJobPayloadCommitVerification, - ); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayloadCommitVerification) + ); /** @internal */ -export const UserEventJobPayload136DeployHook$inboundSchema: z.ZodType< - UserEventJobPayload136DeployHook, +export const UserEventJobPayload137DeployHook$inboundSchema: z.ZodType< + UserEventJobPayload137DeployHook, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); - -export function userEventJobPayload136DeployHookFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.number(), + id: types.string(), + name: types.string(), + ref: types.string(), + }) +); + +export function userEventJobPayload137DeployHookFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload136DeployHook$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload136DeployHook' from JSON`, + (x) => UserEventJobPayload137DeployHook$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload137DeployHook' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1366GitComments$inboundSchema: z.ZodType< - UserEventJobPayload1366GitComments, +export const UserEventJobPayload1376GitComments$inboundSchema: z.ZodType< + UserEventJobPayload1376GitComments, z.ZodTypeDef, unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload1366GitCommentsFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload1376GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, (x) => - UserEventJobPayload1366GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1366GitComments' from JSON`, + UserEventJobPayload1376GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1376GitComments' from JSON`, ); } /** @internal */ export const UserEventJobPayloadGitHashtagVercel$inboundSchema: z.ZodNativeEnum< typeof UserEventJobPayloadGitHashtagVercel -> = z.nativeEnum(UserEventJobPayloadGitHashtagVercel); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayloadGitHashtagVercel) +); /** @internal */ -export const UserEventJobPayload136Project$inboundSchema: z.ZodType< - UserEventJobPayload136Project, +export const UserEventJobPayload137Project$inboundSchema: z.ZodType< + UserEventJobPayload137Project, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: z.nullable(types.string()).optional(), - id: types.string(), - name: z.nullable(types.string()).optional(), - namespace: z.nullable(types.string()).optional(), - path: z.nullable(types.string()).optional(), - url: z.nullable(types.string()).optional(), -}); - -export function userEventJobPayload136ProjectFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: z.nullable(types.string()).optional(), + id: types.string(), + name: z.nullable(types.string()).optional(), + namespace: z.nullable(types.string()).optional(), + path: z.nullable(types.string()).optional(), + url: z.nullable(types.string()).optional(), + }) +); + +export function userEventJobPayload137ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload136Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload136Project' from JSON`, + (x) => UserEventJobPayload137Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload137Project' from JSON`, ); } /** @internal */ -export const UserEventJobPayload1366HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload1366HeadInfo, +export const UserEventJobPayload1376HeadInfo$inboundSchema: z.ZodType< + UserEventJobPayload1376HeadInfo, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventJobPayload136Project$inboundSchema), - ref: types.string(), - sha: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventJobPayload137Project$inboundSchema), + ref: types.string(), + sha: types.string(), + }) +); -export function userEventJobPayload1366HeadInfoFromJSON( +export function userEventJobPayload1376HeadInfoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayload1366HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload1366HeadInfo' from JSON`, + (x) => UserEventJobPayload1376HeadInfo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload1376HeadInfo' from JSON`, ); } /** @internal */ -export const UserEventJobPayload136Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload136Action -> = z.nativeEnum(UserEventJobPayload136Action); +export const UserEventJobPayload137Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload137Action +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload137Action) +); /** @internal */ export const UserEventJobPayloadNsnbSideEffect$inboundSchema: z.ZodType< UserEventJobPayloadNsnbSideEffect, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventJobPayload136Action$inboundSchema, - gitUserLogin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventJobPayload137Action$inboundSchema, + gitUserLogin: types.string(), + }) +); export function userEventJobPayloadNsnbSideEffectFromJSON( jsonString: string, @@ -4320,14 +4718,16 @@ export const JobProject$inboundSchema: z.ZodType< JobProject, z.ZodTypeDef, unknown -> = z.object({ - defaultBranch: z.nullable(types.string()).optional(), - id: types.string(), - name: z.nullable(types.string()).optional(), - namespace: z.nullable(types.string()).optional(), - path: z.nullable(types.string()).optional(), - url: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultBranch: z.nullable(types.string()).optional(), + id: types.string(), + name: z.nullable(types.string()).optional(), + namespace: z.nullable(types.string()).optional(), + path: z.nullable(types.string()).optional(), + url: z.nullable(types.string()).optional(), + }) +); export function jobProjectFromJSON( jsonString: string, @@ -4340,57 +4740,61 @@ export function jobProjectFromJSON( } /** @internal */ -export const UserEventJobPayload1366Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1366Provider -> = z.nativeEnum(UserEventJobPayload1366Provider); - -/** @internal */ -export const Job6$inboundSchema: z.ZodType = z - .object({ - authorized: types.optional(types.boolean()), - authorizedBy: types.optional(types.string()), - commit: types.optional(z.lazy(() => Commit$inboundSchema)), - commitVerification: types.optional( - UserEventJobPayloadCommitVerification$inboundSchema, - ), - connectedProjectCount: types.optional(types.number()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(types.string()).optional(), - deployHook: types.optional( - z.lazy(() => UserEventJobPayload136DeployHook$inboundSchema), - ), - deploymentId: types.optional(types.string()), - eventful: types.optional(types.boolean()), - forceNew: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload1366GitComments$inboundSchema), - ), - gitHashtagVercel: types.optional( - z.array(UserEventJobPayloadGitHashtagVercel$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload1366HeadInfo$inboundSchema), - isManualGitDeploy: types.optional(types.boolean()), - jobPairs: types.optional(z.array(z.array(types.string()))), - jobProjectIds: types.optional(z.array(types.string())), - linkedProjectId: types.optional(types.string()), - nsnbSideEffect: types.optional( - z.lazy(() => UserEventJobPayloadNsnbSideEffect$inboundSchema), - ), - prId: types.optional(types.number()), - prIdOrZero: types.optional(types.number()), - project: z.lazy(() => JobProject$inboundSchema), - projectId: types.optional(types.string()), - provider: UserEventJobPayload1366Provider$inboundSchema, - ref: types.string(), - repoPushedAt: z.nullable(types.number()).optional(), - sha: types.string(), - silent: types.optional(types.boolean()), - skippedJobPairs: types.optional(z.array(z.array(types.string()))), - target: z.nullable(types.string()).optional(), - type: types.literal("gitlab-push"), - url: types.optional(types.string()), - withCache: types.optional(types.boolean()), - }); +export const UserEventJobPayload1376Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventJobPayload1376Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventJobPayload1376Provider) +); + +/** @internal */ +export const Job6$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + authorized: types.optional(types.boolean()), + authorizedBy: types.optional(types.string()), + commit: types.optional(z.lazy(() => Commit$inboundSchema)), + commitVerification: types.optional( + UserEventJobPayloadCommitVerification$inboundSchema, + ), + connectedProjectCount: types.optional(types.number()), + createdAt: types.optional(types.number()), + customEnvId: z.nullable(types.string()).optional(), + deployHook: types.optional( + z.lazy(() => UserEventJobPayload137DeployHook$inboundSchema), + ), + deploymentId: types.optional(types.string()), + eventful: types.optional(types.boolean()), + forceNew: types.optional(types.boolean()), + gitComments: types.optional( + z.lazy(() => UserEventJobPayload1376GitComments$inboundSchema), + ), + gitHashtagVercel: types.optional( + z.array(UserEventJobPayloadGitHashtagVercel$inboundSchema), + ), + headInfo: z.lazy(() => UserEventJobPayload1376HeadInfo$inboundSchema), + isManualGitDeploy: types.optional(types.boolean()), + jobPairs: types.optional(z.array(z.array(types.string()))), + jobProjectIds: types.optional(z.array(types.string())), + linkedProjectId: types.optional(types.string()), + nsnbSideEffect: types.optional( + z.lazy(() => UserEventJobPayloadNsnbSideEffect$inboundSchema), + ), + prId: types.optional(types.number()), + prIdOrZero: types.optional(types.number()), + project: z.lazy(() => JobProject$inboundSchema), + projectId: types.optional(types.string()), + provider: UserEventJobPayload1376Provider$inboundSchema, + ref: types.string(), + repoPushedAt: z.nullable(types.number()).optional(), + sha: types.string(), + silent: types.optional(types.boolean()), + skippedJobPairs: types.optional(z.array(z.array(types.string()))), + target: z.nullable(types.string()).optional(), + type: types.literal("gitlab-push"), + url: types.optional(types.string()), + withCache: types.optional(types.boolean()), + }) + ); export function job6FromJSON( jsonString: string, @@ -4403,130 +4807,23 @@ export function job6FromJSON( } /** @internal */ -export const UserEventJobPayload136GitComments$inboundSchema: z.ZodType< - UserEventJobPayload136GitComments, - z.ZodTypeDef, - unknown -> = z.object({ - onCommit: types.boolean(), - onPullRequest: types.boolean(), -}); - -export function userEventJobPayload136GitCommentsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventJobPayload136GitComments$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload136GitComments' from JSON`, - ); -} - -/** @internal */ -export const UserEventJobPayload136HeadInfo$inboundSchema: z.ZodType< - UserEventJobPayload136HeadInfo, - z.ZodTypeDef, - unknown -> = z.object({ - org: types.string(), - ref: types.string(), - repo: types.string(), - repoId: types.number(), - sha: types.string(), -}); - -export function userEventJobPayload136HeadInfoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UserEventJobPayload136HeadInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayload136HeadInfo' from JSON`, - ); -} - -/** @internal */ -export const UserEventJobPayload1365Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobPayload1365Provider -> = z.nativeEnum(UserEventJobPayload1365Provider); - -/** @internal */ -export const Job5$inboundSchema: z.ZodType = z - .object({ - beforeSha: types.optional(types.string()), - createdAt: types.optional(types.number()), - customEnvId: z.nullable(z.any()).optional(), - customHost: types.optional(types.string()), - eventful: types.optional(types.boolean()), - gitComments: types.optional( - z.lazy(() => UserEventJobPayload136GitComments$inboundSchema), - ), - headInfo: z.lazy(() => UserEventJobPayload136HeadInfo$inboundSchema), - installationId: types.number(), - isPrivate: types.boolean(), - linkedProjectId: types.optional(types.string()), - org: types.string(), - prId: types.number(), - projectId: z.nullable(z.any()).optional(), - provider: UserEventJobPayload1365Provider$inboundSchema, - repo: types.string(), - repoId: types.number(), - type: types.literal("now-comment"), - }); - -export function job5FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Job5$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Job5' from JSON`, - ); -} - -/** @internal */ -export const CommitInfo$inboundSchema: z.ZodType< - CommitInfo, - z.ZodTypeDef, - unknown -> = z.object({ - earliestSha: types.optional(types.string()), - total: types.number(), -}); - -export function commitInfoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CommitInfo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CommitInfo' from JSON`, - ); -} - -/** @internal */ -export const UserEventJobCommitVerification$inboundSchema: z.ZodNativeEnum< - typeof UserEventJobCommitVerification -> = z.nativeEnum(UserEventJobCommitVerification); - -/** @internal */ -export const UserEventJobPayloadDeployHook$inboundSchema: z.ZodType< - UserEventJobPayloadDeployHook, +export const UserEventJobPayload137GitComments$inboundSchema: z.ZodType< + UserEventJobPayload137GitComments, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.number(), - id: types.string(), - name: types.string(), - ref: types.string(), -}); - -export function userEventJobPayloadDeployHookFromJSON( +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + onCommit: types.boolean(), + onPullRequest: types.boolean(), + }) +); + +export function userEventJobPayload137GitCommentsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventJobPayloadDeployHook$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventJobPayloadDeployHook' from JSON`, + (x) => UserEventJobPayload137GitComments$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventJobPayload137GitComments' from JSON`, ); } diff --git a/src/models/twenty.ts b/src/models/usereventpayload25provider.ts similarity index 71% rename from src/models/twenty.ts rename to src/models/usereventpayload25provider.ts index a0a8a25112..4e75549bb1 100644 --- a/src/models/twenty.ts +++ b/src/models/usereventpayload25provider.ts @@ -4,20 +4,141 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; -import { - UserEventPayload80Permissions, - UserEventPayload80Permissions$inboundSchema, - UserEventPayloadResources, - UserEventPayloadResources$inboundSchema, -} from "./usereventpayloadresources.js"; + +export const UserEventPayload81Permissions = { + ManageSpeedInsights: "manage:speed-insights", + ManageWebAnalytics: "manage:web-analytics", + ReadWriteAccessGroup: "read-write:access-group", + ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key", + ReadWriteAiGatewayBudgets: "read-write:ai-gateway-budgets", + ReadWriteAiGatewayByokCredentials: "read-write:ai-gateway-byok-credentials", + ReadWriteAiGatewayGuardrails: "read-write:ai-gateway-guardrails", + ReadWriteAiGatewayPrivateModels: "read-write:ai-gateway-private-models", + ReadWriteAiGatewayRules: "read-write:ai-gateway-rules", + ReadWriteAiGatewayVirtualModelConfigs: + "read-write:ai-gateway-virtual-model-configs", + ReadWriteAlerts: "read-write:alerts", + ReadWriteAutomations: "read-write:automations", + ReadWriteBilling: "read-write:billing", + ReadWriteBlob: "read-write:blob", + ReadWriteConnect: "read-write:connect", + ReadWriteConnectAnyUserToken: "read-write:connect-any-user-token", + ReadWriteConnectAppToken: "read-write:connect-app-token", + ReadWriteDeployment: "read-write:deployment", + ReadWriteDomain: "read-write:domain", + ReadWriteDomainRegistrar: "read-write:domain-registrar", + ReadWriteDrains: "read-write:drains", + ReadWriteDrive: "read-write:drive", + ReadWriteEdgeCache: "read-write:edge-cache", + ReadWriteEdgeConfig: "read-write:edge-config", + ReadWriteFirewall: "read-write:firewall", + ReadWriteIntegrationConfiguration: "read-write:integration-configuration", + ReadWriteIntegrationResource: "read-write:integration-resource", + ReadWriteKms: "read-write:kms", + ReadWriteMessageboard: "read-write:messageboard", + ReadWriteProject: "read-write:project", + ReadWriteProjectEnvVars: "read-write:project-env-vars", + ReadWriteProjectEnvVarsNonProduction: + "read-write:project-env-vars-non-production", + ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production", + ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production", + ReadWriteProjectFlagsProduction: "read-write:project-flags-production", + ReadWriteProjectMembers: "read-write:project-members", + ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass", + ReadWriteProjectTrustedSources: "read-write:project-trusted-sources", + ReadWriteRemoteCache: "read-write:remote-cache", + ReadWriteSandbox: "read-write:sandbox", + ReadWriteSchedule: "read-write:schedule", + ReadWriteTeamMembers: "read-write:team-members", + ReadWriteVcr: "read-write:vcr", + ReadWriteVercelCi: "read-write:vercel-ci", + ReadWriteWebhooks: "read-write:webhooks", + ReadAccessGroup: "read:access-group", + ReadAiGatewayBudgets: "read:ai-gateway-budgets", + ReadAiGatewayByokCredentials: "read:ai-gateway-byok-credentials", + ReadAiGatewayGuardrails: "read:ai-gateway-guardrails", + ReadAiGatewayPrivateModels: "read:ai-gateway-private-models", + ReadAiGatewayRules: "read:ai-gateway-rules", + ReadAiGatewayVirtualModelConfigs: "read:ai-gateway-virtual-model-configs", + ReadAlerts: "read:alerts", + ReadAuditLog: "read:audit-log", + ReadAutomations: "read:automations", + ReadBilling: "read:billing", + ReadConnect: "read:connect", + ReadDeployment: "read:deployment", + ReadDeploymentCheck: "read:deployment-check", + ReadDomain: "read:domain", + ReadDrive: "read:drive", + ReadEvent: "read:event", + ReadFirewall: "read:firewall", + ReadIntegrationConfiguration: "read:integration-configuration", + ReadIntegrationResource: "read:integration-resource", + ReadKms: "read:kms", + ReadMessageboard: "read:messageboard", + ReadMonitoring: "read:monitoring", + ReadProject: "read:project", + ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production", + ReadProjectEnvVarsProduction: "read:project-env-vars-production", + ReadProjectFlags: "read:project-flags", + ReadProjectMembers: "read:project-members", + ReadProjectTrustedSources: "read:project-trusted-sources", + ReadRemoteCache: "read:remote-cache", + ReadSandbox: "read:sandbox", + ReadSchedule: "read:schedule", + ReadSpeedInsights: "read:speed-insights", + ReadTeam: "read:team", + ReadVcr: "read:vcr", + ReadWebAnalytics: "read:web-analytics", + ReadWebhooks: "read:webhooks", + UseAiGateway: "use:ai-gateway", + UsePrivateNpm: "use:private-npm", + UseProjectFlagsOverridesNonProduction: + "use:project-flags-overrides-non-production", + UseProjectFlagsOverridesProduction: "use:project-flags-overrides-production", +} as const; +export type UserEventPayload81Permissions = ClosedEnum< + typeof UserEventPayload81Permissions +>; + +export const UserEventPayload81AfterType = { + String: "string", +} as const; +export type UserEventPayload81AfterType = ClosedEnum< + typeof UserEventPayload81AfterType +>; + +export type UserEventPayloadItems = { + type: UserEventPayload81AfterType; +}; + +export const UserEventPayload81Type = { + List: "list", +} as const; +export type UserEventPayload81Type = ClosedEnum; + +/** + * Specific project IDs or all projects on the team (`['*']`). + */ +export type UserEventPayloadProjectIds = { + items: UserEventPayloadItems; + required: true; + type: UserEventPayload81Type; +}; + +export type UserEventPayloadResources = { + /** + * Specific project IDs or all projects on the team (`['*']`). + */ + projectIds: UserEventPayloadProjectIds; +}; export type After = { - permissions?: Array | undefined; + permissions?: Array | undefined; resources?: UserEventPayloadResources | undefined; }; @@ -116,38 +237,38 @@ export type UserEventPayloadPermissions = ClosedEnum< typeof UserEventPayloadPermissions >; -export const UserEventPayload80BeforeResourcesType = { +export const UserEventPayload81BeforeResourcesType = { String: "string", } as const; -export type UserEventPayload80BeforeResourcesType = ClosedEnum< - typeof UserEventPayload80BeforeResourcesType +export type UserEventPayload81BeforeResourcesType = ClosedEnum< + typeof UserEventPayload81BeforeResourcesType >; export type PayloadItems = { - type: UserEventPayload80BeforeResourcesType; + type: UserEventPayload81BeforeResourcesType; }; -export const UserEventPayload80BeforeType = { +export const UserEventPayload81BeforeType = { List: "list", } as const; -export type UserEventPayload80BeforeType = ClosedEnum< - typeof UserEventPayload80BeforeType +export type UserEventPayload81BeforeType = ClosedEnum< + typeof UserEventPayload81BeforeType >; /** * Specific project IDs or all projects on the team (`['*']`). */ -export type UserEventPayload80ProjectIds = { +export type UserEventPayload81ProjectIds = { items: PayloadItems; required: true; - type: UserEventPayload80BeforeType; + type: UserEventPayload81BeforeType; }; export type PayloadResources = { /** * Specific project IDs or all projects on the team (`['*']`). */ - projectIds: UserEventPayload80ProjectIds; + projectIds: UserEventPayload81ProjectIds; }; export type Before = { @@ -158,7 +279,7 @@ export type Before = { /** * The payload of the event, if requested. */ -export type Eighty = { +export type EightyOne = { after?: After | undefined; appId?: string | undefined; appName: string; @@ -275,7 +396,7 @@ export type NextScopes = ClosedEnum; /** * The payload of the event, if requested. */ -export type SeventyNine = { +export type Eighty = { appId?: string | undefined; appName: string; nextPermissions?: Array | undefined; @@ -285,7 +406,7 @@ export type SeventyNine = { /** * The payload of the event, if requested. */ -export type SeventyEight = { +export type SeventyNine = { appId?: string | undefined; appName: string; }; @@ -398,7 +519,7 @@ export type PayloadScopes = ClosedEnum; /** * The payload of the event, if requested. */ -export type SeventySeven = { +export type SeventyEight = { appId?: string | undefined; appName: string; permissions?: Array | undefined; @@ -408,7 +529,7 @@ export type SeventySeven = { /** * The payload of the event, if requested. */ -export type SeventySix = { +export type SeventySeven = { alias?: string | undefined; aliasId?: string | undefined; userId?: string | undefined; @@ -418,7 +539,7 @@ export type SeventySix = { /** * The payload of the event, if requested. */ -export type SeventyFive = { +export type SeventySix = { alias?: string | undefined; userId?: string | undefined; username?: string | undefined; @@ -427,24 +548,24 @@ export type SeventyFive = { /** * The payload of the event, if requested. */ -export type SeventyFour = { +export type SeventyFive = { alias: string; deploymentUrl: string; }; -export const UserEventPayload73Action = { +export const UserEventPayload74Action = { Created: "created", Removed: "removed", } as const; -export type UserEventPayload73Action = ClosedEnum< - typeof UserEventPayload73Action +export type UserEventPayload74Action = ClosedEnum< + typeof UserEventPayload74Action >; /** * The payload of the event, if requested. */ -export type SeventyThree = { - action: UserEventPayload73Action; +export type SeventyFour = { + action: UserEventPayload74Action; alias: string; projectId?: string | undefined; projectName: string; @@ -453,7 +574,7 @@ export type SeventyThree = { /** * The payload of the event, if requested. */ -export type SeventyTwo = { +export type SeventyThree = { alias?: string | undefined; aliasId?: string | undefined; projectId?: string | undefined; @@ -463,7 +584,7 @@ export type SeventyTwo = { /** * The payload of the event, if requested. */ -export type SeventyOne = { +export type SeventyTwo = { alias?: string | undefined; email?: string | undefined; }; @@ -471,14 +592,14 @@ export type SeventyOne = { /** * The payload of the event, if requested. */ -export type Seventy = { +export type SeventyOne = { alias?: string | undefined; }; /** * The payload of the event, if requested. */ -export type SixtyNine = { +export type Seventy = { alias?: string | undefined; email?: string | undefined; username?: string | undefined; @@ -487,7 +608,7 @@ export type SixtyNine = { /** * The payload of the event, if requested. */ -export type SixtyEight = { +export type SixtyNine = { alias: string; aliasId: string; deploymentId: string | null; @@ -505,7 +626,7 @@ export type OldTeam = { /** * The payload of the event, if requested. */ -export type SixtySeven = { +export type SixtyEight = { alias: string; name?: string | undefined; newTeam?: NewTeam | undefined; @@ -546,7 +667,7 @@ export type PayloadDeployment = { /** * The payload of the event, if requested. */ -export type SixtySix = { +export type SixtySeven = { aliasCount: number; deployment?: PayloadDeployment | null | undefined; projectId: string; @@ -586,7 +707,7 @@ export type Deployment = { /** * The payload of the event, if requested. */ -export type SixtyFive = { +export type SixtySix = { alias?: string | undefined; aliasId?: string | undefined; aliasUpdatedAt?: number | undefined; @@ -604,17 +725,17 @@ export type SixtyFive = { /** * The payload of the event, if requested. */ -export type SixtyFour = { +export type SixtyFive = { currency?: string | undefined; price?: number | undefined; }; -export type UserEventPayload63AccessGroup = { +export type UserEventPayload64AccessGroup = { id: string; name?: string | undefined; }; -export type UserEventPayload63User = { +export type UserEventPayload64User = { id: string; username?: string | undefined; }; @@ -622,13 +743,13 @@ export type UserEventPayload63User = { /** * The payload of the event, if requested. */ -export type SixtyThree = { - accessGroup: UserEventPayload63AccessGroup; +export type SixtyFour = { + accessGroup: UserEventPayload64AccessGroup; directoryType?: string | undefined; - user: UserEventPayload63User; + user: UserEventPayload64User; }; -export type UserEventPayload62AccessGroup = { +export type UserEventPayload63AccessGroup = { id: string; name: string; }; @@ -636,8 +757,8 @@ export type UserEventPayload62AccessGroup = { /** * The payload of the event, if requested. */ -export type SixtyTwo = { - accessGroup: UserEventPayload62AccessGroup; +export type SixtyThree = { + accessGroup: UserEventPayload63AccessGroup; entitlementsAdded?: Array | undefined; entitlementsRemoved?: Array | undefined; name?: string | undefined; @@ -677,7 +798,7 @@ export type PayloadProject = { /** * The payload of the event, if requested. */ -export type SixtyOne = { +export type SixtyTwo = { accessGroup: UserEventPayloadAccessGroup; nextRole?: NextRole | null | undefined; previousRole?: PreviousRole | undefined; @@ -692,7 +813,7 @@ export type PayloadAccessGroup = { /** * The payload of the event, if requested. */ -export type Sixty = { +export type SixtyOne = { accessGroup: PayloadAccessGroup; author?: string | undefined; }; @@ -705,7 +826,7 @@ export type AccessGroup = { /** * The payload of the event, if requested. */ -export type FiftyNine = { +export type Sixty = { accessGroup: AccessGroup; entitlements?: Array | undefined; teamPermissions?: Array | undefined; @@ -750,7 +871,7 @@ export type PayloadVirtualModelConfig = { /** * The payload of the event, if requested. */ -export type FiftyEight = { +export type FiftyNine = { changedFields?: Array | undefined; virtualModelConfig: PayloadVirtualModelConfig; }; @@ -764,7 +885,7 @@ export type VirtualModelConfig = { /** * The payload of the event, if requested. */ -export type FiftySeven = { +export type FiftyEight = { virtualModelConfig: VirtualModelConfig; }; @@ -786,7 +907,7 @@ export type PayloadRule = { /** * The payload of the event, if requested. */ -export type FiftySix = { +export type FiftySeven = { changedFields?: Array | undefined; enabled?: boolean | undefined; previousRewriteModel?: string | undefined; @@ -803,7 +924,7 @@ export type Rule = { /** * The payload of the event, if requested. */ -export type FiftyFive = { +export type FiftySix = { rule: Rule; }; @@ -829,17 +950,24 @@ export type Retention = { /** * The payload of the event, if requested. */ -export type FiftyFour = { +export type FiftyFive = { retention: Retention; }; /** * The payload of the event, if requested. */ -export type FiftyThree = { +export type FiftyFour = { headerNames: Array; }; +/** + * The payload of the event, if requested. + */ +export type FiftyThree = { + previousSecretGracePeriodHours?: number | undefined; +}; + export const FailureMode = { Closed: "closed", Open: "open", @@ -1035,6 +1163,10 @@ export type UserEventPayload37RefreshPeriod = ClosedEnum< */ export type UserEventPayload37Budget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ @@ -1067,6 +1199,10 @@ export type UserEventPayload37PreviousBudgetRefreshPeriod = ClosedEnum< */ export type UserEventPayloadPreviousBudget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ @@ -1075,6 +1211,7 @@ export type UserEventPayloadPreviousBudget = { }; export const UserEventPayloadScopeType = { + App: "app", Project: "project", Team: "team", User: "user", @@ -1087,6 +1224,11 @@ export type UserEventPayloadScopeType = ClosedEnum< * The payload of the event, if requested. */ export type ThirtySeven = { + /** + * Associates the event with a Vercel App; rendered when `appName` is absent. + */ + appId?: string | undefined; + appName?: string | undefined; /** * Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. */ @@ -1120,16 +1262,27 @@ export type UserEventPayload36RefreshPeriod = ClosedEnum< typeof UserEventPayload36RefreshPeriod >; +export const PayloadAppliesTo = { + Team: "team", + User: "user", +} as const; +export type PayloadAppliesTo = ClosedEnum; + /** - * Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. + * `api-key` defaults may cover only some key spend attributions. */ export type UserEventPayloadBudget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ limitAmount: number; refreshPeriod: UserEventPayload36RefreshPeriod; + appliesTo?: Array | undefined; }; export const UserEventPayloadChange = { @@ -1150,20 +1303,34 @@ export type UserEventPayload36PreviousBudgetRefreshPeriod = ClosedEnum< typeof UserEventPayload36PreviousBudgetRefreshPeriod >; +export const UserEventPayloadAppliesTo = { + Team: "team", + User: "user", +} as const; +export type UserEventPayloadAppliesTo = ClosedEnum< + typeof UserEventPayloadAppliesTo +>; + /** - * Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. + * `api-key` defaults may cover only some key spend attributions. */ export type PayloadPreviousBudget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ limitAmount: number; refreshPeriod: UserEventPayload36PreviousBudgetRefreshPeriod; + appliesTo?: Array | undefined; }; export const PayloadScopeType = { ApiKey: "api-key", + App: "app", Project: "project", Team: "team", User: "user", @@ -1175,13 +1342,13 @@ export type PayloadScopeType = ClosedEnum; */ export type ThirtySix = { /** - * Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. + * `api-key` defaults may cover only some key spend attributions. */ budget?: UserEventPayloadBudget | null | undefined; change: UserEventPayloadChange; justification?: string | undefined; /** - * Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`. + * `api-key` defaults may cover only some key spend attributions. */ previousBudget?: PayloadPreviousBudget | null | undefined; scopeType: PayloadScopeType; @@ -1243,6 +1410,10 @@ export type UserEventPayloadRefreshPeriod = ClosedEnum< */ export type PayloadBudget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ @@ -1273,6 +1444,10 @@ export type UserEventPayload34RefreshPeriod = ClosedEnum< */ export type PreviousBudget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ @@ -1327,6 +1502,10 @@ export type PayloadRefreshPeriod = ClosedEnum; */ export type Budget = { alertThresholds?: Array | undefined; + /** + * When the budget lapses to the scope's default, in ms since the epoch. + */ + expiresAt?: number | undefined; /** * Spend cap, in dollars. */ @@ -1553,164 +1732,102 @@ export type UserEventPayload25Provider = ClosedEnum< typeof UserEventPayload25Provider >; -/** - * The payload of the event, if requested. - */ -export type TwentyFive = { - /** - * Present on new events only. Equivalent to "stripe" when absent. - */ - provider?: UserEventPayload25Provider | undefined; - /** - * Present on new events only. Equivalent to `stripeAccount` when absent. - */ - providerAccount?: string | undefined; - /** - * Present when `provider` is "stripe". Equivalent to `providerAccount`. - */ - stripeAccount?: string | undefined; - /** - * Present when `provider` is "stripe". - */ - stripeOrganisation?: string | undefined; - blockCode: string; - reason: string; -}; +/** @internal */ +export const UserEventPayload81Permissions$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload81Permissions +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload81Permissions) +); -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export const UserEventPayloadProvider = { - Chatgpt: "chatgpt", - Stripe: "stripe", -} as const; -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export type UserEventPayloadProvider = ClosedEnum< - typeof UserEventPayloadProvider ->; +/** @internal */ +export const UserEventPayload81AfterType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload81AfterType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload81AfterType) +); -/** - * The payload of the event, if requested. - */ -export type TwentyFour = { - /** - * Present on new events only. Equivalent to "stripe" when absent. - */ - provider?: UserEventPayloadProvider | undefined; - /** - * Present on new events only. Equivalent to `stripeAccount` when absent. - */ - providerAccount?: string | undefined; - /** - * Present when `provider` is "stripe". Equivalent to `providerAccount`. - */ - stripeAccount?: string | undefined; - /** - * Present when `provider` is "stripe". - */ - stripeOrganisation?: string | undefined; - teamId: string; - teamSlug: string; -}; +/** @internal */ +export const UserEventPayloadItems$inboundSchema: z.ZodType< + UserEventPayloadItems, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UserEventPayload81AfterType$inboundSchema, + }) +); -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export const PayloadProvider = { - Chatgpt: "chatgpt", - Stripe: "stripe", -} as const; -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export type PayloadProvider = ClosedEnum; +export function userEventPayloadItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayloadItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadItems' from JSON`, + ); +} -/** - * The payload of the event, if requested. - */ -export type TwentyThree = { - /** - * Present on new events only. Equivalent to "stripe" when absent. - */ - provider?: PayloadProvider | undefined; - /** - * Present on new events only. Equivalent to `stripeAccount` when absent. - */ - providerAccount?: string | undefined; - /** - * Present when `provider` is "stripe". Equivalent to `providerAccount`. - */ - stripeAccount?: string | undefined; - /** - * Present when `provider` is "stripe". - */ - stripeOrganisation?: string | undefined; - teamId: string; -}; +/** @internal */ +export const UserEventPayload81Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload81Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload81Type)); -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export const Provider = { - Chatgpt: "chatgpt", - Stripe: "stripe", -} as const; -/** - * Present on new events only. Equivalent to "stripe" when absent. - */ -export type Provider = ClosedEnum; +/** @internal */ +export const UserEventPayloadProjectIds$inboundSchema: z.ZodType< + UserEventPayloadProjectIds, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.lazy(() => UserEventPayloadItems$inboundSchema), + required: types.literal(true), + type: UserEventPayload81Type$inboundSchema, + }) +); -/** - * The payload of the event, if requested. - */ -export type TwentyTwo = { - /** - * Present on new events only. Equivalent to "stripe" when absent. - */ - provider?: Provider | undefined; - /** - * Present on new events only. Equivalent to `stripeAccount` when absent. - */ - providerAccount?: string | undefined; - /** - * Present when `provider` is "stripe". Equivalent to `providerAccount`. - */ - stripeAccount?: string | undefined; - /** - * Present when `provider` is "stripe". - */ - stripeOrganisation?: string | undefined; - accountRequestId: string; - teamId: string; -}; +export function userEventPayloadProjectIdsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayloadProjectIds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadProjectIds' from JSON`, + ); +} -/** - * The payload of the event, if requested. - */ -export type TwentyOne = { - operationId: string; - schemaId: string; -}; +/** @internal */ +export const UserEventPayloadResources$inboundSchema: z.ZodType< + UserEventPayloadResources, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.lazy(() => UserEventPayloadProjectIds$inboundSchema), + }) +); -/** - * The payload of the event, if requested. - */ -export type Twenty = { - boardId: string; - operationId: string; - projectId: string; -}; +export function userEventPayloadResourcesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayloadResources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadResources' from JSON`, + ); +} /** @internal */ -export const After$inboundSchema: z.ZodType = z - .object({ - permissions: types.optional( - z.array(UserEventPayload80Permissions$inboundSchema), - ), - resources: types.optional(UserEventPayloadResources$inboundSchema), - }); +export const After$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + permissions: types.optional( + z.array(UserEventPayload81Permissions$inboundSchema), + ), + resources: types.optional( + z.lazy(() => UserEventPayloadResources$inboundSchema), + ), + }) + ); export function afterFromJSON( jsonString: string, @@ -1725,22 +1842,27 @@ export function afterFromJSON( /** @internal */ export const UserEventPayloadPermissions$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadPermissions -> = z.nativeEnum(UserEventPayloadPermissions); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadPermissions) +); /** @internal */ -export const UserEventPayload80BeforeResourcesType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UserEventPayload80BeforeResourcesType, - ); +export const UserEventPayload81BeforeResourcesType$inboundSchema: + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload81BeforeResourcesType) + ); /** @internal */ export const PayloadItems$inboundSchema: z.ZodType< PayloadItems, z.ZodTypeDef, unknown -> = z.object({ - type: UserEventPayload80BeforeResourcesType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + type: UserEventPayload81BeforeResourcesType$inboundSchema, + }) +); export function payloadItemsFromJSON( jsonString: string, @@ -1753,28 +1875,32 @@ export function payloadItemsFromJSON( } /** @internal */ -export const UserEventPayload80BeforeType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload80BeforeType -> = z.nativeEnum(UserEventPayload80BeforeType); +export const UserEventPayload81BeforeType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload81BeforeType +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload81BeforeType) +); /** @internal */ -export const UserEventPayload80ProjectIds$inboundSchema: z.ZodType< - UserEventPayload80ProjectIds, +export const UserEventPayload81ProjectIds$inboundSchema: z.ZodType< + UserEventPayload81ProjectIds, z.ZodTypeDef, unknown -> = z.object({ - items: z.lazy(() => PayloadItems$inboundSchema), - required: types.literal(true), - type: UserEventPayload80BeforeType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + items: z.lazy(() => PayloadItems$inboundSchema), + required: types.literal(true), + type: UserEventPayload81BeforeType$inboundSchema, + }) +); -export function userEventPayload80ProjectIdsFromJSON( +export function userEventPayload81ProjectIdsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload80ProjectIds$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload80ProjectIds' from JSON`, + (x) => UserEventPayload81ProjectIds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload81ProjectIds' from JSON`, ); } @@ -1783,9 +1909,11 @@ export const PayloadResources$inboundSchema: z.ZodType< PayloadResources, z.ZodTypeDef, unknown -> = z.object({ - projectIds: z.lazy(() => UserEventPayload80ProjectIds$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectIds: z.lazy(() => UserEventPayload81ProjectIds$inboundSchema), + }) +); export function payloadResourcesFromJSON( jsonString: string, @@ -1798,13 +1926,15 @@ export function payloadResourcesFromJSON( } /** @internal */ -export const Before$inboundSchema: z.ZodType = z - .object({ - permissions: types.optional( - z.array(UserEventPayloadPermissions$inboundSchema), - ), - resources: types.optional(z.lazy(() => PayloadResources$inboundSchema)), - }); +export const Before$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + permissions: types.optional( + z.array(UserEventPayloadPermissions$inboundSchema), + ), + resources: types.optional(z.lazy(() => PayloadResources$inboundSchema)), + }) + ); export function beforeFromJSON( jsonString: string, @@ -1817,46 +1947,72 @@ export function beforeFromJSON( } /** @internal */ -export const Eighty$inboundSchema: z.ZodType = z - .object({ +export const EightyOne$inboundSchema: z.ZodType< + EightyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ after: types.optional(z.lazy(() => After$inboundSchema)), appId: types.optional(types.string()), appName: types.string(), before: types.optional(z.lazy(() => Before$inboundSchema)), installationId: types.optional(types.string()), organizationId: types.optional(types.string()), - }); + }) +); -export function eightyFromJSON( +export function eightyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Eighty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eighty' from JSON`, + (x) => EightyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyOne' from JSON`, ); } /** @internal */ export const NextPermissions$inboundSchema: z.ZodNativeEnum< typeof NextPermissions -> = z.nativeEnum(NextPermissions); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextPermissions)); /** @internal */ -export const NextScopes$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NextScopes); +export const NextScopes$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextScopes)); + +/** @internal */ +export const Eighty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + nextPermissions: types.optional(z.array(NextPermissions$inboundSchema)), + nextScopes: z.array(NextScopes$inboundSchema), + }) + ); + +export function eightyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Eighty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eighty' from JSON`, + ); +} /** @internal */ export const SeventyNine$inboundSchema: z.ZodType< SeventyNine, z.ZodTypeDef, unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), - nextPermissions: types.optional(z.array(NextPermissions$inboundSchema)), - nextScopes: z.array(NextScopes$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + }) +); export function seventyNineFromJSON( jsonString: string, @@ -1868,15 +2024,28 @@ export function seventyNineFromJSON( ); } +/** @internal */ +export const Permissions$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Permissions)); + +/** @internal */ +export const PayloadScopes$inboundSchema: z.ZodNativeEnum< + typeof PayloadScopes +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadScopes)); + /** @internal */ export const SeventyEight$inboundSchema: z.ZodType< SeventyEight, z.ZodTypeDef, unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.string(), + permissions: types.optional(z.array(Permissions$inboundSchema)), + scopes: z.array(PayloadScopes$inboundSchema), + }) +); export function seventyEightFromJSON( jsonString: string, @@ -1888,26 +2057,19 @@ export function seventyEightFromJSON( ); } -/** @internal */ -export const Permissions$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Permissions); - -/** @internal */ -export const PayloadScopes$inboundSchema: z.ZodNativeEnum< - typeof PayloadScopes -> = z.nativeEnum(PayloadScopes); - /** @internal */ export const SeventySeven$inboundSchema: z.ZodType< SeventySeven, z.ZodTypeDef, unknown -> = z.object({ - appId: types.optional(types.string()), - appName: types.string(), - permissions: types.optional(z.array(Permissions$inboundSchema)), - scopes: z.array(PayloadScopes$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + aliasId: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function seventySevenFromJSON( jsonString: string, @@ -1924,12 +2086,13 @@ export const SeventySix$inboundSchema: z.ZodType< SeventySix, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - aliasId: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + userId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function seventySixFromJSON( jsonString: string, @@ -1946,11 +2109,12 @@ export const SeventyFive$inboundSchema: z.ZodType< SeventyFive, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - userId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + deploymentUrl: types.string(), + }) +); export function seventyFiveFromJSON( jsonString: string, @@ -1962,15 +2126,24 @@ export function seventyFiveFromJSON( ); } +/** @internal */ +export const UserEventPayload74Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload74Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload74Action)); + /** @internal */ export const SeventyFour$inboundSchema: z.ZodType< SeventyFour, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - deploymentUrl: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload74Action$inboundSchema, + alias: types.string(), + projectId: types.optional(types.string()), + projectName: types.string(), + }) +); export function seventyFourFromJSON( jsonString: string, @@ -1982,22 +2155,19 @@ export function seventyFourFromJSON( ); } -/** @internal */ -export const UserEventPayload73Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload73Action -> = z.nativeEnum(UserEventPayload73Action); - /** @internal */ export const SeventyThree$inboundSchema: z.ZodType< SeventyThree, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload73Action$inboundSchema, - alias: types.string(), - projectId: types.optional(types.string()), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + aliasId: types.optional(types.string()), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + }) +); export function seventyThreeFromJSON( jsonString: string, @@ -2014,12 +2184,12 @@ export const SeventyTwo$inboundSchema: z.ZodType< SeventyTwo, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - aliasId: types.optional(types.string()), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + email: types.optional(types.string()), + }) +); export function seventyTwoFromJSON( jsonString: string, @@ -2036,10 +2206,11 @@ export const SeventyOne$inboundSchema: z.ZodType< SeventyOne, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - email: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + }) +); export function seventyOneFromJSON( jsonString: string, @@ -2053,9 +2224,13 @@ export function seventyOneFromJSON( /** @internal */ export const Seventy$inboundSchema: z.ZodType = - z.object({ - alias: types.optional(types.string()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + email: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function seventyFromJSON( jsonString: string, @@ -2072,11 +2247,14 @@ export const SixtyNine$inboundSchema: z.ZodType< SixtyNine, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - email: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + aliasId: types.string(), + deploymentId: types.nullable(types.string()), + name: types.optional(types.string()), + }) +); export function sixtyNineFromJSON( jsonString: string, @@ -2088,33 +2266,13 @@ export function sixtyNineFromJSON( ); } -/** @internal */ -export const SixtyEight$inboundSchema: z.ZodType< - SixtyEight, - z.ZodTypeDef, - unknown -> = z.object({ - alias: types.string(), - aliasId: types.string(), - deploymentId: types.nullable(types.string()), - name: types.optional(types.string()), -}); - -export function sixtyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => SixtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyEight' from JSON`, - ); -} - /** @internal */ export const NewTeam$inboundSchema: z.ZodType = - z.object({ - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) + ); export function newTeamFromJSON( jsonString: string, @@ -2128,9 +2286,11 @@ export function newTeamFromJSON( /** @internal */ export const OldTeam$inboundSchema: z.ZodType = - z.object({ - name: types.string(), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + }) + ); export function oldTeamFromJSON( jsonString: string, @@ -2143,47 +2303,53 @@ export function oldTeamFromJSON( } /** @internal */ -export const SixtySeven$inboundSchema: z.ZodType< - SixtySeven, +export const SixtyEight$inboundSchema: z.ZodType< + SixtyEight, z.ZodTypeDef, unknown -> = z.object({ - alias: types.string(), - name: types.optional(types.string()), - newTeam: types.optional(z.lazy(() => NewTeam$inboundSchema)), - oldTeam: types.optional(z.lazy(() => OldTeam$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.string(), + name: types.optional(types.string()), + newTeam: types.optional(z.lazy(() => NewTeam$inboundSchema)), + oldTeam: types.optional(z.lazy(() => OldTeam$inboundSchema)), + }) +); -export function sixtySevenFromJSON( +export function sixtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtySeven' from JSON`, + (x) => SixtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyEight' from JSON`, ); } /** @internal */ export const PayloadAllowListedReadyStateReasonInternal$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PayloadAllowListedReadyStateReasonInternal); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PayloadAllowListedReadyStateReasonInternal) + ); /** @internal */ export const PayloadDeployment$inboundSchema: z.ZodType< PayloadDeployment, z.ZodTypeDef, unknown -> = z.object({ - allowListedReadyStateReasonInternal: types.optional( - PayloadAllowListedReadyStateReasonInternal$inboundSchema, - ), - id: types.string(), - meta: z.record(types.string()), - name: types.string(), - readyState: types.optional(types.string()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowListedReadyStateReasonInternal: types.optional( + PayloadAllowListedReadyStateReasonInternal$inboundSchema, + ), + id: types.string(), + meta: z.record(types.string()), + name: types.string(), + readyState: types.optional(types.string()), + url: types.string(), + }) +); export function payloadDeploymentFromJSON( jsonString: string, @@ -2196,47 +2362,53 @@ export function payloadDeploymentFromJSON( } /** @internal */ -export const SixtySix$inboundSchema: z.ZodType< - SixtySix, +export const SixtySeven$inboundSchema: z.ZodType< + SixtySeven, z.ZodTypeDef, unknown -> = z.object({ - aliasCount: types.number(), - deployment: z.nullable(z.lazy(() => PayloadDeployment$inboundSchema)) - .optional(), - projectId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + aliasCount: types.number(), + deployment: z.nullable(z.lazy(() => PayloadDeployment$inboundSchema)) + .optional(), + projectId: types.string(), + }) +); -export function sixtySixFromJSON( +export function sixtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtySix' from JSON`, + (x) => SixtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtySeven' from JSON`, ); } /** @internal */ export const AllowListedReadyStateReasonInternal$inboundSchema: z.ZodNativeEnum< typeof AllowListedReadyStateReasonInternal -> = z.nativeEnum(AllowListedReadyStateReasonInternal); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(AllowListedReadyStateReasonInternal) +); /** @internal */ export const Deployment$inboundSchema: z.ZodType< Deployment, z.ZodTypeDef, unknown -> = z.object({ - allowListedReadyStateReasonInternal: types.optional( - AllowListedReadyStateReasonInternal$inboundSchema, - ), - id: types.string(), - meta: z.record(types.string()), - name: types.string(), - readyState: types.optional(types.string()), - url: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowListedReadyStateReasonInternal: types.optional( + AllowListedReadyStateReasonInternal$inboundSchema, + ), + id: types.string(), + meta: z.record(types.string()), + name: types.string(), + readyState: types.optional(types.string()), + url: types.string(), + }) +); export function deploymentFromJSON( jsonString: string, @@ -2249,160 +2421,174 @@ export function deploymentFromJSON( } /** @internal */ -export const SixtyFive$inboundSchema: z.ZodType< - SixtyFive, +export const SixtySix$inboundSchema: z.ZodType< + SixtySix, z.ZodTypeDef, unknown -> = z.object({ - alias: types.optional(types.string()), - aliasId: types.optional(types.string()), - aliasUpdatedAt: types.optional(types.number()), - deployment: z.nullable(z.lazy(() => Deployment$inboundSchema)).optional(), - deploymentId: z.nullable(types.string()).optional(), - deploymentUrl: types.optional(types.string()), - oldDeploymentId: z.nullable(types.string()).optional(), - redirect: types.optional(types.string()), - redirectStatusCode: z.nullable(types.number()).optional(), - ruleCount: types.optional(types.number()), - system: types.optional(types.boolean()), - target: z.nullable(types.string()).optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alias: types.optional(types.string()), + aliasId: types.optional(types.string()), + aliasUpdatedAt: types.optional(types.number()), + deployment: z.nullable(z.lazy(() => Deployment$inboundSchema)).optional(), + deploymentId: z.nullable(types.string()).optional(), + deploymentUrl: types.optional(types.string()), + oldDeploymentId: z.nullable(types.string()).optional(), + redirect: types.optional(types.string()), + redirectStatusCode: z.nullable(types.number()).optional(), + ruleCount: types.optional(types.number()), + system: types.optional(types.boolean()), + target: z.nullable(types.string()).optional(), + }) +); -export function sixtyFiveFromJSON( +export function sixtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyFive' from JSON`, + (x) => SixtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtySix' from JSON`, ); } /** @internal */ -export const SixtyFour$inboundSchema: z.ZodType< - SixtyFour, +export const SixtyFive$inboundSchema: z.ZodType< + SixtyFive, z.ZodTypeDef, unknown -> = z.object({ - currency: types.optional(types.string()), - price: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + currency: types.optional(types.string()), + price: types.optional(types.number()), + }) +); -export function sixtyFourFromJSON( +export function sixtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyFour' from JSON`, + (x) => SixtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload63AccessGroup$inboundSchema: z.ZodType< - UserEventPayload63AccessGroup, +export const UserEventPayload64AccessGroup$inboundSchema: z.ZodType< + UserEventPayload64AccessGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); -export function userEventPayload63AccessGroupFromJSON( +export function userEventPayload64AccessGroupFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload63AccessGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload63AccessGroup' from JSON`, + (x) => UserEventPayload64AccessGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload64AccessGroup' from JSON`, ); } /** @internal */ -export const UserEventPayload63User$inboundSchema: z.ZodType< - UserEventPayload63User, +export const UserEventPayload64User$inboundSchema: z.ZodType< + UserEventPayload64User, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + username: types.optional(types.string()), + }) +); -export function userEventPayload63UserFromJSON( +export function userEventPayload64UserFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload63User$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload63User' from JSON`, + (x) => UserEventPayload64User$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload64User' from JSON`, ); } /** @internal */ -export const SixtyThree$inboundSchema: z.ZodType< - SixtyThree, +export const SixtyFour$inboundSchema: z.ZodType< + SixtyFour, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: z.lazy(() => UserEventPayload63AccessGroup$inboundSchema), - directoryType: types.optional(types.string()), - user: z.lazy(() => UserEventPayload63User$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: z.lazy(() => UserEventPayload64AccessGroup$inboundSchema), + directoryType: types.optional(types.string()), + user: z.lazy(() => UserEventPayload64User$inboundSchema), + }) +); -export function sixtyThreeFromJSON( +export function sixtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyThree' from JSON`, + (x) => SixtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyFour' from JSON`, ); } /** @internal */ -export const UserEventPayload62AccessGroup$inboundSchema: z.ZodType< - UserEventPayload62AccessGroup, +export const UserEventPayload63AccessGroup$inboundSchema: z.ZodType< + UserEventPayload63AccessGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); -export function userEventPayload62AccessGroupFromJSON( +export function userEventPayload63AccessGroupFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload62AccessGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload62AccessGroup' from JSON`, + (x) => UserEventPayload63AccessGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload63AccessGroup' from JSON`, ); } /** @internal */ -export const SixtyTwo$inboundSchema: z.ZodType< - SixtyTwo, +export const SixtyThree$inboundSchema: z.ZodType< + SixtyThree, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: z.lazy(() => UserEventPayload62AccessGroup$inboundSchema), - entitlementsAdded: types.optional(z.array(types.string())), - entitlementsRemoved: types.optional(z.array(types.string())), - name: types.optional(types.string()), - previousName: types.optional(types.string()), - previousTeamPermissions: types.optional(z.array(types.string())), - previousTeamRoles: types.optional(z.array(types.string())), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: z.lazy(() => UserEventPayload63AccessGroup$inboundSchema), + entitlementsAdded: types.optional(z.array(types.string())), + entitlementsRemoved: types.optional(z.array(types.string())), + name: types.optional(types.string()), + previousName: types.optional(types.string()), + previousTeamPermissions: types.optional(z.array(types.string())), + previousTeamRoles: types.optional(z.array(types.string())), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + }) +); -export function sixtyTwoFromJSON( +export function sixtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyTwo' from JSON`, + (x) => SixtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyThree' from JSON`, ); } @@ -2411,10 +2597,12 @@ export const UserEventPayloadAccessGroup$inboundSchema: z.ZodType< UserEventPayloadAccessGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function userEventPayloadAccessGroupFromJSON( jsonString: string, @@ -2427,22 +2615,24 @@ export function userEventPayloadAccessGroupFromJSON( } /** @internal */ -export const NextRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(NextRole); +export const NextRole$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(NextRole)); /** @internal */ export const PreviousRole$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(PreviousRole); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PreviousRole)); /** @internal */ export const PayloadProject$inboundSchema: z.ZodType< PayloadProject, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.optional(types.string()), + }) +); export function payloadProjectFromJSON( jsonString: string, @@ -2455,29 +2645,31 @@ export function payloadProjectFromJSON( } /** @internal */ -export const SixtyOne$inboundSchema: z.ZodType< - SixtyOne, +export const SixtyTwo$inboundSchema: z.ZodType< + SixtyTwo, z.ZodTypeDef, unknown -> = z.object({ - accessGroup: z.lazy(() => UserEventPayloadAccessGroup$inboundSchema), - next_role: z.nullable(NextRole$inboundSchema).optional(), - previous_role: types.optional(PreviousRole$inboundSchema), - project: z.lazy(() => PayloadProject$inboundSchema), -}).transform((v) => { - return remap$(v, { - "next_role": "nextRole", - "previous_role": "previousRole", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: z.lazy(() => UserEventPayloadAccessGroup$inboundSchema), + next_role: z.nullable(NextRole$inboundSchema).optional(), + previous_role: types.optional(PreviousRole$inboundSchema), + project: z.lazy(() => PayloadProject$inboundSchema), + }).transform((v) => { + return remap$(v, { + "next_role": "nextRole", + "previous_role": "previousRole", + }); + }) +); -export function sixtyOneFromJSON( +export function sixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyOne' from JSON`, + (x) => SixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyTwo' from JSON`, ); } @@ -2486,10 +2678,12 @@ export const PayloadAccessGroup$inboundSchema: z.ZodType< PayloadAccessGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function payloadAccessGroupFromJSON( jsonString: string, @@ -2502,19 +2696,24 @@ export function payloadAccessGroupFromJSON( } /** @internal */ -export const Sixty$inboundSchema: z.ZodType = z - .object({ +export const SixtyOne$inboundSchema: z.ZodType< + SixtyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ accessGroup: z.lazy(() => PayloadAccessGroup$inboundSchema), author: types.optional(types.string()), - }); + }) +); -export function sixtyFromJSON( +export function sixtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Sixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sixty' from JSON`, + (x) => SixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyOne' from JSON`, ); } @@ -2523,10 +2722,12 @@ export const AccessGroup$inboundSchema: z.ZodType< AccessGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function accessGroupFromJSON( jsonString: string, @@ -2536,45 +2737,46 @@ export function accessGroupFromJSON( (x) => AccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccessGroup' from JSON`, ); -} - -/** @internal */ -export const FiftyNine$inboundSchema: z.ZodType< - FiftyNine, - z.ZodTypeDef, - unknown -> = z.object({ - accessGroup: z.lazy(() => AccessGroup$inboundSchema), - entitlements: types.optional(z.array(types.string())), - teamPermissions: types.optional(z.array(types.string())), - teamRoles: types.optional(z.array(types.string())), -}); +} -export function fiftyNineFromJSON( +/** @internal */ +export const Sixty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + accessGroup: z.lazy(() => AccessGroup$inboundSchema), + entitlements: types.optional(z.array(types.string())), + teamPermissions: types.optional(z.array(types.string())), + teamRoles: types.optional(z.array(types.string())), + }) + ); + +export function sixtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftyNine' from JSON`, + (x) => Sixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sixty' from JSON`, ); } /** @internal */ export const PayloadChangedFields$inboundSchema: z.ZodNativeEnum< typeof PayloadChangedFields -> = z.nativeEnum(PayloadChangedFields); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadChangedFields)); /** @internal */ export const PayloadVirtualModelConfig$inboundSchema: z.ZodType< PayloadVirtualModelConfig, z.ZodTypeDef, unknown -> = z.object({ - displayName: types.optional(types.string()), - id: types.string(), - modelSlug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + displayName: types.optional(types.string()), + id: types.string(), + modelSlug: types.optional(types.string()), + }) +); export function payloadVirtualModelConfigFromJSON( jsonString: string, @@ -2587,22 +2789,24 @@ export function payloadVirtualModelConfigFromJSON( } /** @internal */ -export const FiftyEight$inboundSchema: z.ZodType< - FiftyEight, +export const FiftyNine$inboundSchema: z.ZodType< + FiftyNine, z.ZodTypeDef, unknown -> = z.object({ - changedFields: types.optional(z.array(PayloadChangedFields$inboundSchema)), - virtualModelConfig: z.lazy(() => PayloadVirtualModelConfig$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedFields: types.optional(z.array(PayloadChangedFields$inboundSchema)), + virtualModelConfig: z.lazy(() => PayloadVirtualModelConfig$inboundSchema), + }) +); -export function fiftyEightFromJSON( +export function fiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftyEight' from JSON`, + (x) => FiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftyNine' from JSON`, ); } @@ -2611,11 +2815,13 @@ export const VirtualModelConfig$inboundSchema: z.ZodType< VirtualModelConfig, z.ZodTypeDef, unknown -> = z.object({ - displayName: types.optional(types.string()), - id: types.string(), - modelSlug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + displayName: types.optional(types.string()), + id: types.string(), + modelSlug: types.optional(types.string()), + }) +); export function virtualModelConfigFromJSON( jsonString: string, @@ -2628,40 +2834,44 @@ export function virtualModelConfigFromJSON( } /** @internal */ -export const FiftySeven$inboundSchema: z.ZodType< - FiftySeven, +export const FiftyEight$inboundSchema: z.ZodType< + FiftyEight, z.ZodTypeDef, unknown -> = z.object({ - virtualModelConfig: z.lazy(() => VirtualModelConfig$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + virtualModelConfig: z.lazy(() => VirtualModelConfig$inboundSchema), + }) +); -export function fiftySevenFromJSON( +export function fiftyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftySeven' from JSON`, + (x) => FiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftyEight' from JSON`, ); } /** @internal */ export const ChangedFields$inboundSchema: z.ZodNativeEnum< typeof ChangedFields -> = z.nativeEnum(ChangedFields); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ChangedFields)); /** @internal */ export const PayloadRule$inboundSchema: z.ZodType< PayloadRule, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - model: types.optional(types.string()), - rewriteModel: types.optional(types.string()), - type: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + model: types.optional(types.string()), + rewriteModel: types.optional(types.string()), + type: types.string(), + }) +); export function payloadRuleFromJSON( jsonString: string, @@ -2674,35 +2884,39 @@ export function payloadRuleFromJSON( } /** @internal */ -export const FiftySix$inboundSchema: z.ZodType< - FiftySix, +export const FiftySeven$inboundSchema: z.ZodType< + FiftySeven, z.ZodTypeDef, unknown -> = z.object({ - changedFields: types.optional(z.array(ChangedFields$inboundSchema)), - enabled: types.optional(types.boolean()), - previousRewriteModel: types.optional(types.string()), - rule: z.lazy(() => PayloadRule$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + changedFields: types.optional(z.array(ChangedFields$inboundSchema)), + enabled: types.optional(types.boolean()), + previousRewriteModel: types.optional(types.string()), + rule: z.lazy(() => PayloadRule$inboundSchema), + }) +); -export function fiftySixFromJSON( +export function fiftySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftySix' from JSON`, + (x) => FiftySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftySeven' from JSON`, ); } /** @internal */ -export const Rule$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - model: types.optional(types.string()), - rewriteModel: types.optional(types.string()), - type: types.string(), - }); +export const Rule$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + model: types.optional(types.string()), + rewriteModel: types.optional(types.string()), + type: types.string(), + }) + ); export function ruleFromJSON( jsonString: string, @@ -2715,43 +2929,47 @@ export function ruleFromJSON( } /** @internal */ -export const FiftyFive$inboundSchema: z.ZodType< - FiftyFive, +export const FiftySix$inboundSchema: z.ZodType< + FiftySix, z.ZodTypeDef, unknown -> = z.object({ - rule: z.lazy(() => Rule$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + rule: z.lazy(() => Rule$inboundSchema), + }) +); -export function fiftyFiveFromJSON( +export function fiftySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftyFive' from JSON`, + (x) => FiftySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftySix' from JSON`, ); } /** @internal */ -export const CeilingMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(CeilingMode); +export const CeilingMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(CeilingMode)); /** @internal */ -export const DefaultMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(DefaultMode); +export const DefaultMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(DefaultMode)); /** @internal */ export const Retention$inboundSchema: z.ZodType< Retention, z.ZodTypeDef, unknown -> = z.object({ - ceilingDays: types.optional(types.number()), - ceilingMode: CeilingMode$inboundSchema, - defaultDays: types.optional(types.number()), - defaultMode: DefaultMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + ceilingDays: types.optional(types.number()), + ceilingMode: CeilingMode$inboundSchema, + defaultDays: types.optional(types.number()), + defaultMode: DefaultMode$inboundSchema, + }) +); export function retentionFromJSON( jsonString: string, @@ -2763,14 +2981,37 @@ export function retentionFromJSON( ); } +/** @internal */ +export const FiftyFive$inboundSchema: z.ZodType< + FiftyFive, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + retention: z.lazy(() => Retention$inboundSchema), + }) +); + +export function fiftyFiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiftyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftyFive' from JSON`, + ); +} + /** @internal */ export const FiftyFour$inboundSchema: z.ZodType< FiftyFour, z.ZodTypeDef, unknown -> = z.object({ - retention: z.lazy(() => Retention$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + headerNames: z.array(types.string()), + }) +); export function fiftyFourFromJSON( jsonString: string, @@ -2787,9 +3028,11 @@ export const FiftyThree$inboundSchema: z.ZodType< FiftyThree, z.ZodTypeDef, unknown -> = z.object({ - headerNames: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + previousSecretGracePeriodHours: types.optional(types.number()), + }) +); export function fiftyThreeFromJSON( jsonString: string, @@ -2802,24 +3045,26 @@ export function fiftyThreeFromJSON( } /** @internal */ -export const FailureMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(FailureMode); +export const FailureMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FailureMode)); /** @internal */ -export const PayloadMode$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadMode); +export const PayloadMode$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadMode)); /** @internal */ export const FiftyTwo$inboundSchema: z.ZodType< FiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - failureMode: types.optional(FailureMode$inboundSchema), - mode: types.optional(PayloadMode$inboundSchema), - rolloutPercent: types.optional(types.number()), - timeoutMs: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + failureMode: types.optional(FailureMode$inboundSchema), + mode: types.optional(PayloadMode$inboundSchema), + rolloutPercent: types.optional(types.number()), + timeoutMs: types.optional(types.number()), + }) +); export function fiftyTwoFromJSON( jsonString: string, @@ -2836,9 +3081,11 @@ export const FiftyOne$inboundSchema: z.ZodType< FiftyOne, z.ZodTypeDef, unknown -> = z.object({ - endpointOrigin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + endpointOrigin: types.string(), + }) +); export function fiftyOneFromJSON( jsonString: string, @@ -2853,14 +3100,16 @@ export function fiftyOneFromJSON( /** @internal */ export const UserEventPayload50Mode$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload50Mode -> = z.nativeEnum(UserEventPayload50Mode); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload50Mode)); /** @internal */ -export const Fifty$inboundSchema: z.ZodType = z - .object({ - enabled: types.boolean(), - mode: UserEventPayload50Mode$inboundSchema, - }); +export const Fifty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + mode: UserEventPayload50Mode$inboundSchema, + }) + ); export function fiftyFromJSON( jsonString: string, @@ -2877,9 +3126,11 @@ export const FortyNine$inboundSchema: z.ZodType< FortyNine, z.ZodTypeDef, unknown -> = z.object({ - countries: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + countries: z.array(types.string()), + }) +); export function fortyNineFromJSON( jsonString: string, @@ -2896,9 +3147,11 @@ export const FortyEight$inboundSchema: z.ZodType< FortyEight, z.ZodTypeDef, unknown -> = z.object({ - regions: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + regions: z.array(types.string()), + }) +); export function fortyEightFromJSON( jsonString: string, @@ -2915,10 +3168,12 @@ export const PiiRedaction$inboundSchema: z.ZodType< PiiRedaction, z.ZodTypeDef, unknown -> = z.object({ - from: types.boolean(), - to: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + from: types.boolean(), + to: types.boolean(), + }) +); export function piiRedactionFromJSON( jsonString: string, @@ -2935,13 +3190,15 @@ export const FortySeven$inboundSchema: z.ZodType< FortySeven, z.ZodTypeDef, unknown -> = z.object({ - moderationPolicyCount: types.number(), - piiRedaction: z.lazy(() => PiiRedaction$inboundSchema), - policiesAdded: z.array(types.string()), - policiesModified: z.array(types.string()), - policiesRemoved: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + moderationPolicyCount: types.number(), + piiRedaction: z.lazy(() => PiiRedaction$inboundSchema), + policiesAdded: z.array(types.string()), + policiesModified: z.array(types.string()), + policiesRemoved: z.array(types.string()), + }) +); export function fortySevenFromJSON( jsonString: string, @@ -2958,9 +3215,11 @@ export const PrivateProvider$inboundSchema: z.ZodType< PrivateProvider, z.ZodTypeDef, unknown -> = z.object({ - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: types.string(), + }) +); export function privateProviderFromJSON( jsonString: string, @@ -2977,9 +3236,11 @@ export const FortySix$inboundSchema: z.ZodType< FortySix, z.ZodTypeDef, unknown -> = z.object({ - privateProvider: z.lazy(() => PrivateProvider$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + privateProvider: z.lazy(() => PrivateProvider$inboundSchema), + }) +); export function fortySixFromJSON( jsonString: string, @@ -2996,9 +3257,11 @@ export const PayloadPrivateModel$inboundSchema: z.ZodType< PayloadPrivateModel, z.ZodTypeDef, unknown -> = z.object({ - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + slug: types.string(), + }) +); export function payloadPrivateModelFromJSON( jsonString: string, @@ -3015,9 +3278,11 @@ export const FortyFive$inboundSchema: z.ZodType< FortyFive, z.ZodTypeDef, unknown -> = z.object({ - privateModel: z.lazy(() => PayloadPrivateModel$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + privateModel: z.lazy(() => PayloadPrivateModel$inboundSchema), + }) +); export function fortyFiveFromJSON( jsonString: string, @@ -3034,10 +3299,12 @@ export const PrivateModel$inboundSchema: z.ZodType< PrivateModel, z.ZodTypeDef, unknown -> = z.object({ - providerSlug: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + providerSlug: types.string(), + slug: types.string(), + }) +); export function privateModelFromJSON( jsonString: string, @@ -3054,9 +3321,11 @@ export const FortyFour$inboundSchema: z.ZodType< FortyFour, z.ZodTypeDef, unknown -> = z.object({ - privateModel: z.lazy(() => PrivateModel$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + privateModel: z.lazy(() => PrivateModel$inboundSchema), + }) +); export function fortyFourFromJSON( jsonString: string, @@ -3073,10 +3342,12 @@ export const FortyThree$inboundSchema: z.ZodType< FortyThree, z.ZodTypeDef, unknown -> = z.object({ - added: z.array(types.string()), - removed: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + added: z.array(types.string()), + removed: z.array(types.string()), + }) +); export function fortyThreeFromJSON( jsonString: string, @@ -3093,10 +3364,12 @@ export const FortyTwo$inboundSchema: z.ZodType< FortyTwo, z.ZodTypeDef, unknown -> = z.object({ - amount: types.string(), - purchaseIntentId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + amount: types.string(), + purchaseIntentId: types.string(), + }) +); export function fortyTwoFromJSON( jsonString: string, @@ -3113,11 +3386,13 @@ export const UserEventPayloadCredential$inboundSchema: z.ZodType< UserEventPayloadCredential, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - providerSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + providerSlug: types.string(), + }) +); export function userEventPayloadCredentialFromJSON( jsonString: string, @@ -3134,12 +3409,14 @@ export const FortyOne$inboundSchema: z.ZodType< FortyOne, z.ZodTypeDef, unknown -> = z.object({ - added: z.array(types.string()), - changed: z.array(types.string()), - credential: z.lazy(() => UserEventPayloadCredential$inboundSchema), - removed: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + added: z.array(types.string()), + changed: z.array(types.string()), + credential: z.lazy(() => UserEventPayloadCredential$inboundSchema), + removed: z.array(types.string()), + }) +); export function fortyOneFromJSON( jsonString: string, @@ -3153,12 +3430,14 @@ export function fortyOneFromJSON( /** @internal */ export const Changes$inboundSchema: z.ZodType = - z.object({ - active: types.optional(types.boolean()), - keyReplaced: types.optional(types.boolean()), - previousName: types.optional(types.string()), - zeroDataRetention: types.optional(types.boolean()), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + active: types.optional(types.boolean()), + keyReplaced: types.optional(types.boolean()), + previousName: types.optional(types.string()), + zeroDataRetention: types.optional(types.boolean()), + }) + ); export function changesFromJSON( jsonString: string, @@ -3175,11 +3454,13 @@ export const PayloadCredential$inboundSchema: z.ZodType< PayloadCredential, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - providerSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + providerSlug: types.string(), + }) +); export function payloadCredentialFromJSON( jsonString: string, @@ -3192,11 +3473,13 @@ export function payloadCredentialFromJSON( } /** @internal */ -export const Forty$inboundSchema: z.ZodType = z - .object({ - changes: types.optional(z.lazy(() => Changes$inboundSchema)), - credential: z.lazy(() => PayloadCredential$inboundSchema), - }); +export const Forty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + changes: types.optional(z.lazy(() => Changes$inboundSchema)), + credential: z.lazy(() => PayloadCredential$inboundSchema), + }) + ); export function fortyFromJSON( jsonString: string, @@ -3213,11 +3496,13 @@ export const Credential$inboundSchema: z.ZodType< Credential, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - providerSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + providerSlug: types.string(), + }) +); export function credentialFromJSON( jsonString: string, @@ -3234,9 +3519,11 @@ export const ThirtyNine$inboundSchema: z.ZodType< ThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - credential: z.lazy(() => Credential$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + credential: z.lazy(() => Credential$inboundSchema), + }) +); export function thirtyNineFromJSON( jsonString: string, @@ -3253,9 +3540,11 @@ export const ThirtyEight$inboundSchema: z.ZodType< ThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + }) +); export function thirtyEightFromJSON( jsonString: string, @@ -3270,18 +3559,23 @@ export function thirtyEightFromJSON( /** @internal */ export const UserEventPayload37RefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload37RefreshPeriod -> = z.nativeEnum(UserEventPayload37RefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload37RefreshPeriod) +); /** @internal */ export const UserEventPayload37Budget$inboundSchema: z.ZodType< UserEventPayload37Budget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayload37RefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayload37RefreshPeriod$inboundSchema, + }) +); export function userEventPayload37BudgetFromJSON( jsonString: string, @@ -3296,23 +3590,28 @@ export function userEventPayload37BudgetFromJSON( /** @internal */ export const UserEventPayload37Change$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload37Change -> = z.nativeEnum(UserEventPayload37Change); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload37Change)); /** @internal */ export const UserEventPayload37PreviousBudgetRefreshPeriod$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventPayload37PreviousBudgetRefreshPeriod); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload37PreviousBudgetRefreshPeriod) + ); /** @internal */ export const UserEventPayloadPreviousBudget$inboundSchema: z.ZodType< UserEventPayloadPreviousBudget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayload37PreviousBudgetRefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayload37PreviousBudgetRefreshPeriod$inboundSchema, + }) +); export function userEventPayloadPreviousBudgetFromJSON( jsonString: string, @@ -3327,27 +3626,31 @@ export function userEventPayloadPreviousBudgetFromJSON( /** @internal */ export const UserEventPayloadScopeType$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadScopeType -> = z.nativeEnum(UserEventPayloadScopeType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadScopeType)); /** @internal */ export const ThirtySeven$inboundSchema: z.ZodType< ThirtySeven, z.ZodTypeDef, unknown -> = z.object({ - budget: z.nullable(z.lazy(() => UserEventPayload37Budget$inboundSchema)) - .optional(), - change: UserEventPayload37Change$inboundSchema, - justification: types.optional(types.string()), - previousBudget: z.nullable( - z.lazy(() => UserEventPayloadPreviousBudget$inboundSchema), - ).optional(), - projectId: types.optional(types.string()), - projectName: types.optional(types.string()), - scopeType: UserEventPayloadScopeType$inboundSchema, - userId: types.optional(types.string()), - userName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + appId: types.optional(types.string()), + appName: types.optional(types.string()), + budget: z.nullable(z.lazy(() => UserEventPayload37Budget$inboundSchema)) + .optional(), + change: UserEventPayload37Change$inboundSchema, + justification: types.optional(types.string()), + previousBudget: z.nullable( + z.lazy(() => UserEventPayloadPreviousBudget$inboundSchema), + ).optional(), + projectId: types.optional(types.string()), + projectName: types.optional(types.string()), + scopeType: UserEventPayloadScopeType$inboundSchema, + userId: types.optional(types.string()), + userName: types.optional(types.string()), + }) +); export function thirtySevenFromJSON( jsonString: string, @@ -3362,18 +3665,29 @@ export function thirtySevenFromJSON( /** @internal */ export const UserEventPayload36RefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload36RefreshPeriod -> = z.nativeEnum(UserEventPayload36RefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload36RefreshPeriod) +); + +/** @internal */ +export const PayloadAppliesTo$inboundSchema: z.ZodNativeEnum< + typeof PayloadAppliesTo +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadAppliesTo)); /** @internal */ export const UserEventPayloadBudget$inboundSchema: z.ZodType< UserEventPayloadBudget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayload36RefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayload36RefreshPeriod$inboundSchema, + appliesTo: types.optional(z.array(PayloadAppliesTo$inboundSchema)), + }) +); export function userEventPayloadBudgetFromJSON( jsonString: string, @@ -3388,23 +3702,34 @@ export function userEventPayloadBudgetFromJSON( /** @internal */ export const UserEventPayloadChange$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadChange -> = z.nativeEnum(UserEventPayloadChange); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadChange)); /** @internal */ export const UserEventPayload36PreviousBudgetRefreshPeriod$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventPayload36PreviousBudgetRefreshPeriod); + z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload36PreviousBudgetRefreshPeriod) + ); + +/** @internal */ +export const UserEventPayloadAppliesTo$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadAppliesTo +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadAppliesTo)); /** @internal */ export const PayloadPreviousBudget$inboundSchema: z.ZodType< PayloadPreviousBudget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayload36PreviousBudgetRefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayload36PreviousBudgetRefreshPeriod$inboundSchema, + appliesTo: types.optional(z.array(UserEventPayloadAppliesTo$inboundSchema)), + }) +); export function payloadPreviousBudgetFromJSON( jsonString: string, @@ -3419,22 +3744,25 @@ export function payloadPreviousBudgetFromJSON( /** @internal */ export const PayloadScopeType$inboundSchema: z.ZodNativeEnum< typeof PayloadScopeType -> = z.nativeEnum(PayloadScopeType); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadScopeType)); /** @internal */ export const ThirtySix$inboundSchema: z.ZodType< ThirtySix, z.ZodTypeDef, unknown -> = z.object({ - budget: z.nullable(z.lazy(() => UserEventPayloadBudget$inboundSchema)) - .optional(), - change: UserEventPayloadChange$inboundSchema, - justification: types.optional(types.string()), - previousBudget: z.nullable(z.lazy(() => PayloadPreviousBudget$inboundSchema)) - .optional(), - scopeType: PayloadScopeType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + budget: z.nullable(z.lazy(() => UserEventPayloadBudget$inboundSchema)) + .optional(), + change: UserEventPayloadChange$inboundSchema, + justification: types.optional(types.string()), + previousBudget: z.nullable( + z.lazy(() => PayloadPreviousBudget$inboundSchema), + ).optional(), + scopeType: PayloadScopeType$inboundSchema, + }) +); export function thirtySixFromJSON( jsonString: string, @@ -3449,17 +3777,19 @@ export function thirtySixFromJSON( /** @internal */ export const PayloadChange$inboundSchema: z.ZodNativeEnum< typeof PayloadChange -> = z.nativeEnum(PayloadChange); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadChange)); /** @internal */ export const Commitment$inboundSchema: z.ZodType< Commitment, z.ZodTypeDef, unknown -> = z.object({ - deferredInvoiceTargetBalance: types.string(), - maximumMonthlySpend: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + deferredInvoiceTargetBalance: types.string(), + maximumMonthlySpend: types.nullable(types.string()), + }) +); export function commitmentFromJSON( jsonString: string, @@ -3476,11 +3806,13 @@ export const UserEventPayloadPrevious$inboundSchema: z.ZodType< UserEventPayloadPrevious, z.ZodTypeDef, unknown -> = z.object({ - maximumMonthlySpend: types.nullable(types.string()), - minimumBalance: types.string(), - targetBalance: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + maximumMonthlySpend: types.nullable(types.string()), + minimumBalance: types.string(), + targetBalance: types.string(), + }) +); export function userEventPayloadPreviousFromJSON( jsonString: string, @@ -3497,11 +3829,13 @@ export const Settings$inboundSchema: z.ZodType< Settings, z.ZodTypeDef, unknown -> = z.object({ - maximumMonthlySpend: types.nullable(types.string()), - minimumBalance: types.string(), - targetBalance: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + maximumMonthlySpend: types.nullable(types.string()), + minimumBalance: types.string(), + targetBalance: types.string(), + }) +); export function settingsFromJSON( jsonString: string, @@ -3518,14 +3852,16 @@ export const ThirtyFive$inboundSchema: z.ZodType< ThirtyFive, z.ZodTypeDef, unknown -> = z.object({ - change: PayloadChange$inboundSchema, - commitment: types.optional(z.lazy(() => Commitment$inboundSchema)), - previous: types.optional( - z.lazy(() => UserEventPayloadPrevious$inboundSchema), - ), - settings: types.optional(z.lazy(() => Settings$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + change: PayloadChange$inboundSchema, + commitment: types.optional(z.lazy(() => Commitment$inboundSchema)), + previous: types.optional( + z.lazy(() => UserEventPayloadPrevious$inboundSchema), + ), + settings: types.optional(z.lazy(() => Settings$inboundSchema)), + }) +); export function thirtyFiveFromJSON( jsonString: string, @@ -3542,10 +3878,12 @@ export const UserEventPayloadApiKey$inboundSchema: z.ZodType< UserEventPayloadApiKey, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function userEventPayloadApiKeyFromJSON( jsonString: string, @@ -3560,18 +3898,23 @@ export function userEventPayloadApiKeyFromJSON( /** @internal */ export const UserEventPayloadRefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadRefreshPeriod -> = z.nativeEnum(UserEventPayloadRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadRefreshPeriod) +); /** @internal */ export const PayloadBudget$inboundSchema: z.ZodType< PayloadBudget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayloadRefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayloadRefreshPeriod$inboundSchema, + }) +); export function payloadBudgetFromJSON( jsonString: string, @@ -3584,24 +3927,29 @@ export function payloadBudgetFromJSON( } /** @internal */ -export const Change$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Change); +export const Change$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Change)); /** @internal */ export const UserEventPayload34RefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload34RefreshPeriod -> = z.nativeEnum(UserEventPayload34RefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload34RefreshPeriod) +); /** @internal */ export const PreviousBudget$inboundSchema: z.ZodType< PreviousBudget, z.ZodTypeDef, unknown -> = z.object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: UserEventPayload34RefreshPeriod$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: UserEventPayload34RefreshPeriod$inboundSchema, + }) +); export function previousBudgetFromJSON( jsonString: string, @@ -3618,14 +3966,16 @@ export const ThirtyFour$inboundSchema: z.ZodType< ThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - apiKey: z.lazy(() => UserEventPayloadApiKey$inboundSchema), - budget: z.nullable(z.lazy(() => PayloadBudget$inboundSchema)).optional(), - change: Change$inboundSchema, - justification: types.optional(types.string()), - previousBudget: z.nullable(z.lazy(() => PreviousBudget$inboundSchema)) - .optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKey: z.lazy(() => UserEventPayloadApiKey$inboundSchema), + budget: z.nullable(z.lazy(() => PayloadBudget$inboundSchema)).optional(), + change: Change$inboundSchema, + justification: types.optional(types.string()), + previousBudget: z.nullable(z.lazy(() => PreviousBudget$inboundSchema)) + .optional(), + }) +); export function thirtyFourFromJSON( jsonString: string, @@ -3642,10 +3992,12 @@ export const PayloadApiKey$inboundSchema: z.ZodType< PayloadApiKey, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function payloadApiKeyFromJSON( jsonString: string, @@ -3662,9 +4014,11 @@ export const ThirtyThree$inboundSchema: z.ZodType< ThirtyThree, z.ZodTypeDef, unknown -> = z.object({ - apiKey: z.lazy(() => PayloadApiKey$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKey: z.lazy(() => PayloadApiKey$inboundSchema), + }) +); export function thirtyThreeFromJSON( jsonString: string, @@ -3681,10 +4035,12 @@ export const UserEventPayload32ApiKey$inboundSchema: z.ZodType< UserEventPayload32ApiKey, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function userEventPayload32ApiKeyFromJSON( jsonString: string, @@ -3699,15 +4055,18 @@ export function userEventPayload32ApiKeyFromJSON( /** @internal */ export const PayloadRefreshPeriod$inboundSchema: z.ZodNativeEnum< typeof PayloadRefreshPeriod -> = z.nativeEnum(PayloadRefreshPeriod); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadRefreshPeriod)); /** @internal */ -export const Budget$inboundSchema: z.ZodType = z - .object({ - alertThresholds: types.optional(z.array(types.number())), - limitAmount: types.number(), - refreshPeriod: PayloadRefreshPeriod$inboundSchema, - }); +export const Budget$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + alertThresholds: types.optional(z.array(types.number())), + expiresAt: types.optional(types.number()), + limitAmount: types.number(), + refreshPeriod: PayloadRefreshPeriod$inboundSchema, + }) + ); export function budgetFromJSON( jsonString: string, @@ -3724,12 +4083,14 @@ export const ThirtyTwo$inboundSchema: z.ZodType< ThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - apiKey: z.lazy(() => UserEventPayload32ApiKey$inboundSchema), - budget: z.nullable(z.lazy(() => Budget$inboundSchema)).optional(), - bypassAll: types.optional(types.boolean()), - zdrExemption: types.optional(types.boolean()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apiKey: z.lazy(() => UserEventPayload32ApiKey$inboundSchema), + budget: z.nullable(z.lazy(() => Budget$inboundSchema)).optional(), + bypassAll: types.optional(types.boolean()), + zdrExemption: types.optional(types.boolean()), + }) +); export function thirtyTwoFromJSON( jsonString: string, @@ -3746,10 +4107,12 @@ export const UserEventPayloadAccessPolicy$inboundSchema: z.ZodType< UserEventPayloadAccessPolicy, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function userEventPayloadAccessPolicyFromJSON( jsonString: string, @@ -3764,15 +4127,17 @@ export function userEventPayloadAccessPolicyFromJSON( /** @internal */ export const UserEventPayload31Kind$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload31Kind -> = z.nativeEnum(UserEventPayload31Kind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload31Kind)); /** @internal */ -export const Member$inboundSchema: z.ZodType = z - .object({ - id: types.string(), - kind: UserEventPayload31Kind$inboundSchema, - name: types.optional(types.string()), - }); +export const Member$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + kind: UserEventPayload31Kind$inboundSchema, + name: types.optional(types.string()), + }) + ); export function memberFromJSON( jsonString: string, @@ -3789,10 +4154,12 @@ export const ThirtyOne$inboundSchema: z.ZodType< ThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - accessPolicy: z.lazy(() => UserEventPayloadAccessPolicy$inboundSchema), - member: z.lazy(() => Member$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessPolicy: z.lazy(() => UserEventPayloadAccessPolicy$inboundSchema), + member: z.lazy(() => Member$inboundSchema), + }) +); export function thirtyOneFromJSON( jsonString: string, @@ -3809,10 +4176,12 @@ export const PayloadAccessPolicy$inboundSchema: z.ZodType< PayloadAccessPolicy, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function payloadAccessPolicyFromJSON( jsonString: string, @@ -3825,11 +4194,13 @@ export function payloadAccessPolicyFromJSON( } /** @internal */ -export const Thirty$inboundSchema: z.ZodType = z - .object({ - accessPolicy: z.lazy(() => PayloadAccessPolicy$inboundSchema), - previousName: types.optional(types.string()), - }); +export const Thirty$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + accessPolicy: z.lazy(() => PayloadAccessPolicy$inboundSchema), + previousName: types.optional(types.string()), + }) + ); export function thirtyFromJSON( jsonString: string, @@ -3846,10 +4217,12 @@ export const AccessPolicy$inboundSchema: z.ZodType< AccessPolicy, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + }) +); export function accessPolicyFromJSON( jsonString: string, @@ -3866,9 +4239,11 @@ export const TwentyNine$inboundSchema: z.ZodType< TwentyNine, z.ZodTypeDef, unknown -> = z.object({ - accessPolicy: z.lazy(() => AccessPolicy$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessPolicy: z.lazy(() => AccessPolicy$inboundSchema), + }) +); export function twentyNineFromJSON( jsonString: string, @@ -3883,31 +4258,33 @@ export function twentyNineFromJSON( /** @internal */ export const UserEventPayload28Provider$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload28Provider -> = z.nativeEnum(UserEventPayload28Provider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload28Provider)); /** @internal */ -export const FromPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(FromPlan); +export const FromPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FromPlan)); /** @internal */ -export const ToPlan$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ToPlan); +export const ToPlan$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ToPlan)); /** @internal */ export const TwentyEight$inboundSchema: z.ZodType< TwentyEight, z.ZodTypeDef, unknown -> = z.object({ - provider: types.optional(UserEventPayload28Provider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - fromPlan: FromPlan$inboundSchema, - resourceId: types.string(), - teamId: types.string(), - toPlan: ToPlan$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(UserEventPayload28Provider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + fromPlan: FromPlan$inboundSchema, + resourceId: types.string(), + teamId: types.string(), + toPlan: ToPlan$inboundSchema, + }) +); export function twentyEightFromJSON( jsonString: string, @@ -3922,27 +4299,29 @@ export function twentyEightFromJSON( /** @internal */ export const UserEventPayload27Provider$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload27Provider -> = z.nativeEnum(UserEventPayload27Provider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload27Provider)); /** @internal */ -export const ActorType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ActorType); +export const ActorType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ActorType)); /** @internal */ export const TwentySeven$inboundSchema: z.ZodType< TwentySeven, z.ZodTypeDef, unknown -> = z.object({ - provider: types.optional(UserEventPayload27Provider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - teamId: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: ActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(UserEventPayload27Provider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + stripeOrganisation: types.optional(types.string()), + teamId: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: ActorType$inboundSchema, + }) +); export function twentySevenFromJSON( jsonString: string, @@ -3957,20 +4336,22 @@ export function twentySevenFromJSON( /** @internal */ export const UserEventPayload26Provider$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload26Provider -> = z.nativeEnum(UserEventPayload26Provider); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload26Provider)); /** @internal */ export const TwentySix$inboundSchema: z.ZodType< TwentySix, z.ZodTypeDef, unknown -> = z.object({ - provider: types.optional(UserEventPayload26Provider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - projectName: types.string(), - resourceId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: types.optional(UserEventPayload26Provider$inboundSchema), + providerAccount: types.optional(types.string()), + stripeAccount: types.optional(types.string()), + projectName: types.string(), + resourceId: types.string(), + }) +); export function twentySixFromJSON( jsonString: string, @@ -3985,151 +4366,4 @@ export function twentySixFromJSON( /** @internal */ export const UserEventPayload25Provider$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload25Provider -> = z.nativeEnum(UserEventPayload25Provider); - -/** @internal */ -export const TwentyFive$inboundSchema: z.ZodType< - TwentyFive, - z.ZodTypeDef, - unknown -> = z.object({ - provider: types.optional(UserEventPayload25Provider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - blockCode: types.string(), - reason: types.string(), -}); - -export function twentyFiveFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwentyFive' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayloadProvider$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadProvider -> = z.nativeEnum(UserEventPayloadProvider); - -/** @internal */ -export const TwentyFour$inboundSchema: z.ZodType< - TwentyFour, - z.ZodTypeDef, - unknown -> = z.object({ - provider: types.optional(UserEventPayloadProvider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - teamId: types.string(), - teamSlug: types.string(), -}); - -export function twentyFourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwentyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwentyFour' from JSON`, - ); -} - -/** @internal */ -export const PayloadProvider$inboundSchema: z.ZodNativeEnum< - typeof PayloadProvider -> = z.nativeEnum(PayloadProvider); - -/** @internal */ -export const TwentyThree$inboundSchema: z.ZodType< - TwentyThree, - z.ZodTypeDef, - unknown -> = z.object({ - provider: types.optional(PayloadProvider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - teamId: types.string(), -}); - -export function twentyThreeFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwentyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwentyThree' from JSON`, - ); -} - -/** @internal */ -export const Provider$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Provider); - -/** @internal */ -export const TwentyTwo$inboundSchema: z.ZodType< - TwentyTwo, - z.ZodTypeDef, - unknown -> = z.object({ - provider: types.optional(Provider$inboundSchema), - providerAccount: types.optional(types.string()), - stripeAccount: types.optional(types.string()), - stripeOrganisation: types.optional(types.string()), - accountRequestId: types.string(), - teamId: types.string(), -}); - -export function twentyTwoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwentyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwentyTwo' from JSON`, - ); -} - -/** @internal */ -export const TwentyOne$inboundSchema: z.ZodType< - TwentyOne, - z.ZodTypeDef, - unknown -> = z.object({ - operationId: types.string(), - schemaId: types.string(), -}); - -export function twentyOneFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwentyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwentyOne' from JSON`, - ); -} - -/** @internal */ -export const Twenty$inboundSchema: z.ZodType = z - .object({ - boardId: types.string(), - operationId: types.string(), - projectId: types.string(), - }); - -export function twentyFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Twenty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Twenty' from JSON`, - ); -} +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload25Provider)); diff --git a/src/models/newprojects.ts b/src/models/usereventpayloadlasteditedbyprincipal.ts similarity index 71% rename from src/models/newprojects.ts rename to src/models/usereventpayloadlasteditedbyprincipal.ts index cc77047afb..08beb363c8 100644 --- a/src/models/newprojects.ts +++ b/src/models/usereventpayloadlasteditedbyprincipal.ts @@ -4,30 +4,51 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { smartUnion } from "../types/smartUnion.js"; -import { - PayloadDsyncMode, - PayloadDsyncMode$inboundSchema, - UserEventPayload257Next, - UserEventPayload257Next$inboundSchema, -} from "./payloaddsyncmode.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; -export type UserEventPayload257Previous = { +/** + * The payload of the event, if requested. + */ +export type TwoHundredAndSixtyOne = { + connectionType: string; + organizationId: string; + organizationSlug: string; +}; + +export const UserEventPayloadDsyncMode = { + Organization: "organization", + Team: "team", +} as const; +export type UserEventPayloadDsyncMode = ClosedEnum< + typeof UserEventPayloadDsyncMode +>; + +export type UserEventPayload260Next = { + dsyncMode: UserEventPayloadDsyncMode; +}; + +export const PayloadDsyncMode = { + Organization: "organization", + Team: "team", +} as const; +export type PayloadDsyncMode = ClosedEnum; + +export type UserEventPayload260Previous = { dsyncMode: PayloadDsyncMode; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftySeven = { - next: UserEventPayload257Next; +export type TwoHundredAndSixty = { + next: UserEventPayload260Next; organizationId: string; - previous: UserEventPayload257Previous; + previous: UserEventPayload260Previous; teamId: string; teamName: string; }; @@ -41,7 +62,7 @@ export type PayloadBillingPlan = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftySix = { +export type TwoHundredAndFiftyNine = { billingPlan: PayloadBillingPlan; organizationId: string; teamId: string; @@ -50,7 +71,7 @@ export type TwoHundredAndFiftySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyFive = { +export type TwoHundredAndFiftyEight = { organizationId: string; slug: string; }; @@ -58,7 +79,7 @@ export type TwoHundredAndFiftyFive = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyFour = { +export type TwoHundredAndFiftySeven = { name: string; organizationId: string; }; @@ -66,7 +87,7 @@ export type TwoHundredAndFiftyFour = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyThree = { +export type TwoHundredAndFiftySix = { enabled: boolean; organizationId: string; teamId: string; @@ -89,7 +110,7 @@ export type Trigger = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyTwo = { +export type TwoHundredAndFiftyFive = { enabled: boolean; enforcedTeamIds: Array; organizationId: string; @@ -101,7 +122,7 @@ export type TwoHundredAndFiftyTwo = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFiftyOne = { +export type TwoHundredAndFiftyFour = { copiedDomains: Array; enabledOrganizationEmu: boolean; enabledTeamIds: Array; @@ -113,7 +134,7 @@ export type TwoHundredAndFiftyOne = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFifty = { +export type TwoHundredAndFiftyThree = { directoryGroupId: string; directoryId: string; organizationId: string; @@ -140,7 +161,7 @@ export type UserEventPayloadTeamRoles = ClosedEnum< typeof UserEventPayloadTeamRoles >; -export const UserEventPayload249TeamRoles = { +export const UserEventPayload252TeamRoles = { Billing: "BILLING", Contributor: "CONTRIBUTOR", Developer: "DEVELOPER", @@ -150,12 +171,12 @@ export const UserEventPayload249TeamRoles = { Viewer: "VIEWER", ViewerForPlus: "VIEWER_FOR_PLUS", } as const; -export type UserEventPayload249TeamRoles = ClosedEnum< - typeof UserEventPayload249TeamRoles +export type UserEventPayload252TeamRoles = ClosedEnum< + typeof UserEventPayload252TeamRoles >; export type PayloadTeams = { - teamRoles: Array; + teamRoles: Array; }; export type UserEventPayloadNext = { @@ -167,7 +188,7 @@ export type UserEventPayloadNext = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyNine = { +export type TwoHundredAndFiftyTwo = { directoryGroupId: string; directoryId: string; groupName: string; @@ -178,7 +199,7 @@ export type TwoHundredAndFortyNine = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyEight = { +export type TwoHundredAndFiftyOne = { directoryId: string; organizationId: string; }; @@ -186,7 +207,7 @@ export type TwoHundredAndFortyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortySeven = { +export type TwoHundredAndFifty = { domain: string; organizationId: string; }; @@ -194,7 +215,7 @@ export type TwoHundredAndFortySeven = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortySix = { +export type TwoHundredAndFortyNine = { name: string; organizationId: string; rootTeamId: string; @@ -204,7 +225,7 @@ export type TwoHundredAndFortySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyFive = { +export type TwoHundredAndFortyEight = { avatar: string | null; organizationId: string; }; @@ -212,7 +233,24 @@ export type TwoHundredAndFortyFive = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyFour = { +export type TwoHundredAndFortySeven = { + organizationId: string; + organizationSlug: string; +}; + +/** + * The payload of the event, if requested. + */ +export type TwoHundredAndFortySix = { + organizationId: string; + organizationSlug: string; + targetUser: string; +}; + +/** + * The payload of the event, if requested. + */ +export type TwoHundredAndFortyFive = { projectId?: string | undefined; projectName: string; }; @@ -225,7 +263,7 @@ export type PayloadActorType = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyThree = { +export type TwoHundredAndFortyFour = { reason: string; /** * Okta user id. @@ -238,7 +276,7 @@ export type TwoHundredAndFortyThree = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyTwo = { +export type TwoHundredAndFortyThree = { alertId: string; alertName: string; }; @@ -317,7 +355,7 @@ export type PayloadMicrofrontends = | UserEventMicrofrontends2 | UserEventMicrofrontends3; -export type UserEventPayload241PrevProject = { +export type UserEventPayload242PrevProject = { microfrontends?: | UserEventMicrofrontends1 | UserEventMicrofrontends2 @@ -326,7 +364,7 @@ export type UserEventPayload241PrevProject = { }; export type PayloadPrev = { - project: UserEventPayload241PrevProject; + project: UserEventPayload242PrevProject; }; export type Microfrontends3 = { @@ -397,7 +435,7 @@ export type Microfrontends = | Microfrontends2 | Microfrontends3; -export type UserEventPayload241Project = { +export type UserEventPayload242Project = { id: string; microfrontends?: | Microfrontends1 @@ -410,10 +448,10 @@ export type UserEventPayload241Project = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFortyOne = { +export type TwoHundredAndFortyTwo = { group: PayloadGroup; prev: PayloadPrev; - project: UserEventPayload241Project; + project: UserEventPayload242Project; }; export type Group = { @@ -422,7 +460,7 @@ export type Group = { slug: string; }; -export type UserEventPayload240Project = { +export type UserEventPayload241Project = { id: string; name: string; }; @@ -430,9 +468,9 @@ export type UserEventPayload240Project = { /** * The payload of the event, if requested. */ -export type TwoHundredAndForty = { +export type TwoHundredAndFortyOne = { group: Group; - project: UserEventPayload240Project; + project: UserEventPayload241Project; }; export type Prev = { @@ -445,7 +483,7 @@ export type Prev = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyNine = { +export type TwoHundredAndForty = { enablePolyrepoBranchRouting?: boolean | undefined; fallbackEnvironment?: string | undefined; id: string; @@ -457,7 +495,7 @@ export type TwoHundredAndThirtyNine = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyEight = { +export type TwoHundredAndThirtyNine = { id: string; name: string; slug: string; @@ -466,7 +504,7 @@ export type TwoHundredAndThirtyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtySeven = { +export type TwoHundredAndThirtyEight = { allowedIntegrationCount?: number | undefined; allowedIntegrationIds?: Array | undefined; enabled: boolean; @@ -483,21 +521,21 @@ export type Periods = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtySix = { +export type TwoHundredAndThirtySeven = { periods: Array; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyFive = { +export type TwoHundredAndThirtySix = { invoiceCollection: boolean; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyFour = { +export type TwoHundredAndThirtyFive = { projectId: string; projectName: string; toDeploymentId: string; @@ -606,7 +644,7 @@ export type Geolocation = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyThree = { +export type TwoHundredAndThirtyFour = { env?: string | undefined; factors?: Array | Array | undefined; geolocation?: Geolocation | null | undefined; @@ -628,7 +666,7 @@ export type TwoHundredAndThirtyThree = { viaSamlSso?: boolean | undefined; }; -export const UserEventPayload232Provider = { +export const UserEventPayload233Provider = { Apple: "apple", Bitbucket: "bitbucket", Chatgpt: "chatgpt", @@ -640,18 +678,18 @@ export const UserEventPayload232Provider = { Google: "google", Saml: "saml", } as const; -export type UserEventPayload232Provider = ClosedEnum< - typeof UserEventPayload232Provider +export type UserEventPayload233Provider = ClosedEnum< + typeof UserEventPayload233Provider >; /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyTwo = { - provider: UserEventPayload232Provider; +export type TwoHundredAndThirtyThree = { + provider: UserEventPayload233Provider; }; -export const UserEventPayload231Provider = { +export const UserEventPayload232Provider = { Apple: "apple", Bitbucket: "bitbucket", Chatgpt: "chatgpt", @@ -663,22 +701,22 @@ export const UserEventPayload231Provider = { Google: "google", Saml: "saml", } as const; -export type UserEventPayload231Provider = ClosedEnum< - typeof UserEventPayload231Provider +export type UserEventPayload232Provider = ClosedEnum< + typeof UserEventPayload232Provider >; /** * The payload of the event, if requested. */ -export type TwoHundredAndThirtyOne = { +export type TwoHundredAndThirtyTwo = { login: string; - provider: UserEventPayload231Provider; + provider: UserEventPayload232Provider; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndThirty = { +export type TwoHundredAndThirtyOne = { integrationName?: string | undefined; logDrainUrl: string; }; @@ -686,7 +724,7 @@ export type TwoHundredAndThirty = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyNine = { +export type TwoHundredAndThirty = { integrationName?: string | undefined; logDrainUrl: string | null; }; @@ -694,7 +732,7 @@ export type TwoHundredAndTwentyNine = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyEight = { +export type TwoHundredAndTwentyNine = { issuerId: string; issuerName: string; kind: string; @@ -704,7 +742,7 @@ export type TwoHundredAndTwentyEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentySeven = { +export type TwoHundredAndTwentyEight = { clientId?: string | undefined; environments?: Array | undefined; issuerId: string; @@ -716,7 +754,7 @@ export type TwoHundredAndTwentySeven = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentySix = { +export type TwoHundredAndTwentySeven = { issuerId: string; issuerName: string; keyId?: string | undefined; @@ -725,7 +763,7 @@ export type TwoHundredAndTwentySix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyFive = { +export type TwoHundredAndTwentySix = { issuerId: string; issuerName: string; managedBy?: string | undefined; @@ -734,7 +772,7 @@ export type TwoHundredAndTwentyFive = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyFour = { +export type TwoHundredAndTwentyFive = { algorithm: string; issuerId: string; issuerName: string; @@ -745,7 +783,7 @@ export type TwoHundredAndTwentyFour = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyThree = { +export type TwoHundredAndTwentyFour = { accessTokenRotation: boolean; integrationId: string; integrationName: string; @@ -756,24 +794,24 @@ export type TwoHundredAndTwentyThree = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyTwo = { +export type TwoHundredAndTwentyThree = { integrationId: string; integrationName: string; integrationSlug: string; previousSecretExpiresAt: number | null; }; -export const UserEventPayload221RequestKind = { +export const UserEventPayload222RequestKind = { GetKeyData: "get_key_data", } as const; -export type UserEventPayload221RequestKind = ClosedEnum< - typeof UserEventPayload221RequestKind +export type UserEventPayload222RequestKind = ClosedEnum< + typeof UserEventPayload222RequestKind >; /** * The payload of the event, if requested. */ -export type TwoHundredAndTwentyOne = { +export type TwoHundredAndTwentyTwo = { configurationId: string; errorCode?: string | undefined; integrationId: string; @@ -781,7 +819,7 @@ export type TwoHundredAndTwentyOne = { integrationSlug: string; resourceId: string; key: string; - requestKind: UserEventPayload221RequestKind; + requestKind: UserEventPayload222RequestKind; }; export const UserEventPayloadRequestKind = { @@ -794,7 +832,7 @@ export type UserEventPayloadRequestKind = ClosedEnum< /** * The payload of the event, if requested. */ -export type TwoHundredAndTwenty = { +export type TwoHundredAndTwentyOne = { configurationId: string; errorCode?: string | undefined; integrationId: string; @@ -813,7 +851,7 @@ export type PayloadRequestKind = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndNineteen = { +export type TwoHundredAndTwenty = { configurationId: string; errorCode?: string | undefined; integrationId: string; @@ -838,7 +876,7 @@ export type RequestKind = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndEighteen = { +export type TwoHundredAndNineteen = { configurationId: string; errorCode?: string | undefined; integrationId: string; @@ -874,7 +912,7 @@ export type QueryType = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndSeventeen = { +export type TwoHundredAndEighteen = { configurationId: string; databaseName: string; errorCode: string | null; @@ -893,7 +931,7 @@ export type TwoHundredAndSeventeen = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSixteen = { +export type TwoHundredAndSeventeen = { integrationId: string; integrationName: string; integrationSlug: string; @@ -909,7 +947,7 @@ export type ProjectIds = Array | ProjectIds2; /** * The payload of the event, if requested. */ -export type TwoHundredAndFifteen = { +export type TwoHundredAndSixteen = { configurationId: string; integrationId: string; integrationName: string; @@ -921,7 +959,7 @@ export type TwoHundredAndFifteen = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFourteen = { +export type TwoHundredAndFifteen = { billingPlanId: string; billingPlanName?: string | undefined; configurationId: string; @@ -941,7 +979,7 @@ export type Configurations = { /** * The payload of the event, if requested. */ -export type TwoHundredAndThirteen = { +export type TwoHundredAndFourteen = { configurations: Array; ownerId: string; }; @@ -956,7 +994,7 @@ export type PayloadIntegration = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTwelve = { +export type TwoHundredAndThirteen = { integration: PayloadIntegration; originTeamId: string; originTeamName: string; @@ -972,7 +1010,7 @@ export type Integration = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEleven = { +export type TwoHundredAndTwelve = { integration: Integration; destinationTeamId: string; destinationTeamName: string; @@ -981,7 +1019,7 @@ export type TwoHundredAndEleven = { /** * The payload of the event, if requested. */ -export type TwoHundredAndTen = { +export type TwoHundredAndEleven = { configurationId: string; confirmedScopes: Array; integrationId: string; @@ -999,7 +1037,7 @@ export type NewOwner = { /** * The payload of the event, if requested. */ -export type TwoHundredAndNine = { +export type TwoHundredAndTen = { configurationId: string; integrationId: string; integrationName?: string | undefined; @@ -1011,7 +1049,7 @@ export type TwoHundredAndNine = { /** * The payload of the event, if requested. */ -export type TwoHundredAndEight = { +export type TwoHundredAndNine = { configurationId: string; integrationId: string; integrationName: string; @@ -1021,7 +1059,7 @@ export type TwoHundredAndEight = { /** * The payload of the event, if requested. */ -export type TwoHundredAndSeven = { +export type TwoHundredAndEight = { fromDeploymentId: string; projectId: string; projectName: string; @@ -1050,20 +1088,20 @@ export const Outcome = { } as const; export type Outcome = ClosedEnum; -export const UserEventPayload206Provider = { +export const UserEventPayload207Provider = { Bitbucket: "bitbucket", CursorOrigin: "cursor-origin", Github: "github", Gitlab: "gitlab", } as const; -export type UserEventPayload206Provider = ClosedEnum< - typeof UserEventPayload206Provider +export type UserEventPayload207Provider = ClosedEnum< + typeof UserEventPayload207Provider >; /** * The payload of the event, if requested. */ -export type TwoHundredAndSix = { +export type TwoHundredAndSeven = { /** * Stable account id on `provider`. */ @@ -1093,7 +1131,7 @@ export type TwoHundredAndSix = { */ installationId: string | null; outcome: Outcome; - provider: UserEventPayload206Provider; + provider: UserEventPayload207Provider; resultCommitSha: string | null; sourceCommitSha: string | null; /** @@ -1106,7 +1144,7 @@ export type TwoHundredAndSix = { /** * The payload of the event, if requested. */ -export type TwoHundredAndFive = { +export type TwoHundredAndSix = { effectiveAt: number; }; @@ -1120,14 +1158,14 @@ export type PayloadSource = ClosedEnum; /** * The payload of the event, if requested. */ -export type TwoHundredAndFour = { +export type TwoHundredAndFive = { source: PayloadSource; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndThree = { +export type TwoHundredAndFour = { environment: string; /** * Seconds until the overrides expire. @@ -1145,25 +1183,25 @@ export type TwoHundredAndThree = { projectName?: string | undefined; }; -export const UserEventPayload202Action = { +export const UserEventPayload203Action = { Disable: "disable", Enable: "enable", } as const; -export type UserEventPayload202Action = ClosedEnum< - typeof UserEventPayload202Action +export type UserEventPayload203Action = ClosedEnum< + typeof UserEventPayload203Action >; /** * The payload of the event, if requested. */ -export type TwoHundredAndTwo = { - action: UserEventPayload202Action; +export type TwoHundredAndThree = { + action: UserEventPayload203Action; }; /** * The payload of the event, if requested. */ -export type TwoHundredAndOne = { +export type TwoHundredAndTwo = { newOwnerId: string; previousOwnerId: string; projectId: string; @@ -1173,50 +1211,50 @@ export type TwoHundredAndOne = { /** * The payload of the event, if requested. */ -export type TwoHundred = { +export type TwoHundredAndOne = { consumerProjectId: string; consumerProjectName?: string | undefined; projectId: string; projectName?: string | undefined; }; -export const UserEventPayload199Action = { +export const UserEventPayload200Action = { Challenge: "challenge", Deny: "deny", Log: "log", } as const; -export type UserEventPayload199Action = ClosedEnum< - typeof UserEventPayload199Action +export type UserEventPayload200Action = ClosedEnum< + typeof UserEventPayload200Action >; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyNine = { - action?: UserEventPayload199Action | undefined; +export type TwoHundred = { + action?: UserEventPayload200Action | undefined; active: boolean; projectId: string; rulesetName: string; }; -export const UserEventPayload198Action = { +export const UserEventPayload199Action = { Challenge: "challenge", Deny: "deny", Log: "log", } as const; -export type UserEventPayload198Action = ClosedEnum< - typeof UserEventPayload198Action +export type UserEventPayload199Action = ClosedEnum< + typeof UserEventPayload199Action >; export type RuleGroups = { - action?: UserEventPayload198Action | undefined; + action?: UserEventPayload199Action | undefined; active: boolean; }; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyEight = { +export type OneHundredAndNinetyNine = { projectId: string; ruleGroups: { [k: string]: RuleGroups }; rulesetName: string; @@ -1227,7 +1265,7 @@ export type PayloadConfigChanges = {}; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetySeven = { +export type OneHundredAndNinetyEight = { configChangeCount: number; configChanges: Array; configVersion: number; @@ -1243,7 +1281,7 @@ export type UserEventPayloadConfigVersion = string | number; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetySix = { +export type OneHundredAndNinetySeven = { configChangeCount?: number | undefined; configChanges?: Array | undefined; configVersion: string | number; @@ -1254,7 +1292,7 @@ export type PayloadConfigVersion = string | number; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyFive = { +export type OneHundredAndNinetySix = { configVersion: string | number; }; @@ -1263,7 +1301,7 @@ export type ConfigVersion = string | number; /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyFour = { +export type OneHundredAndNinetyFive = { configVersion: string | number; projectId: string; projectName: string; @@ -1272,7 +1310,7 @@ export type OneHundredAndNinetyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyThree = { +export type OneHundredAndNinetyFour = { projectId: string; scope: string; source: string; @@ -1281,7 +1319,7 @@ export type OneHundredAndNinetyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndNinetyTwo = { +export type OneHundredAndNinetyThree = { expiresAt?: number | null | undefined; projectId: string; scope: string; @@ -1316,7 +1354,7 @@ export type PayloadLastEditedByPrincipal = /** * environments this env variable targets */ -export const UserEventPayload191Target = { +export const UserEventPayload192Target = { Development: "development", Preview: "preview", Production: "production", @@ -1324,14 +1362,14 @@ export const UserEventPayload191Target = { /** * environments this env variable targets */ -export type UserEventPayload191Target = ClosedEnum< - typeof UserEventPayload191Target +export type UserEventPayload192Target = ClosedEnum< + typeof UserEventPayload192Target >; /** * The type of this cosmos doc instance, if blank, assume secret. */ -export const UserEventPayload191Type = { +export const UserEventPayload192Type = { Encrypted: "encrypted", Plain: "plain", Sensitive: "sensitive", @@ -1340,8 +1378,8 @@ export const UserEventPayload191Type = { /** * The type of this cosmos doc instance, if blank, assume secret. */ -export type UserEventPayload191Type = ClosedEnum< - typeof UserEventPayload191Type +export type UserEventPayload192Type = ClosedEnum< + typeof UserEventPayload192Type >; export type NewEnvVar = { @@ -1408,11 +1446,11 @@ export type NewEnvVar = { /** * environments this env variable targets */ - target?: Array | undefined; + target?: Array | undefined; /** * The type of this cosmos doc instance, if blank, assume secret. */ - type?: UserEventPayload191Type | undefined; + type?: UserEventPayload192Type | undefined; /** * Timestamp for when the Shared Env Var was last updated. */ @@ -1452,155 +1490,153 @@ export type UserEventPayloadLastEditedByPrincipal = | UserEventLastEditedByPrincipalPayload1 | UserEventLastEditedByPrincipalPayload2; -/** - * environments this env variable targets - */ -export const UserEventPayload191OldEnvVarTarget = { - Development: "development", - Preview: "preview", - Production: "production", -} as const; -/** - * environments this env variable targets - */ -export type UserEventPayload191OldEnvVarTarget = ClosedEnum< - typeof UserEventPayload191OldEnvVarTarget ->; +/** @internal */ +export const TwoHundredAndSixtyOne$inboundSchema: z.ZodType< + TwoHundredAndSixtyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + connectionType: types.string(), + organizationId: types.string(), + organizationSlug: types.string(), + }) +); -/** - * The type of this cosmos doc instance, if blank, assume secret. - */ -export const UserEventPayload191OldEnvVarType = { - Encrypted: "encrypted", - Plain: "plain", - Sensitive: "sensitive", - System: "system", -} as const; -/** - * The type of this cosmos doc instance, if blank, assume secret. - */ -export type UserEventPayload191OldEnvVarType = ClosedEnum< - typeof UserEventPayload191OldEnvVarType ->; +export function twoHundredAndSixtyOneFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixtyOne' from JSON`, + ); +} -export type OldEnvVar = { - /** - * whether or not this env varible applies to custom environments - */ - applyToAllCustomEnvironments?: boolean | undefined; - /** - * A user provided comment that describes what this Shared Env Var is for. - */ - comment?: string | undefined; - /** - * The date when the Shared Env Var was created. - */ - created?: Date | undefined; - /** - * Timestamp for when the Shared Env Var was created. - */ - createdAt?: number | undefined; - /** - * The unique identifier of the user who created the Shared Env Var. - */ - createdBy?: string | null | undefined; - /** - * The custom environment IDs that this Shared Env Var is scoped to. - */ - customEnvironmentIds?: Array | undefined; - /** - * whether or not this env variable is decrypted - */ - decrypted?: boolean | undefined; - /** - * Timestamp for when the Shared Env Var was (soft) deleted. - */ - deletedAt?: number | undefined; - /** - * The unique identifier of the user who deleted the Shared Env Var. - */ - deletedBy?: string | null | undefined; - /** - * The unique identifier of the Shared Env Var. - */ - id?: string | undefined; - /** - * The name of the Shared Env Var. - */ - key?: string | undefined; - /** - * The last editor full name or username. - */ - lastEditedByDisplayName?: string | undefined; - lastEditedByPrincipal?: - | UserEventLastEditedByPrincipalPayload1 - | UserEventLastEditedByPrincipalPayload2 - | undefined; - /** - * The unique identifier of the owner (team) the Shared Env Var was created for. - */ - ownerId?: string | null | undefined; - /** - * The unique identifiers of the projects which the Shared Env Var is linked to. - */ - projectId?: Array | undefined; - /** - * environments this env variable targets - */ - target?: Array | undefined; - /** - * The type of this cosmos doc instance, if blank, assume secret. - */ - type?: UserEventPayload191OldEnvVarType | undefined; - /** - * Timestamp for when the Shared Env Var was last updated. - */ - updatedAt?: number | undefined; - /** - * The unique identifier of the user who last updated the Shared Env Var. - */ - updatedBy?: string | null | undefined; - /** - * The value of the Shared Env Var. - */ - value?: string | undefined; -}; +/** @internal */ +export const UserEventPayloadDsyncMode$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadDsyncMode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadDsyncMode)); -export const PayloadNewTarget = { - Development: "development", - Preview: "preview", - Production: "production", -} as const; -export type PayloadNewTarget = ClosedEnum; +/** @internal */ +export const UserEventPayload260Next$inboundSchema: z.ZodType< + UserEventPayload260Next, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dsyncMode: UserEventPayloadDsyncMode$inboundSchema, + }) +); -export const PayloadOldTarget = { - Development: "development", - Preview: "preview", - Production: "production", -} as const; -export type PayloadOldTarget = ClosedEnum; +export function userEventPayload260NextFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload260Next$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload260Next' from JSON`, + ); +} -export type NewProjects = { - projectId: string; - projectName?: string | undefined; -}; +/** @internal */ +export const PayloadDsyncMode$inboundSchema: z.ZodNativeEnum< + typeof PayloadDsyncMode +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadDsyncMode)); + +/** @internal */ +export const UserEventPayload260Previous$inboundSchema: z.ZodType< + UserEventPayload260Previous, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + dsyncMode: PayloadDsyncMode$inboundSchema, + }) +); + +export function userEventPayload260PreviousFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload260Previous$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload260Previous' from JSON`, + ); +} + +/** @internal */ +export const TwoHundredAndSixty$inboundSchema: z.ZodType< + TwoHundredAndSixty, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + next: z.lazy(() => UserEventPayload260Next$inboundSchema), + organizationId: types.string(), + previous: z.lazy(() => UserEventPayload260Previous$inboundSchema), + teamId: types.string(), + teamName: types.string(), + }) +); + +export function twoHundredAndSixtyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndSixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixty' from JSON`, + ); +} + +/** @internal */ +export const PayloadBillingPlan$inboundSchema: z.ZodNativeEnum< + typeof PayloadBillingPlan +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadBillingPlan)); /** @internal */ -export const UserEventPayload257Previous$inboundSchema: z.ZodType< - UserEventPayload257Previous, +export const TwoHundredAndFiftyNine$inboundSchema: z.ZodType< + TwoHundredAndFiftyNine, z.ZodTypeDef, unknown -> = z.object({ - dsyncMode: PayloadDsyncMode$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingPlan: PayloadBillingPlan$inboundSchema, + organizationId: types.string(), + teamId: types.string(), + }) +); -export function userEventPayload257PreviousFromJSON( +export function twoHundredAndFiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload257Previous$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload257Previous' from JSON`, + (x) => TwoHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFiftyNine' from JSON`, + ); +} + +/** @internal */ +export const TwoHundredAndFiftyEight$inboundSchema: z.ZodType< + TwoHundredAndFiftyEight, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + slug: types.string(), + }) +); + +export function twoHundredAndFiftyEightFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFiftyEight' from JSON`, ); } @@ -1609,13 +1645,12 @@ export const TwoHundredAndFiftySeven$inboundSchema: z.ZodType< TwoHundredAndFiftySeven, z.ZodTypeDef, unknown -> = z.object({ - next: UserEventPayload257Next$inboundSchema, - organizationId: types.string(), - previous: z.lazy(() => UserEventPayload257Previous$inboundSchema), - teamId: types.string(), - teamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + organizationId: types.string(), + }) +); export function twoHundredAndFiftySevenFromJSON( jsonString: string, @@ -1627,21 +1662,19 @@ export function twoHundredAndFiftySevenFromJSON( ); } -/** @internal */ -export const PayloadBillingPlan$inboundSchema: z.ZodNativeEnum< - typeof PayloadBillingPlan -> = z.nativeEnum(PayloadBillingPlan); - /** @internal */ export const TwoHundredAndFiftySix$inboundSchema: z.ZodType< TwoHundredAndFiftySix, z.ZodTypeDef, unknown -> = z.object({ - billingPlan: PayloadBillingPlan$inboundSchema, - organizationId: types.string(), - teamId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + organizationId: types.string(), + teamId: types.string(), + teamSlug: types.string(), + }) +); export function twoHundredAndFiftySixFromJSON( jsonString: string, @@ -1653,15 +1686,25 @@ export function twoHundredAndFiftySixFromJSON( ); } +/** @internal */ +export const Trigger$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Trigger)); + /** @internal */ export const TwoHundredAndFiftyFive$inboundSchema: z.ZodType< TwoHundredAndFiftyFive, z.ZodTypeDef, unknown -> = z.object({ - organizationId: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.boolean(), + enforcedTeamIds: z.array(types.string()), + organizationId: types.string(), + previousEnabled: types.boolean(), + trigger: Trigger$inboundSchema, + unenforcedTeamIds: z.array(types.string()), + }) +); export function twoHundredAndFiftyFiveFromJSON( jsonString: string, @@ -1678,10 +1721,16 @@ export const TwoHundredAndFiftyFour$inboundSchema: z.ZodType< TwoHundredAndFiftyFour, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + copiedDomains: z.array(types.string()), + enabledOrganizationEmu: types.boolean(), + enabledTeamIds: z.array(types.string()), + organizationId: types.string(), + teamId: types.string(), + teamSlug: types.string(), + }) +); export function twoHundredAndFiftyFourFromJSON( jsonString: string, @@ -1698,12 +1747,13 @@ export const TwoHundredAndFiftyThree$inboundSchema: z.ZodType< TwoHundredAndFiftyThree, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - organizationId: types.string(), - teamId: types.string(), - teamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryGroupId: types.string(), + directoryId: types.string(), + organizationId: types.string(), + }) +); export function twoHundredAndFiftyThreeFromJSON( jsonString: string, @@ -1716,132 +1766,136 @@ export function twoHundredAndFiftyThreeFromJSON( } /** @internal */ -export const Trigger$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Trigger); +export const PayloadOrganizationPermissions$inboundSchema: z.ZodNativeEnum< + typeof PayloadOrganizationPermissions +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(PayloadOrganizationPermissions) +); + +/** @internal */ +export const UserEventPayloadTeamRoles$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadTeamRoles +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayloadTeamRoles)); /** @internal */ -export const TwoHundredAndFiftyTwo$inboundSchema: z.ZodType< - TwoHundredAndFiftyTwo, +export const UserEventPayload252TeamRoles$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload252TeamRoles +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload252TeamRoles) +); + +/** @internal */ +export const PayloadTeams$inboundSchema: z.ZodType< + PayloadTeams, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.boolean(), - enforcedTeamIds: z.array(types.string()), - organizationId: types.string(), - previousEnabled: types.boolean(), - trigger: Trigger$inboundSchema, - unenforcedTeamIds: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + teamRoles: z.array(UserEventPayload252TeamRoles$inboundSchema), + }) +); -export function twoHundredAndFiftyTwoFromJSON( +export function payloadTeamsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFiftyTwo' from JSON`, + (x) => PayloadTeams$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadTeams' from JSON`, ); } /** @internal */ -export const TwoHundredAndFiftyOne$inboundSchema: z.ZodType< - TwoHundredAndFiftyOne, +export const UserEventPayloadNext$inboundSchema: z.ZodType< + UserEventPayloadNext, z.ZodTypeDef, unknown -> = z.object({ - copiedDomains: z.array(types.string()), - enabledOrganizationEmu: types.boolean(), - enabledTeamIds: z.array(types.string()), - organizationId: types.string(), - teamId: types.string(), - teamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationPermissions: z.array( + PayloadOrganizationPermissions$inboundSchema, + ), + teamRoles: z.array(UserEventPayloadTeamRoles$inboundSchema), + teams: z.record(z.lazy(() => PayloadTeams$inboundSchema)), + }) +); -export function twoHundredAndFiftyOneFromJSON( +export function userEventPayloadNextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFiftyOne' from JSON`, + (x) => UserEventPayloadNext$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadNext' from JSON`, ); } /** @internal */ -export const TwoHundredAndFifty$inboundSchema: z.ZodType< - TwoHundredAndFifty, +export const TwoHundredAndFiftyTwo$inboundSchema: z.ZodType< + TwoHundredAndFiftyTwo, z.ZodTypeDef, unknown -> = z.object({ - directoryGroupId: types.string(), - directoryId: types.string(), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryGroupId: types.string(), + directoryId: types.string(), + groupName: types.string(), + next: z.lazy(() => UserEventPayloadNext$inboundSchema), + organizationId: types.string(), + }) +); -export function twoHundredAndFiftyFromJSON( +export function twoHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFifty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFifty' from JSON`, + (x) => TwoHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFiftyTwo' from JSON`, ); } /** @internal */ -export const PayloadOrganizationPermissions$inboundSchema: z.ZodNativeEnum< - typeof PayloadOrganizationPermissions -> = z.nativeEnum(PayloadOrganizationPermissions); - -/** @internal */ -export const UserEventPayloadTeamRoles$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadTeamRoles -> = z.nativeEnum(UserEventPayloadTeamRoles); - -/** @internal */ -export const UserEventPayload249TeamRoles$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload249TeamRoles -> = z.nativeEnum(UserEventPayload249TeamRoles); - -/** @internal */ -export const PayloadTeams$inboundSchema: z.ZodType< - PayloadTeams, +export const TwoHundredAndFiftyOne$inboundSchema: z.ZodType< + TwoHundredAndFiftyOne, z.ZodTypeDef, unknown -> = z.object({ - teamRoles: z.array(UserEventPayload249TeamRoles$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + directoryId: types.string(), + organizationId: types.string(), + }) +); -export function payloadTeamsFromJSON( +export function twoHundredAndFiftyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadTeams$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadTeams' from JSON`, + (x) => TwoHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFiftyOne' from JSON`, ); } /** @internal */ -export const UserEventPayloadNext$inboundSchema: z.ZodType< - UserEventPayloadNext, +export const TwoHundredAndFifty$inboundSchema: z.ZodType< + TwoHundredAndFifty, z.ZodTypeDef, unknown -> = z.object({ - organizationPermissions: z.array( - PayloadOrganizationPermissions$inboundSchema, - ), - teamRoles: z.array(UserEventPayloadTeamRoles$inboundSchema), - teams: z.record(z.lazy(() => PayloadTeams$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + domain: types.string(), + organizationId: types.string(), + }) +); -export function userEventPayloadNextFromJSON( +export function twoHundredAndFiftyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayloadNext$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadNext' from JSON`, + (x) => TwoHundredAndFifty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFifty' from JSON`, ); } @@ -1850,13 +1904,14 @@ export const TwoHundredAndFortyNine$inboundSchema: z.ZodType< TwoHundredAndFortyNine, z.ZodTypeDef, unknown -> = z.object({ - directoryGroupId: types.string(), - directoryId: types.string(), - groupName: types.string(), - next: z.lazy(() => UserEventPayloadNext$inboundSchema), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + name: types.string(), + organizationId: types.string(), + rootTeamId: types.string(), + slug: types.string(), + }) +); export function twoHundredAndFortyNineFromJSON( jsonString: string, @@ -1873,10 +1928,12 @@ export const TwoHundredAndFortyEight$inboundSchema: z.ZodType< TwoHundredAndFortyEight, z.ZodTypeDef, unknown -> = z.object({ - directoryId: types.string(), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.nullable(types.string()), + organizationId: types.string(), + }) +); export function twoHundredAndFortyEightFromJSON( jsonString: string, @@ -1893,10 +1950,12 @@ export const TwoHundredAndFortySeven$inboundSchema: z.ZodType< TwoHundredAndFortySeven, z.ZodTypeDef, unknown -> = z.object({ - domain: types.string(), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + organizationSlug: types.string(), + }) +); export function twoHundredAndFortySevenFromJSON( jsonString: string, @@ -1913,12 +1972,13 @@ export const TwoHundredAndFortySix$inboundSchema: z.ZodType< TwoHundredAndFortySix, z.ZodTypeDef, unknown -> = z.object({ - name: types.string(), - organizationId: types.string(), - rootTeamId: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + organizationId: types.string(), + organizationSlug: types.string(), + targetUser: types.string(), + }) +); export function twoHundredAndFortySixFromJSON( jsonString: string, @@ -1935,10 +1995,12 @@ export const TwoHundredAndFortyFive$inboundSchema: z.ZodType< TwoHundredAndFortyFive, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.nullable(types.string()), - organizationId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.optional(types.string()), + projectName: types.string(), + }) +); export function twoHundredAndFortyFiveFromJSON( jsonString: string, @@ -1950,15 +2012,24 @@ export function twoHundredAndFortyFiveFromJSON( ); } +/** @internal */ +export const PayloadActorType$inboundSchema: z.ZodNativeEnum< + typeof PayloadActorType +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadActorType)); + /** @internal */ export const TwoHundredAndFortyFour$inboundSchema: z.ZodType< TwoHundredAndFortyFour, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.optional(types.string()), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + reason: types.string(), + actorId: types.string(), + actorName: types.optional(types.string()), + actorType: PayloadActorType$inboundSchema, + }) +); export function twoHundredAndFortyFourFromJSON( jsonString: string, @@ -1970,22 +2041,17 @@ export function twoHundredAndFortyFourFromJSON( ); } -/** @internal */ -export const PayloadActorType$inboundSchema: z.ZodNativeEnum< - typeof PayloadActorType -> = z.nativeEnum(PayloadActorType); - /** @internal */ export const TwoHundredAndFortyThree$inboundSchema: z.ZodType< TwoHundredAndFortyThree, z.ZodTypeDef, unknown -> = z.object({ - reason: types.string(), - actorId: types.string(), - actorName: types.optional(types.string()), - actorType: PayloadActorType$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + alertId: types.string(), + alertName: types.string(), + }) +); export function twoHundredAndFortyThreeFromJSON( jsonString: string, @@ -1997,36 +2063,18 @@ export function twoHundredAndFortyThreeFromJSON( ); } -/** @internal */ -export const TwoHundredAndFortyTwo$inboundSchema: z.ZodType< - TwoHundredAndFortyTwo, - z.ZodTypeDef, - unknown -> = z.object({ - alertId: types.string(), - alertName: types.string(), -}); - -export function twoHundredAndFortyTwoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFortyTwo' from JSON`, - ); -} - /** @internal */ export const PayloadGroup$inboundSchema: z.ZodType< PayloadGroup, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function payloadGroupFromJSON( jsonString: string, @@ -2043,12 +2091,14 @@ export const UserEventMicrofrontends3$inboundSchema: z.ZodType< UserEventMicrofrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function userEventMicrofrontends3FromJSON( jsonString: string, @@ -2065,16 +2115,18 @@ export const UserEventMicrofrontends2$inboundSchema: z.ZodType< UserEventMicrofrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function userEventMicrofrontends2FromJSON( jsonString: string, @@ -2091,14 +2143,16 @@ export const UserEventMicrofrontends1$inboundSchema: z.ZodType< UserEventMicrofrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function userEventMicrofrontends1FromJSON( jsonString: string, @@ -2115,11 +2169,13 @@ export const PayloadMicrofrontends$inboundSchema: z.ZodType< PayloadMicrofrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => UserEventMicrofrontends1$inboundSchema), - z.lazy(() => UserEventMicrofrontends2$inboundSchema), - z.lazy(() => UserEventMicrofrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => UserEventMicrofrontends1$inboundSchema), + z.lazy(() => UserEventMicrofrontends2$inboundSchema), + z.lazy(() => UserEventMicrofrontends3$inboundSchema), + ]) +); export function payloadMicrofrontendsFromJSON( jsonString: string, @@ -2132,27 +2188,27 @@ export function payloadMicrofrontendsFromJSON( } /** @internal */ -export const UserEventPayload241PrevProject$inboundSchema: z.ZodType< - UserEventPayload241PrevProject, +export const UserEventPayload242PrevProject$inboundSchema: z.ZodType< + UserEventPayload242PrevProject, z.ZodTypeDef, unknown -> = z.object({ - microfrontends: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + microfrontends: types.optional(smartUnion([ z.lazy(() => UserEventMicrofrontends1$inboundSchema), z.lazy(() => UserEventMicrofrontends2$inboundSchema), z.lazy(() => UserEventMicrofrontends3$inboundSchema), - ]), - ), -}); + ])), + }) +); -export function userEventPayload241PrevProjectFromJSON( +export function userEventPayload242PrevProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload241PrevProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload241PrevProject' from JSON`, + (x) => UserEventPayload242PrevProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload242PrevProject' from JSON`, ); } @@ -2161,9 +2217,11 @@ export const PayloadPrev$inboundSchema: z.ZodType< PayloadPrev, z.ZodTypeDef, unknown -> = z.object({ - project: z.lazy(() => UserEventPayload241PrevProject$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + project: z.lazy(() => UserEventPayload242PrevProject$inboundSchema), + }) +); export function payloadPrevFromJSON( jsonString: string, @@ -2180,12 +2238,14 @@ export const Microfrontends3$inboundSchema: z.ZodType< Microfrontends3, z.ZodTypeDef, unknown -> = z.object({ - enabled: types.literal(false), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(z.any()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enabled: types.literal(false), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(z.any()), + updatedAt: types.number(), + }) +); export function microfrontends3FromJSON( jsonString: string, @@ -2202,16 +2262,18 @@ export const Microfrontends2$inboundSchema: z.ZodType< Microfrontends2, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.optional(types.literal(false)), - routeObservabilityToThisProject: types.optional(types.boolean()), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + doNotRouteWithMicrofrontendsRouting: types.optional(types.boolean()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.optional(types.literal(false)), + routeObservabilityToThisProject: types.optional(types.boolean()), + updatedAt: types.number(), + }) +); export function microfrontends2FromJSON( jsonString: string, @@ -2228,14 +2290,16 @@ export const Microfrontends1$inboundSchema: z.ZodType< Microfrontends1, z.ZodTypeDef, unknown -> = z.object({ - defaultRoute: types.optional(types.string()), - enabled: types.literal(true), - freeProjectForLegacyLimits: types.optional(types.boolean()), - groupIds: z.array(types.string()), - isDefaultApp: types.literal(true), - updatedAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + defaultRoute: types.optional(types.string()), + enabled: types.literal(true), + freeProjectForLegacyLimits: types.optional(types.boolean()), + groupIds: z.array(types.string()), + isDefaultApp: types.literal(true), + updatedAt: types.number(), + }) +); export function microfrontends1FromJSON( jsonString: string, @@ -2252,11 +2316,13 @@ export const Microfrontends$inboundSchema: z.ZodType< Microfrontends, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Microfrontends1$inboundSchema), - z.lazy(() => Microfrontends2$inboundSchema), - z.lazy(() => Microfrontends3$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Microfrontends1$inboundSchema), + z.lazy(() => Microfrontends2$inboundSchema), + z.lazy(() => Microfrontends3$inboundSchema), + ]) +); export function microfrontendsFromJSON( jsonString: string, @@ -2269,88 +2335,137 @@ export function microfrontendsFromJSON( } /** @internal */ -export const UserEventPayload241Project$inboundSchema: z.ZodType< - UserEventPayload241Project, +export const UserEventPayload242Project$inboundSchema: z.ZodType< + UserEventPayload242Project, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - microfrontends: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + microfrontends: types.optional(smartUnion([ z.lazy(() => Microfrontends1$inboundSchema), z.lazy(() => Microfrontends2$inboundSchema), z.lazy(() => Microfrontends3$inboundSchema), - ]), - ), - name: types.string(), -}); + ])), + name: types.string(), + }) +); -export function userEventPayload241ProjectFromJSON( +export function userEventPayload242ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload241Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload241Project' from JSON`, + (x) => UserEventPayload242Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload242Project' from JSON`, ); } /** @internal */ -export const TwoHundredAndFortyOne$inboundSchema: z.ZodType< - TwoHundredAndFortyOne, +export const TwoHundredAndFortyTwo$inboundSchema: z.ZodType< + TwoHundredAndFortyTwo, z.ZodTypeDef, unknown -> = z.object({ - group: z.lazy(() => PayloadGroup$inboundSchema), - prev: z.lazy(() => PayloadPrev$inboundSchema), - project: z.lazy(() => UserEventPayload241Project$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + group: z.lazy(() => PayloadGroup$inboundSchema), + prev: z.lazy(() => PayloadPrev$inboundSchema), + project: z.lazy(() => UserEventPayload242Project$inboundSchema), + }) +); -export function twoHundredAndFortyOneFromJSON( +export function twoHundredAndFortyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFortyOne' from JSON`, + (x) => TwoHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFortyTwo' from JSON`, + ); +} + +/** @internal */ +export const Group$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + slug: types.string(), + }) + ); + +export function groupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Group$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Group' from JSON`, ); } /** @internal */ -export const Group$inboundSchema: z.ZodType = z - .object({ +export const UserEventPayload241Project$inboundSchema: z.ZodType< + UserEventPayload241Project, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ id: types.string(), name: types.string(), - slug: types.string(), - }); + }) +); + +export function userEventPayload241ProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UserEventPayload241Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload241Project' from JSON`, + ); +} + +/** @internal */ +export const TwoHundredAndFortyOne$inboundSchema: z.ZodType< + TwoHundredAndFortyOne, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + group: z.lazy(() => Group$inboundSchema), + project: z.lazy(() => UserEventPayload241Project$inboundSchema), + }) +); -export function groupFromJSON( +export function twoHundredAndFortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Group$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Group' from JSON`, + (x) => TwoHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFortyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload240Project$inboundSchema: z.ZodType< - UserEventPayload240Project, - z.ZodTypeDef, - unknown -> = z.object({ - id: types.string(), - name: types.string(), -}); +export const Prev$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + enablePolyrepoBranchRouting: types.optional(types.boolean()), + fallbackEnvironment: types.string(), + name: types.string(), + slug: types.string(), + }) + ); -export function userEventPayload240ProjectFromJSON( +export function prevFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload240Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload240Project' from JSON`, + (x) => Prev$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Prev' from JSON`, ); } @@ -2359,10 +2474,16 @@ export const TwoHundredAndForty$inboundSchema: z.ZodType< TwoHundredAndForty, z.ZodTypeDef, unknown -> = z.object({ - group: z.lazy(() => Group$inboundSchema), - project: z.lazy(() => UserEventPayload240Project$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + enablePolyrepoBranchRouting: types.optional(types.boolean()), + fallbackEnvironment: types.optional(types.string()), + id: types.string(), + name: types.optional(types.string()), + prev: z.lazy(() => Prev$inboundSchema), + slug: types.optional(types.string()), + }) +); export function twoHundredAndFortyFromJSON( jsonString: string, @@ -2374,38 +2495,18 @@ export function twoHundredAndFortyFromJSON( ); } -/** @internal */ -export const Prev$inboundSchema: z.ZodType = z - .object({ - enablePolyrepoBranchRouting: types.optional(types.boolean()), - fallbackEnvironment: types.string(), - name: types.string(), - slug: types.string(), - }); - -export function prevFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => Prev$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Prev' from JSON`, - ); -} - /** @internal */ export const TwoHundredAndThirtyNine$inboundSchema: z.ZodType< TwoHundredAndThirtyNine, z.ZodTypeDef, unknown -> = z.object({ - enablePolyrepoBranchRouting: types.optional(types.boolean()), - fallbackEnvironment: types.optional(types.string()), - id: types.string(), - name: types.optional(types.string()), - prev: z.lazy(() => Prev$inboundSchema), - slug: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function twoHundredAndThirtyNineFromJSON( jsonString: string, @@ -2422,11 +2523,14 @@ export const TwoHundredAndThirtyEight$inboundSchema: z.ZodType< TwoHundredAndThirtyEight, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + allowedIntegrationCount: types.optional(types.number()), + allowedIntegrationIds: types.optional(z.array(types.string())), + enabled: types.boolean(), + resourceOnlyIntegrationCount: types.optional(types.number()), + }) +); export function twoHundredAndThirtyEightFromJSON( jsonString: string, @@ -2439,43 +2543,44 @@ export function twoHundredAndThirtyEightFromJSON( } /** @internal */ -export const TwoHundredAndThirtySeven$inboundSchema: z.ZodType< - TwoHundredAndThirtySeven, - z.ZodTypeDef, - unknown -> = z.object({ - allowedIntegrationCount: types.optional(types.number()), - allowedIntegrationIds: types.optional(z.array(types.string())), - enabled: types.boolean(), - resourceOnlyIntegrationCount: types.optional(types.number()), -}); +export const Periods$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + endDate: types.string(), + percent: types.string(), + periodNumber: types.number(), + startDate: types.string(), + }) + ); -export function twoHundredAndThirtySevenFromJSON( +export function periodsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndThirtySeven' from JSON`, + (x) => Periods$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Periods' from JSON`, ); } /** @internal */ -export const Periods$inboundSchema: z.ZodType = +export const TwoHundredAndThirtySeven$inboundSchema: z.ZodType< + TwoHundredAndThirtySeven, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => z.object({ - endDate: types.string(), - percent: types.string(), - periodNumber: types.number(), - startDate: types.string(), - }); + periods: z.array(z.lazy(() => Periods$inboundSchema)), + }) +); -export function periodsFromJSON( +export function twoHundredAndThirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Periods$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Periods' from JSON`, + (x) => TwoHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndThirtySeven' from JSON`, ); } @@ -2484,9 +2589,11 @@ export const TwoHundredAndThirtySix$inboundSchema: z.ZodType< TwoHundredAndThirtySix, z.ZodTypeDef, unknown -> = z.object({ - periods: z.array(z.lazy(() => Periods$inboundSchema)), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + invoiceCollection: types.boolean(), + }) +); export function twoHundredAndThirtySixFromJSON( jsonString: string, @@ -2503,9 +2610,13 @@ export const TwoHundredAndThirtyFive$inboundSchema: z.ZodType< TwoHundredAndThirtyFive, z.ZodTypeDef, unknown -> = z.object({ - invoiceCollection: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + projectName: types.string(), + toDeploymentId: types.string(), + }) +); export function twoHundredAndThirtyFiveFromJSON( jsonString: string, @@ -2517,37 +2628,18 @@ export function twoHundredAndThirtyFiveFromJSON( ); } -/** @internal */ -export const TwoHundredAndThirtyFour$inboundSchema: z.ZodType< - TwoHundredAndThirtyFour, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: types.string(), - projectName: types.string(), - toDeploymentId: types.string(), -}); - -export function twoHundredAndThirtyFourFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndThirtyFour' from JSON`, - ); -} - /** @internal */ export const UserEvent2Origin$inboundSchema: z.ZodNativeEnum< typeof UserEvent2Origin -> = z.nativeEnum(UserEvent2Origin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEvent2Origin)); /** @internal */ -export const Two2$inboundSchema: z.ZodType = z - .object({ - origin: UserEvent2Origin$inboundSchema, - }); +export const Two2$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + origin: UserEvent2Origin$inboundSchema, + }) + ); export function two2FromJSON( jsonString: string, @@ -2560,18 +2652,20 @@ export function two2FromJSON( } /** @internal */ -export const TwoOrigin$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TwoOrigin); +export const TwoOrigin$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(TwoOrigin)); /** @internal */ -export const Two1$inboundSchema: z.ZodType = z - .object({ - legacy: types.optional(types.boolean()), - origin: TwoOrigin$inboundSchema, - ssoType: types.optional(types.string()), - teamId: types.optional(types.string()), - username: types.optional(types.string()), - }); +export const Two1$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy: types.optional(types.boolean()), + origin: TwoOrigin$inboundSchema, + ssoType: types.optional(types.string()), + teamId: types.optional(types.string()), + username: types.optional(types.string()), + }) + ); export function two1FromJSON( jsonString: string, @@ -2588,10 +2682,12 @@ export const Factors2$inboundSchema: z.ZodType< Factors2, z.ZodTypeDef, unknown -> = smartUnion([ - z.lazy(() => Two1$inboundSchema), - z.lazy(() => Two2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.lazy(() => Two1$inboundSchema), + z.lazy(() => Two2$inboundSchema), + ]) +); export function factors2FromJSON( jsonString: string, @@ -2606,20 +2702,22 @@ export function factors2FromJSON( /** @internal */ export const FactorsOrigin$inboundSchema: z.ZodNativeEnum< typeof FactorsOrigin -> = z.nativeEnum(FactorsOrigin); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FactorsOrigin)); /** @internal */ export const Factors1$inboundSchema: z.ZodType< Factors1, z.ZodTypeDef, unknown -> = z.object({ - legacy: types.optional(types.boolean()), - origin: FactorsOrigin$inboundSchema, - ssoType: types.optional(types.string()), - teamId: types.optional(types.string()), - username: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + legacy: types.optional(types.boolean()), + origin: FactorsOrigin$inboundSchema, + ssoType: types.optional(types.string()), + teamId: types.optional(types.string()), + username: types.optional(types.string()), + }) +); export function factors1FromJSON( jsonString: string, @@ -2633,13 +2731,15 @@ export function factors1FromJSON( /** @internal */ export const Factors$inboundSchema: z.ZodType = - smartUnion([ - z.array(z.lazy(() => Factors1$inboundSchema)), - z.array(smartUnion([ - z.lazy(() => Two1$inboundSchema), - z.lazy(() => Two2$inboundSchema), - ])), - ]); + /* @__PURE__ */ lazySchema$(() => + smartUnion([ + z.array(z.lazy(() => Factors1$inboundSchema)), + z.array(smartUnion([ + z.lazy(() => Two1$inboundSchema), + z.lazy(() => Two2$inboundSchema), + ])), + ]) + ); export function factorsFromJSON( jsonString: string, @@ -2652,10 +2752,12 @@ export function factorsFromJSON( } /** @internal */ -export const Names$inboundSchema: z.ZodType = z - .object({ - en: types.string(), - }); +export const Names$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) + ); export function namesFromJSON( jsonString: string, @@ -2668,10 +2770,12 @@ export function namesFromJSON( } /** @internal */ -export const City$inboundSchema: z.ZodType = z - .object({ - names: z.lazy(() => Names$inboundSchema), - }); +export const City$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => Names$inboundSchema), + }) + ); export function cityFromJSON( jsonString: string, @@ -2688,9 +2792,11 @@ export const PayloadNames$inboundSchema: z.ZodType< PayloadNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); export function payloadNamesFromJSON( jsonString: string, @@ -2704,9 +2810,11 @@ export function payloadNamesFromJSON( /** @internal */ export const Country$inboundSchema: z.ZodType = - z.object({ - names: z.lazy(() => PayloadNames$inboundSchema), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => PayloadNames$inboundSchema), + }) + ); export function countryFromJSON( jsonString: string, @@ -2723,9 +2831,11 @@ export const UserEventPayloadNames$inboundSchema: z.ZodType< UserEventPayloadNames, z.ZodTypeDef, unknown -> = z.object({ - en: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + en: types.string(), + }) +); export function userEventPayloadNamesFromJSON( jsonString: string, @@ -2742,9 +2852,11 @@ export const MostSpecificSubdivision$inboundSchema: z.ZodType< MostSpecificSubdivision, z.ZodTypeDef, unknown -> = z.object({ - names: z.lazy(() => UserEventPayloadNames$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + names: z.lazy(() => UserEventPayloadNames$inboundSchema), + }) +); export function mostSpecificSubdivisionFromJSON( jsonString: string, @@ -2761,18 +2873,20 @@ export const Geolocation$inboundSchema: z.ZodType< Geolocation, z.ZodTypeDef, unknown -> = z.object({ - city: types.optional(z.lazy(() => City$inboundSchema)), - country: z.lazy(() => Country$inboundSchema), - most_specific_subdivision: types.optional( - z.lazy(() => MostSpecificSubdivision$inboundSchema), - ), - regionName: types.optional(types.string()), -}).transform((v) => { - return remap$(v, { - "most_specific_subdivision": "mostSpecificSubdivision", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + city: types.optional(z.lazy(() => City$inboundSchema)), + country: z.lazy(() => Country$inboundSchema), + most_specific_subdivision: types.optional( + z.lazy(() => MostSpecificSubdivision$inboundSchema), + ), + regionName: types.optional(types.string()), + }).transform((v) => { + return remap$(v, { + "most_specific_subdivision": "mostSpecificSubdivision", + }); + }) +); export function geolocationFromJSON( jsonString: string, @@ -2785,36 +2899,66 @@ export function geolocationFromJSON( } /** @internal */ -export const TwoHundredAndThirtyThree$inboundSchema: z.ZodType< - TwoHundredAndThirtyThree, +export const TwoHundredAndThirtyFour$inboundSchema: z.ZodType< + TwoHundredAndThirtyFour, z.ZodTypeDef, unknown -> = z.object({ - env: types.optional(types.string()), - factors: types.optional( - smartUnion([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + env: types.optional(types.string()), + factors: types.optional(smartUnion([ z.array(z.lazy(() => Factors1$inboundSchema)), z.array(smartUnion([ z.lazy(() => Two1$inboundSchema), z.lazy(() => Two2$inboundSchema), ])), - ]), - ), - geolocation: z.nullable(z.lazy(() => Geolocation$inboundSchema)).optional(), - loginSessionId: types.optional(types.string()), - os: types.optional(types.string()), - ssoType: types.optional(types.string()), - userAgent: types.optional(types.string()), - username: types.optional(types.string()), - viaApple: types.optional(types.boolean()), - viaBitbucket: types.optional(types.boolean()), - viaGithub: types.optional(types.boolean()), - viaGitlab: types.optional(types.boolean()), - viaGoogle: types.optional(types.boolean()), - viaOTP: types.optional(types.boolean()), - viaPasskey: types.optional(types.boolean()), - viaSamlSso: types.optional(types.boolean()), -}); + ])), + geolocation: z.nullable(z.lazy(() => + Geolocation$inboundSchema + )).optional(), + loginSessionId: types.optional(types.string()), + os: types.optional(types.string()), + ssoType: types.optional(types.string()), + userAgent: types.optional(types.string()), + username: types.optional(types.string()), + viaApple: types.optional(types.boolean()), + viaBitbucket: types.optional(types.boolean()), + viaGithub: types.optional(types.boolean()), + viaGitlab: types.optional(types.boolean()), + viaGoogle: types.optional(types.boolean()), + viaOTP: types.optional(types.boolean()), + viaPasskey: types.optional(types.boolean()), + viaSamlSso: types.optional(types.boolean()), + }) +); + +export function twoHundredAndThirtyFourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndThirtyFour' from JSON`, + ); +} + +/** @internal */ +export const UserEventPayload233Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload233Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload233Provider) +); + +/** @internal */ +export const TwoHundredAndThirtyThree$inboundSchema: z.ZodType< + TwoHundredAndThirtyThree, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + provider: UserEventPayload233Provider$inboundSchema, + }) +); export function twoHundredAndThirtyThreeFromJSON( jsonString: string, @@ -2829,16 +2973,21 @@ export function twoHundredAndThirtyThreeFromJSON( /** @internal */ export const UserEventPayload232Provider$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload232Provider -> = z.nativeEnum(UserEventPayload232Provider); +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload232Provider) +); /** @internal */ export const TwoHundredAndThirtyTwo$inboundSchema: z.ZodType< TwoHundredAndThirtyTwo, z.ZodTypeDef, unknown -> = z.object({ - provider: UserEventPayload232Provider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + login: types.string(), + provider: UserEventPayload232Provider$inboundSchema, + }) +); export function twoHundredAndThirtyTwoFromJSON( jsonString: string, @@ -2850,20 +2999,17 @@ export function twoHundredAndThirtyTwoFromJSON( ); } -/** @internal */ -export const UserEventPayload231Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload231Provider -> = z.nativeEnum(UserEventPayload231Provider); - /** @internal */ export const TwoHundredAndThirtyOne$inboundSchema: z.ZodType< TwoHundredAndThirtyOne, z.ZodTypeDef, unknown -> = z.object({ - login: types.string(), - provider: UserEventPayload231Provider$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationName: types.optional(types.string()), + logDrainUrl: types.string(), + }) +); export function twoHundredAndThirtyOneFromJSON( jsonString: string, @@ -2880,10 +3026,12 @@ export const TwoHundredAndThirty$inboundSchema: z.ZodType< TwoHundredAndThirty, z.ZodTypeDef, unknown -> = z.object({ - integrationName: types.optional(types.string()), - logDrainUrl: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationName: types.optional(types.string()), + logDrainUrl: types.nullable(types.string()), + }) +); export function twoHundredAndThirtyFromJSON( jsonString: string, @@ -2900,10 +3048,14 @@ export const TwoHundredAndTwentyNine$inboundSchema: z.ZodType< TwoHundredAndTwentyNine, z.ZodTypeDef, unknown -> = z.object({ - integrationName: types.optional(types.string()), - logDrainUrl: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: types.string(), + issuerName: types.string(), + kind: types.string(), + policyKey: types.string(), + }) +); export function twoHundredAndTwentyNineFromJSON( jsonString: string, @@ -2920,12 +3072,16 @@ export const TwoHundredAndTwentyEight$inboundSchema: z.ZodType< TwoHundredAndTwentyEight, z.ZodTypeDef, unknown -> = z.object({ - issuerId: types.string(), - issuerName: types.string(), - kind: types.string(), - policyKey: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + clientId: types.optional(types.string()), + environments: types.optional(z.array(types.string())), + issuerId: types.string(), + issuerName: types.string(), + kind: types.string(), + projectId: types.optional(types.string()), + }) +); export function twoHundredAndTwentyEightFromJSON( jsonString: string, @@ -2942,14 +3098,13 @@ export const TwoHundredAndTwentySeven$inboundSchema: z.ZodType< TwoHundredAndTwentySeven, z.ZodTypeDef, unknown -> = z.object({ - clientId: types.optional(types.string()), - environments: types.optional(z.array(types.string())), - issuerId: types.string(), - issuerName: types.string(), - kind: types.string(), - projectId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: types.string(), + issuerName: types.string(), + keyId: types.optional(types.string()), + }) +); export function twoHundredAndTwentySevenFromJSON( jsonString: string, @@ -2966,11 +3121,13 @@ export const TwoHundredAndTwentySix$inboundSchema: z.ZodType< TwoHundredAndTwentySix, z.ZodTypeDef, unknown -> = z.object({ - issuerId: types.string(), - issuerName: types.string(), - keyId: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + issuerId: types.string(), + issuerName: types.string(), + managedBy: types.optional(types.string()), + }) +); export function twoHundredAndTwentySixFromJSON( jsonString: string, @@ -2987,11 +3144,15 @@ export const TwoHundredAndTwentyFive$inboundSchema: z.ZodType< TwoHundredAndTwentyFive, z.ZodTypeDef, unknown -> = z.object({ - issuerId: types.string(), - issuerName: types.string(), - managedBy: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + algorithm: types.string(), + issuerId: types.string(), + issuerName: types.string(), + managedBy: types.optional(types.string()), + origin: types.string(), + }) +); export function twoHundredAndTwentyFiveFromJSON( jsonString: string, @@ -3008,13 +3169,15 @@ export const TwoHundredAndTwentyFour$inboundSchema: z.ZodType< TwoHundredAndTwentyFour, z.ZodTypeDef, unknown -> = z.object({ - algorithm: types.string(), - issuerId: types.string(), - issuerName: types.string(), - managedBy: types.optional(types.string()), - origin: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + accessTokenRotation: types.boolean(), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + permanentTokensExpireAt: types.optional(types.number()), + }) +); export function twoHundredAndTwentyFourFromJSON( jsonString: string, @@ -3031,13 +3194,14 @@ export const TwoHundredAndTwentyThree$inboundSchema: z.ZodType< TwoHundredAndTwentyThree, z.ZodTypeDef, unknown -> = z.object({ - accessTokenRotation: types.boolean(), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - permanentTokensExpireAt: types.optional(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + previousSecretExpiresAt: types.nullable(types.number()), + }) +); export function twoHundredAndTwentyThreeFromJSON( jsonString: string, @@ -3049,17 +3213,30 @@ export function twoHundredAndTwentyThreeFromJSON( ); } +/** @internal */ +export const UserEventPayload222RequestKind$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload222RequestKind +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload222RequestKind) +); + /** @internal */ export const TwoHundredAndTwentyTwo$inboundSchema: z.ZodType< TwoHundredAndTwentyTwo, z.ZodTypeDef, unknown -> = z.object({ - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - previousSecretExpiresAt: types.nullable(types.number()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + errorCode: types.optional(types.string()), + integrationId: types.string(), + integrationProductSlug: types.string(), + integrationSlug: types.string(), + resourceId: types.string(), + key: types.string(), + requestKind: UserEventPayload222RequestKind$inboundSchema, + }) +); export function twoHundredAndTwentyTwoFromJSON( jsonString: string, @@ -3072,25 +3249,29 @@ export function twoHundredAndTwentyTwoFromJSON( } /** @internal */ -export const UserEventPayload221RequestKind$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload221RequestKind -> = z.nativeEnum(UserEventPayload221RequestKind); +export const UserEventPayloadRequestKind$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadRequestKind +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayloadRequestKind) +); /** @internal */ export const TwoHundredAndTwentyOne$inboundSchema: z.ZodType< TwoHundredAndTwentyOne, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - errorCode: types.optional(types.string()), - integrationId: types.string(), - integrationProductSlug: types.string(), - integrationSlug: types.string(), - resourceId: types.string(), - key: types.string(), - requestKind: UserEventPayload221RequestKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + errorCode: types.optional(types.string()), + integrationId: types.string(), + integrationProductSlug: types.string(), + integrationSlug: types.string(), + resourceId: types.string(), + keys: z.array(types.string()), + requestKind: UserEventPayloadRequestKind$inboundSchema, + }) +); export function twoHundredAndTwentyOneFromJSON( jsonString: string, @@ -3103,25 +3284,28 @@ export function twoHundredAndTwentyOneFromJSON( } /** @internal */ -export const UserEventPayloadRequestKind$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadRequestKind -> = z.nativeEnum(UserEventPayloadRequestKind); +export const PayloadRequestKind$inboundSchema: z.ZodNativeEnum< + typeof PayloadRequestKind +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadRequestKind)); /** @internal */ export const TwoHundredAndTwenty$inboundSchema: z.ZodType< TwoHundredAndTwenty, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - errorCode: types.optional(types.string()), - integrationId: types.string(), - integrationProductSlug: types.string(), - integrationSlug: types.string(), - resourceId: types.string(), - keys: z.array(types.string()), - requestKind: UserEventPayloadRequestKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + errorCode: types.optional(types.string()), + integrationId: types.string(), + integrationProductSlug: types.string(), + integrationSlug: types.string(), + resourceId: types.string(), + pattern: types.optional(types.string()), + requestKind: PayloadRequestKind$inboundSchema, + type: types.optional(types.string()), + }) +); export function twoHundredAndTwentyFromJSON( jsonString: string, @@ -3133,47 +3317,17 @@ export function twoHundredAndTwentyFromJSON( ); } -/** @internal */ -export const PayloadRequestKind$inboundSchema: z.ZodNativeEnum< - typeof PayloadRequestKind -> = z.nativeEnum(PayloadRequestKind); - -/** @internal */ -export const TwoHundredAndNineteen$inboundSchema: z.ZodType< - TwoHundredAndNineteen, - z.ZodTypeDef, - unknown -> = z.object({ - configurationId: types.string(), - errorCode: types.optional(types.string()), - integrationId: types.string(), - integrationProductSlug: types.string(), - integrationSlug: types.string(), - resourceId: types.string(), - pattern: types.optional(types.string()), - requestKind: PayloadRequestKind$inboundSchema, - type: types.optional(types.string()), -}); - -export function twoHundredAndNineteenFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => TwoHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndNineteen' from JSON`, - ); -} - /** @internal */ export const Commands$inboundSchema: z.ZodType< Commands, z.ZodTypeDef, unknown -> = z.object({ - command: types.string(), - errorCode: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + command: types.string(), + errorCode: types.optional(types.string()), + }) +); export function commandsFromJSON( jsonString: string, @@ -3186,34 +3340,36 @@ export function commandsFromJSON( } /** @internal */ -export const RequestKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(RequestKind); +export const RequestKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(RequestKind)); /** @internal */ -export const TwoHundredAndEighteen$inboundSchema: z.ZodType< - TwoHundredAndEighteen, +export const TwoHundredAndNineteen$inboundSchema: z.ZodType< + TwoHundredAndNineteen, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - errorCode: types.optional(types.string()), - integrationId: types.string(), - integrationProductSlug: types.string(), - integrationSlug: types.string(), - resourceId: types.string(), - commands: z.array(z.lazy(() => Commands$inboundSchema)), - errorIndex: types.optional(types.number()), - readonly: types.boolean(), - requestKind: RequestKind$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + errorCode: types.optional(types.string()), + integrationId: types.string(), + integrationProductSlug: types.string(), + integrationSlug: types.string(), + resourceId: types.string(), + commands: z.array(z.lazy(() => Commands$inboundSchema)), + errorIndex: types.optional(types.number()), + readonly: types.boolean(), + requestKind: RequestKind$inboundSchema, + }) +); -export function twoHundredAndEighteenFromJSON( +export function twoHundredAndNineteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEighteen' from JSON`, + (x) => TwoHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndNineteen' from JSON`, ); } @@ -3222,10 +3378,12 @@ export const PrimaryKey$inboundSchema: z.ZodType< PrimaryKey, z.ZodTypeDef, unknown -> = z.object({ - column: types.string(), - value: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + column: types.string(), + value: types.nullable(types.string()), + }) +); export function primaryKeyFromJSON( jsonString: string, @@ -3239,12 +3397,16 @@ export function primaryKeyFromJSON( /** @internal */ export const Queries$inboundSchema: z.ZodType = - z.object({ - command: types.nullable(types.string()), - primaryKey: types.optional(z.array(z.lazy(() => PrimaryKey$inboundSchema))), - rowCount: types.optional(types.number()), - tables: types.optional(z.array(types.string())), - }); + /* @__PURE__ */ lazySchema$(() => + z.object({ + command: types.nullable(types.string()), + primaryKey: types.optional( + z.array(z.lazy(() => PrimaryKey$inboundSchema)), + ), + rowCount: types.optional(types.number()), + tables: types.optional(z.array(types.string())), + }) + ); export function queriesFromJSON( jsonString: string, @@ -3257,71 +3419,77 @@ export function queriesFromJSON( } /** @internal */ -export const QueryType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(QueryType); +export const QueryType$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(QueryType)); /** @internal */ -export const TwoHundredAndSeventeen$inboundSchema: z.ZodType< - TwoHundredAndSeventeen, +export const TwoHundredAndEighteen$inboundSchema: z.ZodType< + TwoHundredAndEighteen, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - databaseName: types.string(), - errorCode: types.nullable(types.string()), - failedQueryIndex: types.nullable(types.number()), - integrationId: types.string(), - integrationProductSlug: types.string(), - integrationSlug: types.string(), - queries: z.array(z.lazy(() => Queries$inboundSchema)), - queryCount: types.number(), - queryType: QueryType$inboundSchema, - readonly: types.boolean(), - resourceId: types.string(), - rolledBack: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + databaseName: types.string(), + errorCode: types.nullable(types.string()), + failedQueryIndex: types.nullable(types.number()), + integrationId: types.string(), + integrationProductSlug: types.string(), + integrationSlug: types.string(), + queries: z.array(z.lazy(() => Queries$inboundSchema)), + queryCount: types.number(), + queryType: QueryType$inboundSchema, + readonly: types.boolean(), + resourceId: types.string(), + rolledBack: types.boolean(), + }) +); -export function twoHundredAndSeventeenFromJSON( +export function twoHundredAndEighteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSeventeen' from JSON`, + (x) => TwoHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEighteen' from JSON`, ); } /** @internal */ -export const TwoHundredAndSixteen$inboundSchema: z.ZodType< - TwoHundredAndSixteen, +export const TwoHundredAndSeventeen$inboundSchema: z.ZodType< + TwoHundredAndSeventeen, z.ZodTypeDef, unknown -> = z.object({ - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + }) +); -export function twoHundredAndSixteenFromJSON( +export function twoHundredAndSeventeenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndSixteen' from JSON`, + (x) => TwoHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSeventeen' from JSON`, ); } /** @internal */ -export const ProjectIds2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ProjectIds2); +export const ProjectIds2$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(ProjectIds2)); /** @internal */ export const ProjectIds$inboundSchema: z.ZodType< ProjectIds, z.ZodTypeDef, unknown -> = smartUnion([z.array(types.string()), ProjectIds2$inboundSchema]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([z.array(types.string()), ProjectIds2$inboundSchema]) +); export function projectIdsFromJSON( jsonString: string, @@ -3334,53 +3502,57 @@ export function projectIdsFromJSON( } /** @internal */ -export const TwoHundredAndFifteen$inboundSchema: z.ZodType< - TwoHundredAndFifteen, +export const TwoHundredAndSixteen$inboundSchema: z.ZodType< + TwoHundredAndSixteen, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - ownerId: types.string(), - projectIds: types.optional( - smartUnion([z.array(types.string()), ProjectIds2$inboundSchema]), - ), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + ownerId: types.string(), + projectIds: types.optional( + smartUnion([z.array(types.string()), ProjectIds2$inboundSchema]), + ), + }) +); -export function twoHundredAndFifteenFromJSON( +export function twoHundredAndSixteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFifteen' from JSON`, + (x) => TwoHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndSixteen' from JSON`, ); } /** @internal */ -export const TwoHundredAndFourteen$inboundSchema: z.ZodType< - TwoHundredAndFourteen, +export const TwoHundredAndFifteen$inboundSchema: z.ZodType< + TwoHundredAndFifteen, z.ZodTypeDef, unknown -> = z.object({ - billingPlanId: types.string(), - billingPlanName: types.optional(types.string()), - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - ownerId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + billingPlanId: types.string(), + billingPlanName: types.optional(types.string()), + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + ownerId: types.string(), + }) +); -export function twoHundredAndFourteenFromJSON( +export function twoHundredAndFifteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndFourteen' from JSON`, + (x) => TwoHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFifteen' from JSON`, ); } @@ -3389,12 +3561,14 @@ export const Configurations$inboundSchema: z.ZodType< Configurations, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.optional(types.string()), - integrationSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.optional(types.string()), + integrationSlug: types.string(), + }) +); export function configurationsFromJSON( jsonString: string, @@ -3407,22 +3581,24 @@ export function configurationsFromJSON( } /** @internal */ -export const TwoHundredAndThirteen$inboundSchema: z.ZodType< - TwoHundredAndThirteen, +export const TwoHundredAndFourteen$inboundSchema: z.ZodType< + TwoHundredAndFourteen, z.ZodTypeDef, unknown -> = z.object({ - configurations: z.array(z.lazy(() => Configurations$inboundSchema)), - ownerId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurations: z.array(z.lazy(() => Configurations$inboundSchema)), + ownerId: types.string(), + }) +); -export function twoHundredAndThirteenFromJSON( +export function twoHundredAndFourteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndThirteen' from JSON`, + (x) => TwoHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndFourteen' from JSON`, ); } @@ -3431,12 +3607,14 @@ export const PayloadIntegration$inboundSchema: z.ZodType< PayloadIntegration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function payloadIntegrationFromJSON( jsonString: string, @@ -3449,23 +3627,25 @@ export function payloadIntegrationFromJSON( } /** @internal */ -export const TwoHundredAndTwelve$inboundSchema: z.ZodType< - TwoHundredAndTwelve, +export const TwoHundredAndThirteen$inboundSchema: z.ZodType< + TwoHundredAndThirteen, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => PayloadIntegration$inboundSchema), - originTeamId: types.string(), - originTeamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => PayloadIntegration$inboundSchema), + originTeamId: types.string(), + originTeamName: types.string(), + }) +); -export function twoHundredAndTwelveFromJSON( +export function twoHundredAndThirteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndTwelve' from JSON`, + (x) => TwoHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndThirteen' from JSON`, ); } @@ -3474,12 +3654,14 @@ export const Integration$inboundSchema: z.ZodType< Integration, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - id: types.string(), - name: types.string(), - slug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + id: types.string(), + name: types.string(), + slug: types.string(), + }) +); export function integrationFromJSON( jsonString: string, @@ -3492,48 +3674,52 @@ export function integrationFromJSON( } /** @internal */ -export const TwoHundredAndEleven$inboundSchema: z.ZodType< - TwoHundredAndEleven, +export const TwoHundredAndTwelve$inboundSchema: z.ZodType< + TwoHundredAndTwelve, z.ZodTypeDef, unknown -> = z.object({ - integration: z.lazy(() => Integration$inboundSchema), - destinationTeamId: types.string(), - destinationTeamName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + integration: z.lazy(() => Integration$inboundSchema), + destinationTeamId: types.string(), + destinationTeamName: types.string(), + }) +); -export function twoHundredAndElevenFromJSON( +export function twoHundredAndTwelveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndEleven' from JSON`, + (x) => TwoHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndTwelve' from JSON`, ); } /** @internal */ -export const TwoHundredAndTen$inboundSchema: z.ZodType< - TwoHundredAndTen, +export const TwoHundredAndEleven$inboundSchema: z.ZodType< + TwoHundredAndEleven, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - confirmedScopes: z.array(types.string()), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), - ownerId: types.string(), - projectIds: types.optional(z.array(types.string())), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + confirmedScopes: z.array(types.string()), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + ownerId: types.string(), + projectIds: types.optional(z.array(types.string())), + }) +); -export function twoHundredAndTenFromJSON( +export function twoHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => TwoHundredAndTen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'TwoHundredAndTen' from JSON`, + (x) => TwoHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndEleven' from JSON`, ); } @@ -3542,10 +3728,12 @@ export const NewOwner$inboundSchema: z.ZodType< NewOwner, z.ZodTypeDef, unknown -> = z.object({ - id: types.string(), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + id: types.string(), + username: types.string(), + }) +); export function newOwnerFromJSON( jsonString: string, @@ -3557,19 +3745,45 @@ export function newOwnerFromJSON( ); } +/** @internal */ +export const TwoHundredAndTen$inboundSchema: z.ZodType< + TwoHundredAndTen, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.optional(types.string()), + integrationSlug: types.string(), + newOwner: types.nullable(z.lazy(() => NewOwner$inboundSchema)), + userId: types.string(), + }) +); + +export function twoHundredAndTenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TwoHundredAndTen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TwoHundredAndTen' from JSON`, + ); +} + /** @internal */ export const TwoHundredAndNine$inboundSchema: z.ZodType< TwoHundredAndNine, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.optional(types.string()), - integrationSlug: types.string(), - newOwner: types.nullable(z.lazy(() => NewOwner$inboundSchema)), - userId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configurationId: types.string(), + integrationId: types.string(), + integrationName: types.string(), + integrationSlug: types.string(), + }) +); export function twoHundredAndNineFromJSON( jsonString: string, @@ -3586,12 +3800,15 @@ export const TwoHundredAndEight$inboundSchema: z.ZodType< TwoHundredAndEight, z.ZodTypeDef, unknown -> = z.object({ - configurationId: types.string(), - integrationId: types.string(), - integrationName: types.string(), - integrationSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + fromDeploymentId: types.string(), + projectId: types.string(), + projectName: types.string(), + reason: types.optional(types.string()), + toDeploymentId: types.string(), + }) +); export function twoHundredAndEightFromJSON( jsonString: string, @@ -3603,18 +3820,43 @@ export function twoHundredAndEightFromJSON( ); } +/** @internal */ +export const FailureStage$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(FailureStage)); + +/** @internal */ +export const Outcome$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Outcome)); + +/** @internal */ +export const UserEventPayload207Provider$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload207Provider +> = /* @__PURE__ */ lazySchema$(() => + z.nativeEnum(UserEventPayload207Provider) +); + /** @internal */ export const TwoHundredAndSeven$inboundSchema: z.ZodType< TwoHundredAndSeven, z.ZodTypeDef, unknown -> = z.object({ - fromDeploymentId: types.string(), - projectId: types.string(), - projectName: types.string(), - reason: types.optional(types.string()), - toDeploymentId: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + actorAccountId: types.nullable(types.string()), + actorLogin: types.nullable(types.string()), + destinationBranch: types.nullable(types.string()), + destinationRepo: types.string(), + failureCode: types.optional(types.string()), + failureStage: types.optional(FailureStage$inboundSchema), + installationId: types.nullable(types.string()), + outcome: Outcome$inboundSchema, + provider: UserEventPayload207Provider$inboundSchema, + resultCommitSha: types.nullable(types.string()), + sourceCommitSha: types.nullable(types.string()), + sourceRepo: types.nullable(types.string()), + usedAppToken: types.boolean(), + }) +); export function twoHundredAndSevenFromJSON( jsonString: string, @@ -3626,39 +3868,16 @@ export function twoHundredAndSevenFromJSON( ); } -/** @internal */ -export const FailureStage$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(FailureStage); - -/** @internal */ -export const Outcome$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Outcome); - -/** @internal */ -export const UserEventPayload206Provider$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload206Provider -> = z.nativeEnum(UserEventPayload206Provider); - /** @internal */ export const TwoHundredAndSix$inboundSchema: z.ZodType< TwoHundredAndSix, z.ZodTypeDef, unknown -> = z.object({ - actorAccountId: types.nullable(types.string()), - actorLogin: types.nullable(types.string()), - destinationBranch: types.nullable(types.string()), - destinationRepo: types.string(), - failureCode: types.optional(types.string()), - failureStage: types.optional(FailureStage$inboundSchema), - installationId: types.nullable(types.string()), - outcome: Outcome$inboundSchema, - provider: UserEventPayload206Provider$inboundSchema, - resultCommitSha: types.nullable(types.string()), - sourceCommitSha: types.nullable(types.string()), - sourceRepo: types.nullable(types.string()), - usedAppToken: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + effectiveAt: types.number(), + }) +); export function twoHundredAndSixFromJSON( jsonString: string, @@ -3670,14 +3889,21 @@ export function twoHundredAndSixFromJSON( ); } +/** @internal */ +export const PayloadSource$inboundSchema: z.ZodNativeEnum< + typeof PayloadSource +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(PayloadSource)); + /** @internal */ export const TwoHundredAndFive$inboundSchema: z.ZodType< TwoHundredAndFive, z.ZodTypeDef, unknown -> = z.object({ - effectiveAt: types.number(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + source: PayloadSource$inboundSchema, + }) +); export function twoHundredAndFiveFromJSON( jsonString: string, @@ -3689,19 +3915,21 @@ export function twoHundredAndFiveFromJSON( ); } -/** @internal */ -export const PayloadSource$inboundSchema: z.ZodNativeEnum< - typeof PayloadSource -> = z.nativeEnum(PayloadSource); - /** @internal */ export const TwoHundredAndFour$inboundSchema: z.ZodType< TwoHundredAndFour, z.ZodTypeDef, unknown -> = z.object({ - source: PayloadSource$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + environment: types.string(), + expiresIn: types.number(), + flags: z.array(types.string()), + projectId: types.string(), + projectIds: z.array(types.string()), + projectName: types.optional(types.string()), + }) +); export function twoHundredAndFourFromJSON( jsonString: string, @@ -3713,19 +3941,21 @@ export function twoHundredAndFourFromJSON( ); } +/** @internal */ +export const UserEventPayload203Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload203Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload203Action)); + /** @internal */ export const TwoHundredAndThree$inboundSchema: z.ZodType< TwoHundredAndThree, z.ZodTypeDef, unknown -> = z.object({ - environment: types.string(), - expiresIn: types.number(), - flags: z.array(types.string()), - projectId: types.string(), - projectIds: z.array(types.string()), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: UserEventPayload203Action$inboundSchema, + }) +); export function twoHundredAndThreeFromJSON( jsonString: string, @@ -3737,19 +3967,19 @@ export function twoHundredAndThreeFromJSON( ); } -/** @internal */ -export const UserEventPayload202Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload202Action -> = z.nativeEnum(UserEventPayload202Action); - /** @internal */ export const TwoHundredAndTwo$inboundSchema: z.ZodType< TwoHundredAndTwo, z.ZodTypeDef, unknown -> = z.object({ - action: UserEventPayload202Action$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + newOwnerId: types.string(), + previousOwnerId: types.string(), + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); export function twoHundredAndTwoFromJSON( jsonString: string, @@ -3766,12 +3996,14 @@ export const TwoHundredAndOne$inboundSchema: z.ZodType< TwoHundredAndOne, z.ZodTypeDef, unknown -> = z.object({ - newOwnerId: types.string(), - previousOwnerId: types.string(), - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + consumerProjectId: types.string(), + consumerProjectName: types.optional(types.string()), + projectId: types.string(), + projectName: types.optional(types.string()), + }) +); export function twoHundredAndOneFromJSON( jsonString: string, @@ -3783,17 +4015,24 @@ export function twoHundredAndOneFromJSON( ); } +/** @internal */ +export const UserEventPayload200Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload200Action +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload200Action)); + /** @internal */ export const TwoHundred$inboundSchema: z.ZodType< TwoHundred, z.ZodTypeDef, unknown -> = z.object({ - consumerProjectId: types.string(), - consumerProjectName: types.optional(types.string()), - projectId: types.string(), - projectName: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(UserEventPayload200Action$inboundSchema), + active: types.boolean(), + projectId: types.string(), + rulesetName: types.string(), + }) +); export function twoHundredFromJSON( jsonString: string, @@ -3808,44 +4047,19 @@ export function twoHundredFromJSON( /** @internal */ export const UserEventPayload199Action$inboundSchema: z.ZodNativeEnum< typeof UserEventPayload199Action -> = z.nativeEnum(UserEventPayload199Action); - -/** @internal */ -export const OneHundredAndNinetyNine$inboundSchema: z.ZodType< - OneHundredAndNinetyNine, - z.ZodTypeDef, - unknown -> = z.object({ - action: types.optional(UserEventPayload199Action$inboundSchema), - active: types.boolean(), - projectId: types.string(), - rulesetName: types.string(), -}); - -export function oneHundredAndNinetyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndNinetyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetyNine' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload198Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload198Action -> = z.nativeEnum(UserEventPayload198Action); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload199Action)); /** @internal */ export const RuleGroups$inboundSchema: z.ZodType< RuleGroups, z.ZodTypeDef, unknown -> = z.object({ - action: types.optional(UserEventPayload198Action$inboundSchema), - active: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + action: types.optional(UserEventPayload199Action$inboundSchema), + active: types.boolean(), + }) +); export function ruleGroupsFromJSON( jsonString: string, @@ -3858,23 +4072,25 @@ export function ruleGroupsFromJSON( } /** @internal */ -export const OneHundredAndNinetyEight$inboundSchema: z.ZodType< - OneHundredAndNinetyEight, +export const OneHundredAndNinetyNine$inboundSchema: z.ZodType< + OneHundredAndNinetyNine, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - ruleGroups: z.record(z.lazy(() => RuleGroups$inboundSchema)), - rulesetName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + ruleGroups: z.record(z.lazy(() => RuleGroups$inboundSchema)), + rulesetName: types.string(), + }) +); -export function oneHundredAndNinetyEightFromJSON( +export function oneHundredAndNinetyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinetyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetyEight' from JSON`, + (x) => OneHundredAndNinetyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetyNine' from JSON`, ); } @@ -3883,7 +4099,7 @@ export const PayloadConfigChanges$inboundSchema: z.ZodType< PayloadConfigChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function payloadConfigChangesFromJSON( jsonString: string, @@ -3896,26 +4112,28 @@ export function payloadConfigChangesFromJSON( } /** @internal */ -export const OneHundredAndNinetySeven$inboundSchema: z.ZodType< - OneHundredAndNinetySeven, +export const OneHundredAndNinetyEight$inboundSchema: z.ZodType< + OneHundredAndNinetyEight, z.ZodTypeDef, unknown -> = z.object({ - configChangeCount: types.number(), - configChanges: z.array(z.lazy(() => PayloadConfigChanges$inboundSchema)), - configVersion: types.number(), - projectId: types.string(), - projectName: types.optional(types.string()), - restore: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configChangeCount: types.number(), + configChanges: z.array(z.lazy(() => PayloadConfigChanges$inboundSchema)), + configVersion: types.number(), + projectId: types.string(), + projectName: types.optional(types.string()), + restore: types.boolean(), + }) +); -export function oneHundredAndNinetySevenFromJSON( +export function oneHundredAndNinetyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinetySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetySeven' from JSON`, + (x) => OneHundredAndNinetyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetyEight' from JSON`, ); } @@ -3924,7 +4142,7 @@ export const ConfigChanges$inboundSchema: z.ZodType< ConfigChanges, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function configChangesFromJSON( jsonString: string, @@ -3941,7 +4159,9 @@ export const UserEventPayloadConfigVersion$inboundSchema: z.ZodType< UserEventPayloadConfigVersion, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function userEventPayloadConfigVersionFromJSON( jsonString: string, @@ -3954,25 +4174,27 @@ export function userEventPayloadConfigVersionFromJSON( } /** @internal */ -export const OneHundredAndNinetySix$inboundSchema: z.ZodType< - OneHundredAndNinetySix, +export const OneHundredAndNinetySeven$inboundSchema: z.ZodType< + OneHundredAndNinetySeven, z.ZodTypeDef, unknown -> = z.object({ - configChangeCount: types.optional(types.number()), - configChanges: types.optional( - z.array(z.lazy(() => ConfigChanges$inboundSchema)), - ), - configVersion: smartUnion([types.string(), types.number()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configChangeCount: types.optional(types.number()), + configChanges: types.optional( + z.array(z.lazy(() => ConfigChanges$inboundSchema)), + ), + configVersion: smartUnion([types.string(), types.number()]), + }) +); -export function oneHundredAndNinetySixFromJSON( +export function oneHundredAndNinetySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinetySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetySix' from JSON`, + (x) => OneHundredAndNinetySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetySeven' from JSON`, ); } @@ -3981,7 +4203,9 @@ export const PayloadConfigVersion$inboundSchema: z.ZodType< PayloadConfigVersion, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function payloadConfigVersionFromJSON( jsonString: string, @@ -3994,21 +4218,23 @@ export function payloadConfigVersionFromJSON( } /** @internal */ -export const OneHundredAndNinetyFive$inboundSchema: z.ZodType< - OneHundredAndNinetyFive, +export const OneHundredAndNinetySix$inboundSchema: z.ZodType< + OneHundredAndNinetySix, z.ZodTypeDef, unknown -> = z.object({ - configVersion: smartUnion([types.string(), types.number()]), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configVersion: smartUnion([types.string(), types.number()]), + }) +); -export function oneHundredAndNinetyFiveFromJSON( +export function oneHundredAndNinetySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNinetyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetyFive' from JSON`, + (x) => OneHundredAndNinetySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetySix' from JSON`, ); } @@ -4017,7 +4243,9 @@ export const ConfigVersion$inboundSchema: z.ZodType< ConfigVersion, z.ZodTypeDef, unknown -> = smartUnion([types.string(), types.number()]); +> = /* @__PURE__ */ lazySchema$(() => + smartUnion([types.string(), types.number()]) +); export function configVersionFromJSON( jsonString: string, @@ -4029,16 +4257,41 @@ export function configVersionFromJSON( ); } +/** @internal */ +export const OneHundredAndNinetyFive$inboundSchema: z.ZodType< + OneHundredAndNinetyFive, + z.ZodTypeDef, + unknown +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + configVersion: smartUnion([types.string(), types.number()]), + projectId: types.string(), + projectName: types.string(), + }) +); + +export function oneHundredAndNinetyFiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndNinetyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNinetyFive' from JSON`, + ); +} + /** @internal */ export const OneHundredAndNinetyFour$inboundSchema: z.ZodType< OneHundredAndNinetyFour, z.ZodTypeDef, unknown -> = z.object({ - configVersion: smartUnion([types.string(), types.number()]), - projectId: types.string(), - projectName: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + projectId: types.string(), + scope: types.string(), + source: types.string(), + }) +); export function oneHundredAndNinetyFourFromJSON( jsonString: string, @@ -4055,11 +4308,14 @@ export const OneHundredAndNinetyThree$inboundSchema: z.ZodType< OneHundredAndNinetyThree, z.ZodTypeDef, unknown -> = z.object({ - projectId: types.string(), - scope: types.string(), - source: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + expiresAt: z.nullable(types.number()).optional(), + projectId: types.string(), + scope: types.string(), + source: types.string(), + }) +); export function oneHundredAndNinetyThreeFromJSON( jsonString: string, @@ -4071,39 +4327,19 @@ export function oneHundredAndNinetyThreeFromJSON( ); } -/** @internal */ -export const OneHundredAndNinetyTwo$inboundSchema: z.ZodType< - OneHundredAndNinetyTwo, - z.ZodTypeDef, - unknown -> = z.object({ - expiresAt: z.nullable(types.number()).optional(), - projectId: types.string(), - scope: types.string(), - source: types.string(), -}); - -export function oneHundredAndNinetyTwoFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OneHundredAndNinetyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNinetyTwo' from JSON`, - ); -} - /** @internal */ export const UserEventLastEditedByPrincipal2$inboundSchema: z.ZodType< UserEventLastEditedByPrincipal2, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) +); export function userEventLastEditedByPrincipal2FromJSON( jsonString: string, @@ -4120,13 +4356,15 @@ export const UserEventLastEditedByPrincipal1$inboundSchema: z.ZodType< UserEventLastEditedByPrincipal1, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) +); export function userEventLastEditedByPrincipal1FromJSON( jsonString: string, @@ -4143,10 +4381,12 @@ export const PayloadLastEditedByPrincipal$inboundSchema: z.ZodType< PayloadLastEditedByPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventLastEditedByPrincipal1$inboundSchema), - z.lazy(() => UserEventLastEditedByPrincipal2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventLastEditedByPrincipal1$inboundSchema), + z.lazy(() => UserEventLastEditedByPrincipal2$inboundSchema), + ]) +); export function payloadLastEditedByPrincipalFromJSON( jsonString: string, @@ -4159,47 +4399,47 @@ export function payloadLastEditedByPrincipalFromJSON( } /** @internal */ -export const UserEventPayload191Target$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload191Target -> = z.nativeEnum(UserEventPayload191Target); +export const UserEventPayload192Target$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload192Target +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload192Target)); /** @internal */ -export const UserEventPayload191Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload191Type -> = z.nativeEnum(UserEventPayload191Type); +export const UserEventPayload192Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload192Type +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(UserEventPayload192Type)); /** @internal */ export const NewEnvVar$inboundSchema: z.ZodType< NewEnvVar, z.ZodTypeDef, unknown -> = z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + applyToAllCustomEnvironments: types.optional(types.boolean()), + comment: types.optional(types.string()), + created: types.optional(types.date()), + createdAt: types.optional(types.number()), + createdBy: z.nullable(types.string()).optional(), + customEnvironmentIds: types.optional(z.array(types.string())), + decrypted: types.optional(types.boolean()), + deletedAt: types.optional(types.number()), + deletedBy: z.nullable(types.string()).optional(), + id: types.optional(types.string()), + key: types.optional(types.string()), + lastEditedByDisplayName: types.optional(types.string()), + lastEditedByPrincipal: types.optional(z.union([ z.lazy(() => UserEventLastEditedByPrincipal1$inboundSchema), z.lazy(() => UserEventLastEditedByPrincipal2$inboundSchema), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional(z.array(UserEventPayload191Target$inboundSchema)), - type: types.optional(UserEventPayload191Type$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), -}); + ])), + ownerId: z.nullable(types.string()).optional(), + projectId: types.optional(z.array(types.string())), + target: types.optional(z.array(UserEventPayload192Target$inboundSchema)), + type: types.optional(UserEventPayload192Type$inboundSchema), + updatedAt: types.optional(types.number()), + updatedBy: z.nullable(types.string()).optional(), + value: types.optional(types.string()), + }) +); export function newEnvVarFromJSON( jsonString: string, @@ -4216,12 +4456,14 @@ export const UserEventLastEditedByPrincipalPayload2$inboundSchema: z.ZodType< UserEventLastEditedByPrincipalPayload2, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: types.string(), - type: types.literal("app"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: types.string(), + type: types.literal("app"), + }) +); export function userEventLastEditedByPrincipalPayload2FromJSON( jsonString: string, @@ -4239,13 +4481,15 @@ export const UserEventLastEditedByPrincipalPayload1$inboundSchema: z.ZodType< UserEventLastEditedByPrincipalPayload1, z.ZodTypeDef, unknown -> = z.object({ - avatar: types.optional(types.string()), - id: types.string(), - name: z.nullable(types.string()).optional(), - type: types.literal("user"), - username: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + avatar: types.optional(types.string()), + id: types.string(), + name: z.nullable(types.string()).optional(), + type: types.literal("user"), + username: types.string(), + }) +); export function userEventLastEditedByPrincipalPayload1FromJSON( jsonString: string, @@ -4263,10 +4507,12 @@ export const UserEventPayloadLastEditedByPrincipal$inboundSchema: z.ZodType< UserEventPayloadLastEditedByPrincipal, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventLastEditedByPrincipalPayload1$inboundSchema), - z.lazy(() => UserEventLastEditedByPrincipalPayload2$inboundSchema), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => UserEventLastEditedByPrincipalPayload1$inboundSchema), + z.lazy(() => UserEventLastEditedByPrincipalPayload2$inboundSchema), + ]) +); export function userEventPayloadLastEditedByPrincipalFromJSON( jsonString: string, @@ -4278,88 +4524,3 @@ export function userEventPayloadLastEditedByPrincipalFromJSON( `Failed to parse 'UserEventPayloadLastEditedByPrincipal' from JSON`, ); } - -/** @internal */ -export const UserEventPayload191OldEnvVarTarget$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload191OldEnvVarTarget -> = z.nativeEnum(UserEventPayload191OldEnvVarTarget); - -/** @internal */ -export const UserEventPayload191OldEnvVarType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload191OldEnvVarType -> = z.nativeEnum(UserEventPayload191OldEnvVarType); - -/** @internal */ -export const OldEnvVar$inboundSchema: z.ZodType< - OldEnvVar, - z.ZodTypeDef, - unknown -> = z.object({ - applyToAllCustomEnvironments: types.optional(types.boolean()), - comment: types.optional(types.string()), - created: types.optional(types.date()), - createdAt: types.optional(types.number()), - createdBy: z.nullable(types.string()).optional(), - customEnvironmentIds: types.optional(z.array(types.string())), - decrypted: types.optional(types.boolean()), - deletedAt: types.optional(types.number()), - deletedBy: z.nullable(types.string()).optional(), - id: types.optional(types.string()), - key: types.optional(types.string()), - lastEditedByDisplayName: types.optional(types.string()), - lastEditedByPrincipal: types.optional( - z.union([ - z.lazy(() => UserEventLastEditedByPrincipalPayload1$inboundSchema), - z.lazy(() => UserEventLastEditedByPrincipalPayload2$inboundSchema), - ]), - ), - ownerId: z.nullable(types.string()).optional(), - projectId: types.optional(z.array(types.string())), - target: types.optional( - z.array(UserEventPayload191OldEnvVarTarget$inboundSchema), - ), - type: types.optional(UserEventPayload191OldEnvVarType$inboundSchema), - updatedAt: types.optional(types.number()), - updatedBy: z.nullable(types.string()).optional(), - value: types.optional(types.string()), -}); - -export function oldEnvVarFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => OldEnvVar$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OldEnvVar' from JSON`, - ); -} - -/** @internal */ -export const PayloadNewTarget$inboundSchema: z.ZodNativeEnum< - typeof PayloadNewTarget -> = z.nativeEnum(PayloadNewTarget); - -/** @internal */ -export const PayloadOldTarget$inboundSchema: z.ZodNativeEnum< - typeof PayloadOldTarget -> = z.nativeEnum(PayloadOldTarget); - -/** @internal */ -export const NewProjects$inboundSchema: z.ZodType< - NewProjects, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: types.string(), - projectName: types.optional(types.string()), -}); - -export function newProjectsFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => NewProjects$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NewProjects' from JSON`, - ); -} diff --git a/src/models/vcrimagedetail.ts b/src/models/vcrimagedetail.ts index 6d47807abb..eea8a34f58 100644 --- a/src/models/vcrimagedetail.ts +++ b/src/models/vcrimagedetail.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -92,32 +92,34 @@ export type VcrImageDetail = { /** @internal */ export const VcrImageDetailKind$inboundSchema: z.ZodNativeEnum< typeof VcrImageDetailKind -> = z.nativeEnum(VcrImageDetailKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageDetailKind)); /** @internal */ export const VcrImageDetailStatus$inboundSchema: z.ZodNativeEnum< typeof VcrImageDetailStatus -> = z.nativeEnum(VcrImageDetailStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageDetailStatus)); /** @internal */ export const VcrImageDetail$inboundSchema: z.ZodType< VcrImageDetail, z.ZodTypeDef, unknown -> = z.object({ - arch: types.optional(types.string()), - createdAt: types.string(), - id: types.string(), - kind: VcrImageDetailKind$inboundSchema, - layers: z.array(VcrImageLayer$inboundSchema), - manifestDigest: types.string(), - platform: types.optional(types.string()), - pushedBy: types.optional(types.string()), - repositoryId: types.string(), - sizeInBytes: types.number(), - status: types.nullable(VcrImageDetailStatus$inboundSchema), - tags: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + arch: types.optional(types.string()), + createdAt: types.string(), + id: types.string(), + kind: VcrImageDetailKind$inboundSchema, + layers: z.array(VcrImageLayer$inboundSchema), + manifestDigest: types.string(), + platform: types.optional(types.string()), + pushedBy: types.optional(types.string()), + repositoryId: types.string(), + sizeInBytes: types.number(), + status: types.nullable(VcrImageDetailStatus$inboundSchema), + tags: z.array(types.string()), + }) +); export function vcrImageDetailFromJSON( jsonString: string, diff --git a/src/models/vcrimagelayer.ts b/src/models/vcrimagelayer.ts index d6231b2a87..7e302abf71 100644 --- a/src/models/vcrimagelayer.ts +++ b/src/models/vcrimagelayer.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -217,26 +217,28 @@ export type VcrImageLayer = /** @internal */ export const VcrImageLayer4Operation$inboundSchema: z.ZodNativeEnum< typeof VcrImageLayer4Operation -> = z.nativeEnum(VcrImageLayer4Operation); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageLayer4Operation)); /** @internal */ export const VcrImageLayer4Type$inboundSchema: z.ZodNativeEnum< typeof VcrImageLayer4Type -> = z.nativeEnum(VcrImageLayer4Type); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageLayer4Type)); /** @internal */ export const VcrImageLayer4$inboundSchema: z.ZodType< VcrImageLayer4, z.ZodTypeDef, unknown -> = z.object({ - createdBy: types.nullable(types.string()), - digest: types.nullable(types.string()), - operation: VcrImageLayer4Operation$inboundSchema, - sizeBytes: types.nullable(types.number()), - type: VcrImageLayer4Type$inboundSchema, - value: types.nullable(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdBy: types.nullable(types.string()), + digest: types.nullable(types.string()), + operation: VcrImageLayer4Operation$inboundSchema, + sizeBytes: types.nullable(types.number()), + type: VcrImageLayer4Type$inboundSchema, + value: types.nullable(types.string()), + }) +); export function vcrImageLayer4FromJSON( jsonString: string, @@ -251,21 +253,23 @@ export function vcrImageLayer4FromJSON( /** @internal */ export const VcrImageLayer3Operation$inboundSchema: z.ZodNativeEnum< typeof VcrImageLayer3Operation -> = z.nativeEnum(VcrImageLayer3Operation); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageLayer3Operation)); /** @internal */ export const VcrImageLayer3$inboundSchema: z.ZodType< VcrImageLayer3, z.ZodTypeDef, unknown -> = z.object({ - createdBy: types.nullable(types.string()), - digest: types.nullable(types.string()), - operation: VcrImageLayer3Operation$inboundSchema, - sizeBytes: types.nullable(types.number()), - env: types.nullable(types.string()), - type: types.literal("ENV"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdBy: types.nullable(types.string()), + digest: types.nullable(types.string()), + operation: VcrImageLayer3Operation$inboundSchema, + sizeBytes: types.nullable(types.number()), + env: types.nullable(types.string()), + type: types.literal("ENV"), + }) +); export function vcrImageLayer3FromJSON( jsonString: string, @@ -280,21 +284,23 @@ export function vcrImageLayer3FromJSON( /** @internal */ export const VcrImageLayerOperation$inboundSchema: z.ZodNativeEnum< typeof VcrImageLayerOperation -> = z.nativeEnum(VcrImageLayerOperation); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageLayerOperation)); /** @internal */ export const VcrImageLayer2$inboundSchema: z.ZodType< VcrImageLayer2, z.ZodTypeDef, unknown -> = z.object({ - createdBy: types.nullable(types.string()), - digest: types.nullable(types.string()), - operation: VcrImageLayerOperation$inboundSchema, - sizeBytes: types.nullable(types.number()), - command: types.nullable(types.string()), - type: types.literal("RUN"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdBy: types.nullable(types.string()), + digest: types.nullable(types.string()), + operation: VcrImageLayerOperation$inboundSchema, + sizeBytes: types.nullable(types.number()), + command: types.nullable(types.string()), + type: types.literal("RUN"), + }) +); export function vcrImageLayer2FromJSON( jsonString: string, @@ -307,24 +313,26 @@ export function vcrImageLayer2FromJSON( } /** @internal */ -export const Operation$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Operation); +export const Operation$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(Operation)); /** @internal */ export const VcrImageLayer1$inboundSchema: z.ZodType< VcrImageLayer1, z.ZodTypeDef, unknown -> = z.object({ - createdBy: types.nullable(types.string()), - digest: types.nullable(types.string()), - operation: Operation$inboundSchema, - sizeBytes: types.nullable(types.number()), - baseImage: types.nullable(types.string()), - collapsedDigests: z.array(types.string()), - collapsedLayerCount: types.number(), - type: types.literal("FROM"), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdBy: types.nullable(types.string()), + digest: types.nullable(types.string()), + operation: Operation$inboundSchema, + sizeBytes: types.nullable(types.number()), + baseImage: types.nullable(types.string()), + collapsedDigests: z.array(types.string()), + collapsedLayerCount: types.number(), + type: types.literal("FROM"), + }) +); export function vcrImageLayer1FromJSON( jsonString: string, @@ -341,56 +349,58 @@ export const VcrImageLayer$inboundSchema: z.ZodType< VcrImageLayer, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => VcrImageLayer1$inboundSchema), - z.lazy(() => VcrImageLayer2$inboundSchema), - z.lazy(() => VcrImageLayer3$inboundSchema), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("ADD") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("ARG") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("CMD") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("COPY") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("ENTRYPOINT") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("EXPOSE") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("HEALTHCHECK") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("LABEL") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("ONBUILD") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("SHELL") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("STOPSIGNAL") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("UNKNOWN") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("USER") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("VOLUME") }), - ), - z.lazy(() => VcrImageLayer4$inboundSchema).and( - z.object({ type: z.literal("WORKDIR") }), - ), -]); +> = /* @__PURE__ */ lazySchema$(() => + z.union([ + z.lazy(() => VcrImageLayer1$inboundSchema), + z.lazy(() => VcrImageLayer2$inboundSchema), + z.lazy(() => VcrImageLayer3$inboundSchema), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("ADD") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("ARG") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("CMD") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("COPY") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("ENTRYPOINT") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("EXPOSE") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("HEALTHCHECK") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("LABEL") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("ONBUILD") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("SHELL") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("STOPSIGNAL") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("UNKNOWN") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("USER") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("VOLUME") }), + ), + z.lazy(() => VcrImageLayer4$inboundSchema).and( + z.object({ type: z.literal("WORKDIR") }), + ), + ]) +); export function vcrImageLayerFromJSON( jsonString: string, diff --git a/src/models/vcrimagelist.ts b/src/models/vcrimagelist.ts index d3033c42c0..5db67ed74c 100644 --- a/src/models/vcrimagelist.ts +++ b/src/models/vcrimagelist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -28,10 +28,12 @@ export const VcrImageList$inboundSchema: z.ZodType< VcrImageList, z.ZodTypeDef, unknown -> = z.object({ - images: z.array(VcrImageListItem$inboundSchema), - nextCursor: types.optional(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + images: z.array(VcrImageListItem$inboundSchema), + nextCursor: types.optional(types.string()), + }) +); export function vcrImageListFromJSON( jsonString: string, diff --git a/src/models/vcrimagelistitem.ts b/src/models/vcrimagelistitem.ts index 7d2de12d91..26201ea240 100644 --- a/src/models/vcrimagelistitem.ts +++ b/src/models/vcrimagelistitem.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -90,31 +90,33 @@ export type VcrImageListItem = { /** @internal */ export const VcrImageListItemKind$inboundSchema: z.ZodNativeEnum< typeof VcrImageListItemKind -> = z.nativeEnum(VcrImageListItemKind); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageListItemKind)); /** @internal */ export const VcrImageListItemStatus$inboundSchema: z.ZodNativeEnum< typeof VcrImageListItemStatus -> = z.nativeEnum(VcrImageListItemStatus); +> = /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrImageListItemStatus)); /** @internal */ export const VcrImageListItem$inboundSchema: z.ZodType< VcrImageListItem, z.ZodTypeDef, unknown -> = z.object({ - arch: types.optional(types.string()), - createdAt: types.string(), - id: types.string(), - kind: VcrImageListItemKind$inboundSchema, - manifestDigest: types.string(), - platform: types.optional(types.string()), - pushedBy: types.optional(types.string()), - repositoryId: types.string(), - sizeInBytes: types.number(), - status: types.nullable(VcrImageListItemStatus$inboundSchema), - tags: z.array(types.string()), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + arch: types.optional(types.string()), + createdAt: types.string(), + id: types.string(), + kind: VcrImageListItemKind$inboundSchema, + manifestDigest: types.string(), + platform: types.optional(types.string()), + pushedBy: types.optional(types.string()), + repositoryId: types.string(), + sizeInBytes: types.number(), + status: types.nullable(VcrImageListItemStatus$inboundSchema), + tags: z.array(types.string()), + }) +); export function vcrImageListItemFromJSON( jsonString: string, diff --git a/src/models/vcrrepository.ts b/src/models/vcrrepository.ts index c32c63aad4..899941a05b 100644 --- a/src/models/vcrrepository.ts +++ b/src/models/vcrrepository.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -43,14 +43,16 @@ export const VcrRepository$inboundSchema: z.ZodType< VcrRepository, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - id: types.string(), - name: types.string(), - projectId: types.string(), - public: types.boolean(), - updatedAt: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + id: types.string(), + name: types.string(), + projectId: types.string(), + public: types.boolean(), + updatedAt: types.string(), + }) +); export function vcrRepositoryFromJSON( jsonString: string, diff --git a/src/models/vcrrepositorylist.ts b/src/models/vcrrepositorylist.ts index 3dd6287be9..d87946d1e3 100644 --- a/src/models/vcrrepositorylist.ts +++ b/src/models/vcrrepositorylist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -25,10 +25,12 @@ export const VcrRepositoryList$inboundSchema: z.ZodType< VcrRepositoryList, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.optional(types.string()), - repositories: z.array(VcrRepository$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.optional(types.string()), + repositories: z.array(VcrRepository$inboundSchema), + }) +); export function vcrRepositoryListFromJSON( jsonString: string, diff --git a/src/models/vcrrepositorypermission.ts b/src/models/vcrrepositorypermission.ts index 4fc7b6a324..977b722522 100644 --- a/src/models/vcrrepositorypermission.ts +++ b/src/models/vcrrepositorypermission.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,12 +35,14 @@ export const VcrRepositoryPermission$inboundSchema: z.ZodType< VcrRepositoryPermission, z.ZodTypeDef, unknown -> = z.object({ - createdAt: types.string(), - repositoryId: types.string(), - teamId: types.string(), - teamSlug: types.string(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + createdAt: types.string(), + repositoryId: types.string(), + teamId: types.string(), + teamSlug: types.string(), + }) +); export function vcrRepositoryPermissionFromJSON( jsonString: string, diff --git a/src/models/vcrrepositorypermissionlist.ts b/src/models/vcrrepositorypermissionlist.ts index a17bc6a456..a016c87d09 100644 --- a/src/models/vcrrepositorypermissionlist.ts +++ b/src/models/vcrrepositorypermissionlist.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -28,10 +28,12 @@ export const VcrRepositoryPermissionList$inboundSchema: z.ZodType< VcrRepositoryPermissionList, z.ZodTypeDef, unknown -> = z.object({ - nextCursor: types.optional(types.string()), - permissions: z.array(VcrRepositoryPermission$inboundSchema), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + nextCursor: types.optional(types.string()), + permissions: z.array(VcrRepositoryPermission$inboundSchema), + }) +); export function vcrRepositoryPermissionListFromJSON( jsonString: string, diff --git a/src/models/vcrtag.ts b/src/models/vcrtag.ts index 448bd1f001..895a88f1a3 100644 --- a/src/models/vcrtag.ts +++ b/src/models/vcrtag.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; @@ -88,28 +88,30 @@ export type VcrTag = { }; /** @internal */ -export const VcrTagKind$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(VcrTagKind); +export const VcrTagKind$inboundSchema: z.ZodNativeEnum = + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrTagKind)); /** @internal */ export const VcrTagStatus$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(VcrTagStatus); + /* @__PURE__ */ lazySchema$(() => z.nativeEnum(VcrTagStatus)); /** @internal */ -export const VcrTag$inboundSchema: z.ZodType = z - .object({ - arch: types.optional(types.string()), - createdAt: types.string(), - imageId: types.string(), - kind: VcrTagKind$inboundSchema, - manifestDigest: types.string(), - platform: types.optional(types.string()), - pushedBy: types.optional(types.string()), - sizeInBytes: types.number(), - status: types.nullable(VcrTagStatus$inboundSchema), - tag: types.string(), - updatedAt: types.string(), - }); +export const VcrTag$inboundSchema: z.ZodType = + /* @__PURE__ */ lazySchema$(() => + z.object({ + arch: types.optional(types.string()), + createdAt: types.string(), + imageId: types.string(), + kind: VcrTagKind$inboundSchema, + manifestDigest: types.string(), + platform: types.optional(types.string()), + pushedBy: types.optional(types.string()), + sizeInBytes: types.number(), + status: types.nullable(VcrTagStatus$inboundSchema), + tag: types.string(), + updatedAt: types.string(), + }) + ); export function vcrTagFromJSON( jsonString: string, diff --git a/src/models/verifyprojectdomainop.ts b/src/models/verifyprojectdomainop.ts index 728b7d97c4..60d36b792a 100644 --- a/src/models/verifyprojectdomainop.ts +++ b/src/models/verifyprojectdomainop.ts @@ -3,7 +3,7 @@ */ import * as z from "zod/v3"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -62,12 +62,14 @@ export const VerifyProjectDomainRequest$outboundSchema: z.ZodType< VerifyProjectDomainRequest$Outbound, z.ZodTypeDef, VerifyProjectDomainRequest -> = z.object({ - idOrName: z.string(), - domain: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + idOrName: z.string(), + domain: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }) +); export function verifyProjectDomainRequestToJSON( verifyProjectDomainRequest: VerifyProjectDomainRequest, @@ -82,18 +84,20 @@ export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType< VerifyProjectDomainResponseBody, z.ZodTypeDef, unknown -> = z.object({ - apexName: types.string(), - createdAt: types.optional(types.number()), - customEnvironmentId: z.nullable(types.string()).optional(), - gitBranch: z.nullable(types.string()).optional(), - name: types.string(), - projectId: types.string(), - redirect: z.nullable(types.string()).optional(), - redirectStatusCode: z.nullable(types.number()).optional(), - updatedAt: types.optional(types.number()), - verified: types.boolean(), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + apexName: types.string(), + createdAt: types.optional(types.number()), + customEnvironmentId: z.nullable(types.string()).optional(), + gitBranch: z.nullable(types.string()).optional(), + name: types.string(), + projectId: types.string(), + redirect: z.nullable(types.string()).optional(), + redirectStatusCode: z.nullable(types.number()).optional(), + updatedAt: types.optional(types.number()), + verified: types.boolean(), + }) +); export function verifyProjectDomainResponseBodyFromJSON( jsonString: string, diff --git a/src/models/writesessioncommandstdinop.ts b/src/models/writesessioncommandstdinop.ts index 9b5f92af50..70b9693f6e 100644 --- a/src/models/writesessioncommandstdinop.ts +++ b/src/models/writesessioncommandstdinop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import * as types from "../types/primitives.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -71,11 +71,13 @@ export const WriteSessionCommandStdinRequestBody$outboundSchema: z.ZodType< WriteSessionCommandStdinRequestBody$Outbound, z.ZodTypeDef, WriteSessionCommandStdinRequestBody -> = z.object({ - data: z.string().optional(), - offset: z.number().int().optional(), - close: z.boolean().default(false), -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + data: z.string().optional(), + offset: z.number().int().optional(), + close: z.boolean().default(false), + }) +); export function writeSessionCommandStdinRequestBodyToJSON( writeSessionCommandStdinRequestBody: WriteSessionCommandStdinRequestBody, @@ -101,18 +103,21 @@ export const WriteSessionCommandStdinRequest$outboundSchema: z.ZodType< WriteSessionCommandStdinRequest$Outbound, z.ZodTypeDef, WriteSessionCommandStdinRequest -> = z.object({ - cmdId: z.string(), - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), - requestBody: z.lazy(() => WriteSessionCommandStdinRequestBody$outboundSchema) - .optional(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + cmdId: z.string(), + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => + WriteSessionCommandStdinRequestBody$outboundSchema + ).optional(), + }).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); + }) +); export function writeSessionCommandStdinRequestToJSON( writeSessionCommandStdinRequest: WriteSessionCommandStdinRequest, @@ -129,10 +134,12 @@ export const WriteSessionCommandStdinResponseBody$inboundSchema: z.ZodType< WriteSessionCommandStdinResponseBody, z.ZodTypeDef, unknown -> = z.object({ - bytesWritten: types.optional(types.number()), - command: SessionCommand$inboundSchema, -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + bytesWritten: types.optional(types.number()), + command: SessionCommand$inboundSchema, + }) +); export function writeSessionCommandStdinResponseBodyFromJSON( jsonString: string, diff --git a/src/models/writesessionfilesop.ts b/src/models/writesessionfilesop.ts index 2bfdd48ac3..f556c0dde9 100644 --- a/src/models/writesessionfilesop.ts +++ b/src/models/writesessionfilesop.ts @@ -4,7 +4,7 @@ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; +import { lazySchema as lazySchema$, safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -45,16 +45,18 @@ export const WriteSessionFilesRequest$outboundSchema: z.ZodType< WriteSessionFilesRequest$Outbound, z.ZodTypeDef, WriteSessionFilesRequest -> = z.object({ - xCwd: z.string().optional(), - sessionId: z.string(), - teamId: z.string().optional(), - slug: z.string().optional(), -}).transform((v) => { - return remap$(v, { - xCwd: "x-cwd", - }); -}); +> = /* @__PURE__ */ lazySchema$(() => + z.object({ + xCwd: z.string().optional(), + sessionId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + }).transform((v) => { + return remap$(v, { + xCwd: "x-cwd", + }); + }) +); export function writeSessionFilesRequestToJSON( writeSessionFilesRequest: WriteSessionFilesRequest, @@ -69,7 +71,7 @@ export const WriteSessionFilesResponseBody$inboundSchema: z.ZodType< WriteSessionFilesResponseBody, z.ZodTypeDef, unknown -> = z.object({}); +> = /* @__PURE__ */ lazySchema$(() => z.object({})); export function writeSessionFilesResponseBodyFromJSON( jsonString: string, diff --git a/src/node.ts b/src/node.ts new file mode 100644 index 0000000000..a2a4d02918 --- /dev/null +++ b/src/node.ts @@ -0,0 +1,9 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +export * from "./lib/config.js"; +export * as files from "./lib/files.js"; +export { HTTPClient } from "./lib/http.js"; +export type { Fetcher, HTTPClientOptions } from "./lib/http.js"; +export * from "./sdk/sdk.lazy.js"; diff --git a/src/sdk/accessgroups.lazy.ts b/src/sdk/accessgroups.lazy.ts new file mode 100644 index 0000000000..ada7866961 --- /dev/null +++ b/src/sdk/accessgroups.lazy.ts @@ -0,0 +1,454 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateAccessGroupRequest, + CreateAccessGroupResponseBody, +} from "../models/createaccessgroupop.js"; +import { + CreateAccessGroupProjectRequest, + CreateAccessGroupProjectResponseBody, +} from "../models/createaccessgroupprojectop.js"; +import { DeleteAccessGroupRequest } from "../models/deleteaccessgroupop.js"; +import { DeleteAccessGroupProjectRequest } from "../models/deleteaccessgroupprojectop.js"; +import { + ListAccessGroupMembersRequest, + ListAccessGroupMembersResponseBody, +} from "../models/listaccessgroupmembersop.js"; +import { + ListAccessGroupProjectsRequest, + ListAccessGroupProjectsResponseBody, +} from "../models/listaccessgroupprojectsop.js"; +import { + ListAccessGroupsRequest, + ListAccessGroupsResponseBody, +} from "../models/listaccessgroupsop.js"; +import { + ReadAccessGroupRequest, + ReadAccessGroupResponseBody, +} from "../models/readaccessgroupop.js"; +import { + ReadAccessGroupProjectRequest, + ReadAccessGroupProjectResponseBody, +} from "../models/readaccessgroupprojectop.js"; +import { + UpdateAccessGroupRequest, + UpdateAccessGroupResponseBody, +} from "../models/updateaccessgroupop.js"; +import { + UpdateAccessGroupProjectRequest, + UpdateAccessGroupProjectResponseBody, +} from "../models/updateaccessgroupprojectop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let accessGroupsReadAccessGroup$module: + | Promise + | undefined; +const accessGroupsReadAccessGroup = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsReadAccessGroup.js").accessGroupsReadAccessGroup + > + ) => + new APIPromise( + (accessGroupsReadAccessGroup$module ??= import( + "../funcs/accessGroupsReadAccessGroup.js" + ).catch((error: unknown) => { + accessGroupsReadAccessGroup$module = undefined; + throw error; + })).then((module) => + module.accessGroupsReadAccessGroup(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsReadAccessGroup.js").accessGroupsReadAccessGroup; + +let accessGroupsUpdateAccessGroup$module: + | Promise + | undefined; +const accessGroupsUpdateAccessGroup = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsUpdateAccessGroup.js").accessGroupsUpdateAccessGroup + > + ) => + new APIPromise( + (accessGroupsUpdateAccessGroup$module ??= import( + "../funcs/accessGroupsUpdateAccessGroup.js" + ).catch((error: unknown) => { + accessGroupsUpdateAccessGroup$module = undefined; + throw error; + })).then((module) => + module.accessGroupsUpdateAccessGroup(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsUpdateAccessGroup.js").accessGroupsUpdateAccessGroup; + +let accessGroupsDeleteAccessGroup$module: + | Promise + | undefined; +const accessGroupsDeleteAccessGroup = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsDeleteAccessGroup.js").accessGroupsDeleteAccessGroup + > + ) => + new APIPromise( + (accessGroupsDeleteAccessGroup$module ??= import( + "../funcs/accessGroupsDeleteAccessGroup.js" + ).catch((error: unknown) => { + accessGroupsDeleteAccessGroup$module = undefined; + throw error; + })).then((module) => + module.accessGroupsDeleteAccessGroup(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsDeleteAccessGroup.js").accessGroupsDeleteAccessGroup; + +let accessGroupsListAccessGroupMembers$module: + | Promise + | undefined; +const accessGroupsListAccessGroupMembers = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsListAccessGroupMembers.js").accessGroupsListAccessGroupMembers + > + ) => + new APIPromise( + (accessGroupsListAccessGroupMembers$module ??= import( + "../funcs/accessGroupsListAccessGroupMembers.js" + ).catch((error: unknown) => { + accessGroupsListAccessGroupMembers$module = undefined; + throw error; + })).then((module) => + module.accessGroupsListAccessGroupMembers(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsListAccessGroupMembers.js").accessGroupsListAccessGroupMembers; + +let accessGroupsListAccessGroups$module: + | Promise + | undefined; +const accessGroupsListAccessGroups = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsListAccessGroups.js").accessGroupsListAccessGroups + > + ) => + new APIPromise( + (accessGroupsListAccessGroups$module ??= import( + "../funcs/accessGroupsListAccessGroups.js" + ).catch((error: unknown) => { + accessGroupsListAccessGroups$module = undefined; + throw error; + })).then((module) => + module.accessGroupsListAccessGroups(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsListAccessGroups.js").accessGroupsListAccessGroups; + +let accessGroupsCreateAccessGroup$module: + | Promise + | undefined; +const accessGroupsCreateAccessGroup = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsCreateAccessGroup.js").accessGroupsCreateAccessGroup + > + ) => + new APIPromise( + (accessGroupsCreateAccessGroup$module ??= import( + "../funcs/accessGroupsCreateAccessGroup.js" + ).catch((error: unknown) => { + accessGroupsCreateAccessGroup$module = undefined; + throw error; + })).then((module) => + module.accessGroupsCreateAccessGroup(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsCreateAccessGroup.js").accessGroupsCreateAccessGroup; + +let accessGroupsListAccessGroupProjects$module: + | Promise + | undefined; +const accessGroupsListAccessGroupProjects = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsListAccessGroupProjects.js").accessGroupsListAccessGroupProjects + > + ) => + new APIPromise( + (accessGroupsListAccessGroupProjects$module ??= import( + "../funcs/accessGroupsListAccessGroupProjects.js" + ).catch((error: unknown) => { + accessGroupsListAccessGroupProjects$module = undefined; + throw error; + })).then((module) => + module.accessGroupsListAccessGroupProjects(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsListAccessGroupProjects.js").accessGroupsListAccessGroupProjects; + +let accessGroupsCreateAccessGroupProject$module: + | Promise + | undefined; +const accessGroupsCreateAccessGroupProject = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsCreateAccessGroupProject.js").accessGroupsCreateAccessGroupProject + > + ) => + new APIPromise( + (accessGroupsCreateAccessGroupProject$module ??= import( + "../funcs/accessGroupsCreateAccessGroupProject.js" + ).catch((error: unknown) => { + accessGroupsCreateAccessGroupProject$module = undefined; + throw error; + })).then((module) => + module.accessGroupsCreateAccessGroupProject(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsCreateAccessGroupProject.js").accessGroupsCreateAccessGroupProject; + +let accessGroupsReadAccessGroupProject$module: + | Promise + | undefined; +const accessGroupsReadAccessGroupProject = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsReadAccessGroupProject.js").accessGroupsReadAccessGroupProject + > + ) => + new APIPromise( + (accessGroupsReadAccessGroupProject$module ??= import( + "../funcs/accessGroupsReadAccessGroupProject.js" + ).catch((error: unknown) => { + accessGroupsReadAccessGroupProject$module = undefined; + throw error; + })).then((module) => + module.accessGroupsReadAccessGroupProject(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsReadAccessGroupProject.js").accessGroupsReadAccessGroupProject; + +let accessGroupsUpdateAccessGroupProject$module: + | Promise + | undefined; +const accessGroupsUpdateAccessGroupProject = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsUpdateAccessGroupProject.js").accessGroupsUpdateAccessGroupProject + > + ) => + new APIPromise( + (accessGroupsUpdateAccessGroupProject$module ??= import( + "../funcs/accessGroupsUpdateAccessGroupProject.js" + ).catch((error: unknown) => { + accessGroupsUpdateAccessGroupProject$module = undefined; + throw error; + })).then((module) => + module.accessGroupsUpdateAccessGroupProject(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsUpdateAccessGroupProject.js").accessGroupsUpdateAccessGroupProject; + +let accessGroupsDeleteAccessGroupProject$module: + | Promise + | undefined; +const accessGroupsDeleteAccessGroupProject = + (( + ...args: Parameters< + typeof import("../funcs/accessGroupsDeleteAccessGroupProject.js").accessGroupsDeleteAccessGroupProject + > + ) => + new APIPromise( + (accessGroupsDeleteAccessGroupProject$module ??= import( + "../funcs/accessGroupsDeleteAccessGroupProject.js" + ).catch((error: unknown) => { + accessGroupsDeleteAccessGroupProject$module = undefined; + throw error; + })).then((module) => + module.accessGroupsDeleteAccessGroupProject(...args).$inspect() + ), + )) as typeof import("../funcs/accessGroupsDeleteAccessGroupProject.js").accessGroupsDeleteAccessGroupProject; + +export class AccessGroups extends ClientSDK { + /** + * Reads an access group + * + * @remarks + * Allows to read an access group + */ + async readAccessGroup( + request: ReadAccessGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsReadAccessGroup( + this, + request, + options, + )); + } + + /** + * Update an access group + * + * @remarks + * Allows to update an access group metadata + */ + async updateAccessGroup( + request: UpdateAccessGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsUpdateAccessGroup( + this, + request, + options, + )); + } + + /** + * Deletes an access group + * + * @remarks + * Allows to delete an access group + */ + async deleteAccessGroup( + request: DeleteAccessGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsDeleteAccessGroup( + this, + request, + options, + )); + } + + /** + * List members of an access group + * + * @remarks + * List members of an access group + */ + async listAccessGroupMembers( + request: ListAccessGroupMembersRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsListAccessGroupMembers( + this, + request, + options, + )); + } + + /** + * List access groups for a team, project or member + * + * @remarks + * List access groups + */ + async listAccessGroups( + request: ListAccessGroupsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsListAccessGroups( + this, + request, + options, + )); + } + + /** + * Creates an access group + * + * @remarks + * Allows to create an access group + */ + async createAccessGroup( + request: CreateAccessGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsCreateAccessGroup( + this, + request, + options, + )); + } + + /** + * List projects of an access group + * + * @remarks + * List projects of an access group + */ + async listAccessGroupProjects( + request: ListAccessGroupProjectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsListAccessGroupProjects( + this, + request, + options, + )); + } + + /** + * Create an access group project + * + * @remarks + * Allows creation of an access group project + */ + async createAccessGroupProject( + request: CreateAccessGroupProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsCreateAccessGroupProject( + this, + request, + options, + )); + } + + /** + * Reads an access group project + * + * @remarks + * Allows reading an access group project + */ + async readAccessGroupProject( + request: ReadAccessGroupProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsReadAccessGroupProject( + this, + request, + options, + )); + } + + /** + * Update an access group project + * + * @remarks + * Allows update of an access group project + */ + async updateAccessGroupProject( + request: UpdateAccessGroupProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsUpdateAccessGroupProject( + this, + request, + options, + )); + } + + /** + * Delete an access group project + * + * @remarks + * Allows deletion of an access group project + */ + async deleteAccessGroupProject( + request: DeleteAccessGroupProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accessGroupsDeleteAccessGroupProject( + this, + request, + options, + )); + } +} diff --git a/src/sdk/aigateway.lazy.ts b/src/sdk/aigateway.lazy.ts new file mode 100644 index 0000000000..bf3d4d1b2a --- /dev/null +++ b/src/sdk/aigateway.lazy.ts @@ -0,0 +1,1004 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { AiGatewayBudget } from "../models/aigatewaybudget.js"; +import { AiGatewayBudgetDefault } from "../models/aigatewaybudgetdefault.js"; +import { AiGatewayBudgetDefaultList } from "../models/aigatewaybudgetdefaultlist.js"; +import { AiGatewayBudgetList } from "../models/aigatewaybudgetlist.js"; +import { AiGatewayRouterList } from "../models/aigatewayrouterlist.js"; +import { AiGatewayRule } from "../models/aigatewayrule.js"; +import { AiGatewayRuleList } from "../models/aigatewayrulelist.js"; +import { AiGatewayVirtualModelConfig } from "../models/aigatewayvirtualmodelconfig.js"; +import { AiGatewayVirtualModelConfigList } from "../models/aigatewayvirtualmodelconfiglist.js"; +import { ArchiveAiGatewayBudgetDefaultRequest } from "../models/archiveaigatewaybudgetdefaultop.js"; +import { ArchiveAiGatewayBudgetRequest } from "../models/archiveaigatewaybudgetop.js"; +import { + CreateAiGatewayByokCredentialRequest, + CreateAiGatewayByokCredentialResponseBody, +} from "../models/createaigatewaybyokcredentialop.js"; +import { CreateAiGatewayRuleRequest } from "../models/createaigatewayruleop.js"; +import { CreateAiGatewayVirtualModelConfigRequest } from "../models/createaigatewayvirtualmodelconfigop.js"; +import { DeleteAiGatewayByokCredentialRequest } from "../models/deleteaigatewaybyokcredentialop.js"; +import { DeleteAiGatewayRuleRequest } from "../models/deleteaigatewayruleop.js"; +import { DeleteAiGatewayVirtualModelConfigBySlugRequest } from "../models/deleteaigatewayvirtualmodelconfigbyslugop.js"; +import { DeleteAiGatewayVirtualModelConfigRequest } from "../models/deleteaigatewayvirtualmodelconfigop.js"; +import { + GetAiGatewayByokCredentialRequest, + GetAiGatewayByokCredentialResponseBody, +} from "../models/getaigatewaybyokcredentialop.js"; +import { GetAiGatewayVirtualModelConfigBySlugRequest } from "../models/getaigatewayvirtualmodelconfigbyslugop.js"; +import { + GetAiGatewayVirtualModelConfigRequest, + GetAiGatewayVirtualModelConfigResponseBody, +} from "../models/getaigatewayvirtualmodelconfigop.js"; +import { ListAiGatewayBudgetDefaultsRequest } from "../models/listaigatewaybudgetdefaultsop.js"; +import { ListAiGatewayBudgetsRequest } from "../models/listaigatewaybudgetsop.js"; +import { + ListAiGatewayByokCredentialsRequest, + ListAiGatewayByokCredentialsResponseBody, +} from "../models/listaigatewaybyokcredentialsop.js"; +import { ListAiGatewayRoutersRequest } from "../models/listaigatewayroutersop.js"; +import { ListAiGatewayRulesRequest } from "../models/listaigatewayrulesop.js"; +import { ListAiGatewayVirtualModelConfigsRequest } from "../models/listaigatewayvirtualmodelconfigsop.js"; +import { + UpdateAiGatewayByokCredentialRequest, + UpdateAiGatewayByokCredentialResponseBody, +} from "../models/updateaigatewaybyokcredentialop.js"; +import { UpdateAiGatewayRuleRequest } from "../models/updateaigatewayruleop.js"; +import { UpdateAiGatewayVirtualModelConfigBySlugRequest } from "../models/updateaigatewayvirtualmodelconfigbyslugop.js"; +import { UpdateAiGatewayVirtualModelConfigRequest } from "../models/updateaigatewayvirtualmodelconfigop.js"; +import { + UpdateApiKeyQuotaRequest, + UpdateApiKeyQuotaResponseBody, +} from "../models/updateapikeyquotaop.js"; +import { UpsertAiGatewayBudgetDefaultRequest } from "../models/upsertaigatewaybudgetdefaultop.js"; +import { UpsertAiGatewayBudgetRequest } from "../models/upsertaigatewaybudgetop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let aiGatewayCreateAiGatewayByokCredential$module: + | Promise + | undefined; +const aiGatewayCreateAiGatewayByokCredential = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayCreateAiGatewayByokCredential.js").aiGatewayCreateAiGatewayByokCredential + > + ) => + new APIPromise( + (aiGatewayCreateAiGatewayByokCredential$module ??= import( + "../funcs/aiGatewayCreateAiGatewayByokCredential.js" + ).catch((error: unknown) => { + aiGatewayCreateAiGatewayByokCredential$module = undefined; + throw error; + })).then((module) => + module.aiGatewayCreateAiGatewayByokCredential(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayCreateAiGatewayByokCredential.js").aiGatewayCreateAiGatewayByokCredential; + +let aiGatewayListAiGatewayByokCredentials$module: + | Promise + | undefined; +const aiGatewayListAiGatewayByokCredentials = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayByokCredentials.js").aiGatewayListAiGatewayByokCredentials + > + ) => + new APIPromise( + (aiGatewayListAiGatewayByokCredentials$module ??= import( + "../funcs/aiGatewayListAiGatewayByokCredentials.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayByokCredentials$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayByokCredentials(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayByokCredentials.js").aiGatewayListAiGatewayByokCredentials; + +let aiGatewayGetAiGatewayByokCredential$module: + | Promise + | undefined; +const aiGatewayGetAiGatewayByokCredential = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayGetAiGatewayByokCredential.js").aiGatewayGetAiGatewayByokCredential + > + ) => + new APIPromise( + (aiGatewayGetAiGatewayByokCredential$module ??= import( + "../funcs/aiGatewayGetAiGatewayByokCredential.js" + ).catch((error: unknown) => { + aiGatewayGetAiGatewayByokCredential$module = undefined; + throw error; + })).then((module) => + module.aiGatewayGetAiGatewayByokCredential(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayGetAiGatewayByokCredential.js").aiGatewayGetAiGatewayByokCredential; + +let aiGatewayUpdateAiGatewayByokCredential$module: + | Promise + | undefined; +const aiGatewayUpdateAiGatewayByokCredential = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpdateAiGatewayByokCredential.js").aiGatewayUpdateAiGatewayByokCredential + > + ) => + new APIPromise( + (aiGatewayUpdateAiGatewayByokCredential$module ??= import( + "../funcs/aiGatewayUpdateAiGatewayByokCredential.js" + ).catch((error: unknown) => { + aiGatewayUpdateAiGatewayByokCredential$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpdateAiGatewayByokCredential(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpdateAiGatewayByokCredential.js").aiGatewayUpdateAiGatewayByokCredential; + +let aiGatewayDeleteAiGatewayByokCredential$module: + | Promise + | undefined; +const aiGatewayDeleteAiGatewayByokCredential = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayDeleteAiGatewayByokCredential.js").aiGatewayDeleteAiGatewayByokCredential + > + ) => + new APIPromise( + (aiGatewayDeleteAiGatewayByokCredential$module ??= import( + "../funcs/aiGatewayDeleteAiGatewayByokCredential.js" + ).catch((error: unknown) => { + aiGatewayDeleteAiGatewayByokCredential$module = undefined; + throw error; + })).then((module) => + module.aiGatewayDeleteAiGatewayByokCredential(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayDeleteAiGatewayByokCredential.js").aiGatewayDeleteAiGatewayByokCredential; + +let aiGatewayCreateAiGatewayVirtualModelConfig$module: + | Promise< + typeof import("../funcs/aiGatewayCreateAiGatewayVirtualModelConfig.js") + > + | undefined; +const aiGatewayCreateAiGatewayVirtualModelConfig = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayCreateAiGatewayVirtualModelConfig.js").aiGatewayCreateAiGatewayVirtualModelConfig + > + ) => + new APIPromise( + (aiGatewayCreateAiGatewayVirtualModelConfig$module ??= import( + "../funcs/aiGatewayCreateAiGatewayVirtualModelConfig.js" + ).catch((error: unknown) => { + aiGatewayCreateAiGatewayVirtualModelConfig$module = undefined; + throw error; + })).then((module) => + module.aiGatewayCreateAiGatewayVirtualModelConfig(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayCreateAiGatewayVirtualModelConfig.js").aiGatewayCreateAiGatewayVirtualModelConfig; + +let aiGatewayGetAiGatewayVirtualModelConfig$module: + | Promise< + typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfig.js") + > + | undefined; +const aiGatewayGetAiGatewayVirtualModelConfig = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfig.js").aiGatewayGetAiGatewayVirtualModelConfig + > + ) => + new APIPromise( + (aiGatewayGetAiGatewayVirtualModelConfig$module ??= import( + "../funcs/aiGatewayGetAiGatewayVirtualModelConfig.js" + ).catch((error: unknown) => { + aiGatewayGetAiGatewayVirtualModelConfig$module = undefined; + throw error; + })).then((module) => + module.aiGatewayGetAiGatewayVirtualModelConfig(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfig.js").aiGatewayGetAiGatewayVirtualModelConfig; + +let aiGatewayUpdateAiGatewayVirtualModelConfig$module: + | Promise< + typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfig.js") + > + | undefined; +const aiGatewayUpdateAiGatewayVirtualModelConfig = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfig.js").aiGatewayUpdateAiGatewayVirtualModelConfig + > + ) => + new APIPromise( + (aiGatewayUpdateAiGatewayVirtualModelConfig$module ??= import( + "../funcs/aiGatewayUpdateAiGatewayVirtualModelConfig.js" + ).catch((error: unknown) => { + aiGatewayUpdateAiGatewayVirtualModelConfig$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpdateAiGatewayVirtualModelConfig(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfig.js").aiGatewayUpdateAiGatewayVirtualModelConfig; + +let aiGatewayDeleteAiGatewayVirtualModelConfig$module: + | Promise< + typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfig.js") + > + | undefined; +const aiGatewayDeleteAiGatewayVirtualModelConfig = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfig.js").aiGatewayDeleteAiGatewayVirtualModelConfig + > + ) => + new APIPromise( + (aiGatewayDeleteAiGatewayVirtualModelConfig$module ??= import( + "../funcs/aiGatewayDeleteAiGatewayVirtualModelConfig.js" + ).catch((error: unknown) => { + aiGatewayDeleteAiGatewayVirtualModelConfig$module = undefined; + throw error; + })).then((module) => + module.aiGatewayDeleteAiGatewayVirtualModelConfig(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfig.js").aiGatewayDeleteAiGatewayVirtualModelConfig; + +let aiGatewayListAiGatewayVirtualModelConfigs$module: + | Promise< + typeof import("../funcs/aiGatewayListAiGatewayVirtualModelConfigs.js") + > + | undefined; +const aiGatewayListAiGatewayVirtualModelConfigs = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayVirtualModelConfigs.js").aiGatewayListAiGatewayVirtualModelConfigs + > + ) => + new APIPromise( + (aiGatewayListAiGatewayVirtualModelConfigs$module ??= import( + "../funcs/aiGatewayListAiGatewayVirtualModelConfigs.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayVirtualModelConfigs$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayVirtualModelConfigs(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayVirtualModelConfigs.js").aiGatewayListAiGatewayVirtualModelConfigs; + +let aiGatewayGetAiGatewayVirtualModelConfigBySlug$module: + | Promise< + typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.js") + > + | undefined; +const aiGatewayGetAiGatewayVirtualModelConfigBySlug = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.js").aiGatewayGetAiGatewayVirtualModelConfigBySlug + > + ) => + new APIPromise( + (aiGatewayGetAiGatewayVirtualModelConfigBySlug$module ??= import( + "../funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.js" + ).catch((error: unknown) => { + aiGatewayGetAiGatewayVirtualModelConfigBySlug$module = undefined; + throw error; + })).then((module) => + module.aiGatewayGetAiGatewayVirtualModelConfigBySlug(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayGetAiGatewayVirtualModelConfigBySlug.js").aiGatewayGetAiGatewayVirtualModelConfigBySlug; + +let aiGatewayUpdateAiGatewayVirtualModelConfigBySlug$module: + | Promise< + typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.js") + > + | undefined; +const aiGatewayUpdateAiGatewayVirtualModelConfigBySlug = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.js").aiGatewayUpdateAiGatewayVirtualModelConfigBySlug + > + ) => + new APIPromise( + (aiGatewayUpdateAiGatewayVirtualModelConfigBySlug$module ??= import( + "../funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.js" + ).catch((error: unknown) => { + aiGatewayUpdateAiGatewayVirtualModelConfigBySlug$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpdateAiGatewayVirtualModelConfigBySlug(...args) + .$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpdateAiGatewayVirtualModelConfigBySlug.js").aiGatewayUpdateAiGatewayVirtualModelConfigBySlug; + +let aiGatewayDeleteAiGatewayVirtualModelConfigBySlug$module: + | Promise< + typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.js") + > + | undefined; +const aiGatewayDeleteAiGatewayVirtualModelConfigBySlug = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.js").aiGatewayDeleteAiGatewayVirtualModelConfigBySlug + > + ) => + new APIPromise( + (aiGatewayDeleteAiGatewayVirtualModelConfigBySlug$module ??= import( + "../funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.js" + ).catch((error: unknown) => { + aiGatewayDeleteAiGatewayVirtualModelConfigBySlug$module = undefined; + throw error; + })).then((module) => + module.aiGatewayDeleteAiGatewayVirtualModelConfigBySlug(...args) + .$inspect() + ), + )) as typeof import("../funcs/aiGatewayDeleteAiGatewayVirtualModelConfigBySlug.js").aiGatewayDeleteAiGatewayVirtualModelConfigBySlug; + +let aiGatewayListAiGatewayRouters$module: + | Promise + | undefined; +const aiGatewayListAiGatewayRouters = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayRouters.js").aiGatewayListAiGatewayRouters + > + ) => + new APIPromise( + (aiGatewayListAiGatewayRouters$module ??= import( + "../funcs/aiGatewayListAiGatewayRouters.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayRouters$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayRouters(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayRouters.js").aiGatewayListAiGatewayRouters; + +let aiGatewayCreateAiGatewayRule$module: + | Promise + | undefined; +const aiGatewayCreateAiGatewayRule = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayCreateAiGatewayRule.js").aiGatewayCreateAiGatewayRule + > + ) => + new APIPromise( + (aiGatewayCreateAiGatewayRule$module ??= import( + "../funcs/aiGatewayCreateAiGatewayRule.js" + ).catch((error: unknown) => { + aiGatewayCreateAiGatewayRule$module = undefined; + throw error; + })).then((module) => + module.aiGatewayCreateAiGatewayRule(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayCreateAiGatewayRule.js").aiGatewayCreateAiGatewayRule; + +let aiGatewayListAiGatewayRules$module: + | Promise + | undefined; +const aiGatewayListAiGatewayRules = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayRules.js").aiGatewayListAiGatewayRules + > + ) => + new APIPromise( + (aiGatewayListAiGatewayRules$module ??= import( + "../funcs/aiGatewayListAiGatewayRules.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayRules$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayRules(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayRules.js").aiGatewayListAiGatewayRules; + +let aiGatewayUpdateAiGatewayRule$module: + | Promise + | undefined; +const aiGatewayUpdateAiGatewayRule = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpdateAiGatewayRule.js").aiGatewayUpdateAiGatewayRule + > + ) => + new APIPromise( + (aiGatewayUpdateAiGatewayRule$module ??= import( + "../funcs/aiGatewayUpdateAiGatewayRule.js" + ).catch((error: unknown) => { + aiGatewayUpdateAiGatewayRule$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpdateAiGatewayRule(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpdateAiGatewayRule.js").aiGatewayUpdateAiGatewayRule; + +let aiGatewayDeleteAiGatewayRule$module: + | Promise + | undefined; +const aiGatewayDeleteAiGatewayRule = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayDeleteAiGatewayRule.js").aiGatewayDeleteAiGatewayRule + > + ) => + new APIPromise( + (aiGatewayDeleteAiGatewayRule$module ??= import( + "../funcs/aiGatewayDeleteAiGatewayRule.js" + ).catch((error: unknown) => { + aiGatewayDeleteAiGatewayRule$module = undefined; + throw error; + })).then((module) => + module.aiGatewayDeleteAiGatewayRule(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayDeleteAiGatewayRule.js").aiGatewayDeleteAiGatewayRule; + +let aiGatewayListAiGatewayBudgets$module: + | Promise + | undefined; +const aiGatewayListAiGatewayBudgets = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayBudgets.js").aiGatewayListAiGatewayBudgets + > + ) => + new APIPromise( + (aiGatewayListAiGatewayBudgets$module ??= import( + "../funcs/aiGatewayListAiGatewayBudgets.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayBudgets$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayBudgets(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayBudgets.js").aiGatewayListAiGatewayBudgets; + +let aiGatewayUpsertAiGatewayBudget$module: + | Promise + | undefined; +const aiGatewayUpsertAiGatewayBudget = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpsertAiGatewayBudget.js").aiGatewayUpsertAiGatewayBudget + > + ) => + new APIPromise( + (aiGatewayUpsertAiGatewayBudget$module ??= import( + "../funcs/aiGatewayUpsertAiGatewayBudget.js" + ).catch((error: unknown) => { + aiGatewayUpsertAiGatewayBudget$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpsertAiGatewayBudget(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpsertAiGatewayBudget.js").aiGatewayUpsertAiGatewayBudget; + +let aiGatewayArchiveAiGatewayBudget$module: + | Promise + | undefined; +const aiGatewayArchiveAiGatewayBudget = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayArchiveAiGatewayBudget.js").aiGatewayArchiveAiGatewayBudget + > + ) => + new APIPromise( + (aiGatewayArchiveAiGatewayBudget$module ??= import( + "../funcs/aiGatewayArchiveAiGatewayBudget.js" + ).catch((error: unknown) => { + aiGatewayArchiveAiGatewayBudget$module = undefined; + throw error; + })).then((module) => + module.aiGatewayArchiveAiGatewayBudget(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayArchiveAiGatewayBudget.js").aiGatewayArchiveAiGatewayBudget; + +let aiGatewayListAiGatewayBudgetDefaults$module: + | Promise + | undefined; +const aiGatewayListAiGatewayBudgetDefaults = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayListAiGatewayBudgetDefaults.js").aiGatewayListAiGatewayBudgetDefaults + > + ) => + new APIPromise( + (aiGatewayListAiGatewayBudgetDefaults$module ??= import( + "../funcs/aiGatewayListAiGatewayBudgetDefaults.js" + ).catch((error: unknown) => { + aiGatewayListAiGatewayBudgetDefaults$module = undefined; + throw error; + })).then((module) => + module.aiGatewayListAiGatewayBudgetDefaults(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayListAiGatewayBudgetDefaults.js").aiGatewayListAiGatewayBudgetDefaults; + +let aiGatewayUpsertAiGatewayBudgetDefault$module: + | Promise + | undefined; +const aiGatewayUpsertAiGatewayBudgetDefault = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpsertAiGatewayBudgetDefault.js").aiGatewayUpsertAiGatewayBudgetDefault + > + ) => + new APIPromise( + (aiGatewayUpsertAiGatewayBudgetDefault$module ??= import( + "../funcs/aiGatewayUpsertAiGatewayBudgetDefault.js" + ).catch((error: unknown) => { + aiGatewayUpsertAiGatewayBudgetDefault$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpsertAiGatewayBudgetDefault(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpsertAiGatewayBudgetDefault.js").aiGatewayUpsertAiGatewayBudgetDefault; + +let aiGatewayArchiveAiGatewayBudgetDefault$module: + | Promise + | undefined; +const aiGatewayArchiveAiGatewayBudgetDefault = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayArchiveAiGatewayBudgetDefault.js").aiGatewayArchiveAiGatewayBudgetDefault + > + ) => + new APIPromise( + (aiGatewayArchiveAiGatewayBudgetDefault$module ??= import( + "../funcs/aiGatewayArchiveAiGatewayBudgetDefault.js" + ).catch((error: unknown) => { + aiGatewayArchiveAiGatewayBudgetDefault$module = undefined; + throw error; + })).then((module) => + module.aiGatewayArchiveAiGatewayBudgetDefault(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayArchiveAiGatewayBudgetDefault.js").aiGatewayArchiveAiGatewayBudgetDefault; + +let aiGatewayUpdateApiKeyQuota$module: + | Promise + | undefined; +const aiGatewayUpdateApiKeyQuota = + (( + ...args: Parameters< + typeof import("../funcs/aiGatewayUpdateApiKeyQuota.js").aiGatewayUpdateApiKeyQuota + > + ) => + new APIPromise( + (aiGatewayUpdateApiKeyQuota$module ??= import( + "../funcs/aiGatewayUpdateApiKeyQuota.js" + ).catch((error: unknown) => { + aiGatewayUpdateApiKeyQuota$module = undefined; + throw error; + })).then((module) => + module.aiGatewayUpdateApiKeyQuota(...args).$inspect() + ), + )) as typeof import("../funcs/aiGatewayUpdateApiKeyQuota.js").aiGatewayUpdateApiKeyQuota; + +export class AiGateway extends ClientSDK { + /** + * Create a BYOK credential + * + * @remarks + * Create a new BYOK credential + */ + async createAiGatewayByokCredential( + request: CreateAiGatewayByokCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayCreateAiGatewayByokCredential( + this, + request, + options, + )); + } + + /** + * List BYOK credentials + * + * @remarks + * List BYOK credentials for an owner, optionally filtered by provider + */ + async listAiGatewayByokCredentials( + request: ListAiGatewayByokCredentialsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayByokCredentials( + this, + request, + options, + )); + } + + /** + * Get a BYOK credential + * + * @remarks + * Get a BYOK credential by ID. The credential value is never returned. + */ + async getAiGatewayByokCredential( + request: GetAiGatewayByokCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayGetAiGatewayByokCredential( + this, + request, + options, + )); + } + + /** + * Update a BYOK credential + * + * @remarks + * Update a BYOK credential. Send `credential` to replace the key value in place, which keeps the credential ID, settings and model mappings. + */ + async updateAiGatewayByokCredential( + request: UpdateAiGatewayByokCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpdateAiGatewayByokCredential( + this, + request, + options, + )); + } + + /** + * Delete a BYOK credential + * + * @remarks + * Delete a BYOK credential (soft delete) and its model mappings + */ + async deleteAiGatewayByokCredential( + request: DeleteAiGatewayByokCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayDeleteAiGatewayByokCredential( + this, + request, + options, + )); + } + + /** + * Create virtual model config + * + * @remarks + * Create a virtual model config (VMC) + */ + async createAiGatewayVirtualModelConfig( + request: CreateAiGatewayVirtualModelConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayCreateAiGatewayVirtualModelConfig( + this, + request, + options, + )); + } + + /** + * Get virtual model config + * + * @remarks + * Get a virtual model config + */ + async getAiGatewayVirtualModelConfig( + request: GetAiGatewayVirtualModelConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayGetAiGatewayVirtualModelConfig( + this, + request, + options, + )); + } + + /** + * Update virtual model config + * + * @remarks + * Update a virtual model config + */ + async updateAiGatewayVirtualModelConfig( + request: UpdateAiGatewayVirtualModelConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpdateAiGatewayVirtualModelConfig( + this, + request, + options, + )); + } + + /** + * Delete virtual model config + * + * @remarks + * Delete a virtual model config (soft delete) + */ + async deleteAiGatewayVirtualModelConfig( + request: DeleteAiGatewayVirtualModelConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayDeleteAiGatewayVirtualModelConfig( + this, + request, + options, + )); + } + + /** + * List virtual model configs + * + * @remarks + * List virtual model configs. For a team, returns all of its VMCs, or with `limit` or `cursor` one page ordered by `virtualModelSlug`. Across teams, pages newest-first. `includeArchived=false` omits archived VMCs. + */ + async listAiGatewayVirtualModelConfigs( + request: ListAiGatewayVirtualModelConfigsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayVirtualModelConfigs( + this, + request, + options, + )); + } + + /** + * Get virtual model config + * + * @remarks + * Get a virtual model config by path slug + */ + async getAiGatewayVirtualModelConfigBySlug( + request: GetAiGatewayVirtualModelConfigBySlugRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayGetAiGatewayVirtualModelConfigBySlug( + this, + request, + options, + )); + } + + /** + * Update virtual model config + * + * @remarks + * Update a virtual model config by path slug + */ + async updateAiGatewayVirtualModelConfigBySlug( + request: UpdateAiGatewayVirtualModelConfigBySlugRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpdateAiGatewayVirtualModelConfigBySlug( + this, + request, + options, + )); + } + + /** + * Delete virtual model config + * + * @remarks + * Delete a virtual model config by path slug (soft delete) + */ + async deleteAiGatewayVirtualModelConfigBySlug( + request: DeleteAiGatewayVirtualModelConfigBySlugRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayDeleteAiGatewayVirtualModelConfigBySlug( + this, + request, + options, + )); + } + + /** + * List AI Gateway routers + * + * @remarks + * List the authenticated team's active and archived custom routers. + */ + async listAiGatewayRouters( + request: ListAiGatewayRoutersRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayRouters( + this, + request, + options, + )); + } + + /** + * Create rule + * + * @remarks + * Create a routing rule + */ + async createAiGatewayRule( + request: CreateAiGatewayRuleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayCreateAiGatewayRule( + this, + request, + options, + )); + } + + /** + * List rules + * + * @remarks + * List the authenticated team's routing rules, oldest first. Without `limit` or `cursor`, returns every rule. With either, returns one page and a `nextCursor` for the next page (null on the last page). Paging reads and sorts the team's rules server-side, which is fine at current rule counts. + */ + async listAiGatewayRules( + request: ListAiGatewayRulesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayRules( + this, + request, + options, + )); + } + + /** + * Update rule + * + * @remarks + * Update a routing rule (enabled, action, or description) + */ + async updateAiGatewayRule( + request: UpdateAiGatewayRuleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpdateAiGatewayRule( + this, + request, + options, + )); + } + + /** + * Delete rule + * + * @remarks + * Delete a routing rule (soft delete) + */ + async deleteAiGatewayRule( + request: DeleteAiGatewayRuleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayDeleteAiGatewayRule( + this, + request, + options, + )); + } + + /** + * List AI Gateway budgets + * + * @remarks + * List the team's AI Gateway budgets (team/project/user/app scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. + */ + async listAiGatewayBudgets( + request: ListAiGatewayBudgetsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayBudgets( + this, + request, + options, + )); + } + + /** + * Upsert AI Gateway budget + * + * @remarks + * Create or update a team-, project-, user-, or app-scope AI Gateway budget. Set a total with `limitAmount`, or raise the current budget with `increaseBy`. + */ + async upsertAiGatewayBudget( + request: UpsertAiGatewayBudgetRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpsertAiGatewayBudget( + this, + request, + options, + )); + } + + /** + * Archive AI Gateway budget + * + * @remarks + * Archive a team-, project-, user-, or app-scope AI Gateway budget. + */ + async archiveAiGatewayBudget( + request: ArchiveAiGatewayBudgetRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayArchiveAiGatewayBudget( + this, + request, + options, + )); + } + + /** + * List AI Gateway budget defaults + * + * @remarks + * List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user/app scope with a default set). An empty list is a normal state for the dashboard. + */ + async listAiGatewayBudgetDefaults( + request: ListAiGatewayBudgetDefaultsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayListAiGatewayBudgetDefaults( + this, + request, + options, + )); + } + + /** + * Upsert AI Gateway budget default + * + * @remarks + * Create or update an AI Gateway budget default for one scope. Team-level authority only (owners/admins). + */ + async upsertAiGatewayBudgetDefault( + request: UpsertAiGatewayBudgetDefaultRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpsertAiGatewayBudgetDefault( + this, + request, + options, + )); + } + + /** + * Archive AI Gateway budget default + * + * @remarks + * Delete an AI Gateway budget default for one scope. Team-level authority only (owners/admins). + */ + async archiveAiGatewayBudgetDefault( + request: ArchiveAiGatewayBudgetDefaultRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayArchiveAiGatewayBudgetDefault( + this, + request, + options, + )); + } + + /** + * Update an AI Gateway API key budget + * + * @remarks + * Set, change, or remove the AI Gateway budget on an API key. Creates the budget if the key does not have one. + */ + async updateApiKeyQuota( + request: UpdateApiKeyQuotaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aiGatewayUpdateApiKeyQuota( + this, + request, + options, + )); + } +} diff --git a/src/sdk/aigateway.ts b/src/sdk/aigateway.ts index e6d4c5749a..d0c9336d0d 100644 --- a/src/sdk/aigateway.ts +++ b/src/sdk/aigateway.ts @@ -393,7 +393,7 @@ export class AiGateway extends ClientSDK { * List AI Gateway budgets * * @remarks - * List the team's AI Gateway budgets (team/project/user scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. + * List the team's AI Gateway budgets (team/project/user/app scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor. */ async listAiGatewayBudgets( request: ListAiGatewayBudgetsRequest, @@ -410,7 +410,7 @@ export class AiGateway extends ClientSDK { * Upsert AI Gateway budget * * @remarks - * Create or update a team-, project-, or user-scope AI Gateway budget. + * Create or update a team-, project-, user-, or app-scope AI Gateway budget. Set a total with `limitAmount`, or raise the current budget with `increaseBy`. */ async upsertAiGatewayBudget( request: UpsertAiGatewayBudgetRequest, @@ -427,7 +427,7 @@ export class AiGateway extends ClientSDK { * Archive AI Gateway budget * * @remarks - * Archive a team-, project-, or user-scope AI Gateway budget. + * Archive a team-, project-, user-, or app-scope AI Gateway budget. */ async archiveAiGatewayBudget( request: ArchiveAiGatewayBudgetRequest, @@ -444,7 +444,7 @@ export class AiGateway extends ClientSDK { * List AI Gateway budget defaults * * @remarks - * List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user scope with a default set). An empty list is a normal state for the dashboard. + * List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user/app scope with a default set). An empty list is a normal state for the dashboard. */ async listAiGatewayBudgetDefaults( request: ListAiGatewayBudgetDefaultsRequest, diff --git a/src/sdk/aliases.lazy.ts b/src/sdk/aliases.lazy.ts new file mode 100644 index 0000000000..35c09d8fe2 --- /dev/null +++ b/src/sdk/aliases.lazy.ts @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AssignAliasRequest, + AssignAliasResponseBody, +} from "../models/assignaliasop.js"; +import { + DeleteAliasRequest, + DeleteAliasResponseBody, +} from "../models/deletealiasop.js"; +import { GetAliasRequest, GetAliasResponseBody } from "../models/getaliasop.js"; +import { + ListAliasesRequest, + ListAliasesResponseBody, +} from "../models/listaliasesop.js"; +import { + ListDeploymentAliasesRequest, + ListDeploymentAliasesResponseBody, +} from "../models/listdeploymentaliasesop.js"; +import { PatchUrlProtectionBypassRequest } from "../models/patchurlprotectionbypassop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let aliasesListDeploymentAliases$module: + | Promise + | undefined; +const aliasesListDeploymentAliases = + (( + ...args: Parameters< + typeof import("../funcs/aliasesListDeploymentAliases.js").aliasesListDeploymentAliases + > + ) => + new APIPromise( + (aliasesListDeploymentAliases$module ??= import( + "../funcs/aliasesListDeploymentAliases.js" + ).catch((error: unknown) => { + aliasesListDeploymentAliases$module = undefined; + throw error; + })).then((module) => + module.aliasesListDeploymentAliases(...args).$inspect() + ), + )) as typeof import("../funcs/aliasesListDeploymentAliases.js").aliasesListDeploymentAliases; + +let aliasesAssignAlias$module: + | Promise + | undefined; +const aliasesAssignAlias = + (( + ...args: Parameters< + typeof import("../funcs/aliasesAssignAlias.js").aliasesAssignAlias + > + ) => + new APIPromise( + (aliasesAssignAlias$module ??= import("../funcs/aliasesAssignAlias.js") + .catch((error: unknown) => { + aliasesAssignAlias$module = undefined; + throw error; + })).then((module) => module.aliasesAssignAlias(...args).$inspect()), + )) as typeof import("../funcs/aliasesAssignAlias.js").aliasesAssignAlias; + +let aliasesListAliases$module: + | Promise + | undefined; +const aliasesListAliases = + (( + ...args: Parameters< + typeof import("../funcs/aliasesListAliases.js").aliasesListAliases + > + ) => + new APIPromise( + (aliasesListAliases$module ??= import("../funcs/aliasesListAliases.js") + .catch((error: unknown) => { + aliasesListAliases$module = undefined; + throw error; + })).then((module) => module.aliasesListAliases(...args).$inspect()), + )) as typeof import("../funcs/aliasesListAliases.js").aliasesListAliases; + +let aliasesGetAlias$module: + | Promise + | undefined; +const aliasesGetAlias = + (( + ...args: Parameters< + typeof import("../funcs/aliasesGetAlias.js").aliasesGetAlias + > + ) => + new APIPromise( + (aliasesGetAlias$module ??= import("../funcs/aliasesGetAlias.js").catch( + (error: unknown) => { + aliasesGetAlias$module = undefined; + throw error; + }, + )).then((module) => module.aliasesGetAlias(...args).$inspect()), + )) as typeof import("../funcs/aliasesGetAlias.js").aliasesGetAlias; + +let aliasesDeleteAlias$module: + | Promise + | undefined; +const aliasesDeleteAlias = + (( + ...args: Parameters< + typeof import("../funcs/aliasesDeleteAlias.js").aliasesDeleteAlias + > + ) => + new APIPromise( + (aliasesDeleteAlias$module ??= import("../funcs/aliasesDeleteAlias.js") + .catch((error: unknown) => { + aliasesDeleteAlias$module = undefined; + throw error; + })).then((module) => module.aliasesDeleteAlias(...args).$inspect()), + )) as typeof import("../funcs/aliasesDeleteAlias.js").aliasesDeleteAlias; + +let aliasesPatchUrlProtectionBypass$module: + | Promise + | undefined; +const aliasesPatchUrlProtectionBypass = + (( + ...args: Parameters< + typeof import("../funcs/aliasesPatchUrlProtectionBypass.js").aliasesPatchUrlProtectionBypass + > + ) => + new APIPromise( + (aliasesPatchUrlProtectionBypass$module ??= import( + "../funcs/aliasesPatchUrlProtectionBypass.js" + ).catch((error: unknown) => { + aliasesPatchUrlProtectionBypass$module = undefined; + throw error; + })).then((module) => + module.aliasesPatchUrlProtectionBypass(...args).$inspect() + ), + )) as typeof import("../funcs/aliasesPatchUrlProtectionBypass.js").aliasesPatchUrlProtectionBypass; + +export class Aliases extends ClientSDK { + /** + * List Deployment Aliases + * + * @remarks + * Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment. + */ + async listDeploymentAliases( + request: ListDeploymentAliasesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aliasesListDeploymentAliases( + this, + request, + options, + )); + } + + /** + * Assign an Alias + * + * @remarks + * Creates a new alias for the deployment resolved from the given deployment or alias ID or URL. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one. + */ + async assignAlias( + request: AssignAliasRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aliasesAssignAlias( + this, + request, + options, + )); + } + + /** + * List aliases + * + * @remarks + * Retrieves a list of aliases for the authenticated User or Team. When `domain` is provided, only aliases for that domain will be returned. When `projectId` is provided, it will only return the given project aliases. + */ + async listAliases( + request: ListAliasesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aliasesListAliases( + this, + request, + options, + )); + } + + /** + * Get an Alias + * + * @remarks + * Retrieves an Alias for the given host name or alias ID. + */ + async getAlias( + request: GetAliasRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aliasesGetAlias( + this, + request, + options, + )); + } + + /** + * Delete an Alias + * + * @remarks + * Delete an Alias with the specified ID. + */ + async deleteAlias( + request: DeleteAliasRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(aliasesDeleteAlias( + this, + request, + options, + )); + } + + /** + * Update the protection bypass for a URL + * + * @remarks + * Update the protection bypass for the alias or deployment URL (used for user access & comment access for deployments). Used as shareable links and user scoped access for Vercel Authentication and also to allow external (logged in) people to comment on previews for Preview Comments (next-live-mode). + */ + async patchUrlProtectionBypass( + request: PatchUrlProtectionBypassRequest, + options?: RequestOptions, + ): Promise<{ [k: string]: any }> { + return unwrapAsync(aliasesPatchUrlProtectionBypass( + this, + request, + options, + )); + } +} diff --git a/src/sdk/artifacts.lazy.ts b/src/sdk/artifacts.lazy.ts new file mode 100644 index 0000000000..09e9e3c302 --- /dev/null +++ b/src/sdk/artifacts.lazy.ts @@ -0,0 +1,274 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { ArtifactExistsRequest } from "../models/artifactexistsop.js"; +import { + ArtifactQueryRequest, + ArtifactQueryResponseBody, +} from "../models/artifactqueryop.js"; +import { + DeleteAllArtifactsRequest, + DeleteAllArtifactsResponseBody, +} from "../models/deleteallartifactsop.js"; +import { DownloadArtifactRequest } from "../models/downloadartifactop.js"; +import { RecordEventsRequest } from "../models/recordeventsop.js"; +import { StatusRequest, StatusResponseBody } from "../models/statusop.js"; +import { + UploadArtifactRequest, + UploadArtifactResponseBody, +} from "../models/uploadartifactop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let artifactsRecordEvents$module: + | Promise + | undefined; +const artifactsRecordEvents = + (( + ...args: Parameters< + typeof import("../funcs/artifactsRecordEvents.js").artifactsRecordEvents + > + ) => + new APIPromise( + (artifactsRecordEvents$module ??= import( + "../funcs/artifactsRecordEvents.js" + ).catch((error: unknown) => { + artifactsRecordEvents$module = undefined; + throw error; + })).then((module) => module.artifactsRecordEvents(...args).$inspect()), + )) as typeof import("../funcs/artifactsRecordEvents.js").artifactsRecordEvents; + +let artifactsStatus$module: + | Promise + | undefined; +const artifactsStatus = + (( + ...args: Parameters< + typeof import("../funcs/artifactsStatus.js").artifactsStatus + > + ) => + new APIPromise( + (artifactsStatus$module ??= import("../funcs/artifactsStatus.js").catch( + (error: unknown) => { + artifactsStatus$module = undefined; + throw error; + }, + )).then((module) => module.artifactsStatus(...args).$inspect()), + )) as typeof import("../funcs/artifactsStatus.js").artifactsStatus; + +let artifactsUploadArtifact$module: + | Promise + | undefined; +const artifactsUploadArtifact = + (( + ...args: Parameters< + typeof import("../funcs/artifactsUploadArtifact.js").artifactsUploadArtifact + > + ) => + new APIPromise( + (artifactsUploadArtifact$module ??= import( + "../funcs/artifactsUploadArtifact.js" + ).catch((error: unknown) => { + artifactsUploadArtifact$module = undefined; + throw error; + })).then((module) => module.artifactsUploadArtifact(...args).$inspect()), + )) as typeof import("../funcs/artifactsUploadArtifact.js").artifactsUploadArtifact; + +let artifactsDownloadArtifact$module: + | Promise + | undefined; +const artifactsDownloadArtifact = + (( + ...args: Parameters< + typeof import("../funcs/artifactsDownloadArtifact.js").artifactsDownloadArtifact + > + ) => + new APIPromise( + (artifactsDownloadArtifact$module ??= import( + "../funcs/artifactsDownloadArtifact.js" + ).catch((error: unknown) => { + artifactsDownloadArtifact$module = undefined; + throw error; + })).then((module) => + module.artifactsDownloadArtifact(...args).$inspect() + ), + )) as typeof import("../funcs/artifactsDownloadArtifact.js").artifactsDownloadArtifact; + +let artifactsArtifactExists$module: + | Promise + | undefined; +const artifactsArtifactExists = + (( + ...args: Parameters< + typeof import("../funcs/artifactsArtifactExists.js").artifactsArtifactExists + > + ) => + new APIPromise( + (artifactsArtifactExists$module ??= import( + "../funcs/artifactsArtifactExists.js" + ).catch((error: unknown) => { + artifactsArtifactExists$module = undefined; + throw error; + })).then((module) => module.artifactsArtifactExists(...args).$inspect()), + )) as typeof import("../funcs/artifactsArtifactExists.js").artifactsArtifactExists; + +let artifactsArtifactQuery$module: + | Promise + | undefined; +const artifactsArtifactQuery = + (( + ...args: Parameters< + typeof import("../funcs/artifactsArtifactQuery.js").artifactsArtifactQuery + > + ) => + new APIPromise( + (artifactsArtifactQuery$module ??= import( + "../funcs/artifactsArtifactQuery.js" + ).catch((error: unknown) => { + artifactsArtifactQuery$module = undefined; + throw error; + })).then((module) => module.artifactsArtifactQuery(...args).$inspect()), + )) as typeof import("../funcs/artifactsArtifactQuery.js").artifactsArtifactQuery; + +let artifactsDeleteAllArtifacts$module: + | Promise + | undefined; +const artifactsDeleteAllArtifacts = + (( + ...args: Parameters< + typeof import("../funcs/artifactsDeleteAllArtifacts.js").artifactsDeleteAllArtifacts + > + ) => + new APIPromise( + (artifactsDeleteAllArtifacts$module ??= import( + "../funcs/artifactsDeleteAllArtifacts.js" + ).catch((error: unknown) => { + artifactsDeleteAllArtifacts$module = undefined; + throw error; + })).then((module) => + module.artifactsDeleteAllArtifacts(...args).$inspect() + ), + )) as typeof import("../funcs/artifactsDeleteAllArtifacts.js").artifactsDeleteAllArtifacts; + +export class Artifacts extends ClientSDK { + /** + * Record an artifacts cache usage event + * + * @remarks + * Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache. + */ + async recordEvents( + request: RecordEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(artifactsRecordEvents( + this, + request, + options, + )); + } + + /** + * Get status of Remote Caching for this principal + * + * @remarks + * Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits. + */ + async status( + request: StatusRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(artifactsStatus( + this, + request, + options, + )); + } + + /** + * Upload a cache artifact + * + * @remarks + * Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`. + */ + async uploadArtifact( + request: UploadArtifactRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(artifactsUploadArtifact( + this, + request, + options, + )); + } + + /** + * Download a cache artifact + * + * @remarks + * Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body. + */ + async downloadArtifact( + request: DownloadArtifactRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(artifactsDownloadArtifact( + this, + request, + options, + )); + } + + /** + * Check if a cache artifact exists + * + * @remarks + * Check that a cache artifact with the given `hash` exists. This request returns response headers only and is equivalent to a `GET` request to this endpoint where the response contains no body. + */ + async artifactExists( + request: ArtifactExistsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(artifactsArtifactExists( + this, + request, + options, + )); + } + + /** + * Query information about an artifact + * + * @remarks + * Query information about an array of artifacts. + */ + async artifactQuery( + request: ArtifactQueryRequest, + options?: RequestOptions, + ): Promise<{ [k: string]: ArtifactQueryResponseBody | null }> { + return unwrapAsync(artifactsArtifactQuery( + this, + request, + options, + )); + } + + /** + * Delete all cache artifacts + * + * @remarks + * Deletes all cache artifacts stored for the authenticated team or user, clearing the Remote Cache. Subsequent builds will re-populate the cache. + */ + async deleteAllArtifacts( + request: DeleteAllArtifactsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(artifactsDeleteAllArtifacts( + this, + request, + options, + )); + } +} diff --git a/src/sdk/authentication.lazy.ts b/src/sdk/authentication.lazy.ts new file mode 100644 index 0000000000..0ac67134fc --- /dev/null +++ b/src/sdk/authentication.lazy.ts @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateAuthTokenRequest, + CreateAuthTokenResponseBody, +} from "../models/createauthtokenop.js"; +import { + DeleteAuthTokenRequest, + DeleteAuthTokenResponseBody, +} from "../models/deleteauthtokenop.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenResponseBody, +} from "../models/exchangessotokenop.js"; +import { + GetAuthTokenRequest, + GetAuthTokenResponseBody, +} from "../models/getauthtokenop.js"; +import { + ListAuthTokensRequest, + ListAuthTokensResponseBody, +} from "../models/listauthtokensop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let marketplaceExchangeSsoToken$module: + | Promise + | undefined; +const marketplaceExchangeSsoToken = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceExchangeSsoToken.js").marketplaceExchangeSsoToken + > + ) => + new APIPromise( + (marketplaceExchangeSsoToken$module ??= import( + "../funcs/marketplaceExchangeSsoToken.js" + ).catch((error: unknown) => { + marketplaceExchangeSsoToken$module = undefined; + throw error; + })).then((module) => + module.marketplaceExchangeSsoToken(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceExchangeSsoToken.js").marketplaceExchangeSsoToken; + +let authenticationListAuthTokens$module: + | Promise + | undefined; +const authenticationListAuthTokens = + (( + ...args: Parameters< + typeof import("../funcs/authenticationListAuthTokens.js").authenticationListAuthTokens + > + ) => + new APIPromise( + (authenticationListAuthTokens$module ??= import( + "../funcs/authenticationListAuthTokens.js" + ).catch((error: unknown) => { + authenticationListAuthTokens$module = undefined; + throw error; + })).then((module) => + module.authenticationListAuthTokens(...args).$inspect() + ), + )) as typeof import("../funcs/authenticationListAuthTokens.js").authenticationListAuthTokens; + +let authenticationCreateAuthToken$module: + | Promise + | undefined; +const authenticationCreateAuthToken = + (( + ...args: Parameters< + typeof import("../funcs/authenticationCreateAuthToken.js").authenticationCreateAuthToken + > + ) => + new APIPromise( + (authenticationCreateAuthToken$module ??= import( + "../funcs/authenticationCreateAuthToken.js" + ).catch((error: unknown) => { + authenticationCreateAuthToken$module = undefined; + throw error; + })).then((module) => + module.authenticationCreateAuthToken(...args).$inspect() + ), + )) as typeof import("../funcs/authenticationCreateAuthToken.js").authenticationCreateAuthToken; + +let authenticationGetAuthToken$module: + | Promise + | undefined; +const authenticationGetAuthToken = + (( + ...args: Parameters< + typeof import("../funcs/authenticationGetAuthToken.js").authenticationGetAuthToken + > + ) => + new APIPromise( + (authenticationGetAuthToken$module ??= import( + "../funcs/authenticationGetAuthToken.js" + ).catch((error: unknown) => { + authenticationGetAuthToken$module = undefined; + throw error; + })).then((module) => + module.authenticationGetAuthToken(...args).$inspect() + ), + )) as typeof import("../funcs/authenticationGetAuthToken.js").authenticationGetAuthToken; + +let authenticationDeleteAuthToken$module: + | Promise + | undefined; +const authenticationDeleteAuthToken = + (( + ...args: Parameters< + typeof import("../funcs/authenticationDeleteAuthToken.js").authenticationDeleteAuthToken + > + ) => + new APIPromise( + (authenticationDeleteAuthToken$module ??= import( + "../funcs/authenticationDeleteAuthToken.js" + ).catch((error: unknown) => { + authenticationDeleteAuthToken$module = undefined; + throw error; + })).then((module) => + module.authenticationDeleteAuthToken(...args).$inspect() + ), + )) as typeof import("../funcs/authenticationDeleteAuthToken.js").authenticationDeleteAuthToken; + +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. Providers should not persist the returned `id_token` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details. + */ + async exchangeSsoToken( + request: ExchangeSsoTokenRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceExchangeSsoToken( + this, + request, + options, + )); + } + + /** + * List Auth Tokens + * + * @remarks + * Retrieve a list of the current User's authentication tokens. + */ + async listAuthTokens( + request: ListAuthTokensRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(authenticationListAuthTokens( + this, + request, + options, + )); + } + + /** + * Create an Auth Token + * + * @remarks + * Creates and returns a new authentication token for the currently authenticated User. The `bearerToken` property is only provided once, in the response body, so be sure to save it on the client for use with API requests. + */ + async createAuthToken( + request: CreateAuthTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(authenticationCreateAuthToken( + this, + request, + options, + )); + } + + /** + * Get Auth Token Metadata + * + * @remarks + * Retrieve metadata about an authentication token belonging to the currently authenticated User. + */ + async getAuthToken( + request: GetAuthTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(authenticationGetAuthToken( + this, + request, + options, + )); + } + + /** + * Delete an authentication token + * + * @remarks + * Invalidate an authentication token, such that it will no longer be valid for future HTTP requests. + */ + async deleteAuthToken( + request: DeleteAuthTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(authenticationDeleteAuthToken( + this, + request, + options, + )); + } +} diff --git a/src/sdk/authentication.ts b/src/sdk/authentication.ts index 83316218d4..bda38c1111 100644 --- a/src/sdk/authentication.ts +++ b/src/sdk/authentication.ts @@ -24,7 +24,10 @@ import { GetAuthTokenRequest, GetAuthTokenResponseBody, } from "../models/getauthtokenop.js"; -import { ListAuthTokensResponseBody } from "../models/listauthtokensop.js"; +import { + ListAuthTokensRequest, + ListAuthTokensResponseBody, +} from "../models/listauthtokensop.js"; import { unwrapAsync } from "../types/fp.js"; export class Authentication extends ClientSDK { @@ -52,10 +55,12 @@ export class Authentication extends ClientSDK { * Retrieve a list of the current User's authentication tokens. */ async listAuthTokens( + request: ListAuthTokensRequest, options?: RequestOptions, ): Promise { return unwrapAsync(authenticationListAuthTokens( this, + request, options, )); } diff --git a/src/sdk/billing.lazy.ts b/src/sdk/billing.lazy.ts new file mode 100644 index 0000000000..9d13e11dc0 --- /dev/null +++ b/src/sdk/billing.lazy.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + BuyCreditsRequest, + BuyCreditsResponseBody, +} from "../models/buycreditsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let billingBuyCredits$module: + | Promise + | undefined; +const billingBuyCredits = + (( + ...args: Parameters< + typeof import("../funcs/billingBuyCredits.js").billingBuyCredits + > + ) => + new APIPromise( + (billingBuyCredits$module ??= import("../funcs/billingBuyCredits.js") + .catch((error: unknown) => { + billingBuyCredits$module = undefined; + throw error; + })).then((module) => module.billingBuyCredits(...args).$inspect()), + )) as typeof import("../funcs/billingBuyCredits.js").billingBuyCredits; + +export class Billing extends ClientSDK { + /** + * Purchase credits + * + * @remarks + * Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. Pro subscription purchases additionally require permission to update the team's plan, and AI Gateway credit purchases require permission to create AI Gateway credits. + */ + async buyCredits( + request: BuyCreditsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(billingBuyCredits( + this, + request, + options, + )); + } +} diff --git a/src/sdk/billing.ts b/src/sdk/billing.ts index b68d21c646..d7dfeae933 100644 --- a/src/sdk/billing.ts +++ b/src/sdk/billing.ts @@ -15,7 +15,7 @@ export class Billing extends ClientSDK { * Purchase credits * * @remarks - * Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. + * Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. Pro subscription purchases additionally require permission to update the team's plan, and AI Gateway credit purchases require permission to create AI Gateway credits. */ async buyCredits( request: BuyCreditsRequest, diff --git a/src/sdk/bulkredirects.lazy.ts b/src/sdk/bulkredirects.lazy.ts new file mode 100644 index 0000000000..7ba38b30a5 --- /dev/null +++ b/src/sdk/bulkredirects.lazy.ts @@ -0,0 +1,294 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + DeleteRedirectsRequest, + DeleteRedirectsResponseBody, +} from "../models/deleteredirectsop.js"; +import { + EditRedirectRequest, + EditRedirectResponseBody, +} from "../models/editredirectop.js"; +import { + GetRedirectsRequest, + GetRedirectsResponseBody, +} from "../models/getredirectsop.js"; +import { + GetVersionsRequest, + GetVersionsResponseBody, +} from "../models/getversionsop.js"; +import { + RestoreRedirectsRequest, + RestoreRedirectsResponseBody, +} from "../models/restoreredirectsop.js"; +import { + StageRedirectsRequest, + StageRedirectsResponseBody, +} from "../models/stageredirectsop.js"; +import { + UpdateVersionRequest, + UpdateVersionResponseBody, +} from "../models/updateversionop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let bulkRedirectsStageRedirects$module: + | Promise + | undefined; +const bulkRedirectsStageRedirects = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsStageRedirects.js").bulkRedirectsStageRedirects + > + ) => + new APIPromise( + (bulkRedirectsStageRedirects$module ??= import( + "../funcs/bulkRedirectsStageRedirects.js" + ).catch((error: unknown) => { + bulkRedirectsStageRedirects$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsStageRedirects(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsStageRedirects.js").bulkRedirectsStageRedirects; + +let bulkRedirectsGetRedirects$module: + | Promise + | undefined; +const bulkRedirectsGetRedirects = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsGetRedirects.js").bulkRedirectsGetRedirects + > + ) => + new APIPromise( + (bulkRedirectsGetRedirects$module ??= import( + "../funcs/bulkRedirectsGetRedirects.js" + ).catch((error: unknown) => { + bulkRedirectsGetRedirects$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsGetRedirects(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsGetRedirects.js").bulkRedirectsGetRedirects; + +let bulkRedirectsDeleteRedirects$module: + | Promise + | undefined; +const bulkRedirectsDeleteRedirects = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsDeleteRedirects.js").bulkRedirectsDeleteRedirects + > + ) => + new APIPromise( + (bulkRedirectsDeleteRedirects$module ??= import( + "../funcs/bulkRedirectsDeleteRedirects.js" + ).catch((error: unknown) => { + bulkRedirectsDeleteRedirects$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsDeleteRedirects(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsDeleteRedirects.js").bulkRedirectsDeleteRedirects; + +let bulkRedirectsEditRedirect$module: + | Promise + | undefined; +const bulkRedirectsEditRedirect = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsEditRedirect.js").bulkRedirectsEditRedirect + > + ) => + new APIPromise( + (bulkRedirectsEditRedirect$module ??= import( + "../funcs/bulkRedirectsEditRedirect.js" + ).catch((error: unknown) => { + bulkRedirectsEditRedirect$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsEditRedirect(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsEditRedirect.js").bulkRedirectsEditRedirect; + +let bulkRedirectsRestoreRedirects$module: + | Promise + | undefined; +const bulkRedirectsRestoreRedirects = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsRestoreRedirects.js").bulkRedirectsRestoreRedirects + > + ) => + new APIPromise( + (bulkRedirectsRestoreRedirects$module ??= import( + "../funcs/bulkRedirectsRestoreRedirects.js" + ).catch((error: unknown) => { + bulkRedirectsRestoreRedirects$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsRestoreRedirects(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsRestoreRedirects.js").bulkRedirectsRestoreRedirects; + +let bulkRedirectsGetVersions$module: + | Promise + | undefined; +const bulkRedirectsGetVersions = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsGetVersions.js").bulkRedirectsGetVersions + > + ) => + new APIPromise( + (bulkRedirectsGetVersions$module ??= import( + "../funcs/bulkRedirectsGetVersions.js" + ).catch((error: unknown) => { + bulkRedirectsGetVersions$module = undefined; + throw error; + })).then((module) => module.bulkRedirectsGetVersions(...args).$inspect()), + )) as typeof import("../funcs/bulkRedirectsGetVersions.js").bulkRedirectsGetVersions; + +let bulkRedirectsUpdateVersion$module: + | Promise + | undefined; +const bulkRedirectsUpdateVersion = + (( + ...args: Parameters< + typeof import("../funcs/bulkRedirectsUpdateVersion.js").bulkRedirectsUpdateVersion + > + ) => + new APIPromise( + (bulkRedirectsUpdateVersion$module ??= import( + "../funcs/bulkRedirectsUpdateVersion.js" + ).catch((error: unknown) => { + bulkRedirectsUpdateVersion$module = undefined; + throw error; + })).then((module) => + module.bulkRedirectsUpdateVersion(...args).$inspect() + ), + )) as typeof import("../funcs/bulkRedirectsUpdateVersion.js").bulkRedirectsUpdateVersion; + +export class BulkRedirects extends ClientSDK { + /** + * Stages new redirects for a project. + * + * @remarks + * Stages new redirects for a project and returns the new version. + */ + async stageRedirects( + request: StageRedirectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsStageRedirects( + this, + request, + options, + )); + } + + /** + * Gets project-level redirects. + * + * @remarks + * Get the version history for a project's bulk redirects + */ + async getRedirects( + request: GetRedirectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsGetRedirects( + this, + request, + options, + )); + } + + /** + * Delete project-level redirects. + * + * @remarks + * Deletes the provided redirects from the latest version of the projects' bulk redirects. Stages a new change with the new redirects and returns the alias for the new version in the response. + */ + async deleteRedirects( + request: DeleteRedirectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsDeleteRedirects( + this, + request, + options, + )); + } + + /** + * Edit a project-level redirect. + * + * @remarks + * Edits a single redirect identified by its source path. Stages a new change with the modified redirect and returns the alias for the new version in the response. + */ + async editRedirect( + request: EditRedirectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsEditRedirect( + this, + request, + options, + )); + } + + /** + * Restore staged project-level redirects to their production version. + * + * @remarks + * Restores the provided redirects in the staging version to the value in the production version. If no production version exists, removes the redirects from staging. + */ + async restoreRedirects( + request: RestoreRedirectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsRestoreRedirects( + this, + request, + options, + )); + } + + /** + * Get the version history for a project's redirects. + * + * @remarks + * Get the version history for a project's bulk redirects + */ + async getVersions( + request: GetVersionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsGetVersions( + this, + request, + options, + )); + } + + /** + * Promote a staging version to production or restore a previous production version. + * + * @remarks + * Update a version by promoting staging to production or restoring a previous production version + */ + async updateVersion( + request: UpdateVersionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(bulkRedirectsUpdateVersion( + this, + request, + options, + )); + } +} diff --git a/src/sdk/certs.lazy.ts b/src/sdk/certs.lazy.ts new file mode 100644 index 0000000000..1dec2a684c --- /dev/null +++ b/src/sdk/certs.lazy.ts @@ -0,0 +1,201 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + GetCertByIdRequest, + GetCertByIdResponseBody, +} from "../models/getcertbyidop.js"; +import { GetCertsRequest, GetCertsResponseBody } from "../models/getcertsop.js"; +import { + IssueCertRequest, + IssueCertResponseBody, +} from "../models/issuecertop.js"; +import { + RemoveCertRequest, + RemoveCertResponseBody, +} from "../models/removecertop.js"; +import { + UploadCertRequest, + UploadCertResponseBody, +} from "../models/uploadcertop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let certsGetCertById$module: + | Promise + | undefined; +const certsGetCertById = + (( + ...args: Parameters< + typeof import("../funcs/certsGetCertById.js").certsGetCertById + > + ) => + new APIPromise( + (certsGetCertById$module ??= import("../funcs/certsGetCertById.js").catch( + (error: unknown) => { + certsGetCertById$module = undefined; + throw error; + }, + )).then((module) => module.certsGetCertById(...args).$inspect()), + )) as typeof import("../funcs/certsGetCertById.js").certsGetCertById; + +let certsRemoveCert$module: + | Promise + | undefined; +const certsRemoveCert = + (( + ...args: Parameters< + typeof import("../funcs/certsRemoveCert.js").certsRemoveCert + > + ) => + new APIPromise( + (certsRemoveCert$module ??= import("../funcs/certsRemoveCert.js").catch( + (error: unknown) => { + certsRemoveCert$module = undefined; + throw error; + }, + )).then((module) => module.certsRemoveCert(...args).$inspect()), + )) as typeof import("../funcs/certsRemoveCert.js").certsRemoveCert; + +let certsGetCerts$module: + | Promise + | undefined; +const certsGetCerts = + (( + ...args: Parameters< + typeof import("../funcs/certsGetCerts.js").certsGetCerts + > + ) => + new APIPromise( + (certsGetCerts$module ??= import("../funcs/certsGetCerts.js").catch( + (error: unknown) => { + certsGetCerts$module = undefined; + throw error; + }, + )).then((module) => module.certsGetCerts(...args).$inspect()), + )) as typeof import("../funcs/certsGetCerts.js").certsGetCerts; + +let certsIssueCert$module: + | Promise + | undefined; +const certsIssueCert = + (( + ...args: Parameters< + typeof import("../funcs/certsIssueCert.js").certsIssueCert + > + ) => + new APIPromise( + (certsIssueCert$module ??= import("../funcs/certsIssueCert.js").catch( + (error: unknown) => { + certsIssueCert$module = undefined; + throw error; + }, + )).then((module) => module.certsIssueCert(...args).$inspect()), + )) as typeof import("../funcs/certsIssueCert.js").certsIssueCert; + +let certsUploadCert$module: + | Promise + | undefined; +const certsUploadCert = + (( + ...args: Parameters< + typeof import("../funcs/certsUploadCert.js").certsUploadCert + > + ) => + new APIPromise( + (certsUploadCert$module ??= import("../funcs/certsUploadCert.js").catch( + (error: unknown) => { + certsUploadCert$module = undefined; + throw error; + }, + )).then((module) => module.certsUploadCert(...args).$inspect()), + )) as typeof import("../funcs/certsUploadCert.js").certsUploadCert; + +export class Certs extends ClientSDK { + /** + * Get cert by id + * + * @remarks + * Get cert by id + */ + async getCertById( + request: GetCertByIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(certsGetCertById( + this, + request, + options, + )); + } + + /** + * Remove cert + * + * @remarks + * Remove cert + */ + async removeCert( + request: RemoveCertRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(certsRemoveCert( + this, + request, + options, + )); + } + + /** + * Get certs + * + * @remarks + * Get certs + */ + async getCerts( + request: GetCertsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(certsGetCerts( + this, + request, + options, + )); + } + + /** + * Issue a new cert + * + * @remarks + * Issue a new cert + */ + async issueCert( + request: IssueCertRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(certsIssueCert( + this, + request, + options, + )); + } + + /** + * Upload a cert + * + * @remarks + * Upload a cert + */ + async uploadCert( + request: UploadCertRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(certsUploadCert( + this, + request, + options, + )); + } +} diff --git a/src/sdk/checks.lazy.ts b/src/sdk/checks.lazy.ts new file mode 100644 index 0000000000..fe6933b3b9 --- /dev/null +++ b/src/sdk/checks.lazy.ts @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateCheckRequest, + CreateCheckResponseBody, +} from "../models/createcheckop.js"; +import { + GetAllChecksRequest, + GetAllChecksResponseBody, +} from "../models/getallchecksop.js"; +import { GetCheckRequest, GetCheckResponseBody } from "../models/getcheckop.js"; +import { + RerequestCheckRequest, + RerequestCheckResponseBody, +} from "../models/rerequestcheckop.js"; +import { + UpdateCheckRequest, + UpdateCheckResponseBody, +} from "../models/updatecheckop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let checksCreateCheck$module: + | Promise + | undefined; +const checksCreateCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksCreateCheck.js").checksCreateCheck + > + ) => + new APIPromise( + (checksCreateCheck$module ??= import("../funcs/checksCreateCheck.js") + .catch((error: unknown) => { + checksCreateCheck$module = undefined; + throw error; + })).then((module) => module.checksCreateCheck(...args).$inspect()), + )) as typeof import("../funcs/checksCreateCheck.js").checksCreateCheck; + +let checksGetAllChecks$module: + | Promise + | undefined; +const checksGetAllChecks = + (( + ...args: Parameters< + typeof import("../funcs/checksGetAllChecks.js").checksGetAllChecks + > + ) => + new APIPromise( + (checksGetAllChecks$module ??= import("../funcs/checksGetAllChecks.js") + .catch((error: unknown) => { + checksGetAllChecks$module = undefined; + throw error; + })).then((module) => module.checksGetAllChecks(...args).$inspect()), + )) as typeof import("../funcs/checksGetAllChecks.js").checksGetAllChecks; + +let checksGetCheck$module: + | Promise + | undefined; +const checksGetCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksGetCheck.js").checksGetCheck + > + ) => + new APIPromise( + (checksGetCheck$module ??= import("../funcs/checksGetCheck.js").catch( + (error: unknown) => { + checksGetCheck$module = undefined; + throw error; + }, + )).then((module) => module.checksGetCheck(...args).$inspect()), + )) as typeof import("../funcs/checksGetCheck.js").checksGetCheck; + +let checksUpdateCheck$module: + | Promise + | undefined; +const checksUpdateCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksUpdateCheck.js").checksUpdateCheck + > + ) => + new APIPromise( + (checksUpdateCheck$module ??= import("../funcs/checksUpdateCheck.js") + .catch((error: unknown) => { + checksUpdateCheck$module = undefined; + throw error; + })).then((module) => module.checksUpdateCheck(...args).$inspect()), + )) as typeof import("../funcs/checksUpdateCheck.js").checksUpdateCheck; + +let checksRerequestCheck$module: + | Promise + | undefined; +const checksRerequestCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksRerequestCheck.js").checksRerequestCheck + > + ) => + new APIPromise( + (checksRerequestCheck$module ??= import( + "../funcs/checksRerequestCheck.js" + ).catch((error: unknown) => { + checksRerequestCheck$module = undefined; + throw error; + })).then((module) => module.checksRerequestCheck(...args).$inspect()), + )) as typeof import("../funcs/checksRerequestCheck.js").checksRerequestCheck; + +export class Checks extends ClientSDK { + /** + * Creates a new Check + * + * @remarks + * Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async createCheck( + request: CreateCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksCreateCheck( + this, + request, + options, + )); + } + + /** + * Retrieve a list of all checks + * + * @remarks + * List all of the checks created for a deployment. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async getAllChecks( + request: GetAllChecksRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksGetAllChecks( + this, + request, + options, + )); + } + + /** + * Get a single check + * + * @remarks + * Return a detailed response for a single check. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async getCheck( + request: GetCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksGetCheck( + this, + request, + options, + )); + } + + /** + * Update a check + * + * @remarks + * Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async updateCheck( + request: UpdateCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksUpdateCheck( + this, + request, + options, + )); + } + + /** + * Rerequest a check + * + * @remarks + * Rerequest a selected check that has failed. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async rerequestCheck( + request: RerequestCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksRerequestCheck( + this, + request, + options, + )); + } +} diff --git a/src/sdk/checksv2.lazy.ts b/src/sdk/checksv2.lazy.ts new file mode 100644 index 0000000000..a9b5317b9c --- /dev/null +++ b/src/sdk/checksv2.lazy.ts @@ -0,0 +1,415 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateDeploymentCheckRunRequest, + CreateDeploymentCheckRunResponseBody, +} from "../models/createdeploymentcheckrunop.js"; +import { + CreateProjectCheckRequest, + CreateProjectCheckResponseBody, +} from "../models/createprojectcheckop.js"; +import { + DeleteProjectCheckRequest, + DeleteProjectCheckResponseBody, +} from "../models/deleteprojectcheckop.js"; +import { + GetDeploymentCheckRunRequest, + GetDeploymentCheckRunResponseBody, +} from "../models/getdeploymentcheckrunop.js"; +import { + GetProjectCheckRequest, + GetProjectCheckResponseBody, +} from "../models/getprojectcheckop.js"; +import { + ListCheckRunsRequest, + ListCheckRunsResponseBody, +} from "../models/listcheckrunsop.js"; +import { + ListDeploymentCheckRunsRequest, + ListDeploymentCheckRunsResponseBody, +} from "../models/listdeploymentcheckrunsop.js"; +import { + ListProjectChecksRequest, + ListProjectChecksResponseBody, +} from "../models/listprojectchecksop.js"; +import { + UpdateDeploymentCheckRunRequest, + UpdateDeploymentCheckRunResponseBody, +} from "../models/updatedeploymentcheckrunop.js"; +import { + UpdateProjectCheckRequest, + UpdateProjectCheckResponseBody, +} from "../models/updateprojectcheckop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let checksV2ListProjectChecks$module: + | Promise + | undefined; +const checksV2ListProjectChecks = + (( + ...args: Parameters< + typeof import("../funcs/checksV2ListProjectChecks.js").checksV2ListProjectChecks + > + ) => + new APIPromise( + (checksV2ListProjectChecks$module ??= import( + "../funcs/checksV2ListProjectChecks.js" + ).catch((error: unknown) => { + checksV2ListProjectChecks$module = undefined; + throw error; + })).then((module) => + module.checksV2ListProjectChecks(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2ListProjectChecks.js").checksV2ListProjectChecks; + +let checksV2CreateProjectCheck$module: + | Promise + | undefined; +const checksV2CreateProjectCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksV2CreateProjectCheck.js").checksV2CreateProjectCheck + > + ) => + new APIPromise( + (checksV2CreateProjectCheck$module ??= import( + "../funcs/checksV2CreateProjectCheck.js" + ).catch((error: unknown) => { + checksV2CreateProjectCheck$module = undefined; + throw error; + })).then((module) => + module.checksV2CreateProjectCheck(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2CreateProjectCheck.js").checksV2CreateProjectCheck; + +let checksV2GetProjectCheck$module: + | Promise + | undefined; +const checksV2GetProjectCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksV2GetProjectCheck.js").checksV2GetProjectCheck + > + ) => + new APIPromise( + (checksV2GetProjectCheck$module ??= import( + "../funcs/checksV2GetProjectCheck.js" + ).catch((error: unknown) => { + checksV2GetProjectCheck$module = undefined; + throw error; + })).then((module) => module.checksV2GetProjectCheck(...args).$inspect()), + )) as typeof import("../funcs/checksV2GetProjectCheck.js").checksV2GetProjectCheck; + +let checksV2UpdateProjectCheck$module: + | Promise + | undefined; +const checksV2UpdateProjectCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksV2UpdateProjectCheck.js").checksV2UpdateProjectCheck + > + ) => + new APIPromise( + (checksV2UpdateProjectCheck$module ??= import( + "../funcs/checksV2UpdateProjectCheck.js" + ).catch((error: unknown) => { + checksV2UpdateProjectCheck$module = undefined; + throw error; + })).then((module) => + module.checksV2UpdateProjectCheck(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2UpdateProjectCheck.js").checksV2UpdateProjectCheck; + +let checksV2DeleteProjectCheck$module: + | Promise + | undefined; +const checksV2DeleteProjectCheck = + (( + ...args: Parameters< + typeof import("../funcs/checksV2DeleteProjectCheck.js").checksV2DeleteProjectCheck + > + ) => + new APIPromise( + (checksV2DeleteProjectCheck$module ??= import( + "../funcs/checksV2DeleteProjectCheck.js" + ).catch((error: unknown) => { + checksV2DeleteProjectCheck$module = undefined; + throw error; + })).then((module) => + module.checksV2DeleteProjectCheck(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2DeleteProjectCheck.js").checksV2DeleteProjectCheck; + +let checksV2ListCheckRuns$module: + | Promise + | undefined; +const checksV2ListCheckRuns = + (( + ...args: Parameters< + typeof import("../funcs/checksV2ListCheckRuns.js").checksV2ListCheckRuns + > + ) => + new APIPromise( + (checksV2ListCheckRuns$module ??= import( + "../funcs/checksV2ListCheckRuns.js" + ).catch((error: unknown) => { + checksV2ListCheckRuns$module = undefined; + throw error; + })).then((module) => module.checksV2ListCheckRuns(...args).$inspect()), + )) as typeof import("../funcs/checksV2ListCheckRuns.js").checksV2ListCheckRuns; + +let checksV2ListDeploymentCheckRuns$module: + | Promise + | undefined; +const checksV2ListDeploymentCheckRuns = + (( + ...args: Parameters< + typeof import("../funcs/checksV2ListDeploymentCheckRuns.js").checksV2ListDeploymentCheckRuns + > + ) => + new APIPromise( + (checksV2ListDeploymentCheckRuns$module ??= import( + "../funcs/checksV2ListDeploymentCheckRuns.js" + ).catch((error: unknown) => { + checksV2ListDeploymentCheckRuns$module = undefined; + throw error; + })).then((module) => + module.checksV2ListDeploymentCheckRuns(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2ListDeploymentCheckRuns.js").checksV2ListDeploymentCheckRuns; + +let checksV2CreateDeploymentCheckRun$module: + | Promise + | undefined; +const checksV2CreateDeploymentCheckRun = + (( + ...args: Parameters< + typeof import("../funcs/checksV2CreateDeploymentCheckRun.js").checksV2CreateDeploymentCheckRun + > + ) => + new APIPromise( + (checksV2CreateDeploymentCheckRun$module ??= import( + "../funcs/checksV2CreateDeploymentCheckRun.js" + ).catch((error: unknown) => { + checksV2CreateDeploymentCheckRun$module = undefined; + throw error; + })).then((module) => + module.checksV2CreateDeploymentCheckRun(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2CreateDeploymentCheckRun.js").checksV2CreateDeploymentCheckRun; + +let checksV2GetDeploymentCheckRun$module: + | Promise + | undefined; +const checksV2GetDeploymentCheckRun = + (( + ...args: Parameters< + typeof import("../funcs/checksV2GetDeploymentCheckRun.js").checksV2GetDeploymentCheckRun + > + ) => + new APIPromise( + (checksV2GetDeploymentCheckRun$module ??= import( + "../funcs/checksV2GetDeploymentCheckRun.js" + ).catch((error: unknown) => { + checksV2GetDeploymentCheckRun$module = undefined; + throw error; + })).then((module) => + module.checksV2GetDeploymentCheckRun(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2GetDeploymentCheckRun.js").checksV2GetDeploymentCheckRun; + +let checksV2UpdateDeploymentCheckRun$module: + | Promise + | undefined; +const checksV2UpdateDeploymentCheckRun = + (( + ...args: Parameters< + typeof import("../funcs/checksV2UpdateDeploymentCheckRun.js").checksV2UpdateDeploymentCheckRun + > + ) => + new APIPromise( + (checksV2UpdateDeploymentCheckRun$module ??= import( + "../funcs/checksV2UpdateDeploymentCheckRun.js" + ).catch((error: unknown) => { + checksV2UpdateDeploymentCheckRun$module = undefined; + throw error; + })).then((module) => + module.checksV2UpdateDeploymentCheckRun(...args).$inspect() + ), + )) as typeof import("../funcs/checksV2UpdateDeploymentCheckRun.js").checksV2UpdateDeploymentCheckRun; + +export class ChecksV2 extends ClientSDK { + /** + * List all checks for a project + * + * @remarks + * List all checks for a project, optionally filtered by target. + */ + async listProjectChecks( + request: ListProjectChecksRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2ListProjectChecks( + this, + request, + options, + )); + } + + /** + * Create a check + * + * @remarks + * Creates a new check for a project. + */ + async createProjectCheck( + request: CreateProjectCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2CreateProjectCheck( + this, + request, + options, + )); + } + + /** + * Get a check + * + * @remarks + * Return a detailed response for a single check. + */ + async getProjectCheck( + request: GetProjectCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2GetProjectCheck( + this, + request, + options, + )); + } + + /** + * Update a check + * + * @remarks + * Update an existing check. + */ + async updateProjectCheck( + request: UpdateProjectCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2UpdateProjectCheck( + this, + request, + options, + )); + } + + /** + * Delete a check + * + * @remarks + * Delete an existing check and all of its runs. + */ + async deleteProjectCheck( + request: DeleteProjectCheckRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2DeleteProjectCheck( + this, + request, + options, + )); + } + + /** + * List runs for a check + * + * @remarks + * List all runs associated with a given check. + */ + async listCheckRuns( + request: ListCheckRunsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2ListCheckRuns( + this, + request, + options, + )); + } + + /** + * List check runs for a deployment + * + * @remarks + * List all check runs for a deployment. + */ + async listDeploymentCheckRuns( + request: ListDeploymentCheckRunsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2ListDeploymentCheckRuns( + this, + request, + options, + )); + } + + /** + * Create a check run + * + * @remarks + * Creates a new check run for a deployment. + */ + async createDeploymentCheckRun( + request: CreateDeploymentCheckRunRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2CreateDeploymentCheckRun( + this, + request, + options, + )); + } + + /** + * Get a check run + * + * @remarks + * Return a detailed response for a single check run. + */ + async getDeploymentCheckRun( + request: GetDeploymentCheckRunRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2GetDeploymentCheckRun( + this, + request, + options, + )); + } + + /** + * Update a check run + * + * @remarks + * Update an existing check run for a deployment. + */ + async updateDeploymentCheckRun( + request: UpdateDeploymentCheckRunRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(checksV2UpdateDeploymentCheckRun( + this, + request, + options, + )); + } +} diff --git a/src/sdk/connect.lazy.ts b/src/sdk/connect.lazy.ts new file mode 100644 index 0000000000..212900a672 --- /dev/null +++ b/src/sdk/connect.lazy.ts @@ -0,0 +1,470 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { ConnectConnector } from "../models/connectconnector.js"; +import { ConnectConnectorList } from "../models/connectconnectorlist.js"; +import { ConnectConnectorProjectConnectionList } from "../models/connectconnectorprojectconnectionlist.js"; +import { ConnectConnectorUpdateResult } from "../models/connectconnectorupdateresult.js"; +import { ConnectProjectConnection } from "../models/connectprojectconnection.js"; +import { ConnectProjectConnectorConnectionList } from "../models/connectprojectconnectorconnectionlist.js"; +import { DeleteConnectorRequest } from "../models/deleteconnectorop.js"; +import { DeleteConnectorProjectConnectionRequest } from "../models/deleteconnectorprojectconnectionop.js"; +import { DisconnectConnectorProjectEnvironmentRequest } from "../models/disconnectconnectorprojectenvironmentop.js"; +import { EjectManagedConnectorRequest } from "../models/ejectmanagedconnectorop.js"; +import { GetConnectorRequest } from "../models/getconnectorop.js"; +import { GetConnectorProjectConnectionRequest } from "../models/getconnectorprojectconnectionop.js"; +import { ListConnectorProjectConnectionsRequest } from "../models/listconnectorprojectconnectionsop.js"; +import { ListConnectorsRequest } from "../models/listconnectorsop.js"; +import { ListProjectConnectorConnectionsRequest } from "../models/listprojectconnectorconnectionsop.js"; +import { ReplaceConnectorTriggerDestinationsRequest } from "../models/replaceconnectortriggerdestinationsop.js"; +import { UpdateConnectorRequest } from "../models/updateconnectorop.js"; +import { UpsertConnectorProjectConnectionRequest } from "../models/upsertconnectorprojectconnectionop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let connectListConnectors$module: + | Promise + | undefined; +const connectListConnectors = + (( + ...args: Parameters< + typeof import("../funcs/connectListConnectors.js").connectListConnectors + > + ) => + new APIPromise( + (connectListConnectors$module ??= import( + "../funcs/connectListConnectors.js" + ).catch((error: unknown) => { + connectListConnectors$module = undefined; + throw error; + })).then((module) => module.connectListConnectors(...args).$inspect()), + )) as typeof import("../funcs/connectListConnectors.js").connectListConnectors; + +let connectGetConnector$module: + | Promise + | undefined; +const connectGetConnector = + (( + ...args: Parameters< + typeof import("../funcs/connectGetConnector.js").connectGetConnector + > + ) => + new APIPromise( + (connectGetConnector$module ??= import("../funcs/connectGetConnector.js") + .catch((error: unknown) => { + connectGetConnector$module = undefined; + throw error; + })).then((module) => module.connectGetConnector(...args).$inspect()), + )) as typeof import("../funcs/connectGetConnector.js").connectGetConnector; + +let connectDeleteConnector$module: + | Promise + | undefined; +const connectDeleteConnector = + (( + ...args: Parameters< + typeof import("../funcs/connectDeleteConnector.js").connectDeleteConnector + > + ) => + new APIPromise( + (connectDeleteConnector$module ??= import( + "../funcs/connectDeleteConnector.js" + ).catch((error: unknown) => { + connectDeleteConnector$module = undefined; + throw error; + })).then((module) => module.connectDeleteConnector(...args).$inspect()), + )) as typeof import("../funcs/connectDeleteConnector.js").connectDeleteConnector; + +let connectUpdateConnector$module: + | Promise + | undefined; +const connectUpdateConnector = + (( + ...args: Parameters< + typeof import("../funcs/connectUpdateConnector.js").connectUpdateConnector + > + ) => + new APIPromise( + (connectUpdateConnector$module ??= import( + "../funcs/connectUpdateConnector.js" + ).catch((error: unknown) => { + connectUpdateConnector$module = undefined; + throw error; + })).then((module) => module.connectUpdateConnector(...args).$inspect()), + )) as typeof import("../funcs/connectUpdateConnector.js").connectUpdateConnector; + +let connectReplaceConnectorTriggerDestinations$module: + | Promise< + typeof import("../funcs/connectReplaceConnectorTriggerDestinations.js") + > + | undefined; +const connectReplaceConnectorTriggerDestinations = + (( + ...args: Parameters< + typeof import("../funcs/connectReplaceConnectorTriggerDestinations.js").connectReplaceConnectorTriggerDestinations + > + ) => + new APIPromise( + (connectReplaceConnectorTriggerDestinations$module ??= import( + "../funcs/connectReplaceConnectorTriggerDestinations.js" + ).catch((error: unknown) => { + connectReplaceConnectorTriggerDestinations$module = undefined; + throw error; + })).then((module) => + module.connectReplaceConnectorTriggerDestinations(...args).$inspect() + ), + )) as typeof import("../funcs/connectReplaceConnectorTriggerDestinations.js").connectReplaceConnectorTriggerDestinations; + +let connectEjectManagedConnector$module: + | Promise + | undefined; +const connectEjectManagedConnector = + (( + ...args: Parameters< + typeof import("../funcs/connectEjectManagedConnector.js").connectEjectManagedConnector + > + ) => + new APIPromise( + (connectEjectManagedConnector$module ??= import( + "../funcs/connectEjectManagedConnector.js" + ).catch((error: unknown) => { + connectEjectManagedConnector$module = undefined; + throw error; + })).then((module) => + module.connectEjectManagedConnector(...args).$inspect() + ), + )) as typeof import("../funcs/connectEjectManagedConnector.js").connectEjectManagedConnector; + +let connectListConnectorProjectConnections$module: + | Promise + | undefined; +const connectListConnectorProjectConnections = + (( + ...args: Parameters< + typeof import("../funcs/connectListConnectorProjectConnections.js").connectListConnectorProjectConnections + > + ) => + new APIPromise( + (connectListConnectorProjectConnections$module ??= import( + "../funcs/connectListConnectorProjectConnections.js" + ).catch((error: unknown) => { + connectListConnectorProjectConnections$module = undefined; + throw error; + })).then((module) => + module.connectListConnectorProjectConnections(...args).$inspect() + ), + )) as typeof import("../funcs/connectListConnectorProjectConnections.js").connectListConnectorProjectConnections; + +let connectGetConnectorProjectConnection$module: + | Promise + | undefined; +const connectGetConnectorProjectConnection = + (( + ...args: Parameters< + typeof import("../funcs/connectGetConnectorProjectConnection.js").connectGetConnectorProjectConnection + > + ) => + new APIPromise( + (connectGetConnectorProjectConnection$module ??= import( + "../funcs/connectGetConnectorProjectConnection.js" + ).catch((error: unknown) => { + connectGetConnectorProjectConnection$module = undefined; + throw error; + })).then((module) => + module.connectGetConnectorProjectConnection(...args).$inspect() + ), + )) as typeof import("../funcs/connectGetConnectorProjectConnection.js").connectGetConnectorProjectConnection; + +let connectUpsertConnectorProjectConnection$module: + | Promise< + typeof import("../funcs/connectUpsertConnectorProjectConnection.js") + > + | undefined; +const connectUpsertConnectorProjectConnection = + (( + ...args: Parameters< + typeof import("../funcs/connectUpsertConnectorProjectConnection.js").connectUpsertConnectorProjectConnection + > + ) => + new APIPromise( + (connectUpsertConnectorProjectConnection$module ??= import( + "../funcs/connectUpsertConnectorProjectConnection.js" + ).catch((error: unknown) => { + connectUpsertConnectorProjectConnection$module = undefined; + throw error; + })).then((module) => + module.connectUpsertConnectorProjectConnection(...args).$inspect() + ), + )) as typeof import("../funcs/connectUpsertConnectorProjectConnection.js").connectUpsertConnectorProjectConnection; + +let connectDeleteConnectorProjectConnection$module: + | Promise< + typeof import("../funcs/connectDeleteConnectorProjectConnection.js") + > + | undefined; +const connectDeleteConnectorProjectConnection = + (( + ...args: Parameters< + typeof import("../funcs/connectDeleteConnectorProjectConnection.js").connectDeleteConnectorProjectConnection + > + ) => + new APIPromise( + (connectDeleteConnectorProjectConnection$module ??= import( + "../funcs/connectDeleteConnectorProjectConnection.js" + ).catch((error: unknown) => { + connectDeleteConnectorProjectConnection$module = undefined; + throw error; + })).then((module) => + module.connectDeleteConnectorProjectConnection(...args).$inspect() + ), + )) as typeof import("../funcs/connectDeleteConnectorProjectConnection.js").connectDeleteConnectorProjectConnection; + +let connectDisconnectConnectorProjectEnvironment$module: + | Promise< + typeof import("../funcs/connectDisconnectConnectorProjectEnvironment.js") + > + | undefined; +const connectDisconnectConnectorProjectEnvironment = + (( + ...args: Parameters< + typeof import("../funcs/connectDisconnectConnectorProjectEnvironment.js").connectDisconnectConnectorProjectEnvironment + > + ) => + new APIPromise( + (connectDisconnectConnectorProjectEnvironment$module ??= import( + "../funcs/connectDisconnectConnectorProjectEnvironment.js" + ).catch((error: unknown) => { + connectDisconnectConnectorProjectEnvironment$module = undefined; + throw error; + })).then((module) => + module.connectDisconnectConnectorProjectEnvironment(...args).$inspect() + ), + )) as typeof import("../funcs/connectDisconnectConnectorProjectEnvironment.js").connectDisconnectConnectorProjectEnvironment; + +let connectListProjectConnectorConnections$module: + | Promise + | undefined; +const connectListProjectConnectorConnections = + (( + ...args: Parameters< + typeof import("../funcs/connectListProjectConnectorConnections.js").connectListProjectConnectorConnections + > + ) => + new APIPromise( + (connectListProjectConnectorConnections$module ??= import( + "../funcs/connectListProjectConnectorConnections.js" + ).catch((error: unknown) => { + connectListProjectConnectorConnections$module = undefined; + throw error; + })).then((module) => + module.connectListProjectConnectorConnections(...args).$inspect() + ), + )) as typeof import("../funcs/connectListProjectConnectorConnections.js").connectListProjectConnectorConnections; + +export class Connect extends ClientSDK { + /** + * List connectors + * + * @remarks + * List connectors that belong to a team. + */ + async listConnectors( + request: ListConnectorsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectListConnectors( + this, + request, + options, + )); + } + + /** + * Get a connector + * + * @remarks + * Get the connector by ID. Accepts a dashboard/team requester or a deployment's project OIDC token; project requesters may only read connectors linked to their project and environment. + */ + async getConnector( + request: GetConnectorRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectGetConnector( + this, + request, + options, + )); + } + + /** + * Delete a connector + * + * @remarks + * Delete a connector, its project connections, and its installation records. + */ + async deleteConnector( + request: DeleteConnectorRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectDeleteConnector( + this, + request, + options, + )); + } + + /** + * Update a connector + * + * @remarks + * Update a connector and return the connector with any service-side update signals that the caller must handle. + */ + async updateConnector( + request: UpdateConnectorRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectUpdateConnector( + this, + request, + options, + )); + } + + /** + * Update connector trigger destinations + * + * @remarks + * Replace the full set of destinations that receive trigger requests for a connector. + */ + async replaceConnectorTriggerDestinations( + request: ReplaceConnectorTriggerDestinationsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectReplaceConnectorTriggerDestinations( + this, + request, + options, + )); + } + + /** + * Eject a managed connector + * + * @remarks + * Disconnect a managed connector from its provider-side manager. + */ + async ejectManagedConnector( + request: EjectManagedConnectorRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectEjectManagedConnector( + this, + request, + options, + )); + } + + /** + * List projects for a connector + * + * @remarks + * List the projects connected to a connector and the environments where each connection is available. + */ + async listConnectorProjectConnections( + request: ListConnectorProjectConnectionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectListConnectorProjectConnections( + this, + request, + options, + )); + } + + /** + * Get a connector project connection + * + * @remarks + * Get the configuration that connects a connector to a project. + */ + async getConnectorProjectConnection( + request: GetConnectorProjectConnectionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectGetConnectorProjectConnection( + this, + request, + options, + )); + } + + /** + * Create or update a connector project connection + * + * @remarks + * Connect a connector to a project, or replace the environments on an existing project connection. + */ + async upsertConnectorProjectConnection( + request: UpsertConnectorProjectConnectionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectUpsertConnectorProjectConnection( + this, + request, + options, + )); + } + + /** + * Disconnect a connector from a project + * + * @remarks + * Disconnect a connector from a project. + */ + async deleteConnectorProjectConnection( + request: DeleteConnectorProjectConnectionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectDeleteConnectorProjectConnection( + this, + request, + options, + )); + } + + /** + * Disconnect a connector from a project environment + * + * @remarks + * Remove a connector's access and event destinations for one project environment. Other environments, the connector, and its provider installations are preserved. Preview disconnect removes destinations for every preview branch in the project. Disconnecting the last environment also releases the project-local UID. Safe to retry. + */ + async disconnectConnectorProjectEnvironment( + request: DisconnectConnectorProjectEnvironmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectDisconnectConnectorProjectEnvironment( + this, + request, + options, + )); + } + + /** + * List connectors for a project + * + * @remarks + * List the connectors connected to a project and the environments where each connection is available. + */ + async listProjectConnectorConnections( + request: ListProjectConnectorConnectionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(connectListProjectConnectorConnections( + this, + request, + options, + )); + } +} diff --git a/src/sdk/daemons.lazy.ts b/src/sdk/daemons.lazy.ts new file mode 100644 index 0000000000..5648e52fbe --- /dev/null +++ b/src/sdk/daemons.lazy.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + GetProjectBoxesRequest, + GetProjectBoxesResponseBody, +} from "../models/getprojectboxesop.js"; +import { + PutProjectDaemonInstancesRequest, + PutProjectDaemonInstancesResponseBody, +} from "../models/putprojectdaemoninstancesop.js"; +import { + RestartProjectDaemonInstanceRequest, + RestartProjectDaemonInstanceResponseBody, +} from "../models/restartprojectdaemoninstanceop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let daemonsGetProjectBoxes$module: + | Promise + | undefined; +const daemonsGetProjectBoxes = + (( + ...args: Parameters< + typeof import("../funcs/daemonsGetProjectBoxes.js").daemonsGetProjectBoxes + > + ) => + new APIPromise( + (daemonsGetProjectBoxes$module ??= import( + "../funcs/daemonsGetProjectBoxes.js" + ).catch((error: unknown) => { + daemonsGetProjectBoxes$module = undefined; + throw error; + })).then((module) => module.daemonsGetProjectBoxes(...args).$inspect()), + )) as typeof import("../funcs/daemonsGetProjectBoxes.js").daemonsGetProjectBoxes; + +let daemonsPutProjectDaemonInstances$module: + | Promise + | undefined; +const daemonsPutProjectDaemonInstances = + (( + ...args: Parameters< + typeof import("../funcs/daemonsPutProjectDaemonInstances.js").daemonsPutProjectDaemonInstances + > + ) => + new APIPromise( + (daemonsPutProjectDaemonInstances$module ??= import( + "../funcs/daemonsPutProjectDaemonInstances.js" + ).catch((error: unknown) => { + daemonsPutProjectDaemonInstances$module = undefined; + throw error; + })).then((module) => + module.daemonsPutProjectDaemonInstances(...args).$inspect() + ), + )) as typeof import("../funcs/daemonsPutProjectDaemonInstances.js").daemonsPutProjectDaemonInstances; + +let daemonsRestartProjectDaemonInstance$module: + | Promise + | undefined; +const daemonsRestartProjectDaemonInstance = + (( + ...args: Parameters< + typeof import("../funcs/daemonsRestartProjectDaemonInstance.js").daemonsRestartProjectDaemonInstance + > + ) => + new APIPromise( + (daemonsRestartProjectDaemonInstance$module ??= import( + "../funcs/daemonsRestartProjectDaemonInstance.js" + ).catch((error: unknown) => { + daemonsRestartProjectDaemonInstance$module = undefined; + throw error; + })).then((module) => + module.daemonsRestartProjectDaemonInstance(...args).$inspect() + ), + )) as typeof import("../funcs/daemonsRestartProjectDaemonInstance.js").daemonsRestartProjectDaemonInstance; + +export class Daemons extends ClientSDK { + /** + * Get project daemons + * + * @remarks + * List the daemons of a project. + */ + async getProjectBoxes( + request: GetProjectBoxesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(daemonsGetProjectBoxes( + this, + request, + options, + )); + } + + /** + * Override a project daemon's instance counts + * + * @remarks + * Override the instance counts of a daemon in the given regions, without changing its configuration or the overrides of other regions. + */ + async putProjectDaemonInstances( + request: PutProjectDaemonInstancesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(daemonsPutProjectDaemonInstances( + this, + request, + options, + )); + } + + /** + * Force restart a project daemon instance + * + * @remarks + * Force restart a running daemon instance in production, or in a custom environment when `customEnvironmentId` is given. The new container starts asynchronously after the restart is accepted. + */ + async restartProjectDaemonInstance( + request: RestartProjectDaemonInstanceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(daemonsRestartProjectDaemonInstance( + this, + request, + options, + )); + } +} diff --git a/src/sdk/deployments.lazy.ts b/src/sdk/deployments.lazy.ts new file mode 100644 index 0000000000..e198326d29 --- /dev/null +++ b/src/sdk/deployments.lazy.ts @@ -0,0 +1,410 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { CancelDeploymentRequest } from "../models/canceldeploymentprojectsettings.js"; +import { CancelDeploymentResponseBody } from "../models/canceldeploymentresponsebody.js"; +import { CreateDeploymentRequest } from "../models/createdeploymentgitsource1.js"; +import { CreateDeploymentResponseBody } from "../models/createdeploymentresponsebody.js"; +import { + DeleteDeploymentRequest, + DeleteDeploymentResponseBody, +} from "../models/deletedeploymentop.js"; +import { FileTree } from "../models/filetree.js"; +import { + GetDeploymentEventsRequest, + GetDeploymentEventsResponse, +} from "../models/getdeploymenteventsop.js"; +import { GetDeploymentFileContentsRequest } from "../models/getdeploymentfilecontentsop.js"; +import { GetDeploymentRequest } from "../models/getdeploymentgitsourcedeploymentsresponse200applicationjsonresponsebody219type.js"; +import { GetDeploymentResponseBody } from "../models/getdeploymentresponsebody.js"; +import { + GetDeploymentsRequest, + GetDeploymentsResponseBody, +} from "../models/getdeploymentsop.js"; +import { ListDeploymentFilesRequest } from "../models/listdeploymentfilesop.js"; +import { UpdateIntegrationDeploymentActionRequest } from "../models/updateintegrationdeploymentactionop.js"; +import { + UploadFileRequest, + UploadFileResponseBody, +} from "../models/uploadfileop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +export enum GetDeploymentEventsAcceptEnum { + applicationJson = "application/json", + applicationStreamPlusJson = "application/stream+json", +} + +let deploymentsGetDeploymentEvents$module: + | Promise + | undefined; +const deploymentsGetDeploymentEvents = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsGetDeploymentEvents.js").deploymentsGetDeploymentEvents + > + ) => + new APIPromise( + (deploymentsGetDeploymentEvents$module ??= import( + "../funcs/deploymentsGetDeploymentEvents.js" + ).catch((error: unknown) => { + deploymentsGetDeploymentEvents$module = undefined; + throw error; + })).then((module) => + module.deploymentsGetDeploymentEvents(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsGetDeploymentEvents.js").deploymentsGetDeploymentEvents; + +let deploymentsUpdateIntegrationDeploymentAction$module: + | Promise< + typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js") + > + | undefined; +const deploymentsUpdateIntegrationDeploymentAction = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js").deploymentsUpdateIntegrationDeploymentAction + > + ) => + new APIPromise( + (deploymentsUpdateIntegrationDeploymentAction$module ??= import( + "../funcs/deploymentsUpdateIntegrationDeploymentAction.js" + ).catch((error: unknown) => { + deploymentsUpdateIntegrationDeploymentAction$module = undefined; + throw error; + })).then((module) => + module.deploymentsUpdateIntegrationDeploymentAction(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js").deploymentsUpdateIntegrationDeploymentAction; + +let deploymentsGetDeployment$module: + | Promise + | undefined; +const deploymentsGetDeployment = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsGetDeployment.js").deploymentsGetDeployment + > + ) => + new APIPromise( + (deploymentsGetDeployment$module ??= import( + "../funcs/deploymentsGetDeployment.js" + ).catch((error: unknown) => { + deploymentsGetDeployment$module = undefined; + throw error; + })).then((module) => module.deploymentsGetDeployment(...args).$inspect()), + )) as typeof import("../funcs/deploymentsGetDeployment.js").deploymentsGetDeployment; + +let deploymentsCreateDeployment$module: + | Promise + | undefined; +const deploymentsCreateDeployment = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsCreateDeployment.js").deploymentsCreateDeployment + > + ) => + new APIPromise( + (deploymentsCreateDeployment$module ??= import( + "../funcs/deploymentsCreateDeployment.js" + ).catch((error: unknown) => { + deploymentsCreateDeployment$module = undefined; + throw error; + })).then((module) => + module.deploymentsCreateDeployment(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsCreateDeployment.js").deploymentsCreateDeployment; + +let deploymentsCancelDeployment$module: + | Promise + | undefined; +const deploymentsCancelDeployment = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsCancelDeployment.js").deploymentsCancelDeployment + > + ) => + new APIPromise( + (deploymentsCancelDeployment$module ??= import( + "../funcs/deploymentsCancelDeployment.js" + ).catch((error: unknown) => { + deploymentsCancelDeployment$module = undefined; + throw error; + })).then((module) => + module.deploymentsCancelDeployment(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsCancelDeployment.js").deploymentsCancelDeployment; + +let deploymentsUploadFile$module: + | Promise + | undefined; +const deploymentsUploadFile = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsUploadFile.js").deploymentsUploadFile + > + ) => + new APIPromise( + (deploymentsUploadFile$module ??= import( + "../funcs/deploymentsUploadFile.js" + ).catch((error: unknown) => { + deploymentsUploadFile$module = undefined; + throw error; + })).then((module) => module.deploymentsUploadFile(...args).$inspect()), + )) as typeof import("../funcs/deploymentsUploadFile.js").deploymentsUploadFile; + +let deploymentsListDeploymentFiles$module: + | Promise + | undefined; +const deploymentsListDeploymentFiles = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsListDeploymentFiles.js").deploymentsListDeploymentFiles + > + ) => + new APIPromise( + (deploymentsListDeploymentFiles$module ??= import( + "../funcs/deploymentsListDeploymentFiles.js" + ).catch((error: unknown) => { + deploymentsListDeploymentFiles$module = undefined; + throw error; + })).then((module) => + module.deploymentsListDeploymentFiles(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsListDeploymentFiles.js").deploymentsListDeploymentFiles; + +let deploymentsGetDeploymentFileContents$module: + | Promise + | undefined; +const deploymentsGetDeploymentFileContents = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsGetDeploymentFileContents.js").deploymentsGetDeploymentFileContents + > + ) => + new APIPromise( + (deploymentsGetDeploymentFileContents$module ??= import( + "../funcs/deploymentsGetDeploymentFileContents.js" + ).catch((error: unknown) => { + deploymentsGetDeploymentFileContents$module = undefined; + throw error; + })).then((module) => + module.deploymentsGetDeploymentFileContents(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsGetDeploymentFileContents.js").deploymentsGetDeploymentFileContents; + +let deploymentsGetDeployments$module: + | Promise + | undefined; +const deploymentsGetDeployments = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsGetDeployments.js").deploymentsGetDeployments + > + ) => + new APIPromise( + (deploymentsGetDeployments$module ??= import( + "../funcs/deploymentsGetDeployments.js" + ).catch((error: unknown) => { + deploymentsGetDeployments$module = undefined; + throw error; + })).then((module) => + module.deploymentsGetDeployments(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsGetDeployments.js").deploymentsGetDeployments; + +let deploymentsDeleteDeployment$module: + | Promise + | undefined; +const deploymentsDeleteDeployment = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsDeleteDeployment.js").deploymentsDeleteDeployment + > + ) => + new APIPromise( + (deploymentsDeleteDeployment$module ??= import( + "../funcs/deploymentsDeleteDeployment.js" + ).catch((error: unknown) => { + deploymentsDeleteDeployment$module = undefined; + throw error; + })).then((module) => + module.deploymentsDeleteDeployment(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsDeleteDeployment.js").deploymentsDeleteDeployment; + +export class Deployments extends ClientSDK { + /** + * Get deployment events + * + * @remarks + * Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters. + */ + async getDeploymentEvents( + request: GetDeploymentEventsRequest, + options?: RequestOptions & { + acceptHeaderOverride?: GetDeploymentEventsAcceptEnum; + }, + ): Promise { + return unwrapAsync(deploymentsGetDeploymentEvents( + this, + request, + options, + )); + } + + /** + * Update deployment integration action + * + * @remarks + * Updates the deployment integration action for the specified integration installation + */ + async updateIntegrationDeploymentAction( + request: UpdateIntegrationDeploymentActionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsUpdateIntegrationDeploymentAction( + this, + request, + options, + )); + } + + /** + * Get a deployment by ID or URL + * + * @remarks + * Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user or team is an owner of the deployment. + */ + async getDeployment( + request: GetDeploymentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsGetDeployment( + this, + request, + options, + )); + } + + /** + * Create a new deployment + * + * @remarks + * Creates a new deployment for the authenticated team or user. For non-git deployments, upload files first via the file upload API, then reference them here by SHA — or inline small files directly in the request body. To redeploy an existing deployment, provide its `deploymentId`; all settings are inherited unless explicitly overridden. The deployment begins building immediately and transitions through `QUEUED` → `INITIALIZING` → `BUILDING` before reaching `READY` or `ERROR`. + */ + async createDeployment( + request: CreateDeploymentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsCreateDeployment( + this, + request, + options, + )); + } + + /** + * Cancel a deployment + * + * @remarks + * Cancels a deployment that is currently in progress, stopping the build before it completes. Use this to recover quickly from accidental deploys, wrong-branch pushes, or builds with known errors — without waiting for them to finish. Returns 400 if the deployment is no longer cancelable (already `READY`, `ERROR`, or `CANCELED`). Returns the updated deployment object with `readyState: 'CANCELED'` on success. + */ + async cancelDeployment( + request: CancelDeploymentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsCancelDeployment( + this, + request, + options, + )); + } + + /** + * Upload Deployment Files + * + * @remarks + * Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body. + */ + async uploadFile( + request: UploadFileRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsUploadFile( + this, + request, + options, + )); + } + + /** + * List Deployment Files + * + * @remarks + * Allows to retrieve the file structure of the source code of a deployment by supplying the deployment unique identifier. If the deployment was created with the Vercel CLI or the API directly with the `files` key, it will have a file tree that can be retrievable. + */ + async listDeploymentFiles( + request: ListDeploymentFilesRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(deploymentsListDeploymentFiles( + this, + request, + options, + )); + } + + /** + * Get Deployment File Contents + * + * @remarks + * Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64. + */ + async getDeploymentFileContents( + request: GetDeploymentFileContentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsGetDeploymentFileContents( + this, + request, + options, + )); + } + + /** + * List deployments + * + * @remarks + * List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`. + */ + async getDeployments( + request: GetDeploymentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsGetDeployments( + this, + request, + options, + )); + } + + /** + * Delete a Deployment + * + * @remarks + * This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments. + */ + async deleteDeployment( + request: DeleteDeploymentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsDeleteDeployment( + this, + request, + options, + )); + } +} diff --git a/src/sdk/dns.lazy.ts b/src/sdk/dns.lazy.ts new file mode 100644 index 0000000000..069734869b --- /dev/null +++ b/src/sdk/dns.lazy.ts @@ -0,0 +1,165 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateRecordRequest, + CreateRecordResponseBody, +} from "../models/createrecordop.js"; +import { + GetRecordsRequest, + GetRecordsResponseBody, +} from "../models/getrecordsop.js"; +import { + RemoveRecordRequest, + RemoveRecordResponseBody, +} from "../models/removerecordop.js"; +import { + UpdateRecordRequest, + UpdateRecordResponseBody, +} from "../models/updaterecordop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let dnsGetRecords$module: + | Promise + | undefined; +const dnsGetRecords = + (( + ...args: Parameters< + typeof import("../funcs/dnsGetRecords.js").dnsGetRecords + > + ) => + new APIPromise( + (dnsGetRecords$module ??= import("../funcs/dnsGetRecords.js").catch( + (error: unknown) => { + dnsGetRecords$module = undefined; + throw error; + }, + )).then((module) => module.dnsGetRecords(...args).$inspect()), + )) as typeof import("../funcs/dnsGetRecords.js").dnsGetRecords; + +let dnsCreateRecord$module: + | Promise + | undefined; +const dnsCreateRecord = + (( + ...args: Parameters< + typeof import("../funcs/dnsCreateRecord.js").dnsCreateRecord + > + ) => + new APIPromise( + (dnsCreateRecord$module ??= import("../funcs/dnsCreateRecord.js").catch( + (error: unknown) => { + dnsCreateRecord$module = undefined; + throw error; + }, + )).then((module) => module.dnsCreateRecord(...args).$inspect()), + )) as typeof import("../funcs/dnsCreateRecord.js").dnsCreateRecord; + +let dnsUpdateRecord$module: + | Promise + | undefined; +const dnsUpdateRecord = + (( + ...args: Parameters< + typeof import("../funcs/dnsUpdateRecord.js").dnsUpdateRecord + > + ) => + new APIPromise( + (dnsUpdateRecord$module ??= import("../funcs/dnsUpdateRecord.js").catch( + (error: unknown) => { + dnsUpdateRecord$module = undefined; + throw error; + }, + )).then((module) => module.dnsUpdateRecord(...args).$inspect()), + )) as typeof import("../funcs/dnsUpdateRecord.js").dnsUpdateRecord; + +let dnsRemoveRecord$module: + | Promise + | undefined; +const dnsRemoveRecord = + (( + ...args: Parameters< + typeof import("../funcs/dnsRemoveRecord.js").dnsRemoveRecord + > + ) => + new APIPromise( + (dnsRemoveRecord$module ??= import("../funcs/dnsRemoveRecord.js").catch( + (error: unknown) => { + dnsRemoveRecord$module = undefined; + throw error; + }, + )).then((module) => module.dnsRemoveRecord(...args).$inspect()), + )) as typeof import("../funcs/dnsRemoveRecord.js").dnsRemoveRecord; + +export class Dns extends ClientSDK { + /** + * List existing DNS records + * + * @remarks + * Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options. + */ + async getRecords( + request: GetRecordsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(dnsGetRecords( + this, + request, + options, + )); + } + + /** + * Create a DNS record + * + * @remarks + * Creates a DNS record for a domain. + */ + async createRecord( + request: CreateRecordRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(dnsCreateRecord( + this, + request, + options, + )); + } + + /** + * Update an existing DNS record + * + * @remarks + * Updates an existing DNS record for a domain name. + */ + async updateRecord( + request: UpdateRecordRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(dnsUpdateRecord( + this, + request, + options, + )); + } + + /** + * Delete a DNS record + * + * @remarks + * Removes an existing DNS record from a domain name. + */ + async removeRecord( + request: RemoveRecordRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(dnsRemoveRecord( + this, + request, + options, + )); + } +} diff --git a/src/sdk/domains.lazy.ts b/src/sdk/domains.lazy.ts new file mode 100644 index 0000000000..1404c40f63 --- /dev/null +++ b/src/sdk/domains.lazy.ts @@ -0,0 +1,365 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + ClaimDomainOwnershipRequest, + ClaimDomainOwnershipResponseBody, +} from "../models/claimdomainownershipop.js"; +import { + CreateOrTransferDomainRequest, + CreateOrTransferDomainResponseBody, +} from "../models/createortransferdomainop.js"; +import { + DeleteDomainRequest, + DeleteDomainResponseBody, +} from "../models/deletedomainop.js"; +import { + GetDomainConfigRequest, + GetDomainConfigResponseBody, +} from "../models/getdomainconfigop.js"; +import { + GetDomainRequest, + GetDomainResponseBody, +} from "../models/getdomainop.js"; +import { + GetDomainProjectDomainsRequest, + GetDomainProjectDomainsResponseBody, +} from "../models/getdomainprojectdomainsop.js"; +import { + GetDomainsRequest, + GetDomainsResponseBody, +} from "../models/getdomainsop.js"; +import { + GetDomainVerificationRecordRequest, + GetDomainVerificationRecordResponseBody, +} from "../models/getdomainverificationrecordop.js"; +import { + PatchDomainRequest, + PatchDomainResponseBody, +} from "../models/patchdomainop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let domainsGetDomainConfig$module: + | Promise + | undefined; +const domainsGetDomainConfig = + (( + ...args: Parameters< + typeof import("../funcs/domainsGetDomainConfig.js").domainsGetDomainConfig + > + ) => + new APIPromise( + (domainsGetDomainConfig$module ??= import( + "../funcs/domainsGetDomainConfig.js" + ).catch((error: unknown) => { + domainsGetDomainConfig$module = undefined; + throw error; + })).then((module) => module.domainsGetDomainConfig(...args).$inspect()), + )) as typeof import("../funcs/domainsGetDomainConfig.js").domainsGetDomainConfig; + +let domainsGetDomainVerificationRecord$module: + | Promise + | undefined; +const domainsGetDomainVerificationRecord = + (( + ...args: Parameters< + typeof import("../funcs/domainsGetDomainVerificationRecord.js").domainsGetDomainVerificationRecord + > + ) => + new APIPromise( + (domainsGetDomainVerificationRecord$module ??= import( + "../funcs/domainsGetDomainVerificationRecord.js" + ).catch((error: unknown) => { + domainsGetDomainVerificationRecord$module = undefined; + throw error; + })).then((module) => + module.domainsGetDomainVerificationRecord(...args).$inspect() + ), + )) as typeof import("../funcs/domainsGetDomainVerificationRecord.js").domainsGetDomainVerificationRecord; + +let domainsClaimDomainOwnership$module: + | Promise + | undefined; +const domainsClaimDomainOwnership = + (( + ...args: Parameters< + typeof import("../funcs/domainsClaimDomainOwnership.js").domainsClaimDomainOwnership + > + ) => + new APIPromise( + (domainsClaimDomainOwnership$module ??= import( + "../funcs/domainsClaimDomainOwnership.js" + ).catch((error: unknown) => { + domainsClaimDomainOwnership$module = undefined; + throw error; + })).then((module) => + module.domainsClaimDomainOwnership(...args).$inspect() + ), + )) as typeof import("../funcs/domainsClaimDomainOwnership.js").domainsClaimDomainOwnership; + +let domainsGetDomainProjectDomains$module: + | Promise + | undefined; +const domainsGetDomainProjectDomains = + (( + ...args: Parameters< + typeof import("../funcs/domainsGetDomainProjectDomains.js").domainsGetDomainProjectDomains + > + ) => + new APIPromise( + (domainsGetDomainProjectDomains$module ??= import( + "../funcs/domainsGetDomainProjectDomains.js" + ).catch((error: unknown) => { + domainsGetDomainProjectDomains$module = undefined; + throw error; + })).then((module) => + module.domainsGetDomainProjectDomains(...args).$inspect() + ), + )) as typeof import("../funcs/domainsGetDomainProjectDomains.js").domainsGetDomainProjectDomains; + +let domainsGetDomain$module: + | Promise + | undefined; +const domainsGetDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsGetDomain.js").domainsGetDomain + > + ) => + new APIPromise( + (domainsGetDomain$module ??= import("../funcs/domainsGetDomain.js").catch( + (error: unknown) => { + domainsGetDomain$module = undefined; + throw error; + }, + )).then((module) => module.domainsGetDomain(...args).$inspect()), + )) as typeof import("../funcs/domainsGetDomain.js").domainsGetDomain; + +let domainsGetDomains$module: + | Promise + | undefined; +const domainsGetDomains = + (( + ...args: Parameters< + typeof import("../funcs/domainsGetDomains.js").domainsGetDomains + > + ) => + new APIPromise( + (domainsGetDomains$module ??= import("../funcs/domainsGetDomains.js") + .catch((error: unknown) => { + domainsGetDomains$module = undefined; + throw error; + })).then((module) => module.domainsGetDomains(...args).$inspect()), + )) as typeof import("../funcs/domainsGetDomains.js").domainsGetDomains; + +let domainsCreateOrTransferDomain$module: + | Promise + | undefined; +const domainsCreateOrTransferDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsCreateOrTransferDomain.js").domainsCreateOrTransferDomain + > + ) => + new APIPromise( + (domainsCreateOrTransferDomain$module ??= import( + "../funcs/domainsCreateOrTransferDomain.js" + ).catch((error: unknown) => { + domainsCreateOrTransferDomain$module = undefined; + throw error; + })).then((module) => + module.domainsCreateOrTransferDomain(...args).$inspect() + ), + )) as typeof import("../funcs/domainsCreateOrTransferDomain.js").domainsCreateOrTransferDomain; + +let domainsPatchDomain$module: + | Promise + | undefined; +const domainsPatchDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsPatchDomain.js").domainsPatchDomain + > + ) => + new APIPromise( + (domainsPatchDomain$module ??= import("../funcs/domainsPatchDomain.js") + .catch((error: unknown) => { + domainsPatchDomain$module = undefined; + throw error; + })).then((module) => module.domainsPatchDomain(...args).$inspect()), + )) as typeof import("../funcs/domainsPatchDomain.js").domainsPatchDomain; + +let domainsDeleteDomain$module: + | Promise + | undefined; +const domainsDeleteDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsDeleteDomain.js").domainsDeleteDomain + > + ) => + new APIPromise( + (domainsDeleteDomain$module ??= import("../funcs/domainsDeleteDomain.js") + .catch((error: unknown) => { + domainsDeleteDomain$module = undefined; + throw error; + })).then((module) => module.domainsDeleteDomain(...args).$inspect()), + )) as typeof import("../funcs/domainsDeleteDomain.js").domainsDeleteDomain; + +export class Domains extends ClientSDK { + /** + * Get a Domain's configuration + * + * @remarks + * Get a Domain's configuration. + */ + async getDomainConfig( + request: GetDomainConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsGetDomainConfig( + this, + request, + options, + )); + } + + /** + * Get Domain Verification Record + * + * @remarks + * Get the TXT verification record needed to claim ownership of a domain for the authenticated team. The caller must add this TXT record to `_vercel.{domain}` in their DNS configuration, then call POST /domains/:domain/claim to complete the ownership transfer. Records expire at the returned expiresAt (at most 24 hours) or when ownership changes. + */ + async getDomainVerificationRecord( + request: GetDomainVerificationRecordRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsGetDomainVerificationRecord( + this, + request, + options, + )); + } + + /** + * Claim Domain Ownership + * + * @remarks + * Claim ownership of a domain for the authenticated team by verifying a TXT record. The caller must first add a TXT record to `_vercel.{domain}` (obtained from GET /domains/:domain/verification), then call this endpoint to complete the ownership transfer. Proof must be unexpired and issued for the domain's current ownership. If the TXT record is verified, the domain ownership will be transferred to the caller's team, even if the domain is currently owned by another user or team. + */ + async claimDomainOwnership( + request: ClaimDomainOwnershipRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsClaimDomainOwnership( + this, + request, + options, + )); + } + + /** + * List Project Domains by Apex Domain + * + * @remarks + * List all project domains associated with an apex domain owned by the authenticated account. + */ + async getDomainProjectDomains( + request: GetDomainProjectDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsGetDomainProjectDomains( + this, + request, + options, + )); + } + + /** + * Get Information for a Single Domain + * + * @remarks + * Get information for a single domain in an account or team. + */ + async getDomain( + request: GetDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsGetDomain( + this, + request, + options, + )); + } + + /** + * List all the domains + * + * @remarks + * Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided. + */ + async getDomains( + request: GetDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsGetDomains( + this, + request, + options, + )); + } + + /** + * Add an existing domain to the Vercel platform + * + * @remarks + * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain). + */ + async createOrTransferDomain( + request: CreateOrTransferDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsCreateOrTransferDomain( + this, + request, + options, + )); + } + + /** + * Update or move apex domain + * + * @remarks + * Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain). + */ + async patchDomain( + request: PatchDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsPatchDomain( + this, + request, + options, + )); + } + + /** + * Remove a domain by name + * + * @remarks + * Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases. + */ + async deleteDomain( + request: DeleteDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsDeleteDomain( + this, + request, + options, + )); + } +} diff --git a/src/sdk/domainsregistrar.lazy.ts b/src/sdk/domainsregistrar.lazy.ts new file mode 100644 index 0000000000..d44d61cbba --- /dev/null +++ b/src/sdk/domainsregistrar.lazy.ts @@ -0,0 +1,773 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + BuyDomainsRequest, + BuyDomainsResponseBody, +} from "../models/buydomainsop.js"; +import { + BuySingleDomainRequest, + BuySingleDomainResponseBody, +} from "../models/buysingledomainop.js"; +import { + GetBulkAvailabilityRequest, + GetBulkAvailabilityResponseBody, +} from "../models/getbulkavailabilityop.js"; +import { + GetBulkPriceRequest, + GetBulkPriceResponseBody, +} from "../models/getbulkpriceop.js"; +import { + GetContactInfoSchemaRequest, + GetContactInfoSchemaResponseBody, +} from "../models/getcontactinfoschemaop.js"; +import { + GetDomainAuthCodeRequest, + GetDomainAuthCodeResponseBody, +} from "../models/getdomainauthcodeop.js"; +import { + GetDomainAvailabilityRequest, + GetDomainAvailabilityResponseBody, +} from "../models/getdomainavailabilityop.js"; +import { + GetDomainContactVerificationRequest, + GetDomainContactVerificationResponseBody, +} from "../models/getdomaincontactverificationop.js"; +import { + GetDomainPriceRequest, + GetDomainPriceResponseBody, +} from "../models/getdomainpriceop.js"; +import { + GetDomainTransferInRequest, + GetDomainTransferInResponseBody, +} from "../models/getdomaintransferinop.js"; +import { GetOrderRequest, GetOrderResponseBody } from "../models/getorderop.js"; +import { GetSupportedTldsRequest } from "../models/getsupportedtldsop.js"; +import { GetTldRequest, GetTldResponseBody } from "../models/gettldop.js"; +import { + GetTldPriceRequest, + GetTldPriceResponseBody, +} from "../models/gettldpriceop.js"; +import { + RenewDomainRequest, + RenewDomainResponseBody, +} from "../models/renewdomainop.js"; +import { + SearchDomainsRequest, + SearchDomainsResponseBody, +} from "../models/searchdomainsop.js"; +import { + TransferInDomainRequest, + TransferInDomainResponseBody, +} from "../models/transferindomainop.js"; +import { UpdateDomainAutoRenewRequest } from "../models/updatedomainautorenewop.js"; +import { UpdateDomainNameserversRequest } from "../models/updatedomainnameserversop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let domainsRegistrarSearchDomains$module: + | Promise + | undefined; +const domainsRegistrarSearchDomains = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarSearchDomains.js").domainsRegistrarSearchDomains + > + ) => + new APIPromise( + (domainsRegistrarSearchDomains$module ??= import( + "../funcs/domainsRegistrarSearchDomains.js" + ).catch((error: unknown) => { + domainsRegistrarSearchDomains$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarSearchDomains(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarSearchDomains.js").domainsRegistrarSearchDomains; + +let domainsRegistrarGetSupportedTlds$module: + | Promise + | undefined; +const domainsRegistrarGetSupportedTlds = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetSupportedTlds.js").domainsRegistrarGetSupportedTlds + > + ) => + new APIPromise( + (domainsRegistrarGetSupportedTlds$module ??= import( + "../funcs/domainsRegistrarGetSupportedTlds.js" + ).catch((error: unknown) => { + domainsRegistrarGetSupportedTlds$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetSupportedTlds(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetSupportedTlds.js").domainsRegistrarGetSupportedTlds; + +let domainsRegistrarGetTld$module: + | Promise + | undefined; +const domainsRegistrarGetTld = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetTld.js").domainsRegistrarGetTld + > + ) => + new APIPromise( + (domainsRegistrarGetTld$module ??= import( + "../funcs/domainsRegistrarGetTld.js" + ).catch((error: unknown) => { + domainsRegistrarGetTld$module = undefined; + throw error; + })).then((module) => module.domainsRegistrarGetTld(...args).$inspect()), + )) as typeof import("../funcs/domainsRegistrarGetTld.js").domainsRegistrarGetTld; + +let domainsRegistrarGetTldPrice$module: + | Promise + | undefined; +const domainsRegistrarGetTldPrice = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetTldPrice.js").domainsRegistrarGetTldPrice + > + ) => + new APIPromise( + (domainsRegistrarGetTldPrice$module ??= import( + "../funcs/domainsRegistrarGetTldPrice.js" + ).catch((error: unknown) => { + domainsRegistrarGetTldPrice$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetTldPrice(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetTldPrice.js").domainsRegistrarGetTldPrice; + +let domainsRegistrarGetDomainAvailability$module: + | Promise + | undefined; +const domainsRegistrarGetDomainAvailability = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetDomainAvailability.js").domainsRegistrarGetDomainAvailability + > + ) => + new APIPromise( + (domainsRegistrarGetDomainAvailability$module ??= import( + "../funcs/domainsRegistrarGetDomainAvailability.js" + ).catch((error: unknown) => { + domainsRegistrarGetDomainAvailability$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetDomainAvailability(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetDomainAvailability.js").domainsRegistrarGetDomainAvailability; + +let domainsRegistrarGetDomainPrice$module: + | Promise + | undefined; +const domainsRegistrarGetDomainPrice = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetDomainPrice.js").domainsRegistrarGetDomainPrice + > + ) => + new APIPromise( + (domainsRegistrarGetDomainPrice$module ??= import( + "../funcs/domainsRegistrarGetDomainPrice.js" + ).catch((error: unknown) => { + domainsRegistrarGetDomainPrice$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetDomainPrice(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetDomainPrice.js").domainsRegistrarGetDomainPrice; + +let domainsRegistrarGetBulkPrice$module: + | Promise + | undefined; +const domainsRegistrarGetBulkPrice = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetBulkPrice.js").domainsRegistrarGetBulkPrice + > + ) => + new APIPromise( + (domainsRegistrarGetBulkPrice$module ??= import( + "../funcs/domainsRegistrarGetBulkPrice.js" + ).catch((error: unknown) => { + domainsRegistrarGetBulkPrice$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetBulkPrice(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetBulkPrice.js").domainsRegistrarGetBulkPrice; + +let domainsRegistrarGetBulkAvailability$module: + | Promise + | undefined; +const domainsRegistrarGetBulkAvailability = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetBulkAvailability.js").domainsRegistrarGetBulkAvailability + > + ) => + new APIPromise( + (domainsRegistrarGetBulkAvailability$module ??= import( + "../funcs/domainsRegistrarGetBulkAvailability.js" + ).catch((error: unknown) => { + domainsRegistrarGetBulkAvailability$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetBulkAvailability(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetBulkAvailability.js").domainsRegistrarGetBulkAvailability; + +let domainsRegistrarGetContactInfoSchema$module: + | Promise + | undefined; +const domainsRegistrarGetContactInfoSchema = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetContactInfoSchema.js").domainsRegistrarGetContactInfoSchema + > + ) => + new APIPromise( + (domainsRegistrarGetContactInfoSchema$module ??= import( + "../funcs/domainsRegistrarGetContactInfoSchema.js" + ).catch((error: unknown) => { + domainsRegistrarGetContactInfoSchema$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetContactInfoSchema(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetContactInfoSchema.js").domainsRegistrarGetContactInfoSchema; + +let domainsRegistrarGetDomainAuthCode$module: + | Promise + | undefined; +const domainsRegistrarGetDomainAuthCode = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetDomainAuthCode.js").domainsRegistrarGetDomainAuthCode + > + ) => + new APIPromise( + (domainsRegistrarGetDomainAuthCode$module ??= import( + "../funcs/domainsRegistrarGetDomainAuthCode.js" + ).catch((error: unknown) => { + domainsRegistrarGetDomainAuthCode$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetDomainAuthCode(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetDomainAuthCode.js").domainsRegistrarGetDomainAuthCode; + +let domainsRegistrarBuySingleDomain$module: + | Promise + | undefined; +const domainsRegistrarBuySingleDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarBuySingleDomain.js").domainsRegistrarBuySingleDomain + > + ) => + new APIPromise( + (domainsRegistrarBuySingleDomain$module ??= import( + "../funcs/domainsRegistrarBuySingleDomain.js" + ).catch((error: unknown) => { + domainsRegistrarBuySingleDomain$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarBuySingleDomain(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarBuySingleDomain.js").domainsRegistrarBuySingleDomain; + +let domainsRegistrarBuyDomains$module: + | Promise + | undefined; +const domainsRegistrarBuyDomains = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarBuyDomains.js").domainsRegistrarBuyDomains + > + ) => + new APIPromise( + (domainsRegistrarBuyDomains$module ??= import( + "../funcs/domainsRegistrarBuyDomains.js" + ).catch((error: unknown) => { + domainsRegistrarBuyDomains$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarBuyDomains(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarBuyDomains.js").domainsRegistrarBuyDomains; + +let domainsRegistrarTransferInDomain$module: + | Promise + | undefined; +const domainsRegistrarTransferInDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarTransferInDomain.js").domainsRegistrarTransferInDomain + > + ) => + new APIPromise( + (domainsRegistrarTransferInDomain$module ??= import( + "../funcs/domainsRegistrarTransferInDomain.js" + ).catch((error: unknown) => { + domainsRegistrarTransferInDomain$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarTransferInDomain(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarTransferInDomain.js").domainsRegistrarTransferInDomain; + +let domainsRegistrarGetDomainTransferIn$module: + | Promise + | undefined; +const domainsRegistrarGetDomainTransferIn = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetDomainTransferIn.js").domainsRegistrarGetDomainTransferIn + > + ) => + new APIPromise( + (domainsRegistrarGetDomainTransferIn$module ??= import( + "../funcs/domainsRegistrarGetDomainTransferIn.js" + ).catch((error: unknown) => { + domainsRegistrarGetDomainTransferIn$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetDomainTransferIn(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetDomainTransferIn.js").domainsRegistrarGetDomainTransferIn; + +let domainsRegistrarRenewDomain$module: + | Promise + | undefined; +const domainsRegistrarRenewDomain = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarRenewDomain.js").domainsRegistrarRenewDomain + > + ) => + new APIPromise( + (domainsRegistrarRenewDomain$module ??= import( + "../funcs/domainsRegistrarRenewDomain.js" + ).catch((error: unknown) => { + domainsRegistrarRenewDomain$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarRenewDomain(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarRenewDomain.js").domainsRegistrarRenewDomain; + +let domainsRegistrarUpdateDomainAutoRenew$module: + | Promise + | undefined; +const domainsRegistrarUpdateDomainAutoRenew = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarUpdateDomainAutoRenew.js").domainsRegistrarUpdateDomainAutoRenew + > + ) => + new APIPromise( + (domainsRegistrarUpdateDomainAutoRenew$module ??= import( + "../funcs/domainsRegistrarUpdateDomainAutoRenew.js" + ).catch((error: unknown) => { + domainsRegistrarUpdateDomainAutoRenew$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarUpdateDomainAutoRenew(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarUpdateDomainAutoRenew.js").domainsRegistrarUpdateDomainAutoRenew; + +let domainsRegistrarUpdateDomainNameservers$module: + | Promise< + typeof import("../funcs/domainsRegistrarUpdateDomainNameservers.js") + > + | undefined; +const domainsRegistrarUpdateDomainNameservers = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarUpdateDomainNameservers.js").domainsRegistrarUpdateDomainNameservers + > + ) => + new APIPromise( + (domainsRegistrarUpdateDomainNameservers$module ??= import( + "../funcs/domainsRegistrarUpdateDomainNameservers.js" + ).catch((error: unknown) => { + domainsRegistrarUpdateDomainNameservers$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarUpdateDomainNameservers(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarUpdateDomainNameservers.js").domainsRegistrarUpdateDomainNameservers; + +let domainsRegistrarGetDomainContactVerification$module: + | Promise< + typeof import("../funcs/domainsRegistrarGetDomainContactVerification.js") + > + | undefined; +const domainsRegistrarGetDomainContactVerification = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetDomainContactVerification.js").domainsRegistrarGetDomainContactVerification + > + ) => + new APIPromise( + (domainsRegistrarGetDomainContactVerification$module ??= import( + "../funcs/domainsRegistrarGetDomainContactVerification.js" + ).catch((error: unknown) => { + domainsRegistrarGetDomainContactVerification$module = undefined; + throw error; + })).then((module) => + module.domainsRegistrarGetDomainContactVerification(...args).$inspect() + ), + )) as typeof import("../funcs/domainsRegistrarGetDomainContactVerification.js").domainsRegistrarGetDomainContactVerification; + +let domainsRegistrarGetOrder$module: + | Promise + | undefined; +const domainsRegistrarGetOrder = + (( + ...args: Parameters< + typeof import("../funcs/domainsRegistrarGetOrder.js").domainsRegistrarGetOrder + > + ) => + new APIPromise( + (domainsRegistrarGetOrder$module ??= import( + "../funcs/domainsRegistrarGetOrder.js" + ).catch((error: unknown) => { + domainsRegistrarGetOrder$module = undefined; + throw error; + })).then((module) => module.domainsRegistrarGetOrder(...args).$inspect()), + )) as typeof import("../funcs/domainsRegistrarGetOrder.js").domainsRegistrarGetOrder; + +export class DomainsRegistrar extends ClientSDK { + /** + * Get Domain Availability and Pricing + * + * @remarks + * Start domain research here. Get registration availability and pricing for 1–200 exact domain names. Returns results in input order, with registration and renewal prices in USD for available domains. No authentication required. + */ + async searchDomains( + request: SearchDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarSearchDomains( + this, + request, + options, + )); + } + + /** + * Get supported TLDs + * + * @remarks + * Get a list of TLDs supported by Vercel + */ + async getSupportedTlds( + request: GetSupportedTldsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(domainsRegistrarGetSupportedTlds( + this, + request, + options, + )); + } + + /** + * Get TLD + * + * @remarks + * Get the metadata for a specific TLD. + */ + async getTld( + request: GetTldRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetTld( + this, + request, + options, + )); + } + + /** + * Get TLD price data + * + * @remarks + * Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain. + */ + async getTldPrice( + request: GetTldPriceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetTldPrice( + this, + request, + options, + )); + } + + /** + * Get availability for a domain + * + * @remarks + * Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ + async getDomainAvailability( + request: GetDomainAvailabilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainAvailability( + this, + request, + options, + )); + } + + /** + * Get price data for a domain + * + * @remarks + * Get price data for a specific domain + */ + async getDomainPrice( + request: GetDomainPriceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainPrice( + this, + request, + options, + )); + } + + /** + * Get price data for multiple domains + * + * @remarks + * Get price data for multiple domains in a single request. + */ + async getBulkPrice( + request: GetBulkPriceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetBulkPrice( + this, + request, + options, + )); + } + + /** + * Get availability for multiple domains + * + * @remarks + * Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ + async getBulkAvailability( + request: GetBulkAvailabilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetBulkAvailability( + this, + request, + options, + )); + } + + /** + * Get contact info schema + * + * @remarks + * Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain. + */ + async getContactInfoSchema( + request: GetContactInfoSchemaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetContactInfoSchema( + this, + request, + options, + )); + } + + /** + * Get the auth code for a domain + * + * @remarks + * Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar. + */ + async getDomainAuthCode( + request: GetDomainAuthCodeRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainAuthCode( + this, + request, + options, + )); + } + + /** + * Buy a domain + * + * @remarks + * Buy a domain + */ + async buySingleDomain( + request: BuySingleDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarBuySingleDomain( + this, + request, + options, + )); + } + + /** + * Buy multiple domains + * + * @remarks + * Buy multiple domains at once + */ + async buyDomains( + request: BuyDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarBuyDomains( + this, + request, + options, + )); + } + + /** + * Transfer-in a domain + * + * @remarks + * Transfer a domain in from another registrar + */ + async transferInDomain( + request: TransferInDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarTransferInDomain( + this, + request, + options, + )); + } + + /** + * Get a domain's transfer status + * + * @remarks + * Get the transfer status for a domain + */ + async getDomainTransferIn( + request: GetDomainTransferInRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainTransferIn( + this, + request, + options, + )); + } + + /** + * Renew a domain + * + * @remarks + * Renew a domain + */ + async renewDomain( + request: RenewDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarRenewDomain( + this, + request, + options, + )); + } + + /** + * Update auto-renew for a domain + * + * @remarks + * Update the auto-renew setting for a domain + */ + async updateDomainAutoRenew( + request: UpdateDomainAutoRenewRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarUpdateDomainAutoRenew( + this, + request, + options, + )); + } + + /** + * Update nameservers for a domain + * + * @remarks + * Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers. + */ + async updateDomainNameservers( + request: UpdateDomainNameserversRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarUpdateDomainNameservers( + this, + request, + options, + )); + } + + /** + * Get contact verification status for a domain + * + * @remarks + * Get the registrant contact verification status for a domain. Use this after purchasing a domain to determine whether the contact has been verified. Note that a bought_too_recently error will be returned if the domain was bought less than 30 minutes before the request. + */ + async getDomainContactVerification( + request: GetDomainContactVerificationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainContactVerification( + this, + request, + options, + )); + } + + /** + * Get a domain order + * + * @remarks + * Get information about a domain order by its ID + */ + async getOrder( + request: GetOrderRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetOrder( + this, + request, + options, + )); + } +} diff --git a/src/sdk/drains.lazy.ts b/src/sdk/drains.lazy.ts new file mode 100644 index 0000000000..24ccfedfbe --- /dev/null +++ b/src/sdk/drains.lazy.ts @@ -0,0 +1,234 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateDrainRequest, + CreateDrainResponseBody, +} from "../models/createdrainop.js"; +import { DeleteDrainRequest } from "../models/deletedrainop.js"; +import { GetDrainRequest, GetDrainResponseBody } from "../models/getdrainop.js"; +import { + GetDrainsRequest, + GetDrainsResponseBody, +} from "../models/getdrainsop.js"; +import { + TestDrainRequest, + TestDrainResponseBody, +} from "../models/testdrainop.js"; +import { + UpdateDrainRequest, + UpdateDrainResponseBody, +} from "../models/updatedrainop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let drainsCreateDrain$module: + | Promise + | undefined; +const drainsCreateDrain = + (( + ...args: Parameters< + typeof import("../funcs/drainsCreateDrain.js").drainsCreateDrain + > + ) => + new APIPromise( + (drainsCreateDrain$module ??= import("../funcs/drainsCreateDrain.js") + .catch((error: unknown) => { + drainsCreateDrain$module = undefined; + throw error; + })).then((module) => module.drainsCreateDrain(...args).$inspect()), + )) as typeof import("../funcs/drainsCreateDrain.js").drainsCreateDrain; + +let drainsGetDrains$module: + | Promise + | undefined; +const drainsGetDrains = + (( + ...args: Parameters< + typeof import("../funcs/drainsGetDrains.js").drainsGetDrains + > + ) => + new APIPromise( + (drainsGetDrains$module ??= import("../funcs/drainsGetDrains.js").catch( + (error: unknown) => { + drainsGetDrains$module = undefined; + throw error; + }, + )).then((module) => module.drainsGetDrains(...args).$inspect()), + )) as typeof import("../funcs/drainsGetDrains.js").drainsGetDrains; + +let drainsDeleteDrain$module: + | Promise + | undefined; +const drainsDeleteDrain = + (( + ...args: Parameters< + typeof import("../funcs/drainsDeleteDrain.js").drainsDeleteDrain + > + ) => + new APIPromise( + (drainsDeleteDrain$module ??= import("../funcs/drainsDeleteDrain.js") + .catch((error: unknown) => { + drainsDeleteDrain$module = undefined; + throw error; + })).then((module) => module.drainsDeleteDrain(...args).$inspect()), + )) as typeof import("../funcs/drainsDeleteDrain.js").drainsDeleteDrain; + +let drainsGetDrain$module: + | Promise + | undefined; +const drainsGetDrain = + (( + ...args: Parameters< + typeof import("../funcs/drainsGetDrain.js").drainsGetDrain + > + ) => + new APIPromise( + (drainsGetDrain$module ??= import("../funcs/drainsGetDrain.js").catch( + (error: unknown) => { + drainsGetDrain$module = undefined; + throw error; + }, + )).then((module) => module.drainsGetDrain(...args).$inspect()), + )) as typeof import("../funcs/drainsGetDrain.js").drainsGetDrain; + +let drainsUpdateDrain$module: + | Promise + | undefined; +const drainsUpdateDrain = + (( + ...args: Parameters< + typeof import("../funcs/drainsUpdateDrain.js").drainsUpdateDrain + > + ) => + new APIPromise( + (drainsUpdateDrain$module ??= import("../funcs/drainsUpdateDrain.js") + .catch((error: unknown) => { + drainsUpdateDrain$module = undefined; + throw error; + })).then((module) => module.drainsUpdateDrain(...args).$inspect()), + )) as typeof import("../funcs/drainsUpdateDrain.js").drainsUpdateDrain; + +let drainsTestDrain$module: + | Promise + | undefined; +const drainsTestDrain = + (( + ...args: Parameters< + typeof import("../funcs/drainsTestDrain.js").drainsTestDrain + > + ) => + new APIPromise( + (drainsTestDrain$module ??= import("../funcs/drainsTestDrain.js").catch( + (error: unknown) => { + drainsTestDrain$module = undefined; + throw error; + }, + )).then((module) => module.drainsTestDrain(...args).$inspect()), + )) as typeof import("../funcs/drainsTestDrain.js").drainsTestDrain; + +export class Drains extends ClientSDK { + /** + * Create a new Drain + * + * @remarks + * Create a new Drain with the provided configuration. + */ + async createDrain( + request: CreateDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsCreateDrain( + this, + request, + options, + )); + } + + /** + * Retrieve a list of all Drains + * + * @remarks + * Allows to retrieve the list of Drains of the authenticated team. + */ + async getDrains( + request: GetDrainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsGetDrains( + this, + request, + options, + )); + } + + /** + * Delete a drain + * + * @remarks + * Delete a specific Drain by passing the drain id in the URL. + */ + async deleteDrain( + request: DeleteDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsDeleteDrain( + this, + request, + options, + )); + } + + /** + * Find a Drain by id + * + * @remarks + * Get the information for a specific Drain by passing the drain id in the URL. + */ + async getDrain( + request: GetDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsGetDrain( + this, + request, + options, + )); + } + + /** + * Update an existing Drain + * + * @remarks + * Update the configuration of an existing drain. + */ + async updateDrain( + request: UpdateDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsUpdateDrain( + this, + request, + options, + )); + } + + /** + * Validate Drain delivery configuration + * + * @remarks + * Validate the delivery configuration of a Drain using sample events. + */ + async testDrain( + request: TestDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsTestDrain( + this, + request, + options, + )); + } +} diff --git a/src/sdk/drives.lazy.ts b/src/sdk/drives.lazy.ts new file mode 100644 index 0000000000..f11b4e7954 --- /dev/null +++ b/src/sdk/drives.lazy.ts @@ -0,0 +1,201 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + DeleteDriveV1Request, + DeleteDriveV1ResponseBody, +} from "../models/deletedrivev1op.js"; +import { + ForkDriveV1Request, + ForkDriveV1ResponseBody, +} from "../models/forkdrivev1op.js"; +import { + GetDriveV1Request, + GetDriveV1ResponseBody, +} from "../models/getdrivev1op.js"; +import { + GetOrCreateDriveV1Request, + GetOrCreateDriveV1Response, +} from "../models/getorcreatedrivev1op.js"; +import { + ListDrivesV1Request, + ListDrivesV1ResponseBody, +} from "../models/listdrivesv1op.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let drivesListDrivesV1$module: + | Promise + | undefined; +const drivesListDrivesV1 = + (( + ...args: Parameters< + typeof import("../funcs/drivesListDrivesV1.js").drivesListDrivesV1 + > + ) => + new APIPromise( + (drivesListDrivesV1$module ??= import("../funcs/drivesListDrivesV1.js") + .catch((error: unknown) => { + drivesListDrivesV1$module = undefined; + throw error; + })).then((module) => module.drivesListDrivesV1(...args).$inspect()), + )) as typeof import("../funcs/drivesListDrivesV1.js").drivesListDrivesV1; + +let drivesGetDriveV1$module: + | Promise + | undefined; +const drivesGetDriveV1 = + (( + ...args: Parameters< + typeof import("../funcs/drivesGetDriveV1.js").drivesGetDriveV1 + > + ) => + new APIPromise( + (drivesGetDriveV1$module ??= import("../funcs/drivesGetDriveV1.js").catch( + (error: unknown) => { + drivesGetDriveV1$module = undefined; + throw error; + }, + )).then((module) => module.drivesGetDriveV1(...args).$inspect()), + )) as typeof import("../funcs/drivesGetDriveV1.js").drivesGetDriveV1; + +let drivesDeleteDriveV1$module: + | Promise + | undefined; +const drivesDeleteDriveV1 = + (( + ...args: Parameters< + typeof import("../funcs/drivesDeleteDriveV1.js").drivesDeleteDriveV1 + > + ) => + new APIPromise( + (drivesDeleteDriveV1$module ??= import("../funcs/drivesDeleteDriveV1.js") + .catch((error: unknown) => { + drivesDeleteDriveV1$module = undefined; + throw error; + })).then((module) => module.drivesDeleteDriveV1(...args).$inspect()), + )) as typeof import("../funcs/drivesDeleteDriveV1.js").drivesDeleteDriveV1; + +let drivesGetOrCreateDriveV1$module: + | Promise + | undefined; +const drivesGetOrCreateDriveV1 = + (( + ...args: Parameters< + typeof import("../funcs/drivesGetOrCreateDriveV1.js").drivesGetOrCreateDriveV1 + > + ) => + new APIPromise( + (drivesGetOrCreateDriveV1$module ??= import( + "../funcs/drivesGetOrCreateDriveV1.js" + ).catch((error: unknown) => { + drivesGetOrCreateDriveV1$module = undefined; + throw error; + })).then((module) => module.drivesGetOrCreateDriveV1(...args).$inspect()), + )) as typeof import("../funcs/drivesGetOrCreateDriveV1.js").drivesGetOrCreateDriveV1; + +let drivesForkDriveV1$module: + | Promise + | undefined; +const drivesForkDriveV1 = + (( + ...args: Parameters< + typeof import("../funcs/drivesForkDriveV1.js").drivesForkDriveV1 + > + ) => + new APIPromise( + (drivesForkDriveV1$module ??= import("../funcs/drivesForkDriveV1.js") + .catch((error: unknown) => { + drivesForkDriveV1$module = undefined; + throw error; + })).then((module) => module.drivesForkDriveV1(...args).$inspect()), + )) as typeof import("../funcs/drivesForkDriveV1.js").drivesForkDriveV1; + +export class Drives extends ClientSDK { + /** + * List drives + * + * @remarks + * Retrieves a paginated list of drives belonging to a specific project. + */ + async listDrivesV1( + request: ListDrivesV1Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drivesListDrivesV1( + this, + request, + options, + )); + } + + /** + * Get a drive + * + * @remarks + * Gets an existing drive by project and name or drive ID. Returns 404 if doesn't exist. + */ + async getDriveV1( + request: GetDriveV1Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drivesGetDriveV1( + this, + request, + options, + )); + } + + /** + * Delete a drive + * + * @remarks + * Deletes a drive by project and name or drive ID. Attached drives cannot be deleted. Stop or replace the session currently using the drive before retrying deletion. + */ + async deleteDriveV1( + request: DeleteDriveV1Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drivesDeleteDriveV1( + this, + request, + options, + )); + } + + /** + * Get or create a drive + * + * @remarks + * Gets an existing drive by project and name, or creates it when it does not exist. + */ + async getOrCreateDriveV1( + request: GetOrCreateDriveV1Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drivesGetOrCreateDriveV1( + this, + request, + options, + )); + } + + /** + * Fork a drive + * + * @remarks + * Fork the provided drive into a new one with the provided name, inheriting the region and max size. + */ + async forkDriveV1( + request: ForkDriveV1Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drivesForkDriveV1( + this, + request, + options, + )); + } +} diff --git a/src/sdk/edgecache.lazy.ts b/src/sdk/edgecache.lazy.ts new file mode 100644 index 0000000000..79fb1fa223 --- /dev/null +++ b/src/sdk/edgecache.lazy.ts @@ -0,0 +1,161 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { DangerouslyDeleteBySrcImagesRequest } from "../models/dangerouslydeletebysrcimagesop.js"; +import { DangerouslyDeleteByTagsRequest } from "../models/dangerouslydeletebytagsop.js"; +import { InvalidateBySrcImagesRequest } from "../models/invalidatebysrcimagesop.js"; +import { InvalidateByTagsRequest } from "../models/invalidatebytagsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let edgeCacheInvalidateByTags$module: + | Promise + | undefined; +const edgeCacheInvalidateByTags = + (( + ...args: Parameters< + typeof import("../funcs/edgeCacheInvalidateByTags.js").edgeCacheInvalidateByTags + > + ) => + new APIPromise( + (edgeCacheInvalidateByTags$module ??= import( + "../funcs/edgeCacheInvalidateByTags.js" + ).catch((error: unknown) => { + edgeCacheInvalidateByTags$module = undefined; + throw error; + })).then((module) => + module.edgeCacheInvalidateByTags(...args).$inspect() + ), + )) as typeof import("../funcs/edgeCacheInvalidateByTags.js").edgeCacheInvalidateByTags; + +let edgeCacheDangerouslyDeleteByTags$module: + | Promise + | undefined; +const edgeCacheDangerouslyDeleteByTags = + (( + ...args: Parameters< + typeof import("../funcs/edgeCacheDangerouslyDeleteByTags.js").edgeCacheDangerouslyDeleteByTags + > + ) => + new APIPromise( + (edgeCacheDangerouslyDeleteByTags$module ??= import( + "../funcs/edgeCacheDangerouslyDeleteByTags.js" + ).catch((error: unknown) => { + edgeCacheDangerouslyDeleteByTags$module = undefined; + throw error; + })).then((module) => + module.edgeCacheDangerouslyDeleteByTags(...args).$inspect() + ), + )) as typeof import("../funcs/edgeCacheDangerouslyDeleteByTags.js").edgeCacheDangerouslyDeleteByTags; + +let edgeCacheInvalidateBySrcImages$module: + | Promise + | undefined; +const edgeCacheInvalidateBySrcImages = + (( + ...args: Parameters< + typeof import("../funcs/edgeCacheInvalidateBySrcImages.js").edgeCacheInvalidateBySrcImages + > + ) => + new APIPromise( + (edgeCacheInvalidateBySrcImages$module ??= import( + "../funcs/edgeCacheInvalidateBySrcImages.js" + ).catch((error: unknown) => { + edgeCacheInvalidateBySrcImages$module = undefined; + throw error; + })).then((module) => + module.edgeCacheInvalidateBySrcImages(...args).$inspect() + ), + )) as typeof import("../funcs/edgeCacheInvalidateBySrcImages.js").edgeCacheInvalidateBySrcImages; + +let edgeCacheDangerouslyDeleteBySrcImages$module: + | Promise + | undefined; +const edgeCacheDangerouslyDeleteBySrcImages = + (( + ...args: Parameters< + typeof import("../funcs/edgeCacheDangerouslyDeleteBySrcImages.js").edgeCacheDangerouslyDeleteBySrcImages + > + ) => + new APIPromise( + (edgeCacheDangerouslyDeleteBySrcImages$module ??= import( + "../funcs/edgeCacheDangerouslyDeleteBySrcImages.js" + ).catch((error: unknown) => { + edgeCacheDangerouslyDeleteBySrcImages$module = undefined; + throw error; + })).then((module) => + module.edgeCacheDangerouslyDeleteBySrcImages(...args).$inspect() + ), + )) as typeof import("../funcs/edgeCacheDangerouslyDeleteBySrcImages.js").edgeCacheDangerouslyDeleteBySrcImages; + +export class EdgeCache extends ClientSDK { + /** + * Invalidate by tag + * + * @remarks + * Marks a cache tag as stale, causing cache entries associated with that tag to be revalidated in the background on the next request. + */ + async invalidateByTags( + request: InvalidateByTagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(edgeCacheInvalidateByTags( + this, + request, + options, + )); + } + + /** + * Dangerously delete by tag + * + * @remarks + * Marks a cache tag as deleted, causing cache entries associated with that tag to be revalidated in the foreground on the next request. Use this method with caution because one tag can be associated with many paths and deleting the cache can cause many concurrent requests to the origin leading to cache stampede problem. This method is for advanced use cases and is not recommended; prefer using `invalidateByTag` instead. + */ + async dangerouslyDeleteByTags( + request: DangerouslyDeleteByTagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(edgeCacheDangerouslyDeleteByTags( + this, + request, + options, + )); + } + + /** + * Invalidate by source image + * + * @remarks + * Marks a source image as stale, causing its corresponding transformed images to be revalidated in the background on the next request. + */ + async invalidateBySrcImages( + request: InvalidateBySrcImagesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(edgeCacheInvalidateBySrcImages( + this, + request, + options, + )); + } + + /** + * Dangerously delete by source image + * + * @remarks + * Marks a source image as deleted, causing cache entries associated with that source image to be revalidated in the foreground on the next request. Use this method with caution because one source image can be associated with many paths and deleting the cache can cause many concurrent requests to the origin leading to cache stampede problem. This method is for advanced use cases and is not recommended; prefer using `invalidateBySrcImage` instead. + */ + async dangerouslyDeleteBySrcImages( + request: DangerouslyDeleteBySrcImagesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(edgeCacheDangerouslyDeleteBySrcImages( + this, + request, + options, + )); + } +} diff --git a/src/sdk/environment.lazy.ts b/src/sdk/environment.lazy.ts new file mode 100644 index 0000000000..0cc6c7d36f --- /dev/null +++ b/src/sdk/environment.lazy.ts @@ -0,0 +1,463 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateCustomEnvironmentRequest, + CreateCustomEnvironmentResponseBody, +} from "../models/createcustomenvironmentop.js"; +import { + CreateSharedEnvVariableRequest, + CreateSharedEnvVariableResponseBody, +} from "../models/createsharedenvvariableop.js"; +import { + DeleteSharedEnvVariableRequest, + DeleteSharedEnvVariableResponseBody, +} from "../models/deletesharedenvvariableop.js"; +import { + GetCustomEnvironmentRequest, + GetCustomEnvironmentResponseBody, +} from "../models/getcustomenvironmentop.js"; +import { + GetProjectsByIdOrNameCustomEnvironmentsRequest, + GetProjectsByIdOrNameCustomEnvironmentsResponseBody, +} from "../models/getprojectsbyidornamecustomenvironmentsop.js"; +import { + GetSharedEnvVarRequest, + GetSharedEnvVarResponseBody, +} from "../models/getsharedenvvarop.js"; +import { + ListSharedEnvVariableRequest, + ListSharedEnvVariableResponseBody, +} from "../models/listsharedenvvariableop.js"; +import { + RemoveCustomEnvironmentRequest, + RemoveCustomEnvironmentResponseBody, +} from "../models/removecustomenvironmentop.js"; +import { + UnlinkSharedEnvVariableRequest, + UnlinkSharedEnvVariableResponseBody, +} from "../models/unlinksharedenvvariableop.js"; +import { + UpdateCustomEnvironmentRequest, + UpdateCustomEnvironmentResponseBody, +} from "../models/updatecustomenvironmentop.js"; +import { + UpdateSharedEnvVariableRequest, + UpdateSharedEnvVariableResponseBody, +} from "../models/updatesharedenvvariableop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let environmentCreateSharedEnvVariable$module: + | Promise + | undefined; +const environmentCreateSharedEnvVariable = + (( + ...args: Parameters< + typeof import("../funcs/environmentCreateSharedEnvVariable.js").environmentCreateSharedEnvVariable + > + ) => + new APIPromise( + (environmentCreateSharedEnvVariable$module ??= import( + "../funcs/environmentCreateSharedEnvVariable.js" + ).catch((error: unknown) => { + environmentCreateSharedEnvVariable$module = undefined; + throw error; + })).then((module) => + module.environmentCreateSharedEnvVariable(...args).$inspect() + ), + )) as typeof import("../funcs/environmentCreateSharedEnvVariable.js").environmentCreateSharedEnvVariable; + +let environmentListSharedEnvVariable$module: + | Promise + | undefined; +const environmentListSharedEnvVariable = + (( + ...args: Parameters< + typeof import("../funcs/environmentListSharedEnvVariable.js").environmentListSharedEnvVariable + > + ) => + new APIPromise( + (environmentListSharedEnvVariable$module ??= import( + "../funcs/environmentListSharedEnvVariable.js" + ).catch((error: unknown) => { + environmentListSharedEnvVariable$module = undefined; + throw error; + })).then((module) => + module.environmentListSharedEnvVariable(...args).$inspect() + ), + )) as typeof import("../funcs/environmentListSharedEnvVariable.js").environmentListSharedEnvVariable; + +let environmentUpdateSharedEnvVariable$module: + | Promise + | undefined; +const environmentUpdateSharedEnvVariable = + (( + ...args: Parameters< + typeof import("../funcs/environmentUpdateSharedEnvVariable.js").environmentUpdateSharedEnvVariable + > + ) => + new APIPromise( + (environmentUpdateSharedEnvVariable$module ??= import( + "../funcs/environmentUpdateSharedEnvVariable.js" + ).catch((error: unknown) => { + environmentUpdateSharedEnvVariable$module = undefined; + throw error; + })).then((module) => + module.environmentUpdateSharedEnvVariable(...args).$inspect() + ), + )) as typeof import("../funcs/environmentUpdateSharedEnvVariable.js").environmentUpdateSharedEnvVariable; + +let environmentDeleteSharedEnvVariable$module: + | Promise + | undefined; +const environmentDeleteSharedEnvVariable = + (( + ...args: Parameters< + typeof import("../funcs/environmentDeleteSharedEnvVariable.js").environmentDeleteSharedEnvVariable + > + ) => + new APIPromise( + (environmentDeleteSharedEnvVariable$module ??= import( + "../funcs/environmentDeleteSharedEnvVariable.js" + ).catch((error: unknown) => { + environmentDeleteSharedEnvVariable$module = undefined; + throw error; + })).then((module) => + module.environmentDeleteSharedEnvVariable(...args).$inspect() + ), + )) as typeof import("../funcs/environmentDeleteSharedEnvVariable.js").environmentDeleteSharedEnvVariable; + +let environmentGetSharedEnvVar$module: + | Promise + | undefined; +const environmentGetSharedEnvVar = + (( + ...args: Parameters< + typeof import("../funcs/environmentGetSharedEnvVar.js").environmentGetSharedEnvVar + > + ) => + new APIPromise( + (environmentGetSharedEnvVar$module ??= import( + "../funcs/environmentGetSharedEnvVar.js" + ).catch((error: unknown) => { + environmentGetSharedEnvVar$module = undefined; + throw error; + })).then((module) => + module.environmentGetSharedEnvVar(...args).$inspect() + ), + )) as typeof import("../funcs/environmentGetSharedEnvVar.js").environmentGetSharedEnvVar; + +let environmentUnlinkSharedEnvVariable$module: + | Promise + | undefined; +const environmentUnlinkSharedEnvVariable = + (( + ...args: Parameters< + typeof import("../funcs/environmentUnlinkSharedEnvVariable.js").environmentUnlinkSharedEnvVariable + > + ) => + new APIPromise( + (environmentUnlinkSharedEnvVariable$module ??= import( + "../funcs/environmentUnlinkSharedEnvVariable.js" + ).catch((error: unknown) => { + environmentUnlinkSharedEnvVariable$module = undefined; + throw error; + })).then((module) => + module.environmentUnlinkSharedEnvVariable(...args).$inspect() + ), + )) as typeof import("../funcs/environmentUnlinkSharedEnvVariable.js").environmentUnlinkSharedEnvVariable; + +let environmentCreateCustomEnvironment$module: + | Promise + | undefined; +const environmentCreateCustomEnvironment = + (( + ...args: Parameters< + typeof import("../funcs/environmentCreateCustomEnvironment.js").environmentCreateCustomEnvironment + > + ) => + new APIPromise( + (environmentCreateCustomEnvironment$module ??= import( + "../funcs/environmentCreateCustomEnvironment.js" + ).catch((error: unknown) => { + environmentCreateCustomEnvironment$module = undefined; + throw error; + })).then((module) => + module.environmentCreateCustomEnvironment(...args).$inspect() + ), + )) as typeof import("../funcs/environmentCreateCustomEnvironment.js").environmentCreateCustomEnvironment; + +let environmentGetProjectsByIdOrNameCustomEnvironments$module: + | Promise< + typeof import("../funcs/environmentGetProjectsByIdOrNameCustomEnvironments.js") + > + | undefined; +const environmentGetProjectsByIdOrNameCustomEnvironments = + (( + ...args: Parameters< + typeof import("../funcs/environmentGetProjectsByIdOrNameCustomEnvironments.js").environmentGetProjectsByIdOrNameCustomEnvironments + > + ) => + new APIPromise( + (environmentGetProjectsByIdOrNameCustomEnvironments$module ??= import( + "../funcs/environmentGetProjectsByIdOrNameCustomEnvironments.js" + ).catch((error: unknown) => { + environmentGetProjectsByIdOrNameCustomEnvironments$module = undefined; + throw error; + })).then((module) => + module.environmentGetProjectsByIdOrNameCustomEnvironments(...args) + .$inspect() + ), + )) as typeof import("../funcs/environmentGetProjectsByIdOrNameCustomEnvironments.js").environmentGetProjectsByIdOrNameCustomEnvironments; + +let environmentGetCustomEnvironment$module: + | Promise + | undefined; +const environmentGetCustomEnvironment = + (( + ...args: Parameters< + typeof import("../funcs/environmentGetCustomEnvironment.js").environmentGetCustomEnvironment + > + ) => + new APIPromise( + (environmentGetCustomEnvironment$module ??= import( + "../funcs/environmentGetCustomEnvironment.js" + ).catch((error: unknown) => { + environmentGetCustomEnvironment$module = undefined; + throw error; + })).then((module) => + module.environmentGetCustomEnvironment(...args).$inspect() + ), + )) as typeof import("../funcs/environmentGetCustomEnvironment.js").environmentGetCustomEnvironment; + +let environmentUpdateCustomEnvironment$module: + | Promise + | undefined; +const environmentUpdateCustomEnvironment = + (( + ...args: Parameters< + typeof import("../funcs/environmentUpdateCustomEnvironment.js").environmentUpdateCustomEnvironment + > + ) => + new APIPromise( + (environmentUpdateCustomEnvironment$module ??= import( + "../funcs/environmentUpdateCustomEnvironment.js" + ).catch((error: unknown) => { + environmentUpdateCustomEnvironment$module = undefined; + throw error; + })).then((module) => + module.environmentUpdateCustomEnvironment(...args).$inspect() + ), + )) as typeof import("../funcs/environmentUpdateCustomEnvironment.js").environmentUpdateCustomEnvironment; + +let environmentRemoveCustomEnvironment$module: + | Promise + | undefined; +const environmentRemoveCustomEnvironment = + (( + ...args: Parameters< + typeof import("../funcs/environmentRemoveCustomEnvironment.js").environmentRemoveCustomEnvironment + > + ) => + new APIPromise( + (environmentRemoveCustomEnvironment$module ??= import( + "../funcs/environmentRemoveCustomEnvironment.js" + ).catch((error: unknown) => { + environmentRemoveCustomEnvironment$module = undefined; + throw error; + })).then((module) => + module.environmentRemoveCustomEnvironment(...args).$inspect() + ), + )) as typeof import("../funcs/environmentRemoveCustomEnvironment.js").environmentRemoveCustomEnvironment; + +export class Environment extends ClientSDK { + /** + * Create one or more shared environment variables + * + * @remarks + * Creates shared environment variable(s) for a team. + */ + async createSharedEnvVariable( + request: CreateSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentCreateSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Lists all Shared Environment Variables for a team + * + * @remarks + * Lists all Shared Environment Variables for a team, taking into account optional filters. + */ + async listSharedEnvVariable( + request: ListSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentListSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Updates one or more shared environment variables + * + * @remarks + * Updates a given Shared Environment Variable for a Team. + */ + async updateSharedEnvVariable( + request: UpdateSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentUpdateSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Delete one or more Env Var + * + * @remarks + * Deletes one or many Shared Environment Variables for a given team. + */ + async deleteSharedEnvVariable( + request: DeleteSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentDeleteSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Retrieve the decrypted value of a Shared Environment Variable by id. + * + * @remarks + * Retrieve the decrypted value of a Shared Environment Variable by id. + */ + async getSharedEnvVar( + request: GetSharedEnvVarRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentGetSharedEnvVar( + this, + request, + options, + )); + } + + /** + * Disconnects a shared environment variable for a given project + * + * @remarks + * Disconnects a shared environment variable for a given project + */ + async unlinkSharedEnvVariable( + request: UnlinkSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentUnlinkSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Create a custom environment for the current project. + * + * @remarks + * Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'. + */ + async createCustomEnvironment( + request: CreateCustomEnvironmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentCreateCustomEnvironment( + this, + request, + options, + )); + } + + /** + * Retrieve custom environments + * + * @remarks + * Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'. + */ + async getProjectsByIdOrNameCustomEnvironments( + request: GetProjectsByIdOrNameCustomEnvironmentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentGetProjectsByIdOrNameCustomEnvironments( + this, + request, + options, + )); + } + + /** + * Retrieve a custom environment + * + * @remarks + * Retrieve a custom environment for the project. Must not be named 'Production' or 'Preview'. + */ + async getCustomEnvironment( + request: GetCustomEnvironmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentGetCustomEnvironment( + this, + request, + options, + )); + } + + /** + * Update a custom environment + * + * @remarks + * Update a custom environment for the project. Must not be named 'Production' or 'Preview'. + */ + async updateCustomEnvironment( + request: UpdateCustomEnvironmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentUpdateCustomEnvironment( + this, + request, + options, + )); + } + + /** + * Remove a custom environment + * + * @remarks + * Remove a custom environment for the project. Must not be named 'Production' or 'Preview'. + */ + async removeCustomEnvironment( + request: RemoveCustomEnvironmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentRemoveCustomEnvironment( + this, + request, + options, + )); + } +} diff --git a/src/sdk/featureflags.lazy.ts b/src/sdk/featureflags.lazy.ts new file mode 100644 index 0000000000..76d94669f4 --- /dev/null +++ b/src/sdk/featureflags.lazy.ts @@ -0,0 +1,1121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateFlagRequest, + CreateFlagResponseBody, +} from "../models/createflagop.js"; +import { + CreateFlagSegmentRequest, + CreateFlagSegmentResponseBody, +} from "../models/createflagsegmentop.js"; +import { + CreateFlagsProjectConnectionRequest, + CreateFlagsProjectConnectionResponseBody, +} from "../models/createflagsprojectconnectionop.js"; +import { CreateSDKKeyRequest } from "../models/createsdkkeyop.js"; +import { DeleteFlagRequest } from "../models/deleteflagop.js"; +import { DeleteFlagSegmentRequest } from "../models/deleteflagsegmentop.js"; +import { DeleteFlagsProjectConnectionRequest } from "../models/deleteflagsprojectconnectionop.js"; +import { DeleteSDKKeyRequest } from "../models/deletesdkkeyop.js"; +import { Flag } from "../models/flag.js"; +import { FlagsSDKKeyWithSecrets } from "../models/flagssdkkeywithsecrets.js"; +import { + GetDeploymentFeatureFlagsRequest, + GetDeploymentFeatureFlagsResponseBody, +} from "../models/getdeploymentfeatureflagsop.js"; +import { GetFlagRequest } from "../models/getflagop.js"; +import { GetFlagSegmentRequest } from "../models/getflagsegmentop.js"; +import { + GetFlagSettingsRequest, + GetFlagSettingsResponseBody, +} from "../models/getflagsettingsop.js"; +import { + GetFlagsProjectConnectionsRequest, + GetFlagsProjectConnectionsResponseBody, +} from "../models/getflagsprojectconnectionsop.js"; +import { + GetSDKKeysRequest, + GetSDKKeysResponseBody, +} from "../models/getsdkkeysop.js"; +import { + ListFlagLabelCountsRequest, + ListFlagLabelCountsResponseBody, +} from "../models/listflaglabelcountsop.js"; +import { + ListFlagLabelsRequest, + ListFlagLabelsResponseBody, +} from "../models/listflaglabelsop.js"; +import { + ListFlagSegmentsRequest, + ListFlagSegmentsResponseBody, +} from "../models/listflagsegmentsop.js"; +import { + ListFlagsRequest, + ListFlagsResponseBody, +} from "../models/listflagsop.js"; +import { + ListFlagsV2Request, + ListFlagsV2ResponseBody, +} from "../models/listflagsv2op.js"; +import { + ListFlagVersionsRequest, + ListFlagVersionsResponseBody, +} from "../models/listflagversionsop.js"; +import { + ListTeamFlagSettingsRequest, + ListTeamFlagSettingsResponseBody, +} from "../models/listteamflagsettingsop.js"; +import { + ListTeamFlagsRequest, + ListTeamFlagsResponseBody, +} from "../models/listteamflagsop.js"; +import { + ListTeamFlagsV2Request, + ListTeamFlagsV2ResponseBody, +} from "../models/listteamflagsv2op.js"; +import { + LookupFlagLabelsRequest, + LookupFlagLabelsResponseBody, +} from "../models/lookupflaglabelsop.js"; +import { Segment } from "../models/segment.js"; +import { + SignFlagOverridesRequest, + SignFlagOverridesResponseBody, +} from "../models/signflagoverridesop.js"; +import { + UpdateFlagRequest, + UpdateFlagResponseBody, +} from "../models/updateflagop.js"; +import { UpdateFlagSegmentRequest } from "../models/updateflagsegmentop.js"; +import { + UpdateFlagSettingsRequest, + UpdateFlagSettingsResponse, +} from "../models/updateflagsettingsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let featureFlagsSignFlagOverrides$module: + | Promise + | undefined; +const featureFlagsSignFlagOverrides = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsSignFlagOverrides.js").featureFlagsSignFlagOverrides + > + ) => + new APIPromise( + (featureFlagsSignFlagOverrides$module ??= import( + "../funcs/featureFlagsSignFlagOverrides.js" + ).catch((error: unknown) => { + featureFlagsSignFlagOverrides$module = undefined; + throw error; + })).then((module) => + module.featureFlagsSignFlagOverrides(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsSignFlagOverrides.js").featureFlagsSignFlagOverrides; + +let featureFlagsListFlagsV2$module: + | Promise + | undefined; +const featureFlagsListFlagsV2 = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlagsV2.js").featureFlagsListFlagsV2 + > + ) => + new APIPromise( + (featureFlagsListFlagsV2$module ??= import( + "../funcs/featureFlagsListFlagsV2.js" + ).catch((error: unknown) => { + featureFlagsListFlagsV2$module = undefined; + throw error; + })).then((module) => module.featureFlagsListFlagsV2(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsListFlagsV2.js").featureFlagsListFlagsV2; + +let featureFlagsListFlags$module: + | Promise + | undefined; +const featureFlagsListFlags = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlags.js").featureFlagsListFlags + > + ) => + new APIPromise( + (featureFlagsListFlags$module ??= import( + "../funcs/featureFlagsListFlags.js" + ).catch((error: unknown) => { + featureFlagsListFlags$module = undefined; + throw error; + })).then((module) => module.featureFlagsListFlags(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsListFlags.js").featureFlagsListFlags; + +let featureFlagsCreateFlag$module: + | Promise + | undefined; +const featureFlagsCreateFlag = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsCreateFlag.js").featureFlagsCreateFlag + > + ) => + new APIPromise( + (featureFlagsCreateFlag$module ??= import( + "../funcs/featureFlagsCreateFlag.js" + ).catch((error: unknown) => { + featureFlagsCreateFlag$module = undefined; + throw error; + })).then((module) => module.featureFlagsCreateFlag(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsCreateFlag.js").featureFlagsCreateFlag; + +let featureFlagsGetFlag$module: + | Promise + | undefined; +const featureFlagsGetFlag = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetFlag.js").featureFlagsGetFlag + > + ) => + new APIPromise( + (featureFlagsGetFlag$module ??= import("../funcs/featureFlagsGetFlag.js") + .catch((error: unknown) => { + featureFlagsGetFlag$module = undefined; + throw error; + })).then((module) => module.featureFlagsGetFlag(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsGetFlag.js").featureFlagsGetFlag; + +let featureFlagsUpdateFlag$module: + | Promise + | undefined; +const featureFlagsUpdateFlag = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsUpdateFlag.js").featureFlagsUpdateFlag + > + ) => + new APIPromise( + (featureFlagsUpdateFlag$module ??= import( + "../funcs/featureFlagsUpdateFlag.js" + ).catch((error: unknown) => { + featureFlagsUpdateFlag$module = undefined; + throw error; + })).then((module) => module.featureFlagsUpdateFlag(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsUpdateFlag.js").featureFlagsUpdateFlag; + +let featureFlagsDeleteFlag$module: + | Promise + | undefined; +const featureFlagsDeleteFlag = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsDeleteFlag.js").featureFlagsDeleteFlag + > + ) => + new APIPromise( + (featureFlagsDeleteFlag$module ??= import( + "../funcs/featureFlagsDeleteFlag.js" + ).catch((error: unknown) => { + featureFlagsDeleteFlag$module = undefined; + throw error; + })).then((module) => module.featureFlagsDeleteFlag(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsDeleteFlag.js").featureFlagsDeleteFlag; + +let featureFlagsListFlagVersions$module: + | Promise + | undefined; +const featureFlagsListFlagVersions = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlagVersions.js").featureFlagsListFlagVersions + > + ) => + new APIPromise( + (featureFlagsListFlagVersions$module ??= import( + "../funcs/featureFlagsListFlagVersions.js" + ).catch((error: unknown) => { + featureFlagsListFlagVersions$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListFlagVersions(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListFlagVersions.js").featureFlagsListFlagVersions; + +let featureFlagsGetFlagSettings$module: + | Promise + | undefined; +const featureFlagsGetFlagSettings = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetFlagSettings.js").featureFlagsGetFlagSettings + > + ) => + new APIPromise( + (featureFlagsGetFlagSettings$module ??= import( + "../funcs/featureFlagsGetFlagSettings.js" + ).catch((error: unknown) => { + featureFlagsGetFlagSettings$module = undefined; + throw error; + })).then((module) => + module.featureFlagsGetFlagSettings(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsGetFlagSettings.js").featureFlagsGetFlagSettings; + +let featureFlagsUpdateFlagSettings$module: + | Promise + | undefined; +const featureFlagsUpdateFlagSettings = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsUpdateFlagSettings.js").featureFlagsUpdateFlagSettings + > + ) => + new APIPromise( + (featureFlagsUpdateFlagSettings$module ??= import( + "../funcs/featureFlagsUpdateFlagSettings.js" + ).catch((error: unknown) => { + featureFlagsUpdateFlagSettings$module = undefined; + throw error; + })).then((module) => + module.featureFlagsUpdateFlagSettings(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsUpdateFlagSettings.js").featureFlagsUpdateFlagSettings; + +let featureFlagsListFlagLabels$module: + | Promise + | undefined; +const featureFlagsListFlagLabels = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlagLabels.js").featureFlagsListFlagLabels + > + ) => + new APIPromise( + (featureFlagsListFlagLabels$module ??= import( + "../funcs/featureFlagsListFlagLabels.js" + ).catch((error: unknown) => { + featureFlagsListFlagLabels$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListFlagLabels(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListFlagLabels.js").featureFlagsListFlagLabels; + +let featureFlagsListFlagLabelCounts$module: + | Promise + | undefined; +const featureFlagsListFlagLabelCounts = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlagLabelCounts.js").featureFlagsListFlagLabelCounts + > + ) => + new APIPromise( + (featureFlagsListFlagLabelCounts$module ??= import( + "../funcs/featureFlagsListFlagLabelCounts.js" + ).catch((error: unknown) => { + featureFlagsListFlagLabelCounts$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListFlagLabelCounts(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListFlagLabelCounts.js").featureFlagsListFlagLabelCounts; + +let featureFlagsLookupFlagLabels$module: + | Promise + | undefined; +const featureFlagsLookupFlagLabels = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsLookupFlagLabels.js").featureFlagsLookupFlagLabels + > + ) => + new APIPromise( + (featureFlagsLookupFlagLabels$module ??= import( + "../funcs/featureFlagsLookupFlagLabels.js" + ).catch((error: unknown) => { + featureFlagsLookupFlagLabels$module = undefined; + throw error; + })).then((module) => + module.featureFlagsLookupFlagLabels(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsLookupFlagLabels.js").featureFlagsLookupFlagLabels; + +let featureFlagsListTeamFlagSettings$module: + | Promise + | undefined; +const featureFlagsListTeamFlagSettings = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListTeamFlagSettings.js").featureFlagsListTeamFlagSettings + > + ) => + new APIPromise( + (featureFlagsListTeamFlagSettings$module ??= import( + "../funcs/featureFlagsListTeamFlagSettings.js" + ).catch((error: unknown) => { + featureFlagsListTeamFlagSettings$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListTeamFlagSettings(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListTeamFlagSettings.js").featureFlagsListTeamFlagSettings; + +let featureFlagsListTeamFlagsV2$module: + | Promise + | undefined; +const featureFlagsListTeamFlagsV2 = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListTeamFlagsV2.js").featureFlagsListTeamFlagsV2 + > + ) => + new APIPromise( + (featureFlagsListTeamFlagsV2$module ??= import( + "../funcs/featureFlagsListTeamFlagsV2.js" + ).catch((error: unknown) => { + featureFlagsListTeamFlagsV2$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListTeamFlagsV2(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListTeamFlagsV2.js").featureFlagsListTeamFlagsV2; + +let featureFlagsListTeamFlags$module: + | Promise + | undefined; +const featureFlagsListTeamFlags = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListTeamFlags.js").featureFlagsListTeamFlags + > + ) => + new APIPromise( + (featureFlagsListTeamFlags$module ??= import( + "../funcs/featureFlagsListTeamFlags.js" + ).catch((error: unknown) => { + featureFlagsListTeamFlags$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListTeamFlags(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListTeamFlags.js").featureFlagsListTeamFlags; + +let featureFlagsCreateFlagSegment$module: + | Promise + | undefined; +const featureFlagsCreateFlagSegment = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsCreateFlagSegment.js").featureFlagsCreateFlagSegment + > + ) => + new APIPromise( + (featureFlagsCreateFlagSegment$module ??= import( + "../funcs/featureFlagsCreateFlagSegment.js" + ).catch((error: unknown) => { + featureFlagsCreateFlagSegment$module = undefined; + throw error; + })).then((module) => + module.featureFlagsCreateFlagSegment(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsCreateFlagSegment.js").featureFlagsCreateFlagSegment; + +let featureFlagsListFlagSegments$module: + | Promise + | undefined; +const featureFlagsListFlagSegments = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsListFlagSegments.js").featureFlagsListFlagSegments + > + ) => + new APIPromise( + (featureFlagsListFlagSegments$module ??= import( + "../funcs/featureFlagsListFlagSegments.js" + ).catch((error: unknown) => { + featureFlagsListFlagSegments$module = undefined; + throw error; + })).then((module) => + module.featureFlagsListFlagSegments(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsListFlagSegments.js").featureFlagsListFlagSegments; + +let featureFlagsGetFlagSegment$module: + | Promise + | undefined; +const featureFlagsGetFlagSegment = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetFlagSegment.js").featureFlagsGetFlagSegment + > + ) => + new APIPromise( + (featureFlagsGetFlagSegment$module ??= import( + "../funcs/featureFlagsGetFlagSegment.js" + ).catch((error: unknown) => { + featureFlagsGetFlagSegment$module = undefined; + throw error; + })).then((module) => + module.featureFlagsGetFlagSegment(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsGetFlagSegment.js").featureFlagsGetFlagSegment; + +let featureFlagsDeleteFlagSegment$module: + | Promise + | undefined; +const featureFlagsDeleteFlagSegment = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsDeleteFlagSegment.js").featureFlagsDeleteFlagSegment + > + ) => + new APIPromise( + (featureFlagsDeleteFlagSegment$module ??= import( + "../funcs/featureFlagsDeleteFlagSegment.js" + ).catch((error: unknown) => { + featureFlagsDeleteFlagSegment$module = undefined; + throw error; + })).then((module) => + module.featureFlagsDeleteFlagSegment(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsDeleteFlagSegment.js").featureFlagsDeleteFlagSegment; + +let featureFlagsUpdateFlagSegment$module: + | Promise + | undefined; +const featureFlagsUpdateFlagSegment = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsUpdateFlagSegment.js").featureFlagsUpdateFlagSegment + > + ) => + new APIPromise( + (featureFlagsUpdateFlagSegment$module ??= import( + "../funcs/featureFlagsUpdateFlagSegment.js" + ).catch((error: unknown) => { + featureFlagsUpdateFlagSegment$module = undefined; + throw error; + })).then((module) => + module.featureFlagsUpdateFlagSegment(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsUpdateFlagSegment.js").featureFlagsUpdateFlagSegment; + +let featureFlagsGetDeploymentFeatureFlags$module: + | Promise + | undefined; +const featureFlagsGetDeploymentFeatureFlags = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetDeploymentFeatureFlags.js").featureFlagsGetDeploymentFeatureFlags + > + ) => + new APIPromise( + (featureFlagsGetDeploymentFeatureFlags$module ??= import( + "../funcs/featureFlagsGetDeploymentFeatureFlags.js" + ).catch((error: unknown) => { + featureFlagsGetDeploymentFeatureFlags$module = undefined; + throw error; + })).then((module) => + module.featureFlagsGetDeploymentFeatureFlags(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsGetDeploymentFeatureFlags.js").featureFlagsGetDeploymentFeatureFlags; + +let featureFlagsGetSDKKeys$module: + | Promise + | undefined; +const featureFlagsGetSDKKeys = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetSDKKeys.js").featureFlagsGetSDKKeys + > + ) => + new APIPromise( + (featureFlagsGetSDKKeys$module ??= import( + "../funcs/featureFlagsGetSDKKeys.js" + ).catch((error: unknown) => { + featureFlagsGetSDKKeys$module = undefined; + throw error; + })).then((module) => module.featureFlagsGetSDKKeys(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsGetSDKKeys.js").featureFlagsGetSDKKeys; + +let featureFlagsCreateSDKKey$module: + | Promise + | undefined; +const featureFlagsCreateSDKKey = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsCreateSDKKey.js").featureFlagsCreateSDKKey + > + ) => + new APIPromise( + (featureFlagsCreateSDKKey$module ??= import( + "../funcs/featureFlagsCreateSDKKey.js" + ).catch((error: unknown) => { + featureFlagsCreateSDKKey$module = undefined; + throw error; + })).then((module) => module.featureFlagsCreateSDKKey(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsCreateSDKKey.js").featureFlagsCreateSDKKey; + +let featureFlagsDeleteSDKKey$module: + | Promise + | undefined; +const featureFlagsDeleteSDKKey = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsDeleteSDKKey.js").featureFlagsDeleteSDKKey + > + ) => + new APIPromise( + (featureFlagsDeleteSDKKey$module ??= import( + "../funcs/featureFlagsDeleteSDKKey.js" + ).catch((error: unknown) => { + featureFlagsDeleteSDKKey$module = undefined; + throw error; + })).then((module) => module.featureFlagsDeleteSDKKey(...args).$inspect()), + )) as typeof import("../funcs/featureFlagsDeleteSDKKey.js").featureFlagsDeleteSDKKey; + +let featureFlagsGetFlagsProjectConnections$module: + | Promise + | undefined; +const featureFlagsGetFlagsProjectConnections = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsGetFlagsProjectConnections.js").featureFlagsGetFlagsProjectConnections + > + ) => + new APIPromise( + (featureFlagsGetFlagsProjectConnections$module ??= import( + "../funcs/featureFlagsGetFlagsProjectConnections.js" + ).catch((error: unknown) => { + featureFlagsGetFlagsProjectConnections$module = undefined; + throw error; + })).then((module) => + module.featureFlagsGetFlagsProjectConnections(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsGetFlagsProjectConnections.js").featureFlagsGetFlagsProjectConnections; + +let featureFlagsCreateFlagsProjectConnection$module: + | Promise< + typeof import("../funcs/featureFlagsCreateFlagsProjectConnection.js") + > + | undefined; +const featureFlagsCreateFlagsProjectConnection = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsCreateFlagsProjectConnection.js").featureFlagsCreateFlagsProjectConnection + > + ) => + new APIPromise( + (featureFlagsCreateFlagsProjectConnection$module ??= import( + "../funcs/featureFlagsCreateFlagsProjectConnection.js" + ).catch((error: unknown) => { + featureFlagsCreateFlagsProjectConnection$module = undefined; + throw error; + })).then((module) => + module.featureFlagsCreateFlagsProjectConnection(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsCreateFlagsProjectConnection.js").featureFlagsCreateFlagsProjectConnection; + +let featureFlagsDeleteFlagsProjectConnection$module: + | Promise< + typeof import("../funcs/featureFlagsDeleteFlagsProjectConnection.js") + > + | undefined; +const featureFlagsDeleteFlagsProjectConnection = + (( + ...args: Parameters< + typeof import("../funcs/featureFlagsDeleteFlagsProjectConnection.js").featureFlagsDeleteFlagsProjectConnection + > + ) => + new APIPromise( + (featureFlagsDeleteFlagsProjectConnection$module ??= import( + "../funcs/featureFlagsDeleteFlagsProjectConnection.js" + ).catch((error: unknown) => { + featureFlagsDeleteFlagsProjectConnection$module = undefined; + throw error; + })).then((module) => + module.featureFlagsDeleteFlagsProjectConnection(...args).$inspect() + ), + )) as typeof import("../funcs/featureFlagsDeleteFlagsProjectConnection.js").featureFlagsDeleteFlagsProjectConnection; + +export class FeatureFlags extends ClientSDK { + /** + * Sign flag overrides + * + * @remarks + * Signs flag overrides for the `vercel-flag-overrides` cookie, which the Flags SDK accepts without a `FLAGS_SECRET`. The overrides apply to one environment of the project and of the projects that share its microfrontends groups. An access token requires permission to read the project and an `environment`. A Vercel OIDC token signs only for its own project and environment. + */ + async signFlagOverrides( + request: SignFlagOverridesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsSignFlagOverrides( + this, + request, + options, + )); + } + + /** + * List flags + * + * @remarks + * Retrieve feature flags for a project. Returns an opaque cursor for pagination. + */ + async listFlagsV2( + request: ListFlagsV2Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlagsV2( + this, + request, + options, + )); + } + + /** + * List flags + * + * @remarks + * Retrieve feature flags for a project. The list can be filtered by state and supports pagination. + */ + async listFlags( + request: ListFlagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlags( + this, + request, + options, + )); + } + + /** + * Create a flag + * + * @remarks + * Create a new feature flag for a project. The flag must have a unique slug within the project and specify its kind (boolean, string, number, or json). + */ + async createFlag( + request: CreateFlagRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsCreateFlag( + this, + request, + options, + )); + } + + /** + * Get a flag + * + * @remarks + * Retrieve a specific feature flag by its ID or slug. + */ + async getFlag( + request: GetFlagRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetFlag( + this, + request, + options, + )); + } + + /** + * Update a flag + * + * @remarks + * Update an existing feature flag. This endpoint supports partial updates, allowing you to modify specific properties like variants, environments, or state without providing the full flag configuration. + */ + async updateFlag( + request: UpdateFlagRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsUpdateFlag( + this, + request, + options, + )); + } + + /** + * Delete a flag + * + * @remarks + * Permanently delete a feature flag from the project. This action cannot be undone. Consider archiving the flag instead if you may need it in the future. + */ + async deleteFlag( + request: DeleteFlagRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsDeleteFlag( + this, + request, + options, + )); + } + + /** + * List flag versions + * + * @remarks + * Lists flag versions for a given flag. + */ + async listFlagVersions( + request: ListFlagVersionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlagVersions( + this, + request, + options, + )); + } + + /** + * Get project flag settings + * + * @remarks + * Retrieve feature flag settings for a project. + */ + async getFlagSettings( + request: GetFlagSettingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetFlagSettings( + this, + request, + options, + )); + } + + /** + * Update project flag settings + * + * @remarks + * Update feature flag settings for a project. + */ + async updateFlagSettings( + request: UpdateFlagSettingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsUpdateFlagSettings( + this, + request, + options, + )); + } + + /** + * List attribute labels + * + * @remarks + * List labels for one entity attribute. Search can return a short or empty page with a continuation cursor; continue until pagination.next is null. + */ + async listFlagLabels( + request: ListFlagLabelsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlagLabels( + this, + request, + options, + )); + } + + /** + * List attribute label counts + * + * @remarks + * List label counts for configured entity attributes, including empty ones. + */ + async listFlagLabelCounts( + request: ListFlagLabelCountsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlagLabelCounts( + this, + request, + options, + )); + } + + /** + * Look up attribute labels + * + * @remarks + * Look up at most 100 labels by entity kind, attribute key, and value. Duplicate keys are returned once; absent values are listed in missing. + */ + async lookupFlagLabels( + request: LookupFlagLabelsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsLookupFlagLabels( + this, + request, + options, + )); + } + + /** + * List team project flag settings + * + * @remarks + * Retrieve feature flag settings for projects in a team. + */ + async listTeamFlagSettings( + request: ListTeamFlagSettingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListTeamFlagSettings( + this, + request, + options, + )); + } + + /** + * List all flags for a team + * + * @remarks + * Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination. + */ + async listTeamFlagsV2( + request: ListTeamFlagsV2Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListTeamFlagsV2( + this, + request, + options, + )); + } + + /** + * List all flags for a team + * + * @remarks + * Retrieve all feature flags for a team across all projects. The list can be filtered by state and supports pagination. + */ + async listTeamFlags( + request: ListTeamFlagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListTeamFlags( + this, + request, + options, + )); + } + + /** + * Create a segment + * + * @remarks + * Create a new feature flag segment. + */ + async createFlagSegment( + request: CreateFlagSegmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsCreateFlagSegment( + this, + request, + options, + )); + } + + /** + * List segments + * + * @remarks + * List all feature flag segments for a project. + */ + async listFlagSegments( + request: ListFlagSegmentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsListFlagSegments( + this, + request, + options, + )); + } + + /** + * Get a segment + * + * @remarks + * Retrieve a feature flag segment by ID or slug. + */ + async getFlagSegment( + request: GetFlagSegmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetFlagSegment( + this, + request, + options, + )); + } + + /** + * Delete a segment + * + * @remarks + * Delete a feature flag segment. + */ + async deleteFlagSegment( + request: DeleteFlagSegmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsDeleteFlagSegment( + this, + request, + options, + )); + } + + /** + * Update a segment + * + * @remarks + * Update an existing feature flag segment. + */ + async updateFlagSegment( + request: UpdateFlagSegmentRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsUpdateFlagSegment( + this, + request, + options, + )); + } + + /** + * Retrieve the feature flags of a deployment + * + * @remarks + * Retrieve the feature flags of a deployment. + */ + async getDeploymentFeatureFlags( + request: GetDeploymentFeatureFlagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetDeploymentFeatureFlags( + this, + request, + options, + )); + } + + /** + * Get all SDK keys + * + * @remarks + * Gets all SDK keys for a project. + */ + async getSDKKeys( + request: GetSDKKeysRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetSDKKeys( + this, + request, + options, + )); + } + + /** + * Create an SDK key + * + * @remarks + * Creates an SDK key. + */ + async createSDKKey( + request: CreateSDKKeyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsCreateSDKKey( + this, + request, + options, + )); + } + + /** + * Delete an SDK key + * + * @remarks + * Deletes an SDK key. + */ + async deleteSDKKey( + request: DeleteSDKKeyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsDeleteSDKKey( + this, + request, + options, + )); + } + + /** + * List flags project connections + * + * @remarks + * Lists the flags project connections of a project. By default these are the projects that may read this project's flags; with `role=consumer` these are the projects whose flags this project may read. Connections are within one team and apply across environments. Requires permission to list connections on the selected project. + */ + async getFlagsProjectConnections( + request: GetFlagsProjectConnectionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsGetFlagsProjectConnections( + this, + request, + options, + )); + } + + /** + * Connect a project to the flags of this project + * + * @remarks + * Connects a project in the same team to the flags of this project. The consumer project reads this project's flags with its own deployment identity by naming this project in the Flags SDK. Connections grant read and evaluate access across environments, with the consumer deployment's environment selecting the source environment. Requires connection management permission on the source project and read access to the consumer project. + */ + async createFlagsProjectConnection( + request: CreateFlagsProjectConnectionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsCreateFlagsProjectConnection( + this, + request, + options, + )); + } + + /** + * Disconnect a project from the flags of this project + * + * @remarks + * Disconnects a project from the flags of this project. The consumer loses access without a redeploy. Requires connection management permission on the source project; access to the consumer project is not required. + */ + async deleteFlagsProjectConnection( + request: DeleteFlagsProjectConnectionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsDeleteFlagsProjectConnection( + this, + request, + options, + )); + } +} diff --git a/src/sdk/featureflags.ts b/src/sdk/featureflags.ts index c6d29e60a1..821db81c8d 100644 --- a/src/sdk/featureflags.ts +++ b/src/sdk/featureflags.ts @@ -26,6 +26,7 @@ import { featureFlagsListTeamFlags } from "../funcs/featureFlagsListTeamFlags.js import { featureFlagsListTeamFlagSettings } from "../funcs/featureFlagsListTeamFlagSettings.js"; import { featureFlagsListTeamFlagsV2 } from "../funcs/featureFlagsListTeamFlagsV2.js"; import { featureFlagsLookupFlagLabels } from "../funcs/featureFlagsLookupFlagLabels.js"; +import { featureFlagsSignFlagOverrides } from "../funcs/featureFlagsSignFlagOverrides.js"; import { featureFlagsUpdateFlag } from "../funcs/featureFlagsUpdateFlag.js"; import { featureFlagsUpdateFlagSegment } from "../funcs/featureFlagsUpdateFlagSegment.js"; import { featureFlagsUpdateFlagSettings } from "../funcs/featureFlagsUpdateFlagSettings.js"; @@ -108,6 +109,10 @@ import { LookupFlagLabelsResponseBody, } from "../models/lookupflaglabelsop.js"; import { Segment } from "../models/segment.js"; +import { + SignFlagOverridesRequest, + SignFlagOverridesResponseBody, +} from "../models/signflagoverridesop.js"; import { UpdateFlagRequest, UpdateFlagResponseBody, @@ -120,6 +125,23 @@ import { import { unwrapAsync } from "../types/fp.js"; export class FeatureFlags extends ClientSDK { + /** + * Sign flag overrides + * + * @remarks + * Signs flag overrides for the `vercel-flag-overrides` cookie, which the Flags SDK accepts without a `FLAGS_SECRET`. The overrides apply to one environment of the project and of the projects that share its microfrontends groups. An access token requires permission to read the project and an `environment`. A Vercel OIDC token signs only for its own project and environment. + */ + async signFlagOverrides( + request: SignFlagOverridesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(featureFlagsSignFlagOverrides( + this, + request, + options, + )); + } + /** * List flags * diff --git a/src/sdk/globalconfig.lazy.ts b/src/sdk/globalconfig.lazy.ts new file mode 100644 index 0000000000..d560ffc032 --- /dev/null +++ b/src/sdk/globalconfig.lazy.ts @@ -0,0 +1,728 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateEdgeConfigRequest, + CreateEdgeConfigResponseBody, +} from "../models/createedgeconfigop.js"; +import { + CreateEdgeConfigTokenRequest, + CreateEdgeConfigTokenResponseBody, +} from "../models/createedgeconfigtokenop.js"; +import { DeleteEdgeConfigRequest } from "../models/deleteedgeconfigop.js"; +import { DeleteEdgeConfigSchemaRequest } from "../models/deleteedgeconfigschemaop.js"; +import { DeleteEdgeConfigTokensRequest } from "../models/deleteedgeconfigtokensop.js"; +import { + GetEdgeConfigBackupRequest, + GetEdgeConfigBackupResponseBody, +} from "../models/getedgeconfigbackupop.js"; +import { + GetEdgeConfigBackupsRequest, + GetEdgeConfigBackupsResponseBody, +} from "../models/getedgeconfigbackupsop.js"; +import { GetEdgeConfigItemRequest } from "../models/getedgeconfigitemop.js"; +import { GetEdgeConfigItemsRequest } from "../models/getedgeconfigitemsop.js"; +import { + GetEdgeConfigRequest, + GetEdgeConfigResponseBody, +} from "../models/getedgeconfigop.js"; +import { + GetEdgeConfigSchemaRequest, + GetEdgeConfigSchemaResponseBody, +} from "../models/getedgeconfigschemaop.js"; +import { + GetEdgeConfigsRequest, + GetEdgeConfigsResponseBody, +} from "../models/getedgeconfigsop.js"; +import { GetEdgeConfigTokenRequest } from "../models/getedgeconfigtokenop.js"; +import { GetEdgeConfigTokensRequest } from "../models/getedgeconfigtokensop.js"; +import { GlobalConfigItem } from "../models/globalconfigitem.js"; +import { GlobalConfigToken } from "../models/globalconfigtoken.js"; +import { + PatchEdgeConfigItemsRequest, + PatchEdgeConfigItemsResponseBody, +} from "../models/patchedgeconfigitemsop.js"; +import { + PatchEdgeConfigSchemaRequest, + PatchEdgeConfigSchemaResponseBody, +} from "../models/patchedgeconfigschemaop.js"; +import { + RestoreEdgeConfigBackupRequest, + RestoreEdgeConfigBackupResponseBody, +} from "../models/restoreedgeconfigbackupop.js"; +import { + UpdateEdgeConfigRequest, + UpdateEdgeConfigResponseBody, +} from "../models/updateedgeconfigop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let globalConfigGetEdgeConfigs$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigs = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigs.js").globalConfigGetEdgeConfigs + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigs$module ??= import( + "../funcs/globalConfigGetEdgeConfigs.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigs$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigs(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigs.js").globalConfigGetEdgeConfigs; + +let globalConfigCreateEdgeConfig$module: + | Promise + | undefined; +const globalConfigCreateEdgeConfig = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigCreateEdgeConfig.js").globalConfigCreateEdgeConfig + > + ) => + new APIPromise( + (globalConfigCreateEdgeConfig$module ??= import( + "../funcs/globalConfigCreateEdgeConfig.js" + ).catch((error: unknown) => { + globalConfigCreateEdgeConfig$module = undefined; + throw error; + })).then((module) => + module.globalConfigCreateEdgeConfig(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigCreateEdgeConfig.js").globalConfigCreateEdgeConfig; + +let globalConfigGetEdgeConfig$module: + | Promise + | undefined; +const globalConfigGetEdgeConfig = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfig.js").globalConfigGetEdgeConfig + > + ) => + new APIPromise( + (globalConfigGetEdgeConfig$module ??= import( + "../funcs/globalConfigGetEdgeConfig.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfig$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfig(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfig.js").globalConfigGetEdgeConfig; + +let globalConfigUpdateEdgeConfig$module: + | Promise + | undefined; +const globalConfigUpdateEdgeConfig = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigUpdateEdgeConfig.js").globalConfigUpdateEdgeConfig + > + ) => + new APIPromise( + (globalConfigUpdateEdgeConfig$module ??= import( + "../funcs/globalConfigUpdateEdgeConfig.js" + ).catch((error: unknown) => { + globalConfigUpdateEdgeConfig$module = undefined; + throw error; + })).then((module) => + module.globalConfigUpdateEdgeConfig(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigUpdateEdgeConfig.js").globalConfigUpdateEdgeConfig; + +let globalConfigDeleteEdgeConfig$module: + | Promise + | undefined; +const globalConfigDeleteEdgeConfig = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigDeleteEdgeConfig.js").globalConfigDeleteEdgeConfig + > + ) => + new APIPromise( + (globalConfigDeleteEdgeConfig$module ??= import( + "../funcs/globalConfigDeleteEdgeConfig.js" + ).catch((error: unknown) => { + globalConfigDeleteEdgeConfig$module = undefined; + throw error; + })).then((module) => + module.globalConfigDeleteEdgeConfig(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigDeleteEdgeConfig.js").globalConfigDeleteEdgeConfig; + +let globalConfigGetEdgeConfigItems$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigItems = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigItems.js").globalConfigGetEdgeConfigItems + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigItems$module ??= import( + "../funcs/globalConfigGetEdgeConfigItems.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigItems$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigItems(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigItems.js").globalConfigGetEdgeConfigItems; + +let globalConfigPatchEdgeConfigItems$module: + | Promise + | undefined; +const globalConfigPatchEdgeConfigItems = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigPatchEdgeConfigItems.js").globalConfigPatchEdgeConfigItems + > + ) => + new APIPromise( + (globalConfigPatchEdgeConfigItems$module ??= import( + "../funcs/globalConfigPatchEdgeConfigItems.js" + ).catch((error: unknown) => { + globalConfigPatchEdgeConfigItems$module = undefined; + throw error; + })).then((module) => + module.globalConfigPatchEdgeConfigItems(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigPatchEdgeConfigItems.js").globalConfigPatchEdgeConfigItems; + +let globalConfigGetEdgeConfigSchema$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigSchema = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigSchema.js").globalConfigGetEdgeConfigSchema + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigSchema$module ??= import( + "../funcs/globalConfigGetEdgeConfigSchema.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigSchema$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigSchema(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigSchema.js").globalConfigGetEdgeConfigSchema; + +let globalConfigPatchEdgeConfigSchema$module: + | Promise + | undefined; +const globalConfigPatchEdgeConfigSchema = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigPatchEdgeConfigSchema.js").globalConfigPatchEdgeConfigSchema + > + ) => + new APIPromise( + (globalConfigPatchEdgeConfigSchema$module ??= import( + "../funcs/globalConfigPatchEdgeConfigSchema.js" + ).catch((error: unknown) => { + globalConfigPatchEdgeConfigSchema$module = undefined; + throw error; + })).then((module) => + module.globalConfigPatchEdgeConfigSchema(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigPatchEdgeConfigSchema.js").globalConfigPatchEdgeConfigSchema; + +let globalConfigDeleteEdgeConfigSchema$module: + | Promise + | undefined; +const globalConfigDeleteEdgeConfigSchema = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigDeleteEdgeConfigSchema.js").globalConfigDeleteEdgeConfigSchema + > + ) => + new APIPromise( + (globalConfigDeleteEdgeConfigSchema$module ??= import( + "../funcs/globalConfigDeleteEdgeConfigSchema.js" + ).catch((error: unknown) => { + globalConfigDeleteEdgeConfigSchema$module = undefined; + throw error; + })).then((module) => + module.globalConfigDeleteEdgeConfigSchema(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigDeleteEdgeConfigSchema.js").globalConfigDeleteEdgeConfigSchema; + +let globalConfigGetEdgeConfigItem$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigItem = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigItem.js").globalConfigGetEdgeConfigItem + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigItem$module ??= import( + "../funcs/globalConfigGetEdgeConfigItem.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigItem$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigItem(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigItem.js").globalConfigGetEdgeConfigItem; + +let globalConfigGetEdgeConfigTokens$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigTokens = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigTokens.js").globalConfigGetEdgeConfigTokens + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigTokens$module ??= import( + "../funcs/globalConfigGetEdgeConfigTokens.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigTokens$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigTokens(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigTokens.js").globalConfigGetEdgeConfigTokens; + +let globalConfigDeleteEdgeConfigTokens$module: + | Promise + | undefined; +const globalConfigDeleteEdgeConfigTokens = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigDeleteEdgeConfigTokens.js").globalConfigDeleteEdgeConfigTokens + > + ) => + new APIPromise( + (globalConfigDeleteEdgeConfigTokens$module ??= import( + "../funcs/globalConfigDeleteEdgeConfigTokens.js" + ).catch((error: unknown) => { + globalConfigDeleteEdgeConfigTokens$module = undefined; + throw error; + })).then((module) => + module.globalConfigDeleteEdgeConfigTokens(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigDeleteEdgeConfigTokens.js").globalConfigDeleteEdgeConfigTokens; + +let globalConfigGetEdgeConfigToken$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigToken = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigToken.js").globalConfigGetEdgeConfigToken + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigToken$module ??= import( + "../funcs/globalConfigGetEdgeConfigToken.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigToken$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigToken(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigToken.js").globalConfigGetEdgeConfigToken; + +let globalConfigCreateEdgeConfigToken$module: + | Promise + | undefined; +const globalConfigCreateEdgeConfigToken = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigCreateEdgeConfigToken.js").globalConfigCreateEdgeConfigToken + > + ) => + new APIPromise( + (globalConfigCreateEdgeConfigToken$module ??= import( + "../funcs/globalConfigCreateEdgeConfigToken.js" + ).catch((error: unknown) => { + globalConfigCreateEdgeConfigToken$module = undefined; + throw error; + })).then((module) => + module.globalConfigCreateEdgeConfigToken(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigCreateEdgeConfigToken.js").globalConfigCreateEdgeConfigToken; + +let globalConfigGetEdgeConfigBackup$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigBackup = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigBackup.js").globalConfigGetEdgeConfigBackup + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigBackup$module ??= import( + "../funcs/globalConfigGetEdgeConfigBackup.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigBackup$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigBackup(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigBackup.js").globalConfigGetEdgeConfigBackup; + +let globalConfigRestoreEdgeConfigBackup$module: + | Promise + | undefined; +const globalConfigRestoreEdgeConfigBackup = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigRestoreEdgeConfigBackup.js").globalConfigRestoreEdgeConfigBackup + > + ) => + new APIPromise( + (globalConfigRestoreEdgeConfigBackup$module ??= import( + "../funcs/globalConfigRestoreEdgeConfigBackup.js" + ).catch((error: unknown) => { + globalConfigRestoreEdgeConfigBackup$module = undefined; + throw error; + })).then((module) => + module.globalConfigRestoreEdgeConfigBackup(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigRestoreEdgeConfigBackup.js").globalConfigRestoreEdgeConfigBackup; + +let globalConfigGetEdgeConfigBackups$module: + | Promise + | undefined; +const globalConfigGetEdgeConfigBackups = + (( + ...args: Parameters< + typeof import("../funcs/globalConfigGetEdgeConfigBackups.js").globalConfigGetEdgeConfigBackups + > + ) => + new APIPromise( + (globalConfigGetEdgeConfigBackups$module ??= import( + "../funcs/globalConfigGetEdgeConfigBackups.js" + ).catch((error: unknown) => { + globalConfigGetEdgeConfigBackups$module = undefined; + throw error; + })).then((module) => + module.globalConfigGetEdgeConfigBackups(...args).$inspect() + ), + )) as typeof import("../funcs/globalConfigGetEdgeConfigBackups.js").globalConfigGetEdgeConfigBackups; + +export class GlobalConfig extends ClientSDK { + /** + * Get Global Configs + * + * @remarks + * Returns all Global Configs. + */ + async getEdgeConfigs( + request: GetEdgeConfigsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(globalConfigGetEdgeConfigs( + this, + request, + options, + )); + } + + /** + * Create a Global Config + * + * @remarks + * Creates a Global Config. + */ + async createEdgeConfig( + request: CreateEdgeConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigCreateEdgeConfig( + this, + request, + options, + )); + } + + /** + * Get a Global Config + * + * @remarks + * Returns a Global Config. + */ + async getEdgeConfig( + request: GetEdgeConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfig( + this, + request, + options, + )); + } + + /** + * Update a Global Config + * + * @remarks + * Updates a Global Config. + */ + async updateEdgeConfig( + request: UpdateEdgeConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigUpdateEdgeConfig( + this, + request, + options, + )); + } + + /** + * Delete a Global Config + * + * @remarks + * Delete a Global Config by id. + */ + async deleteEdgeConfig( + request: DeleteEdgeConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigDeleteEdgeConfig( + this, + request, + options, + )); + } + + /** + * Get Global Config items + * + * @remarks + * Returns all items of a Global Config. + */ + async getEdgeConfigItems( + request: GetEdgeConfigItemsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(globalConfigGetEdgeConfigItems( + this, + request, + options, + )); + } + + /** + * Update Global Config items in batch + * + * @remarks + * Update multiple Global Config Items in batch. + */ + async patchEdgeConfigItems( + request: PatchEdgeConfigItemsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigPatchEdgeConfigItems( + this, + request, + options, + )); + } + + /** + * Get Global Config schema + * + * @remarks + * Returns the schema of a Global Config. + */ + async getEdgeConfigSchema( + request: GetEdgeConfigSchemaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfigSchema( + this, + request, + options, + )); + } + + /** + * Update Global Config schema + * + * @remarks + * Update a Global Config's schema. + */ + async patchEdgeConfigSchema( + request: PatchEdgeConfigSchemaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigPatchEdgeConfigSchema( + this, + request, + options, + )); + } + + /** + * Delete a Global Config's schema + * + * @remarks + * Deletes the schema of existing Global Config. + */ + async deleteEdgeConfigSchema( + request: DeleteEdgeConfigSchemaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigDeleteEdgeConfigSchema( + this, + request, + options, + )); + } + + /** + * Get a Global Config item + * + * @remarks + * Returns a specific Global Config Item. + */ + async getEdgeConfigItem( + request: GetEdgeConfigItemRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfigItem( + this, + request, + options, + )); + } + + /** + * Get all tokens of a Global Config + * + * @remarks + * Returns all tokens of a Global Config. + */ + async getEdgeConfigTokens( + request: GetEdgeConfigTokensRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(globalConfigGetEdgeConfigTokens( + this, + request, + options, + )); + } + + /** + * Delete one or more Global Config tokens + * + * @remarks + * Deletes one or more tokens of an existing Global Config. + */ + async deleteEdgeConfigTokens( + request: DeleteEdgeConfigTokensRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigDeleteEdgeConfigTokens( + this, + request, + options, + )); + } + + /** + * Get Global Config token meta data + * + * @remarks + * Return meta data about a Global Config token. + */ + async getEdgeConfigToken( + request: GetEdgeConfigTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfigToken( + this, + request, + options, + )); + } + + /** + * Create a Global Config token + * + * @remarks + * Adds a token to an existing Global Config. + */ + async createEdgeConfigToken( + request: CreateEdgeConfigTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigCreateEdgeConfigToken( + this, + request, + options, + )); + } + + /** + * Get Global Config backup + * + * @remarks + * Retrieves a specific version of a Global Config from backup storage. The `user` field is only included when the caller can list team members. + */ + async getEdgeConfigBackup( + request: GetEdgeConfigBackupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfigBackup( + this, + request, + options, + )); + } + + /** + * Restore Global Config backup + * + * @remarks + * Restores a Global Config backup. + */ + async restoreEdgeConfigBackup( + request: RestoreEdgeConfigBackupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigRestoreEdgeConfigBackup( + this, + request, + options, + )); + } + + /** + * Get Global Config backups + * + * @remarks + * Returns backups of a Global Config. + */ + async getEdgeConfigBackups( + request: GetEdgeConfigBackupsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(globalConfigGetEdgeConfigBackups( + this, + request, + options, + )); + } +} diff --git a/src/sdk/integrations.lazy.ts b/src/sdk/integrations.lazy.ts new file mode 100644 index 0000000000..54187d5bdc --- /dev/null +++ b/src/sdk/integrations.lazy.ts @@ -0,0 +1,411 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { ConnectIntegrationResourceToProjectRequest } from "../models/connectintegrationresourcetoprojectop.js"; +import { CreateIntegrationStoreDirectRequest } from "../models/createintegrationstoredirecthiddenintegrationsresponse2003.js"; +import { CreateIntegrationStoreDirectResponseBody } from "../models/createintegrationstoredirectresponsebody.js"; +import { DeleteConfigurationRequest } from "../models/deleteconfigurationop.js"; +import { + GetBillingPlansRequest, + GetBillingPlansResponseBody, +} from "../models/getbillingplansop.js"; +import { + GetConfigurationRequest, + GetConfigurationResponseBody, +} from "../models/getconfigurationop.js"; +import { GetConfigurationProductsResponseBody } from "../models/getconfigurationproductsresponsebody.js"; +import { + GetConfigurationsRequest, + GetConfigurationsResponseBody, +} from "../models/getconfigurationsop.js"; +import { + GitNamespacesRequest, + GitNamespacesResponseBody, +} from "../models/gitnamespacesop.js"; +import { GetConfigurationProductsRequest } from "../models/properties7.js"; +import { + SearchRepoRequest, + SearchRepoResponseBody, +} from "../models/searchrepoop.js"; +import { UpdateIntegrationDeploymentActionRequest } from "../models/updateintegrationdeploymentactionop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let deploymentsUpdateIntegrationDeploymentAction$module: + | Promise< + typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js") + > + | undefined; +const deploymentsUpdateIntegrationDeploymentAction = + (( + ...args: Parameters< + typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js").deploymentsUpdateIntegrationDeploymentAction + > + ) => + new APIPromise( + (deploymentsUpdateIntegrationDeploymentAction$module ??= import( + "../funcs/deploymentsUpdateIntegrationDeploymentAction.js" + ).catch((error: unknown) => { + deploymentsUpdateIntegrationDeploymentAction$module = undefined; + throw error; + })).then((module) => + module.deploymentsUpdateIntegrationDeploymentAction(...args).$inspect() + ), + )) as typeof import("../funcs/deploymentsUpdateIntegrationDeploymentAction.js").deploymentsUpdateIntegrationDeploymentAction; + +let integrationsGitNamespaces$module: + | Promise + | undefined; +const integrationsGitNamespaces = + (( + ...args: Parameters< + typeof import("../funcs/integrationsGitNamespaces.js").integrationsGitNamespaces + > + ) => + new APIPromise( + (integrationsGitNamespaces$module ??= import( + "../funcs/integrationsGitNamespaces.js" + ).catch((error: unknown) => { + integrationsGitNamespaces$module = undefined; + throw error; + })).then((module) => + module.integrationsGitNamespaces(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsGitNamespaces.js").integrationsGitNamespaces; + +let integrationsSearchRepo$module: + | Promise + | undefined; +const integrationsSearchRepo = + (( + ...args: Parameters< + typeof import("../funcs/integrationsSearchRepo.js").integrationsSearchRepo + > + ) => + new APIPromise( + (integrationsSearchRepo$module ??= import( + "../funcs/integrationsSearchRepo.js" + ).catch((error: unknown) => { + integrationsSearchRepo$module = undefined; + throw error; + })).then((module) => module.integrationsSearchRepo(...args).$inspect()), + )) as typeof import("../funcs/integrationsSearchRepo.js").integrationsSearchRepo; + +let integrationsGetBillingPlans$module: + | Promise + | undefined; +const integrationsGetBillingPlans = + (( + ...args: Parameters< + typeof import("../funcs/integrationsGetBillingPlans.js").integrationsGetBillingPlans + > + ) => + new APIPromise( + (integrationsGetBillingPlans$module ??= import( + "../funcs/integrationsGetBillingPlans.js" + ).catch((error: unknown) => { + integrationsGetBillingPlans$module = undefined; + throw error; + })).then((module) => + module.integrationsGetBillingPlans(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsGetBillingPlans.js").integrationsGetBillingPlans; + +let integrationsConnectIntegrationResourceToProject$module: + | Promise< + typeof import("../funcs/integrationsConnectIntegrationResourceToProject.js") + > + | undefined; +const integrationsConnectIntegrationResourceToProject = + (( + ...args: Parameters< + typeof import("../funcs/integrationsConnectIntegrationResourceToProject.js").integrationsConnectIntegrationResourceToProject + > + ) => + new APIPromise( + (integrationsConnectIntegrationResourceToProject$module ??= import( + "../funcs/integrationsConnectIntegrationResourceToProject.js" + ).catch((error: unknown) => { + integrationsConnectIntegrationResourceToProject$module = undefined; + throw error; + })).then((module) => + module.integrationsConnectIntegrationResourceToProject(...args) + .$inspect() + ), + )) as typeof import("../funcs/integrationsConnectIntegrationResourceToProject.js").integrationsConnectIntegrationResourceToProject; + +let integrationsGetConfigurations$module: + | Promise + | undefined; +const integrationsGetConfigurations = + (( + ...args: Parameters< + typeof import("../funcs/integrationsGetConfigurations.js").integrationsGetConfigurations + > + ) => + new APIPromise( + (integrationsGetConfigurations$module ??= import( + "../funcs/integrationsGetConfigurations.js" + ).catch((error: unknown) => { + integrationsGetConfigurations$module = undefined; + throw error; + })).then((module) => + module.integrationsGetConfigurations(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsGetConfigurations.js").integrationsGetConfigurations; + +let integrationsGetConfiguration$module: + | Promise + | undefined; +const integrationsGetConfiguration = + (( + ...args: Parameters< + typeof import("../funcs/integrationsGetConfiguration.js").integrationsGetConfiguration + > + ) => + new APIPromise( + (integrationsGetConfiguration$module ??= import( + "../funcs/integrationsGetConfiguration.js" + ).catch((error: unknown) => { + integrationsGetConfiguration$module = undefined; + throw error; + })).then((module) => + module.integrationsGetConfiguration(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsGetConfiguration.js").integrationsGetConfiguration; + +let integrationsDeleteConfiguration$module: + | Promise + | undefined; +const integrationsDeleteConfiguration = + (( + ...args: Parameters< + typeof import("../funcs/integrationsDeleteConfiguration.js").integrationsDeleteConfiguration + > + ) => + new APIPromise( + (integrationsDeleteConfiguration$module ??= import( + "../funcs/integrationsDeleteConfiguration.js" + ).catch((error: unknown) => { + integrationsDeleteConfiguration$module = undefined; + throw error; + })).then((module) => + module.integrationsDeleteConfiguration(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsDeleteConfiguration.js").integrationsDeleteConfiguration; + +let integrationsGetConfigurationProducts$module: + | Promise + | undefined; +const integrationsGetConfigurationProducts = + (( + ...args: Parameters< + typeof import("../funcs/integrationsGetConfigurationProducts.js").integrationsGetConfigurationProducts + > + ) => + new APIPromise( + (integrationsGetConfigurationProducts$module ??= import( + "../funcs/integrationsGetConfigurationProducts.js" + ).catch((error: unknown) => { + integrationsGetConfigurationProducts$module = undefined; + throw error; + })).then((module) => + module.integrationsGetConfigurationProducts(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsGetConfigurationProducts.js").integrationsGetConfigurationProducts; + +let integrationsCreateIntegrationStoreDirect$module: + | Promise< + typeof import("../funcs/integrationsCreateIntegrationStoreDirect.js") + > + | undefined; +const integrationsCreateIntegrationStoreDirect = + (( + ...args: Parameters< + typeof import("../funcs/integrationsCreateIntegrationStoreDirect.js").integrationsCreateIntegrationStoreDirect + > + ) => + new APIPromise( + (integrationsCreateIntegrationStoreDirect$module ??= import( + "../funcs/integrationsCreateIntegrationStoreDirect.js" + ).catch((error: unknown) => { + integrationsCreateIntegrationStoreDirect$module = undefined; + throw error; + })).then((module) => + module.integrationsCreateIntegrationStoreDirect(...args).$inspect() + ), + )) as typeof import("../funcs/integrationsCreateIntegrationStoreDirect.js").integrationsCreateIntegrationStoreDirect; + +export class Integrations extends ClientSDK { + /** + * Update deployment integration action + * + * @remarks + * Updates the deployment integration action for the specified integration installation + */ + async updateIntegrationDeploymentAction( + request: UpdateIntegrationDeploymentActionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(deploymentsUpdateIntegrationDeploymentAction( + this, + request, + options, + )); + } + + /** + * List git namespaces by provider + * + * @remarks + * Lists git namespaces for a supported provider. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider is not provided, it will try to obtain it from the user that authenticated the request. + */ + async gitNamespaces( + request: GitNamespacesRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(integrationsGitNamespaces( + this, + request, + options, + )); + } + + /** + * List git repositories linked to namespace by provider + * + * @remarks + * Lists git repositories linked to a namespace `id` for a supported provider. A specific namespace `id` can be obtained via the `git-namespaces` endpoint. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request. + */ + async searchRepo( + request: SearchRepoRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsSearchRepo( + this, + request, + options, + )); + } + + /** + * List integration billing plans + * + * @remarks + * Get a list of billing plans for an integration and product. + */ + async getBillingPlans( + request: GetBillingPlansRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsGetBillingPlans( + this, + request, + options, + )); + } + + /** + * Connect integration resource to project + * + * @remarks + * Connects an integration resource to a Vercel project. This endpoint establishes a connection between a provisioned integration resource (from storage APIs like `POST /v1/storage/stores/integration/direct`) and a specific Vercel project. + */ + async connectIntegrationResourceToProject( + request: ConnectIntegrationResourceToProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsConnectIntegrationResourceToProject( + this, + request, + options, + )); + } + + /** + * Get configurations for the authenticated user or team + * + * @remarks + * 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. + */ + async getConfigurations( + request: GetConfigurationsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsGetConfigurations( + this, + request, + options, + )); + } + + /** + * Retrieve an integration configuration + * + * @remarks + * Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it. + */ + async getConfiguration( + request: GetConfigurationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsGetConfiguration( + this, + request, + options, + )); + } + + /** + * Delete an integration configuration + * + * @remarks + * Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables. + */ + async deleteConfiguration( + request: DeleteConfigurationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsDeleteConfiguration( + this, + request, + options, + )); + } + + /** + * List products for integration configuration + * + * @remarks + * Returns products available for an integration configuration. Each product includes a `metadataSchema` field with the JSON Schema for required and optional metadata fields. + */ + async getConfigurationProducts( + request: GetConfigurationProductsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsGetConfigurationProducts( + this, + request, + options, + )); + } + + /** + * Create integration store (free and paid plans) + * + * @remarks + * Creates an integration store with automatic billing plan handling. For free resources, omit `billingPlanId` to auto-discover free plans. For paid resources, provide a `billingPlanId` from the billing plans endpoint. + */ + async createIntegrationStoreDirect( + request: CreateIntegrationStoreDirectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(integrationsCreateIntegrationStoreDirect( + this, + request, + options, + )); + } +} diff --git a/src/sdk/kms.lazy.ts b/src/sdk/kms.lazy.ts new file mode 100644 index 0000000000..83f62accd0 --- /dev/null +++ b/src/sdk/kms.lazy.ts @@ -0,0 +1,505 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + ActivateKmsSigningKeyRequest, + ActivateKmsSigningKeyResponseBody, +} from "../models/activatekmssigningkeyop.js"; +import { + CreateKmsIssuerRequest, + CreateKmsIssuerResponseBody, +} from "../models/createkmsissuerop.js"; +import { + CreateKmsIssuerPolicyRequest, + CreateKmsIssuerPolicyResponseBody, +} from "../models/createkmsissuerpolicyop.js"; +import { + CreateKmsSigningKeyRequest, + CreateKmsSigningKeyResponseBody, +} from "../models/createkmssigningkeyop.js"; +import { DeleteKmsIssuerRequest } from "../models/deletekmsissuerop.js"; +import { DeleteKmsIssuerPolicyRequest } from "../models/deletekmsissuerpolicyop.js"; +import { + GetKmsIssuerRequest, + GetKmsIssuerResponseBody, +} from "../models/getkmsissuerop.js"; +import { + ListKmsIssuersRequest, + ListKmsIssuersResponseBody, +} from "../models/listkmsissuersop.js"; +import { + RevokeKmsSigningKeyRequest, + RevokeKmsSigningKeyResponseBody, +} from "../models/revokekmssigningkeyop.js"; +import { + SignKmsMessageRequest, + SignKmsMessageResponseBody, +} from "../models/signkmsmessageop.js"; +import { + SignKmsTokenRequest, + SignKmsTokenResponseBody, +} from "../models/signkmstokenop.js"; +import { + UpdateKmsIssuerRequest, + UpdateKmsIssuerResponseBody, +} from "../models/updatekmsissuerop.js"; +import { + UpdateKmsIssuerPolicyRequest, + UpdateKmsIssuerPolicyResponseBody, +} from "../models/updatekmsissuerpolicyop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let kmsSignKmsMessage$module: + | Promise + | undefined; +const kmsSignKmsMessage = + (( + ...args: Parameters< + typeof import("../funcs/kmsSignKmsMessage.js").kmsSignKmsMessage + > + ) => + new APIPromise( + (kmsSignKmsMessage$module ??= import("../funcs/kmsSignKmsMessage.js") + .catch((error: unknown) => { + kmsSignKmsMessage$module = undefined; + throw error; + })).then((module) => module.kmsSignKmsMessage(...args).$inspect()), + )) as typeof import("../funcs/kmsSignKmsMessage.js").kmsSignKmsMessage; + +let kmsSignKmsToken$module: + | Promise + | undefined; +const kmsSignKmsToken = + (( + ...args: Parameters< + typeof import("../funcs/kmsSignKmsToken.js").kmsSignKmsToken + > + ) => + new APIPromise( + (kmsSignKmsToken$module ??= import("../funcs/kmsSignKmsToken.js").catch( + (error: unknown) => { + kmsSignKmsToken$module = undefined; + throw error; + }, + )).then((module) => module.kmsSignKmsToken(...args).$inspect()), + )) as typeof import("../funcs/kmsSignKmsToken.js").kmsSignKmsToken; + +let kmsListKmsIssuers$module: + | Promise + | undefined; +const kmsListKmsIssuers = + (( + ...args: Parameters< + typeof import("../funcs/kmsListKmsIssuers.js").kmsListKmsIssuers + > + ) => + new APIPromise( + (kmsListKmsIssuers$module ??= import("../funcs/kmsListKmsIssuers.js") + .catch((error: unknown) => { + kmsListKmsIssuers$module = undefined; + throw error; + })).then((module) => module.kmsListKmsIssuers(...args).$inspect()), + )) as typeof import("../funcs/kmsListKmsIssuers.js").kmsListKmsIssuers; + +let kmsCreateKmsIssuer$module: + | Promise + | undefined; +const kmsCreateKmsIssuer = + (( + ...args: Parameters< + typeof import("../funcs/kmsCreateKmsIssuer.js").kmsCreateKmsIssuer + > + ) => + new APIPromise( + (kmsCreateKmsIssuer$module ??= import("../funcs/kmsCreateKmsIssuer.js") + .catch((error: unknown) => { + kmsCreateKmsIssuer$module = undefined; + throw error; + })).then((module) => module.kmsCreateKmsIssuer(...args).$inspect()), + )) as typeof import("../funcs/kmsCreateKmsIssuer.js").kmsCreateKmsIssuer; + +let kmsCreateKmsSigningKey$module: + | Promise + | undefined; +const kmsCreateKmsSigningKey = + (( + ...args: Parameters< + typeof import("../funcs/kmsCreateKmsSigningKey.js").kmsCreateKmsSigningKey + > + ) => + new APIPromise( + (kmsCreateKmsSigningKey$module ??= import( + "../funcs/kmsCreateKmsSigningKey.js" + ).catch((error: unknown) => { + kmsCreateKmsSigningKey$module = undefined; + throw error; + })).then((module) => module.kmsCreateKmsSigningKey(...args).$inspect()), + )) as typeof import("../funcs/kmsCreateKmsSigningKey.js").kmsCreateKmsSigningKey; + +let kmsActivateKmsSigningKey$module: + | Promise + | undefined; +const kmsActivateKmsSigningKey = + (( + ...args: Parameters< + typeof import("../funcs/kmsActivateKmsSigningKey.js").kmsActivateKmsSigningKey + > + ) => + new APIPromise( + (kmsActivateKmsSigningKey$module ??= import( + "../funcs/kmsActivateKmsSigningKey.js" + ).catch((error: unknown) => { + kmsActivateKmsSigningKey$module = undefined; + throw error; + })).then((module) => module.kmsActivateKmsSigningKey(...args).$inspect()), + )) as typeof import("../funcs/kmsActivateKmsSigningKey.js").kmsActivateKmsSigningKey; + +let kmsRevokeKmsSigningKey$module: + | Promise + | undefined; +const kmsRevokeKmsSigningKey = + (( + ...args: Parameters< + typeof import("../funcs/kmsRevokeKmsSigningKey.js").kmsRevokeKmsSigningKey + > + ) => + new APIPromise( + (kmsRevokeKmsSigningKey$module ??= import( + "../funcs/kmsRevokeKmsSigningKey.js" + ).catch((error: unknown) => { + kmsRevokeKmsSigningKey$module = undefined; + throw error; + })).then((module) => module.kmsRevokeKmsSigningKey(...args).$inspect()), + )) as typeof import("../funcs/kmsRevokeKmsSigningKey.js").kmsRevokeKmsSigningKey; + +let kmsGetKmsIssuer$module: + | Promise + | undefined; +const kmsGetKmsIssuer = + (( + ...args: Parameters< + typeof import("../funcs/kmsGetKmsIssuer.js").kmsGetKmsIssuer + > + ) => + new APIPromise( + (kmsGetKmsIssuer$module ??= import("../funcs/kmsGetKmsIssuer.js").catch( + (error: unknown) => { + kmsGetKmsIssuer$module = undefined; + throw error; + }, + )).then((module) => module.kmsGetKmsIssuer(...args).$inspect()), + )) as typeof import("../funcs/kmsGetKmsIssuer.js").kmsGetKmsIssuer; + +let kmsUpdateKmsIssuer$module: + | Promise + | undefined; +const kmsUpdateKmsIssuer = + (( + ...args: Parameters< + typeof import("../funcs/kmsUpdateKmsIssuer.js").kmsUpdateKmsIssuer + > + ) => + new APIPromise( + (kmsUpdateKmsIssuer$module ??= import("../funcs/kmsUpdateKmsIssuer.js") + .catch((error: unknown) => { + kmsUpdateKmsIssuer$module = undefined; + throw error; + })).then((module) => module.kmsUpdateKmsIssuer(...args).$inspect()), + )) as typeof import("../funcs/kmsUpdateKmsIssuer.js").kmsUpdateKmsIssuer; + +let kmsDeleteKmsIssuer$module: + | Promise + | undefined; +const kmsDeleteKmsIssuer = + (( + ...args: Parameters< + typeof import("../funcs/kmsDeleteKmsIssuer.js").kmsDeleteKmsIssuer + > + ) => + new APIPromise( + (kmsDeleteKmsIssuer$module ??= import("../funcs/kmsDeleteKmsIssuer.js") + .catch((error: unknown) => { + kmsDeleteKmsIssuer$module = undefined; + throw error; + })).then((module) => module.kmsDeleteKmsIssuer(...args).$inspect()), + )) as typeof import("../funcs/kmsDeleteKmsIssuer.js").kmsDeleteKmsIssuer; + +let kmsCreateKmsIssuerPolicy$module: + | Promise + | undefined; +const kmsCreateKmsIssuerPolicy = + (( + ...args: Parameters< + typeof import("../funcs/kmsCreateKmsIssuerPolicy.js").kmsCreateKmsIssuerPolicy + > + ) => + new APIPromise( + (kmsCreateKmsIssuerPolicy$module ??= import( + "../funcs/kmsCreateKmsIssuerPolicy.js" + ).catch((error: unknown) => { + kmsCreateKmsIssuerPolicy$module = undefined; + throw error; + })).then((module) => module.kmsCreateKmsIssuerPolicy(...args).$inspect()), + )) as typeof import("../funcs/kmsCreateKmsIssuerPolicy.js").kmsCreateKmsIssuerPolicy; + +let kmsUpdateKmsIssuerPolicy$module: + | Promise + | undefined; +const kmsUpdateKmsIssuerPolicy = + (( + ...args: Parameters< + typeof import("../funcs/kmsUpdateKmsIssuerPolicy.js").kmsUpdateKmsIssuerPolicy + > + ) => + new APIPromise( + (kmsUpdateKmsIssuerPolicy$module ??= import( + "../funcs/kmsUpdateKmsIssuerPolicy.js" + ).catch((error: unknown) => { + kmsUpdateKmsIssuerPolicy$module = undefined; + throw error; + })).then((module) => module.kmsUpdateKmsIssuerPolicy(...args).$inspect()), + )) as typeof import("../funcs/kmsUpdateKmsIssuerPolicy.js").kmsUpdateKmsIssuerPolicy; + +let kmsDeleteKmsIssuerPolicy$module: + | Promise + | undefined; +const kmsDeleteKmsIssuerPolicy = + (( + ...args: Parameters< + typeof import("../funcs/kmsDeleteKmsIssuerPolicy.js").kmsDeleteKmsIssuerPolicy + > + ) => + new APIPromise( + (kmsDeleteKmsIssuerPolicy$module ??= import( + "../funcs/kmsDeleteKmsIssuerPolicy.js" + ).catch((error: unknown) => { + kmsDeleteKmsIssuerPolicy$module = undefined; + throw error; + })).then((module) => module.kmsDeleteKmsIssuerPolicy(...args).$inspect()), + )) as typeof import("../funcs/kmsDeleteKmsIssuerPolicy.js").kmsDeleteKmsIssuerPolicy; + +export class Kms extends ClientSDK { + /** + * Sign a message + * + * @remarks + * Sign a raw message with a KMS issuer's active signing key. Authenticate the request with a Vercel OIDC token in the `Authorization: Bearer` header; the issuer's policies decide which workloads are allowed to sign. The response `signature` is standard-base64 of the raw signature over the decoded message bytes. `keyId`, `algorithm`, and `fingerprint` identify the signing key in the issuer's JWKS. + */ + async signKmsMessage( + request: SignKmsMessageRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsSignKmsMessage( + this, + request, + options, + )); + } + + /** + * Sign a token + * + * @remarks + * Sign a JWT with a KMS issuer's active signing key. Authenticate the request with a Vercel OIDC token in the `Authorization: Bearer` header; the issuer's policies decide which workloads are allowed to sign. `keyId`, `algorithm`, and `fingerprint` identify the signing key in the issuer's JWKS. + */ + async signKmsToken( + request: SignKmsTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsSignKmsToken( + this, + request, + options, + )); + } + + /** + * List issuers + * + * @remarks + * Retrieve the paginated KMS issuers that belong to the authenticated team or organization (`orgId`). + */ + async listKmsIssuers( + request: ListKmsIssuersRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsListKmsIssuers( + this, + request, + options, + )); + } + + /** + * Create an issuer + * + * @remarks + * Create a new KMS issuer for the authenticated team, or for the team or organization identified by a Connect policy token. An issuer owns the asymmetric signing keys used to sign tokens and messages. + */ + async createKmsIssuer( + request: CreateKmsIssuerRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsCreateKmsIssuer( + this, + request, + options, + )); + } + + /** + * Create a signing key + * + * @remarks + * Create a new signing key for a KMS issuer. Depending on the activation mode, the key is activated automatically once its public key has propagated, or manually via the activate endpoint. + */ + async createKmsSigningKey( + request: CreateKmsSigningKeyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsCreateKmsSigningKey( + this, + request, + options, + )); + } + + /** + * Activate a signing key + * + * @remarks + * Activate a pending signing key so the issuer starts signing with it. + */ + async activateKmsSigningKey( + request: ActivateKmsSigningKeyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsActivateKmsSigningKey( + this, + request, + options, + )); + } + + /** + * Revoke a signing key + * + * @remarks + * Immediately revoke a signing key that is already scheduled for revocation. + */ + async revokeKmsSigningKey( + request: RevokeKmsSigningKeyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsRevokeKmsSigningKey( + this, + request, + options, + )); + } + + /** + * Get an issuer + * + * @remarks + * Retrieve a single KMS issuer by its ID. Accepts a team or organization bearer token, or an OIDC token authorized by one of the issuer's policies (e.g. a connex-grant token). The OIDC path returns the issuer without policies, since a policy token only proves signing access, not management access. + */ + async getKmsIssuer( + request: GetKmsIssuerRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsGetKmsIssuer( + this, + request, + options, + )); + } + + /** + * Update an issuer + * + * @remarks + * Update a KMS issuer's name or claims schema. + */ + async updateKmsIssuer( + request: UpdateKmsIssuerRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsUpdateKmsIssuer( + this, + request, + options, + )); + } + + /** + * Delete an issuer + * + * @remarks + * Delete a KMS issuer and its signing keys. + */ + async deleteKmsIssuer( + request: DeleteKmsIssuerRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsDeleteKmsIssuer( + this, + request, + options, + )); + } + + /** + * Create an issuer policy + * + * @remarks + * Attach a policy to a KMS issuer that grants a project's deployments permission to sign with it. + */ + async createKmsIssuerPolicy( + request: CreateKmsIssuerPolicyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsCreateKmsIssuerPolicy( + this, + request, + options, + )); + } + + /** + * Update an issuer policy + * + * @remarks + * Update an existing KMS issuer policy's environments or token claims. + */ + async updateKmsIssuerPolicy( + request: UpdateKmsIssuerPolicyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsUpdateKmsIssuerPolicy( + this, + request, + options, + )); + } + + /** + * Delete an issuer policy + * + * @remarks + * Remove a policy from a KMS issuer. + */ + async deleteKmsIssuerPolicy( + request: DeleteKmsIssuerPolicyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(kmsDeleteKmsIssuerPolicy( + this, + request, + options, + )); + } +} diff --git a/src/sdk/logdrains.lazy.ts b/src/sdk/logdrains.lazy.ts new file mode 100644 index 0000000000..6f7e2785fd --- /dev/null +++ b/src/sdk/logdrains.lazy.ts @@ -0,0 +1,286 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateConfigurableLogDrainRequest, + CreateConfigurableLogDrainResponseBody, +} from "../models/createconfigurablelogdrainop.js"; +import { + CreateLogDrainRequest, + CreateLogDrainResponseBody, +} from "../models/createlogdrainop.js"; +import { DeleteConfigurableLogDrainRequest } from "../models/deleteconfigurablelogdrainop.js"; +import { DeleteIntegrationLogDrainRequest } from "../models/deleteintegrationlogdrainop.js"; +import { + GetAllLogDrainsRequest, + GetAllLogDrainsResponseBody, +} from "../models/getalllogdrainsop.js"; +import { + GetConfigurableLogDrainRequest, + GetConfigurableLogDrainResponseBody, +} from "../models/getconfigurablelogdrainop.js"; +import { + GetIntegrationLogDrainsRequest, + GetIntegrationLogDrainsResponseBody, +} from "../models/getintegrationlogdrainsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let logDrainsGetConfigurableLogDrain$module: + | Promise + | undefined; +const logDrainsGetConfigurableLogDrain = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsGetConfigurableLogDrain.js").logDrainsGetConfigurableLogDrain + > + ) => + new APIPromise( + (logDrainsGetConfigurableLogDrain$module ??= import( + "../funcs/logDrainsGetConfigurableLogDrain.js" + ).catch((error: unknown) => { + logDrainsGetConfigurableLogDrain$module = undefined; + throw error; + })).then((module) => + module.logDrainsGetConfigurableLogDrain(...args).$inspect() + ), + )) as typeof import("../funcs/logDrainsGetConfigurableLogDrain.js").logDrainsGetConfigurableLogDrain; + +let logDrainsDeleteConfigurableLogDrain$module: + | Promise + | undefined; +const logDrainsDeleteConfigurableLogDrain = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsDeleteConfigurableLogDrain.js").logDrainsDeleteConfigurableLogDrain + > + ) => + new APIPromise( + (logDrainsDeleteConfigurableLogDrain$module ??= import( + "../funcs/logDrainsDeleteConfigurableLogDrain.js" + ).catch((error: unknown) => { + logDrainsDeleteConfigurableLogDrain$module = undefined; + throw error; + })).then((module) => + module.logDrainsDeleteConfigurableLogDrain(...args).$inspect() + ), + )) as typeof import("../funcs/logDrainsDeleteConfigurableLogDrain.js").logDrainsDeleteConfigurableLogDrain; + +let logDrainsGetAllLogDrains$module: + | Promise + | undefined; +const logDrainsGetAllLogDrains = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsGetAllLogDrains.js").logDrainsGetAllLogDrains + > + ) => + new APIPromise( + (logDrainsGetAllLogDrains$module ??= import( + "../funcs/logDrainsGetAllLogDrains.js" + ).catch((error: unknown) => { + logDrainsGetAllLogDrains$module = undefined; + throw error; + })).then((module) => module.logDrainsGetAllLogDrains(...args).$inspect()), + )) as typeof import("../funcs/logDrainsGetAllLogDrains.js").logDrainsGetAllLogDrains; + +let logDrainsCreateConfigurableLogDrain$module: + | Promise + | undefined; +const logDrainsCreateConfigurableLogDrain = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsCreateConfigurableLogDrain.js").logDrainsCreateConfigurableLogDrain + > + ) => + new APIPromise( + (logDrainsCreateConfigurableLogDrain$module ??= import( + "../funcs/logDrainsCreateConfigurableLogDrain.js" + ).catch((error: unknown) => { + logDrainsCreateConfigurableLogDrain$module = undefined; + throw error; + })).then((module) => + module.logDrainsCreateConfigurableLogDrain(...args).$inspect() + ), + )) as typeof import("../funcs/logDrainsCreateConfigurableLogDrain.js").logDrainsCreateConfigurableLogDrain; + +let logDrainsGetIntegrationLogDrains$module: + | Promise + | undefined; +const logDrainsGetIntegrationLogDrains = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsGetIntegrationLogDrains.js").logDrainsGetIntegrationLogDrains + > + ) => + new APIPromise( + (logDrainsGetIntegrationLogDrains$module ??= import( + "../funcs/logDrainsGetIntegrationLogDrains.js" + ).catch((error: unknown) => { + logDrainsGetIntegrationLogDrains$module = undefined; + throw error; + })).then((module) => + module.logDrainsGetIntegrationLogDrains(...args).$inspect() + ), + )) as typeof import("../funcs/logDrainsGetIntegrationLogDrains.js").logDrainsGetIntegrationLogDrains; + +let logDrainsCreateLogDrain$module: + | Promise + | undefined; +const logDrainsCreateLogDrain = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsCreateLogDrain.js").logDrainsCreateLogDrain + > + ) => + new APIPromise( + (logDrainsCreateLogDrain$module ??= import( + "../funcs/logDrainsCreateLogDrain.js" + ).catch((error: unknown) => { + logDrainsCreateLogDrain$module = undefined; + throw error; + })).then((module) => module.logDrainsCreateLogDrain(...args).$inspect()), + )) as typeof import("../funcs/logDrainsCreateLogDrain.js").logDrainsCreateLogDrain; + +let logDrainsDeleteIntegrationLogDrain$module: + | Promise + | undefined; +const logDrainsDeleteIntegrationLogDrain = + (( + ...args: Parameters< + typeof import("../funcs/logDrainsDeleteIntegrationLogDrain.js").logDrainsDeleteIntegrationLogDrain + > + ) => + new APIPromise( + (logDrainsDeleteIntegrationLogDrain$module ??= import( + "../funcs/logDrainsDeleteIntegrationLogDrain.js" + ).catch((error: unknown) => { + logDrainsDeleteIntegrationLogDrain$module = undefined; + throw error; + })).then((module) => + module.logDrainsDeleteIntegrationLogDrain(...args).$inspect() + ), + )) as typeof import("../funcs/logDrainsDeleteIntegrationLogDrain.js").logDrainsDeleteIntegrationLogDrain; + +export class LogDrains extends ClientSDK { + /** + * Retrieves a Configurable Log Drain (deprecated) + * + * @remarks + * Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed. + */ + async getConfigurableLogDrain( + request: GetConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsGetConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Deletes a Configurable Log Drain (deprecated) + * + * @remarks + * Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted. + */ + async deleteConfigurableLogDrain( + request: DeleteConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsDeleteConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Retrieves a list of all the Log Drains (deprecated) + * + * @remarks + * Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed. + */ + async getAllLogDrains( + request: GetAllLogDrainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsGetAllLogDrains( + this, + request, + options, + )); + } + + /** + * Creates a Configurable Log Drain (deprecated) + * + * @remarks + * Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed) + */ + async createConfigurableLogDrain( + request: CreateConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsCreateConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Retrieves a list of Integration log drains (deprecated) + * + * @remarks + * Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration. + */ + async getIntegrationLogDrains( + request: GetIntegrationLogDrainsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(logDrainsGetIntegrationLogDrains( + this, + request, + options, + )); + } + + /** + * Creates a new Integration Log Drain (deprecated) + * + * @remarks + * Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error. + */ + async createLogDrain( + request: CreateLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsCreateLogDrain( + this, + request, + options, + )); + } + + /** + * Deletes the Integration log drain with the provided `id` (deprecated) + * + * @remarks + * Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it. + */ + async deleteIntegrationLogDrain( + request: DeleteIntegrationLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsDeleteIntegrationLogDrain( + this, + request, + options, + )); + } +} diff --git a/src/sdk/logs.lazy.ts b/src/sdk/logs.lazy.ts new file mode 100644 index 0000000000..810b516b19 --- /dev/null +++ b/src/sdk/logs.lazy.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + GetRuntimeLogsRequest, + GetRuntimeLogsResponseBody, +} from "../models/getruntimelogsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let logsGetRuntimeLogs$module: + | Promise + | undefined; +const logsGetRuntimeLogs = + (( + ...args: Parameters< + typeof import("../funcs/logsGetRuntimeLogs.js").logsGetRuntimeLogs + > + ) => + new APIPromise( + (logsGetRuntimeLogs$module ??= import("../funcs/logsGetRuntimeLogs.js") + .catch((error: unknown) => { + logsGetRuntimeLogs$module = undefined; + throw error; + })).then((module) => module.logsGetRuntimeLogs(...args).$inspect()), + )) as typeof import("../funcs/logsGetRuntimeLogs.js").logsGetRuntimeLogs; + +export class Logs extends ClientSDK { + /** + * Get logs for a deployment + * + * @remarks + * Returns a stream of logs for a given deployment. + */ + async getRuntimeLogs( + request: GetRuntimeLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logsGetRuntimeLogs( + this, + request, + options, + )); + } +} diff --git a/src/sdk/marketplace.lazy.ts b/src/sdk/marketplace.lazy.ts new file mode 100644 index 0000000000..388d985b09 --- /dev/null +++ b/src/sdk/marketplace.lazy.ts @@ -0,0 +1,1094 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { CreateEventRequest } from "../models/createeventop.js"; +import { + CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest, +} from "../models/createinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsop.js"; +import { + DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, +} from "../models/deleteinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.js"; +import { DeleteIntegrationResourceRequest } from "../models/deleteintegrationresourceop.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenResponseBody, +} from "../models/exchangessotokenop.js"; +import { FinalizeInstallationRequest } from "../models/finalizeinstallationop.js"; +import { + GetAccountInfoRequest, + GetAccountInfoResponseBody, +} from "../models/getaccountinfoop.js"; +import { + GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, +} from "../models/getinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.js"; +import { + GetIntegrationResourceRequest, + GetIntegrationResourceResponseBody, +} from "../models/getintegrationresourceop.js"; +import { + GetIntegrationResourcesRequest, + GetIntegrationResourcesResponseBody, +} from "../models/getintegrationresourcesop.js"; +import { + GetInvoiceRequest, + GetInvoiceResponseBody, +} from "../models/getinvoiceop.js"; +import { + GetMemberRequest, + GetMemberResponseBody, +} from "../models/getmemberop.js"; +import { + HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, +} from "../models/headinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.js"; +import { + ImportResourceRequest, + ImportResourceResponseBody, +} from "../models/importresourceop.js"; +import { + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody, +} from "../models/replaceinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationglobalconfigop.js"; +import { + RevokeInstallationCredentialRequest, + RevokeInstallationCredentialResponseBody, +} from "../models/revokeinstallationcredentialop.js"; +import { + RotateInstallationCredentialRequest, + RotateInstallationCredentialResponseBody, +} from "../models/rotateinstallationcredentialop.js"; +import { SubmitBillingDataRequest } from "../models/submitbillingdataop.js"; +import { + SubmitInvoiceRequest, + SubmitInvoiceResponseBody, +} from "../models/submitinvoiceop.js"; +import { SubmitPrepaymentBalancesRequest } from "../models/submitprepaymentbalancesop.js"; +import { UpdateInstallationRequest } from "../models/updateinstallationop.js"; +import { + UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, +} from "../models/updateinstallationsbyintegrationconfigurationidresourcesbyresourceidexperimentationitemsbyitemidop.js"; +import { UpdateInvoiceRequest } from "../models/updateinvoiceop.js"; +import { + UpdateResourceRequest, + UpdateResourceResponseBody, +} from "../models/updateresourceop.js"; +import { UpdateResourceSecretsByIdRequest } from "../models/updateresourcesecretsbyidop.js"; +import { UpdateResourceSecretsRequest } from "../models/updateresourcesecretsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let marketplaceUpdateInstallation$module: + | Promise + | undefined; +const marketplaceUpdateInstallation = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateInstallation.js").marketplaceUpdateInstallation + > + ) => + new APIPromise( + (marketplaceUpdateInstallation$module ??= import( + "../funcs/marketplaceUpdateInstallation.js" + ).catch((error: unknown) => { + marketplaceUpdateInstallation$module = undefined; + throw error; + })).then((module) => + module.marketplaceUpdateInstallation(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceUpdateInstallation.js").marketplaceUpdateInstallation; + +let marketplaceGetAccountInfo$module: + | Promise + | undefined; +const marketplaceGetAccountInfo = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetAccountInfo.js").marketplaceGetAccountInfo + > + ) => + new APIPromise( + (marketplaceGetAccountInfo$module ??= import( + "../funcs/marketplaceGetAccountInfo.js" + ).catch((error: unknown) => { + marketplaceGetAccountInfo$module = undefined; + throw error; + })).then((module) => + module.marketplaceGetAccountInfo(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceGetAccountInfo.js").marketplaceGetAccountInfo; + +let marketplaceGetMember$module: + | Promise + | undefined; +const marketplaceGetMember = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetMember.js").marketplaceGetMember + > + ) => + new APIPromise( + (marketplaceGetMember$module ??= import( + "../funcs/marketplaceGetMember.js" + ).catch((error: unknown) => { + marketplaceGetMember$module = undefined; + throw error; + })).then((module) => module.marketplaceGetMember(...args).$inspect()), + )) as typeof import("../funcs/marketplaceGetMember.js").marketplaceGetMember; + +let marketplaceRotateInstallationCredential$module: + | Promise< + typeof import("../funcs/marketplaceRotateInstallationCredential.js") + > + | undefined; +const marketplaceRotateInstallationCredential = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceRotateInstallationCredential.js").marketplaceRotateInstallationCredential + > + ) => + new APIPromise( + (marketplaceRotateInstallationCredential$module ??= import( + "../funcs/marketplaceRotateInstallationCredential.js" + ).catch((error: unknown) => { + marketplaceRotateInstallationCredential$module = undefined; + throw error; + })).then((module) => + module.marketplaceRotateInstallationCredential(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceRotateInstallationCredential.js").marketplaceRotateInstallationCredential; + +let marketplaceRevokeInstallationCredential$module: + | Promise< + typeof import("../funcs/marketplaceRevokeInstallationCredential.js") + > + | undefined; +const marketplaceRevokeInstallationCredential = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceRevokeInstallationCredential.js").marketplaceRevokeInstallationCredential + > + ) => + new APIPromise( + (marketplaceRevokeInstallationCredential$module ??= import( + "../funcs/marketplaceRevokeInstallationCredential.js" + ).catch((error: unknown) => { + marketplaceRevokeInstallationCredential$module = undefined; + throw error; + })).then((module) => + module.marketplaceRevokeInstallationCredential(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceRevokeInstallationCredential.js").marketplaceRevokeInstallationCredential; + +let marketplaceCreateEvent$module: + | Promise + | undefined; +const marketplaceCreateEvent = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceCreateEvent.js").marketplaceCreateEvent + > + ) => + new APIPromise( + (marketplaceCreateEvent$module ??= import( + "../funcs/marketplaceCreateEvent.js" + ).catch((error: unknown) => { + marketplaceCreateEvent$module = undefined; + throw error; + })).then((module) => module.marketplaceCreateEvent(...args).$inspect()), + )) as typeof import("../funcs/marketplaceCreateEvent.js").marketplaceCreateEvent; + +let marketplaceGetIntegrationResources$module: + | Promise + | undefined; +const marketplaceGetIntegrationResources = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetIntegrationResources.js").marketplaceGetIntegrationResources + > + ) => + new APIPromise( + (marketplaceGetIntegrationResources$module ??= import( + "../funcs/marketplaceGetIntegrationResources.js" + ).catch((error: unknown) => { + marketplaceGetIntegrationResources$module = undefined; + throw error; + })).then((module) => + module.marketplaceGetIntegrationResources(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceGetIntegrationResources.js").marketplaceGetIntegrationResources; + +let marketplaceGetIntegrationResource$module: + | Promise + | undefined; +const marketplaceGetIntegrationResource = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetIntegrationResource.js").marketplaceGetIntegrationResource + > + ) => + new APIPromise( + (marketplaceGetIntegrationResource$module ??= import( + "../funcs/marketplaceGetIntegrationResource.js" + ).catch((error: unknown) => { + marketplaceGetIntegrationResource$module = undefined; + throw error; + })).then((module) => + module.marketplaceGetIntegrationResource(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceGetIntegrationResource.js").marketplaceGetIntegrationResource; + +let marketplaceDeleteIntegrationResource$module: + | Promise + | undefined; +const marketplaceDeleteIntegrationResource = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceDeleteIntegrationResource.js").marketplaceDeleteIntegrationResource + > + ) => + new APIPromise( + (marketplaceDeleteIntegrationResource$module ??= import( + "../funcs/marketplaceDeleteIntegrationResource.js" + ).catch((error: unknown) => { + marketplaceDeleteIntegrationResource$module = undefined; + throw error; + })).then((module) => + module.marketplaceDeleteIntegrationResource(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceDeleteIntegrationResource.js").marketplaceDeleteIntegrationResource; + +let marketplaceImportResource$module: + | Promise + | undefined; +const marketplaceImportResource = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceImportResource.js").marketplaceImportResource + > + ) => + new APIPromise( + (marketplaceImportResource$module ??= import( + "../funcs/marketplaceImportResource.js" + ).catch((error: unknown) => { + marketplaceImportResource$module = undefined; + throw error; + })).then((module) => + module.marketplaceImportResource(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceImportResource.js").marketplaceImportResource; + +let marketplaceUpdateResource$module: + | Promise + | undefined; +const marketplaceUpdateResource = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateResource.js").marketplaceUpdateResource + > + ) => + new APIPromise( + (marketplaceUpdateResource$module ??= import( + "../funcs/marketplaceUpdateResource.js" + ).catch((error: unknown) => { + marketplaceUpdateResource$module = undefined; + throw error; + })).then((module) => + module.marketplaceUpdateResource(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceUpdateResource.js").marketplaceUpdateResource; + +let marketplaceSubmitBillingData$module: + | Promise + | undefined; +const marketplaceSubmitBillingData = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceSubmitBillingData.js").marketplaceSubmitBillingData + > + ) => + new APIPromise( + (marketplaceSubmitBillingData$module ??= import( + "../funcs/marketplaceSubmitBillingData.js" + ).catch((error: unknown) => { + marketplaceSubmitBillingData$module = undefined; + throw error; + })).then((module) => + module.marketplaceSubmitBillingData(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceSubmitBillingData.js").marketplaceSubmitBillingData; + +let marketplaceSubmitInvoice$module: + | Promise + | undefined; +const marketplaceSubmitInvoice = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceSubmitInvoice.js").marketplaceSubmitInvoice + > + ) => + new APIPromise( + (marketplaceSubmitInvoice$module ??= import( + "../funcs/marketplaceSubmitInvoice.js" + ).catch((error: unknown) => { + marketplaceSubmitInvoice$module = undefined; + throw error; + })).then((module) => module.marketplaceSubmitInvoice(...args).$inspect()), + )) as typeof import("../funcs/marketplaceSubmitInvoice.js").marketplaceSubmitInvoice; + +let marketplaceFinalizeInstallation$module: + | Promise + | undefined; +const marketplaceFinalizeInstallation = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceFinalizeInstallation.js").marketplaceFinalizeInstallation + > + ) => + new APIPromise( + (marketplaceFinalizeInstallation$module ??= import( + "../funcs/marketplaceFinalizeInstallation.js" + ).catch((error: unknown) => { + marketplaceFinalizeInstallation$module = undefined; + throw error; + })).then((module) => + module.marketplaceFinalizeInstallation(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceFinalizeInstallation.js").marketplaceFinalizeInstallation; + +let marketplaceGetInvoice$module: + | Promise + | undefined; +const marketplaceGetInvoice = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetInvoice.js").marketplaceGetInvoice + > + ) => + new APIPromise( + (marketplaceGetInvoice$module ??= import( + "../funcs/marketplaceGetInvoice.js" + ).catch((error: unknown) => { + marketplaceGetInvoice$module = undefined; + throw error; + })).then((module) => module.marketplaceGetInvoice(...args).$inspect()), + )) as typeof import("../funcs/marketplaceGetInvoice.js").marketplaceGetInvoice; + +let marketplaceUpdateInvoice$module: + | Promise + | undefined; +const marketplaceUpdateInvoice = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateInvoice.js").marketplaceUpdateInvoice + > + ) => + new APIPromise( + (marketplaceUpdateInvoice$module ??= import( + "../funcs/marketplaceUpdateInvoice.js" + ).catch((error: unknown) => { + marketplaceUpdateInvoice$module = undefined; + throw error; + })).then((module) => module.marketplaceUpdateInvoice(...args).$inspect()), + )) as typeof import("../funcs/marketplaceUpdateInvoice.js").marketplaceUpdateInvoice; + +let marketplaceSubmitPrepaymentBalances$module: + | Promise + | undefined; +const marketplaceSubmitPrepaymentBalances = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceSubmitPrepaymentBalances.js").marketplaceSubmitPrepaymentBalances + > + ) => + new APIPromise( + (marketplaceSubmitPrepaymentBalances$module ??= import( + "../funcs/marketplaceSubmitPrepaymentBalances.js" + ).catch((error: unknown) => { + marketplaceSubmitPrepaymentBalances$module = undefined; + throw error; + })).then((module) => + module.marketplaceSubmitPrepaymentBalances(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceSubmitPrepaymentBalances.js").marketplaceSubmitPrepaymentBalances; + +let marketplaceUpdateResourceSecrets$module: + | Promise + | undefined; +const marketplaceUpdateResourceSecrets = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateResourceSecrets.js").marketplaceUpdateResourceSecrets + > + ) => + new APIPromise( + (marketplaceUpdateResourceSecrets$module ??= import( + "../funcs/marketplaceUpdateResourceSecrets.js" + ).catch((error: unknown) => { + marketplaceUpdateResourceSecrets$module = undefined; + throw error; + })).then((module) => + module.marketplaceUpdateResourceSecrets(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceUpdateResourceSecrets.js").marketplaceUpdateResourceSecrets; + +let marketplaceUpdateResourceSecretsById$module: + | Promise + | undefined; +const marketplaceUpdateResourceSecretsById = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateResourceSecretsById.js").marketplaceUpdateResourceSecretsById + > + ) => + new APIPromise( + (marketplaceUpdateResourceSecretsById$module ??= import( + "../funcs/marketplaceUpdateResourceSecretsById.js" + ).catch((error: unknown) => { + marketplaceUpdateResourceSecretsById$module = undefined; + throw error; + })).then((module) => + module.marketplaceUpdateResourceSecretsById(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceUpdateResourceSecretsById.js").marketplaceUpdateResourceSecretsById; + +let marketplaceExchangeSsoToken$module: + | Promise + | undefined; +const marketplaceExchangeSsoToken = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceExchangeSsoToken.js").marketplaceExchangeSsoToken + > + ) => + new APIPromise( + (marketplaceExchangeSsoToken$module ??= import( + "../funcs/marketplaceExchangeSsoToken.js" + ).catch((error: unknown) => { + marketplaceExchangeSsoToken$module = undefined; + throw error; + })).then((module) => + module.marketplaceExchangeSsoToken(...args).$inspect() + ), + )) as typeof import("../funcs/marketplaceExchangeSsoToken.js").marketplaceExchangeSsoToken; + +let marketplaceCreateInstallationIntegrationConfiguration$module: + | Promise< + typeof import("../funcs/marketplaceCreateInstallationIntegrationConfiguration.js") + > + | undefined; +const marketplaceCreateInstallationIntegrationConfiguration = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceCreateInstallationIntegrationConfiguration.js").marketplaceCreateInstallationIntegrationConfiguration + > + ) => + new APIPromise( + (marketplaceCreateInstallationIntegrationConfiguration$module ??= import( + "../funcs/marketplaceCreateInstallationIntegrationConfiguration.js" + ).catch((error: unknown) => { + marketplaceCreateInstallationIntegrationConfiguration$module = + undefined; + throw error; + })).then((module) => + module.marketplaceCreateInstallationIntegrationConfiguration(...args) + .$inspect() + ), + )) as typeof import("../funcs/marketplaceCreateInstallationIntegrationConfiguration.js").marketplaceCreateInstallationIntegrationConfiguration; + +let marketplaceUpdateInstallationIntegrationConfiguration$module: + | Promise< + typeof import("../funcs/marketplaceUpdateInstallationIntegrationConfiguration.js") + > + | undefined; +const marketplaceUpdateInstallationIntegrationConfiguration = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceUpdateInstallationIntegrationConfiguration.js").marketplaceUpdateInstallationIntegrationConfiguration + > + ) => + new APIPromise( + (marketplaceUpdateInstallationIntegrationConfiguration$module ??= import( + "../funcs/marketplaceUpdateInstallationIntegrationConfiguration.js" + ).catch((error: unknown) => { + marketplaceUpdateInstallationIntegrationConfiguration$module = + undefined; + throw error; + })).then((module) => + module.marketplaceUpdateInstallationIntegrationConfiguration(...args) + .$inspect() + ), + )) as typeof import("../funcs/marketplaceUpdateInstallationIntegrationConfiguration.js").marketplaceUpdateInstallationIntegrationConfiguration; + +let marketplaceDeleteInstallationIntegrationConfiguration$module: + | Promise< + typeof import("../funcs/marketplaceDeleteInstallationIntegrationConfiguration.js") + > + | undefined; +const marketplaceDeleteInstallationIntegrationConfiguration = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceDeleteInstallationIntegrationConfiguration.js").marketplaceDeleteInstallationIntegrationConfiguration + > + ) => + new APIPromise( + (marketplaceDeleteInstallationIntegrationConfiguration$module ??= import( + "../funcs/marketplaceDeleteInstallationIntegrationConfiguration.js" + ).catch((error: unknown) => { + marketplaceDeleteInstallationIntegrationConfiguration$module = + undefined; + throw error; + })).then((module) => + module.marketplaceDeleteInstallationIntegrationConfiguration(...args) + .$inspect() + ), + )) as typeof import("../funcs/marketplaceDeleteInstallationIntegrationConfiguration.js").marketplaceDeleteInstallationIntegrationConfiguration; + +let marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module: + | Promise< + typeof import("../funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js") + > + | undefined; +const marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig + > + ) => + new APIPromise( + (marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module ??= + import( + "../funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js" + ).catch((error: unknown) => { + marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module = + undefined; + throw error; + })).then((module) => + module + .marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig; + +let marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module: + | Promise< + typeof import("../funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js") + > + | undefined; +const marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig + > + ) => + new APIPromise( + (marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module ??= + import( + "../funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js" + ).catch((error: unknown) => { + marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module = + undefined; + throw error; + })).then((module) => + module + .marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig; + +let marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module: + | Promise< + typeof import("../funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js") + > + | undefined; +const marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig = + (( + ...args: Parameters< + typeof import("../funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig + > + ) => + new APIPromise( + (marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module ??= + import( + "../funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js" + ).catch((error: unknown) => { + marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig$module = + undefined; + throw error; + })).then((module) => + module + .marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig.js").marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig; + +export class Marketplace extends ClientSDK { + /** + * Update Installation + * + * @remarks + * This endpoint updates an integration installation. + */ + async updateInstallation( + request: UpdateInstallationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateInstallation( + this, + request, + options, + )); + } + + /** + * Get Account Information + * + * @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, + )); + } + + /** + * Rotate Installation Credential + * + * @remarks + * Issues a replacement access token for an installation, so a partner can rotate a credential it believes is compromised without the customer having to reinstall. Authenticated by the credential being replaced plus the integration's client secret: a leaked access token on its own cannot rotate itself, which would otherwise let an attacker take over the installation and lock the partner out. The previous credential intentionally stays valid so in-flight requests keep working. Retiring it is a separate, explicit operation — a partner is never left mid-rotation without a working credential. + */ + async rotateInstallationCredential( + request: RotateInstallationCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceRotateInstallationCredential( + this, + request, + options, + )); + } + + /** + * Revoke Installation Credential + * + * @remarks + * Retires a superseded installation credential, so a partner can complete a rotation it started with `POST /credentials/rotate` — the leaked credential stops working without the customer having to reinstall. Authenticated by a live installation credential plus the integration's client secret. The credential to retire is named in the body rather than being the one that authenticates, so the ordinary flow is: rotate, store the replacement, then authenticate with the replacement and revoke the old one. Refuses to retire an installation's last live credential. Rotation exists so remediation is not customer-visible; revoking the only credential would undo that and leave the install needing a reinstall. + */ + async revokeInstallationCredential( + request: RevokeInstallationCredentialRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceRevokeInstallationCredential( + 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.
`installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.

Resource update 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.
- A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.
+ */ + async createEvent( + request: CreateEventRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceCreateEvent( + this, + request, + options, + )); + } + + /** + * Get Integration Resources + * + * @remarks + * Get all resources for a given installation ID. + */ + async getIntegrationResources( + request: GetIntegrationResourcesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceGetIntegrationResources( + this, + request, + options, + )); + } + + /** + * Get Integration Resource + * + * @remarks + * Get a resource by its partner ID. + */ + async getIntegrationResource( + request: GetIntegrationResourceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceGetIntegrationResource( + this, + request, + options, + )); + } + + /** + * Delete Integration Resource + * + * @remarks + * Delete a resource owned by the selected installation ID. + */ + async deleteIntegrationResource( + request: DeleteIntegrationResourceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceDeleteIntegrationResource( + this, + request, + options, + )); + } + + /** + * Import Resource + * + * @remarks + * This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel. When importing as part of the user-initiated import flow, call this endpoint before redirecting the user back to Vercel. See the [Import existing resources flow](https://vercel.com/docs/integrations/create-integration/marketplace-flows#import-existing-resources-flow) for the full contract. + */ + async importResource( + request: ImportResourceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceImportResource( + this, + request, + options, + )); + } + + /** + * Update Resource + * + * @remarks + * This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates. + */ + async updateResource( + request: UpdateResourceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateResource( + this, + request, + options, + )); + } + + /** + * Submit Billing Data + * + * @remarks + * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. + */ + 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.

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

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
5. If provided, `externalId` must be unique for the installation.
+ */ + async submitInvoice( + request: SubmitInvoiceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceSubmitInvoice( + this, + request, + options, + )); + } + + /** + * Finalize Installation + * + * @remarks + * This endpoint allows the partner to mark an installation as finalized. This means you will not send any more invoices for the installation. Use this after a customer has requested uninstall and you have sent any remaining invoices. This will allow the uninstall process to proceed immediately after all invoices have been paid.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. + */ + async finalizeInstallation( + request: FinalizeInstallationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceFinalizeInstallation( + this, + request, + options, + )); + } + + /** + * Get Invoice + * + * @remarks + * Get Invoice details and status for a given invoice ID.

See [Billing Events with Webhooks documentation](https://vercel.com/docs/integrations/create-integration/marketplace-api#working-with-billing-events-through-webhooks) 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, + )); + } + + /** + * Submit Prepayment Balances + * + * @remarks + * Sends the prepayment balances. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. + */ + async submitPrepaymentBalances( + request: SubmitPrepaymentBalancesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceSubmitPrepaymentBalances( + this, + request, + options, + )); + } + + /** + * Deprecated: true. Update Resource Secrets (Deprecated) + * + * @remarks + * This endpoint is deprecated and replaced with the endpoint [Update Resource Secrets](#update-resource-secrets).
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.
+ * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async updateResourceSecrets( + request: UpdateResourceSecretsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateResourceSecrets( + 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 updateResourceSecretsById( + request: UpdateResourceSecretsByIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateResourceSecretsById( + 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. Providers should not persist the returned `id_token` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details. + */ + async exchangeSsoToken( + request: ExchangeSsoTokenRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceExchangeSsoToken( + this, + request, + options, + )); + } + + /** + * Create one or multiple experimentation items + * + * @remarks + * Create one or multiple experimentation items + */ + async createInstallationIntegrationConfiguration( + request: + CreateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceCreateInstallationIntegrationConfiguration( + this, + request, + options, + )); + } + + /** + * Patch an existing experimentation item + * + * @remarks + * Patch an existing experimentation item + */ + async updateInstallationIntegrationConfiguration( + request: + UpdateInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateInstallationIntegrationConfiguration( + this, + request, + options, + )); + } + + /** + * Delete an existing experimentation item + * + * @remarks + * Delete an existing experimentation item + */ + async deleteInstallationIntegrationConfiguration( + request: + DeleteInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationItemsByItemIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceDeleteInstallationIntegrationConfiguration( + this, + request, + options, + )); + } + + /** + * Get the data of a user-provided Global Config + * + * @remarks + * When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config. + */ + async headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + request: + HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + options?: RequestOptions, + ): Promise< + | HeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody + | undefined + > { + return unwrapAsync( + marketplaceHeadInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + this, + request, + options, + ), + ); + } + + /** + * Get the data of a user-provided Global Config + * + * @remarks + * When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config. + */ + async getInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + request: + GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + options?: RequestOptions, + ): Promise< + | GetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody + | undefined + > { + return unwrapAsync( + marketplaceGetInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + this, + request, + options, + ), + ); + } + + /** + * Push data into a user-provided Global Config + * + * @remarks + * When the user enabled Global Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Global Config. + */ + async replaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + request: + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigRequest, + options?: RequestOptions, + ): Promise< + ReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfigResponseBody + > { + return unwrapAsync( + marketplaceReplaceInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig( + this, + request, + options, + ), + ); + } +} diff --git a/src/sdk/microfrontends.lazy.ts b/src/sdk/microfrontends.lazy.ts new file mode 100644 index 0000000000..c0cf96932b --- /dev/null +++ b/src/sdk/microfrontends.lazy.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateMicrofrontendsGroupWithApplicationsRequest, + CreateMicrofrontendsGroupWithApplicationsResponseBody, +} from "../models/createmicrofrontendsgroupwithapplicationsop.js"; +import { + GetMicrofrontendsConfigForProjectRequest, + GetMicrofrontendsConfigForProjectResponseBody, +} from "../models/getmicrofrontendsconfigforprojectop.js"; +import { + GetMicrofrontendsConfigRequest, + GetMicrofrontendsConfigResponseBody, +} from "../models/getmicrofrontendsconfigop.js"; +import { + GetMicrofrontendsGroupsRequest, + GetMicrofrontendsGroupsResponseBody, +} from "../models/getmicrofrontendsgroupsop.js"; +import { GetMicrofrontendsInGroupRequest } from "../models/getmicrofrontendsingroupchecksconclusion.js"; +import { GetMicrofrontendsInGroupResponseBody } from "../models/getmicrofrontendsingroupresponsebody.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let microfrontendsGetMicrofrontendsGroups$module: + | Promise + | undefined; +const microfrontendsGetMicrofrontendsGroups = + (( + ...args: Parameters< + typeof import("../funcs/microfrontendsGetMicrofrontendsGroups.js").microfrontendsGetMicrofrontendsGroups + > + ) => + new APIPromise( + (microfrontendsGetMicrofrontendsGroups$module ??= import( + "../funcs/microfrontendsGetMicrofrontendsGroups.js" + ).catch((error: unknown) => { + microfrontendsGetMicrofrontendsGroups$module = undefined; + throw error; + })).then((module) => + module.microfrontendsGetMicrofrontendsGroups(...args).$inspect() + ), + )) as typeof import("../funcs/microfrontendsGetMicrofrontendsGroups.js").microfrontendsGetMicrofrontendsGroups; + +let microfrontendsGetMicrofrontendsInGroup$module: + | Promise + | undefined; +const microfrontendsGetMicrofrontendsInGroup = + (( + ...args: Parameters< + typeof import("../funcs/microfrontendsGetMicrofrontendsInGroup.js").microfrontendsGetMicrofrontendsInGroup + > + ) => + new APIPromise( + (microfrontendsGetMicrofrontendsInGroup$module ??= import( + "../funcs/microfrontendsGetMicrofrontendsInGroup.js" + ).catch((error: unknown) => { + microfrontendsGetMicrofrontendsInGroup$module = undefined; + throw error; + })).then((module) => + module.microfrontendsGetMicrofrontendsInGroup(...args).$inspect() + ), + )) as typeof import("../funcs/microfrontendsGetMicrofrontendsInGroup.js").microfrontendsGetMicrofrontendsInGroup; + +let microfrontendsGetMicrofrontendsConfig$module: + | Promise + | undefined; +const microfrontendsGetMicrofrontendsConfig = + (( + ...args: Parameters< + typeof import("../funcs/microfrontendsGetMicrofrontendsConfig.js").microfrontendsGetMicrofrontendsConfig + > + ) => + new APIPromise( + (microfrontendsGetMicrofrontendsConfig$module ??= import( + "../funcs/microfrontendsGetMicrofrontendsConfig.js" + ).catch((error: unknown) => { + microfrontendsGetMicrofrontendsConfig$module = undefined; + throw error; + })).then((module) => + module.microfrontendsGetMicrofrontendsConfig(...args).$inspect() + ), + )) as typeof import("../funcs/microfrontendsGetMicrofrontendsConfig.js").microfrontendsGetMicrofrontendsConfig; + +let microfrontendsGetMicrofrontendsConfigForProject$module: + | Promise< + typeof import("../funcs/microfrontendsGetMicrofrontendsConfigForProject.js") + > + | undefined; +const microfrontendsGetMicrofrontendsConfigForProject = + (( + ...args: Parameters< + typeof import("../funcs/microfrontendsGetMicrofrontendsConfigForProject.js").microfrontendsGetMicrofrontendsConfigForProject + > + ) => + new APIPromise( + (microfrontendsGetMicrofrontendsConfigForProject$module ??= import( + "../funcs/microfrontendsGetMicrofrontendsConfigForProject.js" + ).catch((error: unknown) => { + microfrontendsGetMicrofrontendsConfigForProject$module = undefined; + throw error; + })).then((module) => + module.microfrontendsGetMicrofrontendsConfigForProject(...args) + .$inspect() + ), + )) as typeof import("../funcs/microfrontendsGetMicrofrontendsConfigForProject.js").microfrontendsGetMicrofrontendsConfigForProject; + +let microfrontendsCreateMicrofrontendsGroupWithApplications$module: + | Promise< + typeof import("../funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.js") + > + | undefined; +const microfrontendsCreateMicrofrontendsGroupWithApplications = + (( + ...args: Parameters< + typeof import("../funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.js").microfrontendsCreateMicrofrontendsGroupWithApplications + > + ) => + new APIPromise( + (microfrontendsCreateMicrofrontendsGroupWithApplications$module ??= + import( + "../funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.js" + ).catch((error: unknown) => { + microfrontendsCreateMicrofrontendsGroupWithApplications$module = + undefined; + throw error; + })).then((module) => + module.microfrontendsCreateMicrofrontendsGroupWithApplications( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.js").microfrontendsCreateMicrofrontendsGroupWithApplications; + +export class Microfrontends extends ClientSDK { + /** + * List microfrontends groups + * + * @remarks + * Get the microfrontends group IDs for a team. + */ + async getMicrofrontendsGroups( + request: GetMicrofrontendsGroupsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(microfrontendsGetMicrofrontendsGroups( + this, + request, + options, + )); + } + + /** + * List projects in a microfrontends group + * + * @remarks + * Get the microfrontends for a given group ID. + */ + async getMicrofrontendsInGroup( + request: GetMicrofrontendsInGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(microfrontendsGetMicrofrontendsInGroup( + this, + request, + options, + )); + } + + /** + * Get microfrontends config for a deployment + * + * @remarks + * Get the microfrontends config for a deployment. + */ + async getMicrofrontendsConfig( + request: GetMicrofrontendsConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(microfrontendsGetMicrofrontendsConfig( + this, + request, + options, + )); + } + + /** + * Get microfrontends config for a project + * + * @remarks + * Get the microfrontends config for a project by ID or name. + */ + async getMicrofrontendsConfigForProject( + request: GetMicrofrontendsConfigForProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(microfrontendsGetMicrofrontendsConfigForProject( + this, + request, + options, + )); + } + + /** + * Create a microfrontends group with applications + * + * @remarks + * Creates a microfrontends group and attaches multiple projects in a single request. + */ + async createMicrofrontendsGroupWithApplications( + request: CreateMicrofrontendsGroupWithApplicationsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(microfrontendsCreateMicrofrontendsGroupWithApplications( + this, + request, + options, + )); + } +} diff --git a/src/sdk/networking.lazy.ts b/src/sdk/networking.lazy.ts new file mode 100644 index 0000000000..9858c1d60d --- /dev/null +++ b/src/sdk/networking.lazy.ts @@ -0,0 +1,422 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { CreateNetworkRequest } from "../models/createnetworkop.js"; +import { CreatePrivateLinkEndpointRequest } from "../models/createprivatelinkendpointop.js"; +import { DeleteNetworkRequest } from "../models/deletenetworkop.js"; +import { DeletePrivateLinkEndpointRequest } from "../models/deleteprivatelinkendpointop.js"; +import { ListNetworksRequest } from "../models/listnetworksop.js"; +import { ListPrivateLinkEndpointsRequest } from "../models/listprivatelinkendpointsop.js"; +import { Network } from "../models/network.js"; +import { PrivateLinkEndpoint } from "../models/privatelinkendpoint.js"; +import { ReadNetworkRequest } from "../models/readnetworkop.js"; +import { ReadPrivateLinkEndpointRequest } from "../models/readprivatelinkendpointop.js"; +import { UpdateNetworkRequest } from "../models/updatenetworkop.js"; +import { UpdatePrivateLinkEndpointRequest } from "../models/updateprivatelinkendpointop.js"; +import { + UpdateStaticIpsRequest, + UpdateStaticIpsResponseBody, +} from "../models/updatestaticipsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let networkingListNetworks$module: + | Promise + | undefined; +const networkingListNetworks = + (( + ...args: Parameters< + typeof import("../funcs/networkingListNetworks.js").networkingListNetworks + > + ) => + new APIPromise( + (networkingListNetworks$module ??= import( + "../funcs/networkingListNetworks.js" + ).catch((error: unknown) => { + networkingListNetworks$module = undefined; + throw error; + })).then((module) => module.networkingListNetworks(...args).$inspect()), + )) as typeof import("../funcs/networkingListNetworks.js").networkingListNetworks; + +let networkingCreateNetwork$module: + | Promise + | undefined; +const networkingCreateNetwork = + (( + ...args: Parameters< + typeof import("../funcs/networkingCreateNetwork.js").networkingCreateNetwork + > + ) => + new APIPromise( + (networkingCreateNetwork$module ??= import( + "../funcs/networkingCreateNetwork.js" + ).catch((error: unknown) => { + networkingCreateNetwork$module = undefined; + throw error; + })).then((module) => module.networkingCreateNetwork(...args).$inspect()), + )) as typeof import("../funcs/networkingCreateNetwork.js").networkingCreateNetwork; + +let networkingDeleteNetwork$module: + | Promise + | undefined; +const networkingDeleteNetwork = + (( + ...args: Parameters< + typeof import("../funcs/networkingDeleteNetwork.js").networkingDeleteNetwork + > + ) => + new APIPromise( + (networkingDeleteNetwork$module ??= import( + "../funcs/networkingDeleteNetwork.js" + ).catch((error: unknown) => { + networkingDeleteNetwork$module = undefined; + throw error; + })).then((module) => module.networkingDeleteNetwork(...args).$inspect()), + )) as typeof import("../funcs/networkingDeleteNetwork.js").networkingDeleteNetwork; + +let networkingUpdateNetwork$module: + | Promise + | undefined; +const networkingUpdateNetwork = + (( + ...args: Parameters< + typeof import("../funcs/networkingUpdateNetwork.js").networkingUpdateNetwork + > + ) => + new APIPromise( + (networkingUpdateNetwork$module ??= import( + "../funcs/networkingUpdateNetwork.js" + ).catch((error: unknown) => { + networkingUpdateNetwork$module = undefined; + throw error; + })).then((module) => module.networkingUpdateNetwork(...args).$inspect()), + )) as typeof import("../funcs/networkingUpdateNetwork.js").networkingUpdateNetwork; + +let networkingReadNetwork$module: + | Promise + | undefined; +const networkingReadNetwork = + (( + ...args: Parameters< + typeof import("../funcs/networkingReadNetwork.js").networkingReadNetwork + > + ) => + new APIPromise( + (networkingReadNetwork$module ??= import( + "../funcs/networkingReadNetwork.js" + ).catch((error: unknown) => { + networkingReadNetwork$module = undefined; + throw error; + })).then((module) => module.networkingReadNetwork(...args).$inspect()), + )) as typeof import("../funcs/networkingReadNetwork.js").networkingReadNetwork; + +let networkingCreatePrivateLinkEndpoint$module: + | Promise + | undefined; +const networkingCreatePrivateLinkEndpoint = + (( + ...args: Parameters< + typeof import("../funcs/networkingCreatePrivateLinkEndpoint.js").networkingCreatePrivateLinkEndpoint + > + ) => + new APIPromise( + (networkingCreatePrivateLinkEndpoint$module ??= import( + "../funcs/networkingCreatePrivateLinkEndpoint.js" + ).catch((error: unknown) => { + networkingCreatePrivateLinkEndpoint$module = undefined; + throw error; + })).then((module) => + module.networkingCreatePrivateLinkEndpoint(...args).$inspect() + ), + )) as typeof import("../funcs/networkingCreatePrivateLinkEndpoint.js").networkingCreatePrivateLinkEndpoint; + +let networkingListPrivateLinkEndpoints$module: + | Promise + | undefined; +const networkingListPrivateLinkEndpoints = + (( + ...args: Parameters< + typeof import("../funcs/networkingListPrivateLinkEndpoints.js").networkingListPrivateLinkEndpoints + > + ) => + new APIPromise( + (networkingListPrivateLinkEndpoints$module ??= import( + "../funcs/networkingListPrivateLinkEndpoints.js" + ).catch((error: unknown) => { + networkingListPrivateLinkEndpoints$module = undefined; + throw error; + })).then((module) => + module.networkingListPrivateLinkEndpoints(...args).$inspect() + ), + )) as typeof import("../funcs/networkingListPrivateLinkEndpoints.js").networkingListPrivateLinkEndpoints; + +let networkingReadPrivateLinkEndpoint$module: + | Promise + | undefined; +const networkingReadPrivateLinkEndpoint = + (( + ...args: Parameters< + typeof import("../funcs/networkingReadPrivateLinkEndpoint.js").networkingReadPrivateLinkEndpoint + > + ) => + new APIPromise( + (networkingReadPrivateLinkEndpoint$module ??= import( + "../funcs/networkingReadPrivateLinkEndpoint.js" + ).catch((error: unknown) => { + networkingReadPrivateLinkEndpoint$module = undefined; + throw error; + })).then((module) => + module.networkingReadPrivateLinkEndpoint(...args).$inspect() + ), + )) as typeof import("../funcs/networkingReadPrivateLinkEndpoint.js").networkingReadPrivateLinkEndpoint; + +let networkingDeletePrivateLinkEndpoint$module: + | Promise + | undefined; +const networkingDeletePrivateLinkEndpoint = + (( + ...args: Parameters< + typeof import("../funcs/networkingDeletePrivateLinkEndpoint.js").networkingDeletePrivateLinkEndpoint + > + ) => + new APIPromise( + (networkingDeletePrivateLinkEndpoint$module ??= import( + "../funcs/networkingDeletePrivateLinkEndpoint.js" + ).catch((error: unknown) => { + networkingDeletePrivateLinkEndpoint$module = undefined; + throw error; + })).then((module) => + module.networkingDeletePrivateLinkEndpoint(...args).$inspect() + ), + )) as typeof import("../funcs/networkingDeletePrivateLinkEndpoint.js").networkingDeletePrivateLinkEndpoint; + +let networkingUpdatePrivateLinkEndpoint$module: + | Promise + | undefined; +const networkingUpdatePrivateLinkEndpoint = + (( + ...args: Parameters< + typeof import("../funcs/networkingUpdatePrivateLinkEndpoint.js").networkingUpdatePrivateLinkEndpoint + > + ) => + new APIPromise( + (networkingUpdatePrivateLinkEndpoint$module ??= import( + "../funcs/networkingUpdatePrivateLinkEndpoint.js" + ).catch((error: unknown) => { + networkingUpdatePrivateLinkEndpoint$module = undefined; + throw error; + })).then((module) => + module.networkingUpdatePrivateLinkEndpoint(...args).$inspect() + ), + )) as typeof import("../funcs/networkingUpdatePrivateLinkEndpoint.js").networkingUpdatePrivateLinkEndpoint; + +let networkingUpdateStaticIps$module: + | Promise + | undefined; +const networkingUpdateStaticIps = + (( + ...args: Parameters< + typeof import("../funcs/networkingUpdateStaticIps.js").networkingUpdateStaticIps + > + ) => + new APIPromise( + (networkingUpdateStaticIps$module ??= import( + "../funcs/networkingUpdateStaticIps.js" + ).catch((error: unknown) => { + networkingUpdateStaticIps$module = undefined; + throw error; + })).then((module) => + module.networkingUpdateStaticIps(...args).$inspect() + ), + )) as typeof import("../funcs/networkingUpdateStaticIps.js").networkingUpdateStaticIps; + +export class Networking extends ClientSDK { + /** + * List Secure Compute networks + * + * @remarks + * Allows to list Secure Compute networks. + */ + async listNetworks( + request: ListNetworksRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(networkingListNetworks( + this, + request, + options, + )); + } + + /** + * Create a Secure Compute network + * + * @remarks + * Allows to create a Secure Compute network. + */ + async createNetwork( + request: CreateNetworkRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingCreateNetwork( + this, + request, + options, + )); + } + + /** + * Delete a Secure Compute network + * + * @remarks + * Allows to delete a Secure Compute network. + */ + async deleteNetwork( + request: DeleteNetworkRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingDeleteNetwork( + this, + request, + options, + )); + } + + /** + * Update a Secure Compute network + * + * @remarks + * Allows to update a Secure Compute network. + */ + async updateNetwork( + request: UpdateNetworkRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingUpdateNetwork( + this, + request, + options, + )); + } + + /** + * Read a Secure Compute network + * + * @remarks + * Allows to read a Secure Compute network. + */ + async readNetwork( + request: ReadNetworkRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingReadNetwork( + this, + request, + options, + )); + } + + /** + * Create a PrivateLink endpoint + * + * @remarks + * Creates a PrivateLink endpoint for a project. Changes to endpoints of the same project are serialized. If another change holds them for too long, the request fails with `503 service_unavailable` and can be retried. If the change may have completed but the outcome is unknown, it fails with `409 uncertain_outcome`; read the endpoint before retrying. + */ + async createPrivateLinkEndpoint( + request: CreatePrivateLinkEndpointRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingCreatePrivateLinkEndpoint( + this, + request, + options, + )); + } + + /** + * List PrivateLink endpoints + * + * @remarks + * Lists all PrivateLink endpoints for a project. + */ + async listPrivateLinkEndpoints( + request: ListPrivateLinkEndpointsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(networkingListPrivateLinkEndpoints( + this, + request, + options, + )); + } + + /** + * Read a PrivateLink endpoint + * + * @remarks + * Reads a single PrivateLink endpoint. + */ + async readPrivateLinkEndpoint( + request: ReadPrivateLinkEndpointRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingReadPrivateLinkEndpoint( + this, + request, + options, + )); + } + + /** + * Delete a PrivateLink endpoint + * + * @remarks + * Deletes a PrivateLink endpoint. The endpoint is removed asynchronously. Repeating the request for an endpoint that is already being deleted retries its cleanup and also returns `204`. Changes to endpoints of the same project are serialized. If another change holds them for too long, the request fails with `503 service_unavailable` and can be retried. If the change may have completed but the outcome is unknown, it fails with `409 uncertain_outcome`; read the endpoint before retrying. + */ + async deletePrivateLinkEndpoint( + request: DeletePrivateLinkEndpointRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingDeletePrivateLinkEndpoint( + this, + request, + options, + )); + } + + /** + * Update a PrivateLink endpoint + * + * @remarks + * Updates a PrivateLink endpoint (name, privateDns). Changes to endpoints of the same project are serialized. If another change holds them for too long, the request fails with `503 service_unavailable` and can be retried. If the change may have completed but the outcome is unknown, it fails with `409 uncertain_outcome`; read the endpoint before retrying. + */ + async updatePrivateLinkEndpoint( + request: UpdatePrivateLinkEndpointRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(networkingUpdatePrivateLinkEndpoint( + this, + request, + options, + )); + } + + /** + * Configures Static IPs for a project + * + * @remarks + * Allows configuring Static IPs for a project + */ + async updateStaticIps( + request: UpdateStaticIpsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(networkingUpdateStaticIps( + this, + request, + options, + )); + } +} diff --git a/src/sdk/observability.lazy.ts b/src/sdk/observability.lazy.ts new file mode 100644 index 0000000000..3ddaa78715 --- /dev/null +++ b/src/sdk/observability.lazy.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + GetObservabilityConfigurationProjectsRequest, + GetObservabilityConfigurationProjectsResponseBody, +} from "../models/getobservabilityconfigurationprojectsop.js"; +import { + UpdateObservabilityConfigurationProjectRequest, + UpdateObservabilityConfigurationProjectResponseBody, +} from "../models/updateobservabilityconfigurationprojectop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let observabilityGetObservabilityConfigurationProjects$module: + | Promise< + typeof import("../funcs/observabilityGetObservabilityConfigurationProjects.js") + > + | undefined; +const observabilityGetObservabilityConfigurationProjects = + (( + ...args: Parameters< + typeof import("../funcs/observabilityGetObservabilityConfigurationProjects.js").observabilityGetObservabilityConfigurationProjects + > + ) => + new APIPromise( + (observabilityGetObservabilityConfigurationProjects$module ??= import( + "../funcs/observabilityGetObservabilityConfigurationProjects.js" + ).catch((error: unknown) => { + observabilityGetObservabilityConfigurationProjects$module = undefined; + throw error; + })).then((module) => + module.observabilityGetObservabilityConfigurationProjects(...args) + .$inspect() + ), + )) as typeof import("../funcs/observabilityGetObservabilityConfigurationProjects.js").observabilityGetObservabilityConfigurationProjects; + +let observabilityUpdateObservabilityConfigurationProject$module: + | Promise< + typeof import("../funcs/observabilityUpdateObservabilityConfigurationProject.js") + > + | undefined; +const observabilityUpdateObservabilityConfigurationProject = + (( + ...args: Parameters< + typeof import("../funcs/observabilityUpdateObservabilityConfigurationProject.js").observabilityUpdateObservabilityConfigurationProject + > + ) => + new APIPromise( + (observabilityUpdateObservabilityConfigurationProject$module ??= import( + "../funcs/observabilityUpdateObservabilityConfigurationProject.js" + ).catch((error: unknown) => { + observabilityUpdateObservabilityConfigurationProject$module = undefined; + throw error; + })).then((module) => + module.observabilityUpdateObservabilityConfigurationProject(...args) + .$inspect() + ), + )) as typeof import("../funcs/observabilityUpdateObservabilityConfigurationProject.js").observabilityUpdateObservabilityConfigurationProject; + +export class Observability extends ClientSDK { + /** + * Lists disabled Observability Plus projects + * + * @remarks + * Lists the projects that are currently configured as disabled for Observability Plus on a team. + */ + async getObservabilityConfigurationProjects( + request: GetObservabilityConfigurationProjectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(observabilityGetObservabilityConfigurationProjects( + this, + request, + options, + )); + } + + /** + * Updates a disabled Observability Plus project setting + * + * @remarks + * Updates whether Observability Plus is disabled for a single project. + */ + async updateObservabilityConfigurationProject( + request: UpdateObservabilityConfigurationProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(observabilityUpdateObservabilityConfigurationProject( + this, + request, + options, + )); + } +} diff --git a/src/sdk/organizations.lazy.ts b/src/sdk/organizations.lazy.ts new file mode 100644 index 0000000000..2f1b3c7afb --- /dev/null +++ b/src/sdk/organizations.lazy.ts @@ -0,0 +1,443 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { CreateOrganizationRequest } from "../models/createorganizationop.js"; +import { DeleteOrganizationDsyncGroupRequest } from "../models/deleteorganizationdsyncgroupop.js"; +import { GetOrganizationDsyncGroupRequest } from "../models/getorganizationdsyncgroupop.js"; +import { GetOrganizationRequest } from "../models/getorganizationop.js"; +import { + ListOrganizationDsyncGroupsRequest, + ListOrganizationDsyncGroupsResponseBody, +} from "../models/listorganizationdsyncgroupsop.js"; +import { ListOrganizationsResponseBody } from "../models/listorganizationsop.js"; +import { + ListOrganizationTeamsRequest, + ListOrganizationTeamsResponseBody, +} from "../models/listorganizationteamsop.js"; +import { Organization } from "../models/organization.js"; +import { OrganizationDirectorySyncGroup } from "../models/organizationdirectorysyncgroup.js"; +import { PutOrganizationDsyncGroupRequest } from "../models/putorganizationdsyncgroupop.js"; +import { + PutOrganizationTeamDsyncRequest, + PutOrganizationTeamDsyncResponseBody, +} from "../models/putorganizationteamdsyncop.js"; +import { + RemoveOrganizationTeamRequest, + RemoveOrganizationTeamResponseBody, +} from "../models/removeorganizationteamop.js"; +import { UpdateOrganizationRequest } from "../models/updateorganizationop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let organizationsCreateOrganization$module: + | Promise + | undefined; +const organizationsCreateOrganization = + (( + ...args: Parameters< + typeof import("../funcs/organizationsCreateOrganization.js").organizationsCreateOrganization + > + ) => + new APIPromise( + (organizationsCreateOrganization$module ??= import( + "../funcs/organizationsCreateOrganization.js" + ).catch((error: unknown) => { + organizationsCreateOrganization$module = undefined; + throw error; + })).then((module) => + module.organizationsCreateOrganization(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsCreateOrganization.js").organizationsCreateOrganization; + +let organizationsListOrganizations$module: + | Promise + | undefined; +const organizationsListOrganizations = + (( + ...args: Parameters< + typeof import("../funcs/organizationsListOrganizations.js").organizationsListOrganizations + > + ) => + new APIPromise( + (organizationsListOrganizations$module ??= import( + "../funcs/organizationsListOrganizations.js" + ).catch((error: unknown) => { + organizationsListOrganizations$module = undefined; + throw error; + })).then((module) => + module.organizationsListOrganizations(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsListOrganizations.js").organizationsListOrganizations; + +let organizationsGetOrganization$module: + | Promise + | undefined; +const organizationsGetOrganization = + (( + ...args: Parameters< + typeof import("../funcs/organizationsGetOrganization.js").organizationsGetOrganization + > + ) => + new APIPromise( + (organizationsGetOrganization$module ??= import( + "../funcs/organizationsGetOrganization.js" + ).catch((error: unknown) => { + organizationsGetOrganization$module = undefined; + throw error; + })).then((module) => + module.organizationsGetOrganization(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsGetOrganization.js").organizationsGetOrganization; + +let organizationsUpdateOrganization$module: + | Promise + | undefined; +const organizationsUpdateOrganization = + (( + ...args: Parameters< + typeof import("../funcs/organizationsUpdateOrganization.js").organizationsUpdateOrganization + > + ) => + new APIPromise( + (organizationsUpdateOrganization$module ??= import( + "../funcs/organizationsUpdateOrganization.js" + ).catch((error: unknown) => { + organizationsUpdateOrganization$module = undefined; + throw error; + })).then((module) => + module.organizationsUpdateOrganization(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsUpdateOrganization.js").organizationsUpdateOrganization; + +let organizationsListOrganizationTeams$module: + | Promise + | undefined; +const organizationsListOrganizationTeams = + (( + ...args: Parameters< + typeof import("../funcs/organizationsListOrganizationTeams.js").organizationsListOrganizationTeams + > + ) => + new APIPromise( + (organizationsListOrganizationTeams$module ??= import( + "../funcs/organizationsListOrganizationTeams.js" + ).catch((error: unknown) => { + organizationsListOrganizationTeams$module = undefined; + throw error; + })).then((module) => + module.organizationsListOrganizationTeams(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsListOrganizationTeams.js").organizationsListOrganizationTeams; + +let organizationsRemoveOrganizationTeam$module: + | Promise + | undefined; +const organizationsRemoveOrganizationTeam = + (( + ...args: Parameters< + typeof import("../funcs/organizationsRemoveOrganizationTeam.js").organizationsRemoveOrganizationTeam + > + ) => + new APIPromise( + (organizationsRemoveOrganizationTeam$module ??= import( + "../funcs/organizationsRemoveOrganizationTeam.js" + ).catch((error: unknown) => { + organizationsRemoveOrganizationTeam$module = undefined; + throw error; + })).then((module) => + module.organizationsRemoveOrganizationTeam(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsRemoveOrganizationTeam.js").organizationsRemoveOrganizationTeam; + +let organizationsPutOrganizationTeamDsync$module: + | Promise + | undefined; +const organizationsPutOrganizationTeamDsync = + (( + ...args: Parameters< + typeof import("../funcs/organizationsPutOrganizationTeamDsync.js").organizationsPutOrganizationTeamDsync + > + ) => + new APIPromise( + (organizationsPutOrganizationTeamDsync$module ??= import( + "../funcs/organizationsPutOrganizationTeamDsync.js" + ).catch((error: unknown) => { + organizationsPutOrganizationTeamDsync$module = undefined; + throw error; + })).then((module) => + module.organizationsPutOrganizationTeamDsync(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsPutOrganizationTeamDsync.js").organizationsPutOrganizationTeamDsync; + +let organizationsListOrganizationDsyncGroups$module: + | Promise< + typeof import("../funcs/organizationsListOrganizationDsyncGroups.js") + > + | undefined; +const organizationsListOrganizationDsyncGroups = + (( + ...args: Parameters< + typeof import("../funcs/organizationsListOrganizationDsyncGroups.js").organizationsListOrganizationDsyncGroups + > + ) => + new APIPromise( + (organizationsListOrganizationDsyncGroups$module ??= import( + "../funcs/organizationsListOrganizationDsyncGroups.js" + ).catch((error: unknown) => { + organizationsListOrganizationDsyncGroups$module = undefined; + throw error; + })).then((module) => + module.organizationsListOrganizationDsyncGroups(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsListOrganizationDsyncGroups.js").organizationsListOrganizationDsyncGroups; + +let organizationsPutOrganizationDsyncGroup$module: + | Promise + | undefined; +const organizationsPutOrganizationDsyncGroup = + (( + ...args: Parameters< + typeof import("../funcs/organizationsPutOrganizationDsyncGroup.js").organizationsPutOrganizationDsyncGroup + > + ) => + new APIPromise( + (organizationsPutOrganizationDsyncGroup$module ??= import( + "../funcs/organizationsPutOrganizationDsyncGroup.js" + ).catch((error: unknown) => { + organizationsPutOrganizationDsyncGroup$module = undefined; + throw error; + })).then((module) => + module.organizationsPutOrganizationDsyncGroup(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsPutOrganizationDsyncGroup.js").organizationsPutOrganizationDsyncGroup; + +let organizationsDeleteOrganizationDsyncGroup$module: + | Promise< + typeof import("../funcs/organizationsDeleteOrganizationDsyncGroup.js") + > + | undefined; +const organizationsDeleteOrganizationDsyncGroup = + (( + ...args: Parameters< + typeof import("../funcs/organizationsDeleteOrganizationDsyncGroup.js").organizationsDeleteOrganizationDsyncGroup + > + ) => + new APIPromise( + (organizationsDeleteOrganizationDsyncGroup$module ??= import( + "../funcs/organizationsDeleteOrganizationDsyncGroup.js" + ).catch((error: unknown) => { + organizationsDeleteOrganizationDsyncGroup$module = undefined; + throw error; + })).then((module) => + module.organizationsDeleteOrganizationDsyncGroup(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsDeleteOrganizationDsyncGroup.js").organizationsDeleteOrganizationDsyncGroup; + +let organizationsGetOrganizationDsyncGroup$module: + | Promise + | undefined; +const organizationsGetOrganizationDsyncGroup = + (( + ...args: Parameters< + typeof import("../funcs/organizationsGetOrganizationDsyncGroup.js").organizationsGetOrganizationDsyncGroup + > + ) => + new APIPromise( + (organizationsGetOrganizationDsyncGroup$module ??= import( + "../funcs/organizationsGetOrganizationDsyncGroup.js" + ).catch((error: unknown) => { + organizationsGetOrganizationDsyncGroup$module = undefined; + throw error; + })).then((module) => + module.organizationsGetOrganizationDsyncGroup(...args).$inspect() + ), + )) as typeof import("../funcs/organizationsGetOrganizationDsyncGroup.js").organizationsGetOrganizationDsyncGroup; + +export class Organizations extends ClientSDK { + /** + * Create an Organization + * + * @remarks + * Create a new Organization. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async createOrganization( + request: CreateOrganizationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsCreateOrganization( + this, + request, + options, + )); + } + + /** + * List Organizations + * + * @remarks + * List the organizations where the authenticated user holds the OrgAdmin or OrgViewer permission on the organization's root or backing team — the same criteria as GET /v1/organizations/:organizationId/teams. A token without user scope, such as a team SSO session, lists only the organizations where it is authenticated to at least one team of the organization: the root team, the backing team, or a child team. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async listOrganizations( + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsListOrganizations( + this, + options, + )); + } + + /** + * Get an Organization + * + * @remarks + * Get a single organization by ID or slug. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async getOrganization( + request: GetOrganizationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsGetOrganization( + this, + request, + options, + )); + } + + /** + * Update an Organization + * + * @remarks + * Update an organization's slug, name, or avatar. Upload avatar images through the existing files API before setting their hash. The organization avatar is independent of the root team's avatar. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async updateOrganization( + request: UpdateOrganizationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsUpdateOrganization( + this, + request, + options, + )); + } + + /** + * List Organization Teams + * + * @remarks + * List up to 100 teams in an organization, each enriched with the team's slug, name, and avatar. Set `includeMemberCount` to include counts that include pending memberships and organization Directory Sync grants, while excluding suppressed memberships and email invitations without a membership record. Teams whose underlying record no longer exists are omitted, so a page may contain fewer teams than the page size (or be empty) while still returning a `cursor`; paginate until `cursor` is absent. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async listOrganizationTeams( + request: ListOrganizationTeamsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsListOrganizationTeams( + this, + request, + options, + )); + } + + /** + * Delete Team from Organization + * + * @remarks + * Delete a team from an organization. This endpoint is in private beta. Contact your Vercel account team for access. + */ + async removeOrganizationTeam( + request: RemoveOrganizationTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsRemoveOrganizationTeam( + this, + request, + options, + )); + } + + /** + * Update Organization Team Directory Sync Mode + * + * @remarks + * Select whether one Organization team's memberships are governed by the Organization's Directory Sync or by the team's own directory. The team's own directory connection is kept either way. The root team can follow the Organization's Directory Sync only when no group grants OrgAdmin or at least one OrgAdmin group also grants the Owner role on it. + */ + async putOrganizationTeamDsync( + request: PutOrganizationTeamDsyncRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsPutOrganizationTeamDsync( + this, + request, + options, + )); + } + + /** + * List Organization Directory Sync Groups + * + * @remarks + * List the groups in an organization's Identity Provider directory, along with their Directory Sync group configuration when one exists. + */ + async listOrganizationDsyncGroups( + request: ListOrganizationDsyncGroupsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsListOrganizationDsyncGroups( + this, + request, + options, + )); + } + + /** + * Create or Replace Organization Directory Sync Group Configuration + * + * @remarks + * Create or replace one organization's Directory Sync group configuration. The directory starts syncing when at least one group grants OrgAdmin. A group that grants OrgAdmin must also grant the Owner role on the organization's root team, as its default role or for that team. + */ + async putOrganizationDsyncGroup( + request: PutOrganizationDsyncGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsPutOrganizationDsyncGroup( + this, + request, + options, + )); + } + + /** + * Delete Organization Directory Sync Group Configuration + * + * @remarks + * Delete one organization's Directory Sync group configuration. The last group granting OrgAdmin cannot be removed. + */ + async deleteOrganizationDsyncGroup( + request: DeleteOrganizationDsyncGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsDeleteOrganizationDsyncGroup( + this, + request, + options, + )); + } + + /** + * Get Organization Directory Sync Group + * + * @remarks + * Get one group from the organization's Identity Provider directory, joined with its Directory Sync group configuration when one exists. + */ + async getOrganizationDsyncGroup( + request: GetOrganizationDsyncGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(organizationsGetOrganizationDsyncGroup( + this, + request, + options, + )); + } +} diff --git a/src/sdk/projectmembers.lazy.ts b/src/sdk/projectmembers.lazy.ts new file mode 100644 index 0000000000..83f6db47b1 --- /dev/null +++ b/src/sdk/projectmembers.lazy.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AddProjectMemberRequest, + AddProjectMemberResponseBody, +} from "../models/addprojectmemberop.js"; +import { + GetProjectMembersRequest, + GetProjectMembersResponseBody, +} from "../models/getprojectmembersop.js"; +import { + RemoveProjectMemberRequest, + RemoveProjectMemberResponseBody, +} from "../models/removeprojectmemberop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let projectMembersGetProjectMembers$module: + | Promise + | undefined; +const projectMembersGetProjectMembers = + (( + ...args: Parameters< + typeof import("../funcs/projectMembersGetProjectMembers.js").projectMembersGetProjectMembers + > + ) => + new APIPromise( + (projectMembersGetProjectMembers$module ??= import( + "../funcs/projectMembersGetProjectMembers.js" + ).catch((error: unknown) => { + projectMembersGetProjectMembers$module = undefined; + throw error; + })).then((module) => + module.projectMembersGetProjectMembers(...args).$inspect() + ), + )) as typeof import("../funcs/projectMembersGetProjectMembers.js").projectMembersGetProjectMembers; + +let projectMembersAddProjectMember$module: + | Promise + | undefined; +const projectMembersAddProjectMember = + (( + ...args: Parameters< + typeof import("../funcs/projectMembersAddProjectMember.js").projectMembersAddProjectMember + > + ) => + new APIPromise( + (projectMembersAddProjectMember$module ??= import( + "../funcs/projectMembersAddProjectMember.js" + ).catch((error: unknown) => { + projectMembersAddProjectMember$module = undefined; + throw error; + })).then((module) => + module.projectMembersAddProjectMember(...args).$inspect() + ), + )) as typeof import("../funcs/projectMembersAddProjectMember.js").projectMembersAddProjectMember; + +let projectMembersRemoveProjectMember$module: + | Promise + | undefined; +const projectMembersRemoveProjectMember = + (( + ...args: Parameters< + typeof import("../funcs/projectMembersRemoveProjectMember.js").projectMembersRemoveProjectMember + > + ) => + new APIPromise( + (projectMembersRemoveProjectMember$module ??= import( + "../funcs/projectMembersRemoveProjectMember.js" + ).catch((error: unknown) => { + projectMembersRemoveProjectMember$module = undefined; + throw error; + })).then((module) => + module.projectMembersRemoveProjectMember(...args).$inspect() + ), + )) as typeof import("../funcs/projectMembersRemoveProjectMember.js").projectMembersRemoveProjectMember; + +export class ProjectMembers extends ClientSDK { + /** + * List project members + * + * @remarks + * Lists all members of a project. + */ + async getProjectMembers( + request: GetProjectMembersRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectMembersGetProjectMembers( + this, + request, + options, + )); + } + + /** + * Adds a new member to a project. + * + * @remarks + * Adds a new member to the project. + */ + async addProjectMember( + request: AddProjectMemberRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectMembersAddProjectMember( + this, + request, + options, + )); + } + + /** + * Remove a Project Member + * + * @remarks + * Remove a member from a specific project + */ + async removeProjectMember( + request: RemoveProjectMemberRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectMembersRemoveProjectMember( + this, + request, + options, + )); + } +} diff --git a/src/sdk/projectroutes.lazy.ts b/src/sdk/projectroutes.lazy.ts new file mode 100644 index 0000000000..e70a27b71e --- /dev/null +++ b/src/sdk/projectroutes.lazy.ts @@ -0,0 +1,326 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { AddRouteRequest, AddRouteResponseBody } from "../models/addrouteop.js"; +import { + DeleteRoutesRequest, + DeleteRoutesResponseBody, +} from "../models/deleteroutesop.js"; +import { + EditRouteRequest, + EditRouteResponseBody, +} from "../models/editrouteop.js"; +import { + GenerateRouteRequest, + GenerateRouteResponseBody, +} from "../models/generaterouteop.js"; +import { + GetRoutesRequest, + GetRoutesResponseBody, +} from "../models/getroutesop.js"; +import { + GetRouteVersionsRequest, + GetRouteVersionsResponseBody, +} from "../models/getrouteversionsop.js"; +import { + StageRoutesRequest, + StageRoutesResponseBody, +} from "../models/stageroutesop.js"; +import { + UpdateRouteVersionsRequest, + UpdateRouteVersionsResponseBody, +} from "../models/updaterouteversionsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let projectRoutesGetRoutes$module: + | Promise + | undefined; +const projectRoutesGetRoutes = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesGetRoutes.js").projectRoutesGetRoutes + > + ) => + new APIPromise( + (projectRoutesGetRoutes$module ??= import( + "../funcs/projectRoutesGetRoutes.js" + ).catch((error: unknown) => { + projectRoutesGetRoutes$module = undefined; + throw error; + })).then((module) => module.projectRoutesGetRoutes(...args).$inspect()), + )) as typeof import("../funcs/projectRoutesGetRoutes.js").projectRoutesGetRoutes; + +let projectRoutesStageRoutes$module: + | Promise + | undefined; +const projectRoutesStageRoutes = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesStageRoutes.js").projectRoutesStageRoutes + > + ) => + new APIPromise( + (projectRoutesStageRoutes$module ??= import( + "../funcs/projectRoutesStageRoutes.js" + ).catch((error: unknown) => { + projectRoutesStageRoutes$module = undefined; + throw error; + })).then((module) => module.projectRoutesStageRoutes(...args).$inspect()), + )) as typeof import("../funcs/projectRoutesStageRoutes.js").projectRoutesStageRoutes; + +let projectRoutesAddRoute$module: + | Promise + | undefined; +const projectRoutesAddRoute = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesAddRoute.js").projectRoutesAddRoute + > + ) => + new APIPromise( + (projectRoutesAddRoute$module ??= import( + "../funcs/projectRoutesAddRoute.js" + ).catch((error: unknown) => { + projectRoutesAddRoute$module = undefined; + throw error; + })).then((module) => module.projectRoutesAddRoute(...args).$inspect()), + )) as typeof import("../funcs/projectRoutesAddRoute.js").projectRoutesAddRoute; + +let projectRoutesDeleteRoutes$module: + | Promise + | undefined; +const projectRoutesDeleteRoutes = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesDeleteRoutes.js").projectRoutesDeleteRoutes + > + ) => + new APIPromise( + (projectRoutesDeleteRoutes$module ??= import( + "../funcs/projectRoutesDeleteRoutes.js" + ).catch((error: unknown) => { + projectRoutesDeleteRoutes$module = undefined; + throw error; + })).then((module) => + module.projectRoutesDeleteRoutes(...args).$inspect() + ), + )) as typeof import("../funcs/projectRoutesDeleteRoutes.js").projectRoutesDeleteRoutes; + +let projectRoutesEditRoute$module: + | Promise + | undefined; +const projectRoutesEditRoute = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesEditRoute.js").projectRoutesEditRoute + > + ) => + new APIPromise( + (projectRoutesEditRoute$module ??= import( + "../funcs/projectRoutesEditRoute.js" + ).catch((error: unknown) => { + projectRoutesEditRoute$module = undefined; + throw error; + })).then((module) => module.projectRoutesEditRoute(...args).$inspect()), + )) as typeof import("../funcs/projectRoutesEditRoute.js").projectRoutesEditRoute; + +let projectRoutesGenerateRoute$module: + | Promise + | undefined; +const projectRoutesGenerateRoute = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesGenerateRoute.js").projectRoutesGenerateRoute + > + ) => + new APIPromise( + (projectRoutesGenerateRoute$module ??= import( + "../funcs/projectRoutesGenerateRoute.js" + ).catch((error: unknown) => { + projectRoutesGenerateRoute$module = undefined; + throw error; + })).then((module) => + module.projectRoutesGenerateRoute(...args).$inspect() + ), + )) as typeof import("../funcs/projectRoutesGenerateRoute.js").projectRoutesGenerateRoute; + +let projectRoutesGetRouteVersions$module: + | Promise + | undefined; +const projectRoutesGetRouteVersions = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesGetRouteVersions.js").projectRoutesGetRouteVersions + > + ) => + new APIPromise( + (projectRoutesGetRouteVersions$module ??= import( + "../funcs/projectRoutesGetRouteVersions.js" + ).catch((error: unknown) => { + projectRoutesGetRouteVersions$module = undefined; + throw error; + })).then((module) => + module.projectRoutesGetRouteVersions(...args).$inspect() + ), + )) as typeof import("../funcs/projectRoutesGetRouteVersions.js").projectRoutesGetRouteVersions; + +let projectRoutesUpdateRouteVersions$module: + | Promise + | undefined; +const projectRoutesUpdateRouteVersions = + (( + ...args: Parameters< + typeof import("../funcs/projectRoutesUpdateRouteVersions.js").projectRoutesUpdateRouteVersions + > + ) => + new APIPromise( + (projectRoutesUpdateRouteVersions$module ??= import( + "../funcs/projectRoutesUpdateRouteVersions.js" + ).catch((error: unknown) => { + projectRoutesUpdateRouteVersions$module = undefined; + throw error; + })).then((module) => + module.projectRoutesUpdateRouteVersions(...args).$inspect() + ), + )) as typeof import("../funcs/projectRoutesUpdateRouteVersions.js").projectRoutesUpdateRouteVersions; + +export class ProjectRoutes extends ClientSDK { + /** + * Get project routing rules + * + * @remarks + * Get the routing rules for a project. Supports searching by name/ID/pattern, filtering by route type, and diffing staged changes against production. + */ + async getRoutes( + request: GetRoutesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesGetRoutes( + this, + request, + options, + )); + } + + /** + * Stage routing rules + * + * @remarks + * Stage routing rules for a project. Set `overwrite` to true to replace all existing rules, or omit it to merge with existing rules by ID. Returns the new staged version. + */ + async stageRoutes( + request: StageRoutesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesStageRoutes( + this, + request, + options, + )); + } + + /** + * Add a routing rule + * + * @remarks + * Add a single routing rule to a project at a specified position. Defaults to the end of the list if no position is provided. The route is enabled by default. Stages a new version with the added route. + */ + async addRoute( + request: AddRouteRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesAddRoute( + this, + request, + options, + )); + } + + /** + * Delete routing rules + * + * @remarks + * Delete one or more routing rules from a project by ID. Stages a new version with the routes removed. + */ + async deleteRoutes( + request: DeleteRoutesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesDeleteRoutes( + this, + request, + options, + )); + } + + /** + * Edit a routing rule + * + * @remarks + * Replace a routing rule identified by its ID, or restore it from the current production version. Stages a new version with the modified route. + */ + async editRoute( + request: EditRouteRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesEditRoute( + this, + request, + options, + )); + } + + /** + * Generate a routing rule from natural language + * + * @remarks + * Generate a routing rule configuration from a natural language description. Returns a suggested route configuration that can be reviewed and saved. + */ + async generateRoute( + request: GenerateRouteRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesGenerateRoute( + this, + request, + options, + )); + } + + /** + * Get routing rule version history + * + * @remarks + * Get the version history for a project's routing rules. Returns the staging version (if one exists) followed by production versions, most recent first. The staging version has `isStaging: true` and the current production version has `isLive: true`. + */ + async getRouteVersions( + request: GetRouteVersionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesGetRouteVersions( + this, + request, + options, + )); + } + + /** + * Promote, restore, or discard a routing rule version + * + * @remarks + * Promote staged routing rules to production, restore a previous production version, or discard staged changes. - `promote`: Publishes the staging version to production. - `restore`: Rolls back to a previous production version. - `discard`: Removes the staging version without publishing. + */ + async updateRouteVersions( + request: UpdateRouteVersionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectRoutesUpdateRouteVersions( + this, + request, + options, + )); + } +} diff --git a/src/sdk/projects.lazy.ts b/src/sdk/projects.lazy.ts new file mode 100644 index 0000000000..d4cad62c4d --- /dev/null +++ b/src/sdk/projects.lazy.ts @@ -0,0 +1,1304 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AcceptProjectTransferRequestRequest, + AcceptProjectTransferRequestResponseBody, +} from "../models/acceptprojecttransferrequestop.js"; +import { + AddProjectDomainRequest, + AddProjectDomainResponseBody, +} from "../models/addprojectdomainop.js"; +import { + BatchRemoveProjectEnvRequest, + BatchRemoveProjectEnvResponseBody, +} from "../models/batchremoveprojectenvop.js"; +import { + CreateProjectEnvRequest, + CreateProjectEnvResponseBody, +} from "../models/createprojectenvop.js"; +import { CreateProjectRequest } from "../models/createprojecthasprojectsvalue.js"; +import { CreateProjectResponseBody } from "../models/createprojectresponsebody.js"; +import { + CreateProjectTransferRequestRequest, + CreateProjectTransferRequestResponseBody, +} from "../models/createprojecttransferrequestop.js"; +import { + CreateTraceSessionRequest, + CreateTraceSessionResponseBody, +} from "../models/createtracesessionop.js"; +import { DeleteProjectAvatarRequest } from "../models/deleteprojectavatarchecksconclusion.js"; +import { DeleteProjectAvatarResponseBody } from "../models/deleteprojectavatarresponsebody.js"; +import { DeleteProjectRequest } from "../models/deleteprojectop.js"; +import { + EditProjectEnvRequest, + EditProjectEnvResponseBody, +} from "../models/editprojectenvop.js"; +import { + FilterProjectEnvsRequest, + FilterProjectEnvsResponseBody, +} from "../models/filterprojectenvsop.js"; +import { + GetProjectDomainRequest, + GetProjectDomainResponseBody, +} from "../models/getprojectdomainop.js"; +import { + GetProjectDomainsRequest, + GetProjectDomainsResponseBody, +} from "../models/getprojectdomainsop.js"; +import { + GetProjectEnvRequest, + GetProjectEnvResponseBody, +} from "../models/getprojectenvop.js"; +import { GetProjectRequest } from "../models/getprojectprojectsbranchmatcher.js"; +import { GetProjectResponseBody } from "../models/getprojectresponsebody.js"; +import { GetProjectsResponseBody } from "../models/getprojectsresponsebody.js"; +import { + GetProjectTokenRequest, + GetProjectTokenResponseBody, +} from "../models/getprojecttokenop.js"; +import { + GetProjectTraceRequest, + GetProjectTraceResponseBody, +} from "../models/getprojecttraceop.js"; +import { + ListPromoteAliasesRequest, + ListPromoteAliasesResponseBody, +} from "../models/listpromotealiasesop.js"; +import { + MoveProjectDomainRequest, + MoveProjectDomainResponseBody, +} from "../models/moveprojectdomainop.js"; +import { PauseProjectRequest } from "../models/pauseprojectop.js"; +import { + RemoveProjectDomainRequest, + RemoveProjectDomainResponseBody, +} from "../models/removeprojectdomainop.js"; +import { + RemoveProjectEnvRequest, + RemoveProjectEnvResponseBody, +} from "../models/removeprojectenvop.js"; +import { RequestPromoteRequest } from "../models/requestpromoteop.js"; +import { RequestRollbackRequest } from "../models/requestrollbackop.js"; +import { GetProjectsRequest } from "../models/responsebodylastrollbacktarget.js"; +import { UnpauseProjectRequest } from "../models/unpauseprojectop.js"; +import { UpdateMicrofrontendsRequest } from "../models/updatemicrofrontendsbuilds.js"; +import { UpdateMicrofrontendsResponseBody } from "../models/updatemicrofrontendsresponsebody.js"; +import { + UpdateProjectDomainRequest, + UpdateProjectDomainResponseBody, +} from "../models/updateprojectdomainop.js"; +import { UpdateProjectRequest } from "../models/updateprojectenvironments.js"; +import { + UpdateProjectProtectionBypassRequest, + UpdateProjectProtectionBypassResponseBody, +} from "../models/updateprojectprotectionbypassop.js"; +import { UpdateProjectResponseBody } from "../models/updateprojectresponsebody.js"; +import { UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequest } from "../models/updateprojectsbyprojectidrollbackbydeploymentidupdatedescriptionop.js"; +import { UploadProjectAvatarRequest } from "../models/uploadprojectavatarchecksconclusion.js"; +import { UploadProjectAvatarResponseBody } from "../models/uploadprojectavatarresponsebody.js"; +import { + VerifyProjectDomainRequest, + VerifyProjectDomainResponseBody, +} from "../models/verifyprojectdomainop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let projectsGetProjects$module: + | Promise + | undefined; +const projectsGetProjects = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjects.js").projectsGetProjects + > + ) => + new APIPromise( + (projectsGetProjects$module ??= import("../funcs/projectsGetProjects.js") + .catch((error: unknown) => { + projectsGetProjects$module = undefined; + throw error; + })).then((module) => module.projectsGetProjects(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProjects.js").projectsGetProjects; + +let projectsGetProjectTrace$module: + | Promise + | undefined; +const projectsGetProjectTrace = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjectTrace.js").projectsGetProjectTrace + > + ) => + new APIPromise( + (projectsGetProjectTrace$module ??= import( + "../funcs/projectsGetProjectTrace.js" + ).catch((error: unknown) => { + projectsGetProjectTrace$module = undefined; + throw error; + })).then((module) => module.projectsGetProjectTrace(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProjectTrace.js").projectsGetProjectTrace; + +let projectsCreateProject$module: + | Promise + | undefined; +const projectsCreateProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsCreateProject.js").projectsCreateProject + > + ) => + new APIPromise( + (projectsCreateProject$module ??= import( + "../funcs/projectsCreateProject.js" + ).catch((error: unknown) => { + projectsCreateProject$module = undefined; + throw error; + })).then((module) => module.projectsCreateProject(...args).$inspect()), + )) as typeof import("../funcs/projectsCreateProject.js").projectsCreateProject; + +let projectsGetProjectToken$module: + | Promise + | undefined; +const projectsGetProjectToken = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjectToken.js").projectsGetProjectToken + > + ) => + new APIPromise( + (projectsGetProjectToken$module ??= import( + "../funcs/projectsGetProjectToken.js" + ).catch((error: unknown) => { + projectsGetProjectToken$module = undefined; + throw error; + })).then((module) => module.projectsGetProjectToken(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProjectToken.js").projectsGetProjectToken; + +let projectsCreateTraceSession$module: + | Promise + | undefined; +const projectsCreateTraceSession = + (( + ...args: Parameters< + typeof import("../funcs/projectsCreateTraceSession.js").projectsCreateTraceSession + > + ) => + new APIPromise( + (projectsCreateTraceSession$module ??= import( + "../funcs/projectsCreateTraceSession.js" + ).catch((error: unknown) => { + projectsCreateTraceSession$module = undefined; + throw error; + })).then((module) => + module.projectsCreateTraceSession(...args).$inspect() + ), + )) as typeof import("../funcs/projectsCreateTraceSession.js").projectsCreateTraceSession; + +let projectsGetProject$module: + | Promise + | undefined; +const projectsGetProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProject.js").projectsGetProject + > + ) => + new APIPromise( + (projectsGetProject$module ??= import("../funcs/projectsGetProject.js") + .catch((error: unknown) => { + projectsGetProject$module = undefined; + throw error; + })).then((module) => module.projectsGetProject(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProject.js").projectsGetProject; + +let projectsUpdateProject$module: + | Promise + | undefined; +const projectsUpdateProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsUpdateProject.js").projectsUpdateProject + > + ) => + new APIPromise( + (projectsUpdateProject$module ??= import( + "../funcs/projectsUpdateProject.js" + ).catch((error: unknown) => { + projectsUpdateProject$module = undefined; + throw error; + })).then((module) => module.projectsUpdateProject(...args).$inspect()), + )) as typeof import("../funcs/projectsUpdateProject.js").projectsUpdateProject; + +let projectsDeleteProject$module: + | Promise + | undefined; +const projectsDeleteProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsDeleteProject.js").projectsDeleteProject + > + ) => + new APIPromise( + (projectsDeleteProject$module ??= import( + "../funcs/projectsDeleteProject.js" + ).catch((error: unknown) => { + projectsDeleteProject$module = undefined; + throw error; + })).then((module) => module.projectsDeleteProject(...args).$inspect()), + )) as typeof import("../funcs/projectsDeleteProject.js").projectsDeleteProject; + +let projectsUploadProjectAvatar$module: + | Promise + | undefined; +const projectsUploadProjectAvatar = + (( + ...args: Parameters< + typeof import("../funcs/projectsUploadProjectAvatar.js").projectsUploadProjectAvatar + > + ) => + new APIPromise( + (projectsUploadProjectAvatar$module ??= import( + "../funcs/projectsUploadProjectAvatar.js" + ).catch((error: unknown) => { + projectsUploadProjectAvatar$module = undefined; + throw error; + })).then((module) => + module.projectsUploadProjectAvatar(...args).$inspect() + ), + )) as typeof import("../funcs/projectsUploadProjectAvatar.js").projectsUploadProjectAvatar; + +let projectsDeleteProjectAvatar$module: + | Promise + | undefined; +const projectsDeleteProjectAvatar = + (( + ...args: Parameters< + typeof import("../funcs/projectsDeleteProjectAvatar.js").projectsDeleteProjectAvatar + > + ) => + new APIPromise( + (projectsDeleteProjectAvatar$module ??= import( + "../funcs/projectsDeleteProjectAvatar.js" + ).catch((error: unknown) => { + projectsDeleteProjectAvatar$module = undefined; + throw error; + })).then((module) => + module.projectsDeleteProjectAvatar(...args).$inspect() + ), + )) as typeof import("../funcs/projectsDeleteProjectAvatar.js").projectsDeleteProjectAvatar; + +let projectsGetProjectDomains$module: + | Promise + | undefined; +const projectsGetProjectDomains = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjectDomains.js").projectsGetProjectDomains + > + ) => + new APIPromise( + (projectsGetProjectDomains$module ??= import( + "../funcs/projectsGetProjectDomains.js" + ).catch((error: unknown) => { + projectsGetProjectDomains$module = undefined; + throw error; + })).then((module) => + module.projectsGetProjectDomains(...args).$inspect() + ), + )) as typeof import("../funcs/projectsGetProjectDomains.js").projectsGetProjectDomains; + +let projectsGetProjectDomain$module: + | Promise + | undefined; +const projectsGetProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjectDomain.js").projectsGetProjectDomain + > + ) => + new APIPromise( + (projectsGetProjectDomain$module ??= import( + "../funcs/projectsGetProjectDomain.js" + ).catch((error: unknown) => { + projectsGetProjectDomain$module = undefined; + throw error; + })).then((module) => module.projectsGetProjectDomain(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProjectDomain.js").projectsGetProjectDomain; + +let projectsUpdateProjectDomain$module: + | Promise + | undefined; +const projectsUpdateProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsUpdateProjectDomain.js").projectsUpdateProjectDomain + > + ) => + new APIPromise( + (projectsUpdateProjectDomain$module ??= import( + "../funcs/projectsUpdateProjectDomain.js" + ).catch((error: unknown) => { + projectsUpdateProjectDomain$module = undefined; + throw error; + })).then((module) => + module.projectsUpdateProjectDomain(...args).$inspect() + ), + )) as typeof import("../funcs/projectsUpdateProjectDomain.js").projectsUpdateProjectDomain; + +let projectsRemoveProjectDomain$module: + | Promise + | undefined; +const projectsRemoveProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsRemoveProjectDomain.js").projectsRemoveProjectDomain + > + ) => + new APIPromise( + (projectsRemoveProjectDomain$module ??= import( + "../funcs/projectsRemoveProjectDomain.js" + ).catch((error: unknown) => { + projectsRemoveProjectDomain$module = undefined; + throw error; + })).then((module) => + module.projectsRemoveProjectDomain(...args).$inspect() + ), + )) as typeof import("../funcs/projectsRemoveProjectDomain.js").projectsRemoveProjectDomain; + +let projectsAddProjectDomain$module: + | Promise + | undefined; +const projectsAddProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsAddProjectDomain.js").projectsAddProjectDomain + > + ) => + new APIPromise( + (projectsAddProjectDomain$module ??= import( + "../funcs/projectsAddProjectDomain.js" + ).catch((error: unknown) => { + projectsAddProjectDomain$module = undefined; + throw error; + })).then((module) => module.projectsAddProjectDomain(...args).$inspect()), + )) as typeof import("../funcs/projectsAddProjectDomain.js").projectsAddProjectDomain; + +let projectsMoveProjectDomain$module: + | Promise + | undefined; +const projectsMoveProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsMoveProjectDomain.js").projectsMoveProjectDomain + > + ) => + new APIPromise( + (projectsMoveProjectDomain$module ??= import( + "../funcs/projectsMoveProjectDomain.js" + ).catch((error: unknown) => { + projectsMoveProjectDomain$module = undefined; + throw error; + })).then((module) => + module.projectsMoveProjectDomain(...args).$inspect() + ), + )) as typeof import("../funcs/projectsMoveProjectDomain.js").projectsMoveProjectDomain; + +let projectsVerifyProjectDomain$module: + | Promise + | undefined; +const projectsVerifyProjectDomain = + (( + ...args: Parameters< + typeof import("../funcs/projectsVerifyProjectDomain.js").projectsVerifyProjectDomain + > + ) => + new APIPromise( + (projectsVerifyProjectDomain$module ??= import( + "../funcs/projectsVerifyProjectDomain.js" + ).catch((error: unknown) => { + projectsVerifyProjectDomain$module = undefined; + throw error; + })).then((module) => + module.projectsVerifyProjectDomain(...args).$inspect() + ), + )) as typeof import("../funcs/projectsVerifyProjectDomain.js").projectsVerifyProjectDomain; + +let projectsFilterProjectEnvs$module: + | Promise + | undefined; +const projectsFilterProjectEnvs = + (( + ...args: Parameters< + typeof import("../funcs/projectsFilterProjectEnvs.js").projectsFilterProjectEnvs + > + ) => + new APIPromise( + (projectsFilterProjectEnvs$module ??= import( + "../funcs/projectsFilterProjectEnvs.js" + ).catch((error: unknown) => { + projectsFilterProjectEnvs$module = undefined; + throw error; + })).then((module) => + module.projectsFilterProjectEnvs(...args).$inspect() + ), + )) as typeof import("../funcs/projectsFilterProjectEnvs.js").projectsFilterProjectEnvs; + +let projectsCreateProjectEnv$module: + | Promise + | undefined; +const projectsCreateProjectEnv = + (( + ...args: Parameters< + typeof import("../funcs/projectsCreateProjectEnv.js").projectsCreateProjectEnv + > + ) => + new APIPromise( + (projectsCreateProjectEnv$module ??= import( + "../funcs/projectsCreateProjectEnv.js" + ).catch((error: unknown) => { + projectsCreateProjectEnv$module = undefined; + throw error; + })).then((module) => module.projectsCreateProjectEnv(...args).$inspect()), + )) as typeof import("../funcs/projectsCreateProjectEnv.js").projectsCreateProjectEnv; + +let projectsGetProjectEnv$module: + | Promise + | undefined; +const projectsGetProjectEnv = + (( + ...args: Parameters< + typeof import("../funcs/projectsGetProjectEnv.js").projectsGetProjectEnv + > + ) => + new APIPromise( + (projectsGetProjectEnv$module ??= import( + "../funcs/projectsGetProjectEnv.js" + ).catch((error: unknown) => { + projectsGetProjectEnv$module = undefined; + throw error; + })).then((module) => module.projectsGetProjectEnv(...args).$inspect()), + )) as typeof import("../funcs/projectsGetProjectEnv.js").projectsGetProjectEnv; + +let projectsRemoveProjectEnv$module: + | Promise + | undefined; +const projectsRemoveProjectEnv = + (( + ...args: Parameters< + typeof import("../funcs/projectsRemoveProjectEnv.js").projectsRemoveProjectEnv + > + ) => + new APIPromise( + (projectsRemoveProjectEnv$module ??= import( + "../funcs/projectsRemoveProjectEnv.js" + ).catch((error: unknown) => { + projectsRemoveProjectEnv$module = undefined; + throw error; + })).then((module) => module.projectsRemoveProjectEnv(...args).$inspect()), + )) as typeof import("../funcs/projectsRemoveProjectEnv.js").projectsRemoveProjectEnv; + +let projectsEditProjectEnv$module: + | Promise + | undefined; +const projectsEditProjectEnv = + (( + ...args: Parameters< + typeof import("../funcs/projectsEditProjectEnv.js").projectsEditProjectEnv + > + ) => + new APIPromise( + (projectsEditProjectEnv$module ??= import( + "../funcs/projectsEditProjectEnv.js" + ).catch((error: unknown) => { + projectsEditProjectEnv$module = undefined; + throw error; + })).then((module) => module.projectsEditProjectEnv(...args).$inspect()), + )) as typeof import("../funcs/projectsEditProjectEnv.js").projectsEditProjectEnv; + +let projectsBatchRemoveProjectEnv$module: + | Promise + | undefined; +const projectsBatchRemoveProjectEnv = + (( + ...args: Parameters< + typeof import("../funcs/projectsBatchRemoveProjectEnv.js").projectsBatchRemoveProjectEnv + > + ) => + new APIPromise( + (projectsBatchRemoveProjectEnv$module ??= import( + "../funcs/projectsBatchRemoveProjectEnv.js" + ).catch((error: unknown) => { + projectsBatchRemoveProjectEnv$module = undefined; + throw error; + })).then((module) => + module.projectsBatchRemoveProjectEnv(...args).$inspect() + ), + )) as typeof import("../funcs/projectsBatchRemoveProjectEnv.js").projectsBatchRemoveProjectEnv; + +let projectsCreateProjectTransferRequest$module: + | Promise + | undefined; +const projectsCreateProjectTransferRequest = + (( + ...args: Parameters< + typeof import("../funcs/projectsCreateProjectTransferRequest.js").projectsCreateProjectTransferRequest + > + ) => + new APIPromise( + (projectsCreateProjectTransferRequest$module ??= import( + "../funcs/projectsCreateProjectTransferRequest.js" + ).catch((error: unknown) => { + projectsCreateProjectTransferRequest$module = undefined; + throw error; + })).then((module) => + module.projectsCreateProjectTransferRequest(...args).$inspect() + ), + )) as typeof import("../funcs/projectsCreateProjectTransferRequest.js").projectsCreateProjectTransferRequest; + +let projectsAcceptProjectTransferRequest$module: + | Promise + | undefined; +const projectsAcceptProjectTransferRequest = + (( + ...args: Parameters< + typeof import("../funcs/projectsAcceptProjectTransferRequest.js").projectsAcceptProjectTransferRequest + > + ) => + new APIPromise( + (projectsAcceptProjectTransferRequest$module ??= import( + "../funcs/projectsAcceptProjectTransferRequest.js" + ).catch((error: unknown) => { + projectsAcceptProjectTransferRequest$module = undefined; + throw error; + })).then((module) => + module.projectsAcceptProjectTransferRequest(...args).$inspect() + ), + )) as typeof import("../funcs/projectsAcceptProjectTransferRequest.js").projectsAcceptProjectTransferRequest; + +let projectsUpdateProjectProtectionBypass$module: + | Promise + | undefined; +const projectsUpdateProjectProtectionBypass = + (( + ...args: Parameters< + typeof import("../funcs/projectsUpdateProjectProtectionBypass.js").projectsUpdateProjectProtectionBypass + > + ) => + new APIPromise( + (projectsUpdateProjectProtectionBypass$module ??= import( + "../funcs/projectsUpdateProjectProtectionBypass.js" + ).catch((error: unknown) => { + projectsUpdateProjectProtectionBypass$module = undefined; + throw error; + })).then((module) => + module.projectsUpdateProjectProtectionBypass(...args).$inspect() + ), + )) as typeof import("../funcs/projectsUpdateProjectProtectionBypass.js").projectsUpdateProjectProtectionBypass; + +let projectsRequestRollback$module: + | Promise + | undefined; +const projectsRequestRollback = + (( + ...args: Parameters< + typeof import("../funcs/projectsRequestRollback.js").projectsRequestRollback + > + ) => + new APIPromise( + (projectsRequestRollback$module ??= import( + "../funcs/projectsRequestRollback.js" + ).catch((error: unknown) => { + projectsRequestRollback$module = undefined; + throw error; + })).then((module) => module.projectsRequestRollback(...args).$inspect()), + )) as typeof import("../funcs/projectsRequestRollback.js").projectsRequestRollback; + +let projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription$module: + | Promise< + typeof import("../funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.js") + > + | undefined; +const projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription = + (( + ...args: Parameters< + typeof import("../funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.js").projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription + > + ) => + new APIPromise( + (projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription$module ??= + import( + "../funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.js" + ).catch((error: unknown) => { + projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription$module = + undefined; + throw error; + })).then((module) => + module + .projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription.js").projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription; + +let projectsUpdateMicrofrontends$module: + | Promise + | undefined; +const projectsUpdateMicrofrontends = + (( + ...args: Parameters< + typeof import("../funcs/projectsUpdateMicrofrontends.js").projectsUpdateMicrofrontends + > + ) => + new APIPromise( + (projectsUpdateMicrofrontends$module ??= import( + "../funcs/projectsUpdateMicrofrontends.js" + ).catch((error: unknown) => { + projectsUpdateMicrofrontends$module = undefined; + throw error; + })).then((module) => + module.projectsUpdateMicrofrontends(...args).$inspect() + ), + )) as typeof import("../funcs/projectsUpdateMicrofrontends.js").projectsUpdateMicrofrontends; + +let projectsRequestPromote$module: + | Promise + | undefined; +const projectsRequestPromote = + (( + ...args: Parameters< + typeof import("../funcs/projectsRequestPromote.js").projectsRequestPromote + > + ) => + new APIPromise( + (projectsRequestPromote$module ??= import( + "../funcs/projectsRequestPromote.js" + ).catch((error: unknown) => { + projectsRequestPromote$module = undefined; + throw error; + })).then((module) => module.projectsRequestPromote(...args).$inspect()), + )) as typeof import("../funcs/projectsRequestPromote.js").projectsRequestPromote; + +let projectsListPromoteAliases$module: + | Promise + | undefined; +const projectsListPromoteAliases = + (( + ...args: Parameters< + typeof import("../funcs/projectsListPromoteAliases.js").projectsListPromoteAliases + > + ) => + new APIPromise( + (projectsListPromoteAliases$module ??= import( + "../funcs/projectsListPromoteAliases.js" + ).catch((error: unknown) => { + projectsListPromoteAliases$module = undefined; + throw error; + })).then((module) => + module.projectsListPromoteAliases(...args).$inspect() + ), + )) as typeof import("../funcs/projectsListPromoteAliases.js").projectsListPromoteAliases; + +let projectsPauseProject$module: + | Promise + | undefined; +const projectsPauseProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsPauseProject.js").projectsPauseProject + > + ) => + new APIPromise( + (projectsPauseProject$module ??= import( + "../funcs/projectsPauseProject.js" + ).catch((error: unknown) => { + projectsPauseProject$module = undefined; + throw error; + })).then((module) => module.projectsPauseProject(...args).$inspect()), + )) as typeof import("../funcs/projectsPauseProject.js").projectsPauseProject; + +let projectsUnpauseProject$module: + | Promise + | undefined; +const projectsUnpauseProject = + (( + ...args: Parameters< + typeof import("../funcs/projectsUnpauseProject.js").projectsUnpauseProject + > + ) => + new APIPromise( + (projectsUnpauseProject$module ??= import( + "../funcs/projectsUnpauseProject.js" + ).catch((error: unknown) => { + projectsUnpauseProject$module = undefined; + throw error; + })).then((module) => module.projectsUnpauseProject(...args).$inspect()), + )) as typeof import("../funcs/projectsUnpauseProject.js").projectsUnpauseProject; + +export class Projects extends ClientSDK { + /** + * Retrieve a list of projects + * + * @remarks + * Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects. + */ + async getProjects( + request: GetProjectsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjects( + this, + request, + options, + )); + } + + /** + * Get a project trace by request ID + * + * @remarks + * Returns the OTEL trace for a given Vercel CLI request. + */ + async getProjectTrace( + request: GetProjectTraceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectTrace( + this, + request, + options, + )); + } + + /** + * Create a new project + * + * @remarks + * Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults. + */ + async createProject( + request: CreateProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsCreateProject( + this, + request, + options, + )); + } + + /** + * Generate a project OIDC token + * + * @remarks + * Generates an OIDC token for the project and returns it. + */ + async getProjectToken( + request: GetProjectTokenRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectToken( + this, + request, + options, + )); + } + + /** + * Create a trace session token for a deployment + * + * @remarks + * Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced. + */ + async createTraceSession( + request: CreateTraceSessionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsCreateTraceSession( + this, + request, + options, + )); + } + + /** + * Find a project by id or name + * + * @remarks + * Get the information for a specific project by passing either the project `id` or `name` in the URL. + */ + async getProject( + request: GetProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProject( + this, + request, + options, + )); + } + + /** + * Update an existing project + * + * @remarks + * Update the fields of a project using either its `name` or `id`. + */ + async updateProject( + request: UpdateProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUpdateProject( + this, + request, + options, + )); + } + + /** + * Delete a Project + * + * @remarks + * Delete a specific project by passing either the project `id` or `name` in the URL. + */ + async deleteProject( + request: DeleteProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsDeleteProject( + this, + request, + options, + )); + } + + /** + * Upload a project avatar + * + * @remarks + * Upload an image as the avatar of the project identified by `idOrName`. The request body is the raw bytes of a JPG, PNG, or SVG image; the `Content-Type` header must declare which. SVG payloads are sanitized and optimized server-side before storage. The final SHA-1 of the stored bytes becomes the project's `avatar` value. The actual upload pipeline (validation, sanitization, S3 write, conditional `updateProject`, and event emission) lives in the shared `@api/project-avatar-upload` helper so it can be reused by background workers. + */ + async uploadProjectAvatar( + request: UploadProjectAvatarRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUploadProjectAvatar( + this, + request, + options, + )); + } + + /** + * Delete a project avatar + * + * @remarks + * Remove the avatar of the project identified by `idOrName`. Deletes the chosen avatar field so the next production deploy can run auto-detection again. Does not delete the stored image. + */ + async deleteProjectAvatar( + request: DeleteProjectAvatarRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsDeleteProjectAvatar( + this, + request, + options, + )); + } + + /** + * 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 + * + * @remarks + * Get project domain by project id/name and domain name. + */ + async getProjectDomain( + request: GetProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectDomain( + this, + request, + options, + )); + } + + /** + * Update a project domain + * + * @remarks + * Update a project domain's configuration, including the name, git branch and redirect of the domain. + */ + async updateProjectDomain( + request: UpdateProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUpdateProjectDomain( + this, + request, + options, + )); + } + + /** + * Remove a domain from a project + * + * @remarks + * Remove a domain from a project by passing the domain name and by specifying the project by either passing the project `id` or `name` in the URL. + */ + async removeProjectDomain( + request: RemoveProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsRemoveProjectDomain( + this, + request, + options, + )); + } + + /** + * Add a domain to a project + * + * @remarks + * Add a domain to the project by passing its domain name and by specifying the project by either passing the project `id` or `name` in the URL. If the domain is not yet verified to be used on this project, the request will return `verified = false`, and the domain will need to be verified according to the `verification` challenge via `POST /projects/:idOrName/domains/:domain/verify`. If the domain already exists on the project, the request will fail with a `400` status code. + */ + async addProjectDomain( + request: AddProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsAddProjectDomain( + this, + request, + options, + )); + } + + /** + * Move a project domain + * + * @remarks + * Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project. + */ + async moveProjectDomain( + request: MoveProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsMoveProjectDomain( + this, + request, + options, + )); + } + + /** + * Verify project domain + * + * @remarks + * Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge. + */ + async verifyProjectDomain( + request: VerifyProjectDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsVerifyProjectDomain( + this, + request, + options, + )); + } + + /** + * Retrieve the environment variables of a project by id or name + * + * @remarks + * Retrieve the environment variables for a given project by passing either the project `id` or `name` in the URL. + */ + async filterProjectEnvs( + request: FilterProjectEnvsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsFilterProjectEnvs( + this, + request, + options, + )); + } + + /** + * Create one or more environment variables + * + * @remarks + * Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated. + */ + async createProjectEnv( + request: CreateProjectEnvRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsCreateProjectEnv( + this, + request, + options, + )); + } + + /** + * Retrieve the decrypted value of an environment variable of a project by id + * + * @remarks + * Retrieve the environment variable for a given project. + */ + async getProjectEnv( + request: GetProjectEnvRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectEnv( + this, + request, + options, + )); + } + + /** + * Remove an environment variable + * + * @remarks + * Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL. + */ + async removeProjectEnv( + request: RemoveProjectEnvRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsRemoveProjectEnv( + this, + request, + options, + )); + } + + /** + * Edit an environment variable + * + * @remarks + * Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL. + */ + async editProjectEnv( + request: EditProjectEnvRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsEditProjectEnv( + this, + request, + options, + )); + } + + /** + * Batch remove environment variables + * + * @remarks + * Delete multiple environment variables for a given project in a single batch operation. + */ + async batchRemoveProjectEnv( + request: BatchRemoveProjectEnvRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsBatchRemoveProjectEnv( + this, + request, + options, + )); + } + + /** + * Create project transfer request + * + * @remarks + * Initiates a project transfer request from one team to another.
Returns a `code` that remains valid for 24 hours and can be used to accept the transfer request by another team using the `PUT /projects/transfer-request/:code` endpoint.
Users can also accept the project transfer request using the claim URL: `https://vercel.com/claim-deployment?code=&returnUrl=`.
The `code` parameter specifies the project transfer request code generated using this endpoint.
The `returnUrl` parameter redirects users to a specific page of the application if the claim URL is invalid or expired. + */ + async createProjectTransferRequest( + request: CreateProjectTransferRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsCreateProjectTransferRequest( + this, + request, + options, + )); + } + + /** + * Accept project transfer request + * + * @remarks + * Accept a project transfer request initated by another team.
The `code` is generated using the `POST /projects/:idOrName/transfer-request` endpoint. + */ + async acceptProjectTransferRequest( + request: AcceptProjectTransferRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsAcceptProjectTransferRequest( + this, + request, + options, + )); + } + + /** + * Update Protection Bypass for Automation + * + * @remarks + * Update the deployment protection automation bypass for a project + */ + async updateProjectProtectionBypass( + request: UpdateProjectProtectionBypassRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUpdateProjectProtectionBypass( + this, + request, + options, + )); + } + + /** + * Point production traffic to a previous production deployment by ID + * + * @remarks + * Allows users to rollback to a deployment. + */ + async requestRollback( + request: RequestRollbackRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsRequestRollback( + this, + request, + options, + )); + } + + /** + * Updates the description for a rollback + * + * @remarks + * Updates the reason for a rollback, without changing the rollback status itself. + */ + async updateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription( + request: + UpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescriptionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + projectsUpdateProjectsByProjectIdRollbackByDeploymentIdUpdateDescription( + this, + request, + options, + ), + ); + } + + /** + * Update the microfrontends settings + * + * @remarks + * Update the microfrontends settings for a project. + */ + async updateMicrofrontends( + request: UpdateMicrofrontendsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUpdateMicrofrontends( + this, + request, + options, + )); + } + + /** + * Point production traffic to a given deployment + * + * @remarks + * Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint. + */ + async requestPromote( + request: RequestPromoteRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsRequestPromote( + this, + request, + options, + )); + } + + /** + * Gets a list of aliases with status for the current promote + * + * @remarks + * Get a list of aliases related to the last promote request with their mapping status + */ + async listPromoteAliases( + request: ListPromoteAliasesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsListPromoteAliases( + this, + request, + options, + )); + } + + /** + * Pause a project + * + * @remarks + * Pause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code. + */ + async pauseProject( + request: PauseProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsPauseProject( + this, + request, + options, + )); + } + + /** + * Unpause a project + * + * @remarks + * Unpause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code. + */ + async unpauseProject( + request: UnpauseProjectRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUnpauseProject( + this, + request, + options, + )); + } +} diff --git a/src/sdk/rollingrelease.lazy.ts b/src/sdk/rollingrelease.lazy.ts new file mode 100644 index 0000000000..a2522690b9 --- /dev/null +++ b/src/sdk/rollingrelease.lazy.ts @@ -0,0 +1,345 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + ApproveRollingReleaseStageRequest, + ApproveRollingReleaseStageResponseBody, +} from "../models/approverollingreleasestageop.js"; +import { + CompleteRollingReleaseRequest, + CompleteRollingReleaseResponseBody, +} from "../models/completerollingreleaseop.js"; +import { + DeleteRollingReleaseConfigRequest, + DeleteRollingReleaseConfigResponseBody, +} from "../models/deleterollingreleaseconfigop.js"; +import { + GetRollingReleaseBillingStatusRequest, + GetRollingReleaseBillingStatusResponseBody, +} from "../models/getrollingreleasebillingstatusop.js"; +import { + GetRollingReleaseConfigRequest, + GetRollingReleaseConfigResponseBody, +} from "../models/getrollingreleaseconfigop.js"; +import { + GetRollingReleaseRequest, + GetRollingReleaseResponseBody, +} from "../models/getrollingreleaseop.js"; +import { + StartRollingReleaseRequest, + StartRollingReleaseResponseBody, +} from "../models/startrollingreleaseop.js"; +import { + UpdateRollingReleaseConfigRequest, + UpdateRollingReleaseConfigResponseBody, +} from "../models/updaterollingreleaseconfigop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let rollingReleaseGetRollingReleaseBillingStatus$module: + | Promise< + typeof import("../funcs/rollingReleaseGetRollingReleaseBillingStatus.js") + > + | undefined; +const rollingReleaseGetRollingReleaseBillingStatus = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseGetRollingReleaseBillingStatus.js").rollingReleaseGetRollingReleaseBillingStatus + > + ) => + new APIPromise( + (rollingReleaseGetRollingReleaseBillingStatus$module ??= import( + "../funcs/rollingReleaseGetRollingReleaseBillingStatus.js" + ).catch((error: unknown) => { + rollingReleaseGetRollingReleaseBillingStatus$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseGetRollingReleaseBillingStatus(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseGetRollingReleaseBillingStatus.js").rollingReleaseGetRollingReleaseBillingStatus; + +let rollingReleaseGetRollingReleaseConfig$module: + | Promise + | undefined; +const rollingReleaseGetRollingReleaseConfig = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseGetRollingReleaseConfig.js").rollingReleaseGetRollingReleaseConfig + > + ) => + new APIPromise( + (rollingReleaseGetRollingReleaseConfig$module ??= import( + "../funcs/rollingReleaseGetRollingReleaseConfig.js" + ).catch((error: unknown) => { + rollingReleaseGetRollingReleaseConfig$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseGetRollingReleaseConfig(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseGetRollingReleaseConfig.js").rollingReleaseGetRollingReleaseConfig; + +let rollingReleaseDeleteRollingReleaseConfig$module: + | Promise< + typeof import("../funcs/rollingReleaseDeleteRollingReleaseConfig.js") + > + | undefined; +const rollingReleaseDeleteRollingReleaseConfig = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseDeleteRollingReleaseConfig.js").rollingReleaseDeleteRollingReleaseConfig + > + ) => + new APIPromise( + (rollingReleaseDeleteRollingReleaseConfig$module ??= import( + "../funcs/rollingReleaseDeleteRollingReleaseConfig.js" + ).catch((error: unknown) => { + rollingReleaseDeleteRollingReleaseConfig$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseDeleteRollingReleaseConfig(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseDeleteRollingReleaseConfig.js").rollingReleaseDeleteRollingReleaseConfig; + +let rollingReleaseUpdateRollingReleaseConfig$module: + | Promise< + typeof import("../funcs/rollingReleaseUpdateRollingReleaseConfig.js") + > + | undefined; +const rollingReleaseUpdateRollingReleaseConfig = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseUpdateRollingReleaseConfig.js").rollingReleaseUpdateRollingReleaseConfig + > + ) => + new APIPromise( + (rollingReleaseUpdateRollingReleaseConfig$module ??= import( + "../funcs/rollingReleaseUpdateRollingReleaseConfig.js" + ).catch((error: unknown) => { + rollingReleaseUpdateRollingReleaseConfig$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseUpdateRollingReleaseConfig(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseUpdateRollingReleaseConfig.js").rollingReleaseUpdateRollingReleaseConfig; + +let rollingReleaseGetRollingRelease$module: + | Promise + | undefined; +const rollingReleaseGetRollingRelease = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseGetRollingRelease.js").rollingReleaseGetRollingRelease + > + ) => + new APIPromise( + (rollingReleaseGetRollingRelease$module ??= import( + "../funcs/rollingReleaseGetRollingRelease.js" + ).catch((error: unknown) => { + rollingReleaseGetRollingRelease$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseGetRollingRelease(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseGetRollingRelease.js").rollingReleaseGetRollingRelease; + +let rollingReleaseApproveRollingReleaseStage$module: + | Promise< + typeof import("../funcs/rollingReleaseApproveRollingReleaseStage.js") + > + | undefined; +const rollingReleaseApproveRollingReleaseStage = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseApproveRollingReleaseStage.js").rollingReleaseApproveRollingReleaseStage + > + ) => + new APIPromise( + (rollingReleaseApproveRollingReleaseStage$module ??= import( + "../funcs/rollingReleaseApproveRollingReleaseStage.js" + ).catch((error: unknown) => { + rollingReleaseApproveRollingReleaseStage$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseApproveRollingReleaseStage(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseApproveRollingReleaseStage.js").rollingReleaseApproveRollingReleaseStage; + +let rollingReleaseStartRollingRelease$module: + | Promise + | undefined; +const rollingReleaseStartRollingRelease = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseStartRollingRelease.js").rollingReleaseStartRollingRelease + > + ) => + new APIPromise( + (rollingReleaseStartRollingRelease$module ??= import( + "../funcs/rollingReleaseStartRollingRelease.js" + ).catch((error: unknown) => { + rollingReleaseStartRollingRelease$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseStartRollingRelease(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseStartRollingRelease.js").rollingReleaseStartRollingRelease; + +let rollingReleaseCompleteRollingRelease$module: + | Promise + | undefined; +const rollingReleaseCompleteRollingRelease = + (( + ...args: Parameters< + typeof import("../funcs/rollingReleaseCompleteRollingRelease.js").rollingReleaseCompleteRollingRelease + > + ) => + new APIPromise( + (rollingReleaseCompleteRollingRelease$module ??= import( + "../funcs/rollingReleaseCompleteRollingRelease.js" + ).catch((error: unknown) => { + rollingReleaseCompleteRollingRelease$module = undefined; + throw error; + })).then((module) => + module.rollingReleaseCompleteRollingRelease(...args).$inspect() + ), + )) as typeof import("../funcs/rollingReleaseCompleteRollingRelease.js").rollingReleaseCompleteRollingRelease; + +export class RollingRelease extends ClientSDK { + /** + * Get rolling release billing status + * + * @remarks + * Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases. + */ + async getRollingReleaseBillingStatus( + request: GetRollingReleaseBillingStatusRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseGetRollingReleaseBillingStatus( + this, + request, + options, + )); + } + + /** + * Get rolling release configuration + * + * @remarks + * Get the Rolling Releases configuration for a project. The project-level config is simply a template that will be used for any future rolling release, and not the configuration for any active rolling release. + */ + async getRollingReleaseConfig( + request: GetRollingReleaseConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseGetRollingReleaseConfig( + this, + request, + options, + )); + } + + /** + * Delete rolling release configuration + * + * @remarks + * Disable Rolling Releases for a project means that future deployments will not undergo a rolling release. Changing the config never alters a rollout that's already in-flight—it only affects the next production deployment. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint. + */ + async deleteRollingReleaseConfig( + request: DeleteRollingReleaseConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseDeleteRollingReleaseConfig( + this, + request, + options, + )); + } + + /** + * Update the rolling release settings for the project + * + * @remarks + * Update (or disable) Rolling Releases for a project. When disabling with the resolve-on-disable feature flag enabled, any active rolling release document is resolved using the disableRolloutAction parameter: "abort" to roll back (default), or "complete" to promote the canary to production. When enabling or updating config, changes only affect the next production deployment and do not alter a rollout that's already in-flight. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already. + */ + async updateRollingReleaseConfig( + request: UpdateRollingReleaseConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseUpdateRollingReleaseConfig( + this, + request, + options, + )); + } + + /** + * Get the active rolling release information for a project + * + * @remarks + * Return the Rolling Release for a project, regardless of whether the rollout is active, aborted, or completed. If the feature is enabled but no deployment has occurred yet, null will be returned. + */ + async getRollingRelease( + request: GetRollingReleaseRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseGetRollingRelease( + this, + request, + options, + )); + } + + /** + * Update the active rolling release to the next stage for a project + * + * @remarks + * Advance a rollout to the next stage. This is only needed when rolling releases is configured to require manual approval. + */ + async approveRollingReleaseStage( + request: ApproveRollingReleaseStageRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseApproveRollingReleaseStage( + this, + request, + options, + )); + } + + /** + * Start a rolling release for the project + * + * @remarks + * Start a rolling release for a deployment. If a rolling release is already active for the same canary deployment, returns the current state without side effects. + */ + async startRollingRelease( + request: StartRollingReleaseRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseStartRollingRelease( + this, + request, + options, + )); + } + + /** + * Complete the rolling release for the project + * + * @remarks + * Force-complete a Rolling Release. The canary deployment will begin serving 100% of the traffic. + */ + async completeRollingRelease( + request: CompleteRollingReleaseRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(rollingReleaseCompleteRollingRelease( + this, + request, + options, + )); + } +} diff --git a/src/sdk/sandboxes.lazy.ts b/src/sdk/sandboxes.lazy.ts new file mode 100644 index 0000000000..94b67b1e69 --- /dev/null +++ b/src/sdk/sandboxes.lazy.ts @@ -0,0 +1,1025 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateSandboxesSessionsBySessionIdSnapshotV2Request, + CreateSandboxesSessionsBySessionIdSnapshotV2ResponseBody, +} from "../models/createsandboxessessionsbysessionidsnapshotv2op.js"; +import { + CreateSandboxesSessionsBySessionIdSnapshotV3Request, + CreateSandboxesSessionsBySessionIdSnapshotV3ResponseBody, +} from "../models/createsandboxessessionsbysessionidsnapshotv3op.js"; +import { + CreateSessionDirectoryRequest, + CreateSessionDirectoryResponseBody, +} from "../models/createsessiondirectoryop.js"; +import { + DeleteDriveRequest, + DeleteDriveResponseBody, +} from "../models/deletedriveop.js"; +import { + DeleteSandboxRequest, + DeleteSandboxResponseBody, +} from "../models/deletesandboxop.js"; +import { + DeleteSessionSnapshotRequest, + DeleteSessionSnapshotResponseBody, +} from "../models/deletesessionsnapshotop.js"; +import { + ExtendSessionTimeoutRequest, + ExtendSessionTimeoutResponseBody, +} from "../models/extendsessiontimeoutop.js"; +import { + ForkDriveRequest, + ForkDriveResponseBody, +} from "../models/forkdriveop.js"; +import { GetDriveRequest, GetDriveResponseBody } from "../models/getdriveop.js"; +import { + GetNamedSandboxRequest, + GetNamedSandboxResponseBody, +} from "../models/getnamedsandboxop.js"; +import { + GetOrCreateDriveRequest, + GetOrCreateDriveResponse, +} from "../models/getorcreatedriveop.js"; +import { + GetSessionCommandRequest, + GetSessionCommandResponseBody, +} from "../models/getsessioncommandop.js"; +import { + GetSessionRequest, + GetSessionResponseBody, +} from "../models/getsessionop.js"; +import { + GetSessionSnapshotRequest, + GetSessionSnapshotResponseBody, +} from "../models/getsessionsnapshotop.js"; +import { + KillSessionCommandRequest, + KillSessionCommandResponseBody, +} from "../models/killsessioncommandop.js"; +import { + ListDrivesRequest, + ListDrivesResponseBody, +} from "../models/listdrivesop.js"; +import { + ListNamedSandboxesRequest, + ListNamedSandboxesResponseBody, +} from "../models/listnamedsandboxesop.js"; +import { + ListSessionCommandsRequest, + ListSessionCommandsResponseBody, +} from "../models/listsessioncommandsop.js"; +import { + ListSessionSnapshotsRequest, + ListSessionSnapshotsResponseBody, +} from "../models/listsessionsnapshotsop.js"; +import { + ListSessionsRequest, + ListSessionsResponseBody, +} from "../models/listsessionsop.js"; +import { ReadSessionFileRequest } from "../models/readsessionfileop.js"; +import { + StopSessionRequest, + StopSessionResponseBody, +} from "../models/stopsessionop.js"; +import { + UpdateSessionNetworkPolicyRequest, + UpdateSessionNetworkPolicyResponseBody, +} from "../models/updatesessionnetworkpolicyop.js"; +import { + WriteSessionCommandStdinRequest, + WriteSessionCommandStdinResponseBody, +} from "../models/writesessioncommandstdinop.js"; +import { + WriteSessionFilesRequest, + WriteSessionFilesResponseBody, +} from "../models/writesessionfilesop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let sandboxesListNamedSandboxes$module: + | Promise + | undefined; +const sandboxesListNamedSandboxes = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesListNamedSandboxes.js").sandboxesListNamedSandboxes + > + ) => + new APIPromise( + (sandboxesListNamedSandboxes$module ??= import( + "../funcs/sandboxesListNamedSandboxes.js" + ).catch((error: unknown) => { + sandboxesListNamedSandboxes$module = undefined; + throw error; + })).then((module) => + module.sandboxesListNamedSandboxes(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesListNamedSandboxes.js").sandboxesListNamedSandboxes; + +let sandboxesListDrives$module: + | Promise + | undefined; +const sandboxesListDrives = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesListDrives.js").sandboxesListDrives + > + ) => + new APIPromise( + (sandboxesListDrives$module ??= import("../funcs/sandboxesListDrives.js") + .catch((error: unknown) => { + sandboxesListDrives$module = undefined; + throw error; + })).then((module) => module.sandboxesListDrives(...args).$inspect()), + )) as typeof import("../funcs/sandboxesListDrives.js").sandboxesListDrives; + +let sandboxesGetDrive$module: + | Promise + | undefined; +const sandboxesGetDrive = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetDrive.js").sandboxesGetDrive + > + ) => + new APIPromise( + (sandboxesGetDrive$module ??= import("../funcs/sandboxesGetDrive.js") + .catch((error: unknown) => { + sandboxesGetDrive$module = undefined; + throw error; + })).then((module) => module.sandboxesGetDrive(...args).$inspect()), + )) as typeof import("../funcs/sandboxesGetDrive.js").sandboxesGetDrive; + +let sandboxesDeleteDrive$module: + | Promise + | undefined; +const sandboxesDeleteDrive = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesDeleteDrive.js").sandboxesDeleteDrive + > + ) => + new APIPromise( + (sandboxesDeleteDrive$module ??= import( + "../funcs/sandboxesDeleteDrive.js" + ).catch((error: unknown) => { + sandboxesDeleteDrive$module = undefined; + throw error; + })).then((module) => module.sandboxesDeleteDrive(...args).$inspect()), + )) as typeof import("../funcs/sandboxesDeleteDrive.js").sandboxesDeleteDrive; + +let sandboxesGetOrCreateDrive$module: + | Promise + | undefined; +const sandboxesGetOrCreateDrive = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetOrCreateDrive.js").sandboxesGetOrCreateDrive + > + ) => + new APIPromise( + (sandboxesGetOrCreateDrive$module ??= import( + "../funcs/sandboxesGetOrCreateDrive.js" + ).catch((error: unknown) => { + sandboxesGetOrCreateDrive$module = undefined; + throw error; + })).then((module) => + module.sandboxesGetOrCreateDrive(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesGetOrCreateDrive.js").sandboxesGetOrCreateDrive; + +let sandboxesForkDrive$module: + | Promise + | undefined; +const sandboxesForkDrive = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesForkDrive.js").sandboxesForkDrive + > + ) => + new APIPromise( + (sandboxesForkDrive$module ??= import("../funcs/sandboxesForkDrive.js") + .catch((error: unknown) => { + sandboxesForkDrive$module = undefined; + throw error; + })).then((module) => module.sandboxesForkDrive(...args).$inspect()), + )) as typeof import("../funcs/sandboxesForkDrive.js").sandboxesForkDrive; + +let sandboxesListSessionSnapshots$module: + | Promise + | undefined; +const sandboxesListSessionSnapshots = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesListSessionSnapshots.js").sandboxesListSessionSnapshots + > + ) => + new APIPromise( + (sandboxesListSessionSnapshots$module ??= import( + "../funcs/sandboxesListSessionSnapshots.js" + ).catch((error: unknown) => { + sandboxesListSessionSnapshots$module = undefined; + throw error; + })).then((module) => + module.sandboxesListSessionSnapshots(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesListSessionSnapshots.js").sandboxesListSessionSnapshots; + +let sandboxesGetSessionSnapshot$module: + | Promise + | undefined; +const sandboxesGetSessionSnapshot = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetSessionSnapshot.js").sandboxesGetSessionSnapshot + > + ) => + new APIPromise( + (sandboxesGetSessionSnapshot$module ??= import( + "../funcs/sandboxesGetSessionSnapshot.js" + ).catch((error: unknown) => { + sandboxesGetSessionSnapshot$module = undefined; + throw error; + })).then((module) => + module.sandboxesGetSessionSnapshot(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesGetSessionSnapshot.js").sandboxesGetSessionSnapshot; + +let sandboxesDeleteSessionSnapshot$module: + | Promise + | undefined; +const sandboxesDeleteSessionSnapshot = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesDeleteSessionSnapshot.js").sandboxesDeleteSessionSnapshot + > + ) => + new APIPromise( + (sandboxesDeleteSessionSnapshot$module ??= import( + "../funcs/sandboxesDeleteSessionSnapshot.js" + ).catch((error: unknown) => { + sandboxesDeleteSessionSnapshot$module = undefined; + throw error; + })).then((module) => + module.sandboxesDeleteSessionSnapshot(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesDeleteSessionSnapshot.js").sandboxesDeleteSessionSnapshot; + +let sandboxesListSessions$module: + | Promise + | undefined; +const sandboxesListSessions = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesListSessions.js").sandboxesListSessions + > + ) => + new APIPromise( + (sandboxesListSessions$module ??= import( + "../funcs/sandboxesListSessions.js" + ).catch((error: unknown) => { + sandboxesListSessions$module = undefined; + throw error; + })).then((module) => module.sandboxesListSessions(...args).$inspect()), + )) as typeof import("../funcs/sandboxesListSessions.js").sandboxesListSessions; + +let sandboxesGetSession$module: + | Promise + | undefined; +const sandboxesGetSession = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetSession.js").sandboxesGetSession + > + ) => + new APIPromise( + (sandboxesGetSession$module ??= import("../funcs/sandboxesGetSession.js") + .catch((error: unknown) => { + sandboxesGetSession$module = undefined; + throw error; + })).then((module) => module.sandboxesGetSession(...args).$inspect()), + )) as typeof import("../funcs/sandboxesGetSession.js").sandboxesGetSession; + +let sandboxesGetNamedSandbox$module: + | Promise + | undefined; +const sandboxesGetNamedSandbox = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetNamedSandbox.js").sandboxesGetNamedSandbox + > + ) => + new APIPromise( + (sandboxesGetNamedSandbox$module ??= import( + "../funcs/sandboxesGetNamedSandbox.js" + ).catch((error: unknown) => { + sandboxesGetNamedSandbox$module = undefined; + throw error; + })).then((module) => module.sandboxesGetNamedSandbox(...args).$inspect()), + )) as typeof import("../funcs/sandboxesGetNamedSandbox.js").sandboxesGetNamedSandbox; + +let sandboxesDeleteSandbox$module: + | Promise + | undefined; +const sandboxesDeleteSandbox = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesDeleteSandbox.js").sandboxesDeleteSandbox + > + ) => + new APIPromise( + (sandboxesDeleteSandbox$module ??= import( + "../funcs/sandboxesDeleteSandbox.js" + ).catch((error: unknown) => { + sandboxesDeleteSandbox$module = undefined; + throw error; + })).then((module) => module.sandboxesDeleteSandbox(...args).$inspect()), + )) as typeof import("../funcs/sandboxesDeleteSandbox.js").sandboxesDeleteSandbox; + +let sandboxesListSessionCommands$module: + | Promise + | undefined; +const sandboxesListSessionCommands = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesListSessionCommands.js").sandboxesListSessionCommands + > + ) => + new APIPromise( + (sandboxesListSessionCommands$module ??= import( + "../funcs/sandboxesListSessionCommands.js" + ).catch((error: unknown) => { + sandboxesListSessionCommands$module = undefined; + throw error; + })).then((module) => + module.sandboxesListSessionCommands(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesListSessionCommands.js").sandboxesListSessionCommands; + +let sandboxesGetSessionCommand$module: + | Promise + | undefined; +const sandboxesGetSessionCommand = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesGetSessionCommand.js").sandboxesGetSessionCommand + > + ) => + new APIPromise( + (sandboxesGetSessionCommand$module ??= import( + "../funcs/sandboxesGetSessionCommand.js" + ).catch((error: unknown) => { + sandboxesGetSessionCommand$module = undefined; + throw error; + })).then((module) => + module.sandboxesGetSessionCommand(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesGetSessionCommand.js").sandboxesGetSessionCommand; + +let sandboxesKillSessionCommand$module: + | Promise + | undefined; +const sandboxesKillSessionCommand = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesKillSessionCommand.js").sandboxesKillSessionCommand + > + ) => + new APIPromise( + (sandboxesKillSessionCommand$module ??= import( + "../funcs/sandboxesKillSessionCommand.js" + ).catch((error: unknown) => { + sandboxesKillSessionCommand$module = undefined; + throw error; + })).then((module) => + module.sandboxesKillSessionCommand(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesKillSessionCommand.js").sandboxesKillSessionCommand; + +let sandboxesWriteSessionCommandStdin$module: + | Promise + | undefined; +const sandboxesWriteSessionCommandStdin = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesWriteSessionCommandStdin.js").sandboxesWriteSessionCommandStdin + > + ) => + new APIPromise( + (sandboxesWriteSessionCommandStdin$module ??= import( + "../funcs/sandboxesWriteSessionCommandStdin.js" + ).catch((error: unknown) => { + sandboxesWriteSessionCommandStdin$module = undefined; + throw error; + })).then((module) => + module.sandboxesWriteSessionCommandStdin(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesWriteSessionCommandStdin.js").sandboxesWriteSessionCommandStdin; + +let sandboxesStopSession$module: + | Promise + | undefined; +const sandboxesStopSession = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesStopSession.js").sandboxesStopSession + > + ) => + new APIPromise( + (sandboxesStopSession$module ??= import( + "../funcs/sandboxesStopSession.js" + ).catch((error: unknown) => { + sandboxesStopSession$module = undefined; + throw error; + })).then((module) => module.sandboxesStopSession(...args).$inspect()), + )) as typeof import("../funcs/sandboxesStopSession.js").sandboxesStopSession; + +let sandboxesExtendSessionTimeout$module: + | Promise + | undefined; +const sandboxesExtendSessionTimeout = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesExtendSessionTimeout.js").sandboxesExtendSessionTimeout + > + ) => + new APIPromise( + (sandboxesExtendSessionTimeout$module ??= import( + "../funcs/sandboxesExtendSessionTimeout.js" + ).catch((error: unknown) => { + sandboxesExtendSessionTimeout$module = undefined; + throw error; + })).then((module) => + module.sandboxesExtendSessionTimeout(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesExtendSessionTimeout.js").sandboxesExtendSessionTimeout; + +let sandboxesUpdateSessionNetworkPolicy$module: + | Promise + | undefined; +const sandboxesUpdateSessionNetworkPolicy = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesUpdateSessionNetworkPolicy.js").sandboxesUpdateSessionNetworkPolicy + > + ) => + new APIPromise( + (sandboxesUpdateSessionNetworkPolicy$module ??= import( + "../funcs/sandboxesUpdateSessionNetworkPolicy.js" + ).catch((error: unknown) => { + sandboxesUpdateSessionNetworkPolicy$module = undefined; + throw error; + })).then((module) => + module.sandboxesUpdateSessionNetworkPolicy(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesUpdateSessionNetworkPolicy.js").sandboxesUpdateSessionNetworkPolicy; + +let sandboxesReadSessionFile$module: + | Promise + | undefined; +const sandboxesReadSessionFile = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesReadSessionFile.js").sandboxesReadSessionFile + > + ) => + new APIPromise( + (sandboxesReadSessionFile$module ??= import( + "../funcs/sandboxesReadSessionFile.js" + ).catch((error: unknown) => { + sandboxesReadSessionFile$module = undefined; + throw error; + })).then((module) => module.sandboxesReadSessionFile(...args).$inspect()), + )) as typeof import("../funcs/sandboxesReadSessionFile.js").sandboxesReadSessionFile; + +let sandboxesCreateSessionDirectory$module: + | Promise + | undefined; +const sandboxesCreateSessionDirectory = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesCreateSessionDirectory.js").sandboxesCreateSessionDirectory + > + ) => + new APIPromise( + (sandboxesCreateSessionDirectory$module ??= import( + "../funcs/sandboxesCreateSessionDirectory.js" + ).catch((error: unknown) => { + sandboxesCreateSessionDirectory$module = undefined; + throw error; + })).then((module) => + module.sandboxesCreateSessionDirectory(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesCreateSessionDirectory.js").sandboxesCreateSessionDirectory; + +let sandboxesWriteSessionFiles$module: + | Promise + | undefined; +const sandboxesWriteSessionFiles = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesWriteSessionFiles.js").sandboxesWriteSessionFiles + > + ) => + new APIPromise( + (sandboxesWriteSessionFiles$module ??= import( + "../funcs/sandboxesWriteSessionFiles.js" + ).catch((error: unknown) => { + sandboxesWriteSessionFiles$module = undefined; + throw error; + })).then((module) => + module.sandboxesWriteSessionFiles(...args).$inspect() + ), + )) as typeof import("../funcs/sandboxesWriteSessionFiles.js").sandboxesWriteSessionFiles; + +let sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2$module: + | Promise< + typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.js") + > + | undefined; +const sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2 = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.js").sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2 + > + ) => + new APIPromise( + (sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2$module ??= import( + "../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.js" + ).catch((error: unknown) => { + sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2$module = + undefined; + throw error; + })).then((module) => + module.sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2(...args) + .$inspect() + ), + )) as typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2.js").sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2; + +let sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3$module: + | Promise< + typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.js") + > + | undefined; +const sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3 = + (( + ...args: Parameters< + typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.js").sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3 + > + ) => + new APIPromise( + (sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3$module ??= import( + "../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.js" + ).catch((error: unknown) => { + sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3$module = + undefined; + throw error; + })).then((module) => + module.sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3(...args) + .$inspect() + ), + )) as typeof import("../funcs/sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3.js").sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3; + +export class Sandboxes extends ClientSDK { + /** + * List sandboxes + * + * @remarks + * Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix or status. Overdue sessions for running and stopping sandboxes are recovered before returning the page, so an entry may no longer match its queried status after recovery. + */ + async listNamedSandboxes( + request: ListNamedSandboxesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesListNamedSandboxes( + this, + request, + options, + )); + } + + /** + * Deprecated: Use GET /v1/drives. Requires the read:drive app scope instead of read:sandbox, and drive:list instead of vercelRun:read. List drives + * + * @remarks + * Retrieves a paginated list of drives belonging to a specific project. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async listDrives( + request: ListDrivesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesListDrives( + this, + request, + options, + )); + } + + /** + * Deprecated: Use GET /v1/drives/:nameOrId. Requires the read:drive app scope instead of read:sandbox, and drive:read instead of vercelRun:read. Get a drive + * + * @remarks + * Gets an existing drive by project and name or drive ID. Returns 404 if doesn't exist. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async getDrive( + request: GetDriveRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetDrive( + this, + request, + options, + )); + } + + /** + * Deprecated: Use DELETE /v1/drives/:nameOrId. Requires the read-write:drive app scope instead of read-write:sandbox, and drive:delete instead of vercelRun:delete. + * Emits drive-deleted activity events instead of sandbox-drive-deleted. Delete a drive + * + * @remarks + * Deletes a drive by project and name or drive ID. Attached drives cannot be deleted. Stop or replace the session currently using the drive before retrying deletion. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async deleteDrive( + request: DeleteDriveRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesDeleteDrive( + this, + request, + options, + )); + } + + /** + * Deprecated: Use POST /v1/drives/:name. Requires the read-write:drive app scope instead of read-write:sandbox, and drive:create instead of vercelRun:create. + * Emits drive-created activity events instead of sandbox-drive-created. Get or create a drive + * + * @remarks + * Gets an existing drive by project and name, or creates it when it does not exist. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async getOrCreateDrive( + request: GetOrCreateDriveRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetOrCreateDrive( + this, + request, + options, + )); + } + + /** + * Deprecated: Use POST /v1/drives/:name/fork. Requires the read-write:drive app scope instead of read-write:sandbox, and drive:read and drive:create instead of vercelRun:read and vercelRun:create. + * Emits drive-created activity events instead of sandbox-drive-created. Fork a drive + * + * @remarks + * Fork the provided drive into a new one with the provided name, inheriting the region and max size. + * + * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. + */ + async forkDrive( + request: ForkDriveRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesForkDrive( + this, + request, + options, + )); + } + + /** + * List snapshots + * + * @remarks + * Retrieves a paginated list of snapshots for a specific project. + */ + async listSessionSnapshots( + request: ListSessionSnapshotsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesListSessionSnapshots( + this, + request, + options, + )); + } + + /** + * Get a snapshot + * + * @remarks + * Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from. + */ + async getSessionSnapshot( + request: GetSessionSnapshotRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetSessionSnapshot( + this, + request, + options, + )); + } + + /** + * Delete a snapshot + * + * @remarks + * Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions. + */ + async deleteSessionSnapshot( + request: DeleteSessionSnapshotRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesDeleteSessionSnapshot( + this, + request, + options, + )); + } + + /** + * List sessions + * + * @remarks + * Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor. + */ + async listSessions( + request: ListSessionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesListSessions( + this, + request, + options, + )); + } + + /** + * Get a session + * + * @remarks + * Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes. + */ + async getSession( + request: GetSessionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetSession( + this, + request, + options, + )); + } + + /** + * Get a named sandbox + * + * @remarks + * Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. Returns 404 if the named sandbox or its configuration no longer exists. + */ + async getNamedSandbox( + request: GetNamedSandboxRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetNamedSandbox( + this, + request, + options, + )); + } + + /** + * Delete a sandbox + * + * @remarks + * Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. When the config item is already missing, the returned sandbox uses stored metadata and defaults; config fields may be stale. + */ + async deleteSandbox( + request: DeleteSandboxRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesDeleteSandbox( + this, + request, + options, + )); + } + + /** + * List commands + * + * @remarks + * Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest. + */ + async listSessionCommands( + request: ListSessionCommandsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesListSessionCommands( + this, + request, + options, + )); + } + + /** + * Get a command + * + * @remarks + * Retrieves the current status and details of a command executed in a session. Without `wait`, the stored command is returned as-is: its `exitCode` is `null` unless a previous request waited for the command to finish. Set `wait` to `true` to block until the command finishes and get its exit code. + */ + async getSessionCommand( + request: GetSessionCommandRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesGetSessionCommand( + this, + request, + options, + )); + } + + /** + * Kill a command + * + * @remarks + * Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. + */ + async killSessionCommand( + request: KillSessionCommandRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesKillSessionCommand( + this, + request, + options, + )); + } + + /** + * Write to command stdin + * + * @remarks + * Writes data to the stdin of a running command, and optionally closes it. The command must have been started with `attachStdin` set to true. Writes are applied in the order they are received. Send them one at a time to keep the data in order. A write returns once the command has accepted the data, and fails with a 504 after 30 seconds if the command is not reading stdin. Each write counts against the sandbox control plane rate limit, so batch small writes where possible. Set `offset` to the position in stdin where `data` starts to make a request safe to resend, for example after a 502 or 504: bytes the command has already received are skipped, and an offset past them fails with a 409. The response returns `bytesWritten`, the total written so far, and a 504 includes it in the error when the sandbox reports it. A request with no `data` and no `close` writes nothing and returns it. + */ + async writeSessionCommandStdin( + request: WriteSessionCommandStdinRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesWriteSessionCommandStdin( + this, + request, + options, + )); + } + + /** + * Stop a session + * + * @remarks + * Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted. + */ + async stopSession( + request: StopSessionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesStopSession( + this, + request, + options, + )); + } + + /** + * Extend session timeout + * + * @remarks + * Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. + */ + async extendSessionTimeout( + request: ExtendSessionTimeoutRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesExtendSessionTimeout( + this, + request, + options, + )); + } + + /** + * Update network policy + * + * @remarks + * Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. + */ + async updateSessionNetworkPolicy( + request: UpdateSessionNetworkPolicyRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesUpdateSessionNetworkPolicy( + this, + request, + options, + )); + } + + /** + * Read a file + * + * @remarks + * Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. + */ + async readSessionFile( + request: ReadSessionFileRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(sandboxesReadSessionFile( + this, + request, + options, + )); + } + + /** + * Create a directory + * + * @remarks + * Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). + */ + async createSessionDirectory( + request: CreateSessionDirectoryRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesCreateSessionDirectory( + this, + request, + options, + )); + } + + /** + * Write files + * + * @remarks + * Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header. + */ + async writeSessionFiles( + request: WriteSessionFilesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesWriteSessionFiles( + this, + request, + options, + )); + } + + /** + * Create a snapshot + * + * @remarks + * Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. + */ + async createSandboxesSessionsBySessionIdSnapshotV2( + request: CreateSandboxesSessionsBySessionIdSnapshotV2Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesCreateSandboxesSessionsBySessionIdSnapshotV2( + this, + request, + options, + )); + } + + /** + * Create a snapshot + * + * @remarks + * Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. Unlike v2, snapshots expire after 7 days when neither the request nor the sandbox configuration specifies an expiration. + */ + async createSandboxesSessionsBySessionIdSnapshotV3( + request: CreateSandboxesSessionsBySessionIdSnapshotV3Request, + options?: RequestOptions, + ): Promise { + return unwrapAsync(sandboxesCreateSandboxesSessionsBySessionIdSnapshotV3( + this, + request, + options, + )); + } +} diff --git a/src/sdk/sdk.lazy.ts b/src/sdk/sdk.lazy.ts new file mode 100644 index 0000000000..707e05a459 --- /dev/null +++ b/src/sdk/sdk.lazy.ts @@ -0,0 +1,546 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateApiKeysRequestBody, + CreateApiKeysResponseBody, +} from "../models/createapikeysop.js"; +import { + CreateObservabilityQueryRequestBody, + CreateObservabilityQueryResponseBody, +} from "../models/createobservabilityqueryop.js"; +import { + CreateSpeedInsightsToggleRequest, + CreateSpeedInsightsToggleResponseBody, +} from "../models/createspeedinsightstoggleop.js"; +import { + CreateWebInsightsToggleRequest, + CreateWebInsightsToggleResponseBody, +} from "../models/createwebinsightstoggleop.js"; +import { + GetDomainsRecordsByRecordIdRequest, + GetDomainsRecordsByRecordIdResponseBody, +} from "../models/getdomainsrecordsbyrecordidop.js"; +import { + GetObservabilitySchemaByMetricIdRequest, + ResponseBody, +} from "../models/getobservabilityschemabymetricidop.js"; +import { GetObservabilitySchemaResponseBody } from "../models/getobservabilityschemaop.js"; +import { + ReplaceDomainsByDomainRecordsRequest, + ReplaceDomainsByDomainRecordsResponseBody, +} from "../models/replacedomainsbydomainrecordsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; +import { AccessGroups } from "./accessgroups.lazy.js"; +import { AiGateway } from "./aigateway.lazy.js"; +import { Aliases } from "./aliases.lazy.js"; +import { Artifacts } from "./artifacts.lazy.js"; +import { Authentication } from "./authentication.lazy.js"; +import { Billing } from "./billing.lazy.js"; +import { BulkRedirects } from "./bulkredirects.lazy.js"; +import { Certs } from "./certs.lazy.js"; +import { Checks } from "./checks.lazy.js"; +import { ChecksV2 } from "./checksv2.lazy.js"; +import { Connect } from "./connect.lazy.js"; +import { Daemons } from "./daemons.lazy.js"; +import { Deployments } from "./deployments.lazy.js"; +import { Dns } from "./dns.lazy.js"; +import { Domains } from "./domains.lazy.js"; +import { DomainsRegistrar } from "./domainsregistrar.lazy.js"; +import { Drains } from "./drains.lazy.js"; +import { Drives } from "./drives.lazy.js"; +import { EdgeCache } from "./edgecache.lazy.js"; +import { Environment } from "./environment.lazy.js"; +import { FeatureFlags } from "./featureflags.lazy.js"; +import { GlobalConfig } from "./globalconfig.lazy.js"; +import { Integrations } from "./integrations.lazy.js"; +import { Kms } from "./kms.lazy.js"; +import { LogDrains } from "./logdrains.lazy.js"; +import { Logs } from "./logs.lazy.js"; +import { Marketplace } from "./marketplace.lazy.js"; +import { Microfrontends } from "./microfrontends.lazy.js"; +import { Networking } from "./networking.lazy.js"; +import { Observability } from "./observability.lazy.js"; +import { Organizations } from "./organizations.lazy.js"; +import { ProjectMembers } from "./projectmembers.lazy.js"; +import { ProjectRoutes } from "./projectroutes.lazy.js"; +import { Projects } from "./projects.lazy.js"; +import { RollingRelease } from "./rollingrelease.lazy.js"; +import { Sandboxes } from "./sandboxes.lazy.js"; +import { Security } from "./security.lazy.js"; +import { StaticIps } from "./staticips.lazy.js"; +import { Storage } from "./storage.lazy.js"; +import { Teams } from "./teams.lazy.js"; +import { User } from "./user.lazy.js"; +import { Vcr } from "./vcr.lazy.js"; +import { VercelCi } from "./vercelci.lazy.js"; +import { WebAnalytics } from "./webanalytics.lazy.js"; +import { Webhooks } from "./webhooks.lazy.js"; + +let replaceDomainsByDomainRecords$module: + | Promise + | undefined; +const replaceDomainsByDomainRecords = + (( + ...args: Parameters< + typeof import("../funcs/replaceDomainsByDomainRecords.js").replaceDomainsByDomainRecords + > + ) => + new APIPromise( + (replaceDomainsByDomainRecords$module ??= import( + "../funcs/replaceDomainsByDomainRecords.js" + ).catch((error: unknown) => { + replaceDomainsByDomainRecords$module = undefined; + throw error; + })).then((module) => + module.replaceDomainsByDomainRecords(...args).$inspect() + ), + )) as typeof import("../funcs/replaceDomainsByDomainRecords.js").replaceDomainsByDomainRecords; + +let getDomainsRecordsByRecordId$module: + | Promise + | undefined; +const getDomainsRecordsByRecordId = + (( + ...args: Parameters< + typeof import("../funcs/getDomainsRecordsByRecordId.js").getDomainsRecordsByRecordId + > + ) => + new APIPromise( + (getDomainsRecordsByRecordId$module ??= import( + "../funcs/getDomainsRecordsByRecordId.js" + ).catch((error: unknown) => { + getDomainsRecordsByRecordId$module = undefined; + throw error; + })).then((module) => + module.getDomainsRecordsByRecordId(...args).$inspect() + ), + )) as typeof import("../funcs/getDomainsRecordsByRecordId.js").getDomainsRecordsByRecordId; + +let createApiKeys$module: + | Promise + | undefined; +const createApiKeys = + (( + ...args: Parameters< + typeof import("../funcs/createApiKeys.js").createApiKeys + > + ) => + new APIPromise( + (createApiKeys$module ??= import("../funcs/createApiKeys.js").catch( + (error: unknown) => { + createApiKeys$module = undefined; + throw error; + }, + )).then((module) => module.createApiKeys(...args).$inspect()), + )) as typeof import("../funcs/createApiKeys.js").createApiKeys; + +let createObservabilityQuery$module: + | Promise + | undefined; +const createObservabilityQuery = + (( + ...args: Parameters< + typeof import("../funcs/createObservabilityQuery.js").createObservabilityQuery + > + ) => + new APIPromise( + (createObservabilityQuery$module ??= import( + "../funcs/createObservabilityQuery.js" + ).catch((error: unknown) => { + createObservabilityQuery$module = undefined; + throw error; + })).then((module) => module.createObservabilityQuery(...args).$inspect()), + )) as typeof import("../funcs/createObservabilityQuery.js").createObservabilityQuery; + +let getObservabilitySchema$module: + | Promise + | undefined; +const getObservabilitySchema = + (( + ...args: Parameters< + typeof import("../funcs/getObservabilitySchema.js").getObservabilitySchema + > + ) => + new APIPromise( + (getObservabilitySchema$module ??= import( + "../funcs/getObservabilitySchema.js" + ).catch((error: unknown) => { + getObservabilitySchema$module = undefined; + throw error; + })).then((module) => module.getObservabilitySchema(...args).$inspect()), + )) as typeof import("../funcs/getObservabilitySchema.js").getObservabilitySchema; + +let getObservabilitySchemaByMetricId$module: + | Promise + | undefined; +const getObservabilitySchemaByMetricId = + (( + ...args: Parameters< + typeof import("../funcs/getObservabilitySchemaByMetricId.js").getObservabilitySchemaByMetricId + > + ) => + new APIPromise( + (getObservabilitySchemaByMetricId$module ??= import( + "../funcs/getObservabilitySchemaByMetricId.js" + ).catch((error: unknown) => { + getObservabilitySchemaByMetricId$module = undefined; + throw error; + })).then((module) => + module.getObservabilitySchemaByMetricId(...args).$inspect() + ), + )) as typeof import("../funcs/getObservabilitySchemaByMetricId.js").getObservabilitySchemaByMetricId; + +let createSpeedInsightsToggle$module: + | Promise + | undefined; +const createSpeedInsightsToggle = + (( + ...args: Parameters< + typeof import("../funcs/createSpeedInsightsToggle.js").createSpeedInsightsToggle + > + ) => + new APIPromise( + (createSpeedInsightsToggle$module ??= import( + "../funcs/createSpeedInsightsToggle.js" + ).catch((error: unknown) => { + createSpeedInsightsToggle$module = undefined; + throw error; + })).then((module) => + module.createSpeedInsightsToggle(...args).$inspect() + ), + )) as typeof import("../funcs/createSpeedInsightsToggle.js").createSpeedInsightsToggle; + +let createWebInsightsToggle$module: + | Promise + | undefined; +const createWebInsightsToggle = + (( + ...args: Parameters< + typeof import("../funcs/createWebInsightsToggle.js").createWebInsightsToggle + > + ) => + new APIPromise( + (createWebInsightsToggle$module ??= import( + "../funcs/createWebInsightsToggle.js" + ).catch((error: unknown) => { + createWebInsightsToggle$module = undefined; + throw error; + })).then((module) => module.createWebInsightsToggle(...args).$inspect()), + )) as typeof import("../funcs/createWebInsightsToggle.js").createWebInsightsToggle; + +export class Vercel extends ClientSDK { + private _accessGroups?: AccessGroups; + get accessGroups(): AccessGroups { + return (this._accessGroups ??= new AccessGroups(this._options)); + } + + private _aiGateway?: AiGateway; + get aiGateway(): AiGateway { + return (this._aiGateway ??= new AiGateway(this._options)); + } + + private _artifacts?: Artifacts; + get artifacts(): Artifacts { + return (this._artifacts ??= new Artifacts(this._options)); + } + + private _billing?: Billing; + get billing(): Billing { + return (this._billing ??= new Billing(this._options)); + } + + private _bulkRedirects?: BulkRedirects; + get bulkRedirects(): BulkRedirects { + return (this._bulkRedirects ??= new BulkRedirects(this._options)); + } + + private _checksV2?: ChecksV2; + get checksV2(): ChecksV2 { + return (this._checksV2 ??= new ChecksV2(this._options)); + } + + private _checks?: Checks; + get checks(): Checks { + return (this._checks ??= new Checks(this._options)); + } + + private _networking?: Networking; + get networking(): Networking { + return (this._networking ??= new Networking(this._options)); + } + + private _connect?: Connect; + get connect(): Connect { + return (this._connect ??= new Connect(this._options)); + } + + private _daemons?: Daemons; + get daemons(): Daemons { + return (this._daemons ??= new Daemons(this._options)); + } + + private _deployments?: Deployments; + get deployments(): Deployments { + return (this._deployments ??= new Deployments(this._options)); + } + + private _integrations?: Integrations; + get integrations(): Integrations { + return (this._integrations ??= new Integrations(this._options)); + } + + private _dns?: Dns; + get dns(): Dns { + return (this._dns ??= new Dns(this._options)); + } + + private _domainsRegistrar?: DomainsRegistrar; + get domainsRegistrar(): DomainsRegistrar { + return (this._domainsRegistrar ??= new DomainsRegistrar(this._options)); + } + + private _domains?: Domains; + get domains(): Domains { + return (this._domains ??= new Domains(this._options)); + } + + private _logDrains?: LogDrains; + get logDrains(): LogDrains { + return (this._logDrains ??= new LogDrains(this._options)); + } + + private _drains?: Drains; + get drains(): Drains { + return (this._drains ??= new Drains(this._options)); + } + + private _drives?: Drives; + get drives(): Drives { + return (this._drives ??= new Drives(this._options)); + } + + private _edgeCache?: EdgeCache; + get edgeCache(): EdgeCache { + return (this._edgeCache ??= new EdgeCache(this._options)); + } + + private _globalConfig?: GlobalConfig; + get globalConfig(): GlobalConfig { + return (this._globalConfig ??= new GlobalConfig(this._options)); + } + + private _environment?: Environment; + get environment(): Environment { + return (this._environment ??= new Environment(this._options)); + } + + private _user?: User; + get user(): User { + return (this._user ??= new User(this._options)); + } + + private _featureFlags?: FeatureFlags; + get featureFlags(): FeatureFlags { + return (this._featureFlags ??= new FeatureFlags(this._options)); + } + + private _marketplace?: Marketplace; + get marketplace(): Marketplace { + return (this._marketplace ??= new Marketplace(this._options)); + } + + private _authentication?: Authentication; + get authentication(): Authentication { + return (this._authentication ??= new Authentication(this._options)); + } + + private _kms?: Kms; + get kms(): Kms { + return (this._kms ??= new Kms(this._options)); + } + + private _logs?: Logs; + get logs(): Logs { + return (this._logs ??= new Logs(this._options)); + } + + private _microfrontends?: Microfrontends; + get microfrontends(): Microfrontends { + return (this._microfrontends ??= new Microfrontends(this._options)); + } + + private _observability?: Observability; + get observability(): Observability { + return (this._observability ??= new Observability(this._options)); + } + + private _organizations?: Organizations; + get organizations(): Organizations { + return (this._organizations ??= new Organizations(this._options)); + } + + private _projectMembers?: ProjectMembers; + get projectMembers(): ProjectMembers { + return (this._projectMembers ??= new ProjectMembers(this._options)); + } + + private _projectRoutes?: ProjectRoutes; + get projectRoutes(): ProjectRoutes { + return (this._projectRoutes ??= new ProjectRoutes(this._options)); + } + + private _projects?: Projects; + get projects(): Projects { + return (this._projects ??= new Projects(this._options)); + } + + private _staticIps?: StaticIps; + get staticIps(): StaticIps { + return (this._staticIps ??= new StaticIps(this._options)); + } + + private _rollingRelease?: RollingRelease; + get rollingRelease(): RollingRelease { + return (this._rollingRelease ??= new RollingRelease(this._options)); + } + + private _sandboxes?: Sandboxes; + get sandboxes(): Sandboxes { + return (this._sandboxes ??= new Sandboxes(this._options)); + } + + private _security?: Security; + get security(): Security { + return (this._security ??= new Security(this._options)); + } + + private _storage?: Storage; + get storage(): Storage { + return (this._storage ??= new Storage(this._options)); + } + + private _teams?: Teams; + get teams(): Teams { + return (this._teams ??= new Teams(this._options)); + } + + private _vcr?: Vcr; + get vcr(): Vcr { + return (this._vcr ??= new Vcr(this._options)); + } + + private _vercelCi?: VercelCi; + get vercelCi(): VercelCi { + return (this._vercelCi ??= new VercelCi(this._options)); + } + + private _webAnalytics?: WebAnalytics; + get webAnalytics(): WebAnalytics { + return (this._webAnalytics ??= new WebAnalytics(this._options)); + } + + private _webhooks?: Webhooks; + get webhooks(): Webhooks { + return (this._webhooks ??= new Webhooks(this._options)); + } + + private _aliases?: Aliases; + get aliases(): Aliases { + return (this._aliases ??= new Aliases(this._options)); + } + + private _certs?: Certs; + get certs(): Certs { + return (this._certs ??= new Certs(this._options)); + } + + async replaceDomainsByDomainRecords( + request: ReplaceDomainsByDomainRecordsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(replaceDomainsByDomainRecords( + this, + request, + options, + )); + } + + async getDomainsRecordsByRecordId( + request: GetDomainsRecordsByRecordIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(getDomainsRecordsByRecordId( + this, + request, + options, + )); + } + + async createApiKeys( + request?: CreateApiKeysRequestBody | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(createApiKeys( + this, + request, + options, + )); + } + + async createObservabilityQuery( + request?: CreateObservabilityQueryRequestBody | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(createObservabilityQuery( + this, + request, + options, + )); + } + + async getObservabilitySchema( + options?: RequestOptions, + ): Promise { + return unwrapAsync(getObservabilitySchema( + this, + options, + )); + } + + async getObservabilitySchemaByMetricId( + request: GetObservabilitySchemaByMetricIdRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(getObservabilitySchemaByMetricId( + this, + request, + options, + )); + } + + async createSpeedInsightsToggle( + request: CreateSpeedInsightsToggleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(createSpeedInsightsToggle( + this, + request, + options, + )); + } + + async createWebInsightsToggle( + request: CreateWebInsightsToggleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(createWebInsightsToggle( + this, + request, + options, + )); + } +} diff --git a/src/sdk/security.lazy.ts b/src/sdk/security.lazy.ts new file mode 100644 index 0000000000..90c101f6dc --- /dev/null +++ b/src/sdk/security.lazy.ts @@ -0,0 +1,747 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AddBypassIpRequest, + AddBypassIpResponseBody, +} from "../models/addbypassipop.js"; +import { + CreateConditionalBypassRequest, + CreateConditionalBypassResponseBody, +} from "../models/createconditionalbypassop.js"; +import { + CreateSecurityFirewallConfigByConfigVersionActivateRequest, + CreateSecurityFirewallConfigByConfigVersionActivateResponseBody, +} from "../models/createsecurityfirewallconfigbyconfigversionactivateop.js"; +import { + DeleteConditionalBypassRequest, + DeleteConditionalBypassResponseBody, +} from "../models/deleteconditionalbypassop.js"; +import { + DeleteSecurityFirewallConfigByConfigVersionRequest, + DeleteSecurityFirewallConfigByConfigVersionResponseBody, +} from "../models/deletesecurityfirewallconfigbyconfigversionop.js"; +import { + GenerateFirewallRuleRequest, + GenerateFirewallRuleResponseBody, +} from "../models/generatefirewallruleop.js"; +import { + GetActiveAttackStatusRequest, + GetActiveAttackStatusResponseBody, +} from "../models/getactiveattackstatusop.js"; +import { + GetBypassIpRequest, + GetBypassIpResponseBody, +} from "../models/getbypassipop.js"; +import { + GetConditionalBypassRequest, + GetConditionalBypassResponseBody, +} from "../models/getconditionalbypassop.js"; +import { + GetFirewallConfigRequest, + GetFirewallConfigResponseBody, +} from "../models/getfirewallconfigop.js"; +import { GetSecurityFirewallConfigResponseBody } from "../models/getsecurityfirewallconfigresponsebody.js"; +import { + GetSecurityFirewallEventsRequest, + GetSecurityFirewallEventsResponseBody, +} from "../models/getsecurityfirewalleventsop.js"; +import { + GetSecurityFirewallEventsSummaryRequest, + GetSecurityFirewallEventsSummaryResponseBody, +} from "../models/getsecurityfirewalleventssummaryop.js"; +import { + PutFirewallConfigRequest, + PutFirewallConfigResponseBody, +} from "../models/putfirewallconfigop.js"; +import { + RemoveBypassIpRequest, + RemoveBypassIpResponseBody, +} from "../models/removebypassipop.js"; +import { + UpdateAttackChallengeModeRequest, + UpdateAttackChallengeModeResponseBody, +} from "../models/updateattackchallengemodeop.js"; +import { + UpdateConditionalBypassRequest, + UpdateConditionalBypassResponseBody, +} from "../models/updateconditionalbypassop.js"; +import { + UpdateFirewallConfigRequest, + UpdateFirewallConfigResponseBody, +} from "../models/updatefirewallconfigop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let securityUpdateAttackChallengeMode$module: + | Promise + | undefined; +const securityUpdateAttackChallengeMode = + (( + ...args: Parameters< + typeof import("../funcs/securityUpdateAttackChallengeMode.js").securityUpdateAttackChallengeMode + > + ) => + new APIPromise( + (securityUpdateAttackChallengeMode$module ??= import( + "../funcs/securityUpdateAttackChallengeMode.js" + ).catch((error: unknown) => { + securityUpdateAttackChallengeMode$module = undefined; + throw error; + })).then((module) => + module.securityUpdateAttackChallengeMode(...args).$inspect() + ), + )) as typeof import("../funcs/securityUpdateAttackChallengeMode.js").securityUpdateAttackChallengeMode; + +let securityGetSecurityFirewallConfig$module: + | Promise + | undefined; +const securityGetSecurityFirewallConfig = + (( + ...args: Parameters< + typeof import("../funcs/securityGetSecurityFirewallConfig.js").securityGetSecurityFirewallConfig + > + ) => + new APIPromise( + (securityGetSecurityFirewallConfig$module ??= import( + "../funcs/securityGetSecurityFirewallConfig.js" + ).catch((error: unknown) => { + securityGetSecurityFirewallConfig$module = undefined; + throw error; + })).then((module) => + module.securityGetSecurityFirewallConfig(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetSecurityFirewallConfig.js").securityGetSecurityFirewallConfig; + +let securityPutFirewallConfig$module: + | Promise + | undefined; +const securityPutFirewallConfig = + (( + ...args: Parameters< + typeof import("../funcs/securityPutFirewallConfig.js").securityPutFirewallConfig + > + ) => + new APIPromise( + (securityPutFirewallConfig$module ??= import( + "../funcs/securityPutFirewallConfig.js" + ).catch((error: unknown) => { + securityPutFirewallConfig$module = undefined; + throw error; + })).then((module) => + module.securityPutFirewallConfig(...args).$inspect() + ), + )) as typeof import("../funcs/securityPutFirewallConfig.js").securityPutFirewallConfig; + +let securityUpdateFirewallConfig$module: + | Promise + | undefined; +const securityUpdateFirewallConfig = + (( + ...args: Parameters< + typeof import("../funcs/securityUpdateFirewallConfig.js").securityUpdateFirewallConfig + > + ) => + new APIPromise( + (securityUpdateFirewallConfig$module ??= import( + "../funcs/securityUpdateFirewallConfig.js" + ).catch((error: unknown) => { + securityUpdateFirewallConfig$module = undefined; + throw error; + })).then((module) => + module.securityUpdateFirewallConfig(...args).$inspect() + ), + )) as typeof import("../funcs/securityUpdateFirewallConfig.js").securityUpdateFirewallConfig; + +let securityGetFirewallConfig$module: + | Promise + | undefined; +const securityGetFirewallConfig = + (( + ...args: Parameters< + typeof import("../funcs/securityGetFirewallConfig.js").securityGetFirewallConfig + > + ) => + new APIPromise( + (securityGetFirewallConfig$module ??= import( + "../funcs/securityGetFirewallConfig.js" + ).catch((error: unknown) => { + securityGetFirewallConfig$module = undefined; + throw error; + })).then((module) => + module.securityGetFirewallConfig(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetFirewallConfig.js").securityGetFirewallConfig; + +let securityDeleteSecurityFirewallConfigByConfigVersion$module: + | Promise< + typeof import("../funcs/securityDeleteSecurityFirewallConfigByConfigVersion.js") + > + | undefined; +const securityDeleteSecurityFirewallConfigByConfigVersion = + (( + ...args: Parameters< + typeof import("../funcs/securityDeleteSecurityFirewallConfigByConfigVersion.js").securityDeleteSecurityFirewallConfigByConfigVersion + > + ) => + new APIPromise( + (securityDeleteSecurityFirewallConfigByConfigVersion$module ??= import( + "../funcs/securityDeleteSecurityFirewallConfigByConfigVersion.js" + ).catch((error: unknown) => { + securityDeleteSecurityFirewallConfigByConfigVersion$module = undefined; + throw error; + })).then((module) => + module.securityDeleteSecurityFirewallConfigByConfigVersion(...args) + .$inspect() + ), + )) as typeof import("../funcs/securityDeleteSecurityFirewallConfigByConfigVersion.js").securityDeleteSecurityFirewallConfigByConfigVersion; + +let securityCreateSecurityFirewallConfigByConfigVersionActivate$module: + | Promise< + typeof import("../funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.js") + > + | undefined; +const securityCreateSecurityFirewallConfigByConfigVersionActivate = + (( + ...args: Parameters< + typeof import("../funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.js").securityCreateSecurityFirewallConfigByConfigVersionActivate + > + ) => + new APIPromise( + (securityCreateSecurityFirewallConfigByConfigVersionActivate$module ??= + import( + "../funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.js" + ).catch((error: unknown) => { + securityCreateSecurityFirewallConfigByConfigVersionActivate$module = + undefined; + throw error; + })).then((module) => + module.securityCreateSecurityFirewallConfigByConfigVersionActivate( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/securityCreateSecurityFirewallConfigByConfigVersionActivate.js").securityCreateSecurityFirewallConfigByConfigVersionActivate; + +let securityGetActiveAttackStatus$module: + | Promise + | undefined; +const securityGetActiveAttackStatus = + (( + ...args: Parameters< + typeof import("../funcs/securityGetActiveAttackStatus.js").securityGetActiveAttackStatus + > + ) => + new APIPromise( + (securityGetActiveAttackStatus$module ??= import( + "../funcs/securityGetActiveAttackStatus.js" + ).catch((error: unknown) => { + securityGetActiveAttackStatus$module = undefined; + throw error; + })).then((module) => + module.securityGetActiveAttackStatus(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetActiveAttackStatus.js").securityGetActiveAttackStatus; + +let securityGetBypassIp$module: + | Promise + | undefined; +const securityGetBypassIp = + (( + ...args: Parameters< + typeof import("../funcs/securityGetBypassIp.js").securityGetBypassIp + > + ) => + new APIPromise( + (securityGetBypassIp$module ??= import("../funcs/securityGetBypassIp.js") + .catch((error: unknown) => { + securityGetBypassIp$module = undefined; + throw error; + })).then((module) => module.securityGetBypassIp(...args).$inspect()), + )) as typeof import("../funcs/securityGetBypassIp.js").securityGetBypassIp; + +let securityAddBypassIp$module: + | Promise + | undefined; +const securityAddBypassIp = + (( + ...args: Parameters< + typeof import("../funcs/securityAddBypassIp.js").securityAddBypassIp + > + ) => + new APIPromise( + (securityAddBypassIp$module ??= import("../funcs/securityAddBypassIp.js") + .catch((error: unknown) => { + securityAddBypassIp$module = undefined; + throw error; + })).then((module) => module.securityAddBypassIp(...args).$inspect()), + )) as typeof import("../funcs/securityAddBypassIp.js").securityAddBypassIp; + +let securityRemoveBypassIp$module: + | Promise + | undefined; +const securityRemoveBypassIp = + (( + ...args: Parameters< + typeof import("../funcs/securityRemoveBypassIp.js").securityRemoveBypassIp + > + ) => + new APIPromise( + (securityRemoveBypassIp$module ??= import( + "../funcs/securityRemoveBypassIp.js" + ).catch((error: unknown) => { + securityRemoveBypassIp$module = undefined; + throw error; + })).then((module) => module.securityRemoveBypassIp(...args).$inspect()), + )) as typeof import("../funcs/securityRemoveBypassIp.js").securityRemoveBypassIp; + +let securityGetConditionalBypass$module: + | Promise + | undefined; +const securityGetConditionalBypass = + (( + ...args: Parameters< + typeof import("../funcs/securityGetConditionalBypass.js").securityGetConditionalBypass + > + ) => + new APIPromise( + (securityGetConditionalBypass$module ??= import( + "../funcs/securityGetConditionalBypass.js" + ).catch((error: unknown) => { + securityGetConditionalBypass$module = undefined; + throw error; + })).then((module) => + module.securityGetConditionalBypass(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetConditionalBypass.js").securityGetConditionalBypass; + +let securityCreateConditionalBypass$module: + | Promise + | undefined; +const securityCreateConditionalBypass = + (( + ...args: Parameters< + typeof import("../funcs/securityCreateConditionalBypass.js").securityCreateConditionalBypass + > + ) => + new APIPromise( + (securityCreateConditionalBypass$module ??= import( + "../funcs/securityCreateConditionalBypass.js" + ).catch((error: unknown) => { + securityCreateConditionalBypass$module = undefined; + throw error; + })).then((module) => + module.securityCreateConditionalBypass(...args).$inspect() + ), + )) as typeof import("../funcs/securityCreateConditionalBypass.js").securityCreateConditionalBypass; + +let securityUpdateConditionalBypass$module: + | Promise + | undefined; +const securityUpdateConditionalBypass = + (( + ...args: Parameters< + typeof import("../funcs/securityUpdateConditionalBypass.js").securityUpdateConditionalBypass + > + ) => + new APIPromise( + (securityUpdateConditionalBypass$module ??= import( + "../funcs/securityUpdateConditionalBypass.js" + ).catch((error: unknown) => { + securityUpdateConditionalBypass$module = undefined; + throw error; + })).then((module) => + module.securityUpdateConditionalBypass(...args).$inspect() + ), + )) as typeof import("../funcs/securityUpdateConditionalBypass.js").securityUpdateConditionalBypass; + +let securityDeleteConditionalBypass$module: + | Promise + | undefined; +const securityDeleteConditionalBypass = + (( + ...args: Parameters< + typeof import("../funcs/securityDeleteConditionalBypass.js").securityDeleteConditionalBypass + > + ) => + new APIPromise( + (securityDeleteConditionalBypass$module ??= import( + "../funcs/securityDeleteConditionalBypass.js" + ).catch((error: unknown) => { + securityDeleteConditionalBypass$module = undefined; + throw error; + })).then((module) => + module.securityDeleteConditionalBypass(...args).$inspect() + ), + )) as typeof import("../funcs/securityDeleteConditionalBypass.js").securityDeleteConditionalBypass; + +let securityGetSecurityFirewallEvents$module: + | Promise + | undefined; +const securityGetSecurityFirewallEvents = + (( + ...args: Parameters< + typeof import("../funcs/securityGetSecurityFirewallEvents.js").securityGetSecurityFirewallEvents + > + ) => + new APIPromise( + (securityGetSecurityFirewallEvents$module ??= import( + "../funcs/securityGetSecurityFirewallEvents.js" + ).catch((error: unknown) => { + securityGetSecurityFirewallEvents$module = undefined; + throw error; + })).then((module) => + module.securityGetSecurityFirewallEvents(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetSecurityFirewallEvents.js").securityGetSecurityFirewallEvents; + +let securityGetSecurityFirewallEventsSummary$module: + | Promise< + typeof import("../funcs/securityGetSecurityFirewallEventsSummary.js") + > + | undefined; +const securityGetSecurityFirewallEventsSummary = + (( + ...args: Parameters< + typeof import("../funcs/securityGetSecurityFirewallEventsSummary.js").securityGetSecurityFirewallEventsSummary + > + ) => + new APIPromise( + (securityGetSecurityFirewallEventsSummary$module ??= import( + "../funcs/securityGetSecurityFirewallEventsSummary.js" + ).catch((error: unknown) => { + securityGetSecurityFirewallEventsSummary$module = undefined; + throw error; + })).then((module) => + module.securityGetSecurityFirewallEventsSummary(...args).$inspect() + ), + )) as typeof import("../funcs/securityGetSecurityFirewallEventsSummary.js").securityGetSecurityFirewallEventsSummary; + +let securityGenerateFirewallRule$module: + | Promise + | undefined; +const securityGenerateFirewallRule = + (( + ...args: Parameters< + typeof import("../funcs/securityGenerateFirewallRule.js").securityGenerateFirewallRule + > + ) => + new APIPromise( + (securityGenerateFirewallRule$module ??= import( + "../funcs/securityGenerateFirewallRule.js" + ).catch((error: unknown) => { + securityGenerateFirewallRule$module = undefined; + throw error; + })).then((module) => + module.securityGenerateFirewallRule(...args).$inspect() + ), + )) as typeof import("../funcs/securityGenerateFirewallRule.js").securityGenerateFirewallRule; + +export class Security extends ClientSDK { + /** + * Update Attack Challenge mode + * + * @remarks + * Update the setting for determining if the project has Attack Challenge mode enabled. + */ + async updateAttackChallengeMode( + request: UpdateAttackChallengeModeRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityUpdateAttackChallengeMode( + this, + request, + options, + )); + } + + /** + * Returns activated WAF config + * + * @remarks + * Lists WAF configs for a project + */ + async getSecurityFirewallConfig( + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetSecurityFirewallConfig( + this, + options, + )); + } + + /** + * Put Firewall Configuration + * + * @remarks + * Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration. + */ + async putFirewallConfig( + request: PutFirewallConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityPutFirewallConfig( + this, + request, + options, + )); + } + + /** + * Update Firewall Configuration + * + * @remarks + * Process updates to modify the existing firewall config for a project + */ + async updateFirewallConfig( + request: UpdateFirewallConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityUpdateFirewallConfig( + this, + request, + options, + )); + } + + /** + * Read Firewall Configuration + * + * @remarks + * Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active` + */ + async getFirewallConfig( + request: GetFirewallConfigRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetFirewallConfig( + this, + request, + options, + )); + } + + /** + * Returns activated WAF config + * + * @remarks + * Promotes a draft WAF config to an active config + */ + async deleteSecurityFirewallConfigByConfigVersion( + request: DeleteSecurityFirewallConfigByConfigVersionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityDeleteSecurityFirewallConfigByConfigVersion( + this, + request, + options, + )); + } + + /** + * Returns activated WAF config + * + * @remarks + * Promotes a draft WAF config to an active config + */ + async createSecurityFirewallConfigByConfigVersionActivate( + request: CreateSecurityFirewallConfigByConfigVersionActivateRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + securityCreateSecurityFirewallConfigByConfigVersionActivate( + this, + request, + options, + ), + ); + } + + /** + * Read active attack data + * + * @remarks + * Retrieve active attack data within the last N days (default: 1 day) + */ + async getActiveAttackStatus( + request: GetActiveAttackStatusRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetActiveAttackStatus( + this, + request, + options, + )); + } + + /** + * Read System Bypass + * + * @remarks + * Retrieve the system bypass rules configured for the specified project + */ + async getBypassIp( + request: GetBypassIpRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetBypassIp( + this, + request, + options, + )); + } + + /** + * Create System Bypass Rule + * + * @remarks + * Create new system bypass rules + */ + async addBypassIp( + request: AddBypassIpRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityAddBypassIp( + this, + request, + options, + )); + } + + /** + * Remove System Bypass Rule + * + * @remarks + * Remove system bypass rules + */ + async removeBypassIp( + request: RemoveBypassIpRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityRemoveBypassIp( + this, + request, + options, + )); + } + + /** + * Get conditional firewall bypasses + * + * @remarks + * Retrieve conditional firewall bypass rules for a project. + */ + async getConditionalBypass( + request: GetConditionalBypassRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetConditionalBypass( + this, + request, + options, + )); + } + + /** + * Create conditional firewall bypass + * + * @remarks + * Create a conditional firewall bypass rule for a project domain. + */ + async createConditionalBypass( + request: CreateConditionalBypassRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityCreateConditionalBypass( + this, + request, + options, + )); + } + + /** + * Update conditional firewall bypass + * + * @remarks + * Update a conditional firewall bypass rule for a project domain. Replaces conditions and the note for the domain's existing rule. Omitting `note` clears it. The rule ID, domain, creator, and creation time are preserved. Missing or deleted rules are not created. + */ + async updateConditionalBypass( + request: UpdateConditionalBypassRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityUpdateConditionalBypass( + this, + request, + options, + )); + } + + /** + * Delete conditional firewall bypass + * + * @remarks + * Delete a conditional firewall bypass rule from a project domain. + */ + async deleteConditionalBypass( + request: DeleteConditionalBypassRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityDeleteConditionalBypass( + this, + request, + options, + )); + } + + /** + * Read Firewall Actions by Project + * + * @remarks + * Retrieve firewall actions for a project Rule names are resolved against the project's *current* active firewall configuration and the team's active rulesets, so a rule that has since been renamed reports its new name and one that has been deleted reports `null`. System rules such as `sys_dos_mitigation` and `ip_blocking` have no configured name and always report `null`. Filters (`ip`, `isActive`, `action`, `actionType`, `ruleKind`, `ruleId`, `hosts`) are ANDed across params and ORed within a repeated param. They are applied to the policies before `limit`/`cursor`, so pages only count matching policies. A policy with no matching requests yields no action row, so a page can hold fewer than `limit` actions; only `pagination.next` signals the end. A `cursor` is only valid with the filters it was issued for. + */ + async getSecurityFirewallEvents( + request: GetSecurityFirewallEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetSecurityFirewallEvents( + this, + request, + options, + )); + } + + /** + * Read Firewall Actions Summary by Project + * + * @remarks + * Aggregate counts over the firewall actions matched by the same filters as `GET /v1/security/firewall/events`, without fetching any rows. Counts are of policies (mitigations), including ones that matched no requests. + */ + async getSecurityFirewallEventsSummary( + request: GetSecurityFirewallEventsSummaryRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetSecurityFirewallEventsSummary( + this, + request, + options, + )); + } + + /** + * Generate a firewall rule from natural language + * + * @remarks + * Generate a firewall rule from a natural language description. + */ + async generateFirewallRule( + request: GenerateFirewallRuleRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGenerateFirewallRule( + this, + request, + options, + )); + } +} diff --git a/src/sdk/staticips.lazy.ts b/src/sdk/staticips.lazy.ts new file mode 100644 index 0000000000..d7d47cb5a1 --- /dev/null +++ b/src/sdk/staticips.lazy.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + UpdateStaticIpsRequest, + UpdateStaticIpsResponseBody, +} from "../models/updatestaticipsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let networkingUpdateStaticIps$module: + | Promise + | undefined; +const networkingUpdateStaticIps = + (( + ...args: Parameters< + typeof import("../funcs/networkingUpdateStaticIps.js").networkingUpdateStaticIps + > + ) => + new APIPromise( + (networkingUpdateStaticIps$module ??= import( + "../funcs/networkingUpdateStaticIps.js" + ).catch((error: unknown) => { + networkingUpdateStaticIps$module = undefined; + throw error; + })).then((module) => + module.networkingUpdateStaticIps(...args).$inspect() + ), + )) as typeof import("../funcs/networkingUpdateStaticIps.js").networkingUpdateStaticIps; + +export class StaticIps extends ClientSDK { + /** + * Configures Static IPs for a project + * + * @remarks + * Allows configuring Static IPs for a project + */ + async updateStaticIps( + request: UpdateStaticIpsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(networkingUpdateStaticIps( + this, + request, + options, + )); + } +} diff --git a/src/sdk/storage.lazy.ts b/src/sdk/storage.lazy.ts new file mode 100644 index 0000000000..820801de46 --- /dev/null +++ b/src/sdk/storage.lazy.ts @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateStorageStoresBlobRequestBody, + CreateStorageStoresBlobResponseBody, +} from "../models/createstoragestoresblobop.js"; +import { + DeleteStorageStoresBlobByIdRequest, + DeleteStorageStoresBlobByIdResponseBody, +} from "../models/deletestoragestoresblobbyidop.js"; +import { + GetStorageStoresByIdRequest, + GetStorageStoresByIdResponseBody, +} from "../models/getstoragestoresbyidop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let storageGetStorageStoresById$module: + | Promise + | undefined; +const storageGetStorageStoresById = + (( + ...args: Parameters< + typeof import("../funcs/storageGetStorageStoresById.js").storageGetStorageStoresById + > + ) => + new APIPromise( + (storageGetStorageStoresById$module ??= import( + "../funcs/storageGetStorageStoresById.js" + ).catch((error: unknown) => { + storageGetStorageStoresById$module = undefined; + throw error; + })).then((module) => + module.storageGetStorageStoresById(...args).$inspect() + ), + )) as typeof import("../funcs/storageGetStorageStoresById.js").storageGetStorageStoresById; + +let storageCreateStorageStoresBlob$module: + | Promise + | undefined; +const storageCreateStorageStoresBlob = + (( + ...args: Parameters< + typeof import("../funcs/storageCreateStorageStoresBlob.js").storageCreateStorageStoresBlob + > + ) => + new APIPromise( + (storageCreateStorageStoresBlob$module ??= import( + "../funcs/storageCreateStorageStoresBlob.js" + ).catch((error: unknown) => { + storageCreateStorageStoresBlob$module = undefined; + throw error; + })).then((module) => + module.storageCreateStorageStoresBlob(...args).$inspect() + ), + )) as typeof import("../funcs/storageCreateStorageStoresBlob.js").storageCreateStorageStoresBlob; + +let storageDeleteStorageStoresBlobById$module: + | Promise + | undefined; +const storageDeleteStorageStoresBlobById = + (( + ...args: Parameters< + typeof import("../funcs/storageDeleteStorageStoresBlobById.js").storageDeleteStorageStoresBlobById + > + ) => + new APIPromise( + (storageDeleteStorageStoresBlobById$module ??= import( + "../funcs/storageDeleteStorageStoresBlobById.js" + ).catch((error: unknown) => { + storageDeleteStorageStoresBlobById$module = undefined; + throw error; + })).then((module) => + module.storageDeleteStorageStoresBlobById(...args).$inspect() + ), + )) as typeof import("../funcs/storageDeleteStorageStoresBlobById.js").storageDeleteStorageStoresBlobById; + +export class Storage extends ClientSDK { + /** + * Get a store + */ + async getStorageStoresById( + request: GetStorageStoresByIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(storageGetStorageStoresById( + this, + request, + options, + )); + } + + /** + * Create a Blob store + */ + async createStorageStoresBlob( + request?: CreateStorageStoresBlobRequestBody | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(storageCreateStorageStoresBlob( + this, + request, + options, + )); + } + + /** + * Delete a Blob store + */ + async deleteStorageStoresBlobById( + request: DeleteStorageStoresBlobByIdRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(storageDeleteStorageStoresBlobById( + this, + request, + options, + )); + } +} diff --git a/src/sdk/teams.lazy.ts b/src/sdk/teams.lazy.ts new file mode 100644 index 0000000000..0b68cbfd34 --- /dev/null +++ b/src/sdk/teams.lazy.ts @@ -0,0 +1,625 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateTeamRequestBody, + CreateTeamResponseBody, +} from "../models/createteamop.js"; +import { + DeleteMicrofrontendsGroupRequest, + DeleteMicrofrontendsGroupResponseBody, +} from "../models/deletemicrofrontendsgroupop.js"; +import { + DeleteTeamInviteCodeRequest, + DeleteTeamInviteCodeResponseBody, +} from "../models/deleteteaminvitecodeop.js"; +import { + DeleteTeamRequest, + DeleteTeamResponseBody, +} from "../models/deleteteamop.js"; +import { + GetTeamAccessRequestRequest, + GetTeamAccessRequestResponseBody, +} from "../models/getteamaccessrequestop.js"; +import { + GetTeamMembersRequest, + GetTeamMembersResponseBody, +} from "../models/getteammembersop.js"; +import { GetTeamRequest } from "../models/getteamop.js"; +import { GetTeamsRequest, GetTeamsResponseBody } from "../models/getteamsop.js"; +import { InvitedTeamMember } from "../models/invitedteammember.js"; +import { InviteUserToTeamRequest } from "../models/inviteusertoteamop.js"; +import { JoinTeamRequest, JoinTeamResponseBody } from "../models/jointeamop.js"; +import { PatchTeamRequest } from "../models/patchteamop.js"; +import { + PostTeamDsyncRolesRequest, + PostTeamDsyncRolesResponseBody, +} from "../models/postteamdsyncrolesop.js"; +import { + RemoveTeamMemberRequest, + RemoveTeamMemberResponseBody, +} from "../models/removeteammemberop.js"; +import { + RequestAccessToTeamRequest, + RequestAccessToTeamResponseBody, +} from "../models/requestaccesstoteamop.js"; +import { Team } from "../models/team.js"; +import { + UpdateMicrofrontendsGroupRequest, + UpdateMicrofrontendsGroupResponseBody, +} from "../models/updatemicrofrontendsgroupop.js"; +import { + UpdateTeamMemberRequest, + UpdateTeamMemberResponseBody, +} from "../models/updateteammemberop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let teamsGetTeamMembers$module: + | Promise + | undefined; +const teamsGetTeamMembers = + (( + ...args: Parameters< + typeof import("../funcs/teamsGetTeamMembers.js").teamsGetTeamMembers + > + ) => + new APIPromise( + (teamsGetTeamMembers$module ??= import("../funcs/teamsGetTeamMembers.js") + .catch((error: unknown) => { + teamsGetTeamMembers$module = undefined; + throw error; + })).then((module) => module.teamsGetTeamMembers(...args).$inspect()), + )) as typeof import("../funcs/teamsGetTeamMembers.js").teamsGetTeamMembers; + +let teamsInviteUserToTeam$module: + | Promise + | undefined; +const teamsInviteUserToTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsInviteUserToTeam.js").teamsInviteUserToTeam + > + ) => + new APIPromise( + (teamsInviteUserToTeam$module ??= import( + "../funcs/teamsInviteUserToTeam.js" + ).catch((error: unknown) => { + teamsInviteUserToTeam$module = undefined; + throw error; + })).then((module) => module.teamsInviteUserToTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsInviteUserToTeam.js").teamsInviteUserToTeam; + +let teamsRequestAccessToTeam$module: + | Promise + | undefined; +const teamsRequestAccessToTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsRequestAccessToTeam.js").teamsRequestAccessToTeam + > + ) => + new APIPromise( + (teamsRequestAccessToTeam$module ??= import( + "../funcs/teamsRequestAccessToTeam.js" + ).catch((error: unknown) => { + teamsRequestAccessToTeam$module = undefined; + throw error; + })).then((module) => module.teamsRequestAccessToTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsRequestAccessToTeam.js").teamsRequestAccessToTeam; + +let teamsGetTeamAccessRequest$module: + | Promise + | undefined; +const teamsGetTeamAccessRequest = + (( + ...args: Parameters< + typeof import("../funcs/teamsGetTeamAccessRequest.js").teamsGetTeamAccessRequest + > + ) => + new APIPromise( + (teamsGetTeamAccessRequest$module ??= import( + "../funcs/teamsGetTeamAccessRequest.js" + ).catch((error: unknown) => { + teamsGetTeamAccessRequest$module = undefined; + throw error; + })).then((module) => + module.teamsGetTeamAccessRequest(...args).$inspect() + ), + )) as typeof import("../funcs/teamsGetTeamAccessRequest.js").teamsGetTeamAccessRequest; + +let teamsJoinTeam$module: + | Promise + | undefined; +const teamsJoinTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsJoinTeam.js").teamsJoinTeam + > + ) => + new APIPromise( + (teamsJoinTeam$module ??= import("../funcs/teamsJoinTeam.js").catch( + (error: unknown) => { + teamsJoinTeam$module = undefined; + throw error; + }, + )).then((module) => module.teamsJoinTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsJoinTeam.js").teamsJoinTeam; + +let teamsUpdateTeamMember$module: + | Promise + | undefined; +const teamsUpdateTeamMember = + (( + ...args: Parameters< + typeof import("../funcs/teamsUpdateTeamMember.js").teamsUpdateTeamMember + > + ) => + new APIPromise( + (teamsUpdateTeamMember$module ??= import( + "../funcs/teamsUpdateTeamMember.js" + ).catch((error: unknown) => { + teamsUpdateTeamMember$module = undefined; + throw error; + })).then((module) => module.teamsUpdateTeamMember(...args).$inspect()), + )) as typeof import("../funcs/teamsUpdateTeamMember.js").teamsUpdateTeamMember; + +let teamsRemoveTeamMember$module: + | Promise + | undefined; +const teamsRemoveTeamMember = + (( + ...args: Parameters< + typeof import("../funcs/teamsRemoveTeamMember.js").teamsRemoveTeamMember + > + ) => + new APIPromise( + (teamsRemoveTeamMember$module ??= import( + "../funcs/teamsRemoveTeamMember.js" + ).catch((error: unknown) => { + teamsRemoveTeamMember$module = undefined; + throw error; + })).then((module) => module.teamsRemoveTeamMember(...args).$inspect()), + )) as typeof import("../funcs/teamsRemoveTeamMember.js").teamsRemoveTeamMember; + +let teamsGetTeam$module: + | Promise + | undefined; +const teamsGetTeam = + (( + ...args: Parameters + ) => + new APIPromise( + (teamsGetTeam$module ??= import("../funcs/teamsGetTeam.js").catch( + (error: unknown) => { + teamsGetTeam$module = undefined; + throw error; + }, + )).then((module) => module.teamsGetTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsGetTeam.js").teamsGetTeam; + +let teamsPatchTeam$module: + | Promise + | undefined; +const teamsPatchTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsPatchTeam.js").teamsPatchTeam + > + ) => + new APIPromise( + (teamsPatchTeam$module ??= import("../funcs/teamsPatchTeam.js").catch( + (error: unknown) => { + teamsPatchTeam$module = undefined; + throw error; + }, + )).then((module) => module.teamsPatchTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsPatchTeam.js").teamsPatchTeam; + +let teamsGetTeams$module: + | Promise + | undefined; +const teamsGetTeams = + (( + ...args: Parameters< + typeof import("../funcs/teamsGetTeams.js").teamsGetTeams + > + ) => + new APIPromise( + (teamsGetTeams$module ??= import("../funcs/teamsGetTeams.js").catch( + (error: unknown) => { + teamsGetTeams$module = undefined; + throw error; + }, + )).then((module) => module.teamsGetTeams(...args).$inspect()), + )) as typeof import("../funcs/teamsGetTeams.js").teamsGetTeams; + +let teamsCreateTeam$module: + | Promise + | undefined; +const teamsCreateTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsCreateTeam.js").teamsCreateTeam + > + ) => + new APIPromise( + (teamsCreateTeam$module ??= import("../funcs/teamsCreateTeam.js").catch( + (error: unknown) => { + teamsCreateTeam$module = undefined; + throw error; + }, + )).then((module) => module.teamsCreateTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsCreateTeam.js").teamsCreateTeam; + +let teamsPostTeamDsyncRoles$module: + | Promise + | undefined; +const teamsPostTeamDsyncRoles = + (( + ...args: Parameters< + typeof import("../funcs/teamsPostTeamDsyncRoles.js").teamsPostTeamDsyncRoles + > + ) => + new APIPromise( + (teamsPostTeamDsyncRoles$module ??= import( + "../funcs/teamsPostTeamDsyncRoles.js" + ).catch((error: unknown) => { + teamsPostTeamDsyncRoles$module = undefined; + throw error; + })).then((module) => module.teamsPostTeamDsyncRoles(...args).$inspect()), + )) as typeof import("../funcs/teamsPostTeamDsyncRoles.js").teamsPostTeamDsyncRoles; + +let teamsDeleteTeam$module: + | Promise + | undefined; +const teamsDeleteTeam = + (( + ...args: Parameters< + typeof import("../funcs/teamsDeleteTeam.js").teamsDeleteTeam + > + ) => + new APIPromise( + (teamsDeleteTeam$module ??= import("../funcs/teamsDeleteTeam.js").catch( + (error: unknown) => { + teamsDeleteTeam$module = undefined; + throw error; + }, + )).then((module) => module.teamsDeleteTeam(...args).$inspect()), + )) as typeof import("../funcs/teamsDeleteTeam.js").teamsDeleteTeam; + +let teamsDeleteTeamInviteCode$module: + | Promise + | undefined; +const teamsDeleteTeamInviteCode = + (( + ...args: Parameters< + typeof import("../funcs/teamsDeleteTeamInviteCode.js").teamsDeleteTeamInviteCode + > + ) => + new APIPromise( + (teamsDeleteTeamInviteCode$module ??= import( + "../funcs/teamsDeleteTeamInviteCode.js" + ).catch((error: unknown) => { + teamsDeleteTeamInviteCode$module = undefined; + throw error; + })).then((module) => + module.teamsDeleteTeamInviteCode(...args).$inspect() + ), + )) as typeof import("../funcs/teamsDeleteTeamInviteCode.js").teamsDeleteTeamInviteCode; + +let teamsUpdateMicrofrontendsGroup$module: + | Promise + | undefined; +const teamsUpdateMicrofrontendsGroup = + (( + ...args: Parameters< + typeof import("../funcs/teamsUpdateMicrofrontendsGroup.js").teamsUpdateMicrofrontendsGroup + > + ) => + new APIPromise( + (teamsUpdateMicrofrontendsGroup$module ??= import( + "../funcs/teamsUpdateMicrofrontendsGroup.js" + ).catch((error: unknown) => { + teamsUpdateMicrofrontendsGroup$module = undefined; + throw error; + })).then((module) => + module.teamsUpdateMicrofrontendsGroup(...args).$inspect() + ), + )) as typeof import("../funcs/teamsUpdateMicrofrontendsGroup.js").teamsUpdateMicrofrontendsGroup; + +let teamsDeleteMicrofrontendsGroup$module: + | Promise + | undefined; +const teamsDeleteMicrofrontendsGroup = + (( + ...args: Parameters< + typeof import("../funcs/teamsDeleteMicrofrontendsGroup.js").teamsDeleteMicrofrontendsGroup + > + ) => + new APIPromise( + (teamsDeleteMicrofrontendsGroup$module ??= import( + "../funcs/teamsDeleteMicrofrontendsGroup.js" + ).catch((error: unknown) => { + teamsDeleteMicrofrontendsGroup$module = undefined; + throw error; + })).then((module) => + module.teamsDeleteMicrofrontendsGroup(...args).$inspect() + ), + )) as typeof import("../funcs/teamsDeleteMicrofrontendsGroup.js").teamsDeleteMicrofrontendsGroup; + +export class Teams extends ClientSDK { + /** + * List team members + * + * @remarks + * Get a paginated list of team members for the provided team. + */ + async getTeamMembers( + request: GetTeamMembersRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsGetTeamMembers( + this, + request, + options, + )); + } + + /** + * Invite a user + * + * @remarks + * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email. + */ + async inviteUserToTeam( + request: InviteUserToTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsInviteUserToTeam( + this, + request, + options, + )); + } + + /** + * Request access to a team + * + * @remarks + * Request access to a team as a member. An owner has to approve the request. Only 100 users can request access to a team at the same time. Organization-directory access must be granted through the directory administrator. + */ + async requestAccessToTeam( + request: RequestAccessToTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsRequestAccessToTeam( + this, + request, + options, + )); + } + + /** + * Get access request status + * + * @remarks + * Check the status of a join request. It'll respond with a 404 if the request has been declined or enabled directory reads suppress access. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user. + */ + async getTeamAccessRequest( + request: GetTeamAccessRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsGetTeamAccessRequest( + this, + request, + options, + )); + } + + /** + * Join a team + * + * @remarks + * Join a team with a provided invite code or team ID. + */ + async joinTeam( + request: JoinTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsJoinTeam( + this, + request, + options, + )); + } + + /** + * Update a Team Member + * + * @remarks + * Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. Organization-directory-managed team access and roles must be changed through the organization's identity provider. Unsupported changes return `organization_directory_managed`; supported local assignments remain editable. The authenticated user must be an `OWNER` of the Team. An update that would leave the Team's organization without an organization admin is refused. + */ + async updateTeamMember( + request: UpdateTeamMemberRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsUpdateTeamMember( + this, + request, + options, + )); + } + + /** + * Remove a Team Member + * + * @remarks + * Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team. Organization-directory-managed access must be removed through the organization's identity provider; local removal returns `organization_directory_managed`. Directory Sync members can be removed when their directory email is absent or does not match the user's primary or verified secondary emails. Removing or leaving is refused when it would leave the Team's organization without an organization admin. + */ + async removeTeamMember( + request: RemoveTeamMemberRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsRemoveTeamMember( + this, + request, + options, + )); + } + + /** + * Get a Team + * + * @remarks + * Get information for the Team specified by the `teamId` parameter. + */ + async getTeam( + request: GetTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsGetTeam( + this, + request, + options, + )); + } + + /** + * Update a Team + * + * @remarks + * Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team. + */ + async patchTeam( + request: PatchTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsPatchTeam( + this, + request, + options, + )); + } + + /** + * List all teams + * + * @remarks + * Get a paginated list of all the Teams the authenticated User is a member of. An app-principal token needs `read:team` and lists only the team it is bound to. + */ + async getTeams( + request: GetTeamsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsGetTeams( + this, + request, + options, + )); + } + + /** + * Create a Team + * + * @remarks + * Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name. + */ + async createTeam( + request: CreateTeamRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsCreateTeam( + this, + request, + options, + )); + } + + /** + * Update Team Directory Sync Role Mappings + * + * @remarks + * Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups. + */ + async postTeamDsyncRoles( + request: PostTeamDsyncRolesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsPostTeamDsyncRoles( + this, + request, + options, + )); + } + + /** + * Delete a Team + * + * @remarks + * Delete a team under your account. You need to send a `DELETE` request with the desired team `id`. An optional array of reasons for deletion may also be sent. Enterprise teams can only be deleted in test billing mode and when not linked to an organization. Enterprise children of an organization cannot be deleted. + */ + async deleteTeam( + request: DeleteTeamRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsDeleteTeam( + this, + request, + options, + )); + } + + /** + * Delete a Team invite code + * + * @remarks + * Delete an active Team invite code. + */ + async deleteTeamInviteCode( + request: DeleteTeamInviteCodeRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsDeleteTeamInviteCode( + this, + request, + options, + )); + } + + /** + * Update a microfrontends group + * + * @remarks + * Updates a microfrontends group's settings. + */ + async updateMicrofrontendsGroup( + request: UpdateMicrofrontendsGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsUpdateMicrofrontendsGroup( + this, + request, + options, + )); + } + + /** + * Delete a microfrontends group + * + * @remarks + * Deletes a microfrontends group from the team associated with the group ID. + */ + async deleteMicrofrontendsGroup( + request: DeleteMicrofrontendsGroupRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(teamsDeleteMicrofrontendsGroup( + this, + request, + options, + )); + } +} diff --git a/src/sdk/user.lazy.ts b/src/sdk/user.lazy.ts new file mode 100644 index 0000000000..21afab58ea --- /dev/null +++ b/src/sdk/user.lazy.ts @@ -0,0 +1,155 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { GetAuthUserResponseBody } from "../models/getauthuserop.js"; +import { ListEventTypesRequest } from "../models/listeventtypesop.js"; +import { ListEventTypesResponse } from "../models/listeventtypesresponse.js"; +import { + ListUserEventsRequest, + ListUserEventsResponseBody, +} from "../models/listusereventsop.js"; +import { + RequestDeleteRequestBody, + RequestDeleteResponseBody, +} from "../models/requestdeleteop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let userListUserEvents$module: + | Promise + | undefined; +const userListUserEvents = + (( + ...args: Parameters< + typeof import("../funcs/userListUserEvents.js").userListUserEvents + > + ) => + new APIPromise( + (userListUserEvents$module ??= import("../funcs/userListUserEvents.js") + .catch((error: unknown) => { + userListUserEvents$module = undefined; + throw error; + })).then((module) => module.userListUserEvents(...args).$inspect()), + )) as typeof import("../funcs/userListUserEvents.js").userListUserEvents; + +let userListEventTypes$module: + | Promise + | undefined; +const userListEventTypes = + (( + ...args: Parameters< + typeof import("../funcs/userListEventTypes.js").userListEventTypes + > + ) => + new APIPromise( + (userListEventTypes$module ??= import("../funcs/userListEventTypes.js") + .catch((error: unknown) => { + userListEventTypes$module = undefined; + throw error; + })).then((module) => module.userListEventTypes(...args).$inspect()), + )) as typeof import("../funcs/userListEventTypes.js").userListEventTypes; + +let userGetAuthUser$module: + | Promise + | undefined; +const userGetAuthUser = + (( + ...args: Parameters< + typeof import("../funcs/userGetAuthUser.js").userGetAuthUser + > + ) => + new APIPromise( + (userGetAuthUser$module ??= import("../funcs/userGetAuthUser.js").catch( + (error: unknown) => { + userGetAuthUser$module = undefined; + throw error; + }, + )).then((module) => module.userGetAuthUser(...args).$inspect()), + )) as typeof import("../funcs/userGetAuthUser.js").userGetAuthUser; + +let userRequestDelete$module: + | Promise + | undefined; +const userRequestDelete = + (( + ...args: Parameters< + typeof import("../funcs/userRequestDelete.js").userRequestDelete + > + ) => + new APIPromise( + (userRequestDelete$module ??= import("../funcs/userRequestDelete.js") + .catch((error: unknown) => { + userRequestDelete$module = undefined; + throw error; + })).then((module) => module.userRequestDelete(...args).$inspect()), + )) as typeof import("../funcs/userRequestDelete.js").userRequestDelete; + +export class User extends ClientSDK { + /** + * List User Events + * + * @remarks + * Retrieves a list of "events" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified. + */ + async listUserEvents( + request: ListUserEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(userListUserEvents( + this, + request, + options, + )); + } + + /** + * List Event Types + * + * @remarks + * Returns the list of user-facing event types with descriptions. + */ + async listEventTypes( + request: ListEventTypesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(userListEventTypes( + this, + request, + options, + )); + } + + /** + * Get the User + * + * @remarks + * Retrieves information related to the currently authenticated User. + */ + async getAuthUser( + options?: RequestOptions, + ): Promise { + return unwrapAsync(userGetAuthUser( + this, + options, + )); + } + + /** + * Delete User Account + * + * @remarks + * Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process. + */ + async requestDelete( + request: RequestDeleteRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(userRequestDelete( + this, + request, + options, + )); + } +} diff --git a/src/sdk/vcr.lazy.ts b/src/sdk/vcr.lazy.ts new file mode 100644 index 0000000000..cb80f142a5 --- /dev/null +++ b/src/sdk/vcr.lazy.ts @@ -0,0 +1,1145 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AddRepositoryPermissionRequest, + AddRepositoryPermissionResponseBody, +} from "../models/addrepositorypermissionop.js"; +import { ClearRepositoryPermissionsRequest } from "../models/clearrepositorypermissionsop.js"; +import { CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest } from "../models/createbyteamslugbyprojectslugbyrepositorynameblobsuploadsop.js"; +import { + CreateRepositoryRequest, + CreateRepositoryResponseBody, +} from "../models/createrepositoryop.js"; +import { DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest } from "../models/deletebyteamslugbyprojectslugbyrepositorynameblobsbydigestop.js"; +import { DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest } from "../models/deletebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.js"; +import { DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest } from "../models/deletebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.js"; +import { DeleteRepositoryImageRequest } from "../models/deleterepositoryimageop.js"; +import { DeleteRepositoryRequest } from "../models/deleterepositoryop.js"; +import { GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest } from "../models/getbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.js"; +import { GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest } from "../models/getbyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.js"; +import { GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest } from "../models/getbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.js"; +import { + GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest, + GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseBody, +} from "../models/getbyteamslugbyprojectslugbyrepositorynametagslistop.js"; +import { + GetRepositoryImageRequest, + GetRepositoryImageResponseBody, +} from "../models/getrepositoryimageop.js"; +import { + GetRepositoryRequest, + GetRepositoryResponseBody, +} from "../models/getrepositoryop.js"; +import { + GetRepositoryTagRequest, + GetRepositoryTagResponseBody, +} from "../models/getrepositorytagop.js"; +import { GetRootResponseBody } from "../models/getrootop.js"; +import { HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest } from "../models/headbyteamslugbyprojectslugbyrepositorynameblobsbydigestop.js"; +import { HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest } from "../models/headbyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.js"; +import { ListRepositoriesRequest } from "../models/listrepositoriesop.js"; +import { ListRepositoryImagesRequest } from "../models/listrepositoryimagesop.js"; +import { ListRepositoryPermissionsRequest } from "../models/listrepositorypermissionsop.js"; +import { + ListRepositoryTagsRequest, + ListRepositoryTagsResponseBody, +} from "../models/listrepositorytagsop.js"; +import { RemoveRepositoryPermissionRequest } from "../models/removerepositorypermissionop.js"; +import { ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest } from "../models/replacebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.js"; +import { ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest } from "../models/replacebyteamslugbyprojectslugbyrepositorynamemanifestsbyreferenceop.js"; +import { UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest } from "../models/updatebyteamslugbyprojectslugbyrepositorynameblobsuploadsbyuuidop.js"; +import { VcrImageList } from "../models/vcrimagelist.js"; +import { VcrRepositoryList } from "../models/vcrrepositorylist.js"; +import { VcrRepositoryPermissionList } from "../models/vcrrepositorypermissionlist.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let vcrCreateRepository$module: + | Promise + | undefined; +const vcrCreateRepository = + (( + ...args: Parameters< + typeof import("../funcs/vcrCreateRepository.js").vcrCreateRepository + > + ) => + new APIPromise( + (vcrCreateRepository$module ??= import("../funcs/vcrCreateRepository.js") + .catch((error: unknown) => { + vcrCreateRepository$module = undefined; + throw error; + })).then((module) => module.vcrCreateRepository(...args).$inspect()), + )) as typeof import("../funcs/vcrCreateRepository.js").vcrCreateRepository; + +let vcrListRepositories$module: + | Promise + | undefined; +const vcrListRepositories = + (( + ...args: Parameters< + typeof import("../funcs/vcrListRepositories.js").vcrListRepositories + > + ) => + new APIPromise( + (vcrListRepositories$module ??= import("../funcs/vcrListRepositories.js") + .catch((error: unknown) => { + vcrListRepositories$module = undefined; + throw error; + })).then((module) => module.vcrListRepositories(...args).$inspect()), + )) as typeof import("../funcs/vcrListRepositories.js").vcrListRepositories; + +let vcrGetRepository$module: + | Promise + | undefined; +const vcrGetRepository = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetRepository.js").vcrGetRepository + > + ) => + new APIPromise( + (vcrGetRepository$module ??= import("../funcs/vcrGetRepository.js").catch( + (error: unknown) => { + vcrGetRepository$module = undefined; + throw error; + }, + )).then((module) => module.vcrGetRepository(...args).$inspect()), + )) as typeof import("../funcs/vcrGetRepository.js").vcrGetRepository; + +let vcrDeleteRepository$module: + | Promise + | undefined; +const vcrDeleteRepository = + (( + ...args: Parameters< + typeof import("../funcs/vcrDeleteRepository.js").vcrDeleteRepository + > + ) => + new APIPromise( + (vcrDeleteRepository$module ??= import("../funcs/vcrDeleteRepository.js") + .catch((error: unknown) => { + vcrDeleteRepository$module = undefined; + throw error; + })).then((module) => module.vcrDeleteRepository(...args).$inspect()), + )) as typeof import("../funcs/vcrDeleteRepository.js").vcrDeleteRepository; + +let vcrListRepositoryImages$module: + | Promise + | undefined; +const vcrListRepositoryImages = + (( + ...args: Parameters< + typeof import("../funcs/vcrListRepositoryImages.js").vcrListRepositoryImages + > + ) => + new APIPromise( + (vcrListRepositoryImages$module ??= import( + "../funcs/vcrListRepositoryImages.js" + ).catch((error: unknown) => { + vcrListRepositoryImages$module = undefined; + throw error; + })).then((module) => module.vcrListRepositoryImages(...args).$inspect()), + )) as typeof import("../funcs/vcrListRepositoryImages.js").vcrListRepositoryImages; + +let vcrAddRepositoryPermission$module: + | Promise + | undefined; +const vcrAddRepositoryPermission = + (( + ...args: Parameters< + typeof import("../funcs/vcrAddRepositoryPermission.js").vcrAddRepositoryPermission + > + ) => + new APIPromise( + (vcrAddRepositoryPermission$module ??= import( + "../funcs/vcrAddRepositoryPermission.js" + ).catch((error: unknown) => { + vcrAddRepositoryPermission$module = undefined; + throw error; + })).then((module) => + module.vcrAddRepositoryPermission(...args).$inspect() + ), + )) as typeof import("../funcs/vcrAddRepositoryPermission.js").vcrAddRepositoryPermission; + +let vcrRemoveRepositoryPermission$module: + | Promise + | undefined; +const vcrRemoveRepositoryPermission = + (( + ...args: Parameters< + typeof import("../funcs/vcrRemoveRepositoryPermission.js").vcrRemoveRepositoryPermission + > + ) => + new APIPromise( + (vcrRemoveRepositoryPermission$module ??= import( + "../funcs/vcrRemoveRepositoryPermission.js" + ).catch((error: unknown) => { + vcrRemoveRepositoryPermission$module = undefined; + throw error; + })).then((module) => + module.vcrRemoveRepositoryPermission(...args).$inspect() + ), + )) as typeof import("../funcs/vcrRemoveRepositoryPermission.js").vcrRemoveRepositoryPermission; + +let vcrListRepositoryPermissions$module: + | Promise + | undefined; +const vcrListRepositoryPermissions = + (( + ...args: Parameters< + typeof import("../funcs/vcrListRepositoryPermissions.js").vcrListRepositoryPermissions + > + ) => + new APIPromise( + (vcrListRepositoryPermissions$module ??= import( + "../funcs/vcrListRepositoryPermissions.js" + ).catch((error: unknown) => { + vcrListRepositoryPermissions$module = undefined; + throw error; + })).then((module) => + module.vcrListRepositoryPermissions(...args).$inspect() + ), + )) as typeof import("../funcs/vcrListRepositoryPermissions.js").vcrListRepositoryPermissions; + +let vcrClearRepositoryPermissions$module: + | Promise + | undefined; +const vcrClearRepositoryPermissions = + (( + ...args: Parameters< + typeof import("../funcs/vcrClearRepositoryPermissions.js").vcrClearRepositoryPermissions + > + ) => + new APIPromise( + (vcrClearRepositoryPermissions$module ??= import( + "../funcs/vcrClearRepositoryPermissions.js" + ).catch((error: unknown) => { + vcrClearRepositoryPermissions$module = undefined; + throw error; + })).then((module) => + module.vcrClearRepositoryPermissions(...args).$inspect() + ), + )) as typeof import("../funcs/vcrClearRepositoryPermissions.js").vcrClearRepositoryPermissions; + +let vcrListRepositoryTags$module: + | Promise + | undefined; +const vcrListRepositoryTags = + (( + ...args: Parameters< + typeof import("../funcs/vcrListRepositoryTags.js").vcrListRepositoryTags + > + ) => + new APIPromise( + (vcrListRepositoryTags$module ??= import( + "../funcs/vcrListRepositoryTags.js" + ).catch((error: unknown) => { + vcrListRepositoryTags$module = undefined; + throw error; + })).then((module) => module.vcrListRepositoryTags(...args).$inspect()), + )) as typeof import("../funcs/vcrListRepositoryTags.js").vcrListRepositoryTags; + +let vcrGetRepositoryTag$module: + | Promise + | undefined; +const vcrGetRepositoryTag = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetRepositoryTag.js").vcrGetRepositoryTag + > + ) => + new APIPromise( + (vcrGetRepositoryTag$module ??= import("../funcs/vcrGetRepositoryTag.js") + .catch((error: unknown) => { + vcrGetRepositoryTag$module = undefined; + throw error; + })).then((module) => module.vcrGetRepositoryTag(...args).$inspect()), + )) as typeof import("../funcs/vcrGetRepositoryTag.js").vcrGetRepositoryTag; + +let vcrGetRepositoryImage$module: + | Promise + | undefined; +const vcrGetRepositoryImage = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetRepositoryImage.js").vcrGetRepositoryImage + > + ) => + new APIPromise( + (vcrGetRepositoryImage$module ??= import( + "../funcs/vcrGetRepositoryImage.js" + ).catch((error: unknown) => { + vcrGetRepositoryImage$module = undefined; + throw error; + })).then((module) => module.vcrGetRepositoryImage(...args).$inspect()), + )) as typeof import("../funcs/vcrGetRepositoryImage.js").vcrGetRepositoryImage; + +let vcrDeleteRepositoryImage$module: + | Promise + | undefined; +const vcrDeleteRepositoryImage = + (( + ...args: Parameters< + typeof import("../funcs/vcrDeleteRepositoryImage.js").vcrDeleteRepositoryImage + > + ) => + new APIPromise( + (vcrDeleteRepositoryImage$module ??= import( + "../funcs/vcrDeleteRepositoryImage.js" + ).catch((error: unknown) => { + vcrDeleteRepositoryImage$module = undefined; + throw error; + })).then((module) => module.vcrDeleteRepositoryImage(...args).$inspect()), + )) as typeof import("../funcs/vcrDeleteRepositoryImage.js").vcrDeleteRepositoryImage; + +let vcrGetRoot$module: + | Promise + | undefined; +const vcrGetRoot = + ((...args: Parameters) => + new APIPromise( + (vcrGetRoot$module ??= import("../funcs/vcrGetRoot.js").catch( + (error: unknown) => { + vcrGetRoot$module = undefined; + throw error; + }, + )).then((module) => module.vcrGetRoot(...args).$inspect()), + )) as typeof import("../funcs/vcrGetRoot.js").vcrGetRoot; + +let vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module: + | Promise< + typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js") + > + | undefined; +const vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = + (( + ...args: Parameters< + typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest + > + ) => + new APIPromise( + (vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module ??= + import( + "../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js" + ).catch((error: unknown) => { + vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module = + undefined; + throw error; + })).then((module) => + module.vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest; + +let vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module: + | Promise< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js") + > + | undefined; +const vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest + > + ) => + new APIPromise( + (vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module ??= + import( + "../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js" + ).catch((error: unknown) => { + vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module = + undefined; + throw error; + })).then((module) => + module.vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest; + +let vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module: + | Promise< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js") + > + | undefined; +const vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = + (( + ...args: Parameters< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest + > + ) => + new APIPromise( + (vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module ??= + import( + "../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js" + ).catch((error: unknown) => { + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest$module = + undefined; + throw error; + })).then((module) => + module.vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest; + +let vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module: + | Promise< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js") + > + | undefined; +const vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid + > + ) => + new APIPromise( + (vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module ??= + import( + "../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js" + ).catch((error: unknown) => { + vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module = + undefined; + throw error; + })).then((module) => + module + .vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid; + +let vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module: + | Promise< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js") + > + | undefined; +const vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = + (( + ...args: Parameters< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid + > + ) => + new APIPromise( + (vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module ??= + import( + "../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js" + ).catch((error: unknown) => { + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module = + undefined; + throw error; + })).then((module) => + module + .vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid; + +let vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module: + | Promise< + typeof import("../funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js") + > + | undefined; +const vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = + (( + ...args: Parameters< + typeof import("../funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid + > + ) => + new APIPromise( + (vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module ??= + import( + "../funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js" + ).catch((error: unknown) => { + vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module = + undefined; + throw error; + })).then((module) => + module + .vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid; + +let vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module: + | Promise< + typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js") + > + | undefined; +const vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = + (( + ...args: Parameters< + typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid + > + ) => + new APIPromise( + (vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module ??= + import( + "../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js" + ).catch((error: unknown) => { + vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid$module = + undefined; + throw error; + })).then((module) => + module + .vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid.js").vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid; + +let vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads$module: + | Promise< + typeof import("../funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.js") + > + | undefined; +const vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads = + (( + ...args: Parameters< + typeof import("../funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.js").vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads + > + ) => + new APIPromise( + (vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads$module ??= + import( + "../funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.js" + ).catch((error: unknown) => { + vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads$module = + undefined; + throw error; + })).then((module) => + module.vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads.js").vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads; + +let vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module: + | Promise< + typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js") + > + | undefined; +const vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = + (( + ...args: Parameters< + typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference + > + ) => + new APIPromise( + (vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module ??= + import( + "../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js" + ).catch((error: unknown) => { + vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module = + undefined; + throw error; + })).then((module) => + module + .vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference; + +let vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module: + | Promise< + typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js") + > + | undefined; +const vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = + (( + ...args: Parameters< + typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference + > + ) => + new APIPromise( + (vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module ??= + import( + "../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js" + ).catch((error: unknown) => { + vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module = + undefined; + throw error; + })).then((module) => + module + .vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference; + +let vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module: + | Promise< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js") + > + | undefined; +const vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference + > + ) => + new APIPromise( + (vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module ??= + import( + "../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js" + ).catch((error: unknown) => { + vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module = + undefined; + throw error; + })).then((module) => + module + .vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference; + +let vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module: + | Promise< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js") + > + | undefined; +const vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = + (( + ...args: Parameters< + typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference + > + ) => + new APIPromise( + (vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module ??= + import( + "../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js" + ).catch((error: unknown) => { + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference$module = + undefined; + throw error; + })).then((module) => + module + .vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + ...args, + ).$inspect() + ), + )) as typeof import("../funcs/vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference.js").vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference; + +let vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList$module: + | Promise< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.js") + > + | undefined; +const vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList = + (( + ...args: Parameters< + typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList + > + ) => + new APIPromise( + (vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList$module ??= import( + "../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.js" + ).catch((error: unknown) => { + vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList$module = + undefined; + throw error; + })).then((module) => + module.vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList(...args) + .$inspect() + ), + )) as typeof import("../funcs/vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList.js").vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList; + +export class Vcr extends ClientSDK { + /** + * Create a repository + * + * @remarks + * Create a container registry repository for a project. + */ + async createRepository( + request: CreateRepositoryRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrCreateRepository( + this, + request, + options, + )); + } + + /** + * List repositories + * + * @remarks + * List container registry repositories for a project. + */ + async listRepositories( + request: ListRepositoriesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrListRepositories( + this, + request, + options, + )); + } + + /** + * Get a repository + * + * @remarks + * Fetch a container registry repository for a project by ID or name. + */ + async getRepository( + request: GetRepositoryRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrGetRepository( + this, + request, + options, + )); + } + + /** + * Delete a repository + * + * @remarks + * Schedule a repository for deletion. The repository is marked so it disappears from list/get immediately; subscriber-vcr reclaims every image (manifests, blobs, tags and rows) and finally deletes the repository row asynchronously via the VcrRepositoryRemoved event. + */ + async deleteRepository( + request: DeleteRepositoryRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrDeleteRepository( + this, + request, + options, + )); + } + + /** + * List repository images + * + * @remarks + * List images for a container registry repository, including their tags. + */ + async listRepositoryImages( + request: ListRepositoryImagesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrListRepositoryImages( + this, + request, + options, + )); + } + + /** + * Add a repository permission + * + * @remarks + * Grant a team access to a VCR repository. Sharing applies to the whole repository. + */ + async addRepositoryPermission( + request: AddRepositoryPermissionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrAddRepositoryPermission( + this, + request, + options, + )); + } + + /** + * Remove a repository permission + * + * @remarks + * Revoke a team's access to a VCR repository. + */ + async removeRepositoryPermission( + request: RemoveRepositoryPermissionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrRemoveRepositoryPermission( + this, + request, + options, + )); + } + + /** + * List repository permissions + * + * @remarks + * List the teams a VCR repository is shared with. + */ + async listRepositoryPermissions( + request: ListRepositoryPermissionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrListRepositoryPermissions( + this, + request, + options, + )); + } + + /** + * Clear all repository permissions + * + * @remarks + * Revoke every team's access to a VCR repository. Clearing an unshared repository is a no-op. + */ + async clearRepositoryPermissions( + request: ClearRepositoryPermissionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrClearRepositoryPermissions( + this, + request, + options, + )); + } + + /** + * List repository tags + * + * @remarks + * List a repository's tags. + */ + async listRepositoryTags( + request: ListRepositoryTagsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrListRepositoryTags( + this, + request, + options, + )); + } + + /** + * Get a repository tag + * + * @remarks + * Fetch a single tag from a repository, including the backing image's metadata and VHS-readiness status. + */ + async getRepositoryTag( + request: GetRepositoryTagRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrGetRepositoryTag( + this, + request, + options, + )); + } + + /** + * Get a repository image + * + * @remarks + * Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`). + */ + async getRepositoryImage( + request: GetRepositoryImageRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrGetRepositoryImage( + this, + request, + options, + )); + } + + /** + * Delete a repository image + * + * @remarks + * Schedule an image for deletion. The image is marked so it disappears from list/get immediately; subscriber-vcr reclaims the manifest, blobs, tags and row asynchronously via the VcrManifestRemoved event. + */ + async deleteRepositoryImage( + request: DeleteRepositoryImageRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrDeleteRepositoryImage( + this, + request, + options, + )); + } + + /** + * Check registry API version support + * + * @remarks + * GET /v2/ Docker Registry v2 version check. Returns a 401 challenge when no credentials are provided, prompting the Docker client to send auth. With valid credentials, returns 200 so the client can proceed. + */ + async getRoot( + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrGetRoot( + this, + options, + )); + } + + /** + * Check if a blob exists + * + * @remarks + * HEAD /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Check whether a blob exists. Used by the Docker client before pushing a layer to avoid re-uploading content that already exists. + */ + async headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + request: HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrHeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + this, + request, + options, + ), + ); + } + + /** + * Download a blob + * + * @remarks + * GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest. + */ + async getByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + request: GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + this, + request, + options, + ), + ); + } + + /** + * Delete a blob + * + * @remarks + * DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries. + */ + async deleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + request: DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest( + this, + request, + options, + ), + ); + } + + /** + * Get blob upload status + * + * @remarks + * GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Query the status of an in-progress blob upload. Used by clients to resume a partial upload after an interruption. + */ + async getByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + request: + GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrGetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + this, + request, + options, + ), + ); + } + + /** + * Cancel a blob upload + * + * @remarks + * DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Cancel an in-flight blob upload. Aborts the underlying S3 multipart upload (if one was started) and discards the session. + */ + async deleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + request: + DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + this, + request, + options, + ), + ); + } + + /** + * Upload a blob chunk + * + * @remarks + * PATCH /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Upload a chunk of blob data. The request body is streamed directly to S3 as a multipart upload part while hashing incrementally. The client may call this multiple times for chunked uploads. + */ + async updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + request: + UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrUpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + this, + request, + options, + ), + ); + } + + /** + * Complete a blob upload + * + * @remarks + * PUT /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid?digest= Complete the blob upload. This may include a final chunk of data in the request body (monolithic upload) or just finalize a previous chunked upload. + */ + async replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + request: + ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid( + this, + request, + options, + ), + ); + } + + /** + * Start a blob upload + * + * @remarks + * POST /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/[?mount=&from=] Initiate a blob upload. Returns a UUID in the Location header that the client uses for subsequent PATCH (chunk) and PUT (complete) requests. + */ + async createByTeamSlugByProjectSlugByRepositoryNameBlobsUploads( + request: CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrCreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploads( + this, + request, + options, + ), + ); + } + + /** + * Push an image manifest + * + * @remarks + * PUT /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Upload an image manifest. The digest is computed from the body and returned in the Docker-Content-Digest header. + */ + async replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + request: + ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + this, + request, + options, + ), + ); + } + + /** + * Check if a manifest exists + * + * @remarks + * HEAD /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Check whether a manifest exists. Used by Docker client during push to determine if a manifest (or config blob referenced by digest) is already present. + */ + async headByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + request: + HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrHeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + this, + request, + options, + ), + ); + } + + /** + * Pull an image manifest + * + * @remarks + * GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest. + */ + async getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + request: + GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrGetByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + this, + request, + options, + ), + ); + } + + /** + * Delete an image manifest + * + * @remarks + * DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest. + */ + async deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + request: + DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync( + vcrDeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference( + this, + request, + options, + ), + ); + } + + /** + * List image tags + * + * @remarks + * GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository. The `last` parameter accepts the opaque cursor from a previous response's `Link` header. Unparseable cursors return HTTP 400 with code `invalid_cursor`. + */ + async getByTeamSlugByProjectSlugByRepositoryNameTagsList( + request: GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vcrGetByTeamSlugByProjectSlugByRepositoryNameTagsList( + this, + request, + options, + )); + } +} diff --git a/src/sdk/vercelci.lazy.ts b/src/sdk/vercelci.lazy.ts new file mode 100644 index 0000000000..9c9b39509d --- /dev/null +++ b/src/sdk/vercelci.lazy.ts @@ -0,0 +1,957 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateVercelCiTaskAnalysisRequest, + CreateVercelCiTaskAnalysisResponseBody, +} from "../models/createvercelcitaskanalysisop.js"; +import { + CreateVercelCiTaskConfigurationPullRequestRequest, + CreateVercelCiTaskConfigurationPullRequestResponseBody, +} from "../models/createvercelcitaskconfigurationpullrequestop.js"; +import { + GetVercelCiInvocationLogsRequest, + GetVercelCiInvocationLogsResponseBody, +} from "../models/getvercelciinvocationlogsop.js"; +import { + GetVercelCiInvocationRequest, + GetVercelCiInvocationResponseBody, +} from "../models/getvercelciinvocationop.js"; +import { + GetVercelCiInvocationTreeRequest, + GetVercelCiInvocationTreeResponseBody, +} from "../models/getvercelciinvocationtreeop.js"; +import { + GetVercelCiJobDefinitionRequest, + GetVercelCiJobDefinitionResponseBody, +} from "../models/getvercelcijobdefinitionop.js"; +import { + GetVercelCiJobRunLogsRequest, + GetVercelCiJobRunLogsResponseBody, +} from "../models/getvercelcijobrunlogsop.js"; +import { + GetVercelCiJobRunRequest, + GetVercelCiJobRunResponseBody, +} from "../models/getvercelcijobrunop.js"; +import { + GetVercelCiRepositorySettingsRequest, + GetVercelCiRepositorySettingsResponseBody, +} from "../models/getvercelcirepositorysettingsop.js"; +import { + GetVercelCiTaskAnalysisRequest, + GetVercelCiTaskAnalysisResponseBody, +} from "../models/getvercelcitaskanalysisop.js"; +import { + GetVercelCiTaskLogsRequest, + GetVercelCiTaskLogsResponseBody, +} from "../models/getvercelcitasklogsop.js"; +import { + GetVercelCiTaskRunLogsRequest, + GetVercelCiTaskRunLogsResponseBody, +} from "../models/getvercelcitaskrunlogsop.js"; +import { + ListVercelCiBranchesRequest, + ListVercelCiBranchesResponseBody, +} from "../models/listvercelcibranchesop.js"; +import { + ListVercelCiInvocationAttemptsRequest, + ListVercelCiInvocationAttemptsResponseBody, +} from "../models/listvercelciinvocationattemptsop.js"; +import { + ListVercelCiInvocationsRequest, + ListVercelCiInvocationsResponseBody, +} from "../models/listvercelciinvocationsop.js"; +import { + ListVercelCiJobDefinitionsRequest, + ListVercelCiJobDefinitionsResponseBody, +} from "../models/listvercelcijobdefinitionsop.js"; +import { + ListVercelCiJobRunsRequest, + ListVercelCiJobRunsResponseBody, +} from "../models/listvercelcijobrunsop.js"; +import { + ListVercelCiTaskAnalysisTasksRequest, + ListVercelCiTaskAnalysisTasksResponseBody, +} from "../models/listvercelcitaskanalysistasksop.js"; +import { + ListVercelCiTaskDefinitionsRequest, + ListVercelCiTaskDefinitionsResponseBody, +} from "../models/listvercelcitaskdefinitionsop.js"; +import { + ListVercelCiTaskRunsRequest, + ListVercelCiTaskRunsResponseBody, +} from "../models/listvercelcitaskrunsop.js"; +import { + RetryVercelCiInvocationRequest, + RetryVercelCiInvocationResponseBody, +} from "../models/retryvercelciinvocationop.js"; +import { + SearchVercelCiLogsRequest, + SearchVercelCiLogsResponseBody, +} from "../models/searchvercelcilogsop.js"; +import { + UpdateVercelCiRepositorySettingsRequest, + UpdateVercelCiRepositorySettingsResponseBody, +} from "../models/updatevercelcirepositorysettingsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let vercelCiGetVercelCiRepositorySettings$module: + | Promise + | undefined; +const vercelCiGetVercelCiRepositorySettings = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiRepositorySettings.js").vercelCiGetVercelCiRepositorySettings + > + ) => + new APIPromise( + (vercelCiGetVercelCiRepositorySettings$module ??= import( + "../funcs/vercelCiGetVercelCiRepositorySettings.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiRepositorySettings$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiRepositorySettings(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiRepositorySettings.js").vercelCiGetVercelCiRepositorySettings; + +let vercelCiUpdateVercelCiRepositorySettings$module: + | Promise< + typeof import("../funcs/vercelCiUpdateVercelCiRepositorySettings.js") + > + | undefined; +const vercelCiUpdateVercelCiRepositorySettings = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiUpdateVercelCiRepositorySettings.js").vercelCiUpdateVercelCiRepositorySettings + > + ) => + new APIPromise( + (vercelCiUpdateVercelCiRepositorySettings$module ??= import( + "../funcs/vercelCiUpdateVercelCiRepositorySettings.js" + ).catch((error: unknown) => { + vercelCiUpdateVercelCiRepositorySettings$module = undefined; + throw error; + })).then((module) => + module.vercelCiUpdateVercelCiRepositorySettings(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiUpdateVercelCiRepositorySettings.js").vercelCiUpdateVercelCiRepositorySettings; + +let vercelCiListVercelCiInvocations$module: + | Promise + | undefined; +const vercelCiListVercelCiInvocations = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiInvocations.js").vercelCiListVercelCiInvocations + > + ) => + new APIPromise( + (vercelCiListVercelCiInvocations$module ??= import( + "../funcs/vercelCiListVercelCiInvocations.js" + ).catch((error: unknown) => { + vercelCiListVercelCiInvocations$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiInvocations(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiInvocations.js").vercelCiListVercelCiInvocations; + +let vercelCiListVercelCiBranches$module: + | Promise + | undefined; +const vercelCiListVercelCiBranches = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiBranches.js").vercelCiListVercelCiBranches + > + ) => + new APIPromise( + (vercelCiListVercelCiBranches$module ??= import( + "../funcs/vercelCiListVercelCiBranches.js" + ).catch((error: unknown) => { + vercelCiListVercelCiBranches$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiBranches(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiBranches.js").vercelCiListVercelCiBranches; + +let vercelCiCreateVercelCiTaskAnalysis$module: + | Promise + | undefined; +const vercelCiCreateVercelCiTaskAnalysis = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiCreateVercelCiTaskAnalysis.js").vercelCiCreateVercelCiTaskAnalysis + > + ) => + new APIPromise( + (vercelCiCreateVercelCiTaskAnalysis$module ??= import( + "../funcs/vercelCiCreateVercelCiTaskAnalysis.js" + ).catch((error: unknown) => { + vercelCiCreateVercelCiTaskAnalysis$module = undefined; + throw error; + })).then((module) => + module.vercelCiCreateVercelCiTaskAnalysis(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiCreateVercelCiTaskAnalysis.js").vercelCiCreateVercelCiTaskAnalysis; + +let vercelCiGetVercelCiTaskAnalysis$module: + | Promise + | undefined; +const vercelCiGetVercelCiTaskAnalysis = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiTaskAnalysis.js").vercelCiGetVercelCiTaskAnalysis + > + ) => + new APIPromise( + (vercelCiGetVercelCiTaskAnalysis$module ??= import( + "../funcs/vercelCiGetVercelCiTaskAnalysis.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiTaskAnalysis$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiTaskAnalysis(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiTaskAnalysis.js").vercelCiGetVercelCiTaskAnalysis; + +let vercelCiCreateVercelCiTaskConfigurationPullRequest$module: + | Promise< + typeof import("../funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.js") + > + | undefined; +const vercelCiCreateVercelCiTaskConfigurationPullRequest = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.js").vercelCiCreateVercelCiTaskConfigurationPullRequest + > + ) => + new APIPromise( + (vercelCiCreateVercelCiTaskConfigurationPullRequest$module ??= import( + "../funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.js" + ).catch((error: unknown) => { + vercelCiCreateVercelCiTaskConfigurationPullRequest$module = undefined; + throw error; + })).then((module) => + module.vercelCiCreateVercelCiTaskConfigurationPullRequest(...args) + .$inspect() + ), + )) as typeof import("../funcs/vercelCiCreateVercelCiTaskConfigurationPullRequest.js").vercelCiCreateVercelCiTaskConfigurationPullRequest; + +let vercelCiListVercelCiTaskAnalysisTasks$module: + | Promise + | undefined; +const vercelCiListVercelCiTaskAnalysisTasks = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiTaskAnalysisTasks.js").vercelCiListVercelCiTaskAnalysisTasks + > + ) => + new APIPromise( + (vercelCiListVercelCiTaskAnalysisTasks$module ??= import( + "../funcs/vercelCiListVercelCiTaskAnalysisTasks.js" + ).catch((error: unknown) => { + vercelCiListVercelCiTaskAnalysisTasks$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiTaskAnalysisTasks(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiTaskAnalysisTasks.js").vercelCiListVercelCiTaskAnalysisTasks; + +let vercelCiListVercelCiInvocationAttempts$module: + | Promise + | undefined; +const vercelCiListVercelCiInvocationAttempts = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiInvocationAttempts.js").vercelCiListVercelCiInvocationAttempts + > + ) => + new APIPromise( + (vercelCiListVercelCiInvocationAttempts$module ??= import( + "../funcs/vercelCiListVercelCiInvocationAttempts.js" + ).catch((error: unknown) => { + vercelCiListVercelCiInvocationAttempts$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiInvocationAttempts(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiInvocationAttempts.js").vercelCiListVercelCiInvocationAttempts; + +let vercelCiGetVercelCiInvocationTree$module: + | Promise + | undefined; +const vercelCiGetVercelCiInvocationTree = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiInvocationTree.js").vercelCiGetVercelCiInvocationTree + > + ) => + new APIPromise( + (vercelCiGetVercelCiInvocationTree$module ??= import( + "../funcs/vercelCiGetVercelCiInvocationTree.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiInvocationTree$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiInvocationTree(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiInvocationTree.js").vercelCiGetVercelCiInvocationTree; + +let vercelCiGetVercelCiInvocation$module: + | Promise + | undefined; +const vercelCiGetVercelCiInvocation = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiInvocation.js").vercelCiGetVercelCiInvocation + > + ) => + new APIPromise( + (vercelCiGetVercelCiInvocation$module ??= import( + "../funcs/vercelCiGetVercelCiInvocation.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiInvocation$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiInvocation(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiInvocation.js").vercelCiGetVercelCiInvocation; + +let vercelCiRetryVercelCiInvocation$module: + | Promise + | undefined; +const vercelCiRetryVercelCiInvocation = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiRetryVercelCiInvocation.js").vercelCiRetryVercelCiInvocation + > + ) => + new APIPromise( + (vercelCiRetryVercelCiInvocation$module ??= import( + "../funcs/vercelCiRetryVercelCiInvocation.js" + ).catch((error: unknown) => { + vercelCiRetryVercelCiInvocation$module = undefined; + throw error; + })).then((module) => + module.vercelCiRetryVercelCiInvocation(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiRetryVercelCiInvocation.js").vercelCiRetryVercelCiInvocation; + +let vercelCiListVercelCiJobDefinitions$module: + | Promise + | undefined; +const vercelCiListVercelCiJobDefinitions = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiJobDefinitions.js").vercelCiListVercelCiJobDefinitions + > + ) => + new APIPromise( + (vercelCiListVercelCiJobDefinitions$module ??= import( + "../funcs/vercelCiListVercelCiJobDefinitions.js" + ).catch((error: unknown) => { + vercelCiListVercelCiJobDefinitions$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiJobDefinitions(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiJobDefinitions.js").vercelCiListVercelCiJobDefinitions; + +let vercelCiGetVercelCiJobDefinition$module: + | Promise + | undefined; +const vercelCiGetVercelCiJobDefinition = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiJobDefinition.js").vercelCiGetVercelCiJobDefinition + > + ) => + new APIPromise( + (vercelCiGetVercelCiJobDefinition$module ??= import( + "../funcs/vercelCiGetVercelCiJobDefinition.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiJobDefinition$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiJobDefinition(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiJobDefinition.js").vercelCiGetVercelCiJobDefinition; + +let vercelCiListVercelCiJobRuns$module: + | Promise + | undefined; +const vercelCiListVercelCiJobRuns = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiJobRuns.js").vercelCiListVercelCiJobRuns + > + ) => + new APIPromise( + (vercelCiListVercelCiJobRuns$module ??= import( + "../funcs/vercelCiListVercelCiJobRuns.js" + ).catch((error: unknown) => { + vercelCiListVercelCiJobRuns$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiJobRuns(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiJobRuns.js").vercelCiListVercelCiJobRuns; + +let vercelCiGetVercelCiJobRun$module: + | Promise + | undefined; +const vercelCiGetVercelCiJobRun = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiJobRun.js").vercelCiGetVercelCiJobRun + > + ) => + new APIPromise( + (vercelCiGetVercelCiJobRun$module ??= import( + "../funcs/vercelCiGetVercelCiJobRun.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiJobRun$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiJobRun(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiJobRun.js").vercelCiGetVercelCiJobRun; + +let vercelCiListVercelCiTaskDefinitions$module: + | Promise + | undefined; +const vercelCiListVercelCiTaskDefinitions = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiTaskDefinitions.js").vercelCiListVercelCiTaskDefinitions + > + ) => + new APIPromise( + (vercelCiListVercelCiTaskDefinitions$module ??= import( + "../funcs/vercelCiListVercelCiTaskDefinitions.js" + ).catch((error: unknown) => { + vercelCiListVercelCiTaskDefinitions$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiTaskDefinitions(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiTaskDefinitions.js").vercelCiListVercelCiTaskDefinitions; + +let vercelCiListVercelCiTaskRuns$module: + | Promise + | undefined; +const vercelCiListVercelCiTaskRuns = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiListVercelCiTaskRuns.js").vercelCiListVercelCiTaskRuns + > + ) => + new APIPromise( + (vercelCiListVercelCiTaskRuns$module ??= import( + "../funcs/vercelCiListVercelCiTaskRuns.js" + ).catch((error: unknown) => { + vercelCiListVercelCiTaskRuns$module = undefined; + throw error; + })).then((module) => + module.vercelCiListVercelCiTaskRuns(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiListVercelCiTaskRuns.js").vercelCiListVercelCiTaskRuns; + +let vercelCiGetVercelCiInvocationLogs$module: + | Promise + | undefined; +const vercelCiGetVercelCiInvocationLogs = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiInvocationLogs.js").vercelCiGetVercelCiInvocationLogs + > + ) => + new APIPromise( + (vercelCiGetVercelCiInvocationLogs$module ??= import( + "../funcs/vercelCiGetVercelCiInvocationLogs.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiInvocationLogs$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiInvocationLogs(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiInvocationLogs.js").vercelCiGetVercelCiInvocationLogs; + +let vercelCiGetVercelCiTaskLogs$module: + | Promise + | undefined; +const vercelCiGetVercelCiTaskLogs = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiTaskLogs.js").vercelCiGetVercelCiTaskLogs + > + ) => + new APIPromise( + (vercelCiGetVercelCiTaskLogs$module ??= import( + "../funcs/vercelCiGetVercelCiTaskLogs.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiTaskLogs$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiTaskLogs(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiTaskLogs.js").vercelCiGetVercelCiTaskLogs; + +let vercelCiSearchVercelCiLogs$module: + | Promise + | undefined; +const vercelCiSearchVercelCiLogs = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiSearchVercelCiLogs.js").vercelCiSearchVercelCiLogs + > + ) => + new APIPromise( + (vercelCiSearchVercelCiLogs$module ??= import( + "../funcs/vercelCiSearchVercelCiLogs.js" + ).catch((error: unknown) => { + vercelCiSearchVercelCiLogs$module = undefined; + throw error; + })).then((module) => + module.vercelCiSearchVercelCiLogs(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiSearchVercelCiLogs.js").vercelCiSearchVercelCiLogs; + +let vercelCiGetVercelCiJobRunLogs$module: + | Promise + | undefined; +const vercelCiGetVercelCiJobRunLogs = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiJobRunLogs.js").vercelCiGetVercelCiJobRunLogs + > + ) => + new APIPromise( + (vercelCiGetVercelCiJobRunLogs$module ??= import( + "../funcs/vercelCiGetVercelCiJobRunLogs.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiJobRunLogs$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiJobRunLogs(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiJobRunLogs.js").vercelCiGetVercelCiJobRunLogs; + +let vercelCiGetVercelCiTaskRunLogs$module: + | Promise + | undefined; +const vercelCiGetVercelCiTaskRunLogs = + (( + ...args: Parameters< + typeof import("../funcs/vercelCiGetVercelCiTaskRunLogs.js").vercelCiGetVercelCiTaskRunLogs + > + ) => + new APIPromise( + (vercelCiGetVercelCiTaskRunLogs$module ??= import( + "../funcs/vercelCiGetVercelCiTaskRunLogs.js" + ).catch((error: unknown) => { + vercelCiGetVercelCiTaskRunLogs$module = undefined; + throw error; + })).then((module) => + module.vercelCiGetVercelCiTaskRunLogs(...args).$inspect() + ), + )) as typeof import("../funcs/vercelCiGetVercelCiTaskRunLogs.js").vercelCiGetVercelCiTaskRunLogs; + +export class VercelCi extends ClientSDK { + /** + * Get Vercel CI settings for a connected repository + * + * @remarks + * Get Repository Settings + */ + async getVercelCiRepositorySettings( + request: GetVercelCiRepositorySettingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiRepositorySettings( + this, + request, + options, + )); + } + + /** + * Enable or disable Vercel CI for a connected repository + * + * @remarks + * Update Repository Settings + */ + async updateVercelCiRepositorySettings( + request: UpdateVercelCiRepositorySettingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiUpdateVercelCiRepositorySettings( + this, + request, + options, + )); + } + + /** + * List invocations for a team, optionally filtered by repository and invocation metadata + * + * @remarks + * List Invocations + */ + async listVercelCiInvocations( + request: ListVercelCiInvocationsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiInvocations( + this, + request, + options, + )); + } + + /** + * List Vercel CI branch suggestions for a team + * + * @remarks + * List branches + */ + async listVercelCiBranches( + request: ListVercelCiBranchesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiBranches( + this, + request, + options, + )); + } + + /** + * Start an asynchronous Vercel CI task analysis + * + * @remarks + * Create task analysis + */ + async createVercelCiTaskAnalysis( + request: CreateVercelCiTaskAnalysisRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiCreateVercelCiTaskAnalysis( + this, + request, + options, + )); + } + + /** + * Get the current status of a Vercel CI task analysis + * + * @remarks + * Get task analysis + */ + async getVercelCiTaskAnalysis( + request: GetVercelCiTaskAnalysisRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiTaskAnalysis( + this, + request, + options, + )); + } + + /** + * Create a GitHub pull request that adds Vercel CI tags for the completed analysis + * + * @remarks + * Create task configuration pull request + */ + async createVercelCiTaskConfigurationPullRequest( + request: CreateVercelCiTaskConfigurationPullRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiCreateVercelCiTaskConfigurationPullRequest( + this, + request, + options, + )); + } + + /** + * List discovered tasks for a completed Vercel CI task analysis + * + * @remarks + * List task analysis tasks + */ + async listVercelCiTaskAnalysisTasks( + request: ListVercelCiTaskAnalysisTasksRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiTaskAnalysisTasks( + this, + request, + options, + )); + } + + /** + * List all attempts for an invocation + * + * @remarks + * List Invocation Attempts + */ + async listVercelCiInvocationAttempts( + request: ListVercelCiInvocationAttemptsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiInvocationAttempts( + this, + request, + options, + )); + } + + /** + * Get an invocation with its jobs and tasks + * + * @remarks + * Returns an invocation attempt together with every job definition, its latest job run, and the task definitions and active task runs of that job run. Defaults to the latest attempt when `attempt` is omitted. With `follow=1` the response is a newline-delimited JSON stream: a `{"type":"tree", ...}` event with the full tree is sent immediately and again whenever it changes, and a final `{"type":"end","reason":...}` event is sent when the attempt finishes (`completed`) or the stream reaches its maximum duration (`timeout`), after which clients should reconnect. + */ + async getVercelCiInvocationTree( + request: GetVercelCiInvocationTreeRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiInvocationTree( + this, + request, + options, + )); + } + + /** + * Get a specific invocation attempt + * + * @remarks + * Get Invocation + */ + async getVercelCiInvocation( + request: GetVercelCiInvocationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiInvocation( + this, + request, + options, + )); + } + + /** + * Retry a terminal Vercel CI invocation attempt + * + * @remarks + * Retry Invocation + */ + async retryVercelCiInvocation( + request: RetryVercelCiInvocationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiRetryVercelCiInvocation( + this, + request, + options, + )); + } + + /** + * List job definitions for an invocation attempt + * + * @remarks + * List Job Definitions + */ + async listVercelCiJobDefinitions( + request: ListVercelCiJobDefinitionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiJobDefinitions( + this, + request, + options, + )); + } + + /** + * Get a specific job definition + * + * @remarks + * Get Job Definition + */ + async getVercelCiJobDefinition( + request: GetVercelCiJobDefinitionRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiJobDefinition( + this, + request, + options, + )); + } + + /** + * List all runs for a job definition + * + * @remarks + * List Job Runs + */ + async listVercelCiJobRuns( + request: ListVercelCiJobRunsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiJobRuns( + this, + request, + options, + )); + } + + /** + * Get a specific job run attempt + * + * @remarks + * Get Job Run + */ + async getVercelCiJobRun( + request: GetVercelCiJobRunRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiJobRun( + this, + request, + options, + )); + } + + /** + * List all task definitions for a job run + * + * @remarks + * List Task Definitions + */ + async listVercelCiTaskDefinitions( + request: ListVercelCiTaskDefinitionsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiTaskDefinitions( + this, + request, + options, + )); + } + + /** + * List task runs for a job run + * + * @remarks + * List Task Runs + */ + async listVercelCiTaskRuns( + request: ListVercelCiTaskRunsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiListVercelCiTaskRuns( + this, + request, + options, + )); + } + + /** + * Get log lines for an invocation attempt + * + * @remarks + * Get Invocation Logs + */ + async getVercelCiInvocationLogs( + request: GetVercelCiInvocationLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiInvocationLogs( + this, + request, + options, + )); + } + + /** + * Get log lines for the tasks of an invocation attempt + * + * @remarks + * Returns log lines for the tasks of an invocation attempt in a single request, grouped by task. Tasks can be narrowed by name and by conclusion, for example `conclusion=failed` to fetch only the logs of failed tasks. With `search`, every matching task is searched at once and only tasks with matching lines are returned. Without `search`, a task restored from the remote cache returns the log of the run that produced the cache entry. + */ + async getVercelCiTaskLogs( + request: GetVercelCiTaskLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiTaskLogs( + this, + request, + options, + )); + } + + /** + * Search the setup and task logs of several invocation attempts + * + * @remarks + * Searches the setup and task logs of up to 50 invocation attempts at once, for example the most recent runs of a branch from `GET /v2/vercel-ci/invocations`. Only invocations and tasks with matching lines are returned, and `setup` is present only when a setup line matches. When more than 1000 lines match across setup and task logs, the newest are kept. + */ + async searchVercelCiLogs( + request: SearchVercelCiLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiSearchVercelCiLogs( + this, + request, + options, + )); + } + + /** + * Get log lines for a specific job run attempt + * + * @remarks + * Get Job Run Logs + */ + async getVercelCiJobRunLogs( + request: GetVercelCiJobRunLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiJobRunLogs( + this, + request, + options, + )); + } + + /** + * Get log lines for a specific task run attempt + * + * @remarks + * Get Task Run Logs With `follow=1` the response is a newline-delimited JSON stream of log lines that ends once the task run has finished and its logs are flushed, or when the stream reaches its maximum duration. A task run restored from the remote cache returns the log of the run that produced the cache entry, timestamped when the cached run completed. + */ + async getVercelCiTaskRunLogs( + request: GetVercelCiTaskRunLogsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(vercelCiGetVercelCiTaskRunLogs( + this, + request, + options, + )); + } +} diff --git a/src/sdk/webanalytics.lazy.ts b/src/sdk/webanalytics.lazy.ts new file mode 100644 index 0000000000..d739ae35ba --- /dev/null +++ b/src/sdk/webanalytics.lazy.ts @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + AggregateEventsRequest, + AggregateEventsResponseBody, +} from "../models/aggregateeventsop.js"; +import { + AggregatePageviewsRequest, + AggregatePageviewsResponseBody, +} from "../models/aggregatepageviewsop.js"; +import { + CountEventsRequest, + CountEventsResponseBody, +} from "../models/counteventsop.js"; +import { + CountPageviewsRequest, + CountPageviewsResponseBody, +} from "../models/countpageviewsop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let webAnalyticsAggregatePageviews$module: + | Promise + | undefined; +const webAnalyticsAggregatePageviews = + (( + ...args: Parameters< + typeof import("../funcs/webAnalyticsAggregatePageviews.js").webAnalyticsAggregatePageviews + > + ) => + new APIPromise( + (webAnalyticsAggregatePageviews$module ??= import( + "../funcs/webAnalyticsAggregatePageviews.js" + ).catch((error: unknown) => { + webAnalyticsAggregatePageviews$module = undefined; + throw error; + })).then((module) => + module.webAnalyticsAggregatePageviews(...args).$inspect() + ), + )) as typeof import("../funcs/webAnalyticsAggregatePageviews.js").webAnalyticsAggregatePageviews; + +let webAnalyticsAggregateEvents$module: + | Promise + | undefined; +const webAnalyticsAggregateEvents = + (( + ...args: Parameters< + typeof import("../funcs/webAnalyticsAggregateEvents.js").webAnalyticsAggregateEvents + > + ) => + new APIPromise( + (webAnalyticsAggregateEvents$module ??= import( + "../funcs/webAnalyticsAggregateEvents.js" + ).catch((error: unknown) => { + webAnalyticsAggregateEvents$module = undefined; + throw error; + })).then((module) => + module.webAnalyticsAggregateEvents(...args).$inspect() + ), + )) as typeof import("../funcs/webAnalyticsAggregateEvents.js").webAnalyticsAggregateEvents; + +let webAnalyticsCountPageviews$module: + | Promise + | undefined; +const webAnalyticsCountPageviews = + (( + ...args: Parameters< + typeof import("../funcs/webAnalyticsCountPageviews.js").webAnalyticsCountPageviews + > + ) => + new APIPromise( + (webAnalyticsCountPageviews$module ??= import( + "../funcs/webAnalyticsCountPageviews.js" + ).catch((error: unknown) => { + webAnalyticsCountPageviews$module = undefined; + throw error; + })).then((module) => + module.webAnalyticsCountPageviews(...args).$inspect() + ), + )) as typeof import("../funcs/webAnalyticsCountPageviews.js").webAnalyticsCountPageviews; + +let webAnalyticsCountEvents$module: + | Promise + | undefined; +const webAnalyticsCountEvents = + (( + ...args: Parameters< + typeof import("../funcs/webAnalyticsCountEvents.js").webAnalyticsCountEvents + > + ) => + new APIPromise( + (webAnalyticsCountEvents$module ??= import( + "../funcs/webAnalyticsCountEvents.js" + ).catch((error: unknown) => { + webAnalyticsCountEvents$module = undefined; + throw error; + })).then((module) => module.webAnalyticsCountEvents(...args).$inspect()), + )) as typeof import("../funcs/webAnalyticsCountEvents.js").webAnalyticsCountEvents; + +export class WebAnalytics extends ClientSDK { + /** + * Aggregates page views + * + * @remarks + * Counts pageviews on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions. + */ + async aggregatePageviews( + request: AggregatePageviewsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webAnalyticsAggregatePageviews( + this, + request, + options, + )); + } + + /** + * Aggregates custom events + * + * @remarks + * Counts custom events on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions. + */ + async aggregateEvents( + request: AggregateEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webAnalyticsAggregateEvents( + this, + request, + options, + )); + } + + /** + * Counts page views + * + * @remarks + * Counts the number of page views on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions. + */ + async countPageviews( + request: CountPageviewsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webAnalyticsCountPageviews( + this, + request, + options, + )); + } + + /** + * Counts custom events + * + * @remarks + * Counts the number of custom events on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions. + */ + async countEvents( + request: CountEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webAnalyticsCountEvents( + this, + request, + options, + )); + } +} diff --git a/src/sdk/webhooks.lazy.ts b/src/sdk/webhooks.lazy.ts new file mode 100644 index 0000000000..6a2a87b393 --- /dev/null +++ b/src/sdk/webhooks.lazy.ts @@ -0,0 +1,160 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateWebhookRequest, + CreateWebhookResponseBody, +} from "../models/createwebhookop.js"; +import { DeleteWebhookRequest } from "../models/deletewebhookop.js"; +import { + GetWebhookRequest, + GetWebhookResponseBody, +} from "../models/getwebhookop.js"; +import { + GetWebhooksRequest, + GetWebhooksResponseBody, +} from "../models/getwebhooksop.js"; +import { APIPromise } from "../types/async.js"; +import { unwrapAsync } from "../types/fp.js"; + +let webhooksCreateWebhook$module: + | Promise + | undefined; +const webhooksCreateWebhook = + (( + ...args: Parameters< + typeof import("../funcs/webhooksCreateWebhook.js").webhooksCreateWebhook + > + ) => + new APIPromise( + (webhooksCreateWebhook$module ??= import( + "../funcs/webhooksCreateWebhook.js" + ).catch((error: unknown) => { + webhooksCreateWebhook$module = undefined; + throw error; + })).then((module) => module.webhooksCreateWebhook(...args).$inspect()), + )) as typeof import("../funcs/webhooksCreateWebhook.js").webhooksCreateWebhook; + +let webhooksGetWebhooks$module: + | Promise + | undefined; +const webhooksGetWebhooks = + (( + ...args: Parameters< + typeof import("../funcs/webhooksGetWebhooks.js").webhooksGetWebhooks + > + ) => + new APIPromise( + (webhooksGetWebhooks$module ??= import("../funcs/webhooksGetWebhooks.js") + .catch((error: unknown) => { + webhooksGetWebhooks$module = undefined; + throw error; + })).then((module) => module.webhooksGetWebhooks(...args).$inspect()), + )) as typeof import("../funcs/webhooksGetWebhooks.js").webhooksGetWebhooks; + +let webhooksGetWebhook$module: + | Promise + | undefined; +const webhooksGetWebhook = + (( + ...args: Parameters< + typeof import("../funcs/webhooksGetWebhook.js").webhooksGetWebhook + > + ) => + new APIPromise( + (webhooksGetWebhook$module ??= import("../funcs/webhooksGetWebhook.js") + .catch((error: unknown) => { + webhooksGetWebhook$module = undefined; + throw error; + })).then((module) => module.webhooksGetWebhook(...args).$inspect()), + )) as typeof import("../funcs/webhooksGetWebhook.js").webhooksGetWebhook; + +let webhooksDeleteWebhook$module: + | Promise + | undefined; +const webhooksDeleteWebhook = + (( + ...args: Parameters< + typeof import("../funcs/webhooksDeleteWebhook.js").webhooksDeleteWebhook + > + ) => + new APIPromise( + (webhooksDeleteWebhook$module ??= import( + "../funcs/webhooksDeleteWebhook.js" + ).catch((error: unknown) => { + webhooksDeleteWebhook$module = undefined; + throw error; + })).then((module) => module.webhooksDeleteWebhook(...args).$inspect()), + )) as typeof import("../funcs/webhooksDeleteWebhook.js").webhooksDeleteWebhook; + +export class Webhooks extends ClientSDK { + /** + * Creates a webhook + * + * @remarks + * Creates a webhook + */ + async createWebhook( + request: CreateWebhookRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webhooksCreateWebhook( + this, + request, + options, + )); + } + + /** + * Get a list of webhooks + * + * @remarks + * Get a list of webhooks + */ + async getWebhooks( + request: GetWebhooksRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webhooksGetWebhooks( + this, + request, + options, + )); + } + + /** + * Get a webhook + * + * @remarks + * Get a webhook + */ + async getWebhook( + request: GetWebhookRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webhooksGetWebhook( + this, + request, + options, + )); + } + + /** + * Deletes a webhook + * + * @remarks + * Deletes a webhook + */ + async deleteWebhook( + request: DeleteWebhookRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(webhooksDeleteWebhook( + this, + request, + options, + )); + } +} diff --git a/vercel-spec.json b/vercel-spec.json index 90fd82f00c..99bd54a2fc 100644 --- a/vercel-spec.json +++ b/vercel-spec.json @@ -4696,7 +4696,7 @@ }, "/ai-gateway/budgets/list": { "get": { - "description": "List the team's AI Gateway budgets (team/project/user scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor.", + "description": "List the team's AI Gateway budgets (team/project/user/app scopes, plus default-covered api-key spend) as a flat list, optionally filtered by scope. Without `limit` or `cursor`, returns every budget. With either, returns one page ordered by `quotaEntityId` plus `nextCursor` (null on the last page) and `defaultCoveredCounts`. Paging still reads the full merge server-side: the gateway meter list it joins has no cursor.", "operationId": "listAiGatewayBudgets", "security": [ { @@ -4748,6 +4748,7 @@ "team", "project", "user", + "app", "api-key" ], "description": "Restrict the list to a single budget scope." @@ -4808,7 +4809,7 @@ }, "/ai-gateway/budgets": { "put": { - "description": "Create or update a team-, project-, or user-scope AI Gateway budget.", + "description": "Create or update a team-, project-, user-, or app-scope AI Gateway budget. Set a total with `limitAmount`, or raise the current budget with `increaseBy`.", "operationId": "upsertAiGatewayBudget", "security": [ { @@ -4876,8 +4877,7 @@ "type": "object", "additionalProperties": false, "required": [ - "scopeType", - "limitAmount" + "scopeType" ], "properties": { "scopeType": { @@ -4885,7 +4885,8 @@ "enum": [ "team", "project", - "user" + "user", + "app" ] }, "projectId": { @@ -4896,10 +4897,19 @@ "type": "string", "description": "Required when scopeType is \\\"user\\\"." }, + "appId": { + "type": "string", + "description": "Required when scopeType is \\\"app\\\". The id of a Vercel App (`cl_…`)." + }, "limitAmount": { "type": "number", "minimum": 1, - "description": "Budget limit in dollars." + "description": "Budget limit in dollars. Provide this or `increaseBy`, not both." + }, + "increaseBy": { + "type": "number", + "minimum": 1, + "description": "Dollars to add to the current budget, or to the scope's default when it has no budget of its own. Provide this or `limitAmount`, not both. Keeps the current refresh period and BYOK setting unless they are given." }, "refreshPeriod": { "type": "string", @@ -4909,7 +4919,7 @@ "monthly", "none" ], - "default": "monthly" + "description": "Defaults to monthly with `limitAmount`; `increaseBy` keeps the current period. Ignored for a member's own change that lapses (`expiresAt`): it takes the user default's period." }, "includeByokInQuota": { "type": "boolean", @@ -4937,7 +4947,7 @@ } }, "delete": { - "description": "Archive a team-, project-, or user-scope AI Gateway budget.", + "description": "Archive a team-, project-, user-, or app-scope AI Gateway budget.", "operationId": "archiveAiGatewayBudget", "security": [ { @@ -4989,7 +4999,8 @@ "enum": [ "team", "project", - "user" + "user", + "app" ], "description": "The budget scope to archive." } @@ -5014,6 +5025,16 @@ "description": "Required when scopeType is \\\"user\\\"." } }, + { + "name": "appId", + "description": "Required when scopeType is \\\"app\\\". The id of a Vercel App (`cl_…`).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Required when scopeType is \\\"app\\\". The id of a Vercel App (`cl_…`)." + } + }, { "name": "justification", "description": "Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook.", @@ -5047,7 +5068,7 @@ }, "/ai-gateway/budgets/defaults/list": { "get": { - "description": "List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user scope with a default set). An empty list is a normal state for the dashboard.", + "description": "List the team's AI Gateway budget defaults as a flat per-scope list (one row per team/project/api-key/user/app scope with a default set). An empty list is a normal state for the dashboard.", "operationId": "listAiGatewayBudgetDefaults", "security": [ { @@ -5190,7 +5211,8 @@ "team", "project", "api-key", - "user" + "user", + "app" ] }, "limitAmount": { @@ -5218,6 +5240,19 @@ ] } }, + "appliesTo": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "team", + "user" + ] + }, + "description": "Key spend attributions the api-key default covers. Only valid when scopeType is api-key. Omit to keep the stored value; unset means both." + }, "justification": { "type": "string", "description": "Why the budget is being changed, up to 500 characters. Recorded in the activity log and audit log drains, and sent in the ai-gateway.budget.updated webhook." @@ -5275,7 +5310,8 @@ "team", "project", "api-key", - "user" + "user", + "app" ], "description": "The budget default scope to delete." } @@ -6400,141 +6436,9 @@ ] } }, - "/v1/billing/contract-commitments": { - "get": { - "description": "Returns commitment allocations per contract period in FOCUS v1.3 JSONL format for a specified Vercel team. The response is streamed as newline-delimited JSON (JSONL). This endpoint is only applicable to Enterprise Vercel customers. An empty response is returned for non-Enterprise (Pro/Flex) customers.", - "operationId": "listContractCommitments", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "List FOCUS contract commitments", - "tags": [ - "billing" - ], - "responses": { - "200": { - "description": "", - "content": { - "application/jsonl": { - "schema": { - "properties": { - "BillingCurrency": { - "type": "string" - }, - "ContractCommitmentCategory": { - "type": "string", - "enum": [ - "Spend", - "Usage" - ], - "description": "Highest-level classification of the contract commitment. 'Spend' for Pro ($20/month), 'Usage' for Enterprise (MIU allocation)." - }, - "ContractCommitmentCost": { - "type": "number", - "description": "Monetary value of the contract commitment (in BillingCurrency). Required when ContractCommitmentCategory is 'Spend'. For Pro: 20 (USD)" - }, - "ContractCommitmentDescription": { - "type": "string", - "description": "Self-contained summary of the contract commitment's terms" - }, - "ContractCommitmentId": { - "type": "string", - "description": "Unique identifier for a single contract term within a contract. Maps to specific commitment period or allocation ID." - }, - "ContractCommitmentPeriodEnd": { - "type": "string", - "description": "Exclusive end of the commitment term period (ISO 8601 UTC)" - }, - "ContractCommitmentPeriodStart": { - "type": "string", - "description": "Inclusive start of the commitment term period (ISO 8601 UTC)" - }, - "ContractCommitmentQuantity": { - "type": "number", - "description": "Amount associated with the commitment (in ContractCommitmentUnit). Required when ContractCommitmentCategory is 'Usage'. For Enterprise: MIU allocation amount." - }, - "ContractCommitmentType": { - "type": "string", - "description": "Service-provider-assigned name identifying the commitment type. 'Pro' or 'Enterprise' for Vercel." - }, - "ContractCommitmentUnit": { - "type": "string", - "description": "Measurement unit for ContractCommitmentQuantity. 'MIUs' for Enterprise, 'USD' for Pro spend commitments." - }, - "ContractId": { - "type": "string", - "description": "Service-provider-assigned identifier for a contract. Maps to Orb Subscription ID for Vercel." - }, - "ContractPeriodEnd": { - "type": "string", - "description": "Exclusive end of the overall contract period (ISO 8601 UTC)" - }, - "ContractPeriodStart": { - "type": "string", - "description": "Inclusive start of the overall contract period (ISO 8601 UTC)" - } - }, - "required": [ - "BillingCurrency", - "ContractCommitmentCategory", - "ContractCommitmentId", - "ContractCommitmentPeriodEnd", - "ContractCommitmentPeriodStart", - "ContractCommitmentType", - "ContractCommitmentUnit", - "ContractId", - "ContractPeriodEnd", - "ContractPeriodStart" - ], - "type": "object", - "description": "Contract commitment information describing terms within a contract. New in FOCUS v1.3 - tracks commitment terms separate from cost/usage rows. For Vercel: - Pro: $20 monthly spend commitment - Enterprise: MIU allocation per period (usage commitment)" - } - } - } - }, - "400": { - "description": "" - }, - "401": { - "description": "The request is not authorized." - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "" - }, - "410": { - "description": "" - } - }, - "parameters": [ - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] - } - }, "/v1/billing/buy": { "post": { - "description": "Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team.", + "description": "Purchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are `v0`, `gateway`, and `agent`. The `amount` field specifies the number of credits to purchase and must be a positive integer. An optional `source` query parameter can be provided to identify the caller. Defaults to `api` if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team. Pro subscription purchases additionally require permission to update the team's plan, and AI Gateway credit purchases require permission to create AI Gateway credits.", "operationId": "buyCredits", "security": [ { @@ -17974,12 +17878,12 @@ "parameters": [ { "name": "connector", - "description": "Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.", + "description": "Stable connector ID or URL-encoded team- or organization-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`.", "in": "path", "required": true, "schema": { "type": "string", - "description": "Stable connector ID or URL-encoded team-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`." + "description": "Stable connector ID or URL-encoded team- or organization-scoped UID. Examples: `scl_abc123` or `slack%2Fmy-bot`." } }, { @@ -19383,7 +19287,8 @@ } }, "validityBufferMs": { - "type": "number" + "type": "number", + "minimum": 0 } } } @@ -20231,7 +20136,7 @@ } }, "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nBoth `target` and `customEnvironmentId` were given." + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nBoth `target` and `customEnvironmentId` were given.\nThe daemon cannot run outside its environment's Secure Compute regions." }, "401": { "description": "The request is not authorized." @@ -20242,6 +20147,9 @@ "404": { "description": "The project has no custom environment with this ID.\nThe daemon does not exist for this target or custom environment." }, + "409": { + "description": "The environment is linked to a Secure Compute network that is not ready yet, so daemon instances cannot start until it is." + }, "410": { "description": "" } @@ -54459,6 +54367,9 @@ "404": { "description": "" }, + "409": { + "description": "" + }, "410": { "description": "" } @@ -66993,6 +66904,124 @@ ] } }, + "/v1/projects/{projectIdOrName}/feature-flags/overrides/sign": { + "post": { + "description": "Signs flag overrides for the `vercel-flag-overrides` cookie, which the Flags SDK accepts without a `FLAGS_SECRET`. The overrides apply to one environment of the project and of the projects that share its microfrontends groups. An access token requires permission to read the project and an `environment`. A Vercel OIDC token signs only for its own project and environment.", + "operationId": "signFlagOverrides", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Sign flag overrides", + "tags": [ + "feature-flags" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "expiresIn": { + "type": "number" + }, + "token": { + "type": "string" + } + }, + "required": [ + "expiresIn", + "token" + ], + "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": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "" + }, + "410": { + "description": "" + }, + "413": { + "description": "" + } + }, + "parameters": [ + { + "name": "projectIdOrName", + "description": "The project id or name", + "in": "path", + "required": true, + "schema": { + "description": "The project id or name", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "overrides" + ], + "properties": { + "overrides": { + "description": "The value of each overridden flag, by flag key", + "type": "object", + "maxProperties": 100 + }, + "environment": { + "description": "production, preview, development or the slug of a custom environment. Defaults to the environment of a Vercel OIDC token.", + "type": "string", + "pattern": "^[a-z0-9-]{1,64}$" + }, + "ttl": { + "description": "Seconds until the overrides expire. Defaults to one hour, at most one day.", + "type": "integer", + "minimum": 60, + "maximum": 86400 + } + } + } + } + } + } + } + }, "/v2/projects/{projectIdOrName}/feature-flags/flags": { "get": { "description": "Retrieve feature flags for a project. Returns an opaque cursor for pagination.", @@ -99117,7 +99146,7 @@ ] }, "post": { - "description": "Create a new team under an organization, or add an existing team. `mode: \"create\"` creates a brand-new child team from `slug` + `name` — a platform child by default, or an enterprise child (billed on the organization root's flex subscription) when `billingPlan: \"enterprise\"` is supplied. `mode: \"link\"` links an existing team identified by `teamId` or `slug`; the child's billing profile is derived from the target team's plan (enterprise team → enterprise child, else platform), or explicitly supplied. Both modes respond with the resulting organization-team link. This endpoint is in private beta. Contact your Vercel account team for access.", + "description": "Create a new team under an organization, or add an existing team. `mode: \"create\"` creates a brand-new child team from `slug` + `name` — a platform child by default, or an enterprise child (billed on the organization root's flex subscription) when `billingPlan: \"enterprise\"` is supplied. `mode: \"link\"` links an existing team identified by `teamId` or `slug`. The request must state the child's billing profile in `billingPlan`: `enterprise` or `platform`. Both modes respond with the resulting organization-team link. This endpoint is in private beta. Contact your Vercel account team for access.", "operationId": "addOrganizationTeam", "security": [ { @@ -99201,7 +99230,8 @@ { "required": [ "mode", - "teamId" + "teamId", + "billingPlan" ], "properties": { "mode": { @@ -99219,7 +99249,8 @@ { "required": [ "mode", - "slug" + "slug", + "billingPlan" ], "properties": { "mode": { @@ -189713,6 +189744,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. Defaults to 1 minute. Takes effect from the next session.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior.", "type": "object", @@ -191399,6 +191437,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. Defaults to 1 minute. Takes effect from the next session.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior. Set to null to clear.", "oneOf": [ @@ -193258,6 +193303,12 @@ "schema": { "oneOf": [ { + "description": "Network access policy for the sandbox.\\n Controls which external hosts the sandbox can communicate with.\\n Use \\\"allow-all\\\" mode to allow all traffic, \\\"deny-all\\\" to block all traffic or \\\"custom\\\" to provide specific rules.", + "type": "object", + "additionalProperties": false, + "required": [ + "mode" + ], "properties": { "mode": { "description": "The network access policy mode. Use \\\"allow-all\\\" to permit all outbound traffic. Use \\\"deny-all\\\" to block all outbound traffic. Use \\\"custom\\\" to specify explicit allow/deny rules.", @@ -193440,15 +193491,11 @@ } } } - }, - "description": "Network access policy for the sandbox.\\n Controls which external hosts the sandbox can communicate with.\\n Use \\\"allow-all\\\" mode to allow all traffic, \\\"deny-all\\\" to block all traffic or \\\"custom\\\" to provide specific rules.", - "type": "object", - "additionalProperties": false, - "required": [ - "mode" - ] + } }, { + "type": "object", + "additionalProperties": false, "properties": { "allow": { "oneOf": [ @@ -193650,9 +193697,7 @@ } } } - }, - "type": "object", - "additionalProperties": false + } } ] } @@ -194815,6 +194860,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. Defaults to the source sandbox setting.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior.", "type": "object", @@ -195668,6 +195720,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. Defaults to 1 minute. Takes effect from the next session.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior.", "type": "object", @@ -196568,6 +196627,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. Defaults to the source sandbox setting.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior. Persistent sandboxes default to keeping only the last snapshot (evicted snapshots are deleted). Set to null to disable the limit.", "oneOf": [ @@ -197428,6 +197494,13 @@ ], "example": 604800000 }, + "expiryNotificationLeadTime": { + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time. Defaults to 1 minute. Takes effect from the next session.", + "type": "integer", + "minimum": 60000, + "maximum": 3600000, + "example": 300000 + }, "keepLastSnapshots": { "description": "Protect the N most recent snapshots with different expiration/deletion behavior. Persistent sandboxes default to keeping only the last snapshot (evicted snapshots are deleted). Set to null to disable the limit.", "oneOf": [ @@ -218563,6 +218636,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -219107,6 +219184,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -219368,6 +219449,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -221710,7 +221795,7 @@ } }, "400": { - "description": "" + "description": "One of the provided values in the request query is invalid." }, "401": { "description": "The request is not authorized." @@ -221729,7 +221814,38 @@ "list" ] }, - "parameters": [] + "parameters": [ + { + "name": "kind", + "description": "Filter by token kind. Omit or use `all` to include every kind.", + "in": "query", + "schema": { + "description": "Filter by token kind. Omit or use `all` to include every kind.", + "enum": [ + "access-token", + "all", + "app", + "sign-in-session" + ], + "type": "string" + } + }, + { + "name": "status", + "description": "Filter by token status. Omit or use `all` to include every status.", + "in": "query", + "schema": { + "description": "Filter by token status. Omit or use `all` to include every status.", + "enum": [ + "active", + "all", + "expired", + "revoked" + ], + "type": "string" + } + } + ] } }, "/v3/user/tokens": { @@ -234648,6 +234764,9 @@ "project.rolling-release.approved", "project.rolling-release.completed", "project.rolling-release.started", + "sandbox.session.expiring", + "sandbox.session.started", + "sandbox.session.stopped", "test-webhook", "thread.resolved", "thread.unresolved" @@ -234691,6 +234810,9 @@ "integration-configuration.scope-change-confirmed": "IntegrationConfigurationScopeChangeConfirmed", "integration-resource.project-connected": "IntegrationResourceProjectConnected", "integration-resource.project-disconnected": "IntegrationResourceProjectDisconnected", + "sandbox.session.expiring": "SandboxSessionExpiring", + "sandbox.session.started": "SandboxSessionStarted", + "sandbox.session.stopped": "SandboxSessionStopped", "project.created": "ProjectCreated", "project.removed": "ProjectRemoved", "project.domain.created": "ProjectDomainCreated", @@ -234883,6 +235005,9 @@ "integration-configuration.transferred", "integration-resource.project-connected", "integration-resource.project-disconnected", + "sandbox.session.expiring", + "sandbox.session.started", + "sandbox.session.stopped", "project.created", "project.removed", "project.renamed", @@ -234994,6 +235119,9 @@ "integration-configuration.scope-change-confirmed": "IntegrationConfigurationScopeChangeConfirmed", "integration-resource.project-connected": "IntegrationResourceProjectConnected", "integration-resource.project-disconnected": "IntegrationResourceProjectDisconnected", + "sandbox.session.expiring": "SandboxSessionExpiring", + "sandbox.session.started": "SandboxSessionStarted", + "sandbox.session.stopped": "SandboxSessionStopped", "project.created": "ProjectCreated", "project.removed": "ProjectRemoved", "project.domain.created": "ProjectDomainCreated", @@ -235199,6 +235327,9 @@ "project.rolling-release.approved", "project.rolling-release.completed", "project.rolling-release.started", + "sandbox.session.expiring", + "sandbox.session.started", + "sandbox.session.stopped", "test-webhook", "thread.resolved", "thread.unresolved" @@ -235242,6 +235373,9 @@ "integration-configuration.scope-change-confirmed": "IntegrationConfigurationScopeChangeConfirmed", "integration-resource.project-connected": "IntegrationResourceProjectConnected", "integration-resource.project-disconnected": "IntegrationResourceProjectDisconnected", + "sandbox.session.expiring": "SandboxSessionExpiring", + "sandbox.session.started": "SandboxSessionStarted", + "sandbox.session.stopped": "SandboxSessionStopped", "project.created": "ProjectCreated", "project.removed": "ProjectRemoved", "project.domain.created": "ProjectDomainCreated", @@ -235562,6 +235696,9 @@ "project.rolling-release.approved", "project.rolling-release.completed", "project.rolling-release.started", + "sandbox.session.expiring", + "sandbox.session.started", + "sandbox.session.stopped", "test-webhook", "thread.resolved", "thread.unresolved" @@ -235605,6 +235742,9 @@ "integration-configuration.scope-change-confirmed": "IntegrationConfigurationScopeChangeConfirmed", "integration-resource.project-connected": "IntegrationResourceProjectConnected", "integration-resource.project-disconnected": "IntegrationResourceProjectDisconnected", + "sandbox.session.expiring": "SandboxSessionExpiring", + "sandbox.session.started": "SandboxSessionStarted", + "sandbox.session.stopped": "SandboxSessionStopped", "project.created": "ProjectCreated", "project.removed": "ProjectRemoved", "project.domain.created": "ProjectDomainCreated", @@ -235889,6 +236029,9 @@ "project.rolling-release.approved", "project.rolling-release.completed", "project.rolling-release.started", + "sandbox.session.expiring", + "sandbox.session.started", + "sandbox.session.stopped", "test-webhook", "thread.resolved", "thread.unresolved" @@ -235932,6 +236075,9 @@ "integration-configuration.scope-change-confirmed": "IntegrationConfigurationScopeChangeConfirmed", "integration-resource.project-connected": "IntegrationResourceProjectConnected", "integration-resource.project-disconnected": "IntegrationResourceProjectDisconnected", + "sandbox.session.expiring": "SandboxSessionExpiring", + "sandbox.session.started": "SandboxSessionStarted", + "sandbox.session.stopped": "SandboxSessionStopped", "project.created": "ProjectCreated", "project.removed": "ProjectRemoved", "project.domain.created": "ProjectDomainCreated", @@ -240331,6 +240477,10 @@ "currentSpend": { "type": "number" }, + "expiresAt": { + "type": "number", + "description": "When a member's own budget change lapses and the user default applies again, in ms since the epoch. Absent means the budget is permanent." + }, "includeByokInQuota": { "type": "boolean", "enum": [ @@ -240358,12 +240508,13 @@ }, "scopeId": { "type": "string", - "description": "The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped)." + "description": "The native Vercel id of the scoped entity. Team/project ids already carry their prefix, so this equals `quotaEntityId` (`team_…` / `prj_…`); user and app scopes also use the quota entity id (`usr_` / `app_`); for the api-key scope it is the api key id (the `api_key_id_` prefix stripped)." }, "scopeType": { "type": "string", "enum": [ "api-key", + "app", "project", "team", "user" @@ -240409,6 +240560,10 @@ "api-key": { "type": "number" }, + "app": { + "type": "number", + "description": "Omitted when no app row is default-covered." + }, "project": { "type": "number" }, @@ -240454,6 +240609,18 @@ }, "type": "array" }, + "appliesTo": { + "items": { + "type": "string", + "enum": [ + "team", + "user" + ], + "description": "`api-key` scope only: key spend attributions covered. Absent means both." + }, + "type": "array", + "description": "`api-key` scope only: key spend attributions covered. Absent means both." + }, "createdAt": { "type": "number" }, @@ -240473,6 +240640,7 @@ "type": "string", "enum": [ "api-key", + "app", "project", "team", "user" @@ -244507,7 +244675,7 @@ }, "uid": { "type": "string", - "description": "Full team-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change." + "description": "Full team- or organization-scoped UID, such as `slack/my-bot`. It cannot contain whitespace, `%`, `#`, control characters, or Vercel-owned namespaces. Changing it breaks callers that use the old UID. The stable connector ID does not change." }, "name": { "type": "string", @@ -247391,6 +247559,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247485,6 +247657,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247527,6 +247703,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247642,6 +247822,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247654,6 +247838,16 @@ "none", "weekly" ] + }, + "appliesTo": { + "items": { + "type": "string", + "enum": [ + "team", + "user" + ] + }, + "type": "array" } }, "required": [ @@ -247661,7 +247855,7 @@ "refreshPeriod" ], "type": "object", - "description": "Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`." + "description": "`api-key` defaults may cover only some key spend attributions." }, "change": { "type": "string", @@ -247684,6 +247878,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247696,6 +247894,16 @@ "none", "weekly" ] + }, + "appliesTo": { + "items": { + "type": "string", + "enum": [ + "team", + "user" + ] + }, + "type": "array" } }, "required": [ @@ -247703,12 +247911,13 @@ "refreshPeriod" ], "type": "object", - "description": "Spend budget on an AI Gateway API key, scope, or budget default, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`." + "description": "`api-key` defaults may cover only some key spend attributions." }, "scopeType": { "type": "string", "enum": [ "api-key", + "app", "project", "team", "user" @@ -247724,6 +247933,13 @@ }, { "properties": { + "appId": { + "type": "string", + "description": "Associates the event with a Vercel App; rendered when `appName` is absent." + }, + "appName": { + "type": "string" + }, "budget": { "nullable": true, "properties": { @@ -247733,6 +247949,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247775,6 +247995,10 @@ }, "type": "array" }, + "expiresAt": { + "type": "number", + "description": "When the budget lapses to the scope's default, in ms since the epoch." + }, "limitAmount": { "type": "number", "description": "Spend cap, in dollars." @@ -247806,6 +248030,7 @@ "scopeType": { "type": "string", "enum": [ + "app", "project", "team", "user" @@ -248227,6 +248452,15 @@ "type": "object", "description": "The payload of the event, if requested." }, + { + "properties": { + "previousSecretGracePeriodHours": { + "type": "number" + } + }, + "type": "object", + "description": "The payload of the event, if requested." + }, { "properties": { "headerNames": { @@ -250415,6 +250649,14 @@ "headSha": { "type": "string" }, + "isAuthor": { + "type": "boolean", + "enum": [ + false, + true + ], + "description": "The actor opted in on their own pull request instead of approving it." + }, "prNumber": { "type": "number" }, @@ -255292,6 +255534,12 @@ ], "description": "Indicates a value was submitted, not whether its plaintext changed." }, + "customEnvironmentSlugsById": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, "key": { "type": "string" }, @@ -256102,6 +256350,12 @@ ], "description": "Indicates a value was submitted, not whether its plaintext changed." }, + "customEnvironmentSlugsById": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, "key": { "type": "string" }, @@ -258478,6 +258732,42 @@ "type": "object", "description": "The payload of the event, if requested." }, + { + "properties": { + "organizationId": { + "type": "string" + }, + "organizationSlug": { + "type": "string" + }, + "targetUser": { + "type": "string" + } + }, + "required": [ + "organizationId", + "organizationSlug", + "targetUser" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "organizationId": { + "type": "string" + }, + "organizationSlug": { + "type": "string" + } + }, + "required": [ + "organizationId", + "organizationSlug" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, { "properties": { "avatar": { @@ -260038,6 +260328,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -260203,6 +260497,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -264378,6 +264676,13 @@ "type": "string" }, "type": "array" + }, + "rebind": { + "type": "boolean", + "enum": [ + true + ], + "description": "The IdP or the user id rule changed, so members re-bind by email once." } }, "required": [ @@ -264418,6 +264723,13 @@ "type": "string" }, "type": "array" + }, + "rebind": { + "type": "boolean", + "enum": [ + true + ], + "description": "The IdP or the user id rule changed, so members re-bind by email once." } }, "required": [ @@ -264471,6 +264783,37 @@ "type": "object", "description": "The payload of the event, if requested." }, + { + "properties": { + "connectionId": { + "type": "string" + }, + "to": { + "type": "string", + "enum": [ + "vercel", + "workos" + ] + }, + "certificateFingerprints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "actorName": { + "type": "string" + }, + "actorType": { + "type": "string", + "enum": [ + "admin" + ] + } + }, + "type": "object", + "description": "The payload of the event, if requested." + }, { "properties": { "connectionId": { @@ -264490,8 +264833,6 @@ } }, "required": [ - "actorType", - "connectionId", "keyId" ], "type": "object", @@ -264527,8 +264868,6 @@ } }, "required": [ - "actorType", - "connectionId", "keyId", "signingEnabled", "signingKeyId" @@ -264536,6 +264875,22 @@ "type": "object", "description": "The payload of the event, if requested." }, + { + "properties": { + "projectId": { + "type": "string" + }, + "sandboxId": { + "type": "string" + } + }, + "required": [ + "projectId", + "sandboxId" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, { "properties": { "alias": { @@ -264560,16 +264915,24 @@ }, { "properties": { + "expiryNotificationLeadTime": { + "type": "number" + }, "projectId": { "type": "string" }, - "sandboxId": { + "projectName": { + "type": "string" + }, + "sandboxName": { "type": "string" } }, "required": [ + "expiryNotificationLeadTime", "projectId", - "sandboxId" + "projectName", + "sandboxName" ], "type": "object", "description": "The payload of the event, if requested." @@ -271844,6 +272207,7 @@ "ai-gateway-inference-hooks-endpoint-updated", "ai-gateway-inference-hooks-headers-cleared", "ai-gateway-inference-hooks-headers-updated", + "ai-gateway-inference-hooks-previous-signing-secret-retired", "ai-gateway-inference-hooks-removed", "ai-gateway-inference-hooks-settings-updated", "ai-gateway-inference-hooks-signing-secret-created", @@ -272202,6 +272566,8 @@ "oidc-policy-deleted", "oidc-policy-updated", "oidc-policy-used-to-obtain-app-token", + "organization-admin-invite-revoked", + "organization-admin-removed", "organization-avatar-update", "organization-create", "organization-delete", @@ -272401,12 +272767,15 @@ "saml-idp-material-set", "saml-idp-material-system-deleted", "saml-idp-material-system-set", + "saml-login-provider-changed", + "sandbox-ai-gateway-credentials-configured", "sandbox-alias-assigned", "sandbox-alias-delete", "sandbox-drive-created", "sandbox-drive-deleted", "sandbox-drive-snapshot-created", "sandbox-drive-snapshot-deleted", + "sandbox-expiry-notification-lead-time-updated", "sandbox-npm-credentials-configured", "sandbox-signed-commit-identity-configured", "sandbox-snapshot-regions-updated", @@ -272920,6 +273289,7 @@ "ai-gateway-inference-hooks-endpoint-updated", "ai-gateway-inference-hooks-headers-cleared", "ai-gateway-inference-hooks-headers-updated", + "ai-gateway-inference-hooks-previous-signing-secret-retired", "ai-gateway-inference-hooks-removed", "ai-gateway-inference-hooks-settings-updated", "ai-gateway-inference-hooks-signing-secret-created", @@ -273278,6 +273648,8 @@ "oidc-policy-deleted", "oidc-policy-updated", "oidc-policy-used-to-obtain-app-token", + "organization-admin-invite-revoked", + "organization-admin-removed", "organization-avatar-update", "organization-create", "organization-delete", @@ -273477,12 +273849,15 @@ "saml-idp-material-set", "saml-idp-material-system-deleted", "saml-idp-material-system-set", + "saml-login-provider-changed", + "sandbox-ai-gateway-credentials-configured", "sandbox-alias-assigned", "sandbox-alias-delete", "sandbox-drive-created", "sandbox-drive-deleted", "sandbox-drive-snapshot-created", "sandbox-drive-snapshot-deleted", + "sandbox-expiry-notification-lead-time-updated", "sandbox-npm-credentials-configured", "sandbox-signed-commit-identity-configured", "sandbox-snapshot-regions-updated", @@ -273754,6 +274129,7 @@ "ai-gateway-inference-hooks-endpoint-updated", "ai-gateway-inference-hooks-headers-cleared", "ai-gateway-inference-hooks-headers-updated", + "ai-gateway-inference-hooks-previous-signing-secret-retired", "ai-gateway-inference-hooks-removed", "ai-gateway-inference-hooks-settings-updated", "ai-gateway-inference-hooks-signing-secret-created", @@ -274112,6 +274488,8 @@ "oidc-policy-deleted", "oidc-policy-updated", "oidc-policy-used-to-obtain-app-token", + "organization-admin-invite-revoked", + "organization-admin-removed", "organization-avatar-update", "organization-create", "organization-delete", @@ -274311,12 +274689,15 @@ "saml-idp-material-set", "saml-idp-material-system-deleted", "saml-idp-material-system-set", + "saml-login-provider-changed", + "sandbox-ai-gateway-credentials-configured", "sandbox-alias-assigned", "sandbox-alias-delete", "sandbox-drive-created", "sandbox-drive-deleted", "sandbox-drive-snapshot-created", "sandbox-drive-snapshot-deleted", + "sandbox-expiry-notification-lead-time-updated", "sandbox-npm-credentials-configured", "sandbox-signed-commit-identity-configured", "sandbox-snapshot-regions-updated", @@ -276402,6 +276783,11 @@ "description": "The time at which the currently running sandbox will time out, in milliseconds since the epoch. Only present while a session is running.", "example": 1750344801629 }, + "expiryNotificationLeadTime": { + "type": "number", + "description": "How long before a session expires, in milliseconds, the `sandbox.session.expiring` webhook is sent. It affects only that webhook. When a deadline is closer than the lead time, the webhook is sent right away: at the start of a session whose timeout is shorter, and after each extension that leaves the deadline within the lead time.", + "example": 60000 + }, "failoverRegions": { "items": { "type": "string", @@ -276651,6 +277037,7 @@ "required": [ "createdAt", "currentSessionId", + "expiryNotificationLeadTime", "name", "persistent", "status", @@ -276987,6 +277374,18 @@ "description": "The time when the sandbox was stopped, in milliseconds since the epoch.", "example": 1750344501629 }, + "stopReason": { + "type": "string", + "enum": [ + "error", + "exited", + "requested", + "snapshot", + "timeout" + ], + "description": "Why the sandbox stopped: `requested` for a stop requested through the API, `snapshot` for a stop to take a snapshot, `timeout` when the sandbox reached its timeout, `exited` when its main process exited on its own, and `error` when it failed or was stopped by the platform.", + "example": "requested" + }, "timeout": { "type": "number", "description": "The maximum amount of time the sandbox will run for in milliseconds.", @@ -278073,6 +278472,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -278780,6 +279183,10 @@ "ssoConnectedAt": { "type": "number" }, + "ssoIdFingerprint": { + "type": "string", + "description": "How `ssoUserId` and `idpUserId` were made; absent when unknown." + }, "ssoUserId": { "type": "string" } @@ -279030,6 +279437,17 @@ "description": "The unique identifier of the token.", "example": "5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391" }, + "kind": { + "type": "string", + "enum": [ + "access-token", + "app", + "other", + "sign-in-session" + ], + "description": "The user-facing kind of the token.", + "example": "access-token" + }, "leakedAt": { "type": "number", "description": "Timestamp (in milliseconds) of when the token was marked as leaked.", @@ -279201,6 +279619,7 @@ "activeAt", "createdAt", "id", + "kind", "name", "type" ],